(this["webpackJsonpreact-authentication"]=this["webpackJsonpreact-authentication"]||[]).push([[0],{101:function(e,t,n){"use strict";var a=n(2),r=n(1),i=n(72),c=n(668),o=n(64),s=n(0);t.a=function(e){var t=e.tooltipText,n=e.className,l=e.children,d={icon:{display:"inline-block",position:"relative",backgroundColor:r.useContext(o.a).v2.darkBlue,borderRadius:"50%",height:"1.5em",width:"1.5em",border:"1px solid black",color:"white",textAlign:"center"}},u=Object(r.useRef)(null),p=Object(s.jsx)("div",Object(a.a)(Object(a.a)({},Object(i.css)(d.icon)),{},{ref:u,"data-pr-tooltip":t,children:"?"})),b=Object(s.jsx)("div",{ref:u,"data-pr-tooltip":t,children:l});return Object(s.jsxs)(s.Fragment,{children:[Object(s.jsx)(c.Tooltip,{target:u.current,position:"top",className:n}),l?b:p]})}},109:function(e,t,n){"use strict";var a=n(1),r=n.n(a),i=n(64),c=n(0);t.a=function(e){var t=e.label,n=e.onIconClick,a=e.className,o={chip:{display:"flex",alignItems:"center",margin:"2px",marginRight:"5px",padding:"7px",paddingLeft:"12px",fontSize:"14px",fontWeight:600,textAlign:"left",backgroundColor:r.a.useContext(i.a).v2.lightBlue,borderRadius:"1em"},icon:{fontSize:".9em",cursor:"pointer"}};return Object(c.jsxs)("div",{className:a,style:o.chip,children:[Object(c.jsx)("span",{children:t})," \xa0"," ",!!n&&Object(c.jsx)("i",{style:o.icon,className:"pi pi-times",onClick:n})]})}},110:function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var a=n(5),r=n.n(a),i=n(10),c=n(4),o=n(39),s=n(135);function l(e,t,n,a){return d.apply(this,arguments)}function d(){return(d=Object(i.a)(r.a.mark((function e(t,n,a,i){var l,d,u,p=arguments;return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:l=p.length>4&&void 0!==p[4]&&p[4],d=p.length>5&&void 0!==p[5]&&p[5],u=Object(c.b)(a),o.a.get(Object(c.f)(t,{useDedicatedEnvironment:!0}),u).then((function(e){var t=e.data;l&&t.push(s.a),d&&t.push({key:s.a,value:s.a}),n(t)})).catch((function(e){}));case 4:case"end":return e.stop()}}),e)})))).apply(this,arguments)}},1102:function(e,t,n){},1107:function(e,t,n){"use strict";n.r(t),t.default="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACMAAAAjCAYAAAAe2bNZAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAJaSURBVHgB7ZfBbtNAEIZn7FAJiUOsEKSeMG9QJKpUXHDPHFAgQeIEeYL2EeAR+gSEK7Ryc+Acc0FNWil9g5oTUiByJCoqtd6d7jpyZLd2krXTKpXySZEnnl379+7M7izAkmRwkvO3vWHCnFmtHrigKmawW+kRwBrMGURwS286T5J8WtJNT4zITQiREIHpfX/+OMlXmNobaIiAQ8iJ+DhzWpsZxOBxqdbZhJz83a20xcWa1EaDBWKGkYnj2VbR90+DeCrXj5w0X6FQcI0JmZOE0sjIwOb8/wmi3pa/wV7lJOrn/KwX+hjjPe+zVQQFlMT4PphEOH6BzIyon4AiL8cie3D6AhRQmqZy/cAZ2JVt4hRMBfOhBXE1DUB6FUgBsZ7Ujloqz1eOmVK1s5Pme1jr7ovLPmTkbmfTn28bFhIzpa3f051oxsgAZxfMkjYhuVezba5i+vb6GjJqA44GlHNyxWW8z4j/bdA0U9oYCH+2qSJIaZrQ12OpKrIpRjybxJfqSKCAcjb1v643dB2DjY4ximXLxbn2dGWFv5e2xvHYeH34AxRQjplHbw+bab7Vd0H8fIKM3O1skoy2Bdq6GiMSWW5oGu6o7kuZxXBG9qj4ul4oyogVsSRXaOWyI+s0TdsATchAppGJogN9CG0G2IQc5BZj1LpfQltUc03IwUJl01JMGgslJrZQ9Pcq2zrBlrSj5xxZtUXbpfkm9REVYDEsWQMfwZADtcr17sdInxGysmfszINbRv933zAaTnBIHE+TUQ1uOHC7OKEQybX1PO0cfBMYL3/+giUzcAkHqdrRmvN2YQAAAABJRU5ErkJggg=="},114:function(e,t,n){"use strict";n.d(t,"c",(function(){return v})),n.d(t,"a",(function(){return y})),n.d(t,"k",(function(){return C})),n.d(t,"l",(function(){return A})),n.d(t,"b",(function(){return w})),n.d(t,"d",(function(){return S})),n.d(t,"e",(function(){return N})),n.d(t,"f",(function(){return D})),n.d(t,"g",(function(){return k})),n.d(t,"m",(function(){return T})),n.d(t,"h",(function(){return R})),n.d(t,"i",(function(){return P})),n.d(t,"j",(function(){return M}));var a,r=n(6),i=n(2),c=n(83),o=n(5),s=n.n(o),l=n(10),d=n(39),u=n(42),p=n(119),b=n(4),j=n(8),m=n(53),f=n(57),h=n(456),O=n(244),g=["context"],x=Object.freeze({items:[],total:0,attributes:{},lastUpdatedUtc:null,totalLiveRecords:0,fetchStatus:j.a.statuses.NULL,details:{fetchStatus:j.a.statuses.NULL,records:[]},saveAdminData:{postFetchStatus:j.a.statuses.NULL},shareOpportunities:{postFetchStatus:j.a.statuses.NULL},dropdownOptions:{fetchStatus:j.a.statuses.NULL,contriesOffices:[],sectors:[],awardTypes:[],geographicalCodes:[]},tableSettings:{columnsOrder:[],fetchStatus:j.a.statuses.NULL,patchFetchStatus:j.a.statuses.NULL,deleteFetchStatus:j.a.statuses.NULL}}),v=Object(u.b)("forecast/getForecasts",function(){var e=Object(l.a)(s.a.mark((function e(t,n){var a,r;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a="/api/BusinessForecast".concat(Object(m.a)(t.params)),e.next=3,d.a.get(Object(b.f)(a,{useDedicatedEnvironment:!0}),Object(b.c)(t.context));case 3:return r=e.sent,e.abrupt("return",null===r||void 0===r?void 0:r.data);case 5:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}()),y=Object(u.b)("forecast/getForecastDetails",function(){var e=Object(l.a)(s.a.mark((function e(t,n){var a,r,i,c;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.context,i=t.id,e.next=3,d.a.get(Object(b.f)("/api/BusinessForecast/".concat(i,"/details"),{useDedicatedEnvironment:!0}),Object(b.b)(r));case 3:return c=e.sent,e.abrupt("return",null!==(a=null===c||void 0===c?void 0:c.data)&&void 0!==a?a:[]);case 5:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}()),C=Object(u.b)("forecast/saveAdminData",function(){var e=Object(l.a)(s.a.mark((function e(t,n){var a,r,i;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=t.context,r=Object(c.a)(t,g),e.next=3,d.a.post(Object(b.f)("/api/BusinessForecast/EnhancedForecast",{useDedicatedEnvironment:!0}),r,Object(b.c)(a));case 3:return i=e.sent,e.abrupt("return",null===i||void 0===i?void 0:i.data);case 5:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}()),A=Object(u.b)("forecast/shareOpportunities",function(){var e=Object(l.a)(s.a.mark((function e(t,n){var a,r,i,c;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(a=t.context,r=t.message,i=t.opportunityId,c=t.addresses,!Array.isArray(i)){e.next=7;break}return e.next=4,Promise.all(i.map(function(){var e=Object(l.a)(s.a.mark((function e(t){return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Promise.all(c.map(function(){var e=Object(l.a)(s.a.mark((function e(n){return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(O.a)({context:a,message:r,opportunityId:t,recordType:"F",toAdderess:n});case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()));case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()));case 4:e.t0=e.sent,e.next=10;break;case 7:return e.next=9,Promise.all(c.map(function(){var e=Object(l.a)(s.a.mark((function e(t){return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(O.a)({context:a,message:r,opportunityId:i,recordType:"F",toAdderess:t});case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()));case 9:e.t0=e.sent;case 10:return e.abrupt("return",e.t0);case 11:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}()),w=Object(u.b)("forecast/getForecastFiltersDropdownOptions",function(){var e=Object(l.a)(s.a.mark((function e(t,n){var a;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Promise.all([d.a.get(Object(b.f)("/api/BusinessForecast/dropdownoptions/country",{useDedicatedEnvironment:!0}),Object(b.c)(t)),d.a.get(Object(b.f)("/api/BusinessForecast/dropdownoptions/sector",{useDedicatedEnvironment:!0}),Object(b.c)(t)),d.a.get(Object(b.f)("/api/BusinessForecast/dropdownoptions/awardtype",{useDedicatedEnvironment:!0}),Object(b.c)(t)),d.a.get(Object(b.f)("/api/BusinessForecast/dropdownoptions/geographicalcode",{useDedicatedEnvironment:!0}),Object(b.c)(t))]);case 2:return a=e.sent,e.abrupt("return",{contriesOffices:Object(f.compact)(a[0].data).map((function(e){return{value:e,label:e}})),sectors:Object(f.compact)(a[1].data).map((function(e){return{value:e,label:e}})),awardTypes:Object(f.compact)(a[2].data).map((function(e){return{value:e,label:e}})),geographicalCodes:Object(f.compact)(a[3].data).map((function(e){return{value:e,label:e}}))});case 4:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}()),S=Object(u.b)("forecast/getTableSettings",function(){var e=Object(l.a)(s.a.mark((function e(t,n){var a,r,i,c;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.context,i=t.key,e.next=3,d.a.get(Object(b.f)("/api/UserSetting".concat(Object(m.a)({key:i})),{useDedicatedEnvironment:!0}),Object(b.c)(r));case 3:return c=e.sent,e.abrupt("return",null!==(a=null===c||void 0===c?void 0:c.data)&&void 0!==a?a:[]);case 5:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}()),N=Object(u.b)("forecast/patchTableSettings",function(){var e=Object(l.a)(s.a.mark((function e(t,n){var a,r,i,c,o;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.context,i=t.key,c=t.configuration,e.next=3,d.a.patch(Object(b.f)("/api/UserSetting/".concat(i),{useDedicatedEnvironment:!0}),c,Object(b.c)(r));case 3:return o=e.sent,e.abrupt("return",null!==(a=null===o||void 0===o?void 0:o.data)&&void 0!==a?a:[]);case 5:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}()),E=Object(u.b)("forecast/deleteTableSettings",function(){var e=Object(l.a)(s.a.mark((function e(t,n){var a,r;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=t.context,r=t.key,e.next=3,d.a.delete(Object(b.f)("/api/UserSetting/".concat(r),{useDedicatedEnvironment:!0}),Object(b.c)(a));case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}()),I=Object(u.c)({name:"forecast",initialState:x,reducers:{resetGetForecastsStatus:function(e){e.fetchStatus=x.fetchStatus},resetGetForecasts:function(e){e.fetchStatus=x.fetchStatus,e.items=x.items,e.total=x.total,e.totalLiveRecords=x.totalLiveRecords,e.attributes=x.attributes,e.lastUpdatedUtc=x.lastUpdatedUtc},resetSaveAdminDataStatus:function(e){e.saveAdminData=x.saveAdminData},updateAfterAdminEdit:function(e,t){var n=t.payload,a=n.businessForecastId,r=n.subPrimes,c=n.quarterlyCallNotes,o=n.externalLinkHtml,s=n.externalLinkText,l=Object(p.a)(e);e.items=l.items.map((function(e){return e.id===a?Object(i.a)(Object(i.a)({},e),{},{primeOrIncumbent:r,quarterlyCallNotes:c,externalLinkHtml:o,externalLinkText:s}):e}))},resetShareOpportunitiesStatus:function(e){e.shareOpportunities=x.shareOpportunities},resetTableSettings:function(e){e.tableSettings=x.tableSettings}},extraReducers:(a={},Object(r.a)(a,v.pending,(function(e,t){e.fetchStatus=j.a.statuses.FETCHING})),Object(r.a)(a,v.fulfilled,(function(e,t){var n=t.payload,a=n.data,r=n.totalItems,c=n.lastUpdatedUtc,o=n.attributes;e.items=a.map((function(e){return Object(i.a)(Object(i.a)({},e),{},{changedColumns:e.changedColumns?e.changedColumns.split(",").map((function(e){var t;return null===e||void 0===e||null===(t=e.trim())||void 0===t?void 0:t.toLowerCase()})):null})})),e.total=r,e.attributes=o,e.lastUpdatedUtc=c,(null===o||void 0===o?void 0:o.TotalLiveRecords)&&(e.totalLiveRecords=o.TotalLiveRecords),e.fetchStatus=j.a.statuses.DONE})),Object(r.a)(a,v.rejected,(function(e,t){e.fetchStatus=j.a.statuses.ERROR})),Object(r.a)(a,y.pending,(function(e,t){e.details.fetchStatus=j.a.statuses.FETCHING})),Object(r.a)(a,y.fulfilled,(function(e,t){var n;e.details.records=null===(n=t.payload)||void 0===n?void 0:n.sort((function(e,t){return new Date(t.createdOn).getTime()-new Date(e.createdOn).getTime()})),e.details.fetchStatus=j.a.statuses.DONE})),Object(r.a)(a,y.rejected,(function(e,t){e.details.fetchStatus=j.a.statuses.ERROR})),Object(r.a)(a,C.pending,(function(e,t){e.saveAdminData.postFetchStatus=j.a.statuses.FETCHING})),Object(r.a)(a,C.fulfilled,(function(e,t){e.saveAdminData.postFetchStatus=j.a.statuses.DONE})),Object(r.a)(a,C.rejected,(function(e,t){e.saveAdminData.postFetchStatus=j.a.statuses.ERROR})),Object(r.a)(a,A.pending,(function(e,t){e.shareOpportunities.postFetchStatus=j.a.statuses.FETCHING})),Object(r.a)(a,A.fulfilled,(function(e,t){e.shareOpportunities.postFetchStatus=j.a.statuses.DONE})),Object(r.a)(a,A.rejected,(function(e,t){e.shareOpportunities.postFetchStatus=j.a.statuses.ERROR})),Object(r.a)(a,w.pending,(function(e,t){e.dropdownOptions.fetchStatus=j.a.statuses.FETCHING})),Object(r.a)(a,w.fulfilled,(function(e,t){e.dropdownOptions=Object(i.a)(Object(i.a)({},t.payload),{},{fetchStatus:j.a.statuses.DONE})})),Object(r.a)(a,w.rejected,(function(e,t){e.dropdownOptions.fetchStatus=j.a.statuses.ERROR})),Object(r.a)(a,S.pending,(function(e,t){e.tableSettings.fetchStatus=j.a.statuses.FETCHING})),Object(r.a)(a,S.fulfilled,(function(e,t){e.tableSettings.columnsOrder=t.payload.setting[h.a],e.tableSettings.fetchStatus=j.a.statuses.DONE})),Object(r.a)(a,S.rejected,(function(e,t){e.tableSettings.fetchStatus=j.a.statuses.ERROR})),Object(r.a)(a,N.pending,(function(e,t){e.tableSettings.patchFetchStatus=j.a.statuses.FETCHING})),Object(r.a)(a,N.fulfilled,(function(e,t){e.tableSettings.patchFetchStatus=j.a.statuses.DONE})),Object(r.a)(a,N.rejected,(function(e,t){e.tableSettings.patchFetchStatus=j.a.statuses.ERROR})),Object(r.a)(a,E.pending,(function(e,t){e.tableSettings.deleteFetchStatus=j.a.statuses.FETCHING})),Object(r.a)(a,E.fulfilled,(function(e,t){e.tableSettings.deleteFetchStatus=j.a.statuses.DONE})),Object(r.a)(a,E.rejected,(function(e,t){e.tableSettings.deleteFetchStatus=j.a.statuses.ERROR})),a)}),D=I.reducer,F=I.actions,k=(F.resetGetForecastsStatus,F.resetGetForecasts),T=F.updateAfterAdminEdit,R=F.resetSaveAdminDataStatus,P=F.resetShareOpportunitiesStatus,M=F.resetTableSettings},1143:function(e,t,n){},1144:function(e,t,n){},1145:function(e,t,n){},115:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var a=n(66),r=n(0),i=Object(a.a)(Object(r.jsx)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:Object(r.jsx)("path",{d:"M16.6667 6.81675V2.50008C16.6667 2.27907 16.5789 2.06711 16.4226 1.91083C16.2663 1.75455 16.0544 1.66675 15.8333 1.66675C15.6123 1.66675 15.4004 1.75455 15.2441 1.91083C15.0878 2.06711 15 2.27907 15 2.50008V6.81675C14.5174 6.99192 14.1004 7.31144 13.8057 7.73189C13.511 8.15233 13.3529 8.65332 13.3529 9.16675C13.3529 9.68018 13.511 10.1812 13.8057 10.6016C14.1004 11.0221 14.5174 11.3416 15 11.5167V17.5001C15 17.7211 15.0878 17.9331 15.2441 18.0893C15.4004 18.2456 15.6123 18.3334 15.8333 18.3334C16.0544 18.3334 16.2663 18.2456 16.4226 18.0893C16.5789 17.9331 16.6667 17.7211 16.6667 17.5001V11.5167C17.1493 11.3416 17.5663 11.0221 17.861 10.6016C18.1557 10.1812 18.3137 9.68018 18.3137 9.16675C18.3137 8.65332 18.1557 8.15233 17.861 7.73189C17.5663 7.31144 17.1493 6.99192 16.6667 6.81675ZM15.8333 10.0001C15.6685 10.0001 15.5074 9.95121 15.3704 9.85964C15.2333 9.76807 15.1265 9.63792 15.0634 9.48565C15.0004 9.33338 14.9839 9.16582 15.016 9.00417C15.0482 8.84252 15.1275 8.69404 15.2441 8.57749C15.3606 8.46095 15.5091 8.38158 15.6708 8.34943C15.8324 8.31727 16 8.33378 16.1522 8.39685C16.3045 8.45992 16.4347 8.56673 16.5262 8.70377C16.6178 8.84081 16.6667 9.00193 16.6667 9.16675C16.6667 9.38776 16.5789 9.59972 16.4226 9.756C16.2663 9.91228 16.0544 10.0001 15.8333 10.0001ZM10.8333 11.8167V2.50008C10.8333 2.27907 10.7455 2.06711 10.5893 1.91083C10.433 1.75455 10.221 1.66675 10 1.66675C9.779 1.66675 9.56703 1.75455 9.41075 1.91083C9.25447 2.06711 9.16668 2.27907 9.16668 2.50008V11.8167C8.68405 11.9919 8.26706 12.3114 7.97238 12.7319C7.6777 13.1523 7.51961 13.6533 7.51961 14.1667C7.51961 14.6802 7.6777 15.1812 7.97238 15.6016C8.26706 16.0221 8.68405 16.3416 9.16668 16.5167V17.5001C9.16668 17.7211 9.25447 17.9331 9.41075 18.0893C9.56703 18.2456 9.779 18.3334 10 18.3334C10.221 18.3334 10.433 18.2456 10.5893 18.0893C10.7455 17.9331 10.8333 17.7211 10.8333 17.5001V16.5167C11.316 16.3416 11.733 16.0221 12.0276 15.6016C12.3223 15.1812 12.4804 14.6802 12.4804 14.1667C12.4804 13.6533 12.3223 13.1523 12.0276 12.7319C11.733 12.3114 11.316 11.9919 10.8333 11.8167ZM10 15.0001C9.83519 15.0001 9.67408 14.9512 9.53703 14.8596C9.39999 14.7681 9.29318 14.6379 9.23011 14.4857C9.16704 14.3334 9.15053 14.1658 9.18269 14.0042C9.21484 13.8425 9.29421 13.694 9.41075 13.5775C9.5273 13.4609 9.67578 13.3816 9.83743 13.3494C9.99909 13.3173 10.1666 13.3338 10.3189 13.3968C10.4712 13.4599 10.6013 13.5667 10.6929 13.7038C10.7845 13.8408 10.8333 14.0019 10.8333 14.1667C10.8333 14.3878 10.7455 14.5997 10.5893 14.756C10.433 14.9123 10.221 15.0001 10 15.0001ZM5.00001 5.15008V2.50008C5.00001 2.27907 4.91221 2.06711 4.75593 1.91083C4.59965 1.75455 4.38769 1.66675 4.16668 1.66675C3.94566 1.66675 3.7337 1.75455 3.57742 1.91083C3.42114 2.06711 3.33334 2.27907 3.33334 2.50008V5.15008C2.85072 5.32525 2.43373 5.64477 2.13904 6.06522C1.84436 6.48567 1.68628 6.98665 1.68628 7.50008C1.68628 8.01351 1.84436 8.5145 2.13904 8.93494C2.43373 9.35539 2.85072 9.67491 3.33334 9.85008V17.5001C3.33334 17.7211 3.42114 17.9331 3.57742 18.0893C3.7337 18.2456 3.94566 18.3334 4.16668 18.3334C4.38769 18.3334 4.59965 18.2456 4.75593 18.0893C4.91221 17.9331 5.00001 17.7211 5.00001 17.5001V9.85008C5.48264 9.67491 5.89963 9.35539 6.19431 8.93494C6.48899 8.5145 6.64707 8.01351 6.64707 7.50008C6.64707 6.98665 6.48899 6.48567 6.19431 6.06522C5.89963 5.64477 5.48264 5.32525 5.00001 5.15008ZM4.16668 8.33342C4.00186 8.33342 3.84074 8.28454 3.7037 8.19297C3.56666 8.10141 3.45985 7.97126 3.39678 7.81898C3.3337 7.66671 3.3172 7.49916 3.34936 7.33751C3.38151 7.17586 3.46088 7.02737 3.57742 6.91083C3.69396 6.79428 3.84245 6.71491 4.0041 6.68276C4.16575 6.65061 4.33331 6.66711 4.48558 6.73018C4.63785 6.79325 4.768 6.90006 4.85957 7.03711C4.95114 7.17415 5.00001 7.33526 5.00001 7.50008C5.00001 7.7211 4.91221 7.93306 4.75593 8.08934C4.59965 8.24562 4.38769 8.33342 4.16668 8.33342Z",fill:"inherit"})}),"FiltersIcon")},117:function(e,t,n){"use strict";var a=n(2),r=n(3),i=n(1),c=n(707),o=n(0);t.a=function(e){var t=e.title,n=e.querySelectors,s=e.tooltipProps,l=void 0===s?{}:s,d=e.children,u=Object(i.useState)(!1),p=Object(r.a)(u,2),b=p[0],j=p[1];return Object(i.useEffect)((function(){[document.querySelector(n),document].forEach((function(e){null!==e&&e.addEventListener("scroll",(function(e){j(!1)}))}))}),[b]),Object(o.jsx)(c.a,Object(a.a)(Object(a.a)({title:t,open:b,onMouseEnter:function(){b||j(!0)},onMouseLeave:function(){b&&j(!1)}},l),{},{children:Object(o.jsx)("span",{children:d})}))}},118:function(e,t,n){"use strict";n.d(t,"e",(function(){return f})),n.d(t,"c",(function(){return h})),n.d(t,"b",(function(){return O})),n.d(t,"i",(function(){return g})),n.d(t,"d",(function(){return x})),n.d(t,"j",(function(){return v})),n.d(t,"f",(function(){return C})),n.d(t,"g",(function(){return w})),n.d(t,"a",(function(){return S})),n.d(t,"h",(function(){return N}));var a,r=n(6),i=n(5),c=n.n(i),o=n(2),s=n(10),l=n(42),d=n(39),u=n(4),p=n(53),b=n(8),j=n(244),m=Object.freeze({items:[],fetchStatus:b.a.statuses.NULL,total:0,lastUpdatedUtc:null,attributes:{},details:{fetchStatus:b.a.statuses.NULL,files:[],grantDetails:null,matchingFiles:[],records:[],pipelineDetails:[]},shareOpportunities:{postFetchStatus:b.a.statuses.NULL},dropdownOptions:{country:{items:[],fetchStatus:b.a.statuses.NULL},categories:{items:[],fetchStatus:b.a.statuses.NULL}},updateGrantsRecord:{fetchStatus:b.a.statuses.NULL,errors:{}}}),f=Object(l.b)("grants/getGrants",function(){var e=Object(s.a)(c.a.mark((function e(t,n){var a,r,i,s;return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.context,i=t.params,e.next=3,d.a.get(Object(u.f)("/api/Grant".concat(Object(p.a)(Object(o.a)({},i),"|")),{useDedicatedEnvironment:!0}),Object(u.b)(r));case 3:return s=e.sent,e.abrupt("return",null!==(a=null===s||void 0===s?void 0:s.data)&&void 0!==a?a:[]);case 5:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}()),h=Object(l.b)("grants/getCountryDropdownOptions",function(){var e=Object(s.a)(c.a.mark((function e(t,n){var a,r,i;return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.context,e.next=3,d.a.get(Object(u.f)("/api/Grant/dropdownoptions/country",{useDedicatedEnvironment:!0}),Object(u.b)(r));case 3:return i=e.sent,e.abrupt("return",null!==(a=null===i||void 0===i?void 0:i.data)&&void 0!==a?a:[]);case 5:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}()),O=Object(l.b)("grants/getSetAsideDropdownOptions",function(){var e=Object(s.a)(c.a.mark((function e(t,n){var a,r,i;return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.context,e.next=3,d.a.get(Object(u.f)("/api/Grant/dropdownoptions/category",{useDedicatedEnvironment:!0}),Object(u.b)(r));case 3:return i=e.sent,e.abrupt("return",null!==(a=null===i||void 0===i?void 0:i.data)&&void 0!==a?a:[]);case 5:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}()),g=Object(l.b)("grants/shareOpportunities",function(){var e=Object(s.a)(c.a.mark((function e(t,n){var a,r,i,o;return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(a=t.context,r=t.message,i=t.opportunityId,o=t.addresses,!Array.isArray(i)){e.next=7;break}return e.next=4,Promise.all(i.map(function(){var e=Object(s.a)(c.a.mark((function e(t){return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Promise.all(o.map(function(){var e=Object(s.a)(c.a.mark((function e(n){return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(j.a)({context:a,message:r,opportunityId:t,recordType:"G",toAdderess:n});case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()));case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()));case 4:e.t0=e.sent,e.next=10;break;case 7:return e.next=9,Promise.all(o.map(function(){var e=Object(s.a)(c.a.mark((function e(t){return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(j.a)({context:a,message:r,opportunityId:i,recordType:"G",toAdderess:t});case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()));case 9:e.t0=e.sent;case 10:return e.abrupt("return",e.t0);case 11:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}()),x=Object(l.b)("grants/getGrantDetails",function(){var e=Object(s.a)(c.a.mark((function e(t,n){var a,r,i,o,s,l,b,j,m;return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.context,i=t.params,o=i.id,s=i.fileKeyword,l=void 0===s?"":s,b=i.fileName,j=void 0===b?"":b,e.next=3,d.a.get(Object(u.f)("/api/grant/details/".concat(o).concat(Object(p.a)({fileKeyword:l,fileName:j})),{useDedicatedEnvironment:!0}),Object(u.b)(r));case 3:return m=e.sent,e.abrupt("return",null!==(a=null===m||void 0===m?void 0:m.data)&&void 0!==a?a:[]);case 5:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}()),v=Object(l.b)("grants/updateGrantsRecord",function(){var e=Object(s.a)(c.a.mark((function e(t,n){var a,r,i,o,s;return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.context,i=t.id,o=t.values,e.next=3,d.a.put(Object(u.f)("/api/grant/".concat(i),{useDedicatedEnvironment:!0}),o,Object(u.b)(r));case 3:return s=e.sent,e.abrupt("return",null!==(a=null===s||void 0===s?void 0:s.data)&&void 0!==a?a:[]);case 5:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}()),y=Object(l.c)({name:"grants",initialState:m,reducers:{resetShareOpportunitiesStatus:function(e){e.shareOpportunities=m.shareOpportunities},clearDetails:function(e){e.details=m.details},resetUpdateGrantsRecordState:function(e){e.updateGrantsRecord=m.updateGrantsRecord}},extraReducers:(a={},Object(r.a)(a,f.pending,(function(e,t){e.fetchStatus=b.a.statuses.FETCHING})),Object(r.a)(a,f.fulfilled,(function(e,t){var n=t.payload,a=n.data,r=n.attributes,i=n.lastUpdatedUtc,c=n.totalItems;e.items=a.map((function(e){return Object(o.a)(Object(o.a)({},e),e.record)})),e.attributes=r,e.total=c,e.lastUpdatedUtc=i,e.fetchStatus=b.a.statuses.DONE})),Object(r.a)(a,f.rejected,(function(e,t){e.fetchStatus=b.a.statuses.ERROR})),Object(r.a)(a,g.pending,(function(e,t){e.shareOpportunities.postFetchStatus=b.a.statuses.FETCHING})),Object(r.a)(a,g.fulfilled,(function(e,t){e.shareOpportunities.postFetchStatus=b.a.statuses.DONE})),Object(r.a)(a,g.rejected,(function(e,t){e.shareOpportunities.postFetchStatus=b.a.statuses.ERROR})),Object(r.a)(a,h.pending,(function(e,t){e.dropdownOptions.country.fetchStatus=b.a.statuses.FETCHING})),Object(r.a)(a,h.fulfilled,(function(e,t){e.dropdownOptions.country.items=t.payload.map((function(e){return{value:e,label:e}})),e.dropdownOptions.country.fetchStatus=b.a.statuses.DONE})),Object(r.a)(a,h.rejected,(function(e,t){e.dropdownOptions.country.fetchStatus=b.a.statuses.ERROR})),Object(r.a)(a,O.pending,(function(e,t){e.dropdownOptions.categories.fetchStatus=b.a.statuses.FETCHING})),Object(r.a)(a,O.fulfilled,(function(e,t){e.dropdownOptions.categories.items=t.payload.map((function(e){return{value:e,label:e}})),e.dropdownOptions.categories.fetchStatus=b.a.statuses.DONE})),Object(r.a)(a,O.rejected,(function(e,t){e.dropdownOptions.categories.fetchStatus=b.a.statuses.ERROR})),Object(r.a)(a,x.pending,(function(e,t){e.details.fetchStatus=b.a.statuses.FETCHING})),Object(r.a)(a,x.fulfilled,(function(e,t){var n=t.payload.files.sort((function(e,t){return new Date(e.createdOn||"9999-01-01")t.postedDateIn?1:-1})),r=t.payload.map((function(e){return e.matchingFiles})).reduce((function(e,t){return[].concat(Object(i.a)(e),Object(i.a)(t))}),[]);e.details={files:n,records:a,matchingFiles:r,fetchStatus:j.a.statuses.DONE}})),Object(r.a)(a,y.rejected,(function(e,t){e.details.fetchStatus=j.a.statuses.ERROR})),a)}),A=C.reducer,w=C.actions,S=w.resetShareOpportunitiesStatus,N=w.clearDetails},1241:function(e,t,n){},1242:function(e,t,n){"use strict";n.r(t),t.default=n.p+"static/media/landing_yellow_papper_airplane.c227986b.png"},1243:function(e,t,n){"use strict";n.r(t),t.default=n.p+"static/media/landing_blue_papper_airplane.d1b0f5c3.png"},1244:function(e,t,n){"use strict";n.r(t),t.default=n.p+"static/media/landing-scott-icon.08ee2567.png"},1245:function(e,t,n){"use strict";n.r(t),t.default=n.p+"static/media/landing-mike-icon.a423801d.png"},1246:function(e,t,n){"use strict";n.r(t),t.default=n.p+"static/media/icon_clock.4ad2e055.png"},1247:function(e,t,n){"use strict";n.r(t),t.default=n.p+"static/media/landing-aid-preview-icon.76e613fb.png"},1248:function(e,t,n){"use strict";n.r(t),t.default="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAACXBIWXMAABYlAAAWJQFJUiTwAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAU/SURBVHgB5Zs9b9tWFIbP/ZJpWw6EwgZUV4MGDx49dOiQoZmKJkCDoF0ypf0JmZogC5eg7tSpv6Gj4QRt0ykdWiBDB48ePGiQW6HxYNiyTYv3o/fQlULLokyZpEQyD2CBIq8svi/P/dS5BDKm6b52TgBqc95RlVDmSEIcDYQTopxwOWOYR8FIboznV1iXgtOtA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fKrioyQphW/3hgQAecNqaaQcm50Piu53s3GXLvyPchCqjSnXBC5aXZYNmjAOs+d25desiXp8M2CjDbEkoK1v3hdNor6wGYaso0zWR0OEsuBj5Xk6pHLoiIysJumaoCNVwKMb8z8tqokxgmZaoKRJy2ojLJx6bKrrjba3bJIN/J0dchZauz+aAVdXnsmuBb9/4eJh5DQcF7Hyc+KAPXgFnXmHgMBUPYe46TMT5BuvyLdcy9hQKQerp8n7q71QTJm5BjuNTt9ub9vbjlJ94yg9mWmHCYt5kjdnXY2u+7X2a3ZaZPsGnKP9tQCTdFpgXj9FDAwu5UNk2Fwbziik+aszLipk89TOKNkxd7g48awq/UNZFTqRYoXAuvvQ619u92/gIJSG3r7IURp7UsIyJN4X0y2jy9VeudszqhvKYSb55mnlD+AXf0Qct9kN/N01FgZGAmGiZjGVBVCsTRfsT2eWGkBuMJT3nnDu8uwr+HLfebTLfP/wc+yeVoJ1YNnQAAAABJRU5ErkJggg=="},1249:function(e,t,n){"use strict";n.r(t),t.default="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAACXBIWXMAABYlAAAWJQFJUiTwAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAUzSURBVHgB7Zu9b9tGGMbfu6NEBZIdRbYMF9CgAh0yemjhBO2gTB2LokaAAAXS/gmdunbN1KlzlgIFjAQeunSLhgZu0A7ulsFANAioYDmN0EgoZfHuei9lqfogJVIkxaPaHyBTsmiTz8P3vt8jEDPycS3X3oOi2esX/hYkxwySowQMIXhu8jxKmSUk2NyWlmmKLmO57tYWdMm9ugUxQiAG3pzUinTQ37UZ3Z0VGhRKpSUl7TBmtm59Wu9AxERmgHxWM1otq8JMWSGcGBADaAbnolEu5ztRRUZoA9YhfO6aTNpg01a5bDbDGhHKgObTw0qWQHVdwmcZRcTe/V9bsCIrGfDqWS2Xb1/dJkQUQQPQiFLpxtkq0RDYgKSfuhdSSvvqChqVz180g/xdIAMuju++R4isgMb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OzzHxGFIK3vutJZnjSydFnaxrwhLvvgZG3bOfjPH/0+UhAG9O7lRtzfOHs5I0b94/Pfd7fuAtM6+fHlbU0ldVt4wybOqwtl9U4bmx2qapx7Xc9vbgQJfMEkN13Iqq7+LV1C0i1La5i+PaPmODalJGrPrUJwm9cRKjoVTqV/pc7K9z42SGkGbx91yTfFMP1WONbOssGpHPQzHOiIhS+IjYNk9j7iGm34XfPM0sg4tLkTEvtd487QVGxs4OFDi3CpiPRBnJcdt9+zwzwBZcWkwtWfXzZres1ixWqdiC8A9svLJteUcdwQAAAABJRU5ErkJggg=="},1250:function(e,t,n){"use strict";n.r(t),t.default="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMIAAACKCAYAAAD46pUwAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAwqADAAQAAAABAAAAigAAAACLROnlAAAa5ElEQVR4Ae1de5hcRZWvqtuTeWS6OyGQ5/TkYYLgKCEzkxAeogFXRD5hV2N0VxAF9iEaYBGFTwwPRUXXx0fABRaRN0qMii9YVjTL7vJKZiYPHVBDSGZ6JuZBkunumcyj+9bZX3XSk5lJv27Pvd11p+/953bXPXXq1O/cc6vq1Kkqzixem8KRD3LGVxhcPLGkrnaLxeweeRERaNseO0lW0TeI2K9qQv5nGzgfKmLxriqKW5H2T/vJ39sfe4xxFkzm4/Q6E/zJpln+FznnZIWXR+s8Am3h2O2S0bmqJCj6EDFaX1HR/4vFM2f2OV+6u0qwZAitXZHriPglx1WRqFNy9qO+usDzKzhPHPfcSyg6AlvCh5clWOKbaQpWRvD0JCl/etrcKYfSPC/LpLwNYXM4sshk/H6glC3PfpJyXa8M/nrFfD5QlohqUOl2okn9XdGHoapZGcUhGmLceEYm2FPL5tfuyUhXJg+yvdTDEBCagdZw9B7G+TuGE7P84JxFueQ/8g/W/nzRIj6YhdR75AACbeHolZKxS/NkjcacPRePi0eWL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0YqKTnVmGXSM76A+1/8DeMTfITGHB1IAAAAASUVORK5CYII="},1251:function(e,t,n){"use strict";n.r(t),t.default=n.p+"static/media/aid_websites.6b25191b.png"},1252:function(e,t,n){"use strict";n.r(t),t.default="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAATIAAAC1CAYAAADcBHMRAAAACXBIWXMAAAsSAAALEgHS3X78AAAYYklEQVR4nO3dCXDUdZYH8NfpdCedhJwkgTQhCQlB7isQLjk8FhXUqq2NK441UDvurNdOwWzpHmIp5VE76ro1uzLjVk3NiM64O6LrlhwryoCwXIZbTIBAIBASEkiTm9zJ1vvBH5umO+njf/+/nyqKKhPpf3enX977/d7//WwDAwPkLX/tpsUEAKBfTZWvP3zM++puBbL8tZvWxERH/aKrt9+BNxAA9Cw6ysaB66ve/oHHK19/uCmabgSxfyOiv+3q7aeV8/Ipd3gC3kQA0KWqhjY6WOWxldc2LY2226qIKFlkZGNf3jzQPzBArzwylSZmJePdAwBda+/qpVe/OE4XPG18mb+wf9Q7c3GSy7Gys7ffVtXQToWZiZQc58S7CAC6VFbbRG9uPUG1TdcpOyWW4pz2MnvKwhWr5o1JWbwwP5VKLzTRrop6EchQXgKA3mw8VEW/2nmauJJ8al42FWbE06GLzQ6xRhbniKK5eck0KiWWPiytFd/IUW/VvAKKj4nGmwkAmrra2knrd56m8tomEbyeXpBNcQ47VVxpF5d1W5TKTo6lNUtyaOOROtp1up641HxuyThkZwCgmYPnG0QQu97dS8snptPySRl3XMod6RZHuZXFbhH1PjlaJxbUSopyaNmUUXgnAUA1vKDPpeTWEzWUFu+kNUvyRbLlT8C6USo1N3xbQxv2VVJ5bTM9u2QcSk0AUBy3WHAWxruSU92JtLI4SyRZgUQNdkEc/dYuzad7CtPoYFUDvfjpYfEAAABK2fLdJVEJXmnpoJWz3fTMzfWwwQwayCSPTR9BTy8YTW2dPSKY8QMBAMiJS8m3vywTFWBqXDT9/J5cURkGI+g6cZp7GGUvzadf77mIUhMAZMVdEhzEeEGfK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A8TY3gFEhO7vBMoGMszA+R5LnhfGtIM8tGSfWHACMDtmZRQKZdxbGN+jyDhCA2Vg5OzN1IEMWBlZj1ezMtIEMWRhYmdWyM9MFMmRhADdYKTszVSBDFgZwJytkZ6YIZMjCAAZn9uzM8IEMWRhA8MyanRk2kCELAwiPGbMzQwYyZGEAkTNTdmaoQIYsDEBeZsnODBPI/lThEdMqOnr6kIUByMzo2ZnuAxnP5N5QWiPmhuWkJYgszOqz8wGUYOTsTNeBzDsLKynKoZKiXB1cFYC5GTE702UgQxYGoC2jZWe6C2TIwgD0wyjZmW4CGbIwAH0yQnami0CGLAxA//ScnWkayJCFARiLXrMzzQIZsjAA49JbdqZ6IEMWBmAOesrOVA1kyMIAzEcP2ZkqgQxZGIC5aZ2dKR7I9p9vok+O1iELA7AArbIzxQLZ9Z4+2vBtLR2vaRETKtY9Og1ZGIAFaJGdKRLIjtW0inE7nIU9NNktsjB+cgBgHWpmZ7JGF98s7MUHJ9HErGQ5HwIADESt7Ey2QIYsDAACUTo7izjSIAsDgGAomZ1FFMiQhQFAqJTIzsKKOsjCACAScmdnIQcyZGEAIBe5srOgIxCyMABQghzZWVCBDFkYACgtkuxs0GiELAwA1BRudhYwkCELAwCthJqd3RGZOAvbeKSO9lc1IQsDAM34y86muhNpZXHWHdkZB7ImHrPDeMzOhtJa8rR306zc4fTsknHIwgBAU97Z2cGqBnppUzutLHbTNPcwut7TLy7NnrJwRWxrZ9+TjR09UR8fvkw2m41W3zeeSmblkjM6Cu8gAGiOY9H8ggyakJVMxy810u6zHqpu6qLWrl5qaO/5o21gYIDGvry5r39gIApZGADoXXtXL208VEVbT9RQlM1G/QMDd4uI1T8wsI6I1lV52mjriUt4IwFA19q7e8Xl2WxUW/naw3tERsby1276qcMe9cuevv5YvIUAoGfRUbb+3v6Br4no8crXH266FcgAAAyJiP4fyqNBph/zVQAAAAAASUVORK5CYII="},1253:function(e,t,n){"use strict";n.r(t),t.default="data:image/png;base64,iVBORw0KGgoAAAANSUh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LNU/fvGWeFFALNVkWrszPm6zXkW/16d2iOAuC/oeffmHSytjr//1aCpe1WpY5Oz2sKC6D9iqrjNHH92/VVC2WcxfOB89/R2UeDZHa56VIAPcpnhLAjxI5c+7C+aobL6u60zmjEOyT7+l7VltYFFHgfrVi63e426RiKo5ZuDESjWrdnccOB7sbFUUiaLxEAya3xZypdJtyNZYFHcTd2N2oQlEkg42HVltMxcXKisTCm7f24hRNESsegAZfjl+GeCZEWcq6Yex+fULBL3jW5KwVRTzWXpgVTieXdMcqsSyBmTLzdBXFFzADIr03equrEnespFg4+zWk7pfiK9Z9PVQuO1ZULFylxwT7QIG6L0XxkWCe9rHD5sxK1l5KWRYEPX1mOLei+EowU3sv2O8vFewXDPDt3i8dNKEkAXQmo0OZay/9hXrHilkWqKsbVkWFoiQB3OccanTz/f8UT4mFrQoeA63ul5IorPv9nwuddyHLMqJWRUkilnXpK7SzspBYUK1Xq6IkEstAPOWKHRALbxPuDx4LfUgLkEryQGaMOZO/qzLfsgSmB5V63aeiJBHc95Z1OeCK5SviLeIipKIklbbenFjeLigWLvUHgb1u6lKSTGb/kenddguMbVmCb2qzpKIc0EFxsWi6WFGIMvtiGTZfBGLhqL8HWTB1wRRlzxWz+sWwpytnWQL1ZDr1sdqKYrD0EHhdB8SS1mfQK0oOSw9BvaXJ/kumo02vlKIwPNSCjDFp4sbJfuK5Soqi7JHZtyyBPpqMVVEXTFGexlgXtILlxKLbhhXlaZrTafO9AYgl6BxTsSjK07S05uKWgX3LkknrpVKUPFLNzeYb+5alSS2LojyFlREb0D58RakQiGUIP5pu1bSxopRCLYuilKCpKSeRoRaeD9b/zcef6DVTlOLcbeImsbt6kRSlKNDHeF3PwVeUxEBE/w8QHEBWMzk87AAAAABJRU5ErkJggg=="},1254:function(e,t,n){"use strict";n.r(t),t.default="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAL4AAADgCAYAAAC98NwaAAAACXBIWXMAAAsSAAALEgHS3X78AAAUk0lEQVR4nO2dS0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9R9MouknZ9gB/BOuk678RW1+gWFz9Ze5ezFrxds4+TsBCXtfi6mfI9iFl9t7lWnBEqXM8Ey4JZrVr/gRvX3hM+ZHByoJtZesBbN6g9yNfEZCln8dLBYJdZesBVYfS02fc/qFxK++iYcuyMINpM69Vhuc9xaWPhc2tl/cpJel1x0wWqQ4dG8ljOpzbDFVxEwbhGStxdcAIflMWeyO2Hhq1nR3inWXnADzXMZ1N2dvPDPujmyYCW4wUmQmxd/3t3RLf6JtRfRC47R3pnXdD6tqQtffRFnqgqCS2gB7u1CwleHN0juXnANZHeCrbLBYlYTnfr3Z75BEFxCM+g3SbP46hPesS4IztGSTJYSvpxaIrhJ66m2VUrzjPBbk2LxBTfRvBkVywbCV7vSZbVWcBVd26hADoSPZjyS0RGcRg9waz4YQhBspCmoX+CifUFwFk3jA01BlCsZHcF1NI0PNAfP9vd2jnOrrxNy9QVX2drM5V+Z6qQ2mh5/FgS4guA4UP/NwOIPc3XmgFx1wWFwROijhczs898BBFAakPWtN20AAAAASUVORK5CYII="},1255:function(e,t,n){"use strict";n.r(t),t.default="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAALUAAADGCAYAAACU5cHGAAAACXBIWXMAAAsSAAALEgHS3X78AAAUEklEQVR4nO2dz09c1xXHz5sfzOAfgF3VqazaOIkiuxKV8SJqotLa3mU3tIu2K0woQl01pIsuuqmzYVu6Raix+Qdqdq1UKbhC6iKL4iqLRGobXKlWQxJsjDEwzMyrzp3zhscwM8yPd8+9777zkUYMMZl57813zvvec8691/N9HwS7WZ7xbjU4wLXCgv9MPrrjiKgtYnnGGwUAFDD+vAIAN9s4uocAsA4AK/goLPjriblgTRBRG2R5xkPhjpOQ8TEYwdE8IoHfKyz4a7G9OD0gomYmJORJALiu+d1R4PMA8CBJVkVEzcTyjDdJYi4YePstEvd8EsQtotYIRWUU82xE1qJXEiFuEbUGaMCHQr5j6SGiuGcLC/49C44lckTUEUKpt7ttZi1sADMnk65lTETUERBDMdfzfmHBn7frkL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){"use strict";n.r(t),t.default=n.p+"static/media/geopoll_icon.caa74d9a.png"},1257:function(e,t,n){"use strict";n.r(t),t.default=n.p+"static/media/geopoll_person_icon.9c94d3c6.png"},1258:function(e,t,n){"use strict";n.r(t),t.default=n.p+"static/media/enviroment_icon.8e6bc3b2.png"},1259:function(e,t,n){"use strict";n.r(t),t.default=n.p+"static/media/enviroment_person_icon.b46145b2.png"},1260:function(e,t,n){"use strict";n.r(t),t.default=n.p+"static/media/arizona_icon.1e6d7f07.png"},1261:function(e,t,n){"use strict";n.r(t),t.default=n.p+"static/media/arizona_person_icon.d07391df.png"},1262:function(e,t,n){"use strict";n.r(t),t.default=n.p+"static/media/adam_icon.b31fc7fc.png"},1263:function(e,t,n){"use strict";n.r(t),t.default=n.p+"static/media/adam_person_icon.09cf4f42.png"},1264:function(e,t,n){"use strict";n.r(t),t.default=n.p+"static/media/ocdc-icon.5cf571a6.png"},1265:function(e,t,n){"use strict";n.r(t),t.default=n.p+"static/media/luann-avatar-ocdc.15e0f4e7.png"},1266:function(e,t,n){"use strict";n.r(t),t.default="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAI8AAACcCAYAAABGIfimAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAA5XSURBVHgB7ZwLcFxVGce/+9hXyKulvpqiKS1SM22a3U0sVSoVGa0KKCoqYmlLmj4QBhUf0IK2o4IMw1SGofRBS5SpOlSQhzpSRUAt0jbdpKkk7VDaAAHaAn1s0yab3Xuv/7MkMdncLXnsblP4/2Zu7t1zzj3P73znnO+cGxFCCCGEEEIIIYQQQgghhBBCCCGEEEIIIYQQQgghhBBCCCGEEEIIIYQQQgghhBBCCCGEEEIIIYQQQgghhBBCCCGEEEIIIYQQQgghhBBCCCGEEEIIIYQQcvqhpTqUzy4/Q9O0Yi1P80gWaFjV0HLSAI5oFd+rKEocTRSYPtOQodIhRxpqG470dqqYW1EsfimWYWDYRizeHo82PtB4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ENCsRFH7TjG8RkoLS0dCEZuyB+GfqxKrW49kVoaKiwBT9p0iR3GOOynLR0pt7FixdtzgpyIJtJnMlk1Ltp6h0jg7n4ASVBH6jznPiyX2hSO0Ckb+v1yXGXfXx8ltf2Ew4pmshkAtL0RExMTCSloXjko59DDfRD9lea6ES9du3acHzJPkgDjJowcOBAX6YSZDOJ13C5W6I7fNbAJcXbApCmVFF9xbRWL7qI4ujEl9cDNEoVBZdAkuZI2pzVQD9kfx2gNLmVYCooil6lWD1fX99lTCXIZpJPA+9voKAPSMRgphCo+xjU14GUxrb3QXivD5hvkOdPwZYSjGVsdzyOsiOYQqBub9zraEqDGV9AmqSDzWx/ETDNJeBLVuy4FFjHhtIrwpkKkMWk3RsyijdEta8XhIERl+zo66hRf6k4RWC6IAem0CDU5uT09PQSSoNw8+hV2swBQFmZPXjwYGFhB5PM/UCCt4j2V60Z4dCGIa3NJSUlqjxM5rDHAc7NeMz3DzIHgVHeBQyJozQW9+Mg4DpanzZt2iQYy5Cip2nLgzkItHE3HKbCA2JYA49hiltP9hek18wUDLoke8wIW8Bg+ys9lMAchENMokcWsYinMJWAP7VQVF+9vb3TMNUJNg1pZQ29I0kpICVviUH4/v7+i7CdsRjTn6A5Qr3vjOvjmAogaYLkOnxWn0NTR9u2bcfiDyUw9eCJHdyS06dPf/3DDz/cwDolvAcdTtQYDAbVQrRAPDfcdw3aP3D48OGiyMjIwwcPHhT2wsLDw5dC2h5mKgEDr2vfvn2/O378+FmmEIpDcCMiIrTBwcFbcROhTEVAem7BKfqn/v37mzcQoTpvlh7AoVI/NSEhIRFLliwpF/Ow0N8NeyqHqRygg2n7R0ytCawFLWhBC1rQGP4X3dVnlAR0nooAAAAASUVORK5CYII="},1269:function(e,t,n){"use strict";n.r(t),t.default="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKgAAACcCAYAAADroOAPAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAABl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MwzAMwzAMwzAMwzAMwzAMwzAMwzAMwzAMwzAMwzAMwzAMwzAMwzAMwzDMN4n/B7Q7QwLVNdmDAAAAAElFTkSuQmCC"},127:function(e,t,n){"use strict";n.d(t,"a",(function(){return j})),n.d(t,"c",(function(){return m})),n.d(t,"b",(function(){return h})),n.d(t,"d",(function(){return O})),n.d(t,"e",(function(){return v})),n.d(t,"f",(function(){return y}));var a,r=n(6),i=n(5),c=n.n(i),o=n(10),s=n(39),l=n(42),d=n(4),u=n(8),p=n(53),b=Object.freeze({tableSettings:{columnsOrder:[],fetchStatus:u.a.statuses.NULL,patchFetchStatus:u.a.statuses.NULL,deleteFetchStatus:u.a.statuses.NULL},userSettings:{setting:{},fetchStatus:u.a.statuses.NULL,patchFetchStatus:u.a.statuses.NULL,deleteFetchStatus:u.a.statuses.NULL}}),j=Object(l.b)("userSettings/getTableSettings",function(){var e=Object(o.a)(c.a.mark((function e(t,n){var a,r,i,o;return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.context,i=t.key,e.next=3,s.a.get(Object(d.f)("/api/UserSetting".concat(Object(p.a)({key:i})),{useDedicatedEnvironment:!0}),Object(d.c)(r));case 3:return o=e.sent,e.abrupt("return",{data:null!==(a=null===o||void 0===o?void 0:o.data)&&void 0!==a?a:[],key:i});case 5:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}()),m=Object(l.b)("userSettings/patchTableSettings",function(){var e=Object(o.a)(c.a.mark((function e(t,n){var a,r,i,o,l;return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.context,i=t.key,o=t.configuration,e.next=3,s.a.patch(Object(d.f)("/api/UserSetting/".concat(i),{useDedicatedEnvironment:!0}),o,Object(d.c)(r));case 3:return l=e.sent,e.abrupt("return",null!==(a=null===l||void 0===l?void 0:l.data)&&void 0!==a?a:[]);case 5:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}()),f=Object(l.b)("userSettings/deleteTableSettings",function(){var e=Object(o.a)(c.a.mark((function e(t,n){var a,r;return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=t.context,r=t.key,e.next=3,s.a.delete(Object(d.f)("/api/UserSetting/".concat(r),{useDedicatedEnvironment:!0}),Object(d.c)(a));case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}()),h=Object(l.b)("userSettings/getUserSetting",function(){var e=Object(o.a)(c.a.mark((function e(t,n){var a,r,i,o;return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.context,i=t.key,e.next=3,s.a.get(Object(d.f)("/api/UserSetting".concat(Object(p.a)({key:i})),{useDedicatedEnvironment:!0}),Object(d.c)(r));case 3:return o=e.sent,e.abrupt("return",{data:null!==(a=null===o||void 0===o?void 0:o.data)&&void 0!==a?a:[],key:i});case 5:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}()),O=Object(l.b)("userSettings/patchUserSettings",function(){var e=Object(o.a)(c.a.mark((function e(t,n){var a,r,i,o,l;return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.context,i=t.key,o=t.setting,e.next=3,s.a.patch(Object(d.f)("/api/UserSetting/".concat(i),{useDedicatedEnvironment:!0}),o,Object(d.c)(r));case 3:return l=e.sent,e.abrupt("return",null!==(a=null===l||void 0===l?void 0:l.data)&&void 0!==a?a:[]);case 5:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}()),g=Object(l.b)("userSettings/deleteUserSettings",function(){var e=Object(o.a)(c.a.mark((function e(t,n){var a,r;return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=t.context,r=t.key,e.next=3,s.a.delete(Object(d.f)("/api/UserSetting/".concat(r),{useDedicatedEnvironment:!0}),Object(d.c)(a));case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}()),x=Object(l.c)({name:"userSettings",initialState:b,reducers:{resetTableSettings:function(e){e.tableSettings=b.tableSettings}},extraReducers:(a={},Object(r.a)(a,j.pending,(function(e,t){e.tableSettings.fetchStatus=u.a.statuses.FETCHING})),Object(r.a)(a,j.fulfilled,(function(e,t){e.tableSettings.columnsOrder=t.payload.data.setting[t.payload.data.key],e.tableSettings.fetchStatus=u.a.statuses.DONE})),Object(r.a)(a,j.rejected,(function(e,t){e.tableSettings.fetchStatus=u.a.statuses.ERROR})),Object(r.a)(a,m.pending,(function(e,t){e.tableSettings.patchFetchStatus=u.a.statuses.FETCHING})),Object(r.a)(a,m.fulfilled,(function(e,t){e.tableSettings.patchFetchStatus=u.a.statuses.DONE})),Object(r.a)(a,m.rejected,(function(e,t){e.tableSettings.patchFetchStatus=u.a.statuses.ERROR})),Object(r.a)(a,f.pending,(function(e,t){e.tableSettings.deleteFetchStatus=u.a.statuses.FETCHING})),Object(r.a)(a,f.fulfilled,(function(e,t){e.tableSettings.deleteFetchStatus=u.a.statuses.DONE})),Object(r.a)(a,f.rejected,(function(e,t){e.tableSettings.deleteFetchStatus=u.a.statuses.ERROR})),Object(r.a)(a,h.pending,(function(e,t){e.userSettings.fetchStatus=u.a.statuses.FETCHING})),Object(r.a)(a,h.fulfilled,(function(e,t){e.userSettings.setting=t.payload.data.setting.animationShownFor,e.userSettings.fetchStatus=u.a.statuses.DONE})),Object(r.a)(a,h.rejected,(function(e,t){e.userSettings.fetchStatus=u.a.statuses.ERROR})),Object(r.a)(a,O.pending,(function(e,t){e.userSettings.patchFetchStatus=u.a.statuses.FETCHING})),Object(r.a)(a,O.fulfilled,(function(e,t){e.userSettings.patchFetchStatus=u.a.statuses.DONE})),Object(r.a)(a,O.rejected,(function(e,t){e.userSettings.patchFetchStatus=u.a.statuses.ERROR})),Object(r.a)(a,g.pending,(function(e,t){e.userSettings.deleteFetchStatus=u.a.statuses.FETCHING})),Object(r.a)(a,g.fulfilled,(function(e,t){e.userSettings.deleteFetchStatus=u.a.statuses.DONE})),Object(r.a)(a,g.rejected,(function(e,t){e.userSettings.deleteFetchStatus=u.a.statuses.ERROR})),a)}),v=x.reducer,y=x.actions.resetTableSettings},1270:function(e,t,n){"use strict";n.r(t),t.default=n.p+"static/media/Global_Communities.b82ce7d2.png"},1271:function(e,t,n){"use strict";n.r(t),t.default="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAPMAAADeCAYAAADoxDbXAAAACXBIWXMAABYlAAAWJQFJUiTwAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAA7GSURBVHgB7d0PcJTlnQfw3+/ZTQIk2d1gpZwWynlKW4WpN9aOiFUqSSC9mV6l7GrLYCu21N5MZ3qtp47XVqYzdXr17pwqd1ZsEWzVkEWUIEUSsBF75Sx1dHqtpWp7WqgiaPZPQkKSfZ/f/V4Eh9MiSfbdzbvPfj8zYXfDG8i++37f59/7Pg8RAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACAs5iqxOvJy8+MRqLz2OO5xBLTb2WtMc+wiTyZeGBrhgIgy1vrs4XIR7gwcgmzeQ+ViCXKsZVX2chLUpAX4on6Q7y2s49CSlaurOnP/flsawsLhe0sJo5QmVhLWWNkz5Akdk1Lp/vJYc6HObu0ZaG+y5v1kLpQ327jO7fgDJM8yVG+MfZg114ahzeWtcUiQ4WbyVCKhP6aysuyUEaY9jHzr8XKk5HG6ObGe7cdohDIXNm8xIi5XvfLBUJSSxPndf0dtnhRvuW09q595CBnw3wwmWyYZLL/aj1aqe/y1O9TeEAM3ZaQ+K2cTg/TKGU/u/AsGjGb9OmHKTxGNOB7xJjOOvEenJze8ScqM1m1IJr7bc0P9Om1FC77NdTXJjZ2d5FjnAzzoatazogWpF1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strict";n.r(t),t.default=n.p+"static/media/MarketShare.0442d24b.png"},1273:function(e,t,n){"use strict";n.r(t),t.default="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHMAAABrCAYAAABExr0QAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAA3RSURBVHgB7ZsJlBTFGcf/VT2zu6wryBpuFwNRlgXRPDHBEzHeyrXEJTGJB148jSaiIQkIbC+iGDDPMxoxAh5EceUUD4wH8vCIimK4lSBBDMoTORaWPaar8lU3O0zPzsz2HIh57/u9nZ3umvpqquur+uqrr2oAhmEYhmEYhmEYhmEYhmEYhmEYhmEYhmEYhmEYhmEYhmEYhmEYhmEYhmEYhmEYhmEYhkmBwP8jA+wQjsBSQPfxEvRyzJ84ANlQbr8JrU9EuqjCzlj4hxoMHHcsLPkahGiLtBGa/vZCi6/oZjPdvwMVWYrGnR/gpQfqE4qcZ7dHgbqQ5NpBWt+gFvMtpEl4+if9VGHXE7HqH5/gUHHiGX2hcRs9dCHd5dF7V/Q+61msXfI1MqVH/y8gsZ6UUUNKPZbeD/fKjn9pTd/3Hr0/DVgzsavxY2xaotDz5Ebo8GcQ6hNIkUfZfkBlFDSTF1CkNFOGcF9ChylvK7o239eRXqVU9tl0fzlChcNQ2v8bdBLrsWmT8tW3d/+LAKmozjVQug55oiy9kTljbR/p6JfV4nlFaGgcgwX2QzgUDJ5wJzXYGF+axkQsqKpELhhs96d2mk8NGjfKtAMhb8HcygdIDzqpvG1LfIwbqU73koy/jbWYSiNpRkyR+dCqA+U9jRRzHX1nh7jS6DvFLOw4eiSWjKiLpg4ZfzmVswdKHUuFvEh5egRX5mNrT6FhPI+uOjgvz1FobJRUsV9jS6dHsXxkI74tjIltgy+oR7f3pWtsQAP64qWq3cgFQyvNsw71pQmxBXW6d6DvGGof4Zp/oLsvXetbsGDiPQllBtgFaIubaaRV0ggu8H8oFmAnLsESO+Lelk88gUzxyYjIt2AZcytfkAj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dzp625Vr87vjB3/HZP052ZBGTipC2RdH3K0rqdKmsbzz2davw1LzoCmCEnRrs0pA88DBoRQfGZHOE5PCgmbXfqfNisviqghT/l26jxzsTP0H9djPt8uRkF9R6jwCdTFf0sduF8S2a0kN5X681Kogi1YMHab+yMi8xuY4oZ2aLDa0/OcSy17Az1AtyRlvAflPALHeo9m1S3uFl4yhlSVUzmP0/clMPEU89a4A458noIKmzPw2KjX21Ui5XZUECrsPDLatNeoTw+QO0KKtSlAfUfSHGYeUfUfUiMG374TtIMvSXlzxn+KIRNe907Li4Bt4ka5dkPVlrgnAC7+Y3eEC+h51NHByzBbBeKf9HTnkDKSW7hhVWdRJ70dJhgvEpUtPse+cL8MwnbUC+2sA1xELwdqrZmHOwTKLqzVKT9vt2k3vux8E9WsEIGhdgk5W91LKadQtGlaWrKG3YXeCcbCgm1ojIyCCqW73VdLq8rUOzpzK80S7XTP8dnXA444iip8wOpI1CF/1x4wDMMwDMMwDMMwDMMwDMMwDMMwDMMwDMMwDMMwDMMwDMMwDMMwDMMwDMMwDMMwDMMcBP4HjFLZ9aO/ZSEAAAAASUVORK5CYII="},1274:function(e,t,n){"use strict";n.r(t),t.default="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAK8AAABeCAMAAABigrT7AAAAolBMVEVHcEzBjSUnJh8hHR4hHR4hHB2RsSUhHR4hHR5OQSKQsCXoayQhHR6QsCWQsCUhHR4hHR4hHR4hHR4hHR7oaiQhHR4hHR4hHR4hHR4hHR4hHR4hHR4hHR7oaiToaiSQsSXoaiQhHR7payQhHR4hHR6RsSXpaiTqaySRsSWRsSXoaiQhHR6RsSUhHR6RsSWQsCWQsSXoaiToaiQhHR6QsCXnaiT316tEAAAAM3RSTlMADAehbw4aGNgC25HL8DE8T/T7gYTsxZLjLCFfvvDFxdsTPdOrrloeV3Wst5GwJefWdIeFy6T9AAAGcklEQVR42u2ba3eqOhCGI3Ix1VaEIiri/VKtre6j/P+/dgCrhZkJhtqw117L+eiK8SGZz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EA5A9lExR5Xt9dOmrxlo2sOxyFWzQU9Bsc6eETseO+StZLBkJBIRoVgq+8W7QBYCGH18P7l5dDOrALtcVavGq79CqsYfDlQ2vpq6ZMKELWEmnZjt/s9wv+HKG2HEqY/YIg9EdIn0nbnd4sayEMQYl07XvDoPhxZhUWGk+eXLv29E/3P23M4Fj3by/c/JfoCeHfjc9+ocC4jUf7qp1/vruhTCb882W7iJe0W5JrSYsdpRnn/VkjWoDEcf/OTiim4TB3CZw7/BbWdlBtnhyXvSzq1oTjOFpkUUjv6DMzk3C/F9MQV5F9lp21ZB7Sc00eWZM8N9PBcJr8znZ5sXbH9lJmG4BfzF6m5Mv5EZQV4w/8azujw6hoPWjp3umfGMr7IHvRPbR1i2etpeS2S9JwEPKjCWmzDCwVx/1r28kSuh8wdftyobCJRmxF+esPquO+OJ4//3T3Z73kyVvXP7qw9Pr166VHP/sNOp3yzu9h3EObLK5QKNrqBQe6116ZgfL5pN2Mwm73ISEg28T6OuezryDhIUHg8V7pEKtQkKKyifrmE+8JX5GmIhWoRs/R6CwMsRJZoetZM6Wx2xUspaAZjlCQlYq9fUUh2R7MTsAFgrsx6deJlZUGI2AonwYNt4bgWNznE3/5KCS/ihX7yQpUlDpyLEuyLNpg/rvaN0OdvPf41uN7bf8ebNgHaAInTAcHB7JeDlQuvo4/MLAIDusQFMJiHaanQLUhVvM5aDQhwEHt8VuWVK1cOs0CskGaDkN49oTLaX80ndbEsHrONh3iB1pwstJt/RAL6wg7kYL+AAD9iHF/6x8yGQAAAABJRU5ErkJggg=="},1276:function(e,t,n){"use strict";n.r(t),t.default="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAK8AAABACAMAAABbXtcQAAABR1BMVEVHcEwiOF5BU3REVnZIWHYfNVsgNlweNFurtsR3jqUhN103Sm0zR2o/UXIjOV40SGsfNVsqPmMgNVwiN15JWnlXZoIiOF4hN10sQWUgNVweNFshN10mPGEjOF5FVndFV3cxRmk4S245TG4rQGU+UXIjOF4wRGg1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FUQALxz7uDxYJDBKqHGguW3YVWbl1MeCPBMD5DQXt2ejnY1i8/I1NLvRquKrJrXsWjcKvlyYDPLdHjaxtR1Bov88C/7jbf99SG3aNynMFM3PD2TMdhBPG1DX+LMvzfejA2x8h/WZ8cf3MYR04dTCgYAAAAASUVORK5CYII="},1279:function(e,t,n){},1287:function(e,t,n){},1288:function(e,t,n){},1289:function(e,t,n){},129:function(e,t,n){"use strict";function a(){var e=window,t=e.innerWidth,n=e.innerHeight;return null===document?{width:null,height:null,headerWidth:null,viewWidth:null}:{width:t-40,nestedWidth:t-40-150,height:n,headerWidth:(document.querySelector("#header")||{}).clientWidth,viewWidth:(document.querySelector("#view")||{}).clientWidth}}n.d(t,"a",(function(){return a}))},1290:function(e,t,n){},1291:function(e,t,n){},1292:function(e,t,n){},1293:function(e,t,n){},1301:function(e,t,n){},1302:function(e,t,n){},1303:function(e,t,n){},1305:function(e,t,n){},1307:function(e,t,n){},1308:function(e,t,n){},1309:function(e,t,n){},1310:function(e,t,n){},1322:function(e,t,n){},1323:function(e,t,n){},1324:function(e,t,n){},1325:function(e,t,n){},1327:function(e,t,n){},133:function(e,t,n){"use strict";n.d(t,"a",(function(){return ue}));var a=n(83),r=n(5),i=n.n(r),c=n(10),o=n(6),s=n(2),l=n(12),d=n(3),u=n(1),p=n.n(u),b=n(1364),j=n(95),m=n(1506),f=n(1507),h=n(1357),O=n(150),g=n(339),x=n(707),v=n(525),y=n(159),C=n(1466),A=n(1508),w=n(1509),S=n(1510),N=n(1511),E=n(376),I=n(1363),D=n(476),F=n(474),k=n(1501),T=n(1492),R=n(62),P=n(298),M=n(649),U=n.n(M),L=n(650),B=n.n(L),V=n(0),Q=function(e){var t=e.sortOrder,n=e.onClick,a=e.disabled,r=void 0!==a&&a,i=Object(j.a)();return Object(V.jsx)(E.a,{sx:{width:"24px",height:"24px"},onClick:n,disabled:r,children:Object(V.jsxs)(O.a,{sx:{display:"flex",flexDirection:"column",justifyContent:"center","> .MuiSvgIcon-root":{fontSize:"24px !important"}},children:[Object(V.jsx)(U.a,{sx:Object(s.a)({mb:"-9px"},1===t?{color:i.palette.text.secondary}:{color:i.palette.action.disabled})}),Object(V.jsx)(B.a,{sx:Object(s.a)({mt:"-9px"},-1===t?{color:i.palette.text.secondary}:{color:i.palette.action.disabled})})]})})},W=n(341),H=n(50),z=n(471),Y=n(656),G=n.n(Y),K=n(66),q=Object(K.a)(Object(V.jsx)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:Object(V.jsx)("path",{d:"M8.33333 3.33333C8.33333 3.55435 8.24554 3.76631 8.08926 3.92259C7.93297 4.07887 7.72101 4.16667 7.5 4.16667H5.34167L7.25833 6.075C7.41525 6.23192 7.50341 6.44475 7.50341 6.66667C7.50341 6.88858 7.41525 7.10141 7.25833 7.25833C7.10141 7.41525 6.88858 7.50341 6.66667 7.50341C6.44475 7.50341 6.23192 7.41525 6.075 7.25833L4.16667 5.34167V7.5C4.16667 7.72101 4.07887 7.93297 3.92259 8.08926C3.76631 8.24554 3.55435 8.33333 3.33333 8.33333C3.11232 8.33333 2.90036 8.24554 2.74408 8.08926C2.5878 7.93297 2.5 7.72101 2.5 7.5V3.33333C2.50092 3.11472 2.58771 2.90522 2.74167 2.75C2.81885 2.67126 2.91088 2.60862 3.01245 2.5657C3.11401 2.52279 3.22308 2.50046 3.33333 2.5H7.5C7.72101 2.5 7.93297 2.5878 8.08926 2.74408C8.24554 2.90036 8.33333 3.11232 8.33333 3.33333ZM7.5 15.8333H5.34167L7.25833 13.925C7.41525 13.7681 7.50341 13.5553 7.50341 13.3333C7.50341 13.1114 7.41525 12.8986 7.25833 12.7417C7.10141 12.5847 6.88858 12.4966 6.66667 12.4966C6.44475 12.4966 6.23192 12.5847 6.075 12.7417L4.16667 14.6583V12.5C4.16667 12.279 4.07887 12.067 3.92259 11.9107C3.76631 11.7545 3.55435 11.6667 3.33333 11.6667C3.11232 11.6667 2.90036 11.7545 2.74408 11.9107C2.5878 12.067 2.5 12.279 2.5 12.5V16.6667C2.50092 16.8853 2.58771 17.0948 2.74167 17.25C2.81846 17.325 2.90901 17.3844 3.00833 17.425C3.11051 17.4716 3.22105 17.4972 3.33333 17.5H7.5C7.72101 17.5 7.93297 17.4122 8.08926 17.2559C8.24554 17.0996 8.33333 16.8877 8.33333 16.6667C8.33333 16.4457 8.24554 16.2337 8.08926 16.0774C7.93297 15.9211 7.72101 15.8333 7.5 15.8333ZM17.4333 3.01667C17.3927 2.91734 17.3333 2.82679 17.2583 2.75C17.1812 2.67126 17.0891 2.60862 16.9876 2.5657C16.886 2.52279 16.7769 2.50046 16.6667 2.5H12.5C12.279 2.5 12.067 2.5878 11.9107 2.74408C11.7545 2.90036 11.6667 3.11232 11.6667 3.33333C11.6667 3.55435 11.7545 3.76631 11.9107 3.92259C12.067 4.07887 12.279 4.16667 12.5 4.16667H14.6583L12.7417 6.075C12.5847 6.23192 12.4966 6.44475 12.4966 6.66667C12.4966 6.88858 12.5847 7.10141 12.7417 7.25833C12.8986 7.41525 13.1114 7.50341 13.3333 7.50341C13.5553 7.50341 13.7681 7.41525 13.925 7.25833L15.8333 5.34167V7.5C15.8333 7.72101 15.9211 7.93297 16.0774 8.08926C16.2337 8.24554 16.4457 8.33333 16.6667 8.33333C16.8877 8.33333 17.0996 8.24554 17.2559 8.08926C17.4122 7.93297 17.5 7.72101 17.5 7.5V3.33333C17.4987 3.22444 17.476 3.11685 17.4333 3.01667ZM16.6667 11.6667C16.4457 11.6667 16.2337 11.7545 16.0774 11.9107C15.9211 12.067 15.8333 12.279 15.8333 12.5V14.6583L13.925 12.7417C13.8473 12.664 13.7551 12.6023 13.6535 12.5603C13.552 12.5182 13.4432 12.4966 13.3333 12.4966C13.2235 12.4966 13.1146 12.5182 13.0131 12.5603C12.9116 12.6023 12.8194 12.664 12.7417 12.7417C12.664 12.8194 12.6023 12.9116 12.5603 13.0131C12.5182 13.1146 12.4966 13.2235 12.4966 13.3333C12.4966 13.5553 12.5847 13.7681 12.7417 13.925L14.6583 15.8333H12.5C12.279 15.8333 12.067 15.9211 11.9107 16.0774C11.7545 16.2337 11.6667 16.4457 11.6667 16.6667C11.6667 16.8877 11.7545 17.0996 11.9107 17.2559C12.067 17.4122 12.279 17.5 12.5 17.5H16.6667C16.7728 17.4976 16.8774 17.475 16.975 17.4333C17.1786 17.3488 17.3404 17.187 17.425 16.9833C17.4706 16.8837 17.4961 16.7761 17.5 16.6667V12.5C17.5 12.279 17.4122 12.067 17.2559 11.9107C17.0996 11.7545 16.8877 11.6667 16.6667 11.6667Z",fill:"inherit"})}),"Fullscreen"),X=Object(K.a)(Object(V.jsx)("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:Object(V.jsx)("path",{d:"M16.5 0.666748H1.49996C1.27895 0.666748 1.06698 0.754545 0.910704 0.910826C0.754423 1.06711 0.666626 1.27907 0.666626 1.50008V16.5001C0.666626 16.7211 0.754423 16.9331 0.910704 17.0893C1.06698 17.2456 1.27895 17.3334 1.49996 17.3334H16.5C16.721 17.3334 16.9329 17.2456 17.0892 17.0893C17.2455 16.9331 17.3333 16.7211 17.3333 16.5001V1.50008C17.3333 1.27907 17.2455 1.06711 17.0892 0.910826C16.9329 0.754545 16.721 0.666748 16.5 0.666748ZM5.66663 15.6667H2.33329V2.33341H5.66663V15.6667ZM10.6666 15.6667H7.33329V2.33341H10.6666V15.6667ZM15.6666 15.6667H12.3333V2.33341H15.6666V15.6667Z",fill:"inherit"})}),"ManageColumnsIcon"),Z=n(94),J=Object(K.a)(Object(V.jsx)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:Object(V.jsx)("path",{d:"M6.66667 6.66675C6.44565 6.66675 6.23369 6.75455 6.07741 6.91083C5.92113 7.06711 5.83333 7.27907 5.83333 7.50008C5.83333 7.7211 5.92113 7.93306 6.07741 8.08934C6.23369 8.24562 6.44565 8.33341 6.66667 8.33341H7.5C7.72101 8.33341 7.93298 8.24562 8.08926 8.08934C8.24554 7.93306 8.33333 7.7211 8.33333 7.50008C8.33333 7.27907 8.24554 7.06711 8.08926 6.91083C7.93298 6.75455 7.72101 6.66675 7.5 6.66675H6.66667ZM10.8333 16.6667H5C4.77899 16.6667 4.56702 16.579 4.41074 16.4227C4.25446 16.2664 4.16667 16.0544 4.16667 15.8334V4.16675C4.16667 3.94573 4.25446 3.73377 4.41074 3.57749C4.56702 3.42121 4.77899 3.33341 5 3.33341H9.16667V5.83341C9.16667 6.49646 9.43006 7.13234 9.8989 7.60118C10.3677 8.07002 11.0036 8.33341 11.6667 8.33341H14.1667V10.0001C14.1667 10.2211 14.2545 10.4331 14.4107 10.5893C14.567 10.7456 14.779 10.8334 15 10.8334C15.221 10.8334 15.433 10.7456 15.5893 10.5893C15.7455 10.4331 15.8333 10.2211 15.8333 10.0001V7.50008C15.8333 7.50008 15.8333 7.50008 15.8333 7.45008C15.8247 7.37353 15.8079 7.29811 15.7833 7.22508V7.15008C15.7433 7.0644 15.6898 6.98564 15.625 6.91675L10.625 1.91675C10.5561 1.85193 10.4774 1.79848 10.3917 1.75841C10.3641 1.75359 10.3359 1.75359 10.3083 1.75841C10.2273 1.71508 10.1402 1.68418 10.05 1.66675H5C4.33696 1.66675 3.70107 1.93014 3.23223 2.39898C2.76339 2.86782 2.5 3.50371 2.5 4.16675V15.8334C2.5 16.4965 2.76339 17.1323 3.23223 17.6012C3.70107 18.07 4.33696 18.3334 5 18.3334H10.8333C11.0543 18.3334 11.2663 18.2456 11.4226 18.0893C11.5789 17.9331 11.6667 17.7211 11.6667 17.5001C11.6667 17.2791 11.5789 17.0671 11.4226 16.9108C11.2663 16.7545 11.0543 16.6667 10.8333 16.6667ZM10.8333 4.50841L12.9917 6.66675H11.6667C11.4457 6.66675 11.2337 6.57895 11.0774 6.42267C10.9211 6.26639 10.8333 6.05443 10.8333 5.83341V4.50841ZM11.6667 10.0001H6.66667C6.44565 10.0001 6.23369 10.0879 6.07741 10.2442C5.92113 10.4004 5.83333 10.6124 5.83333 10.8334C5.83333 11.0544 5.92113 11.2664 6.07741 11.4227C6.23369 11.5789 6.44565 11.6667 6.66667 11.6667H11.6667C11.8877 11.6667 12.0996 11.5789 12.2559 11.4227C12.4122 11.2664 12.5 11.0544 12.5 10.8334C12.5 10.6124 12.4122 10.4004 12.2559 10.2442C12.0996 10.0879 11.8877 10.0001 11.6667 10.0001ZM17.2583 15.2417C17.1809 15.1636 17.0887 15.1016 16.9871 15.0593C16.8856 15.017 16.7767 14.9952 16.6667 14.9952C16.5567 14.9952 16.4477 15.017 16.3462 15.0593C16.2446 15.1016 16.1525 15.1636 16.075 15.2417L15.8333 15.4917V13.3334C15.8333 13.1124 15.7455 12.9004 15.5893 12.7442C15.433 12.5879 15.221 12.5001 15 12.5001C14.779 12.5001 14.567 12.5879 14.4107 12.7442C14.2545 12.9004 14.1667 13.1124 14.1667 13.3334V15.4917L13.925 15.2417C13.7681 15.0848 13.5553 14.9967 13.3333 14.9967C13.1114 14.9967 12.8986 15.0848 12.7417 15.2417C12.5847 15.3987 12.4966 15.6115 12.4966 15.8334C12.4966 16.0553 12.5847 16.2682 12.7417 16.4251L14.4083 18.0917C14.4876 18.1676 14.581 18.2271 14.6833 18.2667C14.7831 18.3108 14.8909 18.3336 15 18.3336C15.1091 18.3336 15.2169 18.3108 15.3167 18.2667C15.419 18.2271 15.5124 18.1676 15.5917 18.0917L17.2583 16.4251C17.3364 16.3476 17.3984 16.2554 17.4407 16.1539C17.4831 16.0523 17.5048 15.9434 17.5048 15.8334C17.5048 15.7234 17.4831 15.6145 17.4407 15.5129C17.3984 15.4114 17.3364 15.3192 17.2583 15.2417ZM10 15.0001C10.221 15.0001 10.433 14.9123 10.5893 14.756C10.7455 14.5997 10.8333 14.3878 10.8333 14.1667C10.8333 13.9457 10.7455 13.7338 10.5893 13.5775C10.433 13.4212 10.221 13.3334 10 13.3334H6.66667C6.44565 13.3334 6.23369 13.4212 6.07741 13.5775C5.92113 13.7338 5.83333 13.9457 5.83333 14.1667C5.83333 14.3878 5.92113 14.5997 6.07741 14.756C6.23369 14.9123 6.44565 15.0001 6.66667 15.0001H10Z",fill:"inherit"})}),"DownloadDocumentIcon"),_=n(124),$=n.n(_),ee=n(57),te=n(651),ne=n.n(te),ae=n(652),re=n.n(ae),ie=n(653),ce=n.n(ie),oe=n(34),se=n(106),le=n(117),de=["item"],ue={loadingBar:{height:"4px"},pagination:{height:"52px"}};t.b=function(e){var t,n,r,M,U,L=e.config,B=L.data,Y=L.stickyColumns,K=void 0===Y?[]:Y,_=L.columns,te=L.selectedRowsBulkActions,ae=void 0===te?Object(V.jsx)(V.Fragment,{}):te,ie=L.noDataMessage,pe=void 0===ie?"No data found":ie,be=L.header,je=void 0===be?Object(V.jsx)(V.Fragment,{}):be,me=L.minCellWidth,fe=void 0===me?null:me,he=L.tableLayout,Oe=void 0===he?"auto":he,ge=L.cellHighlight,xe=void 0===ge?{highlightCellAttributeName:null,highlightColor:null,highlightUnderlineColor:null}:ge,ve=L.overscan,ye=void 0===ve?500:ve,Ce=L.totalRenderedRows,Ae=void 0===Ce?5:Ce,we=L.columnsConfiguration,Se=void 0===we?{allowColumnsConfiguration:!1,onSaveColumnsConfiguration:function(){},columnsSettingsKey:""}:we,Ne=L.exportExcelFunc,Ee=void 0===Ne?null:Ne,Ie=L.allowFullscreen,De=void 0===Ie||Ie,Fe=L.rowHeight,ke=void 0===Fe?null:Fe,Te=L.allowViewTypeSwitch,Re=void 0!==Te&&Te,Pe=L.renderCardRowFunction,Me=void 0===Pe?void 0:Pe,Ue=e.parametersToSelectBy,Le=void 0===Ue?[]:Ue,Be=e.loading,Ve=e.onPageChange,Qe=e.onRowsPerPageChange,We=e.pagination,He=e.tableContainerStyle,ze=void 0===He?{}:He,Ye=e.bulkActions,Ge=void 0===Ye?{allowBulkActions:!1,selectedRecords:[],setSelectedRecords:null}:Ye,Ke=e.rowsPerPageOptions,qe=void 0===Ke?R.b:Ke,Xe=e.onSortClick,Ze=void 0===Xe?null:Xe,Je=e.currentSort,_e=void 0===Je?null:Je,$e=e.TableContainerComponent,et=void 0===$e?b.a:$e,tt=e.CardVariant,nt=e.paginationDisabled,at=void 0===nt?{disabled:!1,disabledMessage:null}:nt,rt=e.tableContainerComponentSx,it=void 0===rt?{}:rt,ct=e.disableOpenCellDetailsModal,ot=void 0!==ct&&ct,st=Object(j.a)(),lt=Object(se.g)(),dt=Object(u.useRef)(null),ut=Object(u.useRef)(null),pt=Object(u.useState)(!1),bt=Object(d.a)(pt,2),jt=bt[0],mt=bt[1],ft=Object(u.useState)(null),ht=Object(d.a)(ft,2),Ot=ht[0],gt=ht[1],xt=Object(u.useState)(!1),vt=Object(d.a)(xt,2),yt=vt[0],Ct=vt[1],At=Object(u.useState)(!1),wt=Object(d.a)(At,2),St=wt[0],Nt=wt[1],Et=Object(u.useState)(null!==(t=null===_||void 0===_||null===(n=_.filter((function(e){return e.isVisible})))||void 0===n?void 0:n.sort((function(e,t){return e.order-t.order})))&&void 0!==t?t:[]),It=Object(d.a)(Et,2),Dt=It[0],Ft=It[1],kt=Object(u.useState)(!1),Tt=Object(d.a)(kt,2),Rt=Tt[0],Pt=Tt[1],Mt=Object(u.useState)(null!==(r=null===_||void 0===_?void 0:_.sort((function(e,t){return e.order-t.order})))&&void 0!==r?r:[]),Ut=Object(d.a)(Mt,2),Lt=Ut[0],Bt=Ut[1],Vt=Object(u.useState)(!1),Qt=Object(d.a)(Vt,2),Wt=Qt[0],Ht=Qt[1],zt=Object(u.useState)(!0),Yt=Object(d.a)(zt,2),Gt=Yt[0],Kt=Yt[1],qt=Object(u.useState)(!1),Xt=Object(d.a)(qt,2),Zt=Xt[0],Jt=Xt[1],_t=Object(u.useState)(Re?Object(oe.b)(lt.location.search,"tableViewType","table"):"table"),$t=Object(d.a)(_t,2),en=$t[0],tn=$t[1],nn=function(e){Object(oe.c)(lt,{tableViewType:e}),tn(e)},an=function(e){return Le.map((function(t){return(null===e||void 0===e?void 0:e[t])?e[t].toString():"noValuesForParameterSelect"})).join("-")},rn=(null===Ge||void 0===Ge?void 0:Ge.selectedRecords.length)>0&&(null===Ge||void 0===Ge?void 0:Ge.selectedRecords.filter((function(e){return B.map((function(e){return an(e)})).includes(e)})).length)<(null===B||void 0===B?void 0:B.length),cn=(null===B||void 0===B?void 0:B.length)>0&&(null===Ge||void 0===Ge?void 0:Ge.selectedRecords.filter((function(e){return B.map((function(e){return an(e)})).includes(e)})).length)===(null===B||void 0===B?void 0:B.length),on=function(){Ct(!1),setTimeout((function(){gt(null)}),150)},sn=function(){Pt(!0)},ln=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];Pt(!1),!e&&setTimeout((function(){var e;Bt(null!==(e=null===_||void 0===_?void 0:_.sort((function(e,t){return e.order-t.order})))&&void 0!==e?e:[])}),150)},dn=function(){(null===Ge||void 0===Ge?void 0:Ge.setSelectedRecords)&&(rn?null===Ge||void 0===Ge||Ge.setSelectedRecords((function(e){return Object(ee.uniq)([].concat(Object(l.a)(e),Object(l.a)(B.map((function(e){return an(e)})))))})):cn?null===Ge||void 0===Ge||Ge.setSelectedRecords((function(e){return e.filter((function(e){return!B.find((function(t){return an(t)===e}))}))})):null===Ge||void 0===Ge||Ge.setSelectedRecords((function(e){return[].concat(Object(l.a)(e),Object(l.a)(B.map((function(e){return an(e)}))))})))},un=function(){(null===Ge||void 0===Ge?void 0:Ge.setSelectedRecords)&&(null===Ge||void 0===Ge||Ge.setSelectedRecords([]))},pn=function(){Ht(!0)},bn=function(){var e;Ft(Lt.filter((function(e){return e.isVisible}))),ln(!0),null===Se||void 0===Se||null===(e=Se.onSaveColumnsConfiguration)||void 0===e||e.call(Se,Object(o.a)({},null===Se||void 0===Se?void 0:Se.columnsSettingsKey,Lt.map((function(e){return{propertyName:e.propertyName,order:e.order,isVisible:e.isVisible}}))))},jn=function(){var e=Object(c.a)(i.a.mark((function e(){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(Ee){e.next=2;break}return e.abrupt("return");case 2:Kt(!1),Jt(!0),Ee().then((function(){Kt(!0),Jt(!1)}));case 5:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();Object(u.useEffect)((function(){0===(null===Ge||void 0===Ge?void 0:Ge.selectedRecords.length)&&jt?mt(!1):(null===Ge||void 0===Ge?void 0:Ge.selectedRecords.length)>0&&!jt&&mt(!0)}),[null===Ge||void 0===Ge?void 0:Ge.selectedRecords,jt]),Object(u.useEffect)((function(){Be||null===dt.current||dt.current.scrollToIndex(0)}),[Be]);var mn=Object(C.a)(st.breakpoints.down("lg")),fn={Table:function(e){return Object(V.jsx)(A.a,Object(s.a)(Object(s.a)({},e),{},{sx:{borderCollapse:"separate",tableLayout:Oe}}))},TableHead:w.a,TableRow:function(e){var t=e.item,n=Object(a.a)(e,de);return Object(u.createElement)(m.a,Object(s.a)(Object(s.a)({},n),{},{key:null===t||void 0===t?void 0:t.propertyName}))},TableBody:p.a.forwardRef((function(e,t){return Object(V.jsx)(S.a,Object(s.a)(Object(s.a)({},e),{},{ref:t}))}))},hn=function(){return Object(V.jsxs)(O.a,{sx:{display:"flex",justifyContent:"space-between",gap:"8px","> span":{"> button":{border:"solid 1px ".concat(st.palette.divider)}}},children:[Re&&Object(V.jsxs)(N.a,{size:"small",sx:{"& > button":{borderColor:st.palette.divider,p:.5,"& > svg":{height:"20px !important",width:"20px !important"}}},children:[Object(V.jsx)(x.a,{title:"Table view",disableFocusListener:!0,disableTouchListener:!0,disableInteractive:!0,arrow:!0,children:Object(V.jsx)(W.a,{onClick:function(){return"cards"===en&&nn("table")},variant:"table"===en?"contained":"outlined",sx:{borderRadius:"8px 0 0 8px"},children:Object(V.jsx)(re.a,{sx:{fill:"table"===en?st.palette.primary.contrastText:st.palette.text.secondary}})})}),Object(V.jsx)(x.a,{title:"Card view",disableFocusListener:!0,disableTouchListener:!0,disableInteractive:!0,arrow:!0,children:Object(V.jsx)(W.a,{onClick:function(){return"table"===en&&nn("cards")},variant:"cards"===en?"contained":"outlined",sx:{borderRadius:"0 8px 8px 0"},children:Object(V.jsx)(ce.a,{sx:{fill:"cards"===en?st.palette.primary.contrastText:st.palette.text.secondary}})})})]}),Ee&&Object(V.jsx)(x.a,{title:"Export Excel",disableInteractive:!0,children:Object(V.jsx)("span",{children:Object(V.jsxs)(E.a,{disabled:!Gt,onClick:jn,children:[Object(V.jsx)(J,{}),Zt&&Object(V.jsx)(I.a,{size:16,sx:{position:"absolute",left:"-6px",top:"-6px"}})]})})}),De&&"cards"!==en&&Object(V.jsx)(x.a,{title:St?"Close Full Screen View":"Full Screen View",disableInteractive:!0,children:Object(V.jsx)("span",{children:Object(V.jsx)(E.a,{onClick:function(e){St?Object(H.c)(e.target):Object(H.b)(e.target,(function(){return Nt(!1)})),Nt(!St)},children:Object(V.jsx)(q,{})})})}),(null===Se||void 0===Se?void 0:Se.allowColumnsConfiguration)&&Object(V.jsx)(le.a,{querySelectors:"[data-virtuoso-scroller]",title:"Manage Columns",children:Object(V.jsx)("span",{children:Object(V.jsx)(E.a,{onClick:Rt?function(){return ln()}:sn,sx:{border:"solid 1px ".concat(st.palette.divider)},children:Object(V.jsx)(X,{})})})})]})};return Object(V.jsxs)(O.a,Object(s.a)(Object(s.a)({component:et},void 0!==typeof tt&&{variant:tt}),{},{className:"p-datatable-scrollable",sx:Object(s.a)(Object(s.a)({width:"100%",flex:1,display:"flex",flexDirection:"column",justifyContent:"space-between"},it),St&&{"& > *":{backgroundColor:st.palette.background.paper}}),children:[Object(V.jsx)(k.a,{open:Rt,variant:"temporary",onClose:function(){return ln()},anchor:"right",sx:{zIndex:2147483639},PaperProps:{sx:{minWidth:"480px","& > div":{px:2}}},children:Object(V.jsxs)(V.Fragment,{children:[Object(V.jsxs)(O.a,{sx:{display:"flex",alignItems:"center",gap:"16px",backgroundColor:st.palette.secondary.light,borderBottom:"solid 3px ".concat(st.palette.secondary.main),py:3},children:[Object(V.jsx)(X,{}),Object(V.jsx)(y.a,{variant:"h5",children:"Manage Table Columns"})]}),Object(V.jsx)(O.a,{sx:{py:1,overflowY:"scroll",flex:1},children:Object(V.jsxs)(z.a,{onDragEnd:function(e,t){return function(e,t,n){var a;if(Ht(!1),e.destination){var r=e.draggableId,i=(e.source,e.destination),c=null!==(a=n.find((function(e){return e.propertyName===r})))&&void 0!==a?a:null;if(c){var o=n.filter((function(e){return e.propertyName!==r}));o.splice(i.index,0,c),Bt(o.map((function(e,t){return Object(s.a)(Object(s.a)({},e),{},{order:t})})))}}}(e,0,Lt)},onDragStart:pn,children:[Object(V.jsx)(z.c,{droppableId:"forecast-column-order",children:function(e,t){return Object(V.jsx)(O.a,Object(s.a)(Object(s.a)({ref:e.innerRef},e.droppableProps),{},{children:Lt.map((function(e,t){return Object(V.jsx)(z.b,{draggableId:e.propertyName,index:t,children:function(n){return Object(u.createElement)(b.a,Object(s.a)(Object(s.a)({variant:"outlined",ref:n.innerRef},n.draggableProps),{},{key:e.propertyName,sx:{px:2,mb:1,display:"flex",alignItems:"center",justifyContent:"space-between"}}),Object(V.jsx)(D.a,{control:Object(V.jsx)(h.a,{checked:e.isVisible}),onChange:function(){return n=t,a=!e.isVisible,void Bt((function(e){var t=e[n];return[].concat(Object(l.a)(e.slice(0,n)),[Object(s.a)(Object(s.a)({},t),{},{isVisible:a})],Object(l.a)(e.slice(n+1,e.length)))}));var n,a},disabled:Lt.filter((function(e){return e.isVisible})).length<2&&e.isVisible,label:e.label.toUpperCase(),slotProps:{typography:{fontSize:"14px",fontWeight:"500"}}}),Object(V.jsx)(O.a,Object(s.a)(Object(s.a)({},n.dragHandleProps),{},{sx:{"& > svg":{fontSize:"24px !important"}},children:Object(V.jsx)(G.a,{})})))}},e.propertyName)}))}))}}),Object(V.jsx)(O.a,{sx:{height:Wt?"44px":0}})]})}),Object(V.jsx)(F.a,{}),Object(V.jsxs)(O.a,{sx:{display:"flex",alignItems:"center",justifyContent:"flex-end",gap:"16px",py:2},children:[Object(V.jsx)(W.a,{variant:"secondaryContained",color:"secondary",onClick:function(){return ln()},children:"Cancel"}),Object(V.jsx)(W.a,{variant:"contained",color:"secondary",onClick:bn,children:"Save"})]})]})}),Object(V.jsx)(Z.a,{open:yt,handleClose:on,handleAccept:on,disableCancelButton:!0,title:null===Ot||void 0===Ot?void 0:Ot.propertyLabel,children:Object(V.jsx)(y.a,{variant:"body1",dangerouslySetInnerHTML:{__html:null!==(M=null===Ot||void 0===Ot?void 0:Ot.content)&&void 0!==M?M:""}})}),Array.isArray(je)?Object(V.jsx)(O.a,{sx:Object(s.a)({},St&&{borderRadius:"8px 8px 0 0 !important"}),children:je.map((function(e,t){return 0===t?Object(V.jsxs)(O.a,{sx:{display:"flex",justifyContent:"space-between",alignItems:"center",px:3},children:[e,Object(V.jsx)(hn,{})]},"node-".concat(t)):Object(V.jsx)(O.a,{sx:{px:3},children:e},"node-".concat(t))}))}):Object(V.jsxs)(O.a,{sx:Object(s.a)({display:"flex",justifyContent:"space-between",alignItems:"center",px:3,pt:2,pb:1},St&&{borderRadius:"8px 8px 0 0 !important"}),children:[je,Object(V.jsx)(hn,{})]}),Object(V.jsxs)(O.a,{ref:ut,sx:Object(s.a)(Object(s.a)({display:"flex",flexDirection:"column",justifyContent:"space-between"},St&&{borderRadius:"0 0 8px 8px"}),{},{height:"-webkit-fill-available",flex:1},ze),children:[Object(V.jsx)(O.a,{sx:{flex:1},children:Object(V.jsx)(O.a,{sx:{height:"100%",display:"flex"},children:"table"===en?Object(V.jsx)(P.a,{data:0!==(null===B||void 0===B?void 0:B.length)||Be?B:[{noData:!0}],components:fn,fixedHeaderContent:function(){return Object(V.jsxs)(V.Fragment,{children:[Object(V.jsxs)(m.a,{children:[(null===Ge||void 0===Ge?void 0:Ge.allowBulkActions)&&Object(V.jsx)(f.a,{sx:{padding:"0 !important",position:"sticky",left:0,backgroundColor:st.palette.background.paper,zIndex:1e3},width:40,children:Object(V.jsx)(h.a,{indeterminate:rn,checked:cn,disabled:0===B.length,onChange:dn})}),(null===Ge||void 0===Ge?void 0:Ge.selectedRecords.length)>0?Object(V.jsx)(V.Fragment,{children:Object(V.jsx)(f.a,{colSpan:[].concat(Object(l.a)(K),Object(l.a)(null===Dt||void 0===Dt?void 0:Dt.filter((function(e){return e.isVisible})))).length+((null===Ge||void 0===Ge?void 0:Ge.allowBulkActions)?1:0),sx:{position:"sticky",left:56,padding:"0 !important"},children:Object(V.jsxs)(O.a,{sx:{display:"flex",gap:"16px",alignItems:"center","& > button":{border:"solid 2px","&:hover":{border:"solid 2px"},py:"2px"},position:"sticky",left:56,width:"fit-content"},children:[null===Ge||void 0===Ge?void 0:Ge.selectedRecords.length," row",1===(null===Ge||void 0===Ge?void 0:Ge.selectedRecords.length)?"":"s"," ","selected",Object(V.jsx)(W.a,{variant:"outlined",onClick:un,startIcon:Object(V.jsx)($.a,{sx:{width:"28px",height:"28px"}}),sx:{backgroundColor:Object(g.a)(st.palette.primary.main,.1)},children:"Deselect all"}),ae]})})}):[].concat(Object(l.a)(K),Object(l.a)(Dt)).map((function(e,t){var n;return Object(V.jsx)(f.a,Object(s.a)(Object(s.a)(Object(s.a)(Object(s.a)({variant:"head"},e.headerAlign&&{align:e.headerAlign}),e.width&&{width:e.width}),{},{sx:Object(s.a)(Object(s.a)(Object(s.a)(Object(s.a)({backgroundColor:"background.paper"},fe&&!(null===e||void 0===e?void 0:e.width)&&{minWidth:fe}),(null===e||void 0===e?void 0:e.isSticky)&&Object(s.a)({position:"sticky",left:(null===(n=[].concat(Object(l.a)(K),Object(l.a)(Dt))[t-1])||void 0===n?void 0:n.isSticky)&&t>0?[].concat(Object(l.a)(K),Object(l.a)(Dt)).slice(0,t).reduce((function(e,t){return e+t.width}),0)+((null===Ge||void 0===Ge?void 0:Ge.allowBulkActions)?44:0):(null===Ge||void 0===Ge?void 0:Ge.allowBulkActions)?44:0,"&::after":{boxShadow:"15px 0 15px -10px rgba(212, 212, 212, 1) inset",right:"-15px",content:'""',height:"100%",position:"absolute",top:"0",width:"15px"},zIndex:1e3,backgroundColor:st.palette.background.paper},t===K.length-1&&{borderRight:"solid 2px ".concat(st.palette.divider)})),(null===e||void 0===e?void 0:e.width)&&{minWidth:e.width,maxWidth:e.width}),(null===e||void 0===e?void 0:e.maxWidth)&&{maxWidth:e.maxWidth})},t===[].concat(Object(l.a)(K),Object(l.a)(Dt)).length-1&&{width:"100%"}),{},{children:Object(V.jsxs)(O.a,{sx:{display:"flex",alignItems:"center",justifyContent:"space-between"},children:[Object(V.jsxs)(O.a,{sx:{display:"flex",alignItems:"center",gap:"4px"},children:[(null===e||void 0===e?void 0:e.headerTooltip)&&Object(V.jsx)(x.a,{title:Object(V.jsx)("div",{dangerouslySetInnerHTML:{__html:e.headerTooltip}}),disableInteractive:!0,children:Object(V.jsx)("span",{children:Object(V.jsx)(ne.a,{sx:{height:"16px",width:"16px","&:hover":{color:st.palette.primary.main}}})})}),(null===e||void 0===e?void 0:e.headerFormatter)?e.headerFormatter(e.label):e.label]}),(null===e||void 0===e?void 0:e.sortable)&&null!==Ze&&Object(V.jsx)(Q,{disabled:Be,sortOrder:(null===_e||void 0===_e?void 0:_e.sortField)===((null===e||void 0===e?void 0:e.getSortableColumnPropertyName)?null===e||void 0===e?void 0:e.getSortableColumnPropertyName(e.propertyName):e.propertyName)?_e.sortOrder:0,onClick:function(){Ze(e)}})]})}),e.propertyName)}))]},"table-header"),Object(V.jsx)(m.a,{children:Object(V.jsx)(f.a,{colSpan:[].concat(Object(l.a)(K),Object(l.a)(null===Dt||void 0===Dt?void 0:Dt.filter((function(e){return e.isVisible})))).length+((null===Ge||void 0===Ge?void 0:Ge.allowBulkActions)?1:0),sx:{border:"unset !important",padding:"0 !important"},children:Be&&Object(V.jsx)(v.a,{sx:{mt:"-4px",zIndex:1500}})})},"table-loading-bar")]})},itemContent:function(e,t){return(null===t||void 0===t?void 0:t.noData)?Object(V.jsx)(f.a,{colSpan:[].concat(Object(l.a)(K),Object(l.a)(null===Dt||void 0===Dt?void 0:Dt.filter((function(e){return e.isVisible})))).length+((null===Ge||void 0===Ge?void 0:Ge.allowBulkActions)?1:0),sx:{height:"64px"},children:Object(V.jsx)(y.a,{sx:{position:"fixed",mt:"-12px"},variant:"h5",children:pe})}):Object(V.jsxs)(p.a.Fragment,{children:[(null===Ge||void 0===Ge?void 0:Ge.allowBulkActions)&&Object(V.jsx)(f.a,{sx:{p:0,position:"sticky",left:0,backgroundColor:(null===t||void 0===t?void 0:t.rowBackground)?t.rowBackground:e%2?st.palette.background.default:st.palette.background.paper,border:"unset"},width:40,children:Object(V.jsx)(h.a,{onChange:function(){return function(e){(null===Ge||void 0===Ge?void 0:Ge.setSelectedRecords)&&((null===Ge||void 0===Ge?void 0:Ge.selectedRecords.includes(an(e)))?null===Ge||void 0===Ge||Ge.setSelectedRecords((function(t){return t.filter((function(t){return t!==an(e)}))})):null===Ge||void 0===Ge||Ge.setSelectedRecords((function(t){return[].concat(Object(l.a)(t),[an(e)])})))}(t)},checked:null===Ge||void 0===Ge?void 0:Ge.selectedRecords.includes(an(t))})}),[].concat(Object(l.a)(K),Object(l.a)(Dt)).map((function(n,a){var r,i;return Object(V.jsx)(f.a,Object(s.a)(Object(s.a)(Object(s.a)({},n.cellAlign&&{align:n.cellAlign}),n.width&&{width:n.width}),{},{onClick:function(){return!(null===n||void 0===n?void 0:n.disableModalWithDetails)&&!ot&&t[n.propertyName]&&(e={propertyName:n.propertyName,propertyLabel:n.label,content:(null===n||void 0===n?void 0:n.cellFormatter)?n.cellFormatter(t[n.propertyName]):t[n.propertyName]},gt(e),void Ct(!0));var e},sx:Object(s.a)(Object(s.a)(Object(s.a)(Object(s.a)(Object(s.a)(Object(s.a)(Object(s.a)(Object(s.a)({p:1,borderBottom:"unset",backgroundColor:(null===t||void 0===t?void 0:t.rowBackground)?t.rowBackground:e%2?st.palette.background.default:st.palette.background.paper},(null===n||void 0===n?void 0:n.isSticky)&&Object(s.a)({position:"sticky",left:(null===(r=[].concat(Object(l.a)(K),Object(l.a)(Dt))[a-1])||void 0===r?void 0:r.isSticky)&&a>0?[].concat(Object(l.a)(K),Object(l.a)(Dt)).slice(0,a).reduce((function(e,t){return e+t.width}),0)+((null===Ge||void 0===Ge?void 0:Ge.allowBulkActions)?44:0):(null===Ge||void 0===Ge?void 0:Ge.allowBulkActions)?44:0},a===K.length-1&&{"&::after":{boxShadow:"15px 0 15px -10px rgba(212, 212, 212, 1) inset",right:"-15px",content:'""',height:"100%",position:"absolute",top:"0",width:"15px"},borderRight:"solid 2px ".concat(st.palette.divider)})),(null===n||void 0===n?void 0:n.width)&&{minWidth:n.width,maxWidth:n.width}),(null===n||void 0===n?void 0:n.maxWidth)&&{maxWidth:n.maxWidth}),null!==(null===xe||void 0===xe?void 0:xe.highlightCellAttributeName)&&null!==(null===xe||void 0===xe?void 0:xe.highlightColor)&&null!==(null===xe||void 0===xe?void 0:xe.highlightUnderlineColor)&&!(null===t||void 0===t?void 0:t.disableCellHighlight)&&null!==t[null===xe||void 0===xe?void 0:xe.highlightCellAttributeName]&&t[null===xe||void 0===xe?void 0:xe.highlightCellAttributeName].includes(n.propertyName.toLowerCase())&&{backgroundColor:null===xe||void 0===xe?void 0:xe.highlightColor,borderBottom:"solid 3px ".concat(null===xe||void 0===xe?void 0:xe.highlightUnderlineColor)}),!(null===n||void 0===n?void 0:n.disableModalWithDetails)&&!ot&&t[n.propertyName]&&{cursor:"pointer"}),(null===t||void 0===t?void 0:t.rowTextColor)&&{"p, span":{color:t.rowTextColor}}),a===[].concat(Object(l.a)(K),Object(l.a)(Dt)).length-1&&{width:"100%"}),ke&&{height:"".concat(ke,"px")}),children:"string"===typeof t[n.propertyName]||"number"===typeof t[n.propertyName]?Object(V.jsx)(y.a,{variant:"body2",sx:Object(s.a)(Object(s.a)({display:"-webkit-box",overflow:"hidden",WebkitBoxOrient:"vertical",WebkitLineClamp:null!==(i=null===n||void 0===n?void 0:n.maxNumberOfLines)&&void 0!==i?i:2},null===n||void 0===n?void 0:n.textSx),{},{"& > *":{m:0}}),dangerouslySetInnerHTML:{__html:(null===n||void 0===n?void 0:n.cellFormatter)?n.cellFormatter(t[n.propertyName]):t[n.propertyName]}}):t[n.propertyName]}),n.propertyName)}))]},"table-row-".concat(e))},overscan:ye,totalCount:Ae,style:{width:"100%",height:"-webkit-fill-available"},ref:dt}):Object(V.jsx)(O.a,{sx:{width:"100%",height:"-webkit-fill-available",borderTop:"solid 2px ".concat(st.palette.divider),px:3,py:2},children:Object(V.jsx)(P.b,{data:0!==(null===B||void 0===B?void 0:B.length)||Be?mn?B.map((function(e){return[e]})):Object(ee.compact)(B.map((function(e,t){return t%2?null:[e].concat(Object(l.a)(B.length>t+1?[B[t+1]]:[]))}))):[[{noData:!0}]],itemContent:function(e,t){if(Me)return Me(e,t);throw new Error("renderCardRowFunction required for card view")}})})})}),(null===at||void 0===at?void 0:at.disabled)?(null===(U=at.disabledMessage)||void 0===U?void 0:U.length)>0?Object(V.jsx)(y.a,{variant:"subtitle1",align:"center",sx:{py:1},color:"textPrimary",children:at.disabledMessage}):Object(V.jsx)(V.Fragment,{}):Object(V.jsx)(T.a,{className:"p-paginator-bottom",count:We.total,page:We.page,rowsPerPage:We.rowsPerPage,rowsPerPageOptions:qe,onPageChange:Ve,onRowsPerPageChange:Qe,component:"div",sx:{mx:2,height:ue.pagination.height}})]})]}))}},1336:function(e,t,n){},134:function(e,t,n){"use strict";var a,r;n.d(t,"a",(function(){return r})),function(e){e[e.default=0]="default",e[e.bid=1]="bid",e[e.noBid=2]="noBid",e[e.undecided=3]="undecided"}(a||(a={})),function(e){e.Default="Default",e.NewRecord="NewRecord",e.ModifiedRecord="ModifiedRecord",e.FinalRecord="FinalRecord"}(r||(r={}))},1340:function(e,t,n){},1343:function(e,t,n){"use strict";n.r(t);var a=n(1),r=n.n(a),i=n(43),c=n.n(i),o=(n(748),n(3)),s=n(5),l=n.n(s),d=n(10),u=(n(749),n(2)),p=n(106),b=n(45),j=n(9),m=(n(750),n(64));function f(){var e=Object(a.useContext)(j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H+KjgD0XBhrQdaD3qZdZFJtuJxsFxFnRECLaD7fz3UliG9xJPO4DhxCci6566o1GQYQGajKfsuU+g4cLtVGPvDhTUqZ1fuHBH9d/8rtL43kv1E9+lXkSLxpP2q/nLhsATMKYPpCciuKggA9RiFzwTsGvF4gjP8ez2nDehtZ9DUG8Y/V8IG6wgb0c9xu7wQUJuXtGFGsw42QwbvB0eZXYPLnad32FlG5eLjlr+Gbe8hhg2u8lK73Q0THsDmvvPQNdNBe0Ueh7Nd25Ht0QNu+7NzssnPkevWBmVE+p5tTyplVERzC69r0VV+YYPCVa9mGnH8O14oaKtNoYnRMaff1kB7jWGx0Xg/wH+y03OEH6rqwAAACV0RVh0ZGF0ZTpjcmVhdGUAMjAyMi0wMy0xMVQwOToyOTowNSswMjowMHOJDMYAAAAldEVYdGRhdGU6bW9kaWZ5ADIwMjItMDMtMTFUMDk6Mjk6MDUrMDI6MDAC1LR6AAAAAElFTkSuQmCC",g=n(91),x=n(199),v=n(150),y=n(159),C=n(190),A=n(1359),w=n(417),S=(n(760),n(0)),N=function(){var e=Object(a.useState)(!1),t=Object(o.a)(e,2),n=t[0],r=t[1];return Object(S.jsxs)("div",{className:"feedback-cont",children:[Object(S.jsxs)("div",{onMouseOver:function(){return r(!0)},onMouseLeave:function(){return r(!1)},className:n?"feedback-tooltip visible":"feedback-tooltip hidden",children:[Object(S.jsx)("div",{children:Object(S.jsx)("p",{className:"feedback-tooltip-header",children:"Are we missing something?"})}),Object(S.jsx)("div",{children:Object(S.jsx)("p",{className:"feedback-tooltip-body",children:"We want AidKonekt to be the one stop shop for all your USAID Business Development."})}),Object(S.jsx)("a",{rel:"noreferrer",className:"submit-feedback",href:g.a,target:"_blank",children:"Submit your Feedback"})]}),Object(S.jsxs)("svg",{className:"feedback",width:"70",height:"70",onMouseOver:function(){return r(!0)},onMouseLeave:function(){return r(!1)},viewBox:"0 0 70 70",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[Object(S.jsxs)("g",{filter:"url(#filter0_d_378_5488)",children:[Object(S.jsx)("rect",{x:"8",y:"9",width:"50",height:"50",rx:"25",fill:"#ECAC37"}),Object(S.jsx)("path",{d:"M25.8224 35.4138C25.446 35.4827 25.0609 35.5175 24.6773 35.5175C21.1894 35.5178 18.3514 32.6801 18.3514 29.1922C18.3514 25.7043 21.1894 22.8666 24.677 22.8666C26.5514 22.8666 28.3184 23.6913 29.5246 25.1291C29.8371 25.5022 30.3938 25.5511 30.7672 25.238C31.1403 24.9249 31.1892 24.3685 30.8761 23.9954C29.3336 22.157 27.0739 21.103 24.677 21.103C20.2168 21.1027 16.5881 24.7318 16.5881 29.1919C16.5881 33.6523 20.2172 37.2815 24.6778 37.2815C25.1677 37.2815 25.6602 37.2366 26.1409 37.1483C26.6201 37.061 26.9372 36.6012 26.8496 36.1223C26.7616 35.6428 26.3027 35.3254 25.8229 35.4136L25.8224 35.4138Z",fill:"#FFE4B8"}),Object(S.jsx)("path",{d:"M21.186 27.0068V27.9197C21.186 28.4066 21.5813 28.8015 22.0678 28.8015C22.5547 28.8015 22.9496 28.4063 22.9496 27.9197V27.0068C22.9496 26.5199 22.5544 26.125 22.0678 26.125C21.5812 26.125 21.186 26.5196 21.186 27.0068Z",fill:"#FFE4B8"}),Object(S.jsx)("path",{d:"M28.1679 27.9192V27.0063C28.1679 26.5194 27.7727 26.1245 27.2861 26.1245C26.7992 26.1245 26.4043 26.5197 26.4043 27.0063V27.9192C26.4043 28.4061 26.7995 28.801 27.2861 28.801C27.773 28.801 28.1679 28.4064 28.1679 27.9192Z",fill:"#FFE4B8"}),Object(S.jsx)("path",{d:"M26.226 30.3643H23.1281C22.6412 30.3643 22.2463 30.7595 22.2463 31.2461C22.2463 31.7329 22.6416 32.1279 23.1281 32.1279H26.226C26.7129 32.1279 27.1078 31.7326 27.1078 31.2461C27.1078 30.7592 26.7132 30.3643 26.226 30.3643Z",fill:"#FFE4B8"}),Object(S.jsx)("path",{d:"M38.6347 24.2939C32.5518 24.2939 27.6025 29.2425 27.6025 35.3261C27.6025 41.409 32.5511 46.3582 38.6347 46.3582C44.7182 46.3582 49.6668 41.409 49.6668 35.3261C49.6668 29.2428 44.7176 24.2939 38.6347 24.2939ZM38.6347 44.5936C33.5243 44.5936 29.3663 40.4361 29.3663 35.3253C29.3663 30.2144 33.5241 26.0577 38.6347 26.0577C43.7452 26.0577 47.903 30.2152 47.903 35.3261C47.903 40.4369 43.7449 44.5936 38.6347 44.5936Z",fill:"#FFE4B8"}),Object(S.jsx)("path",{d:"M35.8425 33.5343V32.248C35.8425 31.7611 35.4472 31.3662 34.9607 31.3662C34.4738 31.3662 34.0789 31.7614 34.0789 32.248V33.5343C34.0789 34.0212 34.4741 34.4161 34.9607 34.4161C35.4475 34.4161 35.8425 34.0212 35.8425 33.5343Z",fill:"#FFE4B8"}),Object(S.jsx)("path",{d:"M42.3086 31.3657C41.8217 31.3657 41.4268 31.761 41.4268 32.2475V33.5338C41.4268 34.0207 41.822 34.4156 42.3086 34.4156C42.7954 34.4156 43.1904 34.0204 43.1904 33.5338V32.2475C43.1904 31.7603 42.7957 31.3657 42.3086 31.3657Z",fill:"#FFE4B8"}),Object(S.jsx)("path",{d:"M40.186 37.1412C39.331 37.9956 37.9398 37.9965 37.0844 37.1412C36.7405 36.7967 36.1813 36.7967 35.8375 37.1412C35.493 37.4857 35.493 38.0439 35.8375 38.3881C36.6092 39.1598 37.622 39.5452 38.6351 39.5452C39.6483 39.5452 40.6617 39.1598 41.4328 38.3881C41.7773 38.0436 41.7773 37.4853 41.4328 37.1412C41.0886 36.797 40.5304 36.797 40.1859 37.1412H40.186Z",fill:"#FFE4B8"})]}),Object(S.jsx)("defs",{children:Object(S.jsxs)("filter",{id:"filter0_d_378_5488",x:"0",y:"0",width:"70",height:"70",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[Object(S.jsx)("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),Object(S.jsx)("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),Object(S.jsx)("feOffset",{dx:"2",dy:"1"}),Object(S.jsx)("feGaussianBlur",{stdDeviation:"5"}),Object(S.jsx)("feComposite",{in2:"hardAlpha",operator:"out"}),Object(S.jsx)("feColorMatrix",{type:"matrix",values:"0 0 0 0 0.408333 0 0 0 0 0.404931 0 0 0 0 0.404931 0 0 0 0.29 0"}),Object(S.jsx)("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_378_5488"}),Object(S.jsx)("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_378_5488",result:"shape"})]})})]})]})},E={paddingTop:"10px",paddingBottom:"10px",width:"100%",display:"flex",flexDirection:"column",justifyContent:"left",alignSelf:"center",textDecoration:"none"},I=function(e){return Object(u.a)(Object(u.a)({},E),{},{backgroundColor:e&&e.colors?e.colors.offwhite:"white"})},D={textAlign:"left",font:m.b.v2Fonts.menu,color:m.b.v2.black,marginBottom:"0px",marginTop:"0px"},F={pointerEvents:"none"},k={paddingRight:10};function T(e,t,n,a,i,c){var s=arguments.length>6&&void 0!==arguments[6]?arguments[6]:null,l=r.a.useState(!1),d=Object(o.a)(l,2),p=d[0],j=d[1],m=Object(u.a)(Object(u.a)({},E),{},{backgroundColor:n.v2.lightBlue,borderRadius:"22px"}),f=Object(u.a)(Object(u.a)({},D),{},{font:n.v2Fonts.menuSelected,color:n.v2.darkBlue}),h=a||0,O=p?f:D,g=Object(u.a)(Object(u.a)({},O),{},{paddingLeft:15+15*h}),x=p?m:I(n);i&&(x=Object(u.a)(Object(u.a)({},x),F)),a||(g.font=n.v2Fonts.menuRootNode);var y=Object(S.jsx)(v.a,Object(u.a)(Object(u.a)({},s&&i&&{onClick:function(){return s()},sx:{cursor:"pointer"}}),{},{children:Object(S.jsx)(b.c,{to:e,style:Object(u.a)({},x),className:"aid-nav-link",children:Object(S.jsxs)("p",{style:g,children:[i&&!c&&Object(S.jsx)("span",{style:k,children:Object(S.jsx)("i",{className:"pi pi-lock"})}),t]})})}));return[j,y]}function R(){return Object(S.jsx)(b.b,{to:"/",children:Object(S.jsx)("img",{style:P.logo,src:O,alt:"logo"})})}var P={logo:{paddingLeft:10,paddingTop:20,paddingBottom:20,maxWidth:"180px"}},M=Object(p.i)((function(e){var t=e.history,n=e.location,i=r.a.useContext(j.d),c=r.a.useContext(m.a),s=Object(j.e)(i,j.a.admin),l=Object(j.h)(i,j.b.proOrHigher),d=!Object(j.h)(i,j.b.plusOrHigher),u=Object(j.e)(i,j.a.organizationMember),p=h(),b=(0,Object(o.a)(p,1)[0])(),f=i.isLoaded,O=T("/admin-panel","Admin",c,0,!1),v=Object(o.a)(O,2),E=v[0],I=v[1],D=T("/","Dashboard",c,0,!1),F=Object(o.a)(D,2),k=F[0],R=F[1],P=T("/pipeline","Pipelines",c,0,!1),M=Object(o.a)(P,2),U=M[0],L=M[1],B=T("/forecast","USAID Bid Search",c,0,d,!0),V=Object(o.a)(B,2)[1],Q=T("/forecast","Forecast+",c,1,d,!1,(function(){return Se(!0)})),W=Object(o.a)(Q,2),H=W[0],z=W[1],Y=T("/grants","Grants+",c,1,d,!1,(function(){return Se(!0)})),G=Object(o.a)(Y,2),K=G[0],q=G[1],X=T("/contracts","Contracts+",c,1,d,!1,(function(){return Se(!0)})),Z=Object(o.a)(X,2),J=Z[0],_=Z[1],$=T("/projects","Capture Insight",c,0,!l,!0),ee=Object(o.a)($,2)[1],te=T("/reports","Reports",c,1,!l,!1,(function(){return Se(!0)})),ne=Object(o.a)(te,2),ae=ne[0],re=ne[1],ie=T("/projects","Projects",c,1,!l,!1,(function(){return Se(!0)})),ce=Object(o.a)(ie,2),oe=ce[0],se=ce[1],le=T("/ecd","Environmental Reports",c,1,!l,!1,(function(){return Se(!0)})),de=Object(o.a)(le,2),ue=de[0],pe=(de[1],T("/faq","FAQ",c,0,d)),be=Object(o.a)(pe,2),je=be[0],me=(be[1],T("/aidkonekt-resources","Resources",c,1,d,!1,(function(){return Se(!0)}))),fe=Object(o.a)(me,2),he=fe[0],Oe=fe[1],ge=T("/users","Users",c,0,!1),xe=Object(o.a)(ge,2),ve=xe[0],ye=xe[1],Ce=Object(a.useState)(!1),Ae=Object(o.a)(Ce,2),we=Ae[0],Se=Ae[1];function Ne(e){switch(E(!1),k(!1),H(!1),ve(!1),K(!1),J(!1),je(!1),he(!1),U(!1),oe(!1),ae(!1),ue(!1),e){case"/":k(!0);break;case"/admin-panel":E(!0);break;case"/projects":oe(!0);break;case"/reports":ae(!0);break;case"/ecd":ue(!0);break;case"/forecast":H(!0);break;case"/users":ve(!0);break;case"/grants":K(!0);break;case"/contracts":J(!0);break;case"/faq":je(!0);break;case"/pipeline":U(!0);break;case"/aidkonekt-resources":case"/resources":case"/webinars":case"/cdcs-repository":case"/cdcs-repository-2":case"/idiqs":case"/lcp-archives":case"/iee-archives":case"/qa-archives":he(!0)}}return r.a.useEffect((function(){return Ne(n.pathname),t.listen((function(e,t){Ne(e.pathname)}))}),[]),Object(S.jsxs)(a.Fragment,{children:[Object(S.jsxs)("div",{id:"header",style:{width:"230px",paddingRight:"32px"},className:"p-col",children:[Object(S.jsx)(C.a,{upgradePlanModalOpen:we,setUpgradePlanModalOpen:function(e){return Se(e)}}),f&&b&&s&&I,f&&b&&R,f&&b&&L,f&&b&&V,f&&z,f&&_,f&&q,f&&b&&ee,f&&se,f&&re,f&&b&&Oe,s&&ye,d&&b&&Object(S.jsx)(x.a,{label:"Upgrade Plan",onClick:u?function(){return Se(!0)}:Object(g.d)("tiers"),style:{marginTop:10,marginLeft:15,width:160}})]}),Object(S.jsx)(N,{}),Object(S.jsxs)(A.a,{direction:{xs:"column",sm:"row"},spacing:1,sx:{px:2,justifyContent:"center","& > *":{fontSize:"13px"}},children:[Object(S.jsx)(y.a,{variant:"body2",component:"a",href:"https://konektid-resources.s3.amazonaws.com/AidKonekt+Data+-+Terms+and+Conditions+Policy.pdf",target:"blank",children:"Terms"}),Object(S.jsx)(y.a,{variant:"body2",children:"\u2022"}),Object(S.jsx)(y.a,{variant:"body2",component:"a",href:"https://konektid-resources.s3.amazonaws.com/AidKonekt Privacy Policy_2021.pdf",target:"blank",children:"Privacy"})]}),Object(S.jsxs)(y.a,{variant:"body2",fontSize:"13px",children:["AidKonekt Data \xa9 ",(new Date).getFullYear()," - V",w.a]})]})})),U=(n(762),function(){var e,t,a,i,c=r.a.useContext(m.a),o={height:40,width:"100%",marginBottom:"40px",border:"none",outline:"none",borderBottom:"2px solid #ffb102",font:c.v2Fonts.input},s={height:40,width:"100%",marginBottom:"20px",border:"none",outline:"none",borderBottom:"2px solid #ffb102",font:c.v2Fonts.input},l={width:"100%",textAlign:"left",font:c.v2Fonts.inputHeader,color:c.v2.darkGrey},d={padding:"10px 40px",backgroundColor:c.v2.lightBlue,marginTop:10,marginBottom:10,cursor:"pointer",borderRadius:"30px"},u={margin:0,color:c.v2.darkBlue,font:c.v2Fonts.menuSelected},p={padding:20,width:550,display:"flex",flexDirection:"column",borderRadius:20,border:"".concat(c.v2.lightYellow," solid 5px")},b={alignSelf:"flex-start",margin:"0px 0px 0px",font:c.v2Fonts.largeHeader,display:"flex"};return{customInputStyle:s,inputStyle:o,inputLabel:l,buttonStyle:d,buttonTextStyle:u,formContainerStyle:p,container:{display:"flex",flexDirection:"column",flex:1,marginTop:50},buttonContainer:{display:"flex",justifyContent:"center"},linkContainer:{marginTop:30},toggle:{paddingBottom:"10px",cursor:"pointer",marginTop:10,marginBottom:0,borderBottom:"2px solid transparent",font:c.v2Fonts.input},innerContainer:{display:"flex",flexDirection:"column",alignItems:"center"},header:b,errorDiv:{font:c.v2Fonts.contextHeader,color:c.v2.darkBlue,alignSelf:"flex-start",paddingTop:20,paddingBottom:20},messageDiv:{font:c.v2Fonts.contextHeader,color:c.v2.darkBlue,alignSelf:"flex-start",paddingTop:20,paddingBottom:20},icon:{width:30},aidkonektIcon:null===(e=n(236))||void 0===e?void 0:e.default,editIcon:null===(t=n(763))||void 0===t?void 0:t.default,removeIcon:null===(a=n(764))||void 0===a?void 0:a.default,checkIcon:null===(i=n(765))||void 0===i?void 0:i.default}}),L=n(4);function B(e){return function(t){if("Enter"===t.key)return e()}}var V=n(39);function Q(e){try{return JSON.parse(atob(e.split(".")[1]))}catch(t){return console.error("errror parsing token ".concat(e),t),null}}var W=function(e){var t=e.updateErrorMessage,n=e.errorMessage,a=r.a.useState({email:"",password:""}),i=Object(o.a)(a,2),c=i[0],s=i[1],b=Object(p.g)(),m=r.a.useContext(j.d),f=U(),h=function(e){t(null),s(e)},O=function(){var e=Object(d.a)(l.a.mark((function e(){var n;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=m.updateCurrentUser,c.email&&c.password){e.next=4;break}return t("Please enter a email and password"),e.abrupt("return");case 4:return e.next=6,V.a.post(Object(L.f)("/api/auth/shouldverify",{useDedicatedEnvironment:!0}),{email:c.email},Object(L.c)(m)).then(function(){var e=Object(d.a)(l.a.mark((function e(a){return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!a.data){e.next=4;break}b.push("/verify-email",{email:c.email}),e.next=7;break;case 4:return window.localStorage.setItem("refreshToken",""),e.next=7,V.a.post(Object(L.f)("/api/auth/signin",{useDedicatedEnvironment:!0}),{email:c.email,password:c.password},Object(L.c)(m)).then((function(e){var t=e.data,a=t.user,r=t.groups,i=t.konektidToken,c=Q(a.idToken),o={accessToken:a.accessToken,jwt:a.idToken,idToken:a.idToken,parsedIdToken:null!==c&&void 0!==c?c:void 0,refreshToken:a.refreshToken,expiresIn:a.expiresIn,groups:r,konektidToken:i};n(o).then((function(){return b.push("/")}))})).catch((function(e){e.response?(e.response.data.Message&&t(e.response.data.Message),"string"===typeof e.response.data&&e.response.data.includes("Having trouble signing in, please check with your organization account administrator")&&t("Having trouble signing in, please check with your organization account administrator")):t("Incorrect email or password.")}));case 7:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()).catch((function(e){t("Error signing in.")}));case 6:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();return Object(S.jsxs)("div",{style:f.innerContainer,children:[Object(S.jsxs)("div",{style:f.header,children:[Object(S.jsx)("img",{src:f.aidkonektIcon,style:f.icon,alt:"Aidkonekt",className:"formIcon"}),"Sign In"]}),Object(S.jsx)("div",{style:f.errorDiv,children:Object(S.jsx)("span",{children:n})}),Object(S.jsxs)(S.Fragment,{children:[Object(S.jsx)("label",{htmlFor:"email",style:f.inputLabel,children:"Email"}),Object(S.jsx)("input",{id:"email",onChange:function(e){h(Object(u.a)(Object(u.a)({},c),{},{email:e.target.value}))},style:f.inputStyle}),Object(S.jsx)("label",{htmlFor:"password",style:f.inputLabel,children:"Password"}),Object(S.jsx)("input",{id:"password",type:"password",onKeyUp:B(O),onChange:function(e){h(Object(u.a)(Object(u.a)({},c),{},{password:e.target.value}))},style:f.inputStyle}),Object(S.jsx)("div",{style:f.buttonStyle,className:"auth-btn",onClick:O,children:Object(S.jsx)("p",{style:f.buttonTextStyle,children:"Sign In"})})]})]})},H=n(6),z=n(75);var Y=function(e){var t=e.updateErrorMessage,n=e.errorMessage,i=Object(a.useState)({password:"",email:"",authCode:"",message:""}),c=Object(o.a)(i,2),s=c[0],l=c[1],d=Object(a.useState)(!1),b=Object(o.a)(d,2),j=b[0],m=b[1],f=U(),h=Object(p.g)();r.a.useEffect((function(){}),[j]);var O=function(e){var t=e.currentTarget.id,n=e.currentTarget.value;l((function(e){return Object(u.a)(Object(u.a)({},e),{},Object(H.a)({},t,n))}))},g=function(){if(j)if(s.password)if(s.email){V.a.post(Object(L.f)("/api/auth/signup",{useDedicatedEnvironment:!0}),{email:s.email,password:s.password},{headers:{Accept:"application/json","Content-Type":"application/json"}}).then((function(){h.push("/verify-email",{email:s.email.toLowerCase()}),t(null)})).catch((function(e){var n,a,r,i,c,o;"Invalid email address format."!==(null===(n=e.response)||void 0===n||null===(a=n.data)||void 0===a?void 0:a.Message)?"1 validation error detected: Value at 'password' failed to satisfy constraint: Member must satisfy regular expression pattern: ^[\\S]+.*[\\S]+$"!==(null===(r=e.response)||void 0===r||null===(i=r.data)||void 0===i?void 0:i.Message)&&"Password did not conform with policy: Password not long enough"!==(null===(c=e.response)||void 0===c||null===(o=c.data)||void 0===o?void 0:o.Message)?409!==e.response.status?!function(e){var t,n;return!!(null===e||void 0===e||null===(t=e.response)||void 0===t||null===(n=t.data)||void 0===n?void 0:n.message)}(e)?t(e.message):(console.error("error signing up",{response:e.response,error:e}),t(e.response.data.message)):t('Email already exists. Please try with different email address, or click on "Sign in" link below to login to your existing account'):t("Password must be at least 8 characters long"):t(e.response.data.Message)}))}else t("Please enter an email address");else t("Please enter a password");else t("Please agree to the terms and conditions")};return Object(S.jsxs)("div",{style:f.innerContainer,children:[Object(S.jsxs)("div",{style:f.header,children:[Object(S.jsx)("img",{src:f.aidkonektIcon,style:f.icon,alt:"Aidkonekt",className:"formIcon"}),"Sign Up"]}),Object(S.jsx)("div",{style:f.errorDiv,children:Object(S.jsx)("p",{children:n})}),Object(S.jsxs)(S.Fragment,{children:[Object(S.jsx)("label",{htmlFor:"email",style:f.inputLabel,children:"Email"}),Object(S.jsx)("input",{style:f.inputStyle,id:"email",onChange:O}),Object(S.jsx)("label",{htmlFor:"password",style:f.inputLabel,children:"Password"}),Object(S.jsx)("input",{style:f.inputStyle,id:"password",type:"password",onKeyUp:B(g),onChange:O}),Object(S.jsxs)("div",{className:"p-col-12",children:[Object(S.jsx)(z.Checkbox,{inputId:"toc",checked:j,onChange:function(e){return m(e.checked)}}),Object(S.jsxs)("label",{htmlFor:"toc",className:"p-checkbox-label",children:["I agree to these",Object(S.jsxs)("a",{href:"https://konektid-resources.s3.amazonaws.com/AidKonekt+Data+-+Terms+and+Conditions+Policy.pdf",target:"blank",children:[" ","Terms and Conditions"]})," ","and this",Object(S.jsxs)("a",{href:"https://konektid-resources.s3.amazonaws.com/AidKonekt Privacy Policy_2021.pdf",target:"blank",children:[" ","Privacy Policy"]})]})]}),Object(S.jsx)("div",{style:f.buttonStyle,className:"auth-btn",onClick:g,children:Object(S.jsx)("p",{style:f.buttonTextStyle,children:"Sign Up"})})]})]})};var G=function(e){var t=e.updateErrorMessage,n=e.switchState,a=e.errorMessage,i=r.a.useState(""),c=Object(o.a)(i,2),s=c[0],l=c[1],d=r.a.useState(""),u=Object(o.a)(d,2),p=u[0],b=u[1],j=r.a.useState(""),m=Object(o.a)(j,2),f=m[0],h=m[1],O=r.a.useState("email"),g=Object(o.a)(O,2),x=g[0],v=g[1],y=r.a.useState(""),C=Object(o.a)(y,2),A=C[0],w=C[1],N=U(),E=function(){A?(t(null),v("password")):t("Please enter your confirmation code.")},I=function(){if(s){t(null);V.a.post(Object(L.f)("/api/auth/resetpassword",{useDedicatedEnvironment:!0}),{email:s},{headers:{Accept:"application/json","Content-Type":"application/json"}}).then((function(){v("confirmationCode")})).catch((function(e){404===e.response.status&&t("Unable to find user ".concat(s)),e&&"UserNotFoundException"===e.code?v("confirmationCode"):e&&"LimitExceededException"===e.code&&t("Attempt limit exceeded, please try after some time.")}))}else t("Please enter a username to continue")},D=function(){if(p===f){V.a.post(Object(L.f)("/api/auth/confirmpasswordreset",{useDedicatedEnvironment:!0}),{email:s,password:p,authCode:A},{headers:{Accept:"application/json","Content-Type":"application/json"}}).then((function(){alert("successfully changed password!"),n("showSignIn")})).catch((function(e){422===e.response.status?t("Invalid verification code provided, please try again"):e&&e.message&&t(e.message)}))}else t("Your password and confirmation password do not match")};return Object(S.jsxs)("div",{style:N.innerContainer,children:[Object(S.jsxs)("div",{style:N.header,children:[Object(S.jsx)("img",{src:N.aidkonektIcon,style:N.icon,alt:"Aidkonekt",className:"formIcon"}),"Forgot Password"]}),Object(S.jsx)("div",{style:N.errorDiv,children:Object(S.jsx)("p",{children:a})}),"email"===x&&Object(S.jsxs)(S.Fragment,{children:[Object(S.jsx)("label",{htmlFor:"username",style:N.inputLabel,children:"Email"}),Object(S.jsx)("input",{id:"username",value:s,onKeyUp:B(I),onChange:function(e){l(e.target.value)},style:N.inputStyle}),Object(S.jsx)("div",{style:N.buttonStyle,className:"auth-btn",onClick:I,children:Object(S.jsx)("p",{style:N.buttonTextStyle,children:"Get Authentication Code"})})]}),"confirmationCode"===x&&Object(S.jsxs)(S.Fragment,{children:[Object(S.jsx)("label",{htmlFor:"confirmation",style:N.inputLabel,children:"Confirmation Code"}),Object(S.jsx)("input",{id:"confirmation",onChange:function(e){return w(e.target.value)},onKeyUp:B(E),style:N.inputStyle}),Object(S.jsx)("div",{style:N.buttonStyle,onClick:function(){return v("email")},className:"aid-blu-btn",children:Object(S.jsx)("p",{style:N.buttonTextStyle,children:"Go Back"})}),Object(S.jsx)("div",{style:N.buttonStyle,onClick:E,className:"aid-blu-btn",children:Object(S.jsx)("p",{style:N.buttonTextStyle,children:"Enter Confirmation Code"})})]}),"password"===x&&Object(S.jsxs)(S.Fragment,{children:[Object(S.jsx)("label",{htmlFor:"newpassword",style:N.inputLabel,children:"New Password"}),Object(S.jsx)("input",{id:"newpassword",onChange:function(e){return b(e.target.value)},style:N.inputStyle,type:"password"}),Object(S.jsx)("label",{htmlFor:"passwordConfirm",style:N.inputLabel,children:"Confirm New Password"}),Object(S.jsx)("input",{id:"passwordConfirm",onChange:function(e){return h(e.target.value)},onKeyUp:B(D),style:N.inputStyle,type:"password"}),Object(S.jsx)("div",{style:N.buttonStyle,onClick:function(){return v("confirmationCode")},className:"aid-blu-btn",children:Object(S.jsx)("p",{style:N.buttonTextStyle,children:"Go Back"})}),Object(S.jsx)("div",{style:N.buttonStyle,onClick:D,className:"aid-blu-btn",children:Object(S.jsx)("p",{style:N.buttonTextStyle,children:"Reset Password"})})]})]})},K=n(46),q=n.n(K),X=n(1363);var Z=function(e){var t=e.updateErrorMessage,n=e.switchState,i=(e.errorMessage,new URLSearchParams(document.location.search)),c=U(),s=Object(p.g)(),b=(Object(p.h)().state,r.a.useContext(j.d)),m=r.a.useState(""),f=Object(o.a)(m,2),h=f[0],O=f[1],g=r.a.useState(""),x=Object(o.a)(g,2),y=x[0],C=x[1],A=Object(a.useState)({email:i.get("email"),authCode:"",requestSent:!1,errorMessage:"",message:""}),w=Object(o.a)(A,2),N=w[0],E=w[1],I=Object(a.useState)(!1),D=Object(o.a)(I,2),F=D[0],k=D[1],T=function(){var e=Object(d.a)(l.a.mark((function e(){var a;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(h===y){e.next=3;break}return E((function(e){return Object(u.a)(Object(u.a)({},e),{},{errorMessage:"Your password and confirmation password do not match",message:""})})),e.abrupt("return");case 3:return a={headers:{Accept:"application/json","Content-Type":"application/json"}},e.next=6,V.a.post(Object(L.f)("/api/auth/confirmencryptedpasswordreset",{useDedicatedEnvironment:!0}),{email:N.email,password:h,authCode:N.authCode},a).then((function(){alert("successfully set password!"),n("showSignIn"),s.push("/auth")})).catch((function(e){if(422===e.response.status)t("Invalid verification code provided, please try again");else if(e&&e.message){var n,a,r,i,c=(null===e||void 0===e||null===(n=e.response)||void 0===n||null===(a=n.data)||void 0===a?void 0:a.includes("Password does not conform to policy: Password not long enough"))?"Password must be at least 8 characters long":(null===e||void 0===e||null===(r=e.response)||void 0===r||null===(i=r.data)||void 0===i?void 0:i.includes("Invalid verification code provided"))?"Invalid verification code provided":"500-Authentication failed. For assistance, please contact support@aidkonekt.com";E((function(e){return Object(u.a)(Object(u.a)({},e),{},{errorMessage:c,message:""})}))}}));case 6:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),R=function(){var e=Object(d.a)(l.a.mark((function e(){var t;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=Object(L.f)("/api/auth/resetencryptedpassword",{useDedicatedEnvironment:!0}),k(!0),e.next=4,V.a.post(t,{email:N.email},Object(L.c)(b)).then((function(){k(!1),E((function(e){return Object(u.a)(Object(u.a)({},e),{},{errorMessage:"",requestSent:!0,message:""})}))})).catch((function(e){var t,a,r;(k(!1),409===(null===e||void 0===e||null===(t=e.response)||void 0===t?void 0:t.status))?((null===e||void 0===e||null===(a=e.response)||void 0===a||null===(r=a.data)||void 0===r?void 0:r.Message)&&q.a.error(e.response.data.Message),n("showSignIn"),s.push("/auth")):E((function(t){return Object(u.a)(Object(u.a)({},t),{},{errorMessage:e.message})}))}));case 4:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();return r.a.useEffect((function(){R()}),[]),Object(S.jsxs)("div",{style:c.innerContainer,children:[Object(S.jsx)(v.a,{sx:{position:"absolute",width:"550px",height:"520px",marginTop:"-24px",display:F?"flex":"none",alignItems:"center",justifyContent:"center",zIndex:9999,borderRadius:"20px",backgroundColor:"#DDDDDDBB"},children:Object(S.jsx)(X.a,{})}),Object(S.jsxs)("div",{style:c.header,children:[Object(S.jsx)("img",{src:c.aidkonektIcon,style:c.icon,alt:"Aidkonekt",className:"formIcon"}),"Set Password"]}),N.requestSent&&Object(S.jsxs)(S.Fragment,{children:[Object(S.jsx)("div",{style:c.errorDiv,children:Object(S.jsx)("p",{children:N.errorMessage})}),Object(S.jsx)("label",{htmlFor:"authCode",style:c.inputLabel,children:"Confirmation Code"}),Object(S.jsx)("input",{autoComplete:"off",id:"authCode",type:"text",onChange:function(e){var t=e.currentTarget.id,n=e.currentTarget.value;E((function(e){return Object(u.a)(Object(u.a)({},e),{},Object(H.a)({},t,n))}))},style:c.inputStyle}),Object(S.jsx)("label",{htmlFor:"newpassword",style:c.inputLabel,children:"Password"}),Object(S.jsx)("input",{autoComplete:"new-password",id:"newpassword",onChange:function(e){return O(e.target.value)},style:c.customInputStyle,type:"password"}),Object(S.jsx)("label",{htmlFor:"passwordConfirm",style:c.inputLabel,children:"Confirm Password"}),Object(S.jsx)("input",{autoComplete:"off",id:"passwordConfirm",onChange:function(e){return C(e.target.value)},onKeyUp:B(T),style:c.customInputStyle,type:"password"}),Object(S.jsx)("div",{style:c.buttonStyle,onClick:T,className:"aid-blu-btn",children:Object(S.jsx)("p",{style:c.buttonTextStyle,className:"set-password",children:"Set Password"})})]})]})};var J,_=function(){var e=new URLSearchParams(document.location.search),t=r.a.useState(),n=Object(o.a)(t,2),i=n[0],c=n[1],s=r.a.useState(e.get("email")?"setNewPassword":"showSignIn"),l=Object(o.a)(s,2),d=l[0],p=l[1],b=Object(a.useState)(),m=Object(o.a)(b,2),f=m[0],h=m[1];Object(a.useEffect)((function(){}),[f]);var O=Object(a.useState)(window.localStorage.getItem("refreshToken")),g=Object(o.a)(O,2),x=g[0],v=g[1],y=Object(a.useState)(!1),C=Object(o.a)(y,2),A=(C[0],C[1]),w=U(),N=Object(a.useContext)(j.d);return r.a.useEffect((function(){c(null)}),[d]),Object(a.useEffect)((function(){"string"===typeof x&&(null===x||void 0===x?void 0:x.length)>0&&Ol(x,f,v,h,A)}),[]),Object(a.useEffect)((function(){f&&N.updateCurrentUser(f)}),[f]),Object(S.jsxs)("div",{style:Object(u.a)(Object(u.a)({},w.formContainerStyle),{},{maxHeight:i?560:520,backgroundColor:"white"}),children:["showSignIn"===d&&Object(S.jsx)(W,{updateErrorMessage:c,errorMessage:i}),"showSignUp"===d&&Object(S.jsx)(Y,{updateErrorMessage:c,switchState:p,errorMessage:i}),"showForgotPassword"===d&&Object(S.jsx)(G,{switchState:p,updateErrorMessage:c,errorMessage:i}),"setNewPassword"===d&&Object(S.jsx)(Z,{switchState:p,updateErrorMessage:c,errorMessage:i}),Object(S.jsx)("div",{style:w.buttonContainer,children:"showSignIn"===d?Object(S.jsxs)("div",{style:w.linkContainer,children:[Object(S.jsx)("p",{onClick:function(){return p("showSignUp")},style:w.toggle,className:"auth-link",children:"Need an account? Sign Up"}),Object(S.jsx)("p",{onClick:function(){return p("showForgotPassword")},style:w.toggle,className:"auth-link",children:"Forgot your password?"})]}):Object(S.jsx)("div",{style:w.linkContainer,children:Object(S.jsx)("p",{style:w.toggle,className:"auth-link",onClick:function(){return p("showSignIn")},children:"Already have an account? Sign In"})})})]})},$=n(456),ee=n(12),te=n(67),ne=n(65),ae=n(96),re=n(23),ie=n(40),ce=n(38),oe=(n(496),n(148)),se=n(52),le=n(31),de=n(284),ue=n(300),pe=n(139),be=n(109),je=(n(1143),n(173)),me=n(285),fe=n(178),he={chipsContainer:{marginTop:"5px",display:"flex",flexWrap:"wrap"},multiSelect:{width:"100%",borderRadius:10},multiSelectContainer:{margin:"5px 0px"}},Oe=te.a.label({fontSize:"15px",textAlign:"left",paddingLeft:0});!function(e){e.country="Country",e.technicalSector="TechnicalSector"}(J||(J={}));var ge,xe,ve=[{label:"AND",value:fe.b.And},{label:"OR",value:fe.b.Or}],ye=function(e){var t=e.GetSelectedCountries,n=e.GetSelectedSectors,i=e.GetPreferenecFilterType,c=e.GetSelectedKeywords,s=e.preferenceFType,p=e.marketPreferences,b=e.keywords,m=(e.pipelineId,e.disabled),f=r.a.useState(!0),h=Object(o.a)(f,2),O=(h[0],h[1],r.a.useState(1)),g=Object(o.a)(O,2),x=(g[0],g[1]),v=Object(a.useState)([]),y=Object(o.a)(v,2),C=y[0],A=y[1],w=Object(a.useState)([]),N=Object(o.a)(w,2),E=N[0],I=N[1],D=Object(a.useState)(b),F=Object(o.a)(D,2),k=(F[0],F[1],Object(a.useState)(s)),T=Object(o.a)(k,2),R=T[0],P=T[1],M=(Object(je.a)(),r.a.useContext(j.d)),U=r.a.useContext(se.a);Object(L.b)(M);r.a.useEffect((function(){var e=p,a=e.filter((function(e){return e.preferenceType===J.country})).map((function(e){return me.a.find((function(t){return t.code===e.name||t.name.toLocaleLowerCase()===e.name.toLowerCase()}))})).filter((function(e){return e})),r=a.map((function(e){return{preferenceType:J.country,name:e.name,code:e.code}}));t(r),A(a);var i=e.filter((function(e){return e.preferenceType===J.technicalSector})).map((function(e){return me.b.find((function(t){return t.name===e.name}))})).filter((function(e){return e})),o=i.map((function(e){return{preferenceType:J.technicalSector,name:e.name}}));n(o),I(i),c(b)}),[]);var B=Object(a.useCallback)(function(){var e=Object(d.a)(l.a.mark((function e(n){var a;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:a=n.map((function(e){return{preferenceType:J.country,name:e.name,code:e.code}})),t(a),A(n);case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),[]),Q=Object(a.useCallback)((function(e){var t=e.map((function(e){return{preferenceType:J.technicalSector,name:e.name}}));n(t),I(e)}),[]),W=function(){var e=Object(d.a)(l.a.mark((function e(){return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,V.a.get(Object(L.f)("/api/pipeline/keywordsearchlimit",{useDedicatedEnvironment:!0}),Object(L.b)(M)).then((function(e){var t=e.data;x(t)})).catch((function(e){console.error(e),U.current&&U.current.show({severity:"error",summary:"Unable to load users"})}));case 2:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();return r.a.useEffect((function(){W()}),[]),Object(S.jsxs)(S.Fragment,{children:[" ",Object(S.jsxs)("div",{style:{display:"flex"},children:[Object(S.jsx)("div",{}),Object(S.jsxs)("div",{children:[Object(S.jsx)("div",{style:{width:"54%",height:"35%",borderLeft:"2px dashed #B2D5EB",borderTop:"2px dashed #B2D5EB",marginTop:"13px",marginLeft:"23px"}}),Object(S.jsx)("select",{value:R,className:"preference-ddl",onChange:function(e){return t="And"===e.target.value?fe.b.And:fe.b.Or,P(t),void i(t);var t},children:ve.map((function(e){return Object(S.jsx)("option",{value:e.value,children:e.label})}))}),Object(S.jsx)("div",{style:{width:"54%",height:"40%",borderLeft:"2px dashed #B2D5EB",borderBottom:"2px dashed #B2D5EB",marginBottom:"5px",marginLeft:"23px"}})]}),Object(S.jsxs)("div",{style:he.multiSelectContainer,className:"dashboard-market-preferences",children:[Object(S.jsx)(Oe,{className:"field-titles",htmlFor:"regions",children:"Regions and Countries"}),Object(S.jsx)(pe.MultiSelect,{optionLabel:"name",filter:!0,disabled:m,style:Object(u.a)(Object(u.a)({},he.multiSelect),{},{marginTop:8}),placeholder:" Regions and Countries",fixedPlaceholder:!0,value:C,options:me.a,onChange:function(e){return B(e.value)}}),Object(S.jsx)("div",{style:he.chipsContainer,children:C.sort((function(e,t){return e.name.localeCompare(t.name)})).map((function(e){return Object(S.jsx)(be.a,{label:e.name,onIconClick:function(){return m?null:function(e,n){var a=n.filter((function(t){return t.code!==e.code}));A(a),t(a.map((function(e){return{preferenceType:J.country,name:e.name,code:e.code}})))}(e,C)}},e.name)}))})]})]}),Object(S.jsxs)("div",{style:{margin:"5px 0px 5px 66px"},className:"dashboard-market-preferences",children:[Object(S.jsx)(Oe,{className:"field-titles",htmlFor:"regions",children:"Technical Sectors"}),Object(S.jsx)(pe.MultiSelect,{optionLabel:"name",filter:!0,disabled:m,style:he.multiSelect,placeholder:"Technical Sectors",fixedPlaceholder:!0,value:E,options:me.b,onChange:function(e){return Q(e.value)}}),Object(S.jsx)("div",{style:he.chipsContainer,children:E.sort((function(e,t){return e.name.localeCompare(t.name)})).map((function(e){return Object(S.jsx)(be.a,{label:e.name,onIconClick:function(){return m?null:function(e,t){var a=t.filter((function(t){return t.name!==e.name}));I(a),n([{preferenceType:J.technicalSector.toString(),name:e.name}]),n(a.map((function(e){return{preferenceType:J.technicalSector,name:e.name}})))}(e,E)}},e.name)}))})]})]})},Ce=n(83),Ae=["as","delay","onClick","disabled"],we=function(e){var t=e.as,n=void 0===t?le.Button:t,r=e.delay,i=e.onClick,c=e.disabled,s=void 0!==c&&c,l=Object(Ce.a)(e,Ae),d=Object(a.useState)(!1),p=Object(o.a)(d,2),b=p[0],j=p[1];Object(a.useEffect)((function(){if(b){var e=setTimeout((function(){j(!1)}),r);return function(){return clearTimeout(e)}}}),[b,r]);var m=n;return Object(S.jsx)(m,Object(u.a)(Object(u.a)({},l),{},{disabled:s||b,onClick:function(e){if(!b)return j(!0),i(e)}}))},Se=n(201),Ne=function(e){if(!e)return"";for(var t=e.toLowerCase().split(" "),n=0;n button":{background:"#FAEACD",borderRadius:"26.5px",margin:"10px",height:"40px",padding:"8px 24px",border:"none",left:"0px",cursor:"pointer",":focus":{background:"#ECAC37",border:"none",color:"#FFFFFF"}}}),ze={multiSelect:{width:"100%",borderRadius:10},chipsContainer:{marginTop:"5px",display:"flex",flexWrap:"wrap"}};!function(e){e.country="Country",e.technicalSector="TechnicalSector",e.keyword="Keyword"}(ge||(ge={})),function(e){e.OWNER="OWNER",e.CAN_MANGE="CAN_MANGE",e.VIEW_ONLY="VIEW_ONLY"}(xe||(xe={}));var Ye=function(){var e=r.a.useContext(j.d),t=Object(a.useState)(!0),n=Object(o.a)(t,2),i=(n[0],n[1]),c=Object(a.useState)(Array()),s=Object(o.a)(c,2),l=s[0],d=s[1],u=r.a.useState(0),p=Object(o.a)(u,2),b=(p[0],p[1],r.a.useState(0)),m=Object(o.a)(b,2),f=m[0],h=m[1],O=r.a.useState("All Pipelines"),g=Object(o.a)(O,2),x=g[0],v=g[1],y=r.a.useState(!0),C=Object(o.a)(y,2),A=C[0],w=C[1],N=r.a.useState(!1),E=Object(o.a)(N,2),I=E[0],D=E[1],F=r.a.useState(!1),k=Object(o.a)(F,2),T=k[0],R=k[1],P=r.a.useState(!1),M=Object(o.a)(P,2),U=M[0],B=M[1],Q=r.a.useContext(se.a),W=Object(a.useState)(Array()),H=Object(o.a)(W,2),z=H[0],Y=H[1],G=!Object(j.h)(e,j.b.plusOrHigher),K=r.a.useState(!1),q=Object(o.a)(K,2),X=q[0],Z=q[1],J=function(e){switch(e){case"allPipelines":Z(!1),w(!0),v("All Pipelines"),d(z),B(!1),D(!1),R(!1),h(z.length);break;case"myPipelines":Z(!0),v("My Pipelines"),h(re.length),D(!0),B(!1),w(!1),R(!1),d(re);break;case"sharedPipelines":v("Shared with me"),h(le.length),d(le),B(!1),R(!0),w(!1),D(!1),Z(!0);break;case"deletedPipelines":v("Deleted pipelines"),h(be.length),d(be),B(!0),R(!1),w(!1),D(!1),Z(!0)}},_=r.a.useState([]),$=Object(o.a)(_,2),te=($[0],$[1]);r.a.useEffect((function(){V.a.get(Object(L.f)("/api/organization/admin",{useDedicatedEnvironment:!0}),Object(L.c)(e)).then((function(e){var t=e.data;te(t)}))}),[]);var ne=r.a.useState(Array()),ae=Object(o.a)(ne,2),re=ae[0],ie=ae[1],ce=r.a.useState(Array()),oe=Object(o.a)(ce,2),le=oe[0],de=oe[1],ue=r.a.useState(Array()),pe=Object(o.a)(ue,2),be=pe[0],je=pe[1],me=function(e){return e?e.toLocaleLowerCase():e};r.a.useEffect((function(){V.a.get(Object(L.f)("/api/pipeline",{useDedicatedEnvironment:!0}),Object(L.c)(e)).then((function(t){var n=t.data.map((function(e){var t;return{id:e.id,name:e.name,users:e.users,description:e.description,createdOnUtc:e.createdOnUtc,pipelineUserRole:e.pipelineUserRole,marketPreferences:e.marketPreferences,businessForecastCustomColumnName:"",contractCustomColumnName:"",grantCustomColumnName:"",grantCount:e.grantCount,contractCount:e.grantCount,forecastCount:e.forecastCount,totalOpportunities:e.grantCount+e.forecastCount+e.contractCount,createdByCognitoId:null!==(t=me(e.createdByCognitoId))&&void 0!==t?t:"",preferenceFilterType:e.preferenceFilterType,keywords:e.keywords}}));d(n),Y(n);var a=n.filter((function(t){var n;return me(null===(n=e.user.parsedIdToken)||void 0===n?void 0:n.sub)===t.createdByCognitoId})),r=n.filter((function(t){var n;return me(null===(n=e.user.parsedIdToken)||void 0===n?void 0:n.sub)!==t.createdByCognitoId}));ie(a),de(r),h(n.length),V.a.get(Object(L.f)("/api/pipeline?isDeleted=true",{useDedicatedEnvironment:!0}),Object(L.c)(e)).then((function(e){var t=e.data.map((function(e){var t;return{id:e.id,name:e.name,users:e.users,description:e.description,createdOnUtc:e.createdOnUtc,pipelineUserRole:e.pipelineUserRole,marketPreferences:e.marketPreferences,businessForecastCustomColumnName:"",contractCustomColumnName:"",grantCustomColumnName:"",grantCount:e.grantCount,contractCount:e.grantCount,forecastCount:e.forecastCount,totalOpportunities:e.grantCount+e.forecastCount+e.contractCount,createdByCognitoId:null!==(t=me(e.createdByCognitoId))&&void 0!==t?t:"",preferenceFilterType:e.preferenceFilterType,keywords:e.keywords}}));je(t)})),i(!1)})).catch((function(e){console.error(e),i(!1)}))}),[]);var fe=function(t){V.a.delete(Object(L.f)("/api/pipeline/soft/".concat(t),{useDedicatedEnvironment:!0}),Object(L.b)(e)).then((function(){var n=l.find((function(e){return e.id===t})),a=l.filter((function(e){return e.id!==t})),r=[].concat(Object(ee.a)(be),[n]),i=a.filter((function(t){var n;return me(null===(n=e.user.parsedIdToken)||void 0===n?void 0:n.sub)===t.createdByCognitoId})),c=a.filter((function(t){var n;return me(null===(n=e.user.parsedIdToken)||void 0===n?void 0:n.sub)!==t.createdByCognitoId}));ie(i),de(c),je(r),d(a),Y(a),h(a.length),Q.current.show({severity:"success",summary:"Pipeline has been deleted"})})).catch((function(e){console.error(e),Q.current.show({severity:"error",summary:"Error loading market preferences"})}))},he=function(t){V.a.put(Object(L.f)("/api/pipeline/restore/".concat(t),{useDedicatedEnvironment:!0}),{id:t},Object(L.b)(e)).then((function(){var n=be.find((function(e){return e.id===t})),a=n?[].concat(Object(ee.a)(z),[n]):z,r=be.filter((function(e){return e.id!==t})),i=a.filter((function(t){var n;return me(null===(n=e.user.parsedIdToken)||void 0===n?void 0:n.sub)===t.createdByCognitoId})),c=a.filter((function(t){var n;return me(null===(n=e.user.parsedIdToken)||void 0===n?void 0:n.email)!==t.createdByCognitoId}));ie(i),de(c),je(r),d(a),Y(a),h(a.length),Q.current.show({severity:"success",summary:"Pipeline has been restored"})})).catch((function(e){console.error(e),Q.current.show({severity:"error",summary:"Error loading market preferences"})}))},Oe=Object(a.useRef)(null),ge=Object(a.useRef)(null),xe=window.location.search,ve=new URLSearchParams(xe).get("my");Object(a.useEffect)((function(){Oe&&Oe.current&&!ve&&Oe.current.focus()}),[Oe]),Object(a.useEffect)((function(){ve&&setTimeout((function(){J("myPipelines"),ge.current&&ge.current.focus()}),500)}),[]);return Object(S.jsx)(S.Fragment,{children:Object(S.jsxs)("div",{className:"p-col p-grid p-justify-center content-block",children:[Object(S.jsx)("div",{className:"p-col-12 p-md-12 p-lg-12 p-xl-12",children:Object(S.jsxs)(He,{children:[Object(S.jsx)("button",{ref:Oe,onClick:function(){return J("allPipelines")},children:Object(S.jsx)("strong",{children:"All Pipelines"})}),G?null:Object(S.jsxs)(S.Fragment,{children:[Object(S.jsx)("button",{ref:ge,onClick:function(){return J("myPipelines")},children:Object(S.jsx)("strong",{children:"My Pipelines"})}),Object(S.jsx)("button",{onClick:function(){return J("sharedPipelines")},children:Object(S.jsx)("strong",{children:" Shared With Me"})})]}),Object(S.jsx)("button",{onClick:function(){J("deletedPipelines")},children:Object(S.jsx)("strong",{children:" Deleted Pipelines"})})]})}),Object(S.jsx)("div",{className:"p-col-12 p-md-12 p-lg-12 p-xl-12",children:Object(S.jsx)(He,{style:{display:"block",alignItems:"center",padding:"20px",minHeight:"80vh",height:"auto"},children:Object(S.jsxs)("div",{children:[A?Object(S.jsx)(Ge,{currentTab:!0,toggledColumns:X,totalRecords:f,deletePipeline:fe,restorePipeline:he,headerTitle:x,pipelines:l}):null,G?null:Object(S.jsxs)(S.Fragment,{children:[I?Object(S.jsx)(Ge,{toggledColumns:X,totalRecords:f,deletePipeline:fe,restorePipeline:he,currentTab:!0,headerTitle:x,pipelines:re}):null,T?Object(S.jsx)(Ge,{toggledColumns:X,totalRecords:f,deletePipeline:fe,restorePipeline:he,currentTab:!1,headerTitle:x,pipelines:le}):null]}),U?Object(S.jsx)(Ge,{currentTab:!0,toggledColumns:X,totalRecords:f,deletePipeline:function(t){V.a.delete(Object(L.f)("/api/pipeline/".concat(t),{useDedicatedEnvironment:!0}),Object(L.b)(e)).then((function(){var n=z.filter((function(e){return e.id!==t})),a=n.filter((function(t){var n;return me(null===(n=e.user.parsedIdToken)||void 0===n?void 0:n.sub)===t.createdByCognitoId})),r=n.filter((function(t){var n;return me(null===(n=e.user.parsedIdToken)||void 0===n?void 0:n.sub)!==t.createdByCognitoId})),i=be.filter((function(e){return e.id!==t}));ie(a),de(r),d(n),Y(n),h(n.length),je(i),Q.current.show({severity:"success",summary:"Pipeline has been deleted"})})).catch((function(e){console.error(e),Q.current.show({severity:"error",summary:"Error loading market preferences"})}))},restorePipeline:he,headerTitle:x,pipelines:be}):null]})})})]})})},Ge=function(e){var t,n=e.pipelines,i=e.headerTitle,c=e.deletePipeline,s=e.restorePipeline,b=(e.totalRecords,e.toggledColumns),m=(e.currentTab,r.a.useContext(j.d)),f=Object(j.e)(m,j.a.organizationMember),h=r.a.useState(""),O=Object(o.a)(h,2),g=O[0],x=O[1],y=Object(L.b)(m),C=r.a.useContext(se.a),A=r.a.useState(!1),w=Object(o.a)(A,2),N=(w[0],w[1]),E=r.a.useState(!1),I=Object(o.a)(E,2),D=I[0],F=I[1],k=r.a.useState("Add Pipeline"),T=Object(o.a)(k,2),R=T[0],P=T[1],M=Object(ie.a)(),U=r.a.useState(0),B=Object(o.a)(U,2),Q=B[0],W=(B[1],Object(p.g)()),H=(m.user,function(e){e.map((function(e){var t;e&&(e.label=Ne(e.firstName||e.lastName?e.firstName:e.email)+" "+Ne(null!==(t=e.lastName)&&void 0!==t?t:""))}))}),z={name:"",id:0,users:[],businessForecastCustomColumnName:"",contractCustomColumnName:""};z.contractCustomColumnName="",z.description="",z.createdOnUtc="",z.pipelineUserRole="",z.marketPreferences=[],z.totalOpportunities=0,z.grantCount=0,z.contractCount=0,z.forecastCount=0,z.keywords=[];var Y=r.a.useState(z),G=Object(o.a)(Y,2),K=G[0],q=G[1],X=r.a.useState(""),Z=Object(o.a)(X,2),J=Z[0],_=Z[1],$=r.a.useState(""),te=Object(o.a)($,2),je=te[0],me=te[1],he=r.a.useState([]),Oe=Object(o.a)(he,2),xe=Oe[0],ve=Oe[1],Ce=r.a.useState({}),Ae=Object(o.a)(Ce,2),Ue=(Ae[0],Ae[1],Object(a.useRef)(null)),He=!Object(j.h)(m,j.b.plusOrHigher),Ye=r.a.useState([]),Ge=Object(o.a)(Ye,2),Ke=Ge[0],qe=Ge[1],Xe=r.a.useState(Array()),Ze=Object(o.a)(Xe,2),Je=Ze[0],_e=Ze[1],$e=r.a.useState(Array()),et=Object(o.a)($e,2),tt=et[0],nt=et[1],at=r.a.useState(fe.b.And),rt=Object(o.a)(at,2),it=rt[0],ct=rt[1],ot=r.a.useState(0),st=Object(o.a)(ot,2),lt=st[0],dt=st[1],ut=r.a.useState([]),pt=Object(o.a)(ut,2),bt=pt[0],jt=pt[1],mt=r.a.useState(""),ft=Object(o.a)(mt,2),ht=ft[0],Ot=ft[1],gt=r.a.useState(""),xt=Object(o.a)(gt,2),vt=xt[0],yt=xt[1],Ct=function(e,t){if(e.length!==t.length)return!0;var n=!1;return e.forEach((function(e){t.find((function(t){return t.name===e.keyword}))||(n=!0)})),n},At=function(e,t){if(e.length!==t.length)return!0;var n=!1;return e.forEach((function(e){t.find((function(t){return t.preferenceType==e.preferenceType&&t.name===e.name}))||(n=!0)})),n};r.a.useEffect((function(){V.a.get(Object(L.f)("/api/organization/user",{useDedicatedEnvironment:!0}),Object(L.b)(m)).then((function(e){var t,n=e.data,a=null===(t=m.user.parsedIdToken)||void 0===t?void 0:t.email;if(H(n),a){var r=n.filter((function(e){return e.email.toLocaleLowerCase()!==a}));ve(r)}else ve(n)})).catch((function(e){console.error(e),C.current&&C.current.show({severity:"error",summary:"Unable to load users"})}))}),[]);var wt=function(){var e=Object(d.a)(l.a.mark((function e(){var t;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=Ke.map((function(e){return{publicUserId:e.publicUserId.toUpperCase(),role:"View only"===e.userRole||"Member"===e.userRole||null===e.userRole||void 0===e.userRole?"Member":"Admin"}})),""!==J){e.next=4;break}return C.current.show({severity:"error",summary:"Title required"}),e.abrupt("return");case 4:return e.next=6,V.a.post(Object(L.f)("/api/pipeline",{useDedicatedEnvironment:!0}),{Name:J,Description:je,BusinessForecastCustomColumnName:"Internal ID",ContractCustomColumnName:"Internal ID",GrantCustomColumnName:"Internal ID",Users:t,PreferenceFilterType:it},y).then(function(){var e=Object(d.a)(l.a.mark((function e(t){var n;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.data.id,e.next=3,Dt(n);case 3:return C.current.show({severity:"success",summary:"Pipeline has been created successfully"}),e.next=6,m.refreshUserToken(!0);case 6:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()).catch((function(){C.current.show({severity:"error",summary:"Error saving the pipeline"})}));case 6:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),St=function(){var e=Object(d.a)(l.a.mark((function e(){var t;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=Ke.map((function(e){return{publicUserId:e.publicUserId.toUpperCase(),role:"View only"===e.userRole||"Member"===e.userRole?"Member":"Can manage"===e.userRole?"Admin":e.pipelineUserRole}})),""!==J){e.next=4;break}return C.current.show({severity:"error",summary:"The title is required"}),e.abrupt("return");case 4:return e.next=6,V.a.put(Object(L.f)("/api/pipeline/".concat(K.id),{useDedicatedEnvironment:!0}),{Name:J,Description:je,BusinessForecastCustomColumnName:"Internal ID",ContractCustomColumnName:"Internal ID",GrantCustomColumnName:"Internal ID",Users:t,PreferenceFilterType:it},y).then(Object(d.a)(l.a.mark((function e(){return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Dt(K.id);case 2:return C.current.show({severity:"success",summary:"Pipeline has been edited"}),e.next=5,m.refreshUserToken(!0);case 5:case"end":return e.stop()}}),e)})))).catch((function(e){console.error(e),C.current.show({severity:"error",summary:"Error saving info"})}));case 6:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),Nt=function(e){return e?e.toLocaleLowerCase():e},Et=Object(a.useCallback)(function(){var e=Object(d.a)(l.a.mark((function e(t){return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:qe(t);case 1:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),[]),It=function(e,t){var n=t.filter((function(t){return t.publicUserId!==e.publicUserId}));qe(n),xe.includes(e)||ve([e].concat(Object(ee.a)(xe)))},Dt=function(){var e=Object(d.a)(l.a.mark((function e(t){var n,a,r,i;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=Je.map((function(e){return{preferenceType:ge.country.toString(),name:e.code}})),a=tt.map((function(e){return{preferenceType:ge.technicalSector.toString(),name:e.name}})),r=bt.map((function(e){return{name:e,preferenceType:ge.keyword.toString()}})),i=[].concat(Object(ee.a)(n),Object(ee.a)(a),Object(ee.a)(r)),!K||At(K.marketPreferences,i)||K.preferenceFilterType!==it||Ct(K.keywords,r)){e.next=6;break}return e.abrupt("return");case 6:return e.next=8,V.a.put(Object(L.f)("/api/pipeline/".concat(t,"/marketpreference"),{useDedicatedEnvironment:!0}),i,y).then((function(e){})).catch((function(e){console.error(e.response.data),C.current.show({severity:"error",summary:"Error saving info"})}));case 8:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),Ft=Object(S.jsxs)("div",{className:"p-grid p-justify-end p-align-center",children:[Object(S.jsx)("div",{className:"p-sm-12 p-md-6 p-lg-4 p-xl-6 topLeftColumnHeader",style:{textAlign:"left"},children:Object(S.jsx)(ce.InputText,{type:"search",style:{color:"#979797",fontStyle:"italic",borderRadius:"20px"},onChange:function(e){return x(e.target.value)},placeholder:"Search..."})}),Object(S.jsxs)("div",{className:"p-sm-12 p-md-12 p-lg-4 p-xl-6 p-justify-end p-grid p-align-center buttonsHeader",children:[Object(S.jsx)(Fe.Button,{type:"button",icon:"pi pi-file-excel",iconPos:"left",onClick:function(e){var t;He?C.current.show({severity:"error",summary:Object(S.jsxs)("p",{children:["You don't have access to this feature with your current subscription plan,"," ",f?"contact your organizations' administrator to upgrade":Object(S.jsx)("a",{href:"/tiers",children:" Upgrade"})," ","to view pipeline details"]}),life:1e4,closable:!0}):(Vt(new Date),Mt(new Date),null===(t=kt.current)||void 0===t||t.toggle(e))},tooltip:"Excel",tooltipOptions:{position:"top"},style:Object(u.a)({marginLeft:15,marginRight:15},M.tableHeaderButton)}),Object(S.jsx)(Be,{onClick:function(e){var t;He?C.current.show({severity:"error",summary:Object(S.jsxs)("p",{children:["You don't have access to this feature with your current subscription plan,"," ",f?"contact your organizations' administrator to upgrade":Object(S.jsx)("a",{href:"/tiers",children:" Upgrade"})," ","to view pipeline details"]}),life:1e4,closable:!0}):(N(!1),dt(0),null===(t=Ue.current)||void 0===t||t.toggle(e))},children:"+ Add Pipeline"})]})]}),kt=Object(a.useRef)(null),Tt=r.a.useState(new Date),Rt=Object(o.a)(Tt,2),Pt=Rt[0],Mt=Rt[1],Ut=r.a.useState(new Date),Lt=Object(o.a)(Ut,2),Bt=Lt[0],Vt=Lt[1],Qt=r.a.useState(!1),Wt=Object(o.a)(Qt,2),Ht=Wt[0],zt=Wt[1],Yt=function(){var e=Object(d.a)(l.a.mark((function e(){var t,a,r,i,c;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(zt(!0),(t=n.map((function(e){return e.id}))).length){e.next=6;break}return zt(!1),C.current.show({severity:"error",summary:"Unable to download pipelines"}),e.abrupt("return");case 6:return e.prev=6,e.next=9,V.a.get(Object(L.f)("/api/user/profile",{useDedicatedEnvironment:!0}),Object(L.b)(m));case 9:return a=e.sent,r=a.data,i=r.firstName,c=r.lastName,e.next=15,Object(De.c)(m,null!==Bt&&void 0!==Bt?Bt:new Date,null!==Pt&&void 0!==Pt?Pt:new Date,t,"".concat(i," ").concat(c));case 15:e.next=21;break;case 17:e.prev=17,e.t0=e.catch(6),console.error(e.t0),C.current.show({severity:"error",summary:"Unable to download pipelines"});case 21:return e.prev=21,zt(!1),e.finish(21);case 24:case"end":return e.stop()}}),e,null,[[6,17,21,24]])})));return function(){return e.apply(this,arguments)}}();var Gt=r.a.useState(!1),Kt=Object(o.a)(Gt,2),qt=Kt[0],Xt=Kt[1],Zt=r.a.useState(""),Jt=Object(o.a)(Zt,2),_t=Jt[0],$t=Jt[1],en=r.a.useState(-1),tn=Object(o.a)(en,2),nn=tn[0],an=tn[1];var rn=["View only","Can manage"],cn=r.a.useState([]),on=Object(o.a)(cn,2),sn=(on[0],on[1]);r.a.useEffect((function(){V.a.get(Object(L.f)("/api/organization/admin",{useDedicatedEnvironment:!0}),Object(L.c)(m)).then((function(e){var t=e.data;sn(t)}))}),[]);var ln,dn,un=function(e){switch(e){case"Admin":return"Can manage";default:return"View only"}},pn=Ke.find((function(e){return Nt(e.publicUserId)===K.createdByCognitoId}));return Object(S.jsxs)("div",{children:[Object(S.jsx)(oe.OverlayPanel,{onHide:function(){P("Add new pipeline"),q(z),qe(z.users),_(""),me(""),F(!1),N(!1)},ref:Ue,showCloseIcon:!0,id:"overlay_panel",style:{left:"none",right:"0px !important",display:"flex !important"},children:Object(S.jsx)("div",{className:"side-panel-container",children:Object(S.jsxs)("div",{style:{width:"535px",height:"107vh"},children:[Object(S.jsx)("div",{className:"side-panel-header",children:Object(S.jsx)(ae.a,{text:R})}),Object(S.jsx)("div",{className:"tabview",children:Object(S.jsx)("div",{children:Object(S.jsxs)(de.TabView,{activeIndex:lt,onTabChange:function(e){N(1===e.index),dt(e.index)},children:[Object(S.jsx)(de.TabPanel,{header:"Details",children:Object(S.jsx)("div",{className:"p-grid text-labels",children:Object(S.jsxs)("div",{className:"p-col-12",style:{textAlign:"left"},children:[Object(S.jsxs)("div",{className:"p-col-12",children:[Object(S.jsx)(Ve,{htmlFor:"Title",children:"Title*"}),Object(S.jsx)(ce.InputText,{placeholder:"Title",className:"field-inputs",disabled:D&&"Admin"!==K.pipelineUserRole,defaultValue:J,style:{marginTop:8},onChange:function(e){e.preventDefault(),_(e.target.value)}})]}),Object(S.jsxs)("div",{className:"p-col-12",children:[Object(S.jsx)(Ve,{className:"field-titles",htmlFor:"Message",children:"Description"}),Object(S.jsx)(ue.InputTextarea,{value:je||K.description,placeholder:"Pipeline Description",disabled:D&&"Admin"!==K.pipelineUserRole,style:{width:"100%",marginTop:8},rows:5,cols:40,onChange:function(e){return me(e.target.value)}})]}),He?null:Object(S.jsxs)("div",{className:"p-col-12",children:[Object(S.jsx)(Ve,{className:"field-titles",htmlFor:"users",children:"Share With"}),Object(S.jsx)(pe.MultiSelect,{optionLabel:"label",filter:!0,disabled:D&&"Admin"!==K.pipelineUserRole,style:Object(u.a)(Object(u.a)({},ze.multiSelect),{},{marginTop:8}),placeholder:"share with",fixedPlaceholder:!0,value:Ke.map((function(e){return{firstName:e.firstName||e.lastName?e.firstName:e.email,lastName:e.lastName,publicUserId:Nt(e.publicUserId),pipelineUserRole:e.pipelineUserRole,email:e.email,label:e.label}})),options:xe.map((function(e){var t,n=Ke.find((function(t){return Nt(e.publicUserId)===Nt(t.publicUserId)}));return{firstName:e.firstName||e.lastName?e.firstName:e.email,lastName:e.lastName,email:e.email,label:e.label,publicUserId:Nt(e.publicUserId),pipelineUserRole:n?null!==(t=e.pipelineUserRole)&&void 0!==t?t:n.pipelineUserRole:"Member"}})),itemTemplate:function(e){var t;return Object(S.jsxs)("div",{className:"inner-list",children:[Ne(e.firstName||e.lastName?e.firstName:e.email)," ",Ne(null!==(t=e.lastName)&&void 0!==t?t:"")]},e.publicUserId)},onChange:function(e){return Et(e.value)}}),Object(S.jsx)("div",{style:ze.chipsContainer,children:Ke.filter((function(e){return Nt(e.publicUserId)!==K.createdByCognitoId})).map((function(e,t){var n;return Object(S.jsx)(be.a,{label:Ne(e.firstName&&e.lastName?e.firstName:e.email)+" "+Ne(null!==(n=e.lastName)&&void 0!==n?n:" "),onIconClick:function(){return D&&"Admin"!==K.pipelineUserRole?null:It(e,Ke)}},t)}))})]}),Object(S.jsxs)("div",{className:"p-col-12",children:[Object(S.jsx)("label",{children:"Preferences"}),Object(S.jsx)(ye,{pipelineId:K.id,GetSelectedCountries:function(e){_e(e)},GetSelectedSectors:function(e){nt(e)},GetPreferenecFilterType:function(e){ct(e)},GetSelectedKeywords:function(e){jt(e)},keywords:K.keywords,preferenceFType:K.preferenceFilterType,marketPreferences:K.marketPreferences,disabled:D&&"Admin"!==K.pipelineUserRole})]}),Object(S.jsx)("div",{className:"p-col-12",children:Object(S.jsx)("div",{className:"pipeline-save-button",children:Object(S.jsx)(we,{as:le.Button,delay:5e3,className:"modal-button",label:"Continue",onClick:function(){dt(1),N(!0)}})})})]})})}),Object(S.jsx)(de.TabPanel,{header:"Privacy",contentStyle:{textAlign:"left"},children:Object(S.jsxs)("div",{style:{paddingLeft:"1em",paddingTop:"1em"},children:[Object(S.jsxs)("div",{className:"field-radiobutton text-labels",children:[Object(S.jsx)(Se.RadioButton,{inputId:"private",name:"private",checked:Ke.filter((function(e){var t;return Nt(null===(t=m.user.parsedIdToken)||void 0===t?void 0:t.sub)!==K.createdByCognitoId||Nt(e.publicUserId)!==K.createdByCognitoId})).length<1,value:"private"}),Object(S.jsx)("label",{style:{paddingLeft:"5px",fontWeight:600},htmlFor:"private",children:"Private"}),Object(S.jsx)("p",{className:"radio-button-info",children:"Used for personal pipeline opportunities tracking"})]}),Object(S.jsxs)("div",{className:"field-radiobutton text-labels",children:[Object(S.jsx)(Se.RadioButton,{inputId:"public",name:"public",checked:Ke.filter((function(e){var t;return Nt(null===(t=m.user.parsedIdToken)||void 0===t?void 0:t.sub)!==K.createdByCognitoId||Nt(e.publicUserId)!==K.createdByCognitoId})).length>=1,value:"public"}),Object(S.jsx)("label",{style:{fontSize:"16px",paddingLeft:"5px",fontWeight:600},htmlFor:"private",children:"Shared"}),Object(S.jsxs)("p",{className:"radio-button-info",children:[" ","Multiple users can manage pipeline opportunities"]})]}),Object(S.jsxs)("div",{className:"pipeline-user-label",children:[Object(S.jsx)("label",{style:{fontSize:"16px",marginTop:"10px"},className:"field-titles",htmlFor:"pipeline members",children:"Pipeline Members"}),Object(S.jsx)("div",{className:"shared-with-total",children:"Shared with "+Ke.filter((function(e){return Nt(e.publicUserId)!==K.createdByCognitoId})).length+" Member"+(2!==Ke.filter((function(e){var t;return Nt(null===(t=m.user.parsedIdToken)||void 0===t?void 0:t.sub)!==K.createdByCognitoId||Nt(e.publicUserId)!==K.createdByCognitoId})).length?"s":"")})]}),Object(S.jsxs)("div",{className:"p-grid text-labels scroll",children:[Nt(null===(t=m.user.parsedIdToken)||void 0===t?void 0:t.sub)===K.createdByCognitoId&&pn&&Object(S.jsxs)(S.Fragment,{children:[Object(S.jsxs)("div",{style:{position:"relative",display:"flex",justifyContent:"space-between",alignItems:"center",width:"100%"},children:[Object(S.jsx)("div",{className:"pipeline-members",children:Object(S.jsx)("div",{children:Object(S.jsx)("p",{style:{width:"200px"},children:Object(S.jsxs)("strong",{children:[Nt(pn.firstName)," ",Nt(pn.lastName)]})})})}),Object(S.jsx)("div",{className:"pipeline-members privacy",children:Object(S.jsx)("span",{className:"owner",children:"Owner"})})]}),Object(S.jsx)(Qe,{})]}),r.a.Children.toArray(Ke.filter((function(e){var t;return Nt(null===(t=m.user.parsedIdToken)||void 0===t?void 0:t.sub)!==K.createdByCognitoId||Nt(e.publicUserId)!==K.createdByCognitoId})).map((function(e){return Object(S.jsxs)(S.Fragment,{children:[Object(S.jsxs)("div",{style:{position:"relative",display:"flex",justifyContent:"space-between",alignItems:"center",width:"100%"},children:[Object(S.jsxs)("div",{className:"pipeline-members",children:["Admin"===e.pipelineUserRole&&Object(S.jsxs)("div",{children:[Object(S.jsx)("p",{style:{width:"200px"},children:Object(S.jsxs)("strong",{children:[Nt(e.firstName)," ",Nt(e.lastName)]})}),Object(S.jsx)("span",{style:{width:200},children:e.email})]}),"Admin"!==e.pipelineUserRole&&Object(S.jsxs)("div",{children:[Object(S.jsx)("p",{children:Object(S.jsxs)("strong",{children:[Nt(e.firstName)," ",Nt(e.lastName)]})}),Object(S.jsx)("span",{style:{width:200,lineBreak:"anywhere"},children:e.email})]})]}),Nt(e.publicUserId)===K.createdByCognitoId?Object(S.jsx)("div",{className:"pipeline-members privacy",children:Object(S.jsx)("span",{className:"owner",children:"Owner"})}):Object(S.jsx)("div",{className:"pipeline-members privacy",children:Object(S.jsx)(Ie.Dropdown,{className:"role-dropdown",optionLabel:"role",placeholder:un(e.pipelineUserRole),disabled:D&&"Admin"!==K.pipelineUserRole,value:e.userRole,options:rn,valueTemplate:function(t){return null===t?un(e.pipelineUserRole):t},itemTemplate:function(e){return e},onChange:function(t){return function(e,t){var n=Ke.map((function(n){return e===n.publicUserId?Object(u.a)(Object(u.a)({},n),{},{userRole:t}):n}));qe(n)}(e.publicUserId,t.value)}})}),D&&"Admin"!==K.pipelineUserRole?null:Object(S.jsx)("div",{onClick:function(){return It(e,Ke)},className:"member-close-button",children:"X"})]}),Object(S.jsx)(Qe,{})]})})))]}),Object(S.jsxs)("div",{style:{display:"flex",justifyContent:"end",marginTop:20},children:[Object(S.jsx)(le.Button,{style:{marginRight:"10px"},className:"modal-button",label:"Cancel",onClick:function(){var e;return null===(e=Ue.current)||void 0===e?void 0:e.hide()}}),Object(S.jsx)(we,{disabled:D&&"Admin"!==K.pipelineUserRole,as:le.Button,delay:5e3,className:"modal-button",label:"Save",onClick:Object(d.a)(l.a.mark((function e(){return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!D){e.next=6;break}return e.next=3,St();case 3:e.t0=e.sent,e.next=9;break;case 6:return e.next=8,wt();case 8:e.t0=e.sent;case 9:return e.abrupt("return",e.t0);case 10:case"end":return e.stop()}}),e)})))})]})]})})]})})})]})})}),Object(S.jsx)(Pe.a,{open:qt,onClose:function(){Xt(!1),setTimeout((function(){$t(""),an(-1)}),150)},PaperProps:{sx:{borderRadius:"20px",p:2}},children:Object(S.jsxs)(v.a,{className:"soft-delete-pipeline",children:[Object(S.jsx)(v.a,{sx:{display:"flex",justifyContent:"flex-end"},children:Object(S.jsx)(Me.a,{onClick:function(){Xt(!1),setTimeout((function(){$t(""),an(-1)}),150)},children:Object(S.jsx)(Le.a,{})})}),Object(S.jsx)("p",{className:"soft-main-text",children:"Deleted pipelines"===i?Object(S.jsxs)(S.Fragment,{children:["Are you sure you want to delete the"," ",Object(S.jsxs)("b",{children:["\u201c",_t,"\u201d"]})," pipeline permanently?"]}):Object(S.jsxs)(S.Fragment,{children:["Are you sure you want to delete the"," ",Object(S.jsxs)("b",{children:["\u201c",_t,"\u201d"]})," pipeline?"]})}),"Deleted pipelines"!==i&&Object(S.jsxs)("p",{className:"soft-sub-text",children:["Pipeline will be moved to ",Object(S.jsx)("span",{children:"deleted pipelines"})," tab, you can restore it, or delete it permanently."]}),"Deleted pipelines"===i&&Object(S.jsx)("p",{className:"soft-main-text error",children:"This action can't be undone."}),Object(S.jsxs)("div",{className:"soft-delete-btns",children:[Object(S.jsx)("button",{onClick:function(){Xt(!1),$t(""),an(-1)},children:"Cancel"}),Object(S.jsx)("button",{className:"delete-btn",style:{width:"Deleted pipelines"===i?236:120},onClick:function(){c(nn),Xt(!1),$t(""),an(-1)},children:"Deleted pipelines"===i?"Delete Permanently":"Delete"})]})]})}),Object(S.jsxs)("div",{style:{marginBottom:"10px"},children:[" ",Object(S.jsx)(ae.b,{text:i})]}),Object(S.jsx)(Ee.a,{dialogHeader:ht,isVisible:!!vt,dialogText:vt,setDialogVisible:function(e){e||(Ot(""),yt(""))}}),Object(S.jsx)(ke.a,{utils:Re.a,children:Object(S.jsx)(We,{children:Object(S.jsxs)(oe.OverlayPanel,{ref:kt,style:{width:"390px",display:"flex !important"},className:"side-panel-downloadopportunities",children:[Object(S.jsxs)("div",{children:[Object(S.jsx)("p",{children:"From:"}),Object(S.jsx)(Te.a,{disableToolbar:!0,variant:"inline",format:"MM/dd/yyyy",value:null!==Pt&&void 0!==Pt?Pt:new Date,onError:function(e){return null},onChange:function(e){return Mt(e)},style:{marginLeft:10},KeyboardButtonProps:{"aria-label":"change date"}})]}),Object(S.jsxs)("div",{children:[Object(S.jsx)("p",{children:"To:"}),Object(S.jsx)(Te.a,{disableToolbar:!0,variant:"inline",format:"MM/dd/yyyy",value:null!==Bt&&void 0!==Bt?Bt:new Date,onError:function(e){return null},onChange:function(e){return Vt(e)},style:{marginLeft:10},KeyboardButtonProps:{"aria-label":"change date"}})]}),Object(S.jsx)(le.Button,{disabled:Ht,onClick:Yt,className:"button-downloadopportunities",label:"Download"})]})})}),Object(S.jsxs)(ne.DataTable,{value:(dn=n,dn.filter((function(e){return e.name.toLowerCase().indexOf(g.toLowerCase())>-1||e.description.toLowerCase().indexOf(g.toLowerCase())>-1||e.createdOnUtc.toLowerCase().indexOf(g.toLowerCase())>-1}))),globalFilter:g,first:Q,scrollable:!0,scrollHeight:"400px",totalRecords:n.length,header:Ft,rows:10,resizableColumns:!0,columnResizeMode:"expand",paginator:!0,paginatorTemplate:"FirstPageLink PrevPageLink PageLinks NextPageLink LastPageLink CurrentPageReport RowsPerPageDropdown",currentPageReportTemplate:"Showing {first} to {last} of {totalRecords} entries",rowsPerPageOptions:[5,10,20,25,30],className:"My Pipelines"===i?"format-table-cells my-pipelines":"format-table-cells",children:[Object(S.jsx)(re.Column,{headerStyle:M.headerStyle(250),style:M.columnStyle(70),bodyClassName:"source",header:"Title",field:"name",className:"justify-left-columns",exportable:!0,body:(ln=function(e){return Object(S.jsx)("div",{style:{display:"flex"},children:Object(S.jsx)("p",{style:{padding:"10px",color:"#197AB5",textDecoration:"underline",fontWeight:600,cursor:"pointer"},onClick:function(){var t;q(e),t=e,He?C.current.show({severity:"error",summary:Object(S.jsxs)("p",{children:["You don't have access to this feature with your current subscription plan,"," ",f?"contact your organizations' administrator to upgrade":Object(S.jsx)("a",{href:"/tiers",children:" Upgrade"})," ","to view pipeline details"]}),life:1e4,closable:!0}):W.push("pipeline/".concat(t.id),t)},children:e.name})})},function(e){return Object(S.jsx)("div",{children:ln(e)})})}),b&&Object(S.jsx)(re.Column,{headerStyle:M.headerStyle(350),style:M.columnStyle(30),bodyClassName:"source",header:"Description",field:"description",className:"cell-data",exportable:!0}),Object(S.jsx)(re.Column,{headerStyle:M.headerStyle(200),style:M.columnStyle(200),bodyClassName:"source",header:"Country",field:"country",body:function(e){var t=e.marketPreferences.filter((function(e){return e.preferenceType==ge.country.toString()}));return Object(S.jsx)("div",{className:"countries",style:{fontWeight:600,cursor:"pointer",justifyContent:t.length>3?"center":"left"},onClick:function(){t.length>3&&(Ot("Countries"),yt(t.map((function(e){return" "+e.name})).toString()))},children:t.length>3?t.length+" Selected..":t.map((function(e,t){return Object(S.jsx)("p",{style:{margin:"0px"},className:"selected-countries",children:"USAID"===e.name||"agency for international development"===e.name.toLocaleLowerCase()?"Agency for International Development":e.name},t)}))})},exportable:!0}),Object(S.jsx)(re.Column,{headerStyle:M.headerStyle(200),style:M.columnStyle(300),bodyClassName:"source",header:"Sector",field:"sector",body:function(e){var t=e.marketPreferences.filter((function(e){return e.preferenceType==ge.technicalSector.toString()}));return Object(S.jsx)("div",{className:"countries",style:{fontWeight:600,cursor:"pointer",justifyContent:t.length>3?"center":"left"},onClick:function(){t.length>3&&(Ot("Sectors"),yt("")))},children:t.length>3?t.length+" Selected..":t.map((function(e,t){return Object(S.jsx)("p",{style:{margin:"4px"},className:"selected-countries",children:e.name},t)}))})},exportable:!0}),Object(S.jsx)(re.Column,{headerStyle:M.headerStyle(150),style:M.columnStyle(150),bodyClassName:"source",header:"Opportunities",field:"totalOpportunities",body:function(e){return Object(S.jsx)("div",{className:"center-cell-content",children:Object(S.jsx)("p",{style:{textAlign:"My Pipelines"===i?"left":"center",color:"#197ab5",textDecoration:"underline"},children:e.totalOpportunities})})},exportable:!0}),b&&Object(S.jsx)(re.Column,{headerStyle:M.headerStyle(150),style:M.columnStyle(30),bodyClassName:"source",header:"Owner",field:"source",body:function(e){var t=e.users.filter((function(t){return Nt(t.publicUserId)===Nt(e.createdByCognitoId)}));return Object(S.jsx)("div",{style:{padding:10},children:t.map((function(e,t){return Object(S.jsxs)("p",{id:e.publicUserId,children:[e.firstName,"",e.lastName]},t)}))})},exportable:!0}),b&&Object(S.jsx)(re.Column,{headerStyle:M.headerStyle(150),style:M.columnStyle(30),bodyClassName:"source",header:"Privacy",body:function(e){e.users.filter((function(e){return"Admin"!==e.pipelineUserRole}));var t=e.users.length>1?"Shared with "+(e.users.length-1)+" Member(s)":"Private";return Object(S.jsx)("div",{className:"center-cell-content",style:{padding:10},children:Object(S.jsxs)("p",{children:[" ",t]})})},exportable:!0}),b&&Object(S.jsx)(re.Column,{headerStyle:M.headerStyle(150),style:M.columnStyle(30),className:"center-cell-content",bodyClassName:"source",header:"Created at",field:"source",exportable:!0,body:function(e){var t=e.createdOnUtc.split("T")[0];return Object(S.jsx)("div",{style:{padding:10},children:t})}}),!He&&Object(S.jsx)(re.Column,{headerStyle:M.headerStyle(150),header:"Actions",bodyStyle:{textAlign:"center",overflow:"visible"},body:function(e){return Object(S.jsx)(S.Fragment,{children:Object(S.jsxs)("div",{className:"admin-action-buttons",children:["Deleted pipelines"!==i&&Object(S.jsx)(le.Button,{style:{cursor:"pointer"},className:"admin-action-button",onClick:function(t){!function(e,t){q(e),_e(e.marketPreferences.filter((function(e){if(e.preferenceType===ge.country.toString())return e}))),nt(e.marketPreferences.filter((function(e){if(e.preferenceType===ge.technicalSector.toString())return e}))),H(e.users),qe(e.users),P(e.name),_(e.name),me(e.description),N(!0),F(!0),ct(e.preferenceFilterType),ve(xe),Ue&&Ue.current&&Ue.current.toggle(t)}(e,t),N(!1),dt(0)},children:Object(S.jsx)("span",{className:"btn-lab",children:"Edit"})}),"Admin"===e.pipelineUserRole&&Object(S.jsxs)(S.Fragment,{children:[Object(S.jsx)("p",{onClick:function(){Xt(!0),$t(e.name),an(e.id)},children:"Delete"}),"Deleted pipelines"===i&&Object(S.jsx)("p",{onClick:function(){return s(e.id)},children:"Restore"})]})]})})}})]})]})},Ke=(n(1144),n(1145),n(669),n(335),n(1240),n(1241),n(670)),qe=n(1360),Xe=n(1502),Ze={logo:n(506).default,yellowAirplane:n(1242).default,blueAirplane:n(1243).default,scottIcon:n(1244).default,mikeIcon:n(1245).default,logoIcon:n(236).default,clockIcon:n(1246).default,aidPreviewIcon:n(1247).default,optionIcon1:n(1248).default,optionIcon2:n(1249).default,commasIcon:n(1250).default,aidWebsites:n(1251).default,envelope:n(1252).default,firstPerson:n(1253).default,secondPerson:n(1254).default,thirdPerson:n(1255).default,geopollIcon:n(1256).default,geopollPersonIcon:n(1257).default,enviromentIcon:n(1258).default,enviromentPersonIcon:n(1259).default,arizonaIcon:n(1260).default,arizonaPersonIcon:n(1261).default,adamIcon:n(1262).default,adamPersonIcon:n(1263).default,ocdcIcon:n(1264).default,ocdcLuAnnAvatar:n(1265).default},Je=[{img:n(1266).default,href:"https://ceresenvironmental.com/"},{img:n(1267).default,href:"https://apexconsulting-me.com/"},{img:n(1268).default,href:"https://www.ecodit.com/"},{img:n(1269).default,href:"https://www.engenderhealth.org/"},{img:n(1270).default,href:"https://globalcommunities.org/"},{img:n(1271).default,href:"https://www.ideglobal.org/"},{img:n(1272).default,href:"https://marketshareassociates.com/"},{img:n(1273).default,href:"https://air.org/"},{img:n(1274).default,href:null},{img:n(1275).default,href:null},{img:n(1276).default,href:null},{img:n(1277).default,href:null},{img:n(1278).default,href:"https://ocdc.coop/"}],_e=[{icon1:Ze.geopollIcon,icon2:Ze.geopollPersonIcon,comment:"\u201c AidKonekt's platform offers GeoPoll a real-time portal to planned and active global solicitations from USAID, State and the MCC where we can proactively reach out and engage prospective primes and share what we can bring to their RFP/ RFA responses. \u201c",personName:"Scott Lansell",personPosition:"VP for International Development and Relief"},{icon1:Ze.enviromentIcon,icon2:Ze.enviromentPersonIcon,comment:"\u201cAidkonekt keeps us ahead of the curve\u2014it\u2019s a one stop shop that integrates crucial resources for tracking USAID opportunities. By seamlessly integrating crucial resources from USAID forecasts to local compensation plans, AidKonekt saves us countless hours we previously spent navigating various websites and significantly enhances our strategic planning and team collaboration. It\u2019s our go-to hub for everything USAID, streamlining our processes and enabling us to focus on crafting winning proposals\u201c",personName:"Chetna Chandrasekaran",personPosition:"BD and Marketing Lead, EI"},{icon1:Ze.arizonaIcon,icon2:Ze.arizonaPersonIcon,comment:"\u201cI use Aidkonekt first thing every day to check grants and contracts solicitations and new updates to the business forecast. I also use the project and data database to do research and where needed, it\u2019s handy to have the CDCS and FSN salary scale library.\u201d",personName:"Eric Bergthold",personPosition:"Executive Director, Office of International Development at University of Arizona"},{icon1:Ze.adamIcon,icon2:Ze.adamPersonIcon,comment:"\u201c We are able to partner better. AidKonekt's suggested primes are very helpful to build our initial partner outreach list for prime partnering. AidKonekt makes it really easy to find information on which primes are implementing projects in a certain country. \u201d",personName:"Megan Vetter",personPosition:"Africa Manager, Adam Smith"},{icon1:Ze.ocdcIcon,icon2:Ze.ocdcLuAnnAvatar,comment:"\u201cU.S. Overseas Cooperative Development Council (OCDC) is a small team, AidKonekt saves staff time by streamlining USAID market research and helping us identify partners to cultivate.\u201c",personName:"LuAnn Werner",personPosition:"Deputy Executive Director, U.S. Overseas Cooperative Development Council "}],$e=function(e){var t=e.title,n=e.options;return Object(S.jsx)("li",{children:Object(S.jsxs)("div",{className:"list-item",children:[Object(S.jsx)("span",{children:t}),Object(S.jsxs)("div",{children:[3==n&&Object(S.jsx)("div",{className:"option-icon-container",children:Object(S.jsx)("img",{src:Ze.optionIcon1,alt:"option-icon"})}),n>=2&&Object(S.jsx)("div",{className:"option-icon-container",children:Object(S.jsx)("img",{src:Ze.optionIcon1,alt:"option-icon"})}),Object(S.jsx)("div",{className:"option-icon-container",children:Object(S.jsx)("img",{src:Ze.optionIcon2,alt:"option-icon"})})]})]})})},et=function(){var e={footerButton:{width:"100%",maxWidth:380,height:100,borderRadius:10,color:"#367FB6",padding:"18px 60px",backgroundColor:"#ECAC37"},logo:{height:"40px"}},t=Object(a.useState)(""),n=Object(o.a)(t,2),i=n[0],c=n[1],s=r.a.useState(!0),l=Object(o.a)(s,2),d=l[0],p=l[1],b=r.a.useState(0),j=Object(o.a)(b,2),m=j[0],f=j[1],h=r.a.useCallback((function(e,t){f(e)}),[]);return r.a.useEffect((function(){window.addEventListener("resize",(function(){p(!1),setTimeout((function(){return p(!0)}),100)}))})),Object(S.jsxs)("div",{className:"landing",children:[Object(S.jsx)("section",{className:"header",children:Object(S.jsxs)("div",{className:"header-content",children:[Object(S.jsx)("div",{className:"logo",children:Object(S.jsx)("img",{style:e.logo,src:Ze.logo,alt:"logo"})}),Object(S.jsxs)("div",{className:"header-button-container",children:[Object(S.jsx)("div",{className:"header-button",children:Object(S.jsx)("div",{children:Object(S.jsx)("button",{onClick:function(){return window.open("https://calendly.com/aidkonekt-usaid-data/15-min-aidkonekt-intro-call","_blank")},children:"Schedule a Demo"})})}),Object(S.jsx)("div",{className:"header-button",children:Object(S.jsx)("div",{children:Object(S.jsx)("button",{onClick:function(){return window.open("auth","_blank")},children:"Get Your Free Account"})})})]})]})}),Object(S.jsx)("section",{className:"top-line-block build",children:Object(S.jsxs)("div",{className:"top-line-inner",children:[Object(S.jsxs)("div",{children:[Object(S.jsxs)("h1",{children:["Build your pipeline with",Object(S.jsx)("br",{}),"AidKonekt"]}),Object(S.jsx)("div",{className:"line"}),Object(S.jsx)("span",{children:"USAID Biz Dev Intel software. AidKonekt is the online platform that monitors and provides updates on USAID forecasted opportunities, and pipelines for grants and contracts. AidKonekt also allows you to search past procurements, reports and assessments, and project data, in addition to USAID country, sector, and competitor insight.AidKonekt was designed by USAID business development specialists who know how USAID partners need to see procurement and market intel data. We streamline pipeline monitoring and accelerate competitor and market research, so your team can focus on high value tasks like partnering, recruitment and proposal development, not refreshing government websites."})]}),Object(S.jsx)("img",{src:Ze.yellowAirplane,alt:"yellow-airplane"})]})}),Object(S.jsxs)("section",{className:"comments-section",children:[Object(S.jsx)("h2",{children:"Why our clients trust AidKonekt"}),Object(S.jsx)("div",{className:"slider-container",children:d&&Object(S.jsx)(Ke.a,{containerProps:{style:{userSelect:"none"},className:"slider-component"},preventScrollOnSwipe:!0,disableSwipeByTouch:!0,disableSwipeByMouse:!0,centerMode:!0,autoplay:!0,autoplayDelay:4500,swipeTreshold:10,activeSlideIndex:m,activeSlideProps:{className:"active-slide"},onRequestChange:h,itemsToShow:screen.width<800?1:3,itemsToScroll:1,speed:1e3,children:_e.map((function(e){return Object(S.jsx)("div",{className:"comments-card-container",children:Object(S.jsxs)("div",{className:"comments-card",children:[Object(S.jsxs)("div",{className:"comments-content-container",children:[Object(S.jsx)("img",{src:e.icon1,alt:""}),Object(S.jsx)("span",{children:e.comment})]}),Object(S.jsxs)("div",{className:"comments-person",children:[e.icon2?Object(S.jsx)("img",{src:e.icon2,alt:""}):Object(S.jsx)(qe.a,{sx:{height:"50px !important",width:"50px !important"},children:e.personName.split(" ").map((function(e){return e[0].toUpperCase()}))}),Object(S.jsxs)("div",{className:"comments-person-data",children:[Object(S.jsx)("span",{children:e.personName}),Object(S.jsx)("span",{children:e.personPosition})]})]})]})})}))})})]}),Object(S.jsx)("section",{className:"mike-section",children:Object(S.jsxs)("div",{className:"mike-block",children:[Object(S.jsx)("img",{src:Ze.mikeIcon,alt:"scott-icon"}),Object(S.jsxs)("div",{children:[Object(S.jsx)("h3",{children:"Why AidKonekt?"}),Object(S.jsx)("p",{children:"AidKonekt was developed by Mike Shanley, Founder & CEO to meet a recognized need within the USAID Market. Throughout his development career, Mike observed the time and resource intensive nature of USAID Business Development and its limiting effects on organizations' goals for implementation and impact. AidKonekt allows organizations to streamline USAID procurement monitoring and market research, lower USAID business development costs, and create accessible pathways for new partners to enter the market."})]})]})}),Object(S.jsx)("section",{className:"opportunities-section",children:Object(S.jsxs)("div",{className:"opportunities-block",children:[Object(S.jsxs)("div",{children:[Object(S.jsx)("h3",{children:"Bid on more opportunities more efficiently."}),Object(S.jsx)("p",{children:"AidKonekt is the only comprehensive platform targeted exclusively to USAID Business Development teams."})]}),Object(S.jsx)("img",{src:Ze.clockIcon,alt:"logo-icon"})]})}),Object(S.jsxs)("section",{className:"top-line-block partners",children:[Object(S.jsx)("h3",{children:"Join the growing list of USAID partners"}),Object(S.jsx)("span",{children:"streamlining their USAID business development work with AidKonekt!"}),Object(S.jsx)(Xe.a,{container:!0,spacing:1,marginTop:2,children:Je.map((function(e,t){return Object(S.jsx)(Xe.a,{item:!0,xl:2.4,lg:3,md:4,sm:6,xs:12,sx:{height:"180px",display:"flex"},children:Object(S.jsx)("a",Object(u.a)(Object(u.a)({},e.href&&{href:e.href,target:"_blank",rel:"noreferrer noopener"}),{},{style:{display:"flex",flex:1,justifyContent:"center",alignItems:"center"},children:Object(S.jsx)("img",{src:e.img,alt:"logo-".concat(t+1),style:{maxHeight:"155px",width:"inherit"}})}))})}))})]}),Object(S.jsxs)("section",{className:"what-is-section",children:[Object(S.jsx)("h2",{children:"What is AidKonekt?"}),Object(S.jsxs)("div",{className:"what-is-block",children:[Object(S.jsxs)("div",{className:"what-is-list",children:[Object(S.jsxs)("div",{className:"what-is-item",children:[Object(S.jsx)("h5",{children:"Automated Tasks"}),Object(S.jsx)("span",{children:"Save time, bid more"})]}),Object(S.jsxs)("div",{className:"what-is-item",children:[Object(S.jsx)("h5",{children:"Better Data"}),Object(S.jsx)("span",{children:"Improving the resources you already use"})]}),Object(S.jsxs)("div",{className:"what-is-item",children:[Object(S.jsx)("h5",{children:"Earlier Intel"}),Object(S.jsx)("span",{children:"Stay ahead of the curve"})]})]}),Object(S.jsx)("img",{src:Ze.aidPreviewIcon,alt:"aid-preview-icon"})]})]}),Object(S.jsxs)("section",{className:"about-how",children:[Object(S.jsx)("div",{className:"title-container",children:Object(S.jsx)("div",{className:"title",children:Object(S.jsx)("h2",{children:"How Can AidKonekt Work For You?"})})}),Object(S.jsxs)("div",{className:"levels-container",children:[Object(S.jsxs)("div",{className:"level-card",children:[Object(S.jsx)("div",{className:"level-img",children:Object(S.jsx)("img",{src:Ze.firstPerson,alt:"person-1"})}),Object(S.jsx)("div",{className:"level-content",children:Object(S.jsxs)("div",{className:"privilege-list",children:[Object(S.jsx)("h3",{children:"New USAID Partner"}),Object(S.jsx)("p",{children:"Quickly learn how to monitor the USAID market, identify partners and learn best practices in minutes every day."})]})})]}),Object(S.jsxs)("div",{className:"level-card",children:[Object(S.jsx)("div",{className:"level-img adapt",children:Object(S.jsx)("img",{src:Ze.thirdPerson,alt:"person-3"})}),Object(S.jsx)("div",{className:"level-content",children:Object(S.jsxs)("div",{className:"privilege-list",children:[Object(S.jsx)("h3",{children:"USAID Subrecipient"}),Object(S.jsx)("p",{children:"Manage your pipeline in minutes daily, identify partners and learn how to leverage new tools/resources."})]})}),Object(S.jsx)("div",{className:"level-img",children:Object(S.jsx)("img",{src:Ze.thirdPerson,alt:"person-3"})})]}),Object(S.jsxs)("div",{className:"level-card",children:[Object(S.jsx)("div",{className:"level-img",children:Object(S.jsx)("img",{src:Ze.secondPerson,alt:"person-2"})}),Object(S.jsx)("div",{className:"level-content",children:Object(S.jsxs)("div",{className:"privilege-list",children:[Object(S.jsx)("h3",{children:"USAID Prime"}),Object(S.jsx)("p",{children:"Streamline time-consuming tasks and searches, train new employees easily."})]})})]})]}),Object(S.jsx)("div",{className:"aside-img blue-airplane",children:Object(S.jsx)("img",{src:Ze.blueAirplane,alt:"blue-airplane"})})]}),Object(S.jsxs)("section",{className:"tasks",children:[Object(S.jsx)("div",{className:"title-container",children:Object(S.jsx)("div",{className:"title",children:Object(S.jsx)("h2",{children:"Why AidKonekt is the right solution for USAID business development"})})}),Object(S.jsx)("div",{className:"tasks-cards-container",children:Object(S.jsxs)("div",{className:"tasks-cards-container-content",children:[Object(S.jsx)("div",{className:"task-card",children:Object(S.jsx)("span",{children:"Designed by and for USAID Business Development specialists."})}),Object(S.jsx)("div",{className:"task-card",children:Object(S.jsx)("span",{children:"User friendly interface helps teams streamline their partnering processes."})}),Object(S.jsx)("div",{className:"task-card",children:Object(S.jsx)("span",{children:"Delivers clear data on current, future, and historical USAID procurements."})}),Object(S.jsx)("div",{className:"task-card",children:Object(S.jsx)("span",{children:"Customizable pipeline and notification system."})}),Object(S.jsx)("div",{className:"task-card",children:Object(S.jsx)("span",{children:"Quickly search and share 100,000s of USAID procurement and project documents."})}),Object(S.jsx)("div",{className:"task-card",children:Object(S.jsx)("span",{children:"Partner and capture research in minutes, rather than days"})})]})}),Object(S.jsx)("div",{className:"exclusive-block",children:Object(S.jsx)("div",{className:"exclusive",children:Object(S.jsx)("p",{children:"Other platforms tell you what's happening today. AidKonekt does this and more by also preparing you for what may be coming up next. It's the difference between knowing the weather today, and knowing the weather a year from now."})})})]}),Object(S.jsx)("section",{className:"comment-section",children:Object(S.jsxs)("div",{className:"comment-block",children:[Object(S.jsx)("p",{children:"\u201cI save hours every week by using AidKonekt because it aggregates multiple websites small and large businesses use to track opportunities with USAID, MCC, and the State Dept. I'm able to work with my team more efficiently with a shared space to track our progress against our business development goals.\u201d"}),Object(S.jsxs)("div",{children:[Object(S.jsx)("b",{children:"Chetna Chandrasekaran"}),Object(S.jsx)("span",{children:"Lead, Business Development and Marketing, Environmental Incentives"})]})]})}),Object(S.jsxs)("section",{className:"plan-section",children:[Object(S.jsx)("div",{className:"websites-images",children:Object(S.jsx)("img",{src:Ze.aidWebsites,alt:"aid-websites"})}),Object(S.jsxs)("div",{className:"desktop-view",children:[Object(S.jsxs)("div",{className:"plan-block",children:[Object(S.jsx)("span",{children:"Find the right plan for you"}),Object(S.jsxs)("div",{className:"plans",children:[Object(S.jsx)("div",{className:"free-plan",children:Object(S.jsx)("h5",{children:"Free"})}),Object(S.jsxs)("div",{className:"plus-plan",children:[Object(S.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:Object(S.jsx)("path",{d:"M19 11H13V5C13 4.73478 12.8946 4.48043 12.7071 4.29289C12.5196 4.10536 12.2652 4 12 4C11.7348 4 11.4804 4.10536 11.2929 4.29289C11.1054 4.48043 11 4.73478 11 5V11H5C4.73478 11 4.48043 11.1054 4.29289 11.2929C4.10536 11.4804 4 11.7348 4 12C4 12.2652 4.10536 12.5196 4.29289 12.7071C4.48043 12.8946 4.73478 13 5 13H11V19C11 19.2652 11.1054 19.5196 11.2929 19.7071C11.4804 19.8946 11.7348 20 12 20C12.2652 20 12.5196 19.8946 12.7071 19.7071C12.8946 19.5196 13 19.2652 13 19V13H19C19.2652 13 19.5196 12.8946 19.7071 12.7071C19.8946 12.5196 20 12.2652 20 12C20 11.7348 19.8946 11.4804 19.7071 11.2929C19.5196 11.1054 19.2652 11 19 11Z",fill:"#197AB5"})}),Object(S.jsx)("h5",{children:"Plus"})]}),Object(S.jsxs)("div",{className:"pro-plan",children:[Object(S.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:Object(S.jsx)("path",{d:"M19.89 9.5498C19.8069 9.38488 19.6797 9.2462 19.5226 9.14912C19.3656 9.05204 19.1847 9.00036 19 8.9998H14V2.9998C14.0107 2.78048 13.949 2.56373 13.8243 2.383C13.6996 2.20227 13.5188 2.06761 13.31 1.9998C13.1092 1.93374 12.8927 1.933 12.6914 1.99768C12.4902 2.06236 12.3147 2.18913 12.19 2.3598L4.18998 13.3598C4.08975 13.5047 4.02956 13.6734 4.01551 13.849C4.00147 14.0246 4.03406 14.2008 4.10998 14.3598C4.17991 14.5415 4.30137 14.6989 4.45947 14.8126C4.61757 14.9263 4.80543 14.9914 4.99998 14.9998H9.99998V20.9998C10.0001 21.2107 10.067 21.4161 10.1909 21.5867C10.3148 21.7574 10.4895 21.8844 10.69 21.9498C10.7905 21.9809 10.8948 21.9978 11 21.9998C11.1578 22.0002 11.3134 21.9633 11.4542 21.892C11.595 21.8208 11.7169 21.7172 11.81 21.5898L19.81 10.5898C19.9177 10.4406 19.9822 10.2646 19.9963 10.0811C20.0104 9.89756 19.9736 9.71373 19.89 9.5498ZM12 17.9198V13.9998C12 13.7346 11.8946 13.4802 11.7071 13.2927C11.5196 13.1052 11.2652 12.9998 11 12.9998H6.99998L12 6.0798V9.9998C12 10.265 12.1053 10.5194 12.2929 10.7069C12.4804 10.8944 12.7348 10.9998 13 10.9998H17L12 17.9198Z",fill:"#EEAD24"})}),Object(S.jsx)("h5",{children:"Pro"})]})]})]}),Object(S.jsxs)("div",{className:"plan-description-block",children:[Object(S.jsx)("h5",{children:"USAID Market Pipeline"}),Object(S.jsxs)("ul",{className:"usaid-list",children:[Object(S.jsx)($e,{title:"View recent USAID forecast changes",options:3}),Object(S.jsx)($e,{title:"View actual historical changes to each USAID Business Forecast opportunity",options:2}),Object(S.jsx)($e,{title:"View Suggested Primes and Partners on the Forecast+ feed",options:2}),Object(S.jsx)($e,{title:"Build, manage, and monitor pipeline updates for your USAID forecast, grants, and contracts opportunities",options:2}),Object(S.jsx)($e,{title:"Collaborate with your team to share, monitor and track new opportunities and changes on the forecast, sam.gov and grants.gov",options:2}),Object(S.jsx)($e,{title:"Add notes for your team on each forecasted opportunity",options:2}),Object(S.jsx)($e,{title:"Export your pipeline in Excel files",options:2}),Object(S.jsx)($e,{title:"Share USAID forecast, contracts, and grants opportunities with your AidKonekt team members via email",options:2}),Object(S.jsx)($e,{title:"Easily share attachments from Grants+ and Contracts+ Feeds",options:2}),Object(S.jsx)($e,{title:"View USAID Market Events Calendar with RSVP links",options:2}),Object(S.jsx)($e,{title:"Weekly USAID Pipeline Email Digest Updates (all pipeline changes and new opportunities in one email)",options:2}),Object(S.jsx)($e,{title:"Daily USAID Pipeline Email Digest Updates (all pipeline changes and new opportunities in one email)",options:1})]})]}),Object(S.jsxs)("div",{className:"plan-description-block",children:[Object(S.jsx)("h5",{children:"Capture/Market Intel"}),Object(S.jsxs)("ul",{className:"usaid-list",children:[Object(S.jsx)($e,{title:"Create USAID project reports filtered by country, sector, or competitor.",options:1}),Object(S.jsx)($e,{title:"Search for local partners and Key Personnel candidates",options:1}),Object(S.jsx)($e,{title:"Project reports feature to quickly export current projects and project closing reports.",options:1}),Object(S.jsx)($e,{title:'Export "Projects Closing" reports for your target USAID markets',options:1}),Object(S.jsx)($e,{title:"See recently awarded USAID projects",options:1}),Object(S.jsx)($e,{title:"Quickly search and access 300,000+ USAID reports, evaluations and assessments from DEC",options:1}),Object(S.jsx)($e,{title:"Projects closing export for any USAID country (see which USAID projects close next)",options:1}),Object(S.jsx)($e,{title:"Export current and historical USAID project, Foreign Assistance and DEC report searches",options:1}),Object(S.jsx)($e,{title:"Access AidKonekt USAID Market Resources, Local Compensation Plan Archive, Initial Environmental Examination Archive, and Webinar Archive",options:1})]})]})]}),Object(S.jsxs)("div",{className:"mobile-view",children:[Object(S.jsxs)("div",{className:"mobile-plan-card pro",children:[Object(S.jsx)("h4",{children:"Pro"}),Object(S.jsx)("p",{children:"Capture research in minutes, not days."}),Object(S.jsxs)("ul",{children:[Object(S.jsx)("li",{children:"USAID Pipelines"}),Object(S.jsx)("li",{children:"News and Updates"}),Object(S.jsx)("li",{children:"Capture Market Research"})]}),Object(S.jsx)("button",{onClick:function(){return c("pro")},children:"View Features"})]}),Object(S.jsxs)("div",{className:"mobile-plan-card plus",children:[Object(S.jsx)("h4",{children:"Plus"}),Object(S.jsx)("p",{children:"Automate monitoring of your USAID pipeline"}),Object(S.jsxs)("ul",{children:[Object(S.jsx)("li",{children:"USAID Pipelines"}),Object(S.jsx)("li",{children:"News and Updates"})]}),Object(S.jsx)("button",{onClick:function(){return c("plus")},children:"View Features"})]}),Object(S.jsxs)("div",{className:"mobile-plan-card free",children:[Object(S.jsx)("h4",{children:"Free"}),Object(S.jsx)("p",{children:"Check in daily to see Forecast changes"}),Object(S.jsx)("ul",{children:Object(S.jsx)("li",{children:"USAID Pipelines"})}),Object(S.jsx)("button",{onClick:function(){return c("free")},children:"View Features"})]})]})]}),"pro"===i&&Object(S.jsxs)("div",{className:"mobile-plan-view",children:[Object(S.jsx)("h4",{children:"Find The Right Plan For You!"}),Object(S.jsxs)("div",{className:"mobile-plan-view-card pro",children:[Object(S.jsx)("span",{className:"back-btn",onClick:function(){return c("")},children:"Back to Plans"}),Object(S.jsxs)("div",{children:[Object(S.jsx)("h4",{children:"Pro"}),Object(S.jsx)("h5",{children:"Capture research in minutes, not days."}),Object(S.jsxs)("div",{className:"mobile-plan-view-card-list",children:[Object(S.jsx)("p",{children:"USAID Pipelines"}),Object(S.jsxs)("ul",{children:[Object(S.jsx)("li",{children:Object(S.jsx)("span",{children:"Create and monitor your team's proprietary business forecast activity/changes feed"})}),Object(S.jsx)("li",{children:Object(S.jsx)("span",{children:"View Suggested Primes and Partners on the Forecast+ feed"})}),Object(S.jsx)("li",{children:Object(S.jsx)("span",{children:"Easily share attachments f rom Grants+ and Contracts+ Feeds"})}),Object(S.jsx)("li",{children:Object(S.jsx)("span",{children:"Keyword search historical USAID grants and contracts attachments by file names"})}),Object(S.jsx)("li",{children:Object(S.jsx)("span",{children:"Search, access, and collaborate on opportunities with your team"})}),Object(S.jsx)("li",{children:Object(S.jsx)("span",{children:"Build, manage, and monitor pipeline updates for your USAID forecast, grants, and contracts opportunities"})}),Object(S.jsx)("li",{children:Object(S.jsx)("span",{children:"View historical changes to all feed opportunities"})}),Object(S.jsx)("li",{children:Object(S.jsx)("span",{children:"Export your pipeline as an Excel or CSV file"})})]})]}),Object(S.jsxs)("div",{className:"mobile-plan-view-card-list",children:[Object(S.jsx)("p",{children:"News and Updates"}),Object(S.jsxs)("ul",{children:[Object(S.jsx)("li",{children:Object(S.jsx)("span",{children:"USAID News and Updates Feed"})}),Object(S.jsx)("li",{children:Object(S.jsx)("span",{children:"View USAID Market Events Calendar with RSVP links"})}),Object(S.jsx)("li",{children:Object(S.jsx)("span",{children:"Receive one weekly notification email"})}),Object(S.jsx)("li",{children:Object(S.jsx)("span",{children:"Set-up and send custom, daily email notifications to up toten colleagues"})})]})]}),Object(S.jsxs)("div",{className:"mobile-plan-view-card-list",children:[Object(S.jsx)("p",{children:"Capture Market Research"}),Object(S.jsxs)("ul",{children:[Object(S.jsx)("li",{children:Object(S.jsx)("span",{children:"Search USAID projects by start and end date and other filters"})}),Object(S.jsx)("li",{children:Object(S.jsx)("span",{children:"Quickly search and access more than 150,000 USAID reports, evaluations and assessments f rom DEC"})}),Object(S.jsx)("li",{children:Object(S.jsx)("span",{children:"Export current and historical USAID project and DEC report searches"})}),Object(S.jsx)("li",{children:Object(S.jsx)("span",{children:"Access AidKonekt USAID Market Resources, Local Compensation Plan Archive, and Webinar Archive"})})]})]})]})]})]}),"plus"===i&&Object(S.jsxs)("div",{className:"mobile-plan-view",children:[Object(S.jsx)("h4",{children:"Find The Right Plan For You!"}),Object(S.jsxs)("div",{className:"mobile-plan-view-card plus",children:[Object(S.jsx)("span",{className:"back-btn",onClick:function(){return c("")},children:"Back to Plans"}),Object(S.jsxs)("div",{children:[Object(S.jsx)("h4",{children:"Plus"}),Object(S.jsx)("h5",{children:"Automate monitoring of your USAID pipeline"}),Object(S.jsxs)("div",{className:"mobile-plan-view-card-list",children:[Object(S.jsx)("p",{children:"USAID Pipelines"}),Object(S.jsxs)("ul",{children:[Object(S.jsx)("li",{children:Object(S.jsx)("span",{children:"Create and monitor your team's proprietary business forecast activity/changes feed"})}),Object(S.jsx)("li",{children:Object(S.jsx)("span",{children:"View Suggested Primes and Partners on the Forecast+ feed"})}),Object(S.jsx)("li",{children:Object(S.jsx)("span",{children:"Easily share attachments f rom Grants+ and Contracts+ Feeds"})}),Object(S.jsx)("li",{children:Object(S.jsx)("span",{children:"Keyword search historical USAID grants and contracts attachments by file names"})}),Object(S.jsx)("li",{children:Object(S.jsx)("span",{children:"Search, access, and collaborate on opportunities with your team"})}),Object(S.jsx)("li",{children:Object(S.jsx)("span",{children:"Build, manage, and monitor pipeline updates for your USAID forecast, grants, and contracts opportunities"})}),Object(S.jsx)("li",{children:Object(S.jsx)("span",{children:"View historical changes to all feed opportunities"})}),Object(S.jsx)("li",{children:Object(S.jsx)("span",{children:"Export your pipeline as an Excel or CSV file"})})]})]}),Object(S.jsxs)("div",{className:"mobile-plan-view-card-list",children:[Object(S.jsx)("p",{children:"News and Updates"}),Object(S.jsxs)("ul",{children:[Object(S.jsx)("li",{children:Object(S.jsx)("span",{children:"USAID News and Updates Feed"})}),Object(S.jsx)("li",{children:Object(S.jsx)("span",{children:"View USAID Market Events Calendar with RSVP links"})}),Object(S.jsx)("li",{children:Object(S.jsx)("span",{children:"Receive one weekly notification email"})})]})]})]})]})]}),"free"===i&&Object(S.jsxs)("div",{className:"mobile-plan-view",children:[Object(S.jsx)("h4",{children:"Find The Right Plan For You!"}),Object(S.jsxs)("div",{className:"mobile-plan-view-card free",children:[Object(S.jsx)("span",{className:"back-btn",onClick:function(){return c("")},children:"Back to Plans"}),Object(S.jsxs)("div",{children:[Object(S.jsx)("h4",{children:"Free"}),Object(S.jsx)("h5",{children:"Check in daily to see Forecast changes"}),Object(S.jsxs)("div",{className:"mobile-plan-view-card-list",children:[Object(S.jsx)("p",{children:"USAID Pipelines"}),Object(S.jsx)("ul",{children:Object(S.jsx)("li",{children:Object(S.jsx)("span",{children:"Create and monitor your team's proprietary business forecast activity/changes feed"})})})]})]})]})]}),Object(S.jsx)("section",{className:"footer-buttons",children:Object(S.jsxs)("div",{className:"buttons-container",children:[Object(S.jsx)(le.Button,{label:"Schedule a Demo",onClick:function(){return window.open("https://calendly.com/aidkonekt-usaid-data/15-min-aidkonekt-intro-call","_blank")},className:"footer-button",style:e.footerButton}),Object(S.jsx)(le.Button,{label:"Create a Free Account",onClick:function(){return window.open("auth","_blank")},className:"footer-button",style:e.footerButton})]})}),Object(S.jsx)("style",{children:"@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Roboto:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600;1,700&display=swap');"})]})};var tt=function(){var e=U(),t=Object(p.g)(),n=Object(p.h)().state,i=r.a.useContext(j.d),c=Object(a.useState)({email:n?n.email:"",authCode:"",errorMessage:"",message:""}),s=Object(o.a)(c,2),b=s[0],m=s[1],f=function(){var e=Object(d.a)(l.a.mark((function e(){var t;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=Object(L.f)("/api/auth/confirmation/resend",{useDedicatedEnvironment:!0}),e.next=3,V.a.post(t,{email:b.email},Object(L.c)(i)).then((function(){m((function(e){return Object(u.a)(Object(u.a)({},e),{},{errorMessage:"",message:"Confirmation email sent"})}))})).catch((function(e){m((function(t){return Object(u.a)(Object(u.a)({},t),{},{errorMessage:e.message})}))}));case 3:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),h=function(){var e=Object(d.a)(l.a.mark((function e(){var n;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(b.authCode){e.next=3;break}return m((function(e){return Object(u.a)(Object(u.a)({},e),{},{errorMessage:"Please enter an verification code"})})),e.abrupt("return");case 3:return n=Object(L.f)("/api/auth/verify",{useDedicatedEnvironment:!0}),e.next=6,V.a.post(n,{email:b.email,authCode:b.authCode},Object(L.c)(i)).then((function(){t.push("/auth")})).catch((function(e){m((function(t){var n;return Object(u.a)(Object(u.a)({},t),{},{errorMessage:null!==(n=e.response.data.Message)&&void 0!==n?n:e.message})}))}));case 6:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();return Object(S.jsxs)("div",{style:e.innerContainer,children:[Object(S.jsxs)("div",{style:e.header,children:[Object(S.jsx)("img",{src:e.aidkonektIcon,style:e.icon,alt:"Aidkonekt",className:"formIcon"}),"Email Confirmation"]}),Object(S.jsx)("div",{style:e.errorDiv,children:Object(S.jsx)("p",{children:b.errorMessage})}),Object(S.jsx)("div",{style:e.messageDiv,children:Object(S.jsx)("p",{children:b.message})}),Object(S.jsxs)(S.Fragment,{children:[Object(S.jsx)("label",{htmlFor:"authCode",style:e.inputLabel,children:"Confirmation Code"}),Object(S.jsx)("input",{id:"authCode",onChange:function(e){var t=e.currentTarget.id,n=e.currentTarget.value;m((function(e){return Object(u.a)(Object(u.a)({},e),{},Object(H.a)({},t,null===n||void 0===n?void 0:n.replaceAll(" ","")))}))},value:b.authCode,style:e.inputStyle}),Object(S.jsx)("div",{style:e.buttonStyle,onClick:h,children:Object(S.jsx)("p",{style:e.buttonTextStyle,children:"Confirm"})}),b.email&&Object(S.jsx)("div",{style:e.buttonStyle,onClick:f,children:Object(S.jsx)("p",{style:e.buttonTextStyle,children:"Resend Verification"})})]})]})},nt=n(215),at=(n(1279),n(82)),rt=n(81),it=n(341),ct=n(15),ot=n(18),st=n(48),lt=n(62),dt=function(e){var t=e.isLoading,n=e.rowsPerPage,a=e.sortField,i=e.setSortField,c=e.sortOrder,s=e.setSortOrder,l=e.first,d=e.totalRecords,u=e.data,p=e.gridWidth,b=e.queryData,j=Object(ie.a)(),m=r.a.useState(Array()),f=Object(o.a)(m,2),h=f[0],O=f[1],g=function(e){e.record;var t=Object(ie.a)();return Object(S.jsxs)(ne.DataTable,{value:u,scrollHeight:"600px",scrollable:!0,children:[Object(ct.a)(t,150,(function(e){return e.emailPreferences}),"Email Preferences","emailPreferences",{sortable:!1}),Object(ct.a)(t,150,(function(e){return Object(ot.b)(e.lastLogin,ot.a.dd_MMMM_yyyy)}),"Last Login","lastLogin",{sortable:!1}),Object(ct.a)(t,150,(function(e){return e.tier}),"Tier","tier",{sortable:!1}),Object(ct.a)(t,150,(function(e){return e.actions}),"Actions","actions",{sortable:!1}),Object(ct.a)(t,150,(function(e){return e.passwordReset}),"Password Reset","passwordReset",{sortable:!1}),Object(ct.a)(t,150,(function(e){return Object(S.jsx)(z.Checkbox,{inputId:"cb32",value:"confirmAccount",checked:e.confirmAccount})}),"Confirm Account","confirmAccount",{sortable:!1}),Object(ct.a)(t,150,(function(e){return Object(S.jsx)(z.Checkbox,{inputId:"cb33",value:"freezeAccount",checked:e.freezeAccount})}),"Freeze Account","freezeAccount",{sortable:!1})]})};return Object(S.jsxs)(ne.DataTable,{value:u,style:{marginTop:20,width:"".concat(p+20,"px")},paginator:!0,rows:n,totalRecords:d,lazy:!0,first:l,onPage:b,loading:t,sortField:a,sortOrder:c,onSort:function(e){var t=Object(st.a)(e,a);i(e.sortField),s(t),b({first:l,rows:n,sortField:e.sortField,sortOrder:t})},header:Object(S.jsx)("div",{}),scrollable:!0,scrollHeight:"400px",expandedRows:h,onRowToggle:function(e){return O(e.data)},rowExpansionTemplate:function(e){return Object(S.jsx)(g,{record:e})},paginatorTemplate:"FirstPageLink PrevPageLink PageLinks NextPageLink LastPageLink CurrentPageReport RowsPerPageDropdown",currentPageReportTemplate:"Showing {first} to {last} of {totalRecords} entries",rowsPerPageOptions:lt.b,children:[Object(S.jsx)(re.Column,{headerStyle:j.headerStyle(40),style:j.columnStyle(40),expander:!0}),Object(ct.a)(j,250,(function(e){return e.organization}),"Organization","organization"),Object(ct.a)(j,250,(function(e){return e.userName}),"User Name","userName",{sortable:!1}),Object(ct.a)(j,350,(function(e){return e.email}),"Email","email",{sortable:!1}),Object(ct.a)(j,150,(function(e){return e.tier}),"Tier","tier"),Object(ct.a)(j,150,(function(e){return Object(ot.b)(e.expirationDate,ot.a.dd_MMMM_yyyy)}),"Expiration Date","expirationDate"),Object(ct.a)(j,250,(function(e){return e.paymentType}),"Payment Type","paymentType",{sortable:!1})]})},ut=n(50),pt=function(e){var t=e.isLoading,n=e.rowsPerPage,a=e.sortField,i=e.setSortField,c=e.sortOrder,s=e.setSortOrder,l=e.first,d=e.totalRecords,u=e.data,p=e.gridWidth,b=e.queryData,j=Object(ie.a)(),m=r.a.useState(Array()),f=Object(o.a)(m,2),h=f[0],O=f[1],g=function(e){e.record;return Object(S.jsxs)("div",{style:{display:"flex",justifyContent:"center"},children:[Object(S.jsx)(ut.a,{add:function(){return null}}),Object(S.jsx)("span",{style:{marginRight:20}}),Object(S.jsx)(ut.e,{remove:function(){return null}})]})},x=function(e){e.record;var t=Object(ie.a)();return Object(S.jsxs)(ne.DataTable,{value:u,scrollHeight:"600px",scrollable:!0,children:[Object(ct.a)(t,150,(function(e){return e.predictions}),"Predictions","predictions",{sortable:!1}),Object(ct.a)(t,100,(function(e){return Object(S.jsx)(g,{record:e})}),"Add/Ignore","lastLogin",{sortable:!1}),Object(ct.a)(t,350,(function(e){return e.suggestedPrime}),"Suggested Prime","suggestedPrime",{sortable:!1}),Object(ct.a)(t,350,(function(e){return e.link}),"Ad/Project Link","link",{sortable:!1})]})};return Object(S.jsxs)(ne.DataTable,{value:u,style:{marginTop:20,width:"".concat(p+20,"px")},paginator:!0,rows:n,totalRecords:d,lazy:!0,first:l,onPage:b,loading:t,sortField:a,sortOrder:c,onSort:function(e){var t=Object(st.a)(e,a);i(e.sortField),s(t),b({first:l,rows:n,sortField:e.sortField,sortOrder:t})},header:Object(S.jsx)("div",{}),scrollable:!0,scrollHeight:"400px",expandedRows:h,onRowToggle:function(e){return O(e.data)},rowExpansionTemplate:function(e){return Object(S.jsx)(x,{record:e})},paginatorTemplate:"FirstPageLink PrevPageLink PageLinks NextPageLink LastPageLink CurrentPageReport RowsPerPageDropdown",currentPageReportTemplate:"Showing {first} to {last} of {totalRecords} entries",rowsPerPageOptions:lt.b,children:[Object(S.jsx)(re.Column,{headerStyle:j.headerStyle(40),style:j.columnStyle(40),expander:!0}),Object(ct.a)(j,250,(function(e){return e.id}),"Forecast ID Number","id",{sortable:!1}),Object(ct.a)(j,250,(function(e){return e.country}),"Country","country",{sortable:!1}),Object(ct.a)(j,250,(function(e){return e.oppTitle}),"Opp Title","oppTitle",{sortable:!1}),Object(ct.a)(j,150,(function(e){return e.techSector}),"Opp TitleTech Sector","techSector",{sortable:!1}),Object(ct.a)(j,150,(function(e){return Object(ot.b)(e.dateScriptLast,ot.a.dd_MMMM_yyyy)}),"Date Script Was Last Run","dateScriptLast")]})},bt=function(e){var t=e.isLoading,n=e.rowsPerPage,a=e.sortField,i=e.setSortField,c=e.sortOrder,s=e.setSortOrder,u=e.first,p=e.totalRecords,b=e.data,j=e.gridWidth,m=e.addRecord,f=e.removeRecord,h=e.queryData,O=Object(ie.a)(),g=r.a.useState(Array()),x=Object(o.a)(g,2),v=x[0],y=x[1],C=function(){var e=Object(d.a)(l.a.mark((function e(t){var r;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=Object(st.a)(t,a),i(t.sortField),s(r),e.next=5,h({first:u,rows:n,sortField:t.sortField,sortOrder:r});case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),A=function(e){var t=e.record;return Object(S.jsxs)("div",{style:{display:"flex",justifyContent:"center"},children:[Object(S.jsx)(ut.d,{openPage:function(){window.open(t.linkUrl,"_blank")}}),Object(S.jsx)("span",{style:{marginRight:20}}),Object(S.jsx)(ut.a,{add:function(){return m(t)}}),Object(S.jsx)("span",{style:{marginRight:20}}),Object(S.jsx)(ut.e,{remove:function(){return f(t)}})]})};return Object(S.jsxs)(ne.DataTable,{value:b,style:{marginTop:20,width:"".concat(j+20,"px")},paginator:!0,rows:n,totalRecords:p,lazy:!0,first:u,onPage:h,loading:t,sortField:a,sortOrder:c,onSort:C,header:Object(S.jsx)("div",{}),scrollable:!0,scrollHeight:"400px",expandedRows:v,onRowToggle:function(e){return y(e.data)},paginatorTemplate:"FirstPageLink PrevPageLink PageLinks NextPageLink LastPageLink CurrentPageReport RowsPerPageDropdown",currentPageReportTemplate:"Showing {first} to {last} of {totalRecords} entries",children:[Object(ct.a)(O,100,(function(e){return Object(S.jsx)(A,{record:e})}),"Add/Ignore","id",{sortable:!1}),Object(ct.a)(O,250,(function(e){return e.file}),"File","file",{sortable:!1}),Object(ct.a)(O,250,(function(e){return e.country}),"Country","country",{sortable:!1}),Object(ct.a)(O,250,(function(e){return e.opportunityTitle}),"Associated Procurement Opportunity Title","opportunityTitle",{sortable:!1}),Object(ct.a)(O,150,(function(e){return Object(ot.b)(e.attachmentDate,ot.a.dd_MMMM_yyyy)}),"Date Attachment was Posted","attachmentDate"),Object(ct.a)(O,150,(function(e){return e.keyword}),"Keywords","keywords",{sortable:!1})]})},jt=function(e){var t=e.isLoading,n=e.rowsPerPage,a=e.sortField,i=e.setSortField,c=e.sortOrder,s=e.setSortOrder,u=e.first,p=e.totalRecords,b=e.data,j=e.gridWidth,m=e.addRecord,f=e.removeRecord,h=e.queryData,O=Object(ie.a)(),g=r.a.useState(Array()),x=Object(o.a)(g,2),v=x[0],y=x[1],C=function(){var e=Object(d.a)(l.a.mark((function e(t){var r;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=Object(st.a)(t,a),i(t.sortField),s(r),e.next=5,h({first:u,rows:n,sortField:t.sortField,sortOrder:r});case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),A=function(e){var t=e.record;return Object(S.jsxs)("div",{style:{display:"flex",justifyContent:"center"},children:[Object(S.jsx)(ut.d,{openPage:function(){window.open(t.linkUrl,"_blank")}}),Object(S.jsx)("span",{style:{marginRight:20}}),Object(S.jsx)(ut.a,{add:function(){return m(t)}}),Object(S.jsx)("span",{style:{marginRight:20}}),Object(S.jsx)(ut.e,{remove:function(){return f(t)}})]})};return Object(S.jsxs)(ne.DataTable,{value:b,style:{marginTop:20,width:"".concat(j+20,"px")},paginator:!0,rows:n,totalRecords:p,lazy:!0,first:u,onPage:h,loading:t,sortField:a,sortOrder:c,onSort:C,header:Object(S.jsx)("div",{}),scrollable:!0,scrollHeight:"400px",expandedRows:v,onRowToggle:function(e){return y(e.data)},paginatorTemplate:"FirstPageLink PrevPageLink PageLinks NextPageLink LastPageLink CurrentPageReport RowsPerPageDropdown",currentPageReportTemplate:"Showing {first} to {last} of {totalRecords} entries",children:[Object(ct.a)(O,100,(function(e){return Object(S.jsx)(A,{record:e})}),"Add/Ignore","id",{sortable:!1}),Object(ct.a)(O,250,(function(e){return e.file}),"File","file",{sortable:!1}),Object(ct.a)(O,250,(function(e){return e.country}),"Country","country",{sortable:!1}),Object(ct.a)(O,250,(function(e){return e.opportunityTitle}),"Associated Procurement Opportunity Title","opportunityTitle",{sortable:!1}),Object(ct.a)(O,150,(function(e){return Object(ot.b)(e.attachmentDate,ot.a.dd_MMMM_yyyy)}),"Date Attachment was Posted","attachmentDate"),Object(ct.a)(O,150,(function(e){return e.keyword}),"Keywords","keywords",{sortable:!1})]})},mt=function(e){var t=e.isLoading,n=e.rowsPerPage,a=e.sortField,i=e.setSortField,c=e.sortOrder,s=e.setSortOrder,l=e.first,d=e.totalRecords,u=e.data,p=e.gridWidth,b=e.queryData,j=Object(ie.a)(),m=r.a.useState(Array()),f=Object(o.a)(m,2),h=f[0],O=f[1];return Object(S.jsxs)(ne.DataTable,{value:u,style:{marginTop:20,width:"".concat(p+20,"px")},paginator:!0,rows:n,totalRecords:d,lazy:!0,first:l,onPage:b,loading:t,sortField:a,sortOrder:c,onSort:function(e){var t=Object(st.a)(e,a);i(e.sortField),s(t),b({first:l,rows:n,sortField:e.sortField,sortOrder:t})},header:Object(S.jsx)("div",{}),scrollable:!0,scrollHeight:"400px",expandedRows:h,onRowToggle:function(e){return O(e.data)},paginatorTemplate:"FirstPageLink PrevPageLink PageLinks NextPageLink LastPageLink CurrentPageReport RowsPerPageDropdown",currentPageReportTemplate:"Showing {first} to {last} of {totalRecords} entries",rowsPerPageOptions:lt.b,children:[Object(ct.a)(j,250,(function(e){return e.site}),"Site","site",{sortable:!1}),Object(ct.a)(j,150,(function(e){return Object(ot.b)(e.lasUpdated,ot.a.dd_MMMM_yyyy)}),"Last Updated","lasUpdated"),Object(ct.a)(j,250,(function(e){return e.mostRecentChange}),"Most Recent Record Change","mostRecentChange",{sortable:!1}),Object(ct.a)(j,250,(function(e){return e.error}),"Error","error",{sortable:!1})]})},ft=n(113),ht=function(e){var t=e.isExpanded,n=e.gridWidth,i=e.queryParams,c=r.a.useState(0),s=Object(o.a)(c,2),p=s[0],b=s[1],m=Object(a.useState)(!1),f=Object(o.a)(m,2),h=f[0],O=f[1],g=Object(a.useState)(10),x=Object(o.a)(g,2),v=x[0],y=x[1],C=Object(a.useState)(0),A=Object(o.a)(C,2),w=(A[0],A[1],Object(a.useState)("createdOnUtc")),N=Object(o.a)(w,2),E=N[0],I=N[1],D=Object(a.useState)(1),F=Object(o.a)(D,2),k=F[0],T=F[1],R=Object(a.useState)(0),P=Object(o.a)(R,2),M=P[0],U=P[1],B=Object(a.useState)(Array()),Q=Object(o.a)(B,2),W=Q[0],H=Q[1],z=r.a.useContext(j.d),Y=Object(ie.a)(),G=r.a.useState(Array()),K=Object(o.a)(G,2),q=(K[0],K[1],r.a.useState(!1)),X=Object(o.a)(q,2),Z=X[0],J=X[1],_=r.a.useState(),$=Object(o.a)(_,2),ee=$[0],te=$[1];r.a.useEffect((function(){t&&se({first:p,rows:v,sortField:E,sortOrder:k})}),[t,i]);var ae=Object(S.jsxs)("div",{className:"p-grid p-justify-end p-align-center",children:[Object(S.jsx)("div",{className:"p-col-8 topLeftColumnHeader",style:{textAlign:"left"},children:Object(S.jsx)("div",{children:"Request Logs"})}),Object(S.jsx)("div",{className:"p-col-12 p-md-4 p-lg-4 p-justify-end buttonsHeader",style:{display:"flex"},children:Object(S.jsx)("div",{className:"button-export",children:Object(S.jsx)(le.Button,{type:"button",icon:"pi pi-file-excel",iconPos:"left",onClick:Object(d.a)(l.a.mark((function e(){return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(J(!0),e.t0=De.e,e.t1="Aidkonekt_request_logs_".concat((new Date).getFullYear()),e.t2=ce,!oe){e.next=10;break}return e.next=7,oe();case 7:e.t3=e.sent,e.next=11;break;case 10:e.t3=W;case 11:e.t4=e.t3,e.t5=(0,e.t2)(e.t4),(0,e.t0)("RequestLogs",e.t1,e.t5).then((function(){J(!1)}));case 14:case"end":return e.stop()}}),e)}))),tooltip:"Excel",tooltipOptions:{position:"top"},disabled:Z,style:Object(u.a)({marginLeft:15,marginRight:15},Y.tableHeaderButton)})})})]}),ce=function(e){var t=[{name:"Created On (Utc)"},{name:"Email"},{name:"UserRole"},{name:"Cognito Id"},{name:"Method"},{name:"Path"},{name:"Query Parameters"},{name:"Request Body"}],n=[];if(0==e.length)n.push(Object(De.d)(t.length));else for(var a=0;aDate\n \n \n '),focusConfirm:!1,showCancelButton:!0,preConfirm:function(){return[document.getElementById("date").value,document.getElementById("country").value]}});case 2:if(i=e.sent,(c=i.value)&&c[0]&&c[1]){e.next=7;break}return n.current.show({severity:"error",summary:"Canceled submit or did not provide valid values - add resource aborted"}),e.abrupt("return");case 7:return s=Object(o.a)(c,2),d=s[0],u=s[1],e.next=10,V.a.post(Object(L.f)("/api/admin/potentialresource",{useDedicatedEnvironment:!0}),{id:r.id,date:d,country:u},Object(L.c)(t)).then((function(){Rr(a,r.id)})).catch((function(e){console.error("error adding ".concat(a," resource"),e),n.current.show({severity:"error",summary:"Error adding record - see console for more info"})}));case 10:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),Mr=function(){var e=Object(d.a)(l.a.mark((function e(n,a){var r;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=Object(u.a)(Object(u.a)({},Object(L.c)(t)),{},{data:{id:a.id}}),e.next=3,V.a.delete(Object(L.f)("/api/admin/potentialresource",{useDedicatedEnvironment:!0}),r).then((function(){Rr(n,a.id)})).catch((function(e){return console.error("error adding ".concat(n," resource"),e)}));case 3:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),Ur=function(){var e=Object(d.a)(l.a.mark((function e(t){var n,a,r,i;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return bn(t.first),n=t.first/en,e.next=4,Tr("lcp",t.rows,n);case 4:(a=e.sent)&&(r=a.data,i=a.totalItems,An(r),hn(i));case 6:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),Lr=function(){var e=Object(d.a)(l.a.mark((function e(t){var n,a,r,i;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return Zn(t.first),n=t.first/Ln,e.next=4,Tr("iee",t.rows,n);case 4:(a=e.sent)&&(r=a.data,i=a.totalItems,oa(r),ea(i));case 6:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}();return Object(a.useEffect)((function(){function e(){var e=Object(Ot.a)(),t=e.nestedWidth,n=e.headerWidth;if(t&&null!=n){var a=t-n;Ke(a),zt(a),En(a),ua(a),Ga(a)}}return e(),window.addEventListener("resize",e),function(){return window.removeEventListener("resize",e)}}),[]),Object(a.useEffect)((function(){He(gt),Vt(xt),Ur({rows:en,first:pn}),Lr({rows:Ln,first:Xn}),Wa(vt)}),[]),Object(S.jsxs)("div",{className:"admin-screen",children:[Object(S.jsx)("section",{className:"header",children:Object(S.jsxs)("div",{className:"header-title",children:[Object(S.jsx)("img",{src:e.aidkonektIcon,style:e.icon,alt:"Aidkonekt",className:"formIcon"}),Object(S.jsx)("span",{children:"Admin"})]})}),Object(S.jsxs)("section",{className:"data-section",children:[Object(S.jsxs)("div",{className:"data-block",children:[Object(S.jsx)("h3",{children:"User Metrics"}),Object(S.jsxs)("div",{className:"row-data-container",children:[Object(S.jsxs)("div",{className:"row-data",children:[Object(S.jsxs)("div",{className:"data-content",children:[Object(S.jsx)("span",{className:"data-content-count",children:"56"}),Object(S.jsx)("span",{className:"data-content-title",children:"New members"})]}),Object(S.jsxs)("div",{className:"data-content",children:[Object(S.jsx)("span",{className:"data-content-count",children:"56"}),Object(S.jsx)("span",{className:"data-content-title",children:"Expiring this month"})]})]}),Object(S.jsxs)("div",{className:"row-data",children:[Object(S.jsxs)("div",{className:"data-content",children:[Object(S.jsx)("span",{className:"data-content-count",children:"56"}),Object(S.jsx)("span",{className:"data-content-title",children:"Avg User Time"})]}),Object(S.jsxs)("div",{className:"data-content",children:[Object(S.jsx)("span",{className:"data-content-count",children:"56"}),Object(S.jsx)("span",{className:"data-content-title",children:"Click Throughs"})]}),Object(S.jsxs)("div",{className:"data-content",children:[Object(S.jsx)("span",{className:"data-content-count",children:"56"}),Object(S.jsx)("span",{className:"data-content-title",children:"Emails Opened"})]})]})]})]}),Object(S.jsxs)("div",{className:"data-block",children:[Object(S.jsx)("h3",{children:"Forecast Metrics"}),Object(S.jsxs)("div",{className:"row-data-container",children:[Object(S.jsxs)("div",{className:"row-data",children:[Object(S.jsxs)("div",{className:"data-content",children:[Object(S.jsx)("span",{className:"data-content-count",children:"56"}),Object(S.jsx)("span",{className:"data-content-title",children:"Changes"})]}),Object(S.jsxs)("div",{className:"data-content",children:[Object(S.jsx)("span",{className:"data-content-count",children:"56%"}),Object(S.jsx)("span",{className:"data-content-title",children:"Change from Last Week"})]})]}),Object(S.jsxs)("div",{className:"row-data",children:[Object(S.jsxs)("div",{className:"data-content",children:[Object(S.jsx)("span",{className:"data-content-count",children:"$56"}),Object(S.jsx)("span",{className:"data-content-title",children:"Value of New Opps"})]}),Object(S.jsxs)("div",{className:"data-content",children:[Object(S.jsx)("span",{className:"data-content-count",children:"Ukraine"}),Object(S.jsx)("span",{className:"data-content-title",children:"Most Active Mission"})]})]})]})]})]}),Object(S.jsx)("section",{className:"user-management-section",children:Object(S.jsx)(at.Panel,{style:Object(u.a)(Object(u.a)({},e.filters.filterBox),{},{paddingBottom:s?0:20}),collapsed:s,onToggle:function(e){return p(e.value)},toggleable:!0,expandIcon:"",collapseIcon:"",header:Object(S.jsx)(rt.a,{title:"User Management",isCollapsed:s,setIsCollapsed:p}),children:Object(S.jsxs)("div",{children:[Object(S.jsx)("div",{className:"p-grid p-align-center",style:e.filters.notTopFilterRow,children:Object(S.jsx)("div",{className:"p-col",style:{textAlign:"left",display:"block"},children:Object(S.jsx)(ce.InputText,{style:e.filters.inputBox,id:"organization",type:"search",value:U,onChange:function(e){return B(e.target.value)},placeholder:"Organization"})})}),Object(S.jsx)("div",{className:"p-grid p-align-center",style:e.filters.notTopFilterRow,children:Object(S.jsx)("div",{className:"p-col",style:{textAlign:"left",display:"block"},children:Object(S.jsx)(ce.InputText,{style:e.filters.inputBox,id:"email",type:"search",value:H,onChange:function(e){return Y(e.target.value)},placeholder:"Email"})})}),Object(S.jsx)("div",{className:"p-grid p-align-center",style:e.filters.notTopFilterRow,children:Object(S.jsx)("div",{className:"p-col",style:{textAlign:"left",display:"block"},children:Object(S.jsx)(ce.InputText,{style:e.filters.inputBox,id:"keyword",type:"search",value:q,onChange:function(e){return X(e.target.value)},placeholder:"Keyword"})})}),Object(S.jsxs)("div",{className:"header-checkboxes-block",children:[Object(S.jsxs)("div",{className:"header-checkbox-container",style:{textAlign:"left"},children:[Object(S.jsx)(z.Checkbox,{inputId:"cb1",value:"Expiring",onChange:function(e){return $(e.checked)},checked:_}),Object(S.jsx)("label",{htmlFor:"cb1",className:"p-checkbox-label",style:e.filters.inputTextLabel,children:"Expiring in the next 60 days"})]}),Object(S.jsxs)("div",{className:"header-checkbox-container",style:{textAlign:"left"},children:[Object(S.jsx)(z.Checkbox,{inputId:"cb2",value:"Pro Users",onChange:function(e){return ae(e.checked)},checked:ne}),Object(S.jsx)("label",{htmlFor:"cb2",className:"p-checkbox-label",style:e.filters.inputTextLabel,children:"Pro Users"})]}),Object(S.jsxs)("div",{className:"header-checkbox-container",style:{textAlign:"left"},children:[Object(S.jsx)(z.Checkbox,{inputId:"cb3",value:"Plus Users",onChange:function(e){return de(e.checked)},checked:le}),Object(S.jsx)("label",{htmlFor:"cb3",className:"p-checkbox-label",style:e.filters.inputTextLabel,children:"Plus Users"})]}),Object(S.jsxs)("div",{className:"header-checkbox-container",style:{textAlign:"left"},children:[Object(S.jsx)(z.Checkbox,{inputId:"swa",value:"Free Users",onChange:function(e){return je(e.checked)},checked:be}),Object(S.jsx)("label",{htmlFor:"swa",className:"p-checkbox-label",style:e.filters.inputTextLabel,children:"Free Users"})]})]}),Object(S.jsx)("div",{className:"search-btn-container",children:Object(S.jsx)(it.a,{style:e.filters.searchButton,onClick:function(){return null},children:Object(S.jsx)("div",{style:e.filters.searchButtonText,children:"Search"})})}),Object(S.jsx)(dt,{isLoading:he,rowsPerPage:xe,sortField:Ce,setSortField:Ae,sortOrder:Ne,setSortOrder:Ee,first:Fe,totalRecords:Me,data:We,setData:He,lastUpdated:Be,gridWidth:Ge,originalNotes:Ze,setOriginalNotes:Je,queryData:function(){return He(gt)}})]})})}),Object(S.jsx)("section",{className:"prime-predictions-section",children:Object(S.jsx)(at.Panel,{style:Object(u.a)(Object(u.a)({},e.filters.filterBox),{},{paddingBottom:f?0:20}),collapsed:f,onToggle:function(e){return h(e.value)},toggleable:!0,expandIcon:"",collapseIcon:"",header:Object(S.jsx)(rt.a,{title:"Prime Predictions",isCollapsed:f,setIsCollapsed:h}),children:Object(S.jsx)(pt,{isLoading:et,rowsPerPage:ot,sortField:ut,setSortField:ft,sortOrder:St,setSortOrder:Nt,first:Dt,totalRecords:Tt,data:Bt,setData:Vt,lastUpdated:Mt,gridWidth:Ht,originalNotes:Kt,setOriginalNotes:qt,queryData:function(){return Vt(xt)}})})}),Object(S.jsx)("section",{className:"lcp-suggestions-section",children:Object(S.jsx)(at.Panel,{style:Object(u.a)(Object(u.a)({},e.filters.filterBox),{},{paddingBottom:x?0:20}),collapsed:x,onToggle:function(e){return v(e.value)},toggleable:!0,expandIcon:"",collapseIcon:"",header:Object(S.jsx)(rt.a,{title:"LCP Archive Suggestions",isCollapsed:x,setIsCollapsed:v}),children:Object(S.jsx)(bt,{isLoading:Jt,rowsPerPage:en,sortField:an,setSortField:rn,sortOrder:sn,setSortOrder:ln,first:pn,totalRecords:fn,data:Cn,setData:An,lastUpdated:xn,gridWidth:Nn,originalNotes:Fn,setOriginalNotes:kn,addRecord:function(e){return Pr("lcp",e)},removeRecord:function(e){return Mr("lcp",e)},queryData:Ur})})}),Object(S.jsx)("section",{className:"iee-suggestions-section",children:Object(S.jsx)(at.Panel,{style:Object(u.a)(Object(u.a)({},e.filters.filterBox),{},{paddingBottom:A?0:20}),collapsed:A,onToggle:function(e){return w(e.value)},toggleable:!0,expandIcon:"",collapseIcon:"",header:Object(S.jsx)(rt.a,{title:"IEE Archive Suggestions",isCollapsed:A,setIsCollapsed:w}),children:Object(S.jsx)(jt,{isLoading:Pn,rowsPerPage:Ln,sortField:Qn,setSortField:Wn,sortOrder:Yn,setSortOrder:Gn,first:Xn,totalRecords:$n,data:ca,setData:oa,lastUpdated:aa,gridWidth:da,originalNotes:ja,setOriginalNotes:ma,addRecord:function(e){return Pr("iee",e)},removeRecord:function(e){return Mr("iee",e)},queryData:Lr})})}),Object(S.jsx)("section",{className:"api-status-section",children:Object(S.jsx)(at.Panel,{style:Object(u.a)(Object(u.a)({},e.filters.filterBox),{},{paddingBottom:I?0:20}),collapsed:I,onToggle:function(e){return D(e.value)},toggleable:!0,expandIcon:"",collapseIcon:"",header:Object(S.jsx)(rt.a,{title:"API Status",isCollapsed:I,setIsCollapsed:D}),children:Object(S.jsx)(mt,{isLoading:Oa,rowsPerPage:va,sortField:Aa,setSortField:wa,sortOrder:Ea,setSortOrder:Ia,first:ka,totalRecords:Pa,data:Qa,setData:Wa,lastUpdated:La,gridWidth:Ya,originalNotes:Xa,setOriginalNotes:Za,queryData:function(){return Wa(vt)}})})}),Object(S.jsx)("section",{className:"request-log-section",children:Object(S.jsxs)(at.Panel,{style:Object(u.a)(Object(u.a)({},e.filters.filterBox),{},{paddingBottom:T?0:20}),collapsed:T,onToggle:function(e){return R(e.value)},toggleable:!0,expandIcon:"",collapseIcon:"",header:Object(S.jsx)(rt.a,{title:"Request Logs",isCollapsed:T,setIsCollapsed:R}),children:[Object(S.jsx)(ke.a,{utils:Re.a,children:Object(S.jsxs)("div",{children:[Object(S.jsx)("div",{className:"p-grid p-align-center",style:e.filters.notTopFilterRow,children:Object(S.jsxs)("div",{className:"p-col",style:{textAlign:"left",display:"flex"},children:[Object(S.jsxs)("label",{style:Object(u.a)({alignSelf:"center"},e.filters.inputTextLabel),children:["Show request logs created between"," "]}),Object(S.jsx)(At.a,{disableToolbar:!0,disableFuture:!0,ampm:!1,variant:"inline",format:"MM/dd/yyyy HH:mm",value:Cr,onChange:function(e){return Ar(e)},style:{marginLeft:10},KeyboardButtonProps:{"aria-label":"change date"},disabled:he}),Object(S.jsxs)("label",{style:Object(u.a)({alignSelf:"center"},e.filters.inputTextLabel),children:[" ","and"," "]}),Object(S.jsx)(At.a,{disableToolbar:!0,disableFuture:!0,ampm:!1,variant:"inline",format:"MM/dd/yyyy HH:mm",value:Nr,onChange:function(e){return Er(e)},style:{marginLeft:10},KeyboardButtonProps:{"aria-label":"change date"},disabled:he})]})}),Object(S.jsx)("div",{className:"p-grid p-align-center",style:e.filters.notTopFilterRow,children:Object(S.jsx)("div",{className:"p-col",style:{textAlign:"left",display:"block"},children:Object(S.jsx)(ce.InputText,{style:e.filters.inputBox,id:"requestLogsEmail",type:"search",value:$a,onChange:function(e){return er(e.target.value)},placeholder:"Email"})})}),Object(S.jsx)("div",{className:"p-grid p-align-center",style:e.filters.notTopFilterRow,children:Object(S.jsx)("div",{className:"p-col",style:{textAlign:"left",display:"block"},children:Object(S.jsx)(ce.InputText,{style:e.filters.inputBox,id:"requestLogsCognitoId",type:"search",value:ar,onChange:function(e){return rr(e.target.value)},placeholder:"Cognito Id"})})}),Object(S.jsx)("div",{className:"p-grid p-align-center",style:e.filters.notTopFilterRow,children:Object(S.jsx)("div",{className:"p-col",style:{textAlign:"left",display:"block"},children:Object(S.jsx)(nt.a,{isDisabled:!1,placeholder:"Method",isMulti:!1,onChange:function(e){var t,n=null!==(t=null===e||void 0===e?void 0:e.value)&&void 0!==t?t:"";pr(n)},options:[{value:"",label:"Method"},{value:"get",label:"GET"},{value:"post",label:"POST"},{value:"put",label:"PUT"},{value:"delete",label:"DELETE"}]})})}),Object(S.jsx)("div",{className:"p-grid p-align-center",style:e.filters.notTopFilterRow,children:Object(S.jsx)("div",{className:"p-col",style:{textAlign:"left",display:"block"},children:Object(S.jsx)(ce.InputText,{style:e.filters.inputBox,id:"requestLogsPath",type:"search",value:or,onChange:function(e){return sr(e.target.value)},placeholder:"Path"})})}),Object(S.jsx)("div",{className:"p-grid p-align-center",style:e.filters.notTopFilterRow,children:Object(S.jsx)("div",{className:"p-col",style:{textAlign:"left",display:"block"},children:Object(S.jsx)(ce.InputText,{style:e.filters.inputBox,id:"requestLogsQueryParameters",type:"search",value:mr,onChange:function(e){return fr(e.target.value)},placeholder:"Query Parameters"})})}),Object(S.jsx)("div",{className:"p-grid p-align-center",style:e.filters.notTopFilterRow,children:Object(S.jsx)("div",{className:"p-col",style:{textAlign:"left",display:"block"},children:Object(S.jsx)(ce.InputText,{style:e.filters.inputBox,id:"requestLogsRequestBody",type:"search",value:gr,onChange:function(e){return xr(e.target.value)},placeholder:"Request Body"})})}),Object(S.jsx)("div",{className:"search-btn-container",children:Object(S.jsx)(it.a,{style:e.filters.searchButton,onClick:function(){var e=new URLSearchParams;ar&&e.set("cognitoId",ar),$a&&e.set("email",$a),or&&e.set("path",or),ur&&e.set("method",ur),mr&&e.set("queryParams",mr),gr&&e.set("body",gr),Cr&&e.set("startDate",Cr.toISOString()),Nr&&e.set("endDate",Nr.toISOString()),kr(e)},children:Object(S.jsx)("div",{style:e.filters.searchButtonText,children:"Search"})})})]})}),Object(S.jsx)(ht,{isExpanded:!T,gridWidth:Ge,queryParams:Fr})]})})]})},St=n(193),Nt=n(95),Et=n(1466),It=n(1517),Dt=n(1364),Ft=n(525),kt=n(1362),Tt=n(474),Rt=n(66),Pt=Object(Rt.a)(Object(S.jsx)("svg",{width:"28",height:"25",viewBox:"0 0 28 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:Object(S.jsx)("path",{d:"M10.25 16.25C10.0028 16.25 9.7611 16.3233 9.55554 16.4607C9.34998 16.598 9.18976 16.7932 9.09515 17.0216C9.00054 17.2501 8.97579 17.5014 9.02402 17.7439C9.07225 17.9863 9.1913 18.2091 9.36612 18.3839C9.54093 18.5587 9.76366 18.6777 10.0061 18.726C10.2486 18.7742 10.4999 18.7495 10.7284 18.6549C10.9568 18.5602 11.152 18.4 11.2893 18.1945C11.4267 17.9889 11.5 17.7472 11.5 17.5C11.5 17.1685 11.3683 16.8505 11.1339 16.6161C10.8995 16.3817 10.5815 16.25 10.25 16.25ZM1.5 15C1.16848 15 0.850537 15.1317 0.616116 15.3661C0.381696 15.6005 0.25 15.9185 0.25 16.25V18.75C0.25 19.0815 0.381696 19.3995 0.616116 19.6339C0.850537 19.8683 1.16848 20 1.5 20C1.83152 20 2.14946 19.8683 2.38388 19.6339C2.6183 19.3995 2.75 19.0815 2.75 18.75V16.25C2.75 15.9185 2.6183 15.6005 2.38388 15.3661C2.14946 15.1317 1.83152 15 1.5 15ZM26.5 15C26.1685 15 25.8505 15.1317 25.6161 15.3661C25.3817 15.6005 25.25 15.9185 25.25 16.25V18.75C25.25 19.0815 25.3817 19.3995 25.6161 19.6339C25.8505 19.8683 26.1685 20 26.5 20C26.8315 20 27.1495 19.8683 27.3839 19.6339C27.6183 19.3995 27.75 19.0815 27.75 18.75V16.25C27.75 15.9185 27.6183 15.6005 27.3839 15.3661C27.1495 15.1317 26.8315 15 26.5 15ZM20.25 6.25H15.25V4.65C15.6278 4.43186 15.942 4.11864 16.1613 3.74146C16.3806 3.36428 16.4974 2.93628 16.5 2.5C16.5 1.83696 16.2366 1.20107 15.7678 0.732233C15.2989 0.263392 14.663 0 14 0C13.337 0 12.7011 0.263392 12.2322 0.732233C11.7634 1.20107 11.5 1.83696 11.5 2.5C11.5026 2.93628 11.6194 3.36428 11.8387 3.74146C12.058 4.11864 12.3722 4.43186 12.75 4.65V6.25H7.75C6.75544 6.25 5.80161 6.64509 5.09835 7.34835C4.39509 8.05161 4 9.00544 4 10V21.25C4 22.2446 4.39509 23.1984 5.09835 23.9017C5.80161 24.6049 6.75544 25 7.75 25H20.25C21.2446 25 22.1984 24.6049 22.9017 23.9017C23.6049 23.1984 24 22.2446 24 21.25V10C24 9.00544 23.6049 8.05161 22.9017 7.34835C22.1984 6.64509 21.2446 6.25 20.25 6.25ZM16.15 8.75L15.525 11.25H12.475L11.85 8.75H16.15ZM21.5 21.25C21.5 21.5815 21.3683 21.8995 21.1339 22.1339C20.8995 22.3683 20.5815 22.5 20.25 22.5H7.75C7.41848 22.5 7.10054 22.3683 6.86612 22.1339C6.6317 21.8995 6.5 21.5815 6.5 21.25V10C6.5 9.66848 6.6317 9.35054 6.86612 9.11612C7.10054 8.8817 7.41848 8.75 7.75 8.75H9.275L10.25 12.8C10.3184 13.0773 10.4798 13.3229 10.7072 13.4957C10.9347 13.6686 11.2145 13.7583 11.5 13.75H16.5C16.7855 13.7583 17.0653 13.6686 17.2928 13.4957C17.5202 13.3229 17.6816 13.0773 17.75 12.8L18.725 8.75H20.25C20.5815 8.75 20.8995 8.8817 21.1339 9.11612C21.3683 9.35054 21.5 9.66848 21.5 10V21.25ZM17.75 16.25C17.5028 16.25 17.2611 16.3233 17.0555 16.4607C16.85 16.598 16.6898 16.7932 16.5951 17.0216C16.5005 17.2501 16.4758 17.5014 16.524 17.7439C16.5723 17.9863 16.6913 18.2091 16.8661 18.3839C17.0409 18.5587 17.2637 18.6777 17.5061 18.726C17.7486 18.7742 17.9999 18.7495 18.2284 18.6549C18.4568 18.5602 18.652 18.4 18.7893 18.1945C18.9267 17.9889 19 17.7472 19 17.5C19 17.1685 18.8683 16.8505 18.6339 16.6161C18.3995 16.3817 18.0815 16.25 17.75 16.25Z",fill:"#0B77B2"})}),"Robot"),Mt=n(34),Ut=n(14),Lt=n(1516),Bt=n(1494),Vt=n(88),Qt=n(251),Wt=n(671),Ht=n.n(Wt),zt=n(194),Yt=n(1478),Gt=n(8),Kt=n(243),qt=function(e,t){if(t>e)return[];for(var n=[];n.length *":{fontWeight:400}},children:[Object(S.jsx)(y.a,{variant:"subtitle2",color:"textSecondary",children:"Have you found this summary helpful or accurate?"}),Object(S.jsxs)(A.a,{direction:"row",sx:{minWidth:"250px",alignItems:"center","& > button":{"& > svg":{height:"16px !important",width:"16px !important"}}},children:[Object(S.jsx)(Me.a,Object(u.a)(Object(u.a)({onClick:function(){p((function(e){return"like"===e?null:"like"})),null!==n&&r(Object(Vt.n)({context:i,aiSummaryId:n,score:1}))}},"like"===d&&{color:"success"}),{},{children:Object(S.jsx)($t,{})})),"like"===d&&Object(S.jsx)(y.a,{variant:"subtitle2",sx:{color:c.palette.success.main},children:"Yes"}),Object(S.jsx)(Me.a,Object(u.a)(Object(u.a)({onClick:function(){p((function(e){return"dislike"===e?null:"dislike"})),null!==n&&r(Object(Vt.n)({context:i,aiSummaryId:n,score:-1}))}},"dislike"===d&&{color:"error"}),{},{sx:{ml:1},children:Object(S.jsx)(en,{})})),"dislike"===d&&Object(S.jsx)(y.a,{variant:"subtitle2",color:"error",children:"No"})]})]})}var nn,an,rn="dashboardSummaryAnimationSettingsKey",cn=function(e){var t,n,r,i,c=e.updates,s=Object(Nt.a)(),l=Object(p.g)(),d=Object(Zt.b)(),b=Object(a.useContext)(j.d),m=Object(Zt.c)((function(e){return e.userSettings.userSettings})),f=m.fetchStatus,h=(m.patchFetchStatus,m.setting),O=Object(a.useMemo)((function(){return"/dashboard-new-w68f5es4"===l.location.pathname}),[l.location]),g=Object(a.useState)(!0),x=Object(o.a)(g,2),C=x[0],w=x[1],N=Object(a.useState)(!0),E=Object(o.a)(N,2),I=E[0],D=E[1],F=Object(a.useState)(!0),k=Object(o.a)(F,2),T=k[0],R=k[1],P=Object(a.useState)(!0),M=Object(o.a)(P,2),U=M[0],L=M[1],B=Object(a.useState)({forecast:!1,contracts:!1,grants:!1}),V=Object(o.a)(B,2),Q=V[0],W=V[1],H=Object(a.useCallback)(Object(_t.debounce)((function(){c.forecast&&c.forecast.createdOn&&d(Object(Jt.d)({context:b,key:rn,setting:{animationShownFor:c.forecast.createdOn}}))}),1e3),[c.forecast]),z=function(e,t,n,a,r){if(O)if(r){H();var i,c=0;i=function r(){return setInterval((function(){if(document.getElementById(e).innerHTML+=t.charAt(c),c>t.length)clearInterval(i),a();else if(n.includes(c)){clearInterval(i);var o=Xt(250,1250);setTimeout((function(){c++,i=r()}),o)}else c++}),5)}()}else document.getElementById(e).innerHTML=t};return Object(a.useEffect)((function(){d(Object(Jt.b)({context:b,key:rn}))}),[]),Object(a.useEffect)((function(){var e,t,n;(null===(e=c.forecast)||void 0===e?void 0:e.summary)&&!Q.forecast&&(Gt.a.isDone(f)||Gt.a.isError(f))&&((null===c||void 0===c||null===(t=c.forecast)||void 0===t?void 0:t.createdOn)&&h!==c.forecast.createdOn&&W((function(e){return Object(u.a)(Object(u.a)({},e),{},{forecast:!0})})),z("forecast-ai-summary",c.forecast.summary,qt(c.forecast.summary.length/4*3,Xt(2,5)),(function(){return W((function(e){return Object(u.a)(Object(u.a)({},e),{},{forecast:!1})}))}),(null===c||void 0===c||null===(n=c.forecast)||void 0===n?void 0:n.createdOn)&&h!==c.forecast.createdOn))}),[null===(t=c.forecast)||void 0===t?void 0:t.summary,f]),Object(a.useEffect)((function(){var e,t,n;(null===(e=c.contracts)||void 0===e?void 0:e.summary)&&!Q.contracts&&(Gt.a.isDone(f)||Gt.a.isError(f))&&((null===c||void 0===c||null===(t=c.forecast)||void 0===t?void 0:t.createdOn)&&h!==c.forecast.createdOn&&W((function(e){return Object(u.a)(Object(u.a)({},e),{},{contracts:!0})})),z("contracts-ai-summary",c.contracts.summary,qt(c.contracts.summary.length/4*3,Xt(2,5)),(function(){return W((function(e){return Object(u.a)(Object(u.a)({},e),{},{contracts:!1})}))}),(null===c||void 0===c||null===(n=c.forecast)||void 0===n?void 0:n.createdOn)&&h!==c.forecast.createdOn))}),[null===(n=c.forecast)||void 0===n?void 0:n.summary,f]),Object(a.useEffect)((function(){var e,t,n;(null===(e=c.grants)||void 0===e?void 0:e.summary)&&!Q.grants&&(Gt.a.isDone(f)||Gt.a.isError(f))&&((null===c||void 0===c||null===(t=c.forecast)||void 0===t?void 0:t.createdOn)&&h!==c.forecast.createdOn&&W((function(e){return Object(u.a)(Object(u.a)({},e),{},{grants:!0})})),z("grants-ai-summary",c.grants.summary,qt(c.grants.summary.length/4*3,Xt(2,5)),(function(){return W((function(e){return Object(u.a)(Object(u.a)({},e),{},{grants:!1})}))}),(null===c||void 0===c||null===(n=c.forecast)||void 0===n?void 0:n.createdOn)&&h!==c.forecast.createdOn))}),[null===(r=c.forecast)||void 0===r?void 0:r.summary,f]),Object(S.jsx)(S.Fragment,{children:Object(S.jsxs)(v.a,{sx:{textAlign:"left",display:"flex",flexDirection:"column"},children:[Object(S.jsxs)(A.a,{direction:"row",sx:{py:1,px:2,borderBottom:"solid 1px ".concat(s.palette.divider),backgroundColor:s.palette.secondary.light},justifyContent:"space-between",alignItems:"center",children:[Object(S.jsxs)(A.a,{direction:{xs:"column",sm:"row"},sx:{alignItems:"center",rowGap:.5,columnGap:1,flexWrap:"wrap"},children:[Object(S.jsx)(y.a,{variant:"h6",fontWeight:500,sx:{color:Kt.b.dashboardSectionTitle},children:"USAID Updates Overview"}),Object(S.jsx)(zt.a,{label:"AI Generated Summary",height:20,fontSize:"12px",color:s.palette.primary.contrastText,backgroundColor:s.palette.primary.main,borderRadius:"8px",icon:Object(S.jsx)(Ht.a,{}),sx:{"& > svg":{fill:s.palette.secondary.contrastText,height:"16px !important",width:"16px !important"},fontWeight:400}}),Object(S.jsxs)(y.a,{variant:"body2",fontSize:"12px",children:["Last updated:"," ",c.forecast&&null!==c.forecast.createdOn?Object(Qt.a)(new Date(c.forecast.createdOn),"hh:mm aaa"):"N/A",". Refreshes every 30 minutes"]})]}),Object(S.jsx)(Me.a,{onClick:function(){return L((function(e){return!e}))},children:Object(S.jsx)(Yt.a,{sx:{transition:"transform 250ms ease-in-out",transform:"rotate(".concat(U?"0deg":"180deg",")")}})})]}),Object(S.jsx)(Lt.a,{in:U,children:O?Object(S.jsxs)(S.Fragment,{children:[Object(S.jsxs)(A.a,{direction:"row",justifyContent:"space-between",sx:{py:.5,px:2,backgroundColor:"neutral.100",borderBottom:"solid 1px",borderColor:"neutral.200",alignItems:"center",boxShadow:"inset 0px 11px 11px -16px rgba(66, 68, 90, 1)"},children:[Object(S.jsx)(y.a,{variant:"subtitle2",color:"textPrimary",fontWeight:600,sx:{whiteSpace:"pre-wrap"},children:"Forecast Updates"}),Object(S.jsx)(Me.a,{onClick:function(){return w((function(e){return!e}))},children:Object(S.jsx)(Yt.a,{sx:{transition:"transform 250ms ease-in-out",transform:"rotate(".concat(C?"0deg":"180deg",")")}})})]}),Object(S.jsxs)(Lt.a,{in:C,sx:{px:2},children:[c.forecast&&Object(S.jsxs)(y.a,{variant:"subtitle2",color:"inherit",fontWeight:600,component:"p",sx:{lineHeight:"24px",mb:2},children:["USAID made changes to ",c.forecast.totalChanges," ","opportunities. ",c.forecast.created," opportunities were added, ",c.forecast.updated," opportunities were updated and ",c.forecast.deleted," opportunities were removed."]}),(null===(i=c.forecast)||void 0===i?void 0:i.unusualActivity)&&"today"===Object(Mt.b)(l.location.search,"updatesRange","today")&&Object(S.jsxs)(Bt.a,{sx:{mt:1,borderRadius:"4px",alignItems:"center",p:.5,py:0,borderLeft:"solid 6px ".concat(s.palette.primary.main),mb:2},color:"info",icon:!1,children:["AidKonekt has noted an unusual amount of activity on the forecast today. There were more than"," ",Vt.a," opportunity changed. Our team is reviewing this and will provide an update shortly"]}),Object(S.jsxs)(y.a,{component:"p",children:[Object(S.jsx)(y.a,{variant:"subtitle2",color:"inherit",fontWeight:500,component:"span",sx:{lineHeight:"24px",whiteSpace:"pre-wrap"},id:"forecast-ai-summary"}),Object(S.jsxs)(v.a,{component:"span",sx:{display:Q.forecast?"inline-flex":"none","& > *":{animation:"wave 1.3s linear infinite","&:nth-child(2)":{"animation-delay":"-1.1s"},"&:nth-child(3)":{"animation-delay":"-0.9s"},"@keyframes wave":{"0%, 60%, 100%":{transform:"initial"},"30%":{transform:"translateY(-2px)"}}}},children:[Object(S.jsx)(y.a,{variant:"h6",children:"."}),Object(S.jsx)(y.a,{variant:"h6",children:"."}),Object(S.jsx)(y.a,{variant:"h6",children:"."})]})]}),Object(S.jsx)(tn,{currentState:null,aiSummaryId:c.forecastSummaryId})]}),Object(S.jsxs)(A.a,{direction:"row",justifyContent:"space-between",sx:{py:.5,px:2,backgroundColor:"neutral.100",borderBottom:"solid 1px",borderColor:"neutral.200",alignItems:"center"},children:[Object(S.jsx)(y.a,{variant:"subtitle2",color:"textPrimary",fontWeight:600,sx:{whiteSpace:"pre-wrap"},children:"Contracts Updates"}),Object(S.jsx)(Me.a,{onClick:function(){return D((function(e){return!e}))},children:Object(S.jsx)(Yt.a,{sx:{transition:"transform 250ms ease-in-out",transform:"rotate(".concat(I?"0deg":"180deg",")")}})})]}),Object(S.jsxs)(Lt.a,{in:I,sx:{px:2},children:[Object(S.jsxs)(y.a,{component:"p",children:[Object(S.jsx)(y.a,{variant:"subtitle2",color:"inherit",fontWeight:500,component:"span",sx:{lineHeight:"24px",whiteSpace:"pre-wrap"},id:"contracts-ai-summary"}),Object(S.jsxs)(v.a,{component:"span",sx:{display:Q.contracts?"inline-flex":"none","& > *":{animation:"wave 1.3s linear infinite","&:nth-child(2)":{"animation-delay":"-1.1s"},"&:nth-child(3)":{"animation-delay":"-0.9s"},"@keyframes wave":{"0%, 60%, 100%":{transform:"initial"},"30%":{transform:"translateY(-2px)"}}}},children:[Object(S.jsx)(y.a,{variant:"h6",children:"."}),Object(S.jsx)(y.a,{variant:"h6",children:"."}),Object(S.jsx)(y.a,{variant:"h6",children:"."})]})]}),Object(S.jsx)(tn,{currentState:null,aiSummaryId:c.contractsSummaryId})]}),Object(S.jsxs)(A.a,{direction:"row",justifyContent:"space-between",sx:{py:.5,px:2,backgroundColor:"neutral.100",borderBottom:"solid 1px",borderColor:"neutral.200",alignItems:"center"},children:[Object(S.jsx)(y.a,{variant:"subtitle2",color:"textPrimary",fontWeight:600,sx:{whiteSpace:"pre-wrap"},children:"Grants Updates"}),Object(S.jsx)(Me.a,{onClick:function(){return R((function(e){return!e}))},children:Object(S.jsx)(Yt.a,{sx:{transition:"transform 250ms ease-in-out",transform:"rotate(".concat(T?"0deg":"180deg",")")}})})]}),Object(S.jsxs)(Lt.a,{in:T,sx:{px:2},children:[Object(S.jsxs)(y.a,{component:"p",children:[Object(S.jsx)(y.a,{variant:"subtitle2",color:"inherit",fontWeight:500,component:"span",sx:{lineHeight:"24px",whiteSpace:"pre-wrap"},id:"grants-ai-summary"}),Object(S.jsxs)(v.a,{component:"span",sx:{display:Q.grants?"inline-flex":"none","& > *":{animation:"wave 1.3s linear infinite","&:nth-child(2)":{"animation-delay":"-1.1s"},"&:nth-child(3)":{"animation-delay":"-0.9s"},"@keyframes wave":{"0%, 60%, 100%":{transform:"initial"},"30%":{transform:"translateY(-2px)"}}}},children:[Object(S.jsx)(y.a,{variant:"h6",children:"."}),Object(S.jsx)(y.a,{variant:"h6",children:"."}),Object(S.jsx)(y.a,{variant:"h6",children:"."})]})]}),Object(S.jsx)(tn,{currentState:null,aiSummaryId:c.grantsSummaryId})]})]}):Object(S.jsx)(y.a,{variant:"h6",color:"inherit",sx:{width:"100%",textAlign:"center",my:2},children:"Coming Soon"})})]})})},on=n(526),sn=n(1492),ln=n(1480),dn=n(703),un=n(1514),pn=n(1357),bn=n(1479),jn=n(146),mn=n.n(jn),fn=[{value:"today",label:"Last 24 hours"},{value:"last7",label:"Last 7 days"},{value:"lastMonth",label:"Last Month"}],hn=function(e){var t=e.onlyInput,n=void 0!==t&&t,r=Object(Nt.a)(),i=Object(p.g)(),c=Object(a.useMemo)((function(){return Object(Mt.b)(i.location.search,"updatesRange","today")}),[i.location]),o=Object(a.useCallback)((function(e){Object(Mt.c)(i,{updatesRange:e.target.value},{replace:!0})}),[i]);return n?Object(S.jsx)(dn.a,{value:c,SelectProps:{onChange:o},size:"small",fullWidth:!0,select:!0,InputProps:{sx:{backgroundColor:r.palette.background.paper,textAlign:"left"}},children:fn.map((function(e){return Object(S.jsx)(un.a,{value:e.value,children:Object(S.jsx)(v.a,{children:Object(S.jsx)(y.a,{variant:"body1",fontSize:"var(--Input-fontSize, 1rem)",children:e.label})})},e.value)}))}):Object(S.jsx)(v.a,{sx:{},children:Object(S.jsx)(dn.a,{value:c,SelectProps:{onChange:o},size:"small",fullWidth:!0,select:!0,InputProps:{sx:{backgroundColor:r.palette.background.paper,textAlign:"left"}},children:fn.map((function(e){return Object(S.jsx)(un.a,{value:e.value,children:Object(S.jsx)(v.a,{children:Object(S.jsx)(y.a,{variant:"body1",fontSize:"var(--Input-fontSize, 1rem)",children:e.label})})},e.value)}))})})},On=[{value:"All",label:"All opportunities"},{value:"Forecast",label:"Forecasts"},{value:"Contract",label:"Contracts"},{value:"Grant",label:"Grants"}],gn=function(e){var t=e.loading,n=Object(Zt.c)((function(e){return e.pipelines})),r=n.items,i=n.fetchStatus,c=Object(Nt.a)(),o=Object(p.g)(),s=Object(a.useRef)(null),l=Object(a.useMemo)((function(){return Object(Mt.b)(o.location.search,"opportunitiesType",["All"],{multiple:!0})}),[o.location]),d=Object(a.useMemo)((function(){return Object(Mt.b)(o.location.search,"pipelineValue",["all"],{multiple:!0})}),[o.location,r]),u=(Object(a.useMemo)((function(){return Object(Mt.b)(o.location.search,"opportunitiesRange","today")}),[o.location]),Object(a.useMemo)((function(){return Object(Mt.b)(o.location.search,"opportunitiesKeyword","")}),[o.location])),b=Object(a.useMemo)((function(){return Object(Mt.b)(o.location.search,"detailsForPipelines","true")}),[o.location]),j=Object(a.useCallback)((function(e){var t=e.target.value,n=t.includes("All")&&!l.includes("All")?["All"]:t.includes("All")&&t.length>1&&l.includes("All")?t.filter((function(e){return"All"!==e})):t;Object(Mt.c)(o,{opportunitiesType:n,pageIndex:"0",pageSize:"20"},{replace:!0})}),[o.location]),m=Object(a.useCallback)((function(e){var t=e.target.value,n=t.includes("all")&&!d.includes("all")?["all"]:t.includes("all")&&t.length>1&&d.includes("all")?t.filter((function(e){return"all"!==e})):t;Object(Mt.c)(o,{pipelineValue:n,pageIndex:"0"},{replace:!0})}),[o.location,r]),f=(Object(a.useCallback)((function(e){Object(Mt.c)(o,{opportunitiesRange:e.target.value},{replace:!0})}),[o.location]),Object(a.useCallback)((function(e){Object(Mt.c)(o,{opportunitiesKeyword:e,pageIndex:"0",pageSize:"20"})}),[o.location])),h=Object(a.useCallback)(Object(_t.debounce)(f,750),[f]);return Object(S.jsx)(v.a,{sx:{backgroundColor:c.palette.primary.light,px:2,py:1,borderBottom:"solid 1px ".concat(c.palette.divider),boxShadow:"inset 0px 11px 11px -16px rgba(66, 68, 90, 1)"},children:Object(S.jsxs)(A.a,{direction:{xs:"column",sm:"row",md:"column",lg:"row"},spacing:1,children:[Object(S.jsx)(dn.a,{disabled:t,inputRef:s,defaultValue:null!==u&&void 0!==u?u:"",fullWidth:!0,onChange:function(e){h(e.target.value)},size:"small",placeholder:"Search",InputProps:{sx:{backgroundColor:c.palette.background.paper},startAdornment:Object(S.jsx)(mn.a,{style:{marginRight:"8px"}}),endAdornment:u?Object(S.jsx)(Me.a,{disabled:t,onClick:function(){s.current&&(s.current.value="",f(""))},children:Object(S.jsx)(bn.a,{})}):void 0}}),Object(S.jsx)(dn.a,{disabled:t,value:null!==l&&void 0!==l?l:[],SelectProps:{onChange:j,multiple:!0,renderValue:function(e){var t=e;return Object(S.jsx)(y.a,{variant:"body1",sx:{textOverflow:"ellipsis",maxWidth:"300px",wordBreak:"break-all"},noWrap:!0,children:t.includes("All")?"All opportunities":t.join(", ")})}},size:"small",fullWidth:!0,select:!0,InputProps:{sx:{backgroundColor:c.palette.background.paper,textAlign:"left"}},children:On.map((function(e){return Object(S.jsx)(un.a,{value:e.value,disabled:t,children:Object(S.jsxs)(v.a,{sx:{display:"flex",gap:1,alignItems:"center"},children:[Object(S.jsx)(pn.a,{sx:{p:.5,m:0},checked:l.includes(e.value)}),Object(S.jsx)(y.a,{variant:"body1",fontSize:"var(--Input-fontSize, 1rem)",children:e.label})]})},e.value)}))}),Object(S.jsx)(dn.a,{disabled:t||Gt.a.isFetching(i)||"true"!==b,value:null!==d&&void 0!==d?d:[],SelectProps:{onChange:m,multiple:!0,renderValue:function(e){var t=e;return Object(S.jsx)(y.a,{variant:"body1",sx:{textOverflow:"ellipsis",maxWidth:"300px",wordBreak:"break-all"},noWrap:!0,children:t.includes("all")?"All Pipelines":r.filter((function(e){return t.includes(e.id.toString())})).map((function(e){return e.name})).join(", ")})}},size:"small",fullWidth:!0,select:!0,InputProps:{sx:{backgroundColor:c.palette.background.paper,textAlign:"left"}},children:[{id:"all",name:"All Pipelines"}].concat(Object(ee.a)(r)).map((function(e){return Object(S.jsx)(un.a,{value:e.id.toString(),disabled:t,sx:{maxWidth:"350px",whiteSpace:"normal"},children:Object(S.jsxs)(v.a,{sx:{display:"flex",gap:1,alignItems:"center"},children:[Object(S.jsx)(pn.a,{sx:{p:.5,m:0},checked:d.includes(e.id.toString())}),Object(S.jsx)(y.a,{variant:"body1",fontSize:"var(--Input-fontSize, 1rem)",children:e.name})]})},e.id.toString())}))}),Object(S.jsx)(hn,{onlyInput:!0})]})})},xn=Object(Rt.a)(Object(S.jsx)("svg",{width:"11",height:"14",viewBox:"0 0 11 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:Object(S.jsx)("path",{d:"M6.125 8.25H3.625C3.45924 8.25 3.30027 8.31585 3.18306 8.43306C3.06585 8.55027 3 8.70924 3 8.875C3 9.04076 3.06585 9.19973 3.18306 9.31694C3.30027 9.43415 3.45924 9.5 3.625 9.5H6.125C6.29076 9.5 6.44973 9.43415 6.56694 9.31694C6.68415 9.19973 6.75 9.04076 6.75 8.875C6.75 8.70924 6.68415 8.55027 6.56694 8.43306C6.44973 8.31585 6.29076 8.25 6.125 8.25ZM8.625 2H7.8875C7.75855 1.63528 7.51996 1.31937 7.20442 1.09559C6.88888 0.871799 6.51184 0.751087 6.125 0.75H4.875C4.48816 0.751087 4.11112 0.871799 3.79558 1.09559C3.48004 1.31937 3.24145 1.63528 3.1125 2H2.375C1.87772 2 1.40081 2.19754 1.04917 2.54917C0.697544 2.90081 0.5 3.37772 0.5 3.875V11.375C0.5 11.8723 0.697544 12.3492 1.04917 12.7008C1.40081 13.0525 1.87772 13.25 2.375 13.25H8.625C9.12228 13.25 9.59919 13.0525 9.95083 12.7008C10.3025 12.3492 10.5 11.8723 10.5 11.375V3.875C10.5 3.37772 10.3025 2.90081 9.95083 2.54917C9.59919 2.19754 9.12228 2 8.625 2ZM4.25 2.625C4.25 2.45924 4.31585 2.30027 4.43306 2.18306C4.55027 2.06585 4.70924 2 4.875 2H6.125C6.29076 2 6.44973 2.06585 6.56694 2.18306C6.68415 2.30027 6.75 2.45924 6.75 2.625V3.25H4.25V2.625ZM9.25 11.375C9.25 11.5408 9.18415 11.6997 9.06694 11.8169C8.94973 11.9342 8.79076 12 8.625 12H2.375C2.20924 12 2.05027 11.9342 1.93306 11.8169C1.81585 11.6997 1.75 11.5408 1.75 11.375V3.875C1.75 3.70924 1.81585 3.55027 1.93306 3.43306C2.05027 3.31585 2.20924 3.25 2.375 3.25H3V3.875C3 4.04076 3.06585 4.19973 3.18306 4.31694C3.30027 4.43415 3.45924 4.5 3.625 4.5H7.375C7.54076 4.5 7.69973 4.43415 7.81694 4.31694C7.93415 4.19973 8 4.04076 8 3.875V3.25H8.625C8.79076 3.25 8.94973 3.31585 9.06694 3.43306C9.18415 3.55027 9.25 3.70924 9.25 3.875V11.375ZM7.375 5.75H3.625C3.45924 5.75 3.30027 5.81585 3.18306 5.93306C3.06585 6.05027 3 6.20924 3 6.375C3 6.54076 3.06585 6.69973 3.18306 6.81694C3.30027 6.93415 3.45924 7 3.625 7H7.375C7.54076 7 7.69973 6.93415 7.81694 6.81694C7.93415 6.69973 8 6.54076 8 6.375C8 6.20924 7.93415 6.05027 7.81694 5.93306C7.69973 5.81585 7.54076 5.75 7.375 5.75Z",fill:"#828282"})}),"Clipboard"),vn=n(673),yn=n.n(vn),Cn=Object(Rt.a)(Object(S.jsx)("svg",{width:"12",height:"14",viewBox:"0 0 12 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:Object(S.jsx)("path",{d:"M11.26 5.36653C11.2046 5.25659 11.1199 5.16413 11.0151 5.09941C10.9104 5.0347 10.7898 5.00024 10.6667 4.99987H7.33336V0.999866C7.34052 0.853655 7.29935 0.709154 7.21621 0.588666C7.13308 0.468179 7.0126 0.378404 6.87336 0.333199C6.73951 0.289161 6.59515 0.288667 6.461 0.331786C6.32686 0.374905 6.20982 0.45942 6.1267 0.573199L0.793363 7.90653C0.72654 8.00311 0.686416 8.11563 0.67705 8.23269C0.667685 8.34976 0.689411 8.46723 0.74003 8.5732C0.786644 8.69437 0.867622 8.79928 0.973023 8.87508C1.07842 8.95087 1.20366 8.99424 1.33336 8.99987H4.6667V12.9999C4.6668 13.1405 4.71134 13.2774 4.79396 13.3912C4.87658 13.5049 4.99304 13.5896 5.1267 13.6332C5.19368 13.654 5.26325 13.6652 5.33336 13.6665C5.43855 13.6668 5.54232 13.6422 5.63617 13.5947C5.73002 13.5472 5.8113 13.4781 5.87336 13.3932L11.2067 6.05987C11.2785 5.9604 11.3215 5.84304 11.3309 5.7207C11.3403 5.59837 11.3158 5.47582 11.26 5.36653ZM6.00003 10.9465V8.3332C6.00003 8.15639 5.92979 7.98682 5.80477 7.86179C5.67974 7.73677 5.51017 7.66653 5.33336 7.66653H2.6667L6.00003 3.0532V5.66653C6.00003 5.84334 6.07027 6.01291 6.19529 6.13794C6.32032 6.26296 6.48989 6.3332 6.6667 6.3332H9.33336L6.00003 10.9465Z",fill:"white"})}),"Bolt"),An=Object(Rt.a)(Object(S.jsx)("svg",{width:"13",height:"14",viewBox:"0 0 13 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:Object(S.jsx)("path",{d:"M6.1875 12H2.4375C2.27174 12 2.11277 11.9342 1.99556 11.8169C1.87835 11.6997 1.8125 11.5408 1.8125 11.375V2.625C1.8125 2.45924 1.87835 2.30027 1.99556 2.18306C2.11277 2.06585 2.27174 2 2.4375 2H5.5625V3.875C5.5625 4.37228 5.76004 4.84919 6.11167 5.20083C6.46331 5.55246 6.94022 5.75 7.4375 5.75H9.3125V8.875C9.3125 9.04076 9.37835 9.19973 9.49556 9.31694C9.61277 9.43415 9.77174 9.5 9.9375 9.5C10.1033 9.5 10.2622 9.43415 10.3794 9.31694C10.4967 9.19973 10.5625 9.04076 10.5625 8.875V5.125C10.5625 5.125 10.5625 5.125 10.5625 5.0875C10.556 5.03008 10.5434 4.97352 10.525 4.91875V4.8625C10.4949 4.79824 10.4549 4.73917 10.4062 4.6875L6.65625 0.9375C6.60458 0.888885 6.54551 0.848801 6.48125 0.81875C6.46057 0.815131 6.43943 0.815131 6.41875 0.81875C6.35798 0.786252 6.29266 0.763076 6.225 0.75H2.4375C1.94022 0.75 1.46331 0.947544 1.11167 1.29917C0.760044 1.65081 0.5625 2.12772 0.5625 2.625V11.375C0.5625 11.8723 0.760044 12.3492 1.11167 12.7008C1.46331 13.0525 1.94022 13.25 2.4375 13.25H6.1875C6.35326 13.25 6.51223 13.1842 6.62944 13.0669C6.74665 12.9497 6.8125 12.7908 6.8125 12.625C6.8125 12.4592 6.74665 12.3003 6.62944 12.1831C6.51223 12.0658 6.35326 12 6.1875 12ZM6.8125 2.88125L8.43125 4.5H7.4375C7.27174 4.5 7.11277 4.43415 6.99556 4.31694C6.87835 4.19973 6.8125 4.04076 6.8125 3.875V2.88125ZM3.6875 8.25H7.4375C7.60326 8.25 7.76223 8.18415 7.87944 8.06694C7.99665 7.94973 8.0625 7.79076 8.0625 7.625C8.0625 7.45924 7.99665 7.30027 7.87944 7.18306C7.76223 7.06585 7.60326 7 7.4375 7H3.6875C3.52174 7 3.36277 7.06585 3.24556 7.18306C3.12835 7.30027 3.0625 7.45924 3.0625 7.625C3.0625 7.79076 3.12835 7.94973 3.24556 8.06694C3.36277 8.18415 3.52174 8.25 3.6875 8.25ZM6.1875 9.5H3.6875C3.52174 9.5 3.36277 9.56585 3.24556 9.68306C3.12835 9.80027 3.0625 9.95924 3.0625 10.125C3.0625 10.2908 3.12835 10.4497 3.24556 10.5669C3.36277 10.6842 3.52174 10.75 3.6875 10.75H6.1875C6.35326 10.75 6.51223 10.6842 6.62944 10.5669C6.74665 10.4497 6.8125 10.2908 6.8125 10.125C6.8125 9.95924 6.74665 9.80027 6.62944 9.68306C6.51223 9.56585 6.35326 9.5 6.1875 9.5ZM3.6875 5.75H4.3125C4.47826 5.75 4.63723 5.68415 4.75444 5.56694C4.87165 5.44973 4.9375 5.29076 4.9375 5.125C4.9375 4.95924 4.87165 4.80027 4.75444 4.68306C4.63723 4.56585 4.47826 4.5 4.3125 4.5H3.6875C3.52174 4.5 3.36277 4.56585 3.24556 4.68306C3.12835 4.80027 3.0625 4.95924 3.0625 5.125C3.0625 5.29076 3.12835 5.44973 3.24556 5.56694C3.36277 5.68415 3.52174 5.75 3.6875 5.75ZM12.2562 9.68125C12.1981 9.62267 12.129 9.57617 12.0529 9.54444C11.9767 9.51271 11.895 9.49638 11.8125 9.49638C11.73 9.49638 11.6483 9.51271 11.5721 9.54444C11.496 9.57617 11.4269 9.62267 11.3688 9.68125L9.3125 11.7437L8.50625 10.9313C8.44798 10.873 8.37879 10.8267 8.30266 10.7952C8.22652 10.7637 8.14491 10.7474 8.0625 10.7474C7.98009 10.7474 7.89848 10.7637 7.82234 10.7952C7.74621 10.8267 7.67702 10.873 7.61875 10.9313C7.56048 10.9895 7.51425 11.0587 7.48271 11.1348C7.45117 11.211 7.43494 11.2926 7.43494 11.375C7.43494 11.4574 7.45117 11.539 7.48271 11.6152C7.51425 11.6913 7.56048 11.7605 7.61875 11.8187L8.86875 13.0687C8.92685 13.1273 8.99598 13.1738 9.07214 13.2056C9.1483 13.2373 9.22999 13.2536 9.3125 13.2536C9.39501 13.2536 9.4767 13.2373 9.55286 13.2056C9.62902 13.1738 9.69815 13.1273 9.75625 13.0687L12.2562 10.5687C12.3148 10.5106 12.3613 10.4415 12.3931 10.3654C12.4248 10.2892 12.4411 10.2075 12.4411 10.125C12.4411 10.0425 12.4248 9.9608 12.3931 9.88464C12.3613 9.80848 12.3148 9.73935 12.2562 9.68125Z",fill:"white"})}),"DocumentApproved"),wn=n(448),Sn=n(323),Nn=n.n(Sn),En=n(672),In=n.n(En),Dn=Object(Rt.a)(Object(S.jsx)("svg",{width:"12",height:"14",viewBox:"0 0 12 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:Object(S.jsx)("path",{d:"M11.7453 3.09104C11.7239 3.01123 11.687 2.93644 11.6366 2.871C11.5862 2.80556 11.5233 2.75077 11.4515 2.70979L8.20153 0.834788C8.13057 0.793205 8.0521 0.766037 7.97062 0.754841C7.88914 0.743645 7.80625 0.748642 7.7267 0.769545C7.64715 0.790447 7.57251 0.826845 7.50706 0.876651C7.44161 0.926457 7.38663 0.988692 7.34528 1.05979L5.88278 3.59729L4.42028 1.05979C4.37893 0.988692 4.32395 0.926457 4.2585 0.876651C4.19305 0.826845 4.11841 0.790447 4.03886 0.769545C3.95931 0.748642 3.87642 0.743645 3.79494 0.754841C3.71346 0.766037 3.63499 0.793205 3.56403 0.834788L0.314029 2.70979C0.242299 2.75077 0.179406 2.80556 0.128985 2.871C0.0785639 2.93644 0.0416165 3.01123 0.0202794 3.09104C-0.0210852 3.24944 0.00135646 3.41775 0.0827795 3.55979L2.58278 7.82854C2.30387 8.3395 2.14968 8.90915 2.13278 9.49104C2.13129 10.0587 2.25871 10.6193 2.50542 11.1306C2.75213 11.6419 3.11169 12.0904 3.557 12.4425C4.00231 12.7946 4.52175 13.041 5.07614 13.1631C5.63053 13.2852 6.20541 13.2798 6.75743 13.1474C7.30945 13.015 7.82421 12.759 8.26289 12.3987C8.70157 12.0384 9.05272 11.5832 9.28987 11.0674C9.52702 10.5517 9.64398 9.98878 9.63192 9.42123C9.61987 8.85368 9.47912 8.29627 9.22028 7.79104L11.6578 3.56604C11.7031 3.49663 11.7342 3.41888 11.7493 3.33733C11.7643 3.25578 11.7629 3.17206 11.7453 3.09104ZM1.50778 3.47854L3.67028 2.22854L5.68278 5.74104C4.82492 5.79404 4.01202 6.14305 3.38278 6.72854L1.50778 3.47854ZM5.88278 11.991C5.21974 11.991 4.58385 11.7276 4.11501 11.2588C3.64617 10.79 3.38278 10.1541 3.38278 9.49104C3.38278 8.828 3.64617 8.19211 4.11501 7.72327C4.58385 7.25443 5.21974 6.99104 5.88278 6.99104C6.54582 6.99104 7.18171 7.25443 7.65055 7.72327C8.11939 8.19211 8.38278 8.828 8.38278 9.49104C8.38278 10.1541 8.11939 10.79 7.65055 11.2588C7.18171 11.7276 6.54582 11.991 5.88278 11.991ZM8.38278 6.70979C8.04345 6.39986 7.64918 6.15609 7.22028 5.99104L6.60778 4.84729L8.12028 2.22854L10.2828 3.47854L8.38278 6.70979Z",fill:"#828282"})}),"Award"),Fn=n(449),kn=n.n(Fn),Tn=n(674),Rn=n.n(Tn),Pn=Object(Rt.a)(Object(S.jsx)("svg",{width:"11",height:"14",viewBox:"0 0 11 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:Object(S.jsx)("path",{d:"M5.49999 5.75008C5.33423 5.75008 5.17526 5.81593 5.05805 5.93314C4.94083 6.05035 4.87499 6.20932 4.87499 6.37508V7.62508C4.87499 7.79084 4.94083 7.94981 5.05805 8.06702C5.17526 8.18423 5.33423 8.25008 5.49999 8.25008C5.66575 8.25008 5.82472 8.18423 5.94193 8.06702C6.05914 7.94981 6.12499 7.79084 6.12499 7.62508V6.37508C6.12499 6.20932 6.05914 6.05035 5.94193 5.93314C5.82472 5.81593 5.66575 5.75008 5.49999 5.75008ZM10.7875 5.55008C10.7046 4.63421 10.3854 3.75554 9.86113 3.00002C9.33684 2.24451 8.6254 1.63803 7.79643 1.23992C6.96746 0.841815 6.04934 0.665712 5.1319 0.728843C4.21446 0.791974 3.32911 1.09218 2.56249 1.60008C1.90573 2.03924 1.3544 2.61839 0.948076 3.29595C0.541758 3.97351 0.290546 4.73265 0.212487 5.51883C0.135913 6.29987 0.234158 7.08815 0.500093 7.8265C0.766028 8.56485 1.19298 9.23474 1.74999 9.78758L5.06249 13.1063C5.12059 13.1649 5.18971 13.2114 5.26588 13.2431C5.34204 13.2749 5.42373 13.2912 5.50624 13.2912C5.58874 13.2912 5.67043 13.2749 5.7466 13.2431C5.82276 13.2114 5.89188 13.1649 5.94999 13.1063L9.24999 9.78758C9.80699 9.23474 10.2339 8.56485 10.4999 7.8265C10.7658 7.08815 10.8641 6.29987 10.7875 5.51883V5.55008ZM8.37499 8.90633L5.49999 11.7813L2.62499 8.90633C2.20129 8.48261 1.87674 7.97029 1.67465 7.40618C1.47257 6.84208 1.39798 6.2402 1.45624 5.64383C1.51487 5.03827 1.70734 4.45331 2.01972 3.93123C2.3321 3.40916 2.75658 2.96302 3.26249 2.62508C3.92558 2.1846 4.70393 1.94964 5.49999 1.94964C6.29605 1.94964 7.0744 2.1846 7.73749 2.62508C8.24185 2.96172 8.66541 3.40588 8.97771 3.92567C9.29001 4.44545 9.48332 5.02796 9.54374 5.63133C9.6039 6.22972 9.53024 6.834 9.3281 7.40042C9.12596 7.96684 8.8004 8.48123 8.37499 8.90633ZM6.07499 4.23133C6.06251 4.19294 6.04347 4.15699 6.01874 4.12508L5.94374 4.03133C5.86912 3.96048 5.77817 3.90915 5.67895 3.8819C5.57974 3.85464 5.47532 3.8523 5.37499 3.87508H5.26249L5.14999 3.93133L5.05624 4.01258L4.98124 4.10633C4.9565 4.13824 4.93747 4.17419 4.92499 4.21258C4.90596 4.2498 4.89328 4.28994 4.88749 4.33133C4.87712 4.38695 4.87293 4.44354 4.87499 4.50008C4.87281 4.58408 4.88992 4.66747 4.92499 4.74383C4.95683 4.8176 5.00124 4.88527 5.05624 4.94383C5.11572 5.00223 5.1857 5.04888 5.26249 5.08133C5.41549 5.13946 5.58449 5.13946 5.73749 5.08133C5.81344 5.04736 5.88316 5.00088 5.94374 4.94383C5.99874 4.88527 6.04315 4.8176 6.07499 4.74383C6.10782 4.66675 6.12483 4.58386 6.12499 4.50008C6.12805 4.46056 6.12805 4.42086 6.12499 4.38133C6.11917 4.32835 6.10212 4.27721 6.07499 4.23133Z",fill:"#828282"})}),"LocationInfo"),Mn=Object(Rt.a)(Object(S.jsx)("svg",{width:"13",height:"14",viewBox:"0 0 13 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:Object(S.jsx)("path",{d:"M7.75 4.5H8.375C8.54076 4.5 8.69973 4.43415 8.81694 4.31694C8.93415 4.19973 9 4.04076 9 3.875C9 3.70924 8.93415 3.55027 8.81694 3.43306C8.69973 3.31585 8.54076 3.25 8.375 3.25H7.75C7.58424 3.25 7.42527 3.31585 7.30806 3.43306C7.19085 3.55027 7.125 3.70924 7.125 3.875C7.125 4.04076 7.19085 4.19973 7.30806 4.31694C7.42527 4.43415 7.58424 4.5 7.75 4.5ZM7.75 7H8.375C8.54076 7 8.69973 6.93415 8.81694 6.81694C8.93415 6.69973 9 6.54076 9 6.375C9 6.20924 8.93415 6.05027 8.81694 5.93306C8.69973 5.81585 8.54076 5.75 8.375 5.75H7.75C7.58424 5.75 7.42527 5.81585 7.30806 5.93306C7.19085 6.05027 7.125 6.20924 7.125 6.375C7.125 6.54076 7.19085 6.69973 7.30806 6.81694C7.42527 6.93415 7.58424 7 7.75 7ZM4.625 4.5H5.25C5.41576 4.5 5.57473 4.43415 5.69194 4.31694C5.80915 4.19973 5.875 4.04076 5.875 3.875C5.875 3.70924 5.80915 3.55027 5.69194 3.43306C5.57473 3.31585 5.41576 3.25 5.25 3.25H4.625C4.45924 3.25 4.30027 3.31585 4.18306 3.43306C4.06585 3.55027 4 3.70924 4 3.875C4 4.04076 4.06585 4.19973 4.18306 4.31694C4.30027 4.43415 4.45924 4.5 4.625 4.5ZM4.625 7H5.25C5.41576 7 5.57473 6.93415 5.69194 6.81694C5.80915 6.69973 5.875 6.54076 5.875 6.375C5.875 6.20924 5.80915 6.05027 5.69194 5.93306C5.57473 5.81585 5.41576 5.75 5.25 5.75H4.625C4.45924 5.75 4.30027 5.81585 4.18306 5.93306C4.06585 6.05027 4 6.20924 4 6.375C4 6.54076 4.06585 6.69973 4.18306 6.81694C4.30027 6.93415 4.45924 7 4.625 7ZM12.125 12H11.5V1.375C11.5 1.20924 11.4342 1.05027 11.3169 0.933058C11.1997 0.815848 11.0408 0.75 10.875 0.75H2.125C1.95924 0.75 1.80027 0.815848 1.68306 0.933058C1.56585 1.05027 1.5 1.20924 1.5 1.375V12H0.875C0.70924 12 0.550268 12.0658 0.433058 12.1831C0.315848 12.3003 0.25 12.4592 0.25 12.625C0.25 12.7908 0.315848 12.9497 0.433058 13.0669C0.550268 13.1842 0.70924 13.25 0.875 13.25H12.125C12.2908 13.25 12.4497 13.1842 12.5669 13.0669C12.6842 12.9497 12.75 12.7908 12.75 12.625C12.75 12.4592 12.6842 12.3003 12.5669 12.1831C12.4497 12.0658 12.2908 12 12.125 12ZM7.125 12H5.875V9.5H7.125V12ZM10.25 12H8.375V8.875C8.375 8.70924 8.30915 8.55027 8.19194 8.43306C8.07473 8.31585 7.91576 8.25 7.75 8.25H5.25C5.08424 8.25 4.92527 8.31585 4.80806 8.43306C4.69085 8.55027 4.625 8.70924 4.625 8.875V12H2.75V2H10.25V12Z",fill:"#828282"})}),"OfficeBuilding"),Un=n(336),Ln=n.n(Un),Bn=function(e){var t=e.label,n=e.icon,a=e.value,r=e.bottomDivider,i=void 0!==r&&r,c=e.secondValue,o=void 0===c?null:c,s=e.secondValueProps,l=void 0===s?{}:s,d=e.extraValues,p=void 0===d?[]:d,b=e.extraValuesProps,j=void 0===b?{}:b,m=Object(Nt.a)();return Object(S.jsxs)(S.Fragment,{children:[Object(S.jsxs)(v.a,{sx:{my:2},children:[Object(S.jsxs)(v.a,{sx:{display:"flex",gap:"4px",alignItems:"center",justifyContent:"flex-start",mb:.5,"& > svg":{fill:m.palette.text.secondary,height:"18px !important",width:"18px !important"}},children:[n,Object(S.jsx)(y.a,{variant:"body2",color:"textSecondary",align:"left",children:t})]}),Object(S.jsx)(y.a,{variant:"subtitle2",fontWeight:"600",color:"textPrimary",align:"left",children:a}),o&&Object(S.jsx)(y.a,Object(u.a)(Object(u.a)({fontWeight:"600",align:"left",variant:"subtitle2",color:"textPrimary"},l),{},{children:o})),p.length>0&&p.map((function(e){return Object(S.jsx)(y.a,Object(u.a)(Object(u.a)({fontWeight:"600",align:"left",variant:"subtitle2",color:"textPrimary"},j),{},{children:e}))}))]}),i&&Object(S.jsx)(Tt.a,{sx:{mx:-2,width:"calc(100% + 64px)"}})]})},Vn=n(707),Qn=n(476),Wn=n(115),Hn=n(269),zn=n(208),Yn=n(32),Gn=n(53),Kn=function(e){return"lastUpdatedDateIn"===e?"lastUpdatedDate":"secondaryContactInfo"===e?"pointOfContactTwo":e},qn=(new Intl.NumberFormat("en-US",{style:"currency",currency:"USD"}),function(e,t){var n,a,r,i,c=t.handleOpenFilters,s=t.setFilters,l=t.lastUpdated,d=t.fetchStatus,p=(t.inputValue,t.onChange,t.allFilters),b=(p.pagination,p.filters),j=(p.sortOption,Gt.a.isFetching(d)),m=null===(n=Object.entries(b))||void 0===n||null===(a=n.filter((function(e){var t=Object(o.a)(e,2),n=t[0];t[1];return!n.includes("include")&&!n.includes("sort")&&"onlyUntrackedInPipeline"!==n})))||void 0===a||null===(r=a.filter((function(e){var t=Object(o.a)(e,2),n=(t[0],t[1]);return Array.isArray(n)?n.length>0:!!n})))||void 0===r||null===(i=r.map((function(e){var t=Object(o.a)(e,2),n=t[0];t[1];return n})))||void 0===i?void 0:i.length;return[Object(S.jsxs)(v.a,{sx:{pt:1,display:"flex",gap:"16px",alignItems:"center"},children:[Object(S.jsx)(Vn.a,{title:"Filters",children:Object(S.jsx)("span",{children:Object(S.jsxs)(it.a,{variant:"outlined",endIcon:Object(S.jsx)(Wn.a,{sx:{width:"24px",height:"24px"}}),size:"small",onClick:c,children:["Filters",m>0&&Object(S.jsx)(qe.a,{sx:{position:"absolute",height:"16px",width:"16px",top:"2px",right:"6px",fontSize:"12px",backgroundColor:e.palette.secondary.main,pointerEvents:"none"},children:m})]})})}),Object(S.jsx)(Qn.a,{onChange:function(e,t){return s((function(e){return Object(u.a)(Object(u.a)({},e),{},{onlyUntrackedInPipeline:t})}))},control:Object(S.jsx)(on.a,{checked:b.onlyUntrackedInPipeline}),label:"Exclude Tracked Opportunities",disabled:j})]}),Object(S.jsxs)(v.a,{sx:{display:"flex",gap:"16px",alignItems:"center",justifyContent:"space-between"},children:[Object(S.jsxs)(v.a,{children:[Object(S.jsx)(Qn.a,{onChange:function(e,t){return s((function(e){return Object(u.a)(Object(u.a)({},e),{},{includeUsaid:t})}))},control:Object(S.jsx)(on.a,{checked:b.includeUsaid}),label:"USAID",disabled:j}),Object(S.jsx)(Qn.a,{onChange:function(e,t){return s((function(e){return Object(u.a)(Object(u.a)({},e),{},{includeMcc:t})}))},control:Object(S.jsx)(on.a,{checked:b.includeMcc}),label:"MCC",disabled:j}),Object(S.jsx)(Qn.a,{onChange:function(e,t){return s((function(e){return Object(u.a)(Object(u.a)({},e),{},{includeStateDept:t})}))},control:Object(S.jsx)(on.a,{checked:b.includeStateDept}),label:"State Dept",disabled:j}),Object(S.jsx)(Qn.a,{onChange:function(e,t){return s((function(e){return Object(u.a)(Object(u.a)({},e),{},{includeCdc:t})}))},control:Object(S.jsx)(on.a,{checked:b.includeCdc}),label:"CDC",disabled:j})]}),Object(S.jsxs)(v.a,{sx:{display:"flex",gap:"24px","& > *":{display:"flex",alignItems:"center"}},children:[Object(S.jsxs)(y.a,{variant:"subtitle2",color:"textSecondary",children:[Object(S.jsx)(Hn.a,{color:"secondary",sx:{height:"16px",width:"16px",mr:.5,mt:"-2px"}}),"Source: grants.gov"]}),Object(S.jsxs)(y.a,{variant:"subtitle2",color:"textSecondary",children:[Object(S.jsx)(zn.a,{sx:{height:"16px",width:"16px",mr:.5,mt:"-2px"}}),"Last updated: ",null!==l&&void 0!==l?l:"N/A"]})]})]})]}),Xn=function(e){var t=[{name:"Grants.gov link"},{name:"Agency"},{name:"Mission / Bureau"},{name:"Opportunity Title"},{name:"Description"},{name:"Opportunity Status"},{name:"Last Updated Date"},{name:"Opportunity Number"},{name:"Funding Instrument Type"},{name:"Opportunity Category"},{name:"Category of Funding Activity"},{name:"Expected Number of Awards"},{name:"CFDA Number(s)"},{name:"Cost Sharing or Matching Requirement"},{name:"Version"},{name:"Original Closing Date for Applications"},{name:"Current Closing Date for Applications"},{name:"Posting Date"},{name:"Archive Date"},{name:"Estimated Total Program Funding"},{name:"Award Ceiling"},{name:"Award Floor"},{name:"Eligible Applicants"},{name:"Additional Information on Eligibility"},{name:"Contact Name"},{name:"Contact Description"},{name:"Contact Email"},{name:"Contact Phone"}],n=[];if(0===e.length)n.push(Object(De.d)(t.length));else for(var a=0;a2&&void 0!==c[2]?c[2]:1e3,(r=n)&&(r.pageSize=a,r.pageIndex=0),i=Array(),e.next=6,V.a.get(Object(L.f)("/api/grant".concat(Object(Gn.a)(r,"|")),{useDedicatedEnvironment:!0}),Object(L.c)(t)).then((function(e){i=e.data.data})).catch((function(e){alert("error fetching data")}));case 6:return e.abrupt("return",i);case 7:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),Jn=function(e,t){return null===e?null!==t&&void 0!==t?t:"":"$".concat(e)},_n={clipboard:Object(S.jsx)(xn,{}),locationOn:Object(S.jsx)(Nn.a,{}),locationInfo:Object(S.jsx)(Pn,{}),localOffer:Object(S.jsx)(In.a,{}),calendar:Object(S.jsx)(yn.a,{}),award:Object(S.jsx)(Dn,{}),requestQuote:Object(S.jsx)(kn.a,{}),checkbox:Object(S.jsx)(Rn.a,{}),officeBuilding:Object(S.jsx)(Mn,{}),portrait:Object(S.jsx)(Ln.a,{}),bolt:Object(S.jsx)(Cn,{}),documentApproved:Object(S.jsx)(An,{}),officeBag:Object(S.jsx)(wn.a,{htmlColor:"white",sx:{fill:"white !important"}})},$n={primes:"Suggested Primes/Partners","q&a":"Quarterly Forecast Q&A",bid:"Bid Documents",notes:"Pipelines Notes","award-details":"Award Details","contact-details":"Contact Details","related-documents":"Related Documents",eligibility:"Eligibility"},ea=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"dd MMMM yyyy, hh:mm";return e?new Date(e)&&new Date(e).toISOString().startsWith("0")?"N/A":Object(Qt.a)(t?Object(ot.e)(e):new Date(e),n):"N/A"},ta=function(e,t){return{forecast:{label:"Forecast+",backgroundColor:e.palette.secondary.main,boxShadowColor:e.palette.secondary.dark,icon:_n.bolt},contracts:{label:"Contracts+",backgroundColor:e.palette.success.main,boxShadowColor:e.palette.success.dark,icon:_n.documentApproved},grants:{label:"Grants+",backgroundColor:e.palette.primary.main,boxShadowColor:e.palette.primary.dark,icon:_n.officeBag}}[t]},na=function(e,t,n){var a="forecast"===e?["primes","q&a","bid"]:"contracts"===e?["award-details","contact-details","related-documents"]:["eligibility","contact-details","related-documents"];return Object(S.jsx)(S.Fragment,{children:a.map((function(e){return Object(S.jsx)(it.a,{size:"small",onClick:function(){return n(e)},color:"secondary",variant:t===e?"contained":"secondaryContained",children:$n[e]})}))})},aa=function(e,t){var n,a,r,i,c,o,s,l,d,u,p,b;return{country:{label:"Country/Office",value:null!==(n=null===t||void 0===t?void 0:t.country)&&void 0!==n?n:"N/A",icon:_n.locationOn},sector:{label:"Sector",icon:_n.localOffer,value:null!==(a=null===t||void 0===t?void 0:t.sector)&&void 0!==a?a:"N/A"},anticipatedReleaseDate:{label:"Anticipated Release Date",icon:_n.calendar,value:ea(null===t||void 0===t?void 0:t.anticipatedSolicitationReleaseDate,!1,"dd MMMM yyyy")},awardActionType:{label:"Award/Action Type",icon:_n.award,value:null!==(r=null===t||void 0===t?void 0:t.awardActionType)&&void 0!==r?r:"N/A"},anticipatedAwardDate:{label:"Anticipated Award Date",icon:_n.award,value:ea(null===t||void 0===t?void 0:t.anticipatedAwardDate,!1,"dd MMMM yyyy")},awardLength:{label:"Award Length",icon:_n.calendar,value:null!==(i=null===t||void 0===t?void 0:t.awardLength)&&void 0!==i?i:"N/A"},cost:{label:"Cost",icon:_n.requestQuote,value:null!==(c=null===t||void 0===t?void 0:t.totalEstimatedCost)&&void 0!==c?c:"N/A"},eligibilityCriteria:{label:"Eligibility Criteria",icon:_n.checkbox,value:null!==(o=null===t||void 0===t?void 0:t.eligibilityCriteria)&&void 0!==o?o:"N/A"},fiscalYearOfAction:{label:"Fiscal Year Of Action",icon:_n.calendar,value:null!==(s=null===t||void 0===t?void 0:t.fiscalYearofAction)&&void 0!==s?s:"N/A"},solicitationNumber:{label:"Solicitation Number",icon:_n.calendar,value:null!==(l=null===t||void 0===t?void 0:t.solicitationNumber)&&void 0!==l?l:"N/A"},geoCodes:{label:"Geographical Codes",icon:_n.locationInfo,value:null!==(d=null===t||void 0===t?void 0:t.geographicalCodes)&&void 0!==d?d:"N/A"},location:{label:"Location",icon:_n.locationOn,value:null!==(u=null===t||void 0===t?void 0:t.location)&&void 0!==u?u:"N/A"},setAside:{label:"Small Business Set-Aside",icon:_n.officeBuilding,value:null!==(p=null===t||void 0===t?void 0:t.smallBusinessSetAside)&&void 0!==p?p:"N/A"},aaSpecialist:{label:"A&A Specialist",icon:_n.portrait,value:null!==(b=null===t||void 0===t?void 0:t.aaSpecialist)&&void 0!==b?b:"N/A"}}},ra=function(e,t){var n,a,r,i,c,o;return{country:{label:"Country/Office",value:null!==(n=null===t||void 0===t?void 0:t.country)&&void 0!==n?n:"N/A",icon:_n.locationOn},agencyName:{label:"Department/Agency",icon:_n.localOffer,value:null!==(a=null===t||void 0===t?void 0:t.agencyName)&&void 0!==a?a:"N/A"},solicitationDeadlineResponseIn:{label:"Offer Due Date",icon:_n.calendar,value:ea(null===t||void 0===t?void 0:t.solicitationDeadlineResponseIn,!0,"dd MMMM yyyy")},solicitationNumber:{label:"Solicitation Number",icon:_n.calendar,value:null!==(r=null===t||void 0===t?void 0:t.solicitationNumber)&&void 0!==r?r:"N/A"},classificationCode:{label:"Product Service Code",icon:_n.checkbox,value:null!==(i=null===t||void 0===t?void 0:t.classificationCode)&&void 0!==i?i:"N/A"},naicsCodes:{label:"NAICS",icon:_n.locationInfo,value:null!==(c=null===t||void 0===t?void 0:t.naicsCodes)&&void 0!==c?c:"N/A"},placeOfPerformance:{label:"Place Of Performance",icon:_n.locationInfo,value:(null===t||void 0===t?void 0:t.placeOfPerformance)&&(null===t||void 0===t?void 0:t.placeOfPerformance.length)>0?null===t||void 0===t?void 0:t.placeOfPerformance:"N/A"},setAside:{label:"Set-Aside",icon:_n.officeBuilding,value:null!==(o=null===t||void 0===t?void 0:t.setAside)&&void 0!==o?o:"N/A"}}},ia=function(e,t){var n,a,r,i,c,o;return{topLevelAgency:{label:"Agency",value:null!==(n=null===t||void 0===t?void 0:t.topLevelAgency)&&void 0!==n?n:"N/A",icon:_n.localOffer},agencyName:{label:"Misson / Bureau",icon:_n.locationOn,value:null!==(a=null===t||void 0===t?void 0:t.agencyName)&&void 0!==a?a:"N/A"},fundingInstrumentDescription:{label:"Funding Instrument Type",icon:_n.calendar,value:Array.isArray(null===t||void 0===t?void 0:t.fundingInstrumentDescription)&&(null===t||void 0===t||null===(r=t.fundingInstrumentDescription)||void 0===r?void 0:r.length)>0?t.fundingInstrumentDescription.map((function(e){return e.description})).join(", "):"N/A"},opportunityCategoryDescription:{label:"Opportunity Category",icon:_n.calendar,value:null!==(i=null===t||void 0===t?void 0:t.opportunityCategoryDescription)&&void 0!==i?i:"N/A"},fundingActivityDescription:{label:"Category of Funding Activity",icon:_n.checkbox,value:Array.isArray(null===t||void 0===t?void 0:t.fundingActivityDescription)&&(null===t||void 0===t||null===(c=t.fundingActivityDescription)||void 0===c?void 0:c.length)>0?t.fundingActivityDescription.map((function(e){return e.description})).join(", "):"N/A"},originalDueDate:{label:"Original Closing Date for Applications",icon:_n.calendar,value:ea(null===t||void 0===t?void 0:t.originalDueDate,!0,"dd MMMM yyyy")},responseDate:{label:"Current Closing Date for Applications",icon:_n.calendar,value:ea(null===t||void 0===t?void 0:t.responseDate,!0,"dd MMMM yyyy")},awardCeilingFormatted:{label:"Award Ceiling",icon:_n.locationInfo,value:Jn(null===t||void 0===t?void 0:t.awardCeilingFormatted,"N/A")},awardFloorFormatted:{label:"Award Floor",icon:_n.locationInfo,value:Jn(null===t||void 0===t?void 0:t.awardFloorFormatted,"N/A")},cfdas:{label:"CFDA Number(s)",icon:_n.locationInfo,value:Array.isArray(null===t||void 0===t?void 0:t.cfdas)&&(null===t||void 0===t||null===(o=t.cfdas)||void 0===o?void 0:o.length)>0?t.cfdas.map((function(e){return"".concat(e.cfdaNumber,": ").concat(e.programTitle)})).join("\n"):"N/A"}}},ca=n(94),oa=n(149),sa=n(207),la=n.n(sa),da=n(371),ua=n.n(da),pa=n(675),ba=n.n(pa),ja=n(206),ma=function(e){var t,n,r,i,c,s,l,d,p,b,j=e.item,m=e.idx,f=e.handleOpenModal,h=e.setShareModalOpen,O=e.setShareModalOpenFor,g=e.handleOpenAddToPipelines,x=e.handleCloseAddToPipelines,C=e.addToPipelinesOpen,w=e.onChangePipelines,N=Object(Nt.a)(),E=Object(a.useState)(!0),I=Object(o.a)(E,2),D=I[0],F=I[1],k=Object(a.useRef)(null),T=Object(a.useCallback)((function(){F(!D)}),[D]);return Object(S.jsxs)(v.a,{sx:Object(u.a)(Object(u.a)({},m>0&&{borderTop:"solid 1px ".concat(N.palette.divider)}),{},{px:2,py:1,textAlign:"left",display:"flex",flexDirection:"column",gap:1}),children:[Object(S.jsxs)(v.a,{sx:{display:"flex",columnGap:1,rowGap:.5,flexWrap:"wrap",alignItems:"center",justifyContent:"space-between"},children:[Object(S.jsxs)(v.a,{sx:{display:"flex",columnGap:1,rowGap:.5,flexWrap:"wrap",alignItems:"center"},children:["Forecast"===j.datasetType?Object(oa.d)(Object(u.a)(Object(u.a)({},j),{},{status:"Removed"===j.status?"FinalRecord":"Changed"===j.status?"ModifiedRecord":"NewRecord"}),N,"8px",28):Object(oa.d)(Object(u.a)(Object(u.a)({},j),{},{status:j.lastUpdatedOn!==j.postingDate?"ModifiedRecord":"NewRecord"}),N,"8px",28),Object(S.jsx)(zt.a,{label:j.badgeSettings.label,height:28,fontSize:"14px",color:N.palette.secondary.contrastText,backgroundColor:j.badgeSettings.backgroundColor,borderRadius:"8px",fontWeight:300,icon:j.badgeSettings.icon,sx:{"& > svg":{fill:N.palette.secondary.contrastText,height:"16px !important",width:"16px !important"},px:.5}}),Object(S.jsx)(y.a,{variant:"body2",color:"textSecondary",children:j.lastUpdatedOn?Object(Qt.a)(new Date(j.lastUpdatedOn),"MM/dd/yyyy 'at' hh:mm aaa"):""})]}),Object(S.jsxs)(v.a,{sx:{display:"flex",alignItems:"center",gap:1},children:[Object(S.jsx)(Vn.a,{onClose:x,open:!!C&&C==="".concat(j.sourceId,"-").concat(m),disableFocusListener:!0,disableHoverListener:!0,disableTouchListener:!0,disableInteractive:!1,title:Object(S.jsx)(ja.a,{handleCloseAddToPipelines:x,item:Object(u.a)(Object(u.a)({},j),{},{id:j.sourceId}),source:"Forecast"===j.datasetType?"forecast":"Contract"===j.datasetType?"contracts":"grants",onChangePipelines:w}),slotProps:{tooltip:{sx:{backgroundColor:"rgb(97,97,97)",minWidth:"350px"}}},children:Object(S.jsx)("span",{children:Object(S.jsx)(zt.a,{label:(null===(t=j.userPipelines)||void 0===t?void 0:t.length)>0?"Added":"Add",height:28,fontSize:"14px",color:(null===(n=j.userPipelines)||void 0===n?void 0:n.length)>0?N.palette.secondary.contrastText:N.palette.success.main,backgroundColor:(null===(r=j.userPipelines)||void 0===r?void 0:r.length)>0?N.palette.success.main:N.palette.primary.contrastText,borderRadius:"8px",fontWeight:300,icon:Object(S.jsx)(ua.a,{fontSize:"small",sx:{width:"24px",height:"24px"}}),sx:Object(u.a)({"& > svg":{fill:(null===(i=j.userPipelines)||void 0===i?void 0:i.length)>0?N.palette.secondary.contrastText:N.palette.success.main,height:"16px !important",width:"16px !important"},alignItems:"center",px:.5},!(null===(c=j.userPipelines)||void 0===c?void 0:c.length)&&{outline:"solid 1px ".concat(N.palette.success.main)}),onClick:function(){return g(j,m)}})})}),Object(S.jsx)(zt.a,{label:"Share",height:28,fontSize:"14px",color:N.palette.secondary.contrastText,backgroundColor:N.palette.primary.main,borderRadius:"8px",fontWeight:300,icon:Object(S.jsx)(la.a,{fontSize:"small",sx:{transform:"scale(-1, 1)",width:"24px",height:"24px"}}),sx:{"& > svg":{fill:N.palette.secondary.contrastText,height:"16px !important",width:"16px !important"},alignItems:"center",px:.5},onClick:function(){return function(e){h(!0),O(e)}(j)}})]})]}),Object(S.jsxs)(A.a,{direction:"row",alignItems:"center",gap:2,children:[Object(S.jsxs)(A.a,{direction:"row",alignItems:"center",sx:{maxWidth:"75%"},children:[Object(S.jsx)(Nn.a,{sx:{height:"16px !important",width:"16px !important"}}),Object(S.jsx)(y.a,{variant:"subtitle2",fontWeight:300,color:"inherit",sx:{mb:"-2px",width:"max-content",display:"-webkit-box",overflow:"hidden",WebkitBoxOrient:"vertical",WebkitLineClamp:1,wordBreak:"break-all"},dangerouslySetInnerHTML:{__html:null!==(s=null!==(l=j.countryGeneric)&&void 0!==l?l:j.countrySpecific)&&void 0!==s?s:"--"}})]}),Object(S.jsxs)(A.a,{direction:"row",alignItems:"center",sx:{maxWidth:"75%",gap:.5},children:[Object(S.jsx)(ba.a,{sx:{height:"16px !important",width:"16px !important"}}),Object(S.jsx)(y.a,{variant:"subtitle2",fontWeight:300,color:"inherit",sx:{mb:"-2px",width:"max-content",display:"-webkit-box",overflow:"hidden",WebkitBoxOrient:"vertical",WebkitLineClamp:1,wordBreak:"break-all"},dangerouslySetInnerHTML:{__html:null!==(d=j.agency)&&void 0!==d?d:"--"}})]}),Object(S.jsxs)(A.a,{direction:"row",alignItems:"center",gap:.5,children:[Object(S.jsx)(ua.a,{fontSize:"small",sx:{fill:N.palette.success.main,width:"16px !important",height:"16px !important"}}),Object(S.jsx)(y.a,{variant:"subtitle2",fontWeight:300,sx:{mb:"-2px",color:N.palette.success.main,display:"flex",flexWrap:"no-wrap",gap:.5},component:"div",children:j.userPipelines.length>0?1===j.userPipelines.length?Object(S.jsx)(y.a,{variant:"subtitle2",fontWeight:300,color:"inherit",sx:{display:"-webkit-box",overflow:"hidden",WebkitBoxOrient:"vertical",WebkitLineClamp:1,textDecoration:"underline",wordBreak:"break-all"},children:j.userPipelines[0].name}):Object(S.jsxs)(S.Fragment,{children:[Object(S.jsx)(y.a,{variant:"subtitle2",fontWeight:300,color:"inherit",sx:{display:"-webkit-box",overflow:"hidden",WebkitBoxOrient:"vertical",WebkitLineClamp:1,textDecoration:"underline",wordBreak:"break-all"},children:j.userPipelines[0].name}),Object(S.jsx)(y.a,{variant:"subtitle2",color:"inherit",fontWeight:300,sx:{textDecoration:"none"},children:"and"}),Object(S.jsxs)(y.a,{variant:"subtitle2",color:"inherit",fontWeight:300,sx:{textDecoration:"underline",minWidth:"fit-content"},children:[j.userPipelines.length-1," more pipeline",2===j.userPipelines.length?"":"s"]})]}):"--"})]})]}),Object(S.jsx)(y.a,Object(u.a)({variant:"h6",color:"inherit",fontWeight:"500",fontSize:"14px",dangerouslySetInnerHTML:{__html:null!==(p=j.title)&&void 0!==p?p:""}},j.sourceId&&j.id&&{component:"a",href:"Forecast"===j.datasetType?"/forecast/".concat(j.sourceId):"Contract"===j.datasetType?"/contracts/".concat(j.sourceId):"/grants/".concat(j.sourceId),target:"_blank",color:N.palette.primary.main,sx:{textDecoration:"underline",cursor:"pointer",width:"fit-content"}})),Object(S.jsx)(y.a,{variant:"subtitle2",color:"textSecondary",fontWeight:"300",fontSize:"13px",ref:k,dangerouslySetInnerHTML:{__html:null!==(b=j.description)&&void 0!==b?b:""},sx:{"p:first-of-type":{marginTop:"0 !important"},"& > *":{color:"".concat(N.palette.text.secondary," !important"),"& > *":{color:"".concat(N.palette.text.secondary," !important")}},lineHeight:"24px",display:"-webkit-box",overflow:"hidden",WebkitBoxOrient:"vertical",WebkitLineClamp:D?2:Number.MAX_SAFE_INTEGER}}),Object(S.jsxs)(v.a,{sx:{display:"flex",justifyContent:"space-between",alignItems:"center","& > button":{p:.5}},children:[!k.current||!D||k.current.clientHeight0&&me-1<=pe*be?Ye(0,pe-1):f(Object(Vt.i)({context:h,params:{DatasetTypes:Object(_t.isEqual)(JSON.parse(Ne),["All"])?["Forecast","Contract","Grant"]:JSON.parse(Ne),PipelineIds:Object(_t.isEqual)(JSON.parse(Pe),["all"])?void 0:JSON.parse(Pe),UpdatedAfter:Ie.toISOString(),UpdatedBefore:(new Date).toISOString(),PageIndex:pe,PageSize:be,Keyword:Re,SortField:"lastUpdatedOn",SortOrder:-1,FilterToUserPipelines:Ue}})).then((function(){He()})))}),[Se]),Object(S.jsxs)(v.a,{sx:{flex:1},children:[Object(S.jsx)(xa.a,{open:B,handleClose:Qe,openFor:z,onSubmit:function(e){z&&("Forecast"===z.datasetType?Be(e):"Contract"===z.datasetType?Ve(e):f(Object(ha.i)(Object(u.a)({context:h},e))))},shareFetchStatus:z?"Forecast"===z.datasetType?ye:"Contract"===z.datasetType?he:xe:"null",type:z?"Forecast"===z.datasetType?"forecast":"Contract"===z.datasetType?"contracts":"grants":"forecast",explicitIdParamName:"sourceId"}),Object(S.jsxs)(A.a,{direction:"row",sx:{py:1,px:2,borderTop:"solid 1px ".concat(b.palette.divider),borderBottom:"solid 1px ".concat(b.palette.divider),backgroundColor:b.palette.secondary.light},justifyContent:"space-between",alignItems:"center",children:[Object(S.jsxs)(A.a,{direction:{xs:"column",sm:"row"},sx:{alignItems:"center",rowGap:.5,columnGap:2,flexWrap:"wrap"},children:[Object(S.jsx)(y.a,{variant:"h6",fontWeight:500,sx:{color:Kt.b.dashboardSectionTitle},children:"Details"}),Object(S.jsxs)(A.a,{direction:"row",spacing:.5,alignItems:"center",children:[Object(S.jsx)(y.a,{variant:"subtitle2",fontWeight:400,color:"inherit",lineHeight:"15px",children:"All USAID market updates"}),Object(S.jsx)(on.a,{checked:"true"===Ue,onClick:function(){Object(Mt.c)(m,Object(u.a)({detailsForPipelines:"true"===Ue?"false":"true",pageIndex:"0"},"true"===Ue&&{pipelineValue:["all"]}),{replace:!0})},sx:{height:"26px !important",width:"44px !important",p:.5,"& .MuiSwitch-switchBase":{top:"-3px",left:"-3px","& .MuiSwitch-thumb":{height:"14px",width:"14px",color:"white !important"}},"& .Mui-checked+.MuiSwitch-track":{backgroundColor:"".concat(b.palette.success.main," !important"),opacity:"1 !important"}}}),Object(S.jsx)(y.a,{variant:"subtitle2",fontWeight:400,color:"inherit",lineHeight:"15px",children:"My pipeline updates only"})]})]}),Object(S.jsx)(Me.a,{onClick:function(){return Z((function(e){return!e}))},children:Object(S.jsx)(Yt.a,{sx:{transition:"transform 250ms ease-in-out",transform:"rotate(".concat(X?"0deg":"180deg",")")}})})]}),Object(S.jsxs)(Lt.a,{in:X,children:[Object(S.jsx)(gn,{loading:Gt.a.isFetching(ue)}),Object(S.jsxs)(ca.a,{title:"Attachments",open:w,handleClose:Te,handleAccept:Te,disableCancelButton:!0,acceptLabel:"Close",minWidth:"600px",contentSx:{overflowY:"auto"},loading:Gt.a.isFetching(Oe.fetchStatus)||Gt.a.isFetching(ve.fetchStatus),children:[Object(S.jsx)(y.a,{variant:"h6",color:"inherit",fontWeight:"500",sx:{mb:1},dangerouslySetInnerHTML:{__html:"Attachments for ".concat(null!==(t=null!==(n=null!==(r=null!==(i=null!==(c=null!==(s=null===D||void 0===D?void 0:D.title)&&void 0!==s?s:null===D||void 0===D?void 0:D.Title)&&void 0!==c?c:null===D||void 0===D?void 0:D.opportunityTitle)&&void 0!==i?i:null===D||void 0===D?void 0:D.OpportunityTitle)&&void 0!==r?r:null===D||void 0===D?void 0:D.awardTitle)&&void 0!==n?n:null===D||void 0===D?void 0:D.AwardTitle)&&void 0!==t?t:"","")}}),R.length>0?R.map((function(e){var t,n;return Object(S.jsxs)(Dt.a,{variant:"outlined",sx:{p:1,my:.5,display:"flex",alignItems:"center",gap:1},children:[Object(S.jsx)(ln.a,{sx:{height:"20px !important",width:"20px !important"}}),Object(S.jsxs)(A.a,{direction:"column",children:[Object(S.jsx)(y.a,{variant:"subtitle2",component:"a",href:"".concat("Contract"===(null===D||void 0===D?void 0:D.datasetType)?g.b:g.c).concat(null!==(t=e.fileName)&&void 0!==t?t:e.name),target:"_blank",children:null!==(n=e.fileName)&&void 0!==n?n:e.name}),e.createdOn&&Object(S.jsx)(y.a,{variant:"subtitle2",color:"textSecondary",children:Object(Qt.a)(new Date(e.createdOn),"dd MMMM yyyy")})]})]})})):(Gt.a.isDone(Oe.fetchStatus)||Gt.a.isDone(ve.fetchStatus)||Gt.a.isError(Oe.fetchStatus)||Gt.a.isError(ve.fetchStatus))&&Object(S.jsx)(y.a,{variant:"h6",color:"textSecondary",sx:{my:1},fontWeight:"500",children:"No attachments found"})]}),Object(S.jsx)(fa.b,{ref:O,style:{height:"calc(100vh - 360px - 52px)"},data:!De.length&&Gt.a.isDone(ue)?[{noData:!0}]:Object(ee.a)(De),itemContent:function(e,t){return(null===t||void 0===t?void 0:t.noData)?Object(S.jsx)(y.a,{variant:"h6",color:"textSecondary",sx:{my:1},fontWeight:"500",children:"No updates found"}):Object(S.jsx)(ma,{item:t,idx:e,handleOpenModal:"Forecast"===t.datasetType?null:ke,setShareModalOpen:Q,setShareModalOpenFor:Y,addToPipelinesOpen:$,handleCloseAddToPipelines:He,handleOpenAddToPipelines:We,onChangePipelines:ze},"".concat(t.id,"-").concat(e))}}),Object(S.jsx)(sn.a,{count:me,page:pe,rowsPerPage:be,rowsPerPageOptions:[10,20,50,100],onPageChange:Ye,onRowsPerPageChange:function(e){Object(Mt.c)(m,{pageIndex:"0",pageSize:e.target.value},{replace:!1})},component:"div",sx:{mx:2,height:ya.a.pagination.height}})]})]})}),Aa=n(521),wa=n.n(Aa),Sa=(Object(Ut.a)((function(e){return Object(S.jsx)(It.a,Object(u.a)({disableRipple:!0},e))}))((function(e){var t=e.theme;return{textTransform:"none",fontWeight:t.typography.fontWeightRegular,fontSize:t.typography.pxToRem(15),marginRight:t.spacing(1),color:"primary",minHeight:"unset",minWidth:"unset",padding:"8px","&:hover":{backgroundColor:t.palette.background.paper,color:t.palette.primary.dark,boxShadow:"unset"},"&.Mui-selected":{backgroundColor:t.palette.background.paper,color:t.palette.primary.main},"&.Mui-focusVisible":{backgroundColor:"rgba(100, 95, 228, 0.32)"}}})),function(e){var t,n,r=e.updates,i=(e.pipelineUpdates,e.opportunitiesDetailsFetchStatus),c=e.opportunitiesTotal,s=Object(p.g)(),l=Object(Nt.a)(),d=Object(a.useContext)(j.d),b=Object(Et.a)(l.breakpoints.down("md")),m=Object(j.h)(d,j.b.plusOrHigher),f=Object(j.e)(d,j.a.organizationMember),h=Object(a.useState)(!1),O=Object(o.a)(h,2),g=O[0],x=O[1],w=Object(a.useMemo)((function(){return function(){var e,t,n=null===(e=window)||void 0===e||null===(t=e.navigator)||void 0===t?void 0:t.userAgent;return wa.a.getParser(n).getPlatformType()===Aa.PLATFORMS_MAP.desktop}()}),[null===(t=window)||void 0===t||null===(n=t.navigator)||void 0===n?void 0:n.userAgent]);Object(a.useMemo)((function(){return Object(Mt.b)(s.location.search,"tab","overview")}),[s.location.search]);return Object(S.jsxs)(Dt.a,{variant:"outlined",sx:Object(u.a)({borderRadius:"8px",display:"flex",flexDirection:"column",height:"100%"},b&&w&&{minHeight:c>0?"75vh":"240px"}),children:[Object(S.jsx)(C.a,{upgradePlanModalOpen:g,setUpgradePlanModalOpen:function(e){return x(e)}}),Object(S.jsx)(v.a,{sx:{height:"4px"},children:(Gt.a.isFetching(r.fetchStatus)||Gt.a.isFetching(i))&&Object(S.jsx)(Ft.a,{})}),Object(S.jsxs)(kt.a,{sx:{pb:0},children:[Object(S.jsx)(A.a,{direction:"row",spacing:1,alignItems:"center",justifyContent:"space-between",children:Object(S.jsxs)(A.a,{direction:"row",spacing:1,alignItems:"center",justifyContent:"space-between",children:[Object(S.jsx)(Pt,{color:"primary"}),Object(S.jsxs)(A.a,{direction:"column",alignItems:"flex-start",sx:{textAlign:"left"},children:[Object(S.jsx)(y.a,{variant:"h5",color:"inherit",children:"USAID Funding Updates"}),Object(S.jsx)(y.a,{variant:"body2",color:"textSecondary",fontSize:"13px",children:"Designed by USAID Partnering Experts, powered by AI"})]})]})}),Object(S.jsx)(Tt.a,{sx:{mt:2,mx:-2,width:"calc(100% + 32px)"}})]}),m?Object(S.jsxs)(v.a,{sx:{flex:1,overflowY:"scroll"},children:[Object(S.jsx)(cn,{updates:r}),Object(S.jsx)(Ca,{})]}):Object(S.jsx)(Dt.a,{variant:"outlined",sx:{p:4,m:3},children:Object(S.jsx)(it.a,Object(u.a)(Object(u.a)({variant:"secondaryContained",sx:{my:2}},f?{onClick:function(){return x(!0)}}:{component:"a",href:"/tiers",target:"_blank"}),{},{children:"Upgrade your plan to see pipeline updates"}))})]})}),Na=n(676),Ea=n.n(Na),Ia=n(1481),Da=n(1482),Fa=n(33),ka=n(370),Ta=n.n(ka),Ra=n(98),Pa=n(174),Ma=n(325),Ua=function(e){var t=e.text,n=e.textLength,r=e.styles,i=Object(a.useState)(!1),c=Object(o.a)(i,2),s=c[0],l=c[1];return Object(S.jsx)(S.Fragment,{children:s?Object(S.jsx)("p",{style:Object(u.a)({margin:"0px"},r),className:(null===t||void 0===t?void 0:t.length)>n?"show-more-txt":"",onClick:function(){l(!1)},children:t}):Object(S.jsx)("p",{style:Object(u.a)({margin:"0px"},r),className:(null===t||void 0===t?void 0:t.length)>n?"show-more-txt":"",onClick:function(){l(!0)},children:function(e){return(null===e||void 0===e?void 0:e.length)=n}(b.createdOn)?Object(S.jsx)("span",{style:{marginLeft:"6px"},className:"new-label",children:"New"}):""]}),Object(S.jsxs)("span",{style:{marginTop:"7px"},className:"event-loc",children:[Object(S.jsx)("svg",{style:{marginRight:"2px"},width:"11",height:"13",viewBox:"0 0 11 13",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:Object(S.jsx)("path",{d:"M5.5 0.25C4.17392 0.25 2.90215 0.776784 1.96447 1.71447C1.02678 2.65215 0.5 3.92392 0.5 5.25C0.5 8.625 4.90625 12.4375 5.09375 12.6C5.20696 12.6968 5.35103 12.75 5.5 12.75C5.64897 12.75 5.79304 12.6968 5.90625 12.6C6.125 12.4375 10.5 8.625 10.5 5.25C10.5 3.92392 9.97322 2.65215 9.03553 1.71447C8.09785 0.776784 6.82608 0.25 5.5 0.25ZM5.5 11.2812C4.16875 10.0312 1.75 7.3375 1.75 5.25C1.75 4.25544 2.14509 3.30161 2.84835 2.59835C3.55161 1.89509 4.50544 1.5 5.5 1.5C6.49456 1.5 7.44839 1.89509 8.15165 2.59835C8.85491 3.30161 9.25 4.25544 9.25 5.25C9.25 7.3375 6.83125 10.0375 5.5 11.2812ZM5.5 2.75C5.00555 2.75 4.5222 2.89662 4.11107 3.17133C3.69995 3.44603 3.37952 3.83648 3.1903 4.29329C3.00108 4.75011 2.95157 5.25277 3.04804 5.73773C3.1445 6.22268 3.3826 6.66814 3.73223 7.01777C4.08186 7.3674 4.52732 7.6055 5.01227 7.70196C5.49723 7.79843 5.99989 7.74892 6.45671 7.5597C6.91352 7.37048 7.30397 7.05005 7.57867 6.63893C7.85338 6.2278 8 5.74445 8 5.25C8 4.58696 7.73661 3.95107 7.26777 3.48223C6.79893 3.01339 6.16304 2.75 5.5 2.75ZM5.5 6.5C5.25277 6.5 5.0111 6.42669 4.80554 6.28934C4.59998 6.15199 4.43976 5.95676 4.34515 5.72835C4.25054 5.49995 4.22579 5.24861 4.27402 5.00614C4.32225 4.76366 4.4413 4.54093 4.61612 4.36612C4.79093 4.1913 5.01366 4.07225 5.25614 4.02402C5.49861 3.97579 5.74995 4.00054 5.97835 4.09515C6.20676 4.18976 6.40199 4.34998 6.53934 4.55554C6.67669 4.7611 6.75 5.00277 6.75 5.25C6.75 5.58152 6.6183 5.89946 6.38388 6.13388C6.14946 6.3683 5.83152 6.5 5.5 6.5Z",fill:"#666666"})}),Object(S.jsx)(Ua,{text:b.location,textLength:40})," "]})]}),Object(S.jsxs)("td",{style:Va.cell,className:"event-location-view",children:[Object(S.jsx)(Ua,{text:b.organization,textLength:25})," "]})]}),n&&Object(S.jsx)("td",{style:Object(u.a)(Object(u.a)({},Va.cell),Va.controls),children:h?Object(S.jsxs)(S.Fragment,{children:[Object(S.jsx)(le.Button,{icon:"pi pi-save",className:"p-button-rounded",style:Va.iconButton,tooltip:"Save Event",tooltipOptions:{position:"top"},onClick:function(){return O(!1),void r(t.id,b)}}),Object(S.jsx)(le.Button,{icon:"pi pi-times",className:"p-button-rounded",style:Va.iconButton,tooltip:"Cancel",tooltipOptions:{position:"top"},onClick:function(){return O(!h),void j(t)}})]}):Object(S.jsxs)(S.Fragment,{children:[Object(S.jsx)(Ka,{canEditEvents:n,loadDataAsync:l,edit:{event:t}}),Object(S.jsx)(le.Button,{icon:"pi pi-trash",className:"p-button-rounded p-button-danger",style:Va.iconButton,tooltip:"Delete Event",tooltipOptions:{position:"top"},onClick:function(){return i(t.id)}})]})})]})},Va=(n(1287),n(351),{controls:{whiteSpace:"nowrap"},iconButton:{width:"30px",margin:"5px"},inlineInput:{width:"100%"},cell:{verticalAlign:"top"}}),Qa={eventsTable:{margin:"20px 0",textAlign:"left",width:"100%",borderSpacing:"10px"}},Wa=function(e){var t=e.events,n=function(e){if(e>3&&e<21)return"th";switch(e%10){case 1:return"st";case 2:return"nd";case 3:return"rd";default:return"th"}},i=r.a.useContext(j.d),s=r.a.useContext(se.a),p=Object(a.useState)([]),b=Object(o.a)(p,2),m=b[0],f=b[1],h=Object(a.useState)(new Date),O=Object(o.a)(h,2),g=O[0],x=O[1],y=Object(a.useState)(""),C=Object(o.a)(y,2),A=C[0],w=C[1],N=Object(a.useState)(""),E=Object(o.a)(N,2),I=E[0],D=E[1],F=Object(a.useState)(""),k=Object(o.a)(F,2),T=k[0],R=k[1],P=Object(a.useState)(""),M=Object(o.a)(P,2),U=M[0],B=M[1],Q=Object(a.useState)("list"),W=Object(o.a)(Q,2),H=W[0],z=W[1],Y=Object(a.useState)(null),G=Object(o.a)(Y,2),K=G[0],q=G[1],X=Object(a.useRef)(null),Z=Object(a.useState)(),J=Object(o.a)(Z,2),_=J[0],$=J[1],ee=function(e,t,n){if(t){var a=c.a.findDOMNode(X.current);if(a){var r=a.getBoundingClientRect();$(n-r.height+"px")}}Oe(t),t&&q(e)},te=function(e){return"".concat(e.getFullYear(),"-").concat(e.getMonth()+1>=10?e.getMonth()+1:"0"+(e.getMonth()+1),"-").concat(e.getDate()+1>10?e.getDate():"0"+e.getDate(),"T11:00:00.000Z")},ne=Object(a.useMemo)((function(){return e=g,m.filter((function(t){return new Date(t.date).getDate()===e.getDate()&&new Date(t.date).getFullYear()===e.getFullYear()&&new Date(t.date).getMonth()===e.getMonth()}));var e}),[g,m]),re=Object(a.useMemo)((function(){return"calendar"===H?["#ffffff","#605F5F"]:["#605F5F","#ffffff"]}),[H]),ie=function(e){var t=new Date(e),n=new Date;return n.addDays(-7),t>=n},ce=null===ne||void 0===ne?void 0:ne.map((function(e){return Object(S.jsxs)("div",{className:"event-box",children:[Object(S.jsxs)("div",{className:"event-title",children:[Object(S.jsx)(Ua,{styles:{width:"100%"},text:e.name,textLength:140}),ie(e.createdOn)?Object(S.jsx)("span",{className:"new-label",children:"New"}):""]}),Object(S.jsxs)("div",{children:[Object(S.jsx)("span",{className:"event-org",children:Object(S.jsx)(Ua,{text:e.organization,textLength:140})}),Object(S.jsxs)("div",{style:{display:"flex"},children:[Object(S.jsxs)("div",{className:"event-loc",children:[Object(S.jsx)("svg",{style:{marginRight:"2px"},width:"11",height:"13",viewBox:"0 0 11 13",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:Object(S.jsx)("path",{d:"M5.5 0.25C4.17392 0.25 2.90215 0.776784 1.96447 1.71447C1.02678 2.65215 0.5 3.92392 0.5 5.25C0.5 8.625 4.90625 12.4375 5.09375 12.6C5.20696 12.6968 5.35103 12.75 5.5 12.75C5.64897 12.75 5.79304 12.6968 5.90625 12.6C6.125 12.4375 10.5 8.625 10.5 5.25C10.5 3.92392 9.97322 2.65215 9.03553 1.71447C8.09785 0.776784 6.82608 0.25 5.5 0.25ZM5.5 11.2812C4.16875 10.0312 1.75 7.3375 1.75 5.25C1.75 4.25544 2.14509 3.30161 2.84835 2.59835C3.55161 1.89509 4.50544 1.5 5.5 1.5C6.49456 1.5 7.44839 1.89509 8.15165 2.59835C8.85491 3.30161 9.25 4.25544 9.25 5.25C9.25 7.3375 6.83125 10.0375 5.5 11.2812ZM5.5 2.75C5.00555 2.75 4.5222 2.89662 4.11107 3.17133C3.69995 3.44603 3.37952 3.83648 3.1903 4.29329C3.00108 4.75011 2.95157 5.25277 3.04804 5.73773C3.1445 6.22268 3.3826 6.66814 3.73223 7.01777C4.08186 7.3674 4.52732 7.6055 5.01227 7.70196C5.49723 7.79843 5.99989 7.74892 6.45671 7.5597C6.91352 7.37048 7.30397 7.05005 7.57867 6.63893C7.85338 6.2278 8 5.74445 8 5.25C8 4.58696 7.73661 3.95107 7.26777 3.48223C6.79893 3.01339 6.16304 2.75 5.5 2.75ZM5.5 6.5C5.25277 6.5 5.0111 6.42669 4.80554 6.28934C4.59998 6.15199 4.43976 5.95676 4.34515 5.72835C4.25054 5.49995 4.22579 5.24861 4.27402 5.00614C4.32225 4.76366 4.4413 4.54093 4.61612 4.36612C4.79093 4.1913 5.01366 4.07225 5.25614 4.02402C5.49861 3.97579 5.74995 4.00054 5.97835 4.09515C6.20676 4.18976 6.40199 4.34998 6.53934 4.55554C6.67669 4.7611 6.75 5.00277 6.75 5.25C6.75 5.58152 6.6183 5.89946 6.38388 6.13388C6.14946 6.3683 5.83152 6.5 5.5 6.5Z",fill:"#666666"})}),Object(S.jsx)(Ua,{text:e.location,textLength:140})]}),Object(S.jsx)(le.Button,{label:"RSVP",icon:"pi pi-external-link",className:"cal-button",onClick:function(){window.open(e.url,"_blank")},disabled:!e.url})]})]})]})}));r.a.useEffect((function(){f(t)}),[t]),r.a.useEffect((function(){x(g)}),[g]);var oe=Object(a.useCallback)((function(){V.a.get(Object(L.f)("/api/user/profile",{useDedicatedEnvironment:!0}),Object(L.c)(i)).then((function(e){var t=e.data.events;f(t)})).catch((function(e){console.error(e),s.current&&s.current.show({severity:"error",summary:"Unable to load user profile"})}))}),[]),de=Object(a.useCallback)(function(){var e=Object(d.a)(l.a.mark((function e(t,n,a,r,c){var o;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o=te(n),e.next=3,V.a.post(Object(L.f)("/api/user/event",{useDedicatedEnvironment:!0}),{date:o,name:t,organization:a,location:r,url:c},Object(L.c)(i)).then((function(){oe()})).catch((function(e){console.error(e),s.current.show({severity:"error",summary:"Error saving new event",detail:e})}));case 3:case"end":return e.stop()}}),e)})));return function(t,n,a,r,i){return e.apply(this,arguments)}}(),[]),ue=Object(a.useCallback)(function(){var e=Object(d.a)(l.a.mark((function e(t){var n;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=Object(u.a)(Object(u.a)({},Object(L.c)(i)),{},{data:{id:t}}),e.next=3,V.a.delete(Object(L.f)("/api/user/event",{useDedicatedEnvironment:!0}),n).then((function(e){V.a.get(Object(L.f)("/api/user/profile",{useDedicatedEnvironment:!0}),Object(L.c)(i)).then((function(e){var t=e.data.events;f(t)})).catch((function(e){console.error(e),s.current&&s.current.show({severity:"error",summary:"Unable to load user profile"})}))})).catch((function(e){console.error(e),s.current.show({severity:"error",summary:"Error deleting event",detail:JSON.stringify(e)})}));case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),[]),pe=Object(a.useCallback)(function(){var e=Object(d.a)(l.a.mark((function e(t,n,a){var r,c,o;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return c=new Date(null!==(r=n.dateAsString)&&void 0!==r?r:n.date),o=te(c),e.next=4,V.a.put(Object(L.f)("/api/user/event",{useDedicatedEnvironment:!0}),{id:t,event:{date:o,name:n.name,organization:n.organization,location:n.location,url:n.url}},Object(L.b)(i)).then((function(){oe()})).catch((function(e){console.error(e),s.current.show({severity:"error",summary:"Error editing event",detail:e})}));case 4:case"end":return e.stop()}}),e)})));return function(t,n,a){return e.apply(this,arguments)}}(),[]);function be(){Oe(!1)}window.addEventListener("resize",be),window.addEventListener("scroll",be);Object(a.useCallback)(function(){var e=Object(d.a)(l.a.mark((function e(t,n,a,r,i){return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,de(t,n,a,r,i);case 2:x(new Date),w(""),D(""),B(""),R("");case 7:case"end":return e.stop()}}),e)})));return function(t,n,a,r,i){return e.apply(this,arguments)}}(),[]);var je=Object(j.g)(i,j.a.EditCalendarEvents),me=(Object(a.useMemo)((function(){return g&&A&&I&&T&&U}),[g,A,I,T,U]),Object(a.useState)(!1)),fe=Object(o.a)(me,2),he=fe[0],Oe=fe[1];return Object(S.jsxs)(Pa.a,{style:{position:"relative"},children:[Object(S.jsxs)("div",{className:"cal-header-container",children:[Object(S.jsx)(ae.b,{text:Object(S.jsxs)(v.a,{sx:{display:"flex",gap:2,alignItems:"center"},children:["Events Calendar",Object(S.jsx)(Ka,{canEditEvents:je,loadDataAsync:oe})]}),icon:!1,icontext:"The events calendar highlights events that USAID staff are participating in, or that are relevant to the USAID partnering market. We also include some events highlighting partnering opportunities with other international aid donors. Please message us if you are interested in having your event added to our calendar."}),Object(S.jsxs)("div",{className:"view-btn-container",children:[Object(S.jsx)("div",{className:"calendar"===H?"cal-view-btn view-selected":"cal-view-btn",onClick:function(e){return z("calendar")},children:Object(S.jsxs)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[Object(S.jsx)("path",{d:"M17.6281 2.20361H16.7101V3.30543C16.7101 4.21657 15.969 4.95811 15.0577 4.95811C14.1464 4.95811 13.4049 4.21684 13.4049 3.30543V2.20361H11.5687V3.30543C11.5687 4.21657 10.8274 4.95811 9.916 4.95811C9.00486 4.95811 8.26332 4.21684 8.26332 3.30543V2.20361H6.42711V3.30543C6.42711 4.21657 5.68553 4.95811 4.77443 4.95811C3.86329 4.95811 3.12203 4.21684 3.12203 3.30543V2.20361H2.20374C0.988481 2.20361 0 3.19178 0 4.4072V17.7967C0 19.0118 0.988481 20 2.20374 20H17.6282C18.8433 20 19.8321 19.0118 19.8321 17.7967L19.8322 4.4072C19.8322 3.19209 18.8434 2.20377 17.6283 2.20377L17.6281 2.20361ZM18.3627 17.7967C18.3627 18.2014 18.0333 18.5311 17.6281 18.5311H2.20367C1.79879 18.5311 1.46923 18.2016 1.46923 17.7967V7.34482C1.46923 6.93931 1.79816 6.61039 2.20367 6.61039H17.6281C18.0339 6.61039 18.3627 6.939 18.3627 7.34482V17.7967Z",fill:re[0]}),Object(S.jsx)("path",{d:"M4.77466 4.40705C5.38339 4.40705 5.87648 3.91365 5.87648 3.30524V1.10181C5.87648 0.493407 5.38307 0 4.77466 0C4.16626 0 3.67285 0.493407 3.67285 1.10181V3.3054C3.67285 3.9138 4.16626 4.40705 4.77466 4.40705Z",fill:re[0]}),Object(S.jsx)("path",{d:"M9.91627 4.40705C10.5247 4.40705 11.0176 3.91365 11.0176 3.30524V1.10181C11.0176 0.493407 10.5247 0 9.91627 0C9.30754 0 8.81445 0.493407 8.81445 1.10181V3.3054C8.81476 3.9138 9.3077 4.40705 9.91627 4.40705Z",fill:re[0]}),Object(S.jsx)("path",{d:"M15.0575 4.40705C15.666 4.40705 16.1595 3.91365 16.1595 3.30524V1.10181C16.1595 0.493407 15.666 0 15.0575 0C14.4491 0 13.9561 0.493407 13.9561 1.10181V3.3054C13.9561 3.9138 14.4491 4.40705 15.0575 4.40705Z",fill:re[0]}),Object(S.jsx)("path",{d:"M5.05683 8.15723H3.82732C3.48769 8.15723 3.2124 8.43252 3.2124 8.77214V10.0016C3.2124 10.341 3.4877 10.6166 3.82732 10.6166H5.05683C5.39645 10.6166 5.67174 10.3413 5.67174 10.0016V8.77182C5.67174 8.4322 5.39644 8.15723 5.05683 8.15723Z",fill:re[0]}),Object(S.jsx)("path",{d:"M8.70673 8.15723H7.47722C7.1376 8.15723 6.8623 8.43252 6.8623 8.77214V10.0016C6.8623 10.341 7.1376 10.6166 7.47722 10.6166H8.70673C9.04635 10.6166 9.32164 10.3413 9.32164 10.0016V8.77182C9.32133 8.4322 9.04619 8.15723 8.70673 8.15723Z",fill:re[0]}),Object(S.jsx)("path",{d:"M12.3552 8.15723H11.1261C10.7865 8.15723 10.5112 8.43252 10.5112 8.77214V10.0016C10.5112 10.341 10.7864 10.6166 11.1261 10.6166H12.3552C12.695 10.6166 12.9703 10.3413 12.9703 10.0016V8.77182C12.9701 8.4322 12.695 8.15723 12.3552 8.15723Z",fill:re[0]}),Object(S.jsx)("path",{d:"M16.0046 8.15723H14.7751C14.4358 8.15723 14.1602 8.43252 14.1602 8.77214V10.0016C14.1602 10.341 14.4355 10.6166 14.7751 10.6166H16.0046C16.3442 10.6166 16.6197 10.3413 16.6197 10.0016V8.77182C16.6192 8.4322 16.344 8.15723 16.0046 8.15723Z",fill:re[0]}),Object(S.jsx)("path",{d:"M5.05683 11.3413H3.82732C3.48769 11.3413 3.2124 11.6166 3.2124 11.9564V13.1857C3.2124 13.525 3.4877 13.8006 3.82732 13.8006H5.05683C5.39645 13.8006 5.67174 13.5254 5.67174 13.1857V11.9564C5.67174 11.6164 5.39644 11.3413 5.05683 11.3413Z",fill:re[0]}),Object(S.jsx)("path",{d:"M8.70673 11.3413H7.47722C7.1376 11.3413 6.8623 11.6166 6.8623 11.9564V13.1857C6.8623 13.525 7.1376 13.8006 7.47722 13.8006H8.70673C9.04635 13.8006 9.32164 13.5254 9.32164 13.1857V11.9564C9.32133 11.6164 9.04619 11.3413 8.70673 11.3413Z",fill:re[0]}),Object(S.jsx)("path",{d:"M12.3552 11.3413H11.1261C10.7865 11.3413 10.5112 11.6166 10.5112 11.9564V13.1857C10.5112 13.525 10.7864 13.8006 11.1261 13.8006H12.3552C12.695 13.8006 12.9703 13.5254 12.9703 13.1857V11.9564C12.9701 11.6164 12.695 11.3413 12.3552 11.3413Z",fill:re[0]}),Object(S.jsx)("path",{d:"M16.0046 11.3413H14.7751C14.4358 11.3413 14.1602 11.6166 14.1602 11.9564V13.1857C14.1602 13.525 14.4355 13.8006 14.7751 13.8006H16.0046C16.3442 13.8006 16.6197 13.5254 16.6197 13.1857V11.9564C16.6192 11.6164 16.344 11.3413 16.0046 11.3413Z",fill:re[0]}),Object(S.jsx)("path",{d:"M5.05683 14.5249H3.82732C3.48769 14.5249 3.2124 14.8002 3.2124 15.1398V16.3692C3.2124 16.7089 3.4877 16.9842 3.82732 16.9842H5.05683C5.39645 16.9842 5.67174 16.7091 5.67174 16.3692V15.1398C5.67174 14.8005 5.39644 14.5249 5.05683 14.5249Z",fill:re[0]}),Object(S.jsx)("path",{d:"M8.70673 14.5249H7.47722C7.1376 14.5249 6.8623 14.8002 6.8623 15.1398V16.3692C6.8623 16.7089 7.1376 16.9842 7.47722 16.9842H8.70673C9.04635 16.9842 9.32164 16.7091 9.32164 16.3692L9.32149 15.1398C9.32133 14.8005 9.04619 14.5249 8.70673 14.5249H8.70673Z",fill:re[0]}),Object(S.jsx)("path",{d:"M12.3552 14.5249H11.1261C10.7865 14.5249 10.5112 14.8002 10.5112 15.1398V16.3692C10.5112 16.7089 10.7864 16.9842 11.1261 16.9842H12.3552C12.695 16.9842 12.9703 16.7091 12.9703 16.3692L12.9704 15.1398C12.9701 14.8005 12.695 14.5249 12.3552 14.5249H12.3552Z",fill:re[0]})]})}),Object(S.jsx)("div",{className:"list"===H?"list-view-btn view-selected":"list-view-btn",onClick:function(e){return z("list")},children:Object(S.jsxs)("svg",{width:"18",height:"14",viewBox:"0 0 18 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[Object(S.jsx)("path",{d:"M16.2328 10.8325H6.87909C6.00454 10.8325 5.29541 11.5417 5.29541 12.4162C5.29541 13.2907 6.00454 13.9999 6.87909 13.9999L16.2328 14C17.1074 14 17.8165 13.2909 17.8165 12.4163C17.8165 11.5417 17.1074 10.8325 16.2328 10.8325V10.8325Z",fill:re[1]}),Object(S.jsx)("path",{d:"M1.83112 10.8326H1.58368C0.709134 10.8326 0 11.5418 0 12.4163C0 13.2909 0.709134 14 1.58368 14H1.83112C2.70566 14 3.41479 13.2909 3.41479 12.4163C3.41479 11.5418 2.70579 10.8326 1.83112 10.8326Z",fill:re[1]}),Object(S.jsx)("path",{d:"M16.2328 5.41614H6.87909C6.00454 5.41614 5.29541 6.12528 5.29541 6.99982C5.29541 7.87436 6.00454 8.5835 6.87909 8.5835H16.2328C17.1074 8.5835 17.8165 7.87436 17.8165 6.99982C17.8165 6.12528 17.1074 5.41614 16.2328 5.41614Z",fill:re[1]}),Object(S.jsx)("path",{d:"M1.83112 5.41614H1.58368C0.709134 5.41614 0 6.12528 0 6.99982C0 7.87436 0.709134 8.5835 1.58368 8.5835H1.83112C2.70566 8.5835 3.41479 7.87436 3.41479 6.99982C3.41479 6.12528 2.70579 5.41614 1.83112 5.41614Z",fill:re[1]}),Object(S.jsx)("path",{d:"M16.2328 2.38419e-06H6.87909C6.00454 2.38419e-06 5.29541 0.709136 5.29541 1.58368C5.29541 2.45822 6.00454 3.16736 6.87909 3.16736L16.2328 3.16748C17.1074 3.16748 17.8165 2.45835 17.8165 1.5838C17.8165 0.709133 17.1074 -4.76837e-07 16.2328 -4.76837e-07V2.38419e-06Z",fill:re[1]}),Object(S.jsx)("path",{d:"M1.83112 0.000127077H1.58368C0.709134 0.000127077 0 0.70926 0 1.5838C0 2.45835 0.709134 3.16748 1.58368 3.16748H1.83112C2.70566 3.16748 3.41479 2.45835 3.41479 1.5838C3.41479 0.70926 2.70579 0.000127077 1.83112 0.000127077Z",fill:re[1]})]})})]})]}),"calendar"===H?Object(S.jsxs)("div",{className:"cal-container p-grid",style:{paddingBottom:"14px"},children:[Object(S.jsx)("div",{className:"calendar-block",children:Object(S.jsx)(Ma.Calendar,{showOtherMonths:!1,value:g,onChange:function(e){return t=e.value,void x(t);var t},inline:!0})}),Object(S.jsxs)("div",{className:"env-con calendar-event-list",children:[Object(S.jsx)("div",{className:"p-container",children:Object(S.jsxs)("h3",{children:[1===ne.length?" 1 Event available on ":ne.length>1?ne.length+" Events available on ":"No Events available on "," ",Object(S.jsx)("span",{className:"month-title",children:Object(Qt.a)(g,"MMMM d")+n(g.getDate())})]})}),ce]})]}):Object(S.jsx)("div",{className:"env-con",children:Object(S.jsxs)("table",{style:Qa.eventsTable,children:[Object(S.jsx)("thead",{children:La()}),Object(S.jsx)("tbody",{children:m.sort((function(e,t){return new Date(e.date).getTime()-new Date(t.date).getTime()})).map((function(e,t){return Object(S.jsx)(Ba,{event:e,canEditEvents:je,editEvent:function(e,t){return pe(e,t,m)},deleteEvent:ue,setEventToShow:ee,eventOffset:t,loadDataAsync:oe},"".concat(t,"-").concat(e.name))}))})]})}),Object(S.jsxs)("div",{ref:X,onMouseOver:function(){Oe(!0)},style:{top:null!==_&&void 0!==_?_:"500px"},onMouseLeave:function(){Oe(!1)},className:he?"calendar-tooltip visible":"calendar-tooltip hidden",children:[Object(S.jsx)("div",{children:Object(S.jsx)("p",{className:"calendar-event",children:null===K||void 0===K?void 0:K.name})}),Object(S.jsx)("div",{children:Object(S.jsxs)("p",{className:"event-organization",children:[" ",Object(S.jsx)("svg",{style:{marginRight:"7px"},width:"13",height:"13",viewBox:"0 0 13 13",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:Object(S.jsx)("path",{d:"M7.75 4H8.375C8.54076 4 8.69973 3.93415 8.81694 3.81694C8.93415 3.69973 9 3.54076 9 3.375C9 3.20924 8.93415 3.05027 8.81694 2.93306C8.69973 2.81585 8.54076 2.75 8.375 2.75H7.75C7.58424 2.75 7.42527 2.81585 7.30806 2.93306C7.19085 3.05027 7.125 3.20924 7.125 3.375C7.125 3.54076 7.19085 3.69973 7.30806 3.81694C7.42527 3.93415 7.58424 4 7.75 4ZM7.75 6.5H8.375C8.54076 6.5 8.69973 6.43415 8.81694 6.31694C8.93415 6.19973 9 6.04076 9 5.875C9 5.70924 8.93415 5.55027 8.81694 5.43306C8.69973 5.31585 8.54076 5.25 8.375 5.25H7.75C7.58424 5.25 7.42527 5.31585 7.30806 5.43306C7.19085 5.55027 7.125 5.70924 7.125 5.875C7.125 6.04076 7.19085 6.19973 7.30806 6.31694C7.42527 6.43415 7.58424 6.5 7.75 6.5ZM4.625 4H5.25C5.41576 4 5.57473 3.93415 5.69194 3.81694C5.80915 3.69973 5.875 3.54076 5.875 3.375C5.875 3.20924 5.80915 3.05027 5.69194 2.93306C5.57473 2.81585 5.41576 2.75 5.25 2.75H4.625C4.45924 2.75 4.30027 2.81585 4.18306 2.93306C4.06585 3.05027 4 3.20924 4 3.375C4 3.54076 4.06585 3.69973 4.18306 3.81694C4.30027 3.93415 4.45924 4 4.625 4ZM4.625 6.5H5.25C5.41576 6.5 5.57473 6.43415 5.69194 6.31694C5.80915 6.19973 5.875 6.04076 5.875 5.875C5.875 5.70924 5.80915 5.55027 5.69194 5.43306C5.57473 5.31585 5.41576 5.25 5.25 5.25H4.625C4.45924 5.25 4.30027 5.31585 4.18306 5.43306C4.06585 5.55027 4 5.70924 4 5.875C4 6.04076 4.06585 6.19973 4.18306 6.31694C4.30027 6.43415 4.45924 6.5 4.625 6.5ZM12.125 11.5H11.5V0.875C11.5 0.70924 11.4342 0.550268 11.3169 0.433058C11.1997 0.315848 11.0408 0.25 10.875 0.25H2.125C1.95924 0.25 1.80027 0.315848 1.68306 0.433058C1.56585 0.550268 1.5 0.70924 1.5 0.875V11.5H0.875C0.70924 11.5 0.550268 11.5658 0.433058 11.6831C0.315848 11.8003 0.25 11.9592 0.25 12.125C0.25 12.2908 0.315848 12.4497 0.433058 12.5669C0.550268 12.6842 0.70924 12.75 0.875 12.75H12.125C12.2908 12.75 12.4497 12.6842 12.5669 12.5669C12.6842 12.4497 12.75 12.2908 12.75 12.125C12.75 11.9592 12.6842 11.8003 12.5669 11.6831C12.4497 11.5658 12.2908 11.5 12.125 11.5ZM7.125 11.5H5.875V9H7.125V11.5ZM10.25 11.5H8.375V8.375C8.375 8.20924 8.30915 8.05027 8.19194 7.93306C8.07473 7.81585 7.91576 7.75 7.75 7.75H5.25C5.08424 7.75 4.92527 7.81585 4.80806 7.93306C4.69085 8.05027 4.625 8.20924 4.625 8.375V11.5H2.75V1.5H10.25V11.5Z",fill:"white"})}),null===K||void 0===K?void 0:K.organization]})}),Object(S.jsx)("div",{children:Object(S.jsxs)("p",{className:"event-location",children:[Object(S.jsx)("svg",{style:{marginRight:"7px"},width:"11",height:"13",viewBox:"0 0 11 13",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:Object(S.jsx)("path",{d:"M5.5 0.25C4.17392 0.25 2.90215 0.776784 1.96447 1.71447C1.02678 2.65215 0.5 3.92392 0.5 5.25C0.5 8.625 4.90625 12.4375 5.09375 12.6C5.20696 12.6968 5.35103 12.75 5.5 12.75C5.64897 12.75 5.79304 12.6968 5.90625 12.6C6.125 12.4375 10.5 8.625 10.5 5.25C10.5 3.92392 9.97322 2.65215 9.03553 1.71447C8.09785 0.776784 6.82608 0.25 5.5 0.25ZM5.5 11.2812C4.16875 10.0312 1.75 7.3375 1.75 5.25C1.75 4.25544 2.14509 3.30161 2.84835 2.59835C3.55161 1.89509 4.50544 1.5 5.5 1.5C6.49456 1.5 7.44839 1.89509 8.15165 2.59835C8.85491 3.30161 9.25 4.25544 9.25 5.25C9.25 7.3375 6.83125 10.0375 5.5 11.2812ZM5.5 2.75C5.00555 2.75 4.5222 2.89662 4.11107 3.17133C3.69995 3.44603 3.37952 3.83648 3.1903 4.29329C3.00108 4.75011 2.95157 5.25277 3.04804 5.73773C3.1445 6.22268 3.3826 6.66814 3.73223 7.01777C4.08186 7.3674 4.52732 7.6055 5.01227 7.70196C5.49723 7.79843 5.99989 7.74892 6.45671 7.5597C6.91352 7.37048 7.30397 7.05005 7.57867 6.63893C7.85338 6.2278 8 5.74445 8 5.25C8 4.58696 7.73661 3.95107 7.26777 3.48223C6.79893 3.01339 6.16304 2.75 5.5 2.75ZM5.5 6.5C5.25277 6.5 5.0111 6.42669 4.80554 6.28934C4.59998 6.15199 4.43976 5.95676 4.34515 5.72835C4.25054 5.49995 4.22579 5.24861 4.27402 5.00614C4.32225 4.76366 4.4413 4.54093 4.61612 4.36612C4.79093 4.1913 5.01366 4.07225 5.25614 4.02402C5.49861 3.97579 5.74995 4.00054 5.97835 4.09515C6.20676 4.18976 6.40199 4.34998 6.53934 4.55554C6.67669 4.7611 6.75 5.00277 6.75 5.25C6.75 5.58152 6.6183 5.89946 6.38388 6.13388C6.14946 6.3683 5.83152 6.5 5.5 6.5Z",fill:"white"})}),null===K||void 0===K?void 0:K.location]})}),Object(S.jsx)("div",{children:Object(S.jsxs)("a",{rel:"noreferrer",className:"rsvp-link",target:"_blank",href:null===K||void 0===K?void 0:K.url,children:[Object(S.jsx)("svg",{style:{marginRight:"7px"},width:"13",height:"13",viewBox:"0 0 13 13",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:Object(S.jsx)("path",{d:"M6.56874 8.61875L4.14374 11.0437C3.85014 11.3271 3.45803 11.4855 3.04999 11.4855C2.64195 11.4855 2.24984 11.3271 1.95624 11.0437C1.81224 10.9003 1.69798 10.7299 1.62002 10.5422C1.54206 10.3545 1.50193 10.1532 1.50193 9.95C1.50193 9.74676 1.54206 9.54552 1.62002 9.35782C1.69798 9.17013 1.81224 8.99968 1.95624 8.85625L4.38124 6.43125C4.49893 6.31356 4.56505 6.15394 4.56505 5.9875C4.56505 5.82106 4.49893 5.66144 4.38124 5.54375C4.26355 5.42606 4.10393 5.35994 3.93749 5.35994C3.77105 5.35994 3.61143 5.42606 3.49374 5.54375L1.06874 7.975C0.580212 8.50675 0.316002 9.20667 0.331286 9.92859C0.34657 10.6505 0.640165 11.3386 1.15076 11.8492C1.66135 12.3598 2.34947 12.6534 3.07139 12.6687C3.79332 12.684 4.49324 12.4198 5.02499 11.9312L7.45624 9.50625C7.57393 9.38856 7.64005 9.22894 7.64005 9.0625C7.64005 8.89606 7.57393 8.73644 7.45624 8.61875C7.33855 8.50106 7.17893 8.43494 7.01249 8.43494C6.84605 8.43494 6.68643 8.50106 6.56874 8.61875ZM11.9312 1.06875C11.4055 0.546253 10.6943 0.252991 9.95311 0.252991C9.21188 0.252991 8.50075 0.546253 7.97499 1.06875L5.54374 3.49375C5.48547 3.55202 5.43924 3.6212 5.4077 3.69734C5.37616 3.77348 5.35993 3.85509 5.35993 3.9375C5.35993 4.01991 5.37616 4.10152 5.4077 4.17765C5.43924 4.25379 5.48547 4.32297 5.54374 4.38125C5.60201 4.43952 5.6712 4.48575 5.74733 4.51729C5.82347 4.54882 5.90508 4.56506 5.98749 4.56506C6.0699 4.56506 6.15151 4.54882 6.22765 4.51729C6.30378 4.48575 6.37297 4.43952 6.43124 4.38125L8.85624 1.95625C9.14984 1.67289 9.54195 1.51453 9.94999 1.51453C10.358 1.51453 10.7501 1.67289 11.0437 1.95625C11.1877 2.09968 11.302 2.27013 11.38 2.45782C11.4579 2.64552 11.4981 2.84676 11.4981 3.05C11.4981 3.25324 11.4579 3.45448 11.38 3.64217C11.302 3.82987 11.1877 4.00032 11.0437 4.14375L8.61874 6.56875C8.56016 6.62685 8.51366 6.69598 8.48193 6.77214C8.4502 6.8483 8.43387 6.92999 8.43387 7.0125C8.43387 7.09501 8.4502 7.1767 8.48193 7.25286C8.51366 7.32902 8.56016 7.39815 8.61874 7.45625C8.67684 7.51483 8.74597 7.56133 8.82213 7.59306C8.89829 7.62479 8.97998 7.64112 9.06249 7.64112C9.145 7.64112 9.22669 7.62479 9.30285 7.59306C9.37901 7.56133 9.44814 7.51483 9.50624 7.45625L11.9312 5.025C12.4537 4.49924 12.747 3.78811 12.747 3.04687C12.747 2.30564 12.4537 1.59451 11.9312 1.06875ZM4.51874 8.48125C4.57714 8.53918 4.6464 8.585 4.72255 8.61611C4.7987 8.64721 4.88024 8.66297 4.96249 8.6625C5.04474 8.66297 5.12628 8.64721 5.20243 8.61611C5.27858 8.585 5.34784 8.53918 5.40624 8.48125L8.48124 5.40625C8.59893 5.28856 8.66505 5.12894 8.66505 4.9625C8.66505 4.79606 8.59893 4.63644 8.48124 4.51875C8.36355 4.40106 8.20393 4.33494 8.03749 4.33494C7.87105 4.33494 7.71143 4.40106 7.59374 4.51875L4.51874 7.59375C4.46016 7.65185 4.41366 7.72098 4.38193 7.79714C4.3502 7.8733 4.33387 7.95499 4.33387 8.0375C4.33387 8.12001 4.3502 8.2017 4.38193 8.27786C4.41366 8.35402 4.46016 8.42315 4.51874 8.48125Z",fill:"white"})}),"RSVP Link"]})})]})]})},Ha=n(324),za=n.n(Ha),Ya={date:Object(ot.e)((new Date).toISOString()),name:"",url:"",location:"",organization:"",description:""},Ga="NEW_EVENT_FORM_ID",Ka=function(e){var t=e.canEditEvents,n=e.loadDataAsync,i=e.onlyIcon,c=void 0!==i&&i,s=e.oldEditIcon,l=void 0===s||s,d=e.edit,u=void 0===d?null:d,p=Object(Zt.b)(),b=r.a.useContext(j.d),m=Object(Zt.c)((function(e){return e.dashboard.event})),f=m.post,h=m.put,O=Object(Ra.b)({defaultValues:Ya}),g=O.control,x=O.handleSubmit,y=O.reset,C=(O.setValue,O.getValues,O.watch),A=Object(a.useState)(!1),w=Object(o.a)(A,2),N=w[0],E=w[1],I=Object(a.useState)(null),D=Object(o.a)(I,2),F=D[0],k=D[1],T=C(["date","name"]),R=function(){E(!1),k(null),!u&&setTimeout((function(){return y(Ya)}),150)};return Object(a.useEffect)((function(){var e;u&&y(null!==(e={date:u.event.date?Object(ot.e)(u.event.date):null,name:u.event.name,organization:u.event.organization,location:u.event.location,url:u.event.url,description:u.event.description})&&void 0!==e?e:Ya)}),[u]),Object(a.useEffect)((function(){u||(Gt.a.isDone(f.fetchStatus)?(q.a.success("Event created!"),R(),n(),p(Object(Vt.k)())):Gt.a.isError(f.fetchStatus)&&(q.a.error("There was an error creating a new event."),p(Object(Vt.k)())))}),[f.fetchStatus]),Object(a.useEffect)((function(){u&&F===u.event.id&&(Gt.a.isDone(h.fetchStatus)?(q.a.success("Event updated!"),R(),n(),p(Object(Vt.m)())):Gt.a.isError(h.fetchStatus)&&(q.a.error("There was an error updating a new event."),p(Object(Vt.m)())))}),[h.fetchStatus]),Object(S.jsxs)(S.Fragment,{children:[Object(S.jsx)(ca.a,{open:N,handleClose:R,title:u?"Edit an event":"Post an event",form:Ga,acceptButtonType:"submit",loading:Gt.a.isFetching(f.fetchStatus)||Gt.a.isFetching(h.fetchStatus),acceptButtonDisabled:T.some((function(e){return"string"===typeof e?0===(null===e||void 0===e?void 0:e.length):!e})),acceptButtonLoading:Gt.a.isFetching(f.fetchStatus)||Gt.a.isFetching(h.fetchStatus),children:Object(S.jsxs)(v.a,{component:"form",id:Ga,onSubmit:x((function(e){p(u?Object(Vt.o)({context:b,values:e,id:u.event.id}):Object(Vt.c)({context:b,values:e}))})),sx:{py:1,"& > div":{my:1}},children:[Object(S.jsx)(Fa.a,{type:"date",name:"date",control:g,label:"Date",fullWidth:!0,requiredSign:!0}),Object(S.jsx)(Fa.a,{type:"text",name:"name",control:g,label:"Event Name",fullWidth:!0,requiredSign:!0}),Object(S.jsx)(Fa.a,{type:"text",name:"organization",control:g,label:"Organization",fullWidth:!0}),Object(S.jsx)(Fa.a,{type:"text",name:"location",control:g,label:"Location",fullWidth:!0}),Object(S.jsx)(Fa.a,{type:"text",name:"url",control:g,label:"RSVP Link",fullWidth:!0}),Object(S.jsx)(Fa.a,{type:"text",name:"description",control:g,label:"Description",multiline:!0,rows:3,fullWidth:!0})]})}),t?u?l?Object(S.jsx)(le.Button,{icon:"pi pi-pencil",className:"p-button-rounded",style:Va.iconButton,tooltip:"Edit Event",tooltipOptions:{position:"top"},onClick:function(){E(!0),k(u.event.id)}}):Object(S.jsx)(Vn.a,{title:"Edit event",children:Object(S.jsx)(Me.a,{size:"small",onClick:function(){E(!0),k(u.event.id)},color:"success",sx:{border:"solid 2px"},children:Object(S.jsx)(za.a,{})})}):c?Object(S.jsx)(Vn.a,{title:"Add event",children:Object(S.jsx)(Me.a,{size:"small",onClick:function(){E(!0)},color:"primary",sx:{border:"solid 2px"},children:Object(S.jsx)(Ta.a,{})})}):Object(S.jsx)(it.a,{variant:"contained",startIcon:Object(S.jsx)(Ta.a,{}),size:"small",sx:{px:2,py:0,borderRadius:"16px"},onClick:function(){E(!0)},children:"Add Event"}):Object(S.jsx)(S.Fragment,{})]})},qa=function(e){var t=e.events,n=e.loading,r=e.loadDataAsync,i=e.total,c=e.pageSize,s=e.pageIndex,l=Object(a.useContext)(j.d),d=Object(Nt.a)(),b=Object(Zt.b)(),m=Object(p.g)(),f=Object(Et.a)(d.breakpoints.down("md")),h=Object(j.g)(l,j.a.EditCalendarEvents),O=Object(Zt.c)((function(e){return e.dashboard.event.delete})).fetchStatus,g=Object(a.useState)(!0),x=Object(o.a)(g,2),C=x[0],w=x[1],N=Object(a.useState)(null),E=Object(o.a)(N,2),I=E[0],D=E[1],F=Object(a.useRef)(null),k=Object(a.useMemo)((function(){return Object(Mt.b)(m.location.search,"eventsKeyword","")}),[m.location]),T=Object(a.useCallback)((function(e){Object(Mt.c)(m,{eventsKeyword:e})}),[m.location]),R=Object(a.useCallback)(Object(_t.debounce)(T,750),[T]),P=function(e){var t=new Date(e),n=new Date;return n.addDays(-7),t>=n},M=Object(a.useCallback)((function(){var e=Object(Mt.b)(m.location.search,"eventsKeyword","");b(Object(Vt.g)({context:l,params:{EventNameKeyword:e,PageIndex:s,PageSize:c+20}}))}),[m.location,c,s]);return Object(a.useEffect)((function(){Gt.a.isDone(O)?(q.a.success("Event deleted"),r(),b(Object(Vt.k)()),D(null)):Gt.a.isError(O)&&(q.a.error("There was an error deleting this event."),b(Object(Vt.k)()),D(null))}),[O]),Object(S.jsxs)(Dt.a,{variant:"outlined",sx:Object(u.a)({borderRadius:"8px",height:"100%"},f&&{maxHeight:"55vh"}),children:[Object(S.jsx)(v.a,{sx:{height:"4px"},children:n&&Object(S.jsx)(Ft.a,{})}),Object(S.jsx)(kt.a,{children:Object(S.jsxs)(A.a,{direction:"row",spacing:1,alignItems:"center",justifyContent:"space-between",children:[Object(S.jsxs)(A.a,{direction:"row",spacing:1,alignItems:"center",sx:{textAlign:"left"},children:[Object(S.jsx)(Ea.a,{color:"primary"}),Object(S.jsx)(y.a,{variant:"h5",color:"inherit",children:"Events"})]}),Object(S.jsxs)(A.a,{direction:"row",spacing:1,children:[Object(S.jsx)(Ka,{canEditEvents:h,loadDataAsync:r,onlyIcon:!0}),Object(S.jsx)(Me.a,{onClick:function(){return w((function(e){return!e}))},children:Object(S.jsx)(Yt.a,{sx:{transition:"transform 250ms ease-in-out",transform:"rotate(".concat(C?"0deg":"180deg",")")}})})]})]})}),Object(S.jsx)(Lt.a,{in:C,timeout:250,sx:{display:"flex",flexDirection:"column"},children:Object(S.jsx)(v.a,{sx:{backgroundColor:d.palette.primary.light,px:2,py:1,borderTop:"solid 1px ".concat(d.palette.divider),borderBottom:"solid 1px ".concat(d.palette.divider)},children:Object(S.jsx)(dn.a,{disabled:n,inputRef:F,defaultValue:null!==k&&void 0!==k?k:"",fullWidth:!0,onChange:function(e){R(e.target.value)},size:"small",placeholder:"Search",InputProps:{sx:{backgroundColor:d.palette.background.paper},startAdornment:Object(S.jsx)(mn.a,{style:{marginRight:"8px"}}),endAdornment:k?Object(S.jsx)(Me.a,{disabled:n,onClick:function(){F.current&&(F.current.value="",T(""))},children:Object(S.jsx)(bn.a,{})}):void 0}})})}),Object(S.jsxs)(Lt.a,{in:C,timeout:250,sx:{display:"flex",flexDirection:"column",overflowY:"scroll",maxHeight:"calc(100% - 68px - 58px)"},children:[null!==t?t.length?t.map((function(e,t){var n,a;return Object(S.jsxs)(v.a,{sx:Object(u.a)(Object(u.a)({},t>0&&{borderTop:"solid 1px ".concat(d.palette.divider)}),{},{px:2,py:1,textAlign:"left","& > *":{my:.5}}),children:[Object(S.jsxs)(A.a,{direction:"row",spacing:1,justifyContent:"space-between",alignItems:"center",children:[Object(S.jsx)(y.a,{variant:"subtitle2",color:"inherit",children:e.date?Object(Qt.a)(Object(ot.e)(e.date),"MMMM dd yyyy"):"N/A"}),Object(S.jsxs)(A.a,{direction:"row",spacing:1,children:[Object(S.jsx)(Ka,{canEditEvents:h,loadDataAsync:r,oldEditIcon:!1,edit:{event:e}}),h&&Object(S.jsx)(Vn.a,{title:"Delete event",children:Object(S.jsx)("span",{children:Object(S.jsx)(Me.a,{size:"small",onClick:function(){return t=e.id,D(t),void b(Object(Vt.e)({context:l,id:t}));var t},color:"error",sx:{border:"solid 2px"},disabled:I===e.id,children:Object(S.jsx)(Ia.a,{})})})})]})]}),Object(S.jsxs)(A.a,{direction:"row",spacing:1,children:[P(e.createdOn)&&Object(S.jsx)(zt.a,{label:"New",height:24,fontSize:"14px",color:d.palette.primary.main,backgroundColor:d.palette.primary.light,borderRadius:"8px"}),Object(S.jsx)(y.a,Object(u.a)(Object(u.a)({variant:"h6",fontWeight:"500"},(null===e||void 0===e?void 0:e.url)?{component:"a",href:e.url,target:"_blank",rel:"noreferrer noopener",sx:{textDecoration:"underline"}}:{color:"inherit"}),{},{children:e.name}))]}),Object(S.jsx)(y.a,{variant:"subtitle2",color:"textSecondary",fontWeight:"300",fontSize:"13px",dangerouslySetInnerHTML:{__html:null!==(n=e.description)&&void 0!==n?n:""},sx:{"p:first-of-type":{marginTop:"0 !important"},"& > *":{color:"".concat(d.palette.text.secondary," !important"),"& > *":{color:"".concat(d.palette.text.secondary," !important")}},lineHeight:"24px"}}),Object(S.jsxs)(A.a,{direction:"row",spacing:1,sx:{"& > svg":{fill:d.palette.text.secondary,height:"18px !important",width:"18px !important"}},children:[Object(S.jsx)(Da.a,{}),Object(S.jsx)(y.a,{variant:"body2",color:"textSecondary",children:(null===(a=e.location)||void 0===a?void 0:a.length)?e.location:"N/A"})]}),Object(S.jsxs)(A.a,{direction:"row",spacing:1,sx:{"& > svg":{fill:d.palette.text.secondary,height:"18px !important",width:"18px !important"}},children:[Object(S.jsx)(Mn,{}),Object(S.jsx)(y.a,{variant:"body2",color:"textSecondary",children:e.organization.length?e.organization:"N/A"})]})]},e.name+t)})):Object(S.jsx)(y.a,{variant:"h6",sx:{my:1},color:"textSecondary",children:"No events"}):Object(S.jsx)(S.Fragment,{}),t&&Object(S.jsx)(it.a,{variant:"secondaryContained",disabled:t.length===i||n,onClick:M,sx:{my:1},children:"Load more"})]})]})},Xa=Object(Rt.a)(Object(S.jsx)("svg",{width:"26",height:"26",viewBox:"0 0 26 26",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:Object(S.jsx)("path",{d:"M6.75 10.5H9.25C9.58152 10.5 9.89946 10.3683 10.1339 10.1339C10.3683 9.89946 10.5 9.58152 10.5 9.25C10.5 8.91848 10.3683 8.60054 10.1339 8.36612C9.89946 8.1317 9.58152 8 9.25 8H6.75C6.41848 8 6.10054 8.1317 5.86612 8.36612C5.6317 8.60054 5.5 8.91848 5.5 9.25C5.5 9.58152 5.6317 9.89946 5.86612 10.1339C6.10054 10.3683 6.41848 10.5 6.75 10.5ZM24.25 3H14.25V1.75C14.25 1.41848 14.1183 1.10054 13.8839 0.866116C13.6495 0.631696 13.3315 0.5 13 0.5C12.6685 0.5 12.3505 0.631696 12.1161 0.866116C11.8817 1.10054 11.75 1.41848 11.75 1.75V3H1.75C1.41848 3 1.10054 3.1317 0.866116 3.36612C0.631696 3.60054 0.5 3.91848 0.5 4.25V16.75C0.5 17.7446 0.895088 18.6984 1.59835 19.4017C2.30161 20.1049 3.25544 20.5 4.25 20.5H9.9875L7.1125 23.3625C6.99534 23.4787 6.90235 23.617 6.83889 23.7693C6.77542 23.9216 6.74275 24.085 6.74275 24.25C6.74275 24.415 6.77542 24.5784 6.83889 24.7307C6.90235 24.883 6.99534 25.0213 7.1125 25.1375C7.2287 25.2547 7.36695 25.3477 7.51928 25.4111C7.6716 25.4746 7.83499 25.5072 8 25.5072C8.16501 25.5072 8.3284 25.4746 8.48072 25.4111C8.63305 25.3477 8.7713 25.2547 8.8875 25.1375L11.75 22.2625V24.25C11.75 24.5815 11.8817 24.8995 12.1161 25.1339C12.3505 25.3683 12.6685 25.5 13 25.5C13.3315 25.5 13.6495 25.3683 13.8839 25.1339C14.1183 24.8995 14.25 24.5815 14.25 24.25V22.2625L17.1125 25.1375C17.2287 25.2547 17.367 25.3477 17.5193 25.4111C17.6716 25.4746 17.835 25.5072 18 25.5072C18.165 25.5072 18.3284 25.4746 18.4807 25.4111C18.633 25.3477 18.7713 25.2547 18.8875 25.1375C19.0047 25.0213 19.0977 24.883 19.1611 24.7307C19.2246 24.5784 19.2572 24.415 19.2572 24.25C19.2572 24.085 19.2246 23.9216 19.1611 23.7693C19.0977 23.617 19.0047 23.4787 18.8875 23.3625L16.0125 20.5H21.75C22.7446 20.5 23.6984 20.1049 24.4017 19.4017C25.1049 18.6984 25.5 17.7446 25.5 16.75V4.25C25.5 3.91848 25.3683 3.60054 25.1339 3.36612C24.8995 3.1317 24.5815 3 24.25 3ZM23 16.75C23 17.0815 22.8683 17.3995 22.6339 17.6339C22.3995 17.8683 22.0815 18 21.75 18H4.25C3.91848 18 3.60054 17.8683 3.36612 17.6339C3.1317 17.3995 3 17.0815 3 16.75V5.5H23V16.75ZM6.75 15.5H14.25C14.5815 15.5 14.8995 15.3683 15.1339 15.1339C15.3683 14.8995 15.5 14.5815 15.5 14.25C15.5 13.9185 15.3683 13.6005 15.1339 13.3661C14.8995 13.1317 14.5815 13 14.25 13H6.75C6.41848 13 6.10054 13.1317 5.86612 13.3661C5.6317 13.6005 5.5 13.9185 5.5 14.25C5.5 14.5815 5.6317 14.8995 5.86612 15.1339C6.10054 15.3683 6.41848 15.5 6.75 15.5Z",fill:"#0B77B2"})}),"PresentationBoard"),Za=function(e){Object(St.a)(e);var t=Object(a.useContext)(j.d),n=Object(Nt.a)(),r=Object(j.h)(t,j.b.proOrHigher),i=Object(j.e)(t,j.a.organizationMember),c=Object(a.useState)(!0),s=Object(o.a)(c,2),l=s[0],d=s[1],p=Object(a.useState)(!1),m=Object(o.a)(p,2),f=m[0],h=m[1];return Object(S.jsxs)(Dt.a,{variant:"outlined",sx:{borderRadius:"8px"},children:[Object(S.jsx)(kt.a,{children:Object(S.jsxs)(A.a,{direction:"row",spacing:1,alignItems:"center",justifyContent:"space-between",children:[Object(S.jsxs)(A.a,{direction:"row",spacing:1,alignItems:"center",children:[Object(S.jsx)(Xa,{color:"primary"}),Object(S.jsx)(y.a,{variant:"h5",color:"inherit",children:"USAID Resources"})]}),Object(S.jsx)(Me.a,{onClick:function(){return d((function(e){return!e}))},children:Object(S.jsx)(Yt.a,{sx:{transition:"transform 250ms ease-in-out",transform:"rotate(".concat(l?"0deg":"180deg",")")}})})]})}),Object(S.jsx)(Lt.a,{in:l,children:Object(S.jsxs)(v.a,{sx:{borderTop:"solid 1px ".concat(n.palette.divider)},children:[Object(S.jsx)(C.a,{upgradePlanModalOpen:f,setUpgradePlanModalOpen:function(e){return h(e)}}),Object(S.jsx)("div",{className:"resource-list",children:r?Object(S.jsxs)("ul",{style:{textAlign:"left"},children:[Object(S.jsx)("li",{children:Object(S.jsx)(b.b,{to:"/resources",style:{fontSize:"14px"},children:"USAID Best Practices and General Information"})}),Object(S.jsx)("li",{children:Object(S.jsx)(b.b,{to:"/lcp-archives",style:{fontSize:"14px"},children:"USG Local Compensation Plan Archive"})}),Object(S.jsx)("li",{children:Object(S.jsx)(b.b,{to:"/iee-archives",style:{fontSize:"14px"},children:"Initial Environmental Examination Archive"})})]}):Object(S.jsx)(it.a,Object(u.a)(Object(u.a)({variant:"secondaryContained",sx:{my:2}},i?{onClick:function(){return h(!0)}}:{component:"a",href:"/tiers",target:"_blank"}),{},{children:"Upgrade your plan to see resources"}))})]})})]})},Ja=n(270),_a=function(e){Object(St.a)(e);var t=Object(Zt.b)(),n=Object(a.useContext)(j.d),r=Object(p.g)(),i=Object(Zt.c)((function(e){return e.dashboard})),c=i.events,s=i.updates,l=i.fetchStatus,d=i.pipelineUpdates,b=i.opportunitiesDetails,m=i.user,f=i.organization,h=Object(Zt.c)((function(e){return e.pipelines})),O=h.fetchStatus,g=h.rawItems,x=(h.items,Object(Nt.a)()),v=Object(Et.a)("(min-height: 660px)"),y=Object(a.useRef)(null),C=Object(a.useRef)(null),A=Object(j.h)(n,j.b.plusOrHigher),w=(Object(j.e)(n,j.a.organizationMember),Object(a.useState)(0)),N=Object(o.a)(w,2),E=N[0],I=N[1],D=Object(Et.a)(x.breakpoints.down("md")),F=Object(a.useMemo)((function(){var e=Object(j.j)(n,j.a.organizationAdmin),t=Object(j.f)(n),a=Object(j.c)(t);return t!==j.a.plus&&t!==j.a.pro||(a=e?"".concat(a," Admin"):a),a}),[n]),k=Object(a.useMemo)((function(){return+Object(Mt.b)(r.location.search,"pageIndex","0")}),[r.location]),T=Object(a.useMemo)((function(){return+Object(Mt.b)(r.location.search,"pageSize","20")}),[r.location]),R=Object(a.useMemo)((function(){return Object(Mt.b)(r.location.search,"opportunitiesKeyword","")}),[r.location]),P=Object(a.useMemo)((function(){return Object(Mt.b)(r.location.search,"eventsKeyword","")}),[r.location]),M=Object(a.useMemo)((function(){return Object(Mt.b)(r.location.search,"updatesRange","today")}),[r.location]),U=Object(a.useMemo)((function(){return"lastYear"===M?(new Date).addYears(-1):"lastMonth"===M?(new Date).addMonths(-1):(new Date).addDays("last7"===M?-7:-1)}),[M]),L=(Object(a.useMemo)((function(){return Object(Mt.b)(r.location.search,"opportunitiesRange","today")}),[r.location]),Object(a.useMemo)((function(){return JSON.stringify(Object(Mt.b)(r.location.search,"opportunitiesType",["All"],{multiple:!0}))}),[r.location])),B=Object(a.useMemo)((function(){return Object(Mt.b)(r.location.search,"detailsForPipelines","true")}),[r.location]),V=Object(a.useMemo)((function(){return JSON.stringify(Object(Mt.b)(r.location.search,"pipelineValue",["all"],{multiple:!0}))}),[r.location]),Q=Object(a.useMemo)((function(){return Object(Mt.b)(r.location.search,"tab","overview")}),[r.location]),W=Object(a.useCallback)((function(){A&&t(Object(Vt.h)({context:n,values:{startDate:(new Date).addDays(-1).toISOString(),endDate:(new Date).toISOString()}}))}),[A]),H=Object(a.useCallback)((function(){A&&t(Object(Vt.i)({context:n,params:{DatasetTypes:Object(_t.isEqual)(JSON.parse(L),["All"])?["Forecast","Contract","Grant"]:JSON.parse(L),PipelineIds:Object(_t.isEqual)(JSON.parse(V),["all"])?void 0:JSON.parse(V),UpdatedAfter:U.toISOString(),UpdatedBefore:(new Date).toISOString(),PageIndex:k,PageSize:T,Keyword:R,SortField:"lastUpdatedOn",SortOrder:-1,FilterToUserPipelines:B}}))}),[T,k,R,U,L,A,B,V,b.data]),z=function(){y.current&&C.current&&I(y.current.clientHeight+C.current.clientHeight)};return Object(a.useEffect)((function(){return window.addEventListener("resize",z),function(){window.removeEventListener("resize",z)}}),[]),Object(a.useEffect)((function(){if(C.current){var e=new ResizeObserver((function(){z()}));return e.observe(C.current),function(){return e.disconnect()}}}),[]),Object(a.useEffect)((function(){z()})),Object(a.useEffect)((function(){t(Object(Vt.f)(n)),t(Object(va.b)(n))}),[]),Object(a.useEffect)((function(){Gt.a.isHalfDone(O)?t(Object(va.i)({pipelines:g})):Gt.a.isError(O)&&(q.a.error("Couldn't load pipelines details. Try again later."),t(Object(va.g)()))}),[O]),Object(a.useEffect)((function(){W(),H()}),[M,Q,R,L,k,T,B,V]),Object(a.useEffect)((function(){t(Object(Vt.g)({context:n,params:{Keyword:P}}))}),[P]),Object(a.useEffect)((function(){if(Gt.a.isDone(l)){var e,t,a,r,i,c,o,s=new Date,d=s.getFullYear()+"-"+(s.getMonth()+1)+"-"+s.getDate(),u=null===(e=n.user.parsedIdToken)||void 0===e?void 0:e.sub,p=null!==(t=null===(a=n.user.parsedIdToken)||void 0===a?void 0:a.email)&&void 0!==t?t:"";Ja.Userpilot.identify(null!==u&&void 0!==u?u:"",{name:null!==(r=null===m||void 0===m?void 0:m.firstName)&&void 0!==r?r:"",email:p,role:F,created_at:d,organization_name:null!==(i=null===f||void 0===f?void 0:f.name)&&void 0!==i?i:"",tier:null!==(c=null===f||void 0===f?void 0:f.tier)&&void 0!==c?c:"",expiration:null!==(o=null===f||void 0===f?void 0:f.tierExpiration)&&void 0!==o?o:""})}}),[l]),Object(S.jsx)(S.Fragment,{children:Object(S.jsxs)(Xe.a,{container:!0,spacing:2,sx:{mb:2,flex:1},children:[Object(S.jsx)(Xe.a,{container:!0,item:!0,sm:12,md:6,lg:8,spacing:2,sx:Object(u.a)({},A?{flex:1}:{height:"fit-content"}),children:Object(S.jsx)(Xe.a,{item:!0,xs:12,sx:Object(u.a)({flex:1},D?{minHeight:"75vh"}:{maxHeight:"calc(100vh - 96px)"}),children:Object(S.jsx)(Sa,{updates:s,pipelineUpdates:d,opportunitiesDetailsFetchStatus:b.fetchStatus,opportunitiesTotal:b.total})})}),Object(S.jsxs)(Xe.a,{container:!0,item:!0,sm:12,md:6,lg:4,spacing:2,sx:Object(u.a)({height:"fit-content"},!v&&{minHeight:"580px"}),children:[Object(S.jsx)(Xe.a,{item:!0,xs:12,sx:Object(u.a)({flex:1},D?{}:v?{maxHeight:"calc(100vh - 96px - ".concat(E,"px)")}:{height:"235px"}),children:Object(S.jsx)(qa,{events:c.items,total:c.total,pageIndex:c.pageIndex,pageSize:c.pageSize,loading:Gt.a.isFetching(c.fetchStatus),loadDataAsync:function(){return t(Object(Vt.g)({context:n,params:{name:P}}))}})}),Object(S.jsx)(Xe.a,{item:!0,ref:y,xs:12,sx:{height:"fit-content",p:"0 !important"}}),Object(S.jsx)(Xe.a,{item:!0,ref:C,xs:12,sx:{height:"fit-content"},children:Object(S.jsx)(Za,{})})]})]})})},$a=n(72),er=function(e){var t=e.text,n=e.isFree,a=e.charCount;n&&(t=(t=(t=(t=(t=(t=t.replace(/color: rgb/g,"")).replace(/color: #/g,"")).replace(/style="color: /g,"")).replace(/

i?i:t.length-1,s=t.indexOf("a href"),l=t.indexOf(">",s);s>-1&&si;r.a.useEffect((function(){var e=p?c:t.length;h(t.substr(0,e))}),[p,c]);return Object(S.jsxs)("div",{className:n?"links-blur":"update-cont",children:[Object(S.jsx)("div",{children:Object(S.jsx)("span",{dangerouslySetInnerHTML:{__html:f}})}),Object(S.jsx)("br",{}),O&&Object(S.jsxs)("div",{className:"view-details",children:[p&&Object(S.jsx)("a",{href:"javscript:void(0);",onClick:function(){return n?null:b(!1)},children:"View Details"}),!p&&Object(S.jsx)("a",{href:"javscript:void(0);",onClick:function(){return n?null:b(!0)},children:"Hide Details"})]})]})},tr=n(268),nr=n.n(tr),ar=(n(359),n(629),{textAlign:"left",margin:"10px 0",padding:"15px",borderRadius:"30px",whiteSpace:"pre-wrap"}),rr={marginTop:"10px",display:"flex",justifyContent:"flex-end"},ir=function(e){return new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),10,0,0))},cr=[{label:"",value:""},{label:"USAID Press Release",value:"USAID Press Release"}],or=function(e){var t=e.update,n=e.canEditUpdates,i=e.editUpdate,c=e.deleteUpdate,s=Object(a.useState)(!1),l=Object(o.a)(s,2),d=l[0],p=l[1],b=Object(a.useState)(t.message),j=Object(o.a)(b,2),m=j[0],f=j[1],h=Object(a.useState)(t.title),O=Object(o.a)(h,2),g=O[0],x=O[1],v=Object(a.useState)(t.createdOn?new Date(t.createdOn):new Date),y=Object(o.a)(v,2),C=y[0],A=y[1],w=Object(a.useState)(t.source),N=Object(o.a)(w,2),E=N[0],I=N[1],D=Object(je.a)(),F=r.a.useCallback((function(){if(t.createdOn){var e=new Date(t.createdOn);return new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),0,0,0))}return new Date}),[t.createdOn]);return Object(S.jsxs)(r.a.Fragment,{children:[Object(S.jsxs)("div",Object(u.a)(Object(u.a)({className:d?"update":"update update-back-hover"},Object($a.css)(ar)),{},{children:[d?Object(S.jsxs)(S.Fragment,{children:[Object(S.jsx)("div",{className:"p-inputgroup",children:Object(S.jsx)(ce.InputText,{placeholder:"title",value:g,style:{margin:"10px 0",borderRadius:"30px",width:"100%",background:"inherit"},onChange:function(e){return x(e.target.value)}})}),Object(S.jsxs)("div",{className:"p-inputgroup calendar-input",children:[Object(S.jsx)(Ma.Calendar,{appendTo:document.body,style:{margin:"10px 0",borderRadius:"30px",width:"40%",background:"inherit"},placeholder:"mm/dd/yyyy",dateFormat:"mm/dd/yy",value:ir(C),onChange:function(e){A(ir(e.target.value))}}),Object(S.jsx)("select",{value:E,style:{margin:"10px 0",borderRadius:"8px",width:"50%",height:"35px",padding:"9px",background:"inherit",marginLeft:"10px"},onChange:function(e){return I(e.target.value)},children:cr.map((function(e){return Object(S.jsx)("option",{value:e.value,children:e.label})}))})]}),Object(S.jsx)("div",{className:"p-inputgroup",children:Object(S.jsx)(nr.a,{style:{width:"100%",height:"100%"},theme:"snow",value:m,onChange:function(e){return f(e)}})})]}):Object(S.jsxs)("div",{style:D.potentiallyBlurred(!1),children:[t.createdOn?Object(S.jsxs)("div",{style:{display:"flex"},children:[Object(S.jsx)("div",{className:"update-date",style:{fontWeight:"bold",marginBottom:"15px",color:"#ecac37"},children:Object(ot.b)(F().toString(),ot.a.dd_MMMM_yyyy)}),t.source?Object(S.jsx)("div",{style:D.potentiallyBlurred(!1),className:"update-source",children:t.source}):""]}):Object(S.jsx)(S.Fragment,{}),Object(S.jsx)("p",{children:Object(S.jsxs)("strong",{children:[" ",t.title]})}),Object(S.jsx)(er,{text:t.message,isFree:D.isFree})]}),n&&Object(S.jsxs)("div",Object(u.a)(Object(u.a)({},Object($a.css)(rr)),{},{className:"p-inputgroup",children:[d&&Object(S.jsx)(le.Button,{icon:"pi pi-save",label:"Save",className:"aid-blu-btn",style:{marginRight:"5px"},disabled:!d,onClick:function(){return p(!1),void i(t.id,m,g,C,E)}}),Object(S.jsx)(le.Button,{icon:d?"pi pi-times":"pi pi-pencil",label:d?"Cancel":"Edit",className:"aid-blu-btn",style:{marginRight:"5px"},onClick:function(){return p(!d),void f(t.message)}}),Object(S.jsx)(le.Button,{icon:"pi pi-trash",label:"Delete",className:"p-button-danger",disabled:d,onClick:function(){return c(t.id)}})]}))]})),Object(S.jsx)("div",{className:"update-seperator"})]})},sr=n(101),lr=n(450),dr=n.n(lr),ur=dr()(Ct.a),pr=function(){var e=Object(d.a)(l.a.mark((function e(t){var n,a;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=[{label:"",value:""},{label:"USAID Press Release",value:"USAID Press Release"}],e.next=3,ur.fire({title:"Create New Update",width:"800px",html:Object(S.jsxs)(S.Fragment,{children:[Object(S.jsxs)("div",{children:[Object(S.jsxs)("label",{children:["Title ",Object(S.jsx)("label",{style:{color:"red"},children:"*"})]}),Object(S.jsx)(ce.InputText,{style:{margin:"10px 0",borderRadius:"30px",width:"100%"},onChange:function(e){return t.title=e.target.value}})]},"updateTitle"),Object(S.jsxs)("div",{children:[Object(S.jsxs)("label",{children:["Date ",Object(S.jsx)("label",{style:{color:"red"},children:"*"})]}),Object(S.jsx)(Ma.Calendar,{placeholder:"mm/dd/yyyy",dateFormat:"mm/dd/yy",value:null!==(n=t.createdOn)&&void 0!==n?n:new Date,style:{margin:"10px 0",borderRadius:"30px",width:"100%"},onChange:function(e){return t.createdOn=ir(e.target.value)}})]},"updateDate"),Object(S.jsxs)("div",{children:[Object(S.jsx)("label",{children:"Source"}),Object(S.jsx)("select",{style:{margin:"10px 0",borderRadius:"30px",width:"100%",height:"35px",padding:"9px"},onChange:function(e){return t.source=e.target.value},children:a.map((function(e){return Object(S.jsx)("option",{value:e.value,children:e.label})}))})]},"updateSource"),Object(S.jsxs)("div",{style:{height:250},children:[Object(S.jsxs)("label",{children:["Update Body ",Object(S.jsx)("label",{style:{color:"red"},children:"*"})]}),Object(S.jsx)(nr.a,{style:{height:150},theme:"snow",value:t.message,onChange:function(e){return t.message=e}})]},"updatemessage")]}),showCancelButton:!0,showLoaderOnConfirm:!0,validationMessage:"Please fill out all mandatory fields, or click \u201cCancel\u201d to disregard the changes.",preConfirm:function(){return t.message&&t.title&&Object(Yn.a)(t.message)?(ur.resetValidationMessage(),!0):(ur.showValidationMessage("Please fill out all mandatory fields, or click \u201cCancel\u201d to disregard the changes."),!1)},allowOutsideClick:function(){return!ur.isLoading()}}).then((function(e){return{isConfirmed:e.isConfirmed,model:t}}));case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),br={pageIndex:0,rowsPerPage:lt.b[0]},jr=function(){var e=r.a.useContext(j.d),t=r.a.useContext(se.a),n=function(){var e=r.a.useContext(m.a);return{header:{font:e.v2Fonts.mediumHeader},buttonContainer:{marginTop:"10px",display:"flex",justifyContent:"flex-end"},tooltip:{font:e.v2Fonts.context,verticalAlign:"middle"}}}(),i=(Object(p.g)(),Object(j.e)(e,j.a.organizationMember)),c=Object(a.useState)(!1),s=Object(o.a)(c,2),b=s[0],f=s[1],h=Object(a.useState)([]),O=Object(o.a)(h,2),g=O[0],x=O[1],y=Object(a.useState)(!1),A=Object(o.a)(y,2),w=A[0],N=A[1],E=Object(a.useState)(""),I=Object(o.a)(E,2),D=I[0],F=I[1],k=Object(a.useState)(br),T=Object(o.a)(k,2),R=T[0],P=T[1],M=Object(je.a)(),U=Object(a.useCallback)((function(){var n=Object(L.b)(e);N(!0),V.a.get(Object(L.f)("/api/user/update".concat(Object(Gn.a)(M.isFree?{pageIndex:0,rowsPerPage:3}:Object(u.a)({},R))),{useDedicatedEnvironment:!0}),n).then((function(e){N(!1);var n=e.data;n.length>0?x((function(e){return Object(_t.uniqBy)([].concat(Object(ee.a)(e),Object(ee.a)(n)),"id")})):t.current.show({severity:"info",summary:"No more updates to load"})})).catch((function(e){N(!1),console.error(e),t.current.show({severity:"error",summary:"Unable to load user profile"})}))}),[R]);Object(a.useEffect)(U,[e,R]);var B=Object(a.useCallback)((function(n,a){V.a.post(Object(L.f)("/api/admin/update",{useDedicatedEnvironment:!0}),{message:n.message,title:n.title,createdOn:n.createdOn,source:n.source},Object(L.c)(e)).then((function(e){var t=Object(u.a)({},e.data);x([t].concat(Object(ee.a)(a)))})).catch((function(e){console.error(e),t.current.show({severity:"error",summary:"Error saving new update",detail:e})}))}),[]),Q=Object(a.useCallback)((function(n){var a=Object(u.a)(Object(u.a)({},Object(L.c)(e)),{},{data:{id:n}});V.a.delete(Object(L.f)("/api/admin/update",{useDedicatedEnvironment:!0}),a).then((function(){var e=g.filter((function(e){return e.id!==n}));x(e)})).catch((function(e){console.error(e),t.current.show({severity:"error",summary:"Error deleting update",detail:JSON.stringify(e)})}))}),[g]),W=Object(a.useCallback)((function(n,a,r,i,c){V.a.put(Object(L.f)("/api/admin/update",{useDedicatedEnvironment:!0}),{id:n,message:a,title:r,createdOn:i,source:c},Object(L.b)(e)).then((function(){var e=g.map((function(e){return e.id===n?Object(u.a)(Object(u.a)({},e),{},{message:a,createdOn:i,title:r,source:c}):e}));x(e)})).catch((function(e){console.error(e),t.current.show({severity:"error",summary:"Error editing update",detail:e})}))}),[g]),H=Object(j.g)(e,j.a.EditUserNotifications),z=r.a.useCallback(function(){var e=Object(d.a)(l.a.mark((function e(t){var n,a,r;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,pr({createdOn:null,id:0,message:"",source:"",title:""});case 2:n=e.sent,a=n.isConfirmed,r=n.model,a&&B(r,t);case 6:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),[]);return Object(S.jsxs)(Pa.a,{children:[Object(S.jsx)(C.a,{upgradePlanModalOpen:b,setUpgradePlanModalOpen:function(e){return f(e)}}),Object(S.jsxs)("div",{className:"cal-header-container",children:[Object(S.jsx)(ae.b,{text:"USAID Market News Feed",children:Object(S.jsx)("span",Object(u.a)(Object(u.a)({},Object($a.css)(n.tooltip)),{},{children:Object(S.jsx)(sr.a,{tooltipText:"We share relevant updates from USAID and key USAID market partners here. Many of these come from the several USAID newsletter that we monitor for you. This is a great place for our paid subscribers to share their own updates relevant to USAID. Please message us if you have any updates that you would like us to share here."})}))}),H&&Object(S.jsx)("div",{className:"add-update-btn",children:Object(S.jsx)("div",Object(u.a)(Object(u.a)({},Object($a.css)(n.buttonContainer)),{},{children:Object(S.jsx)(le.Button,{icon:"pi pi-plus",label:"Add Update",className:"aid-blu-btn",onClick:function(){return z(g)}})}))})]}),Object(S.jsx)("div",{children:Object(S.jsx)(ce.InputText,{placeholder:"Search...",value:D,style:Object(u.a)({margin:"3px 0 10px",borderRadius:"30px",width:"100%",padding:"8px 16px"},M.isFree&&{display:"none"}),className:"aid-search",onChange:function(e){return F(e.target.value)}})}),Object(S.jsx)("div",{className:"search-box-sep"}),Object(S.jsx)(v.a,{sx:{height:"4px",ml:"-20px",width:"calc(100% + 40px)"},children:w&&Object(S.jsx)(Ft.a,{})}),Object(S.jsxs)("div",{style:{height:M.isFree?"75vh":"70vh",overflowY:"scroll",overflowX:"hidden"},children:[g.filter((function(e){var t;return e.message.match(new RegExp(D,"i"))||(null===(t=e.title)||void 0===t?void 0:t.match(new RegExp(D,"i")))})).map((function(e){return Object(S.jsx)(or,{update:e,canEditUpdates:H,editUpdate:W,deleteUpdate:Q},e.id)})),!M.isFree&&Object(S.jsx)(it.a,{variant:"secondaryContained",sx:{my:2},onClick:function(){return P((function(e){return Object(u.a)(Object(u.a)({},e),{},{pageIndex:e.pageIndex+1})}))},disabled:w,children:"Load more"}),M.isFree&&!w&&Object(S.jsx)(it.a,Object(u.a)(Object(u.a)({variant:"secondaryContained",sx:{my:2}},i?{onClick:function(){return f(!0)}}:{component:"a",href:"/tiers",target:"_blank"}),{},{children:"Upgrade your plan to see more"}))]})]})},mr=n(223),fr=n(176),hr=(n(1288),function(){var e=r.a.useContext(j.d),t=Object(j.h)(e,j.b.proOrHigher),n=Object(j.e)(e,j.a.organizationMember),i=Object(a.useState)(!1),c=Object(o.a)(i,2),s=c[0],l=c[1],d=function(e,n){return t?Object(S.jsx)("li",{children:Object(S.jsx)(b.b,{to:n,children:e})}):Object(S.jsxs)("li",{className:"upgrade-link",children:[Object(S.jsx)("div",{className:"blurred-text",children:e}),Object(S.jsx)(b.b,{style:{position:"absolute",alignSelf:"center"},to:"/tiers",className:"upgrade-button",children:"Upgrade"})]})};return Object(S.jsxs)(Pa.a,{children:[Object(S.jsx)(ae.b,{text:"USAID Resources",icon:!1}),Object(S.jsx)(C.a,{upgradePlanModalOpen:s,setUpgradePlanModalOpen:function(e){return l(e)}}),Object(S.jsx)("div",{className:"resource-list",children:t?Object(S.jsxs)("ul",{style:{textAlign:"left"},children:[d("USAID Best Practices and General Information","/resources"),d("USG Local Compensation Plan Archive","/lcp-archives"),d("Initial Environmental Examination Archive","/iee-archives")]}):Object(S.jsx)(it.a,Object(u.a)(Object(u.a)({variant:"secondaryContained",sx:{my:2}},n?{onClick:function(){return l(!0)}}:{component:"a",href:"/tiers",target:"_blank"}),{},{children:"Upgrade your plan to see resources"}))})]})}),Or=(n(1289),n(63)),gr=n(99),xr=n(677);!function(e){e[e.week=1]="week",e[e.month=2]="month",e[e.year=3]="year"}(nn||(nn={})),function(e){e[e.allPiplines=1]="allPiplines",e[e.myPipelines=2]="myPipelines",e[e.sharedWithMe=3]="sharedWithMe"}(an||(an={}));var vr,yr,Cr,Ar,wr,Sr,Nr,Er=[{label:"Last Week",value:nn.week},{label:"Last Month",value:nn.month},{label:"Last Year",value:nn.year}],Ir=[{label:"All Pipelines",value:an.allPiplines},{label:"My Pipelines",value:an.myPipelines},{label:"Shared with me",value:an.sharedWithMe}],Dr=function(){var e=Object(a.useState)([]),t=Object(o.a)(e,2),n=t[0],i=t[1],c=r.a.useContext(j.d),s=r.a.useContext(se.a),l=Object(L.b)(c),d=Object(a.useState)(nn.week),u=Object(o.a)(d,2),p=u[0],m=u[1],f=Object(a.useState)(an.allPiplines),h=Object(o.a)(f,2),O=h[0],g=h[1],x=Object(a.useState)(!1),v=Object(o.a)(x,2),y=v[0],C=v[1],A=Object(a.useState)(!0),w=Object(o.a)(A,2),N=w[0],E=w[1],I=function(e){var t,n,a,r,i,c,o,s,l,d,u;return e?null===e||void 0===e||null===(t=e.replace(/ /g," "))||void 0===t||null===(n=t.replace(/&/g,"&"))||void 0===n||null===(a=n.replace(/</g,"<"))||void 0===a||null===(r=a.replace(/>/g,">"))||void 0===r||null===(i=r.replace(/"/g,'"'))||void 0===i||null===(c=i.replace(/'/g,"'"))||void 0===c||null===(o=c.replace(/¢/g,"\xa2"))||void 0===o||null===(s=o.replace(/£/g,"\xa3"))||void 0===s||null===(l=s.replace(/¥/g,"\xa5"))||void 0===l||null===(d=l.replace(/€/g,"\u20ac"))||void 0===d||null===(u=d.replace(/©/g,"\xa9"))||void 0===u?void 0:u.replace(/®/g,"\xae"):e};return Object(a.useEffect)((function(){E(!0);var e=new URLSearchParams;e.set("period",p.toString()),e.set("type",O.toString()),V.a.get(Object(L.f)("/api/user/recentPipeLineUpdates?".concat(e.toString()),{useDedicatedEnvironment:!0}),l).then((function(e){E(!1);var t=e.data;i(t)})).catch((function(e){console.error(e),s.current.show({severity:"error",summary:"Unable to load pipelines updates"})}))}),[p,O]),Object(S.jsxs)(Pa.a,{children:[Object(S.jsxs)("div",{className:"pipeline-updates-header",children:[Object(S.jsx)(ae.b,{text:"Pipelines Updates",icon:!1}),Object(S.jsxs)("div",{className:"bid-status",children:[Object(S.jsx)("div",{onMouseOver:function(){return C(!0)},onMouseLeave:function(){return C(!1)},className:y?"bidstatus-tooltip visible":"bidstatus-tooltip hidden",children:Object(S.jsx)("div",{children:Object(S.jsx)("p",{className:"bid-status-tooltip-body",children:function(){var e=Er.find((function(e){return e.value===p})),t=Ir.find((function(e){return e.value===O}));return 0===n.length?Object(S.jsxs)(S.Fragment,{children:["There are no updates ",Object(S.jsx)("u",{children:null===e||void 0===e?void 0:e.label})," from"," ",Object(S.jsxs)("u",{children:[null===t||void 0===t?void 0:t.label," "]})]}):1===n.length?Object(S.jsxs)(S.Fragment,{children:[Object(S.jsxs)("u",{children:["$",n.length]})," opportunity has been updated"," ",Object(S.jsx)("u",{children:null===e||void 0===e?void 0:e.label})," from ",Object(S.jsx)("u",{children:null===t||void 0===t?void 0:t.label})]}):Object(S.jsxs)(S.Fragment,{children:[Object(S.jsx)("u",{children:n.length})," opportunities have been updated"," ",Object(S.jsx)("u",{children:null===e||void 0===e?void 0:e.label})," from ",Object(S.jsx)("u",{children:null===t||void 0===t?void 0:t.label})]})}()})})}),Object(S.jsxs)("svg",{className:"bid-status-icon",onMouseOver:function(){return C(!0)},onMouseLeave:function(){return C(!1)},width:"34",height:"34",viewBox:"0 0 34 34",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[Object(S.jsx)("circle",{cx:"17",cy:"17",r:"17",fill:"url(#paint0_radial_381_5632)"}),Object(S.jsx)("circle",{cx:"17",cy:"17",r:"13",fill:"#F46E6E"}),Object(S.jsx)("text",{x:"12",y:"20",fontFamily:"Verdana",fontSize:"11",fill:"white",children:n.length}),Object(S.jsx)("defs",{children:Object(S.jsxs)("radialGradient",{id:"paint0_radial_381_5632",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(17 17) rotate(90) scale(54.0909 66.1332)",children:[Object(S.jsx)("stop",{stopColor:"#F46E6E",stopOpacity:"0"}),Object(S.jsx)("stop",{offset:"1",stopColor:"#F46E6E"})]})})]})]})]}),Object(S.jsxs)("div",{className:"search-box",style:{width:"100%"},children:[Object(S.jsx)(Ie.Dropdown,{className:"serach-dropdown-list type",options:Ir,onChange:function(e){return g(e.value)},value:O,style:{width:"55%"},appendTo:document.body}),Object(S.jsx)(Ie.Dropdown,{className:"serach-dropdown-list",options:Er,onChange:function(e){return m(e.value)},value:p,style:{width:"50%"},appendTo:document.body})]}),Object(S.jsx)("div",{className:"search-box-sep"}),Object(S.jsx)("div",{style:{height:"70vh",overflowY:"scroll",overflowX:"hidden",marginRight:"-20px"},children:N?Object(S.jsx)(Or.ProgressSpinner,{strokeWidth:"1",className:"pipeline-loader"}):n.map((function(e){var t;return Object(S.jsxs)("div",{className:"pipeline-card",children:[Object(S.jsx)("div",{className:"pipeline-date",children:Object(gr.a)(Object(xr.a)(e.updatedOn+"Z"))}),Object(S.jsx)("div",{className:"pipeline-change",children:"".concat(e.changedColumn," ").concat((null===(t=e.changedColumn)||void 0===t?void 0:t.includes(","))?" have been changed":" has been changed")}),Object(S.jsx)("div",{className:"pipeline-title",children:I(e.title)}),Object(S.jsx)("div",{className:"pipeline-name",children:Object(S.jsx)(b.b,{className:"pipeline-link",to:"/pipeline/".concat(e.pipelineId),children:I(e.pipelineName)})})]})}))})]})},Fr=(Object(p.i)((function(){var e,t,n=Object(a.useContext)(j.d),i=Object(a.useContext)(se.a),c=Object(a.useMemo)((function(){var e=Object(j.j)(n,j.a.organizationAdmin),t=Object(j.f)(n),a=Object(j.c)(t);return t!==j.a.plus&&t!==j.a.pro||(a=e?"".concat(a," Admin"):a),a}),[n]),s=r.a.useState(Array()),l=Object(o.a)(s,2),d=l[0],u=l[1],p=null!==(e=null===(t=n.user.parsedIdToken)||void 0===t?void 0:t.email)&&void 0!==e?e:"",b=Object(a.useReducer)(fr.c,Object(fr.b)(p,"","",p,Object(mr.b)())),m=Object(o.a)(b,2),f=m[0],h=m[1],O=Object(L.b)(n),g=Object(a.useCallback)((function(){V.a.get(Object(L.f)("/api/user/profile",{useDedicatedEnvironment:!0}),O).then((function(e){var t,a,r=e.data.events;u(r);var i=new Date,o=i.getFullYear()+"-"+(i.getMonth()+1)+"-"+i.getDate(),s=null===(t=n.user.parsedIdToken)||void 0===t?void 0:t.sub;Ja.Userpilot.identify(null!==s&&void 0!==s?s:"",{name:null===(a=e.data)||void 0===a?void 0:a.firstName,email:p,role:c,created_at:o})})).catch((function(e){console.error(e),i.current&&i.current.show({severity:"error",summary:"Unable to load user profile"})}))}),[]);Object(a.useEffect)(g,[n]);var x=Object(a.useMemo)((function(){return{accountInformationState:f,accountInformationDispatch:h}}),[f,h]);return Object(S.jsx)(fr.a.Provider,{value:x,children:Object(S.jsxs)("div",{className:"p-grid",style:{marginRight:"20px"},children:[Object(S.jsx)("div",{className:"p-col-12 p-md-12 p-lg-12 p-xl-8",children:Object(S.jsx)(jr,{})}),Object(S.jsx)("div",{className:"p-col-12 p-md-12 p-lg-12 p-xl-4",children:Object(S.jsx)(Dr,{})}),Object(S.jsx)("div",{className:"p-col-12 p-md-12 p-lg-12 p-xl-8",children:Object(S.jsx)(Wa,{events:d})}),Object(S.jsx)("div",{className:"p-col-12 p-md-12 p-lg-12 p-xl-4",children:Object(S.jsx)(hr,{})})]})})})),n(233),n(1290),n(241),n(110)),kr=(n(570),null===(vr=n(392))||void 0===vr||vr.default,null===(yr=n(393))||void 0===yr||yr.default,null===(Cr=n(394))||void 0===Cr||Cr.default,null===(Ar=n(395))||void 0===Ar||Ar.default,null===(wr=n(396))||void 0===wr||wr.default,null===(Sr=n(352))||void 0===Sr||Sr.default,null===(Nr=n(353))||void 0===Nr||Nr.default,new Date);kr.setFullYear(kr.getFullYear()-5);var Tr=n(373),Rr=(n(1291),{style:{base:{color:"#32325d",fontFamily:'"Helvetica Neue", Helvetica, sans-serif',fontSmoothing:"antialiased",fontSize:"16px","::placeholder":{color:"#aab7c4"}},invalid:{color:"#fa755a",iconColor:"#fa755a"}}}),Pr=function(){var e=a.useState(),t=Object(o.a)(e,2),n=t[0],r=t[1],i=Object(Tr.useStripe)(),c=Object(Tr.useElements)(),s=function(){var e=Object(d.a)(l.a.mark((function e(t){var n,a;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(c&&i){e.next=2;break}return e.abrupt("return");case 2:return t.preventDefault(),n=c.getElement(Tr.CardElement),e.next=6,i.createToken(n);case 6:(a=e.sent).error?r(a.error.message):(r(null),Mr(a.token));case 8:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}();return Object(S.jsxs)("div",{className:"p-fluid",children:[Object(S.jsxs)("div",{className:"p-field",children:[Object(S.jsx)("label",{htmlFor:"firstname1",children:"Firstname"}),Object(S.jsx)(ce.InputText,{id:"firstname1",type:"text"})]}),Object(S.jsxs)("div",{className:"p-field",children:[Object(S.jsx)("label",{htmlFor:"lastname1",children:"Lastname"}),Object(S.jsx)(ce.InputText,{id:"lastname1",type:"text"})]}),Object(S.jsxs)("form",{onSubmit:s,children:[Object(S.jsxs)("div",{className:"p-field",style:{marginBottom:10},children:[Object(S.jsx)("label",{htmlFor:"card-element",children:"Credit or debit card"}),Object(S.jsx)(Tr.CardElement,{id:"card-element",options:Rr,onChange:function(e){e.error?r(e.error.message):r(null)}})]}),Object(S.jsx)("div",{className:"card-errors",role:"alert",children:n}),Object(S.jsx)("button",{type:"submit",children:"Submit Payment"})]})]})};function Mr(e){return Ur.apply(this,arguments)}function Ur(){return(Ur=Object(d.a)(l.a.mark((function e(t){var n;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,fetch("/charge",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({token:t.id})});case 2:return n=e.sent,e.abrupt("return",n.json());case 4:case"end":return e.stop()}}),e)})))).apply(this,arguments)}var Lr,Br;n(1292);!function(e){e[e.free=1]="free",e[e.consultantMonthly=2]="consultantMonthly",e[e.consultantYearly=3]="consultantYearly",e[e.plusMonthly=4]="plusMonthly",e[e.plusYearly=5]="plusYearly",e[e.proMonthly=6]="proMonthly",e[e.proYearly=7]="proYearly"}(Lr||(Lr={})),function(e){e[e.free=1]="free",e[e.consultant=2]="consultant",e[e.plus=3]="plus",e[e.pro=4]="pro"}(Br||(Br={}));var Vr,Qr,Wr={borderTop:"1px solid #979797",padding:"10px 20px 10px 20px",fontSize:"16px"},Hr=function(){var e=a.useContext(j.d),t=(Object(L.b)(e),a.useState(!0)),n=Object(o.a)(t,2),r=n[0],i=(n[1],a.useState(Br.free)),c=Object(o.a)(i,2),s=c[0],u=(c[1],function(){var t=Object(d.a)(l.a.mark((function t(n){return l.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:V.a.post(Object(L.f)("/api/Payment/submitsubscription",{useDedicatedEnvironment:!0}),{SubscriptionType:n},Object(L.c)(e)).then((function(e){if(e.data&&e.data.noAction)alert("No action taken - ".concat(e.data.reason));else{var t=e.data.url;window.location=t}})).catch((function(e){return alert(e)}));case 1:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}());return r?Object(S.jsx)(Or.ProgressSpinner,{}):Object(S.jsxs)("div",{style:{width:"100%",height:"100%",border:"solid #187AB5",borderRadius:"68px"},children:[Object(S.jsx)("div",{style:{height:"30px"},children:Object(S.jsxs)("h1",{children:["Upgrade",Object(S.jsx)("span",{style:{marginLeft:"10px",marginRight:"10px"},children:Object(S.jsx)("img",{src:O,alt:"logo"})}),"Plan"]})}),Object(S.jsx)("div",{children:Object(S.jsxs)("div",{className:"p-grid",style:{padding:"60px 30px 30px 30px",fontWeight:"bold"},children:[Object(S.jsx)("div",{className:"p-col-4",style:{paddingRight:"30px"},children:Object(S.jsxs)("div",{className:"p-grid p-dir-col",style:{borderStyle:"solid",borderRadius:"25px",borderColor:"rgba(0,0,0,0.1)",color:"#979797",paddingBottom:"30px"},children:[Object(S.jsxs)("div",{style:{marginBottom:"20px",fontWeight:"bolder"},children:[Object(S.jsx)("div",{style:{fontSize:"35px",paddingTop:"20px"},children:"Free"}),Object(S.jsx)("div",{children:"$0 / month"}),Object(S.jsx)("div",{children:"1 user"})]}),Object(S.jsx)("div",{style:Wr,children:"Search Business Forecast Opportunities"}),Object(S.jsx)("div",{style:Wr,children:"See changes to Business Forecast in last 24 hours"})]})}),Object(S.jsxs)("div",{className:"p-col-4",style:{paddingRight:"30px"},children:[Object(S.jsxs)("div",{className:"p-grid p-dir-col",style:{borderStyle:"solid",borderRadius:"25px",borderColor:"#2EA600",paddingBottom:"30px"},children:[Object(S.jsxs)("div",{style:{marginBottom:"20px",fontWeight:"bolder"},children:[Object(S.jsx)("div",{style:{color:"#2EA600",fontSize:"35px",paddingTop:"20px"},children:"Plus"}),Object(S.jsx)("div",{style:{color:"#2EA600"},children:"$X / month"}),Object(S.jsx)("div",{style:{color:"#2EA600"},children:"Up to 5 users"})]}),Object(S.jsx)("div",{style:Wr,children:"Search Business Forecast Opportunities"}),Object(S.jsx)("div",{style:Wr,children:"See changes to Business Forecast for the last 60 days"}),Object(S.jsx)("div",{style:Wr,children:"Create Partner Profile and contact other partners"}),Object(S.jsx)("div",{style:Wr,children:"Search Environmental Assessment updates"}),Object(S.jsx)("div",{style:Wr,children:"See changes to Environmental Assessments"}),Object(S.jsx)("div",{style:Wr,children:"Search closing USAID projects"}),Object(S.jsx)("div",{style:Wr,children:"Email notifications - Customizable"}),Object(S.jsx)("div",{style:Wr,children:"See which Primes are likely bidding"}),Object(S.jsx)("div",{style:Wr,children:"Export up to three Bid Strategy sheets per month"}),Object(S.jsx)("div",{style:Wr,children:"Export 1 Competitor Sheet per month"})]}),Object(S.jsx)(le.Button,{onClick:function(){s!==Br.plus&&u(Lr.plusMonthly)},tooltip:s===Br.plus?"Current Plan":"Upgrade",tooltipOptions:{position:"top"},label:s===Br.plus?"Current Plan":"Upgrade",style:{borderRadius:"65px",position:"relative",bottom:"24px",backgroundColor:"#2EA600",color:"white",fontSize:"24px",fontWeight:"bolder",height:50}})]}),Object(S.jsxs)("div",{className:"p-col-4",children:[Object(S.jsxs)("div",{className:"p-grid p-dir-col",style:{borderStyle:"solid",borderRadius:"25px",borderColor:"#FCB017",paddingBottom:"30px"},children:[Object(S.jsxs)("div",{style:{marginBottom:"20px",fontWeight:"bolder"},children:[Object(S.jsx)("div",{style:{color:"#FCB017",fontSize:"35px",paddingTop:"20px"},children:"Pro"}),Object(S.jsx)("div",{style:{color:"#FCB017"},children:"$X / month"}),Object(S.jsx)("div",{style:{color:"#FCB017"},children:"Up to 50 users"})]}),Object(S.jsx)("div",{style:Wr,children:"Search Business Forecast Opportunities"}),Object(S.jsx)("div",{style:Wr,children:"See changes to Business Forecast for the last 60 days"}),Object(S.jsx)("div",{style:Wr,children:"Create Partner Profile and contact other partners"}),Object(S.jsx)("div",{style:Wr,children:"Search Environmental Assessment updates"}),Object(S.jsx)("div",{style:Wr,children:"See changes to Environmental Assessments"}),Object(S.jsx)("div",{style:Wr,children:"Search closing USAID projects"}),Object(S.jsx)("div",{style:Wr,children:"Email notifications - Customizable"}),Object(S.jsx)("div",{style:Wr,children:"See which Primes are likely bidding"}),Object(S.jsx)("div",{style:Wr,children:"Export unlimited Bid Strategy sheets"}),Object(S.jsx)("div",{style:Wr,children:"Export unlimited Competitor Sheets"})]}),Object(S.jsx)(le.Button,{onClick:function(){s!==Br.pro&&u(Lr.proMonthly)},tooltip:s===Br.pro?"Current Plan":"Upgrade",tooltipOptions:{position:"top"},label:s===Br.pro?"Current Plan":"Upgrade",style:{borderRadius:"65px",position:"relative",bottom:"24px",backgroundColor:"#FCB017",color:"white",fontSize:"24px",fontWeight:"bolder",height:50}})]})]})})]})},zr=(n(1293),n(522)),Yr=(n(632),n(213)),Gr=n(468),Kr=n.n(Gr),qr=dr()(Ct.a),Xr=function(e){var t=e.names,n=e.state,a=e.setState;return Object(S.jsx)("div",{children:t.map((function(e,t){return Object(S.jsxs)("div",{style:{height:250},children:[Object(S.jsx)("label",{children:e}),Object(S.jsx)(nr.a,{style:{height:150},theme:"snow",value:n[t],onChange:function(e){return a(e,t)}})]},e)}))})},Zr=function(){var e=Object(d.a)(l.a.mark((function e(t){var n,a;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=Object(ee.a)(t.components.map((function(e){return e.startingText}))),a=function(e,t){n[t]=e},e.next=4,qr.fire({title:t.name,width:"800px",html:Object(S.jsx)(Xr,{names:t.components.map((function(e){return e.name})),state:n,setState:a}),showCancelButton:!0,showLoaderOnConfirm:!0,allowOutsideClick:function(){return!qr.isLoading()}}).then((function(e){return{isConfirmed:e.isConfirmed,components:n}}));case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),Jr=n(295),_r=function(e,t){return Array.isArray(e)&&Array.isArray(t)&&e.length===t.length&&e.every((function(e,n){return e===t[n]}))},$r=n(212),ei={multiSelect:{width:"100%",borderRadius:10},chipsContainer:{marginTop:"5px",display:"flex",flexWrap:"wrap"}},ti=te.a.div({zIndex:1e6});!function(e){e[e.default=0]="default",e[e.bid=1]="bid",e[e.noBid=2]="noBid",e[e.undecided=3]="undecided"}(Vr||(Vr={})),function(e){e.Default="Default",e.NewRecord="NewRecord",e.ModifiedRecord="ModifiedRecord",e.FinalRecord="FinalRecord"}(Qr||(Qr={}));var ni,ai,ri=function(){var e=r.a.useContext(m.a);return Object(S.jsxs)(S.Fragment,{children:[Object(S.jsx)("span",{style:{font:e.v2Fonts.context,verticalAlign:"middle"},children:Object(S.jsx)(sr.a,{tooltipText:"What do these numbers mean? \nUSAID uses the Principal Geographic Code to share who is eligible to apply for funding. Definitions are outlined in ADS 310 \n\u2022937: The United States, the recipient country, and developing countries other than advanced developing countries \n\u2022110: The United States, the independent states of the former Soviet Union, or a developing country, but excluding any country that is a prohibited source \n\u2022935: Any area or country including the recipient country"})}),"\xa0",Object(S.jsx)("span",{children:"Geographical Codes"})]})},ii=(Object(p.i)((function(e){var t=e.history,n=Object(a.useContext)(j.d),i=Object(ie.a)(),c=r.a.useContext(m.a),s=Object(a.useState)(!1),p=Object(o.a)(s,2),b=p[0],f=p[1],h=Object(a.useState)(Array()),O=Object(o.a)(h,2),g=O[0],x=O[1],v=Object(a.useState)(),y=Object(o.a)(v,2),C=y[0],A=y[1],w=Object(a.useState)(!1),N=Object(o.a)(w,2),E=N[0],I=N[1],D=Object(a.useState)(20),F=Object(o.a)(D,2),k=F[0],T=F[1],R=r.a.useState(0),P=Object(o.a)(R,2),M=P[0],U=P[1],B=r.a.useState(0),Q=Object(o.a)(B,2),W=Q[0],z=Q[1],Y=r.a.useState(""),G=Object(o.a)(Y,2),K=G[0],q=G[1],X=r.a.useState(0),Z=Object(o.a)(X,2),J=Z[0],_=Z[1],$=r.a.useState(!1),te=Object(o.a)($,2),ae=te[0],de=te[1],ue=r.a.useState(!1),je=Object(o.a)(ue,2),me=je[0],fe=je[1],he=r.a.useState(!1),Oe=Object(o.a)(he,2),ge=Oe[0],xe=Oe[1],ve=r.a.useState(""),ye=Object(o.a)(ve,2),Ce=ye[0],Ae=ye[1],we=r.a.useState(""),Se=Object(o.a)(we,2),Ie=Se[0],Fe=Se[1],ke=r.a.useState(0),Te=Object(o.a)(ke,2),Re=Te[0],Pe=Te[1],Me=Object(a.useState)(Array()),Ue=Object(o.a)(Me,2),Le=Ue[0],Be=Ue[1],Ve=r.a.useState(""),Qe=Object(o.a)(Ve,2),We=Qe[0],He=Qe[1],ze=r.a.useState(""),Ye=Object(o.a)(ze,2),Ge=Ye[0],Ke=Ye[1],qe=r.a.useState(""),Xe=Object(o.a)(qe,2),Ze=Xe[0],Je=Xe[1],_e=r.a.useState(""),$e=Object(o.a)(_e,2),et=$e[0],tt=$e[1],nt="Forecasts",at=r.a.useContext(se.a),rt=Object(j.g)(n,j.a.EditPrimesAndQuarterlyCallInfo),it=r.a.useState(),ct=Object(o.a)(it,2),ot=ct[0],dt=ct[1],pt=r.a.useState(0),bt=Object(o.a)(pt,2),jt=bt[0],mt=bt[1],ft=Object(st.c)(Ie,750),ht=Object(a.useRef)(null),gt=Object(a.useState)(Array()),xt=Object(o.a)(gt,2),vt=xt[0],yt=xt[1],Ct=r.a.useState([]),At=Object(o.a)(Ct,2),wt=At[0],St=At[1],Nt=r.a.useState([]),Et=Object(o.a)(Nt,2),It=Et[0],Dt=Et[1],Ft=r.a.useState(!1),kt=Object(o.a)(Ft,2),Tt=kt[0],Rt=kt[1];r.a.useEffect((function(){b&&Mt({first:W,rows:k,liveOnly:me,newOnly:ae,trackedOpportunities:ge})}),[ft,b]),r.a.useEffect((function(){b&&Mt({first:W,rows:k,liveOnly:me,newOnly:ae,trackedOpportunities:ge})}),[me,ae,ge,b]),r.a.useEffect((function(){function e(){var e=Object(Ot.a)(),t=e.width,n=e.headerWidth;t&&n&&mt(t-n)}return Mt({first:W,rows:k,liveOnly:me,trackedOpportunities:ge}),e(),window.addEventListener("resize",e),f(!0),function(){return window.removeEventListener("resize",e)}}),[]),r.a.useEffect((function(){var e=function(e){if(e.target.matches(".show-popover")){var t="P"===e.target.nodeName?e.target:e.target.querySelector("p"),n=t.attributes["data-full-abstract"].value;n&&(He(t.attributes["data-title"].value),Ke(n),Je(nt),tt(t.id))}};return document.addEventListener("click",e,!1),function(){document.removeEventListener("click",e,!1),tt("")}}),[]);var Pt=function(){var e=Object(d.a)(l.a.mark((function e(t,a,r,i){var c,o;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Zr({name:"Enter Info for ".concat(a),components:[{name:"Likely Primes",startingText:r},{name:"Quarterly Forecast Q&A and Notes",startingText:i}]});case 2:if((c=e.sent).isConfirmed){e.next=5;break}return e.abrupt("return");case 5:return o=Object(L.b)(n),e.next=8,V.a.post(Object(L.f)("/api/BusinessForecast/EnhancedForecast",{useDedicatedEnvironment:!0}),{businessForecastId:t,subPrimes:c.components[0],quarterlyCallNotes:c.components[1]},o).then((function(){var e=Object(ee.a)(g);e.filter((function(e){return e.rawRecord.forecast.id===t})).forEach((function(e){e.primeOrIncumbent=c.components[0],e.quarterlyCallNotes=c.components[1]})),x(e)})).catch((function(e){console.error(e),alert("error updating prime data")}));case 8:case"end":return e.stop()}}),e)})));return function(t,n,a,r){return e.apply(this,arguments)}}(),Mt=function(e){I(!0),T(e.rows),z(e.first);var t={keyword:ft,sortField:e.sort?e.sort.sortField:K,sortOrder:e.sort?e.sort.sortOrder:J,rowsPerPage:e.rows,pageIndex:e.first/e.rows,liveOnly:e.liveOnly?e.liveOnly:me,newOnly:e.newOnly?e.newOnly:ae,OnlyUntrackedInPipeline:e.trackedOpportunities?e.trackedOpportunities:ge};dt(t),V.a.post(Object(L.f)("/api/businessforecast/RecentForecasts",{useDedicatedEnvironment:!0}),t,Object(L.c)(n)).then((function(e){var t=e.data,n=t.lastUpdatedUtc,a=t.data,r=t.totalItems,i=t.attributes;U(r),i&&i.TotalLiveRecords&&Pe(i.TotalLiveRecords);var c=a.map((function(e){return{id:e.forecast.id,country:e.forecast.country,createdOnDate:e.forecast.createdOn,isMyList:e.userEdits.isMyList,title:e.forecast.awardTitle,description:e.forecast.awardDescription,sector:e.forecast.sector,primeOrIncumbent:e.enhancements.primeOrIncumbent,quarterlyCallNotes:e.enhancements.quarterlyCallNotes,estimatedCostRange:e.forecast.totalEstimatedCost,projectType:e.forecast.awardActionType,anticipatedReleaseDate:e.forecast.anticipatedSolicitationReleaseDate,anticipatedAwardDate:e.forecast.anticipatedAwardDate,smallBusinessSetAside:e.forecast.smallBusinessSetAside,changedColumns:e.forecast.changedColumns,numberIncludedPipelines:e.pipelines.numberIncludedPipelines,aaPlanId:e.forecast.aaPlanId,fiscalYearofAction:e.forecast.fiscalYearofAction,aaSpecialist:e.forecast.aaSpecialist,awardLength:e.forecast.awardLength,eligibilityCriteria:e.forecast.eligibilityCriteria,geographicalCodes:e.forecast.geographicalCodes,categoryManagementContractVehicle:e.forecast.categoryManagementContractVehicle,solicitationNumber:e.forecast.solicitationNumber,coCreation:e.forecast.coCreation,location:e.forecast.location,rawRecord:e}}));x(c),Ae(n?"Last updated ".concat(Object(gr.a)(new Date(n+"Z"))):""),I(!1)})).catch((function(e){I(!1),alert("error fetching data")}))},Ut=function(e){var t=[{name:"usaid.gov link"},{name:"Opportunity Action"},{name:"Changed Columns"},{name:"Country/Office"},{name:"Date Record Created/Changed"},{name:"Name"},{name:"Description"},{name:"Sector"},{name:"Suggested Primes/Partners"},{name:"Quarterly Forecast Q&A and Notes"},{name:"ID"},{name:"Category Management Contract Vehicle"},{name:"Cost"},{name:"Award/Action Type"},{name:"Geographical Codes"},{name:"Co-creation"},{name:"Anticipated Release Date"},{name:"Anticipated Award Date"},{name:"Award Length"},{name:"Small Business Set-Aside"},{name:"Eligibility Criteria"},{name:"Solicitation Number"},{name:"A&A Specialist"},{name:"Fiscal Year of Action"},{name:"Location"}],n=[];if(0==e.length)n.push(Object(De.d)(t.length));else for(var a=0;a\n This feature is disabled for your role. Please\n upgrade to access this feature!\n '),Je(nt)},Vt=r.a.useRef(null),Qt=r.a.useState(!1),Wt=Object(o.a)(Qt,2),Ht=Wt[0],zt=Wt[1],Yt=r.a.useState(!1),Gt=Object(o.a)(Yt,2),Kt=(Gt[0],Gt[1],!Object(j.h)(n,j.b.plusOrHigher)),qt=Kt?"Showing last 20 of {totalRecords} entries - upgrade for full access!":"Showing {first} to {last} of {totalRecords} entries",Xt=Kt?"CurrentPageReport":"FirstPageLink PrevPageLink PageLinks NextPageLink LastPageLink CurrentPageReport RowsPerPageDropdown",Zt=!Kt,Jt=Kt?Bt:Lt,_t=function(){t.push("/tiers")},$t=Kt?function(e){return Object(S.jsxs)("div",{style:{display:"flex",justifyContent:"center"},children:[Object(S.jsx)("div",{style:{alignSelf:"center"},className:"blurred-text",children:"".concat(e.title," ").concat(e.country)}),Object(S.jsx)(le.Button,{style:{position:"absolute",alignSelf:"center"},className:"p-button-warning",type:"button",onClick:_t,label:"Upgrade"})]})}:function(e){return Object(S.jsx)("p",{className:"show-popover","data-full-abstract":e.primeOrIncumbent,"data-title":"Suggested Primes/Partners",dangerouslySetInnerHTML:{__html:e.primeOrIncumbent&&e.primeOrIncumbent.length>90?"".concat(Object(Yn.a)(e.primeOrIncumbent).substring(0,90),"..."):e.primeOrIncumbent},onClick:function(){He("Suggested Primes/Partners"),Ke(e.primeOrIncumbent),Je(nt)}})},en=Kt?function(e){return Object(S.jsxs)("div",{style:{display:"flex",justifyContent:"center"},children:[Object(S.jsx)("div",{style:{alignSelf:"center"},className:"blurred-text",children:"".concat(e.title," ").concat(e.country)}),Object(S.jsx)(le.Button,{style:{position:"absolute",alignSelf:"center"},className:"p-button-warning",type:"button",onClick:_t,label:"Upgrade"})]})}:function(e){return Object(S.jsx)("p",{className:"show-popover","data-full-abstract":e.quarterlyCallNotes,"data-title":"Quarterly Forecast Q&A and Notes",dangerouslySetInnerHTML:{__html:e.quarterlyCallNotes&&e.quarterlyCallNotes.length>90?"".concat(Object(Yn.a)(e.quarterlyCallNotes).substring(0,90),"..."):e.quarterlyCallNotes},onClick:function(){He("Quarterly Forecast Q&A and Notes"),Ke(e.quarterlyCallNotes),Je(nt)}})},tn=Object(S.jsxs)(S.Fragment,{children:[Object(S.jsx)("span",{style:{font:c.v2Fonts.context,verticalAlign:"middle"},children:Object(S.jsx)(sr.a,{tooltipText:"AidKonekt algorithm determines potential primes based on publicly available data. The (P) means prime has relevant USAID project past performance, and the (R) means the prime has posted a public recruitment ad relevant to this bid."})}),"\xa0",Object(S.jsx)("span",{children:"Suggested Primes/Partners"})]}),nn=Object(S.jsxs)(S.Fragment,{children:[Object(S.jsx)("span",{style:{font:c.v2Fonts.context,verticalAlign:"middle"},children:Object(S.jsx)(sr.a,{tooltipText:"This column includes updates from USAID's Quarterly Business Forecast call and Q&A, as well as other relevant notes and market context for individual procurements. If the column is empty, that likely means there has not been a recent question on that forecasted opportunity, or it has been posted after the most recent USAID Quarterly Business Forecast call"})}),"\xa0",Object(S.jsx)("span",{children:"Quarterly Forecast Q&A and Notes"})]}),an=(S.Fragment,c.v2Fonts.context,sr.a,Object(S.jsxs)(S.Fragment,{children:[Object(S.jsx)("span",{style:{font:c.v2Fonts.context,verticalAlign:"middle"},children:Object(S.jsx)(sr.a,{tooltipText:"This column notes the record type corresponding to the color-coded list above. Blue - New Opportunity; Orange - Change; Grey - Removed Opportunity."})}),"\xa0"]})),rn=Object(S.jsxs)(S.Fragment,{children:[Object(S.jsx)("span",{style:{font:c.v2Fonts.context,verticalAlign:"middle"},children:Object(S.jsx)(sr.a,{tooltipText:"Note from the USAID Industry Liaison on this field:\n\nThe intent of the Category Management Contract Vehicle field is not to show the Tiers, but to show the actual category management vehicle that will be used. USAID is sharing this note internally for Contracting Officers to update as needed.\n\nSee FAQ linked here for more information on the \u201cTiers\u201d referenced above.",className:"category-management-tooltip"})}),"\xa0",Object(S.jsx)("span",{children:"Category Management Contract Vehicle"})]}),cn=Object(j.h)(n,j.b.plusOrHigher),on=Object(j.h)(n,j.b.proOrHigher),sn=cn||on,ln=Object(S.jsxs)(S.Fragment,{children:[Object(S.jsx)("span",{style:{font:c.v2Fonts.context,verticalAlign:"middle"},children:Object(S.jsx)(sr.a,{tooltipText:"You can share opportunity via email"})}),"\xa0"]}),dn=r.a.useState(0),un=Object(o.a)(dn,2),pn=un[0],bn=un[1],jn=r.a.useState([]),mn=Object(o.a)(jn,2),fn=mn[0],hn=mn[1],On=r.a.useState(""),gn=Object(o.a)(On,2),xn=gn[0],vn=gn[1],yn=r.a.useState([]),Cn=Object(o.a)(yn,2),An=Cn[0],wn=Cn[1],Sn=r.a.useState(""),Nn=Object(o.a)(Sn,2),En=Nn[0],In=Nn[1],Dn=r.a.useMemo((function(){return fn?fn.map((function(e){return e.email})).concat(An):An}),[fn,An]),Fn=r.a.useState([]),kn=Object(o.a)(Fn,2),Tn=kn[0],Rn=kn[1];r.a.useEffect((function(){V.a.get(Object(L.f)("/api/organization/user",{useDedicatedEnvironment:!0}),Object(L.b)(n)).then((function(e){var t,a=e.data,r=null===(t=n.user.parsedIdToken)||void 0===t?void 0:t.email;if(r){var i=a.filter((function(e){var t;return(null===(t=e.email)||void 0===t?void 0:t.toLocaleLowerCase())!==r}));Rn(i)}else Rn(a)})).catch((function(e){console.error(e),at.current&&at.current.show({severity:"error",summary:"Unable to load users"})}))}),[]);var Pn=Object(a.useRef)(null),Mn=r.a.useState(!1),Un=Object(o.a)(Mn,2),Ln=Un[0],Bn=Un[1],Vn=function(){var e=Object(d.a)(l.a.mark((function e(){var t,a;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return(t=ot)&&(t.rowsPerPage=1e3),a=Array(),e.next=5,V.a.post(Object(L.f)("/api/businessforecast/RecentForecasts",{useDedicatedEnvironment:!0}),t,Object(L.c)(n)).then((function(e){var t=e.data.data.map((function(e){return{id:e.forecast.id,country:e.forecast.country,createdOnDate:e.forecast.createdOn,isMyList:e.userEdits.isMyList,title:e.forecast.awardTitle,description:e.forecast.awardDescription,sector:e.forecast.sector,primeOrIncumbent:e.enhancements.primeOrIncumbent,quarterlyCallNotes:e.enhancements.quarterlyCallNotes,estimatedCostRange:e.forecast.totalEstimatedCost,projectType:e.forecast.awardActionType,anticipatedReleaseDate:e.forecast.anticipatedSolicitationReleaseDate,anticipatedAwardDate:e.forecast.anticipatedAwardDate,smallBusinessSetAside:e.forecast.smallBusinessSetAside,changedColumns:e.forecast.changedColumns,aaPlanId:e.forecast.aaPlanId,fiscalYearofAction:e.forecast.fiscalYearofAction,aaSpecialist:e.forecast.aaSpecialist,awardLength:e.forecast.awardLength,eligibilityCriteria:e.forecast.eligibilityCriteria,geographicalCodes:e.forecast.geographicalCodes,categoryManagementContractVehicle:e.forecast.categoryManagementContractVehicle,solicitationNumber:e.forecast.solicitationNumber,coCreation:e.forecast.coCreation,location:e.forecast.location,rawRecord:e}}));a=t})).catch((function(e){alert("error fetching data")}));case 5:return e.abrupt("return",a);case 6:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),Qn=Object(S.jsxs)("div",{className:"p-grid p-justify-between p-align-center",children:[Object(S.jsxs)("div",{className:"p-sm-12 p-md-6 p-lg-4 p-xl-2 topLeftColumnHeader",style:{textAlign:"left"},children:[Object(S.jsx)("div",{children:"Source: USAID Business Forecast"}),Object(S.jsx)("div",{children:Ce})]}),Object(S.jsx)("div",{className:"p-sm-12 p-md-6 p-lg-4 p-xl-2",style:{textAlign:"left",fontWeight:"bold"},children:0!==Re?Object(S.jsxs)("span",{children:["Number of current opportunities on the Business Forecast:"," ",Object(S.jsx)("span",{style:{font:"14px Open Sans regular"},children:Re})]}):""}),Object(S.jsxs)("div",{className:"p-sm-12 p-md-12 p-lg-4 p-xl-4 p-flex-wrap p-justify-end p-grid p-align-center buttonsHeader switch-button-list",children:[Object(S.jsxs)("div",{className:"button-select",style:{display:"flex",alignItems:"center"},children:[Object(S.jsx)("span",{style:{fontSize:14,fontWeight:"bold",color:"rgb(217, 217, 217)",marginRight:5},children:"New only"}),Object(S.jsx)(Kr.a,{checked:ae,onColor:"#46b1f1",offColor:"#a4a5a8",uncheckedIcon:!1,checkedIcon:!1,onChange:function(e){return de(e)}})]}),Object(S.jsxs)("div",{className:"button-select",style:{display:"flex",alignItems:"center"},children:[Object(S.jsx)("span",{style:{fontSize:14,fontWeight:"bold",color:"rgb(217, 217, 217)",marginRight:5},children:"Current only"}),Object(S.jsx)(Kr.a,{checked:me,onColor:"#46b1f1",offColor:"#a4a5a8",uncheckedIcon:!1,checkedIcon:!1,onChange:function(e){return fe(e)}})]}),Object(S.jsxs)("div",{className:"button-select",style:{display:"flex",alignItems:"center"},children:[Object(S.jsx)("span",{style:{fontSize:14,fontWeight:"bold",color:"rgb(217, 217, 217)",marginRight:5},children:"Exclude tracked opportunities"}),Object(S.jsx)(Kr.a,{checked:ge,onColor:"#46b1f1",offColor:"#a4a5a8",uncheckedIcon:!1,checkedIcon:!1,onChange:function(e){return xe(e)}})]})]}),Object(S.jsxs)("div",{className:"p-sm-12 p-md-12 p-lg-4 p-xl-3 p-justify-end p-align-center buttonsHeader",children:[Object(S.jsx)("div",{className:"search-bar",children:Object(S.jsx)(ce.InputText,{type:"search",style:Object(u.a)({},i.keywordSearch),value:Ie,onInput:function(e){return Kt?Bt():Fe(e.target.value)},placeholder:"Search"})}),Object(S.jsx)("div",{className:"button-export",children:Object(S.jsx)(le.Button,{type:"button",icon:"pi pi-file-excel",iconPos:"left",onClick:Jt,disabled:Ln,style:Object(u.a)(Object(u.a)({},i.tableHeaderButton),{},{height:"auto"})})}),Object(S.jsx)("div",{className:"button-export",children:Object(S.jsx)(le.Button,{type:"button",icon:Ht?"pi pi-window-minimize":"pi pi-window-maximize",iconPos:"left",style:Object(u.a)(Object(u.a)({},i.tableHeaderButton),{},{height:"auto"}),onClick:function(e){Ht?Object(ut.c)(e.target):Object(ut.b)(e.target,(function(){return zt(!1)})),zt(!Ht)}})})]})]}),Wn=function(e,t){return function(n){var a,r=n.rawRecord.forecast.status,i=n.rawRecord.forecast.changedColumns?n.rawRecord.forecast.changedColumns.split(",").map((function(e){return e.trim()})):[];return a=r===Qr.NewRecord?"new":r===Qr.FinalRecord?"final":r===Qr.ModifiedRecord&&e.length&&(e.find((function(e){return"Source"===e}))||i.find((function(t){return e.find((function(e){return e===t}))})))?"modified":"",Object(S.jsx)("div",{className:a+"show-popover",children:t(n)})}},Hn=r.a.useState(!1),zn=Object(o.a)(Hn,2),Gn=zn[0],Kn=zn[1];r.a.useEffect((function(){V.a.get(Object(L.f)("/api/pipeline",{useDedicatedEnvironment:!0}),Object(L.c)(n)).then(function(){var e=Object(d.a)(l.a.mark((function e(t){var a,r,i;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=t.data.filter((function(e){return"Admin"===e.pipelineUserRole})),e.next=3,Promise.all(a.map(function(){var e=Object(d.a)(l.a.mark((function e(t){var a,r;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,V.a.get(Object(L.f)("/api/pipeline/".concat(t.id,"/forecast"),{useDedicatedEnvironment:!0}),Object(L.b)(n));case 2:return a=e.sent,r=a.data.data,e.abrupt("return",{id:t.id,name:t.name,businessForcast:r});case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()));case 3:r=e.sent,i=r.map((function(e){return{id:e.id,name:e.name,businessForcast:e.businessForcast}})),yt(i),Be(i);case 7:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()).catch((function(e){}))}),[Gn]);var qn=function(){var e=Object(d.a)(l.a.mark((function e(t,a){var r,i,c;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=Object(L.b)(n),C){e.next=3;break}return e.abrupt("return");case 3:if(i=a.filter((function(e){return e.id!==t.id})),c=function(){var e=Object(d.a)(l.a.mark((function e(){return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",V.a.delete(Object(L.f)("/api/pipeline/".concat(t.id,"/forecast/").concat(C.id),{useDedicatedEnvironment:!0}),r).then((function(){Rt(!1),St(i),at.current.show({severity:"success",summary:"Pipeline removed from the opportunity"}),Kn(!Gn)})).catch((function(e){console.error(e),at.current.show({severity:"error",summary:"Error removing pipeline from the opportunity"})})));case 1:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),It.includes(t)){e.next=10;break}return St(i),at.current.show({severity:"success",summary:"Pipeline removed from the opportunity"}),_r(i,It)&&Rt(!1),e.abrupt("return");case 10:return e.next=12,c();case 12:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),Xn=function(){var e;St([]),null===(e=ht.current)||void 0===e||e.hide()},Zn=Object(a.useState)(!1),Jn=Object(o.a)(Zn,2),_n=Jn[0];return Jn[1],Object(S.jsxs)(S.Fragment,{children:[Object(S.jsx)(ti,{children:Object(S.jsx)(oe.OverlayPanel,{ref:ht,id:"pipeline-overlay",style:{width:"390px",display:"flex !important"},dismissable:!0,className:"side-panel-forecast",children:Object(S.jsxs)("div",{style:{width:"335px",height:"auto"},children:[Object(S.jsxs)("div",{className:"side-panel-header-forecast",children:["Add opportunity to Pipeline",Object(S.jsx)("i",{onClick:Xn,className:"pi pi-times mr-2",style:{fontSize:20,cursor:"pointer"}})]}),Object(S.jsx)("div",{className:"side-panel-content",children:Object(S.jsxs)("div",{className:"p-grid",children:[Object(S.jsxs)("div",{className:"p-col-12",style:{display:"grid"},id:"long-text",children:[Object(S.jsx)("label",{className:"field-titles-forecast",htmlFor:" Opportunity",children:"Opportunity Title"}),Object(S.jsx)(ce.InputText,{style:{border:"none",fontWeight:700,color:"#000",opacity:1},disabled:!0,placeholder:"Opportunity",className:"field-titles-forecast",defaultValue:C?C.title:""})]}),Object(S.jsxs)("div",{className:"p-col-7",style:{marginTop:"-16px"},id:"long-text",children:[Object(S.jsx)("label",{className:"field-titles-forecast",htmlFor:"country",children:"Contry/Office"}),Object(S.jsx)(ce.InputText,{style:{border:"none",fontWeight:700,width:"22rem",color:"#000",opacity:1},disabled:!0,type:"text",placeholder:"country",className:"field-titles-forecast",defaultValue:C?C.country:""})]}),Object(S.jsxs)("div",{className:"p-col-7",style:{marginTop:"-16px"},children:[Object(S.jsx)("label",{className:"field-titles-forecast",htmlFor:"Created date",children:"Created at"}),Object(S.jsx)(ce.InputText,{style:{border:"none",fontWeight:700,color:"#000",opacity:1},disabled:!0,type:"text",placeholder:"Created date",className:"field-titles-forecast ",defaultValue:Object(gr.b)(Object(xr.a)(null===C||void 0===C?void 0:C.anticipatedReleaseDate.toString()))})]}),Object(S.jsxs)("div",{className:"p-col-12",style:{marginTop:"-16px"},children:[Object(S.jsx)("label",{className:"field-titles-forecast",htmlFor:"email",children:"Pipelines"}),Object(S.jsx)(pe.MultiSelect,{optionLabel:"name",filter:!0,style:ei.multiSelect,placeholder:wt.length+" Pipeline(s) Selected",fixedPlaceholder:!0,value:wt,options:vt,onChange:function(e){return(t=e.value).filter((function(e){return!It.some((function(t){return e.id===t.id}))})).length>0&&Rt(!0),void St(t);var t}}),Object(S.jsx)("div",{style:ei.chipsContainer,children:wt.map((function(e){return Object(S.jsx)(be.a,{label:e.name,onIconClick:function(){return qn(e,wt)}},e.id)}))})]}),Object(S.jsxs)("div",{className:"p-col-12",style:{display:"flex",justifyContent:"right",marginTop:_n?vt.length>6?192:32*vt.length:0},children:[Object(S.jsx)(le.Button,{onClick:Xn,style:{marginRight:"6px"},className:"modal-button",label:"Close"}),Tt&&Object(S.jsx)(le.Button,{onClick:function(){var e=Object(L.b)(n);C&&wt.filter((function(e){return!It.some((function(t){return e.id===t.id}))})).map(function(){var t=Object(d.a)(l.a.mark((function t(n){return l.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,V.a.post(Object(L.f)("/api/pipeline/".concat(n.id,"/forecast/").concat(C.id),{useDedicatedEnvironment:!0}),null,e).then((function(){var e;at.current.show({severity:"success",summary:"Opportunity updated, with ".concat(n.name," pipeline")}),Rt(!1),null===(e=ht.current)||void 0===e||e.hide(),Kn(!Gn)})).catch((function(e){}));case 2:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}())},className:"modal-button",label:"Save"})]})]})})]})})}),Object(S.jsxs)("div",{className:"p-grid p-dir-col",children:[Object(S.jsxs)("div",{className:"p-grid",style:{alignItems:"center"},children:[Object(S.jsxs)("div",{className:"p-col-6",style:Object(u.a)({},i.pageHeader),children:[Object(S.jsx)("img",{src:i.aidkonektIcon,style:i.icon,alt:"Aidkonekt",className:"formIcon"}),"Business Forecast Changes Feed"]}),Object(S.jsx)("div",{className:"p-col-10",style:Object(u.a)(Object(u.a)({},i.sectionSubheader),{},{paddingBottom:0}),children:'This feed monitors changes made to the USAID Business Forcast, including new opportunities added, changes made to existing opportunities, and when posted opportunities are removed. These changes are color-coded for simplified reference: all new opportunities are highlighted in blue; removed opportunities are highlighted in gray; changes are highlighted in orange on the left column and only the cells that changed are also highlighted orange for quicker reference. See historical changes to any opportunity by added to "Pipelines" list.'}),Object(S.jsx)("div",{className:"p-col-10",style:{paddingTop:0,marginTop:-12},children:Object(S.jsxs)("div",{className:"p-grid p-col",children:[Object(S.jsx)("div",{className:"p-col-4",children:Object(S.jsx)("h5",{className:"new-record",style:Object(u.a)({},i.centeredSectionSubheader),children:"New Opportunity"})}),Object(S.jsx)("div",{className:"p-col-4",children:Object(S.jsx)("h5",{className:"modified-record-bubble",style:Object(u.a)({},i.centeredSectionSubheader),children:"Changes to Opportunity"})}),Object(S.jsx)("div",{className:"p-col-4",children:Object(S.jsx)("h5",{className:"final-record",style:Object(u.a)({},i.centeredSectionSubheader),children:"Opportunity Removed"})})]})})]}),Object(S.jsx)(Ee.a,{dialogHeader:We,isVisible:Ze===nt,dialogText:Ge,setMultiDialogVisible:Je,multi:!0,colunmType:et}),Object(S.jsx)(ti,{children:Object(S.jsx)(oe.OverlayPanel,{ref:Pn,id:"pipeline-overlay",style:{width:"500px",height:"100%",display:"flex !important"},className:"contract-panel share",children:Object(S.jsxs)("div",{style:{width:"500px",height:"100%",overflowY:"auto"},className:"share-overlay-height",children:[Object(S.jsxs)("div",{className:"share-modal-header",children:["Share opportunity",Object(S.jsx)("i",{onClick:function(){var e;return null===(e=Pn.current)||void 0===e?void 0:e.hide()},className:"pi pi-times mr-2",style:{fontSize:20,cursor:"pointer"}})]}),Object(S.jsxs)("div",{className:"share-modal-body",children:[Object(S.jsxs)("div",{children:[Object(S.jsx)("p",{children:"Recipients"}),Object(S.jsx)("p",{className:"email-option",children:"External users"}),Object(S.jsxs)("div",{className:"external-users-input",children:[Object(S.jsx)(ce.InputText,{value:xn,onChange:function(e){vn(e.target.value)}}),Object(S.jsx)("button",{type:"button",className:"add-btn aid-blu-btn",onClick:function(){xn&&(Object($r.a)(xn)?(wn([].concat(Object(ee.a)(An),[xn])),vn("")):at.current.show({severity:"error",summary:"Invalid email address"}))},children:"+"})]}),Object(S.jsx)("div",{className:"share-users-list",style:{marginBottom:An.length?10:0},children:!!An.length&&An.map((function(e,t){return Object(S.jsx)(be.a,{className:"share-chip",label:e,onIconClick:function(){return function(e){wn(An.filter((function(t){return e!==t})))}(e)}},t)}))}),Object(S.jsx)("p",{className:"email-option",children:"Company users"}),Object(S.jsx)(pe.MultiSelect,{optionLabel:"email",filter:!0,className:"share-multiselect",style:ei.multiSelect,placeholder:fn.length+" User(s) selected",fixedPlaceholder:!0,value:fn,itemTemplate:function(e){return Object(S.jsxs)("div",{className:"share-multiselect-item",children:[(e.firstName||e.lastName)&&Object(S.jsx)("p",{children:e.firstName+" "+e.lastName}),Object(S.jsx)("p",{children:e.email})]})},options:Tn,onChange:function(e){return hn(e.value)}}),Object(S.jsx)("div",{className:"share-users-list",children:!!fn.length&&fn.map((function(e,t){var n,a;return Object(S.jsx)(be.a,{className:"share-chip",label:e.firstName||e.lastName?Ne(null!==(n=e.firstName)&&void 0!==n?n:"")+" "+Ne(null!==(a=e.lastName)&&void 0!==a?a:""):e.email,onIconClick:function(){return t=e.publicUserId,void hn(fn.filter((function(e){return e.publicUserId!==t})));var t}},t)}))})]}),Object(S.jsxs)("div",{children:[Object(S.jsx)("p",{style:{marginTop:10},children:"Message"}),Object(S.jsx)("textarea",{className:"share-message-text",value:En,onChange:function(e){return In(e.currentTarget.value)}})]}),Object(S.jsxs)("div",{className:"share-footer",children:[Object(S.jsx)("button",{onClick:function(){var e;return null===(e=Pn.current)||void 0===e?void 0:e.hide()},children:"Cancel"}),Object(S.jsx)("button",{onClick:function(){var e;if(0!==fn.length||0!==An.length)if(0!==En.length){if(fn||An){var t=Dn.map((function(e){var t={toAdderess:e,opportunityId:pn,recordType:"F",message:"".concat(En.replaceAll("\n","
"))};return new Promise((function(e,a){return V.a.post(Object(L.f)("/api/pipeline/share",{useDedicatedEnvironment:!0}),t,Object(L.c)(n)).then((function(){e(!0)})).catch((function(){a()}))}))}));Promise.all(t).then((function(){at.current&&at.current.show({severity:"success",summary:"Opportunity shared successfully"})})).catch((function(){at.current&&at.current.show({severity:"error",summary:"Unable to share opportunity"})}))}null===(e=Pn.current)||void 0===e||e.hide()}else at.current.show({severity:"error",summary:"Message field is empty"});else at.current.show({severity:"error",summary:"Please specify at least one recipient"})},children:"Share"})]})]})]})})}),Object(S.jsxs)(ne.DataTable,{value:g,globalFilter:Ie,style:{marginTop:-9,width:"".concat(jt-20,"px")},paginator:!0,rows:k,totalRecords:M,lazy:!0,first:W,onPage:Mt,loading:E,sortField:K,sortOrder:J,onSort:function(e){q(e.sortField),_(e.sortOrder),Mt({first:W,rows:k,sort:Object(u.a)({},e),liveOnly:me,newOnly:ae,trackedOpportunities:ge})},scrollable:!0,scrollHeight:"400px",ref:Vt,header:Qn,rowClassName:function(e){var t=e.rawRecord.forecast.status===Qr.NewRecord?"new-record":e.rawRecord.forecast.status===Qr.ModifiedRecord?"modified-record":e.rawRecord.forecast.status===Qr.FinalRecord?"final-record":"new-record",n=[t];return"modified-record"===t&&n.splice.apply(n,[1,0].concat(Object(ee.a)(e.rawRecord.forecast.changedColumns.split(",").map((function(e){return"changed-column-"+e.trim().toLowerCase()}))))),n.reduce((function(e,t){return Object(u.a)(Object(u.a)({},e),{},Object(H.a)({},t,!0))}),{})},paginatorTemplate:Xt,currentPageReportTemplate:qt,rowsPerPageOptions:lt.b,children:[Object(S.jsx)(re.Column,{headerStyle:i.headerStyle(80),style:i.columnStyle(80),bodyClassName:"share",header:"usaid.gov link",field:"link",body:function(e){return Object(S.jsx)("div",{children:e.rawRecord.forecast.status!==Qr.FinalRecord?Object(S.jsx)("a",{target:"_blank",href:"https://www.usaid.gov/node/".concat(e.rawRecord.forecast.id),rel:"noreferrer",children:"link"}):Object(S.jsx)(S.Fragment,{})})}}),sn&&Object(S.jsx)(re.Column,{headerStyle:i.headerStyle(100),style:i.columnStyle(100),bodyClassName:"share",header:ln,field:"share",body:function(e){return Object(S.jsx)("div",{children:Object(S.jsxs)("button",{className:"share-btn",onClick:function(){var t;bn(e.rawRecord.forecast.rowId),hn([]),vn(""),wn([]),In(""),null===(t=Pn.current)||void 0===t||t.toggle(e)},children:[Object(S.jsx)("svg",{width:"15",height:"12",viewBox:"0 0 15 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:Object(S.jsx)("path",{d:"M15 4.60063L9.23147 0V2.20024C7.21594 2.38887 0.0446832 3.64493 0 12C0 12 1.73858 6.73656 9.23147 6.54326V9.20148L15 4.60063Z",fill:"white"})}),Object(S.jsx)("span",{children:"Share"})]})})}}),Object(S.jsx)(re.Column,{headerStyle:i.headerStyle(70),style:i.columnStyle(30),bodyClassName:"source",header:an,field:"source",body:Wn(["Source"],(function(){return""})),exportable:!0,sortable:!0}),Object(S.jsx)(re.Column,{field:"country",header:"Country/Office",sortable:Zt,headerStyle:i.headerStyle(150),style:Object(u.a)({},i.columnStyle(150)),bodyClassName:"country",body:Wn(["Location","OperatingUnit"],(function(e){return e.country})),exportable:!0}),Object(S.jsx)(re.Column,{field:"createdOnDate",header:"Date Record Created/Changed",sortable:Zt,headerStyle:i.headerStyle(150),style:Object(u.a)({},i.columnStyle(150)),body:Wn([],(function(e){return Object(gr.a)(Object(xr.a)(e.createdOnDate+"Z"))})),exportable:!0}),Kt?null:Object(S.jsx)(re.Column,{field:"isMyList",header:"Pipelines",headerStyle:i.headerStyle(150),style:i.columnStyle(150),body:Wn([],(function(e){for(var t=Le.filter((function(t){return t.businessForcast.some((function(t){return t.forecast.id.includes(e.id)}))})),n=[],a=0;a100?"".concat(Object(Yn.a)(e.description).substring(0,100),"..."):e.description},onClick:function(){He(e.title),Ke(e.description),Je(nt)}})})),headerStyle:i.headerStyle(600),style:Object(u.a)({},i.columnStyle(600)),bodyClassName:"awarddescription show-popover",exportable:!0}),Object(S.jsx)(re.Column,{field:"primeOrIncumbent",header:tn,sortable:Zt,body:Wn([],$t),headerStyle:Object(u.a)(Object(u.a)({},i.headerStyle(650)),i.primeColumnStyle),style:Object(u.a)(Object(u.a)({},i.columnStyle(650)),{},{position:"relative"}),bodyClassName:"show-popover",exportable:!0}),Object(S.jsx)(re.Column,{field:"quarterlyCallNotes",header:nn,sortable:Zt,body:Wn([],en),headerStyle:Object(u.a)(Object(u.a)({},i.headerStyle(800)),i.primeColumnStyle),style:Object(u.a)(Object(u.a)({},i.columnStyle(800)),{},{position:"relative"}),bodyClassName:"show-popover",exportable:!0}),Object(S.jsx)(re.Column,{field:"sector",header:"Sector",sortable:Zt,body:Wn(["Sector"],(function(e){return Object(Yn.a)(e.sector)})),headerStyle:i.headerStyle(250),style:Object(u.a)({},i.columnStyle(250)),bodyClassName:"sector",exportable:!0}),Object(S.jsx)(re.Column,{field:"aaPlanId",header:"ID",sortable:Zt,body:Wn(["AAPlanId"],(function(e){return e.aaPlanId})),headerStyle:i.headerStyle(130),style:Object(u.a)({},i.columnStyle(130)),bodyClassName:"aaplanid",exportable:!0}),Object(S.jsx)(re.Column,{field:"categoryManagementContractVehicle",header:rn,sortable:Zt,body:Wn(["CategoryManagementContractVehicle"],(function(e){return e.categoryManagementContractVehicle})),headerStyle:i.headerStyle(250),style:Object(u.a)({},i.columnStyle(250)),bodyClassName:"categorymanagementcontractvehicle",exportable:!0}),Object(S.jsx)(re.Column,{field:"estimatedCostRange",header:"Cost",sortable:Zt,body:Wn(["TotalEstimatedCost"],(function(e){return e.estimatedCostRange})),headerStyle:i.headerStyle(100),style:Object(u.a)({},i.columnStyle(100)),bodyClassName:"totalestimatedcost",exportable:!0}),Object(S.jsx)(re.Column,{field:"projectType",header:"Award/Action Type",sortable:Zt,body:Wn(["AwardActionType"],(function(e){return e.projectType})),headerStyle:i.headerStyle(200),style:Object(u.a)({},i.columnStyle(200)),bodyClassName:"awardactiontype",exportable:!0}),Object(S.jsx)(re.Column,{field:"geographicalCodes",header:ri(),sortable:Zt,body:Wn(["GeographicalCodes"],(function(e){return Object(S.jsx)("p",{dangerouslySetInnerHTML:{__html:e.geographicalCodes}})})),headerStyle:i.headerStyle(300),style:Object(u.a)({},i.columnStyle(300)),bodyClassName:"geographicalcodes",exportable:!0}),Object(S.jsx)(re.Column,{field:"coCreation",header:"Co-creation",sortable:Zt,body:Wn(["CoCreation"],(function(e){return Object(S.jsx)("p",{dangerouslySetInnerHTML:{__html:e.coCreation}})})),headerStyle:i.headerStyle(250),style:Object(u.a)({},i.columnStyle(250)),bodyClassName:"cocreationparsed",exportable:!0}),Object(S.jsx)(re.Column,{field:"anticipatedReleaseDate",header:"Anticipated Release Date",sortable:Zt,body:Wn(["AnticipatedSolicitationReleaseDate"],(function(e){return Object(gr.b)(Object(xr.a)(e.anticipatedReleaseDate))})),headerStyle:i.headerStyle(150),style:Object(u.a)({},i.columnStyle(150)),bodyClassName:"anticipatedsolicitationreleasedate",exportable:!0}),Object(S.jsx)(re.Column,{field:"anticipatedAwardDate",header:"Anticipated Award Date",sortable:Zt,body:Wn(["AnticipatedAwardDate"],(function(e){return Object(gr.b)(Object(xr.a)(e.anticipatedAwardDate))})),headerStyle:i.headerStyle(150),style:Object(u.a)({},i.columnStyle(150)),bodyClassName:"anticipatedawarddate",exportable:!0}),Object(S.jsx)(re.Column,{field:"awardLength",header:"Award Length",sortable:Zt,body:Wn(["AwardLength"],(function(e){return e.awardLength})),headerStyle:i.headerStyle(160),style:Object(u.a)({},i.columnStyle(160)),bodyClassName:"awardlength",exportable:!0}),Object(S.jsx)(re.Column,{field:"smallBusinessSetAside",header:"Small Business Set-Aside",sortable:Zt,body:Wn(["SmallBusinessSetAside"],(function(e){return e.smallBusinessSetAside})),headerStyle:i.headerStyle(150),style:Object(u.a)({},i.columnStyle(150)),bodyClassName:"smallbusinesssetaside",exportable:!0}),Object(S.jsx)(re.Column,{field:"eligibilityCriteria",header:"Eligibility Criteria",sortable:Zt,body:Wn(["EligibilityCriteria"],(function(e){return e.eligibilityCriteria})),headerStyle:i.headerStyle(250),style:Object(u.a)({},i.columnStyle(250)),bodyClassName:"eligibilitycriteria",exportable:!0}),Object(S.jsx)(re.Column,{field:"solicitationNumber",header:"Solicitation Number",sortable:Zt,body:Wn(["SolicitationNumber"],(function(e){return e.solicitationNumber})),headerStyle:i.headerStyle(250),style:Object(u.a)({},i.columnStyle(250)),bodyClassName:"solicitationnumber",exportable:!0}),Object(S.jsx)(re.Column,{field:"aaSpecialist",header:"A&A Specialist",sortable:Zt,body:Wn(["AASpecialist"],(function(e){return e.aaSpecialist})),headerStyle:i.headerStyle(250),style:Object(u.a)({},i.columnStyle(250)),bodyClassName:"aaspecialist",exportable:!0}),Object(S.jsx)(re.Column,{field:"fiscalYearofAction",header:"Fiscal Year of Action",sortable:Zt,body:Wn(["FiscalYearofAction"],(function(e){return e.fiscalYearofAction})),headerStyle:i.headerStyle(250),style:Object(u.a)({},i.columnStyle(250)),bodyClassName:"fiscalyearofaction",exportable:!0}),Object(S.jsx)(re.Column,{field:"location",header:"Location",sortable:Zt,body:Wn(["Location"],(function(e){return e.location})),headerStyle:i.headerStyle(250),style:Object(u.a)({},i.columnStyle(250)),bodyClassName:"location",exportable:!0}),rt&&Object(S.jsx)(re.Column,{header:"Admin Actions",body:Wn([],(function(e){return Object(S.jsx)(le.Button,{className:"table-button",onClick:Object(d.a)(l.a.mark((function t(){return l.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Pt(e.rawRecord.forecast.id,e.title,e.primeOrIncumbent,e.quarterlyCallNotes);case 2:return t.abrupt("return",t.sent);case 3:case"end":return t.stop()}}),t)}))),label:"Edit"})})),headerStyle:i.headerStyle(75),style:Object(u.a)({},i.columnStyle(75))})]})]})]})})),n(1301),function(e){var t=e.showMoreInPopup,n=e.text,r=Object(a.useRef)(null),i=Object(a.useState)(-1),s=Object(o.a)(i,2),l=s[0],d=s[1],u=Object(a.useState)(-1),p=Object(o.a)(u,2),b=p[0],j=p[1];return Object(S.jsx)(S.Fragment,{children:Object(S.jsx)("span",{ref:r,onMouseOver:function(){return function(e){var n=c.a.findDOMNode(r.current);if(n){var a=n.getBoundingClientRect();j(a.left),d(a.top),t(e,!0,a.top,a.left)}}(n)},onMouseLeave:function(){return t("",!1,l,b)},children:(null===n||void 0===n?void 0:n.length)<64?n:"".concat(null===n||void 0===n?void 0:n.substring(0,64)," ...")})})});!function(e){e.default="Default",e.newRecord="NewRecord",e.modifiedRecord="ModifiedRecord",e.finalRecord="FinalRecord"}(ni||(ni={})),function(e){e.default="Default",e.bid="Bid",e.noBid="NoBid",e.undecided="Undecided",e.bidSubmitted="BidSubmitted",e.live="LiveOpportunity",e.lost="Lost",e.win="Win"}(ai||(ai={}));var ci=[{label:"Undecided",value:ai.undecided},{label:"No Bid",value:ai.noBid},{label:"Bid Submitted",value:ai.bidSubmitted},{label:"Bid",value:ai.bid},{label:"Live Opportunity",value:ai.live},{label:"Lost",value:ai.lost},{label:"Won",value:ai.win}],oi=te.a.div({zIndex:1e6}),si={multiSelect:{width:"100%",borderRadius:10}};function li(e){var t=e.record,n=(e.popoverProps,e.pipelineId),a=r.a.useContext(j.d),i=r.a.useContext(se.a),c=Object(ie.a)(),s=r.a.useState(Array()),p=Object(o.a)(s,2),b=p[0],m=p[1],f=r.a.useState(!1),h=Object(o.a)(f,2),O=(h[0],h[1]),g=r.a.useRef(null),x=function(e,t){return function(n){var a,r=n.recordType,i=n.changedColumns?n.changedColumns.split(",").map((function(e){return e.trim()})):[];return a=r===ni.newRecord||r===ni.default?"new":r===ni.finalRecord?"final":r===ni.modifiedRecord&&e.length&&(e.find((function(e){return"Source"===e}))||i.find((function(t){return e.find((function(e){return e===t}))})))?"modified":"",Object(S.jsx)("div",{className:a,children:t(n)})}},v=function(){var e=Object(d.a)(l.a.mark((function e(){var r;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=Object(L.c)(a),e.next=3,V.a.post(Object(L.f)("/api/pipeline/".concat(n,"/forecast/").concat(t.id,"/details"),{useDedicatedEnvironment:!0}),null,r).then((function(e){var t=e.data.map((function(e){return{id:e.forecast.id,recordType:e.forecast.status,changedColumns:e.forecast.changedColumns,country:e.forecast.country,createdOnDate:e.forecast.createdOn,isMyList:e.userEdits.isMyList,title:e.forecast.awardTitle,description:e.forecast.awardDescription,sector:e.forecast.sector,primeOrIncumbent:e.enhancements.primeOrIncumbent,quarterlyCallNotes:e.enhancements.quarterlyCallNotes,estimatedCostRange:e.forecast.totalEstimatedCost,projectType:e.forecast.awardActionType,anticipatedReleaseDate:e.forecast.anticipatedSolicitationReleaseDate,anticipatedAwardDate:e.forecast.anticipatedAwardDate,smallBusinessSetAside:e.forecast.smallBusinessSetAside,aaPlanId:e.forecast.aaPlanId,fiscalYearofAction:e.forecast.fiscalYearofAction,aaSpecialist:e.forecast.aaSpecialist,awardLength:e.forecast.awardLength,eligibilityCriteria:e.forecast.eligibilityCriteria,geographicalCodes:e.forecast.geographicalCodes,categoryManagementContractVehicle:e.forecast.categoryManagementContractVehicle,solicitationNumber:e.forecast.solicitationNumber,coCreation:e.forecast.coCreation,location:e.forecast.location}}));m(t),O(!1)})).catch(Object(st.b)((function(e){i.current.show({severity:"error",summary:"Error getting details",detail:"Error getting the Forecast+ details for '".concat(t.title,"'")}),O(!1)})));case 3:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();r.a.useEffect((function(){O(!0),v()}),[]);var y=r.a.useState(""),C=Object(o.a)(y,2),A=C[0],w=(C[1],r.a.useState("")),N=Object(o.a)(w,2),E=N[0],I=(N[1],r.a.useState("")),D=Object(o.a)(I,2),F=D[0],k=D[1];return Object(S.jsxs)("div",{className:"p-grid p-dir-col",children:[Object(S.jsx)(Ee.a,{dialogHeader:A,isVisible:"ForecastInside"===F,dialogText:E,setMultiDialogVisible:k,multi:!0}),Object(S.jsxs)(ne.DataTable,{value:b,scrollHeight:"600px",rowClassName:function(e){var t=e.recordType,n=t===ni.newRecord?"new-record":t===ni.modifiedRecord?"modified-record":t===ni.finalRecord?"final-record":"new-record",a=[n];return"modified-record"===n&&a.splice.apply(a,[1,0].concat(Object(ee.a)(e.changedColumns.split(",").map((function(e){return"changed-column-"+e.trim().toLowerCase()}))))),a.reduce((function(e,t){return Object(u.a)(Object(u.a)({},e),{},Object(H.a)({},t,!0))}),{})},ref:g,scrollable:!0,children:[Object(S.jsx)(re.Column,{headerStyle:c.headerStyle(188),style:c.columnStyle(188),header:"Changes",field:"changedColumns"}),Object(S.jsx)(re.Column,{headerStyle:c.headerStyle(150),style:c.columnStyle(150),bodyClassName:"source",header:"Source",body:x(["Source"],(function(e){return"Forecast+"}))}),Object(S.jsx)(re.Column,{field:"country",header:"Country/Office",headerStyle:c.headerStyle(150),style:c.columnStyle(150),bodyClassName:"country",body:x(["Location","OperatingUnit"],(function(e){return e.country}))}),Object(S.jsx)(re.Column,{field:"title",header:"Title",sortable:!0,headerStyle:c.headerStyle(350),style:c.columnStyle(350),bodyClassName:"awardtitle",body:x(["AwardTitle"],(function(e){return Object(S.jsx)("span",{dangerouslySetInnerHTML:{__html:e.title}})}))}),Object(S.jsx)(re.Column,{field:"recordType",header:"Type",headerStyle:c.headerStyle(100),style:c.columnStyle(100),sortable:!0,body:function(e){return e.recordType===ni.newRecord||e.recordType===ni.modifiedRecord?"Active":"Closed"}}),Object(S.jsx)(re.Column,{field:"createdOnDate",header:"Date Record Created/Changed",headerStyle:c.headerStyle(150),style:c.columnStyle(150),sortable:!0,body:x([],(function(e){return Object(gr.b)(Object(xr.a)(e.createdOnDate))}))}),Object(S.jsx)(re.Column,{field:"description",header:"Description",sortable:!0,body:x(["AwardDescription"],(function(e){return Object(S.jsx)("p",{className:"primeOrIncumbent","data-title":e.title,"data-full-abstract":e.description,children:e.description&&e.description.length>95?"".concat(Object(Yn.a)(e.description).substring(0,95),"..."):e.description})})),headerStyle:c.headerStyle(550),style:Object(u.a)(Object(u.a)({},c.columnStyle(550)),c.primeColumnStyle),bodyClassName:"awarddescription"}),Object(S.jsx)(re.Column,{field:"primeOrIncumbent",header:"Suggested Primes/Partners",sortable:!0,body:x([],(function(e){return e.primeOrIncumbent&&Object(S.jsx)("p",{className:"primeOrIncumbent","data-full-abstract":e.primeOrIncumbent,children:e.primeOrIncumbent&&e.primeOrIncumbent.length>95?"".concat(Object(Yn.a)(e.primeOrIncumbent).substring(0,95),"..."):e.primeOrIncumbent})})),headerStyle:c.headerStyle(650),style:Object(u.a)(Object(u.a)({},c.columnStyle(650)),c.primeColumnStyle),bodyClassName:"primeorincumbent"}),Object(S.jsx)(re.Column,{field:"quarterlyCallNotes",header:"Quarterly Forecast Q&A and Notes",sortable:!0,body:x([],(function(e){return e.quarterlyCallNotes&&Object(S.jsx)("p",{className:"primeOrIncumbent","data-full-abstract":e.quarterlyCallNotes,children:e.quarterlyCallNotes&&e.quarterlyCallNotes.length>95?"".concat(Object(Yn.a)(e.quarterlyCallNotes).substring(0,95),"..."):e.quarterlyCallNotes})})),headerStyle:c.headerStyle(650),style:Object(u.a)(Object(u.a)({},c.columnStyle(650)),c.primeColumnStyle),bodyClassName:"primeorincumbent"}),Object(S.jsx)(re.Column,{field:"sector",header:"Sector",sortable:!0,body:x(["Sector"],(function(e){return Object(Yn.a)(e.sector)})),headerStyle:c.headerStyle(250),style:c.columnStyle(250),bodyClassName:"sector"}),Object(S.jsx)(re.Column,{field:"aaPlanId",header:"ID",sortable:!0,body:x(["AAPlanId"],(function(e){return e.aaPlanId})),headerStyle:c.headerStyle(250),style:Object(u.a)({},c.columnStyle(250)),bodyClassName:"aaplanid",exportable:!0}),Object(S.jsx)(re.Column,{field:"categoryManagementContractVehicle",header:"Category Management Contract Vehicle",sortable:!0,body:x(["CategoryManagementContractVehicle"],(function(e){return e.categoryManagementContractVehicle})),headerStyle:c.headerStyle(250),style:Object(u.a)({},c.columnStyle(250)),bodyClassName:"categorymanagementcontractvehicle",exportable:!0}),Object(S.jsx)(re.Column,{field:"estimatedCostRange",header:"Cost",sortable:!0,body:x(["TotalEstimatedCost"],(function(e){return e.estimatedCostRange})),headerStyle:c.headerStyle(100),style:c.columnStyle(100),bodyClassName:"totalestimatedcost"}),Object(S.jsx)(re.Column,{field:"projectType",header:"Award/Action Type",sortable:!0,body:x(["AwardActionType"],(function(e){return e.projectType})),headerStyle:c.headerStyle(200),style:c.columnStyle(200),bodyClassName:"awardactiontype"}),Object(S.jsx)(re.Column,{field:"geographicalCodes",header:ri(),sortable:!0,body:x(["GeographicalCodes"],(function(e){return Object(S.jsx)("span",{dangerouslySetInnerHTML:{__html:e.geographicalCodes}})})),headerStyle:c.headerStyle(250),style:Object(u.a)({},c.columnStyle(250)),bodyClassName:"geographicalcodes",exportable:!0}),Object(S.jsx)(re.Column,{field:"coCreation",header:"Co-creation",sortable:!0,body:x(["CoCreation"],(function(e){return Object(S.jsx)("span",{dangerouslySetInnerHTML:{__html:e.coCreation}})})),headerStyle:c.headerStyle(250),style:Object(u.a)({},c.columnStyle(250)),bodyClassName:"cocreationparsed",exportable:!0}),Object(S.jsx)(re.Column,{field:"anticipatedReleaseDate",header:"Anticipated Release Date",sortable:!0,body:x(["AnticipatedSolicitationReleaseDate"],(function(e){return Object(gr.b)(Object(xr.a)(e.anticipatedReleaseDate))})),headerStyle:c.headerStyle(150),style:c.columnStyle(150),bodyClassName:"anticipatedsolicitationreleasedate"}),Object(S.jsx)(re.Column,{field:"anticipatedAwardDate",header:"Anticipated Award Date",sortable:!0,body:x(["AnticipatedAwardDate"],(function(e){return Object(gr.b)(Object(xr.a)(e.anticipatedAwardDate))})),headerStyle:c.headerStyle(150),style:c.columnStyle(150),bodyClassName:"anticipatedawarddate"}),Object(S.jsx)(re.Column,{field:"awardLength",header:"Award Length",sortable:!0,body:x(["AwardLength"],(function(e){return e.awardLength})),headerStyle:c.headerStyle(250),style:Object(u.a)({},c.columnStyle(250)),bodyClassName:"awardlength",exportable:!0}),Object(S.jsx)(re.Column,{field:"smallBusinessSetAside",header:"Small Business Set-Aside",sortable:!0,body:x(["SmallBusinessSetAside"],(function(e){return e.smallBusinessSetAside})),headerStyle:c.headerStyle(150),style:c.columnStyle(150),bodyClassName:"smallbusinesssetaside"}),Object(S.jsx)(re.Column,{field:"eligibilityCriteria",header:"Eligibility Criteria",sortable:!0,body:x(["EligibilityCriteria"],(function(e){return e.eligibilityCriteria})),headerStyle:c.headerStyle(250),style:Object(u.a)({},c.columnStyle(250)),bodyClassName:"eligibilitycriteria",exportable:!0}),Object(S.jsx)(re.Column,{field:"solicitationNumber",header:"Solicitation Number",sortable:!0,body:x(["SolicitationNumber"],(function(e){return e.solicitationNumber})),headerStyle:c.headerStyle(250),style:Object(u.a)({},c.columnStyle(250)),bodyClassName:"solicitationnumber",exportable:!0}),Object(S.jsx)(re.Column,{field:"aaSpecialist",header:"A&A Specialist",sortable:!0,body:x(["AASpecialist"],(function(e){return e.aaSpecialist})),headerStyle:c.headerStyle(250),style:Object(u.a)({},c.columnStyle(250)),bodyClassName:"aaspecialist",exportable:!0}),Object(S.jsx)(re.Column,{field:"fiscalYearofAction",header:"Fiscal Year of Action",sortable:!0,body:x(["FiscalYearofAction"],(function(e){return e.fiscalYearofAction})),headerStyle:c.headerStyle(250),style:Object(u.a)({},c.columnStyle(250)),bodyClassName:"fiscalyearofaction",exportable:!0}),Object(S.jsx)(re.Column,{field:"location",header:"Location",sortable:!0,body:x(["Location"],(function(e){return e.location})),headerStyle:c.headerStyle(250),style:Object(u.a)({},c.columnStyle(250)),bodyClassName:"location",exportable:!0})]})]})}var di=function(e){var t=ci.find((function(t){return t.value===e.myListStatus}));return t?t.label:""};function ui(e){var t=e.id,n=e.isPipelineScreen,i=e.isPipelineOwner,s=e.refreshForecastData,b=e.setRefreshForecastData,f=Object(a.useContext)(j.d),h=Object(ie.a)(),O=Object(p.g)(),g=Object(p.h)(),x="";g&&g.search&&(x=Object(Yr.parse)(g.search).initialFilter||"");var v=O.location.pathname,y=Object(a.useState)(Array()),C=Object(o.a)(y,2),A=C[0],w=C[1],N=Object(a.useState)(!1),E=Object(o.a)(N,2),I=E[0],D=E[1],F=Object(a.useState)(20),k=Object(o.a)(F,2),T=k[0],R=k[1],P=r.a.useState(0),M=Object(o.a)(P,2),U=M[0],B=M[1],Q=r.a.useState(0),W=Object(o.a)(Q,2),H=W[0],z=W[1],Y=r.a.useState(""),G=Object(o.a)(Y,2),K=G[0],q=G[1],X=r.a.useState(0),Z=Object(o.a)(X,2),J=Z[0],_=Z[1],$=r.a.useState(""),te=Object(o.a)($,2),ae=te[0],de=te[1],ue=r.a.useState(x),je=Object(o.a)(ue,2),me=je[0],fe=je[1],he=r.a.useState(Array()),Oe=Object(o.a)(he,2),ge=Oe[0],xe=Oe[1],ve=r.a.useState(Array()),ye=Object(o.a)(ve,2),Ce=ye[0],Ae=ye[1],we=r.a.useState(Array()),Se=Object(o.a)(we,2),ke=Se[0],Te=Se[1],Re=r.a.useState(""),Pe=Object(o.a)(Re,2),Me=Pe[0],Ue=Pe[1],Le=r.a.useState(!1),Be=Object(o.a)(Le,2),Ve=Be[0],Qe=Be[1],We=r.a.useState(!1),He=Object(o.a)(We,2),ze=He[0],Ye=He[1],Ge=r.a.useState(""),Ke=Object(o.a)(Ge,2),qe=Ke[0],Xe=Ke[1],Ze=r.a.useContext(se.a),Je=r.a.useState(0),_e=Object(o.a)(Je,2),$e=_e[0],et=_e[1],tt=(r.a.useRef(null),r.a.useRef(null)),nt=Object(a.useState)(null),at=Object(o.a)(nt,2),rt=at[0],it=at[1],ot=Object(a.useState)(!1),dt=Object(o.a)(ot,2),pt=dt[0],bt=dt[1],jt=Object(a.useState)(),mt=Object(o.a)(jt,2),ft=mt[0],ht=mt[1],gt=Object(a.useState)(),xt=Object(o.a)(gt,2),vt=xt[0],yt=xt[1],At=Object(a.useRef)(null),wt=function(e,t,n,a){if(t){it(e);var r=c.a.findDOMNode(At.current);if(r){var i=r.getBoundingClientRect();e.length<60?i.height=70:i.height=160,ht(n-i.height+"px"),yt(a+"px")}}bt(t)};r.a.useEffect((function(){function e(){var e=Object(Ot.a)(),t=e.nestedWidth,n=e.headerWidth;t&&n&&et(t-n)}return Ft({first:H,rows:T,keyword:me}),e(),window.addEventListener("resize",e),function(){return window.removeEventListener("resize",e)}}),[]);var St=Object(st.c)(me,750);r.a.useEffect((function(){Ft({first:H,rows:T,sort:{sortField:K,sortOrder:J},keyword:me})}),[St]);var Nt=r.a.useState(),Et=Object(o.a)(Nt,2),It=Et[0],Dt=Et[1];var Ft=function(e){var n,a;D(!0);var r="/api/businessforecast/mylist";switch(v){case"/pipeline/".concat(t):r="/api/pipeline/".concat(t,"/forecast"),Ue(r);break;case"/mybids":Ue(r)}R(e.rows),z(e.first);var i={sortField:e.sort?e.sort.sortField:K,sortOrder:e.sort?e.sort.sortOrder:J,rowsPerPage:e.rows,pageIndex:e.first/e.rows,keyword:e.keyword},c=new URLSearchParams;z(e.first);var o=e.first/T;c.set("pageIndex",o.toString()),c.set("rowsPerPage",e.rows.toString()),c.set("sortField",(null===(n=e.sort)||void 0===n?void 0:n.sortField)||K),c.set("sortOrder",((null===(a=e.sort)||void 0===a?void 0:a.sortOrder)||J).toString()),null!==me&&null!=e.keyword?c.set("keyword",e.keyword.toString()):c.set("keyword","");var s=void 0!==e.keyword?e.keyword:me;switch(s&&c.set("filter",s),Dt(i),v){case"/pipeline/".concat(t):V.a.get(Object(L.f)("".concat(r,"?").concat(c.toString()),{useDedicatedEnvironment:!0}),Object(L.c)(f)).then((function(e){var t=e.data,n=(t.lastUpdatedUtc,t.data),a=t.totalItems,r=t.attributes;B(a),Xe(r?r.CustomColumnName:""),de(ae?"Last updated ".concat(new Date(ae+"Z").toLocaleString()):""),Ae(n.map((function(e){return{id:e.forecast.id,note:e.userEdits.notes}}))),Te(n.map((function(e){return{id:e.forecast.id,customColumn:e.userEdits.customColumn}})));var i=n.map((function(e){return{id:e.forecast.id,recordType:e.forecast.status,changedColumns:e.forecast.changedColumns,isMyList:e.userEdits.isMyList,title:e.forecast.awardTitle,createdOnDate:e.forecast.createdOn,description:e.forecast.awardDescription,primeOrIncumbent:e.enhancements.primeOrIncumbent,quarterlyCallNotes:e.enhancements.quarterlyCallNotes,estimatedCostRange:e.forecast.totalEstimatedCost,projectType:e.forecast.awardActionType,anticipatedReleaseDate:e.forecast.anticipatedSolicitationReleaseDate,anticipatedAwardDate:e.forecast.anticipatedAwardDate,smallBusinessSetAside:e.forecast.smallBusinessSetAside,sector:e.forecast.sector,country:e.forecast.country,myListStatus:e.userEdits.myListStatus,notes:e.userEdits.notes||"",customColumn:e.userEdits.customColumn||"",rawRecord:e,aaPlanId:e.forecast.aaPlanId,fiscalYearofAction:e.forecast.fiscalYearofAction,aaSpecialist:e.forecast.aaSpecialist,awardLength:e.forecast.awardLength,eligibilityCriteria:e.forecast.eligibilityCriteria,geographicalCodes:e.forecast.geographicalCodes,categoryManagementContractVehicle:e.forecast.categoryManagementContractVehicle,solicitationNumber:e.forecast.solicitationNumber,coCreation:Object(Yn.a)(e.forecast.coCreation),location:e.forecast.location}}));w(i);for(var c=[],o=0;o]+)>)/gi,"").replace(/\ /g,"").replace(/&/g,"&"):S.notes,S.customColumn?S.customColumn.replace(/(<([^>]+)>)/gi,"").replace(/\ /g,"").replace(/&/g,"&"):S.customColumn,di(S),null===(s=S.country)||void 0===s?void 0:s.replace(/\ /g,"").replace(/&/g,"&"),null===(l=S.title)||void 0===l?void 0:l.replace(/\ /g,"").replace(/&/g,"&"),S.recordType===ni.newRecord||S.recordType===ni.modifiedRecord?"Active":"Closed",null===(d=S.createdOnDate)||void 0===d?void 0:d.replace(/\ /g,"").replace(/&/g,"&"),S.description?S.description.replace(/(<([^>]+)>)/gi,"").replace(/\ /g,"").replace(/&/g,"&"):S.description,null===(u=S.sector)||void 0===u?void 0:u.replace(/\ /g,"").replace(/&/g,"&"),Object(Yn.b)(S.primeOrIncumbent),Object(Yn.b)(S.quarterlyCallNotes),null===(p=S.aaPlanId)||void 0===p?void 0:p.replace(/\ /g,"").replace(/&/g,"&"),null===(b=S.categoryManagementContractVehicle)||void 0===b?void 0:b.replace(/\ /g,"").replace(/&/g,"&"),null===(j=S.estimatedCostRange)||void 0===j?void 0:j.replace(/\ /g,"").replace(/&/g,"&"),null===(m=S.projectType)||void 0===m?void 0:m.replace(/\ /g,"").replace(/&/g,"&"),S.geographicalCodes?S.geographicalCodes.replace(/(<([^>]+)>)/gi,"").replace(/\ /g,"").replace(/&/g,"&"):S.geographicalCodes,S.coCreation?S.coCreation.replace(/(<([^>]+)>)/gi,"").replace(/\ /g,"").replace(/&/g,"&"):S.coCreation,null===(f=S.anticipatedReleaseDate)||void 0===f?void 0:f.replace(/\ /g,"").replace(/&/g,"&"),null===(h=S.anticipatedAwardDate)||void 0===h?void 0:h.replace(/\ /g,"").replace(/&/g,"&"),null===(O=S.awardLength)||void 0===O?void 0:O.replace(/\ /g,"").replace(/&/g,"&"),null===(g=S.smallBusinessSetAside)||void 0===g?void 0:g.replace(/\ /g,"").replace(/&/g,"&"),null===(x=S.eligibilityCriteria)||void 0===x?void 0:x.replace(/\ /g,"").replace(/&/g,"&"),null===(v=S.solicitationNumber)||void 0===v?void 0:v.replace(/\ /g,"").replace(/&/g,"&"),null===(y=S.aaSpecialist)||void 0===y?void 0:y.replace(/\ /g,"").replace(/&/g,"&"),null===(C=S.fiscalYearofAction)||void 0===C?void 0:C.replace(/\ /g,"").replace(/&/g,"&"),null===(A=S.location)||void 0===A?void 0:A.replace(/\ /g,"").replace(/&/g,"&")])}Zt(c),D(!1)})).catch(Object(st.b)((function(e){Ze.current.show({severity:"error",sticky:!0,summary:"Export quota reached",detail:e}),D(!1)})));break;default:V.a.post(Object(L.f)(r,{useDedicatedEnvironment:!0}),i,Object(L.c)(f)).then((function(e){var t=e.data,n=(t.lastUpdatedUtc,t.data),a=t.totalItems,r=t.attributes;B(a),Xe(r?r.CustomColumnName:""),de(ae?"Last updated ".concat(new Date(ae+"Z").toLocaleString()):""),Ae(n.map((function(e){return{id:e.forecast.id,note:e.userEdits.notes}}))),Te(n.map((function(e){return{id:e.forecast.id,customColumn:e.userEdits.customColumn}})));var i=n.map((function(e){return{id:e.forecast.id,recordType:e.forecast.status,changedColumns:e.forecast.changedColumns,isMyList:e.userEdits.isMyList,title:e.forecast.awardTitle,createdOnDate:e.forecast.createdOn,description:e.forecast.awardDescription,primeOrIncumbent:Object(Yn.a)(e.enhancements.primeOrIncumbent),quarterlyCallNotes:Object(Yn.a)(e.enhancements.quarterlyCallNotes),estimatedCostRange:e.forecast.totalEstimatedCost,projectType:e.forecast.awardActionType,anticipatedReleaseDate:e.forecast.anticipatedSolicitationReleaseDate,anticipatedAwardDate:e.forecast.anticipatedAwardDate,smallBusinessSetAside:e.forecast.smallBusinessSetAside,sector:e.forecast.sector,country:e.forecast.country,myListStatus:e.userEdits.myListStatus,notes:e.userEdits.notes||"",customColumn:e.userEdits.customColumn||"",rawRecord:e,aaPlanId:e.forecast.aaPlanId,fiscalYearofAction:e.forecast.fiscalYearofAction,aaSpecialist:e.forecast.aaSpecialist,awardLength:e.forecast.awardLength,eligibilityCriteria:e.forecast.eligibilityCriteria,geographicalCodes:Object(Yn.a)(e.forecast.geographicalCodes),categoryManagementContractVehicle:e.forecast.categoryManagementContractVehicle,solicitationNumber:e.forecast.solicitationNumber,coCreation:Object(Yn.a)(e.forecast.coCreation),location:e.forecast.location}}));w(i),D(!1)})).catch(Object(st.b)((function(e){Ze.current.show({severity:"error",sticky:!0,summary:"Export quota reached",detail:e}),D(!1)})))}};Object(a.useEffect)((function(){s&&(b(!1),Ft({first:H,rows:T,sort:{sortOrder:J,sortField:K},keyword:me}))}),[s]);var kt=function(e){var t=e.rowData,n=e.pipelineId,a=e.isPipelineOwner,i=r.a.useContext(j.d),c=r.a.useContext(se.a),o=function(){var e=Object(d.a)(l.a.mark((function e(a){return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.myListStatus=a,e.next=3,V.a.post(Object(L.f)("/api/pipeline/".concat(n,"/forecast/status"),{useDedicatedEnvironment:!0}),{businessForecastId:t.id,value:a},Object(L.c)(i)).then((function(e){Ft({first:H,rows:T,sort:{sortField:K,sortOrder:J},keyword:me}),c&&c.current.show({severity:"success",summary:"Status Updated",detail:"Updated '".concat(t.title,"' to ").concat(di(t))})})).catch((function(e){t.myListStatus=a,console.error(e),c&&c.current.show({severity:"error",summary:"Error",detail:"Error updating status"})}));case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),s=r.a.useRef();return Object(S.jsx)("div",{children:Object(S.jsx)(Ie.Dropdown,{style:{width:"100%"},className:"mybids-forecast-dropdown",appendTo:document.body,disabled:!a,ref:function(e){e&&(s.current=e)},onFocus:function(e){s.current&&s.current.showOverlay()},options:ci,onChange:function(e){return o(e.value)},value:t.myListStatus})})},Tt=r.a.useRef(null),Rt=r.a.useState(!1),Pt=Object(o.a)(Rt,2),Mt=Pt[0],Ut=Pt[1],Lt=r.a.useState(!1),Bt=Object(o.a)(Lt,2),Vt=Bt[0],Qt=Bt[1],Wt=r.a.useState(!1),Ht=Object(o.a)(Wt,2),zt=Ht[0],Yt=Ht[1],Gt=function(){var e=Object(d.a)(l.a.mark((function e(){var n,a,r,i;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:n=Me,(a=It)&&(a.rowsPerPage=1e3),r=a?n+"?rowsPerPage="+a.rowsPerPage:n,i=Array(),e.t0=v,e.next=e.t0==="/pipeline/".concat(t)?8:11;break;case 8:return e.next=10,V.a.get(Object(L.f)(r,{useDedicatedEnvironment:!0}),Object(L.c)(f)).then((function(e){var t=e.data.data.map((function(e){return{id:e.forecast.id,recordType:e.forecast.status,changedColumns:e.forecast.changedColumns,isMyList:e.userEdits.isMyList,title:e.forecast.awardTitle,createdOnDate:e.forecast.createdOn,description:e.forecast.awardDescription,primeOrIncumbent:Object(Yn.b)(e.enhancements.primeOrIncumbent),quarterlyCallNotes:Object(Yn.b)(e.enhancements.quarterlyCallNotes),estimatedCostRange:e.forecast.totalEstimatedCost,projectType:e.forecast.awardActionType,anticipatedReleaseDate:e.forecast.anticipatedSolicitationReleaseDate,anticipatedAwardDate:e.forecast.anticipatedAwardDate,smallBusinessSetAside:e.forecast.smallBusinessSetAside,sector:e.forecast.sector,country:e.forecast.country,myListStatus:di(e.userEdits),notes:e.userEdits.notes||"",customColumn:e.userEdits.customColumn||"",rawRecord:e,aaPlanId:e.forecast.aaPlanId,fiscalYearofAction:e.forecast.fiscalYearofAction,aaSpecialist:e.forecast.aaSpecialist,awardLength:e.forecast.awardLength,eligibilityCriteria:e.forecast.eligibilityCriteria,geographicalCodes:Object(Yn.a)(e.forecast.geographicalCodes),categoryManagementContractVehicle:e.forecast.categoryManagementContractVehicle,solicitationNumber:e.forecast.solicitationNumber,coCreation:Object(Yn.a)(e.forecast.coCreation),location:e.forecast.location}}));i=t})).catch((function(e){alert("error fetching data")}));case 10:return e.abrupt("return",i);case 11:return e.next=13,V.a.post(Object(L.f)(n,{useDedicatedEnvironment:!0}),a,Object(L.c)(f)).then((function(e){var t=e.data.data.map((function(e){return{id:e.forecast.id,recordType:e.forecast.status,changedColumns:e.forecast.changedColumns,isMyList:e.userEdits.isMyList,title:e.forecast.awardTitle,createdOnDate:e.forecast.createdOn,description:e.forecast.awardDescription,primeOrIncumbent:Object(Yn.a)(e.enhancements.primeOrIncumbent),quarterlyCallNotes:Object(Yn.a)(e.enhancements.quarterlyCallNotes),estimatedCostRange:e.forecast.totalEstimatedCost,projectType:e.forecast.awardActionType,anticipatedReleaseDate:e.forecast.anticipatedSolicitationReleaseDate,anticipatedAwardDate:e.forecast.anticipatedAwardDate,smallBusinessSetAside:e.forecast.smallBusinessSetAside,sector:e.forecast.sector,country:e.forecast.country,myListStatus:di(e.userEdits),notes:e.userEdits.notes||"",customColumn:e.userEdits.customColumn||"",rawRecord:e,aaPlanId:e.forecast.aaPlanId,fiscalYearofAction:e.forecast.fiscalYearofAction,aaSpecialist:e.forecast.aaSpecialist,awardLength:e.forecast.awardLength,eligibilityCriteria:e.forecast.eligibilityCriteria,geographicalCodes:Object(Yn.a)(e.forecast.geographicalCodes),categoryManagementContractVehicle:e.forecast.categoryManagementContractVehicle,solicitationNumber:e.forecast.solicitationNumber,coCreation:Object(Yn.a)(e.forecast.coCreation),location:e.forecast.location}}));i=t})).catch((function(e){alert("error fetching data")}));case 13:return e.abrupt("return",i);case 14:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),Kt=r.a.useState([]),qt=Object(o.a)(Kt,2),Xt=qt[0],Zt=qt[1],Jt=r.a.useState([]),_t=Object(o.a)(Jt,2),$t=_t[0],en=_t[1],tn=["usaid.gov link","Notes",qe,"Status","Country/Office","Name","Type","Date Record Created/Changed","Description","Sector","Suggested Primes/Partners","Quarterly Forecast Q&A and Notes","ID","Category Management Contract Vehicle","Cost","Award/Action Type","Geographical Codes","Co-creation","Anticipated Release Date","Anticipated Award Date","Award Length","Small Business Set-Aside","Eligibility Criteria","Solicitation Number","A&A Specialist","Fiscal Year of Action","Location"];r.a.useEffect((function(){A&&It&&Gt().then((function(e){rn(null!==e&&void 0!==e?e:A)}))}),[A,It]);var nn=Object(S.jsxs)("div",{className:"p-grid p-justify-end p-align-center",children:[Object(S.jsx)("div",{className:"p-col topLeftColumnHeader topRightColumnHeader",style:{textAlign:"left"},children:Object(S.jsx)("div",{className:"p-col"})}),Object(S.jsxs)("div",{className:"p-sm-12 p-md-12 p-lg-4 p-xl-6 p-justify-end p-grid p-align-center buttonsHeader",children:[Object(S.jsx)("div",{style:{font:"14px Open Sans",verticalAlign:"middle"},children:Object(S.jsx)(sr.a,{tooltipText:"Opportunities are automatically sorted by \u201cLast Updated Date,\u201d so you can quickly identify changes and when they were made.",className:"tooltip-fixed"})}),Object(S.jsx)("div",{className:"button-select",children:Object(S.jsx)(Fe.Button,{type:"button",icon:"pi pi-file",iconPos:"left",className:"aid-blu-btn",style:Object(u.a)(Object(u.a)({},h.tableHeaderButton),{},{height:"auto"}),label:"All Forecasts",onClick:function(){return O.push("/forecast")}})}),Object(S.jsx)("div",{className:"search-bar",children:Object(S.jsx)(ce.InputText,{type:"search",style:Object(u.a)({},h.keywordSearch),value:me,onChange:function(e){return fe(e.target.value)},placeholder:"Global Search"})}),Object(S.jsxs)("div",{className:"button-export",children:[Vt&&Object(S.jsxs)("div",{className:"button-export-popup",children:[Object(S.jsx)(zr.CSVLink,{filename:"Aidkonekt_forecast_plus_".concat((new Date).getFullYear()),data:Xt,headers:tn,children:Object(S.jsx)("button",{className:"export-popup-option",onClick:function(){return Qt(!1)},children:"Export Current Page"})}),Object(S.jsx)(zr.CSVLink,{filename:"Aidkonekt_forecast_plus_".concat((new Date).getFullYear()),data:$t,headers:tn,children:Object(S.jsx)("button",{className:"export-popup-option",onClick:function(){return Qt(!1)},children:"Export Entire Pipeline"})})]}),Object(S.jsx)(Fe.Button,{type:"button",icon:"pi pi-file-o",className:"aid-blu-btn",style:Object(u.a)(Object(u.a)({},h.tableHeaderButton),{},{height:"auto"}),tooltip:"CSV",tooltipOptions:{position:"top"},onClick:function(){Qt(!Vt)}})]}),Object(S.jsx)("div",{className:"button-export",children:Object(S.jsx)(Fe.Button,{type:"button",icon:"pi pi-file-excel",className:"aid-blu-btn",style:Object(u.a)(Object(u.a)({},h.tableHeaderButton),{},{height:"auto"}),tooltip:"Excel",tooltipOptions:{position:"top"},disabled:zt,onClick:Object(d.a)(l.a.mark((function e(){return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(Yt(!0),e.t0=De.e,e.t1="Aidkonekt_myForecasts_plus_".concat((new Date).getFullYear()),e.t2=an,!Gt){e.next=10;break}return e.next=7,Gt();case 7:e.t3=e.sent,e.next=11;break;case 10:e.t3=A;case 11:e.t4=e.t3,e.t5=(0,e.t2)(e.t4),(0,e.t0)("MyForecasts+",e.t1,e.t5).then((function(){Yt(!1)}));case 14:case"end":return e.stop()}}),e)})))})}),Object(S.jsx)("div",{className:"button-export",children:Object(S.jsx)(Fe.Button,{type:"button",className:"aid-blu-btn",icon:Mt?"pi pi-window-minimize":"pi pi-window-maximize",iconPos:"left",onClick:function(e){Mt?Object(ut.c)(e.target):Object(ut.b)(e.target,(function(){return Ut(!1)})),Ut(!Mt)},tooltip:Mt?"Minimize":"Maximize",tooltipOptions:{position:"top"},style:Object(u.a)(Object(u.a)({},h.tableHeaderButton),{},{height:"auto"})})})]})]}),an=function(e){var t=[{name:"usaid.gov link"},{name:"Notes"},{name:qe},{name:"Status"},{name:"Country/Office"},{name:"Name"},{name:"Type"},{name:"Date Record Created/Changed"},{name:"Description"},{name:"Sector"},{name:"Suggested Primes/Partners"},{name:"Quarterly Forecast Q&A and Notes"},{name:"ID"},{name:"Category Management Contract Vehicle"},{name:"Cost"},{name:"Award/Action Type"},{name:"Geographical Codes"},{name:"Co-creation"},{name:"Anticipated Release Date"},{name:"Anticipated Award Date"},{name:"Award Length"},{name:"Small Business Set-Aside"},{name:"Eligibility Criteria"},{name:"Solicitation Number"},{name:"A&A Specialist"},{name:"Fiscal Year of Action"},{name:"Location"}],n=[];if(0==e.length)n.push(Object(De.d)(t.length));else for(var a=0;a]+)>)/gi,""):r.notes,r.customColumn?r.customColumn.replace(/(<([^>]+)>)/gi,""):r.customColumn,di(r.rawRecord.userEdits),Object(Yn.a)(r.country),Object(Yn.a)(r.title),r.recordType===ni.newRecord||r.recordType===ni.modifiedRecord?"Active":"Closed",r.createdOnDate,Object(Yn.b)(r.description).replace(/(<([^>]+)>)/gi,""),r.sector?Object(Yn.a)(r.sector):"",r.primeOrIncumbent?r.primeOrIncumbent.replace(/(<([^>]+)>)/gi,""):r.primeOrIncumbent,r.quarterlyCallNotes?r.quarterlyCallNotes.replace(/(<([^>]+)>)/gi,""):r.quarterlyCallNotes,r.aaPlanId,r.categoryManagementContractVehicle,r.estimatedCostRange,r.projectType,r.geographicalCodes?r.geographicalCodes.replace(/(<([^>]+)>)/gi,""):r.geographicalCodes,r.coCreation?r.coCreation.replace(/(<([^>]+)>)/gi,""):r.coCreation,r.anticipatedReleaseDate,r.anticipatedAwardDate,r.awardLength,r.smallBusinessSetAside,Object(Yn.a)(r.eligibilityCriteria),r.solicitationNumber,r.aaSpecialist,r.fiscalYearofAction,r.location])}return Object(De.b)("MyBidsExport",t,n)},rn=function(e){var t=[];if(0==e.length)t.push(Object(De.d)(tn.length));else for(var n=0;n]+)>)/gi,""):a.notes,a.customColumn?a.customColumn.replace(/(<([^>]+)>)/gi,""):a.customColumn,a.myListStatus,a.country,a.title,a.recordType===ni.newRecord||a.recordType===ni.modifiedRecord?"Active":"Closed",a.createdOnDate,a.description?a.description.replace(/(<([^>]+)>)/gi,""):"",a.sector,Object(Yn.b)(a.primeOrIncumbent),Object(Yn.b)(a.quarterlyCallNotes),a.aaPlanId,a.categoryManagementContractVehicle,a.estimatedCostRange,a.projectType,a.geographicalCodes?a.geographicalCodes.replace(/(<([^>]+)>)/gi,""):a.geographicalCodes,a.coCreation?a.coCreation.replace(/(<([^>]+)>)/gi,""):a.coCreation,a.anticipatedReleaseDate,a.anticipatedAwardDate,a.awardLength,a.smallBusinessSetAside,a.eligibilityCriteria,a.solicitationNumber,a.aaSpecialist,a.fiscalYearofAction,a.location])}en(t)},cn=function(){var e=Object(d.a)(l.a.mark((function e(n){var a;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=Object(L.b)(f),e.next=3,V.a.delete(Object(L.f)("/api/pipeline/".concat(t,"/forecast/").concat(n.id),{useDedicatedEnvironment:!0}),a).then((function(e){var t=Object(ee.a)(A.filter((function(e){return e.id!==n.id})));B(t.length),w(t),Ze&&Ze.current.show({severity:"success",summary:"Removed",detail:"Removed '".concat(n.title,"' from my list")})})).catch((function(e){console.error(e),Ze&&Ze.current.show({severity:"error",summary:"Error",detail:"Error removing '".concat(n.title,"' from my list")})}));case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),on=Object(ee.a)(A),sn=function(){var e=Object(d.a)(l.a.mark((function e(n){var a,r,c,o,s;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(a=n.columnProps,r=a.rowData,c=a.rowIndex,o=on[c].notes,s=Ce.find((function(e){return e.id===r.id})),!(s&&s.note===o)){e.next=6;break}return e.abrupt("return");case 6:if(i){e.next=8;break}return e.abrupt("return");case 8:return e.next=10,V.a.post(Object(L.f)("/api/pipeline/".concat(t,"/forecast/note"),{useDedicatedEnvironment:!0}),{businessForecastId:r.id,value:o},Object(L.c)(f)).then((function(e){var t=Object(ee.a)(A);if(t[c].notes=o,w(t),s){var n=Object(ee.a)(Ce),a=n.find((function(e){return e.id===s.id}));a&&(a.note=o),Ae(n)}Ze&&Ze.current&&Ze.current.show({severity:"success",summary:"Note Updated",detail:"Finished updating notes for '".concat(r.title,"'")})})).catch((function(e){console.error("Error updating note",e),Ze&&Ze.current&&Ze.current.show({severity:"error",summary:"Error updating note",detail:"Here Unable to update note for '".concat(r.title,"'")}),dn(n)}));case 10:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),ln=function(){var e=Object(d.a)(l.a.mark((function e(n){var a,r,c,o,s;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(a=n.columnProps,r=a.rowData,c=a.rowIndex,o=on[c].customColumn,s=ke.find((function(e){return e.id===r.id})),!(s&&s.customColumn===o)&&null!==o){e.next=6;break}return e.abrupt("return");case 6:if(i){e.next=8;break}return e.abrupt("return");case 8:return e.next=10,V.a.post(Object(L.f)("/api/pipeline/".concat(t,"/forecast/customcolumn"),{useDedicatedEnvironment:!0}),{businessForecastId:r.id,value:o},Object(L.c)(f)).then((function(){var e=Object(ee.a)(A);if(e[c].customColumn=o,w(e),s){var t=Object(ee.a)(ke),n=t.find((function(e){return e.id===s.id}));n&&(n.customColumn=o),Te(t)}Ze&&Ze.current&&Ze.current.show({severity:"success",summary:"Custom Column Updated",detail:"Finished updating custom column for '".concat(r.title,"'")})})).catch(Object(st.b)((function(e){Ze.current.show({severity:"error",summary:"Error",detail:e,sticky:!0}),un(n)})));case 10:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),dn=function(e){var t=e.rowIndex,n=e.rowData,a=(Ce.find((function(e){return e.id===n.id}))||{}).note||"",r=Object(ee.a)(A);r[t].notes=a,w(r)},un=function(e){var t=e.rowIndex,n=e.rowData,a=(ke.find((function(e){return e.id===n.id}))||{}).customColumn||"",r=Object(ee.a)(A);r[t].customColumn=a,w(r)},pn=function(e){var t=e.record,n=Object(S.jsx)(ut.e,{remove:function(){return cn(t)}});return Object(S.jsx)("div",{style:{display:"flex",justifyContent:"center"},children:n})},bn=function(){var e=Object(d.a)(l.a.mark((function e(){var n,a,r,i;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Ct.a.fire({title:"Edit Column Name",html:'\n '),focusConfirm:!1,showCancelButton:!0,preConfirm:function(){return[document.getElementById("columnName").value]}});case 2:if(n=e.sent,(a=n.value)&&a.length){e.next=6;break}return e.abrupt("return");case 6:return r=Object(o.a)(a,1),i=r[0],e.next=9,V.a.put(Object(L.f)("/api/pipeline/".concat(t,"/columnName"),{useDedicatedEnvironment:!0}),{columnName:i,type:"businessforecast"},Object(L.b)(f)).then((function(){Xe(i)})).catch((function(e){console.error("error setting contract custom column name",e),Ze.current.show({severity:"error",summary:"Error setting column name"})}));case 9:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),jn=Object(S.jsxs)("div",{children:[Ve&&Object(S.jsx)("div",{children:Object(S.jsx)(le.Button,{icon:"pi pi-chevron-right",onClick:function(){return Qe(!1)}})}),!Ve&&Object(S.jsxs)("div",{style:{display:"flex",justifyContent:"center"},children:[Object(S.jsx)("div",{style:{alignSelf:"center",marginRight:10},children:"Notes"}),Object(S.jsx)(le.Button,{icon:"pi pi-chevron-left",onClick:function(){return Qe(!0)}})]})]}),mn=r.a.useState(""),fn=Object(o.a)(mn,2),hn=fn[0],On=fn[1],gn=r.a.useState(""),xn=Object(o.a)(gn,2),vn=xn[0],yn=xn[1],Cn=r.a.useState(""),An=Object(o.a)(Cn,2),wn=An[0],Sn=An[1],Nn=r.a.useState(!1),En=Object(o.a)(Nn,2),In=En[0],Dn=En[1];r.a.useEffect((function(){var e=function(e){if(e.target.matches(".suggestions_description")||e.target.matches(".primeOrIncumbent")||e.target.matches(".quarterlyCallNotes")){var t="P"===e.target.nodeName?e.target:e.target.querySelector("p");if(t){var n=t.attributes["data-full-abstract"].value;n&&(e.target.matches(".primeOrIncumbent")&&On("Suggested Primes/Partners"),e.target.matches(".quarterlyCallNotes")&&On("Quarterly Forecast Q&A and Notes"),e.target.matches(".suggestions_description")&&On(t.attributes["data-title"].value),yn(n),"Forecast"!==wn&&Sn("Forecast"))}}};return document.addEventListener("click",e,!1),function(){document.removeEventListener("click",e,!1),Sn("")}}),[]);var Fn=Object(j.h)(f,j.b.plusOrHigher),kn=Object(j.h)(f,j.b.proOrHigher),Tn=Fn||kn,Rn=r.a.useContext(m.a),Pn=Object(S.jsxs)(S.Fragment,{children:[Object(S.jsx)("span",{style:{font:Rn.v2Fonts.context,verticalAlign:"middle"},children:Object(S.jsx)(sr.a,{tooltipText:"You can share opportunity via email"})}),"\xa0"]}),Mn=r.a.useState(0),Un=Object(o.a)(Mn,2),Ln=Un[0],Bn=Un[1],Vn=r.a.useState([]),Qn=Object(o.a)(Vn,2),Wn=Qn[0],Hn=Qn[1],zn=r.a.useState(""),Gn=Object(o.a)(zn,2),Kn=Gn[0],qn=Gn[1],Xn=r.a.useState([]),Zn=Object(o.a)(Xn,2),Jn=Zn[0],_n=Zn[1],$n=r.a.useState(""),ea=Object(o.a)($n,2),ta=ea[0],na=ea[1],aa=r.a.useMemo((function(){return Wn?Wn.map((function(e){return e.email})).concat(Jn):Jn}),[Wn,Jn]),ra=r.a.useState([]),ia=Object(o.a)(ra,2),ca=ia[0],oa=ia[1],sa=function(){var e=Object(d.a)(l.a.mark((function e(){return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,V.a.get(Object(L.f)("/api/organization/user",{useDedicatedEnvironment:!0}),Object(L.b)(f)).then((function(e){var t,n=e.data,a=null===(t=f.user.parsedIdToken)||void 0===t?void 0:t.email;if(a){var r=n.filter((function(e){var t;return(null===(t=e.email)||void 0===t?void 0:t.toLocaleLowerCase())!==a}));oa(r)}else oa(n)})).catch((function(e){console.error(e),Ze.current&&Ze.current.show({severity:"error",summary:"Unable to load users"})}));case 2:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();r.a.useEffect((function(){sa()}),[]);var la=Object(a.useRef)(null);return Object(S.jsxs)("div",{className:"p-grid p-dir-col",children:[Object(S.jsx)(Ee.a,{dialogHeader:hn,isVisible:"Forecast"===wn,dialogText:vn,setMultiDialogVisible:Sn,multi:!0}),Object(S.jsx)(oi,{children:Object(S.jsx)(oe.OverlayPanel,{ref:la,id:"pipeline-overlay",style:{width:"500px",height:"100%",display:"flex !important"},className:"contract-panel share",children:Object(S.jsxs)("div",{style:{width:"500px",height:"100%",overflowY:"auto"},className:"share-overlay-height",children:[Object(S.jsxs)("div",{className:"share-modal-header",children:["Share opportunity",Object(S.jsx)("i",{onClick:function(){var e;return null===(e=la.current)||void 0===e?void 0:e.hide()},className:"pi pi-times mr-2",style:{fontSize:20,cursor:"pointer"}})]}),Object(S.jsxs)("div",{className:"share-modal-body",children:[Object(S.jsxs)("div",{children:[Object(S.jsx)("p",{children:"Recipients"}),Object(S.jsx)("p",{className:"email-option",children:"External users"}),Object(S.jsxs)("div",{className:"external-users-input",children:[Object(S.jsx)(ce.InputText,{value:Kn,onChange:function(e){qn(e.target.value)}}),Object(S.jsx)("button",{type:"button",className:"add-btn aid-blu-btn",onClick:function(){Kn&&(Object($r.a)(Kn)?(_n([].concat(Object(ee.a)(Jn),[Kn])),qn("")):Ze.current.show({severity:"error",summary:"Invalid email address"}))},children:"+"})]}),Object(S.jsx)("div",{className:"share-users-list",style:{marginBottom:Jn.length?10:0},children:!!Jn.length&&Jn.map((function(e,t){return Object(S.jsx)(be.a,{className:"share-chip",label:e,onIconClick:function(){return function(e){_n(Jn.filter((function(t){return e!==t})))}(e)}},t)}))}),Object(S.jsx)("p",{className:"email-option",children:"Company users"}),Object(S.jsx)(pe.MultiSelect,{optionLabel:"email",filter:!0,className:"share-multiselect",style:si.multiSelect,placeholder:Wn.length+" User(s) selected",fixedPlaceholder:!0,value:Wn,itemTemplate:function(e){return Object(S.jsxs)("div",{className:"share-multiselect-item",children:[(e.firstName||e.lastName)&&Object(S.jsx)("p",{children:e.firstName+" "+e.lastName}),Object(S.jsx)("p",{children:e.email})]})},options:ca,onChange:function(e){return Hn(e.value)}}),Object(S.jsx)("div",{className:"share-users-list",children:!!Wn.length&&Wn.map((function(e,t){var n,a;return Object(S.jsx)(be.a,{className:"share-chip",label:e.firstName||e.lastName?Ne(null!==(n=e.firstName)&&void 0!==n?n:"")+" "+Ne(null!==(a=e.lastName)&&void 0!==a?a:""):e.email,onIconClick:function(){return t=e.publicUserId,void Hn(Wn.filter((function(e){return e.publicUserId!==t})));var t}},t)}))})]}),Object(S.jsxs)("div",{children:[Object(S.jsx)("p",{style:{marginTop:10},children:"Message"}),Object(S.jsx)("textarea",{className:"share-message-text",value:ta,onChange:function(e){return na(e.currentTarget.value)}})]}),Object(S.jsxs)("div",{className:"share-footer",children:[Object(S.jsx)("button",{onClick:function(){var e;return null===(e=la.current)||void 0===e?void 0:e.hide()},children:"Cancel"}),Object(S.jsx)("button",{onClick:function(){var e;if(0!==Wn.length||0!==Jn.length)if(0!==ta.length){if(Wn||Jn){var t=aa.map((function(e){var t={toAdderess:e,opportunityId:Ln,recordType:"F",message:"".concat(ta.replaceAll("\n","
"))};return new Promise((function(e,n){return V.a.post(Object(L.f)("/api/pipeline/share",{useDedicatedEnvironment:!0}),t,Object(L.c)(f)).then((function(){e(!0)})).catch((function(){n()}))}))}));Promise.all(t).then((function(){Ze.current&&Ze.current.show({severity:"success",summary:"Opportunity shared successfully"})})).catch((function(){Ze.current&&Ze.current.show({severity:"error",summary:"Unable to share opportunity"})}))}null===(e=la.current)||void 0===e||e.hide()}else Ze.current.show({severity:"error",summary:"Message field is empty"});else Ze.current.show({severity:"error",summary:"Please specify at least one recipient"})},children:"Share"})]})]})]})})}),Object(S.jsxs)(ne.DataTable,{value:A,globalFilter:me,style:{marginTop:20,width:"".concat($e-20,"px")},paginator:!0,rows:T,totalRecords:U,lazy:!0,first:H,onPage:Ft,loading:I,sortField:K,sortOrder:J,onSort:function(e){q(e.sortField),_(e.sortOrder),Ft({first:H,rows:T,sort:Object(u.a)({},e),keyword:me})},scrollable:!0,scrollHeight:"400px",editMode:"cell",ref:Tt,header:nn,exportFilename:"Aidkonekt_forecast_plus_".concat((new Date).getFullYear()),paginatorTemplate:"FirstPageLink PrevPageLink PageLinks NextPageLink LastPageLink CurrentPageReport RowsPerPageDropdown",currentPageReportTemplate:"Showing {first} to {last} of {totalRecords} entries",rowsPerPageOptions:lt.b,expandedRows:ge,onRowToggle:function(e){return xe(e.data)},rowExpansionTemplate:function(e){return Object(S.jsx)(li,{record:e,pipelineId:t,popoverProps:{dialogHeader:hn,dialogText:vn,isVisible:In,setDialogVisible:Dn}})},children:[Object(S.jsx)(re.Column,{headerStyle:h.headerStyle(40),style:h.columnStyle(40),expander:!0}),n&&i&&Object(S.jsx)(re.Column,{field:"isMyList",header:"Actions",sortable:!0,headerStyle:h.headerStyle(100),style:h.columnStyle(100),body:function(e){return Object(S.jsx)(pn,{record:e})}}),Object(S.jsx)(re.Column,{headerStyle:h.headerStyle(80),style:h.columnStyle(80),bodyClassName:"share",header:"usaid.gov link",field:"link",body:function(e){return Object(S.jsx)("div",{children:e.rawRecord.forecast.status!==ni.finalRecord?Object(S.jsx)("a",{target:"_blank",href:"https://www.usaid.gov/node/".concat(e.rawRecord.forecast.id),rel:"noreferrer",children:"link"}):Object(S.jsx)(S.Fragment,{})})}}),Tn&&Object(S.jsx)(re.Column,{headerStyle:h.headerStyle(150),style:h.columnStyle(150),bodyClassName:"share",header:Pn,field:"share",body:function(e){return Object(S.jsx)("div",{children:Object(S.jsxs)("button",{className:"share-btn",onClick:function(){var t;Bn(e.rawRecord.forecast.rowId),Hn([]),qn(""),_n([]),na(""),null===(t=la.current)||void 0===t||t.toggle(e)},children:[Object(S.jsx)("svg",{width:"15",height:"12",viewBox:"0 0 15 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:Object(S.jsx)("path",{d:"M15 4.60063L9.23147 0V2.20024C7.21594 2.38887 0.0446832 3.64493 0 12C0 12 1.73858 6.73656 9.23147 6.54326V9.20148L15 4.60063Z",fill:"white"})}),Object(S.jsx)("span",{children:"Share"})]})})}}),Object(S.jsx)(re.Column,{field:Ve?"":"notes",header:jn,headerStyle:Object(u.a)(Object(u.a)({},h.headerStyle(Ve?50:350)),h.primeColumnStyle),body:function(e){var t;return Object(S.jsx)(ii,{text:null!==(t=e.notes)&&void 0!==t?t:"",showMoreInPopup:wt})},style:h.columnStyle(Ve?50:350),editor:Ve?void 0:function(e){var t=e.rowIndex;return Object(S.jsx)("textarea",{disabled:!i,autoFocus:!0,defaultValue:A[t].notes||on[t].notes,className:"notesTextarea",onChange:function(e){return n=e.target.value,void(on[t].notes=n);var n}})},onEditorSubmit:sn,onEditorCancel:dn,onEditorInit:function(){bt(!1)},editorValidator:function(e){var t=e.originalEvent.srcElement;return e.originalEvent.stopImmediatePropagation(),!t||"notesTextarea"!==t.className}}),Object(S.jsx)(re.Column,{field:ze?"":"customColumn",header:Object(S.jsxs)("div",{children:[ze&&Object(S.jsx)("div",{children:Object(S.jsx)(le.Button,{icon:"pi pi-chevron-right",onClick:function(){return Ye(!1)}})}),!ze&&Object(S.jsxs)("div",{style:{display:"flex",justifyContent:"center"},children:[Object(S.jsx)("div",{style:{alignSelf:"center",marginRight:10},children:qe}),Object(S.jsx)(le.Button,{icon:"pi pi-chevron-left",style:{marginRight:10},onClick:function(){return Ye(!0)}}),Object(S.jsx)(le.Button,{icon:"pi pi-pencil",onClick:bn})]})]}),headerStyle:Object(u.a)(Object(u.a)({},h.headerStyle(ze?50:350)),h.primeColumnStyle),style:h.columnStyle(ze?50:350),editor:ze?void 0:function(e){var t=e.rowIndex;return Object(S.jsx)("input",{disabled:!i,type:"text",defaultValue:A[t].customColumn||on[t].customColumn,ref:tt,className:"customColumn",style:{borderRadius:"10px",height:"35px",border:"1px solid #187ab5"},onChange:function(e){return n=e.target.value,void(on[t].customColumn=n);var n}})},onEditorSubmit:ln,onEditorCancel:function(e){var t=e.rowIndex,n=e.rowData,a=(ke.find((function(e){return e.id===n.id}))||{}).customColumn||"",r=Object(ee.a)(A);r[t].customColumn=a,w(r)},onEditorInit:function(){bt(!1)},body:function(e){var t;return Object(S.jsx)(ii,{text:null!==(t=e.customColumn)&&void 0!==t?t:"",showMoreInPopup:wt})},editorValidator:function(e){var t=e.originalEvent.srcElement;return e.originalEvent.stopImmediatePropagation(),!t||"customColumn"!==t.className}}),Object(S.jsx)(re.Column,{field:"myListStatus",header:"Status (*)",headerStyle:h.headerStyle(100),style:h.columnStyle(100),sortable:!0,body:function(e){return di(e)},editor:function(e){return Object(S.jsx)(kt,Object(u.a)({pipelineId:t,isPipelineOwner:i},e))}}),Object(S.jsx)(re.Column,{field:"country",header:"Country/Office",sortable:!0,headerStyle:h.headerStyle(120),style:Object(u.a)({},h.columnStyle(120))}),Object(ct.b)(h,350,(function(e){return Object(S.jsx)("span",{dangerouslySetInnerHTML:{__html:e.title}})}),(function(){return"Name"}),"Title",250,!0,"title"),Object(S.jsx)(re.Column,{field:"recordType",header:"Type",headerStyle:h.headerStyle(100),style:h.columnStyle(100),sortable:!0,body:function(e){return e.recordType===ni.newRecord||e.recordType===ni.modifiedRecord?"Active":"Closed"}}),Object(S.jsx)(re.Column,{field:"createdOnDate",header:"Date Record Created/Changed",sortable:!0,headerStyle:h.headerStyle(150),style:Object(u.a)({},h.columnStyle(150)),body:function(e){return Object(gr.a)(Object(xr.a)(e.createdOnDate+"Z"))}}),Object(ct.b)(h,550,(function(e){return Object(S.jsx)("p",{className:"suggestions_description","data-title":e.title,"data-full-abstract":e.description,dangerouslySetInnerHTML:{__html:e.description&&e.description.length>100?"".concat(Object(Yn.a)(e.description).substring(0,100),"..."):e.description},onClick:function(){On(e.solicitationNumber),yn(e.description),Sn("Forecast")}})}),(function(e){return e.title}),"Description",250,!0,"description"),Object(S.jsx)(re.Column,{field:"primeOrIncumbent",header:"Suggested Primes/Partners",sortable:!0,body:function(e){return Object(S.jsx)("p",{className:"forecast_description","data-title":e.title,"data-full-abstract":e.primeOrIncumbent,dangerouslySetInnerHTML:{__html:e.primeOrIncumbent&&Object(Yn.a)(e.primeOrIncumbent).length>100?"".concat(e.primeOrIncumbent.substring(0,100),"..."):e.primeOrIncumbent},onClick:function(){On(e.title),yn(e.primeOrIncumbent),Sn("Forecast")}})},headerStyle:h.headerStyle(650),style:Object(u.a)({},h.columnStyle(650)),className:"primeOrIncumbent"}),Object(S.jsx)(re.Column,{field:"quarterlyCallNotes",header:"Quarterly Forecast Q&A and Notes",sortable:!0,body:function(e){return Object(S.jsx)("p",{className:"forecast_description","data-title":e.title,"data-full-abstract":e.quarterlyCallNotes,dangerouslySetInnerHTML:{__html:e.quarterlyCallNotes&&Object(Yn.a)(e.quarterlyCallNotes).length>100?"".concat(e.quarterlyCallNotes.substring(0,100),"..."):e.quarterlyCallNotes},onClick:function(){On(e.title),yn(e.quarterlyCallNotes),Sn("Forecast")}})},headerStyle:h.headerStyle(650),style:Object(u.a)({},h.columnStyle(650)),className:"quarterlyCallNotes"}),Object(S.jsx)(re.Column,{field:"sector",header:"Sector",sortable:!0,headerStyle:h.headerStyle(250),style:Object(u.a)({},h.columnStyle(250))}),Object(S.jsx)(re.Column,{field:"aaPlanId",header:"ID",sortable:!0,headerStyle:h.headerStyle(140),style:Object(u.a)({},h.columnStyle(140)),bodyClassName:"aaplanid",exportable:!0}),Object(S.jsx)(re.Column,{field:"categoryManagementContractVehicle",header:"Category Management Contract Vehicle",sortable:!0,headerStyle:h.headerStyle(250),style:Object(u.a)({},h.columnStyle(250)),bodyClassName:"categorymanagementcontractvehicle",exportable:!0}),Object(S.jsx)(re.Column,{field:"estimatedCostRange",header:"Cost",sortable:!0,headerStyle:h.headerStyle(100),style:Object(u.a)({},h.columnStyle(100))}),Object(S.jsx)(re.Column,{field:"projectType",header:"Award/Action Type",sortable:!0,headerStyle:h.headerStyle(200),style:Object(u.a)({},h.columnStyle(200))}),Object(S.jsx)(re.Column,{field:"geographicalCodes",header:ri(),sortable:!0,body:function(e){return Object(S.jsx)("span",{dangerouslySetInnerHTML:{__html:e.geographicalCodes}})},headerStyle:h.headerStyle(250),style:Object(u.a)({},h.columnStyle(250)),bodyClassName:"geographicalcodes",exportable:!0}),Object(S.jsx)(re.Column,{field:"coCreation",header:"Co-creation",sortable:!0,body:function(e){return Object(S.jsx)("span",{dangerouslySetInnerHTML:{__html:e.coCreation}})},headerStyle:h.headerStyle(250),style:Object(u.a)({},h.columnStyle(250)),bodyClassName:"cocreationparsed",exportable:!0}),Object(S.jsx)(re.Column,{field:"anticipatedReleaseDate",header:"Anticipated Release Date",sortable:!0,body:function(e){return Object(gr.a)(Object(xr.a)(e.anticipatedReleaseDate))},headerStyle:h.headerStyle(150),style:Object(u.a)({},h.columnStyle(150))}),Object(S.jsx)(re.Column,{field:"anticipatedAwardDate",header:"Anticipated Award Date",sortable:!0,body:function(e){return Object(gr.a)(Object(xr.a)(e.anticipatedAwardDate))},headerStyle:h.headerStyle(150),style:Object(u.a)({},h.columnStyle(150))}),Object(S.jsx)(re.Column,{field:"awardLength",header:"Award Length",sortable:!0,headerStyle:h.headerStyle(150),style:Object(u.a)({},h.columnStyle(150)),bodyClassName:"awardlength",exportable:!0}),Object(S.jsx)(re.Column,{field:"smallBusinessSetAside",header:"Small Business Set-Aside",sortable:!0,headerStyle:h.headerStyle(150),style:Object(u.a)({},h.columnStyle(150))}),Object(S.jsx)(re.Column,{field:"eligibilityCriteria",header:"Eligibility Criteria",sortable:!0,headerStyle:h.headerStyle(250),style:Object(u.a)({},h.columnStyle(250)),bodyClassName:"eligibilitycriteria",exportable:!0}),Object(S.jsx)(re.Column,{field:"solicitationNumber",header:"Solicitation Number",sortable:!0,headerStyle:h.headerStyle(250),style:Object(u.a)({},h.columnStyle(250)),bodyClassName:"solicitationnumber",exportable:!0}),Object(S.jsx)(re.Column,{field:"aaSpecialist",header:"A&A Specialist",sortable:!0,headerStyle:h.headerStyle(250),style:Object(u.a)({},h.columnStyle(250)),bodyClassName:"aaspecialist",exportable:!0}),Object(S.jsx)(re.Column,{field:"fiscalYearofAction",header:"Fiscal Year of Action",sortable:!0,headerStyle:h.headerStyle(250),style:Object(u.a)({},h.columnStyle(250)),bodyClassName:"fiscalyearofaction",exportable:!0}),Object(S.jsx)(re.Column,{field:"location",header:"Location",sortable:!0,headerStyle:h.headerStyle(250),style:Object(u.a)({},h.columnStyle(250)),bodyClassName:"location",exportable:!0})]}),Object(S.jsx)("div",{ref:At,onMouseOver:function(){bt(!0)},style:{top:null!==ft&&void 0!==ft?ft:"500px",left:null!==vt&&void 0!==vt?vt:"400px"},onMouseLeave:function(){bt(!1)},className:pt?"element-tooltip visible":"element-tooltip hidden",children:Object(S.jsx)("div",{children:Object(S.jsx)("p",{className:"tooltip-body",children:rt})})})]})}function pi(e){var t=e.decrement,n=e.isRemove,i=e.id,c=e.isPipelineScreen,s=e.isPipelineOwner,b=e.setRefreshForecastData,m=Object(a.useContext)(j.d),f=Object(ie.a)(),h=Object(p.g)(),O=Object(a.useState)(Array()),g=Object(o.a)(O,2),x=g[0],v=g[1],y=Object(a.useState)(!1),C=Object(o.a)(y,2),A=C[0],w=C[1],N=Object(a.useState)(20),E=Object(o.a)(N,2),I=E[0],D=E[1],F=r.a.useState(0),k=Object(o.a)(F,2),T=k[0],R=k[1],P=r.a.useState(0),M=Object(o.a)(P,2),U=M[0],B=M[1],Q=r.a.useState(""),W=Object(o.a)(Q,2),H=W[0],z=W[1],Y=r.a.useState(0),G=Object(o.a)(Y,2),K=G[0],q=G[1],X=r.a.useState(""),Z=Object(o.a)(X,2),J=(Z[0],Z[1]),_=r.a.useContext(se.a),$=r.a.useState(0),te=Object(o.a)($,2),ae=te[0],ce=te[1],oe=h.location.pathname;r.a.useEffect((function(){function e(){var e=Object(Ot.a)(),t=e.nestedWidth,n=e.headerWidth;t&&n&&ce(t-n)}return le({first:U,rows:I}),e(),window.addEventListener("resize",e),function(){return window.removeEventListener("resize",e)}}),[]);var le=function(){var e=Object(d.a)(l.a.mark((function e(t){var n;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:w(!0),n="/api/businessforecast/mysuggestions",e.t0=oe,e.next=e.t0==="/pipeline/".concat(i)?5:"/mybids"===e.t0?7:9;break;case 5:return n="/api/pipeline/".concat(i,"/forecast/suggestion"),e.abrupt("break",10);case 7:return J(n),e.abrupt("break",10);case 9:return e.abrupt("break",10);case 10:return D(t.rows),B(t.first),e.next=14,V.a.post(Object(L.f)(n,{useDedicatedEnvironment:!0}),{sortField:t.sort?t.sort.sortField:H,sortOrder:t.sort?t.sort.sortOrder:K,rowsPerPage:t.rows,pageIndex:t.first/t.rows},Object(L.c)(m)).then((function(e){var t=e.data,n=t.data,a=t.totalItems;R(a);var r=n.map((function(e){return{id:e.forecast.id,recordType:e.forecast.status,changedColumns:e.forecast.changedColumns,isMyList:e.userEdits.isMyList,title:e.forecast.awardTitle,createdOnDate:e.forecast.createdOn,description:e.forecast.awardDescription,primeOrIncumbent:e.enhancements.primeOrIncumbent,quarterlyCallNotes:e.enhancements.quarterlyCallNotes,estimatedCostRange:e.forecast.totalEstimatedCost,projectType:e.forecast.awardActionType,anticipatedReleaseDate:e.forecast.anticipatedSolicitationReleaseDate,anticipatedAwardDate:e.forecast.anticipatedAwardDate,smallBusinessSetAside:e.forecast.smallBusinessSetAside,sector:e.forecast.sector,country:e.forecast.country,myListStatus:ai.default,notes:"",customColumn:"",rawRecord:e,aaPlanId:e.forecast.aaPlanId,fiscalYearofAction:e.forecast.fiscalYearofAction,aaSpecialist:e.forecast.aaSpecialist,awardLength:e.forecast.awardLength,eligibilityCriteria:e.forecast.eligibilityCriteria,geographicalCodes:e.forecast.geographicalCodes,categoryManagementContractVehicle:e.forecast.categoryManagementContractVehicle,solicitationNumber:e.forecast.solicitationNumber,coCreation:e.forecast.coCreation,location:e.forecast.location}}));v(r),w(!1)})).catch(Object(st.b)((function(e){_.current.show({severity:"error",sticky:!0,summary:"Export quota reached",detail:e}),w(!1)})));case 14:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),de=r.a.useRef(null);r.a.useEffect((function(){n&&ue()}),[n]);var ue=function(){var e=Object(d.a)(l.a.mark((function e(){var n;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=Object(L.b)(m),e.next=3,V.a.delete(Object(L.f)(i?"/api/pipeline/".concat(i,"/forecast/suggestion"):"/api/businessforecast/mysuggestions",{useDedicatedEnvironment:!0}),n).then((function(){v([]),R(0),D(0),t()})).catch(Object(st.b)((function(e){return _.current.show({severity:"error",summary:"Error",detail:e,sticky:!0})})));case 3:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),pe=function(){var e=Object(d.a)(l.a.mark((function e(n,a){var r;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=Object(L.b)(m),e.next=3,V.a.delete(Object(L.f)("/api/pipeline/".concat(a,"/forecast/suggestion/").concat(n.rawRecord.forecast.id),{useDedicatedEnvironment:!0}),r).then((function(){var e=Object(ee.a)(x).filter((function(e){return e.id!==n.id}));v(e),R(T-1),D(I-1),t(),_.current.show({severity:"success",summary:"Ignored",detail:"Ignored forecast '".concat(n.title,"'")})})).catch(Object(st.b)((function(e){return _.current.show({severity:"error",summary:"Error",detail:e,sticky:!0})})));case 3:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),be=Object(S.jsxs)(S.Fragment,{children:[Object(S.jsx)(sr.a,{tooltipText:"Click \u201c+\u201d to add the opportunity to your relevant pipeline below. The MyBids page will regularly check for updates and will note changes to your opportunities in your AidKonekt email. If you click \u201c-\u201d to ignore, the opportunity will be removed from this queue, but you will still be able to search for it under the relevant \u201cPipelines\u201d subsection."}),"\xa0",Object(S.jsx)("span",{children:"Add/Ignore"})]}),je=r.a.useState(""),me=Object(o.a)(je,2),fe=me[0],he=me[1],Oe=r.a.useState(""),ge=Object(o.a)(Oe,2),xe=ge[0],ve=ge[1],ye=r.a.useState(!1),Ce=Object(o.a)(ye,2),Ae=Ce[0],we=Ce[1];r.a.useEffect((function(){function e(e){if(e.target.matches(".forecast_description")){var t="P"===e.target.nodeName?e.target:e.target.querySelector("p"),n=t.attributes["data-full-abstract"].value;n&&(he(t.attributes["data-title"].value),ve(n),we(!0))}}return document.addEventListener("click",e,!1),function(){document.removeEventListener("click",e,!1)}}),[]);var Se=r.a.useState(!1),Ne=Object(o.a)(Se,2),Ie=Ne[0],ke=Ne[1],Te=r.a.useState(!1),Re=Object(o.a)(Te,2),Pe=Re[0],Me=Re[1],Ue=function(){var e=Object(d.a)(l.a.mark((function e(){var t,n;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t="/api/businessforecast/mysuggestions",e.t0=oe,e.next=e.t0==="/pipeline/".concat(i)?4:"/mybids"===e.t0?6:8;break;case 4:return t="/api/pipeline/".concat(i,"/forecast/suggestion"),e.abrupt("break",9);case 6:return J(t),e.abrupt("break",9);case 8:return e.abrupt("break",9);case 9:n=Array(),e.t1=oe,e.next=e.t1==="/pipeline/".concat(i)?13:16;break;case 13:return e.next=15,V.a.post(Object(L.f)(t,{useDedicatedEnvironment:!0}),{sortField:H,sortOrder:K,rowsPerPage:1e3},Object(L.c)(m)).then((function(e){var t=e.data.data.map((function(e){return{id:e.forecast.id,recordType:e.forecast.status,changedColumns:e.forecast.changedColumns,isMyList:e.userEdits.isMyList,title:e.forecast.awardTitle,createdOnDate:e.forecast.createdOn,description:e.forecast.awardDescription,primeOrIncumbent:Object(Yn.b)(e.enhancements.primeOrIncumbent),quarterlyCallNotes:Object(Yn.b)(e.enhancements.quarterlyCallNotes),estimatedCostRange:e.forecast.totalEstimatedCost,projectType:e.forecast.awardActionType,anticipatedReleaseDate:e.forecast.anticipatedSolicitationReleaseDate,anticipatedAwardDate:e.forecast.anticipatedAwardDate,smallBusinessSetAside:e.forecast.smallBusinessSetAside,sector:e.forecast.sector,country:e.forecast.country,myListStatus:e.userEdits.myListStatus,notes:e.userEdits.notes||"",customColumn:e.userEdits.customColumn||"",rawRecord:e,aaPlanId:e.forecast.aaPlanId,fiscalYearofAction:e.forecast.fiscalYearofAction,aaSpecialist:e.forecast.aaSpecialist,awardLength:e.forecast.awardLength,eligibilityCriteria:e.forecast.eligibilityCriteria,geographicalCodes:Object(Yn.b)(e.forecast.geographicalCodes),categoryManagementContractVehicle:e.forecast.categoryManagementContractVehicle,solicitationNumber:e.forecast.solicitationNumber,coCreation:Object(Yn.b)(e.forecast.coCreation),location:e.forecast.location}}));n=t})).catch((function(e){alert("error fetching data")}));case 15:return e.abrupt("return",n);case 16:return e.next=18,V.a.post(Object(L.f)(t,{useDedicatedEnvironment:!0}),{sortField:H,sortOrder:K},Object(L.c)(m)).then((function(e){var t=e.data.data.map((function(e){return{id:e.forecast.id,recordType:e.forecast.status,changedColumns:e.forecast.changedColumns,isMyList:e.userEdits.isMyList,title:e.forecast.awardTitle,createdOnDate:e.forecast.createdOn,description:e.forecast.awardDescription,primeOrIncumbent:Object(Yn.b)(e.enhancements.primeOrIncumbent),quarterlyCallNotes:Object(Yn.b)(e.enhancements.quarterlyCallNotes),estimatedCostRange:e.forecast.totalEstimatedCost,projectType:e.forecast.awardActionType,anticipatedReleaseDate:e.forecast.anticipatedSolicitationReleaseDate,anticipatedAwardDate:e.forecast.anticipatedAwardDate,smallBusinessSetAside:e.forecast.smallBusinessSetAside,sector:e.forecast.sector,country:e.forecast.country,myListStatus:e.userEdits.myListStatus,notes:e.userEdits.notes||"",customColumn:e.userEdits.customColumn||"",rawRecord:e,aaPlanId:e.forecast.aaPlanId,fiscalYearofAction:e.forecast.fiscalYearofAction,aaSpecialist:e.forecast.aaSpecialist,awardLength:e.forecast.awardLength,eligibilityCriteria:e.forecast.eligibilityCriteria,geographicalCodes:Object(Yn.b)(e.forecast.geographicalCodes),categoryManagementContractVehicle:e.forecast.categoryManagementContractVehicle,solicitationNumber:e.forecast.solicitationNumber,coCreation:Object(Yn.b)(e.forecast.coCreation),location:e.forecast.location}}));n=t})).catch((function(e){alert("error fetching data")}));case 18:return e.abrupt("return",n);case 19:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),Le=function(e){var t=[{name:"Country/Office"},{name:"Title"},{name:"Type"},{name:"Date record created/changed"},{name:"Description"},{name:"Sector"},{name:"Suggested Primes/Partners"},{name:"Quarterly Forecast Q&A and Notes"},{name:"ID"},{name:"Category Management Contract Vehicle"},{name:"Cost"},{name:"Award/Action Type"},{name:"Geographical Codes"},{name:"Co-creation"},{name:"Anticipated Release Date"},{name:"Anticipated Award Date"},{name:"Award Length"},{name:"Small Business Set-Aside"},{name:"Eligibility Criteria"},{name:"Solicitation Number"},{name:"A&A Specialist"},{name:"Fiscal Year of Action"},{name:"Location"}],n=[];if(0==e.length)n.push(Object(De.d)(t.length));else for(var a=0;a]+)>)/gi,""),r.sector,r.primeOrIncumbent?r.primeOrIncumbent.replace(/(<([^>]+)>)/gi,""):r.primeOrIncumbent,r.quarterlyCallNotes?r.quarterlyCallNotes.replace(/(<([^>]+)>)/gi,""):r.quarterlyCallNotes,r.aaPlanId,r.categoryManagementContractVehicle,r.estimatedCostRange,r.projectType,r.geographicalCodes?r.geographicalCodes.replace(/(<([^>]+)>)/gi,""):r.geographicalCodes,r.coCreation?r.coCreation.replace(/(<([^>]+)>)/gi,""):r.coCreation,r.anticipatedReleaseDate,r.anticipatedAwardDate,r.awardLength,r.smallBusinessSetAside,Object(Yn.b)(r.eligibilityCriteria),r.solicitationNumber,r.aaSpecialist,r.fiscalYearofAction,r.location])}return Object(De.b)("MyBidsExport",t,n)},Be=Object(S.jsxs)("div",{className:"p-grid p-justify-end p-align-center",children:[Object(S.jsx)("div",{className:"p-col topLeftColumnHeader topRightColumnHeader",style:{textAlign:"left"},children:Object(S.jsx)("div",{className:"p-col"})}),Object(S.jsxs)("div",{className:"p-sm-12 p-md-12 p-lg-4 p-xl-6 p-justify-end p-grid p-align-center buttonsHeader",children:[Object(S.jsx)("div",{className:"button-export",children:Object(S.jsx)(Fe.Button,{type:"button",icon:"pi pi-file-excel",className:"aid-blu-btn",style:Object(u.a)(Object(u.a)({},f.tableHeaderButton),{},{height:"auto"}),tooltip:"Excel",tooltipOptions:{position:"top"},disabled:Pe,onClick:Object(d.a)(l.a.mark((function e(){return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(Me(!0),e.t0=De.e,e.t1="Aidkonekt_mySuggestions_plus_".concat((new Date).getFullYear()),e.t2=Le,!Ue){e.next=10;break}return e.next=7,Ue();case 7:e.t3=e.sent,e.next=11;break;case 10:e.t3=x;case 11:e.t4=e.t3,e.t5=(0,e.t2)(e.t4),(0,e.t0)("MySuggestions+",e.t1,e.t5).then((function(){Me(!1)}));case 14:case"end":return e.stop()}}),e)})))})}),Object(S.jsx)("div",{className:"button-export",children:Object(S.jsx)(Fe.Button,{type:"button",className:"aid-blu-btn",icon:Ie?"pi pi-window-minimize":"pi pi-window-maximize",iconPos:"left",onClick:function(e){Ie?Object(ut.c)(e.target):Object(ut.b)(e.target,(function(){return ke(!1)})),ke(!Ie)},tooltip:Ie?"Minimize":"Maximize",tooltipOptions:{position:"top"},style:Object(u.a)(Object(u.a)({},f.tableHeaderButton),{},{height:"auto"})})})]})]});return Object(S.jsxs)("div",{className:"p-grid p-dir-col",children:[Object(S.jsx)(Ee.a,{dialogHeader:fe,isVisible:Ae,dialogText:xe,setDialogVisible:we}),Object(S.jsxs)(ne.DataTable,{value:x,style:{marginTop:20,width:"".concat(ae-60,"px")},paginator:!0,rows:I,totalRecords:T,lazy:!0,first:U,onPage:le,header:Be,loading:A,sortField:H,sortOrder:K,onSort:function(e){z(e.sortField),q(e.sortOrder),le({first:U,rows:I,sort:Object(u.a)({},e)})},scrollable:!0,scrollHeight:"400px",ref:de,paginatorTemplate:"FirstPageLink PrevPageLink PageLinks NextPageLink LastPageLink CurrentPageReport RowsPerPageDropdown",currentPageReportTemplate:"Showing {first} to {last} of {totalRecords} entries",rowsPerPageOptions:lt.b,children:[c&&s&&Object(S.jsx)(re.Column,{field:"isMyList",header:be,sortable:!0,headerStyle:f.headerStyle(150),style:f.columnStyle(100),body:function(e){return Object(S.jsxs)("div",{style:{display:"flex",justifyContent:"center"},children:[Object(S.jsx)(ut.a,{add:function(){return function(e){var n=Object(L.b)(m);!function(){var a=Object(d.a)(l.a.mark((function a(){var r;return l.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return a.prev=0,a.next=3,V.a.post(Object(L.f)("/api/pipeline/".concat(i,"/forecast/").concat(e.rawRecord.forecast.id),{useDedicatedEnvironment:!0}),null,n);case 3:r=Object(ee.a)(x).filter((function(t){return t.id!==e.id})),v(r),R(T-1),D(I-1),t(),b&&b(!0),_.current.show({severity:"success",summary:"Suggestion added to My Forecast"}),a.next=15;break;case 12:a.prev=12,a.t0=a.catch(0),_.current.show({severity:"error",summary:"Error removing pipeline from the opportunity"});case 15:case"end":return a.stop()}}),a,null,[[0,12]])})));return function(){return a.apply(this,arguments)}}()()}(e)}}),Object(S.jsx)(ut.e,{remove:function(){return pe(e,i)}})]})}}),Object(S.jsx)(re.Column,{field:"country",header:"Country/Office",sortable:!0,headerStyle:f.headerStyle(150),style:Object(u.a)(Object(u.a)({},f.columnStyle(150)),{},{wordBreak:"break-word"})}),Object(ct.b)(f,350,(function(e){return Object(S.jsx)("span",{dangerouslySetInnerHTML:{__html:e.title}})}),(function(){return"Name"}),"Title",250,!0,"title"),Object(S.jsx)(re.Column,{field:"recordType",header:"Type",headerStyle:f.headerStyle(100),style:f.columnStyle(100),sortable:!0,body:function(e){return e.recordType===ni.newRecord||e.recordType===ni.modifiedRecord?"Active":"Closed"}}),Object(S.jsx)(re.Column,{field:"createdOnDate",header:"Date Record Created/Changed",sortable:!0,headerStyle:f.headerStyle(150),style:Object(u.a)({},f.columnStyle(150)),body:function(e){return Object(gr.a)(Object(xr.a)(e.createdOnDate+"Z"))}}),Object(ct.b)(f,550,(function(e){return Object(S.jsx)("p",{className:"forecast_description","data-title":e.title,"data-full-abstract":e.description,dangerouslySetInnerHTML:{__html:e.description&&e.description.length>100?"".concat(Object(Yn.a)(e.description).substring(0,100),"..."):e.description},onClick:function(){he(e.title),ve(e.description),we(!0)}})}),(function(e){return e.title}),"Description",250,!0,"description"),Object(S.jsx)(re.Column,{field:"sector",header:"Sector",sortable:!0,headerStyle:f.headerStyle(250),style:Object(u.a)({},f.columnStyle(250))}),Object(ct.b)(f,550,(function(e){return Object(S.jsx)("p",{className:"forecast_description","data-title":e.title,"data-full-abstract":e.primeOrIncumbent,dangerouslySetInnerHTML:{__html:e.primeOrIncumbent&&e.primeOrIncumbent.length>100?"".concat(Object(Yn.a)(e.primeOrIncumbent).substring(0,100),"..."):e.primeOrIncumbent},onClick:function(){he(e.title),ve(e.primeOrIncumbent),we(!0)}})}),(function(e){return e.title}),"Suggested Primes/Partners",250,!0,"primeOrIncumbent"),Object(ct.b)(f,550,(function(e){return Object(S.jsx)("p",{className:"forecast_description","data-title":e.title,"data-full-abstract":e.quarterlyCallNotes,dangerouslySetInnerHTML:{__html:e.quarterlyCallNotes&&e.quarterlyCallNotes.length>100?"".concat(Object(Yn.a)(e.quarterlyCallNotes).substring(0,100),"..."):e.quarterlyCallNotes},onClick:function(){he(e.title),ve(e.quarterlyCallNotes),we(!0)}})}),(function(e){return e.title}),"Quarterly Forecast Q&A and Notes",250,!0,"quarterlyCallNotes"),Object(S.jsx)(re.Column,{field:"aaPlanId",header:"ID",sortable:!0,headerStyle:f.headerStyle(250),style:Object(u.a)({},f.columnStyle(250)),bodyClassName:"aaplanid",exportable:!0}),Object(S.jsx)(re.Column,{field:"categoryManagementContractVehicle",header:"Category Management Contract Vehicle",sortable:!0,headerStyle:f.headerStyle(250),style:Object(u.a)({},f.columnStyle(250)),bodyClassName:"categorymanagementcontractvehicle",exportable:!0}),Object(S.jsx)(re.Column,{field:"estimatedCostRange",header:"Cost",sortable:!0,headerStyle:f.headerStyle(100),style:Object(u.a)({},f.columnStyle(100))}),Object(S.jsx)(re.Column,{field:"projectType",header:"Award/Action Type",sortable:!0,headerStyle:f.headerStyle(200),style:Object(u.a)({},f.columnStyle(200))}),Object(S.jsx)(re.Column,{field:"geographicalCodes",header:ri(),sortable:!0,body:function(e){return Object(S.jsx)("p",{dangerouslySetInnerHTML:{__html:e.geographicalCodes}})},headerStyle:f.headerStyle(250),style:Object(u.a)({},f.columnStyle(250)),bodyClassName:"geographicalcodes",exportable:!0}),Object(S.jsx)(re.Column,{field:"coCreation",header:"Co-creation",sortable:!0,body:function(e){return Object(S.jsx)("p",{dangerouslySetInnerHTML:{__html:e.coCreation}})},headerStyle:f.headerStyle(250),style:Object(u.a)({},f.columnStyle(250)),bodyClassName:"cocreationparsed",exportable:!0}),Object(S.jsx)(re.Column,{field:"anticipatedReleaseDate",header:"Anticipated Release Date",sortable:!0,body:function(e){return Object(gr.a)(Object(xr.a)(e.anticipatedReleaseDate))},headerStyle:f.headerStyle(150),style:Object(u.a)({},f.columnStyle(150))}),Object(S.jsx)(re.Column,{field:"anticipatedAwardDate",header:"Anticipated Award Date",sortable:!0,body:function(e){return Object(gr.a)(Object(xr.a)(e.anticipatedAwardDate))},headerStyle:f.headerStyle(150),style:Object(u.a)({},f.columnStyle(150))}),Object(S.jsx)(re.Column,{field:"awardLength",header:"Award Length",sortable:!0,headerStyle:f.headerStyle(250),style:Object(u.a)({},f.columnStyle(250)),bodyClassName:"awardlength",exportable:!0}),Object(S.jsx)(re.Column,{field:"smallBusinessSetAside",header:"Small Business Set-Aside",sortable:!0,headerStyle:f.headerStyle(150),style:Object(u.a)({},f.columnStyle(150))}),Object(S.jsx)(re.Column,{field:"eligibilityCriteria",header:"Eligibility Criteria",sortable:!0,headerStyle:f.headerStyle(250),style:Object(u.a)({},f.columnStyle(250)),bodyClassName:"eligibilitycriteria",exportable:!0}),Object(S.jsx)(re.Column,{field:"solicitationNumber",header:"Solicitation Number",sortable:!0,headerStyle:f.headerStyle(250),style:Object(u.a)({},f.columnStyle(250)),bodyClassName:"solicitationnumber",exportable:!0}),Object(S.jsx)(re.Column,{field:"aaSpecialist",header:"A&A Specialist",sortable:!0,headerStyle:f.headerStyle(250),style:Object(u.a)({},f.columnStyle(250)),bodyClassName:"aaspecialist",exportable:!0}),Object(S.jsx)(re.Column,{field:"fiscalYearofAction",header:"Fiscal Year of Action",sortable:!0,headerStyle:f.headerStyle(250),style:Object(u.a)({},f.columnStyle(250)),bodyClassName:"fiscalyearofaction",exportable:!0}),Object(S.jsx)(re.Column,{field:"location",header:"Location",sortable:!0,headerStyle:f.headerStyle(250),style:Object(u.a)({},f.columnStyle(250)),bodyClassName:"location",exportable:!0})]})]})}n(1302);var bi,ji,mi,fi,hi,Oi,gi,xi,vi,yi=n(180),Ci={location:null===(bi=n(392))||void 0===bi?void 0:bi.default,helmet:null===(ji=n(393))||void 0===ji?void 0:ji.default,number:null===(mi=n(394))||void 0===mi?void 0:mi.default,file:null===(fi=n(395))||void 0===fi?void 0:fi.default,eligible:null===(hi=n(396))||void 0===hi?void 0:hi.default,keyword:null===(Oi=n(352))||void 0===Oi?void 0:Oi.default,calendar:null===(gi=n(353))||void 0===gi?void 0:gi.default,implementor:null===(xi=n(579))||void 0===xi?void 0:xi.default,zip:null===(vi=n(633))||void 0===vi?void 0:vi.default},Ai=te.a.div({zIndex:1e4,top:"1px !important",right:"0px"}),wi={multiSelect:{width:"100%",borderRadius:10},chipsContainer:{marginTop:"5px",display:"flex",flexWrap:"wrap"}},Si=function(e){return!isNaN(e)&&!isNaN(parseFloat(e))},Ni=new Intl.NumberFormat("en-US",{style:"currency",currency:"USD"}),Ei=function(e){return"https://sam.gov/opp/".concat(e,"/view")},Ii=function(e){var t=e.record,n=e.fileKeyword,i=Object(ie.a)(),c=r.a.useContext(j.d),s=r.a.useContext(se.a),p=r.a.useState(Array()),b=Object(o.a)(p,2),m=b[0],f=b[1],h=r.a.useState(!1),O=Object(o.a)(h,2),x=O[0],v=O[1],y=r.a.useState(Array()),C=Object(o.a)(y,2),A=C[0],w=C[1],N=r.a.useState(Array()),E=Object(o.a)(N,2),I=E[0],D=E[1];r.a.useEffect((function(){v(!0);var e=Object(L.b)(c),a="/api/contract/details/".concat(t.contractOpportunityBase_Id).concat(n?"?fileKeyword=".concat(n):"");V.a.get(Object(L.f)(a,{useDedicatedEnvironment:!0}),e).then((function(e){var t=e.data,n=t.map((function(e){return e.files})).reduce((function(e,t){return[].concat(Object(ee.a)(e),Object(ee.a)(t))}),[]).sort((function(e,t){return new Date(e.createdOn||"9999-01-01")t.postedDateIn?1:-1})),r=t.map((function(e){return e.matchingFiles})).reduce((function(e,t){return[].concat(Object(ee.a)(e),Object(ee.a)(t))}),[]);f(a),w(n),D(r),v(!1)})).catch(Object(st.b)((function(){s.current.show({severity:"error",summary:"Error getting details",detail:"Error getting Contract+ details for ".concat(t.id)}),v(!1)})))}),[]);var F=function(e){var t=e.record;return Object(S.jsx)("div",{style:{display:"flex",justifyContent:"center"},children:Object(S.jsx)(ut.d,{openPage:function(){window.open(Ei(t.id),"_blank")}})})},k=r.a.useState(""),T=Object(o.a)(k,2),R=T[0],P=T[1],M=r.a.useState(""),U=Object(o.a)(M,2),B=U[0],Q=U[1],W=r.a.useState(""),H=Object(o.a)(W,2),z=H[0],Y=H[1],G=Object(a.useCallback)((function(e){return Object(S.jsxs)(S.Fragment,{children:[Object(S.jsx)(Ee.a,{dialogHeader:R,isVisible:z===(e.postedDateIn?e.postedDateIn.toString():"date"),dialogText:B,setMultiDialogVisible:Y,multi:!0}),Object(S.jsx)("p",{className:"contacts_description","data-title":e.title,"data-full-abstract":e.description,dangerouslySetInnerHTML:{__html:e.description&&e.description.length>100?"".concat(Object(Yn.a)(e.description).substring(0,100),"..."):e.description},onClick:function(){P(e.title),Q(e.description),Y(e.postedDateIn?e.postedDateIn.toString():"date")}})]})}),[]);if(x)return Object(S.jsx)(Or.ProgressSpinner,{});var K=A.find((function(e){return"link"===e.type}));return Object(S.jsxs)("div",{className:"p-grid p-dir-col",style:{display:"flex",justifyContent:"flex-start",textAlign:"left",margin:15},children:[Object(S.jsxs)("h4",{children:["Files",A.length>0?Object(S.jsxs)(S.Fragment,{children:[Object(S.jsxs)("a",{style:{cursor:"pointer"},onClick:function(){V.a.post(Object(L.f)("/api/contract/details/".concat(t.contractOpportunityBase_Id,"/getzip"),{useDedicatedEnvironment:!0}),{},Object(u.a)(Object(u.a)({},Object(L.b)(c)),{},{responseType:"blob"})).then(function(){var e=Object(d.a)(l.a.mark((function e(t){var n;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:n="export-".concat((new Date).valueOf(),".zip");try{n=t.headers["content-disposition"].split(";")[1].replace("filename=","").replaceAll('"',"").trim()}catch(a){}Object(yi.saveAs)(new Blob([t.data]),n);case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()).catch((function(e){alert("error fetching data")}))},children:[Object(S.jsx)("img",{src:Ci.zip,style:Object(u.a)({marginLeft:15,marginRight:15},i.addRemoveButtonStyle)}),"Download all attachments"]}),K&&Object(S.jsxs)("span",{className:"files-download-links",children:[" ","(it won't download the links)"]})]}):Object(S.jsx)("span",{className:"no-attachments",children:"No attachments have been added to this opportunity"})]}),Object(S.jsx)("div",{style:{width:1024},className:"extended-contact-table",children:Object(S.jsxs)(ne.DataTable,{value:A,children:[Object(ct.a)(i,300,(function(e){return"link"===e.type?Object(S.jsx)("a",{href:"#",style:{paddingLeft:15},onClick:function(t){t.preventDefault(),window.open(e.uri)},children:e.description}):Object(S.jsxs)("a",{href:"#",style:{paddingLeft:15},onClick:function(t){t.preventDefault(),window.open("".concat(g.b).concat(encodeURIComponent(e.name)))},children:[Object(S.jsx)("span",{style:{fontWeight:"bold",fontSize:20},children:I.find((function(t){return t===e.name}))?"* ":""}),e.name]})}),"Name","name"),Object(ct.a)(i,300,(function(e){return Object(ot.b)(e.createdOn,ot.a.dd_MMMM_yyyy_HH_mm)}),"Added Date/Time at UTC","createdOn")]})}),Object(S.jsx)("h4",{children:"Record History"}),Object(S.jsxs)(ne.DataTable,{value:m,scrollHeight:"600px",scrollable:!0,className:"extended-contact-table",children:[Object(ct.a)(i,150,(function(e){return Object(S.jsx)(F,{record:e})}),"Actions","id",{sortable:!1}),Object(ct.a)(i,450,(function(e){return e.title}),"Title","title"),Object(ct.a)(i,100,(function(e){return e.version}),"Version","version"),Object(ct.a)(i,150,(function(e){return e.modifiedDateIn}),"Modified Date","modifiedDateIn"),Object(ct.a)(i,150,(function(e){return e.solicitationNumber}),"Solicitation Number","solicitationNumber"),Object(ct.a)(i,250,(function(e){return e.agencyName}),"Department/Agency","agencyName"),Object(ct.a)(i,150,(function(e){return e.type}),"Contract Opportunity Type","type"),Object(ct.a)(i,150,(function(e){return e.country}),"Country/Office","country"),Object(ct.a)(i,250,(function(e){return e.setAside}),"Set Aside","setAside"),Object(ct.a)(i,250,(function(e){return e.placeOfPerformance}),"Place of Performance","placeOfPerformance"),Object(ct.b)(i,450,G,(function(e){return e.title}),"Description",150,!0,"description"),Object(ct.a)(i,450,(function(e){return e.primeOrIncumbent}),"Likely Bidding Primes or Incumbent","primeOrIncumbent",{additionalHeaderStyles:i.primeColumnStyle}),Object(ct.a)(i,150,(function(e){return e.postedDateIn}),"Original Publish Date","postedDateIn"),Object(ct.a)(i,150,(function(e){return e.solicitationDeadlineResponseIn}),"Solicitation Response Deadline","solicitationDeadlineResponseIn"),Object(ct.a)(i,150,(function(e){return e.classificationCode}),"Product Service Code","classificationCode"),Object(ct.a)(i,150,(function(e){return e.naicsCodes}),"NAICS","naicsCodes"),Object(ct.a)(i,150,(function(e){return e.lastUpdated}),"Last Updated","solicitlastUpdatedationNumber"),Object(ct.a)(i,350,(function(e){var t=e.pointOfContactOne||{fullName:"",email:"",phone:"",fax:""};return Object(S.jsx)("div",{className:"p-grid p-dir-col p-justify-center",children:Object(S.jsxs)("div",{className:"p-col",children:[Object(S.jsx)("div",{children:t.fullName}),Object(S.jsx)("div",{children:t.email}),t.phone&&Object(S.jsx)("div",{children:"Phone: ".concat(t.phone)}),t.fax&&Object(S.jsx)("div",{children:"Fax: ".concat(t.fax)})]})})}),"Contact Info","pointOfContactOne"),Object(ct.a)(i,350,(function(e){var t=e.pointOfContactTwo||{fullName:"",email:"",phone:"",fax:""};return Object(S.jsx)("div",{className:"p-grid p-dir-col p-justify-center",children:Object(S.jsxs)("div",{className:"p-col",children:[Object(S.jsx)("div",{children:t.fullName}),Object(S.jsx)("div",{children:t.email}),t.phone&&Object(S.jsx)("div",{children:"Phone: ".concat(t.phone)}),t.fax&&Object(S.jsx)("div",{children:"Fax: ".concat(t.fax)})]})})}),"Secondary Contact Info","pointOfContactTwo")]})]})};var Di,Fi,ki,Ti,Ri,Pi,Mi,Ui,Li=function(e){var t,n=e.isLoading,i=e.isPipelineScreen,s=e.isPipelineOwner,b=e.pipelineId,m=e.rowsPerPage,f=e.setRowsPerPage,h=e.sortField,O=e.setSortField,g=e.sortOrder,x=e.setSortOrder,v=e.first,y=e.totalRecords,C=e.setTotalRecords,A=e.data,w=e.setData,N=e.lastUpdated,E=e.gridWidth,I=e.originalNotes,D=e.setOriginalNotes,F=e.originalColumns,k=e.setOriginalColumns,T=e.customColumnName,R=e.setCustomColumnName,P=e.isMyContracts,M=e.isMySuggestions,U=e.decrement,B=e.queryData,Q=e.keyword,W=e.setKeyword,H=e.fileKeyword,z=e.getExcelData,Y=e.isRemove,G=e.setRefreshContractsData,K=void 0===G?null:G,q=r.a.useContext(j.d),X=r.a.useContext(se.a),Z=Object(ie.a)(),J=r.a.useState(Array()),_=Object(o.a)(J,2),$=_[0],te=_[1],ae=r.a.useState(!1),de=Object(o.a)(ae,2),ue=de[0],je=de[1],me=r.a.useState(!1),fe=Object(o.a)(me,2),he=fe[0],Oe=fe[1],ge=r.a.useState(!1),xe=Object(o.a)(ge,2),ve=xe[0],ye=xe[1],Ce=r.a.useState(!1),Ae=Object(o.a)(Ce,2),we=Ae[0],Se=Ae[1],Ie=r.a.useState(),ke=Object(o.a)(Ie,2),Te=ke[0],Re=ke[1],Pe=r.a.useState(),Me=Object(o.a)(Pe,2),Ue=Me[0],Le=Me[1],Be=Object(a.useRef)(null),Ve=r.a.useState(null),Qe=Object(o.a)(Ve,2),We=Qe[0],He=Qe[1],ze=function(e,t,n,a){if(t){He(e);var r=c.a.findDOMNode(Be.current);if(r){var i=r.getBoundingClientRect();e.length<60?i.height=70:i.height=160,Re(n-i.height+"px"),Le(a+"px")}}Se(t)},Ye=Object(p.g)();var Ge=r.a.useState(!1),Ke=Object(o.a)(Ge,2),qe=Ke[0],Xe=Ke[1],Ze=r.a.useState(Array()),Je=Object(o.a)(Ze,2),_e=Je[0],$e=Je[1],et=r.a.useState(Array()),tt=Object(o.a)(et,2),nt=tt[0],at=tt[1],rt=Object(a.useRef)(null),it=r.a.useState(),dt=Object(o.a)(it,2),pt=dt[0],bt=dt[1],jt=r.a.useState([]),mt=Object(o.a)(jt,2),ft=mt[0],ht=mt[1],Ot=r.a.useState(!1),gt=Object(o.a)(Ot,2),xt=gt[0],vt=gt[1],yt=r.a.useState([]),At=Object(o.a)(yt,2),wt=At[0],St=At[1],Nt=r.a.useState(!1),Et=Object(o.a)(Nt,2),It=Et[0],Dt=Et[1];r.a.useEffect((function(){V.a.get(Object(L.f)("/api/pipeline",{useDedicatedEnvironment:!0}),Object(L.c)(q)).then(function(){var e=Object(d.a)(l.a.mark((function e(t){var n,a,r,i,c,o;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.data.filter((function(e){return"Admin"===e.pipelineUserRole})),a=Ye.location.pathname,r=null,a.includes("/pipeline/")&&(i=a.split("/"),r=+i[i.length-1]),e.next=6,Promise.all(n.map(function(){var e=Object(d.a)(l.a.mark((function e(t){var n,a;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(null===r||t.id===r){e.next=2;break}return e.abrupt("return",null);case 2:return e.next=4,V.a.get(Object(L.f)("/api/pipeline/".concat(t.id,"/contract"),{useDedicatedEnvironment:!0}),Object(L.b)(q));case 4:return n=e.sent,a=n.data.data,e.abrupt("return",{id:t.id,name:t.name,businessForcast:a});case 7:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}())).then((function(e){return e.filter((function(e){return!!e}))}));case 6:c=e.sent,o=c.map((function(e){return{id:e.id,name:e.name,businessForcast:e.businessForcast}})),$e(o),at(o);case 10:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()).catch((function(e){}))}),[xt]);var Ft=Object(a.useCallback)(function(){var e=Object(d.a)(l.a.mark((function e(t){return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t.filter((function(e){return!wt.some((function(t){return e.id===t.id}))})).length>0&&Dt(!0),ht(t);case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),[]),kt=function(){var e;ht([]),null===(e=rt.current)||void 0===e||e.hide()},Tt=function(){var e=Object(d.a)(l.a.mark((function e(t,n){var a,r,i;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(a=Object(L.b)(q),pt){e.next=3;break}return e.abrupt("return");case 3:if(r=n.filter((function(e){return e.id!==t.id})),i=function(){var e=Object(d.a)(l.a.mark((function e(){return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,V.a.delete(Object(L.f)("/api/pipeline/".concat(t.id,"/contract/").concat(pt.id),{useDedicatedEnvironment:!0}),a);case 3:Dt(!1),ht(r),X.current.show({severity:"success",summary:"Pipeline removed"}),vt(!xt),e.next=13;break;case 9:e.prev=9,e.t0=e.catch(0),console.error(e.t0),X.current.show({severity:"error",summary:"Error removing pipeline"});case 13:case"end":return e.stop()}}),e,null,[[0,9]])})));return function(){return e.apply(this,arguments)}}(),wt.includes(t)){e.next=10;break}return ht(r),X.current.show({severity:"success",summary:"Pipeline removed from the opportunity"}),_r(r,wt)&&Dt(!1),e.abrupt("return");case 10:return e.next=12,i();case 12:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),Rt=Object(S.jsxs)("div",{className:"p-grid p-justify-end p-align-center",children:[Object(S.jsxs)("div",{className:"p-col-8 topLeftColumnHeader",style:{textAlign:"left"},children:[Object(S.jsx)("div",{children:"Source: sam.gov"}),Object(S.jsx)("div",{children:N})]}),Object(S.jsxs)("div",{className:"p-col-12 p-md-4 p-lg-4 p-justify-end buttonsHeader",style:{display:"flex"},children:[P&&W&&Object(S.jsx)("div",{className:"search-bar",children:Object(S.jsx)(ce.InputText,{type:"search",style:Object(u.a)({},Z.keywordSearch),value:Q,onChange:function(e){return W(e.target.value)},placeholder:"Global Search"})}),Object(S.jsx)("div",{style:{font:"14px Open Sans",verticalAlign:"middle",display:"flex",alignItems:"center"},children:Object(S.jsx)(sr.a,{tooltipText:"Opportunities are automatically sorted by \u201cLast Updated Date,\u201d so you can quickly identify changes and when they were made.",className:"tooltip-fixed"})}),Object(S.jsx)("div",{className:"button-export",children:Object(S.jsx)(Fe.Button,{type:"button",icon:"pi pi-file-excel",iconPos:"left",onClick:Object(d.a)(l.a.mark((function e(){return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(Xe(!0),e.t0=De.e,e.t1="Aidkonekt_contracts_plus_".concat((new Date).getFullYear()),e.t2=Pt,!z){e.next=10;break}return e.next=7,z();case 7:e.t3=e.sent,e.next=11;break;case 10:e.t3=A;case 11:e.t4=e.t3,e.t5=(0,e.t2)(e.t4),(0,e.t0)("Contracts+",e.t1,e.t5).then((function(){Xe(!1)}));case 14:case"end":return e.stop()}}),e)}))),tooltip:"Excel",tooltipOptions:{position:"top"},disabled:qe,style:Object(u.a)({marginLeft:15,marginRight:15},Z.tableHeaderButton)})}),Object(S.jsx)("div",{className:"button-export",children:Object(S.jsx)(Fe.Button,{type:"button",icon:ue?"pi pi-window-minimize":"pi pi-window-maximize",iconPos:"left",onClick:function(e){ue?Object(ut.c)(e.target):Object(ut.b)(e.target,(function(){return je(!1)})),je(!ue)},tooltip:ue?"Minimize":"Maximize",tooltipOptions:{position:"top"},style:Object(u.a)({marginLeft:15,marginRight:15},Z.tableHeaderButton)})})]})]}),Pt=function(e){var t=[{name:"Sam.gov link"},{name:"Department/Agency"},{name:"Title"},{name:"Country/Office"},{name:"Description"},{name:"Contract Opportunity Type"},{name:"Status"},{name:"Contractor Awarded Name"},{name:"Awarded Date"},{name:"Contract Award Number"},{name:"Awarded Amount"},{name:"Solicitation Number"},{name:"Original Publish Date"},{name:"Offer Due Date"},{name:"Last Updated Date"},{name:"Set Aside"},{name:"Product Service Code"},{name:"NAICS"},{name:"Place of Performance"},{name:"Contact Info"},{name:"Secondary Contact Info"}];i&&!M&&t.unshift({name:"Notes"},{name:T});var n=[];if(0===e.length)n.push(Object(De.d)(t.length));else for(var a=0;a'),focusConfirm:!1,showCancelButton:!0,preConfirm:function(){return[document.getElementById("columnName").value]}});case 2:if(t=e.sent,(n=t.value)&&n.length){e.next=6;break}return e.abrupt("return");case 6:return a=Object(o.a)(n,1),r=a[0],e.next=9,V.a.put(Object(L.f)("/api/pipeline/".concat(b,"/columnName"),{useDedicatedEnvironment:!0}),{columnName:r,type:"contract"},Object(L.b)(q)).then((function(){R(r)})).catch((function(e){console.error("error setting contract custom column name",e),X.current.show({severity:"error",summary:"Error setting column name"})}));case 9:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),Wt=r.a.useState(""),Ht=Object(o.a)(Wt,2),zt=Ht[0],Yt=Ht[1],Gt=r.a.useState(""),Kt=Object(o.a)(Gt,2),qt=Kt[0],Xt=Kt[1],Zt=r.a.useState(""),Jt=Object(o.a)(Zt,2),_t=Jt[0],$t=Jt[1],en=r.a.useState(""),tn=Object(o.a)(en,2),nn=tn[0],an=tn[1];r.a.useEffect((function(){var e=function(e){if(e.target.matches(".contacts_description")){var t="P"===e.target.nodeName?e.target:e.target.querySelector("p"),n=t.attributes["data-full-abstract"].value;n&&(Yt(t.attributes["data-title"].value),Xt(n),$t("Contracts"),an(t.id))}};return document.addEventListener("click",e,!1),function(){document.removeEventListener("click",e,!1),an("")}}),[]);var rn=Object(j.h)(q,j.b.plusOrHigher),cn=Object(j.h)(q,j.b.proOrHigher),on=rn||cn,sn=Object(S.jsxs)(S.Fragment,{children:[Object(S.jsx)("span",{style:{verticalAlign:"middle"},children:Object(S.jsx)(sr.a,{tooltipText:"You can share opportunity via email"})}),"\xa0"]}),ln=Object(S.jsxs)(S.Fragment,{children:[Object(S.jsx)("span",{style:{verticalAlign:"middle"},children:Object(S.jsx)(sr.a,{tooltipText:"Click the arrow to download available attachments"})}),"\xa0"]}),dn=r.a.useState(0),un=Object(o.a)(dn,2),pn=un[0],bn=un[1],jn=r.a.useState([]),mn=Object(o.a)(jn,2),fn=mn[0],hn=mn[1],On=r.a.useState(""),gn=Object(o.a)(On,2),xn=gn[0],vn=gn[1],yn=r.a.useState([]),Cn=Object(o.a)(yn,2),An=Cn[0],wn=Cn[1],Sn=r.a.useState(""),Nn=Object(o.a)(Sn,2),En=Nn[0],In=Nn[1],Dn=r.a.useMemo((function(){return fn?fn.map((function(e){return e.email})).concat(An):An}),[fn,An]),Fn=r.a.useState([]),kn=Object(o.a)(Fn,2),Tn=kn[0],Rn=kn[1];r.a.useEffect((function(){V.a.get(Object(L.f)("/api/organization/user",{useDedicatedEnvironment:!0}),Object(L.b)(q)).then((function(e){var t,n=e.data,a=null===(t=q.user.parsedIdToken)||void 0===t?void 0:t.email;if(a){var r=n.filter((function(e){var t;return(null===(t=e.email)||void 0===t?void 0:t.toLocaleLowerCase())!==a}));Rn(r)}else Rn(n)})).catch((function(e){console.error(e),X.current&&X.current.show({severity:"error",summary:"Unable to load users"})}))}),[]);var Pn=Object(a.useRef)(null);return Object(S.jsxs)("div",{className:"p-grid p-dir-col",children:[Object(S.jsx)(Ee.a,{dialogHeader:zt,isVisible:"Contracts"===_t,dialogText:qt,setMultiDialogVisible:$t,multi:!0,colunmType:nn}),Object(S.jsx)(Ai,{children:Object(S.jsx)(oe.OverlayPanel,{ref:rt,id:"pipeline-overlay",style:{width:"390px",display:"flex !important"},className:"contract-panel",children:Object(S.jsxs)("div",{style:{width:"335px",height:"auto"},children:[Object(S.jsxs)("div",{className:"side-panel-header-forecast",children:["Add opportunity to Pipeline",Object(S.jsx)("i",{onClick:kt,className:"pi pi-times mr-2",style:{fontSize:20,cursor:"pointer"}})]}),Object(S.jsx)("div",{className:"side-panel-content",children:Object(S.jsxs)("div",{className:"p-grid",children:[Object(S.jsxs)("div",{className:"p-col-12",style:{display:"grid"},id:"contract-input",children:[Object(S.jsx)("label",{className:"field-titles-forecast",htmlFor:" Opportunity",children:"Opportunity Title"}),Object(S.jsx)(ce.InputText,{style:{border:"none",fontWeight:700,color:"#000",opacity:1},disabled:!0,placeholder:"Opportunity",className:"field-titles-forecast ",defaultValue:pt?pt.title:""})]}),Object(S.jsxs)("div",{className:"p-col-7",style:{marginTop:"-16px"},id:"contract-input",children:[Object(S.jsx)("label",{className:"field-titles-forecast",htmlFor:"country",children:"Contry/Office"}),Object(S.jsx)(ce.InputText,{style:{border:"none",fontWeight:700,width:"22rem",color:"#000",opacity:1},disabled:!0,type:"text",placeholder:"country",className:"field-titles-forecast ",defaultValue:pt?pt.country:""})]}),Object(S.jsxs)("div",{className:"p-col-7",style:{marginTop:"-16px"},children:[Object(S.jsx)("label",{className:"field-titles-forecast",htmlFor:"Created date",children:"Created at"}),Object(S.jsx)(ce.InputText,{style:{border:"none",fontWeight:700,color:"#000",opacity:1},disabled:!0,type:"text",placeholder:"Created date",className:"field-titles-forecast ",defaultValue:null===(t=Object(ot.b)(null===pt||void 0===pt?void 0:pt.postedDateIn,ot.a.dd_MMMM_yyyy))||void 0===t?void 0:t.toString()})]}),Object(S.jsxs)("div",{className:"p-col-12",style:{marginTop:"-16px"},children:[Object(S.jsx)("label",{className:"field-titles-forecast",htmlFor:"email",children:"Pipelines"}),Object(S.jsx)(pe.MultiSelect,{optionLabel:"name",filter:!0,style:wi.multiSelect,placeholder:ft.length+" Pipeline(s) Selected",fixedPlaceholder:!0,value:ft,options:_e,onChange:function(e){return Ft(e.value)}}),Object(S.jsx)("div",{style:wi.chipsContainer,children:ft.map((function(e,t){return Object(S.jsx)(be.a,{label:e.name,onIconClick:function(){return Tt(e,ft)}},t)}))})]}),Object(S.jsxs)("div",{className:"p-col-12",style:{display:"flex",justifyContent:"right"},children:[Object(S.jsx)(le.Button,{onClick:kt,style:{marginRight:"6px"},className:"modal-button",label:"Close"}),It&&Object(S.jsx)(le.Button,{onClick:function(){var e=Object(L.b)(q);pt&&ft.filter((function(e){return!wt.some((function(t){return e.id===t.id}))})).map(function(){var t=Object(d.a)(l.a.mark((function t(n){return l.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,V.a.post(Object(L.f)("/api/pipeline/".concat(n.id,"/contract/").concat(pt.id),{useDedicatedEnvironment:!0}),null,e).then((function(e){var t;X.current.show({severity:"success",summary:"Opportunity updated, with ".concat(n.name," pipeline")}),Dt(!1),null===(t=rt.current)||void 0===t||t.hide(),vt(!xt)})).catch((function(e){}));case 2:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}())},className:"modal-button",label:"Save"})]})]})})]})})}),Object(S.jsx)(Ai,{children:Object(S.jsx)(oe.OverlayPanel,{ref:Pn,id:"pipeline-overlay",style:{width:"500px",height:"100%",display:"flex !important"},className:"contract-panel share",children:Object(S.jsxs)("div",{style:{width:"500px",height:"100%",overflowY:"auto"},className:"share-overlay-height",children:[Object(S.jsxs)("div",{className:"share-modal-header",children:["Share opportunity",Object(S.jsx)("i",{onClick:function(){var e;return null===(e=Pn.current)||void 0===e?void 0:e.hide()},className:"pi pi-times mr-2",style:{fontSize:20,cursor:"pointer"}})]}),Object(S.jsxs)("div",{className:"share-modal-body",children:[Object(S.jsxs)("div",{children:[Object(S.jsx)("p",{children:"Recipients"}),Object(S.jsx)("p",{className:"email-option",children:"External users"}),Object(S.jsxs)("div",{className:"external-users-input",children:[Object(S.jsx)(ce.InputText,{value:xn,onChange:function(e){vn(e.target.value)}}),Object(S.jsx)("button",{type:"button",className:"add-btn aid-blu-btn",onClick:function(){xn&&(Object($r.a)(xn)?(wn([].concat(Object(ee.a)(An),[xn])),vn("")):X.current.show({severity:"error",summary:"Invalid email address"}))},children:"+"})]}),Object(S.jsx)("div",{className:"share-users-list",style:{marginBottom:An.length?10:0},children:!!An.length&&An.map((function(e,t){return Object(S.jsx)(be.a,{className:"share-chip",label:e,onIconClick:function(){return function(e){wn(An.filter((function(t){return e!==t})))}(e)}},t)}))}),Object(S.jsx)("p",{className:"email-option",children:"Company users"}),Object(S.jsx)(pe.MultiSelect,{optionLabel:"email",filter:!0,className:"share-multiselect",style:wi.multiSelect,placeholder:fn.length+" User(s) selected",fixedPlaceholder:!0,value:fn,itemTemplate:function(e){return Object(S.jsxs)("div",{className:"share-multiselect-item",children:[(e.firstName||e.lastName)&&Object(S.jsx)("p",{children:e.firstName+" "+e.lastName}),Object(S.jsx)("p",{children:e.email})]})},options:Tn,onChange:function(e){return hn(e.value)}}),Object(S.jsx)("div",{className:"share-users-list",children:!!fn.length&&fn.map((function(e,t){var n,a;return Object(S.jsx)(be.a,{className:"share-chip",label:e.firstName||e.lastName?Ne(null!==(n=e.firstName)&&void 0!==n?n:"")+" "+Ne(null!==(a=e.lastName)&&void 0!==a?a:""):e.email,onIconClick:function(){return t=e.publicUserId,void hn(fn.filter((function(e){return e.publicUserId!==t})));var t}},t)}))})]}),Object(S.jsxs)("div",{children:[Object(S.jsx)("p",{style:{marginTop:10},children:"Message"}),Object(S.jsx)("textarea",{className:"share-message-text",value:En,onChange:function(e){return In(e.currentTarget.value)}})]}),Object(S.jsxs)("div",{className:"share-footer",children:[Object(S.jsx)("button",{onClick:function(){var e;return null===(e=Pn.current)||void 0===e?void 0:e.hide()},children:"Cancel"}),Object(S.jsx)("button",{onClick:function(){var e;if(0!==fn.length||0!==An.length)if(0!==En.length){if(fn||An){var t=Dn.map((function(e){var t={toAdderess:e,opportunityId:pn,recordType:"C",message:"".concat(En.replaceAll("\n","
"))};return new Promise((function(e,n){return V.a.post(Object(L.f)("/api/pipeline/share",{useDedicatedEnvironment:!0}),t,Object(L.c)(q)).then((function(){e(!0)})).catch((function(){n()}))}))}));Promise.all(t).then((function(){X.current&&X.current.show({severity:"success",summary:"Opportunity shared successfully"})})).catch((function(){X.current&&X.current.show({severity:"error",summary:"Unable to share opportunity"})}))}null===(e=Pn.current)||void 0===e||e.hide()}else X.current.show({severity:"error",summary:"Message field is empty"});else X.current.show({severity:"error",summary:"Please specify at least one recipient"})},children:"Share"})]})]})]})})}),Object(S.jsxs)(ne.DataTable,{value:A,style:{marginTop:20,width:"".concat(E-60,"px")},paginator:!0,rows:m,totalRecords:y,lazy:!0,first:v,onPage:B,loading:n,sortField:h,sortOrder:g,onSort:function(e){var t=Object(st.a)(e,h);O(e.sortField),x(t),B({first:v,rows:m,sortField:e.sortField,sortOrder:t})},scrollable:!0,scrollHeight:"400px",header:Rt,expandedRows:$,onRowToggle:function(e){return te(e.data)},rowExpansionTemplate:function(e){return Object(S.jsx)(Ii,{record:e,fileKeyword:H})},paginatorTemplate:"FirstPageLink PrevPageLink PageLinks NextPageLink LastPageLink CurrentPageReport RowsPerPageDropdown",currentPageReportTemplate:"Showing {first} to {last} of {totalRecords} entries",rowsPerPageOptions:lt.b,children:[!M&&Object(S.jsx)(re.Column,{headerStyle:Z.headerStyle(50),header:ln,style:Z.columnStyle(50),expander:!0}),Object(ct.a)(Z,100,(function(e){return i&&!s?null:i?Object(S.jsx)(Vt,{record:e}):Object(S.jsx)(Bt,{record:e})}),i&&!s?null:i?"Actions":"Sam.gov link","id",{sortable:!1}),on&&Object(S.jsx)(re.Column,{headerStyle:Z.headerStyle(150),style:Z.columnStyle(150),bodyClassName:"share",header:sn,field:"share",body:function(e){return Object(S.jsx)("div",{children:Object(S.jsxs)("button",{className:"share-btn",onClick:function(){var t;bn(e.contractOpportunityBase_Id),hn([]),vn(""),wn([]),In(""),null===(t=Pn.current)||void 0===t||t.toggle(e)},children:[Object(S.jsx)("svg",{width:"15",height:"12",viewBox:"0 0 15 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:Object(S.jsx)("path",{d:"M15 4.60063L9.23147 0V2.20024C7.21594 2.38887 0.0446832 3.64493 0 12C0 12 1.73858 6.73656 9.23147 6.54326V9.20148L15 4.60063Z",fill:"white"})}),Object(S.jsx)("span",{children:"Share"})]})})}}),P&&Object(S.jsx)(re.Column,{field:he?"":"notes",header:Object(S.jsxs)("div",{children:[he&&Object(S.jsx)("div",{children:Object(S.jsx)(le.Button,{icon:"pi pi-chevron-right",onClick:function(){return Oe(!1)}})}),!he&&Object(S.jsxs)("div",{style:{display:"flex",justifyContent:"center"},children:[Object(S.jsx)("div",{style:{alignSelf:"center",marginRight:10},children:"Notes"}),Object(S.jsx)(le.Button,{icon:"pi pi-chevron-left",onClick:function(){return Oe(!0)}})]})]}),headerStyle:Object(u.a)(Object(u.a)({},Z.headerStyle(he?50:350)),Z.primeColumnStyle),style:Z.columnStyle(he?50:350),editor:he?void 0:function(e){var t=e.rowIndex;return Object(S.jsx)("textarea",{disabled:!s,autoFocus:!0,value:A[t].notes||Mt[t].notes,className:"notesTextarea",onChange:function(e){return function(e){var n=Object(ee.a)(A);n[t].notes=e,Mt[t].notes=e,w(n)}(e.target.value)}})},sortable:!0,onEditorSubmit:function(e){var t=e.columnProps,n=t.rowData,a=t.rowIndex,r=Mt[a].notes,i=I.find((function(e){return e.id===n.contractOpportunityBase_Id}));i&&i.note===r||null===r||s&&V.a.post(Object(L.f)("/api/pipeline/".concat(b,"/contract/note"),{useDedicatedEnvironment:!0}),{contractId:n.id,value:r},Object(L.c)(q)).then((function(){if(i){var e=Object(ee.a)(I),t=e.find((function(e){return e.id===i.id}));t&&(t.note=n.notes),D(e)}X&&X.current&&X.current.show({severity:"success",summary:"Note Updated",detail:"Finished updating notes for '".concat(n.solicitationNumber,"'")})})).catch(Object(st.b)((function(t){X.current.show({severity:"error",summary:"Error",detail:t,sticky:!0}),Ut(e)})))},onEditorCancel:Ut,onEditorInit:function(){Se(!1)},body:function(e){var t;return Object(S.jsx)(ii,{text:null!==(t=e.notes)&&void 0!==t?t:"",showMoreInPopup:ze})},editorValidator:function(e){var t=e.originalEvent.srcElement;return e.originalEvent.stopImmediatePropagation(),!t||"notesTextarea"!==t.className}}),P&&Object(S.jsx)(re.Column,{field:ve?"":"customColumn",header:Object(S.jsxs)("div",{children:[ve&&Object(S.jsx)("div",{children:Object(S.jsx)(le.Button,{icon:"pi pi-chevron-right",onClick:function(){return ye(!1)}})}),!ve&&Object(S.jsxs)("div",{style:{display:"flex",justifyContent:"center"},children:[Object(S.jsx)("div",{style:{alignSelf:"center",marginRight:10},children:T}),Object(S.jsx)(le.Button,{icon:"pi pi-chevron-left",style:{marginRight:10},onClick:function(){return ye(!0)}}),Object(S.jsx)(le.Button,{icon:"pi pi-pencil",onClick:Qt})]})]}),headerStyle:Object(u.a)(Object(u.a)({},Z.headerStyle(ve?50:350)),Z.primeColumnStyle),style:Z.columnStyle(ve?50:350),editor:ve?void 0:function(e){var t=e.rowIndex;return Object(S.jsx)(ce.InputText,{disabled:!s,type:"text",className:"customColumn",value:A[t].customColumn||Mt[t].customColumn,onChange:function(e){return function(e){var n=Object(ee.a)(A);n[t].customColumn=e,Mt[t].customColumn=e,w(n)}(e.target.value)}})},sortable:!0,body:function(e){var t;return Object(S.jsx)(ii,{text:null!==(t=e.customColumn)&&void 0!==t?t:"",showMoreInPopup:ze})},onEditorSubmit:function(e){var t=e.columnProps,n=t.rowData,a=t.rowIndex,r=F.find((function(e){return e.id===n.contractOpportunityBase_Id})),i=Mt[a].customColumn;r&&r.customColumn===i||null===i||s&&V.a.post(Object(L.f)("/api/pipeline/".concat(b,"/contract/customcolumn"),{useDedicatedEnvironment:!0}),{contractId:n.id,value:i},Object(L.c)(q)).then((function(){if(r){var e=Object(ee.a)(F),t=e.find((function(e){return e.id===r.id}));t&&(t.customColumn=n.customColumn),k(e)}X&&X.current&&X.current.show({severity:"success",summary:"Custom Column Updated",detail:"Finished updating custom column for '".concat(n.solicitationNumber,"'")})})).catch(Object(st.b)((function(t){X.current.show({severity:"error",summary:"Error",detail:t,sticky:!0}),function(e){var t=e.rowIndex,n=e.rowData,a=(F.find((function(e){return e.id===n.contractOpportunityBase_Id}))||{}).customColumn||"",r=Object(ee.a)(A);r[t].customColumn=a,w(r)}(e)})))},onEditorCancel:function(e){var t=e.rowIndex,n=e.rowData,a=(F.find((function(e){return e.id===n.contractOpportunityBase_Id}))||{}).customColumn||"",r=Object(ee.a)(A);r[t].customColumn=a,w(r)},onEditorInit:function(){Se(!1)},editorValidator:function(e){var t=e.originalEvent.srcElement;return e.originalEvent.stopImmediatePropagation(),!t||"p-inputtext p-component customColumn p-filled"!==t.className}}),"/contracts"===Ye.location.pathname?Object(S.jsx)(re.Column,{header:"Pipeline",field:"id",body:function(e){for(var t=nt.filter((function(t){return t.businessForcast.some((function(t){return t.id.includes(e.id)}))})),n=[],a=0;a100?"".concat(Object(Yn.a)(e.description).substring(0,100),"..."):e.description},onClick:function(){Yt(e.solicitationNumber),Xt(e.description),$t("Contracts")}})}),(function(e){return e.title}),"Description",100,!0,"description"),Object(ct.a)(Z,150,(function(e){return e.type}),"Contract Opportunity Type","type"),Object(ct.a)(Z,150,(function(e){return e.status}),"Status","status"),Object(ct.a)(Z,150,(function(e){return e.contractorAwardedName}),"Contractor Awarded Name","contractorAwardedName"),Object(ct.a)(Z,150,(function(e){return e.contractorAwardedDate}),"Awarded Date","contractorAwardedDate"),Object(ct.a)(Z,150,(function(e){return e.awardNumber}),"Contract Award Number","awardNumber"),Object(ct.a)(Z,150,(function(e){return Si(e.contractorAwardedAmount)?Ni.format(parseFloat(e.contractorAwardedAmount||"")):e.contractorAwardedAmount}),"Awarded Amount","contractorAwardedAmount"),Object(ct.a)(Z,150,(function(e){return e.solicitationNumber}),"Solicitation Number","solicitationNumber"),Object(ct.a)(Z,150,(function(e){if(e.postedDateIn){var t=new Date(e.postedDateIn),n=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),0,0,0));return Object(ot.b)(n,ot.a.dd_MMMM_yyyy)}return""}),"Original Publish Date","postedDateIn"),Object(ct.a)(Z,150,(function(e){if(e.solicitationDeadlineResponseIn){var t=new Date(e.solicitationDeadlineResponseIn),n=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),0,0,0));return Object(ot.b)(n,ot.a.dd_MMMM_yyyy)}return""}),"Offer Due Date","solicitationDeadlineResponseIn"),Object(ct.a)(Z,150,(function(e){if(e.modifiedDateIn){var t=new Date(e.modifiedDateIn),n=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),0,0,0));return Object(ot.b)(n,ot.a.dd_MMMM_yyyy)}return""}),"Last Updated Date","modifiedDateIn"),Object(ct.a)(Z,150,(function(e){return e.setAside}),"Set Aside","setAside"),Object(ct.a)(Z,150,(function(e){return e.classificationCode}),"Product Service Code","classificationCode"),Object(ct.a)(Z,150,(function(e){return e.naicsCodes}),"NAICS","naicsCodes"),Object(ct.a)(Z,250,(function(e){return e.placeOfPerformance}),"Place of Performance","placeOfPerformance"),Object(ct.a)(Z,350,(function(e){var t=e.pointOfContactOne||{fullName:"",email:"",phone:"",fax:""};return Object(S.jsx)("div",{className:"p-grid p-dir-col p-justify-center",children:Object(S.jsxs)("div",{className:"p-col",children:[Object(S.jsx)("div",{children:t.fullName}),Object(S.jsx)("div",{children:t.email}),t.phone&&Object(S.jsx)("div",{children:"Phone: ".concat(t.phone)}),t.fax&&Object(S.jsx)("div",{children:"Fax: ".concat(t.fax)})]})})}),"Contact Info","pointOfContactOne"),Object(ct.a)(Z,350,(function(e){var t=e.pointOfContactTwo||{fullName:"",email:"",phone:"",fax:""};return Object(S.jsx)("div",{className:"p-grid p-dir-col p-justify-center",children:Object(S.jsxs)("div",{className:"p-col",children:[Object(S.jsx)("div",{children:t.fullName}),Object(S.jsx)("div",{children:t.email}),t.phone&&Object(S.jsx)("div",{children:"Phone: ".concat(t.phone)}),t.fax&&Object(S.jsx)("div",{children:"Fax: ".concat(t.fax)})]})})}),"Secondary Contact Info","pointOfContactTwo")]}),Object(S.jsx)("div",{ref:Be,onMouseOver:function(){Se(!0)},style:{top:null!==Te&&void 0!==Te?Te:"500px",left:null!==Ue&&void 0!==Ue?Ue:"400px"},onMouseLeave:function(){Se(!1)},className:we?"element-tooltip visible":"element-tooltip hidden",children:Object(S.jsx)("div",{children:Object(S.jsx)("p",{className:"tooltip-body",children:We})})})]})},Bi=function(e){var t=e.id,n=e.isPipelineScreen,i=e.isPipelineOwner,c=e.refreshContractsData,s=e.setRefreshContractsData,u=r.a.useContext(j.d),b=Object(p.g)().location.pathname,m=r.a.useState(""),f=Object(o.a)(m,2),h=f[0],O=f[1],g=r.a.useState(0),x=Object(o.a)(g,2),v=x[0],y=x[1];r.a.useEffect((function(){function e(){var e=Object(Ot.a)(),t=e.nestedWidth,n=e.headerWidth;t&&null!=n&&y(t-n)}return e(),window.addEventListener("resize",e),function(){return window.removeEventListener("resize",e)}}),[]);var C=r.a.useState(!1),A=Object(o.a)(C,2),w=A[0],N=A[1],E=r.a.useState(20),I=Object(o.a)(E,2),D=I[0],F=I[1],k=r.a.useState("modifiedDateIn"),T=Object(o.a)(k,2),R=T[0],P=T[1],M=r.a.useState(-1),U=Object(o.a)(M,2),B=U[0],Q=U[1],W=r.a.useState(0),H=Object(o.a)(W,2),z=H[0],Y=H[1],G=r.a.useState(0),K=Object(o.a)(G,2),q=K[0],X=K[1],Z=r.a.useState(""),J=Object(o.a)(Z,2),_=J[0],$=J[1],ee=r.a.useState(""),te=Object(o.a)(ee,2),ne=te[0],ae=te[1],re=r.a.useState(Array()),ie=Object(o.a)(re,2),ce=ie[0],oe=ie[1],se=r.a.useState(""),le=Object(o.a)(se,2),de=(le[0],le[1]),ue=r.a.useState(""),pe=Object(o.a)(ue,2),be=(pe[0],pe[1]),je=r.a.useState(!1),me=Object(o.a)(je,2),fe=(me[0],me[1]),he=r.a.useState(Array()),Oe=Object(o.a)(he,2),ge=Oe[0],xe=Oe[1],ve=r.a.useState(Array()),ye=Object(o.a)(ve,2),Ce=ye[0],Ae=ye[1],we=r.a.useState(""),Se=Object(o.a)(we,2),Ne=Se[0],Ee=Se[1];r.a.useEffect((function(){var e=function(e){if(e.target.matches(".abstract")){var t="P"===e.target.nodeName?e.target:e.target.querySelector("p"),n=t.attributes["data-full-abstract"].value;n&&(de(t.attributes["data-title"].value),be(n),fe(!0))}};return document.addEventListener("click",e,!1),function(){document.removeEventListener("click",e,!1)}}),[]),r.a.useEffect((function(){Re({first:z,rows:D,sortField:R,sortOrder:B})}),[]),Object(a.useEffect)((function(){c&&(s(!1),Re({first:z,rows:D,sortField:R,sortOrder:B}))}),[c]);var Ie=Object(st.c)(_,750);r.a.useEffect((function(){Re({first:z,rows:D,sortField:R,sortOrder:B,keyword:_})}),[Ie]);var De=r.a.useState(),Fe=Object(o.a)(De,2),ke=Fe[0],Te=Fe[1];function Re(e){F(e.rows),N(!0);var n="/api/contract";switch(b){case"/pipeline/".concat(t):n="/api/pipeline/".concat(t,"/contract"),O(n);break;case"/mybids":O(n)}var a=new URLSearchParams;a.set("onlyMyList",(!0).toString()),a.set("includeUsaid",(!0).toString()),a.set("includeMcc",(!0).toString()),a.set("includeOthers",(!0).toString()),a.set("includeStateDept",(!0).toString()),Y(e.first);var r=e.first/D;a.set("pageIndex",r.toString()),a.set("pageSize",e.rows.toString()),a.set("sortField",e.sortField||R),a.set("sortOrder",(e.sortOrder||B).toString());var i=void 0!==e.keyword?e.keyword:_;i&&a.set("filter",i),Te(a),V.a.get(Object(L.f)("".concat(n,"?").concat(a.toString()),{useDedicatedEnvironment:!0}),Object(L.b)(u)).then((function(e){var t=e.data,n=t.totalItems,a=t.data,r=t.lastUpdatedUtc,i=t.attributes;X(n),Ee(i?i.CustomColumnName:"");var c=a;c.forEach((function(e){e.notes||(e.notes="")})),oe(c),xe(c.map((function(e){return{id:e.contractOpportunityBase_Id,note:e.notes}}))),Ae(c.map((function(e){return{id:e.contractOpportunityBase_Id,customColumn:e.customColumn}}))),ae(r?"Last updated ".concat(Object(gr.a)(new Date(r+"Z"))):""),N(!1)})).catch((function(e){alert("error fetching data"),N(!1)}))}var Pe=function(){var e=Object(d.a)(l.a.mark((function e(){var t,n,a,r;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=h,(n=ke)&&n.set("pageSize","1000"),a=n?t+"?"+n.toString():t,r=Array(),e.next=7,V.a.get(Object(L.f)(a,{useDedicatedEnvironment:!0}),Object(L.b)(u)).then((function(e){r=e.data.data})).catch((function(e){alert("error fetching data")}));case 7:return e.abrupt("return",r);case 8:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();return Object(S.jsx)("div",{className:"p-grid p-dir-col",children:Object(S.jsx)(Li,{isLoading:w,rowsPerPage:D,setRowsPerPage:F,sortField:R,setSortField:P,sortOrder:B,setSortOrder:Q,gridWidth:v,first:z,totalRecords:q,setTotalRecords:X,data:ce,setData:oe,lastUpdated:ne,originalNotes:ge,setOriginalNotes:xe,originalColumns:Ce,setOriginalColumns:Ae,customColumnName:Ne,setCustomColumnName:Ee,queryData:Re,isMyContracts:!0,keyword:_,setKeyword:$,getExcelData:Pe,isPipelineScreen:n,isPipelineOwner:i,pipelineId:t})})},Vi=function(e){var t=e.isPipelineOwner,n=(e.isMySuggestions,e.decrement),a=e.isRemove,i=e.pipelineId,c=e.setRefreshContractsData,s=Object(p.g)(),u=r.a.useContext(j.d),b=s.location.pathname,m=r.a.useState(""),f=Object(o.a)(m,2),h=f[0],O=f[1],g=r.a.useState(0),x=Object(o.a)(g,2),v=x[0],y=x[1];r.a.useEffect((function(){function e(){var e=Object(Ot.a)(),t=e.nestedWidth,n=e.headerWidth;t&&null!=n&&y(t-n)}return e(),window.addEventListener("resize",e),function(){return window.removeEventListener("resize",e)}}),[]);var C=r.a.useState(!1),A=Object(o.a)(C,2),w=A[0],N=A[1],E=r.a.useState(20),I=Object(o.a)(E,2),D=I[0],F=I[1],k=r.a.useState("modifiedDateIn"),T=Object(o.a)(k,2),R=T[0],P=T[1],M=r.a.useState(-1),U=Object(o.a)(M,2),B=U[0],Q=U[1],W=r.a.useState(0),H=Object(o.a)(W,2),z=H[0],Y=H[1],G=r.a.useState(0),K=Object(o.a)(G,2),q=K[0],X=K[1],Z=r.a.useState(Array()),J=Object(o.a)(Z,2),_=J[0],$=J[1],ee=r.a.useState(!1),te=Object(o.a)(ee,2),ne=te[0],ae=te[1],re=r.a.useState(""),ie=Object(o.a)(re,2),ce=(ie[0],ie[1]),oe=r.a.useState(""),se=Object(o.a)(oe,2),le=(se[0],se[1]),de=r.a.useState(!1),ue=Object(o.a)(de,2),pe=(ue[0],ue[1]),be=r.a.useState(),je=Object(o.a)(be,2),me=je[0],fe=je[1];function he(e){F(e.rows),N(!0);var t="/api/contract/mysuggestions";switch(b){case"/pipeline/".concat(i):t="/api/pipeline/".concat(i,"/contract/suggestion"),O(t),ae(!0);break;case"/mybids":O(t),ae(!1)}var n=new URLSearchParams;Y(e.first);var a=e.first/D;n.set("pageIndex",a.toString()),n.set("pageSize",e.rows.toString()),n.set("sortField",e.sortField||R),n.set("sortOrder",(e.sortOrder||B).toString()),fe(n),V.a.get(Object(L.f)("".concat(t,"?").concat(n.toString()),{useDedicatedEnvironment:!0}),Object(L.b)(u)).then((function(e){var t=e.data,n=t.totalItems,a=t.data;X(n),$(a),N(!1)})).catch((function(e){N(!1)}))}r.a.useEffect((function(){var e=function(e){if(e.target.matches(".abstract")){var t="P"===e.target.nodeName?e.target:e.target.querySelector("p"),n=t.attributes["data-full-abstract"].value;n&&(ce(t.attributes["data-title"].value),le(n),pe(!0))}};return document.addEventListener("click",e,!1),function(){document.removeEventListener("click",e,!1)}}),[]),r.a.useEffect((function(){he({first:z,rows:D,sortField:R,sortOrder:B})}),[]);var Oe=function(){var e=Object(d.a)(l.a.mark((function e(){var t,n,a,r;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=h,(n=me)&&n.set("pageSize","1000"),a=n?t+"?"+n.toString():t,r=Array(),e.next=7,V.a.get(Object(L.f)(a,{useDedicatedEnvironment:!0}),Object(L.b)(u)).then((function(e){r=e.data.data})).catch((function(e){alert("Error fetching data here")}));case 7:return e.abrupt("return",r);case 8:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();return Object(S.jsx)("div",{className:"p-grid p-dir-col",children:Object(S.jsx)(Li,{pipelineId:i,isLoading:w,rowsPerPage:D,setRowsPerPage:F,sortField:R,setSortField:P,sortOrder:B,setSortOrder:Q,gridWidth:v,first:z,totalRecords:q,setTotalRecords:X,data:_,setData:$,lastUpdated:"",originalNotes:[],setOriginalNotes:function(e){},originalColumns:[],setOriginalColumns:function(e){},customColumnName:"",setCustomColumnName:function(e){},queryData:he,isMySuggestions:!0,decrement:n,getExcelData:Oe,isRemove:a,isPipelineScreen:ne,isPipelineOwner:t,setRefreshContractsData:c})})},Qi=(n(1303),n(135),{location:null===(Di=n(392))||void 0===Di?void 0:Di.default,helmet:null===(Fi=n(393))||void 0===Fi?void 0:Fi.default,number:null===(ki=n(394))||void 0===ki?void 0:ki.default,file:null===(Ti=n(395))||void 0===Ti?void 0:Ti.default,eligible:null===(Ri=n(396))||void 0===Ri?void 0:Ri.default,keyword:null===(Pi=n(352))||void 0===Pi?void 0:Pi.default,calendar:null===(Mi=n(353))||void 0===Mi?void 0:Mi.default,zip:null===(Ui=n(633))||void 0===Ui?void 0:Ui.default}),Wi=te.a.div({zIndex:1e4,top:"1px !important",right:"0px"}),Hi={multiSelect:{width:"100%",borderRadius:10},chipsContainer:{marginTop:"5px",display:"flex",flexWrap:"wrap"}},zi=function(e){var t=e.record,n=e.fileKeyword,a=r.a.useContext(j.d),i=r.a.useContext(se.a),c=r.a.useState(Array()),s=Object(o.a)(c,2),p=s[0],b=s[1],m=r.a.useState(!1),f=Object(o.a)(m,2),h=f[0],O=f[1],x=r.a.useState(Array()),v=Object(o.a)(x,2),y=v[0],C=v[1],A=r.a.useState(Array()),w=Object(o.a)(A,2),N=w[0],E=w[1],I=Object(ie.a)();r.a.useEffect((function(){O(!0);var e=Object(L.b)(a);V.a.get(Object(L.f)("/api/grant/details/".concat(t.id).concat(n?"?fileKeyword=".concat(n):""),{useDedicatedEnvironment:!0}),e).then((function(e){var t=e.data,n=t.files,a=t.records,r=t.matchingFiles,i=n.sort((function(e,t){return new Date(e.createdOn||"9999-01-01")0?Object(S.jsx)(S.Fragment,{children:Object(S.jsxs)("a",{style:{cursor:"pointer"},onClick:function(){V.a.post(Object(L.f)("/api/grant/details/".concat(t.id,"/getzip"),{useDedicatedEnvironment:!0}),{},Object(u.a)(Object(u.a)({},Object(L.b)(a)),{},{responseType:"blob"})).then(function(){var e=Object(d.a)(l.a.mark((function e(t){var n;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:n="export-".concat((new Date).valueOf(),".zip");try{n=t.headers["content-disposition"].split(";")[1].replace("filename=","").replaceAll('"',"").trim()}catch(a){}Object(yi.saveAs)(new Blob([t.data]),n);case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()).catch((function(e){alert("error fetching data")}))},children:[Object(S.jsx)("img",{src:Qi.zip,style:Object(u.a)({marginLeft:15,marginRight:15},I.addRemoveButtonStyle)}),"Download all attachments"]})}):Object(S.jsx)("span",{className:"no-attachments",children:"No attachments have been added to this opportunity"})]}),Object(S.jsx)("div",{style:{width:1024},children:Object(S.jsxs)(ne.DataTable,{value:y,children:[Object(ct.a)(I,300,(function(e){return Object(Yn.a)(e.fileDescription).replace(/\ /g,"").replace(/&/g,"&")}),"Description","fileDescription"),Object(ct.a)(I,300,(function(e){return Object(S.jsxs)("a",{href:"#",style:{paddingLeft:15},onClick:function(t){t.preventDefault(),window.open("".concat(g.c).concat(encodeURIComponent(e.fileName)))},children:[Object(S.jsx)("span",{style:{fontWeight:"bold",fontSize:20},children:N.find((function(t){return t===e.fileName}))?"* ":""}),Object(Yn.a)(e.fileName).replace(/\ /g,"").replace(/&/g,"&")]})}),"Name","fileName"),Object(ct.a)(I,300,(function(e){return"string"===typeof e.createdOn?Object(Qt.a)(Object(ot.e)(e.createdOn),"dd MMMM yyyy hh:mm aaaa"):null}),"Added Date/Time at UTC","createdOn")]})}),Object(S.jsx)("h4",{children:"Record History"}),Object(S.jsxs)(ne.DataTable,{value:p,scrollHeight:"600px",scrollable:!0,className:"grants-history-table",children:[Object(ct.a)(I,150,(function(e){return e.version}),"Version","version"),Object(ct.a)(I,100,(function(e){return e.agencyCode}),"Agency","agencyCode"),Object(ct.a)(I,250,(function(e){return e.agencyName}),"Country or Bureau","agencyName"),Object(ct.a)(I,150,(function(e){return Xi(e.awardCeilingFormatted)}),"Award Ceiling","awardCeilingFormatted"),Object(ct.a)(I,150,(function(e){return Xi(e.awardFloorFormatted)}),"Award Floor","awardFloorFormatted"),Object(ct.a)(I,150,(function(e){return Xi(e.estimatedFundingFormatted)}),"Estimated Funding","estimatedFundingFormatted"),Object(ct.a)(I,150,(function(e){return e.agencyPhone}),"Agency Phone","agencyPhone"),Object(ct.a)(I,150,(function(e){return"x.agencyAddressDescription"}),"Agency Description","agencyAddressDescription"),Object(ct.a)(I,150,(function(e){return e.agencyContactPhone}),"Agency Contact Phone","agencyContactPhone"),Object(ct.a)(I,150,(function(e){return e.agencyContactName}),"Agency Contact Name","agencyContactName"),Object(ct.a)(I,150,(function(e){return e.agencyContactEmail}),"Agency Contact Email","agencyContactEmail"),Object(ct.a)(I,150,(function(e){return e.agencyContactEmailDescription}),"Agency Contact Email Description","agencyContactEmailDescription"),Object(ct.a)(I,150,(function(e){return e.agencyContactDescription}),"Agency Contact Description","agencyContactDescription"),Object(ct.a)(I,150,(function(e){return e.sendEmail}),"Send Email","sendEmail"),Object(ct.a)(I,550,(function(e){return e.modComments}),"Modification Comments","modComments"),Object(ct.a)(I,150,(function(e){return"string"===typeof e.createdDateIn?Object(Qt.a)(Object(ot.e)(e.createdDateIn),"dd MMMM yyyy hh:mm aaaa"):null}),"Created On","createdDateIn"),Object(ct.b)(I,550,(function(e){return Object(S.jsx)("p",{className:"forecast_description",style:{padding:10},"data-title":e.agencyName,"data-full-abstract":e.applicantEligibilityDescription,dangerouslySetInnerHTML:{__html:e.applicantEligibilityDescription&&e.applicantEligibilityDescription.length>200?"".concat(Object(Yn.a)(e.applicantEligibilityDescription).substring(0,200),"..."):e.applicantEligibilityDescription},onClick:function(){T(e.agencyName),U(e.applicantEligibilityDescription),H(!0)}})}),(function(e){return e.agencyName}),"Eligibility",200,!1,"applicantEligibilityDescription"),Object(ct.b)(I,550,(function(e){return Object(S.jsx)("p",{className:"forecast_description",style:{padding:10},"data-title":e.agencyName,"data-full-abstract":e.description,dangerouslySetInnerHTML:{__html:e.description&&e.description.length>200?"".concat(Object(Yn.a)(e.description).substring(0,200),"..."):e.description},onClick:function(){T(e.agencyName),U(e.description),H(!0)}})}),(function(e){return e.agencyName}),"Description",200,!0,"description"),Object(ct.a)(I,150,(function(e){return"string"===typeof e.responseDate?Object(Qt.a)(Object(ot.e)(e.responseDate),"dd MMMM yyyy hh:mm aaaa"):null}),"Response Date","responseDate"),Object(ct.a)(I,150,(function(e){return"string"===typeof e.postingDate?Object(Qt.a)(Object(ot.e)(e.postingDate),"dd MMMM yyyy hh:mm aaaa"):null}),"Posting Date","postingDate"),Object(ct.a)(I,150,(function(e){return"string"===typeof e.archiveDate?Object(Qt.a)(Object(ot.e)(e.archiveDate),"dd MMMM yyyy hh:mm aaaa"):null}),"Archive Date","archiveDate"),Object(ct.a)(I,150,(function(e){return e.costSharing?"YES":"NO"}),"Cost Sharing","costSharing"),Object(ct.a)(I,150,(function(e){return e.numberOfAwards}),"Number of Awards","numberOfAwards")]})]})};var Yi,Gi=function(e){var t,n=e.isLoading,i=e.id,s=e.rowsPerPage,b=e.setRowsPerPage,m=e.sortField,f=e.setSortField,h=e.sortOrder,O=e.setSortOrder,g=e.first,x=e.totalRecords,v=e.setTotalRecords,y=e.data,C=e.setData,A=e.lastUpdated,w=e.gridWidth,N=e.originalNotes,E=e.setOriginalNotes,I=e.hideNotes,D=e.originalColumns,F=e.setOriginalColumns,k=e.customColumnName,T=e.setCustomColumnName,R=e.isMyGrants,P=e.decrement,M=e.keyword,U=e.setKeyword,B=e.queryData,Q=e.fileKeyword,W=e.getExcelData,H=e.isRemove,z=e.isPipelineScreen,Y=e.isPipelineOwner,G=e.isMySuggestions,K=e.setRefreshGrantsData,q=void 0===K?null:K,X=r.a.useContext(j.d),Z=r.a.useContext(se.a),J=Object(p.g)(),_=Object(ie.a)(),$=r.a.useState(Array()),te=Object(o.a)($,2),ae=te[0],de=te[1],ue=r.a.useState(!1),je=Object(o.a)(ue,2),me=je[0],fe=je[1],he=r.a.useState(!1),Oe=Object(o.a)(he,2),ge=Oe[0],xe=Oe[1],ve=r.a.useState(!1),ye=Object(o.a)(ve,2),Ce=ye[0],Ae=ye[1],we=r.a.useState(!1),Se=Object(o.a)(we,2),Ie=Se[0],Fe=Se[1],ke=r.a.useState(),Te=Object(o.a)(ke,2),Re=Te[0],Pe=Te[1],Me=r.a.useState(),Ue=Object(o.a)(Me,2),Le=Ue[0],Be=Ue[1],Ve=Object(a.useRef)(null),Qe=r.a.useState(null),We=Object(o.a)(Qe,2),He=We[0],ze=We[1],Ye=function(e,t,n,a){if(t){ze(e);var r=c.a.findDOMNode(Ve.current);if(r){var i=r.getBoundingClientRect();e.length<60?i.height=70:i.height=160,Pe(n-i.height+"px"),Be(a+"px")}}Fe(t)},Ge=r.a.useState(Array()),Ke=Object(o.a)(Ge,2),qe=Ke[0],Xe=Ke[1],Ze=r.a.useState(Array()),Je=Object(o.a)(Ze,2),_e=Je[0],$e=Je[1],et=Object(a.useRef)(null),tt=r.a.useState(),nt=Object(o.a)(tt,2),at=nt[0],rt=nt[1],it=r.a.useState([]),dt=Object(o.a)(it,2),pt=dt[0],bt=dt[1],jt=r.a.useState([]),mt=Object(o.a)(jt,2),ft=mt[0],ht=mt[1],Ot=r.a.useState(!1),gt=Object(o.a)(Ot,2),xt=gt[0],vt=gt[1],yt=r.a.useState(!1),At=Object(o.a)(yt,2),wt=At[0],St=At[1];var Nt=r.a.useState(!1),Et=Object(o.a)(Nt,2),It=Et[0],Dt=Et[1];r.a.useEffect((function(){V.a.get(Object(L.f)("/api/pipeline",{useDedicatedEnvironment:!0}),Object(L.c)(X)).then(function(){var e=Object(d.a)(l.a.mark((function e(t){var n,a,r,i,c,o;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.data.filter((function(e){return"Admin"===e.pipelineUserRole})),a=J.location.pathname,r=null,a.includes("/pipeline/")&&(i=a.split("/"),r=+i[i.length-1]),e.next=6,Promise.all(n.map(function(){var e=Object(d.a)(l.a.mark((function e(t){var n,a;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(null===r||t.id===r){e.next=2;break}return e.abrupt("return",null);case 2:return e.next=4,V.a.get(Object(L.f)("/api/pipeline/".concat(t.id,"/grant"),{useDedicatedEnvironment:!0}),Object(L.b)(X));case 4:return n=e.sent,a=n.data.data,e.abrupt("return",{id:t.id,name:t.name,businessForcast:a});case 7:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}())).then((function(e){return e.filter((function(e){return!!e}))}));case 6:c=e.sent,o=c.map((function(e){return{id:e.id,name:e.name,businessForcast:e.businessForcast}})),Xe(o),$e(o);case 10:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()).catch((function(e){}))}),[xt]);var Ft=Object(a.useCallback)(function(){var e=Object(d.a)(l.a.mark((function e(t){return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t.filter((function(e){return!ft.some((function(t){return e.id===t.id}))})).length>0&&St(!0),bt(t);case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),[]),kt=function(){var e;bt([]),null===(e=et.current)||void 0===e||e.hide()},Tt=function(){var e=Object(d.a)(l.a.mark((function e(t,n){var a,r,i;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(a=Object(L.b)(X),at){e.next=3;break}return e.abrupt("return");case 3:if(r=n.filter((function(e){return e.id!==t.id})),bt(r),i=function(){var e=Object(d.a)(l.a.mark((function e(){return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",V.a.delete(Object(L.f)("/api/pipeline/".concat(t.id,"/grant/").concat(at.id),{useDedicatedEnvironment:!0}),a).then((function(){St(!1),Z.current.show({severity:"success",summary:"Pipeline removed"}),vt(!xt)})).catch((function(e){console.error(e),Z.current.show({severity:"error",summary:"Error removing pipeline from the opportunity"})})));case 1:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),ft.includes(t)){e.next=11;break}return bt(r),Z.current.show({severity:"success",summary:"Pipeline removed from the opportunity"}),_r(r,ft)&&St(!1),e.abrupt("return");case 11:return e.next=13,i();case 13:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),Rt=Object(S.jsxs)("div",{className:"p-grid p-justify-end p-align-center",children:[Object(S.jsxs)("div",{className:"p-col-8 topLeftColumnHeader",style:{textAlign:"left"},children:[Object(S.jsx)("div",{children:"Source: grants.gov"}),Object(S.jsx)("div",{children:A})]}),Object(S.jsxs)("div",{className:"p-col-12 p-md-4 p-lg-4 p-justify-end p-grid p-align-center buttonsHeader",style:{display:"flex"},children:[!R&&U&&Object(S.jsx)("div",{className:"search-bar",children:Object(S.jsx)(ce.InputText,{type:"search",style:Object(u.a)({},_.keywordSearch),value:M,onChange:function(e){return U(e.target.value)},placeholder:"Global Search"})}),Object(S.jsx)("div",{style:{font:"14px Open Sans",verticalAlign:"middle"},children:Object(S.jsx)(sr.a,{tooltipText:"Opportunities are automatically sorted by \u201cPosting Date,\u201d so you can quickly identify newest opportunities.",className:"tooltip-fixed"})}),Object(S.jsx)("div",{className:"button-export",children:Object(S.jsx)(le.Button,{type:"button",icon:"pi pi-file-excel",iconPos:"left",onClick:Object(d.a)(l.a.mark((function e(){return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(Dt(!0),e.t0=De.e,e.t1="Aidkonekt_grants_plus_".concat((new Date).getFullYear()),e.t2=Pt,!W){e.next=10;break}return e.next=7,W();case 7:e.t3=e.sent,e.next=11;break;case 10:e.t3=y;case 11:e.t4=e.t3,e.t5=(0,e.t2)(e.t4),(0,e.t0)("Grants+",e.t1,e.t5).then((function(){Dt(!1)}));case 14:case"end":return e.stop()}}),e)}))),tooltip:"Excel",tooltipOptions:{position:"top"},disabled:It,style:Object(u.a)({marginLeft:15,marginRight:15},_.tableHeaderButton)})}),Object(S.jsx)("div",{className:"button-export",children:Object(S.jsx)(le.Button,{type:"button",icon:me?"pi pi-window-minimize":"pi pi-window-maximize",iconPos:"left",onClick:function(e){me?Object(ut.c)(e.target):Object(ut.b)(e.target,(function(){return fe(!1)})),fe(!me)},tooltip:me?"Minimize":"Maximize",tooltipOptions:{position:"top"},style:Object(u.a)({marginLeft:15,marginRight:15},_.tableHeaderButton)})})]})]}),Pt=function(e){var t=[{name:"Grants.gov link"},{name:"Agency"},{name:"Mission / Bureau"},{name:"Opportunity Title"},{name:"Description"},{name:"Opportunity Status"},{name:"Last Updated Date"},{name:"Opportunity Number"},{name:"Funding Instrument Type"},{name:"Opportunity Category"},{name:"Category of Funding Activity"},{name:"Expected Number of Awards"},{name:"CFDA Number(s)"},{name:"Cost Sharing or Matching Requirement"},{name:"Version"},{name:"Original Closing Date for Applications"},{name:"Current Closing Date for Applications"},{name:"Posting Date"},{name:"Archive Date"},{name:"Estimated Total Program Funding"},{name:"Award Ceiling"},{name:"Award Floor"},{name:"Eligible Applicants"},{name:"Additional Information on Eligibility"},{name:"Contact Name"},{name:"Contact Description"},{name:"Contact Email"},{name:"Contact Phone"}];z&&!G&&t.unshift({name:"Notes"},{name:k});var n=[];if(0===e.length)n.push(Object(De.d)(t.length));else for(var a=0;a'),focusConfirm:!1,showCancelButton:!0,preConfirm:function(){return[document.getElementById("columnName").value]}});case 2:if(t=e.sent,(n=t.value)&&n.length){e.next=6;break}return e.abrupt("return");case 6:return a=Object(o.a)(n,1),r=a[0],e.next=9,V.a.put(Object(L.f)("/api/pipeline/".concat(i,"/columnName"),{useDedicatedEnvironment:!0}),{columnName:r,type:"grant"},Object(L.b)(X)).then((function(){T(r)})).catch((function(e){console.error("error setting contract custom column name",e),Z.current.show({severity:"error",summary:"Error setting column name"})}));case 9:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),zt=(S.Fragment,sr.a,Object(S.jsxs)(S.Fragment,{children:[Object(S.jsx)("span",{style:{font:"14px Open Sans",verticalAlign:"middle"},children:Object(S.jsx)(sr.a,{tooltipText:"Version indicates how many changes have been made to the initial solicitation"})}),"\xa0",Object(S.jsx)("span",{children:"Version"})]})),Yt=r.a.useState(""),Gt=Object(o.a)(Yt,2),Kt=Gt[0],qt=Gt[1],Xt=r.a.useState(""),Zt=Object(o.a)(Xt,2),Jt=Zt[0],_t=Zt[1],$t=r.a.useState(""),en=Object(o.a)($t,2),tn=en[0],nn=en[1],an=r.a.useState(""),rn=Object(o.a)(an,2),cn=rn[0],on=rn[1];r.a.useEffect((function(){var e=function(e){if(e.target.matches(".grants_description")){var t="P"===e.target.nodeName?e.target:e.target.querySelector("p"),n=t.attributes["data-full-abstract"].value;n&&(qt(t.attributes["data-title"].value),_t(n),nn("Grants"),on(t.id))}};return document.addEventListener("click",e,!1),function(){document.removeEventListener("click",e,!1),on("")}}),[]);var sn=Object(j.h)(X,j.b.plusOrHigher),ln=Object(j.h)(X,j.b.proOrHigher),dn=sn||ln,un=Object(S.jsxs)(S.Fragment,{children:[Object(S.jsx)("span",{style:{verticalAlign:"middle"},children:Object(S.jsx)(sr.a,{tooltipText:"You can share opportunity via email"})}),"\xa0"]}),pn=Object(S.jsxs)(S.Fragment,{children:[Object(S.jsx)("span",{style:{verticalAlign:"middle"},children:Object(S.jsx)(sr.a,{tooltipText:"Click the arrow to download available attachments"})}),"\xa0"]}),bn=r.a.useState(0),jn=Object(o.a)(bn,2),mn=jn[0],fn=jn[1],hn=r.a.useState([]),On=Object(o.a)(hn,2),gn=On[0],xn=On[1],vn=r.a.useState(""),yn=Object(o.a)(vn,2),Cn=yn[0],An=yn[1],wn=r.a.useState([]),Sn=Object(o.a)(wn,2),Nn=Sn[0],En=Sn[1],In=r.a.useState(""),Dn=Object(o.a)(In,2),Fn=Dn[0],kn=Dn[1],Tn=r.a.useMemo((function(){return gn?gn.map((function(e){return e.email})).concat(Nn):Nn}),[gn,Nn]),Rn=r.a.useState([]),Pn=Object(o.a)(Rn,2),Mn=Pn[0],Un=Pn[1];r.a.useEffect((function(){V.a.get(Object(L.f)("/api/organization/user",{useDedicatedEnvironment:!0}),Object(L.b)(X)).then((function(e){var t,n=e.data,a=null===(t=X.user.parsedIdToken)||void 0===t?void 0:t.email;if(a){var r=n.filter((function(e){var t;return(null===(t=e.email)||void 0===t?void 0:t.toLocaleLowerCase())!==a}));Un(r)}else Un(n)})).catch((function(e){console.error(e),Z.current&&Z.current.show({severity:"error",summary:"Unable to load users"})}))}),[]);var Ln=Object(a.useRef)(null);return Object(S.jsxs)("div",{className:"p-grid p-dir-col",children:[Object(S.jsx)(Ee.a,{dialogHeader:Object(Yn.a)(Kt),isVisible:"Grants"===tn,dialogText:Jt,setMultiDialogVisible:nn,multi:!0,colunmType:cn}),Object(S.jsx)(Ee.a,{dialogHeader:Object(Yn.a)(Kt),isVisible:"fundingActivityDescription"===tn,dialogText:Jt,setMultiDialogVisible:nn,multi:!0}),Object(S.jsx)(Wi,{children:Object(S.jsx)(oe.OverlayPanel,{ref:Ln,id:"pipeline-overlay",style:{width:"500px",height:"100%",display:"flex !important"},className:"contract-panel share",children:Object(S.jsxs)("div",{style:{width:"500px",height:"100%",overflowY:"auto"},className:"share-overlay-height",children:[Object(S.jsxs)("div",{className:"share-modal-header",children:["Share opportunity",Object(S.jsx)("i",{onClick:function(){var e;return null===(e=Ln.current)||void 0===e?void 0:e.hide()},className:"pi pi-times mr-2",style:{fontSize:20,cursor:"pointer"}})]}),Object(S.jsxs)("div",{className:"share-modal-body",children:[Object(S.jsxs)("div",{children:[Object(S.jsx)("p",{children:"Recipients"}),Object(S.jsx)("p",{className:"email-option",children:"External users"}),Object(S.jsxs)("div",{className:"external-users-input",children:[Object(S.jsx)(ce.InputText,{value:Cn,onChange:function(e){An(e.target.value)}}),Object(S.jsx)("button",{type:"button",className:"add-btn aid-blu-btn",onClick:function(){Cn&&(Object($r.a)(Cn)?(En([].concat(Object(ee.a)(Nn),[Cn])),An("")):Z.current.show({severity:"error",summary:"Invalid email address"}))},children:"+"})]}),Object(S.jsx)("div",{className:"share-users-list",style:{marginBottom:Nn.length?10:0},children:!!Nn.length&&Nn.map((function(e,t){return Object(S.jsx)(be.a,{className:"share-chip",label:e,onIconClick:function(){return function(e){En(Nn.filter((function(t){return e!==t})))}(e)}},t)}))}),Object(S.jsx)("p",{className:"email-option",children:"Company users"}),Object(S.jsx)(pe.MultiSelect,{optionLabel:"email",filter:!0,className:"share-multiselect",style:Hi.multiSelect,placeholder:gn.length+" User(s) selected",fixedPlaceholder:!0,value:gn,itemTemplate:function(e){return Object(S.jsxs)("div",{className:"share-multiselect-item",children:[(e.firstName||e.lastName)&&Object(S.jsx)("p",{children:e.firstName+" "+e.lastName}),Object(S.jsx)("p",{children:e.email})]})},options:Mn,onChange:function(e){return xn(e.value)}}),Object(S.jsx)("div",{className:"share-users-list",children:!!gn.length&&gn.map((function(e,t){var n,a;return Object(S.jsx)(be.a,{className:"share-chip",label:e.firstName||e.lastName?Ne(null!==(n=e.firstName)&&void 0!==n?n:"")+" "+Ne(null!==(a=e.lastName)&&void 0!==a?a:""):e.email,onIconClick:function(){return t=e.publicUserId,void xn(gn.filter((function(e){return e.publicUserId!==t})));var t}},t)}))})]}),Object(S.jsxs)("div",{children:[Object(S.jsx)("p",{style:{marginTop:10},children:"Message"}),Object(S.jsx)("textarea",{className:"share-message-text",value:Fn,onChange:function(e){return kn(e.currentTarget.value)}})]}),Object(S.jsxs)("div",{className:"share-footer",children:[Object(S.jsx)("button",{onClick:function(){var e;return null===(e=Ln.current)||void 0===e?void 0:e.hide()},children:"Cancel"}),Object(S.jsx)("button",{onClick:function(){var e;if(0!==gn.length||0!==Nn.length)if(0!==Fn.length){if(gn||Nn){var t=Tn.map((function(e){var t={toAdderess:e,opportunityId:mn,recordType:"G",message:"".concat(Fn.replaceAll("\n","
"))};return new Promise((function(e,n){return V.a.post(Object(L.f)("/api/pipeline/share",{useDedicatedEnvironment:!0}),t,Object(L.c)(X)).then((function(){e(!0)})).catch((function(){n()}))}))}));Promise.all(t).then((function(){Z.current&&Z.current.show({severity:"success",summary:"Opportunity shared successfully"})})).catch((function(){Z.current&&Z.current.show({severity:"error",summary:"Unable to share opportunity"})}))}null===(e=Ln.current)||void 0===e||e.hide()}else Z.current.show({severity:"error",summary:"Message field is empty"});else Z.current.show({severity:"error",summary:"Please specify at least one recipient"})},children:"Share"})]})]})]})})}),Object(S.jsx)(Wi,{children:Object(S.jsx)(oe.OverlayPanel,{ref:et,id:"pipeline-overlay",style:{width:"390px",display:"flex !important"},className:"side-panel-forecast",children:Object(S.jsxs)("div",{style:{width:"335px",height:"auto"},children:[Object(S.jsxs)("div",{className:"side-panel-header-forecast",children:["Add opportunity to Pipeline",Object(S.jsx)("i",{onClick:kt,className:"pi pi-times mr-2",style:{fontSize:20,cursor:"pointer"}})]}),Object(S.jsx)("div",{className:"side-panel-content",children:Object(S.jsxs)("div",{className:"p-grid",children:[Object(S.jsxs)("div",{className:"p-col-12",style:{display:"grid"},id:"long-text",children:[Object(S.jsx)("label",{className:"field-titles-forecast",htmlFor:" Opportunity",children:"Opportunity Title"}),Object(S.jsx)(ce.InputText,{style:{border:"none",fontWeight:700,color:"#000",opacity:1},disabled:!0,placeholder:"Opportunity",className:"field-titles-forecast",defaultValue:at?at.opportunityTitle:""})]}),Object(S.jsxs)("div",{className:"p-col-7",style:{marginTop:"-16px"},id:"long-text",children:[Object(S.jsx)("label",{className:"field-titles-forecast",htmlFor:"country",children:"Contry/Office"}),Object(S.jsx)(ce.InputText,{style:{border:"none",fontWeight:700,width:"22rem",color:"#000",opacity:1},disabled:!0,type:"text",placeholder:"country",className:"field-titles-forecast",defaultValue:at?at.record.agencyName:""})]}),Object(S.jsxs)("div",{className:"p-col-7",style:{marginTop:"-16px"},children:[Object(S.jsx)("label",{className:"field-titles-forecast",htmlFor:"Created date",children:"Created at"}),Object(S.jsx)(ce.InputText,{style:{border:"none",fontWeight:700,color:"#000",opacity:1},disabled:!0,type:"text",placeholder:"Created date",className:"field-titles-forecast ",defaultValue:null===(t=Object(ot.b)(null===at||void 0===at?void 0:at.lastUpdatedDateIn,ot.a.dd_MMMM_yyyy))||void 0===t?void 0:t.toString()})]}),Object(S.jsxs)("div",{className:"p-col-12",style:{marginTop:"-16px"},children:[Object(S.jsx)("label",{className:"field-titles-forecast",htmlFor:"email",children:"Pipelines"}),Object(S.jsx)(pe.MultiSelect,{optionLabel:"name",filter:!0,style:Hi.multiSelect,placeholder:pt.length+" Pipeline(s) Selected",fixedPlaceholder:!0,value:pt,options:qe,onChange:function(e){return Ft(e.value)}}),Object(S.jsx)("div",{style:Hi.chipsContainer,children:pt.map((function(e){return Object(S.jsx)(be.a,{label:e.name,onIconClick:function(){return Tt(e,pt)}},e.id)}))})]}),Object(S.jsxs)("div",{className:"p-col-12",style:{display:"flex",justifyContent:"right"},children:[Object(S.jsx)("button",{onClick:kt,style:{marginRight:"6px"},className:"modal-button",children:"Close"}),wt&&Object(S.jsx)("button",{onClick:function(){var e=Object(L.b)(X);at&&pt.filter((function(e){return!ft.some((function(t){return e.id===t.id}))})).map(function(){var t=Object(d.a)(l.a.mark((function t(n){return l.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,V.a.post(Object(L.f)("/api/pipeline/".concat(n.id,"/grant/").concat(at.id),{useDedicatedEnvironment:!0}),null,e).then((function(){var e;Z.current.show({severity:"success",summary:"Opportunity updated, with ".concat(n.name," pipeline")}),St(!1),null===(e=et.current)||void 0===e||e.hide(),vt(!xt)})).catch((function(e){}));case 2:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}())},className:"modal-button",children:"Save"})]})]})})]})})}),Object(S.jsxs)(ne.DataTable,{value:y,style:{marginTop:20,width:"".concat(w-60,"px")},paginator:!0,rows:s,totalRecords:x,lazy:!0,first:g,onPage:B,loading:n,sortField:m,sortOrder:h,onSort:function(e){var t=Object(st.a)(e,m);f(e.sortField),O(t),B({first:g,rows:s,sortField:e.sortField,sortOrder:t})},scrollable:!0,scrollHeight:"400px",header:Rt,expandedRows:ae,onRowToggle:function(e){return de(e.data)},rowExpansionTemplate:function(e){return Object(S.jsx)(zi,{record:e,fileKeyword:Q})},paginatorTemplate:"FirstPageLink PrevPageLink PageLinks NextPageLink LastPageLink CurrentPageReport RowsPerPageDropdown",currentPageReportTemplate:"Showing {first} to {last} of {totalRecords} entries",rowsPerPageOptions:lt.b,children:[!R&&Object(S.jsx)(re.Column,{headerStyle:_.headerStyle(50),header:pn,style:_.columnStyle(50),expander:!0}),Object(ct.a)(_,120,(function(e){return z&&!Y?null:z?Object(S.jsx)(Wt,{record:e}):Object(S.jsx)(Vt,{record:e})}),z&&!Y?null:z?"Actions":"Grants.gov link","id",{sortable:!1}),dn&&Object(S.jsx)(re.Column,{headerStyle:_.headerStyle(150),style:_.columnStyle(150),bodyClassName:"share",header:un,field:"share",body:function(e){return Object(S.jsx)("div",{children:Object(S.jsxs)("button",{className:"share-btn",onClick:function(){var t;fn(e.id),xn([]),An(""),En([]),kn(""),null===(t=Ln.current)||void 0===t||t.toggle(e)},children:[Object(S.jsx)("svg",{width:"15",height:"12",viewBox:"0 0 15 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:Object(S.jsx)("path",{d:"M15 4.60063L9.23147 0V2.20024C7.21594 2.38887 0.0446832 3.64493 0 12C0 12 1.73858 6.73656 9.23147 6.54326V9.20148L15 4.60063Z",fill:"white"})}),Object(S.jsx)("span",{children:"Share"})]})})}}),!I&&Object(S.jsx)(re.Column,{field:ge?"":"notes",header:Object(S.jsxs)("div",{children:[ge&&Object(S.jsx)("div",{children:Object(S.jsx)(le.Button,{icon:"pi pi-chevron-right",onClick:function(){return xe(!1)}})}),!ge&&Object(S.jsxs)("div",{style:{display:"flex",justifyContent:"center"},children:[Object(S.jsx)("div",{style:{alignSelf:"center",marginRight:10},children:"Notes"}),Object(S.jsx)(le.Button,{icon:"pi pi-chevron-left",onClick:function(){return xe(!0)}})]})]}),headerStyle:Object(u.a)(Object(u.a)({},_.headerStyle(ge?50:350)),_.primeColumnStyle),body:function(e){var t;return Object(S.jsx)(ii,{text:null!==(t=e.notes)&&void 0!==t?t:"",showMoreInPopup:Ye})},bodyClassName:"highlightedcolumn",style:_.columnStyle(ge?50:350),editor:ge?void 0:function(e){var t=e.rowIndex;return Object(S.jsx)("textarea",{disabled:!Y,autoFocus:!0,value:y[t].notes||Mt[t].notes,className:"notesTextarea",onChange:function(e){return function(e){var n=Object(ee.a)(y);n[t].notes=e,Mt[t].notes=e,C(n)}(e.target.value)}})},sortable:!0,onEditorSubmit:function(e){var t=e.columnProps,n=t.rowData,a=t.rowIndex,r=Mt[a].notes,c=N.find((function(e){return e.id===n.id}));c&&c.note===r||null===r||Y&&V.a.post(Object(L.f)("/api/pipeline/".concat(i,"/grant/note"),{useDedicatedEnvironment:!0}),{grantId:n.id,value:r},Object(L.c)(X)).then((function(){if(c){var e=Object(ee.a)(N),t=e.find((function(e){return e.id===c.id}));t&&(t.note=n.notes),E(e)}Z&&Z.current&&Z.current.show({severity:"success",summary:"Note Updated",detail:"Finished updating notes for '".concat(n.opportunityNumber,"'")})})).catch(Object(st.b)((function(t){Z.current.show({severity:"error",summary:"Error",detail:t,sticky:!0}),Ut(e)})))},onEditorCancel:Ut,onEditorInit:function(){Fe(!1)},editorValidator:function(e){var t=e.originalEvent.srcElement;return e.originalEvent.stopImmediatePropagation(),!t||"notesTextarea"!==t.className}}),!I&&Object(S.jsx)(re.Column,{field:Ce?"":"customColumn",header:Object(S.jsxs)("div",{children:[Ce&&Object(S.jsx)("div",{children:Object(S.jsx)(le.Button,{icon:"pi pi-chevron-right",onClick:function(){return Ae(!1)}})}),!Ce&&Object(S.jsxs)("div",{style:{display:"flex",justifyContent:"center"},children:[Object(S.jsx)("div",{style:{alignSelf:"center",marginRight:10},children:k}),Object(S.jsx)(le.Button,{icon:"pi pi-chevron-left",style:{marginRight:10},onClick:function(){return Ae(!0)}}),Object(S.jsx)(le.Button,{icon:"pi pi-pencil",onClick:Ht})]})]}),headerStyle:Object(u.a)(Object(u.a)({},_.headerStyle(Ce?50:350)),_.primeColumnStyle),body:function(e){var t;return Object(S.jsx)(ii,{text:null!==(t=e.customColumn)&&void 0!==t?t:"",showMoreInPopup:Ye})},style:_.columnStyle(Ce?50:350),editor:Ce?void 0:function(e){var t=e.rowIndex;return Object(S.jsx)(ce.InputText,{disabled:!Y,type:"text",className:"customColumn",value:y[t].customColumn||Mt[t].customColumn,onChange:function(e){return function(e){var n=Object(ee.a)(y);n[t].customColumn=e,Mt[t].customColumn=e,C(n)}(e.target.value)}})},sortable:!0,onEditorSubmit:function(e){var t=e.columnProps,n=t.rowData,a=t.rowIndex,r=D.find((function(e){return e.id===n.id})),c=Mt[a].customColumn;r&&r.customColumn===c||null===c||Y&&V.a.post(Object(L.f)("/api/pipeline/".concat(i,"/grant/customcolumn"),{useDedicatedEnvironment:!0}),{grantId:n.id,value:c},Object(L.c)(X)).then((function(){if(r){var e=Object(ee.a)(D),t=e.find((function(e){return e.id===r.id}));t&&(t.customColumn=n.customColumn),F(e)}Z&&Z.current&&Z.current.show({severity:"success",summary:"Custom Column Updated",detail:"Finished updating custom column for '".concat(n.opportunityNumber,"'")})})).catch(Object(st.b)((function(t){Z.current.show({severity:"error",summary:"Error",detail:t,sticky:!0}),function(e){var t=e.rowIndex,n=e.rowData,a=(D.find((function(e){return e.id===n.id}))||{}).customColumn||"",r=Object(ee.a)(y);r[t].customColumn=a,C(r)}(e)})))},onEditorCancel:function(e){var t=e.rowIndex,n=e.rowData,a=(D.find((function(e){return e.id===n.id}))||{}).customColumn||"",r=Object(ee.a)(y);r[t].customColumn=a,C(r)},onEditorInit:function(){Fe(!1)},editorValidator:function(e){var t=e.originalEvent.srcElement;return e.originalEvent.stopImmediatePropagation(),!t||"p-inputtext p-component customColumn p-filled"!==t.className}}),Object(ct.a)(_,150,(function(e){return e.topLevelAgency}),"Agency","topLevelAgency"),"/grants"===J.location.pathname?Object(S.jsx)(re.Column,{header:"Pipeline",field:"topLevelAgency",body:function(e){for(var t=_e.filter((function(t){return t.businessForcast.some((function(t){return t.id.toString().includes(e.id)}))})),n=[],a=0;a100?"".concat(Object(Yn.a)(e.record.description).substring(0,100),"..."):e.record.description},onClick:function(){qt(Object(Yn.a)(e.opportunityTitle)),_t(Object(Yn.a)(e.record.description)),nn("Grants")}})}),(function(e){return Object(Yn.a)(e.opportunityTitle).replaceAll("–","\u2013")}),"Description",100,!0,"id"),Object(ct.a)(_,150,(function(e){return e.record.status}),"Opportunity Status","status"),Object(ct.a)(_,200,(function(e){return"string"===typeof e.manualLastUpdatedDate?Object(Qt.a)(Object(ot.e)(e.manualLastUpdatedDate),"dd MMMM yyyy"):null}),"Last Updated Date","manualLastUpdatedDate"),Object(ct.a)(_,250,(function(e){return e.opportunityNumber}),"Opportunity Number","opportunityNumber"),Object(ct.a)(_,150,(function(e){return e.record.fundingInstrumentDescription}),"Funding Instrument Type","fundingInstrumentDescription"),Object(ct.a)(_,150,(function(e){return e.opportunityCategoryDescription}),"Opportunity Category","opportunityCategoryDescription"),Object(ct.a)(_,350,(function(e){return e.record.fundingActivityDescription.length>100?Object(S.jsx)("p",{"data-title":e.opportunityTitle,"data-full-abstract":e.record.fundingActivityDescription,onClick:function(){qt(Object(Yn.a)(e.opportunityTitle)),_t(Object(Yn.a)(e.record.fundingActivityDescription)),nn("fundingActivityDescription")},children:"".concat(Object(Yn.a)(e.record.fundingActivityDescription).substring(0,100),"...")}):Object(S.jsx)("span",{dangerouslySetInnerHTML:{__html:e.record.fundingActivityDescription}})}),"Category of Funding Activity","fundingActivityDescription"),Object(ct.a)(_,200,(function(e){return e.record.numberOfAwards}),"Expected Number of Awards","numberOfAwards"),Object(ct.a)(_,350,(function(e){return e.cfdas.map((function(e){return Object(S.jsx)("p",{children:e},e)}))}),"CFDA Number(s)","cfdas",{sortable:!1}),Object(ct.a)(_,250,(function(e){return e.record.costSharing?"YES":"NO"}),"Cost Sharing or Matching Requirement","costSharing"),Object(ct.a)(_,100,(function(e){return e.record.version}),zt,"version"),Object(ct.a)(_,250,(function(e){return"string"===typeof e.originalDueDate?Object(Qt.a)(Object(ot.e)(e.originalDueDate),"dd MMMM yyyy"):null}),"Original Closing Date for Applications","originalDueDate"),Object(ct.a)(_,250,(function(e){return"string"===typeof e.record.responseDate?Object(Qt.a)(Object(ot.e)(e.record.responseDate),"dd MMMM yyyy"):null}),"Current Closing Date for Applications","responseDate"),Object(ct.a)(_,250,(function(e){return"string"===typeof e.record.postingDate?Object(Qt.a)(Object(ot.e)(e.record.postingDate),"dd MMMM yyyy"):null}),"Posting Date","postingDate"),Object(ct.a)(_,200,(function(e){return"string"===typeof e.record.archiveDate?Object(Qt.a)(Object(ot.e)(e.record.archiveDate),"dd MMMM yyyy"):null}),"Archive Date","archiveDate"),Object(ct.a)(_,250,(function(e){return Xi(e.record.estimatedFundingFormatted)}),"Estimated Total Program Funding","estimatedFundingFormatted"),Object(ct.a)(_,150,(function(e){return Xi(e.record.awardCeilingFormatted)}),"Award Ceiling","awardCeilingFormatted"),Object(ct.a)(_,150,(function(e){return Xi(e.record.awardFloorFormatted)}),"Award Floor","awardFloorFormatted"),Object(ct.b)(_,650,(function(e){return Object(S.jsx)("p",{className:"grants_description","data-title":e.opportunityTitle,"data-full-abstract":e.record.applicantTypeDescription,dangerouslySetInnerHTML:{__html:e.record.applicantTypeDescription&&e.record.applicantTypeDescription.length>100?"".concat(Object(Yn.a)(e.record.applicantTypeDescription).substring(0,100),"..."):e.record.applicantTypeDescription},onClick:function(){qt(Object(Yn.a)(e.opportunityTitle)),_t(Object(Yn.a)(e.record.applicantTypeDescription)),nn("Grants")}})}),(function(e){return Object(Yn.a)(e.record.applicantTypeDescription).replace("–","\u2013")}),"Eligible Applicants",100,!1,"applicantTypeDescription"),Object(ct.b)(_,550,(function(e){return e.record.applicantEligibilityDescription}),(function(e){return e.opportunityTitle}),"Additional Information on Eligibility",100,!0,"applicantEligibilityDescription"),Object(ct.a)(_,250,(function(e){return e.record.agencyContactName&&Object(S.jsx)("p",{className:"quarterlyCallNotes","data-full-abstract":e.record.agencyContactName,children:e.record.agencyContactName&&e.record.agencyContactName.length>100?"".concat(e.record.agencyContactName.substring(0,100),"..."):e.record.agencyContactName})}),"Contact Name","agencyContactName"),Object(ct.a)(_,450,(function(e){return e.record.agencyContactDescription?e.record.agencyContactDescription.replace(/\ /g,"").replace(/&/g,"&").replace(/ñ/g,"\xf1"):""}),"Contact Description","agencyContactDescription"),Object(ct.a)(_,200,(function(e){return e.record.agencyContactEmail}),"Contact Email","agencyContactEmail"),Object(ct.a)(_,200,(function(e){return e.record.agencyContactPhone}),"Contact Phone","agencyContactPhone")]}),Object(S.jsx)("div",{ref:Ve,onMouseOver:function(){Fe(!0)},style:{top:null!==Re&&void 0!==Re?Re:"500px",left:null!==Le&&void 0!==Le?Le:"400px"},onMouseLeave:function(){Fe(!1)},className:Ie?"element-tooltip visible":"element-tooltip hidden",children:Object(S.jsx)("div",{children:Object(S.jsx)("p",{className:"tooltip-body",children:He})})})]})},Ki=function(e){var t=e.id,n=e.isPipelineScreen,i=e.isPipelineOwner,c=e.refreshGrantsData,s=e.setRefreshGrantsData,u=r.a.useContext(j.d),b=Object(p.g)().location.pathname,m=r.a.useState(""),f=Object(o.a)(m,2),h=f[0],O=f[1],g=r.a.useState(0),x=Object(o.a)(g,2),v=x[0],y=x[1];r.a.useEffect((function(){function e(){var e=Object(Ot.a)(),t=e.nestedWidth,n=e.headerWidth;t&&null!=n&&y(t-n)}return e(),window.addEventListener("resize",e),function(){return window.removeEventListener("resize",e)}}),[]);var C=r.a.useState(!1),A=Object(o.a)(C,2),w=A[0],N=A[1],E=r.a.useState(20),I=Object(o.a)(E,2),D=I[0],F=I[1],k=r.a.useState("postingDate"),T=Object(o.a)(k,2),R=T[0],P=T[1],M=r.a.useState(-1),U=Object(o.a)(M,2),B=U[0],Q=U[1],W=r.a.useState(0),H=Object(o.a)(W,2),z=H[0],Y=H[1],G=r.a.useState(0),K=Object(o.a)(G,2),q=K[0],X=K[1],Z=r.a.useState(""),J=Object(o.a)(Z,2),_=J[0],$=J[1],ee=r.a.useState(""),te=Object(o.a)(ee,2),ne=te[0],ae=te[1],re=r.a.useState(Array()),ie=Object(o.a)(re,2),ce=ie[0],oe=ie[1],se=r.a.useState(""),le=Object(o.a)(se,2),de=(le[0],le[1]),ue=r.a.useState(""),pe=Object(o.a)(ue,2),be=(pe[0],pe[1]),je=r.a.useState(!1),me=Object(o.a)(je,2),fe=(me[0],me[1]),he=r.a.useState(Array()),Oe=Object(o.a)(he,2),ge=Oe[0],xe=Oe[1],ve=r.a.useState(Array()),ye=Object(o.a)(ve,2),Ce=ye[0],Ae=ye[1],we=r.a.useState(""),Se=Object(o.a)(we,2),Ne=Se[0],Ee=Se[1],Ie=r.a.useState(),De=Object(o.a)(Ie,2),Fe=De[0],ke=De[1];r.a.useEffect((function(){var e=function(e){if(e.target.matches(".abstract")){var t="P"===e.target.nodeName?e.target:e.target.querySelector("p"),n=t.attributes["data-full-abstract"].value;n&&(de(t.attributes["data-title"].value),be(n),fe(!0))}};return document.addEventListener("click",e,!1),function(){document.removeEventListener("click",e,!1)}}),[]),r.a.useEffect((function(){Re({first:z,rows:D,sortField:R,sortOrder:B})}),[]),Object(a.useEffect)((function(){c&&(s(!1),Re({first:z,rows:D,sortField:R,sortOrder:B}))}),[c]);var Te=Object(st.c)(_,750);function Re(e){F(e.rows),N(!0);var a="/api/grant";switch(b){case"/pipeline/".concat(t):a="/api/pipeline/".concat(t,"/grant"),n=!0,O(a);break;default:O(a)}var r=new URLSearchParams;r.set("onlyMyList",(!0).toString()),r.set("includeUsaid",(!0).toString()),r.set("includeMcc",(!0).toString()),r.set("includeStateDept",(!0).toString()),Y(e.first);var i=e.first/D;r.set("pageIndex",i.toString()),r.set("pageSize",e.rows.toString()),r.set("sortField",e.sortField||R),r.set("sortOrder",(e.sortOrder||B).toString());var c=void 0!==e.keyword?e.keyword:_;c&&r.set("filter",c),ke(r),V.a.get(Object(L.f)("".concat(a,"?").concat(r.toString()),{useDedicatedEnvironment:!0}),Object(L.b)(u)).then((function(e){var t=e.data,n=t.totalItems,a=t.data,r=t.lastUpdatedUtc,i=t.attributes;X(n),Ee(i?i.CustomColumnName:"");var c=a;c.forEach((function(e){e.notes||(e.notes="")})),oe(c),xe(c.map((function(e){return{id:e.id,note:e.notes}}))),Ae(c.map((function(e){return{id:e.id,customColumn:e.customColumn}}))),ae(r?"Last updated ".concat(Object(gr.a)(new Date(r+"Z"))):""),N(!1)})).catch((function(e){alert("error fetching data"),N(!1)}))}r.a.useEffect((function(){Re({first:z,rows:D,sortField:R,sortOrder:B,keyword:_})}),[Te]);var Pe=function(){var e=Object(d.a)(l.a.mark((function e(){var t,n,a,r;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=h,(n=Fe)&&n.set("pageSize","1000"),a=n?t+"?"+n.toString():t,r=Array(),e.next=7,V.a.get(Object(L.f)(a,{useDedicatedEnvironment:!0}),Object(L.b)(u)).then((function(e){r=e.data.data})).catch((function(e){alert("error fetching data")}));case 7:return e.abrupt("return",r);case 8:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();return Object(S.jsx)("div",{className:"p-grid p-dir-col",children:Object(S.jsx)(Gi,{id:t,gridWidth:v,isLoading:w,rowsPerPage:D,setRowsPerPage:F,sortField:R,setSortField:P,sortOrder:B,setSortOrder:Q,first:z,totalRecords:q,setTotalRecords:X,data:ce,setData:oe,lastUpdated:ne,originalNotes:ge,setOriginalNotes:xe,originalColumns:Ce,setOriginalColumns:Ae,customColumnName:Ne,setCustomColumnName:Ee,queryData:Re,keyword:_,setKeyword:$,getExcelData:Pe,isPipelineScreen:n,isPipelineOwner:i})})},qi=function(e){var t=e.isPipelineOwner,n=e.isMySuggestions,a=e.decrement,i=e.isRemove,c=e.id,s=e.setRefreshGrantsData,u=r.a.useContext(j.d),b=Object(p.g)(),m=r.a.useState(0),f=Object(o.a)(m,2),h=f[0],O=f[1];r.a.useEffect((function(){function e(){var e=Object(Ot.a)(),t=e.nestedWidth,n=e.headerWidth;t&&null!=n&&O(t-n)}return e(),window.addEventListener("resize",e),function(){return window.removeEventListener("resize",e)}}),[]);var g=r.a.useState(!1),x=Object(o.a)(g,2),v=x[0],y=x[1],C=r.a.useState(20),A=Object(o.a)(C,2),w=A[0],N=A[1],E=r.a.useState("lastUpdatedDate"),I=Object(o.a)(E,2),D=I[0],F=I[1],k=r.a.useState(-1),T=Object(o.a)(k,2),R=T[0],P=T[1],M=r.a.useState(0),U=Object(o.a)(M,2),B=U[0],Q=U[1],W=r.a.useState(0),H=Object(o.a)(W,2),z=H[0],Y=H[1],G=r.a.useState(Array()),K=Object(o.a)(G,2),q=K[0],X=K[1],Z=r.a.useState(""),J=Object(o.a)(Z,2),_=J[0],$=J[1],ee=r.a.useState(!1),te=Object(o.a)(ee,2),ne=te[0],ae=te[1],re=b.location.pathname,ie=r.a.useState(""),ce=Object(o.a)(ie,2),oe=(ce[0],ce[1]),se=r.a.useState(""),le=Object(o.a)(se,2),de=(le[0],le[1]),ue=r.a.useState(!1),pe=Object(o.a)(ue,2),be=(pe[0],pe[1]),je=r.a.useState(),me=Object(o.a)(je,2),fe=me[0],he=me[1];function Oe(e){N(e.rows),y(!0);var t="/api/grant/mysuggestions";switch(re){case"/pipeline/".concat(c):t="/api/pipeline/".concat(c,"/grant/suggestion"),$(t),ae(!0);break;case"/mybids":$(t),ae(!1)}var n=new URLSearchParams;Q(e.first);var a=e.first/w;n.set("pageIndex",a.toString()),n.set("pageSize",e.rows.toString()),n.set("sortField",e.sortField||D),n.set("sortOrder",(e.sortOrder||R).toString()),he(n),V.a.get(Object(L.f)("".concat(t,"?").concat(n.toString()),{useDedicatedEnvironment:!0}),Object(L.b)(u)).then((function(e){var t=e.data,n=t.totalItems,a=t.data;Y(n),X(a),y(!1)})).catch((function(e){alert("Error fetching data"),y(!1)}))}r.a.useEffect((function(){var e=function(e){if(e.target.matches(".abstract")){var t="P"===e.target.nodeName?e.target:e.target.querySelector("p"),n=t.attributes["data-full-abstract"].value;n&&(oe(t.attributes["data-title"].value),de(n),be(!0))}};return document.addEventListener("click",e,!1),function(){document.removeEventListener("click",e,!1)}}),[]),r.a.useEffect((function(){Oe({first:B,rows:w,sortField:D,sortOrder:R})}),[]);var ge=function(){var e=Object(d.a)(l.a.mark((function e(){var t,n,a,r;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=_,(n=fe)&&n.set("pageSize","1000"),a=n?t+"?"+n.toString():t,r=Array(),e.next=7,V.a.get(Object(L.f)(a,{useDedicatedEnvironment:!0}),Object(L.b)(u)).then((function(e){r=e.data.data})).catch((function(e){alert("error fetching data")}));case 7:return e.abrupt("return",r);case 8:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();return Object(S.jsx)("div",{className:"p-grid p-dir-col",children:Object(S.jsx)(Gi,{id:c,gridWidth:h,isLoading:v,rowsPerPage:w,setRowsPerPage:N,sortField:D,setSortField:F,sortOrder:R,setSortOrder:P,first:B,totalRecords:z,setTotalRecords:Y,data:q,setData:X,lastUpdated:"",originalNotes:[],setOriginalNotes:function(e){},originalColumns:[],setOriginalColumns:function(e){},customColumnName:"",setCustomColumnName:function(e){},queryData:Oe,isMyGrants:!0,decrement:a,hideNotes:!0,getExcelData:ge,isRemove:i,isPipelineScreen:ne,isPipelineOwner:t,isMySuggestions:n,setRefreshGrantsData:s})})},Xi=function(e){return null===e?"":"$".concat(e)},Zi={notification:null===(Yi=n(634))||void 0===Yi?void 0:Yi.default},Ji=function(){var e=Object(ie.a)(),t=a.useContext(j.d),n=a.useContext(se.a),r="",i=Object(p.h)();i&&i.search&&(r=Object(Yr.parse)(i.search).section||"");var c=a.useState(!0),s=Object(o.a)(c,2),b=s[0],m=s[1],f=a.useState("businessforecast"!==r),h=Object(o.a)(f,2),O=h[0],g=h[1],x=a.useState("contract"!==r),v=Object(o.a)(x,2),y=v[0],C=v[1],A=a.useState("grant"!==r),w=Object(o.a)(A,2),N=w[0],E=w[1],I=a.useState(!0),D=Object(o.a)(I,2),F=D[0],k=D[1],T=a.useState(!1),R=Object(o.a)(T,2),P=R[0],M=R[1],U=a.useState(!1),B=Object(o.a)(U,2),Q=B[0],W=B[1],H=a.useState(0),z=Object(o.a)(H,2),Y=z[0],G=z[1],K=a.useState(0),q=Object(o.a)(K,2),X=q[0],Z=q[1],J=a.useState(0),_=Object(o.a)(J,2),$=_[0],ee=_[1],te=a.useState(0),ne=Object(o.a)(te,2),re=ne[0],ce=ne[1],oe=a.useState(!0),de=Object(o.a)(oe,2),ue=de[0],pe=de[1];a.useEffect((function(){V.a.get(Object(L.f)("/api/user/MySuggestions",{useDedicatedEnvironment:!0}),Object(L.b)(t)).then((function(e){try{var t=e.data,a=t.myForecastSuggestionCount,r=t.myGrantSuggestionCount,i=t.myContractSuggestionCount;G(a+r+i),Z(a),ee(r),ce(i)}catch(c){n.current.show({severity:"error",summary:"Error Loading MySuggestions",sticky:!0}),console.error("unable to load",{error:c,response:e})}}))}),[]);var be=function(e){switch(e){case"forecast":W(!1),M(!1),k(!0);break;case"grant":W(!1),M(!0),k(!1);break;case"contract":W(!0),M(!1),k(!1)}},je=Object(S.jsxs)("div",{style:{paddingTop:10,marginRight:"-16px"},children:[Object(S.jsx)("img",{src:Zi.notification,style:e.icon}),Y>0?Object(S.jsx)("span",{style:e.mySuggestionsRedBadge,children:Y}):Object(S.jsx)("span",{style:e.mySuggestionsTransparent})]}),me=a.useState(!1),fe=Object(o.a)(me,2),he=fe[0],Oe=fe[1];return Object(S.jsxs)("div",{className:"p-grid p-dir-col p-col-12",children:[Object(S.jsx)("div",{className:"p-col-12",children:Object(S.jsx)(ae.b,{text:"My Bids"})}),Object(S.jsxs)("div",{className:ue?"mybids-container":"hide-info-page",children:[Object(S.jsx)("div",{className:"icon",children:Object(S.jsx)("img",{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAuCAYAAAA7v3kyAAAAAXNSR0IArs4c6QAAAtlJREFUWEfdmN111EAMhXUrgFQAqQCoANLBUgFJBUAFhAqACkgqCFTApgI2FZBUQFKBONdH8tHKY3vWnrwwb7Zn5hv9jmRIGqr6XESe2esbAPd5zppn+GIDfReRN2nDCxH52ArcAQ32W0Sejpx+JyInLaAO/BUkuxYRSkX4h6DebwD4vGrApPtju1wD6FWqqoTeisgTEbkHcLSKJiIEEkAJOWirr3FTVeXze3t3DIAHWDxqgFTvOyMcrbUjgVTbX9uQp3/lm6rqS5Oec+4AMGRGh2mLh/N5dDbavteKO02UgnHnTrMJnnsGgO+LQ1W/mJOVvvdrHUgJtiLyYmS/SwCnEzB6L4FTg2G1jYFP6HlwEF88cKS8q6rSJB7DbwH84JzkcFsAJz3QJkSP7fYFsDenAItrBrGqqrRjpznu1RrYqS2FFbX2qffy9PExJGTKpLe3kdBMQbf3G6b3yOS5PwFsVqvUgAyfqwkXfWCuBrBrAjQow4bXWx6Ebdy2zYAGjQmEr+5ov5gOWwNjPBI4CJNmQFWN7u9q7ZOAv2gCtCRP94+jmOxXA+2GoIfm8qSY7BcD7VpjBimVHXuVQxT7YKCBWAEQVCq6bizmiuVlNbACREEmYV16m8ulIsLCaUoi3+KSUs+VIDVAqmasXvXgPs23xFiaqwGOrWUWOZ8qO0oLlwAXgaoDP5ySDkEb7V2wEzdE8VOthLN1TS24BjjIh7WbL7LhXBF1KHxWwv8OyGTMey2Ox7GhqsamNJvmAsDZofYadZp0W7PoYawxnb0OiyabmdrDeLvGDpgAwlj0dO1VuslvARzXbjyaS1MH/BnAng1VtXlDGsv7gdpSB8Rmlc3J4pF/KnQtle9mly6LI3a0DwCmrqmqQ3hDSidxB2Fv550u1ds1IiIy2ZRW0fzGN+cglL9HSmNQQdcC8rzYAVMSSpbbbv4oYm/Q5J/boLs1aelIBOzWOkmW8B+1h4lLVptbowAAAABJRU5ErkJggg==",alt:"",width:26,height:46})}),Object(S.jsxs)("div",{className:"container-group",children:[Object(S.jsx)("p",{children:Object(S.jsxs)("strong",{children:[" ","We have moved My Bids under"," ",Object(S.jsx)("a",{className:"links-bids",href:"/pipeline",children:"Pipelines!"})," "]})}),Object(S.jsx)("p",{className:"content-section",children:"As we're helping your organization follow and track opportunities, AiKonekt now gives you the opportunity to organize and collaborate on the opportunities with your team. You can create customized pipelines and start adding and sharing opportunities with other team members."}),Object(S.jsxs)("p",{className:"content-section",children:["Don't worry, nothing has been deleted, you still can access your bids saved in the pipeline \u201cDefault Pipeline\u201d available under"," ",Object(S.jsx)("a",{className:"links-bids",href:"/pipeline?my=true",children:Object(S.jsx)("strong",{children:"My Bids Pipeline"})})]}),Object(S.jsx)("div",{className:"bottom-footer",children:Object(S.jsx)("p",{onClick:function(){return pe(!1)},children:"Dismiss"})})]})]}),Object(S.jsx)("div",{className:"p-col-2"}),Object(S.jsx)("div",{className:"p-col-12",children:Object(S.jsx)(at.Panel,{style:Object(u.a)(Object(u.a)({},e.filters.filterBox),{},{marginTop:0,borderColor:e.theme.v2.lightBlue}),collapsed:b,onToggle:function(e){return m(e.value)},toggleable:!0,expandIcon:"",collapseIcon:"",header:Object(S.jsx)("div",{className:"suggestions-header",children:Object(S.jsx)(rt.a,{title:"MySuggestions",isCollapsed:b,setIsCollapsed:m,collapserIcon:je,expanderIcon:je})}),children:Object(S.jsxs)("div",{className:"p-grid p-justify-start",children:[Object(S.jsxs)("div",{className:"p-col-12",style:{textAlign:"start"},children:[Object(S.jsx)(le.Button,{className:"p-button bordered p-no-hover",style:e.mySuggestionsOptions(F,"blue"),onClick:function(){return be("forecast")},children:"New Forecast Opps"}),X>0?Object(S.jsx)("span",{style:e.mySuggestionsBadge,children:X}):Object(S.jsx)("span",{style:e.mySuggestionsTransparent}),Object(S.jsx)(le.Button,{style:e.mySuggestionsOptions(Q,"blue"),className:"p-no-hover",onClick:function(){return be("contract")},children:"New Contracts Opps"}),re>0?Object(S.jsx)("span",{style:e.mySuggestionsBadge,children:re}):Object(S.jsx)("span",{style:e.mySuggestionsTransparent}),Object(S.jsx)(le.Button,{style:e.mySuggestionsOptions(P,"blue"),className:"p-no-hover",onClick:function(){return be("grant")},children:"New Grants Opps"}),$>0?Object(S.jsx)("span",{style:e.mySuggestionsBadge,children:$}):Object(S.jsx)("span",{style:e.mySuggestionsTransparent}),Object(S.jsx)(le.Button,{style:Object(u.a)(Object(u.a)({},e.mySuggestionsOptions(!1,"blue")),{},{backgroundColor:"#FF0000",borderColor:"#FF0000",paddingRight:12}),className:"clear-btn",onClick:Object(d.a)(l.a.mark((function e(){return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:Oe(!0),setTimeout((function(){V.a.get(Object(L.f)("/api/user/MySuggestions",{useDedicatedEnvironment:!0}),Object(L.b)(t)).then((function(e){Oe(!1);try{var t=e.data,a=t.myForecastSuggestionCount,r=t.myGrantSuggestionCount,i=t.myContractSuggestionCount;G(a+r+i),Z(a),ee(r),ce(i)}catch(c){n.current.show({severity:"error",summary:"Error Loading MySuggestions",sticky:!0}),console.error("unable to load",{error:c,response:e})}}))}),1e3);case 2:case"end":return e.stop()}}),e)}))),children:"Clear All"})]}),Object(S.jsxs)("div",{className:"p-col-12",children:[F&&Object(S.jsx)(pi,{id:0,isRemove:he,decrement:function(){Z(X-1),G(Y-1)}}),P&&Object(S.jsx)(qi,{id:0,isRemove:he,decrement:function(){ee($-1),G(Y-1)}}),Q&&Object(S.jsx)(Vi,{pipelineId:0,isRemove:he,decrement:function(){ce(re-1),G(Y-1)}})]})]})})}),Object(S.jsx)("div",{className:"p-col-12",children:Object(S.jsx)(at.Panel,{style:Object(u.a)(Object(u.a)({},e.filters.filterBox),{},{marginTop:0}),collapsed:O,onToggle:function(e){return g(e.value)},toggleable:!0,expandIcon:"",collapseIcon:"",header:Object(S.jsx)(rt.a,{title:"MyForecast",isCollapsed:O,setIsCollapsed:g}),children:Object(S.jsx)(ui,{id:0,isPipelineScreen:!1,isPipelineOwner:!1})})}),Object(S.jsx)("div",{className:"p-col-12",children:Object(S.jsx)(at.Panel,{style:Object(u.a)(Object(u.a)({},e.filters.filterBox),{},{marginTop:0}),collapsed:y,onToggle:function(e){return C(e.value)},toggleable:!0,expandIcon:"",collapseIcon:"",header:Object(S.jsx)(rt.a,{title:"MyContracts",isCollapsed:y,setIsCollapsed:C}),children:Object(S.jsx)(Bi,{id:0})})}),Object(S.jsx)("div",{className:"p-col-12",children:Object(S.jsx)(at.Panel,{style:Object(u.a)(Object(u.a)({},e.filters.filterBox),{},{marginTop:0}),collapsed:N,onToggle:function(e){return E(e.value)},toggleable:!0,expandIcon:"",collapseIcon:"",header:Object(S.jsx)(rt.a,{title:"MyGrants",isCollapsed:N,setIsCollapsed:E}),children:Object(S.jsx)(Ki,{id:0})})})]})},_i=n(1501),$i=n(678),ec=(n(1305),n(679)),tc=function(e){return{backgroundColor:"rgb(216, 216, 216)",width:"".concat(e,"px")}},nc=function(e){return{width:"".concat(e,"px")}},ac=[j.a.free,j.a.plus,j.a.pro,j.a.semiAdmin,j.a.EditPrimesAndQuarterlyCallInfo,j.a.EditUserNotifications,j.a.EditCalendarEvents,j.a.EditResourcesPage,j.a.admin].map((function(e){return{value:e,label:Object(j.c)(e)}})),rc=function(e){var t=e.user,n=e.context,r=a.useState(Array()),i=Object(o.a)(r,2),c=i[0],s=i[1],u=a.useState(!0),p=Object(o.a)(u,2),b=p[0],m=p[1],f=a.useState(t.enabled),h=Object(o.a)(f,2),O=h[0],g=h[1],x=a.useContext(se.a);a.useEffect((function(){var e="/api/admin/user?email=".concat(encodeURIComponent(t.email)),a=Object(L.b)(n);V.a.get(Object(L.f)(e,{useDedicatedEnvironment:!0}),a).then((function(e){var t=e.data.groups.map((function(e){var t="";if(e.expiration){var n=new Date(e.expiration).toISOString();t="".concat(n.substring(5,7),"/").concat(n.substring(8,10),"/").concat(n.substring(0,4))}return{name:e.name,expiration:t}}));t.push({name:"",expiration:""}),s(t),m(!1)})).catch((function(e){alert("error fetching data"),m(!1)}))}),[]);var v=function(){var e=Object(d.a)(l.a.mark((function e(){var a,r;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:m(!0),r=Object(L.c)(n),V.a.post(Object(L.e)("sendWeeklyForecast"),{user:t.email,sender:null===(a=n.user.parsedIdToken)||void 0===a?void 0:a.email},r).then((function(e){m(!1),x&&x.current&&x.current.show({severity:"success",summary:"Weekly forecast sent!"})})).catch((function(e){console.error(e),x&&x.current&&x.current.show({severity:"error",summary:"Error sending weekly forecast"}),m(!1)}));case 3:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();return b?Object(S.jsx)(Or.ProgressSpinner,{}):Object(S.jsxs)("div",{className:"p-fluid",style:{textAlign:"left"},children:[Object(S.jsxs)("div",{className:"p-field",children:[Object(S.jsx)("label",{htmlFor:"username",children:"Username"}),Object(S.jsx)(ce.InputText,{id:"username",type:"text",value:t.username,readOnly:!0})]}),Object(S.jsxs)("div",{className:"p-field",children:[Object(S.jsx)("label",{htmlFor:"email",children:"Email"}),Object(S.jsx)(ce.InputText,{id:"email",type:"text",value:t.email,readOnly:!0})]}),Object(S.jsxs)("div",{className:"p-field",children:[Object(S.jsx)("label",{htmlFor:"enabled",children:"Enabled"}),Object(S.jsx)(ec.ToggleButton,{style:{display:"block"},checked:O,onChange:function(e){return g(e.value)}})]}),Object(S.jsxs)("div",{className:"p-field",children:[Object(S.jsx)("label",{htmlFor:"sendWFEmail",children:"Actions"}),Object(S.jsx)("div",{children:Object(S.jsx)(le.Button,{className:"no-max-width-col",label:"Send Weekly Forecast Email",onClick:v})})]}),Object(S.jsxs)("div",{className:"p-grid",style:{marginTop:30},children:[Object(S.jsx)("div",{className:"p-col-3",children:"Group"}),Object(S.jsx)("div",{className:"p-col-3",children:"Expiration"})]}),c.map((function(e,t){var n=t===c.length-1;return Object(S.jsxs)("div",{className:"p-grid p-align-center",children:[Object(S.jsx)("div",{className:"p-col-3",children:Object(S.jsx)(Ie.Dropdown,{value:e.name,options:ac,onChange:function(t){var n=t.value,a=Object(ee.a)(c),r=a.find((function(t){return t.name===e.name}));r&&(r.name=n,a.findIndex((function(e){return e===r}))===a.length-1&&a.push({name:"",expiration:""})),s(a)},placeholder:"Select a Group"})}),Object(S.jsx)("div",{className:"p-col-3",children:Object(S.jsx)($i.InputMask,{mask:"99/99/9999",placeholder:"99/99/9999",slotChar:"mm/dd/yyyy",value:e.expiration,onChange:function(t){var n=t.target.value,a=Object(ee.a)(c),r=a.find((function(t){return t.name===e.name}));r&&(r.expiration=n),s(a)}})}),Object(S.jsx)("div",{className:"p-col-3",children:Object(S.jsx)(S.Fragment,{children:!n&&Object(S.jsx)(le.Button,{style:{padding:"3px",height:"auto"},type:"button",icon:"pi pi-trash",className:"p-button-secondary",onClick:function(){var t=Object(ee.a)(c),n=t.findIndex((function(t){return t.name===e.name}));t.splice(n,1),s(t)}})})})]},e.name)})),Object(S.jsx)("div",{className:"p-grid",children:Object(S.jsx)("div",{className:"p-col",children:Object(S.jsx)(le.Button,{label:"Save",className:"p-button-primary",onClick:function(){var e=c.filter((function(e){return e.name})),a=e.find((function(e){if((e.name===j.a.plus||e.name===j.a.pro)&&"Invalid Date"===new Date(e.expiration).toString())return!0;return!1}));if(a)x&&x.current&&x.current.show({severity:"error",summary:"Unable to set expiration for ".concat(a.name),detail:"please enter a valid expiration date for group '".concat(a.name,"'")});else{var r=Object(L.b)(n);m(!0),V.a.post(Object(L.f)("/api/admin/user",{useDedicatedEnvironment:!0}),{email:t.email,groups:e,enabled:O},r).then((function(e){x&&x.current&&x.current.show({severity:"success",summary:"Saved user!",detail:"successfully saved user changes"}),m(!1)})).catch((function(e){console.error(e),x&&x.current&&x.current.show({severity:"error",summary:"Error saving user",detail:"error saving user changes"}),m(!1)}))}}})})})]})},ic={Email:"",FirstName:"",LastName:"",OrganizationName:"",OrganizationId:"",OrganizationRole:"",UserRole:"",IsOrganizationRoleExpired:null},cc=[{value:"Free",label:"Free"},{value:"Plus",label:"Plus"},{value:"Pro",label:"Pro"}],oc=[{value:"Member",label:"Member"},{value:"OrganizationAdmin",label:"Organization Admin"},{value:"SemiAdmin",label:"Semi Admin"},{value:"SuperAdmin",label:"Super Admin"}];var sc,lc,dc=function(){var e=a.useContext(j.d),t=a.useState(0),n=Object(o.a)(t,2),r=n[0],i=n[1],c=(Object(ie.a)(),Object(Nt.a)()),s="users-management-filters-form",l=Object(a.useRef)(null),d=Object(Ra.b)({defaultValues:ic}),p=d.control,b=d.handleSubmit,m=d.reset;a.useEffect((function(){function e(){var e=Object(Ot.a)(),t=e.width,n=e.headerWidth;null!==t&&null!=n&&i(t-n)}return e(),window.addEventListener("resize",e),function(){return window.removeEventListener("resize",e)}}),[]);var f=a.useState(Array()),h=Object(o.a)(f,2),O=h[0],g=h[1],x=a.useState(!0),C=Object(o.a)(x,2),A=C[0],w=C[1],N=a.useState(Array()),E=Object(o.a)(N,2),I=E[0],D=E[1],F=Object(a.useState)(!1),k=Object(o.a)(F,2),T=k[0],R=k[1],P=Object(a.useState)(ic),M=Object(o.a)(P,2),U=M[0],B=M[1],Q=a.useState(""),W=Object(o.a)(Q,2),H=W[0],z=(W[1],function(){R(!1)}),Y=function(){z(),setTimeout((function(){m(U)}),150)},G=Object(st.c)(H,750);return a.useEffect((function(){!function(){var t="/api/admin/users/new",n=Object(L.b)(e);w(!0),V.a.get(Object(L.f)("".concat(t).concat(Object(Gn.a)(Object(u.a)({},Object.fromEntries(Object.entries(U).filter((function(e){var t=Object(o.a)(e,2),n=(t[0],t[1]);return"string"===typeof n?(null===n||void 0===n?void 0:n.length)>0:"boolean"===typeof n?n:null!==n})).map((function(e){var t=Object(o.a)(e,2),n=t[0],a=t[1];return Array.isArray(a)?[n,a.map((function(e){return e.hasOwnProperty("value")?e.value:e}))]:[n,a]})))))),{useDedicatedEnvironment:!0}),n).then((function(e){var t=e.data.users;g(t),w(!1)})).catch((function(e){alert("error fetching data"),w(!1)}))}()}),[G,U]),Object(S.jsxs)("div",{className:"p-grid p-dir-col",children:[Object(S.jsx)("div",{className:"p-grid p-align-center",children:Object(S.jsx)("h2",{className:"p-col-8 sectionHeader",children:"User Management"})}),Object(S.jsxs)(ne.DataTable,{value:O,style:{marginTop:20,width:"".concat(r-20,"px"),marginBottom:"16px"},ref:l,rows:30,loading:A,scrollable:!0,scrollHeight:"800px",expandedRows:I,onRowToggle:function(e){return D(e.data)},rowExpansionTemplate:function(t){return Object(S.jsx)(rc,{user:t,context:e})},paginator:!0,rowsPerPageOptions:[5,10,20,25,30],totalRecords:O.length,paginatorTemplate:"FirstPageLink PrevPageLink PageLinks NextPageLink LastPageLink CurrentPageReport RowsPerPageDropdown",currentPageReportTemplate:"Showing {first} to {last} of {totalRecords} entries",header:Object(S.jsxs)(v.a,{sx:{display:"flex",justifyContent:"flex-start",px:2,py:1},children:[Object(S.jsx)(it.a,{variant:"secondaryContained",onClick:function(){R(!0)},endIcon:Object(S.jsxs)(S.Fragment,{children:[Object(S.jsx)(Wn.a,{sx:{height:"24px",width:"24px"}}),function(){var e=Object.entries(U).filter((function(e){var t=Object(o.a)(e,2),n=(t[0],t[1]);return Boolean(n)})).length;return e>0?Object(S.jsx)(qe.a,{sx:{position:"absolute",height:"16px",width:"16px",top:"2px",right:"6px",fontSize:"14px !important",backgroundColor:c.palette.secondary.main,pointerEvents:"none"},children:e}):Object(S.jsx)(S.Fragment,{})}()]}),children:"Filters"}),Object(S.jsxs)(_i.a,{open:T,onClose:Y,variant:"temporary",anchor:"right",sx:{zIndex:2147483639},PaperProps:{sx:{width:"480px","& > div":{px:2}}},children:[Object(S.jsxs)(v.a,{sx:{display:"flex",alignItems:"center",gap:"16px",backgroundColor:c.palette.secondary.light,borderBottom:"solid 3px ".concat(c.palette.secondary.main),py:3},children:[Object(S.jsx)(Wn.a,{}),Object(S.jsx)(y.a,{variant:"h5",children:"Filters"})]}),Object(S.jsx)(v.a,{sx:{py:2,overflowY:"scroll",flex:1},children:Object(S.jsxs)("form",{onSubmit:b((function(e){B((function(t){return Object(u.a)(Object(u.a)({},t),e)})),l.current&&l.current.setState({first:0}),setTimeout((function(){z()}),150)})),id:s,style:{display:"flex",flexDirection:"column",alignItems:"center",gap:"20px"},children:[Object(S.jsx)(Fa.a,{type:"text",name:"Email",control:p,label:"Email",fullWidth:!0}),Object(S.jsx)(Fa.a,{type:"text",name:"FirstName",control:p,label:"First Name",fullWidth:!0}),Object(S.jsx)(Fa.a,{type:"text",name:"LastName",control:p,label:"Last Name",fullWidth:!0}),Object(S.jsx)(Fa.a,{type:"text",name:"OrganizationName",control:p,label:"Organization Name",fullWidth:!0}),Object(S.jsx)(Fa.a,{type:"number",name:"OrganizationId",control:p,label:"Organization ID",fullWidth:!0}),Object(S.jsx)(Fa.a,{type:"combo-box",name:"OrganizationRole",control:p,label:"Organization Role",fullWidth:!0,options:cc}),Object(S.jsx)(Fa.a,{type:"combo-box",name:"UserRole",control:p,label:"User Role",fullWidth:!0,options:oc}),Object(S.jsx)(Fa.a,{type:"switch",name:"IsOrganizationRoleExpired",control:p,label:"Is Organization Role Expired?",fullWidth:!0})]})}),Object(S.jsx)(Tt.a,{}),Object(S.jsxs)(v.a,{sx:{display:"flex",alignItems:"center",justifyContent:"flex-end",gap:"16px",py:2},children:[Object(S.jsx)(it.a,{variant:"secondaryContained",color:"secondary",onClick:Y,children:"Cancel"}),Object(S.jsx)(it.a,{variant:"secondaryContained",color:"secondary",onClick:function(){m(ic)},children:"Clear"}),Object(S.jsx)(it.a,{variant:"contained",color:"secondary",type:"submit",form:s,children:"Save"})]})]})]}),children:[Object(S.jsx)(re.Column,{expander:!0,headerStyle:tc(40),style:nc(40)}),Object(S.jsx)(re.Column,{field:"email",header:"Email",headerStyle:tc(250),style:nc(250)}),Object(S.jsx)(re.Column,{field:"username",header:"Username",headerStyle:tc(150),style:nc(150)}),Object(S.jsx)(re.Column,{field:"enabled",header:"Enabled",body:function(e){return e.enabled?"Yes":"No"},headerStyle:tc(80),style:nc(80)}),Object(S.jsx)(re.Column,{field:"createdUtc",header:"Created",body:function(e){return new Date(e.createdUtc).toLocaleString()},headerStyle:tc(150),style:nc(150)}),Object(S.jsx)(re.Column,{field:"updatedUtc",header:"Updated",body:function(e){return new Date(e.updatedUtc).toLocaleString()},headerStyle:tc(150),style:nc(150)})]})]})},uc=(n(1307),null===(sc=n(506))||void 0===sc||sc.default,null===(lc=n(236))||void 0===lc||lc.default,function(){var e=a.useState(!1),t=Object(o.a)(e,2),n=t[0],r=t[1],i=a.useContext(j.d),c=a.useContext(se.a),s=a.useState(""),l=Object(o.a)(s,2),d=l[0],p=l[1],b=a.useState(!1),m=Object(o.a)(b,2),f=m[0],h=m[1];return a.useEffect((function(){if(!f){r(!0);var e=new URL(window.location.toString()),t=e.searchParams.get("asOf"),n=e.searchParams.get("start"),a=e.searchParams.get("apiKey"),o=e.searchParams.get("userOverride"),s=new URLSearchParams;t&&s.set("asOf",t),a&&s.set("apiKey",a),o&&s.set("userOverride",o),n&&s.set("start",n);var l=Object(L.b)(i,{additionalHeaders:Object(H.a)({},"Content-Type","text/html; charset=utf-8")});if(l)if(h(!0),L.d.API.endpoints.find((function(e){return e.name===L.a}))){var d=Object(L.f)("/WeeklyForecastReport?".concat(s.toString()),{useDedicatedEnvironment:!0});fetch(d,Object(u.a)({method:"get"},l)).then((function(e){return e.text()})).then((function(e){p(e),r(!1)})).catch(Object(st.b)((function(e){c.current.show({severity:"error",summary:"Error getting report",detail:"Error getting Weekly report: ".concat(e)}),r(!1)})))}}}),[i]),n?Object(S.jsx)(Or.ProgressSpinner,{}):Object(S.jsx)("div",{dangerouslySetInnerHTML:{__html:d}})}),pc=n(179),bc=n.p+"static/media/Pricing_Tiers.cd9aeca2.png",jc=function(){var e=a.useContext(j.d),t=Object(ie.a)();return Object(S.jsxs)("div",{className:"p-grid",children:[Object(S.jsx)("div",{className:"p-col-12",children:Object(S.jsx)(le.Button,{style:Object(u.a)(Object(u.a)({},t.pageButton),{},{position:"fixed",right:30}),onClick:function(){V.a.post(Object(L.f)("/api/Payment/submitsubscription",{useDedicatedEnvironment:!0}),null,Object(L.c)(e)).then((function(e){var t=e.data.url;window.open(t,"_blank")})).catch((function(e){return alert(e)}))},label:"Upgrade Plan"})}),Object(S.jsx)("div",{className:"p-col-10",children:Object(S.jsx)("img",{src:bc,alt:"Pricing tiers",style:{objectFit:"contain",maxWidth:"100%",maxHeight:"100%",minWidth:"650px"}})})]})},mc=(n(1308),function(){var e=Object(ie.a)();return Object(S.jsxs)("div",{className:"resources-screen",children:[Object(S.jsxs)("section",{className:"header",children:[Object(S.jsxs)("div",{className:"header-title",children:[Object(S.jsx)("img",{src:e.aidkonektIcon,style:e.icon,alt:"Aidkonekt",className:"formIcon"}),Object(S.jsx)("span",{children:"USAID Resources"})]}),Object(S.jsx)("span",{className:"header-subtitle",children:"Curated Key Resources for working with USAID"}),Object(S.jsx)("span",{className:"header-description",children:"As a company, we have more than half a decade of experience supporting our clients' USAID proposal development, and collectively, our core network of professionals has centuries of experience in all aspects of working with USAID, from proposals to implementation to closeout and follow-on activities. With this depth and breadth of experience working with USAID, we would like to share the following resources. We hope you find them useful as you and your team partner with USAID to implement their important work."})]}),Object(S.jsxs)("section",{className:"resources-cards-block",children:[Object(S.jsxs)("div",{className:"cards-column",children:[Object(S.jsxs)("div",{className:"card-container",children:[Object(S.jsx)("h3",{className:"card-title",children:"USAID Country Development Cooperation Strategy Repository"}),Object(S.jsx)("div",{className:"card-content",children:Object(S.jsx)("span",{children:"A Country Development Cooperation Strategy (CDCS) defines how a Mission will further the goal of ending the need for foreign assistance in a given country by articulating how and where it will build self-reliance with the country partner."})}),Object(S.jsx)(b.b,{className:"card-btn-yellow",to:"/cdcs-repository",children:"CDCS Repository"})]}),Object(S.jsxs)("div",{className:"card-container",children:[Object(S.jsx)("h3",{className:"card-title",children:"USAID Best Practices and General Information"}),Object(S.jsxs)("ul",{className:"card-list-content",children:[Object(S.jsx)("li",{children:"- Top 25 USAID Prime Implementers 2017-2019"}),Object(S.jsx)("li",{children:"- Subcontracting Best Practices White Paper"}),Object(S.jsx)("li",{children:"- Proposal Development Best Practices White Paper"})]}),Object(S.jsx)(b.b,{className:"card-btn-yellow",to:"/resources",children:"Resources"})]}),Object(S.jsxs)("div",{className:"card-container",children:[Object(S.jsx)("h3",{className:"card-title",children:"Konektid International Webinars"}),Object(S.jsxs)("ul",{className:"card-list-content",children:[Object(S.jsx)("li",{children:"\u2013 USAID's Response to COVID-19"}),Object(S.jsx)("li",{children:"\u2013 Introduction to USAID partnering"}),Object(S.jsx)("li",{children:"\u2013 USAID under the Biden Administration"})]}),Object(S.jsx)(b.b,{className:"card-btn-yellow",to:"/webinars",children:"Webinars"})]})]}),Object(S.jsxs)("div",{className:"cards-column",children:[Object(S.jsxs)("div",{className:"card-container",children:[Object(S.jsx)("h3",{className:"card-title",children:"USG Local Compensation Plan Archive"}),Object(S.jsx)("div",{className:"card-content",children:Object(S.jsx)("span",{children:"Local Compensation Plans are essential to US Government Contracting budgets and proposals but can be difficult to come by. We have complied a database of LCP's we have on hand and will continue to build our database."})}),Object(S.jsx)(b.b,{className:"card-btn-yellow",to:"/lcp-archives",children:"LCP Archive"})]}),Object(S.jsxs)("div",{className:"card-container",children:[Object(S.jsx)("h3",{className:"card-title",children:"USAID Business Forecast Quarterly Information Call"}),Object(S.jsx)("div",{className:"card-content",children:Object(S.jsx)("span",{children:"USAID holds an information sharing call regarding the Business Forecast quarterly to answer implementer questions and share additional information on procurements. Access the Quarterly call information in our archive."})}),Object(S.jsx)(b.b,{className:"card-btn-yellow",to:"/qa-archives",children:"Q&A Archive"})]}),Object(S.jsxs)("div",{className:"card-container",children:[Object(S.jsx)("h3",{className:"card-title",children:"Initial Environmental Examination Archive"}),Object(S.jsx)("div",{className:"card-content"}),Object(S.jsx)(b.b,{className:"card-btn-yellow",to:"/iee-archives",children:"IEE Archive"})]}),Object(S.jsxs)("div",{className:"card-container",children:[Object(S.jsx)("h3",{className:"card-title",children:"IDIQ, LWA & BPA Search"}),Object(S.jsx)("div",{className:"card-content",children:Object(S.jsx)("span",{children:"Search IDIQ, LWA, and BPA prime holders and vendors, IDIQ closing dates, and other insight"})}),Object(S.jsx)(b.b,{className:"card-btn-yellow",to:"/idiqs",children:"Search"})]})]})]})]})}),fc=(n(1309),function(){var e=r.a.useContext(j.d),t=Object(ie.a)(),n=r.a.useContext(se.a),a=r.a.useState(!1),i=Object(o.a)(a,2),c=i[0],s=i[1],b=r.a.useState(Array()),m=Object(o.a)(b,2),f=m[0],h=m[1],O=r.a.useState(!1),g=Object(o.a)(O,2),x=g[0],v=g[1],y=r.a.useState(""),C=Object(o.a)(y,2),A=C[0],w=C[1],N=r.a.useState(""),E=Object(o.a)(N,2),I=E[0],D=E[1],F=r.a.useState(""),k=Object(o.a)(F,2),T=k[0],R=k[1],P=r.a.useState(!1),M=Object(o.a)(P,2),U=M[0],B=M[1],Q=Object(j.g)(e,j.a.EditResourcesPage)||Object(j.e)(e,j.a.partialAdmin),W=function(){var t=Object(d.a)(l.a.mark((function t(){var n;return l.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=Object(u.a)({},Object(L.b)(e,{additionalHeaders:{"Content-Type":"application/json"}})),t.next=3,V.a.post(Object(L.f)("/api/utility/upload",{useDedicatedEnvironment:!0}),{title:I,description:T,fileName:A},n).catch((function(e){alert("Error adding file "+e.message)}));case 3:B(!1),v(!x);case 5:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}();return Object(j.h)(e,j.b.plusOrHigher)?(r.a.useEffect((function(){s(!0);var t=Object(L.b)(e);V.a.get(Object(L.f)("/api/utility",{useDedicatedEnvironment:!0}),t).then((function(e){h(e.data),s(!1)})).catch(Object(st.b)((function(){n.current.show({severity:"error",summary:"Error getting utility resources",detail:"Error getting utility resources"}),s(!1)})))}),[x]),c?Object(S.jsx)(Or.ProgressSpinner,{}):Object(S.jsxs)("div",{className:"resources-screen resources",children:[Object(S.jsxs)("section",{className:"header",children:[Object(S.jsxs)("div",{className:"header-title",children:[Object(S.jsx)("img",{src:t.aidkonektIcon,style:t.icon,alt:"Aidkonekt",className:"formIcon"}),Object(S.jsx)("span",{children:"USAID Resources"})]}),Object(S.jsx)("span",{className:"header-subtitle",children:"Curated Key Resources for working with USAID"}),Object(S.jsx)("span",{className:"header-description",children:"As a company, we have more than half a decade of experience supporting our clients' USAID proposal development, and collectively, our core network of professionals has centuries of experience in all aspects of working with USAID, from proposals to implementation to closeout and follow-on activities. With this depth and breadth of experience working with USAID, we would like to share the following resources. We hope you find them useful as you and your team partner with USAID to implement their important work."})]}),Q&&(U?Object(S.jsxs)("section",{children:[Object(S.jsxs)("div",{className:"add-btn-container",onClick:function(){return B(!1)},children:[Object(S.jsx)("button",{type:"button",className:"add-btn aid-blu-btn",children:"-"}),Object(S.jsx)("span",{className:"add-btn-title",children:"Hide"})]}),Object(S.jsxs)("div",{className:"new-post-date-container",style:{paddingLeft:"20px"},children:[Object(S.jsx)("input",{type:"text",placeholder:"Title",className:"new-post-date-small",onChange:function(e){return D(e.currentTarget.value)}}),Object(S.jsx)("textarea",{className:"new-post-date-big",placeholder:"Resource description",onChange:function(e){return R(e.currentTarget.value)}}),Object(S.jsx)("input",{type:"text",placeholder:"Url",className:"new-post-date-small",onChange:function(e){return w(e.currentTarget.value)}}),Object(S.jsx)("button",{className:"card-btn aid-blu-btn",disabled:!A||!T||!I,onClick:W,children:"Upload"})]})]}):Object(S.jsxs)("div",{className:"add-btn-container",onClick:function(){return B(!0)},children:[Object(S.jsx)("button",{type:"button",className:"add-btn aid-blu-btn",children:"+"}),Object(S.jsx)("span",{className:"add-btn-title",children:"Add new resource"})]})),Object(S.jsx)("section",{className:"resources-cards-block",children:f.map((function(e){return Object(S.jsxs)("div",{className:"card-container",children:[Object(S.jsx)("h3",{className:"card-title",children:e.title}),Object(S.jsx)("div",{className:"card-content",children:Object(S.jsx)("span",{children:e.description})}),Object(S.jsx)("button",{type:"button",className:"card-btn aid-blu-btn",onClick:function(){var t=e.fileName.substring(e.fileName.lastIndexOf("/")+1);saveAs(e.fileName,t)},children:"Download"})]})}))})]})):Object(S.jsx)(p.a,{to:"/"})}),hc=(n(1310),n(680)),Oc=function(){var e=Object(ie.a)(),t=U(),n=r.a.useContext(j.d),i=Object(a.useState)(!1),c=Object(o.a)(i,2),s=c[0],u=c[1],p=Object(a.useState)(""),b=Object(o.a)(p,2),m=b[0],f=b[1],h=Object(a.useState)(""),O=Object(o.a)(h,2),g=O[0],x=O[1],v=Object(a.useState)(""),y=Object(o.a)(v,2),C=y[0],A=y[1],w=Object(a.useState)(-1),N=Object(o.a)(w,2),E=N[0],I=N[1],D=Object(a.useState)(""),F=Object(o.a)(D,2),k=F[0],T=F[1],R=Object(a.useState)(""),P=Object(o.a)(R,2),M=P[0],B=P[1],Q=Object(a.useState)(""),W=Object(o.a)(Q,2),H=W[0],z=W[1],Y=r.a.useContext(se.a),G=r.a.useState(!1),K=Object(o.a)(G,2),q=K[0],X=K[1],Z=r.a.useState(Array()),J=Object(o.a)(Z,2),_=J[0],$=J[1],ee=r.a.useState(!1),te=Object(o.a)(ee,2),ne=te[0],ae=te[1],re={height:"200",width:"340"},ce=function(){var e=Object(d.a)(l.a.mark((function e(){var t,a;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(C&&m&&g){e.next=2;break}return e.abrupt("return");case 2:return e.prev=2,t=new URL(C),a=t.searchParams.get("v"),e.next=7,V.a.post(Object(L.f)("/api/webinar",{useDedicatedEnvironment:!0}),{Title:m,Description:g,Link:a},Object(L.c)(n)).then((function(e){u(!1),f(""),x(""),A(""),ae(!ne)}));case 7:e.next=11;break;case 9:e.prev=9,e.t0=e.catch(2);case 11:case"end":return e.stop()}}),e,null,[[2,9]])})));return function(){return e.apply(this,arguments)}}(),oe=function(){var e=Object(d.a)(l.a.mark((function e(){var t,a,r;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(k&&M&&H){e.next=2;break}return e.abrupt("return");case 2:if(t=_.find((function(e){return e.id===E})),a=new URL(H),r=a.searchParams.get("v"),!t||t.description!==M||t.title!==k||t.link!==r){e.next=11;break}return T(""),B(""),z(""),I(-1),e.abrupt("return");case 11:return e.prev=11,e.next=14,V.a.put(Object(L.f)("/api/webinar",{useDedicatedEnvironment:!0}),{id:E,Title:k,Description:M,Link:r},Object(L.c)(n)).then((function(e){T(""),B(""),z(""),I(-1),ae(!ne)}));case 14:e.next=18;break;case 16:e.prev=16,e.t0=e.catch(11);case 18:return e.prev=18,Y.current.show({severity:"success",summary:"Record has been edited"}),e.finish(18);case 21:case"end":return e.stop()}}),e,null,[[11,16,18,21]])})));return function(){return e.apply(this,arguments)}}(),le=function(){var e=Object(d.a)(l.a.mark((function e(t){return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,V.a.delete(Object(L.f)("/api/webinar/".concat(t),{useDedicatedEnvironment:!0}),Object(L.c)(n)).then((function(e){ae(!ne)}));case 3:e.next=7;break;case 5:e.prev=5,e.t0=e.catch(0);case 7:return e.prev=7,Y.current.show({severity:"success",summary:"Record has been deleted"}),e.finish(7);case 10:case"end":return e.stop()}}),e,null,[[0,5,7,10]])})));return function(t){return e.apply(this,arguments)}}(),de=Object(j.e)(n,j.a.admin)||Object(j.e)(n,j.a.partialAdmin);return r.a.useEffect((function(){X(!0);var e=Object(L.b)(n);V.a.get(Object(L.f)("/api/webinar",{useDedicatedEnvironment:!0}),e).then((function(e){$(e.data),X(!1)})).catch(Object(st.b)((function(){Y.current.show({severity:"error",summary:"Error getting webinars",detail:"Error getting webinars"}),X(!1)})))}),[ne]),q?Object(S.jsx)(Or.ProgressSpinner,{}):Object(S.jsxs)("div",{className:"resources-screen webinars",children:[Object(S.jsxs)("section",{className:"header",children:[Object(S.jsxs)("div",{className:"header-title",children:[Object(S.jsx)("img",{src:e.aidkonektIcon,style:e.icon,alt:"Aidkonekt",className:"formIcon"}),Object(S.jsx)("span",{children:"USAID Resources"})]}),Object(S.jsx)("span",{className:"header-subtitle",children:"Curated Key Resources for working with USAID"}),Object(S.jsx)("span",{className:"header-description",children:"As a company, we have more than half a decade of experience supporting our clients' USAID proposal development, and collectively, our core network of professionals has centuries of experience in all aspects of working with USAID, from proposals to implementation to closeout and follow-on activities. With this depth and breadth of experience working with USAID, we would like to share the following resources. We hope you find them useful as you and your team partner with USAID to implement their important work."})]}),de&&Object(S.jsx)("section",{children:s?Object(S.jsxs)("div",{className:"add-new-post",children:[Object(S.jsx)("input",{type:"text",className:"new-post-header",onChange:function(e){return f(e.currentTarget.value)}}),Object(S.jsxs)("div",{className:"new-post-content",children:[Object(S.jsxs)("div",{className:"new-post-date-container",children:[Object(S.jsx)("span",{className:"new-post-date-helper description",children:"description:"}),Object(S.jsx)("textarea",{className:"new-post-date",onChange:function(e){return x(e.currentTarget.value)}})]}),Object(S.jsxs)("div",{className:"new-post-link-container",children:[Object(S.jsx)("span",{className:"new-post-link-helper",children:"video link:"}),Object(S.jsx)("input",{type:"text",className:"new-post-link",onChange:function(e){return A(e.currentTarget.value)}})]})]}),Object(S.jsx)("button",{type:"button",className:"card-btn aid-blu-btn",onClick:function(){return ce()},disabled:!C||!m||!g,children:"Save"})]}):Object(S.jsxs)("div",{className:"add-btn-container",onClick:function(){return u(!0)},children:[Object(S.jsx)("button",{type:"button",className:"add-btn aid-blu-btn",children:"+"}),Object(S.jsx)("span",{className:"add-btn-title",children:"Add new post"})]})}),Object(S.jsx)("section",{className:"resources-cards-block",children:_.map((function(e,n){return Object(S.jsxs)("div",{className:"card-container",children:[Object(S.jsxs)("div",{className:"card-title-container",children:[e.id===E?Object(S.jsx)("input",{className:"card-title",value:k,onChange:function(e){return T(e.currentTarget.value)}}):Object(S.jsx)("h3",{className:"card-title",children:e.title.toUpperCase()}),de&&Object(S.jsxs)("div",{children:[e.id===E?Object(S.jsx)("img",{src:t.checkIcon,style:t.icon,alt:"edit",className:"removeeIcon",onClick:oe}):Object(S.jsx)("img",{src:t.editIcon,style:t.icon,alt:"edit",className:"removeeIcon",onClick:function(){T(e.title.toUpperCase()),B(e.description),z("https://www.youtube.com/watch?v=".concat(e.link)),I(e.id)}}),Object(S.jsx)("img",{src:t.removeIcon,style:t.icon,alt:"remove",className:"removeeIcon",onClick:function(){return le(e.id)}})]})]}),Object(S.jsx)("div",{className:"card-content",children:e.id===E?Object(S.jsx)("textarea",{value:M,onChange:function(e){return B(e.currentTarget.value)}}):Object(S.jsx)("span",{children:e.description})}),e.id===E?Object(S.jsx)("input",{className:"edit-link-input",value:H,onChange:function(e){return z(e.currentTarget.value)}}):Object(S.jsx)(hc.a,{videoId:e.link,opts:re,className:"card-video"}),e.id!==E&&Object(S.jsx)("button",{type:"button",className:"card-btn aid-blu-btn",onClick:function(){return window.open("https://www.youtube.com/watch?v=".concat(e.link),"_blank")},children:"Open in Youtube"})]})}))})]})};n(1322);function gc(e,t,n){return xc.apply(this,arguments)}function xc(){return(xc=Object(d.a)(l.a.mark((function e(t,n,a){return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",V.a.get(Object(L.f)("/api/admin/resource?type=".concat(a),{useDedicatedEnvironment:!0}),Object(L.b)(n)).then((function(e){return e.data.reduce((function(e,t){var n=e[t.country];return n||(n=[],e[t.country]=n),n.push({date:t.date,link:t.link,id:t.id}),e}),{})})).catch((function(e){console.error(e),t.show({severity:"error",summary:"Error loading resources"})})));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}var vc=function(){var e=r.a.useContext(j.d),t=r.a.useContext(se.a),n=U(),i=Object(a.useState)([]),c=Object(o.a)(i,2),s=c[0],p=c[1],b=Object(a.useState)(""),m=Object(o.a)(b,2),f=m[0],h=m[1];r.a.useEffect((function(){gc(t.current,e,"lcp").then((function(e){if(e){var t=Object.keys(e).sort((function(e,t){return e>t?1:-1})).map((function(t){return{country:t,plans:e[t].sort((function(e,t){return e||t?e&&!t?-1:!e&&t||e>t?1:-1:0})).map((function(e){return{id:e.id,date:Object(ot.b)(e.date,ot.a.dd_MMMM_yyyy)||"",link:e.link}}))}}));p(t)}}))}),[]);var O=function(){var t=Object(d.a)(l.a.mark((function t(n,a){var r;return l.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=Object(u.a)(Object(u.a)({},Object(L.c)(e)),{},{data:{id:a.id}}),t.next=3,V.a.delete(Object(L.f)("/api/admin/resource",{useDedicatedEnvironment:!0}),r).then((function(e){var t=Object(ee.a)(s),r=t.find((function(e){return e.country===n.country}));r&&(r.plans=Object(ee.a)(r.plans.filter((function(e){return e.id!==a.id}))),p(t))}));case 3:case"end":return t.stop()}}),t)})));return function(e,n){return t.apply(this,arguments)}}(),g=Object(j.e)(e,j.a.admin)||Object(j.e)(e,j.a.partialAdmin);return Object(S.jsxs)("div",{className:"resources-screen",children:[Object(S.jsxs)("section",{className:"header",children:[Object(S.jsxs)("div",{className:"header-title",children:[Object(S.jsx)("img",{src:n.aidkonektIcon,style:n.icon,alt:"Aidkonekt",className:"formIcon"}),Object(S.jsx)("span",{children:"LCP Archives"})]}),Object(S.jsx)("span",{className:"header-subtitle",children:"USG Local Compensation Plan Archive"}),Object(S.jsx)("span",{className:"header-description",children:"Local Compensation Plans are essential to US Government Contracting budgets and proposals but can be difficult to come by. We have complied a database of LCP's we have on hand and will continue to build our database."})]}),Object(S.jsxs)("section",{className:"lcp-list-section",children:[Object(S.jsxs)("div",{className:"lcp-search-block",children:[Object(S.jsx)("input",{type:"text",placeholder:"Country",onChange:function(e){return h(e.currentTarget.value)}}),Object(S.jsx)("button",{type:"button",className:"card-btn aid-blu-btn",children:"Search"})]}),Object(S.jsx)("div",{className:"country-list",children:s.map((function(e,t){return-1!==e.country.toLowerCase().indexOf(f.toLowerCase())&&Object(S.jsxs)(r.a.Fragment,{children:[Object(S.jsx)("h3",{className:"list-title",children:e.country}),Object(S.jsx)("div",{className:"list-content",children:Object(S.jsx)("ul",{children:e.plans.sort((function(e,t){return new Date(e.date)>new Date(t.date)?1:-1})).map((function(t,n){return g?Object(S.jsxs)("li",{className:"list-item",onClick:function(){return window.open(t.link,"_blank")},children:[Object(S.jsx)("button",{type:"button",className:"removeIcon",onClick:function(){return O(e,t)},children:"X"}),t.date,n!==e.plans.length-1?",":""]},t.id):Object(S.jsxs)("li",{className:"list-item",onClick:function(){return window.open(t.link,"_blank")},children:[t.date,n!==e.plans.length-1?",":""]},t.id)}))})})]},e.country)}))})]})]})},yc=(n(1323),function(){var e=r.a.useContext(j.d),t=r.a.useContext(se.a),n=U(),i=Object(a.useState)([]),c=Object(o.a)(i,2),s=c[0],p=c[1],b=Object(a.useState)(""),m=Object(o.a)(b,2),f=m[0],h=m[1];r.a.useEffect((function(){gc(t.current,e,"iee").then((function(e){if(e){var t=Object.keys(e).sort((function(e,t){return e>t?1:-1})).map((function(t){return{country:t,plans:e[t].sort((function(e,t){return e||t?e&&!t?-1:!e&&t||e>t?1:-1:0})).map((function(e){return{id:e.id,date:Object(ot.b)(e.date,ot.a.dd_MMMM_yyyy)||"",link:e.link}}))}}));p(t)}}))}),[]);var O=function(){var t=Object(d.a)(l.a.mark((function t(n,a){var r;return l.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=Object(u.a)(Object(u.a)({},Object(L.c)(e)),{},{data:{id:a.id}}),t.next=3,V.a.delete(Object(L.f)("/api/admin/resource",{useDedicatedEnvironment:!0}),r).then((function(e){var t=Object(ee.a)(s),r=t.find((function(e){return e.country===n.country}));r&&(r.plans=Object(ee.a)(r.plans.filter((function(e){return e.id!==a.id}))),p(t))}));case 3:case"end":return t.stop()}}),t)})));return function(e,n){return t.apply(this,arguments)}}(),g=Object(j.e)(e,j.a.admin)||Object(j.e)(e,j.a.partialAdmin);return Object(S.jsxs)("div",{className:"resources-screen",children:[Object(S.jsxs)("section",{className:"header",children:[Object(S.jsxs)("div",{className:"header-title",children:[Object(S.jsx)("img",{src:n.aidkonektIcon,style:n.icon,alt:"Aidkonekt",className:"formIcon"}),Object(S.jsx)("span",{children:"IEE Archives"})]}),Object(S.jsx)("span",{className:"header-subtitle",children:"USAID Environmental Compliance Documents"}),Object(S.jsx)("span",{className:"header-description"})]}),Object(S.jsxs)("section",{className:"iee-list-section",children:[Object(S.jsxs)("div",{className:"iee-search-block",children:[Object(S.jsx)("input",{type:"text",placeholder:"Country",onChange:function(e){return h(e.currentTarget.value)}}),Object(S.jsx)("button",{type:"button",className:"card-btn aid-blu-btn",children:"Search"})]}),Object(S.jsx)("div",{className:"country-list",children:s.map((function(e,t){return-1!==e.country.toLowerCase().indexOf(f.toLowerCase())&&Object(S.jsxs)(r.a.Fragment,{children:[Object(S.jsx)("h3",{className:"list-title",children:e.country}),Object(S.jsx)("div",{className:"list-content",children:Object(S.jsx)("ul",{children:e.plans.sort((function(e,t){return new Date(e.date)>new Date(t.date)?1:-1})).map((function(t,n){return g?Object(S.jsxs)("li",{className:"list-item",onClick:function(){return window.open(t.link,"_blank")},children:[Object(S.jsx)("button",{type:"button",className:"removeIcon",onClick:function(){return O(e,t)},children:"X"}),t.date,n!==e.plans.length-1?",":""]},t.id):Object(S.jsxs)("li",{className:"list-item",onClick:function(){return window.open(t.link,"_blank")},children:[t.date,n!==e.plans.length-1?",":""]},t.id)}))})})]},e.country)}))})]})]})}),Cc=(n(1324),[{title:"FY 2021 1st Quarter",description:"On November 19, 2020, USAID held their first quarter FY 2021 Business Forecast and Partner Update engagement. Provided below are the resources shared during the call",archives:[{title:"Webinar Recording",link:"https://www.usaid.gov/sites/default/files/FY-2021-1st-Quarter-Business-For.mp3",type:"MP3, 14MB"},{title:"Webinar Script",link:"https://www.usaid.gov/sites/default/files/documents/November_19_-_Business_Forecast_Script_-_Final.pdf",type:"PDF, 152KB"},{title:"General Questions",link:"https://www.usaid.gov/sites/default/files/documents/General_-_1st_Qtr_2021_Business_Forecast_QA.pdf",type:"PDF, 167KB"},{title:"Washington-Based Questions",link:"https://www.usaid.gov/sites/default/files/documents/Washington_-_1st_Qtr_2021_Business_Forecast_Questions_updated.pdf",type:"PDF, 355KB"},{title:"Mission-Based Questions",link:"https://www.usaid.gov/sites/default/files/documents/Mission_-_1st_Qtr_2021_Business_Forecast_QA_updated.pdf",type:"PDF, 1MG"},{title:"November 19, 2020 Business Forecast",link:"",type:"Excel, 78KB"}]},{title:"FY 2020 3rd Quarter Business Forecast Conference Call",description:"On July 17, USAID hosted its FY2020 3rd Quarter Business Forecast conference call. Responses to the questions submitted, along with a recording and a transcript of the call, are available at these links:",archives:[{title:"Call transcript",link:"https://www.usaid.gov/sites/default/files/documents/1868/July_FY2020_Business_Forecast_Transcript.pdf",type:"PDF, 121KB"},{title:"Questions & answers",link:"https://www.usaid.gov/sites/default/files/documents/1868/July_FY_2020_Business_Forecast_-_updated-28-2020.pdf",type:"PDF, 1MB"}]},{title:"FY 2020 2ND QUARTER BUSINESS FORECAST CONFERENCE CALL",description:"On March 13th, USAID hosted its FY 2020 2nd quarter Business Forecast conference call. Responses to questions submitted, as well as a recording and transcript of the call, are available at the links below.",archives:[{title:"Call Recording",link:"https://www.usaid.gov/sites/default/files/2020-03-13-BusinessForecastCall.mp3",type:"MP3, 14.5MB"},{title:"Call Transcript",link:"",type:"Word, 30K"},{title:"Business Forecast Q&A",link:"https://www.usaid.gov/sites/default/files/2ndQtr2020_BusinessForecastQA.pdf",type:"PDF, 862K"},{title:"Business Forecast as of March 13, 2020",link:"",type:"Excel, 59K"}]},{title:"FY 2020 1ST QUARTER BUSINESS FORECAST CONFERENCE CALL",description:"On December 5, 2019, USAID hosted its FY 2020 1st quarter Business Forecast conference call. Responses to questions submitted, as well as a recording and transcript of the call, are available at the links below.",archives:[{title:"Call Recording",link:"https://www.usaid.gov/sites/default/files/Business_Forecast_Conference_call_2019-12-05.mp3",type:"MP3, 18MB"},{title:"Call Transcript",link:"https://www.usaid.gov/sites/default/files/documents/1868/1st_Qtr_FY2020_Business_Forecast_Transcript.pdf",type:"PDF 112K"},{title:"Business Forecast Q&A",link:"https://www.usaid.gov/sites/default/files/documents/1868/1st_Qtr_FY_2020_Business_Forecast_Call_QA_Updated_12.9.19-2.pdf",type:"PDF 525K"},{title:"Business Forecast as of December 5, 2019",link:"",type:"Excel 60K"}]},{title:"FY 2019 3RD QUARTER BUSINESS FORECAST CONFERENCE CALL",description:"On July 12, 2019, USAID hosted its FY 2019 2nd quarter Business Forecast conference call. Responses to questions submitted, as well as a recording and transcript of the call, are available at the links below.",archives:[{title:"Call Recording",link:"https://www.usaid.gov/sites/default/files/Q3-2019-07-12.mp3",type:"MP3, 11.5MB"},{title:"Call Transcript",link:"https://www.usaid.gov/sites/default/files/documents/1868/Q3_FY19_Business_Forecast_Script.pdf",type:"PDF, 99KB"},{title:"Business Forecast Q&A",link:"https://www.usaid.gov/sites/default/files/documents/1868/Business_Forecast_Questions_Q3_FY19.pdf",type:"PDF, 519KB"}]},{title:"FY 2019 2ND QUARTER BUSINESS FORECAST CONFERENCE CALL",description:"On March 21, 2019, USAID hosted its FY 2019 2nd quarter Business Forecast conference call. Responses to questions submitted, as well as a recording and transcript of the call, are available at the links below.",archives:[{title:"Call Recording",link:"https://www.usaid.gov/sites/default/files/USAID-FY19-Q2-Business-Forecast-Call.mp3",type:"MP3, 8.6MB"},{title:"Call Transcript",link:"https://www.usaid.gov/sites/default/files/documents/1868/Q2_FY19_Business_Forecast_Transcript.pdf",type:"PDF, 132K"},{title:"Business Forecast Q&A",link:"https://www.usaid.gov/sites/default/files/documents/1868/Business_Forecast_Questions_Q2_FY19_1.pdf",type:"PDF, 488K"}]},{title:"FY 2019 1ST QUARTER BUSINESS FORECAST CONFERENCE CALL",description:"On November 29, 2018, USAID hosted its FY 2019 1st quarter Business Forecast conference call. Responses to questions submitted, as well as a recording and transcript of the call, are available at the links below.",archives:[{title:"Call Recording",link:"https://www.usaid.gov/sites/default/files/FY-2019-Q1-Business-Forecast-Call-Recording.mp3",type:"MP3, 12.2MB"},{title:"Call Transcript",link:"https://www.usaid.gov/sites/default/files/documents/1868/Q1_FY19_Business_Forecast_Transcript.pdf",type:"PDF, 129K"},{title:"Business Forecast Q&A",link:"https://www.usaid.gov/sites/default/files/documents/1868/Business_Forecast_Questions_Q1_FY19.pdf",type:"PDF, 474K"}]},{title:"FY 2018 3RD QUARTER BUSINESS FORECAST CONFERENCE CALL",description:"On March 29, 2018, USAID hosted its FY 2018 2nd quarter Business Forecast conference call. Responses to questions submitted, as well as a recording and transcript of the call, are available at the links below.",archives:[{title:"Call Recording",link:"https://www.usaid.gov/sites/default/files/Q3-Biz-Forecast.mp3",type:"MP3, 12.2MB"},{title:"Call Transcript",link:"https://www.usaid.gov/sites/default/files/documents/1868/Q3_FY2018_Business_Forecast_Transcript-3.pdf",type:"PDF, 94K"},{title:"Business Forecast Q&A",link:"https://www.usaid.gov/sites/default/files/documents/1868/Business_Forecast_Questions_Q3_FY18_0.pdf",type:"PDF, 308K"}]},{title:"FY 2018 2ND QUARTER BUSINESS FORECAST CONFERENCE CALL",description:"On March 29, 2018, USAID hosted its FY 2018 2nd quarter Business Forecast conference call. Responses to questions submitted, as well as a recording and transcript of the call, are available at the links below.",archives:[{title:"Call Recording",link:"https://www.usaid.gov/sites/default/files/2018-03-29-4.mp3",type:"MP3, 14MB"},{title:"Call Transcript",link:"https://www.usaid.gov/sites/default/files/Q2-FY2018-Business-Forecast-Script-2.pdf",type:"PDF, 104K"},{title:"Business Forecast Q&A",link:"https://www.usaid.gov/sites/default/files/documents/1868/Business_Forecast_Questions_Q2_0.pdf",type:"PDF, 679K"}]},{title:"1ST QUARTER BUSINESS FORECAST CONFERENCE CALL",description:"Responses to questions submitted, as well as a recording and transcript of the call, are available at the links below.",archives:[{title:"Call Recording",link:"https://www.usaid.gov/sites/default/files/FY_2018_1st_Qtr_Business_Forecast_Call_-_Audio.mp3",type:"MP3, 13.2MB"},{title:"Call Transcript",link:"https://www.usaid.gov/sites/default/files/documents/1868/FY-2018-1st-Qtr-Busines-_Forecast-Call-Script.pdf",type:"PDF, 108K"},{title:"Business Forecast Q&A",link:"https://www.usaid.gov/sites/default/files/documents/1868/FY-2018-1st-Quarter-Business-Forecast-QA.pdf",type:"PDF, 407K"}]},{title:"1ST QUARTER FY 2018 FORECAST",description:"",archives:[{title:"Business Forecast",link:"",type:"Excel Document 62K"},{title:"Business Forecast",link:"https://www.usaid.gov/documents/1868/1st-quarter-fy-2018-forecast-november-pdf",type:"PDF Document 263K"}]},{title:"4TH QUARTER FY 2017 FORECAST",description:"Responses to questions submitted related to USAID's FY17 4th quarter Business Forecast are available here:",archives:[{title:"Business Forecast Q&A",link:"https://www.usaid.gov/sites/default/files/documents/1868/FY2017-Qtr-4-Business-Forecast-QA.pdf",type:"PDF 482 KB"},{title:"Business Forecast",link:"",type:"Excel Document 62K"},{title:"Business Forecast",link:"https://www.usaid.gov/sites/default/files/documents/1868/Business-Forecast-4Quarter-July18-2017.pdf",type:"PDF Document 269K"}]},{title:"3RD QUARTER FY 2017 FORECAST",description:"Responses to questions submitted related to USAID's FY17 4th quarter Business Forecast are available here:",archives:[{title:"Business Forecast",link:"",type:"Excel Document 187K"},{title:"Business Forecast",link:"https://www.usaid.gov/sites/default/files/FY_2017_Qtr_3_Business_Forecast-April21-2017.pdf",type:"PDF Document 403K"}]},{title:"FY 2017 3RD QUARTER BUSINESS FORECAST CONFERENCE CALL",description:"On May 16th at 9:00am EST, USAID hosted its FY 2017 3rd quarter Business Forecast conference call. Responses to questions submitted, as well as a recording and transcript of the call are available at the links below.",archives:[{title:"Call Recording",link:"https://www.usaid.gov/sites/default/files/Q3-FY2017-Business-Forecast-Call-Recording.mp3",type:"MP3, 10MB"},{title:"Call Transcript",link:"https://www.usaid.gov/sites/default/files/Q3-FY2017-Business-Forecast-Script_1.pdf",type:"PDF, 108K"},{title:"Business Forecast Q&A",link:"https://www.usaid.gov/sites/default/files/Q3-FY2017-BusinessForecast-Q-A.pdf",type:"PDF, 450K"}]},{title:"2ND QUARTER FY 2017 FORECAST",description:"",archives:[{title:"Business Forecast",link:"",type:"Excel Document 73K"},{title:"Business Forecast",link:"https://www.usaid.gov/sites/default/files/documents/1868/FY_2017_Qtr_2_Business_Forecast-Feb02-2016.pdf",type:"PDF Document 302K"}]},{title:"FY 2017 2ND QUARTER BUSINESS FORECAST CONFERENCE CALL",description:"On March 7th at 9:00am EST, USAID hosted its FY 2017 2nd quarter Business Forecast conference call. Responses to questions submitted, as well as a recording and transcript of the call, are available at the links below.",archives:[{title:"Call Recording",link:"https://www.usaid.gov/sites/default/files/USAIDFY17_Qtr2_ForecastCall.mp3",type:"MP3, 10.7MB"},{title:"Call Transcript",link:"https://www.usaid.gov/sites/default/files/documents/1868/TranscriptFY2017Qtr2BusinessForecastCall.pdf",type:"PDF, 115K"},{title:"Business Forecast Q&A",link:"https://www.usaid.gov/sites/default/files/documents/1868/FY2017Qtr2BusinessForecastConferenceQA.pdf",type:"PDF, 442K"}]},{title:"1ST QUARTER FY 2017 FORECAST",description:"",archives:[{title:"Mission Forecast",link:"",type:"Excel Document 120K"},{title:"Mission Forecast",link:"https://www.usaid.gov/sites/default/files/documents/1868/MissionForecast_November18_2016-01.pdf",type:"PDF Document 314K"},{title:"Washington Forecast",link:"",type:"Excel Document 17K"},{title:"Washington Forecast",link:"https://www.usaid.gov/sites/default/files/documents/1868/Washington_December02_2016.pdf",type:"PDF Document 104K"}]},{title:"FY2017 1ST QUARTER BUSINESS FORECAST CONFERENCE CALL",description:"USAID's Management Bureau Office of Acquisition and Assistance hosted its FY2017 First Quarter Business Forecast review conference call on Tuesday, December 13th at 8:00AM EDT. Provided below are the resources from the call.",archives:[{title:"Call Recording",link:"https://www.freeconferencecall.com/wall/recorded_audio?audioRecordingUrl=https%3A%2F%2Frs0000.freeconferencecall.com%2Fstorage%2FsgetFCC2%2FR2XpZ%2FaejPL&subscriptionId=4866166",type:"link is external"},{title:"Call Transcript",link:"https://www.usaid.gov/sites/default/files/FY2017_Qtr1_BusinessForecastCallScript.pdf",type:"PDF, 93K"},{title:"Business Forecast Q&A",link:"https://www.usaid.gov/sites/default/files/FY2017Qtr1BFReviewQuestions_12_22_16_Update.pdf",type:"PDF, 587K"}]},{title:"4TH QUARTER FY 2016 FORECAST",description:"",archives:[{title:"Mission Forecast",link:"",type:"Excel Document 120K"},{title:"Mission Forecast",link:"https://www.usaid.gov/sites/default/files/documents/1868/MissionForecast_July-15-2016-01.pdf",type:"PDF Document 394K"},{title:"Washington Forecast",link:"",type:"Excel Document 41K"},{title:"Washington Forecast",link:"https://www.usaid.gov/sites/default/files/documents/1868/WashingtonForecast_August03_2016.pdf",type:"PDF Document 216K"}]},{title:"FY2016 4TH QUARTER BUSINESS FORECAST CONFERENCE CALL",description:"USAID's Management Bureau Office of Acquisition and Assistance hosted its FY2016 Fourth Quarter Business Forecast review conference call on Thursday, August 4th at 9:30AM EDT. Provided below are the resources from the call.",archives:[{title:"Call Recording",link:"https://www.usaid.gov/sites/default/files/73498616-12987223.mp3",type:"MP3, 8.1MB"},{title:"Call Transcript",link:"https://www.usaid.gov/sites/default/files/FY2016Qtr4BusinessForecastConfCallTranscript.pdf",type:"PDF, 114K"},{title:"Business Forecast Q&A",link:"https://www.usaid.gov/sites/default/files/FY2016Qtr4BusinessForecastReviewConfCallQuestions2.pdf",type:"PDF, 422K"}]},{title:"3RD QUARTER FY 2016 FORECAST",description:"Business Forecast Published on April 29, 2016",archives:[{title:"Mission Forecast",link:"",type:"Excel Document 160K"},{title:"Mission Forecast",link:"https://www.usaid.gov/sites/default/files/MissionForecast-Feb08-2016-01.pdf",type:"PDF Document 361K"},{title:"Washington Forecast",link:"",type:"Excel Document 104K"},{title:"Washington Forecast",link:"https://www.usaid.gov/sites/default/files/documents/1868/WashingtonForecastFY16Qtr3_4_29_2016_01.pdf",type:"PDF Document 125K"}]},{title:"FY2016 3RD QUARTER BUSINESS FORECAST CONFERENCE CALL",description:"On Thursday, May 19th at 8:30AM EDT. Provided below are the resources from the call.",archives:[{title:"Call Recording",link:"https://www.usaid.gov/sites/default/files/FY2016%20Q3BusinessForecastCall.mp3",type:"MP3, 8.7MB"},{title:"Call Transcript",link:"https://www.usaid.gov/sites/default/files/FY2016Qtr3BusinessForecastConfCallScript.pdf",type:"PDF, 116K"},{title:"Business Forecast Q&A",link:"https://www.usaid.gov/sites/default/files/FY2016Qtr3BusinessForecastReviewConfCallQuestions-updated.pdf",type:"PDF, 773K"}]},{title:"2ND QUARTER FY 2016 FORECAST",description:"Business Forecast Published on February 8, 2016",archives:[{title:"Mission Forecast",link:"",type:"Excel Document 160K"},{title:"Mission Forecast",link:"https://www.usaid.gov/sites/default/files/MissionForecast-Feb08-2016-01.pdf",type:"PDF Document 362K"},{title:"Washington Forecast",link:"",type:"Excel Document 60K"},{title:"Washington Forecast",link:"https://www.usaid.gov/sites/default/files/WashingtonForecast-Feb08-2016-01.pdf",type:"PDF Document 131K"}]},{title:"FY2016 2ND QUARTER BUSINESS FORECAST CONFERENCE CALL",description:"On March 3, 2016, the Management Bureau's Office of Acquisition and Assistance hosted its FY2016 Second Quarter Business Review conference call. You can access the information from the call below.",archives:[{title:"Business Forecast Call Recording",link:"https://www.fccdl.in/KAqehr976",type:"link is external"},{title:"Transcript from Business Forecast Call",link:"https://www.usaid.gov/sites/default/files/Transcript_FY2016Qtr2BusinessForecastConfCall.pdf",type:"PDF, 119KB"},{title:"Questions and Answers Submitted for Call",link:"https://www.usaid.gov/sites/default/files/FY2016Qtr2BusinessForecastReviewConfCallQuestionsv2.pdf",type:"PDF 697KB"}]},{title:"FY2016 1ST QUARTER BUSINESS FORECAST CONFERENCE CALL",description:"USAID's Management Bureau Office of Acquisition and Assistance hosted its FY2016 First Quarter Business Forecast review conference call on Friday, November 20th at 8:30AM EST.",archives:[]},{title:"BUSINESS FORECAST CONFERENCE CALL NOVEMBER 20TH, 2015",description:"",archives:[{title:"Business Forecast Call Recording",link:"https://www.usaid.gov/sites/default/files/73498616-538098361.mp3",type:"MP3, 10.4MB"},{title:"Transcript from Business Forecast Call",link:"https://www.usaid.gov/sites/default/files/FY2016-Qtr1-Business-Forecast-Review-Conf-Call-Questions.pdf",type:"PDF, 331K"}]},{title:"Business Forecast Published on November 30, 2015",description:"",archives:[{title:"Mission Forecast",link:"",type:"Excel Document 136K"},{title:"Mission Forecast",link:"https://www.usaid.gov/sites/default/files/Missions-November-30-2015-Missions.pdf",type:"PDF Document 262K"}]},{title:"Business Forecast Published on November 02, 2015",description:"",archives:[{title:"Washington Forecast ",link:"",type:"Excel Document 22K"},{title:"Washington Forecast ",link:"https://www.usaid.gov/sites/default/files/WashingtonForecastNovember02_2015.pdf",type:"PDF Document 214K"},{title:"Mission Forecast",link:"",type:"Excel Document 270K"},{title:"Mission Forecast",link:"https://www.usaid.gov/sites/default/files/MissionForecastNovember02_2015.pdf",type:"PDF Document 50K"}]},{main:"4TH QUARTER FY 2015 FORECAST",title:"Business Forecast Published on August 2015",description:"",archives:[{title:"Washington Forecast",link:"",type:"Excel Document 21K"},{title:"Washington Forecast ",link:"https://www.usaid.gov/sites/default/files/Washington_Qtr4August28_2015.pdf",type:"PDF Document 115K"},{title:"Mission Forecast",link:"",type:"Excel Document 53K"},{title:"Mission Forecast",link:"https://www.usaid.gov/sites/default/files/Missions_Qtr4August28_2015.pdf",type:"PDF Document 275K"}]},{title:"Business Forecast Published on June 2015",description:"",archives:[{title:"Washington Forecast",link:"",type:"Excel Document 21K"},{title:"Washington Forecast ",link:"https://www.usaid.gov/sites/default/files/WashingtonJune25_2015.pdf",type:"PDF Document 115K"},{title:"Mission Forecast",link:"",type:"Excel Document 53K"},{title:"Mission Forecast",link:"https://www.usaid.gov/sites/default/files/MissionsJune25_2015.pdf",type:"PDF Document 275K"}]},{main:"3RD QUARTER FY 2015 FORECAST",title:"Business Forecast Published on May 2015",description:"",archives:[{title:"Washington Forecast",link:"",type:"Excel Document 22K"},{title:"Washington Forecast ",link:"https://www.usaid.gov/sites/default/files/WashingtonForecast.pdf",type:"PDF Document 243K"},{title:"Mission Forecast",link:"",type:"Excel Document 61K"},{title:"Mission Forecast",link:"https://www.usaid.gov/sites/default/files/MissionsForecast.pdf",type:"PDF Document 397K"}]},{title:"Business Forecast Conference Call hosted on June 03, 2015",description:"",archives:[{title:"Business Forecast Review Call Recording",link:"https://www.usaid.gov/sites/default/files/2015-06-04_BF-Edited.MP3",type:"MP3, 27MB"},{title:"Transcript from Business Forecast Review Call",link:"https://www.usaid.gov/sites/default/files/ScriptJune3BusinessForecastCall.pdf",type:"PDF, 480K"},{title:"Questions Submitted in Advance of Call",link:"https://www.usaid.gov/sites/default/files/BusinessForecastQuarter3Review-Questions.pdf",type:"PDF, 365K"},{title:"Questions Received during Business Forecast Call",link:"https://www.usaid.gov/sites/default/files/BusinessForecastQuestionsReceivedDuringtheCall.pdf",type:"PDF, 180K"}]},{main:"2ND QUARTER FY 2015 FORECAST",title:"Business Forecast Published January 2015",description:"",archives:[{title:"Washington Forecast",link:"",type:"Excel Document 18K"},{title:"Washington Forecast",link:"https://www.usaid.gov/sites/default/files/documents/1868/WashingtonForecast2QFY15.pdf",type:"PDF Document 100K"},{title:"Mission Forecast",link:"",type:"Excel Document 68K"},{title:"Mission Forecast",link:"https://www.usaid.gov/sites/default/files/documents/1868/MissionsForecast2QFY15.pdf",type:"PDF Document 314K"}]},{main:"1ND QUARTER FY 2015 FORECAST",title:"",description:"",archives:[{title:"Washington Forecast",link:"",type:"Excel Document 18K"},{title:"Washington Forecast",link:"https://www.usaid.gov/sites/default/files/WashingtonForecast1QFY2015.pdf",type:"PDF Document 98K"},{title:"Mission Forecast",link:"",type:"Excel Document 48K"},{title:"Mission Forecast",link:"https://www.usaid.gov/sites/default/files/MissionsForecast1QFY2015.pdf",type:"PDF Document 268K"}]}]),Ac=function(){var e=U();return Object(S.jsxs)("div",{className:"resources-screen",children:[Object(S.jsxs)("section",{className:"header",children:[Object(S.jsxs)("div",{className:"header-title",children:[Object(S.jsx)("img",{src:e.aidkonektIcon,style:e.icon,alt:"Aidkonekt",className:"formIcon"}),Object(S.jsx)("span",{children:"Q&A Archives"})]}),Object(S.jsx)("span",{className:"header-description",children:"The Agency hosts a quarterly webinar to allow partners the opportunity to hear their questions answered by expert"})]}),Object(S.jsx)("section",{className:"qa-list-section",children:Object(S.jsx)("div",{className:"country-list",children:Cc.map((function(e){return Object(S.jsxs)(r.a.Fragment,{children:[Object(S.jsx)("h3",{className:"list-title",children:e.title}),e.main&&Object(S.jsx)("span",{className:"list-subtitle",children:e.main}),Object(S.jsx)("span",{className:"list-description",children:e.description}),Object(S.jsx)("ul",{children:e.archives.map((function(e){return Object(S.jsxs)("li",{className:"list-item",onClick:function(){return window.open(e.link,"_blank")},children:[e.title," ",Object(S.jsxs)("span",{children:["[",e.type,"]"]})]},e.title)}))})]},e.title)}))})})]})};n(1325);var wc=function(e){var t=e.tableData,n=Object(ie.a)(),i=r.a.useRef(null),c=Object(a.useState)(!1),s=Object(o.a)(c,2),l=s[0],d=(s[1],Object(a.useState)(20)),p=Object(o.a)(d,2),b=p[0],j=(p[1],Object(a.useState)("expirationDate")),m=Object(o.a)(j,2),f=m[0],h=(m[1],Object(a.useState)(-1)),O=Object(o.a)(h,2),g=O[0],x=(O[1],r.a.useState(Array())),v=Object(o.a)(x,2),y=v[0],C=v[1],A=Object(a.useState)(0),w=Object(o.a)(A,2),N=w[0],E=(w[1],Object(a.useState)(Array())),I=Object(o.a)(E,2),D=I[0],F=I[1],k=r.a.useState(""),T=Object(o.a)(k,2),R=T[0],P=T[1],M=r.a.useState(!1),U=Object(o.a)(M,2),L=U[0],B=U[1],V=function(e){e.record;return Object(S.jsx)("div",{children:"test"})},Q=Object(S.jsxs)("div",{className:"project-reports-header",children:[Object(S.jsx)(ce.InputText,{type:"search",className:"table-header-search",value:R,onChange:function(e){return P(e.target.value)},placeholder:"Search"}),Object(S.jsxs)("div",{className:"project-reports-header-buttons-container",children:[Object(S.jsx)(Fe.Button,{type:"button",icon:"pi pi-file",iconPos:"left",className:"aid-blu-btn all",style:Object(u.a)(Object(u.a)({},n.tableHeaderButton),{},{height:"auto"}),label:"All Forecasts",onClick:function(){return null}}),Object(S.jsx)(Fe.Button,{type:"button",icon:"pi pi-file-o",className:"aid-blu-btn",style:Object(u.a)(Object(u.a)({},n.tableHeaderButton),{},{height:"auto"}),tooltip:"CSV",tooltipOptions:{position:"top"},onClick:function(){return null}}),Object(S.jsx)(Fe.Button,{type:"button",icon:"pi pi-file-o",className:"aid-blu-btn",style:Object(u.a)(Object(u.a)({},n.tableHeaderButton),{},{height:"auto"}),tooltip:"CSV",tooltipOptions:{position:"top"},onClick:function(){return null}}),Object(S.jsx)(Fe.Button,{type:"button",className:"aid-blu-btn",icon:L?"pi pi-window-minimize":"pi pi-window-maximize",iconPos:"left",onClick:function(e){L?Object(ut.c)(e.target):Object(ut.b)(e.target,(function(){return B(!1)}),!0),B(!L)},tooltip:L?"Minimize":"Maximize",tooltipOptions:{position:"top"},style:Object(u.a)(Object(u.a)({},n.tableHeaderButton),{},{height:"auto"})})]})]});return Object(a.useEffect)((function(){t&&F(t)}),[t]),Object(S.jsxs)(ne.DataTable,{ref:i,value:D,style:{marginTop:20,width:"100%"},paginator:!0,rows:b,totalRecords:N,lazy:!0,loading:l,sortField:f,sortOrder:g,scrollable:!0,scrollHeight:"400px",header:Q,rowsPerPageOptions:lt.b,expandedRows:y,onRowToggle:function(e){return C(e.data)},rowExpansionTemplate:function(e){return Object(S.jsx)(V,{record:e})},children:[Object(S.jsx)(re.Column,{headerStyle:n.headerStyle(50),style:n.columnStyle(50),expander:!0}),Object(ct.a)(n,300,(function(e){return e.notes}),"Notes","notes",{sortable:!1}),Object(ct.a)(n,150,(function(e){return e.status}),"Status","status",{sortable:!1}),Object(ct.a)(n,150,(function(e){return e.country}),"Country","country",{sortable:!1}),Object(ct.a)(n,300,(function(e){return e.name}),"Name","name",{sortable:!1}),Object(ct.a)(n,400,(function(e){return e.description}),"Description","description",{sortable:!1})]})},Sc=function(e){var t=e.tableData,n=Object(ie.a)(),i=r.a.useRef(null),c=Object(a.useState)(!1),s=Object(o.a)(c,2),l=s[0],d=(s[1],Object(a.useState)(20)),u=Object(o.a)(d,2),p=u[0],b=(u[1],Object(a.useState)("expirationDate")),j=Object(o.a)(b,2),m=j[0],f=(j[1],Object(a.useState)(-1)),h=Object(o.a)(f,2),O=h[0],g=(h[1],Object(a.useState)(0)),x=Object(o.a)(g,2),v=x[0],y=(x[1],Object(a.useState)(Array())),C=Object(o.a)(y,2),A=C[0],w=C[1],N=Object(S.jsxs)("div",{className:"project-transaction-table-header",children:[Object(S.jsx)("span",{className:"project-transaction-table-header-item",children:"Total Count of Sub-Award Transactions: XXX"}),Object(S.jsx)("span",{className:"project-transaction-table-header-item",children:"Total Amount of Sub-Awards: $X.XX Billion"}),Object(S.jsx)("span",{className:"project-transaction-table-header-item",children:"Percent of Prime Award Obligated Amount: XXX.X%"})]});return Object(a.useEffect)((function(){t&&w(t)}),[t]),Object(S.jsxs)(ne.DataTable,{ref:i,value:A,style:{marginTop:20,width:"100%"},paginator:!0,rows:p,totalRecords:v,lazy:!0,loading:l,sortField:m,sortOrder:O,scrollable:!0,scrollHeight:"400px",header:N,rowsPerPageOptions:lt.b,children:[Object(ct.a)(n,300,(function(e){return e.id}),"Sub-Award ID","id",{sortable:!1}),Object(ct.a)(n,150,(function(e){return e.name}),"Recipient Name","name",{sortable:!1}),Object(ct.a)(n,150,(function(e){return"".concat(e.date.getDate(),"/").concat(e.date.getMonth()+1,"/").concat(e.date.getFullYear())}),"Action Date","date",{sortable:!1}),Object(ct.a)(n,300,(function(e){return e.amount}),"Amount","amount",{sortable:!1}),Object(ct.a)(n,400,(function(e){return e.description}),"Description","description",{sortable:!1})]})},Nc={startDate:new Date(2019,3,28),endDate:new Date(2023,0,28),startPrice:100,currentPrice:126,endPrice:210,projectTableRecords:[{id:"0",status:"Pending",notes:"Lorem ipsum dolor sit amet, consectetur adipiscing elit",country:"Ukraine",name:"Name",description:"Lorem ipsum dolor sit amet, consectetur adipiscing elit"},{id:"1",status:"Pending",notes:"Lorem ipsum dolor sit amet, consectetur adipiscing elit",country:"Ukraine",name:"Name",description:"Lorem ipsum dolor sit amet, consectetur adipiscing elit"},{id:"2",status:"Pending",notes:"Lorem ipsum dolor sit amet, consectetur adipiscing elit",country:"Ukraine",name:"Name",description:"Lorem ipsum dolor sit amet, consectetur adipiscing elit"},{id:"3",status:"Pending",notes:"Lorem ipsum dolor sit amet, consectetur adipiscing elit",country:"Ukraine",name:"Name",description:"Lorem ipsum dolor sit amet, consectetur adipiscing elit"},{id:"4",status:"Pending",notes:"Lorem ipsum dolor sit amet, consectetur adipiscing elit",country:"Ukraine",name:"Name",description:"Lorem ipsum dolor sit amet, consectetur adipiscing elit"}],projectTransactionRecords:[{id:"00000",name:"Name",date:new Date,amount:"200",description:"Lorem ipsum dolor sit amet, consectetur adipiscing elit"},{id:"00001",name:"Name",date:new Date,amount:"200",description:"Lorem ipsum dolor sit amet, consectetur adipiscing elit"},{id:"00002",name:"Name",date:new Date,amount:"200",description:"Lorem ipsum dolor sit amet, consectetur adipiscing elit"},{id:"00003",name:"Name",date:new Date,amount:"200",description:"Lorem ipsum dolor sit amet, consectetur adipiscing elit"},{id:"00004",name:"Name",date:new Date,amount:"200",description:"Lorem ipsum dolor sit amet, consectetur adipiscing elit"}]},Ec=function(){var e=Object(ie.a)(),t=r.a.useRef(null),n=r.a.useRef(null),a=r.a.useRef(null),i=r.a.useRef(null),c=r.a.useRef(null),s=r.a.useState(),l=Object(o.a)(s,2),d=l[0],p=l[1],b=r.a.useState(),j=Object(o.a)(b,2),m=j[0],f=j[1],h=r.a.useState(),g=Object(o.a)(h,2),x=g[0],v=g[1],y=r.a.useState("TransactionHistory"),C=Object(o.a)(y,2),A=C[0],w=C[1],N=r.a.useState(!0),E=Object(o.a)(N,2),I=E[0],D=E[1],F=r.a.useState(!0),k=Object(o.a)(F,2),T=k[0],R=k[1],P=r.a.useState(!0),M=Object(o.a)(P,2),U=M[0],L=M[1],B=r.a.useState(!0),V=Object(o.a)(B,2),Q=V[0],W=V[1],H=r.a.useState(!0),z=Object(o.a)(H,2),Y=z[0],G=z[1],K=r.a.useState(!0),q=Object(o.a)(K,2),X=q[0],Z=q[1],J=function(e){t.current&&n.current&&a.current&&i.current&&("reports"===e&&window.scrollTo({top:t.current.clientHeight+n.current.clientHeight,behavior:"smooth"}),"subAwardees"===e&&window.scrollTo({top:t.current.clientHeight+n.current.clientHeight+2*a.current.clientHeight,behavior:"smooth"}),"details"===e&&window.scrollTo({top:t.current.clientHeight+n.current.clientHeight+2*a.current.clientHeight+i.current.clientHeight,behavior:"smooth"}))},_=function(e){w(e),v(Nc.projectTransactionRecords)},$=function(e){return(1===e.getDate().toString().length?"0".concat(e.getDate().toString()):e.getDate().toString())+"/"+(1===e.getMonth().toString().length?"0".concat((e.getMonth()+1).toString()):(e.getMonth()+1).toString())+"/"+e.getFullYear().toString()},ee=function(e,t,n,a){var r=0;if(a){var i=n.getTime()/36e5,c=e.getTime()/36e5,o=t.getTime()/36e5,s=Math.floor(o-c),l=Math.floor(i-c);r=Math.floor(l/s*100)}else r=Math.floor(100*(n-e)/(t-e));return Object(S.jsxs)(S.Fragment,{children:[Object(S.jsx)("div",{className:"start-line",style:{minWidth:"".concat(85*r/100,"%")}}),a?Object(S.jsxs)("span",{children:["Today ",r,"%"]}):Object(S.jsxs)("span",{children:[n,"$ ",r,"%"]}),Object(S.jsx)("div",{className:"end-line"})]})};return r.a.useEffect((function(){p(Nc.projectTableRecords),f(Nc.projectTableRecords),v(Nc.projectTransactionRecords)}),[]),Object(S.jsxs)("div",{className:"project-details-screen",children:[Object(S.jsxs)("section",{className:"header-section",ref:t,children:[Object(S.jsx)("img",{className:"",src:O,alt:"logo"}),Object(S.jsxs)("div",{className:"header-data",children:[Object(S.jsxs)("div",{className:"header-data-content",children:[Object(S.jsx)("div",{className:"data",children:Object(S.jsxs)("span",{children:["Implementer: ",Object(S.jsx)("b",{children:"XX"})]})}),Object(S.jsx)("div",{className:"data",children:Object(S.jsxs)("span",{children:["Country: ",Object(S.jsx)("b",{children:"XX"})]})})]}),Object(S.jsxs)("div",{className:"header-data-content",children:[Object(S.jsx)("span",{children:"Recipient Business Type"}),Object(S.jsx)("span",{children:"1234 Street Address City, State 00000"})]})]}),Object(S.jsx)("button",{className:"feedback-btn",children:"Submit Feedback"}),Object(S.jsx)("button",{className:"download-btn aid-blu-btn",children:"Download PDF"})]}),Object(S.jsxs)("section",{className:"project-info-section",ref:n,children:[Object(S.jsxs)("div",{className:"nav-bar",children:[Object(S.jsx)("span",{className:"nav-item",onClick:function(){return window.scrollTo({top:0,behavior:"smooth"})},children:"Project Description"}),Object(S.jsx)("span",{className:"nav-item",onClick:function(){return J("reports")},children:"Project Reports"}),Object(S.jsx)("span",{className:"nav-item",onClick:function(){return J("subAwardees")},children:"Sub-Awardees"}),Object(S.jsx)("span",{className:"nav-item",onClick:function(){return J("details")},children:"Details"})]}),Object(S.jsxs)("div",{className:"project-info",children:[Object(S.jsx)("span",{className:"project-section-title",children:"Project Name | Project Number: AIDOAATO1700027"}),Object(S.jsx)("span",{className:"project-section-description",children:"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore"})]}),Object(S.jsxs)("div",{className:"project-info-data",children:[Object(S.jsxs)("div",{className:"list-data",children:[Object(S.jsx)("span",{children:"Award Mechanism"}),Object(S.jsxs)("div",{className:"address",children:[Object(S.jsx)("span",{children:"Awarding Agency Name"}),Object(S.jsx)("span",{children:"1234 Street Address City, State 00000"})]}),Object(S.jsx)("span",{children:"Technical Sector: XXXXX"}),Object(S.jsx)("span",{children:"Parent IDV Agency Name: XXXXX"}),Object(S.jsx)("span",{children:"Set-Aside Type: XXX"}),Object(S.jsx)("span",{children:"Product or Service Code (PSC): XXX"}),Object(S.jsx)("span",{children:"North American Industry Classification System (NAICS) Code: XXX"})]}),Object(S.jsxs)("div",{className:"box-data",children:[Object(S.jsxs)("span",{className:"project-section-title",children:["In Progress (",function(e,t){var n=t.getMonth()-e.getMonth(),a=t.getFullYear()-e.getFullYear();return n>0?"".concat(a," years, ").concat(n," months remaining"):"".concat(a-1," years, ").concat(12+n," months remaining")}(Nc.startDate,Nc.endDate),")"]}),Object(S.jsx)("div",{className:"progress-block",children:Object(S.jsxs)("div",{className:"progress-bar-container",children:[Object(S.jsxs)("div",{className:"progress-bar-points",children:[Object(S.jsx)("span",{children:$(Nc.startDate)}),Object(S.jsx)("span",{children:$(Nc.endDate)})]}),Object(S.jsx)("div",{className:"progress-bar",children:ee(Nc.startDate,Nc.endDate,new Date,!0)}),Object(S.jsxs)("div",{className:"progress-bar-data-container",children:[Object(S.jsxs)("div",{className:"progress-bar-data",children:[Object(S.jsx)("span",{children:"Start Date"}),Object(S.jsx)("span",{children:$(Nc.startDate)})]}),Object(S.jsxs)("div",{className:"progress-bar-data",children:[Object(S.jsx)("span",{children:"Current End Date"}),Object(S.jsx)("span",{children:$(new Date)})]}),Object(S.jsxs)("div",{className:"progress-bar-data",children:[Object(S.jsx)("span",{children:"Potential End Date"}),Object(S.jsx)("span",{children:$(Nc.endDate)})]})]})]})}),Object(S.jsx)("span",{className:"project-section-title",children:"Award Amount"}),Object(S.jsx)("div",{className:"progress-block",children:Object(S.jsxs)("div",{className:"progress-bar-container",children:[Object(S.jsxs)("div",{className:"progress-bar-points",children:[Object(S.jsxs)("span",{children:[Nc.startPrice,"$"]}),Object(S.jsxs)("span",{children:[Nc.endPrice,"$"]})]}),Object(S.jsx)("div",{className:"progress-bar",children:ee(Nc.startPrice,Nc.endPrice,Nc.currentPrice)}),Object(S.jsxs)("div",{className:"progress-bar-data-container",children:[Object(S.jsxs)("div",{className:"progress-bar-data",children:[Object(S.jsx)("span",{children:"Obligated Amount"}),Object(S.jsxs)("span",{children:[Nc.startPrice,"$"]})]}),Object(S.jsxs)("div",{className:"progress-bar-data",children:[Object(S.jsx)("span",{children:"Current Award Ceiling"}),Object(S.jsxs)("span",{children:[Nc.currentPrice,"$"]})]}),Object(S.jsxs)("div",{className:"progress-bar-data",children:[Object(S.jsx)("span",{children:"Potential End Date"}),Object(S.jsxs)("span",{children:[Nc.endPrice,"$"]})]})]})]})})]})]})]}),Object(S.jsxs)("section",{className:"project-reports-section",ref:a,children:[Object(S.jsx)("span",{className:"project-section-title",children:"Project Reports"}),Object(S.jsx)("span",{className:"project-section-description",children:"from Development Experience Clearinghouse"}),Object(S.jsx)(wc,{tableData:d})]}),Object(S.jsxs)("section",{className:"project-reports-section",children:[Object(S.jsx)("span",{className:"project-section-title",children:"Solicitation Documents"}),Object(S.jsx)("span",{className:"project-section-description",children:"only available for select Contracts (not Grants)"}),Object(S.jsx)(wc,{tableData:m})]}),Object(S.jsxs)("section",{className:"project-transaction-section",ref:i,children:[Object(S.jsxs)("div",{className:"project-transaction-tabs",children:[Object(S.jsx)(Fe.Button,{style:Object(u.a)(Object(u.a)({},e.mySuggestionsOptions("TransactionHistory"===A,"yellow")),{},{marginRight:20}),onClick:function(){return _("TransactionHistory")},children:"Transaction History"}),Object(S.jsx)(Fe.Button,{style:Object(u.a)({},e.mySuggestionsOptions("SubAwardees"===A,"yellow")),onClick:function(){return _("SubAwardees")},children:"Sub Awardees"}),Object(S.jsx)(Fe.Button,{style:Object(u.a)({},e.mySuggestionsOptions("FederalAccount"===A,"yellow")),onClick:function(){return _("FederalAccount")},children:"Federal Account Funding"})]}),Object(S.jsx)(Sc,{tableData:x})]}),Object(S.jsxs)("section",{className:"project-panels-section",ref:c,children:[Object(S.jsxs)("div",{className:"project-panels-section-column",children:[Object(S.jsxs)(at.Panel,{style:Object(u.a)(Object(u.a)({},e.filters.filterBox),{},{marginBottom:I?0:20}),collapsed:I,onToggle:function(e){return D(e.value)},toggleable:!0,expandIcon:"pi pi-chevron-down",collapseIcon:"pi pi-chevron-up",header:Object(S.jsx)(rt.a,{title:"Completion Details",isCollapsed:I,setIsCollapsed:D}),children:[Object(S.jsxs)("div",{className:"panel-item",children:[Object(S.jsx)("span",{className:"panel-item-title",children:"Solicitation ID"}),Object(S.jsx)("span",{className:"panel-item-value",children:"\u2014"})]}),Object(S.jsxs)("div",{className:"panel-item",children:[Object(S.jsx)("span",{className:"panel-item-title",children:"Solicitation Procedures"}),Object(S.jsx)("span",{className:"panel-item-value",children:"NP: NEGOTIATED PROPOSAL/QUOTE"})]}),Object(S.jsxs)("div",{className:"panel-item",children:[Object(S.jsx)("span",{className:"panel-item-title",children:"Number of Offers Received"}),Object(S.jsx)("span",{className:"panel-item-value",children:"\u2014"})]}),Object(S.jsxs)("div",{className:"panel-item",children:[Object(S.jsx)("span",{className:"panel-item-title",children:"Extent Competed"}),Object(S.jsx)("span",{className:"panel-item-value",children:"A: FULL AND OPEN COMPETITION"})]}),Object(S.jsxs)("div",{className:"panel-item",children:[Object(S.jsx)("span",{className:"panel-item-title",children:"Other Than Full and Open,Competition"}),Object(S.jsx)("span",{className:"panel-item-value",children:"\u2014"})]}),Object(S.jsxs)("div",{className:"panel-item",children:[Object(S.jsx)("span",{className:"panel-item-title",children:"Set-Aside Type"}),Object(S.jsx)("span",{className:"panel-item-value",children:"\u2014"})]}),Object(S.jsxs)("div",{className:"panel-item",children:[Object(S.jsx)("span",{className:"panel-item-title",children:"Commercial Item Acquisition,Procedures"}),Object(S.jsx)("span",{className:"panel-item-value",children:"D: COMMERCIAL ITEM PROCEDURES,USED"})]}),Object(S.jsxs)("div",{className:"panel-item",children:[Object(S.jsx)("span",{className:"panel-item-title",children:"Simplified Procedures for Certain,Commercial Items"}),Object(S.jsx)("span",{className:"panel-item-value",children:"NO"})]}),Object(S.jsxs)("div",{className:"panel-item",children:[Object(S.jsx)("span",{className:"panel-item-title",children:"Evaluated Preference"}),Object(S.jsx)("span",{className:"panel-item-value",children:"NO PREFERENCE USED"})]}),Object(S.jsxs)("div",{className:"panel-item",children:[Object(S.jsx)("span",{className:"panel-item-title",children:"Fed Biz Opps"}),Object(S.jsx)("span",{className:"panel-item-value",children:"YES"})]}),Object(S.jsxs)("div",{className:"panel-item",children:[Object(S.jsx)("span",{className:"panel-item-title",children:"Small Business Competitiveness,Demonstration Program"}),Object(S.jsx)("span",{className:"panel-item-value",children:"FALSE"})]})]}),Object(S.jsxs)(at.Panel,{style:Object(u.a)(Object(u.a)({},e.filters.filterBox),{},{marginBottom:U?0:20}),collapsed:U,onToggle:function(e){return L(e.value)},toggleable:!0,expandIcon:"pi pi-chevron-down",collapseIcon:"pi pi-chevron-up",header:Object(S.jsx)(rt.a,{title:"Executive Compensation",isCollapsed:U,setIsCollapsed:L}),children:[Object(S.jsxs)("div",{className:"panel-item",children:[Object(S.jsx)("span",{className:"panel-item-title",children:"Officer 1"}),Object(S.jsx)("span",{className:"panel-item-value",children:"JAMES BUTCHER - $868,926"})]}),Object(S.jsxs)("div",{className:"panel-item",children:[Object(S.jsx)("span",{className:"panel-item-title",children:"Officer 2"}),Object(S.jsx)("span",{className:"panel-item-value",children:"ANNA SLOTHER - $466,002"})]}),Object(S.jsxs)("div",{className:"panel-item",children:[Object(S.jsx)("span",{className:"panel-item-title",children:"Officer 3"}),Object(S.jsx)("span",{className:"panel-item-value",children:"RHETT GURIAN - $454,307"})]}),Object(S.jsxs)("div",{className:"panel-item",children:[Object(S.jsx)("span",{className:"panel-item-title",children:"Officer 4"}),Object(S.jsx)("span",{className:"panel-item-value",children:"WILLIAM KELLER - $429,653"})]}),Object(S.jsxs)("div",{className:"panel-item",children:[Object(S.jsx)("span",{className:"panel-item-title",children:"Officer 5"}),Object(S.jsx)("span",{className:"panel-item-value",children:"JEFFREY WUORINEN - $406,812"})]})]}),Object(S.jsxs)(at.Panel,{style:Object(u.a)(Object(u.a)({},e.filters.filterBox),{},{marginBottom:Y?0:20}),collapsed:Y,onToggle:function(e){return G(e.value)},toggleable:!0,expandIcon:"pi pi-chevron-down",collapseIcon:"pi pi-chevron-up",header:Object(S.jsx)(rt.a,{title:"Agency Details",isCollapsed:Y,setIsCollapsed:G}),children:[Object(S.jsxs)("div",{className:"panel-item",children:[Object(S.jsx)("span",{className:"panel-item-title",children:"Awarding Agency"}),Object(S.jsx)("span",{className:"panel-item-value",children:"Agency of International Development,(USAID)"})]}),Object(S.jsxs)("div",{className:"panel-item",children:[Object(S.jsx)("span",{className:"panel-item-title",children:"Awarding Sub-Agency"}),Object(S.jsx)("span",{className:"panel-item-value",children:"Agency for International Development"})]}),Object(S.jsxs)("div",{className:"panel-item",children:[Object(S.jsx)("span",{className:"panel-item-title",children:"Awarding Office"}),Object(S.jsx)("span",{className:"panel-item-value",children:"USAID M/OAA"})]}),Object(S.jsxs)("div",{className:"panel-item",children:[Object(S.jsx)("span",{className:"panel-item-title",children:"Funding Agency"}),Object(S.jsx)("span",{className:"panel-item-value",children:"Agency for International Development,(USAID)"})]}),Object(S.jsxs)("div",{className:"panel-item",children:[Object(S.jsx)("span",{className:"panel-item-title",children:"Funding Sub-Agency"}),Object(S.jsx)("span",{className:"panel-item-value",children:"Agency for International Development"})]}),Object(S.jsxs)("div",{className:"panel-item",children:[Object(S.jsx)("span",{className:"panel-item-title",children:"Funding Office"}),Object(S.jsx)("span",{className:"panel-item-value",children:"USAID/MALI"})]})]})]}),Object(S.jsxs)("div",{className:"project-panels-section-column",children:[Object(S.jsxs)(at.Panel,{style:Object(u.a)(Object(u.a)({},e.filters.filterBox),{},{marginBottom:T?0:20}),collapsed:T,onToggle:function(e){return R(e.value)},toggleable:!0,expandIcon:"pi pi-chevron-down",collapseIcon:"pi pi-chevron-up",header:Object(S.jsx)(rt.a,{title:"Additional Details",isCollapsed:T,setIsCollapsed:R}),children:[Object(S.jsxs)("div",{className:"panel-item",children:[Object(S.jsx)("span",{className:"panel-item-title",children:"Contract Type"}),Object(S.jsx)("span",{className:"panel-item-value",children:"DELIVERY ORDER"})]}),Object(S.jsxs)("div",{className:"panel-item",children:[Object(S.jsx)("span",{className:"panel-item-title",children:"National Interest Action"}),Object(S.jsx)("span",{className:"panel-item-value",children:"NONE"})]}),Object(S.jsxs)("div",{className:"panel-item",children:[Object(S.jsx)("span",{className:"panel-item-title",children:"Cost or Pricing Data"}),Object(S.jsx)("span",{className:"panel-item-value",children:"YES"})]}),Object(S.jsxs)("div",{className:"panel-item",children:[Object(S.jsx)("span",{className:"panel-item-title",children:"Domestic or Foreign Entity"}),Object(S.jsx)("span",{className:"panel-item-value",children:"U.S. OWNED BUSINESS"})]}),Object(S.jsxs)("div",{className:"panel-item",children:[Object(S.jsx)("span",{className:"panel-item-title",children:"Fair Opportunity Limited Sources"}),Object(S.jsx)("span",{className:"panel-item-value",children:"\u2014"})]}),Object(S.jsxs)("div",{className:"panel-item",children:[Object(S.jsx)("span",{className:"panel-item-title",children:"Foreign Funding"}),Object(S.jsx)("span",{className:"panel-item-value",children:"NOT APPLICABLE"})]}),Object(S.jsxs)("div",{className:"panel-item",children:[Object(S.jsx)("span",{className:"panel-item-title",children:"Interagency Contracting,Authority"}),Object(S.jsx)("span",{className:"panel-item-value",children:"NOT APPLICABLE"})]}),Object(S.jsxs)("div",{className:"panel-item",children:[Object(S.jsx)("span",{className:"panel-item-title",children:"Major Problem"}),Object(S.jsx)("span",{className:"panel-item-value",children:"\u2014"})]}),Object(S.jsxs)("div",{className:"panel-item",children:[Object(S.jsx)("span",{className:"panel-item-title",children:"Subcontracting Plan"}),Object(S.jsx)("span",{className:"panel-item-value",children:"\u2014"})]}),Object(S.jsxs)("div",{className:"panel-item",children:[Object(S.jsx)("span",{className:"panel-item-title",children:"Multi Year Contract"}),Object(S.jsx)("span",{className:"panel-item-value",children:"Multi Year Contract"})]}),Object(S.jsxs)("div",{className:"panel-item",children:[Object(S.jsx)("span",{className:"panel-item-title",children:"Consolidated Contract"}),Object(S.jsx)("span",{className:"panel-item-value",children:"NO"})]})]}),Object(S.jsxs)(at.Panel,{style:Object(u.a)(Object(u.a)({},e.filters.filterBox),{},{marginBottom:Q?0:20}),collapsed:Q,onToggle:function(e){return W(e.value)},toggleable:!0,expandIcon:"pi pi-chevron-down",collapseIcon:"pi pi-chevron-up",header:Object(S.jsx)(rt.a,{title:"Unique Award Key",isCollapsed:Q,setIsCollapsed:W}),children:[Object(S.jsxs)("div",{className:"panel-item",children:[Object(S.jsx)("span",{className:"panel-item-title",children:"Unique Award Key"}),Object(S.jsx)("span",{className:"panel-item-value",children:"DELIVERY ORDER"})]}),Object(S.jsxs)("div",{className:"panel-item",children:[Object(S.jsx)("span",{className:"panel-item-title",children:"Award or IDV Flag"}),Object(S.jsx)("span",{className:"panel-item-value",children:"NONE"})]}),Object(S.jsxs)("div",{className:"panel-item",children:[Object(S.jsxs)("span",{className:"panel-item-title",children:["Procurement Instrument,Identifier (PIID)"," "]}),Object(S.jsx)("span",{className:"panel-item-value",children:"YES"})]}),Object(S.jsxs)("div",{className:"panel-item",children:[Object(S.jsx)("span",{className:"panel-item-title",children:"Submitting Agency Identifier,Code"}),Object(S.jsx)("span",{className:"panel-item-value",children:"U.S. OWNED BUSINESS"})]}),Object(S.jsxs)("div",{className:"panel-item",children:[Object(S.jsx)("span",{className:"panel-item-title",children:"Parent Award ID (Parent PIID)"}),Object(S.jsx)("span",{className:"panel-item-value",children:"-"})]}),Object(S.jsxs)("div",{className:"panel-item",children:[Object(S.jsx)("span",{className:"panel-item-title",children:"Parent Agency Identifier Code"}),Object(S.jsx)("span",{className:"panel-item-value",children:"NOT APPLICABLE"})]})]}),Object(S.jsxs)(at.Panel,{style:Object(u.a)(Object(u.a)({},e.filters.filterBox),{},{marginBottom:X?0:20}),collapsed:X,onToggle:function(e){return Z(e.value)},toggleable:!0,expandIcon:"pi pi-chevron-down",collapseIcon:"pi pi-chevron-up",header:Object(S.jsx)(rt.a,{title:"Parent Award Details",isCollapsed:X,setIsCollapsed:Z}),children:[Object(S.jsxs)("div",{className:"panel-item",children:[Object(S.jsx)("span",{className:"panel-item-title",children:"Parent Award Unique Key"}),Object(S.jsx)("span",{className:"panel-item-value",children:"CONT_IDV_AIDOAAI1500004_7200"})]}),Object(S.jsxs)("div",{className:"panel-item",children:[Object(S.jsx)("span",{className:"panel-item-title",children:"Parent Award ID (Parent PIID)"}),Object(S.jsx)("span",{className:"panel-item-value",children:"AIDOAAI1500004"})]}),Object(S.jsxs)("div",{className:"panel-item",children:[Object(S.jsx)("span",{className:"panel-item-title",children:"Parent IDV Type"}),Object(S.jsx)("span",{className:"panel-item-value",children:"IDC"})]}),Object(S.jsxs)("div",{className:"panel-item",children:[Object(S.jsx)("span",{className:"panel-item-title",children:"Parent IDV Agency Name"}),Object(S.jsx)("span",{className:"panel-item-value",children:"Agency for International Development"})]}),Object(S.jsxs)("div",{className:"panel-item",children:[Object(S.jsx)("span",{className:"panel-item-title",children:"Parent IDV Sub-Agency Name"}),Object(S.jsx)("span",{className:"panel-item-value",children:"Agency for International Development"})]}),Object(S.jsxs)("div",{className:"panel-item",children:[Object(S.jsx)("span",{className:"panel-item-title",children:"Mulitiple Or Single Parent Award IDV"}),Object(S.jsx)("span",{className:"panel-item-value",children:"SINGLE AWARD"})]})]})]})]}),Object(S.jsx)("section",{className:"project-footer-section",children:Object(S.jsx)("span",{children:"This report and data is based upon public information and data obtained from various public sources, the accuracy of which cannot be guaranteed. There may be inherent contradictions among various public data sets. AidKonekt makes no representation or warranty as to the accuracy of information provided. This is only intended as an information resource and not an advisory document. As with any information resource, it is your responsibility to determine the quality and credibility of information obtained, as well as the reasonableness of relying on such information for a particular use."})})]})},Ic=n(683),Dc=n(688),Fc=(n(635),te.a.button({background:"#ECAC37 !important",borderRadius:"26.5px",margin:"10px",height:"40px",padding:"10px",border:"none",left:"0px",color:"#FFFFFF !important",":focus":{background:"#ECAC37"}})),kc=(te.a.div({zIndex:1e4,top:"1px !important",right:"0px"}),{publicUserId:"",firstName:"",lastName:"",email:"",userRole:"Select Role",password:"",message:"",pipelines:[],isEnabled:!1}),Tc=function(){var e,t,n,i,c=r.a.useContext(j.d),s=Object(a.useContext)(se.a),p=Object(L.b)(c),b=r.a.useState(0),m=Object(o.a)(b,2),f=m[0],h=(m[1],r.a.useState("")),O=Object(o.a)(h,2),g=O[0],x=O[1],v=r.a.useState(0),C=Object(o.a)(v,2),A=C[0],w=C[1],N=r.a.useState(!1),E=Object(o.a)(N,2),I=E[0],D=E[1],F=r.a.useState(!1),k=Object(o.a)(F,2),T=k[0],R=k[1],P=r.a.useState(!1),M=Object(o.a)(P,2),U=M[0],B=M[1],Q=Object(a.useState)([]),W=Object(o.a)(Q,2),z=W[0],Y=W[1],G=r.a.useState("Add team member"),K=Object(o.a)(G,2),q=K[0],X=K[1],Z=r.a.useState(!1),J=Object(o.a)(Z,2),_=J[0],$=J[1],te=r.a.useState(kc),oe=Object(o.a)(te,2),de=oe[0],ue=oe[1],pe=r.a.useState(kc),be=Object(o.a)(pe,2),me=be[0],fe=be[1],he=Object(je.a)(),Oe=r.a.useState(),ge=Object(o.a)(Oe,2),xe=(ge[0],ge[1]),ve=Object(ie.a)(),ye=r.a.useState(!0),Ce=Object(o.a)(ye,2),Ae=Ce[0],we=Ce[1],Se=r.a.useState("password"),Ne=Object(o.a)(Se,2),Ee=(Ne[0],Ne[1],r.a.useState(!0)),De=Object(o.a)(Ee,2),Fe=(De[0],De[1],Object(a.useState)(!1)),ke=Object(o.a)(Fe,2),Te=ke[0],Re=ke[1],Pe=Object(a.useState)(!1),Me=Object(o.a)(Pe,2),Ue=Me[0],Le=Me[1],Be=null===(e=c.user.parsedIdToken)||void 0===e?void 0:e.email,Ve=function(){Le(!0)},Qe=function(){Le(!1),setTimeout((function(){X("Add team member"),fe(kc),ue(kc),R(!1),D(!1),B(!1)}),150)},We=function(e){var t=[e].concat(Object(ee.a)(z));Y(t)},He=function(e,t){ue(Object(u.a)(Object(u.a)({},de),{},Object(H.a)({},e,t)))};Object(a.useEffect)((function(){V.a.get(Object(L.f)("/api/organization/user",{useDedicatedEnvironment:!0}),p).then((function(e){Y(e.data),xe(e.data),w(z.length),we(!1)})).catch((function(e){console.error(e),s.current&&s.current.show({severity:"error",summary:"Unable to load users"})}))}),[c]);var ze=function(e){V.a.delete(Object(L.f)("/api/organization/user/".concat(e),{useDedicatedEnvironment:!0}),p).then((function(){var t=z.filter((function(t){return t.publicUserId!==e}));Y(t),s.current.show({severity:"success",summary:"Record has been deleted"})})).catch((function(e){console.error(e),s.current&&s.current.show({severity:"error",summary:"Error deleting data"})}))},Ye=de.firstName!==(null===me||void 0===me?void 0:me.firstName)||de.lastName!==(null===me||void 0===me?void 0:me.lastName)||de.userRole!==(null===me||void 0===me?void 0:me.userRole);function Ge(e){return/^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,4}$/i.test(e)}var Ke,qe=function(){var e=Object(d.a)(l.a.mark((function e(){var t;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if($(!0),t="Organization Admin"===de.userRole?"OrganizationAdmin":"Member",""!=de.firstName){e.next=8;break}return s.current.show({severity:"error",summary:"First name is required."}),$(!1),e.abrupt("return");case 8:if(""!=de.lastName){e.next=14;break}return s.current.show({severity:"error",summary:"Last name is required."}),$(!1),e.abrupt("return");case 14:if(""!=de.email){e.next=19;break}s.current.show({severity:"error",summary:"Email is required."}),$(!1),e.next=29;break;case 19:if(Ge(de.email)){e.next=25;break}return s.current.show({severity:"error",summary:"Invalid email address. e.g. example@email.com"}),$(!1),e.abrupt("return");case 25:if(""!=de.userRole){e.next=29;break}return s.current.show({severity:"error",summary:"Role is required"}),$(!1),e.abrupt("return");case 29:return e.next=31,V.a.post(Object(L.f)("/api/organization/usernew",{useDedicatedEnvironment:!0}),{FirstName:de.firstName,LastName:de.lastName,Email:de.email,Pipelines:de.pipelines,Password:"",userRole:t},p).then((function(e){s.current.show({severity:"success",summary:"The new member has been added successfully"}),We(e.data),Qe(),Re(!1)})).catch((function(e){if(Re(!1),e.response,s.current){if(409===e.response.status)return void s.current.show({severity:"error",summary:"User already exists"});if(500===e.response.status)return void s.current.show({severity:"error",summary:"Invalid email address"})}})).finally((function(){return $(!1)}));case 31:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),Xe=Object(S.jsxs)("div",{className:"p-grid p-justify-end p-align-center",children:[Object(S.jsx)("div",{className:"p-sm-12 p-md-6 p-lg-4 p-xl-6 topLeftColumnHeader",style:{textAlign:"left"},children:Object(S.jsx)("div",{className:"search-bar",children:Object(S.jsx)(ce.InputText,{type:"search",style:{color:"#979797",fontStyle:"italic",borderRadius:"20px"},onChange:function(e){return x(e.target.value)},placeholder:"Search..."})})}),Object(S.jsx)("div",{className:"p-sm-12 p-md-12 p-lg-4 p-xl-6 p-justify-end p-grid p-align-center buttonsHeader",children:Object(S.jsx)(Fc,{onClick:function(e){D(!0),Ve()},children:"+ Add Member"})})]});return Object(S.jsxs)("div",{children:[Object(S.jsxs)(ca.a,{open:Te,handleClose:function(){return Re(!1)},title:"Invite a new member",acceptLabel:"Confirm",handleAccept:function(){return qe()},acceptButtonDisabled:_,acceptButtonLoading:_,loading:_,children:[Object(S.jsx)(y.a,{variant:"h6",color:"textPrimary",fontWeight:500,sx:{mb:1},children:"Are you sure you want to add a user outside of your organization? Please click confirm to save, or cancel to disregard."}),Object(S.jsx)(y.a,{variant:"body2",color:"textSecondary",children:"Note: if you add them as member user, they can get the same access to the different data sources, can create their own pipelines and get access to view/manage pipelines shared with them only."})]}),Object(S.jsxs)("div",{style:{marginBottom:"10px"},children:[" ",Object(S.jsx)(ae.b,{text:"Teams"})]}),Object(S.jsx)(_i.a,{variant:"temporary",open:Ue,onClose:Qe,anchor:"right",sx:{zIndex:500},children:Object(S.jsxs)("div",{style:{width:"370px",height:"200vh"},children:[Object(S.jsx)("div",{className:"side-panel-header",children:Object(S.jsx)(ae.a,{text:q})}),Object(S.jsx)("div",{className:"p-grid",children:Object(S.jsxs)("div",{className:"p-col-12",style:{textAlign:"left"},children:[Object(S.jsxs)("div",{className:"p-col-12",style:{marginTop:"40px"},children:[Object(S.jsx)("label",{className:"user-label",htmlFor:"firstName",children:"First Name"}),T?Object(S.jsx)(S.Fragment,{children:Object(S.jsx)("div",Object(u.a)(Object(u.a)({className:"email-inner",id:"firstName"},Object($a.css)(Object(u.a)(Object(u.a)({},he.text),he.radiusBordered))),{},{children:de.firstName||(null===me||void 0===me?void 0:me.firstName)}))}):Object(S.jsx)(ce.InputText,{placeholder:" First Name",className:"user-input",defaultValue:null===me||void 0===me?void 0:me.firstName,onChange:function(e){He("firstName",e.currentTarget.value)}})]}),Object(S.jsxs)("div",{className:"p-col-12",children:[Object(S.jsx)("label",{className:"user-label",htmlFor:"LastName",children:"Last Name"}),T?Object(S.jsx)(S.Fragment,{children:Object(S.jsx)("div",Object(u.a)(Object(u.a)({className:"email-inner",id:"full-name"},Object($a.css)(Object(u.a)(Object(u.a)({},he.text),he.radiusBordered))),{},{children:(null===(t=de.lastName)||void 0===t?void 0:t.toLocaleLowerCase())||(null===me||void 0===me||null===(n=me.lastName)||void 0===n?void 0:n.toLocaleLowerCase())}))}):Object(S.jsx)(ce.InputText,{type:"text",placeholder:"Last Name",className:"user-input",defaultValue:null===me||void 0===me?void 0:me.lastName,onChange:function(e){He("lastName",e.currentTarget.value)}})]}),Object(S.jsxs)("div",{className:"p-col-12",children:[Object(S.jsx)("label",{className:"user-label",htmlFor:"email",children:"Email"}),T||U?Object(S.jsx)(S.Fragment,{children:Object(S.jsx)("div",Object(u.a)(Object(u.a)({className:"email-inner"},Object($a.css)(Object(u.a)(Object(u.a)({},he.text),he.radiusBordered))),{},{children:de.email||(null===me||void 0===me?void 0:me.email)}))}):Object(S.jsx)(ce.InputText,{placeholder:"email@Organization.com",className:"user-input",defaultValue:null===me||void 0===me?void 0:me.email,onChange:function(e){He("email",e.currentTarget.value)}})]}),Object(S.jsxs)("div",{className:"p-col-12",children:[Object(S.jsx)("label",{className:"user-label",htmlFor:"role",children:"Role"}),T?Object(S.jsx)(S.Fragment,{children:Object(S.jsx)("div",Object(u.a)(Object(u.a)({className:"email-inner",id:"userrole"},Object($a.css)(Object(u.a)(Object(u.a)({},he.text),he.radiusBordered))),{},{children:"OrganizationAdmin"===(null===me||void 0===me?void 0:me.userRole)?"Organization Admin":null===me||void 0===me?void 0:me.userRole}))}):Object(S.jsx)(Ie.Dropdown,{className:"user-input",value:"OrganizationAdmin"===de.userRole?"Organization Admin":de.userRole,options:["Member","Organization Admin"],onChange:function(e){He("userRole",e.target.value)},placeholder:de.userRole||me.userRole})]}),Object(S.jsx)("div",{className:"p-col-12",style:{marginTop:"22%"},children:Object(S.jsxs)("div",{className:"button-elements",style:{display:"flex",justifyContent:"flex-end"},children:[Object(S.jsx)("button",{onClick:Qe,className:"edit-user-invite",children:"Cancel"}),I&&Object(S.jsx)(le.Button,{style:{color:"white",borderRadius:"26px",justifyContent:"center",backgroundColor:"#ECAC37",fontSize:"16px"},disabled:!Ye||_,onClick:(null===de||void 0===de||null===(i=de.email)||void 0===i?void 0:i.split("@")[1])===(null===Be||void 0===Be?void 0:Be.split("@")[1])?qe:function(){return Re(!0)},className:"edit-user-invite",label:"Invite"}),U&&Object(S.jsx)(le.Button,{style:{color:"white",borderRadius:"26px",justifyContent:"center",backgroundColor:"#ECAC37",fontSize:"13px"},disabled:!Ye,onClick:function(){if(""!=de.firstName)if(""!=de.lastName)if(""!=de.userRole||""!=(null===me||void 0===me?void 0:me.userRole)){var e,t="Organization Admin"===(e=de.userRole)||"OrganizationAdmin"===e?"OrganizationAdmin":"Member"===e?"Member":e;V.a.put(Object(L.f)("/api/organization/user/".concat(null===me||void 0===me?void 0:me.publicUserId),{useDedicatedEnvironment:!0}),{FirstName:de.firstName||(null===me||void 0===me?void 0:me.firstName),LastName:de.lastName||(null===me||void 0===me?void 0:me.lastName),UserRole:t||(null===me||void 0===me?void 0:me.userRole),IsEnabled:!0},p).then((function(){var e=z.map((function(e){return e.publicUserId===(null===me||void 0===me?void 0:me.publicUserId)?Object(u.a)(Object(u.a)({},e),{},{firstName:de.firstName||me.firstName,lastName:de.lastName||me.lastName,userRole:t||me.userRole}):e}));s.current.show({severity:"success",summary:"User info edited successfully"}),Qe(),Y(e)})).catch((function(){alert("Error saving edits")}))}else s.current.show({severity:"error",summary:"User role is required."});else s.current.show({severity:"error",summary:"Last name is required."});else s.current.show({severity:"error",summary:"First name is required."})},className:"edit-user-edit",label:"Save Edits"})]})})]})})]})}),Object(S.jsxs)(ne.DataTable,{value:z,globalFilter:g,loading:Ae,scrollable:!0,scrollHeight:"400px",header:Xe,rows:10,resizableColumns:!0,columnResizeMode:"expand",paginator:!0,totalRecords:A,first:f,paginatorTemplate:"FirstPageLink PrevPageLink PageLinks NextPageLink LastPageLink CurrentPageReport RowsPerPageDropdown",currentPageReportTemplate:"Showing {first} to {last} of {totalRecords} entries",rowsPerPageOptions:[5,10,20,25,30],children:[Object(S.jsx)(re.Column,{headerStyle:ve.headerStyle(70),style:ve.rowStyle(30),bodyClassName:"source",header:"First name",field:"firstName",className:"cell-data",exportable:!0}),Object(S.jsx)(re.Column,{headerStyle:ve.headerStyle(70),style:ve.rowStyle(30),bodyClassName:"source",header:"Last name",field:"lastName",className:"cell-data",exportable:!0}),Object(S.jsx)(re.Column,{headerStyle:ve.headerStyle(70),style:ve.columnStyle(30),header:"Email",field:"email",exportable:!0}),Object(S.jsx)(re.Column,{headerStyle:ve.headerStyle(70),style:ve.columnStyle(30),header:"Roles",className:"cell-data",exportable:!0,field:"userRole",body:function(e){var t,n,a=(null===(t=e.userRole)||void 0===t?void 0:t.substring(0,12))+" "+(null===(n=e.userRole)||void 0===n?void 0:n.substring(12,e.userRole.length));return Object(S.jsx)("p",{children:a})}}),Object(S.jsx)(re.Column,{headerStyle:ve.headerStyle(70),style:ve.columnStyle(30),bodyClassName:"source",header:"Status",body:function(e){return Object(S.jsx)("div",{children:e.isEnable?Object(S.jsx)("button",{className:"user-status-button-active",children:"Active"}):Object(S.jsx)("button",{className:"user-status-button-pending",children:"Pending"})})},exportable:!0}),Object(S.jsx)(re.Column,{header:"Actions",headerStyle:ve.headerStyle(70),style:ve.columnStyle(30),bodyClassName:"source",body:(Ke=function(e){return Object(S.jsxs)("div",{style:{display:"flex",justifyContent:"center"},children:[Object(S.jsx)(le.Button,{className:"admin-action-button",onClick:function(t){fe(e),D(!1),R(!0),X("View team member"),Ve()},children:"View"}),Object(S.jsx)(le.Button,{className:"admin-action-button",onClick:function(t){fe(e),ue(e),D(!1),R(!1),B(!0),X("Edit member details"),Ve()},children:"Edit"}),Be===e.email?Object(S.jsx)(S.Fragment,{}):Object(S.jsx)(le.Button,{className:"admin-action-button",onClick:function(){return function(e){var t=[],n=(e.pipelines.every((function(e){z.map((function(t){return t.pipelines.includes(e)}))||t.push(e)})),!!t.length&&t.length!==e.pipelines.length);0===e.pipelines.length?Ct.a.fire({html:'

Are you sure you want to remove "'.concat(e.firstName+" "+e.lastName,'" from your team list? Once deleted you cannot retrieve their account information.

'),showCancelButton:!0,confirmButtonColor:"#E02020",showCloseButton:!0,cancelButtonColor:"#ECAC37",confirmButtonText:"Remove",reverseButtons:!0}).then((function(t){t.isConfirmed&&ze(e.publicUserId)})):n?Ct.a.fire({html:"

Are you sure you want to remove ".concat(e.firstName," ").concat(e.lastName,"\n from your team list?, their private pipeline/s will be lost and\n cannot be retrieved.

"),showCancelButton:!0,confirmButtonColor:"#E02020",showCloseButton:!0,cancelButtonColor:"#ECAC37",confirmButtonText:"Yes",reverseButtons:!0}).then((function(t){t.isConfirmed&&ze(e.publicUserId)})):Ct.a.fire({html:"

Are you sure you want to remove this user from your team's\n list? while this user's shared pipeline/s will still be accessible by relevant\n team members, this user's private pipelines will not be accessible.

",showCancelButton:!0,confirmButtonColor:"#E02020",showCloseButton:!0,cancelButtonColor:"#ECAC37",confirmButtonText:"Yes",reverseButtons:!0}).then((function(t){t.isConfirmed&&ze(e.publicUserId)}))}(e)},children:"Delete"})]})},function(e){return Object(S.jsx)("div",{children:Ke(e)})})})]})]})},Rc=n(690),Pc=n(326);function Mc(){var e=r.a.useContext(j.d),t=r.a.useMemo((function(){return Object(j.c)(Object(j.f)(e))}),[e]);return Object(S.jsxs)("div",{children:[Object(S.jsxs)("div",{style:{marginBottom:"10px"},children:[" ",Object(S.jsx)(ae.b,{text:"Subscription Details"})]}),Object(S.jsx)("div",{className:"p-col-12 p-md-12 p-lg-12 p-xl-4",children:Object(S.jsxs)("div",{className:"subscription-container",children:[Object(S.jsx)("p",{className:"subscription-header-text",children:"Subscription plan"}),Object(S.jsxs)("div",{className:"plus-section",children:[Object(S.jsx)("div",{style:{margin:"auto",padding:"10px"},children:Object(S.jsx)("img",{style:{paddingTop:"0px"},src:Pc.a,alt:""})}),Object(S.jsxs)("div",{style:{textAlign:"left",marginLeft:"5px",padding:"10px"},children:[Object(S.jsx)("div",{children:Object(S.jsx)("strong",{children:t})}),Object(S.jsx)("div",{children:"Automate monitoring of your USAID pipeline."})]})]}),Object(S.jsx)("hr",{style:{marginTop:"50px"}}),Object(S.jsxs)("div",{className:"subscription-footer",children:[Object(S.jsx)("div",{children:"Get access to wider range of USAID projects, data and resources. In addition, you will be able to setup and customize the daily email notifications."}),Object(S.jsx)(x.a,{label:"Upgrade Plan",onClick:Object(g.d)("tiers"),style:{margin:"5px 0 25px"},className:"sub-button"})]})]})}),Object(S.jsx)("div",{className:"p-col-12 p-md-12 p-lg-12 p-xl-8"})]})}var Uc,Lc,Bc=te.a.div({border:"5px solid #D9D9D9",borderRadius:"35px",height:"74px",boxSizing:"border-box",display:"flex","& > button":{background:"#FAEACD",borderRadius:"26.5px",margin:"10px",height:"40px",padding:"8px 24px",border:"none",left:"0px",":focus":{background:"#ECAC37",border:"none",color:"#FFFFFF"}}}),Vc=Object(p.i)((function(){var e=r.a.useContext(j.d),t=r.a.useState(!1),n=Object(o.a)(t,2),i=n[0],c=n[1],s=r.a.useState(!0),l=Object(o.a)(s,2),d=l[0],u=l[1],p=r.a.useState(!1),b=Object(o.a)(p,2),m=b[0],f=b[1],h=Object(j.e)(e,j.a.admin),O=!Object(j.h)(e,j.b.plusOrHigher),g=Object(j.h)(e,j.b.plusOrHigher),x=Object(a.useRef)(null);Object(a.useEffect)((function(){x&&x.current&&x.current.focus()}),[]);var v=function(e){switch(e){case"orgSettings":u(!0),c(!1),f(!1);break;case"teams":c(!0),u(!1),f(!1);break;case"subscriptions":f(!0),u(!1),c(!1)}};return Object(S.jsx)(S.Fragment,{children:O?null:Object(S.jsxs)("div",{className:"p-col p-grid p-justify-center content-block",children:[Object(S.jsx)("div",{className:"p-col-12 p-md-12 p-lg-12 p-xl-12",children:Object(S.jsxs)(Bc,{children:[Object(S.jsx)("button",{ref:x,className:d?"btn-active":"",onClick:function(){return v("orgSettings")},children:Object(S.jsx)("strong",{children:"Organization Settings"})}),h||g?Object(S.jsx)("button",{className:i?"btn-active":"",onClick:function(){return v("teams")},style:{width:"90px"},children:Object(S.jsx)("strong",{children:"Team"})}):null,Object(S.jsx)("button",{className:m?"btn-active":"",onClick:function(){return v("subscriptions")},children:Object(S.jsx)("strong",{children:"Subscription"})})]})}),Object(S.jsx)("div",{className:"p-col-12 p-md-12 p-lg-12 p-xl-12",children:Object(S.jsx)(Bc,{style:{display:"block",alignItems:"center",padding:"20px",minHeight:"80vh",height:"auto"},children:Object(S.jsxs)("div",{children:[h||g?Object(S.jsx)("div",{children:i?Object(S.jsx)(Tc,{}):null}):null,d?Object(S.jsx)(Rc.a,{}):null,m?Object(S.jsx)(Mc,{}):null]})})})]})})})),Qc={notification:null===(Uc=n(634))||void 0===Uc?void 0:Uc.default},Wc=function(e){var t=e.id,n=e.isPipelineOwner,r=Object(ie.a)(),i=a.useContext(j.d),c=a.useContext(se.a),s="",b=Object(p.h)();b&&b.search&&(s=Object(Yr.parse)(b.search).section||"");var m=a.useState(!0),f=Object(o.a)(m,2),h=f[0],O=f[1],g=a.useState("businessforecast"!==s),x=Object(o.a)(g,2),v=x[0],y=x[1],C=a.useState("contract"!==s),A=Object(o.a)(C,2),w=A[0],N=A[1],E=a.useState("grant"!==s),I=Object(o.a)(E,2),D=I[0],F=I[1],k=a.useState(!0),T=Object(o.a)(k,2),R=T[0],P=T[1],M=a.useState(!1),U=Object(o.a)(M,2),B=U[0],Q=U[1],W=a.useState(!1),H=Object(o.a)(W,2),z=H[0],Y=H[1],G=a.useState(0),K=Object(o.a)(G,2),q=K[0],X=K[1],Z=a.useState(0),J=Object(o.a)(Z,2),_=J[0],$=J[1],ee=a.useState(0),te=Object(o.a)(ee,2),ne=te[0],ae=te[1],re=a.useState(0),ce=Object(o.a)(re,2),oe=ce[0],de=ce[1];a.useEffect((function(){V.a.get(Object(L.f)("/api/pipeline/".concat(t,"/contract/suggestion"),{useDedicatedEnvironment:!0}),Object(L.b)(i)).then((function(e){var t=e.data.totalItems;de(t)})),V.a.post(Object(L.f)("/api/pipeline/".concat(t,"/forecast/suggestion"),{useDedicatedEnvironment:!0}),{first:0,rows:20,sort:{sortField:"",sortOrder:0},keyword:""},Object(L.b)(i)).then((function(e){var t=e.data.totalItems;$(t)})),V.a.get(Object(L.f)("/api/pipeline/".concat(t,"/grant/suggestion"),{useDedicatedEnvironment:!0}),Object(L.b)(i)).then((function(e){var t=e.data.totalItems;ae(t)}))}),[]);var ue=function(e){switch(e){case"forecast":Y(!1),Q(!1),P(!0);break;case"grant":Y(!1),Q(!0),P(!1);break;case"contract":Y(!0),Q(!1),P(!1)}},pe=Object(S.jsxs)("div",{style:{paddingTop:10,marginRight:"-16px"},children:[Object(S.jsx)("img",{src:Qc.notification,style:r.icon}),_+ne+oe>0?Object(S.jsx)("span",{style:r.mySuggestionsRedBadge,children:_+ne+oe}):Object(S.jsx)("span",{style:r.mySuggestionsTransparent})]}),be=a.useState(!1),je=Object(o.a)(be,2),me=je[0],fe=je[1],he=a.useState(!1),Oe=Object(o.a)(he,2),ge=Oe[0],xe=Oe[1],ve=a.useState(!1),ye=Object(o.a)(ve,2),Ce=ye[0],Ae=ye[1],we=Object(a.useState)(!1),Se=Object(o.a)(we,2),Ne=Se[0],Ee=Se[1],Ie=Object(a.useState)(!1),De=Object(o.a)(Ie,2),Fe=De[0],ke=De[1],Te=Object(a.useState)(!1),Re=Object(o.a)(Te,2),Pe=Re[0],Me=Re[1];return Object(S.jsxs)("div",{className:"p-grid p-dir-col p-col-12",children:[Object(S.jsx)("div",{className:"p-col-2"}),Object(S.jsx)("div",{className:"p-col-12",children:Object(S.jsx)(at.Panel,{style:Object(u.a)(Object(u.a)({},r.filters.filterBox),{},{marginTop:0,borderColor:r.theme.v2.lightBlue}),collapsed:h,onToggle:function(e){return O(e.value)},toggleable:!0,expandIcon:"",collapseIcon:"",header:Object(S.jsx)("div",{className:"suggestions-header",children:Object(S.jsx)(rt.a,{title:"MySuggestions",isCollapsed:h,setIsCollapsed:O,collapserIcon:pe,expanderIcon:pe})}),children:Object(S.jsxs)("div",{className:"p-grid p-justify-start",children:[Object(S.jsxs)("div",{className:"p-col-12",style:{textAlign:"start"},children:[Object(S.jsx)(le.Button,{className:"p-button bordered p-no-hover",style:r.mySuggestionsOptions(R,"blue"),onClick:function(){return ue("forecast")},children:"New Forecast Opps"}),_>0?Object(S.jsx)("span",{style:r.mySuggestionsBadge,children:_}):Object(S.jsx)("span",{style:r.mySuggestionsTransparent}),Object(S.jsx)(le.Button,{style:r.mySuggestionsOptions(z,"blue"),className:"p-no-hover",onClick:function(){return ue("contract")},children:"New Contracts Opps"}),oe>0?Object(S.jsx)("span",{style:r.mySuggestionsBadge,children:oe}):Object(S.jsx)("span",{style:r.mySuggestionsTransparent}),Object(S.jsx)(le.Button,{style:r.mySuggestionsOptions(B,"blue"),className:"p-no-hover",onClick:function(){return ue("grant")},children:"New Grants Opps"}),ne>0?Object(S.jsx)("span",{style:r.mySuggestionsBadge,children:ne}):Object(S.jsx)("span",{style:r.mySuggestionsTransparent}),n&&Object(S.jsx)(le.Button,{style:Object(u.a)(Object(u.a)({},r.mySuggestionsOptions(!1,"blue")),{},{backgroundColor:"#FF0000",borderColor:"#FF0000",paddingRight:12}),className:"clear-btn",onClick:Object(d.a)(l.a.mark((function e(){return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return R&&(fe(!0),$(0)),z&&(xe(!0),de(0)),B&&(Ae(!0),ae(0)),e.prev=3,e.next=6,V.a.get(Object(L.f)("/api/user/MySuggestions",{useDedicatedEnvironment:!0}),Object(L.b)(i));case 6:e.next=11;break;case 8:e.prev=8,e.t0=e.catch(3),c.current.show({severity:"error",summary:"Error Loading MySuggestions",sticky:!0});case 11:case"end":return e.stop()}}),e,null,[[3,8]])}))),children:"Clear All"})]}),Object(S.jsxs)("div",{className:"p-col-12",children:[R&&Object(S.jsx)(pi,{id:t,isRemove:me,isPipelineScreen:!0,isPipelineOwner:n,decrement:function(){$(_-1),X(q-1)},setRefreshForecastData:function(e){return R&&Ee(e)}}),B&&Object(S.jsx)(qi,{isRemove:Ce,id:t,isPipelineOwner:n,isMySuggestions:!0,decrement:function(){ae(ne-1),X(q-1)},setRefreshGrantsData:function(e){B&&Me(e)}}),z&&Object(S.jsx)(Vi,{isRemove:ge,pipelineId:t,isPipelineOwner:n,isMySuggestions:!0,decrement:function(){de(oe-1),X(q-1)},setRefreshContractsData:function(e){z&&ke(e)}})]})]})})}),Object(S.jsx)("div",{className:"p-col-12",children:Object(S.jsx)(at.Panel,{style:Object(u.a)(Object(u.a)({},r.filters.filterBox),{},{marginTop:0}),collapsed:v,onToggle:function(e){return y(e.value)},toggleable:!0,expandIcon:"",collapseIcon:"",header:Object(S.jsx)(rt.a,{title:"MyForecast",isCollapsed:v,setIsCollapsed:y}),children:Object(S.jsx)(ui,{id:t,isPipelineScreen:!0,isPipelineOwner:n,refreshForecastData:Ne,setRefreshForecastData:function(e){return Ee(e)}})})}),Object(S.jsx)("div",{className:"p-col-12",children:Object(S.jsx)(at.Panel,{style:Object(u.a)(Object(u.a)({},r.filters.filterBox),{},{marginTop:0,paddingLeft:"21px"}),collapsed:w,onToggle:function(e){return N(e.value)},toggleable:!0,expandIcon:"",collapseIcon:"",header:Object(S.jsx)(rt.a,{title:"MyContracts",isCollapsed:w,setIsCollapsed:N}),children:Object(S.jsx)(Bi,{id:t,isPipelineScreen:!0,isPipelineOwner:n,refreshContractsData:Fe,setRefreshContractsData:function(e){return ke(e)}})})}),Object(S.jsx)("div",{className:"p-col-12",children:Object(S.jsx)(at.Panel,{style:Object(u.a)(Object(u.a)({},r.filters.filterBox),{},{marginTop:0}),collapsed:D,onToggle:function(e){return F(e.value)},toggleable:!0,expandIcon:"",collapseIcon:"",header:Object(S.jsx)(rt.a,{title:"MyGrants",isCollapsed:D,setIsCollapsed:F}),children:Object(S.jsx)(Ki,{id:t,isPipelineScreen:!0,isPipelineOwner:n,refreshGrantsData:Pe,setRefreshGrantsData:function(e){return Me(e)}})})})]})},Hc=n(236),zc=te.a.hr({width:"100%",border:"1px solid #D9D9D9"}),Yc=te.a.label({fontSize:"15px"}),Gc={multiSelect:{width:"100%",borderRadius:10},chipsContainer:{marginTop:"5px",display:"flex",flexWrap:"wrap"}};!function(e){e.country="Country",e.technicalSector="TechnicalSector",e.keyword="Keyword"}(Lc||(Lc={}));var Kc,qc,Xc,Zc,Jc,_c,$c=function(e){var t=e.pipelines,n=(e.toggleEdits,e.toggleViewMode,e.divRef),i=function(e){e.map((function(e){var t;e&&(e.label=Ne(e.firstName||e.lastName?e.firstName:e.email)+" "+Ne(null!==(t=e.lastName)&&void 0!==t?t:""))}))},c=r.a.useState(t.name),s=Object(o.a)(c,2),b=s[0],m=s[1],f=r.a.useState(t.description),h=Object(o.a)(f,2),O=h[0],g=h[1],x=r.a.useState(t.preferenceFilterType),v=Object(o.a)(x,2),y=v[0],C=v[1],A=r.a.useContext(j.d),w=r.a.useContext(se.a),N=Object(L.b)(A),E=Object(p.g)(),I=r.a.useState([]),D=Object(o.a)(I,2),F=D[0],k=D[1],T=r.a.useState({}),R=Object(o.a)(T,2),P=R[0],M=(R[1],!Object(j.h)(A,j.b.plusOrHigher)),U=A.user,B=t.users;i(B);var Q=t.pipelineUserRole,W=r.a.useState(B),H=Object(o.a)(W,2),z=(H[0],H[1]),Y=r.a.useState(B),G=Object(o.a)(Y,2),K=G[0],q=G[1],X=r.a.useState(t.marketPreferences.filter((function(e){return e.preferenceType===Lc.country.toString()}))),Z=Object(o.a)(X,2),J=Z[0],_=Z[1],$=r.a.useState(t.marketPreferences.filter((function(e){return e.preferenceType!==Lc.country.toString()}))),te=Object(o.a)($,2),ne=te[0],ae=te[1],re=r.a.useState(t.keywords),ie=Object(o.a)(re,2),oe=ie[0],je=ie[1],me=function(e,t){if(e.length!==t.length)return!0;var n=!1;return e.forEach((function(e){t.find((function(t){return t.preferenceType==e.preferenceType&&t.name===e.name}))||(n=!0)})),n},fe=function(e,t){if(e.length!==t.length)return!0;var n=!1;return e.forEach((function(e){t.find((function(t){return t.name===e}))||(n=!0)})),n};r.a.useEffect((function(){V.a.get(Object(L.f)("/api/organization/user",{useDedicatedEnvironment:!0}),Object(L.b)(A)).then((function(e){var t,n=e.data,a=null===(t=U.parsedIdToken)||void 0===t?void 0:t["cognito:username"].split("|");if(i(n),a){a[0],a[1];k(n)}else k(n)})).catch((function(e){console.error(e),w.current&&w.current.show({severity:"error",summary:"Unable to load users"})}))}),[]);var he=function(){var e=Object(d.a)(l.a.mark((function e(n){var a,r,i,c;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(a=J.map((function(e){return{preferenceType:Lc.country.toString(),name:e.code}})),r=ne.map((function(e){return{preferenceType:Lc.technicalSector.toString(),name:e.name}})),i=oe.map((function(e){return{name:e,preferenceType:Lc.keyword.toString()}})),c=[].concat(Object(ee.a)(a),Object(ee.a)(r),Object(ee.a)(i)),me(t.marketPreferences,c)||t.preferenceFilterType!==y||fe(t.keywords,i)){e.next=6;break}return e.abrupt("return");case 6:return e.next=8,V.a.put(Object(L.f)("/api/pipeline/".concat(n,"/marketpreference"),{useDedicatedEnvironment:!0}),c,N).then((function(e){})).catch((function(e){console.error(e.response.data),w.current.show({severity:"error",summary:"Error saving info"})}));case 8:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),Oe=function(){var e=Object(d.a)(l.a.mark((function e(){var a;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(a=K.map((function(e){return 0===Object.keys(P).length?{publicUserId:e.publicUserId.toUpperCase(),role:"View only"===e.userRole||"Member"===e.userRole||null===e.userRole?"Member":"Admin"}:{publicUserId:e.publicUserId.toUpperCase(),role:P[e.firstName]}})),""!==b){e.next=4;break}return w.current.show({severity:"error",summary:"The title is required"}),e.abrupt("return");case 4:return e.next=6,V.a.put(Object(L.f)("/api/pipeline/".concat(t.id),{useDedicatedEnvironment:!0}),{Name:b,Description:O,BusinessForecastCustomColumnName:"Internal ID",ContractCustomColumnName:"Internal ID",GrantCustomColumnName:"Internal ID",Users:a,PreferenceFilterType:y},N).then(function(){var e=Object(d.a)(l.a.mark((function e(a){return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,he(t.id).finally((function(){var e,a=J.concat(ne),r={};if(r.name=b,r.description=O,r.pipelineUserRole=t.pipelineUserRole,r.id=t.id,r.users=K,r.marketPreferences=a,r.createdByCognitoId=t.createdByCognitoId,r.preferenceFilterType=t.preferenceFilterType,i(r.users),q(r.users),E.location.state){var c=r;E.replace(Object(u.a)(Object(u.a)({},E.location),{},{state:c}))}w.current.show({severity:"success",summary:"Pipeline has been edited"}),window.location.replace(window.location.href),null===(e=n.current)||void 0===e||e.hide()}));case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()).catch((function(e){console.error(e),w.current.show({severity:"error",summary:"Error saving edits"})}));case 6:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),ge=Object(a.useCallback)(function(){var e=Object(d.a)(l.a.mark((function e(t){return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:i(t),q(t);case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),[]),xe=function(e,t){var n=t.filter((function(t){return t.publicUserId!==e.publicUserId}));q(n),F.includes(e)||k([e].concat(Object(ee.a)(F)))},ve=t.marketPreferences.filter((function(e){return e.preferenceType===Lc.country.toString()})),Ce=t.marketPreferences.filter((function(e){return e.preferenceType!==Lc.country.toString()})),Ae=oe.map((function(e){return{name:e,preferenceType:Lc.keyword.toString()}})),Ee=function(e,t){if(e.length!==t.length)return!0;var n=!1;return e.forEach((function(e){t.find((function(t){return t.email==e.email}))||(n=!0)})),n}(K,B)||t.name!==b||t.description!==O||t.preferenceFilterType!==y||me(ve,J)||me(Ce,ne)||fe(t.keywords,Ae);var De=r.a.useState([]),Fe=Object(o.a)(De,2),ke=(Fe[0],Fe[1]);r.a.useEffect((function(){V.a.get(Object(L.f)("/api/organization/admin",{useDedicatedEnvironment:!0}),Object(L.c)(A)).then((function(e){var t=e.data;ke(t)}))}),[]);var Te=K.find((function(e){return e.publicUserId.toLowerCase()===t.createdByCognitoId})),Re=function(e){return e?e.toLocaleLowerCase():""},Pe=function(e){switch(e){case"Admin":return"Can manage";default:return"View only"}},Me=["View only","Can manage"];return Object(S.jsx)(S.Fragment,{children:Object(S.jsxs)(de.TabView,{children:[Object(S.jsx)(de.TabPanel,{header:"Details",children:Object(S.jsx)("div",{className:"p-grid text-labels",children:Object(S.jsxs)("div",{className:"p-col-12",style:{textAlign:"left"},children:[Object(S.jsxs)("div",{className:"p-col-12",children:[Object(S.jsx)(Yc,{htmlFor:"Title",children:"Title*"}),Object(S.jsx)(ce.InputText,{placeholder:"Title",className:"field-inputs",defaultValue:b,onChange:function(e){e.preventDefault(),m(e.target.value)},style:{marginTop:8}})]}),Object(S.jsxs)("div",{className:"p-col-12",children:[Object(S.jsx)(Yc,{className:"field-titles",htmlFor:"Message",children:"Description"}),Object(S.jsx)(ue.InputTextarea,{defaultValue:O||t.description,placeholder:"",style:{width:"100%",marginTop:8},rows:5,cols:40,onChange:function(e){return g(e.target.value)}})]}),M?null:Object(S.jsxs)("div",{className:"p-col-12",children:[Object(S.jsx)(Yc,{className:"field-titles",htmlFor:"users",children:"Share With"}),Object(S.jsx)(pe.MultiSelect,{optionLabel:"label",filter:!0,style:Object(u.a)(Object(u.a)({},Gc.multiSelect),{},{marginTop:8}),placeholder:" share with",fixedPlaceholder:!0,value:K.map((function(e){return{firstName:e.firstName||e.lastName?e.firstName:e.email,lastName:e.lastName,publicUserId:e.publicUserId.toLowerCase(),email:e.email,pipelineUserRole:e.pipelineUserRole,label:e.label}})),options:F.map((function(e){var t,n=K.find((function(t){return e.publicUserId.toLowerCase()===t.publicUserId.toLowerCase()}));return{firstName:e.firstName||e.lastName?e.firstName:e.email,lastName:e.lastName,publicUserId:e.publicUserId.toLowerCase(),email:e.email,pipelineUserRole:n?null!==(t=e.pipelineUserRole)&&void 0!==t?t:n.pipelineUserRole:"Member",label:e.label}})).filter((function(e){return e.publicUserId!==t.createdByCognitoId})),itemTemplate:function(e){var t;return Object(S.jsxs)("div",{className:"inner-list",children:[Ne(e.firstName||e.lastName?e.firstName:e.email)," ",Ne(null!==(t=e.lastName)&&void 0!==t?t:"")]},e.publicUserId)},onChange:function(e){return ge(e.value)}}),Object(S.jsx)("div",{style:Gc.chipsContainer,children:K.filter((function(e){return e.publicUserId.toLowerCase()!==t.createdByCognitoId})).map((function(e,t){var n;return Object(S.jsx)(be.a,{label:Ne(e.firstName&&e.lastName?e.firstName:e.email)+" "+Ne(null!==(n=e.lastName)&&void 0!==n?n:" "),onIconClick:function(){return xe(e,K)}},t)}))})]}),Object(S.jsxs)("div",{className:"p-col-12",children:[Object(S.jsx)("label",{children:"Preferences"}),Object(S.jsx)("div",{children:Object(S.jsxs)("div",{children:[Object(S.jsx)("div",{className:"p-col-12",children:Object(S.jsx)(ye,{pipelineId:t.id,GetSelectedCountries:function(e){_(e)},GetSelectedSectors:function(e){ae(e)},preferenceFType:t.preferenceFilterType,GetSelectedKeywords:function(e){je(e)},keywords:t.keywords,marketPreferences:[].concat(Object(ee.a)(J),Object(ee.a)(ne)),GetPreferenecFilterType:function(e){C(e)},disabled:!1})}),Object(S.jsx)("div",{className:"p-col-12",children:Object(S.jsx)("div",{className:"pipeline-save-button",children:Object(S.jsx)(we,{disabled:!Ee,as:le.Button,delay:5e3,className:"modal-button",label:"Save",onClick:Oe})})})]})})]})]})})}),Object(S.jsxs)(de.TabPanel,{header:"Privacy",contentStyle:{textAlign:"left"},children:[Object(S.jsxs)("div",{className:"field-radiobutton text-labels",children:[Object(S.jsx)(Se.RadioButton,{style:{},inputId:"private",name:"private",checked:K.filter((function(e){var n;return(null===(n=A.user.parsedIdToken)||void 0===n?void 0:n.sub.toLowerCase())!==t.createdByCognitoId||e.publicUserId.toLowerCase()!==t.createdByCognitoId})).length<1,value:"private"}),Object(S.jsx)("label",{style:{paddingLeft:"5px",fontWeight:600},htmlFor:"private",children:"Private"}),Object(S.jsx)("p",{className:"radio-button-info",children:"Used for personal pipeline opportunities tracking"})]}),Object(S.jsxs)("div",{className:"field-radiobutton text-labels",children:[Object(S.jsx)(Se.RadioButton,{inputId:"public",name:"public",checked:K.filter((function(e){var n;return(null===(n=A.user.parsedIdToken)||void 0===n?void 0:n.sub.toLowerCase())!==t.createdByCognitoId||e.publicUserId.toLowerCase()!==t.createdByCognitoId})).length>=1,value:"public"}),Object(S.jsx)("label",{style:{fontSize:"16px",paddingLeft:"5px",fontWeight:600},htmlFor:"private",children:"Shared"}),Object(S.jsxs)("p",{className:"radio-button-info",children:[" ","Multiple users can manage pipeline opportunities"]})]}),Object(S.jsxs)("div",{className:"pipeline-user-label",children:[Object(S.jsx)("label",{style:{fontSize:"16px",marginTop:"10px"},className:"field-titles",htmlFor:"pipeline members",children:"Pipeline Members"}),Object(S.jsx)("div",{className:"shared-with-total",children:"Shared with "+K.filter((function(e){return e.publicUserId.toLowerCase()!==t.createdByCognitoId})).length+" Member"+(2!==K.filter((function(e){return e.publicUserId.toLowerCase()!==t.createdByCognitoId})).length?"s":"")})]}),Object(S.jsxs)("div",{className:"p-grid text-labels",children:[Te&&Object(S.jsxs)(S.Fragment,{children:[Object(S.jsxs)("div",{style:{position:"relative",display:"flex",justifyContent:"space-between",alignItems:"center",width:"100%"},children:[Object(S.jsx)("div",{className:"pipeline-members",children:Object(S.jsx)("div",{children:Object(S.jsx)("p",{style:{width:"200px"},children:Object(S.jsxs)("strong",{children:[Re(Te.firstName)," ",Re(Te.lastName)]})})})}),Object(S.jsx)("div",{className:"pipeline-members privacy",children:Object(S.jsx)("span",{className:"owner",children:"Owner"})})]}),Object(S.jsx)(zc,{})]}),r.a.Children.toArray(K.filter((function(e){return(null===Te||void 0===Te?void 0:Te.publicUserId.toLowerCase())!==t.createdByCognitoId||e.publicUserId.toLowerCase()!==t.createdByCognitoId})).map((function(e){var t;return Object(S.jsxs)(S.Fragment,{children:[Object(S.jsxs)("div",{style:{position:"relative",display:"flex",justifyContent:"space-between",alignItems:"center",width:"100%"},children:[Object(S.jsxs)("div",{className:"pipeline-members",children:["Admin"===e.pipelineUserRole&&Object(S.jsxs)("div",{children:[Object(S.jsx)("p",{style:{width:"200px"},children:Object(S.jsxs)("strong",{children:[Re(e.firstName)," ",Re(e.lastName)]})}),Object(S.jsx)("span",{style:{width:200},children:e.email})]}),"Admin"!==e.pipelineUserRole&&Object(S.jsxs)("div",{children:[Object(S.jsx)("p",{children:Object(S.jsxs)("strong",{children:[Re(e.firstName)," ",Re(e.lastName)]})}),Object(S.jsx)("span",{style:{width:200,lineBreak:"anywhere"},children:e.email})]})]}),Object(S.jsx)("div",{className:"pipeline-members privacy",children:Object(S.jsx)(Ie.Dropdown,{optionLabel:"role",placeholder:Pe(e.pipelineUserRole),disabled:(null===(t=A.user.parsedIdToken)||void 0===t?void 0:t.sub.toLocaleLowerCase())===e.publicUserId.toLowerCase()&&"Member"===e.pipelineUserRole,value:e.userRole,options:Me,valueTemplate:function(t){return null===t?Pe(e.pipelineUserRole):t},itemTemplate:function(e){return e},onChange:function(t){return function(e,t){var n=K.map((function(n){return e===n.publicUserId?Object(u.a)(Object(u.a)({},n),{},{userRole:t}):n}));z(K),q(n)}(e.publicUserId,t.value)},style:{width:175}})}),"Admin"!==Q?null:Object(S.jsx)("div",{onClick:function(){return xe(e,K)},className:"member-close-button",children:"X"})]}),Object(S.jsx)(zc,{})]})}))),Object(S.jsx)("div",{className:"p-col-12",children:Object(S.jsx)("div",{className:"pipeline-save-button",children:Object(S.jsx)(we,{disabled:!Ee,as:le.Button,delay:5e3,className:"modal-button",label:"Save",onClick:Oe})})})]})]})]})})},eo=te.a.div({zIndex:1e4,top:"1px !important",left:"0px"}),to=function(){var e=r.a.useContext(j.d),t=Object(a.useContext)(se.a),n=Object(p.h)(),i=Object(p.g)(),c=Object(ie.a)(),s=r.a.useState(n.state),m=Object(o.a)(s,2),f=m[0],h=m[1],O=r.a.useState(!1),g=Object(o.a)(O,2),x=g[0],v=g[1],y=Object(a.useRef)(null),C=r.a.useState(!1),A=Object(o.a)(C,2),w=A[0],N=(A[1],r.a.useState(!1)),E=Object(o.a)(N,2),I=E[0],D=(E[1],window.location.pathname.split("/")),F=parseInt(D[D.length-1]);r.a.useEffect((function(){!function(n){V.a.get(Object(L.f)("/api/pipeline/".concat(n),{useDedicatedEnvironment:!0}),Object(L.c)(e)).then((function(e){var t=e.data,n="Admin"===t.pipelineUserRole;v(n),h(t)})).catch((function(e){e&&t.current&&(t.current.show({severity:"error",summary:"You don't have access to this pipeline, contact your AidKonekt organization admin for details"}),i.replace("/pipeline"))}))}(F)}),[]);var k=Object(a.useRef)(null),T=r.a.useState(new Date),R=Object(o.a)(T,2),P=R[0],M=R[1],U=r.a.useState(new Date),B=Object(o.a)(U,2),Q=B[0],W=B[1],H=r.a.useState(!1),z=Object(o.a)(H,2),Y=z[0],G=z[1],K=function(){var n=Object(d.a)(l.a.mark((function n(){var a,r,i,c;return l.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return G(!0),n.prev=1,n.next=4,V.a.get(Object(L.f)("/api/user/profile",{useDedicatedEnvironment:!0}),Object(L.b)(e));case 4:return a=n.sent,r=a.data,i=r.firstName,c=r.lastName,n.next=10,Object(De.c)(e,null!==Q&&void 0!==Q?Q:new Date,null!==P&&void 0!==P?P:new Date,[F],"".concat(i," ").concat(c));case 10:n.next=16;break;case 12:n.prev=12,n.t0=n.catch(1),console.error(n.t0),t.current.show({severity:"error",summary:"Unable to download pipelines"});case 16:return n.prev=16,G(!1),n.finish(16);case 19:case"end":return n.stop()}}),n,null,[[1,12,16,19]])})));return function(){return n.apply(this,arguments)}}();return Object(S.jsxs)("div",{className:"pipeline-details-main",children:[Object(S.jsx)("div",{className:"pipeline-details-pipelines",children:Object(S.jsxs)(b.b,{to:"/pipeline",children:[Object(S.jsx)("i",{className:"pi pi-arrow-left"}),"View All Pipelines"]})}),Object(S.jsxs)("div",{className:"pipeline-detail-container",children:[Object(S.jsxs)("div",{className:"pipeline-header",children:[Object(S.jsxs)("div",{style:{display:"flex",alignItems:"center"},children:[Object(S.jsx)("img",{src:Hc.default,alt:"Aidkonekt Icon",style:{height:"25px",width:"auto"}}),"\xa0",Object(S.jsx)("span",{className:"pipeline-title",children:null===f||void 0===f?void 0:f.name}),Object(S.jsx)("span",{})]}),Object(S.jsx)("p",{className:"header-pipeline",children:null===f||void 0===f?void 0:f.description})]}),Object(S.jsxs)("div",{className:"pipeline-buttons",children:[Object(S.jsx)(Fe.Button,{type:"button",icon:"pi pi-file-excel",iconPos:"left",onClick:function(e){var t;W(new Date),M(new Date),null===(t=k.current)||void 0===t||t.toggle(e)},tooltip:"Excel",tooltipOptions:{position:"top"},style:Object(u.a)({marginLeft:15,marginRight:15},c.tableHeaderButton)}),x&&Object(S.jsx)(S.Fragment,{children:Object(S.jsx)(le.Button,{onClick:function(e){var t;null===(t=y.current)||void 0===t||t.toggle(e)},style:{marginRight:"6px",fontSize:"13px"},className:"modal-button",label:"Share Pipeline"})})]})]}),Object(S.jsx)(Wc,{id:F,isPipelineOwner:x}),Object(S.jsx)(ke.a,{utils:Re.a,children:Object(S.jsx)(eo,{children:Object(S.jsxs)(oe.OverlayPanel,{ref:k,style:{width:"390px",display:"flex !important"},className:"side-panel-downloadopportunities details",children:[Object(S.jsxs)("div",{children:[Object(S.jsx)("p",{children:"From:"}),Object(S.jsx)(Te.a,{disableToolbar:!0,variant:"inline",format:"MM/dd/yyyy",value:null!==P&&void 0!==P?P:new Date,onError:function(e){return null},onChange:function(e){return M(e)},style:{marginLeft:10},KeyboardButtonProps:{"aria-label":"change date"}})]}),Object(S.jsxs)("div",{children:[Object(S.jsx)("p",{children:"To:"}),Object(S.jsx)(Te.a,{disableToolbar:!0,variant:"inline",format:"MM/dd/yyyy",value:null!==Q&&void 0!==Q?Q:new Date,onError:function(e){return null},onChange:function(e){return W(e)},style:{marginLeft:10},KeyboardButtonProps:{"aria-label":"change date"}})]}),Object(S.jsx)(le.Button,{disabled:Y,onClick:K,className:"button-downloadopportunities",label:"Download"})]})})}),Object(S.jsx)(oe.OverlayPanel,{ref:y,showCloseIcon:!0,id:"overlay_panel",style:{left:"none",right:"0px !important"},children:Object(S.jsx)("div",{className:"side-panel-container",children:Object(S.jsxs)("div",{style:{width:"535px",height:"107vh"},children:[Object(S.jsx)("div",{className:"side-panel-header",children:Object(S.jsx)(ae.a,{text:null===f||void 0===f?void 0:f.name})}),Object(S.jsx)("div",{className:"tabview",children:Object(S.jsx)("div",{children:Object(S.jsx)($c,{divRef:y,pipelines:f,toggleEdits:w,toggleViewMode:I})})})]})})})]})},no=(n(1327),n(196)),ao=n(246),ro=n(1483),io=n(1504),co=n(452),oo=n.n(co),so=n(453),lo=function(){var e,t,a,i,c,s,l,d,u,m,f,h,O,g,x=Object(ie.a)(),v=Object(p.h)(),y=new URLSearchParams(v.search),C=r.a.useContext(j.d),A=r.a.useState({awardMechanism:"",awardingAgencyName:"",awardingOffice:"",country:"",createdOnUtc:"",currentAmount:void 0,currentEndDate:null,implementer:"",isForeignAssistance:!1,isMyProject:!1,naicsCode:"",obligatedAmount:void 0,parentIDVAgencyName:"",potentialAmount:void 0,potentialEndDate:null,projectDescription:"",projectName:"",projectNumber:"",recipientAddress:"",setAside:"",startDate:null,subawardRecipients:"",uniqueAwardId:""}),w=Object(o.a)(A,2),N=w[0],E=w[1],I=r.a.useState(Array()),D=Object(o.a)(I,2),F=D[0],k=D[1],T=r.a.useRef(null),R=null!==(e=y.get("projectNumber"))&&void 0!==e?e:"",P=JSON.parse(null!==(t=y.get("fa"))&&void 0!==t?t:"");r.a.useEffect((function(){if(R&&null!==P){var e=P?"/api/ForeignAssistance":"/api/usaspending",t=Object(L.b)(C);V.a.get(Object(L.f)("".concat(e,"?projectNumber=").concat(R,"&pageIndex=0&pageSize=20&sortField=").concat(P?"UpdatedOnUtc":"lastUpdatedDate","&sortOrder=-1"),{useDedicatedEnvironment:!0}),t).then((function(e){var t=e.data;if(P){var n={isMyProject:t.data[0].isMyProject,country:t.data[0].country,uniqueAwardId:t.data[0].activityId.toString(),projectNumber:t.data[0].projectNumber,projectName:t.data[0].projectName,projectDescription:t.data[0].projectDescription,implementer:t.data[0].implementer,subawardRecipients:"",awardMechanism:"",awardingAgencyName:t.data[0].technicalSector,awardingOffice:"",parentIDVAgencyName:"",naicsCode:"",startDate:t.data[0].activityStartDate,currentEndDate:t.data[0].activityEndDate,potentialEndDate:"",obligatedAmount:t.data[0].obligations,currentAmount:t.data[0].disbursements,potentialAmount:t.data[0].obligations,recipientAddress:"",createdOnUtc:t.data[0].updatedOnUtc,setAside:""};E(n)}else E(t.data[0])})),Object(Fr.a)("/api/usaspending/dropdownoptions/mechanism",k,C,"error fetching available mechanisms",!1,!0)}}),[]),N.startDate=Object(ot.f)(null===N||void 0===N?void 0:N.startDate),N.currentEndDate=Object(ot.f)(null===N||void 0===N?void 0:N.currentEndDate),N.potentialEndDate=Object(ot.f)(null===N||void 0===N?void 0:N.potentialEndDate),N.createdOnUtc=Object(ot.f)(N.createdOnUtc);var M=r.a.useState(0),U=Object(o.a)(M,2),B=U[0],Q=U[1],W=r.a.useState(!1),H=Object(o.a)(W,2),z=H[0],Y=H[1],G=Object(Qt.a)(new Date,"MMMM dd yyyy"),K=N.currentEndDate&&Object(no.a)(new Date(N.currentEndDate),new Date),q=N.currentEndDate&&Object(no.a)(new Date(N.currentEndDate),Object(ao.a)(new Date,1)),X=function(){var e=T.current;e?oo()(e).then((function(t){var n,a=t.toDataURL("image/png"),r=new so.a("album","px",[e.clientWidth,e.clientHeight]),i=r.internal.pageSize.getWidth(),c=r.internal.pageSize.getHeight();r.addImage(a,"PNG",0,0,i,c),r.save("".concat(null!==(n=N.projectName)&&void 0!==n?n:"project",".pdf"))})).finally((function(){return Y(!1)})):Y(!1)},Z=function(e){B!==e&&Q(e)},J=function(e){return e.split("||")},_=function(e){var t=F?F.find((function(t){return t.key==e})):null;return t?t.value:""};return N.projectNumber?Object(S.jsxs)("div",{ref:T,className:"usaid-details-container",children:[Object(S.jsxs)("div",{className:"usaid-details-header",children:[Object(S.jsxs)("div",{className:"usaid-details-header-back",children:[!z&&Object(S.jsx)(b.b,{to:"/projects",children:Object(S.jsxs)("button",{children:[Object(S.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"18px",height:"18px",children:Object(S.jsx)("path",{d:"M 12 2.0996094 L 1 12 L 4 12 L 4 21 L 11 21 L 11 15 L 13 15 L 13 21 L 20 21 L 20 12 L 23 12 L 12 2.0996094 z M 12 4.7910156 L 18 10.191406 L 18 11 L 18 19 L 15 19 L 15 13 L 9 13 L 9 19 L 6 19 L 6 10.191406 L 12 4.7910156 z"})}),Object(S.jsx)("span",{children:"Projects"})]})}),Object(S.jsx)("div",{className:"usaid-details-logo-container",children:Object(S.jsx)("img",{src:n(506).default,className:"usaid-details-logo"})})]}),Object(S.jsx)("div",{className:"spacer"}),!z&&Object(S.jsx)("div",{className:"usaid-details-download-container",children:Object(S.jsxs)("button",{onClick:function(){Y(!0),setTimeout(X,0)},children:[Object(S.jsx)("svg",{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:Object(S.jsx)("path",{d:"M13.0002 8.3335C12.8234 8.3335 12.6538 8.40373 12.5288 8.52876C12.4037 8.65378 12.3335 8.82335 12.3335 9.00016V11.6668C12.3335 11.8436 12.2633 12.0132 12.1382 12.1382C12.0132 12.2633 11.8436 12.3335 11.6668 12.3335H2.3335C2.15669 12.3335 1.98712 12.2633 1.86209 12.1382C1.73707 12.0132 1.66683 11.8436 1.66683 11.6668V9.00016C1.66683 8.82335 1.59659 8.65378 1.47157 8.52876C1.34654 8.40373 1.17697 8.3335 1.00016 8.3335C0.823352 8.3335 0.653782 8.40373 0.528758 8.52876C0.403734 8.65378 0.333496 8.82335 0.333496 9.00016V11.6668C0.333496 12.1973 0.54421 12.706 0.919283 13.081C1.29436 13.4561 1.80306 13.6668 2.3335 13.6668H11.6668C12.1973 13.6668 12.706 13.4561 13.081 13.081C13.4561 12.706 13.6668 12.1973 13.6668 11.6668V9.00016C13.6668 8.82335 13.5966 8.65378 13.4716 8.52876C13.3465 8.40373 13.177 8.3335 13.0002 8.3335ZM6.52683 9.4735C6.59023 9.53419 6.665 9.58177 6.74683 9.6135C6.82663 9.64877 6.91292 9.66698 7.00016 9.66698C7.08741 9.66698 7.1737 9.64877 7.2535 9.6135C7.33533 9.58177 7.41009 9.53419 7.4735 9.4735L10.1402 6.80683C10.2657 6.68129 10.3362 6.51103 10.3362 6.3335C10.3362 6.15596 10.2657 5.9857 10.1402 5.86016C10.0146 5.73463 9.84436 5.6641 9.66683 5.6641C9.4893 5.6641 9.31903 5.73463 9.1935 5.86016L7.66683 7.3935V1.00016C7.66683 0.823352 7.59659 0.653782 7.47157 0.528758C7.34654 0.403734 7.17697 0.333496 7.00016 0.333496C6.82335 0.333496 6.65378 0.403734 6.52876 0.528758C6.40373 0.653782 6.3335 0.823352 6.3335 1.00016V7.3935L4.80683 5.86016C4.74467 5.798 4.67088 5.7487 4.58966 5.71506C4.50845 5.68142 4.4214 5.6641 4.3335 5.6641C4.24559 5.6641 4.15854 5.68142 4.07733 5.71506C3.99612 5.7487 3.92232 5.798 3.86016 5.86016C3.798 5.92232 3.7487 5.99612 3.71506 6.07733C3.68142 6.15854 3.6641 6.24559 3.6641 6.3335C3.6641 6.4214 3.68142 6.50845 3.71506 6.58966C3.7487 6.67088 3.798 6.74467 3.86016 6.80683L6.52683 9.4735Z",fill:"white"})}),Object(S.jsx)("span",{children:"Download PDF"})]})}),Object(S.jsxs)("div",{className:"usaid-details-header-info",children:[Object(S.jsxs)("span",{className:"usaid-details-label",children:["Project number: ",Object(S.jsx)("b",{children:N.projectNumber})]}),Object(S.jsxs)("div",{className:"usaid-details-name-container",children:[K?Object(S.jsx)("div",{className:"usaid-details-status closed",children:Object(S.jsx)("span",{children:"Closed"})}):Object(S.jsx)("div",{className:"usaid-details-status",children:Object(S.jsx)("span",{children:"Active"})}),Object(S.jsx)("span",{className:"usaid-details-name",children:null!==(a=N.projectName)&&void 0!==a?a:"N/A"})]}),Object(S.jsxs)("div",{className:"usaid-details-header-data-container",children:[Object(S.jsxs)("div",{className:"usaid-details-header-data-container-left-side",children:[Object(S.jsxs)("span",{className:"usaid-details-label",children:["Implementer: ",Object(S.jsx)("b",{children:null!==(i=N.implementer)&&void 0!==i?i:"N/A"})]}),P?Object(S.jsxs)("span",{className:"usaid-details-label",children:["Technical sector: ",Object(S.jsx)("b",{children:null!==(c=N.awardingAgencyName)&&void 0!==c?c:"N/A"})]}):Object(S.jsxs)("span",{className:"usaid-details-label",children:["Awarding mechanism:"," ",Object(S.jsx)("b",{children:N.awardMechanism?_(N.awardMechanism):"N/A"})]}),Object(S.jsxs)("span",{className:"usaid-details-label",children:["Country: ",Object(S.jsx)("b",{children:null!==(s=N.country)&&void 0!==s?s:"N/A"})]}),Object(S.jsxs)("span",{className:"usaid-details-label",children:["Obligated Amount:",N.obligatedAmount?Object(S.jsxs)("b",{children:[" ",pc.a.format(Math.round(N.obligatedAmount))]}):Object(S.jsx)("b",{children:"N/A"})]})]}),Object(S.jsxs)("span",{className:"usaid-details-label",children:[" ","Up to date as of ",Object(S.jsx)("b",{children:G})]})]})]}),Object(S.jsxs)("div",{className:"usaid-details-tab-selector-container",children:[Object(S.jsx)("button",{className:"usaid-details-tab-selector ".concat(0===B?"active":""),onClick:function(){return Z(0)},children:Object(S.jsx)("span",{children:"Project Description"})}),!P&&Object(S.jsx)("button",{className:"usaid-details-tab-selector ".concat(1===B?"active":""),onClick:function(){return Z(1)},children:Object(S.jsx)("span",{children:"Sub-awardees"})})]})]}),Object(S.jsxs)("div",{className:"usaid-details-body",children:[Object(S.jsx)("div",{className:"usaid-details-body-left-side",children:0===B?Object(S.jsxs)(S.Fragment,{children:[Object(S.jsxs)("div",{className:"usaid-details-body-container no-border",children:[Object(S.jsxs)("div",{className:"usaid-details-body-label-container",children:[Object(S.jsx)("img",{src:x.aidkonektIcon}),Object(S.jsx)("span",{children:"Project Description"})]}),Object(S.jsx)("span",{className:"usaid-details-body-data",children:null!==(l=N.projectDescription)&&void 0!==l?l:"N/A"})]}),!P&&Object(S.jsxs)("div",{className:"usaid-details-body-container",children:[Object(S.jsxs)("div",{className:"usaid-details-body-label-container",children:[Object(S.jsx)("img",{src:x.aidkonektIcon}),Object(S.jsx)("span",{children:"Award Details"})]}),Object(S.jsxs)("div",{className:"usaid-details-body-data-row",children:[Object(S.jsx)("span",{className:"usaid-details-body-data",children:"Award Mechanism"}),Object(S.jsx)("span",{className:"usaid-details-body-data-value",children:N.awardMechanism?_(N.awardMechanism):"N/A"})]}),Object(S.jsxs)("div",{className:"usaid-details-body-data-row",children:[Object(S.jsx)("span",{className:"usaid-details-body-data",children:"Agency Name"}),Object(S.jsx)("span",{className:"usaid-details-body-data-value",children:null!==(d=N.awardingAgencyName)&&void 0!==d?d:"N/A"})]}),Object(S.jsxs)("div",{className:"usaid-details-body-data-row no-border",children:[Object(S.jsx)("span",{className:"usaid-details-body-data",children:"Awarding Office"}),Object(S.jsx)("span",{className:"usaid-details-body-data-value",children:null!==(u=N.awardingOffice)&&void 0!==u?u:"N/A"})]})]}),Object(S.jsxs)("div",{className:"usaid-details-body-container",children:[Object(S.jsxs)("div",{className:"usaid-details-body-label-container",children:[Object(S.jsx)("img",{src:x.aidkonektIcon}),Object(S.jsx)("span",{children:"Implementer Details"})]}),Object(S.jsxs)("div",{className:"usaid-details-body-data-row".concat(P?" no-border":""),children:[Object(S.jsx)("span",{className:"usaid-details-body-data",children:"Name"}),Object(S.jsx)("span",{className:"usaid-details-body-data-value",children:null!==(m=N.implementer)&&void 0!==m?m:"N/A"})]}),!P&&Object(S.jsxs)("div",{className:"usaid-details-body-data-row no-border",children:[Object(S.jsx)("span",{className:"usaid-details-body-data",children:"Address"}),Object(S.jsx)("span",{className:"usaid-details-body-data-value",children:null!==(f=N.recipientAddress)&&void 0!==f?f:"N/A"})]})]})]}):Object(S.jsxs)("div",{className:"usaid-details-body-container",children:[Object(S.jsxs)("div",{className:"usaid-details-body-label-container",children:[Object(S.jsx)("img",{src:x.aidkonektIcon}),Object(S.jsx)("span",{children:"Subawards"})]}),N.subawardRecipients?J(N.subawardRecipients).map((function(e,t){return Object(S.jsx)("div",{className:"\n usaid-details-body-data-row \n ".concat(t+1===J(N.subawardRecipients).length?"no-border":"","\n "),children:Object(S.jsx)("span",{className:"usaid-details-body-data",children:e})})})):Object(S.jsx)("div",{className:" usaid-details-body-data-row no-border",children:Object(S.jsx)("span",{className:"usaid-details-body-data",children:"No subawards"})})]})}),Object(S.jsxs)("div",{className:"usaid-details-body-right-side",children:[Object(S.jsxs)("div",{className:"usaid-details-body-container",children:[Object(S.jsx)("div",{className:"project-progress-status",children:K?Object(S.jsx)("span",{className:"closed",children:"Closed"}):Object(S.jsx)("span",{children:"Active"})}),Object(S.jsxs)("div",{className:"usaid-details-body-label-container",children:[Object(S.jsx)("img",{src:x.aidkonektIcon}),Object(S.jsx)("span",{children:"Project Progress"})]}),Object(S.jsxs)("div",{className:"usaid-details-body-data-row",children:[Object(S.jsx)("span",{className:"usaid-details-body-data",children:"Remaining"}),Object(S.jsx)("span",{className:"usaid-details-body-data-value",children:N.currentEndDate?Object(ro.a)(new Date("".concat(N.currentEndDate,"Z")))?"Today":K?"N/A":q?"Less than a month":Object(io.a)(new Date,new Date(N.currentEndDate)):"N/A"})]}),Object(S.jsxs)("div",{className:"usaid-details-body-data-row",children:[Object(S.jsx)("span",{className:"usaid-details-body-data",children:"Start date"}),Object(S.jsx)("span",{className:"usaid-details-body-data-value",children:N.startDate&&!N.startDate.toString().includes("0001-01-01T00:00:00")?Object(Qt.a)(new Date(N.startDate),"dd/MM/yyyy"):"N/A"})]}),Object(S.jsxs)("div",{className:"usaid-details-body-data-row",children:[Object(S.jsx)("span",{className:"usaid-details-body-data",children:"Current end date"}),Object(S.jsx)("span",{className:"usaid-details-body-data-value",children:N.currentEndDate&&!N.currentEndDate.toString().includes("0001-01-01T00:00:00")?Object(Qt.a)(new Date(N.currentEndDate),"dd/MM/yyyy"):"N/A"})]}),!P&&Object(S.jsxs)("div",{className:"usaid-details-body-data-row",children:[Object(S.jsx)("span",{className:"usaid-details-body-data",children:"Potential end date"}),Object(S.jsx)("span",{className:"usaid-details-body-data-value",children:N.potentialEndDate&&!new Date(N.potentialEndDate).toISOString().startsWith("0")?Object(Qt.a)(new Date(N.potentialEndDate),"dd/MM/yyyy"):"N/A"})]}),Object(S.jsx)("div",{className:"spacer"}),Object(S.jsxs)("div",{className:"usaid-details-body-data-row",children:[Object(S.jsx)("span",{className:"usaid-details-body-data",children:"Obligated Amount"}),Object(S.jsx)("span",{className:"usaid-details-body-data-value",children:N.obligatedAmount?pc.a.format(N.obligatedAmount):"$0"})]}),Object(S.jsxs)("div",{className:"usaid-details-body-data-row",children:[Object(S.jsx)("span",{className:"usaid-details-body-data",children:P?"Disbursements":"Current Amount"}),Object(S.jsx)("span",{className:"usaid-details-body-data-value",children:N.currentAmount?pc.a.format(N.currentAmount):"$0"})]}),!P&&Object(S.jsxs)("div",{className:"usaid-details-body-data-row no-padding",children:[Object(S.jsx)("span",{className:"usaid-details-body-data",children:"Potential Amount"}),Object(S.jsx)("span",{className:"usaid-details-body-data-value",children:N.potentialAmount?pc.a.format(N.potentialAmount):"$0"})]})]}),!P&&Object(S.jsxs)("div",{className:"usaid-details-body-container",children:[Object(S.jsxs)("div",{className:"usaid-details-body-data-row",children:[Object(S.jsx)("span",{className:"usaid-details-body-data",children:"Parent IDV Agency Name"}),Object(S.jsx)("span",{className:"usaid-details-body-data-value",children:null!==(h=N.parentIDVAgencyName)&&void 0!==h?h:"N/A"})]}),Object(S.jsxs)("div",{className:"usaid-details-body-data-row",children:[Object(S.jsx)("span",{className:"usaid-details-body-data",children:"Set-Aside Type"}),Object(S.jsx)("span",{className:"usaid-details-body-data-value",children:null!==(O=N.setAside)&&void 0!==O?O:"N/A"})]}),Object(S.jsxs)("div",{className:"usaid-details-body-data-row no-padding",children:[Object(S.jsx)("span",{className:"usaid-details-body-data",children:"NAICS Code"}),Object(S.jsx)("span",{className:"usaid-details-body-data-value",children:null!==(g=N.naicsCode)&&void 0!==g?g:"N/A"})]})]})]})]}),Object(S.jsxs)("div",{className:"usaid-details-disclaimer",children:[Object(S.jsx)("span",{children:Object(S.jsx)("b",{children:"Disclaimer"})}),Object(S.jsx)("span",{children:"This report and data is based upon public information and data obtained from various public sources, the accuracy of which cannot be guaranteed. There may be inherent contradictions among various public data sets. AidKonekt makes no representation or warranty as to the accuracy of information provided. This is only intended as an information resource and not an advisory document. As with any information resource, it is your responsibility to determine the quality and credibility of information obtained, as well as the reasonableness of relying on such information for a particular use."})]})]}):Object(S.jsx)(Or.ProgressSpinner,{strokeWidth:"2",style:{color:"blue",width:156}})},uo=n(70),po=["children"],bo={section:null===(Kc=n(580))||void 0===Kc?void 0:Kc.default,keyword:null===(qc=n(352))||void 0===qc?void 0:qc.default,calendar:null===(Xc=n(353))||void 0===Xc?void 0:Xc.default},jo=[{value:"",label:"Search all IDIQ, LWA, and BPA data"},{value:"Idiq",label:"IDIQ"},{value:"Lwa",label:"LWA"},{value:"BPA",label:"BPA"}],mo=function(e){var t=e.loading,n=e.pagination,a=e.setPagination,i=e.vendorName,c=e.handleVendorNameChange,o=e.projectNumber,s=e.handleProjectNumberChange,l=e.getIDIQData,d=Object(ie.a)(),p=uo.f.ValueContainer,b=uo.f.Placeholder,j=function(e,t){a((function(n){return Object(u.a)(Object(u.a)({},n),{},Object(H.a)({},t,Object(ot.c)(e)))}))};return Object(S.jsxs)("div",{children:[Object(S.jsxs)("div",{className:"p-grid p-align-center",style:d.filters.notTopFilterRow,children:[Object(S.jsx)("div",{className:"p-col-fixed icon-col",children:Object(S.jsx)("img",{src:bo.section,alt:"map",style:d.icon})}),Object(S.jsx)("div",{className:"p-col",style:{textAlign:"left",display:"block"},children:Object(S.jsx)(nt.a,{components:{ValueContainer:function(e){var t=e.children,n=Object(Ce.a)(e,po);return Object(S.jsxs)(p,Object(u.a)(Object(u.a)({},n),{},{children:[Object(S.jsx)(b,Object(u.a)(Object(u.a)({},n),{},{isFocused:n.isFocused,children:n.selectProps.placeholder})),r.a.Children.map(t,(function(e){return e&&e.type!==b?e:null}))]}))}},isDisabled:t,placeholder:"IDIQ Type",isMulti:!1,onChange:function(e){var t,n=null!==(t=null===e||void 0===e?void 0:e.value)&&void 0!==t?t:"";a((function(e){return Object(u.a)(Object(u.a)({},e),{},{page_index:0,first:0,idiq_types:n})}))},options:jo,defaultValue:[jo.find((function(e){return e.value===n.idiq_types})),!0],styles:{container:function(e){return Object(u.a)(Object(u.a)({},e),{},{marginTop:"8px"})},valueContainer:function(e,t){return Object(u.a)(Object(u.a)({},e),{},{overflow:"visible"})},placeholder:function(e,t){return Object(u.a)(Object(u.a)({},e),{},{position:"absolute",top:t.hasValue||t.selectProps.inputValue?-15:"50%",transition:"top 0.1s, font-size 0.1s",fontSize:(t.hasValue||t.selectProps.inputValue)&&13})}}})})]}),Object(S.jsxs)("div",{className:"p-grid p-align-center",style:d.filters.notTopFilterRow,children:[Object(S.jsx)("div",{className:"p-col-fixed icon-col",children:Object(S.jsx)("img",{src:bo.keyword,alt:"search",style:d.icon})}),Object(S.jsx)("div",{className:"p-col",style:{textAlign:"left"},children:Object(S.jsx)(ce.InputText,{style:d.filters.inputBox,id:"search",type:"search",value:o,onChange:s,placeholder:"Search by Project Number",disabled:t,label:"Search by Project Number"})})]}),Object(S.jsxs)("div",{className:"p-grid p-align-center",style:d.filters.notTopFilterRow,children:[Object(S.jsx)("div",{className:"p-col-fixed icon-col",children:Object(S.jsx)("img",{src:bo.keyword,alt:"search",style:d.icon})}),Object(S.jsx)("div",{className:"p-col",style:{textAlign:"left"},children:Object(S.jsx)(ce.InputText,{style:d.filters.inputBox,id:"search",type:"search",value:i,onChange:c,placeholder:"Search by Prime holder / vendor name",disabled:t})})]}),Object(S.jsxs)("div",{className:"p-grid p-align-center",style:d.filters.notTopFilterRow,children:[Object(S.jsx)("div",{className:"p-col-fixed icon-col",children:Object(S.jsx)("img",{src:bo.calendar,alt:"map",style:d.icon})}),Object(S.jsxs)("div",{className:"p-col",style:{textAlign:"left",display:"flex"},children:[Object(S.jsxs)("label",{style:Object(u.a)({alignSelf:"center"},d.filters.inputTextLabel),children:["Project start date between"," "]}),Object(S.jsx)(Te.a,{disableToolbar:!0,variant:"inline",format:"MM/dd/yyyy",value:n.project_start_after,onError:function(e){},onChange:function(e){return j(e,"project_start_after")},style:{marginLeft:10},KeyboardButtonProps:{"aria-label":"change date"},disabled:t}),Object(S.jsxs)("label",{style:Object(u.a)({alignSelf:"center"},d.filters.inputTextLabel),children:[" ","and"," "]}),Object(S.jsx)(Te.a,{disableToolbar:!0,variant:"inline",format:"MM/dd/yyyy",value:n.project_start_before,onError:function(e){},onChange:function(e){return j(e,"project_start_before")},style:{marginLeft:10},KeyboardButtonProps:{"aria-label":"change date"},disabled:t})]})]}),Object(S.jsxs)("div",{className:"p-grid p-align-center",style:d.filters.notTopFilterRow,children:[Object(S.jsx)("div",{className:"p-col-fixed icon-col",children:Object(S.jsx)("img",{src:bo.calendar,alt:"map",style:d.icon})}),Object(S.jsxs)("div",{className:"p-col",style:{textAlign:"left",display:"flex"},children:[Object(S.jsxs)("label",{style:Object(u.a)({alignSelf:"center"},d.filters.inputTextLabel),children:["Project end date between"," "]}),Object(S.jsx)(Te.a,{disableToolbar:!0,variant:"inline",format:"MM/dd/yyyy",value:n.project_end_after,onError:function(e){},onChange:function(e){return j(e,"project_end_after")},style:{marginLeft:10},KeyboardButtonProps:{"aria-label":"change date"},disabled:t}),Object(S.jsxs)("label",{style:Object(u.a)({alignSelf:"center"},d.filters.inputTextLabel),children:[" ","and"," "]}),Object(S.jsx)(Te.a,{disableToolbar:!0,variant:"inline",format:"MM/dd/yyyy",value:n.project_end_before,onError:function(e){},onChange:function(e){return j(e,"project_end_before")},style:{marginLeft:10},KeyboardButtonProps:{"aria-label":"change date"},disabled:t})]})]}),Object(S.jsx)("div",{className:"p-grid",style:d.filters.notTopFilterRow,children:Object(S.jsx)("div",{className:"p-col",style:d.filters.searchButtonContainer,children:Object(S.jsx)(it.a,{style:d.filters.searchButton,onClick:l,children:Object(S.jsx)("div",{style:d.filters.searchButtonText,children:"Search"})})})})]})},fo=n(141),ho=te.a.div(Zc||(Zc=Object(fo.a)(["\n padding: 8px;\n ","\n"])),(function(e){return e.isClickable&&"cursor: pointer;"})),Oo=function(e){var t=e.item,n=e.contentParameterName,a=e.setModal,r=void 0===a?null:a,i=e.columnTitle,c=void 0===i?null:i,o=e.textLength,s=void 0===o?null:o,l=e.isDate,d=void 0!==l&&l;return Object(S.jsx)(ho,{isClickable:!!t[n]&&!!r,onClick:function(){return!!t[n]&&(null===r||void 0===r?void 0:r((function(e){var a;return Object(u.a)(Object(u.a)({},e),{},{title:null!==c&&void 0!==c?c:"",content:null!==(a=t[n])&&void 0!==a?a:"",isOpen:!0})})))},children:function(){var e,a=t[n];return a?s&&(null===a||void 0===a?void 0:a.length)>s?"".concat(d?null===(e=Object(ot.b)(a,ot.a.dd_MMMM_yyyy))||void 0===e?void 0:e.substring(0,s):null===a||void 0===a?void 0:a.substring(0,s),"..."):d?Object(ot.b)(a,ot.a.dd_MMMM_yyyy):a:""}()})},go={attributes:{},lastUpdatedUtc:"",pageIndex:0,pageSize:0,totalItems:0,data:[]},xo={idiq_types:"",page_index:0,rows_per_page:lt.b[0],first:0,vendor_name:"",project_number:"",project_start_before:Date.now(),project_start_after:null,project_end_before:null,project_end_after:Date.now(),sort_field:"",sort_order:1},vo={title:"",content:"",isOpen:!1},yo=function(){var e=Object(ie.a)(),t=Object(a.useContext)(j.d),n=Object(a.useState)(!1),r=Object(o.a)(n,2),i=r[0],c=r[1],s=Object(a.useState)(go),p=Object(o.a)(s,2),b=p[0],m=p[1],f=Object(a.useState)(xo),h=Object(o.a)(f,2),O=h[0],g=h[1],x=Object(a.useState)(vo),v=Object(o.a)(x,2),y=v[0],C=v[1],A=Object(a.useState)(""),w=Object(o.a)(A,2),N=w[0],E=w[1],I=Object(st.c)(N,0),D=Object(a.useState)(""),F=Object(o.a)(D,2),k=F[0],T=F[1],R=Object(st.c)(k,0),P=Object(a.useState)(!0),M=Object(o.a)(P,2),U=M[0],B=M[1],Q=Object(a.useState)(!1),W=Object(o.a)(Q,2),H=W[0],z=W[1],Y=function(e){var t=null;if(null!==e){var n=new Date(e);t="".concat(n.getMonth()+1,"-").concat(n.getDate(),"-").concat(n.getFullYear())}return t},G=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=(O.first,O.page_index),n=O.rows_per_page,a=O.project_start_before,r=O.project_start_after,i=O.project_end_before,c=O.project_end_after,o=O.vendor_name,s=O.idiq_types,l=O.project_number,d=O.sort_field,p=O.sort_order,b=Y(a),j=Y(r),m=Y(i),f=Y(c),h={idiq_types:s,page_index:t,rows_per_page:n,project_start_before:b,project_start_after:j,project_end_before:m,project_end_after:f,vendor_name:o,project_number:l,sort_field:d,sort_order:p};return Object(Gn.a)(Object(u.a)(Object(u.a)({},h),{},{project_start_before:null!==b&&void 0!==b?b:"",project_start_after:null!==j&&void 0!==j?j:"",project_end_before:null!==m&&void 0!==m?m:"",project_end_after:null!==f&&void 0!==f?f:""},e))},K=function(){var e=G();c(!0),V.a.get(Object(L.f)("/api/Utility/idiq".concat(e),{useDedicatedEnvironment:!0}),Object(L.b)(t)).then((function(e){m(Object(u.a)(Object(u.a)({},e.data),{},{pageIndex:O.page_index,pageSize:O.rows_per_page})),c(!1)})).catch((function(e){c(!1)}))},q=function(){var e=Object(d.a)(l.a.mark((function e(){var n,a;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=G({rows_per_page:1e3}),a=[],e.next=4,V.a.get(Object(L.f)("/api/Utility/idiq".concat(n),{useDedicatedEnvironment:!0}),Object(L.b)(t)).then((function(e){a=e.data.data})).catch((function(e){}));case 4:return e.abrupt("return",a);case 5:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),X=function(e){var t=[{name:"Contract"},{name:"Project Title"},{name:"Project Description"},{name:"Period of Perf. Start Date"},{name:"Period of Perf. End Date"},{name:"Prime holder / vendor name"}],n=[];if(0==e.length)n.push(Object(De.d)(t.length));else for(var a=0;a3&&void 0!==arguments[3]?arguments[3]:null;return(null===(a=Object.keys(e))||void 0===a?void 0:a.length)>0&&null!==r?n.map((function(e){return e[r]})).indexOf(e)===t:n.indexOf(e)===t},G=function(){var t=Object(d.a)(l.a.mark((function t(){return l.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return m(!0),t.next=3,V.a.get(Object(L.f)("/api/UsAid/dropdownoptions/aidCountry",{useDedicatedEnvironment:!0}),Object(L.c)(e)).then((function(e){T(e.data.map((function(e){return{value:e,label:e}}))),m(!1)})).catch((function(e){m(!1)}));case 3:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),K=function(){var t=Object(d.a)(l.a.mark((function t(){var n;return l.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return c(!0),n=Object(Gn.a)(Object(u.a)(Object(u.a)({country:O,document_text_keyword:C},H),{},{sort_field:"section_title",sort_order:1})),t.next=4,V.a.get(Object(L.f)("/api/utility/cdc".concat(n),{useDedicatedEnvironment:!0}),Object(L.c)(e)).then((function(e){var t,n,a=null!==(t=null===e||void 0===e||null===(n=e.data)||void 0===n?void 0:n.data)&&void 0!==t?t:[];z((function(t){var n;return Object(u.a)(Object(u.a)({},t),{},{totalItems:null===e||void 0===e||null===(n=e.data)||void 0===n?void 0:n.totalItems})}));a.length>0&&a.map((function(e){return new Date(e.created_on_utc)})).sort().reverse()[0].toString();var r=new Date(Object(ot.c)(new Date(2023,7,25,0,0,0)));if(B(r?Object(Qt.a)(r,"d MMMM yyyy"):null),0===(null===a||void 0===a?void 0:a.length))I({});else{var i=a.map((function(e){return e.section_title})).filter(Y),o=[];I(i.map((function(e){return{key:e,value:a.filter((function(t){return t.section_title===e})).map((function(e){return e.country})).filter(Y).map((function(t){return{key:t,value:a.filter((function(n){return n.country===t&&n.section_title===e})).map((function(n){return No.test(n.name)?o.includes(n.name.split(No)[0])?void 0:(o.push(n.name),{key:n.name.split(No)[0].replaceAll("(","").replaceAll(")","").replaceAll(",","").trim(),value:a.filter((function(a){return a.country===t&&a.section_title===e&&a.name.includes(n.name.split(No)[0])})).map((function(e){var t;return Object(u.a)(Object(u.a)({},e),{},{name:3===(null===(t=e.name.split(No))||void 0===t?void 0:t.length)?e.name.split(No)[1]:"".concat(e.name.split(No)[1]," - ").concat(e.name.split(No)[3])})}))}):{key:n.name,value:n}})).filter((function(e){return e})).reduce((function(e,t){return e[t.key]=t.value,e}),{})}})).reduce((function(e,t){return e[t.key]=t.value,e}),{})}})).reduce((function(e,t){return e[t.key]=t.value,e}),{}))}c(!1)})).catch((function(e){console.error(e),c(!1)}));case 4:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}();return Object(a.useEffect)((function(){K()}),[H.page_index,H.rows_per_page]),Object(a.useEffect)((function(){G()}),[]),Object(S.jsxs)("div",{className:"resources-screen",children:[Object(S.jsxs)("section",{className:"header",children:[Object(S.jsxs)("div",{className:"header-title",children:[Object(S.jsx)("img",{src:t.aidkonektIcon,style:t.icon,alt:"Aidkonekt",className:"formIcon"}),Object(S.jsx)("span",{children:"CDCS Repository"})]}),Object(S.jsx)("span",{className:"header-subtitle",children:"USAID Country Development Cooperation Strategy (CDCS) Repository"}),Object(S.jsxs)("span",{className:"header-description",children:["\u201cA Country Development Cooperation Strategy (CDCS) defines how a Mission will further the goal of ending the need for foreign assistance in a given country by articulating how and where it will build self-reliance with the country partner. Typically covering five years, the CDCS is essentially the strategic roadmap for how USAID will design and implement its projects and activities in a given country. The CDCS development process centers around a Mission's dialogue with USAID/Washington and with key local stakeholders, resulting in a series of milestones and deliverables. The Mission disseminates a public version of the strategy on USAID's public website.",Object(S.jsx)("br",{}),Object(S.jsx)("br",{}),"Listed below, please find the current list of approved CDCSs. Some CDCSs have been extended beyond the timeline noted on the cover sheet. A fact sheet with all dates is available here. The Agency anticipates most CDCSs will be completed on or about December 2020. Answers to frequently asked CDCS questions are here.\u201d - USAID",Object(S.jsx)("br",{}),Object(S.jsx)("br",{}),"Last updated: ",null!==M&&void 0!==M?M:"N/A"]})]}),Object(S.jsx)("section",{className:"cdcs-list-section",children:Object(S.jsxs)("div",{className:"cdcs-search-block",children:[Object(S.jsx)(nt.a,{styles:{container:function(e){return Object(u.a)(Object(u.a)({},e),{},{maxWidth:"300px",width:"100%"})},control:function(e){return Object(u.a)(Object(u.a)({},e),{},{padding:"4px 7px",marginRight:"20px",border:"3px solid #999999",borderRadius:"8px",outline:"none"})},placeholder:function(e){return Object(u.a)(Object(u.a)({},e),{},{color:"#999999",fontSize:"14px",fontWeight:400})}},options:k,onChange:function(e){g(e?e.value:"")},isClearable:!0,isLoading:b}),Object(S.jsx)("input",{type:"text",placeholder:"Keywords",onChange:function(e){return A(e.currentTarget.value)}}),Object(S.jsx)("button",{type:"button",className:"card-btn aid-blu-btn",onClick:K,children:"Search"})]})}),Object(S.jsx)("div",{className:"country-list",children:i?Object(S.jsx)(Or.ProgressSpinner,{}):Object.entries(E).length>0?Object.entries(E).map((function(e){var t=Object(o.a)(e,2),n=t[0],r=t[1];return Object(S.jsxs)(a.Fragment,{children:[Object(S.jsx)("div",{className:"list-title-block",children:Object(S.jsx)("h3",{className:"list-title",children:n})}),Object(S.jsx)("ul",{children:Object.entries(r).map((function(e){var t,n,r=Object(o.a)(e,2),i=r[0],c=r[1];return Object(S.jsx)(a.Fragment,{children:Object(S.jsx)("li",{className:1!==(null===(t=Object.keys(c))||void 0===t?void 0:t.length)||Array.isArray(Object.values(c)[0])||Object.values(c)[0].name!==i?"list-item-with-children":"list-item",children:1!==(null===(n=Object.keys(c))||void 0===n?void 0:n.length)||Array.isArray(Object.values(c)[0])||Object.values(c)[0].name!==i?Object(S.jsxs)(S.Fragment,{children:[Object(S.jsxs)("span",{children:[i,":"]}),Object(S.jsx)("ul",{children:Object.entries(c).map((function(e){var t=Object(o.a)(e,2),n=t[0],a=t[1];return Object(S.jsxs)("div",{children:[Array.isArray(a)?Object(S.jsxs)("p",{style:{margin:"8px 0",fontWeight:"600"},children:["- ",n,":"]}):Object(S.jsx)("li",{className:"list-item",children:Object(S.jsxs)("span",{style:{fontWeight:"normal"},onClick:function(){return window.open(null===a||void 0===a?void 0:a.pdf_url,"_blank")},children:["\u2219"," ",Object(S.jsx)(wo.a,{style:{height:"24px"}})," ",n]})}),Object(S.jsx)(v.a,{className:"list-item",sx:{ml:2,display:"flex",flexDirection:"column","> span":{fontWeight:"normal"}},children:Array.isArray(a)?a.map((function(e,t){return e.pdf_url&&Object(S.jsxs)("span",{onClick:function(){return window.open(null===e||void 0===e?void 0:e.pdf_url,"_blank")},children:["\u2219"," ",Object(S.jsx)(wo.a,{style:{height:"24px"}})," ",e.name]},"".concat(e.name,"-").concat(t))})):Object(S.jsx)(S.Fragment,{})})]},n)}))})]}):Object(S.jsxs)("span",{onClick:function(){return window.open(Object.values(c)[0].pdf_url,"_blank")},children:[Object(S.jsx)(wo.a,{style:{height:"24px"}}),i]})})},i)}))})]},n)})):Object(S.jsx)("div",{className:"list-title-block",children:Object(S.jsx)("h3",{className:"list-title",children:"No records found"})})}),Object(S.jsx)(v.a,{sx:{display:"flex",justifyContent:"flex-start",mb:1},children:Object(S.jsx)(sn.a,{count:H.totalItems,page:H.page_index,rowsPerPage:H.rows_per_page,rowsPerPageOptions:lt.b,onPageChange:function(e,t){return z((function(e){return Object(u.a)(Object(u.a)({},e),{},{page_index:t})}))},onRowsPerPageChange:function(e){z((function(t){return Object(u.a)(Object(u.a)({},t),{},{page_index:0,rows_per_page:+e.target.value})}))},component:"div"})})]})},Io=n(1498),Do=n(1503),Fo=n(21),ko=[{pathname:"/dashboard-new-w68f5es4",title:"Dashboard (with AI)",onlyBreadcrumbs:!1},{pathname:"/",title:"Dashboard",onlyBreadcrumbs:!1},{pathname:"/forecast",title:"Business Forecast Changes Feed",onlyBreadcrumbs:!1},{pathname:"/forecast/:recordId",title:"Opportunity Details",onlyBreadcrumbs:!0},{pathname:"/contracts",title:"Contracts+",onlyBreadcrumbs:!1},{pathname:"/contracts/:recordId",title:"Opportunity Details",onlyBreadcrumbs:!0},{pathname:"/grants",title:"Grants+",onlyBreadcrumbs:!1},{pathname:"/grants/:recordId",title:"Opportunity Details",onlyBreadcrumbs:!0},{pathname:"/projects",title:"Projects"},{pathname:"/reports",title:"Reports"},{pathname:"/ecd",title:"Environmental Compliance Database (ECD)"}],To=function(e){var t=e.replaceLastWith,n=void 0===t?null:t,a=Object(p.h)();return"/"===a.pathname?Object(S.jsx)(S.Fragment,{}):Object(S.jsx)(Io.a,{maxItems:3,sx:{"& > *":{fontSize:"14px"}},children:a.pathname.split("/").map((function(e,t,a){var r,i;return 0===t?Object(S.jsx)(Do.a,{href:"/",underline:"none",children:"Home"},"home-bradcrumb"):Object(S.jsx)(Do.a,{href:a.slice(0,t+1).join("/"),underline:"none",children:t===a.length-1&&n?n:ko.find((function(e){return e.pathname===a.slice(0,t+1).join("/")}))&&null!==(r=null===(i=ko.find((function(e){return e.pathname===a.slice(0,t+1).join("/")})))||void 0===i?void 0:i.title)&&void 0!==r?r:Object(Fo.a)(e)},"breadcrumb-".concat(t))}))})},Ro=Object(a.createContext)(Object(u.a)({},{pageTitle:null,setPageTitle:function(){},pageTitleLoading:!1,setPageTitleLoading:function(){},titleBadge:null,setTitleBadge:function(){}})),Po=function(e){var t=e.children,n=Object(a.useState)(null),r=Object(o.a)(n,2),i=r[0],c=r[1],s=Object(a.useState)(!1),l=Object(o.a)(s,2),d=l[0],u=l[1],p=Object(a.useState)(null),b=Object(o.a)(p,2),j=b[0],m=b[1];return Object(S.jsx)(Ro.Provider,{value:{pageTitle:i,setPageTitle:function(e){return c(e)},pageTitleLoading:d,setPageTitleLoading:function(e){return u(e)},titleBadge:j,setTitleBadge:function(e){return m(e)}},children:t})},Mo=Ro.Consumer,Uo=function(e){var t,n;Object(St.a)(e);var r=Object(ie.a)(),i=Object(p.h)(),c=Object(a.useContext)(Ro),s=c.pageTitle,l=(c.pageTitleLoading,c.titleBadge),d=Object(a.useState)(null),u=Object(o.a)(d,2),b=u[0],j=u[1],m=Object(a.useState)(null),f=Object(o.a)(m,2),h=f[0],O=f[1],g=Object(a.useMemo)((function(){return ko.filter((function(e){return Object(p.f)(i.pathname,{path:e.pathname,exact:!0,strict:!1})})).length>0&&!["/","/dashboard-new-w68f5es4"].includes(i.pathname)}),[i.pathname]);return Object(a.useEffect)((function(){if(s)j(s);else{var e,t=null!==(e=ko.find((function(e){return Object(p.f)(i.pathname,{path:e.pathname,exact:!0,strict:!1})})))&&void 0!==e?e:null;t&&!t.onlyBreadcrumbs?j(t.title):j(null)}}),[i,s]),Object(a.useEffect)((function(){O(l)}),[l]),Object(S.jsxs)(v.a,{sx:{ml:2},children:[g&&Object(S.jsx)(To,{replaceLastWith:null!==(t=null===(n=ko.find((function(e){return Object(p.f)(i.pathname,{path:e.pathname,exact:!0,strict:!1})})))||void 0===n?void 0:n.title)&&void 0!==t?t:void 0}),Object(S.jsx)(v.a,{sx:{display:"flex",alignItems:"center",gap:"8px",mt:1},children:null!==b&&Object(S.jsxs)(S.Fragment,{children:[Object(S.jsx)("img",{src:r.aidkonektIcon,style:r.icon,alt:"Aidkonekt",className:"formIcon"}),Object(S.jsx)(y.a,{variant:"h5",sx:{fontWeight:"bold",fontSize:"24px"},align:"left",dangerouslySetInnerHTML:{__html:b}}),h&&h]})})]})},Lo=n(275),Bo=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return[{propertyName:"actions",label:"Actions",width:t?80:e?210:170,isSticky:!0,cellAlign:"center",disableModalWithDetails:!0}]},Vo=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return Object(_t.compact)([{propertyName:"agencyName",label:"Department / Agency",order:0,isVisible:!0,sortable:!0,width:250,getSortableColumnPropertyName:e},{propertyName:"title",label:"Title",order:0,isVisible:!0,sortable:!0,width:300,getSortableColumnPropertyName:e}].concat(Object(ee.a)(t?[{propertyName:"version",label:"Version",order:0,isVisible:!0,sortable:!0,width:150,getSortableColumnPropertyName:e,disableModalWithDetails:!0,cellAlign:"center",headerAlign:"center"},{propertyName:"modifiedDateIn",label:"Modified Date",order:0,isVisible:!0,sortable:!0,width:150,cellFormatter:function(e){return new Date(e)&&new Date(e).toISOString().startsWith("0")?"N/A":e?Object(Qt.a)(Object(ot.e)(e),"dd MMMM yyyy"):null},getSortableColumnPropertyName:e}]:[null]),[{propertyName:"country",label:"Country / Office",order:0,isVisible:!0,sortable:!0,width:200,getSortableColumnPropertyName:e},{propertyName:"description",label:"Description",order:0,isVisible:!0,sortable:!0,width:300,getSortableColumnPropertyName:e},{propertyName:"type",label:"Contract Opportunity Type",order:0,isVisible:!0,sortable:!0,width:250,getSortableColumnPropertyName:e},{propertyName:"status",label:"Status",order:0,isVisible:!0,sortable:!0,width:200,getSortableColumnPropertyName:e},{propertyName:"contractorAwardedName",label:"Contractor Awarded Name",order:0,isVisible:!0,sortable:!0,width:200,getSortableColumnPropertyName:e},{propertyName:"contractorAwardedDate",label:"Awarded Date",order:0,isVisible:!0,sortable:!0,width:150,cellFormatter:function(e){return new Date(e)&&new Date(e).toISOString().startsWith("0")?"N/A":e?Object(Qt.a)(Object(ot.e)(e),"dd MMMM yyyy"):null},getSortableColumnPropertyName:e},{propertyName:"awardNumber",label:"Contract Award Number",order:0,isVisible:!0,sortable:!0,width:200,getSortableColumnPropertyName:e},{propertyName:"contractorAwardedAmount",label:"Awarded Amount",order:0,isVisible:!0,sortable:!0,width:250,cellFormatter:function(e){return null!==e?Lo.a.format(Math.round(e)):""},getSortableColumnPropertyName:e},{propertyName:"solicitationNumber",label:"Solicitation Number",order:0,isVisible:!0,sortable:!0,width:250,getSortableColumnPropertyName:e},{propertyName:"postedDateIn",label:"Original Publish Date",order:0,isVisible:!0,sortable:!0,width:150,cellFormatter:function(e){return new Date(e)&&new Date(e).toISOString().startsWith("0")?"N/A":e?Object(Qt.a)(Object(ot.e)(e),"dd MMMM yyyy"):null},getSortableColumnPropertyName:e},{propertyName:"solicitationDeadlineResponseIn",label:"Offer Due Date",order:0,isVisible:!0,sortable:!0,width:150,cellFormatter:function(e){return new Date(e)&&new Date(e).toISOString().startsWith("0")?"N/A":e?Object(Qt.a)(Object(ot.e)(e),"dd MMMM yyyy"):null},getSortableColumnPropertyName:e},{propertyName:"modifiedDateIn",label:"Last Updated Date",order:0,isVisible:!0,sortable:!0,width:150,getSortableColumnPropertyName:e,cellFormatter:function(e){return new Date(e)&&new Date(e).toISOString().startsWith("0")?"N/A":e?Object(Qt.a)(Object(ot.e)(e),"dd MMMM yyyy"):null},disableModalWithDetails:!0},{propertyName:"setAside",label:"Set Aside",order:0,isVisible:!0,sortable:!0,width:250,getSortableColumnPropertyName:e,disableModalWithDetails:!0},{propertyName:"classificationCode",label:"Product Service Code",order:0,isVisible:!0,sortable:!0,width:150,getSortableColumnPropertyName:e,disableModalWithDetails:!0},{propertyName:"naicsCodes",label:"NAICS",order:0,isVisible:!0,sortable:!0,width:100,getSortableColumnPropertyName:e},{propertyName:"placeOfPerformance",label:"Place Of Performance",order:0,isVisible:!0,sortable:!0,width:250,getSortableColumnPropertyName:e},{propertyName:"contactInfo",label:"Contact Info",order:0,isVisible:!0,width:350,getSortableColumnPropertyName:e,maxNumberOfLines:3},{propertyName:"secondaryContactInfo",label:"Secondary Contact Info",order:0,isVisible:!0,width:350,getSortableColumnPropertyName:e,maxNumberOfLines:3}]))},Qo=function(e){return"contactInfo"===e?"pointOfContactOne":"secondaryContactInfo"===e?"pointOfContactTwo":e},Wo=new Intl.NumberFormat("en-US",{style:"currency",currency:"USD"}),Ho=function(e,t){var n,a,r,i,c=t.handleOpenFilters,s=t.setFilters,l=t.lastUpdated,d=t.fetchStatus,p=t.inputValue,b=t.onChange,j=t.allFilters,m=(j.pagination,j.filters),f=(j.sortOption,Gt.a.isFetching(d)),h=null===(n=Object.entries(m))||void 0===n||null===(a=n.filter((function(e){var t=Object(o.a)(e,2),n=t[0];t[1];return!n.includes("include")&&!n.includes("sort")&&"showAwards"!==n&&"onlyUntrackedInPipeline"!==n})))||void 0===a||null===(r=a.filter((function(e){var t=Object(o.a)(e,2),n=(t[0],t[1]);return Array.isArray(n)?n.length>0:!!n})))||void 0===r||null===(i=r.map((function(e){var t=Object(o.a)(e,2),n=t[0];t[1];return n})))||void 0===i?void 0:i.length;return[Object(S.jsxs)(v.a,{sx:{pt:1,display:"flex",gap:"16px",alignItems:"center"},children:[Object(S.jsx)(dn.a,{value:p,onChange:b,sx:{width:"300px"},InputProps:{startAdornment:Object(S.jsx)(mn.a,{sx:{color:e.palette.action.active}}),endAdornment:Object(S.jsxs)(S.Fragment,{children:[(null===p||void 0===p?void 0:p.length)>0&&Object(S.jsx)(Me.a,{onClick:function(){return b({target:{value:""}})},sx:{mr:.5},disabled:f,children:Object(S.jsx)(Le.a,{})}),Object(S.jsx)(v.a,{sx:{borderLeft:"solid 1px ".concat(e.palette.divider),pl:.5},children:Object(S.jsx)(Vn.a,{title:"Filters",children:Object(S.jsxs)("span",{children:[Object(S.jsx)(Me.a,{onClick:c,children:Object(S.jsx)(Wn.a,{sx:{width:"24px",height:"24px"}})}),h>0&&Object(S.jsx)(qe.a,{sx:{position:"absolute",height:"16px",width:"16px",top:"2px",right:"2px",fontSize:"12px",backgroundColor:e.palette.secondary.main,pointerEvents:"none"},children:h})]})})})]}),sx:{px:.5}},size:"small",placeholder:"Search"}),Object(S.jsx)(Qn.a,{onChange:function(e,t){return s((function(e){return Object(u.a)(Object(u.a)({},e),{},{showAwards:t})}))},control:Object(S.jsx)(on.a,{checked:m.showAwards}),label:"Show Awards Only",disabled:f}),Object(S.jsx)(Qn.a,{onChange:function(e,t){return s((function(e){return Object(u.a)(Object(u.a)({},e),{},{onlyUntrackedInPipeline:t})}))},control:Object(S.jsx)(on.a,{checked:m.onlyUntrackedInPipeline}),label:"Exclude Tracked Opportunities",disabled:f})]}),Object(S.jsxs)(v.a,{sx:{display:"flex",gap:"16px",alignItems:"center",justifyContent:"space-between"},children:[Object(S.jsxs)(v.a,{children:[Object(S.jsx)(Qn.a,{onChange:function(e,t){return s((function(e){return Object(u.a)(Object(u.a)({},e),{},{includeUsaid:t})}))},control:Object(S.jsx)(on.a,{checked:m.includeUsaid}),label:"USAID",disabled:f}),Object(S.jsx)(Qn.a,{onChange:function(e,t){return s((function(e){return Object(u.a)(Object(u.a)({},e),{},{includeMcc:t})}))},control:Object(S.jsx)(on.a,{checked:m.includeMcc}),label:"MCC",disabled:f}),Object(S.jsx)(Qn.a,{onChange:function(e,t){return s((function(e){return Object(u.a)(Object(u.a)({},e),{},{includeStateDept:t})}))},control:Object(S.jsx)(on.a,{checked:m.includeStateDept}),label:"State Dept",disabled:f}),Object(S.jsx)(Qn.a,{onChange:function(e,t){return s((function(e){return Object(u.a)(Object(u.a)({},e),{},{includeCdc:t})}))},control:Object(S.jsx)(on.a,{checked:m.includeCdc}),label:"CDC",disabled:f}),Object(S.jsx)(Qn.a,{onChange:function(e,t){return s((function(e){return Object(u.a)(Object(u.a)({},e),{},{includeDfc:t})}))},control:Object(S.jsx)(on.a,{checked:m.includeDfc}),label:"DFC",disabled:f})]}),Object(S.jsxs)(v.a,{sx:{display:"flex",gap:"24px","& > *":{display:"flex",alignItems:"center"}},children:[Object(S.jsxs)(y.a,{variant:"subtitle2",color:"textSecondary",children:[Object(S.jsx)(Hn.a,{color:"secondary",sx:{height:"16px",width:"16px",mr:.5,mt:"-2px"}}),"Source: sam.gov"]}),Object(S.jsxs)(y.a,{variant:"subtitle2",color:"textSecondary",children:[Object(S.jsx)(zn.a,{sx:{height:"16px",width:"16px",mr:.5,mt:"-2px"}}),"Last updated: ",null!==l&&void 0!==l?l:"N/A"]})]})]})]},zo=function(e){var t,n=[{name:"Sam.gov link"},{name:"Department/Agency"},{name:"Title"},{name:"Country/Office"},{name:"Description"},{name:"Contract Opportunity Type"},{name:"Status"},{name:"Contractor Awarded Name"},{name:"Awarded Date"},{name:"Contract Award Number"},{name:"Awarded Amount"},{name:"Solicitation Number"},{name:"Original Publish Date"},{name:"Offer Due Date"},{name:"Last Updated Date"},{name:"Set Aside"},{name:"Product Service Code"},{name:"NAICS"},{name:"Place of Performance"},{name:"Contact Info"},{name:"Secondary Contact Info"}],a=[];if(0===e.length)a.push(Object(De.d)(n.length));else for(var r=0;r2&&void 0!==c[2]?c[2]:1e3,(r=n)&&(r.pageSize=a,r.pageIndex=0),i=Array(),e.next=6,V.a.get(Object(L.f)("/api/contract".concat(Object(Gn.a)(r,"|")),{useDedicatedEnvironment:!0}),Object(L.c)(t)).then((function(e){i=e.data.data})).catch((function(e){alert("error fetching data")}));case 6:return e.abrupt("return",i);case 7:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),Go=n(339),Ko=n(183),qo=n.n(Ko),Xo=n(134),Zo=n(117),Jo=n(316),_o=n.n(Jo),$o={addToPipeline:null===(Jc=n(382))||void 0===Jc?void 0:Jc.default},es=function(e){var t=e.onShareClick,n=e.item,a=e.canShare,r=e.onViewDetailsClick,i=e.addToPipelinesOpen,c=(e.setAddToPipelinesOpen,e.handleOpenAddToPipelines),o=e.handleCloseAddToPipelines,s=Object(Nt.a)(),l=Object(Zt.c)((function(e){return e.pipelines.pipelinesForRecord})),d=(l.items,l.itemsFor),p=l.fetchStatus;return Object(S.jsxs)(v.a,{sx:Object(u.a)({display:"flex",gap:1,width:"min-content"},!a&&{justifyContent:"center",width:"auto"}),children:[a&&Object(S.jsx)(Zo.a,{querySelectors:"[data-virtuoso-scroller]",title:"Share",children:Object(S.jsx)(Me.a,{color:"primary",sx:{border:"solid 2px",backgroundColor:Object(Go.a)(s.palette.primary.main,.1)},onClick:t,children:Object(S.jsx)(la.a,{fontSize:"small",sx:{transform:"scale(-1, 1)",width:"24px",height:"24px"}})})}),Object(S.jsx)(Zo.a,{querySelectors:"[data-virtuoso-scroller]",title:"Add to pipeline(s)",tooltipProps:{disableInteractive:!0,disableHoverListener:!!i},children:Object(S.jsx)(Vn.a,{onClose:o,open:!!i&&i===n.id,disableFocusListener:!0,disableHoverListener:!0,disableTouchListener:!0,disableInteractive:!1,PopperProps:{disablePortal:!1,sx:{"&[data-popper-reference-hidden]":{}}},title:Object(S.jsx)(ja.a,{handleCloseAddToPipelines:o,item:n,source:"contracts"}),slotProps:{tooltip:{sx:{backgroundColor:"rgb(97,97,97)",minWidth:"350px"}}},children:Object(S.jsx)("span",{children:Object(S.jsxs)(Me.a,{sx:Object(u.a)({border:"solid 2px",backgroundColor:0===n.numberIncludedPipelines?Object(Go.a)(s.palette.success.main,.1):s.palette.success.main},0!==n.numberIncludedPipelines&&{"&:hover":{backgroundColor:Object(Go.a)(s.palette.success.main,.85)}}),color:"success",onClick:function(){return c(n)},children:[Object(S.jsx)("img",{src:$o.addToPipeline,alt:"map",style:{width:"26px",height:"26px",marginTop:"2px",filter:0===n.numberIncludedPipelines?"hue-rotate(270deg) brightness(0.8)":"brightness(0) invert(1)"}}),(null===n||void 0===n?void 0:n.numberIncludedPipelines)>0&&Object(S.jsx)(qe.a,{sx:{position:"absolute",height:"16px",width:"16px",top:"-8px",right:"-8px",fontSize:"12px",backgroundColor:s.palette.secondary.main},children:null===n||void 0===n?void 0:n.numberIncludedPipelines}),d===n.id&&Gt.a.isFetching(p)&&Object(S.jsx)(v.a,{sx:{position:"absolute",top:"-13px",right:"-10px"},children:Object(S.jsx)(X.a,{size:20,thickness:5})})]})})})}),Object(S.jsx)(Zo.a,{querySelectors:"[data-virtuoso-scroller]",title:"sam.gov link",children:Object(S.jsx)(Me.a,{sx:{border:"solid 2px",backgroundColor:Object(Go.a)(s.palette.primary.main,.1)},color:"primary",component:"a",href:"https://sam.gov/opp/".concat(n.id,"/view"),target:"_blank",rel:"noreferrer noopener",disabled:n.status===Xo.a.FinalRecord,children:Object(S.jsx)(qo.a,{sx:{width:"24px",height:"24px"}})})}),Object(S.jsx)(Zo.a,{querySelectors:"[data-virtuoso-scroller]",title:"View details",children:Object(S.jsx)(Me.a,{color:"primary",sx:{border:"solid 2px",backgroundColor:Object(Go.a)(s.palette.primary.main,.1)},onClick:r,children:Object(S.jsx)(wo.a,{fontSize:"small",sx:{width:"24px",height:"24px"}})})}),Object(S.jsx)(Zo.a,{title:"Go to opportunity profile page",querySelectors:"[data-virtuoso-scroller]",children:Object(S.jsx)(Me.a,{color:"primary",sx:{border:"solid 2px",backgroundColor:Object(Go.a)(s.palette.info.main,.1)},component:"a",href:"/contracts/".concat(null===n||void 0===n?void 0:n.id),target:"_blank",disabled:!(null===n||void 0===n?void 0:n.id),children:Object(S.jsx)(_o.a,{fontSize:"small",sx:{width:"24px",height:"24px"}})})})]})},ts=function(e){var t=e.control,n=Object(Zt.b)(),r=Object(a.useContext)(j.d),i=Object(Zt.c)((function(e){return e.contracts})).dropdownOptions,c=i.country,o=c.items,s=c.fetchStatus,l=i.statuses.items,d=i.setAsides,u=d.items,p=d.fetchStatus,b=i.opportunityTypes,m=b.items,f=b.fetchStatus;return Object(S.jsxs)(S.Fragment,{children:[Object(S.jsx)(Fa.a,{type:"text",fullWidth:!0,sx:{"& .MuiFormLabel-root":{fontSize:"0.875em",lineHeight:"1.875em"}},name:"fileKeyword",control:t,label:"KEYWORD SEARCH IN-DOCUMENT TEXT"}),Object(S.jsx)(Fa.a,{type:"combo-box",withCheckboxes:!0,sx:{"& .MuiFormLabel-root":{fontSize:"0.875em",lineHeight:"1.875em"}},control:t,name:"country",label:"COUNTRY / OFFICE",options:o,fullWidth:!0,multiple:!0,fetchStatus:s,asyncCallback:function(e){n(Object(Oa.d)({context:r,filter:e}))}}),Object(S.jsx)(Fa.a,{type:"text",fullWidth:!0,sx:{"& .MuiFormLabel-root":{fontSize:"0.875em",lineHeight:"1.875em"}},name:"fileName",control:t,label:"FILE NAME"}),Object(S.jsx)(Fa.a,{type:"text",fullWidth:!0,sx:{"& .MuiFormLabel-root":{fontSize:"0.875em",lineHeight:"1.875em"}},name:"solicitationNumber",control:t,label:"SOLICITATION NUMBER"}),Object(S.jsx)(Fa.a,{type:"combo-box",withCheckboxes:!0,sx:{"& .MuiFormLabel-root":{fontSize:"0.875em",lineHeight:"1.875em"}},control:t,name:"setAsides",label:"SET ASIDES",options:u,fullWidth:!0,multiple:!0,fetchStatus:p,asyncCallback:function(e){n(Object(Oa.f)({context:r,filter:e}))}}),Object(S.jsx)(Fa.a,{type:"combo-box",sx:{"& .MuiFormLabel-root":{fontSize:"0.875em",lineHeight:"1.875em"}},control:t,name:"status",label:"STATUS",options:l,fullWidth:!0}),Object(S.jsx)(Fa.a,{type:"combo-box",withCheckboxes:!0,sx:{"& .MuiFormLabel-root":{fontSize:"0.875em",lineHeight:"1.875em"}},control:t,name:"opportunityType",label:"OPPORTUNITY TYPES",options:m,fullWidth:!0,multiple:!0,fetchStatus:f,asyncCallback:function(e){n(Object(Oa.e)({context:r,filter:e}))}}),Object(S.jsx)(Fa.a,{type:"date",sx:{"& .MuiFormLabel-root":{fontSize:"0.875em",lineHeight:"1.875em"}},name:"updatedBy",control:t,label:"SEARCH CONTRACTS+ UPDATES SINCE"})]})},ns=n(240),as=n(1493),rs=n(1484),is=n(1485),cs=n(1469),os=function(e){var t=e.file,n=e.highlight,a=void 0===n?{show:!1,text:""}:n,r=e.source,i=e.listItemFor,c=void 0===i?"table-details":i,o=Object(Nt.a)(),s=Object(Et.a)(o.breakpoints.between("md","lgEx")),l=Object(Et.a)(o.breakpoints.down("sm"));return Object(S.jsx)(Vn.a,{title:"Click to open in a new window",disableInteractive:!0,PopperProps:{disablePortal:!0,sx:{"&[data-popper-reference-hidden]":{visibility:"hidden","pointer-events":"none"}}},children:Object(S.jsx)("span",{children:Object(S.jsxs)(rs.a,{sx:Object(u.a)(Object(u.a)({px:"profile-page"===c?2:0,my:.5,borderRadius:"8px"},a.show&&{backgroundColor:o.palette.success.light}),"profile-page"===c&&Object(u.a)({border:"solid 1px ".concat(o.palette.divider)},(s||l)&&{display:"block"})),component:"a",href:"link"===(null===t||void 0===t?void 0:t.type)&&null!==(null===t||void 0===t?void 0:t.uri)?t.uri:"".concat("contracts"===r?g.b:"grants"===r?g.c:"").concat(encodeURIComponent(t.name)),rel:"noreferrer noopener",target:"_blank",children:[Object(S.jsxs)(v.a,{sx:{display:"flex",flex:1,alignItems:"center"},children:[Object(S.jsx)(is.a,{children:Object(S.jsx)(wo.a,{sx:Object(u.a)({},a.show?{color:o.palette.success.main}:"profile-page"===c&&{color:o.palette.secondary.main})})}),Object(S.jsx)(cs.a,Object(u.a)(Object(u.a)({primary:t.name},"table-details"===c&&{secondary:Object(S.jsx)(S.Fragment,{children:(null===t||void 0===t?void 0:t.createdOn)?Object(S.jsxs)(S.Fragment,{children:["".concat(Object(Qt.a)(new Date(t.createdOn),"dd MMMM yyyy")),Object(S.jsx)("b",{children:" ".concat(a.show&&a.text?a.text:"")})]}):Object(S.jsx)("b",{children:"".concat(a.show&&a.text?a.text:"")})})}),"profile-page"===c&&{primaryTypographyProps:{variant:"subtitle2",sx:{mr:1}}}))]}),"profile-page"===c&&Object(S.jsxs)(y.a,{variant:"body2",color:"textSecondary",sx:{minWidth:"fit-content"},align:"right",children:["Last Update:"," ",(null===t||void 0===t?void 0:t.createdOn)?Object(S.jsxs)(S.Fragment,{children:["".concat(Object(Qt.a)(new Date(t.createdOn),"dd/MM/yyyy")),Object(S.jsx)("b",{children:" ".concat(a.show&&a.text?a.text:"")})]}):Object(S.jsx)("b",{children:"".concat(a.show&&a.text?a.text:"")})]})]})})})},ss=n(327),ls=n.n(ss),ds=function(e){var t,n,a,r,i,c,o,s,l=e.data,d={email:null!==(t=null===l||void 0===l?void 0:l.email)&&void 0!==t?t:"",fax:null!==(n=null===l||void 0===l?void 0:l.fax)&&void 0!==n?n:"",phone:null!==(a=null===l||void 0===l?void 0:l.phone)&&void 0!==a?a:"",fullName:null!==(r=null===l||void 0===l?void 0:l.fullName)&&void 0!==r?r:""};return Object.values(d).every((function(e){return 0===e.length}))?null:"
".concat((null===d||void 0===d||null===(i=d.email)||void 0===i?void 0:i.length)>0?"Email: ".concat(d.email,"
"):"","\n ").concat((null===d||void 0===d||null===(c=d.fax)||void 0===c?void 0:c.length)>0?"Fax: ".concat(d.fax,"
"):"","\n ").concat((null===d||void 0===d||null===(o=d.fullName)||void 0===o?void 0:o.length)>0?"Name: ".concat(d.fullName,"
"):"","\n ").concat((null===d||void 0===d||null===(s=d.phone)||void 0===s?void 0:s.length)>0?"Phone: ".concat(d.phone,"
"):"","
")},us=[{sortField:"createdOn",label:"Most recent",sortOrder:-1},{sortField:"createdOn",label:"Oldest",sortOrder:1},{sortField:"name",label:"Name: A \u2192 Z",sortOrder:1},{sortField:"name",label:"Name: Z \u2192 A",sortOrder:-1},{sortField:"disable-sort",label:"Disable sorting",sortOrder:0}],ps=function(e){var t=e.open,n=e.openFor,r=e.handleCloseDetailsModal,i=Object(Zt.b)(),c=Object(a.useContext)(j.d),s=Object(Nt.a)(),b=Object(p.g)(),m=Object(Zt.c)((function(e){return e.contracts.details})),f=m.fetchStatus,h=m.files,O=m.matchingFiles,x=m.records,C=Object(a.useState)("files"),A=Object(o.a)(C,2),w=A[0],N=A[1],E=Object(a.useState)(us[0]),I=Object(o.a)(E,2),D=I[0],F=I[1],k=Object(a.useState)(!1),T=Object(o.a)(k,2),R=T[0],P=T[1],M=function(){var e=Object(d.a)(l.a.mark((function e(){return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:P(!0),V.a.post(Object(L.f)("/api/contract/details/".concat(n.contractOpportunityBase_Id,"/getzip"),{useDedicatedEnvironment:!0}),{},Object(u.a)(Object(u.a)({},Object(L.b)(c)),{},{responseType:"blob"})).then(function(){var e=Object(d.a)(l.a.mark((function e(t){var n;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:n="export-".concat((new Date).valueOf(),".zip");try{n=t.headers["content-disposition"].split(";")[1].replace("filename=","").replaceAll('"',"").trim()}catch(a){}Object(yi.saveAs)(new Blob([t.data]),n),P(!1);case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()).catch((function(e){q.a.error("Error fetching data."),P(!1)}));case 2:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();return Object(a.useEffect)((function(){if(t){if(null===n||void 0===n?void 0:n.id){var e=Object(Mt.a)(b.location.search,["fileKeyword","fileName"]);i(Object(Oa.b)({context:c,params:Object(u.a)({id:n.id},e)}))}}else setTimeout((function(){N("files"),i(Object(Oa.a)())}),150)}),[t]),Object(S.jsx)(ca.a,{open:t,handleClose:r,title:"Opportunity Details",minWidth:"800px",loading:Gt.a.isFetching(f),disableCancelButton:!0,handleAccept:r,acceptLabel:"Close",children:Object(S.jsxs)(Dt.a,{children:[Object(S.jsx)(v.a,{sx:{minHeight:"144px",display:"flex"},children:null!==n&&Object(S.jsx)(ya.b,{config:{columns:Vo(Qo),stickyColumns:Bo(!1,!0),data:[n].map((function(e){return Object(u.a)(Object(u.a)({},e),{},{actions:Object(S.jsx)(Vn.a,{title:"Open in new tab",children:Object(S.jsx)("span",{children:Object(S.jsx)(Me.a,{sx:{border:"solid 2px",backgroundColor:Object(Go.a)(s.palette.primary.main,.1)},color:"primary",component:"a",href:"https://sam.gov/opp/".concat(e.id,"/view"),target:"_blank",rel:"noreferrer noopener",children:Object(S.jsx)(qo.a,{sx:{width:"24px",height:"24px"}})})})}),contactInfo:ds({data:e.pointOfContactOne}),secondaryContactInfo:ds({data:e.pointOfContactTwo})})})),header:Object(S.jsx)(v.a,{}),allowFullscreen:!1,rowHeight:82},TableContainerComponent:v.a,tableContainerComponentSx:{mt:"-24px",mb:"16px",border:"solid 1px ".concat(s.palette.divider)},loading:!1,onPageChange:function(){},onRowsPerPageChange:function(){},pagination:{page:0,rowsPerPage:0,total:0},paginationDisabled:{disabled:!0,disabledMessage:""}})}),Object(S.jsxs)(as.a,{value:w,children:[Object(S.jsx)(It.a,{color:"primary",onClick:function(){return"files"!==w&&N("files")},value:"files",label:"Attachments"}),Object(S.jsx)(It.a,{color:"primary",onClick:function(){return"recordHistory"!==w&&N("recordHistory")},value:"recordHistory",label:"sam.gov history"})]}),Object(S.jsx)(Tt.a,{}),Object(S.jsx)(v.a,{sx:Object(u.a)({py:2},"recordHistory"===w&&{pb:0}),children:"files"===w?Object(S.jsxs)(S.Fragment,{children:[Object(S.jsxs)(v.a,{sx:{display:"flex",gap:1},children:[Object(S.jsx)(it.a,{variant:"contained",endIcon:Object(S.jsxs)(S.Fragment,{children:[" ",Object(S.jsx)(ls.a,{sx:{height:"24px !important",width:"24px !important"}}),R&&Object(S.jsx)(X.a,{size:16,sx:{color:"white"}})]}),sx:{height:"56px"},onClick:M,disabled:R||!h.length,children:"Download All"}),Object(S.jsx)(dn.a,{select:!0,InputLabelProps:{shrink:!0},value:"".concat(D.sortField,"-").concat(D.sortOrder),placeholder:"Select sort option",label:"Sort",sx:{minWidth:"250px"},onChange:function(e){return F((function(){var t;return null!==(t=us.find((function(t){return e.target.value==="".concat(t.sortField,"-").concat(t.sortOrder)})))&&void 0!==t?t:us[0]}))},children:us.map((function(e,t){return Object(S.jsx)(un.a,{value:"".concat(e.sortField,"-").concat(e.sortOrder),children:e.label},t)}))})]}),Object(S.jsx)(v.a,{sx:{height:"348px",overflowY:"scroll",my:1},children:h.length>0?Object(ee.a)(h).sort((function(e,t){return"disable-sort"===D.sortField?0:e[D.sortField]>t[D.sortField]?D.sortOrder:-D.sortOrder})).map((function(e,t){var n;return Object(S.jsx)(os,{file:Object(u.a)(Object(u.a)({},e),{},{uri:null!==(n=null===e||void 0===e?void 0:e.uri)&&void 0!==n?n:"".concat(g.b).concat(encodeURIComponent(e.name))}),highlight:{show:O.includes(e.name),text:"(Keyword match in document)"},source:"contracts"})})):Gt.a.isDone(f)?Object(S.jsx)(y.a,{variant:"h6",color:"textSecondary",children:"No files found"}):Gt.a.isFetching(f)&&Object(S.jsx)(v.a,{sx:{display:"flex",justifyContent:"center"},children:Object(S.jsx)(X.a,{})})})]}):Object(S.jsx)(v.a,{sx:{minHeight:"438px",display:"flex"},children:Object(S.jsx)(ya.b,{config:{columns:Vo(Qo,!0),stickyColumns:Bo(!1,!0),data:x.map((function(e){return Object(u.a)(Object(u.a)({},e),{},{actions:Object(S.jsx)(Vn.a,{title:"Open in new tab",children:Object(S.jsx)("span",{children:Object(S.jsx)(Me.a,{sx:{border:"solid 2px",backgroundColor:Object(Go.a)(s.palette.primary.main,.1)},color:"primary",component:"a",href:"https://sam.gov/opp/".concat(e.id,"/view"),target:"_blank",rel:"noreferrer noopener",children:Object(S.jsx)(qo.a,{sx:{width:"24px",height:"24px"}})})})}),contactInfo:ds({data:e.pointOfContactOne}),secondaryContactInfo:ds({data:e.pointOfContactTwo})})})),header:Object(S.jsx)(v.a,{}),allowFullscreen:!1},TableContainerComponent:v.a,tableContainerComponentSx:{mt:"-24px",mb:"16px"},loading:Gt.a.isFetching(f),onPageChange:function(){},onRowsPerPageChange:function(){},pagination:{page:0,rowsPerPage:0,total:0},paginationDisabled:{disabled:!0,disabledMessage:""}})})})]})})},bs={filter:"",country:[],opportunityType:[],setAsides:[],solicitationNumber:"",sortField:"modifiedDateIn",sortOrder:-1,onlyMyList:!1,showAwards:!1,includeUsaid:!0,includeOthers:!1,includeMcc:!1,includeStateDept:!1,includeCdc:!1,includeDfc:!1,fileName:"",fileKeyword:"",updatedBy:Date.today().addMonths(-6),status:"",onlyUntrackedInPipeline:!1},js={pageIndex:0,pageSize:lt.b[0]},ms="contractsColumnsSettingsKey",fs="contracts-filters-form",hs=function(){var e,t,n,r,i=Object(Zt.b)(),c=Object(p.g)(),s=Object(Nt.a)(),b=Object(a.useContext)(j.d),m=Object(j.h)(b,j.b.plusOrHigher),f=Object(j.h)(b,j.b.proOrHigher),h=m||f,O=Object(Zt.c)((function(e){return e.contracts})),g=O.items,x=O.fetchStatus,C=O.total,A=O.lastUpdatedUtc,w=O.shareOpportunities.postFetchStatus,N=(O.dropdownOptions,Object(Zt.c)((function(e){return e.pipelines}))),E=N.rawItems,I=(N.items,N.fetchStatus),D=N.addOrRemoveFromPipelines.postFetchStatus,F=Object(Zt.c)((function(e){return e.userSettings})).tableSettings,k=F.columnsOrder,T=F.fetchStatus,R=Object(Zt.c)((function(e){return e.pipelines.pipelinesForRecord})),P=R.fetchStatus,M=R.itemsFor,U=function(){var e=Object(Mt.a)(c.location.search,Object.keys(bs),[],["onlyMyList","showAwards","includeUsaid","includeOthers","includeMcc","includeStateDept","includeCdc","includeDfc","onlyUntrackedInPipeline"],["sortOrder"],["country","opportunityType","setAsides"]),t=Object(Mt.a)(c.location.search,Object.keys(js),[],[],["pageIndex","pageSize"]);return{filters:Object(u.a)(Object(u.a)({},bs),e),pagination:Object(u.a)(Object(u.a)({},js),t)}},L=Object(Ra.b)({defaultValues:U().filters}),B=L.control,V=L.handleSubmit,Q=L.reset,W=(L.setValue,L.getValues,Object(a.useState)(U().pagination)),H=Object(o.a)(W,2),z=H[0],Y=H[1],G=Object(a.useState)(U().filters),K=Object(o.a)(G,2),X=K[0],Z=K[1],J=Object(a.useState)(!1),_=Object(o.a)(J,2),$=_[0],ee=_[1],te=Object(a.useState)(!1),ne=Object(o.a)(te,2),ae=ne[0],re=ne[1],ie=Object(a.useState)([]),ce=Object(o.a)(ie,2),oe=ce[0],se=ce[1],le=Object(a.useState)(!1),de=Object(o.a)(le,2),ue=de[0],pe=de[1],be=Object(a.useState)(null),je=Object(o.a)(be,2),me=je[0],fe=je[1],he=Object(a.useState)(!1),Oe=Object(o.a)(he,2),ge=Oe[0],xe=Oe[1],ve=Object(a.useState)(null),ye=Object(o.a)(ve,2),Ce=ye[0],Ae=ye[1],we=Object(a.useState)(""),Se=Object(o.a)(we,2),Ne=Se[0],Ee=Se[1],Ie=Object(a.useState)(null),Fe=Object(o.a)(Ie,2),ke=Fe[0],Te=Fe[1],Re=Bo(h),Pe=function(){return Object(u.a)(Object(u.a)({},z),Object.fromEntries(Object.entries(X).filter((function(e){var t=Object(o.a)(e,2);t[0];return null!==t[1]})).map((function(e){var t=Object(o.a)(e,2),n=t[0],a=t[1];return Array.isArray(a)?[n,a.map((function(e){return e.hasOwnProperty("value")?e.value:e}))]:[n,a]}))))},Me=Object(a.useCallback)(Object(_t.debounce)((function(e){Z((function(t){return Object(u.a)(Object(u.a)({},t),{},{filter:e})}))}),750),[]),Ue=function(){ee(!1)},Le=function(){Ue(),setTimeout((function(){Q({filter:X.filter,country:X.country,opportunityType:X.opportunityType,setAsides:X.setAsides,solicitationNumber:X.solicitationNumber,sortField:X.sortField,sortOrder:X.sortOrder,onlyMyList:X.onlyMyList,showAwards:X.showAwards,includeUsaid:X.includeUsaid,includeOthers:X.includeOthers,includeMcc:X.includeMcc,includeStateDept:X.includeStateDept,includeCdc:X.includeCdc,includeDfc:X.includeDfc,fileName:X.fileName,fileKeyword:X.fileKeyword,updatedBy:X.updatedBy,status:X.status,onlyUntrackedInPipeline:X.onlyUntrackedInPipeline})}),150)},Be=function(){var e=Object(d.a)(l.a.mark((function e(){return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:i(Object(va.i)({pipelines:E}));case 1:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),Ve=function(e){var t=e.id;ke?(Qe(),setTimeout((function(){i(Object(va.h)(t)),i(Object(va.c)({context:b,table:"contracts",recordId:t}))}),100)):(i(Object(va.h)(t)),i(Object(va.c)({context:b,table:"contracts",recordId:t})))},Qe=function(){Te(null),i(Object(va.h)(null)),i(Object(va.f)())};return Object(a.useEffect)((function(){Gt.a.isDone(P)&&null!==M&&!ke&&Te(M),Gt.a.isError(P)&&q.a.error("Pipeline data for this row couldn't be loaded. Try again later.")}),[P,M]),Object(a.useEffect)((function(){(Gt.a.isDone(T)||Gt.a.isError(T))&&se(Vo(Qo).map((function(e,t){var n,a,r,i;return Object(u.a)(Object(u.a)({},e),{},{order:null!==(n=null===(a=k.find((function(t){return t.propertyName===e.propertyName})))||void 0===a?void 0:a.order)&&void 0!==n?n:t,isVisible:null!==(r=null===(i=k.find((function(t){return t.propertyName===e.propertyName})))||void 0===i?void 0:i.isVisible)&&void 0!==r?r:e.isVisible})})).sort((function(e,t){return e.order-t.order})))}),[T,Qo]),Object(a.useEffect)((function(){return i(Object(va.b)(b)),i(Object(Jt.a)({context:b,key:ms})),function(){se([]),i(Object(Jt.f)()),i(Object(Oa.h)()),i(Object(va.e)()),i(Object(va.g)()),i(Object(va.f)())}}),[]),Object(a.useEffect)((function(){Gt.a.isNull(x)||0!==c.location.search.length?i(Object(Oa.c)({context:b,params:Object(u.a)({},Pe())})):re(!0)}),[c.location]),Object(a.useEffect)((function(){ae&&(Y(js),Z(bs),Q(bs),setTimeout((function(){return re(!1)}),150))}),[ae]),Object(a.useEffect)((function(){Gt.a.isNull(x)||c.push("/contracts".concat(Object(Gn.a)(Object(u.a)({},Pe()))))}),[z.pageIndex,z.pageSize]),Object(a.useEffect)((function(){Gt.a.isNull(x)||ae||(z.pageIndex>0?Y((function(e){return Object(u.a)(Object(u.a)({},e),{},{pageIndex:0})})):c.push("/contracts".concat(Object(Gn.a)(Object(u.a)({},Pe())))))}),[X,ae]),Object(a.useEffect)((function(){Gt.a.isHalfDone(I)?Be():Gt.a.isError(I)&&(q.a.error("Couldn't load pipelines details for Contracts. Try again later."),i(Object(va.g)()))}),[I]),Object(a.useEffect)((function(){Gt.a.isNull(D)||(Gt.a.isDone(D)?q.a.success("Pipelines modified"):Gt.a.isError(D)&&q.a.error("There was an error performing this operation."),i(Object(va.b)(b)),ke&&Qe(),i(Object(va.e)()),i(Object(Oa.c)({context:b,params:Object(u.a)({},Pe())})))}),[D]),Object(a.useEffect)((function(){Gt.a.isDone(w)&&(q.a.success("Opportunity shared successfully"),i(Object(Oa.h)()),pe(!1)),Gt.a.isError(w)&&q.a.error("There was an error sharing this opportunity.")}),[w]),Object(S.jsxs)(S.Fragment,{children:[Object(S.jsx)(ps,{open:ge,openFor:Ce,handleCloseDetailsModal:function(){xe(!1),setTimeout((function(){Ae(null)}),150)}}),Object(S.jsx)(xa.a,{open:ue,handleClose:function(){return pe(!1)},openFor:me,onSubmit:function(e){i(Object(Oa.i)(Object(u.a)({context:b},e)))},shareFetchStatus:w,type:"contracts"}),Object(S.jsxs)(_i.a,{open:$,onClose:Le,variant:"temporary",anchor:"right",sx:{zIndex:2147483639},PaperProps:{sx:{width:"480px","& > div":{px:2}}},children:[Object(S.jsxs)(v.a,{sx:{display:"flex",alignItems:"center",gap:"16px",backgroundColor:s.palette.secondary.light,borderBottom:"solid 3px ".concat(s.palette.secondary.main),py:3},children:[Object(S.jsx)(Wn.a,{}),Object(S.jsx)(y.a,{variant:"h5",children:"Filters"})]}),Object(S.jsx)(v.a,{sx:{py:2,overflowY:"scroll",flex:1},children:Object(S.jsx)("form",{onSubmit:V((function(e){Object(ns.a)(e,(function(){Z((function(t){var n;return Object(u.a)(Object(u.a)({},t),Object.fromEntries(null===(n=Object.entries(e))||void 0===n?void 0:n.filter((function(e){var t=Object(o.a)(e,2),n=t[0];t[1];return!n.includes("include")&&!n.includes("sort")&&"showAwards"!==n&&"onlyUntrackedInPipeline"!==n}))))})),Ue()}))})),id:fs,style:{display:"flex",flexDirection:"column",alignItems:"center",gap:"20px"},children:Object(S.jsx)(ts,{control:B})})}),Object(S.jsx)(Tt.a,{}),Object(S.jsxs)(v.a,{sx:{display:"flex",alignItems:"center",justifyContent:"flex-end",gap:"16px",py:2},children:[Object(S.jsx)(it.a,{variant:"secondaryContained",color:"secondary",onClick:Le,children:"Cancel"}),Object(S.jsx)(it.a,{variant:"secondaryContained",color:"secondary",onClick:function(){Q(bs)},children:"Clear"}),Object(S.jsx)(it.a,{variant:"contained",color:"secondary",type:"submit",form:fs,children:"Save"})]})]}),oe.length>0&&Object(S.jsx)(ya.b,{config:{data:g.map((function(e){return Object(u.a)(Object(u.a)({},e),{},{actions:Object(S.jsx)(es,{onShareClick:function(){return function(e){pe(!0),fe(e)}(e)},item:e,canShare:h,onViewDetailsClick:function(){return function(e){xe(!0),Ae(e)}(e)},addToPipelinesOpen:ke,setAddToPipelinesOpen:Te,handleOpenAddToPipelines:Ve,handleCloseAddToPipelines:Qe}),contactInfo:ds({data:e.pointOfContactOne}),secondaryContactInfo:ds({data:e.pointOfContactTwo})})})),columns:oe,stickyColumns:Re,header:Ho(s,{fetchStatus:x,inputValue:Ne,allFilters:{pagination:z,filters:Object.fromEntries(Object.entries(X).filter((function(e){var t=Object(o.a)(e,2),n=t[0];t[1];return!n.includes("sort")})).map((function(e){var t=Object(o.a)(e,2);return[t[0],t[1]]}))),sortOption:{sortField:null!==(e=X.sortField)&&void 0!==e?e:"",sortOrder:null!==(t=X.sortOrder)&&void 0!==t?t:0}},lastUpdated:A?"".concat(Object(Qt.a)(new Date(A),"dd MMMM yyyy"),", ").concat(Object(Qt.a)(new Date(A),"HH:mm ")):"N/A",onChange:function(e){Ee(e.target.value),Me(e.target.value)},handleOpenFilters:function(){ee(!0)},setFilters:Z}),exportExcelFunc:function(){var e=Object(d.a)(l.a.mark((function e(){return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(e.t0=De.e,e.t1="Aidkonekt_contracts_plus_".concat((new Date).getFullYear()),e.t2=zo,!Yo){e.next=9;break}return e.next=6,Yo(b,Pe(),C);case 6:e.t3=e.sent,e.next=10;break;case 9:e.t3=g;case 10:return e.t4=e.t3,e.t5=(0,e.t2)(e.t4),e.abrupt("return",(0,e.t0)("Contracts+",e.t1,e.t5));case 13:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),columnsConfiguration:{allowColumnsConfiguration:!0,onSaveColumnsConfiguration:function(e){i(Object(Jt.c)({context:b,key:ms,configuration:e}))},columnsSettingsKey:ms}},loading:Gt.a.isFetching(x)||Gt.a.isHalfDone(I)||Gt.a.isFetching(I),onPageChange:function(e,t){Y((function(e){return Object(u.a)(Object(u.a)({},e),{},{pageIndex:t})}))},onRowsPerPageChange:function(e){Y((function(t){return Object(u.a)(Object(u.a)({},t),{},{pageIndex:0,pageSize:+e.target.value})}))},pagination:{page:z.pageIndex,rowsPerPage:z.pageSize,total:C},tableContainerComponentSx:{mb:2},onSortClick:function(e){return Z((function(t){var n=Qo(e.propertyName);return t.sortField===n?0===t.sortOrder?Object(u.a)(Object(u.a)({},t),{},{sortField:n,sortOrder:1}):1===t.sortOrder?Object(u.a)(Object(u.a)({},t),{},{sortField:n,sortOrder:-1}):Object(u.a)(Object(u.a)({},t),{},{sortField:"",sortOrder:0}):Object(u.a)(Object(u.a)({},t),{},{sortField:n,sortOrder:1})}))},currentSort:{sortField:null!==(n=X.sortField)&&void 0!==n?n:"",sortOrder:null!==(r=X.sortOrder)&&void 0!==r?r:0},disableOpenCellDetailsModal:!!ke})]})},Os=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return[{propertyName:"actions",label:"Actions",width:t?80:e?210:170,isSticky:!0,cellAlign:"center",disableModalWithDetails:!0}]},gs=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return Object(_t.compact)([{propertyName:t?"agencyCode":"topLevelAgency",label:"Agency",order:0,isVisible:!0,sortable:!0,width:250,getSortableColumnPropertyName:e},{propertyName:"agencyName",label:"Mission / Bureau",order:0,isVisible:!0,sortable:!0,width:250,getSortableColumnPropertyName:e}].concat(Object(ee.a)(t?[null]:[{propertyName:"opportunityTitle",label:"Opportunity Title",order:0,isVisible:!0,sortable:!0,width:300,getSortableColumnPropertyName:e,maxNumberOfLines:3}]),[{propertyName:"description",label:"Description",order:0,isVisible:!0,sortable:!0,width:350,getSortableColumnPropertyName:e,maxNumberOfLines:3}],Object(ee.a)(t?[null]:[{propertyName:"status",label:"Opportunity Status",order:0,isVisible:!0,sortable:!0,width:200,getSortableColumnPropertyName:e}]),Object(ee.a)(t?[null]:[{propertyName:"manualLastUpdatedDate",label:"Last Updated Date",order:0,isVisible:!0,sortable:!0,width:200,cellFormatter:function(e){return new Date(e)&&new Date(e).toISOString().startsWith("0")?"N/A":e?Object(Qt.a)(Object(ot.e)(e),"dd MMMM yyyy"):null},getSortableColumnPropertyName:e}]),Object(ee.a)(t?[null]:[{propertyName:"opportunityNumber",label:"Opportunity Number",order:0,isVisible:!0,sortable:!0,width:250,getSortableColumnPropertyName:e}]),Object(ee.a)(t?[null]:[{propertyName:"fundingInstrumentDescription",label:"Funding Instrument Description",order:0,isVisible:!0,sortable:!0,width:200,getSortableColumnPropertyName:e}]),Object(ee.a)(t?[null]:[{propertyName:"opportunityCategoryDescription",label:"Opportunity Category",order:0,isVisible:!0,sortable:!0,width:200,getSortableColumnPropertyName:e}]),Object(ee.a)(t?[null]:[{propertyName:"fundingActivityDescription",label:"Category of Funding Activity",order:0,isVisible:!0,sortable:!0,width:200,getSortableColumnPropertyName:e,maxNumberOfLines:2}]),[{propertyName:"numberOfAwards",label:"Expected Number of Awards",order:0,isVisible:!0,sortable:!0,width:200,getSortableColumnPropertyName:e}],Object(ee.a)(t?[null]:[{propertyName:"cfdas",label:"CFDA Number(s)",order:0,isVisible:!0,sortable:!1,width:250,getSortableColumnPropertyName:e}]),[{propertyName:"costSharing",label:"Cost Sharing or Matching Requirement",order:0,isVisible:!0,sortable:!0,width:250,getSortableColumnPropertyName:e,cellAlign:"center",headerAlign:"center"},{propertyName:"version",label:"Version",order:0,isVisible:!0,sortable:!0,width:150,getSortableColumnPropertyName:e,disableModalWithDetails:!0,cellAlign:"center",headerAlign:"center"}],Object(ee.a)(t?[null]:[{propertyName:"originalDueDate",label:"Original Closing Date for Applications",order:0,isVisible:!0,sortable:!0,width:250,getSortableColumnPropertyName:e,cellFormatter:function(e){return new Date(e)&&new Date(e).toISOString().startsWith("0")?"N/A":e?Object(Qt.a)(Object(ot.e)(e),"dd MMMM yyyy"):null},disableModalWithDetails:!0}]),[{propertyName:"responseDate",label:t?"Response Date":"Current Closing Date for Applications",order:0,isVisible:!0,sortable:!0,width:250,getSortableColumnPropertyName:e,cellFormatter:function(e){return new Date(e)&&new Date(e).toISOString().startsWith("0")?"N/A":e?Object(Qt.a)(Object(ot.e)(e),"dd MMMM yyyy"):null},disableModalWithDetails:!0},{propertyName:"postingDate",label:"Posting Date",order:0,isVisible:!0,sortable:!0,width:250,getSortableColumnPropertyName:e,cellFormatter:function(e){return new Date(e)&&new Date(e).toISOString().startsWith("0")?"N/A":e?Object(Qt.a)(Object(ot.e)(e),"dd MMMM yyyy"):null},disableModalWithDetails:!0},{propertyName:"archiveDate",label:"Archive Date",order:0,isVisible:!0,sortable:!0,width:250,getSortableColumnPropertyName:e,cellFormatter:function(e){return new Date(e)&&new Date(e).toISOString().startsWith("0")?"N/A":e?Object(Qt.a)(Object(ot.e)(e),"dd MMMM yyyy"):null},disableModalWithDetails:!0},{propertyName:"estimatedFundingFormatted",label:"Estimated Total Program Funding",order:0,isVisible:!0,sortable:!0,width:200,getSortableColumnPropertyName:e},{propertyName:"awardCeilingFormatted",label:"Award Ceiling",order:0,isVisible:!0,sortable:!0,width:200,getSortableColumnPropertyName:e},{propertyName:"awardFloorFormatted",label:"Award Floor",order:0,isVisible:!0,sortable:!0,width:200,getSortableColumnPropertyName:e}],Object(ee.a)(t?[{propertyName:"modComments",label:"Modification Comments",order:0,isVisible:!0,sortable:!1,width:400,getSortableColumnPropertyName:e}]:[{propertyName:"applicantTypeDescription",label:"Eligible Applicants",order:0,isVisible:!0,sortable:!1,width:400,getSortableColumnPropertyName:e}]),[{propertyName:"applicantEligibilityDescription",label:"Additional Information on Eligibility",order:0,isVisible:!0,sortable:!0,width:400,getSortableColumnPropertyName:e},{propertyName:"agencyContactName",label:"Contact Name",order:0,isVisible:!0,sortable:!0,width:200,getSortableColumnPropertyName:e},{propertyName:"agencyContactDescription",label:"Contact Description",order:0,isVisible:!0,sortable:!0,width:300,getSortableColumnPropertyName:e},{propertyName:"agencyContactEmail",label:"Contact Email",order:0,isVisible:!0,sortable:!0,width:200,getSortableColumnPropertyName:e},{propertyName:"agencyContactPhone",label:"Contact Phone",order:0,isVisible:!0,sortable:!0,width:200,getSortableColumnPropertyName:e}],Object(ee.a)(t?[{propertyName:"sendEmail",label:"Send Email",order:0,isVisible:!0,sortable:!0,width:200,getSortableColumnPropertyName:e}]:[null]),Object(ee.a)(t?[null]:[{propertyName:"adminActions",label:"Admin Actions",order:0,isVisible:!0,disableModalWithDetails:!0,cellAlign:"center",headerAlign:"center",hiddenBasedOnRole:!0,width:80}])))},xs=function(e){var t=e.control,n=(Object(Zt.b)(),Object(a.useContext)(j.d),Object(Zt.c)((function(e){return e.grants})).dropdownOptions),r=n.country.items,i=n.categories.items;return Object(S.jsxs)(S.Fragment,{children:[Object(S.jsx)(Fa.a,{type:"text",fullWidth:!0,sx:{"& .MuiFormLabel-root":{fontSize:"0.875em",lineHeight:"1.875em"}},name:"filter",control:t,label:"KEYWORD SEARCH GRANTS+ PROCUREMENTS DATA"}),Object(S.jsx)(Fa.a,{type:"text",fullWidth:!0,sx:{"& .MuiFormLabel-root":{fontSize:"0.875em",lineHeight:"1.875em"}},name:"fileKeyword",control:t,label:"KEYWORD SEARCH IN-DOCUMENT TEXT"}),Object(S.jsx)(Fa.a,{type:"combo-box",withCheckboxes:!0,sx:{"& .MuiFormLabel-root":{fontSize:"0.875em",lineHeight:"1.875em"}},control:t,name:"country",label:"MISSION / BUREAU",options:r,fullWidth:!0,multiple:!0}),Object(S.jsx)(Fa.a,{type:"combo-box",withCheckboxes:!0,sx:{"& .MuiFormLabel-root":{fontSize:"0.875em",lineHeight:"1.875em"}},control:t,name:"category",label:"TECHNICAL SECTOR",options:i,fullWidth:!0,multiple:!0}),Object(S.jsx)(Fa.a,{type:"text",fullWidth:!0,sx:{"& .MuiFormLabel-root":{fontSize:"0.875em",lineHeight:"1.875em"}},name:"opportunityNumber",control:t,label:"OPPORTUNITY NUMBER"}),Object(S.jsx)(Fa.a,{type:"text",fullWidth:!0,sx:{"& .MuiFormLabel-root":{fontSize:"0.875em",lineHeight:"1.875em"}},name:"fileName",control:t,label:"FILE NAME"}),Object(S.jsx)(Fa.a,{type:"text",fullWidth:!0,sx:{"& .MuiFormLabel-root":{fontSize:"0.875em",lineHeight:"1.875em"}},name:"eligibility",control:t,label:"ELIGIBILITY"}),Object(S.jsx)(Fa.a,{type:"date",sx:{"& .MuiFormLabel-root":{fontSize:"0.875em",lineHeight:"1.875em"}},name:"updatedBy",control:t,label:"SEARCH GRANTS+ UPDATES SINCE"})]})},vs={addToPipeline:null===(_c=n(382))||void 0===_c?void 0:_c.default},ys=function(e){var t=e.onShareClick,n=e.item,a=e.canShare,r=e.onViewDetailsClick,i=e.addToPipelinesOpen,c=(e.setAddToPipelinesOpen,e.handleOpenAddToPipelines),o=e.handleCloseAddToPipelines,s=Object(Nt.a)(),l=Object(Zt.c)((function(e){return e.pipelines.pipelinesForRecord})),d=(l.items,l.itemsFor),p=l.fetchStatus;return Object(S.jsxs)(v.a,{sx:Object(u.a)({display:"flex",gap:1,width:"min-content"},!a&&{justifyContent:"center",width:"auto"}),children:[a&&Object(S.jsx)(Zo.a,{querySelectors:"[data-virtuoso-scroller]",title:"Share",children:Object(S.jsx)(Me.a,{color:"primary",sx:{border:"solid 2px",backgroundColor:Object(Go.a)(s.palette.primary.main,.1)},onClick:t,children:Object(S.jsx)(la.a,{fontSize:"small",sx:{transform:"scale(-1, 1)",width:"24px",height:"24px"}})})}),Object(S.jsx)(Zo.a,{querySelectors:"[data-virtuoso-scroller]",title:"Add to pipeline(s)".concat(Gt.a.isError(p)?" (DISABLED - pipelines couldn't be loaded)":""),tooltipProps:{disableInteractive:!0,disableHoverListener:!!i},children:Object(S.jsx)(Vn.a,{onClose:o,open:!!i&&i===n.id,disableFocusListener:!0,disableHoverListener:!0,disableTouchListener:!0,disableInteractive:!1,PopperProps:{disablePortal:!1,sx:{"&[data-popper-reference-hidden]":{}}},title:Object(S.jsx)(ja.a,{handleCloseAddToPipelines:o,item:n,source:"grants"}),slotProps:{tooltip:{sx:{backgroundColor:"rgb(97,97,97)",minWidth:"350px"}}},children:Object(S.jsx)("span",{children:Object(S.jsxs)(Me.a,{sx:Object(u.a)({border:"solid 2px",backgroundColor:0===n.numberIncludedPipelines?Object(Go.a)(s.palette.success.main,.1):s.palette.success.main},0!==n.numberIncludedPipelines&&{"&:hover":{backgroundColor:Object(Go.a)(s.palette.success.main,.85)}}),color:"success",onClick:function(){return c(n)},children:[Object(S.jsx)("img",{src:vs.addToPipeline,alt:"map",style:{width:"26px",height:"26px",marginTop:"2px",filter:0===n.numberIncludedPipelines?"hue-rotate(270deg) brightness(0.8)":"brightness(0) invert(1)"}}),(null===n||void 0===n?void 0:n.numberIncludedPipelines)>0&&Object(S.jsx)(qe.a,{sx:{position:"absolute",height:"16px",width:"16px",top:"-8px",right:"-8px",fontSize:"12px",backgroundColor:s.palette.secondary.main},children:null===n||void 0===n?void 0:n.numberIncludedPipelines}),d===n.id&&Gt.a.isFetching(p)&&Object(S.jsx)(v.a,{sx:{position:"absolute",top:"-13px",right:"-10px"},children:Object(S.jsx)(X.a,{size:20,thickness:5})})]})})})}),Object(S.jsx)(Zo.a,{querySelectors:"[data-virtuoso-scroller]",title:"grants.gov link",children:Object(S.jsx)(Me.a,{sx:{border:"solid 2px",backgroundColor:Object(Go.a)(s.palette.primary.main,.1)},color:"primary",component:"a",href:"https://grants.gov/search-results-detail/".concat(null===n||void 0===n?void 0:n.id),target:"_blank",rel:"noreferrer noopener",disabled:!n.id,children:Object(S.jsx)(qo.a,{sx:{width:"24px",height:"24px"}})})}),Object(S.jsx)(Zo.a,{querySelectors:"[data-virtuoso-scroller]",title:"View details",children:Object(S.jsx)(Me.a,{color:"primary",sx:{border:"solid 2px",backgroundColor:Object(Go.a)(s.palette.primary.main,.1)},onClick:r,children:Object(S.jsx)(wo.a,{fontSize:"small",sx:{width:"24px",height:"24px"}})})}),Object(S.jsx)(Zo.a,{title:"Go to opportunity profile page",querySelectors:"[data-virtuoso-scroller]",children:Object(S.jsx)(Me.a,{color:"primary",sx:{border:"solid 2px",backgroundColor:Object(Go.a)(s.palette.info.main,.1)},component:"a",href:"/grants/".concat(null===n||void 0===n?void 0:n.id),target:"_blank",disabled:!(null===n||void 0===n?void 0:n.id),children:Object(S.jsx)(_o.a,{fontSize:"small",sx:{width:"24px",height:"24px"}})})})]})},Cs=[{sortField:"createdOn",label:"Most recent",sortOrder:-1},{sortField:"createdOn",label:"Oldest",sortOrder:1},{sortField:"fileName",label:"Name: A \u2192 Z",sortOrder:1},{sortField:"fileName",label:"Name: Z \u2192 A",sortOrder:-1},{sortField:"disable-sort",label:"Disable sorting",sortOrder:0}],As=function(e){var t=e.open,n=e.openFor,r=e.handleCloseDetailsModal,i=Object(Zt.b)(),c=Object(a.useContext)(j.d),s=Object(Nt.a)(),b=Object(p.g)(),m=Object(j.g)(c,j.a.EditPrimesAndQuarterlyCallInfo),f=Object(Zt.c)((function(e){return e.grants.details})),h=f.fetchStatus,O=f.files,x=f.matchingFiles,C=f.records,A=Object(a.useState)("files"),w=Object(o.a)(A,2),N=w[0],E=w[1],I=Object(a.useState)(Cs[0]),D=Object(o.a)(I,2),F=D[0],k=D[1],T=Object(a.useState)(!1),R=Object(o.a)(T,2),P=R[0],M=R[1],U=function(){var e=Object(d.a)(l.a.mark((function e(){return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:M(!0),V.a.post(Object(L.f)("/api/grant/details/".concat(n.id,"/getzip"),{useDedicatedEnvironment:!0}),{},Object(u.a)(Object(u.a)({},Object(L.b)(c)),{},{responseType:"blob"})).then(function(){var e=Object(d.a)(l.a.mark((function e(t){var n;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:n="export-".concat((new Date).valueOf(),".zip");try{n=t.headers["content-disposition"].split(";")[1].replace("filename=","").replaceAll('"',"").trim()}catch(a){}Object(yi.saveAs)(new Blob([t.data]),n),M(!1);case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()).catch((function(e){q.a.error("Error fetching data."),M(!1)}));case 2:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();return Object(a.useEffect)((function(){if(t){var e=Object(Mt.a)(b.location.search,["fileKeyword","fileName"]);(null===n||void 0===n?void 0:n.id)&&i(Object(ha.d)({context:c,params:Object(u.a)({id:n.id},e)}))}else setTimeout((function(){E("files"),i(Object(ha.a)())}),150)}),[t]),Object(S.jsx)(ca.a,{open:t,handleClose:r,title:"Opportunity Details",minWidth:"800px",loading:Gt.a.isFetching(h),disableCancelButton:!0,handleAccept:r,acceptLabel:"Close",children:Object(S.jsxs)(Dt.a,{children:[Object(S.jsx)(v.a,{sx:{minHeight:"144px",display:"flex"},children:null!==n&&Object(S.jsx)(ya.b,{config:{columns:gs(Kn).filter((function(e){return!(null===e||void 0===e?void 0:e.hiddenBasedOnRole)||m})).filter((function(e){return"adminActions"!==(null===e||void 0===e?void 0:e.propertyName)})),stickyColumns:Os(!1,!0),data:[n].map((function(e){var t;return Object(u.a)(Object(u.a)({},e),{},{actions:Object(S.jsx)(Vn.a,{title:"Open in new tab",children:Object(S.jsx)("span",{children:Object(S.jsx)(Me.a,{sx:{border:"solid 2px",backgroundColor:Object(Go.a)(s.palette.primary.main,.1)},color:"primary",component:"a",href:"https://grants.gov/search-results-detail/".concat(null===e||void 0===e?void 0:e.id),target:"_blank",rel:"noreferrer noopener",children:Object(S.jsx)(qo.a,{sx:{width:"24px",height:"24px"}})})})}),cfdas:"
".concat((e.cfdas||[]).map((function(e){return"

".concat(e,"

")})),"
"),costSharing:e.costSharing?"YES":"NO",fundingActivityDescription:null!==(t=e.fundingActivityDescription.join(", "))&&void 0!==t?t:"",estimatedFundingFormatted:Jn(e.estimatedFundingFormatted),awardCeilingFormatted:Jn(e.awardCeilingFormatted),awardFloorFormatted:Jn(e.awardFloorFormatted),applicantTypeDescription:Object(Yn.a)(e.applicantTypeDescription).replace("–","\u2013"),agencyContactDescription:(e.agencyContactDescription||"").replace(/\ /g,"").replace(/&/g,"&").replace(/ñ/g,"\xf1")})})),header:Object(S.jsx)(v.a,{}),allowFullscreen:!1,rowHeight:82},TableContainerComponent:v.a,tableContainerComponentSx:{mt:"-24px",mb:"16px",border:"solid 1px ".concat(s.palette.divider)},loading:!1,onPageChange:function(){},onRowsPerPageChange:function(){},pagination:{page:0,rowsPerPage:0,total:0},paginationDisabled:{disabled:!0,disabledMessage:""}})}),Object(S.jsxs)(as.a,{value:N,children:[Object(S.jsx)(It.a,{color:"primary",onClick:function(){return"files"!==N&&E("files")},value:"files",label:"Attachments"}),Object(S.jsx)(It.a,{color:"primary",onClick:function(){return"recordHistory"!==N&&E("recordHistory")},value:"recordHistory",label:"grants.gov history"})]}),Object(S.jsx)(Tt.a,{}),Object(S.jsx)(v.a,{sx:Object(u.a)({py:2},"recordHistory"===N&&{pb:0}),children:"files"===N?Object(S.jsxs)(S.Fragment,{children:[Object(S.jsxs)(v.a,{sx:{display:"flex",gap:1},children:[Object(S.jsx)(it.a,{variant:"contained",endIcon:Object(S.jsxs)(S.Fragment,{children:[" ",Object(S.jsx)(ls.a,{sx:{height:"24px !important",width:"24px !important"}}),P&&Object(S.jsx)(X.a,{size:16,sx:{color:"white"}})]}),sx:{height:"56px"},onClick:U,disabled:P||!O.length,children:"Download All"}),Object(S.jsx)(dn.a,{select:!0,InputLabelProps:{shrink:!0},value:"".concat(F.sortField,"-").concat(F.sortOrder),placeholder:"Select sort option",label:"Sort",sx:{minWidth:"250px"},onChange:function(e){return k((function(){var t;return null!==(t=Cs.find((function(t){return e.target.value==="".concat(t.sortField,"-").concat(t.sortOrder)})))&&void 0!==t?t:Cs[0]}))},children:Cs.map((function(e,t){return Object(S.jsx)(un.a,{value:"".concat(e.sortField,"-").concat(e.sortOrder),children:e.label},t)}))})]}),Object(S.jsx)(v.a,{sx:{height:"348px",overflowY:"scroll",my:1},children:O.length>0?Object(ee.a)(O).sort((function(e,t){return"disable-sort"===F.sortField?0:e[F.sortField]>t[F.sortField]?F.sortOrder:-F.sortOrder})).map((function(e,t){return Object(S.jsx)(os,{file:{name:e.fileName,description:e.fileDescription,createdOn:e.createdOn,uri:"".concat(g.c).concat(encodeURIComponent(e.fileName))},highlight:{show:x.includes(e.fileName),text:"(Keyword match in document)"},source:"grants"})})):Gt.a.isDone(h)?Object(S.jsx)(y.a,{variant:"h6",color:"textSecondary",children:"No files found"}):Gt.a.isFetching(h)&&Object(S.jsx)(v.a,{sx:{display:"flex",justifyContent:"center"},children:Object(S.jsx)(X.a,{})})})]}):Object(S.jsx)(v.a,{sx:{minHeight:"438px",display:"flex"},children:Object(S.jsx)(ya.b,{config:{columns:gs(Kn,!0).filter((function(e){return!(null===e||void 0===e?void 0:e.hiddenBasedOnRole)||m})).filter((function(e){return"adminActions"!==(null===e||void 0===e?void 0:e.propertyName)})),data:C.map((function(e){return Object(u.a)(Object(u.a)({},e),{},{cfdas:"
".concat((e.cfdas||[]).map((function(e){return"

".concat(e,"

")})),"
"),costSharing:e.costSharing?"YES":"NO",estimatedFundingFormatted:Jn(e.estimatedFundingFormatted),awardCeilingFormatted:Jn(e.awardCeilingFormatted),awardFloorFormatted:Jn(e.awardFloorFormatted),applicantTypeDescription:Object(Yn.a)(e.applicantTypeDescription).replace("–","\u2013"),agencyContactDescription:(e.agencyContactDescription||"").replace(/\ /g,"").replace(/&/g,"&").replace(/ñ/g,"\xf1")})})),header:Object(S.jsx)(v.a,{}),allowFullscreen:!1},TableContainerComponent:v.a,tableContainerComponentSx:{mt:"-24px",mb:"16px"},loading:Gt.a.isFetching(h),onPageChange:function(){},onRowsPerPageChange:function(){},pagination:{page:0,rowsPerPage:0,total:0},paginationDisabled:{disabled:!0,disabledMessage:""}})})})]})})},ws={filter:"",country:[],opportunityNumber:"",category:[],sortField:"manualLastUpdatedDate",sortOrder:-1,onlyMyList:!1,includeUsaid:!0,includeMcc:!1,includeStateDept:!1,includeCdc:!1,fileName:"",fileKeyword:"",updatedBy:Date.today().addMonths(-6),status:"",onlyUntrackedInPipeline:!1,eligibility:""},Ss={manualLastUpdatedDate:null},Ns={pageIndex:0,pageSize:lt.b[0]},Es="grantsColumnsSettingsKey",Is="grants-filters-form",Ds="ADMIN_EDIT_FORM_ID",Fs=function(){var e,t,n,r,i=Object(Zt.b)(),c=Object(p.g)(),s=Object(Nt.a)(),b=Object(a.useContext)(j.d),m=Object(j.h)(b,j.b.plusOrHigher),f=Object(j.h)(b,j.b.proOrHigher),h=m||f,O=Object(j.g)(b,j.a.EditPrimesAndQuarterlyCallInfo)||Object(j.e)(b,j.a.semiAdmin),g=Object(Zt.c)((function(e){return e.grants})),x=g.items,C=g.fetchStatus,A=g.total,w=g.lastUpdatedUtc,N=g.shareOpportunities.postFetchStatus,E=(g.dropdownOptions,Object(Zt.c)((function(e){return e.pipelines}))),I=E.rawItems,D=(E.items,E.fetchStatus),F=E.addOrRemoveFromPipelines.postFetchStatus,k=Object(Zt.c)((function(e){return e.userSettings})).tableSettings,T=k.columnsOrder,R=k.fetchStatus,P=Object(Zt.c)((function(e){return e.grants.updateGrantsRecord})).fetchStatus,M=Object(Zt.c)((function(e){return e.pipelines.pipelinesForRecord})),U=M.fetchStatus,L=M.itemsFor,B=function(){var e=Object(Mt.a)(c.location.search,Object.keys(ws),[],["onlyMyList","includeUsaid","includeMcc","includeStateDept","includeCdc","onlyUntrackedInPipeline"],["sortOrder"],["country","category"]),t=Object(Mt.a)(c.location.search,Object.keys(Ns),[],[],["pageIndex","pageSize"]);return{filters:Object(u.a)(Object(u.a)({},ws),e),pagination:Object(u.a)(Object(u.a)({},Ns),t)}},V=Object(Ra.b)({defaultValues:B().filters}),Q=V.control,W=V.handleSubmit,H=V.reset,z=(V.setValue,V.getValues,Object(Ra.b)({defaultValues:Ss})),Y=z.control,G=z.handleSubmit,K=z.reset,X=z.setValue,Z=(z.getValues,Object(a.useState)(B().pagination)),J=Object(o.a)(Z,2),_=J[0],$=J[1],ee=Object(a.useState)(B().filters),te=Object(o.a)(ee,2),ne=te[0],ae=te[1],re=Object(a.useState)(!1),ie=Object(o.a)(re,2),ce=ie[0],oe=ie[1],se=Object(a.useState)(!1),le=Object(o.a)(se,2),de=le[0],ue=le[1],pe=Object(a.useState)([]),be=Object(o.a)(pe,2),je=be[0],me=be[1],fe=Object(a.useState)(!1),he=Object(o.a)(fe,2),Oe=he[0],ge=he[1],xe=Object(a.useState)(null),ve=Object(o.a)(xe,2),ye=ve[0],Ce=ve[1],Ae=Object(a.useState)(!1),we=Object(o.a)(Ae,2),Se=we[0],Ne=we[1],Ee=Object(a.useState)(null),Ie=Object(o.a)(Ee,2),Fe=Ie[0],ke=Ie[1],Te=Object(a.useState)(!1),Re=Object(o.a)(Te,2),Pe=Re[0],Ue=Re[1],Le=Object(a.useState)(null),Be=Object(o.a)(Le,2),Ve=Be[0],Qe=Be[1],We=Object(a.useState)(""),He=Object(o.a)(We,2),ze=He[0],Ye=He[1],Ge=Object(a.useState)(null),Ke=Object(o.a)(Ge,2),qe=Ke[0],Xe=Ke[1],Ze=Os(h),Je=function(e){var t=e;switch(e){case"manualLastUpdatedDate":t="lastUpdatedDate"}return t},_e=function(){return Object(u.a)(Object(u.a)({},_),Object.fromEntries(Object.entries(ne).filter((function(e){var t=Object(o.a)(e,2),n=(t[0],t[1]);return"string"===typeof n||Array.isArray(n)?(null===n||void 0===n?void 0:n.length)>0:null!==n})).map((function(e){var t=Object(o.a)(e,2),n=t[0],a=t[1];return Array.isArray(a)?[n,a.map((function(e){return e.hasOwnProperty("value")?e.value:e}))]:[n,"sortField"===n?Je(a):a]}))))},$e=Object(a.useCallback)(Object(_t.debounce)((function(e){ae((function(t){return Object(u.a)(Object(u.a)({},t),{},{filter:e})}))}),750),[]),et=function(){Ue(!1),setTimeout((function(){Qe(null),K(Ss)}),150)},tt=function(){oe(!1)},nt=function(){tt(),setTimeout((function(){H({filter:ne.filter,country:ne.country,opportunityNumber:ne.opportunityNumber,category:ne.category,sortField:ne.sortField,sortOrder:ne.sortOrder,onlyMyList:ne.onlyMyList,includeUsaid:ne.includeUsaid,includeMcc:ne.includeMcc,includeStateDept:ne.includeStateDept,includeCdc:ne.includeCdc,fileName:ne.fileName,fileKeyword:ne.fileKeyword,updatedBy:ne.updatedBy,status:ne.status,onlyUntrackedInPipeline:ne.onlyUntrackedInPipeline,eligibility:ne.eligibility})}),150)},at=function(){var e=Object(d.a)(l.a.mark((function e(){return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:i(Object(va.i)({pipelines:I}));case 1:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),rt=function(e){var t=e.id;qe?(ct(),setTimeout((function(){i(Object(va.h)(t)),i(Object(va.c)({context:b,table:"grants",recordId:t}))}),100)):(i(Object(va.h)(t)),i(Object(va.c)({context:b,table:"grants",recordId:t})))},ct=function(){Xe(null),i(Object(va.h)(null)),i(Object(va.f)())};return Object(a.useEffect)((function(){Gt.a.isDone(U)&&null!==L&&!qe&&Xe(L),Gt.a.isError(U)&&q.a.error("Pipeline data for this row couldn't be loaded. Try again later.")}),[U,L]),Object(a.useEffect)((function(){(Gt.a.isDone(R)||Gt.a.isError(R))&&me(gs(Kn,!1).filter((function(e){return!(null===e||void 0===e?void 0:e.hiddenBasedOnRole)||O})).map((function(e,t){var n,a,r,i;return Object(u.a)(Object(u.a)({},e),{},{order:null!==(n=null===(a=T.find((function(t){return t.propertyName===e.propertyName})))||void 0===a?void 0:a.order)&&void 0!==n?n:t,isVisible:null!==(r=null===(i=T.find((function(t){return t.propertyName===e.propertyName})))||void 0===i?void 0:i.isVisible)&&void 0!==r?r:e.isVisible})})).sort((function(e,t){return e.order-t.order})))}),[R,Kn]),Object(a.useEffect)((function(){return i(Object(va.b)(b)),i(Object(Jt.a)({context:b,key:Es})),i(Object(ha.c)({context:b})),i(Object(ha.b)({context:b})),function(){me([]),i(Object(Jt.f)()),i(Object(ha.g)()),i(Object(va.e)()),i(Object(va.g)()),i(Object(va.f)())}}),[]),Object(a.useEffect)((function(){Gt.a.isNull(C)||0!==c.location.search.length?i(Object(ha.e)({context:b,params:Object(u.a)({},_e())})):ue(!0)}),[c.location]),Object(a.useEffect)((function(){de&&($(Ns),ae(ws),H(ws),setTimeout((function(){return ue(!1)}),150))}),[de]),Object(a.useEffect)((function(){Gt.a.isNull(C)||c.push("/grants".concat(Object(Gn.a)(Object(u.a)({},_e()))))}),[_.pageIndex,_.pageSize]),Object(a.useEffect)((function(){Gt.a.isNull(C)||de||(_.pageIndex>0?$((function(e){return Object(u.a)(Object(u.a)({},e),{},{pageIndex:0})})):c.push("/grants".concat(Object(Gn.a)(Object(u.a)({},_e())))))}),[ne,de]),Object(a.useEffect)((function(){Gt.a.isHalfDone(D)?at():Gt.a.isError(D)&&(q.a.error("Couldn't load pipelines details for Grants. Try again later."),i(Object(va.g)()))}),[D]),Object(a.useEffect)((function(){Gt.a.isNull(F)||(Gt.a.isDone(F)?q.a.success("Pipelines modified"):Gt.a.isError(F)&&q.a.error("There was an error performing this operation."),i(Object(va.b)(b)),qe&&ct(),i(Object(va.e)()),i(Object(ha.e)({context:b,params:Object(u.a)({},_e())})))}),[F]),Object(a.useEffect)((function(){Gt.a.isDone(N)&&(q.a.success("Opportunity shared successfully"),i(Object(ha.g)()),ge(!1)),Gt.a.isError(N)&&q.a.error("There was an error sharing this opportunity.")}),[N]),Object(a.useEffect)((function(){Gt.a.isDone(P)&&(q.a.success("Record successfully updated"),i(Object(ha.h)()),et(),i(Object(ha.e)({context:b,params:Object(u.a)({},_e())}))),Gt.a.isError(P)&&q.a.error("There was an error updating this record.")}),[P]),Object(S.jsxs)(S.Fragment,{children:[Object(S.jsx)(As,{open:Se,openFor:Fe,handleCloseDetailsModal:function(){Ne(!1),setTimeout((function(){ke(null)}),150)}}),Object(S.jsx)(xa.a,{open:Oe,handleClose:function(){return ge(!1)},openFor:ye,onSubmit:function(e){i(Object(ha.i)(Object(u.a)({context:b},e)))},shareFetchStatus:N,type:"grants"}),Object(S.jsxs)(_i.a,{open:ce,onClose:nt,variant:"temporary",anchor:"right",sx:{zIndex:2147483639},PaperProps:{sx:{width:"480px","& > div":{px:2}}},children:[Object(S.jsxs)(v.a,{sx:{display:"flex",alignItems:"center",gap:"16px",backgroundColor:s.palette.secondary.light,borderBottom:"solid 3px ".concat(s.palette.secondary.main),py:3},children:[Object(S.jsx)(Wn.a,{}),Object(S.jsx)(y.a,{variant:"h5",children:"Filters"})]}),Object(S.jsx)(v.a,{sx:{py:2,overflowY:"scroll",flex:1},children:Object(S.jsx)("form",{onSubmit:W((function(e){Object(ns.a)(e,(function(){ae((function(t){var n;return Object(u.a)(Object(u.a)({},t),Object.fromEntries(null===(n=Object.entries(e))||void 0===n?void 0:n.filter((function(e){var t=Object(o.a)(e,2),n=t[0];t[1];return!n.includes("include")&&!n.includes("sort")&&"onlyUntrackedInPipeline"!==n}))))})),tt()}))})),id:Is,style:{display:"flex",flexDirection:"column",alignItems:"center",gap:"20px"},children:Object(S.jsx)(xs,{control:Q})})}),Object(S.jsx)(Tt.a,{}),Object(S.jsxs)(v.a,{sx:{display:"flex",alignItems:"center",justifyContent:"flex-end",gap:"16px",py:2},children:[Object(S.jsx)(it.a,{variant:"secondaryContained",color:"secondary",onClick:nt,children:"Cancel"}),Object(S.jsx)(it.a,{variant:"secondaryContained",color:"secondary",onClick:function(){H(ws)},children:"Clear"}),Object(S.jsx)(it.a,{variant:"contained",color:"secondary",type:"submit",form:Is,children:"Save"})]})]}),Object(S.jsx)(ca.a,{open:Pe,handleClose:et,acceptButtonType:"submit",form:Ds,title:"Update data of ".concat(null===Ve||void 0===Ve?void 0:Ve.opportunityTitle),minWidth:"600px",acceptLabel:"Save",acceptButtonLoading:Gt.a.isFetching(P),children:Object(S.jsx)(v.a,{sx:{display:"flex",gap:4,py:1},children:Object(S.jsx)("form",{id:Ds,onSubmit:G((function(e){console.log(e),(null===Ve||void 0===Ve?void 0:Ve.id)&&i(Object(ha.j)({context:b,id:Ve.id,values:e}))})),style:{width:"100%"},children:Object(S.jsx)(Fa.a,{type:"date",fullWidth:!0,name:"manualLastUpdatedDate",control:Y,label:"Last Updated Date"})})})}),je.length>0&&Object(S.jsx)(ya.b,{config:{data:x.map((function(e){return Object(u.a)(Object(u.a)({},e),{},{actions:Object(S.jsx)(ys,{onShareClick:function(){return function(e){ge(!0),Ce(e)}(e)},item:e,canShare:h,onViewDetailsClick:function(){return function(e){Ne(!0),ke(e)}(e)},addToPipelinesOpen:qe,setAddToPipelinesOpen:Xe,handleOpenAddToPipelines:rt,handleCloseAddToPipelines:ct}),adminActions:Object(S.jsx)(Vn.a,{title:"Edit",children:Object(S.jsx)("span",{children:Object(S.jsx)(Me.a,{sx:{border:"solid 2px",backgroundColor:Object(Go.a)(s.palette.success.main,.1),position:"unset"},color:"success",onClick:function(){return function(e){Ue(!0),Qe(e),X("manualLastUpdatedDate",e.manualLastUpdatedDate?Object(ot.e)(e.manualLastUpdatedDate):null)}(e)},children:Object(S.jsx)(za.a,{})})})}),cfdas:"
".concat((e.cfdas||[]).map((function(e){return"

".concat(e,"

")})),"
"),costSharing:e.costSharing?"YES":"NO",estimatedFundingFormatted:Jn(e.estimatedFundingFormatted),awardCeilingFormatted:Jn(e.awardCeilingFormatted),awardFloorFormatted:Jn(e.awardFloorFormatted),applicantTypeDescription:Object(Yn.a)(e.applicantTypeDescription).replace("–","\u2013"),agencyContactDescription:(e.agencyContactDescription||"").replace(/\ /g,"").replace(/&/g,"&").replace(/ñ/g,"\xf1")})})),columns:je,stickyColumns:Ze,header:qn(s,{fetchStatus:C,inputValue:ze,allFilters:{pagination:_,filters:Object.fromEntries(Object.entries(ne).filter((function(e){var t=Object(o.a)(e,2),n=t[0];t[1];return!n.includes("sort")})).map((function(e){var t=Object(o.a)(e,2);return[t[0],t[1]]}))),sortOption:{sortField:null!==(e=ne.sortField)&&void 0!==e?e:"",sortOrder:null!==(t=ne.sortOrder)&&void 0!==t?t:0}},lastUpdated:w?"".concat(Object(Qt.a)(new Date(w),"dd MMMM yyyy"),", ").concat(Object(Qt.a)(new Date(w),"HH:mm ")):"N/A",onChange:function(e){Ye(e.target.value),$e(e.target.value)},handleOpenFilters:function(){oe(!0)},setFilters:ae}),exportExcelFunc:function(){var e=Object(d.a)(l.a.mark((function e(){return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(e.t0=De.e,e.t1="Aidkonekt_grants_plus_".concat((new Date).getFullYear()),e.t2=Xn,!Zn){e.next=9;break}return e.next=6,Zn(b,_e(),A);case 6:e.t3=e.sent,e.next=10;break;case 9:e.t3=x;case 10:return e.t4=e.t3,e.t5=(0,e.t2)(e.t4),e.abrupt("return",(0,e.t0)("Grants+",e.t1,e.t5));case 13:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),columnsConfiguration:{allowColumnsConfiguration:!0,onSaveColumnsConfiguration:function(e){i(Object(Jt.c)({context:b,key:Es,configuration:e}))},columnsSettingsKey:Es}},loading:Gt.a.isFetching(C)||Gt.a.isHalfDone(D)||Gt.a.isFetching(D),onPageChange:function(e,t){$((function(e){return Object(u.a)(Object(u.a)({},e),{},{pageIndex:t})}))},onRowsPerPageChange:function(e){$((function(t){return Object(u.a)(Object(u.a)({},t),{},{pageIndex:0,pageSize:+e.target.value})}))},pagination:{page:_.pageIndex,rowsPerPage:_.pageSize,total:A},tableContainerComponentSx:{mb:2},onSortClick:function(e){return ae((function(t){var n=Kn(e.propertyName);return t.sortField===n?0===t.sortOrder?Object(u.a)(Object(u.a)({},t),{},{sortField:n,sortOrder:1}):1===t.sortOrder?Object(u.a)(Object(u.a)({},t),{},{sortField:n,sortOrder:-1}):Object(u.a)(Object(u.a)({},t),{},{sortField:"",sortOrder:0}):Object(u.a)(Object(u.a)({},t),{},{sortField:n,sortOrder:1})}))},currentSort:{sortField:null!==(n=ne.sortField)&&void 0!==n?n:"",sortOrder:null!==(r=ne.sortOrder)&&void 0!==r?r:0},disableOpenCellDetailsModal:!!qe})]})},ks=Object(Rt.a)(Object(S.jsx)("svg",{width:"13",height:"14",viewBox:"0 0 13 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:Object(S.jsx)("path",{d:"M10.25 6.2625C10.0842 6.2625 9.92527 6.32835 9.80806 6.44556C9.69085 6.56277 9.625 6.72174 9.625 6.8875V11.375C9.625 11.5408 9.55915 11.6997 9.44194 11.8169C9.32473 11.9342 9.16576 12 9 12H2.125C1.95924 12 1.80027 11.9342 1.68306 11.8169C1.56585 11.6997 1.5 11.5408 1.5 11.375V4.5C1.5 4.33424 1.56585 4.17527 1.68306 4.05806C1.80027 3.94085 1.95924 3.875 2.125 3.875H6.6125C6.77826 3.875 6.93723 3.80915 7.05444 3.69194C7.17165 3.57473 7.2375 3.41576 7.2375 3.25C7.2375 3.08424 7.17165 2.92527 7.05444 2.80806C6.93723 2.69085 6.77826 2.625 6.6125 2.625H2.125C1.62772 2.625 1.15081 2.82254 0.799175 3.17417C0.447544 3.52581 0.25 4.00272 0.25 4.5V11.375C0.25 11.8723 0.447544 12.3492 0.799175 12.7008C1.15081 13.0525 1.62772 13.25 2.125 13.25H9C9.49728 13.25 9.97419 13.0525 10.3258 12.7008C10.6775 12.3492 10.875 11.8723 10.875 11.375V6.8875C10.875 6.72174 10.8092 6.56277 10.6919 6.44556C10.5747 6.32835 10.4158 6.2625 10.25 6.2625ZM12.7 1.1375C12.6366 0.984782 12.5152 0.863422 12.3625 0.8C12.2874 0.767974 12.2067 0.750987 12.125 0.75H8.375C8.20924 0.75 8.05027 0.815848 7.93306 0.933058C7.81585 1.05027 7.75 1.20924 7.75 1.375C7.75 1.54076 7.81585 1.69973 7.93306 1.81694C8.05027 1.93415 8.20924 2 8.375 2H10.6187L4.18125 8.43125C4.12267 8.48935 4.07617 8.55848 4.04444 8.63464C4.01271 8.7108 3.99638 8.79249 3.99638 8.875C3.99638 8.95751 4.01271 9.0392 4.04444 9.11536C4.07617 9.19152 4.12267 9.26065 4.18125 9.31875C4.23935 9.37733 4.30848 9.42383 4.38464 9.45556C4.4608 9.48729 4.54249 9.50362 4.625 9.50362C4.70751 9.50362 4.7892 9.48729 4.86536 9.45556C4.94152 9.42383 5.01065 9.37733 5.06875 9.31875L11.5 2.88125V5.125C11.5 5.29076 11.5658 5.44973 11.6831 5.56694C11.8003 5.68415 11.9592 5.75 12.125 5.75C12.2908 5.75 12.4497 5.68415 12.5669 5.56694C12.6842 5.44973 12.75 5.29076 12.75 5.125V1.375C12.749 1.29333 12.732 1.21264 12.7 1.1375Z",fill:"#828282"})}),"OpenInNew"),Ts=n(691),Rs=n.n(Ts),Ps=Object(Rt.a)(Object(S.jsxs)("svg",{width:"32",height:"32",viewBox:"0 0 24 24",version:"1.1",id:"svg1",xmlns:"http://www.w3.org/2000/svg",children:[Object(S.jsx)("defs",{id:"defs1"}),Object(S.jsx)("path",{fill:"currentColor",d:"M 14,9 V 5 l 7,7 -7,7 V 14.9 C 9,14.9 5.5,16.5 3,20 4,15 7,10 14,9",id:"path1"})]}),"ReplyReversed"),Ms=function(e){var t=e.pipelinesNumber,n=e.data,r=e.source,i=e.urlDisabled,c=e.id,s=e.handleOpenAddToPipelines,l=e.handleCloseAddToPipelines,d=e.addToPipelinesOpen,u=(e.setAddToPipelinesOpen,e.fetchStatus),p=e.item,b=e.shareOpportunitiesFetchStatus,j=e.onShareSubmit,m=void 0===j?void 0:j,f=e.handleResetShareOpportunitiesStatus,h=void 0===f?void 0:f,O=Object(Nt.a)(),g=Object(a.useState)(!1),x=Object(o.a)(g,2),C=x[0],w=x[1],N=Object(a.useState)(!1),E=Object(o.a)(N,2),I=E[0],D=E[1],F=Object(a.useState)(null),k=Object(o.a)(F,2),T=k[0],R=k[1],P=Object(a.useMemo)((function(){return ta(O,r)}),[O,r]),M=Object(a.useMemo)((function(){return function(e,t){return{forecast:{label:"usaid.gov",url:"https://www.usaid.gov/node/".concat(t)},contracts:{label:"sam.gov",url:"https://sam.gov/opp/".concat(t,"/view")},grants:{label:"grants.gov",url:"https://grants.gov/search-results-detail/".concat(t)}}[e]}(r,c)}),[r,c]),U=function(){D(!1)};return Object(a.useEffect)((function(){Gt.a.isDone(b)&&(q.a.success("Opportunity shared successfully"),null===h||void 0===h||h(),U()),Gt.a.isError(b)&&q.a.error("There was an error sharing this opportunity.")}),[b]),Object(S.jsxs)(S.Fragment,{children:[m&&Object(S.jsx)(xa.a,{open:I,handleClose:U,openFor:T,onSubmit:m,shareFetchStatus:b,type:r}),Object(S.jsxs)(v.a,{sx:{display:"flex",justifyContent:"space-between",alignItems:"center"},children:[Object(S.jsxs)(v.a,{sx:{display:"flex",alignItems:"center",flexWrap:"wrap","& > *":{alignItems:"center"}},children:[Object(S.jsx)(zt.a,{label:P.label,height:28,margin:"8px 24px 0 0",fontSize:"14px",color:O.palette.secondary.contrastText,backgroundColor:P.backgroundColor,borderRadius:"8px",icon:P.icon,sx:{"& > svg":{fill:O.palette.secondary.contrastText,height:"18px !important",width:"18px !important"}}}),Object(S.jsxs)(v.a,{sx:{display:"flex",flexWrap:"wrap","& > *":{mr:3,alignItems:"center",mt:1}},children:[Object.values(n).map((function(e,t){return Object(S.jsxs)(v.a,{sx:{display:"flex",gap:"4px","& > p":{fontSize:"14px"},"& > p, h6":{mt:"2px"},"& > svg":{fill:O.palette.text.secondary,height:"18px !important",width:"18px !important"}},children:[e.icon,Object(S.jsx)(y.a,{variant:"body2",color:"textSecondary",children:e.label}),Object(S.jsx)(y.a,{variant:"subtitle2",fontWeight:"600",color:"textPrimary",children:e.value})]},"top-bar-item-".concat(t))})),Object(S.jsxs)(v.a,{sx:{display:"flex",gap:"4px","& > *":{fontSize:"14px",mt:"-4px"},height:"22px"},children:[Object(S.jsx)(ks,{sx:{height:"18px !important",width:"18px !important",color:O.palette.text.secondary}}),Object(S.jsx)(it.a,{variant:"text",component:"a",sx:{cursor:"pointer",textDecoration:"none",fontWeight:"600",p:.5,height:"22px"},href:M.url,target:"_blank",rel:"noreferrer noopener",disabled:i,children:M.label})]})]})]}),Object(S.jsxs)(A.a,{direction:"row",spacing:1,children:[m&&Object(S.jsxs)(S.Fragment,{children:[Object(S.jsx)(Vn.a,{title:"Share opportunity",children:Object(S.jsx)("span",{children:Object(S.jsx)(Me.a,{color:"primary",sx:{border:"solid 2px",backgroundColor:Object(Go.a)(O.palette.primary.main,.1)},onClick:function(){D(!0),R(p)},children:Object(S.jsx)(Ps,{fontSize:"small",sx:{width:"24px",height:"24px"}})})})}),Object(S.jsx)(Vn.a,{title:"Download PDF",children:Object(S.jsx)("span",{children:Object(S.jsxs)(Me.a,{color:"info",sx:{border:"solid 2px",backgroundColor:Object(Go.a)(O.palette.primary.main,.1)},onClick:function(){var e=document.getElementById("root");if(e){var t=e.querySelector(".App > .p-grid > .p-col-fixed"),n=e.querySelector(".App > .p-grid.main-container > .p-col-fixed");if(t&&n){var a=t.clientHeight+n.clientHeight;window.scrollTo(0,0),e?(w(!0),oo()(e,{height:a,width:e.offsetWidth-230}).then((function(e){var t,n,a,r=e.toDataURL("image/png"),i=new so.a("album","px",[e.width,e.height]),c=i.internal.pageSize.getWidth(),o=i.internal.pageSize.getHeight();i.addImage(r,"PNG",0,0,c,o),i.save("".concat(null!==(t=null!==(n=null!==(a=null===p||void 0===p?void 0:p.awardTitle)&&void 0!==a?a:null===p||void 0===p?void 0:p.title)&&void 0!==n?n:null===p||void 0===p?void 0:p.opportunityTitle)&&void 0!==t?t:"Opportunity details",".pdf"))})).finally((function(){return w(!1)}))):w(!1)}}},children:[Object(S.jsx)(Rs.a,{sx:{height:"24px !important",width:"24px !important"}}),C&&Object(S.jsx)(X.a,{size:16,sx:{position:"absolute",left:"-6px",top:"-6px"}})]})})})]}),Object(S.jsx)(Vn.a,{onClose:l,open:d,disableFocusListener:!0,disableHoverListener:!0,disableTouchListener:!0,disableInteractive:!1,PopperProps:{disablePortal:!1,sx:{"&[data-popper-reference-hidden]":{}}},title:Object(S.jsx)(ja.a,{handleCloseAddToPipelines:l,item:p,source:r}),slotProps:{tooltip:{sx:{backgroundColor:"rgb(97,97,97)",minWidth:"350px"}}},children:Object(S.jsx)("span",{children:Object(S.jsxs)(it.a,{size:"small",variant:"contained",color:"success",startIcon:Object(S.jsx)(ua.a,{sx:{height:"24px !important",width:"24px !important"}}),sx:{borderRadius:"8px",minWidth:"140px",height:"31px !important"},onClick:s,children:["Pipelines (",t,")",Gt.a.isFetching(u)&&Object(S.jsx)(v.a,{sx:{position:"absolute",top:"-13px",right:"-10px"},children:Object(S.jsx)(X.a,{size:20,thickness:5})})]})})})]})]})]})},Us=n(1511),Ls=function(e){Object(St.a)(e);var t=Object(a.useState)("all"),n=Object(o.a)(t,2),r=n[0],i=n[1],c=function(e){r!==e&&i(e)};return Object(S.jsxs)(v.a,{sx:{display:"flex",flexDirection:"column",justifyContent:"flex-start",gap:"24px"},children:[Object(S.jsxs)(Us.a,{disableElevation:!0,size:"small",sx:{"& > button":{borderRadius:"8px"}},children:[Object(S.jsx)(it.a,{onClick:function(){return c("all")},color:"secondary",variant:"all"===r?"contained":"secondaryContained",children:"All Notes"}),Object(S.jsx)(it.a,{onClick:function(){return c("my")},color:"secondary",variant:"my"===r?"contained":"secondaryContained",children:"My Notes"})]}),Object(S.jsx)(dn.a,{multiline:!0,rows:15}),Object(S.jsxs)(v.a,{sx:{display:"flex",justifyContent:"flex-end",gap:"8px"},children:[Object(S.jsx)(it.a,{sx:{borderRadius:"8px"},variant:"secondaryContained",children:"Cancel"}),Object(S.jsx)(it.a,{sx:{borderRadius:"8px"},variant:"contained",color:"secondary",children:"Save"})]})]})},Bs=Object(Rt.a)(Object(S.jsx)("svg",{width:"13",height:"12",viewBox:"0 0 13 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:Object(S.jsx)("path",{d:"M6.5 6.93751C6.33424 6.93751 6.17527 7.00336 6.05806 7.12057C5.94085 7.23778 5.875 7.39675 5.875 7.56251V8.81251C5.875 8.97827 5.94085 9.13725 6.05806 9.25446C6.17527 9.37167 6.33424 9.43751 6.5 9.43751C6.66576 9.43751 6.82473 9.37167 6.94194 9.25446C7.05915 9.13725 7.125 8.97827 7.125 8.81251V7.56251C7.125 7.39675 7.05915 7.23778 6.94194 7.12057C6.82473 7.00336 6.66576 6.93751 6.5 6.93751ZM10.875 1.93751H6.95L6.75 1.31251C6.62034 0.945783 6.37984 0.628453 6.06181 0.404489C5.74378 0.180525 5.36397 0.0610144 4.975 0.0625139H2.125C1.62772 0.0625139 1.15081 0.260058 0.799175 0.611689C0.447544 0.963319 0.25 1.44023 0.25 1.93751V10.0625C0.25 10.5598 0.447544 11.0367 0.799175 11.3883C1.15081 11.74 1.62772 11.9375 2.125 11.9375H10.875C11.3723 11.9375 11.8492 11.74 12.2008 11.3883C12.5525 11.0367 12.75 10.5598 12.75 10.0625V3.81251C12.75 3.31523 12.5525 2.83832 12.2008 2.48669C11.8492 2.13506 11.3723 1.93751 10.875 1.93751ZM11.5 10.0625C11.5 10.2283 11.4342 10.3872 11.3169 10.5045C11.1997 10.6217 11.0408 10.6875 10.875 10.6875H2.125C1.95924 10.6875 1.80027 10.6217 1.68306 10.5045C1.56585 10.3872 1.5 10.2283 1.5 10.0625V1.93751C1.5 1.77175 1.56585 1.61278 1.68306 1.49557C1.80027 1.37836 1.95924 1.31251 2.125 1.31251H4.975C5.10603 1.31218 5.23385 1.35303 5.34039 1.42929C5.44694 1.50555 5.52682 1.61338 5.56875 1.73751L5.90625 2.76251C5.94818 2.88665 6.02806 2.99447 6.13461 3.07074C6.24115 3.147 6.36897 3.18785 6.5 3.18751H10.875C11.0408 3.18751 11.1997 3.25336 11.3169 3.37057C11.4342 3.48778 11.5 3.64675 11.5 3.81251V10.0625ZM6.94375 5.24376C6.85586 5.15704 6.74425 5.09829 6.62301 5.07493C6.50177 5.05157 6.37632 5.06465 6.2625 5.11251C6.18522 5.14115 6.11492 5.18589 6.05625 5.24376C5.94204 5.36353 5.8773 5.52203 5.875 5.68751C5.87569 5.85148 5.94078 6.0086 6.05625 6.12501C6.11435 6.18359 6.18348 6.23009 6.25964 6.26182C6.3358 6.29355 6.41749 6.30989 6.5 6.30989C6.58251 6.30989 6.6642 6.29355 6.74036 6.26182C6.81652 6.23009 6.88565 6.18359 6.94375 6.12501C7.05922 6.0086 7.12431 5.85148 7.125 5.68751C7.12401 5.60584 7.10703 5.52515 7.075 5.45001C7.04637 5.37274 7.00163 5.30243 6.94375 5.24376Z",fill:"#828282"})}),"FolderInfo"),Vs=[{sortField:"createdOn",label:"Most recent",sortOrder:-1},{sortField:"createdOn",label:"Oldest",sortOrder:1},{sortField:"name",label:"Name: A \u2192 Z",sortOrder:1},{sortField:"name",label:"Name: Z \u2192 A",sortOrder:-1},{sortField:"disable-sort",label:"Disable sorting",sortOrder:0}],Qs=function(e){var t=e.files,n=e.id,r=e.source,i=Object(a.useContext)(j.d),c=(Object(Nt.a)(),Object(a.useMemo)((function(){return t.map((function(e){var t;return Object(u.a)(Object(u.a)({},e),{},{name:null!==(t=e.name)&&void 0!==t?t:e.fileName})}))}),[t])),s=Object(a.useState)(Vs[0]),p=Object(o.a)(s,2),b=p[0],m=p[1],f=Object(a.useState)(!1),h=Object(o.a)(f,2),O=h[0],x=h[1],C=function(){var e=Object(d.a)(l.a.mark((function e(){return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:x(!0),V.a.post(Object(L.f)("contracts"===r?"/api/contract/details/".concat(n,"/getzip"):"/api/grant/details/".concat(n,"/getzip"),{useDedicatedEnvironment:!0}),{},Object(u.a)(Object(u.a)({},Object(L.b)(i)),{},{responseType:"blob"})).then(function(){var e=Object(d.a)(l.a.mark((function e(t){var n;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:n="export-".concat((new Date).valueOf(),".zip");try{n=t.headers["content-disposition"].split(";")[1].replace("filename=","").replaceAll('"',"").trim()}catch(a){}Object(yi.saveAs)(new Blob([t.data]),n),x(!1);case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()).catch((function(e){q.a.error("Error fetching data."),x(!1)}));case 2:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();return Object(S.jsx)(v.a,{sx:{display:"flex",flexDirection:"column",justifyContent:"flex-start",gap:"24px"},children:Object(S.jsxs)(S.Fragment,{children:[Object(S.jsxs)(v.a,{sx:{display:"flex",gap:1,justifyContent:"space-between",alignItems:"center"},children:[Object(S.jsx)(dn.a,{select:!0,size:"small",InputLabelProps:{shrink:!0},value:"".concat(b.sortField,"-").concat(b.sortOrder),placeholder:"Select sort option",sx:{minWidth:"250px"},InputProps:{sx:{borderRadius:"8px"}},onChange:function(e){return m((function(){var t;return null!==(t=Vs.find((function(t){return e.target.value==="".concat(t.sortField,"-").concat(t.sortOrder)})))&&void 0!==t?t:Vs[0]}))},children:Vs.map((function(e,t){return Object(S.jsx)(un.a,{value:"".concat(e.sortField,"-").concat(e.sortOrder),children:e.label},t)}))}),Object(S.jsx)(it.a,{variant:"contained",size:"small",endIcon:Object(S.jsxs)(S.Fragment,{children:[" ",Object(S.jsx)(ls.a,{sx:{height:"24px !important",width:"24px !important"}}),O&&Object(S.jsx)(X.a,{size:16,sx:{color:"white"}})]}),sx:{borderRadius:"8px"},onClick:C,disabled:O||!c.length,children:"Download All"})]}),Object(S.jsx)(v.a,{sx:{height:"348px",overflowY:"scroll",my:1},children:c.length>0?Object(ee.a)(c).sort((function(e,t){return"disable-sort"===b.sortField?0:e[b.sortField]>t[b.sortField]?b.sortOrder:-b.sortOrder})).map((function(e,t){var n;return Object(S.jsx)(os,{file:"contracts"===r?Object(u.a)(Object(u.a)({},e),{},{uri:null!==(n=null===e||void 0===e?void 0:e.uri)&&void 0!==n?n:"".concat(g.b).concat(encodeURIComponent(e.name))}):{name:e.fileName,description:e.fileDescription,createdOn:e.createdOn,uri:"".concat(g.c).concat(encodeURIComponent(e.fileName))},source:r,listItemFor:"profile-page"},"file-".concat(t))})):Object(S.jsx)(y.a,{variant:"h6",color:"textSecondary",children:"No files found"})})]})})},Ws=n(692),Hs=n.n(Ws),zs=function(e){var t,n,r,i,c,o,s,b,m,f,h,O,g,x,C,w,N,E,I,D,F,k,T,R,P,M,U,L,B,V,Q,W,H,z,Y,G=e.source,K=e.data,Z=e.loading,J=e.files,_=void 0===J?[]:J,$=e.handleOpenAddToPipelines,te=e.handleCloseAddToPipelines,ne=e.addToPipelinesOpen,ae=e.setAddToPipelinesOpen,re=e.pipelinesFetchStatus,ie=e.explicitIdToUse,ce=void 0===ie?null:ie,oe=e.shareOpportunitiesFetchStatus,se=e.onShareSubmit,le=void 0===se?void 0:se,de=e.handleResetShareOpportunitiesStatus,ue=void 0===de?void 0:de,pe=Object(Nt.a)(),be=Object(p.g)(),je=Object(Zt.b)(),me=Object(a.useContext)(j.d),fe=Object(a.useContext)(Ro),he=fe.setPageTitle,Oe=fe.setPageTitleLoading,ge=fe.pageTitleLoading,xe=fe.setTitleBadge,ve=Object(Zt.c)((function(e){return e.pipelines})),ye=ve.rawItems,Ce=ve.fetchStatus,Ae=function(){var e=Object(d.a)(l.a.mark((function e(){return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:je(Object(va.i)({pipelines:ye}));case 1:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),we=Object(a.useMemo)((function(){return Object(Mt.b)(be.location.search,"tab","forecast"===G?"primes":"contracts"===G?"award-details":"eligibility")}),[be.location.search]),Se=Object(a.useMemo)((function(){return function(e,t,n){var a,r,i;return"forecast"===n?{id:{label:"ID:",value:null!==(a=null===t||void 0===t?void 0:t.aaPlanId)&&void 0!==a?a:"N/A",icon:_n.clipboard},date:{label:"Date Record Created / Changed:",value:ea(null===t||void 0===t?void 0:t.createdOn,!1),icon:_n.calendar}}:"contracts"===n?{id:{label:"Contract Award:",value:null!==(r=null===t||void 0===t?void 0:t.awardNumber)&&void 0!==r?r:"N/A",icon:_n.clipboard},originalPublish:{label:"Original Publish:",value:ea(null===t||void 0===t?void 0:t.postedDateIn,!0,"dd MMMM yyyy"),icon:_n.calendar},lastUpdated:{label:"Last Updated:",value:ea(null===t||void 0===t?void 0:t.lastUpdated,!0,"dd MMMM yyyy"),icon:_n.calendar}}:{id:{label:"Opportunity Number:",value:null!==(i=null===t||void 0===t?void 0:t.opportunityNumber)&&void 0!==i?i:"N/A",icon:Object(S.jsx)(xn,{sx:{height:"18px !important",width:"18px !important",color:e.palette.text.secondary}})},posting:{label:"Posting:",value:ea(null===t||void 0===t?void 0:t.postingDate,!0,"dd MMMM yyyy"),icon:_n.calendar},lastUpdated:{label:"Last Updated:",value:ea(null===t||void 0===t?void 0:t.lastUpdatedDate,!0,"dd MMMM yyyy"),icon:_n.calendar}}}(pe,K,G)}),[pe,G,K]),Ne=Object(a.useMemo)((function(){return function(e,t,n){return"forecast"===n?Object(S.jsx)(S.Fragment,{children:Object.values(aa(e,t)).map((function(e,t,n){return Object(S.jsx)(Bn,Object(u.a)(Object(u.a)({},e),{},{bottomDivider:t button":{borderRadius:"8px"}},children:na(G,we,(function(e){we!==e&&Object(Mt.c)(be,{tab:e},{replace:!0})}))})}),Object(S.jsx)(Xe.a,{item:!0,xs:12,children:Object(S.jsx)(Dt.a,{variant:"outlined",sx:{borderRadius:"8px",p:2},children:["q&a","bid"].includes(we)?Object(S.jsx)(v.a,{dangerouslySetInnerHTML:{__html:"q&a"===we?null!==(c=null===K||void 0===K?void 0:K.quarterlyCallNotes)&&void 0!==c?c:"Data not yet available":null!==(o=null===K||void 0===K?void 0:K.externalLinkHtml)&&void 0!==o?o:"Data not yet available"},sx:{textAlign:"left"}}):"notes"===we?Object(S.jsx)(Ls,{}):"forecast"!==G||"string"!==typeof(null===K||void 0===K?void 0:K.primeOrIncumbent)&&null!==(null===K||void 0===K?void 0:K.primeOrIncumbent)?"award-details"===we?Object(S.jsxs)(Xe.a,{container:!0,columnSpacing:2,sx:{px:4},children:[Object(S.jsxs)(Xe.a,{item:!0,lg:12,lgEx:6,sx:{display:"flex",flexDirection:"column"},children:[Object(S.jsx)(Bn,{label:"Contract Award Number",icon:Object(S.jsx)(xn,{}),value:null!==(b=null===K||void 0===K?void 0:K.awardNumber)&&void 0!==b?b:"N/A"}),Object(S.jsx)(Bn,{label:"Contractor Awarded Name",icon:Object(S.jsx)(Dn,{}),value:null!==(m=null===K||void 0===K?void 0:K.contractorAwardedName)&&void 0!==m?m:"N/A"}),Object(S.jsx)(Bn,{label:"Awarded Amount",icon:Object(S.jsx)(kn.a,{}),value:null!==(null===K||void 0===K?void 0:K.contractorAwardedAmount)?Lo.a.format(Math.round(null===K||void 0===K?void 0:K.contractorAwardedAmount)):"N/A"})]}),Object(S.jsxs)(Xe.a,{item:!0,lg:12,lgEx:6,sx:{display:"flex",flexDirection:"column"},children:[Object(S.jsx)(Bn,{label:"Contract Opportunity Type",icon:Object(S.jsx)(Bs,{}),value:null!==(f=null===K||void 0===K?void 0:K.type)&&void 0!==f?f:"N/A"}),Object(S.jsx)(Bn,{label:"Awarded Date",icon:Object(S.jsx)(Dn,{}),value:ea(null===K||void 0===K?void 0:K.contractorAwardedDate,!0,"dd MMMM yyyy")})]})]}):"contact-details"===we?"contracts"===G?Object(S.jsxs)(Xe.a,{container:!0,columnSpacing:2,sx:{px:4},children:[Object(S.jsx)(Xe.a,{item:!0,md:12,lg:6,sx:{display:"flex",flexDirection:"column"},children:Object(S.jsx)(Bn,{label:"Primary",icon:Object(S.jsx)(Ln.a,{}),value:null!==(h=null===K||void 0===K||null===(O=K.pointOfContactOne)||void 0===O?void 0:O.fullName)&&void 0!==h?h:"N/A",secondValue:null!==(g=null===K||void 0===K||null===(x=K.pointOfContactOne)||void 0===x?void 0:x.email)&&void 0!==g?g:"N/A",secondValueProps:Object(u.a)(Object(u.a)({},(null===K||void 0===K||null===(C=K.pointOfContactOne)||void 0===C?void 0:C.email)&&{component:"a",href:"mailto:".concat(null===K||void 0===K||null===(w=K.pointOfContactOne)||void 0===w?void 0:w.email)}),{},{display:"block",fontWeight:"400",color:"primary",sx:{"&:hover":{textDecoration:"underline"}}}),extraValues:[].concat(Object(ee.a)((null===K||void 0===K||null===(N=K.pointOfContactOne)||void 0===N?void 0:N.fax)?["Fax: ".concat(null===K||void 0===K||null===(E=K.pointOfContactOne)||void 0===E?void 0:E.fax)]:[]),Object(ee.a)((null===K||void 0===K||null===(I=K.pointOfContactOne)||void 0===I?void 0:I.phone)?["Phone: ".concat(null===K||void 0===K||null===(D=K.pointOfContactOne)||void 0===D?void 0:D.phone)]:[])),extraValuesProps:{fontWeight:400}})}),Object(S.jsx)(Xe.a,{item:!0,md:12,lg:6,sx:{display:"flex",flexDirection:"column"},children:Object(S.jsx)(Bn,{label:"Secondary",icon:Object(S.jsx)(Ln.a,{}),value:null!==(F=null===K||void 0===K||null===(k=K.pointOfContactTwo)||void 0===k?void 0:k.fullName)&&void 0!==F?F:"N/A",secondValue:null!==(T=null===K||void 0===K||null===(R=K.pointOfContactTwo)||void 0===R?void 0:R.email)&&void 0!==T?T:"N/A",secondValueProps:Object(u.a)(Object(u.a)({},(null===K||void 0===K||null===(P=K.pointOfContactTwo)||void 0===P?void 0:P.email)&&{component:"a",href:"mailto:".concat(null===K||void 0===K||null===(M=K.pointOfContactTwo)||void 0===M?void 0:M.email)}),{},{display:"block",fontWeight:"400",color:"primary",sx:{"&:hover":{textDecoration:"underline"}}}),extraValues:[].concat(Object(ee.a)((null===K||void 0===K||null===(U=K.pointOfContactTwo)||void 0===U?void 0:U.fax)?["Fax: ".concat(null===K||void 0===K||null===(L=K.pointOfContactTwo)||void 0===L?void 0:L.fax)]:[]),Object(ee.a)((null===K||void 0===K||null===(B=K.pointOfContactTwo)||void 0===B?void 0:B.phone)?["Phone: ".concat(null===K||void 0===K||null===(V=K.pointOfContactTwo)||void 0===V?void 0:V.phone)]:[])),extraValuesProps:{fontWeight:400}})})]}):Object(S.jsxs)(S.Fragment,{children:[Object(S.jsx)(Bn,{label:"Contact",icon:Object(S.jsx)(Ln.a,{}),value:null!==(Q=null===K||void 0===K?void 0:K.agencyContactName)&&void 0!==Q?Q:"N/A",secondValue:null!==(W=null===K||void 0===K?void 0:K.agencyContactEmail)&&void 0!==W?W:"N/A",secondValueProps:Object(u.a)(Object(u.a)({},(null===K||void 0===K?void 0:K.agencyContactEmail)&&{component:"a",href:"mailto:".concat(null===K||void 0===K?void 0:K.agencyContactEmail)}),{},{display:"block",fontWeight:"400",color:"primary",sx:{"&:hover":{textDecoration:"underline"}}})}),(null===K||void 0===K?void 0:K.agencyPhone)&&Object(S.jsx)(Bn,{label:"Phone",icon:Object(S.jsx)(Hs.a,{}),value:null!==(H=null===K||void 0===K?void 0:K.agencyPhone)&&void 0!==H?H:"N/A"})]}):"eligibility"===we?Object(S.jsxs)(v.a,{sx:{textAlign:"left"},children:[Object(S.jsx)(y.a,{sx:{mb:1},variant:"subtitle2",fontWeight:"600",color:"textPrimary",children:"Eligible Applicants"}),Object(S.jsx)(y.a,{sx:{mb:3},variant:"subtitle2",color:"textPrimary",children:Array.isArray(null===K||void 0===K?void 0:K.applicantTypeDescription)&&(null===K||void 0===K||null===(z=K.applicantTypeDescription)||void 0===z?void 0:z.length)>0?null===K||void 0===K?void 0:K.applicantTypeDescription.map((function(e){return e.description})).join(". "):"N/A"}),Object(S.jsx)(y.a,{sx:{mb:1},variant:"subtitle2",fontWeight:"600",color:"textPrimary",children:"Additional Information on Eligibility"}),Object(S.jsx)(y.a,{sx:{mb:3},variant:"subtitle2",color:"textPrimary",dangerouslySetInnerHTML:{__html:null!==(Y=null===K||void 0===K?void 0:K.applicantEligibilityDescription)&&void 0!==Y?Y:"N/A"}})]}):"related-documents"===we?Object(S.jsx)(Qs,{files:_,id:"forecast"===G?"":"contracts"===G?K.contractOpportunityBase_Id:K.id,source:G}):Object(S.jsx)(S.Fragment,{}):Object(S.jsx)(v.a,{dangerouslySetInnerHTML:{__html:(null===K||void 0===K||null===(s=K.primeOrIncumbent)||void 0===s?void 0:s.length)?null===K||void 0===K?void 0:K.primeOrIncumbent:"Data not yet available"},sx:{textAlign:"left"}})})})]})]})]})})},Ys=function(e){var t=Object(Zt.b)(),n=Object(p.g)(),r=Object(a.useContext)(j.d),i=Object(Zt.c)((function(e){return e.pipelines.pipelinesForRecord})),c=i.fetchStatus,s=i.itemsFor,l=Object(Zt.c)((function(e){return e.pipelines.addOrRemoveFromPipelines})).postFetchStatus,d=Object(Zt.c)((function(e){return e.forecast.details})),b=d.records,m=d.fetchStatus,f=Object(Zt.c)((function(e){return e.forecast.shareOpportunities})).postFetchStatus,h=Object(a.useState)(!1),O=Object(o.a)(h,2),g=O[0],x=O[1],v=Object(a.useState)(!0),y=Object(o.a)(v,2),C=y[0],A=y[1],w=Object(a.useMemo)((function(){var e=n.location.pathname.split("/");return e[e.length-1]}),[n]),N=Object(a.useMemo)((function(){var e,t=null===(e=Object(ee.a)(b))||void 0===e?void 0:e.sort((function(e,t){return new Date(t.createdOn).getTime()-new Date(e.createdOn).getTime()}));return[t.shift(),t]}),[b]),E=Object(o.a)(N,2),I=E[0],D=(E[1],function(){x(!1),t(Object(va.h)(null)),t(Object(va.f)())});return Object(a.useEffect)((function(){Gt.a.isDone(c)&&null!==s&&!g&&x(!0),Gt.a.isError(c)&&q.a.error("Pipeline data for this row couldn't be loaded. Try again later.")}),[c,s]),Object(a.useEffect)((function(){Gt.a.isDone(l)&&(t(Object(va.e)()),D(),w&&t(Object(ga.a)({context:r,id:w})))}),[l]),Object(a.useEffect)((function(){w&&t(Object(ga.a)({context:r,id:w}))}),[w]),Object(a.useEffect)((function(){Gt.a.isDone(m)&&C&&A(!1)}),[m,C]),Object(S.jsx)(S.Fragment,{children:Object(S.jsx)(zs,{source:"forecast",data:I,loading:Gt.a.isFetching(m)&&C,addToPipelinesOpen:g,setAddToPipelinesOpen:x,handleCloseAddToPipelines:D,handleOpenAddToPipelines:function(){w&&(g?(D(),setTimeout((function(){t(Object(va.h)(w)),t(Object(va.c)({context:r,table:"forecasts",recordId:w}))}),100)):(t(Object(va.h)(w)),t(Object(va.c)({context:r,table:"forecasts",recordId:w}))))},pipelinesFetchStatus:c,shareOpportunitiesFetchStatus:f,onShareSubmit:function(e){t(Object(ga.l)(Object(u.a)({context:r},e)))},handleResetShareOpportunitiesStatus:function(){t(Object(ga.i)())}})})},Gs=function(e){var t,n=Object(Zt.b)(),r=Object(p.g)(),i=Object(a.useContext)(j.d),c=Object(Zt.c)((function(e){return e.contracts})).details,s=c.files,l=(c.matchingFiles,c.fetchStatus),d=c.records,b=Object(Zt.c)((function(e){return e.pipelines.pipelinesForRecord})),m=b.fetchStatus,f=b.itemsFor,h=Object(Zt.c)((function(e){return e.pipelines.addOrRemoveFromPipelines})).postFetchStatus,O=Object(Zt.c)((function(e){return e.contracts.shareOpportunities})).postFetchStatus,g=Object(a.useState)(!1),x=Object(o.a)(g,2),v=x[0],y=x[1],C=Object(a.useState)(!0),A=Object(o.a)(C,2),w=A[0],N=A[1],E=Object(a.useMemo)((function(){var e=r.location.pathname.split("/");return e[e.length-1]}),[r]),I=Object(a.useMemo)((function(){var e,t=null===(e=Object(ee.a)(d))||void 0===e?void 0:e.sort((function(e,t){return new Date(t.createdOn).getTime()-new Date(e.createdOn).getTime()})),n=t.length>0?t[t.length-1].postedDateIn:null;return[Object(u.a)(Object(u.a)({},t.shift()),{},{postedDateIn:n}),t]}),[d]),D=Object(o.a)(I,2),F=D[0];D[1];Object(a.useEffect)((function(){E&&n(Object(Oa.b)({context:i,params:{id:E,fileKeyword:"",fileName:""}}))}),[E]);var k=function(){y(!1),n(Object(va.h)(null)),n(Object(va.f)())};return Object(a.useEffect)((function(){Gt.a.isDone(m)&&null!==f&&!v&&y(!0),Gt.a.isError(m)&&q.a.error("Pipeline data for this row couldn't be loaded. Try again later.")}),[m,f]),Object(a.useEffect)((function(){Gt.a.isDone(h)&&(k(),n(Object(va.e)()),E&&n(Object(Oa.b)({context:i,params:{id:E,fileKeyword:"",fileName:""}})))}),[h]),Object(a.useEffect)((function(){Gt.a.isDone(l)&&w&&N(!1)}),[l,w]),Object(S.jsx)(S.Fragment,{children:Object(S.jsx)(zs,{source:"contracts",data:Object(u.a)(Object(u.a)({},F),{},{numberIncludedPipelines:null===F||void 0===F||null===(t=F.pipelineDetails)||void 0===t?void 0:t.length}),loading:Gt.a.isFetching(l)&&w,files:s,addToPipelinesOpen:v,setAddToPipelinesOpen:y,handleCloseAddToPipelines:k,handleOpenAddToPipelines:function(){E&&(v?(k(),setTimeout((function(){n(Object(va.h)(E)),n(Object(va.c)({context:i,table:"contracts",recordId:E}))}),100)):(n(Object(va.h)(E)),n(Object(va.c)({context:i,table:"contracts",recordId:E}))))},pipelinesFetchStatus:m,shareOpportunitiesFetchStatus:O,onShareSubmit:void 0,handleResetShareOpportunitiesStatus:void 0})})},Ks=function(e){var t,n=Object(Zt.b)(),r=Object(p.g)(),i=Object(a.useContext)(j.d),c=Object(Zt.c)((function(e){return e.grants})).details,s=c.files,l=(c.matchingFiles,c.fetchStatus),d=c.records,b=c.grantDetails,m=c.pipelineDetails,f=Object(Zt.c)((function(e){return e.pipelines.pipelinesForRecord})),h=f.fetchStatus,O=f.itemsFor,g=Object(Zt.c)((function(e){return e.pipelines.addOrRemoveFromPipelines})).postFetchStatus,x=Object(Zt.c)((function(e){return e.grants.shareOpportunities})).postFetchStatus,v=Object(a.useState)(!1),y=Object(o.a)(v,2),C=y[0],A=y[1],w=Object(a.useState)(!0),N=Object(o.a)(w,2),E=N[0],I=N[1],D=Object(a.useMemo)((function(){var e=r.location.pathname.split("/");return e[e.length-1]}),[r]);Object(a.useEffect)((function(){D&&n(Object(ha.d)({context:i,params:{id:D,fileKeyword:"",fileName:""}}))}),[D]);var F=Object(a.useMemo)((function(){var e,t=null===(e=Object(ee.a)(d))||void 0===e?void 0:e.sort((function(e,t){return new Date(t.createTimestamp).getTime()-new Date(e.createTimestamp).getTime()}));return[t.shift(),t]}),[d]),k=Object(o.a)(F,2),T=k[0],R=(k[1],function(){A(!1),n(Object(va.h)(null)),n(Object(va.f)())});return Object(a.useEffect)((function(){Gt.a.isDone(h)&&null!==O&&!C&&A(!0),Gt.a.isError(h)&&q.a.error("Pipeline data for this row couldn't be loaded. Try again later.")}),[h,O]),Object(a.useEffect)((function(){Gt.a.isDone(g)&&(n(Object(va.e)()),R(),D&&n(Object(ha.d)({context:i,params:{id:D,fileKeyword:"",fileName:""}})))}),[g]),Object(a.useEffect)((function(){Gt.a.isDone(l)&&E&&I(!1)}),[l,E]),Object(S.jsx)(S.Fragment,{children:Object(S.jsx)(zs,{source:"grants",data:Object(u.a)(Object(u.a)(Object(u.a)({},T),b),{},{description:null!==(t=null===T||void 0===T?void 0:T.description)&&void 0!==t?t:"",numberIncludedPipelines:m.length}),loading:Gt.a.isFetching(l)&&E,files:s,addToPipelinesOpen:C,setAddToPipelinesOpen:A,handleCloseAddToPipelines:R,handleOpenAddToPipelines:function(){D&&(C?(R(),setTimeout((function(){n(Object(va.h)(+D)),n(Object(va.c)({context:i,table:"grants",recordId:D}))}),100)):(n(Object(va.h)(+D)),n(Object(va.c)({context:i,table:"grants",recordId:D}))))},pipelinesFetchStatus:h,shareOpportunitiesFetchStatus:x,onShareSubmit:void 0,handleResetShareOpportunitiesStatus:void 0})})},qs=n(457);function Xs(){var e=Object(a.useState)("usa-spending"),t=Object(o.a)(e,2),n=t[0],r=t[1];return Object(S.jsxs)(v.a,{sx:{p:2,textAlign:"start",width:"100%",display:"flex",flexDirection:"column"},children:[Object(S.jsx)(y.a,{variant:"body2",sx:{mb:3},children:"usa-spending"===n?"A database of USAID projects that allows you to quickly sort USAID project activity by closing date for your target countries, competitors, and technical sectors. This tool is designed to deliver rapid, landscape snapshots of USAID projects, but is not meant to be comprehensive of every USAID project. It is based on USAID project data from USA Spending.":"Search current and past USAID projects by country, sector, and closing date. This page allows you to quickly sort USAID project activity by closing date for your target countries, competitors, and technical sectors. This tool is designed to deliver rapid, landscape snapshots of USAID projects, and may not have every USAID project."}),Object(S.jsx)(qs.a,{containerSx:{height:"100%",position:"initial",borderRadius:"0 0 4px 4px !important"},externalSetTableContext:r,useFragmentHeader:!1,allowViewTypeSwitch:!0,showActions:!0,loadDataImmediately:!1})]})}var Zs=n(222);function Js(e){var t=e.control,n=Object(Zt.b)(),r=Object(a.useContext)(j.d),i=Object(Zt.c)((function(e){return e.reports})).dropdownOptions,c=i.country,o=c.items,s=c.fetchStatus,l=i.technicalSector,d=l.items,u=l.fetchStatus,p=i.authoringOrg,b=p.items,m=p.fetchStatus;return Object(S.jsxs)(S.Fragment,{children:[Object(S.jsx)(Fa.a,{type:"switch",name:"onlyAttachments",control:t,label:"Only show results with attachments"}),Object(S.jsx)(Fa.a,{type:"combo-box",sx:{"& .MuiFormLabel-root":{fontSize:"0.875em",lineHeight:"1.875em"}},control:t,name:"country",label:"COUNTRY",options:o,multiple:!0,withCheckboxes:!0,fullWidth:!0,fetchStatus:s,asyncCallback:function(e){n(Object(Zs.a)({context:r,target:["country"],filter:e}))}}),Object(S.jsx)(Fa.a,{type:"combo-box",withCheckboxes:!0,sx:{"& .MuiFormLabel-root":{fontSize:"0.875em",lineHeight:"1.875em"}},control:t,name:"sector",label:"TECHNICAL SECTOR",options:d,fullWidth:!0,multiple:!0,fetchStatus:u,asyncCallback:function(e){n(Object(Zs.a)({context:r,target:["technicalSector"],filter:e}))}}),Object(S.jsx)(Fa.a,{type:"combo-box",withCheckboxes:!0,sx:{"& .MuiFormLabel-root":{fontSize:"0.875em",lineHeight:"1.875em"}},control:t,name:"authoringOrg",label:"AUTHORING ORGANIATION",options:b,fullWidth:!0,multiple:!0,fetchStatus:m,asyncCallback:function(e){n(Object(Zs.a)({context:r,target:["authoringOrg"],filter:e}))}}),Object(S.jsx)(Fa.a,{type:"text",fullWidth:!0,sx:{"& .MuiFormLabel-root":{fontSize:"0.875em",lineHeight:"1.875em"}},name:"fileKeyword",control:t,label:"KEYWORD SEARCH IN-DOCUMENT TEXT"}),Object(S.jsx)(Fa.a,{type:"text",fullWidth:!0,sx:{"& .MuiFormLabel-root":{fontSize:"0.875em",lineHeight:"1.875em"}},name:"documentId",control:t,label:"SEARCH BY DEC DOCUMENT ID"}),Object(S.jsx)(Fa.a,{sx:{"& .MuiFormLabel-root":{fontSize:"0.875em",lineHeight:"1.875em"}},type:"date",name:"startDate",control:t,label:"PUBLICATION DATE FROM"}),Object(S.jsx)(Fa.a,{sx:{"& .MuiFormLabel-root":{fontSize:"0.875em",lineHeight:"1.875em"}},type:"date",name:"endDate",control:t,label:"PUBLICATION DATE TO"})]})}function _s(e){return"https://konektid-dec-resources.s3.amazonaws.com/".concat(e.replace(/-/g,""),".pdf")}function $s(e){var t=[{name:"Link"},{name:"Country"},{name:"Title"},{name:"Document Type"},{name:"Publication Date"},{name:"Authoring Organization"},{name:"Authors"},{name:"Technical Sector"},{name:"Abstract"},{name:"Contract Grant Number"},{name:"Contract Grant Number Evaluated"}],n=[];if(0==e.length)n.push(Object(De.d)(t.length));else for(var a=0;a2&&void 0!==c[2]?c[2]:1e3,(r=n)&&(r.pageSize=a,r.pageIndex=0),i=Array(),e.next=6,V.a.get(Object(L.f)("/api/Dec".concat(Object(Gn.a)(Object(u.a)({},r),"|")),{useDedicatedEnvironment:!0}),Object(L.c)(t)).then((function(e){i=e.data.data})).catch((function(e){alert("error fetching data")}));case 6:return e.abrupt("return",i);case 7:case"end":return e.stop()}}),e)})))).apply(this,arguments)}var nl="reports-filters-form",al="reportsColumnsSettingsKey",rl={onlyAttachments:!0,country:[],sector:[],authoringOrg:[],filter:"",fileKeyword:"",documentId:"",startDate:(new Date).addYears(-5),endDate:null};function il(){var e=Object(Zt.b)(),t=Object(p.g)(),n=Object(a.useContext)(j.d),r=Object(Nt.a)();var i=Object(Ra.b)({defaultValues:function(){var e=Object(Mt.b)(t.location.search,"startDate",null),n=e?new Date(e):(new Date).addYears(-5),a=Object(Mt.b)(t.location.search,"endDate",null),r=a?new Date(a):null;return{onlyAttachments:"true"===Object(Mt.b)(t.location.search,"onlyAttachments","true"),country:Object(Mt.b)(t.location.search,"country",[],{multiple:!0}).map((function(e){return{value:e,label:e}})),sector:Object(Mt.b)(t.location.search,"sector",[],{multiple:!0}).map((function(e){return{value:e,label:e}})),authoringOrg:Object(Mt.b)(t.location.search,"authoringOrg",[],{multiple:!0}).map((function(e){return{value:e,label:e}})),filter:Object(Mt.b)(t.location.search,"filter",""),fileKeyword:Object(Mt.b)(t.location.search,"fileKeyword",""),documentId:Object(Mt.b)(t.location.search,"documentId",""),startDate:n,endDate:r}}()}),c=i.control,s=i.handleSubmit,b=i.reset,m=i.setValue,f=i.getValues,h=Object(Zt.c)((function(e){return e.userSettings})).tableSettings,O=h.columnsOrder,g=h.fetchStatus,x=Object(Zt.c)((function(e){return e.reports})),C=x.fetchStatus,A=x.total,w=x.items,N=x.lastUpdatedUtc,E=Object(a.useState)(!1),I=Object(o.a)(E,2),D=I[0],F=I[1],k=Object(a.useState)([]),T=Object(o.a)(k,2),R=T[0],P=T[1],M=Object(a.useState)(Object(Mt.b)(t.location.search,"filter","")),U=Object(o.a)(M,2),L=U[0],B=U[1],V=Object(a.useState)(null),Q=Object(o.a)(V,2),W=Q[0],H=Q[1],z=Object(a.useRef)(!1),Y=Object(a.useMemo)((function(){return+Object(Mt.b)(t.location.search,"pageIndex","0")}),[t.location]),G=Object(a.useMemo)((function(){return+Object(Mt.b)(t.location.search,"pageSize",lt.b[0].toString())}),[t.location]),K=Object(a.useMemo)((function(){return Object(Mt.b)(t.location.search,"sortField","publicationDate")}),[t.location]),q=Object(a.useMemo)((function(){return+Object(Mt.b)(t.location.search,"sortOrder","0")}),[t.location]),X=Object(a.useMemo)((function(){return Object.values(ee(f())).filter((function(e){return Array.isArray(e)?e.length>0:!!e})).length}),[t.location]);function Z(e){B(e.target.value),J(e.target.value)}var J=Object(a.useCallback)(Object(_t.debounce)((function(e){m("filter",e),Object(Mt.c)(t,{filter:e,pageIndex:"0"})}),750),[]);function _(){F(!1),H(null)}function $(){_(!1),W&&setTimeout((function(){b(W),H(null)}),150)}function ee(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return Object.fromEntries(Object(_t.compact)(Object.entries(e).map((function(e){var n,a=Object(o.a)(e,2),r=a[0],i=a[1];if(["onlyAttachments"].includes(r))return[r,i];if(t&&(!i&&0!==i||Array.isArray(i)&&0===i.length||0===i.length))return null;if(Array.isArray(i))n=i.map((function(e){return(null===e||void 0===e?void 0:e.hasOwnProperty("value"))?e.value:e}));else if("function"===typeof(null===i||void 0===i?void 0:i.getMonth)){var c=i;0!==c.getTimezoneOffset()&&c.setHours(-c.getTimezoneOffset()/60),n=c.toISOString().split("T")[0]}else n=i;return[r,n]}))))}return Object(a.useEffect)((function(){return e(Object(Zs.a)({context:n})),e(Object(Jt.a)({context:n,key:al})),function(){P([]),e(Object(Zs.d)())}}),[]),Object(a.useEffect)((function(){z.current?e(Object(Zs.b)({context:n,params:Object(u.a)(Object(u.a)({},ee(f())),{},{pageIndex:Y,pageSize:G,sortField:K,sortOrder:q})})):z.current=!0}),[t.location]),Object(a.useEffect)((function(){var e;(Gt.a.isDone(g)||Gt.a.isError(g))&&P((e=Kn,[{propertyName:"link",label:"Link",order:0,isVisible:!0,sortable:!1,width:50,disableModalWithDetails:!0,getSortableColumnPropertyName:e},{propertyName:"country",label:"Country",order:0,isVisible:!0,sortable:!0,width:200,getSortableColumnPropertyName:e},{propertyName:"title",label:"Title",order:0,isVisible:!0,sortable:!0,width:300,getSortableColumnPropertyName:e},{propertyName:"documentType",label:"Document Type",order:0,isVisible:!0,sortable:!0,width:200,getSortableColumnPropertyName:e},{propertyName:"publicationDate",label:"Publication Date",order:0,isVisible:!0,sortable:!0,width:200,getSortableColumnPropertyName:e,cellFormatter:function(e){return new Date(e)&&new Date(e).toISOString().startsWith("0")?"N/A":Object(Qt.a)(new Date(e),"dd MMMM yyyy")},disableModalWithDetails:!0},{propertyName:"authoringOrganization",label:"Authoring Organization",order:0,isVisible:!0,sortable:!0,width:250,getSortableColumnPropertyName:e},{propertyName:"personalAuthors",label:"Authors",order:0,isVisible:!0,sortable:!0,width:300,getSortableColumnPropertyName:e},{propertyName:"technicalSectors",label:"Technical Sectors",order:0,isVisible:!0,sortable:!0,width:300,getSortableColumnPropertyName:e},{propertyName:"abstract",label:"Abstract",order:0,isVisible:!0,sortable:!0,width:250,getSortableColumnPropertyName:e},{propertyName:"contractGrantNumber",label:"Contract Grant Number",order:0,isVisible:!0,sortable:!0,width:200,getSortableColumnPropertyName:e},{propertyName:"contractGrantNumberEvaluated",label:"Contract Grant Number Evaluated",order:0,isVisible:!0,sortable:!0,width:250,getSortableColumnPropertyName:e}]).map((function(e,t){var n,a,r,i;return Object(u.a)(Object(u.a)({},e),{},{order:null!==(n=null===(a=O.find((function(t){return t.propertyName===e.propertyName})))||void 0===a?void 0:a.order)&&void 0!==n?n:t,isVisible:null!==(r=null===(i=O.find((function(t){return t.propertyName===e.propertyName})))||void 0===i?void 0:i.isVisible)&&void 0!==r?r:e.isVisible})})).sort((function(e,t){return e.order-t.order})))}),[g,Kn]),Object(S.jsxs)(v.a,{sx:{p:2,textAlign:"start",width:"100%",display:"flex",flexDirection:"column"},children:[Object(S.jsxs)(_i.a,{open:D,onClose:$,variant:"temporary",anchor:"right",sx:{zIndex:2147483639},PaperProps:{sx:{width:"480px","& > div":{px:2}}},children:[Object(S.jsxs)(v.a,{sx:{display:"flex",alignItems:"center",gap:"16px",backgroundColor:r.palette.secondary.light,borderBottom:"solid 3px ".concat(r.palette.secondary.main),py:3},children:[Object(S.jsx)(Wn.a,{}),Object(S.jsx)(y.a,{variant:"h5",children:"Filters"})]}),Object(S.jsx)(v.a,{sx:{py:2,overflowY:"scroll",flex:1},children:Object(S.jsx)("form",{onSubmit:s((function(e){Object(Mt.c)(t,Object(u.a)(Object(u.a)({},ee(e,!1)),{},{pageIndex:"0"}),{deleteFalsy:!0}),setTimeout((function(){return _()}),150)})),id:nl,style:{display:"flex",flexDirection:"column",gap:"20px"},children:Object(S.jsx)(Js,{control:c})})}),Object(S.jsx)(Tt.a,{}),Object(S.jsxs)(v.a,{sx:{display:"flex",alignItems:"center",justifyContent:"flex-end",gap:"16px",py:2},children:[Object(S.jsx)(it.a,{variant:"secondaryContained",color:"secondary",onClick:$,children:"Cancel"}),Object(S.jsx)(it.a,{variant:"secondaryContained",color:"secondary",onClick:function(){b(rl)},children:"Clear"}),Object(S.jsx)(it.a,{variant:"contained",color:"secondary",type:"submit",form:nl,children:"Save"})]})]}),Object(S.jsx)(y.a,{variant:"body2",sx:{mb:3},children:"Welcome to the streamlined search of USAID reports, evaluations, assessments, and other key documents and data sources. This search allows you to access more than 140,000 USAID documents, organize based on your country, technical sector, and partner preferences, and access the PDF documents directly through AidKonekt (when available). Click on the PDF icon on the far right to access the document directly, without having to go through another search engine. This is a link that you can share internally with your team. When you export a search, the link to the PDF files will be included in the export, so you and your colleagues can access directly without having to even sign back in to AidKonekt."}),R.length>0&&Object(S.jsx)(ya.b,{config:Object(u.a)({data:w.map((function(e){return Object(u.a)(Object(u.a)({},e),{},{link:Object(S.jsx)(Zo.a,{querySelectors:"[data-virtuoso-scroller]",title:"Open attachment in new window",children:Object(S.jsx)("span",{children:Object(S.jsx)(Me.a,{sx:{border:"solid 2px",backgroundColor:Object(Go.a)(r.palette.primary.main,.1)},color:"primary",component:"a",href:_s(e.uniqueId),target:"_blank",rel:"norefferer noopener",disabled:"Synced"!==e.fileSyncStatus,children:Object(S.jsx)(qo.a,{sx:{width:"24px",height:"24px"}})})})})})})),columns:R,header:[Object(S.jsx)(v.a,{sx:{mt:1},children:Object(S.jsx)(dn.a,{value:L,onChange:Z,sx:{width:"300px"},InputProps:{startAdornment:Object(S.jsx)(mn.a,{sx:{color:r.palette.action.active}}),endAdornment:Object(S.jsxs)(S.Fragment,{children:[(null===L||void 0===L?void 0:L.length)>0&&Object(S.jsx)(Me.a,{onClick:function(){return Z({target:{value:""}})},sx:{mr:.5},disabled:Gt.a.isFetching(C),children:Object(S.jsx)(Le.a,{})}),Object(S.jsx)(v.a,{sx:{borderLeft:"solid 1px ".concat(r.palette.divider),pl:.5},children:Object(S.jsx)(Vn.a,{title:"Filters",children:Object(S.jsxs)("span",{children:[Object(S.jsx)(Me.a,{onClick:function(){F(!0),H(f())},children:Object(S.jsx)(Wn.a,{sx:{width:"24px",height:"24px"}})}),X>0&&Object(S.jsx)(qe.a,{sx:{position:"absolute",height:"16px",width:"16px",top:"2px",right:"2px",fontSize:"12px",backgroundColor:r.palette.secondary.main,pointerEvents:"none"},children:X})]})})})]}),sx:{px:.5}},size:"small",placeholder:"Search"})}),Object(S.jsxs)(v.a,{sx:{display:"flex",gap:"24px",mb:1,justifyContent:"flex-end","& > *":{display:"flex",alignItems:"center"}},children:[Object(S.jsxs)(y.a,{variant:"subtitle2",color:"textSecondary",children:[Object(S.jsx)(Hn.a,{color:"secondary",sx:{height:"16px",width:"16px",mr:.5,mt:"-2px"}}),"Source: USAID Development Experience Clearinghouse"]}),Object(S.jsxs)(y.a,{variant:"subtitle2",color:"textSecondary",children:[Object(S.jsx)(zn.a,{sx:{height:"16px",width:"16px",mr:.5,mt:"-2px"}}),"Last updated:"," ",N?Object(Qt.a)(new Date(N),"dd MMMM yyyy, HH:mm"):"N/A"]})]})],columnsConfiguration:{allowColumnsConfiguration:!0,onSaveColumnsConfiguration:function(t){e(Object(Jt.c)({context:n,key:al,configuration:t}))},columnsSettingsKey:al},exportExcelFunc:function(){var e=Object(d.a)(l.a.mark((function e(){return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(e.t0=De.e,e.t1="Aidkonekt_reports_plus_".concat((new Date).getFullYear()),e.t2=$s,!el){e.next=9;break}return e.next=6,el(n,ee(f()),A);case 6:e.t3=e.sent,e.next=10;break;case 9:e.t3=w;case 10:return e.t4=e.t3,e.t5=(0,e.t2)(e.t4),e.abrupt("return",(0,e.t0)("Data+",e.t1,e.t5));case 13:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}()},Gt.a.isNull(C)&&{noDataMessage:"Select filters to see data"}),loading:Gt.a.isFetching(C),onPageChange:function(e,n){Object(Mt.c)(t,{pageIndex:n.toString()})},onRowsPerPageChange:function(e){Object(Mt.c)(t,{pageIndex:"0",pageSize:e.target.value})},pagination:{page:Y,rowsPerPage:G,total:A},currentSort:{sortField:K,sortOrder:q},onSortClick:function(e){var n=Kn(e.propertyName);Object(Mt.c)(t,K===n?0===q?{pageIndex:"0",sortField:n,sortOrder:"1"}:1===q?{pageIndex:"0",sortField:n,sortOrder:"-1"}:{pageIndex:"0",sortField:"",sortOrder:"0"}:{pageIndex:"0",sortField:n,sortOrder:"1"})}})]})}n(423);n(1508),n(1509),n(1506),n(1507),n(1510),n(693),n(523);var cl=Object(p.i)((function(e){var t=e.history,n=e.component,r=e.children,i=e.roles,c=Object(a.useContext)(j.d),s=!!i.find((function(e){return Object(j.e)(c,e)})),l=c.isLoaded,d=h(),b=(0,Object(o.a)(d,1)[0])();return Object(a.useEffect)((function(){return c.updateCurrentUser(),t.listen((function(){c.updateCurrentUser()}))}),[]),Object(S.jsx)(p.b,Object(u.a)(Object(u.a)({},r),{},{render:function(e){return l?b?s?Object(S.jsx)(n,Object(u.a)({},e)):Object(S.jsx)(p.a,{to:{pathname:"/profile"}}):Object(S.jsx)(p.a,{to:{pathname:"/auth"}}):Object(S.jsx)(Or.ProgressSpinner,{})}}))})),ol=Object(p.i)((function(e){var t=e.history,n=e.component,r=e.children,i=Object(a.useContext)(j.d),c=i.isLoaded,s=h(),l=(0,Object(o.a)(s,1)[0])();return Object(a.useEffect)((function(){return i.updateCurrentUser(),t.listen((function(){i.updateCurrentUser()}))}),[]),Object(S.jsx)(p.b,Object(u.a)(Object(u.a)({},r),{},{render:function(e){return c?l?Object(S.jsx)(n,Object(u.a)({},e)):Object(S.jsx)(p.a,{to:{pathname:"/auth"}}):Object(S.jsx)(Or.ProgressSpinner,{})}}))})),sl=function(){var e=Object(p.h)(),t=h(),n=Object(o.a)(t,1)[0],r=Object(a.useContext)(j.d).isLoaded,i=n(),c=e.pathname.includes("/usaid-biz-dev")||"/project-details"===e.pathname||e.pathname.includes("/project-view");Object(a.useEffect)((function(){i&&Ja.Userpilot.reload()}),[e.pathname]);var s={main:c?"":"p-grid main-container",subMain:c?"":e.pathname.includes("auth")?"p-col p-grid p-justify-center content-block":"p-col p-grid p-justify-center content-block main-back"};return Object(S.jsxs)(S.Fragment,{children:[!c&&Object(S.jsxs)("div",{className:"p-grid",children:[Object(S.jsx)("div",{"data-html2canvas-ignore":"true",className:"p-col-fixed",style:{textAlign:"left",width:"230px",backgroundColor:"white",boxShadow:"0px 4px 12px rgb(0 0 0 / 5%)"},children:Object(S.jsx)(R,{})}),Object(S.jsx)("div",{className:e.pathname.includes("auth")?"p-col p-grid":"p-col p-grid main-back",style:{justifyContent:"space-between",alignItems:"center",padding:"0px 20px",maxWidth:"calc(100% - 230px)"},children:Object(S.jsxs)(v.a,{sx:{display:"flex",gap:"24px",width:"100%",justifyContent:"space-between",mt:2},children:[i?Object(S.jsx)(Uo,{}):Object(S.jsx)("div",{}),i?Object(S.jsx)(Dc.a,{}):Object(S.jsx)("div",{})]})})]}),Object(S.jsxs)("div",{className:s.main,children:[i&&!c&&Object(S.jsx)("div",{"data-html2canvas-ignore":"true",className:"p-col-fixed",style:{width:"230px",display:"flex",flexDirection:"column",boxShadow:"0px 4px 12px rgb(0 0 0 / 5%)",backgroundColor:"white"},children:Object(S.jsx)(M,{})}),Object(S.jsx)("div",{className:s.subMain,style:{maxWidth:c||e.pathname.includes("auth")||!r?"100%":"calc(100% - 230px)"},children:Object(S.jsxs)(p.d,{children:[i?Object(S.jsx)(p.b,{path:"/auth",exact:!0,render:function(){return Object(S.jsx)(p.a,{to:{pathname:"/"}})}}):Object(S.jsx)(p.b,{path:"/auth",exact:!0,component:_}),Object(S.jsx)(p.b,{path:"/usaid-biz-dev",exact:!0,component:et}),Object(S.jsx)(p.b,{path:"/usaid-biz-dev/aidex-brussels",exact:!0,component:et}),Object(S.jsx)(p.b,{path:"/usaid-biz-dev/germany",exact:!0,component:et}),Object(S.jsx)(p.b,{path:"/verify-email",exact:!0,component:tt}),Object(S.jsx)(ol,{path:"/weeklyreport",component:uc}),Object(S.jsx)(ol,{path:"/",exact:!0,component:_a}),Object(S.jsx)(ol,{path:"/dashboard-new-w68f5es4",exact:!0,component:_a}),Object(S.jsx)(cl,{path:"/admin-panel",exact:!0,roles:[j.a.admin],component:wt}),Object(S.jsx)(ol,{path:"/pipeline",exact:!0,component:Ye}),Object(S.jsx)(ol,{path:"/aidkonekt-resources",exact:!0,component:mc}),Object(S.jsx)(cl,{path:"/resources",exact:!0,component:fc,roles:j.b.proOrHigher}),Object(S.jsx)(ol,{path:"/webinars",exact:!0,component:Oc}),Object(S.jsx)(ol,{path:"/userdashboard",exact:!0,component:Ic.a}),Object(S.jsx)(ol,{path:"/cdcs-repository",exact:!0,component:Eo}),Object(S.jsx)(cl,{path:"/lcp-archives",exact:!0,component:vc,roles:j.b.proOrHigher}),Object(S.jsx)(cl,{path:"/iee-archives",exact:!0,component:yc,roles:j.b.proOrHigher}),Object(S.jsx)(ol,{path:"/qa-archives",exact:!0,component:Ac}),Object(S.jsx)(cl,{path:"/reports",component:il,roles:j.b.proOrHigher}),Object(S.jsx)(cl,{path:"/payment",component:Pr,roles:j.b.plusOrHigher}),Object(S.jsx)(cl,{path:"/subscriptions",component:Hr,roles:j.b.plusOrHigher}),Object(S.jsx)(cl,{path:"/mybids",component:Ji,roles:j.b.plusOrHigher}),Object(S.jsx)(cl,{path:"/users",roles:[j.a.admin],component:dc}),Object(S.jsx)(cl,{path:"/forecast",roles:j.b.plusOrHigher,component:$.b,exact:!0}),Object(S.jsx)(cl,{path:"/grants",roles:j.b.plusOrHigher,component:Fs,exact:!0}),Object(S.jsx)(cl,{path:"/contracts",roles:j.b.plusOrHigher,component:hs,exact:!0}),Object(S.jsx)(cl,{path:"/projects",roles:j.b.proOrHigher,component:Xs}),Object(S.jsx)(cl,{path:"/project-details",roles:j.b.proOrHigher,component:Ec}),Object(S.jsx)(cl,{path:"/organization",roles:[j.a.organizationAdmin],component:Vc}),Object(S.jsx)(cl,{path:"/pipeline/:id",roles:j.b.organizationAdmins,component:to}),Object(S.jsx)(cl,{path:"/forecast/:record",roles:j.b.plusOrHigher,component:Ys}),Object(S.jsx)(cl,{path:"/contracts/:record",roles:j.b.plusOrHigher,component:Gs}),Object(S.jsx)(cl,{path:"/grants/:record",roles:j.b.plusOrHigher,component:Ks}),Object(S.jsx)(cl,{path:"/project-view/:record",roles:j.b.organizationAdmins,component:lo}),Object(S.jsx)(ol,{path:"/confirmation/:email",component:Z}),Object(S.jsx)(ol,{path:"/tiers",component:jc}),Object(S.jsx)(ol,{path:"/idiqs",component:Co}),Object(S.jsx)(p.b,{render:function(){return Object(S.jsx)(p.a,{to:{pathname:"/"}})}})]})})]})]})},ll=function(e){e.currentUser;return Object(S.jsx)(b.a,{children:Object(S.jsx)(p.d,{children:Object(S.jsx)(p.b,{component:sl})})})},dl=(n(1337),n(1338),n(1339),n(1340),n(694)),ul=n(1344),pl=n(1491),bl=n(695),jl=n(664),ml=n(1488),fl=n(301),hl=n(1486),Ol=function(){var e=Object(d.a)(l.a.mark((function e(t,n,a,r,i){var c,o,s;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:c=t||(n.refreshToken?n.refreshToken:window.localStorage.getItem("refreshToken")),o=window.localStorage.getItem("expiredIn"),s=!1,"";try{o&&JSON.parse(o)}catch(u){s=!0}return Object(no.a)(o&&!s?new Date(JSON.parse(o)):Object(bl.a)(new Date,3500),new Date),e.next=8,V.a.post(Object(L.f)("/api/auth/refreshToken",{useDedicatedEnvironment:!0}),{Token:c}).then(function(){var e=Object(d.a)(l.a.mark((function e(t){var n,o,s,d,u,p;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:n=t.data,o=n.user,s=n.groups,d=n.konektidToken,u=Q(o.idToken),p=o.refreshToken?o.refreshToken:c,a(p),r({accessToken:o.accessToken,jwt:o.idToken,idToken:o.idToken,parsedIdToken:null!==u&&void 0!==u?u:void 0,refreshToken:p,expiresIn:o.expiresIn,groups:s,konektidToken:d}),window.localStorage.setItem("expiredIn",JSON.stringify(Object(bl.a)(new Date,3500))),i(!0);case 7:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}());case 8:case"end":return e.stop()}}),e)})));return function(t,n,a,r,i){return e.apply(this,arguments)}}(),gl=function(){Ja.Userpilot.initialize("NX-b3f5b1ba");var e=Object(a.useState)(),t=Object(o.a)(e,2),n=t[0],i=t[1];Object(a.useEffect)((function(){}),[n]);var c=Object(a.useState)(window.localStorage.getItem("refreshToken")),s=Object(o.a)(c,2),u=s[0],p=s[1],b=Object(a.useState)(!1),m=Object(o.a)(b,2),f=m[0],h=m[1],O=r.a.useRef(),g=function(){var e=Object(d.a)(l.a.mark((function e(t){return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!t){e.next=5;break}return p(t.refreshToken),i(t),h(!0),e.abrupt("return");case 5:return e.prev=5,e.next=8,Ol(u,n,p,i,h);case 8:e.next=14;break;case 10:e.prev=10,e.t0=e.catch(5),i({accessToken:"",jwt:"",idToken:void 0,parsedIdToken:void 0,refreshToken:"",expiresIn:0,groups:[],konektidToken:void 0}),h(!0);case 14:case"end":return e.stop()}}),e,null,[[5,10]])})));return function(t){return e.apply(this,arguments)}}(),x=function(){var e=Object(d.a)(l.a.mark((function e(t){return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Ol(u,n,p,i,h).then((function(){t&&window.location.reload()}));case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}();return Object(a.useEffect)((function(){window.localStorage.setItem("refreshToken",u)}),[u]),Object(S.jsx)(fl.a,{store:Zt.a,children:Object(S.jsxs)(se.a.Provider,{value:O,children:[Object(S.jsx)(dl.Toast,{ref:function(e){return O.current=e}}),Object(S.jsx)(j.d.Provider,{value:{user:n,updateCurrentUser:g,isLoaded:f,refreshUserToken:x},children:Object(S.jsx)(ul.a,{injectFirst:!0,children:Object(S.jsx)(jl.a,{dateAdapter:ml.a,children:Object(S.jsx)(Po,{children:Object(S.jsx)(Mo,{children:function(e){return Object(S.jsxs)(pl.a,{theme:Kt.a,children:[Object(S.jsx)(hl.a,{}),Object(S.jsxs)("div",{className:"App",children:[Object(S.jsx)(K.Toaster,{}),Object(S.jsx)(ll,{currentUser:n})]})]})}})})})})})]})})};Boolean("localhost"===window.location.hostname||"[::1]"===window.location.hostname||window.location.hostname.match(/^127(?:\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}$/));c.a.render(Object(S.jsx)(gl,{}),document.getElementById("root")),"serviceWorker"in navigator&&navigator.serviceWorker.ready.then((function(e){e.unregister()}))},135:function(e,t,n){"use strict";n.d(t,"a",(function(){return d}));var a=n(2),r=n(12),i=n(3),c=n(1),o=n(215),s=n(64),l=(n(570),n(0)),d="Add all matching results",u={},p={fontStyle:"italic"},b=function(e){return Object(l.jsx)("div",{style:{display:"flex",font:"16px Montserrat"},children:Object(l.jsx)("div",{style:e.label===d?p:u,children:e.label})})};t.b=function(e){var t=e.setSelectedOption,n=e.allOptions,u=e.placeholder,p=e.disabled,j=e.getOptionLabel,m=e.getOptionValue,f=e.getOptionsFromArray,h=e.filterOptionsArray,O=e.addAllFilteredResults,g=e.useContainsFilter,x=c.useContext(s.a),v=f||function(e){var t=e.map((function(e,t){return{label:e,value:e,isFixed:!0,index:t}})).filter((function(e){return e.index<50}));return(n.findIndex((function(e){return e.label===d}))>-1&&O)>-1&&t.length>1&&!t.find((function(e){return e.label===d}))&&t.splice(0,0,{label:d,value:d,isFixed:!0,index:0}),t},y=h?h(n):function(e){return n.filter((function(t){return t.toLowerCase().match(e.toLowerCase())}))},C=c.useState(Object(r.a)(v(n))),A=Object(i.a)(C,2),w=A[0],S=A[1],N=c.useState(Array()),E=Object(i.a)(N,2),I=E[0],D=E[1],F={menu:function(e){return Object(a.a)(Object(a.a)({},e),{},{zIndex:999})},option:function(e,t){return Object(a.a)(Object(a.a)({},e),{},{font:x.v2Fonts.input})}};return Object(l.jsx)(o.a,{isDisabled:p,getOptionLabel:j,getOptionValue:m,placeholder:u||"Select...",styles:F,isMulti:!0,onInputChange:function(e){return S(Object(r.a)(v(y(e))))},value:I,onChange:function(e){var n=e?Object(r.a)(e):[];e&&e.find((function(e){return e.label===d}))&&(n=[].concat(Object(r.a)(I),Object(r.a)(w.filter((function(e){return e.label!==d}))))),D(n),t(n?n.map((function(e){return e.value})):[])},options:w,filterOption:g?function(e,t){var n=e.data.label.toLowerCase().includes(t.toLowerCase());return O&&e.data.label===d&&(n=!0),n}:function(e,t){var n=e.data.label.toLowerCase().startsWith(t.toLowerCase());return O&&e.data.label===d&&(n=!0),n},formatOptionLabel:b})}},144:function(e,t,n){"use strict";var a;n.d(t,"a",(function(){return a})),n.d(t,"e",(function(){return r})),n.d(t,"b",(function(){return i})),n.d(t,"f",(function(){return c})),n.d(t,"c",(function(){return o})),n.d(t,"g",(function(){return s})),n.d(t,"d",(function(){return l})),function(e){e.SET_FIRST_NAME="SET_FIRST_NAME",e.SAVE_FIRST_NAME="SAVE_FIRST_NAME",e.SET_LAST_NAME="SET_LAST_NAME",e.SAVE_LAST_NAME="SAVE_LAST_NAME",e.SET_TIME_ZONE="SET_TIME_ZONE",e.SAVE_TIME_ZONE="SAVE_TIME_ZONE"}(a||(a={}));var r=function(e){return{type:a.SET_FIRST_NAME,value:e}},i=function(){return{type:a.SAVE_FIRST_NAME}},c=function(e){return{type:a.SET_LAST_NAME,value:e}},o=function(){return{type:a.SAVE_LAST_NAME}},s=function(e){return{type:a.SET_TIME_ZONE,value:e}},l=function(){return{type:a.SAVE_TIME_ZONE}}},149:function(e,t,n){"use strict";n.d(t,"b",(function(){return T})),n.d(t,"a",(function(){return R})),n.d(t,"e",(function(){return P})),n.d(t,"d",(function(){return M})),n.d(t,"c",(function(){return U}));var a=n(2),r=n(3),i=n(5),c=n.n(i),o=n(10),s=n(37),l=n(32),d=n(39),u=n(4),p=n(134),b=(n(1),n(150)),j=n(703),m=n(376),f=n(707),h=n(1360),O=n(476),g=n(526),x=n(159),v=n(339),y=n(146),C=n.n(y),A=n(115),w=n(269),S=n(208),N=n(194),E=n(8),I=n(124),D=n.n(I),F=n(53),k=n(0),T=function(e){var t=[{name:"usaid.gov"},{name:"Opportunity Action"},{name:"Changed Columns"},{name:"Country/Office"},{name:"Date Record Created/Changed"},{name:"Name"},{name:"Description"},{name:"Sector"},{name:"Suggested Primes/Partners"},{name:"Quarterly Forecast Q&A and Notes"},{name:"Link to Bid Docs"},{name:"ID"},{name:"Category Management Contract Vehicle"},{name:"Cost"},{name:"Award/Action Type"},{name:"Geographical Codes"},{name:"Co-creation"},{name:"Anticipated Release Date"},{name:"Anticipated Award Date"},{name:"Award Length"},{name:"Small Business Set-Aside"},{name:"Eligibility Criteria"},{name:"Solicitation Number"},{name:"A&A Specialist"},{name:"Fiscal Year of Action"},{name:"Location"}],n=[];if(0==e.length)n.push(Object(s.d)(t.length));else for(var a=0;a2&&void 0!==o[2]?o[2]:1e3,(r=n)&&(r.rowsPerPage=a),i=Array(),e.next=6,d.a.get(Object(u.f)("/api/BusinessForecast".concat(Object(F.a)(r)),{useDedicatedEnvironment:!0}),Object(u.c)(t)).then((function(e){i=e.data.data})).catch((function(e){alert("error fetching data")}));case 6:return e.abrupt("return",i);case 7:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),P=function(e,t){var n,i,c,o=t.handleOpenFilters,s=t.setFilters,l=t.liveTally,d=t.lastUpdated,u=t.fetchStatus,p=t.inputValue,v=t.onChange,y=t.allFilters,N=(y.pagination,y.filters),I=y.extendedFilters,F=(y.sortOption,t.isFree),T=E.a.isFetching(u),R=null===(n=Object.entries(I))||void 0===n||null===(i=n.filter((function(e){var t=Object(r.a)(e,2),n=(t[0],t[1]);return Array.isArray(n)?n.length>0:!!n})))||void 0===i||null===(c=i.map((function(e){var t=Object(r.a)(e,2),n=t[0];t[1];return n})))||void 0===c?void 0:c.length;return[Object(k.jsxs)(b.a,{sx:{pt:2,pb:1,display:"flex",gap:"16px",alignItems:"center"},children:[Object(k.jsx)(j.a,{value:p,onChange:v,disabled:F,sx:{width:"300px"},InputProps:{startAdornment:Object(k.jsx)(C.a,{sx:{color:e.palette.action.active}}),endAdornment:Object(k.jsxs)(k.Fragment,{children:[(null===p||void 0===p?void 0:p.length)>0&&Object(k.jsx)(m.a,{onClick:function(){return v({target:{value:""}})},sx:{mr:.5},disabled:T,children:Object(k.jsx)(D.a,{})}),Object(k.jsx)(b.a,{sx:{borderLeft:"solid 1px ".concat(e.palette.divider),pl:.5},children:Object(k.jsx)(f.a,{title:F?"Upgrade your plan to filter Forecasts":"Filters",children:Object(k.jsxs)("span",{children:[Object(k.jsx)(m.a,{onClick:o,disabled:F,children:Object(k.jsx)(A.a,{sx:{width:"24px",height:"24px"}})}),R>0&&Object(k.jsx)(h.a,{sx:{position:"absolute",height:"16px",width:"16px",top:"2px",right:"2px",fontSize:"12px",backgroundColor:e.palette.secondary.main,pointerEvents:"none"},children:R})]})})})]}),sx:{px:.5}},size:"small",placeholder:"Search"}),Object(k.jsx)(O.a,{onChange:function(e,t){return s((function(e){return Object(a.a)(Object(a.a)({},e),{},{newOnly:t})}))},control:Object(k.jsx)(g.a,{checked:N.newOnly}),label:"New only",disabled:T}),Object(k.jsx)(O.a,{onChange:function(e,t){return s((function(e){return Object(a.a)(Object(a.a)({},e),{},{liveOnly:t})}))},control:Object(k.jsx)(g.a,{checked:N.liveOnly}),label:"Current only",disabled:T}),Object(k.jsx)(O.a,{onChange:function(e,t){return s((function(e){return Object(a.a)(Object(a.a)({},e),{},{OnlyUntrackedInPipeline:t})}))},control:Object(k.jsx)(g.a,{checked:N.OnlyUntrackedInPipeline}),label:"Show Opportunities Not Added to Pipelines",disabled:T})]}),Object(k.jsxs)(b.a,{sx:{py:1,display:"flex",gap:"16px",alignItems:"center",justifyContent:"space-between"},children:[Object(k.jsxs)(x.a,{variant:"subtitle2",color:"textSecondary",children:["Number of current opportunities on the Business Forecast:"," ",null!==l&&void 0!==l?l:"N/A"]}),Object(k.jsxs)(b.a,{sx:{display:"flex",gap:"24px","& > *":{display:"flex",alignItems:"center"}},children:[Object(k.jsxs)(x.a,{variant:"subtitle2",color:"textSecondary",children:[Object(k.jsx)(w.a,{color:"secondary",sx:{height:"16px",width:"16px",mr:.5,mt:"-2px"}}),"Source: USAID Business Forecast"]}),Object(k.jsxs)(x.a,{variant:"subtitle2",color:"textSecondary",children:[Object(k.jsx)(S.a,{sx:{height:"16px",width:"16px",mr:.5,mt:"-2px"}}),"Last updated: ",null!==d&&void 0!==d?d:"N/A"]})]})]})]},M=function(e,t,n,r){return Object(k.jsx)(N.a,Object(a.a)({height:null!==r&&void 0!==r?r:24,label:e.status===p.a.NewRecord?"New":e.status===p.a.ModifiedRecord?"Changed":"Removed",color:e.status===p.a.NewRecord?t.palette.primary.main:e.status===p.a.ModifiedRecord?t.palette.secondary.main:t.palette.text.secondary,backgroundColor:e.status===p.a.NewRecord?t.palette.primary.light:e.status===p.a.ModifiedRecord?Object(v.a)(t.palette.secondary.light,.5):t.palette.action.hover},n&&{borderRadius:n}))},U=function(e){return"awardDescription"===e?"description":"awardTitle"===e?"title":"totalEstimatedCost"===e?"estimatedCostRange":"awardActionType"===e?"projectType":"anticipatedSolicitationReleaseDate"===e?"anticipatedReleaseDate":e}},15:function(e,t,n){"use strict";n.d(t,"a",(function(){return c})),n.d(t,"b",(function(){return o}));var a=n(2),r=n(23),i=(n(1),n(0));function c(e,t,n,c,o,s){var l=e.headerStyle,d=e.columnStyle,u=s&&s.additionalHeaderStyles?s.additionalHeaderStyles:{};return Object(i.jsx)(r.Column,{header:c,sortable:!s||s.sortable,field:o,bodyClassName:s&&s.bodyClassName?s.bodyClassName:"",headerStyle:Object(a.a)(Object(a.a)({},l(t)),u),style:d(t),body:n})}function o(e,t,n,a,r,o,s,l){return c({headerStyle:e.headerStyle,columnStyle:e.columnStyle},t,(function(e){var t=n(e),r=a(e);return"string"===typeof t||t instanceof String?Object(i.jsx)("p",{"data-full-abstract":t,"data-title":r,className:"abstract",children:t&&t.length>o?"".concat(t.substring(0,o),"..."):t}):t}),r,l,{bodyClassName:"abstract",sortable:s})}},173:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var a=n(1),r=n.n(a),i=n(64),c=n(9);function o(){var e=Object(a.useContext)(i.a),t=r.a.useContext(c.d);return{isFree:!Object(c.h)(t,c.b.plusOrHigher),isPlus:Object(c.h)(t,c.b.plusOrHigher),isPro:Object(c.h)(t,c.b.proOrHigher),dropdownBlurClassName:function(e){return e?"tyd-blur-dropdown":""},potentiallyBlurred:function(e){return e?{color:"transparent",textShadow:"0 0 10px rgba(0,0,0,0.5)",WebkitTouchCallout:"none",WebkitUserSelect:"none",KhtmlUserSelect:"none",MozUserSelect:"none",msUserSelect:"none",userSelect:"none"}:{}},floatingLabel:{display:"block",color:e.v2.darkGrey,fontWeight:600,fontSize:15,whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"},radiusBordered:{border:"2px solid",borderColor:e.v2.lightGrey,borderRadius:"65px",paddingTop:8,paddingBottom:8},text:{fontSize:"14px",padding:"7px 15px",margin:"5px 0px"}}}},174:function(e,t,n){"use strict";var a=n(2),r=n(1),i=n.n(r),c=n(72),o=n(64),s=n(0);t.a=function(e){return Object(s.jsx)("div",Object(a.a)(Object(a.a)({className:e.className?e.className:{}},Object(c.css)({border:"5px solid",borderColor:i.a.useContext(o.a).v2.lightGrey,borderRadius:"30px",padding:"10px 20px",backgroundColor:"#ffffff"})),{},{style:e.style?e.style:{},children:e.children}))}},176:function(e,t,n){"use strict";n.d(t,"b",(function(){return o})),n.d(t,"a",(function(){return s}));var a=n(2),r=n(74),i=n(144),c=n(1),o=function(e,t,n,a,i){return{username:e,firstName:Object(r.a)(t),lastName:Object(r.a)(n),email:a,timeZone:Object(r.a)(i)}},s=n.n(c).a.createContext({});t.c=function(e,t){switch(t.type){case i.a.SET_FIRST_NAME:return Object(a.a)(Object(a.a)({},e),{},{firstName:Object(r.c)(e.firstName,t.value)});case i.a.SAVE_FIRST_NAME:return Object(a.a)(Object(a.a)({},e),{},{firstName:Object(r.b)(e.firstName)});case i.a.SET_LAST_NAME:return Object(a.a)(Object(a.a)({},e),{},{lastName:Object(r.c)(e.lastName,t.value)});case i.a.SAVE_LAST_NAME:return Object(a.a)(Object(a.a)({},e),{},{lastName:Object(r.b)(e.lastName)});case i.a.SET_TIME_ZONE:return Object(a.a)(Object(a.a)({},e),{},{timeZone:Object(r.c)(e.timeZone,t.value)});case i.a.SAVE_TIME_ZONE:return Object(a.a)(Object(a.a)({},e),{},{timeZone:Object(r.b)(e.timeZone)});default:return e}}},178:function(e,t,n){"use strict";var a,r;n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return r})),function(e){e.Default="Default",e.Daily="Daily",e.Weekly="Weekly",e.BusinessForecastLiveUpdate="BusinessForecastLiveUpdate"}(a||(a={})),function(e){e.And="And",e.Or="Or"}(r||(r={}))},179:function(e,t,n){"use strict";n.d(t,"a",(function(){return m}));n(12),n(5),n(10),n(2),n(3),n(1),n(9),n(4),n(129),n(135),n(233),n(907),n(15),n(351),n(1470),n(130),n(147),n(65),n(31),n(38),n(519),n(81),n(50),n(99),n(52),n(48),n(18),n(121),n(37),n(40),n(82),n(201),n(241),n(62),n(39),n(110),n(63),n(75),n(45),n(196),n(251),n(319),n(666),n(0),null===(a=n(392))||void 0===a||a.default,null===(r=n(393))||void 0===r||r.default,null===(i=n(394))||void 0===i||i.default,null===(c=n(395))||void 0===c||c.default,null===(o=n(396))||void 0===o||o.default,null===(s=n(352))||void 0===s||s.default,null===(l=n(353))||void 0===l||l.default,null===(d=n(579))||void 0===d||d.default,null===(u=n(577))||void 0===u||u.default,null===(p=n(578))||void 0===p||p.default,null===(b=n(1107))||void 0===b||b.default,null===(j=n(580))||void 0===j||j.default,Date.today(),new Intl.NumberFormat("en-US",{style:"currency",currency:"USD"});var a,r,i,c,o,s,l,d,u,p,b,j,m=new Intl.NumberFormat("en-US",{style:"currency",currency:"USD",minimumFractionDigits:0,maximumFractionDigits:0})},18:function(e,t,n){"use strict";n.d(t,"a",(function(){return a})),n.d(t,"f",(function(){return i})),n.d(t,"b",(function(){return c})),n.d(t,"c",(function(){return o})),n.d(t,"d",(function(){return s})),n.d(t,"e",(function(){return l}));var a,r=n(516);function i(e){if(!e)return e;var t=e.lastIndexOf(" ");return-1===t?e:e.substring(0,t)}function c(e,t){if(e){if(e.toISOString){var n=e;return new Date(Date.UTC(n.getFullYear(),n.getMonth(),n.getDate(),0,0,0)).toString(t)}var a=i(e.toString()),r=new Date(a);if(r&&r.toISOString().startsWith("0"))return"N/A";if(r)return new Date(Date.UTC(r.getFullYear(),r.getMonth(),r.getDate(),0,0,0)).toString(t)}return e?e.toString():""}!function(e){e.dd_MMMM_yyyy="dd MMMM yyyy",e.dd_MMMM_yyyy_HH_mm="dd MMMM yyyy HH:mm:ss",e.dd_MMMM_yyyy_hh_mm="dd MMMM yyyy HH:mm"}(a||(a={}));var o=function(e){var t=0;if(null!==e){var n=6e4*new Date(0).getTimezoneOffset();t=Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),0,0,0)+n}else t=null;return t},s=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"T00:00:00+00:00",i=Object(r.a)(new Date(o(e)+(t?36e6:0)));return n?i.split("T")[0]+a:i},l=function(e){return new Date(new Date(e).toISOString().slice(0,-1))}},190:function(e,t,n){"use strict";var a=n(1),r=n(94),i=n(9),c=n(0);t.a=function(e){var t=e.upgradePlanModalOpen,n=e.setUpgradePlanModalOpen,o=Object(a.useContext)(i.d),s=Object(i.e)(o,i.a.organizationMember);return Object(c.jsx)(r.a,{title:"Upgrade",open:t,handleClose:function(){return n(!1)},disableCancelButton:!0,handleAccept:function(){window.open("tiers","_blank"),setTimeout((function(){n(!1)}),150)},acceptLabel:"Upgrade",acceptButtonDisabled:s,contentSx:{overflow:"auto"},children:s?"Contact your account admin to renew the plan":"Upgrade your plan for access."})}},194:function(e,t,n){"use strict";var a=n(2),r=(n(1),n(705)),i=n(0);t.a=function(e){var t=e.label,n=e.color,c=e.backgroundColor,o=e.fontWeight,s=void 0===o?600:o,l=e.fontSize,d=void 0===l?"0.8125rem":l,u=e.height,p=void 0===u?32:u,b=e.borderRadius,j=void 0===b?null:b,m=e.boxShadow,f=void 0===m?null:m,h=e.icon,O=void 0===h?null:h,g=e.margin,x=void 0===g?null:g,v=e.sx,y=void 0===v?{}:v,C=e.onClick,A=void 0===C?null:C;return Object(i.jsx)(r.a,Object(a.a)(Object(a.a)({label:t,icon:O||Object(i.jsx)(i.Fragment,{})},A&&{onClick:A}),{},{sx:Object(a.a)(Object(a.a)(Object(a.a)(Object(a.a)(Object(a.a)({color:n,backgroundColor:c,fontWeight:s,fontSize:d,height:p},j&&{borderRadius:j}),f&&{boxShadow:f}),x&&{margin:x}),A&&{cursor:"pointer"}),y)}))}},199:function(e,t,n){"use strict";var a=n(2),r=n(83),i=n(1),c=n.n(i),o=n(31),s=n(64),l=n(0),d=["color","style"],u={fontWeight:"bold",margin:"5px",height:"40px",borderRadius:"65px",fontSize:"1em"};t.a=function(e){var t=e.color,n=e.style,i=Object(r.a)(e,d),p=c.a.useContext(s.a);return Object(l.jsx)(o.Button,Object(a.a)({style:Object(a.a)(Object(a.a)({},u),{},{backgroundColor:t||p.v2.darkYellow},n)},i))}},206:function(e,t,n){"use strict";var a=n(12),r=n(3),i=n(1),c=n(95),o=n(150),s=n(525),l=n(159),d=n(376),u=n(703),p=n(476),b=n(1357),j=n(700),m=n(124),f=n.n(m),h=n(146),O=n.n(h),g=n(30),x=n(8),v=n(57),y=n(341),C=n(35),A=n(9),w=n(0);t.a=function(e){var t=e.handleCloseAddToPipelines,n=e.item,m=e.source,h=e.onChangePipelines,S=Object(c.a)(),N=Object(g.b)(),E=Object(i.useContext)(A.d),I="forecast"===m?"forecast":"contracts"===m?"contract":"grant",D=Object(g.c)((function(e){return e.pipelines})),F=D.items,k=D.addOrRemoveFromPipelines.postFetchStatus,T=Object(g.c)((function(e){return e.pipelines.pipelinesForRecord})),R=T.items,P=(T.fetchStatus,T.itemsFor,x.a.isFetching(k)),M=Object(i.useState)(F.length>0&&R.length>0?Object(v.compact)(F.map((function(e){return R.find((function(t){return t.pipelineId===e.id}))?e.id:null}))):[]),U=Object(r.a)(M,2),L=U[0],B=U[1],V=Object(i.useState)(F),Q=Object(r.a)(V,2),W=Q[0],H=Q[1],z=Object(i.useState)(""),Y=Object(r.a)(z,2),G=Y[0],K=Y[1],q=function(e){K(e.target.value),X(e.target.value)},X=Object(i.useCallback)(Object(v.debounce)((function(e){H(F.filter((function(t){return t.name.includes(e)})))}),250),[]);return Object(i.useEffect)((function(){B(F.length>0&&R.length>0?Object(v.compact)(F.map((function(e){return R.find((function(t){return t.pipelineId===e.id}))?e.id:null}))):[])}),[F]),Object(w.jsx)(j.a,{onClickAway:t,children:Object(w.jsxs)(o.a,{sx:{display:"flex",flexDirection:"column",gap:"8px"},children:[Object(w.jsx)(o.a,{sx:{height:"4px",m:"-4px -8px 0"},children:P&&Object(w.jsx)(s.a,{sx:{borderRadius:"8px 8px 0 0"}})}),Object(w.jsxs)(l.a,{variant:"h5",sx:{color:S.palette.primary.contrastText,display:"flex",justifyContent:"space-between",alignItems:"center"},children:["Add to pipeline(s)",Object(w.jsx)(d.a,{onClick:t,children:Object(w.jsx)(f.a,{sx:{color:S.palette.primary.contrastText,"&:hover":{color:S.palette.text.secondary}}})})]}),Object(w.jsx)(u.a,{size:"small",onChange:q,value:G,placeholder:"".concat(L.length," Pipeline").concat(1===L.length?"":"s"," Selected"),InputProps:{sx:{backgroundColor:S.palette.background.paper,px:.5},startAdornment:Object(w.jsx)(O.a,{sx:{color:S.palette.text.secondary}}),endAdornment:G.length>0&&Object(w.jsx)(d.a,{onClick:function(){q({target:{value:""}})},children:Object(w.jsx)(f.a,{})})}}),F.length>W.length&&Object(w.jsxs)(l.a,{variant:"subtitle2",sx:{color:S.palette.primary.contrastText},children:["Currently showing ",null===W||void 0===W?void 0:W.length," out of"," ",null===F||void 0===F?void 0:F.length," pipelines."]}),Object(w.jsx)(o.a,{sx:{overflowY:"auto",maxHeight:"150px",display:"flex",flexDirection:"column"},children:0===W.length?Object(w.jsx)(l.a,{variant:"subtitle2",sx:{color:S.palette.primary.contrastText},children:"No pipelines found"}):W.map((function(e){return Object(w.jsx)(p.a,{control:Object(w.jsx)(b.a,{checked:L.includes(null===e||void 0===e?void 0:e.id),disabled:P,sx:{p:.5,m:0,mx:.5,ml:1},onChange:function(t,n){return r=e.id,void(L.includes(r)?B((function(e){return e.filter((function(e){return e!==r}))})):B((function(e){return[].concat(Object(a.a)(e),[r])})));var r}}),label:e.name,slotProps:{typography:{variant:"subtitle2"}}},null===e||void 0===e?void 0:e.id)}))}),Object(w.jsx)(o.a,{sx:{display:"flex",justifyContent:"flex-end",my:1},children:Object(w.jsx)(y.a,{variant:"contained",color:"secondary",onClick:function(){var e=Object(v.compact)(F.map((function(e){return R.find((function(t){return t.pipelineId===e.id}))?e.id:null}))),t=Object(v.difference)(e,L),a=Object(v.difference)(L,e);h&&h(a,t,e,n),N(Object(C.a)({context:E,sourceTable:I,forecastPipelineIdsToAdd:a.map((function(e){return{forecastId:n.id,pipelineId:e}})),forecastPipelineIdsToRemove:t.map((function(e){return{forecastId:n.id,pipelineId:e}}))}))},children:"Save"})})]})})}},208:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var a=n(66),r=n(0),i=Object(a.a)(Object(r.jsx)("svg",{width:"14",height:"14",viewBox:"0 0 14 14",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:Object(r.jsx)("path",{d:"M12.2734 9.33992H9.25337C9.07656 9.33992 8.90699 9.41016 8.78197 9.53518C8.65695 9.6602 8.58671 9.82977 8.58671 10.0066C8.58671 10.1834 8.65695 10.353 8.78197 10.478C8.90699 10.603 9.07656 10.6733 9.25337 10.6733H10.8534C10.118 11.4417 9.16964 11.9728 8.13015 12.1982C7.09066 12.4236 6.00751 12.333 5.01989 11.9381C4.03227 11.5432 3.18529 10.862 2.58777 9.98203C1.99025 9.10208 1.66949 8.06356 1.66671 6.99992C1.66671 6.82311 1.59647 6.65354 1.47145 6.52851C1.34642 6.40349 1.17685 6.33325 1.00004 6.33325C0.82323 6.33325 0.65366 6.40349 0.528636 6.52851C0.403612 6.65354 0.333374 6.82311 0.333374 6.99992C0.336898 8.30178 0.721521 9.57413 1.43978 10.6599C2.15803 11.7457 3.17848 12.5975 4.3752 13.1101C5.57192 13.6226 6.89253 13.7736 8.17405 13.5443C9.45558 13.3151 10.6419 12.7156 11.5867 11.8199V12.9999C11.5867 13.1767 11.6569 13.3463 11.782 13.4713C11.907 13.5963 12.0766 13.6666 12.2534 13.6666C12.4302 13.6666 12.5998 13.5963 12.7248 13.4713C12.8498 13.3463 12.92 13.1767 12.92 12.9999V9.99992C12.9184 9.82767 12.8501 9.66275 12.7296 9.53972C12.609 9.41668 12.4455 9.34508 12.2734 9.33992ZM9.00004 6.99992C9.00004 6.60436 8.88274 6.21768 8.66298 5.88878C8.44322 5.55988 8.13086 5.30353 7.76541 5.15216C7.39995 5.00078 6.99782 4.96118 6.60986 5.03835C6.2219 5.11552 5.86553 5.306 5.58583 5.5857C5.30612 5.86541 5.11564 6.22178 5.03847 6.60974C4.9613 6.9977 5.00091 7.39983 5.15228 7.76529C5.30366 8.13074 5.56 8.44309 5.8889 8.66286C6.2178 8.88262 6.60448 8.99992 7.00004 8.99992C7.53047 8.99992 8.03918 8.7892 8.41425 8.41413C8.78933 8.03906 9.00004 7.53035 9.00004 6.99992ZM6.33337 6.99992C6.33337 6.86806 6.37247 6.73917 6.44573 6.62954C6.51898 6.51991 6.6231 6.43446 6.74492 6.384C6.86673 6.33354 7.00078 6.32034 7.1301 6.34606C7.25942 6.37178 7.37821 6.43528 7.47144 6.52851C7.56468 6.62175 7.62817 6.74054 7.6539 6.86986C7.67962 6.99918 7.66642 7.13322 7.61596 7.25504C7.5655 7.37686 7.48005 7.48098 7.37042 7.55423C7.26079 7.62749 7.13189 7.66658 7.00004 7.66658C6.82323 7.66658 6.65366 7.59635 6.52864 7.47132C6.40361 7.3463 6.33337 7.17673 6.33337 6.99992ZM7.00004 0.333252C5.29096 0.338127 3.64903 0.999195 2.41337 2.17992V0.999919C2.41337 0.823108 2.34314 0.653538 2.21811 0.528514C2.09309 0.40349 1.92352 0.333252 1.74671 0.333252C1.5699 0.333252 1.40033 0.40349 1.2753 0.528514C1.15028 0.653538 1.08004 0.823108 1.08004 0.999919V3.99992C1.08004 4.17673 1.15028 4.3463 1.2753 4.47132C1.40033 4.59635 1.5699 4.66658 1.74671 4.66658H4.74671C4.92352 4.66658 5.09309 4.59635 5.21811 4.47132C5.34314 4.3463 5.41337 4.17673 5.41337 3.99992C5.41337 3.82311 5.34314 3.65354 5.21811 3.52851C5.09309 3.40349 4.92352 3.33325 4.74671 3.33325H3.14671C3.88168 2.56517 4.82943 2.03425 5.86831 1.80866C6.90718 1.58306 7.98977 1.67308 8.97711 2.06716C9.96446 2.46124 10.8115 3.14139 11.4095 4.02032C12.0076 4.89925 12.3293 5.93684 12.3334 6.99992C12.3334 7.17673 12.4036 7.3463 12.5286 7.47132C12.6537 7.59635 12.8232 7.66658 13 7.66658C13.1769 7.66658 13.3464 7.59635 13.4714 7.47132C13.5965 7.3463 13.6667 7.17673 13.6667 6.99992C13.6667 6.12444 13.4943 5.25753 13.1592 4.4487C12.8242 3.63986 12.3331 2.90493 11.7141 2.28587C11.095 1.66682 10.3601 1.17575 9.55126 0.840722C8.74243 0.50569 7.87552 0.333252 7.00004 0.333252Z",fill:"inherit"})}),"LastUpdatedIcon")},211:function(e,t,n){"use strict";var a=n(12),r=n(3),i=n(1),c=n(8),o=n(159),s=n(474),l=n(150),d=n(705),u=n(33),p=n(341),b=n(370),j=n.n(b),m=n(94),f=n(30),h=n(9),O=n(98),g=n(46),x=n.n(g),v=n(212),y=n(315),C=n(0),A={external:"",company:[],message:""},w="usaid-bid-search-component-share-modal-form";t.a=function(e){var t=e.open,n=e.handleClose,b=e.openFor,g=e.onSubmit,S=e.shareFetchStatus,N=e.type,E=e.explicitIdParamName,I=void 0===E?void 0:E,D=Object(i.useContext)(h.d),F=Object(f.b)(),k=Object(f.c)((function(e){return e.organization})),T=k.organizationUsers,R=(k.fetchStatus,Object(O.b)({defaultValues:A})),P=R.control,M=R.handleSubmit,U=R.reset,L=R.getValues,B=R.setValue,V=Object(i.useState)([]),Q=Object(r.a)(V,2),W=Q[0],H=Q[1],z=I||("forecast"===N?"rowId":"contracts"===N?"contractOpportunityBase_Id":"id");return Object(i.useEffect)((function(){t?F(Object(y.a)(D)):setTimeout((function(){U(A),H([])}),150)}),[t]),Object(C.jsx)(C.Fragment,{children:Object(C.jsx)(m.a,{open:t,handleClose:n,acceptButtonType:"submit",form:w,title:"Share ".concat(Array.isArray(b)?"selected opportunities":"opportunity"),minWidth:"600px",acceptLabel:"Share",acceptButtonLoading:c.a.isFetching(S),children:Object(C.jsxs)("form",{onSubmit:M((function(e){var t,n,r;b&&(0!==(null===(t=L("company"))||void 0===t?void 0:t.length)||0!==(null===W||void 0===W?void 0:W.length)?g({message:null!==(n=null===e||void 0===e||null===(r=e.message)||void 0===r?void 0:r.replaceAll("\n","
"))&&void 0!==n?n:null,opportunityId:Array.isArray(b)?b.map((function(e){return parseInt(e,10)})):b[z],addresses:[].concat(Object(a.a)(L("company").map((function(e){return e.value}))),Object(a.a)(W.map((function(e){return e.email}))))}):x.a.error("You haven't added / selected any recipients"))})),id:w,style:{paddingTop:"16px",display:"flex",flexDirection:"column",flex:1},children:[Object(C.jsx)(o.a,{variant:"h5",children:"Recipients"}),Object(C.jsx)(s.a,{sx:{mb:2}}),Object(C.jsxs)(l.a,{sx:{display:"flex",gap:"16px",mb:1},children:[Object(C.jsx)(u.a,{type:"text",name:"external",control:P,label:"External user",fullWidth:!0}),Object(C.jsx)(p.a,{endIcon:Object(C.jsx)(j.a,{}),variant:"contained",onClick:function(){var e=L("external");W.find((function(t){return t.email===e}))||L("company").find((function(t){return t.value===e}))?x.a.error("Email already added"):Object(v.a)(e)?(H((function(e){return[].concat(Object(a.a)(e),[{email:L("external")}])})),B("external","")):x.a.error("Invalid email address")},children:"Add"})]}),Object(C.jsx)(l.a,{sx:{display:"flex",gap:"8px",flexWrap:"wrap",mb:W.length>0?2:1},children:W.map((function(e,t){return Object(C.jsx)(d.a,{label:e.email,onDelete:function(){return t=e.email,void H((function(e){return e.filter((function(e){return e.email!==t}))}));var t},sx:{borderRadius:"16px !important",mb:.5,"& > svg":{height:"24px",width:"24px"}}},"".concat(e.email,"-").concat(t))}))}),Object(C.jsx)(u.a,{type:"combo-box",name:"company",control:P,label:"Company users",fullWidth:!0,options:T.filter((function(e){var t,n;return(null===(t=e.email)||void 0===t?void 0:t.toLocaleLowerCase())!==(null===(n=D.user.parsedIdToken)||void 0===n?void 0:n.email)})).map((function(e){return{value:e.email,label:e.firstName&&e.lastName?"".concat(e.firstName," ").concat(e.lastName):"",secondaryLabel:"".concat(e.email)}})),multiple:!0,withCheckboxes:!0,sx:{mb:2}}),Object(C.jsx)(o.a,{variant:"h5",children:"Message"}),Object(C.jsx)(s.a,{sx:{mb:2}}),Object(C.jsx)(u.a,{type:"text",name:"message",control:P,multiline:!0,rows:5,fullWidth:!0})]})})})}},212:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var a=function(e){return/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(String(e).toLowerCase())}},222:function(e,t,n){"use strict";n.d(t,"b",(function(){return h})),n.d(t,"a",(function(){return O})),n.d(t,"c",(function(){return x})),n.d(t,"d",(function(){return v}));var a,r=n(6),i=n(12),c=n(5),o=n.n(c),s=n(2),l=n(10),d=n(39),u=n(42),p=n(119),b=n(4),j=n(8),m=n(53),f=Object.freeze({items:[],fetchStatus:j.a.statuses.NULL,total:0,lastUpdatedUtc:null,attributes:{},dropdownOptions:{country:{items:[],fetchStatus:j.a.statuses.NULL},technicalSector:{items:[],fetchStatus:j.a.statuses.NULL},authoringOrg:{items:[],fetchStatus:j.a.statuses.NULL},fetchStatus:j.a.statuses.NULL}}),h=Object(u.b)("reports/getReports",function(){var e=Object(l.a)(o.a.mark((function e(t,n){var a,r,i,c;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.context,i=t.params,e.next=3,d.a.get(Object(b.f)("/api/Dec".concat(Object(m.a)(Object(s.a)({},i),"|")),{useDedicatedEnvironment:!0}),Object(b.b)(r));case 3:return c=e.sent,e.abrupt("return",null!==(a=null===c||void 0===c?void 0:c.data)&&void 0!==a?a:[]);case 5:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}()),O=Object(u.b)("reports/getDropdownOptionsForReports",function(){var e=Object(l.a)(o.a.mark((function e(t,n){var a,r,c,s,l,u;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=t.context,r=t.target,c=void 0===r?["country","technicalSector","authoringOrg"]:r,s=t.filter,l=void 0===s?"":s,e.next=3,Promise.all([].concat(Object(i.a)(c.includes("country")?[d.a.get(Object(b.f)("/api/dec/dropdownoptions/country".concat(Object(m.a)({filter:l})),{useDedicatedEnvironment:!0}),Object(b.b)(a))]:[]),Object(i.a)(c.includes("technicalSector")?[d.a.get(Object(b.f)("/api/dec/dropdownoptions/technicalSector".concat(Object(m.a)({filter:l})),{useDedicatedEnvironment:!0}),Object(b.b)(a))]:[]),Object(i.a)(c.includes("authoringOrg")?[d.a.get(Object(b.f)("/api/dec/dropdownoptions/authoringOrg".concat(Object(m.a)({filter:l})),{useDedicatedEnvironment:!0}),Object(b.b)(a))]:[])));case 3:return u=e.sent,e.abrupt("return",Object.fromEntries(c.map((function(e,t){var n;return[[e],null!==(n=u[t].data)&&void 0!==n?n:[]]}))));case 5:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}()),g=Object(u.c)({name:"reports",initialState:f,reducers:{resetReportsItems:function(e){e.items=f.items,e.total=f.total,e.fetchStatus=f.fetchStatus}},extraReducers:(a={},Object(r.a)(a,h.pending,(function(e,t){e.fetchStatus=j.a.statuses.FETCHING})),Object(r.a)(a,h.fulfilled,(function(e,t){var n=t.payload,a=n.attributes,r=n.data,i=n.lastUpdatedUtc,c=n.totalItems;e.items=r,e.total=c,e.lastUpdatedUtc=i,e.attributes=a,e.fetchStatus=j.a.statuses.DONE})),Object(r.a)(a,h.rejected,(function(e,t){e.fetchStatus=j.a.statuses.ERROR})),Object(r.a)(a,O.pending,(function(e,t){t.meta.arg.target.includes("country")&&(e.dropdownOptions.country.fetchStatus=j.a.statuses.FETCHING),t.meta.arg.target.includes("technicalSector")&&(e.dropdownOptions.technicalSector.fetchStatus=j.a.statuses.FETCHING),t.meta.arg.target.includes("authoringOrg")&&(e.dropdownOptions.authoringOrg.fetchStatus=j.a.statuses.FETCHING)})),Object(r.a)(a,O.fulfilled,(function(e,t){var n,a,r,i,c,o,s=Object(p.a)(e);console.log(t.payload),e.dropdownOptions={country:{items:(null===(n=t.payload)||void 0===n?void 0:n.country)?null===(a=t.payload)||void 0===a?void 0:a.country.map((function(e){return{value:e,label:e}})):s.dropdownOptions.country.items,fetchStatus:j.a.statuses.DONE},technicalSector:{items:(null===(r=t.payload)||void 0===r?void 0:r.technicalSector)?null===(i=t.payload)||void 0===i?void 0:i.technicalSector.map((function(e){return{value:e,label:e}})):s.dropdownOptions.technicalSector.items,fetchStatus:j.a.statuses.DONE},authoringOrg:{items:(null===(c=t.payload)||void 0===c?void 0:c.authoringOrg)?null===(o=t.payload)||void 0===o?void 0:o.authoringOrg.map((function(e){return{value:e,label:e}})):s.dropdownOptions.authoringOrg.items,fetchStatus:j.a.statuses.DONE}}})),Object(r.a)(a,O.rejected,(function(e,t){e.dropdownOptions.country.fetchStatus=j.a.statuses.ERROR,e.dropdownOptions.technicalSector.fetchStatus=j.a.statuses.ERROR,e.dropdownOptions.authoringOrg.fetchStatus=j.a.statuses.ERROR})),a)}),x=g.reducer,v=g.actions.resetReportsItems},223:function(e,t,n){"use strict";n.d(t,"d",(function(){return a})),n.d(t,"c",(function(){return r})),n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return c}));var a="America/Washington, D.C.",r="America/New_York",i=[{country:"Africa/Abidjan",utc:"UTC+0"},{country:"Africa/Accra",utc:"UTC+0"},{country:"Africa/Algiers",utc:"UTC+1"},{country:"Africa/Bissau",utc:"UTC+0"},{country:"Africa/Cairo",utc:"UTC+2"},{country:"Africa/Casablanca",utc:"UTC+0"},{country:"Africa/Ceuta",utc:"UTC+1"},{country:"Africa/El_Aaiun",utc:"UTC+0"},{country:"Africa/Johannesburg",utc:"UTC+2"},{country:"Africa/Juba",utc:"UTC+2"},{country:"Africa/Khartoum",utc:"UTC+2"},{country:"Africa/Lagos",utc:"UTC+1"},{country:"Africa/Maputo",utc:"UTC+2"},{country:"Africa/Monrovia",utc:"UTC+0"},{country:"Africa/Nairobi",utc:"UTC+3"},{country:"Africa/Ndjamena",utc:"UTC+1"},{country:"Africa/Sao_Tome",utc:"UTC+0"},{country:"Africa/Tripoli",utc:"UTC+2"},{country:"Africa/Tunis",utc:"UTC+1"},{country:"Africa/Windhoek",utc:"UTC+1"},{country:"America/Adak",utc:"UTC-10"},{country:"America/Anchorage",utc:"UTC-9"},{country:"America/Araguaina",utc:"UTC-3"},{country:"America/Argentina/Buenos_Aires",utc:"UTC-3"},{country:"America/Argentina/Catamarca",utc:"UTC-3"},{country:"America/Argentina/Cordoba",utc:"UTC-3"},{country:"America/Argentina/Jujuy",utc:"UTC-3"},{country:"America/Argentina/La_Rioja",utc:"UTC-3"},{country:"America/Argentina/Mendoza",utc:"UTC-3"},{country:"America/Argentina/Rio_Gallegos",utc:"UTC-3"},{country:"America/Argentina/Salta",utc:"UTC-3"},{country:"America/Argentina/San_Juan",utc:"UTC-3"},{country:"America/Argentina/San_Luis",utc:"UTC-3"},{country:"America/Argentina/Tucuman",utc:"UTC-3"},{country:"America/Argentina/Ushuaia",utc:"UTC-3"},{country:"America/Asuncion",utc:"UTC-4"},{country:"America/Atikokan",utc:"UTC-5"},{country:"America/Bahia",utc:"UTC-3"},{country:"America/Bahia_Banderas",utc:"UTC-6"},{country:"America/Barbados",utc:"UTC-4"},{country:"America/Belem",utc:"UTC-3"},{country:"America/Belize",utc:"UTC-6"},{country:"America/Blanc-Sablon",utc:"UTC-4"},{country:"America/Boa_Vista",utc:"UTC-4"},{country:"America/Bogota",utc:"UTC-5"},{country:"America/Boise",utc:"UTC-7"},{country:"America/Cambridge_Bay",utc:"UTC-7"},{country:"America/Campo_Grande",utc:"UTC-4"},{country:"America/Cancun",utc:"UTC-5"},{country:"America/Caracas",utc:"UTC-4"},{country:"America/Cayenne",utc:"UTC-3"},{country:"America/Chicago",utc:"UTC-6"},{country:"America/Chihuahua",utc:"UTC-7"},{country:"America/Costa_Rica",utc:"UTC-6"},{country:"America/Creston",utc:"UTC-7"},{country:"America/Cuiaba",utc:"UTC-4"},{country:"America/Curacao",utc:"UTC-4"},{country:"America/Danmarkshavn",utc:"UTC+0"},{country:"America/Dawson",utc:"UTC-7"},{country:"America/Dawson_Creek",utc:"UTC-7"},{country:"America/Denver",utc:"UTC-7"},{country:"America/Detroit",utc:"UTC-5"},{country:"America/Edmonton",utc:"UTC-7"},{country:"America/Eirunepe",utc:"UTC-5"},{country:"America/El_Salvador",utc:"UTC-6"},{country:"America/Fort_Nelson",utc:"UTC-7"},{country:"America/Fortaleza",utc:"UTC-3"},{country:"America/Glace_Bay",utc:"UTC-3"},{country:"America/Godthab",utc:"UTC-3"},{country:"America/Goose_Bay",utc:"UTC-4"},{country:"America/Grand_Turk",utc:"UTC-5"},{country:"America/Guatemala",utc:"UTC-6"},{country:"America/Guayaquil",utc:"UTC-5"},{country:"America/Guyana",utc:"UTC-4"},{country:"America/Halifax",utc:"UTC-4"},{country:"America/Havana",utc:"UTC-5"},{country:"America/Hermosillo",utc:"UTC-7"},{country:"America/Indiana/Indianapolis",utc:"UTC-5"},{country:"America/Indiana/Knox",utc:"UTC-6"},{country:"America/Indiana/Marengo",utc:"UTC-5"},{country:"America/Indiana/Petersburg",utc:"UTC-5"},{country:"America/Indiana/Tell_City",utc:"UTC-6"},{country:"America/Indiana/Vevay",utc:"UTC-5"},{country:"America/Indiana/Vincennes",utc:"UTC-5"},{country:"America/Indiana/Winamac",utc:"UTC-5"},{country:"America/Inuvik",utc:"UTC-7"},{country:"America/Iqaluit",utc:"UTC-5"},{country:"America/Jamaica",utc:"UTC-5"},{country:"America/Juneau",utc:"UTC-9"},{country:"America/Kentucky/Louisville",utc:"UTC-5"},{country:"America/Kentucky/Monticello",utc:"UTC-5"},{country:"America/La_Paz",utc:"UTC-4"},{country:"America/Lima",utc:"UTC-5"},{country:"America/Los_Angeles",utc:"UTC-8"},{country:"America/Maceio",utc:"UTC-3"},{country:"America/Managua",utc:"UTC-6"},{country:"America/Manaus",utc:"UTC-4"},{country:"America/Martinique",utc:"UTC-4"},{country:"America/Matamoros",utc:"UTC-6"},{country:"America/Mazatlan",utc:"UTC-7"},{country:"America/Menominee",utc:"UTC-6"},{country:"America/Merida",utc:"UTC-6"},{country:"America/Metlakatla",utc:"UTC-9"},{country:"America/Mexico_City",utc:"UTC-6"},{country:"America/Miquelon",utc:"UTC-3"},{country:"America/Moncton",utc:"UTC-4"},{country:"America/Monterrey",utc:"UTC-6"},{country:"America/Montevideo",utc:"UTC-3"},{country:"America/Nassau",utc:"UTC-5"},{country:"America/Nipigon",utc:"UTC-5"},{country:"America/Nome",utc:"UTC-9"},{country:"America/Noronha",utc:"UTC-2"},{country:"America/North_Dakota/Beulah",utc:"UTC-6"},{country:"America/North_Dakota/Center",utc:"UTC-6"},{country:"America/North_Dakota/New_Salem",utc:"UTC-6"},{country:"America/Ojinaga",utc:"UTC-7"},{country:"America/Panama",utc:"UTC-5"},{country:"America/Pangnirtung",utc:"UTC-5"},{country:"America/Paramaribo",utc:"UTC-3"},{country:"America/Phoenix",utc:"UTC-7"},{country:"America/Port_of_Spain",utc:"UTC-4"},{country:"America/Port-au-Prince",utc:"UTC-5"},{country:"America/Porto_Velho",utc:"UTC-4"},{country:"America/Puerto_Rico",utc:"UTC-4"},{country:"America/Punta_Arenas",utc:"UTC-3"},{country:"America/Rainy_River",utc:"UTC-6"},{country:"America/Rankin_Inlet",utc:"UTC-5"},{country:"America/Recife",utc:"UTC-3"},{country:"America/Regina",utc:"UTC-6"},{country:"America/Resolute",utc:"UTC-6"},{country:"America/Rio_Branco",utc:"UTC-5"},{country:"America/Santarem",utc:"UTC-3"},{country:"America/Santiago",utc:"UTC-4"},{country:"America/Santo_Domingo",utc:"UTC-4"},{country:"America/Sao_Paulo",utc:"UTC-3"},{country:"America/Scoresbysund",utc:"UTC-1"},{country:"America/Sitka",utc:"UTC-9"},{country:"America/St_Johns",utc:"UTC-3:30"},{country:"America/Swift_Current",utc:"UTC-6"},{country:"America/Tegucigalpa",utc:"UTC-6"},{country:"America/Thule",utc:"UTC-4"},{country:"America/Thunder_Bay",utc:"UTC-5"},{country:"America/Tijuana",utc:"UTC-8"},{country:"America/Toronto",utc:"UTC-5"},{country:"America/Vancouver",utc:"UTC-8"},{country:a,utc:"UTC-5"},{country:"America/Whitehorse",utc:"UTC-7"},{country:"America/Winnipeg",utc:"UTC-6"},{country:"America/Yakutat",utc:"UTC-9"},{country:"America/Yellowknife",utc:"UTC-7"},{country:"Antarctica/Casey",utc:"UTC+11"},{country:"Antarctica/Davis",utc:"UTC+7"},{country:"Antarctica/DumontDUrville",utc:"UTC+10"},{country:"Antarctica/Macquarie",utc:"UTC+10"},{country:"Antarctica/Mawson",utc:"UTC+5"},{country:"Antarctica/Palmer",utc:"UTC-3"},{country:"Antarctica/Rothera",utc:"UTC-3"},{country:"Antarctica/Syowa",utc:"UTC+3"},{country:"Antarctica/Troll",utc:"UTC+0"},{country:"Antarctica/Vostok",utc:"UTC+6"},{country:"Asia/Almaty",utc:"UTC+6"},{country:"Asia/Amman",utc:"UTC+2"},{country:"Asia/Anadyr",utc:"UTC+12"},{country:"Asia/Aqtau",utc:"UTC+5"},{country:"Asia/Aqtobe",utc:"UTC+5"},{country:"Asia/Ashgabat",utc:"UTC+5"},{country:"Asia/Atyrau",utc:"UTC+5"},{country:"Asia/Baghdad",utc:"UTC+3"},{country:"Asia/Baku",utc:"UTC+4"},{country:"Asia/Bangkok",utc:"UTC+7"},{country:"Asia/Barnaul",utc:"UTC+7"},{country:"Asia/Beirut",utc:"UTC+2"},{country:"Asia/Bishkek",utc:"UTC+6"},{country:"Asia/Brunei",utc:"UTC+8"},{country:"Asia/Chita",utc:"UTC+9"},{country:"Asia/Choibalsan",utc:"UTC+8"},{country:"Asia/Colombo",utc:"UTC+5:30"},{country:"Asia/Damascus",utc:"UTC+2"},{country:"Asia/Dhaka",utc:"UTC+6"},{country:"Asia/Dili",utc:"UTC+9"},{country:"Asia/Dubai",utc:"UTC+4"},{country:"Asia/Dushanbe",utc:"UTC+5"},{country:"Asia/Famagusta",utc:"UTC+2"},{country:"Asia/Gaza",utc:"UTC+2"},{country:"Asia/Hebron",utc:"UTC+2"},{country:"Asia/Ho_Chi_Minh",utc:"UTC+7"},{country:"Asia/Hong_Kong",utc:"UTC+8"},{country:"Asia/Hovd",utc:"UTC+7"},{country:"Asia/Irkutsk",utc:"UTC+8"},{country:"Asia/Jakarta",utc:"UTC+7"},{country:"Asia/Jayapura",utc:"UTC+9"},{country:"Asia/Jerusalem",utc:"UTC+2"},{country:"Asia/Kabul",utc:"UTC+4:30"},{country:"Asia/Kamchatka",utc:"UTC+12"},{country:"Asia/Karachi",utc:"UTC+5"},{country:"Asia/Kathmandu",utc:"UTC+5:45"},{country:"Asia/Khandyga",utc:"UTC+9"},{country:"Asia/Kolkata",utc:"UTC+5:30"},{country:"Asia/Krasnoyarsk",utc:"UTC+7"},{country:"Asia/Kuala_Lumpur",utc:"UTC+8"},{country:"Asia/Kuching",utc:"UTC+8"},{country:"Asia/Macau",utc:"UTC+8"},{country:"Asia/Magadan",utc:"UTC+11"},{country:"Asia/Makassar",utc:"UTC+8"},{country:"Asia/Manila",utc:"UTC+8"},{country:"Asia/Nicosia",utc:"UTC+2"},{country:"Asia/Novokuznetsk",utc:"UTC+7"},{country:"Asia/Novosibirsk",utc:"UTC+7"},{country:"Asia/Omsk",utc:"UTC+6"},{country:"Asia/Oral",utc:"UTC+5"},{country:"Asia/Pontianak",utc:"UTC+7"},{country:"Asia/Pyongyang",utc:"UTC+9"},{country:"Asia/Qatar",utc:"UTC+3"},{country:"Asia/Qostanay",utc:"UTC+6"},{country:"Asia/Qyzylorda",utc:"UTC+5"},{country:"Asia/Riyadh",utc:"UTC+3"},{country:"Asia/Sakhalin",utc:"UTC+11"},{country:"Asia/Samarkand",utc:"UTC+5"},{country:"Asia/Seoul",utc:"UTC+9"},{country:"Asia/Shanghai",utc:"UTC+8"},{country:"Asia/Singapore",utc:"UTC+8"},{country:"Asia/Srednekolymsk",utc:"UTC+11"},{country:"Asia/Taipei",utc:"UTC+8"},{country:"Asia/Tashkent",utc:"UTC+5"},{country:"Asia/Tbilisi",utc:"UTC+4"},{country:"Asia/Tehran",utc:"UTC+3:30"},{country:"Asia/Thimphu",utc:"UTC+6"},{country:"Asia/Tokyo",utc:"UTC+9"},{country:"Asia/Tomsk",utc:"UTC+7"},{country:"Asia/Ulaanbaatar",utc:"UTC+8"},{country:"Asia/Urumqi",utc:"UTC+6"},{country:"Asia/Ust-Nera",utc:"UTC+10"},{country:"Asia/Vladivostok",utc:"UTC+10"},{country:"Asia/Yakutsk",utc:"UTC+9"},{country:"Asia/Yangon",utc:"UTC+6:30"},{country:"Asia/Yekaterinburg",utc:"UTC+5"},{country:"Asia/Yerevan",utc:"UTC+4"},{country:"Atlantic/Azores",utc:"UTC-1"},{country:"Atlantic/Bermuda",utc:"UTC-4"},{country:"Atlantic/Canary",utc:"UTC+0"},{country:"Atlantic/Cape_Verde",utc:"UTC-1"},{country:"Atlantic/Faroe",utc:"UTC+0"},{country:"Atlantic/Madeira",utc:"UTC+0"},{country:"Atlantic/Reykjavik",utc:"UTC+0"},{country:"Atlantic/South_Georgia",utc:"UTC-2"},{country:"Atlantic/Stanley",utc:"UTC-3"},{country:"Australia/Adelaide",utc:"UTC+10:30"},{country:"Australia/Brisbane",utc:"UTC+10"},{country:"Australia/Broken_Hill",utc:"UTC+9:30"},{country:"Australia/Currie",utc:"UTC+10"},{country:"Australia/Darwin",utc:"UTC+9:30"},{country:"Australia/Eucla",utc:"UTC+8:45"},{country:"Australia/Hobart",utc:"UTC+10"},{country:"Australia/Lindeman",utc:"UTC+10"},{country:"Australia/Lord_Howe",utc:"UTC+11"},{country:"Australia/Melbourne",utc:"UTC+10"},{country:"Australia/Perth",utc:"UTC+8"},{country:"Australia/Sydney",utc:"UTC+11"},{country:"Europe/Amsterdam",utc:"UTC+1"},{country:"Europe/Andorra",utc:"UTC+1"},{country:"Europe/Astrakhan",utc:"UTC+4"},{country:"Europe/Athens",utc:"UTC+2"},{country:"Europe/Belgrade",utc:"UTC+1"},{country:"Europe/Berlin",utc:"UTC+1"},{country:"Europe/Brussels",utc:"UTC+1"},{country:"Europe/Bucharest",utc:"UTC+2"},{country:"Europe/Budapest",utc:"UTC+1"},{country:"Europe/Chisinau",utc:"UTC+2"},{country:"Europe/Copenhagen",utc:"UTC+1"},{country:"Europe/Dublin",utc:"UTC+0"},{country:"Europe/Gibraltar",utc:"UTC+1"},{country:"Europe/Helsinki",utc:"UTC+2"},{country:"Europe/Istanbul",utc:"UTC+3"},{country:"Europe/Kaliningrad",utc:"UTC+2"},{country:"Europe/Kiev",utc:"UTC+2"},{country:"Europe/Kirov",utc:"UTC+3"},{country:"Europe/Lisbon",utc:"UTC+0"},{country:"Europe/London",utc:"UTC+0"},{country:"Europe/Luxembourg",utc:"UTC+1"},{country:"Europe/Madrid",utc:"UTC+1"},{country:"Europe/Malta",utc:"UTC+1"},{country:"Europe/Minsk",utc:"UTC+3"},{country:"Europe/Monaco",utc:"UTC+1"},{country:"Europe/Moscow",utc:"UTC+3"},{country:"Europe/Oslo",utc:"UTC+1"},{country:"Europe/Paris",utc:"UTC+1"},{country:"Europe/Prague",utc:"UTC+1"},{country:"Europe/Riga",utc:"UTC+2"},{country:"Europe/Rome",utc:"UTC+1"},{country:"Europe/Samara",utc:"UTC+4"},{country:"Europe/Saratov",utc:"UTC+4"},{country:"Europe/Simferopol",utc:"UTC+3"},{country:"Europe/Sofia",utc:"UTC+2"},{country:"Europe/Stockholm",utc:"UTC+1"},{country:"Europe/Tallinn",utc:"UTC+2"},{country:"Europe/Tirane",utc:"UTC+1"},{country:"Europe/Ulyanovsk",utc:"UTC+4"},{country:"Europe/Uzhgorod",utc:"UTC+2"},{country:"Europe/Vienna",utc:"UTC+1"},{country:"Europe/Vilnius",utc:"UTC+2"},{country:"Europe/Volgograd",utc:"UTC+3"},{country:"Europe/Warsaw",utc:"UTC+1"},{country:"Europe/Zaporozhye",utc:"UTC+2"},{country:"Europe/Zurich",utc:"UTC+1"},{country:"Indian/Chagos",utc:"UTC+6"},{country:"Indian/Christmas",utc:"UTC+7"},{country:"Indian/Cocos",utc:"UTC+6:30"},{country:"Indian/Kerguelen",utc:"UTC+5"},{country:"Indian/Mahe",utc:"UTC+4"},{country:"Indian/Maldives",utc:"UTC+5"},{country:"Indian/Mauritius",utc:"UTC+4"},{country:"Indian/Reunion",utc:"UTC+4"},{country:"Pacific/Apia",utc:"UTC+13"},{country:"Pacific/Auckland",utc:"UTC+12"},{country:"Pacific/Bougainville",utc:"UTC+11"},{country:"Pacific/Chatham",utc:"UTC+12:45"},{country:"Pacific/Chuuk",utc:"UTC+10"},{country:"Pacific/Easter",utc:"UTC-6"},{country:"Pacific/Efate",utc:"UTC+11"},{country:"Pacific/Enderbury",utc:"UTC+13"},{country:"Pacific/Fakaofo",utc:"UTC+13"},{country:"Pacific/Fiji",utc:"UTC+12"},{country:"Pacific/Funafuti",utc:"UTC+12"},{country:"Pacific/Galapagos",utc:"UTC-6"},{country:"Pacific/Gambier",utc:"UTC-9"},{country:"Pacific/Guadalcanal",utc:"UTC+11"},{country:"Pacific/Guam",utc:"UTC+10"},{country:"Pacific/Honolulu",utc:"UTC-10"},{country:"Pacific/Kiritimati",utc:"UTC+14"},{country:"Pacific/Kosrae",utc:"UTC+11"},{country:"Pacific/Kwajalein",utc:"UTC+12"},{country:"Pacific/Majuro",utc:"UTC+12"},{country:"Pacific/Marquesas",utc:"UTC-9:30"},{country:"Pacific/Nauru",utc:"UTC+12"},{country:"Pacific/Niue",utc:"UTC-11"},{country:"Pacific/Norfolk",utc:"UTC+11"},{country:"Pacific/Noumea",utc:"UTC+11"},{country:"Pacific/Pago_Pago",utc:"UTC-11"},{country:"Pacific/Palau",utc:"UTC+9"},{country:"Pacific/Pitcairn",utc:"UTC-8"},{country:"Pacific/Pohnpei",utc:"UTC+11"},{country:"Pacific/Port_Moresby",utc:"UTC+10"},{country:"Pacific/Rarotonga",utc:"UTC-10"},{country:"Pacific/Tahiti",utc:"UTC-10"},{country:"Pacific/Tarawa",utc:"UTC+12"},{country:"Pacific/Tongatapu",utc:"UTC+13"},{country:"Pacific/Wake",utc:"UTC+12"},{country:"Pacific/Wallis",utc:"UTC+12"}],c=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone}},224:function(e,t,n){"use strict";n.d(t,"c",(function(){return m})),n.d(t,"b",(function(){return f})),n.d(t,"a",(function(){return h})),n.d(t,"e",(function(){return O})),n.d(t,"d",(function(){return x})),n.d(t,"g",(function(){return y})),n.d(t,"f",(function(){return C}));var a,r=n(6),i=n(5),c=n.n(i),o=n(2),s=n(10),l=n(39),d=n(42),u=n(4),p=n(8),b=n(53),j=Object.freeze({items:[],fetchStatus:p.a.statuses.NULL,total:0,lastUpdatedUtc:null,dropdownOptions:{country:[],implementor:[],mechanism:[],naics:[],setAside:[],subawards:[],fetchStatus:p.a.statuses.NULL},addToMyList:{fetchStatus:p.a.statuses.NULL},removeFromMyList:{fetchStatus:p.a.statuses.NULL}}),m=Object(d.b)("usaSpending/getUsaSpending",function(){var e=Object(s.a)(c.a.mark((function e(t,n){var a,r,i,s;return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.context,i=t.params,e.next=3,l.a.get(Object(u.f)("/api/usaspending".concat(Object(b.a)(Object(o.a)({},i),"|")),{useDedicatedEnvironment:!0}),Object(u.b)(r));case 3:return s=e.sent,e.abrupt("return",null!==(a=null===s||void 0===s?void 0:s.data)&&void 0!==a?a:[]);case 5:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}()),f=Object(d.b)("usaSpending/getDropdownOptionsForUSASpending",function(){var e=Object(s.a)(c.a.mark((function e(t,n){var a;return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Promise.all([l.a.get(Object(u.f)("/api/UsaSpending/dropdownoptions/country",{useDedicatedEnvironment:!0}),Object(u.b)(t)),l.a.get(Object(u.f)("/api/UsaSpending/dropdownoptions/implementor",{useDedicatedEnvironment:!0}),Object(u.b)(t)),l.a.get(Object(u.f)("/api/UsaSpending/dropdownoptions/mechanism",{useDedicatedEnvironment:!0}),Object(u.b)(t)),l.a.get(Object(u.f)("/api/UsaSpending/dropdownoptions/naics",{useDedicatedEnvironment:!0}),Object(u.b)(t)),l.a.get(Object(u.f)("/api/UsaSpending/dropdownoptions/setAside",{useDedicatedEnvironment:!0}),Object(u.b)(t)),l.a.get(Object(u.f)("/api/UsaSpending/dropdownoptions/subawards",{useDedicatedEnvironment:!0}),Object(u.b)(t))]);case 2:return a=e.sent,e.abrupt("return",a.map((function(e){return e.data})));case 4:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}()),h=Object(d.b)("usaSpending/addToMyList",function(){var e=Object(s.a)(c.a.mark((function e(t,n){var a;return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,l.a.post(Object(u.f)("/api/usaspending/mylist",{useDedicatedEnvironment:!0}),{uniqueAwardId:t.uniqueAwardId},Object(u.c)(t.context));case 2:return a=e.sent,e.abrupt("return",a.data);case 4:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}()),O=Object(d.b)("usaSpending/removeFromMyList",function(){var e=Object(s.a)(c.a.mark((function e(t,n){var a;return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,l.a.delete(Object(u.f)("/api/usaspending/mylist",{useDedicatedEnvironment:!0}),Object(o.a)(Object(o.a)({},Object(u.c)(t.context)),{},{data:{uniqueAwardId:t.uniqueAwardId}}));case 2:return a=e.sent,e.abrupt("return",a.data);case 4:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}()),g=Object(d.c)({name:"usaSpending",initialState:j,reducers:{resetUsaSpendingItems:function(e){e.items=j.items,e.total=j.total,e.fetchStatus=j.fetchStatus,e.lastUpdatedUtc=j.lastUpdatedUtc},resetChangeListStatus:function(e){e.addToMyList=j.addToMyList,e.removeFromMyList=j.removeFromMyList}},extraReducers:(a={},Object(r.a)(a,m.pending,(function(e,t){e.fetchStatus=p.a.statuses.FETCHING})),Object(r.a)(a,m.fulfilled,(function(e,t){var n=t.payload,a=(n.attributes,n.data),r=n.lastUpdatedUtc,i=n.totalItems;e.items=a,e.total=i,e.lastUpdatedUtc=r,e.fetchStatus=p.a.statuses.DONE})),Object(r.a)(a,m.rejected,(function(e,t){e.fetchStatus=p.a.statuses.ERROR})),Object(r.a)(a,f.pending,(function(e,t){e.dropdownOptions.fetchStatus=p.a.statuses.FETCHING})),Object(r.a)(a,f.fulfilled,(function(e,t){var n,a,r,i,c,o;e.dropdownOptions={country:null===(n=t.payload[0])||void 0===n?void 0:n.map((function(e){return{value:e,label:e}})),implementor:null===(a=t.payload[1])||void 0===a?void 0:a.map((function(e){return{value:e,label:e}})),mechanism:null===(r=t.payload[2])||void 0===r?void 0:r.map((function(e){return{value:null===e||void 0===e?void 0:e.key,label:null===e||void 0===e?void 0:e.value}})),naics:null===(i=t.payload[3])||void 0===i?void 0:i.map((function(e){return{value:e,label:e}})),setAside:null===(c=t.payload[4])||void 0===c?void 0:c.map((function(e){return{value:e,label:e}})),subawards:null===(o=t.payload[5])||void 0===o?void 0:o.map((function(e){return{value:e,label:e}})),fetchStatus:p.a.statuses.DONE}})),Object(r.a)(a,f.rejected,(function(e,t){e.dropdownOptions.fetchStatus=p.a.statuses.ERROR})),Object(r.a)(a,h.pending,(function(e,t){e.addToMyList.fetchStatus=p.a.statuses.FETCHING})),Object(r.a)(a,h.fulfilled,(function(e,t){e.addToMyList.fetchStatus=p.a.statuses.DONE})),Object(r.a)(a,h.rejected,(function(e,t){e.addToMyList.fetchStatus=p.a.statuses.ERROR})),Object(r.a)(a,O.pending,(function(e,t){e.removeFromMyList.fetchStatus=p.a.statuses.FETCHING})),Object(r.a)(a,O.fulfilled,(function(e,t){e.removeFromMyList.fetchStatus=p.a.statuses.DONE})),Object(r.a)(a,O.rejected,(function(e,t){e.removeFromMyList.fetchStatus=p.a.statuses.ERROR})),a)}),x=g.reducer,v=g.actions,y=v.resetUsaSpendingItems,C=v.resetChangeListStatus},225:function(e,t,n){"use strict";n.d(t,"c",(function(){return m})),n.d(t,"b",(function(){return f})),n.d(t,"a",(function(){return h})),n.d(t,"e",(function(){return O})),n.d(t,"d",(function(){return x})),n.d(t,"g",(function(){return y})),n.d(t,"f",(function(){return C}));var a,r=n(6),i=n(5),c=n.n(i),o=n(2),s=n(10),l=n(39),d=n(42),u=n(4),p=n(8),b=n(53),j=Object.freeze({items:[],fetchStatus:p.a.statuses.NULL,total:0,lastUpdatedUtc:null,dropdownOptions:{country:[],technicalSector:[],implementor:[],fundingAgency:[],fundingAccount:[],fetchStatus:p.a.statuses.NULL},addToMyList:{fetchStatus:p.a.statuses.NULL},removeFromMyList:{fetchStatus:p.a.statuses.NULL}}),m=Object(d.b)("foreignAssistance/getForeignAssistance",function(){var e=Object(s.a)(c.a.mark((function e(t,n){var a,r,i,s;return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.context,i=t.params,e.next=3,l.a.get(Object(u.f)("/api/ForeignAssistance".concat(Object(b.a)(Object(o.a)({},i),"|")),{useDedicatedEnvironment:!0}),Object(u.b)(r));case 3:return s=e.sent,e.abrupt("return",null!==(a=null===s||void 0===s?void 0:s.data)&&void 0!==a?a:[]);case 5:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}()),f=Object(d.b)("foreignAssistance/getDropdownOptionsForForeignAssistance",function(){var e=Object(s.a)(c.a.mark((function e(t,n){var a;return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Promise.all([l.a.get(Object(u.f)("/api/ForeignAssistance/dropdownoptions/country",{useDedicatedEnvironment:!0}),Object(u.b)(t)),l.a.get(Object(u.f)("/api/ForeignAssistance/dropdownoptions/technicalSector",{useDedicatedEnvironment:!0}),Object(u.b)(t)),l.a.get(Object(u.f)("/api/ForeignAssistance/dropdownoptions/implementor",{useDedicatedEnvironment:!0}),Object(u.b)(t)),l.a.get(Object(u.f)("/api/ForeignAssistance/dropdownoptions/fundingAgency",{useDedicatedEnvironment:!0}),Object(u.b)(t)),l.a.get(Object(u.f)("/api/ForeignAssistance/dropdownoptions/fundingAccount",{useDedicatedEnvironment:!0}),Object(u.b)(t))]);case 2:return a=e.sent,e.abrupt("return",a.map((function(e){return e.data})));case 4:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}()),h=Object(d.b)("foreignAssistance/addToMyList",function(){var e=Object(s.a)(c.a.mark((function e(t,n){var a;return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,l.a.post(Object(u.f)("/api/foreignAssistance/mylist",{useDedicatedEnvironment:!0}),{uniqueId:t.uniqueId},Object(u.c)(t.context));case 2:return a=e.sent,e.abrupt("return",a.data);case 4:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}()),O=Object(d.b)("foreignAssistance/removeFromMyList",function(){var e=Object(s.a)(c.a.mark((function e(t,n){var a;return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,l.a.delete(Object(u.f)("/api/foreignAssistance/mylist",{useDedicatedEnvironment:!0}),Object(o.a)(Object(o.a)({},Object(u.c)(t.context)),{},{data:{uniqueId:t.uniqueId}}));case 2:return a=e.sent,e.abrupt("return",a.data);case 4:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}()),g=Object(d.c)({name:"foreignAssistance",initialState:j,reducers:{resetForeignAssistanceItems:function(e){e.items=j.items,e.total=j.total,e.fetchStatus=j.fetchStatus,e.lastUpdatedUtc=j.lastUpdatedUtc},resetChangeListStatus:function(e){e.addToMyList=j.addToMyList,e.removeFromMyList=j.removeFromMyList}},extraReducers:(a={},Object(r.a)(a,m.pending,(function(e,t){e.fetchStatus=p.a.statuses.FETCHING})),Object(r.a)(a,m.fulfilled,(function(e,t){var n=t.payload,a=(n.attributes,n.data),r=n.lastUpdatedUtc,i=n.totalItems;e.items=a,e.total=i,e.lastUpdatedUtc=r,e.fetchStatus=p.a.statuses.DONE})),Object(r.a)(a,m.rejected,(function(e,t){e.fetchStatus=p.a.statuses.ERROR})),Object(r.a)(a,f.pending,(function(e,t){e.dropdownOptions.fetchStatus=p.a.statuses.FETCHING})),Object(r.a)(a,f.fulfilled,(function(e,t){var n,a,r,i,c;e.dropdownOptions={country:null===(n=t.payload[0])||void 0===n?void 0:n.map((function(e){return{value:e,label:e}})),technicalSector:null===(a=t.payload[1])||void 0===a?void 0:a.map((function(e){return{value:e,label:e}})),implementor:null===(r=t.payload[2])||void 0===r?void 0:r.map((function(e){return{value:e,label:e}})),fundingAgency:null===(i=t.payload[3])||void 0===i?void 0:i.map((function(e){return{value:e,label:e}})),fundingAccount:null===(c=t.payload[4])||void 0===c?void 0:c.map((function(e){return{value:e,label:e}})),fetchStatus:p.a.statuses.DONE}})),Object(r.a)(a,f.rejected,(function(e,t){e.dropdownOptions.fetchStatus=p.a.statuses.ERROR})),Object(r.a)(a,h.pending,(function(e,t){e.addToMyList.fetchStatus=p.a.statuses.FETCHING})),Object(r.a)(a,h.fulfilled,(function(e,t){e.addToMyList.fetchStatus=p.a.statuses.DONE})),Object(r.a)(a,h.rejected,(function(e,t){e.addToMyList.fetchStatus=p.a.statuses.ERROR})),Object(r.a)(a,O.pending,(function(e,t){e.removeFromMyList.fetchStatus=p.a.statuses.FETCHING})),Object(r.a)(a,O.fulfilled,(function(e,t){e.removeFromMyList.fetchStatus=p.a.statuses.DONE})),Object(r.a)(a,O.rejected,(function(e,t){e.removeFromMyList.fetchStatus=p.a.statuses.ERROR})),a)}),x=g.reducer,v=g.actions,y=v.resetForeignAssistanceItems,C=v.resetChangeListStatus},233:function(e,t,n){},236:function(e,t,n){"use strict";n.r(t),t.default=n.p+"static/media/icon_Globe.8be55fca.png"},240:function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));var a=n(3),r=n(46),i=n.n(r),c=function(e,t){Object.entries(e).filter((function(e){var t,n=Object(a.a)(e,2),r=(n[0],n[1]);return"function"===typeof(null===r||void 0===r?void 0:r.getMonth)&&Number.isNaN(null===(t=new Date(r))||void 0===t?void 0:t.getMonth())})).map((function(e){var t=Object(a.a)(e,2),n=t[0];t[1];return n})).length>0?i.a.error("Date you set is invalid"):t()}},241:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var a=n(1);function r(e){var t=function(t){if("Enter"===t.key)return e()};a.useEffect((function(){return window.addEventListener("keyup",t),function(){return window.removeEventListener("keyup",t)}}),[e])}},243:function(e,t,n){"use strict";n.d(t,"a",(function(){return f})),n.d(t,"b",(function(){return h}));var a,r,i=n(2),c=n(697),o=n(14),s=n(1),l=n(0),d=function(){var e=Object(s.useMemo)((function(){return Object(o.a)("span")((function(e){e.theme;return{borderRadius:3,width:20,height:20,boxShadow:"inset 0 0 0 1px rgba(16,22,26,.2), inset 0 -1px 0 rgba(16,22,26,.1)",backgroundColor:"#f5f8fa",backgroundImage:"linear-gradient(180deg,hsla(0,0%,100%,.8),hsla(0,0%,100%,0))",".Mui-focusVisible &":{outline:"2px auto rgba(19,124,189,.6)",outlineOffset:2},"input:hover ~ &":{backgroundColor:"#ebf1f5"},"input:disabled ~ &":{boxShadow:"none",background:"rgba(206,217,224,.5)"}}}))}),[]);return Object(l.jsx)(e,{})},u=function(){var e=Object(s.useMemo)((function(){return Object(o.a)("span")({borderRadius:3,width:20,height:20,boxShadow:"inset 0 0 0 1px rgba(16,22,26,.2), inset 0 -1px 0 rgba(16,22,26,.1)","input:disabled ~ &":{boxShadow:"none",background:"rgba(206,217,224,.5)"},backgroundColor:"#137cbd",backgroundImage:"linear-gradient(180deg,hsla(0,0%,100%,.1),hsla(0,0%,100%,0))","&:before":{display:"block",width:20,height:20,backgroundImage:"url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M12 5c-.28 0-.53.11-.71.29L7 9.59l-2.29-2.3a1.003 1.003 0 00-1.42 1.42l3 3c.18.18.43.29.71.29s.53-.11.71-.29l5-5A1.003 1.003 0 0012 5z' fill='%23fff'/%3E%3C/svg%3E\")",content:'""'},"input:hover ~ &":{backgroundColor:"#106ba3"}})}),[]);return Object(l.jsx)(e,{})},p=function(){var e=Object(s.useMemo)((function(){return Object(o.a)("span")({borderRadius:3,width:20,height:20,boxShadow:"inset 0 0 0 1px rgba(16,22,26,.2), inset 0 -1px 0 rgba(16,22,26,.1)","input:disabled ~ &":{boxShadow:"none",background:"rgba(206,217,224,.5)"},backgroundColor:"#137cbd",backgroundImage:"linear-gradient(180deg,hsla(0,0%,100%,.1),hsla(0,0%,100%,0))","&:before":{display:"block",width:20,height:20,backgroundImage:"url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M 12 8 c 0 -1 -1 -1 -1 -1 L 7 7 l -2 0 a 1.003 1.003 0 0 0 0 2 l 3 0 l 3 0 A 1.003 1.003 0 0 0 12 8 z' fill='%23fff'/%3E%3C/svg%3E\")",content:'""'},"input:hover ~ &":{backgroundColor:"#106ba3"}})}),[]);return Object(l.jsx)(e,{})},b=Object(c.a)(),j={100:"#F3F5F6",200:"#E5EAEB",300:"#C4C7C8",400:"#96A6B6",500:"#7c878e",600:"#495A69",700:"#3E4C59",800:"#242D34",900:"#161B1F"},m={breakpoints:{values:{xs:0,sm:600,md:1e3,lg:1200,lgEx:1350,xl:1500}},typography:{fontFamily:'"Roboto"',h1:{fontWeight:700,color:"#187AB5",fontSize:45},h2:{fontWeight:700,color:"#187AB5",fontSize:40},body1:{fontSize:"1rem",fontWeight:400,lineHeight:1.5},body2:{fontSize:"0.875rem",fontWeight:400,lineHeight:1.57},subtitle1:{fontSize:"1rem",fontWeight:500,lineHeight:1.75},subtitle2:{fontSize:"0.875rem",fontWeight:500,lineHeight:1.57},h5:{fontSize:18,fontWeight:"500"},h6:{color:"#187AB5",fontSize:16,fontWeight:"bold"}},components:{MuiTextField:{defaultProps:{InputLabelProps:{}},styleOverrides:{root:{}}},MuiButton:{defaultProps:{disableElevation:!0},styleOverrides:{root:{textTransform:"none"},sizeSmall:{padding:"6px 16px"},sizeMedium:{padding:"8px 20px"},sizeLarge:{padding:"11px 24px"},textSizeSmall:{padding:"7px 12px"},textSizeMedium:{padding:"9px 16px"},textSizeLarge:{padding:"12px 16px"}},variants:(a={variant:"secondaryContained"},r={color:b.palette.text.primary,backgroundColor:"#FAEACD"},["small","medium","large"].map((function(e){return{props:Object(i.a)(Object(i.a)({},a),{},{size:e}),style:Object(i.a)(Object(i.a)(Object(i.a)({},r),"small"===e&&{padding:"6px 16px",fontSize:b.typography.pxToRem(13)}),"large"===e&&{padding:"8px 11px",fontSize:b.typography.pxToRem(15)})}})))},MuiButtonBase:{defaultProps:{disableRipple:!0},styleOverrides:{root:{}}},MuiTab:{styleOverrides:{root:{"&:hover":{backgroundColor:b.palette.primary.light,color:b.palette.primary.contrastText},"&.Mui-selected":{backgroundColor:b.palette.primary.main,color:b.palette.primary.contrastText}}}},MuiCheckbox:{styleOverrides:{root:function(e){var t=e.ownerState;return Object(i.a)({padding:"8px",margin:"4px"},"small"===t.size?{"& svg":{fontSize:"16px !important"}}:"medium"===t.size&&{"& svg":{fontSize:"24px !important"}})}},defaultProps:{icon:Object(l.jsx)(d,{}),checkedIcon:Object(l.jsx)(u,{}),indeterminateIcon:Object(l.jsx)(p,{})}},MuiIconButton:{styleOverrides:{root:{borderRadius:"8px",height:"32px",width:"32px","& > svg":{height:"24px !important",width:"24px !important",fontSize:"24px !important"},"&:hover":{boxShadow:"unset"},"&:disabled":{"& > svg":{fill:"rgba(55, 76, 81, 0.12)",color:"rgba(55, 76, 81, 0.12)"}}}}},MuiTableCell:{styleOverrides:{root:{padding:"15px 16px"}}},MuiTableHead:{styleOverrides:{root:{"& .MuiTableCell-root":{fontSize:"12px",fontWeight:600,lineHeight:1,letterSpacing:.5,textTransform:"uppercase",borderTop:"solid 2px ".concat(b.palette.divider),borderBottom:"solid 2px ".concat(b.palette.divider),backgroundColor:"#F9FAFE",padding:"8px"},"& .MuiTableCell-paddingCheckbox":{paddingTop:4,paddingBottom:4}}}},MuiOutlinedInput:{styleOverrides:{}},MuiSwitch:{defaultProps:{color:"primary",disableRipple:!0},styleOverrides:{root:{height:"46px !important",width:"64px"},switchBase:{top:"4px",left:"4px",transition:"all 100ms ease-in-out","&.Mui-checked":{transform:"translateX(18px)"}},track:{borderRadius:"16px",boxShadow:"inset 1px 1px 4px 0px rgba(66, 68, 90, 1)"}}},MuiTooltip:{defaultProps:{disableInteractive:!0,placement:"top",arrow:!0,PopperProps:{sx:{"&[data-popper-reference-hidden]":{visibility:"hidden","pointer-events":"none"}}}}}},palette:{primary:{main:"#0A77B2",light:"#E7F1F7",dark:"#0F188F",contrastText:"#FFFFFF"},secondary:{main:"#ECAC37",light:"#FAEACD",dark:"#C28203",contrastText:"#FFFFFF"},success:{main:"#1B8C42",light:"#E8F4EC",dark:"#0F5126",contrastText:"#FFFFFF"},warning:{main:"#FFB020",light:"#FFBF4C",dark:"#B27B16",contrastText:"#FFFFFF"},info:{main:"#2196F3",light:"#64B6F7",dark:"#0B79D0",contrastText:"#FFFFFF"},error:{main:"#D14343",light:"#DA6868",dark:"#922E2E",contrastText:"#FFFFFF"},text:{primary:"#323E48",secondary:"#7c878e",disabled:"rgba(55, 76, 81, 0.48)"},background:{default:"#F9FAFE",paper:"#FFFFFF"},neutral:j,action:{active:j[500],focus:"rgba(55, 76, 81, 0.12)",hover:"rgba(55, 76, 81, 0.04)",selected:"rgba(55, 76, 81, 0.08)",disabledBackground:"rgba(55, 76, 81, 0.12)",disabled:"rgba(55, 76, 81, 0.26)"}}},f=Object(c.a)(m),h={forecastRemovedRecordBackground:"#F2F3F3",forecastRemovedRecordText:"#00000080",dashboardSectionTitle:"#714F0B"}},244:function(e,t,n){"use strict";n.d(t,"a",(function(){return d}));var a=n(5),r=n.n(a),i=n(83),c=n(10),o=n(39),s=n(4),l=["context"],d=function(){var e=Object(c.a)(r.a.mark((function e(t){var n,a,c,d;return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=t.context,c=Object(i.a)(t,l),e.next=3,o.a.post(Object(s.f)("/api/pipeline/share",{useDedicatedEnvironment:!0}),c,Object(s.c)(a));case 3:return d=e.sent,e.abrupt("return",null!==(n=null===d||void 0===d?void 0:d.data)&&void 0!==n?n:null);case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()},248:function(e,t,n){"use strict";n.d(t,"b",(function(){return m}));var a=n(2),r=n(3),i=n(1),c=n(95),o=n(150),s=n(159),l=n(525),d=n(268),u=n.n(d),p=n(67),b=n(0),j=Object(p.a)("div")((function(e){return{"div[contenteditable=false]":{backgroundColor:e.theme.palette.action.disabled}}})),m="


";t.a=function(e){var t=e.value,n=e.setValue,d=e.setUnformattedValue,p=void 0===d?null:d,m=e.label,f=void 0===m?null:m,h=e.loading,O=void 0!==h&&h,g=e.disabled,x=void 0!==g&&g,v=e.containerSx,y=void 0===v?{}:v,C=(Object(c.a)(),Object(i.useRef)()),A=Object(i.useRef)(null),w=Object(i.useState)(null),S=Object(r.a)(w,2),N=S[0],E=S[1];return Object(i.useEffect)((function(){!C||C&&!C.current||(O||x?C.current.editor.enable(!1):C.current.editor.enable(!0))}),[C,O,x]),Object(i.useEffect)((function(){A.current&&E(A)}),[A.current]),Object(b.jsxs)(o.a,{id:"rich-text-editor-container",ref:A,sx:Object(a.a)({my:1,height:f?"176px":"144px"},y),children:[f&&Object(b.jsx)(s.a,{sx:{mb:.5,fontSize:"16px",fontWeight:"400"},variant:"body2",children:f}),Object(b.jsx)(o.a,{sx:{height:"4px"},children:O&&Object(b.jsx)(l.a,{})}),Object(b.jsx)(j,{children:!!(null===N||void 0===N?void 0:N.current)&&Object(b.jsx)(u.a,{bounds:null===N||void 0===N?void 0:N.current,style:{height:100},theme:"snow",value:t,onChange:function(e){var t,a,r,i;n(e),p&&C.current&&p(null===C||void 0===C||null===(t=C.current)||void 0===t||null===(a=t.getEditor())||void 0===a?void 0:a.getText(0,null===C||void 0===C||null===(r=C.current)||void 0===r||null===(i=r.getEditor())||void 0===i?void 0:i.getLength()))},ref:C})})]})}},250:function(e,t,n){"use strict";var a,r;n.d(t,"a",(function(){return a})),function(e){e.ALL_TEAM="All Recipients",e.ONLY_ME="Only Me"}(a||(a={})),function(e){e.ALL_TEAM="AllTeam",e.ONLY_ME="OnlyMe"}(r||(r={}))},269:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var a=n(66),r=n(0),i=Object(a.a)(Object(r.jsx)("svg",{width:"12",height:"14",viewBox:"0 0 12 14",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:Object(r.jsx)("path",{d:"M6.61329 10.0799C6.5987 10.0374 6.57852 9.99708 6.55329 9.95992C6.52868 9.92499 6.50196 9.8916 6.47329 9.85992C6.37954 9.76741 6.26049 9.70475 6.13117 9.67983C6.00184 9.65492 5.86803 9.66887 5.74663 9.71992C5.66479 9.75165 5.59003 9.79922 5.52663 9.85992C5.49796 9.8916 5.47124 9.92499 5.44663 9.95992C5.4214 9.99708 5.40122 10.0374 5.38663 10.0799C5.3674 10.1177 5.35392 10.1582 5.34663 10.1999C5.34366 10.2443 5.34366 10.2889 5.34663 10.3333C5.34437 10.4207 5.36264 10.5075 5.39996 10.5866C5.43372 10.6674 5.48107 10.7418 5.53996 10.8066C5.66249 10.9281 5.82738 10.9974 5.99996 10.9999C6.08741 11.0022 6.17417 10.9839 6.25329 10.9466C6.33602 10.9166 6.41116 10.8689 6.47337 10.8067C6.53558 10.7444 6.58335 10.6693 6.61329 10.5866C6.65061 10.5075 6.66888 10.4207 6.66663 10.3333C6.66959 10.2889 6.66959 10.2443 6.66663 10.1999C6.65515 10.1574 6.63716 10.1169 6.61329 10.0799ZM11.3333 4.95992C11.3263 4.89867 11.3129 4.83834 11.2933 4.77992V4.71992C11.2612 4.65137 11.2185 4.58836 11.1666 4.53325L7.16663 0.533252C7.11152 0.481396 7.04851 0.438639 6.97996 0.406585H6.91996C6.85224 0.367746 6.77744 0.342815 6.69996 0.333252H2.66663C2.13619 0.333252 1.62749 0.543966 1.25241 0.919038C0.87734 1.29411 0.666626 1.80282 0.666626 2.33325V11.6666C0.666626 12.197 0.87734 12.7057 1.25241 13.0808C1.62749 13.4559 2.13619 13.6666 2.66663 13.6666H9.33329C9.86373 13.6666 10.3724 13.4559 10.7475 13.0808C11.1226 12.7057 11.3333 12.197 11.3333 11.6666V4.99992C11.3333 4.99992 11.3333 4.99992 11.3333 4.95992ZM7.33329 2.60659L9.05996 4.33325H7.99996C7.82315 4.33325 7.65358 4.26301 7.52855 4.13799C7.40353 4.01297 7.33329 3.8434 7.33329 3.66658V2.60659ZM9.99996 11.6666C9.99996 11.8434 9.92972 12.013 9.8047 12.138C9.67967 12.263 9.5101 12.3333 9.33329 12.3333H2.66663C2.48981 12.3333 2.32025 12.263 2.19522 12.138C2.0702 12.013 1.99996 11.8434 1.99996 11.6666V2.33325C1.99996 2.15644 2.0702 1.98687 2.19522 1.86185C2.32025 1.73682 2.48981 1.66659 2.66663 1.66659H5.99996V3.66658C5.99996 4.19702 6.21067 4.70573 6.58575 5.0808C6.96082 5.45587 7.46953 5.66658 7.99996 5.66658H9.99996V11.6666ZM5.99996 6.33325C5.82315 6.33325 5.65358 6.40349 5.52855 6.52851C5.40353 6.65354 5.33329 6.82311 5.33329 6.99992V8.33325C5.33329 8.51006 5.40353 8.67963 5.52855 8.80466C5.65358 8.92968 5.82315 8.99992 5.99996 8.99992C6.17677 8.99992 6.34634 8.92968 6.47136 8.80466C6.59639 8.67963 6.66663 8.51006 6.66663 8.33325V6.99992C6.66663 6.82311 6.59639 6.65354 6.47136 6.52851C6.34634 6.40349 6.17677 6.33325 5.99996 6.33325Z",fill:"inherit"})}),"SourceIcon")},275:function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"c",(function(){return i})),n.d(t,"d",(function(){return c})),n.d(t,"b",(function(){return o}));var a=n(251),r=new Intl.NumberFormat("en-US",{style:"currency",currency:"USD",minimumFractionDigits:0,maximumFractionDigits:0}),i=function(){return[{propertyName:"view",label:"Actions",order:0,isVisible:!0,sortable:!1,width:90,isSticky:!0,disableModalWithDetails:!0}]},c=function(e){return[{propertyName:"country",label:"Country",order:0,isVisible:!0,sortable:!0,width:300,getSortableColumnPropertyName:e},{propertyName:"projectNumber",label:"Project Number",order:0,isVisible:!0,sortable:!0,width:200,getSortableColumnPropertyName:e},{propertyName:"projectName",label:"Project Name",order:0,isVisible:!0,sortable:!0,width:300,getSortableColumnPropertyName:e},{propertyName:"projectDescription",label:"Description",order:0,isVisible:!0,sortable:!0,width:300,getSortableColumnPropertyName:e},{propertyName:"implementer",label:"Implementer",order:0,isVisible:!0,sortable:!0,width:200,getSortableColumnPropertyName:e},{propertyName:"subawardRecipients",label:"Subawards",order:0,isVisible:!0,sortable:!0,width:250,getSortableColumnPropertyName:e},{propertyName:"awardMechanism",label:"Award Mechanism",order:0,isVisible:!0,sortable:!0,width:250,getSortableColumnPropertyName:e},{propertyName:"awardingAgencyName",label:"Award Funding Agency",order:0,isVisible:!0,sortable:!0,width:300,getSortableColumnPropertyName:e},{propertyName:"awardingOffice",label:"Awarding Office",order:0,isVisible:!0,sortable:!0,width:250,getSortableColumnPropertyName:e},{propertyName:"parentIDVAgencyName",label:"Parent IDV Agency Name",order:0,isVisible:!0,sortable:!0,width:250,getSortableColumnPropertyName:e},{propertyName:"setAside",label:"Set-Aside Type",order:0,isVisible:!0,sortable:!0,width:250,getSortableColumnPropertyName:e},{propertyName:"naicsCode",label:"NAICS Code",order:0,isVisible:!0,sortable:!0,width:250,getSortableColumnPropertyName:e},{propertyName:"startDate",label:"Start Date",order:0,isVisible:!0,sortable:!0,width:250,getSortableColumnPropertyName:e,cellFormatter:function(e){return new Date(e)&&new Date(e).toISOString().startsWith("0")?"N/A":Object(a.a)(new Date(e),"dd MMMM yyyy")},disableModalWithDetails:!0},{propertyName:"currentEndDate",label:"Current End Date",order:0,isVisible:!0,sortable:!0,width:250,getSortableColumnPropertyName:e,cellFormatter:function(e){return new Date(e)&&new Date(e).toISOString().startsWith("0")?"N/A":Object(a.a)(new Date(e),"dd MMMM yyyy")},disableModalWithDetails:!0},{propertyName:"potentialEndDate",label:"Potential End Date",order:0,isVisible:!0,sortable:!0,width:250,getSortableColumnPropertyName:e,cellFormatter:function(e){return new Date(e)&&new Date(e).toISOString().startsWith("0")?"N/A":Object(a.a)(new Date(e),"dd MMMM yyyy")},disableModalWithDetails:!0},{propertyName:"obligatedAmount",label:"Obligated Amount",order:0,isVisible:!0,sortable:!0,width:250,getSortableColumnPropertyName:e,cellFormatter:function(e){return null!==e?r.format(Math.round(e)):""},disableModalWithDetails:!0},{propertyName:"currentAmount",label:"Current Amount",order:0,isVisible:!0,sortable:!0,width:250,getSortableColumnPropertyName:e,cellFormatter:function(e){return null!==e?r.format(Math.round(e)):""},disableModalWithDetails:!0},{propertyName:"potentialAmount",label:"Potential Amount",order:0,isVisible:!0,sortable:!0,width:250,getSortableColumnPropertyName:e,cellFormatter:function(e){return null!==e?r.format(Math.round(e)):""},disableModalWithDetails:!0},{propertyName:"recipientAddress",label:"Recipient Address",order:0,isVisible:!0,sortable:!0,width:250,getSortableColumnPropertyName:e}]},o=function(e){return[{propertyName:"country",label:"Country",order:0,isVisible:!0,sortable:!0,width:200,getSortableColumnPropertyName:e},{propertyName:"projectName",label:"Project Name",order:0,isVisible:!0,sortable:!0,width:300,getSortableColumnPropertyName:e},{propertyName:"projectNumber",label:"Project Number",order:0,isVisible:!0,sortable:!0,width:200,getSortableColumnPropertyName:e},{propertyName:"projectDescription",label:"Project Description",order:0,isVisible:!0,sortable:!0,width:300,getSortableColumnPropertyName:e},{propertyName:"implementer",label:"Implementer",order:0,isVisible:!0,sortable:!0,width:200,getSortableColumnPropertyName:e},{propertyName:"technicalSector",label:"Technical Sector",order:0,isVisible:!0,sortable:!0,width:300,getSortableColumnPropertyName:e},{propertyName:"managingAgency",label:"Managing Agency",order:0,isVisible:!0,sortable:!0,width:300,getSortableColumnPropertyName:e},{propertyName:"fundingAgency",label:"Funding Agency",order:0,isVisible:!0,sortable:!0,width:300,getSortableColumnPropertyName:e},{propertyName:"fundingAccount",label:"Funding Account",order:0,isVisible:!0,sortable:!0,width:300,getSortableColumnPropertyName:e},{propertyName:"activityStartDate",label:"Activity Start Date",order:0,isVisible:!0,sortable:!0,width:250,getSortableColumnPropertyName:e,cellFormatter:function(e){return new Date(e)&&new Date(e).toISOString().startsWith("0")?"N/A":Object(a.a)(new Date(e),"dd MMMM yyyy")},disableModalWithDetails:!0},{propertyName:"activityEndDate",label:"Activity End Date",order:0,isVisible:!0,sortable:!0,width:250,getSortableColumnPropertyName:e,cellFormatter:function(e){return new Date(e)&&new Date(e).toISOString().startsWith("0")?"N/A":Object(a.a)(new Date(e),"dd MMMM yyyy")},disableModalWithDetails:!0},{propertyName:"obligations",label:"Obligations",order:0,isVisible:!0,sortable:!0,width:250,getSortableColumnPropertyName:e,cellFormatter:function(e){return null!==e?r.format(Math.round(e)):""},disableModalWithDetails:!0},{propertyName:"disbursements",label:"Disbursements",order:0,isVisible:!0,sortable:!0,width:250,getSortableColumnPropertyName:e,cellFormatter:function(e){return null!==e?r.format(Math.round(e)):""},disableModalWithDetails:!0}]}},285:function(e,t,n){"use strict";n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return r}));var a=[{name:"Afghanistan",code:"Afghanistan"},{name:"Africa",code:"Africa"},{name:"Albania",code:"Albania"},{name:"Algeria",code:"Algeria"},{name:"Angola",code:"Angola"},{name:"Anguilla",code:"Anguilla"},{name:"Antigua and Barbuda",code:"Antigua and Barbuda"},{name:"Argentina",code:"Argentina"},{name:"Armenia",code:"Armenia"},{name:"Aruba",code:"Aruba"},{name:"Asia",code:"Asia"},{name:"Asia, Middle East and North Africa Region",code:"Asia, Middle East and North Africa Region"},{name:"Australia",code:"Australia"},{name:"Austria",code:"Austria"},{name:"Azerbaijan",code:"Azerbaijan"},{name:"Bahamas",code:"Bahamas"},{name:"Bahrain",code:"Bahrain"},{name:"Bangladesh",code:"Bangladesh"},{name:"Barbados",code:"Barbados"},{name:"Belarus",code:"Belarus"},{name:"Belgium",code:"Belgium"},{name:"Belize",code:"Belize"},{name:"Benin",code:"Benin"},{name:"Bermuda",code:"Bermuda"},{name:"Bhutan",code:"Bhutan"},{name:"Bolivia",code:"Bolivia"},{name:"Bosnia/Herzegovina",code:"Bosnia/Herzegovina"},{name:"Botswana",code:"Botswana"},{name:"Brazil",code:"Brazil"},{name:"Brunei ",code:"Brunei "},{name:"British Indian Ocean Territory",code:"British Indian Ocean Territory"},{name:"Bulgaria",code:"Bulgaria"},{name:"Burkina Faso",code:"Burkina Faso"},{name:"Bureau for Conflict Prevention and Stabilization (CPS)",code:"Bureau for Conflict Prevention and Stabilization (CPS)"},{name:"Bureau for Democracy, Conflict and Humanitarian Assistance (DCHA)",code:"Bureau for Democracy, Conflict and Humanitarian Assistance (DCHA)"},{name:"Bureau for Economic Growth, Education and Environment (E3)",code:"Bureau for Economic Growth, Education and Environment (E3)"},{name:"Bureau for Food Security (FS)",code:"Bureau for Food Security (FS)"},{name:"Bureau for Global Health (GH)",code:"Bureau for Global Health (GH)"},{name:"Bureau for Management (M)",code:"Bureau for Management (M)"},{name:"Bureau for Policy, Planning and Learning (PPL)",code:"Bureau for Policy, Planning and Learning (PPL)"},{name:"Bureau for Resilience and Food Security (RFS)",code:"Bureau for Resilience and Food Security (RFS)"},{name:"Burma",code:"Burma"},{name:"Burundi",code:"Burundi"},{name:"Cabo Verde",code:"Cabo Verde"},{name:"Cambodia",code:"Cambodia"},{name:"Cameroon",code:"Cameroon"},{name:"Canada",code:"Canada"},{name:"Caribbean Region",code:"Caribbean Region"},{name:"Central African Republic",code:"Central African Republic"},{name:"Central America and Caribbean Region",code:"Central America and Caribbean Region"},{name:"Central America Region",code:"Central America Region"},{name:"Central and Eastern Europe Region",code:"Central and Eastern Europe Region"},{name:"Chad",code:"Chad"},{name:"Chile",code:"Chile"},{name:"China (P.R. Hong Kong)",code:"China (P.R. Hong Kong)"},{name:"China (P.R.C.)",code:"China (P.R.C.)"},{name:"China (Tibet)",code:"China (Tibet)"},{name:"Comoros",code:"Comoros"},{name:"Cook Islands",code:"Cook Islands"},{name:"Costa Rica",code:"Costa Rica"},{name:"Cote d'Ivoire",code:"Cote d'Ivoire"},{name:"Croatia",code:"Croatia"},{name:"Cuba",code:"Cuba"},{name:"Curacao",code:"Curacao"},{name:"Czechia",code:"Czechia"},{name:"Center for Accelerating Innovation and Impact (GH/CAII)",code:"Center for Accelerating Innovation and Impact (GH/CAII)"},{name:"Center for Faith-Based and Community Initiatives (CFBCI)",code:"Center for Faith-Based and Community Initiatives (CFBCI)"},{name:"Central Asia",code:"Central Asia"},{name:"Colombia",code:"Colombia"},{name:"Cyprus",code:"Cyprus"},{name:"Denmark",code:"Denmark"},{name:"Democratic Republic of the Congo",code:"Democratic Republic of the Congo"},{name:"Djibouti",code:"Djibouti"},{name:"Dominica",code:"Dominica"},{name:"Dominican Republic",code:"Dominican Republic"},{name:"East Asia and Oceania Region",code:"East Asia and Oceania Region"},{name:"East Africa",code:"East Africa"},{name:"Eastern Asia Region",code:"Eastern Asia Region"},{name:"Eastern Europe Region",code:"Eastern Europe Region"},{name:"East Timor",code:"East Timor"},{name:"Ecuador",code:"Ecuador"},{name:"Egypt",code:"Egypt"},{name:"El Salvador",code:"El Salvador"},{name:"Equatorial Guinea",code:"Equatorial Guinea"},{name:"Eritrea",code:"Eritrea"},{name:"Estonia",code:"Estonia"},{name:"Eswatini",code:"Eswatini"},{name:"Ethiopia",code:"Ethiopia"},{name:"Eurasia Region",code:"Eurasia Region"},{name:"Europe and Eurasia",code:"Europe and Eurasia"},{name:"Europe Region",code:"Europe Region"},{name:"Fiji",code:"Fiji"},{name:"France",code:"France"},{name:"French Polynesia",code:"French Polynesia"},{name:"Gabon",code:"Gabon"},{name:"Gambia",code:"Gambia"},{name:"Executive Secretariat (ES)",code:"Executive Secretariat (ES)"},{name:"Foreign Assistance (FA)",code:"Foreign Assistance (FA)"},{name:"Georgia",code:"Georgia"},{name:"Germany",code:"Germany"},{name:"Ghana",code:"Ghana"},{name:"Greece",code:"Greece"},{name:"Grenada",code:"Grenada"},{name:"Guatemala",code:"Guatemala"},{name:"Guinea",code:"Guinea"},{name:"Guinea-Bissau",code:"Guinea-Bissau"},{name:"Guyana",code:"Guyana"},{name:"Haiti",code:"Haiti"},{name:"Honduras",code:"Honduras"},{name:"Hungary",code:"Hungary"},{name:"India",code:"India"},{name:"Indonesia",code:"Indonesia"},{name:"Iran",code:"Iran"},{name:"Iraq",code:"Iraq"},{name:"Ireland",code:"Ireland"},{name:"Israel",code:"Israel"},{name:"Italy",code:"Italy"},{name:"Jamaica",code:"Jamaica"},{name:"Japan",code:"Japan"},{name:"Jordan",code:"Jordan"},{name:"Kazakhstan",code:"Kazakhstan"},{name:"Kenya",code:"Kenya"},{name:"Kiribati",code:"Kiribati"},{name:"Korea Republic",code:"Korea Republic"},{name:"Korea, Democratic Republic",code:"Korea, Democratic Republic"},{name:"Kosovo",code:"Kosovo"},{name:"Kuwait",code:"Kuwait"},{name:"Kyrgyz Republic",code:"Kyrgyz Republic"},{name:"Laos",code:"Laos"},{name:"Latin America and the Caribbean",code:"Latin America and the Caribbean"},{name:"Latin America Region",code:"Latin America Region"},{name:"Latvia",code:"Latvia"},{name:"Lebanon",code:"Lebanon"},{name:"Lesotho",code:"Lesotho"},{name:"Legislative and Public Affairs (LPA)",code:"Legislative and Public Affairs (LPA)"},{name:"Liberia",code:"Liberia"},{name:"Libya",code:"Libya"},{name:"Lithuania",code:"Lithuania"},{name:"Macedonia",code:"Macedonia"},{name:"Macau",code:"Macau"},{name:"Madagascar",code:"Madagascar"},{name:"Malawi",code:"Malawi"},{name:"Malaysia",code:"Malaysia"},{name:"Maldives",code:"Maldives"},{name:"Mali",code:"Mali"},{name:"Malta",code:"Malta"},{name:"Marshall Islands",code:"Marshall Islands"},{name:"Mauritania",code:"Mauritania"},{name:"Mauritius",code:"Mauritius"},{name:"MERP (MID EAST REG PRO FRANK)",code:"MERP (MID EAST REG PRO FRANK)"},{name:"Mexico",code:"Mexico"},{name:"Micronesia (Federated States)",code:"Micronesia (Federated States)"},{name:"Middle East and North Africa Region",code:"Middle East and North Africa Region"},{name:"Middle East",code:"Middle East"},{name:"Moldova",code:"Moldova"},{name:"Mongolia",code:"Mongolia"},{name:"Montenegro",code:"Montenegro"},{name:"Montserrat",code:"Montserrat"},{name:"Morocco",code:"Morocco"},{name:"Mozambique",code:"Mozambique"},{name:"Namibia",code:"Namibia"},{name:"Nepal",code:"Nepal"},{name:"Netherlands",code:"Netherlands"},{name:"New Caledonia",code:"New Caledonia"},{name:"New Zealand",code:"New Zealand"},{name:"Nicaragua",code:"Nicaragua"},{name:"Niger",code:"Niger"},{name:"Nigeria",code:"Nigeria"},{name:"North Africa Region",code:"North Africa Region"},{name:"North America Region",code:"North America Region"},{name:"North and Central America Region",code:"North and Central America Region"},{name:"North Macedonia",code:"North Macedonia"},{name:"Norway ",code:"Norway "},{name:"Oceania Region",code:"Oceania Region"},{name:"Oman",code:"Oman"},{name:"Office of Acquisition and Assistance (M/OAA)",code:"Office of Acquisition and Assistance (M/OAA)"},{name:"Office of Afghanistan and Pakistan Affairs (OAPA)",code:"Office of Afghanistan and Pakistan Affairs (OAPA)"},{name:"Office of Budget and Resource Management (BRM)",code:"Office of Budget and Resource Management (BRM)"},{name:"Office of Chief Operating Officer (COO)",code:"Office of Chief Operating Officer (COO)"},{name:"Office of Civil Rights and Diversity (OCRD)",code:"Office of Civil Rights and Diversity (OCRD)"},{name:"Office of Country Support (GH/OCS)",code:"Office of Country Support (GH/OCS)"},{name:"Office of Development Credit (E3/DC)",code:"Office of Development Credit (E3/DC)"},{name:"Office of Economic Policy (E3/EP)",code:"Office of Economic Policy (E3/EP)"},{name:"Office of Education (E3/ED)",code:"Office of Education (E3/ED)"},{name:"Office of Energy & Infrastructure (E3/EI)",code:"Office of Energy & Infrastructure (E3/EI)"},{name:"Office of Forestry & Biodiversity (E3/FAB)",code:"Office of Forestry & Biodiversity (E3/FAB)"},{name:"Office of Gender Equality & Women's Empowerment (E3/GEWE)",code:"Office of Gender Equality & Women's Empowerment (E3/GEWE)"},{name:"Office of General Counsel (GC)",code:"Office of General Counsel (GC)"},{name:"Office of Global Climate Change (E3/GCC)",code:"Office of Global Climate Change (E3/GCC)"},{name:"Office of Health Infectious Diseases & Nutrition (GH/HIDN)",code:"Office of Health Infectious Diseases & Nutrition (GH/HIDN)"},{name:"Office of Health Systems (GH/OHS)",code:"Office of Health Systems (GH/OHS)"},{name:"Office of HIV/AIDS (GH/OHA)",code:"Office of HIV/AIDS (GH/OHA)"},{name:"Office of Human Capital and Talent Management (HCTM)",code:"Office of Human Capital and Talent Management (HCTM)"},{name:"Office of Infectious Disease (GH/ID)",code:"Office of Infectious Disease (GH/ID)"},{name:"Office of Inspector General (OIG)",code:"Office of Inspector General (OIG)"},{name:"Office of Land and Urban (E3/LU)",code:"Office of Land and Urban (E3/LU)"},{name:"Office of Land Tenure & Resource Management (E3/LTRM)",code:"Office of Land Tenure & Resource Management (E3/LTRM)"},{name:"Office of Local Sustainability (E3/LS)",code:"Office of Local Sustainability (E3/LS)"},{name:"Office of Management Policy, Budget, and Performance (M/MPBP)",code:"Office of Management Policy, Budget, and Performance (M/MPBP)"},{name:"Office of Management Services (M/MS)",code:"Office of Management Services (M/MS)"},{name:"Office of Maternal and Child Health and Nutrition (GH/MCHN)",code:"Office of Maternal and Child Health and Nutrition (GH/MCHN)"},{name:"Office of Middle East Programs",code:"Office of Middle East Programs"},{name:"Office of Planning, Learning & Coordination (E3/PLC)",code:"Office of Planning, Learning & Coordination (E3/PLC)"},{name:"Office of Policy, Programs & Planning (GH/OPPP)",code:"Office of Policy, Programs & Planning (GH/OPPP)"},{name:"Office of Population & Reproductive Health (GH/PRH)",code:"Office of Population & Reproductive Health (GH/PRH)"},{name:"Office of Professional Development & Management Services (E3/PDMS)",code:"Office of Professional Development & Management Services (E3/PDMS)"},{name:"Office of Professional Development & Management Services (GH/PDMS)",code:"Office of Professional Development & Management Services (GH/PDMS)"},{name:"Office of Security (SEC)",code:"Office of Security (SEC)"},{name:"Office of Small and Disadvantaged Business Utilization (OSDBU)",code:"Office of Small and Disadvantaged Business Utilization (OSDBU)"},{name:"Office of the Administrator (AID/A)",code:"Office of the Administrator (AID/A)"},{name:"Office of the Assistant Administrator (GH/AA)",code:"Office of the Assistant Administrator (GH/AA)"},{name:"Office of the Chief Financial Officer (M/CFO)",code:"Office of the Chief Financial Officer (M/CFO)"},{name:"Office of the Chief Information Officer (M/CIO)",code:"Office of the Chief Information Officer (M/CIO)"},{name:"Office of Trade & Regulatory Reform (E3/TRR)",code:"Office of Trade & Regulatory Reform (E3/TRR)"},{name:"Office of U.S. Foreign Disaster Assistance (DCHA/OFDA)",code:"Office of U.S. Foreign Disaster Assistance (DCHA/OFDA)"},{name:"Office of Water (E3/W)",code:"Office of Water (E3/W)"},{name:"Pakistan",code:"Pakistan"},{name:"Palau",code:"Palau"},{name:"Panama",code:"Panama"},{name:"Papua New Guinea",code:"Papua New Guinea"},{name:"Paraguay",code:"Paraguay"},{name:"Peru",code:"Peru"},{name:"Philippines",code:"Philippines"},{name:"Poland",code:"Poland"},{name:"Portugal",code:"Portugal"},{name:"Qatar",code:"Qatar"},{name:"Romania",code:"Romania"},{name:"Russia",code:"Russia"},{name:"Power Africa",code:"Power Africa"},{name:"Private Capital and Microenterprise Office (E3/PCM)",code:"Private Capital and Microenterprise Office (E3/PCM)"},{name:"Regional Development Mission for Asia",code:"Regional Development Mission for Asia"},{name:"Rwanda",code:"Rwanda"},{name:"Samoa",code:"Samoa"},{name:"Sao Tome and Principe",code:"Sao Tome and Principe"},{name:"Saudi Arabia",code:"Saudi Arabia"},{name:"Senegal (Includes Burkina Faso and Mali)",code:"Senegal (Includes Burkina Faso and Mali)"},{name:"Serbia",code:"Serbia"},{name:"Sierra Leone",code:"Sierra Leone"},{name:"Singapore",code:"Singapore"},{name:"Slovak Republic",code:"Slovak Republic"},{name:"Slovenia",code:"Slovenia"},{name:"Solomon Islands",code:"Solomon Islands"},{name:"Somalia",code:"Somalia"},{name:"South Africa",code:"South Africa"},{name:"South America Region",code:"South America Region"},{name:"South and Central Asia Region",code:"South and Central Asia Region"},{name:"South East Asia Region",code:"South East Asia Region"},{name:"South Sudan",code:"South Sudan"},{name:"Southern Africa Region",code:"Southern Africa Region"},{name:"Southern Asia Region",code:"Southern Asia Region"},{name:"Spain",code:"Spain"},{name:"Sri Lanka",code:"Sri Lanka"},{name:"St. Kitts and Nevis",code:"St. Kitts and Nevis"},{name:"St. Lucia",code:"St. Lucia"},{name:"St. Vincent and Grenadines",code:"St. Vincent and Grenadines"},{name:"Sub-Saharan Africa Region",code:"Sub-Saharan Africa Region"},{name:"Sudan",code:"Sudan"},{name:"Suriname",code:"Suriname"},{name:"Switzerland",code:"Switzerland"},{name:"Syria",code:"Syria"},{name:"Taiwan",code:"Taiwan"},{name:"Tajikistan",code:"Tajikistan"},{name:"Tanzania",code:"Tanzania"},{name:"Thailand",code:"Thailand"},{name:"Timor-Leste",code:"Timor-Leste"},{name:"Togo",code:"Togo"},{name:"Tonga",code:"Tonga"},{name:"Trinidad and Tobago",code:"Trinidad and Tobago"},{name:"Tunisia",code:"Tunisia"},{name:"Turkey",code:"Turkey"},{name:"Turkmenistan",code:"Turkmenistan"},{name:"Turks and Caicos Islands",code:"Turks and Caicos Islands"},{name:"Tuvalu",code:"Tuvalu"},{name:"U.S. Global Development Lab (LAB)",code:"U.S. Global Development Lab (LAB)"},{name:"Uganda",code:"Uganda"},{name:"Ukraine",code:"Ukraine"},{name:"United Arab Emirates",code:"United Arab Emirates"},{name:"United Kingdom",code:"United Kingdom"},{name:"United States of America",code:"United States of America"},{name:"Uruguay",code:"Uruguay"},{name:"Uzbekistan",code:"Uzbekistan"},{name:"Vanuatu",code:"Vanuatu"},{name:"Venezuela",code:"Venezuela"},{name:"Vietnam",code:"Vietnam"},{name:"West Africa Region",code:"West Africa Region"},{name:"West Bank/Gaza",code:"West Bank/Gaza"},{name:"Western (Spanish) Sahara",code:"Western (Spanish) Sahara"},{name:"Western Hemisphere Region",code:"Western Hemisphere Region"},{name:"World",code:"World"},{name:"Yemen",code:"Yemen"},{name:"Zambia",code:"Zambia"},{name:"Zimbabwe",code:"Zimbabwe"},{name:"ACQUISITIONS - DIPLOMATIC SECURITY",code:"ACQUISITIONS - DIPLOMATIC SECURITY"},{name:"ACQUISITIONS - AQM MOMENTUM",code:"ACQUISITIONS - AQM MOMENTUM"},{name:"ACQUISITIONS - ELSO ANTWERP",code:"ACQUISITIONS - ELSO ANTWERP"},{name:"ACQUISITIONS - FSI",code:"ACQUISITIONS - FSI"},{name:"ACQUISITIONS - INL",code:"ACQUISITIONS - INL"},{name:"ACQUISITIONS - RPSO FRANKFURT",code:"ACQUISITIONS - RPSO FRANKFURT"},{name:"ACQUISITIONS - US MISSION TO THE UN",code:"ACQUISITIONS - US MISSION TO THE UN"},{name:"Agency for International Development",code:"USAID"},{name:"BUREAU OF AFRICAN AFFAIRS",code:"BUREAU OF AFRICAN AFFAIRS"},{name:"FOREIGN SERVICE INSTITUTE",code:"FOREIGN SERVICE INSTITUTE"},{name:"INTERNAT. BOUNDARY AND WATER COMM.",code:"INTERNAT. BOUNDARY AND WATER COMM."},{name:"MILLENNIUM CHALLENGE CORPORATION",code:"MILLENNIUM CHALLENGE CORPORATION"},{name:"OFFICE OF LANGUAGE SERVICES",code:"OFFICE OF LANGUAGE SERVICES"},{name:"RALPH J BUNCHE LIBRARY",code:"RALPH J BUNCHE LIBRARY"},{name:"USAID A/AID",code:"USAID A/AID"},{name:"USAID EGEE",code:"USAID EGEE"}],r=[{name:"Agriculture and Food Security",code:"Agriculture and Food Security"},{name:"Democracy, Human Rights, and Governance",code:"Democracy, Human Rights, and Governance"},{name:"Community Development",code:"Community Development"},{name:"Regional Revelopment",code:"Regional Revelopment"},{name:"Employment, Labor and Training",code:"Employment, Labor and Training"},{name:"Income Security and Social Services",code:"Income Security and Social Services"},{name:"Housing",code:"Housing"},{name:"Law, Justice and Legal Services ",code:"Law, Justice and Legal Services "},{name:"Economic Growth and Trade",code:"Economic Growth and Trade"},{name:"Business and Commerce",code:"Business and Commerce"},{name:"Consumer Protection",code:"Consumer Protection"},{name:"Education",code:"Education"},{name:"Ending Extreme Poverty",code:"Ending Extreme Poverty"},{name:"Environment and Global Climate Change",code:"Environment and Global Climate Change"},{name:"Natural Resources",code:"Natural Resources"},{name:"Energy",code:"Energy"},{name:"Gender Equality and Women's Empowerment",code:"Gender Equality and Women's Empowerment"},{name:"Global Health",code:"Global Health"},{name:"HIV/AIDS (More than 50% funded by PEPFAR)",code:"HIV/AIDS (More than 50% funded by PEPFAR)"},{name:"Management",code:"Management"},{name:"U.S. Global Development Lab",code:"U.S. Global Development Lab"},{name:"Water and Sanitation",code:"Water and Sanitation"},{name:"Working in Crises and Conflict",code:"Working in Crises and Conflict"},{name:"Disaster Prevention and Relief",code:"Disaster Prevention and Relief"},{name:"Food and Nutrition",code:"Food and Nutrition"},{name:"Humanities",code:"Humanities"},{name:"Information and Statistics",code:"Information and Statistics"},{name:"Science and Technology and other Research and Development",code:"Science and Technology and other Research and Development"},{name:"Other",code:"Other"}]},295:function(e,t,n){"use strict";n.r(t),t.default="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAS0AAAEtCAYAAABd4zbuAAAACXBIWXMAAAsSAAALEgHS3X78AAATbUlEQVR4nO3dUYhc133H8aNWyDLUXlmqVcd1vFJL7AjJ1YqYoobaGjV9CMQw25T2JQ9avQX8oAl9aCiFbiDkKaUjqJ/64F3ap5aSHWhCQgWadXBQiqi0qWysFFu7sYkUu3J3ZbexhMqWM/rf3buzM7P3zr333P855/uBwYqTaO/cK376n//933N3ra+vG2CQVre5zxgzJf/VIfmYIf85r1VjzNXU/2dZPr1ftxud5QK/NwJGaEUsFUpJANlf75NfTyo4M2sSbKt9/yTUIkZoRaLVbTZSATUlnwnPv/1iqkLr2kBrNzqrCo4LFSK0AtTqNm0gNVLhdDyir78i1Zj9dNuNTlfBMaFEhFYApIpKPqdiPx8DLCYhJkFGNeYxQstDqUrKfpqxn48xLEqALbQbnaul/+6oFKHliVa3OW2MmZag0tAkD4Vt9i+kQowqTDlCSym5s5eE1HQATXNfdCTECDClCC1lUhXVmdjPhQIEmEKElgLSo2pRUak2L+G1EPuJqBuhVRNZ/s1IWNGj8ocdqZizHwZc60FoOSbjCTMs/4LQkfCi+nKI0HKk1W0mVVVMg56xsNVXWwKM3lfFCK0KyRKwJZUVS8DwrcnSsc3SsTqEVgVa3eahVL+KxnqcbON+lvAqH6FVIgmrWfpVSCG8SkZolYCwQgaEV0kIrQJSPau/8vZLwDXCqyBCawypsKJnhXGdl/DibmNOhFZOMrowy91AlGBN7jTOcjKzI7QykqHQWfarQgXsnFeLIdVsCK0dyFKwTZMdDth9vmbod432K5oPrm6yFFwmsOCIreJvtLpNlosjUGkNICMMcywFUaMVqbrY474P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uuAGoVUDmbC34TVN9eWtjgRVlBvx1YnQqpEsHaepvryxIg/Rz7EErA+hpYQ07pPqi8eE9Eh6VW22iNGB0FJIlo8zBFhtkqBaYPmnD6GlHAHmDEHlCULLIxJgDQkwtskpzu4M2pUeFUs/TxBanpImfiP1oZG/sxUJqa5UVIwoeIjQCkRfiE1RifUklZStorrc8QsDoRWwVreZBFjyCbkaswG1nAooHqEJFKEVGemLHUoF2T7PqjIbTqtSQdmQWiag4kJooUeWl0mITcm/bsg/9zmq0lYkiIxUTKtJMEk4sbwDoYX8ZNk5yLB/b1IhtAVVEnIxxvw/93m1CsjisXkAAAAASUVORK5CYII="},30:function(e,t,n){"use strict";n.d(t,"a",(function(){return A})),n.d(t,"c",(function(){return w})),n.d(t,"b",(function(){return S}));var a,r,i,c=n(301),o=n(42),s=n(660),l=n.n(s),d=n(221),u=n(114),p=n(35),b=n(315),j=n(224),m=n(225),f=n(127),h=n(122),O=n(118),g=n(88),x=n(222),v=n(423),y=Object(d.b)({forecast:u.f,pipelines:p.d,organization:b.b,usaSpending:j.d,foreignAssistance:m.d,userSettings:f.e,contracts:h.g,grants:O.f,dashboard:g.j,reports:x.c,ecd:v.b}),C="true"===Object({NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0,REACT_APP_STAGE:"prod"}).NEXT_PUBLIC_ENABLE_REDUX_DEV_TOOLS||(null===(a=window)||void 0===a||null===(r=a.location)||void 0===r||null===(i=r.href)||void 0===i?void 0:i.includes("localhost:3000")),A=Object(o.a)({reducer:function(e,t){return"logout/LOGOUT"===t.type?y(void 0,t):y(e,t)},devTools:C,middleware:function(e){return C?e().prepend().concat(l.a):e()}}),w=c.c,S=function(){return Object(c.b)()}},315:function(e,t,n){"use strict";n.d(t,"a",(function(){return j})),n.d(t,"b",(function(){return f}));var a,r=n(193),i=n(6),c=n(5),o=n.n(c),s=n(10),l=n(39),d=n(42),u=n(4),p=n(8),b=Object.freeze({organizationUsers:[],fetchStatus:p.a.statuses.NULL}),j=Object(d.b)("organization/getOrganizationUsers",function(){var e=Object(s.a)(o.a.mark((function e(t,n){var a,r;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,l.a.get(Object(u.f)("/api/organization/user",{useDedicatedEnvironment:!0}),Object(u.b)(t));case 2:return r=e.sent,e.abrupt("return",null!==(a=null===r||void 0===r?void 0:r.data)&&void 0!==a?a:[]);case 4:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}()),m=Object(d.c)({name:"organization",initialState:b,reducers:{},extraReducers:(a={},Object(i.a)(a,j.pending,(function(e,t){e.fetchStatus=p.a.statuses.FETCHING})),Object(i.a)(a,j.fulfilled,(function(e,t){e.organizationUsers=t.payload,e.fetchStatus=p.a.statuses.DONE})),Object(i.a)(a,j.rejected,(function(e,t){e.fetchStatus=p.a.statuses.ERROR})),a)}),f=m.reducer;Object(r.a)(m.actions)},32:function(e,t,n){"use strict";function a(e){var t=document.createElement("DIV");return t.innerHTML=e,t.textContent||t.innerText||""}function r(e){var t=document.createElement("DIV");t.innerHTML=e;for(var n=t.getElementsByTagName("a"),a=0;a0&&!ee&&H&&$?[{label:"Add all matching options",value:T}].concat(Object(m.a)(t)):t}),[t]),le=Object(i.useState)((null!==B&&void 0!==B?B:H)?[]:null),de=Object(f.a)(le,2),ue=de[0],pe=de[1],be=Object(i.useState)(null),je=Object(f.a)(be,2),me=je[0],fe=je[1],he=Object(i.useState)(!0),Oe=Object(f.a)(he,2),ge=Oe[0],xe=Oe[1],ve=Object(i.useRef)(null),ye=Object(i.useRef)(void 0),Ce=Object(i.useState)(""),Ae=Object(f.a)(Ce,2),we=Ae[0],Se=Ae[1],Ne=Object(i.useState)(!1),Ee=Object(f.a)(Ne,2),Ie=Ee[0],De=Ee[1],Fe=Object(i.useCallback)(Object(N.debounce)((function(e){Se(e)}),750),[]),ke=function(e,t){var r;(pe(t),n(Object(a.a)(Object(a.a)({},e),{},{target:Object(a.a)(Object(a.a)({},e.target),{},{value:(null===t||void 0===t?void 0:t.value)||t})})),J&&ve.current)&&(null===(r=ve.current)||void 0===r||r.getState((function(e){return ye.current=e})))},Te=Object(O.a)(),Re=function(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],a=Te(e,t);return H&&n&&(a.includes({label:"Add all matching options",value:T})||a.unshift({label:"Add all matching options",value:T})),a};Object(i.useEffect)((function(){l&&se&&ge&&(pe(se.find((function(e){return e.value===l}))),xe(!1))}),[l,se]),Object(i.useEffect)((function(){w.a.isFetching(R),w.a.isDone(R)&&!Ie&&(pe(B),De(!0))}),[R,Ie]),Object(i.useEffect)((function(){null!==$&&$(we)}),[we]),Object(i.useEffect)((function(){$&&!Ie||pe(H?B:se.find((function(e){return e.value===B})))}),[B]);var Pe=Object(i.forwardRef)((function(e,t){var n=e.children,c=Object(r.a)(e,k),o=n;return Object(D.jsx)("ul",Object(a.a)(Object(a.a)({ref:function(e){"function"===typeof t&&t(e)}},c),{},{style:{padding:"0"},children:Object(D.jsx)(S.b,{ref:ve,style:{height:"35vh"},data:o,restoreStateFrom:ye.current,itemContent:function(e,t){return Object(i.cloneElement)(t,{index:e})}})}))}));return Object(D.jsx)(D.Fragment,{children:Object(D.jsx)(x.a,Object(a.a)(Object(a.a)(Object(a.a)(Object(a.a)(Object(a.a)({},te),{},{open:ie,onOpen:function(){return ce(!0)},onClose:oe,options:se,value:ue,inputValue:null!==me&&void 0!==me?me:"",defaultValue:(null!==l&&void 0!==l?l:H)?[]:null,isOptionEqualToValue:function(e,t){return(null===e||void 0===e?void 0:e.value)===(null===t||void 0===t?void 0:t.value)},getOptionLabel:function(e){var t;return null!==(t=null===e||void 0===e?void 0:e.label)&&void 0!==t?t:""},onChange:ke,onInputChange:function(e,t,n){$&&Fe(t),fe(t)},loading:w.a.isFetching(R),noOptionsText:c,disabled:M,PaperComponent:function(e){return Object(D.jsx)(g.a,Object(a.a)(Object(a.a)({},e),{},{sx:{mb:2,boxShadow:"0px 10px 15px rgba(100, 116, 139, 0.12)"},variant:"outlined"}))},multiple:H,disableClearable:"undefined"===typeof ue,disableCloseOnSelect:H},Y&&{limitTags:Y}),$?{filterOptions:function(e){return e}}:{filterOptions:Re}),{},{slotProps:{popper:{sx:{zIndex:2147483640}}}},J&&{ListboxComponent:Pe}),{},{renderTags:function(e,t){return(null===e||void 0===e?void 0:e.length)>0?e.map((function(e,n){var r;return Object(D.jsx)(v.a,Object(a.a)(Object(a.a)({},t({index:n})),{},{label:null!==(r=null===e||void 0===e?void 0:e.label)&&void 0!==r?r:e,sx:{borderRadius:"16px !important","& > svg":{height:"24px",width:"24px"}}}))})):Object(D.jsx)(D.Fragment,{})},renderInput:function(e){return Object(D.jsxs)(D.Fragment,{children:[Object(D.jsx)(s.a,Object(a.a)(Object(a.a)(Object(a.a)({},e),{},{inputRef:L,error:U,label:p&&(Q?"".concat(p," *"):p)},!!j&&{placeholder:j}),{},{sx:K,inputProps:Object(a.a)(Object(a.a)({},null===e||void 0===e?void 0:e.inputProps),{},{form:{autocomplete:"off"}})})),Object(D.jsx)(d.a,{sx:{height:"4px",mt:"-4px",borderRadius:"0 0 4px 4px",overflow:"hidden"},children:w.a.isFetching(R)&&Object(D.jsx)(y.a,{})})]})},renderOption:function(e,t,n){var r=n.selected;return t.value===T?Object(i.createElement)("li",Object(a.a)(Object(a.a)({},e),{},{style:{padding:"6px 12px"},key:t.value,onClick:function(e){ke(e,Re(se,{inputValue:null!==me&&void 0!==me?me:"",getOptionLabel:function(e){return e.label}},!1)),oe()}}),Object(D.jsx)(I.a,{sx:{height:"20px",width:"20px",mr:2,color:ne.palette.primary.main}}),Object(D.jsx)(C.a,Object(a.a)(Object(a.a)({primary:t.label},(null===t||void 0===t?void 0:t.secondaryLabel)&&{secondary:t.secondaryLabel}),{},{primaryTypographyProps:{sx:{color:ne.palette.primary.main,fontWeight:600}}}))):Object(i.createElement)("li",Object(a.a)(Object(a.a)({},e),{},{style:Object(a.a)({},X&&H&&{padding:0}),key:t.value}),H&&X&&Object(D.jsx)(A.a,{style:{marginRight:8},checked:r}),Object(D.jsx)(C.a,Object(a.a)({primary:t.label},(null===t||void 0===t?void 0:t.secondaryLabel)&&{secondary:t.secondaryLabel})))}}))})},P=n(248),M=n(124),U=n.n(M),L=n(663),B=["onChange","name"],V=function(e){var t=e.message;return Object(D.jsx)(o.a,{error:!0,children:t})},Q=c.a.forwardRef((function(e,t){var n=e.onChange,i=e.name,c=Object(r.a)(e,B);return Object(D.jsx)(L.a,Object(a.a)(Object(a.a)({},c),{},{getInputRef:t,onValueChange:function(e){n({target:{name:i,value:+e.value}})},thousandSeparator:!0,valueIsNumericString:!0,prefix:"$"}))}));t.a=function(e){var t=e.type,n=e.name,r=e.control,i=(e.defaultValue,e.label),c=void 0===i?null:i,o=e.placeholder,m=void 0===o?null:o,f=(e.loading,e.inputValue,e.onInputChange,e.options),h=void 0===f?[]:f,O=e.fullWidth,g=void 0!==O&&O,x=e.validationMessage,v=void 0===x?null:x,y=e.fetchStatus,C=void 0===y?w.a.statuses.NULL:y,A=e.noValueMessage,S=void 0===A?"No items":A,N=e.requiredSign,E=void 0!==N&&N,I=e.multiple,F=void 0!==I&&I,k=e.limitTags,T=void 0===k?null:k,M=e.multiline,L=void 0!==M&&M,B=e.rows,W=void 0===B?null:B,H=e.sx,z=void 0===H?{}:H,Y=e.withCheckboxes,G=void 0!==Y&&Y,K=e.richTextUnformattedOnChange,q=void 0===K?null:K,X=e.useVirtualizedList,Z=void 0!==X&&X,J=e.disabled,_=void 0!==J&&J,$=e.asyncCallback,ee=void 0===$?null:$,te=e.disableAddAllMatchingOption,ne=void 0!==te&&te;e.size;return"combo-box"===t?Object(D.jsx)(b.a,{control:r,name:n,render:function(t){var n=t.field,r=n.onChange,i=(n.onBlur,n.value),o=n.ref,s=t.fieldState.isTouched;return Object(D.jsxs)(D.Fragment,{children:[Object(D.jsx)(R,Object(a.a)(Object(a.a)({},e),{},{isTouched:s,onChange:function(e){r(e.target.value)},asyncCallback:ee,value:i,inputRef:o,options:h,multiple:F,limitTags:T,disabled:_,label:c?"".concat(c||m," ").concat(E?"*":""):null,error:Boolean(v),fetchStatus:C,noValueMessage:S,requiredSign:E,sx:z,withCheckboxes:G,useVirtualizedList:Z,disableAddAllMatchingOption:ne})),v&&Object(D.jsx)(V,{message:v})]})}}):"date"===t?Object(D.jsx)(b.a,{control:r,name:n,render:function(e){var t=e.field,r=t.onChange,i=(t.onBlur,t.value),o=t.ref;e.fieldState.isTouched;return Object(D.jsxs)(D.Fragment,{children:[Object(D.jsx)(j.a,{label:c?"".concat(c||m," ").concat(E?"*":""):null,disabled:_,onChange:r,value:i?new Date(i):null,inputRef:o,slotProps:{field:{clearable:!0},popper:{sx:{zIndex:2147483640}},textField:{sx:Object(a.a)({width:"100%"},z),name:n,fullWidth:g}}}),v&&Object(D.jsx)(V,{message:v})]})}}):"rich-text"===t?Object(D.jsx)(b.a,{control:r,name:n,render:function(e){var t=e.field,n=t.onChange,r=(t.onBlur,t.value);t.ref,e.fieldState.isTouched;return Object(D.jsxs)(D.Fragment,{children:[Object(D.jsx)(P.a,Object(a.a)(Object(a.a)({setValue:function(e){return n({target:{value:e}})}},!!q&&{setUnformattedValue:function(e){return q(e)}}),{},{value:r,label:c,disabled:_})),v&&Object(D.jsx)(V,{message:v})]})}}):"amount"===t?Object(D.jsx)(b.a,{control:r,name:n,render:function(e){var n=e.field,r=n.onChange,i=n.onBlur,o=n.value,d=n.ref;e.fieldState.isTouched;return Object(D.jsxs)(D.Fragment,{children:[Object(D.jsx)(s.a,Object(a.a)(Object(a.a)({label:c?"".concat(c||m," ").concat(E?"*":""):null,type:t,onChange:r,onBlur:i,value:o,inputRef:d,fullWidth:g,disabled:_},W&&{rows:W}),{},{InputProps:{endAdornment:(null===o||void 0===o?void 0:o.length)>0&&Object(D.jsx)(l.a,{onClick:function(){return r({target:{value:""}})},sx:{mr:.5},children:Object(D.jsx)(U.a,{})}),inputComponent:Q},sx:z})),v&&Object(D.jsx)(V,{message:v})]})}}):"switch"===t?Object(D.jsx)(b.a,{control:r,name:n,render:function(e){var t=e.field,n=t.onChange,r=(t.onBlur,t.value);t.ref,e.fieldState.isTouched;return Object(D.jsxs)(d.a,{sx:Object(a.a)({display:"flex",flexDirection:"column",justifyContent:"flex-start"},g&&{width:"100%"}),children:[Object(D.jsx)(u.a,{control:Object(D.jsx)(p.a,{checked:r,onChange:n}),label:c,labelPlacement:"start",sx:{justifyContent:"space-between",mx:0}}),v&&Object(D.jsx)(V,{message:v})]})}}):Object(D.jsx)(b.a,{control:r,name:n,render:function(n){var r=n.field,i=r.onChange,o=r.onBlur,d=r.value,u=r.ref;n.fieldState.isTouched;return Object(D.jsxs)(D.Fragment,{children:[Object(D.jsx)(s.a,Object(a.a)(Object(a.a)(Object(a.a)({},e),{},{label:c?"".concat(c||m," ").concat(E?"*":""):null,type:t,onChange:i,onBlur:o,value:d,inputRef:u,fullWidth:g,multiline:L,disabled:_},W&&{rows:W}),{},{InputProps:{endAdornment:(null===d||void 0===d?void 0:d.length)>0&&Object(D.jsx)(l.a,{onClick:function(){return i({target:{value:""}})},sx:{mr:.5},children:Object(D.jsx)(U.a,{})})},sx:z})),v&&Object(D.jsx)(V,{message:v})]})}})}},337:function(e,t,n){"use strict";n.d(t,"b",(function(){return o})),n.d(t,"a",(function(){return s}));var a=n(2),r=n(74),i=n(60),c=n(1),o=function(e,t,n,a,i,c,o,s,l){return{weekly:{enabled:Object(r.a)(e),time:Object(r.a)(t),weekday:Object(r.a)(n),recipient:Object(r.a)(a)},daily:{enabled:Object(r.a)(i),time:Object(r.a)(c),recipient:Object(r.a)(o)},forecastAlert:{enabled:Object(r.a)(s),recipient:Object(r.a)(l)}}},s=n.n(c).a.createContext({});t.c=function(e,t){switch(t.type){case i.a.SET_WEEKLY_EMAIL_ENABLED:return Object(a.a)(Object(a.a)({},e),{},{weekly:Object(a.a)(Object(a.a)({},e.weekly),{},{enabled:Object(r.c)(e.weekly.enabled,t.value)})});case i.a.SAVE_WEEKLY_EMAIL_ENABLED:return Object(a.a)(Object(a.a)({},e),{},{weekly:Object(a.a)(Object(a.a)({},e.weekly),{},{enabled:Object(r.b)(e.weekly.enabled)})});case i.a.SET_WEEKLY_EMAIL_TIME:return Object(a.a)(Object(a.a)({},e),{},{weekly:Object(a.a)(Object(a.a)({},e.weekly),{},{time:Object(r.c)(e.weekly.time,t.value)})});case i.a.SAVE_WEEKLY_EMAIL_TIME:return Object(a.a)(Object(a.a)({},e),{},{weekly:Object(a.a)(Object(a.a)({},e.weekly),{},{time:Object(r.b)(e.weekly.time)})});case i.a.SET_WEEKLY_EMAIL_DAY:return Object(a.a)(Object(a.a)({},e),{},{weekly:Object(a.a)(Object(a.a)({},e.weekly),{},{weekday:Object(r.c)(e.weekly.weekday,t.value)})});case i.a.SAVE_WEEKLY_EMAIL_DAY:return Object(a.a)(Object(a.a)({},e),{},{weekly:Object(a.a)(Object(a.a)({},e.weekly),{},{weekday:Object(r.b)(e.weekly.weekday)})});case i.a.SET_WEEKLY_EMAIL_RECIPIENT:return Object(a.a)(Object(a.a)({},e),{},{weekly:Object(a.a)(Object(a.a)({},e.weekly),{},{recipient:Object(r.c)(e.weekly.recipient,t.value)})});case i.a.SAVE_WEEKLY_EMAIL_RECIPIENT:return Object(a.a)(Object(a.a)({},e),{},{weekly:Object(a.a)(Object(a.a)({},e.weekly),{},{recipient:Object(r.b)(e.weekly.recipient)})});case i.a.SET_DAILY_EMAIL_ENABLED:return Object(a.a)(Object(a.a)({},e),{},{daily:Object(a.a)(Object(a.a)({},e.daily),{},{enabled:Object(r.c)(e.daily.enabled,t.value)})});case i.a.SAVE_DAILY_EMAIL_ENABLED:return Object(a.a)(Object(a.a)({},e),{},{daily:Object(a.a)(Object(a.a)({},e.daily),{},{enabled:Object(r.b)(e.daily.enabled)})});case i.a.SET_DAILY_EMAIL_TIME:return Object(a.a)(Object(a.a)({},e),{},{daily:Object(a.a)(Object(a.a)({},e.daily),{},{time:Object(r.c)(e.daily.time,t.value)})});case i.a.SAVE_DAILY_EMAIL_TIME:return Object(a.a)(Object(a.a)({},e),{},{daily:Object(a.a)(Object(a.a)({},e.daily),{},{time:Object(r.b)(e.daily.time)})});case i.a.SET_DAILY_EMAIL_RECIPIENT:return Object(a.a)(Object(a.a)({},e),{},{daily:Object(a.a)(Object(a.a)({},e.daily),{},{recipient:Object(r.c)(e.daily.recipient,t.value)})});case i.a.SAVE_DAILY_EMAIL_RECIPIENT:return Object(a.a)(Object(a.a)({},e),{},{daily:Object(a.a)(Object(a.a)({},e.daily),{},{recipient:Object(r.b)(e.daily.recipient)})});case i.a.SET_FORECAST_ALERT_ENABLED:return Object(a.a)(Object(a.a)({},e),{},{forecastAlert:Object(a.a)(Object(a.a)({},e.forecastAlert),{},{enabled:Object(r.c)(e.forecastAlert.enabled,t.value)})});case i.a.SAVE_FORECAST_ALERT_ENABLED:return Object(a.a)(Object(a.a)({},e),{},{forecastAlert:Object(a.a)(Object(a.a)({},e.forecastAlert),{},{enabled:Object(r.b)(e.forecastAlert.enabled)})});case i.a.SET_FORECAST_ALERT_RECIPIENT:return Object(a.a)(Object(a.a)({},e),{},{forecastAlert:Object(a.a)(Object(a.a)({},e.forecastAlert),{},{recipient:Object(r.c)(e.forecastAlert.recipient,t.value)})});case i.a.SAVE_FORECAST_ALERT_RECIPIENT:return Object(a.a)(Object(a.a)({},e),{},{forecastAlert:Object(a.a)(Object(a.a)({},e.forecastAlert),{},{recipient:Object(r.b)(e.forecastAlert.recipient)})});default:return e}}},34:function(e,t,n){"use strict";n.d(t,"a",(function(){return c})),n.d(t,"b",(function(){return o})),n.d(t,"c",(function(){return s}));var a=n(3),r=n(113),i=n(18),c=function(e,t){var n,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],c=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[],o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:[],s=arguments.length>5&&void 0!==arguments[5]?arguments[5]:[],l=new URLSearchParams(e),d=[],u=Object(r.a)(t);try{for(u.s();!(n=u.n()).done;){var p=n.value,b=s.includes(p)?l.getAll(p):l.get(p);if(b){var j=a.includes(p)?"null"!==b?new Date(Object(i.d)(new Date(b))):null:c.includes(p)?"true"===b:o.includes(p)?+b:b;d.push({key:p,value:j})}}}catch(m){u.e(m)}finally{u.f()}return Object.fromEntries(d.map((function(e){return[e.key,e.value]})))},o=function(e,t,n){var a,r,i,c=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=c.multiple,s=void 0!==o&&o,l=new URLSearchParams(e),d=s?(null===(a=l.getAll(t))||void 0===a?void 0:a.length)>0?l.getAll(t):Array.isArray(n)&&n.length>0?n:[]:null!==(r=null!==(i=l.get(t))&&void 0!==i?i:n)&&void 0!==r?r:null;return d},s=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{replace:!1,deleteFalsy:!1},r=n.replace,i=n.deleteFalsy,c=new URLSearchParams(e.location.search);Object.entries(t).map((function(e){var t=Object(a.a)(e,2),n=t[0],r=t[1];i&&(Array.isArray(r)&&0===r.length||0===(null===r||void 0===r?void 0:r.length)||[null,""].includes(r))?c.delete(n):Array.isArray(r)?(c.delete(n),r.forEach((function(e){return c.append(n,e)}))):c.set(n,r)})),r?e.replace("".concat(e.location.pathname,"?").concat(c.toString())):e.push("".concat(e.location.pathname,"?").concat(c.toString()))}},35:function(e,t,n){"use strict";n.d(t,"b",(function(){return j})),n.d(t,"c",(function(){return m})),n.d(t,"a",(function(){return f})),n.d(t,"d",(function(){return x})),n.d(t,"i",(function(){return y})),n.d(t,"e",(function(){return C})),n.d(t,"g",(function(){return A})),n.d(t,"h",(function(){return w})),n.d(t,"f",(function(){return S}));var a,r=n(6),i=n(12),c=n(5),o=n.n(c),s=n(10),l=n(39),d=n(42),u=n(4),p=n(8),b=Object.freeze({rawItems:[],items:[],fetchStatus:p.a.statuses.NULL,pipelinesForRecord:{items:[],itemsFor:null,fetchStatus:p.a.statuses.NULL},addOrRemoveFromPipelines:{postFetchStatus:p.a.statuses.NULL}}),j=Object(d.b)("pipelines/getPipelines",function(){var e=Object(s.a)(o.a.mark((function e(t,n){var a;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,l.a.get(Object(u.f)("/api/pipeline",{useDedicatedEnvironment:!0}),Object(u.c)(t));case 2:return a=e.sent,e.abrupt("return",null===a||void 0===a?void 0:a.data);case 4:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}()),m=Object(d.b)("pipelines/getPipelinesForRecord",function(){var e=Object(s.a)(o.a.mark((function e(t,n){var a,r,i,c;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=t.context,r=t.table,i=t.recordId,e.next=3,l.a.get(Object(u.f)("/api/".concat("forecasts"===r?"businessforecast":"contracts"===r?"Contract":"Grant","/").concat(i,"/pipelines"),{useDedicatedEnvironment:!0}),Object(u.c)(a));case 3:return c=e.sent,e.abrupt("return",null===c||void 0===c?void 0:c.data);case 5:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}()),f=Object(d.b)("pipelines/addToPipelines",function(){var e=Object(s.a)(o.a.mark((function e(t,n){var a,r,c,d;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=t.context,r=t.sourceTable,c=t.forecastPipelineIdsToAdd,d=t.forecastPipelineIdsToRemove,e.next=3,Promise.all([].concat(Object(i.a)("forecast"!==r?c.map(function(){var e=Object(s.a)(o.a.mark((function e(t){return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,O(a,r,t.pipelineId,t.forecastId);case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()):[l.a.post(Object(u.f)("/api/Pipeline/forecast",{useDedicatedEnvironment:!0}),{records:c},Object(u.b)(a)).then((function(e){var t;return null!==(t=null===e||void 0===e?void 0:e.data)&&void 0!==t?t:null}))]),Object(i.a)(d.map(function(){var e=Object(s.a)(o.a.mark((function e(t){return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,g(a,r,t.pipelineId,t.forecastId);case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()))));case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}()),h=Object(d.c)({name:"pipelines",initialState:b,reducers:{updatePipelines:function(e,t){var n,a=null!==(n=t.payload.fetchStatus)&&void 0!==n?n:p.a.statuses.DONE;e.items=t.payload.pipelines,e.rawItems=[],e.fetchStatus=a},setPipelinesForRecordFor:function(e,t){e.pipelinesForRecord.itemsFor=t.payload},resetPipelinesForRecord:function(e){e.pipelinesForRecord=b.pipelinesForRecord},resetAddOrRemoveFromPipelinesStatus:function(e){e.addOrRemoveFromPipelines=b.addOrRemoveFromPipelines},resetPipelinesState:function(e){e.items=b.items,e.rawItems=b.rawItems,e.fetchStatus=b.fetchStatus}},extraReducers:(a={},Object(r.a)(a,j.pending,(function(e,t){e.fetchStatus=p.a.statuses.FETCHING})),Object(r.a)(a,j.fulfilled,(function(e,t){e.rawItems=t.payload.filter((function(e){return"Admin"===e.pipelineUserRole})),e.fetchStatus=p.a.statuses.HALF_DONE})),Object(r.a)(a,j.rejected,(function(e,t){e.fetchStatus=p.a.statuses.ERROR})),Object(r.a)(a,m.pending,(function(e,t){e.pipelinesForRecord.fetchStatus=p.a.statuses.FETCHING})),Object(r.a)(a,m.fulfilled,(function(e,t){e.pipelinesForRecord.items=t.payload,e.pipelinesForRecord.fetchStatus=p.a.statuses.DONE})),Object(r.a)(a,m.rejected,(function(e,t){e.pipelinesForRecord.fetchStatus=p.a.statuses.ERROR})),Object(r.a)(a,f.pending,(function(e,t){e.addOrRemoveFromPipelines.postFetchStatus=p.a.statuses.FETCHING})),Object(r.a)(a,f.fulfilled,(function(e,t){e.addOrRemoveFromPipelines.postFetchStatus=p.a.statuses.DONE})),Object(r.a)(a,f.rejected,(function(e,t){e.addOrRemoveFromPipelines.postFetchStatus=p.a.statuses.ERROR})),a)}),O=function(){var e=Object(s.a)(o.a.mark((function e(t,n,a,r){var i,c;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,l.a.post(Object(u.f)("/api/pipeline/".concat(a,"/").concat(n,"/").concat(r),{useDedicatedEnvironment:!0}),null,Object(u.b)(t));case 2:return c=e.sent,e.abrupt("return",null!==(i=null===c||void 0===c?void 0:c.data)&&void 0!==i?i:null);case 4:case"end":return e.stop()}}),e)})));return function(t,n,a,r){return e.apply(this,arguments)}}(),g=function(){var e=Object(s.a)(o.a.mark((function e(t,n,a,r){var i,c;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,l.a.delete(Object(u.f)("/api/pipeline/".concat(a,"/").concat(n,"/").concat(r),{useDedicatedEnvironment:!0}),Object(u.b)(t));case 2:return c=e.sent,e.abrupt("return",null!==(i=null===c||void 0===c?void 0:c.data)&&void 0!==i?i:null);case 4:case"end":return e.stop()}}),e)})));return function(t,n,a,r){return e.apply(this,arguments)}}(),x=h.reducer,v=h.actions,y=v.updatePipelines,C=v.resetAddOrRemoveFromPipelinesStatus,A=v.resetPipelinesState,w=v.setPipelinesForRecordFor,S=v.resetPipelinesForRecord},352:function(e,t,n){"use strict";n.r(t),t.default="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASYAAAEtCAYAAAClA80ZAAAACXBIWXMAAAsSAAALEgHS3X78AAAUEElEQVR4nO3dT24byRXH8Zogexm8gJwT2LPkysoJzPACpk8wnBOM5gShT2BqHzDUCSKtuIx4A+sChAkE2SroyeO4h+b/rnrvVdX3AxCZDBKr1Wz/+lX166ofXl5eAgB48me+DX9Ws/6rEMLbHQf2Wj4bDzv+N197w8VTRacLBaJiUtYKnddbn+bfv4l8NOsQwiakmhD7Kv/9S2+4+OL6RKFqBFNCq1m/CZwbCaAbCaQrR4f42ISUhNVTb7jYVYEB6gimiFaz/lsJoM3HUwid6lGCqgm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3ezGN/tKGx7I9GOR4CUUQLiCJaQBTRAqKIFhBFtIAoogVEES0gimgBUUQLiCJaQBTRAqKIFhBFtIAoogVEES0gimgBUUQLiCJaQBTRAqKIFhBFtIAoogVEES0gimgBUUQLiCJaQBTRAqKIFhBFtIAoogVEES0gimgBUUQLiCJaQJRdjtZ5A3P4kW3N7/2Wxn2Iq6q62NBY9kej9nb1B++G6WQe+w8NTOUul90wbWVTdsN0PI/92TbGfoCLbpg2Ei37o107G636tDFXDUyjOa7LJ65Dm7zTAqKIFhBFtIAoogVEES0gimgBUUQLiCJaQBTRAqKIFhBFtIAoogVEES0gimgBUUQLiCJaQBTRAqKIFhBFtIAoogVEES0gimgBUUQLiCJaQBTRAqKIFhBFtIAoogVEES0gimgBUUQLiCJaQBTRAqKIFhBFtIAoogVEES0gimgBUUQLiLL3BJP9cx77P20D4Cl40gKiiBYQRbSAKKIFRBEtIIpoAVFEC4giWkAU0QKiiBYQZYnWpSUDQlws0Tq3WkCAq26YLp53w7Sqqn+sGNC4D/XFO60zqwU07qZTt9E69bQFNOz9+lT4KVrdMC0v418vZ0arBjTmY1Wd3E7p81ceumFaXsgfCRfQkCVYR+sHqxvPrq+vv5rePPYv12fHf1k5YIv+0w3T22+H/y5at+axP6yq46o6FDBgA5ZT3nLiWz4lPPvy6eqzqvofNOkrC8BdKmgAAAAASUVORK5CYII="},37:function(e,t,n){"use strict";n.d(t,"a",(function(){return b})),n.d(t,"b",(function(){return j})),n.d(t,"e",(function(){return m})),n.d(t,"f",(function(){return g})),n.d(t,"d",(function(){return x})),n.d(t,"c",(function(){return v}));var a=n(2),r=n(5),i=n.n(r),c=n(10),o=n(180),s=n(661),l=n.n(s),d=n(39),u=n(4),p=n(18),b=32766,j=function(e,t,n){return{name:e,ref:"A1",columns:t,rows:n}},m=function(){var e=Object(c.a)(i.a.mark((function e(t,n,a){var r,c,o,s,d,u,p;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:for(r=new l.a.Workbook,c=r.addWorksheet(t),o=c.addTable(a),s=o.table,d=1;d<=a.columns.length;d++)(u=c.getColumn(d)).width=O(u,s.columns[d-1].name),u.alignment={wrapText:!0};return e.next=6,r.xlsx.writeBuffer();case 6:p=e.sent,h(p,n);case 8:case"end":return e.stop()}}),e)})));return function(t,n,a){return e.apply(this,arguments)}}(),f=function(e,t){var n=window.URL.createObjectURL(new Blob([e])),a=document.createElement("a");a.href=n,a.setAttribute("download","".concat(t,".xlsx")),document.body.appendChild(a),a.click()},h=function(e,t){Promise.resolve().then(n.t.bind(null,180,7)).then((function(){var n=new Blob([e],{type:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet;charset=UTF-8"});Object(o.saveAs)(n,t+".xlsx")}))},O=function(e,t){var n=15;return e.eachCell((function(e){return n=Math.max(n,Math.min(e.text.length,60))})),Math.max(n,15)},g=function(e,t){if(null===e)return[""];for(var n=Math.ceil(e.length/t),a=new Array(n),r=0,i=0;r10?r.getDate():"0"+r.getDate(),"-").concat(r.getMonth()+1>=10?r.getMonth()+1:"0"+(r.getMonth()+1),"-").concat(r.getFullYear()),l="".concat(n.getDate()+1>10?n.getDate():"0"+n.getDate(),"-").concat(n.getMonth()+1>=10?n.getMonth()+1:"0"+(n.getMonth()+1),"-").concat(n.getFullYear()),e.prev=2,e.next=5,d.a.post(Object(u.f)("/api/pipeline/downloadopportunities",{useDedicatedEnvironment:!0}),{start:Object(p.d)(r),end:Object(p.d)(n,!1,!0,"T11:00:00+00:00"),pipelineIds:c,username:o},Object(a.a)(Object(a.a)({},Object(u.b)(t)),{},{responseType:"blob"}));case 5:b=e.sent,j=b.data,f(j,1===c.length?"Aidkonekt_pipeline_#".concat(c[0],"_").concat(s,"_").concat(l):"Aidkonekt_pipelines_".concat(s,"_").concat(l)),e.next=13;break;case 10:throw e.prev=10,e.t0=e.catch(2),new Error(e.t0);case 13:case"end":return e.stop()}}),e,null,[[2,10]])})));return function(t,n,a,r,i){return e.apply(this,arguments)}}()},382:function(e,t,n){"use strict";n.r(t),t.default=n.p+"static/media/AddToPipeline.d8e2f743.png"},392:function(e,t,n){"use strict";n.r(t),t.default="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQQAAAE0CAYAAADKck2nAAAACXBIWXMAAAsSAAALEgHS3X78AAAcN0lEQVR4nO2d3VUcSbaFY3rNO7o4ANcC0Y/1BG2BGBwQskC0BQILBBYIHKgGCxqeeBRlwYADdVUW6K6gd0JSqp/MyohzTpzY31qsntUzQ2UlmTvO//nXz58/A/HJdDzaDSHszn25g55f9kcI4WHu3z1sH93/4GPjDwpCgUzHo3chhL0Qwvw/AwRgR/BbPYUQHvGfb/HPKCA/to/ub1f8/4hBKAiGmY5He3jB91ov/n6BX+UOovEI0XjcPrp/7PD/I8JQEIyAl7/9U+KL34cZLInm55YioQ8FQYnpeHQAf/4AIrBV5Y14ywwWRCMQdDmEoSAIMScA3k//lER34xoCMR/cJImhIGQCgb9D/BzQAkjCDOLQCAQzHYmhICQEab4oAMchhPduvphdblriwPhDAigIA6EImGESQjiPAkHLYXMoCBvQcgeOGQ8wyQ2E4bL2G9EXCkIPEBg8hhgwJmCfJuZwzoBkNygIa4A1EEXgRLgCkKRlAmGg1bACCsISEBs4pTXgjhliDZcMRP4KBWEOuAXRGvhg6sJIDq7oTryFggCm49EhhIBBwvqIxU+nrIykIEQhOIZrwPgAqV4YqhUEuAaXFAKygGqFoTpBgBCc0jUgHYjCcFxT8LEaQUDW4JJCQDbgChaDe2FwLwioI4gWwWcDl0PKZYaMxKnnv6FrQUDA8Jx1BCQhcWTcyfbR/bXHm+pSEDB96JzuAcnIDYTBlRvhShDgHsRagi8GLof4Z4bYwrmXb+pGEJhGJIpMkI0ovuKxeEFg0JAY4qz0oGPRgoBYwSUHk6ykvTchLFm8sor5xS4cCLuaomsXihWE6Xh0yljByyjzx7mfHxLmK9y0gN0R7Z/aRWOGgGNxrdbFCQJchOsKMwh3rR0Gj9bLalvbpdrLZmr7m11BGIoZ6VaUIOBEuq7g9Jm09hM8e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FajHPd7QrTASpzZJMCHqGpCQpX1PDOIFtiIsXP0wGMuSawmpUzRgGiBVjizSeROcUJVB6IFOuFoFE5OVKlf/LkqfagiRAtshTOPl0fiDPYrqlGpz2G3DEQL7ITB0429UkVTVxRNYb7+GiBaYGfg8dqay5pIIZpqCUQLsOFsFE4KrmsihWPWtgSiBdiBx+sBiJQAEC0gRmE2iViTuoFIyQPRAuKQeA0zGxEzb4gUalJKQLSAGmSTOHcqXpUF4QbdvbRAtIA6DtLGZUOgkOoZAqIFkkHidW7giP/rWqp3gyjKNhAtkBzqNkbxOlPwec1IoG5Qi/IJRAuYYjHun4QQqp9dBWzeECikeRkA0QJmIQE76jD7vUrzJpTmFb2xOFcgWsAN5Lg/XHG9d0jzCiGE8P9oOBqWqPfHfgAAAABJRU5ErkJggg=="},394:function(e,t,n){"use strict";n.r(t),t.default="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAATEAAAEvCAYAAAAtufaDAAAACXBIWXMAAAsSAAALEgHS3X78AAARGUlEQVR4nO3dPW9byRXG8bGRLgHiJdLbqVNYQJpltdwPECxDpF+7ThHlGyjfQAukF/cDLGED6VeuWAVrFakj9VlCArZXcOmhRb2QvHPfznlm/j/A2GahK3N8nztn7vDMs9vb24A8rBbjVyGESQih+u9RCOFFCOE6hPAxhHAZQjgfzZaXDLcPq8V4EsfrRRyvEMfqOo7VeemfUR2EmLjVYlzdAG9CCMchhJc1/jZXIYTTEMJ8NFtel/75DS0GVzVe39a89PdxrAi0HQgxYavF+E0MpN82+FvchBBORrPlaemf4xDiLHkeQviq4eU+VOHHTPoxQkxQnH1VN8Q3Hfz21c0xZVbWn9ViPI3j1eRhs6168ByPZsu5wF97MISYmBhgVWnxusPf/KJamyHIuhdny2cd/+C3BNmd515+ERzWU4CF+PPO489HR3oKsMpZ/NnFC4SYnHkPAbbxOv58dGC1GB/1FGAbZ/EaxSPERMR1lS7WwPb5hid8Z4Z4IBT/0AmEmJSh3iKeZPJ5mYkPgr5mzNte89Ah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kJ75ZwOR2jBDfK09eKIc/Mi/10GIrTgFvk68i8POD9/X6w2Q+yq5xJbHmCH7XrZTVz/2PHH/nOx2ijfR2DSgh3yB55/6Ar2G/5kd//E/xBY4zFpwYG26+XFtbHy8pExpZT+Hxf1NDWhDJjAAAAAAElFTkSuQmCC"},4:function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return o})),n.d(t,"f",(function(){return l})),n.d(t,"e",(function(){return d})),n.d(t,"c",(function(){return s}));var a=n(2),r={API:{endpoints:[{name:"BackendWebAPI",endpoint:"https://wduqw5xnr2.execute-api.us-east-1.amazonaws.com/Prod"},{name:"LocalTest",endpoint:"https://localhost:44336"},{name:"BackendWebAPIDev",endpoint:"https://uesu3rp516.execute-api.us-east-1.amazonaws.com/Prod"},{name:"EmailerDev",endpoint:"https://e6vbqzhtb2.execute-api.us-east-1.amazonaws.com/dev/"},{name:"EmailerProd",endpoint:"https://qq1foqfw8c.execute-api.us-east-1.amazonaws.com/prod/"}],dedicatedEndpoints:[{name:"LocalTest",endpoint:"https://localhost:44327"},{name:"BackendWebAPI",endpoint:"https://api.aidkonekt.com"},{name:"BackendWebAPIDev",endpoint:"https://devapi.aidkonekt.com"}]}},i=Object({NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0,REACT_APP_STAGE:"prod"}).REACT_APP_LOCAL_API?"LocalTest":"BackendWebAPI",c=Object({NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0,REACT_APP_STAGE:"prod"}).REACT_APP_LOCAL_API?"EmailerDev":"EmailerProd",o=function(e,t){var n,r,i,c,o,s,l={};t&&t.additionalHeaders&&(l=Object(a.a)({},t.additionalHeaders));var d=null;t&&t.body&&(d=JSON.stringify(t.body));var u=null!==(n=null===e||void 0===e||null===(r=e.user)||void 0===r?void 0:r.jwt)&&void 0!==n?n:null,p=null!==(i=null===e||void 0===e||null===(c=e.user)||void 0===c?void 0:c.idToken)&&void 0!==i?i:null,b=null!==(o=null===e||void 0===e||null===(s=e.user)||void 0===s?void 0:s.konektidToken)&&void 0!==o?o:null;return u?{headers:Object(a.a)({Authorization:u,AccessToken:p,X_Konektid_Authorization:b},l),body:d}:void 0},s=function(e){var t,n,a,r,i,c,o=null!==(t=null===e||void 0===e||null===(n=e.user)||void 0===n?void 0:n.jwt)&&void 0!==t?t:null,s=null!==(a=null===e||void 0===e||null===(r=e.user)||void 0===r?void 0:r.accessToken)&&void 0!==a?a:null,l=null!==(i=null===e||void 0===e||null===(c=e.user)||void 0===c?void 0:c.konektidToken)&&void 0!==i?i:null;return o?{headers:{Authorization:o,AccessToken:s,X_Konektid_Authorization:l}}:void 0},l=function(e,t){var n,a=function(e){var t=(e?r.API.dedicatedEndpoints:r.API.endpoints).find((function(e){return e.name===i}));if(!t)throw new Error("unable to find API for "+i);return t.endpoint}(null!==(n=null===t||void 0===t?void 0:t.useDedicatedEnvironment)&&void 0!==n&&n);return"".concat(a).concat(e)},d=function(e){var t=function(){var e=r.API.endpoints.find((function(e){return e.name===c}));if(!e)throw new Error("unable to find API for "+c);return e.endpoint}();return"".concat(t).concat(e)};t.d=r},40:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var a=n(1),r=n(64),i=function(){var e,t=a.useContext(r.a),i={font:t.v2Fonts.contextHeader,color:t.v2.lightGrey},c={font:t.v2Fonts.inputHeader,borderRadius:25},o={borderRadius:10,backgroundColor:t.v2.lightGrey,font:t.v2Fonts.inputHeader,color:t.v2.black,maxWidth:200},s={backgroundColor:t.v2.lightGrey,color:t.v2.black,font:t.v2Fonts.inputHeader,borderRadius:25,boxShadow:"none"},l={position:"relative",top:-18,right:12,padding:"2px 6px",borderRadius:"50%",background:t.v2.darkBlue,color:"white",fontSize:10},d={backgroundColor:t.v2.darkBlue,color:"black",font:"bold 10px Roboto",height:19,width:19,marginRight:5},u={border:"3px solid ".concat(t.v2.darkBlue)},p={font:t.v2Fonts.largeHeader,color:t.v2.black,textAlign:"left",display:"flex",alignItems:"center"},b={width:30,height:30,marginRight:5},j={width:25,marginRight:b.margin},m={backgroundColor:t.v2.darkBlue,color:t.v2.darkYellow,font:t.v2Fonts.inputHeader,paddingTop:20,paddingBottom:20,paddingLeft:50,paddingRight:50,borderRadius:25},f={font:t.v2Fonts.context,color:t.v2.black,textAlign:"left",marginBottom:15},h={font:t.v2Fonts.context,color:t.v2.black,margin:10,paddingTop:8,paddingBottom:8,borderRadius:25},O={borderColor:t.v2.lightYellow,borderRadius:25,borderStyle:"solid",borderWidth:3,paddingLeft:35,paddingRight:35,marginRight:35,marginTop:15},g={backgroundColor:t.v2.darkYellow,borderRadius:65},x={color:"white",font:t.v2Fonts.link,textTransform:"none",padding:"0px 30px"},v={paddingLeft:10,paddingTop:3,font:t.v2Fonts.input},y={borderRadius:4,font:t.v2Fonts.input,width:"100%",borderColor:"hsl(0, 0%, 80%)",borderStyle:"solid",borderWidth:1,height:38,display:"block"};return{gridHeaderBold:i,gridInput:c,keywordSearch:o,tableHeaderButton:s,mySuggestionsOptions:function(e,n){var a="blue"===n?t.v2.lightBlue:t.v2.lightYellow;return{backgroundColor:e?a:"transparent",color:t.v2.black,font:t.v2Fonts.inputHeader,borderRadius:5,boxShadow:"none",borderStyle:"solid",borderColor:a}},mySuggestionsBadge:l,mySuggestionsRedBadge:{position:"relative",top:-22,right:18,padding:"2px 6px",borderRadius:"50%",background:"red",color:"white",fontSize:10},mySuggestionsTransparent:{position:"relative",top:-22,right:18,padding:"2px 6px",borderRadius:"50%",background:"transparent",color:"white",fontSize:10},headerStyle:function(e){return{backgroundColor:t.v2.darkestGrey,width:e,font:t.v2Fonts.contextHeader,color:t.v2.lightGrey}},columnStyle:function(e){return{width:e}},rowStyle:function(e){return{width:e,textTransform:"capitalize",textAlign:"left",paddingLeft:"5px"}},addRemoveButtonStyle:{width:25,height:25,padding:0,borderRadius:"none",backgroundColor:"transparent",cursor:"pointer"},navigateToExternalSiteButtonStyle:{width:25,height:25,padding:0,borderRadius:"none",backgroundColor:"transparent"},goToExternalVersionStyle:d,primeColumnStyle:u,pageHeader:p,aidkonektIcon:null===(e=n(236))||void 0===e?void 0:e.default,icon:b,iconFile:j,pageButton:m,sectionSubheader:f,centeredSectionSubheader:h,filters:{panelTopRow:{position:"relative",top:-60},filterBox:O,notTopFilterRow:{marginTop:5},fontHeader:{color:"black"},searchButton:g,searchButtonText:x,searchButtonContainer:{textAlign:"left"},inputTextLabel:v,inputBox:y},theme:t}}},417:function(e){e.exports=JSON.parse('{"a":"2.34.0"}')},423:function(e,t,n){"use strict";n.d(t,"a",(function(){return m})),n.d(t,"b",(function(){return h}));var a,r=n(6),i=n(5),c=n.n(i),o=n(2),s=n(10),l=n(39),d=n(42),u=n(4),p=n(8),b=n(53),j=Object.freeze({items:[],fetchStatus:p.a.statuses.NULL,total:0,lastUpdatedUtc:null,attributes:{},dropdownOptions:{country:{items:[],fetchStatus:p.a.statuses.NULL},technicalSector:{items:[],fetchStatus:p.a.statuses.NULL},authoringOrg:{items:[],fetchStatus:p.a.statuses.NULL},fetchStatus:p.a.statuses.NULL}}),m=Object(d.b)("ecd/getECDData",function(){var e=Object(s.a)(c.a.mark((function e(t,n){var a,r,i,s;return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.context,i=t.params,e.next=3,l.a.get(Object(u.f)("/api/ecd".concat(Object(b.a)(Object(o.a)({},i))),{useDedicatedEnvironment:!0}),Object(u.b)(r));case 3:return s=e.sent,e.abrupt("return",null!==(a=null===s||void 0===s?void 0:s.data)&&void 0!==a?a:[]);case 5:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}()),f=Object(d.c)({name:"ecd",initialState:j,reducers:{resetReportsItems:function(e){e.items=j.items,e.total=j.total,e.fetchStatus=j.fetchStatus}},extraReducers:(a={},Object(r.a)(a,m.pending,(function(e,t){e.fetchStatus=p.a.statuses.FETCHING})),Object(r.a)(a,m.fulfilled,(function(e,t){var n=t.payload,a=n.attributes,r=n.data,i=n.lastUpdatedUtc,c=n.totalItems;e.items=r,e.total=c,e.lastUpdatedUtc=i,e.attributes=a,e.fetchStatus=p.a.statuses.DONE})),Object(r.a)(a,m.rejected,(function(e,t){e.fetchStatus=p.a.statuses.ERROR})),a)}),h=f.reducer;f.actions.resetReportsItems},448:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var a=n(66),r=n(0),i=Object(a.a)(Object(r.jsx)("svg",{width:"14",height:"12",viewBox:"0 0 14 12",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:Object(r.jsx)("path",{d:"M11.6667 2H9.66666V1.33333C9.66666 0.979711 9.52619 0.640573 9.27614 0.390524C9.02609 0.140476 8.68695 0 8.33333 0H5.66666C5.31304 0 4.9739 0.140476 4.72385 0.390524C4.4738 0.640573 4.33333 0.979711 4.33333 1.33333V2H2.33333C1.8029 2 1.29419 2.21071 0.919115 2.58579C0.544042 2.96086 0.333328 3.46957 0.333328 4V10C0.333328 10.5304 0.544042 11.0391 0.919115 11.4142C1.29419 11.7893 1.8029 12 2.33333 12H11.6667C12.1971 12 12.7058 11.7893 13.0809 11.4142C13.4559 11.0391 13.6667 10.5304 13.6667 10V4C13.6667 3.46957 13.4559 2.96086 13.0809 2.58579C12.7058 2.21071 12.1971 2 11.6667 2ZM5.66666 1.33333H8.33333V2H5.66666V1.33333ZM12.3333 10C12.3333 10.1768 12.2631 10.3464 12.1381 10.4714C12.013 10.5964 11.8435 10.6667 11.6667 10.6667H2.33333C2.15652 10.6667 1.98695 10.5964 1.86192 10.4714C1.7369 10.3464 1.66666 10.1768 1.66666 10V6.26L4.78666 7.33333C4.85745 7.34294 4.92921 7.34294 4.99999 7.33333H8.99999C9.07229 7.332 9.14407 7.32078 9.21333 7.3L12.3333 6.26V10ZM12.3333 4.85333L8.89333 6H5.10666L1.66666 4.85333V4C1.66666 3.82319 1.7369 3.65362 1.86192 3.5286C1.98695 3.40357 2.15652 3.33333 2.33333 3.33333H11.6667C11.8435 3.33333 12.013 3.40357 12.1381 3.5286C12.2631 3.65362 12.3333 3.82319 12.3333 4V4.85333Z"})}),"OfficeBag")},451:function(e,t,n){"use strict";t.a=function(e){return new Promise((function(t,n){var a=new FileReader;a.readAsDataURL(e),a.onload=function(){return t(a.result)},a.onerror=function(e){return n(e)}}))}},456:function(e,t,n){"use strict";n.d(t,"a",(function(){return De}));var a,r,i=n(5),c=n.n(i),o=n(10),s=n(3),l=n(83),d=n(12),u=n(2),p=n(1),b=n(106),j=n(45),m=n(95),f=n(150),h=n(159),O=n(1501),g=n(474),x=n(707),v=n(376),y=n(339),C=n(1364),A=n(1363),w=n(133),S=n(1360),N=n(183),E=n.n(N),I=n(134),D=n(207),F=n.n(D),k=n(206),T=n(30),R=n(8),P=n(117),M=n(316),U=n.n(M),L=n(0),B={addToPipeline:null===(a=n(382))||void 0===a?void 0:a.default},V=function(e){var t=e.onShareClick,n=e.item,a=e.canShare,r=e.isFree,i=e.addToPipelinesOpen,c=(e.setAddToPipelinesOpen,e.handleOpenAddToPipelines),o=e.handleCloseAddToPipelines,s=Object(m.a)(),l=Object(T.c)((function(e){return e.pipelines.pipelinesForRecord})),d=(l.items,l.itemsFor),p=l.fetchStatus;return Object(L.jsxs)(f.a,{sx:Object(u.a)({display:"flex",gap:1,width:"min-content"},!a&&r&&{justifyContent:"center",width:"auto"}),children:[a&&Object(L.jsx)(P.a,{querySelectors:"[data-virtuoso-scroller]",title:"Share",children:Object(L.jsx)(v.a,{color:"primary",sx:{border:"solid 2px",backgroundColor:Object(y.a)(s.palette.primary.main,.1)},onClick:t,children:Object(L.jsx)(F.a,{fontSize:"small",sx:{transform:"scale(-1, 1)",width:"24px",height:"24px"}})})}),!r&&Object(L.jsx)(P.a,{querySelectors:"[data-virtuoso-scroller]",title:"Add to pipeline(s)",tooltipProps:{disableInteractive:!0,disableHoverListener:!!i},children:Object(L.jsx)(x.a,{onClose:o,open:!!i&&i===n.rowId,disableFocusListener:!0,disableHoverListener:!0,disableTouchListener:!0,disableInteractive:!1,PopperProps:{disablePortal:!1,sx:{"&[data-popper-reference-hidden]":{}}},title:Object(L.jsx)(k.a,{handleCloseAddToPipelines:o,item:n,source:"forecast"}),slotProps:{tooltip:{sx:{backgroundColor:"rgb(97,97,97)",minWidth:"350px"}}},children:Object(L.jsx)("span",{children:Object(L.jsxs)(v.a,{sx:Object(u.a)({border:"solid 2px",backgroundColor:0===n.numberIncludedPipelines?Object(y.a)(s.palette.success.main,.1):s.palette.success.main},0!==n.numberIncludedPipelines&&{"&:hover":{backgroundColor:Object(y.a)(s.palette.success.main,.85)}}),color:"success",onClick:function(){return c(n)},children:[Object(L.jsx)("img",{src:B.addToPipeline,alt:"map",style:{width:"26px",height:"26px",marginTop:"2px",filter:0===n.numberIncludedPipelines?"hue-rotate(270deg) brightness(0.8)":"brightness(0) invert(1)"}}),(null===n||void 0===n?void 0:n.numberIncludedPipelines)>0&&Object(L.jsx)(S.a,{sx:{position:"absolute",height:"16px",width:"16px",top:"-8px",right:"-8px",fontSize:"12px",backgroundColor:s.palette.secondary.main},children:null===n||void 0===n?void 0:n.numberIncludedPipelines}),d===n.rowId&&R.a.isFetching(p)&&Object(L.jsx)(f.a,{sx:{position:"absolute",top:"-13px",right:"-10px"},children:Object(L.jsx)(A.a,{size:20,thickness:5})})]})})})}),Object(L.jsx)(P.a,{querySelectors:"[data-virtuoso-scroller]",title:"usaid.gov link",children:Object(L.jsx)(v.a,{sx:{border:"solid 2px",backgroundColor:Object(y.a)(s.palette.primary.main,.1)},color:"primary",component:"a",href:"https://www.usaid.gov/node/".concat(n.id),target:"_blank",rel:"noreferrer noopener",disabled:n.status===I.a.FinalRecord,children:Object(L.jsx)(E.a,{sx:{width:"24px",height:"24px"}})})}),Object(L.jsx)(P.a,{title:"Go to opportunity profile page",querySelectors:"[data-virtuoso-scroller]",children:Object(L.jsx)(v.a,{color:"primary",sx:{border:"solid 2px",backgroundColor:Object(y.a)(s.palette.info.main,.1)},component:"a",href:"/forecast/".concat(null===n||void 0===n?void 0:n.id),target:"_blank",disabled:!(null===n||void 0===n?void 0:n.id),children:Object(L.jsx)(U.a,{fontSize:"small",sx:{width:"24px",height:"24px"}})})})]})},Q=n(62),W=n(9),H=n(251),z=n(243),Y=n(667),G=n.n(Y),K=n(94),q=n(248),X=n(46),Z=n.n(X),J=n(37),_=n(149),$=n(115),ee=n(341),te=n(33),ne=function(e){var t=e.control,n=e.countryOptions,a=e.sectorOptions,r=e.awardActionTypeOptions;e.geoCodesOptions;return Object(L.jsxs)(L.Fragment,{children:[Object(L.jsx)(te.a,{type:"combo-box",withCheckboxes:!0,sx:{"& .MuiFormLabel-root":{fontSize:"0.875em",lineHeight:"1.875em"}},control:t,name:"Countries",label:"OFFICE/COUNTRY",options:n,fullWidth:!0,multiple:!0}),Object(L.jsx)(te.a,{type:"date",sx:{"& .MuiFormLabel-root":{fontSize:"0.875em",lineHeight:"1.875em"}},name:"DateOfChangeAfter",control:t,defaultValue:null,label:"DATE OF CHANGE FROM"}),Object(L.jsx)(te.a,{type:"date",sx:{"& .MuiFormLabel-root":{fontSize:"0.875em",lineHeight:"1.875em"}},name:"DateOfChangeBefore",control:t,label:"DATE OF CHANGE TO"}),Object(L.jsx)(te.a,{control:t,type:"text",sx:{"& .MuiFormLabel-root":{fontSize:"0.875em",lineHeight:"1.875em"}},name:"OpportunityTextKeyword",label:"OPPORTUNITY NAME",fullWidth:!0}),Object(L.jsx)(te.a,{control:t,type:"text",sx:{"& .MuiFormLabel-root":{fontSize:"0.875em",lineHeight:"1.875em"}},name:"OpportunityDescriptionKeyword",label:"DESCRIPTION",fullWidth:!0}),Object(L.jsx)(te.a,{control:t,type:"text",sx:{"& .MuiFormLabel-root":{fontSize:"0.875em",lineHeight:"1.875em"}},name:"SuggestedPrimesKeyword",label:"SUGGESTED PRIMES/PARTNERS",fullWidth:!0}),Object(L.jsx)(te.a,{control:t,type:"text",sx:{"& .MuiFormLabel-root":{fontSize:"0.875em",lineHeight:"1.875em"}},name:"QuarterlyForecastNotesKeyword",label:"QUARTERLY FORECAST Q&A AND NOTES",fullWidth:!0}),Object(L.jsx)(te.a,{type:"combo-box",withCheckboxes:!0,sx:{"& .MuiFormLabel-root":{fontSize:"0.875em",lineHeight:"1.875em"}},control:t,name:"Sectors",label:"SECTOR",options:a,fullWidth:!0,multiple:!0}),Object(L.jsx)(te.a,{type:"combo-box",withCheckboxes:!0,sx:{"& .MuiFormLabel-root":{fontSize:"0.875em",lineHeight:"1.875em"}},control:t,name:"AwardTypes",label:"AWARD/ACTION TYPE",options:r,fullWidth:!0,multiple:!0}),Object(L.jsx)(te.a,{type:"date",sx:{"& .MuiFormLabel-root":{fontSize:"0.875em",lineHeight:"1.875em"}},name:"AnticipatedReleaseDateAfter",control:t,label:"ANTICIPATED RELEASE DATE FROM"}),Object(L.jsx)(te.a,{type:"date",sx:{"& .MuiFormLabel-root":{fontSize:"0.875em",lineHeight:"1.875em"}},name:"AnticipatedReleaseDateBefore",control:t,label:"ANTICIPATED RELEASE DATE TO"}),Object(L.jsx)(te.a,{type:"date",sx:{"& .MuiFormLabel-root":{fontSize:"0.875em",lineHeight:"1.875em"}},name:"AnticipatedAwardDateAfter",control:t,label:"ANTICIPATED AWARD DATE FROM"}),Object(L.jsx)(te.a,{type:"date",sx:{"& .MuiFormLabel-root":{fontSize:"0.875em",lineHeight:"1.875em"}},name:"AnticipatedAwardDateBefore",control:t,label:"ANTICIPATED AWARD DATE TO"})]})},ae=n(324),re=n.n(ae),ie=n(57),ce=n(98),oe=n(114),se=n(35),le=n(315),de=n(703),ue=n(476),pe=n(1357),be=n(124),je=n.n(be),me=n(146),fe=n.n(me),he=function(e){var t=e.itemsIds,n=e.bulkAddToPipelinesModalOpen,a=e.handleCloseBulkAddToPipelinesModal,r=e.pipelines,i=Object(m.a)(),c=Object(T.b)(),o=Object(p.useContext)(W.d),l=Object(T.c)((function(e){return e.pipelines})),u=l.fetchStatus,b=l.addOrRemoveFromPipelines.postFetchStatus,j=R.a.isFetching(b)||R.a.isFetching(u),O=Object(p.useState)([]),g=Object(s.a)(O,2),x=g[0],y=g[1],C=Object(p.useState)([]),A=Object(s.a)(C,2),w=A[0],S=A[1],N=Object(p.useState)(""),E=Object(s.a)(N,2),I=E[0],D=E[1],F=function(e){D(e.target.value),k(e.target.value)},k=Object(p.useCallback)(Object(ie.debounce)((function(e){S(r.filter((function(t){return t.name.includes(e)})))}),0),[r]);return Object(p.useEffect)((function(){R.a.isDone(u)&&y([])}),[u]),Object(p.useEffect)((function(){n?c(Object(se.b)(o)):setTimeout((function(){y([]),S([]),D("")}),250)}),[n]),Object(p.useEffect)((function(){R.a.isDone(u)&&S(r)}),[u]),Object(p.useEffect)((function(){return function(){}}),[]),Object(L.jsx)(K.a,{open:n,handleClose:a,title:"Add to pipeline(s)",acceptLabel:"Save",loading:j,handleAccept:function(){var e=t.map((function(e){return{addedToPipelines:x,removedFromPipelines:[],opportunityId:e}})).map((function(e){return{forecastPipelinesIdsToAdd:e.addedToPipelines.map((function(t){return{forecastId:e.opportunityId,pipelineId:t}})),forecastPipelinesIdsToRemove:e.removedFromPipelines.map((function(t){return{forecastId:e.opportunityId,pipelineId:t}}))}}));c(Object(se.a)({context:o,sourceTable:"forecast",forecastPipelineIdsToAdd:e.map((function(e){return e.forecastPipelinesIdsToAdd})).flat(),forecastPipelineIdsToRemove:[]}))},children:Object(L.jsxs)(f.a,{sx:{display:"flex",flexDirection:"column",gap:"8px",minWidth:"500px"},children:[Object(L.jsxs)(f.a,{sx:{display:"flex",gap:"8px"},children:[Object(L.jsx)(de.a,{size:"small",onChange:F,value:I,placeholder:"".concat(x.length," Pipeline").concat(1===x.length?"":"s"," Selected"),InputProps:{sx:{px:.5},startAdornment:Object(L.jsx)(fe.a,{sx:{color:i.palette.text.secondary}}),endAdornment:I.length>0&&Object(L.jsx)(v.a,{onClick:function(){F({target:{value:""}})},children:Object(L.jsx)(je.a,{})})},fullWidth:!0}),Object(L.jsx)(ee.a,{sx:{width:"200px"},variant:"secondaryContained",onClick:function(){return y([])},children:"Reset selection"})]}),r.length>w.length&&R.a.isDone(u)&&Object(L.jsxs)(h.a,{variant:"subtitle2",color:"textPrimary",children:["Currently showing ",null===w||void 0===w?void 0:w.length," out of"," ",null===r||void 0===r?void 0:r.length," pipelines."]}),Object(L.jsx)(f.a,{sx:{overflowY:"auto",maxHeight:"calc(65vh - 150px)",display:"flex",flexDirection:"column"},children:0===w.length&&R.a.isDone(u)?Object(L.jsx)(h.a,{variant:"subtitle2",color:"textPrimary",children:"No pipelines found"}):w.map((function(e){return Object(L.jsx)(ue.a,{control:Object(L.jsx)(pe.a,{checked:x.includes(e.id),disabled:j,sx:{p:.5,m:0,mx:.5,ml:1},onChange:function(t,n){return a=e.id,void y((function(e){return e.includes(a)?e.filter((function(e){return e!==a})):[].concat(Object(d.a)(e),[a])}));var a}}),label:Object(L.jsx)(f.a,{sx:{display:"flex",gap:"4px",alignItems:"center"},children:Object(L.jsx)(h.a,{variant:"subtitle2",color:"textPrimary",children:e.name})})},null===e||void 0===e?void 0:e.id)}))})]})})},Oe=n(53),ge=n(18),xe=n(457),ve=n(240),ye=n(211),Ce=["page","rowsPerPage","keyword","liveOnly","newOnly","OnlyUntrackedInPipeline","sortOrder","sortField"],Ae={addToPipeline:null===(r=n(382))||void 0===r?void 0:r.default},we={page:0,rowsPerPage:Q.b[0]},Se={sortOrder:0,sortField:""},Ne={keyword:"",liveOnly:!1,newOnly:!1,OnlyUntrackedInPipeline:!1},Ee="forecast-filters-drawer",Ie="admin-edit-form",De="forecastColumnsSettings",Fe={Countries:[],DateOfChangeBefore:null,DateOfChangeAfter:null,OpportunityTextKeyword:"",OpportunityDescriptionKeyword:"",SuggestedPrimesKeyword:"",QuarterlyForecastNotesKeyword:"",Sectors:[],AwardTypes:[],GeographicalCodes:[],AnticipatedReleaseDateBefore:null,AnticipatedReleaseDateAfter:null,AnticipatedAwardDateBefore:null,AnticipatedAwardDateAfter:null},ke={subPrimes:null,quarterlyCallNotes:null,externalLinkHtml:null,externalLinkText:null};t.b=Object(b.i)((function(){var e,t=Object(m.a)(),n=Object(p.useContext)(W.d),a=Object(T.b)(),r=Object(b.g)(),i=Object(T.c)((function(e){return e.forecast})),S=i.items,N=i.total,E=i.totalLiveRecords,D=i.fetchStatus,k=i.lastUpdatedUtc,P=i.saveAdminData.postFetchStatus,M=i.shareOpportunities.postFetchStatus,U=i.dropdownOptions,B=U.fetchStatus,Q=U.contriesOffices,Y=U.sectors,X=U.awardTypes,ae=U.geographicalCodes,de=i.tableSettings,ue=de.columnsOrder,pe=de.fetchStatus,be=Object(T.c)((function(e){return e.pipelines})),je=be.rawItems,me=be.items,fe=be.fetchStatus,Te=be.addOrRemoveFromPipelines.postFetchStatus,Re=Object(T.c)((function(e){return e.pipelines.pipelinesForRecord})),Pe=Re.fetchStatus,Me=Re.itemsFor,Ue=!Object(W.h)(n,W.b.plusOrHigher),Le=Object(W.h)(n,W.b.plusOrHigher),Be=Object(W.h)(n,W.b.proOrHigher),Ve=Le||Be,Qe=Object(W.g)(n,W.a.EditPrimesAndQuarterlyCallInfo),We=function(){var e=new URLSearchParams(r.location.search),t=Object(u.a)(Object(u.a)(Object(u.a)(Object(u.a)({},we),Se),Ne),Fe),n=["liveOnly","newOnly","OnlyUntrackedInPipeline"],a=["page","rowsPerPage","sortOrder"],i=["Countries","Sectors","AwardTypes","GeographicalCodes"];e.forEach((function(e,r){t[r]=n.includes(r)?"true"===e:a.includes(r)?+e:i.includes(r)?[].concat(Object(d.a)(null===t||void 0===t?void 0:t[r]),[{value:e,label:e}]):e}));var c=t.page,o=t.rowsPerPage,s=t.keyword,p=t.liveOnly,b=t.newOnly,j=t.OnlyUntrackedInPipeline,m=t.sortOrder,f=t.sortField,h=Object(l.a)(t,Ce);return{pagination:Ue?{page:0,rowsPerPage:20}:{page:c,rowsPerPage:o},sortOption:Ue?Se:{sortField:f,sortOrder:m},filters:{keyword:Ue?"":s,liveOnly:p,newOnly:b,OnlyUntrackedInPipeline:j},extendedFilters:Ue?Fe:Object(u.a)(Object(u.a)({},Fe),h)}},He=Object(p.useState)([]),ze=Object(s.a)(He,2),Ye=ze[0],Ge=ze[1],Ke=Object(p.useState)(!1),qe=Object(s.a)(Ke,2),Xe=qe[0],Ze=qe[1],Je=Object(p.useState)(We().pagination),_e=Object(s.a)(Je,2),$e=_e[0],et=_e[1],tt=Object(p.useState)(We().sortOption),nt=Object(s.a)(tt,2),at=nt[0],rt=nt[1],it=Object(p.useState)(!1),ct=Object(s.a)(it,2),ot=ct[0],st=ct[1],lt=Object(p.useState)(We().filters),dt=Object(s.a)(lt,2),ut=dt[0],pt=dt[1],bt=Object(p.useState)(Fe),jt=Object(s.a)(bt,2),mt=jt[0],ft=jt[1],ht=Object(p.useState)(""),Ot=Object(s.a)(ht,2),gt=Ot[0],xt=Ot[1],vt=Object(p.useState)(!1),yt=Object(s.a)(vt,2),Ct=yt[0],At=yt[1],wt=Object(p.useState)(null),St=Object(s.a)(wt,2),Nt=St[0],Et=St[1],It=Object(p.useState)(!1),Dt=Object(s.a)(It,2),Ft=Dt[0],kt=Dt[1],Tt=Object(p.useState)(null),Rt=Object(s.a)(Tt,2),Pt=Rt[0],Mt=Rt[1],Ut=Object(p.useState)(!1),Lt=Object(s.a)(Ut,2),Bt=Lt[0],Vt=Lt[1],Qt=Object(p.useState)(!1),Wt=Object(s.a)(Qt,2),Ht=Wt[0],zt=Wt[1],Yt=Object(p.useState)(null),Gt=Object(s.a)(Yt,2),Kt=Gt[0],qt=Gt[1],Xt=Object(p.useState)([]),Zt=Object(s.a)(Xt,2),Jt=Zt[0],_t=Zt[1],$t=Object(p.useState)(!1),en=Object(s.a)($t,2),tn=en[0],nn=en[1],an=Object(p.useState)(null),rn=Object(s.a)(an,2),cn=rn[0],on=rn[1],sn=Object(p.useState)(null),ln=Object(s.a)(sn,2),dn=ln[0],un=ln[1],pn=Object(ce.b)({defaultValues:ke}),bn=pn.control,jn=pn.handleSubmit,mn=pn.getValues,fn=pn.setValue,hn=Object(ce.b)({defaultValues:We().extendedFilters}),On=hn.control,gn=hn.handleSubmit,xn=hn.reset,vn=hn.getValues,yn=function(e,t){return[{propertyName:"actions",label:"Actions",width:e&&!t?170:e||!t?130:115,isSticky:!0,cellAlign:"center",disableModalWithDetails:!0},{propertyName:"status",label:"Status",width:200,isSticky:!0,disableModalWithDetails:!0}]}(Ve,Ue),Cn=function(e){!function(e){"string"===typeof(null===e||void 0===e?void 0:e.primeOrIncumbent)&&fn("subPrimes",null===e||void 0===e?void 0:e.primeOrIncumbent),fn("quarterlyCallNotes",null===e||void 0===e?void 0:e.quarterlyCallNotes),fn("externalLinkHtml",null===e||void 0===e?void 0:e.externalLinkHtml),fn("externalLinkText",null===e||void 0===e?void 0:e.externalLinkText)}(e),kt(!0),Mt(e)},An=function(){kt(!1)},wn=function(){zt(!1)},Sn=function(){nn(!1)},Nn=function(){At(!1),setTimeout((function(){Et(null)}),150)},En=function(){st(!1)},In=function(){En(),setTimeout((function(){xn({Countries:mt.Countries.map((function(e){return{value:e,label:e}})),DateOfChangeBefore:mt.DateOfChangeBefore?new Date(mt.DateOfChangeBefore):null,DateOfChangeAfter:mt.DateOfChangeAfter?new Date(mt.DateOfChangeAfter):null,OpportunityTextKeyword:mt.OpportunityTextKeyword,OpportunityDescriptionKeyword:mt.OpportunityDescriptionKeyword,SuggestedPrimesKeyword:mt.SuggestedPrimesKeyword,QuarterlyForecastNotesKeyword:mt.QuarterlyForecastNotesKeyword,Sectors:mt.Sectors.map((function(e){return{value:e,label:e}})),AwardTypes:mt.AwardTypes.map((function(e){return{value:e,label:e}})),GeographicalCodes:mt.GeographicalCodes.map((function(e){return{value:e,label:e}})),AnticipatedReleaseDateBefore:mt.AnticipatedReleaseDateBefore?new Date(mt.AnticipatedReleaseDateBefore):null,AnticipatedReleaseDateAfter:mt.AnticipatedReleaseDateAfter?new Date(mt.AnticipatedReleaseDateAfter):null,AnticipatedAwardDateBefore:mt.AnticipatedAwardDateBefore?new Date(mt.AnticipatedAwardDateBefore):null,AnticipatedAwardDateAfter:mt.AnticipatedAwardDateAfter?new Date(mt.AnticipatedAwardDateAfter):null})}),150)},Dn=Object(p.useCallback)(Object(ie.debounce)((function(e){pt((function(t){return Object(u.a)(Object(u.a)({},t),{},{keyword:e})}))}),750),[]),Fn=function(){var e=Object(o.a)(c.a.mark((function e(){return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:a(Object(se.i)({pipelines:je}));case 1:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),kn=function(){return Object(u.a)(Object(u.a)({},ut),Object.fromEntries(Object.entries(vn()).map((function(e){var t=Object(s.a)(e,2),n=t[0],a=t[1];return[n,null===a?"":a]})).map((function(e){var t=Object(s.a)(e,2),n=t[0],a=t[1];return[n,Array.isArray(a)?a.map((function(e){return e.value})):"function"===typeof a.getMonth?Object(ge.d)(a,!1,!0,n.toLowerCase().includes("before")?"T11:00:00+00:00":"T00:00:00+00:00"):a]})).filter((function(e){var t=Object(s.a)(e,2),n=(t[0],t[1]);return null!==n&&(null===n||void 0===n?void 0:n.length)>0}))))},Tn=function(e){var t=e.id,r=e.rowId;dn?(Rn(),setTimeout((function(){a(Object(se.h)(r)),a(Object(se.c)({context:n,table:"forecasts",recordId:t}))}),100)):(a(Object(se.h)(r)),a(Object(se.c)({context:n,table:"forecasts",recordId:t})))},Rn=function(){un(null),a(Object(se.h)(null)),a(Object(se.f)())};Object(p.useEffect)((function(){R.a.isDone(Pe)&&null!==Me&&!dn&&un(Me),R.a.isError(Pe)&&Z.a.error("Pipeline data for this row couldn't be loaded. Try again later.")}),[Pe,Me]),Object(p.useEffect)((function(){R.a.isNull(D)||0!==r.location.search.length?a(Object(oe.c)({context:n,params:Object(u.a)(Object(u.a)({pageIndex:$e.page,rowsPerPage:$e.rowsPerPage},at),kn())})):Ze(!0)}),[r.location]),Object(p.useEffect)((function(){Xe&&(et(we),rt(Se),pt(Ne),ft(Fe),xn(Fe),setTimeout((function(){return Ze(!1)}),150))}),[Xe]),Object(p.useEffect)((function(){R.a.isNull(D)||r.push("/forecast".concat(Object(Oe.a)(Object(u.a)(Object(u.a)(Object(u.a)({},$e),at),kn()))))}),[$e.page,$e.rowsPerPage]),Object(p.useEffect)((function(){R.a.isNull(D)||Xe||($e.page>0?et((function(e){return Object(u.a)(Object(u.a)({},e),{},{page:0})})):r.push("/forecast".concat(Object(Oe.a)(Object(u.a)(Object(u.a)(Object(u.a)({},$e),at),kn())))))}),[at.sortOrder,at.sortField,ut.OnlyUntrackedInPipeline,ut.newOnly,ut.liveOnly,ut.keyword,mt,Xe]),Object(p.useEffect)((function(){return a(Object(se.b)(n)),a(Object(le.a)(n)),a(Object(oe.d)({context:n,key:De})),function(){Ge([]),a(Object(oe.j)()),a(Object(oe.h)()),a(Object(oe.i)()),a(Object(se.e)()),a(Object(oe.g)()),a(Object(se.g)()),a(Object(se.f)())}}),[]),Object(p.useEffect)((function(){R.a.isError(D)&&Z.a.error("There was an error fetching Forecast+ data. Please try again later.")}),[D]),Object(p.useEffect)((function(){(R.a.isDone(pe)||R.a.isError(pe))&&Ge(function(e,t){return[{propertyName:"country",label:"Office / Country",maxNumberOfLines:1,width:250,sortable:!0,getSortableColumnPropertyName:t,order:0,isVisible:!0},{propertyName:"awardTitle",label:"Name",textSx:{fontWeight:"bold"},width:200,order:0,isVisible:!0,sortable:!0,getSortableColumnPropertyName:t},{propertyName:"awardDescription",label:"Description",width:300,order:0,isVisible:!0,sortable:!0,getSortableColumnPropertyName:t},{propertyName:"primeOrIncumbent",label:"Suggested Primes / Partners",width:300,order:0,isVisible:!0,sortable:!0,disableModalWithDetails:e,getSortableColumnPropertyName:t,headerTooltip:"AidKonekt algorithm determines potential primes based on publicly available data. The (P) means prime has relevant USAID project past performance, and the (R) means the prime has posted a public recruitment ad relevant to this bid."},{propertyName:"rfpRfiLink",label:"Link to Bid Docs",order:0,isVisible:!0,cellAlign:"center",headerAlign:"center",width:100,disableModalWithDetails:!0},{propertyName:"quarterlyCallNotes",label:"Quaterly Forecast Q&A and Notes",width:300,order:0,isVisible:!0,sortable:!0,disableModalWithDetails:e,getSortableColumnPropertyName:t,headerTooltip:"This column includes updates from USAID's Quarterly Business Forecast call and Q&A, as well as other relevant notes and market context for individual procurements. If the column is empty, that likely means there has not been a recent question on that forecasted opportunity, or it has been posted after the most recent USAID Quarterly Business Forecast call"},{propertyName:"sector",label:"Sector",width:150,order:0,isVisible:!0,sortable:!0,getSortableColumnPropertyName:t},{propertyName:"aaPlanId",label:"ID",width:100,order:0,isVisible:!0,sortable:!0,getSortableColumnPropertyName:t},{propertyName:"categoryManagementContractVehicle",label:"Category Management Contract Vehicle",width:300,order:0,isVisible:!0,sortable:!0,getSortableColumnPropertyName:t,headerTooltip:"Note from the USAID Industry Liaison on this field:

The intent of the Category Management Contract Vehicle field is not to show the Tiers, but to show the actual category management vehicle that will be used. USAID is sharing this note internally for Contracting Officers to update as needed.

See FAQ linked here for more information on the \u201cTiers\u201d referenced above."},{propertyName:"totalEstimatedCost",label:"Cost",width:150,order:0,isVisible:!0,sortable:!0,getSortableColumnPropertyName:t},{propertyName:"awardActionType",label:"Award/Action Type",order:0,isVisible:!0,sortable:!0,getSortableColumnPropertyName:t,width:150},{propertyName:"geographicalCodes",label:"Geographical Codes",width:200,order:0,isVisible:!0,sortable:!0,getSortableColumnPropertyName:t,headerTooltip:"What do these numbers mean?
USAID uses the Principal Geographic Code to share who is eligible to apply for funding. Definitions are outlined in ADS 310
\u2022937: The United States, the recipient country, and developing countries other than advanced developing countries
\u2022110: The United States, the independent states of the former Soviet Union, or a developing country, but excluding any country that is a prohibited source
\u2022935: Any area or country including the recipient country"},{propertyName:"coCreation",label:"Co-Creation",width:200,order:0,isVisible:!0,sortable:!0,getSortableColumnPropertyName:t},{propertyName:"anticipatedSolicitationReleaseDate",label:"Anticipated Release Date",cellFormatter:function(e){return e&&new Date(e).toISOString().startsWith("0")?"N/A":Object(H.a)(new Date(e),"dd MMMM yyyy")},width:150,order:0,isVisible:!0,sortable:!0,getSortableColumnPropertyName:t},{propertyName:"anticipatedAwardDate",label:"Anticipated Award Date",cellFormatter:function(e){return e&&new Date(e).toISOString().startsWith("0")?"N/A":Object(H.a)(new Date(e),"dd MMMM yyyy")},width:150,order:0,isVisible:!0,sortable:!0,getSortableColumnPropertyName:t},{propertyName:"awardLength",label:"Award Length",order:0,isVisible:!0,sortable:!0,getSortableColumnPropertyName:t},{propertyName:"smallBusinessSetAside",label:"Small Business Set-Aside",width:200,order:0,isVisible:!0,sortable:!0,getSortableColumnPropertyName:t},{propertyName:"eligibilityCriteria",label:"Eligibility Criteria",width:150,order:0,isVisible:!0,sortable:!0,getSortableColumnPropertyName:t},{propertyName:"solicitationNumber",label:"Solicitation Number",width:200,order:0,isVisible:!0,sortable:!0,getSortableColumnPropertyName:t},{propertyName:"aaSpecialist",label:"A&A Specialist",width:150,order:0,isVisible:!0,sortable:!0,getSortableColumnPropertyName:t},{propertyName:"fiscalYearofAction",label:"Fiscal Year of Action",width:150,order:0,isVisible:!0,sortable:!0,getSortableColumnPropertyName:t},{propertyName:"location",label:"Location",order:0,isVisible:!0,sortable:!0,getSortableColumnPropertyName:t,width:120},{propertyName:"adminActions",label:"Admin Actions",order:0,isVisible:!0,disableModalWithDetails:!0,cellAlign:"center",headerAlign:"center",hiddenBasedOnRole:!0,width:80}]}(Ue,_.c).filter((function(e){return!(null===e||void 0===e?void 0:e.hiddenBasedOnRole)||Qe})).map((function(e,t){var n,a,r,i;return Object(u.a)(Object(u.a)({},e),{},{order:null!==(n=null===(a=ue.find((function(t){return t.propertyName===e.propertyName})))||void 0===a?void 0:a.order)&&void 0!==n?n:t,isVisible:null!==(r=null===(i=ue.find((function(t){return t.propertyName===e.propertyName})))||void 0===i?void 0:i.isVisible)&&void 0!==r?r:e.isVisible},Ue&&{sortable:!1})})).sort((function(e,t){return e.order-t.order})))}),[pe,Qe,_.c]),Object(p.useEffect)((function(){R.a.isNull(B)&&a(Object(oe.b)(n))}),[B]),Object(p.useEffect)((function(){R.a.isHalfDone(fe)?Fn():R.a.isError(fe)&&(Z.a.error("Couldn't load pipelines details for Forecasts. Try again later."),a(Object(se.g)()))}),[fe]),Object(p.useEffect)((function(){if(R.a.isDone(P)){if(Z.a.success("Data updated."),a(Object(oe.h)()),!Pt)return;a(Object(oe.m)({businessForecastId:Pt.id,subPrimes:mn("subPrimes")===q.b?null:mn("subPrimes"),quarterlyCallNotes:mn("quarterlyCallNotes")===q.b?null:mn("quarterlyCallNotes"),externalLinkHtml:mn("externalLinkHtml")===q.b?null:mn("externalLinkHtml"),externalLinkText:"\n"===mn("externalLinkText")?null:mn("externalLinkText")})),An()}R.a.isError(P)&&Z.a.error("There was an error updating prime data.")}),[P,Pt]),Object(p.useEffect)((function(){R.a.isDone(M)&&(Z.a.success("Opportunity shared successfully"),a(Object(oe.i)()),wn()),R.a.isError(M)&&Z.a.error("There was an error sharing this opportunity.")}),[M]),Object(p.useEffect)((function(){R.a.isNull(Te)||(R.a.isDone(Te)?Z.a.success("Pipelines modified"):R.a.isError(Te)&&Z.a.error("There was an error performing this operation."),a(Object(se.b)(n)),dn&&Rn(),tn&&Sn(),a(Object(se.e)()),a(Object(oe.c)({context:n,params:Object(u.a)(Object(u.a)({pageIndex:$e.page,rowsPerPage:$e.rowsPerPage},at),kn())})))}),[Te]);var Pn=function(e){var t,n;return Object(L.jsxs)(f.a,{sx:{display:"flex",alignItems:"center",justifyContent:"center"},children:[Object(L.jsx)(f.a,{onClick:function(e){return e.preventDefault()},sx:{height:"50px",width:"100%",display:"flex",justifyContent:"flex-start",alignItems:"center"},children:Object(L.jsx)(h.a,{color:"textPrimary",variant:"body2",sx:{display:"-webkit-box",filter:"blur(5px)","-webkit-user-select":"none","-ms-user-select":"none",userSelect:"none",overflow:"hidden",WebkitBoxOrient:"vertical",WebkitLineClamp:2,"& > *":{m:0}},dangerouslySetInnerHTML:{__html:null!==(t=null===(n=e.text)||void 0===n?void 0:n.replace(/(<([^>]+)>)/gi,""))&&void 0!==t?t:""}})}),Object(L.jsx)(ee.a,{sx:{position:"absolute"},variant:"contained",color:"secondary",size:"small",onClick:function(){return r.push("/tiers")},children:"Upgrade"})]})};return Object(L.jsxs)(f.a,{sx:{p:2,textAlign:"start",width:"100%",display:"flex",flexDirection:"column"},children:[Object(L.jsx)(K.a,{open:Bt,handleClose:function(){return Vt(!1)},title:"You're almost there!",disableCancelButton:!0,handleAccept:function(){return Vt(!1)},children:Object(L.jsxs)(h.a,{variant:"subtitle2",color:"textPrimary",children:["This feature is disabled for your role. Please"," ",Object(L.jsx)(j.b,{to:"/tiers",children:"upgrade"})," to access this feature!"]})}),Object(L.jsx)(K.a,{open:Ft,handleClose:An,acceptButtonType:"submit",form:Ie,title:"Enter Info for ".concat(null===Pt||void 0===Pt?void 0:Pt.awardTitle),minWidth:"1200px",acceptLabel:"Save",acceptButtonLoading:R.a.isFetching(P),children:Object(L.jsxs)(f.a,{sx:{display:"flex",gap:4},children:[Object(L.jsxs)("form",{id:Ie,onSubmit:jn((function(e){if(Pt){var t=Pt.id;a(Object(oe.k)({context:n,businessForecastId:t,subPrimes:(null===e||void 0===e?void 0:e.subPrimes)===q.b?null:null===e||void 0===e?void 0:e.subPrimes,quarterlyCallNotes:(null===e||void 0===e?void 0:e.quarterlyCallNotes)===q.b?null:null===e||void 0===e?void 0:e.quarterlyCallNotes,externalLinkHtml:(null===e||void 0===e?void 0:e.externalLinkHtml)===q.b?null:null===e||void 0===e?void 0:e.externalLinkHtml,externalLinkText:"\n"===(null===e||void 0===e?void 0:e.externalLinkText)?null:null===e||void 0===e?void 0:e.externalLinkText}))}})),style:{width:"675px"},children:[Object(L.jsx)(te.a,{type:"rich-text",name:"subPrimes",control:bn,label:"Likely Primes"}),Object(L.jsx)(te.a,{type:"rich-text",name:"quarterlyCallNotes",control:bn,label:"Quarterly Forecast Q&A and Notes"}),Object(L.jsx)(te.a,{type:"rich-text",name:"externalLinkHtml",control:bn,label:"Links to RFP/RFI",richTextUnformattedOnChange:function(e){return fn("externalLinkText",e)}})]}),Object(L.jsx)(xe.a,{})]})}),Object(L.jsx)(K.a,{open:Ct,handleClose:Nn,handleAccept:Nn,title:"Link to Bid Docs for ".concat(null===Nt||void 0===Nt?void 0:Nt.awardTitle),children:Object(L.jsx)("div",{dangerouslySetInnerHTML:{__html:null!==(e=null===Nt||void 0===Nt?void 0:Nt.externalLinkHtml)&&void 0!==e?e:""}})}),Object(L.jsxs)(O.a,{open:ot,onClose:In,variant:"temporary",anchor:"right",sx:{zIndex:2147483639},PaperProps:{sx:{width:"480px","& > div":{px:2}}},children:[Object(L.jsxs)(f.a,{sx:{display:"flex",alignItems:"center",gap:"16px",backgroundColor:t.palette.secondary.light,borderBottom:"solid 3px ".concat(t.palette.secondary.main),py:3},children:[Object(L.jsx)($.a,{}),Object(L.jsx)(h.a,{variant:"h5",children:"Filters"})]}),Object(L.jsx)(f.a,{sx:{py:2,overflowY:"scroll",flex:1},children:Object(L.jsx)("form",{onSubmit:gn((function(e){Object(ve.a)(e,(function(){var t={Countries:e.Countries.map((function(e){return e.value})),DateOfChangeBefore:e.DateOfChangeBefore?Object(H.a)(new Date(e.DateOfChangeBefore),"MM-dd-yyyy"):null,DateOfChangeAfter:e.DateOfChangeAfter?Object(H.a)(new Date(e.DateOfChangeAfter),"MM-dd-yyyy"):null,OpportunityTextKeyword:e.OpportunityTextKeyword,OpportunityDescriptionKeyword:e.OpportunityDescriptionKeyword,SuggestedPrimesKeyword:e.SuggestedPrimesKeyword,QuarterlyForecastNotesKeyword:e.QuarterlyForecastNotesKeyword,Sectors:e.Sectors.map((function(e){return e.value})),AwardTypes:e.AwardTypes.map((function(e){return e.value})),GeographicalCodes:e.GeographicalCodes.map((function(e){return e.value})),AnticipatedReleaseDateBefore:e.AnticipatedReleaseDateBefore?Object(H.a)(new Date(e.AnticipatedReleaseDateBefore),"MM-dd-yyyy"):null,AnticipatedReleaseDateAfter:e.AnticipatedReleaseDateAfter?Object(H.a)(new Date(e.AnticipatedReleaseDateAfter),"MM-dd-yyyy"):null,AnticipatedAwardDateBefore:e.AnticipatedAwardDateBefore?Object(H.a)(new Date(e.AnticipatedAwardDateBefore),"MM-dd-yyyy"):null,AnticipatedAwardDateAfter:e.AnticipatedAwardDateAfter?Object(H.a)(new Date(e.AnticipatedAwardDateAfter),"MM-dd-yyyy"):null};ft((function(e){return Object(u.a)(Object(u.a)({},e),t)})),En()}))})),id:Ee,style:{display:"flex",flexDirection:"column",alignItems:"center",gap:"20px"},children:Object(L.jsx)(ne,{control:On,countryOptions:Q,sectorOptions:Y,awardActionTypeOptions:X,geoCodesOptions:ae})})}),Object(L.jsx)(g.a,{}),Object(L.jsxs)(f.a,{sx:{display:"flex",alignItems:"center",justifyContent:"flex-end",gap:"16px",py:2},children:[Object(L.jsx)(ee.a,{variant:"secondaryContained",color:"secondary",onClick:In,children:"Cancel"}),Object(L.jsx)(ee.a,{variant:"secondaryContained",color:"secondary",onClick:function(){xn(Fe)},children:"Clear"}),Object(L.jsx)(ee.a,{variant:"contained",color:"secondary",type:"submit",form:Ee,children:"Save"})]})]}),Object(L.jsx)(ye.a,{open:Ht,handleClose:wn,openFor:Kt,onSubmit:function(e){a(Object(oe.l)(Object(u.a)({context:n},e)))},shareFetchStatus:M,type:"forecast"}),Object(L.jsx)(he,{itemsIds:null!==cn&&void 0!==cn?cn:[],bulkAddToPipelinesModalOpen:tn,handleCloseBulkAddToPipelinesModal:Sn,pipelines:me}),Object(L.jsx)(h.a,{variant:"body2",sx:{mb:3},children:'This feed monitors changes made to the USAID Business Forcast, including new opportunities added, changes made to existing opportunities, and when posted opportunities are removed. These changes are color-coded for simplified reference: all new opportunities are highlighted in blue; removed opportunities are highlighted in gray; changes are highlighted in orange on the left column and only the cells that changed are also highlighted orange for quicker reference. See historical changes to any opportunity by added to "Pipelines" list.'}),Ye.length>0?Object(L.jsx)(w.b,{config:{data:S.map((function(e){var n;return Object(u.a)(Object(u.a)({},e),{},{status:e.createdOn?Object(L.jsxs)(L.Fragment,{children:[Object(L.jsx)(f.a,{sx:{display:"flex",justifyContent:"space-between",alignItems:"center"},children:Object(_.d)(e,t)}),Object(L.jsxs)(h.a,{variant:"body2",color:"textSecondary",sx:{mt:.5},children:[Object(H.a)(new Date(e.createdOn),"MM/dd/yyyy")," at"," ",Object(H.a)(new Date(e.createdOn),"hh:mm aaa")]})]}):Object(L.jsx)(L.Fragment,{children:Object(_.d)(e,t)}),actions:Object(L.jsx)(V,{onShareClick:function(){return function(e){zt(!0),qt(e)}(e)},item:e,canShare:Ve,isFree:Ue,addToPipelinesOpen:dn,setAddToPipelinesOpen:un,handleOpenAddToPipelines:Tn,handleCloseAddToPipelines:Rn}),rowBackground:e.status===I.a.FinalRecord&&z.b.forecastRemovedRecordBackground,rowTextColor:e.status===I.a.FinalRecord&&z.b.forecastRemovedRecordText,adminActions:Object(L.jsx)(x.a,{title:"Edit",children:Object(L.jsx)("span",{children:Object(L.jsx)(v.a,{sx:{border:"solid 2px",backgroundColor:Object(y.a)(t.palette.success.main,.1),position:"unset"},color:"success",onClick:function(){return Cn(e)},children:Object(L.jsx)(re.a,{})})})}),primeOrIncumbent:Ue?Object(L.jsx)(Pn,{text:"string"===typeof(null===e||void 0===e?void 0:e.primeOrIncumbent)?null===e||void 0===e?void 0:e.primeOrIncumbent:""}):e.primeOrIncumbent,quarterlyCallNotes:Ue?Object(L.jsx)(Pn,{text:null!==(n=null===e||void 0===e?void 0:e.quarterlyCallNotes)&&void 0!==n?n:""}):e.quarterlyCallNotes,rfpRfiLink:Object(L.jsx)(x.a,{title:Ue?"Upgrade your plan to see link to bid docs":"Link to Bid Docs",children:Object(L.jsx)("span",{children:Object(L.jsx)(v.a,{color:"primary",sx:{border:"solid 2px",backgroundColor:Object(y.a)(t.palette.primary.main,.1),position:"unset"},onClick:function(){return function(e){Et(e),At(!0)}(e)},disabled:!e.externalLinkHtml||Ue,children:Object(L.jsx)(G.a,{fontSize:"small"})})})}),disableCellHighlight:e.status!==I.a.NewRecord&&e.status!==I.a.ModifiedRecord})})),selectedRowsBulkActions:Object(L.jsxs)(L.Fragment,{children:[!Ue&&Object(L.jsx)(ee.a,{variant:"outlined",color:"success",sx:{backgroundColor:Object(y.a)(t.palette.success.main,.1)},startIcon:Object(L.jsx)("img",{src:Ae.addToPipeline,alt:"map",style:{width:"26px",height:"26px",marginTop:"2px",filter:"hue-rotate(270deg) brightness(0.8)"}}),onClick:function(){nn(!0);var e=Jt.map((function(e){return e.split("-")[1]})),t=Object(ie.uniq)(e);on(t)},children:"Add to pipeline"}),Ve&&Object(L.jsx)(ee.a,{variant:"outlined",sx:{backgroundColor:Object(y.a)(t.palette.primary.main,.1)},startIcon:Object(L.jsx)(F.a,{fontSize:"small",sx:{transform:"scale(-1, 1)",width:"28px",height:"28px"}}),onClick:function(){var e=Jt.map((function(e){return e.split("-")[0]})),t=Object(ie.uniq)(e);zt(!0),qt(t)},children:"Share"})]}),stickyColumns:yn,columns:Ye,cellHighlight:{highlightCellAttributeName:"changedColumns",highlightColor:t.palette.secondary.light,highlightUnderlineColor:t.palette.secondary.main},header:Object(_.e)(t,{handleOpenFilters:function(){st(!0)},setFilters:pt,liveTally:E,lastUpdated:k?k&&new Date(k).toISOString().startsWith("0")?"N/A":"".concat(Object(H.a)(k.endsWith("Z")?new Date(k):new Date("".concat(k,"Z")),"dd MMMM yyyy, HH:mm")):"N/A",fetchStatus:D,inputValue:gt,onChange:function(e){xt(e.target.value),Dn(e.target.value)},allFilters:We(),isFree:Ue}),columnsConfiguration:{allowColumnsConfiguration:!0,onSaveColumnsConfiguration:function(e){a(Object(oe.e)({context:n,key:De,configuration:e}))},columnsSettingsKey:De},exportExcelFunc:Ue?Object(o.a)(c.a.mark((function e(){return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Vt(!0));case 1:case"end":return e.stop()}}),e)}))):Object(o.a)(c.a.mark((function e(){return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(e.t0=J.e,e.t1="Aidkonekt_forecast_plus_".concat((new Date).getFullYear()),e.t2=_.b,!_.a){e.next=9;break}return e.next=6,Object(_.a)(n,kn(),N);case 6:e.t3=e.sent,e.next=10;break;case 9:e.t3=S;case 10:return e.t4=e.t3,e.t5=(0,e.t2)(e.t4),e.abrupt("return",(0,e.t0)("Forecasts",e.t1,e.t5));case 13:case"end":return e.stop()}}),e)})))},parametersToSelectBy:["rowId","id"],loading:R.a.isFetching(D)||R.a.isFetching(fe)||R.a.isHalfDone(fe)||R.a.isFetching(pe),onPageChange:function(e,t){et((function(e){return Object(u.a)(Object(u.a)({},e),{},{page:t})}))},onRowsPerPageChange:function(e){et((function(t){return Object(u.a)(Object(u.a)({},t),{},{page:0,rowsPerPage:+e.target.value})}))},pagination:Object(u.a)(Object(u.a)({},$e),{},{total:N}),bulkActions:{allowBulkActions:Ve||!Ue,selectedRecords:Jt,setSelectedRecords:_t},onSortClick:function(e){return rt((function(t){var n=Object(_.c)(e.propertyName);return t.sortField===n?0===t.sortOrder?{sortField:n,sortOrder:1}:1===t.sortOrder?{sortField:n,sortOrder:-1}:{sortField:"",sortOrder:0}:{sortField:n,sortOrder:1}}))},currentSort:at,paginationDisabled:{disabled:Ue,disabledMessage:"Showing 20 out of ".concat(N," records - upgrade for full access!")},disableOpenCellDetailsModal:!!dn}):Object(L.jsx)(C.a,{sx:{display:"flex",p:4,alignItems:"center",justifyContent:"center"},children:Object(L.jsx)(A.a,{})})]})}))},457:function(e,t,n){"use strict";var a=n(5),r=n.n(a),i=n(10),c=n(2),o=n(3),s=n(1),l=n(224),d=n(225),u=n(30),p=n(9),b=n(95),j=n(1360),m=n(1511),f=n(703),h=n(376),O=n(150),g=n(707),x=n(159),v=n(339),y=n(1364),C=n(525),A=n(1363),w=n(1501),S=n(474),N=n(341),E=n(62),I=n(133),D=n(8),F=n(275),k=n(146),T=n.n(k),R=n(124),P=n.n(R),M=n(115),U=n(57),L=n(98),B=n(516),V=n(196),Q=n(251),W=n(33),H=n(476),z=n(526),Y=n(0),G=function(e){var t=e.filtersFormId,n=e.tableContext,a=e.usaSpendingControl,r=e.foreignAssistanceControl,i=e.usaSpendingHandleSubmit,c=e.foreignAssistanceHandleSubmit,o=e.onUsaSpendingFiltersSubmit,s=e.onForeignAssistanceFiltersSubmit,l=e.minimumAmountDisabled,d=e.setMinimumAmountDisabled,p=e.showOnlyRecentRecords,b=e.handleChangeShowOnlyRecentRecords,j=Object(u.c)((function(e){return e.usaSpending})),m=(j.items,j.fetchStatus,j.total,j.dropdownOptions),f=Object(u.c)((function(e){return e.foreignAssistance})),h=(f.items,f.fetchStatus,f.total,f.dropdownOptions);return null===n?Object(Y.jsx)(Y.Fragment,{}):Object(Y.jsx)("form",{id:t,onSubmit:"usa-spending"===n?i(o):c(s),children:"usa-spending"===n?Object(Y.jsxs)(Y.Fragment,{children:[Object(Y.jsx)(W.a,{type:"switch",name:"isMyList",control:a,label:"Show only my projects?"}),Object(Y.jsx)(W.a,{sx:{"& .MuiFormLabel-root":{fontSize:"0.875em",lineHeight:"1.875em"}},type:"combo-box",name:"country",control:a,options:m.country,label:"COUNTRY",multiple:!0,withCheckboxes:!0}),Object(Y.jsx)(W.a,{sx:{"& .MuiFormLabel-root":{fontSize:"0.875em",lineHeight:"1.875em"}},type:"combo-box",name:"implementer",control:a,options:m.implementor,label:"IMPLEMENTER",multiple:!0,withCheckboxes:!0,useVirtualizedList:!0}),Object(Y.jsx)(W.a,{sx:{"& .MuiFormLabel-root":{fontSize:"0.875em",lineHeight:"1.875em"}},type:"combo-box",name:"subawardRecipient",control:a,options:m.subawards,label:"SUBAWARDEES",multiple:!0,withCheckboxes:!0,useVirtualizedList:!0}),Object(Y.jsx)(W.a,{sx:{"& .MuiFormLabel-root":{fontSize:"0.875em",lineHeight:"1.875em"}},type:"text",name:"projectNumber",control:a,label:"PROJECT NUMBER"}),Object(Y.jsx)(W.a,{sx:{"& .MuiFormLabel-root":{fontSize:"0.875em",lineHeight:"1.875em"}},type:"combo-box",name:"mechanism",control:a,options:m.mechanism,label:"AWARD MECHANISM",multiple:!0,withCheckboxes:!0}),Object(Y.jsx)(W.a,{sx:{"& .MuiFormLabel-root":{fontSize:"0.875em",lineHeight:"1.875em"}},type:"combo-box",name:"naics",control:a,options:m.naics,label:"NAICS CODE",multiple:!0,withCheckboxes:!0,useVirtualizedList:!0}),Object(Y.jsx)(W.a,{sx:{"& .MuiFormLabel-root":{fontSize:"0.875em",lineHeight:"1.875em"}},type:"combo-box",name:"setAside",control:a,options:m.setAside,label:"SET-ASIDE TYPE",multiple:!0,withCheckboxes:!0,useVirtualizedList:!0}),Object(Y.jsx)(W.a,{sx:{"& .MuiFormLabel-root":{fontSize:"0.875em",lineHeight:"1.875em"}},type:"date",name:"dateCloseFrom",control:a,label:"PROJECTS CLOSING FROM"}),Object(Y.jsx)(W.a,{sx:{"& .MuiFormLabel-root":{fontSize:"0.875em",lineHeight:"1.875em"}},type:"date",name:"dateCloseTo",control:a,label:"PROJECTS CLOSING TO"}),Object(Y.jsxs)(O.a,{sx:{display:"flex"},children:[Object(Y.jsx)(H.a,{control:Object(Y.jsx)(z.a,{checked:!l,onChange:function(){return d((function(e){return!e}))}}),label:"Only show projects over"}),Object(Y.jsx)(W.a,{sx:{"& .MuiFormLabel-root":{fontSize:"0.875em",lineHeight:"1.875em"},flex:1},type:"amount",name:"minimumAmount",control:a,disabled:l})]}),Object(Y.jsx)(W.a,{sx:{"& .MuiFormLabel-root":{fontSize:"0.875em",lineHeight:"1.875em"}},type:"date",name:"dateStartFrom",control:a,label:"PROJECTS STARTING FROM",disabled:p}),Object(Y.jsx)(W.a,{sx:{"& .MuiFormLabel-root":{fontSize:"0.875em",lineHeight:"1.875em"}},type:"date",name:"dateStartTo",control:a,label:"PROJECTS STARTING TO",disabled:p}),Object(Y.jsx)(H.a,{control:Object(Y.jsx)(z.a,{checked:p,onChange:b}),label:"Show recently awarded projects (last 90 days)",labelPlacement:"start",sx:{justifyContent:"space-between",mx:0}})]}):"foreign-assistance"===n?Object(Y.jsxs)(Y.Fragment,{children:[Object(Y.jsx)(W.a,{type:"switch",name:"IsMyList",control:r,label:"Show only my projects?"}),Object(Y.jsx)(W.a,{sx:{"& .MuiFormLabel-root":{fontSize:"0.875em",lineHeight:"1.875em"}},type:"combo-box",name:"Country",control:r,options:h.country,label:"COUNTRY",multiple:!0,withCheckboxes:!0}),Object(Y.jsx)(W.a,{sx:{"& .MuiFormLabel-root":{fontSize:"0.875em",lineHeight:"1.875em"}},type:"combo-box",name:"Sector",control:r,options:h.technicalSector,label:"TECHNICAL SECTOR",multiple:!0,withCheckboxes:!0,useVirtualizedList:!0}),Object(Y.jsx)(W.a,{sx:{"& .MuiFormLabel-root":{fontSize:"0.875em",lineHeight:"1.875em"}},type:"combo-box",name:"Implementer",control:r,options:h.implementor,label:"IMPLEMENTER",multiple:!0,withCheckboxes:!0,useVirtualizedList:!0}),Object(Y.jsx)(W.a,{sx:{"& .MuiFormLabel-root":{fontSize:"0.875em",lineHeight:"1.875em"}},type:"text",name:"ProjectNumber",control:r,label:"PROJECT NUMBER"}),Object(Y.jsx)(W.a,{sx:{"& .MuiFormLabel-root":{fontSize:"0.875em",lineHeight:"1.875em"}},type:"combo-box",name:"FundingAgency",control:r,options:h.fundingAgency,label:"FUNDING AGENCY",multiple:!0,withCheckboxes:!0}),Object(Y.jsx)(W.a,{sx:{"& .MuiFormLabel-root":{fontSize:"0.875em",lineHeight:"1.875em"}},type:"combo-box",name:"FundingAccount",control:r,options:h.fundingAccount,label:"FUNDING ACCOUNT",multiple:!0,withCheckboxes:!0,useVirtualizedList:!0}),Object(Y.jsx)(W.a,{sx:{"& .MuiFormLabel-root":{fontSize:"0.875em",lineHeight:"1.875em"}},type:"date",name:"DateCloseFrom",control:r,label:"PROJECTS CLOSING FROM"}),Object(Y.jsx)(W.a,{sx:{"& .MuiFormLabel-root":{fontSize:"0.875em",lineHeight:"1.875em"}},type:"date",name:"DateCloseTo",control:r,label:"PROJECTS CLOSING TO"}),Object(Y.jsxs)(O.a,{sx:{display:"flex"},children:[Object(Y.jsx)(H.a,{control:Object(Y.jsx)(z.a,{checked:!l,onChange:function(){return d((function(e){return!e}))}}),label:"Only show projects over"}),Object(Y.jsx)(W.a,{sx:{"& .MuiFormLabel-root":{fontSize:"0.875em",lineHeight:"1.875em"},flex:1},type:"amount",name:"MinimumAmount",control:r,disabled:l})]}),Object(Y.jsx)(W.a,{sx:{"& .MuiFormLabel-root":{fontSize:"0.875em",lineHeight:"1.875em"}},type:"date",name:"DateStartFrom",control:r,label:"PROJECTS STARTING FROM",disabled:p}),Object(Y.jsx)(W.a,{sx:{"& .MuiFormLabel-root":{fontSize:"0.875em",lineHeight:"1.875em"}},type:"date",name:"DateStartTo",control:r,label:"PROJECTS STARTING TO",disabled:p}),Object(Y.jsx)(H.a,{control:Object(Y.jsx)(z.a,{checked:p,onChange:b}),label:"Show recently awarded projects (last 90 days)",labelPlacement:"start",sx:{justifyContent:"space-between",mx:0}})]}):Object(Y.jsx)(Y.Fragment,{})})},K=n(127),q=n(149),X=n(1476),Z=n(1477),J=n(18),_=n(240),$=n(1359),ee=n(94),te=n(323),ne=n.n(te),ae=n(179),re=n(106),ie=n(45),ce=n(37),oe=n(39),se=n(4),le=n(53),de=function(e,t){var n=t?t.find((function(t){return t.value==e})):null;return n?n.label:""},ue=function(e,t,n){var a=[{name:"Country"},{name:"Project Number"},{name:"Project Name"},{name:"Project Description"},{name:"Implementer"},{name:"Subawards"},{name:"Award Mechanism"},{name:"Awarding Agency Name"},{name:"Awarding Office"},{name:"Parent IDV Agency Name"},{name:"Set-Aside Type"},{name:"NAICS Code"},{name:"Start Date"},{name:"Current End Date"},{name:"Potential End Date"},{name:"Obligated Amount"},{name:"Current Amount"},{name:"Potential Amount"},{name:"Recipient Address"},{name:"Project Profile Link"}],r=[];if(0==e.length)r.push(Object(ce.d)(a.length));else for(var i=0;i2&&void 0!==o[2]?o[2]:1e3,(i=n)&&(i.pageSize=a,i.pageIndex=0),c=Array(),e.next=6,oe.a.get(Object(se.f)("/api/usaspending".concat(Object(le.a)(i,"|")),{useDedicatedEnvironment:!0}),Object(se.c)(t)).then((function(e){c=e.data.data})).catch((function(e){alert("error fetching data")}));case 6:return e.abrupt("return",c);case 7:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),be=function(){var e=Object(i.a)(r.a.mark((function e(t,n){var a,i,c,o=arguments;return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=o.length>2&&void 0!==o[2]?o[2]:1e3,(i=n)&&(i.pageSize=a,i.pageIndex=0),c=Array(),e.next=6,oe.a.get(Object(se.f)("/api/ForeignAssistance".concat(Object(le.a)(i,"|")),{useDedicatedEnvironment:!0}),Object(se.c)(t)).then((function(e){c=e.data.data})).catch((function(e){alert("error fetching data")}));case 6:return e.abrupt("return",c);case 7:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),je=n(448),me=n(208),fe=n(34),he=n(117),Oe=n(66),ge=Object(Oe.a)(Object(Y.jsx)("svg",{width:"18",height:"16",viewBox:"0 0 18 16",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:Object(Y.jsx)("path",{d:"M10.6665 8.41673H9.83317V7.58339C9.83317 7.36238 9.74537 7.15042 9.58909 6.99414C9.43281 6.83786 9.22085 6.75006 8.99984 6.75006C8.77882 6.75006 8.56686 6.83786 8.41058 6.99414C8.2543 7.15042 8.1665 7.36238 8.1665 7.58339V8.41673H7.33317C7.11216 8.41673 6.9002 8.50452 6.74392 8.6608C6.58764 8.81708 6.49984 9.02905 6.49984 9.25006C6.49984 9.47107 6.58764 9.68303 6.74392 9.83931C6.9002 9.99559 7.11216 10.0834 7.33317 10.0834H8.1665V10.9167C8.1665 11.1377 8.2543 11.3497 8.41058 11.506C8.56686 11.6623 8.77882 11.7501 8.99984 11.7501C9.22085 11.7501 9.43281 11.6623 9.58909 11.506C9.74537 11.3497 9.83317 11.1377 9.83317 10.9167V10.0834H10.6665C10.8875 10.0834 11.0995 9.99559 11.2558 9.83931C11.412 9.68303 11.4998 9.47107 11.4998 9.25006C11.4998 9.02905 11.412 8.81708 11.2558 8.6608C11.0995 8.50452 10.8875 8.41673 10.6665 8.41673ZM14.8332 2.58339H9.59984L9.33317 1.75006C9.1603 1.26108 8.83963 0.837979 8.41559 0.53936C7.99155 0.240741 7.48514 0.0813933 6.9665 0.0833926H3.1665C2.50346 0.0833926 1.86758 0.346785 1.39874 0.815626C0.929896 1.28447 0.666504 1.92035 0.666504 2.58339V13.4167C0.666504 14.0798 0.929896 14.7157 1.39874 15.1845C1.86758 15.6533 2.50346 15.9167 3.1665 15.9167H14.8332C15.4962 15.9167 16.1321 15.6533 16.6009 15.1845C17.0698 14.7157 17.3332 14.0798 17.3332 13.4167V5.08339C17.3332 4.42035 17.0698 3.78447 16.6009 3.31563C16.1321 2.84679 15.4962 2.58339 14.8332 2.58339ZM15.6665 13.4167C15.6665 13.6377 15.5787 13.8497 15.4224 14.006C15.2661 14.1623 15.0542 14.2501 14.8332 14.2501H3.1665C2.94549 14.2501 2.73353 14.1623 2.57725 14.006C2.42097 13.8497 2.33317 13.6377 2.33317 13.4167V2.58339C2.33317 2.36238 2.42097 2.15042 2.57725 1.99414C2.73353 1.83786 2.94549 1.75006 3.1665 1.75006H6.9665C7.14121 1.74961 7.31163 1.80408 7.45369 1.90576C7.59576 2.00745 7.70227 2.15121 7.75817 2.31673L8.20817 3.68339C8.26408 3.84891 8.37059 3.99267 8.51265 4.09436C8.65471 4.19604 8.82513 4.25051 8.99984 4.25006H14.8332C15.0542 4.25006 15.2661 4.33786 15.4224 4.49414C15.5787 4.65042 15.6665 4.86238 15.6665 5.08339V13.4167Z"})}),"FolderAdd"),xe=Object(Oe.a)(Object(Y.jsx)("svg",{width:"18",height:"16",viewBox:"0 0 18 16",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:Object(Y.jsx)("path",{d:"M11.2582 6.99173C11.1807 6.91362 11.0885 6.85162 10.987 6.80932C10.8854 6.76701 10.7765 6.74523 10.6665 6.74523C10.5565 6.74523 10.4476 6.76701 10.346 6.80932C10.2445 6.85162 10.1523 6.91362 10.0748 6.99173L8.99984 8.07506L7.92484 6.99173C7.76792 6.83481 7.55509 6.74665 7.33317 6.74665C7.11125 6.74665 6.89842 6.83481 6.7415 6.99173C6.58458 7.14865 6.49643 7.36147 6.49643 7.58339C6.49643 7.80531 6.58458 8.01814 6.7415 8.17506L7.82484 9.25006L6.7415 10.3251C6.6634 10.4025 6.6014 10.4947 6.55909 10.5962C6.51679 10.6978 6.49501 10.8067 6.49501 10.9167C6.49501 11.0267 6.51679 11.1357 6.55909 11.2372C6.6014 11.3388 6.6634 11.4309 6.7415 11.5084C6.81897 11.5865 6.91114 11.6485 7.01269 11.6908C7.11424 11.7331 7.22316 11.7549 7.33317 11.7549C7.44318 11.7549 7.5521 11.7331 7.65365 11.6908C7.7552 11.6485 7.84737 11.5865 7.92484 11.5084L8.99984 10.4251L10.0748 11.5084C10.1523 11.5865 10.2445 11.6485 10.346 11.6908C10.4476 11.7331 10.5565 11.7549 10.6665 11.7549C10.7765 11.7549 10.8854 11.7331 10.987 11.6908C11.0885 11.6485 11.1807 11.5865 11.2582 11.5084C11.3363 11.4309 11.3983 11.3388 11.4406 11.2372C11.4829 11.1357 11.5047 11.0267 11.5047 10.9167C11.5047 10.8067 11.4829 10.6978 11.4406 10.5962C11.3983 10.4947 11.3363 10.4025 11.2582 10.3251L10.1748 9.25006L11.2582 8.17506C11.3363 8.09759 11.3983 8.00542 11.4406 7.90387C11.4829 7.80232 11.5047 7.6934 11.5047 7.58339C11.5047 7.47338 11.4829 7.36446 11.4406 7.26291C11.3983 7.16136 11.3363 7.0692 11.2582 6.99173ZM14.8332 2.58339H9.59984L9.33317 1.75006C9.1603 1.26108 8.83963 0.837979 8.41559 0.53936C7.99155 0.240741 7.48514 0.0813933 6.9665 0.0833926H3.1665C2.50346 0.0833926 1.86758 0.346785 1.39874 0.815626C0.929896 1.28447 0.666504 1.92035 0.666504 2.58339V13.4167C0.666504 14.0798 0.929896 14.7157 1.39874 15.1845C1.86758 15.6533 2.50346 15.9167 3.1665 15.9167H14.8332C15.4962 15.9167 16.1321 15.6533 16.6009 15.1845C17.0698 14.7157 17.3332 14.0798 17.3332 13.4167V5.08339C17.3332 4.42035 17.0698 3.78447 16.6009 3.31563C16.1321 2.84679 15.4962 2.58339 14.8332 2.58339ZM15.6665 13.4167C15.6665 13.6377 15.5787 13.8497 15.4224 14.006C15.2661 14.1623 15.0542 14.2501 14.8332 14.2501H3.1665C2.94549 14.2501 2.73353 14.1623 2.57725 14.006C2.42097 13.8497 2.33317 13.6377 2.33317 13.4167V2.58339C2.33317 2.36238 2.42097 2.15042 2.57725 1.99414C2.73353 1.83786 2.94549 1.75006 3.1665 1.75006H6.9665C7.14121 1.74961 7.31163 1.80408 7.45369 1.90576C7.59576 2.00745 7.70227 2.15121 7.75817 2.31673L8.20817 3.68339C8.26408 3.84891 8.37059 3.99267 8.51265 4.09436C8.65471 4.19604 8.82513 4.25051 8.99984 4.25006H14.8332C15.0542 4.25006 15.2661 4.33786 15.4224 4.49414C15.5787 4.65042 15.6665 4.86238 15.6665 5.08339V13.4167Z"})}),"FolderRemove"),ve="projects-form-id-filters",ye="forecastsUsaSpendingForAdminColumnsSettingsKey",Ce="forecastsForeignAssistanceForAdminColumnsSettingsKey";t.a=function(e){var t,n,a,k,R,W,H=e.containerSx,z=void 0===H?{}:H,te=e.externalSetTableContext,oe=e.useFragmentHeader,se=void 0===oe||oe,le=e.allowViewTypeSwitch,Oe=void 0!==le&&le,Ae=e.showActions,we=void 0!==Ae&&Ae,Se=e.loadDataImmediately,Ne=void 0===Se||Se,Ee=Object(u.b)(),Ie=Object(b.a)(),De=Object(s.useContext)(p.d),Fe=Object(re.g)(),ke=Object(u.c)((function(e){return e.usaSpending})),Te=ke.items,Re=ke.fetchStatus,Pe=ke.total,Me=ke.lastUpdatedUtc,Ue=ke.dropdownOptions,Le=ke.addToMyList.fetchStatus,Be=ke.removeFromMyList.fetchStatus,Ve=Object(u.c)((function(e){return e.foreignAssistance})),Qe=Ve.items,We=Ve.fetchStatus,He=Ve.total,ze=Ve.lastUpdatedUtc,Ye=Ve.dropdownOptions,Ge=Ve.addToMyList.fetchStatus,Ke=Ve.removeFromMyList.fetchStatus,qe=Object(u.c)((function(e){return e.userSettings})).tableSettings,Xe=qe.columnsOrder,Ze=qe.fetchStatus,Je=(W=Date.today(),{isMyList:!1,pageIndex:0,pageSize:E.b[0],country:[],implementer:[],projectNumber:"",mechanism:[],naics:[],setAside:[],keyword:"",dateStartFrom:"",dateStartTo:"",dateCloseFrom:Object(B.a)(W),dateCloseTo:"",minimumAmount:5e5,subawardRecipient:[]}),_e=function(e){return{Sort:!0,PageIndex:0,PageSize:E.b[0],ProjectNumber:"",Keyword:"",Email:"",Name:"",IsMyList:!1,ClosingStartDate:"",ClosingEndDate:"",FundingAgency:[],Implementer:[],Country:[],Sector:[],FundingAccount:[],DateStartFrom:"",DateStartTo:"",DateCloseFrom:Object(B.a)(e),DateCloseTo:"",MinimumAmount:5e5}}(Date.today()),$e=Object(s.useState)([]),et=Object(o.a)($e,2),tt=et[0],nt=et[1],at=Object(s.useState)([]),rt=Object(o.a)(at,2),it=rt[0],ct=rt[1],ot=Object(s.useMemo)((function(){return Object(F.c)()}),[]),st=Object(s.useState)(Object(fe.b)(Fe.location.search,"context","usa-spending")),lt=Object(o.a)(st,2),dt=lt[0],ut=lt[1],pt=Object(s.useState)(Je),bt=Object(o.a)(pt,2),jt=bt[0],mt=bt[1],ft=Object(s.useState)(_e),ht=Object(o.a)(ft,2),Ot=ht[0],gt=ht[1],xt=Object(s.useState)(""),vt=Object(o.a)(xt,2),yt=vt[0],Ct=vt[1],At=Object(s.useState)(!1),wt=Object(o.a)(At,2),St=wt[0],Nt=wt[1],Et=Object(s.useState)(!1),It=Object(o.a)(Et,2),Dt=It[0],Ft=It[1],kt=Object(s.useState)(!1),Tt=Object(o.a)(kt,2),Rt=Tt[0],Pt=Tt[1],Mt=Object(s.useState)({minimumAmountDisabled:null,showOnlyRecentRecords:null}),Ut=Object(o.a)(Mt,2),Lt=Ut[0],Bt=Ut[1],Vt=Object(s.useState)(null),Qt=Object(o.a)(Vt,2),Wt=Qt[0],Ht=Qt[1],zt=Object(s.useState)(!1),Yt=Object(o.a)(zt,2),Gt=Yt[0],Kt=Yt[1],qt=Object(s.useState)(null),Xt=Object(o.a)(qt,2),Zt=Xt[0],Jt=Xt[1],_t=Object(s.useRef)(Ne),$t=Object(s.useRef)(Ne),en=D.a.isDone(Le)||D.a.isDone(Be)||D.a.isDone(Ge)||D.a.isDone(Ke),tn=D.a.isFetching(Le)||D.a.isFetching(Be)||D.a.isFetching(Ge)||D.a.isFetching(Ke),nn=Object(L.b)({defaultValues:Je}),an=nn.control,rn=nn.handleSubmit,cn=nn.reset,on=nn.getValues,sn=nn.setValue,ln=Object(L.b)({defaultValues:_e}),dn=ln.control,un=ln.handleSubmit,pn=ln.reset,bn=ln.getValues,jn=ln.setValue,mn=function(e){ut(e),null!==e&&Object(fe.c)(Fe,{context:e}),null===te||void 0===te||te(e)},fn=function(e){mn(null),_t.current=Ne,$t.current=Ne,!Ne&&Ee(Object(l.g)()),!Ne&&Ee(Object(d.g)()),setTimeout((function(){_t.current=Ne,$t.current=Ne,mn(e)}),150)},hn=function(e){Ct(e.target.value),On(e.target.value)},On=Object(s.useCallback)(Object(U.debounce)((function(e){"usa-spending"===dt?mt((function(t){return Object(c.a)(Object(c.a)({},t),{},{pageIndex:0,keyword:e})})):"foreign-assistance"===dt&>((function(t){return Object(c.a)(Object(c.a)({},t),{},{pageIndex:0,Keyword:e})}))}),750),[dt]),gn=function(){Nt(!0),Bt({minimumAmountDisabled:Dt,showOnlyRecentRecords:Rt})},xn=function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];Nt(!1),setTimeout((function(){e&&(Ft(null!==Lt.minimumAmountDisabled&&Lt.minimumAmountDisabled),Pt(null!==Lt.showOnlyRecentRecords&&Lt.showOnlyRecentRecords)),"usa-spending"===dt?t&&cn(jt):"foreign-assistance"===dt&&t&&pn(Ot)}))},vn=function(e,t){dt&&("usa-spending"===dt?sn(e,t):jn(e,t))},yn=function(e,t){Ee(Object(K.c)({context:De,key:t,configuration:e}))},Cn=function(e,t){t(e(q.c).map((function(e,t){var n,a,r,i;return Object(c.a)(Object(c.a)({},e),{},{order:null!==(n=null===(a=Xe.find((function(t){return t.propertyName===e.propertyName})))||void 0===a?void 0:a.order)&&void 0!==n?n:t,isVisible:null!==(r=null===(i=Xe.find((function(t){return t.propertyName===e.propertyName})))||void 0===i?void 0:i.isVisible)&&void 0!==r?r:e.isVisible})})).sort((function(e,t){return e.order-t.order})))},An=function(e){var t,n;return null!==(t=null===(n=Ue.mechanism.find((function(t){return t.value===e})))||void 0===n?void 0:n.label)&&void 0!==t?t:""},wn=function(){Kt(!1),setTimeout((function(){Ht(null)}),150)},Sn=function(e){var t,n;if(e.currentEndDate&&Object(V.a)(new Date(e.currentEndDate),new Date)||!e.startDate||!e.currentEndDate)return 100;var a=(new Date).getTime(),r=new Date(null!==(t=e.startDate)&&void 0!==t?t:0).getTime(),i=new Date(null!==(n=e.currentEndDate)&&void 0!==n?n:0).getTime();return Math.round((a-r)/(i-r)*100)};Object(s.useEffect)((function(){Dt&&Ft(!1),Rt&&Pt(!1),"usa-spending"===dt?(gt(_e),ct([]),Ee(Object(K.a)({context:De,key:ye}))):"foreign-assistance"===dt&&(mt(Je),nt([]),Ee(Object(K.a)({context:De,key:Ce}))),Ct("")}),[dt]);var Nn=function(){return Object(c.a)({},Object.fromEntries(Object.entries(Object(c.a)(Object(c.a)(Object(c.a)({},jt),on()),{},{pageIndex:jt.pageIndex,pageSize:jt.pageSize,keyword:jt.keyword},Dt&&{minimumAmount:null})).map((function(e){var t=Object(o.a)(e,2),n=t[0],a=t[1];return[n,null===a?"":a]})).map((function(e){var t=Object(o.a)(e,2),n=t[0],a=t[1];return Array.isArray(a)?[n,a.map((function(e){return e.hasOwnProperty("value")?e.value:e}))]:"function"===typeof(null===a||void 0===a?void 0:a.getMonth)?[n,["dateStartTo","dateCloseTo"].includes(n)?Object(B.a)(new Date(Object(J.c)(a)+36e6)).split("+")[0]+"Z":Object(B.a)(new Date(a))]:[n,null===a?"":a]}))))},En=function(){return Object(c.a)({},Object.fromEntries(Object.entries(Object(c.a)(Object(c.a)(Object(c.a)({},Ot),bn()),{},{PageIndex:Ot.PageIndex,PageSize:Ot.PageSize,Keyword:Ot.Keyword},Dt&&{MinimumAmount:null})).map((function(e){var t=Object(o.a)(e,2),n=t[0],a=t[1];return[n,null===a?"":a]})).map((function(e){var t=Object(o.a)(e,2),n=t[0],a=t[1];return"SortOrder"===n&&0===a||"SortField"===n&&""===a?[null,null]:Array.isArray(a)?[n,a.map((function(e){return e.hasOwnProperty("value")?e.value:e}))]:"function"===typeof(null===a||void 0===a?void 0:a.getMonth)?[n,["DateStartTo","DateCloseTo"].includes(n)?Object(B.a)(new Date(Object(J.c)(a)+36e6)).split("+")[0]+"Z":Object(B.a)(new Date(a))]:[n,null===a?"":a]})).filter((function(e){var t=Object(o.a)(e,2),n=t[0];t[1];return null!==n}))))},In=function(){"usa-spending"===dt&&Ee(Object(l.c)({context:De,params:Object(c.a)({},Nn())}))},Dn=function(){"foreign-assistance"===dt&&Ee(Object(d.c)({context:De,params:Object(c.a)({},En())}))};Object(s.useEffect)((function(){_t.current?In():_t.current=!0}),[dt,jt]),Object(s.useEffect)((function(){$t.current?Dn():$t.current=!0}),[dt,Ot]),Object(s.useEffect)((function(){(D.a.isDone(Ze)||D.a.isError(Ze))&&"usa-spending"===dt&&Cn(F.d,nt)}),[Ze]),Object(s.useEffect)((function(){(D.a.isDone(Ze)||D.a.isError(Ze))&&"foreign-assistance"===dt&&Cn(F.b,ct)}),[Ze]),Object(s.useEffect)((function(){return D.a.isNull(Ue.fetchStatus)&&Ee(Object(l.b)(De)),D.a.isNull(Ye.fetchStatus)&&Ee(Object(d.b)(De)),function(){nt([]),ct([]),Ee(Object(l.g)()),Ee(Object(d.g)())}}),[]),Object(s.useEffect)((function(){en&&(In(),Dn(),Ee(Object(l.f)()),Ee(Object(d.f)()),Jt(null))}),[Le,Be,Ge,Ke]);var Fn=function(){var e=dt?Object.entries("usa-spending"===dt?jt:Ot).filter((function(e){var t=Object(o.a)(e,2),n=t[0],a=t[1];return(Array.isArray(a)?a.length>0:!!a)&&!["pageindex","pagesize","sort","sortfield","sortorder"].includes(n.toLowerCase())})).length-(Dt?1:0):0;return e>0?Object(Y.jsx)(j.a,{sx:{position:"absolute",height:"16px",width:"16px",top:"2px",right:"2px",fontSize:"12px",backgroundColor:Ie.palette.secondary.main,pointerEvents:"none"},children:e}):Object(Y.jsx)(Y.Fragment,{})},kn=function(){return Object(Y.jsxs)(Y.Fragment,{children:[Object(Y.jsxs)(m.a,{size:"small",children:[Object(Y.jsx)(N.a,{onClick:function(){return"foreign-assistance"===dt&&fn("usa-spending")},variant:"usa-spending"===dt?"contained":"outlined",children:"USA Spending"}),Object(Y.jsx)(N.a,{onClick:function(){return"usa-spending"===dt&&fn("foreign-assistance")},variant:"foreign-assistance"===dt?"contained":"outlined",children:"Foreign Assistance"})]}),Object(Y.jsx)(f.a,{value:yt,onChange:hn,sx:{width:"300px"},InputProps:{startAdornment:Object(Y.jsx)(T.a,{sx:{color:Ie.palette.action.active}}),endAdornment:Object(Y.jsxs)(Y.Fragment,{children:[(null===yt||void 0===yt?void 0:yt.length)>0&&Object(Y.jsx)(h.a,{onClick:function(){return hn({target:{value:""}})},sx:{mr:.5},disabled:D.a.isFetching(Re)||D.a.isFetching(We),children:Object(Y.jsx)(P.a,{})}),Object(Y.jsx)(O.a,{sx:{borderLeft:"solid 1px ".concat(Ie.palette.divider),pl:.5},children:Object(Y.jsx)(g.a,{title:"Filters",children:Object(Y.jsxs)("span",{children:[Object(Y.jsx)(h.a,{onClick:gn,children:Object(Y.jsx)(M.a,{sx:{width:"24px",height:"24px"}})}),Fn()]})})})]}),sx:{px:.5}},size:"small",placeholder:"Search",disabled:D.a.isFetching(Re)||D.a.isFetching(We)})]})},Tn=function(){return Object(Y.jsx)($.a,{direction:{xs:"column",md:"row"},sx:{width:"100%",justifyContent:"space-between",pr:3},children:Object(Y.jsxs)($.a,{direction:"row",sx:{gap:2,alignItems:"center"},children:[Object(Y.jsx)(f.a,{value:yt,onChange:hn,sx:{width:"300px"},InputProps:{startAdornment:Object(Y.jsx)(T.a,{sx:{color:Ie.palette.action.active}}),endAdornment:Object(Y.jsxs)(Y.Fragment,{children:[(null===yt||void 0===yt?void 0:yt.length)>0&&Object(Y.jsx)(h.a,{onClick:function(){return hn({target:{value:""}})},sx:{mr:.5},disabled:D.a.isFetching(Re)||D.a.isFetching(We),children:Object(Y.jsx)(P.a,{})}),Object(Y.jsx)(O.a,{sx:{borderLeft:"solid 1px ".concat(Ie.palette.divider),pl:.5},children:Object(Y.jsx)(g.a,{title:"Filters",placement:"right",children:Object(Y.jsxs)("span",{children:[Object(Y.jsx)(h.a,{onClick:gn,children:Object(Y.jsx)(M.a,{sx:{width:"24px",height:"24px"}})}),Fn()]})})})]}),sx:{px:.5}},size:"small",placeholder:"Search",disabled:D.a.isFetching(Re)||D.a.isFetching(We)}),Object(Y.jsxs)(O.a,{children:[Object(Y.jsxs)(x.a,{variant:"subtitle2",color:"textSecondary",sx:{display:"flex",alignItems:"center"},children:["Source:"," ","usa-spending"===dt?"USA Spending":"Foreign Assistance"]}),Object(Y.jsxs)(x.a,{variant:"subtitle2",color:"textSecondary",sx:{display:!Me&&"usa-spending"===dt||!ze&&"foreign-assistance"===dt?"none":"flex",alignItems:"center"},children:[Object(Y.jsx)(me.a,{sx:{height:"16px",width:"16px",mr:.5,mt:"-2px"}}),"Last updated:"," ","usa-spending"===dt?Me?Object(Q.a)(new Date(Me),"dd MMMM yyyy, HH:mm"):"N/A":ze?Object(Q.a)(new Date(ze),"dd MMMM yyyy, HH:mm"):"N/A"]})]})]})})},Rn=function(e,t){return Object(Y.jsx)(he.a,{title:t.isMyProject?"Remove from MyProjects":"Add to MyProjects",querySelectors:"[data-virtuoso-scroller]",children:Object(Y.jsx)("span",{children:Object(Y.jsx)(h.a,{color:t.isMyProject?"error":"success",sx:{border:"solid 2px",backgroundColor:Object(v.a)(Ie.palette[t.isMyProject?"error":"success"].main,.1)},onClick:function(){return function(e,t){Jt(e),Ee("usa-spending"===dt?t?Object(l.e)({uniqueAwardId:e,context:De}):Object(l.a)({uniqueAwardId:e,context:De}):t?Object(d.e)({uniqueId:e,context:De}):Object(d.a)({uniqueId:e,context:De}))}(e,t.isMyProject)},disabled:tn&&e===Zt,children:t.isMyProject?Object(Y.jsx)(xe,{}):Object(Y.jsx)(ge,{sx:{height:"18px !important",width:"18px !important"}})})})})},Pn=function(e,t){return Object(Y.jsx)($.a,{direction:"row",sx:{width:"100%",gap:3},children:t.map((function(t,n){var a,r,i,o,s,l,d,u,p,b,j,m=null!==(a=t.startDate)&&void 0!==a?a:t.activityStartDate,f=null!==(r=t.currentEndDate)&&void 0!==r?r:t.activityEndDate,h=!!m&&!m.toString().includes("0001-01-01T00:00:00")&&!!f&&!f.toString().includes("0001-01-01T00:00:00"),g=t.uniqueAwardId?t.uniqueAwardId:t.activityId;return Object(Y.jsxs)(y.a,{sx:{my:1,width:"100%",p:2,display:"flex",flexDirection:"column",justifyContent:"space-between"},variant:"outlined",children:[Object(Y.jsxs)(O.a,{children:[Object(Y.jsxs)(x.a,{fontWeight:400,variant:"subtitle2",color:"textSecondary",children:["Project Number: ",Object(Y.jsx)("strong",{children:null!==(i=t.projectNumber)&&void 0!==i?i:"-"})]}),Object(Y.jsx)(x.a,{variant:"h6",color:"primary",children:null!==(o=t.projectName)&&void 0!==o?o:"-"}),Object(Y.jsx)(x.a,{fontWeight:400,variant:"subtitle2",color:"textSecondary",sx:{display:"-webkit-box",overflow:"hidden",WebkitBoxOrient:"vertical",WebkitLineClamp:2},onClick:function(){var e,n;return n={propertyName:"projectDescription",propertyLabel:"Description",content:null!==(e=t.projectDescription)&&void 0!==e?e:"-"},Ht(n),void Kt(!0)},children:null!==(s=t.projectDescription)&&void 0!==s?s:"-"})]}),Object(Y.jsxs)(O.a,{children:[Object(Y.jsxs)($.a,{direction:"row",sx:{width:"100%",borderTop:"solid 1px ".concat(Ie.palette.divider),borderBottom:"solid 1px ".concat(Ie.palette.divider),gap:3,my:1,py:1,justifyContent:"space-between"},children:[Object(Y.jsxs)(O.a,{children:[Object(Y.jsxs)($.a,{direction:"row",sx:{gap:1,alignItems:"center"},children:[Object(Y.jsx)(ne.a,{sx:{height:"18px !important",width:"18px !important"}}),Object(Y.jsx)(x.a,{variant:"subtitle2",color:"inherit",children:null!==(l=t.country)&&void 0!==l?l:"-"})]}),Object(Y.jsxs)($.a,{direction:"row",sx:{gap:1,alignItems:"center"},children:[Object(Y.jsx)(X.a,{sx:{height:"18px !important",width:"18px !important"}}),Object(Y.jsx)(x.a,{variant:"subtitle2",color:"inherit",children:"usa-spending"===dt?null!==(d=t.awardingAgencyName)&&void 0!==d?d:"-":null!==(u=t.technicalSector)&&void 0!==u?u:"-"})]})]}),Object(Y.jsxs)(O.a,{sx:{display:"flex",flexDirection:"column",alignItems:"flex-end"},children:[Object(Y.jsxs)($.a,{direction:"row",sx:{gap:1,alignItems:"center","& > svg":{fill:Ie.palette.text.primary,height:"18px !important",width:"18px !important"}},children:[Object(Y.jsx)(je.a,{}),Object(Y.jsxs)(x.a,{variant:"subtitle2",color:"inherit",children:["foreign-assistance"===dt?"".concat(ae.a.format(Math.round(null!==(p=t.disbursements)&&void 0!==p?p:0))," disbursements"):"".concat(ae.a.format(Math.round(null!==(b=t.currentAmount)&&void 0!==b?b:0))," current award amount"),Object(Y.jsx)("span",{children:" (".concat(ae.a.format(Math.round(null!==(j=t.obligations)&&void 0!==j?j:0))," obligated)")})]})]}),"usa-spending"===dt&&Object(Y.jsxs)($.a,{direction:"row",sx:{gap:1,alignItems:"center"},children:[Object(Y.jsx)(X.a,{sx:{height:"18px !important",width:"18px !important"}}),Object(Y.jsx)(x.a,{variant:"subtitle2",color:"inherit",children:de(t.awardMechanism,Ue.mechanism)})]})]})]}),Object(Y.jsxs)(O.a,{sx:{position:"relative",my:1,height:"16px","& > p":{position:"absolute",right:"10px",margin:"1px 0 0 0",padding:"0",fontStyle:"normal",fontWeight:"400",fontSize:"12px",lineHeight:"15px",color:h?Ie.palette.primary.contrastText:"#605F5F",zIndex:"10"}},children:[h?Object(Y.jsxs)("p",{children:[Sn(Object(c.a)(Object(c.a)({},t),{},{startDate:m,currentEndDate:f})),"% completed"]}):Object(Y.jsx)("p",{children:"Data not available"}),Object(Y.jsx)(C.a,{color:h?"success":"inherit",sx:{height:"100%",borderRadius:"4px"},variant:"determinate",value:h?Sn(Object(c.a)(Object(c.a)({},t),{},{startDate:m,currentEndDate:f})):0})]}),Object(Y.jsxs)($.a,{direction:{xs:"column",sm:"row"},sx:{mt:2,justifyContent:"space-between",alignItems:"center"},children:[Object(Y.jsx)(ie.b,{to:"/project-view/record?projectNumber=".concat(t.projectNumber,"&fa=").concat("foreign-assistance"===dt),target:"_blank",rel:"noopener noreferrer",children:Object(Y.jsx)(N.a,{variant:"secondaryContained",children:"View Details"})}),Rn(g,t)]})]})]},"".concat(n,"-").concat(e,"-card-row-cell"))}))},"".concat(e,"-card-row"))};return Object(Y.jsxs)(Y.Fragment,{children:[we&&Object(Y.jsxs)(O.a,{sx:{display:"flex",position:"relative",zIndex:9999,bottom:"-2px"},children:[Object(Y.jsx)(N.a,{onClick:function(){return"foreign-assistance"===dt&&fn("usa-spending")},variant:"usa-spending"===dt?"outlined":"text",sx:Object(c.a)({minWidth:"160px"},"usa-spending"===dt?{color:Ie.palette.text.primary,backgroundColor:Ie.palette.background.paper,border:"solid 1px ".concat(Ie.palette.divider),borderBottom:"none",borderRadius:"8px 8px 0 0 !important","&:hover":{border:"solid 1px ".concat(Ie.palette.divider),borderBottom:"none"}}:{color:Ie.palette.text.secondary}),children:"USA Spending"}),Object(Y.jsx)(N.a,{onClick:function(){return"usa-spending"===dt&&fn("foreign-assistance")},variant:"foreign-assistance"===dt?"outlined":"text",sx:Object(c.a)({minWidth:"160px"},"foreign-assistance"===dt?{color:Ie.palette.text.primary,backgroundColor:Ie.palette.background.paper,border:"solid 1px ".concat(Ie.palette.divider),borderBottom:"none",borderRadius:"8px 8px 0 0 !important","&:hover":{border:"solid 1px ".concat(Ie.palette.divider),borderBottom:"none"}}:{color:Ie.palette.text.secondary}),children:"Foreign Assistance"})]}),Object(Y.jsxs)(O.a,{sx:Object(c.a)({width:"100%",position:"relative"},z),children:[(null===dt||"usa-spending"===dt&&!tt.length||"foreign-assistance"===dt&&!it.length)&&Object(Y.jsx)(O.a,{sx:{position:"absolute",p:4,height:"100%",width:"100%",zIndex:10,display:"flex",justifyContent:"center",alignItems:"center"},children:Object(Y.jsx)(A.a,{})}),Object(Y.jsxs)(O.a,{sx:Object(c.a)({display:"flex",flexDirection:"column",width:"100%",height:"100%",transition:"background-color 75ms"},(null===dt||"usa-spending"===dt&&!tt.length||"foreign-assistance"===dt&&!it.length)&&{backgroundColor:Ie.palette.background.paper}),children:[Object(Y.jsxs)(w.a,{open:St,onClose:function(){return xn()},variant:"temporary",anchor:"right",sx:{zIndex:2147483639},PaperProps:{sx:{width:"480px","& > div":{px:2}}},children:[Object(Y.jsxs)(O.a,{sx:{display:"flex",alignItems:"center",gap:"16px",backgroundColor:Ie.palette.secondary.light,borderBottom:"solid 3px ".concat(Ie.palette.secondary.main),py:3},children:[Object(Y.jsx)(M.a,{}),Object(Y.jsx)(x.a,{variant:"h5",children:null===dt?"":"usa-spending"===dt?"USA Spending Filters":"Foreign Assistance Filters"})]}),Object(Y.jsx)(O.a,{sx:{py:2,overflowY:"scroll",flex:1,"& > form":{display:"flex",flexDirection:"column",gap:"20px"}},children:Object(Y.jsx)(G,{filtersFormId:ve,tableContext:dt,usaSpendingControl:an,foreignAssistanceControl:dn,usaSpendingHandleSubmit:rn,foreignAssistanceHandleSubmit:un,onUsaSpendingFiltersSubmit:function(e){Object(_.a)(e,(function(){mt((function(t){return Object(c.a)(Object(c.a)({},t),e)})),setTimeout((function(){xn(!1,!1)}),150)}))},onForeignAssistanceFiltersSubmit:function(e){Object(_.a)(e,(function(){gt((function(t){return Object(c.a)(Object(c.a)({},t),e)})),setTimeout((function(){xn(!1,!1)}),150)}))},minimumAmountDisabled:Dt,setMinimumAmountDisabled:Ft,showOnlyRecentRecords:Rt,handleChangeShowOnlyRecentRecords:function(){Pt((function(e){var t="usa-spending"===dt?"dateStartFrom":"DateStartFrom",n="usa-spending"===dt?"dateStartTo":"DateStartTo",a="usa-spending"===dt?"dateCloseFrom":"DateCloseFrom";return e?(vn(a,Object(B.a)(Date.today())),vn(t,""),vn(n,"")):(vn(a,""),vn(t,Object(B.a)(new Date(Date.today().addDays(-90)))),vn(n,Object(B.a)(Date.today()))),!e}))}})}),Object(Y.jsx)(S.a,{}),Object(Y.jsxs)(O.a,{sx:{display:"flex",alignItems:"center",justifyContent:"flex-end",gap:"16px",py:2},children:[Object(Y.jsx)(N.a,{variant:"secondaryContained",color:"secondary",onClick:function(){return xn()},children:"Cancel"}),Object(Y.jsx)(N.a,{variant:"secondaryContained",color:"secondary",onClick:function(){Dt&&Ft(!1),Rt&&Pt(!1),"usa-spending"===dt?cn(Je):"foreign-assistance"===dt&&pn(_e)},children:"Clear"}),Object(Y.jsx)(N.a,{variant:"contained",color:"secondary",type:"submit",form:ve,children:"Save"})]})]}),Object(Y.jsx)(ee.a,{open:Gt,handleClose:wn,handleAccept:wn,disableCancelButton:!0,title:null===Wt||void 0===Wt?void 0:Wt.propertyLabel,children:Object(Y.jsx)(x.a,{variant:"body1",dangerouslySetInnerHTML:{__html:null!==(t=null===Wt||void 0===Wt?void 0:Wt.content)&&void 0!==t?t:""}})}),null===dt?Object(Y.jsx)(Y.Fragment,{}):"usa-spending"===dt?tt.length>0?Object(Y.jsx)(I.b,Object(c.a)(Object(c.a)({},Oe?{CardVariant:"outlined"}:{TableContainerComponent:O.a,tableContainerComponentSx:{border:"solid 1px ".concat(Ie.palette.divider)}}),{},{config:Object(c.a)(Object(c.a)({allowFullscreen:Oe},D.a.isNull(Re)&&{noDataMessage:"Select filters to see data"}),{},{data:Te.map((function(e){return Object(c.a)(Object(c.a)({},e),{},{awardMechanism:An(e.awardMechanism),view:Object(Y.jsxs)($.a,{direction:"row",sx:{gap:1,alignItems:"center"},children:[we&&Rn(e.uniqueAwardId?e.uniqueAwardId:e.activityId,e),Object(Y.jsx)(he.a,{title:"View",querySelectors:"[data-virtuoso-scroller]",children:Object(Y.jsx)("span",{children:Object(Y.jsx)(h.a,{color:"primary",sx:{border:"solid 2px",backgroundColor:Object(v.a)(Ie.palette.primary.main,.1)},component:"a",href:"/project-view/record?projectNumber=".concat(null===e||void 0===e?void 0:e.projectNumber,"&fa=false"),disabled:!e.projectNumber,rel:"noreferrer noopener",target:"_blank",children:Object(Y.jsx)(Z.a,{sx:{height:"16px",width:"16px"}})})})})]})})})),columns:tt,stickyColumns:ot,header:se?kn():Tn(),columnsConfiguration:{allowColumnsConfiguration:!0,onSaveColumnsConfiguration:function(e){return yn(e,ye)},columnsSettingsKey:ye},allowViewTypeSwitch:Oe,renderCardRowFunction:Pn,exportExcelFunc:we?Object(i.a)(r.a.mark((function e(){return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(e.t0=ce.e,e.t1="Aidkonekt_projects_plus_".concat((new Date).getFullYear()),e.t2=ue,!pe){e.next=9;break}return e.next=6,pe(De,Nn(),Pe);case 6:e.t3=e.sent,e.next=10;break;case 9:e.t3=Te;case 10:return e.t4=e.t3,e.t5=Ue.mechanism,e.t6=(0,e.t2)(e.t4,e.t5,!1),e.abrupt("return",(0,e.t0)("Projects+",e.t1,e.t6));case 14:case"end":return e.stop()}}),e)}))):void 0}),loading:D.a.isFetching(Re),onPageChange:function(e,t){return mt((function(e){return Object(c.a)(Object(c.a)({},e),{},{pageIndex:t})}))},onRowsPerPageChange:function(e){return mt((function(t){return Object(c.a)(Object(c.a)({},t),{},{pageSize:+e.target.value,pageIndex:0})}))},pagination:{page:jt.pageIndex,rowsPerPage:jt.pageSize,total:Pe},currentSort:{sortOrder:null!==(n=jt.sortOrder)&&void 0!==n?n:0,sortField:null!==(a=jt.sortField)&&void 0!==a?a:""},onSortClick:function(e){return mt((function(t){var n=e.propertyName;return t.sortField===n?0===t.sortOrder?Object(c.a)(Object(c.a)({},t),{},{pageIndex:0,sortField:n,sortOrder:1}):1===t.sortOrder?Object(c.a)(Object(c.a)({},t),{},{pageIndex:0,sortField:n,sortOrder:-1}):Object(c.a)(Object(c.a)({},t),{},{pageIndex:0,sortField:"",sortOrder:0}):Object(c.a)(Object(c.a)({},t),{},{pageIndex:0,sortField:n,sortOrder:1})}))}})):Object(Y.jsx)(Y.Fragment,{}):it.length>0?Object(Y.jsx)(I.b,Object(c.a)(Object(c.a)({},Oe?{CardVariant:"outlined"}:{TableContainerComponent:O.a,tableContainerComponentSx:{border:"solid 1px ".concat(Ie.palette.divider)}}),{},{config:Object(c.a)(Object(c.a)({allowFullscreen:Oe},D.a.isNull(We)&&{noDataMessage:"Select filters to see data"}),{},{data:Qe.map((function(e){return Object(c.a)(Object(c.a)({},e),{},{view:Object(Y.jsxs)($.a,{direction:"row",sx:{gap:1,alignItems:"center"},children:[we&&Rn(e.uniqueAwardId?e.uniqueAwardId:e.activityId,e),Object(Y.jsx)(he.a,{title:"View",querySelectors:"[data-virtuoso-scroller]",children:Object(Y.jsx)("span",{children:Object(Y.jsx)(h.a,{color:"primary",sx:{border:"solid 2px",backgroundColor:Object(v.a)(Ie.palette.primary.main,.1)},component:"a",href:"/project-view/record?projectNumber=".concat(null===e||void 0===e?void 0:e.projectNumber,"&fa=true"),disabled:!e.projectNumber,rel:"noreferrer noopener",target:"_blank",children:Object(Y.jsx)(Z.a,{sx:{height:"16px",width:"16px"}})})})})]})})})),columns:it,stickyColumns:ot,header:se?kn():Tn(),columnsConfiguration:{allowColumnsConfiguration:!0,onSaveColumnsConfiguration:function(e){return yn(e,Ce)},columnsSettingsKey:Ce},allowViewTypeSwitch:Oe,renderCardRowFunction:Pn,exportExcelFunc:we?Object(i.a)(r.a.mark((function e(){return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(e.t0=ce.e,e.t1="Aidkonekt_foreign_assistance_".concat((new Date).getFullYear()),e.t2=ue,!be){e.next=9;break}return e.next=6,be(De,En(),He);case 6:e.t3=e.sent,e.next=10;break;case 9:e.t3=Qe;case 10:return e.t4=e.t3,e.t5=Ue.mechanism,e.t6=(0,e.t2)(e.t4,e.t5,!0),e.abrupt("return",(0,e.t0)("Foreign Assistance",e.t1,e.t6));case 14:case"end":return e.stop()}}),e)}))):void 0}),loading:D.a.isFetching(We),onPageChange:function(e,t){return gt((function(e){return Object(c.a)(Object(c.a)({},e),{},{PageIndex:t})}))},onRowsPerPageChange:function(e){return gt((function(t){return Object(c.a)(Object(c.a)({},t),{},{PageSize:+e.target.value,PageIndex:0})}))},pagination:{page:Ot.PageIndex,rowsPerPage:Ot.PageSize,total:He},currentSort:{sortOrder:null!==(k=Ot.SortOrder)&&void 0!==k?k:0,sortField:null!==(R=Ot.SortField)&&void 0!==R?R:""},onSortClick:function(e){return gt((function(t){var n=e.propertyName;return t.SortField===n?0===t.SortOrder?Object(c.a)(Object(c.a)({},t),{},{PageIndex:0,SortField:n,SortOrder:1}):1===t.SortOrder?Object(c.a)(Object(c.a)({},t),{},{PageIndex:0,SortField:n,SortOrder:-1}):Object(c.a)(Object(c.a)({},t),{},{PageIndex:0,SortField:"",SortOrder:0}):Object(c.a)(Object(c.a)({},t),{},{PageIndex:0,SortField:n,SortOrder:1})}))}})):Object(Y.jsx)(Y.Fragment,{})]})]})]})}},48:function(e,t,n){"use strict";n.d(t,"b",(function(){return s})),n.d(t,"c",(function(){return l})),n.d(t,"a",(function(){return d}));var a=n(3),r=n(5),i=n.n(r),c=n(10),o=n(1),s=function(e,t){return function(){var n=Object(c.a)(i.a.mark((function n(a){var r;return i.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(console.error(a),n.prev=1,!a||!(409===a.status||a.response&&409===a.response.status)){n.next=14;break}if(!(a instanceof Response)){n.next=9;break}return n.next=6,a.json();case 6:n.t0=n.sent,n.next=10;break;case 9:n.t0=a.response.data;case 10:r=n.t0,e(r.message),n.next=15;break;case 14:t&&t(a);case 15:n.next=20;break;case 17:n.prev=17,n.t1=n.catch(1),t&&t(a);case 20:case"end":return n.stop()}}),n,null,[[1,17]])})));return function(e){return n.apply(this,arguments)}}()};function l(e,t){var n=Object(o.useState)(e),r=Object(a.a)(n,2),i=r[0],c=r[1];return Object(o.useEffect)((function(){var n=setTimeout((function(){c(e)}),t);return function(){clearTimeout(n)}}),[e]),i}function d(e,t){return e.sortField!==t?-1:e.sortOrder}},496:function(e,t,n){},50:function(e,t,n){"use strict";n.d(t,"a",(function(){return b})),n.d(t,"e",(function(){return j})),n.d(t,"d",(function(){return m})),n.d(t,"b",(function(){return f})),n.d(t,"c",(function(){return h}));var a,r,i,c,o,s,l=n(2),d=(n(1),n(40)),u=n(0),p={add:null===(a=n(295))||void 0===a?void 0:a.default,remove:null===(r=n(778))||void 0===r?void 0:r.default,goTo:null===(i=n(779))||void 0===i?void 0:i.default},b=function(e){var t=e.add,n=Object(d.a)();return Object(u.jsx)("img",{src:p.add,style:n.addRemoveButtonStyle,onClick:t})},j=function(e){var t=e.remove,n=Object(d.a)();return Object(u.jsx)("img",{src:p.remove,style:n.addRemoveButtonStyle,onClick:t})},m=function(e){var t=e.openPage,n=e.disabled,a=Object(d.a)();return Object(u.jsx)("img",{src:p.goTo,style:Object(l.a)(Object(l.a)({},a.navigateToExternalSiteButtonStyle),{},{cursor:n?"default":"pointer"}),onClick:n?function(){}:t})},f=function(e,t,n){var a=e.closest(".p-datatable-scrollable");if(a){s=function(e){return O(e,t,a)},a.addEventListener("click",s,!1),c=a.getAttribute("style");var r="position: ".concat(n?"fixed":"absolute",";")+"left: 50%;transform: translate(-50%, -50%);background-color: rgba(0,0,0,0.7);width: 100%;height: 100%;z-index: 1000;top: 50%;margin-top: 0px;padding: 2%;";a.setAttribute("style",r);var i=a.querySelector(".p-datatable-header"),l=a.querySelector(".p-paginator-bottom"),d=g(i),u=g(l),p=.8*document.documentElement.clientHeight-d-u,b=a.querySelector(".p-datatable-scrollable-body");if(b){o=b.getAttribute("style");var j="overflow-y: scroll;"+"max-height: ".concat(p,"px;");b.setAttribute("style",j)}}},h=function(e){var t=e.closest(".p-datatable-scrollable");if(t){t.removeEventListener("click",s,!1),t.setAttribute("style",c||""),c=null;var n=t.querySelector(".p-datatable-scrollable-body");n&&(n.setAttribute("style",o||""),o=null)}},O=function(e,t,n){n==e.target&&(e.preventDefault(),h(n),t())},g=function(e){if(!e)return 0;var t=e.getBoundingClientRect();return t?t.height:0}},506:function(e,t,n){"use strict";n.r(t),t.default=n.p+"static/media/AidkonektLogoLarge.7f4c110d.png"},507:function(e,t,n){},52:function(e,t,n){"use strict";var a=n(1),r=a.createContext({current:null});t.a=r},53:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var a=n(3),r=n(18),i=function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,i=arguments.length>2&&void 0!==arguments[2]&&arguments[2],c=[];return null===(t=Object.entries(e))||void 0===t||t.forEach((function(e){var t=Object(a.a)(e,2),o=t[0],s=t[1];if(!(void 0===s||i&&(!s&&0!==s||Array.isArray(s)&&!(null===s||void 0===s?void 0:s.length))))if(Array.isArray(s))n?c.push("".concat(encodeURIComponent(o),"=").concat(encodeURIComponent(s.map((function(e){return e})).join(n)))):s.forEach((function(e){return c.push("".concat(encodeURIComponent(o),"=").concat(encodeURIComponent(e)))}));else{var l="".concat(encodeURIComponent(o),"=").concat(encodeURIComponent("function"===typeof(null===s||void 0===s?void 0:s.getMonth)?Object(r.d)(s):s));c.push(l.replaceAll("%26","&"))}})),c.length>0?"?".concat(c.join("&")):""}},570:function(e,t,n){},577:function(e,t,n){"use strict";n.r(t),t.default="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASYAAACpCAYAAACGVZBjAAAACXBIWXMAAAsSAAALEgHS3X78AAAMJklEQVR4nO2d0XEbRxZF20rA3gjEDMhdBCDqC5/iRkAoAtEReBzBUhGIisDgn/G1YACoJTIgI7AZgbaaepBGIEBigJ6e7nfPqWK57KLJwYBz8fp133d/+vLlSwB4jlEzOwkh/GJfJ61vvbOvsGjGc24ipAJhgh8YNbMoPmchhFMToeMOd+g+hHAbQogiNV004zvuLuwDwgRtMZqEEN4kvCPLEMIVIgVdQZiEMUG6sK+fe74Tn0MIDQIFu4AwCZJZkNZBoOBFECYxRs3s1JZXrwd85Q8mTpeSbwK8CMIkxKiZRSH4UNArvom9rUUz/ruAa4GCQJgEsKXbvOMOWy5i9XS6aMa36u8TfOcV98I3dgbptlBRCtbjmo+a2aSAa4FCoGJyjInSfIAG9768XzTjK5X3B7ZDxeQUW75dVSRKkU9UThComHxSeE/pJeg5ARWTU2oVpdDqOZ3s8L3gFITJGaNmdlWxKK1AnMRBmBwxambxJPe5k1cUxWlqy1IQA2FygjWN/+PsZb22yglxEoPmtwMqPBbQlaU1xDkhLgIVU+WMmtmRc1EK1jNjEJ0QCFPF2BJn6lyUVhxbYx8EQJjqZupgB64L54iTBghTpdgDmnLaZC0gTgIgTBViO3BejgXsw7kdjQCnsCtXGaNmFmdz/6F+HwxMv05BmCpC4FjAPiBODkGYKsF24O4QpY28JdfOF/SYKqA1LQBR2swUX50vEKY6uBQ7FtAVTL/OQJgKxwIElHfgdgVxcgQ9poKxYwGf1O9DR/DVOQBhKhTLf/uv+n3YE8SpcljKFYgtR6bq9+EAjhmXUjcIU2GIGXP75NjCGKBCEKbymA8c3+2Jd/jq6gRhKggn87pLA9NvhSBMhTBqZg3HAnrj3I5dQCWwK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xxVPLDaef75DCP8HaGD9UVc0rQgAAAAASUVORK5CYII="},578:function(e,t,n){"use strict";n.r(t),t.default="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAARCAYAAADKZhx3AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAJBSURBVEhLpZM9aBRBFMdnzghXWHhY2IigIGK5J4o2FsEzexLFRhA0iB+Fiq1gCNyyacRgITbBKo1fCIpEzZ2IiAiCH0musVDE2NkIp4VwiHfr7+2M681mk2zMD/733v/t3r59Mzu6HDTeKKV2ICFCE63iqtNzwxXJVwzP3024gzbGBcPHAj9/mwoanSy1O4+MXRnlWn0X4THqbSqskcYNkzvs500v2fy/KAf1LUrrB6QlU0n4gc4WuqpvkOR1XHK5SPNDNl8W/G8TiycDrTeVhDb7d2om9CcLzXBvB+NT/GSuOdz2gsYem+eC+zcQ7qHNceEfXXRuNvTlmpKlVpjvhAHUEt9DkU2/79Xq6T3KhElL3H+T1DOVBGk6wqQTxtrGAsXPKooqpOmveZ3WusGerbY+E5quJVxHWSt0Ratfl20ekzQWZkar04SqcQ7b2LNJm89je/C0jzCODscFl2v8d2Q6POgM5DQWmPwJQwfW9uIzVWhzh0h1rhKOGOdwl1VkiQd+W58g5zYTmsgEZ4xzOMrL3bK53DdGuGCcw/NupA40R/2f1jss2Fjgoc8I/cYlyJINo7dIjtt5lH7OKzTIC6Y/1oRFG3u1qaLWhRekO00lF+8jFVVmw+pX6zNZtLHgBXWOiH5Hmj6XWXxB/Uw6Z+zCLNlYYMm3EpqoGBeyabEHTOrLyViSeV91FkzwgbDPuExkL4/lbSrkaizQ/CVhyDiHNjrO9Slj85G7scDDbxBOoG9xQSnZ+yHqD43Ni1J/ACiQn0M5f2roAAAAAElFTkSuQmCC"},579:function(e,t,n){"use strict";n.r(t),t.default="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAYCAYAAAH/g49WAAAABGdBTUEA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AoMlcSyQELRXm91YhAzKRsbdKuufBfjgdQQ0RauE9UBEBZzt3jjgZn9QWa47i8DACGdBqgS6E30ag7cLzvfJlm6Nq6SOTNNgi795tzvCjHVCEgAxAAj1oE2DiipmI1e2AecgyftJDGSkAzdeeFx+Md6NInWNAwgYhbfcMiDhLRMWO/TbbN6LvhSBeBO4kRVwPGXUH/UMkRFyMzM/NkskP1uCvIR5xMQcWCMt85gHWBXUj5abgoXRuMP07fMN/IZlwZ6SfeN6p7d+Rw4w1GBAOq9M2q3XbH8XJmBaEfySaTiPOisra0BcoMv7E+b2gqawzHcFb5qOsaXP1jevsDzen3/KiHrEuVaKR0z4BauaZUE+fNDI6i9e+VFgmsHF/oV7jtnRswyMw7TVj5ypl7Rz5O9kmr51Iyz8+lAwh8BlR0wyOSJWMFC+dLyavzDyqTjtS5gIXu7jzS75rpPVttU6LgVJLXeL+No+XbycMSs9ASsdEl1aSy+W+sh5JalaPLXRVOq1/GtLSgSUQDb6uQ8KE0Ykv/yAdFu/samdcK8kgdWe0ud1PfJE/ONh6XByhkbVA5mXoy0QIqYi857QhxnFWe/r5e/BW7moSlBLlRPlLAyIJUJYGhfk6ijGhy58r3KmgfcK6IcT4ZEiLiUWJXAXl0D47p6Vbo+Dw6LUgkiKT9Ex28L60KHIwc3EBFVCEMpmHr9pasahqP/Givg6+zykjUz0zaAzJpCFCZiwi75Rnyc9UMqqiXUVGv7UORo+DZkybu8W0LB/BogHUM1yWFkO9ImpwUT8VvItFk+tChXOK4dv5uQluGBSp3lquiIV9zGf87Izy88OCgYIczpfmg5e7sYI+NYXa1Scz4JEONw2BlnN8+9tkho+7If4p/Ab3nUtasMzl2wAAAABJRU5ErkJggg=="},60:function(e,t,n){"use strict";var a;n.d(t,"a",(function(){return a})),n.d(t,"q",(function(){return r})),n.d(t,"h",(function(){return i})),n.d(t,"s",(function(){return c})),n.d(t,"j",(function(){return o})),n.d(t,"p",(function(){return s})),n.d(t,"g",(function(){return l})),n.d(t,"r",(function(){return d})),n.d(t,"i",(function(){return u})),n.d(t,"k",(function(){return p})),n.d(t,"b",(function(){return b})),n.d(t,"m",(function(){return j})),n.d(t,"d",(function(){return m})),n.d(t,"l",(function(){return f})),n.d(t,"c",(function(){return h})),n.d(t,"n",(function(){return O})),n.d(t,"e",(function(){return g})),n.d(t,"o",(function(){return x})),n.d(t,"f",(function(){return v})),function(e){e.SET_WEEKLY_EMAIL_ENABLED="SET_WEEKLY_EMAIL_ENABLED",e.SAVE_WEEKLY_EMAIL_ENABLED="SAVE_WEEKLY_EMAIL_ENABLED",e.SET_WEEKLY_EMAIL_TIME="SET_WEEKLY_EMAIL_TIME",e.SAVE_WEEKLY_EMAIL_TIME="SAVE_WEEKLY_EMAIL_TIME",e.SET_WEEKLY_EMAIL_DAY="SET_WEEKLY_EMAIL_DAY",e.SAVE_WEEKLY_EMAIL_DAY="SAVE_WEEKLY_EMAIL_DAY",e.SET_WEEKLY_EMAIL_RECIPIENT="SET_WEEKLY_EMAIL_RECIPIENT",e.SAVE_WEEKLY_EMAIL_RECIPIENT="SAVE_WEEKLY_EMAIL_RECIPIENT",e.SET_DAILY_EMAIL_ENABLED="SET_DAILY_EMAIL_ENABLED",e.SAVE_DAILY_EMAIL_ENABLED="SAVE_DAILY_EMAIL_ENABLED",e.SET_DAILY_EMAIL_TIME="SET_DAILY_EMAIL_TIME",e.SAVE_DAILY_EMAIL_TIME="SAVE_DAILY_EMAIL_TIME",e.SET_DAILY_EMAIL_RECIPIENT="SET_DAILY_EMAIL_RECIPIENT",e.SAVE_DAILY_EMAIL_RECIPIENT="SAVE_DAILY_EMAIL_RECIPIENT",e.SET_FORECAST_ALERT_ENABLED="SET_FORECAST_ALERT_ENABLED",e.SAVE_FORECAST_ALERT_ENABLED="SAVE_FORECAST_ALERT_ENABLED",e.SET_FORECAST_ALERT_RECIPIENT="SET_FORECAST_ALERT_RECIPIENT",e.SAVE_FORECAST_ALERT_RECIPIENT="SAVE_FORECAST_ALERT_RECIPIENT"}(a||(a={}));var r=function(e){return{type:a.SET_WEEKLY_EMAIL_ENABLED,value:e}},i=function(){return{type:a.SAVE_WEEKLY_EMAIL_ENABLED}},c=function(e){return{type:a.SET_WEEKLY_EMAIL_TIME,value:e}},o=function(){return{type:a.SAVE_WEEKLY_EMAIL_TIME}},s=function(e){return{type:a.SET_WEEKLY_EMAIL_DAY,value:e}},l=function(){return{type:a.SAVE_WEEKLY_EMAIL_DAY}},d=function(e){return{type:a.SET_WEEKLY_EMAIL_RECIPIENT,value:e}},u=function(){return{type:a.SAVE_WEEKLY_EMAIL_RECIPIENT}},p=function(e){return{type:a.SET_DAILY_EMAIL_ENABLED,value:e}},b=function(){return{type:a.SAVE_DAILY_EMAIL_ENABLED}},j=function(e){return{type:a.SET_DAILY_EMAIL_TIME,value:e}},m=function(){return{type:a.SAVE_DAILY_EMAIL_TIME}},f=function(e){return{type:a.SET_DAILY_EMAIL_RECIPIENT,value:e}},h=function(){return{type:a.SAVE_DAILY_EMAIL_RECIPIENT}},O=function(e){return{type:a.SET_FORECAST_ALERT_ENABLED,value:e}},g=function(){return{type:a.SAVE_FORECAST_ALERT_ENABLED}},x=function(e){return{type:a.SET_FORECAST_ALERT_RECIPIENT,value:e}},v=function(){return{type:a.SAVE_FORECAST_ALERT_RECIPIENT}}},62:function(e,t,n){"use strict";n.d(t,"b",(function(){return a})),n.d(t,"a",(function(){return r}));var a=[20,50,100,1e3],r=[20,250,1e3]},629:function(e,t,n){},632:function(e,t,n){},633:function(e,t,n){"use strict";n.r(t),t.default=n.p+"static/media/icon_zip.6f05bcf1.png"},634:function(e,t,n){"use strict";n.r(t),t.default="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQIAAAErCAYAAAA17I2uAAAACXBIWXMAAAsSAAALEgHS3X78AAAVmUlEQVR4nO2dTVIbydaG0zc8p3usAe4VQK8AeqaZuStAXsHFc0UYR2huvIKGFbSYaWZYQYsVNBpo3M0KuJH4lLsQkihVZZ08mfk8EcT94ot7rSr9vPWe33zz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VAXIEXgm+53fAKlkdmmf/4DkKgwItkYZ3BeOZzBV8yuM9q9VVSm3BYGPPEh+VkeGngOrJm66qy5WR4IRnr04TehLvaDz71TTg0eBEiqfDqzsLlZDgajGfOoBjUbf1cfvC52el7hAA0aLS8NLIYvLD1BQ2i+Ht+b+A6YkKuRIGtOYJVFHIGOdn6zkjnYO4J2208LCfDn+xeXj7stM5ccgY3Ul7sUuMuwdaHoPT4mO+EEjs5gjrytDp7xbqWbOuDUHjl4PNyMjw3cB3Z0/qAE/lBP/2oRRSctMTe106nKf2JFoLbgjsMpwauoQhaOwLQoeAhsMVyMqSZSIn/FHGXaVPqUxE3oAhCYBxJoi4KvPULA9dQDAhBGpTWYntNfkkXhCANShMC3IAyCEECyNPxqpDbvaLErA9CkA4l1NMfCrlPcyAEiSCu4HPmt3lObiAOCEFaXGRcQfAJQnIDkUAIEkIWqZxkeGt3shoPIoEQJIb0FXzM6JZ8XmDEyvK40GKcKIPx7DKxzVHr8CJwzORpfHAEieKXxSReUkQEDIEQJEzCYnCHCNgCIUgcEYOvCd3FLSJgD3IEmTAYz06kFdnyUXUsGjEKQpARg/HsnYiBtUUm3gWc4QLsghBkiLiDCwNH1i2kW5ADSoyDEGSMbJ0+iyAICEBiIAQFIOdYjhRChmsfmiwnQ7YLJQZCUBCSQziRJbMhDk5ZyAJb/zelOzBdEIKCke3T/mzLn0QcnJw+vBpK3Mp//lNbTz9nUjATnHP/B4ShREWot6mVAAAAAElFTkSuQmCC"},635:function(e,t,n){},64:function(e,t,n){"use strict";n.d(t,"b",(function(){return r}));var a=n(1),r={primaryFont:"Roboto",colors:{primary:"#187AB5",secondary:"rgba(24, 122, 181, 1)",accent:"#FCB017",primaryFaded:"rgba(24, 122, 181, 1)",accentFaded:"rgba(252, 176, 23, 0.5)",offwhite:"rgba(255, 255, 255, 0.1)"},v2:{lightYellow:"rgb(250,234,203)",darkYellow:"rgb(238,173,36)",lightBlue:"rgb(203,227,242)",darkBlue:"rgb(50,126,184)",lightGrey:"rgb(217,217,217)",darkGrey:"rgb(151,151,151)",darkestGrey:"rgb(96,95,95)",black:"rgb(0,0,0)",green:"rgb(106,195,69)",accentFaded:"rgba(252, 176, 23, 0.5)"},v2Fonts:{largeHeader:"600 28px Roboto",mediumHeader:"600 24px Roboto",smediumHeader:"600 20px Roboto",smallHeader:"bold 16px Roboto",menuSelected:"600 16px Roboto",menuRootNode:"600 16px Roboto",gridData:"14px Roboto",menu:"16px Roboto",inputHeader:"bold 16px Roboto",input:"16px Roboto",contextHeader:"bold 14px Roboto",context:"14px Roboto",link:"14px Roboto"}},i=n.n(a).a.createContext(r);t.a=i},683:function(e,t,n){"use strict";(function(e){var a=n(3),r=n(1),i=n.n(r),c=n(106),o=n(9),s=n(178),l=n(223),d=n(4),u=n(52),p=n(250),b=n(176),j=n(144),m=n(337),f=n(60),h=n(39),O=n(684),g=n(698),x=n(687),v=n(67),y=n(0),C=v.a.div({border:"5px solid #D9D9D9",borderRadius:"35px",height:"70px",boxSizing:"border-box",display:"flex","& button":{background:"#FAEACD",borderRadius:"26.5px",margin:"10px",height:"40px",padding:"8px 24px",border:"none",left:"0px",cursor:"pointer",":focus":{background:"#ECAC37",border:"0px",color:"#FFFFFF"}}});t.a=Object(c.i)((function(){var t,n,c=Object(r.useContext)(o.d),v=Object(r.useContext)(u.a),A=i.a.useState(Array()),w=Object(a.a)(A,2),S=(w[0],w[1]),N=i.a.useState(""),E=Object(a.a)(N,2),I=E[0],D=E[1],F=null!==(t=null===(n=c.user.parsedIdToken)||void 0===n?void 0:n.email)&&void 0!==t?t:"",k=i.a.useState(""),T=Object(a.a)(k,2),R=T[0],P=T[1],M=Object(r.useReducer)(b.c,Object(b.b)(F,"","",F,Object(l.b)())),U=Object(a.a)(M,2),L=U[0],B=U[1],V=Object(r.useReducer)(m.c,Object(m.b)(!1,void 0,void 0,void 0,!1,void 0,void 0,!1,void 0)),Q=Object(a.a)(V,2),W=Q[0],H=Q[1],z=Object(r.useState)(Array()),Y=Object(a.a)(z,2),G=(Y[0],Y[1]),K=Object(d.b)(c),q=Object(r.useCallback)((function(){h.a.get(Object(d.f)("/api/user/profile",{useDedicatedEnvironment:!0}),K).then((function(e){var t=e.data,n=t.firstName,a=t.lastName,r=t.timezone,i=t.notifications,c=t.companyEmails,o=t.businessForecastLiveUpdateDto,d=t.events,u=t.organization,b=u.name,m=(u.tier,u.tierExpiration,r===l.c?l.d:r);B(Object(j.e)(n||"")),B(Object(j.b)()),B(Object(j.f)(a||"")),B(Object(j.c)()),B(Object(j.g)(m)),B(Object(j.d)()),D(b),S(d);var h=i.find((function(e){return e.notificationType===s.a.Daily}));if(h){var O=p.a.ONLY_ME,g=h.notificationTime;H(Object(f.k)(!0)),H(Object(f.b)()),H(Object(f.l)(O)),H(Object(f.c)()),H(Object(f.m)(g)),H(Object(f.d)())}var x=i.find((function(e){return e.notificationType===s.a.Weekly}));if(x){var v=p.a.ONLY_ME,y=x.notificationTime,C=x.notificationDay;H(Object(f.q)(!0)),H(Object(f.h)()),H(Object(f.r)(v)),H(Object(f.i)()),H(Object(f.s)(y)),H(Object(f.j)()),H(Object(f.p)(C)),H(Object(f.g)())}if(c){var A=c.map((function(e){return e.emailAddress}));G(A)}if(o&&o.recipient){var w=p.a.ONLY_ME;H(Object(f.n)(!0)),H(Object(f.e)()),H(Object(f.o)(w)),H(Object(f.f)())}})).catch((function(e){console.error(e),v.current&&v.current.show({severity:"error",summary:"Unable to load user profile"})})),h.a.get(Object(d.f)("/api/user/profile/picture",{useDedicatedEnvironment:!0}),K).then((function(t){var n=t.data,a=e.from(n,"base64").toString();P(a)})).catch((function(e){console.error(e),v.current&&v.current.show({severity:"error",summary:"Unable to load profile image"})}))}),[]);Object(r.useEffect)(q,[c]);var X=Object(r.useMemo)((function(){return{accountInformationState:L,accountInformationDispatch:B}}),[L,B]),Z=Object(r.useMemo)((function(){return{emailNotificationsState:W,emailNotificationsDispatch:H}}),[W,H]),J=i.a.useState(!0),_=Object(a.a)(J,2),$=_[0],ee=_[1],te=i.a.useState(!1),ne=Object(a.a)(te,2),ae=ne[0],re=ne[1],ie=Object(r.useRef)(null);return Object(r.useEffect)((function(){ie&&ie.current&&ie.current.focus()}),[ie]),Object(y.jsx)(b.a.Provider,{value:X,children:Object(y.jsx)(m.a.Provider,{value:Z,children:Object(y.jsxs)("div",{className:"p-col p-grid p-justify-center content-block",children:[Object(y.jsxs)("div",{className:"p-col-12 p-md-12 p-lg-12 p-xl-8",children:[Object(y.jsx)("div",{className:"p-col-12 p-md-12 p-lg-12 p-xl-12",children:Object(y.jsxs)(C,{children:[Object(y.jsx)("button",{ref:ie,onClick:function(){ee(!0),re(!1)},children:Object(y.jsx)("strong",{children:"Accounts Settings"})}),Object(y.jsx)("button",{onClick:function(){re(!0),ee(!1)},children:Object(y.jsx)("strong",{children:"Password Reset"})})]})}),Object(y.jsxs)("div",{children:[$?Object(y.jsx)(g.a,{updateBase64String:function(e){P(e)}}):null,ae?Object(y.jsx)(x.a,{user:L.username}):null]})]}),Object(y.jsx)("div",{className:"p-col-12 p-md-12 p-lg-12 p-xl-4",style:{marginTop:"8px"},children:Object(y.jsx)(O.a,{organization:I,profile:R})})]})})})}))}).call(this,n(310).Buffer)},684:function(e,t,n){"use strict";var a=n(2),r=n(1),i=n.n(r),c=n(72),o=n(199),s=n(174),l=n(9),d=n(64),u=n(176),p=n(91),b=(n(507),n(0));t.a=function(e){var t=e.organization,n=e.profile,j=Object(r.useContext)(l.d),m=Object(r.useContext)(u.a).accountInformationState,f=function(){var e=i.a.useContext(d.a);return{overviewSection:{margin:"25px 0px"},formalName:{font:e.v2Fonts.mediumHeader},companyName:{margin:"10px 0px",font:e.v2Fonts.smallHeader},overflowText:{overflowX:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}}}(),h=(Object(l.h)(j,l.b.plusOrHigher),Object(r.useMemo)((function(){return Object(l.c)(Object(l.f)(j))}),[j])),O=Object(l.j)(j,l.a.organizationMember),g=Object(l.j)(j,l.a.organizationAdmin);return Object(b.jsxs)(s.a,{children:[Object(b.jsx)("div",{className:"preview",children:Object(b.jsxs)("div",{className:"preview-details",children:[Object(b.jsx)("div",{className:"preview-details-group",children:Object(b.jsx)("div",{className:"preview-details-group-img",children:n&&Object(b.jsx)("img",{onLoad:function(e){return e.currentTarget.style.display=""},style:{borderRadius:"50%",margin:"2px",display:"none"},className:"img-centered-clipped",height:75,width:75,src:"data:image/jpeg;base64,"+n,alt:""})})}),Object(b.jsxs)("div",{className:"preview-user-details",children:[Object(b.jsx)("div",{className:"preview-user-details-name ",children:Object(b.jsxs)("p",{children:[" ",m.firstName.serverValue," ",m.lastName.serverValue]})}),Object(b.jsxs)("p",{className:"preview-user-details-title",children:[Object(b.jsxs)("span",{children:[h," ",O?Object(b.jsx)("span",{children:"member"}):Object(b.jsx)("span",{children:"admin"}),""," at"," "]}),Object(b.jsx)("span",{children:Object(b.jsx)("strong",{children:t})})]}),Object(b.jsx)("hr",{}),Object(b.jsxs)("div",{className:"preview-user-details-email-label ",children:[Object(b.jsx)("div",{className:"lable-font",children:"Email"}),Object(b.jsx)("div",{className:"time-zone-value lable-font ",children:Object(b.jsx)("strong",{children:m.email})})]}),Object(b.jsxs)("div",{className:"time-zone-group",children:[Object(b.jsx)("div",{className:"lable-font",children:"Timezone"}),Object(b.jsx)("div",{className:"time-zone-value lable-font",children:Object(b.jsx)("strong",{children:m.timeZone.currentValue})})]})]})]})}),Object(b.jsxs)("div",Object(a.a)(Object(a.a)({},Object(c.css)(f.overviewSection)),{},{className:"p-d-flex p-flex-column",style:{margin:"auto",width:"170px"},children:[g&&Object(b.jsx)(o.a,{label:"Upgrade Plan",onClick:Object(p.d)("tiers"),style:{margin:"5px 0 25px"}}),Object(b.jsx)(o.a,{label:"Contact Support",onClick:Object(p.d)(p.a),style:{margin:"5px 0"}})]}))]})}},685:function(e,t,n){"use strict";(function(e){var a=n(2),r=n(5),i=n.n(r),c=n(10),o=n(3),s=n(1),l=n.n(s),d=n(72),u=n(38),p=n(120),b=n(199),j=n(223),m=n(173),f=n(176),h=n(144),O=n(4),g=n(52),x=n(9),v=n(39),y=n(451),C=n(326),A=(n(507),n(319)),w=n(67),S=n(30),N=n(1364),E=n(159),I=n(1367),D=n(150),F=n(341),k=n(686),T=n.n(k),R=n(94),P=n(98),M=n(33),U=n(8),L=n(301),B=n(88),V=n(46),Q=n.n(V),W=n(0),H={fullWidthDropdown:{width:"100%"},fullWidth:{display:"block",width:"100%"},profileImg:{height:"75px",width:"75px",borderRadius:"50%",margin:"auto"},buttonIcon:{padding:"5px"},cropPhoto:{borderRadius:"50%",border:"1px solid #18a0fb",width:"150px",height:"150px"},uploadButton:{background:"#ECAC37",width:"auto",borderRadius:"14px",padding:"5px",border:"none",cursor:"pointer",marginBottom:"8px"}},z=w.a.img({margin:"1px",height:"115px",width:"115px",borderRadius:"50%",position:"relative"}),Y="delete my account";t.a=function(t){var n=t.updateBase64String,r=l.a.useContext(g.a),s=l.a.useContext(x.d),w=Object(L.b)(),k=Object(S.c)((function(e){return e.dashboard.deleteAccount})),V=k.fetchStatus,G=k.error,K=Object(P.b)({defaultValues:{keywordToDelete:""}}),q=K.control,X=K.watch,Z=l.a.useState(""),J=Object(o.a)(Z,2),_=J[0],$=J[1],ee=l.a.useState(!1),te=Object(o.a)(ee,2),ne=te[0],ae=te[1],re=l.a.useState("Upload"),ie=Object(o.a)(re,2),ce=ie[0],oe=ie[1],se=l.a.useContext(f.a),le=se.accountInformationState,de=se.accountInformationDispatch,ue=l.a.useState({preview:"",raw:""}),pe=Object(o.a)(ue,2),be=pe[0],je=pe[1],me=l.a.useState(!1),fe=Object(o.a)(me,2),he=fe[0],Oe=fe[1],ge=X("keywordToDelete"),xe=function(){var e=Object(c.a)(i.a.mark((function e(t){var a,c;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:ae(!0),oe("Uploading"),a=t.split("base64,")[1],c={headers:{Authorization:s.user.jwt,AccessToken:s.user.accessToken,X_Konektid_Authorization:s.user.konektidToken,"Content-Type":" image/jpeg"}},v.a.post(Object(O.f)("/api/user/profile/picture",{useDedicatedEnvironment:!0}),a,c).then((function(e){n(a),r.current.show({severity:"success",summary:"Profile picture uploaded successfully"}),ae(!1),oe("Upload")})).catch((function(e){r.current&&r.current.show({severity:"error",summary:"Unable to upload the image"})}));case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),ve=function(){var e=Object(c.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.preventDefault(),!be.raw){e.next=7;break}return e.t0=xe,e.next=5,Object(y.a)(be.raw);case 5:e.t1=e.sent,(0,e.t0)(e.t1);case 7:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),ye=Object(m.a)(),Ce=le.firstName.currentValue!==le.firstName.serverValue||le.lastName.currentValue!==le.lastName.serverValue||le.timeZone.currentValue!==le.timeZone.serverValue;l.a.useEffect((function(){v.a.get(Object(O.f)("/api/user/profile/picture",{useDedicatedEnvironment:!0}),Object(O.c)(s)).then(function(){var t=Object(c.a)(i.a.mark((function t(n){var a,r;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,n.data;case 2:a=t.sent,r=e.from(a,"base64").toString(),$(r);case 5:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()).catch((function(e){console.error(e)}))}),[]),l.a.useEffect((function(){U.a.isDone(V)?(Oe(!1),window.location.reload(),w(Object(B.l)())):U.a.isError(V)&&(Q.a.error(G),w(Object(B.l)()))}),[V]);return Object(W.jsxs)("div",{className:"p-grid",children:[Object(W.jsxs)("div",{className:"p-col-3",style:{textAlign:"center"},children:[Object(W.jsx)("div",{className:"profile-picture-title",children:"Profile Picture"}),Object(W.jsxs)("div",{className:"profile-image-container",children:[Object(W.jsx)("label",{htmlFor:"upload-button",children:be.raw?Object(W.jsx)(z,{className:"img-centered-clipped",src:be.preview,alt:"",style:{display:"none"},onLoad:function(e){return e.currentTarget.style.display=""}}):_?Object(W.jsx)("img",{style:{borderRadius:"50%",marginTop:"4px",display:"none"},className:"img-centered-clipped",height:115,width:115,src:"data:image/jpeg;base64,"+_,alt:"loading",onLoad:function(e){return e.currentTarget.style.display=""}}):Object(W.jsx)("div",{children:Object(W.jsx)("img",{style:{paddingTop:"0px"},src:C.a,alt:""})})}),Object(W.jsx)("input",{accept:"image/*",type:"file",id:"upload-button",style:{display:"none"},onChange:function(e){e.target.files.length&&je({preview:URL.createObjectURL(e.target.files[0]),raw:e.target.files[0]})}})]}),Object(W.jsxs)("div",{className:"image-upload-button",children:[Object(W.jsx)("button",{style:H.uploadButton,onClick:ve,children:ce}),ne&&Object(W.jsx)(A.ProgressBar,{mode:"indeterminate",style:{height:"6px"}})]})]}),Object(W.jsxs)("div",{className:"p-col-9",children:[Object(W.jsxs)("div",{className:"p-col-12",style:{display:"flex",paddingLeft:"0px"},children:[Object(W.jsxs)("div",{className:"p-col-6",children:[Object(W.jsx)("label",Object(a.a)(Object(a.a)({},Object(d.css)(ye.floatingLabel)),{},{htmlFor:"firstName",children:"First Name"})),Object(W.jsx)(u.InputText,{value:le.firstName.currentValue,placeholder:"First Name",style:Object(a.a)(Object(a.a)(Object(a.a)(Object(a.a)({},ye.text),ye.radiusBordered),H.fullWidth),{},{fontWeight:600}),onChange:function(e){return de(Object(h.e)(e.target.value))}})]}),Object(W.jsxs)("div",{className:"p-col-6",children:[Object(W.jsx)("label",Object(a.a)(Object(a.a)({},Object(d.css)(ye.floatingLabel)),{},{htmlFor:"lastName",children:"Last Name"})),Object(W.jsx)(u.InputText,{value:le.lastName.currentValue,placeholder:"Last Name",style:Object(a.a)(Object(a.a)(Object(a.a)(Object(a.a)({},ye.text),ye.radiusBordered),H.fullWidth),{},{fontWeight:600}),onChange:function(e){return de(Object(h.f)(e.target.value))}})]})]}),Object(W.jsxs)("div",{className:"p-col-12",children:[Object(W.jsx)("label",Object(a.a)(Object(a.a)({},Object(d.css)(ye.floatingLabel)),{},{htmlFor:"email",children:"Email Address"})),Object(W.jsx)("div",Object(a.a)(Object(a.a)({style:{backgroundColor:"#e7e7e7"},id:"email"},Object(d.css)(Object(a.a)(Object(a.a)({},ye.text),ye.radiusBordered))),{},{children:le.email}))]}),Object(W.jsxs)("div",{className:"p-col-12",children:[Object(W.jsx)("label",Object(a.a)(Object(a.a)({},Object(d.css)(ye.floatingLabel)),{},{htmlFor:"timeZone",children:"Time Zone"})),Object(W.jsx)(p.Dropdown,{placeholder:"Local Timezone",options:j.a,value:le.timeZone.currentValue,valueTemplate:function(e){return e?Object(W.jsxs)("div",{style:{display:"flex",alignItems:"center"},children:[Object(W.jsx)("p",{style:{minWidth:240,margin:0},children:e.country}),Object(W.jsx)("span",{children:e.utc})]}):le.timeZone.currentValue},itemTemplate:function(e){return Object(W.jsxs)("div",{style:{display:"flex",alignItems:"center",fontWeight:400},children:[Object(W.jsx)("p",{style:{minWidth:240,borderRadius:"20px"},children:e.country}),Object(W.jsx)("span",{children:e.utc})]})},onChange:function(e){return de(Object(h.g)(e.value.country))},style:Object(a.a)(Object(a.a)(Object(a.a)({},H.fullWidthDropdown),ye.radiusBordered),{},{fontWeight:600,height:40,padding:3,paddingLeft:10}),className:"p-dropdown-radiused dropdown-arrow"})]}),Object(W.jsx)("div",{className:"p-col-12",style:{textAlign:"center"},children:Object(W.jsx)(b.a,{label:"Save",style:{width:"150px"},disabled:!Ce,onClick:function(){return function(){var e=le.timeZone.currentValue===j.d?j.c:le.timeZone.currentValue;""!=le.firstName.currentValue?""!=le.lastName.currentValue?v.a.post(Object(O.f)("/api/user/profile",{useDedicatedEnvironment:!0}),{name:le.firstName.currentValue,familyName:le.lastName.currentValue,timezone:e},Object(O.c)(s)).then((function(){s.refreshUserToken(!0)})).catch((function(e){console.error(e),r.current.show({severity:"error",summary:"Error saving profile"})})):r.current.show({severity:"error",summary:"Failed, last name is required."}):r.current.show({severity:"error",summary:"Failed, first name is required."})}()}})})]}),Object(W.jsxs)(N.a,{variant:"outlined",sx:{borderRadius:"8px",width:"100%",borderWidth:"2px",display:"flex",flexDirection:{xs:"column",md:"row"},justifyContent:"space-between",alignItems:"center",pr:2,gap:{xs:0,md:2},pb:{xs:2,md:0}},children:[Object(W.jsxs)(R.a,{open:he,handleClose:function(){Oe(!1)},contentSx:{overflowY:"auto"},title:"Detele Account",acceptLabel:"Delete",acceptButtonColor:"error",acceptButtonDisabled:ge!==Y||U.a.isFetching(V),acceptButtonType:"button",handleAccept:function(){w(Object(B.d)(s))},children:[Object(W.jsx)(E.a,{variant:"subtitle2",color:"inherit",children:"Are you sure you want to delete your account? You will lose all the data associated with your account and you cannot revert this action."}),Object(W.jsx)(E.a,{variant:"subtitle2",color:"inherit",sx:{mt:2,mb:1},children:Object(W.jsxs)("strong",{children:['To proceed, please type "',Object(W.jsx)("i",{children:Y}),'":']})}),Object(W.jsx)(M.a,{type:"text",name:"keywordToDelete",control:q,fullWidth:!0,size:"small"})]}),Object(W.jsx)(I.a,{title:Object(W.jsxs)(D.a,{sx:{display:"flex",gap:1,alignItems:"center"},children:[Object(W.jsx)(T.a,{sx:{height:"18px !important",width:"18px !important"},color:"error"}),"Delete Account"]}),titleTypographyProps:{fontSize:"var(--font-size-xxs2)",fontWeight:700},subheaderTypographyProps:{fontSize:"15px",fontWeight:600},subheader:"This action will remove your account and cannot be reverted."}),Object(W.jsx)(F.a,{color:"error",variant:"contained",sx:{width:"200px",height:"40px",borderRadius:"20px",fontWeight:"bold",fontSize:"1em"},onClick:function(){return Oe(!0)},children:"Delete"})]})]})}}).call(this,n(310).Buffer)},687:function(e,t,n){"use strict";var a=n(3),r=n(67),i=n(1),c=n.n(i),o=n(52),s=n(174),l=n(96),d=n(39),u=n(4),p=n(9),b=n(0),j=r.a.button({background:"#ECAC37",width:"91px",padding:"10px",borderRadius:"20px",border:"none",fontSize:"15px","& :focus":{background:"#ECAC37"}}),m=r.a.label({display:"block",fontSize:"16px",textAlign:"left"}),f=r.a.input({height:"35px",border:"2px solid #D9D9D9"});t.a=function(e){e.user;var t=c.a.useContext(p.d),n=c.a.useContext(o.a),r=c.a.useState(""),i=Object(a.a)(r,2),h=i[0],O=i[1],g=c.a.useState(""),x=Object(a.a)(g,2),v=x[0],y=x[1],C=c.a.useState(""),A=Object(a.a)(C,2),w=A[0],S=A[1];return Object(b.jsxs)(s.a,{children:[Object(b.jsx)(l.b,{text:"Password Reset"}),Object(b.jsxs)("div",{className:"p-grid",children:[Object(b.jsx)("div",{className:"p-col-12",children:Object(b.jsxs)("div",{className:"p-col-4",children:[Object(b.jsx)(m,{className:"field-titles",htmlFor:"currentpassword",children:"Current Password"}),Object(b.jsx)(f,{placeholder:" Password",className:"field-inputs",type:"password",onChange:function(e){return y(e.target.value)}})]})}),Object(b.jsxs)("div",{className:"p-col-12",style:{display:"flex"},children:[Object(b.jsxs)("div",{className:"p-col-4",children:[Object(b.jsx)(m,{className:"field-titles",htmlFor:"newpassword",children:"New Password"}),Object(b.jsx)(f,{type:"password",placeholder:" Password",className:"field-inputs",onChange:function(e){return S(e.target.value)}})]}),Object(b.jsxs)("div",{className:"p-col-4",children:[Object(b.jsx)(m,{className:"field-titles",htmlFor:"retypepassword",children:"Retype Password"}),Object(b.jsx)(f,{placeholder:"Password",className:"field-inputs",type:"password",onChange:function(e){return O(e.target.value)}})]})]}),Object(b.jsx)("div",{className:"p-col-12",children:Object(b.jsx)(j,{onClick:function(){if(w===h){var e={headers:{Accept:"application/json","Content-Type":"application/json",AccessToken:t.user.accessToken,Authorization:t.user.jwt}};d.a.post(Object(u.f)("/api/auth/changepassword",{useDedicatedEnvironment:!0}),{newPassword:w,oldPassword:v},e).then((function(){n.current&&n.current.show({severity:"success",summary:"successfully changed password!"})})).catch((function(e){n.current&&n.current.show({severity:"error",summary:"Error resetting password: ".concat(e)})}))}else n.current&&n.current.show({severity:"error",summary:"Password Mismatch!"})},children:"Save"})})]})]})}},688:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return N}));var a=n(2),r=n(5),i=n.n(r),c=n(10),o=n(3),s=n(1),l=n(341),d=n(700),u=n(1352),p=n(1354),b=n(1366),j=n(1359),m=n(689),f=n.n(m),h=(n(507),n(106)),O=n(39),g=n(9),x=n(4),v=n(91),y=n(190),C=n(30),A=n(88),w=n(0),S={usermenu:{paddingLeft:50,paddingBottom:40},menuOptions:{borderRadius:"20px",marginTop:"10px"},button:{borderRadius:"20px",background:"rgba(250, 234, 205, 0.12)",width:"auto",color:"black !important",border:"1px solid #c7e1ee","& hover":{background:"#f0f7fb !important"}},popover:{zIndex:1e3,lef:"-10px"},profileImage:{width:"36px",height:"36px"}};function N(){var t=Object(C.b)(),n=s.useContext(g.d),r=Object(x.b)(n),m=s.useMemo((function(){return Object(g.c)(Object(g.f)(n))}),[n]),N=!Object(g.h)(n,g.b.plusOrHigher),E=Object(g.e)(n,g.a.organizationMember),I=Object(s.useState)(!1),D=Object(o.a)(I,2),F=D[0],k=D[1],T=s.useState(""),R=Object(o.a)(T,2),P=R[0],M=R[1],U=Object(h.g)(),L=Object(g.j)(n,g.a.organizationAdmin);s.useEffect((function(){O.a.get(Object(x.f)("/api/user/profile/picture",{useDedicatedEnvironment:!0}),r).then(function(){var t=Object(c.a)(i.a.mark((function t(n){var a,r;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,n.data;case 2:a=t.sent,r=e.from(a,"base64").toString(),M(r);case 5:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()).catch((function(e){console.error(e)}))}),[]);var B=s.useCallback((function(){O.a.get(Object(x.f)("/api/user/profile",{useDedicatedEnvironment:!0}),r).then((function(e){var t=e.data,n=t.firstName,a=t.lastName;H(n),K(a)})).catch((function(e){console.error(e)}))}),[]);s.useEffect(B,[n]);var V=s.useState(""),Q=Object(o.a)(V,2),W=Q[0],H=Q[1],z=s.useState(""),Y=Object(o.a)(z,2),G=Y[0],K=Y[1],q=s.useState(!1),X=Object(o.a)(q,2),Z=X[0],J=X[1],_=s.useRef(null),$=function(e){_.current&&_.current.contains(e.target)||J(!1)};function ee(e){"Tab"===e.key?(e.preventDefault(),J(!1)):"Escape"===e.key&&J(!1)}var te=s.useRef(Z);s.useEffect((function(){!0===te.current&&!1===Z&&_.current.focus(),te.current=Z}),[Z]);var ne=function(){J(!1),O.a.post(Object(x.f)("/api/auth/signout",{useDedicatedEnvironment:!0}),null,Object(x.c)(n)).then((function(){n.updateCurrentUser({accessToken:"",jwt:"",idToken:void 0,parsedIdToken:void 0,refreshToken:"",expiresIn:0,groups:[]}).then((function(){t(Object(A.b)()),U.push("/auth")}))})).catch((function(){}))},ae=function(){U.push("/organization"),J(!1)},re=function(){U.push("/UserDashboard"),J(!1)};return Object(w.jsxs)(j.a,{direction:"row",spacing:2,children:[Object(w.jsx)(y.a,{upgradePlanModalOpen:F,setUpgradePlanModalOpen:function(e){return k(e)}}),Object(w.jsxs)("div",{style:{marginRight:"15px"},children:[Object(w.jsx)(l.a,{ref:_,id:"composition-button","aria-controls":Z?"composition-menu":void 0,"aria-expanded":Z?"true":void 0,"aria-haspopup":"true",onClick:function(){J((function(e){return!e}))},endIcon:Object(w.jsx)(f.a,{}),style:S.button,children:Object(w.jsxs)("div",{className:"profile-group",children:[Object(w.jsx)("div",{className:"profile-overlap",children:Object(w.jsx)("img",{onLoad:function(e){return e.currentTarget.style.display=""},style:{borderRadius:"50%",display:"none"},className:"img-centered-clipped",height:36,width:36,src:"data:image/jpeg;base64,"+P,alt:""})}),Object(w.jsxs)("div",{className:"profile-titles-container",children:[Object(w.jsxs)("div",{className:"profile-title",children:[Object(w.jsxs)("p",{style:{margin:0},children:[W," ",G]}),Object(w.jsx)("p",{style:{margin:0,textDecoration:"none"},className:"profile-view-text",children:m})]}),Object(w.jsx)("p",{style:{display:"flex",textAlign:"center"},className:"user-roles"})]})]})}),Object(w.jsx)(p.a,{style:S.popover,open:Z,anchorEl:_.current,role:void 0,placement:"bottom-start",transition:!0,disablePortal:!0,children:function(e){var t=e.TransitionProps,n=e.placement;return Object(w.jsx)(u.a,Object(a.a)(Object(a.a)({},t),{},{style:{transformOrigin:"bottom-start"===n?"left top":"left bottom"},children:Object(w.jsx)("div",{className:"user-drop-down-menu",children:Object(w.jsx)(d.a,{onClickAway:$,children:Object(w.jsx)(b.a,{className:"menu-list",autoFocusItem:Z,id:"composition-menu","aria-labelledby":"composition-button",onKeyDown:ee,children:Object(w.jsxs)("div",{className:"menu",children:[N?null:Object(w.jsx)(w.Fragment,{children:L?Object(w.jsx)("div",{onClick:ae,className:"menu-items profile-menu-items",children:Object(w.jsx)("strong",{children:"Organization Settings"})}):null}),N&&Object(w.jsx)("div",{onClick:E?function(){k(!0),J(!1)}:function(){Object(v.d)("tiers")(),J(!1)},className:"menu-items profile-menu-items",children:Object(w.jsx)("strong",{children:"Upgrade Plan"})}),Object(w.jsx)("div",{onClick:re,className:"menu-items profile-menu-items",children:Object(w.jsx)("strong",{children:"Account Settings"})}),Object(w.jsx)("div",{className:"menu-items profile-menu-items",onClick:function(){Object(v.d)(v.a)(),J(!1)},children:Object(w.jsx)("strong",{children:"Submit Feedback"})}),Object(w.jsx)("div",{className:"menu-items profile-menu-items",onClick:ne,children:Object(w.jsx)("strong",{children:"Sign out"})})]})})})})}))}})]})]})}}).call(this,n(310).Buffer)},690:function(e,t,n){"use strict";(function(e){var a=n(6),r=n(2),i=n(5),c=n.n(i),o=n(10),s=n(12),l=n(3),d=n(1),u=n.n(d),p=n(72),b=n(38),j=n(75),m=n(199),f=n(173),h=n(4),O=n(52),g=n(9),x=n(39),v=n(96),y=(n(635),n(451)),C=n(67),A=n(326),w=n(319),S=n(300),N=n(109),E=n(139),I=n(120),D=n(285),F=n(64),k=n(0),T={fullWidthDropdown:{width:"100%"},fullWidth:{display:"block",width:"100%"},buttonIcon:{padding:"5px"},orgLogo:{borderRadius:"50%",border:"1px solid #18a0fb",width:"150px",height:"150px",margin:"auto"},localOfficesBadge:{padding:"7px"},checkBox:{background:"#367FB6",padding:"2px",borderRadius:"5px",color:"#FFFFFF"},uploadButton:{background:"#ECAC37",width:"66px",borderRadius:"14px",padding:"3px",border:"none",cursor:"pointer",marginTop:"8px"},chipsContainer:{marginTop:"5px",display:"flex",flexWrap:"wrap"},multiSelect:{width:"100%",borderRadius:98,borderWidth:2,borderColor:"#d9d9d9",padding:2,paddingLeft:10}},R=C.a.img({height:"140px",width:"140px",borderRadius:"50%",position:"relative"}),P={name:"",domain:"",marketingOptIn:!1,companySize:"",websiteUrl:"",description:"",address:"",country:"",region:"",officeLocations:[""]};t.a=function(){var t,n,i=u.a.useContext(O.a),C=u.a.useContext(g.d),M=Object(d.useContext)(F.a),U=u.a.useState({preview:"",raw:""}),L=Object(l.a)(U,2),B=L[0],V=L[1],Q=u.a.useState(!1),W=Object(l.a)(Q,2),H=W[0],z=W[1],Y=u.a.useState("Upload"),G=Object(l.a)(Y,2),K=G[0],q=G[1],X=u.a.useState([]),Z=Object(l.a)(X,2),J=Z[0],_=Z[1],$=u.a.useState(P),ee=Object(l.a)($,2),te=ee[0],ne=ee[1],ae=null!==(t=null===(n=C.user.parsedIdToken)||void 0===n?void 0:n.email)&&void 0!==t?t:"",re=u.a.useState(""),ie=Object(l.a)(re,2),ce=ie[0],oe=ie[1],se=Object(f.a)(),le=u.a.useState(),de=Object(l.a)(le,2),ue=de[0],pe=de[1],be=Object(h.b)(C),je=Object(d.useCallback)((function(){x.a.get(Object(h.f)("/api/organization/settings",{useDedicatedEnvironment:!0}),be).then((function(e){ne(e.data),pe(e.data);var t=e.data.officeLocations.map((function(e){return{name:e,code:e}}));_(t)})).catch((function(e){console.error(e),i.current&&i.current.show({severity:"error",summary:"Unable to get data"})})),x.a.get(Object(h.f)("/api/organization/logo",{useDedicatedEnvironment:!0}),be).then((function(t){var n=t.data,a=e.from(n,"base64").toString();oe(a)})).catch((function(e){console.error(e),i.current&&i.current.show({severity:"error",summary:"Unable to load data"})}))}),[]),me=te.name!==(null===ue||void 0===ue?void 0:ue.name)||te.companySize!==(null===ue||void 0===ue?void 0:ue.companySize)||te.country!==(null===ue||void 0===ue?void 0:ue.country)||te.description!==(null===ue||void 0===ue?void 0:ue.description)||Object(s.a)(J.map((function(e){return e.name}))).toString()!==(null===ue||void 0===ue?void 0:ue.officeLocations.toString())||te.region!==(null===ue||void 0===ue?void 0:ue.region)||te.address!==(null===ue||void 0===ue?void 0:ue.address)||te.websiteUrl!==(null===ue||void 0===ue?void 0:ue.websiteUrl)||te.marketingOptIn!==(null===ue||void 0===ue?void 0:ue.marketingOptIn);u.a.useEffect((function(){je()}),[]);var fe=function(){var e=Object(o.a)(c.a.mark((function e(t){var n,a;return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:z(!0),q("Uploading"),n={headers:{Authorization:C.user.jwt,AccessToken:C.user.accessToken,X_Konektid_Authorization:C.user.konektidToken,"Content-Type":" image/jpeg"}},a=t.split("base64,")[1],x.a.post(Object(h.f)("/api/organization/logo",{useDedicatedEnvironment:!0}),a,n).then((function(){i.current.show({severity:"success",summary:"Your organization logo has been uploaded successfully"}),z(!1),q("Upload")})).catch((function(e){i.current&&i.current.show({severity:"error",summary:"Unable to upload the logo"})}));case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),he=function(){var e=Object(o.a)(c.a.mark((function e(t){return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.preventDefault(),!B.raw){e.next=7;break}return e.t0=fe,e.next=5,Object(y.a)(B.raw);case 5:e.t1=e.sent,(0,e.t0)(e.t1);case 7:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),Oe=function(e,t){ne(Object(r.a)(Object(r.a)({},te),{},Object(a.a)({},e,t)))},ge=Object(d.useCallback)((function(e,t){var n=t.filter((function(t){return t.code!==e.code}));_(n)}),[]),xe=Object(d.useCallback)(function(){var e=Object(o.a)(c.a.mark((function e(t){return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:_(t);case 1:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),[]);return Object(k.jsxs)("div",{className:"p-grid",children:[Object(k.jsx)("div",{className:"p-col-12",children:Object(k.jsx)(v.b,{text:"Organization Settings"})}),Object(k.jsxs)("div",{className:"p-col-3",children:[Object(k.jsx)("div",{className:"profile-picture-title",children:"Upload logo here"}),Object(k.jsxs)("div",{style:T.orgLogo,children:[Object(k.jsx)("label",{htmlFor:"upload-button",children:B.raw?Object(k.jsx)(R,{className:"img-centered-clipped",src:B.preview,alt:"",style:{display:"none",margin:"4px"},onLoad:function(e){return e.currentTarget.style.display=""}}):ce?Object(k.jsx)("img",{style:{borderRadius:"50%",display:"none"},className:"img-centered-clipped",height:145,width:145,src:"data:image/jpeg;base64,"+ce,alt:"loading",onLoad:function(e){return e.currentTarget.style.display=""}}):Object(k.jsx)("div",{style:{marginTop:"50px"},children:Object(k.jsx)("img",{style:{paddingTop:"0px"},src:A.a,alt:""})})}),Object(k.jsx)("input",{accept:"image/*",type:"file",id:"upload-button",style:{display:"none"},onChange:function(e){e.target.files.length&&V({preview:URL.createObjectURL(e.target.files[0]),raw:e.target.files[0]})}})]}),Object(k.jsxs)("div",{className:"image-upload-button",children:[Object(k.jsx)("button",{style:T.uploadButton,onClick:he,children:K}),H&&Object(k.jsx)(w.ProgressBar,{mode:"indeterminate",style:{height:"6px"}})]})]}),Object(k.jsxs)("div",{className:"p-col-9",style:{textAlign:"left"},children:[Object(k.jsx)(v.a,{text:"Organization Details"}),Object(k.jsxs)("div",{className:"p-col-8",style:{marginTop:10},children:[Object(k.jsxs)("label",Object(r.a)(Object(r.a)({},Object(p.css)(se.floatingLabel)),{},{htmlFor:"orgname",style:{marginBottom:8},children:["Organization Name",Object(k.jsx)("span",{className:"required",children:"*"})]})),Object(k.jsx)(b.InputText,{value:te.name,placeholder:"Organization Name",style:Object(r.a)(Object(r.a)(Object(r.a)(Object(r.a)({},se.text),se.radiusBordered),T.fullWidth),{},{fontWeight:500}),onChange:function(e){Oe("name",e.currentTarget.value)}})]}),Object(k.jsxs)("div",{className:"p-col-8",style:{marginTop:-5},children:[Object(k.jsx)("label",Object(r.a)(Object(r.a)({},Object(p.css)(se.floatingLabel)),{},{htmlFor:"email",style:{marginBottom:8},children:"Email Domain"})),Object(k.jsx)("div",Object(r.a)(Object(r.a)({style:{backgroundColor:"#e7e7e7",marginTop:"2px"},id:"email"},Object(p.css)(Object(r.a)(Object(r.a)({},se.text),se.radiusBordered))),{},{children:ae}))]}),Object(k.jsxs)("div",{className:"p-col-5",style:{marginTop:-5},children:[Object(k.jsxs)("label",Object(r.a)(Object(r.a)({},Object(p.css)(se.floatingLabel)),{},{htmlFor:"timeZone",style:{marginBottom:8},children:["Company Size",Object(k.jsx)("span",{className:"required",children:"*"})]})),Object(k.jsx)(I.Dropdown,{style:{fontWeight:500,width:"100%",padding:2,paddingLeft:10,borderRadius:120,borderColor:M.v2.lightGrey,borderWidth:2},value:te.companySize,options:["<10 Employees","10-49 Employees","50-249 Employees","250 and more Employees"],placeholder:"< 10 Employees",onChange:function(e){Oe("companySize",e.target.value)}})]}),Object(k.jsxs)("div",{className:"p-col-8",children:[Object(k.jsxs)("label",Object(r.a)(Object(r.a)({},Object(p.css)(se.floatingLabel)),{},{htmlFor:"Website",style:{marginBottom:8},children:["Website",Object(k.jsx)("span",{className:"required",children:"*"})]})),Object(k.jsx)(b.InputText,{value:te.websiteUrl,placeholder:"website",style:Object(r.a)(Object(r.a)(Object(r.a)(Object(r.a)({},se.text),se.radiusBordered),T.fullWidth),{},{fontWeight:500}),onChange:function(e){Oe("websiteUrl",e.currentTarget.value)}})]}),Object(k.jsxs)("div",{className:"p-col-8",children:[Object(k.jsxs)("label",Object(r.a)(Object(r.a)({},Object(p.css)(se.floatingLabel)),{},{htmlFor:"Description",style:{marginBottom:8},children:["Description",Object(k.jsx)("span",{className:"required",children:"*"})]})),Object(k.jsx)(S.InputTextarea,{value:te.description,placeholder:"Description",className:"input-textarea",rows:5,cols:30,style:Object(r.a)(Object(r.a)(Object(r.a)({},se.text),T.fullWidth),{},{fontWeight:500,paddingLeft:12,borderColor:M.v2.lightGrey,borderWidth:2,borderRadius:16}),onChange:function(e){Oe("description",e.currentTarget.value)}})]}),Object(k.jsx)("div",{style:{marginTop:10},children:Object(k.jsx)(v.a,{text:"Address Details"})}),Object(k.jsxs)("label",Object(r.a)(Object(r.a)({},Object(p.css)(se.floatingLabel)),{},{htmlFor:"Headquater",style:{marginLeft:5,marginTop:15},children:["Headquarters Location(Country / Region)",Object(k.jsx)("span",{className:"required",children:"*"})]})),Object(k.jsxs)("div",{className:"p-col-10",style:{display:"flex",marginTop:-15},children:[Object(k.jsx)("div",{className:"p-col-5",style:{marginLeft:"-11px"},children:Object(k.jsx)(I.Dropdown,{style:{fontWeight:700,width:"100%",padding:2,paddingLeft:10,borderRadius:120,borderColor:M.v2.lightGrey,borderWidth:2,marginTop:10},placeholder:"Countries",options:D.a,value:te.country,valueTemplate:function(e){return e?Object(k.jsx)("p",{children:e.name}):te.country},itemTemplate:function(e){return Object(k.jsx)("p",{children:e.name})},onChange:function(e){Oe("country",e.target.value.name)}})}),Object(k.jsx)("div",{className:"p-col-5",children:Object(k.jsx)(b.InputText,{value:te.region,placeholder:"region",style:Object(r.a)(Object(r.a)(Object(r.a)(Object(r.a)({},se.text),se.radiusBordered),T.fullWidth),{},{fontWeight:700,marginTop:10}),onChange:function(e){Oe("region",e.currentTarget.value)}})})]}),Object(k.jsxs)("div",{className:"p-col-8",style:{marginTop:-10},children:[Object(k.jsxs)("label",Object(r.a)(Object(r.a)({},Object(p.css)(se.floatingLabel)),{},{htmlFor:"Address",style:{marginBottom:8},children:["Address",Object(k.jsx)("span",{className:"required",children:"*"})]})),Object(k.jsx)(S.InputTextarea,{value:te.address,placeholder:"address",className:"input-textarea",rows:5,cols:30,style:Object(r.a)(Object(r.a)(Object(r.a)({},se.text),T.fullWidth),{},{fontWeight:500,paddingLeft:12,paddingTop:12,borderColor:M.v2.lightGrey,borderWidth:2,borderRadius:16}),onChange:function(e){Oe("address",e.currentTarget.value)}})]}),Object(k.jsxs)("div",{className:"p-col-8",children:[Object(k.jsx)("label",Object(r.a)(Object(r.a)({},Object(p.css)(se.floatingLabel)),{},{htmlFor:" LocalOffices",style:{marginBottom:8},children:"Local Offices"})),Object(k.jsxs)("div",{style:T.chipsContainer,children:[Object(k.jsx)(E.MultiSelect,{optionLabel:"name",filter:!0,style:T.multiSelect,placeholder:J.length+" Local Offices",fixedPlaceholder:!0,value:J,options:D.a,onChange:function(e){return xe(e.value)}}),Object(k.jsx)("div",{style:{marginTop:"7px",display:"flex",flexWrap:"wrap"},children:J.map((function(e){return Object(k.jsx)(N.a,{label:e.name,onIconClick:function(){return ge(e,J)}},e.name)}))})]})]}),Object(k.jsx)("div",{style:{marginTop:"10px",marginBottom:8},children:Object(k.jsx)(v.a,{text:"Marketing Opt-in"})}),Object(k.jsxs)("div",{className:"p-col-8",children:[Object(k.jsxs)("div",{style:{display:"flex"},children:[Object(k.jsx)("span",{className:"field-checkbox",style:{paddingRight:"10px"},children:Object(k.jsx)(j.Checkbox,{inputId:"binary",checked:te.marketingOptIn,onChange:function(){Oe("marketingOptIn",!te.marketingOptIn)}})}),Object(k.jsx)("span",{style:{fontSize:15},children:"Yes, share our logo and name in Aidkonekt's marketing and on the landing page."})]}),Object(k.jsx)("p",{style:{lineHeight:"20px",fontSize:"10px",marginLeft:30,marginTop:5},children:"* Please email support@aidkonekt.com to opt-out of your marketing preference. Please note, it can take about a month for us to process this request."})]}),Object(k.jsx)("div",{className:"p-col-8",style:{textAlign:"right"},children:Object(k.jsx)(m.a,{label:"Save",style:{width:"150px"},disabled:!me,onClick:function(){var e=[],t=J.map((function(e){return e.name}));""===te.name&&e.push({severity:"error",summary:"Failed, Organization name field cannot be empty."}),""===te.country&&e.push({severity:"error",summary:"Failed, Country field cannot be empty."}),""===te.region&&e.push({severity:"error",summary:"Failed, Region field cannot be empty."}),""===te.address&&e.push({severity:"error",summary:"Failed, Address field cannot be empty."}),""===te.companySize&&e.push({severity:"error",summary:"Failed, Company size field cannot be empty."}),""===te.websiteUrl&&e.push({severity:"error",summary:"Failed, Website Url field cannot be empty."}),""===te.description&&e.push({severity:"error",summary:"Failed, Company description field cannot be empty."}),""!==te.name&&""!==te.country&&""!==te.region&&""!==te.address&&""!==te.companySize&&""!==te.websiteUrl&&""!==te.description?te.websiteUrl&&te.websiteUrl.match(/(http(s)?:\/\/.)?(www\.)?[-a-zA-Z0-9@:%._\+~#=]{2,256}\.[a-z]{2,6}\b([-a-zA-Z0-9@:%_\+.~#?&//=]*)/g)?x.a.post(Object(h.f)("/api/organization/settings",{useDedicatedEnvironment:!0}),{name:te.name,marketingOptIn:te.marketingOptIn,domain:ae,companySize:te.companySize,websiteUrl:te.websiteUrl,description:te.description,address:te.address,country:te.country,region:te.region,officeLocations:t},Object(h.c)(C)).then((function(){i.current.show({severity:"success",summary:"Organization profile update successful"}),C.refreshUserToken(!0)})).catch((function(e){console.error(e),400===e.response.status&&i.current.show({severity:"error",summary:"Please fill all the required fields marked *"})})):i.current.show({severity:"error",summary:"Website Url type is not supported"}):i.current.show(e)}})})]})]})}}).call(this,n(310).Buffer)},698:function(e,t,n){"use strict";var a,r=n(1),i=n.n(r),c=n(469),o=n(174),s=n(2),l=n(12),d=n(3),u=n(72),p=n(75),b=n(120);!function(e){e.MONDAY="Monday",e.TUESDAY="Tuesday",e.WEDNESDAY="Wednesday",e.THURSDAY="Thursday",e.FRIDAY="Friday",e.SATURDAY="Saturday",e.SUNDAY="Sunday"}(a||(a={}));var j=["00:00","01:00","02:00","03:00","04:00","05:00","06:00","07:00","08:00","09:00","10:00","11:00","12:00","13:00","14:00","15:00","16:00","17:00","18:00","19:00","20:00","21:00","22:00","23:00"],m=n(250),f=n(173),h=n(31),O=n(176),g=n(337),x=n(60),v=n(178),y=n(4),C=n(48),A=n(52),w=n(9),S=n(64),N=n(101),E=n(39),I=n(109),D=n(0),F=function(){var e=i.a.useContext(O.a).accountInformationState,t=i.a.useContext(A.a),n=i.a.useContext(w.d),c=i.a.useContext(g.a),o=c.emailNotificationsState,F=c.emailNotificationsDispatch,k={checkboxLabel:{marginLeft:"8px",font:i.a.useContext(S.a).v2Fonts.smallHeader},dropdown:{width:"100%"},error:{display:"block",color:"red"},timePopup:{position:"absolute",top:-8,left:55,padding:"0px 5px",fontSize:"12px",whiteSpace:"nowrap",backgroundColor:"rgb(203, 227, 242)",borderRadius:4},save:{backgroundColor:"#ecac37",borderRadius:"26.5px",height:"47px",minWidth:"177px",textAlign:"center",fontSize:"1em",justifyContent:"center",fontWeight:600}},T=Object(f.a)(),R=i.a.useContext(S.a),P=i.a.useState([]),M=Object(d.a)(P,2),U=M[0],L=M[1],B=Object(r.useState)(!1),V=Object(d.a)(B,2),Q=V[0],W=V[1],H=Object(r.useState)(!1),z=Object(d.a)(H,2),Y=z[0],G=z[1],K=Object(y.b)(n);i.a.useEffect((function(){E.a.get(Object(y.f)("/api/user/profile",{useDedicatedEnvironment:!0}),K).then((function(e){var t=e.data;L(t.companyEmails)}))}),[]);var q=o.weekly.enabled.currentValue&&void 0===o.weekly.weekday.currentValue,X=o.weekly.enabled.currentValue&&void 0===o.weekly.time.currentValue,Z=o.weekly.enabled.currentValue&&void 0===o.weekly.recipient.currentValue,J=o.daily.enabled.currentValue&&void 0===o.daily.time.currentValue,_=o.daily.enabled.currentValue&&void 0===o.daily.recipient.currentValue,$=o.forecastAlert.enabled.currentValue&&void 0===o.forecastAlert.recipient.currentValue,ee=(o.weekly.enabled.currentValue!==o.weekly.enabled.serverValue||o.weekly.weekday.currentValue!==o.weekly.weekday.serverValue||o.weekly.time.currentValue!==o.weekly.time.serverValue||o.weekly.recipient.currentValue!==o.weekly.recipient.serverValue||o.daily.enabled.currentValue!==o.daily.enabled.serverValue||o.daily.time.currentValue!==o.daily.time.serverValue||o.daily.recipient.currentValue!==o.daily.recipient.serverValue||o.forecastAlert.enabled.currentValue!==o.forecastAlert.enabled.serverValue||o.forecastAlert.recipient.currentValue!==o.forecastAlert.recipient.serverValue)&&!(q||X||Z||J||_||$);D.Fragment,R.v2Fonts.context,N.a;return Object(D.jsxs)("div",{className:"p-grid",children:[Object(D.jsxs)("div",{className:"p-col-12",children:[Object(D.jsx)(p.Checkbox,{inputId:"weeklyEmail",checked:o.weekly.enabled.currentValue,disabled:!T.isPlus,onChange:function(e){return F(Object(x.q)(e.checked))}}),Object(D.jsx)("label",{style:Object(s.a)(Object(s.a)({},k.checkboxLabel),T.potentiallyBlurred(!T.isPlus)),htmlFor:"weeklyEmail",children:"Weekly Email"})]}),Object(D.jsxs)("div",{className:"p-col-6",children:[Object(D.jsx)("label",{style:Object(s.a)(Object(s.a)({},T.floatingLabel),T.potentiallyBlurred(!T.isPlus)),htmlFor:"weekday",children:"Weekday"}),Object(D.jsx)(b.Dropdown,{placeholder:"Select a day",className:T.dropdownBlurClassName(!T.isPlus),disabled:!T.isPlus,options:Object.values(a),value:o.weekly.weekday.currentValue,onChange:function(e){return F(Object(x.p)(e.value))},style:Object(s.a)({},k.dropdown)}),q&&Object(D.jsx)("small",Object(s.a)(Object(s.a)({},Object(u.css)(k.error)),{},{children:"Please select a day."}))]}),Object(D.jsxs)("div",{className:"p-col-6",style:{position:"relative"},children:[Y&&Object(D.jsx)("div",{style:Object(s.a)({},k.timePopup),children:e.timeZone.serverValue}),Object(D.jsxs)("label",{style:Object(s.a)(Object(s.a)({},T.floatingLabel),T.potentiallyBlurred(!T.isPlus)),htmlFor:"weekdayTime",onMouseEnter:function(){return G(!0)},onMouseLeave:function(){return G(!1)},children:["Time (",e.timeZone.serverValue,")"]}),Object(D.jsx)(b.Dropdown,{placeholder:"Select a time",className:T.dropdownBlurClassName(!T.isPlus),disabled:!T.isPlus,options:Object.values(j),value:o.weekly.time.currentValue,onChange:function(e){return F(Object(x.s)(e.value))},style:Object(s.a)({},k.dropdown)}),X&&Object(D.jsx)("small",Object(s.a)(Object(s.a)({},Object(u.css)(k.error)),{},{children:"Please select a time."}))]}),Object(D.jsxs)("div",{className:"p-col-6",children:[Object(D.jsx)("label",{style:Object(s.a)(Object(s.a)({},T.floatingLabel),T.potentiallyBlurred(!T.isPlus)),htmlFor:"weeklyRecipients",children:"Recipients"}),Object(D.jsx)(b.Dropdown,{inputId:"weeklyRecipients",className:T.dropdownBlurClassName(!T.isPlus),disabled:!T.isPlus,placeholder:"Select recipient(s)",options:Object.values(m.a).filter((function(e){return 0!==U.length||"Only Me"===e})),value:o.weekly.recipient.currentValue,onChange:function(e){return F(Object(x.r)(e.value))},style:Object(s.a)({},k.dropdown)}),Z&&Object(D.jsx)("small",Object(s.a)(Object(s.a)({},Object(u.css)(k.error)),{},{children:"Please select the recipient(s)."}))]}),o.weekly.recipient.currentValue===m.a.ALL_TEAM&&U.length>0&&Object(D.jsx)("div",{className:"email-notifications-company-users",children:U.map((function(e,t){return Object(D.jsx)(I.a,{label:e.emailAddress},t)}))}),Object(D.jsxs)("div",{className:"p-col-12",children:[Object(D.jsx)(p.Checkbox,{inputId:"dailyEmail",disabled:!T.isPro,checked:o.daily.enabled.currentValue,onChange:function(e){return F(Object(x.k)(e.checked))}}),Object(D.jsx)("label",{style:Object(s.a)(Object(s.a)({},k.checkboxLabel),T.potentiallyBlurred(!T.isPro)),htmlFor:"dailyEmail",children:"Daily Email"})]}),Object(D.jsxs)("div",{className:"p-col-6",style:{position:"relative"},children:[Q&&Object(D.jsx)("div",{style:Object(s.a)({},k.timePopup),children:e.timeZone.serverValue}),Object(D.jsxs)("label",{style:Object(s.a)(Object(s.a)({},T.floatingLabel),T.potentiallyBlurred(!T.isPro)),htmlFor:"dailyTime",onMouseEnter:function(){return W(!0)},onMouseLeave:function(){return W(!1)},children:["Time (",e.timeZone.serverValue,")"]}),Object(D.jsx)(b.Dropdown,{placeholder:"Select a time",className:T.dropdownBlurClassName(!T.isPro),disabled:!T.isPro,options:Object.values(j),value:o.daily.time.currentValue,onChange:function(e){return F(Object(x.m)(e.value))},style:Object(s.a)({},k.dropdown)}),J&&Object(D.jsx)("small",Object(s.a)(Object(s.a)({},Object(u.css)(k.error)),{},{children:"Please select a time."}))]}),Object(D.jsxs)("div",{className:"p-col-6",children:[Object(D.jsx)("label",{style:Object(s.a)(Object(s.a)({},T.floatingLabel),T.potentiallyBlurred(!T.isPro)),htmlFor:"dailyRecipients",children:"Recipients"}),Object(D.jsx)(b.Dropdown,{inputId:"dailyRecipients",className:T.dropdownBlurClassName(!T.isPro),disabled:!T.isPro,placeholder:"Select recipient(s)",options:Object.values(m.a).filter((function(e){return 0!==U.length||"Only Me"===e})),value:o.daily.recipient.currentValue,onChange:function(e){return F(Object(x.l)(e.value))},style:Object(s.a)({},k.dropdown)}),_&&Object(D.jsx)("small",Object(s.a)(Object(s.a)({},Object(u.css)(k.error)),{},{children:"Please select the recipient(s)."}))]}),o.daily.recipient.currentValue===m.a.ALL_TEAM&&U.length>0&&Object(D.jsx)("div",{className:"email-notifications-company-users",children:U.map((function(e,t){return Object(D.jsx)(I.a,{label:e.emailAddress},t)}))}),Object(D.jsx)("div",{className:"p-col-12",style:{textAlign:"center"},children:Object(D.jsx)(h.Button,{label:"Save Notification Settings",style:Object(s.a)({},k.save),disabled:!ee||!T.isPlus,onClick:function(){(function(){var e={notificationType:v.a.Daily,notificationDay:null,notificationTime:o.daily.time.currentValue,recipient:o.daily.recipient.currentValue},a={notificationType:v.a.Weekly,notificationDay:o.weekly.weekday.currentValue,notificationTime:o.weekly.time.currentValue,recipient:o.weekly.recipient.currentValue},r={notificationType:v.a.BusinessForecastLiveUpdate,recipient:o.forecastAlert.recipient.currentValue},i=[o.daily.enabled.currentValue?e:null,o.weekly.enabled.currentValue?a:null,o.forecastAlert.enabled.currentValue?r:null].filter((function(e){return e}));E.a.post(Object(y.f)("/api/user/notification",{useDedicatedEnvironment:!0}),Object(l.a)(i),Object(y.c)(n)).then((function(){F(Object(x.h)()),F(Object(x.g)()),F(Object(x.j)()),F(Object(x.i)()),F(Object(x.b)()),F(Object(x.d)()),F(Object(x.c)()),F(Object(x.e)()),F(Object(x.f)()),t.current.show({severity:"success",summary:"Saved notification settings"})})).catch(Object(C.b)((function(){return t.current.show({severity:"error",summary:"Error saving notification settings"})}),(function(e){return console.error(e)})))})()}})})]})},k=n(685),T=n(96);t.a=function(e){var t=e.updateBase64String;return Object(D.jsx)(o.a,{children:Object(D.jsxs)(c.Accordion,{activeIndex:0,collapseIcon:"pi pi-chevron-up",expandIcon:"pi pi-chevron-down",children:[Object(D.jsx)(c.AccordionTab,{header:Object(D.jsx)(T.b,{text:"Account Information"}),children:Object(D.jsx)(k.a,{updateBase64String:t})}),Object(D.jsx)(c.AccordionTab,{header:Object(D.jsx)(T.b,{text:"Email Notifications",icon:!0,icontext:"Plus tier users can schedule weekly emails. Pro tier users can also schedule daily emails and notifications for new opportunities added to the Business Forecast."}),children:Object(D.jsx)(F,{})})]})})}},74:function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"c",(function(){return i})),n.d(t,"b",(function(){return c}));var a=n(2),r=function(e){return{currentValue:e,serverValue:e}},i=function(e,t){return Object(a.a)(Object(a.a)({},e),{},{currentValue:t})},c=function(e){return Object(a.a)(Object(a.a)({},e),{},{serverValue:e.currentValue})}},748:function(e,t,n){},749:function(e,t,n){},750:function(e,t,n){},760:function(e,t,n){},762:function(e,t,n){},763:function(e,t,n){"use strict";n.r(t),t.default="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAABmJLR0QA/wD/AP+gvaeTAAAC1klEQVR4nO3az6uUVRzH8dftXijjahhitAjEH3fhIlEQpHYFt24rEVSUQPwT2iitgnQjboV2gQgFbbKNRkqLEJcV4cKVguAvSlJR0qthi/M8zDg6M8995jzPcy6dNxyeGeY85/v5fs6ZMzPfOWQymUwmk/m/Mt21gEjM4QscwJv4Dc86VdQiC3goJFy2H7Giys1TNQK+ge1YvYR7nuIcHtSIN4o1uIrZl7x2Hp/gSaxga/E1Hnve7artZCwhA+zC4pCYh2IFWSc4XSfxsh2NJQYfY0ff82EmXIgRbFpvU3mGnzCPTVhfsb0TQ0jBAh7hnvEmnI0RcF/fgF+pt2/Eoky+1HPXaBN2xgj6XTHYbbweY8CaDCY/zoQjsQL/WgQ6HWvAGgxLfpgJm2MGv1wE+SbmoEvgI/xj/CY7uCdU4pVoMpthAT/gtQp9V+HDJkR0tQKqznzZjjUlpAsDkkme9g1IKnnaNSC55GnPgCSTpx0Dkk2e5g1IOnmaNSD55GnOgGWRPM0YsGySJ74Byyp54hrwlhcLmKPalxFiTkzsFbBHKFQmP/MlsQzoryTtFyrFSc98SSwDTgjl9JJhKyGZmS+JYcCUUFL722gTkkueOAZs00tymAlJJk8cAz73/DK/g619r787wdgT0VZJbH7g+Woc1yt1/RE53n5cEqksPukKmBX+TruFU/hU+JutSX4RNJ8Z13GmYSGEWd6B3wVRbTA9cB1KGwb8VbQkSb0s3jjZgK4FdE02oGsBXZMN6FpA12QDKvT5t7i28aUpFqXWp+M6VjHgZnGdqy2nXWawsXh8Y1znKgb8XFy3YHdNUW3ymXBclp72iViL+8IPmXs4KM29YwaH9Q5yXsGr426qeuRtL77t6/8nri1dY2NMYYNwjJdgwge4GDPITqGuV7Wm31W7gveqJrXUQ48rhRre+3hbOp8Mi7guvOe/F1ZAJpPJZDKZzEj+A40fqP5J3cwRAAAAAElFTkSuQmCC"},764:function(e,t,n){"use strict";n.r(t),t.default="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAABmJLR0QA/wD/AP+gvaeTAAACUklEQVR4nO2aMU8UQRiGH0UkITHXSIWWFBSckX9hrLzfYUViIpWU/hECDaECaWzVzvAXSIyJhAo05qKRYjlzzH13OzO73/dxd/MkU9zu7Hzv++7s7O7dQaFQKBQKhYIum8AJcAX8q2lXwAfguYtSBTaBX9QbD9tPZiSEE9LND9qRg97WiZn249qltrh72gWojKTUTO3fiPuag08DOemGZ+iukeRp7mdACcBbgDdNVljT1Vqr/tzPgBKAtwBvSgDeArx5oDh23SrddH8rzP0MKAF4C/CmBOAtwJsSgLcAb0oA3gK8KQF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wB0M6+fb1xy8FRja600mjSQ7Goh0XzanSllSa/EFRd0OaKvIeQwBJUWmNQdUGBxveuJqHSGiNVdV1Ud3Boggv0riaj0ppBnl/cZINB1MDOXZ2P/TGcsgitjNg1AhWyS8H1Vqe3yUmejdDKQbZ1Pm+MeTyYg4ZmA/mLcCOWXUXrQGgV0O+2bb9rnR1SUcJlqa72OYn5EFolyES9Da/lYD8E6rYjdwUJq4IILQcIL2SwI5UVdwRLIrQcIrwwBmHlGKFVAcILMsm+QVi5R2hVSGa8ztOwbxQa7BUjtGogdxtteK0x5xWlZHRhk7CqHqFVI5nzWpUAY8I+fHuyBGQotEaElieppeMq1VdQBrJx5AaP2/hBaHmWqr7WaNyrZhvrW1RV/hFaikjvKwkwlo/+7cnD8lv0qvQgtJQiwLwhqJQjtAKQCrBVlpCVsEu/bYIqDIRWYKQHtiIBZr/ON/2cFHAgzXQbVNvssBAWQitwUoWtpP4QYscdJAElIUU1FTBCKzISYksSYksNXU7a5/12JaR2Cam4EFoNIDNho39imA2zFdS+hNO+BBSzU5EjtBpKemNL8gKPpDpL/pmmQBtI1XRDvtpw2udB5OYitDCWLDMX5L9bSf1vknBLW8jYS0sqo7T91D9LgslIMLGsw1HGmP8BQDFZZrUYmr8AAAAASUVORK5CYII="},779:function(e,t,n){"use strict";n.r(t),t.default="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAS0AAAEtCAYAAABd4zbuAAAACXBIWXMAAAsSAAALEgHS3X78AAAJvklEQVR4nO3dP24c1x3A8Z8D9RLSpNgicpfOuoHkylPqAkHoE4TqXCxgGZgipXSCyDdgigTbhb6BdAOqmDYwgZQBGIwzCSiFXM7uzp/3m/l8AMIF6d23j+BXb2Zn33xxc3MTAFn8ym8KyES0gFREC0hFtIBUHvl1wTA2293TiHgREe1/n0XEk5VP7VX39T4iLpu6+nmIB/XuIZxos921oXodEc/N5V5/iYg3TV1dnvIgogVH2mx37UrqQqwO1sbr7NiVl2jBETbbXXv4164YHpu/o/wjIn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XbM7deLW9++ai9Mbepqyivq4ROixZ2aurrqInVphiiJw0MgFdECUhEtIBXRAlIRLSAV0QJSES0gFdECUhEtIBXRAlIRLSAV0QJSES0gFdECUhEtIBXRAlIRLSAV0QJSES0gFdECUhEtIBXRAlIRLSAV0QJSES0gFdECUhEtIBXRAlIRLSAV0QJSES0gFdECUhEtIBXRAlIRLSAV0QJSES0gFdECUhEtIBXRAlIRLSAV0QJSES0gFdECUhEtIBXRAlIRLSAV0QJSES0gFdECUhEtIBXRAlIRLSAV0QJSES0gFdECUhEtIBXRAlIRLSAV0QJSES0gFdECUhEtIBXRAlIRLSAV0QJSebSCX9fzzXZ3U8A4gAFYaQGpiBaQimgBqYgWkIpoAamIFpCKaAGpiBaQimgBqYgWkIpoAamIFpCKaAGpzB2t98nmC6Z2bcY/NWu0mrr6OSI+zjkGKNylX9CnSjg89EuB+/n7+EwJ0XpXwBigVP4+PjN7tJq6av8l+WnucUCBfuxOoXBLKe8enhcwBijJtb+LuxURraau2ncRXxUwFCjFS6usuxVznVZTV2/a5XABQ4G5fdudNuEOX9zclHWjms12dxYRfy5gKDC1626FJVh7FHdFfFNX7bslXzo5z8q0RxlPBethxa20bttsd0+7k5HP2vsXljMyONl194mQi/arqasrU9pP0dEC+JwPTAOpiBaQimgBqYgWkIpoAamIFpCKaAGpiBaQimgBqYgWkIpoAamIFpCKaAGpiBaQimgBqYgWkIpoAamIFpCKaAGpiBaQimgBqYgWkIpoAamIFpCKaAGpiBaQimgBqYgWkIpoAamIFpCKaAGpiBaQimgBqYgWkEdE/Bssj3602MqAGwAAAABJRU5ErkJggg=="},8:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var a=n(151),r=n(191),i=function(){function e(){Object(a.a)(this,e)}return Object(r.a)(e,null,[{key:"isNull",value:function(e){return e===this.statuses.NULL}},{key:"isFetching",value:function(e){return e===this.statuses.FETCHING}},{key:"isDone",value:function(e){return e===this.statuses.DONE}},{key:"isHalfDone",value:function(e){return e===this.statuses.HALF_DONE}},{key:"isError",value:function(e){return e===this.statuses.ERROR}}]),e}();i.statuses={NULL:"null",FETCHING:"fetching",DONE:"done",HALF_DONE:"half-done",ERROR:"error"}},81:function(e,t,n){"use strict";n.d(t,"a",(function(){return u}));var a,r,i=n(2),c=(n(1),n(665)),o=n(31),s=n(40),l=n(0),d={arrowUp:null===(a=n(577))||void 0===a?void 0:a.default,arrowDown:null===(r=n(578))||void 0===r?void 0:r.default},u=function(e){var t=e.title,n=e.search,a=e.isCollapsed,r=e.setIsCollapsed,u=e.expanderIcon,p=e.collapserIcon,b=e.expandedTitle,j=Object(s.a)(),m=u||Object(l.jsx)("img",{src:d.arrowDown,style:j.icon}),f=p||Object(l.jsx)("img",{src:d.arrowUp,style:j.icon});return Object(l.jsxs)("div",{className:"p-grid p-align-center",style:{minHeight:65},children:[Object(l.jsxs)("div",{className:"p-col-10",onClick:function(e){!e.target||"checkbox"===e.target.type||e.target.classList.contains("p-checkbox-box")||e.target.parentElement.classList.contains("p-checkbox-box")||e.target.classList.contains("p-radiobutton-box")||r(!a)},style:{cursor:"pointer"},children:[t&&Object(l.jsx)("div",{className:"p-grid",style:j.filters.notTopFilterRow,children:Object(l.jsx)("div",{className:"p-col",style:Object(i.a)(Object(i.a)({},j.filters.searchButtonContainer),{},{font:j.theme.v2Fonts.smediumHeader,color:"black"}),children:t})}),b&&!a&&Object(l.jsx)("div",{className:"p-grid",style:j.filters.notTopFilterRow,children:Object(l.jsx)("div",{className:"p-col",style:Object(i.a)({},j.filters.searchButtonContainer),children:b})}),a&&n&&Object(l.jsx)("div",{className:"p-grid",style:j.filters.notTopFilterRow,children:Object(l.jsx)("div",{className:"p-col",style:j.filters.searchButtonContainer,children:Object(l.jsx)(o.Button,{style:j.filters.searchButton,onClick:n,children:Object(l.jsx)("div",{style:j.filters.searchButtonText,children:"Search"})})})})]}),Object(l.jsxs)("div",{className:"p-col-2",style:{textAlign:"right",cursor:"pointer"},onClick:function(){return r(!a)},children:[a&&Object(l.jsxs)("button",{className:"p-panel-header-icon p-panel-toggler p-link",onClick:function(){return r(!a)},"aria-expanded":!a,role:"tab",children:[m,Object(l.jsx)(c.Ripple,{})]}),!a&&Object(l.jsx)("button",{className:"p-panel-header-icon p-panel-toggler p-link",onClick:function(){return r(!a)},"aria-expanded":!a,role:"tab",children:f})]})]})}},88:function(e,t,n){"use strict";n.d(t,"a",(function(){return h})),n.d(t,"f",(function(){return g})),n.d(t,"g",(function(){return x})),n.d(t,"h",(function(){return v})),n.d(t,"n",(function(){return y})),n.d(t,"i",(function(){return C})),n.d(t,"c",(function(){return w})),n.d(t,"o",(function(){return S})),n.d(t,"e",(function(){return N})),n.d(t,"d",(function(){return E})),n.d(t,"b",(function(){return I})),n.d(t,"j",(function(){return F})),n.d(t,"k",(function(){return T})),n.d(t,"m",(function(){return R})),n.d(t,"l",(function(){return P}));var a,r=n(6),i=n(83),c=n(2),o=n(5),s=n.n(o),l=n(10),d=n(39),u=n(42),p=n(119),b=n(4),j=n(8),m=n(53),f=["context"],h=50,O=Object.freeze({fetchStatus:j.a.statuses.NULL,companyEmails:[],events:{items:null,total:0,pageIndex:0,pageSize:0,attributes:{},lastUpdatedUtc:null,fetchStatus:j.a.statuses.NULL},notifications:[],user:null,organization:null,updates:{fetchStatus:j.a.statuses.NULL,forecast:null,contracts:null,grants:null,enhancements:[],updated:[],removed:[],feedback:{fetchStatus:j.a.statuses.NULL,errors:{}},forecastSummaryId:null,contractsSummaryId:null,grantsSummaryId:null},pipelineUpdates:{items:[],paginatedItems:[],count:0,fetchStatus:j.a.statuses.NULL},opportunitiesDetails:{fetchStatus:j.a.statuses.NULL,data:[],lastUpdatedUtc:null,pageIndex:0,pageSize:0,total:0,attributes:{}},event:{post:{fetchStatus:j.a.statuses.NULL},put:{fetchStatus:j.a.statuses.NULL},delete:{fetchStatus:j.a.statuses.NULL}},deleteAccount:{fetchStatus:j.a.statuses.NULL,error:null}}),g=Object(u.b)("dashboard/getDashboardData",function(){var e=Object(l.a)(s.a.mark((function e(t){var n,a;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,d.a.get(Object(b.f)("/api/user/profile",{useDedicatedEnvironment:!0}),Object(b.b)(t));case 2:return a=e.sent,e.abrupt("return",null!==(n=null===a||void 0===a?void 0:a.data)&&void 0!==n?n:{});case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()),x=Object(u.b)("dashboard/getEvents",function(){var e=Object(l.a)(s.a.mark((function e(t){var n,a,r,i,o,l;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return i=t.context,o=t.params,e.next=3,d.a.get(Object(b.f)("/api/user/event".concat(Object(m.a)(Object(c.a)(Object(c.a)({},o),{},{PageIndex:null!==(n=o.PageIndex)&&void 0!==n?n:0,PageSize:null!==(a=o.PageSize)&&void 0!==a?a:20,EventDateAfter:new Date,SortField:"date",SortOrder:1}))),{useDedicatedEnvironment:!0}),Object(b.b)(i));case 3:return l=e.sent,e.abrupt("return",null!==(r=null===l||void 0===l?void 0:l.data)&&void 0!==r?r:{});case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()),v=Object(u.b)("dashboard/getOverviewData",function(){var e=Object(l.a)(s.a.mark((function e(t){var n,a,r,i,o,l;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.context,i=t.values,e.next=3,Promise.all(["Forecast"].map((function(e){return d.a.post(Object(b.f)("/api/summary/data",{useDedicatedEnvironment:!0}),Object(c.a)(Object(c.a)({},i),{},{datasetType:e}),Object(b.b)(r))})));case 3:return o=e.sent,e.next=6,Promise.all(["Forecast","Contract","Grant"].map((function(e){return d.a.post(Object(b.f)("/api/summary/ai",{useDedicatedEnvironment:!0}),Object(c.a)(Object(c.a)({},i),{},{datasetType:e,filterToUserPipelines:!1}),Object(b.b)(r))})));case 6:return l=e.sent,e.abrupt("return",{rawResponse:null!==(n=o.map((function(e,t){return Object(c.a)(Object(c.a)({},e.data),{},{context:0===t?"Forecast":1===t?"Contract":"Grant"})})))&&void 0!==n?n:[],summaries:null!==(a=l.map((function(e){return e.data})))&&void 0!==a?a:[]});case 8:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()),y=Object(u.b)("dashboard/sendSummaryFeedback",function(){var e=Object(l.a)(s.a.mark((function e(t,n){var a,r,c;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=t.context,r=Object(i.a)(t,f),e.next=3,d.a.post(Object(b.f)("/api/summary/ai/feedback",{useDedicatedEnvironment:!0}),r,Object(b.b)(a));case 3:return c=e.sent,e.abrupt("return",null===c||void 0===c?void 0:c.data);case 5:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}()),C=Object(u.b)("dashboard/getPipelineUpdatesDetails",function(){var e=Object(l.a)(s.a.mark((function e(t){var n,a,r,i,o;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.context,a=t.params,r=t.loadMore,i=void 0!==r&&r,e.next=3,d.a.get(Object(b.f)("/api/combinedDataset".concat(Object(m.a)(Object(c.a)({},a))),{useDedicatedEnvironment:!0}),Object(b.b)(n));case 3:return o=e.sent,e.abrupt("return",Object(c.a)(Object(c.a)({},o.data),{},{loadMore:i}));case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()),A=Object(u.b)("dashboard/getPipelineUpdates",function(){var e=Object(l.a)(s.a.mark((function e(t){var n,a,r,i,c;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=t.context,r=t.period,i=t.type,e.next=3,d.a.get(Object(b.f)("/api/user/recentPipeLineUpdates".concat(Object(m.a)({period:r,type:i})),{useDedicatedEnvironment:!0}),Object(b.b)(a));case 3:return c=e.sent,e.abrupt("return",null!==(n=null===c||void 0===c?void 0:c.data)&&void 0!==n?n:{});case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()),w=Object(u.b)("dashboard/createNewEvent",function(){var e=Object(l.a)(s.a.mark((function e(t){var n,a,r,i;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=t.context,r=t.values,e.next=3,d.a.post(Object(b.f)("/api/user/event",{useDedicatedEnvironment:!0}),r,Object(b.b)(a));case 3:return i=e.sent,e.abrupt("return",null!==(n=null===i||void 0===i?void 0:i.data)&&void 0!==n?n:[]);case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()),S=Object(u.b)("dashboard/updateEvent",function(){var e=Object(l.a)(s.a.mark((function e(t){var n,a,r,i,c;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=t.context,r=t.values,i=t.id,e.next=3,d.a.put(Object(b.f)("/api/user/event",{useDedicatedEnvironment:!0}),{id:i,event:r},Object(b.b)(a));case 3:return c=e.sent,e.abrupt("return",null!==(n=null===c||void 0===c?void 0:c.data)&&void 0!==n?n:[]);case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()),N=Object(u.b)("dashboard/deleteEvent",function(){var e=Object(l.a)(s.a.mark((function e(t){var n,a,r,i;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=t.context,r=t.id,e.next=3,d.a.delete(Object(b.f)("/api/user/event",{useDedicatedEnvironment:!0}),Object(c.a)(Object(c.a)({},Object(b.c)(a)),{},{data:{id:r}}));case 3:return i=e.sent,e.abrupt("return",null!==(n=null===i||void 0===i?void 0:i.data)&&void 0!==n?n:[]);case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()),E=Object(u.b)("dashboard/deleteAccount",function(){var e=Object(l.a)(s.a.mark((function e(t){var n,a;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,d.a.delete(Object(b.f)("/api/user/delete",{useDedicatedEnvironment:!0}),Object(b.c)(t));case 2:return a=e.sent,e.abrupt("return",null!==(n=null===a||void 0===a?void 0:a.data)&&void 0!==n?n:[]);case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()),I=Object(u.b)("dashboard/clearStoreState",function(){var e=Object(l.a)(s.a.mark((function e(t,n){return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:n.dispatch({type:"logout/LOGOUT"});case 1:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}()),D=Object(u.c)({name:"dashboard",initialState:O,reducers:{resetCreateEventState:function(e){e.event.post=O.event.post},resetUpdateEventState:function(e){e.event.put=O.event.put},resetDeleteAccountState:function(e){e.deleteAccount=O.deleteAccount}},extraReducers:(a={},Object(r.a)(a,g.pending,(function(e){e.fetchStatus=j.a.statuses.FETCHING})),Object(r.a)(a,g.fulfilled,(function(e,t){var n=t.payload;e.user={firstName:n.firstName,lastName:n.lastName,timezone:n.timezone},e.organization=n.organization,e.notifications=n.notifications,e.companyEmails=n.companyEmails,e.fetchStatus=j.a.statuses.DONE})),Object(r.a)(a,g.rejected,(function(e){e.fetchStatus=j.a.statuses.ERROR})),Object(r.a)(a,x.pending,(function(e){e.events.fetchStatus=j.a.statuses.FETCHING})),Object(r.a)(a,x.fulfilled,(function(e,t){var n=t.payload;e.events.items=n.data,e.events.total=n.totalItems,e.events.lastUpdatedUtc=n.lastUpdatedUtc,e.events.attributes=n.attributes,e.events.pageIndex=n.pageIndex,e.events.pageSize=n.pageSize,e.events.fetchStatus=j.a.statuses.DONE})),Object(r.a)(a,x.rejected,(function(e){e.events.fetchStatus=j.a.statuses.ERROR})),Object(r.a)(a,v.pending,(function(e){e.updates.fetchStatus=j.a.statuses.FETCHING})),Object(r.a)(a,v.fulfilled,(function(e,t){var n,a,r,i,c,o,s,l,d,u,p,b,m,f,O,g,x,v,y,C,A,w,S,N,E,I,D,F=Object.values(t.payload.rawResponse[0]).filter((function(e){return!e.EnhancementUpdates&&"string"!==typeof e})).map((function(e){return e.Records.length})).reduce((function(e,t){return e+t}),0);e.updates.forecast={summary:null!==(n=null===(a=t.payload.summaries[0])||void 0===a?void 0:a.summary)&&void 0!==n?n:null,createdOn:null!==(r=null===(i=t.payload.summaries[0])||void 0===i?void 0:i.createdOn)&&void 0!==r?r:null,totalChanges:F,created:null!==(c=null===(o=Object.values(null!==(s=null===(l=t.payload.rawResponse[0].createdRecords)||void 0===l?void 0:l.records)&&void 0!==s?s:null===(d=t.payload.rawResponse[0].CreatedRecords)||void 0===d?void 0:d.Records))||void 0===o?void 0:o.length)&&void 0!==c?c:0,updated:null!==(u=null===(p=Object.values(null!==(b=null===(m=t.payload.rawResponse[0].updatedRecords)||void 0===m?void 0:m.records)&&void 0!==b?b:null===(f=t.payload.rawResponse[0].UpdatedRecords)||void 0===f?void 0:f.Records))||void 0===p?void 0:p.length)&&void 0!==u?u:0,deleted:null!==(O=null===(g=Object.values(null!==(x=null===(v=t.payload.rawResponse[0].deletedRecords)||void 0===v?void 0:v.records)&&void 0!==x?x:null===(y=t.payload.rawResponse[0].DeletedRecords)||void 0===y?void 0:y.Records))||void 0===g?void 0:g.length)&&void 0!==O?O:0,unusualActivity:F>h},e.updates.contracts={summary:null!==(C=null===(A=t.payload.summaries[1])||void 0===A?void 0:A.summary)&&void 0!==C?C:null,createdOn:null!==(w=null===(S=t.payload.summaries[1])||void 0===S?void 0:S.createdOn)&&void 0!==w?w:null},e.updates.grants={summary:null!==(N=null===(E=t.payload.summaries[2])||void 0===E?void 0:E.summary)&&void 0!==N?N:null,createdOn:null!==(I=null===(D=t.payload.summaries[2])||void 0===D?void 0:D.createdOn)&&void 0!==I?I:null},e.updates.forecastSummaryId=t.payload.summaries[0].id,e.updates.contractsSummaryId=t.payload.summaries[1].id,e.updates.grantsSummaryId=t.payload.summaries[2].id,e.updates.fetchStatus=j.a.statuses.DONE})),Object(r.a)(a,v.rejected,(function(e){e.updates.fetchStatus=j.a.statuses.ERROR})),Object(r.a)(a,C.pending,(function(e){e.opportunitiesDetails.fetchStatus=j.a.statuses.FETCHING})),Object(r.a)(a,C.fulfilled,(function(e,t){var n=t.payload,a=n.attributes,r=n.totalItems,i=n.lastUpdatedUtc,c=n.data,o=n.pageIndex,s=n.pageSize;n.loadMore,Object(p.a)(e);e.opportunitiesDetails.attributes=a,e.opportunitiesDetails.data=c,e.opportunitiesDetails.lastUpdatedUtc=i,e.opportunitiesDetails.pageIndex=o,e.opportunitiesDetails.pageSize=s,e.opportunitiesDetails.total=r,e.opportunitiesDetails.fetchStatus=j.a.statuses.DONE})),Object(r.a)(a,C.rejected,(function(e){e.opportunitiesDetails.fetchStatus=j.a.statuses.ERROR})),Object(r.a)(a,A.pending,(function(e){e.pipelineUpdates.fetchStatus=j.a.statuses.FETCHING})),Object(r.a)(a,A.fulfilled,(function(e,t){var n=t.payload;e.pipelineUpdates.fetchStatus=j.a.statuses.DONE,e.pipelineUpdates.count=n.length,e.pipelineUpdates.items=n,e.pipelineUpdates.paginatedItems=n.slice(0,20)})),Object(r.a)(a,A.rejected,(function(e){e.pipelineUpdates.fetchStatus=j.a.statuses.ERROR})),Object(r.a)(a,w.pending,(function(e){e.event.post.fetchStatus=j.a.statuses.FETCHING})),Object(r.a)(a,w.fulfilled,(function(e){e.event.post.fetchStatus=j.a.statuses.DONE})),Object(r.a)(a,w.rejected,(function(e){e.event.post.fetchStatus=j.a.statuses.ERROR})),Object(r.a)(a,S.pending,(function(e){e.event.put.fetchStatus=j.a.statuses.FETCHING})),Object(r.a)(a,S.fulfilled,(function(e){e.event.put.fetchStatus=j.a.statuses.DONE})),Object(r.a)(a,S.rejected,(function(e){e.event.put.fetchStatus=j.a.statuses.ERROR})),Object(r.a)(a,N.pending,(function(e){e.event.delete.fetchStatus=j.a.statuses.FETCHING})),Object(r.a)(a,N.fulfilled,(function(e){e.event.delete.fetchStatus=j.a.statuses.DONE})),Object(r.a)(a,N.rejected,(function(e){e.event.delete.fetchStatus=j.a.statuses.ERROR})),Object(r.a)(a,E.pending,(function(e){e.deleteAccount.fetchStatus=j.a.statuses.FETCHING,e.deleteAccount.error=null})),Object(r.a)(a,E.fulfilled,(function(e){e.deleteAccount.fetchStatus=j.a.statuses.DONE})),Object(r.a)(a,E.rejected,(function(e,t){var n,a;e.deleteAccount.fetchStatus=j.a.statuses.ERROR,e.deleteAccount.error=null!==(n=null===(a=t.payload)||void 0===a?void 0:a.error)&&void 0!==n?n:"There was an error."})),Object(r.a)(a,y.pending,(function(e){e.updates.feedback.fetchStatus=j.a.statuses.FETCHING})),Object(r.a)(a,y.fulfilled,(function(e){e.updates.feedback.fetchStatus=j.a.statuses.DONE})),Object(r.a)(a,y.rejected,(function(e,t){e.updates.feedback.errors=t.payload,e.updates.feedback.fetchStatus=j.a.statuses.ERROR})),a)}),F=D.reducer,k=D.actions,T=k.resetCreateEventState,R=k.resetUpdateEventState,P=k.resetDeleteAccountState},9:function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"i",(function(){return l})),n.d(t,"b",(function(){return u})),n.d(t,"h",(function(){return p})),n.d(t,"g",(function(){return b})),n.d(t,"j",(function(){return j})),n.d(t,"c",(function(){return f})),n.d(t,"e",(function(){return h})),n.d(t,"f",(function(){return O}));var a,r,i=n(6),c=n(1),o=n.n(c);!function(e){e.default="Default",e.free="Free",e.consultant="Consultant",e.plus="Plus",e.pro="Pro",e.semiAdmin="SemiAdmin",e.partialAdmin="PartialAdmin",e.organizationMember="OrganizationMember",e.organizationAdmin="OrganizationAdmin",e.EditPrimesAndQuarterlyCallInfo="EditPrimesAndQuarterlyCallInfo",e.EditUserNotifications="EditUserNotifications",e.EditCalendarEvents="EditCalendarEvents",e.EditResourcesPage="EditResourcesPage",e.admin="SuperAdmin"}(r||(r={}));var s={isLoaded:!1,updateCurrentUser:function(e){return Promise.resolve()},user:{accessToken:"",jwt:"",refreshToken:"",expiresIn:0,groups:[],konektidToken:""},refreshUserToken:function(e){return Promise.resolve()}};function l(e){var t;return!!(null===e||void 0===e||null===(t=e.user)||void 0===t?void 0:t.idToken)}a={},Object(i.a)(a,r.default,0),Object(i.a)(a,r.plus,500),Object(i.a)(a,r.pro,3500),Object(i.a)(a,r.admin,9999999);var d,u={plusOrHigher:[r.plus,r.pro,r.semiAdmin,r.admin],proOrHigher:[r.pro,r.semiAdmin,r.admin],semiAdminOrHigher:[r.semiAdmin,r.admin],adminOrHigher:[r.admin],organizationAdmins:[r.organizationAdmin,r.plus,r.pro,r.semiAdmin,r.admin]},p=function(e,t){return!!t.find((function(t){return h(e,t)}))},b=function(e,t){return!!h(e,r.admin)||!!h(e,r.semiAdmin)&&h(e,t)},j=function(e,t){return!!h(e,t)};!function(e){e.default="Free",e.consultant="Consultant",e.plus="Plus",e.pro="Pro",e.semiAdmin="Semi-Admin",e.admin="Admin",e.organizationMember="OrganizationMember",e.organizationAdmin="OrganizationAdmin"}(d||(d={}));var m=[{enum:r.default,role:"Free"},{enum:r.free,role:"Free"},{enum:r.consultant,role:"Consultant"},{enum:r.plus,role:"Plus"},{enum:r.pro,role:"Pro"},{enum:r.semiAdmin,role:"Partial Admin"},{enum:r.semiAdmin,role:"Partial Admin"},{enum:r.organizationAdmin,role:"OrganizationAdmin"},{enum:r.organizationMember,role:"OrganizationMember"},{enum:r.EditPrimesAndQuarterlyCallInfo,role:"Edit F+ Prime and Quarterly Call Info"},{enum:r.EditUserNotifications,role:"Edit Dashboard New Feed"},{enum:r.EditCalendarEvents,role:"Edit Dashboard Calendar Events"},{enum:r.EditResourcesPage,role:"Edit Resources Page"},{enum:r.admin,role:"Full Admin"}],f=function(e){var t=m.find((function(t){return t.enum===e}));return t?t.role:"Free"};function h(e,t){return!!(e&&e.user&&e.user.groups&&e.user.groups.find((function(e){return e===t})))}function O(e){var t=h(e,r.admin),n=h(e,r.semiAdmin),a=h(e,r.partialAdmin),i=h(e,r.pro),c=h(e,r.plus),o=h(e,r.consultant);return t?r.admin:n?r.semiAdmin:a?r.partialAdmin:i?r.pro:c?r.plus:o?r.consultant:r.default}var g=o.a.createContext(s);t.d=g},907:function(e,t,n){},91:function(e,t,n){"use strict";n.d(t,"c",(function(){return a})),n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return i})),n.d(t,"d",(function(){return c}));var a="https://konektid-grants-resources.s3.amazonaws.com/",r="https://konektid-contracts-resources.s3.amazonaws.com/",i="https://airtable.com/appWIUzo8POY9mutx/shrXJJgGOiz4girPN",c=function(e){return function(){return window.open(e,"_blank")}}},910:function(e,t,n){var a={"./af-ZA.js":911,"./ar-AE.js":912,"./ar-BH.js":913,"./ar-DZ.js":914,"./ar-EG.js":915,"./ar-IQ.js":916,"./ar-JO.js":917,"./ar-KW.js":918,"./ar-LB.js":919,"./ar-LY.js":920,"./ar-MA.js":921,"./ar-OM.js":922,"./ar-QA.js":923,"./ar-SA.js":924,"./ar-SY.js":925,"./ar-TN.js":926,"./ar-YE.js":927,"./az-Cyrl-AZ.js":928,"./az-Latn-AZ.js":929,"./be-BY.js":930,"./bg-BG.js":931,"./bs-Latn-BA.js":932,"./ca-ES.js":933,"./cs-CZ.js":934,"./cy-GB.js":935,"./da-DK.js":936,"./de-AT.js":937,"./de-CH.js":938,"./de-DE.js":939,"./de-LI.js":940,"./de-LU.js":941,"./dv-MV.js":942,"./el-GR.js":943,"./en-029.js":944,"./en-AU.js":945,"./en-BZ.js":946,"./en-CA.js":947,"./en-GB.js":948,"./en-IE.js":949,"./en-JM.js":950,"./en-NZ.js":951,"./en-PH.js":952,"./en-TT.js":953,"./en-ZA.js":954,"./en-ZW.js":955,"./es-AR.js":956,"./es-BO.js":957,"./es-CL.js":958,"./es-CO.js":959,"./es-CR.js":960,"./es-DO.js":961,"./es-EC.js":962,"./es-ES.js":963,"./es-GT.js":964,"./es-HN.js":965,"./es-MX.js":966,"./es-NI.js":967,"./es-PA.js":968,"./es-PE.js":969,"./es-PR.js":970,"./es-PY.js":971,"./es-SV.js":972,"./es-UY.js":973,"./es-VE.js":974,"./et-EE.js":975,"./eu-ES.js":976,"./fa-IR.js":977,"./fi-FI.js":978,"./fo-FO.js":979,"./fr-BE.js":980,"./fr-CA.js":981,"./fr-CH.js":982,"./fr-FR.js":983,"./fr-LU.js":984,"./fr-MC.js":985,"./gl-ES.js":986,"./gu-IN.js":987,"./he-IL.js":988,"./hi-IN.js":989,"./hr-BA.js":990,"./hr-HR.js":991,"./hu-HU.js":992,"./hy-AM.js":993,"./id-ID.js":994,"./is-IS.js":995,"./it-CH.js":996,"./it-IT.js":997,"./ja-JP.js":998,"./ka-GE.js":999,"./kk-KZ.js":1e3,"./kn-IN.js":1001,"./ko-KR.js":1002,"./kok-IN.js":1003,"./ky-KG.js":1004,"./lt-LT.js":1005,"./lv-LV.js":1006,"./mi-NZ.js":1007,"./mk-MK.js":1008,"./mn-MN.js":1009,"./mr-IN.js":1010,"./ms-BN.js":1011,"./ms-MY.js":1012,"./mt-MT.js":1013,"./nb-NO.js":1014,"./nl-BE.js":1015,"./nl-NL.js":1016,"./nn-NO.js":1017,"./ns-ZA.js":1018,"./pa-IN.js":1019,"./pl-PL.js":1020,"./pt-BR.js":1021,"./pt-PT.js":1022,"./quz-BO.js":1023,"./quz-EC.js":1024,"./quz-PE.js":1025,"./ro-RO.js":1026,"./ru-RU.js":1027,"./sa-IN.js":1028,"./se-FI.js":1029,"./se-NO.js":1030,"./se-SE.js":1031,"./sk-SK.js":1032,"./sl-SI.js":1033,"./sma-NO.js":1034,"./sma-SE.js":1035,"./smj-NO.js":1036,"./smj-SE.js":1037,"./smn-FI.js":1038,"./sms-FI.js":1039,"./sq-AL.js":1040,"./sr-Cyrl-BA.js":1041,"./sr-Cyrl-CS.js":1042,"./sr-Latn-BA.js":1043,"./sr-Latn-CS.js":1044,"./sv-FI.js":1045,"./sv-SE.js":1046,"./sw-KE.js":1047,"./syr-SY.js":1048,"./ta-IN.js":1049,"./te-IN.js":1050,"./th-TH.js":1051,"./tn-ZA.js":1052,"./tr-TR.js":1053,"./tt-RU.js":1054,"./uk-UA.js":1055,"./ur-PK.js":1056,"./uz-Cyrl-UZ.js":1057,"./uz-Latn-UZ.js":1058,"./vi-VN.js":1059,"./xh-ZA.js":1060,"./zh-CN.js":1061,"./zh-HK.js":1062,"./zh-MO.js":1063,"./zh-SG.js":1064,"./zh-TW.js":1065,"./zu-ZA.js":1066};function r(e){var t=i(e);return n(t)}function i(e){if(!n.o(a,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return a[e]}r.keys=function(){return Object.keys(a)},r.resolve=i,e.exports=r,r.id=910},94:function(e,t,n){"use strict";var a=n(2),r=(n(1),n(95)),i=n(1361),c=n(150),o=n(525),s=n(1362),l=n(159),d=n(376),u=n(474),p=n(1363),b=n(341),j=n(124),m=n.n(j),f=n(0);t.a=function(e){var t=e.open,n=e.handleClose,j=void 0===n?function(){}:n,h=e.handleAccept,O=e.acceptButtonType,g=void 0===O?"button":O,x=e.form,v=void 0===x?null:x,y=e.title,C=void 0===y?null:y,A=e.actions,w=void 0===A?"default":A,S=e.cancelLabel,N=void 0===S?"Cancel":S,E=e.acceptLabel,I=void 0===E?"Ok":E,D=e.minWidth,F=void 0===D?"300px":D,k=e.disableCancelButton,T=void 0!==k&&k,R=e.loading,P=void 0!==R&&R,M=e.acceptButtonLoading,U=void 0!==M&&M,L=e.acceptButtonDisabled,B=void 0!==L&&L,V=e.acceptButtonColor,Q=void 0===V?"secondary":V,W=e.contentSx,H=void 0===W?{}:W,z=e.children,Y=Object(r.a)();return Object(f.jsxs)(i.a,{open:t,onClose:j,PaperProps:{sx:{minWidth:F}},children:[Object(f.jsx)(c.a,{sx:{height:"4px"},children:P&&Object(f.jsx)(o.a,{})}),Object(f.jsxs)(s.a,{sx:{p:4,pt:2,minWidth:F},children:[Object(f.jsxs)(c.a,{sx:{display:"flex",justifyContent:"space-between",alignItems:"center",gap:"24px"},children:[Object(f.jsx)(l.a,{variant:"h5",dangerouslySetInnerHTML:{__html:null!==C&&void 0!==C?C:""}}),Object(f.jsx)(d.a,{onClick:j,children:Object(f.jsx)(m.a,{sx:{color:Y.palette.text.primary}})})]}),Object(f.jsx)(u.a,{sx:{ml:-4,width:"calc(100% + 64px)",mt:1}}),Object(f.jsx)(c.a,{sx:Object(a.a)({maxHeight:"calc(80vh - 150px)",overflowY:"scroll",mt:2},H),children:z}),Object(f.jsx)(u.a,{sx:{ml:-4,width:"calc(100% + 64px)",mt:2}}),"default"===w?Object(f.jsxs)(c.a,{sx:{display:"flex",alignItems:"center",justifyContent:"center",gap:"24px",mt:2,"& > button":{minWidth:"160px"}},children:[!T&&Object(f.jsx)(b.a,{variant:"secondaryContained",color:"secondary",onClick:j,children:N}),Object(f.jsx)(b.a,Object(a.a)(Object(a.a)({variant:"contained",color:Q,type:g,onClick:"button"!==g?function(){}:h,disabled:U||B},v&&{form:v}),{},{endIcon:U?Object(f.jsx)(p.a,{size:16,sx:{color:Y.palette.primary.contrastText}}):Object(f.jsx)(f.Fragment,{}),children:I}))]}):w]})]})}},96:function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var a=n(1),r=n.n(a),i=n(64),c=n(236),o=n(101),s=n(0),l=function(e){var t=e.text,n=e.icon,a=e.icontext,l=r.a.useContext(i.a);return Object(s.jsxs)("div",{style:{display:"flex",alignItems:"center",marginLeft:6},children:[Object(s.jsx)("img",{src:c.default,alt:"Aidkonekt Icon",style:{height:"17px",width:"auto"}})," ","\xa0",Object(s.jsxs)("span",{style:{fontSize:"18px",fontWeight:700,textAlign:"left"},children:[t," ",Object(s.jsx)("span",{style:{font:l.v2Fonts.context,verticalAlign:"middle"},children:n&&Object(s.jsx)(o.a,{tooltipText:a||""})})]})]})};t.b=function(e){var t=e.text,n=e.icon,a=e.icontext,l=r.a.useContext(i.a);return Object(s.jsxs)("div",{style:{display:"flex",alignItems:"center",margin:"7px 7px 20px"},children:[Object(s.jsx)("img",{src:c.default,alt:"Aidkonekt Icon",style:{height:"25px",width:"auto"}})," ","\xa0",Object(s.jsxs)("span",{style:{font:l.v2Fonts.mediumHeader,textAlign:"left"},children:[t," ",Object(s.jsx)("span",{style:{font:l.v2Fonts.context,verticalAlign:"middle"},children:n&&Object(s.jsx)(o.a,{tooltipText:a||""})})]})]})}},99:function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return i}));var a=n(3);n(351);function r(e){return"Invalid Date"===e.toString()?"":e.toString("dd MMMM yyyy")}function i(e){return"".concat(r(e),", ").concat(function(e){var t=e.toLocaleTimeString().split(":");return"Invalid Date"===Object(a.a)(t,1)[0]?"":e.toString("H:mm")}(e))}}},[[1343,1,2]]]); //# sourceMappingURL=main.e22af8a6.chunk.js.map