PageSourceSearch

https://www.item.com/_next/static/immutable/chunks/3_c59v_wnc5zz.js

js item.com collected 2026-10-03 20:25:52 UTC 6,475 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,833128,e=>{"use strict";var r=e.i(843476),s=e.i(271645),a=e.i(994814),o=e.i(653145),n=e.i(50270),l=e.i(167881),m=e.i(874946),i=e.i(23750),t=e.i(184762),d=e.i(970065),c=e.i(174117),p=e.i(95187);let f=(0,p.createServerReference)("40d8b7d9a011336efe6b9ef78f1bbd6383812d5145",p.callServer,void 0,p.findSourceMapURL,"POST");var x=e.i(643531),u=e.i(948148),h=e.i(605164);e.s(["ContactForm",0,function(){let e=(0,u.useTranslations)("ContactsPage"),p=(0,h.usePostHog)(),[j,g]=(0,s.useState)(!1),F=n.z.object({firstName:n.z.string().min(1,{message:e("form_pannel.fname")+e("form_pannel.isRequired")}),lastName:n.z.string().min(1,{message:e("form_pannel.lname")+e("form_pannel.isRequired")}),email:n.z.string().email({message:e("form_pannel.email")+e("form_pannel.isRequired")}),phoneNumber:n.z.string().min(10,{message:e("form_pannel.phone")+e("form_pannel.isRequired")}),company:n.z.string().min(1,{message:e("form_pannel.company")+e("form_pannel.isRequired")}),primaryRole:n.z.string().min(1,{message:e("form_pannel.primaryRole")+e("form_pannel.isRequired")}),message:n.z.string().trim().min(1,{message:e("form_pannel.messageRequired")})}),b=(0,o.useForm)({resolver:(0,a.zodResolver)(F),defaultValues:{firstName:"",lastName:"",email:"",phoneNumber:"",company:"",primaryRole:"",message:""}}),N=async s=>{g(!0);try{await f(s),p.identify(s.email,{email:s.email,name:`${s.firstName} ${s.lastName}`,company:s.company,phone:s.phoneNumber,role:s.primaryRole}),p.capture("contact_form_submitted",{company:s.company,primary_role:s.primaryRole,message_length:s.message.length}),(0,c.toast)({description:(0,r.jsxs)("div",{className:"flex items-center",children:[(0,r.jsx)(x.Check,{className:"w-5 h-5 mr-2 text-success-foreground"}),(0,r.jsx)("div",{className:"text-sm",children:e("form_pannel.success_mssg")})]}),variant:"success"}),b.reset()}catch(r){p.captureException(r),(0,c.toast)({description:e("form_pannel.error_mssg"),variant:"destructive"})}finally{g(!1)}};return(0,r.jsx)(d.Card,{className:"p-6 w-full",children:(0,r.jsx)(m.Form,{...b,children:(0,r.jsxs)("form",{id:"contact-sales-form",onSubmit:b.handleSubmit(N),className:"space-y-4",children:[(0,r.jsxs)("div",{className:"flex flex-col md:flex-row space-y-4 md:space-y-0 md:space-x-4",children:[(0,r.jsx)(m.FormField,{control:b.control,name:"firstName",render:({field:s})=>(0,r.jsxs)(m.FormItem,{className:"w-full md:w-1/2",children:[(0,r.jsx)(m.FormLabel,{children:e("form_pannel.fname")}),(0,r.jsx)(m.FormControl,{children:(0,r.jsx)(i.Input,{placeholder:"John",...s})}),(0,r.jsx)(m.FormMessage,{})]})}),(0,r.jsx)(m.FormField,{control:b.control,name:"lastName",render:({field:s})=>(0,r.jsxs)(m.FormItem,{className:"w-full md:w-1/2",children:[(0,r.jsx)(m.FormLabel,{children:e("form_pannel.lname")}),(0,r.jsx)(m.FormControl,{children:(0,r.jsx)(i.Input,{placeholder:"Doe",...s})}),(0,r.jsx)(m.FormMessage,{})]})})]}),(0,r.jsxs)("div",{className:"flex flex-col md:flex-row space-y-4 md:space-y-0 md:space-x-4",children:[(0,r.jsx)(m.FormField,{control:b.control,name:"email",render:({field:s})=>(0,r.jsxs)(m.FormItem,{className:"w-full md:w-1/2",children:[(0,r.jsx)(m.FormLabel,{children:e("form_pannel.email")}),(0,r.jsx)(m.FormControl,{children:(0,r.jsx)(i.Input,{placeholder:"[email protected]",...s})}),(0,r.jsx)(m.FormMessage,{})]})}),(0,r.jsx)(m.FormField,{control:b.control,name:"phoneNumber",render:({field:s})=>(0,r.jsxs)(m.FormItem,{className:"w-full md:w-1/2",children:[(0,r.jsx)(m.FormLabel,{children:e("form_pannel.phone")}),(0,r.jsx)(m.FormControl,{children:(0,r.jsx)(i.Input,{placeholder:"(888) 888-8888",...s})}),(0,r.jsx)(m.FormMessage,{})]})})]}),(0,r.jsx)(m.FormField,{control:b.control,name:"company",render:({field:s})=>(0,r.jsxs)(m.FormItem,{children:[(0,r.jsx)(m.FormLabel,{children:e("form_pannel.company")}),(0,r.jsx)(m.FormControl,{children:(0,r.jsx)(i.Input,{placeholder:"e.g. UNIS",...s})}),(0,r.jsx)(m.FormMessage,{})]})}),(0,r.jsx)(m.FormField,{control:b.control,name:"primaryRole",render:({field:s})=>(0,r.jsxs)(m.FormItem,{children:[(0,r.jsx)(m.FormLabel,{children:e("form_pannel.primaryRole")}),(0,r.jsx)(m.FormControl,{children:(0,r.jsx)(i.Input,{placeholder:"e.g. Software Engineer",...s})}),(0,r.jsx)(m.FormMessage,{})]})}),(0,r.jsx)(m.FormField,{control:b.control,name:"message",render:({field:s})=>(0,r.jsxs)(m.FormItem,{children:[(0,r.jsx)(m.FormLabel,{children:e("form_pannel.message")}),(0,r.jsx)(m.FormControl,{children:(0,r.jsx)(t.Textarea,{placeholder:e("form_pannel.messagePlaceholder"),className:"resize-none min-h-[112px]",rows:4,...s})}),(0,r.jsx)(m.FormMessage,{})]})}),(0,r.jsx)(l.Button,{type:"submit",className:"w-full",disabled:j,children:j?e("form_pannel.buttons.btn_two"):e("form_pannel.buttons.btn_one")})]})})})}],833128)},970065,e=>{"use strict";var r=e.i(843476),s=e.i(271645),a=e.i(647163);let o=s.forwardRef(({className:e,...s},o)=>(0,r.jsx)("div",{ref:o,className:(0,a.cn)("rounded-lg border bg-card text-card-foreground shadow-sm",e),...s}));
1o.displayName="Card";let n=s.forwardRef(({className:e,...s},o)=>(0,r.jsx)("div",{ref:o,className:(0,a.cn)("flex flex-col space-y-1.5 p-6",e),...s}));n.displayName="CardHeader";let l=s.forwardRef(({className:e,...s},o)=>(0,r.jsx)("h3",{ref:o,className:(0,a.cn)("text-2xl font-semibold leading-none tracking-tight",e),...s}));l.displayName="CardTitle";let m=s.forwardRef(({className:e,...s},o)=>(0,r.jsx)("p",{ref:o,className:(0,a.cn)("text-sm text-muted-foreground",e),...s}));m.displayName="CardDescription";let i=s.forwardRef(({className:e,...s},o)=>(0,r.jsx)("div",{ref:o,className:(0,a.cn)("p-6 pt-0",e),...s}));i.displayName="CardContent";let t=s.forwardRef(({className:e,...s},o)=>(0,r.jsx)("div",{ref:o,className:(0,a.cn)("flex items-center p-6 pt-0",e),...s}));t.displayName="CardFooter",e.s(["Card",0,o,"CardContent",0,i,"CardDescription",0,m,"CardFooter",0,t,"CardHeader",0,n,"CardTitle",0,l])},184762,e=>{"use strict";var r=e.i(843476),s=e.i(271645),a=e.i(647163);let o=s.forwardRef(({className:e,...s},o)=>(0,r.jsx)("textarea",{className:(0,a.cn)("flex min-h-[80px] w-full rounded-md border border-input bg-secondary px-3 py-2 text-sm r
1ing-offset-background placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",e),ref:o,...s}));o.displayName="Textarea",e.s(["Textarea",0,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.