PageSourceSearch

https://tractian.com/_next/static/chunks/55492-e243627896f3e060.js

js tractian.com collected 2026-09-24 17:40:41 UTC 32,608 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[55492],{69809:function(e,t,i){i.d(t,{MultiStepConversionFormClient:function(){return U}});var l=i(57437),a=i(42586),r=i(99376),n=i(23664),s=i(2265),o=i(29501),d=i(70172),u=i(7261),c=i(32376),m=i(50434),p=i(26469),h=i(48175),f=i(1046),x=i(76303),b=i(84192),v=i(84344),g=i(17242),y=i(73842),j=i(74269),w=i(28176),N=i(87002);let S=e=>{let{percent:t}=e;return(0,l.jsx)("div",{className:"relative h-1 w-full overflow-hidden rounded-sm bg-slate-300",children:(0,l.jsx)("div",{className:"absolute left-0 top-0 h-full rounded-sm bg-green-600 transition-all duration-300",style:{width:"".concat(t,"%")}})})};var C=i(17615),k=i(57051);let F=e=>{let{locale:t}=e,i=C.i[t]||C.i.en;return k.Z.object().shape({name:k.Z.string().required(i.requiredField).nameValidation(t),email:k.Z.string().trim().required(i.requiredField).corporateEmailValidation(t),phone:k.Z.string().required(i.requiredField).verifyPhoneMinLength(t),token:k.Z.string().notRequired()})};var q=i(80738),z=i(33633),T=i(705);let V=e=>{let{column:t=!1,options:i,value:a,onChange:r,eventTracking:n,showRadio:o=!1}=e,d=n?(0,T.h)().mapEventTrackingToAttributes(n):{};return(0,l.jsx)("div",{className:t?"flex flex-col gap-2":"grid grid-cols-2 gap-2",children:i.map(e=>{let i=e.value===a;return(0,s.createElement)("button",{...d,className:"flex w-full items-center gap-2 rounded-sm border ".concat(t?"px-4 py-3 lg:py-3.5":"px-4 py-5","  text-left transition-colors  ").concat(o?"":"justify-center ").concat(i?"border-blue-600 bg-white":"border-slate-300 bg-white hover:border-blue-400"),key:e.value,onClick:()=>r(e.value),type:"button",children:[o&&(0,l.jsx)("span",{className:"flex size-4 shrink-0 items-center justify-center rounded-full border ".concat(i?"border-blue-600":"border-slate-400"),children:i&&(0,l.jsx)("span",{className:"size-2 rounded-full bg-blue-600"})}),(0,l.jsx)("span",{className:"text-slate-600 text-body-sm",children:e.label})]})})})},A=e=>{let{copy:t,value:i,onChange:r,onContinue:n,currentVendor:o,hasContinueBtnArrow:d}=e,u=(0,a.useLocale)(),m=o&&!(null==o?void 0:o.value)||!i,[p,h]=(0,s.use
1State)(""),f=()=>{n(),h("")},x={buttonSize:"large",className:"flex min-w-full items-center justify-center gap-2 !leading-6 text-body-sm disabled:bg-slate-400",disabled:m,onClick:f,type:"button",variant:"primary"},b=d?(0,l.jsx)(c.Fni,{className:"size-4 text-white"}):null,v=m?(0,l.jsxs)(q.z,{className:"".concat(x.className," !bg-slate-400 !text-white"),disabled:!1,onClick:()=>{let e={en:"Please select an option before continuing.",es:"Selecciona una opci\xf3n antes de continuar.",pt:"Selecione uma op\xe7\xe3o antes de continuar.",de:"Bitte w\xe4hlen Sie eine Option aus, bevor Sie fortfahren.",fr:"Veuillez s\xe9lectionner une option avant de continuer.",pl:"Wybierz opcję przed kontynuowaniem."};h(e[u]||e.en)},children:[t.steps.buttons.firstStepContinue,b]}):(0,l.jsxs)(q.z,{...x,children:[t.steps.buttons.firstStepContinue,b]});return(0,l.jsxs)("div",{className:"animate__animated animate__fadeIn flex min-h-[312px] flex-col justify-between gap-4 lg:min-h-[316px]",children:[(0,l.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,l.jsx)("p",{className:"font-bold text-slate-700 text-body-lg",children:t.steps.step1.question}),(0,l.jsx)(V,{onChange:e=>{r(e),o||f()},options:t.formFields.quantityOfAssets.options,value:i})]}),o&&(0,l.jsxs)("div",{className:"flex flex-col gap-3",children:[(0,l.jsx)("p",{className:"font-bold text-slate-700 text-title-md lg:text-body-xl",children:t.steps.step1.currentVendorQuestion}),(0,l.jsx)(z.h,{defaultValue:null==o?void 0:o.value,name:"currentVendor",setValue:e=>null==o?void 0:o.onChangeCurrentVendor(e),...t.formFields.currentVendor})]}),v,p&&(0,l.jsx)("p",{className:"text-center text-sm text-red-500",children:p})]})};var E=i(55674);let P=e=>{var t;let{copy:i,value:a,onChange:r,onContinue:n,hasContinueBtnArrow:s}=e;return(0,l.jsxs)("div",{className:"animate__animated animate__fadeIn flex h-[312px] flex-col gap-3 lg:h-[316px]",children:[(0,l.jsx)("p",{className:"font-bold text-slate-700 text-body-lg",children:i.steps.step2.question}),(0,l.jsx)("div",{className:"min-h-0 flex-1",children:(0,l.jsx)(E.U,{placeholder:null!==(t=i.formFields.jobTitle.placeholder)&&void 0!==t?t:i.formFields.startTyping,id:"jobTitle-multi-step-form",onChange:e=>r(e.target.value),value:a,variant:"formMultiStep",removeLabel:!0,takeFullWidthOnDesktop:!0})}),(0,l.jsxs)(q.z,{buttonSize:"large",className:"flex min-w-full !max-w-full items-center justify-center gap-2 !leading-6 text-body-sm disabled:bg-slate-400",disabled:!a.trim(),onClick:n,type:"button",variant:"primary",children:[i.steps.buttons.continue,s&&(0,l.jsx)(c.Fni,{className:"size-4 text-white"})]})]})};var I=i(14584);let M=e=>{let{copy:t,value:i,onChange:a,onContinue:r,hasContinueBtnArrow:n}=e;return(0,l.jsxs)("div",{className:"animate__animated animate__fadeIn flex h-[312px] flex-col gap-3 lg:h-[316px]",children:[(0,l.jsx)("p",{className:"font-bold text-slate-700 text-body-lg",children:t.steps.step3.question}),(0,l.jsx)("div",{className:"min-h-0 flex-1",children:(0,l.jsx)(I.t,{onChange:e=>{a(e),e&&r()},options:t.formFields.industrySector.options,placeholder:t.formFields.startTyping,relatedTerms:t.formFields.industrySectorRelatedTerms,value:i})}),(0,l.jsxs)(q.z,{buttonSize:"large",className:"flex min-w-full !max-w-full items-center justify-center gap-2 !leading-6 text-body-sm disabled:bg-slate-400",disabled:!i,onClick:r,type:"button",variant:"primary",children:[t.steps.buttons.continue,n&&(0,l.jsx)(c.Fni,{className:"size-4 text-white"})]})]})};var _=i(71971);let L={pt:"br",es:"mx"},O=e=>{var t,i,r;let{copy:n,formMethods:s,onSubmit:o,extraContent:d,hasContinueBtnArrow:u}=e,m=null!==(r=L[(0,a.useLocale)()])&&void 0!==r?r:"us",{register:p,formState:{errors:h,isSubmitting:f}}=s;return(0,l.jsxs)("form",{className:"animate__animated animate__fadeIn flex min-h-[312px] flex-col justify-between gap-4 lg:min-h-[316px]",onSubmit:o,children:[(0,l.jsxs)("div",{className:"flex flex-col gap-3",children:[(0,l.jsx)("p",{className:"font-bold text-slate-700 text-body-lg",children:n.steps.step4.question}),(0,l.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,l.jsx)(E.U,{errorMessage:null===(t=h.name)||void 0===t?void 0:t.message,id:"name-multi-step-form",placeholder:n.formFields.name.label,variant:"formMultiStep",removeLabel:!0,...p("name")}
1),(0,l.jsx)(E.U,{errorMessage:null===(i=h.email)||void 0===i?void 0:i.message,id:"email-multi-step-form",placeholder:n.formFields.corporativeEmail.label,variant:"formMultiStep",removeLabel:!0,...p("email")}),(0,l.jsx)(_.g,{defaultValue:s.getValues("phone"),forcedCountry:m,formMethods:s,id:"phone-multi-step-form",name:"phone",variant:"formMultiStep"})]})]}),d,(0,l.jsxs)(q.z,{buttonSize:"large",className:"flex min-w-full !max-w-full items-center justify-center gap-2 !leading-6 text-body-sm",isLoading:f,type:"submit",variant:"primary",children:[n.steps.buttons.continue,u&&(0,l.jsx)(c.Fni,{className:"size-4 text-white"})]})]})},D=e=>{let{copy:t,value:i,onChange:a,onSubmit:r,isSubmitting:n}=e;return(0,l.jsxs)("div",{className:"animate__animated animate__fadeIn flex h-[312px] flex-col gap-3 lg:h-[316px]",children:[(0,l.jsxs)("p",{className:"font-bold text-slate-700 text-body-lg",children:[t.steps.step5.question," ",(0,l.jsx)("span",{className:"font-normal text-slate-400 text-body-sm",children:t.steps.step5.optional})]}),(0,l.jsx)("div",{className:"overflow-y-auto pr-1",children:(0,l.jsx)(V,{onChange:a,options:t.formFields.howDidYouHearAboutUs.options,value:i,column:!0,showRadio:!0})}),(0,l.jsx)(q.z,{buttonSize:"large",className:"min-w-full !max-w-full !leading-6 text-body-sm",isLoading:n,onClick:r,type:"button",variant:"cta",children:t.steps.buttons.send})]})},R={quantityOfAssets:"",name:"",email:"",phone:"",jobTitle:"",industrySector:"",howDidYouHearAboutUs:""},W=e=>"step".concat(e),U=e=>{var t;let{copy:i,dynamicOptionalProps:C,thanksCopy:k,campaign:q}=e,z=(0,a.useLocale)(),T=(0,r.usePathname)(),V=(0,n.U0)(),{dispatch:E}=(0,m.I)(),[I,_]=(0,s.useState)(1),[L,U]=(0,s.useState)(R),[B,Z]=(0,s.use
1State)(!1),[H,$]=(0,s.useState)(!1),[Y,J]=(0,s.useState)(!1),[G,K]=(0,s.useState)(!1),[Q,X]=(0,s.useState)(""),[ee,et]=(0,s.useState)(""),ei=(0,s.useRef)(null),el=(0,s.useRef)(null),ea=(0,s.useRef)(!1),[er,en]=(0,s.useState)(null),[es,eo]=(0,s.useState)(!1),ed=(0,s.useRef)(new Set),eu=(0,s.useCallback)(e=>{ed.current.has(e)||(ed.current.add(e),null==V||V.capture("website_demo_form_multi_step_completed_step",{step_completed:e}))},[V]);(0,s.useLayoutEffect)(()=>{if(!ea.current){ea.current=!0;return}eo(!0);let e=setTimeout(()=>eo(!1),450);return()=>clearTimeout(e)},[I,H]),(0,s.useLayoutEffect)(()=>{let e=ei.current;if(!e)return;let t=!0,i=new ResizeObserver(e=>{let i=e[0].contentRect.height;t||(eo(!0),clearTimeout(el.current),el.current=setTimeout(()=>eo(!1),320)),en(i),t=!1});return i.observe(e),()=>{i.disconnect(),clearTimeout(el.current)}},[]);let ec=(0,o.cI)({resolver:(0,y.X)(F({locale:z}))}),{watch:em}=ec,[ep,eh,ef]=em(["email","name","phone"]);(0,h.g)({email:ep,name:eh,phone:ef});let{isICP:ex,sniperScore:eb}=(0,p.P)({email:ep||L.email||"",quantityOfAssets:L.quantityOfAssets}),ev=()=>{_(e=>{let t=Math.min(e+1,5);return e<t&&eu(W(e)),t})},eg=()=>{J(!1),(null==C?void 0:C.onThanks)?C.onThanks({firstName:Q,industrySector:ee}):K(!0)},ey=async()=>{Z(!0);try{var e,t,l,a;let r=(0,b.v)(i.formFields.industrySector.options),n=(0,d.fe)({phone:L.phone}),s=(null==n?void 0:null===(e=n.country)||void 0===e?void 0:e.name)||"United States",o=(0,f.e)(null==n?void 0:null===(t=n.country)||void 0===t?void 0:t.iso2),c=(0,g.J)(L.name),m={firstname:c.firstname,lastname:c.lastname,email:L.email,phone:L.phone,...(0,x.i)(L.jobTitle),page:T,industrySector:L.industrySector,industrySectorInternalValue:r[L.industrySector]||L.industrySector,isRequestVisit:!1,countrySelect:s,globalRegion:o,icpEarlyBookingProposed:ex,numberOfAssetsByRange:L.quantityOfAssets,competitors:null==L?void 0:L.currentVendor,howDidYouHearAboutUs:null!==(a=null==L?void 0:L.howDidYouHearAboutUs)&&void 0!==a?a:null,campaign:q};if(E.demoForms.submitDemoFormsFirstStep({userData:{email:m.email,fullname:L.name,industrySector:m.industrySector,jobTitle:m.jobTitle||m.jobTitlePlainText,phone:m.phone,isIcp:ex,companyScore:null==eb?void 0:eb.companyScore,contactScore:null==eb?void 0:eb.contactScore,hubspotScore:null==eb?void 0:eb.hubspotScore,numberOfAssetsByRange:L.quantityOfAssets,globalRegion:o,competitors:null==m?void 0:m.competitors},dimensions:{formType:"fixed_section",pageType:"landing_page",position:"page",product:"smart",...null==C?void 0:C.dimensions}}),!await (0,v.F)({formVariant:"landingPageForm",data:m,url:T,locale:z})){u.toast.error(i.formFields.toastErrorMessage.genericError);return}eu("step5"),X(c.firstname),et(L.industrySector),(null==C?void 0:C.onThanks)?ex?J(!0):C.onThanks({firstName:c.firstname,industrySector:L.industrySector}):($(!0),ex?J(!0):K(!0)),null==C||null===(l=C.onSubmit)||void 0===l||l.call(C)}finally{Z(!1)}},ej=(0,l.jsxs)("div",{className:"animate__animated animate__fadeIn flex h-[334px] w-full flex-col items-center justify-center gap-4 px-4 py-12 text-center lg:h-[328px]",children:[(0,l.jsx)("div",{className:"flex size-12 items-center justify-center rounded-full bg-green-600",children:(0,l.jsx)(c.Hcq,{className:"size-6 text-white"})}),(0,l.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,l.jsx)("h3",{className:"font-semibold text-slate-700 text-title-xs lg:text-title-sm",children:i.steps.thanks.title}),(0,l.jsx)("p",{className:"text-slate-500 text-body-sm",children:i.steps.thanks.subtitle})]})]}),ew=H?ej:(0,l.jsx)(l.Fragment,{children:(0,l.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,l.jsxs)("div",{className:"flex h-4 items-center gap-2",children:[I>1&&(0,l.jsx)("button",{"aria-label":"Go back",className:"shrink-0 text-slate-500 hover:text-slate-300",onClick:()=>{_(e=>Math.max(e-1,1))},type:"button",children:(0,l.jsx)(c.oiG,{className:"size-4 rotate-90"})}),(0,l.jsx)("div",{className:"flex-1",children:(0,l.jsx)(S,{percent:I/5*100})})]}),(0,l.jsxs)(l.Fragment,{children:[1===I&&(0,l.jsx)(A,{onChange:e=>U(t=>({...t,quantityOfAssets:e})),copy:i,onContinue:ev,value:L.quantityOfAssets,...(null==C?void 0:C.hasCurrentVendorAskInStep1)&&{currentVendor:{onChangeCurrentVendor:e=>U(t=>({...t,currentVendor:e})),value:L.currentVendor}},hasContinueBtnArrow:null==C?void 0:C.hasContinueBtnArrow}),2===I&&(0,l.jsx)(P,{onChange:e=>U(t=>({...t,jobTitle:e})),copy:i,hasContinueBtnArrow:null==C?void 0:C.hasContinueBtnArrow,onContinue:ev,value:L.jobTitle}),3===I&&(0,l.jsx)("div",{className:"relative",children:(0,l.jsx)(M,{onChange:e=>U(t=>({...t,industrySector:e})),copy:i,hasContinueBtnArrow:null==C?void 0:C.hasContinueBtnArrow,onContinue:ev,value:L.industrySector})}),4===I&&(0,l.jsx)(O,{copy:i,formMethods:ec,hasContinueBtnArrow:null==C?void 0:C.hasContinueBtnArrow,onSubmit:e=>{ec.handleSubmit(e=>{U(t=>({...t,name:e.name,email:e.email,phone:e.phone})),ev()})(e)}}),5===I&&(0,l.jsx)(D,{onChange:e=>U(t=>({...t,howDidYouHearAboutUs:e})),copy:i,isSubmitting:B,onSubmit:ey,value:L.howDidYouHearAboutUs})]})]})});return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)("div",{className:"flex w-full max-w-[420px] flex-col gap-4 xl:max-w-[430px]",children:[(0,l.jsx)("div",{className:"w-full rounded-sm border border-slate-300 bg-slate-50 p-5 lg:border-0 ".concat(null!==(t=null==C?void 0:C.customShadow)&&void 0!==t?t:"shadow-md"),children:(0,l.jsx)("div",{style:{height:null===er?"auto":er,clipPath:es?"inset(0 -1px -4px)":"none",transition:null===er?"none":"height 400ms ease"},children:(0,l.jsx)("div",{ref:ei,children:ew})})}),(0,l.jsx)("p",{dangerouslySetInnerHTML:{__html:i.formFields.privacyDisclaimer},className:"text-xs text-slate-300 ".concat((null==C?void 0:C.disclaimerTextAlignment)==="left"?"text-center lg:text-left":"text-center"),style:{color:null==C?void 0:C.disclaimerColor}})]}),(0,l.jsx)(j.u,{isOpen:Y,setIsOpen:J,children:(0,l.jsx)("div",{className:"w-full rounded-sm bg-white md:w-auto",children:(0,l.jsx)(w.P,{onScheduled:eg,onSkip:eg,prefill:{name:L.name,email:L.email}})})}),(0,l.jsx)(j.u,{isOpen:G,setIsOpen:K,children:(0,l.jsx)(N.y,{copy:k,firstName:Q,formStage:"THANKS",industrySector:ee,setFormStage:()=>{}})})]})}},90723:function(e,t,i){i.d(t,{VideoContainer:function(){return r}});var l=i(57437),a=i(93871);let r=e=>{let{image:t,width:i,height:r,videoSourceUrl:n,className:s}=e;return(0,l.jsxs)("div",{className:"relative w-full overflow-hidden ".concat(s),style:{paddingTop:"".concat((100*r/i).toFixed(3),"%")},children:[(0,l.jsx)("video",{autoPlay:!0,className:"hidden-controls absolute left-0 top-0 z-10 h-full w-full",loop:!0,muted:!0,preload:"none",playsInl
1ine:!0,children:(0,l.jsx)("source",{src:n,type:"video/mp4"})},"video_src_".concat(n)),(0,l.jsx)("div",{className:"absolute left-0 top-0 mx-auto h-full w-full",children:(0,l.jsx)(a.d,{alt:t.alt,className:"object-contain",fetchPriority:"high",height:r,loading:"eager",priority:!0,src:t.src,width:i})})]})}},9690:function(e,t,i){i.d(t,{M:function(){return a}});var l=i(57437);let a=e=>{let{errorMessage:t,centered:i=!1,className:a,...r}=e;return!!t&&(0,l.jsx)("label",{className:"text-body-sm ".concat(a," ").concat(i?"mx-auto":""),...r,children:(0,l.jsx)("p",{className:"text-red-600",children:t})})}},14584:function(e,t,i){i.d(t,{t:function(){return p}});var l=i(57437),a=i(42586),r=i(2265),n=i(705);let s={en:"Related",es:"Relacionados",pt:"Relacionados",pl:"Powiązane",de:"Verwandte",fr:"Associ\xe9s"},o=e=>e in s?s[e]:s.en,d=()=>(0,l.jsxs)("svg",{fill:"none",height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg",children:[(0,l.jsx)("circle",{cx:"8.5",cy:"8.5",r:"5.5",stroke:"#94a3b8",strokeWidth:"1.5"}),(0,l.jsx)("path",{d:"M14.5 14.5L18 18",stroke:"#94a3b8",strokeLinecap:"round",strokeWidth:"1.5"})]}),u=()=>(0,l.jsxs)("svg",{fill:"none",height:"16",viewBox:"0 0 16 16",width:"16",xmlns:"http://www.w3.org/2000/svg",children:[(0,l.jsx)("circle",{cx:"8",cy:"8",fill:"#94a3b8",r:"7"}),(0,l.jsx)("path",{d:"M5.5 5.5L10.5 10.5M10.5 5.5L5.5 10.5",stroke:"white",strokeLinecap:"round",strokeWidth:"1.5"})]}),c=e=>e.normalize("NFD").replace(/[\u0300-\u036f]/g,"").toLowerCase(),m=(e,t)=>{if(!t)return e;let i=c(e).indexOf(c(t));return -1===i?e:(0,l.jsxs)(l.Fragment,{children:[e.slice(0,i),(0,l.jsx)("strong",{className:"font-semibold text-slate-600",children:e.slice(i,i+t.length)}),e.slice(i+t.length)]})},p=e=>{let{options:t,value:i,onChange:s,placeholder:p="Search...",relatedTerms:h,eventTracking:f}=e,x=o((0,a.useLocale)()),[b,v]=(0,r.useState)(""),g=f?(0,n.h)().mapEventTrackingToAttributes(f):{},y=(0,r.useMemo)(()=>b?t.filter(e=>c(e.label).includes(c(b))):t,[t,b]);(0,r.useEffect)(()=>{if(i){let e=t.find(e=>e.value===i);v((null==e?void 0:e.label)||"")}else v("")},[i,t]);let j=e=>{s(e.value),v(e.label)},w=i?"":b,N=new Set(y.map(e=>e.value)),S=h&&b&&!i?t.filter(e=>{var t;return!N.has(e.value)&&(null===(t=h[e.value])||void 0===t?void 0:t.some(e=>c(e).includes(c(b))))}):[];return(0,l.jsxs)("div",{className:"flex h-full min-h-0 w-full flex-col gap-2",children:[(0,l.jsxs)("div",{className:"flex h-12 shrink-0 items-center overflow-hidden rounded-sm border border-slate-300 bg-white",children:[(0,l.jsx)("input",{className:"h-full min-w-0 flex-1 bg-white px-3 text-slate-800 outline-none text-body-sm placeholder:text-slate-500",onChange:e=>{v(e.target.value),i&&s("")},placeholder:p,type:"text",value:b}),(i||b)&&(0,l.jsx)("button",{className:"flex shrink-0 items-center justify-center px-3",onClick:e=>{e.stopPropagation(),s(""),v("")},type:"button",children:(0,l.jsx)(u,{})}),(0,l.jsx)("span",{className:"flex h-full shrink-0 items-center justify-center border-l border-slate-300 px-3",children:(0,l.jsx)(d,{})})]}),(0,l.jsxs)("ul",{className:"min-h-0 flex-1 overflow-y-auto",children:[y.map(e=>(0,l.jsx)("li",{className:"border-b border-slate-200 last:border-b-0 hover:bg-slate-200",children:(0,l.jsx)("button",{...g,className:"w-full px-1 py-3 text-left text-slate-500 text-body-sm hover:font-medium hover:text-slate-900",onClick:()=>j(e),type:"button",children:m(e.label,w)})},e.value)),S.length>0&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("li",{className:"px-1 pb-1 pt-3 text-xs font-semibold uppercase tracking-wide text-slate-400",children:x}),S.map(e=>(0,l.jsx)("li",{className:"border-b border-slate-200 last:border-b-0 hover:bg-slate-200",children:(0,l.jsx)("button",{...g,className:"w-full px-1 py-3 text-left text-slate-600 text-body-sm hover:font-medium hover:text-slate-900",onClick:()=>j(e),type:"button",children:e.label})},e.value))]})]})]})}},69336:function(e,t,i){i.d(t,{T:function(){return r}});var l=i(57437);let a=(0,i(77712).j)(["my-1","text-left"],{variants:{variant:{primary:["text-slate-700"],secondary:["text-slate-700"],roiCalculator:[],roiCalculatorIndustrySector:[],miniROISmart:[],tertiary:["text-slate-50"],formMultiStep:["text-slate-700"]},error:{true:["border-2","border-red-400"],false:[]}},defaultVariants:{variant:"primary"}}),r=e=>{let{id:t,isRequired:i,className:r,variant:n,label:s,error:o,...d}=e;return s?(0,l.jsxs)("label",{className:a({variant:n,error:o,className:r}),htmlFor:t,...d,children:[s,i&&(0,l.jsx)("span",{className:"pl-1 text-red-500",children:"*"})]}):null}},91407:function(e,t,i){i.d(t,{I:function(){return n}});var l=i(57437),a=i(2265);let r=(0,i(77712).j)(["rounded-sm","p-3","text-body-md","outline","ring-0","w-full"],{variants:{variant:{primary:["placeholder:text-slate-500","text-slate-700","bg-white","outline-1","outline-slate-400","hover:outline-slate-700","focus:outline-2","focus:outline-blue-600","disabled:bg-slate-50","disabled:cursor-not-allowed","disabled:opacity-70"],secondary:["placeholder:text-slate-500","text-slate-700","bg-white","outline-1","outline-slate-400","hover:outline-slate-700","focus:outline-2","focus:outline-blue-600","disabled:bg-slate-100","disabled:cursor-not-allowed","disabled:opacity-70"],roiCalculator:["border-b-2","border-blue-600","bg-transparent","outline-none"],roiCalculatorIndustrySector:[],miniROISmart:["border","border-blue-200","bg-slate-50","rounded-sm","focus:border-blue-600","outline-none","disabled:opacity-50"],tertiary:["h-full","border","bg-gray-200","bg-opacity-20","bg-clip-padding","py-2","text-slate-50","placeholder-slate-50","backdrop-blur-sm","backdrop-filter","autofill:transparent","autofill:bg-opacity-20"],formMultiStep:["text-body-sm","placeholder:text-slate-500","text-slate-700","bg-white","outline-1","outline-slate-300","focus:outline-1","focus:outline-blue-600","disabled:bg-slate-50","disabled:cursor-not-allowed","disabled:opacity-70"]},error:{true:["!outline-red-500"],false:[]},icon:{true:["!pl-[2.5rem]"],false:[]}},defaultVariants:{variant:"primary"}}),n=(0,a.forwardRef)((e,t)=>{let{variant:i,error:n,className:s,id:o,errorMessage:d,iconProps:u,...c}=e,[m,p]=(0,a.useState)(!1),{element:h,className:f}=u||{};return(0,l.jsxs)("div",{className:"group relative w-full",onMouseEnter:()=>p(!0),onMouseLeave:()=>p(!1),children:[(0,l.jsx)("input",{className:r({variant:i,error:n,icon:!!u,className:s}),id:o,onInvalid:e=>{e.preventDefault()},ref:t,...c}),u&&(0,l.jsx)("span",{className:"absolute left-[0.75rem] top-[30%] ".concat(f||""),children:h}),n&&"number"!==c.type&&(0,l.jsx)("div",{className:"absolute right-4 top-1/2 flex -translate-y-1/2 items-center justify-center",children:(0,l.jsx)("span",{className:"relative flex size-5 items-center justify-center rounded-full bg-red-500 font-bold text-white text-tag",children:"!"})}),n&&m&&"number"===c.type&&(0,l.jsxs)("div",{className:"pointer-events-none absolute -bottom-[calc(100%-12px)] left-2 z-40 flex items-center justify-center gap-2 border border-slate-100 bg-white px-4 py-2 drop-shadow-md before:absolute before:-top-2 before:left-4 before:size-4 before:rotate-45 before:border-l before:border-t before:border-slate-100 before:bg-white",children:[(0,l.jsx)("span",{className:"flex size-4 items-center justify-center rounded-full bg-red-500 font-bold text-white text-tag",children:"!"}),(0,l.jsx)("p",{className:"text-body-sm",children:d})]}),n&&"number"===c.type&&(0,l.jsxs)("div",{className:"mt-1 flex items-center gap-2 sm:hidden",children:[(0,l.jsx)("span",{className:"flex size-4 items-center justify-center rounded-full bg-red-500 text-[10px] font-bold text-white",children:"!"}),(0,l.jsx)("p",{className:"text-red-500 text-body-sm",children:d})]}),n&&"email"===c.type&&(0,l.jsxs)("div",{className:"mt-1 flex items-center gap-2 sm:hidden",children:[(0,l.jsx)("span",{className:"flex size-4 items-center justify-center rounded-full bg-red-500 text-[10px] font-bold text-white",children:"!"}),(0,l.jsx)("p",{className:"text-red-500 text-body-sm",children:d})]})]})});n.displayName="Input"},65364:function(e,t,i){i.r(t),i.d(t,{ModalButton:function(){return s}});var l=i(57437),a=i(19580),r=i(57337),n=i(80738);let s=e=>{let{children:t,onClick:i,customEventData:s,customEventVariant:o,...d}=e,{product:u}=(0,a.p)();
1return u&&"data"in s&&(s.data={...s.data,product:u}),(0,l.jsx)(n.z,{onClick:e=>{(0,r.L)({eventName:o,data:s}),i&&i(e)},...d,children:t})}},17615:function(e,t,i){i.d(t,{i:function(){return l}});let l={pt:{requiredField:"Campo obrigat\xf3rio!",requiredSelectField:"Campo obrigat\xf3rio!",requiredMultiSelectField:"Campo obrigat\xf3rio, selecione uma ou mais op\xe7\xf5es!",requiredNumberTooLarge:"O valor \xe9 muito grande. Tente um valor menor",requiredNumberPositive:"O valor deve ser maior que 0",minLength:"O campo deve ter no m\xednimo {min} caracteres"},es:{requiredField:"\xa1Campo obligatorio!",requiredSelectField:"\xa1Campo obligatorio!",requiredMultiSelectField:"\xa1Campo obligatorio, selecciona una o m\xe1s opciones!",requiredNumberTooLarge:"El valor es demasiado alto. Pruebe con un valor menor",requiredNumberPositive:"El valor debe ser superior a 0",minLength:"El campo debe tener al menos {min} caracteres"},en:{requiredField:"This field is required!",requiredSelectField:"This field is required!",requiredMultiSelectField:"Required field, select one or more options!",requiredNumberTooLarge:"The value is too big. Try a smaller value",requiredNumberPositive:"The value must be greater than 0",minLength:"The field must have at least {min} characters"},de:{requiredField:"Dieses Feld ist erforderlich!",requiredSelectField:"Dieses Feld ist erforderlich!",requiredMultiSelectField:"Pflichtfeld, w\xe4hlen Sie eine oder mehrere Optionen!",requiredNumberTooLarge:"Der Wert ist zu gro\xdf. Versuchen Sie einen kleineren Wert",requiredNumberPositive:"Der Wert muss gr\xf6\xdfer als 0 sein",minLength:"Das Feld muss mindestens {min} Zeichen enthalten"},fr:{requiredField:"Ce champ est obligatoire !",requiredSelectField:"Ce champ est obligatoire !",requiredMultiSelectField:"Champ obligatoire, s\xe9lectionnez une ou plusieurs options !",requiredNumberTooLarge:"La valeur est trop grande. Essayez une valeur plus petite",requiredNumberPositive:"La valeur doit \xeatre sup\xe9rieure \xe0 0",minLength:"Le champ doit contenir au moins {min} caract\xe8res"},pl:{requiredField:"To pole jest wymagane!",requiredSelectField:"To pole jest wymagane!",requiredMultiSelectField:"Pole wymagane, wybierz jedną lub więcej opcji!",requiredNumberTooLarge:"Wartość jest zbyt duża. Spr\xf3buj mniejszej wartości",requiredNumberPositive:"Wartość musi być większa niż 0",minLength:"Pole musi zawierać co najmniej {min} znak\xf3w"}}},4676:function(e,t,i){i.d(t,{Y:function(){return l}});let l=/^(?!.*@(?:gmail|googlemail|yahoo|ymail|hotmail|outlook|live|msn|icloud|me|aol|proton|pm|gmx|yandex|zoho)(?:\..+)?$)[^\s@]+@[^\s@]+\.[^\s@]{2,}$/i},19580:function(e,t,i){i.d(t,{ProductPageContextProvider:function(){return n},p:function(){return s}});var l=i(57437),a=i(2265);let r=(0,a.createContext)(null),n=e=>{let{children:t,product:i}=e;return(0,l.jsx)(r.Provider,{value:{product:i},children:t})},s=()=>(0,a.useContext)(r)||{product:"all"}},10387:function(e,t,i){i.d(t,{b:function(){return l}});function l(e){let t=(e=e.replace(/\D/g,"")).startsWith("52"),i=e.startsWith("55"),l=e.startsWith("1"),a=7;return t?a=12:i?a=12:l?a=11:["33","34","41"].some(t=>e.startsWith(t))?a=11:e.startsWith("44")?a=11:["49","39"].some(t=>e.startsWith(t))?a=9:e.startsWith("43")&&(a=6),e.length>=a&&e.length<=15}},57051:function(e,t,i){i.d(t,{Z:function(){return h}});var l=i(34422),a=i(1474);let r={pt:{generalEmailFormat:"Email inv\xe1lido. Verifique a utiliza\xe7\xe3o de caract\xe9res especiais!",notCorporateEmail:"Insira um email corporativo v\xe1lido!"},es:{generalEmailFormat:"\xa1Correo electr\xf3nico inv\xe1lido. Compruebe el uso de caracteres especiales!",notCorporateEmail:"\xa1Introduzca una cuenta de correo electr\xf3nico corporativa v\xe1lida!"},en:{generalEmailFormat:"Invalid email. Check for special characters!",notCorporateEmail:"Enter a valid corporate email address!"},de:{generalEmailFormat:"Ung\xfcltige E-Mail. Pr\xfcfen Sie Sonderzeichen!",notCorporateEmail:"Geben Sie eine g\xfcltige gesch\xe4ftliche E-Mail-Adresse ein!"},fr:{generalEmailFormat:"E-mail invalide. V\xe9rifiez les caract\xe8res sp\xe9ciaux !",notCorporateEmail:"Entrez une adresse e-mail professionnelle valide !"},pl:{generalEmailFormat:"Nieprawidłowy e-mail. Sprawdź znaki specjalne!",notCorporateEmail:"Wprowadź poprawny firmowy adres e-mail!"}},n=/^[a-z0-9._%+-]+@((?!(.*\.)?(ipn|unam|essw|wkkq|tecnm|rioverde\.tecnm|tec\.mx)\.))+(?!.*(\.ipn|\.unam|\.essw|\.wkkq|\.tecnm|\.rioverde\.tecnm|tec\.mx)$).*$/i;var s=i(4676);let o=RegExp("^[a-zA-Z0-9._+-]+@(?:(?:".concat("gmail\\.com|hotmail\\.com|outlook\\.com|yaho
1o\\.com|icloud\\.com|protonmail\\.com|aol\\.com|live\\.com|msn\\.com|me\\.com",")|(?:[a-zA-Z0-9-]+\\.)+[a-zA-Z]{2,})$"),"i"),d={pt:{invalid:"N\xfamero inv\xe1lido, verifique se est\xe1 completo!"},es:{invalid:"\xa1Escriba el n\xfamero de tu tel\xe9fono m\xf3vil correctamente!"},en:{invalid:"Invalid phone number, please check if it is complete!"},de:{invalid:"Ung\xfcltige Telefonnummer, bitte pr\xfcfen Sie die Vollst\xe4ndigkeit!"},fr:{invalid:"Num\xe9ro de t\xe9l\xe9phone invalide, v\xe9rifiez qu’il est complet !"},pl:{invalid:"Nieprawidłowy numer telefonu, sprawdź czy jest kompletny!"}};var u=i(10387);let c={pt:{invalid:"CNPJ Inv\xe1lido!"},es:{invalid:"\xa1CNPJ Inv\xe1lido!"},en:{invalid:"Invalid CNPJ!"},de:{invalid:"Ung\xfcltige CNPJ!"},fr:{invalid:"CNPJ invalide !"},pl:{invalid:"Nieprawidłowy CNPJ!"}},m={pt:{invalid:"CPF Inv\xe1lido!"},es:{invalid:"\xa1CPF Inv\xe1lido!"},en:{invalid:"Invalid CPF!"},de:{invalid:"Ung\xfcltige CPF!"},fr:{invalid:"CPF invalide !"},pl:{invalid:"Nieprawidłowy CPF!"}},p={pt:{minChars:"Nome inv\xe1lido. Verifique se est\xe1 completo!",invalid:"Nome inv\xe1lido. Verifique a utiliza\xe7\xe3o de caracteres especiais!"},es:{minChars:"\xa1Nombre inv\xe1lido. Compruebe que est\xe1 completo!",invalid:"\xa1Nombre inv\xe1lido. Compruebe el uso de caracteres especiales!"},en:{minChars:"Invalid name. Please check if it is complete!",invalid:"Invalid name. Check for special characters!"},de:{minChars:"Ung\xfcltiger Name. Bitte pr\xfcfen Sie, ob er vollst\xe4ndig ist!",invalid:"Ung\xfcltiger Name. Pr\xfcfen Sie Sonderzeichen!"},fr:{minChars:"Nom invalide. V\xe9rifiez qu’il est complet !",invalid:"Nom invalide. V\xe9rifiez les caract\xe8res sp\xe9ciaux !"},pl:{minChars:"Nieprawidłowe imię. Sprawdź, czy jest kompletne!",invalid:"Nieprawidłowe imię. Sprawdź znaki specjalne!"}};l.addMethod(l.string,"cnpjValidation",function(e){let t=c[e];return this.test("cnpjValidation","",async function(e){let{path:i,createError:l}=this;if(!e)return!0;let a=e.replace(/\D/g,"");if(14!==a.length||/^(\d)\1+$/.test(a))return l({path:i,message:t.invalid});let r=0,n=5;for(let e=0;e<12;e++)r+=parseInt(a.charAt(e))*n,--n<2&&(n=9);let s=r%11<2?0:11-r%11;if(s!==parseInt(a.charAt(12)))return l({path:i,message:t.invalid});r=0,n=6;for(let e=0;e<13;e++)r+=parseInt(a.charAt(e))*n,--n<2&&(n=9);return(s=r%11<2?0:11-r%11)===parseInt(a.charAt(13))||l({path:i,message:t.invalid})})}),l.addMethod(l.string,"corporateEmailValidation",function(e){let t=r[e];return this.test("corporateEmailValidation","",async function(e){let{path:i,createError:l}=this;if(!e)return!1;{let r=e.toString().trim();return o.test(r)?s.Y.test(r)?!!n.test(r)&&!!(await a.traxios.post("/api/email-validation",{email:r})).data||l({path:i,message:t.generalEmailFormat}):l({path:i,message:t.notCorporateEmail}):l({path:i,message:t.generalEmailFormat})}})}),l.addMethod(l.string,"cpfValidation",function(e){let t=m[e];return this.test("cpfValidation","",async function(e){let{path:i,createError:l}=this;if(!e)return!0;let a=e.replace(/\D/g,"");if(/^(\d)\1+$/.test(a))return l({path:i,message:t.invalid});let r=0;for(let e=0;e<9;e++)r+=parseInt(a.charAt(e))*(10-e);let n=11-r%11,s=10===n||11===n?0:n;if(s!==parseInt(a.charAt(9)))return l({path:i,message:t.invalid});r=0;for(let e=0;e<10;e++)r+=parseInt(a.charAt(e))*(11-e);return(s=10==(n=11-r%11)||11===n?0:n)===parseInt(a.charAt(10))||l({path:i,message:t.invalid})})}),l.addMethod(l.string,"nameValidation",function(e){let t=p[e];return this.test("nameValidation","",function(e){let{path:i,createError:l}=this;if(!e)return!1;{let a=e.toString().trim();return a.length<6?l({path:i,message:t.minChars}):!!/^[a-zA-Z\sÀ-ÿ]+$/.test(a)||l({path:i,message:t.invalid})}})}),l.addMethod(l.string,"linkedInLinkValidation",function(){return h.string().matches(/^(http(s)?:\/\/)?([\w]+\.)?linkedin\.com\/(pub|in|profile)\/([-a-zA-Z0-9]+)\/*/gm,"Please type a correct link.")}),l.addMethod(l.string,"normalEmailValidation",function(e){return this.test("normalEmailValidation",e,async function(t){let{path:i,createError:l}=this;if(t){let r=t.toString().trim();if(!o.test(r))return l({path:i,message:e});let n=await a.traxios.post("/api/email-validation",{email:r}),s=n.data;return!n.ok||!!s||l({path:i,message:e})}})}),l.addMethod(l.string,"rfcValidation",function(e){return this.test("rfcValidation",e,async function(e){if(!e)return!0;let t=e.replace(/[\s-]/g,"");return!!/^([A-ZÑ&]{3}\d{6}[A-Z\d]{3})$/.test(t)})}),l.addMethod(l.string,"verifyPhoneMinLength",function(e){let t=d[e];return this.test("verifyPhoneMinLength","",function(e){let{path:i,createError:l}=this;
1return!!e&&(!!(0,u.b)(e)||l({path:i,message:t.invalid}))})}),l.addMethod(l.string,"wordCountValidation",function(){return this.test("wordCountValidation","",function(e){let{path:t,createError:i}=this;if(e){let l=e.trim().split(/\s+/).length;return!(l<100)&&!(l>150)||i({path:t,message:"O resumo deve ter entre 100 e 150 palavras. N\xfamero atual de palavras: ".concat(l)})}return!1})});var h=l}}]);

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.