PageSourceSearch

https://www.dmcockpit.com/_next/static/chunks/app/(docs)/contact-us/page-ba38c4dca557292e.js

js dmcockpit.com collected 2026-10-04 21:17:32 UTC 15,898 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8470],{37962:function(e,t,s){Promise.resolve().then(s.bind(s,91308)),Promise.resolve().then(s.bind(s,7264))},91308:function(e,t,s){"use strict";var r=s(57437),a=s(83843),i=s(27648),l=s(2265),o=s(24675),d=s(12381);t.default=()=>{let{setIsModalOpen:e,setIsLogIn:t,userData:s}=(0,l.useContext)(a.H);return(0,r.jsx)("div",{className:"relative px-4 py-4 text-center md:px-20 md:py-8 2xl:px-64 2xl:py-16",children:(0,r.jsxs)("fieldset",{className:"rounded-3xl border border-[#2d023d] text-xl text-[#2d023d] md:text-3xl",children:[(0,r.jsxs)("legend",{className:"",children:[" ","Get 7 Days free access to the ",(0,r.jsx)("br",{})," DM Cockpit Platform!"]}),(0,r.jsxs)("div",{className:"mt-4 flex w-full flex-col justify-center gap-2 p-8 pt-4 text-xs font-bold sm:flex-row md:text-base",children:[(0,r.jsx)(o.UserSignup,{btnText:"Start Free Trial",type:"with-icon"}),(0,r.jsx)(d.z,{asChild:!0,children:(0,r.jsxs)(i.default,{href:"/schedule-demo",type:"button",className:(0,d.d)({variant:"tertiary",className:"max-md:rounded-full max-md:text-lg md:rounded-full md:text-base"}),children:[" ","Schedule a demo"," "]})})]})]})})}},7264:function(e,t,s){"use strict";s.d(t,{default:function(){return b}});var r=s(57437),a=s(2265),i=s(54887),l=s(25064),o=s(40279),d=s(15291),n=s(33392),u=s(23675),c=s(16140),m=s(30401),f=s(93448);let p=a.forwardRef((e,t)=>{let{className:s,...a}=e;return(0,r.jsx)(c.fC,{ref:t,className:(0,f.cn)("peer h-4 w-4 shrink-0 rounded-sm border border-primary ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground",s),...a,children:(0,r.jsx)(c.z$,{className:(0,f.cn)("flex items-center justify-center text-current"),children:(0,r.jsx)(m.Z,{className:"h-4 w-4"})})})});p.displayName=c.fC.displayName;var x=s(75060),v=s(27648),h=s(83038),g=s(44800),y=s(71917),j=s(18752),N=s(83464);function b(){var e,t,s,c,m,b,w,_,T,S,k,C,I,R,D,E,A,O,Z,M,P,q,z,U;let[F,V]=(0,i.useFormState)(l.gu,{message:"",status:void 0}),[G,Y]=(0,a.useState)(),[B,$]=(0,a.useState)(),{executeRecaptcha:Q}=(0,g.xX)(),{toast:X}=(0,j.pm)(),[H,J]=(0,a.useState)({});(0,a.useEffect)(()=>{J((0,f.S)())},[]);let L=async()=>{let e=await fetch("https://api.ipify.org?format=json");$((await e.json()).ip)};return(0,a.useEffect)(()=>{L(),Y(window.location.href)},[]),(0,a.useEffect)(()=>{"success"===F.status&&window.location.assign("/thank-you")},[F]),(0,r.jsxs)("form",{className:"w-full space-y-2",id:"contact-form",action:async e=>{var t;if(!Q){console.error("Not available to execute recaptcha"),X({variant:"destructive",title:"Uh oh! Something went wrong.",description:"There was a problem with your request, please try again later.",action:(0,r.jsx)(y.gD,{altText:"Close",children:"Close"})});return}let s=await Q("inquirySubmit");if((null===(t=(await (0,N.Z)({method:"post",url:"/api/validateRecaptcha",data:{gRecaptchaToken:s},headers:{Accept:"application/json, text/plain, */*","Content-Type":"application/json"}})).data)||void 0===t?void 0:t.success)===!1){X({variant:"destructive",title:"Not a human.",description:"Our algorithm has detected that this request is done by a robot, please try again.",action:(0,r.jsx)(y.gD,{altText:"Close",children:"Close"})});return}return V(e)},children:[(0,r.jsxs)("div",{className:"w-full text-start",children:[(0,r.jsx)(o.I,{name:"name",required:!0,placeholder:"Full Name"}),(null==F?void 0:null===(t=F.errors)||void 0===t?void 0:null===(e=t.name)||void 0===e?void 0:e[0])&&(0,r.jsx)("p",{className:"text-sm text-destructive",children:null==F?void 0:null===(c=F.errors)||void 0===c?void 0:null===(s=c.name)||void 0===s?void 0:s[0]})]}),(0,r.jsxs)("div",{className:"w-full text-start",children:[(0,r.jsx)(o.I,{type:"email",name:"email",required:!0,placeholder:"Your email"}),(null==F?void 0:null===(b=F.errors)||void 0===b?void 0:null===(m=b.email)||void 0===m?void 0:m[0])&&(0,r.jsx)("p",{className:"text-sm text-destructive",children:null==F?void 0:null===(_=F.errors)||void 0===_?void 0:null===(w=_.email)||void 0===w?void 0:w[0]})]}),(0,r.jsxs)("div",{className:"w-full text-start",children:[(0,r.jsxs)(d.Ph,{required:!0,name:"issue",children:[(0,r.jsx)(d.i4,{className:"w-full",children:(0,r.jsx)(d.ki,{placeholder:"Type of Issue"})}),(0,r.jsx)(d.Bw,{children:n.mt.map(e=>(0,r.jsxs)(d.Ql,{value:e.toLowerCase(),children:[" ",e," "]},e))})]}),(null==F?void 0:null===(S=F.errors)||void 0===S?void 0:null===(T=S.issue)||void 0===T?void 0:T[0])&&(0,r.jsx)("p",{className:"text-sm text-destructive",children:null==F?void 0:null===(C=F.errors)||void 0===C?void 0:null===(k=C.issue)||void 0===k?void 0:k[0]})]}),(0,r.jsxs)("div",{className:"w-full text-start",children:[(0,r.jsx)(o.I,{required:!0,name:"subject",placeholder:"Subject"}),(null==F?void 0:null===(R=F.errors)||void 0===R?void 0:null===(I=R.subject)||void 0===I?void 0:I[0])&&(0,r.jsx)("p",{className:"text-sm text-destructive",children:null==F?void 0:null===(E=F.errors)||void 0===E?void 0:null===(D=E.subject)||void 0===D?void 0:D[0]})]}),(0,r.jsxs)("div",{className:"w-full text-start",children:[(0,r.jsx)(u.g,{name:"message",placeholder:"Your message here",rows:6}),(null==F?void 0:null===(O=F.errors)||void 0===O?void 0:null===(A=O.message)||void 0===A?void 0:A[0])&&(0,r.jsx)("p",{className:"text-sm text-destructive",children:null==F?void 0:null===(M=F.errors)||void 0===M?void 0:null===(Z=M.message)||void 0===Z?void 0:Z[0]})]}),(0,r.jsxs)("div",{className:"w-full text-start",children:[(0,r.jsx)(o.I,{name:"files",accept:"image/*, .pdf",multiple:!0,type:"file",className:"h-fit cursor-pointer border-2 border-dashed file:cursor-pointer file:rounded-sm file:bg-accent file:p-2 file:px-4 file:duration-200 hover:file:bg-primary hover:file:text-white"}),(null==F?void 0:null===(q=F.errors)||void 0===q?void 0:null===(P=q.files)||void 0===P?void 0:P[0])&&(0,r.jsx)("p",{className:"text-sm text-destructive",children:null==F?void 0:null===(U=F.errors)||void 0===U?void 0:null===(z=U.files)||void 0===z?void 0:z[0]})]}
1),B?(0,r.jsx)(o.I,{type:"hidden",name:"client_ip",value:B}):null,G?(0,r.jsx)(o.I,{type:"hidden",name:"page_url",value:G}):null,(0,r.jsx)("input",{type:"hidden",name:"utm_source",value:H.utm_source||""}),(0,r.jsx)("input",{type:"hidden",name:"utm_medium",value:H.utm_medium||""}),(0,r.jsx)("input",{type:"hidden",name:"utm_campaign",value:H.utm_campaign||""}),(0,r.jsx)("input",{type:"hidden",name:"utm_term",value:H.utm_term||""}),(0,r.jsx)("input",{type:"hidden",name:"utm_content",value:H.utm_content||""}),(0,r.jsxs)("div",{className:"flex items-center gap-2 pt-2",children:[(0,r.jsx)(p,{required:!0,id:"data-approval"}),(0,r.jsxs)(x._,{htmlFor:"data-approval",children:[" ","I agree with the storage and handling of my data by DM Cockpit Team"]})]}),(0,r.jsxs)("div",{className:"flex items-center gap-2",children:[(0,r.jsx)(p,{required:!0,id:"agree-terms"}),(0,r.jsxs)(x._,{htmlFor:"agree-terms",children:[" ","I accept DM Cockpit's"," ",(0,r.jsx)(v.default,{href:"/terms-and-conditions",className:"text-tertiary underline duration-200 hover:text-green-400",children:"Terms and conditions"})," ","and"," ",(0,r.jsx)(v.default,{href:"/privacy-policy",className:"text-tertiary underline duration-200 hover:text-green-400 ",children:"Privacy Policies"})]})]}),(0,r.jsx)("p",{className:"pt-2"}),(0,r.jsx)(h.Z,{buttonText:"Proceed",className:"w-full"})]})}},75060:function(e,t,s){"use strict";s.d(t,{_:function(){return n}});var r=s(57437),a=s(2265),i=s(6394),l=s(77712),o=s(93448);let d=(0,l.j)("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),n=a.forwardRef((e,t)=>{let{className:s,...a}=e;return(0,r.jsx)(i.f,{ref:t,className:(0,o.cn)(d(),s),...a})});n.displayName=i.f.displayName},15291:function(e,t,s){"use strict";s.d(t,{Bw:function(){return x},Ph:function(){return u},Ql:function(){return v},i4:function(){return m},ki:function(){return c}});var r=s(57437),a=s(2265),i=s(50361),l=s(40875),o=s(22135),d=s(30401),n=s(93448);let u=i.fC;i.ZA;let c=i.B4,m=a.forwardRef((e,t)=>{let{className:s,children:a,...o}=e;return(0,r.jsxs)(i.xz,{ref:t,className:(0,n.cn)("flex h-10 w-full items-center justify-between rounded-md border border-input bg-background px-3 py-2 text-sm r
1ing-offset-background placeholder:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1",s),...o,children:[a,(0,r.jsx)(i.JO,{asChild:!0,children:(0,r.jsx)(l.Z,{className:"h-4 w-4 opacity-50"})})]})});m.displayName=i.xz.displayName;let f=a.forwardRef((e,t)=>{let{className:s,...a}=e;return(0,r.jsx)(i.u_,{ref:t,className:(0,n.cn)("flex cursor-default items-center justify-center py-1",s),...a,children:(0,r.jsx)(o.Z,{className:"h-4 w-4"})})});f.displayName=i.u_.displayName;let p=a.forwardRef((e,t)=>{let{className:s,...a}=e;return(0,r.jsx)(i.$G,{ref:t,className:(0,n.cn)("flex cursor-default items-center justify-center py-1",s),...a,children:(0,r.jsx)(l.Z,{className:"h-4 w-4"})})});p.displayName=i.$G.displayName;let x=a.forwardRef((e,t)=>{let{className:s,children:a,position:l="popper",...o}=e;return(0,r.jsx)(i.h_,{children:(0,r.jsxs)(i.VY,{ref:t,className:(0,n.cn)("relative z-50 max-h-96 min-w-[8rem] overflow-hidden rounded-md border bg-popover text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2","popper"===l&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",s),position:l,...o,children:[(0,r.jsx)(f,{}),(0,r.jsx)(i.l_,{className:(0,n.cn)("p-1","popper"===l&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),children:a}),(0,r.jsx)(p,{})]})})});x.displayName=i.VY.displayName,a.forwardRef((e,t)=>{let{className:s,...a}=e;return(0,r.jsx)(i.__,{ref:t,className:(0,n.cn)("py-1.5 pl-8 pr-2 text-sm font-semibold",s),...a})}).displayName=i.__.displayName;let v=a.forwardRef((e,t)=>{let{className:s,children:a,...l}=e;return(0,r.jsxs)(i.ck,{ref:t,className:(0,n.cn)("relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",s),...l,children:[(0,r.jsx)("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:(0,r.jsx)(i.wU,{children:(0,r.jsx)(d.Z,{className:"h-4 w-4"})})}),(0,r.jsx)(i.eT,{children:a})]})});v.displayName=i.ck.displayName,a.forwardRef((e,t)=>{let{className:s,...a}=e;return(0,r.jsx)(i.Z0,{ref:t,className:(0,n.cn)("-mx-1 my-1 h-px bg-muted",s),...a})}).displayName=i.Z0.displayName},23675:function(e,t,s){"use strict";s.d(t,{g:function(){return l}});var r=s(57437),a=s(2265),i=s(93448);let l=a.forwardRef((e,t)=>{let{className:s,...a}=e;return(0,r.jsx)("textarea",{className:(0,i.cn)("flex min-h-[80px] w-full rounded-md border border-input bg-background 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",s),ref:t,...a})});l.displayName="Textarea"},71917:function(e,t,s){"use strict";s.d(t,{gD:function(){return u}});var r=s(57437),a=s(2265),i=s(41915),l=s(77712),o=s(32489),d=s(93448);i.zt,a.forwardRef((e,t)=>{let{className:s,...a}=e;return(0,r.jsx)(i.l_,{ref:t,className:(0,d.cn)("fixed top-0 z-[100] flex max-h-screen w-full flex-col-reverse p-4 sm:bottom-0 sm:right-0 sm:top-auto sm:flex-col md:max-w-[420px]",s),...a})}).displayName=i.l_.displayName;let n=(0,l.j)("group pointer-events-auto relative flex w-full items-center justify-between space-x-4 overflow-hidden rounded-md border p-6 pr-8 shadow-lg transition-all data-[swipe=cancel]:translate-x-0 data-[swipe=end]:translate-x-[var(--radix-toast-swipe-end-x)] data-[swipe=move]:translate-x-[var(--radix-toast-swipe-move-x)] data-[swipe=move]:transition-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[swipe=end]:animate-out data-[state=closed]:fade-out-80 data-[state=closed]:slide-out-to-right-full data-[state=open]:slide-in-from-top-full data-[state=open]:sm:slide-in-from-bottom-full",{variants:{variant:{default:"border bg-background text-foreground",destructive:"destructive group border-destructive bg-destructive text-destructive-foreground"}},defaultVariants:{variant:"default"}});a.forwardRef((e,t)=>{let{className:s,variant:a,...l}=e;return(0,r.jsx)(i.fC,{ref:t,className:(0,d.cn)(n({variant:a}),s),...l})}).displayName=i.fC.displayName;let u=a.forwardRef((e,t)=>{let{className:s,...a}=e;return(0,r.jsx)(i.aU,{ref:t,className:(0,d.cn)("inline-flex h-8 shrink-0 items-center justify-center rounded-md border bg-transparent px-3 text-sm font-medium ring-offset-background transition-colors hover:bg-secondary focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 group-[.destructive]:border-muted/40 group-[.destructive]:hover:border-destructive/30 group-[.destructive]:hover:bg-destructive group-[.destructive]:hover:text-destructive-foreground group-[.destructive]:focus:ring-destructive",s),...a})});u.displayName=i.aU.displayName,a.forwardRef((e,t)=>{let{className:s,...a}=e;return(0,r.jsx)(i.x8,{ref:t,className:(0,d.cn)("absolute right-2 top-2 rounded-md p-1 text-foreground/50 opacity-0 transition-opacity hover:text-foreground focus:opacity-100 focus:outline-none focus:ring-2 group-hover:opacity-100 group-[.destructive]:text-red-300 group-[.destructive]:hover:text-red-50 group-[.destructive]:focus:ring-red-400 group-[.destructive]:focus:ring-offset-red-600",s),"toast-close":"",...a,children:(0,r.jsx)(o.Z,{className:"h-4 w-4"})})}).displayName=i.x8.displayName,a.forwardRef((e,t)=>{let{className:s,...a}=e;return(0,r.jsx)(i.Dx,{ref:t,className:(0,d.cn)("text-sm font-semibold",s),...a})}).displayName=i.Dx.displayName,a.forwardRef((e,t)=>{let{className:s,...a}=e;return(0,r.jsx)(i.dk,{ref:t,className:(0,d.cn)("text-sm opacity-90",s),...a})}).displayName=i.dk.displayName},18752:function(e,t,s){"use strict";s.d(t,{pm:function(){return m}});var r=s(2265);let a=0,i=new Map,l=e=>{if(i.has(e))return;let t=setTimeout(()=>{i.delete(e),u({type:"REMOVE_TOAST",toastId:e})},1e6);i.set(e,t)},o=(e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,1)};case"UPDATE_TOAST":return{...e,toasts:e.toasts.map(e=>e.id===t.toast.id?{...e,...t.toast}:e)};case"DISMISS_TOAST":{let{toastId:s}=t;return s?l(s):e.toasts.forEach(e=>{l(e.id)}),{...e,toasts:e.toasts.map(e=>e.id===s||void 0===s?{...e,open:!1}:e)}}case"REMOVE_TOAST":if(void 0===t.toastId)return{...e,toasts:[]};return{...e,toasts:e.toasts.filter(e=>e.id!==t.toastId)}}},d=[],n={toasts:[]};function u(e){n=o(n,e),d.forEach(e=>{e(n)})}function c(e){let{...t}=e,s=(a=(a+1)%Number.MAX_SAFE_INTEGER).toString(),r=()=>u({type:"DISMISS_TOAST",toastId:s});return u({type:"ADD_TOAST",toast:{...t,id:s,open:!0,onOpenChange:e=>{e||r()}}}),{id:s,dismiss:r,update:e=>u({type:"UPDATE_TOAST",toast:{...e,id:s}})}}function m(){let[e,t]=r.useState(n);return r.useEffect(()=>(d.push(t),()=>{let e=d.indexOf(t);e>-1&&d.splice(e,1)}),[e]),{...e,toast:c,dismiss:e=>u({type:"DISMISS_TOAST",toastId:e})}}}},function(e){e.O(0,[8826,7240,8265,6936,5878,1901,8073,6240,7904,2972,32,3898,7474,7047,3392,9767,4675,2971,2117,1744],function(){return e(e.s=37962)}),_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.