1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9186],{49186:function(e,t,s){Promise.resolve().then(s.t.bind(s,231,23)),Promise.resolve().then(s.bind(s,79797)),Promise.resolve().then(s.bind(s,98683)),Promise.resolve().then(s.bind(s,22814)),Promise.resolve().then(s.bind(s,44094))},16450:function(e,t,s){"use strict";s.d(t,{SearchCommand:function(){return u}});var n=s(57437),i=s(2265),a=s(16463),l=s(31326),r=s(49354),o=s(89733),d=s(34063),c=s(38733);function u(e){let{links:t}=e,[s,u]=i.useState(!1),m=(0,a.useRouter)(),{creatingWorkspace:f,currentWorkspace:x}=(0,l.b)();i.useEffect(()=>{let e=e=>{"k"===e.key&&(e.metaKey||e.ctrlKey)&&(e.preventDefault(),u(e=>!e))};return document.addEventListener("keydown",e),()=>document.removeEventListener("keydown",e)},[]);let h=i.useCallback(e=>{u(!1),e()},[]);return f?null:(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(o.z,{variant:"outline",className:(0,r.cn)("relative h-9 w-full justify-start rounded-md bg-muted/50 text-sm font-normal text-muted-foreground shadow-none sm:pr-12 md:w-96"),onClick:()=>u(!0),children:[(0,n.jsxs)("span",{className:"inline-flex whitespace-nowrap",children:["Search",(0,n.jsxs)("span",{className:"pl-1 hidden sm:block",children:[(null==x?void 0:x.name)?" in the "+x.name+" workspace":" in your workspace"," "]}),"..."]}),(0,n.jsxs)("kbd",{className:"pointer-events-none absolute right-[0.3rem] top-[0.45rem] hidden h-5 select-none items-center gap-1 rounded border bg-muted px-1.5 font-mono text-[10px] font-medium opacity-100 sm:flex",children:[(0,n.jsx)("span",{className:"text-xs",children:"â"}),"K"]})]}),(0,n.jsxs)(d.m5,{open:s,onOpenChange:u,children:[(0,n.jsx)(d.sZ,{placeholder:"Type a command or search..."}),(0,n.jsxs)(d.e8,{children:[(0,n.jsx)(d.rb,{children:"No results found."}),t.map(e=>(0,n.jsx)(d.fu,{heading:e.title,children:e.items.map(e=>{let t=c.P[e.icon||"arrowRight"];return(0,n.jsxs)(d.di,{onSelect:()=>{h(()=>m.push(e.href))},children:[(0,n.jsx)(t,{className:"mr-2 size-5"}),e.title]},e.title)})},e.title))]})]})]})}},8536:function(e,t,s){"use strict";s.d(t,{DocsSidebarNav:function(){return o}});var n=s(57437),i=s(87138),a=s(16463),l=s(40898),r=s(49354);function o(e){let{setOpen:t}=e,s=(0,a.usePathname)(),i=l.A.sidebarNav;return i.length>0?(0,n.jsx)("div",{className:"w-full",children:i.map(e=>(0,n.jsxs)("div",{className:(0,r.cn)("pb-8"),children:[(0,n.jsx)("h4",{className:"mb-1 rounded-md py-1 text-base font-medium md:px-2 md:text-sm",children:e.title}),e.items?(0,n.jsx)(d,{setOpen:t,items:e.items,pathname:s}):null]},e.title))}):null}function d(e){let{items:t,setOpen:s,pathname:a}=e;return(null==t?void 0:t.length)>0?(0,n.jsx)("div",{className:"grid grid-flow-row auto-rows-max text-[15px] md:text-sm",children:t.map((e,t)=>!e.disabled&&e.href?(0,n.jsx)(i.default,{href:e.href,onClick:()=>{s&&s(!1)},className:(0,r.cn)("flex w-full items-center rounded-md px-2 py-1.5 text-muted-foreground hover:underline",{"font-medium text-blue-600 dark:text-blue-400":a===e.href}),target:e.external?"_blank":"",rel:e.external?"noreferrer":"",children:e.title},e.title+e.href):(0,n.jsx)("span",{className:"flex w-full cursor-not-allowed items-center rounded-md px-2 py-1.5 opacity-60",children:e.title},e.title+e.href))}):null}},50457:function(e,t,s){"use strict";s.d(t,{UserAuthForm:function(){return g}});var n=s(57437),i=s(2265),a=s(16463),l=s(15221),r=s(39945),o=s(69022),d=s(49354),c=s(12603);let u=c.Ry({email:c.Z_().email()});var m=s(89733),f=s(77209),x=s(70402),h=s(79797),p=s(38733);function g(e){let{className:t,type:s,...c}=e,{register:g,handleSubmit:b,formState:{errors:j}}=(0,o.cI)({resolver:(0,l.F)(u)}),[N,v]=i.useState(!1),[y,w]=i.useState(!1),[k,z]=i.useState(!1),C=(0,a.useSearchParams)();async function S(e){v(!0);let t=await (0,r.zB)("resend",{email:e.email.toLowerCase(),redirect:!1,callbackUrl:(null==C?void 0:C.get("from"))||"/app"});v(!1);try{if(console.log("Response from signIn with resent",t),!(null==t?void 0:t.ok))return h.toast.error("Something went wrong.",{description:"Your sign in request failed. Please try again."});return h.toast.success("Check your email",{description:"We sent you a login link. Be sure to check your spam too."})}catch(e){console.error(e)}}async function P(e){"google"===e?w(!0):"github"===e&&z(!0);try{await (0,r.zB)(e,{callbackUrl:(null==C?void 0:C.get("from"))||"/app"}),"google"===e?w(!1):"github"===e&&z(!1)}catch(e){return console.error(e),h.toast.error("Something went wrong.",{description:"Your sign in request failed. Please try again."})}}return(0,n.jsxs)("div",{className:(0,d.cn)("grid gap-3",t),...c,children:[(0,n.jsxs)("button",{type:"button",className:(0,d.cn)((0,m.d)({variant:"outline"})),onClick:()=>P("google"),disabled:N||y,children:[y?(0,n.jsx)(p.P.spinner,{className:"mr-2 size-4 animate-spin"}):(0,n.jsx)(p.P.google,{className:"mr-2 size-4"})," ","Google"]}),(0,n.jsxs)("button",{type:"button",className:(0,d.cn)((0,m.d)({variant:"outline"})),onClick:()=>P("github"),disabled:N||k,children:[k?(0,n.jsx)(p.P.spinner,{className:"mr-2 size-4 animate-spin"}):(0,n.jsx)(p.P.github,{className:"mr-2 size-4"})," ","Github"]}),(0,n.jsxs)("div",{className:"relative py-2",children:[(0,n.jsx)("div",{className:"absolute inset-0 flex items-center",children:(0,n.jsx)("span",{className:"w-full border-t"})}),(0,n.jsx)("div",{className:"relative flex justify-center text-xs uppercase",children:(0,n.jsx)("span",{className:"bg-background px-2 text-muted-foreground",children:"Or continue with"})})]}),(0,n.jsx)("form",{onSubmit:b(S),children:(0,n.jsxs)("div",{className:"grid gap-2",children:[(0,n.jsxs)("div",{className:"grid gap-1",children:[(0,n.jsx)(x._,{className:"sr-only",htmlFor:"email",children:"Email"}),(0,n.jsx)(f.I,{id:"email",placeholder:"[email protected]",type:"email",autoCapitalize:"none",autoComplete:"email",autoCorrect:"off",disabled:N||y,...g("email")}),(null==j?void 0:j.email)&&(0,n.jsx)("p",{className:"px-1 text-xs text-red-600",children:j.email.message})]}),(0,n.jsxs)("button",{className:(0,d.cn)((0,m.d)()),disabled:N,children:[N&&(0,n.jsx)(p.P.spinner,{className:"mr-2 size-4 animate-spin"}),"register"===s?"Sign Up with Email":"Sign In with Email"]})]})})]})}},98683:function(e,t,s){"use strict";s.d(t,{NavMobile:function(){return g}});var n=s(57437),i=s(2265),a=s(87138),l=s(16463),r=s(74697),o=s(42873),d=s(39945),c=s(40898),u=s(33054),m=s(1663),f=s(49354),x=s(8536),h=s(38733),p=s(22814);function g(){let{data:e}=(0,d.kP)(),[t,s]=(0,i.useState)(!1),g=(0,l.useSelectedLayoutSegment)(),b="docs"===g,j={docs:c.A.mainNav},N=g&&j[g]||u.C.mainNav;return(0,i.useEffect)(()=>{t?document.body.style.overflow="hidden":document.body.style.overflow="auto"},[t]),(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("button",{onClick:()=>s(!t),className:(0,f.cn)("fixed right-2 top-2.5 z-50 rounded-full p-2 transition-colors duration-200 hover:bg-muted focus:outline-none active:bg-muted md:hidden",t&&"hover:bg-muted active:bg-muted"),children:t?(0,n.jsx)(r.Z,{className:"size-5 text-muted-foreground"}):(0,n.jsx)(o.Z,{className:"size-5 text-muted-foreground"})}),(0,n.jsxs)("nav",{className:(0,f.cn)("fixed inset-0 z-20 hidden w-full overflow-auto bg-background px-5 py-16 lg:hidden",t&&"block"),children:[(0,n.jsxs)("ul",{className:"grid divide-y divide-muted",children:[N&&N.length>0&&N.map(e=>{let{title:t,href:i}=e;return(0,n.jsx)("li",{className:"py-3",children:(0,n.jsx)(a.default,{href:i,onClick:()=>s(!1),className:"flex w-full font-medium capitalize",children:t})},i)}),e?(0,n.jsxs)(n.Fragment,{children:["ADMIN"===e.user.role?(0,n.jsx)("li",{className:"py-3",children:(0,n.jsx)(a.default,{href:"/admin",onClick:()=>s(!1),className:"flex w-full font-medium capitalize",children:"Admin"})}):null,(0,n.jsx)("li",{className:"py-3",children:(0,n.jsx)(a.default,{href:"/app",onClick:()=>s(!1),className:"flex w-full font-medium capitalize",children:"Dashboard"})})]}):(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("li",{className:"py-3",children:(0,n.jsx)(a.default,{href:"/login",onClick:()=>s(!1),className:"flex w-full font-medium capitalize",children:"Login"})}),(0,n.jsx)("li",{className:"py-3",children:(0,n.jsx)(a.default,{href:"/register",onClick:()=>s(!1),className:"flex w-full font-medium capitalize",children:"Sign up"})})]})]}),b?(0,n.jsx)("div",{className:"mt-8 block md:hidden",children:(0,n.jsx)(x.DocsSidebarNav,{setOpen:s})}):null,(0,n.jsxs)("div",{className:"mt-5 flex items-center justify-end space-x-4",children:[(0,n.jsxs)(a.default,{href:m.J.links.github,target:"_blank",rel:"noreferrer",children:[(0,n.jsx)(h.P.gitHub,{className:"size-6"}),(0,n.jsx)("span",{className:"sr-only",children:"GitHub"})]}),(0,n.jsx)(p.ModeToggle,{})]})]})]})}},22814:function(e,t,s){"use strict";s.d(t,{ModeToggle:function(){return o}});var n=s(57437);s(2265);var i=s(80473),a=s(89733),l=s(31590),r=s(38733);function o(){let{setTheme:e}=(0,i.F)();return(0,n.jsxs)(l.h_,{children:[(0,n.jsx)(l.$F,{asChild:!0,children:(0,n.jsxs)(a.z,{variant:"ghost",size:"sm",className:"size-8 px-0",children:[(0,n.jsx)(r.P.sun,{className:"size-4 rotate-0 scale-100 transition-all dark:-rotate-90 dark:scale-0"}),(0,n.jsx)(r.P.moon,{className:"absolute size-4 rotate-90 scale-0 transition-all dark:rotate-0 dark:scale-100"}),(0,n.jsx)("span",{className:"sr-only",children:"Toggle theme"})]})}),(0,n.jsxs)(l.AW,{align:"end",children:[(0,n.jsxs)(l.Xi,{onClick:()=>e("light"),children:[(0,n.jsx)(r.P.sun,{className:"mr-2 size-4"}),(0,n.jsx)("span",{children:"Light"})]}),(0,n.jsxs)(l.Xi,{onClick:()=>e("dark"),children:[(0,n.jsx)(r.P.moon,{className:"mr-2 size-4"}),(0,n.jsx)("span",{children:"Dark"})]}),(0,n.jsxs)(l.Xi,{onClick:()=>e("system"),children:[(0,n.jsx)(r.P.laptop,{className:"mr-2 size-4"}),(0,n.jsx)("span",{children:"System"})]})]})]})}},44094:function(e,t,s){"use strict";s.d(t,{NavBar:function(){return v}});var n=s(57437),i=s(2265),a=s(87138),l=s(16463),r=s(39945),o=s(40898),d=s(23694),c=s(33054),u=s(1663),m=s(49354),f=s(89733),x=s(2183),h=s(16450);function p(){return(0,n.jsx)(h.SearchCommand,{links:o.A.sidebarNav})}var g=s(38726),b=s(38733);function j(e){let{className:t}=e;return(0,n.jsxs)(a.default,{href:"/",className:"flex items-center space-x-3",children:[(0,n.jsx)(b.P.logo,{className:"size-8 fill-black text-white dark:fill-white dark:text-black"}),(0,n.jsx)("span",{className:"font-satoshi text-xl font-black tracking-tight text-black dark:text-white",children:"lumic.ai"})]})}var N=s(88642);function v(e){let{scroll:t=!1}=e,s=function(e){let[t,s]=(0,i.useState)(!1),n=(0,i.useCallback)(()=>{s(window.pageYOffset>50)},[50]);return(0,i.useEffect)(()=>(window.addEventListener("scroll",n),()=>window.removeEventListener("scroll",n)),[n]),t}(0),{data:h,status:v}=(0,r.kP)(),{setShowSignInModal:y}=(0,i.useContext)(g.t),w=(0,l.useSelectedLayoutSegment)(),k="docs"===w,z={docs:o.A.mainNav,legals:d.m.sidebarNav},C=w&&z[w]||c.C.mainNav;return(0,n.jsx)("header",{className:"sticky top-0 z-40 flex w-full justify-center bg-background/60 backdrop-blur-xl transition-all ".concat(t?s?"border-b":"bg-transparent":"border-b"),children:(0,n.jsxs)(N.Z,{className:"flex h-14 items-center justify-between py-4",large:k,children:[(0,n.jsxs)("div",{className:"flex gap-6 md:gap-10",children:[(0,n.jsx)(j,{}),C&&C.length>0?(0,n.jsx)("nav",{className:"hidden gap-6 md:flex",children:C.map((e,t)=>(0,n.jsx)(a.default,{href:e.disabled?"#":e.href,prefetch:!0,className:(0,m.cn)("flex items-center text-lg font-medium transition-colors hover:text-foreground
1/80 sm:text-sm",e.href.startsWith("/".concat(w))?"text-foreground":"text-foreground/60",e.disabled&&"cursor-not-allowed opacity-80"),children:e.title},t))}):null]}),(0,n.jsxs)("div",{className:"flex items-center space-x-3",children:[k?(0,n.jsxs)("div",{className:"hidden flex-1 items-center space-x-4 sm:justify-end lg:flex",children:[(0,n.jsx)("div",{className:"hidden lg:flex lg:grow-0",children:(0,n.jsx)(p,{})}),(0,n.jsx)("div",{className:"flex lg:hidden",children:(0,n.jsx)(b.P.search,{className:"size-6 text-muted-foreground"})}),(0,n.jsx)("div",{className:"flex space-x-4",children:(0,n.jsxs)(a.default,{href:u.J.links.github,target:"_blank",rel:"noreferrer",children:[(0,n.jsx)(b.P.gitHub,{className:"size-7"}),(0,n.jsx)("span",{className:"sr-only",children:"GitHub"})]})})]}):null,h?(0,n.jsx)(a.default,{href:"/app",className:"hidden md:block",children:(0,n.jsx)(f.z,{className:"gap-2 px-4",variant:"default",size:"sm",rounded:"xl",children:(0,n.jsx)("span",{children:"Dashboard"})})}):"unauthenticated"===v?(0,n.jsxs)(f.z,{className:"hidden gap-2 px-4 md:flex",variant:"default",size:"sm",rounded:"lg",onClick:()=>y(!0),children:[(0,n.jsx)("span",{children:"Sign In"}),(0,n.jsx)(b.P.arrowRight,{className:"size-4"})]}):(0,n.jsx)(x.O,{className:"hidden h-9 w-24 rounded-xl lg:flex"})]})]})})}},38726:function(e,t,s){"use strict";s.d(t,{t:function(){return x},default:function(){return h}});var n=s(57437),i=s(2265),a=s(1663),l=s(99087),r=s(54662),o=s(78451),d=s(49354);function c(e){let{children:t,className:s,showModal:i,setShowModal:a,onClose:c,desktopOnly:u,preventDefaultClose:m}=e,f=function(){let{dragged:e}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(!m||e)&&(c&&c(),a&&a(!1))},{isMobile:x}=(0,o.a)();return x&&!u?(0,n.jsxs)(l.dy.Root,{open:!a||i,onOpenChange:e=>{e||f({dragged:!0})},children:[(0,n.jsx)(l.dy.Overlay,{className:"fixed inset-0 z-40 bg-background/80 backdrop-blur-sm"}),(0,n.jsxs)(l.dy.Portal,{children:[(0,n.jsxs)(l.dy.Content,{className:(0,d.cn)("fixed inset-x-0 bottom-0 z-50 mt-24 overflow-hidden rounded-t-[10px] border bg-background",s),children:[(0,n.jsx)("div",{className:"sticky top-0 z-20 flex w-full items-center justify-center bg-inherit",children:(0,n.jsx)("div",{className:"my-3 h-1.5 w-16 rounded-full bg-muted-foreground/20"})}),t]}),(0,n.jsx)(l.dy.Overlay,{})]})]}):(0,n.jsx)(r.Vq,{open:!a||i,onOpenChange:e=>{e||f()},children:(0,n.jsxs)(r.cZ,{onOpenAutoFocus:e=>e.preventDefault(),onCloseAutoFocus:e=>e.preventDefault(),className:(0,d.cn)("overflow-hidden p-0 md:max-w-md md:rounded-2xl md:border",s),"aria-describedby":"modal-description",children:[(0,n.jsx)(r.$N,{className:"sr-only",children:"Modal"}),(0,n.jsx)(r.Be,{id:"modal-description",className:"sr-only",children:"Modal Dialog"}),t]})})}var u=s(50457),m=s(38733);function f(e){let{showSignInModal:t,setShowSignInModal:s}=e;return(0,n.jsx)(c,{showModal:t,setShowModal:s,children:(0,n.jsxs)("div",{className:"w-full",children:[(0,n.jsxs)("div",{className:"flex flex-col items-center justify-center space-y-3 bg-background px-4 py-6 pt-8 text-center md:px-6",children:[(0,n.jsx)("a",{href:a.J.url,children:(0,n.jsx)(m.P.logo,{className:"size-10 fill-black text-white dark:fill-white dark:text-black"})}),(0,n.jsx)("h3",{className:"font-satoshi text-2xl font-black",children:"Welcome back"}),(0,n.jsx)("p",{className:"text-sm text-gray-500",children:"Enter your email to sign in to your account"})]}),(0,n.jsx)("div",{className:"flex flex-col space-y-4 px-4 pb-8 pt-2 md:px-6",children:(0,n.jsx)(i.Suspense,{children:(0,n.jsx)(u.UserAuthForm,{})})})]})})}let x=(0,i.createContext)({setShowSignInModal:()=>{}});function h(e){let{children:t}=e,{SignInModal:s,setShowSignInModal:a}=function(){let[e,t]=(0,i.useState)(!1),s=(0,i.useCallback)(()=>(0,n.jsx)(f,{showSignInModal:e,setShowSignInModal:t}),[e,t]);return(0,i.useMemo)(()=>({setShowSignInModal:t,SignInModal:s}),[t,s])}();return(0,n.jsxs)(x.Provider,{value:{setShowSignInModal:a},children:[(0,n.jsx)(s,{}),t]})}},88642:function(e,t,s){"use strict";s.d(t,{Z:function(){return a}});var n=s(57437),i=s(49354);function a(e){let{className:t,children:s,large:a=!1}=e;return(0,n.jsx)("div",{className:(0,i.cn)("container",a?"max-w-screen-2xl":"max-w-8xl",t),children:s})}},31590:function(e,t,s){"use strict";s.d(t,{$F:function(){return u},AW:function(){return m},VD:function(){return x},Xi:function(){return f},h_:function(){return c}});var n=s(57437),i=s(2265),a=s(12460),l=s(87592),r=s(22468),o=s(28165),d=s(49354);let c=a.fC,u=a.xz;a.ZA,a.Uv,a.Tr,a.Ee,i.forwardRef((e,t)=>
1{let{className:s,inset:i,children:r,...o}=e;return(0,n.jsxs)(a.fF,{ref:t,className:(0,d.cn)("flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent data-[state=open]:bg-accent",i&&"pl-8",s),...o,children:[r,(0,n.jsx)(l.Z,{className:"ml-auto size-4"})]})}).displayName=a.fF.displayName,i.forwardRef((e,t)=>{let{className:s,...i}=e;return(0,n.jsx)(a.tu,{ref:t,className:(0,d.cn)("text-on-popover z-50 min-w-32 overflow-hidden rounded-md border bg-popover p-1 shadow-md animate-in data-[side=bottom]:slide-in-from-top-1 data-[side=left]:slide-in-from-right-1 data-[side=right]:slide-in-from-left-1 data-[side=top]:slide-in-from-bottom-1",s),...i})}).displayName=a.tu.displayName;let m=i.forwardRef((e,t)=>{let{className:s,sideOffset:i=4,...l}=e;return(0,n.jsx)(a.Uv,{children:(0,n.jsx)(a.VY,{ref:t,sideOffset:i,className:(0,d.cn)("z-50 min-w-32 overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md animate-in 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",s),...l})})});m.displayName=a.VY.displayName;let f=i.forwardRef((e,t)=>{let{className:s,inset:i,...l}=e;return(0,n.jsx)(a.ck,{ref:t,className:(0,d.cn)("relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",i&&"pl-8",s),...l})});f.displayName=a.ck.displayName,i.forwardRef((e,t)=>{let{className:s,children:i,checked:l,...o}=e;return(0,n.jsxs)(a.oC,{ref:t,className:(0,d.cn)("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",s),checked:l,...o,children:[(0,n.jsx)("span",{className:"absolute left-2 flex size-3.5 items-center justify-center",children:(0,n.jsx)(a.wU,{children:(0,n.jsx)(r.Z,{className:"size-4"})})}),i]})}).displayName=a.oC.displayName,i.forwardRef((e,t)=>{let{className:s,children:i,...l}=e;return(0,n.jsxs)(a.Rk,{ref:t,className:(0,d.cn)("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",s),...l,children:[(0,n.jsx)("span",{className:"absolute left-2 flex size-3.5 items-center justify-center",children:(0,n.jsx)(a.wU,{children:(0,n.jsx)(o.Z,{className:"size-2 fill-current"})})}),i]})}).displayName=a.Rk.displayName,i.forwardRef((e,t)=>{let{className:s,inset:i,...l}=e;return(0,n.jsx)(a.__,{ref:t,className:(0,d.cn)("px-2 py-1.5 text-sm font-semibold",i&&"pl-8",s),...l})}).displayName=a.__.displayName;let x=i.forwardRef((e,t)=>{let{className:s,...i}=e;return(0,n.jsx)(a.Z0,{ref:t,className:(0,d.cn)("-mx-1 my-1 h-px bg-muted",s),...i})});x.displayName=a.Z0.displayName},77209:function(e,t,s){"use strict";s.d(t,{I:function(){return l}});var n=s(57437),i=s(2265),a=s(49354);let l=i.forwardRef((e,t)=>{let{className:s,type:i,...l}=e;return(0,n.jsx)("input",{type:i,className:(0,a.cn)("flex h-10 w-full rounded-md border border-input bg-transparent px-3 py-2 text-base ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",s),ref:t,...l})});l.displayName="Input"},70402:function(e,t,s){"use strict";s.d(t,{_:function(){return d}});var n=s(57437),i=s(2265),a=s(57490),l=s(73969),r=s(49354);let o=(0,l.j)("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),d=i.forwardRef((e,t)=>{let{className:s,...i}=e;return(0,n.jsx)(a.f,{ref:t,className:(0,r.cn)(o(),s,"text-base font-semibold"),...i})});d.displayName=a.f.displayName},2183:function(e,t,s){"use strict";s.d(t,{O:function(){return a}});var n=s(57437),i=s(49354);function a(e){let{className:t,...s}=e;return(0,n.jsx)("div",{className:(0,i.cn)("animate-pulse rounded-md bg-muted",t),...s})}},40898:function(e,t,s){"use strict";s.d(t,{A:function(){return n}});let n={mainNav:[{title:"Blog",href:"/blog"}],sidebarNav:[{title:"Getting Started",items:[{title:"Introduction",href:"/docs",icon:"page"},{title:"Installation",href:"/docs/installation",icon:"page"}]},{title:"Configuration",items:[{title:"Authentification",href:"/docs/configuration/authentification",icon:"page"},{title:"Blog",href:"/docs/configuration/blog",icon:"page"},{title:"Components",href:"/docs/configuration/components",icon:"page"},{title:"Config files",href:"/docs/configuration/config-files",icon:"page"},{title:"Database",href:"/docs/configuration/database",icon:"page"},{title:"Email",href:"/docs/configuration/email",icon:"page"},{title:"Layout Options",href:"/docs/configuration/layouts",icon:"page"},{title:"Markdown files",href:"/docs/configuration/markdown-files",icon:"page"}]}]}},23694:function(e,t,s){"use strict";s.d(t,{m:function(){return n}});let n={mainNav:[{title:"Blog",href:"/blog"}],sidebarNav:[{title:"Legal",items:[{title:"Privacy Policy",href:"/legal/privacy",icon:"page"},{title:"Terms of Use",href:"/legal/terms",icon:"page"},{title:"Business Terms",href:"/legal/business-terms",icon:"page"},{title:"Cookie Policy",href:"/legal/cookie-policy",icon:"page"},{title:"Data Processing Agreement",href:"/legal/data-processing-agreement",icon:"page"}
1,{title:"Data Protection Policy",href:"/legal/data-protection-policy",icon:"page"},{title:"Sharing & Publication Policy",href:"/legal/sharing-publication-policy",icon:"page"}]}]}},33054:function(e,t,s){"use strict";s.d(t,{C:function(){return n}});let n={mainNav:[{title:"Blog",href:"/blog"},{title:"Documentation",href:"/docs"}]}},78451:function(e,t,s){"use strict";s.d(t,{a:function(){return i}});var n=s(2265);function i(){let[e,t]=(0,n.useState)(null),[s,i]=(0,n.useState)(null);return(0,n.useEffect)(()=>{let e=()=>{window.matchMedia("(max-width: 640px)").matches?t("mobile"):window.matchMedia("(max-width: 768px)").matches?t("sm"):window.matchMedia("(min-width: 641px) and (max-width: 1024px)").matches?t("tablet"):t("desktop"),i({width:window.innerWidth,height:window.innerHeight})};return e(),window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}},[]),{device:e,width:null==s?void 0:s.width,height:null==s?void 0:s.height,isMobile:"mobile"===e,isSm:"sm"===e,isTablet:"tablet"===e,isDesktop:"desktop"===e}}}}]);
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.