"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("@babel/runtime/helpers/toConsumableArray"),t=require("lodash");require("../../utils/index.js");var a=require("../../utils/metrics/metricsConfig.js");function l(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var i=l(e),o=a,r=[o.mud_type.key],n={status:"status",company:"companyId",rig:"rigName",program:"programName",basin:"basin",county:"county",area:"area",formation:"formation",stringDesign:"stringDesign",interventionAsset:"interventionAsset",padName:"padName",radius:"radius",period:"period",sideTracks:"sideTracks",drillingWells:"drillingWells",activeInterventionWells:"activeInterventionWells",timeRangeFrom:"timeRangeFrom",timeRangeTo:"timeRangeTo"},s=[{value:n.company,label:"Company"},{value:n.program,label:"Program/BU"},{value:n.rig,label:"Rig"},{value:n.basin,label:"Basin"},{value:n.county,label:"County"},{value:n.area,label:"Area"},{value:n.formation,label:"Target Formation"},{value:n.stringDesign,label:"String Design"},{value:n.interventionAsset,label:"Intervention Asset"},{value:n.padName,label:"Pad"},{value:n.status,label:"Status"}],p={unknown:"unknown",idle:"idle",active:"active",paused:"paused",complete:"complete"},m=[{value:p.unknown,color:"#FFFFFF"},{value:p.idle,color:"#ADADFF"},{value:p.active,color:"#A8FF3D"},{value:p.paused,color:"#FFF66C"},{value:p.complete,color:"#76C2FF"}],d={name:"name",status:"status",company:"companyName",rig:"rigName",interventionAsset:"interventionAsset",padName:"padName",formation:"formation",distance:"distance",taScore:"TA",lastActive:"lastActive",metrics:"metrics",wellSection:"wellSection"},u=[{type:d.name,label:"Well Name",key:d.name,minWidth:[280,197,197,186],flex:3},{type:d.status,label:"",key:d.status,minWidth:[40,40,40,30],flex:0},{type:d.company,label:"Company",key:d.company,minWidth:[180,140,140,93],flex:2},{type:d.interventionAsset,label:"Intervention Asset",key:d.interventionAsset,minWidth:[200,150,150,100],flex:2},{type:d.padName,label:"Pad",key:d.padName,minWidth:[160,130,130,90],flex:1.5},{type:d.formation,label:"Formation",key:d.formation,minWidth:[160,130,130,90],flex:1.5},{type:d.rig,label:"Rig",key:d.rig,minWidth:[220,140,140,93],flex:2},{type:d.distance,label:"Distance",key:d.distance,minWidth:[160,160,122,93],flex:1},{type:d.taScore,label:"TA",key:d.taScore,minWidth:[90,90,75,70],flex:1},{type:d.lastActive,label:"Last Active",key:d.lastActive,minWidth:[140,140,108,98],flex:1.5},{type:d.metrics,label:"",key:"",minWidth:[0,212,141,141],flex:2},{type:d.wellSection,label:"Well Section",key:d.wellSection,minWidth:[180,131,131,97],flex:1.5}],c=t.sortBy([o.hole_depth,o.hole_depth_change,o.hole_depth_change_lateral,o.drilled_feet_rotary,o.drilled_feet_slide,o.rop_gross,o.rop,o.rop_rotary,o.rop_slide,o.drilled_feet_rotary_percentage,o.drilled_feet_slide_percentage,o.on_bottom_percentage,o.cost_per_ft,o.cost_per_lat_ft,o.feet_per_day,o.target_formation,o.mud_type,o.total_time].concat(i.default("production"!==process.env.REACT_APP_ENVIRONMENT?[o.npt,o.circulating_time,o.spud_to_rig_release_time,o.spud_to_total_depth_time]:[])),"label");exports.ALL_SECTION_KEY="all",exports.ALL_SECTION_LABEL="All",exports.COMPANY_PROVIDERS_FOR_IDAS=["xto"],exports.ColumnType=d,exports.DEFAULT_RADIUS_KM=40,exports.DEFAULT_RADIUS_MILES=25,exports.EXPANDED_WELL_NAME_WIDTH=450,exports.FilterOptions=s,exports.FilterType=n,exports.LEAVE_TOUCH_DELAY=1e4,exports.MAX_METRICS_COUNT=3,exports.METRICS_LIST=c,exports.NonConvertableMetrics=r,exports.OBJECTIVE_PERIOD_LIST=[{value:"all",label:"All"},{value:"last12h",label:"Last 12 hrs"},{value:"last24h",label:"Last 24 hrs"},{value:"last7d",label:"Last 7 days"},{value:"lastMonth",label:"Last Month"},{value:"custom",label:"Custom"}],exports.ROWS_PER_PAGE=50,exports.StatusOptions=m,exports.TableColumns=u,exports.WellSectionColors=["#6EACFF","#69B919","#E95DAF","#A77DFF","#77FFC1","#018EFE","#FF5D7E","#B9E310","#FFD111","#24BB8E","#C426F3"],exports.WellStatus=p;
//# sourceMappingURL=constants.js.map
