PageSourceSearch

https://dreaminai.net/_next/static/chunks/9934-2bf2e9d3e56d10ee.js

js dreaminai.net collected 2026-10-05 18:42:14 UTC 10,890 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9934],{7407:(e,t,a)=>{a.d(t,{$:()=>d,r:()=>i});var s=a(10388);a(89656);var o=a(65062),n=a(37194),r=a(61228);let i=(0,n.F)("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-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",{variants:{variant:{default:"bg-primary text-primary-foreground shadow-xs hover:bg-primary/90",destructive:"bg-destructive text-white shadow-xs hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"border bg-background shadow-xs hover:bg-accent hover:text-accent-foreground dark:bg-input/30 dark:border-input dark:hover:bg-input/50",secondary:"bg-secondary text-secondary-foreground shadow-xs hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2 has-[>svg]:px-3",sm:"h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5",lg:"h-10 rounded-md px-6 has-[>svg]:px-4",icon:"size-9"}},defaultVariants:{variant:"default",size:"default"}});function d({className:e,variant:t,size:a,asChild:n=!1,...d}){let c=n?o.DX:"button";return(0,s.jsx)(c,{"data-slot":"button",className:(0,r.cn)(i({variant:t,size:a,className:e})),...d})}},17413:(e,t,a)=>{a.d(t,{BV:()=>o,l4:()=>n});var s=a(88007),o=function(e){return e.Root="/",e.CheckIn="/check-in",e.FreeAIVideoGenerator="/free-ai-video-generator",e.FAQ="/#faq",e.Features="/#features",e.Pricing="/pricing",e.Blog="/blog",e.Docs="/docs",e.About="/about",e.Contact="/contact",e.Waitlist="/waitlist",e.Changelog="/changelog",e.Roadmap="/changelog",e.CookiePolicy="/cookie",e.PrivacyPolicy="/privacy",e.TermsOfService="/terms",e.PaymentSuccess="/payment/success",e.Login="/auth/login",e.Register="/auth/register",e.AuthError="/auth/error",e.ForgotPassword="/auth/forgot-password",e.ResetPassword="/auth/reset-password",e.Dashboard="/dashboard",e.DashboardCharacters="/dashboard/characters",e.MyVideos="/my-videos",e.MyImages="/my-images",e.AdminUsers="/admin/users",e.AdminAnalytics="/admin/analytics",e.SettingsProfile="/settings/profile",e.SettingsBilling="/settings/billing",e.SettingsCredits="/settings/credits",e.SettingsSecurity="/settings/security",e.SettingsNotifications="/settings/notifications",e.AIText="/ai/text",e.AIImage="/ai/image",e.AIChat="/ai/chat",e.AIVideo="/ai/video",e.AIAudio="/ai/audio",e.MagicuiBlocks="/magicui",e.HeroBlocks="/blocks/hero-section",e.LogoCloudBlocks="/blocks/logo-cloud",e.FeaturesBlocks="/blocks/features",e.IntegrationsBlocks="/blocks/integrations",e.ContentBlocks="/blocks/content",e.StatsBlocks="/blocks/stats",e.TeamBlocks="/blocks/team",e.TestimonialsBlocks="/blocks/testimonials",e.CallToActionBlocks="/blocks/call-to-action",e.FooterBlocks="/blocks/footer",e.PricingBlocks="/blocks/pricing",e.ComparatorBlocks="/blocks/comparator",e.FAQBlocks="/blocks/faqs",e.LoginBlocks="/blocks/login",e.SignupBlocks="/blocks/sign-up",e.ForgotPasswordBlocks="/blocks/forgot-password",e.ContactBlocks="/blocks/contact",e}({});let n=s.u.routes.defaultLoginRedirect??"/dashboard"},19430:(e,t,a)=>{a.d(t,{DT:()=>i,Xn:()=>n,YZ:()=>r});var s=a(88007),o=a(75143);let n=s.u.i18n.defaultLocale,r=Object.keys(s.u.i18n.locales),i=(0,o.A)({locales:r,defaultLocale:n,localeDetection:!1,localeCookie:{name:"NEXT_LOCALE",maxAge:31536e3},localePrefix:"as-needed"})},34834:(e,t,a)=>{a.d(t,{XO:()=>n,iN:()=>d,tx:()=>c});var s=a(6799),o=a(19430);let{Link:n,getPathname:r,redirect:i,usePathname:d,useRouter:c}=(0,s.A)(o.DT)},41205:(e,t,a)=>{a.d(t,{W:()=>n,g:()=>o});var s=a(89656);let o=(0,s.createContext)(void 0);function n(e){let t=(0,s.useContext)(o),[a,n]=(0,s.useState)(e.defaultOpen??!1),r=e.open??a,i=e.onOpenChange;return(0,s.useEffect)(()=>{!1===t&&r&&(n(!1),i?.(!1))},[t,r,i]),void 0===t?{}:{open:t&&r,onOpenChange:e=>{t&&(n(e),i?.(e))}}}},46836:(e,t,a)=>{a.d(t,{JB:()=>c,G4:()=>l,I:()=>u});var s=a(47660);let o=(0,s.createServerReference)("7f304bd463b83d369d554f2897d6f8879b64a11be6",s.callServer,void 0,s.findSourceMapURL,"getCreditBalanceAction"),n=(0,s.createServerReference)("7fc3d315e91e6b86bee0ef272470da313131346c5a",s.callServer,void 0,s.findSourceMapURL,"getCreditStatsAction");var r=a(70847),i=a(89656);let d={all:["credits"],balance:()=>[...d.all,"balance"],stats:()=>[...d.all,"stats"],transactions:()=>[...d.all,"transactions"],transactionsList:e=>[...d.transactions(),e]};function c(){return(0,r.I)({queryKey:d.balance(),queryFn:async()=>{let e=await o();if(!e?.data?.success)throw Error(e?.data?.error||"Failed to fetch credit balance");return e.data.credits||0}})}function l(){return(0,r.I)({queryKey:d.stats(),queryFn:async()=>{let e=await n();if(!e?.data?.success)throw Error(e?.data?.error||"Failed to fetch credit stats");return e.data.data}})}function u(){let{data:e,refetch:t,isLoading:a,isError:s,error:o}=c(),n=e??null,r=a?"loading":s?"error":"ready",d=s&&o instanceof Error?o.message:s?"Failed to fetch credit balance":null;return{leftCredits:n,hasEnoughCredits:e=>"ready"!==r||null===n||n>=e,refreshCredits:(0,i.useCallback)(async()=>{let e=await t();return{credits:e.data??null,success:e.isSuccess,error:e.error instanceof Error?e.error.message:e.error?"Failed to fetch credit balance":null}},[t]),creditsQueryState:r,creditsQueryError:d}}},54832:(e,t,a)=>{a.d(t,{Hr:()=>v,Ht:()=>b,I:()=>f,M5:()=>w,SQ:()=>g,_2:()=>m,hO:()=>p,lp:()=>h,lv:()=>k,mB:()=>x,nV:()=>y,rI:()=>l,ty:()=>u});var s=a(10388);a(89656);var o=a(24761),n=a(98196),r=a(88396),i=a(57540),d=a(41205),c=a(61228);function l({...e}){return(0,s.jsx)(o.bL,{"data-slot":"dropdown-menu",...e,...(0,d.W)(e)})}function u({...e}){return(0,s.jsx)(o.l9,{"data-slot":"dropdown-menu-trigger",...e})}function g({className:e,sideOffset:t=4,...a}){return(0,s.jsx)(o.ZL,{children:(0,s.jsx)(o.UC,{"data-slot":"dropdown-menu-content",sideOffset:t,className:(0,
1c.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 z-50 max-h-(--radix-dropdown-menu-content-available-height) min-w-[8rem] origin-(--radix-dropdown-menu-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md border p-1 shadow-md",e),...a})})}function f({...e}){return(0,s.jsx)(o.YJ,{"data-slot":"dropdown-menu-group",...e})}function m({className:e,inset:t,variant:a="default",...n}){return(0,s.jsx)(o.q7,{"data-slot":"dropdown-menu-item","data-inset":t,"data-variant":a,className:(0,c.cn)("focus:bg-accent focus:text-accent-foreground data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 dark:data-[variant=destructive]:focus:bg-destructive/20 data-[variant=destructive]:focus:text-destructive data-[variant=destructive]:*:[svg]:!text-destructive [&_svg:not([class*='text-'])]:text-muted-foreground relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",e),...n})}function p({className:e,children:t,checked:a,...r}){return(0,s.jsxs)(o.H_,{"data-slot":"dropdown-menu-checkbox-item",className:(0,c.cn)("focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center gap-2 rounded-sm py-1.5 pr-2 pl-8 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",e),checked:a,...r,children:[(0,s.jsx)("span",{className:"pointer-events-none absolute left-2 flex size-3.5 items-center justify-center",children:(0,s.jsx)(o.VF,{children:(0,s.jsx)(n.A,{className:"size-4"})})}),t]})}function v({...e}){return(0,s.jsx)(o.z6,{"data-slot":"dropdown-menu-radio-group",...e})}function b({className:e,children:t,...a}){return(0,s.jsxs)(o.hN,{"data-slot":"dropdown-menu-radio-item",className:(0,c.cn)("focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center gap-2 rounded-sm py-1.5 pr-2 pl-8 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",e),...a,children:[(0,s.jsx)("span",{className:"pointer-events-none absolute left-2 flex size-3.5 items-center justify-center",children:(0,s.jsx)(o.VF,{children:(0,s.jsx)(r.A,{className:"size-2 fill-current"})})}),t]})}function h({className:e,inset:t,...a}){return(0,s.jsx)(o.JU,{"data-slot":"dropdown-menu-label","data-inset":t,className:(0,c.cn)("px-2 py-1.5 text-sm font-medium data-[inset]:pl-8",e),...a})}function x({className:e,...t}){return(0,s.jsx)(o.wv,{"data-slot":"dropdown-menu-separator",className:(0,c.cn)("bg-border -mx-1 my-1 h-px",e),...t})}function k({...e}){return(0,s.jsx)(o.Pb,{"data-slot":"dropdown-menu-sub",...e})}function y({className:e,inset:t,children:a,...n}){return(0,s.jsxs)(o.ZP,{"data-slot":"dropdown-menu-sub-trigger","data-inset":t,className:(0,c.cn)("focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground flex cursor-default items-center rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[inset]:pl-8",e),...n,children:[a,(0,s.jsx)(i.A,{className:"ml-auto size-4"})]})}function w({className:e,...t}){return(0,s.jsx)(o.G5,{"data-slot":"dropdown-menu-sub-content",className:(0,c.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]:sli
1de-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 min-w-[8rem] origin-(--radix-dropdown-menu-content-transform-origin) overflow-hidden rounded-md border p-1 shadow-lg",e),...t})}},54838:(e,t,a)=>{a.d(t,{E:()=>n});var s=a(10388),o=a(61228);function n({className:e,...t}){return(0,s.jsx)("div",{"data-slot":"skeleton",className:(0,o.cn)("bg-muted animate-pulse rounded-md",e),...t})}},97372:(e,t,a)=>{a.d(t,{D:()=>s});let s=(0,a(1982).v)(e=>({currentLocale:"",setCurrentLocale:t=>e(e=>({currentLocale:t}))}))}}]);

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.