import t from"@babel/runtime/helpers/defineProperty";import{get as e,isEmpty as r}from"lodash";import{getStageSummary as o}from"../../../../../../utils/StageDesignVActualUtils.js";function n(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,o)}return r}function i(e){for(var r=1;r<arguments.length;r++){var o=null!=arguments[r]?arguments[r]:{};r%2?n(Object(o),!0).forEach((function(r){t(e,r,o[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):n(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var p=function(t,n,p){var a,l,u={top_perforation:null===(a=t.data)||void 0===a?void 0:a.top_perforation,bottom_perforation:null===(l=t.data)||void 0===l?void 0:l.bottom_perforation,perforated_length:0,total_shots:0,flush_volume:0,fluids:{},chemicals:{},proppants:{}},s=i(i({},p),{},{flush_volume_design:e(p,"flush_volume","flush_volume_design")});return{actualSummary:!r(t)&&o(u,t),designSummary:!r(n)&&o(u,n),predictionSummary:s}};export{p as getSummaries};
//# sourceMappingURL=utils.js.map
