1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[931],{2543:function(e,t,a){Promise.resolve().then(a.t.bind(a,5878,23)),Promise.resolve().then(a.bind(a,7759)),Promise.resolve().then(a.bind(a,1663)),Promise.resolve().then(a.bind(a,5218)),Promise.resolve().then(a.bind(a,5267))},7759:function(e,t,a){"use strict";a.d(t,{default:function(){return P}});var s=a(7437),r=a(2265),n=a(2381),l=a(279),o=a(6394),i=a(7712),d=a(3448);let c=(0,i.j)("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),u=r.forwardRef((e,t)=>{let{className:a,...r}=e;return(0,s.jsx)(o.f,{ref:t,className:(0,d.cn)(c(),a),...r})});u.displayName=o.f.displayName;var m=a(4156),f=a(401),p=a(3488),x=a(7168),h=a(653),g=a(8334);a(4291);let b=r.forwardRef((e,t)=>{let{className:a,...r}=e;return(0,s.jsx)(g.mY,{ref:t,className:(0,d.cn)("flex h-full w-full flex-col overflow-hidden rounded-md bg-popover text-popover-foreground",a),...r})});b.displayName=g.mY.displayName;let y=r.forwardRef((e,t)=>{let{className:a,...r}=e;return(0,s.jsxs)("div",{className:"flex items-center border-b px-3","cmdk-input-wrapper":"",children:[(0,s.jsx)(h._Ve,{className:"mr-2 h-4 w-4 shrink-0 opacity-50"}),(0,s.jsx)(g.mY.Input,{ref:t,className:(0,d.cn)("flex h-10 w-full rounded-md bg-transparent py-3 text-sm outline-none placeholder:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-50",a),...r})]})});y.displayName=g.mY.Input.displayName;let v=r.forwardRef((e,t)=>{let{className:a,...r}=e;return(0,s.jsx)(g.mY.List,{ref:t,className:(0,d.cn)("max-h-[300px] overflow-y-auto overflow-x-hidden",a),...r})});v.displayName=g.mY.List.displayName;let N=r.forwardRef((e,t)=>(0,s.jsx)(g.mY.Empty,{ref:t,className:"py-6 text-center text-sm",...e}));N.displayName=g.mY.Empty.displayName;let j=r.forwardRef((e,t)=>{let{className:a,...r}=e;return(0,s.jsx)(g.mY.Group,{ref:t,className:(0,d.cn)("overflow-hidden p-1 text-foreground [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground",a),...r})});j.displayName=g.mY.Group.displayName,r.forwardRef((e,t)=>{let{className:a,...r}=e;return(0,s.jsx)(g.mY.Separator,{ref:t,className:(0,d.cn)("-mx-1 h-px bg-border",a),...r})}).displayName=g.mY.Separator.displayName;let w=r.forwardRef((e,t)=>{let{className:a,...r}=e;return(0,s.jsx)(g.mY.Item,{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 aria-selected:bg-accent aria-selected:text-accent-foreground data-[disabled=true]:pointer-events-none data-[disabled=true]:opacity-50",a),...r})});w.displayName=g.mY.Item.displayName;var k=a(11);let C=k.fC,E=k.xz;k.ee;let R=r.forwardRef((e,t)=>{let{className:a,align:r="center",sideOffset:n=4,...l}=e;return(0,s.jsx)(k.h_,{children:(0,s.jsx)(k.VY,{ref:t,align:r,sideOffset:n,className:(0,d.cn)("z-50 w-72 rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-none 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",a),...l})})});R.displayName=k.VY.displayName;var S=a(6255);let z=r.forwardRef((e,t)=>{let{className:a,children:r,...n}=e;return(0,s.jsxs)(S.fC,{ref:t,className:(0,d.cn)("relative overflow-hidden",a),...n,children:[(0,s.jsx)(S.l_,{className:"h-full w-full rounded-[inherit]",children:r}),(0,s.jsx)(Y,{}),(0,s.jsx)(S.Ns,{})]})});z.displayName=S.fC.displayName;let Y=r.forwardRef((e,t)=>{let{className:a,orientation:r="vertical",...n}=e;return(0,s.jsx)(S.gb,{ref:t,orientation:r,className:(0,d.cn)("flex touch-none select-none transition-colors","vertical"===r&&"h-full w-2.5 border-l border-l-transparent p-[1px]","horizontal"===r&&"h-2.5 flex-col border-t border-t-transparent p-[1px]",a),...n,children:(0,s.jsx)(S.q4,{className:"relative flex-1 rounded-full bg-border"})})});Y.displayName=S.gb.displayName;let V=r.forwardRef((e,t)=>
1{let{className:a,onChange:r,...n}=e;return(0,s.jsx)(p.ZP,{ref:t,className:(0,d.cn)("flex",a),flagComponent:A,countrySelectComponent:_,inputComponent:I,onChange:e=>null==r?void 0:r(e||0),...n})});V.displayName="PhoneInput";let I=r.forwardRef((e,t)=>{let{className:a,...r}=e;return(0,s.jsx)(l.I,{className:(0,d.cn)("",a),...r,ref:t,required:!0})});I.displayName="InputComponent";let _=e=>{let{disabled:t,value:a,onChange:l,options:o}=e,i=r.useCallback(e=>{l(e)},[l]);return(0,s.jsxs)(C,{children:[(0,s.jsx)(E,{asChild:!0,children:(0,s.jsxs)(n.z,{type:"button",variant:"outline",className:(0,d.cn)("flex gap-1 lg px-3"),disabled:t,children:[(0,s.jsx)(A,{country:a,countryName:a}),(0,s.jsx)(m.Z,{className:(0,d.cn)("-mr-2 h-4 w-4 opacity-50",t?"hidden":"opacity-100")})]})}),(0,s.jsx)(R,{className:"w-[300px] p-0",children:(0,s.jsx)(b,{children:(0,s.jsx)(v,{children:(0,s.jsxs)(z,{className:"h-72",children:[(0,s.jsx)(y,{placeholder:"Search country..."}),(0,s.jsx)(N,{children:"No country found."}),(0,s.jsx)(j,{children:o.filter(e=>e.value).map(e=>(0,s.jsxs)(w,{className:"gap-2",onSelect:()=>i(e.value),children:[(0,s.jsx)(A,{country:e.value,countryName:e.label}),(0,s.jsx)("span",{className:"flex-1 text-sm",children:e.label}),e.value&&(0,s.jsx)("span",{className:"text-foreground/50 text-sm",children:"+".concat(p.Gg(e.value))}),(0,s.jsx)(f.Z,{className:(0,d.cn)("ml-auto h-4 w-4",e.value===a?"opacity-100":"opacity-0")})]},e.value))})]})})})})]})},A=e=>{let{country:t,countryName:a}=e,r=x.ZP[t];
1return(0,s.jsx)("span",{className:"bg-foreground/20 flex h-4 w-6 overflow-hidden",children:r&&(0,s.jsx)(r,{title:a})})};A.displayName="FlagComponent";let q=r.forwardRef((e,t)=>{let{className:a,...r}=e;return(0,s.jsx)("textarea",{className:(0,d.cn)("flex min-h-[60px] w-full rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow-sm placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50",a),ref:t,...r})});q.displayName="Textarea";var F=a(4438);function P(){let[e,t]=(0,r.useState)({name:"",email:"",phone:"",message:""}),a=(0,r.useRef)(null);async function o(){var t;if(null===(t=a.current)||void 0===t||t.setAttribute("disabled","true"),!/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(e.email))return F.A.error("Invalid email address"),!1;F.A.promise(fetch("/api/contactMessage",{method:"POST",body:JSON.stringify(e)}),{loading:"Sending message...",success:e=>{var t;return null===(t=a.current)||void 0===t||t.removeAttribute("disabled"),"Message sent successfully!"},error:e=>{var t;return null===(t=a.current)||void 0===t||t.removeAttribute("disabled"),"Something went wrong"}})}return(0,s.jsxs)("section",{className:"w-full max-w-2xl mx-auto py-12 md:py-24",id:"contact",children:[(0,s.jsxs)("div",{className:"space-y-6 text-center",children:[(0,s.jsx)("h2",{className:"text-3xl font-bold",children:"Get in Touch"}),(0,s.jsx)("p",{className:"text-gray-500 dark:text-gray-400",children:"Have a question or want to work together? Fill out the form below and we'll get back to you as soon as possible."})]}),(0,s.jsxs)("form",{className:"mt-8 space-y-4",onSubmit:e=>{e.preventDefault(),o()},children:[(0,s.jsxs)("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-4",children:[(0,s.jsxs)("div",{className:"space-y-2",children:[(0,s.jsx)(u,{htmlFor:"name",children:"Name"}),(0,s.jsx)(l.I,{id:"name",placeholder:"Enter your name",required:!0,onChange:e=>{t(t=>({...t,name:e.target.value}))}})]}),(0,s.jsxs)("div",{className:"space-y-2",children:[(0,s.jsx)(u,{htmlFor:"email",children:"Email"}),(0,s.jsx)(l.I,{id:"email",placeholder:"Enter your email",type:"email",required:!0,onChange:e=>{t(t=>({...t,email:e.target.value}))}})]})]}),(0,s.jsxs)("div",{className:"space-y-2",children:[(0,s.jsx)(u,{htmlFor:"email",children:"Phone"}),(0,s.jsx)(V,{id:"phone",className:"space-x-2",defaultCountry:"IN",placeholder:"Enter your mobile number",onChange:e=>{t(t=>({...t,phone:e}))}})]}),(0,s.jsxs)("div",{className:"space-y-2",children:[(0,s.jsx)(u,{htmlFor:"message",children:"Message"}),(0,s.jsx)(q,{id:"message",placeholder:"Enter your message",rows:5,required:!0,onChange:e=>{t(t=>({...t,message:e.target.value}))}})]}),(0,s.jsx)(n.z,{variant:"default",type:"submit",className:"min-w-28 float-end",ref:a,children:"Submit"})]})]})}},1663:function(e,t,a){"use strict";a.d(t,{default:function(){return c}});var s=a(7437),r=a(2265),n=a(4291),l=a(2381),o=a(279),i=a(4438);a(3079);var d=(0,a(2119).$)("e97aaa9938a0401d33ce4473c84392e6a3762e6f");function c(){let[e,t]=(0,r.useState)(""),a=e=>/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(e);return(0,s.jsx)("div",{className:"",children:(0,s.jsxs)(n.Vq,{children:[(0,s.jsx)(n.hg,{asChild:!0,children:(0,s.jsx)(l.z,{className:"",children:"Get Early Access"})}),(0,s.jsxs)(n.cZ,{className:"p-6 rounded-lg shadow-xl max-w-md mx-auto",onCloseAutoFocus:e=>e.preventDefault(),children:[(0,s.jsx)("h2",{className:"text-2xl font-semibold mb-2",children:"Get Early Access"}),(0,s.jsx)("p",{className:"mb-4",children:"Be one of the first to experience our app. Enter your email to join the waitlist!"}),(0,s.jsxs)("form",{onSubmit:t=>{if(t.preventDefault(),!a(e)){i.A.error("Please enter a valid email address.");return}i.A.promise(d(e),{loading:"Please wait...",success:e=>e?"Thanks You, We will get back to you!":"Something went wrong",error:()=>"Something went wrong"})},children:[(0,s.jsx)("div",{className:"mb-4",children:(0,s.jsx)(o.I,{type:"email",placeholder:"Enter your email",value:e,onChange:e=>t(e.target.value),className:"w-full p-3 border",required:!0})}),(0,s.jsx)(l.z,{type:"submit",className:"w-full",children:"Get Early Access"})]})]})]})})}},5218:function(e,t,a){"use strict";a.d(t,{default:function(){return c}});var s=a(7437),r=a(2265),n=a(3598),l=a(3618),o=a(1369);function i(){let[e,t]=(0,l.FV)(o.G);return(0,r.useEffect)(()=>{let e=document.querySelector("body"),a=document.getElementById("canvas3d"),s=new n.M(a);s.load("/assets/3d/bot.spline").then(()=>{t(!1);let r=a.getClientRects()[0];if(r){let t=s.findObjectByName("body");
1t&&(t.scale.x=r.width/180,t.scale.y=r.width/180,t.scale.z=r.width/180,t.position.y=-200),null==e||e.addEventListener("mousemove",e=>{let a=e.clientX-r.x-r.width/2,s=e.clientY-r.y-r.height/2;t&&(t.rotation.x=.0012*s,t.rotation.y=.0012*a)})}})},[]),(0,s.jsx)("canvas",{id:"canvas3d",className:"select-none"})}var d=a(1663);function c(){return(0,s.jsxs)("section",{id:"home",className:"relative min-h-screen max-w-[90rem] w-full mx-auto flex flex-col md:flex-row items-center justify-center",children:[(0,s.jsxs)("div",{className:"max-w-md",children:[(0,s.jsx)("p",{className:"text-xs text-primary",children:"Welcome"}),(0,s.jsxs)("p",{className:"text-5xl mb-4 font-semibold",children:["Meet the ",(0,s.jsx)("br",{})," Smart-Guru."]}),(0,s.jsx)("p",{className:"text-sm mb-4",children:"Unlock the power of knowledge with Smart Guru - your ultimate companion for summarizing school books!"}),(0,s.jsx)(d.default,{})]}),(0,s.jsxs)("div",{className:"aspect-square relative block",children:[(0,s.jsx)("div",{className:"absolute inset-0 bg-primary/60 -z-10 rounded-full blur-[100px]"}),(0,s.jsx)(i,{}),(0,s.jsx)("div",{className:"absolute inset-0 z-10 bg-transparent"})]})]})}},2381:function(e,t,a){"use strict";a.d(t,{z:function(){return d}});var s=a(7437),r=a(2265),n=a(7053),l=a(7712),o=a(3448);let i=(0,l.j)("inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50",{variants:{variant:{default:"bg-primary text-primary-foreground shadow hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",outline:"border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2",sm:"h-8 rounded-md px-3 text-xs",lg:"h-10 rounded-md px-8",icon:"h-9 w-9"}},defaultVariants:{variant:"default",size:"default"}}),d=r.forwardRef((e,t)=>{let{className:a,variant:r,size:l,asChild:d=!1,...c}=e,u=d?n.g7:"button";return(0,s.jsx)(u,{className:(0,o.cn)(i({variant:r,size:l,className:a})),ref:t,...c})});d.displayName="Button"},4291:function(e,t,a){"use strict";a.d(t,{Vq:function(){return i},cZ:function(){return m},hg:function(){return d}});var s=a(7437),r=a(2265),n=a(9027),l=a(653),o=a(3448);let i=n.fC,d=n.xz,c=n.h_;n.x8;let u=r.forwardRef((e,t)=>{let{className:a,...r}=e;return(0,s.jsx)(n.aV,{ref:t,className:(0,o.cn)("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",a),...r})});u.displayName=n.aV.displayName;let m=r.forwardRef((e,t)=>{let{className:a,children:r,...i}=e;return(0,s.jsxs)(c,{children:[(0,s.jsx)(u,{}),(0,s.jsxs)(n.VY,{ref:t,className:(0,o.cn)("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 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-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",a),...i,children:[r,(0,s.jsxs)(n.x8,{className:"absolute right-4 top-4 roun
1ded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground",children:[(0,s.jsx)(l.Pxu,{className:"h-4 w-4"}),(0,s.jsx)("span",{className:"sr-only",children:"Close"})]})]})]})});m.displayName=n.VY.displayName,r.forwardRef((e,t)=>{let{className:a,...r}=e;return(0,s.jsx)(n.Dx,{ref:t,className:(0,o.cn)("text-lg font-semibold leading-none tracking-tight",a),...r})}).displayName=n.Dx.displayName,r.forwardRef((e,t)=>{let{className:a,...r}=e;return(0,s.jsx)(n.dk,{ref:t,className:(0,o.cn)("text-sm text-muted-foreground",a),...r})}).displayName=n.dk.displayName},279:function(e,t,a){"use strict";a.d(t,{I:function(){return l}});var s=a(7437),r=a(2265),n=a(3448);let l=r.forwardRef((e,t)=>{let{className:a,type:r,...l}=e;return(0,s.jsx)("input",{type:r,className:(0,n.cn)("flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-sm shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50",a),ref:t,...l})});l.displayName="Input"},5267:function(e,t,a){"use strict";a.d(t,{TracingBeam:function(){return c}});var s=a(7437),r=a(2265),n=a(7066),l=a(5318),o=a(3812),i=a(4913),d=a(3448);let c=e=>{let{children:t,className:a}=e,c=(0,r.useRef)(null),{scrollYProgress:u}=(0,n.v)({target:c,offset:["start start","end start"]}),m=(0,r.useRef)(null),[f,p]=(0,r.useState)(0);(0,r.useEffect)(()=>{m.current&&p(m.current.offsetHeight)},[]);let x=(0,l.q)((0,o.H)(u,[0,.8],[50,f]),{stiffness:500,damping:90}),h=(0,l.q)((0,o.H)(u,[0,1],[50,f-200]),{stiffness:500,damping:90});return(0,s.jsxs)(i.E.div,{ref:c,className:(0,d.cn)("relative w-full max-w-4xl mx-auto h-full",a),children:[(0,s.jsxs)("div",{className:"absolute -left-4 md:-left-20 top-3",children:[(0,s.jsx)(i.E.div,{transition:{duration:.2,delay:.5},animate:{boxShadow:u.get()>0?"none":"rgba(0, 0, 0, 0.24) 0px 3px 8px"},className:"ml-[27px] h-4 w-4 rounded-full border border-netural-200 shadow-sm flex items-center justify-center",children:(0,s.jsx)(i.E.div,{transition:{duration:.2,delay:.5},animate:{backgroundColor:u.get()>0?"white":"var(--emerald-500)",borderColor:u.get()>0?"white":"var(--emerald-600)"},className:"h-2 w-2 rounded-full border border-neutral-300 bg-white"})}),(0,s.jsxs)("svg",{viewBox:"0 0 20 ".concat(f),width:"20",height:f,className:" ml-4 block","aria-hidden":"true",children:[(0,s.jsx)(i.E.path,{d:"M 1 0V -36 l 18 24 V ".concat(.8*f," l -18 24V ").concat(f),fill:"none",stroke:"#9091A0",strokeOpacity:"0.16",transition:{duration:10}}),(0,s.jsx)(i.E.path,{d:"M 1 0V -36 l 18 24 V ".concat(.8*f," l -18 24V ").concat(f),fill:"none",stroke:"url(#gradient)",strokeWidth:"1.25",className:"motion-reduce:hidden",transition:{duration:10}}),(0,s.jsx)("defs",{children:(0,s.jsxs)(i.E.linearGradient,{id:"gradient",gradientUnits:"userSpaceOnUse",x1:"0",x2:"0",y1:x,y2:h,children:[(0,s.jsx)("stop",{stopColor:"#18CCFC",stopOpacity:"0"}),(0,s.jsx)("stop",{stopColor:"#18CCFC"}),(0,s.jsx)("stop",{offset:"0.325",stopColor:"#6344F5"}),(0,s.jsx)("stop",{offset:"1",stopColor:"#AE48FF",stopOpacity:"0"})]})})]})]}),(0,s.jsx)("div",{ref:m,children:t})]})}},3448:function(e,t,a){"use strict";a.d(t,{cn:function(){return n}});var s=a(1994),r=a(3335);function n(){for(var e=arguments.length,t=Array(e),a=0;a<e;a++)t[a]=arguments[a];return(0,r.m6)((0,s.W)(t))}},1369:function(e,t,a){"use strict";a.d(t,{G:function(){return s}});let s=(0,a(3618).cn)({key:"LoadingState",default:!0})}},function(e){e.O(0,[691,310,716,210,276,636,971,117,744],function(){return e(e.s=2543)}),_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.