"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t=require("lodash"),e=require("../constants/goals.js"),n=require("../constants/segment.js");function o(o,r){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:n.SEGMENTS.DRILLING;return t.get(o,"".concat(r,".").concat(a,".").concat(e.GOAL_TYPES_DICT.company.key))}function r(o,r,a){var c=arguments.length>3&&void 0!==arguments[3]?arguments[3]:n.SEGMENTS.DRILLING;return t.get(o,"".concat(r,".").concat(c,".").concat(e.GOAL_TYPES_DICT.program.key,".").concat(a))}exports.getCompanyGoalSetting=o,exports.getPriorityGoalSetting=function(t,e,a){var c=arguments.length>3&&void 0!==arguments[3]?arguments[3]:n.SEGMENTS.DRILLING,i=r(t,e,a,c),s=o(t,e,c);return Number.isFinite(i)?i:s},exports.getProgramGoalSetting=r;
