@inkeep/cxkit-styled 0.5.26 → 0.5.28

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const d=require("react/jsx-runtime"),a=require("@inkeep/cxkit-primitives"),A=require("../ui/recipes/ai-chat-page-wrapper.cjs"),n=require("../ui/recipes/attachment.cjs"),o=require("../ui/recipes/button.cjs"),x=require("../ui/recipes/checkbox.cjs"),m=require("../ui/recipes/citation.cjs"),w=require("../ui/recipes/icon.cjs"),l=require("../ui/recipes/input.cjs"),P=require("../ui/recipes/link.cjs"),r=require("../ui/recipes/modal.cjs"),p=require("../ui/recipes/popover.cjs"),C=require("../ui/recipes/scrollable.cjs"),h=require("../ui/recipes/select.cjs"),M=require("class-variance-authority"),j=require("merge-anything"),c=require("react"),s=require("../utils.cjs"),y=require("../ui/markdown-styles.cjs"),N=require("./loading-indicator.cjs"),I=require("./embedded-chat/conversation-loading.cjs"),B=a.EmbeddedChatPrimitive.Provider,S=c.forwardRef(({className:e,size:t,variant:i,...u},b)=>d.jsx(a.EmbeddedChatPrimitive.Wrapper,{ref:b,className:s.cn(A.aiChatPageWrapper({size:t,variant:i}),"data-[hidden]:hidden rounded-md flex","bg-white dark:bg-gray-dark-950","data-[composite]:w-full","max-h-[min(85vh,850px)]",e),...u})),T=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.ConversationLoading,{className:s.cn("flex flex-col items-center justify-center h-full gap-12 flex-1 p-8",e),children:d.jsx(I.ConversationLoading,{}),...t}),H=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.Root,{className:s.cn(C.scrollable({section:"wrapper"}),"rounded-[inherit] font-body",e),...t}),L=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.Header,{className:s.cn(C.scrollable({section:"header"}),"flex items-center","bg-white dark:bg-gray-dark-950","data-[show-toolbar]:after:absolute","data-[show-toolbar]:after:left-0","data-[show-toolbar]:after:top-full","data-[show-toolbar]:after:h-[1rem]","data-[show-toolbar]:after:w-full","data-[show-toolbar]:after:text-white","data-[show-toolbar]:after:dark:text-gray-dark-950","data-[show-toolbar]:after:bg-[linear-gradient(currentColor,_transparent)]","data-[show-toolbar]:after:z-start",e),...t}),D=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.HeaderToolbar,{className:s.cn("flex items-center gap-2 w-full pl-6 pr-1","ikp-md:px-4 py-2 justify-between *:m-0",e),...t}),W=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.HeaderToolbarWrapper,{className:s.cn("flex items-center gap-1.5",e),...t}),Q=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.ToolbarHeader,{className:s.cn("text-gray-600 dark:text-gray-dark-100 text-sm",e),...t}),z=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.Content,{className:s.cn(C.scrollable({section:"content"}),"justify-end",e),...t}),q=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.ContentScrollArea,{className:s.cn("overflow-hidden",e),...t}),_=c.forwardRef(({className:e,...t},i)=>d.jsx(a.EmbeddedChatPrimitive.ContentScrollAreaViewport,{ref:i,className:s.cn("h-full w-full rounded-[inherit]",e),...t})),R=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.ContentScrollAreaScrollbar,{className:s.cn("flex select-none touch-none p-0.5","transition-colors duration-[160ms] ease-in-out","w-2.5 border-l border-l-transparent",e),...t}),O=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.ContentScrollAreaThumb,{className:s.cn("relative flex-1 rounded-full","bg-gray-300 dark:bg-white-alpha-200",e),...t}),V=a.EmbeddedChatPrimitive.ContentScrollAreaCorner,G=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.Disclaimer,{className:s.cn("ml-auto text-sm flex items-center gap-1",e),...t}),$=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.DisclaimerLabel,{className:s.cn("text-gray-700 dark:text-gray-dark-100",e),...t}),J=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.DisclaimerTrigger,{className:s.cn("cursor-pointer text-gray-700 dark:text-gray-dark-100",e),...t}),K=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.DisclaimerContent,{className:s.cn(p.popover({slot:"content"}),"px-4 py-2 font-normal","w-[250px] sm:w-[420px]",e),...t}),U=a.EmbeddedChatPrimitive.DisclaimerText,X=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.DisclaimerArrow,{className:s.cn(p.popover({slot:"arrow"}),e),...t}),Y=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.QuickQuestions,{className:s.cn("mt-4 flex flex-col gap-2",e),...t}),Z=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.QuickQuestionsLabel,{className:s.cn("text-2xs uppercase font-semibold tracking-widest","text-gray-600 dark:text-white-alpha-500",e),...t}),ee=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.QuickQuestionsList,{className:s.cn("flex flex-col","ikp-md:flex-row","flex-wrap gap-2",e),...t}),te=c.forwardRef(({className:e,style:t,...i},u)=>{const b=c.useRef(null),v=a.composeRefs(u,b),{width:f=0,height:F=0}=a.useResizeObserver({ref:b,box:"border-box"}),k=Math.max(F,f);return d.jsx(a.EmbeddedChatPrimitive.QuickQuestion,{ref:v,style:{"--before-size":`${k+100}px`,...t},className:s.cn("flex items-center justify-center relative z-base","min-h-9 rounded-md overflow-hidden","before:absolute before:z-hide","before:bg-gray-300 dark:before:bg-gray-dark-950","before:bg-no-repeat before:[background-position:0_0]","before:[background-size:cover] before:m-auto","before:w-[--before-size] before:h-[--before-size]","data-[highlight]:first:before:[background-image:conic-gradient(transparent,theme(colors.inkeep-expanded-primary.600),transparent_30%)]","dark:data-[highlight]:first:before:[background-image:conic-gradient(transparent,theme(colors.inkeep-expanded-primary.300),transparent_30%)]","data-[highlight]:first:before:animate-[spin_4s_linear_infinite]","after:absolute after:z-base after:top-[1px] after:left-[1px]","after:w-[calc(100%-2px)] after:h-[calc(100%-2px)]","after:rounded-[5px] after:bg-white dark:after:bg-gray-dark-950",e),...i})}),ae=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.QuickQuestionButton,{className:s.cn(o.button({size:"sm"}),"text-sm font-normal h-auto w-full py-2 z-start","whitespace-normal text-center leading-[unset]","border border-solid","text-gray-800 dark:text-white-alpha-950","border-white-alpha-200","[&:where(:hover,:focus)]:bg-slate-400/5","dark:[&:where(:hover,:focus)]:bg-white-alpha-100 focus:z-start",e),...t}),de=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.Workflows,{className:s.cn("mt-4 flex flex-col gap-2",e),...t}),se=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.WorkflowsLabel,{className:s.cn("text-2xs uppercase font-semibold tracking-widest","text-gray-600 dark:text-white-alpha-500",e),...t}),re=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.WorkflowsList,{className:s.cn("flex flex-wrap gap-2",e),...t}),oe=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.Workflow,{className:s.cn(o.button({size:"sm"}),"min-h-9 px-3 py-2 h-auto font-medium","text-sm gap-2 whitespace-normal border ","text-inkeep-primary-strong dark:text-inkeep-expanded-primary-300","border-inkeep-expanded-primary-200","dark:border-inkeep-expanded-primary-200","hover:bg-inkeep-primary-light-subtle","dark:hover:bg-white-alpha-100",e),...t}),ie=a.EmbeddedChatPrimitive.WorkflowIcon,me=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.Messages,{className:s.cn("flex flex-col w-full min-w-0 min-h-0 text-2sm relative",e),...t}),E=M.cva(["flex relative w-full overflow-hidden py-8","px-6 ikp-md:px-8","flex-col ikp-md:flex-row","min-w-0 grow-[2] data-[role=user]:grow-0","[&:not(:last-child)]:after:absolute","[&:not(:last-child)]:after:border-b","[&:not(:last-child)]:after:bottom-0","[&:not(:last-child)]:after:inset-x-6","ikp-md:[&:not(:last-child)]:after:inset-x-8"]),ne=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.MessageWrapper,{className:s.cn(E(),e),...t}),ce=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.IntroMessageWrapper,{className:s.cn(E(),e),...t}),le=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.MessageHeader,{className:s.cn("flex justify-start overflow-hidden shrink-0 select-none","flex-row ikp-md:flex-col","items-center ikp-md:items-start","ikp-md:pl-3","ikp-md:pr-6","mb-6 ikp-md:mb-0",e),...t}),he=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.MessageLoading,{className:s.cn("flex items-center gap-3 h-12 w-full",e),children:d.jsx(N.LoadingIndicator,{}),...t}),be=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.MessageAvatar,{className:s.cn("flex items-center justify-center rounded-full","h-auto ikp-md:h-12",e),...t}),xe=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.MessageAvatarContent,{className:s.cn("relative flex h-8 w-8 shrink-0 overflow-hidden","data-[username]:bg-inkeep-primary-lighter","dark:data-[username]:bg-inkeep-expanded-primary-300","text-inkeep-primary-stronger font-semibold ","data-[role=user]:hidden ikp-md:flex","justify-center items-center",e),...t}),pe=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.MessageAvatarFallback,{className:s.cn("hidden data-[role=user]:block",e),...t}),Ce=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.MessageAvatarImage,{className:s.cn("data-[type=icon]:data-[role=user]:text-inkeep-primary-medium","dark:data-[type=icon]:data-[role=user]:text-inkeep-expanded-primary-300","data-[type=icon]:data-[role=assistant]:[--start-color:theme(colors.inkeep-expanded-primary.300)]","data-[type=icon]:data-[role=assistant]:[--end-color:theme(colors.inkeep-expanded-primary.700)]","dark:data-[type=icon]:data-[role=assistant]:[--start-color:theme(colors.inkeep-expanded-primary.50)]","dark:data-[type=icon]:data-[role=assistant]:[--end-color:theme(colors.inkeep-expanded-primary.300)]",e),...t}),ue=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.MessageName,{className:s.cn("px-3 py-1 ml-4 data-[role=user]:ml-0","text-sm rounded-full","bg-inkeep-primary-lighter data-[role=user]:bg-gray-50","text-inkeep-primary-stronger dark:text-inkeep-expanded-primary-300","data-[role=user]:text-gray-700 dark:data-[role=user]:text-white-alpha-700","dark:bg-gray-dark-700","ikp-md:hidden",e),...t}),ge=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.MessageContentWrapper,{className:s.cn("overflow-hidden flex flex-col","justify-start grow-2 w-full","data-[role=user]:justify-end","data-[role=user]:shrink-2","data-[role=user]:grow-0","ikp-md:pr-3",e),...t}),Ee=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.MessageContent,{className:s.cn("text-2sm flex-wrap break-words min-w-0 shrink-1 max-w-full",e),...t}),ve=a.EmbeddedChatPrimitive.MessageAttachments,fe=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.MessageAttachmentsList,{className:s.cn("flex flex-wrap gap-2",e),...t}),Fe=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.MessageAttachmentsItem,{className:s.cn(o.button({variant:"ghost"}),n.attachment({slot:"root"}),"font-normal px-2",e),...t}),ke=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.MessageAttachmentsItemIcon,{className:s.cn(n.attachment({slot:"icon"}),e),...t}),Ae=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.MessageAttachmentsItemTitle,{className:s.cn(n.attachment({slot:"title"}),e),...t}),we=a.EmbeddedChatPrimitive.MessageAttachmentsPreview,Pe=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.MessageAttachmentsPreviewOverlay,{className:s.cn(r.modal({slot:"overlay"}),e),...t}),Me=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.MessageAttachmentsPreviewContent,{className:s.cn(r.modal({slot:"content"}),"my-6 md:my-12 top-0 left-[unset] transform-none relative","p-8 md:p-10 max-w-2xl",e),...t}),je=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.MessageAttachmentsPreviewHeader,{className:s.cn(r.modal({slot:"header"}),"px-0 pt-0 pb-8 flex flex-col gap-6","font-semibold",e),...t}),ye=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.MessageAttachmentsPreviewClose,{className:s.cn(r.modal({slot:"close"}),e),...t}),Ne=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.MessageAttachmentsPreviewBody,{className:s.cn(r.modal({slot:"body"}),"p-0",e),...t}),Ie=({className:e,componentStyles:t,...i})=>d.jsx(a.EmbeddedChatPrimitive.Message,{className:s.cn("data-[role=user]:whitespace-pre-wrap mb-3 max-w-full",e),componentStyles:j.merge(y.markdownStyles,t??{}),...i}),Be=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.MessageActions,{className:s.cn("flex items-center mt-2 mb-3",e),...t}),Se=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.MessageToolActions,{className:s.cn("mr-auto flex items-center gap-2",e),...t}),Te=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.MessageToolAction,{className:s.cn(o.button({size:"xs",variant:"outline"}),"text-xs h-[30px] text-gray-700 dark:text-gray-200 gap-1",e),...t}),He=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.MessageAction,{className:s.cn(o.button({variant:"iconButton",size:"sm"}),"data-[upvoted]:text-inkeep-primary-medium","data-[downvoted]:text-inkeep-primary-medium","data-[upvoted]:dark:text-inkeep-expanded-primary-300","data-[downvoted]:dark:text-inkeep-expanded-primary-300","dark:hover:text-inkeep-expanded-primary-300 px-2 text-md",e),...t}),Le=a.EmbeddedChatPrimitive.MessageSources,De=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.MessageSourcesHeader,{className:s.cn("block text-xs font-medium my-2 text-gray-700 dark:text-gray-dark-300",e),...t}),We=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.MessageSourcesList,{className:s.cn("w-full relative flex flex-col gap-3 py-[1px]",e),...t}),Qe=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.MessageSourceItem,{className:s.cn(m.citation({slot:"root"}),e),...t}),ze=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.MessageSourceItemBreadcrumbs,{className:s.cn(m.citation({slot:"breadcrumbs"}),e),...t}),qe=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.MessageSourceItemBreadcrumbIcon,{className:s.cn(m.citation({slot:"breadcrumbsIcon"}),e),...t}),_e=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.MessageSourceItemIcon,{className:s.cn(m.citation({slot:"icon"}),e),...t}),Re=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.MessageSourceItemTitle,{className:s.cn(m.citation({slot:"title"}),e),...t}),Oe=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.MessageSourceItemTag,{className:s.cn(m.citation({slot:"tag"}),e),...t}),Ve=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.MessageSourceItemDescription,{className:s.cn(m.citation({slot:"description"}),e),...t}),Ge=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.MessageSourceItemDescriptionPart,{className:s.cn(m.citation({slot:"descriptionPart"}),e),...t}),$e=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.MessageSourceItemIndicator,{className:s.cn(m.citation({slot:"indicator"}),e),...t}),Je=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.Footer,{className:s.cn("bg-white dark:bg-gray-dark-950 pt-6 pb-4","px-6 ikp-md:px-8 relative","before:absolute before:block before:top-0 before:left-0","before:pointer-events-none before:w-full before:h-3","before:bg-gradient-to-b before:from-transparent before:to-white","dark:before:to-gray-dark-950 before:-translate-y-full",e),...t}),Ke=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.InputFieldset,{className:s.cn("relative flex flex-col w-full p-2","rounded-lg items-stretch shadow-md dark:shadow-none","bg-gray-50 dark:bg-white-alpha-50",e),...t}),Ue=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.InputGroup,{className:s.cn("flex",e),...t}),Xe=c.forwardRef(({className:e,...t},i)=>d.jsx(a.EmbeddedChatPrimitive.Input,{ref:i,className:s.cn("min-h-[unset] overflow-hidden w-full resize-none","placeholder:text-gray-500 dark:placeholder:text-gray-dark-200","border-none outline-none shadow-none bg-transparent","px-3 py-2 ml-1 mr-2 max-h-[200px] overflow-y-auto disabled:cursor-not-allowed",e),...t})),Ye=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.SendButton,{className:s.cn(o.button({}),"bg-transparent relative size-10 rounded-lg transition-all ease-linear","text-inkeep-primary-medium dark:text-inkeep-expanded-primary-500","active:bg-gray-300 dark:active:bg-white-alpha-100","hover:bg-gray-200 hover:text-inkeep-primary-strong","dark:hover:bg-white-alpha-100 dark:hover:text-inkeep-expanded-primary-300","disabled:text-gray-500 dark:disabled:text-white-alpha-200","disabled:cursor-not-allowed hover:disabled:[background:none] active:disabled:[background:none]",e),...t}),Ze=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.SendButtonIcon,{className:s.cn(w.icon(),"text-inherit rotate-[-30deg]",e),...t}),et=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.AttachmentsBar,{className:s.cn("flex items-center justify-between","flex-wrap gap-2 px-1 pt-2 pb-1",e),...t}),tt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.AttachmentsBarList,{className:s.cn("flex items-center gap-2 flex-wrap px-3 min-w-0",e),...t}),at=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.AttachmentsBarAttachment,{className:s.cn(n.attachment({slot:"root"}),e),...t}),dt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.AttachmentsBarAttachmentIcon,{className:s.cn(n.attachment({slot:"icon"}),e),...t}),st=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.AttachmentsBarAttachmentTitle,{className:s.cn(n.attachment({slot:"title"}),e),...t}),rt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.AttachmentsBarAttachmentDelete,{className:s.cn(n.attachment({slot:"delete"}),e),...t}),ot=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.AttachmentsBarActions,{className:s.cn("flex items-center justify-between","gap-2 flex-wrap px-3",e),...t}),it=a.EmbeddedChatPrimitive.AttachmentsBarInfoTip,mt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.AttachmentsBarInfoTipIcon,{className:s.cn("cursor-pointer text-sm text-gray-600","dark:text-white-alpha-600",e),...t}),nt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.AttachmentsBarInfoTipText,{className:s.cn("bg-white text-gray-800 fill-white","dark:bg-gray-dark-800 dark:text-white-alpha-950 dark:fill-gray-dark-800","shadow-[0_8px_30px_rgba(0,0,0,0.12)] z-dropdown","px-3 py-2 rounded-md text-sm font-normal max-w-[200px]",e),...t}),ct=a.EmbeddedChatPrimitive.AttachmentsBarInfoTipArrow,lt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.AttachmentsBarInputs,{className:s.cn("contents",e),...t}),ht=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.AttachmentsBarInput,{className:s.cn(o.button({variant:"outline",size:"xs"}),"light:text-gray-700 gap-1",e),...t}),bt=a.EmbeddedChatPrimitive.AttachmentsBarInputIcon,xt=a.EmbeddedChatPrimitive.AttachmentsBarModal,pt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.AttachmentsBarModalOverlay,{className:s.cn(r.modal({slot:"overlay"}),e),...t}),Ct=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.AttachmentsBarModalContent,{className:s.cn(r.modal({slot:"content"}),"my-6 md:my-12 top-0 left-[unset] transform-none relative","p-8 md:p-10 max-w-2xl",e),...t}),ut=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.AttachmentsBarModalHeader,{className:s.cn(r.modal({slot:"header"}),"px-0 pt-0 pb-8 gap-y-2","font-semibold",e),...t}),gt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.AttachmentsBarModalHeading,{className:s.cn("w-full semibold",e),...t}),Et=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.AttachmentsBarModalDescription,{className:s.cn("text-gray-700 dark:text-white-alpha-700","text-sm font-normal w-full",e),...t}),vt=a.EmbeddedChatPrimitive.AttachmentsBarModalHelp,ft=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.AttachmentsBarModalClose,{className:s.cn(r.modal({slot:"close"}),e),...t}),Ft=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.AttachmentsBarModalBody,{className:s.cn(r.modal({slot:"body"}),"p-0",e),...t}),kt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.AttachmentsBarForm,{className:s.cn("flex flex-col gap-8",e),...t}),At=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.AttachmentsBarFormTitle,{className:s.cn("flex flex-col gap-2",e),...t}),wt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.AttachmentsBarFormTitleLabel,{className:s.cn("text-sm font-medium text-gray-700 dark:text-white-alpha-700",e),...t}),Pt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.AttachmentsBarFormTitleInput,{className:s.cn("h-10 px-4 rounded-md border","focus:outline-none focus:[--shadow-color:theme(colors.blue.500)]","data-[invalid]:[--shadow-color:theme(colors.red.500)]","shadow-[0_0_0_2px_var(--shadow-color)]",e),...t}),Mt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.AttachmentsBarFormTitleError,{className:s.cn("text-sm text-red-500",e),...t}),jt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.AttachmentsBarFormContent,{className:s.cn("flex flex-col gap-2",e),...t}),yt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.AttachmentsBarFormContentLabel,{className:s.cn("text-sm font-medium text-gray-700 dark:text-white-alpha-700",e),...t}),Nt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.AttachmentsBarFormContentInput,{className:s.cn(l.input({size:"md",variant:"outline"}),"min-h-20 px-4 py-2",e),...t}),It=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.AttachmentsBarFormContentError,{className:s.cn("text-sm text-red-500",e),...t}),Bt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.AttachmentsBarFormSubmitButton,{className:s.cn(o.button({preset:"neutralFilled"}),"ml-auto",e),...t}),St=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.ActionBar,{className:s.cn("mt-4 flex items-start justify-between flex-wrap-reverse gap-2.5",e),...t}),Tt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.Actions,{className:s.cn("flex items-center gap-2.5 flex-wrap",e),...t}),Ht=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.TaglineContainer,{className:s.cn("flex items-center whitespace-nowrap",e),...t}),Lt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.TaglineText,{className:s.cn("text-xs md:text-sm text-gray-500 dark:text-white-alpha-600",e),...t}),Dt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.TaglineLogo,{className:s.cn("text-gray-400 dark:text-white-alpha-500","w-[18px] ml-2 mr-1",e),...t}),Wt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.TaglineBrandName,{className:s.cn(P.link(),"inline-flex text-xs md:text-sm text-gray-500","dark:text-white-alpha-600 font-bold",e),...t}),g=s.cn(o.button({size:"xs",variant:"outline"}),"text-gray-700 dark:text-white-alpha-700"),Qt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.ChatAction,{className:s.cn(g,e),...t}),zt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.ChatActionLabel,{className:s.cn("cursor-pointer",e),...t}),qt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.ChatActionFeedback,{className:s.cn("bg-white text-gray-800 fill-white","dark:bg-gray-dark-800 dark:text-white-alpha-900 dark:fill-gray-dark-800","shadow-[0_8px_30px_rgba(0,0,0,0.12)]","px-2 py-3 rounded-md text-sm font-normal",e),...t}),_t=a.EmbeddedChatPrimitive.HelpActions,Rt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.ChatHelpAction,{className:s.cn(g,e),...t}),Ot=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.HelpActionsTrigger,{className:s.cn(g,e),...t}),Vt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.HelpActionsMenu,{className:s.cn(p.popover({slot:"content"}),"gap-3 px-3 py-4 ","w-[254px] text-sm font-normal",e),...t}),Gt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.HelpActionsMenuArrow,{className:s.cn(p.popover({slot:"arrow"}),e),...t}),$t=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.HelpActionsMenuItem,{className:s.cn("flex items-center cursor-pointer hover:underline",e),...t}),Jt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.HelpActionsMenuItemIcon,{className:s.cn("mr-2 text-inkeep-primary-medium",e),...t}),Kt=a.EmbeddedChatPrimitive.FeedbackModal,Ut=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FeedbackModalOverlay,{className:s.cn(r.modal({slot:"overlay"}),e),...t}),Xt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FeedbackModalContent,{className:s.cn(r.modal({slot:"content"}),"my-6 md:my-12 top-0 left-[unset] transform-none relative","p-8 md:p-10 max-w-[480px]",e),...t}),Yt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FeedbackModalHeader,{className:s.cn(r.modal({slot:"header"}),"px-0 pt-0 pb-8","font-semibold",e),...t}),Zt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FeedbackModalClose,{className:s.cn(r.modal({slot:"close"}),e),...t}),ea=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FeedbackModalBody,{className:s.cn(r.modal({slot:"body"}),"p-0",e),...t}),ta=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FeedbackForm,{className:s.cn("flex flex-col gap-8",e),...t}),aa=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FeedbackItem,{className:s.cn("flex flex-wrap items-center","gap-[1rem_0.5rem]",e),...t}),da=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FeedbackItemCheckbox,{className:s.cn(x.checkbox({slot:"root"}),e),...t}),sa=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FeedbackItemCheckboxIndicator,{className:s.cn(x.checkbox({slot:"indicator"}),e),...t}),ra=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FeedbackItemLabel,{className:s.cn("select-none cursor-pointer font-medium text-sm","text-gray-700 dark:text-white-alpha-700",e),...t}),oa=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FeedbackItemDescription,{className:s.cn("flex-[0_0_100%]","min-h-20 py-2 border rounded-md","px-4",e),...t}),ia=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FeedbackSubmitButton,{className:s.cn(o.button({preset:"neutralFilled"}),"ml-auto",e),...t}),ma=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FormWrapper,{className:s.cn("w-full overflow-y-auto",e),...t}),na=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.Form,{className:s.cn(C.scrollable({section:"content"}),"relative pt-4 pb-8 gap-8","items-start justify-center w-full","px-6 ikp-md:px-14 ikp-md:pb-14",e),...t}),ca=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FormClose,{className:s.cn(o.button({variant:"ghost"}),"absolute right-1 top-1","text-xl text-gray-500 dark:text-white-alpha-500 w-10 h-10 z-modal",e),...t}),la=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FormHeader,{className:s.cn("mt-12 flex flex-col gap-6",e),...t}),ha=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FormHeading,{className:s.cn("font-semibold text-xl leading-5",e),...t}),ba=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FormDescription,{className:s.cn("text-gray-700 dark:text-white-alpha-700 text-sm",e),...t}),xa=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FormContent,{className:s.cn("w-full",e),...t}),pa=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FormField,{className:s.cn("mb-8 flex flex-col gap-2 data-[hidden]:hidden","data-[input-type=checkbox]:flex-row data-[input-type=checkbox]:items-center",e),...t}),Ca=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FormFieldLabel,{className:s.cn("font-medium text-sm text-gray-700","dark:text-white-alpha-700 ","font-medium relative","data-[required]:after:absolute",'data-[required]:after:[content:"*"]',"data-[required]:after:ml-1","data-[required]:after:mt-0","data-[required]:after:text-red-500","dark:data-[required]:after:text-red-300",e),...t}),ua=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FormFieldText,{className:s.cn(l.input({size:"md",variant:"outline"}),e),...t}),ga=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FormFieldEmail,{className:s.cn(l.input({size:"md",variant:"outline"}),e),...t}),Ea=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FormFieldFile,{className:s.cn(l.input({size:"md",variant:"outline"}),"text-sm pl-2 file:h-full file:cursor-pointer py-0","file:bg-transparent file:border-none file:font-medium","file:text-sm file:text-gray-700 dark:file:text-white-alpha-700",e),...t}),va=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FormFieldTextArea,{className:s.cn(l.input({size:"md",variant:"outline"}),"min-h-20 px-4 py-2",e),...t}),fa=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FormFieldCheckbox,{className:s.cn(x.checkbox({slot:"root"}),e),...t}),Fa=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FormFieldCheckboxIndicator,{className:s.cn(x.checkbox({slot:"indicator"}),e),...t}),ka=a.EmbeddedChatPrimitive.FormFieldSelect,Aa=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FormFieldSelectTrigger,{className:s.cn(h.select({slot:"trigger"}),e),...t}),wa=a.EmbeddedChatPrimitive.FormFieldSelectValue,Pa=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FormFieldSelectIcon,{className:s.cn("h-4 w-4 opacity-45",e),...t}),Ma=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FormFieldSelectContent,{className:s.cn(h.select({slot:"content"}),e),...t}),ja=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FormFieldSelectViewport,{className:s.cn(h.select({slot:"viewport"}),e),...t}),ya=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FormFieldSelectItem,{className:s.cn(h.select({slot:"item"}),e),...t}),Na=a.EmbeddedChatPrimitive.FormFieldSelectItemText,Ia=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FormFieldSelectItemIndicator,{className:s.cn(h.select({slot:"itemIndicator"}),e),...t}),Ba=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FormFieldError,{className:s.cn("text-sm flex items-center text-red-500 dark:text-red-300",e),...t}),Sa=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FormError,{className:s.cn("text-red-500 dark:text-red-300",e),...t}),Ta=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FormFooter,{className:s.cn("flex items-center justify-end gap-6 w-full",e),...t}),Ha=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FormCancel,{className:s.cn(o.button({variant:"outline"}),e),...t}),La=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FormSubmit,{className:s.cn(o.button({preset:"neutralFilled"}),e),...t}),Da=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FormSuccess,{className:s.cn("flex flex-col items-center justify-center h-auto","m-auto px-6 py-8 ikp-md:py-14 ikp-md:px-14",e),...t}),Wa=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FormSuccessHeading,{className:s.cn("mb-6 font-bold tracking-tight","text-3xl md:text-4xl leading-6 md:leading-5",e),...t}),Qa=a.EmbeddedChatPrimitive.FormSuccessMessage,za=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FormSuccessButton,{className:s.cn(o.button({preset:"neutralFilled"}),"w-full mt-12 gap-2 shrink-0",e),...t});exports.ActionBar=St;exports.Actions=Tt;exports.AttachmentsBar=et;exports.AttachmentsBarActions=ot;exports.AttachmentsBarAttachment=at;exports.AttachmentsBarAttachmentDelete=rt;exports.AttachmentsBarAttachmentIcon=dt;exports.AttachmentsBarAttachmentTitle=st;exports.AttachmentsBarForm=kt;exports.AttachmentsBarFormContent=jt;exports.AttachmentsBarFormContentError=It;exports.AttachmentsBarFormContentInput=Nt;exports.AttachmentsBarFormContentLabel=yt;exports.AttachmentsBarFormSubmitButton=Bt;exports.AttachmentsBarFormTitle=At;exports.AttachmentsBarFormTitleError=Mt;exports.AttachmentsBarFormTitleInput=Pt;exports.AttachmentsBarFormTitleLabel=wt;exports.AttachmentsBarInfoTip=it;exports.AttachmentsBarInfoTipArrow=ct;exports.AttachmentsBarInfoTipIcon=mt;exports.AttachmentsBarInfoTipText=nt;exports.AttachmentsBarInput=ht;exports.AttachmentsBarInputIcon=bt;exports.AttachmentsBarInputs=lt;exports.AttachmentsBarList=tt;exports.AttachmentsBarModal=xt;exports.AttachmentsBarModalBody=Ft;exports.AttachmentsBarModalClose=ft;exports.AttachmentsBarModalContent=Ct;exports.AttachmentsBarModalDescription=Et;exports.AttachmentsBarModalHeader=ut;exports.AttachmentsBarModalHeading=gt;exports.AttachmentsBarModalHelp=vt;exports.AttachmentsBarModalOverlay=pt;exports.ChatAction=Qt;exports.ChatActionFeedback=qt;exports.ChatActionLabel=zt;exports.Content=z;exports.ContentScrollArea=q;exports.ContentScrollAreaCorner=V;exports.ContentScrollAreaScrollbar=R;exports.ContentScrollAreaThumb=O;exports.ContentScrollAreaViewport=_;exports.ConversationLoading=T;exports.Disclaimer=G;exports.DisclaimerArrow=X;exports.DisclaimerContent=K;exports.DisclaimerLabel=$;exports.DisclaimerText=U;exports.DisclaimerTrigger=J;exports.FeedbackForm=ta;exports.FeedbackItem=aa;exports.FeedbackItemCheckbox=da;exports.FeedbackItemCheckboxIndicator=sa;exports.FeedbackItemDescription=oa;exports.FeedbackItemLabel=ra;exports.FeedbackModal=Kt;exports.FeedbackModalBody=ea;exports.FeedbackModalClose=Zt;exports.FeedbackModalContent=Xt;exports.FeedbackModalHeader=Yt;exports.FeedbackModalOverlay=Ut;exports.FeedbackSubmitButton=ia;exports.Footer=Je;exports.Form=na;exports.FormCancel=Ha;exports.FormClose=ca;exports.FormContent=xa;exports.FormDescription=ba;exports.FormError=Sa;exports.FormField=pa;exports.FormFieldCheckbox=fa;exports.FormFieldCheckboxIndicator=Fa;exports.FormFieldEmail=ga;exports.FormFieldError=Ba;exports.FormFieldFile=Ea;exports.FormFieldLabel=Ca;exports.FormFieldSelect=ka;exports.FormFieldSelectContent=Ma;exports.FormFieldSelectIcon=Pa;exports.FormFieldSelectItem=ya;exports.FormFieldSelectItemIndicator=Ia;exports.FormFieldSelectItemText=Na;exports.FormFieldSelectTrigger=Aa;exports.FormFieldSelectValue=wa;exports.FormFieldSelectViewport=ja;exports.FormFieldText=ua;exports.FormFieldTextArea=va;exports.FormFooter=Ta;exports.FormHeader=la;exports.FormHeading=ha;exports.FormSubmit=La;exports.FormSuccess=Da;exports.FormSuccessButton=za;exports.FormSuccessHeading=Wa;exports.FormSuccessMessage=Qa;exports.FormWrapper=ma;exports.Header=L;exports.HeaderToolbar=D;exports.HeaderToolbarWrapper=W;exports.HelpAction=Rt;exports.HelpActions=_t;exports.HelpActionsMenu=Vt;exports.HelpActionsMenuArrow=Gt;exports.HelpActionsMenuItem=$t;exports.HelpActionsMenuItemIcon=Jt;exports.HelpActionsTrigger=Ot;exports.Input=Xe;exports.InputFieldset=Ke;exports.InputGroup=Ue;exports.IntroMessageWrapper=ce;exports.Message=Ie;exports.MessageAction=He;exports.MessageActions=Be;exports.MessageAttachments=ve;exports.MessageAttachmentsItem=Fe;exports.MessageAttachmentsItemIcon=ke;exports.MessageAttachmentsItemTitle=Ae;exports.MessageAttachmentsList=fe;exports.MessageAttachmentsPreview=we;exports.MessageAttachmentsPreviewBody=Ne;exports.MessageAttachmentsPreviewClose=ye;exports.MessageAttachmentsPreviewContent=Me;exports.MessageAttachmentsPreviewHeader=je;exports.MessageAttachmentsPreviewOverlay=Pe;exports.MessageAvatar=be;exports.MessageAvatarContent=xe;exports.MessageAvatarFallback=pe;exports.MessageAvatarImage=Ce;exports.MessageContent=Ee;exports.MessageContentWrapper=ge;exports.MessageHeader=le;exports.MessageLoading=he;exports.MessageName=ue;exports.MessageSourceItem=Qe;exports.MessageSourceItemBreadcrumbIcon=qe;exports.MessageSourceItemBreadcrumbs=ze;exports.MessageSourceItemDescription=Ve;exports.MessageSourceItemDescriptionPart=Ge;exports.MessageSourceItemIcon=_e;exports.MessageSourceItemIndicator=$e;exports.MessageSourceItemTag=Oe;exports.MessageSourceItemTitle=Re;exports.MessageSources=Le;exports.MessageSourcesHeader=De;exports.MessageSourcesList=We;exports.MessageToolAction=Te;exports.MessageToolActions=Se;exports.MessageWrapper=ne;exports.Messages=me;exports.Provider=B;exports.QuickQuestion=te;exports.QuickQuestionButton=ae;exports.QuickQuestions=Y;exports.QuickQuestionsLabel=Z;exports.QuickQuestionsList=ee;exports.Root=H;exports.SendButton=Ye;exports.SendButtonIcon=Ze;exports.TaglineBrandName=Wt;exports.TaglineContainer=Ht;exports.TaglineLogo=Dt;exports.TaglineText=Lt;exports.ToolbarHeader=Q;exports.Workflow=oe;exports.WorkflowIcon=ie;exports.Workflows=de;exports.WorkflowsLabel=se;exports.WorkflowsList=re;exports.Wrapper=S;
1
+ "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const d=require("react/jsx-runtime"),a=require("@inkeep/cxkit-primitives"),k=require("../ui/recipes/ai-chat-page-wrapper.cjs"),n=require("../ui/recipes/attachment.cjs"),o=require("../ui/recipes/button.cjs"),x=require("../ui/recipes/checkbox.cjs"),i=require("../ui/recipes/citation.cjs"),w=require("../ui/recipes/icon.cjs"),l=require("../ui/recipes/input.cjs"),P=require("../ui/recipes/link.cjs"),r=require("../ui/recipes/modal.cjs"),p=require("../ui/recipes/popover.cjs"),C=require("../ui/recipes/scrollable.cjs"),h=require("../ui/recipes/select.cjs"),M=require("class-variance-authority"),j=require("merge-anything"),c=require("react"),s=require("../utils.cjs"),y=require("../ui/markdown-styles.cjs"),N=require("./loading-indicator.cjs"),I=require("./embedded-chat/conversation-loading.cjs"),B=a.EmbeddedChatPrimitive.Provider,S=c.forwardRef(({className:e,size:t,variant:m,...u},b)=>d.jsx(a.EmbeddedChatPrimitive.Wrapper,{ref:b,className:s.cn(k.aiChatPageWrapper({size:t,variant:m}),"data-[hidden]:hidden rounded-md flex","bg-white dark:bg-gray-dark-950","data-[composite]:w-full","max-h-[min(85vh,850px)]",e),...u})),T=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.ConversationLoading,{className:s.cn("flex flex-col items-center justify-center h-full gap-12 flex-1 p-8",e),children:d.jsx(I.ConversationLoading,{}),...t}),H=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.Root,{className:s.cn(C.scrollable({section:"wrapper"}),"rounded-[inherit] font-body",e),...t}),L=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.Header,{className:s.cn(C.scrollable({section:"header"}),"flex items-center","bg-white dark:bg-gray-dark-950","data-[show-toolbar]:after:absolute","data-[show-toolbar]:after:left-0","data-[show-toolbar]:after:top-full","data-[show-toolbar]:after:h-[1rem]","data-[show-toolbar]:after:w-full","data-[show-toolbar]:after:text-white","data-[show-toolbar]:after:dark:text-gray-dark-950","data-[show-toolbar]:after:bg-[linear-gradient(currentColor,_transparent)]","data-[show-toolbar]:after:z-start",e),...t}),D=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.HeaderToolbar,{className:s.cn("flex items-center gap-2 w-full pl-6 pr-1","ikp-md:px-4 py-2 justify-between *:m-0",e),...t}),W=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.HeaderToolbarWrapper,{className:s.cn("flex items-center gap-1.5",e),...t}),z=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.ToolbarHeader,{className:s.cn("text-gray-600 dark:text-gray-dark-100 text-sm",e),...t}),q=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.Content,{className:s.cn(C.scrollable({section:"content"}),"justify-end",e),...t}),_=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.ContentScrollArea,{className:s.cn("overflow-hidden",e),...t}),Q=c.forwardRef(({className:e,...t},m)=>d.jsx(a.EmbeddedChatPrimitive.ContentScrollAreaViewport,{ref:m,className:s.cn("h-full w-full rounded-[inherit]",e),...t})),R=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.ContentScrollAreaScrollbar,{className:s.cn("flex select-none touch-none p-0.5","transition-colors duration-[160ms] ease-in-out","w-2.5 border-l border-l-transparent",e),...t}),O=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.ContentScrollAreaThumb,{className:s.cn("relative flex-1 rounded-full","bg-gray-300 dark:bg-white-alpha-200",e),...t}),V=a.EmbeddedChatPrimitive.ContentScrollAreaCorner,G=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.Disclaimer,{className:s.cn("ml-auto text-sm flex items-center gap-1",e),...t}),$=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.DisclaimerLabel,{className:s.cn("text-gray-700 dark:text-gray-dark-100",e),...t}),J=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.DisclaimerTrigger,{className:s.cn("cursor-pointer text-gray-700 dark:text-gray-dark-100",e),...t}),K=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.DisclaimerContent,{className:s.cn(p.popover({slot:"content"}),"px-4 py-2 font-normal","w-[250px] sm:w-[420px]",e),...t}),U=a.EmbeddedChatPrimitive.DisclaimerText,X=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.DisclaimerArrow,{className:s.cn(p.popover({slot:"arrow"}),e),...t}),Y=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.ExampleQuestions,{className:s.cn("mt-4 flex flex-col gap-2",e),...t}),Z=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.ExampleQuestionsLabel,{className:s.cn("text-2xs uppercase font-semibold tracking-widest","text-gray-600 dark:text-white-alpha-500",e),...t}),ee=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.ExampleQuestionsList,{className:s.cn("flex flex-col","ikp-md:flex-row","flex-wrap gap-2",e),...t}),te=c.forwardRef(({className:e,style:t,...m},u)=>{const b=c.useRef(null),v=a.composeRefs(u,b),{width:f=0,height:F=0}=a.useResizeObserver({ref:b,box:"border-box"}),A=Math.max(F,f);return d.jsx(a.EmbeddedChatPrimitive.ExampleQuestion,{ref:v,style:{"--before-size":`${A+100}px`,...t},className:s.cn("flex items-center justify-center relative z-base","min-h-9 rounded-md overflow-hidden","before:absolute before:z-hide","before:bg-gray-300 dark:before:bg-gray-dark-950","before:bg-no-repeat before:[background-position:0_0]","before:[background-size:cover] before:m-auto","before:w-[--before-size] before:h-[--before-size]","data-[highlight]:first:before:[background-image:conic-gradient(transparent,theme(colors.inkeep-expanded-primary.600),transparent_30%)]","dark:data-[highlight]:first:before:[background-image:conic-gradient(transparent,theme(colors.inkeep-expanded-primary.300),transparent_30%)]","data-[highlight]:first:before:animate-[spin_4s_linear_infinite]","after:absolute after:z-base after:top-[1px] after:left-[1px]","after:w-[calc(100%-2px)] after:h-[calc(100%-2px)]","after:rounded-[5px] after:bg-white dark:after:bg-gray-dark-950",e),...m})}),ae=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.ExampleQuestionButton,{className:s.cn(o.button({size:"sm"}),"text-sm font-normal h-auto w-full py-2 z-start","whitespace-normal text-center leading-[unset]","border border-solid","text-gray-800 dark:text-white-alpha-950","border-white-alpha-200","[&:where(:hover,:focus)]:bg-slate-400/5","dark:[&:where(:hover,:focus)]:bg-white-alpha-100 focus:z-start",e),...t}),de=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.Workflows,{className:s.cn("mt-4 flex flex-col gap-2",e),...t}),se=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.WorkflowsLabel,{className:s.cn("text-2xs uppercase font-semibold tracking-widest","text-gray-600 dark:text-white-alpha-500",e),...t}),re=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.WorkflowsList,{className:s.cn("flex flex-wrap gap-2",e),...t}),oe=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.Workflow,{className:s.cn(o.button({size:"sm"}),"min-h-9 px-3 py-2 h-auto font-medium","text-sm gap-2 whitespace-normal border ","text-inkeep-primary-strong dark:text-inkeep-expanded-primary-300","border-inkeep-expanded-primary-200","dark:border-inkeep-expanded-primary-200","hover:bg-inkeep-primary-light-subtle","dark:hover:bg-white-alpha-100",e),...t}),me=a.EmbeddedChatPrimitive.WorkflowIcon,ie=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.Messages,{className:s.cn("flex flex-col w-full min-w-0 min-h-0 text-2sm relative",e),...t}),g=M.cva(["flex relative w-full overflow-hidden py-8","px-6 ikp-md:px-8","flex-col ikp-md:flex-row","min-w-0 grow-[2] data-[role=user]:grow-0","[&:not(:last-child)]:after:absolute","[&:not(:last-child)]:after:border-b","[&:not(:last-child)]:after:bottom-0","[&:not(:last-child)]:after:inset-x-6","ikp-md:[&:not(:last-child)]:after:inset-x-8"]),ne=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.MessageWrapper,{className:s.cn(g(),e),...t}),ce=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.IntroMessageWrapper,{className:s.cn(g(),e),...t}),le=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.MessageHeader,{className:s.cn("flex justify-start overflow-hidden shrink-0 select-none","flex-row ikp-md:flex-col","items-center ikp-md:items-start","ikp-md:pl-3","ikp-md:pr-6","mb-6 ikp-md:mb-0",e),...t}),he=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.MessageLoading,{className:s.cn("flex items-center gap-3 h-12 w-full",e),children:d.jsx(N.LoadingIndicator,{}),...t}),be=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.MessageAvatar,{className:s.cn("flex items-center justify-center rounded-full","h-auto ikp-md:h-12",e),...t}),xe=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.MessageAvatarContent,{className:s.cn("relative flex h-8 w-8 shrink-0 overflow-hidden","data-[username]:bg-inkeep-primary-lighter","dark:data-[username]:bg-inkeep-expanded-primary-300","text-inkeep-primary-stronger font-semibold ","data-[role=user]:hidden ikp-md:flex","justify-center items-center",e),...t}),pe=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.MessageAvatarFallback,{className:s.cn("hidden data-[role=user]:block",e),...t}),Ce=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.MessageAvatarImage,{className:s.cn("data-[type=icon]:data-[role=user]:text-inkeep-primary-medium","dark:data-[type=icon]:data-[role=user]:text-inkeep-expanded-primary-300","data-[type=icon]:data-[role=assistant]:[--start-color:theme(colors.inkeep-expanded-primary.300)]","data-[type=icon]:data-[role=assistant]:[--end-color:theme(colors.inkeep-expanded-primary.700)]","dark:data-[type=icon]:data-[role=assistant]:[--start-color:theme(colors.inkeep-expanded-primary.50)]","dark:data-[type=icon]:data-[role=assistant]:[--end-color:theme(colors.inkeep-expanded-primary.300)]",e),...t}),ue=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.MessageName,{className:s.cn("px-3 py-1 ml-4 data-[role=user]:ml-0","text-sm rounded-full","bg-inkeep-primary-lighter data-[role=user]:bg-gray-50","text-inkeep-primary-stronger dark:text-inkeep-expanded-primary-300","data-[role=user]:text-gray-700 dark:data-[role=user]:text-white-alpha-700","dark:bg-gray-dark-700","ikp-md:hidden",e),...t}),Ee=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.MessageContentWrapper,{className:s.cn("overflow-hidden flex flex-col","justify-start grow-2 w-full","data-[role=user]:justify-end","data-[role=user]:shrink-2","data-[role=user]:grow-0","ikp-md:pr-3",e),...t}),ge=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.MessageContent,{className:s.cn("text-2sm flex-wrap break-words min-w-0 shrink-1 max-w-full",e),...t}),ve=a.EmbeddedChatPrimitive.MessageAttachments,fe=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.MessageAttachmentsList,{className:s.cn("flex flex-wrap gap-2",e),...t}),Fe=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.MessageAttachmentsItem,{className:s.cn(o.button({variant:"ghost"}),n.attachment({slot:"root"}),"font-normal px-2",e),...t}),Ae=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.MessageAttachmentsItemIcon,{className:s.cn(n.attachment({slot:"icon"}),e),...t}),ke=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.MessageAttachmentsItemTitle,{className:s.cn(n.attachment({slot:"title"}),e),...t}),we=a.EmbeddedChatPrimitive.MessageAttachmentsPreview,Pe=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.MessageAttachmentsPreviewOverlay,{className:s.cn(r.modal({slot:"overlay"}),e),...t}),Me=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.MessageAttachmentsPreviewContent,{className:s.cn(r.modal({slot:"content"}),"my-6 md:my-12 top-0 left-[unset] transform-none relative","p-8 md:p-10 max-w-2xl",e),...t}),je=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.MessageAttachmentsPreviewHeader,{className:s.cn(r.modal({slot:"header"}),"px-0 pt-0 pb-8 flex flex-col gap-6","font-semibold",e),...t}),ye=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.MessageAttachmentsPreviewClose,{className:s.cn(r.modal({slot:"close"}),e),...t}),Ne=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.MessageAttachmentsPreviewBody,{className:s.cn(r.modal({slot:"body"}),"p-0",e),...t}),Ie=({className:e,componentStyles:t,...m})=>d.jsx(a.EmbeddedChatPrimitive.Message,{className:s.cn("data-[role=user]:whitespace-pre-wrap mb-3 max-w-full",e),componentStyles:j.merge(y.markdownStyles,t??{}),...m}),Be=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.MessageActions,{className:s.cn("flex items-center mt-2 mb-3",e),...t}),Se=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.MessageToolActions,{className:s.cn("mr-auto flex items-center gap-2",e),...t}),Te=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.MessageToolAction,{className:s.cn(o.button({size:"xs",variant:"outline"}),"text-xs h-[30px] text-gray-700 dark:text-gray-200 gap-1",e),...t}),He=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.MessageAction,{className:s.cn(o.button({variant:"iconButton",size:"sm"}),"data-[upvoted]:text-inkeep-primary-medium","data-[downvoted]:text-inkeep-primary-medium","data-[upvoted]:dark:text-inkeep-expanded-primary-300","data-[downvoted]:dark:text-inkeep-expanded-primary-300","dark:hover:text-inkeep-expanded-primary-300 px-2 text-md",e),...t}),Le=a.EmbeddedChatPrimitive.MessageSources,De=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.MessageSourcesHeader,{className:s.cn("block text-xs font-medium my-2 text-gray-700 dark:text-gray-dark-300",e),...t}),We=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.MessageSourcesList,{className:s.cn("w-full relative flex flex-col gap-3 py-[1px]",e),...t}),ze=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.MessageSourceItem,{className:s.cn(i.citation({slot:"root"}),e),...t}),qe=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.MessageSourceItemBreadcrumbs,{className:s.cn(i.citation({slot:"breadcrumbs"}),e),...t}),_e=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.MessageSourceItemBreadcrumbIcon,{className:s.cn(i.citation({slot:"breadcrumbsIcon"}),e),...t}),Qe=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.MessageSourceItemIcon,{className:s.cn(i.citation({slot:"icon"}),e),...t}),Re=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.MessageSourceItemTitle,{className:s.cn(i.citation({slot:"title"}),e),...t}),Oe=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.MessageSourceItemTag,{className:s.cn(i.citation({slot:"tag"}),e),...t}),Ve=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.MessageSourceItemDescription,{className:s.cn(i.citation({slot:"description"}),e),...t}),Ge=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.MessageSourceItemDescriptionPart,{className:s.cn(i.citation({slot:"descriptionPart"}),e),...t}),$e=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.MessageSourceItemIndicator,{className:s.cn(i.citation({slot:"indicator"}),e),...t}),Je=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.Footer,{className:s.cn("bg-white dark:bg-gray-dark-950 pt-6 pb-4","px-6 ikp-md:px-8 relative","before:absolute before:block before:top-0 before:left-0","before:pointer-events-none before:w-full before:h-3","before:bg-gradient-to-b before:from-transparent before:to-white","dark:before:to-gray-dark-950 before:-translate-y-full",e),...t}),Ke=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.InputFieldset,{className:s.cn("relative flex flex-col w-full p-2","rounded-lg items-stretch shadow-md dark:shadow-none","bg-gray-50 dark:bg-white-alpha-50",e),...t}),Ue=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.InputGroup,{className:s.cn("flex",e),...t}),Xe=c.forwardRef(({className:e,...t},m)=>d.jsx(a.EmbeddedChatPrimitive.Input,{ref:m,className:s.cn("min-h-[unset] overflow-hidden w-full resize-none","placeholder:text-gray-500 dark:placeholder:text-gray-dark-200","border-none outline-none shadow-none bg-transparent","px-3 py-2 ml-1 mr-2 max-h-[200px] overflow-y-auto disabled:cursor-not-allowed",e),...t})),Ye=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.SendButton,{className:s.cn(o.button({}),"bg-transparent relative size-10 rounded-lg transition-all ease-linear","text-inkeep-primary-medium dark:text-inkeep-expanded-primary-500","active:bg-gray-300 dark:active:bg-white-alpha-100","hover:bg-gray-200 hover:text-inkeep-primary-strong","dark:hover:bg-white-alpha-100 dark:hover:text-inkeep-expanded-primary-300","disabled:text-gray-500 dark:disabled:text-white-alpha-200","disabled:cursor-not-allowed hover:disabled:[background:none] active:disabled:[background:none]",e),...t}),Ze=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.SendButtonIcon,{className:s.cn(w.icon(),"text-inherit rotate-[-30deg]",e),...t}),et=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.AttachmentsBar,{className:s.cn("flex items-center justify-between","flex-wrap gap-2 px-1 pt-2 pb-1",e),...t}),tt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.AttachmentsBarList,{className:s.cn("flex items-center gap-2 flex-wrap px-3 min-w-0",e),...t}),at=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.AttachmentsBarAttachment,{className:s.cn(n.attachment({slot:"root"}),e),...t}),dt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.AttachmentsBarAttachmentIcon,{className:s.cn(n.attachment({slot:"icon"}),e),...t}),st=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.AttachmentsBarAttachmentTitle,{className:s.cn(n.attachment({slot:"title"}),e),...t}),rt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.AttachmentsBarAttachmentDelete,{className:s.cn(n.attachment({slot:"delete"}),e),...t}),ot=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.AttachmentsBarActions,{className:s.cn("flex items-center justify-between","gap-2 flex-wrap px-3",e),...t}),mt=a.EmbeddedChatPrimitive.AttachmentsBarInfoTip,it=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.AttachmentsBarInfoTipIcon,{className:s.cn("cursor-pointer text-sm text-gray-600","dark:text-white-alpha-600",e),...t}),nt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.AttachmentsBarInfoTipText,{className:s.cn("bg-white text-gray-800 fill-white","dark:bg-gray-dark-800 dark:text-white-alpha-950 dark:fill-gray-dark-800","shadow-[0_8px_30px_rgba(0,0,0,0.12)] z-dropdown","px-3 py-2 rounded-md text-sm font-normal max-w-[200px]",e),...t}),ct=a.EmbeddedChatPrimitive.AttachmentsBarInfoTipArrow,lt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.AttachmentsBarInputs,{className:s.cn("contents",e),...t}),ht=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.AttachmentsBarInput,{className:s.cn(o.button({variant:"outline",size:"xs"}),"light:text-gray-700 gap-1",e),...t}),bt=a.EmbeddedChatPrimitive.AttachmentsBarInputIcon,xt=a.EmbeddedChatPrimitive.AttachmentsBarModal,pt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.AttachmentsBarModalOverlay,{className:s.cn(r.modal({slot:"overlay"}),e),...t}),Ct=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.AttachmentsBarModalContent,{className:s.cn(r.modal({slot:"content"}),"my-6 md:my-12 top-0 left-[unset] transform-none relative","p-8 md:p-10 max-w-2xl",e),...t}),ut=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.AttachmentsBarModalHeader,{className:s.cn(r.modal({slot:"header"}),"px-0 pt-0 pb-8 gap-y-2","font-semibold",e),...t}),Et=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.AttachmentsBarModalHeading,{className:s.cn("w-full semibold",e),...t}),gt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.AttachmentsBarModalDescription,{className:s.cn("text-gray-700 dark:text-white-alpha-700","text-sm font-normal w-full",e),...t}),vt=a.EmbeddedChatPrimitive.AttachmentsBarModalHelp,ft=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.AttachmentsBarModalClose,{className:s.cn(r.modal({slot:"close"}),e),...t}),Ft=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.AttachmentsBarModalBody,{className:s.cn(r.modal({slot:"body"}),"p-0",e),...t}),At=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.AttachmentsBarForm,{className:s.cn("flex flex-col gap-8",e),...t}),kt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.AttachmentsBarFormTitle,{className:s.cn("flex flex-col gap-2",e),...t}),wt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.AttachmentsBarFormTitleLabel,{className:s.cn("text-sm font-medium text-gray-700 dark:text-white-alpha-700",e),...t}),Pt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.AttachmentsBarFormTitleInput,{className:s.cn("h-10 px-4 rounded-md border","focus:outline-none focus:[--shadow-color:theme(colors.blue.500)]","data-[invalid]:[--shadow-color:theme(colors.red.500)]","shadow-[0_0_0_2px_var(--shadow-color)]",e),...t}),Mt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.AttachmentsBarFormTitleError,{className:s.cn("text-sm text-red-500",e),...t}),jt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.AttachmentsBarFormContent,{className:s.cn("flex flex-col gap-2",e),...t}),yt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.AttachmentsBarFormContentLabel,{className:s.cn("text-sm font-medium text-gray-700 dark:text-white-alpha-700",e),...t}),Nt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.AttachmentsBarFormContentInput,{className:s.cn(l.input({size:"md",variant:"outline"}),"min-h-20 px-4 py-2",e),...t}),It=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.AttachmentsBarFormContentError,{className:s.cn("text-sm text-red-500",e),...t}),Bt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.AttachmentsBarFormSubmitButton,{className:s.cn(o.button({preset:"neutralFilled"}),"ml-auto",e),...t}),St=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.ActionBar,{className:s.cn("mt-4 flex items-start justify-between flex-wrap-reverse gap-2.5",e),...t}),Tt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.Actions,{className:s.cn("flex items-center gap-2.5 flex-wrap",e),...t}),Ht=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.TaglineContainer,{className:s.cn("flex items-center whitespace-nowrap",e),...t}),Lt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.TaglineText,{className:s.cn("text-xs md:text-sm text-gray-500 dark:text-white-alpha-600",e),...t}),Dt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.TaglineLogo,{className:s.cn("text-gray-400 dark:text-white-alpha-500","w-[18px] ml-2 mr-1",e),...t}),Wt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.TaglineBrandName,{className:s.cn(P.link(),"inline-flex text-xs md:text-sm text-gray-500","dark:text-white-alpha-600 font-bold",e),...t}),E=s.cn(o.button({size:"xs",variant:"outline"}),"text-gray-700 dark:text-white-alpha-700"),zt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.ChatAction,{className:s.cn(E,e),...t}),qt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.ChatActionLabel,{className:s.cn("cursor-pointer",e),...t}),_t=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.ChatActionFeedback,{className:s.cn("bg-white text-gray-800 fill-white","dark:bg-gray-dark-800 dark:text-white-alpha-900 dark:fill-gray-dark-800","shadow-[0_8px_30px_rgba(0,0,0,0.12)]","px-2 py-3 rounded-md text-sm font-normal",e),...t}),Qt=a.EmbeddedChatPrimitive.HelpActions,Rt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.ChatHelpAction,{className:s.cn(E,e),...t}),Ot=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.HelpActionsTrigger,{className:s.cn(E,e),...t}),Vt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.HelpActionsMenu,{className:s.cn(p.popover({slot:"content"}),"gap-3 px-3 py-4 ","w-[254px] text-sm font-normal",e),...t}),Gt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.HelpActionsMenuArrow,{className:s.cn(p.popover({slot:"arrow"}),e),...t}),$t=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.HelpActionsMenuItem,{className:s.cn("flex items-center cursor-pointer hover:underline",e),...t}),Jt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.HelpActionsMenuItemIcon,{className:s.cn("mr-2 text-inkeep-primary-medium",e),...t}),Kt=a.EmbeddedChatPrimitive.FeedbackModal,Ut=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FeedbackModalOverlay,{className:s.cn(r.modal({slot:"overlay"}),e),...t}),Xt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FeedbackModalContent,{className:s.cn(r.modal({slot:"content"}),"my-6 md:my-12 top-0 left-[unset] transform-none relative","p-8 md:p-10 max-w-[480px]",e),...t}),Yt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FeedbackModalHeader,{className:s.cn(r.modal({slot:"header"}),"px-0 pt-0 pb-8","font-semibold",e),...t}),Zt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FeedbackModalClose,{className:s.cn(r.modal({slot:"close"}),e),...t}),ea=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FeedbackModalBody,{className:s.cn(r.modal({slot:"body"}),"p-0",e),...t}),ta=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FeedbackForm,{className:s.cn("flex flex-col gap-8",e),...t}),aa=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FeedbackItem,{className:s.cn("flex flex-wrap items-center","gap-[1rem_0.5rem]",e),...t}),da=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FeedbackItemCheckbox,{className:s.cn(x.checkbox({slot:"root"}),e),...t}),sa=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FeedbackItemCheckboxIndicator,{className:s.cn(x.checkbox({slot:"indicator"}),e),...t}),ra=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FeedbackItemLabel,{className:s.cn("select-none cursor-pointer font-medium text-sm","text-gray-700 dark:text-white-alpha-700",e),...t}),oa=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FeedbackItemDescription,{className:s.cn("flex-[0_0_100%]","min-h-20 py-2 border rounded-md","px-4",e),...t}),ma=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FeedbackSubmitButton,{className:s.cn(o.button({preset:"neutralFilled"}),"ml-auto",e),...t}),ia=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FormWrapper,{className:s.cn("w-full overflow-y-auto",e),...t}),na=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.Form,{className:s.cn(C.scrollable({section:"content"}),"relative pt-4 pb-8 gap-8","items-start justify-center w-full","px-6 ikp-md:px-14 ikp-md:pb-14",e),...t}),ca=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FormClose,{className:s.cn(o.button({variant:"ghost"}),"absolute right-1 top-1","text-xl text-gray-500 dark:text-white-alpha-500 w-10 h-10 z-modal",e),...t}),la=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FormHeader,{className:s.cn("mt-12 flex flex-col gap-6",e),...t}),ha=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FormHeading,{className:s.cn("font-semibold text-xl leading-5",e),...t}),ba=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FormDescription,{className:s.cn("text-gray-700 dark:text-white-alpha-700 text-sm",e),...t}),xa=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FormContent,{className:s.cn("w-full",e),...t}),pa=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FormField,{className:s.cn("mb-8 flex flex-col gap-2 data-[hidden]:hidden","data-[input-type=checkbox]:flex-row data-[input-type=checkbox]:items-center",e),...t}),Ca=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FormFieldLabel,{className:s.cn("font-medium text-sm text-gray-700","dark:text-white-alpha-700 ","font-medium relative","data-[required]:after:absolute",'data-[required]:after:[content:"*"]',"data-[required]:after:ml-1","data-[required]:after:mt-0","data-[required]:after:text-red-500","dark:data-[required]:after:text-red-300",e),...t}),ua=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FormFieldText,{className:s.cn(l.input({size:"md",variant:"outline"}),e),...t}),Ea=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FormFieldEmail,{className:s.cn(l.input({size:"md",variant:"outline"}),e),...t}),ga=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FormFieldFile,{className:s.cn(l.input({size:"md",variant:"outline"}),"text-sm pl-2 file:h-full file:cursor-pointer py-0","file:bg-transparent file:border-none file:font-medium","file:text-sm file:text-gray-700 dark:file:text-white-alpha-700",e),...t}),va=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FormFieldTextArea,{className:s.cn(l.input({size:"md",variant:"outline"}),"min-h-20 px-4 py-2",e),...t}),fa=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FormFieldCheckbox,{className:s.cn(x.checkbox({slot:"root"}),e),...t}),Fa=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FormFieldCheckboxIndicator,{className:s.cn(x.checkbox({slot:"indicator"}),e),...t}),Aa=a.EmbeddedChatPrimitive.FormFieldSelect,ka=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FormFieldSelectTrigger,{className:s.cn(h.select({slot:"trigger"}),e),...t}),wa=a.EmbeddedChatPrimitive.FormFieldSelectValue,Pa=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FormFieldSelectIcon,{className:s.cn("h-4 w-4 opacity-45",e),...t}),Ma=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FormFieldSelectContent,{className:s.cn(h.select({slot:"content"}),e),...t}),ja=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FormFieldSelectViewport,{className:s.cn(h.select({slot:"viewport"}),e),...t}),ya=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FormFieldSelectItem,{className:s.cn(h.select({slot:"item"}),e),...t}),Na=a.EmbeddedChatPrimitive.FormFieldSelectItemText,Ia=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FormFieldSelectItemIndicator,{className:s.cn(h.select({slot:"itemIndicator"}),e),...t}),Ba=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FormFieldError,{className:s.cn("text-sm flex items-center text-red-500 dark:text-red-300",e),...t}),Sa=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FormError,{className:s.cn("text-red-500 dark:text-red-300",e),...t}),Ta=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FormFooter,{className:s.cn("flex items-center justify-end gap-6 w-full",e),...t}),Ha=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FormCancel,{className:s.cn(o.button({variant:"outline"}),e),...t}),La=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FormSubmit,{className:s.cn(o.button({preset:"neutralFilled"}),e),...t}),Da=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FormSuccess,{className:s.cn("flex flex-col items-center justify-center h-auto","m-auto px-6 py-8 ikp-md:py-14 ikp-md:px-14",e),...t}),Wa=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FormSuccessHeading,{className:s.cn("mb-6 font-bold tracking-tight","text-3xl md:text-4xl leading-6 md:leading-5",e),...t}),za=a.EmbeddedChatPrimitive.FormSuccessMessage,qa=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FormSuccessButton,{className:s.cn(o.button({preset:"neutralFilled"}),"w-full mt-12 gap-2 shrink-0",e),...t});exports.ActionBar=St;exports.Actions=Tt;exports.AttachmentsBar=et;exports.AttachmentsBarActions=ot;exports.AttachmentsBarAttachment=at;exports.AttachmentsBarAttachmentDelete=rt;exports.AttachmentsBarAttachmentIcon=dt;exports.AttachmentsBarAttachmentTitle=st;exports.AttachmentsBarForm=At;exports.AttachmentsBarFormContent=jt;exports.AttachmentsBarFormContentError=It;exports.AttachmentsBarFormContentInput=Nt;exports.AttachmentsBarFormContentLabel=yt;exports.AttachmentsBarFormSubmitButton=Bt;exports.AttachmentsBarFormTitle=kt;exports.AttachmentsBarFormTitleError=Mt;exports.AttachmentsBarFormTitleInput=Pt;exports.AttachmentsBarFormTitleLabel=wt;exports.AttachmentsBarInfoTip=mt;exports.AttachmentsBarInfoTipArrow=ct;exports.AttachmentsBarInfoTipIcon=it;exports.AttachmentsBarInfoTipText=nt;exports.AttachmentsBarInput=ht;exports.AttachmentsBarInputIcon=bt;exports.AttachmentsBarInputs=lt;exports.AttachmentsBarList=tt;exports.AttachmentsBarModal=xt;exports.AttachmentsBarModalBody=Ft;exports.AttachmentsBarModalClose=ft;exports.AttachmentsBarModalContent=Ct;exports.AttachmentsBarModalDescription=gt;exports.AttachmentsBarModalHeader=ut;exports.AttachmentsBarModalHeading=Et;exports.AttachmentsBarModalHelp=vt;exports.AttachmentsBarModalOverlay=pt;exports.ChatAction=zt;exports.ChatActionFeedback=_t;exports.ChatActionLabel=qt;exports.Content=q;exports.ContentScrollArea=_;exports.ContentScrollAreaCorner=V;exports.ContentScrollAreaScrollbar=R;exports.ContentScrollAreaThumb=O;exports.ContentScrollAreaViewport=Q;exports.ConversationLoading=T;exports.Disclaimer=G;exports.DisclaimerArrow=X;exports.DisclaimerContent=K;exports.DisclaimerLabel=$;exports.DisclaimerText=U;exports.DisclaimerTrigger=J;exports.ExampleQuestion=te;exports.ExampleQuestionButton=ae;exports.ExampleQuestions=Y;exports.ExampleQuestionsLabel=Z;exports.ExampleQuestionsList=ee;exports.FeedbackForm=ta;exports.FeedbackItem=aa;exports.FeedbackItemCheckbox=da;exports.FeedbackItemCheckboxIndicator=sa;exports.FeedbackItemDescription=oa;exports.FeedbackItemLabel=ra;exports.FeedbackModal=Kt;exports.FeedbackModalBody=ea;exports.FeedbackModalClose=Zt;exports.FeedbackModalContent=Xt;exports.FeedbackModalHeader=Yt;exports.FeedbackModalOverlay=Ut;exports.FeedbackSubmitButton=ma;exports.Footer=Je;exports.Form=na;exports.FormCancel=Ha;exports.FormClose=ca;exports.FormContent=xa;exports.FormDescription=ba;exports.FormError=Sa;exports.FormField=pa;exports.FormFieldCheckbox=fa;exports.FormFieldCheckboxIndicator=Fa;exports.FormFieldEmail=Ea;exports.FormFieldError=Ba;exports.FormFieldFile=ga;exports.FormFieldLabel=Ca;exports.FormFieldSelect=Aa;exports.FormFieldSelectContent=Ma;exports.FormFieldSelectIcon=Pa;exports.FormFieldSelectItem=ya;exports.FormFieldSelectItemIndicator=Ia;exports.FormFieldSelectItemText=Na;exports.FormFieldSelectTrigger=ka;exports.FormFieldSelectValue=wa;exports.FormFieldSelectViewport=ja;exports.FormFieldText=ua;exports.FormFieldTextArea=va;exports.FormFooter=Ta;exports.FormHeader=la;exports.FormHeading=ha;exports.FormSubmit=La;exports.FormSuccess=Da;exports.FormSuccessButton=qa;exports.FormSuccessHeading=Wa;exports.FormSuccessMessage=za;exports.FormWrapper=ia;exports.Header=L;exports.HeaderToolbar=D;exports.HeaderToolbarWrapper=W;exports.HelpAction=Rt;exports.HelpActions=Qt;exports.HelpActionsMenu=Vt;exports.HelpActionsMenuArrow=Gt;exports.HelpActionsMenuItem=$t;exports.HelpActionsMenuItemIcon=Jt;exports.HelpActionsTrigger=Ot;exports.Input=Xe;exports.InputFieldset=Ke;exports.InputGroup=Ue;exports.IntroMessageWrapper=ce;exports.Message=Ie;exports.MessageAction=He;exports.MessageActions=Be;exports.MessageAttachments=ve;exports.MessageAttachmentsItem=Fe;exports.MessageAttachmentsItemIcon=Ae;exports.MessageAttachmentsItemTitle=ke;exports.MessageAttachmentsList=fe;exports.MessageAttachmentsPreview=we;exports.MessageAttachmentsPreviewBody=Ne;exports.MessageAttachmentsPreviewClose=ye;exports.MessageAttachmentsPreviewContent=Me;exports.MessageAttachmentsPreviewHeader=je;exports.MessageAttachmentsPreviewOverlay=Pe;exports.MessageAvatar=be;exports.MessageAvatarContent=xe;exports.MessageAvatarFallback=pe;exports.MessageAvatarImage=Ce;exports.MessageContent=ge;exports.MessageContentWrapper=Ee;exports.MessageHeader=le;exports.MessageLoading=he;exports.MessageName=ue;exports.MessageSourceItem=ze;exports.MessageSourceItemBreadcrumbIcon=_e;exports.MessageSourceItemBreadcrumbs=qe;exports.MessageSourceItemDescription=Ve;exports.MessageSourceItemDescriptionPart=Ge;exports.MessageSourceItemIcon=Qe;exports.MessageSourceItemIndicator=$e;exports.MessageSourceItemTag=Oe;exports.MessageSourceItemTitle=Re;exports.MessageSources=Le;exports.MessageSourcesHeader=De;exports.MessageSourcesList=We;exports.MessageToolAction=Te;exports.MessageToolActions=Se;exports.MessageWrapper=ne;exports.Messages=ie;exports.Provider=B;exports.Root=H;exports.SendButton=Ye;exports.SendButtonIcon=Ze;exports.TaglineBrandName=Wt;exports.TaglineContainer=Ht;exports.TaglineLogo=Dt;exports.TaglineText=Lt;exports.ToolbarHeader=z;exports.Workflow=oe;exports.WorkflowIcon=me;exports.Workflows=de;exports.WorkflowsLabel=se;exports.WorkflowsList=re;exports.Wrapper=S;
@@ -1,26 +1,26 @@
1
1
  "use client";
2
2
  import { jsx as s } from "react/jsx-runtime";
3
- import { EmbeddedChatPrimitive as a, composeRefs as E, useResizeObserver as M } from "@inkeep/cxkit-primitives";
3
+ import { EmbeddedChatPrimitive as a, composeRefs as w, useResizeObserver as M } from "@inkeep/cxkit-primitives";
4
4
  import { aiChatPageWrapper as y } from "../ui/recipes/ai-chat-page-wrapper.js";
5
- import { attachment as c } from "../ui/recipes/attachment.js";
5
+ import { attachment as l } from "../ui/recipes/attachment.js";
6
6
  import { button as d } from "../ui/recipes/button.js";
7
7
  import { checkbox as p } from "../ui/recipes/checkbox.js";
8
8
  import { citation as m } from "../ui/recipes/citation.js";
9
9
  import { icon as N } from "../ui/recipes/icon.js";
10
- import { input as l } from "../ui/recipes/input.js";
10
+ import { input as c } from "../ui/recipes/input.js";
11
11
  import { link as I } from "../ui/recipes/link.js";
12
12
  import { modal as o } from "../ui/recipes/modal.js";
13
13
  import { popover as b } from "../ui/recipes/popover.js";
14
- import { scrollable as u } from "../ui/recipes/scrollable.js";
14
+ import { scrollable as g } from "../ui/recipes/scrollable.js";
15
15
  import { select as i } from "../ui/recipes/select.js";
16
16
  import { cva as B } from "class-variance-authority";
17
17
  import { merge as v } from "merge-anything";
18
- import { forwardRef as g, useRef as S } from "react";
18
+ import { forwardRef as u, useRef as S } from "react";
19
19
  import { cn as r } from "../utils.js";
20
20
  import { markdownStyles as T } from "../ui/markdown-styles.js";
21
21
  import { LoadingIndicator as H } from "./loading-indicator.js";
22
22
  import { ConversationLoading as L } from "./embedded-chat/conversation-loading.js";
23
- const ae = a.Provider, se = g(
23
+ const ae = a.Provider, se = u(
24
24
  ({ className: e, size: t, variant: n, ...x }, h) => /* @__PURE__ */ s(
25
25
  a.Wrapper,
26
26
  {
@@ -52,7 +52,7 @@ const ae = a.Provider, se = g(
52
52
  }) => /* @__PURE__ */ s(
53
53
  a.Root,
54
54
  {
55
- className: r(u({ section: "wrapper" }), "rounded-[inherit] font-body", e),
55
+ className: r(g({ section: "wrapper" }), "rounded-[inherit] font-body", e),
56
56
  ...t
57
57
  }
58
58
  ), de = ({
@@ -62,7 +62,7 @@ const ae = a.Provider, se = g(
62
62
  a.Header,
63
63
  {
64
64
  className: r(
65
- u({ section: "header" }),
65
+ g({ section: "header" }),
66
66
  "flex items-center",
67
67
  "bg-white dark:bg-gray-dark-950",
68
68
  "data-[show-toolbar]:after:absolute",
@@ -100,7 +100,7 @@ const ae = a.Provider, se = g(
100
100
  className: r("flex items-center gap-1.5", e),
101
101
  ...t
102
102
  }
103
- ), ce = ({
103
+ ), le = ({
104
104
  className: e,
105
105
  ...t
106
106
  }) => /* @__PURE__ */ s(
@@ -109,13 +109,13 @@ const ae = a.Provider, se = g(
109
109
  className: r("text-gray-600 dark:text-gray-dark-100 text-sm", e),
110
110
  ...t
111
111
  }
112
- ), le = ({
112
+ ), ce = ({
113
113
  className: e,
114
114
  ...t
115
115
  }) => /* @__PURE__ */ s(
116
116
  a.Content,
117
117
  {
118
- className: r(u({ section: "content" }), "justify-end", e),
118
+ className: r(g({ section: "content" }), "justify-end", e),
119
119
  ...t
120
120
  }
121
121
  ), ie = ({
@@ -127,7 +127,7 @@ const ae = a.Provider, se = g(
127
127
  className: r("overflow-hidden", e),
128
128
  ...t
129
129
  }
130
- ), he = g(({ className: e, ...t }, n) => /* @__PURE__ */ s(
130
+ ), he = u(({ className: e, ...t }, n) => /* @__PURE__ */ s(
131
131
  a.ContentScrollAreaViewport,
132
132
  {
133
133
  ref: n,
@@ -157,7 +157,7 @@ const ae = a.Provider, se = g(
157
157
  className: r("relative flex-1 rounded-full", "bg-gray-300 dark:bg-white-alpha-200", e),
158
158
  ...t
159
159
  }
160
- ), ue = a.ContentScrollAreaCorner, ge = ({
160
+ ), ge = a.ContentScrollAreaCorner, ue = ({
161
161
  className: e,
162
162
  ...t
163
163
  }) => /* @__PURE__ */ s(
@@ -198,7 +198,7 @@ const ae = a.Provider, se = g(
198
198
  ),
199
199
  ...t
200
200
  }
201
- ), Fe = a.DisclaimerText, ke = ({
201
+ ), Fe = a.DisclaimerText, Ae = ({
202
202
  className: e,
203
203
  ...t
204
204
  }) => /* @__PURE__ */ s(
@@ -207,20 +207,20 @@ const ae = a.Provider, se = g(
207
207
  className: r(b({ slot: "arrow" }), e),
208
208
  ...t
209
209
  }
210
- ), Ae = ({
210
+ ), ke = ({
211
211
  className: e,
212
212
  ...t
213
213
  }) => /* @__PURE__ */ s(
214
- a.QuickQuestions,
214
+ a.ExampleQuestions,
215
215
  {
216
216
  className: r("mt-4 flex flex-col gap-2", e),
217
217
  ...t
218
218
  }
219
- ), we = ({
219
+ ), Ee = ({
220
220
  className: e,
221
221
  ...t
222
222
  }) => /* @__PURE__ */ s(
223
- a.QuickQuestionsLabel,
223
+ a.ExampleQuestionsLabel,
224
224
  {
225
225
  className: r(
226
226
  "text-2xs uppercase font-semibold tracking-widest",
@@ -229,26 +229,26 @@ const ae = a.Provider, se = g(
229
229
  ),
230
230
  ...t
231
231
  }
232
- ), Ee = ({
232
+ ), we = ({
233
233
  className: e,
234
234
  ...t
235
235
  }) => /* @__PURE__ */ s(
236
- a.QuickQuestionsList,
236
+ a.ExampleQuestionsList,
237
237
  {
238
238
  className: r("flex flex-col", "ikp-md:flex-row", "flex-wrap gap-2", e),
239
239
  ...t
240
240
  }
241
- ), Me = g(({ className: e, style: t, ...n }, x) => {
242
- const h = S(null), F = E(x, h), { width: k = 0, height: A = 0 } = M({
241
+ ), Me = u(({ className: e, style: t, ...n }, x) => {
242
+ const h = S(null), F = w(x, h), { width: A = 0, height: k = 0 } = M({
243
243
  ref: h,
244
244
  box: "border-box"
245
- }), w = Math.max(A, k);
245
+ }), E = Math.max(k, A);
246
246
  return /* @__PURE__ */ s(
247
- a.QuickQuestion,
247
+ a.ExampleQuestion,
248
248
  {
249
249
  ref: F,
250
250
  style: {
251
- "--before-size": `${w + 100}px`,
251
+ "--before-size": `${E + 100}px`,
252
252
  ...t
253
253
  },
254
254
  className: r(
@@ -274,7 +274,7 @@ const ae = a.Provider, se = g(
274
274
  className: e,
275
275
  ...t
276
276
  }) => /* @__PURE__ */ s(
277
- a.QuickQuestionButton,
277
+ a.ExampleQuestionButton,
278
278
  {
279
279
  className: r(
280
280
  d({ size: "sm" }),
@@ -398,7 +398,7 @@ const ae = a.Provider, se = g(
398
398
  children: /* @__PURE__ */ s(H, {}),
399
399
  ...t
400
400
  }
401
- ), Qe = ({
401
+ ), ze = ({
402
402
  className: e,
403
403
  ...t
404
404
  }) => /* @__PURE__ */ s(
@@ -407,7 +407,7 @@ const ae = a.Provider, se = g(
407
407
  className: r("flex items-center justify-center rounded-full", "h-auto ikp-md:h-12", e),
408
408
  ...t
409
409
  }
410
- ), ze = ({
410
+ ), Pe = ({
411
411
  className: e,
412
412
  ...t
413
413
  }) => /* @__PURE__ */ s(
@@ -424,7 +424,7 @@ const ae = a.Provider, se = g(
424
424
  ),
425
425
  ...t
426
426
  }
427
- ), Pe = ({
427
+ ), _e = ({
428
428
  className: e,
429
429
  ...t
430
430
  }) => /* @__PURE__ */ s(
@@ -433,7 +433,7 @@ const ae = a.Provider, se = g(
433
433
  className: r("hidden data-[role=user]:block", e),
434
434
  ...t
435
435
  }
436
- ), _e = ({
436
+ ), je = ({
437
437
  className: e,
438
438
  ...t
439
439
  }) => /* @__PURE__ */ s(
@@ -450,7 +450,7 @@ const ae = a.Provider, se = g(
450
450
  ),
451
451
  ...t
452
452
  }
453
- ), je = ({
453
+ ), Qe = ({
454
454
  className: e,
455
455
  ...t
456
456
  }) => /* @__PURE__ */ s(
@@ -511,7 +511,7 @@ const ae = a.Provider, se = g(
511
511
  {
512
512
  className: r(
513
513
  d({ variant: "ghost" }),
514
- c({ slot: "root" }),
514
+ l({ slot: "root" }),
515
515
  "font-normal px-2",
516
516
  e
517
517
  ),
@@ -523,7 +523,7 @@ const ae = a.Provider, se = g(
523
523
  }) => /* @__PURE__ */ s(
524
524
  a.MessageAttachmentsItemIcon,
525
525
  {
526
- className: r(c({ slot: "icon" }), e),
526
+ className: r(l({ slot: "icon" }), e),
527
527
  ...t
528
528
  }
529
529
  ), Je = ({
@@ -532,7 +532,7 @@ const ae = a.Provider, se = g(
532
532
  }) => /* @__PURE__ */ s(
533
533
  a.MessageAttachmentsItemTitle,
534
534
  {
535
- className: r(c({ slot: "title" }), e),
535
+ className: r(l({ slot: "title" }), e),
536
536
  ...t
537
537
  }
538
538
  ), Ke = a.MessageAttachmentsPreview, Ue = ({
@@ -670,7 +670,7 @@ const ae = a.Provider, se = g(
670
670
  className: r("w-full relative flex flex-col gap-3 py-[1px]", e),
671
671
  ...t
672
672
  }
673
- ), ct = ({
673
+ ), lt = ({
674
674
  className: e,
675
675
  ...t
676
676
  }) => /* @__PURE__ */ s(
@@ -679,7 +679,7 @@ const ae = a.Provider, se = g(
679
679
  className: r(m({ slot: "root" }), e),
680
680
  ...t
681
681
  }
682
- ), lt = ({
682
+ ), ct = ({
683
683
  className: e,
684
684
  ...t
685
685
  }) => /* @__PURE__ */ s(
@@ -724,7 +724,7 @@ const ae = a.Provider, se = g(
724
724
  className: r(m({ slot: "tag" }), e),
725
725
  ...t
726
726
  }
727
- ), ut = ({
727
+ ), gt = ({
728
728
  className: e,
729
729
  ...t
730
730
  }) => /* @__PURE__ */ s(
@@ -733,7 +733,7 @@ const ae = a.Provider, se = g(
733
733
  className: r(m({ slot: "description" }), e),
734
734
  ...t
735
735
  }
736
- ), gt = ({
736
+ ), ut = ({
737
737
  className: e,
738
738
  ...t
739
739
  }) => /* @__PURE__ */ s(
@@ -785,7 +785,7 @@ const ae = a.Provider, se = g(
785
785
  ), Ft = ({
786
786
  className: e,
787
787
  ...t
788
- }) => /* @__PURE__ */ s(a.InputGroup, { className: r("flex", e), ...t }), kt = g(({ className: e, ...t }, n) => /* @__PURE__ */ s(
788
+ }) => /* @__PURE__ */ s(a.InputGroup, { className: r("flex", e), ...t }), At = u(({ className: e, ...t }, n) => /* @__PURE__ */ s(
789
789
  a.Input,
790
790
  {
791
791
  ref: n,
@@ -798,7 +798,7 @@ const ae = a.Provider, se = g(
798
798
  ),
799
799
  ...t
800
800
  }
801
- )), At = ({
801
+ )), kt = ({
802
802
  className: e,
803
803
  ...t
804
804
  }) => /* @__PURE__ */ s(
@@ -817,7 +817,7 @@ const ae = a.Provider, se = g(
817
817
  ),
818
818
  ...t
819
819
  }
820
- ), wt = ({
820
+ ), Et = ({
821
821
  className: e,
822
822
  ...t
823
823
  }) => /* @__PURE__ */ s(
@@ -826,7 +826,7 @@ const ae = a.Provider, se = g(
826
826
  className: r(N(), "text-inherit rotate-[-30deg]", e),
827
827
  ...t
828
828
  }
829
- ), Et = ({
829
+ ), wt = ({
830
830
  className: e,
831
831
  ...t
832
832
  }) => /* @__PURE__ */ s(
@@ -854,7 +854,7 @@ const ae = a.Provider, se = g(
854
854
  }) => /* @__PURE__ */ s(
855
855
  a.AttachmentsBarAttachment,
856
856
  {
857
- className: r(c({ slot: "root" }), e),
857
+ className: r(l({ slot: "root" }), e),
858
858
  ...t
859
859
  }
860
860
  ), Nt = ({
@@ -863,7 +863,7 @@ const ae = a.Provider, se = g(
863
863
  }) => /* @__PURE__ */ s(
864
864
  a.AttachmentsBarAttachmentIcon,
865
865
  {
866
- className: r(c({ slot: "icon" }), e),
866
+ className: r(l({ slot: "icon" }), e),
867
867
  ...t
868
868
  }
869
869
  ), It = ({
@@ -872,7 +872,7 @@ const ae = a.Provider, se = g(
872
872
  }) => /* @__PURE__ */ s(
873
873
  a.AttachmentsBarAttachmentTitle,
874
874
  {
875
- className: r(c({ slot: "title" }), e),
875
+ className: r(l({ slot: "title" }), e),
876
876
  ...t
877
877
  }
878
878
  ), Bt = ({
@@ -881,7 +881,7 @@ const ae = a.Provider, se = g(
881
881
  }) => /* @__PURE__ */ s(
882
882
  a.AttachmentsBarAttachmentDelete,
883
883
  {
884
- className: r(c({ slot: "delete" }), e),
884
+ className: r(l({ slot: "delete" }), e),
885
885
  ...t
886
886
  }
887
887
  ), vt = ({
@@ -933,7 +933,7 @@ const ae = a.Provider, se = g(
933
933
  ),
934
934
  ...t
935
935
  }
936
- ), Qt = a.AttachmentsBarInputIcon, zt = a.AttachmentsBarModal, Pt = ({
936
+ ), zt = a.AttachmentsBarInputIcon, Pt = a.AttachmentsBarModal, _t = ({
937
937
  className: e,
938
938
  ...t
939
939
  }) => /* @__PURE__ */ s(
@@ -942,7 +942,7 @@ const ae = a.Provider, se = g(
942
942
  className: r(o({ slot: "overlay" }), e),
943
943
  ...t
944
944
  }
945
- ), _t = ({
945
+ ), jt = ({
946
946
  className: e,
947
947
  ...t
948
948
  }) => /* @__PURE__ */ s(
@@ -956,7 +956,7 @@ const ae = a.Provider, se = g(
956
956
  ),
957
957
  ...t
958
958
  }
959
- ), jt = ({
959
+ ), Qt = ({
960
960
  className: e,
961
961
  ...t
962
962
  }) => /* @__PURE__ */ s(
@@ -1080,7 +1080,7 @@ const ae = a.Provider, se = g(
1080
1080
  }) => /* @__PURE__ */ s(
1081
1081
  a.AttachmentsBarFormContentInput,
1082
1082
  {
1083
- className: r(l({ size: "md", variant: "outline" }), "min-h-20 px-4 py-2", e),
1083
+ className: r(c({ size: "md", variant: "outline" }), "min-h-20 px-4 py-2", e),
1084
1084
  ...t
1085
1085
  }
1086
1086
  ), ta = ({
@@ -1163,10 +1163,10 @@ const ae = a.Provider, se = g(
1163
1163
  ), f = r(
1164
1164
  d({ size: "xs", variant: "outline" }),
1165
1165
  "text-gray-700 dark:text-white-alpha-700"
1166
- ), ca = ({
1166
+ ), la = ({
1167
1167
  className: e,
1168
1168
  ...t
1169
- }) => /* @__PURE__ */ s(a.ChatAction, { className: r(f, e), ...t }), la = ({
1169
+ }) => /* @__PURE__ */ s(a.ChatAction, { className: r(f, e), ...t }), ca = ({
1170
1170
  className: e,
1171
1171
  ...t
1172
1172
  }) => /* @__PURE__ */ s(a.ChatActionLabel, { className: r("cursor-pointer", e), ...t }), ia = ({
@@ -1196,7 +1196,7 @@ const ae = a.Provider, se = g(
1196
1196
  className: r(f, e),
1197
1197
  ...t
1198
1198
  }
1199
- ), ua = ({
1199
+ ), ga = ({
1200
1200
  className: e,
1201
1201
  ...t
1202
1202
  }) => /* @__PURE__ */ s(
@@ -1210,7 +1210,7 @@ const ae = a.Provider, se = g(
1210
1210
  ),
1211
1211
  ...t
1212
1212
  }
1213
- ), ga = ({
1213
+ ), ua = ({
1214
1214
  className: e,
1215
1215
  ...t
1216
1216
  }) => /* @__PURE__ */ s(
@@ -1246,7 +1246,7 @@ const ae = a.Provider, se = g(
1246
1246
  className: r(o({ slot: "overlay" }), e),
1247
1247
  ...t
1248
1248
  }
1249
- ), ka = ({
1249
+ ), Aa = ({
1250
1250
  className: e,
1251
1251
  ...t
1252
1252
  }) => /* @__PURE__ */ s(
@@ -1260,7 +1260,7 @@ const ae = a.Provider, se = g(
1260
1260
  ),
1261
1261
  ...t
1262
1262
  }
1263
- ), Aa = ({
1263
+ ), ka = ({
1264
1264
  className: e,
1265
1265
  ...t
1266
1266
  }) => /* @__PURE__ */ s(
@@ -1269,7 +1269,7 @@ const ae = a.Provider, se = g(
1269
1269
  className: r(o({ slot: "header" }), "px-0 pt-0 pb-8", "font-semibold", e),
1270
1270
  ...t
1271
1271
  }
1272
- ), wa = ({
1272
+ ), Ea = ({
1273
1273
  className: e,
1274
1274
  ...t
1275
1275
  }) => /* @__PURE__ */ s(
@@ -1278,7 +1278,7 @@ const ae = a.Provider, se = g(
1278
1278
  className: r(o({ slot: "close" }), e),
1279
1279
  ...t
1280
1280
  }
1281
- ), Ea = ({
1281
+ ), wa = ({
1282
1282
  className: e,
1283
1283
  ...t
1284
1284
  }) => /* @__PURE__ */ s(
@@ -1364,7 +1364,7 @@ const ae = a.Provider, se = g(
1364
1364
  a.Form,
1365
1365
  {
1366
1366
  className: r(
1367
- u({ section: "content" }),
1367
+ g({ section: "content" }),
1368
1368
  "relative pt-4 pb-8 gap-8",
1369
1369
  "items-start justify-center w-full",
1370
1370
  "px-6 ikp-md:px-14 ikp-md:pb-14",
@@ -1404,7 +1404,7 @@ const ae = a.Provider, se = g(
1404
1404
  className: r("font-semibold text-xl leading-5", e),
1405
1405
  ...t
1406
1406
  }
1407
- ), Qa = ({
1407
+ ), za = ({
1408
1408
  className: e,
1409
1409
  ...t
1410
1410
  }) => /* @__PURE__ */ s(
@@ -1413,10 +1413,10 @@ const ae = a.Provider, se = g(
1413
1413
  className: r("text-gray-700 dark:text-white-alpha-700 text-sm", e),
1414
1414
  ...t
1415
1415
  }
1416
- ), za = ({
1416
+ ), Pa = ({
1417
1417
  className: e,
1418
1418
  ...t
1419
- }) => /* @__PURE__ */ s(a.FormContent, { className: r("w-full", e), ...t }), Pa = ({
1419
+ }) => /* @__PURE__ */ s(a.FormContent, { className: r("w-full", e), ...t }), _a = ({
1420
1420
  className: e,
1421
1421
  ...t
1422
1422
  }) => /* @__PURE__ */ s(
@@ -1429,7 +1429,7 @@ const ae = a.Provider, se = g(
1429
1429
  ),
1430
1430
  ...t
1431
1431
  }
1432
- ), _a = ({
1432
+ ), ja = ({
1433
1433
  className: e,
1434
1434
  ...t
1435
1435
  }) => /* @__PURE__ */ s(
@@ -1449,13 +1449,13 @@ const ae = a.Provider, se = g(
1449
1449
  ),
1450
1450
  ...t
1451
1451
  }
1452
- ), ja = ({
1452
+ ), Qa = ({
1453
1453
  className: e,
1454
1454
  ...t
1455
1455
  }) => /* @__PURE__ */ s(
1456
1456
  a.FormFieldText,
1457
1457
  {
1458
- className: r(l({ size: "md", variant: "outline" }), e),
1458
+ className: r(c({ size: "md", variant: "outline" }), e),
1459
1459
  ...t
1460
1460
  }
1461
1461
  ), Oa = ({
@@ -1464,7 +1464,7 @@ const ae = a.Provider, se = g(
1464
1464
  }) => /* @__PURE__ */ s(
1465
1465
  a.FormFieldEmail,
1466
1466
  {
1467
- className: r(l({ size: "md", variant: "outline" }), e),
1467
+ className: r(c({ size: "md", variant: "outline" }), e),
1468
1468
  ...t
1469
1469
  }
1470
1470
  ), Va = ({
@@ -1474,7 +1474,7 @@ const ae = a.Provider, se = g(
1474
1474
  a.FormFieldFile,
1475
1475
  {
1476
1476
  className: r(
1477
- l({ size: "md", variant: "outline" }),
1477
+ c({ size: "md", variant: "outline" }),
1478
1478
  "text-sm pl-2 file:h-full file:cursor-pointer py-0",
1479
1479
  "file:bg-transparent file:border-none file:font-medium",
1480
1480
  "file:text-sm file:text-gray-700 dark:file:text-white-alpha-700",
@@ -1488,7 +1488,7 @@ const ae = a.Provider, se = g(
1488
1488
  }) => /* @__PURE__ */ s(
1489
1489
  a.FormFieldTextArea,
1490
1490
  {
1491
- className: r(l({ size: "md", variant: "outline" }), "min-h-20 px-4 py-2", e),
1491
+ className: r(c({ size: "md", variant: "outline" }), "min-h-20 px-4 py-2", e),
1492
1492
  ...t
1493
1493
  }
1494
1494
  ), qa = ({
@@ -1634,7 +1634,7 @@ const ae = a.Provider, se = g(
1634
1634
  ),
1635
1635
  ...t
1636
1636
  }
1637
- ), cs = a.FormSuccessMessage, ls = ({
1637
+ ), ls = a.FormSuccessMessage, cs = ({
1638
1638
  className: e,
1639
1639
  ...t
1640
1640
  }) => /* @__PURE__ */ s(
@@ -1647,7 +1647,7 @@ const ae = a.Provider, se = g(
1647
1647
  export {
1648
1648
  sa as ActionBar,
1649
1649
  ra as Actions,
1650
- Et as AttachmentsBar,
1650
+ wt as AttachmentsBar,
1651
1651
  vt as AttachmentsBarActions,
1652
1652
  yt as AttachmentsBarAttachment,
1653
1653
  Bt as AttachmentsBarAttachmentDelete,
@@ -1668,34 +1668,39 @@ export {
1668
1668
  Tt as AttachmentsBarInfoTipIcon,
1669
1669
  Ht as AttachmentsBarInfoTipText,
1670
1670
  Wt as AttachmentsBarInput,
1671
- Qt as AttachmentsBarInputIcon,
1671
+ zt as AttachmentsBarInputIcon,
1672
1672
  Dt as AttachmentsBarInputs,
1673
1673
  Mt as AttachmentsBarList,
1674
- zt as AttachmentsBarModal,
1674
+ Pt as AttachmentsBarModal,
1675
1675
  Gt as AttachmentsBarModalBody,
1676
1676
  qt as AttachmentsBarModalClose,
1677
- _t as AttachmentsBarModalContent,
1677
+ jt as AttachmentsBarModalContent,
1678
1678
  Vt as AttachmentsBarModalDescription,
1679
- jt as AttachmentsBarModalHeader,
1679
+ Qt as AttachmentsBarModalHeader,
1680
1680
  Ot as AttachmentsBarModalHeading,
1681
1681
  Rt as AttachmentsBarModalHelp,
1682
- Pt as AttachmentsBarModalOverlay,
1683
- ca as ChatAction,
1682
+ _t as AttachmentsBarModalOverlay,
1683
+ la as ChatAction,
1684
1684
  ia as ChatActionFeedback,
1685
- la as ChatActionLabel,
1686
- le as Content,
1685
+ ca as ChatActionLabel,
1686
+ ce as Content,
1687
1687
  ie as ContentScrollArea,
1688
- ue as ContentScrollAreaCorner,
1688
+ ge as ContentScrollAreaCorner,
1689
1689
  pe as ContentScrollAreaScrollbar,
1690
1690
  be as ContentScrollAreaThumb,
1691
1691
  he as ContentScrollAreaViewport,
1692
1692
  re as ConversationLoading,
1693
- ge as Disclaimer,
1694
- ke as DisclaimerArrow,
1693
+ ue as Disclaimer,
1694
+ Ae as DisclaimerArrow,
1695
1695
  Ce as DisclaimerContent,
1696
1696
  xe as DisclaimerLabel,
1697
1697
  Fe as DisclaimerText,
1698
1698
  fe as DisclaimerTrigger,
1699
+ Me as ExampleQuestion,
1700
+ ye as ExampleQuestionButton,
1701
+ ke as ExampleQuestions,
1702
+ Ee as ExampleQuestionsLabel,
1703
+ we as ExampleQuestionsList,
1699
1704
  Ma as FeedbackForm,
1700
1705
  ya as FeedbackItem,
1701
1706
  Na as FeedbackItemCheckbox,
@@ -1703,26 +1708,26 @@ export {
1703
1708
  va as FeedbackItemDescription,
1704
1709
  Ba as FeedbackItemLabel,
1705
1710
  Ca as FeedbackModal,
1706
- Ea as FeedbackModalBody,
1707
- wa as FeedbackModalClose,
1708
- ka as FeedbackModalContent,
1709
- Aa as FeedbackModalHeader,
1711
+ wa as FeedbackModalBody,
1712
+ Ea as FeedbackModalClose,
1713
+ Aa as FeedbackModalContent,
1714
+ ka as FeedbackModalHeader,
1710
1715
  Fa as FeedbackModalOverlay,
1711
1716
  Sa as FeedbackSubmitButton,
1712
1717
  ft as Footer,
1713
1718
  Ha as Form,
1714
1719
  os as FormCancel,
1715
1720
  La as FormClose,
1716
- za as FormContent,
1717
- Qa as FormDescription,
1721
+ Pa as FormContent,
1722
+ za as FormDescription,
1718
1723
  ss as FormError,
1719
- Pa as FormField,
1724
+ _a as FormField,
1720
1725
  qa as FormFieldCheckbox,
1721
1726
  Ga as FormFieldCheckboxIndicator,
1722
1727
  Oa as FormFieldEmail,
1723
1728
  as as FormFieldError,
1724
1729
  Va as FormFieldFile,
1725
- _a as FormFieldLabel,
1730
+ ja as FormFieldLabel,
1726
1731
  $a as FormFieldSelect,
1727
1732
  Xa as FormFieldSelectContent,
1728
1733
  Ua as FormFieldSelectIcon,
@@ -1732,28 +1737,28 @@ export {
1732
1737
  Ja as FormFieldSelectTrigger,
1733
1738
  Ka as FormFieldSelectValue,
1734
1739
  Ya as FormFieldSelectViewport,
1735
- ja as FormFieldText,
1740
+ Qa as FormFieldText,
1736
1741
  Ra as FormFieldTextArea,
1737
1742
  rs as FormFooter,
1738
1743
  Da as FormHeader,
1739
1744
  Wa as FormHeading,
1740
1745
  ds as FormSubmit,
1741
1746
  ns as FormSuccess,
1742
- ls as FormSuccessButton,
1747
+ cs as FormSuccessButton,
1743
1748
  ms as FormSuccessHeading,
1744
- cs as FormSuccessMessage,
1749
+ ls as FormSuccessMessage,
1745
1750
  Ta as FormWrapper,
1746
1751
  de as Header,
1747
1752
  ne as HeaderToolbar,
1748
1753
  me as HeaderToolbarWrapper,
1749
1754
  pa as HelpAction,
1750
1755
  ha as HelpActions,
1751
- ua as HelpActionsMenu,
1752
- ga as HelpActionsMenuArrow,
1756
+ ga as HelpActionsMenu,
1757
+ ua as HelpActionsMenuArrow,
1753
1758
  xa as HelpActionsMenuItem,
1754
1759
  fa as HelpActionsMenuItemIcon,
1755
1760
  ba as HelpActionsTrigger,
1756
- kt as Input,
1761
+ At as Input,
1757
1762
  Ct as InputFieldset,
1758
1763
  Ft as InputGroup,
1759
1764
  Le as IntroMessageWrapper,
@@ -1771,20 +1776,20 @@ export {
1771
1776
  Xe as MessageAttachmentsPreviewContent,
1772
1777
  Ye as MessageAttachmentsPreviewHeader,
1773
1778
  Ue as MessageAttachmentsPreviewOverlay,
1774
- Qe as MessageAvatar,
1775
- ze as MessageAvatarContent,
1776
- Pe as MessageAvatarFallback,
1777
- _e as MessageAvatarImage,
1779
+ ze as MessageAvatar,
1780
+ Pe as MessageAvatarContent,
1781
+ _e as MessageAvatarFallback,
1782
+ je as MessageAvatarImage,
1778
1783
  Ve as MessageContent,
1779
1784
  Oe as MessageContentWrapper,
1780
1785
  De as MessageHeader,
1781
1786
  We as MessageLoading,
1782
- je as MessageName,
1783
- ct as MessageSourceItem,
1787
+ Qe as MessageName,
1788
+ lt as MessageSourceItem,
1784
1789
  it as MessageSourceItemBreadcrumbIcon,
1785
- lt as MessageSourceItemBreadcrumbs,
1786
- ut as MessageSourceItemDescription,
1787
- gt as MessageSourceItemDescriptionPart,
1790
+ ct as MessageSourceItemBreadcrumbs,
1791
+ gt as MessageSourceItemDescription,
1792
+ ut as MessageSourceItemDescriptionPart,
1788
1793
  ht as MessageSourceItemIcon,
1789
1794
  xt as MessageSourceItemIndicator,
1790
1795
  bt as MessageSourceItemTag,
@@ -1797,19 +1802,14 @@ export {
1797
1802
  He as MessageWrapper,
1798
1803
  Te as Messages,
1799
1804
  ae as Provider,
1800
- Me as QuickQuestion,
1801
- ye as QuickQuestionButton,
1802
- Ae as QuickQuestions,
1803
- we as QuickQuestionsLabel,
1804
- Ee as QuickQuestionsList,
1805
1805
  oe as Root,
1806
- At as SendButton,
1807
- wt as SendButtonIcon,
1806
+ kt as SendButton,
1807
+ Et as SendButtonIcon,
1808
1808
  ma as TaglineBrandName,
1809
1809
  oa as TaglineContainer,
1810
1810
  na as TaglineLogo,
1811
1811
  da as TaglineText,
1812
- ce as ToolbarHeader,
1812
+ le as ToolbarHeader,
1813
1813
  ve as Workflow,
1814
1814
  Se as WorkflowIcon,
1815
1815
  Ne as Workflows,
package/dist/index.d.cts CHANGED
@@ -83,11 +83,11 @@ export declare namespace EmbeddedChat {
83
83
  EmbeddedChatDisclaimerContent as DisclaimerContent,
84
84
  EmbeddedChatDisclaimerText as DisclaimerText,
85
85
  EmbeddedChatDisclaimerArrow as DisclaimerArrow,
86
- EmbeddedChatQuickQuestions as QuickQuestions,
87
- EmbeddedChatQuickQuestionsLabel as QuickQuestionsLabel,
88
- EmbeddedChatQuickQuestionsList as QuickQuestionsList,
89
- EmbeddedChatQuickQuestion as QuickQuestion,
90
- EmbeddedChatQuickQuestionButton as QuickQuestionButton,
86
+ EmbeddedChatExampleQuestions as ExampleQuestions,
87
+ EmbeddedChatExampleQuestionsLabel as ExampleQuestionsLabel,
88
+ EmbeddedChatExampleQuestionsList as ExampleQuestionsList,
89
+ EmbeddedChatExampleQuestion as ExampleQuestion,
90
+ EmbeddedChatExampleQuestionButton as ExampleQuestionButton,
91
91
  EmbeddedChatWorkflows as Workflows,
92
92
  EmbeddedChatWorkflowsLabel as WorkflowsLabel,
93
93
  EmbeddedChatWorkflowsList as WorkflowsList,
@@ -336,6 +336,16 @@ declare const EmbeddedChatDisclaimerText: MemoExoticComponent<(props: Omit< Comp
336
336
 
337
337
  declare const EmbeddedChatDisclaimerTrigger: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.DisclaimerTrigger>) => JSX.Element;
338
338
 
339
+ declare const EmbeddedChatExampleQuestion: ForwardRefExoticComponent<Omit<Omit< DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
340
+
341
+ declare const EmbeddedChatExampleQuestionButton: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.ExampleQuestionButton>) => JSX.Element;
342
+
343
+ declare const EmbeddedChatExampleQuestions: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.ExampleQuestions>) => JSX.Element;
344
+
345
+ declare const EmbeddedChatExampleQuestionsLabel: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.ExampleQuestionsLabel>) => JSX.Element;
346
+
347
+ declare const EmbeddedChatExampleQuestionsList: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.ExampleQuestionsList>) => JSX.Element;
348
+
339
349
  declare const EmbeddedChatFeedbackForm: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.FeedbackForm>) => JSX.Element;
340
350
 
341
351
  declare const EmbeddedChatFeedbackItem: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.FeedbackItem>) => JSX.Element;
@@ -538,16 +548,6 @@ declare const EmbeddedChatMessageWrapper: ({ className, ...props }: React.Compon
538
548
 
539
549
  declare const EmbeddedChatProvider: FC<ChatProviderProps>;
540
550
 
541
- declare const EmbeddedChatQuickQuestion: ForwardRefExoticComponent<Omit<Omit< DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
542
-
543
- declare const EmbeddedChatQuickQuestionButton: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.QuickQuestionButton>) => JSX.Element;
544
-
545
- declare const EmbeddedChatQuickQuestions: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.QuickQuestions>) => JSX.Element;
546
-
547
- declare const EmbeddedChatQuickQuestionsLabel: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.QuickQuestionsLabel>) => JSX.Element;
548
-
549
- declare const EmbeddedChatQuickQuestionsList: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.QuickQuestionsList>) => JSX.Element;
550
-
551
551
  declare const EmbeddedChatRoot: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.Root>) => JSX.Element;
552
552
 
553
553
  declare const EmbeddedChatSendButton: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.SendButton>) => JSX.Element;
package/dist/index.d.ts CHANGED
@@ -83,11 +83,11 @@ export declare namespace EmbeddedChat {
83
83
  EmbeddedChatDisclaimerContent as DisclaimerContent,
84
84
  EmbeddedChatDisclaimerText as DisclaimerText,
85
85
  EmbeddedChatDisclaimerArrow as DisclaimerArrow,
86
- EmbeddedChatQuickQuestions as QuickQuestions,
87
- EmbeddedChatQuickQuestionsLabel as QuickQuestionsLabel,
88
- EmbeddedChatQuickQuestionsList as QuickQuestionsList,
89
- EmbeddedChatQuickQuestion as QuickQuestion,
90
- EmbeddedChatQuickQuestionButton as QuickQuestionButton,
86
+ EmbeddedChatExampleQuestions as ExampleQuestions,
87
+ EmbeddedChatExampleQuestionsLabel as ExampleQuestionsLabel,
88
+ EmbeddedChatExampleQuestionsList as ExampleQuestionsList,
89
+ EmbeddedChatExampleQuestion as ExampleQuestion,
90
+ EmbeddedChatExampleQuestionButton as ExampleQuestionButton,
91
91
  EmbeddedChatWorkflows as Workflows,
92
92
  EmbeddedChatWorkflowsLabel as WorkflowsLabel,
93
93
  EmbeddedChatWorkflowsList as WorkflowsList,
@@ -336,6 +336,16 @@ declare const EmbeddedChatDisclaimerText: MemoExoticComponent<(props: Omit< Comp
336
336
 
337
337
  declare const EmbeddedChatDisclaimerTrigger: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.DisclaimerTrigger>) => JSX.Element;
338
338
 
339
+ declare const EmbeddedChatExampleQuestion: ForwardRefExoticComponent<Omit<Omit< DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
340
+
341
+ declare const EmbeddedChatExampleQuestionButton: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.ExampleQuestionButton>) => JSX.Element;
342
+
343
+ declare const EmbeddedChatExampleQuestions: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.ExampleQuestions>) => JSX.Element;
344
+
345
+ declare const EmbeddedChatExampleQuestionsLabel: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.ExampleQuestionsLabel>) => JSX.Element;
346
+
347
+ declare const EmbeddedChatExampleQuestionsList: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.ExampleQuestionsList>) => JSX.Element;
348
+
339
349
  declare const EmbeddedChatFeedbackForm: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.FeedbackForm>) => JSX.Element;
340
350
 
341
351
  declare const EmbeddedChatFeedbackItem: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.FeedbackItem>) => JSX.Element;
@@ -538,16 +548,6 @@ declare const EmbeddedChatMessageWrapper: ({ className, ...props }: React.Compon
538
548
 
539
549
  declare const EmbeddedChatProvider: FC<ChatProviderProps>;
540
550
 
541
- declare const EmbeddedChatQuickQuestion: ForwardRefExoticComponent<Omit<Omit< DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
542
-
543
- declare const EmbeddedChatQuickQuestionButton: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.QuickQuestionButton>) => JSX.Element;
544
-
545
- declare const EmbeddedChatQuickQuestions: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.QuickQuestions>) => JSX.Element;
546
-
547
- declare const EmbeddedChatQuickQuestionsLabel: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.QuickQuestionsLabel>) => JSX.Element;
548
-
549
- declare const EmbeddedChatQuickQuestionsList: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.QuickQuestionsList>) => JSX.Element;
550
-
551
551
  declare const EmbeddedChatRoot: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.Root>) => JSX.Element;
552
552
 
553
553
  declare const EmbeddedChatSendButton: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.SendButton>) => JSX.Element;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inkeep/cxkit-styled",
3
- "version": "0.5.26",
3
+ "version": "0.5.28",
4
4
  "description": "",
5
5
  "license": "Inkeep, Inc. Customer License (IICL) v1.1",
6
6
  "homepage": "",
@@ -39,7 +39,7 @@
39
39
  "clsx": "2.1.1",
40
40
  "merge-anything": "5.1.7",
41
41
  "tailwind-merge": "2.6.0",
42
- "@inkeep/cxkit-primitives": "0.5.26"
42
+ "@inkeep/cxkit-primitives": "0.5.28"
43
43
  },
44
44
  "devDependencies": {
45
45
  "@biomejs/biome": "1.9.4",
@@ -58,8 +58,8 @@
58
58
  "typescript": "5.7.3",
59
59
  "vite": "5.4.11",
60
60
  "vite-plugin-dts": "4.4.0",
61
- "@inkeep/cxkit-theme": "0.5.26",
62
- "@inkeep/cxkit-types": "0.5.26"
61
+ "@inkeep/cxkit-theme": "0.5.28",
62
+ "@inkeep/cxkit-types": "0.5.28"
63
63
  },
64
64
  "module": "dist/index.js",
65
65
  "types": "dist/index.d.ts",