1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4462],{77625:function(e,t,s){var i=s(57437),o=s(2265),a=s(21183),n=s(40006),r=s(98314),c=s(60373),l=s(13489),d=s(20137);t.default=e=>{let{language:t,code:s,tabs:g}=e,[p,u]=(0,o.useState)(0),[h,f]=(0,o.useState)(!1),m=Array.isArray(g)&&g.length>0,y=m?g[p].code:s,b=m?g[p].language:t,k=async()=>{try{await navigator.clipboard.writeText(y),f(!0),setTimeout(()=>f(!1),2e3)}catch(t){let e=document.createElement("textarea");e.value=y,document.body.appendChild(e),e.select(),document.execCommand("copy"),document.body.removeChild(e),f(!0),setTimeout(()=>f(!1),2e3)}};return(0,i.jsxs)(a.Box,{bg:"#0d1117",borderRadius:"0 8px 8px 8px",borderLeft:"3px solid",borderLeftColor:"blue.500",overflow:"hidden",my:6,children:[m&&(0,i.jsx)(n.HStack,{spacing:0,borderBottom:"1px solid",borderColor:"rgba(255,255,255,0.08)",children:g.map((e,t)=>(0,i.jsx)(a.Box,{as:"button",px:4,py:2.5,fontSize:"13px",fontWeight:p===t?500:400,color:p===t?"white":"gray.500",bg:p===t?"rgba(255,255,255,0.06)":"transparent",borderBottom:"2px solid",borderColor:p===t?"blue.500":"transparent",transition:"all 0.15s ease",_hover:{color:p===t?"white":"gray.300"},onClick:()=>u(t),children:e.label},t))}),(0,i.jsxs)(r.Flex,{justify:"space-between",align:"center",px:4,pt:m?2:3,pb:0,children:[b&&!m&&(0,i.jsx)(c.Text,{fontSize:"11px",fontWeight:500,color:"gray.500",textTransform:"uppercase",letterSpacing:"0.05em",children:b}),!b&&!m&&(0,i.jsx)(a.Box,{}),(0,i.jsxs)(a.Box,{as:"button",display:"flex",alignItems:"center",gap:"6px",px:2,py:1,borderRadius:"4px",fontSize:"12px",color:h?"green.400":"gray.500",transition:"all 0.15s ease",_hover:{color:h?"green.400":"gray.300",bg:"rgba(255,255,255,0.06)"},onClick:k,ml:"auto",children:[h?(0,i.jsx)(d.S,{size:14}):(0,i.jsx)(l.Q,{size:14}),h?"Copied!":"Copy"]})]}),(0,i.jsx)(a.Box,{as:"pre",px:4,pt:2,pb:4,overflowX:"auto",css:{"&::-webkit-scrollbar":{height:"6px"},"&::-webkit-scrollbar-track":{background:"transparent"},"&::-webkit-scrollbar-thumb":{background:"rgba(255,255,255,0.1)",borderRadius:"3px"}},children:(0,i.jsx)(a.Box,{as:"code",fontSize:"13px",lineHeight:1.6,fontFamily:"'SF Mono', 'Fira Code', 'Fira Mono', Menlo, Consolas, monospace",color:"#e6edf3",display:"block",whiteSpace:"pre",children:y})})]})}},66574:function(e,t,s){var i=s(57437),o=s(6802);t.default=e=>{let{children:t="contact us"}=e;return(0,i.jsx)(o.default,{linkText:t,promptText:"I'd like to get in touch"})}},66238:function(e,t,s){s.r(t);var i=s(57437),o=s(42999),a=s(4216),n=s(89948),r=s(60373),c=s(74470),l=s(7209),d=s(27648);t.default=e=>{let{items:t}=e;return t&&0!==t.length?(0,i.jsxs)(o.Breadcrumb,{spacing:2,separator:(0,i.jsx)(l.M,{color:"#A0AEC0",size:14}),fontSize:"14px",color:"gray.500",mb:4,children:[(0,i.jsx)(a.BreadcrumbItem,{children:(0,i.jsx)(d.default,{href:"/",passHref:!0,legacyBehavior:!0,children:(0,i.jsx)(n.BreadcrumbLink,{display:"flex",alignItems:"center",_hover:{color:"gray.700",textDecoration:"none"},children:(0,i.jsx)(c.V,{size:16})})})}),t.map((e,s)=>{let o=s===t.length-1;return(0,i.jsx)(a.BreadcrumbItem,{isCurrentPage:o,children:e.href&&!o?(0,i.jsx)(d.default,{href:e.href,passHref:!0,legacyBehavior:!0,children:(0,i.jsx)(n.BreadcrumbLink,{_hover:{color:"gray.700",textDecoration:"none"},children:e.title})}):(0,i.jsx)(r.Text,{color:o?"gray.700":"gray.500",fontWeight:o?500:400,noOfLines:1,maxW:"200px",children:e.title})},s)})]}):null}},92785:function(e,t,s){var i=s(57437),o=s(66602),a=s(21183),n=s(35331),r=s(60373),c=s(27648),l=s(57525);t.default=e=>{let{title:t,description:s,href:d,icon:g,subtitle:p,accentColor:u}=e,h=u?"".concat(u,".50"):"blue.50",f=u?"".concat(u,".500"):"blue.500";return(0,i.jsx)(c.default,{href:d,passHref:!0,legacyBehavior:!0,children:(0,i.jsxs)(o.Link,{display:"flex",alignItems:"center",p:6,bg:"white",border:"1px solid",borderColor:"gray.200",borderRadius:"12px",transition:"all 0.2s ease",textDecoration:"none",_hover:{borderColor:"blue.300",boxShadow:"0 4px 12px rgba(0, 0, 0, 0.05)",transform:"translateY(-2px)",textDecoration:"none"},role:"group",children:[(0,i.jsxs)(a.Box,{flex:1,children:[g&&(0,i.jsx)(a.Box,{w:12,h:12,bg:h,borderRadius:"12px",display:"flex",alignItems:"center",justifyContent:"center",color:f,mb:4,children:(0,i.jsx)(g,{size:24})}),(0,i.jsx)(n.Heading,{as:"h3",fontSize:"18px",lineHeight:"28px",fontWeight:600,color:"gray.900",mb:2,children:t}),(0,i.jsx)(r.Text,{fontSize:"14px",color:"gray.600",lineHeight:1.6,mb:p?3:0,children:s}),p&&(0,i.jsx)(r.Text,{fontSize:"12px",fontWeight:500,color:"gray.400",bg:"gray.50",display:"inline-block",px:2.5,py:1,borderRadius:"6px",children:p})]}),(0,i.jsx)(a.Box,{color:"gray.300",ml:4,flexShrink:0,transition:"all 0.2s ease",_groupHover:{color:"blue.400",transform:"translateX(2px)"},children:(0,i.jsx)(l.y,{size:20})})]})})}},54700:function(e,t,s){var i=s(57437),o=s(21183);t.default=e=>{let{children:t}=e;return(0,i.jsx)(o.Box,{className:"docs-content",sx:{"& h2":{fontSize:{base:"24px",md:"28px",lg:"32px"},fontWeight:600,color:"gray.900",mt:12,mb:4,lineHeight:1.3,scrollMarginTop:"100px","&:first-of-type":{mt:0}},"& h3":{fontSize:{base:"20px",md:"22px",lg:"24px"},fontWeight:600,color:"gray.900",mt:8,mb:3,lineHeight:1.3,scrollMarginTop:"100px"},"& h4":{fontSize:{base:"16px",md:"18px",lg:"20px"},fontWeight:600,color:"gray.900",mt:6,mb:2,lineHeight:1.4,scrollMarginTop:"100px"},"& p":{mb:4,lineHeight:1.75,fontSize:{base:"16px",md:"17px"},color:"gray.700"},"& ul, & ol":{ml:6,mb:4,"& li":{mb:2,lineHeight:1.7,fontSize:{base:"16px",md:"17px"},color:"gray.700","&::marker":{color:"gray.400"}}},"& ul":{listStyleType:"disc"},"& ol":{listStyleType:"decimal"},"& a":{color:"blue.500",textDecoration:"underline",textUnderlineOffset:"2px",transition:"color 0.15s ease",_hover:{color:"blue.600"}},"& code":{bg:"blue.50",color:"blue.700",px:1.5,py:.5,borderRadius:"4px",fontSize:"0.9em",fontFamily:"'SF Mono', 'Fira Code', Menlo, Consolas, monospace"},"& pre":{bg:"#0d1117",color:"#e6edf3",p:4,borderRadius:"0 8px 8px 8px",borderLeft:"3px solid",borderLeftColor:"blue.500",overflowX:"auto",my:6,fontSize:"14px",lineHeight:1.6,"& code":{bg:"transparent",p:0,color:"inherit",fontSize:"inherit"}},"& blockquote":{borderLeft:"4px solid",borderColor:"blue.400",pl:4,py:1,my:6,bg:"blue.50",borderRadius:"0 8px 8px 0","& p":{color:"gray.700",fontStyle:"italic",mb:0}},"& table":{width:"100%",borderCollapse:"collapse",my:6,fontSize:"14px"},"& th, & td":{border:"1px solid",borderColor:"gray.200",p:3,textAlign:"left"},"& th":{bg:"gray.50",fontWeight:600,color:"gray.700"},"& tr:hover td":{bg:"gray.50"},"& img":{borderRadius:"8px",my:6,maxWidth:"100%",height:"auto"},"& hr":{border:"none",borderTop:"1px solid",borderColor:"gray.200",my:8},"& strong":{fontWeight:600,color:"gray.900"},"& em":{fontStyle:"italic"}},children:t})}},73819:function(e,t,s){s.r(t);var i=s(57437),o=s(27640),a=s(21183),n=s(40006),r=s(66602),c=s(60373),l=s(27648),d=s(18231),g=s(765
1);let p=e=>{let{children:t}=e;return(0,i.jsx)(o.Center,{w:"28px",h:"28px",borderRadius:"full",border:"1px solid",borderColor:"gray.200",flexShrink:0,transition:"all 0.2s ease",children:t})};t.default=e=>{let{previous:t,next:s}=e;return t||s?(0,i.jsx)(a.Box,{mt:16,pt:8,borderTop:"1px solid",borderColor:"gray.200",children:(0,i.jsxs)(n.HStack,{justify:"space-between",align:"stretch",spacing:4,children:[t?(0,i.jsx)(l.default,{href:t.href,passHref:!0,legacyBehavior:!0,children:(0,i.jsxs)(r.Link,{flex:1,p:4,border:"1px solid",borderColor:"gray.200",borderRadius:"12px",textDecoration:"none",transition:"all 0.2s ease",_hover:{borderColor:"blue.400",bg:"gray.50",textDecoration:"none","& .arrow-circle":{borderColor:"blue.400"}},role:"group",children:[(0,i.jsxs)(n.HStack,{spacing:3,mb:1,children:[(0,i.jsx)(p,{children:(0,i.jsx)(d.T,{size:14,color:"#6B7280",className:"arrow-circle"})}),(0,i.jsxs)(a.Box,{children:[t.section&&(0,i.jsx)(c.Text,{fontSize:"12px",color:"gray.400",fontWeight:400,lineHeight:"1",children:t.section}),(0,i.jsx)(c.Text,{fontSize:"12px",fontWeight:500,color:"gray.500",mt:t.section?1:0,children:"Previous"})]})]}),(0,i.jsx)(c.Text,{fontSize:"15px",fontWeight:500,color:"gray.900",pl:"40px",children:t.title})]})}):(0,i.jsx)(a.Box,{flex:1}),s?(0,i.jsx)(l.default,{href:s.href,passHref:!0,legacyBehavior:!0,children:(0,i.jsxs)(r.Link,{flex:1,p:4,border:"1px solid",borderColor:"gray.200",borderRadius:"12px",textDecoration:"none",textAlign:"right",transition:"all 0.2s ease",_hover:{borderColor:"blue.400",bg:"gray.50",textDecoration:"none","& .arrow-circle":{borderColor:"blue.400"}},role:"group",children:[(0,i.jsxs)(n.HStack,{spacing:3,mb:1,justify:"flex-end",children:[(0,i.jsxs)(a.Box,{children:[s.section&&(0,i.jsx)(c.Text,{fontSize:"12px",color:"gray.400",fontWeight:400,lineHeight:"1",textAlign:"right",children:s.section}),(0,i.jsx)(c.Text,{fontSize:"12px",fontWeight:500,color:"gray.500",mt:s.section?1:0,textAlign:"right",children:"Next"})]}),(0,i.jsx)(p,{children:(0,i.jsx)(g.m,{size:14,color:"#6B7280",className:"arrow-circle"})})]}),(0,i.jsx)(c.Text,{fontSize:"15px",fontWeight:500,color:"gray.900",pr:"40px",children:s.title})]})}):(0,i.jsx)(a.Box,{flex:1})]})}):null}},25723:function(e,t,s){var i=s(57437),o=s(99522),a=s(73819);t.default=e=>{let{currentSlug:t}=e,{previous:s,next:n}=(0,o.Ti)(t);return(0,i.jsx)(a.default,{previous:s,next:n})}},31684:function(e,t,s){var i=s(57437),o=s(2265),a=s(21183),n=s(80773),r=s(79634),c=s(890),l=s(40006),d=s(12240),g=s(39292),p=s(60373),u=s(6155),h=s(71931),f=s(99376),m=s(99522),y=s(12944);let b=[...m.$p.map(e=>({...e,route:"docs"})),...y.c7.map(e=>({...e,route:"api"}))];t.default=()=>{let[e,t]=(0,o.useState)(""),[s]=(0,h.Nr)(e,200),[m,y]=(0,o.useState)([]),[k,x]=(0,o.useState)(!1),[v,w]=(0,o.useState)(0),[A,S]=(0,o.useState)(!0),C=(0,f.useRouter)(),I=(0,o.useRef)(),j=(0,o.useRef)();(0,o.useEffect)(()=>{S(navigator.platform.toUpperCase().indexOf("MAC")>=0)},[]),(0,o.useEffect)(()=>{if(s.length>=2){let e=s.toLowerCase(),t=b.filter(t=>t.title.toLowerCase().includes(e)||t.description.toLowerCase().includes(e)||t.keywords.some(t=>t.toLowerCase().includes(e))).slice(0,8);y(t),x(t.length>0),w(0)}else y([]),x(!1)},[s]),(0,o.useEffect)(()=>{let e=e=>{if((e.metaKey||e.ctrlKey)&&"k"===e.key){var t;e.preventDefault(),null===(t=j.current)||void 0===t||t.focus()}};return document.addEventListener("keydown",e),()=>document.removeEventListener("keydown",e)},[]),(0,o.useEffect)(()=>{let e=e=>{I.current&&!I.current.contains(e.target)&&x(!1)};return document.addEventListener("mousedown",e),()=>document.removeEventListener("mousedown",e)},[]);let T=(0,o.useCallback)(e=>{if(k)switch(e.key){case"ArrowDown":e.preventDefault(),w(e=>(e+1)%m.length);break;case"ArrowUp":e.preventDefault(),w(e=>(e-1+m.length)%m.length);break;case"Enter":e.preventDefault(),m[v]&&P(m[v]);break;case"Escape":var t;x(!1),null===(t=j.current)||void 0===t||t.blur()}},[k,m,v]),P=e=>{let s="api"===e.route?"/developers":"/docs",i=e.slug?"".concat(s,"/").concat(e.slug):s;C.push(i),x(!1),t("")};return(0,i.jsxs)(a.Box,{position:"relative",ref:I,w:"full",maxW:"320px",children:[(0,i.jsxs)(n.InputGroup,{size:"sm",children:[(0,i.jsx)(r.InputLeftElement,{pointerEvents:"none",h:"full",children:(0,i.jsx)(u.O,{color:"#A0AEC0",size:16})}),(0,i.jsx)(c.Input,{ref:j,placeholder:"Search docs...",value:e,onCh
1ange:e=>t(e.target.value),onKeyDown:T,onFocus:()=>e.length>=2&&m.length>0&&x(!0),borderRadius:"8px",h:"36px",bg:"white",border:"1px solid",borderColor:"gray.200",fontSize:"14px",_focus:{borderColor:"blue.400",boxShadow:"0 0 0 1px var(--chakra-colors-blue-400)"},_placeholder:{color:"gray.400"}}),(0,i.jsx)(r.InputRightElement,{pointerEvents:"none",h:"full",pr:6,children:(0,i.jsxs)(l.HStack,{spacing:.5,children:[(0,i.jsx)(d.Kbd,{fontSize:"10px",bg:"gray.100",borderColor:"gray.200",px:1.5,children:A?"â":"Ctrl"}),(0,i.jsx)(d.Kbd,{fontSize:"10px",bg:"gray.100",borderColor:"gray.200",px:1.5,children:"K"})]})})]}),k&&(0,i.jsx)(a.Box,{position:"absolute",top:"calc(100% + 8px)",left:0,w:"420px",minW:"420px",bg:"white",boxShadow:"xl",borderRadius:"12px",maxH:"440px",overflowY:"auto",zIndex:1e3,border:"1px solid",borderColor:"gray.200",py:2,children:(0,i.jsx)(g.VStack,{align:"stretch",spacing:0,children:m.map((e,t)=>(0,i.jsx)(a.Box,{px:4,py:3,cursor:"pointer",bg:v===t?"gray.50":"transparent",onClick:()=>P(e),onMouseEnter:()=>w(t),transition:"background 0.1s ease",children:(0,i.jsxs)(l.HStack,{justify:"space-between",align:"flex-start",children:[(0,i.jsxs)(a.Box,{flex:1,children:[(0,i.jsxs)(l.HStack,{spacing:2,mb:.5,children:[(0,i.jsx)(p.Text,{fontSize:"10px",fontWeight:600,textTransform:"uppercase",letterSpacing:"0.04em",color:"api"===e.route?"blue.600":"green.600",bg:"api"===e.route?"blue.50":"green.50",px:1.5,py:.5,borderRadius:"3px",lineHeight:"1",children:"api"===e.route?"API":"Docs"}),(0,i.jsx)(p.Text,{fontWeight:500,fontSize:"14px",color:"gray.900",noOfLines:1,children:e.title})]}),(0,i.jsx)(p.Text,{fontSize:"13px",color:"gray.500",noOfLines:1,children:e.description})]}),(0,i.jsx)(p.Text,{fontSize:"11px",color:"gray.400",bg:"gray.100",px:2,py:.5,borderRadius:"4px",flexShrink:0,ml:3,children:e.section})]})},"".concat(e.route,"-").concat(e.slug)))})})]})}},61072:function(e,t,s){var i=s(57437),o=s(2265),a=s(21183),n=s(98314),r=s(62616),c=s(39292),l=s(66602),d=s(60373),g=s(27648),p=s(99376),u=s(99522),h=s(31684);let f=e=>{let{isOpen:t}=e;return(0,i.jsx)(a.Box,{as:"svg",width:"12px",height:"12px",viewBox:"0 0 12 12",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round",transition:"transform 0.2s ease",transform:t?"rotate(90deg)":"rotate(0deg)",flexShrink:0,children:(0,i.jsx)("path",{d:"M4.5 2.5L8 6L4.5 9.5"})})},m=e=>{let{item:t,pathname:s,expandedItems:o,toggleExpanded:d,router:p}=e,u=t.children&&t.children.length>0,h=e=>"/docs"===e?"/docs"===s:s===e,m=h(t.href),y=!!u&&t.children.some(e=>h(e.href)),b=o[t.slug]||!1;return u?(0,i.jsxs)(a.Box,{children:[(0,i.jsxs)(n.Flex,{align:"center",justify:"space-between",py:2,px:3,fontSize:"14px",fontWeight:m||y?500:400,color:m?"blue.600":y?"gray.900":"gray.700",bg:m?"blue.50":"transparent",borderLeft:"2px solid",borderColor:m?"blue.500":y?"blue.200":"transparent",borderRadius:"0 6px 6px 0",cursor:"pointer",transition:"all 0.15s ease",_hover:{color:m?"blue.600":"gray.900",bg:m?"blue.50":"gray.50"},onClick:()=>{o[t.slug]||d(t.slug),p.push(t.href)},role:"button","aria-expanded":b,children:[(0,i.jsx)(a.Box,{flex:1,children:t.title}),(0,i.jsx)(a.Box,{color:"gray.400",ml:2,children:(0,i.jsx)(f,{isOpen:b})})]}),(0,i.jsx)(r.Collapse,{in:b,animateOpacity:!0,children:(0,i.jsx)(c.VStack,{align:"stretch",spacing:0,pl:3,mt:1,children:t.children.map(e=>{let t=h(e.href);return(0,i.jsx)(g.default,{href:e.href,passHref:!0,legacyBehavior:!0,children:(0,i.jsx)(l.Link,{display:"block",py:1.5,px:3,fontSize:"13px",fontWeight:t?500:400,color:t?"blue.600":"gray.600",bg:t?"blue.50":"transparent",borderLeft:"1px solid",borderColor:t?"blue.400":"gray.200",textDecoration:"none",transition:"all 0.15s ease",_hover:{color:t?"blue.600":"gray.800",bg:t?"blue.50":"gray.50",borderColor:t?"blue.400":"gray.300",textDecoration:"none"},children:e.title})},e.href)})})})]}):(0,i.jsx)(g.default,{href:t.href,passHref:!0,legacyBehavior:!0,children:(0,i.jsx)(l.Link,{display:"block",py:2,px:3,fontSize:"14px",fontWeight:m?500:400,color:m?"blue.600":"gray.700",bg:m?"blue.50":"transparent",borderLeft:"2px s
1olid",borderColor:m?"blue.500":"transparent",borderRadius:"0 6px 6px 0",textDecoration:"none",transition:"all 0.15s ease",_hover:{color:m?"blue.600":"gray.900",bg:m?"blue.50":"gray.50",textDecoration:"none"},children:t.title})})};t.default=()=>{let e=(0,p.usePathname)(),t=(0,p.useRouter)(),[s,n]=(0,o.useState)({});(0,o.useEffect)(()=>{let t={};u.ck.forEach(s=>{s.items.forEach(s=>{if(s.children){let i=e===s.href,o=s.children.some(t=>e===t.href);(i||o)&&(t[s.slug]=!0)}})}),n(t)},[e]);let r=e=>{n(t=>({...t,[e]:!t[e]}))};return(0,i.jsxs)(a.Box,{maxH:"calc(100vh - 120px)",display:"flex",flexDirection:"column",children:[(0,i.jsx)(a.Box,{mb:6,pr:4,flexShrink:0,children:(0,i.jsx)(h.default,{})}),(0,i.jsx)(a.Box,{as:"nav","aria-label":"Documentation navigation",overflowY:"auto",pr:4,pb:8,flex:1,css:{scrollbarWidth:"thin",scrollbarColor:"#E2E8F0 transparent","&::-webkit-scrollbar":{width:"4px"},"&::-webkit-scrollbar-track":{background:"transparent"},"&::-webkit-scrollbar-thumb":{background:"#E2E8F0",borderRadius:"4px"}},children:(0,i.jsx)(c.VStack,{align:"stretch",spacing:0,children:u.ck.map((o,n)=>(0,i.jsxs)(a.Box,{children:[n>0&&(0,i.jsx)(a.Box,{as:"hr",border:"none",borderTop:"1px solid",borderColor:"gray.100",my:4}),(0,i.jsx)(d.Text,{fontSize:"11px",fontWeight:600,color:"gray.500",textTransform:"uppercase",letterSpacing:"0.07em",mb:3,children:o.title}),(0,i.jsx)(c.VStack,{align:"stretch",spacing:1,children:o.items.map(o=>(0,i.jsx)(m,{item:o,pathname:e,expandedItems:s,toggleExpanded:r,router:t},o.href))})]},o.title))})})]})}},26996:function(e,t,s){var i=s(57437),o=s(21183),a=s(60373),n=s(39292),r=s(66602),c=s(53093);t.default=e=>{let{headings:t=[]}=e,s=t.map(e=>e.id),l=(0,c.default)(s);if(0===t.length)return null;let d=(e,t)=>{e.preventDefault();let s=document.getElementById(t);if(s){let e=s.getBoundingClientRect().top+window.pageYOffset-100;window.scrollTo({top:e,behavior:"smooth"}),window.history.pushState(null,"","#".concat(t))}};return(0,i.jsxs)(o.Box,{as:"nav","aria-label":"Table of contents",maxH:"calc(100vh - 120px)",overflowY:"auto",pl:4,borderLeft:"1px solid",borderColor:"gray.200",css:{scrollbarWidth:"thin",scrollbarColor:"#E2E8F0 transparent","&::-webkit-scrollbar":{width:"4px"},"&::-webkit-scrollbar-track":{background:"transparent"},"&::-webkit-scrollbar-thumb":{background:"#E2E8F0",borderRadius:"4px"}},children:[(0,i.jsx)(a.Text,{fontSize:"12px",fontWeight:600,color:"gray.500",textTransform:"uppercase",letterSpacing:"0.05em",mb:3,children:"On this page"}),(0,i.jsx)(n.VStack,{align:"stretch",spacing:0,children:t.map(e=>{let t=l===e.id,s=3===e.level;return(0,i.jsx)(r.Link,{href:"#".concat(e.id),onClick:t=>d(t,e.id),display:"block",py:1.5,pl:s?5:3,pr:2,fontSize:"13px",fontWeight:t?500:400,color:t?"blue.600":"gray.600",borderLeft:"2px solid",borderColor:t?"blue.500":"transparent",ml:"-17px",lineHeight:"1.4",transition:"all 0.15s ease",textDecoration:"none",_hover:{color:t?"blue.600":"gray.900",textDecoration:"none"},children:e.text},e.id)})})]})}},53093:function(e,t,s){var i=s(2265);t.default=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],[t,s]=(0,i.useState)(""),o=(0,i.useRef)(e);return(0,i.useEffect)(()=>{o.current=e},[e]),(0,i.useEffect)(()=>{if(0===e.length)return;let t=()=>{let e=window.scrollY,t=o.current[0];for(let s of o.current){let i=document.getElementById(s);if(i){if(e>=i.offsetTop-150)t=s;else break}}return t},i=()=>{s(t())};return i(),window.addEventListener("scroll",i,{passive:!0}),()=>{window.removeEventListener("scroll",i)}},[e]),t}},46035:function(e,t,s){var i=s(2265);t.default=e=>{let[t,s]=(0,i.useState)([]),o=(0,i.useCallback)(()=>{let t=null==e?void 0:e.current;if(!t)return;let i=Array.from(t.querySelectorAll("h2[id], h3[id]")).map(e=>({id:e.id,text:e.textContent||"",level:"H2"===e.tagName?2:3}));s(e=>e.length===i.length&&e.every((e,t)=>e.id===i[t].id)?e:i)},[e]);return(0,i.useEffect)(()=>{o();let t=null==e?void 0:e.current;if(!t)return;let s=new MutationObserver(o);return s.observe(t,{childList:!0,subtree:!0}),()=>s.disconnect()},[o,e]),t}},12944:function(e,t,s){s.d(t,{YY:function(){return n},ZR:function(){return a},c7:function(){return r},o3:function(){return i}});let i=[{title:"Getting Started",items:[{title:"Overview",href:"/developers",slug:""},{title:"Quick Start",href:"/developers/quick-start",slug:"quick-start"},{title:"Authentication",href:"/developers/authentication",slug:"authentication"},{title:"Rate Limits",href:"/developers/rate-limits",slug:"rate-limits"},{title:"Errors",href:"/developers/errors",slug:"errors"}]},{title:"Core Concepts",items:[{title:"Pagination",href:"/developers/pagination",slug:"pagination"},{title:"Streaming",href:"/developers/streaming",slug:"streaming"}]},{title:"Chat Widget",items:[{title:"Embed Guide",href:"/developers/widget",slug:"widget"},{title:"Controls",href:"/developers/widget/controls",slug:"widget/controls"},{title:"Events",href:"/developers/widget/events",slug:"widget/events"},{title:"Custom Messages",href:"/developers/widget/custom-messages",slug:"widget/custom-messages"},{title:"Custom Actions",href:"/developers/widget/custom-actions",slug:"widget/custom-actions"},{title:"Identity Verification",href:"/developers/widget/identity-verification",slug:"widget/identity-verification"}]},{title:"REST API",items:[{title:"Overview",href:"/developers/api-reference",slug:"api-reference"},{title:"Health",href:"/developers/api-reference/health",slug:"api-reference/health"}]},{title:"Chat API",items:[{title:"Send Message",href:"/developers/api-reference/chat",slug:"api-reference/chat"}]},{title:"Agents",items:[{title:"List Agents",href:"/developers/api-reference/agents",slug:"api-reference/agents"},{title:"Get Agent",href:"/developers/api-reference/agents/get",slug:"api-reference/agents/get"},{title:"Update Agent",href:"/developers/api-reference/agents/update",slug:"api-reference/agents/update"},{title:"Create Agent",href:"/developers/api-reference/agents/create",slug:"api-reference/agents/create"},{title:"Delete Agent",href:"/developers/api-reference/agents/delete",slug:"api-reference/agents/delete"}]},{title:"Conversations",items:[{title:"List Conversations",href:"/developers/api-reference/conversations",slug:"api-reference/conversations"},{title:"Get Conversation",href:"/developers/api-reference/conversations/get",slug:"api-reference/conversations/get"},{title:"List Messages",href:"/developers/api-reference/conversations/messages",slug:"api-reference/conversations/messages"}]},{title:"Leads",items:[{title:"List Leads",href:"/developers/api-reference/leads",slug:"api-reference/leads"}]},{title:"Analytics",items:[{title:"Get Analytics",href:"/developers/api-reference/analytics",slug:"api-reference/analytics"}]},{title:"Training Data",items:[{title:"List Sources",href:"/developers/api-reference/training",slug:"api-reference/training"},{title:"Add Source",href:"/developers/api-reference/training/add",slug:"api-reference/training/add"},{title:"Delete Source",href:"/developers/api-reference/training/delete",slug:"api-reference/training/delete"}]},{title:"Feedback",items:[{title:"Message Feedback",href:"/developers/api-reference/feedback",slug:"api-reference/feedback"}]},{title:"Webhooks",items:[{title:"Overview",href:"/developers/webhooks",slug:"webhooks"},{title:"Events",href:"/developers/webhooks/events",slug:"webhooks/events"},{title:"Management API",href:"/developers/webhooks/management",slug:"webhooks/management"}]},{title:"SDK",items:[{title:"Node.js / TypeScript",href:"/developers/sdk",slug:"sdk"}]},{title:"Resources",items:[{title:"Changelog",href:"/developers/changelog",slug:"changelog"}]}],o=()=>{let e=[];
1return i.forEach(t=>{t.items.forEach(t=>e.push(t))}),e},a=e=>{for(let t of i){let s=t.items.find(t=>t.slug===e);if(s)return[{title:"Developers",href:"/developers"},{title:t.title,href:null},{title:s.title,href:s.href}]}return[{title:"Developers",href:"/developers"}]},n=e=>{let t=o(),s=t.findIndex(t=>t.slug===e);return{previous:s>0?t[s-1]:null,next:s<t.length-1?t[s+1]:null}},r=[{slug:"",title:"Developer Overview",description:"Build integrations with the ChatSpark REST API and JavaScript widget.",section:"Getting Started",keywords:["developer","api","overview","getting started"]},{slug:"quick-start",title:"Quick Start",description:"Send your first API request in under 5 minutes.",section:"Getting Started",keywords:["quick start","tutorial","first request","curl","node","python"]},{slug:"authentication",title:"Authentication",description:"API key authentication, test mode, and scoped permissions.",section:"Getting Started",keywords:["auth","api key","bearer","token","test mode","cs_live","cs_test","scopes"]},{slug:"rate-limits",title:"Rate Limits",description:"Understand rate limiting, headers, and retry strategies.",section:"Getting Started",keywords:["rate limit","throttle","429","retry","headers"]},{slug:"errors",title:"Errors",description:"Structured error codes, HTTP status codes, and troubleshooting.",section:"Getting Started",keywords:["error","error codes","status","troubleshooting","400","401","403","404","500"]},{slug:"pagination",title:"Pagination",description:"Cursor-based pagination for list endpoints.",section:"Core Concepts",keywords:["pagination","cursor","limit","next","previous","list"]},{slug:"streaming",title:"Streaming",description:"Server-Sent Events for real-time chat responses.",section:"Core Concepts",keywords:["streaming","SSE","server-sent events","real-time","stream"]},{slug:"widget",title:"Embed Guide",description:"Install the ChatSpark widget on your website.",section:"Chat Widget",keywords:["widget","embed","install","script","website","javascript"]},{slug:"widget/controls",title:"Widget Controls",description:"Programmatically open, close, and control the chat widget.",section:"Chat Widget",keywords:["controls","open","close","toggle","show","hide","widget"]},{slug:"widget/events",title:"Widget Events",description:"Listen to widget lifecycle and message events.",section:"Chat Widget",keywords:["events","listener","callback","message","ready","open","close"]},{slug:"widget/custom-messages",title:"Custom Messages",description:"Send custom messages and rich content to the widget.",section:"Chat Widget",keywords:["custom messages","rich","html","cards","buttons"]},{slug:"widget/custom-actions",title:"Custom Actions",description:"Define custom action buttons in the chat widget.",section:"Chat Widget",keywords:["custom actions","buttons","actions","click"]},{slug:"widget/identity-verification",title:"Identity Verification",description:"Verify user identity with HMAC signatures.",section:"Chat Widget",keywords:["identity","verification","HMAC","security","user"]},{slug:"api-reference",title:"API Reference",description:"Complete REST API reference for all endpoints.",section:"REST API",keywords:["api reference","endpoints","REST","v1"]},{slug:"api-reference/health",title:"Health Check",description:"Check API availability and version.",section:"REST API",keywords:["health","status","ping","uptime"]},{slug:"api-reference/chat",title:"Send Message",description:"Send a message to an AI agent and get a response.",section:"Chat API",keywords:["chat","message","send","conversation","response","stream"]},{slug:"api-reference/agents",title:"List Agents",description:"Retrieve a list of all AI agents.",section:"Agents",keywords:["agents","list","chatbot","get all"]},{slug:"api-reference/agents/get",title:"Get Agent",description:"Retrieve details of a specific AI agent.",section:"Agents",keywords:["agent","get","details","single"]},{slug:"api-reference/agents/update",title:"Update Agent",description:"Update an existing AI agent configuration.",section:"Agents",keywords:["agent","update","patch","modify","edit"]},{slug:"api-reference/agents/create",title:"Create Agent",description:"Create a new AI agent.",section:"Agents",keywords:["agent","create","new","post"]},{slug:"api-reference/agents/delete",title:"Delete Agent",description:"Permanently delete an AI agent.",section:"Agents",keywords:["agent","delete","remove","destroy"]},{slug:"api-reference/conversations",title:"List Conversations",description:"Retrieve conversations for an agent.",section:"Conversations",keywords:["conversations","list","history","chat"]},{slug:"api-reference/conversations/get",title:"Get Conversation",description:"Retrieve a specific conversation.",section:"Conversations",keywords:["conversation","get","details"]},{slug:"api-reference/conversations/messages",title:"List Messages",description:"Retrieve messages from a conversation.",section:"Conversations",keywords:["messages","list","conversation","history"]},{slug:"api-reference/leads",title:"List Leads",description:"Retrieve captured leads.",section:"Leads",keywords:["leads","list","capture","contacts"]},{slug:"api-reference/analytics",title:"Get Analytics",description:"Retrieve analytics data for an agent.",section:"Analytics",keywords:["analytics","stats","metrics","dashboard"]},{slug:"api-reference/training",title:"List Training Sources",description:"Retrieve training data sources.",section:"Training Data",keywords:["training","sources","data","list"]},{slug:"api-reference/training/add",title:"Add Training Source",description:"Add a new training data source.",section:"Training Data",keywords:["training","add","upload","source","data"]},{slug:"api-reference/training/delete",title:"Delete Training Source",description:"Remove a training data source.",section:"Training Data",keywords:["training","delete","remove","source"]},{slug:"api-reference/feedback",title:"Message Feedback",description:"Submit feedback on AI responses.",section:"Feedback",keywords:["feedback","thumbs","rating","quality"]},{slug:"webhooks",title:"Webhooks Overview",description:"Receive real-time notifications for events.",section:"Webhooks",keywords:["webhooks","events","notifications","real-time","callback"]},{slug:"webhooks/events",title:"Webhook Events",description:"All available webhook event types.",section:"Webhooks",keywords:["webhook events","types","payload","conversation","message","lead"]},{slug:"webhooks/management",title:"Webhook Management API",description:"Create, list, update, and delete webhooks.",section:"Webhooks",keywords:["webhook","management","create","delete","update","list","CRUD"]},{slug:"sdk",title:"Node.js / TypeScript SDK",description:"Official ChatSpark SDK for Node.js and TypeScript.",section:"SDK",keywords:["SDK","node","typescript","npm","chatspark","client","library"]},{slug:"changelog",title:"Changelog",description:"Latest changes and updates to the ChatSpark API.",section:"Resources",keywords:["changelog","updates","releases","versions","history"]}]},99522:function(e,t,s){s.d(t,{$p:function(){return o},Ti:function(){return n},ck:function(){return i}});let i=[{title:"Getting Started",items:[{title:"Overview",href:"/docs",slug:""},{title:"Getting Started",href:"/docs/getting-started",slug:"getting-started"}]},{title:"Platform",items:[{title:"How ChatSpark Works",href:"/docs/how-chatspark-works",slug:"how-chatspark-works"},{title:"AI Agents",href:"/docs/ai-agents",slug:"ai-agents"},{title:"Training Your Agent",href:"/docs/training-your-agent",slug:"training-your-agent"},{title:"Deploying Your Agent",href:"/docs/deploying-your-agent",slug:"deploying-your-agent",children:[{title:"WhatsApp",href:"/docs/channels/whatsapp",slug:"channels/whatsapp"},{title:"Facebook Messenger",href:"/docs/channels/facebook",slug:"channels/facebook"},{title:"Instagram DMs",href:"/docs/channels/instagram",slug:"channels/instagram"},{title:"Telegram",href:"/docs/channels/telegram",slug:"channels/telegram"},{title:"Slack",href:"/docs/channels/slack",slug:"channels/slack"},{title:"Discord",href:"/docs/channels/discord",slug:"channels/discord"}]}]},{title:"Features",items:[{title:"Launcher Styles",href:"/docs/launcher-styles",slug:"launcher-styles"},{title:"Lead Capture",href:"/docs/lead-capture",slug:"lead-capture"},{title:"Conversations",href:"/docs/conversations",slug:"conversations"},{title:"AI Agent Triggers",href:"/docs/ai-agent-triggers",slug:"ai-agent-triggers"},{title:"Per-Page Suggested Prompts",href:"/docs/per-page-prompts",slug:"per-page-prompts"},{title:"A/B Testing for AI Agents",href:"/docs/a-b-testing",slug:"a-b-testing"},{title:"Integrations",href:"/docs/integrations",slug:"integrations",children:[{title:"WhatsApp",href:"/docs/channels/whatsapp",slug:"channels/whatsapp"},{title:"Facebook Messenger",href:"/docs/channels/facebook",slug:"channels/facebook"},{title:"Instagram DMs",href:"/docs/channels/instagram",slug:"channels/instagram"},{title:"Telegram",href:"/docs/channels/telegram",slug:"channels/telegram"},{title:"Slack",href:"/docs/channels/slack",slug:"channels/slack"},{title:"Discord",href:"/docs/channels/discord",slug:"channels/discord"}]},{title:"Multilingual Support",href:"/docs/multilingual-support",slug:"multilingual-support"},{title:"Customer Experience Lab",href:"/docs/cx-lab",slug:"cx-lab"},{title:"CoPilot",href:"/docs/copilot",slug:"copilot"},{title:"AI Inbox",href:"/docs/ai-inbox",slug:"ai-inbox"},{title:"AI Operator",href:"/docs/ai-operator",slug:"ai-operator"},{title:"AI Actions",href:"/docs/ai-actions",slug:"ai-actions",children:[{title:"ActiveCampaign",href:"/docs/ai-actions/activecampaign",slug:"ai-actions/activecampaign"},{title:"Airtable",href:"/docs/ai-actions/airtable",slug:"ai-actions/airtable"},{title:"Asana",href:"/docs/ai-actions/asana",slug:"ai-actions/asana"},{title:"BambooHR",href:"/docs/ai-actions/bamboohr",slug:"ai-actions/bamboohr"},{title:"Betterstack",href:"/docs/ai-actions/betterstack",slug:"ai-actions/betterstack"},{title:"BigCommerce",href:"/docs/ai-actions/bigcommerce",slug:"ai-actions/bigcommerce"},{title:"Calendly",href:"/docs/ai-actions/calendly",slug:"ai-actions/calendly"},{title:"Close",href:"/docs/ai-actions/close",slug:"ai-actions/close"},{title:"Confluence",href:"/docs/ai-actions/confluence",slug:"ai-actions/confluence"},{title:"Copper",href:"/docs/ai-actions/copper",slug:"ai-actions/copper"},{title:"CT IDX Pro+",href:"/docs/ai-actions/ct-idx-pro-plus",slug:"ai-actions/ct-idx-pro-plus"},{title:"CT Leads Pro",href:"/docs/ai-actions/ct-leads-pro",slug:"ai-actions/ct-leads-pro"},{title:"EasyAgentIDX",href:"/docs/ai-actions/easyagentidx",slug:"ai-actions/easyagentidx"},{title:"Dynamics 365",href:"/docs/ai-actions/dynamics-365",slug:"ai-actions/dynamics-365"},{title:"Discord",href:"/docs/ai-actions/discord",slug:"ai-actions/discord"},{title:"FireHydrant",href:"/docs/ai-actions/firehydrant",slug:"ai-actions/firehydrant"},{title:"Follow Up Boss",href:"/docs/ai-actions/follow-up-boss",slug:"ai-actions/follow-up-boss"},{title:"Freshchat",href:"/docs/ai-actions/freshchat",slug:"ai-actions/freshchat"},{title:"Jira",href:"/docs/ai-actions/jira",slug:"ai-actions/jira"},{title:"Jira Service Management",href:"/docs/ai-actions/jira-service-management",slug:"ai-actions/jira-service-management"},{title:"Linear",href:"/docs/ai-actions/linear",slug:"ai-actions/linear"},{title:"MLS Grid",href:"/docs/ai-actions/mls-grid",slug:"ai-actions/mls-grid"},{title:"Freshdesk",href:"/docs/ai-actions/freshdesk",slug:"ai-actions/freshdesk"},{title:"Google Calendar",href:"/docs/ai-actions/google-calendar",slug:"ai-actions/google-calendar"},{title:"Google Drive",href:"/docs/ai-actions/google-drive",slug:"ai-actions/google-drive"},{title:"Google Sheets",href:"/docs/ai-actions/google-sheets",slug:"ai-actions/google-sheets"},{title:"HappyFox",href:"/docs/ai-actions/happyfox",slug:"ai-actions/happyfox"},{title:"HappyFox Chat",href:"/docs/ai-actions/happyfox-chat",slug:"ai-actions/happyfox-chat"},{title:"HubSpot",href:"/docs/ai-actions/hubspot",slug:"ai-actions/hubspot"},{title:"Incident.io",href:"/docs/ai-actions/incident-io",slug:"ai-actions/incident-io"},{title:"Instatus",href:"/docs/ai-actions/instatus",slug:"ai-actions/instatus"},{title:"Intercom",href:"/docs/ai-actions/intercom",slug:"ai-actions/intercom"},{title:"Monday.com",href:"/docs/ai-actions/monday",slug:"ai-actions/monday"},{title:"NetSuite",href:"/docs/ai-actions/netsuite",slug:"ai-actions/netsuite"},{title:"Notion",href:"/docs/ai-actions/notion",slug:"ai-actions/notion"},{title:"PagerDuty",href:"/docs/ai-actions/pagerduty",slug:"ai-actions/pagerduty"},{title:"PayPal",href:"/docs/ai-actions/paypal",slug:"ai-actions/paypal"},{title:"Pipedrive",href:"/docs/ai-actions/pipedrive",slug:"ai-actions/pipedrive"},{title:"QuickBooks",href:"/docs/ai-actions/quickbooks",slug:"ai-actions/quickbooks"},{title:"REST API Connector",href:"/docs/ai-actions/rest-api",slug:"ai-actions/rest-api"},{title:"Rippling",href:"/docs/ai-actions/rippling",slug:"ai-actions/rippling"},{title:"Salesforce",href:"/docs/ai-actions/salesforce",slug:"ai-actions/salesforce"},{title:"SharePoint",href:"/docs/ai-actions/sharepoint",slug:"ai-actions/sharepoint"},{title:"Shopify",href:"/docs/ai-actions/shopify",slug:"ai-actions/shopify"},{title:"SimplyRETS",href:"/docs/ai-actions/simplyrets",slug:"ai-actions/simplyrets"},{title:"SQL Database Connector",href:"/docs/ai-actions/sql-database",slug:"ai-actions/sql-database"},{title:"Statuspage",href:"/docs/ai-actions/statuspage",slug:"ai-actions/statuspage"},{title:"Square",href:"/docs/ai-actions/square",slug:"ai-actions/square"}
1,{title:"Stripe",href:"/docs/ai-actions/stripe",slug:"ai-actions/stripe"},{title:"Trestle",href:"/docs/ai-actions/trestle",slug:"ai-actions/trestle"},{title:"Twilio",href:"/docs/ai-actions/twilio",slug:"ai-actions/twilio"},{title:"Workday",href:"/docs/ai-actions/workday",slug:"ai-actions/workday"},{title:"WooCommerce",href:"/docs/ai-actions/woocommerce",slug:"ai-actions/woocommerce"},{title:"Xero",href:"/docs/ai-actions/xero",slug:"ai-actions/xero"},{title:"Zendesk",href:"/docs/ai-actions/zendesk",slug:"ai-actions/zendesk"},{title:"Zoho CRM",href:"/docs/ai-actions/zoho-crm",slug:"ai-actions/zoho-crm"}]},{title:"Training Suggestions",href:"/docs/training-suggestions",slug:"training-suggestions"},{title:"Team & Security",href:"/docs/team-and-security",slug:"team-and-security"},{title:"Account Settings",href:"/docs/account-settings",slug:"account-settings"}]},{title:"Insights",items:[{title:"Analytics & Dashboard",href:"/docs/analytics",slug:"analytics"},{title:"Monthly ROI Reports",href:"/docs/monthly-roi-reports",slug:"monthly-roi-reports"}]},{title:"Trust",items:[{title:"Security & Privacy",href:"/docs/security-and-privacy",slug:"security-and-privacy"}]}],o=[{slug:"",title:"Documentation Overview",description:"Welcome to ChatSpark documentation. Learn how to build AI-powered customer service.",section:"Getting Started",keywords:["docs","documentation","overview","home","start"]},{slug:"getting-started",title:"Getting Started",description:"Set up your first AI agent in under 5 minutes with this step-by-step guide.",section:"Getting Started",keywords:["setup","onboarding","signup","create","first","quick start","tutorial","WordPress","plugin","install","embed","deploy","trigger","button","link","cs-trigger-agent","data-trigger","custom element"]},{slug:"how-chatspark-works",title:"How ChatSpark Works",description:"Discover the ChatSpark AI Engine and understand how it delivers 80%+ resolution rates.",section:"Platform",keywords:["how it works","AI","technology","architecture","conversational","GPT","LLM","AI Engine","ChatSpark AI Engine","resolution rates","reranking"]},{slug:"ai-agents",title:"AI Agents",description:"Learn about AI agent capabilities, customization, and best practices. Powered by the ChatSpark AI Engine.",section:"Platform",keywords:["AI agent","agent","chatbot","bot","capabilities","limitations","personality","tone","customize","AI Engine","content carousel","carousel","rich cards","canned responses","trigger words","unknown response","fallback","google analytics","GA4","tracking","KPI","avatar","color","widget","name","welcome message","greeting","suggested prompts","agent type","settings","lead capture","Zapier","tickets","handoff","conversation memory","memory","context","session","resolution rate","autonomous"]},{slug:"training-your-agent",title:"Training Your Agent",description:"Add training data from files, text, and websites to teach your agent.",section:"Platform",keywords:["training","data","files","PDF","website","crawl","upload","knowledge","training sources","text","documents","Word","CSV","PowerPoint","YouTube","video","transcript"]},{slug:"deploying-your-agent",title:"Deploying Your Agent",description:"Deploy your AI agent to your website, WhatsApp, Facebook Messenger, Instagram, Telegram, Slack, or Discord. Website embed and all channel setup guides.",section:"Platform",keywords:["embed","install","deploy","script tag","snippet","code","WordPress","plugin","Shopify","Wix","Squarespace","Webflow","website","loader.js","chatbot id","widget","floating","body tag","WhatsApp","Facebook","Instagram","Telegram","Slack","Discord","channel","agent type"]},{slug:"launcher-styles",title:"Launcher Styles",description:"Choose how visitors discover, begin, and return to AI conversations. Use the bottom-right Classic Bubble or the bottom-center Conversation Bar.",section:"Features",keywords:["launcher","launcher style","conversation bar","classic bubble","chat launcher","chat button","floating chat","bottom right","bottom center","suggested prompts","per-page suggested prompts","resume conversation","continue conversation","existing conversation","conversation entry","mobile","cookie banner","bottom banner"]},{slug:"lead-capture",title:"Lead Capture",description:"Capture leads or create support tickets automatically with AI-powered forms.",section:"Features",keywords:["leads","capture","form","email","phone","CRM","Zapier","engagement","tickets","Zen
1desk","HappyFox","Freshdesk","Intercom","Help Scout","helpdesk","support"]},{slug:"conversations",title:"Conversations",description:"Search, browse, and review every conversation your AI agents have. Manage contact details, track engagement, surface CoPilot activity, and follow up directly from the transcript view.",section:"Features",keywords:["history","conversations","messages","transcript","search","activity","copilot","contact panel","custom fields","engagement badge","team member","unified view","agent type filter","page views","ai actions timeline","transcript"]},{slug:"ai-agent-triggers",title:"AI Agent Triggers",description:"Trigger your AI Agent from buttons, links, and custom elements on your website. Configure automatic behavior-based triggers or use the JavaScript API.",section:"Features",keywords:["trigger","button","link","cs-trigger-agent","data-trigger","custom element","click","open chat","contact form","product prompt","support","widget","proactive","automatic","time on page","scroll depth","exit intent","page visit","ChatSpark.trigger"]},{slug:"per-page-prompts",title:"Per-Page Suggested Prompts",description:"Show visitors context-specific suggested questions based on the page they are currently viewing.",section:"Features",keywords:["per-page prompts","suggested prompts","page specific","URL rule","context","pricing page","generate prompts","conversation starters","widget prompts","Plus"]},{slug:"a-b-testing",title:"A/B Testing for AI Agents",description:"Test two versions of your AI Agent simultaneously and compare performance in the Intelligence dashboard.",section:"Features",keywords:["A/B testing","variant","experiment","split test","welcome message","personality","traffic split","Intelligence dashboard","declare winner","Pro"]},{slug:"integrations",title:"Integrations",description:"Deploy AI agents to Website, WhatsApp, Messenger, Instagram, Slack, or Telegram. Plus Freshchat, Calendly, Square, and Zapier.",section:"Features",keywords:["integrations","channels","WhatsApp","Messenger","Slack","Instagram","Telegram","Zapier","Calendly","Square","Freshchat","handoff","live agent","booking","appointments","agent type","platform","deploy","multi-channel","Zendesk","HappyFox","Freshdesk","Intercom","Help Scout","tickets","helpdesk","support"]},{slug:"channels/whatsapp",title:"WhatsApp Channel",description:"Connect your AI agent to WhatsApp Business. Full setup guide with prerequisites, Meta Business verification, and phone number configuration.",section:"Features",keywords:["WhatsApp","WhatsApp Business","WhatsApp API","Meta Business","phone number","connect WhatsApp","channel setup","WABA","messenger","mobile","business verification"]},{slug:"channels/facebook",title:"Facebook Messenger Channel",description:"Connect your AI agent to Facebook Messenger. Setup guide covering Facebook Page connection, OAuth, page selection, and trigger words.",section:"Features",keywords:["Facebook","Messenger","Facebook Page","Facebook Messenger","connect Facebook","channel setup","OAuth","page admin","trigger word","live agent","handoff"]}
1,{slug:"channels/instagram",title:"Instagram DMs Channel",description:"Connect your AI agent to Instagram Direct Messages. Covers Professional account setup, Facebook Page linking, and OAuth connection.",section:"Features",keywords:["Instagram","Instagram DMs","Instagram direct messages","Professional account","creator account","business account","Facebook Page","linked accounts","connect Instagram","channel setup","trigger word"]},{slug:"channels/telegram",title:"Telegram Channel",description:"Connect your AI agent to Telegram. Create a bot with BotFather, paste your token, and ChatSpark handles webhook registration automatically.",section:"Features",keywords:["Telegram","Telegram bot","BotFather","bot token","connect Telegram","channel setup","webhook","slash command","newbot"]},{slug:"channels/slack",title:"Slack Channel",description:"Connect your AI agent to Slack. Covers App Manifest creation, workspace installation, and Bot User OAuth Token configuration.",section:"Features",keywords:["Slack","Slack bot","Slack app","App Manifest","Bot User OAuth Token","xoxb","workspace","connect Slack","channel setup","app mention","direct message"]},{slug:"channels/discord",title:"Discord Channel",description:"Connect your AI agent to Discord as a bot. Covers Developer Portal setup, bot token, Interactions Endpoint URL, and inviting the bot to your server.",section:"Features",keywords:["Discord","Discord bot","Discord Developer Portal","bot token","Interactions Endpoint URL","slash command","/ask","connect Discord","channel setup","OAuth2","applications.commands"]},{slug:"multilingual-support",title:"Multilingual Support",description:"Automatic language detection and response in 100+ languages.",section:"Features",keywords:["multilingual","languages","translation","international","global","detection"]},{slug:"cx-lab",title:"Customer Experience Lab",description:"Version, validate, approve, and govern every AI configuration change before it reaches production. Enterprise only.",section:"Features",keywords:["simulation","validation","deployment","governance","regression","personas","scorecard","approval","versioning","enterprise","cx lab","customer experience lab","configuration version","deployment approval","regression testing","knowledge coverage"]},{slug:"copilot",title:"ChatSpark CoPilot",description:"Browser extension that brings your AI agent into Gmail, Zendesk, Salesforce, and any web app.",section:"Features",keywords:["copilot","browser extension","chrome","gmail","zendesk","salesforce","sidebar","internal","team","enterprise"]},{slug:"ai-actions",title:"AI Actions",description:"Enable your AI agent to perform real actions like booking appointments, looking up orders, and creating support tickets.",section:"Features",keywords:["AI Actions","actions","function calling","API","automation","integrations","real-time","booking","orders","tickets","CRM","e-commerce"]},{slug:"ai-actions/shopify",title:"Shopify",description:"Look up order status, track shipments, check inventory, and get product info from your Shopify store.",section:"AI Actions",keywords:["Shopify","e-commerce","orders","tracking","inventory","products","order status","shipment"]},{slug:"ai-actions/woocommerce",title:"WooCommerce",description:"Look up order status, track shipments, check inventory, and get product info from your WooCommerce store.",section:"AI Actions",keywords:["WooCommerce","WordPress","e-commerce","orders","tracking","inventory","products","order status"]},{slug:"ai-actions/bigcommerce",title:"BigCommerce",description:"Look up order status, track shipments, check inventory, and get product info from your BigCommerce store.",section:"AI Actions",keywords:["BigCommerce","e-commerce","orders","tracking","inventory","products","order status"]},{slug:"ai-actions/zendesk",title:"Zendesk",description:"Create tickets, check ticket status, search knowledge base, and hand off to live agents via Zendesk.",section:"AI Actions",keywords:["Zendesk","support","tickets","helpdesk","knowledge base","live agent","handoff","escalation"]}
1,{slug:"ai-actions/freshdesk",title:"Freshdesk",description:"Create tickets, check ticket status, search knowledge base, and hand off to live agents via Freshdesk.",section:"AI Actions",keywords:["Freshdesk","support","tickets","helpdesk","knowledge base","live agent","handoff","escalation"]},{slug:"ai-actions/happyfox",title:"HappyFox",description:"Create tickets, check ticket status, and search knowledge base via HappyFox.",section:"AI Actions",keywords:["HappyFox","support","tickets","helpdesk","knowledge base"]},{slug:"ai-actions/freshchat",title:"Freshchat",description:"Hand off conversations to live Freshchat agents and create new conversations.",section:"AI Actions",keywords:["Freshchat","live chat","handoff","live agent","escalation","messaging"]},{slug:"ai-actions/intercom",title:"Intercom",description:"Create conversations, get user info, add notes, and hand off to live agents via Intercom.",section:"AI Actions",keywords:["Intercom","messaging","live chat","conversations","handoff","live agent","escalation","user notes"]},{slug:"ai-actions/happyfox-chat",title:"HappyFox Chat",description:"Check agent availability and hand off conversations to live HappyFox Chat agents.",section:"AI Actions",keywords:["HappyFox Chat","live chat","handoff","live agent","escalation","availability"]},{slug:"ai-actions/twilio",title:"Twilio",description:"Send SMS, MMS, and WhatsApp messages, validate phone numbers, and alert your team â all triggered by your AI agent through natural conversation.",section:"AI Actions",keywords:["Twilio","SMS","MMS","WhatsApp","text message","messaging","phone","notifications","booking confirmation","lead alert","CPaaS","phone lookup","landline","mobile"]},{slug:"ai-actions/stripe",title:"Stripe",description:"Check payment status, get invoice details, and list customer charges via Stripe.",section:"AI Actions",keywords:["Stripe","payments","invoices","charges","payment status","billing"]},{slug:"ai-actions/paypal",title:"PayPal",description:"Check transaction status, get invoice details, and check refund status via PayPal.",section:"AI Actions",keywords:["PayPal","payments","transactions","invoices","refunds","billing"]},{slug:"ai-actions/salesforce",title:"Salesforce",description:"Get contact info, check opportunity status, create leads, and update contacts in Salesforce.",section:"AI Actions",keywords:["Salesforce","CRM","leads","contacts","opportunities","sales"]},{slug:"ai-actions/hubspot",title:"HubSpot",description:"Get contact info, check deal status, create contacts, and update records in HubSpot.",section:"AI Actions",keywords:["HubSpot","CRM","contacts","deals","sales","marketing"]},{slug:"ai-actions/pipedrive",title:"Pipedrive",description:"Look up deals, contacts, organizations, activities, and pipeline stages in Pipedrive.",section:"AI Actions",keywords:["Pipedrive","CRM","deals","contacts","pipeline","sales","activities","organizations"]},{slug:"ai-actions/zoho-crm",title:"Zoho CRM",description:"Look up leads, contacts, accounts, deals, and notes in Zoho CRM.",section:"AI Actions",keywords:["Zoho","CRM","leads","contacts","accounts","deals","notes","sales"]},{slug:"ai-actions/dynamics-365",title:"Dynamics 365",description:"Look up accounts, contacts, opportunities, cases, and activities in Microsoft Dynamics 365.",section:"AI Actions",keywords:["Dynamics 365","Microsoft","CRM","accounts","contacts","opportunities","cases","enterprise"]},{slug:"ai-actions/discord",title:"Discord",description:"Post messages to Discord channels, create threads, and notify your team through natural conversation with your AI agent.",section:"AI Actions",keywords:["Discord","messaging","channels","threads","slash command","bot","notifications","team alerts"]},{slug:"ai-actions/close",title:"Close",description:"Look up leads, opportunities, call logs, and email history in Close CRM.",section:"AI Actions",keywords:["Close","CRM","leads","opportunities","calls","email","inside sales"]},{slug:"ai-actions/copper",title:"Copper",description:"Look up leads, people, opportunities, and tasks in Copper CRM for Google Worksp
1ace teams.",section:"AI Actions",keywords:["Copper","CRM","Google Workspace","leads","people","opportunities","tasks"]},{slug:"ai-actions/activecampaign",title:"ActiveCampaign",description:"Look up contacts, deals, pipeline stages, and automation status in ActiveCampaign.",section:"AI Actions",keywords:["ActiveCampaign","CRM","marketing automation","contacts","deals","pipeline","automations"]},{slug:"ai-actions/notion",title:"Notion",description:"Search pages, query databases, and retrieve content from Notion workspaces.",section:"AI Actions",keywords:["Notion","wiki","knowledge base","pages","databases","documentation","internal"]},{slug:"ai-actions/confluence",title:"Confluence",description:"Search articles, retrieve pages, and list spaces in Atlassian Confluence.",section:"AI Actions",keywords:["Confluence","Atlassian","wiki","knowledge base","documentation","spaces","articles"]},{slug:"ai-actions/airtable",title:"Airtable",description:"Query records, search tables, and retrieve base schema from Airtable.",section:"AI Actions",keywords:["Airtable","database","records","tables","inventory","structured data","spreadsheet"]},{slug:"ai-actions/google-drive",title:"Google Drive",description:"Search files, get document summaries, and browse folders in Google Drive.",section:"AI Actions",keywords:["Google Drive","files","documents","folders","search","Google Workspace","Docs"]},{slug:"ai-actions/google-sheets",title:"Google Sheets",description:"Read spreadsheet data, check metadata, and query specific ranges in Google Sheets.",section:"AI Actions",keywords:["Google Sheets","spreadsheet","data","pricing","inventory","Google Workspace"]},{slug:"ai-actions/sharepoint",title:"SharePoint",description:"Search files, retrieve pages, and query lists in Microsoft SharePoint.",section:"AI Actions",keywords:["SharePoint","Microsoft 365","documents","intranet","files","lists","enterprise"]},{slug:"ai-actions/square",title:"Square",description:"Book appointments via Square with multi-step service selection, staff selection, and payment processing.",section:"AI Actions",keywords:["Square","booking","appointments","scheduling","services","staff","payment","OAuth"]},{slug:"ai-actions/calendly",title:"Calendly",description:"Schedule meetings via Calendly with event type selection and calendar integration.",section:"AI Actions",keywords:["Calendly","booking","meetings","scheduling","calendar","appointments","OAuth"]},{slug:"ai-actions/google-calendar",title:"Google Calendar",description:"Schedule meetings directly on Google Calendar with availability checking and Google Meet integration.",section:"AI Actions",keywords:["Google Calendar","booking","meetings","scheduling","calendar","appointments","OAuth","Google Meet"]},{slug:"ai-actions/ct-idx-pro-plus",title:"CT IDX Pro+",description:"Search MLS listings in real-time via CT IDX Pro+ for real estate agents.",section:"AI Actions",keywords:["CT IDX","real estate","MLS","listings","properties","homes","search"]},{slug:"ai-actions/ct-leads-pro",title:"CT Leads Pro",description:"Capture leads from chat and push them into CT Leads Pro WordPress CRM automatically.",section:"AI Actions",keywords:["CT Leads Pro","real estate","CRM","leads","WordPress","lead capture","webhook","Contempo"]},{slug:"ai-actions/follow-up-boss",title:"Follow Up Boss",description:"Create leads, search contacts, manage pipeline, and log notes in Follow Up Boss CRM for real estate.",section:"AI Actions",keywords:["Follow Up Boss","real estate","CRM","leads","contacts","agents","pipeline","tasks","notes","CoPilot"]},{slug:"ai-actions/mls-grid",title:"MLS Grid",description:"Search MLS listings in real-time via MLS Grid using RESO-standard OData queries.",section:"AI Actions",keywords:["MLS Grid","real estate","MLS","listings","properties","homes","RESO","OData","search"]},{slug:"ai-actions/simplyrets",title:"SimplyRETS",description:"Search MLS listings in real-time via SimplyRETS for real estate agents.",section:"AI Actions",keywords:["SimplyRETS","real estate","MLS","listings","properties","homes","search"]},{slug:"ai-actions/trestle",title:"Trestle",description:"Search MLS listings in real-time via Trestle (Cotality) using RESO-standard OData queries.",section:"AI Actions",keywords:["Trestle","Cotality","CoreLogic","real estate","MLS","listings","properties","homes","RESO","OData","search"]},{slug:"ai-actions/jira",title:"Jira",description:"Pull issue details, search across projects, and check sprint progress from Jira.",section:"AI Actions",keywords:["Jira","Atlassian","issues","sprints","project management","tickets","agile","scrum"]},{slug:"ai-actions/linear",title:"Linear",description:"Look up issues, track project progress, and check cycle status in Linear.",section:"AI Actions",keywords:["Linear","issues","projects","cycles","project management","engineering","product"]},{slug:"ai-actions/asana",title:"Asana",description:"Get task details, search projects, check project status, and view workload in Asana.",section:"AI Actions",keywords:["Asana","tasks","projects","project management","workload","milestones","timelines"]},{slug:"ai-actions/monday",title:"Monday.com",description:"Query board items, get item details, and summarize groups in Monday.com.",section:"AI Actions",keywords:["Monday","Monday.com","boards","items","groups","project management","operations"]},{slug:"ai-actions/quickbooks",title:"QuickBooks",description:"Look up invoices, check customer balances, view transaction history, and find expenses in QuickBooks.",section:"AI Actions",keywords:["QuickBooks","Intuit","invoices","accounting","finance","billing","expenses","payments"]},{slug:"ai-actions/xero",title:"Xero",description:"Look up invoices, check contact balances, and view bank transactions in Xero.",section:"AI Actions",keywords:["Xero","invoices","accounting","finance","billing","bank transactions","contacts"]},{slug:"ai-actions/netsuite",title:"NetSuite",description:"Query customer records, open orders, item availability, and financial summaries from NetSuite.",section:"AI Actions",keywords:["NetSuite","Oracle","ERP","orders","inventory","financials","enterprise","customers"]},{slug:"ai-actions/bamboohr",title:"BambooHR",description:"Look up employees, check time-off balances, search the directory, and get job info from BambooHR.",section:"AI Actions",keywords:["BambooHR","HR","employees","PTO","time off","directory","human resources"]},{slug:"ai-actions/workday",title:"Workday",description:"Query employee profiles, absence balances, org hierarchy, and open positions from Workday.",section:"AI Actions",keywords:["Workday","HR","employees","absences","PTO","org chart","positions","enterprise"]},{slug:"ai-actions/rippling",title:"Rippling",description:"Look up employees, view department rosters, and explore org charts from Rippling.",section:"AI Actions",keywords:["Rippling","HR","employees","directory","org chart","departments","roster"]},{slug:"ai-actions/rest-api",title:"REST API Connector",description:"Connect your AI agent to any REST API with configurable endpoints, authentication, and response mapping.",section:"AI Actions",keywords:["REST API","custom","connector","enterprise","endpoints","HTTP","generic","integration"]},{slug:"ai-actions/sql-database",title:"SQL Database Connector",description:"Query SQL databases directly with read-only access, table allowlists, and row limits.",section:"AI Actions",keywords:["SQL","database","PostgreSQL","MySQL","MSSQL","connector","enterprise","query","read-only"]},{slug:"training-suggestions",title:"Training Suggestions",description:"Use the Human-in-the-loop Learning Engine to continuously improve your AI agent with proven Q/A pairs and AI-drafted answers.",section:"Features",keywords:["training suggestions","learning engine","HITL","human in the loop","AI drafts","Q/A pairs","thumbs up","knowledge coverage","improvement","suggestions"]},{slug:"account-settings",title:"Account Settings",description:"Manage your profile, password, plan, payment methods, and billing history from Settings.",section:"Features",keywords:["account","settings","profile","password","security","billing","subscription","plan","payment","invoice","upgrade","cancel"]},{slug:"team-and-security",title:"Team & Security",description:"Manage team members, roles, two-factor authentication, sessions, and audit logging.",section:"Features",keywords:["team","security","2FA","two-factor","authentication","roles","permissions","admin","audit log","sessions","enterprise"]},{slug:"analytics",title:"Analytics & Dashboard",description:"Track AI agent performance, identify knowledge gaps, and measure ROI.",section:"Insights",keywords:["analytics","dashboard","metrics","stats","knowledge coverage","ROI","insights","AI agent","performance"]},{slug:"monthly-roi-reports",title:"Monthly ROI Reports",description:"Automated monthly reports showing AI agent performance and savings.",section:"Insights",keywords:["reports","ROI","monthly","email","automated","performance","AI agent","savings"]},{slug:"security-and-privacy",title:"Security & Privacy",description:"How we protect your data and maintain enterprise-grade security.",section:"Trust",keywords:["security","privacy","data","encryption","GDPR","SOC2","compliance"]},{slug:"ai-actions/statuspage",title:"Statuspage",description:"Show service status, active incidents, component health, and scheduled maintenance from Statuspage.",section:"AI Actions",keywords:["Statuspage","status page","incidents","outages","components","maintenance","monitoring","Atlassian"]},{slug:"ai-actions/instatus",title:"Instatus",description:"Show service status, active incidents, and component health from your Instatus status page.",section:"AI Actions",keywords:["Instatus","status page","incidents","outages","components","monitoring"]},{slug:"ai-actions/betterstack",title:"Betterstack",description:"Check uptime monitors, active incidents, and status page health from Betterstack.",section:"AI Actions",keywords:["Betterstack","uptime","monitors","incidents","monitoring","status page"]},{slug:"ai-actions/pagerduty",title:"PagerDuty",description:"View active incidents, create incidents, add notes, and check service health in PagerDuty. CoPilot only.",section:"AI Actions",keywords:["PagerDuty","incidents","on-call","alerts","monitoring","escalation","CoPilot"]},{slug:"ai-actions/jira-service-management",title:"Jira Service Management",description:"Manage alerts, acknowledge issues, and check on-call schedules in Jira Service Management Operations. CoPilot only.",section:"AI Actions",keywords:["Jira Service Management","JSM","alerts","on-call","OpsGenie","operations","monitoring","CoPilot","Atlassian"]},{slug:"ai-actions/firehydrant",title:"FireHydrant",description:"View active incidents and details from FireHydrant. Declare incidents, add notes, and page on-call teams in CoPilot.",section:"AI Actions",keywords:["FireHydrant","incidents","on-call","monitoring","incident response","CoPilot"]},{slug:"ai-actions/incident-io",title:"Incident.io",description:"View active incidents from Incident.io. Create incidents and update statuses in CoPilot.",section:"AI Actions",keywords:["Incident.io","incidents","incident response","monitoring","CoPilot"]},{slug:"ai-inbox",title:"AI Inbox",description:"Route escalated conversations to your team with AI-generated summaries, extracted details, and a suggested reply already prepared.",section:"Features",keywords:["ai inbox","human escalation","assist","ticket","support","agent","handoff","csat","email reply","team inbox"]},{slug:"ai-operator",title:"AI Operator",description:"Manage your ChatSpark operation in plain language. AI Operator analyzes your performance, tunes your agent, manages your inbox, approves training, and acts on your behalf. Available on Pro and above.",section:"Features",keywords:["ai operator","operator","nlp","natural language","manage","o
1perations","inbox management","agent config","training","automation","insights","analytics","pro","enterprise","proposal","approve"]}],a=()=>{let e=[];return i.forEach(t=>{t.items.forEach(t=>{e.push(t),t.children&&e.push(...t.children)})}),e},n=e=>{let t=a(),s=t.findIndex(t=>t.slug===e);return{previous:s>0?t[s-1]:null,next:s<t.length-1?t[s+1]:null}}}}]);
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.