import{n as e,s as t}from"./rolldown-runtime-BG2f4sTM.js";import{Dvt as n,Mvt as r,Nvt as i,bft as a,xft as o}from"./app-initial-BHB6SClA.js";import{n as s,t as c}from"./pulsing-dot.module-CR6Hfk8C.js";function l(e){let t=(0,d.c)(14),{isConnecting:n,onHandoffComplete:r,orb:i,orbDiameter:a,reduceMotion:o}=e,s=(0,f.useEffectEvent)(r),c;t[0]!==s||t[1]!==n?(c=()=>{if(n)return;let e=requestAnimationFrame(s);return()=>{cancelAnimationFrame(e)}},t[0]=s,t[1]=n,t[2]=c):c=t[2];let l;t[3]===n?l=t[4]:(l=[n],t[3]=n,t[4]=l),(0,f.useEffect)(c,l);let m;t[5]===a?m=t[6]:(m={height:a,width:a},t[5]=a,t[6]=m);let h;t[7]!==n||t[8]!==i||t[9]!==o?(h=n?(0,p.jsx)(u,{reduceMotion:o}):(0,p.jsx)(`div`,{className:`absolute inset-0`,children:i}),t[7]=n,t[8]=i,t[9]=o,t[10]=h):h=t[10];let g;return t[11]!==m||t[12]!==h?(g=(0,p.jsx)(`div`,{"aria-hidden":!0,className:`relative flex items-center justify-center`,style:m,children:h}),t[11]=m,t[12]=h,t[13]=g):g=t[13],g}function u(e){let t=(0,d.c)(4),{reduceMotion:n}=e,r=!n&&s.pulseSize,i;t[0]===r?i=t[1]:(i=a(`size-[50px] rounded-full bg-token-foreground`,r),t[0]=r,t[1]=i);let o;return t[2]===i?o=t[3]:(o=(0,p.jsx)(`div`,{className:i}),t[2]=i,t[3]=o),o}var d,f,p,m=e((()=>{d=r(),o(),f=t(i(),1),c(),p=n()})),h,g,_,v=e((()=>{h={duration:.2,ease:[.16,1,.3,1]},g={duration:.28,ease:[.33,1,.68,1]},_={duration:0}})),y,b,x,S,C=e((()=>{y=`pointer-events-none absolute inset-x-0 bottom-0 z-20 mx-auto h-52 w-full max-w-[900px] px-12`,b=`absolute inset-x-12 top-0 flex flex-col items-center gap-1`,x=`translateY(52px)`,S=`translateY(-28px)`}));export{C as a,_ as c,m as d,S as i,v as l,y as n,h as o,x as r,g as s,b as t,l as u};
//# sourceMappingURL=realtime-voice-stage-layout-G6GXAFOl.js.map