1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[99153],{2571:(e,t,a)=>{"use strict";a.d(t,{Q:()=>n});var r=a(57505),i=a(20792);function n(e){var t=(0,r._)((0,i.useState)(!0),2),a=t[0],n=t[1];return(0,i.useEffect)(function(){var t=window.matchMedia(e);n(t.matches);var a=function(){return n(t.matches)};return t.addEventListener("change",a),function(){t.removeEventListener("change",a)}},[e]),a}},9477:(e,t,a)=>{"use strict";a.r(t),a.d(t,{Stats:()=>s});var r=a(69140),i=a(42430),n=a(42803);function s(e){var t,a,s=e.section,o=e.className,l=(s.title||"").split("\n"),d=s.highlight_text||"",c=function(e,t){if(d&&e.includes(d)){var a=e.split(d);return(0,r.jsxs)("span",{children:[a[0],(0,r.jsx)("span",{className:"bg-gradient-to-r from-[#cc99ff] via-[#ee8866] to-[#ffaa66] bg-clip-text text-transparent",children:d}),a[1]]},t)}return(0,r.jsx)("span",{className:"text-foreground",children:e},t)},u=null==(t=s.description)?void 0:t.trim();return(0,r.jsxs)("section",{id:s.id,className:(0,n.cn)("relative overflow-hidden py-20 md:py-32",s.className,o),children:[(0,r.jsxs)("div",{className:"pointer-events-none absolute inset-0",children:[(0,r.jsx)("div",{className:"via-border/70 absolute inset-x-0 top-0 h-px bg-gradient-to-r from-transparent to-transparent"}),(0,r.jsx)("div",{className:"via-border/50 absolute inset-x-0 bottom-0 h-px bg-gradient-to-r from-transparent to-transparent"}),(0,r.jsx)("div",{className:"bg-primary/15 absolute -top-36 left-1/2 h-72 w-72 -translate-x-1/2 rounded-full blur-[100px]"})]}),(0,r.jsxs)("div",{className:"container mx-auto max-w-6xl px-4",children:[(0,r.jsx)(i.i,{children:(0,r.jsxs)("div",{className:"mx-auto mb-10 max-w-3xl text-center md:mb-14",children:[(0,r.jsx)("h2",{className:"text-3xl font-bold tracking-tight md:text-4xl lg:text-5xl",children:l.map(function(e,t){return(0,r.jsx)("span",{className:"block",children:c(e,t)},t)})}),u&&(0,r.jsx)("p",{className:"text-muted-foreground mx-auto mt-4 max-w-2xl text-sm leading-relaxed md:text-base",children:u})]})}),(0,r.jsx)(i.i,{delay:.2,children:(0,r.jsx)("div",{className:"grid grid-cols-1 gap-4 sm:grid-cols-3 sm:gap-5",children:null==(a=s.items)?void 0:a.map(function(e,t){var a=(e.title||"").length>8,i=e.label;return(0,r.jsxs)("div",{className:"group border-border/60 bg-card/45 hover:border-primary/40 hover:bg-card/65 relative overflow-hidden rounded-2xl border p-5 text-center backdrop-blur-sm transition-all duration-300 hover:-translate-y-1 md:p-7",children:[(0,r.jsx)("div",{className:"via-primary/60 absolute inset-x-0 top-0 h-px bg-gradient-to-r from-transparent to-transparent opacity-70"}),(0,r.jsx)("div",{className:"bg-primary/10 absolute -top-20 left-1/2 h-40 w-40 -translate-x-1/2 rounded-full opacity-0 blur-3xl transition-opacity duration-300 group-hover:opacity-100"}),(0,r.jsxs)("h3",{className:"sr-only",children:[e.title," ",e.description]}),i&&(0,r.jsx)("div",{className:"text-muted-foreground/80 mb-4 text-[11px] font-semibold tracking-[0.18em] uppercase",children:i}),(0,r.jsx)("div",{className:(0,n.cn)("mx-auto bg-gradient-to-r from-[#cc99ff] via-[#ee8866] to-[#ffaa66] bg-clip-text font-extrabold tracking-tight text-transparent",a?"max-w-[10ch] text-4xl leading-[1.03] md:text-5xl":"text-5xl md:text-7xl"),children:e.title}),(0,r.jsx)("p",{className:"text-muted-foreground mt-4 text-sm leading-relaxed md:text-[15px]",children:e.description})]},t)})})})]})]})}},9627:(e,t,a)=>{"use strict";a.r(t),a.d(t,{Header:()=>C});var r=a(32812),i=a(20857),n=a(7907),s=a(57505),o=a(69140),l=a(20792),d=a(76351),c=a(41936),u=a(28632),m=a(74078),p=a(80590),h=a(47041),x=a(69231),g=a(4586),f=a(42803),v=l.forwardRef(function(e,t){var a=e.className,s=e.children,l=e.viewport,d=void 0===l||l,c=(0,n._)(e,["className","children","viewport"]);return(0,o.jsxs)(h.bL,(0,i._)((0,r._)({ref:t,"data-slot":"navigation-menu","data-viewport":d,role:"navigation",className:(0,f.cn)("group/navigation-menu relative flex max-w-max flex-1 items-center justify-center",a)},c),{children:[s,d&&(0,o.jsx)(_,{})]}))});function b(e){var t=e.className,a=(0,n._)(e,["className"]);return(0,o.jsx)(h.B8,(0,r._)({"data-slot":"navigation-menu-list",className:(0,f.cn)("group flex flex-1 list-none items-center justify-center gap-1",t)},a))}function y(e){var t=e.className,a=(0,n._)(e,["className"]);return(0,o.jsx)(h.q7,(0,r._)({"data-slot":"navigation-menu-item",className:(0,f.cn)("relative",t)},a))}v.displayName=h.bL.displayName;var j=(0,x.F)("group inline-flex h-8 w-max items-center justify-center rounded-md px-4 py-1 text-sm text-muted-foreground font-medium hover:bg-foreground
1/5 hover:text-foreground focus:bg-foreground/5 focus:text-foreground disabled:pointer-events-none disabled:opacity-50 data-[state=open]:hover:bg-foreground/5 data-[state=open]:text-foreground data-[state=open]:focus:bg-foreground/5 data-[state=open]:bg-foreground/5 focus-visible:ring-ring/50 outline-none transition-[color,box-shadow] focus-visible:ring-[3px] focus-visible:outline-1");function w(e){var t=e.className,a=e.children,s=(0,n._)(e,["className","children"]);return(0,o.jsxs)(h.l9,(0,i._)((0,r._)({"data-slot":"navigation-menu-trigger",className:(0,f.cn)(j(),"group",t)},s),{children:[a," ",(0,o.jsx)(g.A,{className:"relative top-[1px] ml-1.5 size-3 opacity-75 transition duration-300 group-data-[state=open]:translate-y-px","aria-hidden":"true",strokeWidth:2.5})]}))}function N(e){var t=e.className,a=(0,n._)(e,["className"]);return(0,o.jsx)(h.UC,(0,r._)({"data-slot":"navigation-menu-content",className:(0,f.cn)("left-0 top-0 w-full p-2 pr-2.5 md:absolute md:w-auto","data-[motion=from-end]:animate-enter-from-right data-[motion=from-start]:animate-enter-from-left data-[motion=to-end]:animate-exit-to-right data-[motion=to-start]:animate-exit-to-left","group-data-[viewport=false]/navigation-menu:text-popover-foreground group-data-[viewport=false]/navigation-menu:data-[state=open]:animate-in group-data-[viewport=false]/navigation-menu:data-[state=closed]:animate-out group-data-[viewport=false]/navigation-menu:data-[state=closed]:zoom-out-95 group-data-[viewport=false]/navigation-menu:data-[state=open]:zoom-in-95 group-data-[viewport=false]/navigation-menu:data-[state=open]:fade-in-0 group-data-[viewport=false]/navigation-menu:data-[state=closed]:fade-out-0 **:data-[slot=navigation-menu-link]:focus:ring-0 **:data-[slot=navigation-menu-link]:focus:outline-none group-data-[viewport=false]/navigation-menu:ring-foreground/10 group-data-[viewport=false]/navigation-menu:bg-popover group-data-[viewport=false]/navigation-menu:rounded-(--radius) group-data-[viewport=false]/navigation-menu:top-full group-data-[viewport=false]/navigation-menu:mt-1.5 group-data-[viewport=false]/navigation-menu:-translate-x-1/3 group-data-[viewport=false]/navigation-menu:overflow-hidden group-data-[viewport=false]/navigation-menu:border group-data-[viewport=false]/navigation-menu:border-transparent group-data-[viewport=false]/navigation-menu:shadow-lg group-data-[viewport=false]/navigation-menu:ring-1 group-data-[viewport=false]/navigation-menu:duration-200",t)},a))}function _(e){var t=e.className,a=(0,n._)(e,["className"]);return(0,o.jsx)("div",{className:(0,f.cn)("px-(--viewport-outer-px) fixed inset-x-0 top-12 isolate z-50 mx-auto flex max-w-6xl"),children:(0,o.jsx)(h.LM,(0,r._)({"data-slot":"navigation-menu-viewport",className:(0,f.cn)("bg-popover text-popover-foreground h-(--radix-navigation-menu-viewport-height) ring-foreground/10 rounded-(--radius) md:w-(--radix-navigation-menu-viewport-width) relative mt-1.5 w-full origin-top overflow-hidden border border-transparent p-0.5 shadow-xl shadow-black/10 ring-1 transition-[width,height] duration-200","data-[state=closed]:animate-scale-out data-[state=open]:animate-scale-in",t)},a))})}function k(e){var t=e.className,a=(0,n._)(e,["className"]);return(0,o.jsx)(h.N_,(0,r._)({"data-slot":"navigation-menu-link",className:(0,f.cn)("data-[active=true]:focus:bg-muted data-[active=true]:hover:bg-muted data-[active=true]:bg-muted/50 data-[active=true]:text-foreground hover:bg-muted hover:text-foreground focus:bg-muted focus:text-foreground focus-visible:ring-ring/50 [&_svg:not([class*='text-'])]:text-muted-foreground flex flex-col gap-1 rounded-md p-2 text-sm outline-none transition-all focus-visible:outline-1 focus-visible:ring-[3px] [&_svg:not([class*='size-'])]:size-4",t)},a))}var P=a(2571);function S(e){var t=(0,s._)((0,l.useState)(!1),2),a=t[0],i=t[1];return((0,l.useEffect)(function(){i(!0)},[]),a)?(0,o.jsx)(w,(0,r._)({},e)):null}function C(e){var t=e.header,a=(0,s._)((0,l.useState)(!1),2),h=a[0],x=a[1],g=(0,s._)((0,l.useState)(!1),2),j=g[0],w=g[1],_=(0,l.useRef)(!1),C=(0,l.useRef)(null),I=(0,P.Q)("(min-width: 64rem)"),z=(0,u.a8)();function A(e){var t=e.title,a=e.description,s=e.children,l=e.href,d=e.target,c=(0,n._)(e,["title","description","children","href","target"]);return(0,o.jsx)("li",(0,i._)((0,r._)({},c),{children:(0,o.jsx)(k,{asChild:!0,children:(0,o.jsxs)(u.N_,{href:l,target:d||"_self",className:"group/item hover:bg-primary/10 grid grid-cols-[auto_1fr] gap-3.5 rounded-lg p-2 transition-all duration-200 hover:shadow-[0_0_12px_color-mix(in_oklab,var(--color-primary)_25%,transparent)]",children:[(0,o.jsx)("div",{className:"bg-background ring-foreground
1/10 group-hover/item:ring-primary/30 relative flex size-9 items-center justify-center rounded border border-transparent shadow-sm ring-1 transition-all duration-200 group-hover/item:shadow-[0_0_8px_color-mix(in_oklab,var(--color-primary)_30%,transparent)]",children:s}),(0,o.jsxs)("div",{className:"space-y-0.5",children:[(0,o.jsx)("div",{className:"text-foreground text-sm font-medium",children:t}),(0,o.jsx)("p",{className:"text-muted-foreground line-clamp-1 text-xs",children:a})]})]})})}))}return(0,l.useEffect)(function(){var e=function(){null==C.current&&(C.current=window.requestAnimationFrame(function(){C.current=null;var e=window.scrollY>50;e!==_.current&&(_.current=e,w(e))}))};return e(),window.addEventListener("scroll",e,{passive:!0}),function(){window.removeEventListener("scroll",e),null!=C.current&&(window.cancelAnimationFrame(C.current),C.current=null)}},[]),(0,o.jsx)(o.Fragment,{children:(0,o.jsx)("header",(0,i._)((0,r._)({"data-state":h?"active":"inactive"},j&&{"data-scrolled":!0}),{className:"has-data-[state=open]:bg-background/50 fixed inset-x-0 top-0 z-50 has-data-[state=open]:h-screen has-data-[state=open]:backdrop-blur",children:(0,o.jsx)("div",{className:(0,f.cn)("absolute inset-x-0 top-0 z-50 h-18 border-transparent ring-1 ring-transparent transition-all duration-300","in-data-scrolled:border-foreground
1/5 in-data-scrolled:bg-background/75 in-data-scrolled:border-b in-data-scrolled:backdrop-blur","has-data-[state=open]:ring-foreground/5 has-data-[state=open]:bg-card/75 has-data-[state=open]:h-[calc(var(--navigation-menu-viewport-height)+3.4rem)] has-data-[state=open]:border-b has-data-[state=open]:shadow-lg has-data-[state=open]:shadow-black/10 has-data-[state=open]:backdrop-blur","max-lg:in-data-[state=active]:bg-background/75 max-lg:h-14 max-lg:overflow-hidden max-lg:border-b max-lg:in-data-[state=active]:h-screen max-lg:in-data-[state=active]:backdrop-blur"),children:(0,o.jsx)("div",{className:"container",children:(0,o.jsxs)("div",{className:"relative flex flex-wrap items-center justify-between lg:py-5",children:[(0,o.jsxs)("div",{className:"flex justify-between gap-8 max-lg:h-14 max-lg:w-full max-lg:border-b",children:[t.brand&&(0,o.jsx)(m.FQ,{brand:t.brand}),I&&(0,o.jsx)(function(){var e,a;return(0,o.jsx)(v,{viewport:!1,className:"**:data-[slot=navigation-menu-content]:top-10 max-lg:hidden",children:(0,o.jsx)(b,{className:"gap-2",children:null==(a=t.nav)||null==(e=a.items)?void 0:e.map(function(e,t){var a;return e.children&&0!==e.children.length?(0,o.jsxs)(y,{children:[(0,o.jsxs)(S,{className:"hover:!bg-primary/10 flex flex-row items-center gap-2 text-sm transition-all duration-200 hover:shadow-[0_0_12px_color-mix(in_oklab,var(--color-primary)_30%,transparent)]",children:[e.icon&&(0,o.jsx)(m.LK,{name:e.icon,className:"h-4 w-4"}),e.title]}),(0,o.jsx)(N,{className:"min-w-2xs origin-top p-0.5",children:(0,o.jsx)("div",{className:"border-foreground
1/5 bg-card ring-foreground/5 rounded-[calc(var(--radius)-2px)] border border-transparent p-2 shadow ring-1",children:(0,o.jsx)("ul",{className:"mt-1 space-y-2",children:null==(a=e.children)?void 0:a.map(function(e,t){return(0,o.jsx)(A,{href:e.url||"",target:e.target||"_self",title:e.title||"",description:e.description||"",children:e.icon&&(0,o.jsx)(m.LK,{name:e.icon})},t)})})})})]},t):(0,o.jsx)(y,{children:(0,o.jsx)(k,{asChild:!0,children:(0,o.jsxs)(u.N_,{href:e.url||"",target:e.target||"_self",className:(0,f.cn)("flex flex-row items-center gap-2 rounded-md px-4 py-1.5 text-sm transition-all duration-200","hover:bg-primary/10 hover:text-foreground hover:shadow-[0_0_12px_color-mix(in_oklab,var(--color-primary)_30%,transparent)]",e.is_active||z.endsWith(e.url)?"bg-muted/40 text-muted-foreground":""),children:[e.icon&&(0,o.jsx)(m.LK,{name:e.icon}),e.title]})})},t)})})})},{}),(0,o.jsxs)("button",{onClick:function(){return x(!h)},"aria-label":!0==h?"Close Menu":"Open Menu",className:"relative z-20 -m-2.5 -mr-3 block cursor-pointer p-2.5 lg:hidden",children:[(0,o.jsx)(d.A,{className:"m-auto size-5 duration-200 in-data-[state=active]:scale-0 in-data-[state=active]:rotate-180 in-data-[state=active]:opacity-0"}),(0,o.jsx)(c.A,{className:"absolute inset-0 m-auto size-5 scale-0 -rotate-180 opacity-0 duration-200 in-data-[state=active]:scale-100 in-data-[state=active]:rotate-0 in-data-[state=active]:opacity-100"})]})]}),!I&&h&&(0,o.jsx)(function(e){var a,r,i=e.closeMenu;return(0,o.jsx)("nav",{role:"navigation",className:"w-full [--color-border:--alpha(var(--color-foreground)/5%)] [--color-muted:--alpha(var(--color-foreground)/5%)]",children:(0,o.jsx)(p.Accordion,{type:"single",collapsible:!0,className:"-mx-4 mt-0.5 space-y-0.5 **:hover:no-underline",children:null==(r=t.nav)||null==(a=r.items)?void 0:a.map(function(e,t){var a;return(0,o.jsx)(p.AccordionItem,{value:e.title||"",className:"group relative border-b-0 before:pointer-events-none before:absolute before:inset-x-4 before:bottom-0 before:border-b",children:e.children&&e.children.length>0?(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(p.AccordionTrigger,{className:"data-[state=open]:bg-muted flex items-center justify-between px-4 py-3 text-lg **:!font-normal",children:e.title}),(0,o.jsx)(p.AccordionContent,{className:"pb-5",children:(0,o.jsx)("ul",{children:null==(a=e.children)?void 0:a.map(function(e,t){return(0,o.jsx)("li",{children:(0,o.jsxs)(u.N_,{href:e.url||"",onClick:i,className:"grid grid-cols-[auto_1fr] items-center gap-2.5 px-4 py-2",children:[(0,o.jsx)("div",{"aria-hidden":!0,className:"flex items-center justify-center *:size-4",children:e.icon&&(0,o.jsx)(m.LK,{name:e.icon})}),(0,o.jsx)("div",{className:"text-base",children:e.title})]})},t)})})})]}):(0,o.jsx)(u.N_,{href:e.url||"",onClick:i,className:"data-[state=open]:bg-muted flex items-center justify-between px-4 py-3 text-lg **:!font-normal",children:e.title})},t)})})})},{closeMenu:function(){return x(!1)}}),(0,o.jsx)("div",{className:"mb-6 hidden w-full flex-wrap items-center justify-end space-y-8 in-data-[state=active]:flex max-lg:in-data-[state=active]:mt-6 md:flex-nowrap lg:m-0 lg:flex lg:w-fit lg:gap-6 lg:space-y-0 lg:border-transparent lg:bg-transparent lg:p-0 lg:shadow-none dark:shadow-none dark:lg:bg-transparent",children:(0,o.jsxs)("div",{className:"flex w-full flex-row items-center gap-4 sm:flex-row sm:gap-6 sm:space-y-0 md:w-fit",children:[t.buttons&&t.buttons.map(function(e,t){return(0,o.jsxs)(u.N_,{href:e.url||"",target:e.target||"_self",className:(0,f.cn)("focus-visible:ring-ring inline-flex items-center justify-center gap-2 rounded-md text-sm font-medium whitespace-nowrap transition-colors focus-visible:ring-1 focus-visible:outline-none disabled:pointer-events-none disabled:opacity-50","h-7 px-3 ring-0","outline"===e.variant?"bg-background border-primary ring-foreground/10 hover:bg-muted/50 dark:ring-foreground/15 dark:hover:bg-muted/50 border border-transparent shadow-sm ring-1 shadow-black/15 duration-200":"bg-primary text-primary-foreground hover:bg-primary/90 border-[0.5px] border-white/25 shadow-md ring-1 shadow-black/20 ring-(--ring-color) [--ring-color:color-mix(in_oklab,var(--color-foreground)15%,var(--color-primary))]"),children:[e.icon&&(0,o.jsx)(m.LK,{name:e.icon,className:"size-4"}),(0,o.jsx)("span",{children:e.title})]},t)}),t.show_theme?(0,o.jsx)(m.GC,{}):null,t.show_locale?(0,o.jsx)(m.YC,{}):null,(0,o.jsx)("div",{className:"flex-1 md:hidden"}),t.show_sign?(0,o.jsx)(m.TS,{userNav:t.user_nav}):null]})})]})})})}))})}},10647:(e,t,a)=>{"use strict";a.r(t),a.d(t,{Features:()=>o});var r=a(69140),i=a(39118),n=a(42430),s=a(42803);function o(e){var t,a=e.section,o=e.className;return(0,r.jsx)("section",{id:a.id,className:(0,s.cn)("py-16 md:py-24",a.className,o),children:(0,r.jsxs)("div",{className:"container space-y-8 md:space-y-16",children:[(0,r.jsx)(n.i,{children:(0,r.jsxs)("div",{className:"mx-auto max-w-4xl text-center text-balance",children:[(0,r.jsx)("h2",{className:"text-foreground mb-4 text-3xl font-semibold tracking-tight md:text-4xl",children:a.title}),(0,r.jsx)("p",{className:"text-muted-foreground mb-6 md:mb-12 lg:mb-16",children:a.description})]})}),(0,r.jsx)(n.i,{delay:.2,children:(0,r.jsx)("div",{className:"relative mx-auto grid divide-x divide-y border *:p-12 sm:grid-cols-2 lg:grid-cols-3",children:null==(t=a.items)?void 0:t.map(function(e,t){return(0,r.jsxs)("div",{className:"space-y-3",children:[(0,r.jsxs)("div",{className:"flex items-center gap-2",children:[(0,r.jsx)(i.L,{name:e.icon,size:24}),(0,r.jsx)("h3",{className:"text-sm font-medium",children:e.title})]}),(0,r.jsx)("p",{className:"text-sm",children:e.description})]},t)})})})]})})}},11475:(e,t,a)=>{"use strict";a.r(t),a.d(t,{BlogDetail:()=>m});var r=a(69140),i=a(3475),n=a(54866),s=a(45408),o=a(48169),l=a(74078),d=a(80316),c=a(28632);function u(e){var t=e.items;return(0,r.jsx)("nav",{className:"text-muted-foreground flex items-center text-sm md:px-3",children:t.map(function(e,t){var a=e.is_active;return(0,r.jsxs)("div",{className:"flex items-center",children:[(0,r.jsxs)(c.N_,{href:e.url||"",className:"hover:text-foreground line-clamp-1 flex min-w-8 items-center gap-2 transition-colors ".concat(a?"text-primary hover:text-primary font-medium":""),children:[e.icon&&(0,r.jsx)(l.LK,{name:e.icon,className:"size-4"}),e.title]}
1),!a&&(0,r.jsx)(d.A,{className:"text-muted-foreground/40 mx-2 h-4 w-4"})]},t)})})}function m(e){var t=e.post,a=(0,o.c)("pages.blog.messages"),d=[{title:a("crumb"),url:"/blog",icon:"Newspaper",is_active:!1},{title:t.title||"",url:"/blog/".concat(t.slug),is_active:!0}],c=t.toc&&t.toc.length>0,m=t.author_name||t.author_image||t.author_role;return(0,r.jsx)(i.TOCProvider,{toc:t.toc||[],children:(0,r.jsx)("section",{id:t.id,children:(0,r.jsx)("div",{className:"py-24 md:py-32",children:(0,r.jsxs)("div",{className:"mx-auto w-full max-w-7xl px-6 md:px-8",children:[(0,r.jsx)(u,{items:d}),(0,r.jsxs)("div",{className:"mt-16 text-center",children:[(0,r.jsx)("h1",{className:"text-foreground mx-auto mb-4 w-full text-3xl font-bold md:max-w-4xl md:text-4xl",children:t.title}),(0,r.jsx)("div",{className:"text-muted-foreground text-md mb-8 flex items-center justify-center gap-4",children:t.created_at&&(0,r.jsxs)("div",{className:"text-muted-foreground text-md mb-8 flex items-center justify-center gap-2",children:[(0,r.jsx)(n.A,{className:"size-4"})," ",t.created_at]})})]}),(0,r.jsxs)("div",{className:"grid grid-cols-1 gap-8 md:mt-12 lg:grid-cols-12",children:[c&&(0,r.jsx)("div",{className:"lg:col-span-3",children:(0,r.jsx)("div",{className:"sticky top-24 hidden md:block",children:(0,r.jsxs)("div",{className:"bg-muted/30 rounded-lg p-4",children:[(0,r.jsxs)("h2",{className:"text-foreground mb-4 flex items-center gap-2 font-semibold",children:[(0,r.jsx)(s.A,{className:"size-4"})," ",a("toc")]}),(0,r.jsx)(i.TOCItems,{})]})})}),(0,r.jsx)("div",{className:c&&m?"lg:col-span-6":c||m?"lg:col-span-9":"lg:col-span-12",children:(0,r.jsx)("article",{className:"p-0",children:t.body?(0,r.jsx)("div",{className:"docs text-foreground text-md space-y-4 font-normal *:leading-relaxed",children:t.body}):t.content&&(0,r.jsx)("div",{className:"prose prose-lg text-muted-foreground max-w-none space-y-6 *:leading-relaxed",children:(0,r.jsx)(l.G8,{content:t.content})})})}),m&&(0,r.jsx)("div",{className:"lg:col-span-3",children:(0,r.jsx)("div",{className:"sticky top-24",children:(0,r.jsx)("div",{className:"bg-muted/30 rounded-lg p-6",children:(0,r.jsxs)("div",{className:"text-center",children:[t.author_image&&(0,r.jsx)("div",{className:"ring-foreground/10 mx-auto mb-4 aspect-square size-20 overflow-hidden rounded-xl border border-transparent shadow-md ring-1 shadow-black/15",children:(0,r.jsx)("img",{src:t.author_image,alt:"".concat(t.author_name," author profile photo"),className:"h-full w-full object-cover"})}),t.author_name&&(0,r.jsx)("p",{className:"text-foreground mb-1 text-lg font-semibold",children:t.author_name}),t.author_role&&(0,r.jsx)("p",{className:"text-muted-foreground mb-4 text-sm",children:t.author_role})]})})})})]})]})})})})}a(66073)},12374:(e,t,a)=>{"use strict";a.d(t,{BT:()=>c,Wu:()=>m,X9:()=>u,ZB:()=>d,Zp:()=>o,aR:()=>l,wL:()=>p});var r=a(32812),i=a(7907),n=a(69140);a(20792);var s=a(42803);function o(e){var t=e.className,a=(0,i._)(e,["className"]);return(0,n.jsx)("div",(0,r._)({"data-slot":"card",className:(0,s.cn)("bg-card text-card-foreground flex flex-col gap-6 rounded-xl border py-6 shadow-sm",t)},a))}function l(e){var t=e.className,a=(0,i._)(e,["className"]);return(0,n.jsx)("div",(0,r._)({"data-slot":"card-header",className:(0,s.cn)("@container/card-header grid auto-rows-min grid-rows-[auto_auto] items-start gap-1.5 px-6 has-data-[slot=card-action]:grid-cols-[1fr_auto] [.border-b]:pb-6",t)},a))}function d(e){var t=e.className,a=(0,i._)(e,["className"]);return(0,n.jsx)("div",(0,r._)({"data-slot":"card-title",className:(0,s.cn)("leading-none font-semibold",t)},a))}function c(e){var t=e.className,a=(0,i._)(e,["className"]);return(0,n.jsx)("div",(0,r._)({"data-slot":"card-description",className:(0,s.cn)("text-muted-foreground text-sm",t)},a))}function u(e){var t=e.className,a=(0,i._)(e,["className"]);return(0,n.jsx)("div",(0,r._)({"data-slot":"card-action",className:(0,s.cn)("col-start-2 row-span-2 row-start-1 self-start justify-self-end",t)},a))}function m(e){var t=e.className,a=(0,i._)(e,["className"]);return(0,n.jsx)("div",(0,r._)({"data-slot":"card-content",className:(0,s.cn)("px-6",t)},a))}function p(e){var t=e.className,a=(0,i._)(e,["className"]);return(0,n.jsx)("div",(0,r._)({"data-slot":"card-footer",className:(0,s.cn)("flex items-center px-6 [.border-t]:pt-6",t)},a))}},13021:(e,t,a)=>{"use strict";function r(){var e=new URLSearchParams(window.location.search).get("promo");return(null==e?void 0:e.trim())||void 0}a.d(t,{w:()=>r})}
1,13922:(e,t,a)=>{"use strict";a.r(t),a.d(t,{Testimonials:()=>o});var r=a(69140),i=a(74078),n=a(42430),s=a(86681);function o(e){var t,a=e.section,o=e.className,l=function(e){var t,a,n,o,l=e.item;return(0,r.jsxs)("div",{className:"bg-card/25 ring-foreground/[0.07] flex flex-col justify-end gap-6 rounded-(--radius) border border-transparent p-8 ring-1",children:[(0,r.jsx)("p",{className:'text-foreground self-end text-balance before:mr-1 before:content-["\\201C"] after:ml-1 after:content-["\\201D"]',children:l.quote||l.description}),(0,r.jsxs)("div",{className:"flex items-center gap-3",children:[(0,r.jsx)("div",{className:"ring-foreground/10 aspect-square size-9 overflow-hidden rounded-lg border border-transparent shadow-md ring-1 shadow-black/15",children:(0,r.jsx)(i.oD,{src:(null==(t=l.image)?void 0:t.src)||(null==(a=l.avatar)?void 0:a.src)||"",alt:(0,s.WN)((null==(n=l.image)?void 0:n.alt)||(null==(o=l.avatar)?void 0:o.alt),(0,s.GI)(l.name,l.role||l.title,"testimonial profile photo")),className:"h-full w-full object-cover"})}),(0,r.jsxs)("h3",{className:"sr-only",children:[l.name,", ",l.role||l.title]}),(0,r.jsxs)("div",{className:"space-y-px",children:[(0,r.jsxs)("p",{className:"text-sm font-medium",children:[l.name," "]}),(0,r.jsx)("p",{className:"text-muted-foreground text-xs",children:l.role||l.title})]})]})]})};return(0,r.jsx)("section",{id:a.id,className:"py-16 md:py-24 ".concat(a.className," ").concat(o),children:(0,r.jsxs)("div",{className:"container",children:[(0,r.jsx)(n.i,{children:(0,r.jsxs)("div",{className:"mx-auto max-w-2xl text-center text-balance",children:[(0,r.jsx)("h2",{className:"text-foreground mb-4 text-3xl font-semibold tracking-tight md:text-4xl",children:a.title}),(0,r.jsx)("p",{className:"text-muted-foreground mb-6 md:mb-12 lg:mb-16",children:a.description})]})}),(0,r.jsx)(n.i,{delay:.2,children:(0,r.jsx)("div",{className:"border-border/50 relative rounded-(--radius)",children:(0,r.jsx)("div",{className:"grid gap-4 sm:grid-cols-2 lg:grid-cols-3 lg:gap-px lg:*:nth-1:rounded-t-none lg:*:nth-2:rounded-tl-none lg:*:nth-2:rounded-br-none lg:*:nth-3:rounded-l-none lg:*:nth-4:rounded-r-none lg:*:nth-5:rounded-tl-none lg:*:nth-5:rounded-br-none lg:*:nth-6:rounded-b-none",children:null==(t=a.items)?void 0:t.map(function(e,t){return(0,r.jsx)(l,{item:e},t)})})})})]})})}},14706:(e,t,a)=>{"use strict";a.r(t),a.d(t,{Logos:()=>l});var r=a(69140),i=a(74078),n=a(42430),s=a(86681),o=a(42803);function l(e){var t,a=e.section,l=e.className;return(0,r.jsx)("section",{id:a.id,className:(0,o.cn)("py-16 md:py-24",a.className,l),children:(0,r.jsxs)("div",{className:"mx-auto max-w-5xl px-6",children:[(0,r.jsx)(n.i,{children:(0,r.jsx)("p",{className:"text-md text-center font-medium",children:a.title})}),(0,r.jsx)(n.i,{delay:.2,children:(0,r.jsx)("div",{className:"mx-auto mt-12 flex max-w-4xl flex-wrap items-center justify-center gap-x-12 gap-y-8 sm:gap-x-16 sm:gap-y-12",children:null==(t=a.items)?void 0:t.map(function(e,t){var a,n,o;return(0,r.jsx)(i.oD,{className:"h-8 w-fit dark:invert",src:null!=(o=null==(a=e.image)?void 0:a.src)?o:"",alt:(0,s.WN)(null==(n=e.image)?void 0:n.alt,(0,s.sE)(e.title))},t)})})})]})})}},16739:(e,t,a)=>{"use strict";a.d(t,{BE:()=>g,I6:()=>b,_s:()=>u,cp:()=>p,gk:()=>v,tb:()=>f,zj:()=>x});var r=a(86706),i=a(56480),n=a(32812),s=a(20857),o=a(7907),l=a(69140);a(20792);var d=a(50125),c=a(42803);function u(e){var t=(0,r._)({},(0,i._)(e));return(0,l.jsx)(d._s.Root,(0,n._)({"data-slot":"drawer"},t))}function m(e){var t=(0,r._)({},(0,i._)(e));return(0,l.jsx)(d._s.Portal,(0,n._)({"data-slot":"drawer-portal"},t))}function p(e){var t=(0,r._)({},(0,i._)(e));return(0,l.jsx)(d._s.Close,(0,n._)({"data-slot":"drawer-close"},t))}function h(e){var t=e.className,a=(0,o._)(e,["className"]);return(0,l.jsx)(d._s.Overlay,(0,n._)({"data-slot":"drawer-overlay",className:(0,c.cn)("data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50",t)},a))}function x(e){var t=e.className,a=e.children,r=(0,o._)(e,["className","children"]);return(0,l.jsxs)(m,{"data-slot":"drawer-portal",children:[(0,l.jsx)(h,{}),(0,l.jsxs)(d._s.Content,(0,s._)((0,n._)({"data-slot":"drawer-content",className:(0,
1c.cn)("group/drawer-content bg-background fixed z-50 flex h-auto flex-col","data-[vaul-drawer-direction=top]:inset-x-0 data-[vaul-drawer-direction=top]:top-0 data-[vaul-drawer-direction=top]:mb-24 data-[vaul-drawer-direction=top]:max-h-[80vh] data-[vaul-drawer-direction=top]:rounded-b-lg data-[vaul-drawer-direction=top]:border-b","data-[vaul-drawer-direction=bottom]:inset-x-0 data-[vaul-drawer-direction=bottom]:bottom-0 data-[vaul-drawer-direction=bottom]:mt-24 data-[vaul-drawer-direction=bottom]:max-h-[80vh] data-[vaul-drawer-direction=bottom]:rounded-t-lg data-[vaul-drawer-direction=bottom]:border-t","data-[vaul-drawer-direction=right]:inset-y-0 data-[vaul-drawer-direction=right]:right-0 data-[vaul-drawer-direction=right]:w-3/4 data-[vaul-drawer-direction=right]:border-l data-[vaul-drawer-direction=right]:sm:max-w-sm","data-[vaul-drawer-direction=left]:inset-y-0 data-[vaul-drawer-direction=left]:left-0 data-[vaul-drawer-direction=left]:w-3/4 data-[vaul-drawer-direction=left]:border-r data-[vaul-drawer-direction=left]:sm:max-w-sm",t)},r),{children:[(0,l.jsx)("div",{className:"bg-muted mx-auto mt-4 hidden h-2 w-[100px] shrink-0 rounded-full group-data-[vaul-drawer-direction=bottom]/drawer-content:block"}),a]}))]})}function g(e){var t=e.className,a=(0,o._)(e,["className"]);return(0,l.jsx)("div",(0,n._)({"data-slot":"drawer-header",className:(0,c.cn)("flex flex-col gap-0.5 p-4 group-data-[vaul-drawer-direction=bottom]/drawer-content:text-center group-data-[vaul-drawer-direction=top]/drawer-content:text-center md:gap-1.5 md:text-left",t)},a))}function f(e){var t=e.className,a=(0,o._)(e,["className"]);return(0,l.jsx)("div",(0,n._)({"data-slot":"drawer-footer",className:(0,c.cn)("mt-auto flex flex-col gap-2 p-4",t)},a))}function v(e){var t=e.className,a=(0,o._)(e,["className"]);return(0,l.jsx)(d._s.Title,(0,n._)({"data-slot":"drawer-title",className:(0,c.cn)("text-foreground font-semibold",t)},a))}function b(e){var t=e.className,a=(0,o._)(e,["className"]);return(0,l.jsx)(d._s.Description,(0,n._)({"data-slot":"drawer-description",className:(0,c.cn)("text-muted-foreground text-sm",t)},a))}},16854:(e,t,a)=>{"use strict";a.d(t,{U:()=>n});var r=a(57505),i=a(20792);function n(e){var t=(0,r._)((0,i.useState)(!1),2),a=t[0],n=t[1];return(0,i.useEffect)(function(){var t=window.matchMedia(e);n(t.matches);var a=function(e){n(e.matches)};return t.addEventListener("change",a),function(){t.removeEventListener("change",a)}},[e]),a}},18742:(e,t,a)=>{"use strict";a.d(t,{Y:()=>p});var r=a(32812),i=a(20857),n=a(57505),s=a(69140),o=a(42803),l=a(48031),d=a(63037),c=a(78372),u=a(20792),m=a(18791);function p(e){var t=e.children,a=e.gap,p=void 0===a?16:a,h=e.speed,x=void 0===h?100:h,g=e.speedOnHover,f=e.direction,v=void 0===f?"horizontal":f,b=e.reverse,y=void 0!==b&&b,j=e.className,w=(0,n._)((0,u.useState)(x),2),N=w[0],_=w[1],k=(0,n._)((0,m.A)(),2),P=k[0],S=k[1],C=S.width,I=S.height,z=(0,l.d)(0),A=(0,n._)((0,u.useState)(!1),2),U=A[0],T=A[1],M=(0,n._)((0,u.useState)(0),2),L=M[0],E=M[1];(0,u.useEffect)(function(){var e,t=("horizontal"===v?C:I)+p,a=y?-t/2:0,r=y?0:-t/2,i=Math.abs(r-a);if(U){var n=Math.abs(z.get()-r);e=(0,d.i)(z,[z.get(),r],{ease:"linear",duration:n/N,onComplete:function(){T(!1),E(function(e){return e+1})}})}else e=(0,d.i)(z,[a,r],{ease:"linear",duration:i/N,repeat:1/0,repeatType:"loop",repeatDelay:0,onRepeat:function(){z.set(a)}});return null==e?void 0:e.stop},[L,z,N,C,I,p,U,v,y]);var F=g?{onHoverStart:function(){T(!0),_(g)},onHoverEnd:function(){T(!0),_(x)}}:{};return(0,s.jsx)("div",{className:(0,o.cn)("overflow-hidden",j),children:(0,s.jsxs)(c.P.div,(0,i._)((0,r._)({className:"flex w-max",style:(0,i._)((0,r._)({},"horizontal"===v?{x:z}:{y:z}),{gap:"".concat(p,"px"),flexDirection:"horizontal"===v?"row":"column"}),ref:P},F),{children:[t,t]}))})}},19201:(e,t,a)=>{"use strict";a.r(t),a.d(t,{UseCases:()=>p});var r=a(69140),i=a(20792),n=a(17619),s=a(80316),o=a(59434),l=a(28632),d=a(74078),c=a(86681),u=a(42803);function m(e){var t,a=e.item,i=(0,r.jsxs)("div",{className:"group relative w-[260px] shrink-0 overflow-hidden rounded-2xl p-[3px] transition-transform duration-300 hover:-translate-y-1 md:w-[300px]",children:[(0,r.jsx)("div",{className:"absolute inset-0 rounded-[inherit] bg-gradient-to-b from-[#cc99ff] via-[#ee8866] to-[#ffaa66] opacity-0 transition-opacity duration-300 group-hover:opacity-100"}),(0,r.jsx)("div",{className:"border-border absolute inset-0 rounded-[inherit] border-[3px] transition-opacity duration-300 group-hover:opacity-0"}),(0,r.jsxs)("div",{className:"bg-card relative overflow-hidden rounded-[13px]",children:[(0,r.jsx)("div",{className:"relative aspect-[4/3]",children:(null==(t=a.image)?void 0:t.src)&&(0,r.jsx)(d.oD,{src:a.image.src,alt:(0,c.WN)(a.image.alt,(0,c.hu)(a.title,"use case preview image")),className:"h-full w-full object-cover"})}),(0,r.jsxs)("div",{className:"flex items-center gap-2 px-4 py-3",children:[a.icon&&(0,r.jsx)("span",{className:"text-base",children:a.icon}),(0,r.jsx)("span",{className:"text-foreground text-base font-semibold",children:a.title})]})]})]});return a.url?a.url.startsWith("http")?(0,r.jsx)("a",{href:a.url,target:"_blank",rel:"noopener noreferrer",className:"block shrink-0",children:i}):(0,r.jsx)(l.N_,{href:a.url,className:"block shrink-0",children:i}):i}function p(e){var t,a,d=e.section,c=e.className,p=(0,i.useRef)(null),h=d.items||[],x=function(e){var t;null==(t=p.current)||t.scrollBy({left:"left"===e?-300:300,behavior:"smooth"})},g=(null==(t=d.title)?void 0:t.split("\n"))||[],f=d.highlight_text||g[0]||"",v=d.highlight_text?d.title:g.slice(1).join(" ");return(0,r.jsx)("section",{id:d.id,className:(0,u.cn)("py-20 md:py-32",d.
1className,c),children:(0,r.jsxs)("div",{className:"container mx-auto max-w-6xl px-4",children:[(0,r.jsxs)("div",{className:"mx-auto mb-12 max-w-3xl text-center",children:[(0,r.jsx)("h2",{className:"mb-4 text-3xl font-bold tracking-tight md:text-4xl lg:text-5xl",children:d.highlight_text?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("span",{className:"bg-gradient-to-r from-[#cc99ff] via-[#ee8866] to-[#ffaa66] bg-clip-text text-transparent",children:d.highlight_text})," ",(0,r.jsx)("span",{className:"text-foreground",children:d.title})]}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("span",{className:"bg-gradient-to-r from-[#cc99ff] via-[#ee8866] to-[#ffaa66] bg-clip-text text-transparent",children:f})," ",(0,r.jsx)("span",{className:"text-foreground",children:v})]})}),d.description&&(0,r.jsx)("p",{className:"text-muted-foreground text-sm md:text-base",children:d.description})]}),(0,r.jsx)("div",{ref:p,className:"scrollbar-hide flex gap-4 overflow-x-auto py-2 pb-4",style:{scrollbarWidth:"none",msOverflowStyle:"none"},children:h.map(function(e,t){return(0,r.jsx)(m,{item:e},t)})}),(0,r.jsxs)("div",{className:"mt-8 flex items-center justify-center gap-3",children:[(0,r.jsx)("button",{onClick:function(){return x("left")},className:"border-border text-muted-foreground hover:border-muted-foreground hover:text-foreground rounded-full border p-2 transition-colors","aria-label":"Scroll left",children:(0,r.jsx)(n.A,{className:"h-5 w-5"})}),(0,r.jsx)("button",{onClick:function(){return x("right")},className:"border-border text-muted-foreground hover:border-muted-foreground hover:text-foreground rounded-full border p-2 transition-colors","aria-label":"Scroll right",children:(0,r.jsx)(s.A,{className:"h-5 w-5"})})]}),(null==(a=d.buttons)?void 0:a[0])&&(0,r.jsx)("div",{className:"mt-8 flex justify-center",children:(0,r.jsxs)(l.N_,{href:d.buttons[0].url||"#",className:"text-primary-foreground inline-flex items-center gap-2 rounded-full bg-gradient-to-r from-[#cc99ff] via-[#ee8866] to-[#ffaa66] px-6 py-3 text-sm font-medium transition-opacity hover:opacity-90",children:[d.buttons[0].title||"See everything you can create",(0,r.jsx)(o.A,{className:"h-4 w-4"})]})})]})})}},21612:(e,t,a)=>{"use strict";a.r(t),a.d(t,{FeaturesAccordion:()=>h});var r=a(57505),i=a(69140),n=a(20792),s=a(76539),o=a(78372),l=a(74078),d=a(32812),c=a(42803),u=function(e){var t=e.className,a=e.size,r=void 0===a?50:a,n=e.delay,s=e.duration,l=e.colorFrom,u=e.colorTo,m=e.transition,p=e.style,h=e.reverse,x=e.initialOffset,g=void 0===x?0:x,f=e.borderWidth;return(0,i.jsx)("div",{className:"pointer-events-none absolute inset-0 rounded-[inherit] border-transparent [mask-clip:padding-box,border-box] [mask-composite:intersect] [mask-image:linear-gradient(transparent,transparent),linear-gradient(#000,#000)] border-(length:--border-beam-width)",style:{"--border-beam-width":"".concat(void 0===f?1:f,"px")},children:(0,i.jsx)(o.P.div,{className:(0,c.cn)("absolute aspect-square","bg-gradient-to-l from-[var(--color-from)] via-[var(--color-to)] to-transparent",t),style:(0,d._)({width:r,offsetPath:"rect(0 auto auto 0 round ".concat(r,"px)"),"--color-from":void 0===l?"#ffaa40":l,"--color-to":void 0===u?"#9c40ff":u},p),initial:{offsetDistance:"".concat(g,"%")},animate:{offsetDistance:void 0!==h&&h?["".concat(100-g,"%"),"".concat(-g,"%")]:["".concat(g,"%"),"".concat(100+g,"%")]},transition:(0,d._)({repeat:1/0,ease:"linear",duration:void 0===s?6:s,delay:-(void 0===n?0:n)},m)})})},m=a(80590),p=a(42430);function h(e){var t,a,d=e.section,h=e.className,x=(0,r._)((0,n.useState)("item-1"),2),g=x[0],f=x[1],v={};null==(t=d.items)||t.forEach(function(e,t){var a,r,i,n,s;v["item-".concat(t+1)]={image:null!=(s=null==(a=e.image)?void 0:a.src)?s:"",alt:(null==(r=e.image)?void 0:r.alt)||e.title||"",width:null==(i=e.image)?void 0:i.width,height:null==(n=e.image)?void 0:n.height}});var b=v[g]||v["item-1"]||{};return(0,i.jsx)("section",{id:d.id,className:(0,c.cn)("overflow-x-hidden py-16 md:py-24",d.className,h),children:(0,i.jsxs)("div",{className:"container space-y-8 overflow-x-hidden px-2 sm:px-6 md:space-y-16 lg:space-y-20 dark:[--color-border:color-mix(in_oklab,var(--color-white)_10%,transparent)]",children:[(0,i.jsx)(p.i,{children:(0,i.jsxs)("div",{className:"mx-auto max-w-4xl text-center text-balance",children:[(0,i.jsx)("h2",{className:"text-foreground mb-4 text-3xl font-semibold tracking-tight md:text-4xl",children:d.title}),(0,i.jsx)("p",{className:"text-muted-foreground mb-6 md:mb-12 lg:mb-16",children:d.description})]})}),(0,i.jsxs)("div",{className:"grid min-w-0 gap-12 sm:px-6 md:grid-cols-2 lg:gap-20 lg:px-0",children:[(0,i.jsx)(p.i,{delay:.1,direction:"left",children:(0,i.jsx)(m.Accordion,{type:"single",value:g,onValueChange:function(e){e&&f(e)},className:"w-full",children:null==(a=d.items)?void 0:a.map(function(e,t){return(0,i.jsxs)(m.AccordionItem,{value:"item-".concat(t+1),children:[(0,i.jsx)(m.AccordionTrigger,{children:(0,i.jsxs)("div",{className:"flex items-center gap-2 text-base",children:[e.icon&&(0,i.jsx)(l.LK,{name:e.icon,size:24}),e.title]})}),(0,i.jsx)(m.AccordionContent,{children:e.description})]},t)})})}),(0,i.jsx)(p.i,{delay:.2,direction:"right",children:(0,i.jsxs)("div",{className:"bg-background relative flex min-w-0 flex-shrink overflow-hidden rounded-3xl border p-2",children:[(0,i.jsx)("div",{className:"absolute inset-0 right-0 ml-auto w-15 border-l bg-[repeating-linear-gradient(-45deg,var(--color-border),var(--color-border)_1px,transparent_1px,transparent_8px)]"}),(0,i.jsx)("div",{className:"bg-background relative aspect-76/59 w-full min-w-0 rounded-2xl sm:w-[calc(3/4*100%+3rem)]",children:(0,i.jsx)(s.N,{mode:"wait",children:(0,i.jsx)(o.P.div,{initial:{opacity:0,y:6,scale:.98}
1,animate:{opacity:1,y:0,scale:1},exit:{opacity:0,y:6,scale:.98},transition:{duration:.2},className:"size-full overflow-hidden rounded-2xl border shadow-md",children:(0,i.jsx)(l.oD,{src:b.image,className:"bg-muted/20 size-full object-contain object-center dark:mix-blend-lighten",alt:b.alt})},"".concat(g,"-id"))})}),(0,i.jsx)(u,{duration:6,size:200,className:"from-transparent via-yellow-700 to-transparent dark:via-white/50"})]})})]})]})})}},22712:(e,t,a)=>{"use strict";a.r(t),a.d(t,{Testimonials:()=>c});var r=a(69140),i=a(74078),n=a(18742),s=a(86681),o=a(42803);function l(e){var t=e.rating;return(0,r.jsx)("div",{className:"flex gap-0.5",children:Array.from({length:void 0===t?5:t}).map(function(e,t){return(0,r.jsx)("svg",{className:"h-4 w-4 fill-yellow-400 text-yellow-400",viewBox:"0 0 20 20",children:(0,r.jsx)("path",{d:"M9.049 2.927c.3-.921 1.603-.921 1.902 0l1.07 3.292a1 1 0 00.95.69h3.462c.969 0 1.371 1.24.588 1.81l-2.8 2.034a1 1 0 00-.364 1.118l1.07 3.292c.3.921-.755 1.688-1.54 1.118l-2.8-2.034a1 1 0 00-1.175 0l-2.8 2.034c-.784.57-1.838-.197-1.539-1.118l1.07-3.292a1 1 0 00-.364-1.118L2.98 8.72c-.783-.57-.38-1.81.588-1.81h3.461a1 1 0 00.951-.69l1.07-3.292z"})},t)})})}function d(e){var t,a,n,o,d,c=e.item;return(0,r.jsxs)("div",{className:"border-border/50 bg-card/60 w-[300px] shrink-0 rounded-xl border p-5 backdrop-blur-sm md:w-[360px]",children:[(0,r.jsxs)("div",{className:"mb-3 flex items-center gap-3",children:[(0,r.jsx)("div",{className:"ring-border/50 h-10 w-10 shrink-0 overflow-hidden rounded-full ring-1",children:(0,r.jsx)(i.oD,{src:(null==(t=c.image)?void 0:t.src)||(null==(a=c.avatar)?void 0:a.src)||"",alt:(0,s.WN)((null==(n=c.image)?void 0:n.alt)||(null==(o=c.avatar)?void 0:o.alt),(0,s.GI)(c.name,c.role||c.title,"testimonial profile photo")),className:"h-full w-full object-cover"})}),(0,r.jsxs)("div",{className:"min-w-0",children:[(0,r.jsx)("p",{className:"text-foreground truncate text-sm font-semibold",children:c.name}),(0,r.jsx)("p",{className:"text-muted-foreground truncate text-xs",children:c.role||c.title})]})]}),(0,r.jsx)("p",{className:"text-foreground/70 mb-3 line-clamp-4 text-sm leading-relaxed",children:c.quote||c.description}),(0,r.jsx)(l,{rating:null!=(d=c.rating)?d:5})]})}function c(e){var t=e.section,a=e.className,i=t.items||[],s=Math.ceil(i.length/2),l=i.slice(0,s),c=i.slice(s),u=t.highlight_text,m=t.title||"";return(0,r.jsxs)("section",{id:t.id,className:(0,o.cn)("overflow-hidden py-16 md:py-24",t.className,a),children:[(0,r.jsxs)("div",{className:"mx-auto mb-12 max-w-3xl px-4 text-center",children:[u?(0,r.jsxs)("h2",{className:"text-foreground text-3xl font-bold tracking-tight md:text-4xl",children:[m.split(u)[0],(0,r.jsx)("span",{className:"text-primary",children:u}),m.split(u)[1]]}):(0,r.jsx)("h2",{className:"text-foreground text-3xl font-bold tracking-tight md:text-4xl",children:m}),t.description&&(0,r.jsx)("p",{className:"text-muted-foreground mt-4",children:t.description})]}),(0,r.jsxs)("div",{className:"space-y-4",children:[(0,r.jsxs)("div",{className:"relative",children:[(0,r.jsx)("div",{className:"from-background pointer-events-none absolute top-0 left-0 z-10 h-full w-16 bg-gradient-to-r to-transparent md:w-32"}),(0,r.jsx)("div",{className:"from-background pointer-events-none absolute top-0 right-0 z-10 h-full w-16 bg-gradient-to-l to-transparent md:w-32"}),(0,r.jsx)(n.Y,{gap:16,speed:25,speedOnHover:10,children:l.map(function(e,t){return(0,r.jsx)(d,{item:e},t)})})]}),(0,r.jsxs)("div",{className:"relative",children:[(0,r.jsx)("div",{className:"from-background pointer-events-none absolute top-0 left-0 z-10 h-full w-16 bg-gradient-to-r to-transparent md:w-32"}),(0,r.jsx)("div",{className:"from-background pointer-events-none absolute top-0 right-0 z-10 h-full w-16 bg-gradient-to-l to-transparent md:w-32"}),(0,r.jsx)(n.Y,{gap:16,speed:25,speedOnHover:10,reverse:!0,children:c.map(function(e,t){return(0,r.jsx)(d,{item:e},t)})})]})]})]})}},23196:e=>{"use strict";e.exports=JSON.parse('{"metadata":{"title":"Seedance Pricing â AI Video Generator Plans & Credits","description":"Seedance pricing plans from $20/month. Create text-to-vi
1deo and image-to-video content with flexible monthly, yearly, and credit pack options."},"page":{"title":"Seedance Pricing","sections":{"pricing":{"id":"pricing","title":"AI Video Generator â Simple & Transparent Pricing","description":"Flexible AI video generator pricing plans for every creator. Start with a plan or buy credits anytime.","groups":[{"name":"monthly","title":"Monthly"},{"name":"annual","title":"Yearly","label":"Best Value","is_featured":true},{"name":"credits","title":"Credit Packs","label":"No Expiry"}],"notes":["Credits are consumed based on resolution and duration.","Generate videos from 95 credits based on Seedance at 480P 5s.","Gemini Omni starts at 141 credits for 4s 1080p, and video-input Omni starts at 375 credits.","Monthly plan credits reset every month.","Yearly plan credits are issued upfront annually.","Credit packs do not expire.","Actual output may vary depending on selected generation options."],"items":[{"product_id":"starter-monthly","group":"monthly","title":"Starter","price":"$20","unit":"/month","currency":"USD","amount":2000,"interval":"month","description":"Great for casual creators getting started with AI video.","tip":"Credits reset every month.","button":{"title":"Get Starter"},"features_title":"Includes:","features":["1,200 Credits / month","Supports Seedance 2.0 480P, 720P, and 1080P generation","Includes silent video and synchronized audio generation","Supports 5s and 10s generation modes","Standard generation queue","Extra credits available anytime","Up to 12 videos at 480P 5s","Up to 5 videos at 720P 5s","Up to 2 videos at 1080P 5s"],"product_name":"seeda.app Starter Monthly","credits":1200,"valid_days":30,"plan_name":"Starter"},{"product_id":"creator-monthly","group":"monthly","title":"Creator","is_featured":true,"label":"Most Popular","price":"$49","unit":"/month","currency":"USD","amount":4900,"interval":"month","description":"Best for active creators who publish consistently.","tip":"Credits reset every month.","button":{"title":"Get Creator"},"features_title":"Includes:","features":["3,400 Credits / month","Supports Seedance 2.0 480P, 720P, and 1080P generation","Includes silent video and synchronized audio generation","Supports 5s and 10s generation modes","Faster generation queue","Extra credits available anytime","Up to 35 videos at 480P 5s","Up to 16 videos at 720P 5s","Up to 6 videos at 1080P 5s"],"product_name":"seeda.app Creator Monthly","credits":3400,"valid_days":30,"plan_name":"Creator"},{"product_id":"pro-monthly","group":"monthly","title":"Pro","price":"$99","unit":"/month","currency":"USD","amount":9900,"interval":"month","description":"Built for power users and high-volume production.","tip":"Credits reset every month.","button":{"title":"Get Pro"},"features_title":"Includes:","features":["7,600 Credits / month","Supports Seedance 2.0 480P, 720P, and 1080P generation","Includes silent video and synchronized audio generation","Supports 5s and 10s generation modes","Priority generation queue","Extra credits available anytime","Up to 80 videos at 480P 5s","Up to 37 videos at 720P 5s","Up to 14 videos at 1080P 5s"],"product_name":"seeda.app Pro Monthly","credits":7600,"valid_days":30,"plan_name":"Pro"},{"product_id":"starter-annual","group":"annual","title":"Starter","price":"$16.58","original_price":"$20","unit":"/month","currency":"USD","amount":19900,"interval":"year","billing_text":"Billed $199/year","save_label":"Save $41/yr","description":"Great for casual creators getting started with AI video.","tip":"Annual credits issued upfront.","button":{"title":"Get Starter"},"features_title":"Includes:","features":["19,200 Credits / year","Annual credits issued upfront","About 1,600 credits/month on average","Supports Seedance 2.0 480P, 720P, and 1080P generation","Includes silent video and synchronized audio generation","Supports 5s and 10s generation modes","Standard generation queue","Extra credits available anytime","Up to 16 videos at 480P 5s","Up to 7 videos at 720P 5s","Up to 3 videos at 1080P 5s"],"product_name":"seeda.app Starter Annual","credits":1600,"valid_days":30,"plan_name":"Starter"},{"product_id":"creator-annual","group":"annual","title":"Creator","is_featured":true,"label":"Most Popular","price":"$40.83","original_price":"$49","unit":"/month","currency":"USD","amount":49000,"interval":"year","billing_text":"Billed $490/year","save_label":"Save $98/yr","description":"Best for active creators who publish consistently.","tip":"Annual credits issued upfront.","button":{"title":"Get Creator"},"features_title":"Includes:","features":["50,400 Credits / year","Annual credits issued upfront","About 4,200 credits/month on average","Supports Seedance 2.0 480P, 720P, and 1080P generation","Includes silent video and synchronized audio generation","Supports 5s and 10s generation modes","Faster generation queue","Extra credits available anytime","Up to 44 videos at 480P 5s","Up to 20 videos at 720P 5s","Up to 8 videos at 1080P 5s"],"product_name":"seeda.app Creator Annual","credits":4200,"valid_days":30,"plan_name":"Creator"},{"product_id":"pro-annual","group":"annual","title":"Pro","price":"$82.50","original_price":"$99","unit":"/month","currency":"USD","amount":99000,"interval":"year","billing_text":"Billed $990/year","save_label":"Save $198/yr","description":"Built for power users and high-volume production.","tip":"Annual credits issued upfront.","button":{"title":"Get Pro"},"features_title":"Includes:","features":["108,000 Credits / year","Annual credits issued upfront","About 9,000 credits/month on average","Supports Seedance 2.0 480P, 720P, and 1080P generation","Includes silent video and synchronized audio generation","Supports 5s and 10s generation modes","Priority generation queue","Extra credits available anytime","Up to 94 videos at 480P 5s","Up to 43 videos at 720P 5s","Up to 17 videos at 1080P 5s"],"product_name":"seeda.app Pro Annual","credits":9000,"valid_days":30,"plan_name":"Pro"},{"product_id":"credits-s","group":"credits","title":"Small Pack","price":"$29","unit":"","currency":"USD","amount":2900,"interval":"one-time","description":"Perfect for occasional projects and extra usage on top of a subscription.","tip":"Credits do not expire.","button":{"title":"Buy Small Pack"},"features_title":"Includes:","features":["900 Credits","Supports Seedance 2.0 480P, 720P, and 1080P generation","Includes silent video and synchronized audio generation","Credits do not expire","Up to 9 videos at 480P 5s","Up to 4 videos at 720P 5s","Up to 1 video at 1080P 5s"],"product_name":"seeda.app Small Credit Pack","credits":900,"valid_days":36500,"plan_name":"Small Pack"},{"product_id":"credits-m","group":"credits","title":"Medium Pack","is_featured":true,"label":"Best Value","price":"$79","unit":"","currency":"USD","amount":7900,"interval":"one-time","description":"Flexible option for creators who need more generation volume without upgrading plans.","tip":"Credits do not expire.","button":{"title":"Buy Medium Pack"},"features_title":"Includes:","features":["2,400 Credits","Supports Seedance 2.0 480P, 720P, and 1080P generation","Includes silent video and synchronized audio generation","Credits do not expire","Up to 25 videos at 480P 5s","Up to 11 videos at 720P 5s","Up to 4 videos at 1080P 5s"],"product_name":"seeda.app Medium Credit Pack","credits":2400,"valid_days":36500,"plan_name":"Medium Pack"},{"product_id":"credits-l","group":"credits","title":"Large Pack","price":"$179","unit":"","currency":"USD","amount":17900,"interval":"one-time","description":"Best for large one-off projects and extra capacity for heavy users.","tip":"Credits do not expire.","button":{"title":"Buy Large Pack"},"features_title":"Includes:","features":["5,600 Credits","Supports Seedance 2.0 480P, 720P, and 1080P generation","Includes silent video and synchronized audio generation","Credits do not expire","Up to 58 videos at 480P 5s","Up to 27 videos at 720P 5s","Up to 10 videos at 1080P 5s"],"product_name":"seeda.app Large Credit Pack","credits":5600,"valid_days":36500,"plan_name":"Large Pack"}]}}},"messages":{"current_plan":"Current Plan","processing":"Processing","compare_plans":"Compare Plans","feature":"Feature","price":"Price"}}')},23809:(e,t,a)=>{"use strict";a.r(t),a.d(t,{Features:()=>x});var r=a(32812),i=a(57505),n=a(69140),s=a(20792),o=a(13998),l=a(39603),d=a(2571),c=a(86681),u=a(42803),m={warm:"linear-gradient(135deg, #667EEA, #764BA2, #F093FB)",magenta:"linear-gradient(135deg, #F093FB, #F5576C, #FFD500)",cyan:"linear-gradient(135deg, #4FACFE, #00F2FE, #43E97B)"}
1,p={warm:"linear-gradient(135deg, #8B5CF6, #EC4899, #F59E0B)",magenta:"linear-gradient(135deg, #F093FB, #F5576C, #FFD500)",cyan:"linear-gradient(135deg, #4FACFE, #00F2FE, #43E97B)"},h={opacity:1,scale:1,blur:0,translateY:0};function x(e){var t,a=e.section,o=e.className,l=a.items||[],c=(0,d.Q)("(min-width: 1024px)"),x=(0,s.useRef)([]),v=(0,s.useRef)(null),b=(0,i._)((0,s.useState)(120),2),y=b[0],j=b[1],w=(0,i._)((0,s.useState)(function(){return l.map(function(){return(0,r._)({},h)})}),2),N=w[0],_=w[1];(0,s.useEffect)(function(){var e=function(){j(Math.max(80,Math.round((window.innerHeight-660)/2)))};return e(),window.addEventListener("resize",e),function(){return window.removeEventListener("resize",e)}},[]);var k=(0,s.useCallback)(function(){null===v.current&&(v.current=requestAnimationFrame(function(){v.current=null,_(l.map(function(e,t){for(var a=0,i=0,n=t+1;n<l.length;n++){var s=x.current[n];if(s){var o=Math.max(0,Math.min(1,(y+800-s.getBoundingClientRect().top)/800));if(o<=0)break;n===t+1?a=o:i++}}return a<=0?(0,r._)({},h):{opacity:Math.max(.5,1-.5*a-.13*i),scale:Math.max(.88,1-.07*a-.018*i),blur:3*a+.8*i,translateY:-(30*a+8*i)}}))}))},[l,y]);return(0,s.useEffect)(function(){return c?(window.addEventListener("scroll",k,{passive:!0}),k(),function(){window.removeEventListener("scroll",k),v.current&&cancelAnimationFrame(v.current)}):void _(l.map(function(){return(0,r._)({},h)}))},[k,c,l]),(0,n.jsxs)("section",{id:a.id,className:(0,u.cn)("py-16 md:py-32",a.className,o),children:[(0,n.jsxs)("div",{className:"mx-auto mb-12 max-w-[800px] px-4 text-center md:mb-20",children:[(0,n.jsx)("h2",{className:"text-foreground mb-3 text-3xl leading-[1.2] font-bold tracking-tight sm:text-4xl md:text-[48px]",children:a.highlight_text&&a.title?-1===(t=a.title.indexOf(a.highlight_text))?(0,n.jsxs)(n.Fragment,{children:[a.title," ",(0,n.jsx)(g,{children:a.highlight_text})]}):(0,n.jsxs)(n.Fragment,{children:[a.title.slice(0,t),(0,n.jsx)(g,{children:a.highlight_text}),a.title.slice(t+a.highlight_text.length)]}):a.title}),a.description&&(0,n.jsx)("p",{className:"text-muted-foreground text-base leading-relaxed md:text-lg",children:a.description})]}),(0,n.jsx)("div",{className:"mx-auto w-full max-w-[1200px] px-4 lg:px-[40px] xl:px-[60px]",children:l.flatMap(function(e,t){var a=e.glow||"warm",r=m[a]||m.warm,i=p[a]||p.warm,s=N[t]||h,o=(0,n.jsx)("div",{ref:function(e){x.current[t]=e},className:(0,u.cn)(!c&&t>0&&"mt-6"),style:c?{position:"sticky",top:y,zIndex:t+1,willChange:"transform, opacity",backfaceVisibility:"hidden",transformOrigin:"center bottom",WebkitFontSmoothing:"antialiased",opacity:s.opacity,filter:s.blur>.1?"blur(".concat(s.blur,"px)"):void 0,transform:"translate3d(0, ".concat(s.translateY,"px, 0) scale(").concat(s.scale,")")}:void 0,children:(0,n.jsx)(f,{item:e,borderGrad:r,subtitleGrad:i,isReversed:t%2==1,isDesktop:c})},"card-".concat(t)),l=c?(0,n.jsx)("div",{"aria-hidden":!0,style:{height:800}},"spacer-".concat(t)):null;return l?[o,l]:[o]})})]})}function g(e){var t=e.children;return(0,n.jsx)("span",{className:"bg-clip-text text-transparent",style:{backgroundImage:"linear-gradient(135deg, #8B5CF6, #EC4899 50%, #F59E0B)"},children:t})}function f(e){var t,a,r=e.item,d=e.borderGrad,m=e.subtitleGrad,p=e.isReversed,h=e.isDesktop,x=(0,s.useRef)(null),g=(0,s.useRef)(null),f=(0,l.W)(g,{amount:.2}),v=(0,l.W)(g,{margin:"600px 0px",once:!0}),b=(0,i._)((0,s.useState)(!1),2),y=b[0],j=b[1],w=(0,i._)((0,s.useState)(!1),2),N=w[0],_=w[1];(0,s.useEffect)(function(){v&&j(!0)},[v]),(0,s.useEffect)(function(){x.current&&y&&(f&&N?x.current.play().catch(function(){}):x.current.pause())},[f,N,y]);var k=null==(t=r.video)?void 0:t.src,P=null==(a=r.image)?void 0:a.src;return(0,n.jsxs)("div",{className:"relative",ref:g,children:[(0,n.jsx)("div",{className:"absolute rounded-[32px]",style:{inset:"-3px",zIndex:-1,opacity:.6,background:d}}),(0,n.jsx)("div",{className:"pointer-events-none absolute rounded-[32px]",style:{inset:"-6px",zIndex:-2,opacity:.4,background:d,filter:"blur(16px)"}}),(0,n.jsxs)("div",{className:(0,u.cn)("bg-card flex flex-col items-center gap-8 rounded-[28px] shadow-[0_30px_80px_rgba(0,0,0,0.6)]","p-[30px] md:p-[60px_70px]",h&&"gap-[60
1px]",h&&(p?"flex-row-reverse":"flex-row")),children:[(0,n.jsxs)("div",{className:(0,u.cn)("flex flex-col justify-center",h&&"max-w-[480px] flex-1"),children:[(0,n.jsxs)("h3",{className:"text-foreground mb-3 text-2xl leading-[1.3] font-semibold sm:text-3xl md:text-[40px]",children:[r.title,r.highlight_text&&(0,n.jsx)("span",{className:"mt-1 block bg-clip-text pb-1 text-transparent",style:{backgroundImage:m},children:r.highlight_text})]}),r.description&&(0,n.jsx)("p",{className:"text-muted-foreground text-base leading-7 md:text-lg",children:r.description})]}),(0,n.jsxs)("div",{className:(0,u.cn)("bg-muted relative w-full shrink-0 overflow-hidden rounded-[20px] shadow-[0_20px_50px_rgba(0,0,0,0.5)]",h?"h-[480px] w-[400px] xl:h-[540px] xl:w-[460px]":"aspect-[550/600]"),children:[P&&(0,n.jsx)("div",{className:(0,u.cn)("absolute inset-0 z-10 transition-opacity duration-700",N?"opacity-0":"opacity-100"),children:(0,n.jsx)(o.default,{src:P,alt:(0,c.WN)(r.image.alt,r.title),fill:!0,className:"object-cover",sizes:h?"460px":"100vw",priority:r.priority})}),k&&(0,n.jsx)("video",{ref:x,src:y?k:void 0,autoPlay:!0,loop:!0,muted:!0,playsInline:!0,preload:y?"auto":"none",onLoadedData:function(){return _(!0)},className:(0,u.cn)("z-20 h-full w-full object-cover transition-opacity duration-700",N?"opacity-100":"opacity-0")})]})]})]})}},24806:(e,t,a)=>{"use strict";a.d(t,{U:()=>A});var r=a(76471),i=a(57505),n=a(3395),s=a(69140),o=a(20792),l=a(45951),d=a(16055),c=a(47407),u=a(70682),m=a(48169),p=a(41156),h=a(84620),x=a(16739),g=a(45509),f=a(16854),v=a(13998),b=a(18066),y=a(28632),j=a(10938),w=a(86681),N=a(37741),_=a(5029),k=a(42803);function P(e){var t=e.configs,a=e.callbackUrl,d=e.loading,c=(e.setLoading,e.pricingItem),h=e.onCheckout,x=e.className;(0,m.c)("common.payment"),(0,y.rd)(),(0,g.U)().setIsShowPaymentModal;var f=(0,i._)((0,o.useState)(null),2),P=f[0],S=f[1];if(a){var C=(0,l.Ym)();C!==j.q&&a.startsWith("/")&&!a.startsWith("/".concat(C))&&(a="/".concat(C).concat(a))}var I=function(e){var t=e.provider;return(0,r._)(function(){return(0,n.YH)(this,function(e){return t?c?((0,_.sx)("payment_provider_select",{provider:t,product_name:c.title||c.product_id||""}),h(c,t)):u.oR.error("please select a pricing item",{description:"Contact [email protected] if you need help."}):u.oR.error("please select payment method",{description:"Contact [email protected] if you need help."}),[2]})})()},z=null==c?void 0:c.payment_providers,A=function(e){return!z||0===z.length||z.includes(e)},U=[];return"true"===t.stripe_enabled&&A("stripe")&&U.push({name:"stripe",title:"Stripe",icon_url:(0,N.a)("/imgs/icons/stripe.png"),onClick:function(){return I({provider:"stripe"})}}),"true"===t.creem_enabled&&A("creem")&&U.push({name:"creem",title:"Creem",icon_url:(0,N.a)("/imgs/icons/creem.png"),onClick:function(){return I({provider:"creem"})}}),"true"===t.paypal_enabled&&A("paypal")&&U.push({name:"paypal",title:"Paypal",icon_url:(0,N.a)("/imgs/icons/paypal.svg"),onClick:function(){return I({provider:"paypal"})}}),(0,s.jsx)("div",{className:(0,k.cn)("flex w-full items-center gap-2","flex-col justify-between",x),children:U.map(function(e){return(0,s.jsxs)(p.$,{variant:"outline",className:(0,k.cn)("w-full gap-2"),disabled:d,onClick:function(){if(!e.onClick||!e.name)return void u.oR.error("invalid payment method",{description:"Contact [email protected] if you need help."});S(e.name),e.onClick()},children:[e.icon_url&&(0,s.jsx)(v.default,{src:e.icon_url,alt:(0,w.WN)(e.title,(0,w.sE)(e.name)),width:24,height:24,className:"rounded-full"}),(0,s.jsx)("h3",{children:e.title}),P===e.name&&d&&(0,s.jsx)(b.A,{className:"size-4 animate-spin"})]},e.name)})})}function S(e){var t=e.isLoading,a=e.pricingItem,r=e.onCheckout,i=(0,m.c)("common.payment"),n=(0,g.U)(),o=n.isShowPaymentModal,l=n.setIsShowPaymentModal,d=(0,g.U)().configs;return(0,f.U)("(min-width: 768px)")?(0,s.jsx)(h.lG,{open:o,onOpenChange:l,children:(0,s.jsxs)(h.Cf,{className:"sm:max-w-[425px]",children:[(0,s.jsxs)(h.c7,{children:[(0,s.jsx)(h.L3,{children:i("choose_payment_method")}),(0,s.jsx)(h.rr,{children:i("choose_payment_method_description")})]}),(0,s.jsx)(P,{callbackUrl:"/",configs:d,loading:t,setLoading:function(){},pricingItem:a,onCheckout:r})]})}):(0,s.jsx)(x._s,{open:o,onOpenChange:l,children:(0,s.jsxs)(x.zj,{
1children:[(0,s.jsxs)(x.BE,{className:"text-left",children:[(0,s.jsx)(x.gk,{children:i("choose_payment_method")}),(0,s.jsx)(x.I6,{children:i("choose_payment_method_description")})]}),(0,s.jsx)(P,{callbackUrl:"/",configs:d,loading:t,setLoading:function(){},pricingItem:a,onCheckout:r,className:"px-4"}),(0,s.jsx)(x.tb,{className:"pt-4",children:(0,s.jsx)(x.cp,{asChild:!0,children:(0,s.jsx)(p.$,{variant:"outline",children:i("cancel_title")})})})]})})}var C=a(97596),I=a(13021),z=(0,d.i)({checkoutUrl:"/api/payment/checkout"});function A(e){var t,a,d=e.section,m=e.skin,x=e.compact,f=e.defaultProductId,v=e.currentSubscription,b=e.className,y=(0,l.Ym)(),j=(0,g.U)(),w=j.user,N=j.isShowPaymentModal,k=j.setIsShowPaymentModal,P=j.setIsShowSignModal,A=j.configs,U=(0,i._)((0,o.useState)(null),2),T=U[0],M=U[1],L=(0,i._)((0,o.useState)(),2),E=L[0],F=L[1],R=(0,o.useRef)(null);(0,o.useEffect)(function(){!N&&T&&R.current&&(R.current(void 0),R.current=null,M(null))},[N,T]);var G={currentSubscription:null!=(a=null!=v?v:null==(t=d.data)?void 0:t.currentSubscription)?a:null,getCheckoutMetadata:function(e,t){var a={};return"true"===A.affonso_enabled&&["stripe","creem"].includes(null!=t?t:"")&&(a.affonso_referral=(0,C.Ri)("affonso_referral")||""),"true"===A.promotekit_enabled&&"stripe"===t&&(a.promotekit_referral=window.promotekit_referral||(0,C.Ri)("promotekit_referral")||""),a},getPromoCode:function(){return(0,I.w)()},locale:y,notify:{error:function(e){return u.oR.error(e)},info:function(e){return u.oR.message(e)},success:function(e){return u.oR.success(e)}},onConflict:function(e){return F(e)},requestSignIn:function(){(0,_.sx)("sign_in_wall_shown",{page_path:"/pricing",trigger_action:"select_plan"}),P(!0)},selectPaymentProvider:function(e,t){return(0,r._)(function(){var a;return(0,n.YH)(this,function(r){switch(r.label){case 0:if((0,_.sx)("pricing_card_selected",{group:e.group,page_path:window.location.pathname,plan_id:e.product_id,plan_name:e.product_name||e.title}),(0,_.sx)("select_plan",{currency:(e.currency||"usd").toUpperCase(),group:e.group,interval:e.interval,page_path:window.location.pathname,plan_id:e.product_id,plan_name:e.product_name||e.title,price:(null!=(a=e.amount)?a:0)/100}),"true"!==A.select_payment_enabled)return[2,A.default_payment_provider||t[0]||"default"];return[4,new Promise(function(t){R.current=t,M(e),k(!0)})];case 1:return[2,r.sent()]}})})()},track:function(e,t){return(0,_.sx)(e,t)},user:w};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(c.X,{adapter:z,app:G,className:b,compact:void 0!==x&&x,config:{className:d.className,defaultProductId:d.defaultProductId,description:d.description,disabled:d.disabled,groups:d.groups,id:d.id,items:d.items,name:d.name,sr_only_title:d.sr_only_title,title:d.title},defaultProductId:null!=f?f:d.defaultProductId,labels:"zh"===y||y.startsWith("zh-")?{activeSubscription:"ä½ å·²ç»æä¸ä¸ªææè®¢é
ã",buyCredits:"è´ä¹°ç§¯å",contactSupport:"èç³»æ¯æ",currency:"è´§å¸",currentPlan:"å½åå¥é¤",includes:"å
å«ï¼",manageSubscription:"管ç订é
",processing:"å¤çä¸..."}:{activeSubscription:"You already have an active subscription.",buyCredits:"Buy credits",contactSupport:"Contact support",currency:"Currency",currentPlan:"Current plan",includes:"Includes:",manageSubscription:"Manage subscription",processing:"Processing..."},skin:void 0===m?"default":m}),T&&(0,s.jsx)(S,{isLoading:!1,pricingItem:T,onCheckout:function(e,t){var a,r=t||A.default_payment_provider||"default";null==(a=R.current)||a.call(R,r),R.current=null,M(null),k(!1)}}),(0,s.jsx)(h.lG,{open:!!E,onOpenChange:function(e){e||F(void 0)},children:(0,s.jsxs)(h.Cf,{children:[(0,s.jsxs)(h.c7,{children:[(0,s.jsx)(h.L3,{children:"Active subscription exists"}),(0,s.jsxs)(h.rr,{children:["You already have an active subscription",E?": ".concat(E):"",". Buy credits instead or manage your subscription."]})]}),(0,s.jsx)(h.Es,{children:(0,s.jsx)(p.$,{variant:"outline",onClick:function(){return F(void 0)},children:"Close"})})]})})]})}},33836:(e,t,a)=>{"use strict";a.r(t),a.d(t,{Logos:()=>l});var r=a(69140),i=a(74078),n=a(18742),s=a(86681),o=a(42803);function l(e){var t,a=e.section,l=e.className,d=null!=(t=a.items)?t:[];return(0,r.jsx)("section",{id:a.id,className:(0,o.cn)("py-8 md:py-12",a.
1className,l),children:(0,r.jsxs)("div",{className:"mx-auto max-w-7xl px-6",children:[a.title&&(0,r.jsx)("p",{className:"text-muted-foreground mb-8 text-center text-sm",children:a.title}),(0,r.jsxs)("div",{className:"relative",children:[(0,r.jsx)("div",{className:"from-background pointer-events-none absolute top-0 left-0 z-10 h-full w-12 bg-gradient-to-r to-transparent md:w-24"}),(0,r.jsx)("div",{className:"from-background pointer-events-none absolute top-0 right-0 z-10 h-full w-12 bg-gradient-to-l to-transparent md:w-24"}),(0,r.jsx)(n.Y,{gap:56,speed:30,speedOnHover:15,children:d.map(function(e,t){var a;return(0,r.jsxs)("div",{className:"flex shrink-0 items-center gap-3 opacity-70 transition-opacity hover:opacity-100",children:[(null==(a=e.image)?void 0:a.src)&&(0,r.jsx)(i.oD,{className:"h-8 w-8 object-contain md:h-10 md:w-10 dark:invert",src:e.image.src,alt:(0,s.WN)(e.image.alt,(0,s.sE)(e.title))}),e.title&&(0,r.jsx)("span",{className:"text-foreground text-base font-medium whitespace-nowrap md:text-lg",children:e.title})]},t)})})]})]})})}},36208:(e,t,a)=>{"use strict";a.r(t),a.d(t,{Tabs:()=>x});var r=a(57505),i=a(69140),n=a(20792),s=a(28632),o=a(32812),l=a(20857),d=a(7907),c=a(11380),u=a(42803),m=n.forwardRef(function(e,t){var a=e.className,r=e.children,n=(0,d._)(e,["className","children"]);return(0,i.jsxs)(c.bL,(0,l._)((0,o._)({ref:t,className:(0,u.cn)("relative overflow-hidden",a)},n),{children:[(0,i.jsx)(c.LM,{className:"h-full w-full rounded-[inherit]",children:r}),(0,i.jsx)(p,{}),(0,i.jsx)(c.OK,{})]}))});m.displayName=c.bL.displayName;var p=n.forwardRef(function(e,t){var a=e.className,r=e.orientation,n=void 0===r?"vertical":r,s=(0,d._)(e,["className","orientation"]);return(0,i.jsx)(c.VM,(0,l._)((0,o._)({ref:t,orientation:n,className:(0,u.cn)("flex touch-none select-none transition-colors","vertical"===n&&"h-full w-2.5 border-l border-l-transparent p-[1px]","horizontal"===n&&"h-2.5 flex-col border-t border-t-transparent p-[1px]",a)},s),{children:(0,i.jsx)(c.lr,{className:"relative flex-1 rounded-full bg-border"})}))});p.displayName=c.VM.displayName;var h=a(88328);function x(e){var t,a=e.tabs,o=e.size,l=(0,s.rd)(),d=(0,r._)((0,n.useState)((null==a||null==(t=a.find(function(e){return e.is_active}))?void 0:t.name)||""),2),c=d[0],x=d[1],g=(0,r._)((0,n.useState)({}),2);return g[0],g[1],(0,n.useEffect)(function(){if(c){var e=(null==a?void 0:a.find(function(e){return e.name===c}))||{};e.url&&l.push(e.url)}},[c]),(0,i.jsx)("div",{className:"relative mb-8",children:(0,i.jsxs)(m,{className:"w-full lg:max-w-none",children:[(0,i.jsx)("div",{className:"flex items-center space-x-2",children:(0,i.jsx)(h.tU,{value:c,onValueChange:x,children:(0,i.jsx)(h.j7,{className:(0,u.cn)("sm"===o&&"h-8"),children:a.map(function(e,t){return(0,i.jsx)(h.Xi,{value:e.name||"",children:e.title},t)})})})}),(0,i.jsx)(p,{orientation:"horizontal",className:"invisible"})]})})}},37741:(e,t,a)=>{"use strict";a.d(t,{a:()=>i});var r="https://data.seeda.app".replace(/\/+$/,"");function i(e){return!e||/^(https?:)?\/\//.test(e)||e.startsWith("data:")||!e.startsWith("/imgs/")&&!e.startsWith("/videos/")?e:"".concat(r).concat(e)}},38240:(e,t,a)=>{"use strict";a.r(t),a.d(t,{FeaturesMedia:()=>l});var r=a(69140),i=a(78372),n=a(74078),s=a(86681),o=a(42803);function l(e){var t,a,l,d,c=e.section,u="right"===(c.image_position||"left");return(0,r.jsx)("section",{id:c.id||c.name,className:(0,o.cn)("py-16 md:py-24",c.className),children:(0,r.jsx)("div",{className:"container flex flex-col items-center justify-center space-y-8 px-6 md:space-y-16",children:(0,r.jsxs)(i.P.div,{className:(0,o.cn)("grid items-center gap-6 sm:grid-cols-2 md:gap-12 lg:gap-24",u&&"sm:[&>*:first-child]:order-2 sm:[&>*:last-child]:order-1"),initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-100px"},transition:{duration:.6,ease:[.22,1,.36,1]},children:[(0,r.jsx)(i.P.div,{initial:{opacity:0,scale:.95},whileInView:{opacity:1,scale:1},viewport:{once:!0},transition:{duration:.5,delay:.2,ease:[.22,1,.36,1]},children:(0,r.jsx)(n.oD,{src:null!=(d=null==(t=c.image)?void 0:t.src)?d:"",className:"rounded-2xl",alt:(0,s.WN)(null==(a=c.image)?void 0:a.alt,(0,s.hu)(c.title,"feature illustration image"))})}),(0,r.jsxs)(i.P.div,{className:"relative space-y-4",initial:{opacity:0,x:u?-20:20},whileInView:{opacity:1,x:0},viewport:{once:!0},transition:{duration:.5,delay:.3,ease:[.22,1,.36,1]},children:[(0,r.jsx)("h2",{className:"text-xl font-medium md:text-lg lg:text-lg",children:c.title}),(0,r.jsx)("p",{className:"text-muted-foreground text-md",children:c.description}),(0,r.jsx)("div",{className:"mt-8 flex flex-wrap gap-4",children:null==(l=c.items)?void 0:l.map(function(e){return(0,r.jsxs)("div",{children:[(0,r.jsxs)("h3",{className:"mb-2 flex items-center gap-2 text-sm",children:[(0,r.jsx)(n.LK,{name:e.icon,size:16}),e.title]}),(0,r.jsx)("p",{className:"text-muted-foreground text-sm",children:e.description})]},e.title)})})]})]})})})}},40550:(e,t,a)=>{"use strict";a.r(t),a.d(t,{Hero:()=>w});var r=a(69140),i=a(13998),n=a(59434),s=a(28632),o=a(74078),l=a(41156),d=a(20792),c=a(39603),u=a(50);function m(e){var t=e.children,a=e.action,i=void 0===a?"highlight":a,n=e.color,s=void 0===n?"#ffd1dc":n,o=e.strokeWidth,l=void 0===o?1.5:o,m=e.animationDuration,p=void 0===m?600:m,h=e.iterations,x=void 0===h?2:h,g=e.padding,f
1=void 0===g?2:g,v=e.multiline,b=void 0===v||v,y=e.isView,j=(0,d.useRef)(null),w=(0,d.useRef)(null),N=(0,c.W)(j,{once:!0,margin:"-10%"}),_=!(void 0!==y&&y)||N;return(0,d.useEffect)(function(){if(_){var e=j.current;if(e){var t=(0,u.f)(e,{type:i,color:s,strokeWidth:l,animationDuration:p,iterations:x,padding:f,multiline:b});w.current=t,w.current.show();var a=new ResizeObserver(function(){t.hide(),t.show()});return a.observe(e),a.observe(document.body),function(){e&&((0,u.f)(e,{type:i}).remove(),a.disconnect())}}}},[_,i,s,l,p,x,f,b]),(0,r.jsx)("span",{ref:j,className:"relative inline-block bg-transparent",children:t})}var p=a(86681),h=a(5029),x=a(42803),g=a(90186),f=a(86948),v=a(36651),b=a(37741),y=[(0,b.a)("/imgs/avatars/1.png"),(0,b.a)("/imgs/avatars/2.png"),(0,b.a)("/imgs/avatars/3.png"),(0,b.a)("/imgs/avatars/4.png"),(0,b.a)("/imgs/avatars/5.png"),(0,b.a)("/imgs/avatars/6.png")];function j(e){var t=e.tip;return(0,r.jsxs)("div",{className:"mx-auto mt-8 flex w-fit flex-col items-center gap-2 sm:flex-row",children:[(0,r.jsx)("span",{className:"mx-4 inline-flex items-center -space-x-2",children:y.map(function(e,t){return(0,r.jsx)(v.Avatar,{className:"size-10 border",children:(0,r.jsx)(i.default,{width:40,height:40,src:e,alt:"Creator community member avatar ".concat(t+1)})},t)})}),(0,r.jsxs)("div",{className:"flex flex-col items-center gap-1 md:items-start",children:[(0,r.jsx)("div",{className:"flex items-center gap-1",children:Array.from({length:5}).map(function(e,t){return(0,r.jsx)(f.A,{className:"size-4 fill-yellow-400 text-yellow-400"},t)})}),(0,r.jsx)("p",{className:"text-muted-foreground text-left text-sm font-normal",children:t})]})]})}function w(e){var t,a,d,c,u,f,v,b,y,w,N,_,k,P,S,C,I=e.section,z=e.className,A=(null==(t=I.data)?void 0:t.fluidBackground)===!0,U=null!=(k=I.highlight_text)?k:"",T=null;return U&&(T=null==(P=I.title)?void 0:P.split(U,2)),(0,r.jsxs)("section",{id:I.id,className:(0,x.cn)("relative overflow-hidden pt-24 pb-8 md:pt-36 md:pb-8",I.className,z),children:[A&&(0,r.jsx)(g.n,{}),I.announcement&&(0,r.jsxs)(s.N_,{href:I.announcement.url||"",onClick:function(){var e,t;return(0,h.sx)("cta_clicked",{cta_location:"hero_announcement",cta_text:(null==(e=I.announcement)?void 0:e.title)||"",target_url:(null==(t=I.announcement)?void 0:t.url)||"",section_id:I.id,page_path:window.location.pathname})},target:I.announcement.target||"_self",className:"hover:bg-background dark:hover:border-t-border bg-muted group mx-auto mb-8 flex w-fit items-center gap-4 roun
1ded-full border p-1 pl-4 shadow-md shadow-zinc-950/5 transition-colors duration-300 dark:border-t-white/5 dark:shadow-zinc-950",children:[(0,r.jsx)("span",{className:"text-foreground text-sm",children:I.announcement.title}),(0,r.jsx)("span",{className:"dark:border-background block h-4 w-0.5 border-l bg-white dark:bg-zinc-700"}),(0,r.jsx)("div",{className:"bg-background group-hover:bg-muted size-6 overflow-hidden rounded-full duration-500",children:(0,r.jsxs)("div",{className:"flex w-12 -translate-x-1/2 duration-500 ease-in-out group-hover:translate-x-0",children:[(0,r.jsx)("span",{className:"flex size-6",children:(0,r.jsx)(n.A,{className:"m-auto size-3"})}),(0,r.jsx)("span",{className:"flex size-6",children:(0,r.jsx)(n.A,{className:"m-auto size-3"})})]})})]}),(0,r.jsxs)("div",{className:"relative z-10 mx-auto max-w-full px-4 text-center md:max-w-5xl",children:[T&&T.length>0?(0,r.jsxs)("h1",{className:"text-foreground text-4xl font-semibold text-balance sm:mt-12 sm:text-6xl",children:[T[0],(0,r.jsx)(m,{action:"underline",color:"#FF9800",children:U}),T[1]]}):(0,r.jsx)("h1",{className:"text-foreground text-4xl font-semibold text-balance sm:mt-12 sm:text-6xl",children:I.title}),(0,r.jsx)("p",{className:"text-muted-foreground mt-8 mb-8 text-lg text-balance",dangerouslySetInnerHTML:{__html:null!=(S=I.description)?S:""}}),I.buttons&&(0,r.jsx)("div",{className:"flex items-center justify-center gap-4",children:I.buttons.map(function(e,t){var a,i;return(0,r.jsx)(l.$,{asChild:!0,size:e.size||"default",variant:e.variant||"default",className:"px-4 text-sm",children:(0,r.jsxs)(s.N_,{href:null!=(a=e.url)?a:"",onClick:function(){var t;return(0,h.sx)("cta_clicked",{cta_location:"hero",cta_text:e.title,target_url:null!=(t=e.url)?t:"",section_id:I.id,page_path:window.location.pathname})},target:null!=(i=e.target)?i:"_self",children:[e.icon&&(0,r.jsx)(o.LK,{name:e.icon}),(0,r.jsx)("span",{children:e.title})]})},t)})}),I.tip&&(0,r.jsx)("p",{className:"text-muted-foreground mt-6 block text-center text-sm",dangerouslySetInnerHTML:{__html:null!=(C=I.tip)?C:""}}),I.show_avatars&&(0,r.jsx)(j,{tip:I.avatars_tip||""})]}),((null==(a=I.image)?void 0:a.src)||(null==(d=I.image_invert)?void 0:d.src))&&(0,r.jsx)("div",{className:"border-foreground
1/10 relative z-10 mt-8 border-y sm:mt-16",children:(0,r.jsx)("div",{className:"relative z-10 mx-auto max-w-6xl border-x px-3",children:(0,r.jsxs)("div",{className:"border-x",children:[(0,r.jsx)("div",{"aria-hidden":!0,className:"h-3 w-full bg-[repeating-linear-gradient(-45deg,var(--color-foreground),var(--color-foreground)_1px,transparent_1px,transparent_4px)] opacity-5"}),(null==(c=I.image_invert)?void 0:c.src)&&(0,r.jsx)(i.default,{className:"border-border/25 relative z-2 hidden w-full border dark:block",src:I.image_invert.src,alt:(0,p.WN)(I.image_invert.alt||(null==(u=I.image)?void 0:u.alt),(0,p.hu)(I.title,"hero product preview image")),width:I.image_invert.width||(null==(f=I.image)?void 0:f.width)||1200,height:I.image_invert.height||(null==(v=I.image)?void 0:v.height)||630,sizes:"(max-width: 768px) 100vw, 1200px",loading:"lazy",fetchPriority:"high",quality:75,unoptimized:I.image_invert.src.startsWith("http")}),(null==(b=I.image)?void 0:b.src)&&(0,r.jsx)(i.default,{className:"border-border/25 relative z-2 block w-full border dark:hidden",src:I.image.src,alt:(0,p.WN)(I.image.alt||(null==(y=I.image_invert)?void 0:y.alt),(0,p.hu)(I.title,"hero product preview image")),width:I.image.width||(null==(w=I.image_invert)?void 0:w.width)||1200,height:I.image.height||(null==(N=I.image_invert)?void 0:N.height)||630,sizes:"(max-width: 768px) 100vw, 1200px",loading:"lazy",fetchPriority:"high",quality:75,unoptimized:I.image.src.startsWith("http")})]})})}),(null==(_=I.background_image)?void 0:_.src)&&(0,r.jsxs)("div",{className:"absolute inset-0 -z-10 hidden h-full w-full overflow-hidden md:block",children:[(0,r.jsx)("div",{className:"from-background/80 via-background/80 to-background absolute inset-0 z-10 bg-gradient-to-b"}),(0,r.jsx)(i.default,{src:I.background_image.src,alt:(0,p.WN)(I.background_image.alt,(0,p.hu)(I.title,"hero background image")),className:"object-cover opacity-60 blur-[0px]",fill:!0,loading:"lazy",sizes:"(max-width: 768px) 0vw, 100vw",quality:70,unoptimized:I.background_image.src.startsWith("http")})]})]})}},42430:(e,t,a)=>{"use strict";a.d(t,{i:()=>d});var r=a(32812),i=a(20857),n=a(57505),s=a(69140),o=a(20792),l=function(e){switch(e){case"up":default:return"translate3d(0, 30px, 0)";case"down":return"translate3d(0, -30px, 0)";case"left":return"translate3d(30px, 0, 0)";case"right":return"translate3d(-30px, 0, 0)"}};function d(e){var t=e.children,a=e.className,d=void 0===a?"":a,c=e.delay,u=void 0===c?0:c,m=e.direction,p=void 0===m?"up":m,h=e.stagger,x=(0,o.useRef)(null),g=(0,n._)((0,o.useState)(!1),2),f=g[0],v=g[1],b=(0,n._)((0,o.useState)(!1),2),y=b[0],j=b[1];if((0,o.useEffect)(function(){if(window.matchMedia("(prefers-reduced-motion: reduce)").matches){j(!0),v(!0);return}var e=x.current;if(e){var t=new IntersectionObserver(function(a){(0,n._)(a,1)[0].isIntersecting&&(v(!0),t.unobserve(e))},{rootMargin:"-50px"});return t.observe(e),function(){return t.disconnect()}}},[]),y)return(0,s.jsx)("div",{ref:x,className:d,children:t});var w={transition:"opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1) ".concat(u,"s, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1) ").concat(u,"s")};return void 0!==h&&h?(0,s.jsx)("div",{ref:x,className:d,style:{opacity:+!!f,transition:"opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1) ".concat(u,"s")},children:o.Children.map(t,function(e,t){var a=u+.1*t;return(0,s.jsx)("div",{style:{opacity:+!!f,transform:f?"translate3d(0, 0, 0)":l(p),transition:"opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1) ".concat(a,"s, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1) ").concat(a,"s")},children:e})})}):(0,s.jsx)("div",{ref:x,className:d,style:(0,i._)((0,r._)({},w),{opacity:+!!f,transform:f?"translate3d(0, 0, 0)":l(p)}),children:t})}},48528:(e,t,a)=>{"use strict";a.r(t),a.d(t,{FeatureImageGenerator:()=>n});var r=a(69140),i=a(92074);function n(e){var t=e.section,a=e.className;return(0,r.jsx)(i.a,{section:t,outputType:"image",className:a})}},49403:(e,t,a)=>{"use strict";a.d(t,{ShipAnyHeaderBlock:()=>_});var r=a(76471),i=a(87639),n=a(3395),s=a(69140),o=a(20340),l=a(13998),d=a(31951),c=a(48169),u=a(45951),m=a(91442),p=a(39614),h=a(99156),x=a(28632),g=a(10938),f=a(45509),v=a(18572),b=
1a(69397),y={"/":"video","/ai-baseball-stadium-video-generator":"video","/ai-comic-book-maker":"image","/ai-cosplay-video-generator":"video","/ai-crochet-pattern":"image","/ai-flyer-generator":"image","/ai-minecraft-skin-generator":"image","/ai-movie-poster-generator":"image","/ai-nail-generator":"image","/ai-pet-portrait-generator":"image","/ai-photo-relight":"image","/ai-rain-effect-online":"image","/baseball-ai":"video","/chatgpt-images-2":"image","/chibi-cartoon":"video","/childrens-story-videos":"video","/color-palette-by-image":"image","/comatozze-gemini-prompt":"video","/create-video-from-photos":"video","/engraving-portrait-generator":"image","/eye-direction-changer":"image","/face-symmetry-test":"image","/feet-image-generator":"image","/frame-to-video-ai":"video","/goofy-ai-image-generator":"image","/image-to-video":"video","/instagram-flash-filter":"image","/met-gala-prompt":"image","/mothers-day-ai-prompts":"image","/mount-rushmore-generator":"image","/ms-paint":"image","/neapolitan-hair-filter":"image","/old-photo-restorer":"image","/omni-flash-generator":"video","/prompt-to-comic":"image","/remove-double-chin-photo":"image","/remove-glasses-glare":"image","/seedance-2-1":"video","/selfie-to-comic":"image","/shoes-poster-generator":"image","/socrates-ai-skeleton-meme-generator":"video"},j=[{title:"Goofy AI Images Generator",description:"Create goofy AI images with real-world use cases",url:"/goofy-ai-image-generator",icon:"Smile",mediaType:"image",order:93},{title:"Childrens Story Videos",description:"Turn stories into animated videos for kids",url:"/childrens-story-videos",icon:"BookOpen",mediaType:"video",order:94},{title:"Mount Rushmore Generator",description:"Create fictional granite face monuments",url:"/mount-rushmore-generator",icon:"Mountain",mediaType:"image",order:95},{title:"AI Comic Book Maker",description:"Create comics from text prompts",url:"/ai-comic-book-maker",icon:"BookOpen",mediaType:"image",order:96},{title:"AI Rain Effect on Photo Online",description:"Real case studies with before-and-after rain transformations",url:"/ai-rain-effect-online",icon:"CloudRain",mediaType:"image",order:96},{title:"Feet Image Generator",description:"Create AI feet images online",url:"/feet-image-generator",icon:"Image",mediaType:"image",order:96},{title:"AI Cosplay Video Generator",description:"Upload one selfie, pick a character, and Seedance renders a cinematic clip in under a minute. No costume, no camera, no editing skills required.",url:"/ai-cosplay-video-generator",icon:"Video",mediaType:"video"},{title:"AI Crochet Pattern",description:"Create a subject-focused ai crochet pattern preview with Seedance image generation for amigurumi toys, yarn palettes, and crochet pattern planning visuals.",url:"/ai-crochet-pattern",icon:"ImageIcon",mediaType:"image"},{title:"AI Flyer Generator",description:"Learn how to design a flyer with AI using this free online flyer maker â an ai text to flyer generator. Real businesses produce event flyers and promotional posters in minutes. Describe your idea and the AI flyer generator delivers a finished design with professional typography and layout.",url:"/ai-flyer-generator",icon:"ImageIcon",mediaType:"image"},{title:"AI Minecraft Skin Generator",description:"Upload a portrait, outfit photo, sketch, or character idea and use the ai minecraft skin generator to create one original blocky voxel skin preview. The ai minecraft skin generator is tuned for preserving identity cues while avoiding official logos, protected characters, and exact IP copies.",url:"/ai-minecraft-skin-generator",icon:"ImageIcon",mediaType:"image"},{title:"AI Movie Poster Generator",description:"Create a theatrical movie poster cover from text with the ai movie poster generator, using bold title space, cinematic lighting, gritty print texture, and a finished campaign look that avoids the over-polished AI style.",url:"/ai-movie-poster-generator",icon:"ImageIcon",mediaType:"image"},{title:"AI Nail Generator â Acrylic Nail Art Studio",description:"Generate consistent acrylic nail sets for your portfolio with the AI nail generator â practice new shapes, document color palettes, and build a library of client-ready design references. Every prompt produces a studio-grade nail visual you can save, share, and reuse in lookbooks.",url:"/ai-nail-generator",icon:"ImageIcon",mediaType:"image"},{title:"AI Pet Portrait Generator",description:"Use the ai pet portrait generator to turn a casual pet photo into a refined custom portrait while keeping the animal recognizable. Upload a dog, cat, rabbit, or other pet image, then guide Seeda toward a polished gallery card, painted canvas, editorial poster, or gift-ready pet portrait ai result. The examples on this page show comparison artwork so you can see how an ordinary phone snapshot can become a premium ai pet portrait. Your actual generation creates one transformed portrait output.",url:"/ai-pet-portrait-generator",icon:"ImageIcon",mediaType:"image"},{title:"AI Photo Relight â Real Results",description:"A food photographer needed
1six hours to reshoot 50 product shots with uneven lighting. With this ai photo relight tool, each takes two minutes. Describe your photo and desired light source, and the model rewraps illumination around your subject. The result preserves shadows, highlights, and texture as if relit on set.",url:"/ai-photo-relight",icon:"ImageIcon",mediaType:"image"},{title:"Baseball AI Prompt Video Generator",description:"Create a baseball AI prompt trend video from one image or a text prompt. Aim for Korean baseball-inspired stadium fan cam motion, jersey-style styling, cheering crowd energy, and short-form vertical impact.",url:"/baseball-ai",icon:"Video",mediaType:"video"},{title:"Baseball AI Video Tool Online",description:"Upload one image and create a baseball ai video tool online broadcast clip. This tool adds MLB-style stadium atmosphere, broadcast camera motion, crowd energy, warm golden-hour lighting, and polished sports-ad color grading without using real team logos, player names, or official league branding.",url:"/ai-baseball-stadium-video-generator",icon:"Video",mediaType:"video"},{title:"ChatGPT Images 2 Generator",description:"Use ChatGPT Images 2 to create a polished AI image from a prompt or reference image, review the still frame, then carry the approved visual into image-to-video generation.",url:"/chatgpt-images-2",icon:"ImageIcon",mediaType:"image"},{title:"Chibi Cartoon Prompt Generator",description:"Create a chibi cartoon prompt video from one image or a text prompt. Aim for cute 3D chibi-style characters, white sticker outlines, handwritten doodles, soft pastel color, and clean social-ready motion.",url:"/chibi-cartoon",icon:"Video",mediaType:"video"},{title:"Color Palette by Image",description:"Use color palette by image to turn an uploaded photo, product shot, UI screenshot, room scene, or travel image into a clean downloadable palette report. Seeda AI keeps the uploaded image as the main visual reference, then adds a refined right-side palette card with five large color swatches and simple role labels. The goal is a designer-friendly visual board, not a technical color meter. Start color palette by image when you need a fast mood board for branding, content planning, web design, packaging, social posts, or creative direction.",url:"/color-palette-by-image",icon:"ImageIcon",mediaType:"image"},{title:"Comatozze Gemini Prompt â Viral AI Video Generator for Campaigns",description:"Seed your content pipeline with comatozze gemini prompt videos. A free tool for campaign-ready surreal clips.",url:"/comatozze-gemini-prompt",icon:"Video",mediaType:"video"},{title:"Create Video From Photos With Seedance Motion AI",description:"Create video from photos in Seedance after Google OAuth, then use REFERENCE_2_VIDEO image guidance, credit-based generation, dynamic camera moves, transition notes, captions, and high-quality motion controls for a five-second 16:9 clip.",url:"/create-video-from-photos",icon:"Video",mediaType:"video"},{title:"Engraving Portrait Generator",description:"Upload a photo and turn it into a classic engraving portrait with crosshatched lines, fine stippling, and a historic black-and-white feel.",url:"/engraving-portrait-generator",icon:"ImageIcon",mediaType:"image"},{title:"Eye Direction Changer",description:"Upload any portrait to Seeda and describe where you want the gaze redirected. Unlike generic photo editors, Seeda's dedicated eye direction changer detects the eye structure and current gaze vector, then rotates and repositions each eye naturally within the socket while preserving skin tone, eyelid shape, brow position, and ambient lighting. Whether you need to fix closed eyes, correct off-camera gaze, or adjust every face in a group photo to look toward the lens, Seeda handles every step automatically with no editing skills required. No sliders, no manual masking, no face swap artifacts. Seeda is a free eye direction changer online for anyone needing natural gaze correction.",url:"/eye-direction-changer",icon:"ImageIcon",mediaType:"image"},{title:"Face Symmetry Test Online",description:"Use this face symmetry test online to upload one clear portrait and start a personal face symmetry analysis. The AI face symmetry analyzer measures facial proportions, checks bilateral balance, identifies your face shape, and returns a clear symmetry score. No login, no hidden fees - just upload, analyze, and learn something new about your face.",url:"/face-symmetry-test",icon:"ImageIcon",mediaType:"image"},{title:"Image to Video Generator",description:"Upload one still image and turn it into a refined image to video result with cinematic camera movement, depth parallax, and clean generative motion.",url:"/image-to-vi
1deo",icon:"Video",mediaType:"video"},{title:"Instagram Flash Filter Online",description:"Upload a selfie, portrait, outfit check, night street photo, or party snapshot and add an instagram flash filter online. The tool recreates the hard phone-flash look people associate with IG photo dumps: bright direct flash on skin, dark background falloff, glossy highlights, mild overexposure, and a vintage disposable-camera finish.",url:"/instagram-flash-filter",icon:"ImageIcon",mediaType:"image"},{title:"Met Gala ChatGPT Prompt",description:"Upload a photo and turn yourself into a Met Gala 2026 red-carpet moment â couture gown or tailored tuxedo, step-and-repeat backdrop, all from one prompt.",url:"/met-gala-prompt",icon:"ImageIcon",mediaType:"image"},{title:"Mother's Day AI Prompts 2026: Viral, ChatGPT, Gemini & Style Picks",description:"Upload a photo, choose a Mother's Day prompt, and generate a keepsake image for 2026: viral TikTok looks, ChatGPT and Gemini favourites, plus painterly, cinematic, and printable card variants.",url:"/mothers-day-ai-prompts",icon:"ImageIcon",mediaType:"image"},{title:"MS Paint",description:"Upload an image and redraw it as a deliberately terrible MS Paint-style mouse drawing.",url:"/ms-paint",icon:"ImageIcon",mediaType:"image"},{title:"Neapolitan Hair Filter Online",description:"Upload a selfie and use the neapolitan hair filter to preview a realistic salon color idea before you message a stylist, save a reference, or test a new look for content. The neapolitan hair filter focuses on a wearable three-tone blend inspired by strawberry, vanilla, and chocolate: soft pink ribbons, creamy blonde highlights, warm brown depth, natural roots, and strand detail that still follows your haircut. The examples on this page show source-to-result samples for clarity, while your generation creates one transformed image from your uploaded photo.",url:"/neapolitan-hair-filter",icon:"ImageIcon",mediaType:"image"},{title:"Old Photo Restorer Online",description:"Upload a faded portrait, scanned family print, or damaged album photo and use the old photo restorer to repair scratches, cracks, blur, stains, and color loss while preserving the original person. The examples show comparison art so you can judge the effect, but the generator creates one clean restored result with natural color and sharper detail.",url:"/old-photo-restorer",icon:"ImageIcon",mediaType:"image"},{title:"Omni Flash Generator â Scale Flash Video Creation",description:"Generate flash-style video assets at scale with the omni flash generator. Built for campaign teams who need consistent, branded flash clips across multiple releases. Each generation preserves your subject while adding rapid transitions, light flares, and dynamic motion â all controlled through a single prompt.",url:"/omni-flash-generator",icon:"Video",mediaType:"video"},{title:"Prompt to Comic Generator",description:"Seed comic panels from a story prompt, scene idea, book excerpt, or video summary with GPT Image 2.",url:"/prompt-to-comic",icon:"ImageIcon",mediaType:"image"},{title:"Remove Double Chin from Photo Online",description:"Use Seeda as a photo editor to remove double chin from photo portraits without changing the person. Upload a selfie, headshot, or candid social image, then let the AI get rid of double chin in photo areas caused by a low phone angle, relaxed posture, or unlucky shadow. The edit focuses on the under-chin area and jawline while keeping the same face shape, expression, hair, clothing, background, and lighting. If you need to remove double chin from photo online free for a profile update, campaign portrait, dating image, team bio, or family picture, start here with a realistic result that still looks like the original photo.",url:"/remove-double-chin-photo",icon:"ImageIcon",mediaType:"image"},{title:"Remove Glasses Glare â Seed Clean Visuals",description:"Every campaign starts with a clean asset. When glasses glare blocks the subject's eyes, the visual loses impact before you even begin editing. Upload your photo here and the AI seeds a reflection-free version â removing lens flare, screen bounce, and overhead light wash while keeping the original framing and expression intact. Use the result as your campaign seed for product photos, team headshots, or creative direction boards. Use it as a photo editor to remove glasses glare, fix glasses glare in photo, remove flash from glasses, and take reflection out of glasses after any shoot â studio, outdoor, or video call. When you need to remove glasses glare from photo assets quickly, the same upload becomes a clean visual seed for the rest of your campaign.",url:"/remove-glasses-glare",icon:"ImageIcon",mediaType:"image"},{title:"Seedance 2.1 Video Generator",description:"Create a Seedance 2.1 style video draft from an image or text prompt. The generator produces polished 80s-inspired video clips using neon rim lighting, warm sunset gradients, chrome reflections, and smooth camera motion â all without collage-style preview artifacts.",url:"/seedance-2-1",icon:"Video",mediaType:"video"},{title:"Selfie to Comic",description:"Drop a photo and Seedance redraws it as a comic illustration. Guide the output with a style prompt â the AI handles line art, shading, and panel c
1omposition for you.",url:"/selfie-to-comic",icon:"ImageIcon",mediaType:"image"},{title:"Shoes Poster Generator",description:"Start with a product angle, offer, and audience, then generate a poster direction your shoe shop can refine.",url:"/shoes-poster-generator",icon:"ImageIcon",mediaType:"image"},{title:"Socrates AI Skeleton Meme Generator",description:"Upload one image and turn it into a viral AI skeleton meme video with skeleton transformation, philosophical meme aesthetics, dance animation, and ragebait energy.",url:"/socrates-ai-skeleton-meme-generator",icon:"Video",mediaType:"video"},{title:"Start Frame End Frame AI Video Generator",description:"Create a video sequence from start and end frames using a frame to video AI generator. Set your keyframes, describe the transition, and generate a polished campaign clip with smooth narrative flow.",url:"/frame-to-video-ai",icon:"Video",mediaType:"video"}],w=a(5029),N=(0,o.default)(function(){return a.e(69616).then(a.bind(a,47235)).then(function(e){return e.SignModal})},{loadableGenerated:{webpack:function(){return[47235]}},ssr:!1});function _(e){var t,a,o,_,k=e.header,P=(0,c.c)("common.sign"),S=(0,x.rd)(),C=(0,x.a8)(),I=(0,d.useSearchParams)(),z=(0,u.Ym)(),A=(0,m.D)(),U=A.theme,T=A.setTheme,M=(0,f.U)(),L=M.isCheckSign,E=M.setIsShowSignModal,F=M.user,R=M.setUser,G=(0,b.cw)((0,b.aS)(k,j),y),V=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:["en","zh"];return(0,b.xg)(e,y,t)}(C),B=g.L$;return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("div",{onClickCapture:function(e){var t,a,r,n,s,o,l=e.target,d=null==l||null==(t=l.closest)?void 0:t.call(l,"a[href],button");if(d){var c=(d.textContent||d.getAttribute("aria-label")||"").replace(/\s+/g," ").trim().slice(0,120);if(c&&c!==P("sign_in_title")&&c!==P("sign_out_title")){var u=(0,i._)(d,HTMLAnchorElement)?d:null,m=(null==u?void 0:u.getAttribute("href"))||"";if(c===P("credits_title",{credits:(null==F||null==(a=F.credits)?void 0:a.isUnlimited)?"â":null!=(n=null==F||null==(r=F.credits)?void 0:r.remainingCredits)?n:""}))return void(0,w.sx)("header_credits_clicked",{remaining_credits:null==F||null==(s=F.credits)?void 0:s.remainingCredits,is_unlimited:!!(null==F||null==(o=F.credits)?void 0:o.isUnlimited),target_url:m,page_path:C});if(!u)return void(0,w.sx)("header_button_clicked",{button_text:c,variant:d.getAttribute("data-variant")||"",page_path:C});(0,w.sx)("header_nav_clicked",{nav_type:"/"===m?"brand":"desktop",item_label:c,target_url:m,has_children:!!d.getAttribute("aria-expanded"),page_path:C})}}},children:(0,s.jsx)(p.Y,{app:{user:(t=F)?{id:t.id,name:t.name,email:t.email,image:t.image,isAdmin:t.isAdmin,credits:t.credits}:null,currentToolMediaType:V,isAuthChecking:L,requestSignIn:function(){return E(!0)},signOut:function(){return(0,r._)(function(){return(0,n.YH)(this,function(e){switch(e.label){case 0:return[4,(0,h.CI)({fetchOptions:{onSuccess:function(){R(null),S.push("/")}}})];case 1:return e.sent(),[2]}})})()},locale:{current:z,options:Object.keys(g.L$).map(function(e){var t;return{value:e,label:null!=(t=B[e])?t:e}}),switchLocale:function(e){if(e!==z){(0,w.sx)("locale_changed",{from_locale:z,to_locale:e,source:"header",page_path:C}),(0,v.PW)("locale",e);var t,a,r=null!=(a=null==I||null==(t=I.toString)?void 0:t.call(I))?a:"",i=r?"".concat(C,"?").concat(r):C;S.push(i,{locale:e})}}},theme:{current:U,setTheme:function(e){e&&e!==U&&((0,w.sx)("theme_changed",{from_theme:U,to_theme:e,source:"header",page_path:C}),T(e))}},track:function(e,t){return(0,w.sx)(e,t)}},config:G,labels:{admin:P("admin_title"),credits:P("credits_title",{credits:(null==F||null==(a=F.credits)?void 0:a.isUnlimited)?"â":null!=(_=null==F||null==(o=F.credits)?void 0:o.remainingCredits)?_:""}),imageTools:"Image tools",signIn:P("sign_in_title"),signOut:P("sign_out_title"),videoTools:"Video tools"},runtime:{LinkComponent:x.N_,ImageComponent:l.default,pathname:C}})}),(0,s.jsx)(N,{})]})}},49529:(e,t,a)=>{"use strict";a.r(t),a.d(t,{Tools:()=>x});var r=a(32812),i=a(20857),n=a(57505),s=a(69140),o=a(20792),l=a(59434),d=a(28632),c=a(74078),u=a(42430),m=a(5029),p=a(42803);function h(e){var t=e.item,a=e.position,l=e.sectionId,u=(0,o.useRef)(null),p=(0,n._)((0,o.useState)({opacity:0,x:0,y:0}),2),h=p[0],x=p[1],g=(0,o.useCallback)(function(e){var t,a=null==(t=u.current)?void 0:t.getBoundingClientRect();a&&x({opacity:1,x:e.clientX-a.left,y:e.clientY-a.top})},[]),f=(0,o.useCallback)(function(){x(function(e){return(0,i._)((0,r._)({},e),{opacity:0}
1)})},[]),v=(0,s.jsxs)("div",{ref:u,onMouseMove:g,onMouseLeave:f,className:"group border-border/60 bg-card hover:border-primary/40 relative h-full overflow-hidden rounded-xl border transition-[border-color,transform] duration-300 hover:-translate-y-0.5",children:[(0,s.jsx)("div",{className:"pointer-events-none absolute -inset-px rounded-[inherit] transition-opacity duration-300",style:{background:"radial-gradient(400px circle at ".concat(h.x,"px ").concat(h.y,"px, color-mix(in oklch, var(--primary) 30%, transparent) 0%, transparent 70%)"),opacity:h.opacity}}),(0,s.jsx)("div",{className:"pointer-events-none absolute inset-0 rounded-[inherit] transition-opacity duration-300",style:{background:"radial-gradient(300px circle at ".concat(h.x,"px ").concat(h.y,"px, color-mix(in oklch, var(--primary) 8%, transparent) 0%, transparent 70%)"),opacity:h.opacity}}),(0,s.jsx)("div",{className:"pointer-events-none absolute inset-0 rounded-[inherit] opacity-0 transition-opacity duration-300 group-hover:opacity-100",style:{boxShadow:"inset 0 0 20px 0 color-mix(in oklch, var(--primary) 6%, transparent)"}}),(0,s.jsxs)("div",{className:"relative flex h-full flex-col items-center p-5 text-center",children:[(0,s.jsx)("div",{className:"bg-secondary ring-border group-hover:bg-primary/10 group-hover:ring-primary/30 mb-3 flex h-10 w-10 items-center justify-center rounded-lg ring-1 transition-[background-color,box-shadow] duration-300 group-hover:shadow-[0_0_12px_0_color-mix(in_oklch,var(--primary)_20%,transparent)]",children:(0,s.jsx)(c.LK,{name:t.icon,className:"text-muted-foreground group-hover:text-primary h-5 w-5 transition-colors duration-300"})}),(0,s.jsx)("h3",{className:"text-foreground mb-1 text-sm font-semibold",children:t.title}),(0,s.jsx)("p",{className:"text-muted-foreground text-xs leading-relaxed",children:t.description})]})]});return t.url?(0,s.jsx)(d.N_,{href:t.url,onClick:function(){return(0,m.sx)("tool_card_clicked",{tool_title:t.title,position:a,target_url:t.url||"",section_id:l,page_path:window.location.pathname})},className:"block h-full",children:v}):v}function x(e){var t,a,r=e.section,i=e.className,n=(r.title||"").split("\n"),o=r.highlight_text||"",c=function(e,t){if(o&&e.includes(o)){var a=e.split(o);return(0,s.jsxs)("span",{className:"block",children:[a[0],(0,s.jsx)("span",{className:"bg-gradient-to-r from-[#cc99ff] via-[#ee8866] to-[#ffaa66] bg-clip-text text-transparent",children:o}),a[1]]},t)}return(0,s.jsx)("span",{className:"text-foreground block",children:e},t)};return(0,s.jsx)("section",{id:r.id,className:(0,p.cn)("py-20 md:py-32",r.className,i),children:(0,s.jsxs)("div",{className:"container mx-auto max-w-6xl px-4",children:[(0,s.jsx)(u.i,{children:(0,s.jsxs)("div",{className:"mx-auto mb-10 max-w-3xl text-center md:mb-16",children:[(0,s.jsx)("h2",{className:"text-foreground mb-4 text-3xl font-bold tracking-tight md:text-4xl",children:n.map(function(e,t){return c(e,t)})}),r.description&&(0,s.jsx)("p",{className:"text-muted-foreground",children:r.description})]})}),(0,s.jsx)("div",{className:"grid gap-4 sm:grid-cols-2 lg:grid-cols-4",children:null==(t=r.items)?void 0:t.map(function(e,t){return(0,s.jsx)(u.i,{delay:.05+.06*t,className:"h-full",children:(0,s.jsx)(h,{item:e,position:t,sectionId:r.id})},t)})}),r.tip&&(0,s.jsx)(u.i,{delay:.2,children:(0,s.jsx)("div",{className:"border-border mt-8 rounded-xl border bg-gradient-to-r from-[#9933ff]/20 via-[#ee88dd]/20 to-[#f7886a]/20 px-6 py-4 text-center",children:(0,s.jsx)("p",{className:"text-foreground italic",children:r.tip})})}),(null==(a=r.buttons)?void 0:a[0])&&(0,s.jsx)(u.i,{delay:.3,children:(0,s.jsx)("div",{className:"mt-8 text-center",children:(0,s.jsxs)(d.N_,{href:r.buttons[0].url||"",onClick:function(){var e,t,a,i;return(0,m.sx)("cta_clicked",{cta_location:"tools",cta_text:(null==(t=r.buttons)||null==(e=t[0])?void 0:e.title)||"",target_url:(null==(i=r.buttons)||null==(a=i[0])?void 0:a.url)||"",section_id:r.id,page_path:window.location.pathname})},className:"text-primary-foreground inline-flex items-center gap-2 rounded-full bg-gradient-to-r from-[#9933ff] via-[#ee88dd] to-[#f7886a] px-8 py-3 text-base font-semibold transition-opacity hover:opacity-90",children:[r.buttons[0].title,(0,s.jsx)(l.A,{className:"h-4 w-4"})]})})})]})})}},50022:(e,t,a)=>{"use strict";a.r(t),a.d(t,{Subscribe:()=>x});var r=a(76471),i=a(57505),n=a(3395),s=a(69140),o=a(20792),l=a(61907),d=a(18066),c=a(80413),u=a(70682),m=a(41156),p=a(42430),h=a(42803);function x(e){var t,a,x,g=e.section,f=e.className,v=(0,i._)((0,o.useState)(""),2),b=v[0],y=v[1],j=(0,i._)((0,o.useState)(!1),2),w=j[0],N=j[1];return(0,s.jsx)("section",{id:g.id,className:(0,h.cn)("py-16 md:py-24",g.className,f),children:(0,s.jsx)("div",{className:"mx-auto max-w-5xl px-6",children:(0,s.jsxs)("div",{className:"text-center",children:[(0,s.jsx)(p.i,{children:(0,s.jsx)("h2",{className:"text-4xl font-semibold text-balance lg:text-5xl",children:g.title})}),(0,s.jsx)(p.i,{delay:.15,children:(0,s.jsx)("p",{className:"mt-4",children:g.description})}),(0,s.jsx)(p.i,{delay:.3,children:(0,s.jsx)("div",{className:"mx-auto mt-10 max-w-xl overflow-hidden lg:mt-12",children:(0,s.jsxs)("div",{className:"bg-background has-[input
1:focus]:ring-muted relative grid grid-cols-[1fr_auto] items-center overflow-hidden rounded-[calc(var(--radius)+0.75rem)] border pr-3 shadow shadow-zinc-950/5 has-[input:focus]:ring-2",children:[(0,s.jsx)(l.A,{className:"text-caption pointer-events-none absolute inset-y-0 left-5 my-auto size-5"}),(0,s.jsx)("input",{placeholder:(null==(a=g.submit)||null==(t=a.input)?void 0:t.placeholder)||"Enter your email",className:"h-14 w-full bg-transparent pl-12 focus:outline-none",type:"email",required:!0,"aria-required":"true","aria-invalid":!b,"aria-describedby":"email-error",value:b,onChange:function(e){return y(e.target.value)}}),(null==(x=g.submit)?void 0:x.button)&&(0,s.jsx)("div",{className:"md:pr-1.5 lg:pr-0",children:(0,s.jsxs)(m.$,{"aria-label":"submit",className:"rounded-(--radius)",onClick:function(){return(0,r._)(function(){var e,t,a,r,i,s;return(0,n.YH)(this,function(n){switch(n.label){case 0:if(!b||!(null==(e=g.submit)?void 0:e.action))return[2];n.label=1;case 1:return n.trys.push([1,4,,5]),N(!0),[4,fetch(g.submit.action,{method:"POST",body:JSON.stringify({email:b})})];case 2:if(!(t=n.sent()).ok)throw Error("request failed with status ".concat(t.status));return[4,t.json()];case 3:if(r=(a=n.sent()).code,i=a.message,a.data,0!==r)throw Error(i);return N(!1),i&&u.oR.success(i),[3,5];case 4:return s=n.sent(),N(!1),u.oR.error(s.message||"subscribe failed",{description:"Contact [email protected] if you need help."}),[3,5];case 5:return[2]}})})()},disabled:w,type:"submit",children:[w?(0,s.jsx)(d.A,{className:"animate-spin"}):(0,s.jsx)("span",{className:"hidden md:block",children:g.submit.button.title}),(0,s.jsx)(c.A,{className:"relative mx-auto size-5 md:hidden",strokeWidth:2})]})})]})})})]})})})}},50093:(e,t,a)=>{"use strict";a.d(t,{E:()=>c});var r=a(32812),i=a(7907),n=a(69140);a(20792);var s=a(15887),o=a(69231),l=a(42803),d=(0,o.F)("inline-flex items-center justify-center rounded-md border px-2 py-0.5 text-xs font-medium w-fit whitespace-nowrap shrink-0 [&>svg]:size-3 gap-1 [&>svg]:pointer-events-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive transition-[color,box-shadow] overflow-hidden",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground [a&]:hover:bg-primary/90",secondary:"border-transparent bg-secondary text-secondary-foreground [a&]:hover:bg-secondary/90",destructive:"border-transparent bg-destructive text-white [a&]:hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"text-foreground [a&]:hover:bg-accent [a&]:hover:text-accent-foreground"}},defaultVariants:{variant:"default"}});function c(e){var t=e.className,a=e.variant,o=e.asChild,c=(0,i._)(e,["className","variant","asChild"]),u=void 0!==o&&o?s.DX:"span";return(0,n.jsx)(u,(0,r._)({"data-slot":"badge",className:(0,l.cn)(d({variant:a}),t)},c))}},53510:(e,t,a)=>{"use strict";a.r(t),a.d(t,{Faq:()=>c});var r=a(57505),i=a(69140),n=a(20792),s=a(80590),o=a(42430),l=a(5029),d=a(42803);function c(e){var t,a=e.section,c=e.className,u=(0,r._)((0,n.useState)(""),2),m=u[0],p=u[1],h=a.id||a.name;return(0,i.jsx)("section",{id:a.id,className:(0,d.cn)("py-16 md:py-24",c),children:(0,i.jsxs)("div",{className:"mx-auto max-w-full px-4 md:max-w-3xl md:px-8",children:[(0,i.jsx)(o.i,{children:(0,i.jsxs)("div",{className:"mx-auto max-w-2xl text-center text-balance",children:[(0,i.jsx)("h2",{className:"text-foreground mb-4 text-3xl font-semibold tracking-tight md:text-4xl",children:a.title}),(0,i.jsx)("p",{className:"text-muted-foreground mb-6 md:mb-12 lg:mb-16",children:a.description})]})}),(0,i.jsx)(o.i,{delay:.2,children:(0,i.jsxs)("div",{className:"mx-auto mt-12 max-w-full",children:[(0,i.jsx)(s.Accordion,{type:"single",collapsible:!0,value:m,onValueChange:function(e){var t=null==(r=a.items)?void 0:r.find(function(t){return(t.question||t.title||"")===e});if(e)(0,l.sx)("faq_item_toggled",{section_id:h,item_title:(null==t?void 0:t.question)||(null==t?void 0:t.t
1itle)||e,position:null!=(n=null==(i=a.items)?void 0:i.indexOf(t))?n:-1,open:!0,page_path:window.location.pathname});else if(m){var r,i,n,s,o,d,c=null==(s=a.items)?void 0:s.find(function(e){return(e.question||e.title||"")===m});(0,l.sx)("faq_item_toggled",{section_id:h,item_title:(null==c?void 0:c.question)||(null==c?void 0:c.title)||m,position:null!=(d=null==(o=a.items)?void 0:o.indexOf(c))?d:-1,open:!1,page_path:window.location.pathname})}p(e)},className:"bg-muted dark:bg-muted/50 w-full rounded-2xl p-1",children:null==(t=a.items)?void 0:t.map(function(e,t){return(0,i.jsxs)("div",{className:"group",children:[(0,i.jsxs)(s.AccordionItem,{value:e.question||e.title||"",className:"data-[state=open]:bg-card dark:data-[state=open]:bg-muted peer rounded-xl border-none px-7 py-1 data-[state=open]:border-none data-[state=open]:shadow-sm",children:[(0,i.jsx)(s.AccordionTrigger,{className:"cursor-pointer text-base hover:no-underline",children:(0,i.jsx)("span",{className:"text-left text-base font-medium",children:e.question||e.title||""})}),(0,i.jsx)(s.AccordionContent,{children:(0,i.jsx)("p",{className:"text-base",children:e.answer||e.description||""})})]}),(0,i.jsx)("hr",{className:"mx-7 border-dashed group-last:hidden peer-data-[state=open]:opacity-0"})]},t)})}),(0,i.jsx)("p",{className:"text-muted-foreground mt-6 px-8",dangerouslySetInnerHTML:{__html:a.tip||""}})]})})]})})}},61336:(e,t,a)=>{"use strict";a.r(t),a.d(t,{Pricing:()=>n});var r=a(69140),i=a(24806);function n(e){var t=e.section,a=e.className,n=e.currentSubscription;return(0,r.jsx)(i.U,{className:a,currentSubscription:n,section:t,skin:"default"})}},63903:(e,t,a)=>{"use strict";a.r(t),a.d(t,{HowToUseVertical:()=>s});var r=a(69140),i=a(78372),n=a(42803);function s(e){var t=e.section,a=e.className,s=t.items||[];return(0,r.jsx)("section",{id:t.id||t.name,className:(0,n.cn)("py-20 md:py-28",t.className,a),children:(0,r.jsxs)("div",{className:"container mx-auto max-w-5xl",children:[(0,r.jsxs)(i.P.div,{className:"mx-auto mb-14 max-w-3xl text-center",initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6,ease:[.22,1,.36,1]},children:[(0,r.jsx)("h2",{className:"text-foreground mb-4 text-3xl font-semibold tracking-tight md:text-4xl",children:t.title}),t.description&&(0,r.jsx)("p",{className:"text-muted-foreground text-base leading-relaxed md:text-lg",children:t.description})]}),(0,r.jsxs)("ol",{className:"relative space-y-5",children:[(0,r.jsx)("div",{className:"bg-border absolute top-0 left-7 hidden h-full w-px md:block"}),s.map(function(e,t){return(0,r.jsx)(i.P.li,{className:"list-none",initial:{opacity:0,y:24},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-60px"},transition:{duration:.5,delay:.08*t,ease:[.22,1,.36,1]},children:(0,r.jsxs)("div",{className:"bg-card/40 flex items-start gap-4 roun
1ded-2xl border p-5 md:gap-6 md:p-6",children:[(0,r.jsx)("div",{className:"bg-background relative z-10 flex h-14 w-14 shrink-0 items-center justify-center rounded-2xl border text-base font-semibold",children:e.step||"".concat(t+1).padStart(2,"0")}),(0,r.jsxs)("div",{className:"min-w-0 space-y-2 pt-1",children:[e.title&&(0,r.jsx)("h3",{className:"text-foreground text-lg font-semibold md:text-xl",children:e.title}),e.description&&(0,r.jsx)("p",{className:"text-muted-foreground text-sm leading-7 md:text-base",children:e.description})]})]})},t)})]})]})})}},66073:()=>{},66162:(e,t,a)=>{"use strict";a.r(t),a.d(t,{FeatureVideoGenerator:()=>n});var r=a(69140),i=a(92074);function n(e){var t=e.section,a=e.className;return(0,r.jsx)(i.a,{section:t,outputType:"video",className:a})}},69074:(e,t,a)=>{"use strict";a.r(t),a.d(t,{FeaturesStep:()=>l});var r=a(69140),i=a(361),n=a(74078),s=a(42430),o=a(42803);function l(e){var t,a=e.section,l=e.className,d=null!=(t=a.items)?t:[],c=4===d.length?"lg:grid-cols-4":2===d.length?"lg:grid-cols-2":"lg:grid-cols-3";return(0,r.jsx)("section",{id:a.id,className:(0,o.cn)("py-16 md:py-24",a.className,l),children:(0,r.jsx)("div",{className:"m-4 rounded-[2rem]",children:(0,r.jsxs)("div",{className:"@container relative container",children:[(0,r.jsx)(s.i,{children:(0,r.jsxs)("div",{className:"mx-auto max-w-2xl text-center",children:[(0,r.jsx)("span",{className:"text-primary",children:a.label}),(0,r.jsx)("h2",{className:"text-foreground mt-4 text-4xl font-semibold",children:a.title}),(0,r.jsx)("p",{className:"text-muted-foreground mt-4 text-lg text-balance",children:a.description})]})}),(0,r.jsx)(s.i,{delay:.2,children:(0,r.jsx)("div",{className:(0,o.cn)("mt-20 grid gap-12 sm:grid-cols-2",c),children:d.map(function(e,t){return(0,r.jsx)("div",{className:"space-y-6",children:(0,r.jsxs)("div",{className:"text-center",children:[(0,r.jsx)("span",{className:"mx-auto flex size-6 items-center justify-center rounded-full bg-zinc-500/15 text-sm font-medium",children:t+1}),(0,r.jsxs)("div",{className:"relative",children:[(0,r.jsx)("div",{className:"mx-auto my-6 w-fit",children:e.icon&&(0,r.jsx)(n.LK,{name:e.icon,size:24})}),t<d.length-1&&(0,r.jsx)(i.A,{className:"fill-muted stroke-primary absolute inset-y-0 right-0 my-auto mt-1 hidden translate-x-[150%] drop-shadow @3xl:block"})]}),(0,r.jsx)("h3",{className:"text-foreground mb-4 text-lg font-semibold",children:e.title}),(0,r.jsx)("p",{className:"text-muted-foreground text-balance",children:e.description})]})},t)})})})]})})})}},69124:(e,t,a)=>{"use strict";a.r(t),a.d(t,{FeaturesFlow:()=>c});var r=a(32812),i=a(20857),n=a(69140),s=a(78372),o=a(74078),l=a(86681),d=a(42803);function c(e){var t=e.section;return t.items&&0!==t.items.length?(0,n.jsxs)("section",{id:t.id||t.name,className:(0,d.cn)("py-16 md:py-24",t.className),children:[(0,n.jsxs)(s.P.div,(0,i._)((0,r._)({className:"container mb-12 text-center"},{initial:{opacity:0,y:20,filter:"blur(6px)"},animate:{opacity:1,y:0,filter:"blur(0px)"},transition:{duration:.6,delay:0,ease:[.22,1,.36,1]}}),{children:[t.sr_only_title&&(0,n.jsx)("h1",{className:"sr-only",children:t.sr_only_title}),(0,n.jsx)("h2",{className:"mx-auto mb-6 max-w-full text-3xl font-bold text-pretty md:max-w-5xl lg:text-4xl",children:t.title}),(0,n.jsx)("p",{className:"text-muted-foreground text-md mx-auto mb-4 max-w-full md:max-w-5xl",children:t.description})]})),(0,n.jsx)("div",{className:"container flex flex-col items-center justify-center space-y-8 px-6 md:space-y-16",children:t.items.map(function(e,t){var a,r,i,c="right"===e.image_position;return(0,n.jsxs)(s.P.div,{className:(0,d.cn)("grid items-center gap-6 py-16 sm:grid-cols-2 md:gap-12 lg:gap-24",c&&"sm:[&>*:first-child]:order-2 sm:[&>*:last-child]:order-1"),initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-100px"},transition:{duration:.6,delay:.15*t,ease:[.22,1,.36,1]},children:[(0,n.jsx)(s.P.div,{initial:{opacity:0,scale:.95},whileInView:{opacity:1,scale:1},viewport:{once:!0},transition:{duration:.5,delay:.15*t+.2,ease:[.22,1,.36,1]},children:(0,n.jsx)(o.oD,{src:null!=(i=null==(a=e.image)?void 0:a.src)?i:"",className:"rounded-2xl",alt:(0,l.WN)(null==(r=e.image)?void 0:r.alt,(0,l.hu)(e.title,"step illustration image"))})}),(0,n.jsxs)(s.P.div,{className:"relative space-y-4",initial:{opacity:0,x:c?-20:20},whileInView:{opacity:1,x:0},viewport:{once:!0},transition:{duration:.5,delay:.15*t+.3,ease:[.22,1,.36,1]},children:[(0,n.jsx)("h3",{className:"text-xl font-medium md:text-2xl lg:text-2xl",children:e.title}),(0,n.jsx)("p",{className:"text-muted-foreground",children:e.description})]})]},t)})})]}):null}},70304:(e,t,a)=>{"use strict";a.r(t),a.d(t,{ContentLinkClickBoundary:()=>
1c,ContentLinkTracker:()=>d});var r=a(32812),i=a(20857),n=a(7907),s=a(69140),o=a(31951),l=a(5029);function d(e){var t=e.children,a=e.href,d=void 0===a?"":a,c=e.onClick,u=(0,n._)(e,["children","href","onClick"]),m=(0,o.usePathname)(),p=d.startsWith("http")||d.startsWith("//");return(0,s.jsx)("a",(0,i._)((0,r._)({href:d},u),{onClick:function(e){(0,l.sx)("content_link_clicked",{content_type:"mdx",page_slug:m,link_text:(function e(t){return"string"==typeof t||"number"==typeof t?String(t):Array.isArray(t)?t.map(e).join("").trim():""})(t).slice(0,120),target_url:d,is_external:p,page_path:m}),null==c||c(e)},children:t}))}function c(e){var t=e.children,a=e.contentType,r=void 0===a?"mdx":a,i=(0,o.usePathname)();return(0,s.jsx)("div",{onClickCapture:function(e){var t,a=e.target,n=null==a||null==(t=a.closest)?void 0:t.call(a,"a[href]");if(n){var s=n.getAttribute("href")||"";(0,l.sx)("content_link_clicked",{content_type:r,page_slug:i,link_text:(n.textContent||"").trim().slice(0,120),target_url:s,is_external:s.startsWith("http")||s.startsWith("//"),page_path:i})}},children:t})}},71292:(e,t,a)=>{"use strict";a.r(t),a.d(t,{Hero:()=>c});var r=a(57505),i=a(69140),n=a(20792),s=a(28632),o=a(5029),l=a(42803),d=a(90186);function c(e){var t,a,c,u=e.section,m=e.className,p=(null==(t=u.data)?void 0:t.fluidBackground)===!0,h=(u.title||"").split("\n"),x=u.highlight_text||"",g=u.videos||[],f=(0,r._)((0,n.useState)(0),2),v=f[0],b=f[1],y=(0,r._)((0,n.useState)(1),2),j=y[0],w=y[1],N=(0,n.useRef)(null),_=(0,n.useRef)(null),k=(0,n.useRef)(null),P=(0,n.useCallback)(function(){null===k.current&&(k.current=requestAnimationFrame(function(){if(k.current=null,_.current){var e=_.current.getBoundingClientRect(),t=window.innerHeight;w(Math.max(0,Math.min(1,e.top/t)))}}))},[]);(0,n.useEffect)(function(){return window.addEventListener("scroll",P,{passive:!0}),P(),function(){window.removeEventListener("scroll",P),null!==k.current&&cancelAnimationFrame(k.current)}},[P]);var S=(0,n.useCallback)(function(){if(g.length<=1){var e;null==(e=N.current)||e.play();return}b(function(e){return(e+1)%g.length})},[g.length]);(0,n.useEffect)(function(){if(N.current&&(N.current.load(),N.current.play()),g.length>1){var e,t=null==(e=g[(v+1)%g.length])?void 0:e.src;if(t){var a=document.createElement("video");a.preload="auto",a.src=t}}},[v,g]);var C=function(e,t){if(x&&e.includes(x)){var a=e.split(x);return(0,i.jsxs)("span",{className:"block",children:[a[0],(0,i.jsx)("span",{className:"bg-gradient-to-r from-[#cc99ff] via-[#ee8866] to-[#ffaa66] bg-clip-text text-transparent",children:x}),a[1]]},t)}return(0,i.jsx)("span",{className:"text-foreground block",children:e},t)};return(0,i.jsxs)("section",{id:u.id,className:(0,l.cn)("relative overflow-hidden pt-20 pb-[calc(3.5rem+env(safe-area-inset-bottom))] md:pt-44 md:pb-32",u.className,m),children:[p&&(0,i.jsx)(d.n,{}),(0,i.jsx)("div",{className:"to-background pointer-events-none absolute inset-x-0 bottom-0 -z-10 h-40 bg-gradient-to-b from-transparent"}),(0,i.jsxs)("div",{className:"relative z-10 container mx-auto max-w-5xl px-4 text-center",children:[(0,i.jsx)("h1",{className:"mb-4 text-3xl leading-tight font-bold tracking-tight sm:text-5xl md:mb-6 md:text-6xl lg:text-7xl",children:h.map(function(e,t){return C(e,t)})}),g.length>0&&(0,i.jsx)("div",{ref:_,className:"relative mx-auto mt-6 mb-6 max-w-5xl md:mt-16 md:mb-0",children:(0,i.jsxs)("div",{className:"relative",children:[(0,i.jsx)("div",{className:"absolute inset-0 rounded-2xl border-2 border-purple-500/20 bg-purple-500/[0.06] shadow-[0_0_40px_rgba(140,80,220,0.12)] backdrop-blur-md dark:border-purple-400/15 dark:bg-purple-400/[0.05]",style:{transform:"rotate(".concat(-5*j,"deg) translate(").concat(-28*j,"px, ").concat(-16*j,"px)"),transition:"transform 0.1s ease-out"}}),(0,i.jsx)("div",{className:"absolute inset-0 rounded-2xl border-2 border-pink-500/20 bg-pink-500/[0.06] shadow-[0_0_40px_rgba(220,120,140,0.12)] backdrop-blur-md dark:border-pink-400/15 dark:bg-pink-400/[0.05]",style:{transform:"rotate(".concat(4*j,"deg) translate(").concat(24*j,"px, ").concat(-12*j,"px)"),transition:"transform 0.1s ease-out"}}
1),(0,i.jsx)("div",{className:"border-foreground/15 bg-foreground/5 relative rounded-2xl border-2 p-2 backdrop-blur-xl sm:p-4 md:p-5",children:(0,i.jsx)("video",{ref:N,src:null==(a=g[v])?void 0:a.src,autoPlay:!0,muted:!0,playsInline:!0,preload:"auto",onEnded:S,className:"w-full rounded-xl"})})]})}),u.description&&(0,i.jsx)("p",{className:"text-muted-foreground mx-auto mb-6 max-w-2xl text-base leading-relaxed md:mb-10 md:text-lg",children:u.description}),(null==(c=u.buttons)?void 0:c[0])&&(0,i.jsx)(s.N_,{href:u.buttons[0].url||"",onClick:function(){var e,t,a,r;return(0,o.sx)("cta_clicked",{cta_location:"hero",cta_text:(null==(t=u.buttons)||null==(e=t[0])?void 0:e.title)||"",target_url:(null==(r=u.buttons)||null==(a=r[0])?void 0:a.url)||"",section_id:u.id,page_path:window.location.pathname})},className:"text-primary-foreground inline-flex items-center gap-2 rounded-full bg-gradient-to-r from-[#9933ff] via-[#ee88dd] to-[#f7886a] px-7 py-3 text-sm font-semibold shadow-lg shadow-[#9933ff]/20 transition-opacity hover:opacity-90 md:px-8 md:text-base",children:u.buttons[0].title})]})]})}},74078:(e,t,a)=>{"use strict";a.d(t,{FQ:()=>n.BrandLogo,pZ:()=>h,Y0:()=>d.Copyright,GA:()=>g.ImageUploader,oD:()=>x.LazyImage,$B:()=>s.LocaleDetector,YC:()=>o.LocaleSelector,G8:()=>f.MarkdownPreview,dK:()=>i.Pagination,TS:()=>b.SignUser,LK:()=>r.L,GC:()=>l.ThemeToggler});var r=a(39118),i=a(1632),n=a(47472),s=a(19238),o=a(32859);a(58617);var l=a(19796),d=a(61960),c=a(69140),u=a(45530),m=a.n(u),p=a(41156);function h(){return(0,c.jsx)(p.$,{asChild:!0,variant:"outline",size:"sm",className:"hover:bg-primary/10",children:(0,c.jsx)(m(),{href:"https://shipany.ai",target:"_blank",children:"Built with â¤ï¸ ShipAny"})})}a(28632),a(76312);var x=a(68843),g=a(491);a(19565);var f=a(9017),v=new(a(82387)).A({html:!0,linkify:!0,breaks:!0});v.renderer.rules.heading_open=function(e,t){var a=e[t].markup.length,r=e[t+1];if(r&&"inline"===r.type){var i=r.content.toLowerCase().replace(/[^\w\s-]/g,"").replace(/\s+/g,"-").replace(/(^-|-$)/g,"");return"<h".concat(a,' id="').concat(i,'">')}return"<h".concat(a,">")},v.renderer.rules.link_open=function(e,t,a,r,i){var n=e[t];if(n.attrIndex("href")>=0){var s=n.attrGet("href");n.attrSet("rel","nofollow"),s&&(s.startsWith("http://")||s.startsWith("https://"))&&n.attrSet("target","_blank")}return i.renderToken(e,t,a)},a(41696);var b=a(94838);a(45037),a(42140)},76312:(e,t,a)=>{"use strict";a.d(t,{S:()=>i});var r=a(69140);function i(e){var t=e.message;return(0,r.jsx)("div",{className:"flex h-[50vh] w-full flex-col items-center justify-center",children:(0,r.jsx)("p",{children:t})})}},76734:(e,t,a)=>{"use strict";a.r(t),a.d(t,{HowToUse:()=>s});var r=a(69140),i=a(42430),n=a(42803);function s(e){var t=e.section,a=e.className,s=t.items||[];return(0,r.jsx)("section",{id:t.id,className:(0,n.cn)("py-20 md:py-32",t.className,a),children:(0,r.jsxs)("div",{className:"container mx-auto max-w-5xl px-4",children:[(0,r.jsx)(i.i,{children:(0,r.jsxs)("div",{className:"mx-auto mb-16 max-w-3xl text-center",children:[(0,r.jsx)("h2",{className:"text-foreground mb-4 text-3xl font-bold tracking-tight md:text-4xl",children:t.title}),(0,r.jsx)("p",{className:"text-muted-foreground",children:t.description})]})}),(0,r.jsxs)("div",{className:"relative",children:[(0,r.jsx)("div",{className:"from-primary/30 via-primary/10 absolute top-0 left-8 hidden h-full w-px bg-gradient-to-b to-transparent md:block"}),(0,r.jsx)("ol",{className:"list-none space-y-8",children:s.map(function(e,t){return(0,r.jsx)("li",{className:"flex gap-6 md:gap-10",children:(0,r.jsx)(i.i,{delay:.1+.1*t,children:(0,r.jsxs)("div",{className:"flex gap-6 md:gap-10",children:[(0,r.jsx)("div",{className:"relative shrink-0",children:(0,r.jsx)("div",{className:"border-border bg-card/50 flex h-16 w-16 items-center justify-center rounded-2xl border backdrop-blur-sm",children:(0,r.jsx)("span",{className:"bg-gradient-to-r from-purple-400 to-fuchsia-400 bg-clip-text text-xl font-bold text-transparent",children:e.step})})}),(0,r.jsxs)("div",{className:"flex-1 pt-2",children:[(0,r.jsx)("h3",{className:"text-foreground mb-2 text-lg font-semibold",children:e.title}),(0,r.jsx)("p",{className:"text-muted-foreground text-sm leading-relaxed",children:e.description})]})]})})},t)})})]})]})})}},78148:(e,t,a)=>{"use strict";a.r(t),a.d(t,{Showcases:()=>x});var r=a(57505),i=a(69140),n=a(20792),s=a(13998),o=a(78372),l=a(28632),d=a(39118),c=a(41156),u=a(12374),m=a(86681),p=a(5029),h=a(42803);function x(e){var t=e.section,a=e.className,x=t.groups||[],g=(0,r._)((0,n.use
1State)(x.length>0?x[0].name:""),2),f=g[0],v=g[1],b=(0,n.useMemo)(function(){return t.items?f&&x.length&&"all"!==f?t.items.filter(function(e){return e.group===f}):t.items:[]},[t.items,f,x.length]);return(0,i.jsxs)("section",{id:t.id||t.name,className:(0,h.cn)("py-24 md:py-36",t.className,a),children:[(0,i.jsxs)(o.P.div,{className:"container mb-12 text-center",initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6,ease:[.22,1,.36,1]},children:[t.sr_only_title&&(0,i.jsx)("h1",{className:"sr-only",children:t.sr_only_title}),(0,i.jsx)("h2",{className:"mx-auto mb-6 max-w-full text-3xl font-bold text-pretty md:max-w-5xl lg:text-4xl",children:t.title}),(0,i.jsx)("p",{className:"text-muted-foreground text-md mx-auto mb-4 max-w-full md:max-w-5xl",children:t.description})]}),x.length>0&&(0,i.jsx)(o.P.div,{className:"container mb-12 flex flex-wrap justify-center gap-4",initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6,delay:.15,ease:[.22,1,.36,1]},children:x.map(function(e,a){var r=f===e.name;return(0,i.jsx)(o.P.button,{onClick:function(){(0,p.sx)("showcase_group_switched",{section_id:t.id||t.name,from_group:f,to_group:e.name,page_path:window.location.pathname}),v(e.name)},className:(0,h.cn)("relative rounded-lg px-3 py-1.5 text-sm font-medium transition-all",r?"":"border-border bg-background text-foreground hover:bg-accent hover:text-accent-foreground border"),initial:{opacity:0,scale:.9},whileInView:{opacity:1,scale:1},viewport:{once:!0},transition:{duration:.4,delay:.2+.1*a,ease:[.22,1,.36,1]},whileHover:{scale:1.05},whileTap:{scale:.95},children:r?(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("span",{className:"bg-primary absolute inset-0 rounded-lg p-[2px]",children:(0,i.jsx)("span",{className:"bg-background block h-full w-full rounded-[calc(0.5rem-2px)]"})}),(0,i.jsx)("span",{className:"bg-primary relative z-10 bg-clip-text text-transparent",children:e.title})]}):(0,i.jsx)("span",{children:e.title})},e.name)})}),(0,i.jsx)("div",{className:"container grid grid-cols-1 gap-6 md:grid-cols-2 lg:grid-cols-3",children:b.length>0?b.map(function(e,a){var r,n,x,g,f,v,b,y,j=!!e.button,w=(0,i.jsx)(o.P.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-50px"},transition:{duration:.6,delay:.1*a,ease:[.22,1,.36,1]},children:(0,i.jsx)(u.Zp,{className:"dark:hover:shadow-primary/10 overflow-hidden p-0 transition-all hover:shadow-lg",children:(0,i.jsxs)(u.Wu,{className:"p-0",children:[(0,i.jsx)(o.P.div,{className:(0,h.cn)("relative w-full overflow-hidden",(null==(r=e.image)?void 0:r.fit)==="contain"?"bg-muted/30 aspect-[4/3] p-3":"aspect-16/10"),whileHover:{scale:1.05},transition:{duration:.3},children:(0,i.jsx)(s.default,{src:null!=(v=null==(n=e.image)?void 0:n.src)?v:"",alt:(0,m.WN)(null==(x=e.image)?void 0:x.alt,(0,m.hu)(e.title,"showcase card preview image")),sizes:"(max-width: 768px) 100vw, (max-width: 1200px) 50vw, 33vw",fill:!0,unoptimized:(null!=(b=null==(g=e.image)?void 0:g.src)?b:"").startsWith("http"),className:(0,h.cn)("rounded-t-lg transition-transform duration-300",(null==(f=e.image)?void 0:f.fit)==="contain"?"object-contain":"object-cover")})}),(0,i.jsxs)("div",{className:"p-6",children:[(0,i.jsx)("h3",{className:"mb-2 line-clamp-1 text-xl font-semibold text-balance",children:e.title}),(0,i.jsx)("p",{className:"text-muted-foreground line-clamp-3 text-sm",dangerouslySetInnerHTML:{__html:null!=(y=e.description)?y:""}}),j&&(0,i.jsx)("div",{className:"mt-4",children:(0,i.jsx)(c.$,{asChild:!0,variant:e.button.variant||"default",size:e.button.size||"sm",className:"bg-primary hover:bg-primary/90 h-8 w-full border-0 px-3 py-1.5 text-sm font-medium text-white",children:(0,i.jsxs)(l.N_,{href:e.button.url||"",onClick:function(){return(0,p.sx)("showcase_item_clicked",{section_id:t.id||t.name,item_title:e.title,target_url:e.button.url||"",position:a,page_path:window.location.pathname})},target:e.button.target||"_self",children:[e.button.icon&&(0,i.jsx)(d.L,{name:e.button.icon,className:"text-white"}),e.button.title]})})})]})]})})});return j?(0,i.jsx)("div",{children:w},a):(0,i.jsx)(l.N_,{href:e.url||"",onClick:function(){return(0,p.sx)("showcase_item_clicked",{section_id:t.
1id||t.name,item_title:e.title,target_url:e.url||"",position:a,page_path:window.location.pathname})},target:e.target,children:w},a)}):(0,i.jsx)(o.P.div,{className:"text-muted-foreground col-span-full text-center",initial:{opacity:0},whileInView:{opacity:1},viewport:{once:!0},transition:{duration:.4},children:"No items found in this category."})})]})}},78539:(e,t,a)=>{"use strict";a.r(t),a.d(t,{Footer:()=>l});var r=a(69140),i=a(28632),n=a(74078),s=a(39118),o=a(5029);function l(e){var t,a,l,d,c=e.footer;return(0,r.jsx)("footer",{id:c.id,className:"py-8 sm:py-8 ".concat(c.className||""," overflow-x-hidden"),children:(0,r.jsxs)("div",{className:"container space-y-8 overflow-x-hidden",children:[(0,r.jsxs)("div",{className:"grid min-w-0 gap-12 md:grid-cols-5",children:[(0,r.jsxs)("div",{className:"min-w-0 space-y-4 break-words md:col-span-2 md:space-y-6",children:[c.brand?(0,r.jsx)("div",{onClickCapture:function(){var e,t;return(0,o.sx)("footer_link_clicked",{link_type:"brand",item_label:null==(e=c.brand)?void 0:e.title,target_url:(null==(t=c.brand)?void 0:t.url)||"",page_path:window.location.pathname})},children:(0,r.jsx)(n.FQ,{brand:c.brand})}):null,(null==(t=c.brand)?void 0:t.description)?(0,r.jsx)("p",{className:"text-muted-foreground text-sm text-balance break-words",dangerouslySetInnerHTML:{__html:c.brand.description}}):null]}),(0,r.jsx)("div",{className:"col-span-3 grid min-w-0 gap-6 sm:grid-cols-3",children:null==(a=c.nav)?void 0:a.items.map(function(e,t){var a;return(0,r.jsxs)("div",{className:"min-w-0 space-y-4 text-sm break-words",children:[(0,r.jsx)("span",{className:"block font-medium break-words",children:e.title}),(0,r.jsx)("div",{className:"flex min-w-0 flex-wrap gap-4 sm:flex-col",children:null==(a=e.children)?void 0:a.map(function(t,a){return(0,r.jsx)(i.N_,{href:t.url||"",target:t.target||"",onClick:function(){return(0,o.sx)("footer_link_clicked",{link_type:"nav",group_title:e.title,item_label:t.title||"",target_url:t.url||"",page_path:window.location.pathname})},className:"text-muted-foreground hover:text-primary block break-words duration-150",children:(0,r.jsx)("span",{className:"break-words",children:t.title||""})},a)})})]},t)})})]}),(0,r.jsxs)("div",{className:"flex min-w-0 flex-wrap items-center gap-4 sm:gap-8",children:[!1!==c.show_built_with?(0,r.jsx)(n.pZ,{}):null,(0,r.jsx)("div",{className:"min-w-0 flex-1"}),!1!==c.show_theme?(0,r.jsx)(n.GC,{type:"toggle",source:"footer"}):null,!1!==c.show_locale?(0,r.jsx)(n.YC,{type:"button",source:"footer"}):null]}),c.disclaimer&&(0,r.jsx)("p",{className:"text-muted-foreground text-xs text-balance break-words",dangerouslySetInnerHTML:{__html:c.disclaimer}}),(0,r.jsx)("div",{"aria-hidden":!0,className:"h-px min-w-0 [background-image:linear-gradient(90deg,var(--color-foreground)_1px,transparent_1px)] bg-[length:6px_1px] bg-repeat-x opacity-25"}),(0,r.jsxs)("div",{className:"flex min-w-0 flex-wrap justify-between gap-8",children:[c.copyright?(0,r.jsx)("p",{className:"text-muted-foreground text-sm text-balance break-words",dangerouslySetInnerHTML:{__html:c.copyright}}):c.brand?(0,r.jsx)(n.Y0,{brand:c.brand}):null,(0,r.jsx)("div",{className:"min-w-0 flex-1"}),c.agreement?(0,r.jsx)("div",{className:"flex min-w-0 flex-wrap items-center gap-4",children:null==(l=c.agreement)?void 0:l.items.map(function(e,t){return(0,r.jsx)(i.N_,{href:e.url||"",target:e.target||"",onClick:function(){return(0,o.sx)("footer_link_clicked",{link_type:"agreement",item_label:e.title||"",target_url:e.url||"",page_path:window.location.pathname})},className:"text-muted-foreground hover:text-primary block text-xs break-words underline duration-150",children:e.title||""},t)})}):null,c.social?(0,r.jsx)("div",{className:"flex min-w-0 flex-wrap items-center gap-2",children:null==(d=c.social)?void 0:d.items.map(function(e,t){return(0,r.jsx)(i.N_,{href:e.url||"",target:e.target||"",onClick:function(){return(0,o.sx)("footer_link_clicked",{link_type:"social",item_label:e.title||"",target_url:e.url||"",page_path:window.location.pathname})},className:"text-muted-foreground hover:text-primary bg-background block cursor-pointer rounded-full p-2 duration-150","aria-label":e.title||"Social media link",children:e.icon&&(0,r.jsx)(s.L,{name:e.icon,size:20})},t)})}):null]})]})})}},79748:(e,t,a)=>{"use strict";a.r(t),a.d(t,{FeaturesList:()=>c});var r=a(69140),i=a(28632),n=a(74078),s=a(41156),o=a(42430),l=a(86681),d=a(42803);function c(e){var t,a,c,u,m,p,h,x,g,f,v,b,y,j,w=e.section,N=e.className,_=w.video;return(0,r.jsx)("section",{id:w.id,className:(0,d.cn)("overflow-x-hidden py-16 md:py-24",w.className,N),children:(0,r.jsxs)("div",{className:"container overflow-x-hidden",children:[(0,r.jsxs)("div",{className:"flex flex-wrap items-center gap-8 pb-12 md:gap-24",children:[(0,r.jsx)(o.i,{direction:"left",children:(0,r.jsx)("div",{className:"mx-auto w-full max-w-[500px] flex-shrink-0 md:mx-0",children:(null==_?void 0:_.src)?(0,r.jsx)("video",{className:"w-full rounded-lg border object-cover shadow-sm",style:{aspectRatio:_.width&&_.height?"".concat(_.width," / ").concat(_.height):"5 / 4"},src:_.src,poster:_.poster||(null==(a=w.image)?void 0:a.src),autoPlay:null==(f=_.autoPlay)||f,muted:null==(v=_.muted)||v,loop:null==(b=_.loop)||b,playsInl
1ine:!0,controls:null!=(y=_.controls)&&y,"aria-label":(0,l.WN)(_.alt||(null==(c=w.image)?void 0:c.alt),(0,l.hu)(w.title,"feature workflow video"))}):(0,r.jsx)(n.oD,{src:null!=(j=null==(u=w.image)?void 0:u.src)?j:"",alt:(0,l.WN)(null==(m=w.image)?void 0:m.alt,(0,l.hu)(w.title,"feature list illustration image")),width:null==(p=w.image)?void 0:p.width,height:null==(h=w.image)?void 0:h.height,className:"h-auto w-full rounded-lg object-cover"})})}),(0,r.jsxs)("div",{className:"w-full min-w-0 flex-1",children:[(0,r.jsx)(o.i,{delay:.1,children:(t="h1"===w.heading_level?"h1":"h2",(0,r.jsx)(t,{className:"text-foreground text-4xl font-semibold text-balance break-words",children:w.title}))}),(0,r.jsx)(o.i,{delay:.2,children:(0,r.jsx)("p",{className:"text-md text-muted-foreground my-6 text-balance break-words",children:w.description})}),w.buttons&&w.buttons.length>0&&(0,r.jsx)(o.i,{delay:.3,children:(0,r.jsx)("div",{className:"flex flex-wrap items-center justify-start gap-2",children:null==(x=w.buttons)?void 0:x.map(function(e,t){var a,o;return(0,r.jsx)(s.$,{asChild:!0,variant:e.variant||"default",size:e.size||"default",children:(0,r.jsxs)(i.N_,{href:null!=(a=e.url)?a:"",target:null!=(o=e.target)?o:"_self",className:(0,d.cn)("focus-visible:ring-ring inline-flex items-center justify-center gap-2 rounded-md text-sm font-medium whitespace-nowrap transition-colors focus-visible:ring-1 focus-visible:outline-none disabled:pointer-events-none disabled:opacity-50","h-9 px-4 py-2","bg-background ring-foreground/10 hover:bg-muted/50 dark:ring-foreground/15 dark:hover:bg-muted/50 border border-transparent shadow-sm ring-1 shadow-black/15 duration-200"),children:[e.icon&&(0,r.jsx)(n.LK,{name:e.icon,size:24}),e.title]})},t)})})})]})]}),(0,r.jsx)(o.i,{delay:.1,children:(0,r.jsx)("div",{className:"relative grid min-w-0 grid-cols-1 gap-x-3 gap-y-6 border-t pt-12 break-words sm:grid-cols-2 sm:gap-6 lg:grid-cols-4",children:null==(g=w.items)?void 0:g.map(function(e,t){var a;return(0,r.jsxs)("div",{className:"min-w-0 space-y-3 break-words",children:[(0,r.jsxs)("div",{className:"flex min-w-0 items-center gap-2",children:[e.icon&&(0,r.jsx)(n.LK,{name:e.icon,size:16}),(0,r.jsx)("h3",{className:"min-w-0 text-sm font-medium break-words",children:e.title})]}),(0,r.jsx)("p",{className:"text-muted-foreground min-w-0 text-sm break-words",children:null!=(a=e.description)?a:""})]},t)})})})]})})}},80590:(e,t,a)=>{"use strict";a.d(t,{Accordion:()=>m,AccordionContent:()=>x,AccordionItem:()=>p,AccordionTrigger:()=>h});var r=a(86706),i=a(56480),n=a(32812),s=a(20857),o=a(7907),l=a(69140);a(20792);var d=a(90967),c=a(4586),u=a(42803);function m(e){var t=(0,r._)({},(0,i._)(e));return(0,l.jsx)(d.bL,(0,n._)({"data-slot":"accordion"},t))}function p(e){var t=e.className,a=(0,o._)(e,["className"]);return(0,l.jsx)(d.q7,(0,n._)({"data-slot":"accordion-item",className:(0,u.cn)("border-b last:border-b-0",t)},a))}function h(e){var t=e.className,a=e.children,r=(0,o._)(e,["className","children"]);return(0,l.jsx)(d.Y9,{className:"flex",children:(0,l.jsxs)(d.l9,(0,s._)((0,n._)({"data-slot":"accordion-trigger",className:(0,u.cn)("focus-visible:border-ring focus-visible:ring-ring/50 flex flex-1 items-start justify-between gap-4 rounded-md py-4 text-left text-sm font-medium transition-all outline-none hover:underline focus-visible:ring-[3px] disabled:pointer-events-none disabled:opacity-50 [&[data-state=open]>svg]:rotate-180",t)},r),{children:[a,(0,l.jsx)(c.A,{className:"text-muted-foreground pointer-events-none size-4 shrink-0 translate-y-0.5 transition-transform duration-200"})]}))})}function x(e){var t=e.className,a=e.children,r=(0,o._)(e,["className","children"]);return(0,l.jsx)(d.UC,(0,s._)((0,n._)({"data-slot":"accordion-content",className:"data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down overflow-hidden text-sm"},r),{children:(0,l.jsx)("div",{className:(0,u.cn)("pt-0 pb-4",t),children:a})}))}},81220:(e,t,a)=>{"use strict";a.r(t),a.d(t,{ShowcasesNative:()=>u});var r=a(69140),i=a(78372),n=a(28632),s=a(39118),o=a(41156),l=a(12374),d=a(86681),c=a(42803);function u(e){var t,a=e.section,u=e.className;
1return(0,r.jsxs)("section",{id:a.id||a.name,className:(0,c.cn)("py-24 md:py-36",a.className,u),children:[(0,r.jsxs)(i.P.div,{className:"container mb-12 text-center",initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6,ease:[.22,1,.36,1]},children:[(0,r.jsx)("h2",{className:"mx-auto mb-6 max-w-full text-3xl font-bold text-pretty md:max-w-5xl lg:text-4xl",children:a.title}),(0,r.jsx)("p",{className:"text-muted-foreground text-md mx-auto mb-4 max-w-full md:max-w-5xl",children:a.description})]}),(0,r.jsx)("div",{className:"container grid grid-cols-1 gap-6 md:grid-cols-2 lg:grid-cols-3",children:null==(t=a.items)?void 0:t.map(function(e,t){var a,c,u,m;return(0,r.jsx)(i.P.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-50px"},transition:{duration:.6,delay:.1*t,ease:[.22,1,.36,1]},children:(0,r.jsx)(l.Zp,{className:"overflow-hidden p-0 transition-all hover:shadow-lg",children:(0,r.jsxs)(l.Wu,{className:"p-0",children:[(0,r.jsx)("div",{className:"bg-muted/30 relative aspect-[16/10] w-full overflow-hidden",children:(0,r.jsx)("img",{src:null!=(u=null==(a=e.image)?void 0:a.src)?u:"",alt:(0,d.WN)(null==(c=e.image)?void 0:c.alt,(0,d.hu)(e.title,"showcase card preview image")),className:"h-full w-full object-cover transition-transform duration-300 hover:scale-105",loading:"lazy"})}),(0,r.jsxs)("div",{className:"p-6",children:[(0,r.jsx)("h3",{className:"mb-2 line-clamp-2 text-xl font-semibold text-balance",children:e.title}),(0,r.jsx)("p",{className:"text-muted-foreground line-clamp-4 text-sm",dangerouslySetInnerHTML:{__html:null!=(m=e.description)?m:""}}),e.button&&(0,r.jsx)("div",{className:"mt-4",children:(0,r.jsx)(o.$,{asChild:!0,variant:e.button.variant||"default",size:e.button.size||"sm",className:"h-8 w-full px-3 py-1.5 text-sm font-medium",children:(0,r.jsxs)(n.N_,{href:e.button.url||"",target:e.button.target||"_self",children:[e.button.icon&&(0,r.jsx)(s.L,{name:e.button.icon}),e.button.title]})})})]})]})})},t)})})]})}},84076:(e,t,a)=>{"use strict";a.r(t),a.d(t,{HeroVideoGenerator:()=>l});var r=a(32812),i=a(20857),n=a(69140),s=a(92074),o=a(42803);function l(e){var t,a,l,d,c,u,m,p,h,x,g=e.section,f=e.className,v=g.data||{},b=g.highlight_text||"",y=(g.title||"").split("\n"),j=(0,i._)((0,r._)({},g),{id:"".concat(g.id||"generator","-tool"),title:void 0,description:void 0,data:(0,i._)((0,r._)({},v),{defaultProvider:null!=(u=null==(t=v.bar)?void 0:t.provider)?u:v.defaultProvider,defaultModel:null!=(m=null==(a=v.bar)?void 0:a.defaultModel)?m:v.defaultModel,defaultAspectRatio:null!=(p=null==(l=v.bar)?void 0:l.defaultAspectRatio)?p:v.defaultAspectRatio,defaultDuration:null!=(h=null==(d=v.bar)?void 0:d.defaultDuration)?h:v.defaultDuration,promptPlaceholder:null!=(x=null==(c=v.bar)?void 0:c.promptPlaceholder)?x:v.promptPlaceholder})}),w=function(e,t){if(b&&e.includes(b)){var a=e.split(b);return(0,n.jsxs)("span",{className:"block",children:[a[0],(0,n.jsx)("span",{className:"from-primary via-foreground to-primary bg-gradient-to-r bg-clip-text text-transparent",children:b}),a[1]]},t)}return(0,n.jsx)("span",{className:"text-foreground block",children:e},t)};return(0,n.jsxs)("section",{id:g.id,className:(0,o.cn)("relative overflow-hidden pt-28 pb-16 md:pt-40 md:pb-20",g.className,f),children:[!0===v.fluidBackground&&(0,n.jsx)("div",{"aria-hidden":"true",className:"from-background via-muted/40 to-background pointer-events-none absolute inset-0 -z-10 bg-[radial-gradient(circle_at_50%_0%,hsl(var(--primary)/0.16),transparent_34%),linear-gradient(180deg,hsl(var(--background)),hsl(var(--muted)/0.28)_46%,hsl(var(--background)))]"}),(0,n.jsxs)("div",{className:"relative z-10 container mx-auto max-w-5xl px-4",children:[(0,n.jsxs)("div",{className:"mx-auto mb-10 max-w-4xl text-center md:mb-12",children:[(0,n.jsx)("h1",{className:"mb-6 text-4xl leading-tight font-bold tracking-tight sm:text-5xl md:text-6xl",children:y.map(function(e,t){return(0,n.jsxs)("span",{children:[w(e,t),t<y.length-1?(0,n.jsx)("span",{className:"sr-only",children:" "}):null]},t)})}),g.description&&(0,n.jsx)("p",{className:"text-muted-foreground mx-auto max-w-2xl text-lg leading-relaxed",children:g.description})]}),(0,n.jsx)(s.a,{section:j,outputType:"video",className:"!py-0"})]})]})}},84620:(e,t,a)=>{"use strict";a.d(t,{Cf:()=>x,Es:()=>f,L3:()=>v,c7:()=>g,lG:()=>m,rr:()=>b});var r=a(86706),i=a(56480),n=a(32812),s=a(20857),o=a(7907),l=a(69140);a(20792);var d=a(98336),c=a(41936),u=a(42803);function m(e){var t=(0,r._)({},(0,i._)(e));return(0,l.jsx)(d.bL,(0,n._)({"data-slot":"dialog"},t))}function p(e){var t=(0,r._)({},(0,i._)(e));return(0,l.jsx)(d.ZL,(0,n._)({"data-slot":"dialog-portal"},t))}function h(e){var t=e.className,a=(0,o._)(e,["className"]);return(0,l.jsx)(d.hJ,(0,n._)({"data-slot":"dialog-overlay",className:(0,u.cn)("data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50",t)},a))}function x(e){var t=e.className,a=e.children,r=e.showCloseButton,i=(0,o._)(e,["className","children","showCloseButton"]);return(0,l.jsxs)(p,{"data-slot":"dialog-portal",children:[(0,l.jsx)(h,{}),(0,l.jsxs)(d.UC,(0,s._)((0,n._)({"data-slot":"dialog-content",className:(0,u.cn)("bg-background data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 roun
1ded-lg border p-6 shadow-lg duration-200",t)},i),{children:[a,(void 0===r||r)&&(0,l.jsxs)(d.bm,{"data-slot":"dialog-close",className:"ring-offset-background focus:ring-ring data-[state=open]:bg-accent data-[state=open]:text-muted-foreground absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",children:[(0,l.jsx)(c.A,{}),(0,l.jsx)("span",{className:"sr-only",children:"Close"})]})]}))]})}function g(e){var t=e.className,a=(0,o._)(e,["className"]);return(0,l.jsx)("div",(0,n._)({"data-slot":"dialog-header",className:(0,u.cn)("flex flex-col gap-2 text-center sm:text-left",t)},a))}function f(e){var t=e.className,a=(0,o._)(e,["className"]);return(0,l.jsx)("div",(0,n._)({"data-slot":"dialog-footer",className:(0,u.cn)("flex flex-col-reverse gap-2 sm:flex-row sm:justify-end",t)},a))}function v(e){var t=e.className,a=(0,o._)(e,["className"]);return(0,l.jsx)(d.hE,(0,n._)({"data-slot":"dialog-title",className:(0,u.cn)("text-lg leading-none font-semibold",t)},a))}function b(e){var t=e.className,a=(0,o._)(e,["className"]);return(0,l.jsx)(d.VY,(0,n._)({"data-slot":"dialog-description",className:(0,u.cn)("text-muted-foreground text-sm",t)},a))}},85393:(e,t,a)=>{"use strict";a.r(t),a.d(t,{ShowcasesFlow:()=>v});var r=a(57505),i=a(69140),n=a(20792),s=a(78372),o=a(76539),l=a(41936),d=a(17619),c=a(80316),u=a(28632),m=a(74078),p=a(39118),h=a(41156),x=a(86681),g=a(5029),f=a(42803);function v(e){var t,a,v,b=e.section,y=e.className,j=b.groups||[],w=(0,r._)((0,n.useState)(j.length>0?j[0].name:""),2),N=w[0],_=w[1],k=(0,r._)((0,n.useState)(null),2),P=k[0],S=k[1],C=b.id||b.name,I=(0,n.useMemo)(function(){return b.items?N&&j.length&&"all"!==N?b.items.filter(function(e){return e.group===N}):b.items:[]},[b.items,N,j.length]),z=(0,n.useCallback)(function(){S(function(e){var t;return null!==e?0===e?(null!=(t=I.length)?t:1)-1:e-1:null})},[I.length]),A=(0,n.useCallback)(function(){S(function(e){var t;return null!==e?e===(null!=(t=I.length)?t:1)-1?0:e+1:null})},[I.length]);return(0,n.useEffect)(function(){var e=function(e){null!==P&&("Escape"===e.key&&S(null),"ArrowLeft"===e.key&&z(),"ArrowRight"===e.key&&A())};return window.addEventListener("keydown",e),function(){return window.removeEventListener("keydown",e)}},[P,z,A]),(0,i.jsxs)("section",{id:b.id||b.name,className:(0,f.cn)("py-24 md:py-36",b.className,y),children:[(0,i.jsxs)(s.P.div,{className:"container mb-12 text-center",initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6,ease:[.22,1,.36,1]},children:[b.sr_only_title&&(0,i.jsx)("h1",{className:"sr-only",children:b.sr_only_title}),(0,i.jsx)("h2",{className:"mx-auto mb-6 max-w-full text-3xl font-bold text-pretty md:max-w-5xl lg:text-4xl",children:b.title}),(0,i.jsx)("p",{className:"text-muted-foreground text-md mx-auto mb-4 line-clamp-3 max-w-full md:max-w-5xl",children:b.description}),b.buttons&&b.buttons.length>0&&(0,i.jsx)("div",{className:"container mx-auto mt-8 mb-12 flex flex-wrap justify-center gap-4",children:b.buttons.map(function(e){return(0,i.jsx)(h.$,{variant:e.variant||"default",size:e.size||"sm",asChild:!0,children:(0,i.jsx)(u.N_,{href:e.url||"",target:e.target||"_self",children:(0,i.jsxs)("span",{className:"contents",onClick:function(){return(0,g.sx)("cta_clicked",{cta_location:"showcase_header",cta_text:e.title,target_url:e.url||"",section_id:C,page_path:window.location.pathname})},children:[e.icon&&(0,i.jsx)(p.L,{name:e.icon}),e.title]})})},e.title)})})]}),j.length>0&&(0,i.jsx)(s.P.div,{className:"container mb-12 flex flex-wrap justify-center gap-4",initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6,delay:.15,ease:[.22,1,.36,1]},children:j.map(function(e,t){var a=N===e.name;return(0,i.jsx)(s.P.button,{onClick:function(){(0,g.sx)("showcase_group_switched",{section_id:C,from_group:N,to_group:e.name,page_path:window.location.pathname}),_(e.name)},className:(0,f.cn)("relative rounded-lg px-3 py-1.5 text-sm font-medium transition-all",a?""
1:"border-border bg-background text-foreground hover:bg-accent hover:text-accent-foreground border"),initial:{opacity:0,scale:.9},whileInView:{opacity:1,scale:1},viewport:{once:!0},transition:{duration:.4,delay:.2+.1*t,ease:[.22,1,.36,1]},whileHover:{scale:1.05},whileTap:{scale:.95},children:a?(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("span",{className:"bg-primary absolute inset-0 rounded-lg p-[2px]",children:(0,i.jsx)("span",{className:"bg-background block h-full w-full rounded-[calc(0.5rem-2px)]"})}),(0,i.jsx)("span",{className:"bg-primary relative z-10 bg-clip-text text-transparent",children:e.title})]}):(0,i.jsx)("span",{children:e.title})},e.name)})}),I.length>0?(0,i.jsx)("div",{className:"container mx-auto columns-1 gap-4 space-y-4 sm:columns-2 lg:columns-3 xl:columns-4",children:I.map(function(e,t){var a,r,n;return(0,i.jsxs)(s.P.div,{className:"group relative cursor-zoom-in break-inside-avoid overflow-hidden rounded-xl",onClick:function(){var a;(0,g.sx)("showcase_item_clicked",{section_id:C,item_title:e.title,target_url:(null==(a=e.button)?void 0:a.url)||"",position:t,page_path:window.location.pathname}),S(t)},initial:{opacity:0,y:30,scale:.95},whileInView:{opacity:1,y:0,scale:1},viewport:{once:!0,margin:"-50px"},transition:{duration:.6,delay:.1*t,ease:[.22,1,.36,1]},whileHover:{scale:1.02},children:[(0,i.jsx)(m.oD,{src:null!=(n=null==(a=e.image)?void 0:a.src)?n:"",alt:(0,x.WN)(null==(r=e.image)?void 0:r.alt,(0,x.hu)(e.title,"gallery showcase image")),className:"h-auto w-full transition-transform duration-300 group-hover:scale-105",sizes:"(max-width: 768px) 100vw, (max-width: 1200px) 50vw, 25vw"}),(0,i.jsxs)("div",{className:"absolute inset-0 flex flex-col justify-end bg-black/60 p-6 opacity-0 transition-opacity duration-300 group-hover:opacity-100",children:[(0,i.jsx)("h3",{className:"mb-2 translate-y-4 text-sm font-medium text-white transition-transform duration-300 group-hover:translate-y-0",children:e.title}),e.button&&(0,i.jsx)("div",{className:"mt-3 translate-y-4 transition-transform delay-100 duration-300 group-hover:translate-y-0",onClick:function(e){return e.stopPropagation()},children:(0,i.jsx)(h.$,{asChild:!0,variant:e.button.variant||"default",size:e.button.size||"sm",className:"bg-primary hover:bg-primary/90 text-primary-foreground h-8 w-full border-0 px-1 py-1.5 text-sm font-medium",children:(0,i.jsxs)(u.N_,{href:e.button.url||"",onClick:function(){return(0,g.sx)("showcase_modal_action_clicked",{action:"item_cta",section_id:C,item_title:e.title,target_url:e.button.url||"",position:t,page_path:window.location.pathname})},target:e.button.target||"_self",children:[e.button.icon&&(0,i.jsx)(p.L,{name:e.button.icon}),e.button.title]})})})]})]},t)})}):(0,i.jsx)(s.P.div,{className:"text-muted-foreground container text-center",initial:{opacity:0}
1,whileInView:{opacity:1},viewport:{once:!0},transition:{duration:.4},children:"No items found in this category."}),(0,i.jsx)(o.N,{children:null!==P&&I&&I.length>0&&(0,i.jsxs)(s.P.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},className:"fixed inset-0 z-50 flex items-center justify-center bg-black/90 p-4 backdrop-blur-sm md:p-8",onClick:function(){var e=I[P];(0,g.sx)("showcase_modal_action_clicked",{action:"close_backdrop",section_id:C,item_title:null==e?void 0:e.title,position:P,page_path:window.location.pathname}),S(null)},children:[(0,i.jsx)("button",{className:"absolute top-4 right-4 z-50 text-white/70 transition-colors hover:text-white",onClick:function(e){e.stopPropagation();var t=I[P];(0,g.sx)("showcase_modal_action_clicked",{action:"close_button",section_id:C,item_title:null==t?void 0:t.title,position:P,page_path:window.location.pathname}),S(null)},children:(0,i.jsx)(l.A,{className:"size-8"})}),(0,i.jsx)("button",{className:"absolute top-1/2 left-4 z-50 -translate-y-1/2 rounded-full bg-black/20 p-2 text-white/70 transition-colors hover:bg-black/40 hover:text-white",onClick:function(e){e.stopPropagation();var t=I[P];(0,g.sx)("showcase_modal_action_clicked",{action:"previous",section_id:C,item_title:null==t?void 0:t.title,position:P,page_path:window.location.pathname}),z()},children:(0,i.jsx)(d.A,{className:"size-8 md:size-12"})}),(0,i.jsx)("button",{className:"absolute top-1/2 right-4 z-50 -translate-y-1/2 rounded-full bg-black/20 p-2 text-white/70 transition-colors hover:bg-black/40 hover:text-white",onClick:function(e){e.stopPropagation();var t=I[P];(0,g.sx)("showcase_modal_action_clicked",{action:"next",section_id:C,item_title:null==t?void 0:t.title,position:P,page_path:window.location.pathname}),A()},children:(0,i.jsx)(c.A,{className:"size-8 md:size-12"})}),(0,i.jsx)(s.P.div,{initial:{opacity:0,scale:.95},animate:{opacity:1,scale:1},exit:{opacity:0,scale:.95},transition:{duration:.2},className:"relative flex h-full w-full items-center justify-center",onClick:function(e){return e.stopPropagation()},children:(0,i.jsxs)("div",{className:"relative max-h-full max-w-full overflow-hidden rounded-lg",children:[(0,i.jsx)(m.oD,{src:null!=(v=null==(t=I[P].image)?void 0:t.src)?v:"",alt:(0,x.WN)(null==(a=I[P].image)?void 0:a.alt,(0,x.hu)(I[P].title,"expanded gallery showcase image")),className:"h-auto max-h-[90vh] w-auto max-w-full object-contain"}),(0,i.jsxs)("div",{className:"absolute right-0 bottom-0 left-0 bg-gradient-to-t from-black/80 via-black/50 to-transparent p-6 text-white",children:[(0,i.jsx)("h3",{className:"mb-2 text-2xl font-bold",children:I[P].title}),I[P].description&&(0,i.jsx)("p",{className:"line-clamp-3 text-base text-white/90",children:I[P].description}),I[P].button&&(0,i.jsx)("div",{className:"mt-4",children:(0,i.jsx)(h.$,{asChild:!0,variant:I[P].button.variant||"default",size:I[P].button.size||"default",className:"bg-primary hover:bg-primary/90 h-8 border-0 px-3 py-1.5 text-sm font-medium text-white",children:(0,i.jsxs)(u.N_,{href:I[P].button.url||"",onClick:function(){return(0,g.sx)("showcase_modal_action_clicked",{action:"modal_cta",section_id:C,item_title:I[P].title,target_url:I[P].button.url||"",position:P,page_path:window.location.pathname})},target:I[P].button.target||"_self",children:[I[P].button.icon&&(0,i.jsx)(p.L,{name:I[P].button.icon,className:"text-white"}),I[P].button.title]})})})]})]})},P)]})})]})}},85516:(e,t,a)=>{"use strict";a.r(t),a.d(t,{Cta:()=>c});var r=a(69140),i=a(28632),n=a(39118),s=a(41156),o=a(42430),l=a(5029),d=a(42803);function c(e){var t,a,c=e.section,u=e.className;return(0,r.jsx)("section",{id:c.id,className:(0,d.cn)("py-16 md:py-24",c.className,u),children:(0,r.jsx)("div",{className:"container",children:(0,r.jsxs)("div",{className:"text-center",children:[(0,r.jsx)(o.i,{children:(0,r.jsx)("h2",{className:"text-4xl font-semibold text-balance lg:text-5xl",children:c.title})}),(0,r.jsx)(o.i,{delay:.15,children:(0,r.jsx)("p",{className:"mt-4",dangerouslySetInnerHTML:{__html:null!=(a=c.description)?a:""}})}),(0,r.jsx)(o.i,{delay:.3,children:(0,r.jsx)("div",{className:"mt-12 flex flex-wrap justify-center gap-4",children:null==(t=c.buttons)?void 0:t.map(function(e,t){return(0,r.jsx)(s.$,{asChild:!0,size:e.size||"default",variant:e.variant||"default",children:(0,r.jsxs)(i.N_,{href:e.url||"",onClick:function(){return(0,l.sx)("cta_clicked",{cta_location:"cta_block",cta_text:e.title,target_url:e.url||"",section_id:c.id,page_path:window.location.pathname})},target:e.target||"_self",children:[e.icon&&(0,r.jsx)(n.L,{name:e.icon}),(0,r.jsx)("span",{children:e.title})]})},t)})})})]})})})}},88328:(e,t,a)=>{"use strict";a.d(t,{Xi:()=>u,j7:()=>c,tU:()=>d});var r=a(32812),i=a(7907),n=a(69140),s=a(20792),o=a(60380),l=a(42803),d=o.bL,c=s.forwardRef(function(e,t){var a=e.className,s=(0,i._)(e,["className"]);return(0,n.jsx)(o.B8,(0,r._)({ref:t,className:(0,l.cn)("border inline-flex h-10 items-center justify-center rounded-md bg-muted p-1 text-muted-foreground",a)},s))});c.displayName=o.B8.displayName;var u=s.forwardRef(function(e,t){var a=e.className,s=(0,i._)(e,["className"]);return(0,n.jsx)(o.l9,(0,r._)({ref:t,className:(0,l.cn)("inline-flex items-center justify-center whitespace-nowrap rounded-lg px-3 py-1.5 text-sm font-medium ring-offset-background transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:bg-background data-[state=active]:text-foreground data-[state=active]:shadow-sm",a)},s))});u.displayName=o.l9.displayName,s.forwardRef(function(e,t){var a=e.className,s=(0,i._)(e,["className"]);return(0,n.jsx)(o.UC,(0,r._)({ref:t,className:(0,l.cn)("mt-2 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",a)},s))}).displayName=o.UC.displayName},88402:(e,t,a)=>{"use strict";a.r(t),a.d(t,{Cta:()=>l});var r=a(69140),i=a(28632),n=a(42430),s=a(5029),o=a(42803);function l(e){var t,a=e.section,l=e.className;return(0,r.jsxs)("section",{id:a.id,className:(0,o.cn)("relative overflow-hidden py-16 md:py-24",a.className,l),children:[(0,r.jsx)("div",{className:"pointer-events-none absolute inset-0 -z-10",style:{background:"radial-gradient(ellipse 60% 50% at 50% 50%, rgba(153, 51, 255, 0.15), transparent)"}}),(0,r.jsxs)("div",{className:"container mx-auto max-w-3xl px-4 text-center",children:[(0,r.jsx)(n.i,{children:(0,r.jsx)("h2",{className:"text-foreground mb-4 text-3xl leading-tight font-bold tracking-tight md:text-4xl lg:text-5xl",children:a.title})}),a.description&&(0,r.jsx)(n.i,{delay:.1,children:(0,r.jsx)("p",{className:"text-muted-foreground mx-auto mb-10 max-w-xl text-base leading-relaxed md:text-lg",children:a.description})}),(null==(t=a.buttons)?void 0:t[0])&&(0,r.jsx)(n.i,{delay:.2,children:(0,r.jsx)(i.N_,{href:a.buttons[0].url||"",onClick:function(){var e,t,r,i;return(0,s.sx)("cta_clicked",{cta_location:"cta_block",cta_text:(null==(t=a.buttons)||null==(e=t[0])?void 0:e.title)||"",target_url:(null==(i=a.buttons)||null==(r=i[0])?void 0:r.url)||"",section_id:a.id,page_path:window.location.pathname})},className:"text-primary-foreground inline-flex items-center gap-2 rounded-full bg-gradient-to-r from-[#9933ff] via-[#ee88dd] to-[#f7886a] px-8 py-3 text-sm font-semibold transition-opacity hover:opacity-90 md:text-base",children:a.buttons[0].title})})]})]})}},90186:(e,t,a)=>{"use strict";a.d(t,{n:()=>n});var r=a(69140),i=a(42803);function n(e){var t=e.className;return(0,r.jsxs)("div",{"aria-hidden":"true",className:(0,i.cn)("absolute inset-0 overflow-hidden",t),children:[(0,r.jsx)("iframe",{src:"/effects/fluid-hero/index.html",title:"Fluid hero background",className:"pointer-events-none hidden h-full w-full border-0 opacity-62 dark:block",loading:"lazy"}),(0,r.jsx)("iframe",{src:"/effects/vanta-clouds/index.html",title:"Vanta clouds background",className:"pointer-events-none h-full w-full border-0 opacity-85 dark:hidden",loading:"lazy"}),(0,r.jsx)("div",{className:"pointer-events-none absolute inset-0 bg-white/15 dark:hidden"}),(0,r.jsx)("div",{className:"from-background/25 via-background/55 to-background/80 pointer-events-none absolute inset-0 hidden bg-gradient-to-b dark:block"}),(0,r.jsx)("div",{className:"from-background/35 pointer-events-none absolute inset-x-0 top-0 h-24 bg-gradient-to-b to-transparent dark:from-transparent"}),(0,r.jsx)("div",{className:"to-background/70 dark:to-background/80 pointer-events-none absolute inset-x-0 bottom-0 h-32 bg-gradient-to-b from-transparent"})]})}},92074:(e,t,a)=>{"use strict";a.d(t,{a:()=>D});var r=a(76471),i=a(32812),n=a(20857),s=a(57505),o=a(17727),l=a(49835),d=a(3395),c=a(69140),u=a(20792),m=a(7307),p=a(82505),h=a(31951),x=a(90745),g=a(47323),f=
1a(38125),v=a(38543),b=a(70682),y=a(65484),j=a(18066),w=a(74226),N=a(45951),_=a(48169),k=a(50093),P=a(41156),S=a(12374),C=a(84620),I=a(88328),z=a(16854),A=a(45509),U=a(13021),T=a(42803),M=a(23196);let L=JSON.parse('{"metadata":{"title":"Seedance Pricing â AI Video Generator Plans & Credits","description":"Seedance pricing plans from $20/month. Create text-to-video and image-to-video content with flexible monthly, yearly, and credit pack options."},"page":{"title":"Seedance Pricing","sections":{"pricing":{"id":"pricing","title":"AI Video Generator â Simple & Transparent Pricing","description":"Flexible AI video generator pricing plans for every creator. Start with a plan or buy credits anytime.","groups":[{"name":"monthly","title":"Monthly"},{"name":"annual","title":"Yearly","label":"Best Value","is_featured":true},{"name":"credits","title":"Credit Packs","label":"No Expiry"}],"notes":["Credits are consumed based on resolution and duration.","Generate videos from 95 credits based on Seedance at 480P 5s.","Gemini Omni starts at 141 credits for 4s 1080p, and video-input Omni starts at 375 credits.","Monthly plan credits reset every month.","Yearly plan credits are issued upfront annually.","Credit packs do not expire.","Actual output may vary depending on selected generation options."],"items":[{"product_id":"starter-monthly","group":"monthly","title":"Starter","price":"$20","unit":"/month","currency":"USD","amount":2000,"interval":"month","description":"Great for casual creators getting started with AI video.","tip":"Credits reset every month. Cancel anytime.","button":{"title":"Get Starter"},"features_title":"Includes:","features":["1,200 Credits / month","Supports Seedance 2.0 480P, 720P, and 1080P generation","Includes silent video and synchronized audio generation","Supports 5s and 10s generation modes","Standard generation queue","Extra credits available anytime","Up to 12 videos at 480P 5s","Up to 5 videos at 720P 5s","Up to 2 videos at 1080P 5s"],"product_name":"seeda.app Starter Monthly","credits":1200,"valid_days":30,"plan_name":"Starter"},{"product_id":"creator-monthly","group":"monthly","title":"Creator","is_featured":true,"label":"Most Popular","price":"$49","unit":"/month","currency":"USD","amount":4900,"interval":"month","description":"Best for active creators who publish consistently.","tip":"Credits reset every month. Cancel anytime.","button":{"title":"Get Creator"},"features_title":"Includes:","features":["3,400 Credits / month","Supports Seedance 2.0 480P, 720P, and 1080P generation","Includes silent video and synchronized audio generation","Supports 5s and 10s generation modes","Faster generation queue","Extra credits available anytime","Up to 35 videos at 480P 5s","Up to 16 videos at 720P 5s","Up to 6 videos at 1080P 5s"],"product_name":"seeda.app Creator Monthly","credits":3400,"valid_days":30,"plan_name":"Creator"},{"product_id":"pro-monthly","group":"monthly","title":"Pro","price":"$99","unit":"/month","currency":"USD","amount":9900,"interval":"month","description":"Built for power users and high-volume production.","tip":"Credits reset every month. Cancel anytime.","button":{"title":"Get Pro"},"features_title":"Includes:","features":["7,600 Credits / month","Supports Seedance 2.0 480P, 720P, and 1080P generation","Includes silent video and synchronized audio generation","Supports 5s and 10s generation modes","Priority generation queue","Extra credits available anytime","Up to 80 videos at 480P 5s","Up to 37 videos at 720P 5s","Up to 14 videos at 1080P 5s"],"product_name":"seeda.app Pro Monthly","credits":7600,"valid_days":30,"plan_name":"Pro"},{"product_id":"starter-annual","group":"annual","title":"Starter","price":"$16.58","original_price":"$20","unit":"/month","currency":"USD","amount":19900,"interval":"year","billing_text":"Billed $199/year","save_label":"Save $41/yr","description":"Great for casual creators getting started with AI video.","tip":"Annual credits issued upfront. Billed annually.","button":{"title":"Get Starter"},"features_title":"Includes:","features":["19,200 Credits / year","About 1,600 credits/month on average","Supports Seedance 2.0 480P, 720P, and 1080P generation","Includes silent video and synchronized audio generation","Supports 5s and 10s generation modes","Standard generation queue","Extra credits available anytime","Up to 16 videos/mo at 480P 5s","Up to 7 videos/mo at 720P 5s","Up to 3 videos/mo at 1080P 5s"],"product_name":"seeda.app Starter Annual","credits":1600,"valid_days":30,"plan_name":"Starter"},{"product_id":"creator-annual","group":"annual","title":"Creator","is_featured":true,"label":"Most Popular","price":"$40.83","original_price":"$49","unit":"/month","currency":"USD","amount":49000,"interval":"year","billing_text":"Billed $490/year","save_label":"Save $98/yr","description":"Best for active creators who publish consistently.","tip":"Annual credits issued upfront. Billed annually.","button":{"title":"Get Creator"},"features_title":"Includes:","features":["50,400 Credits / year","About 4,200 credits/month on average","Supports Seedance 2.0 480P, 720P, and 1080P generation","Includes silent video and synchronized audio generation","Supports 5s and 10s generation modes","Faster generation queue","Extra credits available anytime","Up to 44 videos/mo at 480P 5s","Up to 20 videos/mo at 720P 5s","Up to 8 videos/mo at 1080P 5s"],"product_name":"seeda.app Creator Annual","credits":4200,"valid_days":30,"plan_name":"Creator"},{"product_id":"pro-annual","group":"annual","title":"Pro","price":"$82.50","original_price":"$99","unit":"/month","currency":"USD","amount":99000,"interval":"year","billing_text":"Billed $990/year","save_label":"Save $198/yr","description":"Built for power users and high-volume production.","tip":"Annual credits issued upfront. Billed annually.","button":{"title":"Get Pro"},"features_title":"Includes:","features":["108,000 Credits / year","About 9,000 credits/month on average","Supports Seedance 2.0 480P, 720P, and 1080P generation","Includes silent video and synchronized audio generation","Supports 5s and 10s generation modes","Priority generation queue","Extra credits available anytime","Up to 94 videos/mo at 480P 5s","Up to 43 videos/mo at 720P 5s","Up to 17 videos/mo at 1080P 5s"],"product_name":"seeda.app Pro Annual","credits":9000,"valid_days":30,"plan_name":"Pro"},{"product_id":"credits-s","group":"credits","title":"Small Pack","price":"$29","unit":"","currency":"USD","amount":2900,"interval":"one-time","description":"Perfect for occasional projects and extra usage on top of a subscription.","tip":"Credits do not expire. No subscription required.","button":{"title":"Buy Small Pack"},"features_title":"Includes:","features":["900 Credits","Supports Seedance 2.0 480P, 720P, and 1080P generation","Includes silent video and synchronized audio generation","Credits do not expire","No subscription required","Up to 9 videos at 480P 5s","Up to 4 videos at 720P 5s","Up to 1 video at 1080P 5s"],"product_name":"seeda.app Small Credit Pack","credits":900,"valid_days":36500,"plan_name":"Small Pack"},{"product_id":"credits-m","group":"credits","title":"Medium Pack","is_featured":true,"label":"Best Value","price":"$79","unit":"","currency":"USD","amount":7900,"interval":"one-time","description":"Flexible option for creators who need more generation volume without upgrading plans.","tip":"Credits do not expire. No subscription required.","button":{"title":"Buy Medium Pack"},"features_title":"Includes:","features":["2,400 Credits","Supports Seedance 2.0 480P, 720P, and 1080P generation","Includes silent video and synchronized audio generation","Credits do not expire","No subscription required","Up to 25 videos at 480P 5s","Up to 11 videos at 720P 5s","Up to 4 videos at 1080P 5s"],"product_name":"seeda.app Medium Credit Pack","credits":2400,"valid_days":36500,"plan_name":"Medium Pack"},{"product_id":"credits-l","group":"credits","title":"Large Pack","price":"$179","unit":"","currency":"USD","amount":17900,"interval":"one-time","description":"Best for large one-off projects and extra capacity for heavy users.","tip":"Credits do not expire. No subscription required.","button":{"title":"Buy Large Pack"},"features_title":"Includes:","features":["5,600 Credits","Supports Seedance 2.0 480P, 720P, and 1080P generation","Includes silent video and synchronized audio generation","Credits do not expire","No subscription required","Up to 58 videos at 480P 5s","Up to 27 videos at 720P 5s","Up to 10 videos at 1080P 5s"],"product_name":"seeda.app Large Credit Pack","credits":5600,"valid_days":36500,"plan_name":"Large Pack"}]}}},"messages":{"current_plan":"Current Plan","processing":"Processing","compare_plans":"Compare Plans","feature":"Feature","price":"Price"}}');var E={"1080p":{title:"1080p Resolution",description:"1080p HD video resolution is available for subscribers only."},generate_audio:{title:"Generate Audio",description:"Audio generation is available for subscribers only."}};function F(e){var t=e.plan,a=e.onSubscribe,r=e.isLoading,i=e.isMobile?t.features.mobile:t.features.desktop;return(0,c.jsxs)(S.Zp,{className:(0,T.cn)("relative flex flex-col rounded-xl border-2 h-full",t.isFeatured?"border-primary shadow-xl shadow-primary/20 bg-primary/5 p-4 lg:p-5":"border-border shadow-sm hover:shadow-md transition-shadow p-4 lg:p-5"),children:[t.isFeatured&&(0,c.jsx)("span",{className:"absolute inset-x-0 -top-3 mx-auto flex h-6 w-fit items-center rounded-full bg-linear-to-br/increasing from-purple-400 to-amber-300 px-3 py-1 text-xs font-medium text-white ring-1 ring-white/20 ring-offset-1 ring-offset-gray-950/5 ring-inset whitespace-nowrap",children:t.label||"Most Popular"}),t.saveLabel&&(0,c.jsx)("span",{className:"absolute top-3 right-3 rounded-full bg-emerald-500/15 px-2.5 py-0.5 text-xs font-semibold text-emerald-400",children:t.saveLabel}),(0,c.jsxs)(S.aR,{className:"p-0 pb-3 lg:pb-4",children:[(0,c.jsx)(S.ZB,{className:"font-semibold",children:(0,c.jsx)("h3",{className:"text-sm lg:text-base font-bold",children:t.title})}),(0,c.jsxs)("div",{className:"mt-1.5 lg:mt-2 flex items-baseline gap-1.5 lg:gap-2",children:[t.originalPrice&&(0,c.jsx)("span",{className:"text-muted-foreground text-[10px] lg:text-xs line-through",children:t.originalPrice}),(0,c.jsxs)("div",{className:"text-xl lg:text-2xl font-bold tracking-tight",children:[(0,c.jsx)("span",{className:"text-primary",children:t.price}),(0,c.jsx)("span",{className:"text-muted-foreground text-xs lg:text-sm font-normal",children:t.interval})]})]}),t.billingText&&(0,c.jsx)("p",{className:"text-muted-foreground text-[10px] lg:text-xs mt-0.5",children:t.billingText}),(0,c.jsx)(S.BT,{className:"text-[10px] lg:text-xs mt-1",children:t.description})]}),(0,c.jsxs)(S.Wu,{className:"flex-1 flex flex-col justify-between p-0 pt-2 lg:pt-3",children:[(0,c.jsxs)("div",{children:[(0,c.jsx)("div",{className:"hidden lg:block text-[11px] font-semibold mb-2",children:"Includes:"}
1),(0,c.jsx)("hr",{className:"hidden lg:block border-dashed mb-3"}),(0,c.jsx)("ul",{className:"text-muted-foreground list-outside space-y-1.5 lg:space-y-2 text-[11px] lg:text-xs",children:i.map(function(e,t){return(0,c.jsxs)("li",{className:"flex items-start gap-1.5 lg:gap-2",children:[(0,c.jsx)(y.A,{className:"size-2.5 lg:size-3 mt-0.5 text-[#9f54fa] shrink-0"}),(0,c.jsx)("span",{children:e})]},t)})})]}),(0,c.jsx)(P.$,{onClick:a,disabled:r,size:"sm",className:(0,T.cn)("w-full h-8 lg:h-9 text-xs lg:text-sm font-medium rounded-lg mt-3 lg:mt-4",t.isFeatured?"bg-primary text-primary-foreground hover:bg-primary/90 shadow-sm":""),children:r?(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(j.A,{className:"mr-1 h-3 lg:h-3.5 w-3 lg:w-3.5 animate-spin"}),"Processing..."]}):(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(w.A,{className:"mr-1 h-3 lg:h-3.5 w-3 lg:w-3.5"}),"Subscribe"]})})]})]})}function R(e){var t=e.open,a=e.onOpenChange,i=e.feature,n=(0,N.Ym)();(0,_.c)("ai.image.generator");var o=(0,z.U)("(min-width: 2000px)"),l=E[i],m=("zh"===n?L:M).page.sections.pricing.groups||[],p=(0,s._)((0,u.useState)("annual"),2),h=p[0],x=p[1],g=(0,A.U)(),f=g.user,v=g.setIsShowSignModal,j=(0,s._)((0,u.useState)(!1),2),w=j[0],P=j[1],S=(0,s._)((0,u.useState)(null),2),R=S[0],G=S[1],V=("zh"===n?L:M).page.sections.pricing.items.filter(function(e){return e.group===h}).map(function(e){var t=[e.features[0],e.features[1]];return{id:e.product_id,title:e.title,description:e.description,price:e.price,originalPrice:e.original_price||null,interval:e.unit,billingText:e.billing_text||null,saveLabel:e.save_label||null,label:e.label||null,features:{mobile:t,desktop:e.features},isFeatured:e.is_featured||!1,credits:e.credits}}),B=(0,c.jsxs)("div",{className:"space-y-4 lg:space-y-5",children:[(0,c.jsxs)("div",{className:"hidden lg:block text-center",children:[(0,c.jsx)("div",{className:"mx-auto mb-3 flex h-12 w-12 items-center justify-center rounded-full bg-primary/10",children:(0,c.jsx)(y.A,{className:"h-6 w-6 text-primary"})}),(0,c.jsx)("p",{className:"font-semibold text-lg",children:l.title}),(0,c.jsx)("p",{className:"text-muted-foreground text-sm",children:l.description})]}),m.length>0&&(0,c.jsx)("div",{className:"flex justify-center",children:(0,c.jsx)(I.tU,{value:h,onValueChange:x,children:(0,c.jsx)(I.j7,{className:"h-9",children:m.map(function(e,t){var a=h===e.name;return(0,c.jsxs)(I.Xi,{value:e.name||"",className:(0,T.cn)("h-8 px-3 text-xs",a&&"bg-primary text-primary-foreground shadow-sm"),children:[e.title,e.label&&(0,c.jsx)(k.E,{variant:"outline",className:(0,T.cn)("ml-1.5 border-transparent text-[10px] py-0 px-1",a?"bg-emerald-500 text-white":"bg-[#e3e4f4] text-[#8a8bec] dark:bg-[#2a1840] dark:text-[#8d4cd3]"),children:e.label})]},t)})})})}),(0,c.jsx)("div",{className:"grid gap-3 lg:gap-5 sm:grid-cols-2 md:grid-cols-3",children:V.map(function(e){return(0,c.jsx)(F,{plan:e,onSubscribe:function(){return(0,r._)(function(){var t,a,r,i,s,o,l;return(0,d.YH)(this,function(d){switch(d.label){case 0:if(!f)return v(!0),[2];d.label=1;case 1:return d.trys.push([1,4,5,6]),G(e.id),P(!0),[4,fetch("/api/payment/checkout",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({product_id:e.id,currency:"USD",locale:n||"en",payment_provider:"stripe",metadata:{},promo_code:(0,U.w)()})})];case 2:if(401===(t=d.sent()).status)return v(!0),[2];if(!t.ok)throw Error("request failed with status ".concat(t.status));return[4,t.json()];case 3:if(r=(a=d.sent()).code,i=a.message,s=a.data,0!==r)throw Error(i);if(!(o=s.checkoutUrl))throw Error("checkout url not found");return window.location.href=o,[3,6];case 4:return console.log("checkout failed: ",l=d.sent()),b.oR.error("checkout failed: "+l.message,{description:"Contact [email protected] if you need help."}),[3,6];case 5:return P(!1),G(null),[7];case 6:return[2]}})})()},isLoading:w&&R===e.id,isMobile:!o},e.id)})})]});return(0,c.jsx)(C.lG,{open:t,onOpenChange:a,children:(0,c.jsx)(C.Cf,{className:"overflow-hidden p-6",style:{width:"1386px",maxWidth:"95vw",maxHeight:"90vh"},children:(0,c.jsxs)("div",{className:"h-full overflow-y-auto pr-2 -mr-2",children:[(0,c.jsxs)(C.c7,{className:"mb-3 lg:mb-4",children:[(0,c.jsx)(C.L3,{className:"text-xl hidden",children:"zh"===n?"å级以解éåè½":"Upgrade to Unlock"}),(0,c.jsx)(C.rr,{className:"text-sm hidden",children:"zh"===n?"éæ©é忍ç订é
å¥é¤":"Choose a subscription plan that works for you"})]}),B]})})})}var G=a(5029),V=["facebook","threads","x","reddit","instagram","whatsapp","telegram"],B=new Set(["/socrates-ai-skeleton-meme-generator"]);function D(e){var t,a,m=e.section,p=e.outputType,x=e.className,y=m.data||{}
1,j=(0,h.usePathname)(),w=(0,A.U)(),N=w.user,_=w.setIsShowSignModal,k=w.fetchUserCredits,P=(0,s._)((0,u.useState)({hasActiveSubscription:!1,isPaidUser:!1}),2),S=P[0],C=P[1],I=(0,s._)((0,u.useState)(!1),2),z=I[0],U=I[1],M=(0,s._)((0,u.useState)(!1),2),L=M[0],E=M[1],F=(0,s._)((0,u.useState)("1080p"),2),D=F[0],$=F[1],H=(0,u.useRef)(null),Y="video"===p&&!0===y.showAudioToggle,K="video"===p&&!0===y.showVideoMuteToggle&&!!j&&B.has(j.replace(/^\/[a-z]{2}(?=\/)/,"")),Z=(0,s._)((0,u.useState)(!0===y.defaultGenerateAudio),1)[0],J=y.defaultProvider||y.provider||"go-worker";(0,u.useEffect)(function(){if(!N){C({hasActiveSubscription:!1,isPaidUser:!1}),U(!0);return}var e=!1;return U(!1),(0,r._)(function(){var t,a,r,i;return(0,d.YH)(this,function(n){switch(n.label){case 0:return n.trys.push([0,3,,4]),[4,fetch("/api/user/get-user-entitlements",{method:"POST"})];case 1:if(!(t=n.sent()).ok)return e||U(!0),[2];return[4,t.json()];case 2:if(r=(a=n.sent()).code,i=a.data,e)return[2];if(0!==r)return U(!0),[2];return C({hasActiveSubscription:!!(null==i?void 0:i.hasActiveSubscription),isPaidUser:!!(null==i?void 0:i.isPaidUser)}),U(!0),[3,4];case 3:return n.sent(),e||(C({hasActiveSubscription:!1,isPaidUser:!1}),U(!0)),[3,4];case 4:return[2]}})})(),function(){e=!0}},[N]);var X=(0,u.useMemo)(function(){var e,t,a,r,s,d,c,u,h,x,f,v,b,y,j,w,N,_,k,P,S,C,I,z,A,U,T,M,L;return e=m,t=p,a=J,T=e.data||{},M="image"===t?(r=T,s=a,u=r.defaultModel||"gpt-image-2",(0,g.S6)({defaultPrompt:null!=(d=r.defaultPrompt)?d:"",promptPrefix:r.promptPrefix,promptPlaceholder:r.promptPlaceholder||"Describe the image you want to create...",defaultModel:u,defaultAspectRatio:r.defaultAspectRatio||"auto",defaultResolution:r.defaultResolution||"2K",defaultFormat:r.defaultFormat||"jpg",maxImages:void 0===r.maxImages?void 0:Number(r.maxImages),maxSizeMB:Number(null!=(c=r.maxSizeMB)?c:10),demoImages:W(r.demoImages),models:(0,g.S6)().models.map(function(e){return(0,n._)((0,i._)({},e),{provider:s})})})):(h=e,x=T,f=a,y=(0,o._)(W(x.demoVideos)).concat((0,o._)(W(h.videos))),j=g.FA.find(function(e){return"seedance-2"===e.id}),w=g.FA.find(function(e){return"gemini-omni"===e.id}),_="gemini-omni"===(N=x.defaultModel||"seedance-2"),k=[{value:"480p",label:"480p"},{value:"720p",label:"720p"},{value:"1080p",label:"1080p",requiresPaid:!0,paywallFeature:"resolution-1080p"}],(0,g.s2)({defaultPrompt:null!=(v=x.defaultPrompt)?v:"",promptPrefix:x.promptPrefix,promptPlaceholder:x.promptPlaceholder||(_?"Describe the video you want Gemini Omni to create or edit...":"Describe the video you want Seedance 2.0 to create..."),defaultModel:N,defaultAspectRatio:x.defaultAspectRatio||"16:9",defaultDuration:Number(x.defaultDuration||(_?4:5)),defaultResolution:x.defaultResolution||(_?"1080p":"480p"),maxImages:void 0===x.maxImages?void 0:Number(x.maxImages),maxSizeMB:Number(null!=(b=x.maxSizeMB)?b:10),demoVideos:y,models:[(0,n._)((0,i._)({},j),{provider:x.seedanceProvider||f,defaultAspectRatio:x.defaultAspectRatio||"16:9",defaultDuration:Number(x.defaultDuration||5),defaultResolution:x.defaultResolution||"480p",resolutionOptions:k}),(0,n._)((0,i._)({},w),{provider:"go-worker",requestModel:"gemini-omni-video",defaultAspectRatio:x.defaultAspectRatio||"16:9",defaultDuration:Number(x.defaultDuration||4),defaultResolution:x.defaultResolution||"1080p"})],resolutionOptions:k})),(L=(P=T,S=t,C=a,Array.isArray(A=null!=(I=(z=P.config&&"object"===(0,l._)(P.config)?(0,i._)({},q(P),P.config):q(P)).models)?I:z.modelOptions)&&(z.models=A.map(function(e){return function(e,t,a){if(!e||(void 0===e?"undefined":(0,l._)(e))!=="object")return null;var r,s,o,d,c,u,m,p,h,x=String(null!=(o=null!=(s=null!=(r=e.id)?r:e.value)?s:e.model)?o:"");return x?(0,n._)((0,i._)({},e),{id:x,label:String(null!=(c=null!=(d=e.label)?d:e.name)?c:x),outputType:null!=(u=e.outputType)?u:t,scenes:null!=(m=e.scenes)?m:"image"===t?["text-to-image","image-to-image"]:["text-to-video","image-to-video"],provider:null!=(p=e.provider)?p:a,requestModel:null!=(h=e.requestModel)?h:e.model}):null}(e,S,C)}).filter(Boolean)),z.demoImages&&(z.demoImages=W(z.demoImages)),z.demoVideos&&(z.demoVideos=W(z.demoVideos)),delete z.modelOptions,Object.keys(z).length?z:void 0))?(0,n._)((0,i._)({},M,L),{outputType:t,models:(null==(U=L.models)?void 0:U.length)?L.models:M.models}):M},[p,J,m]),Q=(0,u.useMemo)(function(){var e,t,a,r,i;return e=m,t=X,(0,o._)((null!=(a=t.demoVideos)?a:[]).map(function(e){return{src:e,type:"video"}}
1)).concat((0,o._)((null!=(r=W(e.videos).filter(function(e){var a;return!(null!=(a=t.demoVideos)?a:[]).includes(e)}))?r:[]).map(function(e){return{src:e,type:"video"}})),(0,o._)((null!=(i=t.demoImages)?i:[]).map(function(e){return{src:e,type:"image"}})))},[X,m]),ee=(0,u.useMemo)(function(){return(0,f.h)({generateUrl:"/api/ai/generate",queryUrl:"/api/ai/query",cancelUrl:"/api/ai/cancel",uploadUrl:"/api/storage/upload-image",uploadVideoUrl:"/api/storage/upload-video",downloadUrl:"/api/proxy/file",transformRequest:function(e){return function(e,t){var a,r,n,s,o=null!=(a=e.provider)?a:t,l=(0,i._)({},e.options),d=e.model,c=null!=(r=e.inputImages)?r:[],u=null!=(n=e.inputVideos)?n:[];if("image"===e.outputType)d.startsWith("gpt-image-2")&&(d="image-to-image"===e.scene?"gpt-image-2-image-to-image":"gpt-image-2-text-to-image"),l.google_search=null==(s=l.google_search)||s,c.length>0&&(d.startsWith("gpt-image-2")?l.input_urls=c:l.image_input=c);else{if(delete l.output_format,c.length>0&&(d.includes("seedance")?"FIRST_AND_LAST_FRAMES_2_VIDEO"===l.generationType?(null!=l.first_frame_url||(l.first_frame_url=c[0]),null!=l.last_frame_url||(l.last_frame_url=c[1])):l.reference_image_urls=c:d.includes("gemini-omni")||"go-worker"===o?l.image_urls=c:l.image_input=c),u.length>0&&(d.includes("seedance")?l.reference_video_urls=u.slice(0,3):d.includes("gemini-omni")?l.video_list=u.slice(0,1):l.video_list=u),d.includes("seedance")){var m=!0===l.generate_audio||!0===l.sound;l.generate_audio=m,delete l.video_list,delete l.video_urls,delete l.video_input,delete l.input_videos,"FIRST_AND_LAST_FRAMES_2_VIDEO"===l.generationType&&(delete l.reference_image_urls,delete l.reference_video_urls),delete l.generationType,delete l.mode,delete l.sound}d.includes("gemini-omni")&&(d="gemini-omni-video",o="go-worker",delete l.generationType,delete l.mode,delete l.sound,delete l.image_input,delete l.input_urls,delete l.reference_image_urls,delete l.reference_video_urls)}return{mediaType:e.outputType,scene:e.scene,provider:o,model:d,prompt:e.prompt,options:l}}(Y?(0,n._)((0,i._)({},e),{options:(0,n._)((0,i._)({},e.options),{generate_audio:Z,sound:Z})}):e,J)}})},[Z,J,Y]),et=(0,u.useCallback)(function(e){var t=e.share,a=e.shareKind,i=e.pageKeyword,n=e.campaign;return(0,r._)(function(){var e,r,s,o;return(0,d.YH)(this,function(l){switch(l.label){case 0:return[4,fetch("/api/generator/share-short-links",{method:"POST",headers:{"content-type":"application/json"},body:JSON.stringify({share:t,shareKind:a,pageKeyword:i,campaign:n})})];case 1:return[4,(r=l.sent()).json()];case 2:if(s=l.sent(),!r.ok||(null==s?void 0:s.code)!==0)throw Error((null==s?void 0:s.message)||"Failed to create short links");return[2,null!=(o=null==s||null==(e=s.data)?void 0:e.shortUrl)?o:""]}})})()},[]);return(0,c.jsxs)(c.Fragment,{children:[(0,c.jsxs)("section",{id:m.id,className:(0,T.cn)("py-12 md:py-16",m.className,x),children:[(m.title||m.description)&&(0,c.jsxs)("div",{className:"container mb-8 text-center md:mb-10",children:[m.title&&(t="h1"===m.heading_level?"h1":"h2",(0,c.jsx)(t,{className:"text-foreground mx-auto max-w-4xl text-3xl font-semibold tracking-tight md:text-5xl",children:m.title})),m.description&&(0,c.jsx)("p",{className:"text-muted-foreground mx-auto mt-4 max-w-3xl text-base leading-relaxed md:text-lg",children:m.description})]}),(0,c.jsxs)("div",{ref:H,children:[(0,c.jsx)(v._,{config:X,adapter:ee,app:{user:N,isPaid:S.hasActiveSubscription,isPaidReady:z,credits:(null==N?void 0:N.credits)?{remaining:N.credits.remainingCredits,unlimited:N.credits.isUnlimited}:void 0,requestSignIn:function(){return _(!0)},openPaywall:function(e){if(!N)return void _(!0);$("generate_audio"===e?"generate_audio":"1080p"),E(!0)},notify:{success:function(e){return b.oR.success(e)},error:function(e){return b.oR.error(e)},info:function(e){return b.oR.message(e)}},track:function(e,t){return(0,G.sx)(e,function(e){if(e)return Object.fromEntries(Object.entries(e).filter(function(e){var t=e[1];return void 0===t||"string"==typeof t||"number"==typeof t||"boolean"==typeof t}))}(t))}},demoMedia:Q,labels:{settings:"Settings",generate:"image"===p?"Generate Image":"Generate Video",generatingImage:"Generating your image",generatingVideo:"Generating your video",promptRequired:"Please enter a prompt first."},settingsKey:"seeda_".concat(p,"_").concat(null!=(a=m.id)?a:"generator"),share:{enabled:!0,platforms:V,showCount:!1,showLabels:!1,align:"center",source:"generator",pageKeyword:y.sharePageKeyword,
1campaign:y.shareCampaign,shortUrl:y.defaultShareShortUrl,createShortLink:et,onShare:function(e){(0,G.sx)("generator_share_clicked",{platform:e.platform,media_type:e.mediaType,source:e.source}),fetch("/api/share-events",{method:"POST",headers:{"content-type":"application/json"},body:JSON.stringify(e),keepalive:!0}).catch(function(e){console.warn("[share-events] failed to record share",e)})}},onResult:function(){k()}}),(0,c.jsx)(O,{enabled:K,rootRef:H})]})]}),(0,c.jsx)(R,{feature:D,onOpenChange:E,open:L})]})}function O(e){var t=e.enabled,a=e.rootRef,r=(0,s._)((0,u.useState)(null),2),i=r[0],n=r[1],o=(0,s._)((0,u.useState)(!1),2),l=o[0],d=o[1],h=(0,s._)((0,u.useState)(!0),2),g=h[0],f=h[1],v=(0,u.useCallback)(function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];i&&i.querySelectorAll("video").forEach(function(a){a.muted=e,t&&a.play().catch(function(){})})},[i]);return((0,u.useEffect)(function(){if(!t){n(null),d(!1);return}var e=a.current;if(e){var r=function(){var t=e.querySelector("#generated-video");n(t),d(!!(null==t?void 0:t.querySelector("video")))};r();var i=new MutationObserver(r);return i.observe(e,{childList:!0,subtree:!0}),function(){return i.disconnect()}}},[t,a]),(0,u.useEffect)(function(){v(g)},[g,v]),t&&i&&l)?(0,x.createPortal)((0,c.jsx)("button",{type:"button",onClick:function(){var e=!g;f(e),v(e,!0)},"aria-label":g?"Unmute video":"Mute video",className:"absolute top-3 right-3 z-20 flex h-8 w-8 items-center justify-center rounded-full bg-black/50 text-white shadow-lg backdrop-blur-md transition-all hover:bg-black/65",children:g?(0,c.jsx)(m.A,{className:"h-4 w-4"}):(0,c.jsx)(p.A,{className:"h-4 w-4"})}),i):null}function q(e){return Object.fromEntries(["models","modelOptions","defaultModel","defaultPrompt","promptPrefix","promptPlaceholder","defaultAspectRatio","defaultDuration","defaultResolution","defaultFormat","defaultMode","maxImages","maxSizeMB","aspectRatioOptions","durationOptions","resolutionOptions","formatOptions","modeOptions","showAudioToggle","showVideoMuteToggle","defaultGenerateAudio","demoImages","demoVideos"].filter(function(t){return void 0!==e[t]}).map(function(t){return[t,e[t]]}))}function W(e){return e&&Array.isArray(e)?e.map(function(e){return"string"==typeof e?e:e&&(void 0===e?"undefined":(0,l._)(e))==="object"&&"src"in e?String(e.src||""):""}).filter(Boolean):[]}},92523:(e,t,a)=>{"use strict";a.r(t),a.d(t,{Stats:()=>n});var r=a(69140),i=a(42430);function n(e){var t,a=e.section,n=e.className;return(0,r.jsx)("section",{id:a.id,className:"py-12 md:py-24 ".concat(a.className," ").concat(n),children:(0,r.jsxs)("div",{className:"container space-y-8 md:space-y-16",children:[(0,r.jsx)(i.i,{children:(0,r.jsxs)("div",{className:"relative z-10 mx-auto max-w-xl space-y-6 text-center",children:[(0,r.jsx)("h2",{className:"text-foreground mb-4 text-3xl font-semibold tracking-tight md:text-4xl",children:a.title}),(0,r.jsx)("p",{className:"text-muted-foreground mb-6 md:mb-12 lg:mb-16",children:a.description})]})}),(0,r.jsx)(i.i,{delay:.2,children:(0,r.jsx)("div",{className:"grid gap-12 divide-y *:text-center md:grid-cols-3 md:gap-2 md:divide-x md:divide-y-0",children:null==(t=a.items)?void 0:t.map(function(e,t){return(0,r.jsxs)("div",{className:"space-y-4",children:[(0,r.jsxs)("h3",{className:"sr-only",children:[e.title," ",e.description]}),(0,r.jsx)("div",{className:"text-primary text-5xl font-bold",children:e.title}),(0,r.jsx)("p",{children:e.description})]},t)})})})]})})}},95578:(e,t,a)=>{"use strict";a.r(t),a.d(t,{Pricing:()=>n});var r=a(69140),i=a(24806);function n(e){var t=e.section,a=e.className,n=e.currentSubscription;return(0,r.jsx)(i.U,{className:a,currentSubscription:n,section:t,skin:"default"})}},97596:(e,t,a)=>{"use strict";function r(e){if("undefined"==typeof document)return"";var t,a="; ".concat(document.cookie).split("; ".concat(e,"="));return 2===a.length&&(null==(t=a.pop())?void 0:t.split(";").shift())||""}function i(e,t,a){if("undefined"!=typeof document){var r="";if(a){var i=new Date;i.setTime(i.getTime()+24*a*36e5),r="; expires=".concat(i.toUTCString())}document.cookie="".concat(e,"=").concat(t).concat(r,"; path=/; Secure; SameSite=Lax")}}a.d(t,{Ri:()=>r,TV:()=>i})},99294:(e,t,a)=>{"use strict";a.r(t),a.d(t,{ScrollRevealMedia:()=>p});var r=a(57505),i=a(17727),n=a(69140),s=a(20792),o=a(13998),l=a(39603),d=a(31892),c=a(75767),u=a(78372),m=a(42803);function p(e){var t,a,p,h,x,g=e.section,f=e.className,v=(0,s.useRef)(null),b=(0,s.useRef)(null),y=(0,l.W)(v,{amount:.1}
1),j=(0,r._)((0,s.useState)(!1),2),w=j[0],N=j[1],_=(0,l.W)(v,{margin:"100px 0px",once:!0}),k=(0,r._)((0,s.useState)(!1),2),P=k[0],S=k[1],C=(0,r._)((0,s.useState)(0),2),I=C[0],z=C[1];(0,s.useEffect)(function(){_&&N(!0)},[_]);var A=(0,d.L)({target:v,offset:["start end","start start"]}).scrollYProgress,U=(0,c.G)(A,[0,.6],[.6,1]),T=(0,c.G)(A,[0,.6],["2.5rem","0rem"]),M=(0,c.G)(A,[0,.15],[0,1]),L=(null==(t=g.image)?void 0:t.src)||(null==(a=g.data)?void 0:a.imageSrc),E=(0,s.useMemo)(function(){var e,t,a,r=(0,i._)((g.videos||[]).map(function(e){return null==e?void 0:e.src}).filter(Boolean)).concat((0,i._)(((null==(e=g.data)?void 0:e.videoSources)||[]).filter(Boolean))),n=(null==(t=g.video)?void 0:t.src)||(null==(a=g.data)?void 0:a.videoSrc);return 0===r.length&&n&&r.push(n),r},[g.videos,null==(p=g.video)?void 0:p.src,null==(h=g.data)?void 0:h.videoSrc,null==(x=g.data)?void 0:x.videoSources]),F=E.length>0,R=E.length>1,G=F?E[I]:void 0;return(0,s.useEffect)(function(){R&&S(!1)},[I,R]),(0,s.useEffect)(function(){b.current&&w&&F&&(y&&P?b.current.play().catch(function(){}):b.current.pause())},[y,P,w,F,I]),(0,n.jsx)("section",{ref:v,id:g.id,className:(0,m.cn)("relative h-[120vh] w-full overflow-x-clip",f),children:(0,n.jsx)("div",{className:"flex h-screen w-full items-center justify-center overflow-hidden",children:(0,n.jsxs)(u.P.div,{style:{scale:U,borderRadius:T,opacity:M,willChange:"transform, border-radius, opacity"},className:"bg-muted relative h-full w-full overflow-hidden shadow-2xl",children:[L&&(0,n.jsx)("div",{className:(0,m.cn)("absolute inset-0 z-10 transition-opacity duration-1000",P?"opacity-0":"opacity-100"),children:(0,n.jsx)(o.default,{src:L,alt:g.title||"Preview",fill:!0,className:"object-cover",loading:"lazy",sizes:"100vw"})}),G&&(0,n.jsx)("video",{ref:b,src:w?G:void 0,autoPlay:!0,loop:!R,muted:!0,playsInline:!0,preload:w?"metadata":"none",onCanPlayThrough:function(){return S(!0)},onEnded:function(){if(!R){var e;null==(e=b.current)||e.play().catch(function(){});return}z(function(e){return(e+1)%E.length})},className:(0,m.cn)("z-20 h-full w-full object-cover transition-opacity duration-1000",P?"opacity-100":"opacity-0")}),!G&&!L&&(0,n.jsx)("div",{className:"flex h-full w-full items-center justify-center",children:(0,n.jsx)("p",{className:"text-muted-foreground",children:"No media provided"})}),(g.title||g.description)&&(0,n.jsxs)(u.P.div,{style:{opacity:(0,c.G)(A,[.6,.8],[0,1])},className:"absolute inset-0 z-30 flex flex-col items-center justify-center bg-black/20 p-4 text-white",children:[g.title&&(0,n.jsx)("h2",{className:"mb-4 text-center text-4xl font-bold tracking-tight md:text-6xl",children:g.title}),g.description&&(0,n.jsx)("p",{className:"max-w-2xl text-center text-xl opacity-90 md:text-2xl",children:g.description})]})]})})})}}}]);
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.