1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,942252,e=>{"use strict";var t=e.i(464645);let i=(...e)=>e.filter((e,t,i)=>!!e&&i.indexOf(e)===t).join(" ");var s={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"};let a=(0,t.forwardRef)(({color:e="currentColor",size:a=24,strokeWidth:l=2,absoluteStrokeWidth:n,className:r="",children:o,iconNode:c,...d},u)=>(0,t.createElement)("svg",{ref:u,...s,width:a,height:a,stroke:e,strokeWidth:n?24*Number(l)/Number(a):l,className:i("lucide",r),...d},[...c.map(([e,i])=>(0,t.createElement)(e,i)),...Array.isArray(o)?o:[o]]));e.s(["default",0,(e,s)=>{let l=(0,t.forwardRef)(({className:l,...n},r)=>(0,t.createElement)(a,{ref:r,iconNode:s,className:i(`lucide-${e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}`,l),...n}));return l.displayName=`${e}`,l}],942252)},795790,e=>{"use strict";let t=(0,e.i(942252).default)("ChevronRight",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);e.s(["default",0,t])},42875,e=>{"use strict";var t=e.i(563705),i=e.i(464645),s=e.i(404729),a=e.i(249222),l=e.i(559637),n=e.i(799638);e.s(["MotionConfig",0,function({children:e,isValidProp:r,...o}){r&&(0,l.loadExternalIsValidProp)(r);let c=(0,i.useContext)(a.MotionConfigContext);(o={...c,...o}).transition=(0,s.resolveTransition)(o.transition,c.transition),o.isStatic=(0,n.useConstant)(()=>o.isStatic);let d=(0,i.useMemo)(()=>o,[JSON.stringify(o.transition),o.transformPagePoint,o.reducedMotion,o.skipAnimations]);return(0,t.jsx)(a.MotionConfigContext.Provider,{value:d,children:e})}])},249538,e=>{"use strict";var t=e.i(563705),i=e.i(452008),s=e.i(60879),a=e.i(92227),l=e.i(180310),n=e.i(464645);e.s(["default",0,({children:e,usPrivacyChoicesLabel:r})=>{let[o,c]=(0,n.useState)(!1);(0,n.useEffect)(()=>{c((0,l.isUSVisitor)())},[]);let d=o&&!!r;return(0,t.jsxs)(s.default,{href:"#",className:"inline-flex cursor-pointer items-center gap-1.5 transition-colors hover:text-white light:hover:text-color-icon-text-primary",onClick:e=>{e.preventDefault(),window.dispatchEvent(new Event(a.CONSENT_BANNER_EVENT))},children:[d&&(0,t.jsx)(i.default,{"aria-hidden":!0,className:"h-[14px] w-[30px] shrink-0"}),d?r:e]})}])},886812,e=>{"use strict";var t=e.i(563705),i=e.i(60879),s=e.i(3819),a=e.i(870266),l=e.i(670296),n=e.i(185705);e.s(["default",0,({title:e,iconLeft:r,iconRight:o,background:c,bannerUrl:d})=>{let u=(0,a.usePathname)();if(d){let e=e=>"/"===e?"/":e.replace(/\/$/,"");try{let t=new URL(d,l.SPEECHIFY_PROD_BASE_URL).pathname;if(e(u)===e(t))return null}catch(t){if(e(u)===e(d))return null}}let m=d?i.default:"div";return(0,t.jsx)("div",{className:(0,n.cn)("relative z-30 flex items-center justify-center px-4 py-2",{"bg-electric-30":"electric"===c,"bg-gray-800":"gray"===c}),children:(0,t.jsxs)(m,{href:d||"/",className:"inline-flex items-center justify-center gap-2",children:[r?(0,t.jsx)(s.default,{picture:r}):null,(0,t.jsx)("p",{className:"text-label-1",children:e}),o?(0,t.jsx)(s.default,{picture:o}):null]})})}])},318150,e=>{e.v({mobileNav:"mobile-menu-module__8YlXmW__mobileNav"})},139101,e=>{"use strict";var t=e.i(563705),i=e.i(662102),s=e.i(60879),a=e.i(3819),l=e.i(648039),n=e.i(749846),r=e.i(911013),o=e.i(48464),c=e.i(30546),d=e.i(724773),u=e.i(807987),m=e.i(185705),h=e.i(106070),x=e.i(464645);let p="rounded-sm focus-visible:outline-2 focus-visible:-outline-offset-2 focus-visible:outline-white light:focus-visible:outline-color-icon-text-primary",f="relative z-30 inline-block whitespace-nowrap rounded-sm p-2 text-center text-white light:text-color-icon-text-primary text-xs transition-colors hover:text-white/50 focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-white light:focus-visible:outline-color-icon-text-primary xl:text-sm",g={hidden:{y:"-100%",opacity:0,transition:{duration:.667,staggerChildren:.017,staggerDirection:-1,ease:(0,d.cubicBezier)(.14,1,.34,1)}},visible:{y:0,opacity:1,transition:{duration:.667,staggerChildren:.017,delayChildren:.26,ease:(0,d.cubicBezier)(.14,1,.34,1)}}},b={hidden:{y:"-100%",opacity:0,transition:{duration:0,staggerChildren:0,staggerDirection:-1,ease:(0,d.cubicBezier)(.14,1,.34,1)}},visible:{y:0,opacity:1,transition:{y:{duration:0},duration:.2,staggerChildren:0,delayChildren:0,ease:(0,d.cubicBezier)(.14,1,.34,1)}}},v=({menuItems:e})=>{let[i,l]=(0,x.useState)(""),[n,v]=(0,x.useState)(""),[j,y]=(0,x.useState)(0),w=(0,x.useRef)({}),N=Math.max(...Object.values(w.current).map(e=>e?.clientHeight||0)),C=(0,x.useRef)(null),k=(0,x.useRef)(g),S=(0,x.useRef)({}),T=(0,x.useRef)(null),I=(0,x.useCallback)((e,t,i)=>{T.current=i,l(t),v(e)},[]),E=(0,x.useCallback)(()=>{T.current=null,v("")},[]);(0,x.useEffect)(()=>{let e=document.querySelector("#header");e&&y(e.getBoundingClientRect().top)},[]),(0,x.useEffect)(()=>{document.querySelectorAll("[data-menu-name]").forEach(t=>{if(t.matches(":hover")){let i=t.getAttribute("data-menu-name")||"",s=e.f
1ind(e=>e.menuName===i);s?.subMenu?.subMenuColumns?.length&&s?.subMenu?.subMenuColumns?.length>0&&I(i,s?.subMenu?.subMenuColumns?.[0]?.subMenuItems?.[0]?.title||"","hover")}})},[e,I]),(0,x.useEffect)(()=>{setTimeout(()=>{k.current=n?b:g},700)},[n]);let L={hidden:{opacity:0},visible:{opacity:1,transition:{duration:.3,ease:"linear",delay:.35}}},z={hidden:{opacity:0,y:-30,transitionEnd:{display:"none",y:30},transition:{opacity:{duration:.3},y:{duration:.5},ease:(0,d.cubicBezier)(.14,1,.34,1)}},visible:{y:0,display:"block",opacity:1,transition:{duration:.8,delay:.3,ease:(0,d.cubicBezier)(.14,1,.34,1)}}},M={hidden:{opacity:0,y:n?0:-30,transition:{duration:n?.2:.8,ease:(0,d.cubicBezier)(.14,1,.34,1)}},visible:{opacity:1,y:0,transition:{duration:n?.2:.8,ease:(0,d.cubicBezier)(.14,1,.34,1)}}};return(0,t.jsxs)("div",{className:"flex gap-4",id:"desktop-menu",onKeyDown:e=>{if("Escape"!==e.key||!n)return;let t=S.current[n];E(),t?.focus()},onBlur:e=>{e.currentTarget.contains(e.relatedTarget)||E()},children:[(0,t.jsx)(u.motion.div,{className:"fixed inset-x-0 top-0 z-0 bg-iosv3-glass-700",animate:{height:n?N+j:0},transition:{duration:.667,ease:(0,d.cubicBezier)(.14,1,.34,1)}}),(0,t.jsx)("ul",{className:"flex gap-4",children:e.map((e,d)=>{let{menuName:x,url:g,subMenu:b,featureMenuItem:v}=e,{subMenuColumns:j,addSecondaryMenu:y,secondaryMenuItems:N}=b||{},A=j?.flatMap(e=>e.subMenuItems),{featureMenuItemContent:_,featureMenuItemImage:P,featureMenuItemCtaText:B,featureMenuItemCtaUrl:R}=v||{},U=!!A&&A.length>0,$=n===x,D=`desktop-menu-panel-${d}`;return(0,t.jsxs)(u.motion.li,{initial:"hidden",animate:$?"visible":"hidden",onMouseEnter:()=>{if(!U)return;let e=A?.[0]?.title||"";n?I(x,e,"hover"):C.current=setTimeout(()=>I(x,e,"hover"),200)},onMouseLeave:()=>{C.current&&clearTimeout(C.current),"press"!==T.current&&E()},"data-menu-name":x,children:[g?(0,t.jsx)(s.default,{href:g,className:f,onClick:E,children:x}):U?(0,t.jsx)("button",{type:"button",className:(0,m.cn)(f,{"text-white/50":$}),"aria-expanded":$,"aria-controls":D,ref:e=>{S.current[x]=e},onClick:()=>{C.current&&clearTimeout(C.current),$?E():I(x,A?.[0]?.title||"","press")},children:x}):(0,t.jsx)("span",{className:(0,m.cn)(f,"cursor-default"),children:x}),U&&(0,t.jsx)(u.motion.div,{id:D,inert:!$,"aria-hidden":!$,className:"absolute inset-x-0 top-0 z-0 pt-28 pb-12",variants:k.current,transition:{duration:.35*!n},ref:e=>{w.current[x]=e},children:(0,t.jsx)(r.default,{className:"max-w-[1440px]",children:(0,t.jsxs)("div",{className:"grid grid-cols-12 gap-4",children:[(0,t.jsx)("div",{className:(0,m.cn)("col-span-5 col-start-2 grid gap-8",{"grid-cols-2":j?.length===2,"grid-cols-3":j?.length===3}),children:j?.map((e,i)=>(0,t.jsx)("div",{children:(0,t.jsx)("ul",{children:e.subMenuItems?.map((e,i)=>e.isTitle?(0,t.jsx)("li",{className:(0,m.cn)("mb-3 overflow-hidden text-btn-2 text-gray-50",{"mt-6":0!==i}),children:(0,t.jsx)(u.motion.div,{variants:M,className:"block whitespace-nowrap",children:e.url?(0,t.jsx)(s.default,{href:e.url,onClick:E,className:p,children:e.title}):e.title})},e.title):(0,t.jsx)("li",{className:(0,m.cn)("overflow-hidden light:text-color-icon-text-primary text-sm text-white hover:text-[#808080] light:hover:text-color-icon-text-secondary md:text-2xl",{"mt-7 first-of-type:mt-0":!!e.description}),onMouseEnter:()=>l(e.title),children:(0,t.jsx)(u.motion.div,{variants:M,className:"block whitespace-nowrap",children:(0,t.jsxs)(s.default,{href:e.url??"#",className:(0,m.cn)("block py-2",p),onClick:E,onFocus:()=>l(e.title),children:[(0,t.jsx)("div",{children:e.title}),(0,t.jsx)("span",{className:"mt-1 block text-btn-2",children:e.description})]},e.title)},e.title)},e.title))})},i))}),(0,h.hasLexicalContent)(_)&&(0,t.jsxs)(u.motion.div,{className:(0,m.cn)("relative col-start-7 col-end-12 lg:w-[370px] xl:w-[570px]",{"h-[340px]":A?.some(e=>e.previewImage)}),variants:L,children:[P&&(0,t.jsx)(u.motion.div,{initial:"hidden",animate:"visible",variants:z,className:"absolute top-0 right-0 size-full rounded-3xl",children:P&&(0,t.jsx)(a.default,{picture:P,className:"max-h-full"})}),(0,t.jsxs)("div",{className:"absolute inset-0 p-6",children:[_&&(0,t.jsx)(o.default,{content:_,containerClassName:(0,m.cn)(o.RICHTEXT_BASE_CLASSLIST,"prose-p:text-body-2!")}),R&&(0,t.jsx)(c.default,{className:"mt-5",href:R||"#",onClick:E,children:B})]})]}),!(0,h.hasLexicalContent)(_)&&(y?(0,t.jsxs)("div",{className:"relative col-start-7 col-end-12",children:[(0,t.jsx)("ul",{className:"no-scrollbar max-h-[285px] overflow-auto pb-10",children:N?.map(e=>(0,t.jsx)("li",{className:"overflow-hidden light:text-color-icon-text-primary text-sm text-white hover:text-[#808080] light:hover:text-color-icon-text-secondary md:text-base",children:(0,t.jsx)(u.motion.div,{variants:M,className:"inline-block whitespace-nowrap",children:(0,t.jsx)(s.default,{href:e.url,className:(0,m.cn)("inline-block p-1",p),onClick:E,children:e.title},e.title)},e.title)},e.title))}),(0,t.jsx)(u.motion.span,{className:"pointer-events-none absolute inset-x-0 bottom-0 h-8 bg-linear-to-t from-iosv3-glass-700 to-transparent",animate:{o
1pacity:+!!$,transition:{delay:.3}}})]}):(0,t.jsx)(u.motion.div,{className:(0,m.cn)("relative col-start-7 col-end-12 lg:w-[370px] xl:w-[570px]",{"h-[340px]":A?.some(e=>e.previewImage)}),variants:L,children:A?.map((e,s)=>(0,t.jsx)(u.motion.div,{initial:"hidden",animate:i===e.title?"visible":"hidden",variants:z,className:"absolute top-0 right-0 size-full rounded-3xl",children:e.previewImage&&(0,t.jsx)(a.default,{picture:e.previewImage,className:"max-h-full"})},`${e.title}-${s}`))}))]})})})]},x)})})]})};var j=e.i(795981),y=e.i(795790),y=y,w=e.i(42875);let N={open:{rotate:["0deg","0deg","45deg"],top:["20%","50%","50%"]},closed:{rotate:["45deg","0deg","0deg"],top:["50%","50%","20%"]}},C={open:{rotate:["0deg","0deg","-45deg"]},closed:{rotate:["-45deg","0deg","0deg"]}},k={open:{rotate:["0deg","0deg","45deg"],bottom:["20%","50%","50%"],left:"50%"},closed:{rotate:["45deg","0deg","0deg"],bottom:["50%","50%","20%"],left:"50%"}},S=({active:e,classNames:s})=>(0,t.jsx)(w.MotionConfig,{transition:{duration:.3,ease:"linear"},children:(0,t.jsxs)(u.motion.span,{initial:!1,animate:e?"open":"closed",className:(0,i.default)("relative block size-5 rounded-xl bg-white/0 transition-colors",s),children:[(0,t.jsx)(u.motion.span,{variants:N,className:"absolute h-[2px] w-5 rounded-md bg-[#808080]",style:{y:"-50%",left:"50%",x:"-50%",top:"20%"}}),(0,t.jsx)(u.motion.span,{variants:C,className:"absolute h-[2px] w-5 rounded-md bg-[#808080]",style:{left:"50%",x:"-50%",top:"50%",y:"-50%"}}),(0,t.jsx)(u.motion.span,{variants:k,className:"absolute h-[2px] w-5 rounded-md bg-[#808080]",style:{x:"-50%",y:"50%",bottom:"20%",left:"50%"}})]})});var T=e.i(318150);let I="mobile-menu-drawer",E="rounded-sm focus-visible:outline-2 focus-visible:-outline-offset-2 focus-visible:outline-white light:focus-visible:outline-color-icon-text-primary",L=(0,x.memo)(function({menuItems:e,openMenuIndex:i,onToggleItem:l,config:n,contactSalesUrl:r,showContactSales:o}){return(0,t.jsxs)("div",{className:"relative flex flex-col","data-testid":"mobile-menu-items",children:[e.map((n,r)=>{let{menuName:o,url:c,subMenu:d}=n,{addSecondaryMenu:h,secondaryMenuItems:x,subMenuColumns:p,showSecondaryMenuOnMobile:f,secondaryMenuTitle:g}=d||{},b=i===r,v=p&&p.length>0,j=c?s.default:"button",y=`mobile-submenu-${r}`;return(0,t.jsxs)("div",{className:(0,m.cn)("relative border-[#373737] light:border-color-border-primary border-b",{"border-t":0===r,"border-b-0":r===e.length-1}),children:[(0,t.jsxs)(j,{onClick:e=>{v&&(e.preventDefault(),l(r))},className:(0,m.cn)("flex w-full items-center justify-between p-4 pl-8 text-sub-heading-caps-2",E),disabled:!v,href:c||"#",...v&&!c?{"aria-expanded":b,"aria-controls":y}:{},children:[(0,t.jsx)("span",{className:"whitespace-nowrap",children:o}),v&&(0,t.jsx)(u.motion.svg,{animate:{rotate:180*!!b},transition:{duration:.2},className:"size-5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M19 9l-7 7-7-7"})})]}),(0,t.jsx)(u.motion.div,{id:y,inert:!b,initial:!1,animate:{height:b?"auto":0,opacity:+!!b},transition:{duration:.3,ease:"easeInOut"},className:(0,m.cn)("overflow-hidden bg-gray-100 light:bg-color-surface-secondary-secondary"),children:(0,t.jsx)("div",{className:"py-2",children:p?.map((e,i)=>(0,t.jsx)(u.motion.ul,{className:"text-btn-1",transition:{duration:0},children:e.subMenuItems.map(e=>e.isTitle?(0,t.jsx)(u.motion.li,{className:"whitespace-nowrap px-8 pt-5 pb-2 text-gray-50 text-sub-heading-caps-2",children:e.url?(0,t.jsx)(s.default,{href:e.url,className:E,children:e.title}):e.title},e.title):(0,t.jsx)(u.motion.li,{className:"px-4 light:text-color-icon-text-primary text-white hover:text-gray-50",children:(0,t.jsxs)(s.default,{href:e.url??"#",className:(0,m.cn)("inline-flex items-center gap-[10px] px-4 py-3",E),children:[e.icon?(0,t.jsx)(a.default,{className:"size-6",picture:e.icon,width:24,height:24}):null,e.title]},e.title)},e.title))},i))})}),(0,t.jsx)("div",{children:h&&f&&(0,t.jsxs)("div",{className:"border-[#373737] light:border-color-border-primary border-t py-5",children:[(0,t.jsx)("div",{className:"whitespace-nowrap px-8 pb-4 text-gray-50 text-sub-heading-caps-2",children:g}),(0,t.jsx)(u.motion.ul,{transition:{duration:0},className:"text-btn-1",children:x?.map(e=>(0,t.jsx)(u.motion.li,{className:"px-4 light:text-color-icon-text-primary text-white hover:text-gray-50",children:(0,t.jsx)(s.default,{href:e.url,className:(0,m.cn)("inline-block px-4 py-3",E),children:e.title},e.title)},e.title))})]})})]},n.menuName)}),o&&(0,t.jsx)("div",{className:"m-6",children:(0,t.jsx)(c.default,{href:r,children:n.contactSalesText})})]})}),z=({menuItems:e,config:i,contactSalesUrl:a,showContactSales:l})=>{let[n,r]=(0,x.useState)(!1),[c,d]=(0,x.useState)(0),[p,f]=(0,x.useState)(56),g=(0,x.useRef)(null),b=(0,x.useRef)(null),v=(0,x.useCallback)(()=>{r(!1),document.body.classList.remove("overflow-hidden"),document.body.classList.remove("lg:overflow-auto"),g.current?.focus()},[]);(0,x.useEffect)(()=>{n&&b.current?.querySelector('a[href], button:not([disabled]), [tabindex]:not
1([tabindex="-1"])')?.focus()},[n]);let w=(0,x.useCallback)(e=>{d(t=>t===e?-1:e)},[]);(0,x.useEffect)(()=>()=>{document.body.classList.remove("overflow-hidden"),document.body.classList.remove("lg:overflow-auto")},[]);let N=(0,x.useMemo)(()=>e.map(e=>e.featureMenuItem).filter(e=>(0,h.hasLexicalContent)(e?.featureMenuItemContent)),[e]);return(0,t.jsxs)("div",{className:"h-6 lg:hidden",children:[(0,t.jsx)("button",{type:"button",ref:g,onClick:()=>{n||f(document.querySelector("#header-wrapper")?.clientHeight||56),r(!n),n?(document.body.classList.remove("overflow-hidden"),document.body.classList.remove("lg:overflow-auto")):(document.body.classList.add("overflow-hidden"),document.body.classList.add("lg:overflow-auto"))},className:(0,m.cn)("relative z-10 rounded-sm p-[2px] before:absolute before:-inset-2.5 before:content-['']",E),"aria-label":"Menu","aria-expanded":n,"aria-controls":I,children:(0,t.jsx)(S,{active:n})}),(0,t.jsxs)("div",{id:I,ref:b,inert:!n,"data-open":n,onKeyDown:e=>{"Escape"===e.key&&v()},className:(0,m.cn)(T.default.mobileNav,"absolute inset-x-0 top-full bg-black/70"),style:{"--menu-height":`${n?p:0}px`},children:[(0,t.jsx)("nav",{"aria-label":"Mobile",className:(0,m.cn)("absolute right-0 bottom-0 w-full overflow-auto bg-black light:bg-white md:w-[450px]",{"pb-6":0===N.length}),style:{height:`calc(100dvh - ${n?p:0}px)`,paddingBottom:0===N.length?"0":`${80*N.length}px`},children:(0,t.jsx)(L,{menuItems:e,openMenuIndex:c,onToggleItem:w,config:i,contactSalesUrl:a,showContactSales:l})}),(0,t.jsx)(j.AnimatePresence,{children:N.length>0&&n&&(0,t.jsx)(u.motion.div,{className:"fixed right-0 bottom-0 left-0",initial:{opacity:0}
1,animate:{opacity:1,transition:{delay:.2}},exit:{opacity:0,transition:{delay:0}},transition:{duration:.3,ease:"easeInOut"},children:N.map((e,i)=>(0,t.jsxs)(s.default,{href:e?.featureMenuItemCtaUrl||"#",className:"flex items-center justify-between bg-electric-30 p-4 light:text-color-icon-text-primary text-white",children:[e?.featureMenuItemContent&&(0,t.jsx)(o.default,{content:e.featureMenuItemContent}),(0,t.jsx)(y.default,{className:"size-5"})]},i))})})]})]})},M=({showGoToApp:e,goToAppUrl:i,ctaUrls:s,goToAppText:a,mobileCtaText:l,landingCtaText:n})=>(0,t.jsx)(c.default,{className:"!px-3 !py-[9px] text-xs xs:text-sm opacity-100 transition-all duration-300",href:e?i:s.download,"data-testid":"header-mobile-cta-button",children:e?a:n||l}),A={initial:{backgroundPosition:"0% 50%"},animate:{backgroundPosition:"200% 50%",transition:{duration:1.5,ease:"linear",repeat:1/0,repeatType:"loop"}}},_=({children:e})=>(0,t.jsx)(u.motion.div,{className:"h-[20px] rounded-full",style:{background:"linear-gradient(90deg, var(--button-skeleton-base) 0%, var(--button-skeleton-highlight) 50%, var(--button-skeleton-base) 100%)",backgroundSize:"200% 100%"},variants:A,initial:"initial",animate:"animate",children:e}),P=({showSignIn:e,showContactSales:i,showCta:s,showGoToApp:a,signInUrl:l,ctaUrls:n,goToAppUrl:r,config:o,goToAppText:d,isLoading:u,landingCtaText:m})=>{let h=s?m||o.ctaText:d;return(0,t.jsxs)(t.Fragment,{children:[e&&!u&&(0,t.jsx)(c.default,{href:l,size:"small",variant:"secondary",className:"hidden whitespace-nowrap xl:block",children:o.signInText}),i&&(0,t.jsx)(c.default,{className:"whitespace-nowrap",variant:"secondary",href:n.contactSales,size:"small",children:o.contactSalesText}),(s||a)&&(0,t.jsx)(c.default,{href:s?n.cta:r,size:"small",className:"whitespace-nowrap duration-300","data-testid":"header-cta-button",children:u?(0,t.jsx)(_,{children:(0,t.jsx)("span",{className:"invisible",children:o.ctaText})}):h})]})};e.s(["default",0,({headerData:e,config:o,ctaUrls:c,landingCtaText:d,logos:u,headerNavigationData:m,theme:h="dark"})=>{let{isLoggedIn:x,isLoading:p}=(0,l.useClientAuth)(),f="studio"===e.type,g=!!e.menuEnabled,b=f?c.signInStudio:c.signInTTS,j=f?o.ctaText:o.downloadText,y=!!((e.buttons?.signIn||e.buttons?.cta)&&x),w=!!(e.buttons?.signIn&&!x),N=!!(e.buttons?.cta&&!x),C=!!e.buttons?.contactSales,k=f?c.studioAppUrl:c.ttsAppUrl,S=f?o.studioAppText:o.ttsAppText,T=f?u.logoStudio:u.logoTts,I=f?u.logoStudioLight:u.logoTtsLight,E="light"===h?I??T:T,L=(0,n.usePathname)(),A=L?.includes(e.homeUrl)?"/":e.homeUrl||"/",_="/"===A&&x?"/home/":A;return(0,t.jsx)("header",{className:"relative","data-block-type":"header","data-header-type":e.type,id:"header",children:(0,t.jsx)("nav",{"aria-label":"Main",className:"w-full bg-black light:bg-white",children:(0,t.jsx)(r.default,{className:"!max-w-[1440px]",children:(0,t.jsxs)("div",{className:(0,i.default)("flex w-full items-center justify-between gap-2 py-2 lg:grid",g?"lg:grid-cols-[1fr_auto_1fr]":"lg:grid-cols-[1fr_auto]"),children:[(0,t.jsx)("div",{className:"flex items-center gap-4",children:E&&(0,t.jsx)(s.default,{href:_,className:"z-10","aria-label":"speechify logo",children:(0,t.jsx)(a.default,{picture:E})})}),g&&m&&(0,t.jsx)("div",{className:"hidden lg:flex",children:(0,t.jsx)(v,{menuItems:m?.menuItems})}),(0,t.jsx)("div",{className:"z-10 hidden items-center justify-end gap-2 lg:flex",children:(0,t.jsx)(P,{showSignIn:w,showContactSales:C,showCta:N,showGoToApp:y,signInUrl:b,ctaUrls:c,goToAppUrl:k,config:o,goToAppText:S,isLoading:p,landingCtaText:d})}),(0,t.jsxs)("div",{className:"flex items-center gap-4 lg:hidden",children:[(0,t.jsx)("div",{className:"z-10 flex whitespace-nowrap",children:(0,t.jsx)(M,{showGoToApp:y,goToAppUrl:k,ctaUrls:c,goToAppText:S,mobileCtaText:j,landingCtaText:d})}),g&&m&&(0,t.jsx)(z,{menuItems:m.menuItems,showContactSales:C,contactSalesUrl:c.contactSales,config:o})]})]})})})})}],139101)},852678,e=>{"use strict";var t=e.i(563705),i=e.i(464645);let s={dark:{color:"#fff",backgroundColor:"#000"},light:{color:"#000",backgroundColor:"#fff"}},a=i.useLayoutEffect;e.s(["PAGE_THEME_COLORS",0,s,"default",0,({theme:e="dark"})=>{a(()=>{document.body.classList.toggle("dark-theme","dark"===e),document.body.classList.toggle("light-theme","light"===e)},[e]);
1let{color:i,backgroundColor:l}=s[e];return(0,t.jsx)("style",{dangerouslySetInnerHTML:{__html:` 2 body { 3 color: ${i}; 4 background-color: ${l}; 5 } 6 `}})}])},31620,e=>{"use strict";var t=e.i(563705),i=e.i(30546),s=e.i(911013),a=e.i(185705),l=e.i(464645);e.s(["default",0,({ctaUrls:e,footerBottomText:n,tryForFree:r,downloadNow:o})=>{let[c,d]=(0,l.useState)(!1);return(0,l.useEffect)(()=>{let e=(0,a.debounce)(()=>{d(window.scrollY>300)},5);return window.addEventListener("scroll",e),()=>{window.removeEventListener("scroll",e)}},[]),(0,t.jsx)("section",{className:(0,a.cn)("fixed bottom-0 left-0 z-30 w-full bg-white text-black bg-blend-multiply shadow-inner transition light:bg-black light:text-white",{"translate-y-full duration-700":!c,"translate-y-0 duration-700":c}),children:(0,t.jsx)(s.default,{children:(0,t.jsxs)("div",{className:"flex flex-col items-center justify-between gap-4 px-6 py-4 md:flex-row md:px-10 lg:px-6",children:[(0,t.jsx)("p",{className:"text-center text-body-3 md:text-left",children:n}),(0,t.jsx)(i.default,{href:e.cta,className:"hidden md:flex",variant:"primaryInverted",isV2Design:!0,children:r}),(0,t.jsx)(i.default,{href:e.download,className:"flex md:hidden",variant:"primaryInverted",isV2Design:!0,children:o})]})})})}])},209926,e=>{e.v({postSuggestionsSwiper:"styles-module__cUOXHq__postSuggestionsSwiper"})},110844,e=>{"use strict";var t=e.i(563705),i=e.i(860544),s=e.i(884788),a=e.i(60879),l=e.i(3819),n=e.i(185705);let r=({title:e,description:i,publishedAt:s,featuredImage:n,href:r,placeholderImages:o,locale:c,onClick:d})=>{let u=n||((e,t)=>{if(0===t.length)return null;let i=(e=>{let t=0;for(let i=0;i<e.length;i++)t=(t<<5)-t+e.charCodeAt(i)&0x7fffffff;return t})((e??"").toLowerCase().replace(/[^a-zA-Z0-9]/g,""))%t.length;return t[i]})(e,o);return(0,t.jsxs)(a.default,{href:r,className:"flex h-full w-full flex-col items-stretch rounded-3xl bg-gray-100 p-2 pb-6 transition-colors hover:bg-gray-90",onClick:d,children:[(0,t.jsx)("div",{className:"mb-1 max-h-[240px] w-full overflow-hidden rounded-2xl",children:(0,t.jsx)(l.default,{picture:u,className:"h-full w-full object-cover object-center"})}),(0,t.jsxs)("div",{className:"flex-1 p-4 pb-0",children:[(0,t.jsx)("h3",{className:"text-body-1",children:e}),i&&!n&&(0,t.jsx)("p",{className:"mt-4 line-clamp-3 text-body-3 text-gray-50",children:i})]}),(0,t.jsx)("div",{className:"mt-10 px-4 text-body-3 text-gray-50 xl:mt-12",children:(0,t.jsx)("time",{dateTime:s,children:((e,t,i="UTC")=>{try{return new Date(e).toLocaleDateString(t||"en-US",{month:"long",day:"numeric",year:"numeric",timeZone:i})}catch{return e}})(s,c)})})]})};var o=e.i(48464),c=e.i(30546),d=e.i(749534),u=e.i(464645),m=e.i(231060),h=e.i(209926),x=e.i(929498),p=e.i(451426);e.s(["default",0,({category:e,headingContent:a,viewAllCtaText:l,postType:f,locale:g,articlePreviewPlaceholders:b,posts:v})=>{let j=b.map(e=>e.placeholderImage),[y,w]=(0,u.useState)(null),N=(0,u.useContext)(x.AnalyticsContext),C=()=>"news"===f?"/news/":"blog"===f&&e?`/blog?category=${e.id}`:"/blog/";return(0,t.jsxs)(d.default,{containerClassnames:"!px-0",children:[(0,t.jsxs)("div",{className:"mb-6 flex items-end justify-between px-4 md:mb-8 lg:px-6 xl:mb-12",children:[(0,t.jsx)(o.default,{content:a,containerClassName:o.RICHTEXT_BASE_CLASSLIST}),(0,t.jsx)(c.default,{href:C(),variant:"link",icon:(0,t.jsx)(s.default,{className:"size-4"}),iconPosition:"right",isV2Design:!0,className:"hidden md:flex",children:l})]}),(0,t.jsx)("div",{className:"px-4 lg:px-6",children:(0,t.jsx)(m.Swiper,{spaceBetween:16,touchRatio:1,touchAngle:45,simulateTouch:!0,slidesPerView:"auto",breakpoints:{640:{slidesPerView:2},1024:{slidesPerView:3}},onSwiper:e=>{w(e)},className:(0,n.cn)(h.default.postSuggestionsSwiper),children:v.map(e=>(0,t.jsx)(m.SwiperSlide,{className:"h-full",children:(0,t.jsx)(r,{locale:g,title:e.title,publishedAt:e.date,href:"news"===f?`/news/${e.slug}/`:`/blog/${e.slug}/`,placeholderImages:j,featuredImage:e.featuredImage,onClick:()=>{N?.track(p.WebsiteAnalyticEvents.SuggestedPostClicked,{suggested_post_slug:e.slug,suggested_post_type:f})}})},e.id))})}),(0,t.jsxs)("div",{className:(0,n.cn)("mt-8 flex justify-center gap-4 px-4 lg:px-6",{"lg:hidden":v.length<=3}),children:[(0,t.jsx)(c.default,{onClick:()=>{y?.slidePrev()},variant:"secondary",isV2Design:!0,icon:(0,t.jsx)(i.default,{className:"size-6"}),className:"rounded-full p-2","aria-label":"Previous"}),(0,t.jsx)(c.default,{onClick:()=>{y?.slideNext()},variant:"secondary",isV2Design:!0,icon:(0,t.jsx)(s.default,{className:"size-6"}),className:"rounded-full p-2","aria-label":"Next"})]}),(0,t.jsx)("div",{className:"mt-4 flex justify-center md:hidden",children:(0,t.jsx)(c.default,{href:C(),icon:(0,t.jsx)(s.default,{className:"size-4"}),iconPosition:"right",isV2Design:!0,variant:"tertiary",children:l})})]})}],110844)}]);
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.