1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1813],{81813:function(e,t,n){n.d(t,{Z:function(){return q}});var r=n(57437),i=n(2265),a=n(54887),s=n(9818),l=n(43929),o=n(56912),u=n(41494),c=n(17059),d=n(19105),h=n(83400),m=n(24742),f=n(83629),x=n(49891),p=n(78272),g=n(55169);let b=["Less than 1 year","1 year","2 years","3 years","4 years","5 years","6 years","7 years","8 years","9 years","10 years","11-15 years","16-20 years","20+ years"],v=["Working","Student","Not working"],y=["Referral","LinkedIn","Instagram","Google Search","Friend/Colleague","Other"];function k(){return(0,r.jsx)("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none","aria-hidden":"true",children:(0,r.jsx)("path",{d:"M4 2h3l1.5 4-2 1a8 8 0 0 0 4.5 4.5l1-2 4 1.5v3a1 1 0 0 1-1 1A12 12 0 0 1 3 3a1 1 0 0 1 1-1z",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})}function j(){return(0,r.jsx)("svg",{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none","aria-hidden":"true",children:(0,r.jsx)("path",{d:"M3.5 3.5l7 7m0-7l-7 7",stroke:"currentColor",strokeWidth:"1.8",strokeLinecap:"round"})})}function w(){return(0,r.jsxs)("svg",{width:"18",height:"18",viewBox:"0 0 24 24",fill:"none","aria-hidden":"true",children:[(0,r.jsx)("path",{d:"M20.5 12a8.5 8.5 0 0 1-12.6 7.4L3 21l1.6-4.7A8.5 8.5 0 1 1 20.5 12z",stroke:"currentColor",strokeWidth:"1.6",strokeLinecap:"round",strokeLinejoin:"round"}),(0,r.jsx)("path",{d:"M9 9.5c.4 1.2 1.3 2.6 2.4 3.7 1.1 1.1 2.5 2 3.7 2.4.5.2 1 0 1.2-.4l.4-.7c.2-.3.1-.7-.2-.9l-1.4-1c-.3-.2-.6-.2-.9 0l-.4.3a6 6 0 0 1-2.6-2.6l.3-.4c.2-.3.2-.6 0-.9l-1-1.4c-.2-.3-.6-.4-.9-.2l-.7.4c-.4.2-.6.7-.4 1.2z",fill:"currentColor"})]})}function N(){return(0,r.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none","aria-hidden":"true",children:(0,r.jsx)("path",{d:"M3 8h10m0 0l-4-4m4 4l-4 4",stroke:"currentColor",strokeWidth:"1.8",strokeLinecap:"round",strokeLinejoin:"round"})})}function S(){return(0,r.jsx)("svg",{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none","aria-hidden":"true",children:(0,r.jsx)("path",{d:"M9 3L5 7l4 4",stroke:"currentColor",strokeWidth:"1.8",strokeLinecap:"round",strokeLinejoin:"round"})})}function C(){return(0,r.jsx)("svg",{"aria-hidden":"true",width:"10",height:"10",viewBox:"0 0 10 10",className:"pointer-events-none absolute right-3 top-1/2 -translate-y-1/2 text-ink-900/70",children:(0,r.jsx)("path",{d:"M2 3.5l3 3 3-3",stroke:"currentColor",strokeWidth:"1.4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"})})}function R(e){let{id:t,label:n,index:i,value:a,placeholder:s,options:l,onChange:o}=e;return(0,r.jsxs)("div",{children:[(0,r.jsxs)("label",{htmlFor:t,className:"flex items-baseline gap-2",children:[(0,r.jsxs)("span",{className:"text-[10px] font-bold text-brand-600",children:[i,"."]}),(0,r.jsx)("span",{className:"text-[13px] font-semibold text-ink-900",children:n})]}),(0,r.jsxs)("div",{className:"relative mt-2",children:[(0,r.jsxs)("select",{id:t,value:a,onChange:e=>o(e.target.value),className:"h-11 w-full cursor-pointer appearance-none rounded-xl bg-warm-50 px-4 pr-9 text-[13px] font-medium ring-1 ring-black/5 transition focus:bg-white focus:outline-none focus:ring-2 focus:ring-brand-400 "+(a?"text-ink-900":"text-ink-900/70"),children:[(0,r.jsx)("option",{value:"",disabled:!0,children:s}),l.map(e=>(0,r.jsx)("option",{value:e,style:{color:"#1f2937"},children:e},e))]}),(0,r.jsx)(C,{})]})]})}function I(e){let{label:t,index:n,value:i,options:a,onSelect:s}=e;return(0,r.jsxs)("div",{children:[(0,r.jsxs)("div",{className:"flex items-baseline gap-2",children:[(0,r.jsxs)("span",{className:"text-[10px] font-bold text-brand-600",children:[n,"."]}),(0,r.jsx)("h3",{className:"text-[13px] font-semibold text-ink-900",children:t})]}),(0,r.jsx)("div",{className:"mt-2 flex flex-wrap gap-1.5",children:a.map(e=>{let t=i===e;return(0,r.jsx)("button",{type:"button",onClick:()=>s(e),className:"rounded-full px-3 py-1.5 text-[11px] font-semibold transition duration-300 ease-[cubic-bezier(0.2,0.8,0.2,1)] focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-brand-400 "+(t?"bg-brand-50 text-brand-700 ring-2 ring-brand-500":"bg-warm-50 text-ink-900/75 ring-1 ring-black/5 hover:-translate-y-0.5 hover:ring-black/15"),children:e},e)})})]})}function T(e){let{id:t,label:n,index:i,value:a,placeholder:s,onChange:l,type:o="text",inputMode:u}=e;return(0,r.jsxs)("div",{children:[(0,r.jsxs)("label",{htmlFor:t,className:"flex items-baseline gap-2",children:[(0,r.jsxs)("span",{className:"text-[10px] font-bold text-brand-600",children:[i,"."]}),(0,r.jsx)("span",{className:"text-[13px] font-semibold text-ink-900",children:n})]}),(0,r.jsx)("input",{id:t,type:o,inputMode:u,value:a,placeholder:s,onChange:e=>l(e.target.value),className:"mt-2 h-11 w-full rounded-xl bg-warm-50 px-4 text-[13px] font-medium text-ink-900 placeholder:text-ink-900/70 ring-1 ring-black/5 transition focus:bg-white focus:outline-none focus:ring-2 focus:ring-brand-400"})]})}function q(e){let{open:t,onClose:n,defaultLead:C=null,source:q="qualifier",embedded:L=!1,onComplete:W=null}=e,E=(0,p.BJ)(),[O,U]=(0,i.useState)(0),[A,P]=(0,i.useState)(o.mi),B=(0,i.useRef)(A);B.current=A;let J=(0,i.useRef)(!1),z=(0,i.useCallback)(async e=>{let t=(e||"").trim();if(!/^\S+@\S+\.\S+$/.test(t)||(0,o.hX)(B.current,t)||B.current.status===o.me.Required&&(B.current.subject||"").toLowerCase()===t.toLowerCase())return;let n=(0,o.XG)(B.current,t);P(n);let r=n.seq,i=null,a=null;try{let e=await fetch("".concat(s.T5,"/api/v1/public/leads/email-risk"),{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({email:t,flow:"consultation",...E.fields()})});i=await e.json().catch(()=>({})),e.ok||(a=(0,o.Vu)(e.status,i),i=null)}catch(e){i=null}a&&(0,o.lI)(B.current,{seq:r,email:t})&&eu(a),P(e=>(0,o.lI)(e,{seq:r,email:t})?i?i.verificationRequired?(0,o.NN)(e,{email:t,...i}):(0,o.zW)(e,t):(0,o.Bj)(e,a):e)},[E]);async function M(e){let t=V.trim();P(e=>(0,o.eC)(e));try{let n=await fetch("".concat(s.T5,"/api/v1/public/leads/verify-email"),{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({challengeId:B.current.challengeId,code:e,...E.fields()})}),r=await n.json().catch(()=>({}));if(!n.ok){P(e=>{var t;return(0,o.Wf)(e,null!==(t=null==r?void 0:r.error)&&void 0!==t?t:r)});return}P(e=>(0,o.cd)(e,{email:r.email||t,token:r.emailVerificationToken}))}catch(e){P(e=>(0,o.Wf)(e,{code:"NETWORK"}))}}let[_,F]=(0,i.useState)((null==C?void 0:C.name)||""),[V,Z]=(0,i.useState)((null==C?void 0:C.email)||""),[D,K]=(0,i.useState)((null==C?void 0:C.mobile)||""),[H,X]=(0,i.useState)(!1),[Y,G]=(0,i.useState)(!1),[$,Q]=(0,i.useState)(""),[ee,et]=(0,i.useState)(h.Qx),en=(0,m.d)(),er=(0,i.useRef)(!1);(0,i.useEffect)(()=>{null!=C&&C.country||er.current||et((0,h.fs)())},[]);let[ei,ea]=(0,i.useState)({}),[es,el]=(0,i.useState)(""),[eo,eu]=(0,i.useState)(""),[ec,ed]=(0,i.useState)(!1),[eh,em]=(0,i.useState)(!1);(0,i.useEffect)(()=>em(!0),[]);let ef=(0,i.useRef)(null);(0,i.useEffect)(()=>{ef.current=(0,u.u1)()},[]),(0,i.useEffect)(()=>
1{if(t&&!C)try{let e=window.sessionStorage.getItem("smartImmigrant.lead");if(e){let t=JSON.parse(e);if((null==t?void 0:t.name)&&!_&&F(t.name),(null==t?void 0:t.smsConsent)===!0&&X(!0),(null==t?void 0:t.smsMarketingConsent)===!0&&G(!0),(null==t?void 0:t.email)&&!V&&Z(t.email),(null==t?void 0:t.mobile)&&!D&&en&&!er.current){let e=(0,h.XQ)(t.mobile,en);e.country&&et(e.country),e.national&&K(e.national)}}}catch(e){}},[t,en]),(0,i.useEffect)(()=>{if(t)return;let e=setTimeout(()=>{U(0),eu(""),ea({}),Q(""),ed(!1),ex.current={lastKey:"",commitRequest:null,abandonSent:!1}},280);return()=>clearTimeout(e)},[t]),(0,f.I)(t&&!ec&&!L,{onEscape:()=>{var e;return null===(e=eg.current)||void 0===e?void 0:e.call(eg)}}),(0,i.useEffect)(()=>{if(!t)return;let e=()=>{var e;return null===(e=eb.current)||void 0===e?void 0:e.call(eb,"abandoned-unload")};return window.addEventListener("pagehide",e),()=>window.removeEventListener("pagehide",e)},[t]);let ex=(0,i.useRef)({lastKey:"",commitRequest:null,abandonSent:!1}),ep=(0,i.useRef)(!1),eg=(0,i.useRef)(null),eb=(0,i.useRef)(null);function ev(){let e="Other"===ei.heardAboutUs&&es.trim()?"Other: ".concat(es.trim()):ei.heardAboutUs;return{...ei,...e?{heardAboutUs:e}:{},linkedin:$.trim()||void 0}}let[ey,ek]=(0,i.useState)(o.rC);async function ej(){ek(o.MY);try{let e=await fetch("".concat(s.T5,"/api/v1/public/leads/verify"),{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({challengeId:ey.challengeId,code:ey.code,...E.fields()})}),t=await e.json().catch(()=>({}));if(!e.ok){ek(e=>{var n;return(0,o.VD)(e,null!==(n=null==t?void 0:t.error)&&void 0!==n?n:t)});return}ek((0,o.rC)()),eN()}catch(e){ek(e=>(0,o.VD)(e,{code:"NETWORK"}))}}async function ew(){ek(e=>({...e,busy:!0,error:null}));try{let e=await fetch("".concat(s.T5,"/api/v1/public/leads/verify/resend"),{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({challengeId:ey.challengeId,...E.fields()})}),t=await e.json().catch(()=>({}));if(!e.ok){ek(e=>{var n;return(0,o.VD)(e,null!==(n=null==t?void 0:t.error)&&void 0!==n?n:t)});return}ek(e=>(0,o.HU)(e,t))}catch(e){ek(e=>(0,o.VD)(e,{code:"NETWORK"}))}}function eN(){"Student"!==ei.status&&"Not working"!==ei.status&&(ei.company||"").trim()&&function(e){let t=(e||"").trim();if(!t)return -1;if(/^less than 1\b/i.test(t))return 0;let n=t.match(/(\d+)\s*-\s*(\d+)/);if(n)return Number(n[2]);let r=t.match(/\d+/);return r?Number(r[0]):-1}(ei.experience)>=3?ed(!0):W?W("community"):U(2)}function eS(e){var t;let n="intake-complete"===e||String(e).startsWith("abandoned"),r=/^\S+@\S+\.\S+$/.test(V.trim());if(_.trim().length<2||!r)return n?{ok:!1,skipped:"invalid-contact"}:void 0;let i=(0,h.Sp)(D,ee,en),a=ev(),l=JSON.stringify([_.trim(),V.trim(),i,a,H,Y]),c="intake-complete"===e||String(e).startsWith("abandoned"),d="intake-complete"===e;if(d){if(ex.current.commitRequest)return ex.current.commitRequest}else if(c){if(ex.current.abandonSent)return;ex.current.abandonSent=!0}else if(l===ex.current.lastKey)return;ex.current.lastKey=l;let m=null!==(t=ef.current)&&void 0!==t?t:(0,u.u1)(),f=fetch("".concat(s.T5,"/api/v1/public/leads/nurture"),{method:"POST",headers:{"Content-Type":"application/json"},keepalive:!0,body:JSON.stringify({...(0,o.H8)(B.current,V)?{emailVerificationToken:(0,o.H8)(B.current,V)}:{},name:_.trim(),email:V.trim(),phone:i||void 0,smsConsent:H,smsMarketingConsent:Y,source:q,stage:e,...E.fields(),origin:null==m?void 0:m.origin,utm:null==m?void 0:m.utm,attribution:(0,u.xF)(),qualifierAnswers:a})}).then(async e=>({...await e.json().catch(()=>({})),ok:e.ok,status:e.status})).catch(()=>({ok:!1,status:0}));return d&&(ex.current.commitRequest=f,f.then(e=>{e&&!1===e.ok&&(ex.current.commitRequest=null)})),f}function eC(){eS(0===O?"abandoned-contact":"abandoned-questions"),null==n||n()}if((0,i.useEffect)(()=>{if(ey.step!==o.Jx.Code||ey.resendIn<=0)return;let e=setTimeout(()=>ek(o.J6),1e3);return()=>clearTimeout(e)},[ey.step,ey.resendIn]),eg.current=eC,eb.current=eS,(0,i.useEffect)(()=>{if(!t||!ep.current)return;let e=setTimeout(()=>{var e;return null===(e=eb.current)||void 0===e?void 0:e.call(eb,"progress")},900);return()=>clearTimeout(e)},[t,_,V,D,ee,ei,$,es,H,Y]),(0,i.useEffect)(()=>
1{if(J.current){if((0,o.hX)(A,V)){J.current=!1,eL();return}if(A.status===o.me.Required){J.current=!1;return}if(A.status===o.me.Failed){var e;J.current=!1,eu(null!==(e=A.error)&&void 0!==e?e:"We could not check that email just now. Please try again.")}}},[A,V]),!t)return null;if(ec)return(0,r.jsx)(x.Z,{open:!0,onClose:eC,defaultLead:{name:_,email:V,country:ee,phone:D,smsConsent:H,smsMarketingConsent:Y},qualifierAnswers:ev(),source:q,embedded:L,qualifiedNote:!0,onBooked:W?e=>W("booked",e):null});let eR=D.replace(/\D/g,""),eI=en?(0,h.kj)(eR,ee,en):eR.length>=7&&eR.length<=h.gM,eT=/(^|\.)linkedin\.com\/./i.test($.trim()),eq=_.trim().length>=2&&/^\S+@\S+\.\S+$/.test(V)&&eI;function eL(){eu("");try{window.sessionStorage.setItem("smartImmigrant.lead",JSON.stringify({name:_,email:V,mobile:(0,h.Sp)(eR,ee,en)||eR,smsConsent:H,smsMarketingConsent:Y}))}catch(e){}eS("contact-step"),U(1)}let eW=["experience","designation","company","status","heardAboutUs"];async function eE(){if(eW.find(e=>!(ei[e]||"").trim())){eu("Please answer every question.");return}if(!eT){eu("Add your LinkedIn profile URL (e.g. linkedin.com/in/you).");return}if("Other"===ei.heardAboutUs&&!es.trim()){eu("Please tell us where you heard about us.");return}eu("");let e=await eS("intake-complete");if(e&&!1===e.ok){eu(function(e){var t,n;let r=null!==(n=null==e?void 0:e.status)&&void 0!==n?n:0;if(0===r)return"We couldn't reach our servers. Please check your connection and try again.";if(429===r)return"Too many attempts in a short time. Please wait a minute and try again.";if(r>=500)return"Something went wrong on our side. Please try again in a moment.";let i=null==e?void 0:null===(t=e.error)||void 0===t?void 0:t.message;return"string"==typeof i&&i.trim()?i:"We couldn't submit that. Please check your details and try again."}(e));return}if((0,o.D7)(e)){ek(t=>(0,o.fr)(t,{...e,values:{name:_,email:V,phone:D,answers:ei}}));return}eN()}function eO(e,t){ea(n=>({...n,[e]:t})),eo&&eu("")}let eU=ey.step===o.Jx.Code,eA=(0,r.jsxs)("div",{className:"relative my-auto w-full max-w-[520px] animate-cardIn overflow-hidden rounded-3xl bg-white p-7 ring-1 ring-black/5 shadow-[0_30px_60px_-30px_rgba(46,46,46,0.22),0_10px_30px_-20px_rgba(255,84,109,0.18)] sm:p-9",children:[(0,r.jsx)(g.Z,{antiBot:E}),!L&&(0,r.jsx)("button",{type:"button",onClick:eC,"aria-label":"Close",className:"absolute right-4 top-4 z-10 flex h-8 w-8 items-center justify-center rounded-full bg-ink-900/5 text-ink-900/70 transition duration-300 hover:bg-ink-900/10 hover:text-ink-900 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-brand-500",children:(0,r.jsx)(j,{})}),eU&&(0,r.jsx)("div",{className:"animate-fadeUp",children:(0,r.jsx)(l.Z,{state:ey,onCodeChange:e=>ek(t=>(0,o.hR)(t,e)),onSubmit:ej,onResend:ew,onChangeEmail:()=>{ex.current.commitRequest=null,ex.current.abandonSent=!1,ek(o.Uk),U(0)}})}),!eU&&0===O&&A.challengeId&&(A.status===o.me.Required||A.status===o.me.Verifying||A.status===o.me.Failed)&&(0,r.jsx)("div",{className:"px-6 pb-6",children:(0,r.jsx)(l.Z,{state:{...(0,o.rC)(),step:o.Jx.Code,maskedEmail:A.maskedEmail,code:A.code,error:A.error,busy:A.status===o.me.Verifying,resendIn:A.resendIn},onCodeChange:e=>P(t=>({...t,code:String(null!=e?e:"").replace(/\D/g,"").slice(0,6),error:null})),onSubmit:()=>M(A.code),onResend:()=>z(V),onChangeEmail:()=>{P((0,o.mi)())}})}),!eU&&0===O&&!(A.challengeId&&(A.status===o.me.Required||A.status===o.me.Verifying||A.status===o.me.Failed))&&(0,r.jsxs)("div",{className:"animate-fadeUp",children:[(0,r.jsxs)("div",{className:"inline-flex items-center gap-2 text-[10px] font-bold uppercase tracking-[0.14em] text-brand-700",children:[(0,r.jsx)("span",{className:"flex h-5 w-5 items-center justify-center rounded-full bg-brand-50 text-brand-600 ring-1 ring-brand-100",children:(0,r.jsx)(k,{})}),"Free \xb7 30 minutes"]}),(0,r.jsxs)("h2",{className:"mt-3 font-display text-[26px] font-medium leading-[1.1] tracking-tight text-ink-900 sm:text-[30px]",children:["Book a ",(0,r.jsx)("span",{className:"italic",children:"free call"}),"."]}),(0,r.jsx)("p",{className:"mt-1.5 text-[13px] leading-[1.6] text-ink-900/70",children:"Talk to a Smart Immigrant growth expert about your profile â no pitch, no pressure."}),(0,r.jsxs)("div",{className:"mt-5 flex flex-col gap-3",children:[(0,r.jsx)("input",{type:"text",placeholder:"Full name",value:_,onCh
1ange:e=>F(e.target.value),className:"h-11 rounded-xl bg-warm-50 px-4 text-[13px] font-medium text-ink-900 placeholder:text-ink-900/70 ring-1 ring-black/5 transition focus:bg-white focus:outline-none focus:ring-2 focus:ring-brand-400"}),(0,r.jsx)("input",{type:"email",placeholder:"Email",value:V,onChange:e=>{let t=e.target.value;Z(t),P(e=>(0,o.Nh)(e,t)),eo&&eo===A.error&&eu("")},onBlur:()=>{var e;ep.current=!0,null===(e=eb.current)||void 0===e||e.call(eb,"progress"),z(V)},className:"h-11 rounded-xl bg-warm-50 px-4 text-[13px] font-medium text-ink-900 placeholder:text-ink-900/70 ring-1 ring-black/5 transition focus:bg-white focus:outline-none focus:ring-2 focus:ring-brand-400"}),(0,r.jsx)(c.Z,{country:ee,national:D,placeholder:"WhatsApp number",onChange:e=>{let{country:t,national:n}=e;er.current=!0,et(t),K(n)}})]}),(0,r.jsx)(d.Z,{className:"mt-3 px-1",service:H,marketing:Y,onServiceChange:X,onMarketingChange:G}),eo&&(0,r.jsx)("p",{className:"mt-3 rounded-lg bg-brand-50 px-3 py-2 text-[11px] font-medium text-brand-700 ring-1 ring-brand-100",children:eo}),(0,r.jsxs)("button",{type:"button",onClick:function(){if(!eq){eu("Fill in every field â enter a valid phone number.");return}let{intent:e,reason:t}=(0,o.Yl)(A,V);if(e===o.r.Proceed){J.current=!1,eL();return}if(e===o.r.Report){eu(t),J.current=!A.challengeId,A.challengeId||z(V);return}if(e===o.r.Challenge){J.current=!1,eu("");return}J.current=!0,eu(""),e===o.r.Ask&&z(V)},className:"group mt-5 flex h-11 w-full items-center justify-center gap-2 rounded-full bg-brand-500 text-[14px] font-semibold text-white shadow-cta transition duration-300 ease-[cubic-bezier(0.2,0.8,0.2,1)] hover:-translate-y-0.5 hover:bg-brand-600 active:translate-y-0 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-brand-300",children:["Continue",(0,r.jsx)(N,{})]})]}),!eU&&1===O&&(0,r.jsxs)("div",{className:"animate-fadeUp",children:[(0,r.jsxs)("div",{className:"inline-flex items-center gap-2 rounded-full bg-brand-50 px-3 py-1 text-[10px] font-bold uppercase tracking-[0.14em] text-brand-700 ring-1 ring-brand-100",children:[(0,r.jsx)("span",{className:"h-1 w-1 rounded-full bg-brand-500"}),"Step 2 of 2"]}),(0,r.jsxs)("h2",{className:"mt-3 font-display text-[24px] font-medium leading-[1.15] tracking-tight text-ink-900 sm:text-[28px]",children:["A few quick ",(0,r.jsx)("span",{className:"italic",children:"details"}),"."]}),(0,r.jsx)("p",{className:"mt-1.5 text-[13px] leading-[1.6] text-ink-900/70",children:"So we can match you with the right expert before the call."}),(0,r.jsxs)("div",{className:"mt-5 flex flex-col gap-5",children:[(0,r.jsx)(R,{id:"q-experience",index:1,label:"How many years of professional experience do you have?",placeholder:"Select experience",value:ei.experience||"",options:b,onChange:e=>eO("experience",e)}),(0,r.jsx)(T,{id:"q-designation",index:2,label:"What is your current designation?",placeholder:"e.g. Senior Software Engineer",value:ei.designation||"",onChange:e=>eO("designation",e)}),(0,r.jsx)(T,{id:"q-company",index:3,label:"Which company are you currently working for?",placeholder:"e.g. Acme Inc.",value:ei.company||"",onChange:e=>eO("company",e)}),(0,r.jsx)(I,{index:4,label:"What is your current status?",value:ei.status||"",options:v,onSelect:e=>eO("status",e)}),(0,r.jsx)(T,{id:"q-linkedin",index:5,type:"url",inputMode:"url",label:"What is your LinkedIn profile URL?",placeholder:"linkedin.com/in/you",value:$,onChange:e=>{Q(e),eo&&eu("")}}),(0,r.jsxs)("div",{children:[(0,r.jsx)(I,{index:6,label:"How did you first hear about us?",value:ei.heardAboutUs||"",options:y,onSelect:e=>{eO("heardAboutUs",e),"Other"!==e&&el("")}}),"Other"===ei.heardAboutUs&&(0,r.jsx)("input",{id:"q-heard-other",type:"text",value:es,maxLength:50,autoFocus:!0,placeholder:"Please specify where you heard about us",onChange:e=>{el(e.target.value),eo&&eu("")},className:"mt-2.5 h-11 w-full rounded-xl bg-warm-50 px-4 text-[13px] font-medium text-ink-900 placeholder:text-ink-900/70 ring-1 ring-black/5 transition focus:bg-white focus:outline-none focus:ring-2 focus:ring-brand-400"})]})]}),eo&&(0,r.jsx)("p",{className:"mt-3 rounded-lg bg-brand-50 px-3 py-2 text-[11px] font-medium text-brand-700 ring-1 ring-brand-100",children:eo}),(0,r.jsxs)("div",{className:"mt-5 flex items-center justify-between gap-3",children:[(0,r.jsxs)("button",{type:"button",onClick:()=>U(0),className:"inline-flex items-center gap-1.5 rounded-full px-3 py-2 text-[12px] font-semibold text-ink-900/70 transition hover:text-ink-900 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-brand-400",children:[(0,r.jsx)(S,{}),"Back"]}),(0,r.jsxs)("button",{type:"button",onClick:eE,className:"group inline-flex items-center gap-2 rounded-full bg-brand-500 py-2 px-5 text-[13px] font-semibold text-white shadow-cta transition duration-300 ease-[
1cubic-bezier(0.2,0.8,0.2,1)] hover:-translate-y-0.5 hover:bg-brand-600 active:translate-y-0 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-brand-300",children:["Continue",(0,r.jsx)(N,{})]})]})]}),!eU&&2===O&&(0,r.jsxs)("div",{className:"animate-fadeUp text-center",children:[(0,r.jsx)("span",{className:"inline-flex h-14 w-14 items-center justify-center rounded-full bg-brand-50 text-brand-600 ring-1 ring-brand-100",children:(0,r.jsx)(w,{})}),(0,r.jsxs)("h2",{className:"mt-4 font-display text-[26px] font-medium leading-[1.1] tracking-tight text-ink-900 sm:text-[30px]",children:["You're early, but ",(0,r.jsx)("span",{className:"italic",children:"not out yet"}),"!"]}),(0,r.jsx)("p",{className:"mt-2 text-[13px] leading-[1.6] text-ink-900/70",children:"Uh-oh! Unfortunately, right now your profile falls short of what these petitions need."}),(0,r.jsx)("p",{className:"mt-2 text-[13px] leading-[1.6] text-ink-900/70",children:"But that's not the end for you. It can be fixed and as a first step, you can join our community where you can ask your questions and start building toward it."}),(0,r.jsxs)("a",{href:"https://chat.whatsapp.com/FzA7UzViuGtCbYZecPCWzs",target:"_blank",rel:"noopener noreferrer",className:"group mt-5 inline-flex h-11 w-full items-center justify-center gap-2 rounded-full bg-brand-500 text-[14px] font-semibold text-white shadow-cta transition duration-300 ease-[cubic-bezier(0.2,0.8,0.2,1)] hover:-translate-y-0.5 hover:bg-brand-600 active:translate-y-0 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-brand-300",children:[(0,r.jsx)(w,{}),"Join the WhatsApp community"]})]})]});return L?eA:eh?(0,a.createPortal)((0,r.jsxs)("div",{className:"fixed inset-0 z-[80] flex items-start justify-center overflow-y-auto px-4 py-10 text-left text-ink-900",role:"dialog","aria-modal":"true","aria-label":"Book a free consultation",children:[(0,r.jsx)("button",{type:"button","aria-label":"Close dialog",onClick:eC,className:"fixed inset-0 bg-ink-900/50 backdrop-blur-sm transition-opacity duration-300"}),eA]}),document.body):null}}}]);
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.