1import{connect as p}from"./redux-core-chunk-DgWMjMkF.js";import{fetchPayrollInfo as i,enrollEntityInExperiment as y,updateCompanyPayrollState as c,browserHistory as a}from"./app-init-chunk-Cf9dEl-y.js";import{selectUnstructuredSwitcherTaxes as u,selectPreviousPayrollProvider as f,selectAccountantCooperation as b,selectPayrollCompanyType as m,useStartPayrollLinearFlowSetup as _}from"./hooks-chunk-BGXrV7gm.js";import"./react-core-chunk-B2r03cU8.js";try{(function(){var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="0c8976b0-cd84-4bb5-9dcb-35aae2bafa36",e._sentryDebugIdIdentifier="sentry-dbid-0c8976b0-cd84-4bb5-9dcb-35aae2bafa36")})()}catch{}const P=({fetchPayrollInfo:e,onEnroll:t,payrollCompanyType:l,updateCompanyPayrollState:n})=>{const{startPayrollLinearFlowSetup:s}=_({setIsLoading:()=>{},payrollCompanyType:l,updateCompanyPayrollState:n,onEnroll:t});e().then(r=>{const{payroll_state:d}=r.payload.payroll_setup_info||{},o=r.payload?.linear_flow_start_step_data?.current_required_step;o==="start"?s():o&&["started_transfer","implementation"].includes(d)?a.push(`/payroll/setup/${o}`):a.push("/payroll")})},S=p(e=>({payrollCompanyType:m(e),accountantCooperation:b(e),previousPayrollProvider:f(e),unstructuredSwitcherTaxes:u(e)}),{updateCompanyPayrollState:c,onEnroll:y,fetchPayrollInfo:i})(P);export{P as EmbeddedController,S as default}; 2//# sourceMappingURL=EmbeddedController-chunk-C5bXtSqe.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.