1try{let e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`2e1bca2e-a045-4c56-abb2-d84462fc2406`,e._sentryDebugIdIdentifier=`sentry-dbid-2e1bca2e-a045-4c56-abb2-d84462fc2406`)}catch{}import{n as e}from"./rolldown-runtime-Bp8VDLHR.js";import{A as t,C as n,D as r,Dt as i,H as a,L as o,O as s,U as c,W as l,_ as u,g as d,h as f,i as ee,j as te,l as ne,m as re,p as ie,r as ae,u as oe,v as p,w as se,xt as m}from"./framework-CCO06ha0.js";import{n as h,t as g}from"./utils-O42abhak.js";import{n as ce,r as le}from"./AuthContext-CoV3VpAd.js";import{S as ue,a as de,c as fe,d as pe,f as me,g as he,h as ge,l as _e,o as ve,s as ye,u as be,x as xe}from"./icons-CAgjnnrC.js";import{c as Se,m as Ce,p as we,s as Te}from"./icons-okeb7zpy.js";import{C as Ee,d as De,f as Oe,w as ke}from"./icons-tf3d9XuI.js";import{b as _,c as Ae,n as je,s as Me,t as Ne,y as v}from"./icons-auOUdfIP.js";import{g as Pe,h as Fe,i as Ie,r as Le}from"./icons-DBM8T1Wf.js";import{n as Re,t as ze}from"./icons-u3PQ1F_i.js";import{n as Be,t as Ve}from"./icons-BYjPVGw4.js";import{n as y,t as b}from"./Icon-DqR4El4x.js";import{i as He,o as Ue,r as We}from"./publicRoutes-GX4ZUSTX.js";import{c as Ge,i as Ke,l as qe,m as Je,n as Ye,p as Xe,r as Ze,s as Qe,t as $e,u as et}from"./TooltipPopup-CdF27i1W.js";import{c as tt,n as nt}from"./mcpClients-Du2tZIeG.js";import{At as rt,Dt as it,Ot as at,Ut as ot,Wt as st,an as ct,cn as lt,i as ut,kt as dt,ln as ft,on as pt,r as mt,sn as ht}from"./path0-C0DfSRGS.js";import{i as gt,n as _t,r as vt,t as yt}from"./Footer-DOblG-UB.js";import{a as bt,l as xt,m as St}from"./data-DOvflpk5.js";import{n as Ct,t as wt}from"./TooltipArrow-CnbGpQpY.js";import{n as Tt,t as Et}from"./TooltipProvider-BiFJAtAI.js";import{n as Dt,t as Ot}from"./useStillMotion-CK_54-Dg.js";import{n as x,r as kt,t as S}from"./track-DB4OBJeC.js";import{a as At,c as jt,i as Mt,l as Nt,n as Pt,o as Ft,r as It,s as
1Lt,t as Rt,u as zt}from"./AccordionPanel-FtRqlV_B.js";import{n as Bt,t as Vt}from"./Seo-LHFu8bIi.js";import{i as C,n as w,o as Ht,r as Ut,t as Wt}from"./motion-Du0lr1l8.js";import{a as Gt,c as Kt,n as qt,o as Jt,r as Yt,s as Xt}from"./SupportedPlatforms-DOoJmyKX.js";import{n as Zt,t as Qt}from"./AskAiBand-Ji_M7ed_.js";import{n as $t,t as en}from"./VideoShowcase-CckbFw38.js";import{n as tn,t as nn}from"./ReviewsSection-FByTtYBa.js";import{a as rn,i as an}from"./schema-CY4SLZuB.js";import{c as on,r as sn,s as cn,t as ln}from"./jsonLd-PAbd11FR.js";import{n as un,t as dn}from"./ClientLogo-BV4wFLTv.js";import{n as fn,t as pn}from"./HeroStats--1H0SY8Z.js";import{c as mn,n as hn,s as gn,t as _n}from"./BioPreview-C-DTDDn8.js";import{n as vn,t as yn}from"./PricingSection-Evx1V3Oi.js";function bn(){try{for(let e=0;e<localStorage.length;e++){let t=localStorage.key(e);if(t&&xn.test(t))return!0}}catch{}return!1}var xn;function Sn(){return(Sn=e((()=>{xn=/^sb-[a-z0-9-]+-auth-token$/})))()}function Cn(e){if(typeof Intl<`u`&&`Segmenter`in Intl){let t=new Intl.Segmenter(void 0,{granularity:`grapheme`});return Array.from(t.segment(e),e=>e.segment)}return Array.from(e)}function wn(e,t=35){return Math.ceil(Cn(e).length/t*1e3)}function Tn(e,{cps:t=35,active:n}){let r=(0,En.useMemo)(()=>Cn(e),[e]),[i,a]=(0,En.useState)(n?0:r.length),o=(0,En.useRef)();return(0,En.useEffect)(()=>{if(!n){a(r.length);return}a(0);let e=performance.now(),i=n=>{let s=Math.min(r.length,Math.floor((n-e)/1e3*t));a(s),s<r.length&&(o.current=requestAnimationFrame(i))};return o.current=requestAnimationFrame(i),()=>{o.current&&cancelAnimationFrame(o.current)}},[n,r,t]),{shown:r.slice(0,i).join(``),done:i>=r.length}}var En;function Dn(){return(Dn=e((()=>{En=i()})))()}var On,kn,An,jn,Mn,T,Nn,Pn,Fn;function In(){return(In=e((()=>{tt(),St(),On={agentic:[`chat`,`compose`,`caption`,`handoff`,`publish`],manual:[`composer`,`schedule`,`publish`]},kn={video:`/mock/reel-posteahora.mp4`,poster:`/mock/reel-posteahora.jpg`},An={handle:`posteahora`,avatar:bt.posteahora},jn={handle:`mulu.app`,avatar:bt.mulu},Mn={day:`Tue`,date:`18`,time:`09:00`},T=(e,t,n,r)=>({id:e,name:t,icon:`/social/${e}.svg`,views:n,likes:r}),Nn=[{id:`claude`,agentId:`claude-code`,chrome:{placeholder:`How can I help you today?`,chip:`Claude Opus 5`,attachment:{name:`raw-clip.mp4`,poster:kn.poster}},media:{kind:`reel`,...kn},account:An,platforms:[T(`instagram`,`Instagram`,184300,12400),T(`tiktok`,`TikTok`,642800,48900),T(`linkedin`,`LinkedIn`,96500,5820),T(`threads`,`Threads`,128700,9340)]},{id:`chatgpt`,agentId:`chatgpt`,chrome:{placeholder:`Ask anything`,chip:`Tools`},media:{kind:`carousel`,slides:[`/mock/carousel-journaling-1.jpg`,`/mock/carousel-journaling-2.jpg`,`/mock/carousel-journaling-3.jpg`,`/mock/carousel-journaling-4.jpg`]},account:jn,platforms:[T(`instagram`,`Instagram`,213600,15800),T(`facebook`,`Facebook`,87400,6120),T(`x`,`X`,341900,22500),T(`youtube`,`YouTube`,528400,37600)]},{id:`openclaw`,agentId:`openclaw`,chrome:{placeholder:`What are we shipping today?`,chip:`higgsfield · posteahora`,mono:!0},media:{kind:`carousel`,slides:[`/mock/carousel-scroll-1.jpg`,`/mock/carousel-scroll-2.jpg`,`/mock/carousel-scroll-3.jpg`,`/mock/carousel-scroll-4.jpg`]},generator:{name:`Higgsfield`,logo:`/logos/higgsfield.png`},account:jn,platforms:[T(`instagram`,`Instagram`,176200,11900),T(`bluesky`,`Bluesky`,64800,4310),T(`mastodon`,`Mastodon`,58300,3640),T(`telegram`,`Telegram`,149500,8760)]}],Pn=e=>nt.find(t=>t.id===e.agentId),Fn=(e,t)=>`landing.hero.agentic.flow.scenarios.${e.id}.${t}`})))()}var E,Ln,Rn,zn,Bn,Vn;function Hn(){return(Hn=e((()=>{u(),r(),ue(),Pe(),Se(),ve(),Ie(),Ae(),y(),un(),h(),Dn(),In(),E=m(),Ln={hidden:{opacity:0,y:24,scale:.96,filter:`blur(8px)`},show:{opacity:1,y:0,scale:1,filter:`blur(0px)`,transition:{duration:.55,ease:[.22,1,.36,1]}},exit:{opacity:0,y:-18,scale:.82,filter:`blur(10px)`,transition:{duration:.45,ease:[.55,0,.45,1]}}},Rn={hidden:{scale:.9},show:{scale:1},exit:{scale:[1,.82,1.08,1],transition:{duration:.4,times:[0,.3,.65,1]}}},zn=()=>(0,E.jsx)(`span`,{className:`flex items-end gap-[2px]`,"aria-hidden":!0,
1children:[6,10,7].map((e,t)=>(0,E.jsx)(p.span,{className:`w-[2px] rounded-full bg-current`,style:{height:e},animate:{scaleY:[1,.5,1]},transition:{duration:.9,repeat:1/0,delay:t*.12,ease:`easeInOut`}},t))}),Bn=({children:e,mono:t})=>(0,E.jsx)(`span`,{className:g(`inline-flex items-center gap-1.5 rounded-full border border-border/70 bg-muted/40 px-2.5 py-1 text-[11px] font-semibold text-muted-foreground`,t&&`font-mono lowercase tracking-tight`),children:e}),Vn=({scenario:e,prompt:t,typing:n})=>{let{t:r}=s(),i=Pn(e),{mono:a,placeholder:o,chip:c}=e.chrome,{shown:l,done:u}=Tn(t,{active:n,cps:42}),d=l.length===0;return(0,E.jsxs)(p.div,{variants:Ln,initial:`hidden`,animate:`show`,exit:`exit`,className:`w-[min(720px,100%)] text-left`,style:{willChange:`transform, filter, opacity`},children:[(0,E.jsxs)(`div`,{className:`mb-3 flex items-center justify-center gap-2.5`,children:[(0,E.jsx)(dn,{src:i.logo,name:i.name,color:i.color,className:`h-6 w-6 rounded-md`}),(0,E.jsx)(`span`,{className:`text-sm font-semibold text-foreground`,children:i.name}),(0,E.jsxs)(`span`,{className:`inline-flex items-center gap-1.5 rounded-full border border-border bg-card/70 px-2.5 py-1 text-[11px] font-semibold text-muted-foreground backdrop-blur-sm`,children:[(0,E.jsxs)(`span`,{className:`relative flex h-1.5 w-1.5`,children:[(0,E.jsx)(`span`,{className:`absolute inline-flex h-full w-full animate-ping rounded-full bg-emerald-500 opacity-75`}),(0,E.jsx)(`span`,{className:`relative inline-flex h-1.5 w-1.5 rounded-full bg-emerald-500`})]}),`PosteAhora MCP`]})]}),(0,E.jsxs)(`div`,{className:g(`rounded-[26px] border border-border bg-card/95 p-2 backdrop-blur-xl`,`shadow-[0_2px_4px_-2px_hsl(var(--foreground)/0.08),0_24px_48px_-24px_hsl(var(--foreground)/0.25)]`),style:{boxShadow:`0 30px 70px -40px ${i.color}80, 0 1px 0 0 hsl(var(--foreground)/0.04) inset`},children:[(0,E.jsx)(`div`,{className:`rounded-[20px] px-4 pt-4`,children:(0,E.jsxs)(`p`,{className:g(`min-h-[3.25rem] text-[15px] leading-relaxed sm:text-base`,a&&`font-mono text-[13px] sm:text-[14px]`,d?`text-muted-foreground/70`:`text-foreground`),children:[d?o:l,n&&!u&&(0,E.jsx)(p.span,{className:`ml-0.5 inline-block h-[1.05em] w-[2px] translate-y-[3px] rounded-full`,style:{backgroundColor:i.color},animate:{opacity:[1,0,1]},transition:{duration:.9,repeat:1/0,ease:`linear`}})]})}),e.chrome.attachment&&(0,E.jsx)(`div`,{className:`px-3 pt-2`,children:(0,E.jsxs)(`span`,{className:`inline-flex items-center gap-2 rounded-xl border border-border bg-muted/50 py-1 pl-1 pr-2.5`,children:[(0,E.jsxs)(`span`,{className:`relative h-8 w-8 shrink-0 overflow-hidden rounded-lg`,children:[(0,E.jsx)(`img`,{src:e.chrome.attachment.poster,alt:``,"aria-hidden":!0,loading:`lazy`,className:`h-full w-full object-cover`}),(0,E.jsx)(`span`,{className:`absolute inset-0 flex items-center justify-center bg-black/40`,children:(0,E.jsx)(b,{icon:de,className:`h-3 w-3 text-white`})})]}),(0,E.jsx)(`span`,{className:`font-mono text-[11px] text-muted-foreground`,children:e.chrome.attachment.name})]})}),(0,E.jsxs)(`div`,{className:`flex items-center justify-between gap-3 px-3 pb-2 pt-3`,children:[(0,E.jsx)(`div`,{className:`flex items-center gap-2`,children:a?(0,E.jsx)(Bn,{mono:!0,children:c}):(0,E.jsxs)(E.Fragment,{children:[(0,E.jsx)(`span`,{className:`flex h-7 w-7 items-center justify-center rounded-full border border-border/70 text-muted-foreground`,children:(0,E.jsx)(b,{icon:xe,className:`h-3.5 w-3.5`,strokeWidth:2.5})}),(0,E.jsxs)(Bn,{children:[(0,E.jsx)(b,{icon:e.id===`claude`?Me:Le,className:`h-3 w-3`}),c]})]})}),(0,E.jsxs)(`div`,{className:`flex items-center gap-2 text-muted-foreground`,children:[(0,E.jsx)(b,{icon:Te,className:`h-4 w-4`}),(0,E.jsx)(p.span,{variants:Rn,className:g(`flex h-9 w-9 items-center justify-center rounded-full text-white`,e.id===`chatgpt`&&`bg-foreground text-background`),style:e.id===`chatgpt`?void 0:{backgroundColor:i.color,boxShadow:`0 8px 20px -8px ${i.color}`},children:e.id===`chatgpt`?(0,E.jsx)(zn,{}):(0,E.jsx)(b,{icon:Fe,className:`h-4 w-4`,strokeWidth:2.5})})]})]})]}),(0,E.jsx)(`p`,{className:`mt-3 text-center text-xs text-muted-foreground`,children:r(`landing.hero.agentic.flow.chatHint`)})]})}})))()}function Un(e){let t=Xn();return t&&t!==e&&Number.isFinite(t.currentTime)&&(e.currentTime=t.currentTime),qn.add(e),Jn||(Jn=setInterval(Zn,1e3)),()=>{qn.delete(e),qn.size===0&&Jn&&(clearInterval(Jn),Jn=void 0)}}function Wn(e){let t=Qn.get(e);return t||(t=$n().then(()=>fetch(e)).then(e=>e.ok?e.blob():Promise.reject(Error(String(e.status)))).then(e=>URL.createObjectURL(e)).catch(()=>e),Qn.set(e,t)),t}var Gn,Kn,qn,Jn,Yn,Xn,Zn,Qn,$n,er,tr;function nr(){return(nr=e((()=>{Gn=i(),h(),pt(),Kn=m(),qn=new Set,Yn=.15,Xn=()=>qn.values().next().value,Zn=()=>{let e=Xn();
1!e||!Number.isFinite(e.currentTime)||qn.forEach(t=>{t===e||t.readyState<1||Math.abs(t.currentTime-e.currentTime)>Yn&&(t.currentTime=e.currentTime)})},Qn=new Map,$n=()=>new Promise(e=>{document.readyState===`complete`?e():window.addEventListener(`load`,()=>e(),{once:!0})}),er=()=>{var e;return typeof navigator<`u`&&((e=navigator.connection)==null?void 0:e.saveData)===!0},tr=({src:e,poster:t,className:n})=>{let r=(0,Gn.useRef)(null),[i,a]=(0,Gn.useState)();return(0,Gn.useEffect)(()=>{if(ht()||er())return;let t=!0;return Wn(e).then(e=>t&&a(e)),()=>{t=!1}},[e]),(0,Gn.useEffect)(()=>{let e=r.current;if(!e||!i)return;let t=Un(e),n=()=>void e.play().catch(()=>void 0);return n(),e.addEventListener(`loadedmetadata`,n),()=>{e.removeEventListener(`loadedmetadata`,n),t()}},[i]),(0,Kn.jsx)(`video`,{ref:r,src:i,poster:t,muted:!0,loop:!0,playsInline:!0,autoPlay:!0,preload:`none`,"aria-hidden":!0,tabIndex:-1,className:g(`h-full w-full object-cover`,n)})}})))()}var rr,D,ir,ar,or,sr,cr,lr,ur;function dr(){return(dr=e((()=>{rr=i(),u(),r(),h(),Dn(),In(),nr(),D=m(),ir=.55,ar={hidden:{opacity:0,scale:.96},show:{opacity:1,scale:1,transition:{duration:.45,ease:[.22,1,.36,1]}},exit:{opacity:0,scale:.18,filter:`blur(6px)`,transition:{duration:.55,ease:[.55,0,.45,1]}}},or=[-5,3.5,-3,5.5],sr=[``,`-ml-8 sm:-ml-9`,`-mt-8 sm:-mt-9`,`-ml-8 sm:-ml-9 -mt-8 sm:-mt-9`],cr=({src:e,index:t,stacked:n})=>(0,D.jsx)(p.div,{initial:{opacity:0,y:18,scale:.9},animate:{opacity:1,y:0,scale:1},transition:{delay:t*ir,type:`spring`,stiffness:260,damping:24},style:{zIndex:n?t+1:10-t},className:g(`relative shrink-0 transition-[width,margin] duration-500 ease-out`,n?g(`w-[104px] sm:w-[126px] lg:w-[140px]`,sr[t]):`w-[132px] sm:w-[176px] lg:w-[210px] xl:w-[224px]`),children:(0,D.jsxs)(p.div,{animate:{rotate:n?or[t]:0},transition:{type:`spring`,stiffness:220,damping:26},className:`relative aspect-[4/5] w-full overflow-hidden rounded-2xl border border-border bg-muted shadow-[0_18px_36px_-20px_hsl(var(--foreground)/0.55)]`,children:[(0,D.jsx)(p.span,{"aria-hidden":!0,className:`absolute inset-0 bg-gradient-to-br from-[hsl(var(--app-indigo)/0.25)] via-muted to-[hsl(var(--app-indigo)/0.12)]`,initial:{opacity:1},animate:{opacity:0},transition:{delay:t*ir+.45,duration:.5}}),(0,D.jsx)(p.img,{src:e,alt:``,"aria-hidden":!0,loading:`lazy`,className:`h-full w-full object-cover`,initial:{opacity:0,scale:1.12,filter:`blur(14px)`},animate:{opacity:1,scale:1,filter:`blur(0px)`},transition:{delay:t*ir+.3,duration:.7,ease:[.22,1,.36,1]}}),(0,D.jsx)(p.span,{"aria-hidden":!0,className:`pointer-events-none absolute inset-y-0 w-1/2 bg-gradient-to-r from-transparent via-white/45 to-transparent`,initial:{x:`-120%`},animate:{x:`260%`},transition:{delay:t*ir+.25,duration:.9,ease:`easeOut`}})]})}),lr=({video:e,poster:t,stacked:n,animated:r})=>(0,D.jsxs)(p.div,{initial:{opacity:0,y:18,scale:.92},animate:{opacity:1,y:0,scale:1},transition:{type:`spring`,stiffness:240,damping:26},className:g(`relative shrink-0 transition-[width] duration-500 ease-out`,n?`w-[132px] sm:w-[150px] lg:w-[168px]`:`w-[168px] sm:w-[208px] lg:w-[236px]`),children:[(0,D.jsxs)(`div`,{className:`relative aspect-[9/16] w-full overflow-hidden rounded-2xl border border-border bg-muted shadow-[0_24px_48px_-24px_hsl(var(--foreground)/0.6)]`,children:[(0,D.jsx)(tr,{src:e,poster:t}),!n&&r&&(0,D.jsxs)(D.Fragment,{children:[(0,D.jsx)(p.span,{"aria-hidden":!0,className:`pointer-events-none absolute inset-x-0 h-16 bg-gradient-to-b from-transparent via-[hsl(var(--app-indigo)/0.35)] to-transparent`,initial:{top:`-20%`},animate:{top:[`-20%`,`100%`]},transition:{duration:2.1,repeat:1/0,ease:`linear`}}),(0,D.jsx)(`span`,{className:`pointer-events-none absolute inset-0 rounded-2xl ring-1 ring-inset ring-[hsl(var(--app-indigo)/0.5)]`})]}),(0,D.jsx)(`span`,{className:`absolute left-2 top-2 inline-flex items-center gap-1 rounded-full bg-foreground
1/70 px-2 py-0.5 text-[10px] font-bold uppercase tracking-wide text-background`,children:`Reel`})]}),!n&&(0,D.jsxs)(`div`,{className:`relative mt-3 h-6 overflow-hidden rounded-lg border border-border bg-card/70`,children:[(0,D.jsx)(`div`,{className:`flex h-full`,children:Array.from({length:12}).map((e,t)=>(0,D.jsx)(`span`,{className:`h-full flex-1 border-r border-border/60 bg-[hsl(var(--app-indigo)/0.14)] last:border-r-0`},t))}),(0,D.jsx)(p.span,{"aria-hidden":!0,className:`absolute inset-y-0 w-[2px] bg-[hsl(var(--app-indigo))]`,initial:{left:`0%`},animate:r?{left:[`0%`,`100%`]}:{left:`100%`},transition:{duration:2.1,repeat:1/0,ease:`linear`}})]})]}),ur=({scenario:e,phase:t,animated:n})=>{let{t:r}=s(),i=t===`caption`,a=r(Fn(e,`caption`)),o=r(Fn(e,`hashtags`)),{shown:c}=Tn(a,{active:n&&i,cps:105}),l=e.media.kind===`reel`,u=e.generator,d=(0,rr.useRef)(null),f=(0,rr.useRef)(null),[ee,te]=(0,rr.useState)();return(0,rr.useLayoutEffect)(()=>{if(!i){te(void 0);return}let e=d.current;if(!e||typeof document>`u`)return;f.current&&(f.current.style.width=``);let t=document.createRange();t.selectNodeContents(e);let n=Math.max(0,...[...t.getClientRects()].map(e=>e.width));te(n>0?Math.ceil(n):void 0)},[i,a,o]),(0,D.jsxs)(p.div,{variants:ar,initial:`hidden`,animate:`show`,exit:`exit`,className:`w-full`,children:[(0,D.jsxs)(p.p,{className:`mb-6 flex items-center justify-center gap-2 text-xs font-semibold text-muted-foreground sm:mb-8 sm:text-sm`,children:[!i&&u?(0,D.jsx)(p.img,{src:u.logo,alt:u.name,loading:`lazy`,className:`h-7 w-7 rounded-lg shadow-[0_6px_16px_-8px_hsl(var(--foreground)/0.6)] sm:h-9 sm:w-9 sm:rounded-xl`,animate:{scale:[1,1.08,1]},transition:{duration:1.6,repeat:1/0,ease:`easeInOut`}}):(0,D.jsx)(p.span,{className:`h-1.5 w-1.5 rounded-full bg-[hsl(var(--app-indigo))]`,animate:{opacity:[.35,1,.35]},transition:{duration:1.1,repeat:1/0}}),i?r(`landing.hero.agentic.flow.statusCaption`):l?r(`landing.hero.agentic.flow.statusReel`):u?r(`landing.hero.agentic.flow.statusComposeWith`,{tool:u.name}):r(`landing.hero.agentic.flow.statusCompose`)]}),(0,D.jsxs)(p.div,{className:g(`relative mx-auto flex`,i?`w-fit max-w-full flex-col items-center gap-5 sm:flex-row sm:gap-8`:`w-fit items-center gap-3 sm:gap-5`),children:[e.media.kind===`reel`?(0,D.jsx)(lr,{video:e.media.video,poster:e.media.poster,stacked:i,animated:n}):(0,D.jsx)(p.div,{className:g(`relative shrink-0`,i?`grid grid-cols-2 items-start`:`flex items-center gap-3 sm:gap-4 lg:gap-5`),children:e.media.slides.map((e,t)=>(0,D.jsx)(cr,{src:e,index:t,stacked:i},e))}),i&&(0,D.jsxs)(p.div,{initial:{opacity:0}
1,animate:{opacity:1},transition:{duration:.35,delay:.4},ref:f,style:ee?{width:ee}:void 0,className:`relative w-auto max-w-[min(360px,100%)] shrink-0 text-left`,children:[(0,D.jsxs)(`p`,{className:`relative whitespace-pre-line text-[12px] leading-[1.5] text-foreground sm:text-[13px] lg:text-[14px]`,children:[(0,D.jsx)(`span`,{ref:d,className:`invisible`,children:a}),(0,D.jsxs)(`span`,{className:`absolute inset-0 whitespace-pre-line`,children:[c,(0,D.jsx)(p.span,{className:`ml-0.5 inline-block h-[1em] w-[2px] translate-y-[2px] rounded-full bg-[hsl(var(--app-indigo))]`,animate:{opacity:[1,0,1]},transition:{duration:.9,repeat:1/0,ease:`linear`}})]})]}),(0,D.jsx)(`p`,{className:`mt-2 text-[12px] font-semibold text-[hsl(var(--app-indigo))] sm:text-[13px] lg:text-[14px]`,children:o})]})]})]})}})))()}var O,fr,pr,mr;function hr(){return(hr=e((()=>{u(),r(),he(),Ce(),ve(),je(),y(),ft(),h(),Dn(),In(),O=m(),fr={hidden:{opacity:0,y:24,scale:.96,filter:`blur(8px)`},show:{opacity:1,y:0,scale:1,filter:`blur(0px)`,transition:{duration:.55,ease:[.22,1,.36,1]}},exit:{opacity:0,y:-18,scale:.84,filter:`blur(10px)`,transition:{duration:.45,ease:[.55,0,.45,1]}}},pr={hidden:{scale:.95},show:{scale:1},exit:{scale:[1,.9,1.06,1],transition:{duration:.4,times:[0,.3,.65,1]}}},mr=({scenario:e,caption:t,typing:n})=>{let{t:r}=s(),{shown:i,done:a}=Tn(t,{active:n,cps:95}),o=i.length===0,c=e.media.kind===`reel`?[e.media.poster]:e.media.slides;return(0,O.jsxs)(p.div,{variants:fr,initial:`hidden`,animate:`show`,exit:`exit`,className:`w-[min(660px,100%)] text-left`,style:{willChange:`transform, filter, opacity`},children:[(0,O.jsxs)(`div`,{className:`rounded-[26px] border border-border bg-card/95 p-4 shadow-[0_30px_70px_-40px_hsl(var(--app-indigo)),0_1px_0_0_hsl(var(--foreground)/0.04)_inset] backdrop-blur-xl sm:p-5`,children:[(0,O.jsxs)(`div`,{className:`flex items-center gap-2.5`,children:[(0,O.jsx)(lt,{className:`h-6 w-6`,alt:``}),(0,O.jsx)(`span`,{className:`text-sm font-semibold text-foreground`,children:r(`landing.hero.agentic.flow.manual.composerTitle`)}),(0,O.jsx)(`span`,{className:`ml-auto inline-flex items-center gap-1.5 rounded-full border border-border bg-muted/50 px-2.5 py-1 text-[11px] font-semibold text-muted-foreground`,children:r(`landing.hero.agentic.flow.manual.draft`)})]}),(0,O.jsx)(`div`,{className:`mt-4 flex flex-wrap items-center gap-2`,children:e.platforms.map((e,t)=>(0,O.jsxs)(p.span,{initial:{opacity:0,scale:.8},animate:{opacity:1,scale:1},transition:{delay:.25+t*.14,type:`spring`,stiffness:420,damping:24},className:`relative inline-flex items-center gap-1.5 rounded-full border border-[hsl(var(--app-indigo)/0.35)] bg-[hsl(var(--app-indigo)/0.08)] py-1 pl-1 pr-2.5`,children:[(0,O.jsx)(`img`,{src:e.icon,alt:``,"aria-hidden":!0,loading:`lazy`,className:`h-5 w-5`}),(0,O.jsx)(`span`,{className:`text-[11px] font-semibold text-foreground`,children:e.name}),(0,O.jsx)(b,{icon:Ne,className:`h-3 w-3 text-[hsl(var(--app-indigo))]`,strokeWidth:3})]},e.id))}),(0,O.jsxs)(`div`,{className:`mt-4 flex items-center gap-2`,children:[c.map((t,n)=>(0,O.jsxs)(p.span,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},transition:{delay:.5+n*.12,duration:.35},className:g(`relative overflow-hidden rounded-xl border border-border bg-muted`,e.media.kind===`reel`?`h-16 w-10`:`h-14 w-14`),children:[(0,O.jsx)(`img`,{src:t,alt:``,"aria-hidden":!0,loading:`lazy`,className:`h-full w-full object-cover`}),e.media.kind===`reel`&&(0,O.jsx)(`span`,{className:`absolute inset-0 flex items-center justify-center bg-black/35`,children:(0,O.jsx)(b,{icon:de,className:`h-3.5 w-3.5 text-white`})})]},t)),(0,O.jsx)(`span`,{className:`flex h-14 w-14 items-center justify-center rounded-xl border border-dashed border-border text-muted-foreground`,children:(0,O.jsx)(b,{icon:we,className:`h-4 w-4`})})]}),(0,O.jsx)(`div`,{className:`mt-4 rounded-2xl border border-border bg-background px-4 py-3`,children:(0,O.jsxs)(`p`,{className:`relative min-h-[4.5rem] whitespace-pre-line text-[13px] leading-relaxed text-foreground sm:text-sm`,children:[(0,O.jsx)(`span`,{className:g(`invisible`,o&&`hidden`),children:t}
1),o&&(0,O.jsx)(`span`,{className:`text-muted-foreground/70`,children:r(`landing.hero.agentic.flow.manual.captionPlaceholder`)}),(0,O.jsxs)(`span`,{className:`absolute inset-0 whitespace-pre-line`,children:[i,n&&!a&&(0,O.jsx)(p.span,{className:`ml-0.5 inline-block h-[1.05em] w-[2px] translate-y-[3px] rounded-full bg-[hsl(var(--app-indigo))]`,animate:{opacity:[1,0,1]},transition:{duration:.9,repeat:1/0,ease:`linear`}})]})]})}),(0,O.jsxs)(`div`,{className:`mt-4 flex items-center justify-between gap-3`,children:[(0,O.jsxs)(`span`,{className:`inline-flex items-center gap-1.5 rounded-full border border-border bg-muted/40 px-3 py-1.5 text-[11px] font-semibold text-muted-foreground sm:text-xs`,children:[(0,O.jsx)(b,{icon:ge,className:`h-3.5 w-3.5`}),r(`landing.hero.agentic.flow.manual.slot`,Mn)]}),(0,O.jsx)(p.span,{variants:pr,className:`inline-flex h-10 items-center gap-1.5 rounded-full bg-[hsl(var(--app-indigo))] px-4 text-sm font-semibold text-white shadow-[0_10px_24px_-12px_hsl(var(--app-indigo))]`,children:r(`landing.hero.agentic.flow.manual.schedule`)})]})]}),(0,O.jsx)(`p`,{className:`mt-3 text-center text-xs text-muted-foreground`,children:r(`landing.hero.agentic.flow.manual.hint`)})]})}})))()}function gr(){yr=!0,br.forEach(e=>e()),br.clear()}function _r(){let[e,t]=(0,vr.useState)(yr);return(0,vr.useEffect)(()=>{if(yr){t(!0);return}let e=()=>t(!0);return br.add(e),()=>{br.delete(e)}},[]),e}var vr,yr,br;function xr(){return(xr=e((()=>{if(vr=i(),yr=!1,br=new Set,typeof window<`u`){let e=()=>{typeof window.requestIdleCallback==`function`?window.requestIdleCallback(gr,{timeout:1500}):window.setTimeout(gr,300)};document.readyState===`complete`?e():window.addEventListener(`load`,e,{once:!0})}})))()}function Sr(e,t=`agentic`){let{t:n}=s(),r=!!oe(),i=_r(),a=r||ht()||!i,o=ee(e,{amount:.3}),c=On[t],[l,u]=(0,k.useState)(c[0]),[d,f]=(0,k.useState)(0),[te,ne]=(0,k.useState)(()=>typeof document>`u`||!document.hidden);(0,k.useEffect)(()=>{let e=()=>ne(!document.hidden);return document.addEventListener(`visibilitychange`,e),()=>document.removeEventListener(`visibilitychange`,e)},[]);let re=Nn[d],ie=n(Fn(re,t===`agentic`?`prompt`:`caption`)),ae=(0,k.useMemo)(()=>Math.min(wn(ie),Dr),[ie]);(0,k.useEffect)(()=>{u(On[t][0])},[t]);let p=o&&!a&&te,se=(0,k.useRef)(l);se.current=l,(0,k.useEffect)(()=>{if(!p)return;let e=Tr.includes(l)?ae+Er:wr[l],t=setTimeout(()=>{let e=c.indexOf(se.current)+1;e<c.length?u(c[e]):(f(e=>(e+1)%Nn.length),u(c[0]))},e);return()=>clearTimeout(t)},[p,l,ae,c]);let m=a?`publish`:l;return{stage:m,scenarioIndex:d,prompt:ie,running:p,still:a,stageIndex:Math.max(0,c.indexOf(m))}}function Cr(e,t,n=2200,r=!1){let[i,a]=(0,k.useState)(r?e:0),o=(0,k.useRef)();return(0,k.useEffect)(()=>{if(r){a(e);return}if(!t){a(0);return}let i=performance.now(),s=t=>{let r=Math.min(1,(t-i)/n);a(Math.round(e*(1-(1-r)**3))),r<1&&(o.current=requestAnimationFrame(s))};return o.current=requestAnimationFrame(s),()=>{o.current&&cancelAnimationFrame(o.current)}},[t,e,n,r]),i}var k,wr,Tr,Er,Dr,Or;function kr(){return(kr=e((()=>{k=i(),ae(),ne(),r(),Dn(),pt(),xr(),In(),wr={compose:4200,caption:4400,handoff:1700,schedule:3e3,publish:9800},Tr=[`chat`,`composer`],Er=1400,Dr=2600,Or=e=>e>=1e5?`${Math.round(e/1e3)}K`:e>=1e3?`${(e/1e3).toFixed(1).replace(/\.0$/,``)}K`:String(e)})))()}var Ar,A,jr,Mr,Nr,Pr,Fr,Ir,Lr,Rr,zr,Br;function Vr(){return(Vr=e((()=>{Ar=i(),se(),u(),r(),ke(),fe(),Oe(),je(),Be(),y(),h(),In(),nr(),kr(),A=m(),jr=1500,Mr=200,Nr={hidden:{opacity:0},show:{opacity:1,transition:{duration:.35}},exit:{opacity:0,y:-20,filter:`blur(8px)`,transition:{duration:.4}}},Pr=({posted:e,animated:t})=>{let{t:r}=s();return(0,A.jsx)(`div`,{className:`mb-2.5 flex h-6 items-center justify-center sm:mb-3`,children:(0,A.jsx)(n,{mode:`wait`,children:e?(0,A.jsxs)(p.span,{initial:{opacity:0,scale:.7},animate:{opacity:1,scale:1},transition:{type:`spring`,stiffness:460,damping:22},className:`inline-flex items-center gap-1 rounded-full bg-emerald-500 px-2 py-0.5 text-[8px] font-bold uppercase tracking-wide text-white shadow-[0_6px_16px_-6px_theme(colors.emerald.500)] sm:px-2.5 sm:text-[10px]`,children:[(0,A.jsx)(b,{icon:Ne,className:`h-2.5 w-2.5 sm:h-3 sm:w-3`,strokeWidth:3.5}),r(`landing.hero.agentic.flow.posted`)]},`posted`):(0,A.jsxs)(p.span,{exit:{opacity:0,scale:.9},className:`flex w-[54px] flex-col items-center gap-1 sm:w-[76px]`,children:[(0,A.jsx)(`span`,{className:`text-[7px] font-semibold uppercase tracking-wide text-muted-foreground sm:text-[9px]`,children:r(`landing.hero.agentic.flow.uploading`)}),(0,A.jsx)(`span`,{className:`h-1 w-full overflow-hidden rounded-full bg-muted`,children:(0,A.jsx)(p.span,{className:`block h-full rounded-full bg-[hsl(var(--app-indigo))]`,initial:{width:t?`4%`:`100%`},animate:{width:`100%`},transition:{duration:t?jr/1e3:0,ease:[.4,0,.2,1]}})})]},`uploading`)})})},Fr=({light:e=!1})=>(0,A.jsxs)(`div`,{className:g(`flex items-center justify-between px-2 pt-[7px] text-[5px] font-bold sm:px-3 sm:pt-2.5 sm:text-[8px]`,e?`text-white/90`:`text-foreground
1/70`),children:[(0,A.jsx)(`span`,{children:`9:41`}),(0,A.jsxs)(`span`,{className:`flex items-center gap-[2px]`,children:[(0,A.jsx)(`span`,{className:`h-[3px] w-[3px] rounded-full bg-current sm:h-1 sm:w-1`}),(0,A.jsx)(`span`,{className:`h-[4px] w-[6px] rounded-[1px] bg-current sm:h-1.5 sm:w-2.5`})]})]}),Ir=({account:e,light:t=!1})=>(0,A.jsxs)(`div`,{className:`flex items-center gap-1.5 sm:gap-2`,children:[(0,A.jsx)(`img`,{src:e.avatar,alt:``,"aria-hidden":!0,loading:`lazy`,className:g(`h-3 w-3 rounded-full object-cover ring-1 sm:h-5 sm:w-5`,t?`ring-white/70`:`ring-[hsl(var(--app-indigo)/0.6)]`)}),(0,A.jsx)(`span`,{className:g(`text-[5px] font-semibold sm:text-[8px]`,t?`text-white`:`text-foreground`),children:e.handle})]}),Lr=({media:e,account:t,caption:n,likes:r,views:i})=>{let a=e.kind===`carousel`?e.slides:[];return(0,A.jsxs)(A.Fragment,{children:[(0,A.jsx)(Fr,{}),(0,A.jsx)(`div`,{className:`px-2 py-1.5 sm:px-2.5 sm:py-2.5`,children:(0,A.jsx)(Ir,{account:t})}),(0,A.jsxs)(`div`,{className:`relative min-h-0 w-full flex-1 overflow-hidden bg-muted`,children:[(0,A.jsx)(`img`,{src:a[0],alt:``,"aria-hidden":!0,loading:`lazy`,className:`h-full w-full object-cover`}),(0,A.jsxs)(`span`,{className:`absolute right-1 top-1 rounded-full bg-foreground
1/70 px-1 py-[1px] text-[5px] font-bold text-background sm:right-1.5 sm:top-1.5 sm:px-1.5 sm:text-[8px]`,children:[`1/`,a.length]}),(0,A.jsx)(`span`,{className:`absolute inset-x-0 bottom-1 flex items-center justify-center gap-[3px] sm:bottom-1.5`,children:a.map((e,t)=>(0,A.jsx)(`span`,{className:g(`h-[3px] w-[3px] rounded-full sm:h-1 sm:w-1`,t===0?`bg-white`:`bg-white/45`)},e))})]}),(0,A.jsxs)(`div`,{className:`space-y-1 px-2 pb-2 pt-2 text-left sm:space-y-1.5 sm:px-2.5 sm:pb-3 sm:pt-2.5`,children:[(0,A.jsxs)(`div`,{className:`flex items-center gap-2 text-[5px] font-bold text-foreground sm:gap-3.5 sm:text-[9px]`,children:[(0,A.jsxs)(`span`,{className:`inline-flex items-center gap-1`,children:[(0,A.jsx)(b,{icon:ye,className:`h-2 w-2 text-rose-500 sm:h-3 sm:w-3`}),Or(r)]}),(0,A.jsxs)(`span`,{className:`inline-flex items-center gap-1 text-muted-foreground`,children:[(0,A.jsx)(b,{icon:Ve,className:`h-2 w-2 sm:h-3 sm:w-3`}),Or(i)]})]}),(0,A.jsx)(`p`,{className:`line-clamp-2 text-[5px] leading-relaxed text-foreground/80 sm:text-[8px] lg:text-[9px]`,children:n})]})]})},Rr=({media:e,account:t,caption:n,likes:r,views:i})=>e.kind===`reel`?(0,A.jsxs)(A.Fragment,{children:[(0,A.jsx)(tr,{src:e.video,poster:e.poster,className:`absolute inset-0`}),(0,A.jsxs)(`div`,{className:`relative z-10`,children:[(0,A.jsx)(Fr,{light:!0}),(0,A.jsx)(`span`,{className:`block px-2 pt-0.5 text-[6px] font-bold text-white drop-shadow sm:px-3 sm:pt-1 sm:text-[10px]`,children:`Reels`})]}),(0,A.jsxs)(`div`,{className:`absolute bottom-8 right-1 z-10 flex flex-col items-center gap-2 text-white sm:bottom-12 sm:right-2 sm:gap-3`,children:[(0,A.jsxs)(`span`,{className:`flex flex-col items-center gap-[1px]`,children:[(0,A.jsx)(b,{icon:ye,className:`h-2.5 w-2.5 drop-shadow sm:h-4 sm:w-4`}),(0,A.jsx)(`span`,{className:`text-[5px] font-bold drop-shadow sm:text-[8px]`,children:Or(r)})]}),(0,A.jsxs)(`span`,{className:`flex flex-col items-center gap-[1px]`,children:[(0,A.jsx)(b,{icon:Ve,className:`h-2.5 w-2.5 drop-shadow sm:h-4 sm:w-4`}),(0,A.jsx)(`span`,{className:`text-[5px] font-bold drop-shadow sm:text-[8px]`,children:Or(i)})]}),(0,A.jsx)(b,{icon:Ee,className:`h-2.5 w-2.5 drop-shadow sm:h-4 sm:w-4`}),(0,A.jsx)(b,{icon:De,className:`h-2.5 w-2.5 drop-shadow sm:h-4 sm:w-4`})]}),(0,A.jsxs)(`div`,{className:`absolute inset-x-0 bottom-0 z-10 bg-gradient-to-t from-black/75 via-black/35 to-transparent px-2 pb-2 pt-6 text-left sm:px-2.5 sm:pb-3 sm:pt-8`,children:[(0,A.jsx)(Ir,{account:t,light:!0}),(0,A.jsx)(`p`,{className:`mt-1 line-clamp-2 pr-6 text-[5px] leading-relaxed text-white/90 drop-shadow sm:text-[8px] lg:text-[9px]`,children:n})]})]}):null,zr=({platform:e,media:t,account:n,caption:r,posted:i,tilt:a,animated:o})=>{let s=Cr(e.views,i,2600,!o),c=Cr(e.likes,i,2600,!o),l=r.split(` 2`).map(e=>e.trim()).filter(Boolean).slice(0,2).join(` `),u=t.kind===`reel`?Rr:Lr;return(0,A.jsxs)(p.div,{layout:!0,initial:{opacity:0,scale:.72,y:34},animate:{opacity:1,scale:1,y:0},transition:{type:`spring`,stiffness:280,damping:26,layout:{type:`spring`,stiffness:200,damping:26}},className:`relative shrink-0`,style:{zIndex:10-Math.round(Math.abs(a))},children:[(0,A.jsx)(Pr,{posted:i,animated:o}),(0,A.jsxs)(p.div,{animate:o?{y:[0,-7,0],rotate:[a*2,a*2-.5,a*2]}:void 0,style:{rotate:a*2},transition:{duration:5.5,repeat:1/0,ease:`easeInOut`,delay:Math.abs(a)*.4},className:`relative w-[80px] sm:w-[168px] lg:w-[200px]`,children:[(0,A.jsx)(`span`,{className:`absolute -left-[2px] top-[20%] h-[5%] w-[2px] rounded-l-full bg-foreground
2/25`}),(0,A.jsx)(`span`,{className:`absolute -left-[2px] top-[28%] h-[8%] w-[2px] rounded-l-full bg-foreground/25`}),(0,A.jsx)(`span`,{className:`absolute -left-[2px] top-[39%] h-[8%] w-[2px] rounded-l-full bg-foreground/25`}),(0,A.jsx)(`span`,{className:`absolute -right-[2px] top-[30%] h-[11%] w-[2px] rounded-r-full bg-foreground/25`}),(0,A.jsx)(`div`,{className:`rounded-[13px] bg-[hsl(var(--foreground)/0.88)] p-[3px] shadow-[0_30px_60px_-28px_hsl(var(--foreground)/0.7)] dark:bg-[hsl(var(--foreground)/0.18)] sm:rounded-[24px] sm:p-[4px] lg:rounded-[30px]`,children:(0,A.jsxs)(`div`,{className:`relative flex aspect-[9/19] flex-col overflow-hidden rounded-[10px] bg-background sm:rounded-[20px] lg:rounded-[26px]`,children:[(0,A.jsx)(`span`,{className:`absolute left-1/2 top-[5px] z-20 h-[7px] w-[26px] -translate-x-1/2 rounded-full bg-foreground/90 sm:top-1.5 sm:h-2.5 sm:w-11`}),(0,A.jsx)(u,{media:t,account:n,caption:l,likes:c,views:s})]})}),(0,A.jsxs)(p.div,{initial:{opacity:0,scale:.6},animate:{opacity:1,scale:1},transition:{delay:.28,type:`spring`,stiffness:380,damping:20},className:`relative mx-auto mt-3 h-6 w-6 sm:h-8 sm:w-8`,children:[(0,A.jsx)(`span`,{className:`absolute inset-0 rounded-full bg-[hsl(var(--app-indigo)/0.35)] blur-lg`}),(0,A.jsx)(`img`,{src:e.icon,alt:e.name,className:`relative h-full w-full`,loading:`lazy`})]})]})]})},Br=({scenario:e,animated:t})=>{let{t:n}=s(),r=e.platforms.length,[i,a]=(0,Ar.useState)(t?0:r),[o,c]=(0,Ar.useState)(t?0:r);(0,Ar.useEffect)(()=>{if(!t){a(r),c(r);return}a(0),c(0);let n=e.platforms.flatMap((e,t)=>{let n=Mr+t*1850;return[setTimeout(()=>a(t+1),n),setTimeout(()=>c(t+1),n+jr)]});return()=>n.forEach(clearTimeout)},[t,e,r]);let l=(0,Ar.useMemo)(()=>e.platforms.slice(0,i).map((e,t)=>({platform:e,order:t})),[i,e]),u=n(Fn(e,`caption`));return(0,A.jsxs)(p.div,{variants:Nr,initial:`hidden`,animate:`show`,exit:`exit`,className:`w-full`,children:[(0,A.jsxs)(`p`,{className:`mb-4 flex items-center justify-center gap-2 text-xs font-semibold text-muted-foreground sm:mb-6 sm:text-sm`,children:[(0,A.jsx)(b,{icon:Ne,className:`h-3.5 w-3.5 text-emerald-500`,strokeWidth:3}),n(`landing.hero.agentic.flow.statusPublish`,{count:r})]}),(0,A.jsx)(`div`,{className:`flex items-start justify-center gap-2 sm:gap-6 lg:gap-8`,children:l.map(({platform:n,order:r},i)=>(0,A.jsx)(zr,{platform:n,media:e.media,account:e.account,caption:u,posted:r<o,tilt:i-(l.length-1)/2,animated:t},n.id))})]})}})))()}var j,Hr,Ur,Wr;function Gr(){return(Gr=e((()=>{u(),r(),be(),je(),y(),h(),In(),j=m(),Hr=[`M`,`T`,`W`,`T`,`F`,`S`,`S`],Ur=1,Wr=({scenario:e})=>{let{t}=s();return(0,j.jsxs)(p.div,{initial:{opacity:0,scale:.9},animate:{opacity:1,scale:1},exit:{opacity:0,scale:1.06,filter:`blur(8px)`,transition:{duration:.4}},transition:{type:`spring`,stiffness:260,damping:24},className:`w-[min(420px,100%)] rounded-[26px] border border-border bg-card/95 p-5 text-center shadow-[0_30px_70px_-40px_hsl(var(--app-indigo))] backdrop-blur-xl`,children:[(0,j.jsx)(`p`,{className:`text-xs font-semibold text-muted-foreground sm:text-sm`,children:t(`landing.hero.agentic.flow.manual.scheduleTitle`)}),(0,j.jsx)(`div`,{className:`mt-4 flex items-center justify-center gap-1.5 sm:gap-2`,children:Hr.map((e,t)=>(0,j.jsx)(p.span,{initial:{opacity:0,y:8},animate:{opacity:1,y:0},transition:{delay:.1+t*.05,duration:.3},className:g(`flex h-9 w-9 items-center justify-center rounded-xl text-xs font-bold sm:h-10 sm:w-10 sm:text-sm`,t===Ur?`bg-[hsl(var(--app-indigo))] text-white shadow-[0_10px_22px_-12px_hsl(var(--app-indigo))]`:`border border-border text-muted-foreground`),children:t===Ur?Mn.date:e},`${e}-${t}`))}),(0,j.jsxs)(p.div,{initial:{opacity:0,y:6},animate:{opacity:1,y:0},transition:{delay:.5,duration:.35},className:`mt-4 inline-flex items-center gap-2 rounded-full border border-border bg-muted/40 px-3.5 py-1.5 text-sm font-semibold text-foreground`,children:[(0,j.jsx)(b,{icon:_e,className:`h-4 w-4 text-[hsl(var(--app-indigo))]`}),Mn.time]}),(0,j.jsxs)(p.div,{initial:{opacity:0,y:8},animate:{opacity:1,y:0},transition:{delay:1.1,type:`spring`,stiffness:340,damping:24},className:`mt-5 inline-flex items-center gap-2 rounded-full bg-emerald-500 px-3.5 py-1.5 text-xs font-bold uppercase tracking-wide text-white shadow-[0_10px_24px_-12px_theme(colors.emerald.500)] sm:text-sm`,children:[(0,j.jsx)(b,{icon:Ne,className:`h-3.5 w-3.5`,strokeWidth:3.5}),t(`landing.hero.agentic.flow.manual.queued`,{count:e.platforms.length})]})]})}})))()}var Kr,M,qr,Jr,Yr;function Xr(){return(Xr=e((()=>{Kr=i(),se(),u(),r(),ft(),h(),Hn(),dr(),hr(),Vr(),Gr(),In(),kr(),M=m(),qr={agentic:{keys:[`stepPrompt`,`stepCreate`,`stepHandoff`,`stepLive`],stepOfStage:[0,1,1,2,3]},manual:{keys:[`manual.stepCompose`,`manual.stepSchedule`,`manual.stepLive`],stepOfStage:[0,1,2]}},Jr=({platforms:e})=>(0,M.jsxs)(p.div,{initial:{opacity:0,scale:.5}
2,animate:{opacity:1,scale:1},exit:{opacity:0,scale:1.35,filter:`blur(10px)`,transition:{duration:.45}},transition:{type:`spring`,stiffness:260,damping:18},className:`relative flex flex-col items-center`,children:[[0,.45].map(e=>(0,M.jsx)(p.span,{"aria-hidden":!0,className:`absolute top-1/2 left-1/2 h-24 w-24 rounded-full border border-[hsl(var(--app-indigo)/0.5)]`,style:{marginTop:-22},initial:{scale:.4,opacity:.9,x:`-50%`,y:`-50%`},animate:{scale:2.4,opacity:0,x:`-50%`,y:`-50%`},transition:{duration:1.5,delay:e,repeat:1/0,ease:`easeOut`}},e)),e.map((e,t)=>{let n=(-60+t*40)*(Math.PI/180);return(0,M.jsx)(p.img,{src:e.icon,alt:``,"aria-hidden":!0,loading:`lazy`,className:`absolute top-1/2 left-1/2 h-7 w-7`,style:{marginTop:-36,marginLeft:-14},initial:{opacity:0,x:0,y:0,scale:.4},animate:{opacity:[0,1,0],x:Math.cos(n)*150,y:Math.sin(n)*96,scale:[.4,1,.9]},transition:{duration:1.25,delay:.35+t*.08,ease:[.22,1,.36,1]}},e.id)}),(0,M.jsx)(p.span,{className:`relative flex h-20 w-20 items-center justify-center rounded-[26px] border border-border bg-card shadow-[0_24px_60px_-24px_hsl(var(--app-indigo))]`,animate:{scale:[1,1.06,1]},transition:{duration:1.4,repeat:1/0,ease:`easeInOut`},children:(0,M.jsx)(lt,{className:`h-11 w-11`,alt:``})})]}),Yr=({mode:e=`agentic`})=>{let{t}=s(),r=(0,Kr.useRef)(null),{stage:i,scenarioIndex:a,prompt:o,running:c,still:l,stageIndex:u}=Sr(r,e),d=Nn[a],f=qr[e],ee=f.stepOfStage[u]??0;return(0,M.jsxs)(`div`,{ref:r,id:`demo`,className:`relative scroll-mt-24 pb-10`,children:[(0,M.jsx)(`div`,{"aria-hidden":!0,className:`pointer-events-none absolute left-1/2 top-1/2 -z-10 h-[420px] w-[min(900px,120%)] -translate-x-1/2 -translate-y-1/2 rounded-full opacity-70 blur-[90px]`,style:{background:`radial-gradient(closest-side, hsl(var(--app-indigo)/0.28), hsl(var(--app-indigo)/0.06) 60%, transparent)`}}),(0,M.jsx)(p.div,{animate:l?void 0:{y:[0,-10,0]},transition:{duration:7,repeat:1/0,ease:`easeInOut`},className:`relative mx-auto flex h-[430px] w-full max-w-5xl items-center justify-center px-2 sm:h-[570px]`,children:(0,M.jsxs)(n,{mode:`wait`,initial:!1,children:[i===`chat`&&(0,M.jsx)(p.div,{className:`flex w-full justify-center`,children:(0,M.jsx)(Vn,{scenario:d,prompt:o,typing:c})},`chat-${d.id}`),i===`composer`&&(0,M.jsx)(p.div,{className:`flex w-full justify-center`,children:(0,M.jsx)(mr,{scenario:d,caption:o,typing:c})},`composer-${d.id}`),i===`schedule`&&(0,M.jsx)(p.div,{className:`flex w-full justify-center`,children:(0,M.jsx)(Wr,{scenario:d})},`schedule-${d.id}`),(i===`compose`||i===`caption`)&&(0,M.jsx)(p.div,{className:`w-full`,children:(0,M.jsx)(ur,{scenario:d,phase:i,animated:c})},`create-${d.id}`),i===`handoff`&&(0,M.jsx)(p.div,{className:`flex w-full justify-center`,children:(0,M.jsx)(Jr,{platforms:d.platforms})},`handoff-${d.id}`),i===`publish`&&(0,M.jsx)(p.div,{className:`w-full`,children:(0,M.jsx)(Br,{scenario:d,animated:c})},`publish-${d.id}`)]})}),(0,M.jsx)(`div`,{className:`mx-auto mt-2 flex max-w-2xl items-center justify-center gap-2 sm:gap-4`,children:f.keys.map((e,n)=>{let r=n===ee,i=n<ee;return(0,M.jsxs)(`div`,{className:`flex min-w-0 items-center gap-2 sm:gap-4`,children:[n>0&&(0,M.jsx)(`span`,{className:g(`h-px w-4 shrink-0 transition-colors duration-500 sm:w-8`,i||r?`bg-[hsl(var(--app-indigo)/0.5)]`:`bg-border`)}),(0,M.jsxs)(`span`,{className:`flex items-center gap-1.5`,children:[(0,M.jsx)(p.span,{className:g(`h-1.5 w-1.5 shrink-0 rounded-full transition-colors duration-500`,r||i?`bg-[hsl(var(--app-indigo))]`:`bg-border`),animate:r&&!l?{scale:[1,1.5,1]}:{scale:1},transition:{duration:1.4,repeat:1/0,ease:`easeInOut`}}),(0,M.jsx)(`span`,{className:g(`truncate text-[10px] font-semibold transition-colors duration-500 sm:text-xs`,r?`text-foreground`:`text-muted-foreground/70`),children:t(`landing.hero.agentic.flow.${e}`)})]})]},e)})})]})}})))()}var Zr,Qr;function $r(){return($r=e((()=>{u(),r(),h(),Zr=m(),Qr=({mode:e,onChange:t})=>{let{t:n}=s(),r=e===`agentic`;return(0,Zr.jsxs)(`div`,{className:`inline-flex items-center gap-2 sm:gap-2.5 select-none`,children:[(0,Zr.jsx)(`button`,{type:`button`,onClick:()=>t(`agentic`),className:g(`text-xs sm:text-sm font-semibold transition-colors`,r?`text-foreground`:`text-muted-foreground hover:text-foreground`),children:n(`landing.hero.toggle.agentic`)}),(0,Zr.jsx)(`button`,{type:`button`,role:`switch`,"aria-checked":!r,"aria-label":`Switch posting mode`,onClick:()=>t(r?`normal`:`agentic`),className:g(`relative flex h-5 w-[38px] items-center rounded-full p-[3px] transition-colors`,`bg-gradient-to-r from-[hsl(var(--app-indigo))] to-[hsl(var(--app-indigo-dark))]`,`shadow-[inset_0_1px_2px_hsl(var(--app-indigo-dark)/0.4)]`,r?`justify-start`:`justify-end`),children:(0,Zr.jsx)(p.span,{layout:!0,transition:{type:`spring`,stiffness:500,damping:34},className:`h-3.5 w-3.5 rounded-full bg-white shadow-[0_1px_3px_rgba(0,0,0,0.3)]`})}),(0,Zr.jsx)(`button`,{type:`button`,onClick:()=>t(`normal`),className:g(`text-xs sm:text-sm font-semibold transition-colors`,r?`text-muted-foreground hover:text-foreground`:`text-foreground`),children:n(`landing.hero.toggle.normal`)})]})}})))()}var N,ei,ti,ni,ri;function ii(){return(ii=e((()=>{a(),u(),r(),_(),Oe(),y(),Tt(),Je(),et(),Ge(),Ke(),Ye(),Ct(),S(),h(),it(),dt(),pt(),Xr(),$r(),Jt(),C(),Ot(),ut(),N=m(),ei=[{src:`/social/facebook.svg`,alt:`Facebook`},{src:`/social/threads.svg`,alt:`Threads`},{src:`/social/youtube.svg`,alt:`YouTube`},{src:`/social/instagram.svg`,alt:`Instagram`},{src:`/social/tiktok.svg`,alt:`TikTok`},{src:`/social/linkedin.svg`,alt:`LinkedIn`},{src:`/social/x.svg`,alt:`X`},{src:`/social/bluesky.svg`,alt:`Bluesky`},{src:`/social/discord.svg`,alt:`Discord`},{src:`/social/telegram.svg`,alt:`Telegram`},{src:`/social/mastodon.svg`,alt:`Mastodon`},{src:`/social/wordpress.svg`,alt:`WordPress`},{src:`/social/devto.svg`,alt:`Dev.to`},{src:`/social/tumblr.svg`,alt:`Tumblr`},{src:`/social/pinterest.svg`,alt:`Pinterest`}],ti=[`agentic`,`normal`],ni=(e,t)=>e===`agentic`?`landing.hero.agentic.${t}`:`landing.hero.${t}`,ri=()=>{let{t:e}=s(),t=at(),n=Dt(),{mode:r,setMode:i}=Xt();return(0,N.jsx)(`section`,{className:`relative overflow-hidden pt-12 md:pt-16 pb-0`,children:(0,N.jsxs)(p.div,{initial:!ct&&`hidden`,animate:`show`,variants:Wt,className:`relative max-w-site mx-auto px-4 sm:px-6 lg:px-8 flex flex-col items-center text-center`,children:[(0,N.jsx)(p.div,{variants:w,children:(0,N.jsxs)(o,{to:rt(`/mcp`,t),onClick:()=>x(`hero_mcp_badge`),className:`group relative inline-flex items-center gap-2 rounded-full border border-border bg-[hsl(var(--app-indigo)/0.08)] px-3.5 py-1.5 pl-9 text-xs sm:text-sm font-semibold text-[hsl(var(--app-indigo))] shadow-[inset_0_0_8.4px_0_rgba(130,76,255,0.2)] transition-colors hover:bg-[hsl(var(--app-indigo)/0.14)]`,children:[(0,N.jsx)(`img`,{src:`/robot.png`,alt:``,"aria-hidden":!0,
2className:`absolute -left-0.5 -top-1 h-8 w-8 -rotate-[19deg] object-contain transition-transform duration-300 ease-out group-hover:-translate-x-1.5 group-hover:-translate-y-1.5 group-hover:-rotate-[28deg] [filter:drop-shadow(0_13.96px_5.58px_rgba(145,98,255,0.03))_drop-shadow(0_7.44px_4.65px_rgba(145,98,255,0.09))_drop-shadow(0_3.72px_3.72px_rgba(145,98,255,0.15))_drop-shadow(0_0.93px_1.86px_rgba(145,98,255,0.17))]`}),e(`landing.hero.mcpBadge`)]})}),(0,N.jsx)(p.div,{variants:w,className:`grid w-full justify-items-center`,children:ti.map(t=>{let i=r===t,a=i?`h1`:`div`;return(0,N.jsxs)(`div`,{"aria-hidden":!i,className:g(`col-start-1 row-start-1 flex flex-col items-center transition-opacity`,n?`duration-0`:`duration-300`,i?`opacity-100`:`opacity-0 pointer-events-none select-none`),children:[(0,N.jsxs)(a,{className:`mt-7 font-display font-bold tracking-[-0.02em] leading-[0.98] text-foreground text-[34px] sm:text-5xl md:text-6xl lg:text-[68px] max-w-5xl`,children:[e(ni(t,`headline1`)),` `,e(ni(t,`headline2`)),` `,(0,N.jsx)(`span`,{className:`text-[hsl(var(--app-indigo))]`,children:e(ni(t,`headlineAccent`))})]}),(0,N.jsx)(`p`,{className:`mt-6 text-base md:text-lg font-normal text-muted-foreground max-w-2xl leading-relaxed`,children:e(ni(t,`subtitle`))})]},t)})}),(0,N.jsx)(p.div,{variants:w,className:`mt-10 flex flex-wrap items-center justify-center gap-2 sm:gap-3`,children:(0,N.jsx)(Et,{delay:120,children:ei.map(e=>(0,N.jsxs)(Xe,{children:[(0,N.jsx)(qe,{render:t=>(0,N.jsx)(`img`,{...t,src:e.src,alt:e.alt,className:`h-7 w-7 sm:h-8 sm:w-8 cursor-default transition-transform hover:-translate-y-0.5 hover:scale-110`,loading:`eager`})}),(0,N.jsx)(Qe,{children:(0,N.jsx)(Ze,{side:`top`,sideOffset:8,children:(0,N.jsxs)($e,{className:`flex items-center rounded-lg bg-foreground px-2.5 py-1 text-xs font-semibold text-background shadow-lg transition-[opacity,transform] duration-150 ease-[
2cubic-bezier(0.22,1,0.36,1)] data-[starting-style]:opacity-0 data-[starting-style]:scale-95 data-[ending-style]:opacity-0 data-[ending-style]:scale-95`,children:[e.alt,(0,N.jsx)(wt,{className:`data-[side=top]:bottom-[-5px]`,children:(0,N.jsx)(`svg`,{width:`11`,height:`6`,viewBox:`0 0 11 6`,className:`fill-foreground`,"aria-hidden":!0,children:(0,N.jsx)(`path`,{d:`M5.5 6 0 0h11L5.5 6Z`})})})]})})})]},e.alt))})}),(0,N.jsx)(p.div,{variants:w,className:`mt-10`,children:(0,N.jsx)(Qr,{mode:r,onChange:e=>{i(e),kt(`hero_mode_toggle`,{mode:e})}})}),(0,N.jsxs)(p.div,{variants:w,className:`mt-8 flex flex-col items-center gap-3`,children:[(0,N.jsx)(o,{to:mt,onClick:()=>x(`hero_primary`,{mode:r}),children:(0,N.jsx)(`span`,{className:`inline-flex rounded-full p-[5px] border border-[#824CFF]/50`,children:(0,N.jsxs)(p.span,{initial:`rest`,animate:`rest`,whileHover:`hover`,whileTap:{scale:.97},variants:{rest:{scale:1},hover:{scale:1.02}},transition:{type:`spring`,stiffness:400,damping:30},className:`inline-flex items-center gap-4 h-16 rounded-full border border-white/30 pl-10 pr-8 text-lg font-semibold text-white`,style:{background:`linear-gradient(135deg, #824CFF 0%, #9B70FF 100%)`,boxShadow:`0 1px 2px rgba(130,76,255,0.21), 0 4px 4px rgba(130,76,255,0.19), 0 8px 5px rgba(130,76,255,0.11), 0 14px 6px rgba(130,76,255,0.03)`},children:[e(ni(r,`ctaPrimary`)),(0,N.jsx)(p.span,{variants:{rest:{x:0,y:0},hover:{x:3,y:-3}},transition:{type:`spring`,stiffness:400,damping:18},className:`inline-flex`,children:(0,N.jsx)(b,{icon:De,className:`h-5 w-5`})})]})})}),(0,N.jsxs)(`p`,{className:`max-w-md text-center text-xs sm:text-sm text-muted-foreground [text-wrap:balance]`,children:[e(`landing.hero.trialPre`),` `,(0,N.jsx)(`span`,{className:`font-semibold text-foreground`,children:e(`landing.hero.trialBold`)}),` `,e(`landing.hero.trialPost`)]}),(0,N.jsxs)(o,{to:rt(`/mcp`,t),onClick:()=>x(`hero_secondary`,{mode:r}),className:`group inline-flex items-center gap-1 text-sm font-semibold text-[hsl(var(--landing-indigo))] hover:underline`,children:[e(`landing.hero.ctaAgent`),(0,N.jsx)(b,{icon:v,className:`h-4 w-4 transition-transform duration-200 group-hover:translate-x-0.5`})]})]}),(0,N.jsx)(p.div,{variants:Ut,transition:{delay:.25,duration:.9,ease:[.22,1,.36,1]},className:`mt-12 w-full`,children:(0,N.jsx)(Yr,{mode:r===`agentic`?`agentic`:`manual`})})]})})}})))()}var ai,oi,si;function ci(){return(ci=e((()=>{ai=i(),pt(),oi=m(),si=({webm:e,mp4:t,poster:n,width:r,height:i,className:a})=>{let o=(0,ai.useRef)(null),[s,c]=(0,ai.useState)(!1);return(0,ai.useEffect)(()=>{if(s||ht())return;let e=o.current;if(!e)return;if(typeof IntersectionObserver>`u`){c(!0);return}let t=new IntersectionObserver(e=>{e.some(e=>e.isIntersecting)&&(c(!0),t.disconnect())},{rootMargin:`300px`});return t.observe(e),()=>t.disconnect()},[s]),(0,oi.jsx)(`video`,{ref:o,poster:n,width:r,height:i,preload:`none`,autoPlay:!0,loop:!0,muted:!0,playsInline:!0,"aria-hidden":!0,className:a,children:s&&(0,oi.jsxs)(oi.Fragment,{children:[(0,oi.jsx)(`source`,{src:e,type:`video/webm`}),(0,oi.jsx)(`source`,{src:t,type:`video/mp4`})]})})}})))()}var P,li,ui;function di(){return(di=e((()=>{a(),u(),te(),r(),_(),y(),S(),C(),Jt(),ci(),ut(),P=m(),li=[`title1`,`titleAccent`,`subtitle`,`badgeTitle`,`badgeAccent`,`badgeRest`],ui=()=>{let{t:e}=s(),n=Kt(`landing.workspace`,li);return(0,P.jsx)(`section`,{id:`features`,className:`scroll-mt-20 py-12 md:py-16`,children:(0,P.jsx)(`div`,{className:`max-w-site mx-auto px-4 sm:px-6 lg:px-8`,children:(0,P.jsxs)(p.div,{variants:Wt,initial:`hidden`,whileInView:`show`,viewport:Ht,className:`grid lg:grid-cols-2 gap-12 lg:gap-16 items-stretch lg:pl-10`,children:[(0,P.jsxs)(p.div,{variants:w,className:`flex flex-col md:pl-10 lg:pl-0`,children:[(0,P.jsxs)(`div`,{className:`my-auto`,children:[(0,P.jsxs)(`h2`,{className:`font-display text-3xl/[1.2] sm:text-4xl/[1.2] md:text-5xl/[1.2] font-bold tracking-[-0.02em] text-foreground md:max-w-lg lg:max-w-none [text-wrap:balance]`,children:[e(n(`title1`)),` `,(0,P.jsx)(`span`,{className:`text-[hsl(var(--app-indigo))]`,children:e(n(`titleAccent`))})]}),(0,P.jsx)(`p`,{className:`mt-5 text-base font-normal text-muted-foreground leading-relaxed max-w-lg`,children:(0,P.jsx)(t,{i18nKey:n(`subtitle`),components:{b:(0,P.jsx)(`strong`,{className:`font-semibold text-foreground`})}})}),(0,P.jsxs)(`div`,{className:`mt-8 flex flex-wrap items-center gap-3`,children:[(0,P.jsx)(o,{to:mt,onClick:()=>x(`workspace_primary`),children:(0,P.jsxs)(p.span,{initial:`rest`,animate:`rest`,whileHover:`hover`,whileTap:{scale:.96},variants:{rest:{scale:1},hover:{scale:1}},transition:{type:`spring`,stiffness:400,damping:30},className:`h-16 inline-flex items-center gap-2 rounded-full bg-[hsl(var(--app-indigo))] text-white px-6 text-base font-semibold hover:bg-[hsl(var(--app-indigo-dark))] transition-colors`,children:[e(`landing.workspace.ctaPrimary`),(0,P.jsx)(p.span,{variants:{rest:{x:0},hover:{x:4}},transition:{type:`spring`,stiffness:400,damping:18},className:`inline-flex`,children:(0,P.jsx)(b,{icon:v,className:`h-4 w-4`})})]})}),(0,P.jsx)(p.a,{href:`#demo`,onClick:()=>x(`workspace_demo`),whileTap:{scale:.96},transition:{type:`spring`,stiffness:400,damping:30},className:`h-16 inline-flex items-center gap-2 rounded-full border border-border bg-background px-6 text-base font-semibold text-foreground hover:bg-muted hover:border-foreground
2/30 transition-colors`,children:e(`landing.workspace.ctaSecondary`)})]})]}),(0,P.jsxs)(`div`,{className:`pt-10 flex items-center gap-3`,children:[(0,P.jsx)(`span`,{className:`h-12 w-12 shrink-0 rounded-2xl bg-[hsl(var(--app-indigo))] flex items-center justify-center`,children:(0,P.jsx)(`img`,{src:`/landing/alarm-clock.svg`,alt:``,className:`h-[26px] w-[26px]`,style:{filter:`drop-shadow(0 1px 2px rgba(10,2,29,0.10)) drop-shadow(0 3px 3px rgba(10,2,29,0.09)) drop-shadow(0 7px 4px rgba(10,2,29,0.05)) drop-shadow(0 12px 5px rgba(10,2,29,0.02))`}})}),(0,P.jsxs)(`div`,{className:`leading-tight`,children:[(0,P.jsx)(`p`,{className:`text-sm font-semibold text-foreground`,children:e(n(`badgeTitle`))}),(0,P.jsxs)(`p`,{className:`text-sm text-muted-foreground`,children:[(0,P.jsx)(`span`,{className:`font-semibold text-[hsl(var(--app-indigo))]`,children:e(n(`badgeAccent`))}),e(n(`badgeRest`))]})]})]})]}),(0,P.jsx)(p.div,{variants:w,className:`lg:justify-self-end w-full max-w-[520px] md:max-w-none lg:max-w-[520px]`,children:(0,P.jsx)(si,{webm:`/landing/workspace-showcase.webm`,mp4:`/landing/workspace-showcase.mp4`,poster:`/landing/workspace-showcase.jpg`,width:720,height:720,className:`aspect-square w-full rounded-3xl border border-border object-cover bg-muted/40`})})]})})})}})))()}var F,fi,pi;function mi(){return(mi=e((()=>{a(),u(),r(),_(),y(),S(),C(),Jt(),ci(),ut(),F=m(),fi=[`titleAccent`,`titleRest`,`subtitle`],pi=()=>{let{t:e}=s(),t=Kt(`landing.organize`,fi);return(0,F.jsx)(`section`,{className:`py-12 md:py-16`,children:(0,F.jsx)(`div`,{className:`max-w-site mx-auto px-4 sm:px-6 lg:px-8`,children:(0,F.jsxs)(p.div,{variants:Wt,initial:`hidden`,whileInView:`show`,viewport:Ht,className:`grid lg:grid-cols-2 gap-12 lg:gap-16 items-center`,children:[(0,F.jsx)(p.div,{variants:w,className:`order-2 lg:order-1 w-full max-w-[520px] md:max-w-none lg:max-w-[520px] lg:justify-self-start`,children:(0,F.jsx)(si,{webm:`/landing/ideas-showcase.webm`,mp4:`/landing/ideas-showcase.mp4`,poster:`/landing/ideas-showcase.jpg`,width:720,height:720,className:`aspect-square w-full rounded-3xl border border-border object-cover bg-muted/40`})}),(0,F.jsxs)(p.div,{variants:w,className:`order-1 lg:order-2 md:pl-10 lg:pl-0`,children:[(0,F.jsxs)(`h2`,{className:`font-display text-3xl/[1.2] sm:text-4xl/[1.2] md:text-5xl/[1.2] font-bold tracking-[-0.02em] text-foreground md:max-w-lg lg:max-w-none [text-wrap:balance]`,children:[(0,F.jsx)(`span`,{className:`text-[hsl(var(--app-indigo))]`,children:e(t(`titleAccent`))}),` `,e(t(`titleRest`))]}),(0,F.jsx)(`p`,{className:`mt-5 text-base font-normal text-muted-foreground leading-relaxed max-w-lg`,children:e(t(`subtitle`))}),(0,F.jsx)(`div`,{className:`mt-8`,children:(0,F.jsx)(o,{to:mt,onClick:()=>x(`organize`),children:(0,F.jsxs)(p.span,{initial:`rest`,animate:`rest`,whileHover:`hover`,whileTap:{scale:.96},variants:{rest:{scale:1},hover:{scale:1}},transition:{type:`spring`,stiffness:400,damping:30},className:`h-16 inline-flex items-center gap-2 rounded-full bg-[hsl(var(--app-indigo))] text-white px-6 text-base font-semibold hover:bg-[hsl(var(--app-indigo-dark))] transition-colors`,children:[e(`landing.organize.cta`),(0,F.jsx)(p.span,{variants:{rest:{x:0},hover:{x:4}},transition:{type:`spring`,stiffness:400,damping:18},className:`inline-flex`,children:(0,F.jsx)(b,{icon:v,className:`h-4 w-4`})})]})})})]})]})})})}})))()}var I,hi,gi,_i,vi,yi,bi,xi,Si,Ci,wi,Ti,Ei,Di,Oi,ki,Ai,ji,L,Mi,Ni,Pi;function Fi(){return(Fi=e((()=>{a(),u(),r(),_(),Re(),y(),ft(),S(),C(),Jt(),Ot(),ut(),I=m(),hi=[`subtitle`],gi=122,_i=[{src:`/Instagram.svg`,alt:`Instagram`,emojis:[`â¤ï¸`,`ð¥`,`ð¬`]},{src:`/TikTok.svg`,alt:`TikTok`,emojis:[`ð`,`ðµ`,`ð¥`]},{src:`/youtube.svg`,alt:`YouTube`,emojis:[`ð`,`ð`,`â¶ï¸`]},{src:`/X.svg`,alt:`X`,emojis:[`ð`,`â¤ï¸`]},{src:`/Bluesky.svg`,alt:`Bluesky`,emojis:[`ð¦`,`ð¬`,`ð`]},{src:`/Facebook.svg`,alt:`Facebook`,emojis:[`ð`,`ð`,`â¤ï¸`]},{src:`/Linkedin.svg`,alt:`LinkedIn`,emojis:[`ð`,`ð`,`ð¡`]},{src:`/Threads.svg`,alt:`Threads`,emojis:[`ð¬`,`â¨`,`â¤ï¸`]},{src:`/Discord.svg`,alt:`Discord`,emojis:[`ð¬`,`ð®`,`ð¥`]},{src:`/Telegram.svg`,alt:`Telegram`,emojis:[`âï¸`,`ð`,`ð`]},{src:`/social/mastodon.svg`,alt:`Mastodon`,emojis:[`ð`,`â`,`ð`]},{src:`/social/wordpress.svg`,alt:`WordPress`,emojis:[`âï¸`,`ð°`,`ð¬`]}].map((e,t,n)=>({...e,angle:n.length===1?0:-122+t*gi*2/(n.length-1)})),vi=600,yi=600,bi=230,xi=-230,Si=0,Ci=4.8,wi=.3,Ti=1.5,Ei=1.8,Di=2.6,Oi=2.85,ki=3.2,Ai=.06,ji=.08,L=e=>Math.min(1,Math.max(0,e/Ci)),Mi=e=>{let t=e*Math.PI/180;return{x:Math.cos(t)*bi,y:Math.sin(t)*bi}},Ni=(e,t)=>({left:`calc(50% + ${e/vi*100}%)`,top:`calc(50% + ${t/yi*100}%)`}),Pi=()=>{let{t:e}=s(),t=Kt(`landing.integrations`,hi),n=Dt();return(0,I.jsx)(`section`,{id:`integrations`,className:`scroll-mt-20 py-12 md:py-16`,children:(0,I.jsx)(`div`,{className:`max-w-site mx-auto px-4 sm:px-6 lg:px-8`,children:(0,I.jsx)(`div`,{className:`rounded-3xl border border-border bg-muted/40 p-6 md:p-10`,children:(0,I.jsxs)(p.div,{variants:Wt,initial:`hidden`,whileInView:`show`,viewport:Ht,className:`grid lg:grid-cols-2 gap-12 lg:gap-16 items-stretch`,children:[(0,I.jsxs)(p.div,{variants:w,className:`flex flex-col`,children:[(0,I.jsxs)(`div`,{className:`my-auto`,children:[(0,I.jsxs)(`h2`,{className:`font-display text-3xl/[1.2] sm:text-4xl/[1.2] md:text-5xl/[1.2] font-bold tracking-[-0.02em] text-foreground`,children:[e(`landing.integrations.title1`),` `,(0,I.jsx)(`span`,{className:`text-[hsl(var(--app-indigo))]`,children:e(`landing.integrations.titleAccent`)})]}),(0,I.jsx)(`p`,{className:`mt-5 text-base font-normal text-muted-foreground leading-relaxed max-w-md`,children:e(t(`subtitle`))}),(0,I.jsx)(`div`,{className:`mt-8`,children:(0,I.jsx)(o,{to:mt,onClick:()=>x(`integrations`),children:(0,I.jsxs)(p.span,{initial:`rest`,animate:`rest`,whileHover:`hover`,whileTap:{scale:.96},variants:{rest:{scale:1},hover:{scale:1}},transition:{type:`spring`,stiffness:400,damping:30},className:`h-16 inline-flex items-center gap-2 rounded-full px-6 text-base font-semibold border border-border bg-background text-foreground hover:bg-muted hover:border-foreground
2/30 transition-colors`,children:[e(`landing.integrations.cta`),(0,I.jsx)(p.span,{variants:{rest:{x:0},hover:{x:4}},transition:{type:`spring`,stiffness:400,damping:18},className:`inline-flex text-[hsl(var(--app-indigo))]`,children:(0,I.jsx)(b,{icon:v,className:`h-4 w-4`})})]})})})]}),(0,I.jsxs)(`div`,{className:`pt-10 flex items-center gap-3`,children:[(0,I.jsx)(`span`,{className:`h-12 w-12 shrink-0 rounded-2xl bg-[hsl(var(--app-indigo))] flex items-center justify-center`,children:(0,I.jsx)(`img`,{src:`/landing/security-check.svg`,alt:``,className:`h-[26px] w-[26px]`,style:{filter:`drop-shadow(0 1px 2px rgba(10,2,29,0.10)) drop-shadow(0 3px 3px rgba(10,2,29,0.09)) drop-shadow(0 7px 4px rgba(10,2,29,0.05)) drop-shadow(0 12px 5px rgba(10,2,29,0.02))`}})}),(0,I.jsxs)(`p`,{className:`text-sm font-semibold text-foreground leading-snug max-w-[13rem]`,children:[(0,I.jsx)(`span`,{className:`text-[hsl(var(--app-indigo))]`,children:e(`landing.integrations.badgeAccent`)}),` `,e(`landing.integrations.badgeRest`)]})]})]}),(0,I.jsxs)(p.div,{variants:w,className:`relative aspect-square w-full max-w-[600px] mx-auto`,children:[(0,I.jsxs)(`svg`,{viewBox:`-${vi/2} -${yi/2} ${vi} ${yi}`,className:`absolute inset-0 w-full h-full`,"aria-hidden":!0,children:[[260,170,90].map(e=>(0,I.jsx)(`path`,{d:`M 0 -${e} A ${e} ${e} 0 0 1 0 ${e}`,fill:`none`,stroke:`hsl(var(--app-indigo))`,strokeOpacity:`0.28`,strokeWidth:`1.25`,strokeDasharray:`3 4`},e)),_i.map(e=>{let t=Mi(e.angle);return(0,I.jsx)(`line`,{x1:`0`,y1:`0`,x2:t.x,y2:t.y,stroke:`hsl(var(--app-indigo))`,strokeOpacity:`0.35`,strokeWidth:`1.25`,strokeDasharray:`2 6`},e.alt)}),(0,I.jsx)(`line`,{x1:xi,y1:Si,x2:`0`,y2:`0`,stroke:`hsl(var(--app-indigo))`,strokeOpacity:`0.55`,strokeWidth:`1.75`,strokeDasharray:`3 5`}),!n&&(0,I.jsxs)(I.Fragment,{children:[(0,I.jsx)(p.circle,{r:`5`,fill:`hsl(var(--app-indigo))`,initial:{cx:xi,cy:Si,opacity:0},animate:{cx:[xi,xi,0,0,0],cy:[Si,Si,0,0,0],opacity:[0,1,1,0,0]},transition:{duration:Ci,repeat:1/0,times:[0,L(wi),L(Ti),L(1.55),1],ease:`easeInOut`}}),_i.map((e,t)=>{let n=Mi(e.angle),r=Ei+t*Ai,i=Di+t*Ai;return(0,I.jsx)(p.circle,{r:`4`,fill:`hsl(var(--app-indigo))`,initial:{cx:0,cy:0,opacity:0},animate:{cx:[0,0,n.x,n.x,0],cy:[0,0,n.y,n.y,0],opacity:[0,1,1,0,0]},transition:{duration:Ci,repeat:1/0,times:[0,L(r),L(i),L(i+.05),1],ease:`easeOut`}},e.alt)})]})]}),(0,I.jsx)(`div`,{className:`absolute z-20 -translate-x-1/2 -translate-y-1/2`,style:Ni(xi,Si),children:(0,I.jsx)(p.div,{className:`h-12 w-12 sm:h-14 sm:w-14 md:h-16 md:w-16 rounded-full bg-card border border-border shadow-sm flex items-center justify-center text-muted-foreground`,animate:n?void 0:{scale:[1,1,1.08,1,1],boxShadow:[`0 1px 2px hsl(0 0% 0% / 0.05)`,`0 0 0 6px hsl(var(--app-indigo) / 0.15), 0 4px 12px -2px hsl(var(--app-indigo) / 0.25)`,`0 0 0 6px hsl(var(--app-indigo) / 0.15), 0 4px 12px -2px hsl(var(--app-indigo) / 0.25)`,`0 1px 2px hsl(0 0% 0% / 0.05)`,`0 1px 2px hsl(0 0% 0% / 0.05)`]},transition:n?void 0:{duration:Ci,repeat:1/0,times:[0,L(.25),L(Ti),L(1.7),1],ease:`easeOut`},children:(0,I.jsx)(b,{icon:ze,className:`h-5 w-5 sm:h-6 sm:w-6 md:h-7 md:w-7`,strokeWidth:2})})}),(0,I.jsx)(`div`,{className:`absolute z-10 -translate-x-1/2 -translate-y-1/2`,style:Ni(0,0),children:(0,I.jsx)(p.div,{className:`h-24 w-24 sm:h-28 sm:w-28 md:h-32 md:w-32 rounded-3xl bg-card border border-border flex items-center justify-center`,style:{boxShadow:`0 14px 40px -12px hsl(var(--app-indigo) / 0.5)`},animate:n?void 0:{scale:[1,1,1.07,1,1],boxShadow:[`0 14px 40px -12px hsl(var(--app-indigo) / 0.5)`,`0 14px 40px -12px hsl(var(--app-indigo) / 0.5)`,`0 0 0 18px hsl(var(--app-indigo) / 0.18), 0 14px 40px -8px hsl(var(--app-indigo) / 0.6)`,`0 14px 40px -12px hsl(var(--app-indigo) / 0.5)`,`0 14px 40px -12px hsl(var(--app-indigo) / 0.5)`]},transition:n?void 0:{duration:Ci,repeat:1/0,times:[0,L(1.45),L(Ti),L(2),1],ease:`easeOut`},children:(0,I.jsx)(lt,{className:`h-16 w-16 sm:h-20 sm:w-20 md:h-24 md:w-24`})})}),_i.map((e,t)=>{let r=Mi(e.angle),i=Di+t*Ai,a=Oi+t*Ai,o=ki+t*Ai;return(0,I.jsx)(`div`,{className:`absolute z-10 -translate-x-1/2 -translate-y-1/2`,style:Ni(r.x,r.y),children:(0,I.jsx)(p.div,{className:`h-12 w-12 sm:h-14 sm:w-14 md:h-16 md:w-16 rounded-full border border-border bg-background shadow-sm flex items-center justify-center p-2 sm:p-2.5 md:p-3`,animate:n?void 0:{scale:[1,1,1.15,1,1],boxShadow:[`0 1px 2px hsl(0 0% 0% / 0.05)`,`0 1px 2px hsl(0 0% 0% / 0.05)`,`0 0 24px 2px hsl(var(--app-indigo) / 0.55), 0 1px 2px hsl(0 0% 0% / 0.05)`,`0 1px 2px hsl(0 0% 0% / 0.05)`,`0 1px 2px hsl(0 0% 0% / 0.05)`]},transition:n?void 0:{duration:Ci,repeat:1/0,times:[0,L(i-.05),L(a),L(o),1],ease:`easeOut`},children:(0,I.jsx)(`img`,{src:e.src,alt:e.alt,width:40,height:40,loading:`lazy`,decoding:`async`,className:`h-full w-full rounded-full object-cover`})})},e.alt)}),!n&&_i.map((e,t)=>{let n=Mi(e.angle),r=Di+t*Ai,i=e.emojis,a=i.length;return i.map((t,i)=>{let o=(i-(a-1)/2)*52,s=r+i*ji,c=s+.06,l=s+.75,u=s+1.5;return(0,I.jsx)(`div`,{className:`absolute z-20 -translate-x-1/2 -translate-y-1/2 pointer-events-none`,style:Ni(n.x,n.y),"aria-hidden":!0,
2children:(0,I.jsx)(p.span,{className:`block select-none text-2xl sm:text-3xl leading-none`,style:{filter:`drop-shadow(0 2px 4px rgba(0,0,0,0.25)) drop-shadow(0 0 8px hsl(var(--app-indigo) / 0.55))`},animate:{opacity:[0,0,1,1,0,0],scale:[.6,.6,1.25,1.1,.95,.6],y:[0,0,-16,-54,-96,0],x:[0,0,o*.35,o*.75,o,0]},transition:{duration:Ci,repeat:1/0,times:[0,L(s-.01),L(c),L(l),L(u),1],ease:`easeOut`},children:t})},`${e.alt}-emoji-${i}`)})})]})]})})})})}})))()}var Ii,Li,Ri,R,zi,Bi;function Vi(){return(Vi=e((()=>{u(),h(),Ii=m(),Li={gpt:{bg:`#1f1f1f`,bubble:`#303030`,line:`#2f2f2f`,text:`#ececec`,dim:`#9a9a9a`},tg:{bg:`#17212b`,out:`#2b5278`,in:`#1e2c3a`,text:`#e9edf1`,dim:`#7d8e9e`,tick:`#69b3f5`},cc:{bg:`#141312`,line:`#2a2724`,text:`#e8e3dc`,dim:`#8a8378`,accent:`#C96442`},n8n:{bg:`#1b1b23`,node:`#26262f`,line:`#3a3a46`,text:`#e6e6ea`,dim:`#8b8b99`,accent:`#EA4B71`}},Ri=({bg:e,className:t,children:n})=>(0,Ii.jsx)(`div`,{className:g(`relative overflow-hidden rounded-2xl ring-1 ring-white/10`,t),style:{backgroundColor:e},"aria-hidden":!0,children:n}),R=({show:e,still:t,delay:n=0,className:r,children:i})=>e?(0,Ii.jsx)(p.div,{initial:!t&&{opacity:0,y:6},animate:{opacity:1,y:0},transition:{duration:.28,delay:n,ease:[.22,1,.36,1]},className:r,children:i}):null,zi=({color:e})=>(0,Ii.jsx)(`span`,{className:`ml-[1px] inline-block h-[1em] w-[2px] translate-y-[2px] motion-safe:animate-pulse`,style:{backgroundColor:e}}),Bi=({color:e})=>(0,Ii.jsx)(`span`,{className:`inline-flex items-end gap-[3px] pb-[3px]`,children:[0,1,2].map(t=>(0,Ii.jsx)(p.span,{className:`h-[3px] w-[3px] rounded-full`,style:{backgroundColor:e},animate:{opacity:[.25,1,.25]},transition:{duration:1,repeat:1/0,delay:t*.18,ease:`easeInOut`}},t))})})))()}function Hi(e,t,n){let r=!!oe()||ht(),i=ee(e,{amount:.4}),[a,o]=(0,Ui.useState)(()=>typeof document>`u`||!document.hidden);(0,Ui.useEffect)(()=>{let e=()=>o(!document.hidden);return document.addEventListener(`visibilitychange`,e),()=>document.removeEventListener(`visibilitychange`,e)},[]);let s=t.length-1,c=n&&i&&a&&!r,[l,u]=(0,Ui.useState)(s),[d,f]=(0,Ui.useState)(0);(0,Ui.useEffect)(()=>{c?(u(0),f(e=>e+1)):u(s)},[c,s]);let te=(0,Ui.useRef)(l);return te.current=l,(0,Ui.useEffect)(()=>{if(!c)return;let e=setTimeout(()=>{let e=te.current+1;e>s?(u(0),f(e=>e+1)):u(e)},t[Math.min(te.current,s)]);return()=>clearTimeout(e)},[c,l,d,t,s]),{step:r?s:l,still:r,run:d}}var Ui;function Wi(){return(Wi=e((()=>{Ui=i(),ae(),ne(),pt()})))()}var Gi,z,B,Ki,qi,Ji;function Yi(){return(Yi=e((()=>{Gi=i(),u(),Dn(),st(),St(),Vi(),Wi(),z=m(),B=Li.gpt,Ki=`Plan my launch week and schedule the posts`,qi=[2600,1600,1500,3400],Ji=({active:e})=>{let t=(0,Gi.useRef)(null),{step:n,still:r,run:i}=Hi(t,qi,e),a=Tn(Ki,{cps:26,active:!r&&n===0});return(0,z.jsx)(`div`,{ref:t,children:(0,z.jsxs)(Ri,{bg:B.bg,className:`flex h-[16.5rem] flex-col`,children:[(0,z.jsxs)(`div`,{className:`flex items-center gap-1.5 border-b px-3.5 py-2.5`,style:{borderColor:B.line},children:[(0,z.jsx)(`span`,{className:`text-[12px] font-medium`,style:{color:B.text},children:`ChatGPT 5`}),(0,z.jsx)(`svg`,{viewBox:`0 0 10 6`,className:`h-[5px] w-[9px]`,fill:`none`,children:(0,z.jsx)(`path`,{d:`M1 1l4 4 4-4`,stroke:B.dim,strokeWidth:`1.4`,strokeLinecap:`round`})}),(0,z.jsx)(`span`,{className:`ml-auto h-[18px] w-[18px] rounded-full`,style:{backgroundColor:`#10A37F`}})]}),(0,z.jsxs)(`div`,{className:`flex flex-1 flex-col justify-end gap-2 overflow-hidden px-3.5 pb-2 pt-3`,children:[n===0&&(0,z.jsxs)(`div`,{className:`flex flex-1 flex-col items-center justify-center gap-2`,children:[(0,z.jsx)(`img`,{src:`/logos/chatgpt.svg`,alt:``,className:`h-6 w-6 opacity-70`,loading:`lazy`}),(0,z.jsx)(`span`,{className:`text-[13px]`,style:{color:B.dim},children:`How can I help?`})]}),(0,z.jsx)(R,{show:n>=1,still:r,className:`flex justify-end`,children:(0,z.jsx)(`span`,{className:`max-w-[82%] rounded-[18px] px-3 py-1.5 text-[12px] leading-snug`,style:{backgroundColor:B.bubble,color:B.text},children:Ki})}),(0,z.jsx)(R,{show:n>=1,still:r,delay:.15,children:(0,z.jsxs)(`div`,{className:`inline-flex items-center gap-2 rounded-lg px-2 py-1.5`,style:{backgroundColor:B.bubble},children:[(0,z.jsx)(`img`,{src:`/posteahora-dark.svg`,alt:``,className:`h-3.5 w-3.5`}),(0,z.jsx)(`span`,{className:`text-[11px]`,style:{color:B.text},children:`PosteAhora`}),n===1?(0,z.jsx)(Bi,{color:B.dim}):(0,z.jsx)(`span`,{className:`font-mono text-[10px]`,style:{color:B.dim},children:`create_post · schedule_post`})]})}),(0,z.jsx)(R,{show:n>=2,still:r,children:(0,z.jsx)(`p`,{className:`text-[12px] leading-snug`,style:{color:B.text},children:`Done â five posts written and queued for launch week.`})}),(0,z.jsxs)(R,{show:n>=3,still:r,className:`flex items-center gap-2`,children:[[{src:xt.clarity,platform:`instagram`,at:`Mon 09:00`},{src:xt.reflection,platform:`twitter`,at:`Wed 12:30`}].map(e=>(0,z.jsxs)(`span`,{className:`flex items-center gap-2 rounded-lg p-1.5 pr-2.5`,style:{backgroundColor:B.bubble},children:[(0,z.jsx)(`img`,{src:e.src,alt:``,className:`h-7 w-7 rounded object-cover`,loading:`lazy`}),(0,z.jsx)(ot,{platform:e.platform,size:`xs`}),(0,z.jsx)(`span`,{className:`font-mono text-[10px]`,style:{color:B.dim},children:e.at})]},e.at)),(0,z.jsx)(`span`,{className:`font-mono text-[10px]`,style:{color:B.dim},children:`+3`})]})]}),(0,z.jsx)(`div`,{className:`px-3 pb-3`,children:(0,z.jsxs)(`div`,{className:`flex items-center gap-2 rounded-full px-3 py-2`,style:{backgroundColor:B.bubble},children:[(0,z.jsx)(`span`,{className:`text-[13px] leading-none`,style:{color:B.dim},children:`+`}),(0,z.jsx)(`span`,{className:`flex-1 truncate text-[11.5px]`,style:{color:B.text},children:n===0?(0,z.jsxs)(`span`,{children:[a.shown,!r&&(0,z.jsx)(zi,{color:B.text})]},i):(0,z.jsx)(`span`,{style:{color:B.dim},children:`Ask anything`})}),(0,z.jsx)(p.span,{className:`flex h-5 w-5 items-center justify-center rounded-full`,style:{backgroundColor:B.text},animate:r?void 0:{scale:n===1?[1,.82,1]:1},transition:{duration:.35}
2,children:(0,z.jsx)(`svg`,{viewBox:`0 0 12 12`,className:`h-2.5 w-2.5`,fill:`none`,children:(0,z.jsx)(`path`,{d:`M6 10V2M6 2L2.5 5.5M6 2l3.5 3.5`,stroke:B.bg,strokeWidth:`1.6`,strokeLinecap:`round`,strokeLinejoin:`round`})})})]})})]})})}})))()}var Xi,V,H,Zi,Qi,$i,ea;function ta(){return(ta=e((()=>{Xi=i(),Dn(),Vi(),Wi(),V=m(),H=Li.tg,Zi=`Keep IG + X active until Friday`,Qi=[2400,1200,1700,3600],$i=()=>(0,V.jsxs)(`svg`,{viewBox:`0 0 16 8`,className:`h-2 w-4`,fill:`none`,"aria-hidden":!0,children:[(0,V.jsx)(`path`,{d:`M1 4.6l2.2 2.2L8 2`,stroke:H.tick,strokeWidth:`1.4`,strokeLinecap:`round`,strokeLinejoin:`round`}),(0,V.jsx)(`path`,{d:`M6.6 6.8L11.4 2`,stroke:H.tick,strokeWidth:`1.4`,strokeLinecap:`round`,strokeLinejoin:`round`})]}),ea=({active:e})=>{let t=(0,Xi.useRef)(null),{step:n,still:r,run:i}=Hi(t,Qi,e),a=Tn(Zi,{cps:24,active:!r&&n===0});return(0,V.jsx)(`div`,{ref:t,children:(0,V.jsxs)(Ri,{bg:H.bg,className:`flex h-[16.5rem] flex-col`,children:[(0,V.jsxs)(`div`,{className:`flex items-center gap-2.5 px-3.5 py-2.5`,style:{backgroundColor:H.in},children:[(0,V.jsx)(`img`,{src:`/logos/openclaw.svg`,alt:``,className:`h-7 w-7 rounded-full bg-white/10 p-1`,loading:`lazy`}),(0,V.jsxs)(`span`,{className:`flex flex-col leading-tight`,children:[(0,V.jsx)(`span`,{className:`text-[12px] font-medium`,style:{color:H.text},children:`OpenClaw Agent`}),(0,V.jsx)(`span`,{className:`text-[10px]`,style:{color:n===2?H.tick:H.dim},children:n===2?`typingâ¦`:`bot`})]})]}),(0,V.jsxs)(`div`,{className:`flex flex-1 flex-col justify-end gap-1.5 overflow-hidden px-3 pb-2 pt-3`,children:[(0,V.jsx)(R,{show:!0,still:r,className:`flex justify-start`,children:(0,V.jsx)(`span`,{className:`max-w-[80%] rounded-[12px] rounded-bl-[4px] px-2.5 py-1.5 text-[11.5px] leading-snug`,style:{backgroundColor:H.in,color:H.text},children:`Connected to PosteAhora. What's the plan?`})}),(0,V.jsx)(R,{show:n>=1,still:r,className:`flex justify-end`,children:(0,V.jsxs)(`span`,{className:`flex max-w-[80%] items-end gap-1.5 rounded-[12px] rounded-br-[4px] px-2.5 py-1.5 text-[11.5px] leading-snug`,style:{backgroundColor:H.out,color:H.text},children:[Zi,(0,V.jsxs)(`span`,{className:`flex shrink-0 items-center gap-1 pb-[1px]`,children:[(0,V.jsx)(`span`,{className:`text-[9px]`,style:{color:H.dim},children:`09:41`}),(0,V.jsx)($i,{})]})]})}),(0,V.jsx)(R,{show:n>=3,still:r,className:`flex justify-start`,children:(0,V.jsxs)(`span`,{className:`max-w-[86%] rounded-[12px] rounded-bl-[4px] px-2.5 py-2 text-[11.5px] leading-relaxed`,style:{backgroundColor:H.in,color:H.text},children:[(0,V.jsx)(`span`,{className:`font-medium`,children:`â
6 posts scheduled`}),(0,V.jsxs)(`span`,{className:`mt-1 block font-mono text-[10.5px]`,style:{color:H.dim},children:[`Mon 09:00 · Instagram`,(0,V.jsx)(`br`,{}),`Tue 18:00 · X`,(0,V.jsx)(`br`,{}),`Thu 12:30 · Instagram`]})]})})]}),(0,V.jsxs)(`div`,{className:`flex items-center gap-2 px-3 pb-3`,children:[(0,V.jsx)(`div`,{className:`flex flex-1 items-center gap-2 rounded-full px-3 py-2`,style:{backgroundColor:H.in},children:(0,V.jsx)(`span`,{className:`flex-1 truncate text-[11.5px]`,style:{color:H.text},children:n===0?(0,V.jsxs)(`span`,{children:[a.shown,!r&&(0,V.jsx)(zi,{color:H.text})]},i):n===2?(0,V.jsx)(Bi,{color:H.dim}):(0,V.jsx)(`span`,{style:{color:H.dim},children:`Message`})})}),(0,V.jsx)(`span`,{className:`flex h-7 w-7 shrink-0 items-center justify-center rounded-full`,style:{backgroundColor:H.out},children:(0,V.jsx)(`svg`,{viewBox:`0 0 14 14`,className:`h-3 w-3`,fill:`none`,children:(0,V.jsx)(`path`,{d:`M1.5 7l11-5-4 11-2.2-4.4L1.5 7z`,stroke:H.text,strokeWidth:`1.2`,strokeLinejoin:`round`})})})]})]})})}})))()}var na,U,W,ra,ia,aa,oa;function sa(){return(sa=e((()=>{na=i(),u(),Dn(),Vi(),Wi(),U=m(),W=Li.cc,ra=`schedule this weekâs launch posts`,ia=[2500,1700,1700,3400],aa=({name:e,args:t,result:n,pending:r})=>(0,U.jsxs)(`div`,{className:`font-mono text-[11px] leading-relaxed`,children:[(0,U.jsxs)(`div`,{className:`flex gap-1.5`,children:[(0,U.jsx)(p.span,{style:{color:r?W.accent:`#7fb069`},animate:r?{opacity:[1,.35,1]}:{opacity:1},transition:r?{duration:1,repeat:1/0,ease:`easeInOut`}:void 0,children:`âº`}),(0,U.jsxs)(`span`,{style:{color:W.text},children:[`posteahora `,(0,U.jsx)(`span`,{style:{color:W.dim},children:`-`}),` `,e,(0,U.jsxs)(`span`,{style:{color:W.dim},children:[`(`,t,`)`]})]})]}),!r&&(0,U.jsxs)(`div`,{className:`pl-[18px]`,style:{color:W.dim},children:[`â¿ `,n]})]}),oa=({active:e})=>{let t=(0,na.useRef)(null),{step:n,still:r,run:i}=Hi(t,ia,e),a=Tn(ra,{cps:28,active:!r&&n===0});return(0,U.jsx)(`div`,{ref:t,children:(0,U.jsxs)(Ri,{bg:W.bg,className:`flex h-[16.5rem] flex-col`,children:[(0,U.jsxs)(`div`,{className:`flex items-center gap-1.5 border-b px-3.5 py-2.5`,style:{borderColor:W.line},children:[(0,U.jsx)(`span`,{className:`h-2 w-2 rounded-full`,style:{backgroundColor:`#ff5f57`}}),(0,U.jsx)(`span`,{className:`h-2 w-2 rounded-full`,style:{backgroundColor:`#febc2e`}}),(0,U.jsx)(`span`,{className:`h-2 w-2 rounded-full`,style:{backgroundColor:`#28c840`}}),(0,U.jsx)(`span`,{className:`ml-2 font-mono text-[10.5px]`,style:{color:W.dim},children:`~/marketing â claude`})]}),(0,U.jsxs)(`div`,{className:`flex flex-1 flex-col gap-2 overflow-hidden px-3.5 py-3`,children:[(0,U.jsxs)(`div`,{className:`font-mono text-[11px]`,style:{color:W.accent},children:[`â» `,(0,U.jsx)(`span`,{style:{color:W.dim},children:`Claude Code · posteahora MCP connected`})]}),(0,U.jsxs)(`div`,{className:`flex items-start gap-2 rounded-md border px-2.5 py-1.5 font-mono text-[11px]`,style:{borderColor:W.line,color:W.text},children:[(0,U.jsx)(`span`,{style:{color:W.accent},children:`>`}),(0,U.jsx)(`span`,{className:`flex-1`,children:n===0?(0,U.jsxs)(`span`,{children:[a.shown,!r&&(0,U.jsx)(zi,{color:W.text})]},i):ra})]}),(0,U.jsx)(R,{show:n>=1,still:r,children:(0,U.jsx)(aa,{name:`create_post`,args:`Ã3`,result:`3 drafts created · captions + media`,pending:n===1})}),(0,U.jsx)(R,{show:n>=2,still:r,children:(0,U.jsx)(aa,{name:`schedule_post`,args:`tz=Europe/Madrid`,result:`Mon 09:00 · Wed 12:30 · Fri 17:30`,pending:n===2})}),(0,U.jsx)(R,{show:n>=3,still:r,children:(0,U.jsx)(`div`,{className:`font-mono text-[11px] leading-relaxed`,style:{color:`#7fb069`},children:`â 3 posts scheduled across Instagram and X`})})]})]})})}})))()}var ca,G,K,la,ua,da,fa,pa;function ma(){return(ma=e((()=>{ca=i(),u(),Vi(),Wi(),G=m(),K=Li.n8n,la=[1800,1700,1700,3400],ua=[{label:`Schedule`,sub:`Every Mon 08:00`,icon:`/logos/n8n.svg`},{label:`AI Agent`,sub:`writes 3 posts`,icon:`/logos/chatgpt.svg`},{label:`PosteAhora`,sub:`schedule_post`,icon:`/posteahora-dark.svg`}],da=`#4ade80`,fa=({active:e})=>{let t=(0,ca.useRef)(null),{step:n,still:r}=Hi(t,la,e);return(0,G.jsx)(`div`,{ref:t,children:(0,G.jsxs)(Ri,{bg:K.bg,className:`flex h-[16.5rem] flex-col`,children:[(0,G.jsxs)(`div`,{className:`flex items-center gap-2 border-b px-3.5 py-2.5`,style:{borderColor:K.line},children:[(0,G.jsx)(`img`,{src:`/logos/n8n.svg`,alt:``,className:`h-3.5 w-3.5`,loading:`lazy`}),(0,G.jsx)(`span`,{className:`text-[11.5px] font-medium`,style:{color:K.text},children:`Weekly content run`}),(0,G.jsx)(`span`,{className:`ml-auto rounded-full px-2 py-[3px] text-[10px] font-semibold`,style:n>=3?{backgroundColor:`${da}1f`,color:da}:{backgroundColor:`${K.accent}1f`,color:K.accent},children:n>=3?`Succeeded`:`Running`})]}),(0,G.jsx)(`div`,{className:`relative flex flex-1 items-center justify-center gap-0 px-3`,style:{backgroundImage:`radial-gradient(${K.line} 1px, transparent 1px)`,backgroundSize:`14px 14px`},children:ua.map((e,t)=>{let i=n>=t+1;return(0,G.jsxs)(`div`,{className:`flex items-center`,children:[t>0&&(0,G.jsx)(pa,{live:n===t+1,done:n>t+1,still:r}),(0,G.jsxs)(p.div,{className:`flex w-[5.2rem] flex-col items-center gap-1.5`,animate:r?void 0:{scale:n===t+1?[1,1.06,1]:1},transition:{duration:.45},children:[(0,G.jsx)(`span`,{className:`flex h-10 w-10 items-center justify-center rounded-xl border-2`,style:{backgroundColor:K.node,borderColor:i?da:K.line},children:(0,G.jsx)(`img`,{src:e.icon,alt:``,className:`h-4 w-4`,loading:`lazy`})}),(0,G.jsx)(`span`,{className:`text-center text-[10px] font-medium`,style:{color:K.text},children:e.label}),(0,G.jsx)(`span`,{className:`text-center font-mono text-[9px] leading-tight`,style:{color:i?da:K.dim},children:i?`â done`:e.sub})]})]},e.label)})}),(0,G.jsxs)(`div`,{className:`flex items-center gap-2 border-t px-3.5 py-2.5`,style:{borderColor:K.line},children:[(0,G.jsx)(R,{show:n>=3,still:r,children:(0,G.jsx)(`span`,{className:`font-mono text-[10.5px]`,style:{color:da},children:`â 3 posts scheduled · 0 errors`})}),(0,G.jsx)(`span`,{className:`ml-auto flex items-center gap-1.5`,children:[`/logos/make.svg`,`/logos/zapier.svg`,`/logos/restapi.svg`].map(e=>(0,G.jsx)(`img`,{src:e,alt:``,className:`h-3.5 w-3.5 opacity-50`,loading:`lazy`},e))})]})]})})},pa=({live:e,done:t,still:n})=>(0,G.jsxs)(`span`,{className:`relative block h-[2px] w-7 shrink-0`,style:{backgroundColor:K.line},children:[(0,G.jsx)(`span`,{className:`absolute inset-y-0 left-0 block transition-[width] duration-500`,style:{backgroundColor:da,width:e||t?`100%`:`0%`}}),e&&!n&&(0,G.jsx)(p.span,{className:`absolute -top-[3px] h-2 w-2 rounded-full`,style:{backgroundColor:da},initial:{left:`-4px`,opacity:0}
2,animate:{left:`calc(100% - 4px)`,opacity:[0,1,1,0]},transition:{duration:1.1,ease:`easeInOut`}})]})})))()}var ha,q,ga,_a,va;function ya(){return(ya=e((()=>{ha=i(),a(),u(),r(),_(),y(),h(),S(),it(),dt(),tt(),un(),C(),Yi(),ta(),sa(),ma(),ut(),q=m(),ga=e=>nt.find(t=>t.id===e),_a=[{key:`chatgpt`,clientId:`chatgpt`,to:`/mcp`,Mock:Ji},{key:`openclaw`,clientId:`openclaw`,to:`/mcp`,Mock:ea,screenFirst:!0},{key:`claude`,clientId:`claude-code`,to:`/mcp`,Mock:oa,screenFirst:!0},{key:`api`,clientId:`n8n`,to:`/api`,Mock:fa}],va=()=>{let{t:e}=s(),t=at(),[n,r]=(0,ha.useState)(null);return(0,q.jsx)(`section`,{id:`agent-ways`,className:`scroll-mt-20 py-12 md:py-16`,children:(0,q.jsxs)(p.div,{variants:Wt,initial:`hidden`,whileInView:`show`,viewport:Ht,className:`mx-auto max-w-site px-4 sm:px-6 lg:px-8`,children:[(0,q.jsxs)(p.h2,{variants:w,className:`text-center font-display text-3xl/[1.2] font-bold tracking-[-0.02em] text-foreground sm:text-4xl/[1.2] md:text-5xl/[1.2]`,children:[e(`landing.agentWays.title1`),` `,(0,q.jsx)(`span`,{className:`text-[hsl(var(--app-indigo))] sm:block`,children:e(`landing.agentWays.titleAccent`)})]}),(0,q.jsx)(p.p,{variants:w,className:`mx-auto mt-4 max-w-xl text-center text-base font-normal leading-relaxed text-muted-foreground`,children:e(`landing.agentWays.subtitle`)}),(0,q.jsx)(`div`,{className:`mt-10 grid gap-4 md:mt-12 md:grid-cols-2 md:gap-5`,children:_a.map(({key:i,clientId:a,to:s,Mock:c,screenFirst:l})=>{let u=ga(a);return(0,q.jsx)(p.div,{variants:w,children:(0,q.jsxs)(o,{to:rt(s,t),onClick:()=>x(`agent_ways_${i}`),onMouseEnter:()=>r(i),onMouseLeave:()=>r(e=>e===i?null:e),onFocus:()=>r(i),onBlur:()=>r(e=>e===i?null:e),className:`group relative flex h-full flex-col gap-5 overflow-hidden rounded-3xl border border-border bg-card p-5 transition-colors hover:border-foreground
2/20 md:p-6`,children:[(0,q.jsxs)(`div`,{className:g(`relative flex flex-col gap-4`,l&&`md:order-2 md:mt-auto`),children:[(0,q.jsxs)(`div`,{className:`flex items-center gap-3`,children:[(0,q.jsx)(`span`,{className:`flex h-10 w-10 items-center justify-center rounded-2xl`,style:{backgroundColor:`${u.color}1a`},children:(0,q.jsx)(dn,{src:u.logo,name:u.name,color:u.color,className:`h-5 w-5`})}),(0,q.jsx)(`h3`,{className:`font-display text-lg font-bold tracking-[-0.01em] text-foreground md:text-xl`,children:e(`landing.agentWays.cards.${i}.title`)}),(0,q.jsx)(`span`,{"aria-hidden":!0,className:g(`ml-auto flex h-6 w-6 shrink-0 items-center justify-center rounded-full border border-border text-muted-foreground transition-opacity duration-300`,n===i?`opacity-0`:`opacity-100`),children:(0,q.jsx)(`svg`,{viewBox:`0 0 10 10`,className:`h-2.5 w-2.5 translate-x-[1px]`,fill:`currentColor`,children:(0,q.jsx)(`path`,{d:`M1.5 0.8L8.6 5 1.5 9.2z`})})}),(0,q.jsx)(b,{icon:v,className:`h-4 w-4 shrink-0 text-muted-foreground transition-transform group-hover:translate-x-1`})]}),(0,q.jsx)(`p`,{className:`text-sm leading-relaxed text-muted-foreground`,children:e(`landing.agentWays.cards.${i}.body`)})]}),(0,q.jsx)(`div`,{className:g(`relative mt-auto`,l&&`md:order-1 md:mt-0`),children:(0,q.jsx)(c,{active:n===i})})]})},i)})}),(0,q.jsxs)(p.div,{variants:w,className:`mt-10 flex flex-col items-center justify-center gap-3 sm:flex-row md:mt-12`,children:[(0,q.jsxs)(o,{to:mt,onClick:()=>x(`agent_ways_cta`),className:`btn-shine group inline-flex h-12 items-center gap-2 rounded-full bg-[hsl(var(--app-indigo))] px-6 text-sm font-semibold text-white transition-colors hover:bg-[hsl(var(--app-indigo-dark))]`,children:[e(`landing.agentWays.ctaPrimary`),(0,q.jsx)(b,{icon:v,className:`h-4 w-4 transition-transform duration-300 ease-out group-hover:translate-x-1`})]}),(0,q.jsx)(o,{to:rt(`/mcp`,t),onClick:()=>x(`agent_ways_cta_mcp`),className:`inline-flex h-12 items-center gap-2 rounded-full border border-border bg-background px-6 text-sm font-semibold text-foreground transition-colors hover:border-foreground
2/30 hover:bg-muted`,children:e(`landing.agentWays.ctaSecondary`)})]}),(0,q.jsx)(p.p,{variants:w,className:`mt-4 text-center text-xs text-muted-foreground`,children:e(`landing.agentWays.ctaNote`)})]})})}})))()}var ba,xa;function Sa(){return(Sa=e((()=>{r(),Zt(),it(),He(),ba=m(),xa=()=>{let{t:e}=s(),t=at(),n=Ue(``,t),r=`${We}/llms.txt`;return(0,ba.jsx)(Qt,{className:`my-10 md:my-16`,title:e(`landing.agentWays.askAi.eyebrow`),subtitle:e(`landing.agentWays.askAi.subtitle`),prompt:e(`landing.agentWays.askAi.prompt`,{url:n,llmsUrl:r}),context:`home`})}})))()}var J,Ca,wa,Ta;function Ea(){return(Ea=e((()=>{a(),u(),r(),_(),y(),S(),C(),Jt(),ut(),J=m(),Ca=[`subtitle`,`bullet1`,`bullet2`,`bullet3`,`cta`],wa=[`bullet1`,`bullet2`,`bullet3`],Ta=()=>{let{t:e}=s(),t=Kt(`landing.automation`,Ca);return(0,J.jsxs)(`section`,{className:`relative overflow-hidden`,children:[(0,J.jsx)(`div`,{className:`lg:absolute lg:inset-y-0 lg:left-0 lg:w-1/2`,children:(0,J.jsx)(`img`,{src:`/landing/bg-image.webp`,alt:``,width:1157,height:650,loading:`lazy`,decoding:`async`,className:`h-64 w-full object-cover sm:h-80 lg:h-full`})}),(0,J.jsx)(`div`,{className:`max-w-site mx-auto px-4 sm:px-6 lg:px-8`,children:(0,J.jsxs)(`div`,{className:`lg:grid lg:grid-cols-2`,children:[(0,J.jsx)(`div`,{"aria-hidden":!0,className:`hidden lg:block`}),(0,J.jsxs)(p.div,{variants:Wt,initial:`hidden`,whileInView:`show`,viewport:Ht,className:`py-10 md:py-12 lg:py-16 md:pl-10 lg:pl-12 xl:pl-16`,children:[(0,J.jsxs)(p.h2,{variants:w,className:`font-display text-3xl/[1.2] sm:text-4xl/[1.2] md:text-5xl/[1.2] font-bold tracking-[-0.02em] text-foreground`,children:[(0,J.jsx)(`span`,{className:`text-[hsl(var(--app-indigo))]`,children:e(`landing.automation.titleAccent`)}),` `,e(`landing.automation.title2`)]}),(0,J.jsx)(p.p,{variants:w,className:`mt-5 text-base font-normal text-muted-foreground leading-relaxed max-w-md`,children:e(t(`subtitle`))}),(0,J.jsx)(p.ul,{variants:w,className:`mt-6 space-y-2.5`,children:wa.map(n=>(0,J.jsxs)(`li`,{className:`flex items-center gap-3 text-muted-foreground`,children:[(0,J.jsx)(`span`,{className:`h-1.5 w-1.5 shrink-0 rounded-full bg-muted-foreground/50`}),e(t(n))]},n))}),(0,J.jsx)(p.div,{variants:w,className:`mt-8`,children:(0,J.jsx)(o,{to:mt,onClick:()=>x(`automation`),children:(0,J.jsxs)(p.span,{initial:`rest`,animate:`rest`,whileHover:`hover`,whileTap:{scale:.96},variants:{rest:{scale:1},hover:{scale:1}},transition:{type:`spring`,stiffness:400,damping:30},className:`h-16 inline-flex items-center gap-2 rounded-full bg-[hsl(var(--app-indigo))] text-white px-6 text-base font-semibold hover:bg-[hsl(var(--app-indigo-dark))] transition-colors`,children:[e(t(`cta`)),(0,J.jsx)(p.span,{variants:{rest:{x:0},hover:{x:4}},transition:{type:`spring`,stiffness:400,damping:18},className:`inline-flex`,children:(0,J.jsx)(b,{icon:v,className:`h-4 w-4`})})]})})})]})]})})]})}})))()}var Da,Y,Oa,ka,Aa;function ja(){return(ja=e((()=>{Da=i(),a(),u(),r(),_(),me(),y(),mn(),hn(),it(),dt(),rn(),S(),C(),Y=m(),Oa=[`bullet1`,`bullet2`,`bullet3`],ka=()=>(0,Da.useMemo)(()=>{let e=an(`Lumen Studio`,`sunset`);return e.profile.bio=`Calm apps for focus and sleep.`,e.blocks=[{id:`s`,type:`socials`,visible:!0,style:`icons`,items:[{platform:`instagram`,url:`https://instagram.com`},{platform:`tiktok`,url:`https://tiktok.com`},{platform:`youtube`,url:`https://youtube.com`}]},{id:`a`,type:`app`,visible:!0,name:`Lumen: Focus Timer`,subtitle:`Deep work in 25-m
2inute sessions`,icon:null,rating:4.8,ratingCount:2400,appStoreUrl:`https://apps.apple.com/app/id123456789`,playStoreUrl:`https://play.google.com/store/apps/details?id=com.example.lumen`,webUrl:null,slug:null},{id:`l1`,type:`link`,visible:!0,title:`Version 2.0 is out`,url:`https://example.com`,highlight:`glow`,emoji:`â¨`},{id:`l2`,type:`link`,visible:!0,title:`Sleep sounds playlist`,url:`https://example.com`,highlight:`none`,emoji:`ð`}],e},[]),Aa=()=>{let{t:e}=s(),t=at(),n=ka();return(0,Y.jsx)(`section`,{id:`link-in-bio`,className:`py-12 md:py-16`,children:(0,Y.jsx)(`div`,{className:`max-w-site mx-auto px-4 sm:px-6 lg:px-8`,children:(0,Y.jsxs)(p.div,{variants:Wt,initial:`hidden`,whileInView:`show`,viewport:Ht,className:`grid items-center gap-12 lg:grid-cols-2 lg:gap-16`,children:[(0,Y.jsxs)(p.div,{variants:w,className:`order-1 md:pl-10 lg:pl-10`,children:[(0,Y.jsx)(`span`,{className:`inline-flex items-center rounded-full bg-[hsl(var(--app-indigo))]/10 px-3 py-1 text-xs font-semibold text-[hsl(var(--app-indigo))]`,children:e(`landing.linkInBio.badge`)}),(0,Y.jsxs)(`h2`,{className:`mt-4 font-display text-3xl/[1.2] sm:text-4xl/[1.2] md:text-5xl/[1.2] font-bold tracking-[-0.02em] text-foreground [text-wrap:balance]`,children:[(0,Y.jsx)(`span`,{className:`text-[hsl(var(--app-indigo))]`,children:e(`landing.linkInBio.titleAccent`)}),` `,e(`landing.linkInBio.titleRest`)]}),(0,Y.jsx)(`p`,{className:`mt-5 max-w-lg text-base leading-relaxed text-muted-foreground`,children:e(`landing.linkInBio.subtitle`)}),(0,Y.jsx)(`ul`,{className:`mt-6 flex flex-col gap-3`,children:Oa.map(t=>(0,Y.jsxs)(`li`,{className:`flex gap-3 text-foreground`,children:[(0,Y.jsx)(b,{icon:pe,className:`mt-0.5 h-5 w-5 shrink-0 text-[hsl(var(--app-indigo))]`}),e(`landing.linkInBio.${t}`)]},t))}),(0,Y.jsx)(`div`,{className:`mt-8`,children:(0,Y.jsxs)(o,{to:rt(`/link-in-bio`,t),onClick:()=>x(`home_link_in_bio`),className:`group inline-flex h-16 items-center gap-2 rounded-full bg-[hsl(var(--app-indigo))] px-6 text-base font-semibold text-white transition-colors hover:bg-[hsl(var(--app-indigo-dark))]`,children:[e(`landing.linkInBio.cta`),(0,Y.jsx)(b,{icon:v,className:`h-4 w-4 transition-transform group-hover:translate-x-1`})]})})]}),(0,Y.jsx)(p.div,{variants:w,className:`order-2`,children:(0,Y.jsxs)(`div`,{className:`relative mx-auto h-[460px] max-w-[560px] overflow-hidden rounded-3xl bg-muted/50 sm:h-[520px]`,children:[(0,Y.jsx)(`div`,{className:`pointer-events-none absolute left-1/2 top-10 w-[302px] -translate-x-1/2 select-none`,"aria-hidden":!0,children:(0,Y.jsx)(gn,{className:`w-full`,children:(0,Y.jsx)(_n,{doc:n,handle:`lumen`,showBranding:!0,width:280})})}),(0,Y.jsx)(`span`,{className:`absolute bottom-5 left-5 rounded-full border border-border bg-background px-3 py-1.5 font-mono text-xs font-medium text-foreground`,children:`posteahora.com/@lumen`})]})})]})})})}})))()}var X,Ma;function Na(){return(Na=e((()=>{zt(),jt(),Ft(),Mt(),Pt(),u(),r(),ue(),y(),C(),on(),X=m(),Ma=()=>{let{t:e}=s();return(0,X.jsx)(`section`,{id:`faq`,className:`scroll-mt-20 py-14 md:py-20`,children:(0,X.jsxs)(`div`,{className:`max-w-3xl mx-auto px-4 sm:px-6 lg:px-8`,children:[(0,X.jsxs)(p.div,{variants:w,initial:`hidden`,whileInView:`show`,viewport:Ht,className:`text-center`,children:[(0,X.jsx)(`span`,{className:`inline-flex items-center rounded-full border border-border bg-background px-3 py-1 text-xs font-medium text-muted-foreground`,children:e(`landing.faq.badge`)}),(0,X.jsx)(`h2`,{className:`mt-4 font-display font-bold tracking-[-0.02em] text-foreground text-3xl md:text-4xl leading-[1.05]`,children:e(`landing.faq.title`)}),(0,X.jsx)(`p`,{className:`mt-4 text-muted-foreground`,children:e(`landing.faq.subtitle`)})]}),(0,X.jsx)(p.div,{variants:Wt,initial:`hidden`,whileInView:`show`,viewport:Ht,className:`mt-10`,children:(0,X.jsx)(Nt,{className:`flex flex-col gap-3`,children:cn.map(t=>(0,X.jsx)(p.div,{variants:w,children:(0,X.jsxs)(Lt,{className:`group rounded-2xl border border-border bg-card overflow-hidden transition-colors data-[open]:border-[hsl(var(--app-indigo)/0.45)] hover:border-foreground
2/20`,children:[(0,X.jsx)(At,{children:(0,X.jsxs)(It,{className:`flex w-full items-center justify-between gap-4 px-5 py-4 text-left focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[hsl(var(--app-indigo))] focus-visible:ring-offset-2 focus-visible:ring-offset-background`,children:[(0,X.jsx)(`span`,{className:`font-display text-base md:text-lg font-semibold text-foreground`,children:e(`landing.faq.items.${t}.q`)}),(0,X.jsx)(`span`,{"aria-hidden":!0,className:`h-8 w-8 shrink-0 rounded-full border border-border bg-background text-muted-foreground flex items-center justify-center transition duration-300 group-data-[open]:rotate-45 group-data-[open]:bg-[hsl(var(--app-indigo))] group-data-[open]:text-white group-data-[open]:border-transparent`,children:(0,X.jsx)(b,{icon:xe,className:`h-4 w-4`})})]})}),(0,X.jsx)(Rt,{className:`h-[var(--accordion-panel-height)] overflow-hidden transition-[height] duration-300 ease-[cubic-bezier(0.22,1,0.36,1)] data-[starting-style]:h-0 data-[ending-style]:h-0`,children:(0,X.jsx)(`div`,{className:`px-5 pb-5 -mt-1 text-sm md:text-base text-muted-foreground leading-relaxed`,children:e(`landing.faq.items.${t}.a`)})})]})},t))})})]})})}})))()}var Pa,Z,Fa,Ia;function La(){return(La=e((()=>{Pa=i(),a(),u(),f(),ie(),r(),_(),y(),S(),C(),Jt(),Ot(),ut(),Z=m(),Fa=[`title`,`titleLine2`],Ia=()=>{let{t:e}=s(),t=Kt(`landing.finalCta`,Fa),n=Dt(),r=(0,Pa.useRef)(null),{scrollYProgress:i}=d({target:r,offset:[`start end`,`center center`]}),a=re(i,[0,.55],[60,0]),c=re(i,[0,.3],[.4,1]),l=re(i,[.5,.72,.88],[1,1.05,1]),u=n?void 0:{rotateX:a,scale:l,opacity:c,transformPerspective:1200,transformOrigin:`bottom center`};return(0,Z.jsx)(`section`,{id:`get-started`,className:`scroll-mt-20 pt-4 md:pt-6 pb-10 md:pb-14`,children:(0,Z.jsx)(`div`,{className:`max-w-site mx-auto px-4 sm:px-6 lg:px-8`,children:(0,Z.jsx)(p.div,{ref:r,style:u,className:`relative overflow-hidden rounded-3xl bg-[hsl(var(--app-indigo))] px-6 py-20 md:py-28 text-center`,children:(0,Z.jsxs)(p.div,{variants:n?void 0:Wt,initial:n?void 0:`hidden`,whileInView:n?void 0:`show`,viewport:Ht,className:`relative z-10 flex flex-col items-center`,children:[(0,Z.jsxs)(p.h2,{variants:n?void 0:Ut,className:`font-display font-bold tracking-[-0.02em] leading-[1.05] text-white text-4xl sm:text-5xl md:text-6xl max-w-3xl`,children:[e(t(`title`)),(0,Z.jsx)(`br`,{className:`hidden sm:block`}),` `,e(t(`titleLine2`))]}),(0,Z.jsx)(p.div,{variants:n?void 0:Ut,className:`mt-10`,children:(0,Z.jsxs)(o,{to:mt,onClick:()=>x(`final_cta`),className:`btn-shine group inline-flex h-16 items-center gap-2 rounded-full bg-white px-7 text-base md:text-lg font-semibold text-[hsl(var(--app-indigo))] transition-transform hover:scale-[1.02]`,children:[e(`landing.finalCta.cta`),(0,Z.jsx)(b,{icon:v,className:`h-5 w-5 transition-transform duration-300 ease-out group-hover:translate-x-1`})]})}),(0,Z.jsx)(p.p,{variants:n?void 0:Ut,className:`mt-6 text-sm text-white/70`,children:e(`landing.finalCta.subtitle`)})]})})})})}})))()}var Ra,Q,za,Ba;function Va(){return(Va=e((()=>{Ra=i(),a(),se(),u(),r(),_(),Ae(),y(),S(),Ot(),ut(),Q=m(),za=640,Ba=()=>{let{t:e}=s(),t=Dt(),[r,i]=(0,Ra.useState)(!1);return(0,Ra.useEffect)(()=>{let e=()=>{let e=window.scrollY,t=document.documentElement.scrollHeight-window.innerHeight;i(e>za&&t-e>240)};return e(),window.addEventListener(`scroll`,e,{passive:!0}),()=>window.removeEventListener(`scroll`,e)},[]),(0,Q.jsx)(n,{children:r&&(0,Q.jsx)(p.div,{initial:t?{opacity:0}:{opacity:0,y:24},animate:t?{opacity:1}:{opacity:1,y:0},exit:t?{opacity:0}:{opacity:0,y:24},transition:{type:`spring`,stiffness:380,damping:32},className:`md:hidden fixed inset-x-3 z-40 pointer-events-none`,style:{bottom:`max(12px, env(safe-area-inset-bottom))`},children:(0,Q.jsxs)(`div`,{className:`pointer-events-auto mx-auto max-w-md rounded-full border border-border bg-background/90 backdrop-blur-xl shadow-[0_12px_36px_-12px_rgba(0,0,0,0.35)] flex items-center justify-between gap-3 pl-4 pr-1.5 py-1.5`,children:[(0,Q.jsxs)(`div`,{className:`flex items-center gap-2 min-w-0`,children:[(0,Q.jsx)(`span`,{className:`h-7 w-7 shrink-0 rounded-full bg-[hsl(var(--app-indigo)/0.12)] text-[hsl(var(--app-indigo))] flex items-center justify-center`,children:(0,Q.jsx)(b,{icon:Me,className:`h-3.5 w-3.5`})}),(0,Q.jsx)(`p`,{className:`text-[12px] font-medium text-foreground leading-tight truncate`,children:e(`landing.stickyCta.text`)})]}),(0,Q.jsxs)(o,{to:mt,onClick:()=>x(`mobile_sticky`),className:`btn-shine shrink-0 inline-flex items-center gap-1 h-9 rounded-full bg-[hsl(var(--app-indigo))] text-white px-3.5 text-[12px] font-semibold hover:bg-[hsl(var(--app-indigo-dark))] transition-colors`,children:[e(`landing.stickyCta.cta`),(0,Q.jsx)(b,{icon:v,className:`h-3.5 w-3.5`})]})]})},`mobile-sticky-cta`)})}})))()}function Ha(){let{user:e,loading:t}=le(),[n]=(0,Ua.useState)(bn),r=l(),i=c(),{t:a}=s();return(0,Ua.useEffect)(()=>{!t&&e&&r(`/dashboard`)},[e,t,r]),(0,Ua.useEffect)(()=>
2{if(t||e||!i.hash)return;let n=i.hash.slice(1),r=document.getElementById(n);if(!r)return;let a=requestAnimationFrame(()=>requestAnimationFrame(()=>r.scrollIntoView({behavior:`smooth`})));return()=>cancelAnimationFrame(a)},[t,e,i.hash]),t&&n?(0,$.jsx)(`div`,{className:`min-h-screen flex items-center justify-center bg-background`,children:(0,$.jsx)(lt,{className:`w-12 h-12 animate-pulse`})}):(0,$.jsxs)(`div`,{className:`landing-page min-h-screen overflow-x-clip`,children:[(0,$.jsx)(Vt,{slug:``,seoKey:`home`,jsonLd:ln(a,a(`seo.home.description`))}),(0,$.jsx)(vt,{}),(0,$.jsx)(Gt,{children:(0,$.jsx)(Wa,{})}),(0,$.jsx)(yt,{}),(0,$.jsx)(Ba,{})]})}var Ua,$,Wa;function Ga(){return(Ga=e((()=>{Ua=i(),a(),r(),ce(),Sn(),Bt(),sn(),ft(),gt(),Jt(),ii(),fn(),di(),mi(),Fi(),$t(),ya(),Sa(),Yt(),Ea(),ja(),tn(),vn(),Na(),La(),_t(),Va(),$=m(),Wa=()=>{let{mode:e}=Xt(),t=[(0,$.jsx)(ui,{},`workspace`),(0,$.jsx)(pi,{},`ideas`)],n=(0,$.jsx)(va,{},`agents`);return(0,$.jsxs)(`main`,{children:[(0,$.jsx)(ri,{}),(0,$.jsx)(pn,{}),e===`agentic`?n:t,(0,$.jsx)(xa,{}),(0,$.jsx)(nn,{}),(0,$.jsx)(Pi,{}),(0,$.jsx)(en,{}),e===`agentic`?t:n,(0,$.jsx)(qt,{}),(0,$.jsx)(Ta,{}),(0,$.jsx)(Aa,{}),(0,$.jsx)(yn,{}),(0,$.jsx)(Ma,{}),(0,$.jsx)(Ia,{})]})}})))()}Ga();export{Ha as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.