1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9709],{4350:(e,t,a)=>{"use strict";a.d(t,{A:()=>r});let r=(0,a(17963).A)("SearchCheck",[["path",{d:"m8 11 2 2 4-4",key:"1sed1v"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]])},9552:(e,t,a)=>{"use strict";a.d(t,{A:()=>r});let r=(0,a(17963).A)("ChevronLeft",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]])},15682:(e,t,a)=>{"use strict";a.d(t,{A:()=>r});let r=(0,a(17963).A)("Mic",[["path",{d:"M12 2a3 3 0 0 0-3 3v7a3 3 0 0 0 6 0V5a3 3 0 0 0-3-3Z",key:"131961"}],["path",{d:"M19 10v2a7 7 0 0 1-14 0v-2",key:"1vc78b"}],["line",{x1:"12",x2:"12",y1:"19",y2:"22",key:"x3vr5v"}]])},17963:(e,t,a)=>{"use strict";a.d(t,{A:()=>o});var r=a(14232);let s=function(){for(var e=arguments.length,t=Array(e),a=0;a<e;a++)t[a]=arguments[a];return t.filter((e,t,a)=>!!e&&a.indexOf(e)===t).join(" ")};var l={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let n=(0,r.forwardRef)((e,t)=>{let{color:a="currentColor",size:n=24,strokeWidth:o=2,absoluteStrokeWidth:i,className:c="",children:d,iconNode:u,...h}=e;return(0,r.createElement)("svg",{ref:t,...l,width:n,height:n,stroke:a,strokeWidth:i?24*Number(o)/Number(n):o,className:s("lucide",c),...h},[...u.map(e=>{let[t,a]=e;return(0,r.createElement)(t,a)}),...Array.isArray(d)?d:[d]])}),o=(e,t)=>{let a=(0,r.forwardRef)((a,l)=>{let{className:o,...i}=a;return(0,r.createElement)(n,{ref:l,iconNode:t,className:s("lucide-".concat(e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()),o),...i})});return a.displayName="".concat(e),a}},21355:(e,t,a)=>{"use strict";a.d(t,{A:()=>r});let r=(0,a(17963).A)("FileText",[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]])},27011:(e,t,a)=>{"use strict";a.d(t,{A:()=>r});let r=(0,a(17963).A)("Scale",[["path",{d:"m16 16 3-8 3 8c-.87.65-1.92 1-3 1s-2.13-.35-3-1Z",key:"7g6ntu"}],["path",{d:"m2 16 3-8 3 8c-.87.65-1.92 1-3 1s-2.13-.35-3-1Z",key:"ijws7r"}],["path",{d:"M7 21h10",key:"1b0cd5"}],["path",{d:"M12 3v18",key:"108xh3"}],["path",{d:"M3 7h2c2 0 5-1 7-2 2 1 5 2 7 2h2",key:"3gwbw2"}]])},41180:(e,t,a)=>{"use strict";a.d(t,{A:()=>r});let r=(0,a(17963).A)("TrendingUp",[["polyline",{points:"22 7 13.5 15.5 8.5 10.5 2 17",key:"126l90"}],["polyline",{points:"16 7 22 7 22 13",key:"kwv8wd"}]])},46468:(e,t,a)=>{"use strict";a.r(t),a.d(t,{default:()=>E});var r=a(37876),s=a(14232),l=a(62867),n=a(93153),o=a(16663),i=a(20468),c=a(76364),d=a(32390),u=a(11889),h=a(38107),p=a(99001),y=a(63829),m=a(39578),k=a(41173),v=a(21056),x=a(57964),g=a(87834),A=a(84111),f=a(35243),w=a(89099),M=a(6918);let S=()=>{let[e,t]=(0,s.useState)(1),[a,g]=(0,s.useState)(!1),[S,E]=(0,s.useState)(null),[b,j]=(0,s.useState)("EB1A"),[N,C]=(0,s.useState)(null),[_,z]=(0,s.useState)(!1),[L,V]=(0,s.useState)(!1),[R,B]=(0,s.useState)(null),P=(0,w.useRouter)(),{formData:I,setFormData:q,handleInputChange:Z,handleArrayChange:D,addArrayItem:H,removeArrayItem:O}=(0,m.O)(),{handleFileChange:T,removeFile:W}=(0,k.l)({formData:I,setFormData:q,setFileError:C,setIsParsing:z});(0,s.useEffect)(()=>{let e=(0,f.Gq)(f.d5.EMAIL_KEY);B(e),e||V(!0)},[]);let U=e=>{q(t=>({...t,path:e})),t("NOT_SURE"===e?1.1:2),(0,M.e_)("emailKey: ".concat(R," User started evaluation process and selected path: ").concat(e),{title:"Evaluation Started",color:65280})},F=e=>{let a="EB2_NIW";(e.publications>5)*.3+.3*!!e.criticalRole+.2*!!e.awards+("phd"===e.highestDegree)*.1+(e.yearsExperience>5)*.1>=.7&&(a="EB1A"),j(a),q(e=>({...e,path:a})),t(2),(0,M.e_)("User completed screener with recommendation: ".concat(a),{title:"Screener Completed",color:39423})},K=async()=>{if(!I.consent)return void n.oR.error("Please provide consent to process your information");if(!(0,x.B9)(I.contact.email)){n.oR.error("Please enter a valid email address"),t(2);return}g(!0);try{let e=await (0,v.H)(I);E(e),t(6),n.oR.success("Evaluation submitted successfully!"),(0,M.e_)("User completed evaluation for ".concat(b))}catch(t){console.error("Submission failed:",t);let e=t.message||"Submission failed. Please try again.";n.oR.error(e),(0,M.e_)("Error during evaluation submission: ".concat(e),{title:"Evaluation Error",color:0xff0000})}finally{g(!1)}};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(l.bV,{title:"EB-1A / EB-2 NIW Intake",description:"Start your EB-1A or EB-2 NIW application. Upload your CV, answer a few questions, and get an instant eligibility snapshot.",canonical:"https://visacompanion.ai/evaluation",noindex:!0,nofollow:!0}),L&&(0,r.jsx)(A.A,{isOpen:L,closeModal:()=>P.push("/"),discordMessage:"New user signed up to use Evaluation Tool",route:"/app/evaluate",header:"Welcome to Visa Evaluation",buttontext:"Continue",onClick:()=>{V(!1),(0,M.e_)("emailKey: ".concat(R," New user signed up through evaluation page"),{title:"New Evaluation Signup",color:65280})}}),(0,r.jsxs)("div",{className:"min-h-screen bg-gray-50 -mt-12",children:[e>1&&e<6&&(0,r.jsx)("div",{className:"bg-white shadow-sm",children:(0,r.jsxs)("div",{className:"max-w-4xl mx-auto px-4 py-6 mt-12",children:[(0,r.jsx)(o.A,{percentage:(()=>{let t=[1,1.1,2,3,4,5];return Math.round(t.indexOf(e)/(t.length-1)*100)})()}),(0,r.jsxs)("div",{className:"mt-4 text-center",children:[(0,r.jsxs)("h1",{className:"text-2xl font-bold text-gray-900",children:[2===e&&"Contact Information",3===e&&"Education Backgroun
1d",4===e&&"Evidence Collection",5===e&&"Links & Resume"]}),(0,r.jsxs)("p",{className:"text-gray-600 mt-2",children:[2===e&&"Tell us about yourself",3===e&&"Share your educational background",4===e&&"Provide evidence for your application",5===e&&"Add relevant links and upload your resume"]})]})]})}),(0,r.jsx)("div",{className:"max-w-4xl mx-auto px-4 py-8",children:(()=>{switch(e){case 1:default:return(0,r.jsx)(u.I,{onSelect:U,onFileChange:T,removeFile:W,fileError:N,isParsing:_,resume:I.resume});case 1.1:return(0,r.jsx)(i.k,{onSubmit:F,setStep:t});case 2:return(0,r.jsx)(c.X,{formData:I,onChange:Z,nextStep:()=>t(3),setStep:t});case 3:return(0,r.jsx)(d.t,{formData:I,onChange:Z,nextStep:()=>t(4),setStep:t});case 4:return(0,r.jsx)(p.W,{formData:I,recommendedPath:b,onChange:Z,onArrayChange:D,onAddItem:H,onRemoveItem:O,nextStep:()=>t(5),setStep:t});case 5:return(0,r.jsx)(h.y,{formData:I,onChange:Z,onSubmit:K,loading:a,setStep:t});case 6:return(0,r.jsx)(y.n,{result:S,formData:I,recommendedPath:b,setStep:t})}})()})]})]})};S.getLayout=e=>(0,r.jsxs)(g.e,{children:[e,(0,r.jsx)(n.N9,{})]});let E=S},57586:(e,t,a)=>{"use strict";a.d(t,{A:()=>r});let r=(0,a(17963).A)("Newspaper",[["path",{d:"M4 22h16a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2H8a2 2 0 0 0-2 2v16a2 2 0 0 1-2 2Zm0 0a2 2 0 0 1-2-2v-9c0-1.1.9-2 2-2h2",key:"7pis2x"}],["path",{d:"M18 14h-8",key:"sponae"}],["path",{d:"M15 18h-5",key:"95g1m2"}],["path",{d:"M10 6h8v4h-8V6Z",key:"smlsk5"}]])},63200:(e,t,a)=>{"use strict";a.d(t,{A:()=>r});let r=(0,a(17963).A)("LayoutDashboard",[["rect",{width:"7",height:"9",x:"3",y:"3",rx:"1",key:"10lvy0"}],["rect",{width:"7",height:"5",x:"14",y:"3",rx:"1",key:"16une8"}],["rect",{width:"7",height:"9",x:"14",y:"12",rx:"1",key:"1hutg5"}],["rect",{width:"7",height:"5",x:"3",y:"16",rx:"1",key:"ldoo1y"}]])},63906:(e,t,a)=>{"use strict";a.d(t,{A:()=>r});let r=(0,a(17963).A)("Settings",[["path",{d:"M12.22 2h-.44a2 2 0 0 0-2 2v.18a2 2 0 0 1-1 1.73l-.43.25a2 2 0 0 1-2 0l-.15-.08a2 2 0 0 0-2.73.73l-.22.38a2 2 0 0 0 .73 2.73l.15.1a2 2 0 0 1 1 1.72v.51a2 2 0 0 1-1 1.74l-.15.09a2 2 0 0 0-.73 2.73l.22.38a2 2 0 0 0 2.73.73l.15-.08a2 2 0 0 1 2 0l.43.25a2 2 0 0 1 1 1.73V20a2 2 0 0 0 2 2h.44a2 2 0 0 0 2-2v-.18a2 2 0 0 1 1-1.73l.43-.25a2 2 0 0 1 2 0l.15.08a2 2 0 0 0 2.73-.73l.22-.39a2 2 0 0 0-.73-2.73l-.15-.08a2 2 0 0 1-1-1.74v-.5a2 2 0 0 1 1-1.74l.15-.09a2 2 0 0 0 .73-2.73l-.22-.38a2 2 0 0 0-2.73-.73l-.15.08a2 2 0 0 1-2 0l-.43-.25a2 2 0 0 1-1-1.73V4a2 2 0 0 0-2-2z",key:"1qme2f"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]])},66762:(e,t,a)=>{"use strict";a.d(t,{A:()=>r});let r=(0,a(17963).A)("ChartColumn",[["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}],["path",{d:"M18 17V9",key:"2bz60n"}],["path",{d:"M13 17V5",key:"1frdt8"}],["path",{d:"M8 17v-3",key:"17ska0"}]])},73291:(e,t,a)=>{"use strict";a.d(t,{A:()=>r});let r=(0,a(17963).A)("ShieldCheck",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]])},73884:(e,t,a)=>{"use strict";a.d(t,{A:()=>r});let r=(0,a(17963).A)("Sparkles",[["path",{d:"M9.937 15.5A2 2 0 0 0 8.5 14.063l-6.135-1.582a.5.5 0 0 1 0-.962L8.5 9.936A2 2 0 0 0 9.937 8.5l1.582-6.135a.5.5 0 0 1 .963 0L14.063 8.5A2 2 0 0 0 15.5 9.937l6.135 1.581a.5.5 0 0 1 0 .964L15.5 14.063a2 2 0 0 0-1.437 1.437l-1.582 6.135a.5.5 0 0 1-.963 0z",key:"4pj2yx"}],["path",{d:"M20 3v4",key:"1olli1"}],["path",{d:"M22 5h-4",key:"1gvqau"}],["path",{d:"M4 17v2",key:"vumght"}],["path",{d:"M5 18H3",key:"zchphs"}]])},80310:(e,t,a)=>{"use strict";a.d(t,{A:()=>r});let r=(0,a(17963).A)("Lightbulb",[["path",{d:"M15 14c.2-1 .7-1.7 1.5-2.5 1-.9 1.5-2.2 1.5-3.5A6 6 0 0 0 6 8c0 1 .2 2.2 1.5 3.5.7.7 1.3 1.5 1.5 2.5",key:"1gvzjb"}],["path",{d:"M9 18h6",key:"x1upvd"}],["path",{d:"M10 22h4",key:"ceow96"}]])},82562:(e,t,a)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/app/evaluate",function(){return a(46468)}])},97535:(e,t,a)=>{"use strict";a.d(t,{A:()=>r});let r=(0,a(17963).A)("Puzzle",[["path",{d:"M19.439 7.85c-.049.322.059.648.289.878l1.568 1.568c.47.47.706 1.087.706 1.704s-.235 1.233-.706 1.704l-1.611 1.611a.98.98 0 0 1-.837.276c-.47-.07-.802-.48-.968-.925a2.501 2.501 0 1 0-3.214 3.214c.446.166.855.497.925.968a.979.979 0 0 1-.276.837l-1.61 1.61a2.404 2.404 0 0 1-1.705.707 2.402 2.402 0 0 1-1.704-.706l-1.568-1.568a1.026 1.026 0 0 0-.877-.29c-.493.074-.84.504-1.02.968a2.5 2.5 0 1 1-3.237-3.237c.464-.18.894-.527.967-1.02a1.026 1.026 0 0 0-.289-.877l-1.568-1.568A2.402 2.402 0 0 1 1.998 12c0-.617.236-1.234.706-1.704L4.23 8.77c.24-.24.581-.353.917-.303.515.077.877.528 1.073 1.01a2.5 2.5 0 1 0 3.259-3.259c-.482-.196-.933-.558-1.01-1.073-.05-.336.062-.676.303-.917l1.525-1.525A2.402 2.402 0 0 1 12 1.998c.617 0 1.234.236 1.704.706l1.568 1.568c.23.23.556.338.877.29.493-.074.84-.504 1.02-.968a2.5 2.5 0 1 1 3.237 3.237c-.464.18-.894.527-.967 1.02Z",key:"i0oyt7"}]])}},e=>{e.O(0,[6695,347,2131,7524,2115,5542,7834,4254,636,6593,8792],()=>e(e.s=82562)),_N_E=e.O()}]);
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.