PageSourceSearch

https://www.copilotkit.ai/_next/static/chunks/8073-6acf733dd4aae6f1.js?dpl=dpl_3B8Bp8TCHbgJVWMdzLBfVNHxYMRB

js copilotkit.ai collected 2026-09-24 17:41:18 UTC 27,808 bytes, 1 lines download raw bytes

1(globalThis.webpackChunk_N_E=globalThis.webpackChunk_N_E||[]).push([[8073],{7707:(e,t,a)=>{"use strict";a.d(t,{cn:()=>i});var r=a(3352),l=a(54957);function i(){for(var e=arguments.length,t=Array(e),a=0;a<e;a++)t[a]=arguments[a];return(0,l.QP)((0,r.$)(t))}a(74438)},11793:(e,t,a)=>{"use strict";a.d(t,{A:()=>d,X:()=>o});var r=a(87448),l=a(23796),i=a(61444),s=a(56779),n=a(25583);let o=/^[^\s@]+@[a-zA-Z0-9][a-zA-Z0-9.-]*\.[a-zA-Z]{2,}$/,c="".concat("https://api.hsforms.com/submissions/v3/integration/submit","/").concat("45532593","/").concat("f2f2c837-2cbe-48eb-9374-a5b832dbbbf5"),u=i.Ik({email:i.Yj().matches(o,"The email field is invalid").required("The email field is required")}),d=()=>{var e;let[t,a]=(0,l.useState)(!1),{register:i,handleSubmit:o,formState:{errors:d,isSubmitting:m}}=(0,s.mN)({defaultValues:{email:""},resolver:(0,n.t)(u)}),p=async e=>{let{email:t}=e;t&&a((await fetch(c,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({fields:[{objectTypeId:"0-1",name:"email",value:t}]})})).ok)};return m?(0,r.jsx)("span",{className:"text-md font-medium text-gray-1000",children:"Submitting..."}):t?(0,r.jsx)("span",{className:"text-md font-medium text-gray-1000",children:"Thanks for submitting the form."}):(0,r.jsxs)("form",{onSubmit:o(p),className:"flex flex-col items-start gap-1",children:[(0,r.jsxs)("label",{htmlFor:"email",className:"flex h-[44px] w-full items-start justify-between rounded-full bg-white p-1 pl-5 lg:h-[60px] lg:w-[410px]",children:[(0,r.jsx)("input",{type:"text",placeholder:"Please add your email",className:"mr-1 h-full w-full text-xs font-medium text-gray-800 outline-none lg:text-base",...i("email")}),(0,r.jsx)("button",{type:"submit",className:"h-full rounded-full bg-gray-1000 p-5 py-2 font-mono text-sm text-white uppercase lg:py-4 lg:text-base",children:"Subscribe"})]}),(0,r.jsx)("span",{className:"text-md pt-4 pl-1 font-medium text-red-400",children:null==(e=d.email)?void 0:e.message})]})}},13609:(e,t,a)=>{Promise.resolve().then(a.t.bind(a,62714,23)),Promise.resolve().then(a.bind(a,53659)),Promise.resolve().then(a.bind(a,14381)),Promise.resolve().then(a.bind(a,34105))},14381:(e,t,a)=>{"use strict";a.d(t,{default:()=>S});var r=a(87448),l=a(23796),i=a(56779),s=a(35586),n=a(25583),o=a(61444),c=a(38223),u=a(90657),d=a(11793),m=a(49820),p=a(46940);let h=e=>{let{email:t,firstName:a,lastName:r,companyName:l,whatBuilding:i}=e;return{...t?{email:t}:{},...a&&r?{name:"".concat(a," ").concat(r)}:{},...l||i?{customAnswers:{...l?{a1:l}:{},...i?{a2:i}:{}}}:{}}};function f(e){let{url:t,height:a,prefillData:l}=e;return(0,r.jsx)("div",{className:"overflow-hidden rounded-xl",children:(0,r.jsx)(p.Cs,{url:t,styles:{height:"".concat(a,"px"),width:"100%",transition:"height ".concat(200,"ms ease-out")},prefill:h(l),pageSettings:{backgroundColor:"ffffff",primaryColor:"010507",textColor:"010507",hideEventTypeDetails:!0,hideGdprBanner:!0}})})}let x=["1","2","3","4"],g="af6d3503-c9c2-48bd-b2eb-2bd5a019effe",y="https://calendly.com/d/ctz6-z59-gqz/talk-to-copilotkit",b=e=>"".concat("https://api.hsforms.com/submissions/v3/integration/submit","/").concat("45532593","/").concat(e),w={firstName:"firstname",lastName:"lastname",companyName:"company",companyEmail:"email",whatAreYouBuilding:"contact_us_message"},v=o.Ik({companyEmail:o.Yj().matches(d.X,"That doesn't look like a valid email. Check for typos.").required("Add your work email to continue.")}),j=o.Ik({firstName:o.Yj().matches(m.A,m.Z).required("Add your first name to continue."),lastName:o.Yj().matches(m.A,m.Z).required("Add your last name to continue."),companyName:o.Yj().max(100,"Shorten to 100 characters or fewer.").required("Add your company name to continue."),whatAreYouBuilding:o.Yj().max(500,"Trim to 500 characters or fewer.").default("")}),N=()=>{let e=new URLSearchParams(window.location.search).get("step");return e&&x.includes(e)?e:"1"},S=e=>{var t;let{posthogPrefix:a,intent:o="general"}=e,d=(0,s.sf)(),[m,h]=(0,l.useState)("1"),[x,S]=(0,l.useState)(""),[C,k]=(0,l.useState)(""),[E,A]=(0,l.useState)(""),[_,T]=(0,l.useState)(""),[L,P]=(0,l.useState)(""),[R,F]=(0,l.useState)("contact_us"),[Y,I]=(0,l.useState)(null),[B,q]=(0,l.useState)(!1),[z,V]=(0,l.useState)(!1),O
1=(0,l.useRef)(null),U=(0,l.useRef)("1"),W=(0,l.useRef)("1"),D=(0,l.useCallback)(function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],a=new URLSearchParams(window.location.search);a.set("step",e);let r="".concat(window.location.pathname,"?").concat(a.toString());t?window.history.replaceState(null,"",r):window.history.pushState(null,"",r),h(e)},[]),M=(0,l.useCallback)((e,t)=>{null==d||d.capture("".concat(a,".").concat(e),{location:"contact-us",referrer:R,step:U.current,intent:o,...t})},[d,a,R,o]),Z=(0,l.useCallback)(e=>{for(let[t,a]of Object.entries(e))a&&M("validation.error",{field:t,code:a.type})},[M]);(0,l.useEffect)(()=>{U.current=m,W.current!==m&&(W.current=m,M("step.".concat(m,".viewed")))},[m,M]),(0,l.useEffect)(()=>{let e=new URLSearchParams(window.location.search).get("ref");e&&F(e);let t=N();"1"!==t&&h(t),null==d||d.capture("".concat(a,".viewed"),{location:"contact-us",referrer:null!=e?e:"contact_us",step:t,intent:o});let r=()=>h(N());return window.addEventListener("popstate",r),()=>window.removeEventListener("popstate",r)},[]),(0,l.useEffect)(()=>{if("1"!==m){if(!x){M("resumed_from_missing_state",{missing:"email"}),D("1",!0);return}"3"!==m&&"4"!==m||_||(M("resumed_from_missing_state",{missing:"company"}),D("2",!0))}},[m,x,_,D,M]),(0,l.useEffect)(()=>{if(!B)return;let e=window.setTimeout(()=>V(!0),5e3);return()=>window.clearTimeout(e)},[B]);let{calendlyHeight:G,calendlyFallbackVisible:K}=function(e){let{active:t,prefetch:a,url:r,event:i,onDateAndTimeSelected:s,onScheduled:n}=e,[o,c]=(0,l.useState)(820),[u,d]=(0,l.useState)(!1),m=(0,l.useRef)(!1),h=(0,l.useRef)(!1),f=(0,l.useRef)(!1),x=(0,l.useRef)(null),g=(0,l.useRef)(null);return(0,l.useEffect)(()=>()=>{null!==x.current&&window.clearTimeout(x.current),null!==g.current&&window.cancelAnimationFrame(g.current)},[]),(0,l.useEffect)(()=>{if(!t){m.current=!1;return}d(!1);let e=window.setTimeout(()=>{d(!0),m.current||i("calendly.load_timeout")},12e3);return()=>window.clearTimeout(e)},[t,i]),(0,p.yl)({onEventTypeViewed:()=>{m.current||(m.current=!0,i("calendly.iframe_loaded"))},onDateAndTimeSelected:()=>{i("calendly.date_selected"),f.current=!0},onEventScheduled:e=>{if(!h.current){h.current=!0;try{i("calendly.event_scheduled",{event_uri:e.data.payload.event.uri,invitee_uri:e.data.payload.invitee.uri})}catch(e){}n()}},onPageHeightResize:e=>{let t=parseInt(e.data.payload.height,10);Number.isNaN(t)||t<=100||(c(t),f.current&&(null!==x.current&&window.clearTimeout(x.current),null!==g.current&&window.cancelAnimationFrame(g.current),x.current=window.setTimeout(()=>{x.current=null,g.current=window.requestAnimationFrame(()=>{g.current=null,f.current=!1,null==s||s()})},200)))}}),(0,l.useEffect)(()=>{if(!t)return;let e=e=>e.includes("calendly.com")||e.includes("react-calendly"),a=t=>{var a;let r=null!=(a=t.filename)?a:"";e(r)&&i("calendly.invitee_error",{message:t.message,source:r})},r=t=>{var a,r,l,s,n;let o="object"==typeof t.reason?null!=(s=null!=(l=null==(a=t.reason)?void 0:a.stack)?l:null==(r=t.reason)?void 0:r.message)?s:"":String(null!=(n=t.reason)?n:"");e(o)&&i("calendly.invitee_error",{message:o})};return window.addEventListener("error",a),window.addEventListener("unhandledrejection",r),()=>{window.removeEventListener("error",a),window.removeEventListener("unhandledrejection",r)}},[t,i]),(0,l.useEffect)(()=>{if(!a||"undefined"==typeof document)return;let e=document.createElement("link");return e.rel="prefetch",e.href=r,e.as="document",document.head.appendChild(e),()=>{document.head.contains(e)&&document.head.removeChild(e)}},[a,r]),{calendlyHeight:o,calendlyFallbackVisible:u}}({active:"3"===m,prefetch:"2"===m,url:y,event:M,onScheduled:()=>D("4")}),J=(0,i.mN)({resolver:(0,n.t)(v),defaultValues:{companyEmail:x}});(0,l.useEffect)(()=>{x&&J.setValue("companyEmail",x)},[x,J]);let X=null!=(t=J.watch("companyEmail"))?t:"";(0,l.useEffect)(()=>{B&&((0,c.c)(X)||(q(!1),V(!1)))},[X,B]);let $=e=>{I(null);let t=O.current===e.companyEmail;if(!t&&(0,c.c)(e.companyEmail)){q(!0),M("freemail.blocked");return}S(e.companyEmail),null==d||d.identify(e.companyEmail,{email:e.companyEmail}),M("form.email_submitted",{freemail_bypassed:t}),Q(e.companyEmail),D("2")},H=(0,i.mN)({resolver:(0,n.t)(j),defaultValues:{firstName:C,lastName:E,companyName:_,whatAreYouBuilding:L}});(0,l.useEffect)(()=>{C&&H.setValue("firstName",C),E&&H.setValue("lastName",E),_&&H.setValue("companyName",_),L&&H.setValue("whatAreYouBuilding",L)},[C,E,_,L,H]);let Q=async(e,t)=>{if(!g)return M("hubspot.form_guid_missing"),!1;try{let a=[{objectTypeId:"0-1",name:w.companyEmail,value:e}];t&&(a.push({objectTypeId:"0-1",name:w.firstName,value:t.firstName},{objectTypeId:"0-1",name:w.lastName,value:t.lastName},{objectTypeId:"0-1",name:w.companyName,value:t.companyName}),t.whatAreYouBuilding&&a.push({objectTypeId:"0-1",name:w.whatAreYouBuilding,value:t.whatAreYouBuilding}));let r=await fetch(b(g),{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({fields:a})});if(!r.ok)return M("hubspot.submit_failed",{status:r.status,stage:t?"details":"email"}),!1;return!0}catch(e){return M("hubspot.submit_error",{message:e instanceof Error?e.message:"unknown",stage:t?"details":"email"}),!1}},ee=e=>{k(e.firstName),A(e.lastName),T(e.companyName),e.whatAreYouBuilding&&P(e.whatAreYouBuilding)},et=async e=>{if(I(null),ee(e),M("form.details_submitted"),!await Q(x,e))return void I("We couldn't save that. Try the button again — your data is still in the form.");D("3")},ea="flex w-full max-w-[750px] flex-col rounded-xl border border-white bg-white/50 p-6 backdrop-blur-[10px] lg:p-8";return(0,r.jsxs)("section",{className:"w-full px-5 pt-3 pb-4 xl:px-20 xl:pt-4 xl:pb-8",children:[(0,r.jsx)("link",{rel:"stylesheet",href:"https://assets.calendly.com/assets/external/widget.css",precedence:"default"}),(0,r.jsx)("div",{className:"mx-auto flex w-full max-w-[1368px] flex-col items-center justify-center gap-6 overflow-hidden lg:flex-row lg:items-start",children:(0,r.jsxs)("div",{className:"w-full max-w-[750px]",children:["1"===m&&(0,r.jsx)("form",{onSubmit:J.handleSubmit($,Z),"data-hs-do-not-collect":"true",className:ea,"aria-label":"Step 1: email gate",children:(0,r.jsxs)("div",{className:"flex w-full flex-col gap-4",children:[(0,r.jsx)(u.A,{register:J.register,label:"Work email",name:"companyEmail",type:"email",placeholder:"[email protected]",autoFocus:!0,error:J.formState.errors.companyEmail}),(0,r.jsx)("p",{className:"-mt-2 text-sm text-gray-800",children:"We'll use this to send your calendar invite and route the conversation."}),B&&(0,r.jsxs)("div",{className:"rounded-md border border-amber-300 bg-amber-50 p-3 text-sm text-gray-1000",children:["Use your work email so we can route you to the right team member.",z&&(0,r.jsx)("button",{type:"button",onClick:()=>{O.current=J.getValues("companyEmail"),q(!1),M("freemail.bypassed"),J.handleSubmit($,Z)()},className:"mt-2 block text-sm underline",children:"Continue with this email anyway"})]}),Y&&(0,r.jsx)("p",{className:"text-sm text-red-500",role:"alert",children:Y}),(0,r.jsx)("button",{type:"submit",disabled:J.formState.isSubmitting||B,className:"h-[52px] w-full cursor-pointer rounded-full bg-gray-1000 text-center font-mono font-medium text-white uppercase disabled:cursor-not-allowed disabled:opacity-60",children:J.formState.isSubmitting?"Saving…":"Continue"})]})}),"2"===m&&(0,r.jsx)("form",{onSubmit:H.handleSubmit(et,Z),"data-hs-do-not-collect":"true",className:ea,"aria-label":"Step 2: details",children:(0,r.jsxs)("div",{className:"flex w-full flex-col gap-4",children:[(0,r.jsxs)("div",{className:"flex flex-col gap-3 lg:flex-row lg:gap-7",children:[(0,r.jsx)(u.A,{register:H.register,label:"First name",name:"firstName",type:"text",placeholder:"Sam",autoFocus:!0,error:H.formState.errors.firstName}),(0,r.jsx)(u.A,{register:H.register,label:"Last name",name:"lastName",type:"text",placeholder:"Smith",error:H.formState.errors.lastName})]}),(0,r.jsx)(u.A,{register:H.register,label:"Company",name:"companyName",type:"text",placeholder:"Acme Inc.",error:H.formState.errors.companyName}),(0,r.jsx)(u.A,{register:H.register,label:"What are you building? (optional — but the more you share, the better we can match you)",name:"whatAreYouBuilding",type:"textarea",required:!1,placeholder:"e.g. AI assistant inside our internal ops dashboard, evaluating CopilotKit + LangGraph.",error:H.formState.errors.whatAreYouBuilding}),Y&&(0,r.jsx)("p",{className:"text-sm text-red-500",role:"alert",children:Y}),(0,r.jsx)("button",{type:"submit",disabled:H.formState.isSubmitting,className:"h-[52px] w-full cursor-pointer rounded-full bg-gray-1000 text-center font-mono font-medium text-white uppercase disabled:opacity-60",children:H.formState.isSubmitting?"L
1oading your calendar…":"Pick a time"})]})}),"3"===m&&(0,r.jsxs)("div",{className:"flex w-full max-w-[750px] flex-col gap-1",children:[(0,r.jsx)(f,{url:y,height:G,prefillData:{email:x,firstName:C,lastName:E,companyName:_,whatBuilding:L}}),K&&(0,r.jsxs)("p",{className:"text-center text-sm text-gray-800",children:["Calendar not loading? Email"," ",(0,r.jsx)("a",{className:"underline",href:"mailto:[email protected]",children:"[email protected]"})," ","and we'll sort it out."]})]}),"4"===m&&(0,r.jsxs)("div",{className:ea,"aria-label":"Step 4: booked confirmation",children:[(0,r.jsx)("h1",{className:"text-3xl font-medium text-gray-1000 lg:text-4xl",children:"You're booked."}),(0,r.jsxs)("p",{className:"mt-3 text-gray-800",children:["Calendar invite sent to ",(0,r.jsx)("span",{className:"font-medium text-gray-1000",children:x}),". Add it to your calendar — we'll take it from here."]}),(0,r.jsx)("h2",{className:"mt-6 text-lg font-medium text-gray-1000",children:"What's next"}),(0,r.jsxs)("ol",{className:"mt-1 list-decimal space-y-1 pl-5 text-gray-800",children:[(0,r.jsx)("li",{children:"We'll review your message before the call."}),(0,r.jsx)("li",{children:"You'll get a reminder email 24 hours before."}),"general"===o&&(0,r.jsx)("li",{children:"Bring questions, context, or a screen-share — whatever's useful."})]}),"early_access"!==o&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("h2",{className:"mt-6 text-lg font-medium text-gray-1000",children:"While you wait"}),(0,r.jsxs)("ul",{className:"mt-1 space-y-1 text-gray-800",children:[(0,r.jsx)("li",{children:(0,r.jsx)("a",{className:"underline",href:"https://go.copilotkit.ai/copilotkit-docs",children:"Read the docs →"})}),(0,r.jsx)("li",{children:(0,r.jsx)("a",{className:"underline",href:"https://go.copilotkit.ai/docs-quickstart",children:"Try the quickstart →"})}),(0,r.jsx)("li",{children:(0,r.jsx)("a",{className:"underline",href:"https://go.copilotkit.ai/discord-community",children:"Join the Discord →"})})]})]}),(0,r.jsxs)("p",{className:"mt-6 text-sm text-gray-800",children:["Need to move it? Use the link in your calendar invite, or email"," ",(0,r.jsx)("a",{className:"underline",href:"mailto:[email protected]",children:"[email protected]"}),"."]})]})]})})]})}},26764:(e,t,a)=>{"use strict";a.d(t,{A:()=>o});var r=a(87448),l=a(63558),i=a(7707);let s={sm:{textSegment:"px-4 text-xs",height:"h-[32px]",arrowContainerWidth:"w-[32px]",arrowSize:16},md:{textSegment:"px-4 text-sm",height:"h-[44px]",arrowContainerWidth:"w-[44px]",arrowSize:20},lg:{textSegment:"px-5 text-base",height:"h-[52px]",arrowContainerWidth:"w-[52px]",arrowSize:24}},n={primary:"bg-gray-1000 text-white group-hover:bg-[#2b2b2b] group-focus-visible:bg-[#2b2b2b] group-active:bg-gray-800 group-disabled:bg-gray-1000/15 group-disabled:text-[#838389]",secondary:"bg-white text-text-primary group-hover:bg-white/70 group-focus-visible:bg-white/70 group-active:bg-white/50 group-disabled:bg-white/50 group-disabled:text-[#838389]",ghost:"bg-transparent text-text-primary group-hover:bg-gray-1000/5 group-focus-visible:bg-gray-1000/5 group-active:bg-gray-1000/10 group-disabled:bg-transparent group-disabled:text-[#838389]",link:"underline decoration-[1px] underline-offset-4 transition-opacity  group-disabled:no-underline group-disabled:text-[#838389] group-hover:no-underline group-focus-visible:no-underline group-active:no-underline group-hover:text-text-secondary group-focus-visible:text-text-secondary group-active:text-text-primary"},o=e=>{let{label:t,variant:a="primary",disabled:o=!1,fullWidth:c=!1,icon:u=null,size:d="lg",className:m,...p}=e,{height:h,arrowSize:f,arrowContainerWidth:x,textSegment:g}=s[d];return(0,r.jsxs)("button",{type:"button",className:(0,i.cn)("group flex items-center border-none bg-transparent p-0 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-current",c?"w-full":"w-fit",o?"cursor-none":"cursor-pointer"),disabled:o,...p,children:["primary"===a&&(0,r.jsx)("span",{className:(0,i.cn)("flex items-center justify-center rounded-full transition-colors",h,x,n.primary),"aria-hidden":"true",children:u||(0,r.jsx)(l.L2n,{size:f,color:o?"#838389":"#FFFFFF"})}),(0,r.jsxs)("span",{className:(0,i.cn)("flex items-center justify-center gap-2 rounded-full whitespace-nowrap transition-colors",g,h,n[a],"primary"===a&&c?"flex-1":c?"w-full":"w-fit","link"===a?"h-auto px-0":"font-mono font-medium uppercase",m),children:["primary"===a||u,t]})]})}},27297:(e,t,a)=>{"use strict";
1Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useMergedRef",{enumerable:!0,get:function(){return l}});let r=a(23796);function l(e,t){let a=(0,r.useRef)(null),l=(0,r.useRef)(null);return(0,r.useCallback)(r=>{if(null===r){let e=a.current;e&&(a.current=null,e());let t=l.current;t&&(l.current=null,t())}else e&&(a.current=i(e,r)),t&&(l.current=i(t,r))},[e,t])}function i(e,t){if("function"!=typeof e)return e.current=t,()=>{e.current=null};{let a=e(t);return"function"==typeof a?a:()=>e(null)}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},34105:(e,t,a)=>{"use strict";a.d(t,{default:()=>c});var r=a(87448),l=a(73605),i=a(48243),s=a(75112),n=a(74438),o=a(26764);let c=()=>(0,r.jsx)(i.P.section,{variants:s.cY,viewport:{once:!0,amount:.3},initial:"hidden",whileInView:"show",className:"w-full px-5 pt-7 xl:px-20 xl:pt-24",children:(0,r.jsxs)("div",{className:"mx-auto flex w-full max-w-[1368px] flex-col items-center justify-center gap-7 overflow-hidden lg:gap-10",children:[(0,r.jsx)("h3",{className:"text-center text-2xl font-medium text-gray-1000 lg:text-[40px]",children:"Explore CopilotKit resources"}),(0,r.jsxs)("div",{className:"flex w-full flex-col items-center justify-center gap-5 md:flex-row lg:gap-8",children:[(0,r.jsxs)("div",{className:"flex w-full flex-col items-start justify-center rounded-xl border border-white bg-white/50 p-6 text-left backdrop-blur-[10px] lg:p-8",children:[(0,r.jsx)(l.default,{src:"/images/contact-us/resource-documentation.svg",alt:"Documentation",width:70,height:66,className:"mb-1 -ml-3.5 aspect-[70/66] h-auto w-[70px]"}),(0,r.jsx)("h4",{className:"text-lg font-medium lg:text-2xl",children:"Visit our documentation"}),(0,r.jsx)("p",{className:"text-sm text-gray-800 lg:text-base",children:"It could be just the thing you're looking for"}),(0,r.jsx)("div",{className:"mt-7 lg:mt-9",children:(0,r.jsx)(o.A,{label:"Go to Docs",variant:"primary",onClick:()=>window.open(n.C.docsPage,"_blank")})})]}),(0,r.jsxs)("div",{className:"flex w-full flex-col items-start justify-center rounded-xl border border-white bg-white/50 p-6 text-left backdrop-blur-[10px] lg:p-8",children:[(0,r.jsx)(l.default,{src:"/images/contact-us/resource-discord.svg",alt:"Documentation",width:70,height:66,className:"mb-1 -ml-3.5 aspect-[70/66] h-auto w-[70px]"}),(0,r.jsx)("h4",{className:"text-lg font-medium lg:text-2xl",children:"Community support (Discord)"}),(0,r.jsx)("p",{className:"text-sm text-gray-800 lg:text-base",children:"Get help with your project from the community"}),(0,r.jsx)("div",{className:"mt-7 lg:mt-9",children:(0,r.jsx)(o.A,{label:"Join Community",variant:"primary",onClick:()=>window.open(n.C.discord,"_blank")})})]})]})]})})},38223:(e,t,a)=>{"use strict";a.d(t,{c:()=>l});let r=new Set(["gmail.com","googlemail.com","yahoo.com","ymail.com","rocketmail.com","outlook.com","hotmail.com","live.com","msn.com","icloud.com","me.com","mac.com","aol.com","protonmail.com","proton.me","pm.me","mail.com","gmx.com","fastmail.com","inbox.com","tutanota.com","zoho.com","yandex.com","yandex.ru","mail.ru","list.ru","bk.ru","inbox.ru","qq.com","163.com","126.com","139.com","sina.com","sohu.com","foxmail.com","naver.com","daum.net","hanmail.net","gmx.de","gmx.net","web.de","t-online.de","orange.fr","free.fr","laposte.net","wanadoo.fr","sfr.fr","libero.it","virgilio.it","tiscali.it","bigpond.com","bigpond.net.au"]),l=e=>{let t=e.lastIndexOf("@");return!(t<0)&&r.has(e.slice(t+1).toLowerCase())}},49820:(e,t,a)=>{"use strict";a.d(t,{A:()=>r,Z:()=>l});let r=RegExp("^(?=.*\\p{L})[\\p{L}\\p{M}\\s'’.\\-]+$","u"),l="Use letters, spaces, hyphens, apostrophes, or periods."},53659:(e,t,a)=>{"use strict";a.d(t,{default:()=>s});var r=a(87448),l=a(23796),i=a(94710);let s=()=>{let e=(0,i.useRouter)(),[t,a]=(0,l.useState)(null);return(0,l.useEffect)(()=>{"undefined"!=typeof document&&document.referrer&&a(document.referrer)},[]),(0,r.jsxs)("button",{type:"button",onClick:()=>
1{if(!t)return void e.push("/");try{new URL(t).origin===window.location.origin?e.back():window.location.href=t}catch(t){e.push("/")}},className:"relative mb-3 flex min-h-11 w-max items-center justify-center gap-2 text-foreground md:gap-3",children:[(0,r.jsx)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,r.jsx)("path",{d:"M12.9422 15.8078C13.0003 15.8659 13.0463 15.9348 13.0777 16.0107C13.1092 16.0865 13.1254 16.1679 13.1254 16.25C13.1254 16.3321 13.1092 16.4134 13.0777 16.4893C13.0463 16.5652 13.0003 16.6341 12.9422 16.6922C12.8841 16.7502 12.8152 16.7963 12.7393 16.8277C12.6634 16.8592 12.5821 16.8753 12.5 16.8753C12.4179 16.8753 12.3366 16.8592 12.2607 16.8277C12.1848 16.7963 12.1159 16.7502 12.0578 16.6922L5.80782 10.4422C5.74971 10.3841 5.70361 10.3152 5.67215 10.2393C5.6407 10.1634 5.62451 10.0821 5.62451 9.99998C5.62451 9.91785 5.6407 9.83652 5.67215 9.76064C5.70361 9.68477 5.74971 9.61584 5.80782 9.55779L12.0578 3.30779C12.1751 3.19052 12.3342 3.12463 12.5 3.12463C12.6659 3.12463 12.8249 3.19052 12.9422 3.30779C13.0595 3.42507 13.1254 3.58413 13.1254 3.74998C13.1254 3.91583 13.0595 4.07489 12.9422 4.19217L7.1336 9.99998L12.9422 15.8078Z",fill:"#010507"})}),(0,r.jsx)("span",{className:"font-mono text-sm uppercase",children:"BACK"})]})}},74438:(e,t,a)=>{"use strict";a.d(t,{C:()=>r});let r={baseUrl:"https://www.copilotkit.ai",discord:"https://go.copilotkit.ai/discord-community",github:"https://go.copilotkit.ai/copilotkit-github",twitter:"https://go.copilotkit.ai/socials-twitter",linkedin:"https://go.copilotkit.ai/socials-linkedin",calendly:"https://calendly.com/atai_/copilotkit",docsPage:"https://docs.copilotkit.ai/",termsPage:"/terms-of-service",privacyPage:"/privacy-policy",title:"CopilotKit | Bring Users and AI Agents together inside real apps",description:"The Enterprise-Ready Frontend Stack for Agents. CopilotKit lets you integrate LLMs or agents with real-time context, UI control, and full flexibility.",ogImage:"/images/og/generic.webp"}},75112:(e,t,a)=>{"use strict";a.d(t,{G2:()=>n,U6:()=>s,XI:()=>l,cY:()=>i,eR:()=>r});let r={hidden:{opacity:0,x:-30},show:{opacity:1,x:0},transition:{duration:1,ease:"easeOut",delay:.2},viewport:{once:!0,amount:.5}},l={hidden:{opacity:0,y:10},show:{opacity:1,y:0,transition:{staggerChildren:.2}},viewport:{once:!0,amount:.7}},i={hidden:{opacity:0,y:20},show:{opacity:1,y:0},transition:{duration:.8,delay:.2},viewport:{once:!0,amount:.3}},s={...i,viewport:{once:!0,amount:1}},n={hidden:{opacity:0,y:10},show:{opacity:1,y:0}}},90657:(e,t,a)=>{"use strict";a.d(t,{A:()=>d});var r=a(87448),l=a(23796);let i="flex w-full flex-col items-start gap-1 text-gray-1000",s="text-sm font-medium",n="min-h-[46px] w-full rounded-md border border-border-container bg-white px-5 py-3 outline-none",o="h-4 flex items-center justify-start w-full text-sm text-red-500",c="placeholder:text-gray-800",u=e=>{let{children:t}=e;return(0,r.jsx)("div",{className:"w-full",children:t})},d=e=>{let{register:t,label:a,name:d,type:m,placeholder:p,options:h=[],required:f=!0,error:x,autoFocus:g,autoComplete:y,onFocus:b,onBlur:w}=e,v={required:!!f&&"This field is required",onBlur:e=>null==w?void 0:w(e.target.value)},j=(0,l.useRef)(null);if((0,l.useEffect)(()=>{var e;g&&(null==(e=j.current)||e.focus({preventScroll:!0}))},[g]),"select"===m){let{ref:e,...l}=t(d,v);return(0,r.jsx)(u,{children:(0,r.jsxs)("label",{htmlFor:d,className:i,children:[(0,r.jsxs)("span",{className:s,children:[a,f&&"*"]}),(0,r.jsxs)("div",{className:"relative w-full",children:[(0,r.jsx)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"absolute top-1/2 right-5 z-10 -translate-y-1/2",children:(0,r.jsx)("path",{d:"M16.692 7.94218L10.442 14.1922C10.384 14.2503 10.3151 14.2964 10.2392 14.3278C10.1633 14.3593 10.082 14.3755 9.99986 14.3755C9.91772 14.3755 9.8364 14.3593 9.76052 14.3278C9.68465 14.2964 9.61572 14.2503 9.55767 14.1922L3.30767 7.94218C3.1904 7.82491 3.12451 7.66585 3.12451 7.5C3.12451 7.33414 3.1904 7.17508 3.30767 7.05781C3.42495 6.94053 3.58401 6.87465 3.74986 6.87465C3.91571 6.87465 4.07477 6.94053 4.19205 7.05781L9.99986 12.8664L15.8077 7.05781C15.8657 6.99974 15.9347 6.95368 16.0105 6.92225C16.0864 6.89082 16.1677 6.87465 16.2499 6.87465C16.332 6.87465 16.4133 6.89082 16.4892 6.92225C16.56
15 6.95368 16.634 6.99974 16.692 7.05781C16.7501 7.11588 16.7962 7.18482 16.8276 7.26069C16.859 7.33656 16.8752 7.41787 16.8752 7.5C16.8752 7.58212 16.859 7.66344 16.8276 7.73931C16.7962 7.81518 16.7501 7.88412 16.692 7.94218Z",fill:"#010507"})}),(0,r.jsxs)("select",{...l,ref:t=>{e(t),j.current=t},onFocus:b,id:d,className:n+" relative cursor-pointer appearance-none",children:[(0,r.jsx)("option",{value:"",children:null!=p?p:"Please Select"}),h.map(e=>(0,r.jsx)("option",{value:e,children:e},e))]})]}),(0,r.jsx)("span",{className:o,children:null==x?void 0:x.message})]},d)})}if("textarea"===m){let{ref:e,...l}=t(d,v);return(0,r.jsx)(u,{children:(0,r.jsxs)("label",{htmlFor:d,className:i,children:[(0,r.jsxs)("span",{className:s,children:[a,f&&"*"]}),(0,r.jsx)("textarea",{...l,ref:t=>{e(t),j.current=t},onFocus:b,id:d,className:n+" "+c+" min-h-[110px]",placeholder:null!=p?p:"Please Enter"}),(0,r.jsx)("span",{className:o,children:null==x?void 0:x.message})]},d)})}let{ref:N,...S}=t(d,v);return(0,r.jsx)(u,{children:(0,r.jsxs)("label",{htmlFor:d,className:i,children:[(0,r.jsxs)("span",{className:s,children:[a,"*"]}),(0,r.jsx)("input",{...S,ref:e=>{N(e),j.current=e},onFocus:b,autoComplete:null!=y?y:"email"===m?"email":void 0,"data-lpignore":"email"===m?void 0:"true","data-1p-ignore":"email"===m?void 0:"true",className:n+" "+c,id:d,type:m,placeholder:null!=p?p:"Please Enter"}),(0,r.jsx)("span",{className:o,children:null==x?void 0:x.message})]},d)})}},94710:(e,t,a)=>{"use strict";var r=a(66314);a.o(r,"usePathname")&&a.d(t,{usePathname:function(){return r.usePathname}}),a.o(r,"useRouter")&&a.d(t,{useRouter:function(){return r.useRouter}}),a.o(r,"useSearchParams")&&a.d(t,{useSearchParams:function(){return r.useSearchParams}}),a.o(r,"useSelectedLayoutSegments")&&a.d(t,{useSelectedLayoutSegments:function(){return r.useSelectedLayoutSegments}})}}]);

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.