(self.webpackChunkamplifund=self.webpackChunkamplifund||[]).push([[4152,4461,5104,2047,8354,5664],{74140:(t,e,a)=>{"use strict";a.d(e,{F:()=>n});const n=(0,a(76544).A)({palette:{mode:"light",primary:{main:"#008400"},secondary:{main:"#840084"}},typography:{fontFamily:'"Open Sans", Sans-Serif',fontSize:12}})},15568:(t,e,a)=>{"use strict";a.d(e,{DW:()=>h,$F:()=>p,a8:()=>m});var n=a(51786),i=a.n(n),s=a(96540),o=a(5338),d=a(9899);const r='\n\x3c!-- ko if: options.detailsMode --\x3e\n\t\n\x3c!-- /ko --\x3e\n\x3c!-- ko ifnot: options.detailsMode --\x3e\n\t\n\x3c!-- /ko--\x3e\n\n\x3c!-- ko if: options.name --\x3e\n\n\x3c!-- /ko --\x3e\n\x3c!-- ko if: options.value && options.value.rules && !options.detailsMode--\x3e\n\n\x3c!-- /ko --\x3e';var l=a(63432),c=a(74692);const u={};class h{configureBackingObservable(t,e,a){this._ko.isWriteableObservable(t)&&e.subscribe((e=>t(e))),t.subscribe((t=>a(t)))}constructor(t){var e,a;this.options=u,this.options={knockout:void 0,...u,...t},this._ko=null!==(e=this.options.knockout)&&void 0!==e?e:i();const n=null!==(a=this._ko.pureComputed)&&void 0!==a?a:this._ko.computed;let s;switch(this._rawValue=this._ko.observable(),this._valueType=this._ko.observable("moment"),this._ko.unwrap(null==t?void 0:t.value)instanceof Date?this._valueType("date"):"string"==typeof this._ko.unwrap(null==t?void 0:t.value)&&this._valueType("string"),this._momentValue=n((()=>{var t;return null!==(t=(0,l.LU)(this._rawValue()))&&void 0!==t?t:void 0})),this.options.postTime){case d.f.Noon:s=l.ow.PostNoon;break;case d.f.Standard:s=l.ow.Post;break;default:s=l.ow.PostZero}this.value=n({read:()=>{const t=this._momentValue();return"date"===this._valueType()?null==t?void 0:t.toDate():"string"===this._valueType()?(0,l.sq)(t,s):t},write:t=>{this._rawValue(this._ko.unwrap(t))}}),this.postValue=n((()=>(0,l.sq)(this._momentValue(),s))),this.displayValue=n((()=>(0,l.sq)(this._momentValue())));const o=null==t?void 0:t.value;this._ko.isObservable(o)&&this.configureBackingObservable(o,this.value,this._rawValue),this._rawValue(this._ko.unwrap(null==t?void 0:t.value)),this._maxDateInput=this._ko.observable(this._ko.unwrap(this.options.max)),this._maxDate=n((()=>{var t;return null!==(t=(0,l.LU)(this._maxDateInput()))&&void 0!==t?t:void 0}));const r=null==t?void 0:t.max;this._ko.isObservable(r)&&this.configureBackingObservable(r,this._maxDate,this._maxDateInput),this._minDateInput=this._ko.observable(this._ko.unwrap(this.options.min)),this._minDate=n((()=>{var t;return null!==(t=(0,l.LU)(this._minDateInput()))&&void 0!==t?t:void 0}));const c=null==t?void 0:t.min;this._ko.isObservable(c)&&this.configureBackingObservable(c,this._minDate,this._minDateInput)}koDescendantsComplete(t){var e,a,n;const i=this._ko.unwrap(null!==(e=this.options.detailsMode)&&void 0!==e&&e),r=c(t).find(i?"span.af-date-display":"input.af-date");if(!this.root){const t=r.parent();this.root=(0,o.H)(t[0])}const l=s.createElement(d.v,{ariaLabel:this.options.ariaLabel,ariaLabelledBy:this.options.ariaLabelledBy,detailsMode:i,disabled:this._ko.unwrap(null!==(a=this.options.disabled)&&void 0!==a&&a),enabled:this._ko.unwrap(null===(n=this.options.enabled)||void 0===n||n),id:this.options.id,knockout:this._ko,maxDate:this._maxDate,minDate:this._minDate,postTime:this._ko.unwrap(this.options.postTime),value:this.value,onChange:t=>{this._rawValue(t),this.options.onChange&&this.options.onChange(t)}});this.root.render(l)}}function p(){return r}function m(t){t.bindingHandlers["af-date"]={init:function(e,a){const n=c(e),i=a(),s={};for(const[e,a]of Object.entries(i))s[e]=t.unwrap(a);s.knockout=t,s.value=i.value,i.max&&(s.max=i.max),i.min&&(s.min=i.min);const o=new h(s),d=p(),r=c("");r.html(d),n.after(r),n.remove();const l=r[0];t.applyBindingsToDescendants(o,l),o.koDescendantsComplete(l)}}}window.afKnockout=window.afKnockout||{},window.afKnockout.registerDateField=m},9899:(t,e,a)=>{"use strict";a.d(e,{f:()=>n,v:()=>f});var n,i=a(76544),s=a(28507),o=a(82651),d=a(35016),r=a(75737),l=a(51786),c=a.n(l),u=a(96540),h=a(74140),p=a(63432);!function(t){t[t.Standard=0]="Standard",t[t.Zero=1]="Zero",t[t.Noon=2]="Noon"}(n||(n={}));const m=(0,i.A)(h.F,{components:{MuiDayCalendar:{styleOverrides:{weekDayLabel:{fontSize:12}}},MuiPickersDay:{styleOverrides:{root:{fontSize:12}}}}}),v=(t,e)=>{const a=e.unwrap(t);return a?(0,p.LU)(a):null},f=t=>{let{ariaLabel:e,ariaLabelledBy:a,detailsMode:i,detailsModeCanFocusOnTabbing:l,disabled:h,enabled:f,id:b,knockout:g,label:w,maxDate:y,minDate:x,name:k,onChange:S,postTime:A,nestedLayout:T,value:M}=t;var C;const E=null!=g?g:c(),[V,j]=(0,u.useState)(v(M,E)),[I,D]=(0,u.useState)(V),[O,P]=(0,u.useState)(v(y,E)),[_,L]=(0,u.useState)(v(x,E)),F={format:p.ow.Standard,disabled:h||!1===f,label:w,maxDate:O||void 0,minDate:_||void 0,name:k,onAccept:t=>{D(t),null==S||S(t)},onChange:t=>{D(t)},slotProps:{field:{inputProps:{"data-testid":"date-component",onBlur:()=>{null==S||S(I)}},shouldRespectLeadingZeros:!0}},timezone:"system"};(0,u.useEffect)((()=>{M&&j(v(M,E)),E.isSubscribable(M)&&M.subscribe((t=>{j(v(t,E))}))}),[E.unwrap(M)]),(0,u.useEffect)((()=>{P(v(y,E))}),[E.unwrap(y)]),(0,u.useEffect)((()=>{L(v(x,E))}),[E.unwrap(x)]),void 0!==S?F.value=V:F.defaultValue=V,T&&(F.slotProps.popper={disablePortal:!0});const $=null===(C=F.slotProps)||void 0===C?void 0:C.field,N=$.inputProps;let B;switch(N.onFocus=function(t){t.stopPropagation()},b&&($.id=b),e&&(N["aria-label"]=e),a&&(N["aria-labelledby"]=a),A){case n.Noon:B=p.ow.PostNoon;break;case n.Standard:B=p.ow.Post;break;default:B=p.ow.PostZero}const R=k&&u.createElement("input",{type:"hidden","data-testid":"posting-input",name:k,value:(0,p.sq)(V,B),"aria-label":e});return i?u.createElement(u.Fragment,null,R,u.createElement("span",{id:b,tabIndex:l?0:void 0,"data-testid":"details-mode"},(0,p.sq)(V))):u.createElement("div",{className:"af-input"},R,u.createElement(s.A,{theme:m},u.createElement(r.$,{dateAdapter:o.Y},u.createElement(d.l,{...F}))))}},13634:(t,e,a)=>{"use strict";a.d(e,{sF:()=>h,$F:()=>p});var n=a(51786),i=a.n(n),s=a(96540),o=a(5338),d=a(17263);const r='\n\t\x3c!-- ko if: options.detailsMode --\x3e\n\t\n\t\x3c!-- /ko --\x3e\n\t\x3c!-- ko ifnot: options.detailsMode --\x3e\n\t\n\t\x3c!-- /ko--\x3e\n\n\x3c!-- ko if: options.name --\x3e\n\n\x3c!-- /ko --\x3e\n\x3c!-- ko if: options.value && options.value.rules && !options.detailsMode--\x3e\n\n\x3c!-- /ko --\x3e';var l=a(5811),c=a(74692);const u={};class h{configureBackingObservable(t,e,a){this._ko.isWriteableObservable(t)&&e&&e.subscribe((e=>t(e))),t.subscribe((t=>a(t)))}constructor(t){var e,a;this.options=u,this.options={knockout:void 0,...u,...t},this._ko=null!==(e=this.options.knockout)&&void 0!==e?e:i();const n=null!==(a=this._ko.pureComputed)&&void 0!==a?a:this._ko.computed;this._rawValue=this._ko.observable(),this._valueType=this._ko.observable("moment"),this._ko.unwrap(null==t?void 0:t.value)instanceof Date?this._valueType("datetime"):"string"==typeof this._ko.unwrap(null==t?void 0:t.value)&&this._valueType("string"),this._momentValue=n((()=>{var t;return null!==(t=(0,l.aV)(this._rawValue()))&&void 0!==t?t:void 0})),this.value=n({read:()=>{const t=this._momentValue();return"datetime"===this._valueType()?null==t?void 0:t.toDate():"string"===this._valueType()?null==t?void 0:t.toISOString():t},write:t=>{this._rawValue(this._ko.unwrap(t))}}),this.postValue=n((()=>{var t;return null===(t=this._momentValue())||void 0===t?void 0:t.format(l.nY.ISO8601)})),this.displayValue=n((()=>{var e,a;const n=this._ko.unwrap(null!==(e=null==t?void 0:t.detailsModeExcludeTime)&&void 0!==e&&e),i=this._ko.unwrap(null!==(a=null==t?void 0:t.detailsMode)&&void 0!==a&&a);return(0,l.ln)(this._momentValue(),i&&n?l.nY.ShortDate:l.nY.Standard)}));const s=null==t?void 0:t.value;this._ko.isObservable(s)&&this.configureBackingObservable(s,this.value,this._rawValue),this._rawValue(this._ko.unwrap(null==t?void 0:t.value))}koDescendantsComplete(t){var e;const a=this._ko.unwrap(null!==(e=this.options.detailsMode)&&void 0!==e&&e),n=c(t).find(a?"span.af-datetime-display":"input.af-datetime");if(!this.root){const t=n.parent();this.root=(0,o.H)(t[0])}const i=s.createElement(d.I,{ariaLabel:this.options.ariaLabel,ariaLabelledBy:this.options.ariaLabelledBy,detailsMode:this.options.detailsMode,detailsModeExcludeTime:this.options.detailsModeExcludeTime,disabled:this.options.disabled,enabled:this.options.enabled,id:this.options.id,knockout:this._ko,label:this.options.label,max:this.options.max,min:this.options.min,showTimeZone:this.options.showTimeZone,utcDisplay:this.options.utcDisplay,value:this.value,onChange:t=>{this._rawValue(t)}});this.root.render(i)}}function p(){return r}window.afKnockout=window.afKnockout||{},window.afKnockout.registerDateTimeField=function(t){t.bindingHandlers["af-datetime"]={init:function(e,a){const n=c(e),i=a(),s={};for(const[t,e]of Object.entries(i))s[t]=e;s.knockout=t,s.value=i.value;const o=new h(s),d=p(),r=c("");r.html(d),n.after(r),n.remove();const l=r[0];t.applyBindingsToDescendants(o,l),o.koDescendantsComplete(l)}}}},17263:(t,e,a)=>{"use strict";a.d(e,{I:()=>w});var n=a(76544),i=a(28507),s=a(82651),o=a(72111),d=a(75737),r=a(51786),l=a.n(r),c=a(95093),u=a.n(c),h=a(96540),p=a(74140),m=a(5811),v=a(17381);const f=(0,n.A)(p.F,{components:{MuiDayCalendar:{styleOverrides:{weekDayLabel:{fontSize:12}}},MuiPickersDay:{styleOverrides:{root:{fontSize:12}}}}}),b=t=>(0,m.aV)(t?u().isMoment(t)?t.utc():u().utc(t):null),g=function(t,e,a){let n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];e(n?b(a.unwrap(t)):a.unwrap(t)),a.isSubscribable(t)&&t.subscribe((t=>{e(n?b(t):t)}))};function w(t){let{ariaLabel:e,ariaLabelledBy:a,detailsMode:n,detailsModeCanFocusOnTabbing:r,detailsModeExcludeTime:c,disabled:u,enabled:p,id:w,knockout:y,label:x,max:k,min:S,name:A,nestedLayout:T,onChange:M,showTimeZone:C,utcDisplay:E,value:V}=t;var j;const I=null!=y?y:l(),[D,O]=(0,h.useState)(I.unwrap(e));(0,h.useEffect)((()=>{g(e,O,I)}),[I.unwrap(e)]);const[P,_]=(0,h.useState)(I.unwrap(a));(0,h.useEffect)((()=>{g(a,_,I)}),[I.unwrap(a)]);const[L,F]=(0,h.useState)(I.unwrap(n));(0,h.useEffect)((()=>{g(n,F,I)}),[I.unwrap(n)]);const[$,N]=(0,h.useState)(I.unwrap(r));(0,h.useEffect)((()=>{g(r,N,I)}),[I.unwrap(r)]);const[B,R]=(0,h.useState)(I.unwrap(c));(0,h.useEffect)((()=>{g(c,R,I)}),[I.unwrap(c)]);const[z,U]=(0,h.useState)(I.unwrap(u));(0,h.useEffect)((()=>{g(u,U,I)}),[I.unwrap(u)]);const[G,Y]=(0,h.useState)(I.unwrap(p));(0,h.useEffect)((()=>{g(p,Y,I)}),[I.unwrap(p)]);const[q,H]=(0,h.useState)(I.unwrap(w));(0,h.useEffect)((()=>{g(w,H,I)}),[I.unwrap(w)]);const[K,Z]=(0,h.useState)(I.unwrap(x));(0,h.useEffect)((()=>{g(x,Z,I)}),[I.unwrap(x)]);const[W,J]=(0,h.useState)(b(I.unwrap(k)));(0,h.useEffect)((()=>{g(k,J,I,!0)}),[I.unwrap(k)]);const[Q,X]=(0,h.useState)(b(I.unwrap(S)));(0,h.useEffect)((()=>{g(S,X,I,!0)}),[I.unwrap(S)]);const[tt,et]=(0,h.useState)(I.unwrap(A));(0,h.useEffect)((()=>{g(A,et,I)}),[I.unwrap(A)]);const[at,nt]=(0,h.useState)(I.unwrap(C));(0,h.useEffect)((()=>{g(C,nt,I)}),[I.unwrap(C)]);const[it,st]=(0,h.useState)(I.unwrap(E));(0,h.useEffect)((()=>{g(E,st,I)}),[I.unwrap(E)]);const[ot,dt]=(0,h.useState)(b(I.unwrap(V)));(0,h.useEffect)((()=>{g(V,dt,I,!0)}),[I.unwrap(V)]);const[rt,lt]=(0,h.useState)(ot),ct={format:m.nY.Standard,disabled:z||!1===G,label:K,maxDateTime:null!=W?W:void 0,minDateTime:null!=Q?Q:void 0,name:tt,onAccept:t=>{lt(t),null==M||M(t)},onChange:t=>{lt(t)},slotProps:{field:{inputProps:{"data-testid":"date-time-component",onBlur:()=>{null==M||M(rt)}},shouldRespectLeadingZeros:!0}},timezone:it?"UTC":"system"};void 0!==M?ct.value=ot:ct.defaultValue=ot,T&&(ct.slotProps.popper={disablePortal:!0});const ut=null===(j=ct.slotProps)||void 0===j?void 0:j.field,ht=ut.inputProps;ht.onFocus=function(t){t.stopPropagation()},q&&(ut.id=q),D&&(ht["aria-label"]=D),P&&(ht["aria-labelledby"]=P);const pt=tt&&h.createElement("input",{type:"hidden","data-testid":"posting-input",name:tt,value:(0,m.ln)(ot,m.nY.ISO8601),"aria-label":D}),mt=`${null!=q?q:Date.now()}-offset-label`,vt=h.createElement("span",{id:mt,className:"af-utc-tz-label "+(at?"":"sr-only")},ot&&`(${(0,v.MN)()})`);return ht["aria-describedby"]=mt,L?h.createElement("div",{className:"af-detail date-time"},pt,h.createElement("span",{id:q,tabIndex:$?0:void 0,"aria-describedby":mt,"data-testid":"details-mode"},(0,m.ln)(ot,B?m.nY.ShortDate:void 0,it)),vt):h.createElement("div",{className:"af-input date-time"},pt,h.createElement(i.A,{theme:f},h.createElement(d.$,{dateAdapter:s.Y},h.createElement(o.K,{...ct}))),vt)}},70464:(t,e,a)=>{"use strict";a.d(e,{C:()=>it});var n=a(51786),i=a.n(n);const s='\x3c!-- ko ifnot: isScoreApplication --\x3e\n
\n\t

Budget View Settings

\n\t\x3c!-- ko if: $parent.isSalaryRestricted --\x3e\n\t

Based on your account settings, personnel line items have been hidden.

\n\t\x3c!-- /ko --\x3e\n\t
\n\t\t

Options

\n\n\t\t \n\t\t\x3c!-- ko if: $parent.showInitialAdvance --\x3e\n\t\t \n\t\t\x3c!-- /ko --\x3e\n\t\t\x3c!-- ko if: $parent.displayNonGrantFunding --\x3e\n\t\t \n\t\t\x3c!-- /ko --\x3e\n\t
\n
\n\x3c!-- /ko --\x3e\n\n
\n\t\x3c!-- ko ifnot: isScoreApplication --\x3e\n\t

Proposed Budget

\n\t\x3c!-- /ko --\x3e\n\t\n\t\t\n\t\t\t\x3c!-- ko ifnot: isScoreApplication --\x3e\n\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t\t\x3c!-- /ko --\x3e\n\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t\n\t\t\n\t\t\t\x3c!-- ko foreach: categories --\x3e\n\t\t\t\x3c!-- ko if: budgetItems.length > 0 || $parent.isApplicantPortal --\x3e\n\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\n\n\t\t\t\x3c!-- ko if: !$parent.isScoreApplication && $parent.budgetViewSettings.showBudgetItems --\x3e\n\t\t\t\x3c!-- ko foreach: budgetItems --\x3e\n\t\t\t\x3c!-- ko ifnot: $parents[1].isSalaryRestricted && $data.itemType() == 1 --\x3e\n\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t\t\x3c!-- /ko --\x3e\n\t\t\t\x3c!-- /ko --\x3e\n\t\t\t\x3c!-- /ko --\x3e\n\t\t\t\x3c!-- /ko --\x3e\n\t\t\t\x3c!-- /ko --\x3e\n\t\t\t\x3c!-- ko if: !isLocked && applicantCanCreateBudgetCategories && $root.canEdit --\x3e\n\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t\t\x3c!-- /ko --\x3e\n\t\t\n\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t\t\x3c!-- ko ifnot: isScoreApplication --\x3e\n\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t\t\x3c!-- Grant Funding --\x3e\n\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t\t\x3c!-- Non-Grant Funding --\x3e\n\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\n\n\t\t\t\x3c!-- Totals --\x3e\n\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\n\n\t\t\t\x3c!-- ko if: !isLocked && $root.canEdit --\x3e\n\t\t\t\x3c!-- ko foreach: validation.errors --\x3e\n\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t\t\x3c!-- /ko --\x3e\n\t\t\t\x3c!-- /ko --\x3e\n\t\t\t\x3c!-- /ko --\x3e\n\t\t\n\t
\n\t\t\t\t\tExpense Budget\n\t\t\t\t
\x3c!-- add/edit/delete for category --\x3eCategory\x3c!-- edit/delete for budget items --\x3eGrant FundedInitial AdvanceNon-Grant FundedTotal Budgeted
\n\t\t\t\t\t\x3c!-- ko if: !$parent.isLocked && $root.canEdit --\x3e\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\x3c!--/ko--\x3e\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\x3c!-- ko if: supplementalInformation --\x3e\n\t\t\t\t\t\n\t\t\t\t\t\x3c!-- /ko --\x3e\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t
\x3c!-- add/edit/delete for category --\x3e\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t\x3c!-- ko if: !$parents[1].isLocked && $root.canEdit --\x3e\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\x3c!-- /ko --\x3e\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t
\n\t\t\t\t\t\n\t\t\t\tCreate New Category
Total Expense Budget Cost\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t
\n\t\t\t\t\tRevenue Budget\n\t\t\t\t
\n\t\t\t\t\tGrant Funding\n\t\t\t\t
Award Requested
Subtotal
Non-Grant Funding
Cash Match
In-Kind Match
Other Funding
Subtotal
Total Revenue Budget Cost
Total Overall Budget Cost
\n\t\t\t\t\t\n\t\t\t\t
\n
';var o=a(15568),d=a(13634),r=(a(44114),a(77175));class l{constructor(t,e){this.container=e,this.file=t,this.name=this.file.name,this.inputName=`${this.container.options.baseInputName}.NewAttachments`}remove(){this.container.newAttachments.remove(this)}}class c{constructor(t,e){this.container=e,this.id=t.id,this.name=t.name,this.canRemove=!(0,r.LD)(this.container.options.detailsMode)&&this.id>0,this.inputName=(0,n.pureComputed)((()=>`${this.container.options.baseInputName}.ExistingAttachments[${this.container.existingAttachments.indexOf(this)}]`))}remove(){this.container.existingAttachments.remove(this)}}const u={label:"Upload File(s)"};class h{constructor(t){var e,a,i,s;this.options=u,this.options={...u,...t},this.allowMultiple=1!==this.options.maxAttachments,this.newAttachments=null!==(a=null===(e=this.options.data)||void 0===e?void 0:e.newAttachments)&&void 0!==a?a:(0,n.observableArray)(),this.existingAttachments=null!==(s=null===(i=this.options.data)||void 0===i?void 0:i.existingAttachments)&&void 0!==s?s:(0,n.observableArray)();for(const t of this.existingAttachments())this.existingAttachments.replace(t,new c(t,this));this.hasExistingAttachments=(0,n.pureComputed)((()=>this.existingAttachments().length>0)),this.canAdd=(0,n.pureComputed)((()=>!this.newAttachments().some((t=>!t.file))&&(void 0===this.options.maxAttachments||this.newAttachments().length\n\t\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t\n\t\t
\n\t\t\t
\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t
\n\t\t
\n\t\n\n
\n\t
\n\t\t\n\t
\n\t
\n\t\t
\n\t\t\t\n \t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t
\n\t
\n
',m={};class v{constructor(t){this.options=m,this.value=(0,n.observable)(!1),this.options={...m,...t},this.postValue=(0,n.pureComputed)((()=>this.value()?"true":"false")),this.displayValue=(0,n.pureComputed)((()=>`${this.options.label?`${this.options.label}: `:""}${this.value()?"Yes":"No"}`));const e=null==t?void 0:t.value;i().isObservable(e)?this.configureBackingObservable(e):this.value(null!=e&&e)}configureBackingObservable(t){this.value(t()),this.value.subscribe((e=>t(e))),t.subscribe((t=>this.value(t)))}}const f='\n\t\n\n\t\n\t\n\t\n\n';function b(t,e){t.subscribe((t=>e(t))),e.subscribe((e=>t(e)))}a(39961);var g=a(74692);const w={placeholder:"Select...",size:40,disableOnLoad:!1};class y{constructor(t){if(this.options=w,this.options={...w,...t},this.options.width&&(this.options.size=void 0),this.wideWidth="wide"===this.options.width,this.maxWidth="max"===this.options.width,!this.options.lookupContainer)throw"A lookup container is required";this.lookupContainer=this.options.lookupContainer,this.postValue=(0,n.pureComputed)((()=>{const t=this.lookupContainer.value();return void 0!==t?`${t}`:void 0})),this.value=(0,n.pureComputed)({read:()=>this.lookupContainer.value(),write:t=>{var e,a;null===(e=this._comboBox)||void 0===e||e.dataSource.filter([]),null===(a=this._comboBox)||void 0===a||a.select((e=>this.getDataValue(e)===t))}}),this.displayValue=(0,n.pureComputed)((()=>{var t;return null===(t=this.lookupContainer.options().find((t=>t[this.lookupContainer.dataValueField]===this.value())))||void 0===t?void 0:t[this.lookupContainer.dataTextField]})),b(this.lookupContainer.value,this.value)}koDescendantsComplete(t){const e=g(t).find('input[type="text"]').kendoComboBox({dataTextField:this.lookupContainer.dataTextField,dataValueField:this.lookupContainer.dataValueField,filter:"contains",minLength:1,ignoreCase:!0,highlightFirst:!1,placeholder:this.options.placeholder,dataSource:this.lookupContainer.options(),change:()=>{var t;this.lookupContainer.value(this.getDataValue(null===(t=this._comboBox)||void 0===t?void 0:t.dataItem()))},enable:!this.options.disableOnLoad});this._comboBox=null==e?void 0:e.data("kendoComboBox"),this.lookupContainer.options.subscribe((t=>{var e,a,n;this.options.disableOnLoad&&(null===(e=this._comboBox)||void 0===e||e.enable(!0)),null===(a=this._comboBox)||void 0===a||a.dataSource.data(t),null===(n=this._comboBox)||void 0===n||n.refresh()})),g(t).find("input[title]").each(((t,e)=>e.removeAttribute("title"))),e.blur((()=>{var t;(null===(t=this._comboBox)||void 0===t?void 0:t.dataItem())||(this.value(void 0),this.value.notifySubscribers())}))}getDataValue(t){return null==t?void 0:t[this.lookupContainer.dataValueField]}}const x='\x3c!-- ko if: options.detailsMode --\x3e\n\t\n\x3c!--/ko--\x3e\n\x3c!-- ko ifnot: options.detailsMode --\x3e\n\t\n\x3c!-- /ko --\x3e\n';a(84752),a(80125);var k=a(95093),S=a.n(k),A=a(74692);const T={};class M{configureBackingObservable(t){this.utcValue(t()),this.utcValue.subscribe((e=>t(e))),t.subscribe((t=>this.utcValue(t)))}constructor(t){var e;this.options=T,this._rawUtc=(0,n.observable)(),this.options={...T,...t},this.utcValue=(0,n.pureComputed)({read:()=>{const t=this._rawUtc();return this.options.includeTime?t:null==t?void 0:t.startOf("day")},write:t=>{if(t){const e=S().utc(t);this._rawUtc(this.options.includeTime?e:e.startOf("day"))}else this._rawUtc(void 0)}}),this.postValue=(0,n.pureComputed)((()=>{var t;return null===(t=this.utcValue())||void 0===t?void 0:t.toISOString()})),this.displayValue=(0,n.pureComputed)((()=>{var t;const e=this.utcValue();return e?function(t,e){return t.format(e?"l LT":"l")}(e,null!==(t=this.options.includeTime)&&void 0!==t&&t):void 0}));const a=null==t?void 0:t.value;i().isObservable(a)?this.configureBackingObservable(a):this.utcValue(null!==(e=a)&&void 0!==e?e:S().utc())}koDescendantsComplete(t){var e;const a=A(t).find("input:first-child");this.options.includeTime?a.kendoDateTimePicker({change:t=>this.pickerChange(t)}):a.kendoDatePicker({change:t=>this.pickerChange(t)});const n=null===(e=this.options)||void 0===e?void 0:e.value;i().isObservable(n)&&this.configureBackingObservable(n)}pickerChange(t){const e=t.sender.value();var a;e instanceof Date?this._rawUtc((a=e,S().utc([a.getFullYear(),a.getMonth(),a.getDate(),a.getHours(),a.getMinutes()]))):this._rawUtc(void 0)}}const C='\n\t\n\n\n\t\n\n';var E=a(37040);const V='
\n\t\n\n\t
\n\t\t
\n\t\t\t
\n\t\t\t\t\x3c!-- ko if: $parent.options.name --\x3e\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\x3c!-- /ko --\x3e\n\n\t\t\t\t\x3c!-- ko ifnot: editMode --\x3e\n\t\t\t\t\n\t\t\t\t\x3c!-- /ko --\x3e\n\t\t\t\t\x3c!-- ko if: editMode --\x3e\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\x3c!-- /ko --\x3e\n\t\t\t
\n\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t
\n\t\t\t
\n\t\t
\n\t
\n
';a(13109);var j=a(74692);const I={placeholder:"Select..."};class D{constructor(t){if(this.options=I,this.options={...I,...t},!this.options.lookupContainer)throw"A lookup container is required";this.lookupContainer=this.options.lookupContainer,this.postValues=(0,n.pureComputed)({read:()=>this.lookupContainer.values(),write:t=>{var e;null===(e=this._multiSelect)||void 0===e||e.value(t)}}),b(this.lookupContainer.values,this.postValues)}koDescendantsComplete(t){const e=j(t).find("select").kendoMultiSelect({dataTextField:this.lookupContainer.dataTextField,dataValueField:this.lookupContainer.dataValueField,filter:"contains",minLength:1,ignoreCase:!0,highlightFirst:!1,placeholder:this.options.placeholder,dataSource:{data:this.lookupContainer.options()},change:()=>{var t;const e=null===(t=this._multiSelect)||void 0===t?void 0:t.dataItems();this.lookupContainer.values(e.map((t=>this.getDataValue(t))))}});this._multiSelect=null==e?void 0:e.data("kendoMultiSelect"),this.lookupContainer.options.subscribe((t=>{var e;null===(e=this._multiSelect)||void 0===e||e.setDataSource(new kendo.data.DataSource({data:t})),this.lookupContainer.values.notifySubscribers()})),this.lookupContainer.values.notifySubscribers(),j(t).find("[title]").each(((t,e)=>e.removeAttribute("title")))}getDataValue(t){return null==t?void 0:t[this.lookupContainer.dataValueField]}}const O='\n\n\t\n';var P=a(28646),_=a.n(P),L=a(14939);const F={class:"k-textbox numericTextBox",decimals:0,negatives:!1,output:"number",requireValue:!0,thousandsSeparated:!0},$={...F,decimals:2,output:"currency"},N={...F,decimals:2,output:"percent"};class B{get formattingOptions(){return{mantissa:this.options.decimals,negative:"currency"===this.options.output?"parenthesis":"sign",output:this.options.output,thousandSeparated:this.options.thousandsSeparated}}format(t){var e;const a=null!=t?t:0;switch(this.options.output){case"currency":return(0,L.vv)(a);case"percent":return(0,L.Ee)(a,this.options.decimals);default:{const t=_()(a).format(this.formattingOptions);return(0,r.LD)(this.options.detailsMode)&&this.options.trimDetailDecimals&&(null!==(e=this.options.decimals)&&void 0!==e?e:0)>0?(0,L.Bj)(t):t}}}configureBackingObservable(t){this.rawValue(t()),!(0,r.LD)(this.options.detailsMode)&&i().isWriteableObservable(t)&&this.rawValue.subscribe((e=>{t(this.options.requireValue?null!=e?e:0:e)})),t.subscribe((t=>{this.rawValue(t)}))}constructor(t){var e;switch(this.options=F,this.isEditing=(0,n.observable)(!1),this.rawValue=(0,n.observable)(0),this.displayValue=(0,n.pureComputed)({read:()=>{const t=this.rawValue();return this.options.requireValue||void 0!==t?this.isEditing()?(null!=t?t:0).toString():this.format(t):""},write:t=>{var e;if(this.options.requireValue||void 0!==t&&""!==t){const a=null!==(e=(0,L.$J)(t,(t=>this.format(t))))&&void 0!==e?e:0;!this.options.negatives&&a<0?this.rawValue(0):this.rawValue(a)}else this.rawValue(void 0)}}),null==t?void 0:t.output){case"currency":this.options={...$,...t};break;case"percent":this.options={...N,...t};break;default:this.options={...F,...t}}const a=null===(e=this.options)||void 0===e?void 0:e.value;i().isObservable(a)||i().isComputed(a)?this.configureBackingObservable(a):"number"==typeof a&&this.rawValue(a),this.isEditing.valueHasMutated()}}const R='\x3c!-- ko if: options.detailsMode --\x3e\n\n\x3c!-- /ko --\x3e\n\x3c!-- ko ifnot: options.detailsMode --\x3e\n\n\x3c!-- /ko --\x3e\n';class z{constructor(t,e){this.hiddenTabClass="tab-content-container-hidden",this.tabStrip=e,this.title=t.title,this.targetElement=document.getElementById(this.targetId=t.targetId),this.active=(0,n.pureComputed)((()=>this.tabStrip.activeTab()===this)),this.active.subscribe((t=>{var e,a;t?null===(e=this.targetElement)||void 0===e||e.classList.remove(this.hiddenTabClass):null===(a=this.targetElement)||void 0===a||a.classList.add(this.hiddenTabClass)})),this.active.notifySubscribers()}setAsActive(){return this.tabStrip.activeTab(this),!1}}class U{constructor(t){var e;this.tabs=[],this.activeTab=(0,n.observable)(void 0);for(const a of null!==(e=null==t?void 0:t.tabs)&&void 0!==e?e:[]){const t=new z(a,this);this.tabs.push(t),a.active&&!this.activeTab()&&this.activeTab(t)}!this.activeTab()&&this.tabs.length&&this.activeTab(this.tabs[0]),this.tabWidth=90/this.tabs.length}}const G='
\n\t
\n\t\t
\n\t\t\t\n\t\t
\n\t
\n
';var Y=a(7752),q=a(74692);const H={size:40,class:"k-textbox",type:"text"},K={...H,multiline:!0,rows:7,size:80},Z={...H,valueUpdate:"input",autocomplete:"off"},W={...K,valueUpdate:"input",autocomplete:"off"},J={...H,password:!0,type:"password"};class Q{configureBackingObservable(t){this.value(t()),this.value.subscribe((e=>t(e))),t.subscribe((t=>this.value(t)))}constructor(t){var e;this.options=H,this.isEditing=(0,n.observable)(!1),this._rawValue=(0,n.observable)(),this.value=(0,n.pureComputed)({read:()=>this._rawValue(),write:t=>{this._rawValue(t)}}),this.valueWithBreaks=(0,n.pureComputed)({read:()=>{var t;return null===(t=this._rawValue())||void 0===t?void 0:t.replace(/(\r\n)|(\r)|(\n)/g,"
")}}),this.options=(null==t?void 0:t.password)?{...J,...t}:(null==t?void 0:t.multiline)?(null==t?void 0:t.maxLength)?{...W,...t}:{...K,...t}:(null==t?void 0:t.maxLength)?{...Z,...t}:{...H,...t};const a=null===(e=this.options)||void 0===e?void 0:e.value;i().isObservable(a)?this.configureBackingObservable(a):"string"==typeof a&&this.value(a),this.length=(0,n.pureComputed)((()=>{var t,e;return null!==(e=null===(t=this._rawValue())||void 0===t?void 0:t.length)&&void 0!==e?e:0})),this.width=(0,n.pureComputed)((()=>{var t,e,a;return null!==(a=null===(e=q(`#${null===(t=this.options)||void 0===t?void 0:t.id}`))||void 0===e?void 0:e.width())&&void 0!==a?a:0})),this.isEditing.valueHasMutated()}koDescendantsComplete(t){if(this.options.rich){const e=!0===this.options.disable||!1===this.options.enable,a=(0,Y.$)({tools:e?[]:void 0});q(t).find("textarea").kendoEditor(a),e&&q(q(t).find("textarea").data().kendoEditor.body).attr("contenteditable","false")}}}const X='\x3c!-- ko if: options.detailsMode--\x3e\n\x3c!-- ko if: options.multiline --\x3e\n\n\x3c!-- /ko --\x3e\n\x3c!-- ko ifnot: options.multiline --\x3e\n\n\x3c!-- /ko --\x3e\n\x3c!--/ko--\x3e\n\x3c!-- ko ifnot: options.detailsMode--\x3e\n\x3c!-- ko if: options.rich || options.multiline--\x3e\n\n\x3c!--/ko--\x3e\n\x3c!--ko ifnot: options.rich || options.multiline--\x3e\n\n\x3c!--/ko--\x3e\n\x3c!-- ko if: options.maxLength --\x3e\n
\n\n\t\n\n\x3c!-- /ko --\x3e\n\x3c!--/ko--\x3e\n';var tt;!function(t){t[t.Left=0]="Left",t[t.Right=1]="Right"}(tt||(tt={}));const et={left:{text:"Left",value:tt.Left},right:{text:"Right",value:tt.Right},size:"mini"};class at{configureBackingObservable(t){this.value(t()),this.value.subscribe((e=>{t(e)})),t.subscribe((t=>{this.value(t)}))}constructor(t){this.options=et,this._rawValue=(0,n.observable)(tt.Left),this.leftActive=(0,n.computed)((()=>this._rawValue()===tt.Left)),this.rightActive=(0,n.computed)((()=>this._rawValue()===tt.Right)),this.value=(0,n.pureComputed)({read:()=>this._rawValue()===tt.Left?this.options.left.value:this.options.right.value,write:t=>{t===this.options.left.value?this.selectLeft():t===this.options.right.value&&this.selectRight()}}),this.options={...et,...t};const e=null==t?void 0:t.value;i().isObservable(e)?this.configureBackingObservable(e):this.value(e),this._rawValue.valueHasMutated()}selectLeft(t,e){this.options.detailsMode&&e||this._rawValue(tt.Left)}selectRight(t,e){this.options.detailsMode&&e||this._rawValue(tt.Right)}}const nt='
\n\t\n\t\n
\n';function it(){function t(t,e){i().components.isRegistered(t)&&i().components.unregister(t),i().components.register(t,e)}t("af-applicationbudget",{viewModel:{createViewModel:t=>t.budget},template:s}),t("af-attachmentcontainer",{viewModel:{createViewModel:t=>new h(t)},template:p}),t("af-checkbox",{viewModel:{createViewModel:t=>new v(t)},template:f}),t("af-combobox",{viewModel:{createViewModel:t=>new y(t)},template:x}),t("af-currency",{viewModel:{createViewModel:t=>new B({output:"currency",...t})},template:R}),t("af-date",{viewModel:{createViewModel:t=>new o.DW(t)},template:(0,o.$F)()}),t("af-datetime",{viewModel:{createViewModel:t=>new d.sF(t)},template:(0,d.$F)()}),t("af-deprecated-date",{viewModel:{createViewModel:t=>new M(t)},template:C}),t("af-distinctlistbuilder",{viewModel:{createViewModel:t=>new E.A(t)},template:V}),t("af-multiselect",{viewModel:{createViewModel:t=>new D(t)},template:O}),t("af-numeric",{viewModel:{createViewModel:t=>new B({output:"number",...t})},template:R}),t("af-percent",{viewModel:{createViewModel:t=>new B({output:"percent",...t})},template:R}),t("af-tabstrip",{viewModel:{createViewModel:t=>new U(t)},template:G}),t("af-textbox",{viewModel:{createViewModel:t=>new Q(t)},template:X}),t("af-toggle",{viewModel:{createViewModel:t=>new at(t)},template:nt})}},37040:(t,e,a)=>{"use strict";a.d(e,{A:()=>c,I:()=>r}),a(44114);var n=a(4316),i=a(51786),s=a(2543),o=a(97448),d=a(74692);class r{constructor(t,e){let a=arguments.length>2&&void 0!==arguments[2]&&arguments[2];this.distinctId=n.q.create().toString().replace(new RegExp("-","g"),"_"),this.editName=(0,i.observable)(""),this.allItems=t,this.id=e.id,this.name=(0,i.observable)(e.name),this.isInUse=e.isInUse,this.allowEdit=e.allowEdit,this.allowDelete=e.allowDelete,this.initValidation(),this.editMode=(0,i.observable)(a),this.canEdit=(0,i.pureComputed)((()=>!this.editMode()&&this.allowEdit)),this.canSave=(0,i.pureComputed)((()=>this.editMode()&&!this.editName.error())),this.canCancel=(0,i.pureComputed)((()=>this.editMode()&&this.name().length>0)),this.canRemove=(0,i.pureComputed)((()=>!(!1===this.allowDelete||this.editMode()&&this.name().length)))}initValidation(){(0,o.qd)(this.name),(0,o.qd)(this.editName,"The name field is required"),(0,o.Mk)(this.editName,(t=>this.allItems().some((e=>!(0,s.isEqual)(e,this)&&(0,s.toLower)(e.editName()||e.name())===(0,s.toLower)(t)))?"The Name field must be unique.":null))}edit(){this.canEdit()&&(this.editName(this.name()),this.editMode(!0))}save(){this.canSave()&&(this.name(this.editName()),this.editMode(!1))}cancel(){this.canCancel()&&this.editMode(!1)}remove(){this.canRemove()&&("boolean"==typeof this.allowDelete?this.allItems.remove(this):this.allowDelete(this).then((()=>this.allItems.remove(this))))}}const l={};class c{constructor(t){this.options={...l,...t}}add(){if(this.options.value){const t=new r(this.options.value,{id:"",name:"",isInUse:!1,allowEdit:!0,allowDelete:!0},!0);this.options.value.push(t),window.setTimeout((()=>d(`#${t.distinctId} af-textbox input[type='text'], #${t.distinctId} af-textbox textarea`).focus()))}}}},97448:(t,e,a)=>{"use strict";a.d(e,{Mk:()=>s,j1:()=>d,qd:()=>r,rS:()=>l,xp:()=>o,ye:()=>c});var n=a(51786),i=a.n(n);function s(t,e){t.extend({customRule:e})}function o(t,e,a,n){t.extend({maxLength:{params:e,message:a,onlyIf:n}})}function d(t,e,a,n){t.extend({minLength:{params:e,message:a,onlyIf:n}})}function r(t,e,a){t.extend({required:{message:e,onlyIf:a}})}function l(t,e,a,n){t.extend({pattern:{params:e,message:a,onlyIf:n}})}function c(t,e,a){l(t,/^[A-z0-9]*$/,e,a)}a(89778),i().validation.rules.customRule={validator:function(t,e){return!e(t)},message:function(t,e){return t(e())}},i().validation.registerExtenders()},63432:(t,e,a)=>{"use strict";a.d(e,{LU:()=>o,OI:()=>r,ny:()=>c,ow:()=>n,sq:()=>d,vd:()=>u,w:()=>l});var n,i=a(95093),s=a.n(i);function o(t){if(!t)return null;let e=s()(t);if("string"!=typeof t||t.match(/\/Date\(\d+\)\//))if(s().isMoment(t))"string"==typeof t.creationData().input&&(e=t.clone());else{const a=s().isMoment(t)?t.clone().local():s()(t),n=a.clone().utc();e=a.date()!==n.date()&&n.hours()+n.minutes()+n.seconds()===0?n.utcOffset(a.utcOffset(),!0):a}else a=t,e=s().parseZone(a);var a;return e.local(!0).startOf("day").hours(12)}function d(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:n.Standard;var a,i;return null!==(i=null===(a=o(t))||void 0===a?void 0:a.format(e))&&void 0!==i?i:""}function r(t){if(!t)return!1;const e=s()(t);return"1"===e.format("M")&&"1"===e.format("D")&&"0001"===e.format("YYYY")}function l(t,e){var a,n;return null!==(n=null===(a=o(t))||void 0===a?void 0:a.isBefore(e,"day"))&&void 0!==n&&n}function c(t,e){var a;return null!==(a=null==t?void 0:t.isSame(e,"day"))&&void 0!==a&&a}function u(t){var e;return null!==(e=null==t?void 0:t.isValid())&&void 0!==e&&e}!function(t){t.Standard="M/D/YYYY",t.ISO8601="YYYY-MM-DD",t.Post="YYYY-MM-DD[T]HH:mm:ss.SSS[Z]",t.PostZero="YYYY-MM-DD[T00:00:00.000Z]",t.PostNoon="YYYY-MM-DD[T12:00:00.000Z]"}(n||(n={})),window.afUtility=window.afUtility||{},window.afUtility.dateLogic={addDaysToDate:function(t,e){return s()(t).add(e,"days").toDate()},dateFormat:n,getDateMoment:o,getDateString:d,isBackendDateDefault:r,isSameDate:c,isValidDate:u}},5811:(t,e,a)=>{"use strict";a.d(e,{aV:()=>o,ln:()=>d,nY:()=>n});var n,i=a(95093),s=a.n(i);function o(t){return t?s().utc(t):null}function d(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:n.Standard,a=arguments.length>2&&void 0!==arguments[2]&&arguments[2];var i;const s=[n.ISO8601];let d=o(t);return d=a||s.includes(e)?null==d?void 0:d.utc():null==d?void 0:d.local(),null!==(i=null==d?void 0:d.format(e))&&void 0!==i?i:""}!function(t){t.Standard="M/D/YYYY LT",t.PaddedStandard="MM/DD/YYYY hh:mm A",t.ISO8601="YYYY-MM-DD[T]HH:mm:ss.SSS[Z]",t.ShortDate="M/D/YYYY"}(n||(n={})),window.afUtility=window.afUtility||{},window.afUtility.dateTimeLogic={dateTimeFormat:n,getDateTimeMoment:o,getDateTimeString:d}},15399:(t,e,a)=>{"use strict";a.d(e,{KI:()=>s,VT:()=>o,e2:()=>d}),a(44114);var n=a(74692);class i{constructor(t){this.button=t}disable(){return this.button.classList.add("disabled"),this.button.disabled=!0,n.Deferred().always((()=>{this.button.classList.remove("disabled"),this.button.disabled=!1}))}spin(){const t=this.disable();return this.button.classList.add("loading"),n.Deferred().done((()=>{t.resolve()})).fail((()=>{t.reject()})).always((()=>{this.button.classList.remove("loading")}))}}function s(){const t=document.activeElement;if(t)return(n(t).is(":button")?n(t):n("button:submit")).attr("data-role")}function o(t){if(t)return(n(t).is(":button")?n(t):n("button:submit")).attr("data-role")}class d{constructor(t,e){this.buttons=[];for(const a in e){const s=n(t).find(`[data-role="${a}"].ui.button`);for(const t of s.toArray()){const n=new i(t);this.buttons.push(e[a]?n.spin():n.disable())}}this.deferral=n.Deferred().done((()=>{this.buttons.forEach((t=>{t.resolve()}))})).fail((()=>{this.buttons.forEach((t=>{t.reject()}))}))}resolve(){this.deferral.resolve()}reject(){this.deferral.reject()}}},14939:(t,e,a)=>{"use strict";a.d(e,{$J:()=>r,Bj:()=>u,Ee:()=>d,YX:()=>l,ZV:()=>o,q1:()=>c,vv:()=>s});var n=a(28646),i=a.n(n);function s(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2,a=arguments.length>2&&void 0!==arguments[2]&&arguments[2];const n=i()(Math.abs(t)).formatCurrency({thousandSeparated:!0,mantissa:e});return a?(t<0?"-":t>0?"+":"")+n:t<0?`(${n})`:n}function o(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return i()(t).format({thousandSeparated:!0,mantissa:e})}function d(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2;return i()(t).format({output:"percent",thousandSeparated:!0,mantissa:e})}function r(t,e){const a=i()(t).value();return isNaN(a)?null:i().unformat(e(a))}function l(t){return Math.round(100*(t+Number.EPSILON))/100}function c(t,e){return+t.toFixed(e)}function u(t){return t.replace(/0+$/g,"").replace(/\.$/g,"")}},77175:(t,e,a)=>{"use strict";a.d(e,{Gz:()=>m,H7:()=>l,HF:()=>p,Kg:()=>g,LD:()=>C,Q3:()=>n,TB:()=>T,Zp:()=>E,aq:()=>M,hQ:()=>A,lH:()=>c,ld:()=>S,mi:()=>x,o_:()=>y,rV:()=>f,ri:()=>h,sR:()=>w,tP:()=>v,xA:()=>b,yQ:()=>k,z5:()=>u});var n,i=a(51786),s=a(2543),o=a(46974),d=a(30747),r=a(74692);function l(t){const e=document.createElement("div"),a=document.getElementById(t);if(a){if(e.innerHTML=a.innerHTML,e.firstElementChild)return e.firstElementChild}else console.error(`Could not load template for Id: ${t}`);return e}function c(t){return null==t||""===t?arguments.length>1&&void 0!==arguments[1]&&arguments[1]:"boolean"==typeof t?t:"true"===String(t).toLowerCase()}function u(t){return t?"Yes":"No"}function h(){window.navigationIntent="logout",window.location.href="/Account/Logout"}function p(){var t,e,a;return{__RequestVerificationToken:null!==(a=null===(e=null===(t=r('input[name="__RequestVerificationToken"]'))||void 0===t?void 0:t.val())||void 0===e?void 0:e.toString())&&void 0!==a?a:""}}async function m(t,e,a){var n,i;const s={...e,headers:{...null!==(n=null==e?void 0:e.headers)&&void 0!==n?n:{Accept:"application/json","Content-Type":"application/json; charset=utf-8"},...p()}};void 0!==a&&(s.body=JSON.stringify(a));const d=await fetch(t,s),r=await d.json();if((0,o.u6)(r))return d.ok?{ok:!0,message:r.message,payload:r.payload}:{ok:!1,message:r.message,errors:null!==(i=r.errors)&&void 0!==i?i:[]};throw`The call to '${t}' did not respond with our standard json response.`}function v(t){const e=p();return(null==t?void 0:t.data)instanceof FormData?null==t||t.data.append("__RequestVerificationToken",e.__RequestVerificationToken):t&&(t.data={...t.data,...e}),r.ajax(t)}async function f(t,e){return v({url:t.action,method:t.method,data:null!=e?e:new FormData(t),contentType:!1,processData:!1})}function b(t,e,a,n){let i=!0;n&&n(),(0,o.u6)(e)&&(e.message&&(0,d.Te)("Success",e.message),e.redirectUrl&&(i=!1,location.href=e.redirectUrl)),i&&t.resolve(),a&&r(".ui.modal").modal("hide")}function g(t,e){let a;if((0,o.u6)(t)){if(a=t.message,t.errors)for(const e of t.errors)a=a?`${a}\n${e}`:e;t.redirectUrl&&(window.location.href=t.redirectUrl)}(0,d.Qg)("Error",null!=a?a:"An unexpected error occurred."),null==e||e.reject()}async function w(t,e,a,n,i){try{const s=await f(t,n);return b(e,s,a,i),s}catch(t){g(null==t?void 0:t.responseJSON,e)}}async function y(t){return t.headers={...t.headers,...p()},await r.ajax(t)}function x(t){return void 0===t?"":r("
").html(t).text()}function k(t,e,a,i){if(!e)return"";const s=r("").addClass("icon").attr({href:a,...i}),o=r("").addClass("af-icon");switch(t){case n.Copy:s.attr({title:"Copy"}),o.addClass("af-copy");break;case n.Create:s.attr({title:"Create"}),o.addClass("af-create");break;case n.Delete:s.attr({title:"Delete"}),o.addClass("af-delete");break;case n.Edit:s.attr({title:"Edit"}),o.addClass("af-edit");break;case n.Purge:s.attr({title:"Purge"}),o.addClass("af-purge");break;case n.Respond:s.attr({title:"Respond"}),o.addClass("af-respond")}return s.append(o),s[0].outerHTML}function S(t,e,a){const n=document.createElement("a");return n.innerHTML=t,e?n.href=`Grants/Grants/${a?"GrantAwardDetails":"Details"}/${e}`:n.classList.add("no-target"),n}function A(t,e){const a=document.createElement("a");return a.innerHTML=t,e?a.href=`/Administration/Departments/Details/${e}`:a.classList.add("no-target"),a}function T(t,e){const a=document.createElement("a");return a.innerHTML=t,e?a.href=`/Administration/Subjects/Details/${e}`:a.classList.add("no-target"),a}function M(t,e){const a=document.createElement("a");return a.innerHTML=t,e?a.href=`/Administration/AmpliFundUsers/Details/${e}`:a.classList.add("no-target"),a}function C(t){return void 0===t?void 0:(0,i.isComputed)(t)||(0,i.isObservable)(t)?t():t}function E(t){return(0,s.keys)(t).filter((e=>t[e])).join(" ").trim()}!function(t){t[t.Copy=1]="Copy",t[t.Create=2]="Create",t[t.Delete=3]="Delete",t[t.Edit=4]="Edit",t[t.Purge=5]="Purge",t[t.Respond=6]="Respond"}(n||(n={}))},7752:(t,e,a)=>{"use strict";function n(t){return{validation:{allowedExtensions:[".doc",".docx",".xls",".xlsx",".ppt",".pptx",".pdf",".txt",".dot",".dotx",".xlt",".xltx",".jpg",".jpeg",".png",".tif",".tiff",".bmp",".csv",".zip"]},...t}}function i(t){var e;let a=t.html.replace(/(\n|\r| class=(")?Mso[a-zA-Z]+(")?)/g," ");a=a.replace(new RegExp("\x3c!--(.*?)--\x3e","g"),""),a=a.replace(new RegExp("<(/)*(meta|link|\\?xml:|st1:|o:|font)(.*?)>","gi"),"");for(const t of["style","script","applet","embed","noframes","noscript"])a=a.replace(new RegExp(`<${t}.*?${t}(.*?)>`,"gi"),"");for(const t of["start"])a=a.replace(new RegExp(` ${t}=\\"(.*?)\\"`,"gi"),"");for(const t of null!==(e=a.match(new RegExp(' href=\\"file(.*?)\\"',"gi")))&&void 0!==e?e:[]){const e=t.indexOf("#");e>-1&&(a=a.replace(t,` href=\\"${t.substring(e,t.lastIndexOf('"'))}\\"`))}t.html="",t.sender.paste(a,void 0)}function s(t){return{encoded:!1,paste:i,tools:[{name:"bold"},{name:"italic"},{name:"underline"},{name:"justifyLeft"},{name:"justifyCenter"},{name:"justifyRight"},{name:"justifyFull"},{name:"insertUnorderedList"},{name:"insertOrderedList"},{name:"formatting"},{name:"createLink"},{name:"unlink"}],...t}}a.d(e,{$:()=>s,B:()=>n}),a(56551)},38010:(t,e,a)=>{"use strict";a.d(e,{mP:()=>h,TM:()=>f,eh:()=>m,be:()=>p,VJ:()=>v,Ct:()=>g,h:()=>b}),a(6521),a(23326),a(35380);var n=a(15399),i=a(74692);class s{constructor(){this.$dimmer=i('
')}set isActive(t){t?this.$dimmer.addClass("active"):this.$dimmer.removeClass("active")}}function o(t){const e=new s;return t.append(e.$dimmer),e}var d=a(77175),r=a(46974),l=a(30747),c=a(74692);const u={observeChanges:!0,autofocus:!0};function h(t,e){let a=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],n=arguments.length>3?arguments[3]:void 0;const i="keydown.modal-contain-focus",s='a[href], input:not([type="hidden"]), button, select, textarea, [tabindex]:not([tabindex="-1"])',o=t.modal({...u,onHidden:()=>{o.off(i),t.remove()},...e});return n&&(n.isActive=!1),a&&o.modal("show"),o.off(i),o.on(i,s,(function(t){if("Tab"!==t.key)return void("Escape"===t.key&&o.modal("hide"));const e=c(s,o),a=e[0],n=e[e.length-1];let i;if(t.currentTarget===a&&t.shiftKey)i=n;else{if(t.currentTarget!==n||t.shiftKey)return;i=a}t.preventDefault(),i.focus()})),o}function p(t,e){let a=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];var i;const s=(0,d.H7)("BasicModalTemplate"),o=c(s);o.addClass(null!==(i=t.size)&&void 0!==i?i:""),o.find(".header")[0].innerText=t.title,o.find(".content")[0].innerHTML=t.content,o.find(".actions").html(function(t){var e,a;const n=document.createDocumentFragment();if(t.tertiaryButton){const e=document.createElement("button");e.id="tertiaryButton",c(e).addClass("ui button exclude"),e.title=e.textContent=t.tertiaryButtonText||"",e.setAttribute("data-role","tertiary"),e.setAttribute("type","button"),n.appendChild(e)}if(t.primaryButton){let a;"link"===t.submitType?(a=document.createElement("a"),a.href=null!==(e=t.submitUrl)&&void 0!==e?e:"#"):(a=document.createElement("button"),a.type="button"),c(a).addClass("ui button approve exclude"),t.isDelete&&c(a).addClass("btn-delete"),a.title=a.textContent=t.submitText,a.setAttribute("data-role","submit"),n.appendChild(a)}if(t.secondaryButton){const e=document.createElement("button");c(e).addClass("ui button cancel exclude"),e.title=e.textContent=null!==(a=t.cancelText)&&void 0!==a?a:"Cancel",e.setAttribute("data-role","cancel"),e.type="button",n.appendChild(e)}return n}(t));const r=[{pattern:/\/logout(\.\w*)*$/gim,intent:"logout"},{pattern:/\/changeorganization\/\d+$/gim,intent:"changeOrganization"}],u=h(o,{onApprove:()=>{var e;window.navigationIntent=null===(e=r.find((e=>e.pattern.test(t.submitUrl||""))))||void 0===e?void 0:e.intent;const a=new n.e2(s,{submit:!0,cancel:!1});return"button"===t.submitType&&t.submitUrl&&async function(t,e,a){var n,i;let s;try{s=await(0,d.tP)({url:a.submitUrl,type:a.httpMethod})}catch(i){return(0,d.Kg)(null!==(n=null==i?void 0:i.responseJSON)&&void 0!==n?n:void 0,e),void(a.closeModalOnFail&&t.modal("hide"))}s.message&&(0,l.Te)("Success",s.message);const o=null!==(i=a.overrideRedirectUrl)&&void 0!==i?i:s.redirectUrl;o?window.location=o:(e.resolve(),t.modal("hide"))}(u,a,t),!1},...e},a);return u}function m(t,e){let a=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];const n=function(t){const{afModalSize:e,afModalTitle:a,afModalContent:n,afModalSubmitText:i,afModalPrimaryButton:s,afModalSecondaryButton:o,afModalSubmitUrl:r,afModalSubmitType:l,afModalHttpMethod:c,afModalOverrideRedirectUrl:u,afModalCancelText:h,afModalCloseModalOnFail:p,afModalTertiaryButton:m,afModalTertiaryText:v}=t.data();return{content:n||"",httpMethod:c||"POST",overrideRedirectUrl:u||void 0,primaryButton:(0,d.lH)(s,!0),secondaryButton:(0,d.lH)(o,!0),size:e||"",submitText:i||"Submit",submitType:l||"button",submitUrl:r||"#",title:a||"Submit",cancelText:h||void 0,closeModalOnFail:!!p,tertiaryButton:(0,d.lH)(m,!1),tertiaryButtonText:v||void 0}}(t);return p(n,e,a)}async function v(t,e){let a=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];const n=o(c(".af-wrapper"));n.isActive=!0;try{const n=await c.get(t);return h(c(`
${n}
`).find(".ui.modal"),e,a)}finally{n.isActive=!1}}async function f(t,e){let a=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];const{semanticModalUrl:n,semanticModalSize:i,semanticModalTitle:s}=c(t).data();if(n&&i&&s){const t=o(c(".af-wrapper"));t.isActive=!0;const d=await c.get(n);return h(c(``),e,a,t)}throw new Error("Could not create modal")}function b(t,e,a){t.on("click","[data-semantic-modal-v2-url]",(async t=>{if(!t.which||1===t.which){const{semanticModalV2Url:n}=c(t.currentTarget).data(),i=await v(n,e);null==a||a(i)}}))}function g(t,e){const a=document.getElementById(t);return function(t){if(t.keyCode!==r.DD.Tab)return;const n=null==a?void 0:a.querySelectorAll(e),i=!t.shiftKey;if(n){const e=n[0],a=n[n.length-1];i?document.activeElement===a&&(null==e||e.focus(),t.preventDefault()):document.activeElement===e&&(null==a||a.focus(),t.preventDefault())}}}},46974:(t,e,a)=>{"use strict";var n,i;function s(t){return t&&(!!t.payload||t.errors instanceof Array||"string"==typeof t.message||"string"==typeof t.redirectUrl)}a.d(e,{DD:()=>n,dI:()=>i,u6:()=>s}),function(t){t[t.Tab=9]="Tab",t[t.Enter=13]="Enter"}(n||(n={})),function(t){t[t.Success=200]="Success",t[t.Error=422]="Error"}(i||(i={}))},30747:(t,e,a)=>{"use strict";a.d(e,{Kp:()=>p,Qg:()=>u,Te:()=>l,aO:()=>m,kE:()=>f,oY:()=>b,zq:()=>v}),a(44114);var n=a(4316),i=a(74692);const s=a(80777).A;function o(t,e){return{title:`${t}`,text:`${e}`,addClass:"af-notification-notice",hide:!(arguments.length>2&&void 0!==arguments[2])||arguments[2],icon:"af-icon af-notification-notice"}}function d(t,e){return{title:`${t}`,text:`${e}`,addClass:"af-notification-info",hide:!(arguments.length>2&&void 0!==arguments[2])||arguments[2],icon:"af-icon af-notification-info"}}function r(t,e){return{title:`${t}`,text:`${e}`,addClass:"af-notification-success",hide:!(arguments.length>2&&void 0!==arguments[2])||arguments[2],icon:"af-icon af-notification-success"}}function l(t,e){let a=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return s.success(r(t,e,a))}function c(t,e){return{title:`${t}`,text:`${e}`,addClass:"af-notification-error",delay:arguments.length>2&&void 0!==arguments[2]?arguments[2]:s.defaults.delay,hide:arguments.length>3&&void 0!==arguments[3]&&arguments[3],icon:"af-icon af-notification-error"}}function u(t,e){let a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:s.defaults.delay,n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return s.error(c(t,e,a,n))}function h(t,e){return{title:`${t}`,text:`${e}`,addClass:"af-notification-reminder",hide:arguments.length>2&&void 0!==arguments[2]&&arguments[2],icon:"af-icon af-notification-reminder"}}function p(t,e){let a=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return s.info(h(t,e,a))}function m(){s.removeAll()}function v(){const t=function(){const t=[],e=[];for(let a=0;a div.notification"),e=[];for(const a of t.toArray()){const t=a.innerText,n=a.classList;n.contains("notice")?e.push({type:"notice",...o("Notice",t)}):n.contains("information")?e.push({type:"info",...d("Info",t)}):n.contains("success")?e.push({type:"success",...r("Success",t)}):n.contains("error")?e.push({type:"error",...c("Error",t)}):n.contains("reminder")&&e.push({type:"reminder",...h("Reminder",t)})}return t.remove(),e}());for(const e of t)s.alert(e)}function f(t,e,a,i,s){const l=n.q.create().toString();let u={type:t};switch(t){case"notice":u={...u,...o(e,a,i)};break;case"info":u={...u,...d(e,a,i)};break;case"success":u={...u,...r(e,a,i)};break;case"error":u={...u,...c(e,a,s,i)};break;case"reminder":u={...u,...h(e,a,i)}}return window.sessionStorage.setItem(`af-notification:${l}`,JSON.stringify(u)),l}function b(t,e,a){let n=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];setTimeout((()=>{switch(t){case"info":!function(t,e){let a=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];s.info(d(t,e,a))}(e,a,n);break;case"notice":!function(t,e){let a=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];s.notice(o(t,e,a))}(e,a,n);break;case"error":u(e,a,void 0,n);break;case"success":l(e,a,n);break;case"reminder":p(e,a,n)}}))}a(14724).A,s.defaults.delay=2e3,s.defaults.icons="fontawesome5",s.defaults.titleTrusted=!0,s.defaults.textTrusted=!0,s.defaults.modules={Buttons:{sticker:!1}}},17381:(t,e,a)=>{"use strict";a.d(e,{MN:()=>o,sl:()=>c});var n=a(95093),i=a(5811);const s=new Map;function o(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"long";const e=new Date;return e.toLocaleTimeString(void 0,{timeZoneName:t}).replace(e.toLocaleTimeString(),"").trim()}function d(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Date;const a=s.get(t);return a?(n=a,((t,a)=>t.replace(e.toLocaleTimeString("default",{timeZone:a}),"").trim())(e.toLocaleTimeString("default",{timeZoneName:"short",timeZone:n}),n)):t;var n}function r(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Date;const a=s.get(t);return a?(n=a,((t,a)=>t.replace(e.toLocaleTimeString("default",{timeZone:a}),"").trim())(e.toLocaleTimeString("default",{timeZoneName:"long",timeZone:n}),n)):t;var n}function l(t){return(0,n.isMoment)(t)?t.toDate():t instanceof Date?t:["string","number"].includes(typeof t)?new Date(t):new Date}function c(t,e,a,n){const s=(0,i.ln)(t,a,n);return s?`${s} (${e?d(e,l(t)):o("short")})`:""}s.set("Afghanistan Standard Time","Asia/Kabul"),s.set("Alaskan Standard Time","America/Anchorage"),s.set("Aleutian Standard Time","America/Adak"),s.set("Altai Standard Time","Asia/Barnaul"),s.set("Arab Standard Time","Asia/Riyadh"),s.set("Arabian Standard Time","Asia/Dubai"),s.set("Arabic Standard Time","Asia/Baghdad"),s.set("Argentina Standard Time","America/Buenos_Aires"),s.set("Astrakhan Standard Time","Europe/Astrakhan"),s.set("Atlantic Standard Time","America/Halifax"),s.set("AUS Central Standard Time","Australia/Darwin"),s.set("Aus Central W. Standard Time","Australia/Eucla"),s.set("AUS Eastern Standard Time","Australia/Sydney"),s.set("Azerbaijan Standard Time","Asia/Baku"),s.set("Azores Standard Time","Atlantic/Azores"),s.set("Bahia Standard Time","America/Bahia"),s.set("Bangladesh Standard Time","Asia/Dhaka"),s.set("Belarus Standard Time","Europe/Minsk"),s.set("Bougainville Standard Time","Pacific/Bougainville"),s.set("Canada Central Standard Time","America/Regina"),s.set("Cape Verde Standard Time","Atlantic/Cape_Verde"),s.set("Caucasus Standard Time","Asia/Yerevan"),s.set("Cen. Australia Standard Time","Australia/Adelaide"),s.set("Central America Standard Time","America/Guatemala"),s.set("Central Asia Standard Time","Asia/Bishkek"),s.set("Central Brazilian Standard Time","America/Cuiaba"),s.set("Central Europe Standard Time","Europe/Budapest"),s.set("Central European Standard Time","Europe/Warsaw"),s.set("Central Pacific Standard Time","Pacific/Guadalcanal"),s.set("Central Standard Time","America/Chicago"),s.set("Central Standard Time (Mexico)","America/Mexico_City"),s.set("Chatham Islands Standard Time","Pacific/Chatham"),s.set("China Standard Time","Asia/Shanghai"),s.set("Cuba Standard Time","America/Havana"),s.set("Dateline Standard Time","Etc/GMT+12"),s.set("E. Africa Standard Time","Africa/Nairobi"),s.set("E. Australia Standard Time","Australia/Brisbane"),s.set("E. Europe Standard Time","Europe/Chisinau"),s.set("E. South America Standard Time","America/Sao_Paulo"),s.set("Easter Island Standard Time","Pacific/Easter"),s.set("Eastern Standard Time","America/New_York"),s.set("Eastern Standard Time (Mexico)","America/Cancun"),s.set("Egypt Standard Time","Africa/Cairo"),s.set("Ekaterinburg Standard Time","Asia/Yekaterinburg"),s.set("Fiji Standard Time","Pacific/Fiji"),s.set("FLE Standard Time","Europe/Kiev"),s.set("Georgian Standard Time","Asia/Tbilisi"),s.set("GMT Standard Time","Europe/London"),s.set("Greenland Standard Time","America/Godthab"),s.set("Greenwich Standard Time","Atlantic/Reykjavik"),s.set("GTB Standard Time","Europe/Bucharest"),s.set("Haiti Standard Time","America/Port-au-Prince"),s.set("Hawaiian Standard Time","Pacific/Honolulu"),s.set("India Standard Time","Asia/Calcutta"),s.set("Iran Standard Time","Asia/Tehran"),s.set("Israel Standard Time","Asia/Jerusalem"),s.set("Jordan Standard Time","Asia/Amman"),s.set("Kaliningrad Standard Time","Europe/Kaliningrad"),s.set("Korea Standard Time","Asia/Seoul"),s.set("Libya Standard Time","Africa/Tripoli"),s.set("Line Islands Standard Time","Pacific/Kiritimati"),s.set("Lord Howe Standard Time","Australia/Lord_Howe"),s.set("Magadan Standard Time","Asia/Magadan"),s.set("Magallanes Standard Time","America/Punta_Arenas"),s.set("Marquesas Standard Time","Pacific/Marquesas"),s.set("Mauritius Standard Time","Indian/Mauritius"),s.set("Middle East Standard Time","Asia/Beirut"),s.set("Montevideo Standard Time","America/Montevideo"),s.set("Morocco Standard Time","Africa/Casablanca"),s.set("Mountain Standard Time","America/Denver"),s.set("Mountain Standard Time (Mexico)","America/Mazatlan"),s.set("Myanmar Standard Time","Asia/Rangoon"),s.set("N. Central Asia Standard Time","Asia/Novosibirsk"),s.set("Namibia Standard Time","Africa/Windhoek"),s.set("Nepal Standard Time","Asia/Katmandu"),s.set("New Zealand Standard Time","Pacific/Auckland"),s.set("Newfoundland Standard Time","America/St_Johns"),s.set("Norfolk Standard Time","Pacific/Norfolk"),s.set("North Asia East Standard Time","Asia/Irkutsk"),s.set("North Asia Standard Time","Asia/Krasnoyarsk"),s.set("North Korea Standard Time","Asia/Pyongyang"),s.set("Omsk Standard Time","Asia/Omsk"),s.set("Pacific SA Standard Time","America/Santiago"),s.set("Pacific Standard Time","America/Los_Angeles"),s.set("Pacific Standard Time (Mexico)","America/Tijuana"),s.set("Pakistan Standard Time","Asia/Karachi"),s.set("Paraguay Standard Time","America/Asuncion"),s.set("Qyzylorda Standard Time","Asia/Qyzylorda"),s.set("Romance Standard Time","Europe/Paris"),s.set("Russia Time Zone 10","Asia/Srednekolymsk"),s.set("Russia Time Zone 11","Asia/Kamchatka"),s.set("Russia Time Zone 3","Europe/Samara"),s.set("Russian Standard Time","Europe/Moscow"),s.set("SA Eastern Standard Time","America/Cayenne"),s.set("SA Pacific Standard Time","America/Bogota"),s.set("SA Western Standard Time","America/La_Paz"),s.set("Saint Pierre Standard Time","America/Miquelon"),s.set("Sakhalin Standard Time","Asia/Sakhalin"),s.set("Samoa Standard Time","Pacific/Apia"),s.set("Sao Tome Standard Time","Africa/Sao_Tome"),s.set("Saratov Standard Time","Europe/Saratov"),s.set("SE Asia Standard Time","Asia/Bangkok"),s.set("Singapore Standard Time","Asia/Singapore"),s.set("South Africa Standard Time","Africa/Johannesburg"),s.set("South Sudan Standard Time","Africa/Juba"),s.set("Sri Lanka Standard Time","Asia/Colombo"),s.set("Sudan Standard Time","Africa/Khartoum"),s.set("Syria Standard Time","Asia/Damascus"),s.set("Taipei Standard Time","Asia/Taipei"),s.set("Tasmania Standard Time","Australia/Hobart"),s.set("Tocantins Standard Time","America/Araguaina"),s.set("Tokyo Standard Time","Asia/Tokyo"),s.set("Tomsk Standard Time","Asia/Tomsk"),s.set("Tonga Standard Time","Pacific/Tongatapu"),s.set("Transbaikal Standard Time","Asia/Chita"),s.set("Turkey Standard Time","Europe/Istanbul"),s.set("Turks And Caicos Standard Time","America/Grand_Turk"),s.set("Ulaanbaatar Standard Time","Asia/Ulaanbaatar"),s.set("US Eastern Standard Time","America/Indianapolis"),s.set("US Mountain Standard Time","America/Phoenix"),s.set("UTC","Etc/UTC"),s.set("UTC+12","Etc/GMT-12"),s.set("UTC+13","Etc/GMT-13"),s.set("UTC-02","Etc/GMT+2"),s.set("UTC-08","Etc/GMT+8"),s.set("UTC-09","Etc/GMT+9"),s.set("UTC-11","Etc/GMT+11"),s.set("Venezuela Standard Time","America/Caracas"),s.set("Vladivostok Standard Time","Asia/Vladivostok"),s.set("Volgograd Standard Time","Europe/Volgograd"),s.set("W. Australia Standard Time","Australia/Perth"),s.set("W. Central Africa Standard Time","Africa/Lagos"),s.set("W. Europe Standard Time","Europe/Berlin"),s.set("W. Mongolia Standard Time","Asia/Hovd"),s.set("West Asia Standard Time","Asia/Tashkent"),s.set("West Bank Standard Time","Asia/Hebron"),s.set("West Pacific Standard Time","Pacific/Port_Moresby"),s.set("Yakutsk Standard Time","Asia/Yakutsk"),s.set("Yukon Standard Time","America/Whitehorse"),window.afUtility=window.afUtility||{},window.afUtility.timeZoneLogic={getCurrentTimeZoneName:o,getTimeZoneAbbreviation:d,getRealTimeZoneName:r,getShortZonedDateTimeDisplay:c,getFullZonedDateTimeDisplay:function(t,e,a,n){const s=(0,i.ln)(t,a,n);return s?`${s} (${e?r(e,l(t)):o("long")})`:""}}},34810:(t,e,a)=>{"use strict";a.d(e,{G:()=>g});var n,i=a(51786),s=a(95093),o=a.n(s),d=a(15399),r=a(77175),l=(a(44114),a(4316));function c(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window;const e="amplifund-session-identifier";let a=t.sessionStorage.getItem(e);return a||(a=l.q.create().toString(),t.sessionStorage.setItem(e,a)),a}function u(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:window;if(!t.trim())throw Error(`Invalid symbolKey: [${t}]`);const a=c(e);return Symbol.for(`${t}-${a}`)}function h(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:window;const a=u(t,e);return Object.getOwnPropertySymbols(e).indexOf(a)>-1}!function(t){t.TimedOut="sessionTimedOut",t.LoggedOut="sessionLoggedOut",t.ExpirationInvalidated="sessionExpirationInvalidated",t.ExpirationUpdated="sessionExpirationUpdated",t.Renewed="sessionRenewed",t.Reauthenticated="sessionReauthenticated",t.ReauthenticationRequested="sessionReauthenticationRequested"}(n||(n={}));class p{constructor(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t.localStorage;this.context=t,this.storageArea=e,this.eventKey="amplifund-intercom-event",this.listeners={},this.attachListener()}attachListener(){this.context.addEventListener("storage",(t=>{if(!this.context.document.hasFocus()&&t&&t.storageArea===this.storageArea&&t.key===this.eventKey&&t.newValue){const e=JSON.parse(t.newValue);this.receiveEvent(e)}}))}receiveEvent(t){for(const e of this.listeners[t.category]||[])e(t)}send(t){let e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(t&&t.category){const a=JSON.stringify(t);this.storageArea.setItem(this.eventKey,a),e&&this.receiveEvent(t)}}on(t){const e=Array(t.category).flat();for(const a of e)this.listeners[a]=this.listeners[a]||[],this.listeners[a].push(t.handler)}off(t){const e=Array(t.category).flat();for(const a of e){const e=this.listeners[a]||[];this.listeners[a]=e.filter((e=>e!==t.handler))}}static create(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t.localStorage;const a="amplifund-intercom";let n=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:window;if(h(t,e))return e[u(t,e)]}(a,t);return n||(n=new p(t,e),function(t,e){let a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:window;if(h(e,a))throw Error(`Instance already registered: SymbolKey[${e}] SessionId[${c()}]`);a[u(e,a)]=t}(n,a,t)),n}}var m=a(38010),v=a(46974),f=a(30747),b=(a(74195),a(74692));class g{get enabled(){return!!b("#TimeoutNotifierTemplate").length}get reauthenticationEnabled(){return!!(this.enabled&&this.allowReauthentication&&b("#ReauthenticationTemplate").length)}constructor(t){this.sessionEnd=o().invalid(),this.remainingSecondsDisplay=(0,i.observable)(0),this.secondsToTrigger=120,this.processingLogout=!1,this.allowReauthentication=t,this.intercom=p.create()}async init(){return this.enabled&&(this.countdownModal=this.createCountdownModal(),this.authenticationModal=this.createAuthenticationModal(),this.subscribeToEvents(),await this.getSessionExpiration(),window.setInterval((async()=>{this.sessionEnd.isValid()&&await this.getSessionExpiration()}),6e4),this.countdownModal&&((0,i.applyBindings)(this,this.countdownModal[0]),this.clear(!0)),this.authenticationModal&&(0,i.applyBindings)(this,this.authenticationModal[0])),this}subscribeToEvents(){this.intercom.on({category:[n.LoggedOut],handler:()=>this.logout(!1)}),this.intercom.on({category:[n.TimedOut,n.ExpirationInvalidated,n.ReauthenticationRequested],handler:()=>{this.reauthenticationEnabled?this.showAuthentication(!0):this.logout(!0)}}),this.intercom.on({category:[n.ExpirationUpdated,n.Reauthenticated,n.Renewed],handler:t=>{const e=t.data?o().utc(t.data):o().invalid();this.sessionEnd=e;const a=this.sessionEnd.diff(o().utc(),"seconds");a<=0&&this.intercom.send({category:n.TimedOut},!0),(t.category!==n.ExpirationUpdated||a>this.secondsToTrigger)&&this.clear(!0)}})}createTriggerTimeout(){if(this.sessionEnd.isValid()){let t=this.sessionEnd.diff(o().utc(),"seconds")-this.secondsToTrigger;t=t>0?t:1;const e=window.setTimeout((()=>{this.showCountdown(!0)}),1e3*t);this.triggerTimeoutId=e}}createCountdownInterval(){if(this.sessionEnd.isValid()){const t=window.setInterval((()=>{this.countdown()}),1e3);this.countdownIntervalId=t}}countdown(){if(this.sessionEnd.isValid()&&this.countdownModal&&this.isCountdownModalVisible()){const t=this.sessionEnd.diff(o()(),"seconds");t<=0?this.intercom.send({category:this.allowReauthentication?n.ReauthenticationRequested:n.TimedOut},!0):t>this.secondsToTrigger?this.showCountdown(!1):this.remainingSecondsDisplay(t)}}isCountdownModalVisible(){return!!this.countdownModal&&(this.countdownModal.hasClass("animating")||this.countdownModal.hasClass("active"))}createCountdownModal(){if(this.enabled){const t=b((0,r.H7)("TimeoutNotifierTemplate"));return(0,m.mP)(b(t),{allowMultiple:!0,autofocus:!1,closable:!1,onApprove:()=>(this.renewSession(),!0),onDeny:()=>(this.intercom.send({category:n.LoggedOut},!0),!1),onHidden:()=>{}},!1)}}isAuthenticationModalVisible(){return!!this.authenticationModal&&(this.authenticationModal.hasClass("animating")||this.authenticationModal.hasClass("active"))}createAuthenticationModal(){if(this.reauthenticationEnabled){const t=b((0,r.H7)("ReauthenticationTemplate"));return(0,m.mP)(b(t),{allowMultiple:!0,closable:!1,onApprove:()=>!1,onDeny:()=>(this.intercom.send({category:n.LoggedOut},!0),!1),onHidden:()=>{}},!1)}}clear(t){this.enabled&&t&&this.showCountdown(!1),this.reauthenticationEnabled&&this.authenticationModal&&t&&(this.showAuthentication(!1),this.authenticationModal.trigger("reset")),this.triggerTimeoutId&&window.clearTimeout(this.triggerTimeoutId),this.countdownIntervalId&&window.clearInterval(this.countdownIntervalId),t&&(this.createTriggerTimeout(),this.createCountdownInterval())}logout(){let t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];var e;this.processingLogout||(this.countdownModal&&new d.e2(this.countdownModal[0],{submit:!1,logout:!0}),t&&((null===(e=window.location.hostname)||void 0===e?void 0:e.indexOf("il"))>=0||(0,f.kE)("info","Session Expired","You have been logged out due to inactivity.",!1)),this.clear(!1),(0,r.ri)(),this.processingLogout=!0)}showCountdown(t){this.countdownModal&&this.countdownModal.modal(t?"show":"hide")}showAuthentication(t){this.authenticationModal&&(this.showCountdown(!1),this.authenticationModal.modal(t?"show":"hide"))}async getSessionExpiration(){var t;try{if(!this.sessionEnd.isValid()||this.sessionEnd.diff(o().utc(),"seconds")0&&void 0!==arguments[0]&&arguments[0];return await new g(t).init()}}},74195:(t,e,a)=>{"use strict";a.d(e,{U:()=>i}),a(60960),a(19421);var n=a(74692);class i{constructor(t){const e=n(t).data("validator");e&&e.settings.errorPlacement&&(this.originalOnError=e.settings.errorPlacement,e.settings.errorPlacement=this.onError),e&&e.settings.success&&(this.originalOnSuccess=e.settings.success,e.settings.success=this.onSuccess)}onSuccess(t){t.data("unobtrusiveContainer")&&this.originalOnSuccess(t)}onError(t,e){this.originalOnError&&n(`[data-valmsg-for='${e[0].name}']`).length>0?this.originalOnError(t,e):t.insertAfter(e)}static addToAllForms(){for(const t of n("form").toArray())new i(t)}}},50942:(t,e,a)=>{"use strict";a(97741),a(10143);var n=a(51786),i=a.n(n),s=a(74692),o=a.n(s),d=a(3966),r=a(70464),l=a(38010),c=a(30747),u=a(34810),h=a(74195);window.show_pnotify=c.oY,window.pnotify_remove_all=c.aO;class p{get hasAccountNav(){return o()("#AccountNav").length>0}get hasOrganizationNav(){return o()("#OrganizationNav").length>0}constructor(){window.baseWpInit||(window.baseWpInit=!0,this.init())}async init(){await d.q.loadPageSpecific(),(0,c.zq)(),this.formsInit(),this.addAntiForgeryTokenCloner(),this.addOrganizationNav(),this.addAccountNav(),this.addToolTips(),this.listenForConfirmationModalCreation(),this.listenForOptionsModalClick(),(0,r.C)(),i().components.register("af-ilinvoiceaccountinglineeditcontent",{viewModel:{createViewModel:t=>t.accountingLine},template:'
\n\t
\n\t\t
\n\t\t\t\n\t\t
\n\t\t
\n\t\t\t\n\t\t\t\n\t\t
\n\t
\n\t
\n\t\t
SAP Contract Number
\n\t\t
\n\t\t\t\n\t\t\t\n\t\t
\n\t
\n\t\x3c!-- ko if: sapContractNumber.selectedOption() !== undefined --\x3e\n\t
\n\t\t
\n\t\t\t\n\t\t
\n\t\t
\n\t\t\t\n\t\t\t\n\t\t
\n\t
\n\t\x3c!-- /ko --\x3e\n\t\x3c!-- ko if: earmarkedFunds.value() > 0 --\x3e\n\t
\n\t\t
\n\t\t\t\n\t\t
\n\t\t
\n\t\t\t\n\t\t\t\n\t\t
\n\t
\n\t
\n\t\t
\n\t\t\t\n\t\t
\n\t\t
\n\t\t\t\n\t\t\t\n\t\t
\n\t
\n\t
\n\t\t
\n\t\t\t\n\t\t
\n\t\t
\n\t\t\t\n\t\t
\n\t
\n\t
\n\t\t
\n\t\t\t\n\t\t
\n\t\t
\n\t\t\t\n\t\t\t\n\t\t
\n\t
\n\t
\n\t\t
\n\t\t\t\n\t\t
\n\t\t
\n\t\t\t\n\t\t\t\n\t\t
\n\t
\n\t
\n\t\t
\n\t\t\t\n\t\t
\n\t\t
\n\t\t\t\n\t\t\t\n\t\t
\n\t
\n\t
\n\t\t
\n\t\t\t\n\t\t
\n\t\t
\n\t\t\t\n\t\t
\n\t
\n\t
\n\t\t
\n\t\t\t\n\t\t
\n\t\t
\n\t\t\t\n\t\t
\n\t
\n\t
\n\t\t
\n\t\t\t\n\t\t
\n\t\t
\n\t\t\t\n\t\t\t\n\t\t
\n\t
\n\t\x3c!-- /ko --\x3e\n
',synchronous:!0}),o()("#PageLoadingMask").hide()}formsInit(){h.U.addToAllForms(),"ActiveXObject"in window&&o()("body").on("click","button[type=submit][form]",(function(t){t.which&&1!==t.which||o()(`form#${o()(this).attr("form")}`).submit()}))}addAntiForgeryTokenCloner(){o()(document).on("submit","form",(t=>{const e=o()("#AntiForgeryToken > input").clone();o()(t.currentTarget).append(e)}))}addOrganizationNav(){this.hasOrganizationNav&&new kendo.ui.Menu(o()("#OrganizationNav > ul")[0],{animation:!1,openOnClick:{rootMenuItems:!0,subMenuItems:!0},closeOnClick:!0})}addAccountNav(){this.hasAccountNav&&new kendo.ui.Menu(o()("#AccountNav > ul")[0],{animation:!1,openOnClick:{rootMenuItems:!0,subMenuItems:!0},closeOnClick:!0})}addToolTips(){document.getElementById("afWebpackFullLayout")&&o()(document).kendoTooltip({filter:"*[title]:not(.noAutoTooltip)",position:"top",showAfter:600})}listenForConfirmationModalCreation(){o()("body").on("mousedown","a[data-af-modal-submit-url]",(t=>{t.which&&1!==t.which||(0,l.eh)(o()(t.currentTarget))}))}listenForOptionsModalClick(){o()("#AfOptionsBar a[data-semantic-modal-v2-url]").on("click",(function(t){var e;t.which&&1!==t.which||("systemViewSaveModalButton"===t.target.id&&t.target.getAttribute("data-url")?a.e(4311).then(a.bind(a,74311)).then((e=>e.initialize(t.target.getAttribute("data-url")||""))):(0,l.VJ)((null===(e=t.target.parentElement)||void 0===e?void 0:e.getAttribute("data-semantic-modal-v2-url"))||""))}))}}o()((()=>{new p,u.G.createNotifier()}))},3966:(t,e,a)=>{"use strict";a.d(e,{q:()=>n}),a(44114);class n{static async loadPageSpecific(){if(document.getElementById("af-react-body-container"))await Promise.all([a.e(4121),a.e(544),a.e(6342)]).then(a.bind(a,26574));else{const t={account:{adminlogin:async()=>{await Promise.all([a.e(4121),a.e(8171)]).then(a.bind(a,11011))},forgotpassword:async()=>{await Promise.all([a.e(4121),a.e(8171)]).then(a.bind(a,11011))},login:async()=>{await Promise.all([a.e(4121),a.e(8171)]).then(a.bind(a,11011))},resetpassword:async()=>{await Promise.all([a.e(4121),a.e(1166)]).then(a.bind(a,90598))}},activity:{activitytasks:async()=>{await Promise.all([a.e(2670),a.e(4489)]).then(a.bind(a,38816))},expenses:async()=>{await Promise.all([a.e(2670),a.e(4121),a.e(1943),a.e(9655)]).then(a.bind(a,84437))},paymentrequestapprovals:async()=>{await Promise.all([a.e(2670),a.e(4121),a.e(1943),a.e(9655)]).then(a.bind(a,30715))}},administration:{departments:async()=>{await a.e(6484).then(a.bind(a,45722))},notetypes:async()=>{await a.e(1746).then(a.bind(a,52438))},purposeareas:{create:async()=>{await a.e(8084).then(a.bind(a,52952))},details:async()=>{await a.e(8084).then(a.bind(a,52952))},edit:async()=>{await a.e(8084).then(a.bind(a,52952))},index:async()=>{await Promise.all([a.e(2670),a.e(1900)]).then(a.bind(a,71796))}},softwareintegrationclients:{create:async()=>{await Promise.all([a.e(2670),a.e(9804)]).then(a.bind(a,13674))},edit:async()=>{await Promise.all([a.e(2670),a.e(9804)]).then(a.bind(a,13674))},index:async()=>{await Promise.all([a.e(2670),a.e(9804)]).then(a.bind(a,7662))}},subjects:async()=>{await Promise.all([a.e(2670),a.e(9804)]).then(a.bind(a,67314))}},calendar:async()=>{await Promise.all([a.e(4121),a.e(4668)]).then(a.bind(a,72068))},contacts:{individuals:{tasks:async()=>{await Promise.all([a.e(2670),a.e(4489)]).then(a.bind(a,38816))}},organizations:{tasks:async()=>{await Promise.all([a.e(2670),a.e(4489)]).then(a.bind(a,38816))}},staff:{tasks:async()=>{await Promise.all([a.e(2670),a.e(4489)]).then(a.bind(a,38816))}}},funds:{funds:{tasks:async()=>{await Promise.all([a.e(2670),a.e(4489)]).then(a.bind(a,38816))}},fundopportunities:async()=>{await Promise.all([a.e(2670),a.e(5926)]).then(a.bind(a,81484))}},grants:{amendments:{create:async()=>{await Promise.all([a.e(4121),a.e(544),a.e(4847)]).then(a.bind(a,50178))},edit:async()=>{await Promise.all([a.e(4121),a.e(544),a.e(4847)]).then(a.bind(a,50178))},index:async()=>{await Promise.all([a.e(2670),a.e(4121),a.e(3489)]).then(a.bind(a,54537))},requestdetails:async()=>{await Promise.all([a.e(4121),a.e(544),a.e(4847)]).then(a.bind(a,50178))},respond:async()=>{await Promise.all([a.e(4121),a.e(544),a.e(4847)]).then(a.bind(a,50178))},responsedetails:async()=>{await Promise.all([a.e(4121),a.e(544),a.e(4847)]).then(a.bind(a,50178))},history:async()=>{await Promise.all([a.e(4121),a.e(544),a.e(4847)]).then(a.bind(a,50178))}},cashreceipts:{create:async()=>{await Promise.all([a.e(2670),a.e(7905)]).then(a.bind(a,30756))},details:async()=>{await Promise.all([a.e(2670),a.e(7905)]).then(a.bind(a,30756))},edit:async()=>{await Promise.all([a.e(2670),a.e(7905)]).then(a.bind(a,30756))},index:async()=>{await Promise.all([a.e(2670),a.e(7905)]).then(a.bind(a,85331))}},enterpriseresourceplanning:{contracts:async()=>{await Promise.all([a.e(2670),a.e(7972)]).then(a.bind(a,90078))}},grants:{sendbulkactivations:async()=>{await Promise.all([a.e(2670),a.e(3638)]).then(a.bind(a,86491))},tasks:async()=>{await Promise.all([a.e(2670),a.e(4489)]).then(a.bind(a,38816))}},paymentauthorizations:{create:async()=>{await Promise.all([a.e(4121),a.e(2482),a.e(6694)]).then(a.bind(a,93550))},details:async()=>{await Promise.all([a.e(4121),a.e(2482),a.e(6694)]).then(a.bind(a,93550))},edit:async()=>{await Promise.all([a.e(4121),a.e(2482),a.e(6694)]).then(a.bind(a,93550))}},paymentrequests:{create:async()=>{await Promise.all([a.e(2670),a.e(4121),a.e(2482),a.e(1943),a.e(7810)]).then(a.bind(a,7484))},details:async()=>{await Promise.all([a.e(2670),a.e(4121),a.e(2482),a.e(1943),a.e(7810)]).then(a.bind(a,7484))},edit:async()=>{await Promise.all([a.e(2670),a.e(4121),a.e(2482),a.e(1943),a.e(7810)]).then(a.bind(a,7484))},index:async()=>{await Promise.all([a.e(2670),a.e(1262)]).then(a.bind(a,70345))}},grantopportunities:async()=>{await Promise.all([a.e(2670),a.e(5926)]).then(a.bind(a,81484))}},projects:{budgetitems:async()=>{await a.e(5008).then(a.bind(a,41218))},goals:async()=>{await a.e(5763).then(a.bind(a,35707))},projects:{tasks:async()=>{await Promise.all([a.e(2670),a.e(4489)]).then(a.bind(a,38816))}},strategies:async()=>{await a.e(2101).then(a.bind(a,21433))}},public:{opportunityapplications:{budget:async()=>{await Promise.all([a.e(5538),a.e(473)]).then(a.bind(a,78036))},projectinformation:async()=>{await a.e(6113).then(a.bind(a,26801))},performanceplan:async()=>{await a.e(4683).then(a.bind(a,47454))}}},requestforproposals:{customformtemplates:async()=>{await Promise.all([a.e(2670),a.e(4121),a.e(3059)]).then(a.bind(a,64003))},opportunities:{applications:async()=>{await Promise.all([a.e(2670),a.e(4121),a.e(4851)]).then(a.bind(a,98236))},applicationforms:async()=>{await Promise.all([a.e(2670),a.e(2580)]).then(a.bind(a,52616))},applicationsettings:async()=>{await a.e(2520).then(a.bind(a,80666))},budgettemplate:async()=>{await Promise.all([a.e(2670),a.e(141),a.e(206)]).then(a.bind(a,19546))},copy:async()=>{await Promise.all([a.e(2670),a.e(141),a.e(206)]).then(a.bind(a,60982))},createfundopportunity:async()=>{await Promise.all([a.e(2670),a.e(141),a.e(206)]).then(a.bind(a,60982))},creategrantopportunity:async()=>{await Promise.all([a.e(2670),a.e(141),a.e(206)]).then(a.bind(a,60982))},details:async()=>{await Promise.all([a.e(2670),a.e(141),a.e(206)]).then(a.bind(a,60982))},edit:async()=>{await Promise.all([a.e(2670),a.e(141),a.e(206)]).then(a.bind(a,60982))},opportunityfunding:async()=>{await Promise.all([a.e(141),a.e(2309)]).then(a.bind(a,67902))},opportunityreview:async()=>{await Promise.all([a.e(2670),a.e(683)]).then(a.bind(a,34136))},performanceplantemplate:async()=>{await Promise.all([a.e(2670),a.e(141),a.e(206)]).then(a.bind(a,74410))},programfunding:async()=>{await Promise.all([a.e(141),a.e(2309)]).then(a.bind(a,67902))}},opportunityapplications:{budget:async()=>{await Promise.all([a.e(4121),a.e(5538),a.e(8971)]).then(a.bind(a,87261))},budgetcomments:async()=>{await Promise.all([a.e(4121),a.e(5538),a.e(1809)]).then(a.bind(a,43127))},details:async()=>{await a.e(2906).then(a.bind(a,70696))},scoreapplication:async()=>{await Promise.all([a.e(2670),a.e(5538),a.e(8551)]).then(a.bind(a,69347))},scorecard:async()=>{await a.e(7024).then(a.bind(a,34577))}}}},e=window.location.pathname.split(".")[0].toLowerCase(),n=this.SplitPath(e),i=this.GetChunkImports(n,t);if(i.length)for(const t of i)await t();else{n.push("index");const e=this.GetChunkImports(n,t);if(e.length)for(const t of e)await t();else console.warn("No chunks loaded")}}}static GetChunkImports(t,e){const a=t[0];if(a){const n=e[a];if("function"==typeof n)return[n];if(n instanceof Array)return n;if(n)return this.GetChunkImports(t.slice(1),n)}return[]}static SplitPath(t){const e=/\/[a-z]+/gi;let a;const n=[];do{a=e.exec(t),a&&n.push(a[0].substring(1))}while(a);return n}}},35358:(t,e,a)=>{var n={"./af":25177,"./af.js":25177,"./ar":61509,"./ar-dz":41488,"./ar-dz.js":41488,"./ar-kw":58676,"./ar-kw.js":58676,"./ar-ly":42353,"./ar-ly.js":42353,"./ar-ma":24496,"./ar-ma.js":24496,"./ar-sa":82682,"./ar-sa.js":82682,"./ar-tn":89756,"./ar-tn.js":89756,"./ar.js":61509,"./az":95533,"./az.js":95533,"./be":28959,"./be.js":28959,"./bg":47777,"./bg.js":47777,"./bm":54903,"./bm.js":54903,"./bn":61290,"./bn-bd":17357,"./bn-bd.js":17357,"./bn.js":61290,"./bo":31545,"./bo.js":31545,"./br":11470,"./br.js":11470,"./bs":44429,"./bs.js":44429,"./ca":7306,"./ca.js":7306,"./cs":56464,"./cs.js":56464,"./cv":73635,"./cv.js":73635,"./cy":64226,"./cy.js":64226,"./da":93601,"./da.js":93601,"./de":77853,"./de-at":26111,"./de-at.js":26111,"./de-ch":54697,"./de-ch.js":54697,"./de.js":77853,"./dv":60708,"./dv.js":60708,"./el":54691,"./el.js":54691,"./en-au":53872,"./en-au.js":53872,"./en-ca":28298,"./en-ca.js":28298,"./en-gb":56195,"./en-gb.js":56195,"./en-ie":66584,"./en-ie.js":66584,"./en-il":65543,"./en-il.js":65543,"./en-in":9033,"./en-in.js":9033,"./en-nz":79402,"./en-nz.js":79402,"./en-sg":43004,"./en-sg.js":43004,"./eo":32934,"./eo.js":32934,"./es":97650,"./es-do":20838,"./es-do.js":20838,"./es-mx":17730,"./es-mx.js":17730,"./es-us":56575,"./es-us.js":56575,"./es.js":97650,"./et":3035,"./et.js":3035,"./eu":3508,"./eu.js":3508,"./fa":119,"./fa.js":119,"./fi":90527,"./fi.js":90527,"./fil":95995,"./fil.js":95995,"./fo":52477,"./fo.js":52477,"./fr":85498,"./fr-ca":26435,"./fr-ca.js":26435,"./fr-ch":37892,"./fr-ch.js":37892,"./fr.js":85498,"./fy":37071,"./fy.js":37071,"./ga":41734,"./ga.js":41734,"./gd":70217,"./gd.js":70217,"./gl":77329,"./gl.js":77329,"./gom-deva":32124,"./gom-deva.js":32124,"./gom-latn":93383,"./gom-latn.js":93383,"./gu":95050,"./gu.js":95050,"./he":11713,"./he.js":11713,"./hi":43861,"./hi.js":43861,"./hr":26308,"./hr.js":26308,"./hu":90609,"./hu.js":90609,"./hy-am":17160,"./hy-am.js":17160,"./id":74063,"./id.js":74063,"./is":89374,"./is.js":89374,"./it":88383,"./it-ch":21827,"./it-ch.js":21827,"./it.js":88383,"./ja":23827,"./ja.js":23827,"./jv":89722,"./jv.js":89722,"./ka":41794,"./ka.js":41794,"./kk":27088,"./kk.js":27088,"./km":96870,"./km.js":96870,"./kn":84451,"./kn.js":84451,"./ko":63164,"./ko.js":63164,"./ku":98174,"./ku.js":98174,"./ky":78474,"./ky.js":78474,"./lb":79680,"./lb.js":79680,"./lo":15867,"./lo.js":15867,"./lt":45766,"./lt.js":45766,"./lv":69532,"./lv.js":69532,"./me":58076,"./me.js":58076,"./mi":41848,"./mi.js":41848,"./mk":30306,"./mk.js":30306,"./ml":73739,"./ml.js":73739,"./mn":99053,"./mn.js":99053,"./mr":86169,"./mr.js":86169,"./ms":73386,"./ms-my":92297,"./ms-my.js":92297,"./ms.js":73386,"./mt":77075,"./mt.js":77075,"./my":72264,"./my.js":72264,"./nb":22274,"./nb.js":22274,"./ne":8235,"./ne.js":8235,"./nl":92572,"./nl-be":43784,"./nl-be.js":43784,"./nl.js":92572,"./nn":54566,"./nn.js":54566,"./oc-lnc":69330,"./oc-lnc.js":69330,"./pa-in":29849,"./pa-in.js":29849,"./pl":94418,"./pl.js":94418,"./pt":79834,"./pt-br":48303,"./pt-br.js":48303,"./pt.js":79834,"./ro":24457,"./ro.js":24457,"./ru":82271,"./ru.js":82271,"./sd":1221,"./sd.js":1221,"./se":33478,"./se.js":33478,"./si":17538,"./si.js":17538,"./sk":5784,"./sk.js":5784,"./sl":46637,"./sl.js":46637,"./sq":86794,"./sq.js":86794,"./sr":45719,"./sr-cyrl":3322,"./sr-cyrl.js":3322,"./sr.js":45719,"./ss":56e3,"./ss.js":56e3,"./sv":41011,"./sv.js":41011,"./sw":40748,"./sw.js":40748,"./ta":11025,"./ta.js":11025,"./te":11885,"./te.js":11885,"./tet":28861,"./tet.js":28861,"./tg":86571,"./tg.js":86571,"./th":55802,"./th.js":55802,"./tk":59527,"./tk.js":59527,"./tl-ph":29231,"./tl-ph.js":29231,"./tlh":31052,"./tlh.js":31052,"./tr":85096,"./tr.js":85096,"./tzl":79846,"./tzl.js":79846,"./tzm":81765,"./tzm-latn":97711,"./tzm-latn.js":97711,"./tzm.js":81765,"./ug-cn":48414,"./ug-cn.js":48414,"./uk":16618,"./uk.js":16618,"./ur":57777,"./ur.js":57777,"./uz":57609,"./uz-latn":72475,"./uz-latn.js":72475,"./uz.js":57609,"./vi":21135,"./vi.js":21135,"./x-pseudo":64051,"./x-pseudo.js":64051,"./yo":82218,"./yo.js":82218,"./zh-cn":52648,"./zh-cn.js":52648,"./zh-hk":1632,"./zh-hk.js":1632,"./zh-mo":31541,"./zh-mo.js":31541,"./zh-tw":50304,"./zh-tw.js":50304};function i(t){var e=s(t);return a(e)}function s(t){if(!a.o(n,t)){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}return n[t]}i.keys=function(){return Object.keys(n)},i.resolve=s,t.exports=i,i.id=35358}},t=>{t.O(0,[2670,4121],(()=>t(t.s=50942))),t.O()}]); //# sourceMappingURL=base.c1c8d182e015db2cffef.js.map