PageSourceSearch

https://www.1x.tech/_next/static/chunks/pages/hire-45f1b7907e313e8d.js

js 1x.tech collected 2026-10-02 03:13:49 UTC 31,825 bytes, 9 lines download raw bytes

1try{!function(){var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="f64df593-30ed-41ee-86bd-5269c1822b06",e._sentryDebugIdIdentifier="sentry-dbid-f64df593-30ed-41ee-86bd-5269c1822b06")}()}catch(e){}(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[753],{35264:function(e,t,r){"use strict";/**
2 * @license React
3 * use-sync-external-store-with-selector.production.min.js
4 *
5 * Copyright (c) Facebook, Inc. and its affiliates.
6 *
7 * This source code is licensed under the MIT license found in the
8 * LICENSE file in the root directory of this source tree.
9 */var n=r(67294),a="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},i=n.useSyncExternalStore,s=n.useRef,l=n.useEffect,o=n.useMemo,c=n.useDebugValue;t.useSyncExternalStoreWithSelector=function(e,t,r,n,d){var u=s(null);if(null===u.current){var x={hasValue:!1,value:null};u.current=x}else x=u.current;var p=i(e,(u=o(function(){function e(e){if(!l){if(l=!0,i=e,e=n(e),void 0!==d&&x.hasValue){var t=x.value;if(d(t,e))return s=t}return s=e}if(t=s,a(i,e))return t;var r=n(e);return void 0!==d&&d(t,r)?t:(i=e,s=r)}var i,s,l=!1,o=void 0===r?null:r;return[function(){return e(t())},null===o?void 0:function(){return e(o())}]},[t,r,n,d]))[0],u[1]);return l(function(){x.hasValue=!0,x.value=p},[p]),c(p),p}},72012:function(e,t,r){"use strict";e.exports=r(35264)},99879:function(e,t,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/hire",function(){return r(95516)}])},76842:function(e,t,r){"use strict";r.d(t,{I:function(){return s}});var n=r(85893),a=r(67294),i=r(18090);let s=a.forwardRef((e,t)=>{let{className:r,type:a,label:s,...l}=e;return(0,n.jsx)("input",{placeholder:s,type:a,className:(0,i.cn)(r),ref:t,...l})});s.displayName="Input"},98857:function(e,t,r){"use strict";var n=r(85893),a=r(67294),i=r(90512),s=r(89508),l=r(55386);t.Z=e=>{var t;let{data:r,className:o,isAiPage:c,hideBorderTop:d}=e,[u,x]=(0,a.useState)(""),[p,f]=(0,a.useState)(!0),[m,h]=(0,a.useState)(!1),[b,y]=(0,a.useState)(!1),[g,v]=(0,a.useState)(""),[j,w]=(0,a.useState)(!1),N=/^[^\s@]+@[^\s@]+\.[^\s@]+$/;async function S(e){if(e.preventDefault(),!N.test(u)){f(!1);return}f(!0),y(!0),v(""),w(!1);try{let e=await fetch("/api/email-subscribe",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({email:u,source:c?"Website - AI page":"Website - Blog"})}),n=await e.json();if(e.ok)w(!0),x(""),setTimeout(()=>{w(!1)},5e3);else{var t,r;(null==n?void 0:null===(t=n.result)||void 0===t?void 0:t.error)?v(null==n?void 0:null===(r=n.result)||void 0===r?void 0:r.error):v("An error occurred. Please try again.")}}catch(e){v("An error occurred. Please try again.")}finally{y(!1)}}return(0,n.jsxs)("section",{className:(0,i.W)("py-[80px] mx-[32px] mt-[80px] border-t-[1px] border-t-discoveryDark/5","lg:flex lg:max-w-[1024px] lg:mx-auto lg:px-[32px] lg:justify-between ","ml:px-[0px]",o,c&&"!border-t-[0px] !pt-[0px] !mt-[56px] lg:!mt-[80px] lg:!pt-[80px] lg:!border-t-[1px] lg:!border-[#413E3E0D]",d&&"!border-t-0 lg:!border-t-0 !mt-0 lg:!mt-0"),children:[(0,n.jsx)("h2",{className:(0,i.W)("text-discoveryDark text-[26px] leading-[34px] tracking-[-0.03em] text-center flex items-center justify-center gap-x-[8px] font-normal","lg:text-[30px] lg:leading-[39px]"),children:null==r?void 0:null===(t=r.title)||void 0===t?void 0:t.split(" ").map((e,t)=>(0,n.jsx)("span",{className:(0,i.W)(t>=1&&"opacity-60"),children:e},t))}),(0,n.jsx)("div",{className:(0,i.W)("font-regular w-full z-[2] pt-[18.5px] mt-[12px]","lg:max-w-[360px] lg:mt-[0px]"),children:(0,n.jsxs)("div",{className:(0,i.W)("relative w-full h-full"),children:[(0,n.jsxs)("form",{onSubmit:e=>S(e),className:(0,i.W)("w-full text-[12px] leadng-[19.2px]  relative  border-b-[1px] border-b-discoveryDark flex justify-between gap-x-[32px]"),children:[(0,n.jsx)("input",{required:!0,type:"email",placeholder:"Enter email","aria-label":"Email address",className:(0,i.W)("rounded-[0px] w-full placeholder:text-discoveryDark/50  py-[18.5px] bg-transparent text-discoveryDark focus:outline-none "),value:u,onChange:e=>x(e.target.value),onBlur:()=>{""==u&&h(!1)},onFocus:()=>{h(!0)}}),(0,n.jsx)("button",{type:"submit",disabled:b,className:(0,i.W)("text-discoveryDark py-[18.5px] flex-shrink-0",b?"opacity-60":"opacity-100","[transition:opacity_0.3s] hover:opacity-60"),children:(0,n.jsx)("span",{className:(0,i.W)("text-discoveryDark",b?"opacity-30":"opacity-100","[transition:opacity_0.3s] hover:opacity-60"),children:null==r?void 0:r.ctaButtonText})})]}),(0,n.jsxs)("div",{className:(0,i.W)("relative"),children:[(0,n.jsx)("p",{className:(0,i.W)("mt-[16px] text-[12px] leading-[19.2px] pb-[18.5px] text-discoveryDark/60 transition-opacity duration-300 text-center ","lg:text-right"),children:null==r?void 0:r.ctaText}),(0,n.jsxs)(s.M,{mode:"wait",children:[j&&(0,n.jsx)(l.E.span,{"aria-live":"polite",initial:{opacity:0}
9,animate:{opacity:1},exit:{opacity:0},className:(0,i.W)("smallBody font-medium text-discoveryDark z-[2] bottom-[-30px] absolute left-[50%] translate-x-[-50%] block","lg:translate-x-[0px] lg:left-[unset] lg:right-0 lg:text-right"),children:"You're signed up for updates."}),g&&(0,n.jsx)(l.E.span,{"aria-live":"assertive",initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},className:(0,i.W)("smallBody font-medium text-discoveryDark z-[2] bottom-[-30px] absolute left-[50%] translate-x-[-50%] block","lg:translate-x-[0px] lg:left-[unset] lg:right-0 lg:text-right"),children:g}),!p&&(0,n.jsx)(l.E.span,{"aria-live":"assertive",initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},className:(0,i.W)("smallBody font-medium text-discoveryDark z-[2] bottom-[-30px] absolute "),children:"Please enter a valid email address."})]})]})]})})]})}},95516:function(e,t,r){"use strict";r.r(t),r.d(t,{__N_SSG:function(){return S},default:function(){return k}});var n=r(85893),a=r(27614),i=r(90998),s=r(50894),l=r(83140),o=r(25675),c=r.n(o),d=r(90512),u=r(67294),x=r(87536),p=r(56312),f=r(1604),m=r(76842),h=r(11085);let b=f.z.object({firstName:f.z.string().min(1,"Required"),lastName:f.z.string().min(1,"Required"),email:f.z.string().email("Invalid email address"),phoneNumber:f.z.string().min(1,"Required"),workAuthorization:f.z.string().min(1,"Required"),requiresSponsorship:f.z.enum(["yes","no"],{required_error:"Please select an option"}),shift:f.z.array(f.z.enum(["morning","afternoon","night"])).min(1,"Please select at least one shift"),experienceYears:f.z.string().default("0"),electricalAssembly:f.z.string().default("1"),intricateAssembly:f.z.string().default("1"),mechanicalAssembly:f.z.string().default("1"),electricalRepair:f.z.string().default("1"),electricalSoldering:f.z.string().default("1"),electricalTesting:f.z.string().default("1"),finalAssembly:f.z.string().default("1"),whyJoin:f.z.string().min(1,"Required"),salaryExpectation:f.z.string().min(1,"Required"),
9cv:f.z.instanceof(File,{message:"CV/Resume is required"}),referredByEmployee:f.z.enum(["yes","no"],{required_error:"Please select an option"}),referrerName:f.z.string().optional()}).refine(e=>"yes"!==e.referredByEmployee||!!e.referrerName,{message:"Required",path:["referrerName"]}),y=[{value:"0",label:"0"},{value:"1",label:"1"},{value:"2",label:"2"},{value:"3",label:"3"},{value:"4",label:"4"},{value:"5",label:"5"},{value:"6+",label:"6+"}],g=[{value:"1",label:"1"},{value:"2",label:"2"},{value:"3",label:"3"},{value:"4",label:"4"},{value:"5",label:"5"},{value:"6",label:"6"},{value:"7",label:"7"},{value:"8",label:"8"},{value:"9",label:"9"},{value:"10",label:"10"}];function v(e){let{submitStatus:t,setSubmitStatus:r}=e,{register:a,control:i,handleSubmit:s,reset:l,watch:o,setValue:c,formState:{errors:f}}=(0,x.cI)({resolver:(0,p.F)(b),defaultValues:{shift:[],experienceYears:"0",electricalAssembly:"1",intricateAssembly:"1",mechanicalAssembly:"1",electricalRepair:"1",electricalSoldering:"1",electricalTesting:"1",finalAssembly:"1",salaryExpectation:""}}),[v,j]=(0,u.useState)(null),[w,N]=(0,u.useState)(0),[S,k]=(0,u.useState)(null),E=(0,u.useRef)(null),W=o("requiresSponsorship"),z=o("referredByEmployee"),A=async e=>{r("loading"),j(null);try{let t=new FormData;if(Object.entries(e).forEach(e=>{let[r,n]=e;"cv"===r&&n instanceof File?t.append("cv",n):"shift"===r&&Array.isArray(n)?t.append(r,n.join(", ")):null!=n&&t.append(r,String(n))}),t.append("hireEventId","5"),!(await fetch("/api/hire",{method:"POST",body:t})).ok)throw Error("Submission failed");r("success"),l(),k(null),N(e=>e+1),setTimeout(()=>{r("idle")},1e4)}catch(e){r("error"),setTimeout(()=>{r("idle")},5e3),j(e instanceof Error?e.message:"An unknown error occurred")}},I="w-full bg-transparent border-none outline-none font-regular text-[12px] leading-[19.2px] text-[#413e3e] placeholder:text-[#413e3e99] py-3 px-0";return(0,n.jsx)("div",{className:"w-full max-w-[438px] mx-auto",children:(0,n.jsxs)("form",{onSubmit:s(A,e=>{console.error("Form validation failed:",e)}),className:"flex flex-col gap-4",children:[(0,n.jsxs)("div",{className:"w-full relative",children:[(0,n.jsx)("div",{className:(0,d.W)("border-b border-[#413e3e5c] relative",f.firstName&&"border-red-500"),children:(0,n.jsx)(m.I,{...a("firstName"),placeholder:"First name",className:I})}),f.firstName&&(0,n.jsx)("p",{className:"text-red-500 text-[12px] absolute bottom-[-20px]",children:f.firstName.message})]}),(0,n.jsxs)("div",{className:"w-full relative",children:[(0,n.jsx)("div",{className:(0,d.W)("border-b border-[#413e3e5c] relative",f.lastName&&"border-red-500"),children:(0,n.jsx)(m.I,{...a("lastName"),placeholder:"Last name",className:I})}),f.lastName&&(0,n.jsx)("p",{className:"text-red-500 text-[12px] absolute bottom-[-20px]",children:f.lastName.message})]}),(0,n.jsxs)("div",{className:"w-full relative",children:[(0,n.jsx)("div",{className:(0,d.W)("border-b border-[#413e3e5c] relative",f.email&&"border-red-500"),children:(0,n.jsx)(m.I,{...a("email"),type:"email",placeholder:"Email address",className:I})}),f.email&&(0,n.jsx)("p",{className:"text-red-500 text-[12px] absolute bottom-[-20px]",children:f.email.message})]}),(0,n.jsxs)("div",{className:"w-full relative",children:[(0,n.jsx)("div",{className:(0,d.W)("border-b border-[#413e3e5c] relative",f.phoneNumber&&"border-red-500"),children:(0,n.jsx)(m.I,{...a("phoneNumber"),placeholder:"Phone number",className:I})}),f.phoneNumber&&(0,n.jsx)("p",{className:"text-red-500 text-[12px] absolute bottom-[-20px]",children:f.phoneNumber.message})]}),(0,n.jsxs)("div",{className:"w-full relative",children:[(0,n.jsx)("div",{className:(0,d.W)("border-b border-[#413e3e5c] relative",f.workAuthorization&&"border-red-500"),children:(0,n.jsx)(m.I,{...a("workAuthorization"),placeholder:"What is your current work authorization status?",className:I})}),f.workAuthorization&&(0,n.jsx)("p",{className:"text-red-500 text-[12px] absolute bottom-[-20px]",children:f.workAuthorization.message})]}),(0,n.jsxs)("div",{className:"w-full flex items-center justify-between gap-2 mt-[36px]",children:[(0,n.jsx)("div",{className:"flex-1 text-[12px] leading-[19.2px] text-[#413e3e99]  max-w-[270px]",children:"Do you now OR in the future require sponsorship to work legally in the United States?"}),(0,n.jsx)("div",{className:"flex gap-2",children:(0,n.jsx)(x.Qr,{name:"requiresSponsorship",control:i,render:e=>{let{field:t}=e;return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("button",{type:"button",onClick:()=>t.onChange("yes"),className:(0,d.W)("px-4 py-2 border text-[12px] leading-[19.2px] min-w-[60px]","yes"===W?"border-[#413e3e] text-[#413e3e]":"border-[#4f47494d] text-[#413e3e99]"),children:"Yes"}),(0,n.jsx)("button",{type:"button",onClick:()=>t.onChange("no"),className:(0,d.W)("px-4 py-2 border text-[12px] leading-[19.2px] min-w-[60px]","no"===W?"border-[#413e3e] text-[#413e3e]":"border-[#4f47494d] text-[#413e3e99]"),children:"No"})]})}})}),f.requiresSponsorship&&(0,n.jsx)("p",{className:"text-red-500 text-[12px] absolute bottom-[-20px]",children:f.requiresSponsorship.message})]}),(0,n.jsxs)("div",{className:"w-full",children:[(0,n.jsx)("div",{className:"text-[12px] leading-[19.2px] text-[#413e3e99] mb-2 mt-[36px]",children:"What shift(s) are you available to work for?"}),(0,n.jsx)("div",{className:"flex gap-2",children:(0,n.jsx)(x.Qr,{name:"shift",control:i,render:e=>{var t,r,a;let{field:i}=e,s=e=>{let t=i.value||[];t.includes(e)?i.onChange(t.filter(t=>t!==e)):i.onChange([...t,e])};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("button",{type:"button",onClick:()=>s("morning"),className:(0,d.W)("flex-1 px-4 py-2 border text-[12px] leading-[19.2px]",(null===(t=i.value)||void 0===t?void 0:t.includes("morning"))?"border-[#413e3e] text-[#413e3e]":"border-[#4f47494d] text-[#413e3e99]"),children:"Morning 7AM"}),(0,n.jsx)("button",{type:"button",onClick:()=>s("afternoon"),className:(0,d.W)("flex-1 px-4 py-2 border text-[12px] leading-[19.2px]",(null===(r=i.value)||void 0===r?void 0:r.includes("afternoon"))?"border-[#413e3e] text-[#413e3e]":"border-[#4f47494d] text-[#413e3e99]"),children:"Afternoon 3PM"}),(0,n.jsx)("button",{type:"button",onClick:()=>s("night"),className:(0,d.W)("flex-1 px-4 py-2 border text-[12px] leading-[19.2px]",(null===(a=i.value)||void 0===a?void 0:a.includes("night"))?"border-[#413e3e] text-[#413e3e]":"border-[#4f47494d] text-[#413e3e99]"),children:"Night 11PM"})]})}})}),f.shift&&(0,n.jsx)("p",{className:"text-red-500 text-[12px] mt-1",children:f.shift.message})]}),(0,n.jsxs)("div",{className:"w-full flex items-center justify-between gap-2 mt-[36px]",children:[(0,n.jsx)("div",{className:"flex-1 text-[12px] leading-[19.2px] text-[#413e3e99] max-w-[270px]",children:"How many years of experience do you have in fabrication or assembly positions?"}),(0,n.jsx)("div",{className:"w-[140px]",children:(0,n.jsx)(x.Qr,{name:"experienceYears",control:i,render:e=>{let{field:t}=e;return(0,n.jsxs)(h.Ph,{onValueChange:t.onChange,value:t.value,children:[(0,n.jsx)(h.i4,{className:(0,d.W)("border border-[#4f47494d] px-4 py-2 text-[12px] leading-[19.2px] rounded-[0px] text-[#413e3e]"),children:(0,n.jsx)(h.ki,{placeholder:"0"})}),(0,n.jsx)(h.Bw,{children:y.map(e=>(0,n.jsx)(h.Ql,{value:e.value,children:e.label},e.value))})]})}},w)})]}),(0,n.jsxs)("div",{className:"w-full mt-[34px]",children:[(0,n.jsx)("div",{className:"text-[12px] leading-[19.2px] text-[#413e3e99] mb-4  max-w-[270px]",children:"Rate yourself from 1 (least skilled/knowledgeable) to 10 (most skilled/knowledgeable)"}),(0,n.jsx)("div",{className:"flex flex-col gap-4",children:[{name:"electricalAssembly",label:"Electrical assembly"},{name:"intricateAssembly",label:"Intricate assembly"},{name:"mechanicalAssembly",label:"Mechanical assembly"},{name:"electricalRepair",label:"Electrical repair or rework"},{name:"electricalSoldering",label:"Electrical soldering"},{name:"electricalTesting",label:"Electrical testing"},{name:"finalAssembly",label:"Final Assembly and test"}].map(e=>{let{name:t,label:r}=e;return(0,n.jsxs)("div",{className:"w-full flex items-center justify-between gap-2",children:[(0,n.jsx)("div",{className:"flex-1 text-[12px] leading-[19.2px] text-[#413e3e99]",children:r}),(0,n.jsx)("div",{className:"w-[140px]",children:(0,n.jsx)(x.Qr,{name:t,control:i,render:e=>{let{field:t}=e;return(0,n.jsxs)(h.Ph,{onValueChange:t.onChange,value:t.value,children:[(0,n.jsx)(h.i4,{className:(0,d.W)("border border-[#4f47494d] px-4 py-2 text-[12px] leading-[19.2px] rounded-[0px] text-[#413e3e]"),children:(0,n.jsx)(h.ki,{placeholder:"1"})}),(0,n.jsx)(h.Bw,{children:g.map(e=>(0,n.jsx)(h.Ql,{value:e.value,children:e.label},e.value))})]})}},"".concat(w,"-").concat(t))})]},t)})})]}),(0,n.jsxs)("div",{className:"w-full flex items-center justify-between gap-2",children:[(0,n.jsx)("div",{className:"flex-1 text-[12px] leading-[19.2px] text-[#413e3e99] max-w-[270px]",children:"Salary expectation in $/h"}),(0,n.jsxs)("div",{className:"w-[140px]",children:[(0,n.jsx)("div",{className:(0,d.W)("border border-[#4f47494d] px-4 py-2",f.salaryExpectation&&"border-red-500"),children:(0,n.jsx)(m.I,{...a("salaryExpectation"),type:"number",step:"1",placeholder:"0",className:"w-full bg-transparent border-none outline-none font-regular text-[12px] leading-[19.2px] text-[#413e3e] placeholder:text-[#413e3e99] p-0"})}),f.salaryExpectation&&(0,n.jsx)("p",{className:"text-red-500 text-[12px] mt-1",children:f.salaryExpectation.message})]})]}),(0,n.jsxs)("div",{className:"w-full flex items-center justify-between gap-2 relative",children:[(0,n.jsx)("div",{className:"flex-1 text-[12px] leading-[19.2px] text-[#413e3e99] max-w-[270px]",children:"Were you referred by a current employee of 1X?"}),(0,n.jsx)("div",{className:"flex gap-2 w-[140px]",children:(0,n.jsx)(x.Qr,{name:"referredByEmployee",control:i,render:e=>{let{field:t}=e;return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("button",{type:"button",onClick:()=>t.onChange("yes"),className:(0,d.W)("px-4 py-2 border text-[12px] leading-[19.2px] min-w-[60px] w-full","yes"===z?"border-[#413e3e] text-[#413e3e]":"border-[#4f47494d] text-[#413e3e99]"),children:"Yes"}),(0,n.jsx)("button",{type:"button",onClick:()=>
9{t.onChange("no"),c("referrerName","")},className:(0,d.W)("px-4 py-2 border text-[12px] leading-[19.2px] min-w-[60px] w-full","no"===z?"border-[#413e3e] text-[#413e3e]":"border-[#4f47494d] text-[#413e3e99]"),children:"No"})]})}})}),f.referredByEmployee&&(0,n.jsx)("p",{className:"text-red-500 text-[12px] absolute bottom-[-20px]",children:f.referredByEmployee.message})]}),"yes"===z&&(0,n.jsxs)("div",{className:"w-full relative",children:[(0,n.jsx)("div",{className:(0,d.W)("border-b border-[#413e3e5c] relative",f.referrerName&&"border-red-500"),children:(0,n.jsx)(m.I,{...a("referrerName"),placeholder:"Referrer name",className:I})}),f.referrerName&&(0,n.jsx)("p",{className:"text-red-500 text-[12px] absolute bottom-[-20px]",children:f.referrerName.message})]}),(0,n.jsxs)("div",{className:"w-full relative",children:[(0,n.jsx)("div",{className:(0,d.W)("border-b border-[#413e3e5c] relative",f.whyJoin&&"border-red-500"),children:(0,n.jsx)(m.I,{...a("whyJoin"),placeholder:"Why do you want to join 1X?",className:I})}),f.whyJoin&&(0,n.jsx)("p",{className:"text-red-500 text-[12px] absolute bottom-[-20px]",children:f.whyJoin.message})]}),(0,n.jsxs)("div",{className:"w-full relative",children:[(0,n.jsx)("input",{ref:E,type:"file",accept:".pdf,.doc,.docx",onChange:e=>{var t;let r=null===(t=e.target.files)||void 0===t?void 0:t[0];if(r){if(!["application/pdf","application/msword","application/vnd.openxmlformats-officedocument.wordprocessingml.document"].includes(r.type)){j("Please upload a PDF or Word document");return}if(r.size>5242880){j("File size must be less than 5MB");return}k(r),c("cv",r),j(null)}},className:"hidden"}),(0,n.jsx)("button",{type:"button",onClick:()=>{var e;return null===(e=E.current)||void 0===e?void 0:e.click()},className:(0,d.W)("w-full bg-discoveryDark/10 text-[#413e3e] text-[12px] leading-[19.2px] py-2 px-[18px] hover:opacity-70 transition-opacity",f.cv&&"border border-red-500"),children:S?"Uploaded: ".concat(S.name):"Upload CV"}),f.cv&&(0,n.jsx)("p",{className:"text-red-500 text-[12px] mt-1 text-center",children:f.cv.message})]}),(0,n.jsx)("button",{type:"submit",disabled:"loading"===t||"success"===t,className:(0,d.W)("w-full bg-discoveryDark/10 text-[#413e3e] text-[12px] leading-[19.2px] py-2 px-[18px] hover:opacity-70 transition-all disabled:opacity-50 disabled:hover:opacity-50","success"===t&&"!bg-discoveryDark !text-neoFrost !opacity-100"),children:"success"===t?"Submitted!":"loading"===t?"Submitting...":"error"===t?"An error occurred. Please try again.":"Submit"}),v&&(0,n.jsx)("p",{className:"text-red-500 text-[12px] text-center",children:v})]})})}var j=r(98857),w=r(26038);function N(e){let{data:t}=e,[r,a]=(0,u.useState)(!1);(0,u.useRef)(null);let[i,s]=(0,u.useState)("idle"),o=(0,u.useRef)(null),x=(0,u.useRef)(null);return(0,u.useEffect)(()=>{"success"===i?w.p8.timeline().to(o.current,{opacity:0,duration:.3,ease:"power2.out"}).to(x.current,{opacity:1,duration:.3,ease:"power2.in"}):w.p8.timeline().to(x.current,{opacity:0,duration:.3,ease:"power2.out"}).to(o.current,{opacity:1,duration:.3,ease:"power2.in"})},[i]),(0,n.jsxs)("main",{className:(0,d.W)("font-regular bg-[#f7f7f7] overflow-x-hidden pb-[80px]"),children:[(0,n.jsx)("section",{className:(0,d.W)("bg-[#f7f7f7] px-[32px] pt-[132px] pb-[80px] flex justify-center","lg:max-w-[1440px] lg:mx-auto"),children:(0,n.jsxs)("div",{className:(0,d.W)("max-w-[438px] mx-auto"),children:[(0,n.jsx)("h1",{className:(0,d.W)("text-[44px] leading-[100%] tracking-[-0.03em] text-discoveryDark","lg:text-[64px] lg:leading-[64px]"),children:null==t?void 0:t.title}),(0,n.jsxs)("p",{className:(0,d.W)("mt-[24px] text-discoveryDark text-[16px] leading-[25.6px] max-w-[520px] mx-auto"),children:["Join us for our exclusive hiring event on Saturday, ",(0,n.jsx)("br",{}),"Janurary, 24.",(0,n.jsx)("br",{}),(0,n.jsx)("br",{})," Register today for an opportunity to interview for a Robot Assembler Technician position—help build the first humanoid robots of their kind to go to market and be part of the future of robotics."]})]})}),(0,n.jsx)("section",{className:(0,d.W)("bg-[#f7f7f7] mx-[32px] relative"),children:(0,n.jsx)("div",{className:(0,d.W)(" w-full relative"),children:(0,n.jsx)(c(),{src:(0,l.i)(t.firstImage).url(),alt:t.firstImage.alt||"Experience Humanoid",width:2440,height:2440,className:(0,d.W)("object-cover w-full"),quality:100,priority:!0})})}),(0,n.jsx)("section",{className:(0,d.W)("bg-[#f7f7f7] px-[32px] pt-[80px] flex justify-center","lg:max-w-[1440px] lg:mx-auto"),children:(0,n.jsxs)("div",{className:(0,d.W)("max-w-[438px] mx-auto w-full"),children:[(0,n.jsx)("h2",{className:(0,d.W)("font-medium text-[30px] leading-[1.2] tracking-[-0.9px] text-[#413e3e] mb-[40px]"),children:"Step 1: Register Today for Event"}),(0,n.jsx)(v,{submitStatus:i,setSubmitStatus:s}),(0,n.jsxs)("div",{className:(0,d.W)("relative mt-[20px]"),children:[(0,n.jsx)("p",{ref:o,className:(0,d.W)("text-[12px] leading-[19.2px] text-center text-[#413e3e99] w-[294px] mx-auto"),children:'By clicking "Submit", I authorize 1X to contact me about this request via the contact information I provide.'}),(0,n.jsx)("p",{ref:x,className:(0,d.W)("text-[12px] leading-[19.2px] text-center text-[#413e3e] absolute top-[0px] left-[50%] translate-x-[-50%] w-full opacity-0"),children:"Registration Confirmed."})]})]})}),t.steps&&t.steps.length>0&&(0,n.jsx)("section",{className:(0,d.W)("bg-[#f7f7f7] px-[32px] pt-[80px] pb-[80px] flex justify-center","lg:max-w-[1440px] lg:mx-auto"),children:(0,n.jsx)("div",{className:(0,d.W)("max-w-[438px] mx-auto w-full"),children:t.steps.map((e,t)=>(0,n.jsxs)("div",{className:(0,d.W)("mb-[48px] last:mb-0"),children:[(0,n.jsxs)("h2",{className:(0,d.W)("font-medium text-[32px] leading-[32px] tracking-[-0.03em] text-gammaGrey mb-[16px]"),children:["Step ",t+2,": ",e.title]}),(0,n.jsx)("p",{className:(0,d.W)("text-gammaGrey/60 text-[16px] leading-[25.6px]"),children:e.description})]},t))})}),(0,n.jsx)("section",{className:(0,d.W)("bg-[#f7f7f7] mx-[32px] relative"),children:(0,n.jsx)("div",{className:(0,d.W)(" w-full relative"),children:(0,n.jsx)(c(),{src:(0,l.i)(t.lastImage).url(),alt:t.lastImage.alt||"Experience Humanoid",width:2440,height:2440,className:(0,d.W)("object-cover w-full"),quality:100,priority:!0})})}),(0,n.jsx)(j.Z,{data:{title:"Experience NEO",ctaText:"Opt in to receive updates. Unsubscribe anytime.",legalBlurb:"Opt in to receive updates. Unsubscribe anytime.",ctaButtonText:"Join waitlist"}})]})}var S=!0;function k(e){let[t]=(0,i.y)(e.comeBuildData,a.pv);return(0,n.jsx)(s.A,{seo:e.seo,globalSettings:e.globalSettings,children:(0,n.jsx)(N,{data:t})})}},52226:function(e){var t="undefined"!=typeof Element,r="function"==typeof Map,n="function"==typeof Set,a="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;
9e.exports=function(e,i){try{return function e(i,s){if(i===s)return!0;if(i&&s&&"object"==typeof i&&"object"==typeof s){var l,o,c,d;if(i.constructor!==s.constructor)return!1;if(Array.isArray(i)){if((l=i.length)!=s.length)return!1;for(o=l;0!=o--;)if(!e(i[o],s[o]))return!1;return!0}if(r&&i instanceof Map&&s instanceof Map){if(i.size!==s.size)return!1;for(d=i.entries();!(o=d.next()).done;)if(!s.has(o.value[0]))return!1;for(d=i.entries();!(o=d.next()).done;)if(!e(o.value[1],s.get(o.value[0])))return!1;return!0}if(n&&i instanceof Set&&s instanceof Set){if(i.size!==s.size)return!1;for(d=i.entries();!(o=d.next()).done;)if(!s.has(o.value[0]))return!1;return!0}if(a&&ArrayBuffer.isView(i)&&ArrayBuffer.isView(s)){if((l=i.length)!=s.length)return!1;for(o=l;0!=o--;)if(i[o]!==s[o])return!1;return!0}if(i.constructor===RegExp)return i.source===s.source&&i.flags===s.flags;if(i.valueOf!==Object.prototype.valueOf&&"function"==typeof i.valueOf&&"function"==typeof s.valueOf)return i.valueOf()===s.valueOf();if(i.toString!==Object.prototype.toString&&"function"==typeof i.toString&&"function"==typeof s.toString)return i.toString()===s.toString();if((l=(c=Object.keys(i)).length)!==Object.keys(s).length)return!1;for(o=l;0!=o--;)if(!Object.prototype.hasOwnProperty.call(s,c[o]))return!1;if(t&&i instanceof Element)return!1;for(o=l;0!=o--;)if(("_owner"!==c[o]&&"__v"!==c[o]&&"__o"!==c[o]||!i.$$typeof)&&!e(i[c[o]],s[c[o]]))return!1;return!0}return i!=i&&s!=s}(e,i)}catch(e){if((e.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw e}}},40275:function(e,t,r){"use strict";let n;r.d(t,{Kx:function(){return f},T:function(){return p},o_:function(){return m}});var a=r(67294);let i=new Uint8Array(16),s=[];for(let e=0;e<256;++e)s.push((e+256).toString(16).slice(1));var l={randomUUID:"undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};let o=["channel/disconnect","channel/response","channel/heartbeat"],c=["handshake/syn","handshake/syn-ack","handshake/ack"],d=e=>o.some(t=>t===e),u=e=>c.some(t=>t===e),x=({data:e={}})=>"object"==typeof e&&null!==e&&!Array.isArray(e)&&!("domain"in e)&&["id","type","from","to"].every(t=>t in e)&&e.type.startsWith("handshake/");function p(e,t,r){let[o,c]=(0,a.useState)(),[p,f]=(0,a.useState)(!1);(0,a.useEffect)(()=>{if(window.self===window.top&&!window.opener)return;let e=function(e){let t=window.self!==window.top||window.opener,r={buffer:[],id:null,origin:null,source:null,status:"connecting"};function a(t,a){if(u(t)||d(t)||"connecting"!==r.status&&"reconnecting"!==r.status){if(r.id&&r.origin&&r.source){let o={connectionId:r.id,data:a,domain:"sanity/channels",from:e.id,id:function(e,t,r){if(l.randomUUID&&!t&&!e)return l.randomUUID();let a=(e=e||{}).random||(e.rng||function(){if(!n&&!(n="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)))throw Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return n(i)})();if(a[6]=15&a[6]|64,a[8]=63&a[8]|128,t){r=r||0;for(let e=0;e<16;++e)t[r+e]=a[e];return t}return function(e,t=0){return s[e[t+0]]+s[e[t+1]]+s[e[t+2]]+s[e[t+3]]+"-"+s[e[t+4]]+s[e[t+5]]+"-"+s[e[t+6]]+s[e[t+7]]+"-"+s[e[t+8]]+s[e[t+9]]+"-"+s[e[t+10]]+s[e[t+11]]+s[e[t+12]]+s[e[t+13]]+s[e[t+14]]+s[e[t+15]]}(a)}(),to:e.connectTo,type:t};try{r.source.postMessage(o,{targetOrigin:r.origin})}catch(t){throw Error(`Failed to postMessage '${o.id}' on '${e.id}'`)}}}else r.buffer.push({type:t,data:a})}function o(t){if(x(t))console.error("Visual editing package mismatch detected! Please ensure you are using the latest version of Sanity Studio and any packages listed here:\nhttps://github.com/sanity-io/visual-editing");else if(function(t){let{data:r}=t;return"sanity/channels"===r.domain&&r.to===e.id&&r.from===e.connectTo&&"channel/response"!==r.type}(t)){let{data:n}=t;if(r.origin&&t.origin!==r.origin)return;if(t.source&&r.source!==t.source&&(r.source=t.source),u(n.type)&&n.data){if("handshake/syn"===n.type)return r.origin=t.origin,r.id=n.data.id,c("connecting"),void a("handshake/syn-ack",{id:r.id});if("handshake/ack"===n.type&&n.data.id===r.id)return void c("connected")}else if(n.connectionId===r.id&&t.origin===r.origin){if("channel/disconnect"===n.type)return void c("disconnected");{let t=[n.type,n.data];e.onEvent?.(...t),a("channel/response",{responseTo:n.id})}return}}}function c(t){r.status=t,e?.onStatusUpdate?.(t),"connected"===t&&function(){let e=[...r.buffer];r.buffer.splice(0,r.buffer.length),e.forEach(({type:e,data:t})=>{a(e,t)})}()}return window.addEventListener("message",o,!1),c("connecting"),{destroy:function(){["disconnected"].includes(r.status)||c("disconnected"),window.removeEventListener("message",o,!1)},inFrame:t,send:function(e,t){a(e,t)}}}({id:"preview-kit",connectTo:"presentation",onStatusUpdate(e){"connected"===e?f(!0):"disconnected"===e&&f(!1)}}),t=setTimeout(()=>c(e),0);return()=>{clearTimeout(t),e.destroy(),c(void 0)}},[r,t]);let m=JSON.stringify(Array.from(e.keys()));(0,a.useEffect)(()=>{"[]"!==m&&o&&p&&o.send("preview-kit/documents",{projectId:t,dataset:r,perspective:"previewDrafts",documents:Array.from(e.values())})},[m,o,p,r,e,t])}function f(e){let t=(0,a.useMemo)(()=>JSON.stringify(e||{}),[e]);return(0,a.useMemo)(()=>JSON.parse(t),[t])}function m(e){let{refreshInterval:t}=e,r=function(){let[e,t]=(0,a.useState)(!1);(0,a.useEffect)(()=>{t(navigator.onLine);let e=()=>t(!0),r=()=>t(!1);return window.addEventListener("online",e),window.addEventListener("offline",r),
9()=>{window.removeEventListener("online",e),window.removeEventListener("offline",r)}},[]);let r=(0,a.useSyncExternalStore)(h,()=>document.visibilityState,()=>"hidden");return!e||"hidden"===r}(),[n,i]=(0,a.useState)("hit"),s=(0,a.useCallback)(()=>(i("inflight"),()=>i("hit")),[]);return(0,a.useEffect)(()=>{if(!t||"hit"!==n)return;let e=setTimeout(()=>i("stale"),t);return()=>clearTimeout(e)},[t,n]),(0,a.useEffect)(()=>{if("hit"!==n)return;let e=()=>i("stale");return window.addEventListener("focus",e),()=>window.removeEventListener("focus",e)},[t,n]),(0,a.useEffect)(()=>{r&&"hit"===n&&i("stale"),r||"stale"!==n||i("refresh")},[r,n]),[n,s]}function h(e){return document.addEventListener("visibilitychange",e),()=>document.removeEventListener("visibilitychange",e)}},58113:function(e,t,r){"use strict";r.d(t,{x:function(){return n}});let n=(0,r(67294).createContext)(null)},90998:function(e,t,r){"use strict";r.d(t,{y:function(){return o}});var n=r(40275),a=r(67294),i=r(52226),s=r(72012),l=r(58113);function o(e,t,r,o){let{isEqual:c=i}=o||{},d=(0,a.useContext)(l.x),u=(0,n.Kx)(r),x=(0,a.useMemo)(()=>({subscribe:()=>()=>{},getSnapshot:()=>e}),[e]),p=(0,a.useMemo)(()=>(null==d?void 0:d(e,t,u))||{subscribe:()=>()=>{},getSnapshot:()=>e},[d,e,u,t]),[f]=(0,a.useState)(()=>{if(void 0===e)throw Error("initialSnapshot can't be undefined, if you don't want an initial value use null instead");try{return JSON.parse(JSON.stringify(e))}catch(t){return console.warn("Failed to deep clone initialSnapshot, this is likely an error and an indication that the snapshot isn't JSON serializable",{initialSnapshot:e,error:t}),e}}),m=(0,a.useCallback)(()=>f,[f]),h=(0,a.useCallback)(e=>e,[]),b=(0,s.useSyncExternalStoreWithSelector)((null==p?void 0:p.subscribe)||x.subscribe,(null==p?void 0:p.getSnapshot)||x.getSnapshot,m,h,c),y=null!==d;return[b,y&&f===b,y]}},82729:function(e,t,r){"use strict";function n(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}r.d(t,{_:function(){return n}})},41972:function(e,t,r){"use strict";function n(e,...t){let r=e.length-1;return e.slice(0,r).reduce((e,r,n)=>e+r+t[n],"")+e[r]}r.d(t,{Z:function(){return n}})}},function(e){e.O(0,[2962,8388,6885,7536,9432,3760,7614,5873,2888,9774,179],function(){return e(e.s=99879)}),_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.