PageSourceSearch

https://www.scribblediffusion.ai/_next/static/chunks/287-ffe47813cc2b55d0.js

js scribblediffusion.ai collected 2026-10-05 12:35:54 UTC 10,030 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[287],{55798:function(e,a,i){i.r(a);var t=i(57437),n=i(2265),r=i(61396),l=i.n(r),s=i(13082),o=i(38597);a.default=e=>{let{text:a="Get started",extraStyle:i}=e,r=(0,s.createClientComponentClient)(),[c,u]=(0,n.useState)(null);if((0,n.useEffect)(()=>{let getUser=async()=>{let{data:e}=await r.auth.getUser();u(e.user)};getUser()},[r]),c){var m,d,g,h,p,f,b;return(0,t.jsxs)(l(),{href:o.Z.auth.callbackUrl,className:"btn ".concat(i||""),children:[(null==c?void 0:null===(m=c.user_metadata)||void 0===m?void 0:m.avatar_url)?(0,t.jsx)("img",{src:null==c?void 0:null===(d=c.user_metadata)||void 0===d?void 0:d.avatar_url,alt:(null==c?void 0:null===(g=c.user_metadata)||void 0===g?void 0:g.name)||"Account",className:"w-6 h-6 rounded-full shrink-0",referrerPolicy:"no-referrer",width:24,height:24}):(0,t.jsx)("span",{className:"w-6 h-6 bg-base-300 flex justify-center items-center rounded-full shrink-0",children:(null==c?void 0:null===(p=c.user_metadata)||void 0===p?void 0:null===(h=p.name)||void 0===h?void 0:h.charAt(0))||(null==c?void 0:null===(f=c.email)||void 0===f?void 0:f.charAt(0))}),(null==c?void 0:null===(b=c.user_metadata)||void 0===b?void 0:b.name)||(null==c?void 0:c.email)||"Account"]})}return(0,t.jsx)(l(),{className:"btn ".concat(i||""),href:o.Z.auth.loginUrl,children:a})}},47287:function(e,a,i){i.r(a),i.d(a,{default:function(){return components_Header}});var t=i(57437),n=i(2265),r=i(24033),l=i(61396),s=i.n(l),o=i(16691),c=i.n(o),u=i(55798),m=i(61417),d=i(38597),g=i(50116);let h=[{lang:"en",language:"\uD83C\uDDFA\uD83C\uDDF8 English",select:!0},{lang:"zh",language:"\uD83C\uDDE8\uD83C\uDDF3 简体中文",select:!1},{lang:"ja",language:"\uD83C\uDDEF\uD83C\uDDF5 日本語",select:!1},{lang:"ar",language:"\uD83C\uDDF8\uD83C\uDDE6 العربية",select:!1},{lang:"es",language:"\uD83C\uDDEA\uD83C\uDDF8 Espa\xf1ol",select:!1},{lang:"de",language:"\uD83C\uDDE9\uD83C\uDDEA Deutsch",select:!1},{lang:"fr",language:"\uD83C\uDDEB\uD83C\uDDF7 Fran\xe7ais",select:!1},{lang:"ru",language:"\uD83C\uDDF7\uD83C\uDDFA Русский",select:!1}],LocaleSwitcherSelect=e=>{let{defaultValue:a="\uD83C\uDDFA\uD83C\uDDF8 English",extraStyle:i}=e,l=(0,r.useRouter)(),[s,o]=(0,n.useTransition)();function onSelectChange(e){let i=e.target.value;a=i,o(()=>{l.push(i)})}return(0,t.jsx)("section",{id:"btnLanguage",children:(0,t.jsx)("label",{children:(0,t.jsx)("select",{className:"select select-primary w-min max-w-xs mx-4",defaultValue:a,disabled:s,onChange:onSelectChange,children:h.map(e=>(0,t.jsxs)("option",{value:e.lang,children:[e.language," "]},e.lang))})})})},p=(0,t.jsx)(u.default,{extraStyle:"btn-primary"}),f=(0,t.jsx)(()=>{let e=(0,g.useLocale)();return(0,t.jsx)(LocaleSwitcherSelect,{defaultValue:e})},{extraStyle:"btn-primary"});var components_Header=()=>{let e=(0,g.useTranslations)("Header"),a=[{href:"/",label:e("home")},{href:"#pricing",label:e("pricing")},{href:"/explore",label:e("explore")},{href:"#faq",label:e("faq")}],i=(0,r.useSearchParams)(),[l,o]=(0,n.useState)(!1);return(0,n.useEffect)(()=>{o(!1)},[i]),(0,t.jsxs)("header",{className:"bg-base-200",children:[(0,t.jsxs)("nav",{className:"container flex items-center justify-between px-8 py-4 mx-auto","aria-label":"Global",children:[(0,t.jsx)("div",{className:"flex lg:flex-1",children:(0,t.jsxs)(s(),{className:"flex items-center gap-2 shrink-0 ",href:"/",title:"".concat(d.Z.appName," hompage"),children:[(0,t.jsx)(c(),{src:"https://image.scribblediffusion.ai/icon.png",alt:"".concat(d.Z.appName," logo"),className:"w-8",placeholder:"blur",priority:"true",width:48,height:48}),(0,t.jsx)("span",{className:"font-extrabold text-lg",children:d.Z.appName})]})}),(0,t.jsx)("div",{className:"flex lg:hidden",children:(0,t.jsxs)("button",{type:"button",className:"-m-2.5 inline-flex items-center justify-center rounded-md p-2.5",onClick:()=>o(!0),children:[(0,t.jsx)("span",{className:"sr-only",children:"Open main menu"}),(0,t.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:"w-6 h-6 text-base-content",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3.75 6.75h16.5M3.75 12h16.5m-16.5 5.25h16.5"})})]})}),(0,t.jsx)("div",{className:"hidden lg:flex lg:justify-center lg:gap-12 lg:items-center",children:a.map(e=>(0,t.jsx)(s(),{href:e.href,className:"link link-hover",title:e.label,children:e.label},e.href))}),(0,t.jsxs)("div",{className:"hidden lg:flex lg:justify-end lg:flex-1",children:[f,p]})]}),(0,t.jsx)("div",{className:"relative z-50 ".concat(l?"":"hidden"),children:(0,t.jsxs)("div",{className:"fixed inset-y-0 right-0 z-10 w-full px-8 py-4 overflow-y-auto bg-base-200 sm:max-w-sm sm:ring-1 sm:ring-neutral/10 transform origin-right transition ease-in-out duration-300",children:[(0,t.jsxs)("div",{className:"flex items-center justify-between",children:[(0,t.jsxs)(s(),{className:"flex items-center gap-2 shrink-0 ",title:"".concat(d.Z.appName," hompage"),href:"/",children:[(0,t.jsx)(c(),{src:m.default,alt:"".concat(d.Z.appName," logo"),className:"w-8",placeholder:"blur",priority:"true",width:32,height:32}),(0,t.jsx)("span",{className:"font-extrabold text-lg",children:d.Z.appName})]}),(0,t.jsxs)("button",{type:"button",className:"-m-2.5 rounded-md p-2.5",onClick:()=>o(!1),children:[(0,t.jsx)("span",{className:"sr-only",children:"Close menu"}),(0,t.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:"w-6 h-6",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 18L18 6M6 6l12 12"})})]})]}),(0,t.jsxs)("div",{className:"flow-root mt-6",children:[(0,t.jsx)("div",{className:"py-4",children:(0,t.jsx)("div",{className:"flex flex-col gap-y-4 items-start",children:a.map(e=>(0,t.jsx)(s(),{href:e.href,className:"link link-hover",title:e.label,children:e.label},e.href))})}),(0,t.jsx)("div",{className:"divider"}),(0,t.jsxs)("div",{className:"flex flex-col",children:[f,(0,t.jsx)(u.default,{extraStyle:"btn-primary mt-4"})]})]})]})})]})}},38597:function(e,a,i){var t=i(69077),n=i.n(t);let r={appName:"Scribble Diffusion AI",appDescription:"Scribble Diffusion AI ! Free Scribble Diffusion AI, It turn your sketch into a refined image using AI",domainName:"scribblediffusion.ai",httpsDomainNameWithW:"https://www.scribblediffusion.ai/",httpsDomainName:"https://scribblediffusion.ai",httpsImageDomainName:"https://image.scribblediffusion.ai",crisp:{id:"",onlyShowOnRoutes:["/"]},stripe:{plans:[{priceId:"xxxx",name:"Free Plan",description:"Free Plan",price:0,freeCredits:3,priceAnchor:0,features:[{name:"Free Plan"},{name:"3 credits"},{name:"High quality images"},{name:"Faster Image generation"}]},{priceId:"price_1PL3YdDC1QUf9YCfpyzxM2jp",name:"Starter Plan",description:"Perfect for small projects",price:5,priceAnchor:5,features:[{name:"Starter Plan"},{name:"100 credits"},{name:"High quality images"},{name:"No subscription"},{name:"Faster Image generation"}]},{isFeatured:!0,priceId:"price_1PL3ddDC1QUf9YCfJIxw94KH",name:"Premium Plan",description:"You need more power",price:9,priceAnchor:11,features:[{name:"Premium Plan"},{name:"250 credits"},{name:"High quality images"},{name:"No subscription"},{name:"Faster Image generation"}]},{priceId:"price_1PL3eEDC1QUf9YCfTASI2pcb",name:"Advanced Plan",description:"You need more power",price:20,priceAnchor:24,features:[{name:"Advanced Plan"},{name:"600 credits"},{name:"High quality images"},{name:"No subscription"},{name:"Faster Image generation"}]}]},aws:{bucket:"bucket-name",bucketUrl:"https://bucket-name.s3.amazonaws.com/",cdn:"https://cdn-id.cloudfront.net/"},mailgun:{supportEmail:"[email protected]"},colors:{theme:"light",main:n()["[data-theme=light]"].primary},auth:{loginUrl:"/signin",loginAllUrl:"https://scribblediffusion.ai/signin",callbackUrl:"/dashboard"},prompt:{icon:"a high-definition [imageStyle] ios app icon featuring [imagePrompt]. iridescent blue border. front view. icon without any titles or text.",logo:"a high-definition [imageStyle] logo featuring [imagePrompt]. front view. [imageTitle]",sticker:"4 high-definition [imageStyle] stickers featuring [imagePrompt], with vibrant colors and white borders on a minimal white background. stickers all in image. front view. [imageTitle]",poster:"a high-definition [imageStyle], borderless format poster featuring [imagePrompt]. front view. [imageTitle]",coloringpage:"a high-definition, printable, [imageStyle] borderless format coloring page featuring  [imagePrompt] that have been colored and the same [imagePrompt] that have not been colored. front view. [imageTitle]",mockup:"a high-definition [imageStyle] mockup featuring [imagePrompt], with white background, front view. [imageTitle]",postcard:"a high-definition [imageStyle] postcard featuring [imagePrompt],with white background, front view. [imageTitle]",tattoo:"a high-definition, printable,[imageStyle] tattoo featuring [imagePrompt],with white background, front view. [imageTitle]",birthdaycard:"a high-definition, printable, [imageStyle], borderless format birthday card featuring [imagePrompt], front view. [imageTitle]",character:"a [imageStyle] character of [imagePrompt]. [imageTitle]",illustration:"a high-definition, [imageStyle], borderless format illustration featuring [imagePrompt], front view. [imageTitle]"}};a.Z=r}
1,61417:function(e,a,i){i.r(a),a.default={src:"/_next/static/media/icon.87f53454.png",height:1024,width:1024,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAMAAADz0U65AAAAkFBMVEWlkGbVxnrOrKWkpuegrL+No8h+sexWkelgncpMfemUh85BkexIg+pLeONLbN1Hk/RHouNTtO9lu+xJnu/LnWm8u4KTw+Zbm9icpcTqobX/orHzpaXHt9rQrdbpsz+CfLaeoKlQkf1PpPmlr+dVq+p4tN77v0SWsr+et9K1ucP4u0TNubv7wMxrp+6hda9wgJmfUAJYAAAAIXRSTlP9/oeQh/wvi/yKj8TExT37xMTE+fn7hfv4iyGA+5D4hfvF9/pCAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAS0lEQVR4nAXBBQKAIAAEsBNUELs7ADv//zs3NHVPqRA22rvTenpHkKuyjOFjIIdlnHgYzD1fUSoGc8vAU+mgWPisQunATuLI9fzgB79UBQ1PLN6FAAAAAElFTkSuQmCC",blurWidth:8,blurHeight:8}}}]);

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.