1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[11344,10519],{11344:function(e,t,r){r.r(t),r.d(t,{default:function(){return l}});var n=r(85893),i=r(67294),s=r(10519),o=r(93967),a=r.n(o);function l(e){let{logoUrl:t,logoLink:r,demoCtaLabel:o="Request Demo",trialCtaLabel:l="Start Free Trial",demoCtaHref:c,trialCtaHref:d,demoPardotConfig:u,trialPardotConfig:m,demoModalTitle:h,demoPrivacyText:x,demoPrivacyLinkText:f,demoPrivacyLinkUrl:g,trialModalTitle:b,trialSubtitle:p,trialTermsPreText:v,trialTermsLinkText:w,trialTermsLinkUrl:y,trialPrivacyPreText:j,trialPrivacyLinkText:N,trialPrivacyLinkUrl:F,demoButtonStyles:k,trialButtonStyles:_,mobileLogoUrl:T,revealOnMobile:S}=e,[C,L]=(0,i.useState)(null),P=(0,i.useRef)(null),[z,A]=(0,i.useState)(0),[E,D]=(0,i.useState)(!S),[R,q]=(0,i.useState)(()=>window.matchMedia("(max-width: 767px)").matches),[M,I]=(0,i.useState)(!1);(0,i.useEffect)(()=>{I(!0);let e=window.matchMedia("(max-width: 767px)"),t=e=>q(e.matches);return e.addEventListener("change",t),()=>e.removeEventListener("change",t)},[]),(0,i.useEffect)(()=>{if(!P.current)return;let e=()=>{P.current&&A(P.current.offsetHeight)};e();let t=new ResizeObserver(e);return t.observe(P.current),()=>t.disconnect()},[]),(0,i.useEffect)(()=>{if(!S){D(!0);return}let e=document.querySelector("[data-reveal-header-target]");if(!e){D(!0);return}let t=new IntersectionObserver(e=>{let[t]=e;!t.isIntersecting&&t.boundingClientRect.top<0?D(!0):t.isIntersecting&&D(!1)},{threshold:0});return t.observe(e),()=>t.disconnect()},[S]);let H=S&&!E;return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("div",{style:{height:H&&R?0:z}}),(0,n.jsxs)("section",{ref:P,"data-fixed-header":"true",className:a()("fixed top-0 left-0 right-0 bg-[#08072C] z-[12]",M&&S&&"transition-transform duration-300",H?"-translate-y-full md:translate-y-0":"translate-y-0"),children:[(0,n.jsx)("div",{className:"container",children:(0,n.jsx)("div",{className:"max-w-[1280px] mx-auto ",children:(0,n.jsxs)("header",{className:"flex flex-row items-center justify-between w-full py-5 gap-4",children:[(0,n.jsx)("div",{className:"flex items-center gap-3 cursor-pointer",children:(0,n.jsxs)("a",{href:r,children:[T&&(0,n.jsx)("img",{src:T,alt:"ThoughtSpot Logo",loading:"lazy",className:"w-8 md:hidden"}),(0,n.jsx)("img",{src:t,alt:"ThoughtSpot Logo",loading:"lazy",className:T?"w-40 hidden md:block":"w-40"})]})}),(0,n.jsxs)("div",{className:"flex items-center gap-4",children:[c?(0,n.jsx)("a",{href:c,className:a()("w-fit p-4 rounded-md text-sm text-center font-medium tracking-widest text-black transition-all duration-300 bg-[#8AAFFF] hover:bg-[linear-gradient(180deg,#8AAFFF_18.2%,#FFF_113.43%)] focus-visible:outline-none cursor-pointer",k),children:o}):(0,n.jsx)("button",{type:"button",onClick:()=>L("demo"),className:a()("w-fit p-4 rounded-md text-center text-sm font-medium tracking-widest text-black transition-all duration-300 bg-[#8AAFFF] hover:bg-[linear-gradient(180deg,#8AAFFF_18.2%,#FFF_113.43%)] focus-visible:outline-none cursor-pointer",k),children:o}),d?(0,n.jsx)("a",{href:d,className:a()("w-fit md:w-auto geistmono-regular text-sm text-white text-center inline-flex items-center justify-center p-4 rounded-[8px] border border-ts-blue hover:bg-[linear-gradient(180deg,_#0A082D_41.48%,_#00D2FF_236.43%)] hover:text-ts-blue transition-colors duration-200 ease-out focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-0 focus-visible:ring-[#00D2FF]/70 cursor-pointer",_),children:l}):(0,n.jsx)("button",{type:"button",onClick:()=>L("trial"),className:a()("w-fit md:w-auto geistmono-regular text-sm text-white text-center inline-flex items-center justify-center p-4 rounded-[8px] border border-ts-blue hover:bg-[linear-gradient(180deg,_#0A082D_41.48%,_#00D2FF_236.43%)] hover:text-ts-blue transition-colors duration-200 ease-out focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-0 focus-visible:ring-[#00D2FF]/70 cursor-pointer",_),children:l})]})]})})}),(0,n.jsx)("div",{className:"h-px w-3/5 mx-auto bg-gradient-to-r from-transparent via-[#00D2FF] to-transparent"})]}),(0,n.jsx)(s.default,{activeModal:C,onClose:()=>
1L(null),demoPardotConfig:u,trialPardotConfig:m,demoModalTitle:h,demoPrivacyText:x,demoPrivacyLinkText:f,demoPrivacyLinkUrl:g,trialModalTitle:b,trialSubtitle:p,trialTermsPreText:v,trialTermsLinkText:w,trialTermsLinkUrl:y,trialPrivacyPreText:j,trialPrivacyLinkText:N,trialPrivacyLinkUrl:F})]})}},10519:function(e,t,r){r.r(t),r.d(t,{default:function(){return o}});var n=r(85893),i=r(67294),s=r(69565);function o(e){let{activeModal:t,onClose:r,demoPardotConfig:o,trialPardotConfig:a,demoModalTitle:l="Request your live demo",demoPrivacyText:c="ThoughtSpot will use the information submitted on this form to provide marketing content and updates about our products. You may unsubscribe from these communications at any time. We use your information according to our",demoPrivacyLinkText:d="Privacy Statement.",demoPrivacyLinkUrl:u="https://www.thoughtspot.com/privacy",trialModalTitle:m="Start your 14-day free trial",trialSubtitle:h="No credit card required",trialTermsPreText:x="By signing up, I agree to ThoughtSpotâs",trialTermsLinkText:f="Terms and Conditions",trialTermsLinkUrl:g="https://www.thoughtspot.com/legal/thoughtspot-cloud-subscription-agreement",trialPrivacyPreText:b="Please also see ThoughtSpotâs",trialPrivacyLinkText:p="Privacy Statement.",trialPrivacyLinkUrl:v="https://www.thoughtspot.com/privacy"}=e,w=(0,i.useRef)(null),y=(0,i.useRef)(!1);return((0,i.useEffect)(()=>{if(t)return document.body.style.overflow="hidden",()=>{document.body.style.overflow=""}},[t]),(0,i.useEffect)(()=>{if(!t)return;let e=w.current;if(!e)return;let r=()=>{if(y.current)return;y.current=!0,e.style.zoom="";let t=e.scrollHeight,r=window.innerHeight-32;t>r&&(e.style.zoom=String(r/t)),requestAnimationFrame(()=>{y.current=!1})},n=new ResizeObserver(r);return n.observe(e),window.addEventListener("resize",r),r(),()=>{n.disconnect(),window.removeEventListener("resize",r),e.style.zoom=""}},[t]),t)?(0,n.jsx)("div",{className:"fixed inset-0 z-[24] flex items-center justify-center bg-black/60 backdrop-blur-sm p-4",onClick:e=>{e.target===e.currentTarget&&r&&r()},children:(0,n.jsxs)("div",{ref:w,className:"relative w-full max-w-3xl bg-[#0d1730] rounded-xl shadow-2xl p-4 md:p-8",children:[(0,n.jsx)("button",{type:"button",onClick:r,className:"absolute top-2 md:top-4 right-1 md:right-4 text-white/70 hover:text-white transition-colors z-[24]","aria-label":"Close modal",children:(0,n.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,n.jsx)("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),(0,n.jsx)("line",{x1:"6",y1:"6",x2:"18",y2:"18"})]})}),"demo"===t&&(0,n.jsxs)("div",{children:[(0,n.jsx)("h2",{className:"test font-medium !font-geist-mono lead-geist pb-[4px] text-center text-white",children:l}),(0,n.jsx)(s.default,{config:o,className:"!min-h-0"}),(0,n.jsxs)("p",{className:"caption-geist geist text-white mx-auto px-[15px] mt-4 text-center",children:[c," ",(0,n.jsx)("a",{className:"text-ts-blue hover:underline",href:u,target:"_blank",rel:"noopener noreferrer",children:d})]})]}),"trial"===t&&(0,n.jsxs)("div",{children:[(0,n.jsx)("h2",{className:"font-medium !font-geist-mono lead-geist pb-[4px] text-center text-white",children:m}),(0,n.jsx)("p",{className:"all-body1-geist pb-[20px] text-center text-white",children:h}),(0,n.jsx)(s.default,{config:a,className:"!min-h-0"}),(0,n.jsx)("div",{className:"mt-5",children:(0,n.jsxs)("p",{className:"caption-geist text-white text-center",children:[x," ",(0,n.jsx)("br",{className:"mobile_only"}),(0,n.jsx)("a",{className:"text-ts-blue hover:underline",href:g,target:"_blank",rel:"noopener noreferrer",children:f}),". ",(0,n.jsx)("br",{}),(0,n.jsx)("br",{className:"mobile_only"}),b," ",(0,n.jsx)("a",{className:"text-ts-blue hover:underline",href:v,target:"_blank",rel:"noopener noreferrer",children:p})]})})]})]})}):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.