{"version":3,"sources":["webpack:///./node_modules/core-js/modules/es.array.reduce.js","webpack:///./src/js/forms/store/modules.js","webpack:///./src/js/forms/store/criteria.js","webpack:///./src/js/forms/store/funding-request-store.js","webpack:///./node_modules/core-js/internals/a-function.js","webpack:///./node_modules/core-js/internals/array-method-is-strict.js","webpack:///./node_modules/core-js/internals/array-reduce.js","webpack:///./src/js/forms/store/helpers.js"],"names":["$","$reduce","left","arrayMethodIsStrict","CHROME_VERSION","IS_NODE","STRICT_METHOD","CHROME_BUG","target","proto","forced","reduce","callbackfn","this","arguments","length","undefined","agreement","namespaced","state","agreed_to_copies","authorized_agent","signature","signature_points","date","witness","name","title","getters","getField","mutations","updateField","setAuthorizedAgent","Date","setWitness","attachments","area_maps","plats","photos","appraisals","landowner_letters","adjacent_landowner_letters","support_letters","municipal_endorsements","board_member_list","articles_of_incorporation","master_plans","landowner_disclosures","other","getFileList","category","addFileToStore","file","push","removeFileFromStore","file_index","map","item","indexOf","splice","actions","commit","dispatch","payload","path","value","root","applicant_information","organization_name","is_non_profit","mailing_address","street_1","street_2","city","zip","phone","email","contact_person","ensuring_completion","total_acres","land_already_preserved","financial_participants","project_information","rural_or_urban","project_park_name","brief_description","property_information","landowner","is_entity","business_partners","property_address","jurisdiction","is_unincorporated_charleston_county","municipality","number_of_parcels","acreage_distribution","forested","cleared","wetlands","tax_map_numbers","zoning_status","assessor_plot_lot_numbers","deed_book_page_number","land_use_description","site_accessibility","is_road_accessible","road_types","unimproved_roads","improved_roads","water_access","has_water_access","types_of_access","freshwater_stream_creek_names","tidal_creek_names","deep_river_names","totalAcreage","round","acquisition_information","type","payment_method","other_description","fair_market_value","is_including_appraisal","appraised_value","estimated_value","value_estimation_description","land_has_structures","value_of_structures","structure_descriptions","project_budget","accounts","label","greenbelt_funds","match","match_details","landowner_donation","provided_grants","grants","amount","date_awarded","applicant_amount","are_additional_matches","are_in_kind_matches","in_kind_description","are_unfunded_grants","unfunded_grant_description","match_percentage","unformat","getMatchTotal","greenbeltTotal","getGreenbeltTotal","Math","getFunds","index","formatMoney","accum","getGrandTotal","setFunds","addGrant","removeGrant","definition","proposed_uses","description","explain_preferred_definition","getDefinition","setDefinition","vision","getVision","setVision","system_components","components","getComponents","setComponents","public_access","access","schedule","event_description","improvements","included","area","are_other_improvements","other_improvements","getAccess","setAccess","protection_wildlife","protection","species_saved","describe_preservation","getProtection","setProtection","protection_natural_resources","protections","getProtections","setProtections","history_culture","features","detail_preservation","education","getFeatures","setFeatures","threat_of_loss","threat","getThreat","setThreat","consistent_adopted_plans","plans","other_plan","planning_entity_support","getPlans","setPlans","acquisition_ready","readiness","projected_timeline","over_six_month_description","getReadiness","setReadiness","public_ready","phase_completion_dates","immediate_use","public_support","is_public_support","support","getSupport","setSupport","funding_leveraging","funding","getFunding","setFunding","project_management","management","maintenance_staff_description","funding_security","financial_staff_description","getManagement","setManagement","partnership_coordination","partner_list","partner_roles","greenspace_conservation","return_investment","investment_returns","getInvestmentReturns","setInvestmentReturns","additional_information","information","limits","easement_draft","draft_restrictions","criteria","modules","sections","display","store_key","component","status_array","generateStatusArray","component_array","generateComponentArray","module","exports","it","TypeError","String","fails","METHOD_NAME","argument","method","call","aFunction","toObject","IndexedObject","toLength","createMethod","IS_RIGHT","that","argumentsLength","memo","O","self","i","right","forEach","section","filter"],"mappings":"kHACA,IAAIA,EAAI,EAAQ,QACZC,EAAU,EAAQ,QAA6BC,KAC/CC,EAAsB,EAAQ,QAC9BC,EAAiB,EAAQ,QACzBC,EAAU,EAAQ,QAElBC,EAAgBH,EAAoB,UAGpCI,GAAcF,GAAWD,EAAiB,IAAMA,EAAiB,GAIrEJ,EAAE,CAAEQ,OAAQ,QAASC,OAAO,EAAMC,QAASJ,GAAiBC,GAAc,CACxEI,OAAQ,SAAgBC,GACtB,OAAOX,EAAQY,KAAMD,EAAYE,UAAUC,OAAQD,UAAUC,OAAS,EAAID,UAAU,QAAKE,O,ioBCbtF,MAAMC,EAAY,CACxBC,YAAY,EACZC,MAAO,CAC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Ae,SAAUC,GAC3B,OAAO,SAAUC,EAAMtQ,EAAYuQ,EAAiBC,GAClDR,EAAUhQ,GACV,IAAIyQ,EAAIR,EAASK,GACbI,EAAOR,EAAcO,GACrBtQ,EAASgQ,EAASM,EAAEtQ,QACpB0I,EAAQwH,EAAWlQ,EAAS,EAAI,EAChCwQ,EAAIN,GAAY,EAAI,EACxB,GAAIE,EAAkB,EAAG,MAAO,EAAM,CACpC,GAAI1H,KAAS6H,EAAM,CACjBF,EAAOE,EAAK7H,GACZA,GAAS8H,EACT,MAGF,GADA9H,GAAS8H,EACLN,EAAWxH,EAAQ,EAAI1I,GAAU0I,EACnC,MAAM4G,UAAU,+CAGpB,KAAMY,EAAWxH,GAAS,EAAI1I,EAAS0I,EAAOA,GAAS8H,EAAO9H,KAAS6H,IACrEF,EAAOxQ,EAAWwQ,EAAME,EAAK7H,GAAQA,EAAO4H,IAE9C,OAAOD,IAIXlB,EAAOC,QAAU,CAGfjQ,KAAM8Q,GAAa,GAGnBQ,MAAOR,GAAa,K,kCCtCf,SAASjB,EAAoBL,GACnC,MAAMI,EAAe,GAIrB,OAHAJ,EAAS+B,QAASC,IACjB5B,EAAa4B,EAAQ9B,WAAa,OAE5BE,EAGD,SAASG,EAAuBP,GACtC,OAAOA,EACNiC,OAAQ,EAAG/B,eAA8B,gBAAdA,GAC3BpM,IAAK,EAAGqM,eAAgBA,GAX1B","file":"js/chunk-a032cabc.af455b41.js","sourcesContent":["'use strict';\nvar $ = require('../internals/export');\nvar $reduce = require('../internals/array-reduce').left;\nvar arrayMethodIsStrict = require('../internals/array-method-is-strict');\nvar CHROME_VERSION = require('../internals/engine-v8-version');\nvar IS_NODE = require('../internals/engine-is-node');\n\nvar STRICT_METHOD = arrayMethodIsStrict('reduce');\n// Chrome 80-82 has a critical bug\n// https://bugs.chromium.org/p/chromium/issues/detail?id=1049982\nvar CHROME_BUG = !IS_NODE && CHROME_VERSION > 79 && CHROME_VERSION < 83;\n\n// `Array.prototype.reduce` method\n// https://tc39.es/ecma262/#sec-array.prototype.reduce\n$({ target: 'Array', proto: true, forced: !STRICT_METHOD || CHROME_BUG }, {\n reduce: function reduce(callbackfn /* , initialValue */) {\n return $reduce(this, callbackfn, arguments.length, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\n","import { getField, updateField } from 'vuex-map-fields';\nimport { formatMoney, unformat } from 'accounting-js';\nimport { round } from 'lodash';\nexport const agreement = {\n\tnamespaced: true,\n\tstate: {\n\t\tagreed_to_copies: null,\n\t\tauthorized_agent: {\n\t\t\tsignature: null,\n\t\t\tsignature_points: [],\n\t\t\tdate: null\n\t\t},\n\t\twitness: {\n\t\t\tsignature: null,\n\t\t\tsignature_points: [],\n\t\t\tname: null,\n\t\t\ttitle: null,\n\t\t\tdate: null\n\t\t}\n\t},\n\tgetters: {\n\t\tgetField\n\t},\n\tmutations: {\n\t\tupdateField,\n\t\tsetAuthorizedAgent(state, {signature}){\n\t\t\tstate.authorized_agent.signature = signature;\n\t\t\tstate.authorized_agent.date = new Date();\n\t\t},\n\t\tsetWitness(state, {signature}){\n\t\t\tstate.witness.signature = signature;\n\t\t\tstate.witness.date = new Date();\n\t\t}\n\t}\n}\n\nexport const attachments = {\n\tnamespaced: true,\n\tstate: {\n\t\tarea_maps: [],\n\t\tplats: [],\n\t\tphotos: [],\n\t\tappraisals: [],\n\t\tlandowner_letters: [],\n\t\tadjacent_landowner_letters: [],\n\t\tsupport_letters: [],\n\t\tmunicipal_endorsements: [],\n\t\tboard_member_list: [],\n\t\tarticles_of_incorporation: [],\n\t\t//secretary_of_state_notification: [],\n\t\tmaster_plans: [],\n\t\tlandowner_disclosures: [],\n\t\tother: []\n\t},\n\tgetters: {\n\t\tgetField,\n\t\tgetFileList: (state) => (category) => {\n\t\t\treturn state[category];\n\t\t}\n\t},\n\tmutations: {\n\t\tupdateField,\n\t\taddFileToStore(state, { category, file }){\n\t\t\tstate[category].push(file);\n\t\t},\n\t\tremoveFileFromStore(state, { category, file }){\n\t\t\tconst file_index = state[category].map(item => item.name).indexOf(file.name);\n\t\t\tstate[category].splice(file_index, 1);\n\t\t}\n\t},\n\tactions: {\n\t\taddFileToStore({ state, commit, dispatch }, payload){\n\t\t\tcommit('addFileToStore', payload);\n\t\t\tdispatch('application/patchApplication', { path: ['attachments', payload.category] , value: state[payload.category]}, { root: true });\n\t\t},\n\t\tremoveFileFromStore({ state, commit, dispatch }, payload){\n\t\t\tcommit('removeFileFromStore', payload);\n\t\t\tdispatch('application/patchApplication', { path: ['attachments', payload.category] , value: state[payload.category]}, { root: true });\n\t\t}\n\t}\n}\n\nexport const applicant_information = {\n\tnamespaced: true,\n\tstate: {\n\t\torganization_name: null,\n\t\tis_non_profit: null,\n\t\tmailing_address: {\n\t\t\tstreet_1: null,\n\t\t\tstreet_2: null,\n\t\t\tcity: null,\n\t\t\tstate: null,\n\t\t\tzip: null\n\t\t},\n\t\tauthorized_agent: {\n\t\t\tname: null,\n\t\t\ttitle: null,\n\t\t\tphone: null,\n\t\t\temail: null\n\t\t},\n\t\tcontact_person: {\n\t\t\tname: null,\n\t\t\ttitle: null,\n\t\t\tphone: null,\n\t\t\temail: null\n\t\t},\n\t\tensuring_completion: null,\n\t\ttotal_acres: null,\n\t\tland_already_preserved: null,\n\t\tfinancial_participants: null\n\t},\n\tgetters: {\n\t\tgetField\n\t},\n\tmutations: {\n\t\tupdateField\n\t}\n}\n\nexport const project_information = {\n\tnamespaced: true,\n\tstate: {\n\t\trural_or_urban: null,\n\t\tproject_park_name: null,\n\t\tbrief_description: null\n\t},\n\tgetters: {\n\t\tgetField\n\t},\n\tmutations: {\n\t\tupdateField\n\t}\n}\n\nexport const property_information = {\n\tnamespaced: true,\n\tstate: {\n\t\tlandowner: {\n\t\t\tname: null,\n\t\t\tis_entity: null,\n\t\t\tbusiness_partners: null,\n\t\t\tmailing_address: {\n\t\t\t\tstreet_1: null,\n\t\t\t\tstreet_2: null,\n\t\t\t\tcity: null,\n\t\t\t\tstate: null,\n\t\t\t\tzip: null\n\t\t\t}\n\t\t},\n\t\tproperty_address: {\n\t\t\tstreet_1: null,\n\t\t\tstreet_2: null,\n\t\t\tcity: null,\n\t\t\tstate: null,\n\t\t\tzip: null\n\t\t},\n\t\tjurisdiction: {\n\t\t\tis_unincorporated_charleston_county: null,\n\t\t\tmunicipality: null,\n\t\t\tnumber_of_parcels: null\n\t\t},\n\t\tacreage_distribution: {\n\t\t\tforested: null,\n\t\t\tcleared: null,\n\t\t\twetlands: null\n\t\t},\n\t\ttax_map_numbers: null,\n\t\tzoning_status: null,\n\t\tassessor_plot_lot_numbers: null,\n\t\tdeed_book_page_number: null,\n\t\tland_use_description: null,\n\t\tsite_accessibility: {\n\t\t\tis_road_accessible: null,\n\t\t\troad_types: [],\n\t\t\tunimproved_roads: null,\n\t\t\timproved_roads: null\n\t\t},\n\t\twater_access: {\n\t\t\thas_water_access: null,\n\t\t\ttypes_of_access: [],\n\t\t\tfreshwater_stream_creek_names: null,\n\t\t\ttidal_creek_names: null,\n\t\t\tdeep_river_names: null\n\t\t}\n\t},\n\tgetters: {\n\t\tgetField,\n\t\ttotalAcreage: state => round((state.acreage_distribution.forested || 0 ) + (state.acreage_distribution.cleared || 0 ) + (state.acreage_distribution.wetlands || 0 ), 2)\n\t},\n\tmutations: {\n\t\tupdateField\n\t}\n}\n\nexport const acquisition_information = {\n\tnamespaced: true,\n\tstate: {\n\t\ttype: [],\n\t\tpayment_method: null,\n\t\tother_description: null\n\t},\n\tgetters: {\n\t\tgetField\n\t},\n\tmutations: {\n\t\tupdateField\n\t}\n}\n\nexport const fair_market_value = {\n\tnamespaced: true,\n\tstate: {\n\t\tis_including_appraisal: null,\n\t\tappraised_value: null,\n\t\testimated_value: null,\n\t\tvalue_estimation_description: null,\n\t\tland_has_structures: null,\n\t\tvalue_of_structures: null,\n\t\tstructure_descriptions: null\n\t},\n\tgetters: {\n\t\tgetField\n\t},\n\tmutations: {\n\t\tupdateField\n\t}\n}\n\nexport const project_budget = {\n\tnamespaced: true,\n\tstate: {\n\t\taccounts: [\n\t\t\t{\n\t\t\t\tlabel: 'Land',\n\t\t\t\tgreenbelt_funds: 0,\n\t\t\t\tmatch: 0\n\t\t\t},\n\t\t\t{\n\t\t\t\tlabel: 'Allowable Minor Improvements',\n\t\t\t\tgreenbelt_funds: 0,\n\t\t\t\tmatch: 0\n\t\t\t},\n\t\t\t{\n\t\t\t\tlabel: 'Other Improvements',\n\t\t\t\tgreenbelt_funds: 0,\n\t\t\t\tmatch: 0\n\t\t\t},\n\t\t\t{\n\t\t\t\tlabel: 'ESA',\n\t\t\t\tgreenbelt_funds: 0,\n\t\t\t\tmatch: 0\n\t\t\t},\n\t\t\t{\n\t\t\t\tlabel: 'Appraisal',\n\t\t\t\tgreenbelt_funds: 0,\n\t\t\t\tmatch: 0\n\t\t\t},\n\t\t\t{\n\t\t\t\tlabel: 'Survey / Plat',\n\t\t\t\tgreenbelt_funds: 0,\n\t\t\t\tmatch: 0\n\t\t\t},\n\t\t\t{\n\t\t\t\tlabel: 'Closing Costs',\n\t\t\t\tgreenbelt_funds: 0,\n\t\t\t\tmatch: 0\n\t\t\t},\n\t\t\t{\n\t\t\t\tlabel: 'Other',\n\t\t\t\tgreenbelt_funds: 0,\n\t\t\t\tmatch: 0\n\t\t\t}\n\t\t],\n\t\tother_description: null,\n\t\tmatch_details: {\n\t\t\tlandowner_donation: null,\n\t\t\tprovided_grants: null,\n\t\t\tgrants: [\n\t\t\t\t{\n\t\t\t\t\tamount: null,\n\t\t\t\t\tname: null,\n\t\t\t\t\tdate_awarded: null\n\t\t\t\t},\n\t\t\t],\n\t\t\tapplicant_amount: null,\n\t\t\tare_additional_matches: null,\n\t\t\tother: null,\n\t\t\tare_in_kind_matches: null,\n\t\t\tin_kind_description: null,\n\t\t\tare_unfunded_grants: null,\n\t\t\tunfunded_grant_description: null\n\t\t}\n\t},\n\tgetters: {\n\t\tgetField,\n\t\tmatch_percentage(state, getters){\n\t\t\tlet match = unformat(getters.getMatchTotal);\n\t\t\tlet greenbeltTotal = unformat(getters.getGreenbeltTotal);\n\t\t\treturn greenbeltTotal ? Math.round((match / greenbeltTotal)*100) : 0;\n\t\t},\n\t\tgetFunds: (state) => ({index, type}) => {\n\t\t\treturn state.accounts[index][type];\n\t\t},\n\t\tgetGreenbeltTotal(state){\n\t\t\treturn formatMoney(state.accounts.reduce( (accum, { greenbelt_funds }) => accum += unformat(greenbelt_funds), 0));\n\t\t},\n\t\tgetMatchTotal(state){\n\t\t\treturn formatMoney(state.accounts.reduce( (accum, { match }) => accum += unformat(match), 0));\n\t\t},\n\t\tgetGrandTotal(state){\n\t\t\treturn formatMoney(state.accounts.reduce( (accum, { greenbelt_funds, match }) => accum += unformat(greenbelt_funds) + unformat(match), 0))\n\t\t}\n\t},\n\tmutations: {\n\t\tupdateField,\n\t\tsetFunds(state, { index, type, value }){\n\t\t\tstate.accounts[index][type] = unformat(value);\n\t\t},\n\t\taddGrant(state){\n\t\t\tstate.match_details.grants.push({\n\t\t\t\tamount: null,\n\t\t\t\tname: null,\n\t\t\t\tdate_awarded: null\n\t\t\t})\n\t\t},\n\t\tremoveGrant(state, index){\n\t\t\tstate.match_details.grants.splice(index, 1);\n\t\t}\n\t},\n\tactions: {\n\t\taddGrant({ state, commit, dispatch }){\n\t\t\tcommit('addGrant', null); // payload is null for serialization edgecase. issue #43\n\t\t\tdispatch('application/patchApplication', { path: ['project_budget', 'match_details', 'grants'] , value: state.match_details.grants}, { root: true });\n\t\t},\n\t\tremoveGrant({ state, commit, dispatch }, index){\n\t\t\tcommit('removeGrant', index);\n\t\t\tdispatch('application/patchApplication', { path: ['project_budget', 'match_details', 'grants'] , value: state.match_details.grants}, { root: true });\n\t\t}\n\t}\n}\n","import { getField, updateField } from 'vuex-map-fields';\n\nconst definition = {\n\tnamespaced: true,\n\tstate: {\n\t\tdefinition: null,\n\t\tproposed_uses: null,\n\t\tdescription: null,\n\t\texplain_preferred_definition: null\n\t},\n\tgetters: {\n\t\tgetField,\n\t\tgetDefinition(state){\n\t\t\treturn state.definition;\n\t\t}\n\t},\n\tmutations: {\n\t\tupdateField,\n\t\tsetDefinition(state, value){\n\t\t\tstate.definition = value;\n\t\t}\n\t}\n}\n\nconst vision = {\n\tnamespaced: true,\n\tstate: {\n\t\tvision: null,\n\t\tdescription: null\n\t},\n\tgetters: {\n\t\tgetField,\n\t\tgetVision(state){\n\t\t\treturn state.vision;\n\t\t}\n\t},\n\tmutations: {\n\t\tupdateField,\n\t\tsetVision(state, value){\n\t\t\tstate.vision = value;\n\t\t}\n\t}\n}\n\nconst system_components = {\n\tnamespaced: true,\n\tstate: {\n\t\tcomponents: [],\n\t\tdescription: null\n\t},\n\tgetters: {\n\t\tgetField,\n\t\tgetComponents(state){\n\t\t\treturn state.components;\n\t\t}\n\t},\n\tmutations: {\n\t\tupdateField,\n\t\tsetComponents(state, value){\n\t\t\tstate.components = value;\n\t\t}\n\t}\n}\n\nconst public_access = {\n\tnamespaced: true,\n\tstate: {\n\t\taccess: null,\n\t\tdescription: null,\n\t\tschedule: null,\n\t\tevent_description: null,\n\t\timprovements: [\n\t\t\t{\n\t\t\t\ttype: 'Unpaved small parking area',\n\t\t\t\tincluded: false,\n\t\t\t\tarea: null\n\t\t\t},\n\t\t\t{\n\t\t\t\ttype: 'Unpaved roads',\n\t\t\t\tincluded: false,\n\t\t\t\tarea: null,\n\t\t\t\tlength: null\n\t\t\t},\n\t\t\t{\n\t\t\t\ttype: 'Unpaved trails',\n\t\t\t\tincluded: false,\n\t\t\t\tarea: null,\n\t\t\t\tlength: null\n\t\t\t},\n\t\t\t{\n\t\t\t\ttype: 'Boardwalks',\n\t\t\t\tincluded: false,\n\t\t\t\tarea: null,\n\t\t\t\tlength: null\n\t\t\t},\n\t\t\t{\n\t\t\t\ttype: 'Footbridges',\n\t\t\t\tincluded: false,\n\t\t\t\tarea: null,\n\t\t\t\tlength: null\n\t\t\t},\n\t\t],\n\t\tare_other_improvements: null,\n\t\tother_improvements: null\n\t},\n\tgetters: {\n\t\tgetField,\n\t\tgetAccess(state){\n\t\t\treturn state.access;\n\t\t}\n\t},\n\tmutations: {\n\t\tupdateField,\n\t\tsetAccess(state, value){\n\t\t\tstate.access = value;\n\t\t}\n\t}\n}\n\nconst protection_wildlife = {\n\tnamespaced: true,\n\tstate: {\n\t\tprotection: null,\n\t\tspecies_saved: null,\n\t\tdescribe_preservation: null\n\t},\n\tgetters: {\n\t\tgetField,\n\t\tgetProtection(state){\n\t\t\treturn state.protection;\n\t\t}\n\t},\n\tmutations: {\n\t\tupdateField,\n\t\tsetProtection(state, value){\n\t\t\tstate.protection = value;\n\t\t}\n\t}\n}\n\nconst protection_natural_resources = {\n\tnamespaced: true,\n\tstate: {\n\t\tprotections: [],\n\t\tdescription: null\n\t},\n\tgetters: {\n\t\tgetField,\n\t\tgetProtections(state){\n\t\t\treturn state.protections;\n\t\t}\n\t},\n\tmutations: {\n\t\tupdateField,\n\t\tsetProtections(state, value){\n\t\t\tstate.protections = value;\n\t\t}\n\t}\n}\n\nconst history_culture = {\n\tnamespaced: true,\n\tstate: {\n\t\tfeatures: null,\n\t\tdescription: null,\n\t\tdetail_preservation: null,\n\t\teducation: null\n\t},\n\tgetters: {\n\t\tgetField,\n\t\tgetFeatures(state){\n\t\t\treturn state.features;\n\t\t}\n\t},\n\tmutations: {\n\t\tupdateField,\n\t\tsetFeatures(state, value){\n\t\t\tstate.features = value;\n\t\t}\n\t}\n}\n\nconst threat_of_loss = {\n\tnamespaced: true,\n\tstate: {\n\t\tthreat: null,\n\t\tdescription: null\n\t},\n\tgetters: {\n\t\tgetField,\n\t\tgetThreat(state){\n\t\t\treturn state.threat;\n\t\t}\n\t},\n\tmutations: {\n\t\tupdateField,\n\t\tsetThreat(state, value){\n\t\t\tstate.threat = value;\n\t\t}\n\t}\n}\n\nconst consistent_adopted_plans = {\n\tnamespaced: true,\n\tstate: {\n\t\tplans: [],\n\t\tother_plan: null,\n\t\tdescription: null,\n\t\tplanning_entity_support: null\n\t},\n\tgetters: {\n\t\tgetField,\n\t\tgetPlans(state){\n\t\t\treturn state.plans;\n\t\t}\n\t},\n\tmutations: {\n\t\tupdateField,\n\t\tsetPlans(state, value){\n\t\t\tstate.plans = value;\n\t\t}\n\t}\n}\n\nconst acquisition_ready = {\n\tnamespaced: true,\n\tstate: {\n\t\treadiness: null,\n\t\tprojected_timeline: null,\n\t\tover_six_month_description: null\n\t},\n\tgetters: {\n\t\tgetField,\n\t\tgetReadiness(state){\n\t\t\treturn state.readiness;\n\t\t}\n\t},\n\tmutations: {\n\t\tupdateField,\n\t\tsetReadiness(state, value){\n\t\t\tstate.readiness = value;\n\t\t}\n\t}\n}\n\nconst public_ready = {\n\tnamespaced: true,\n\tstate: {\n\t\treadiness: null,\n\t\tprojected_timeline: null,\n\t\tphase_completion_dates: null,\n\t\timmediate_use: null\n\t},\n\tgetters: {\n\t\tgetField,\n\t\tgetReadiness(state){\n\t\t\treturn state.readiness;\n\t\t}\n\t},\n\tmutations: {\n\t\tupdateField,\n\t\tsetReadiness(state, value){\n\t\t\tstate.readiness = value;\n\t\t}\n\t}\n}\n\nconst public_support = {\n\tnamespaced: true,\n\tstate: {\n\t\tis_public_support: null,\n\t\tsupport: [],\n\t\tdescription: null\n\t},\n\tgetters: {\n\t\tgetField,\n\t\tgetSupport(state){\n\t\t\treturn state.support;\n\t\t}\n\t},\n\tmutations: {\n\t\tupdateField,\n\t\tsetSupport(state, value){\n\t\t\tstate.support = value;\n\t\t}\n\t}\n}\n\nconst funding_leveraging = {\n\tnamespaced: true,\n\tstate: {\n\t\tfunding: null\n\t},\n\tgetters: {\n\t\tgetField,\n\t\tgetFunding(state){\n\t\t\treturn state.funding;\n\t\t}\n\t},\n\tmutations: {\n\t\tupdateField,\n\t\tsetFunding(state, value){\n\t\t\tstate.funding = value;\n\t\t}\n\t}\n}\n\nconst project_management = {\n\tnamespaced: true,\n\tstate: {\n\t\tmanagement: [],\n\t\tmaintenance_staff_description: null,\n\t\tfunding_security: null,\n\t\tfinancial_staff_description: null\n\t},\n\tgetters: {\n\t\tgetField,\n\t\tgetManagement(state){\n\t\t\treturn state.management;\n\t\t}\n\t},\n\tmutations: {\n\t\tupdateField,\n\t\tsetManagement(state, value){\n\t\t\tstate.management = value;\n\t\t}\n\t}\n}\n\nconst partnership_coordination = {\n\tnamespaced: true,\n\tstate: {\n\t\tpartner_list: null,\n\t\tpartner_roles: null,\n\t\tgreenspace_conservation: null,\n\t},\n\tgetters: {\n\t\tgetField\n\t},\n\tmutations: {\n\t\tupdateField\n\t}\n}\n\nconst return_investment = {\n\tnamespaced: true,\n\tstate: {\n\t\tinvestment_returns: [],\n\t\tother_description: null,\n\t\tdescription: null\n\t},\n\tgetters: {\n\t\tgetField,\n\t\tgetInvestmentReturns(state){\n\t\t\treturn state.investment_returns;\n\t\t}\n\t},\n\tmutations: {\n\t\tupdateField,\n\t\tsetInvestmentReturns(state, value){\n\t\t\tstate.investment_returns = value;\n\t\t}\n\t}\n}\n\nconst additional_information = {\n\tnamespaced: true,\n\tstate: {\n\t\tinformation: null\n\t},\n\tgetters: {\n\t\tgetField\n\t},\n\tmutations: {\n\t\tupdateField\n\t}\n}\n\nconst limits = {\n\tnamespaced: true,\n\tstate: {\n\t\teasement_draft: null,\n\t\tdraft_restrictions: null\n\t},\n\tgetters: {\n\t\tgetField\n\t},\n\tmutations: {\n\t\tupdateField\n\t}\n}\n\nexport const criteria = {\n\tnamespaced: true,\n\tmodules: {\n\t\tdefinition,\n\t\tvision,\n\t\tsystem_components,\n\t\tpublic_access,\n\t\tprotection_wildlife,\n\t\tprotection_natural_resources,\n\t\thistory_culture,\n\t\tthreat_of_loss,\n\t\tconsistent_adopted_plans,\n\t\tacquisition_ready,\n\t\tpublic_ready,\n\t\tpublic_support,\n\t\tfunding_leveraging,\n\t\tproject_management,\n\t\tpartnership_coordination,\n\t\treturn_investment,\n\t\tlimits,\n\t\tadditional_information\n\t}\n}\n","import * as modules from './modules.js';\nimport { criteria } from './criteria.js';\nimport { generateStatusArray, generateComponentArray} from './helpers';\n\nexport const sections = [\n\t{\n\t\tdisplay: \"Project\",\n\t\tstore_key: \"project_information\",\n\t\tcomponent: () => import('@/js/forms/funding-request/Project-Information')\n\t},\n\t{\n\t\tdisplay: \"Applicant\",\n\t\tstore_key: \"applicant_information\",\n\t\tcomponent: () => import('@/js/forms/funding-request/Applicant-Information')\n\t},\n\t{\n\t\tdisplay: \"Property\",\n\t\tstore_key: \"property_information\",\n\t\tcomponent: () => import('@/js/forms/funding-request/Property-Information')\n\t},\n\t{\n\t\tdisplay: \"Acquisition\",\n\t\tstore_key: \"acquisition_information\",\n\t\tcomponent: () => import('@/js/forms/funding-request/Acquisition-Information')\n\t},\n\t{\n\t\tdisplay: \"Market Value\",\n\t\tstore_key: \"fair_market_value\",\n\t\tcomponent: () => import('@/js/forms/funding-request/Fair-Market-Value')\n\t},\n\t{\n\t\tdisplay: \"Budget\",\n\t\tstore_key: \"project_budget\",\n\t\tcomponent: () => import('@/js/forms/funding-request/project-budget/')\n\t},\n\t{\n\t\tdisplay: \"Criteria\",\n\t\tstore_key: \"project_criteria\",\n\t\tcomponent: () => import('@/js/forms/funding-request/project-criteria/')\n\t},\n\t{\n\t\tdisplay: \"Attachments\",\n\t\tstore_key: \"attachments\",\n\t\tcomponent: () => import('@/js/forms/funding-request/Attachments')\n\t},\n\t{\n\t\tdisplay: \"Agreement\",\n\t\tstore_key: \"agreement\",\n\t\tcomponent: () => import('@/js/forms/funding-request/Agreement')\n\t}\n];\n\nexport const status_array = generateStatusArray(sections);\nexport const component_array = generateComponentArray(sections);\n\nexport default {\n\t...modules,\n\tcriteria\n}\n","module.exports = function (it) {\n if (typeof it != 'function') {\n throw TypeError(String(it) + ' is not a function');\n } return it;\n};\n","'use strict';\nvar fails = require('../internals/fails');\n\nmodule.exports = function (METHOD_NAME, argument) {\n var method = [][METHOD_NAME];\n return !!method && fails(function () {\n // eslint-disable-next-line no-useless-call,no-throw-literal -- required for testing\n method.call(null, argument || function () { throw 1; }, 1);\n });\n};\n","var aFunction = require('../internals/a-function');\nvar toObject = require('../internals/to-object');\nvar IndexedObject = require('../internals/indexed-object');\nvar toLength = require('../internals/to-length');\n\n// `Array.prototype.{ reduce, reduceRight }` methods implementation\nvar createMethod = function (IS_RIGHT) {\n return function (that, callbackfn, argumentsLength, memo) {\n aFunction(callbackfn);\n var O = toObject(that);\n var self = IndexedObject(O);\n var length = toLength(O.length);\n var index = IS_RIGHT ? length - 1 : 0;\n var i = IS_RIGHT ? -1 : 1;\n if (argumentsLength < 2) while (true) {\n if (index in self) {\n memo = self[index];\n index += i;\n break;\n }\n index += i;\n if (IS_RIGHT ? index < 0 : length <= index) {\n throw TypeError('Reduce of empty array with no initial value');\n }\n }\n for (;IS_RIGHT ? index >= 0 : length > index; index += i) if (index in self) {\n memo = callbackfn(memo, self[index], index, O);\n }\n return memo;\n };\n};\n\nmodule.exports = {\n // `Array.prototype.reduce` method\n // https://tc39.es/ecma262/#sec-array.prototype.reduce\n left: createMethod(false),\n // `Array.prototype.reduceRight` method\n // https://tc39.es/ecma262/#sec-array.prototype.reduceright\n right: createMethod(true)\n};\n","export function generateStatusArray(sections){\n\tconst status_array = {};\n\tsections.forEach( section => {\n\t\tstatus_array[section.store_key] = null;\n\t})\n\treturn status_array;\n}\n\nexport function generateComponentArray(sections){\n\treturn sections\n\t.filter( ({ store_key }) => store_key !== 'attachments' ) // Print view does not need to display attachments\n\t.map( ({ component }) => component );\n}\n"],"sourceRoot":""}