PageSourceSearch

https://www.svgai.org/_next/static/chunks/app/layout-a89010dcd425a718.js?dpl=dpl_CQhZ8Y4EW7frp1M22TRBFWL627Ps

js svgai.org collected 2026-10-04 08:36:19 UTC 6,773 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7177],{6834:(e,s,t)=>{Promise.resolve().then(t.t.bind(t,19324,23)),Promise.resolve().then(t.t.bind(t,29771,23)),Promise.resolve().then(t.bind(t,60310)),Promise.resolve().then(t.bind(t,56332)),Promise.resolve().then(t.bind(t,26259)),Promise.resolve().then(t.bind(t,96063)),Promise.resolve().then(t.bind(t,58930)),Promise.resolve().then(t.t.bind(t,69243,23)),Promise.resolve().then(t.t.bind(t,37869,23)),Promise.resolve().then(t.t.bind(t,45315,23))},19324:()=>{},27737:(e,s,t)=>{"use strict";t.d(s,{E:()=>n});var r=t(95155),a=t(24026);function n({className:e,...s}){return(0,r.jsx)("div",{className:(0,a.cn)("animate-pulse rounded-md bg-muted",e),...s})}},29771:()=>{},45315:()=>{},60310:(e,s,t)=>{"use strict";t.d(s,{Providers:()=>E});var r=t(95155),a=t(48151),n=t(84386),o=t(12115),i=t(71145);let l=(0,o.createContext)(void 0);function d({children:e}){let[s,t]=(0,o.useState)({isLoading:!1}),a=(0,o.useCallback)(e=>{t({isLoading:!0,message:e})},[]),n=(0,o.useCallback)(()=>{t({isLoading:!1})},[]);return(0,r.jsxs)(l.Provider,{value:{showLoading:a,hideLoading:n,isLoading:s.isLoading},children:[e,s.isLoading&&(0,r.jsx)(i.p8,{fullScreen:!0,message:s.message})]})}var c=t(35695),u=t(24026);function m(){let e=(0,c.usePathname)(),[s,t]=(0,o.useState)(!1),[a,n]=(0,o.useState)(0);return((0,o.useEffect)(()=>{t(!1),n(0)},[e]),(0,o.useEffect)(()=>{let e,s,r=()=>{t(!0),n(10);let e=10;s=setInterval(()=>{(e+=10*Math.random())>90&&(e=90),n(e)},200)};return window.addEventListener("beforeunload",r),()=>{clearTimeout(e),clearInterval(s),window.removeEventListener("beforeunload",r)}},[]),s)?(0,r.jsx)("div",{className:"fixed top-0 left-0 right-0 z-[60]",children:(0,r.jsx)(i.z2,{value:a,className:(0,u.cn)("h-1 transition-opacity duration-200",100===a&&"opacity-0")})}):null}var g=t(31828),h=t(48031),p=t(86424);let f=(0,o.createContext)({userType:"free",isInitialized:!1});function x({children:e}){let{user:s}=(0,a.A)(),[t,n]=(0,o.useState)(!1),i=(0,o.useRef)(null),l="free";return(0,o.useEffect)(()=>{t||n(!0)},[s,l,t]),(0,o.useEffect)(()=>{if(s?.id){(0,p.identifyPostHogUser)(s.id,{signup_provider:"string"==typeof s.app_metadata?.provider?s.app_metadata.provider:null}),i.current=s.id;return}i.current&&((0,p.resetPostHogUser)(),i.current=null)},[s?.id,s?.app_metadata?.provider]),(0,r.jsxs)(f.Provider,{value:{userId:s?.id,userType:l,isInitialized:t},children:[(0,r.jsx)(g.j,{}),(0,r.jsx)(h.b,{}),e]})}let v="svgai_country",j="svgai_geo_attempted";function b(){return(0,o.useEffect)(()=>{try{if(document.cookie.split("; ").some(e=>e.startsWith(`${v}=`))||"1"===sessionStorage.getItem(j))return;sessionStorage.setItem(j,"1")}catch{return}let e=!1;return fetch("/api/geo").then(e=>e.ok?e.json():null).then(s=>{if(e)return;let t="string"==typeof s?.country?s.country.trim():"";if(!t||!/^[A-Za-z]{2}$/.test(t))return;let r=t.toUpperCase(),a="https:"===window.location.protocol?"; Secure":"";document.cookie=`${v}=${r}; Max-Age=2592000; Path=/; SameSite=Lax${a}`,window.dispatchEvent(new CustomEvent("svgai:country-ready",{detail:{country:r}}))}).catch(()=>{}),()=>{e=!0}},[]),null}var N=t(51362),y=t(56671);let w=({...e})=>{let{theme:s="system"}=(0,N.D)();return(0,r.jsx)(y.l,{theme:s,className:"toaster group",toastOptions:{classNames:{toast:"group toast group-[.toaster]:bg-background group-[.toaster]:text-foreground group-[.toaster]:border-border group-[.toaster]:shadow-lg",description:"group-[.toast]:text-muted-foreground",actionButton:"group-[.toast]:bg-primary group-[.toast]:text-primary-foreground",cancelButton:"group-[.toast]:bg-muted group-[.toast]:text-muted-foreground"}},...e})};function E({children:e}){return(0,r.jsx)(a.O,{children:(0,r.jsx)(n.nz,{children:(0,r.jsx)(x,{children:(0,r.jsxs)(d,{children:[(0,r.jsx)(m,{}),(0,r.jsx)(b,{}),e,(0,r.jsx)(w,{position:"top-center",toastOptions:{style:{background:"#1F2937",color:"#fff",border:"1px solid #374151"}}})]})})})})}},71145:(e,s,t)=>{"use strict";t.d(s,{CardSkeleton:()=>m,GalleryGridSkeleton:()=>c,StatsSkeleton:()=>g,TableSkeleton:()=>u,p8:()=>l,z2:()=>d});var r=t(95155),a=t(24026),n=t(27737),o=t(51154);function i({className:e,size:s="default"}){return(0,r.jsx)(o.A,{className:(0,a.cn)("animate-spin",{sm:"h-4 w-4",default:"h-6 w-6",lg:"h-8 w-8"}[s],e)})}function l({message:e,fullScreen:s=!1}){return(0,r.jsxs)("div",{className:(0,a.cn)("flex flex-col items-center justify-center bg-background/80 backdrop-blur-sm",s?"fixed inset-0 z-50":"absolute inset-0"),children:[(0,r.jsx)(i,{size:"lg"}),e&&(0,r.jsx)("p",{className:"mt-4 text-sm text-muted-foreground",children:e})]})}function d({value:e,className:s}){return(0,r.jsx)("div",{className:(0,a.cn)("h-2 w-full bg-muted rounded-full overflow-hidden",s),children:(0,r.jsx)("div",{className:"h-full bg-primary transition-all duration-300 ease-out",style:{width:`${Math.min(100,Math.max(0,e))}%`}})})}function c({count:e=12}){return(0,r.jsx)("div",{className:"grid grid-cols-2 md:grid-cols-3 lg:grid-cols-4 gap-4",children:Array.from({length:e}).map((e,s)=>(0,r.jsxs)("div",{className:"space-y-2",children:[(0,r.jsx)(n.E,{className:"aspect-square w-full rounded-lg"}),(0,r.jsx)(n.E,{className:"h-4 w-3/4"}),(0,r.jsx)(n.E,{className:"h-3 w-1/2"})]},s))})}
1function u({rows:e=5,columns:s=4}){return(0,r.jsxs)("div",{className:"w-full",children:[(0,r.jsx)("div",{className:"border-b",children:(0,r.jsx)("div",{className:"grid",style:{gridTemplateColumns:`repeat(${s}, 1fr)`},children:Array.from({length:s}).map((e,s)=>(0,r.jsx)(n.E,{className:"h-12 m-2"},s))})}),Array.from({length:e}).map((e,t)=>(0,r.jsx)("div",{className:"border-b",children:(0,r.jsx)("div",{className:"grid",style:{gridTemplateColumns:`repeat(${s}, 1fr)`},children:Array.from({length:s}).map((e,s)=>(0,r.jsx)(n.E,{className:"h-10 m-2"},s))})},t))]})}function m({hasImage:e=!0,hasActions:s=!1}){return(0,r.jsxs)("div",{className:"border rounded-lg p-4 space-y-4",children:[e&&(0,r.jsx)(n.E,{className:"h-48 w-full rounded-md"}),(0,r.jsxs)("div",{className:"space-y-2",children:[(0,r.jsx)(n.E,{className:"h-6 w-3/4"}),(0,r.jsx)(n.E,{className:"h-4 w-full"}),(0,r.jsx)(n.E,{className:"h-4 w-5/6"})]}),s&&(0,r.jsxs)("div",{className:"flex gap-2 pt-2",children:[(0,r.jsx)(n.E,{className:"h-9 w-20"}),(0,r.jsx)(n.E,{className:"h-9 w-20"})]})]})}function g({count:e=4}){return(0,r.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-4",children:Array.from({length:e}).map((e,s)=>(0,r.jsxs)("div",{className:"border rounded-lg p-6 space-y-2",children:[(0,r.jsx)(n.E,{className:"h-4 w-20"}),(0,r.jsx)(n.E,{className:"h-8 w-32"}),(0,r.jsx)(n.E,{className:"h-3 w-24"})]},s))})}}},e=>{e.O(0,[4914,7132,4758,6436,6874,4026,6424,4134,6671,7651,5511,4386,8507,9039,6835,5138,1620,4693,5333,7358],()=>e(e.s=6834)),_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.