import e from"@babel/runtime/helpers/defineProperty";import t from"@babel/runtime/helpers/toConsumableArray";import{sortBy as a}from"lodash";import"../../utils/index.js";import*as l from"../../utils/metrics/metricsConfig.js";var i,o=800,r=650,s={none:"none",normal:"normal",small:"small screen",tablet:"tablet",mobile:"mobile"},n=1e3,p=50,_=50,m="Android",d="iOS",c="Window Phone",u="other",g="all",b="All",v=450,h=50,y=60,F=1e4,w=l,f={status:"status",rig:"rigName",program:"programName",basin:"basin",county:"county",area:"area",formation:"formation",stringDesign:"stringDesign",radius:"radius",period:"period",sideTracks:"sideTracks",timeRangeFrom:"timeRangeFrom",timeRangeTo:"timeRangeTo"},A=[{value:f.rig,label:"Rig"},{value:f.program,label:"Program/BU"},{value:f.basin,label:"Basin"},{value:f.county,label:"County"},{value:f.area,label:"Area"},{value:f.formation,label:"Target Formation"},{value:f.stringDesign,label:"String Design"}],E={unknown:"unknown",idle:"idle",active:"active",paused:"paused",complete:"complete"},k=[{value:E.unknown,color:"#9E9E9E"},{value:E.idle,color:"#BDBDBD"},{value:E.active,color:"#95F126"},{value:E.paused,color:"#FFF350"},{value:E.complete,color:"#2196F3"}],D={name:"name",status:"status",rig:"rigName",distance:"distance",lastActive:"lastActive",metrics:"metrics",wellSection:"wellSection"},B=[{type:D.name,label:"Well Name",key:D.name,width:[280,197,197,186]},{type:D.status,label:"",key:D.status,width:[40,40,40,30]},{type:D.rig,label:"Rig",key:D.rig,width:[220,140,140,93]},{type:D.distance,label:"Distance",key:D.distance,width:[160,160,122,93]},{type:D.lastActive,label:"Last Active",key:D.lastActive,width:[140,140,108,98]},{type:D.metrics,label:"",key:"",width:[0,212,141,141]},{type:D.wellSection,label:"Well Section",key:D.wellSection,width:[180,131,131,97]}],C=[{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"}],R=3,N=a([w.weight_to_weight_average,w.bottom_to_slips_average,w.drilling_connection_average,w.slips_to_bottom_average,w.hole_depth,w.hole_depth_change,w.drilled_feet_rotary,w.drilled_feet_slide,w.rop_gross,w.rop,w.rop_rotary,w.rop_slide,w.drilled_feet_rotary_percentage,w.drilled_feet_slide_percentage,w.on_bottom_percentage,w.on_bottom_time,w.cost_per_ft,w.cost_per_lat_ft,w.feet_per_day,w.tripping_in_speed_cased,w.tripping_in_speed_open,w.tripping_in_speed,w.tripping_out_speed_cased,w.tripping_out_speed_open,w.tripping_out_speed].concat(t("production"!==process.env.REACT_APP_ENVIRONMENT?[w.npt,w.circulating_time,w.spud_to_rig_release_time,w.spud_to_total_depth_time]:[])),"label"),S=["#6EACFF","#69B919","#E95DAF","#A77DFF","#77FFC1","#018EFE","#FF5D7E","#B9E310","#FFD111","#24BB8E","#C426F3"],T=(e(i={},s.small,0),e(i,s.mobile,52),e(i,s.none,48),e(i,s.tablet,48),e(i,s.normal,48),i),L="hole_depth_change";export{g as ALL_SECTION_KEY,b as ALL_SECTION_LABEL,m as ANDROID_DEVICE,D as ColumnType,p as DEFAULT_BIC_OFFSET_SIZE,_ as DEFAULT_LOCAL_OFFSET_SIZE,L as DEFAULT_METRICS_KEY,v as EXPANDED_WELL_NAME_WIDTH,A as FilterOptions,f as FilterType,d as IOS_DEVICE,F as LEAVE_TOUCH_DELAY,R as MAX_METRICS_COUNT,n as MAX_OFFSET_SIZE,N as METRICS_LIST,C as OBJECTIVE_PERIOD_LIST,u as OTHER_DEVICE,h as ROWS_PER_PAGE,y as ROW_HEIGHT,o as SMALL_SCREEN_HEIGHT,r as SMALL_SCREEN_WIDTH,k as StatusOptions,T as TOP_GRADIENT_MAP,B as TableColumns,s as ViewType,c as WINDOWS_PHONE,S as WellSectionColors,E as WellStatus};
