var N=(I=>(I.PYSPARK="PYSPARK",I.SPARK="SPARK",I.FLINK="FLINK",I.PYTHON="PYTHON",I.PYTHON_APP="PYTHON_APP",I.RAY="RAY",I.INGESTION="INGESTION",I.AGENT="AGENT",I))(N||{});const G={PYSPARK:"spark",SPARK:"spark",PYTHON:"python",PYTHON_APP:"pythonapp",RAY:"ray"};var E=(I=>(I.SPARK="sparkJobConfiguration",I.PYTHON="pythonJobConfiguration",I.PYTHON_APP="pythonAppJobConfiguration",I.RAY="rayJobConfiguration",I.INGESTION="ingestionJobConfiguration",I.AGENT="agentJobConfiguration",I))(E||{}),R=(I=>(I.STREAMLIT="STREAMLIT",I.CUSTOM="CUSTOM",I))(R||{}),T=(I=>(I.EXACT="EXACT",I.PREFIX="PREFIX",I))(T||{}),A=(I=>(I.FAILED="FAILED",I.APP_MASTER_START_FAILED="APP_MASTER_START_FAILED",I.INITIALIZING="INITIALIZING",I.INITIALIZATION_FAILED="INITIALIZATION_FAILED",I.FINISHED="FINISHED",I.RUNNING="RUNNING",I.ACCEPTED="ACCEPTED",I.NEW="NEW",I.KILLED="KILLED",I.NEW_SAVING="NEW_SAVING",I.SUBMITTED="SUBMITTED",I.AGGREGATING_LOGS="AGGREGATING_LOGS",I.FRAMEWORK_FAILURE="FRAMEWORK_FAILURE",I.STARTING_APP_MASTER="STARTING_APP_MASTER",I.GENERATING_SECURITY_MATERIAL="GENERATING_SECURITY_MATERIAL",I.CONVERTING_NOTEBOOK="CONVERTING_NOTEBOOK",I))(A||{});const O=["RUNNING","INITIALIZING","ACCEPTED","AGGREGATING_LOGS","GENERATING_SECURITY_MATERIAL"];var _=(I=>(I.NONE="NONE",I.PAGE_NUMBER="PAGE_NUMBER",I.OFFSET="OFFSET",I.JSON_CURSOR="JSON_CURSOR",I.HEADER_CURSOR="HEADER_CURSOR",I.JSON_LINK="JSON_LINK",I.HEADER_LINK="HEADER_LINK",I.SINGLE_PAGE="SINGLE_PAGE",I))(_||{}),L=(I=>(I.FULL_LOAD="FULL_LOAD",I.INCREMENTAL_ID="INCREMENTAL_ID",I.INCREMENTAL_TIMESTAMP="INCREMENTAL_TIMESTAMP",I.INCREMENTAL_DATE="INCREMENTAL_DATE",I))(L||{});const P=I=>[A.FRAMEWORK_FAILURE,A.APP_MASTER_START_FAILED,A.INITIALIZATION_FAILED].includes(I.state)?{...I,finalStatus:A.FAILED}:I;export{A as E,E as F,O as I,N as J,L,_ as P,R as a,T as b,G as j,P as u};
