PageSourceSearch

https://www.mordorintelligence.com/_next/static/chunks/6588.1db2eca61a8a88c8.js

js mordorintelligence.com collected 2026-09-24 06:48:24 UTC 4,962 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6588],{86588:function(e,a,s){s.r(a),s.d(a,{default:function(){return b}});var t=s(85893),l=s(78326),n=s(22972),i=s(31928),r=s(5152),c=s.n(r),d=s(67294),o=s(49883),m=s(54631),x=s(71859),u=s(17553),h=s(45866),p=s(55074);let f=c()(()=>s.e(3060).then(s.bind(s,73060)),{loadableGenerated:{webpack:()=>[73060]},ssr:!1});function b(e){let{isOpen:a,onClose:s,pageKey:r,formPanel:c}=e,[b,y]=(0,d.useState)(!1),[j,g]=(0,d.useState)(null),[N,S]=(0,d.useState)(!1),[v,w]=(0,d.useState)(!1),C=(0,d.useRef)(!1),{values:k,errors:E,handleChange:F,handleSubmit:_,registerField:B,setValue:R,reset:L}=(0,x.g)({initialValues:u.yR,validate:u.EL});(0,d.useEffect)(()=>{a&&y(!1)},[a]),(0,d.useEffect)(()=>{if(!a||C.current)return;let e=!1;return(async()=>{try{let a=await (0,o.mf)();if(e)return;C.current=!0,g(a.country),R("country",a.country)}catch(e){console.error("error -->",e)}})(),()=>{e=!0}},[a]);let V=async e=>{y(!1),w(!0),await (0,u.jU)({values:e,pageKey:r,ctaText:u.FR,onSuccessUi:()=>{w(!1),s(),S(!0),L()},onFailUi:()=>{w(!1),y(!0)}})};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(l.fC,{open:a,onOpenChange:e=>{e||s()},children:(0,t.jsxs)(l.h_,{children:[(0,t.jsx)(l.aV,{className:"fixed inset-0 z-[999] bg-black/60 backdrop-blur-sm"}),(0,t.jsxs)(l.VY,{"aria-label":u.Fb,"aria-describedby":void 0,className:"fixed left-1/2 top-1/2 z-[1000] max-h-[calc(100vh-4rem)] w-[calc(100%-2rem)] max-w-[1200px] -translate-x-1/2 -translate-y-1/2 overflow-y-auto rounded-[20px] bg-Saas-white shadow-saasFloat",children:[(0,t.jsx)(l.x8,{className:"absolute right-4 top-4 z-10 flex h-9 w-9 items-center justify-center rounded-full bg-Saas-white text-Saas-navy shadow-sm","aria-label":"Close modal",children:(0,t.jsx)(n.Z,{className:"h-4 w-4",strokeWidth:2.5})}),(0,t.jsxs)("div",{className:"grid md:grid-cols-[minmax(0,1.05fr)_minmax(0,0.95fr)] md:items-stretch",children:[(0,t.jsxs)("div",{className:"flex flex-col bg-Saas-white px-6 py-8 min-[720px]:px-10 min-[720px]:py-10",children:[(0,t.jsx)("p",{className:"mb-4 inline-flex w-fit items-center rounded-full bg-Saas-tint px-3 py-1.5 text-Body-Medium-12 uppercase tracking-wide text-Saas-navy",children:"Request trial access"}),(0,t.jsx)("h2",{className:"mb-8 text-Saas-h3 text-Saas-navy min-[720px]:text-Saas-h2",children:"Add Your Details"}),(0,t.jsxs)("form",{onSubmit:_(V),className:"flex flex-col gap-5",children:[(0,t.jsxs)("div",{className:"flex flex-col gap-1.5",children:[(0,t.jsxs)("label",{htmlFor:"ri-trial-name",className:"text-Body-Semibold-14 text-Saas-navy",children:["Name ",(0,t.jsx)("span",{className:"text-red-600",children:"*"})]}),(0,t.jsx)("input",{id:"ri-trial-name",type:"text",autoComplete:"name",value:k.name,onChange:F("name"),className:h.QL}),E.name?(0,t.jsx)("span",{className:"text-Body-Regular-12 text-red-600",children:E.name}):null]}),(0,t.jsxs)("div",{className:"flex flex-col gap-1.5",children:[(0,t.jsxs)("label",{htmlFor:"ri-trial-email",className:"text-Body-Semibold-14 text-Saas-navy",children:["Business Email ",(0,t.jsx)("span",{className:"text-red-600",children:"*"})]}),(0,t.jsx)("input",{id:"ri-trial-email",type:"email",autoComplete:"email",value:k.businessEmail,onChange:F("businessEmail"),className:h.QL}),E.businessEmail?(0,t.jsx)("span",{className:"text-Body-Regular-12 text-red-600",children:E.businessEmail}):null]}),(0,t.jsxs)("div",{className:"hidden flex-col gap-1.5 md:flex",children:[(0,t.jsxs)("label",{htmlFor:"ri-trial-phone",className:"text-Body-Semibold-14 text-Saas-navy",children:["Phone"," ",(0,t.jsx)("span",{className:"hidden text-red-600 md:inline","aria-hidden":!0,children:"*"})]}),(0,t.jsxs)("div",{className:"grid grid-cols-[minmax(7.5rem,0.38fr)_minmax(0,1fr)] gap-2",children:[(0,t.jsx)("div",{className:"min-w-0 [&_button]:rounded-[10px] [&_button]:border-Saas-hair [&_button]:bg-Saas-white",children:(0,t.jsx)(m.default,{field:B("country"),id:"ri-trial-country",placeholder:"Code",defaultValue:j})}),(0,t.jsx)("input",{id:"ri-trial-phone",type:"tel",autoComplete:"tel-national",value:k.phone,onChange:F("phone"),onKeyDown:u.wH,className:h.QL})]}),E.country||E.phone?(0,t.jsx)("span",{className:"text-Body-Regular-12 text-red-600",children:E.country||E.phone}):null]}),(0,t.jsx)(h.CW,{checked:k.optInNotes,onChange:e=>R("optInNotes",e)}),b?(0,t.jsx)(h.aL,{}):null,(0,t.jsx)("button",{type:"submit",disabled:v,className:"mt-2 inline-flex w-full items-center justify-center rounded-full bg-Saas-orange px-6 py-[15px] text-Body-Semibold-16 uppercase tracking-saas text-Saas-white transition-all duration-300 ease-saas hover:brightness-saas disabled:opacity-70",children:v?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(i.Z,{className:"mr-2 h-5 w-5 animate-spin"}),"Submitting…"]}):u.Fb})]})]}),(0,t.jsx)(p.Z,{...c})]})]})]})}),N?(0,t.jsx)(f,{open:N,onClose:()=>
1S(!1),title:"Thank you for your request",message:"We have received your request to explore Robotics Intelligence."}):null]})}}}]);

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.