1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,94468,e=>{"use strict";var t=e.i(201429),a=e.i(293508),s=e.i(235162),r=e.i(393915),l=e.i(322687),i=e.i(279965),n=e.i(296871),o=e.i(865683);let d=e=>`feature-${e.trim().toLowerCase().replace(/&/g,"and").replace(/[^a-z0-9]+/g,"-").replace(/^-|-$/g,"")}`,c="[scrollbar-width:none] [&::-webkit-scrollbar]:hidden";e.s(["ExploreFeatures",0,function({data:e}){let[x,p]=(0,a.useState)(e.groups[0].id),u=e.items.filter(e=>e.group===x),[m,f]=(0,a.useState)(u[0].label),h=u.find(e=>e.label===m)??u[0],g=(0,l.useSlidingPill)(x),b=(0,l.useSlidingPill)(h.label);return(0,t.jsxs)("section",{className:"flex w-full flex-col items-center gap-6 px-4 py-10 md:gap-8 md:px-10 md:py-16",children:[(0,t.jsxs)(n.Motion,{variant:"fade-up",delay:0,className:"flex flex-col items-center gap-3",children:[(0,t.jsx)("h2",{className:"text-center text-[30px] font-extrabold leading-tight text-black md:text-[42px]",children:e.heading}),(0,t.jsx)("p",{className:"max-w-[520px] text-center text-base leading-relaxed text-[#707092]",children:e.subheading})]}),(0,t.jsx)(n.Motion,{variant:"fade-in",delay:100,className:`-mx-4 max-w-[100vw] overflow-x-auto px-4 md:mx-0 md:px-0 ${c}`,children:(0,t.jsxs)("div",{ref:g.stripRef,role:"tablist",className:"relative flex w-max gap-1 rounded-full border border-solid border-[#E4DCF7] bg-white p-1",children:[g.pillStyle&&(0,t.jsx)("div",{"aria-hidden":"true",className:"pointer-events-none absolute z-0 rounded-full bg-[#252540] transition-all duration-300 ease-out",style:g.pillStyle}),e.groups.map(a=>{let s=a.id===x;return(0,t.jsx)("button",{ref:g.tabRef(a.id),role:"tab","aria-selected":s,onClick:()=>{var t;p(t=a.id),f(e.items.find(e=>e.group===t).label)},className:["relative z-10 cursor-pointer whitespace-nowrap rounded-full px-4 py-2 text-xs font-semibold transition-colors duration-200 md:px-5 md:text-sm",s?"text-white":"text-[#4A4A66] hover:text-[#E91E63]"].join(" "),children:a.label},a.id)})]})}),(0,t.jsxs)(n.Motion,{variant:"scale-in",delay:150,className:"grid w-full max-w-[1040px] gap-4 md:grid-cols-[240px_1fr] md:gap-6",children:[(0,t.jsxs)("div",{ref:b.stripRef,className:`relative -mx-4 flex gap-1.5 overflow-x-auto px-4 md:mx-0 md:flex-col md:gap-1 md:overflow-visible md:px-0 ${c}`,children:[b.pillStyle&&(0,t.jsx)("div",{"aria-hidden":"true",className:"pointer-events-none absolute z-0 rounded-full bg-[#252540] transition-all duration-300 ease-out md:rounded-xl md:border-0 md:border-l-[3px] md:border-solid md:border-l-[#E91E63] md:bg-white md:shadow-[0_4px_16px_-4px_rgba(91,63,191,0.18)]",style:b.pillStyle}),u.map(e=>{let a=e.label===h.label;return(0,t.jsx)("button",{ref:b.tabRef(e.label),onClick:()=>f(e.label),"aria-pressed":a,"aria-controls":d(e.label),className:["relative z-10 shrink-0 cursor-pointer whitespace-nowrap rounded-full border border-solid px-3.5 py-1.5 text-xs font-medium transition-colors duration-200 md:rounded-xl md:border-l-[3px] md:px-4 md:py-3 md:text-left md:text-[15px]",a?"border-transparent text-white md:font-semibold md:text-[#1A1A2E]":"border-[#D8D0F0] text-[#4A4A66] hover:text-[#E91E63] md:border-transparent md:bg-transparent md:hover:bg-white/70"].join(" "),children:e.label},e.label)})]}),(0,t.jsxs)("div",{className:"flex min-w-0 flex-col gap-4",children:[(0,t.jsx)("div",{className:"relative overflow-hidden rounded-[20px]",style:{border:"2px solid rgba(196,181,255,0.4)",boxShadow:"0 24px 64px -8px rgba(91,63,191,0.15), 0 4px 16px -2px rgba(0,0,0,0.09)",aspectRatio:"16/9"},children:(0,t.jsx)(o.LazyVideo,{alt:h.label,className:"h-full w-full object-cover",src:h.src,poster:h.poster},h.src)}),e.items.map(e=>{let a=e.label===h.label,s=d(e.label);return(0,t.jsxs)("p",{id:s,"data-feature":s.replace(/^feature-/,""),className:`${a?"block":"hidden"} text-pretty text-sm leading-relaxed text-[#4A4A66] md:text-[15px]`,"aria-hidden":!a,children:[e.description,e.href&&(0,t.jsxs)(t.Fragment,{children:[" ",(0,t.jsxs)("a",{href:`${r.URL_SITE_WEB}${e.href}`,className:"whitespace-nowrap font-semibold text-[#5B3FBF] underline underline-offset-2",children:[e.label," â"]})]})]},e.label)})]})]}),(0,t.jsx)(n.Motion,{variant:"fade-up",delay:200,children:(0,t.jsx)(i.ButtonLarge,{href:e.ctaHref?`${r.URL_SITE_WEB}${e.ctaHref}`:r.URL_SITE_WEB,title:e.ctaText,variant:"primary",size:"large",iconRight:(0,t.jsx)(s.IconArrowForward,{className:"size-4"})})})]})}])},212575,e=>{"use strict";var t=e.i(201429),a=e.i(150951),s=e.i(7731),r=e.i(293508),l=e.i(462662),i=e.i(235162),n=e.i(279965),o=e.i(296871),d=e.i(740943),c=e.i(865683);let x=(0,a.default)(()=>e.A(896814).then(e=>
1e.BrandMarquee),{loadableGenerated:{modules:[192754]},ssr:!1,loading:()=>(0,t.jsx)("div",{"aria-hidden":"true",className:"h-[28px]"})});function p({data:e,voiceoverSampleUrl:a}){let[i,n]=(0,r.useState)(!1),c=(0,r.useRef)(null);return(0,r.useEffect)(()=>{n(!1);let e=new Audio(a);c.current=e;let t=()=>n(!1);return e.addEventListener("ended",t),()=>{e.pause(),e.currentTime=0,e.removeEventListener("ended",t),c.current=null}},[a]),(0,t.jsx)(o.Motion,{variant:"fade-left",delay:100,children:(0,t.jsxs)("div",{className:"group relative flex w-full cursor-pointer flex-col gap-4 overflow-hidden rounded-[20px] p-5 transition-all duration-300 hover:-translate-y-1 hover:shadow-2xl hover:shadow-black/40 md:w-[270px] md:shrink-0 md:rounded-[24px] md:p-8",style:{background:"#252540",boxShadow:"0 4px 24px -2px rgba(0,0,0,0.3)"},children:[(0,t.jsx)("div",{className:"pointer-events-none absolute inset-0 -translate-x-full bg-gradient-to-r from-transparent via-white/4 to-transparent transition-transform duration-700 group-hover:translate-x-full"}),(0,t.jsx)("span",{className:"w-fit rounded-full px-[14px] py-[6px] text-xs font-semibold text-white",style:{background:"rgba(255,255,255,0.13)"},children:e.badge}),(0,t.jsx)("h3",{className:"text-xl font-extrabold leading-snug text-white md:text-2xl",children:e.title}),(0,t.jsx)(d.RichText,{html:e.description,className:"text-sm leading-relaxed text-[#B0B0C8] [&_a]:font-semibold"}),(0,t.jsx)("div",{className:"flex items-center justify-center gap-[3px] rounded-xl px-4 py-0",style:{background:"rgba(255,255,255,0.08)",height:72},children:[24,40,56,36,48,32,60,40,28,52,36,44].map((e,a)=>(0,t.jsx)("div",{className:`w-[3px] rounded-full transition-[height] duration-300 ${i?"animate-pulse":""}`,style:{height:i?e:.6*e,animationDelay:`${90*a}ms`,background:a%2==0?"#E91E63":"rgba(233,30,99,0.5)"}},a))}),(0,t.jsxs)("div",{className:"mt-auto flex items-center justify-between gap-3",children:[(0,t.jsx)("button",{type:"button",onClick:function(e){e.stopPropagation();let t=c.current;if(t){if(i){t.pause(),t.currentTime=0,n(!1);return}t.play().then(()=>n(!0)).catch(()=>n(!1))}},className:"flex h-10 w-10 cursor-pointer items-center justify-center rounded-full transition-opacity hover:opacity-90 active:scale-95 md:h-12 md:w-12",style:{background:"#E91E63"},"aria-label":i?e.ariaStop:e.ariaPlay,children:i?(0,t.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"white","aria-hidden":"true",children:(0,t.jsx)("rect",{x:"6",y:"6",width:"12",height:"12",rx:"1.5"})}):(0,t.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"white","aria-hidden":"true",children:(0,t.jsx)("path",{d:"M8 5v14l11-7z"})})}),(0,t.jsx)(s.default,{href:e.linkUrl,className:"w-fit cursor-pointer text-sm font-semibold text-white/90 transition-opacity hover:opacity-70 active:scale-95",children:(0,t.jsx)(l.Button,{title:e.linkText,size:"small",variant:"textPrimary",className:"!px-0"})})]})]})})}e.s(["FeaturesHighlights",0,function({data:e}){return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("section",{className:"w-full border-b border-slate-200 py-8 md:py-12",children:(0,t.jsxs)("div",{className:"mx-auto flex max-w-5xl flex-col gap-7 px-4 md:gap-10 md:px-6",children:[(0,t.jsx)("div",{className:"grid grid-cols-1 gap-4 md:grid-cols-3",children:e.stats.map((e,a)=>(0,t.jsx)(o.Motion,{variant:"scale-in",delay:80*a,children:(0,t.jsxs)("div",{className:"flex h-full flex-col items-center justify-center gap-1.5 rounded-2xl border border-slate-400/60 bg-[#252540] px-5 py-6 shadow-[0_10px_30px_-12px_rgba(15,23,42,0.35),0_0_0_1px_rgba(248,250,252,0.7)]",children:[(0,t.jsx)("span",{className:"text-[30px] font-extrabold tracking-tight text-white",children:e.value}),(0,t.jsx)("span",{className:"text-center text-[11px] font-bold tracking-[0.22em] text-gray-400",children:e.label})]})},e.label))}),(0,t.jsxs)(o.Motion,{variant:"fade-in",delay:0,className:"flex flex-col gap-5",children:[(0,t.jsx)("p",{className:"text-center text-[11px] font-semibold tracking-[2.5px] text-slate-500 uppercase",children:e.trustedByLine}),(0,t.jsx)(x,{brandLogos:e.brandLogos})]})]})}),(0,t.jsxs)("section",{className:"relative left-1/2 right-1/2 -mx-[50vw] w-screen overflow-hidden bg-[#1A1A2E] px-4 py-10 md:px-10 md:py-14 lg:px-14",children:[(0,t.jsx)("div",{"aria-hidden":"true",className:"pointer-events-none absolute -right-40 top-6 h-[360
1px] w-[360px] opacity-[0.06] blur-[1px]",style:{backgroundImage:"url(/fliki-logo.png)",backgroundRepeat:"no-repeat",backgroundSize:"contain",backgroundPosition:"center center"}}),(0,t.jsxs)("div",{className:"relative mx-auto flex max-w-5xl flex-col gap-4",children:[(0,t.jsx)(o.Motion,{variant:"fade-up",delay:0,children:(0,t.jsx)("h2",{className:"mb-4 text-center text-[28px] font-extrabold leading-tight text-white md:text-[38px]",children:e.heading})}),(0,t.jsxs)("div",{className:"flex flex-col gap-5 md:flex-row",children:[(0,t.jsx)(o.Motion,{variant:"fade-right",delay:0,className:"flex flex-1",children:(0,t.jsxs)("div",{className:"group relative flex flex-1 cursor-pointer flex-col gap-5 overflow-hidden rounded-[20px] p-5 transition-all duration-300 hover:-translate-y-1 hover:shadow-2xl hover:shadow-black/40 md:flex-row md:gap-6 md:rounded-[24px] md:p-8",style:{background:"#252540",boxShadow:"0 4px 24px -2px rgba(0,0,0,0.3)"},children:[(0,t.jsx)("div",{className:"pointer-events-none absolute inset-0 -translate-x-full bg-gradient-to-r from-transparent via-white/4 to-transparent transition-transform duration-700 group-hover:translate-x-full"}),(0,t.jsxs)("div",{className:"flex flex-1 flex-col gap-4",children:[(0,t.jsx)("span",{className:"w-fit rounded-full px-[14px] py-[6px] text-xs font-semibold text-white",style:{background:"rgba(255,255,255,0.13)"},children:e.cards.ideaToVideo.badge}),(0,t.jsxs)("h3",{className:"text-xl font-extrabold leading-snug text-white md:text-2xl",children:[e.cards.ideaToVideo.titleLines[0],(0,t.jsx)("br",{}),e.cards.ideaToVideo.titleLines[1]]}),(0,t.jsx)(d.RichText,{html:e.cards.ideaToVideo.description,className:"text-sm leading-relaxed text-[#B0B0C8] [&_a]:font-semibold"}),(0,t.jsx)(s.default,{href:e.cards.ideaToVideo.linkUrl,className:"mt-auto w-fit cursor-pointer text-sm font-semibold text-[#E91E63] transition-opacity hover:opacity-70 active:scale-95",children:(0,t.jsx)(l.Button,{title:e.cards.ideaToVideo.linkText,size:"medium",variant:"textPrimary",className:"!px-0"})})]}),(0,t.jsx)("div",{className:"w-full md:w-[400px] md:shrink-0 md:self-center",children:(0,t.jsx)(c.LazyVideo,{src:e.cards.ideaToVideo.videoSrc,className:"block h-auto w-full max-h-[520px] rounded-xl object-contain md:rounded-2xl"})})]})}),(0,t.jsx)(p,{data:e.cards.textToSpeech,voiceoverSampleUrl:e.voiceoverSampleUrl})]}),(0,t.jsxs)("div",{className:"flex flex-col gap-5 md:flex-row",children:[(0,t.jsx)(o.Motion,{variant:"fade-right",delay:0,children:(0,t.jsxs)("div",{className:"group relative flex w-full cursor-pointer flex-col gap-4 overflow-hidden rounded-[20px] p-5 transition-all duration-300 hover:-translate-y-1 hover:shadow-2xl hover:shadow-black/40 md:w-[360px] md:shrink-0 md:rounded-[24px] md:p-8",style:{background:"#252540",boxShadow:"0 4px 24px -2px rgba(0,0,0,0.3)"},children:[(0,t.jsx)("div",{className:"pointer-events-none absolute inset-0 -translate-x-full bg-gradient-to-r from-transparent via-white/4 to-transparent transition-transform duration-700 group-hover:translate-x-full"}),(0,t.jsx)("span",{className:"w-fit rounded-full px-[14px] py-[6px] text-xs font-semibold text-white",style:{background:"rgba(255,255,255,0.13)"},children:e.cards.series.badge}),(0,t.jsxs)("h3",{className:"text-xl font-extrabold leading-snug text-white md:text-2xl",children:[e.cards.series.titleLines[0],(0,t.jsx)("br",{}),e.cards.series.titleLines[1]]}),(0,t.jsx)(d.RichText,{html:e.cards.series.description,className:"text-sm leading-relaxed text-[#B0B0C8] [&_a]:font-semibold"}),(0,t.jsx)("div",{className:"relative z-0 mt-auto flex items-end justify-center px-0.5 pt-[0.8rem]",children:e.cards.series.episodeImages.map((a,s)=>(0,t.jsxs)("div",{className:["relative w-[96px] shrink-0 overflow-hidden rounded-xl border border-white/15 shadow-lg ring-1 ring-black/25 transition-transform duration-300 ease-out md:w-[125px]","[transform:translate(0,var(--y))_rotate(var(--r))] group-hover:[transform:translate(var(--hx),var(--hy))_rotate(calc(var(--r)*2))]",0===s&&"z-10",1===s&&"z-40",2===s&&"z-30",s>0&&"-ml-7 md:-ml-[39.6px]"].filter(Boolean).join(" "),style:{"--r":`${a.rotateDeg}deg`,"--y":1===s?"-0.6rem":"0px","--hy":1===s?"-1.1rem":"0px","--hx":0===s?"-14px":2===s?"14px":"0px"},children:[(0,t.jsx)("div",{className:"relative aspect-video w-full",children:(0,t.jsx)("img",{src:a.src,alt:a.alt,loading:"lazy",decoding:"async",className:"object-cover",sizes:"(max-width: 768px) 120px, 150px"})}),(0,t.jsxs)("span",{className:"absolute bottom-1 left-1 rounded bg-black/55 px-1 py-px text-[9px] font-semibold text-white backdrop-blur-sm",children:[e.cards.series.episodeLabelPrefix," ",s+1]})]},a.src))}),(0,t.jsx)(s.default,{href:e.cards.series.linkUrl,className:"mt-4 w-fit cursor-pointer text-sm font-semibold text-[#E91E63] transition-opacity hover:opacity-70 active:scale-95",children:(0,t.jsx)(l.Button,{title:e.cards.series.linkText,size:"small",variant:"textPrimary",className:"!px-0"})})]})}),(0,t.jsx)(o.Motion,{variant:"fade-left",delay:100,className:"flex flex-1",children:(0,t.jsxs)("div",{className:"group relative flex flex-1 cursor-pointer flex-col gap-4 overflow-hidden rounded-[20px] p-5 transition-all duration-300 hover:-translate-y-1 hover:shadow-2xl hover:shadow-black/40 md:flex-row md:gap-6 md:rounded-[24px] md:py-8 md:pl-8 md:pr-[232px]",style:{background:"#F4F2FA",boxShadow:"0 4px 24px -2px rgba(0,0,0,0.3)"},children:[(0,t.jsx)("div",{className:"pointer-events-none absolute inset-0 -translate-x-full bg-gradient-to-r from-transparent via-white/4 to-transparent transition-transform duration-700 group-hover:translate-x-full"}),(0,t.jsxs)("div",{className:"flex flex-1 flex-col gap-4",children:[(0,t.jsx)("span",{className:"w-fit roun
1ded-full px-[14px] py-[6px] text-xs font-semibold text-[#1A1A2E]",style:{background:"rgba(26,26,46,0.08)"},children:e.cards.digitalTwin.badge}),(0,t.jsxs)("h3",{className:"text-xl font-extrabold leading-snug text-[#1A1A2E] md:text-2xl",children:[e.cards.digitalTwin.titleLines[0],(0,t.jsx)("br",{}),e.cards.digitalTwin.titleLines[1]]}),(0,t.jsx)(d.RichText,{html:e.cards.digitalTwin.description,className:"text-sm leading-relaxed text-[#4A4A66] [&_a]:font-semibold [&_a]:text-[#1A1A2E]"}),(0,t.jsx)(n.ButtonLarge,{href:e.cards.digitalTwin.linkUrl,title:e.cards.digitalTwin.buttonText,variant:"primary",className:"mt-2 w-fit",iconRight:(0,t.jsx)(i.IconArrowForward,{})})]}),(0,t.jsx)("div",{className:"absolute inset-y-0 right-0 hidden w-[200px] overflow-hidden bg-[#141428] md:block",children:(0,t.jsx)(c.LazyVideo,{src:e.cards.digitalTwin.videoSrc,className:"h-full w-full object-cover transition-transform duration-700 group-hover:scale-105"})})]})})]}),(0,t.jsx)(o.Motion,{variant:"fade-in",delay:200,children:(0,t.jsx)("div",{className:"pt-4 text-center text-[13px] text-[#B0B0C8]",children:e.footerNote})})]})]})]})}])},257175,e=>{"use strict";var t=e.i(201429),a=e.i(393915),s=e.i(279965),r=e.i(296871),l=e.i(235162);e.s(["FinalCTA",0,function({data:e}){let{badgeText:i,heading:n,cta:o,subNote:d}=e;return(0,t.jsx)("section",{className:"w-full px-6 py-14 md:px-10",children:(0,t.jsx)("div",{className:"mx-auto max-w-5xl",children:(0,t.jsx)(r.Motion,{variant:"scale-in",delay:0,children:(0,t.jsxs)("div",{className:"relative flex flex-col items-center gap-5 overflow-hidden rounded-[20px] px-6 py-10 text-center md:gap-7 md:rounded-[28px] md:px-10 md:py-16",style:{background:"linear-gradient(160deg, #1A1030 0%, #0F0820 100%)",boxShadow:"0 0 80px 10px rgba(233,30,99,0.25), 0 2px 12px rgba(0,0,0,0.4)"},children:[(0,t.jsx)("div",{"aria-hidden":"true",className:"pointer-events-none absolute bottom-0 left-1/2 h-32 w-1/2 -translate-x-1/2 rounded-full blur-3xl",style:{background:"rgba(233,30,99,0.18)"}}),(0,t.jsxs)("div",{className:"flex items-center gap-1.5 rounded-full px-3.5 py-1.5 text-[11px] font-semibold text-white/70",style:{background:"rgba(255,255,255,0.08)",border:"1px solid rgba(255,255,255,0.12)"},children:[(0,t.jsx)("span",{className:"h-1.5 w-1.5 rounded-full bg-[#E91E63]","aria-hidden":"true"}),i]}),(0,t.jsx)("h2",{className:"relative max-w-[620px] text-[26px] font-extrabold leading-[1.15] tracking-[-0.5px] text-white md:text-[40px] lg:text-[60px]",children:n}),(0,t.jsx)(s.ButtonLarge,{href:a.URL_APP_WEB,title:o.text,variant:"primary",size:"large",iconRight:(0,t.jsx)(l.IconArrowForward,{})}),(0,t.jsx)("p",{className:"relative text-[13px] text-white/40",children:d})]})})})})}])},321236,e=>{e.v({heroRotatingWord:"style-module-scss-module__8vHPNq__heroRotatingWord",heroRotatingWordFlip:"style-module-scss-module__8vHPNq__heroRotatingWordFlip",heroRotatingWordReduced:"style-module-scss-module__8vHPNq__heroRotatingWordReduced",heroRotatingWordWrap:"style-module-scss-module__8vHPNq__heroRotatingWordWrap"})},210207,e=>{"use strict";var t=e.i(201429),a=e.i(7284),s=e.i(293508),r=e.i(462662),l=e.i(235162),i=e.i(844836),n=e.i(155900),o=e.i(393915),d=e.i(842501),c=e.i(296871),x=e.i(275368),p=e.i(837313),u=e.i(18866),m=e.i(721488),f=e.i(185011),h=e.i(42629),g=e.i(245651),b=e.i(883262),v=e.i(20036),j=e.i(689546),w=e.i(692226),y=e.i(893448);let N="Love it â let's bring this to life. Sign up free to generate the full video.";function k({text:e,animate:a}){let[r,l]=(0,s.useState)(a?"":e);return(0,s.useEffect)(()=>{if(!a)return;let t=0,s=window.setInterval(()=>{t+=2,l(e.slice(0,t)),t>=e.length&&window.clearInterval(s)},16);return()=>window.clearInterval(s)},[]),(0,t.jsx)(t.Fragment,{children:r})}function _({seedPrompt:e,cast:r,onReset:d}){let[c,E]=(0,s.useState)([]),[S,R]=(0,s.useState)(!1),[A,P]=(0,s.useState)(""),[C,F]=(0,s.use
1State)({}),[B,L]=(0,s.useState)(void 0),[T,I]=(0,s.useState)(0),[z,M]=(0,s.useState)(!1),[D,U]=(0,s.useState)(null),[W,$]=(0,s.useState)(!1),[H,V]=(0,s.useState)(null),q=(0,s.useRef)(0),K=()=>`i${++q.current}`,G=(0,s.useRef)(0),O=(0,s.useRef)(!1),J=(0,s.useRef)(null),Y=(0,s.useRef)(null),Q=(0,s.useRef)(!1),X=(0,s.useRef)(!1),Z=(0,s.useRef)(null),ee=(0,s.useRef)(null),et=(0,s.useMemo)(()=>c.filter(e=>"msg"===e.kind&&"assistant"===e.role).length,[c]),ea=et>=4;(0,s.useEffect)(()=>{Z.current?.scrollTo({top:Z.current.scrollHeight,behavior:"smooth"})},[c,S]),(0,s.useEffect)(()=>{if(X.current)return;X.current=!0,(0,n.capturePosthog)("hero_chat_started");let t={id:K(),kind:"msg",role:"user",text:e.trim()};E([t]),er([t])},[]);let es=e=>{Q.current||(Q.current=!0,(0,n.capturePosthog)("hero_chat_cta_shown",{turns:et,imagesUsed:G.current}),E(t=>[...t,{id:K(),kind:"cta",pitch:e}]))},er=async e=>{let t=e.filter(e=>"msg"===e.kind).map(e=>({role:e.role,content:e.apiText??e.text})),a=Math.min(t.filter(e=>"assistant"===e.role).length+1,4);R(!0);try{let s=await v.api.common.heroChat.mutate({messages:t,turn:a,...B?{language:B}:{}}),r=s?.data;if(!r){M(!0),es(s?.message||N);return}F(r.inferred??{}),r.inferred?.language&&L(r.inferred.language),E(e=>[...e,{id:K(),kind:"msg",role:"assistant",text:r.reply,animate:!0}]);let l=e.some(e=>"mockup"===e.kind),i=!!r.mockup?.should&&!!r.mockup.prompt&&0===G.current&&!l;if(r.askedEnough||a>=4){M(!0);let e=r.pitch||N;i?Y.current=e:es(e)}i&&el(r.mockup.prompt,r.mockup.aspectRatio,D?[D.destination]:void 0)}catch(e){(0,g.notify)({success:!1,message:e?.message||"Something went wrong. Please try again."})}finally{R(!1)}},el=(e,t,a)=>{if(G.current>=3)return void(0,g.notify)({success:!1,message:"Sign up free to generate more previews."});let s=K();J.current={id:s,prompt:e,aspectRatio:t,referenceImages:a},E(e=>[...e,{id:s,kind:"mockup",status:"loading"}]),(0,w.isDevelopment)()?ei("dev-bypass"):V(e=>null===e||!e)},ei=async e=>{let t=J.current;if(t)try{let a=await v.api.common.heroMockup.mutate({prompt:t.prompt,aspectRatio:t.aspectRatio,...t.referenceImages?{referenceImages:t.referenceImages}:{},tokenCaptcha:e}),s=a?.data?.file;s?(G.current+=1,I(G.current),E(e=>e.map(e=>e.id===t.id?{...e,status:"done",file:s}:e)),(0,n.capturePosthog)("hero_chat_preview_generated",{hasReference:!!t.referenceImages?.length})):(E(e=>e.map(e=>e.id===t.id?{...e,status:"error"}:e)),(0,n.capturePosthog)("hero_chat_preview_failed",{reason:"limit_or_empty"}),a?.message&&(0,g.notify)({success:!1,message:a.message}))}catch(e){E(e=>e.map(e=>e.id===t.id?{...e,status:"error"}:e)),(0,n.capturePosthog)("hero_chat_preview_failed",{reason:"error"}),(0,g.notify)({success:!1,message:e?.message||"Could not generate the preview. Please try again."})}finally{if(J.current=null,Y.current){let e=Y.current;Y.current=null,es(e)}}},en=()=>{let e=A.trim();if(!e||S||ea)return;let t=D&&!O.current?`${e} 2 3(Note: I uploaded a reference photo to feature in the video â base the preview on it.)`:void 0;t&&(O.current=!0);let a=[...c,{id:K(),kind:"msg",role:"user",text:e,apiText:t}];E(a),P(""),(0,n.capturePosthog)("hero_chat_message_sent",{turn:et+1}),er(a)},eo=async e=>{if(!e.type.startsWith("image/"))return void(0,g.notify)({success:!1,message:"Please upload an image."});if(e.size>0x1400000)return void(0,g.notify)({success:!1,message:"File size should be less than 20MB."});try{$(!0);let t=await v.api.mediaMy.signUrlPublic.mutate({extension:e.name.split(".").pop()});if(!t?.data)return void(0,g.notify)({success:!1,message:t?.message||"Upload failed."});await (0,b.uploadToSignedUrl)({url:t.data.url,file:e}),O.current=!1,U({destination:t.data.destination,name:e.name}),(0,g.notify)({success:!0,message:"Photo added â I'll use it in your preview."})}catch{(0,g.notify)({success:!1,message:"Error uploading image."})}finally{$(!1)}},ed=(t="hero_chat")=>{(0,i.trackGA4Event)("signup_cta_clicked",{button_location:t}),(0,n.capturePosthog)("hero_chat_signup_clicked",{source:t,turns:et,imagesUsed:T});let a={type:"idea",format:"video",data:(C.idea||e).trim(),url:""};C.duration&&(a.duration=C.duration),C.aspectRatio&&(a.aspectRatio=C.aspectRatio),C.tone&&(a.tone=C.tone),C.artStyle&&(a.artStyle=C.artStyle),r&&Object.assign(a,(0,y.castMagic)(r));let s=new URL(o.URL_APP_WEB);s.pathname="/welcome",s.searchParams.set("magic",JSON.stringify(a)),window.location.href=(0,n.appendPosthogDistinctId)(s.toString())};return(0,t.jsxs)("div",{className:"jsx-ee8812bb322fc1f2 flex w-full flex-col overflow-hidden rounded-[24px] bg-white/95 text-left shadow-xl shadow-pink-500/10",children:[(0,t.jsxs)("div",{className:"jsx-ee8812bb322fc1f2 flex items-center justify-between border-b border-slate-100 px-4 py-3 md:px-5",children:[(0,t.jsxs)("div",{className:"jsx-ee8812bb322fc1f2 flex items-center gap-2",children:[(0,t.jsx)("span",{className:"jsx-ee8812bb322fc1f2 inline-flex h-7 w-7 items-center justify-center rounded-full bg-gradient-to-br from-[#E91E63] to-[#FF4D8D] text-white",children:(0,t.jsx)(p.IconAwesome,{className:"h-4 w-4"})}),(0,t.jsxs)("div",{className:"jsx-ee8812bb322fc1f2 leading-tight",children:[(0,t.jsx)("p",{className:"jsx-ee8812bb322fc1f2 text-sm font-semibold text-slate-900",children:"Fliki AI"}),(0,t.jsx)("p",{className:"jsx-ee8812bb322fc1f2 text-[11px] text-slate-400",children:"Planning your video"})]})]}),d?(0,t.jsxs)("button",{type:"button",onClick:()=>{(0,n.capturePosthog)("hero_chat_reset",{turns:et,imagesUsed:T}),d()},className:"jsx-ee8812bb322fc1f2 inline-flex items-center gap-1 rounded-full px-2.5 py-1.5 text-xs font-medium text-slate-500 transition-colors hover:bg-slate-100 hover:text-slate-700",children:[(0,t.jsx)(u.IconClose,{className:"h-3.5 w-3.5"}),"New idea"]}):null]}),(0,t.jsxs)("div",{ref:Z,className:"jsx-ee8812bb322fc1f2 flex max-h-[52vh] min-h-[20rem] flex-col gap-3 overflow-y-auto px-4 py-4 md:px-5",children:[c.map(e=>{if("msg"===e.kind){let s="user"===e.role;return(0,t.jsx)("div",{className:"jsx-ee8812bb322fc1f2 "+((0,a.default)("flex w-full",s?"justify-end":"justify-start")||""),children:(0,t.jsx)("div",{className:"jsx-ee8812bb322fc1f2 "+((0,a.default)("max-w-[85%] whitespace-pre-wrap rounded-2xl px-3.5 py-2.5 text-sm leading-relaxed",s?"rounded-br-md bg-gradient-to-br from-[#E91E63] to-[#FF4D8D] text-white":"rounded-bl-md bg-slate-100 text-slate-700")||""),children:s?e.text:(0,t.jsx)(k,{text:e.text,animate:e.animate})})},e.id)}return"mockup"===e.kind?(0,t.jsx)("div",{className:"jsx-ee8812bb322fc1f2 flex w-full justify-start",children:(0,t.jsx)("div",{className:"jsx-ee8812bb322fc1f2 max-w-[15rem]",children:"loading"===e.status?(0,t.jsxs)("div",{className:"jsx-ee8812bb322fc1f2 relative flex flex-col items-center gap-3 overflow-hidden rounded-2xl border border-pink-100 bg-gradient-to-br from-pink-50/70 via-white to-fuchsia-50/50 px-4 py-6 text-center",children:[(0,t.jsxs)("div",{className:"jsx-ee8812bb322fc1f2 relative",children:[(0,t.jsx)("span",{className:"jsx-ee8812bb322fc1f2 absolute inset-0 -m-1.5 animate-ping rounded-full bg-pink-300/50"}),(0,t.jsx)("span",{style:{boxShadow:"0 10px 22px -6px rgba(233,30,99,0.45)"},className:"jsx-ee8812bb322fc1f2 relative flex h-11 w-11 items-center justify-center rounded-full bg-gradient-to-br from-[#E91E63] to-[#FF4D8D] text-white",children:(0,t.jsx)(p.IconAwesome,{className:"h-5 w-5"})})]}),(0,t.jsx)("p",{className:"jsx-ee8812bb322fc1f2 text-sm font-semibold text-slate-900",children:"Painting a preview of your videoâ¦"}),(0,t.jsx)("div",{className:"jsx-ee8812bb322fc1f2 relative h-1 w-40 overflow-hidden rounded-full bg-pink-100/80",children:(0,t.jsx)("span",{className:"jsx-ee8812bb322fc1f2 absolute inset-y-0 -left-1/3 w-1/3 animate-[herochat-shimmer_1.4s_linear_infinite] rounded-full bg-gradient-to-r from-transparent via-[#E91E63] to-transparent"})})]}):"error"===e.status?(0,t.jsx)("div",{className:"jsx-ee8812bb322fc1f2 rounded-2xl border border-slate-200 bg-slate-50 px-4 py-3 text-sm text-slate-500",children:"Couldn't render that preview â but your video will look great. Let's keep going."}):(0,t.jsxs)("div",{style:{boxShadow:"0 16px 36px -20px rgba(233,30,99,0.35)"},className:"jsx-ee8812bb322fc1f2 group relative w-fit overflow-hidden rounded-xl border border-pink-100 bg-slate-900",children:[(0,t.jsx)("img",{src:(0,w.mediaUrl)(e.file),alt:"Preview of your video",className:"jsx-ee8812bb322fc1f2 block max-h-56 w-auto max-w-full object-contain transition-transform duration-500 ease-out group-hover:scale-[1.02]"}),(0,t.jsxs)("span",{className:"jsx-ee8812bb322fc1f2 pointer-events-none absolute left-3 top-3 inline-flex items-center gap-1.5 rounded-full bg-white/95 px-2.5 py-1 text-[10px] font-semibold uppercase tracking-wide text-slate-900 shadow-sm backdrop-blur-sm",children:[(0,t.jsx)("span",{className:"jsx-ee8812bb322fc1f2 inline-flex h-1.5 w-1.5 rounded-full bg-[#E91E63]"}),"Preview"]})]})})},e.id):(0,t.jsx)("div",{className:"jsx-ee8812bb322fc1f2 mt-1 flex w-full justify-center",children:(0,t.jsxs)("div",{style:{boxShadow:"0 14px 34px -12px rgba(233,30,99,0.3)"},className:"jsx-ee8812bb322fc1f2 flex w-full max-w-sm flex-col items-center gap-3 rounded-2xl border border-pink-200 bg-white px-5 py-5 text-center",children:[(0,t.jsx)("span",{style:{boxShadow:"0 8px 18px -6px rgba(233,30,99,0.5)"},className:"jsx-ee8812bb322fc1f2 inline-flex h-10 w-10 items-center justify-center rounded-full bg-gradient-to-br from-[#E91E63] to-[#FF4D8D] text-white",children:(0,t.jsx)(p.IconAwesome,{className:"h-5 w-5"})}),(0,t.jsx)("p",{className:"jsx-ee8812bb322fc1f2 text-sm font-semibold text-slate-900",children:e.pitch}),(0,t.jsxs)("button",{type:"button",onClick:()=>ed("hero_chat"),style:{boxShadow:"0 6px 16px -4px rgba(233,30,99,0.4)"},className:"jsx-ee8812bb322fc1f2 inline-flex w-full items-center justify-center gap-2 rounded-full bg-gradient-to-br from-[#E91E63] to-[#FF4D8D] px-5 py-3 text-sm font-semibold text-white transition-all duration-200 hover:-translate-y-0.5 hover:opacity-95 active:scale-95",children:["Sign up free to generate your video",(0,t.jsx)(l.IconArrowForward,{className:"h-4 w-4"})]}),(0,t.jsx)("p",{className:"jsx-ee8812bb322fc1f2 text-[11px] text-slate-400",children:"No credit card needed · longer & full-HD videos on paid plans"})]})},e.id)}),S?(0,t.jsx)("div",{className:"jsx-ee8812bb322fc1f2 flex w-full justify-start",children:(0,t.jsx)("div",{className:"jsx-ee8812bb322fc1f2 inline-flex items-center gap-1 rounded-2xl rounded-bl-md bg-slate-100 px-3.5 py-3",children:[0,1,2].map(e=>(0,t.jsx)("span",{style:{animationDelay:`${120*e}ms`},className:"jsx-ee8812bb322fc1f2 h-1.5 w-1.5 animate-bounce rounded-full bg-slate-400"},e))})}):null]}),(0,t.jsxs)("div",{className:"jsx-ee8812bb322fc1f2 border-t border-slate-100 px-4 py-3 md:px-5",children:[et>=2&&!z?(0,t.jsx)("div",{className:"jsx-ee8812bb322fc1f2 mb-2 flex justify-end",children:(0,t.jsxs)("button",{type:"button",onClick:()=>ed("hero_chat_skip"),className:"jsx-ee8812bb322fc1f2 inline-flex items-center gap-1 rounded-full px-2.5 py-1 text-xs font-medium text-[#E91E63] transition-opacity hover:opacity-80",children:["Skip â
3create my video now",(0,t.jsx)(l.IconArrowForward,{className:"h-3.5 w-3.5"})]})}):null,D?(0,t.jsxs)("div",{className:"jsx-ee8812bb322fc1f2 mb-2 flex items-center gap-2 self-start rounded-lg border border-slate-200 bg-slate-50 px-2.5 py-1.5",children:[(0,t.jsx)("span",{className:"jsx-ee8812bb322fc1f2 inline-flex h-6 w-6 items-center justify-center rounded-md bg-pink-100 text-[#E91E63]",children:(0,t.jsx)(m.IconImage,{className:"h-3.5 w-3.5"})}),(0,t.jsx)("span",{className:"jsx-ee8812bb322fc1f2 max-w-[12rem] flex-1 truncate text-xs text-slate-600",children:D.name}),(0,t.jsx)("button",{type:"button",onClick:()=>U(null),"aria-label":"Remove image",className:"jsx-ee8812bb322fc1f2 inline-flex h-5 w-5 items-center justify-center rounded-full text-slate-400 hover:bg-slate-200 hover:text-slate-700",children:(0,t.jsx)(u.IconClose,{className:"h-3 w-3"})})]}):null,(0,t.jsxs)("div",{className:"jsx-ee8812bb322fc1f2 flex items-end gap-2",children:[(0,t.jsx)("button",{type:"button",onClick:()=>ee.current?.click(),disabled:W||z,title:W?"Uploadingâ¦":"Add a photo to feature","aria-label":"Upload a photo",className:"jsx-ee8812bb322fc1f2 inline-flex h-9 w-9 flex-shrink-0 items-center justify-center rounded-full border border-slate-200 bg-white text-slate-600 transition-colors hover:border-slate-300 hover:text-slate-900 disabled:opacity-50",children:W?(0,t.jsx)(h.LoaderCircle,{}):(0,t.jsx)(f.IconUpload,{className:"h-4 w-4"})}),(0,t.jsx)("textarea",{rows:1,value:A,onChange:e=>P(e.target.value),onKeyDown:e=>{"Enter"!==e.key||e.shiftKey||(e.preventDefault(),en())},disabled:S||ea,placeholder:ea?"Sign up to keep refining your video":"Reply to Fliki AIâ¦",className:"jsx-ee8812bb322fc1f2 max-h-28 min-h-[2.25rem] w-full resize-none rounded-2xl bg-slate-100 px-3.5 py-2 text-sm leading-relaxed text-slate-700 placeholder:text-slate-400 focus:outline-none focus:ring-2 focus:ring-[#E91E63]/30 disabled:opacity-60"}),(0,t.jsx)("button",{type:"button",onClick:en,disabled:!A.trim()||S||ea,style:{boxShadow:"0 6px 16px -4px rgba(233,30,99,0.4)"},"aria-label":"Send",className:"jsx-ee8812bb322fc1f2 inline-flex h-9 w-9 flex-shrink-0 items-center justify-center rounded-full bg-gradient-to-br from-[#E91E63] to-[#FF4D8D] text-white transition-all duration-200 hover:opacity-95 active:scale-95 disabled:cursor-not-allowed disabled:opacity-40",children:(0,t.jsx)(l.IconArrowForward,{className:"h-4 w-4"})})]})]}),(0,t.jsx)("input",{ref:ee,type:"file",accept:"image/png,image/jpeg,image/webp",onChange:e=>{e.target.files?.length&&eo(e.target.files[0]),e.target.value=""},className:"jsx-ee8812bb322fc1f2 hidden"}),(0,w.isDevelopment)()?null:(0,t.jsx)(j.Captcha,{callback:e=>ei(e),toggle:H,setToken:()=>{}}),(0,t.jsx)(x.default,{id:"ee8812bb322fc1f2",children:"@keyframes herochat-shimmer{0%{transform:translate(0)}to{transform:translate(420%)}}"})]})}var E=e.i(321236);function S({className:e}){return(0,t.jsxs)("svg",{className:e,width:18,height:18,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:1.75,strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:[(0,t.jsx)("path",{d:"M15 14c.2-1 .7-1.7 1.5-2.5 1-.9 1.5-2.2 1.5-3.5A6 6 0 0 0 6 8c0 1 .2 2.2 1.5 3.5.7.7 1.3 1.5 1.5 2.5"}),(0,t.jsx)("path",{d:"M9 18h6"}),(0,t.jsx)("path",{d:"M10 22h4"})]})}e.s(["Hero",0,e=>{let{title:x,description:p,cta:u,prompt:m}=e,f=!0===e.enableIdeaCycler,h=e.enableChat??f,[g,b]=(0,s.useState)(""),[v,j]=(0,s.useState)(0),[w,N]=(0,s.useState)(!1),[k,R]=(0,s.useState)(0),[A,P]=(0,s.useState)(null),[C,F]=(0,s.use
3State)(null),[B,L]=(0,s.useState)({character:null,voice:null}),T=e.characters??[],I=e.voices??[],z=(0,s.useRef)(null),M=x.highlight?.length?x.highlight:["text","idea","script","blog","PPT"],D=f?m?.ideaPrompts??[]:[],U=m?.placeholder??"Describe the video you want to generateâ¦";(0,s.useEffect)(()=>{let e=null,t=0,a=()=>{e=null,z.current&&(z.current.style.transform=`translateY(${.25*t}px)`)},s=()=>{t=window.scrollY,null===e&&(e=window.requestAnimationFrame(a))};return window.addEventListener("scroll",s,{passive:!0}),s(),()=>{null!==e&&window.cancelAnimationFrame(e),window.removeEventListener("scroll",s)}},[]),(0,s.useEffect)(()=>{let e=window.setInterval(()=>{R(e=>(e+1)%M.length)},3e3);return()=>window.clearInterval(e)},[M.length]);let W=()=>{if(0===g.trim().length)return void N(!0);if((0,i.trackGA4Event)("signup_cta_clicked",{button_location:"hero"}),h)return void P(g.trim());let e=u.href??o.URL_APP_WEB;if(!f){window.location.href=(0,n.appendPosthogDistinctId)(e);return}let t=new URL(e);t.pathname="/welcome",t.searchParams.set("magic",JSON.stringify({type:"idea",format:"video",data:g.trim(),url:"",...(0,y.castMagic)(B)})),window.location.href=(0,n.appendPosthogDistinctId)(t.toString())};return(0,t.jsxs)("section",{className:"relative w-full pt-8 md:pt-10",children:[(0,t.jsxs)("div",{ref:z,"aria-hidden":"true",className:"pointer-events-none absolute inset-0 -z-10 will-change-transform",children:[(0,t.jsx)("div",{className:"absolute -top-16 left-1/2 h-[340px] w-[340px] -translate-x-1/2 rounded-full bg-pink-200/30 blur-3xl"}),(0,t.jsx)("div",{className:"absolute top-6 right-1/4 h-[240px] w-[240px] rounded-full bg-violet-200/25 blur-3xl"}),(0,t.jsx)("div",{className:"absolute top-20 left-1/4 h-[200px] w-[200px] rounded-full bg-fuchsia-100/30 blur-3xl"})]}),(0,t.jsx)(d.Wrapper,{children:(0,t.jsxs)("div",{className:"mx-auto flex w-full max-w-3xl flex-col items-center text-center",children:[(0,t.jsx)(c.Motion,{variant:"fade-up",delay:0,children:(0,t.jsxs)("h1",{className:"text-balance text-4xl font-extrabold tracking-tight text-slate-900 md:text-6xl",children:[(0,t.jsx)("span",{children:x.prefix})," ",(0,t.jsx)("span",{className:E.default.heroRotatingWordWrap,children:(0,t.jsx)("span",{className:(0,a.default)(E.default.heroRotatingWord,"text-slate-900"),children:M[k]},M[k])})," ",(0,t.jsx)("span",{children:(()=>{let e=x.suffix??"",a=e.includes(" with ")?" with ":e.includes(" con ")?" con ":null;if(!a)return e;let[s,...r]=e.split(a),l=r.join(a);return(0,t.jsxs)(t.Fragment,{children:[s,(0,t.jsx)("br",{}),a.trim()," ",l]})})()})]})}),(0,t.jsx)(c.Motion,{variant:"fade-up",delay:100,children:(0,t.jsx)("p",{className:"mt-3 max-w-xl text-sm leading-relaxed text-slate-500 md:text-base",children:p})}),(0,t.jsx)(c.Motion,{variant:"fade-up",delay:200,className:"mt-7 w-full max-w-2xl",children:A?(0,t.jsx)(_,{seedPrompt:A,cast:B,onReset:()=>P(null)}):(0,t.jsxs)("div",{className:"relative w-full rounded-[24px] border-none bg-white/90 px-5 py-4 text-left shadow-xl shadow-pink-500/10 transition-shadow duration-300 focus-within:shadow-2xl focus-within:shadow-pink-500/15",children:[(0,t.jsx)("textarea",{rows:2,value:g,onChange:e=>{b(e.target.value),w&&e.target.value.trim().length>0&&N(!1)},onKeyDown:e=>{"Enter"!==e.key||e.shiftKey||(e.preventDefault(),W())},placeholder:U,className:"w-full resize-none bg-transparent text-sm leading-relaxed text-slate-700 placeholder:text-slate-400 focus:outline-none"}),(0,t.jsxs)("div",{className:"mt-3 flex items-center justify-between gap-3",children:[(0,t.jsx)("div",{className:"flex flex-wrap items-center gap-2",children:(0,t.jsx)(y.HeroCastChips,{characters:T,voices:I,selection:B,openRail:C,onToggleRail:e=>F(t=>t===e?null:e)})}),(0,t.jsxs)("div",{className:"flex flex-wrap items-center gap-2",children:[f&&(0,t.jsx)("button",{type:"button",className:"cursor-pointer inline-flex items-center justify-center rounded-lg p-2 text-slate-600 transition-colors hover:bg-slate-100/90 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-slate-400 focus-visible:ring-offset-2 active:scale-95 disabled:cursor-not-allowed disabled:opacity-50 disabled:hover:bg-transparent",onClick:()=>
3{if(0===D.length)return;let e=(v+1)%D.length;j(e),b(D[e]),N(!1)},"aria-label":"Cycle video ideas",title:D.length?"Generate an idea":"No ideas available",disabled:0===D.length,children:(0,t.jsx)(S,{})}),(0,t.jsx)(r.Button,{title:u.text,iconRight:(0,t.jsx)(l.IconArrowForward,{}),size:"small",onClick:W})]})]}),(0,t.jsx)(y.HeroCastRail,{rail:C,characters:T,voices:I,selection:B,onSelect:e=>L(t=>({...t,...e})),onClose:()=>F(null)}),w&&(0,t.jsx)("p",{className:"mt-2 text-xs font-medium text-[#E11D48]",children:"Enter a prompt first or pick an idea to get started."})]})})]})})]})}],210207)},49066,e=>{"use strict";var t=e.i(201429),a=e.i(293508),s=e.i(393915),r=e.i(279965),l=e.i(296871);let i="M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z",n=["md:-rotate-2","md:rotate-1 md:translate-y-4","md:-rotate-1"];e.s(["Testimonials",0,function({data:e,maxWidth:o="max-w-5xl"}){let[d,c]=(0,a.useState)(0),x=(0,a.useId)(),p=e.rotatingRoles;return(0,a.useEffect)(()=>{if(0===p.length)return;let e=setInterval(()=>c(e=>(e+1)%p.length),3e3);return()=>clearInterval(e)},[p.length]),(0,t.jsx)("section",{className:"relative w-full overflow-hidden px-4 py-10 md:px-10 md:py-16",style:{background:"#1A1A2E"},children:(0,t.jsxs)("div",{className:`relative mx-auto flex flex-col items-center gap-12 ${o}`,children:[(0,t.jsxs)(l.Motion,{variant:"fade-up",delay:0,className:"flex flex-col items-center gap-4",children:[(0,t.jsxs)("h2",{className:"max-w-[900px] text-center text-[30px] font-extrabold leading-tight text-white md:text-[38px]",children:[e.headingPrefix,p.length>0?(0,t.jsxs)(t.Fragment,{children:[" ",(0,t.jsx)("span",{children:p[d]},p[d])," "]}):" ",e.headingSuffix]}),(0,t.jsxs)("div",{className:"flex items-center gap-1",children:[Array.from({length:4}).map((e,a)=>(0,t.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",className:"text-amber-400",children:(0,t.jsx)("path",{d:i,fill:"currentColor"})},a)),(0,t.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",className:"text-amber-400",children:[(0,t.jsx)("defs",{children:(0,t.jsxs)("linearGradient",{id:x,x1:"0",y1:"0",x2:"1",y2:"0",children:[(0,t.jsx)("stop",{offset:"0%",stopColor:"#F59E0B"}),(0,t.jsx)("stop",{offset:"60%",stopColor:"#F59E0B"}),(0,t.jsx)("stop",{offset:"60%",stopColor:"transparent"}),(0,t.jsx)("stop",{offset:"100%",stopColor:"transparent"})]})}),(0,t.jsx)("path",{d:i,fill:`url(#${x})`,stroke:"currentColor",strokeWidth:"1.2"})]})]}),(0,t.jsx)("p",{className:"text-base font-medium text-[#B0B0C8]",children:e.ratingLine})]}),(0,t.jsx)("div",{className:"grid w-full gap-8 md:grid-cols-3 md:gap-6",children:e.cards.map((e,a)=>(0,t.jsx)(l.Motion,{variant:"scale-in",delay:100*a,children:(0,t.jsxs)("figure",{className:`relative flex h-full flex-col justify-between gap-6 rounded-[24px] p-6 pt-10 shadow-[0_18px_40px_-20px_rgba(0,0,0,0.6)] transition-transform duration-300 ease-out hover:-translate-y-2 hover:rotate-0 md:p-8 md:pt-12 ${n[a%n.length]}`,style:{background:"#252540",border:`1px solid color-mix(in srgb, ${e.accent} 40%, transparent)`},children:[(0,t.jsx)("span",{"aria-hidden":!0,className:"absolute -top-6 left-6 flex h-12 w-12 items-center justify-center rounded-2xl font-serif text-[44px] font-black leading-none text-[#1A1A2E] shadow-lg",style:{background:e.accent},children:"â"}),(0,t.jsxs)("div",{className:"flex flex-col gap-3",children:[(0,t.jsx)("div",{className:"flex gap-0.5 text-amber-400","aria-hidden":!0,children:Array.from({length:5}).map((e,a)=>(0,t.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 24 24",children:(0,t.jsx)("path",{d:i,fill:"currentColor"})},a))}),(0,t.jsx)("blockquote",{className:"text-[17px] font-medium text-white/90",style:{lineHeight:1.6},children:e.quote})]}),(0,t.jsxs)("figcaption",{className:"flex items-center gap-4",children:[(0,t.jsx)("div",{className:"relative h-12 w-12 shrink-0 overflow-hidden rounded-full p-[2px]",style:{background:e.accent},children:(0,t.jsx)("img",{src:e.avatarSrc,alt:e.name,sizes:"48px",loading:"lazy",decoding:"async",className:"h-full w-full rounded-full object-cover"})}),(0,t.jsxs)("div",{children:[(0,t.jsx)("p",{className:"text-[15px] font-bold text-white",children:e.name}),(0,t.jsx)("p",{className:"text-[13px] text-[#A6A6C0]",children:e.role})]})]})]})},e.name))}),(0,t.jsx)(l.Motion,{variant:"fade-up",delay:300,children:(0,t.jsx)(r.ButtonLarge,{href:s.URL_APP_WEB,title:e.cta.text,variant:"primary",size:"large"})})]})})}])}]);
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.