(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,622717,e=>{"use strict";e.S([664143,"WaitlistProvider,I"])},664143,716738,283616,224035,805760,161256,669375,e=>{"use strict";var t=e.i(659350),r=e.i(63237),i=e.i(999116);i.n.length;var s=e.i(647204),n=e.i(67089),a=e.i(168639),l=e.i(16043);e.i(882844);var o=e.i(635157);let c="ori_waitlist_invalid_email",d=o.z.union([o.z.string().max(4e3),o.z.array(o.z.string().max(200)).max(64)]);o.z.object({email:o.z.string().trim().toLowerCase().email().max(254).openapi({description:"Email address to add to the /ori waitlist; normalized to lower(trim())",example:"dev@example.com"}),answers:o.z.record(o.z.string().max(64),d).refine(e=>Object.keys(e).length<=32,{message:"answers must have at most 32 keys"}).optional().openapi({description:"Questionnaire answers keyed by question id; omitted on the email-only submit",example:{skills:["mcp servers"],freeform:"notes"}})}).openapi("JoinOriWaitlistRequest"),o.z.object({data:o.z.object({joined:o.z.literal(!0).openapi({description:"The email is on the waitlist"})})}).openapi("JoinOriWaitlistResponse"),e.s(["H",0,4e3,"f",0,64,"O",0,c],716738);let m=[...new Set(i.n.map(e=>e.group.answerId)),i.A];function u(e,t){let r=e[t.answerId],i=`${t.otherLabel}: `;return Array.isArray(r)?r.filter(e=>e.startsWith(i)).map(e=>e.slice(i.length)):[]}function h(e,{group:t,option:r}){let i=e[t.answerId],s=Array.isArray(i)?i:[];if(s.includes(r))return{...e,[t.answerId]:s.filter(e=>e!==r)};let n=t.exclusiveOptions.includes(r),a=s.filter(e=>n?!t.options.includes(e)&&!t.exclusiveOptions.includes(e)&&!e.startsWith(`${t.otherLabel}: `):!t.exclusiveOptions.includes(e));return{...e,[t.answerId]:[...a,r]}}function f(e,{group:t,values:r}){let i=e[t.answerId],s=Array.isArray(i)?i:[],n=`${t.otherLabel}: `,a=s.filter(e=>!e.startsWith(n)&&(0===r.length||!t.exclusiveOptions.includes(e)));return{...e,[t.answerId]:[...a,...r.map(e=>`${n}${e}`)]}}function x(e){let t=new Set(i.n.map(e=>`${e.group.otherLabel}:`));return Object.fromEntries(Object.entries(e).flatMap(([e,r])=>{let i=Array.isArray(r)?r.map(e=>e.trim()).filter(e=>e.length>0&&!t.has(e)):r.trim();return i.length>0?[[e,i]]:[]}))}e.s(["f",0,m],283616),e.s(["Q",0,160,"X",0,u,"d",0,function(e,t){let r=x(e)[t];return 64-(Array.isArray(r)?r.length:0)},"Y",0,function(e,t){let r=e[t.answerId];return Array.isArray(r)&&r.some(e=>t.options.includes(e)||t.exclusiveOptions.includes(e))||u(e,t).some(e=>e.trim().length>0)},"k",0,x,"s",0,h,"$",0,f],224035);let p=/^[^\s@]+@[^\s@]+\.[^\s@]{2,}$/;function g(e){return p.test(e.trim())}e.s(["f",0,g],805760);var b=e.i(663456),y=e.i(592001),v=e.i(905361);function j(e){return(0,y.f)("/api/frontend/v1/private/ori-waitlist",{method:"POST",headers:{"content-type":"application/json"},body:JSON.stringify(e)})}var w=e.i(342837);let N={SaveFailed:"save-failed",RejectedEmail:"rejected-email",RateLimited:"rate-limited"};function _(e){return e.status===w.g.S429_Too_Many_Requests?N.RateLimited:e.metadata?.code===c?N.RejectedEmail:N.SaveFailed}e.s(["p",0,N,"m",0,_],161256);let k={Email:"email",Questions:"questions",Done:"done"},S={kind:"email",failure:null},z={kind:"questions",isOpen:!0},M={kind:"questions",isOpen:!1},C={kind:"done"};function T(e,t){switch(t.type){case"emailEdited":case"persisted":return"email"===e.kind&&null!==e.failure?{kind:"email",failure:null}:e;case"emailRejected":return"email"===e.kind?{kind:"email",failure:"rejected-email"}:e;case"emailSubmitted":return z;case"questionsOpened":return"questions"!==e.kind||e.isOpen?e:z;case"questionsClosed":return"questions"===e.kind&&e.isOpen?M:e;case"finished":return"questions"===e.kind?C:e;case"saveFailed":return{kind:"email",failure:t.failure};default:return t}}function E(e){switch(e.kind){case"email":return k.Email;case"questions":return k.Questions;case"done":return k.Done;default:return e}}function O(e){return"questions"===e.kind&&e.isOpen}function L(e){return"email"===e.kind?e.failure:null}e.s(["C",0,S,"O",0,k,"Q",0,L,"_",0,O,"j",0,T,"N",0,E],669375);let A=i.n.length+1,$=(0,l.createContext)(null);e.s(["p",0,{Hero:"hero",Section:"section"},"I",0,function({children:e}){let o,c,[d,m]=(0,l.useState)(S),p=(0,l.useRef)(S),y=(0,l.useCallback)(e=>{let t=T(p.current,e);return p.current=t,m(t),t},[]),w=E(d),z=O(d),M=L(d),[C,R]=(0,l.useState)(""),[I,q]=(0,l.useState)(!1),[D,F]=(0,l.useState)(!1),[B,V]=(0,l.useState)({}),[P,W]=(0,l.useState)(0),H=(0,a.f)(),{mutate:Q}=((c=(0,b.c)(1))[0]===Symbol.for("react.memo_cache_sentinel")?(o={mutationFn:j,invalidates:v.C.NONE},c[0]=o):o=c[0],(0,v.h)(o)),[X,Y]=(0,r.P)("ori-waitlist-joined",{defaultValue:!1}),K=w===k.Email&&X,J=K?k.Questions:w,G=(0,l.useRef)(0),U=(0,l.useRef)({}),Z=(0,l.useRef)(!1),ee=(0,l.useRef)(!1),et=(0,l.useRef)(null),er=(0,l.useRef)(P);er.current=P;let ei=(0,l.useCallback)(()=>{Z.current||(Z.current=!0,Y(!0),y({type:"persisted"}),H?.capture("ori_waitlist_joined"))},[H,Y,y]),es=(0,l.useCallback)((e,t)=>{(0,n.L)("ori-waitlist:save-failed",{phase:t,error_status:e.status,error_message:e.message}),H?.capture("ori_waitlist_save_failed",{phase:t,error_status:e.status})},[H]),en=(0,l.useCallback)((e,t)=>{if(Z.current||t!==G.current)return;O(p.current)&&H?.capture("ori_waitlist_questions_closed",{step:er.current});let r=_(e);r===N.RejectedEmail&&(et.current=C),y({type:"saveFailed",failure:r})},[C,H,y]),ea=(0,l.useCallback)(e=>{if(q(!0),F(!0),!g(C))return!1;if(C===et.current)return y({type:"emailRejected"}),!1;y({type:"emailSubmitted"}),ee.current||(ee.current=!0,H?.capture("ori_waitlist_email_submitted",{source:e})),H?.capture("ori_waitlist_questions_opened",{step:er.current});let t=++G.current;return Q({email:C}).then(e=>{(0,s.C)(e)?ei():(es(e.error,"email"),en(e.error,t))}),!0},[C,es,Q,ei,H,en,y]),el=(0,l.useCallback)(e=>{y({type:"emailEdited"}),R(e)},[y]),eo=(0,l.useCallback)(()=>{y({type:"questionsOpened"}),H?.capture("ori_waitlist_questions_opened",{step:P})},[H,P,y]),ec=(0,l.useCallback)(()=>{let e=p.current;y({type:"questionsClosed"})!==e&&H?.capture("ori_waitlist_questions_closed",{step:P})},[H,P,y]),ed=(0,l.useCallback)(()=>{let e,t=p.current;if(y({type:"finished"})===t)return;let r=x(U.current);H?.capture("ori_waitlist_questions_finished",{answered_count:(e=function(e){let t=new Map(i.n.map(e=>[e.id,[]])),r=[];for(let[s,n]of Object.entries(e))if(Array.isArray(n))for(let e of n){let n=function(e,t){for(let r of i.n){if(r.group.answerId!==e)continue;let i=function(e,t){if(e.options.includes(t)||e.exclusiveOptions.includes(t)||e.retiredOptions?.includes(t))return{value:t,isCustom:!1};let r=`${e.otherLabel}: `;if(t.startsWith(r)&&""!==t.slice(r.length).trim())return{value:t.slice(r.length),isCustom:!0}}(r.group,t);if(i)return{question:r,answer:i}}}(s,e);if(!n){r.push({answerId:s,value:e});continue}t.get(n.question.id)?.push(n.answer)}let s=e[i.A];return{questions:i.n.map(e=>({question:e,answers:t.get(e.id)??[]})),freeform:"string"==typeof s&&""!==s.trim()?s:null,unmapped:r}}(r)).questions.filter(e=>e.answers.length>0).length+ +(null!==e.freeform),last_step:P});let n=Object.keys(r).length>0;if(!n&&Z.current)return;let a=G.current;Q(n?{email:C,answers:r}:{email:C}).then(e=>{(0,s.C)(e)?ei():(es(e.error,"answers"),en(e.error,a))})},[C,es,Q,ei,H,en,P,y]),em=(0,l.useCallback)(()=>{P>=A-1?ed():W(P+1)},[ed,P]),eu=(0,l.useCallback)(()=>W(e=>Math.max(0,e-1)),[]),eh=(0,l.useCallback)(e=>{W(Math.max(0,Math.min(A-1,e)))},[]),ef=(0,l.useCallback)((e,t)=>{let{group:r}=e,i=u(U.current,r),s=f(U.current,{group:r,values:t});U.current=s,V(s),t.some(e=>e.trim())&&!i.some(e=>e.trim())&&H?.capture("ori_waitlist_question_answered",{question_id:e.id,answer_type:"other"})},[H]),ex=(0,l.useCallback)((e,t)=>{let r={...U.current,[e]:t};U.current=r,V(r)},[]),ep=(0,l.useCallback)((e,t)=>{let{group:r}=e,i=U.current[r.answerId],s=!(Array.isArray(i)?i:[]).includes(t),n=h(U.current,{group:r,option:t});U.current=n,V(n),s&&H?.capture("ori_waitlist_question_answered",{question_id:e.id})},[H]),eg=(0,l.useCallback)(e=>{let t;return t=x(B),e.filter(e=>{let r=t[e];return Array.isArray(r)?r.length>0:"string"==typeof r&&r.trim().length>0}).length},[B]),eb=(0,l.useMemo)(()=>({stage:J,canResumeQuestions:!K,email:C,setEmail:el,touched:I,setTouched:q,didAttemptSubmit:D,submitEmail:ea,submitFailure:M,open:z,openQuestions:eo,close:ec,step:P,next:em,back:eu,goToStep:eh,answers:B,setAnswer:ex,toggleAnswer:ep,setOtherAnswers:ef,answeredCount:eg,finish:ed}),[J,K,C,el,I,D,ea,M,z,eo,ec,P,em,eu,eh,B,ex,ep,ef,eg,ed]);return(0,t.jsx)($.Provider,{value:eb,children:e})},"h",0,function(){let e=(0,l.useContext)($);if(!e)throw Error("useWaitlist must be used inside WaitlistProvider");return e}],664143)},604518,e=>{"use strict";var t=e.i(659350),r=e.i(663456),i=e.i(136562),s=e.i(139697),n=e.i(960773),a=e.i(360518),l=e.i(832528),o=e.i(519637),c=e.i(510586),d=e.i(658131);e.i(709722);var m=e.i(366039),u=e.i(898735),h=e.i(466448),f=e.i(660554),x=e.i(145449),p=e.i(996558);let g=new Set,b=({timestamp:e})=>{g.forEach(t=>t.tick(e))};class y extends x.f{constructor(e){super(),this.state="idle",this.startTime=0,this.currentTime=0,this.started=!1,this.hasNextTarget=!1,this.nextTarget=0,this.stop=()=>{"idle"!==this.state&&(this.teardown(),this.options.onStop?.())},this.options=e,this.factory=e.type,this.generator=this.factory(e);let{driver:t}=e;t&&(this.driver=t(e=>this.tick(e))),this.startTime=this.now(),this.state="running",this.driver?this.driver.start():(g.size||p.y.update(b,!0),g.add(this))}setTarget(e,t){this.nextTarget=e,this.nextVelocity=t,this.hasNextTarget=!0}retarget(e,t){let{options:r,generator:i}=this;r.keyframes=e,r.velocity=t,this.startTime=this.now(),this.currentTime=0,i.retarget?i.retarget(e,t):this.generator=this.factory(r)}tick(e){let{options:t,hasNextTarget:r}=this,{delay:i=0,onUpdate:s,onPlay:n}=t;this.started||(this.startTime=(0,f.f)(this.startTime,e));let a=Math.round(e-this.startTime)-i,l=this.currentTime=Math.max(0,a),o=this.generator.next(l),c=a<0?t.keyframes[0]:o.value;if(r){this.hasNextTarget=!1;let{keyframes:e}=t;e[0]=c,e[1]=this.nextTarget,this.retarget(e,this.nextVelocity??this.getGeneratorVelocity())}(r||!this.started)&&(this.started=!0,n?.()),"running"===this.state&&(s?.(c),o.done&&a>=0&&!r&&!this.hasNextTarget&&"running"===this.state&&(this.notifyFinished(),this.teardown(),this.state="finished",t.onComplete?.()))}getGeneratorVelocity(){return(0,h.f)(this.generator,this.currentTime,this.options.velocity)}now(){return this.driver?this.driver.now():u.f.now()}teardown(){this.state="idle",this.driver?this.driver.stop():(g.delete(this),g.size||(0,p.Y)(b))}}var v=e.i(132969),j=e.i(320953);function w(e,t,r){return function(e,t,r){let i,s=e.get(),n=null,a="string"==typeof s?s.replace(/[\d.-]/g,""):void 0,l=e=>i(a?e+a:e),o=()=>e.events.animationStart?.notify(),c=()=>{n&&(n.stop(),n=null),e.animation=void 0};if(e.attach((t,s)=>{i=s;let a=(0,v.f)(t);if(n?.state==="running")return void n.setTarget(a,r.velocity);let d=(0,v.f)(e.get()),m=n?n.getGeneratorVelocity():e.getVelocity();if(c(),d===a)return;let u=n=new y({...{keyframes:[d,a],velocity:m,restDelta:.001,restSpeed:.01,...r,onUpdate:l},onPlay:o});e.animation=u,u.then(()=>{n===u&&(n=null,e.animation=void 0,e.events.animationComplete?.notify())})},c),(0,j.f)(t)){let i=!0===r.skipInitialAnimation,s=t=>{var r,s,n,l;i?(i=!1,e.jump((r=t,(s=a)?r+s:r),!1)):e.set((n=t,(l=a)?n+l:n))},n=t.on("change",s),l=t.get();(0,v.f)(l)-(0,v.f)(e.get())&&s(l);let o=e.on("destroy",n);return()=>{n(),o(),c()}}return c}(e,t,{...r,type:m.f})}e.i(409046),e.i(464011);var N=e.i(16043),_=e.i(504707),k=e.i(539315);function S(e,t={}){return function(e,t,r){let{isStatic:i}=(0,N.useContext)(_.f),s=()=>(0,j.f)(e)?e.get():e;if(i)return(0,k.f)(s);let n=(0,o.f)(s());return(0,N.useInsertionEffect)(()=>r(n,e,t),[n,JSON.stringify(t)]),n}(e,t,w)}e.i(707060);var z=e.i(288265),M=e.i(919035),C=e.i(78539),T=e.i(354896),E=e.i(561146),O=e.i(307175),L=e.i(222687),A=e.i(14199),$=e.i(361097);function R(e){return e instanceof Element&&null!==e.closest("a, button, input, textarea, select, [data-overlay-layer], [data-slot=dialog-overlay], [data-slot=dialog-viewport]")}let I=["·",":","∙","+","*","◆"],q=[3,8,10],D=[118,36,244];function F({className:e}){let r=(0,N.useRef)(null),i=(0,N.useRef)(null),s=(0,c.f)();return(0,N.useEffect)(()=>{let e=r.current,t=i.current;if(!e||!t)return;let n=t.getContext("2d");if(!n)return;let a=function(){let e=(0,A.f)(7),t=[],r=Math.PI*(3-Math.sqrt(5)),i=(0,A.f)(5),s=Math.floor(1550/22),n=new Set;for(let e=0;e<22;e++)n.add(Math.min(1549,e*s+Math.floor((0,L.e)({random:i})*s)));for(let i=0;i<1550;i++){let s=1-i/1549*2,a=Math.sqrt(1-s*s),l=r*i;t.push({x:Math.cos(l)*a,y:s,z:Math.sin(l)*a,jitter:(0,L.e)({random:e}),intern:n.has(i)})}return t}(),l=function(e){let t=e.filter(e=>e.intern),r=(0,L.Z)(t,{random:(0,A.f)(21)}),i=[];for(let e=0;e+Math.min(.42*o,(c/2-12)/1.12,(o/2-20)/1.12,400),T=q,E=D,O=!1,F=()=>{let t=getComputedStyle(e);T=(0,$.f)(t.getPropertyValue("--foreground"),q),E=(0,$.f)(t.getPropertyValue("--primary"),D),O=document.documentElement.classList.contains("dark")};F();let B=()=>{let r=e.getBoundingClientRect();d=Math.min(window.devicePixelRatio||1,2),o=r.width,c=r.height,t.width=Math.round(o*d),t.height=Math.round(c*d),t.style.width=`${o}px`,t.style.height=`${c}px`,n.setTransform(d,0,0,d,0,0),s&&P(0)},V=0;function P(e){if(!n)return;V++,f+=e,V%40==0&&F();let t=s?1:Math.min(1,f/4.5);if(!s&&!M&&f>=1.4){M=!0;let e=x+N,t=p+w,r=Math.sin(t),i=Math.cos(-t);z.push({o:[i*Math.sin(-e),r,i*Math.cos(-e)],start:f})}s||(x+=.018*e+g,p+=b,g*=.94,b*=.94,p=Math.max(-1.1,Math.min(1.1,p)),w+=(v-w)*.09,N+=(j-N)*.09);let r=o/2,i=c/2,d=C(),m=Math.min(1.4,(Math.min(o,c)/2-10)/d),u=Math.max(9,Math.min(14,d/24)),h=(e,t)=>{let s=Math.hypot((e-r)/(1.08*d),(t-i)/(1.2*d));return s>=1?1:.04+.96*s*s*s*s};n.clearRect(0,0,o,c),n.textAlign="center",n.textBaseline="middle";let _=x+N,k=p+w,S=Math.sin(_),L=Math.cos(_),A=Math.sin(k),$=Math.cos(k),R={x:0,y:0,z:0},q=({x:e,y:t,z:s})=>{let n=-e*S+s*L,a=t*A+n*$,l=3.4/(3.4-a);return{sx:r+(e*L+s*S)*d*l,sy:i+(t*$-n*A)*d*l,z:a,scale:l}},D=[];for(let e of a){let r=1;if(t<1){let t=Math.max(0,(f-.35*e.jitter)/2.2);if(t<.55)r=(t/.55)**2.1;else{let e=t-.55;r=1+2.1/.55/10*Math.sin(10*e)*Math.exp(-4*e)}}let i=Math.min(1.12+.28*e.jitter,m),s=i-(i-1)*r,n=e.x,a=e.y,l=e.z;if(r<1){let t=(1-r)*.05;n+=Math.sin(.42*f+41*e.jitter)*t,a+=Math.sin(.33*f+97*e.jitter)*t}R.x=n*s,R.y=a*s,R.z=l*s,D.push({...q(R),p:e,e:r})}for(let e of(D.sort((e,t)=>e.z-t.z),D)){let t,r=(e.z+1)/2;t=e.z<-.15?O?.045:.035:.07+r*(O?.38:.35);let i=h(e.sx,e.sy);t*=i;let a=Math.min(I.length-2,Math.floor(r*(I.length-1)*.9+.8*e.p.jitter)),l=T,o=u*(.75+.45*e.scale);if(e.p.intern&&e.z>-.1&&(a=I.length-1,l=E,t=Math.max(t,(.3+.45*r)*Math.max(i,.08)),o*=1.1),y&&e.z>-.2){let r=Math.hypot(e.sx-y.x,e.sy-y.y);if(r<150){let e=1-r/150;a=Math.min(I.length-1,a+Math.round(3*e)),t=Math.min(Math.max(i,.18),t+e*(O?.8:.65)*i),o*=1+.3*e*i}}for(let r of z){let s=f-r.start,n=Math.acos(Math.max(-1,Math.min(1,e.p.x*r.o[0]+e.p.y*r.o[1]+e.p.z*r.o[2])))-2*s,c=(Math.exp(-(n*n)/.09)+.45*Math.exp(-((n+.55)*(n+.55))/.09)+.2*Math.exp(-((n+1.1)*(n+1.1))/.09))*Math.exp(-(1.1*s));if(c>.03){let e=Math.max(i,.22);a=Math.min(I.length-1,a+Math.round(2*c)),t=Math.min(1,t+.55*c*e),c>.25&&(l=E),o*=1+.18*c}}if(!s){let e=Math.min(1,(f-.35)/.9);t*=e*e*(3-2*e)}t*=.5+.5*e.e,n.font=`${o.toFixed(1)}px ui-monospace, SFMono-Regular, Menlo, Monaco, monospace`,n.fillStyle=`rgba(${l[0]},${l[1]},${l[2]},${t.toFixed(3)})`,n.fillText(I[a]??I[0],e.sx,e.sy)}for(let e=z.length-1;e>=0;e--){let t=z[e];t&&(f-t.start)*2>Math.PI+2.6&&z.splice(e,1)}let B=s?1:Math.min(1,Math.max(0,(f-2)/.9)),P=Math.floor(f/2.4),W=f%2.4/2.4,H=new Set([P%l.length,(P+5)%l.length,(P+11)%l.length]);for(let[e,t]of(n.lineCap="round",l.entries())){let r=!s&&H.has(e),i=O?.13:.1,a=(r?.5:i)*B,l=t[0];if(!l)continue;R.x=l[0],R.y=l[1],R.z=l[2];let o=q(R);for(let e=1;e.02&&s.z>.02){let e=h((o.sx+s.sx)/2,(o.sy+s.sy)/2),t=Math.min(1,(Math.min(o.z,s.z)-.02)/.3),i=r?E:T;n.strokeStyle=`rgba(${i[0]},${i[1]},${i[2]},${(a*e*t).toFixed(3)})`,n.lineWidth=r?1.2:1,n.beginPath(),n.moveTo(o.sx,o.sy),n.lineTo(s.sx,s.sy),n.stroke()}o=s}if(r){let e=W*W*(3-2*W),r=Math.min(t.length-1,Math.floor(e*(t.length-1))),i=t[r]??l;R.x=i[0],R.y=i[1],R.z=i[2];let s=q(R);if(s.z>.02){let e=.9*h(s.sx,s.sy)*B*Math.sin(Math.PI*Math.min(1,1.04*W));n.fillStyle=`rgba(${E[0]},${E[1]},${E[2]},${(.25*e).toFixed(3)})`,n.beginPath(),n.arc(s.sx,s.sy,7,0,2*Math.PI),n.fill(),n.fillStyle=`rgba(${E[0]},${E[1]},${E[2]},${e.toFixed(3)})`,n.beginPath(),n.arc(s.sx,s.sy,2.2,0,2*Math.PI),n.fill()}}}}let W=e=>{let t=Math.min(.034,(e-h)/1e3);h=e,u&&P(t),m=requestAnimationFrame(W)},H=()=>!!s||f>=2.6,Q=e=>{if(!H())return;let r=t.getBoundingClientRect(),i=e.clientX-r.left,s=e.clientY-r.top,n=i>-80&&s>-80&&i{if(!H())return;S={x:e.clientX,y:e.clientY};let r=t.getBoundingClientRect(),i=e.clientX>=r.left&&e.clientX<=r.right&&e.clientY>=r.top&&e.clientY<=r.bottom,s=R(e.target);i&&!s&&(_=!0,k={x:e.clientX,y:e.clientY},document.body.style.cursor="grabbing",e.preventDefault())},Y=()=>{_=!1,k=null,S=null,document.body.style.cursor=""},K=e=>{if(S&&6>Math.hypot(e.clientX-S.x,e.clientY-S.y)){let r=t.getBoundingClientRect();e.clientX>=r.left&&e.clientX<=r.right&&e.clientY>=r.top&&e.clientY<=r.bottom&&!R(e.target)&&H()&&((e,r)=>{let i=t.getBoundingClientRect(),s=C(),n=(e-i.left-o/2)/s,a=(r-i.top-c/2)/s,l=n*n+a*a;if(l>1){let e=Math.sqrt(l);n/=e,a/=e}let d=Math.sqrt(Math.max(0,1-n*n-a*a)),m=x+N,u=p+w,h=a*Math.cos(-u)-d*Math.sin(-u),g=a*Math.sin(-u)+d*Math.cos(-u),b=n*Math.cos(-m)+g*Math.sin(-m),y=-n*Math.sin(-m)+g*Math.cos(-m);z.push({o:[b,h,y],start:f}),z.length>3&&z.shift()})(e.clientX,e.clientY)}Y()},J=()=>{y=null,v=0,j=0},G=new ResizeObserver(B);G.observe(e);let U=new IntersectionObserver(([e])=>{u=e?.isIntersecting??u});return U.observe(e),B(),s?P(0):(window.addEventListener("pointermove",Q,{passive:!0}),window.addEventListener("pointerdown",X),window.addEventListener("pointerup",K),window.addEventListener("pointercancel",Y),document.documentElement.addEventListener("pointerleave",J),m=requestAnimationFrame(W)),()=>{cancelAnimationFrame(m),G.disconnect(),U.disconnect(),window.removeEventListener("pointermove",Q),window.removeEventListener("pointerdown",X),window.removeEventListener("pointerup",K),window.removeEventListener("pointercancel",Y),document.documentElement.removeEventListener("pointerleave",J),document.body.style.cursor=""}},[s]),(0,t.jsx)("div",{ref:r,"aria-hidden":!0,className:e,children:(0,t.jsx)("canvas",{ref:i,className:"block size-full touch-pan-y select-none"})})}var B=e.i(682910),V=e.i(181870),P=e.i(934416),W=e.i(872635),H=e.i(327820),Q=e.i(275574),X=e.i(664143),Y=e.i(669375);function K(){let e,n,l,o,c,d,m,u,h,f,x=(0,r.c)(51),{stage:p,email:g,setEmail:b,touched:y,setTouched:v,didAttemptSubmit:j,submitEmail:w,submitFailure:_}=(0,X.h)(),k=(0,M.f)(),S=(0,N.useId)();if(p!==Y.O.Email){let e,r,i;return x[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,t.jsx)(W.f,{className:"size-4 text-accent-foreground"}),x[0]=e):e=x[0],x[1]!==k?(r=k(a.D.thanksTitle),x[1]=k,x[2]=r):r=x[2],x[3]!==r?(i=(0,t.jsxs)("p",{className:"flex items-center gap-2 text-size-prose text-muted-foreground",children:[e,r]}),x[3]=r,x[4]=i):i=x[4],i}if(x[5]!==j||x[6]!==g||x[7]!==S||x[8]!==k||x[9]!==b||x[10]!==v||x[11]!==w||x[12]!==_||x[13]!==y){let r,h,f,p,N,z,M,C=(0,H.J)({email:g,touched:y,didAttemptSubmit:j}),T=(0,Q.f)({error:C,submitFailure:_});x[22]!==w?(o=e=>{e.preventDefault(),w(X.p.Hero)},x[22]=w,x[23]=o):o=x[23],c="flex w-full flex-col gap-2",d=!0,x[24]!==k?(r=k(a.D.emailLabel),x[24]=k,x[25]=r):r=x[25],x[26]!==S||x[27]!==r?(m=(0,t.jsx)("label",{htmlFor:S,className:"sr-only",children:r}),x[26]=S,x[27]=r,x[28]=m):m=x[28],x[29]!==b?(h=e=>b(e.target.value),x[29]=b,x[30]=h):h=x[30],x[31]!==v?(f=()=>v(!0),x[31]=v,x[32]=f):f=x[32],x[33]!==k?(p=k(a.S.emailPlaceholder),x[33]=k,x[34]=p):p=x[34],x[35]!==k?(N=k(a.D.submit),x[35]=k,x[36]=N):N=x[36],x[37]===Symbol.for("react.memo_cache_sentinel")?(z=(0,t.jsx)(P.f,{className:"size-4"}),x[37]=z):z=x[37],x[38]!==N?(M=(0,t.jsxs)(s.Button,{type:"submit",size:"lg",className:"shrink-0 px-5 transition active:scale-98",children:[N,z]}),x[38]=N,x[39]=M):M=x[39],u=(0,t.jsxs)("div",{className:"flex flex-col gap-2 sm:flex-row sm:items-center",children:[(0,t.jsx)(V.f,{id:S,"data-dd-privacy":"hidden",type:"email",inputMode:"email",autoComplete:"email",value:g,onChange:h,onBlur:f,placeholder:p,"aria-invalid":T?.isValueError||void 0,"aria-describedby":T?`${S}-err`:void 0,className:(0,i.f)("ph-no-capture h-11 text-size-prose sm:flex-1",T&&"border-(--negative)")}),M]}),e=`${S}-err`,n="text-left text-size-overline text-(--negative-text) empty:hidden",l=T&&k(T.message),x[5]=j,x[6]=g,x[7]=S,x[8]=k,x[9]=b,x[10]=v,x[11]=w,x[12]=_,x[13]=y,x[14]=e,x[15]=n,x[16]=l,x[17]=o,x[18]=c,x[19]=d,x[20]=m,x[21]=u}else e=x[14],n=x[15],l=x[16],o=x[17],c=x[18],d=x[19],m=x[20],u=x[21];return x[40]!==e||x[41]!==n||x[42]!==l?(h=(0,t.jsx)("p",{id:e,className:n,children:l}),x[40]=e,x[41]=n,x[42]=l,x[43]=h):h=x[43],x[44]!==o||x[45]!==c||x[46]!==d||x[47]!==m||x[48]!==u||x[49]!==h?(f=(0,t.jsxs)("form",{onSubmit:o,className:c,noValidate:d,children:[m,u,h]}),x[44]=o,x[45]=c,x[46]=d,x[47]=m,x[48]=u,x[49]=h,x[50]=f):f=x[50],f}var J=e.i(776571);let G={terminal:E.f,slack:O.f,desktop:C.f};function U(){let e,d,m,u,h,f,x,p,g,b,y,v,j,w,_,z,C,T,E,O,L,A,$,R=(0,r.c)(39),I=(0,M.f)(),q=(0,n.Q)(),D=(0,c.f)(),F=(0,o.f)(0),V=(0,o.f)(0);R[0]!==F||R[1]!==V||R[2]!==D?(e=()=>{if(D)return;let e=e=>{F.set(e.clientX/window.innerWidth-.5),V.set(e.clientY/window.innerHeight-.5)};return window.addEventListener("mousemove",e,{passive:!0}),()=>window.removeEventListener("mousemove",e)},d=[D,F,V],R[0]=F,R[1]=V,R[2]=D,R[3]=e,R[4]=d):(e=R[3],d=R[4]),(0,N.useEffect)(e,d),R[5]===Symbol.for("react.memo_cache_sentinel")?(m={stiffness:110,damping:20},R[5]=m):m=R[5];let P=S(F,m);R[6]===Symbol.for("react.memo_cache_sentinel")?(u={stiffness:110,damping:20},R[6]=u):u=R[6];let W=S(V,u);R[7]===Symbol.for("react.memo_cache_sentinel")?(h=[-.5,.5],f=[-2.5,2.5],R[7]=h,R[8]=f):(h=R[7],f=R[8]);let H=(0,k.f)(P,h,f);R[9]===Symbol.for("react.memo_cache_sentinel")?(x=[-.5,.5],p=[2.5,-2.5],R[9]=x,R[10]=p):(x=R[9],p=R[10]);let Q=(0,k.f)(W,x,p);R[11]===Symbol.for("react.memo_cache_sentinel")?(g=[-.5,.5],b=[-4,4],R[11]=g,R[12]=b):(g=R[11],b=R[12]);let X=(0,k.f)(P,g,b);R[13]===Symbol.for("react.memo_cache_sentinel")?(y=[-.5,.5],v=[-3,3],R[13]=y,R[14]=v):(y=R[13],v=R[14]);let Y=(0,k.f)(W,y,v);return R[15]!==X||R[16]!==Y||R[17]!==Q||R[18]!==H?(j={rotateX:Q,rotateY:H,x:X,y:Y,transformPerspective:800,transformStyle:"preserve-3d"},R[15]=X,R[16]=Y,R[17]=Q,R[18]=H,R[19]=j):j=R[19],R[20]===Symbol.for("react.memo_cache_sentinel")?(w=(0,t.jsx)("div",{"aria-hidden":!0,className:"absolute inset-0 bg-background/25"}),R[20]=w):w=R[20],R[21]===Symbol.for("react.memo_cache_sentinel")?(_=(0,t.jsx)("div",{"aria-hidden":!0,className:(0,i.f)("absolute inset-0 border border-border/50 backdrop-blur-sm","bg-card/25",B.O,"shadow-[0_20px_48px_-16px_rgb(0_0_0_/_0.22)]","dark:shadow-[0_20px_48px_-16px_rgb(0_0_0_/_0.5)]")}),z=(0,t.jsx)(J.h,{}),R[21]=_,R[22]=z):(_=R[21],z=R[22]),R[23]!==I?(C=I(a.S.chooser.prompt),R[23]=I,R[24]=C):C=R[24],R[25]!==C?(T=(0,t.jsx)("span",{className:"font-brand text-size-title font-bold translate-z-2.5 leading-[1.15] tracking-tight text-foreground",children:C}),R[25]=C,R[26]=T):T=R[26],R[27]!==I||R[28]!==q?(E=a.S.chooser.options.map(e=>{let r=G[e.id];return(0,t.jsx)(s.Button,{variant:"outline",size:"lg",className:"group/chip px-5 shadow-[0_10px_24px_-10px_rgb(0_0_0_/_0.18)] transition-[color,background-color,border-color,translate,scale] hover:-translate-y-0.5 hover:border-primary hover:bg-primary hover:text-primary-foreground active:translate-y-0 active:scale-98 sm:px-6 dark:shadow-[0_10px_24px_-10px_rgb(0_0_0_/_0.45)]",render:(0,t.jsxs)("a",{href:`#${e.target}`,onClick:()=>{q.capture("click_ori_section_link",{section:e.target,surface:e.id,source:"hero_chooser"})},children:[r&&(0,t.jsx)(r,{className:"text-accent-foreground transition-colors group-hover/chip:text-primary-foreground"}),I(e.label)]})},e.id)}),R[27]=I,R[28]=q,R[29]=E):E=R[29],R[30]!==E?(O=(0,t.jsx)("div",{className:"grid w-full translate-z-4.5 grid-cols-1 gap-2 sm:w-auto sm:grid-cols-3 sm:gap-2.5",children:E}),R[30]=E,R[31]=O):O=R[31],R[32]===Symbol.for("react.memo_cache_sentinel")?(L=(0,t.jsx)("div",{className:"w-full translate-z-4.5 border-t border-border/50 pt-4",children:(0,t.jsx)(K,{})}),R[32]=L):L=R[32],R[33]!==T||R[34]!==O?(A=(0,t.jsxs)("div",{className:"relative flex flex-col items-center transform-3d gap-4 p-4 sm:p-5",children:[T,O,L]}),R[33]=T,R[34]=O,R[35]=A):A=R[35],R[36]!==j||R[37]!==A?($=(0,t.jsxs)(l.f.div,{style:j,className:"group relative w-full sm:w-auto",children:[w,_,z,A]}),R[36]=j,R[37]=A,R[38]=$):$=R[38],$}function Z(e){return e>160?"none":"auto"}e.s(["Hero",0,function(){let e,i,s,n,o,m,u,h,f,x,p,g,b,y,v,j,w,N,_,S,C,E,O,L,A,$,R,I,q,D,B,V,P,W,H=(0,r.c)(62),Q=(0,z.f)(),X=(0,M.f)(),Y=(0,c.f)(),{scrollY:K}=(0,d.f)();H[0]===Symbol.for("react.memo_cache_sentinel")?(e=[40,180],i=[1,0],H[0]=e,H[1]=i):(e=H[0],i=H[1]);let J=(0,k.f)(K,e,i),G=(0,k.f)(K,Z),[ee]=a.z;return H[2]===Symbol.for("react.memo_cache_sentinel")?(s=(0,t.jsx)(F,{className:"absolute inset-0 max-md:-translate-y-[21%]"}),H[2]=s):s=H[2],H[3]===Symbol.for("react.memo_cache_sentinel")?(n=(0,t.jsx)("div",{"aria-hidden":!0,className:"pointer-events-none absolute -inset-x-8 -bottom-10 -top-6 -z-10 md:hidden",style:{background:"radial-gradient(ellipse 82% 44% at 50% 47%, color-mix(in srgb, hsl(var(--background)) 78%, transparent) 38%, color-mix(in srgb, hsl(var(--background)) 48%, transparent) 70%, transparent 90%)"}}),H[3]=n):n=H[3],H[4]!==Y?(o=!Y&&{opacity:0,y:16},H[4]=Y,H[5]=o):o=H[5],H[6]===Symbol.for("react.memo_cache_sentinel")?(m={opacity:1,y:0},u={duration:.9},H[6]=m,H[7]=u):(m=H[6],u=H[7]),H[8]===Symbol.for("react.memo_cache_sentinel")?(h=(0,t.jsx)("span",{className:"h-px w-12 bg-gradient-to-r from-transparent to-border"}),H[8]=h):h=H[8],H[9]!==X?(f=X(a.S.kicker),H[9]=X,H[10]=f):f=H[10],H[11]!==f?(x=(0,t.jsx)("span",{className:"text-size-overline font-medium uppercase tracking-[0.25em]",children:f}),H[11]=f,H[12]=x):x=H[12],H[13]===Symbol.for("react.memo_cache_sentinel")?(p=(0,t.jsx)("span",{className:"h-px w-12 bg-gradient-to-l from-transparent to-border"}),H[13]=p):p=H[13],H[14]!==o||H[15]!==x?(g=(0,t.jsxs)(l.f.span,{initial:o,animate:m,transition:u,className:"flex items-center gap-3 text-accent-foreground",children:[h,x,p]}),H[14]=o,H[15]=x,H[16]=g):g=H[16],H[17]!==Y?(b=!Y&&{opacity:0,y:24},H[17]=Y,H[18]=b):b=H[18],H[19]===Symbol.for("react.memo_cache_sentinel")?(y={opacity:1,y:0},H[19]=y):y=H[19],H[20]===Symbol.for("react.memo_cache_sentinel")?(v={duration:1,delay:.05,ease:[.21,.6,.35,1]},H[20]=v):v=H[20],H[21]!==X?(j=X(a.S.title[0]),H[21]=X,H[22]=j):j=H[22],H[23]===Symbol.for("react.memo_cache_sentinel")?(w=(0,t.jsx)("br",{}),H[23]=w):w=H[23],H[24]!==X?(N=X(a.S.title[1]),H[24]=X,H[25]=N):N=H[25],H[26]!==N?(_=(0,t.jsx)("span",{className:"text-accent-foreground",children:N}),H[26]=N,H[27]=_):_=H[27],H[28]!==b||H[29]!==j||H[30]!==_?(S=(0,t.jsxs)(l.f.h1,{initial:b,animate:y,transition:v,className:"font-brand mt-8 text-balance text-5xl font-bold leading-[1.05] tracking-[-0.04em] md:text-7xl",children:[j,w,_]}),H[28]=b,H[29]=j,H[30]=_,H[31]=S):S=H[31],H[32]!==Y?(C=!Y&&{opacity:0,y:24},H[32]=Y,H[33]=C):C=H[33],H[34]===Symbol.for("react.memo_cache_sentinel")?(E={opacity:1,y:0},H[34]=E):E=H[34],H[35]===Symbol.for("react.memo_cache_sentinel")?(O={duration:1,delay:.1,ease:[.21,.6,.35,1]},H[35]=O):O=H[35],H[36]!==X?(L=X(a.S.body),H[36]=X,H[37]=L):L=H[37],H[38]!==C||H[39]!==L?(A=(0,t.jsx)(l.f.p,{initial:C,animate:E,transition:O,className:"mt-6 max-w-lg text-balance text-size-prose leading-(--leading-prose) text-foreground/85 [text-shadow:0_0_16px_hsl(var(--background))] dark:[text-shadow:0_0_6px_hsl(var(--background)),0_0_16px_hsl(var(--background))]",children:L}),H[38]=C,H[39]=L,H[40]=A):A=H[40],H[41]!==Y?($=!Y&&{opacity:0,y:24},H[41]=Y,H[42]=$):$=H[42],H[43]===Symbol.for("react.memo_cache_sentinel")?(R={opacity:1,y:0},H[43]=R):R=H[43],H[44]===Symbol.for("react.memo_cache_sentinel")?(I={duration:1,delay:.15,ease:[.21,.6,.35,1]},H[44]=I):I=H[44],H[45]===Symbol.for("react.memo_cache_sentinel")?(q=(0,t.jsx)(U,{}),H[45]=q):q=H[45],H[46]!==$?(D=(0,t.jsx)(l.f.div,{initial:$,animate:R,transition:I,className:"mt-9 flex w-full flex-col items-center gap-3",children:q}),H[46]=$,H[47]=D):D=H[47],H[48]!==g||H[49]!==S||H[50]!==A||H[51]!==D?(B=(0,t.jsxs)("div",{className:"relative z-10 mx-auto my-auto flex max-w-6xl flex-col items-center px-6 py-12 text-center md:py-24",children:[n,g,S,A,D]}),H[48]=g,H[49]=S,H[50]=A,H[51]=D,H[52]=B):B=H[52],H[53]!==J||H[54]!==G||H[55]!==Q||H[56]!==Y?(V=ee&&(0,t.jsx)(l.f.a,{href:`#${ee.id}`,"aria-label":Q("Scroll to the products"),style:{opacity:J,pointerEvents:G},className:"absolute bottom-4 left-1/2 z-10 -translate-x-1/2 md:bottom-16",children:(0,t.jsx)(l.f.span,{initial:!Y&&{opacity:0},animate:Y?{opacity:1}:{opacity:1,y:[0,6,0]},transition:{opacity:{delay:.25,duration:.8},y:{repeat:1/0,duration:1.8,ease:"easeInOut"}},className:"flex size-10 items-center justify-center rounded-(--radius-full) bg-foreground text-background shadow-md transition-colors hover:bg-foreground/85",children:(0,t.jsx)(T.f,{className:"size-5"})})}),H[53]=J,H[54]=G,H[55]=Q,H[56]=Y,H[57]=V):V=H[57],H[58]===Symbol.for("react.memo_cache_sentinel")?(P=(0,t.jsx)("div",{className:"mt-10 md:mt-14"}),H[58]=P):P=H[58],H[59]!==B||H[60]!==V?(W=(0,t.jsxs)("section",{className:"relative flex min-h-[calc(100svh-57px)] cursor-grab flex-col overflow-hidden",children:[s,B,V,P]}),H[59]=B,H[60]=V,H[61]=W):W=H[61],W}],604518)},649530,e=>{"use strict";var t=e.i(659350),r=e.i(663456),i=e.i(293503),s=e.i(129067),n=e.i(960773);e.i(707060);var a=e.i(196991);e.i(406201);var l=e.i(967605);function o(e){return"overview"!==e.id}e.s(["OriFooter",0,function(){let e,c,d,m,u,h,f,x,p=(0,r.c)(22),g=(0,n.Q)(),b=(0,s.R)("oriCode");if(p[0]!==b||p[1]!==g){let r,s,n,h=(0,i.w)({canOpenProductPages:b}).filter(o);u="border-t border-border/40",d="mx-auto flex max-w-6xl flex-col gap-4 px-6 py-10 md:flex-row md:items-center md:justify-between",p[7]===Symbol.for("react.memo_cache_sentinel")?(r=(0,t.jsx)("img",{alt:"OpenRouter",className:"hidden h-4 w-auto opacity-70 dark:block",src:"/brand/v2/openrouter-dark.svg"}),s=(0,t.jsx)("img",{alt:"OpenRouter",className:"block h-4 w-auto opacity-70 dark:hidden",src:"/brand/v2/openrouter-light.svg"}),p[7]=r,p[8]=s):(r=p[7],s=p[8]),p[9]===Symbol.for("react.memo_cache_sentinel")?(m=(0,t.jsxs)("div",{className:"flex items-center gap-3",children:[r,s,(0,t.jsx)("span",{className:"text-size-overline text-(--text-faint)",children:(0,t.jsx)(a.T,{children:"© 2026 OpenRouter, Inc."})})]}),p[9]=m):m=p[9],e="flex flex-wrap items-center gap-x-6 gap-y-2",p[10]!==g?(n=e=>(0,t.jsx)(l.Link,{href:e.href,onClick:()=>{g.capture("click_ori_footer_product",{product:e.id,destination:e.destination})},className:"py-1 text-size-overline text-muted-foreground hover:text-accent-foreground",children:e.label},e.id),p[10]=g,p[11]=n):n=p[11],c=h.map(n),p[0]=b,p[1]=g,p[2]=e,p[3]=c,p[4]=d,p[5]=m,p[6]=u}else e=p[2],c=p[3],d=p[4],m=p[5],u=p[6];return p[12]!==e||p[13]!==c?(h=(0,t.jsx)("div",{className:e,children:c}),p[12]=e,p[13]=c,p[14]=h):h=p[14],p[15]!==d||p[16]!==m||p[17]!==h?(f=(0,t.jsxs)("div",{className:d,children:[m,h]}),p[15]=d,p[16]=m,p[17]=h,p[18]=f):f=p[18],p[19]!==u||p[20]!==f?(x=(0,t.jsx)("footer",{className:u,children:f}),p[19]=u,p[20]=f,p[21]=x):x=p[21],x}])},941529,e=>{"use strict";var t=e.i(659350),r=e.i(663456),i=e.i(664143),s=e.i(136562),n=e.i(139697),a=e.i(80676),l=e.i(326e3),o=e.i(554395),c=e.i(751155),d=e.i(797521),m=e.i(999116),u=e.i(716738),h=e.i(360518);e.i(707060);var f=e.i(196991),x=e.i(288265),p=e.i(919035),g=e.i(153746),b=e.i(859986),y=e.i(934416),v=e.i(29411),j=e.i(872635),w=e.i(924125),N=e.i(705925),_=e.i(917258),k=e.i(173155),S=e.i(102803),z=e.i(901958),M=e.i(336819),C=e.i(612927),T=e.i(544951),E=e.i(16043);e.i(283616);var O=e.i(224035),L=e.i(181870);function A(e){let i,a,l,o,c,d,m,u,h,p,g,b,y,v,j=(0,r.c)(42),{group:w,answers:N,draft:_,onDraftChange:k,onChange:S}=e,z=(0,x.f)(),M=(0,E.useId)(),T=(0,E.useRef)(null);if(j[0]!==N||j[1]!==_||j[2]!==w||j[3]!==z||j[4]!==S||j[5]!==k){let e=[...new Set((0,O.X)(N,w).filter($))],r=[...new Set([...e,_.trim()].filter(Boolean))];i=0>(0,O.d)((0,O.$)(N,{group:w,values:r}),w.answerId),a="contents",l=e=>{e.preventDefault(),_.trim()&&!i&&(S(r),k(""),T.current?.focus())},o=e.map(r=>(0,t.jsxs)(n.Button,{shape:"pill",variant:"outline",density:"compact",tone:"strong",weight:"regular",className:(0,s.f)("min-w-0 max-w-full shadow-none pointer-coarse:min-h-11","hover:bg-card-hover"),"aria-label":z("Remove {value}",{value:r}),title:r,onClick:()=>{S(e.filter(e=>e!==r)),T.current?.focus()},children:[(0,t.jsx)("span",{className:"truncate",children:r}),(0,t.jsx)(C.X,{"aria-hidden":!0})]},r)),j[0]=N,j[1]=_,j[2]=w,j[3]=z,j[4]=S,j[5]=k,j[6]=i,j[7]=a,j[8]=l,j[9]=o}else i=j[6],a=j[7],l=j[8],o=j[9];return j[10]!==w.otherLabel||j[11]!==M?(c=(0,t.jsx)("label",{htmlFor:M,className:"sr-only",children:w.otherLabel}),j[10]=w.otherLabel,j[11]=M,j[12]=c):c=j[12],j[13]!==z?(d=z("Other…"),j[13]=z,j[14]=d):d=j[14],j[15]!==k?(m=e=>k(e.target.value),j[15]=k,j[16]=m):m=j[16],j[17]!==_||j[18]!==i?(u=!_.trim()||i,j[17]=_,j[18]=i,j[19]=u):u=j[19],j[20]!==w.otherLabel||j[21]!==z?(h=z("Add {label}",{label:w.otherLabel.toLowerCase()}),j[20]=w.otherLabel,j[21]=z,j[22]=h):h=j[22],j[23]===Symbol.for("react.memo_cache_sentinel")?(p=(0,t.jsx)(f.T,{children:"Add"}),j[23]=p):p=j[23],j[24]!==u||j[25]!==h?(g=(0,t.jsx)(n.Button,{shape:"pill",type:"submit",variant:"ghost",size:"sm",density:"compact",disabled:u,"aria-label":h,children:p}),j[24]=u,j[25]=h,j[26]=g):g=j[26],j[27]!==_||j[28]!==M||j[29]!==g||j[30]!==d||j[31]!==m?(b=(0,t.jsx)(L.f,{ref:T,id:M,value:_,maxLength:O.Q,enterKeyHint:"enter",placeholder:d,onChange:m,className:"rounded-full bg-background pr-16 pointer-coarse:min-h-11",containerClassName:"w-56 min-w-0 max-w-full",trailingContent:g}),j[27]=_,j[28]=M,j[29]=g,j[30]=d,j[31]=m,j[32]=b):b=j[32],j[33]!==i?(y=i&&(0,t.jsx)("p",{className:"w-full text-body text-muted-foreground",children:(0,t.jsx)(f.T,{children:"Remove an answer to add another."})}),j[33]=i,j[34]=y):y=j[34],j[35]!==a||j[36]!==b||j[37]!==y||j[38]!==l||j[39]!==o||j[40]!==c?(v=(0,t.jsxs)("form",{className:a,onSubmit:l,children:[o,c,b,y]}),j[35]=a,j[36]=b,j[37]=y,j[38]=l,j[39]=o,j[40]=c,j[41]=v):v=j[41],v}function $(e){return e.trim()}var R=e.i(58991),I=e.i(498449);function q(e){let i,a,l,o,d,m,u,h,f,x,p=(0,r.c)(32),{label:g,detail:b,isSelected:y,onToggle:v,isAlternative:w,disabled:N}=e,_=void 0!==w&&w,k=_?R.f:I.f,S=void 0===b?g:void 0,z=y?"border-primary/50 bg-primary/5 text-foreground hover:bg-primary/10":"text-foreground hover:bg-card-hover",M=_&&"border-transparent [&>svg:first-child]:size-full";p[0]!==z||p[1]!==M?(i=(0,s.f)("relative max-w-full","shadow-none pointer-coarse:min-h-11",z,M),p[0]=z,p[1]=M,p[2]=i):i=p[2],p[3]!==_||p[4]!==y?(a=_&&(0,t.jsx)("svg",{"aria-hidden":!0,focusable:"false",className:(0,s.f)("pointer-events-none absolute inset-0 overflow-visible",y?"text-primary/50":"text-muted-foreground/50"),children:(0,t.jsx)("rect",{width:"100%",height:"100%",rx:20,fill:"none",stroke:"currentColor",strokeWidth:2,strokeDasharray:"0 7",strokeLinecap:"round"})}),p[3]=_,p[4]=y,p[5]=a):a=p[5],p[6]!==g?(l=(0,t.jsx)("span",{className:"truncate",children:g}),p[6]=g,p[7]=l):l=p[7];let C=y?"rotate-90 scale-50 opacity-0":"rotate-0 scale-100 opacity-100";p[8]!==C?(o=(0,s.f)("text-muted-foreground transition-[transform,opacity] duration-200 ease-out motion-reduce:transition-none",C),p[8]=C,p[9]=o):o=p[9],p[10]!==k||p[11]!==o?(d=(0,t.jsx)(k,{className:o}),p[10]=k,p[11]=o,p[12]=d):d=p[12];let T=y?"rotate-0 scale-100 opacity-100":"-rotate-90 scale-50 opacity-0";p[13]!==T?(m=(0,s.f)("text-primary transition-[transform,opacity] duration-200 ease-out motion-reduce:transition-none",T),p[13]=T,p[14]=m):m=p[14],p[15]!==m?(u=(0,t.jsx)(j.f,{className:m}),p[15]=m,p[16]=u):u=p[16],p[17]!==d||p[18]!==u?(h=(0,t.jsxs)("span",{"aria-hidden":!0,className:"relative size-4 shrink-0 [&>svg]:absolute [&>svg]:inset-0 [&>svg]:size-4",children:[d,u]}),p[17]=d,p[18]=u,p[19]=h):h=p[19],p[20]!==N||p[21]!==y||p[22]!==v||p[23]!==h||p[24]!==S||p[25]!==i||p[26]!==a||p[27]!==l?(f=(0,t.jsxs)(n.Button,{shape:"pill",align:"start",disabled:N,variant:"outline",density:"compact",weight:"regular","aria-pressed":y,onClick:v,title:S,className:i,children:[a,l,h]}),p[20]=N,p[21]=y,p[22]=v,p[23]=h,p[24]=S,p[25]=i,p[26]=a,p[27]=l,p[28]=f):f=p[28];let E=f;return void 0===b?E:(p[29]!==E||p[30]!==b?(x=(0,t.jsx)(c.Tooltip,{content:b,delay:150,children:E}),p[29]=E,p[30]=b,p[31]=x):x=p[31],x)}function D(e){let i,s,n,a,l,o,c,d,m,u=(0,r.c)(45),{group:h,answers:f,otherDraft:x,onOtherDraftChange:g,onToggle:b,onOtherChange:y}=e,v=(0,p.f)(),j=f[h.answerId];u[0]!==f||u[1]!==h?(i=e=>0>(0,O.d)((0,O.s)(f,{group:h,option:e}),h.answerId),u[0]=f,u[1]=h,u[2]=i):i=u[2];let w=i;if(u[3]!==h.label||u[4]!==v?(s=v(h.label),u[3]=h.label,u[4]=v,u[5]=s):s=u[5],u[6]!==s?(n=(0,t.jsx)("legend",{className:"sr-only",children:s}),u[6]=s,u[7]=n):n=u[7],u[8]!==j||u[9]!==h.optionDetails||u[10]!==h.options||u[11]!==w||u[12]!==b){let e;u[14]!==j||u[15]!==h.optionDetails||u[16]!==w||u[17]!==b?(e=e=>(0,t.jsx)(q,{label:e,detail:h.optionDetails?.[e],isSelected:Array.isArray(j)&&j.includes(e),disabled:w(e),onToggle:()=>b(e)},e),u[14]=j,u[15]=h.optionDetails,u[16]=w,u[17]=b,u[18]=e):e=u[18],a=h.options.map(e),u[8]=j,u[9]=h.optionDetails,u[10]=h.options,u[11]=w,u[12]=b,u[13]=a}else a=u[13];if(u[19]!==f||u[20]!==h||u[21]!==y||u[22]!==g||u[23]!==x?(l=(0,t.jsx)(A,{group:h,answers:f,draft:x,onDraftChange:g,onChange:y}),u[19]=f,u[20]=h,u[21]=y,u[22]=g,u[23]=x,u[24]=l):l=u[24],u[25]!==a||u[26]!==l?(o=(0,t.jsxs)("div",{className:"flex flex-wrap gap-2",children:[a,l]}),u[25]=a,u[26]=l,u[27]=o):o=u[27],u[28]!==j||u[29]!==h.exclusiveOptions||u[30]!==h.optionLabels||u[31]!==w||u[32]!==b){let e;u[34]!==j||u[35]!==h.optionLabels||u[36]!==w||u[37]!==b?(e=e=>(0,t.jsx)(q,{label:h.optionLabels?.[e]??e,isAlternative:!0,isSelected:Array.isArray(j)&&j.includes(e),disabled:w(e),onToggle:()=>b(e)},e),u[34]=j,u[35]=h.optionLabels,u[36]=w,u[37]=b,u[38]=e):e=u[38],c=h.exclusiveOptions.map(e),u[28]=j,u[29]=h.exclusiveOptions,u[30]=h.optionLabels,u[31]=w,u[32]=b,u[33]=c}else c=u[33];return u[39]!==c?(d=(0,t.jsx)("div",{className:"flex flex-wrap gap-2 pt-4",children:c}),u[39]=c,u[40]=d):d=u[40],u[41]!==n||u[42]!==o||u[43]!==d?(m=(0,t.jsxs)("fieldset",{className:"flex min-w-0 flex-col gap-4 pt-2",children:[n,o,d]}),u[41]=n,u[42]=o,u[43]=d,u[44]=m):m=u[44],m}let F={skills:_.f,instructions:w.f,connections:S.f,secrets:N.f,stack:v.f,build:M.f,cadence:T.f,deploy:z.f};function B(e){e?.scrollIntoView({block:"nearest"})}function V(e){let i,v,w,N,_,S,z,M,T,L,A,$,R,I,q,V,W,H,Q,X,Y,K,J,G,U,Z,ee,et,er,ei,es,en,ea,el,eo,ec=(0,r.c)(100),{open:ed,onClose:em,step:eu,onNext:eh,onBack:ef,onStepChange:ex,answers:ep,onAnswerChange:eg,onToggleAnswer:eb,onOtherAnswersChange:ey}=e,ev=(0,x.f)(),ej=(0,p.f)(),ew=(0,d.f)(),eN=(0,E.useRef)(null),e_=(0,E.useId)();ec[0]===Symbol.for("react.memo_cache_sentinel")?(i={},ec[0]=i):i=ec[0];let[ek,eS]=(0,E.useState)(i),[ez,eM]=(0,E.useState)(!1),eC=m.n[eu],eT=eu===m.n.length,eE=ep[m.A];ec[1]!==ep||ec[2]!==ej?(v=e=>({id:e.id,label:ej(e.label),icon:F[e.id],isAnswered:(0,O.Y)(ep,e.group)}),ec[1]=ep,ec[2]=ej,ec[3]=v):v=ec[3],ec[4]!==eE?(w="string"==typeof eE&&eE.trim().length>0,ec[4]=eE,ec[5]=w):w=ec[5];let eO=[...m.n.map(v),{id:m.A,label:ej(h.D.freeformStep),icon:k.f,isAnswered:w}];ec[6]!==ed?(N=()=>{eM(!1),ed&&eN.current?.focus()},ec[6]=ed,ec[7]=N):N=ec[7],ec[8]!==ed||ec[9]!==eu?(_=[ed,eu],ec[8]=ed,ec[9]=eu,ec[10]=_):_=ec[10],(0,E.useEffect)(N,_),ec[11]!==ep||ec[12]!==eh||ec[13]!==ey||ec[14]!==ek||ec[15]!==eC?(S=()=>{let e=eC&&ek[eC.group.otherLabel]?.trim();if(eC&&e){let t=[...new Set([...(0,O.X)(ep,eC.group),e])],r=(0,O.$)(ep,{group:eC.group,values:t});if(0>(0,O.d)(r,eC.group.answerId))return;ey(eC,t),eS(e=>({...e,[eC.group.otherLabel]:""}))}eh()},ec[11]=ep,ec[12]=eh,ec[13]=ey,ec[14]=ek,ec[15]=eC,ec[16]=S):S=ec[16];let eL=S;ec[17]!==em?(z=e=>{e||em()},ec[17]=em,ec[18]=z):z=ec[18],ec[19]===Symbol.for("react.memo_cache_sentinel")?(M=(0,s.f)("flex flex-col gap-0 overflow-hidden bg-background p-0","fixed inset-0 h-dvh max-w-none rounded-none border-0","md:relative md:inset-auto md:h-[min(560px,calc(100dvh-2rem))] md:max-w-3xl md:rounded-lg md:border"),ec[19]=M):M=ec[19],ec[20]!==ej?(T=ej(h.D.close),ec[20]=ej,ec[21]=T):T=ec[21],ec[22]===Symbol.for("react.memo_cache_sentinel")?(L=(0,t.jsx)(C.X,{className:"size-4"}),ec[22]=L):L=ec[22],ec[23]!==em||ec[24]!==T?(A=(0,t.jsx)(n.Button,{variant:"ghost",size:"icon","aria-label":T,onClick:em,className:"absolute right-5 top-5 z-10 size-9 min-w-9 md:right-8 md:top-6",children:L}),ec[23]=em,ec[24]=T,ec[25]=A):A=ec[25],ec[26]!==ev?($=ev("Questionnaire topics"),ec[26]=ev,ec[27]=$):$=ec[27];let eA=eO.map((e,r)=>{let i=e.icon,n=eu===r;return(0,t.jsx)(c.Tooltip,{content:e.label,side:"right",delay:150,children:(0,t.jsxs)("button",{ref:n?B:void 0,type:"button","aria-label":e.label,"aria-current":n?"true":void 0,onClick:()=>ex(r),className:(0,s.f)("relative flex size-9 shrink-0 cursor-pointer items-center justify-center rounded-md","focus-visible:outline-none focus-visible:border-focus-border focus-visible:shadow-focus",n?"bg-primary/10 text-primary":"text-muted-foreground hover:bg-card-hover hover:text-accent-foreground",!n&&e.isAnswered&&"text-foreground"),children:[i&&(0,t.jsx)(i,{"aria-hidden":!0,className:"size-4"}),e.isAnswered&&(0,t.jsx)("span",{"aria-hidden":!0,className:"absolute right-0.5 top-0.5 flex size-3.5 items-center justify-center rounded-full bg-primary text-primary-foreground",children:(0,t.jsx)(j.f,{className:"size-2.5"})})]})},e.id)});ec[28]!==$||ec[29]!==eA?(R=(0,t.jsx)("nav",{"aria-label":$,className:"hidden min-h-0 flex-col items-center gap-2 overflow-y-auto border-r border-border pb-4 pt-6 md:flex",children:eA}),ec[28]=$,ec[29]=eA,ec[30]=R):R=ec[30];let e$=ez?"border-border":"border-transparent";ec[31]!==e$?(I=(0,s.f)("flex shrink-0 flex-col gap-4 border-b px-5 pb-4 pt-5 md:px-8 md:pt-6",e$),ec[31]=e$,ec[32]=I):I=ec[32],ec[33]!==ej?(q=ej(h.D.modalTitle),ec[33]=ej,ec[34]=q):q=ec[34],ec[35]!==q?(V=(0,t.jsx)(g.d,{children:q}),ec[35]=q,ec[36]=V):V=ec[36],ec[37]!==ew||ec[38]!==eu?(W=ew.number(eu+1,{preset:"integer"}),ec[37]=ew,ec[38]=eu,ec[39]=W):W=ec[39],ec[40]!==W?(H=(0,t.jsx)(g.d,{children:W}),ec[40]=W,ec[41]=H):H=ec[41];let eR=ew.number(eO.length,{preset:"integer"});ec[42]!==eR?(Q=(0,t.jsx)(g.d,{children:eR}),ec[42]=eR,ec[43]=Q):Q=ec[43],ec[44]!==V||ec[45]!==H||ec[46]!==Q?(X=(0,t.jsx)("p",{className:"flex h-9 items-center pr-12 text-body text-muted-foreground",children:(0,t.jsxs)(f.T,{children:[V," ·"," ",H," of"," ",Q]})}),ec[44]=V,ec[45]=H,ec[46]=Q,ec[47]=X):X=ec[47];let eI=String(eu);ec[48]!==ex?(Y=e=>ex(Number(e)),ec[48]=ex,ec[49]=Y):Y=ec[49],ec[50]!==ev?(K=ev("Questionnaire topic"),ec[50]=ev,ec[51]=K):K=ec[51],ec[52]===Symbol.for("react.memo_cache_sentinel")?(J=(0,t.jsx)(l.SelectValue,{}),ec[52]=J):J=ec[52],ec[53]!==K?(G=(0,t.jsx)(l.SelectTrigger,{"aria-label":K,className:"w-full",children:J}),ec[53]=K,ec[54]=G):G=ec[54],ec[55]===Symbol.for("react.memo_cache_sentinel")?(U=e=>eM(e.currentTarget.scrollTop>0),ec[55]=U):U=ec[55];let eq=eC?.question??h.D.freeformLabel;ec[56]!==ej||ec[57]!==eq?(Z=ej(eq),ec[56]=ej,ec[57]=eq,ec[58]=Z):Z=ec[58],ec[59]!==Z?(ee=(0,t.jsx)(a.F,{ref:eN,tabIndex:-1,className:"text-display font-bold leading-tight tracking-tight outline-none md:text-hero",children:Z}),ec[59]=Z,ec[60]=ee):ee=ec[60],ec[61]!==ej||ec[62]!==eC?(et=eC?.description&&(0,t.jsx)("p",{className:"-mt-2 text-body text-muted-foreground/70",children:ej(eC.description)}),ec[61]=ej,ec[62]=eC,ec[63]=et):et=ec[63],ec[64]!==ep||ec[65]!==eE||ec[66]!==e_||ec[67]!==eL||ec[68]!==ej||ec[69]!==eg||ec[70]!==ey||ec[71]!==eb||ec[72]!==ek||ec[73]!==eC?(er=eC?(0,t.jsx)(D,{group:eC.group,answers:ep,otherDraft:ek[eC.group.otherLabel]??"",onOtherDraftChange:e=>eS(t=>({...t,[eC.group.otherLabel]:e})),onToggle:e=>{let t=ep[eC.group.answerId];!eC.group.exclusiveOptions.includes(e)||Array.isArray(t)&&t.includes(e)||eS(e=>({...e,[eC.group.otherLabel]:""})),eb(eC,e)},onOtherChange:e=>ey(eC,e)}):(0,t.jsx)("form",{id:e_,className:"flex flex-1 flex-col",onSubmit:e=>{e.preventDefault(),eL()},children:(0,t.jsx)(o.o,{"aria-label":ej(h.D.freeformLabel),rows:6,maxLength:u.H,value:"string"==typeof eE?eE:"",onChange:e=>eg(m.A,e.target.value),placeholder:ej(h.D.freeformPlaceholder),className:"min-h-40 flex-1 resize-none"})}),ec[64]=ep,ec[65]=eE,ec[66]=e_,ec[67]=eL,ec[68]=ej,ec[69]=eg,ec[70]=ey,ec[71]=eb,ec[72]=ek,ec[73]=eC,ec[74]=er):er=ec[74],ec[75]!==eu||ec[76]!==ee||ec[77]!==et||ec[78]!==er?(ei=(0,t.jsxs)("div",{onScroll:U,className:"flex min-h-0 flex-col gap-4 overflow-y-auto px-5 pb-4 pt-2 md:px-8",children:[ee,et,er]},eu),ec[75]=eu,ec[76]=ee,ec[77]=et,ec[78]=er,ec[79]=ei):ei=ec[79],ec[80]!==ej||ec[81]!==ef||ec[82]!==em||ec[83]!==eu?(es=eu>0?(0,t.jsxs)(n.Button,{variant:"ghost",onClick:ef,children:[(0,t.jsx)(b.f,{className:"size-4"}),ej(h.D.back)]}):(0,t.jsx)(n.Button,{variant:"ghost",onClick:em,children:ej(h.D.skipRest)}),ec[80]=ej,ec[81]=ef,ec[82]=em,ec[83]=eu,ec[84]=es):es=ec[84];let eD=eT?"send":"next",eF=eT?"submit":"button",eB=eT?e_:void 0,eV=eT?void 0:eL,eP=eT?h.D.send:h.D.next;return ec[85]!==ej||ec[86]!==eP?(en=ej(eP),ec[85]=ej,ec[86]=eP,ec[87]=en):en=ec[87],ec[88]!==eT?(ea=eT?(0,t.jsx)(j.f,{className:"size-4"}):(0,t.jsx)(y.f,{className:"size-4"}),ec[88]=eT,ec[89]=ea):ea=ec[89],ec[90]!==eD||ec[91]!==eF||ec[92]!==eB||ec[93]!==eV||ec[94]!==en||ec[95]!==ea?(el=(0,t.jsxs)(n.Button,{type:eF,form:eB,onClick:eV,children:[en,ea]},eD),ec[90]=eD,ec[91]=eF,ec[92]=eB,ec[93]=eV,ec[94]=en,ec[95]=ea,ec[96]=el):el=ec[96],ec[97]!==es||ec[98]!==el?(eo=(0,t.jsxs)("footer",{className:"flex shrink-0 flex-wrap items-center justify-between gap-2 border-t border-border p-3 pb-[max(0.75rem,env(safe-area-inset-bottom))] md:px-5",children:[es,el]}),ec[97]=es,ec[98]=el,ec[99]=eo):eo=ec[99],(0,t.jsx)(a.N,{open:ed,onOpenChange:z,children:(0,t.jsxs)(a.d,{"data-overlay-layer":!0,initialFocus:eN,keepMounted:!1,showCloseButton:!1,className:M,children:[A,(0,t.jsxs)("div",{className:"grid min-h-0 flex-1 md:grid-cols-[3.5rem_minmax(0,1fr)]",children:[R,(0,t.jsxs)("div",{className:"flex min-h-0 flex-col",children:[(0,t.jsxs)("div",{className:I,children:[X,(0,t.jsx)("div",{className:"md:hidden",children:(0,t.jsxs)(l.Select,{size:"compact",value:eI,onValueChange:Y,children:[G,(0,t.jsx)(l.SelectContent,{children:eO.map(P)})]})})]}),ei]})]}),eo]})})}function P(e,r){return(0,t.jsx)(l.SelectItem,{value:String(r),children:e.label},e.id)}e.s(["QuestionsModal",0,function(){let e,s=(0,r.c)(11),{open:n,close:a,step:l,next:o,back:c,goToStep:d,answers:m,setAnswer:u,toggleAnswer:h,setOtherAnswers:f}=(0,i.h)();return s[0]!==m||s[1]!==c||s[2]!==a||s[3]!==d||s[4]!==o||s[5]!==n||s[6]!==u||s[7]!==f||s[8]!==l||s[9]!==h?(e=(0,t.jsx)(V,{open:n,onClose:a,step:l,onNext:o,onBack:c,onStepChange:d,answers:m,onAnswerChange:u,onToggleAnswer:h,onOtherAnswersChange:f}),s[0]=m,s[1]=c,s[2]=a,s[3]=d,s[4]=o,s[5]=n,s[6]=u,s[7]=f,s[8]=l,s[9]=h,s[10]=e):e=s[10],e}],941529)},232988,e=>{"use strict";var t=e.i(659350),r=e.i(663456),i=e.i(136562),s=e.i(233452),n=e.i(139697),a=e.i(758427),l=e.i(978242),o=e.i(429312),c=e.i(129067),d=e.i(960773),m=e.i(360518),u=e.i(823613),h=e.i(510586);e.i(707060);var f=e.i(387086),x=e.i(288265),p=e.i(919035),g=e.i(934416),b=e.i(354896),y=e.i(587652),v=e.i(16043);e.i(406201);var j=e.i(967605);let w="scroll-mt-[calc(var(--navbar-height)+56px+var(--sticky-banner-top,0px))] md:scroll-mt-[var(--sticky-banner-top,0px)]";function N(e){let t=e.replace("Ori ","").replaceAll(/[<>]/gu,"");return t.charAt(0).toUpperCase()+t.slice(1)}var _=e.i(832528),k=e.i(196991),S=e.i(914468),z=e.i(776571);function M(e){let i=(0,r.c)(26),{line:s}=e;if(s.startsWith("$ ")||s.startsWith("> ")){let e,r,n,a,l;i[0]!==s?(e=s.slice(2).split(" # "),i[0]=s,i[1]=e):e=i[1];let[o,c]=e;return i[2]!==s[0]?(r=(0,t.jsx)("span",{className:"text-(--text-faint)",children:s[0]}),i[2]=s[0],i[3]=r):r=i[3],i[4]!==o?(n=(0,t.jsx)("span",{className:"text-foreground",children:o}),i[4]=o,i[5]=n):n=i[5],i[6]!==c?(a=void 0!==c&&(0,t.jsxs)("span",{className:"text-(--text-faint)",children:[" # ",c]}),i[6]=c,i[7]=a):a=i[7],i[8]!==r||i[9]!==n||i[10]!==a?(l=(0,t.jsxs)(t.Fragment,{children:[r," ",n,a]}),i[8]=r,i[9]=n,i[10]=a,i[11]=l):l=i[11],l}if(s.startsWith("✓ ")){let e,r,n;return i[12]===Symbol.for("react.memo_cache_sentinel")?(e=(0,t.jsx)("span",{className:"text-(--positive-text)",children:"✓"}),i[12]=e):e=i[12],i[13]!==s?(r=s.slice(2),i[13]=s,i[14]=r):r=i[14],i[15]!==r?(n=(0,t.jsxs)(t.Fragment,{children:[e," ",r]}),i[15]=r,i[16]=n):n=i[16],n}if(s.startsWith("→ ")||s.startsWith("» ")){let e,r,n,a;return i[17]!==s[0]?(e=(0,t.jsx)("span",{className:"text-accent-foreground",children:s[0]}),i[17]=s[0],i[18]=e):e=i[18],i[19]!==s?(r=s.slice(2),i[19]=s,i[20]=r):r=i[20],i[21]!==r?(n=(0,t.jsx)("span",{className:"text-muted-foreground",children:r}),i[21]=r,i[22]=n):n=i[22],i[23]!==e||i[24]!==n?(a=(0,t.jsxs)(t.Fragment,{children:[e," ",n]}),i[23]=e,i[24]=n,i[25]=a):a=i[25],a}return s}function C(e){let i,s,n,a=(0,r.c)(7),{line:l,cursor:o}=e;return a[0]!==l?(i=(0,t.jsx)(M,{line:l}),a[0]=l,a[1]=i):i=a[1],a[2]!==o?(s=o&&(0,t.jsx)(z.y,{}),a[2]=o,a[3]=s):s=a[3],a[4]!==i||a[5]!==s?(n=(0,t.jsxs)("div",{children:[i,s]}),a[4]=i,a[5]=s,a[6]=n):n=a[6],n}function T(e){let i,s,n,a=(0,r.c)(5),{glyph:l}=e,o=void 0===l?"$":l;return a[0]!==o?(i=(0,t.jsx)("span",{className:"text-(--text-faint)",children:o}),a[0]=o,a[1]=i):i=a[1],a[2]===Symbol.for("react.memo_cache_sentinel")?(s=(0,t.jsx)(z.y,{}),a[2]=s):s=a[2],a[3]!==i?(n=(0,t.jsxs)("div",{children:[i,s]}),a[3]=i,a[4]=n):n=a[4],n}let E=["$ ori"],O=["> fix the flaky retry test in auth.spec.ts","✓ patched auth.spec.ts · tests green","> /model gemini-3-pro","✓ switched mid-task, context intact"],L={cps:60,linePause:240};var A=e.i(648880),$=e.i(651681);let R={name:"corner-down-left",size:24,node:[["path",{d:"M20 4v7a4 4 0 0 1-4 4H4",key:"6o5b7l"}],["path",{d:"m9 10-5 5 5 5",key:"1kshq7"}]]};R.node;let I=(0,$.f)(R),q={name:"mouse-pointer-2",size:24,node:[["path",{d:"M4.037 4.688a.495.495 0 0 1 .651-.651l16 6.5a.5.5 0 0 1-.063.947l-6.124 1.58a2 2 0 0 0-1.438 1.435l-1.579 6.126a.5.5 0 0 1-.947.063z",key:"edeuup"}]]};q.node;let D=(0,$.f)(q);var F=e.i(658045),B=e.i(561146);let V={title:(0,f.b)("Fix flaky auth retry tests"),meta:(0,f.b)("running · 24m"),status:"running"},P={title:(0,f.b)("Billing cron → v2 API"),meta:(0,f.b)("running · 6m"),status:"running"},W={title:(0,f.b)("August API changelog"),meta:(0,f.b)("needs review"),status:"review"},H={title:(0,f.b)("Bump deps, fix types"),meta:(0,f.b)("done · 2h"),status:"done"},Q=(0,f.b)("draft the August changelog"),X={title:(0,f.b)("August changelog"),meta:(0,f.b)("running · now"),status:"running"},Y=[V,P,W],K=[V,P],J=[{...X,meta:(0,f.b)("needs review"),status:"review"},V,P,H],G=["⠋","⠙","⠹","⠸","⠼","⠴","⠦","⠧","⠇","⠏"];function U(e){let s,n,a,l,o=(0,r.c)(10),{status:c}=e,d=(0,h.f)(),[m,u]=(0,v.useState)(0);if(o[0]!==d||o[1]!==c?(s=()=>{if("running"!==c||d)return;let e=setInterval(()=>u(Z),80);return()=>clearInterval(e)},n=[c,d],o[0]=d,o[1]=c,o[2]=s,o[3]=n):(s=o[2],n=o[3]),(0,v.useEffect)(s,n),"running"===c){let e,r=G[m]??G[0];return o[4]!==r?(e=(0,t.jsx)("span",{"aria-hidden":!0,className:"flex w-3 shrink-0 justify-center font-mono text-size-overline leading-none text-(--positive)",children:r}),o[4]=r,o[5]=e):e=o[5],e}let f="review"===c?"bg-(--warning)":"bg-muted-foreground/50";return o[6]!==f?(a=(0,i.f)("size-1.5 rounded-(--radius-full)",f),o[6]=f,o[7]=a):a=o[7],o[8]!==a?(l=(0,t.jsx)("span",{className:"flex w-3 shrink-0 justify-center",children:(0,t.jsx)("span",{className:a})}),o[8]=a,o[9]=l):l=o[9],l}function Z(e){return(e+1)%G.length}function ee(e){let s,n,a,l,o,c,d=(0,r.c)(18),{session:m,dense:u}=e,h=(0,p.f)(),f=u?"py-1":"py-1.5";return d[0]!==f?(s=(0,i.f)("flex items-center gap-2 rounded-(--radius-md) px-1.5",f),d[0]=f,d[1]=s):s=d[1],d[2]!==m.status?(n=(0,t.jsx)(U,{status:m.status}),d[2]=m.status,d[3]=n):n=d[3],d[4]!==h||d[5]!==m.title?(a=h(m.title),d[4]=h,d[5]=m.title,d[6]=a):a=d[6],d[7]!==a?(l=(0,t.jsx)("span",{className:"min-w-0 flex-1 truncate text-size-overline text-foreground",children:a}),d[7]=a,d[8]=l):l=d[8],d[9]!==u||d[10]!==h||d[11]!==m.meta?(o=!u&&(0,t.jsx)("span",{className:"shrink-0 text-size-overline text-(--text-faint)",children:h(m.meta)}),d[9]=u,d[10]=h,d[11]=m.meta,d[12]=o):o=d[12],d[13]!==s||d[14]!==n||d[15]!==l||d[16]!==o?(c=(0,t.jsxs)("div",{className:s,children:[n,l,o]}),d[13]=s,d[14]=n,d[15]=l,d[16]=o,d[17]=c):c=d[17],c}function et(e){let s,n,a=(0,r.c)(5),{children:l,mono:o}=e,c=o&&"font-mono";return a[0]!==c?(s=(0,i.f)("flex h-5 shrink-0 items-center gap-1 rounded-(--radius-full) border border-border px-2 text-size-overline leading-none text-muted-foreground",c),a[0]=c,a[1]=s):s=a[1],a[2]!==l||a[3]!==s?(n=(0,t.jsx)("span",{className:s,children:l}),a[2]=l,a[3]=s,a[4]=n):n=a[4],n}function er(e){let s,n,a,l,o,c,d,m,u,h,f,x,p=(0,r.c)(22),{placeholder:g,value:y,full:v}=e;p[0]!==g||p[1]!==y?(s=y?(0,t.jsxs)("span",{className:"min-w-0 truncate text-foreground",children:[y,(0,t.jsx)(z.y,{})]}):(0,t.jsx)("span",{className:"min-w-0 truncate text-(--text-faint)",children:g}),p[0]=g,p[1]=y,p[2]=s):s=p[2];let j=y?"bg-primary text-primary-foreground":"text-muted-foreground/50";return p[3]!==j?(n=(0,i.f)("ml-auto flex size-5 shrink-0 items-center justify-center rounded-(--radius-md)",j),p[3]=j,p[4]=n):n=p[4],p[5]===Symbol.for("react.memo_cache_sentinel")?(a=(0,t.jsx)(I,{className:"size-3"}),p[5]=a):a=p[5],p[6]!==n?(l=(0,t.jsx)("span",{className:n,children:a}),p[6]=n,p[7]=l):l=p[7],p[8]!==s||p[9]!==l?(o=(0,t.jsxs)("div",{className:"flex h-8 items-center gap-2 px-2.5 text-size-overline",children:[s,l]}),p[8]=s,p[9]=l,p[10]=o):o=p[10],p[11]===Symbol.for("react.memo_cache_sentinel")?(c=(0,t.jsx)(et,{children:"@miko"}),d=(0,t.jsx)(et,{children:"@pia"}),m=(0,t.jsx)("span",{className:"mx-0.5 h-3.5 w-px shrink-0 bg-border"}),p[11]=c,p[12]=d,p[13]=m):(c=p[11],d=p[12],m=p[13]),p[14]===Symbol.for("react.memo_cache_sentinel")?(u=(0,t.jsxs)(et,{children:[(0,t.jsx)(B.f,{className:"size-2.5"}),(0,t.jsx)("span",{children:"Ori Code"}),(0,t.jsx)(b.f,{className:"size-2.5 opacity-60"})]}),p[14]=u):u=p[14],p[15]!==v?(h=v&&(0,t.jsx)(et,{mono:!0,children:"openrouter/auto"}),p[15]=v,p[16]=h):h=p[16],p[17]!==h?(f=(0,t.jsxs)("div",{className:"flex items-center gap-1.5 overflow-hidden border-t border-border/40 p-2",children:[c,d,m,u,h]}),p[17]=h,p[18]=f):f=p[18],p[19]!==f||p[20]!==o?(x=(0,t.jsxs)("div",{className:"rounded-(--radius-md) border border-input bg-background/80",children:[o,f]}),p[19]=f,p[20]=o,p[21]=x):x=p[21],x}function ei(e){return e+1}let es=[[1,400],[2,900],[3,1900],[4,3500],[5,4e3],[6,5400]];function en(e){let s,a,l,o,c,d,m,u,f,g,b,y,j,w,N,M,C=(0,r.c)(33),{entered:T,onReplay:E}=e,O=(0,x.f)(),L=(0,p.f)(),$=(0,h.f)(),[R,I]=(0,v.useState)(0);C[0]!==T||C[1]!==$?(s=()=>{if(!T)return;if($)return void I(6);let e=es.map(e=>{let[t,r]=e;return window.setTimeout(()=>I(t),r)});return()=>{for(let t of e)window.clearTimeout(t)}},a=[T,$],C[0]=T,C[1]=$,C[2]=s,C[3]=a):(s=C[2],a=C[3]),(0,v.useEffect)(s,a),C[4]!==L?(l=L(Q),C[4]=L,C[5]=l):l=C[5],C[6]!==l?(o=[l],C[6]=l,C[7]=o):o=C[7],C[8]===Symbol.for("react.memo_cache_sentinel")?(c={cps:22},C[8]=c):c=C[8];let[q]=(0,z.H)(o,3===R,c),B=3===R?q[0]??"":"";return C[9]===Symbol.for("react.memo_cache_sentinel")?(d=(0,t.jsx)("span",{className:"font-semibold text-foreground",children:"Ori"}),C[9]=d):d=C[9],C[10]===Symbol.for("react.memo_cache_sentinel")?(m=(0,t.jsx)("span",{className:"hidden sm:inline",children:(0,t.jsx)(k.T,{children:"File"})}),C[10]=m):m=C[10],C[11]===Symbol.for("react.memo_cache_sentinel")?(u=(0,t.jsx)("span",{className:"hidden sm:inline",children:(0,t.jsx)(k.T,{children:"Edit"})}),C[11]=u):u=C[11],C[12]===Symbol.for("react.memo_cache_sentinel")?(f=(0,t.jsx)("span",{className:"hidden sm:inline",children:(0,t.jsx)(k.T,{children:"View"})}),C[12]=f):f=C[12],C[13]===Symbol.for("react.memo_cache_sentinel")?(g=(0,t.jsxs)("div",{className:"flex items-center gap-4",children:[d,m,u,f,(0,t.jsx)("span",{className:"hidden sm:inline",children:(0,t.jsx)(k.T,{children:"Window"})})]}),C[13]=g):g=C[13],C[14]===Symbol.for("react.memo_cache_sentinel")?(b=(0,t.jsxs)("div",{className:"flex w-full items-center justify-between rounded-t-(--radius-xl) border border-border bg-card/92 px-4 py-1.5 text-size-overline dark:bg-(--or-cloud)/2 text-muted-foreground backdrop-blur-md",children:[g,(0,t.jsxs)("div",{className:"flex items-center gap-4 font-mono",children:[(0,t.jsx)(S.f,{width:14,height:10}),(0,t.jsx)("span",{children:(0,t.jsx)(k.T,{children:"Wed 9:41 AM"})})]})]}),C[14]=b):b=C[14],C[15]!==O||C[16]!==R||C[17]!==B?(y=R>=1&&R<6&&(0,t.jsxs)(_.f.div,{initial:{opacity:0,y:-8,scale:.97},animate:{opacity:1,y:0,scale:1},exit:{opacity:0,y:-6,scale:.97},transition:{type:"spring",stiffness:300,damping:24},className:"relative z-10 ml-auto w-full max-w-70 origin-top-right rounded-(--radius-lg) border border-border bg-card/98 p-2.5 shadow-md backdrop-blur-md dark:bg-(--or-cloud)/2 sm:absolute sm:right-8 sm:top-2",children:[(0,t.jsx)(er,{placeholder:O("Fire off a task. @intern to delegate, ↵ to run…"),value:B}),(0,t.jsxs)("div",{className:"mt-2 flex flex-col",children:[R>=4&&(0,t.jsx)(_.f.div,{initial:{opacity:0,y:-4},animate:{opacity:1,y:0},transition:{type:"spring",stiffness:320,damping:24},children:(0,t.jsx)(ee,{session:X})}),(R>=4?K:Y).map(eo)]}),(0,t.jsxs)("div",{className:(0,i.f)("mt-1 flex items-center justify-between rounded-(--radius-md) border-t border-border/50 px-1.5 pb-1 pt-2 text-size-overline text-muted-foreground transition-colors",R>=5&&"bg-(--card-hover) text-accent-foreground delay-800"),children:[(0,t.jsx)("span",{children:(0,t.jsx)(k.T,{children:"Open Ori…"})}),(0,t.jsx)("kbd",{className:"rounded-(--radius-sm) border border-border/60 bg-muted px-1 font-mono text-(--text-faint)",children:"⌘O"})]}),R>=2&&R<5&&(0,t.jsx)(_.f.div,{initial:{opacity:0,x:90,y:70,scale:1},animate:{opacity:[0,1,1,1,0],x:[90,90,0,0,0],y:[70,70,0,0,0],scale:[1,1,1,.8,1]},transition:{duration:1.3,times:[0,.12,.6,.78,1]},className:"pointer-events-none absolute left-14 top-5 z-20 text-foreground",children:(0,t.jsx)(D,{className:"size-4 drop-shadow-md",fill:"currentColor"})}),R>=5&&(0,t.jsx)(_.f.div,{initial:{opacity:0,x:70,y:-80,scale:1},animate:{opacity:[0,1,1,1],x:[70,70,0,0],y:[-80,-80,0,0],scale:[1,1,1,.8]},transition:{duration:1.2,times:[0,.15,.75,1]},className:"pointer-events-none absolute bottom-3 left-16 z-20 text-foreground",children:(0,t.jsx)(D,{className:"size-4 drop-shadow-md",fill:"currentColor"})})]},"popover"),C[15]=O,C[16]=R,C[17]=B,C[18]=y):y=C[18],C[19]!==O||C[20]!==R||C[21]!==$?(j=R>=6&&(0,t.jsxs)(_.f.div,{initial:!$&&{opacity:0,y:10,scale:.97},animate:{opacity:1,y:0,scale:1},transition:{type:"spring",stiffness:260,damping:26},className:"overflow-hidden rounded-(--radius-lg) border border-border bg-card/96 shadow-sm backdrop-blur-md dark:bg-(--or-cloud)/2",children:[(0,t.jsxs)("div",{className:"flex items-center gap-2 border-b border-border/50 px-3 py-2",children:[(0,t.jsxs)("span",{className:"flex gap-1.5",children:[(0,t.jsx)("span",{className:"size-2 rounded-(--radius-full) bg-foreground/15"}),(0,t.jsx)("span",{className:"size-2 rounded-(--radius-full) bg-foreground/15"}),(0,t.jsx)("span",{className:"size-2 rounded-(--radius-full) bg-foreground/15"})]}),(0,t.jsx)("span",{className:"ml-1 font-mono text-size-overline text-(--text-faint)",children:"Ori"})]}),(0,t.jsxs)("div",{className:"flex min-h-75",children:[(0,t.jsxs)("div",{className:"hidden w-48 shrink-0 border-r border-border/50 p-2 sm:block",children:[(0,t.jsx)("div",{className:"mb-1 px-1.5 font-mono text-size-overline uppercase tracking-[0.12em] text-(--text-faint)",children:(0,t.jsx)(k.T,{children:"Sessions"})}),J.map(el)]}),(0,t.jsxs)("div",{className:"min-w-0 flex-1 p-4 sm:p-5",children:[(0,t.jsx)("div",{className:"text-body font-medium text-foreground",children:(0,t.jsx)(k.T,{children:"What should we work on?"})}),(0,t.jsx)("div",{className:"mt-2",children:(0,t.jsx)(er,{placeholder:O("Fire off a task. @intern to delegate, ↵ to run…"),full:!0})}),(0,t.jsx)("div",{className:"mt-2 flex flex-wrap gap-1.5",children:["ori claude","ori codex","ori code"].map(ea)}),(0,t.jsxs)(_.f.div,{initial:!$&&{opacity:0,y:6},animate:{opacity:1,y:0},transition:{delay:.5*!$},className:"mt-4 flex items-center gap-2 rounded-(--radius-md) border border-border bg-background/60 px-2.5 py-2",children:[(0,t.jsx)("span",{className:"size-1.5 shrink-0 rounded-(--radius-full) bg-(--warning)"}),(0,t.jsx)("span",{className:"min-w-0 flex-1 truncate text-size-overline text-foreground",children:(0,t.jsx)(k.T,{children:"August changelog: OK to publish?"})}),(0,t.jsx)("span",{className:"shrink-0 rounded-(--radius-sm) border border-border/60 px-1.5 py-0.5 text-size-overline text-muted-foreground",children:(0,t.jsx)(k.T,{children:"Review"})})]})]})]})]},"window"),C[19]=O,C[20]=R,C[21]=$,C[22]=j):j=C[22],C[23]!==y||C[24]!==j?(w=(0,t.jsx)("div",{className:"relative min-h-95 w-full rounded-b-(--radius-xl) border-x border-b border-border bg-background/60 px-4 pb-5 pt-4 sm:px-6 sm:pb-6",children:(0,t.jsxs)(A.f,{mode:"popLayout",children:[y,j]})}),C[23]=y,C[24]=j,C[25]=w):w=C[25],C[26]!==E||C[27]!==R||C[28]!==$?(N=R>=6&&!$&&(0,t.jsx)(_.f.div,{initial:{opacity:0,y:4},animate:{opacity:1,y:0},transition:{delay:.8},className:"absolute -top-19 right-0",children:(0,t.jsxs)(n.Button,{variant:"outline",size:"sm",onClick:E,children:[(0,t.jsx)(F.f,{className:"!size-3.5"}),(0,t.jsx)(k.T,{children:"Replay the demo"})]})}),C[26]=E,C[27]=R,C[28]=$,C[29]=N):N=C[29],C[30]!==w||C[31]!==N?(M=(0,t.jsxs)("div",{className:"relative flex flex-col",children:[b,w,N]}),C[30]=w,C[31]=N,C[32]=M):M=C[32],M}function ea(e){return(0,t.jsx)("span",{className:"flex h-6 items-center rounded-(--radius-full) border border-border px-2 font-mono text-size-overline text-muted-foreground",children:e},e)}function el(e){return(0,t.jsx)(ee,{session:e,dense:!0},e.title)}function eo(e){return(0,t.jsx)(ee,{session:e},e.title)}var ec=e.i(682910);function ed(e){let s,n,a,l=(0,r.c)(6),{children:o,className:c}=e;return l[0]!==c?(s=(0,i.f)("relative border border-border backdrop-blur-md","bg-card/42",ec.q,c),l[0]=c,l[1]=s):s=l[1],l[2]===Symbol.for("react.memo_cache_sentinel")?(n=(0,t.jsx)(z.h,{hover:!1}),l[2]=n):n=l[2],l[3]!==o||l[4]!==s?(a=(0,t.jsxs)("div",{className:s,children:[n,o]}),l[3]=o,l[4]=s,l[5]=a):a=l[5],a}function em(e){let s,n,a,l=(0,r.c)(7),{name:o,className:c}=e,d=void 0===c?"size-3":c,m=`url(/images/ori/marks/${o}.svg)`;return l[0]!==d?(s=(0,i.f)("inline-block shrink-0 bg-current mask-(--provider-mark) mask-contain mask-center mask-no-repeat","[-webkit-mask-image:var(--provider-mark)] [-webkit-mask-size:contain] [-webkit-mask-position:center] [-webkit-mask-repeat:no-repeat]",d),l[0]=d,l[1]=s):s=l[1],l[2]!==m?(n={"--provider-mark":m},l[2]=m,l[3]=n):n=l[3],l[4]!==s||l[5]!==n?(a=(0,t.jsx)("span",{"aria-hidden":!0,className:s,"data-allow-inline-style":!0,style:n}),l[4]=s,l[5]=n,l[6]=a):a=l[6],a}function eu(e){let i,s,n,a=(0,r.c)(4),{className:l}=e;return a[0]===Symbol.for("react.memo_cache_sentinel")?(i=(0,t.jsx)("path",{fillRule:"evenodd",d:"M165.29 165.29H517.36V400H400V517.36H282.65V634.72H165.29ZM282.65 282.65V400H400V282.65Z"}),s=(0,t.jsx)("path",{d:"M517.36 400H634.72V634.72H517.36Z"}),a[0]=i,a[1]=s):(i=a[0],s=a[1]),a[2]!==l?(n=(0,t.jsxs)("svg",{viewBox:"0 0 800 800",className:l,"aria-hidden":!0,fill:"currentColor",children:[i,s]}),a[2]=l,a[3]=n):n=a[3],n}function eh(e){let s,n,a,l,o,c,d,m,u,f,x,p,g,b,y,v=(0,r.c)(37),{name:j,mark:w,score:N,asserts:k,width:S,winner:z,delay:M}=e,C=(0,h.f)(),T=z?"text-accent-foreground":"text-muted-foreground";v[0]!==T?(s=(0,i.f)("flex w-32 shrink-0 items-center gap-1.5 sm:w-40",T),v[0]=T,v[1]=s):s=v[1],v[2]!==w?(n=(0,t.jsx)(em,{name:w,className:"size-3 shrink-0"}),v[2]=w,v[3]=n):n=v[3],v[4]!==j?(a=(0,t.jsx)("span",{className:"truncate",children:j}),v[4]=j,v[5]=a):a=v[5],v[6]!==s||v[7]!==n||v[8]!==a?(l=(0,t.jsxs)("span",{className:s,children:[n,a]}),v[6]=s,v[7]=n,v[8]=a,v[9]=l):l=v[9],v[10]!==C?(o=!C&&{width:0},v[10]=C,v[11]=o):o=v[11],v[12]!==S?(c={width:S},v[12]=S,v[13]=c):c=v[13],v[14]===Symbol.for("react.memo_cache_sentinel")?(d={once:!0,margin:"-80px"},v[14]=d):d=v[14],v[15]===Symbol.for("react.memo_cache_sentinel")?(m=[.21,.6,.35,1],v[15]=m):m=v[15],v[16]!==M?(u={duration:.9,delay:M,ease:m},v[16]=M,v[17]=u):u=v[17];let E=z?"bg-accent-foreground":"bg-foreground/25";v[18]!==E?(f=(0,i.f)("h-full rounded-(--radius-full)",E),v[18]=E,v[19]=f):f=v[19],v[20]!==u||v[21]!==f||v[22]!==o||v[23]!==c?(x=(0,t.jsx)("div",{className:"h-1.5 flex-1 rounded-(--radius-full) bg-foreground/10",children:(0,t.jsx)(_.f.div,{initial:o,whileInView:c,viewport:d,transition:u,className:f})}),v[20]=u,v[21]=f,v[22]=o,v[23]=c,v[24]=x):x=v[24],v[25]!==k?(p=(0,t.jsx)("span",{className:"hidden w-16 shrink-0 text-right text-(--text-faint) sm:inline",children:k}),v[25]=k,v[26]=p):p=v[26];let O=z?"font-medium text-accent-foreground":"text-muted-foreground";return v[27]!==O?(g=(0,i.f)("w-10 shrink-0 text-right",O),v[27]=O,v[28]=g):g=v[28],v[29]!==N||v[30]!==g?(b=(0,t.jsx)("span",{className:g,children:N}),v[29]=N,v[30]=g,v[31]=b):b=v[31],v[32]!==x||v[33]!==p||v[34]!==b||v[35]!==l?(y=(0,t.jsxs)("div",{className:"flex items-center gap-3",children:[l,x,p,b]}),v[32]=x,v[33]=p,v[34]=b,v[35]=l,v[36]=y):y=v[36],y}var ef=e.i(153746);let ex={claude:{welcome:(0,f.b)("Welcome to Claude Code"),model:"anthropic/claude-opus-latest",mark:{kind:"asset",name:"claude"}},codex:{welcome:(0,f.b)("Welcome to Codex"),model:"openai/gpt-5.3-codex",mark:{kind:"asset",name:"openai"}},hermes:{welcome:(0,f.b)("Welcome to Hermes"),model:"nousresearch/hermes-4-405b",mark:{kind:"asset",name:"nousresearch"}},opencode:{welcome:(0,f.b)("Welcome to opencode"),model:"openrouter/auto",mark:{kind:"asset",name:"opencode"}},pi:{welcome:(0,f.b)("Welcome to pi"),model:"openrouter/auto",mark:{kind:"pi"}},grok:{welcome:(0,f.b)("Welcome to Grok Build"),model:"x-ai/grok-4.7",mark:{kind:"asset",name:"grok"}},"prime-agent":{welcome:(0,f.b)("Welcome to Prime Agent"),model:"openrouter/auto",mark:{kind:"asset",name:"primeintellect"}}},ep=["claude","codex","hermes","opencode","pi","grok","prime-agent"],eg={cps:60,linePause:240};function eb(e){let i=(0,r.c)(3),{mark:s}=e;switch(s.kind){case"asset":{let e;return i[0]!==s.name?(e=(0,t.jsx)(em,{name:s.name,className:"size-3"}),i[0]=s.name,i[1]=e):e=i[1],e}case"pi":{let e;return i[2]===Symbol.for("react.memo_cache_sentinel")?(e=(0,t.jsx)(eu,{className:"size-3 shrink-0"}),i[2]=e):e=i[2],e}default:return s}}function ey(e){let i,s,n,a,l=(0,r.c)(16),{label:o,harness:c,entered:d}=e,m=(0,p.f)(),u=(0,h.f)(),f=`$ ori ${o}`;l[0]!==f?(i=[f],l[0]=f,l[1]=i):i=l[1];let[x,g]=(0,z.H)(i,d,eg);if(l[2]!==g||l[3]!==x){let e;l[5]!==g||l[6]!==x.length?(e=(e,r)=>{let i=`${r}-${e}`;return(0,t.jsx)(C,{line:e,cursor:r===x.length-1&&!g},i)},l[5]=g,l[6]=x.length,l[7]=e):e=l[7],s=x.map(e),l[2]=g,l[3]=x,l[4]=s}else s=l[4];return l[8]!==g||l[9]!==c||l[10]!==m||l[11]!==u?(n=g&&(0,t.jsxs)(_.f.div,{initial:!u&&{opacity:0,y:4},animate:{opacity:1,y:0},transition:{duration:.35,ease:"easeOut"},className:"mt-2",children:[(0,t.jsxs)("div",{className:"w-fit max-w-full border border-border/70 px-3.5 py-2.5 leading-[1.9]",children:[(0,t.jsxs)("div",{className:"flex items-center gap-1.5 text-foreground",children:[(0,t.jsx)(eb,{mark:c.mark}),m(c.welcome)]}),(0,t.jsx)("div",{children:(0,t.jsxs)(k.T,{children:["model: ",(0,t.jsx)(ef.d,{children:c.model})]})}),(0,t.jsx)("div",{children:(0,t.jsx)(k.T,{children:"auth: OpenRouter · org guardrails on"})})]}),(0,t.jsx)("div",{className:"mt-2",children:(0,t.jsx)(T,{glyph:">"})})]}),l[8]=g,l[9]=c,l[10]=m,l[11]=u,l[12]=n):n=l[12],l[13]!==s||l[14]!==n?(a=(0,t.jsxs)("div",{className:"min-h-[13.5em] text-muted-foreground",children:[s,n]}),l[13]=s,l[14]=n,l[15]=a):a=l[15],a}var ev=e.i(797521),ej=e.i(359980),ew=e.i(872635),eN=e.i(444227);let e_={name:"thumbs-up",size:24,node:[["path",{d:"M15 5.88 14 10h5.83a2 2 0 0 1 1.92 2.56l-2.33 8A2 2 0 0 1 17.5 22H4a2 2 0 0 1-2-2v-8a2 2 0 0 1 2-2h2.76a2 2 0 0 0 1.79-1.11L12 2a3.13 3.13 0 0 1 3 3.88Z",key:"emmmcr"}],["path",{d:"M7 10v12",key:"1qc93n"}]]};e_.node;let ek=(0,$.f)(e_);var eS=e.i(852644),ez=e.i(307175);let eM={hidden:{opacity:0,y:6},show:{opacity:1,y:0,transition:{duration:.35,ease:"easeOut"}}};function eC(e){let i,s,n,a=(0,r.c)(9),{children:l,className:o,step:c,delay:d}=e,m=void 0===c?.45:c,u=void 0===d?.15:d,f=!(0,h.f)()&&"hidden";return a[0]===Symbol.for("react.memo_cache_sentinel")?(i={once:!0,margin:"-80px"},a[0]=i):i=a[0],a[1]!==u||a[2]!==m?(s={show:{transition:{staggerChildren:m,delayChildren:u}}},a[1]=u,a[2]=m,a[3]=s):s=a[3],a[4]!==l||a[5]!==o||a[6]!==f||a[7]!==s?(n=(0,t.jsx)(_.f.div,{className:o,initial:f,whileInView:"show",viewport:i,variants:s,children:l}),a[4]=l,a[5]=o,a[6]=f,a[7]=s,a[8]=n):n=a[8],n}function eT(e){let i,s=(0,r.c)(3),{children:n,className:a}=e;return s[0]!==n||s[1]!==a?(i=(0,t.jsx)(_.f.div,{variants:eM,className:a,children:n}),s[0]=n,s[1]=a,s[2]=i):i=s[2],i}let eE=[{name:"ori",skills:7},{name:"miko",skills:12},{name:"pia",skills:4}],eO={code:function(){let e,i,s,n,a,l,o,c,d,m,u,f,x=(0,r.c)(30),p=(0,h.f)(),[g,b]=(0,z.j)();x[0]===Symbol.for("react.memo_cache_sentinel")?(e=[...E],x[0]=e):e=x[0];let[y,j]=(0,z.H)(e,b,L),[w,N]=(0,v.useState)(0);x[1]!==j||x[2]!==p?(i=()=>{if(!j)return;if(p)return void N(2);let e=window.setTimeout(()=>N(1),450),t=window.setTimeout(()=>N(2),1150);return()=>{window.clearTimeout(e),window.clearTimeout(t)}},s=[j,p],x[1]=j,x[2]=p,x[3]=i,x[4]=s):(i=x[3],s=x[4]),(0,v.useEffect)(i,s),x[5]===Symbol.for("react.memo_cache_sentinel")?(n=[...O],x[5]=n):n=x[5];let[M,A]=(0,z.H)(n,w>=2,L);if(x[6]!==j||x[7]!==y){let e;x[9]!==j||x[10]!==y.length?(e=(e,r)=>{let i=`${r}-${e}`;return(0,t.jsx)(C,{line:e,cursor:!j&&r===y.length-1},i)},x[9]=j,x[10]=y.length,x[11]=e):e=x[11],a=y.map(e),x[6]=j,x[7]=y,x[8]=a}else a=x[8];return x[12]!==w||x[13]!==p?(l=w>=1&&(0,t.jsx)(_.f.div,{initial:!p&&{opacity:0,y:4},animate:{opacity:1,y:0},transition:{duration:.35,ease:"easeOut"},className:"mt-2",children:(0,t.jsxs)("div",{className:"w-fit max-w-full border border-border/70 px-3.5 py-2.5 leading-[1.9]",children:[(0,t.jsxs)("div",{className:"flex items-center gap-1.5 text-foreground",children:[(0,t.jsx)(S.f,{width:14,height:10}),(0,t.jsx)(k.T,{children:"Welcome to Ori"})]}),(0,t.jsx)("div",{children:"model: openrouter/auto"}),(0,t.jsx)("div",{children:(0,t.jsx)(k.T,{children:"auth: OpenRouter · no API keys needed"})})]})}),x[12]=w,x[13]=p,x[14]=l):l=x[14],x[15]!==w||x[16]!==M||x[17]!==A?(o=w>=2&&(0,t.jsxs)("div",{className:"mt-2",children:[M.map((e,r)=>{let i=`${r}-${e}`;return(0,t.jsx)(C,{line:e,cursor:!A&&r===M.length-1},i)}),A&&(0,t.jsx)(T,{glyph:">"})]}),x[15]=w,x[16]=M,x[17]=A,x[18]=o):o=x[18],x[19]!==a||x[20]!==l||x[21]!==o?(c=(0,t.jsxs)("div",{className:"min-h-[21.5em] text-muted-foreground",children:[a,l,o]}),x[19]=a,x[20]=l,x[21]=o,x[22]=c):c=x[22],x[23]===Symbol.for("react.memo_cache_sentinel")?(d=(0,t.jsx)("span",{className:"truncate",children:(0,t.jsx)(k.T,{children:"gemini-3-pro · via OpenRouter"})}),x[23]=d):d=x[23],x[24]===Symbol.for("react.memo_cache_sentinel")?(m=(0,t.jsxs)("div",{className:"mt-3 flex items-center justify-between gap-3 border-t border-border/50 pt-2.5 text-(--text-faint)",children:[d,(0,t.jsx)("span",{className:"shrink-0",children:(0,t.jsx)(k.T,{children:"12.4k tokens · $0.08"})})]}),x[24]=m):m=x[24],x[25]!==c?(u=(0,t.jsxs)(z.K,{title:"ori · zsh",bodyClassName:"leading-loose",children:[c,m]}),x[25]=c,x[26]=u):u=x[26],x[27]!==g||x[28]!==u?(f=(0,t.jsx)("div",{ref:g,children:u}),x[27]=g,x[28]=u,x[29]=f):f=x[29],f},harness:function(){let e,s,a,l,o,c=(0,r.c)(16),m=(0,d.Q)(),[u,h]=(0,z.j)(),[f,x]=(0,v.useState)("claude"),p=ex[f];c[0]!==m||c[1]!==f?(e=ep.map(e=>(0,t.jsxs)(n.Button,{variant:"ghost",size:"sm",shape:"pill",weight:"regular",glyph:"xs",onClick:()=>{m.capture("select_ori_harness_demo",{harness:e}),x(e)},"aria-pressed":f===e,className:(0,i.f)("h-auto min-h-8 px-2.5 text-size-overline",f===e?"bg-accent text-accent-foreground hover:bg-accent":"text-muted-foreground hover:bg-(--card-hover) hover:text-accent-foreground"),children:[(0,t.jsx)(eb,{mark:ex[e].mark}),e]},e)),c[0]=m,c[1]=f,c[2]=e):e=c[2],c[3]!==e?(s=(0,t.jsx)("div",{className:"mb-3 flex flex-wrap items-center gap-1 font-mono text-size-overline",children:e}),c[3]=e,c[4]=s):s=c[4];let g=`ori ${f} \xb7 zsh`;return c[5]!==h||c[6]!==p||c[7]!==f?(a=(0,t.jsx)(ey,{label:f,harness:p,entered:h},f),c[5]=h,c[6]=p,c[7]=f,c[8]=a):a=c[8],c[9]!==g||c[10]!==a?(l=(0,t.jsx)(z.K,{title:g,bodyClassName:"leading-loose",children:a}),c[9]=g,c[10]=a,c[11]=l):l=c[11],c[12]!==u||c[13]!==s||c[14]!==l?(o=(0,t.jsxs)("div",{ref:u,children:[s,l]}),c[12]=u,c[13]=s,c[14]=l,c[15]=o):o=c[15],o},eval:function(){let e,i,s,n,a,l,o,c,d,m,u,f,x,p,g=(0,r.c)(18),b=(0,h.f)();g[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,t.jsx)("span",{className:"truncate",children:(0,t.jsx)(k.T,{children:"ori eval · standup-summarizer · 120 prompts"})}),g[0]=e):e=g[0],g[1]===Symbol.for("react.memo_cache_sentinel")?(i=(0,t.jsxs)("div",{className:"mb-3 flex items-center justify-between gap-3 font-mono text-size-overline text-(--text-faint)",children:[e,(0,t.jsx)("span",{className:"shrink-0",children:(0,t.jsx)(k.T,{children:"run #42"})})]}),g[1]=i):i=g[1],g[2]===Symbol.for("react.memo_cache_sentinel")?(s=(0,t.jsx)("span",{className:"w-32 shrink-0 sm:w-40",children:(0,t.jsx)(k.T,{children:"model"})}),n=(0,t.jsx)("span",{className:"flex-1"}),g[2]=s,g[3]=n):(s=g[2],n=g[3]),g[4]===Symbol.for("react.memo_cache_sentinel")?(a=(0,t.jsx)("span",{className:"hidden w-16 shrink-0 text-right sm:inline",children:(0,t.jsx)(k.T,{children:"asserts"})}),g[4]=a):a=g[4],g[5]===Symbol.for("react.memo_cache_sentinel")?(l=(0,t.jsxs)("div",{className:"mb-2 flex items-center gap-3 font-mono text-size-overline uppercase tracking-widest text-(--text-faint)",children:[s,n,a,(0,t.jsx)("span",{className:"w-10 shrink-0 text-right",children:(0,t.jsx)(k.T,{children:"score"})})]}),g[5]=l):l=g[5],g[6]===Symbol.for("react.memo_cache_sentinel")?(o=(0,t.jsxs)("div",{className:"flex flex-col gap-3 font-mono text-size-overline",children:[(0,t.jsx)(eh,{name:"claude-sonnet-5",mark:"claude",score:"91.6",asserts:"120/120",width:"91%",winner:!0,delay:.15}),(0,t.jsx)(eh,{name:"gemini-3.8-flash",mark:"gemini",score:"84.2",asserts:"117/120",width:"78%",delay:.4}),(0,t.jsx)(eh,{name:"deepseek-v4-pro",mark:"deepseek",score:"78.9",asserts:"112/120",width:"69%",delay:.65})]}),g[6]=o):o=g[6],g[7]!==b?(c=!b&&{opacity:0},g[7]=b,g[8]=c):c=g[8],g[9]===Symbol.for("react.memo_cache_sentinel")?(d={opacity:1},m={once:!0,margin:"-80px"},g[9]=d,g[10]=m):(d=g[9],m=g[10]);let y=1.6*!b;return g[11]!==y?(u={delay:y,duration:.5},g[11]=y,g[12]=u):u=g[12],g[13]===Symbol.for("react.memo_cache_sentinel")?(f=(0,t.jsx)("span",{className:"text-foreground",children:"◆"}),g[13]=f):f=g[13],g[14]===Symbol.for("react.memo_cache_sentinel")?(x=(0,t.jsxs)("span",{className:"flex items-center gap-1.5",children:[(0,t.jsx)(k.T,{children:"judged by"}),(0,t.jsx)(em,{name:"openai",className:"size-3 shrink-0"}),(0,t.jsx)("span",{children:"gpt-5.6-terra"})]}),g[14]=x):x=g[14],g[15]!==u||g[16]!==c?(p=(0,t.jsxs)(ed,{className:"p-5",children:[i,l,o,(0,t.jsxs)(_.f.div,{initial:c,whileInView:d,viewport:m,transition:u,className:"mt-4 flex items-center gap-2 border-t border-border/50 pt-3 font-mono text-size-overline text-muted-foreground",children:[f,x]})]}),g[15]=u,g[16]=c,g[17]=p):p=g[17],p},intern:function(){let e,i,s,n,a,l,o,c,d,m,u,f,x,p,g,b,y,v,j,w,N,z,M,C,T,E,O,L,A,$,R,I,q=(0,r.c)(46),D=(0,ev.f)(),F=(0,h.f)();q[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,t.jsxs)("div",{className:"flex items-center gap-1.5 text-body font-semibold text-foreground",children:[(0,t.jsx)(eN.f,{className:"size-3.5 text-muted-foreground"}),(0,t.jsx)("span",{children:"team-updates"})]}),q[0]=e):e=q[0],q[1]===Symbol.for("react.memo_cache_sentinel")?(i=(0,t.jsxs)("span",{className:"flex items-center gap-1.5",children:[(0,t.jsx)(eS.f,{className:"size-3"}),"24"]}),q[1]=i):i=q[1],q[2]===Symbol.for("react.memo_cache_sentinel")?(s=(0,t.jsxs)("div",{className:"flex items-center justify-between border-b border-border/50 px-5 py-2.5",children:[e,(0,t.jsxs)("div",{className:"flex items-center gap-3 font-mono text-size-overline text-(--text-faint)",children:[i,(0,t.jsxs)("span",{className:"flex items-center gap-1.5 text-muted-foreground",children:[(0,t.jsx)(ez.f,{className:"size-3"}),(0,t.jsx)("span",{children:"Slack"})]})]})]}),q[2]=s):s=q[2],q[3]===Symbol.for("react.memo_cache_sentinel")?(n=(0,t.jsx)("div",{className:"mt-0.5 flex size-7 shrink-0 items-center justify-center rounded-(--radius-md) bg-foreground/10 font-mono text-size-overline",children:"L"}),q[3]=n):n=q[3],q[4]===Symbol.for("react.memo_cache_sentinel")?(a=(0,t.jsx)("span",{children:"lab"}),q[4]=a):a=q[4],q[5]===Symbol.for("react.memo_cache_sentinel")?(l=(0,t.jsxs)("div",{className:"font-medium",children:[a," ",(0,t.jsx)("span",{className:"ml-1 font-mono text-size-overline font-normal text-(--text-faint)",children:(0,t.jsx)(k.T,{children:"9:41 AM"})})]}),q[5]=l):l=q[5],q[6]===Symbol.for("react.memo_cache_sentinel")?(o=(0,t.jsxs)(eT,{className:"flex gap-3",children:[n,(0,t.jsxs)("div",{className:"min-w-0",children:[l,(0,t.jsx)("p",{className:"text-muted-foreground",children:(0,t.jsxs)(k.T,{children:[(0,t.jsx)("span",{className:"text-accent-foreground",children:"@ori"})," every Friday, pull together what shipped this week into a short update for the team"]})})]})]}),q[6]=o):o=q[6],q[7]===Symbol.for("react.memo_cache_sentinel")?(c=(0,t.jsx)("div",{className:"mt-0.5 flex size-7 shrink-0 items-center justify-center rounded-(--radius-md) border border-border",children:(0,t.jsx)(S.f,{width:14,height:10})}),q[7]=c):c=q[7],q[8]===Symbol.for("react.memo_cache_sentinel")?(d=(0,t.jsx)("span",{children:"ori"}),q[8]=d):d=q[8],q[9]===Symbol.for("react.memo_cache_sentinel")?(m=(0,t.jsx)("span",{className:"rounded-(--radius-sm) bg-foreground/10 px-1 py-px font-mono text-size-overline font-normal text-(--text-faint)",children:(0,t.jsx)(k.T,{children:"APP"})}),q[9]=m):m=q[9],q[10]===Symbol.for("react.memo_cache_sentinel")?(u=(0,t.jsxs)("div",{className:"font-medium",children:[d," ",m," ",(0,t.jsx)("span",{className:"ml-0.5 font-mono text-size-overline font-normal text-(--text-faint)",children:(0,t.jsx)(k.T,{children:"9:41 AM"})})]}),q[10]=u):u=q[10],q[11]===Symbol.for("react.memo_cache_sentinel")?(f=(0,t.jsx)("p",{className:"text-muted-foreground",children:(0,t.jsx)(k.T,{children:"Learned it. First run this Friday, 9:00. I'll post the draft here."})}),q[11]=f):f=q[11],q[12]!==F?(x=!F&&{opacity:0,scale:.92},q[12]=F,q[13]=x):x=q[13],q[14]===Symbol.for("react.memo_cache_sentinel")?(p={opacity:1,scale:1},g={once:!0,margin:"-80px"},q[14]=p,q[15]=g):(p=q[14],g=q[15]);let B=2.1*!F;q[16]!==B?(b={delay:B,type:"spring",stiffness:320,damping:22},q[16]=B,q[17]=b):b=q[17],q[18]===Symbol.for("react.memo_cache_sentinel")?(y=(0,t.jsx)(ew.f,{className:"size-3 text-(--positive-text)"}),v=(0,t.jsx)("span",{children:"skills/weekly-update.md"}),q[18]=y,q[19]=v):(y=q[18],v=q[19]),q[20]!==x||q[21]!==b?(j=(0,t.jsxs)(_.f.div,{initial:x,whileInView:p,viewport:g,transition:b,className:"mt-2.5 flex w-fit items-center gap-2 rounded-(--radius-md) border border-border/50 bg-background/80 px-2.5 py-1.5 font-mono text-size-overline text-muted-foreground",children:[y,v]}),q[20]=x,q[21]=b,q[22]=j):j=q[22],q[23]!==F?(w=!F&&{opacity:0,scale:.9},q[23]=F,q[24]=w):w=q[24],q[25]===Symbol.for("react.memo_cache_sentinel")?(N={opacity:1,scale:1},z={once:!0,margin:"-80px"},q[25]=N,q[26]=z):(N=q[25],z=q[26]);let V=2.6*!F;return q[27]!==V?(M={delay:V,type:"spring",stiffness:320,damping:22},q[27]=V,q[28]=M):M=q[28],q[29]===Symbol.for("react.memo_cache_sentinel")?(C=(0,t.jsx)(ek,{className:"size-3"}),T=(0,t.jsx)("span",{className:"font-mono",children:"2"}),q[29]=C,q[30]=T):(C=q[29],T=q[30]),q[31]!==w||q[32]!==M?(E=(0,t.jsxs)(_.f.div,{initial:w,whileInView:N,viewport:z,transition:M,className:"mt-2 flex w-fit items-center gap-1.5 rounded-(--radius-full) border border-(--accent-border) bg-(--accent-subtle) px-2 py-0.5 text-size-overline text-accent-foreground",children:[C,T]}),q[31]=w,q[32]=M,q[33]=E):E=q[33],q[34]!==j||q[35]!==E?(O=(0,t.jsxs)(eC,{step:.8,className:"flex flex-col gap-4 p-5 text-body",children:[o,(0,t.jsxs)(eT,{className:"flex gap-3",children:[c,(0,t.jsxs)("div",{className:"min-w-0",children:[u,f,j,E]})]})]}),q[34]=j,q[35]=E,q[36]=O):O=q[36],q[37]===Symbol.for("react.memo_cache_sentinel")?(L=(0,t.jsx)("span",{className:"mr-1 font-mono text-size-overline uppercase tracking-[0.12em] text-(--text-faint)",children:(0,t.jsx)(k.T,{children:"your interns"})}),q[37]=L):L=q[37],q[38]!==D?(A=eE.map(e=>(0,t.jsxs)("span",{className:"flex items-center gap-1.5 rounded-(--radius-full) border border-border/60 bg-background/60 px-2 py-0.5 font-mono text-size-overline text-muted-foreground",children:[e.name,(0,t.jsx)("span",{className:"text-(--text-faint)",children:(0,t.jsxs)(k.T,{children:["·"," ",(0,t.jsx)(ej.f,{n:e.skills,one:(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(ef.d,{children:D.number(e.skills,{preset:"integer"})})," skill"]}),other:(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(ef.d,{children:D.number(e.skills,{preset:"integer"})})," skills"]})})]})})]},e.name)),q[38]=D,q[39]=A):A=q[39],q[40]===Symbol.for("react.memo_cache_sentinel")?($=(0,t.jsx)("span",{className:"flex items-center rounded-(--radius-full) border border-dashed border-border/60 px-2 py-0.5 font-mono text-size-overline text-(--text-faint)",children:(0,t.jsx)(k.T,{children:"+ new intern"})}),q[40]=$):$=q[40],q[41]!==A?(R=(0,t.jsxs)("div",{className:"flex flex-wrap items-center gap-1.5 border-t border-border/50 px-5 py-3",children:[L,A,$]}),q[41]=A,q[42]=R):R=q[42],q[43]!==O||q[44]!==R?(I=(0,t.jsxs)(ed,{children:[s,O,R]}),q[43]=O,q[44]=R,q[45]=I):I=q[45],I},desktop:function(){let e,i,s,n=(0,r.c)(7),[a,l]=(0,z.j)(),[o,c]=(0,v.useState)(0);return n[0]===Symbol.for("react.memo_cache_sentinel")?(e=()=>c(ei),n[0]=e):e=n[0],n[1]!==l||n[2]!==o?(i=(0,t.jsx)(en,{entered:l,onReplay:e},o),n[1]=l,n[2]=o,n[3]=i):i=n[3],n[4]!==a||n[5]!==i?(s=(0,t.jsx)("div",{ref:a,children:i}),n[4]=a,n[5]=i,n[6]=s):s=n[6],s}};var eL=e.i(181870),eA=e.i(475615),e$=e.i(327820),eR=e.i(275574),eI=e.i(283616),eq=e.i(664143),eD=e.i(669375);function eF(e){let s,a,l,o,c,d,u,f,x,b,y,j,N,k,S,M,C,T,E,O,L,$,R,I,q=(0,r.c)(89),{index:D}=e,F=(0,p.f)(),B=(0,h.f)(),V=(0,v.useId)(),{stage:P,email:W,setEmail:H,touched:Q,setTouched:X,didAttemptSubmit:Y,submitEmail:K,submitFailure:J,openQuestions:G,answeredCount:U,canResumeQuestions:Z,step:ee}=(0,eq.h)();if(q[0]!==U||q[1]!==Y||q[2]!==W||q[3]!==V||q[4]!==D||q[5]!==F||q[6]!==B||q[7]!==H||q[8]!==X||q[9]!==P||q[10]!==K||q[11]!==J||q[12]!==Q){let e,r,h,p,v,S=(0,e$.J)({email:W,touched:Q,didAttemptSubmit:Y});o=(0,eR.f)({error:S,submitFailure:J}),l=U(eI.f),k="waitlist",q[27]===Symbol.for("react.memo_cache_sentinel")?(d=(0,i.f)("relative overflow-hidden border-t border-border/40 py-16 md:py-20",w),q[27]=d):d=q[27],j="relative flex max-w-2xl flex-col gap-10",q[28]!==F?(e=F(m.D.kicker),q[28]=F,q[29]=e):e=q[29],q[30]!==D||q[31]!==e?(r=(0,t.jsx)("div",{className:"flex min-h-9 items-center",children:(0,t.jsx)(z.U,{index:D,children:e})}),q[30]=D,q[31]=e,q[32]=r):r=q[32],q[33]!==F?(h=F(m.D.title),q[33]=F,q[34]=h):h=q[34],q[35]!==h?(p=(0,t.jsx)("h2",{className:"font-brand text-balance text-size-display font-bold leading-tight tracking-tight md:text-size-hero",children:h}),q[35]=h,q[36]=p):p=q[36],q[37]!==F||q[38]!==P?(v=P===eD.O.Email&&(0,t.jsx)("p",{className:"max-w-xl text-pretty text-size-prose leading-(--leading-prose) text-muted-foreground",children:F(m.D.body)}),q[37]=F,q[38]=P,q[39]=v):v=q[39],q[40]!==r||q[41]!==p||q[42]!==v?(N=(0,t.jsxs)(z.b,{className:"flex flex-col items-start gap-5",children:[r,p,v]}),q[40]=r,q[41]=p,q[42]=v,q[43]=N):N=q[43],a=z.b,y=.12,b="group relative bg-background",q[44]===Symbol.for("react.memo_cache_sentinel")?(f=(0,i.f)("relative border border-border/50 p-6 backdrop-blur-md md:p-8","bg-card/42",ec.q),x=(0,t.jsx)(z.h,{hover:!1}),q[44]=f,q[45]=x):(f=q[44],x=q[45]),s=A.f,c="wait",u=P===eD.O.Email&&(0,t.jsxs)(_.f.form,{initial:!B&&{opacity:0,y:8},animate:{opacity:1,y:0},exit:B?{opacity:0}:{opacity:0,y:-8},transition:{duration:.3},onSubmit:e=>{e.preventDefault(),K(eq.p.Section)},className:"flex flex-col gap-3",noValidate:!0,children:[(0,t.jsx)(eA.f,{htmlFor:V,className:"font-mono text-size-overline uppercase tracking-[0.14em]",children:F(m.D.emailLabel)}),(0,t.jsxs)("div",{className:"flex flex-col gap-2 sm:flex-row sm:items-center",children:[(0,t.jsx)(eL.f,{id:V,"data-dd-privacy":"hidden",type:"email",inputMode:"email",autoComplete:"email",value:W,onChange:e=>H(e.target.value),onBlur:()=>X(!0),placeholder:F(m.S.emailPlaceholder),"aria-invalid":o?.isValueError||void 0,"aria-describedby":o?`${V}-err`:void 0,className:(0,i.f)("ph-no-capture h-11 text-size-prose sm:flex-1",o&&"border-(--negative)")}),(0,t.jsxs)(n.Button,{type:"submit",size:"lg",className:"shrink-0 px-5 transition active:scale-98",children:[F(m.D.submit),(0,t.jsx)(g.f,{className:"size-4"})]})]}),(0,t.jsx)("p",{id:`${V}-err`,className:"text-size-overline text-(--negative-text) empty:hidden",children:o&&F(o.message)})]},"email"),q[0]=U,q[1]=Y,q[2]=W,q[3]=V,q[4]=D,q[5]=F,q[6]=B,q[7]=H,q[8]=X,q[9]=P,q[10]=K,q[11]=J,q[12]=Q,q[13]=s,q[14]=a,q[15]=l,q[16]=o,q[17]=c,q[18]=d,q[19]=u,q[20]=f,q[21]=x,q[22]=b,q[23]=y,q[24]=j,q[25]=N,q[26]=k}else s=q[13],a=q[14],l=q[15],o=q[16],c=q[17],d=q[18],u=q[19],f=q[20],x=q[21],b=q[22],y=q[23],j=q[24],N=q[25],k=q[26];return q[46]!==l||q[47]!==Z||q[48]!==F||q[49]!==G||q[50]!==B||q[51]!==P||q[52]!==ee?(S=P===eD.O.Questions&&(0,t.jsxs)(_.f.div,{initial:!B&&{opacity:0,y:8},animate:{opacity:1,y:0},exit:B?{opacity:0}:{opacity:0,y:-8},transition:{duration:.3},className:"flex flex-col items-start gap-4",children:[(0,t.jsxs)("span",{className:"inline-flex items-center gap-2 rounded-(--radius-full) border border-(--positive)/40 bg-(--positive-bg) px-3 py-1",children:[(0,t.jsx)(ew.f,{className:"size-3.5 text-(--positive-text)"}),(0,t.jsx)("span",{className:"font-mono text-size-overline uppercase tracking-[0.14em] text-(--positive-text)",children:F(m.D.thanksTitle)})]}),Z&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("p",{className:"max-w-xl text-pretty text-size-prose leading-(--leading-prose) text-muted-foreground",children:F(m.D.thanksBody)}),(0,t.jsxs)(n.Button,{type:"button",onClick:G,className:"h-auto min-h-10 transition active:scale-98",children:[F(ee>0||l>0?m.D.resumeDone:m.D.resume),(0,t.jsx)(g.f,{className:"size-4"})]})]})]},"captured"),q[46]=l,q[47]=Z,q[48]=F,q[49]=G,q[50]=B,q[51]=P,q[52]=ee,q[53]=S):S=q[53],q[54]!==F||q[55]!==B||q[56]!==P?(M=P===eD.O.Done&&(0,t.jsxs)(_.f.div,{initial:!B&&{opacity:0,y:8},animate:{opacity:1,y:0},transition:{duration:.3},className:"flex flex-col items-start gap-4 py-2 text-left",children:[(0,t.jsx)("span",{className:"flex size-10 items-center justify-center rounded-(--radius-full) bg-(--positive-bg)",children:(0,t.jsx)(ew.f,{className:"size-5 text-(--positive-text)"})}),(0,t.jsx)("h3",{className:"font-brand text-balance text-size-title font-bold leading-[1.15] tracking-tight",children:F(m.D.doneTitle)}),(0,t.jsx)("p",{className:"max-w-md text-pretty text-size-prose leading-(--leading-prose) text-muted-foreground",children:F(m.D.doneBody)})]},"done"),q[54]=F,q[55]=B,q[56]=P,q[57]=M):M=q[57],q[58]!==s||q[59]!==c||q[60]!==S||q[61]!==M||q[62]!==u?(C=(0,t.jsxs)(s,{mode:c,children:[u,S,M]}),q[58]=s,q[59]=c,q[60]=S,q[61]=M,q[62]=u,q[63]=C):C=q[63],q[64]!==C||q[65]!==f||q[66]!==x?(T=(0,t.jsxs)("div",{className:f,children:[x,C]}),q[64]=C,q[65]=f,q[66]=x,q[67]=T):T=q[67],q[68]!==T||q[69]!==b?(E=(0,t.jsx)("div",{className:b,children:T}),q[68]=T,q[69]=b,q[70]=E):E=q[70],q[71]!==o||q[72]!==F?(O=o&&F(o.message),q[71]=o,q[72]=F,q[73]=O):O=q[73],q[74]!==O?(L=(0,t.jsx)("p",{role:"alert",className:"sr-only",children:O}),q[74]=O,q[75]=L):L=q[75],q[76]!==a||q[77]!==E||q[78]!==L||q[79]!==y?($=(0,t.jsxs)(a,{delay:y,children:[E,L]}),q[76]=a,q[77]=E,q[78]=L,q[79]=y,q[80]=$):$=q[80],q[81]!==$||q[82]!==j||q[83]!==N?(R=(0,t.jsxs)("div",{className:j,children:[N,$]}),q[81]=$,q[82]=j,q[83]=N,q[84]=R):R=q[84],q[85]!==d||q[86]!==R||q[87]!==k?(I=(0,t.jsx)("section",{id:k,className:d,children:R}),q[85]=d,q[86]=R,q[87]=k,q[88]=I):I=q[88],I}let eB={live:(0,f.b)("Live"),waitlist:(0,f.b)("Waitlist")};function eV(e){let i,n,a=(0,r.c)(5),{status:l}=e,o=(0,p.f)(),c=eB[l];return a[0]!==o||a[1]!==c?(i=o(c),a[0]=o,a[1]=c,a[2]=i):i=a[2],a[3]!==i?(n=(0,t.jsx)(s.Badge,{variant:"muted",className:"bg-foreground/5",children:i}),a[3]=i,a[4]=n):n=a[4],n}function eP(e){let s,n,l,o,c,m,u,h=(0,r.c)(17),{value:f,className:p,product:g}=e,b=(0,x.f)(),y=(0,v.useRef)(null),j=(0,d.Q)();return h[0]!==b?(s=b("Copy"),h[0]=b,h[1]=s):s=h[1],h[2]!==j||h[3]!==g?(n=e=>{e.isTrusted&&j.capture("copy_ori_command",{product:g}),e.target instanceof Element&&e.target.closest("button")||y.current?.querySelector("button")?.click()},h[2]=j,h[3]=g,h[4]=n):n=h[4],h[5]!==p?(l=(0,i.f)("flex h-10 min-h-10 cursor-pointer items-center gap-2 rounded-(--radius-md) border border-input pl-4 pr-1 font-mono text-size-overline text-foreground transition-colors hover:border-foreground/20","bg-background/42 dark:bg-background/92",p),h[5]=p,h[6]=l):l=h[6],h[7]===Symbol.for("react.memo_cache_sentinel")?(o=(0,t.jsx)("span",{className:"text-accent-foreground",children:"$"}),h[7]=o):o=h[7],h[8]!==f?(c=(0,t.jsx)("span",{className:"min-w-0 flex-1 overflow-x-auto whitespace-nowrap scrollbar-hide",children:f}),m=(0,t.jsx)(a.f,{text:f,hideCopyText:!0,variant:"ghost",size:"sm",className:"ml-auto shrink-0"}),h[8]=f,h[9]=c,h[10]=m):(c=h[9],m=h[10]),h[11]!==s||h[12]!==n||h[13]!==l||h[14]!==c||h[15]!==m?(u=(0,t.jsxs)("div",{ref:y,title:s,onClick:n,className:l,children:[o,c,m]}),h[11]=s,h[12]=n,h[13]=l,h[14]=c,h[15]=m,h[16]=u):u=h[16],u}function eW(e){let i,s,a,l=(0,r.c)(17),{product:o}=e,d=(0,p.f)(),{cta:m}=o,u=(0,c.R)("oriCode"),h=!m.isLandingGated||u;if("docs"===m.kind){let e,r,i;return l[0]!==m.command||l[1]!==o.id?(e=m.command&&(0,t.jsx)(eP,{value:m.command,product:o.id,className:"w-full min-w-0 sm:w-auto sm:flex-1"}),l[0]=m.command,l[1]=o.id,l[2]=e):e=l[2],l[3]!==h||l[4]!==m.href||l[5]!==m.label||l[6]!==d?(r=m.href&&h&&(0,t.jsx)(n.Button,{variant:"outline",className:"ml-0 sm:ml-auto",render:(0,t.jsxs)(j.Link,{href:m.href,children:[d(m.label)," ",(0,t.jsx)(g.f,{})]})}),l[3]=h,l[4]=m.href,l[5]=m.label,l[6]=d,l[7]=r):r=l[7],l[8]!==e||l[9]!==r?(i=(0,t.jsxs)("div",{className:"flex w-full flex-wrap items-center gap-3",children:[e,r]}),l[8]=e,l[9]=r,l[10]=i):i=l[10],i}return l[11]!==m.label||l[12]!==d?(i=d(m.label),l[11]=m.label,l[12]=d,l[13]=i):i=l[13],l[14]===Symbol.for("react.memo_cache_sentinel")?(s=(0,t.jsx)(g.f,{}),l[14]=s):s=l[14],l[15]!==i?(a=(0,t.jsx)(n.Button,{render:(0,t.jsxs)(j.Link,{href:"#waitlist",children:[i," ",s]})}),l[15]=i,l[16]=a):a=l[16],a}function eH(e){let i,s,n=(0,r.c)(4),{body:a}=e;if(n[0]!==a){let e;i=(e=0,a.split("`").flatMap((t,r)=>{let i=String(e);return e+=t.length+1,""===t?[]:[{id:i,text:t,isCode:r%2==1}]})).map(eQ),n[0]=a,n[1]=i}else i=n[1];return n[2]!==i?(s=(0,t.jsx)("p",{className:"max-w-xl text-pretty text-size-prose leading-(--leading-prose) text-muted-foreground",children:i}),n[2]=i,n[3]=s):s=n[3],s}function eQ(e){return e.isCode?(0,t.jsx)(o.f,{className:"text-[0.9em]",children:e.text},e.id):e.text}function eX(e){let s,n,a,l=(0,r.c)(11),{href:o,icon:c,label:d,active:m,onNavigate:u}=e,h=m?"true":void 0,f=m?"bg-accent text-accent-foreground":"text-muted-foreground hover:bg-(--card-hover) hover:text-accent-foreground";return l[0]!==f?(s=(0,i.f)("flex min-h-9 cursor-pointer items-center gap-2.5 rounded-(--radius-md) px-2 py-1.5 text-body font-medium transition-colors",f),l[0]=f,l[1]=s):s=l[1],l[2]!==c?(n=(0,t.jsx)(c,{className:"size-4 shrink-0"}),l[2]=c,l[3]=n):n=l[3],l[4]!==o||l[5]!==d||l[6]!==u||l[7]!==h||l[8]!==s||l[9]!==n?(a=(0,t.jsxs)("a",{href:o,onClick:u,"aria-current":h,className:s,children:[n,d]}),l[4]=o,l[5]=d,l[6]=u,l[7]=h,l[8]=s,l[9]=n,l[10]=a):a=l[10],a}function eY(e){let s,n,a,o,c,h,f,p,g,j,w,_,k,S,z,M,C,T,E,O,L=(0,r.c)(48),{active:A}=e,$=(0,x.f)(),R=(0,d.Q)(),[I,q]=(0,v.useState)(!1),[D,F]=(0,v.useState)(!1),B=(0,v.useRef)(null);if(L[0]===Symbol.for("react.memo_cache_sentinel")?(s=()=>{let e=B.current;if(!e)return;let t=new IntersectionObserver(e=>{let[t]=e;if(!t)return void q(!1);let r=t.rootBounds?.top??0;q(!t.isIntersecting&&t.boundingClientRect.topt.disconnect()},n=[],L[0]=s,L[1]=n):(s=L[0],n=L[1]),(0,v.useEffect)(s,n),L[2]!==A||L[3]!==$||L[4]!==D||L[5]!==I||L[6]!==R){g=Symbol.for("react.early_return_sentinel");e:{let e,r,s=[...m.z.map(e=>({id:e.id,label:N(e.name),icon:u.f[e.id]??y.f})),{id:"waitlist",label:$("Waitlist"),icon:y.f}],[n]=s,d=s.find(e=>e.id===A)??n;if(!d){g=null;break e}let x=d.icon;L[21]===Symbol.for("react.memo_cache_sentinel")?(p=(0,t.jsx)("div",{ref:B,"aria-hidden":!0,className:"md:hidden"}),L[21]=p):p=L[21];let v=I?"translate-y-0 opacity-100 duration-fast":"pointer-events-none -translate-y-(--distance-micro) opacity-0 duration-quick motion-reduce:translate-y-0";L[22]!==v?(h=(0,i.f)("fixed inset-x-0 z-30 overflow-hidden border-b border-border/40 bg-background/88 backdrop-blur-md md:hidden","transition-[opacity,translate] ease-smooth-out motion-reduce:transition-opacity","top-[calc(var(--navbar-height)+var(--sticky-banner-top,0px))]",v),L[22]=v,L[23]=h):h=L[23],f=!I,o=l.G,S=D,z=F,M=!1,L[24]===Symbol.for("react.memo_cache_sentinel")?(e=(0,t.jsx)(b.f,{className:"size-3.5 text-muted-foreground"}),L[24]=e):e=L[24],c=(0,t.jsx)(l.X,{render:(0,t.jsxs)("button",{type:"button",className:"flex h-12 w-full cursor-pointer items-center gap-2 px-6 text-body font-medium outline-none",children:[(0,t.jsx)(x,{className:"size-4 text-muted-foreground"}),d.label,e]})}),a=l.L,j="start",w=4,_="w-56 p-1.5",L[25]!==A||L[26]!==R?(r=e=>{let r=e.icon;return(0,t.jsx)(l.r,{render:(0,t.jsxs)("a",{href:`#${e.id}`,onClick:()=>{R.capture("click_ori_section_link",{section:e.id,source:"mobile_rail"}),F(!1)},className:(0,i.f)("group min-h-9 gap-2.5",A===e.id&&"bg-accent text-accent-foreground"),children:[(0,t.jsx)(r,{className:(0,i.f)("transition-colors group-data-[highlighted]:text-accent-foreground",A===e.id?"text-accent-foreground":"text-muted-foreground")}),e.label]})},e.id)},L[25]=A,L[26]=R,L[27]=r):r=L[27],k=s.map(r)}L[2]=A,L[3]=$,L[4]=D,L[5]=I,L[6]=R,L[7]=a,L[8]=o,L[9]=c,L[10]=h,L[11]=f,L[12]=p,L[13]=g,L[14]=j,L[15]=w,L[16]=_,L[17]=k,L[18]=S,L[19]=z,L[20]=M}else a=L[7],o=L[8],c=L[9],h=L[10],f=L[11],p=L[12],g=L[13],j=L[14],w=L[15],_=L[16],k=L[17],S=L[18],z=L[19],M=L[20];return g!==Symbol.for("react.early_return_sentinel")?g:(L[28]!==a||L[29]!==j||L[30]!==w||L[31]!==_||L[32]!==k?(C=(0,t.jsx)(a,{align:j,sideOffset:w,className:_,children:k}),L[28]=a,L[29]=j,L[30]=w,L[31]=_,L[32]=k,L[33]=C):C=L[33],L[34]!==o||L[35]!==c||L[36]!==C||L[37]!==S||L[38]!==z||L[39]!==M?(T=(0,t.jsxs)(o,{open:S,onOpenChange:z,modal:M,children:[c,C]}),L[34]=o,L[35]=c,L[36]=C,L[37]=S,L[38]=z,L[39]=M,L[40]=T):T=L[40],L[41]!==h||L[42]!==f||L[43]!==T?(E=(0,t.jsx)("div",{className:h,"aria-hidden":f,children:T}),L[41]=h,L[42]=f,L[43]=T,L[44]=E):E=L[44],L[45]!==p||L[46]!==E?(O=(0,t.jsxs)(t.Fragment,{children:[p,E]}),L[45]=p,L[46]=E,L[47]=O):O=L[47],O)}function eK(e){let s,n,a,l,o,c,d,m,u,h,f,x,g,b=(0,r.c)(38),{product:y,index:v}=e,j=(0,p.f)(),N=eO[y.id],_=y.id,k=0===v&&"max-md:pt-6",S=v>0&&"border-t border-border/40";return b[0]!==k||b[1]!==S?(s=(0,i.f)(w,"py-16 md:py-20",k,S),b[0]=k,b[1]=S,b[2]=s):s=b[2],b[3]!==j||b[4]!==y.family?(n=y.family&&j(y.family),b[3]=j,b[4]=y.family,b[5]=n):n=b[5],b[6]!==y.name||b[7]!==n?(a=(0,t.jsx)(z.U,{tag:n,children:y.name}),b[6]=y.name,b[7]=n,b[8]=a):a=b[8],b[9]!==y.status?(l="live"!==y.status&&(0,t.jsx)(eV,{status:y.status}),b[9]=y.status,b[10]=l):l=b[10],b[11]!==a||b[12]!==l?(o=(0,t.jsxs)("div",{className:"flex min-h-9 flex-wrap items-center gap-3",children:[a,l]}),b[11]=a,b[12]=l,b[13]=o):o=b[13],b[14]!==j||b[15]!==y.title?(c=j(y.title),b[14]=j,b[15]=y.title,b[16]=c):c=b[16],b[17]!==c?(d=(0,t.jsx)("h2",{className:"font-brand text-balance text-size-display font-bold leading-tight tracking-tight md:text-size-hero",children:c}),b[17]=c,b[18]=d):d=b[18],b[19]!==j||b[20]!==y.body?(m=j(y.body),b[19]=j,b[20]=y.body,b[21]=m):m=b[21],b[22]!==m?(u=(0,t.jsx)(eH,{body:m}),b[22]=m,b[23]=u):u=b[23],b[24]!==y?(h=(0,t.jsx)("div",{className:"mt-1 w-full",children:(0,t.jsx)(eW,{product:y})}),b[24]=y,b[25]=h):h=b[25],b[26]!==d||b[27]!==u||b[28]!==h||b[29]!==o?(f=(0,t.jsx)(z.b,{children:(0,t.jsxs)("div",{className:"flex flex-col items-start gap-5",children:[o,d,u,h]})}),b[26]=d,b[27]=u,b[28]=h,b[29]=o,b[30]=f):f=b[30],b[31]!==N?(x=N&&(0,t.jsx)(z.b,{delay:.1,className:"mt-10",children:(0,t.jsx)(N,{})}),b[31]=N,b[32]=x):x=b[32],b[33]!==y.id||b[34]!==f||b[35]!==x||b[36]!==s?(g=(0,t.jsxs)("section",{id:_,className:s,children:[f,x]}),b[33]=y.id,b[34]=f,b[35]=x,b[36]=s,b[37]=g):g=b[37],g}let eJ=[...m.z.map(e=>e.id),"waitlist"];function eG(e,r){return(0,t.jsx)(eK,{product:e,index:r},e.id)}e.s(["FamilySpine",0,function(){var e;let s,n,a,l,o,c,f,p,g,b,j,w,_,k,S=(0,r.c)(25),z=(0,x.f)(),M=function(e){let t,i,s=(0,r.c)(3),[n,a]=(0,v.useState)(null);return s[0]!==e?(t=()=>{let t=new IntersectionObserver(e=>{for(let t of e)t.isIntersecting&&a(t.target.id)},{rootMargin:"-35% 0px -60% 0px"});for(let r of e){let e=document.querySelector(`#${CSS.escape(r)}`);e&&t.observe(e)}return()=>t.disconnect()},i=[e],s[0]=e,s[1]=t,s[2]=i):(t=s[1],i=s[2]),(0,v.useEffect)(t,i),n}(eJ),C=(0,h.f)(),T=(0,d.Q)();e=!!C,(k=(0,r.c)(3))[0]!==e?(w=()=>{if(e)return;let t=0,r=()=>cancelAnimationFrame(t),i=e=>{var i;if(e.defaultPrevented||0!==e.button||e.metaKey||e.ctrlKey||!(e.target instanceof Element))return;let s=e.target.closest('a[href^="#"]');if(!(s instanceof HTMLAnchorElement))return;let n=s.hash.slice(1);if(!n)return;let a=document.querySelector(`#${CSS.escape(n)}`);if(!a)return;e.preventDefault();let l=(i=a,Math.max(0,window.scrollY+i.getBoundingClientRect().top-(Number.parseFloat(getComputedStyle(i).scrollMarginTop)||0))),o=Math.min(2600,Math.max(650,30*Math.sqrt(Math.abs(l-window.scrollY))));((e,i)=>{let s=window.scrollY,n=e-s;if(2>Math.abs(n))return;r();let a=performance.now(),l=e=>{let r=Math.min(1,(e-a)/i);window.scrollTo(0,s+r*r*r*(r*(6*r-15)+10)*n),r<1&&(t=requestAnimationFrame(l))};t=requestAnimationFrame(l)})(l,o)};return document.addEventListener("click",i,!0),window.addEventListener("wheel",r,{passive:!0}),window.addEventListener("touchstart",r,{passive:!0}),window.addEventListener("keydown",r),()=>{r(),document.removeEventListener("click",i,!0),window.removeEventListener("wheel",r),window.removeEventListener("touchstart",r),window.removeEventListener("keydown",r)}},_=[e],k[0]=e,k[1]=w,k[2]=_):(w=k[1],_=k[2]),(0,v.useEffect)(w,_),S[0]!==T?(s=e=>{T.capture("click_ori_section_link",{section:e,source:"rail"})},S[0]=T,S[1]=s):s=S[1];let E=s;S[2]!==M?(n=(0,t.jsx)(eY,{active:M}),S[2]=M,S[3]=n):n=S[3],S[4]===Symbol.for("react.memo_cache_sentinel")?(a=(0,i.f)("sticky flex flex-col gap-px py-2","top-[calc(var(--navbar-height)+16px+var(--sticky-banner-top,0px))]"),S[4]=a):a=S[4],S[5]!==M||S[6]!==E?(l=m.z.map(e=>(0,t.jsx)(eX,{href:`#${e.id}`,icon:u.f[e.id]??y.f,label:N(e.name),active:M===e.id,onNavigate:()=>E(e.id)},e.id)),S[5]=M,S[6]=E,S[7]=l):l=S[7],S[8]!==z?(o=z("Waitlist"),S[8]=z,S[9]=o):o=S[9];let O="waitlist"===M;return S[10]!==E?(c=()=>E("waitlist"),S[10]=E,S[11]=c):c=S[11],S[12]!==o||S[13]!==O||S[14]!==c?(f=(0,t.jsx)(eX,{href:"#waitlist",icon:y.f,label:o,active:O,onNavigate:c}),S[12]=o,S[13]=O,S[14]=c,S[15]=f):f=S[15],S[16]!==l||S[17]!==f?(p=(0,t.jsx)("div",{className:"hidden md:block md:pt-18",children:(0,t.jsxs)("div",{className:a,children:[l,f]})}),S[16]=l,S[17]=f,S[18]=p):p=S[18],S[19]===Symbol.for("react.memo_cache_sentinel")?(g=(0,t.jsxs)("div",{className:"min-w-0",children:[m.z.map(eG),(0,t.jsx)(eF,{})]}),S[19]=g):g=S[19],S[20]!==p?(b=(0,t.jsxs)("div",{className:"grid md:grid-cols-[210px_minmax(0,1fr)] md:gap-16",children:[p,g]}),S[20]=p,S[21]=b):b=S[21],S[22]!==n||S[23]!==b?(j=(0,t.jsxs)("div",{className:"mx-auto max-w-6xl px-6",children:[n,b]}),S[22]=n,S[23]=b,S[24]=j):j=S[24],j}],232988)},327820,275574,e=>{"use strict";var t=e.i(805760);let r={Empty:"empty",Malformed:"malformed"};e.s(["d",0,r,"J",0,function({email:e,touched:i,didAttemptSubmit:s}){return 0===e.trim().length?s?r.Empty:void 0:i&&!(0,t.f)(e)?r.Malformed:void 0}],327820);var i=e.i(360518),s=e.i(161256);e.s(["f",0,function({error:e,submitFailure:t}){if(void 0!==e)switch(e){case r.Empty:return{message:i.S.emptyEmail,isValueError:!0};case r.Malformed:return{message:i.S.invalidEmail,isValueError:!0};default:return e}if(null!==t)switch(t){case s.p.RejectedEmail:return{message:i.S.invalidEmail,isValueError:!0};case s.p.RateLimited:return{message:i.S.rateLimited,isValueError:!1};case s.p.SaveFailed:return{message:i.S.submitFailed,isValueError:!1};default:return t}}],275574)}]); //# sourceMappingURL=2na649_4mp82a.js.map