1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8974],{619:()=>{},10955:(e,t,a)=>{"use strict";a.d(t,{q:()=>n});var s=a(12115);function n(){let[e,t]=(0,s.useState)(!1);return(0,s.useEffect)(()=>t(!0),[]),e}},12238:()=>{},28304:(e,t,a)=>{"use strict";a.d(t,{g:()=>d});var s=a(95155),n=a(12115),l=a(37777),i=a(41407),r=a(92184),o=a(10955);let c={p:l.PY1.p,div:l.PY1.div,article:l.PY1.article,a:l.PY1.a,li:l.PY1.li},d=(0,n.forwardRef)(function(e,t){let{as:a,className:n,style:l,children:d,delay:u=0,hidden:h={y:24},href:m}=e,x=(0,i.I)()??!1,p=(0,o.q)(),f=m?{href:m,target:"_blank",rel:"noopener"}:{};if(!p||x)return(0,s.jsx)(a,{ref:t,className:n,style:l,...f,children:d});let g=c[a];return(0,s.jsx)(g,{ref:t,className:n,style:l,...f,initial:{opacity:0,x:h.x??0,y:h.y??0},whileInView:{opacity:1,x:0,y:0},viewport:{once:!0,amount:.12,margin:"0px 0px -8% 0px"},transition:{duration:r.ZI,ease:r.mr,delay:u},children:d})})},43143:(e,t,a)=>{"use strict";a.d(t,{default:()=>eA});var s=a(95155),n=a(67909),l=a(12115),i=a(89235),r=a(65102),o=a(45433),c=a(51513),d=a(41407),u=a(71878),h=a(12096),m=a(37777),x=a(92184),p=a(58214),f=a(14022);let g=["English"];var v=a(5258);let b="m12 3.6 2.6 5.3 5.8.8-4.2 4.1 1 5.8-5.2-2.7-5.2 2.7 1-5.8L3.6 9.7l5.8-.8z",y=[0,25,50,75,100];function w(){let e=window.innerWidth,t=p.Yo.find(t=>{let[a]=t;return e<=a});return t?t[1]:p.Yo[p.Yo.length-1][1]}function j(e){let{videoRef:t}=e,n=(0,l.useRef)(null),i=(0,l.useRef)(null),o=(0,x.Re)(),c=(0,d.I)()??!1;(0,f.l)(i,g),(0,l.useEffect)(()=>{let e=t.current;if(!e)return;let s=null,n=!1,l=0,i=0,r=()=>{n||e.src===x.MX.heroVideo||(e.src=x.MX.heroVideo,e.load(),e.play().catch(()=>{}))},o=()=>{!n&&(e.canPlayType("application/vnd.apple.mpegurl")?(e.src=w(),e.addEventListener("error",r,{once:!0})):a.e(9910).then(a.bind(a,57088)).then(t=>{let{default:a}=t;if(n)return;if(!a.isSupported())return void r();let l=new a({maxBufferLength:8,capLevelToPlayerSize:!0});s=l,l.on(a.Events.ERROR,(e,t)=>{t.fatal&&(l.destroy(),s=null,r())}),l.loadSource(w()),l.attachMedia(e)}).catch(r),window.matchMedia("(prefers-reduced-motion: reduce)").matches||e.play().catch(()=>{}))},c=()=>{if("function"==typeof window.requestIdleCallback){l=window.requestIdleCallback(o,{timeout:3e3});return}i=window.setTimeout(o,300)};return"complete"===document.readyState?c():window.addEventListener("load",c,{once:!0}),()=>{n=!0,window.removeEventListener("load",c),l&&"function"==typeof window.cancelIdleCallback&&window.cancelIdleCallback(l),i&&window.clearTimeout(i),e.removeEventListener("error",r),null==s||s.destroy()}},[t]),(0,l.useEffect)(()=>{let e=t.current,a=n.current;if(!e||!a||!("IntersectionObserver"in window))return;let s=new IntersectionObserver(t=>{t.forEach(t=>{let a=window.matchMedia("(prefers-reduced-motion: reduce)").matches;t.isIntersecting?!e.paused||a||e.dataset.userPaused||e.play().catch(()=>{}):e.paused||e.pause()})},{threshold:.01});return s.observe(a),()=>s.disconnect()},[t]);let{scrollYProgress:p}=(0,u.L)({target:n,offset:["start start","end start"]}),j=(0,h.G)(p,e=>c?0:Math.min(Math.max(e/.55,0),1)),N=(0,h.G)(j,e=>e*e),k=(0,h.G)(j,e=>Math.pow(e,.8)),_=(0,h.G)(k,e=>1-e),E=(0,h.G)(N,e=>`translate3d(0, ${(-(132*e)).toFixed(2)}px, 0) scale(${(1-.04*e).toFixed(4)})`),M=(0,h.G)([j,N],e=>{let[t,a]=e;return t>.02?`blur(${(7*a).toFixed(2)}px)`:"none"}),R=(0,h.G)(j,e=>e>.98?"none":"auto"),$=(0,h.G)(j,e=>e>.98?"hidden":"visible");return(0,s.jsxs)("section",{ref:n,"data-hero":!0,className:"on-dark relative isolate flex flex-col justify-center pt-[120px] md:min-h-[100svh] md:pt-[224px] md:pb-10",children:[(0,s.jsxs)("div",{className:"fixed inset-0 z-0 overflow-hidden bg-cover bg-center",style:{backgroundImage:`url(${x.MX.heroPoster})`},children:[(0,s.jsx)("video",{ref:t,className:"h-full w-full object-cover",poster:x.MX.heroPoster,preload:"metadata",playsInline:!0,muted:!0,loop:!0,"aria-hidden":"true",tabIndex:-1}),(0,s.jsx)("div",{className:"absolute inset-0","aria-hidden":"true",style:{backgroundImage:"linear-gradient(to top, rgba(10,11,15,0.78) 0%, rgba(10,11,15,0.70) 26%, rgba(10,11,15,0.56) 52%, rgba(10,11,15,0.26) 78%, rgba(10,11,15,0.30) 100%), linear-gradient(to right, rgba(10,11,15,0.52) 0%, rgba(10,11,15,0.26) 46%, rgba(10,11,15,0.04) 82%, rgba(10,11,15,0
1) 100%)"}})]}),(0,s.jsxs)(m.PY1.div,{className:`hero__inner ${x.MR} relative z-[2] my-auto`,style:{transform:E,opacity:_,filter:M,pointerEvents:R,visibility:$,willChange:"transform, opacity"},children:[(0,s.jsxs)("div",{className:"mb-4 inline-flex items-center gap-2 rounded-full bg-[rgba(10,11,15,0.42)] py-[6px] pl-2 pr-3 backdrop-blur-[8px] md:mb-5 md:gap-3 md:pl-3 md:pr-4",children:[(0,s.jsxs)("span",{className:"relative inline-block h-[17px] w-[88px] flex-shrink-0 md:h-5 md:w-[104px]",role:"img","aria-label":"Rated 4.6 out of 5",children:[(0,s.jsx)("svg",{className:"block h-full w-full fill-white/[0.34]",viewBox:"0 0 124 24","aria-hidden":"true",children:y.map(e=>(0,s.jsx)("path",{d:b,transform:`translate(${e} 0)`},e))}),(0,s.jsx)("span",{className:"absolute inset-0 overflow-hidden","aria-hidden":"true",style:{width:"92%"},children:(0,s.jsx)("svg",{className:"block h-full fill-sx-yellow50",viewBox:"0 0 124 24",style:{width:"108.69565217391305%",maxWidth:"none"},children:y.map(e=>(0,s.jsx)("path",{d:b,transform:`translate(${e} 0)`},e))})})]}),(0,s.jsxs)("span",{className:"text-[11px] font-bold uppercase tracking-[0.1em] text-white/[0.92] [font-variant-numeric:tabular-nums] md:text-caption","aria-hidden":"true",children:[(0,s.jsx)("b",{className:"font-bold text-white",children:"4.6+"})," ","Rating"]})]}),(0,s.jsx)("h1",{ref:i,className:"hero__h1 mb-6 max-w-[7.6em] text-[clamp(42px,12.2vw,56px)] font-bold leading-[0.98] tracking-[-0.028em] text-white [text-shadow:0_2px_24px_rgba(10,11,15,0.45)] md:text-[clamp(40px,6.4vw,86px)]",children:"Muh Khol. English Bol."}),(0,s.jsx)("p",{className:"mt-3 max-w-[13em] text-[clamp(18px,1.7vw,24px)] font-medium leading-[1.25] text-white md:max-w-none",children:"SpeakX | Aapka English Speaking Partner"}),(0,s.jsxs)("div",{className:"mt-8 hidden flex-col items-stretch gap-5 md:inline-flex",children:[(0,s.jsx)("a",{className:`${x.Ru} ${x.oE}`,href:o,"data-cta":"primary",onClick:()=>(0,x.u4)(r.f.HOME.HERO_START_TRIAL),children:v.y5}),(0,s.jsx)("p",{className:"m-0 flex justify-center",children:(0,s.jsx)("span",{role:"img","aria-label":v.e8,className:"block",children:(0,s.jsx)("img",{className:"block h-[22px] w-auto max-w-full",width:879,height:76,alt:"","aria-hidden":"true",src:x.MX.trustmarkLight})})})]})]})]})}var N=a(88635),k=a(41146),_=a(28304);let E=["4 out of 5 learners"],M=[{label:"How many switch",value:4,kind:"conjunction",conjunction:"in",tail:"5",note:"speak mostly English within two months."},{label:"How much English",value:92,kind:"percent",note:"of what they say is English. In week one it was 45%."},{label:"How long it takes",value:8,kind:"unit",unit:"weeks",note:"Half of active learners switch sooner."}];function R(e){let{stat:t}=e;return(0,s.jsxs)("span",{className:"block text-[clamp(44px,4vw,60px)] font-bold leading-[1.02] text-sx-gray100 [font-variant-numeric:tabular-nums]",children:[t.value,"percent"===t.kind&&(0,s.jsx)("span",{className:"ml-px align-baseline text-[0.44em]",children:"%"}),"conjunction"===t.kind&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("span",{className:"mx-[0.18em] text-[0.42em] font-semibold text-sx-gray70",children:t.conjunction}),t.tail]}),"unit"===t.kind&&(0,s.jsx)("span",{className:"mx-[0.18em] text-[0.42em] font-semibold text-sx-gray70",children:t.unit})]})}function $(e){let{stat:t,index:a}=e;return(0,s.jsxs)(_.g,{as:"div",className:"relative flex min-h-[118px] flex-col justify-center overflow-hidden rounded-2xl border border-sx-gray20 bg-white px-6 py-5",delay:a*x.ph,children:[(0,s.jsxs)("dt",{className:"flex flex-col gap-1",children:[(0,s.jsx)("span",{className:"text-[12px] font-bold uppercase tracking-[0.09em] text-sx-gray70",children:t.label}),(0,s.jsx)(R,{stat:t})]}),(0,s.jsx)("dd",{className:"mt-2 text-[14px] leading-[1.45] text-sx-gray70",children:t.note})]})}function S(){let e=(0,l.useRef)(null);return(0,f.l)(e,E),(0,s.jsxs)("section",{id:"proof",className:`${x.wn} overflow-hidden bg-white`,children:[(0,s.jsx)("div",{className:`${x.MR} relative z-[1]`,children:(0,s.jsxs)("div",{className:"grid grid-cols-1 gap-12 lg:gap-16",children:[(0,s.jsxs)("div",{className:"mx-auto max-w-[760px] text-center",children:[(0,s.jsx)("h2",{ref:e,className:x.QY,children:"In just 2 months, 4 out of 5 learners start speaking English confidently."}),(0,s.jsx)(_.g,{as:"p",className:"mx-auto mt-6 max-w-[52ch] text-[18px] leading-[1.55] text-sx-gray70",children:"Not lessons completed. Not badges earned. Actual English, coming out of their mouth, most of the time."})]}),(0,s.jsxs)("div",{className:"grid grid-cols-1 overflow-hidden rounded-[24px] border border-sx-gray20 shadow-e1 min-[900px]:grid-cols-[0.88fr_1.12fr]",style:{background:"radial-gradient(128% 108% at 78% 100%, #FFF0E3 0%, #FFFAF5 52%, #FFFAF5 100%)"},children:[(0,s.jsx)("dl",{className:"m-0 grid auto-rows-fr content-center gap-3 p-6 min-[900px]:gap-4 min-[900px]:p-8",children:M.map((e,t)=>(0,s.jsx)($,{stat:e,index:t},e.label))}),(0,s.jsx)(_.g,{as:"div",className:"flex items-end justify-center px-6 pt-8 max-[899px]:order-[-1]",hidden:{x:-32},children:(0,s.jsx)("img",{className:"block h-auto w-auto max-w-full max-h-[clamp(340px,52vw,620px)]",src:x.MX.dhoni,alt:"MS Dhoni, SpeakX investor",width:872,height:1400,loading:"lazy",decoding:"async"})})]})]})}),(0,s.jsx)("div",{className:"pointer-events-none absolute inset-x-0 bottom-0 z-0 h-[clamp(100px,12vw,170px
1)]","aria-hidden":"true",style:{backgroundImage:"linear-gradient(to bottom, rgba(247,248,250,0) 0%, #F7F8FA 100%)"}})]})}function I(e,t,a){let s=Math.floor(a/2),n=((e-t)%a+a)%a;return n>s?n-a:n}function L(e){return 3>=Math.abs(e)?String(e):e<0?"farL":"farR"}let P=["shorter"],A=[{initials:"AG",name:"Ananya G.",meta:"Student, Nagpur",quote:"Writing was never my issue. Essays, exams, I could do fine. But put me in a group discussion and Iâd just sit there. Iâve been using SpeakX at night for about a month, mostly just talking to it. I still get nervous in GDs, but at least now I finish my sentence."},{initials:"RM",name:"Rahul M.",meta:"MBA Student, Indore",quote:"Grammar toh school mein padh li thi. Bolne ka practice kabhi hua hi nahi. Ghar pe sab Hindi mein baat karte hain, toh English kahan bolun. SpeakX pe bolna hi padta hai, wahi accha hai. Ab sentence banane mein pehle jitna time nahi lagta. Pehle sochta reh jaata tha."},{initials:"RD",name:"Rohan D.",meta:"IT Professional, Pune",quote:"My English is okay. The speed was the problem. Iâd make the whole sentence in my head first, but by then people had moved on to the next thing. I do ten, fifteen minutes on SpeakX before bed. Last month I gave my whole standup
1in English. Nobody noticed, but I did."},{initials:"FA",name:"Farhan A.",meta:"Inside Sales, Ahmedabad",quote:"In person Iâm fine. On calls I struggle, because you canât see the person and thereâs no time to think. I do around ten minutes of SpeakX in the auto on my way to work. Some days I skip. But the pause before I start talking is much less now."},{initials:"MT",name:"Meenal T.",meta:"Homemaker, Bhopal",quote:"Bete ki PTM mein main bas sunti thi. Teacher se kuch poochhne ka mann hota tha, par bol nahi paati thi. Dopahar mein bartan ke baad thoda time milta hai, tab SpeakX pe practice karti hoon. Koi dekh nahi raha, isliye sharam nahi aati. Pichli PTM mein maine do sawaal poochhe."},{initials:"KR",name:"Kavita R.",meta:"Returning to Work, Bengaluru",quote:"Eleven years at home. The job I could handle, it was the interview that scared me. I started with fifteen minutes of SpeakX a day, just normal conversation stuff. Iâve had three interviews since. Still nervous every time, but I donât blank out like I did in the first one."}];function F(e){let{testimonial:t,seat:a,cardRef:n}=e;return(0,s.jsxs)("figure",{className:"tcard",ref:n,"data-o":a,"aria-hidden":"farL"===a||"farR"===a||"-3"===a||"3"===a||void 0,children:[(0,s.jsx)("blockquote",{children:t.quote}),(0,s.jsxs)("figcaption",{children:[(0,s.jsx)("span",{className:"tcard__ini","aria-hidden":"true",children:t.initials}),(0,s.jsxs)("span",{children:[(0,s.jsx)("b",{children:t.name}),(0,s.jsx)("br",{}),(0,s.jsx)("span",{className:"tcard__meta",children:t.meta})]})]})]})}function C(){let e=(0,l.useRef)(null);(0,f.l)(e,P);let t=[...A,...A],{seatOf:a,go:n,bind:i}=function(e){let t=(0,l.useRef)(0),a=(0,l.useRef)([]),s=(0,l.useRef)([]),n=(0,l.useRef)(null),i=(0,l.useRef)(null),r=(0,l.useRef)(null),o=(0,l.useRef)(!1),c=(0,l.useRef)(!0),u=(0,l.useRef)(null),h=(0,d.I)()??!1,m=(0,l.useCallback)(t=>L(I(t,0,e)),[e]),x=(0,l.useCallback)(()=>{for(let n=0;n<e;n++){let l=s.current[n];if(!l)continue;let i=I(n,t.current,e),r=L(i),o=a.current[n];(void 0!==o&&Math.abs(i-o)>1?(l.classList.add("is-warping"),l.setAttribute("data-o",r),l.offsetWidth,l.classList.remove("is-warping")):l.setAttribute("data-o",r),"farL"===r||"farR"===r||"-3"===r||"3"===r)?l.setAttribute("aria-hidden","true"):l.removeAttribute("aria-hidden"),a.current[n]=i}},[e]),p=(0,l.useCallback)(()=>{let e=n.current,t=i.current;if(!e||!t)return;let a=0;if(s.current.forEach(e=>{e&&(a=Math.max(a,e.offsetHeight))}),!a)return;let l=getComputedStyle(t),r=parseFloat(l.getPropertyValue("--t-pt"))||48,o=parseFloat(l.getPropertyValue("--t-pb"))||100;e.style.setProperty("--t-h",`${a+r+o}px`)},[]),f=(0,l.useCallback)(a=>{t.current=((t.current+a)%e+e)%e,x()},[e,x]),g=(0,l.useCallback)(()=>{null!==r.current&&(clearInterval(r.current),r.current=null)},[]),v=(0,l.useCallback)(()=>{h||null===r.current&&(r.current=setInterval(()=>{!o.current&&c.current&&f(1)},6500))},[f,h]),b=(0,l.useCallback)(()=>{null!==r.current&&(g(),v())},[v,g]),y=(0,l.useCallback)(e=>{f(e),b()},[f,b]);(0,l.useEffect)(()=>{let e;x(),p(),document.fonts&&document.fonts.ready&&document.fonts.ready.then(p);let t=()=>{clearTimeout(e),e=setTimeout(p,200)};return window.addEventListener("resize",t),()=>{window.removeEventListener("resize",t),clearTimeout(e)}},[x,p]),(0,l.useEffect)(()=>{let e;if(h)return;let t=n.current;if(!t)return;"IntersectionObserver"in window&&(e=new IntersectionObserver(e=>{var t;c.current=(null==(t=e[0])?void 0:t.isIntersecting)??!0},{threshold:.2})).observe(t);let a=()=>{document.hidden?g():v()};return document.addEventListener("visibilitychange",a),v(),()=>{g(),null==e||e.disconnect(),document.removeEventListener("visibilitychange",a)}},[v,g,h]);let w=(0,l.useCallback)(e=>t=>{s.current[e]=t},[]),j=(0,l.useCallback)(()=>{o.current=!0},[]),N=(0,l.useCallback)(()=>{o.current=!1},[]),k=(0,l.useCallback)(e=>{"ArrowLeft"===e.key?(e.preventDefault(),y(-1)):"ArrowRight"===e.key&&(e.preventDefault(),y(1))},[y]),_=(0,l.useCallback)(e=>{var t;u.current=(null==(t=e.touches[0])?void 0:t.clientX)??null},[]),E=(0,l.useCallback)(e=>{var t;if(null===u.current)return;let a=((null==(t=e.changedTouches[0])?void 0:t.clientX)??0)-u.current;u.current=null,Math.abs(a)>40&&y(a<0?1:-1)},[y]);return{seatOf:m,go:y,bind:{stageRef:n,trackRef:i,cardRef:w,sectionProps:{onMouseEnter:j,onMouseLeave:N,onFocus:j,onBlur:N},stageProps:{tabIndex:0,role:"group",onKeyDown:k,onTouchStart:_,onTouchEnd:E}}}}(t.length);return(0,s.jsxs)("section",{id:"testimonials",className:`${x.EE} tstrip`,...i.sectionProps,children:[(0,s.jsx)("span",{className:"tstrip__glyph","aria-hidden":"true",children:"â"}),(0,s.jsx)("div",{className:`${x.St} relative z-[1]`,children:(0,s.jsxs)("div",{className:"mx-auto mb-6 max-w-[720px] text-center",children:[(0,s.jsx)("h2",{ref:e,className:x.QY,children:"The pause got shorter."}),(0,s.jsxs)(_.g,{as:"p",className:`mx-auto mt-5 ${x.Ws}`,children:["Learners, ",(0,s.jsx)("mark",{className:"hl",children:"in their own words"}),"."]})]})}),(0,s.jsx)("div",{ref:i.stageRef,className:"tstrip__stage","aria-label":"Learner testimonials, advancing automatically. Focus, hover, or use the arrows to pause.",...i.stageProps,children:(0,s.jsx)("div",{ref:i.trackRef,className:"tstrip__track",children:t.map((e,t)=>(0,s.jsx)(F,{testimonial:e,seat:a(t),cardRef:i.cardRef(t)},t))})}),(0,s.jsxs)("div",{className:"tstrip__nav",children:[(0,s.jsx)("button",{className:"tnav",type:"button","aria-label":"Previous testimonial",onClick:()=>n(-1),children:(0,s.jsx)("svg",{viewBox:"0 0 24 24","aria-hidden":"true",children:(0,s.jsx)("path",{d:"M15 6 9 12l6 6"})})}),(0,s.jsx)("button",{className:"tnav",type:"button","aria-label":"Next testimonial",onClick:()=>n(1),children:(0,s.jsx)("svg",{viewBox:"0 0 24 24","aria-hidden":"true",children:(0,s.jsx)("path",{d:"M9 6l6 6-6 6"})})})]})]})}a(12238);let z="Nobody learns English for the sake of English. Everyone wants to speak English in real-life situations.",T=["for the sake of English","in real-life situations"],B=[{ax:.615,ay:.23,cx:.815,cy:.215,z:.82,order:0},{ax:.49,ay:.155,cx:.375,cy:.32,z:.882,order:1},{ax:.7,ay:.655,cx:.855,cy:.76,z:1.14,order:4},{ax:.643,ay:.468,cx:.575,cy:.73,z:1.122,order:3},{ax:.203,ay:.83,cx:.135,cy:.545,z:1.014,order:2}],H=[{key:"job-interview",title:"Job Interview",body:"Be ready. Get the job you want.",image:`${x.ASSETS}/usecase-job-interview.jpg`,alt:"An interview room at dusk, two chairs facing each other across a table",focus:"38% 42%"},{key:"higher-studies",title:"Higher Studies",body:"Speak up. Get into your dream college.",image:`${x.ASSETS}/usecase-higher-studies.jpg`,alt:"A university library reading room in the evening, green desk lamps lit along the tables",focus:"34% 45%"},{key:"travel-abroad",title:"Travel Abroad",body:"Talk confidently. Explore the world.",image:`${x.ASSETS}/usecase-travel-abroad.jpg`,alt:"An airport departure gate at dusk, empty seats facing a glass wall with an aircraft outside",focus:"42% 46%"},{key:"promotion",title:"Promotion",body:"Make your voice heard. Move ahead.",image:`${x.ASSETS}/usecase-promotion.jpg`,alt:"A small office meeting room in the evening, long table and whiteboard",focus:"50% 44%"},{key:"family",title:"Family",body:"Connect better. Be closer to your loved one
1s.",image:`${x.ASSETS}/usecase-family.jpg`,alt:"A living room in the evening, two cups of chai and an open notebook",focus:"46% 52%"}],X=B.length,q=[.577,.638,.7,.762,.823];function G(e,t,a){return e<=t?0:e>=a?1:(e-t)/(a-t)}function Y(e){return 1-Math.pow(1-e,3)}function W(e){return e<.5?4*e*e*e:1-Math.pow(-2*e+2,3)/2}a(619);let O=z.indexOf(". "),D=z.slice(0,O+1),K=z.slice(O+2),V=T[0],Q=T[1],J=[{"--ux":-1,"--uy":-.42,"--rate":1,"--drift":"54s","--drift-in":"-11s","--tex-a":"14% 22%","--tex-b":"78% 66%","--size-a":"132%","--size-b":"104%"},{"--ux":.86,"--uy":1,"--rate":1.3,"--drift":"39s","--drift-in":"-23s","--tex-a":"86% 74%","--tex-b":"24% 18%","--size-a":"112%","--size-b":"148%"}];function Z(e,t){let a=t?e.indexOf(t):-1,s=a>=0?a+t.length:-1;return e.split("").map((e,t)=>({ch:e,hl:a>=0&&t>=a&&t<s}))}function U(e){let{chars:t,lineRef:a,index:n,className:l}=e;return(0,s.jsx)("span",{ref:a,className:l,"data-ucline":n,children:t.map((e,t)=>(0,s.jsx)("span",{className:e.hl?"uch split__hl":"uch",children:e.ch},t))})}function ee(e){let{shown:t,bind:a}=e,n=Z(D,V),l=Z(K,Q);return(0,s.jsx)("div",{ref:a.wrapRef,className:"ucmap",style:{height:"calc(100vh + 560vh)"},children:(0,s.jsxs)("div",{ref:a.stageRef,className:"ucmap__stage ucmap__stage--before",children:[(0,s.jsx)("div",{ref:a.headRef,className:"ucmap__head",children:(0,s.jsxs)("h2",{className:`${x.QY} ucmap__title`,children:[(0,s.jsx)(U,{chars:n,lineRef:a.line1Ref,index:0,className:"ucmap__line ucmap__line--1"}),(0,s.jsx)(U,{chars:l,lineRef:a.line2Ref,index:1,className:"ucmap__line ucmap__line--2"})]})}),(0,s.jsxs)("div",{ref:a.frameRef,className:"ucmap__frame",children:[(0,s.jsx)("img",{className:"ucmap__img",src:x.MX.cityMap,alt:"",width:1672,height:941,loading:"lazy",decoding:"async"}),(0,s.jsxs)("div",{ref:a.cloudsRef,className:"ucmap__clouds","aria-hidden":"true",style:{"--cloud-a":`url(${x.MX.cloudA})`,"--cloud-b":`url(${x.MX.cloudB})`},children:[(0,s.jsx)("span",{className:"ucmap__wash"}),(0,s.jsx)("span",{className:"ucmap__cloud",style:J[0]}),(0,s.jsx)("span",{className:"ucmap__cloud",style:J[1]})]}),(0,s.jsx)("svg",{className:"ucmap__leads",viewBox:"0 0 1672 941",preserveAspectRatio:"none","aria-hidden":"true",children:B.map((e,n)=>(0,s.jsxs)("g",{ref:a.leadRef(n),className:`ucmap__lead${t>e.order?" is-on":""}`,children:[(0,s.jsx)("line",{}),(0,s.jsx)("polygon",{className:"ucmap__tail"}),(0,s.jsx)("polyline",{className:"ucmap__tailline"}),(0,s.jsx)("circle",{className:"ucmap__halo",r:17}),(0,s.jsx)("circle",{className:"ucmap__dot",r:8})]},n))}),(0,s.jsx)("div",{className:"ucmap__grid",children:H.map((e,n)=>{let l=t>B[n].order;return(0,s.jsxs)("div",{ref:a.cardRef(n),className:`ucmap__card${l?" is-on":""}`,children:[(0,s.jsx)("img",{className:"ucmap__shot",src:e.image,alt:e.alt,loading:"lazy",decoding:"async",width:840,height:560}),(0,s.jsxs)("div",{className:"ucmap__text",children:[(0,s.jsx)("h3",{className:"ucmap__cardtitle",children:e.title}),(0,s.jsx)("p",{className:"ucmap__cardbody",children:e.body})]})]},e.key)})})]})]})})}let et=["md:col-span-2 lg:[grid-column:1/span_2] lg:[grid-row:1/span_2]","lg:[grid-column:3] lg:[grid-row:1]","lg:[grid-column:3] lg:[grid-row:2]","lg:[grid-column:1] lg:[grid-row:3]","lg:[grid-column:2/span_2] lg:[grid-row:3]"],ea=["p-6 lg:p-8","p-6","p-6","p-6","p-6 lg:p-8"],es=["text-[20px] lg:text-[30px]","text-[20px]","text-[20px]","text-[20px]","text-[20px]"];function en(e){let{useCase:t,index:a}=e;return(0,s.jsxs)(_.g,{as:"article",className:`group relative isolate min-w-0 overflow-hidden rounded-[20px] bg-sx-gray100 shadow-none transition-shadow duration-200 ease-standard max-[767px]:aspect-[4/3] hover:shadow-[inset_0_0_0_2px_#FF4D00,0_24px_64px_rgba(10,11,15,0.16)] focus-visible:shadow-[inset_0_0_0_2px_#FF4D00,0_24px_64px_rgba(10,11,15,0.16)] focus-visible:outline focus-visible:outline-[1.5px] focus-visible:outline-sx-orange40 focus-visible:outline-offset-[3px] ${et[a]}`,style:{"--focus":t.focus},delay:a*x.ph,children:[(0,s.jsx)("img",{className:"absolute inset-0 z-0 h-full w-full object-cover [object-position:var(--focus,50%_50%)]",src:t.image,alt:t.alt,loading:"lazy",decoding:"async",width:840,height:560}),(0,s.jsx)("span",{className:"pointer-events-none absolute inset-0 z-[2]","aria-hidden":"true",style:{backgroundImage:"linear-gradient(to top, rgba(10,11,15,0.86) 0px, rgba(10,11,15,0.76) 52px, rgba(10,11,15,0.56) 100px, rgba(10,11,15,0.28) 160px, rgba(10,11,15,0.07) 225px, rgba(10,11,15,0
1) 290px)"}}),(0,s.jsxs)("div",{className:`absolute inset-x-0 bottom-0 z-[3] text-white max-[479px]:p-5 ${ea[a]}`,children:[(0,s.jsx)("h3",{className:`font-bold leading-[1.2] text-white ${es[a]}`,children:t.title}),(0,s.jsx)("p",{className:"mt-2 text-white/[0.88]",children:t.body})]})]})}function el(){let e=(0,l.useRef)(null),{active:t,shown:a,bind:n}=function(){let e=(0,d.I)()??!1,[t,a]=(0,l.useState)(!1),[s,n]=(0,l.useState)(0),i=(0,N.BR)(),r=(0,l.useRef)(null),o=(0,l.useRef)(null),c=(0,l.useRef)(null),u=(0,l.useRef)(null),h=(0,l.useRef)(null),m=(0,l.useRef)(null),x=(0,l.useRef)(null),p=(0,l.useRef)([]),f=(0,l.useRef)([]),g=(0,l.useCallback)(e=>t=>{p.current[e]=t},[]),v=(0,l.useCallback)(e=>t=>{f.current[e]=t},[]);return(0,l.useEffect)(()=>{let t=window.matchMedia("(min-width:1200px)"),s=()=>a(t.matches&&!e);return s(),t.addEventListener("change",s),window.addEventListener("resize",s,{passive:!0}),()=>{t.removeEventListener("change",s),window.removeEventListener("resize",s)}},[e]),(0,l.useLayoutEffect)(()=>{var e,a,s;if(!t)return;let l=r.current,d=o.current,g=c.current,v=u.current,b=x.current,y=p.current,w=f.current;if(!l||!d||!g||!v||!b||y.filter(Boolean).length<X||w.filter(Boolean).length<X)return;let j=!1,N=[],k=new Map,_=1,E=0,M=1,R=!1,$="",S=Array.from((null==(e=h.current)?void 0:e.querySelectorAll(".uch"))??[]),I=Array.from((null==(a=m.current)?void 0:a.querySelectorAll(".uch"))??[]),L={n1:-1,n2:-1},P=-1,A="";for(let e=0;e<X;e++)null==(s=y[e])||s.style.setProperty("--z",String(B[e].z));function F(){k.clear()}function C(e,t,a){let s=k.get(e);s||(s={},k.set(e,s)),s[t]!==a&&(s[t]=a,e.style.setProperty(t,a))}function z(){if(!g||!v||!d)return;g.style.removeProperty("--zs"),g.style.removeProperty("--zt"),v.style.removeProperty("--hy"),v.style.removeProperty("--hs"),v.style.removeProperty("--ho"),v.style.removeProperty("--l1"),v.style.removeProperty("--l2"),F();let e=v.getBoundingClientRect(),t=g.offsetWidth,a=g.offsetHeight,s=document.documentElement.clientWidth,n=window.innerHeight;if(!t||!a){_=1,E=0,$="";return}_=Math.max(s/t,n/a),E=n/2-(g.getBoundingClientRect().top-d.getBoundingClientRect().top+a/2);let l=e.width?Math.min(1.55,.92*s/e.width):1.55;l<1&&(l=1),M=l,$=""}function T(){if(!g)return;let e=g.offsetWidth,t=g.offsetHeight;if(!e||!t)return;let a=document.documentElement.clientWidth,s=window.innerHeight,n=Math.max(a/e,s/t),l=a/(2*e*n),i=s/(2*t*n);for(let a=0;a<X;a++){let s=y[a];if(!s)continue;let n=s.offsetWidth/(2*e),r=s.offsetHeight/(2*t),o=.5-l+n+.012,c=.5+l-n-.012,d=.5-i+r+.012,u=.5+i-r-.012,h=B[a].cx,m=B[a].cy;o<=c&&(h=Math.max(o,Math.min(c,h))),d<=u&&(m=Math.max(d,Math.min(u,m))),N[a]={cx:h,cy:m},s.style.setProperty("--cx",`${(100*h).toFixed(3)}%`),s.style.setProperty("--cy",`${(100*m).toFixed(3)}%`)}}function H(){if(!g)return;let e=g.offsetWidth;if(!e)return;let t=1672/e;for(let e=0;e<X;e++){let a,s,n=y[e],l=w[e];if(!n||!l)continue;let i={line:l.querySelector("line"),tail:l.querySelector(".ucmap__tail"),tailline:l.querySelector(".ucmap__tailline"),halo:l.querySelector(".ucmap__halo"),dot:l.querySelector(".ucmap__dot")};if(!i.line||!i.tail||!i.tailline||!i.halo||!i.dot)continue;let r=B[e],o=(parseFloat(getComputedStyle(n).borderTopLeftRadius)||0)*t,c=n.offsetWidth*t/2,d=n.offsetHeight*t/2,u=N[e]??r,h=1672*u.cx,m=941*u.cy,x=1672*r.ax,p=941*r.ay,f=x-h,g=p-m,v=1;(f||g)&&(v=Math.min(f?c/Math.abs(f):1/0,g?d/Math.abs(g):1/0,1));let b=h+f*v,j=m+g*v;if((f?c/Math.abs(f):1/0)<=(g?d/Math.abs(g):1/0)){a=f<0?-1:1,s=0;let e=Math.max(0,d-o-16-2);j=Math.max(m-e,Math.min(m+e,j)),b=h+a*c}else{a=0,s=g<0?-1:1;let e=Math.max(0,c-o-16-2);b=Math.max(h-e,Math.min(h+e,b)),j=m+s*d}let k=-s,_=a,E=b+22*a,M=j+22*s,R=b-6*a,$=j-6*s,S=R+16*k,I=$+16*_,L=R-16*k,P=$-16*_,A=(e,t)=>`${e.toFixed(1)},${t.toFixed(1)}`,F=`${A(S,I)} ${A(E,M)} ${A(L,P)}`;i.tail.setAttribute("points",F),i.tailline.setAttribute("points",F),i.line.setAttribute("x1",E.toFixed(1)),i.line.setAttribute("y1",M.toFixed(1)),i.line.setAttribute("x2",x.toFixed(1)),i.line.setAttribute("y2",p.toFixed(1)),i.halo.setAttribute("cx",x.toFixed(1)),i.halo.setAttribute("cy",p.toFixed(1)),i.dot.setAttribute("cx",x.toFixed(1)),i.dot.setAttribute("cy",p.toFixed(1))}}function O(){if(!l||!d)return;let e=l.offsetHeight-d.offsetHeight;if(e<=0)return;let t=l.getBoundingClientRect().top;!function(e,t){if(!d)return;let a=e>0?"before":e<=-t?"after":"pinned";a!==A&&(A=a,d.classList.remove("ucmap__stage--before","ucmap__stage--pinned","ucmap__stage--after"),d.classList.add(`ucmap__stage--${a}
1`))}(t,e);let a=-t/e;a<0?a=0:a>1&&(a=1),i(a>.015&&a<.912),R||t>0||(R=!0,z(),T(),H()),function(e){if(!g||!b||!v)return;let t=W(G(e,.862,.971)),a=1+0*Y(G(e,.338,.577)),s=G(e,.338,.577),n=1-Y(G(e,.292,.398)),l=W(G(e,.292,.377)),{n1:i,n2:r}=function(e){let t=S.length,a=I.length;return t||a?e<.1?{n1:Math.round(G(e,0,.1)*t),n2:0}:e<.154?{n1:t,n2:0}:{n1:t,n2:Math.round(G(e,.154,.262)*a)}:{n1:0,n2:0}}(e);if(i!==L.n1||r!==L.n2){for(let e=0;e<S.length;e++)S[e].classList.toggle("is-on",e<i);for(let e=0;e<I.length;e++)I[e].classList.toggle("is-on",e<r);S.forEach(e=>e.classList.remove("is-cursor")),I.forEach(e=>e.classList.remove("is-cursor")),r>0&&r<I.length?I[r-1].classList.add("is-cursor"):i>0&&i<S.length&&S[i-1].classList.add("is-cursor"),L={n1:i,n2:r}}let o=(_*a+(1-_*a)*t).toFixed(4),c=`${Math.round(E*(1-t))}px`,d=t.toFixed(4),u=s.toFixed(4),h=n.toFixed(4),m=(1-l).toFixed(4),x=`${Math.round(-(90*l))}px`,p=M.toFixed(4),f=(1-G(e,.127,.154)).toFixed(3),y=(+(e>=.154)).toFixed(3),w=o+c+d+u+h+m+x+p+f+y;w!==$&&($=w,C(g,"--zs",o),C(g,"--zt",c),C(g,"--chrome",d),C(b,"--part",u),C(b,"--wash",h),b.classList.toggle("is-live","1.0000"!==u),C(v,"--hy",x),C(v,"--hs",p),C(v,"--ho",m),C(v,"--l1",f),C(v,"--l2",y))}(a);let s=0;for(;s<q.length&&a>=q[s];)s++;s!==P&&(P=s,n(s))}R=!1,F(),z(),T(),H(),$="",O();let D=!1,K=()=>{D||(D=!0,requestAnimationFrame(()=>{O(),D=!1}))},V=()=>{R=!1,F(),z(),$="",T(),H(),O()};return window.addEventListener("scroll",K,{passive:!0}),window.addEventListener("resize",V,{passive:!0}),document.fonts&&document.fonts.ready&&document.fonts.ready.then(()=>{j||V()}),()=>{j=!0,window.removeEventListener("scroll",K),window.removeEventListener("resize",V),g.style.removeProperty("--zs"),g.style.removeProperty("--zt"),g.style.removeProperty("--chrome"),b.style.removeProperty("--part"),b.style.removeProperty("--wash"),b.classList.remove("is-live"),v.style.removeProperty("--hy"),v.style.removeProperty("--hs"),v.style.removeProperty("--ho"),v.style.removeProperty("--l1"),v.style.removeProperty("--l2"),S.forEach(e=>e.classList.remove("is-on","is-cursor")),I.forEach(e=>e.classList.remove("is-on","is-cursor")),d.classList.remove("ucmap__stage--pinned","ucmap__stage--after"),d.classList.add("ucmap__stage--before"),n(0),i(!1)}},[t,i]),{active:t,shown:s,bind:{wrapRef:r,stageRef:o,frameRef:c,headRef:u,line1Ref:h,line2Ref:m,cloudsRef:x,cardRef:g,leadRef:v}}}();return((0,f.l)(e,T),t)?(0,s.jsx)("section",{id:"usecases",className:"relative",children:(0,s.jsx)(ee,{shown:a,bind:n})}):(0,s.jsx)("section",{id:"usecases",className:x.EE,children:(0,s.jsxs)("div",{className:x.MR,children:[(0,s.jsxs)("div",{className:"mx-auto max-w-[760px] text-center",children:[(0,s.jsx)("h2",{ref:e,className:x.QY,children:z}),(0,s.jsx)(_.g,{as:"p",className:"mx-auto mt-5 max-w-[52ch] text-[18px] leading-[1.55] text-sx-gray70",children:"They learn it for one conversation they can already picture."})]}),(0,s.jsx)("div",{className:"mt-12 grid grid-cols-1 gap-4 md:grid-cols-2 md:auto-rows-[clamp(200px,26vw,260px)] lg:grid-cols-3 lg:auto-rows-[clamp(200px,17vw,250px)] lg:mt-16",children:H.map((e,t)=>(0,s.jsx)(en,{useCase:e,index:t},e.key))})]})})}var ei=a(74570);a(57991);var er=a(51619),eo=a.n(er),ec=a(68141),ed=a.n(ec),eu=a(47389),eh=a.n(eu),em=a(35647),ex=a.n(em),ep=a(20885),ef=a.n(ep),eg=a(29013),ev=a.n(eg);let eb=[eo().variable,ed().variable,eh().variable,ex().variable,ef().variable,ev().variable].join(" "),ey=["the language you think in"],ew=[{code:"hi",native:"हिनà¥à¤¦à¥",latin:"Hindi",line:"नमसà¥à¤¤à¥, à¤à¥à¤¸à¥ हà¥? मà¥à¤ तà¥à¤®à¥à¤¹à¥à¤ हॠढà¥à¤à¤¢ रहा था!",x:305,y:115,side:"l"},{code:"mr",native:"मराठà¥",latin:"Marathi",line:"नमसà¥à¤à¤¾à¤°, à¤à¤¸à¥ à¤à¤¹à¤¾à¤¤? मॠतà¥à¤®à¥à¤¹à¤¾à¤²à¤¾à¤ शà¥à¤§à¤¤ हà¥à¤¤à¥!",x:245,y:300,side:"l"},{code:"bn",native:"বাà¦à¦²à¦¾",latin:"Bengali",line:"নমসà§à¦à¦¾à¦°, à¦à§à¦®à¦¨ à¦à¦à§à¦¨? à¦à¦®à¦¿ à¦à¦ªà¦¨à¦¾à¦à§à¦ à¦à§à¦à¦à¦à¦¿à¦²à¦¾à¦®!",x:245,y:500,side:"l"},{code:"te",native:"à°¤à±à°²à±à°à±",latin:"Telugu",line:"నమసà±à°¤à±, à°à°²à°¾ à°à°¨à±à°¨à°¾à°°à±? à°¨à±à°¨à± మిమà±à°®à°²à±à°¨à± à°µà±à°¤à±à°à±à°¤à±à°¨à±à°¨à°¾à°¨à±!",x:305,y:685,side:"l"},{code:"ta",native:"தமிழà¯",latin:"Tamil",line:"வணà®à¯à®à®®à¯, à®à®ªà¯à®ª
1à®à®¿ à®à®°à¯à®à¯à®à®¿à®±à¯à®°à¯à®à®³à¯? நான௠à®à®à¯à®à®³à¯à®¤à¯à®¤à®¾à®©à¯ தà¯à®à®¿à®à¯à®à¯à®£à¯à®à®¿à®°à¯à®¨à¯à®¤à¯à®©à¯!",x:895,y:115,side:"r"},{code:"kn",native:"à²à²¨à³à²¨à²¡",latin:"Kannada",line:"ನಮಸà³à²à²¾à²°, ಹà³à²à²¿à²¦à³à²¦à³à²°à²¿? ನಾನೠನಿಮà³à²®à²¨à³à²¨à³ ಹà³à²¡à³à²à³à²¤à³à²¤à²¿à²¦à³à²¦à³!",x:955,y:300,side:"r"},{code:"ml",native:"മലയാളà´",latin:"Malayalam",line:"നമസàµà´à´¾à´°à´, à´¸àµà´à´®à´¾à´£àµ? à´à´¾àµ» നിà´àµà´à´³àµà´¤àµà´¤à´¨àµà´¨àµ തിരയàµà´à´¯à´¾à´¯à´¿à´°àµà´¨àµà´¨àµ!",x:955,y:500,side:"r"},{code:"en",native:"English",latin:"Where you end up",line:"Hello, how are you doing? I was looking for you!",x:895,y:685,side:"r"}];function ej(e){let{entry:t}=e,a="en"===t.code;return(0,s.jsxs)("div",{className:"sxlang-phone-device",children:[(0,s.jsxs)("div",{className:"sxlang-phone-screen",children:[(0,s.jsx)("img",{className:"sxlang-phone-plate",src:x.MX.phonePlateTop,width:640,height:332,alt:"","aria-hidden":"true"}),(0,s.jsx)("div",{className:"sxlang-phone-stage",children:(0,s.jsxs)("div",{className:"sxlang-prompt",children:[(0,s.jsx)("p",{className:"sxlang-prompt-en",lang:"en",children:"Hello, how are you doing? I was looking for you!"}),!a&&(0,s.jsx)("p",{className:"sxlang-prompt-native",lang:t.code,children:t.line})]})}),(0,s.jsxs)("div",{className:"sxlang-phone-ctl",children:[(0,s.jsx)("img",{className:"sxlang-phone-plate",src:x.MX.phonePlateBottom,width:640,height:462,alt:"","aria-hidden":"true"}),(0,s.jsxs)("span",{className:"sxlang-mic","aria-hidden":"true",children:[(0,s.jsx)("i",{}),(0,s.jsx)("i",{}),(0,s.jsx)("i",{})]}),(0,s.jsx)("span",{className:"sxlang-micglow","aria-hidden":"true"}),(0,s.jsx)("span",{className:"sxlang-michalo","aria-hidden":"true"})]})]}),(0,s.jsx)("img",{className:"sxlang-phone-hand",src:x.MX.phoneHand,alt:"","aria-hidden":"true",width:760,height:1053})]})}function eN(e){let{entry:t,swapping:a}=e,n=(0,l.useRef)(null),i=(0,ei.W)(n,{margin:"10% 0px"}),r=`sxlang-phone${i?" is-live":""}${a?" is-swapping":""}`;return(0,s.jsx)("div",{ref:n,className:r,children:(0,s.jsx)(_.g,{as:"div",className:"block w-full",children:(0,s.jsx)(ej,{entry:t})})})}let ek={l:510,r:690},e_=[265,345,455,535],eE=function(e){let t=new Map;return["l","r"].forEach(a=>{e.filter(e=>e.side===a).slice().sort((e,t)=>e.y-t.y).forEach((e,a)=>t.set(e.code,e_[a]))}),t}(ew);function eM(){let e=(0,d.I)()??!1,t=(0,l.useRef)(null),a=(0,ei.W)(t,{amount:.35}),[n,i]=(0,l.useState)(ew[0].code),[r,o]=(0,l.useState)(ew[0].code),[c,u]=(0,l.useState)(!1),[h,m]=(0,l.useState)(!1),[x,p]=(0,l.useState)(!1),f=(0,l.useRef)(n),g=(0,l.useRef)(r),v=(0,l.useRef)(null),b=(0,l.useRef)({});(0,l.useEffect)(()=>{f.current=n},[n]),(0,l.useEffect)(()=>{g.current=r},[r]),(0,l.useEffect)(()=>()=>{v.current&&clearTimeout(v.current)},[]);let y=(0,l.useCallback)(t=>{if(t!==g.current){if(v.current&&clearTimeout(v.current),e){g.current=t,o(t),u(!1);return}u(!0),v.current=setTimeout(()=>{g.current=t,o(t),u(!1)},140)}},[e]),w=(0,l.useCallback)(e=>{i(e),y(e)},[y]),j=(0,l.useCallback)(()=>p(!0),[]),N=(0,l.useCallback)(e=>{var t;null==(t=b.current[e])||t.focus()},[]);(0,l.useEffect)(()=>{if(!(a&&!h&&!x&&!e))return;let t=setInterval(()=>{let e=ew.findIndex(e=>e.code===f.current);w(ew[(e+1)%ew.length].code)},2600);return()=>clearInterval(t)},[a,h,x,e,w]);let k=(0,l.useMemo)(()=>ew.find(e=>e.code===r)??ew[0],[r]);return(0,s.jsxs)("div",{ref:t,className:`sxlang-stage ${eb}`,"data-constellation":!0,onPointerEnter:()=>m(!0),onPointerLeave:()=>m(!1),children:[(0,s.jsx)("svg",{className:"sxlang-wires",viewBox:"0 0 1200 800",preserveAspectRatio:"xMidYMid meet","aria-hidden":"true",focusable:"false",children:ew.map(e=>{let t=function(e){let t=ek[e.side],a=eE.get(e.code)??e.y,s="l"===e.side?e.x+80:e.x-80,n="l"===e.side?t-70:t+70;return`M${e.x},${e.y} C${s},${e.y} ${n},${a} ${t},${a}`}(e),a=n===e.code;return(0,s.jsxs)("g",{className:`sxlang-wire${a?" is-lit":""}`,children:[(0,s.jsx)("path",{className:"sxlang-wire-hit",d:t,onClick:()=>{w(e.code),N(e.code),j()},onMouseEnter:()=>y(e.code),onMouseLeave:()=>y(n)}),(0,s.jsx)("path",{className:"sxlang-wire-line",d:t,pathLength:100}),(0,s.jsx)("path",{className:"sxlang-wire-pulse",d:t,pathLength:100}),(0,s.jsx)("circle",{className:"sxlang-wire-dot",cx:e.x,cy:e.y,r:4})]},e.code)})}),(0,s.jsx)(eN,{entry:k,swapping:c}),(0,s.jsx)("ul",{className:"sxlang-ring","data-stagger":!0,children:ew.map(e=>{let t=n===e.code,a=t?"border-sx-orange40 bg-sx-orange20":"border-sx-gray20 bg-white hover:border-sx-orange40 hover:bg-sx-orange20 focus-visible:border-sx-orange40 focus-visible:bg-sx-orange20",l="l"===e.side?"-translate-x-1":"translate-x-1",i=t?l:"l"===e.side?"hover:-translate-x-1 focus-visible:-translate-x-1":"hover:translate-x-1 focus-visible:translate-x-1";return(0,s.jsx)("li",{className:`sxlang-node ${"l"===e.side?"sxlang-node--l":"sxlang-node--r"}
1`,style:{top:`${e.y/800*100}%`,..."l"===e.side?{right:`calc(100% - ${e.x/1200*100}% + 14px)`}:{left:`calc(${e.x/1200*100}% + 14px)`}},children:(0,s.jsxs)("button",{type:"button",lang:e.code,"aria-pressed":t,"data-lang":e.code,ref:t=>{b.current[e.code]=t},className:`sxlang-chip ${"en"===e.code?"sxlang-chip--en":""} ${t?"is-active":""} rounded-xl border shadow-e1 px-4 py-3 ${a} ${i}`,onMouseEnter:()=>y(e.code),onMouseLeave:()=>y(n),onFocus:()=>{y(e.code),j()},onBlur:()=>y(n),onClick:()=>{w(e.code),j()},children:[(0,s.jsx)("span",{className:"sxlang-chip-native",children:e.native}),(0,s.jsx)("span",{className:"sxlang-chip-latin",children:e.latin})]})},e.code)})})]})}function eR(){let e=(0,l.useRef)(null);return(0,f.l)(e,ey),(0,s.jsxs)("section",{id:"languages",className:`${x.wn} overflow-hidden bg-white`,children:[(0,s.jsxs)("div",{className:`${x.MR} relative z-[1]`,children:[(0,s.jsxs)("div",{className:`${x.Jg} mb-8`,children:[(0,s.jsx)("h2",{ref:e,className:x.QY,children:"Learn English in the language you think in."}),(0,s.jsx)(_.g,{as:"p",className:"mx-auto mt-6 max-w-[52ch] text-[18px] leading-[1.6] text-sx-gray70",children:"You shouldnât need English to learn English. SpeakX teaches in your language and slowly moves the conversation across."}),(0,s.jsx)(_.g,{as:"p",className:"sxlang-cue hidden lg:block",children:"Tap a language, or the thread running to it."})]}),(0,s.jsx)(eM,{})]}),(0,s.jsx)("div",{className:"sxlang-fade","aria-hidden":"true"})]})}var e$=a(29192);a(55443);let eS=(0,n.default)(()=>a.e(9750).then(a.bind(a,59750)),{loadableGenerated:{webpack:()=>[59750]}}),eI=(0,n.default)(()=>Promise.all([a.e(4909),a.e(2841)]).then(a.bind(a,92841)),{loadableGenerated:{webpack:()=>[92841]}}),eL=(0,n.default)(()=>a.e(718).then(a.bind(a,98337)),{loadableGenerated:{webpack:()=>[98337]}}),eP=(0,n.default)(()=>a.e(8513).then(a.bind(a,98513)),{loadableGenerated:{webpack:()=>[98513]}});function eA(){(0,i.Mn)(r.f.B2C_HOME.PAGE_LOAD,"b2c_","home_page_load"),(0,o.R6)();let e=(0,l.useRef)(null);return(0,s.jsxs)("div",{className:"sx-home font-figtree text-sx-gray100 bg-white overflow-x-hidden",children:[(0,s.jsx)("a",{className:"sr-only focus:not-sr-only",href:"#main",children:"Skip to content"}),(0,s.jsxs)(N.YO,{children:[(0,s.jsx)(k.A,{heroVideoRef:e}),(0,s.jsxs)("main",{id:"main",children:[(0,s.jsx)(j,{videoRef:e}),(0,s.jsx)(S,{}),(0,s.jsx)(el,{}),(0,s.jsx)(eR,{}),(0,s.jsx)(C,{}),(0,s.jsx)(eS,{}),(0,s.jsx)(eI,{}),(0,s.jsx)(eL,{}),(0,s.jsx)(eP,{})]}),(0,s.jsx)(c.A,{}),(0,s.jsx)(e$.A,{})]})]})}},57991:()=>{},94030:(e,t,a)=>{Promise.resolve().then(a.bind(a,43143))}},e=>{e.O(0,[8313,9620,2691,6671,4406,9235,5102,9720,6536,8441,4658,7358],()=>e(e.s=94030)),_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.