/* Hayes Global Mobility — UI kit: Application page */ (function () { const NS = window.HayesGlobalMobilityDesignSystem_489ece; const { SectionHeading, Input, Select, Checkbox, Button, Badge } = NS; const wrap = { maxWidth: 'var(--container-max)', margin: '0 auto', padding: '0 40px' }; function Apply({ onNavigate }) { const [sent, setSent] = React.useState(false); const [name, setName] = React.useState(''); const sectionTitle = (n, t) => (
{n}

{t}

); return (
{React.createElement(window.HayesPageHeader, { eyebrow: 'Get Started', title: 'Start Your Application', sub: 'Complete the form below and a Hayes advisor will contact you within one business day to map out your next steps.', })}
{sent ? (

Application received{name ? `, ${name.split(' ')[0]}` : ''}!

Thank you. A Hayes advisor will review your details and reach out within one business day.

) : (
{ window.hayesSubmit(e, 'New Application — Hayes Global Mobility'); setSent(true); window.scrollTo({ top: 0 }); }} style={{ display: 'flex', flexDirection: 'column', gap: 18 }}> {sectionTitle(1, 'About You')}
setName(e.target.value)} />
{sectionTitle(2, 'What You Need')}
{sectionTitle(3, 'Confirm')} )}
); } window.HayesApply = Apply; })();