import{aw as e,j as r,az as s,ax as t}from"./app-BgLa5dit.js";import{S as n}from"./DPWqkAZK.chunk.js";import{C as m}from"./CE2zsy03.chunk.js";import{C as d}from"./xRXwFbQr.chunk.js";import{C as l}from"./YSGwxiQJ.chunk.js";import{a as p}from"./CmeGmsFm.chunk.js";import{C as c}from"./BO07ARJN.chunk.js";import"./BSa28HTr.chunk.js";import"./EZim8aq-.chunk.js";import"./-hEPHVQE.chunk.js";import"./Zwjmkasg.chunk.js";import"./CsH2Nu4a.chunk.js";import"./DJ0pq8J_.chunk.js";import"./CCcwLDvu.chunk.js";import"./DDfKZ_ng.chunk.js";import"./C9Rwpp7a.chunk.js";import"./Bs6fQ2wT.chunk.js";import"./BUT90D7O.chunk.js";import"./C1fMRwzQ.chunk.js";import"./DBvERro4.chunk.js";import"./uachN0F4.chunk.js";import"./u6fIQ8Ti.chunk.js";function u(){const o=e(),i=o.values.organisationChecked&&o.errors.organisation&&o.touched.organisation;return r.jsxs("div",{className:"crm-studio-wizard-form",children:[r.jsx(l,{}),r.jsx("h1",{className:"mb-3",children:"Is the customer part of an organisation?"}),r.jsxs(s,{children:[r.jsx(t,{type:"radio",checkboxLabelFontWeight:"normal",name:"organisationChecked",id:"organisationChecked",children:()=>r.jsx("div",{className:"d-flex",children:r.jsx(d,{fieldName:"organisationChecked",onSelectNo:()=>{o.setValues({...o.values,organisationChecked:!1,organisation:null,orgId:null})}})})}),r.jsx(n,{onSelect:a=>o.setFieldValue("orgId",a.id)}),i&&r.jsx(m,{errorMessage:o.errors.organisation})]})]})}function P(o){return r.jsx(c,{queryParams:o.queryParams,currentStepId:p.CUSTOMER_ORGANISATION,children:r.jsx(u,{})})}export{P as CustomerWizardOrganisationView};
//# sourceMappingURL=BP88iAk0.chunk.js.map
