1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,52683,e=>{"use strict";var t=e.i(43476),s=e.i(71645),a=e.i(57688),r=e.i(22016),i=e.i(2594),n=e.i(3265),l=e.i(5509),o=e.i(83233),d=e.i(31343),c=e.i(37727);let m=[{role:"user",text:"Good morning Blu."},{role:"blu",text:"Good morning, Saira. What are we creating today?"},{role:"user",text:"Give me some ideas for our next weekly video."},{role:"blu",text:"It's winter. We haven't really covered immunity for a while, and it's flu season. You also have strong supplements in this space. This feels like the right moment?"},{role:"user",text:"Yes."},{role:"blu",text:"Here are three strong angles:\n\n1. Daily habits that support your immune system\n2. Ingredients that support immunity\n3. Common immunity myths during cold season"},{role:"user",text:"2"},{role:"blu",text:"Great. We'll build a story around ingredient education first, then position your product as the practical recommendation at the end. Sound good?"},{role:"user",text:"Yep!"},{role:"blu",text:"Storyboard here....."}],x=["Thinking...","Creating something beautiful...","Working on it..."];function u(){let[e,r]=(0,s.useState)(0);return(0,s.useEffect)(()=>{let e=setInterval(()=>{r(e=>(e+1)%x.length)},300);return()=>clearInterval(e)},[]),(0,t.jsxs)("div",{className:"flex items-center gap-3 mb-4",children:[(0,t.jsx)("div",{className:"w-6 h-6 animate-pulse-glow flex-shrink-0",children:(0,t.jsx)(a.default,{src:"/bloomsuite_logo_v2_ocean-teal.png",alt:"Processing",width:24,height:24,className:"w-full h-full object-cover"})}),(0,t.jsx)("span",{className:"font-content text-base text-muted-foreground italic",children:x[e]})]})}function h(){return(0,t.jsx)("div",{className:"flex justify-end mb-4",children:(0,t.jsx)("div",{className:"bg-muted rounded-xl px-4 py-3",children:(0,t.jsxs)("div",{className:"flex gap-1",children:[(0,t.jsx)("span",{className:"w-2 h-2 bg-muted-foreground rounded-full animate-bounce",style:{animationDelay:"0ms"}}),(0,t.jsx)("span",{className:"w-2 h-2 bg-muted-foreground rounded-full animate-bounce",style:{animationDelay:"150ms"}}),(0,t.jsx)("span",{className:"w-2 h-2 bg-muted-foreground rounded-full animate-bounce",style:{animationDelay:"300ms"}})]})})})}function f(){let[e,r]=(0,s.useState)(!1),[i,n]=(0,s.useState)([]),[l,o]=(0,s.use
1State)("idle"),[x,f]=(0,s.useState)(""),[p,b]=(0,s.useState)(0),g=(0,s.useRef)(0),v=(0,s.useRef)(!1),y=(0,s.useRef)(null);(0,s.useEffect)(()=>{y.current?.scrollIntoView({behavior:"smooth"})},[i,x,l]);let w=e=>new Promise(t=>setTimeout(t,e)),N=async()=>{if(v.current)return;v.current=!0,g.current=0,n([]),o("idle"),f(""),b(0);let e=0;for(let t=0;t<m.length&&v.current;t++){let s=m[t];if(g.current=t,"user"===s.role){if(o("user-typing"),await w(400),!v.current)break;o("idle");let t={id:e++,role:"user",text:s.text};n(e=>[...e,t]),b(e),await w(300)}else{if(o("blu-thinking"),await w(600),!v.current)break;o("blu-typing"),f("");for(let e=0;e<=s.text.length&&v.current;e++)f(s.text.slice(0,e)),await w(20);if(!v.current)break;o("idle"),f("");let t={id:e++,role:"blu",text:s.text};n(e=>[...e,t]),b(e),await w(300)}}v.current&&o("complete"),v.current=!1};return e?(0,t.jsx)("div",{className:"fixed inset-0 bg-black/80 backdrop-blur-sm z-50 flex items-center justify-center p-4",children:(0,t.jsxs)("div",{className:"bg-card rounded-2xl w-full max-w-2xl max-h-[80vh] flex flex-col border border-border shadow-2xl",children:[(0,t.jsxs)("div",{className:"flex items-center justify-between px-6 py-4 border-b border-border",children:[(0,t.jsxs)("div",{className:"flex items-center gap-3",children:[(0,t.jsx)("div",{className:"w-8 h-8",children:(0,t.jsx)(a.default,{src:"/bloomsuite_logo_v2_ocean-teal.png",alt:"Blu",width:32,height:32})}),(0,t.jsx)("span",{className:"font-content text-lg text-foreground",children:"Chat with Blu"})]}),(0,t.jsx)("button",{onClick:()=>{v.current=!1,r(!1),n([]),o("idle"),f("")},className:"p-2 rounded-lg hover:bg-secondary text-muted-foreground hover:text-foreground transition-colors",children:(0,t.jsx)(c.X,{className:"w-5 h-5"})})]}),(0,t.jsxs)("div",{className:"flex-1 overflow-y-auto px-6 py-6 space-y-4",children:[i.map(e=>(0,t.jsx)("div",{children:"user"===e.role?(0,t.jsx)("div",{className:"flex justify-end",children:(0,t.jsx)("div",{className:"max-w-[75%] bg-muted rounded-xl px-4 py-3",children:(0,t.jsx)("p",{className:"font-content text-base text-foreground whitespace-pre-wrap",children:e.text})})}):(0,t.jsx)("div",{className:"flex justify-start",children:(0,t.jsx)("div",{className:"max-w-[85%]",children:(0,t.jsxs)("div",{className:"flex items-start gap-3",children:[(0,t.jsx)("div",{className:"w-6 h-6 flex-shrink-0 mt-1",children:(0,t.jsx)(a.default,{src:"/bloomsuite_logo_v2_ocean-teal.png",alt:"Blu",width:24,height:24})}),(0,t.jsx)("p",{className:"font-content text-base text-foreground whitespace-pre-wrap",children:e.text})]})})})},e.id)),"user-typing"===l&&(0,t.jsx)(h,{}),"blu-thinking"===l&&(0,t.jsx)(u,{}),"blu-typing"===l&&x&&(0,t.jsx)("div",{className:"flex justify-start",children:(0,t.jsx)("div",{className:"max-w-[85%]",children:(0,t.jsxs)("div",{className:"flex items-start gap-3",children:[(0,t.jsx)("div",{className:"w-6 h-6 flex-shrink-0 mt-1 animate-pulse-glow",children:(0,t.jsx)(a.default,{src:"/bloomsuite_logo_v2_ocean-teal.png",alt:"Blu",width:24,height:24})}),(0,t.jsxs)("p",{className:"font-content text-base text-foreground whitespace-pre-wrap",children:[x,(0,t.jsx)("span",{className:"inline-block w-0.5 h-4 bg-primary ml-0.5 animate-pulse"})]})]})})}),"complete"===l&&(0,t.jsxs)("div",{className:"text-center py-4",children:[(0,t.jsx)("p",{className:"text-muted-foreground text-sm mb-3",children:"Demo complete"}),(0,t.jsx)("button",{onClick:()=>{v.current=!1,n([]),o("idle"),f(""),setTimeout(()=>{N()},100)},className:"px-4 py-2 bg-primary hover:bg-primary/90 text-white rounded-lg text-sm font-medium transition-colors",children:"Replay"})]}),(0,t.jsx)("div",{ref:y})]})]})}):(0,t.jsxs)("button",{onClick:()=>{r(!0),setTimeout(()=>{N()},100)},className:"fixed bottom-6 right-6 flex items-center gap-2 px-4 py-2.5 bg-primary hover:bg-primary/90 text-white rounded-xl shadow-lg transition-all z-50",children:[(0,t.jsx)(d.Play,{className:"w-4 h-4"}),(0,t.jsx)("span",{className:"text-sm font-medium",children:"Watch Demo"})]})}e.i(36180);var p=e.i(98925),b=e.i(59141);async function g(e,t,s,a){let r=(0,b.getDb)(),i=(0,p.collection)(r,"waitlist");return await (0,p.addDoc)(i,{firstName:e.trim(),surname:t.trim(),email:s.toLowerCase(),createdAt:new Date,source:a||"homepage"}),{success:!0}}async function v(e,t){let s=(0,b.getDb)(),a=(0,p.collection)(s,"waitlist");return await (0,p.addDoc)(a,{email:e.toLowerCase(),type:"survey",survey:t,completedAt:new Date}),{success:!0}}let y=()=>
1{let[e,a]=(0,s.useState)([]);return(0,s.useEffect)(()=>{let e=[];for(let t=0;t<80;t++)e.push({id:t,left:`${100*Math.random()}%`,top:`${100*Math.random()}%`,size:2*Math.random()+1,delay:5*Math.random(),duration:3*Math.random()+2});a(e)},[]),(0,t.jsx)("div",{className:"absolute inset-0 overflow-hidden pointer-events-none z-0",children:e.map(e=>(0,t.jsx)("div",{className:"absolute rounded-full bg-white animate-twinkle",style:{left:e.left,top:e.top,width:`${e.size}px`,height:`${e.size}px`,animationDelay:`${e.delay}s`,animationDuration:`${e.duration}s`,opacity:.6}},e.id))})},w=()=>{let e=(0,s.useRef)(null);return(0,s.useEffect)(()=>{let t,s=e.current;if(!s)return;let a=s.getContext("2d");if(!a)return;let r=()=>{s.width=window.innerWidth,s.height=window.innerHeight};r(),window.addEventListener("resize",r);let i=[{x:.3,y:.3,vx:5e-4,vy:4e-4,radius:.45,color:"hsla(176, 100%, 50%, 0.6)"},{x:.7,y:.7,vx:-4e-4,vy:5e-4,radius:.4,color:"hsla(280, 70%, 60%, 0.5)"},{x:.5,y:.2,vx:45e-5,vy:-3e-4,radius:.42,color:"hsla(263, 70%, 64%, 0.45)"},{x:.2,y:.8,vx:-3e-4,vy:-45e-5,radius:.35,color:"hsla(200, 80%, 55%, 0.4)"}],n=()=>(Math.random()-.5)*15e-5,l=()=>{for(let e of(a.clearRect(0,0,s.width,s.height),i)){e.vx+=n(),e.vy+=n(),e.vx*=.998,e.vy*=.998,e.vx=Math.max(-.001,Math.min(.001,e.vx)),e.vy=Math.max(-.001,Math.min(.001,e.vy)),e.x+=e.vx,e.y+=e.vy,(e.x<-.1||e.x>1.1)&&(e.vx*=-1),(e.y<-.1||e.y>1.1)&&(e.vy*=-1);let t=e.x*s.width,r=e.y*s.height,i=e.radius*Math.max(s.width,s.height),l=a.createRadialGradient(t,r,0,t,r,i);l.addColorStop(0,e.color),l.addColorStop(1,"transparent"),a.fillStyle=l,a.fillRect(t-i,r-i,2*i,2*i)}t=requestAnimationFrame(l)};return l(),()=>{cancelAnimationFrame(t),window.removeEventListener("resize",r)}},[]),(0,t.jsx)("canvas",{ref:e,className:"absolute inset-0 w-full h-full pointer-events-none",style:{zIndex:1,mixBlendMode:"screen"}})};var N=e.i(63059),j=e.i(73375),k=e.i(43531);let C=[{key:"work",title:"What best describes your work?",options:["Clinician","Coach","Aesthetic / beauty professional","Fitness professional","Wellness therapist","Educator","Content creator","Founder / brand owner"]},{key:"currentChannels",title:"What content channels do you currently have?",options:["YouTube channel","Instagram","TikTok","SnapChat","LinkedIn","Subscription platform (Uscreen, Kajabi, etc.)","Membership community (Mindbody, ClassPass, etc.)","Online course platform","Podcast","Email newsletter","None yet"],multi:!0},{key:"nextChannel",title:"What content channel do you want to grow next?",options:["YouTube channel","Instagram / TikTok series","Subscription platform (Uscreen, Kajabi, etc.)","Membership community (Mindbody, ClassPass, etc.)","Online course platform","Podcast","Email newsletter series","Not sure yet"],multi:!0},{key:"brandEnergy",title:"How would you describe your brand energy?",options:["Calm","Clinical","Warm","Bold","Luxury","High energy","Spiritual","Minimal","Direct"],multi:!0},{key:"selling",title:"Are you selling something right now?",options:["A service","Digital products","Physical products","Memberships / subscriptions","No, but planning to","No"],multi:!0},{key:"outcome",title:"What outcome do you help people achieve?",options:["Improved health","Aesthetic transformation","Increased confidence","Weight / fitness goals","Stress relief / emotional balance","Skill development / education","Business growth"],multi:!0},{key:"contentFormat",title:"What content format do you usually create?",options:["Short-form social (15-60s Reels/TikToks)","Long-form YouTube videos (5-15 min)","Subscription series (weekly/monthly episodes)","Educational deep-dives (15-30 min)","Real-time workouts / classes","Behind-the-scenes / lifestyle","Product demos / tutorials","Client testimonials / case studies"],multi:!0}];function S({email:e,onComplete:a,onSkip:r}
1){let[i,n]=(0,s.useState)(0),[l,o]=(0,s.useState)({}),[d,c]=(0,s.useState)({}),[m,x]=(0,s.useState)(!1),u=C[i],h=u.multi,f=l[u.key],p=["None yet","Not sure yet","No"],b=h?(f||[]).some(e=>e.startsWith("Other: ")):"string"==typeof f&&f.startsWith("Other: "),g=h?(f||[]).length>0:!!f,y=async()=>{if(i<C.length-1)n(i+1);else{x(!0);try{let t={work:l.work||"",currentChannels:l.currentChannels||[],nextChannel:l.nextChannel||[],brandEnergy:l.brandEnergy||[],selling:l.selling||[],outcome:l.outcome||[],contentFormat:l.contentFormat||[]};await v(e,t),a()}catch(e){console.error("Failed to save survey:",e),a()}finally{x(!1)}}},w=i===C.length-1;return(0,t.jsxs)("div",{className:"w-full max-w-[620px] mx-auto",children:[(0,t.jsx)("div",{className:"flex items-center gap-1.5 mb-6",children:C.map((e,s)=>(0,t.jsx)("div",{className:`h-1 flex-1 rounded-full transition-colors ${s<=i?"bg-[#2dd4bf]":"bg-white/10"}`},s))}),(0,t.jsxs)("p",{className:"text-[#2dd4bf]/70 text-sm mb-2",style:{fontFamily:"var(--font-inter), Inter, sans-serif"},children:[i+1," of ",C.length]}),(0,t.jsx)("h3",{className:"text-white text-[clamp(1.15rem,2.5vw,1.5rem)] font-bold mb-5 leading-snug",style:{fontFamily:"var(--font-nunito), Nunito, sans-serif",fontWeight:800},children:u.title}),h&&(0,t.jsx)("p",{className:"text-[#7a8a9a] text-sm mb-4",style:{fontFamily:"var(--font-inter), Inter, sans-serif"},children:"Select all that apply"}),(0,t.jsxs)("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-2 mb-4 max-h-[36vh] overflow-y-auto pr-1 custom-scrollbar",children:[u.options.map(e=>{let s=h?(f||[]).includes(e):f===e;return(0,t.jsx)("button",{onClick:()=>(e=>{if(h){let t=f||[];if(p.includes(e))o({...l,[u.key]:[e]});else{let s=t.filter(e=>!p.includes(e));s.includes(e)?o({...l,[u.key]:s.filter(t=>t!==e)}):o({...l,[u.key]:[...s,e]})}}else o({...l,[u.key]:e})})(e),className:`text-left px-4 py-3 rounded-xl border text-sm transition-all ${s?"border-[#2dd4bf]/60 bg-[#2dd4bf]/10 text-white":"border-white/10 bg-white/[0.03] text-[#c8d6e5] hover:border-white/20 hover:bg-white/[0.06]"}`,style:{fontFamily:"var(--font-inter), Inter, sans-serif"},children:(0,t.jsxs)("span",{className:"flex items-center gap-2.5",children:[(0,t.jsx)("span",{className:`flex-shrink-0 w-4.5 h-4.5 rounded ${h?"rounded":"rounded-full"} border flex items-center justify-center transition-colors ${s?"border-[#2dd4bf] bg-[#2dd4bf]":"border-white/25 bg-transparent"}`,style:{width:18,height:18},children:s&&(0,t.jsx)(k.Check,{className:"w-3 h-3 text-[#020208]",strokeWidth:3})}),e]})},e)}),(0,t.jsx)("button",{onClick:()=>{let e=d[u.key]||"";if(h){let t=f||[];t.some(e=>e.startsWith("Other: "))?o({...l,[u.key]:t.filter(e=>!e.startsWith("Other: "))}):o({...l,[u.key]:[...t.filter(e=>"None yet"!==e),`Other: ${e}`]})}else o({...l,[u.key]:`Other: ${e}`})},className:`text-left px-4 py-3 rounded-xl border text-sm transition-all ${b?"border-[#2dd4bf]/60 bg-[#2dd4bf]/10 text-white":"border-white/10 bg-white/[0.03] text-[#c8d6e5] hover:border-white/20 hover:bg-white/[0.06]"}`,style:{fontFamily:"var(--font-inter), Inter, sans-serif"},children:(0,t.jsxs)("span",{className:"flex items-center gap-2.5",children:[(0,t.jsx)("span",{className:`flex-shrink-0 rounded ${h?"rounded":"rounded-full"} border flex items-center justify-center transition-colors ${b?"border-[#2dd4bf] bg-[#2dd4bf]":"border-white/25 bg-transparent"}`,style:{width:18,height:18},children:b&&(0,t.jsx)(k.Check,{className:"w-3 h-3 text-[#020208]",strokeWidth:3})}),"Other"]})})]}),b&&(0,t.jsx)("input",{type:"text",value:d[u.key]||"",onChange:e=>{let t=e.target.value;if(c({...d,[u.key]:t}),h){let e=f||[];o({...l,[u.key]:[...e.filter(e=>!e.startsWith("Other: ")),`Other: ${t}`]})}else o({...l,[u.key]:`Other: ${t}`})},placeholder:"Please specify...",autoFocus:!0,className:"w-full px-4 py-3 rounded-xl border border-[#2dd4bf]/30 bg-[#120e30]/60 text-white placeholder-[#7a8a9a] focus:outline-none focus:border-[#2dd4bf]/60 text-sm mb-4",style:{fontFamily:"var(--font-inter), Inter, sans-serif"}}),(0,t.jsxs)("div",{className:"flex items-center justify-between mt-4",children:[(0,t.jsxs)("button",{onClick:()=>i>0&&n(i-1),className:`flex items-center gap-1.5 text-sm transition-colors ${i>0?"text-[#c8d6e5] hover:text-white":"text-transparent pointer-events-none"}`,style:{fontFamily:"var(--font-inter), Inter, sans-serif"},children:[(0,t.jsx)(j.ChevronLeft,{className:"w-4 h-4"}),"Back"]}),(0,t.jsxs)("div",{className:"flex items-center gap-3",children:[(0,t.jsx)("button",{onClick:r,className:"text-sm text-[#7a8a9a] hover:text-[#c8d6e5] transition-colors",style:{fontFamily:"var(--font-inter), Inter, sans-serif"},children:"Skip"}),(0,t.jsxs)("button",{onClick:y,disabled:!g||m,className:`flex items-center gap-1.5 px-5 py-2.5 rounded-full text-sm font-semibold transition-all ${g&&!m?"bg-gradient-to-r from-[#7c3aed] via-[#a855f7] to-[#c084fc] text-white shadow-[0_6px_20px_rgba(124,58,237,0.35)] hover:brightness-110":"bg-white/10 text-white/30 curs
1or-not-allowed"}`,style:{fontFamily:"var(--font-nunito), Nunito, sans-serif",fontWeight:700},children:[m?"Saving...":w?"Finish":"Next",!w&&!m&&(0,t.jsx)(N.ChevronRight,{className:"w-4 h-4"})]})]})]})]})}function I(){let[e,r]=(0,s.useState)(""),[i,n]=(0,s.useState)(""),[l,o]=(0,s.useState)(""),[d,c]=(0,s.useState)(""),[m,x]=(0,s.useState)(""),[u,h]=(0,s.useState)(!1),[f,p]=(0,s.useState)(!1),[b,v]=(0,s.useState)(!1),[N,j]=(0,s.useState)(!1),[k,C]=(0,s.useState)(""),I=async t=>{if(t.preventDefault(),e.trim()&&i.trim()&&l.trim()&&!u){if(m)return void p(!0);h(!0),C("");try{let t=l.trim();await g(e.trim(),i.trim(),t),c(t),p(!0),r(""),n(""),o("")}catch(e){console.error("Waitlist submission error:",e),C("Something went wrong. Please try again.")}finally{h(!1)}}};return(0,t.jsx)("div",{className:"h-screen bg-[#020208] p-3 overflow-hidden",children:(0,t.jsxs)("div",{className:"h-[calc(100vh-1.5rem)] flex flex-col relative overflow-hidden rounded-[28px] border border-[#1a1840]/80",children:[(0,t.jsxs)("div",{className:"absolute inset-0 z-0 pointer-events-none",children:[(0,t.jsx)("div",{className:"absolute inset-0 bg-cover bg-center bg-no-repeat",style:{backgroundImage:"url('/images/northern-lights-bg.png')"}}),(0,t.jsx)("div",{className:"absolute inset-0 bg-black/35"}),(0,t.jsx)(y,{}),(0,t.jsx)(w,{}),(0,t.jsx)("div",{className:"absolute inset-0 bg-noise opacity-[0.07] mix-blend-overlay"})]}),(0,t.jsx)("main",{className:"relative z-10 flex-1 flex flex-col items-center justify-center px-4 py-7 md:py-9 overflow-y-auto custom-scrollbar",children:(0,t.jsxs)("div",{className:`w-full max-w-[920px] overflow-x-visible text-center flex flex-col items-center justify-center gap-3 md:gap-5 pr-1 ${b?"py-6":"h-[50vh] max-h-[50vh] overflow-y-visible"}`,children:[!b&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:"relative flex items-center justify-center mb-1 md:mb-2",children:[(0,t.jsx)("div",{className:"absolute inset-0 mx-auto rounded-full bg-[#030312]/50 blur-[24px]"}),(0,t.jsx)(a.default,{src:"/bloomsuite_logo_v2_ocean-teal.png",alt:"Bloomsuite",width:234,height:258,className:"relative w-[60px] md:w-[80px] h-auto",priority:!0})]}),(0,t.jsx)("h1",{className:"text-[clamp(1.75rem,5.1vw,3.6rem)] leading-[0.98] tracking-[-0.01em]",style:{fontFamily:"var(--font-nunito), Nunito, sans-serif",fontWeight:800},children:(0,t.jsx)("span",{className:"bg-gradient-to-r from-[#2dd4bf] via-[#34d9c3] to-[#2dd4bf] bg-clip-text text-transparent font-extrabold",children:"Your Creative Producer"})}),(0,t.jsx)("h2",{className:"text-[clamp(2rem,5.2vw,4.05rem)] italic text-[#2dd4bf] mb-3 md:mb-4 leading-none tracking-[-0.005em]",style:{fontFamily:'"Canela", "Times New Roman", Georgia, serif',fontWeight:500},children:"On Tap"}),(0,t.jsxs)("div",{className:"space-y-1.5 md:space-y-2 max-w-[760px] mx-auto mb-2 md:mb-3",children:[(0,t.jsx)("p",{className:"text-[#c8d6e5] text-[clamp(0.9rem,1.5vw,1.15rem)] leading-relaxed",style:{fontFamily:"var(--font-inter), Inter, sans-serif"},children:"You're not a media company."}),(0,t.jsx)("p",{className:"text-[#c8d6e5] text-[clamp(0.9rem,1.5vw,1.15rem)] leading-relaxed",style:{fontFamily:"var(--font-inter), Inter, sans-serif"},children:"But Blu is about to build you one."}),(0,t.jsx)("p",{className:"text-[#c8d6e5] text-[clamp(0.9rem,1.5vw,1.15rem)] leading-relaxed",style:{fontFamily:"var(--font-inter), Inter, sans-serif"},children:"Private beta. Join the waitlist."})]})]}),f?b?(0,t.jsx)(S,{email:d,onComplete:()=>{v(!1),j(!0)},onSkip:()=>{v(!1),j(!1)}}):N?(0,t.jsxs)("div",{className:"space-y-4",children:[(0,t.jsx)("p",{className:"text-[#2dd4bf] text-xl font-bold",style:{fontFamily:"var(--font-nunito), Nunito, sans-serif",fontWeight:800},children:"You're all set!"}),(0,t.jsx)("p",{className:"text-[#c8d6e5]",style:{fontFamily:"var(--font-inter), Inter, sans-serif"},children:"Thanks for telling us about yourself. You've moved up the waitlist."}),(0,t.jsx)("p",{className:"text-[#7a8a9a] text-sm",style:{fontFamily:"var(--font-inter), Inter, sans-serif"},children:"We'll be in touch soon."})]}):(0,t.jsxs)("div",{className:"space-y-5",children:[(0,t.jsx)("p",{className:"text-[#2dd4bf] text-xl font-bold",style:{fontFamily:"var(--font-nunito), Nunito, sans-serif",fontWeight:800},children:"You're on the list!"}),(0,t.jsx)("p",{className:"text-[#c8d6e5] text-[clamp(0.9rem,1.5vw,1.05rem)] leading-relaxed max-w-md mx-auto",style:{fontFamily:"var(--font-inter), Inter, sans-serif"},children:"Want to climb the waitlist? Answer a few quick questions so we can tailor Blu to your world."}),(0,t.jsxs)("div",{className:"flex flex-col items-center gap-3 mt-2",children:[(0,t.jsx)("button",{onClick:()=>v(!0),className:"px-8 py-3 bg-gradient-to-r from-[#7c3aed] via-[#a855f7] to-[#c084fc] text-white text-base font-semibold rounded-full shadow-[0_10px_30px_rgba(124,58,237,0.4)] hover:brightness-110 transition-all",style:{fontFamily:"var(--font-nunito), Nunito, sans-serif",fontWeight:800},children:"Take the Quiz"}),(0,t.jsx)("p",{className:"text-[#7a8a9a] text-sm",style:{fontFamily:"var(--font-inter), Inter, sans-serif"},children:"7 quick questions · takes under 2 minutes"})]})]}):(0,t.jsx)(t.Fragment,{children:(0,t.jsxs)("form",{onSubmit:I,className:"relative w-full max-w-[650px] mx-auto mt-1 md:mt-2 space-y-2.5",children:[(0,t.jsx)("input",{type:"text",name:"website",value:m,onChange:e=>x(e.target.value),tabIndex:-1,autoComplete:"off",className:"absolute -left-[9999px] opacity-0 pointer-events-none","aria-hidden":"true"}),(0,t.jsx)("div",{className:"bg-[#120e30]/80 backdrop-blur-md border border-[#3a3470]/60 rounded-full px-5 md:px-6 py-2.5 md:py-3 shadow-[0_10px_36px_rgba(10,6,40,0.6)] focus-within:border-[#7c3aed] transition-colors",children:(0,t.jsx)("input",{type:"text",value:e,onCh
1ange:e=>r(e.target.value),placeholder:"First Name",required:!0,className:"w-full bg-transparent text-white placeholder-[#9a9cc0] focus:outline-none text-sm md:text-base font-medium",style:{fontFamily:"var(--font-inter), Inter, sans-serif"}})}),(0,t.jsx)("div",{className:"bg-[#120e30]/80 backdrop-blur-md border border-[#3a3470]/60 rounded-full px-5 md:px-6 py-2.5 md:py-3 shadow-[0_10px_36px_rgba(10,6,40,0.6)] focus-within:border-[#7c3aed] transition-colors",children:(0,t.jsx)("input",{type:"text",value:i,onChange:e=>n(e.target.value),placeholder:"Surname",required:!0,className:"w-full bg-transparent text-white placeholder-[#9a9cc0] focus:outline-none text-sm md:text-base font-medium",style:{fontFamily:"var(--font-inter), Inter, sans-serif"}})}),(0,t.jsxs)("div",{className:"relative flex items-center bg-[#120e30]/80 backdrop-blur-md border border-[#3a3470]/60 rounded-full px-5 md:px-6 py-[6px] md:py-[7px] shadow-[0_10px_36px_rgba(10,6,40,0.6)] focus-within:border-[#7c3aed] transition-colors overflow-hidden",children:[(0,t.jsx)("input",{type:"email",value:l,onChange:e=>o(e.target.value),placeholder:"Email",required:!0,className:"flex-1 min-w-0 bg-transparent text-white placeholder-[#9a9cc0] focus:outline-none text-sm md:text-base font-medium",style:{fontFamily:"var(--font-inter), Inter, sans-serif"}}),(0,t.jsx)("button",{type:"submit",disabled:u,className:"flex-shrink-0 px-5 md:px-7 py-1.5 md:py-2 bg-gradient-to-r from-[#7c3aed] via-[#a855f7] to-[#c084fc] text-white text-sm md:text-base font-semibold rounded-full shadow-[0_10px_30px_rgba(124,58,237,0.4)] hover:from-[#8b5cf6] hover:via-[#b06aff] hover:to-[#d08fff] transition-all disabled:opacity-50 disabled:cursor-not-allowed whitespace-nowrap",style:{fontFamily:"var(--font-nunito), Nunito, sans-serif",fontWeight:800},children:u?"...":"Join Waitlist"})]}),k&&(0,t.jsx)("p",{className:"text-red-400/80 text-sm mt-4",style:{fontFamily:"var(--font-inter), Inter, sans-serif"},children:k})]})}),!b&&(0,t.jsxs)("footer",{className:"mt-8 md:mt-10 flex flex-col items-center gap-20",children:[(0,t.jsxs)("div",{className:"flex justify-center items-center gap-6",children:[(0,t.jsx)("a",{href:"https://www.youtube.com/@Bloomsuite",target:"_blank",rel:"noopener noreferrer",className:"text-white/70 hover:text-white transition-colors","aria-label":"YouTube",children:(0,t.jsx)("svg",{className:"w-6 h-6",fill:"currentColor",viewBox:"0 0 24 24",children:(0,t.jsx)("path",{d:"M23.498 6.186a3.016 3.016 0 0 0-2.122-2.136C19.505 3.545 12 3.545 12 3.545s-7.505 0-9.377.505A3.017 3.017 0 0 0 .502 6.186C0 8.07 0 12 0 12s0 3.93.502 5.814a3.016 3.016 0 0 0 2.122 2.136c1.871.505 9.376.505 9.376.505s7.505 0 9.377-.505a3.015 3.015 0 0 0 2.122-2.136C24 15.93 24 12 24 12s0-3.93-.502-5.814zM9.545 15.568V8.432L15.818 12l-6.273 3.568z"})})}),(0,t.jsx)("div",{className:"w-px h-5 bg-[#2a3a4a]"}),(0,t.jsx)("a",{href:"https://www.linkedin.com/company/bloomsuite",target:"_blank",rel:"noopener noreferrer",className:"text-white/70 hover:text-white transition-colors","aria-label":"LinkedIn",children:(0,t.jsx)("svg",{className:"w-6 h-6",fill:"currentColor",viewBox:"0 0 24 24",children:(0,t.jsx)("path",{d:"M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zM5.337 7.433c-1.144 0-2.063-.926-2.063-2.065 0-1.138.92-2.063 2.063-2.063 1.14 0 2.064.925 2.064 2.063 0 1.139-.925 2.065-2.064 2.065zm1.782 13.019H3.555V9h3.564v11.452zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.222 0h.003z"})})})]}),(0,t.jsx)(a.default,{src:"/bloomsuite-brands-logos.png",alt:"Bloomsuite brand logos",width:900,height:130,className:"w-full max-w-[900px] h-auto opacity-70"})]})]})})]})})}var F=e.i(75055),M=e.i(66997),_=e.i(16242),T=e.i(86730),D=e.i(21934);e.i(5e4);var E=e.i(23073),R=e.i(86455),O=e.i(92485),W=e.i(12444),P=e.i(14764),U=e.i(93886),$=e.i(41240),B=e.i(72520);let A=(0,e.i(75254).default)("paperclip",[["path",{d:"m16 6-8.414 8.586a2 2 0 0 0 2.829 2.829l8.414-8.586a4 4 0 1 0-5.657-5.657l-8.379 8.551a6 6 0 1 0 8.485 8.485l8.379-8.551",key:"1miecu"}]]);var z=e.i(83086);let H=["Create a new video story","Brainstorm content ideas","Help me write a script"];function q(){let{user:e,isAuthenticated:d,loading:c,getIdToken:m}=(0,i.useAuthContext)(),{stories:x}
1=(0,T.useStories)(),[u,h]=(0,s.useState)(""),[p,b]=(0,s.useState)(!1),[g,v]=(0,s.useState)(null),[y,w]=(0,s.useState)(null),[N,j]=(0,s.useState)([]),[k,C]=(0,s.useState)(""),[S,q]=(0,s.useState)(null),L=(0,s.useRef)(null),J=(0,s.useRef)(null);(0,s.useEffect)(()=>{(0,M.warmupAgent)()},[]);let{conversation:Y}=(0,F.useConversation)(g||"");(0,s.useEffect)(()=>{Y&&Y.messages.length>0&&0===N.length&&j(Y.messages)},[Y,N.length]),(0,s.useEffect)(()=>{L.current&&(L.current.style.height="auto",L.current.style.height=`${Math.min(L.current.scrollHeight,200)}px`)},[u]),(0,s.useEffect)(()=>{J.current?.scrollIntoView({behavior:"smooth"})},[N,k]),(0,s.useEffect)(()=>{if(S){let e=setTimeout(()=>q(null),5e3);return()=>clearTimeout(e)}},[S]);let G=async e=>{let t="string"==typeof e?e:u;if(!t.trim()||p)return;let s=t.trim(),a=(0,R.shouldUseMotionAgent)(s);h(""),b(!0),C(""),q(null);try{let e,t=g,r=y||Y?.sessionId;if(!t){let e=await (0,F.createConversation)(s.slice(0,50)||"New Chat");t=e.conversationId,r=e.sessionId,v(t),w(r)}let i={id:crypto.randomUUID(),role:"user",text:s,date:new Date};j(e=>[...e,i]),await (0,F.addMessageToConversation)(t,s,"user");let n=await m(),l=(0,O.buildConversationContext)(N);if(a){let t=(0,O.buildMotionContext)(N);e=t?`${O.MOTION_RENDER_INSTRUCTION} 2 3${t}`:O.MOTION_RENDER_INSTRUCTION}else e=W.CONTENT_PLANNING_INSTRUCTION+(l?"\n\n"+l:"");let o=await fetch("/api/chat",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({message:s,sessionId:r,authToken:n,agentName:a?"motion_designer_agent":void 0,context:e})});if(!o.ok){let e=await o.json();throw Error(e.error||"Failed to get response")}if(!o.body)throw Error("No response body");let d=o.body.getReader(),c=new TextDecoder,x="",u="";for(;;){let{done:e,value:t}=await d.read();if(e)break;let s=(u+=c.decode(t,{stream:!0})).split("\n");for(let e of(u=s.pop()||"",s))if(e.startsWith("data: "))try{let t=JSON.parse(e.slice(6));switch(t.type){case"token":x+=t.content,a||((0,_.containsMotionPayloadHint)(x)?C("Creating your video..."):C(x));break;case"error":throw Error(t.error)}}catch(e){if(e instanceof SyntaxError)continue;throw e}}if(u.startsWith("data: "))try{let e=JSON.parse(u.slice(6));if("token"===e.type)x+=e.content,a||((0,_.containsMotionPayloadHint)(x)?C("Creating your video..."):C(x));else if("error"===e.type)throw Error(e.error)}catch(e){if(!(e instanceof SyntaxError))throw e}if(x){C("");let e=(0,_.parseMotionRenderRequests)((0,_.stripTrailingNonJson)(x));if(0===e.length){let e=(0,_.containsMotionPayloadHint)(x)?(0,_.extractUserFacingText)(x):x,s=(0,_.parseMessageContent)(x,t),a=0,r=0,i=[];for(let e of s.stories)try{e.conversationId=t,e.sessionId=y||void 0,await (0,T.saveStory)(e),i.push(e.id),a++}catch(e){console.error("Failed to save story:",e)}for(let e of s.ideas)try{await (0,D.saveIdea)(e),r++}catch(e){console.error("Failed to save idea:",e)}let n={id:crypto.randomUUID(),role:"blu",text:e||"Creating your video...",date:new Date,...i.length>0?{savedStoryIds:i}:{}};if(j(e=>[...e,n]),await (0,F.addMessageToConversation)(t,n.text,"blu",i.length>0?{savedStoryIds:i}:void 0),a>0||r>0){q({stories:a,ideas:r});try{let e=s.stories[0]?.title,a=s.ideas[0]?.title,r=e||a;r&&await (0,F.updateConversationTitle)(t,r)}catch(e){console.error("Failed to update conversation title:",e)}}}else{let s=(0,_.stripJSONBlocks)(x).trim(),a=s?s.split(/[.!?]/)[0].trim()+"!":"Here's what I created!",r=new E.CloudStorageProvider;if(!r.isAvailable){let s="Motion render failed. Storage is not available.",a={id:crypto.randomUUID(),role:"blu",text:s,date:new Date,motionStatus:"failed",motionError:"Storage is not available",motionRequests:JSON.stringify(e)};j(e=>[...e,a]),await (0,F.addMessageToConversation)(t,s,"blu",{motionStatus:"failed",motionError:"Storage is not available",motionRequests:JSON.stringify(e)}),C("");return}let i=e[0];try{let s=await (0,M.renderMotion)(i,n??void 0);if(s.ok&&s.blob){let n=crypto.randomUUID(),l=`motion-${i.compositionId}-${Date.now()}.mp4`,o=new File([s.blob],l,{type:"video/mp4"}),d=await r.upload(o,{filename:l}),c={id:n,compositionId:i.compositionId,inputProps:i.inputProps||{},videoURL:d.url,filename:l,renderedAt:new Date,...void 0!==i.durationInFrames&&{durationInFrames:i.durationInFrames},...void 0!==i.fps&&{fps:i.fps}},m={id:crypto.randomUUID(),role:"blu",text:a,date:new Date,videoURL:d.url,motionStatus:"rendered",motionRequests:JSON.stringify(e),renderedMotion:c};j(e=>[...e,m]),await (0,F.addMessageToConversation)(t,m.text,"blu",{videoURL:d.url,motionStatus:"rendered",motionRequests:JSON.stringify(e),renderedMotion:c})}else{let a=`Motion render failed (${s.status}).`,r={id:crypto.randomUUID(),role:"blu",text:a,date:new Date,motionStatus:"failed",motionError:s.error,motionRequests:JSON.stringify(e)};j(e=>[...e,r]),await (0,F.addMessageToConversation)(t,a,"blu",{motionStatus:"failed",motionError:s.error,motionRequests:JSON.stringify(e)})}}catch(r){console.error("Motion render error:",r);let s="Motion render failed.",a={id:crypto.randomUUID(),role:"blu",text:s,date:new Date,motionStatus:"failed",motionError:r instanceof Error?r.message:"Unknown error",motionRequests:JSON.stringify(e)};j(e=>[...e,a]),await (0,F.addMessageToConversation)(t,s,"blu",{motionStatus:"failed",motionError:r instanceof Error?r.message:"Unknown error",motionRequests:JSON.stringify(e)})}}}C("")}catch(t){console.error("Error sending message:",t);
3let e={id:crypto.randomUUID(),role:"blu",text:"Sorry, I encountered an error. Please try again.",date:new Date};j(t=>[...t,e]),C("")}finally{b(!1)}},V=e=>{"Enter"!==e.key||e.shiftKey||(e.preventDefault(),G())};if(c)return(0,t.jsx)("div",{className:"min-h-screen flex items-center justify-center",children:(0,t.jsxs)("div",{className:"flex items-center gap-3",children:[(0,t.jsx)("div",{className:"w-8 h-8 animate-pulse-glow",children:(0,t.jsx)(a.default,{src:"/bloomsuite_logo_v2_ocean-teal.png",alt:"Blu",width:32,height:32})}),(0,t.jsx)("span",{className:"text-muted-foreground",children:"Loading..."})]})});if(!d)return(0,t.jsx)(I,{});let K=N.length>0||k,Q=x.slice(0,3),X=new Date().getHours(),Z=e?.displayName?.split(" ")[0]||e?.email?.split("@")[0]||"Creator";return(0,t.jsxs)("div",{className:"home-shell h-screen flex flex-col overflow-hidden bg-transparent",children:[(0,t.jsx)(n.Navbar,{}),(0,t.jsxs)("div",{className:"flex flex-1 min-h-0 overflow-hidden",children:[(0,t.jsx)(l.HomeSidebar,{onNewChat:()=>{v(null),w(null),j([]),C(""),h(""),q(null)},onSelectChat:e=>{v(e),j([]),C(""),h(""),q(null)},hideNewChat:!1,activeConversationId:g}),(0,t.jsx)("main",{className:"relative flex-1 overflow-hidden",children:(0,t.jsx)("div",{className:"relative flex h-full min-h-0 flex-col overflow-hidden bg-[#0e0e18]",children:K?(0,t.jsxs)("div",{className:"flex flex-col flex-1 min-h-0 overflow-hidden",children:[(0,t.jsxs)("div",{className:"flex-1 overflow-y-auto px-8 pt-10 pb-6",children:[N.map(e=>(0,t.jsx)(o.ChatMessage,{message:e,onSendMessage:G},e.id)),k&&(0,t.jsx)(o.ChatMessage,{message:{id:"streaming",role:"blu",text:k,date:new Date},isProcessing:p}),p&&!k&&(0,t.jsx)(o.ChatMessage,{message:{id:"thinking",role:"blu",text:"",date:new Date},isProcessing:!0}),(0,t.jsx)("div",{ref:J})]}),S&&(0,t.jsxs)("div",{className:"mx-8 mb-4 flex flex-shrink-0 items-center gap-3 rounded-2xl border border-white/10 bg-white/6 p-4",children:[(0,t.jsxs)("div",{className:"flex items-center gap-3",children:[S.stories>0&&(0,t.jsxs)("span",{className:"flex items-center gap-2 text-sm text-white/88",children:[(0,t.jsx)(U.Film,{className:"w-4 h-4"}),S.stories," ",1===S.stories?"story":"stories"," saved"]}),S.stories>0&&S.ideas>0&&(0,t.jsx)("span",{className:"text-muted-foreground",children:"â¢"}),S.ideas>0&&(0,t.jsxs)("span",{className:"flex items-center gap-2 text-sm text-white/88",children:[(0,t.jsx)($.Lightbulb,{className:"w-4 h-4"}),S.ideas," ",1===S.ideas?"idea":"ideas"," saved"]})]}),(0,t.jsx)("div",{className:"flex-1"}),(0,t.jsxs)("div",{className:"flex gap-4",children:[S.stories>0&&(0,t.jsx)(r.default,{href:"/stories",className:"text-sm text-primary hover:text-primary/80",children:"View Stories"}),S.ideas>0&&(0,t.jsx)(r.default,{href:"/ideas",className:"text-sm text-primary hover:text-primary/80",children:"View Ideas"})]})]}),(0,t.jsx)("div",{className:"flex-shrink-0 px-8 pt-4 pb-6",children:(0,t.jsxs)("div",{className:"rounded-xl border border-white/10 bg-[#222220] p-4",children:[(0,t.jsx)("textarea",{ref:L,value:u,onChange:e=>h(e.target.value),onKeyDown:V,placeholder:"Reply...",rows:1,disabled:p,className:"w-full resize-none bg-transparent text-[15px] text-white placeholder:text-white/30 focus:outline-none",style:{minHeight:"28px",maxHeight:"180px"}}),(0,t.jsxs)("div",{className:"mt-3 flex items-center justify-between border-t border-white/8 pt-3",children:[(0,t.jsxs)("div",{className:"flex items-center gap-2 text-xs text-white/35",children:[(0,t.jsx)(z.Sparkles,{className:"h-3.5 w-3.5"}),"Blu can draft stories, ideas, and scripts."]}),(0,t.jsxs)("button",{onClick:G,disabled:!u.trim()||p,className:"flex items-center gap-2 rounded-full bg-amber-500 px-5 py-2 text-sm font-semibold text-white transition-colors hover:bg-amber-400 disabled:opacity-50",children:[(0,t.jsx)(P.Send,{className:"w-3.5 h-3.5"}),(0,t.jsx)("span",{children:"Send"})]})]})]})})]}):(0,t.jsx)("div",{className:"flex-1 overflow-y-auto",children:(0,t.jsxs)("div",{className:"mx-auto flex min-h-full w-full max-w-[1100px] flex-col px-8 pb-8 pt-16",children:[(0,t.jsx)("div",{className:"flex flex-1 flex-col",children:(0,t.jsxs)("div",{className:"mx-auto w-full",children:[(0,t.jsx)("div",{className:"text-center",children:(0,t.jsxs)("h1",{className:"text-2xl font-bold tracking-[-0.03em] text-white md:text-3xl",children:[X<12?"Good Morning":X<18?"Good Afternoon":"Good Evening",", ",Z]})}),(0,t.jsxs)("div",{className:"mx-auto mt-8 max-w-[820px] rounded-xl border border-white/10 bg-[#222220] px-5 py-5",children:[(0,t.jsx)("textarea",{ref:L,value:u,onChange:e=>h(e.target.value),onKeyDown:V,placeholder:"What's next...",rows:3,className:"min-h-[100px] w-full resize-none bg-transparent text-[15px] leading-relaxed text-white placeholder:text-white/30 focus:outline-none",style:{maxHeight:"200px"}}),(0,t.jsxs)("div",{className:"mt-4 flex items-center justify-between border-t border-white/8 pt-4",children:[(0,t.jsx)("button",{type:"button",className:"flex h-9 w-9 items-center justify-center rounded-full text-white/35 transition-colors hover:bg-white/5 hover:text-white/70","aria-label":"Attach media",children:(0,t.jsx)(A,{className:"h-4 w-4"})}),(0,t.jsx)("button",{onClick:G,disabled:!u.trim()||p,className:"rounded-full bg-amber-500 px-6 py-2.5 text-sm font-semibold text-white transition-colors hover:bg-amber-400 disabled:opacity-50",children:"Send"})]})]}),(0,t.jsx)("div",{className:"mt-5 flex flex-wrap justify-center gap-3",children:H.map((e,s)=>(0,t.jsx)("button",{onClick:()=>{h(e),L.current?.focus()},className:"rounded-full border border-white/12 bg-transparent px-5 py-2.5 text-sm text-white/80 transition-all hover:border-amber-400/30 hover:bg-white/5 hover:text-white",children:e},s))})]})}),(0,t.jsxs)("div",{className:"mt-10",children:[(0,t.jsxs)("div",{className:"mb-6 flex items-center gap-4",children:[(0,t.jsx)("p",{className:"shrink-0 text-xs font-semibold uppercase tracking-[0.18em] text-white/35",children:"Recent Projects"}),(0,t.jsx)("div",{className:"h-px flex-1 bg-white/8"}),(0,t.jsxs)(r.default,{href:"/workspace?tab=stories",className:"flex shrink-0 items-center gap-1.5 text-sm font-semibold text-amber-400 transition-colors hover:text-amber-300",children:["Browse all",(0,t.jsx)(B.ArrowRight,{className:"h-3.5 w-3.5"})]})]}),(0,t.jsxs)("div",{className:"grid gap-4 md:grid-cols-2 xl:grid-cols-3",children:[Q.map(e=>{let s=e.steps.find(e=>e.cloudVideoPath)?.cloudVideoPath,a=e.steps?.length||0;return(0,t.jsxs)(r.default,{href:`/stories/${e.id}`,className:"group overflow-hidden rounded-xl border border-white/8 bg-[#222220] transition-transform hover:-translate-y-0.5",children:[(0,t.jsxs)("div",{className:"relative aspect-[16/9] overflow-hidden bg-gradient-to-br from-slate-700 via-slate-800 to-slate-900",children:[s?(0,t.jsx)("video",{className:"h-full w-full object-cover transition-transform duration-500 group-hover:scale-105",src:s,muted:!0,playsInl
3ine:!0,preload:"metadata"}):(0,t.jsx)("div",{className:"absolute inset-0 bg-[radial-gradient(circle_at_top,rgba(255,255,255,0.15),transparent_38%),linear-gradient(135deg,rgba(245,188,80,0.25),rgba(30,30,28,0.95))]"}),(0,t.jsx)("div",{className:"absolute inset-0 bg-gradient-to-t from-black/40 via-transparent to-transparent"})]}),(0,t.jsxs)("div",{className:"space-y-1.5 px-4 py-3",children:[(0,t.jsx)("h3",{className:"text-sm font-semibold text-white",children:e.title}),(0,t.jsxs)("p",{className:"text-xs text-white/40",children:[a," ",1===a?"shot":"shots"," ",(0,t.jsx)("span",{className:"mx-1",children:"·"}),e.isDemo?"Featured demo":e.createdAt.toLocaleDateString()]}),(0,t.jsx)("div",{className:"inline-flex rounded-md border border-amber-400/25 px-2.5 py-0.5 text-[11px] font-medium text-amber-300",children:e.isDemo?"Preview":"In Edit"})]})]},e.id)}),0===Q.length&&(0,t.jsx)("div",{className:"rounded-xl border border-dashed border-white/10 bg-white/3 p-6 text-sm text-white/50",children:"Create a story and it will appear here."})]})]})]})})})})]}),(0,t.jsx)(f,{})]})}e.s(["default",()=>q],52683)}]);
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.