1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,83198,e=>{"use strict";e.s(["useErrorToast",()=>s]);var a=e.i(71645),l=e.i(75786),r=e.i(61514),t=e.i(82940);let s=function(e,s){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t.NOTIFICATION_TYPE.ERROR,d=(0,l.useAppDispatch)();(0,a.useEffect)(()=>{e&&d((0,r.setNotificationType)({type:i,label:s||e,description:s?e:"Â "}))},[d,s,e,i])}},50736,98394,e=>{"use strict";e.s(["Input",()=>m],50736);var a=e.i(43476),l=e.i(43794),r=e.i(62155),t=e.i(83198),s=e.i(82940);e.s(["INPUT_VARIANT",()=>d,"SIZE_INPUT",()=>i],98394);var i=function(e){return e.S="s",e.M="m",e.L="l",e}({}),d=function(e){return e.DEFAULT="default",e.ROUNDED="rounded",e}({});let o={[i.S]:"h-10 text-sm px-3 py-2",[i.M]:"h-11 text-base px-[13px] py-[10px]",[i.L]:"h-12 text-lg px-4 py-3"},n={[d.DEFAULT]:"rounded-md",[d.ROUNDED]:"rounded-[50px]"},m=e=>{let{id:m,label:c,type:u="text",value:x="",placeholder:p="",isDisable:b=!1,errorMsg:h="",errorLabel:f,errorToastType:g=s.NOTIFICATION_TYPE.ERROR,size:N=i.S,variant:y=d.DEFAULT,name:T,className:k="",onChange:v,startIcon:C=null,endIcon:I=null,inputClassName:w,...E}=e;return(0,t.useErrorToast)(h,f,g),(0,a.jsxs)("div",{className:(0,l.default)("w-full",k),children:[c&&(0,a.jsx)("label",{htmlFor:m,className:"inline-block text-black dark:text-white text-sm font-semibold mb-1.5 cursor-pointer",children:c}),(0,a.jsxs)("div",{className:"relative",children:[C&&(0,a.jsx)("div",{className:"max-w-6 max-h-6 overflow-hidden absolute left-4 top-1/2 -translate-y-1/2",children:C}),(0,a.jsx)("input",{id:m,name:T,className:(0,r.cx)("font-raleway",{"font-inter":"number"===u},"bg-white dark:bg-dark-blue-800 border border-grey-100 dark:border-dark-blue-400 w-full text-black dark:text-white font-medium shadow-none transition-colors","focus:border-primary focus:outline-none","placeholder:text-grey-200 dark:placeholder:text-dark-blue-400 placeholder:font-medium","overflow-hidden text-ellipsis","disabled:bg-[#F1F1F180] dark:disabled:bg-dark-blue-500 disabled:text-grey-200 dark:disabled:text-dark-blue-300 disabled:placeholder:text-grey-100 disabled:border-grey-100 dark:disabled:border-dark-blue-300 dark:disabled:opacity-[0.35]",o[N],n[y],{"pl-12":C},{"pr-10":h},{"pr-12":!h&&I},{"border-red-normal dark:border-red-normal focus:border-red-normal dark:focus:border-red-normal":h},w),disabled:b,value:x,type:u,placeholder:p,onChange:e=>{null==v||v(e)},...E}),h&&(0,a.jsx)("div",{className:"absolute right-3 top-1/2 -translate-y-1/2 w-5 h-5 rounded-full bg-red-normal flex items-center justify-center shrink-0",children:(0,a.jsx)("span",{className:"text-white text-[11px] font-bold leading-none select-none",children:"!"})}),!h&&I&&(0,a.jsx)("div",{className:"max-w-6 max-h-6 overflow-hidden absolute right-4 top-1/2 -translate-y-1/2",children:I})]})]})}},63507,e=>{"use strict";e.s(["isRequired",()=>r,"validateEmail",()=>l]);let a=/^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9-]+(?:\.[a-zA-Z0-9-]+)*$/,l=(e,l)=>e?e.match(a)?null:(null==l?void 0:l.localised)?"invalidEmail":"Invalid email":(null==l?void 0:l.localised)?"emailRequired":"Email is required",r=(e,a)=>e?null:(null==a?void 0:a.localised)?"requiredField":"This field is required"},78992,e=>{"use strict";e.s(["Textarea",()=>d]);var a=e.i(43476),l=e.i(43794),r=e.i(48148),t=e.i(62155),s=e.i(83198),i=e.i(82940);let d=e=>{let{label:d,id:o,name:n,value:m="",placeholder:c="",isDisable:u=!1,errorMsg:x="",errorLabel:p,errorToastType:b=i.NOTIFICATION_TYPE.ERROR,hintText:h="",className:f="",isOptional:g=!1,onChange:N,onFocus:y,minHeight:T="100px",maxLength:k,...v}=e,C=(0,r.useTranslations)("Common.textArea");return(0,s.useErrorToast)(x,p,b),(0,a.jsxs)("div",{className:(0,l.default)("flex flex-col w-full",f),children:[(0,a.jsxs)("div",{className:"flex items-center justify-between gap-5 mb-1.5",children:[d&&(0,a.jsxs)("label",{htmlFor:o,className:"inline-block text-black dark:text-white text-sm font-semibold cursor-pointer",style:{fontFamily:"var(--font-raleway)"},children:[d," ",g&&(0,a.jsxs)("span",{className:"text-gray-4 dark:text-dark-blue-400",children:["(",C("optional"),")"]})]}
1),k&&(0,a.jsx)("span",{className:"text-gray-3 dark:text-dark-blue-400 text-[10px] leading-none font-semibold",style:{fontFamily:"var(--font-raleway)"},children:C.rich("maxLength",{value:m.length,maxValue:200})})]}),(0,a.jsx)("textarea",{name:n,className:(0,t.cx)("h-25 rounded-md border border-grey-200 dark:border-dark-blue-400 bg-white dark:bg-dark-blue-800 py-2.5 px-3.25 w-full","text-black dark:text-white font-medium text-base leading-5 tracking-[-0.16px]","shadow-none transition-all","focus:border-primary focus:outline-none focus:shadow-[0px_1px_2px_0px_rgba(0,0,0,0.05),0px_0px_0px_1px_#5493d6]","placeholder:text-grey-200 dark:placeholder:text-dark-blue-400 placeholder:font-medium","disabled:bg-[rgba(241,241,241,0.5)] dark:disabled:bg-dark-blue-500 disabled:border-grey-100 dark:disabled:border-dark-blue-300 dark:disabled:opacity-[0.35] disabled:text-grey-100 dark:disabled:text-dark-blue-300 disabled:placeholder:text-grey-100","min-h-[".concat(T,"]"),{"border-red-normal dark:border-red-normal focus:border-red-normal dark:focus:border-red-normal focus:shadow-[0px_1px_2px_0px_rgba(0,0,0,0.05),0px_0px_0px_1px_#ff151e]":x}),style:{fontFamily:"var(--font-raleway)"},rows:5,cols:30,placeholder:c,disabled:u,value:m||"",onChange:e=>{N(e)},onFocus:()=>void 0!==y&&y(),id:o,maxLength:k,...v}),h&&(0,a.jsx)("span",{className:"text-grey-200 dark:text-dark-blue-400 text-sm font-medium leading-5 tracking-[-0.14px] mt-1.5 block",style:{fontFamily:"var(--font-raleway)"},children:h})]})}},68882,e=>{"use strict";e.s(["default",()=>y],68882);var a=e.i(43476),l=e.i(61745),r=e.i(48148),t=e.i(71645);let s=()=>(0,a.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"38",height:"38",viewBox:"0 0 38 38",fill:"none",children:[(0,a.jsx)("mask",{id:"mask0_21519_128049",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"38",height:"38",children:(0,a.jsx)("rect",{width:"38",height:"38",fill:"currentColor"})}),(0,a.jsx)("g",{mask:"url(#mask0_21519_128049)",children:(0,a.jsx)("path",{d:"M6.57693 9.5L19.0002 17.4167L31.4234 9.5H6.57693ZM6.82077 30.875C6.03359 30.875 5.35975 30.5948 4.79925 30.0343C4.23875 29.4738 3.9585 28.7999 3.9585 28.0127V9.98727C3.9585 9.20009 4.23875 8.52625 4.79925 7.96575C5.35975 7.40525 6.03359 7.125 6.82077 7.125H31.1796C31.9667 7.125 32.6406 7.40525 33.2011 7.96575C33.7616 8.52625 34.0418 9.20009 34.0418 9.98727V18.3607C34.0418 18.6972 33.928 18.9792 33.7002 19.2066C33.4725 19.4344 33.1904 19.5482 32.8539 19.5482C32.5172 19.5482 32.2352 19.4344 32.008 19.2066C31.7806 18.9792 31.6668 18.6972 31.6668 18.3607V11.7836L19.7705 19.399C19.6813 19.4618 19.4245 19.5358 19.0002 19.6211C18.8682 19.6211 18.7373 19.6038 18.6075 19.5692C18.4774 19.5349 18.3515 19.4782 18.2299 19.399L6.3335 11.7836V28.0127C6.3335 28.155 6.37915 28.2717 6.47045 28.363C6.56176 28.4543 6.67853 28.5 6.82077 28.5H15.2397C15.5762 28.5 15.8582 28.6139 16.0856 28.8416C16.3134 29.0693 16.4272 29.3514 16.4272 29.6879C16.4272 30.0246 16.3134 30.3066 16.0856 30.5338C15.8582 30.7613 15.5762 30.875 15.2397 30.875H6.82077ZM24.889 30.9178L33.0309 22.7759C33.2502 22.5566 33.5258 22.4444 33.8578 22.4394C34.1895 22.4341 34.47 22.5463 34.6993 22.7759C34.9289 23.0052 35.0437 23.2832 35.0437 23.6099C35.0437 23.9368 34.9289 24.215 34.6993 24.4443L25.8908 33.2532C25.6045 33.5392 25.2706 33.6823 24.889 33.6823C24.5074 33.6823 24.1734 33.5392 23.8871 33.2532L19.5421 28.9081C19.3228 28.6888 19.2106 28.4132 19.2056 28.0812C19.2006 27.7495 19.3127 27.4689 19.5421 27.2393C19.7714 27.01 20.0495 26.8953 20.3765 26.8953C20.7032 26.8953 20.9812 27.01 21.2105 27.2393L24.889 30.9178Z",fill:"currentColor"})})]});var i=e.i(2163),d=e.i(56e3),o=e.i(50736),n=e.i(98394),m=e.i(78992),c=e.i(62155),u=e.i(40596);let x=async e=>{let a={name:"".concat(e.firstName," ").concat(e.lastName).trim(),email:e.email,subject:"Contact us",message:e.comment},l=(0,u.contentEndpointFor)({resource:"support-email/send",params:"",limit:""});try{let e=await fetch(l,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(a)});if(!e.ok)throw Error("Failed to send email");return await e.json()}catch(e){throw console.error("Error sending email:",e),e}};var p=e.i(63507),b=e.i(75786),h=e.i(61514),f=e.i(82940),g=function(e){return e.FIRST_NAME="firstName",e.LAST_NAME="lastName",e.EMAIL="email",e.MESSAGE="message",e}(g||{});let N={firstName:"",lastName:"",email:"",message:""},y=()=>{var e,u,g,y,T,k,v,C,I;let w=(0,r.useTranslations)("ContactPage.form"),E=(0,l.useLocale)(),j=(0,b.useAppDispatch)(),[_,R]=(0,t.useState)(N),[A,O]=(0,t.useState)({}),[F,L]=(0,t.useState)(!1),[P,S]=(0,t.useState)(!1),U=e=>{let{name:a,value:l}=e.target;R(e=>({...e,[a]:l})),A[a]&&O(e=>{let l={...e};return delete l[a],l})},D=async e=>{if(e.preventDefault(),(()=>{let e={};return _.firstName.trim()||(e.firstName={label:w("errors.firstName.requiredLabel"),description:w("errors.firstName.requiredDesc"),type:f.NOTIFICATION_TYPE.ERROR}),_.email.trim()?(0,p.validateEmail)(_.email.trim())&&(e.email={label:w("errors.email.formatLabel"),description:w("errors.email.formatDesc"),type:f.NOTIFICATION_TYPE.ERROR}):e.email={label:w("errors.email.requiredLabel"),description:w("errors.email.requiredDesc"),type:f.NOTIFICATION_TYPE.ERROR},_.message.trim()||(e.message={label:w("errors.message.requiredLabel"),description:w("errors.message.requiredDesc"),type:f.NOTIFICATION_TYPE.ERROR}),O(e),0===Object.keys(e).length})()){L(!0);try{await x({firstName:_.firstName,lastName:_.lastName,email:_.email,comment:_.message}),R(N),O({}),S(!0)}catch(e){j((0,h.setNotificationType)({type:f.NOTIFICATION_TYPE.ERROR,locale:E}))}finally{L(!1)}}};return(0,a.jsxs)("form",{onSubmit:D,noValidate:!0,className:"w-full flex flex-col gap-4",children:[P&&(0,a.jsxs)("div",{className:(0,
1c.cx)("flex items-center gap-3 px-4 py-3 rounded-md bg-blue-wave-light dark:bg-dark-blue-500"),children:[(0,a.jsx)("div",{className:"shrink-0 w-[38px] h-[38px] text-primary flex items-center justify-center",children:(0,a.jsx)(s,{})}),(0,a.jsxs)("div",{className:"flex flex-col",children:[(0,a.jsx)("span",{className:"text-sm font-bold text-black dark:text-white leading-snug",children:w("success.title")}),(0,a.jsx)("span",{className:"text-sm font-normal text-gray-700 dark:text-dark-blue-100 leading-snug",children:w("success.description")})]})]}),(0,a.jsxs)("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-4",children:[(0,a.jsx)(o.Input,{id:"firstName",name:"firstName",type:"text",label:w("firstName.label"),placeholder:w("firstName.placeholder"),value:_.firstName,onChange:U,errorMsg:null==(e=A.firstName)?void 0:e.description,errorLabel:null==(u=A.firstName)?void 0:u.label,errorToastType:null==(g=A.firstName)?void 0:g.type,size:n.SIZE_INPUT.M,variant:n.INPUT_VARIANT.DEFAULT}),(0,a.jsx)(o.Input,{id:"lastName",name:"lastName",type:"text",label:w("lastName.label"),placeholder:w("lastName.placeholder"),value:_.lastName,onChange:U,size:n.SIZE_INPUT.M,variant:n.INPUT_VARIANT.DEFAULT})]}),(0,a.jsx)(o.Input,{id:"email",name:"email",type:"email",label:w("email.label"),placeholder:w("email.placeholder"),value:_.email,onChange:U,errorMsg:null==(y=A.email)?void 0:y.description,errorLabel:null==(T=A.email)?void 0:T.label,errorToastType:null==(k=A.email)?void 0:k.type,size:n.SIZE_INPUT.M,variant:n.INPUT_VARIANT.DEFAULT}),(0,a.jsx)(m.Textarea,{id:"message",name:"message",label:w("message.label"),placeholder:w("message.placeholder"),value:_.message,onChange:U,errorMsg:null==(v=A.message)?void 0:v.description,errorLabel:null==(C=A.message)?void 0:C.label,errorToastType:null==(I=A.message)?void 0:I.type,minHeight:"142px"}),(0,a.jsx)(i.default,{text:w("submit"),type:d.TYPE_BTN.PRIMARY,inputType:"submit",isFullFill:!0,isLoading:F,disabled:F,className:"lg:w-fit"})]})}}]);
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.