1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3425],{5156:(e,t,a)=>{"use strict";a.d(t,{p:()=>l});var s=a(88795);a(68939);var n=a(11911);function l(e){let{className:t,type:a,...l}=e;return(0,s.jsx)("input",{type:a,"data-slot":"input",className:(0,n.cn)("file:text-foreground placeholder:text-muted-foreground selection:bg-primary selection:text-primary-foreground dark:bg-input/30 border-input flex h-9 w-full min-w-0 rounded-md border bg-transparent px-3 py-1 text-base shadow-xs transition-[color,box-shadow] outline-none file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm","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",t),...l})}},12610:(e,t,a)=>{Promise.resolve().then(a.bind(a,63202)),Promise.resolve().then(a.bind(a,90447))},63202:(e,t,a)=>{"use strict";a.d(t,{default:()=>T});var s=a(88795),n=a(68939),l=a(21314),i=a(38260),r=a(11911);let o=l.bL,d=n.forwardRef((e,t)=>{let{className:a,...n}=e;return(0,s.jsx)(l.q7,{ref:t,className:(0,r.cn)("border-b",a),...n})});d.displayName="AccordionItem";let c=n.forwardRef((e,t)=>{let{className:a,children:n,...o}=e;return(0,s.jsx)(l.Y9,{className:"flex",children:(0,s.jsxs)(l.l9,{ref:t,className:(0,r.cn)("flex flex-1 items-center justify-between py-4 font-medium transition-all hover:underline [&[data-state=open]>svg]:rotate-180",a),...o,children:[n,(0,s.jsx)(i.A,{className:"h-4 w-4 shrink-0 transition-transform duration-200"})]})})});c.displayName=l.l9.displayName;let m=n.forwardRef((e,t)=>{let{className:a,children:n,...i}=e;return(0,s.jsx)(l.UC,{ref:t,className:"overflow-hidden text-sm transition-all data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down",...i,children:(0,s.jsx)("div",{className:(0,r.cn)("pb-4 pt-0",a),children:n})})});m.displayName=l.UC.displayName;var u=a(94696),f=(a(5156),a(1128),a(87288)),x=a(71420);let h=n.forwardRef((e,t)=>{let{className:a,children:n,...l}=e;return(0,s.jsxs)(f.bL,{ref:t,className:(0,r.cn)("relative z-10 flex max-w-max flex-1 items-center justify-center",a),...l,children:[n,(0,s.jsx)(w,{})]})});h.displayName=f.bL.displayName;let p=n.forwardRef((e,t)=>{let{className:a,...n}=e;return(0,s.jsx)(f.B8,{ref:t,className:(0,r.cn)("group flex flex-1 list-none items-center justify-center space-x-1",a),...n})});p.displayName=f.B8.displayName;let v=f.q7,g=(0,x.F)("group inline-flex h-10 w-max items-center justify-center rounded-md bg-background px-4 py-2 text-sm font-medium transition-colors hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground focus:outline-hidden disabled:pointer-events-none disabled:opacity-50 data-active:bg-accent/50 data-[state=open]:bg-accent/50"),b=n.forwardRef((e,t)=>{let{className:a,children:n,...l}=e;return(0,s.jsxs)(f.l9,{ref:t,className:(0,r.cn)(g(),"group",a),...l,children:[n," ",(0,s.jsx)(i.A,{className:"relative top-[1px] ml-1 h-3 w-3 transition duration-200 group-data-[state=open]:rotate-180","aria-hidden":"true"})]})});b.displayName=f.l9.displayName;let j=n.forwardRef((e,t)=>{let{className:a,...n}=e;return(0,s.jsx)(f.UC,{ref:t,className:(0,r.cn)("left-0 top-0 w-full data-[motion^=from-]:animate-in data-[motion^=to-]:animate-out data-[motion^=from-]:fade-in data-[motion^=to-]:fade-out data-[motion=from-end]:slide-in-from-right-52 data-[motion=from-start]:slide-in-from-left-52 data-[motion=to-end]:slide-out-to-right-52 data-[motion=to-start]:slide-out-to-left-52 md:absolute md:w-auto ",a),...n})});j.displayName=f.UC.displayName;let N=f.N_,w=n.forwardRef((e,t)=>{let{className:a,...n}=e;return(0,s.jsx)("div",{className:(0,r.cn)("absolute left-0 top-full flex justify-center"),children:(0,s.jsx)(f.LM,{className:(0,r.cn)("origin-top-center relative mt-1.5 h-[var(--radix-navigation-menu-viewport-height)] w-full overflow-hidden rounded-md border bg-popover text-popover-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-90 md:w-[var(--radix-navigation-menu-viewport-width)]",a),ref:t,...n})})});w.displayName=f.LM.displayName,n.forwardRef((e,t)=>
1{let{className:a,...n}=e;return(0,s.jsx)(f.C1,{ref:t,className:(0,r.cn)("top-full z-1 flex h-1.5 items-end justify-center overflow-hidden data-[state=visible]:animate-in data-[state=hidden]:animate-out data-[state=hidden]:fade-out data-[state=visible]:fade-in",a),...n,children:(0,s.jsx)("div",{className:"relative top-[60%] h-2 w-2 rotate-45 rounded-tl-sm bg-border shadow-md"})})}).displayName=f.C1.displayName;var y=a(97589),z=a(197),_=a(18647),k=a(65264),C=a(78223),A=a(19582),L=a(2113);function R(e){let{isIcon:t=!1}=e,a=(0,C.useParams)().locale,n=(0,C.useRouter)(),l=(0,C.usePathname)();return(0,s.jsxs)(k.l6,{value:a,onValueChange:e=>{if(e!==a){let t=l.replace("/".concat(a),"/".concat(e));t.startsWith("/".concat(e))||(t="/".concat(e).concat(t)),n.push(t)}},children:[(0,s.jsxs)(k.bq,{className:"flex items-center gap-2 border-none text-muted-foreground outline-hidden hover:bg-transparent focus:ring-0 focus:ring-offset-0",children:[(0,s.jsx)(A.aVW,{className:"text-xl"}),!t&&(0,s.jsx)("span",{className:"hidden md:block",children:L.L$[a]})]}),(0,s.jsx)(k.gC,{className:"z-50 bg-background",children:L.IB.map(e=>{let t=L.L$[e];return(0,s.jsx)(k.eb,{className:"cursor-pointer px-4",value:e,children:t},e)})})]})}var E=a(48389),P=a(23281),S=a(70106),U=a(7342),q=a(90987),$=a(21912);function T(e){var t,a,l,i,f,x,w,k,A,L,q,T,B,F,I,M,V,W,Y,O;let{header:G}=e,J=(0,C.usePathname)(),Z=(0,$.U)("(max-width: 768px)"),{sidebarCollapsed:D}=(0,U.U)(),[H,K]=(0,n.useState)(!1),[Q,X]=(0,n.useState)(""),[ee,et]=(0,n.useState)(!1);(0,n.useEffect)(()=>{let e=e=>{var t;let a=e.target;et((a===document||a===document.documentElement?document.documentElement.scrollTop||document.body.scrollTop||window.scrollY:null!==(t=a.scrollTop)&&void 0!==t?t:0)>60)};return document.addEventListener("scroll",e,{capture:!0,passive:!0}),()=>document.removeEventListener("scroll",e,{capture:!0})},[]);let[ea,es]=(0,n.useState)(!1);if(G.disabled)return null;let en=["/ai-video","/ai-image","/ai-music","/home","/my-creations","/prompts","/pricing","/text-to-video","/image-to-video","/video-to-video","/video-extend","/video-transition","/video-effects","/text-to-image","/image-to-image","/music-maker","/music-to-video","/ai-avatar","/lip-sync","/motion-control","/reference-to-video","/ai-voice","/text-to-speech","/text-to-dialogue","/sound-effects","/speech-to-text","/noise-remover","/affiliate"].some(e=>J.includes(e));if(Z&&en)return null;let el=ee?"bg-background/90 backdrop-blur-md":en?"":"bg-gradient-to-b from-black/60 to-transparent",ei=en&&!Z?D?"left-14":"left-52":"left-0";return(0,s.jsx)("section",{className:(0,r.cn)("fixed top-0 right-0 z-50 py-3 overflow-hidden pointer-events-none transition-all duration-300",ei,el),children:(0,s.jsxs)("div",{className:"container pointer-events-auto",children:[(0,s.jsxs)("nav",{className:"hidden justify-between lg:flex",children:[(0,s.jsxs)("div",{className:"flex items-center gap-6",children:[(0,s.jsxs)(_.N_,{href:(null===(t=G.brand)||void 0===t?void 0:t.url)||"/",className:"flex items-center gap-2",children:[(null===(l=G.brand)||void 0===l?void 0:null===(a=l.logo)||void 0===a?void 0:a.src)&&(0,s.jsx)("img",{src:G.brand.logo.src,alt:G.brand.logo.alt||G.brand.title,className:"h-8 w-auto ".concat(en?"hidden":"")}),(null===(i=G.brand)||void 0===i?void 0:i.title)&&(0,s.jsx)("span",{className:"text-xl font-bold ".concat(en?"hidden":""),children:(null===(f=G.brand)||void 0===f?void 0:f.title)||""})]}),(0,s.jsx)("div",{className:"flex items-center",children:(0,s.jsx)(h,{children:(0,s.jsx)(p,{children:null===(w=G.nav)||void 0===w?void 0:null===(x=w.items)||void 0===x?void 0:x.map((e,t)=>e.children&&e.children.length>0?(0,s.jsxs)(v,{className:en?"text-sidebar-foreground":"text-muted-foreground",children:[(0,s.jsxs)(b,{children:[e.icon&&(0,s.jsx)(z.default,{name:e.icon,className:"size-4 shrink-0 mr-2"}),(0,s.jsx)("span",{children:e.title})]}),(0,s.jsx)(j,{children:(0,s.jsx)("ul",{className:"w-80 p-3",children:(0,s.jsx)(N,{children:e.children.map((e,t)=>(0,s.jsx)("li",{children:(0,s.jsxs)(_.N_,{className:(0,r.cn)("flex select-none gap-4 roun
1ded-md p-3 leading-none no-underline outline-hidden transition-colors hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground"),href:e.url,target:e.target,children:[e.icon&&(0,s.jsx)(z.default,{name:e.icon,className:"size-5 shrink-0"}),(0,s.jsxs)("div",{children:[(0,s.jsx)("div",{className:"text-sm font-semibold",children:e.title}),(0,s.jsx)("p",{className:"text-sm leading-snug text-muted-foreground",children:e.description})]})]})},t))})})})]},t):(0,s.jsx)(v,{children:(0,s.jsxs)(_.N_,{className:(0,r.cn)(en?"text-sidebar-foreground":"text-muted-foreground",g,(0,u.r)({variant:"ghost"})),href:e.url,target:e.target,children:[e.icon&&(0,s.jsx)(z.default,{name:e.icon,className:"size-4 shrink-0 mr-0"}),e.title]})},t))})})})]}),(0,s.jsxs)("div",{className:(0,r.cn)("shrink-0 flex gap-2 items-center",en&&"[&_.text-muted-foreground]:text-sidebar-foreground"),children:[G.show_locale&&(0,s.jsx)(R,{}),(0,s.jsx)(S.A,{}),!1,null===(k=G.buttons)||void 0===k?void 0:k.map((e,t)=>"Start Creating"===e.title?null:(0,s.jsx)(u.$,{variant:e.variant,children:(0,s.jsxs)(_.N_,{href:e.url,target:e.target||"",className:"flex items-center gap-1 cursor-pointer",children:[e.title,e.icon&&(0,s.jsx)(z.default,{name:e.icon,className:"size-4 shrink-0"})]})},t)),G.show_sign&&(0,s.jsx)(P.A,{})]})]}),(0,s.jsx)("div",{className:"block lg:hidden",children:(0,s.jsxs)("div",{className:"flex items-center justify-between",children:[(0,s.jsxs)(_.N_,{href:(null===(A=G.brand)||void 0===A?void 0:A.url)||"/",className:"flex items-center gap-2",children:[(null===(q=G.brand)||void 0===q?void 0:null===(L=q.logo)||void 0===L?void 0:L.src)&&(0,s.jsx)("img",{src:G.brand.logo.src,alt:G.brand.logo.alt||G.brand.title,className:"h-8 w-auto ".concat(en?"hidden":"")}),(null===(T=G.brand)||void 0===T?void 0:T.title)&&(0,s.jsx)("span",{className:"text-xl font-bold ".concat(en?"hidden":""),children:(null===(B=G.brand)||void 0===B?void 0:B.title)||""})]}),(0,s.jsxs)(y.cj,{children:[(0,s.jsx)(y.CG,{asChild:!0,children:(0,s.jsx)(u.$,{variant:"default",size:"icon",children:(0,s.jsx)(E.A,{className:"size-4"})})}),(0,s.jsxs)(y.h,{className:"overflow-y-auto flex flex-col h-full",children:[(0,s.jsx)(y.Fm,{children:(0,s.jsx)(y.qp,{children:(0,s.jsxs)(_.N_,{href:(null===(F=G.brand)||void 0===F?void 0:F.url)||"/",className:"flex items-center gap-2",children:[(null===(M=G.brand)||void 0===M?void 0:null===(I=M.logo)||void 0===I?void 0:I.src)&&(0,s.jsx)("img",{src:G.brand.logo.src,alt:G.brand.logo.alt||G.brand.title,className:"w-8"}),(null===(V=G.brand)||void 0===V?void 0:V.title)&&(0,s.jsx)("span",{className:"text-xl font-bold",children:(null===(W=G.brand)||void 0===W?void 0:W.title)||""})]})})}),(0,s.jsx)("div",{className:"mt-6 mb-4",children:(0,s.jsx)(o,{type:"single",collapsible:!0,className:"w-full",children:null===(O=G.nav)||void 0===O?void 0:null===(Y=O.items)||void 0===Y?void 0:Y.map((e,t)=>e.children&&e.children.length>0?(0,s.jsxs)(d,{value:e.title||"",className:"border-b-0",children:[(0,s.jsx)(c,{className:"mb-4 py-0 font-semibold hover:no-underline text-left",children:e.title}),(0,s.jsx)(m,{className:"mt-2",children:e.children.map((e,t)=>(0,s.jsxs)(_.N_,{className:(0,r.cn)("flex select-none gap-4 roun
1ded-md p-3 leading-none outline-hidden transition-colors hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground"),href:e.url,target:e.target,children:[e.icon&&(0,s.jsx)(z.default,{name:e.icon,className:"size-4 shrink-0"}),(0,s.jsxs)("div",{children:[(0,s.jsx)("div",{className:"text-sm font-semibold",children:e.title}),(0,s.jsx)("p",{className:"text-sm leading-snug text-muted-foreground",children:e.description})]})]},t))})]},t):(0,s.jsxs)(_.N_,{href:e.url,target:e.target,className:"font-semibold my-4 flex items-center gap-2 px-4",children:[e.icon&&(0,s.jsx)(z.default,{name:e.icon,className:"size-4 shrink-0"}),e.title]},t))})}),(0,s.jsxs)("div",{className:"border-t pt-4 mb-6 space-y-4",children:[(0,s.jsx)("div",{className:"flex justify-start ml-2",children:(0,s.jsx)(S.A,{})}),G.show_sign&&(0,s.jsx)("div",{className:"flex justify-center",children:(0,s.jsx)("div",{className:"w-full max-w-xs",children:(0,s.jsx)(P.A,{})})}),G.buttons&&G.buttons.some(e=>"Start Creating"!==e.title)&&(0,s.jsx)("div",{className:"flex flex-col gap-2",children:G.buttons.map((e,t)=>"Start Creating"===e.title?null:(0,s.jsx)(u.$,{variant:e.variant,size:"sm",className:"w-full",children:(0,s.jsxs)(_.N_,{href:e.url,target:e.target||"",className:"flex items-center justify-center gap-2 w-full",children:[e.icon&&(0,s.jsx)(z.default,{name:e.icon,className:"size-4 shrink-0"}),e.title]})},t))}),(0,s.jsxs)("div",{className:"flex items-center justify-between pt-3 border-t border-border/50",children:[(0,s.jsx)("div",{className:"flex items-center gap-2",children:G.show_locale&&(0,s.jsx)(R,{})}),!1]})]}),(0,s.jsx)("div",{className:"flex-1"})]})]})]})})]})})}},65264:(e,t,a)=>{"use strict";a.d(t,{bq:()=>u,eb:()=>x,gC:()=>f,l6:()=>d,s3:()=>c,yv:()=>m});var s=a(88795);a(68939);var n=a(95091),l=a(38260),i=a(26374),r=a(43797),o=a(11911);function d(e){let{...t}=e;return(0,s.jsx)(n.bL,{"data-slot":"select",...t})}function c(e){let{...t}=e;return(0,s.jsx)(n.YJ,{"data-slot":"select-group",...t})}function m(e){let{...t}=e;return(0,s.jsx)(n.WT,{"data-slot":"select-value",...t})}function u(e){let{className:t,size:a="default",children:i,...r}=e;return(0,s.jsxs)(n.l9,{"data-slot":"select-trigger","data-size":a,className:(0,o.cn)("border-input data-[placeholder]:text-muted-foreground [&_svg:not([class*='text-'])]:text-muted-foreground focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:bg-input/30 dark:hover:bg-input/50 flex w-fit items-center justify-between gap-2 rounded-md border bg-transparent px-3 py-2 text-sm whitespace-nowrap shadow-xs transition-[color,box-shadow] outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50 data-[size=default]:h-9 data-[size=sm]:h-8 *:data-[slot=select-value]:line-clamp-1 *:data-[slot=select-value]:flex *:data-[slot=select-value]:items-center *:data-[slot=select-value]:gap-2 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",t),...r,children:[i,(0,s.jsx)(n.In,{asChild:!0,children:(0,s.jsx)(l.A,{className:"size-4 opacity-50"})})]})}function f(e){let{className:t,children:a,position:l="popper",...i}=e;return(0,s.jsx)(n.ZL,{children:(0,s.jsxs)(n.UC,{"data-slot":"select-content",className:(0,o.cn)("bg-popover text-popover-foreground 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 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 relative z-50 max-h-(--radix-select-content-available-height) min-w-[8rem] origin-(--radix-select-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md border shadow-md","popper"===l&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",t),position:l,...i,children:[(0,s.jsx)(h,{}),(0,s.jsx)(n.LM,{className:(0,o.cn)("p-1","popper"===l&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)] scroll-my-1"),children:a}),(0,s.jsx)(p,{})]})})}function x(e){let{className:t,children:a,...l}=e;return(0,s.jsxs)(n.q7,{"data-slot":"select-item",className:(0,o.cn)("focus:bg-accent focus:text-accent-foreground [&_svg:not([class*='text-'])]:text-muted-foreground relative flex w-full cursor-default items-center gap-2 rounded-sm py-1.5 pr-8 pl-2 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 *:[span]:last:flex *:[span]:last:items-center *:[span]:last:gap-2",t),...l,children:[(0,s.jsx)("span",{className:"absolute right-2 flex size-3.5 items-center justify-center",children:(0,s.jsx)(n.VF,{children:(0,s.jsx)(i.A,{className:"size-4"})})}),(0,s.jsx)(n.p4,{children:a})]})}function h(e){let{className:t,...a}=e;return(0,s.jsx)(n.PP,{"data-slot":"select-scroll-up-button",className:(0,o.cn)("flex cursor-default items-center justify-center py-1",t),...a,children:(0,s.jsx)(r.A,{className:"size-4"})})}function p(e){let{className:t,...a}=e;return(0,s.jsx)(n.wn,{"data-slot":"select-scroll-down-button",className:(0,o.cn)("flex cursor-default items-center justify-center py-1",t),...a,children:(0,s.jsx)(l.A,{className:"size-4"})})}}},e=>{var t=t=>e(e.s=t);e.O(0,[20393,88548,97613,51437,11412,90987,56986,48534,40561,187,70232,20089,18119,55894,97597,79091,98353,87808,98908,77358],()=>t(12610)),_N_E=e.O()}]);
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.