@inkeep/cxkit-mintlify 0.0.0-dev-20250410010657 → 0.0.0-dev-20250410174124

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.
Files changed (2) hide show
  1. package/dist/index.js +1 -1
  2. package/package.json +3 -3
package/dist/index.js CHANGED
@@ -53,4 +53,4 @@ var _W=/; *([!#$%&'*+.^_`|~0-9A-Za-z-]+) *= *("(?:[\u000b\u0020\u0021\u0023-\u00
53
53
  * @namespace
54
54
  * @public
55
55
  *)
56
- */;function d4(){const[e,t]=Z.useState(!1);return[e,Z.useCallback((async e=>{if(!(null==navigator?void 0:navigator.clipboard))return console.warn("Clipboard not supported"),!1;try{return await navigator.clipboard.writeText(e),t(!0),setTimeout((()=>{t(!1)}),1e3),!0}catch(n){return console.warn("Copy failed",n),t(!1),!1}}),[])]}const p4=FB("h1",{_id:"markdownH1"}),f4=FB("h2",{_id:"markdownH2"}),h4=FB("p",{_id:"markdownP"}),m4=FB("li",{_id:"markdownLi"}),g4=FB("ul",{_id:"markdownUl"}),y4=FB("ol",{_id:"markdownOl"}),b4=FB(aq,{_id:"markdownLink"}),v4=FB("sup",{_id:"markdownSourceLink"}),w4=FB("table",{_id:"markdownTable"}),k4=FB("th",{_id:"markdownTh"}),x4=FB("td",{_id:"markdownTd"}),E4=FB("code",{_id:"markdownCode"}),_4=FB("div",{_id:"codeblockContainer"}),S4=FB("div",{_id:"codeblockHeader"}),T4=FB("span",{_id:"codeblockHeaderLanguage"}),C4=FB("button",{_id:"codeblockCopyButton",type:"button"}),A4=FB("div",{_id:"codeblockHighlighterWrapper"}),N4=FB("div",{_id:"codeblockHighlighter"}),I4=FB("code",{_id:"codeblockCode"}),R4=FB("input",{_id:"markdownInput"}),O4=D3.oneLight,P4=D3.vsDark,L4=({className:e="",children:t,onCopy:n})=>{var r;const a=e.replace(/^language-/,""),o=String(t).replace(/\n$/,""),[i,s]=d4(),{baseSettings:l}=ZO(),c=null==(r=l.theme)?void 0:r.syntaxHighlighter,{lightTheme:u=O4,darkTheme:d=P4}=c??{},p=uB(u,d);return Vf.jsxs(_4,{children:[Vf.jsxs(S4,{children:[Vf.jsx(T4,{children:a}),Vf.jsx(C4,{"aria-label":"Copy to clipboard",onClick:()=>{s(o),null==n||n(a,o)},"data-copied":OP(i),children:Vf.jsx(nq,{iconKey:i?"codeCopied":"codeCopy"})})]}),Vf.jsx(A4,{children:Vf.jsx(u4,{theme:p,code:o,language:a,prism:l.prism,children:({className:e,tokens:t,getLineProps:n,getTokenProps:r,style:a})=>Vf.jsx(N4,{className:e,children:Vf.jsx(I4,{style:a,children:t.map(((e,t)=>Vf.jsx("div",{...n({line:e}),children:e.map(((e,t)=>Vf.jsx("span",{...r({token:e})},t)))},t)))})})})})]})};function D4(){return e=>{fQ(e,"element",((e,t,n)=>{"code"===e.tagName&&(n&&"pre"===n.tagName?e.properties.inline=!1:e.properties.inline=!0)}))}}const M4=({children:e,componentStyles:t,shouldOpenLinksInNewTab:n,onLinkClick:r,onCodeCopy:a,...o})=>{if(!e)return null;const i={h1:({children:e})=>Vf.jsx(p4,{children:e}),h2:({children:e})=>Vf.jsx(f4,{children:e}),p:({children:e})=>Vf.jsx(h4,{children:e}),li:({children:e})=>Vf.jsx(m4,{children:e}),ul:({children:e})=>Vf.jsx(g4,{children:e}),input:({type:e,checked:t,disabled:n,readOnly:r,required:a,value:o})=>Vf.jsx(R4,{type:e,checked:t,disabled:n,readOnly:r,required:a,value:o}),ol:({children:e,node:t})=>{var n;const r=null==(n=null==t?void 0:t.properties)?void 0:n.start,a="number"==typeof r?r:void 0;return Vf.jsx(y4,{style:{"--start":(null==r?void 0:r.toString())??"0"},start:a,children:e})},a:({children:e,href:t})=>{const a=J.Children.toArray(e),o=a[0],i="string"==typeof o&&/^\(\d+\)$/.test(o)&&1===a.length,s=i?o.match(/\d+/):e,l=Vf.jsx(b4,{isExternal:n,href:t,onClick:()=>{null==r||r(t,null==s?void 0:s.toString())},children:s});return i?Vf.jsx(v4,{children:l}):l},img:({src:e,alt:t})=>`![${t||""}](${e||""})`,table:({children:e})=>Vf.jsx(w4,{children:e}),th:({children:e,isHeader:t})=>t?Vf.jsx(k4,{children:e}):Vf.jsx(x4,{children:e}),pre:({children:e})=>Vf.jsx("pre",{children:e}),code:({children:e,inline:t,className:n})=>t?Vf.jsx(E4,{children:e}):Vf.jsx(L4,{className:n,onCopy:a,children:e})},s=Vf.jsx(iZ,{remarkPlugins:[c3],rehypePlugins:[b2,D4],components:i,disallowedElements:F4,children:e.toString(),...o});return Vf.jsx(Zj,{componentStyles:t,children:s})},F4=["script","iframe","frame","embed","meta","base","form","style","object"];function j4(){return Vf.jsxs("svg",{viewBox:"0 0 12 10",style:{width:"1.2em",fill:"none",strokeWidth:2,stroke:"currentColor",strokeDasharray:16},children:[Vf.jsx("title",{children:"Checkbox Icon"}),Vf.jsx("polyline",{points:"1.5 6 4.5 9 10.5 1"})]})}function B4(e){const t=Z.useId();return Vf.jsxs("svg",{viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[Vf.jsx("title",{children:"Tag Line Logo Icon"}),Vf.jsx("path",{d:"M32 4.01845V25.1411C32 26.3154 30.9971 27.2462 29.8223 27.1531L16.9277 26.1507C15.409 26.0361 13.8903 26.3727 12.565 27.1173L8.11641 29.6234C7.72241 29.8454 7.29259 29.3943 7.54332 29.0148L9.77121 25.5922L11.8415 22.4131C12.0636 22.0694 12.4934 21.9119 12.8874 22.0336C16.1397 23.079 19.8075 21.8761 21.7631 18.8831C24.0913 15.2886 23.0741 10.4913 19.4851 8.15706C15.8961 5.82282 11.0965 6.83958 8.76114 10.4269C6.81263 13.427 7.19946 17.272 9.4775 19.8139C9.74972 20.1218 9.77837 20.5729 9.5563 20.9237L6.92724 24.9621C6.76964 25.1984 6.49743 25.3344 6.21804 25.313L1.4184 24.9406C0.616073 24.8834 0 24.2175 0 23.4155V5.7369C0 4.93496 0.616073 4.26905 1.4184 4.21177L29.8294 2.00642C31.0043 1.91334 32 2.84417 32 4.01845ZM15.2586 9.35282C12.3286 9.35282 9.95747 11.7229 9.95747 14.6514C9.95747 16.0763 10.5234 17.3723 11.4403 18.3246C11.9991 18.9046 12.6868 19.3557 13.4605 19.6349C14.0264 19.8354 14.6282 19.95 15.2657 19.95C18.1957 19.95 20.5668 17.5799 20.5668 14.6514C20.5597 11.73 18.1885 9.35282 15.2586 9.35282Z",fill:`url(#${t})`}),Vf.jsx("defs",{children:Vf.jsxs("linearGradient",{id:t,x1:"1.5893",y1:"25.285",x2:"24.0784",y2:"10.1057",gradientUnits:"userSpaceOnUse",children:[Vf.jsx("stop",{stopColor:"currentColor"}),Vf.jsx("stop",{offset:"1",stopColor:"currentColor"})]})})]})}const z4=e=>{const{logEvent:t}=bP(),{conversation:n}=nP(),{openForm:r}=gD(),a=dD();return{handleAction:t=>{var o;"open_form"===e.action.type?(null==(o=null==t?void 0:t.onOpenForm)||o.call(t),null==r||r(e.action.formSettings)):"invoke_callback"===e.action.type&&(e.action.callback({conversation:n}),e.action.shouldCloseModal&&(null==a||a.setOpen(!1)))},logHelpAction:()=>{"name"in e&&t({eventName:"get_help_option_clicked",properties:{getHelpOption:e,conversation:n}})}}},H4=e=>{const t=/<em>(.*?)<\/em>/gs;let n;const r=[];let a=0;for(;null!==(n=t.exec(e));){const[t,o]=n;n.index>a&&r.push(e.slice(a,n.index)),r.push({content:o,highlighted:!0}),a=n.index+t.length}return a<e.length&&r.push(e.slice(a)),r};function U4(e,t,{checkForDefaultPrevented:n=!0}={}){return function(r){if(null==e||e(r),!1===n||!r.defaultPrevented)return null==t?void 0:t(r)}}function $4(e){return e.toLowerCase().replace(/(^\w+:|^)\/\//,"").replace(/^www\./,"").replace(/\/$/,"").startsWith("github.com")}function G4(e,t){const n=["API","Docs","Documentation","Blogs",t],r=["\\|","-",":"],a=new RegExp(`^\\s*(${n.join("|")})(\\.\\w+)?\\s*(${r.join("|")})\\s*`,"gi"),o=new RegExp(`\\s*(${r.join("|")})\\s*(${n.join("|")})\\s*$`,"gi");return e.replace(a,"").replace(o,"").trim()}const V4={js:".js",db:"DB",sql:"SQL"};function W4(e){return Object.entries(V4).reduce(((e,[t,n])=>{const r=new RegExp(`([a-zA-Z0-9])${t}(?!\\w)`,"g");return e.replace(r,((e,t)=>t+n))}),e)}const q4=["API","AWS","GCP","SQL","CSS","JS","JDK","SDK","JRE","IDE","XML","GUI","CLI","AI","ML","DL","IoT","TCP","UDP","IP","FTP","RAM","ROM","SSD","HDD","VPS","VPN","OS","UI","UX","DB","OOP","CRM","ERP","POS","CAD","BI","CMS","SEO","SEM","PPC","B2B","B2C","SMB","ROI","KPI","CTA","CPC","CPM","CDN","MVC","FAQ","LMS","RPA","QA","QC","CRO","SVN","GIT","DOM","DNS","ISP","URL","URN","URI","SIP","NFC","LTE","OSI","RAS","DRM","DOS","WWW","LAN","WAN","SAN","NAS","NLP","OCR","IBM","HP","SAP","JWT","SSH","SSL","TLS","POP","NTP","BGP","ARP","2FA","MFA","RDP","VNC","SCP","PKI","XSS","DoS","CSV","HL7","SOP","PHP","JSP","NET","VBA","iOS","GNU","CPU","GPU","NIC","USB","VGA","AES","RSA","DES","ECC","WEP","WPA","IDS","IPS","PM","HR","TCO","BPM","SLA","SOW","AR","VR","XR","3D","2D","4D","iOS","OpenAPI","SSO"],Y4=["a","an","the","and","as","but","or","nor","at","by","in","of","on","per","to","up","via","vs","with","is","it","for","are","not","out","off","yet","so","be","if","has","its","we","our","any","all","how","her","his","their","was","were"],K4=["BaaS","SaaS","PaaS","IaaS","HTML","JSON","HTTPS","HTTP","SMTP","DBMS","RDBMS","REST","SOAP","MVVM","VoIP","RFID","WYSIWYG","WLAN","OIDC","SAML","LDAP","IPSec","OAuth","OpenID","SFTP","IMAP","RTSP","DHCP","XMPP","SNMP","ICMP","IGMP","RARP","PPTP","L2TP","IPv4","IPv6","TOTP","HMAC","TFTP","CORS","CSRF","DDOS","YAML","MQTT","AMQP","HDLC","EDIFACT","DICOM","MATLAB","UNIX","HDMI","WiFi","WPA2","DDoS","ipadOS","watchOS","macOS","JavaScript","TypeScript","SSO","IDP","RBAC"];function X4(e){return`\\b${e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}\\b`}function Q4(e,t,n,r=!1){return r&&new RegExp(`^${n}\\b`,"i").test(e)?e:e.replace(new RegExp(n,"gi"),t)}const Z4=(e,t)=>{var n;if("documentation"!==e.type)return[];const r=null==t?void 0:t.organizationDisplayName;return((null==(n=e.breadcrumbs)?void 0:n.length)?e.breadcrumbs:function(e){try{const t=new URL(e);return t.pathname.split("/").filter((e=>e.length>0)).slice(0,-1).map(J4)}catch(t){return console.error("Invalid URL:",t),[]}}(e.url)).map((e=>{let t=e;return r&&(t=function(e,t){if(!function(e){const t=e.split(" ");for(const n of t)if(n[0]!==n[0].toUpperCase()||n.slice(1)!==n.slice(1).toLowerCase())return!1;return!0}(t))return e;const n=`(?<![@/])\\b${t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}\\b`;return new RegExp(`^${n}\\b`,"i").test(e)?e:e.replace(new RegExp(n,"gi"),t)}(e,r),t=G4(t,r)),t=W4(t),t=function(e){let t=e;return t=Y4.reduce(((e,t)=>Q4(e,t,X4(t),!0)),t),t=K4.reduce(((e,t)=>Q4(e,t,X4(t))),t),t=q4.reduce(((e,t)=>Q4(e,t,X4(t))),t),t}(t),t}))??[]},J4=e=>e.split(/[-_]/).map((e=>e.charAt(0).toUpperCase()+e.slice(1).toLowerCase())).join(" ");const e6=(e,t)=>{var n;if("chatSourceItem"===t)return e.description??void 0;const r=e.breadcrumbs??[],a=r.length>0?r[r.length-1]:void 0,o=e.title||(null==(n=null==a?void 0:a.props)?void 0:n.str);return function(e,t){if(!e)return;if(!t)return e;const n=t.trim(),r=[n,`<em>${n}</em>`].find((t=>e.startsWith(t)));return r?e.slice(r.length).trim():e}(e.description,o)},t6=e=>{let t="LuBookOpen";"documentation"===e.type&&"book"===e.contentType?t="IoBookOutline":"documentation"===e.type&&"pdf"===e.contentType?t="FaFilePdf":"github_issue"===e.type||$4(e.url)?t="FaGithub":"documentation"===e.type&&"site"===e.contentType?t="LuGlobe":"discourse"===e.type?t="FaDiscourse":"discord"===e.type?t="FaDiscord":"slack_message"===e.type?t="FaSlack":"stackoverflow"===e.type&&(t="FaStackOverflow");return{builtIn:t}},n6=(e,t)=>{let n=e.title;if(!n)return"";const r=null==t?void 0:t.organizationDisplayName;return n=W4(n),r&&(n=G4(n,r)),n},r6=(e,t,n)=>{const{transformSource:r,...a}=n,o=Z4(e,n),i=((e,t)=>{var n,r,a;const o=[];"documentation"===e.type&&"book"===e.contentType?o.push("Publications"):"documentation"===e.type&&"pdf"===e.contentType&&o.push("PDFs"),("github_issue"===e.type||$4(e.url))&&o.push("GitHub"),"discourse"===e.type&&o.push("Forums"),"discord"===e.type&&o.push("Discord"),"slack_message"===e.type&&o.push("Slack"),"stackoverflow"===e.type&&o.push("StackOverflow");const i=[],s=null==(n=null==t?void 0:t.tabs)?void 0:n.map((e=>"string"==typeof e?e:e[0]));for(const l of o)(null==s?void 0:s.includes(l))&&(l===(null==(r=e.breadcrumbs)?void 0:r[0])?i.push([l,{breadcrumbs:null==(a=e.breadcrumbs)?void 0:a.slice(1)}]):i.push(l));return i})(e,n),s=(null==r?void 0:r({...e,breadcrumbs:o,tabs:i},t,a))??{};return{id:(null==s?void 0:s.id)??e.id,title:(null==s?void 0:s.title)??n6(e,n),description:(null==s?void 0:s.description)??e6(e,t),breadcrumbs:(null==s?void 0:s.breadcrumbs)??o,icon:(null==s?void 0:s.icon)??t6(e),tabs:(null==s?void 0:s.tabs)??i,url:(null==s?void 0:s.url)??e.url,tag:(null==s?void 0:s.tag)??e.tag,type:(null==s?void 0:s.type)??e.type,shouldOpenInNewTab:(null==s?void 0:s.shouldOpenInNewTab)??void 0,appendToUrl:(null==s?void 0:s.appendToUrl)??void 0}};const a6=Z.createContext(void 0),o6=({children:e,open:t,setOpen:n})=>Vf.jsx(a6.Provider,{value:{open:t,setOpen:n},children:e}),i6=()=>{const e=Z.useContext(a6);if(!e)throw new Error("useHoverPopover must be used within a HoverPopoverProvider");return e},s6=FB("div",{_id:"aiChatWrapper"}),l6=Z.forwardRef(((e,t)=>{const{...n}=e,{isHidden:r,isMobile:a}=Bj(),[o,i]=function(){const e=Z.useRef(null),[t,n]=Z.useState({width:0,height:0});return Z.useEffect((()=>{if(!e.current)return;const t=new ResizeObserver((([e])=>{const{width:t,height:r}=e.contentRect;n({width:t,height:r})}));return t.observe(e.current),()=>{t.disconnect()}}),[e]),[e,t]}(),s=IB(t,o),l=!(null==i?void 0:i.width)||i.width>580,c=dD();return Vf.jsx(s6,{ref:s,"data-widget-md":OP(l),"data-hidden":OP(r),"data-in-modal":OP(!!c),"data-mobile":OP(a),...n})})),c6=FB("div",{_id:"aiChatConversationLoading"}),u6=e=>{const{isLoadingConversation:t}=Bj();return t?Vf.jsx(c6,{children:Vf.jsx("span",{children:"Loading..."}),...e}):null},d6=FB("div",{_id:"aiChatRoot"}),p6=e=>{const{isLoadingConversation:t,isHidden:n}=Bj(),{form:r}=gD();return t||r?null:Vf.jsx(d6,{"data-hidden":OP(n),...e})},f6=FB("div",{_id:"aiChatHeader"}),h6=FB("div",{_id:"aiChatHeader__Toolbar"}),m6=FB("div",{_id:"aiChatHeader__ToolbarHeaderWrapper"}),g6=FB("div",{_id:"aiChatHeader__ToolbarHeader"}),y6=Z.memo((e=>{const{aiChatSettings:t}=ZO(),n=`Ask ${t.aiAssistantName||"AI"}`;return Vf.jsx(g6,{...e,children:n})})),b6=FB("div",{_id:"aiChatContent"}),v6=FB(S$,{_id:"aiChatContentScrollArea"}),w6=FB(T$,{_id:"aiChatContentScrollArea__Viewport"}),k6=Z.forwardRef((({children:e,...t},n)=>{const{containerRef:r}=function(e={}){const{threshold:t=150,interactionTimeout:n=150}=e,r=Z.useRef(null),a=Z.useRef(!0),o=Z.useRef(!1),i=Z.useCallback((()=>{const e=r.current;return!!e&&e.scrollHeight-e.clientHeight-e.scrollTop<t}),[t]),s=Z.useCallback(((e=!1)=>{const t=r.current;t&&!o.current&&t.scrollTo({top:t.scrollHeight,behavior:e?"smooth":"auto"})}),[]);return Z.useEffect((()=>{const e=r.current;if(!e)return;let t;const s=()=>{o.current=!0,a.current=i(),window.clearTimeout(t),t=window.setTimeout((()=>{o.current=!1}),n)};return e.addEventListener("scroll",s,{passive:!0}),()=>{e.removeEventListener("scroll",s),window.clearTimeout(t)}}),[i,n]),Z.useEffect((()=>{const e=r.current;if(!e)return;const t=new MutationObserver((e=>{e.some((e=>"childList"===e.type||"characterData"===e.type||"attributes"===e.type&&"style"===e.attributeName))&&a.current&&s(!0)}));return t.observe(e,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["style"],characterData:!0}),()=>t.disconnect()}),[s]),Z.useEffect((()=>{r.current&&s()}),[s]),{containerRef:r,scrollToBottom:s,isNearBottom:i}}(),a=IB(n,r);return Vf.jsx(w6,{ref:a,children:Vf.jsx("div",{"data-part":"grid",style:{display:"grid"},children:e}),...t})})),x6=FB(e$,{_id:"aiChatContentScrollArea__Scrollbar"}),E6=FB(d$,{_id:"aiChatContentScrollArea__Thumb"}),_6=FB(C$,{_id:"aiChatContentScrollArea__Corner"}),S6=FB("div",{_id:"aiChatMessages"}),T6=e=>{const t=Bj(),{children:n,...r}=e;return Vf.jsx(S6,{children:LP(n,t),...r})},C6=FB("div",{_id:"aiChatDisclaimer"}),A6=Z.memo((e=>{var t;const{aiChatSettings:n}=ZO(),[r,a]=Z.useState(!1),o=function(e,t){const[n,r]=Z.useState(e);return Z.useEffect((()=>{const n=setTimeout((()=>{r(e)}),t);return()=>{clearTimeout(n)}}),[e,t]),n}(r,100);return(null==(t=n.disclaimerSettings)?void 0:t.isEnabled)?Vf.jsx(o6,{open:r,setOpen:a,children:Vf.jsx(jU,{open:o,onOpenChange:a,children:Vf.jsx(C6,{...e})})}):null})),N6=FB("span",{_id:"aiChatDisclaimerLabel"}),I6=Z.memo((e=>{const{aiChatSettings:t}=ZO(),n=t.disclaimerSettings;return Vf.jsx(N6,{children:null==n?void 0:n.label,...e})})),R6=FB(BU,{_id:"aiChatDisclaimerTrigger",children:Vf.jsx(nq,{iconKey:"info"})}),O6=Z.memo((e=>{const{setOpen:t}=i6();return Vf.jsx(R6,{onMouseEnter:()=>t(!0),onMouseLeave:()=>t(!1),...e})})),P6=FB(zU,{_id:"aiChatDisclaimerContent"}),L6=e=>{const{setOpen:t}=i6();return Vf.jsx(P6,{onMouseEnter:()=>t(!0),onMouseLeave:()=>t(!1),side:"top",sideOffset:8,align:"end",alignOffset:-10,...e})},D6=FB(M4,{_id:"aiChatDisclaimerText"}),M6=Z.memo((e=>{const{aiChatSettings:t}=ZO(),n=t.aiAssistantName,r=t.disclaimerSettings,a=(null==r?void 0:r.tooltip)||`Information provided by ${n||"this AI assistant"} is not guaranteed to be accurate or comprehensive.`;return Vf.jsx(D6,{shouldOpenLinksInNewTab:!0,children:a,...e})})),F6=FB(HU,{_id:"aiChatDisclaimerArrow"}),j6=FB("div",{_id:"aiChatExampleQuestions"}),B6=e=>{var t;const{aiChatSettings:n}=ZO(),{messages:r}=Bj();return!(null==(t=n.exampleQuestions)?void 0:t.length)||r.length?null:Vf.jsx(j6,{...e})},z6=FB("h3",{_id:"aiChatExampleQuestionsLabel"}),H6=Z.memo((e=>{const{aiChatSettings:t}=ZO();return Vf.jsx(z6,{children:t.exampleQuestionsLabel,...e})})),U6=FB("div",{_id:"aiChatExampleQuestionsList"}),$6=Z.memo((e=>{const{aiChatSettings:t}=ZO(),n=t.exampleQuestions,{children:r,...a}=e;return Vf.jsx(U6,{children:LP(r,n),...a})})),G6=FB("div",{_id:"aiChatExampleQuestion"}),V6=Z.forwardRef(((e,t)=>{const{aiChatSettings:n}=ZO(),r=n.isFirstExampleQuestionHighlighted;return Vf.jsx(G6,{ref:t,"data-highlight":OP(r),...e})})),W6=FB("button",{_id:"aiChatExampleQuestionButton"}),q6=e=>{const{question:t,onClick:n,...r}=e,{handleSubmit:a}=Bj();return Vf.jsx(W6,{onClick:U4(n,(()=>a(t))),children:t,...r})};FB("div",{_id:"aiChatWorkflows"});const Y6=FB("h3",{_id:"aiChatWorkflowsLabel"});Z.memo((e=>{const{aiChatSettings:t}=ZO();return Vf.jsx(Y6,{children:t.workflowsHeader,...e})}));const K6=FB("div",{_id:"aiChatWorkflowsList"});Z.memo((e=>{const{aiChatSettings:t}=ZO(),n=t.workflows,{children:r,...a}=e;return Vf.jsx(K6,{children:LP(r,n),...a})})),FB("button",{_id:"aiChatWorkflow"}),FB((function(e){return vW({attr:{viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true"},child:[{tag:"path",attr:{d:"M11.983 1.907a.75.75 0 0 0-1.292-.657l-8.5 9.5A.75.75 0 0 0 2.75 12h6.572l-1.305 6.093a.75.75 0 0 0 1.292.657l8.5-9.5A.75.75 0 0 0 17.25 8h-6.572l1.305-6.093Z"},child:[]}]})(e)}),{_id:"aiChatWorkflow__Icon"});const X6=FB("div",{_id:"aiChatMessageWrapper"}),Q6=e=>{const{message:t,...n}=e;return"system"===t.role?null:Vf.jsx(rB,{message:t,children:Vf.jsx(X6,{"data-role":t.role,...n})})},Z6=Z.memo((e=>{const{message:t,...n}=e,{aiChatSettings:r,baseSettings:a}=ZO(),o=r.aiAssistantName,i=o?`Hi, I'm ${o}!`:"Hi!",s=r.chatSubjectName??a.organizationDisplayName,l=`${i} \n\n I'm an AI assistant trained on documentation, help articles, and other content.`,c=s?`\n\n Ask me anything about \`${s}\`.`:"\n\n Let me know how I can help.",u={content:r.introMessage??`${l}${c}`,id:"__intro__",...t,role:"assistant",links:[]};return Vf.jsx(Q6,{message:u,...n})})),J6=FB("div",{_id:"aiChatMessageHeader"}),e8=e=>{const{message:t}=aB();return Vf.jsx(J6,{"data-role":t.role,...e})},t8=FB("div",{_id:"aiChatMessageLoading"}),n8=e=>{var t;const{isLoading:n,isStreaming:r,messages:a}=Bj(),{message:o}=aB();return(null==(t=a.at(-1))?void 0:t.id)===(null==o?void 0:o.id)&&"assistant"===o.role&&n&&!r?Vf.jsx(t8,{children:"Thinking...",...e}):null},r8=FB("div",{_id:"aiChatMessageAvatar"}),a8=e=>{const{message:t}=aB();return Vf.jsx(r8,{"data-role":t.role,...e})},o8=FB(uz,{_id:"aiChatMessageAvatarContent"}),i8=e=>{const{message:t}=aB(),{baseSettings:n}=ZO();return Vf.jsx(o8,{"data-username":OP("user"===t.role&&!!n.userProperties.name),"data-role":t.role,...e})},s8=FB(pz,{_id:"aiChatMessageAvatarFallback"}),l8=Z.memo((e=>{const{baseSettings:t}=ZO(),{message:n}=aB();return t.userProperties.name?Vf.jsx(s8,{"data-role":n.role,children:PP(t.userProperties.name),...e}):null})),c8=FB(dz,{_id:"aiChatMessageAvatarImage"}),u8=Z.memo((e=>{const{onLoadingStatusChange:t,...n}=e,{aiChatSettings:r,baseSettings:{userProperties:a}}=ZO(),{message:o}=aB(),{aiAssistantAvatar:i}=r??{},s="string"==typeof i?i:null==i?void 0:i.light,l=uB(s,("string"==typeof i?i:null==i?void 0:i.dark)??s),[c,u]=Z.useState(l);Z.useEffect((()=>{u(l)}),[l]);return"user"===o.role?a.name?null:r.userAvatar?Vf.jsx(c8,{"data-type":"image","data-role":o.role,src:r.userAvatar,...e}):Vf.jsx(xW,{"data-type":"icon","data-role":o.role,...e}):c?Vf.jsx(c8,{src:c,"data-type":"image","data-role":o.role,onLoadingStatusChange:U4(t,(e=>{"error"===e&&u(null)})),...n}):Vf.jsx(kW,{"data-type":"icon","data-role":o.role,...e})})),d8=FB("span",{_id:"aiChatMessageName"}),p8=e=>{const{message:t}=aB();return Vf.jsx(d8,{"data-role":t.role,children:"user"===t.role?"You":"AI assistant",...e})},f8=FB("div",{_id:"aiChatMessageContentWrapper"}),h8=e=>{const{message:t}=aB();return Vf.jsx(f8,{"data-role":t.role,...e})},m8=FB("div",{_id:"aiChatMessageContent"}),g8=e=>{const{message:t}=aB();return Vf.jsx(m8,{"data-role":t.role,...e})},y8=FB("div",{_id:"aiChatMessageAttachments"}),b8=FB("div",{_id:"aiChatMessageAttachments__List"}),v8=e=>{var t,n;const{children:r,...a}=e,{message:o}=aB(),i=null==(n=null==(t=o.metadata)?void 0:t.attributes)?void 0:n.attachments;return i?Vf.jsx(b8,{children:LP(r,i),...a}):null},w8=FB("div",{_id:"aiChatMessageAttachments__Item"}),k8=e=>{const{attachment:t,onClick:n,...r}=e,{selectItem:a,onOpen:o}=tB();return Vf.jsx(qf,{attachment:t,children:Vf.jsx(w8,{onClick:U4(n,(()=>{a(t),o()})),...r})})},x8=FB(eq,{_id:"aiChatMessageAttachments__ItemIcon"}),E8=e=>{var t;const{attachment:n}=Yf(),r=null==(t=n.contentType)?void 0:t.attachmentIcon;return r?Vf.jsx(x8,{iconSettings:r,...e}):null},_8=FB("span",{_id:"aiChatMessageAttachments__ItemTitle"}),S8=e=>{const{attachment:t}=Yf();return Vf.jsx(_8,{children:t.title,...e})},T8=FB(aW,{_id:"aiChatMessageAttachmentsPreview"}),C8=FB(iW,{_id:"aiChatMessageAttachmentsPreview__Overlay"}),A8=FB(sW,{_id:"aiChatMessageAttachmentsPreview__Content","aria-describedby":void 0}),N8=FB(lW,{_id:"aiChatMessageAttachmentsPreview__Header"}),I8=e=>{const{selectedItem:t}=tB();return Vf.jsx(N8,{children:(null==t?void 0:t.title)||"Attachment",...e})},R8=FB(cW,{_id:"aiChatMessageAttachmentsPreview__Close",children:Vf.jsx(nq,{iconKey:"close"})}),O8=FB("p",{_id:"aiChatMessageAttachmentsPreview__Body"}),P8=e=>{const{selectedItem:t}=tB();return Vf.jsx(O8,{children:null==t?void 0:t.content,...e})},L8=FB("div",{_id:"aiChatMessage"}),D8=e=>{const{aiChatSettings:t}=ZO(),{componentStyles:n,...r}=e,{message:a}=aB(),{logEvent:o}=bP(),i=DP(a),{conversation:s}=nP();return"user"===a.role?Vf.jsx(L8,{"data-role":a.role,children:i,...r}):Vf.jsx(L8,{"data-role":a.role,...r,children:Vf.jsx(M4,{children:i,componentStyles:n,shouldOpenLinksInNewTab:t.shouldOpenLinksInNewTab,onLinkClick:(e,t)=>{o({eventName:"assistant_message_inline_link_opened",properties:{title:null==t?void 0:t.toString(),url:e}})},onCodeCopy:(e,t)=>{o({eventName:"assistant_code_block_copied",properties:{conversation:s,language:e,code:t}})}})})},M8=FB("div",{_id:"aiChatMessageToolbar"}),F8=e=>{var t;const{isLoading:n,messages:r}=Bj(),{message:a}=aB();return(null==(t=r.at(-1))?void 0:t.id)===(null==a?void 0:a.id)&&n||"user"===a.role?null:Vf.jsx(M8,{...e})},j8=FB("div",{_id:"aiChatMessageToolActions"}),B8=e=>{const{children:t,...n}=e,{message:r}=aB(),{messageButtons:a}=Bj(),o=a[r.id]||[];return Vf.jsx(j8,{children:LP(t,o),...n})},z8=FB("a",{_id:"aiChatMessageToolAction"}),H8=FB("button",{_id:"aiChatMessageToolAction"}),U8=e=>{const{onClick:t,action:n,...r}=e,{handleAction:a}=z4(n),o=()=>{a()},i=n.label||"Contact Support",s=Vf.jsxs(Vf.Fragment,{children:[n.icon&&Vf.jsx(eq,{iconSettings:n.icon}),i]});return"open_link"===n.action.type?Vf.jsx(z8,{href:n.action.url,target:"_blank",rel:"noopener","data-type":n.action.type,onClick:U4(t,o),children:s,...r}):Vf.jsx(H8,{"data-type":n.action.type,onClick:U4(t,o),children:s,...r})},$8=FB("button",{_id:"aiChatMessageAction"}),G8=e=>{var t,n,r;const{action:a,onClick:o,className:i,...s}=e,{conversation:l}=nP(),{message:c}=aB(),{isStreaming:u,messages:d}=Bj(),[p,f]=d4(),{feedback:h,submitPositiveFeedback:m,setCurrentFeedback:g,currentFeedback:y}=ID(),{logEvent:b}=bP(),[v,w]=function(){const[e,t]=Z.useState(!1);return[e,Z.useCallback((async()=>(t(!0),setTimeout((()=>{t(!1)}),1e3),!0)),[])]}(),{baseSettings:{privacyPreferences:k}}=ZO(),{optOutAllAnalytics:x}=k,E=(null==(t=d.at(-1))?void 0:t.id)===(null==c?void 0:c.id),_="assistant"===c.role;if(E&&u||!_||{copy:!1,upvote:x,downvote:x}[a])return null;const S={copy(){f(DP(c)),b({eventName:"assistant_message_copied",properties:{conversation:l}})},upvote(){m(c.id).then((()=>{w()}))},downvote(){g(c.id)}},T={copy:Vf.jsx(nq,{iconKey:p?"messageCopied":"messageCopy"}),upvote:Vf.jsx(nq,{iconKey:v?"messageCopied":"thumbsUp"}),downvote:Vf.jsx(nq,{iconKey:"thumbsDown"})},C={copy:{"data-copied":OP(p)},upvote:{"data-upvoted":OP("positive"===(null==(n=h[c.id])?void 0:n.type))},downvote:{"data-downvoted":OP("negative"===(null==(r=h[c.id])?void 0:r.type)),"data-state":null===y?"closed":"open"}};return Vf.jsx($8,{"data-action":a,...C[a],children:T[a],"aria-label":{copy:"Copy Message",upvote:"Upvote Message",downvote:"Downvote Message"}[a],className:`${i} ${a}`,onClick:U4(o,S[a]),...s})},V8=FB("div",{_id:"aiChatMessageSources"}),W8=FB("div",{_id:"aiChatMessageSources__Header"}),q8=e=>Vf.jsx(W8,{children:"Sources",...e}),Y8=FB("div",{_id:"aiChatMessageSources__List"}),K8=e=>{const{message:t}=aB(),{children:n,...r}=e,{baseSettings:{transformSource:a,organizationDisplayName:o},aiChatSettings:{shouldOpenLinksInNewTab:i},searchSettings:{tabs:s}}=ZO();if("assistant"!==t.role)return null;const l=t.links.map((e=>{const t=r6(e,"chatSourceItem",{organizationDisplayName:o,tabs:s,transformSource:a}),n=void 0!==t.shouldOpenInNewTab?t.shouldOpenInNewTab:i;return{...t,isExternal:n}}));return Vf.jsx(Y8,{children:LP(n,l),...r})},X8=FB(aq,{_id:"aiChatMessageSourceItem"}),Q8=e=>{var t;const{source:n,onClick:r,...a}=e,{logEvent:o}=bP(),{conversation:i}=nP();return Vf.jsx(SB,{source:n,children:Vf.jsx(X8,{"data-type":n.type,appendToUrl:n.appendToUrl,isExternal:n.isExternal,"data-breadcrumbs":!!(null==(t=n.breadcrumbs)?void 0:t.length),onClick:U4(r,(()=>{o({eventName:"assistant_source_item_clicked",properties:{conversation:i,link:n}})})),...a})})},Z8=FB("div",{_id:"aiChatMessageSourceItem__Breadcrumbs"}),J8=e=>{var t;const{source:n}=TB();return(null==(t=n.breadcrumbs)?void 0:t.length)?Vf.jsx(Z8,{"data-type":n.type,...e}):null},e9=FB(nq,{_id:"aiChatMessageSourceItem__BreadcrumbIcon",iconKey:"breadcrumbSeparator"}),t9=FB(eq,{_id:"aiChatMessageSourceItem__Icon"}),n9=e=>{const{source:t}=TB();return Vf.jsx(t9,{iconSettings:t.icon,"data-type":t.type,...e})},r9=FB("span",{_id:"aiChatMessageSourceItem__Title"}),a9=e=>{const{source:t}=TB();return Vf.jsx(r9,{"data-type":t.type,children:t.title,...e})},o9=FB("span",{_id:"aiChatMessageSourceItem__Tag"}),i9=e=>{const{source:t}=TB();return Vf.jsx(o9,{"data-type":t.type,...e})},s9=FB("span",{_id:"aiChatMessageSourceItem__Description"}),l9=e=>{const{source:t}=TB(),{children:n,...r}=e,a=Z.useMemo((()=>t.description?H4(t.description):[]),[t.description]);return a.length?Vf.jsx(s9,{"data-type":t.type,children:LP(n,a),...r}):null},c9=FB("span",{_id:"aiChatMessageSourceItem__DescriptionPart"}),u9=e=>{const{part:t,...n}=e,{source:r}=TB();return"string"==typeof t?t:Vf.jsx(c9,{"data-type":r.type,children:t.content,"data-highlighted":OP(t.highlighted),...n})},d9=FB(nq,{_id:"aiChatMessageSourceItem__Indicator"}),p9=e=>{const{source:t}=TB();return Vf.jsx(d9,{iconKey:t.isExternal?"openLinkInNewTab":"openLinkInSameTab",...e})},f9=FB("div",{_id:"aiChatFooter"}),h9=FB("div",{_id:"aiChatInput__Fieldset"}),m9=FB("div",{_id:"aiChatInput__Group"}),g9=FB("textarea",{_id:"aiChatInput"}),y9=Z.forwardRef((({onChange:e,onKeyDown:t,...n},r)=>{const{handleInputChange:a,handleInputKeyDown:o,input:i,error:s,shouldAutoFocusInput:l,inputRef:c}=Bj(),{aiChatSettings:u}=ZO(),d=IB(r,c),p=dD();return Z.useEffect((()=>{requestAnimationFrame((()=>{l&&(null==c?void 0:c.current)&&(c.current.focus(),c.current.selectionStart=c.current.value.length)}))}),[l,c,null==p?void 0:p.isOpen]),Vf.jsx(g9,{asChild:!0,ref:d,maxLength:99999,placeholder:u.placeholder,value:i,onChange:U4(e,a),onKeyDown:U4(t,o),disabled:!!s||u.isViewOnly,...n,children:Vf.jsx(JB,{})})})),b9=FB("button",{_id:"aiChatInput__SendButton"}),v9=e=>{const{handleSubmit:t,isSubmitDisabled:n,error:r}=Bj(),{aiChatSettings:a}=ZO(),{onClick:o,...i}=e;return Vf.jsx(b9,{onClick:U4(o,(()=>t())),"aria-label":"Send message",disabled:n||!!r||a.isViewOnly,...i})},w9=FB(nq,{_id:"aiChatInput__SendButtonIcon",iconKey:"chatSubmit"}),k9=FB("div",{_id:"aiChatAttachmentsBar"}),x9=e=>{var t;const{selectedWorkflow:n}=Bj();return n&&(null==(t=n.supportedInputs)?void 0:t.length)?Vf.jsx(Hj,{children:Vf.jsx(k9,{...e})}):null},E9=FB("div",{_id:"aiChatAttachmentsBar__List"}),_9=e=>{const{children:t,...n}=e,{messageAttachments:r}=Bj();return Vf.jsx(E9,{children:LP(t,r),...n})},S9=FB("div",{_id:"aiChatAttachmentsBar__Attachment"}),T9=e=>{const{attachment:t,...n}=e;return Vf.jsx(qf,{attachment:t,children:Vf.jsx(S9,{...n})})},C9=FB(eq,{_id:"aiChatAttachmentsBar__AttachmentIcon"}),A9=e=>{var t;const{attachment:n}=Yf(),r=null==(t=n.contentType)?void 0:t.attachmentIcon;return r?Vf.jsx(C9,{iconSettings:r,...e}):null},N9=FB("span",{_id:"aiChatAttachmentsBar__AttachmentTitle"}),I9=e=>{const{attachment:t}=Yf();return Vf.jsx(N9,{children:t.title,...e})},R9=FB("button",{_id:"aiChatAttachmentsBar__AttachmentDelete"}),O9=e=>{const{onClick:t,...n}=e,{attachment:r}=Yf(),{setMessageAttachments:a}=Bj();return Vf.jsx(R9,{"aria-label":"Remove attachment",children:Vf.jsx(nq,{iconKey:"close"}),onClick:U4(t,(()=>{a((e=>e.filter((e=>e.id!==r.id))))})),...n})},P9=FB("div",{_id:"aiChatAttachmentsBar__Actions"}),L9=FB(wj,{_id:"aiChatAttachmentsBar__InfoTip",delayDuration:0}),D9=FB(Lj,{_id:"aiChatAttachmentsBar__InfoTipIcon",children:Vf.jsx(nq,{iconKey:"info"})}),M9=FB(Mj,{_id:"aiChatAttachmentsBar__InfoTipArrow"}),F9=FB(Dj,{_id:"aiChatAttachmentsBar__InfoTipText",side:"bottom",sideOffset:3,align:"center",children:Vf.jsxs(Vf.Fragment,{children:[Vf.jsx(M9,{}),"Attachments will be kept in context for the entire conversation."]})}),j9=FB("div",{_id:"aiChatAttachmentsBar__Inputs"}),B9=e=>{const{children:t,...n}=e,{selectedWorkflow:r}=Bj();return(null==r?void 0:r.supportedInputs)?Vf.jsx(j9,{children:LP(t,r.supportedInputs),...n}):null},z9=FB("button",{_id:"aiChatAttachmentsBar__Input"}),H9=e=>{const{input:t,onClick:n,...r}=e,{selectedWorkflow:a,messageAttachments:o,setMessageAttachments:i}=Bj(),{selectInput:s,onOpen:l}=Uj();return Vf.jsx(z9,{children:t.displayName,onClick:U4(n,(()=>{if("FUNCTIONAL_MULTI_ATTACHMENT"===t.type){if(!a)return;return t.onInvoke(a,t,i,[...o])}s(t),l()})),...r})},U9=FB((function(e){return vW({attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32",d:"M256 112v288m144-144H112"},child:[]}]})(e)}),{_id:"aiChatAttachmentsBar__InputIcon"}),$9=FB(aW,{_id:"aiChatAttachmentsBar__Modal"}),G9=FB(iW,{_id:"aiChatAttachmentsBar__ModalOverlay"}),V9=FB(sW,{_id:"aiChatAttachmentsBar__ModalContent","aria-describedby":void 0}),W9=FB("div",{_id:"aiChatAttachmentsBar__ModalHeader"}),q9=FB(lW,{_id:"aiChatAttachmentsBar__ModalHeading"}),Y9=e=>{const{selectedInput:t}=Uj(),n=`Add ${null==t?void 0:t.displayName}`;return Vf.jsx(q9,{children:n,...e})},K9=FB("span",{_id:"aiChatAttachmentsBar__ModalDescription"}),X9=e=>{var t;const{selectedInput:n}=Uj(),r=null==(t=null==n?void 0:n.workflowModalProps)?void 0:t.modalHelpText;return r?Vf.jsx(K9,{children:r,...e}):null},Q9=FB("div",{_id:"aiChatAttachmentsBar__ModalHelp"}),Z9=FB(cW,{_id:"aiChatAttachmentsBar__ModalClose",children:Vf.jsx(nq,{iconKey:"close"})}),J9=FB("div",{_id:"aiChatAttachmentsBar__ModalBody"}),e7=FB("form",{_id:"aiChatAttachmentsBar__Form"}),t7=e=>{const{onSubmit:t,...n}=e,{form:r}=Uj();return Vf.jsx(e7,{onSubmit:U4(t,r.onSubmit),...n})},n7=FB("div",{_id:"aiChatAttachmentsBar__FormTitle",role:"group"}),r7=FB("label",{_id:"aiChatAttachmentsBar__FormTitleLabel"}),a7=e=>{const{form:t,selectedInput:n}=Uj();return Vf.jsx(r7,{htmlFor:`${null==n?void 0:n.id}-title`,children:t.labels.title,...e})},o7=FB("input",{_id:"aiChatAttachmentsBar__FormTitleInput"}),i7=e=>{const{onChange:t,...n}=e,{form:r,selectedInput:a}=Uj();return Vf.jsx(o7,{name:"title",value:r.data.title,id:`${null==a?void 0:a.id}-title`,"data-invalid":OP(!!r.errors.title),"aria-invalid":!!r.errors.title,onChange:U4(t,r.onChange),...n})},s7=FB("span",{_id:"aiChatAttachmentsBar__FormTitleError"}),l7=e=>{const{form:t}=Uj();return t.errors.title?Vf.jsx(s7,{"aria-live":"polite",children:t.errors.title,...e}):null},c7=FB("div",{_id:"aiChatAttachmentsBar__FormTitle",role:"group"}),u7=FB("label",{_id:"aiChatAttachmentsBar__FormContentLabel"}),d7=e=>{const{form:t,selectedInput:n}=Uj();return Vf.jsx(u7,{htmlFor:`${null==n?void 0:n.id}-content`,children:t.labels.content,...e})},p7=FB("textarea",{_id:"aiChatAttachmentsBar__FormTitleInput"}),f7=e=>{const{onChange:t,...n}=e,{form:r,selectedInput:a}=Uj();return Vf.jsx(p7,{asChild:!0,rows:4,name:"content",value:r.data.content,id:`${null==a?void 0:a.id}-content`,"data-invalid":OP(!!r.errors.content),"aria-invalid":!!r.errors.content,onChange:U4(t,r.onChange),...n,children:Vf.jsx(JB,{maxRows:10})})},h7=FB("span",{_id:"aiChatAttachmentsBar__FormContentError"}),m7=e=>{const{form:t}=Uj();return t.errors.content?Vf.jsx(h7,{"aria-live":"polite",children:t.errors.content,...e}):null},g7=FB("button",{_id:"aiChatAttachmentsBar__FormSubmitButton",children:"Upload",type:"submit"}),y7=FB("div",{_id:"aiChatActionBar"}),b7=FB("div",{_id:"aiChat__ChatActions"}),v7=FB("div",{_id:"aiChatTagline__Container"}),w7=FB("span",{_id:"aiChatTagline__Text",children:"Powered by"}),k7=FB(B4,{_id:"aiChatTagline__Logo"}),x7=FB("a",{_id:"aiChatTagline__BrandName",children:"inkeep",href:"https://www.inkeep.com/",target:"_blank",rel:"noopener noreferrer"}),E7=FB(Lj,{_id:"aiChat__ChatAction"}),_7=e=>{const{action:t,onClick:n,className:r,...a}=e,{clear:o,stop:i,isLoading:s,messages:l,selectedWorkflow:c}=Bj(),{conversation:u}=nP(),{aiChatSettings:d,baseSettings:p}=ZO(),{logEvent:f}=bP(),[h,m]=d4(),[g,y]=d4();if({help:!1,copy:0===l.length||!d.isCopyChatButtonVisible||s,share:0===l.length||!d.isShareButtonVisible||!u.id||!!c||s,clear:0===l.length||d.isViewOnly||s,stop:!s}[t])return null;const b={help:()=>{},copy:()=>{const e=l.map((e=>{var t,n;const r=`**${"assistant"===e.role?"AI Assistant":"User"}**`,a=DP(e),o=EP(null==(n=null==(t=e.metadata)?void 0:t.attributes)?void 0:n.attachments);return`${r}\n\n${a}${o?`\n\n**Attachments**\n\n${o}`:""}`})).join("\n\n---\n\n");m(e)},share:async()=>{const e={visibility:"public",tags:[],userProperties:{},messages:u.messages.map((e=>({...e,createdAt:void 0,updatedAt:void 0,id:Date.now().toString()+e.id,conversationId:void 0})))},{apiKey:t,analyticsApiBaseUrl:n}=p,r=await rP("",e,t,n);if(r){const e=`${d.shareChatUrlBasePath}?${JO}=${null==r?void 0:r.id}`;y(e),f({eventName:"chat_share_button_clicked",properties:{sharedConversationId:null==r?void 0:r.id,originalConversationId:u.id,sharedChatUrl:e,conversation:r}})}},clear:o,stop:i},v={copy:h,share:g};return Vf.jsx(wj,{delayDuration:0,open:v[t],children:Vf.jsx(E7,{"data-type":t,"data-copied":OP(h||g),className:`${r} ${t}`,children:Vf.jsx(T7,{action:t}),onClick:U4(n,b[t]),...a})})},S7=FB("span",{_id:"aiChat__ChatActionLabel"}),T7=e=>{const{action:t,...n}=e,{aiChatSettings:r}=ZO(),a=r.toolbarButtonLabels??{},o={help:a.getHelp??"Get Help",copy:a.copyChat??"Copy",share:a.share??"Share",clear:a.clear??"Clear",stop:a.stop??"Stop"};return Vf.jsx(S7,{children:o[t],...n})},C7=FB(Tj,{_id:"aiChat__ChatActionFeeback"}),A7=e=>{const{action:t,children:n,...r}=e;return Vf.jsxs(C7,{sideOffset:5,...r,children:[Vf.jsx(Mj,{}),n||{copy:"Copied!",share:"Link copied!"}[t]]})},N7=FB(jU,{_id:"aiChatHelpActions"}),I7=FB(_7,{_id:"aiChatHelpAction",action:"help"}),R7=FB("a",{_id:"aiChatHelpAction",target:"_blank",rel:"noreferrer"}),O7=e=>{const{action:t,onClick:n,...r}=e,{handleAction:a,logHelpAction:o}=z4(t),i=t.action.type,s={"aria-label":t.name,"data-name":t.name,children:t.name,onClick:U4(n,(()=>{a(),o()})),...r};return"open_link"===i?Vf.jsx(R7,{href:t.action.url,...s}):Vf.jsx(I7,{...s})},P7=FB(BU,{_id:"aiChatHelpActions__Trigger"}),L7=Z.memo((e=>{var t;const{aiChatSettings:n}=ZO();return Vf.jsx(_7,{action:"help",...e,asChild:!0,children:Vf.jsx(P7,{children:(null==(t=n.toolbarButtonLabels)?void 0:t.getHelp)??"Get Help"})})})),D7=FB(zU,{_id:"aiChatHelpActions__Menu"}),M7=e=>Vf.jsx(D7,{side:"top",sideOffset:8,align:"center",alignOffset:-10,...e}),F7=FB(HU,{_id:"aiChatHelpActions__MenuArrow"}),j7=e=>{const{action:t,onClick:n,...r}=e,{handleAction:a,logHelpAction:o}=z4(t),{setOpen:i}=(()=>{const e=Z.useContext(Kj);if(!e)throw new Error("useHelpMenu must be used within a HelpMenuProvider");return e})(),s=t.action.type,l=FB("open_link"===s?"a":"button",{_id:"aiChatHelpActions__MenuItem",children:t.name,"aria-label":t.name,"data-name":t.name,"data-type":t.action.type,..."open_link"===s&&{href:t.action.url,target:"_blank",rel:"noopener"},onClick:U4(n,(()=>{a({onOpenForm:()=>i(!1)}),o()}))});return Vf.jsx(l,{...r})},B7=FB(eq,{_id:"aiChatHelpActions_MenuItemIcon"}),z7=e=>{const{action:t,...n}=e;return t.icon?Vf.jsx(B7,{iconSettings:t.icon,...n}):null},H7=FB(aW,{_id:"aiChatFeedbackModal"}),U7=FB(iW,{_id:"aiChatFeedbackModal__Overlay"}),$7=FB(sW,{_id:"aiChatFeedbackModal__Content","aria-describedby":void 0}),G7=FB(lW,{_id:"aiChatFeedbackModal__Header",children:"Help improve my answers!"}),V7=FB(cW,{_id:"aiChatFeedbackModal__Close",children:Vf.jsx(nq,{iconKey:"close"})}),W7=FB("div",{_id:"aiChatFeedbackModal__Body"}),q7=FB("form",{_id:"aiChatFeedbackForm"}),Y7=e=>{const{onSubmit:t,...n}=e,{submitNegativeFeedback:r,currentFeedback:a,setCurrentFeedback:o}=ID();return Vf.jsx(q7,{onSubmit:U4(t,(e=>{e.preventDefault();const t=e.target,n=new FormData(t),i=Object.fromEntries(n.entries());a&&(r(a,i),o(null))})),...n})},K7=FB("div",{_id:"aiChatFeedbackItem"}),X7=e=>{const{name:t,...n}=e;return Vf.jsx(Gj,{name:t,children:Vf.jsx(K7,{...n})})},Q7=FB(Sz,{_id:"aiChatFeedbackItem__Checkbox"}),Z7=e=>{const{name:t,focusItem:n}=Vj(),{onCheckedChange:r,...a}=e;return Vf.jsx(Q7,{id:`feedback-${t}`,name:t,onCheckedChange:U4(r,(e=>{var t;e&&(null==(t=null==n?void 0:n.current)||t.focus())})),...a})},J7=FB(Tz,{_id:"aiChatFeedbackItem__CheckboxIndicator",children:Vf.jsx(j4,{})}),eee=FB("label",{_id:"aiChatFeedbackItem__Label"}),tee=e=>{const{name:t}=Vj();return Vf.jsx(eee,{htmlFor:`feedback-${t}`,children:{unrelated_response:"Didn't answer my question",inaccurate_statement:"Inaccurate statement",inaccurate_code_snippet:"Inaccurate code snippet",irrelevant_citations:"Irrelevant citations"}[t],...e})},nee=FB("textarea",{_id:"aiChatFeedbackItem__Description",placeholder:"Please describe"}),ree=e=>{const{name:t,focusItem:n}=Vj();return Vf.jsx(nee,{ref:n,name:`${t}:description`,...e})},aee=FB("button",{_id:"aiChatFeedbackForm__SubmitButton",children:"Submit",type:"submit"}),oee=FB("div",{_id:"aiChatForm__Wrapper"}),iee=e=>{const{form:t}=gD();return t?Vf.jsx(oee,{...e}):null},see=FB("form",{_id:"aiChatForm"}),lee=e=>{const{onSubmit:t,...n}=e,{handleSubmit:r,isSuccess:a}=gD();return a?null:Vf.jsx(see,{onSubmit:U4(t,r),...n})},cee=FB("button",{_id:"aiChatForm__Close",children:Vf.jsx(nq,{iconKey:"close"})}),uee=e=>{const{onClick:t,...n}=e,{closeForm:r}=gD();return Vf.jsx(cee,{onClick:U4(t,r),...n})},dee=FB("div",{_id:"aiChatForm__Header"}),pee=FB("h2",{_id:"aiChatForm__Heading"}),fee=e=>{const{form:t}=gD();return(null==t?void 0:t.heading)?Vf.jsx(pee,{children:t.heading,...e}):null},hee=FB("span",{_id:"aiChatForm__Description"}),mee=e=>{const{form:t}=gD();return(null==t?void 0:t.description)?Vf.jsx(hee,{children:t.description,...e}):null},gee=FB("div",{_id:"aiChatForm__Content"}),yee=e=>{const{children:t,...n}=e,{fields:r=[]}=gD();return Vf.jsx(gee,{children:LP(t,r),...n})},bee=FB("div",{_id:"aiChatForm__Field"}),vee=e=>{const{field:t,autoFocus:n,...r}=e,{control:a,errors:o}=gD();return Vf.jsx(SL,{name:t.name,control:a,rules:{required:t.isRequired?`${t.label} is required.`:void 0},render:({field:e})=>{const a=void 0!==e.value||"file"===t.inputType;return Vf.jsx(qj,{"data-invalid":OP(!!o[t.name]),field:t,fieldProps:e,autoFocus:n,children:a&&Vf.jsx(bee,{"data-input-type":t.inputType,"data-hidden":OP(t.isHidden),...r})})}})},wee=FB("label",{_id:"aiChatForm__FieldLabel"}),kee=e=>{const{field:t}=Yj();return Vf.jsx(wee,{"data-required":OP(t.isRequired),htmlFor:t.name,children:t.label,...e})},xee=FB("input",{_id:"aiChatForm__FieldText",type:"text"}),Eee=e=>{const{field:t,error:n,fieldProps:{onChange:r,onBlur:a,...o},autoFocus:i}=Yj(),{onChange:s,onBlur:l,...c}=e;return Vf.jsx(xee,{id:t.name,autoFocus:i,placeholder:"placeholder"in t?t.placeholder:void 0,"data-invalid":OP(!!n),onChange:U4(s,r),onBlur:U4(l,a),...o,...c})},_ee=FB(Eee,{_id:"aiChatForm__FieldEmail",type:"email"}),See=FB("input",{_id:"aiChatForm__FieldFile",type:"file",multiple:!0}),Tee=e=>{const{field:t,error:n,fieldProps:{value:r,onChange:a,onBlur:o,...i},autoFocus:s}=Yj(),{onChange:l,onBlur:c,...u}=e;return Vf.jsx(See,{id:t.name,autoFocus:s,"data-value":r,"data-invalid":OP(!!n),...u,...i,onChange:U4(l,(e=>{const t=e.target.files;a(t)})),onBlur:U4(c,o)})},Cee=FB(Eee,{_id:"aiChatForm__FieldTextArea",type:"textarea",asChild:!0,children:Vf.jsx(JB,{maxRows:8})}),Aee=FB(Sz,{_id:"aiChatForm__FieldCheckbox"}),Nee=e=>{const{field:t,error:n,fieldProps:r,autoFocus:a}=Yj(),{onCheckedChange:o,...i}=e;return Vf.jsx(Aee,{id:t.name,name:t.name,autoFocus:a,"data-invalid":OP(!!n),checked:r.value,onCheckedChange:U4(o,r.onChange),...i})},Iee=FB(Tz,{_id:"aiChatForm__FieldCheckboxIndicator",children:Vf.jsx(j4,{})}),Ree=FB(TG,{_id:"aiChatForm__FieldSelect"}),Oee=FB(CG,{_id:"aiChatForm__FieldSelect__Trigger"}),Pee=FB(AG,{_id:"aiChatForm__FieldSelect__Value"}),Lee=FB(NG,{_id:"aiChatForm__FieldSelect__Icon",asChild:!0,children:Vf.jsx(eq,{iconSettings:{builtIn:"LuChevronDown"}})}),Dee=FB(IG,{_id:"aiChatForm__FieldSelect__Content",position:"popper"}),Mee=FB(RG,{_id:"aiChatForm__FieldSelect__Viewport"}),Fee=FB(OG,{_id:"aiChatForm__FieldSelect__Item"}),jee=FB(PG,{_id:"aiChatForm__FieldSelect__ItemText"}),Bee=FB(LG,{_id:"aiChatForm__FieldSelect__ItemIndicator",asChild:!0,children:Vf.jsx(eq,{iconSettings:{builtIn:"LuCheck"}})}),zee=FB("span",{_id:"aiChatForm__FieldError"}),Hee=e=>{var t;const{error:n}=Yj();return n?Vf.jsx(zee,{children:null==(t=n.message)?void 0:t.toString(),...e}):null},Uee=FB("span",{_id:"aiChatForm__Error"}),$ee=e=>{const{formError:t}=gD();return t?Vf.jsx(Uee,{children:t.message,...e}):null},Gee=FB("div",{_id:"aiChatForm__Footer"}),Vee=FB("button",{_id:"aiChatForm__Cancel",children:"Cancel"}),Wee=e=>{const{onClick:t,...n}=e,{closeForm:r}=gD();return Vf.jsx(Vee,{onClick:U4(t,r),...n})},qee=FB("button",{_id:"aiChatForm__Submit",children:"Submit",type:"submit"}),Yee=e=>{const{onClick:t,...n}=e,{isSubmitting:r}=gD();return Vf.jsx(qee,{disabled:r,...n})},Kee=FB("div",{_id:"aiChatForm__Success"}),Xee=e=>{const{isSuccess:t}=gD();return t?Vf.jsx(Kee,{...e}):null},Qee=FB("h2",{_id:"aiChatForm__SuccessHeading"}),Zee=e=>{const{form:t}=gD();return Vf.jsx(Qee,{children:null==t?void 0:t.successView.heading,...e})},Jee=FB(M4,{_id:"aiChatForm__SuccessMessage"}),ete=FB("button",{_id:"aiChatForm__SuccessButton"}),tte=e=>{var t;const{onClick:n,...r}=e,{form:a,closeForm:o}=gD(),i=null==(t=null==a?void 0:a.successView)?void 0:t.doneButton;if(!i)return null;const s=i.icon&&Vf.jsx(eq,{iconSettings:i.icon}),l=i.label;return Vf.jsx(ete,{onClick:U4(n,o),children:Vf.jsxs(Vf.Fragment,{children:[s,l]}),...r})};var nte=.999,rte=/[\\\/_+.#"@\[\(\{&]/,ate=/[\\\/_+.#"@\[\(\{&]/g,ote=/[\s-]/,ite=/[\s-]/g;function ste(e,t,n,r,a,o,i){if(o===t.length)return a===e.length?1:.99;var s=`${a},${o}`;if(void 0!==i[s])return i[s];for(var l,c,u,d,p=r.charAt(o),f=n.indexOf(p,a),h=0;f>=0;)(l=ste(e,t,n,r,f+1,o+1,i))>h&&(f===a?l*=1:rte.test(e.charAt(f-1))?(l*=.8,(u=e.slice(a,f-1).match(ate))&&a>0&&(l*=Math.pow(nte,u.length))):ote.test(e.charAt(f-1))?(l*=.9,(d=e.slice(a,f-1).match(ite))&&a>0&&(l*=Math.pow(nte,d.length))):(l*=.17,a>0&&(l*=Math.pow(nte,f-a))),e.charAt(f)!==t.charAt(o)&&(l*=.9999)),(l<.1&&n.charAt(f-1)===r.charAt(o+1)||r.charAt(o+1)===r.charAt(o)&&n.charAt(f-1)!==r.charAt(o))&&.1*(c=ste(e,t,n,r,f+1,o+2,i))>l&&(l=.1*c),l>h&&(h=l),f=n.indexOf(p,f+1);return i[s]=h,h}function lte(e){return e.toLowerCase().replace(ite," ")}function cte(e,t,n){return ste(e=n&&n.length>0?""+(e+" "+n.join(" ")):e,t,lte(e),lte(t),0,0,{})}var ute={exports:{}},dte={},pte=Z;var fte="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},hte=pte.useState,mte=pte.useEffect,gte=pte.useLayoutEffect,yte=pte.useDebugValue;function bte(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!fte(e,n)}catch(r){return!0}}var vte="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var n=t(),r=hte({inst:{value:n,getSnapshot:t}}),a=r[0].inst,o=r[1];return gte((function(){a.value=n,a.getSnapshot=t,bte(a)&&o({inst:a})}),[e,n,t]),mte((function(){return bte(a)&&o({inst:a}),e((function(){bte(a)&&o({inst:a})}))}),[e]),yte(n),n};dte.useSyncExternalStore=void 0!==pte.useSyncExternalStore?pte.useSyncExternalStore:vte,ute.exports=dte;var wte=ute.exports;const kte="__ask_ai__",xte='[cmdk-group=""]',Ete='[cmdk-group-items=""]',_te='[cmdk-item=""]',Ste=`${_te}:not([aria-disabled="true"])`,Tte="cmdk-item-select",Cte="data-value",Ate=(e,t,n)=>cte(e,t,n??[]),Nte=Z.createContext(void 0),Ite=()=>Z.useContext(Nte),Rte=Z.createContext(void 0),Ote=()=>Z.useContext(Rte),Pte=Z.createContext(void 0),Lte=Z.forwardRef(((e,t)=>{const n=Yte((()=>new Set)),r=Yte((()=>new Map)),a=Yte((()=>new Map)),o=Yte((()=>new Set)),i=Wte(e),{label:s,children:l,value:c,onValueChange:u,filter:d,shouldFilter:p,loop:f,disablePointerSelection:h=!1,vimBindings:m=!0,defaultSearch:g,...y}=e,b=Yte((()=>({search:g??"",value:e.value??e.defaultValue??"",selectedItemId:void 0,filtered:{count:0,items:new Map,groups:new Set}}))),v=FO(),w=FO(),k=FO(),x=Z.useRef(null),E=Zte();qte((()=>{if(void 0!==c){const e=c.trim();b.current.value=e,S.emit()}}),[c]),qte((()=>{E(6,R)}),[]);const _=BO(),S=Z.useMemo((()=>({subscribe:e=>(o.current.add(e),()=>o.current.delete(e)),snapshot:()=>b.current,setState:(e,t,n)=>{var r,a,o,s,l;if(!Object.is(b.current[e],t)){if(b.current[e]=t,"search"===e)I(),A(),E(1,N);else if("value"===e){const e=null==(a=null==(r=null==_?void 0:_.shadowHost)?void 0:r.shadowRoot)?void 0:a.activeElement;if((null==e?void 0:e.hasAttribute("cmdk-input"))||E(1,(()=>{const e=O();null==e||e.focus()})),E(7,(()=>{var e;b.current.selectedItemId=null==(e=O())?void 0:e.id,S.emit()})),n||E(5,R),void 0!==(null==(o=i.current)?void 0:o.value)){const e=t??"";return void(null==(l=(s=i.current).onValueChange)||l.call(s,e))}}S.emit()}},emit:()=>{o.current.forEach((e=>e()))}})),[]),T=Z.useMemo((()=>({value:(e,t,n)=>{var r;t!==(null==(r=a.current.get(e))?void 0:r.value)&&(a.current.set(e,{value:t,keywords:n}),b.current.filtered.items.set(e,C(t,n)),E(2,(()=>{A(),S.emit()})))},item:(e,t)=>{var o,i;return n.current.add(e),t&&(r.current.has(t)?null==(i=null==(o=r.current)?void 0:o.get(t))||i.add(e):r.current.set(t,new Set([e]))),E(3,(()=>{I(),A(),b.current.value||N(),S.emit()})),()=>{a.current.delete(e),n.current.delete(e),b.current.filtered.items.delete(e);const t=O();E(4,(()=>{I(),(null==t?void 0:t.getAttribute("id"))===e&&N(),S.emit()}))}},group:e=>(r.current.has(e)||r.current.set(e,new Set),()=>{a.current.delete(e),r.current.delete(e)}),filter:()=>!!i.current.shouldFilter,label:s||e["aria-label"]||"",getDisablePointerSelection:()=>!!i.current.disablePointerSelection,listId:v,inputId:k,labelId:w,listInnerRef:x})),[]);function C(e,t){var n;const r=(null==(n=i.current)?void 0:n.filter)??Ate;return e?null==r?void 0:r(e,b.current.search,t):0}function A(){if(!b.current.search||!1===i.current.shouldFilter)return;const e=b.current.filtered.items,t=[];b.current.filtered.groups.forEach((n=>{const a=r.current.get(n);let o=0;a.forEach((t=>{const n=e.get(t);o=Math.max(n,o)})),t.push([n,o])}));const n=x.current;P().sort(((t,n)=>{const r=t.getAttribute("id"),a=n.getAttribute("id");return(e.get(a)??0)-(e.get(r)??0)})).forEach((e=>{const t=e.closest(Ete);if(t){const n=e.parentElement===t?e:e.closest(`${Ete} > *`);n&&t.appendChild(n)}else{const t=e.parentElement===n?e:e.closest(`${Ete} > *`);t&&(null==n||n.appendChild(t))}})),t.sort(((e,t)=>t[1]-e[1])).forEach((e=>{var t,n;const r=null==(t=x.current)?void 0:t.querySelector(`${xte}[${Cte}="${encodeURIComponent(e[0])}"]`);null==(n=null==r?void 0:r.parentElement)||n.appendChild(r)}))}function N(){const e=P().find((e=>"true"!==e.getAttribute("aria-disabled")&&e.getAttribute("data-value")!==kte)),t=null==e?void 0:e.getAttribute(Cte);S.setState("value",t||void 0)}function I(){var e,t;if(!b.current.search||!1===i.current.shouldFilter)return void(b.current.filtered.count=n.current.size);b.current.filtered.groups=new Set;let o=0;for(const r of n.current){const n=C((null==(e=a.current.get(r))?void 0:e.value)??"",(null==(t=a.current.get(r))?void 0:t.keywords)??[]);b.current.filtered.items.set(r,n),n>0&&o++}for(const[n,a]of r.current)for(const e of a){const t=b.current.filtered.items.get(e);if(t&&t>0){b.current.filtered.groups.add(n);break}}b.current.filtered.count=o}function R(){var e,t,n;const r=O();r&&((null==(e=r.parentElement)?void 0:e.firstChild)===r&&(null==(n=null==(t=r.closest(xte))?void 0:t.querySelector('[cmdk-group-heading=""]'))||n.scrollIntoView({block:"nearest"})),r.scrollIntoView({block:"nearest"}))}function O(){var e;return null==(e=x.current)?void 0:e.querySelector(`${_te}[aria-selected="true"]`)}function P(){var e;return Array.from((null==(e=x.current)?void 0:e.querySelectorAll(Ste))||[])}function L(e){const t=P()[e];t&&S.setState("value",t.getAttribute(Cte))}function D(e){var t;const n=O(),r=P(),a=r.findIndex((e=>e===n));let o=r[a+e];(null==(t=i.current)?void 0:t.loop)&&(o=a+e<0?r[r.length-1]:a+e===r.length?r[0]:r[a+e]),o&&S.setState("value",o.getAttribute(Cte))}function M(e){const t=O();let n,r=null==t?void 0:t.closest(xte);for(;r&&!n;)r=e>0?Gte(r,xte):Vte(r,xte),n=null==r?void 0:r.querySelector(Ste);n?S.setState("value",n.getAttribute(Cte)):D(e)}const F=e=>{e.preventDefault(),e.metaKey?L(P().length-1):e.altKey?M(1):D(1)},j=e=>{e.preventDefault(),e.metaKey?L(0):e.altKey?M(-1):D(-1)},B=vD();return Vf.jsxs(qG.div,{ref:t,tabIndex:-1,...y,"cmdk-root":"",onKeyDown:e=>{var t;if("search"===(null==B?void 0:B.view)&&(null==(t=y.onKeyDown)||t.call(y,e),!e.defaultPrevented))switch(e.key){case"n":case"j":m&&e.ctrlKey&&F(e);break;case"ArrowDown":F(e);break;case"p":case"k":m&&e.ctrlKey&&j(e);break;case"ArrowUp":j(e);break;case"Enter":if(!e.nativeEvent.isComposing&&229!==e.keyCode){e.preventDefault();const t=O();if(t){const e=new Event(Tte);t.dispatchEvent(e)}}}},style:{display:"contents"},children:[Vf.jsx("label",{"cmdk-label":"",htmlFor:T.inputId,id:T.labelId,style:ene,children:s}),Jte(e,(e=>Vf.jsx(Rte.Provider,{value:S,children:Vf.jsx(Nte.Provider,{value:T,children:e})})))]})})),Dte=Z.forwardRef(((e,t)=>{var n;const{id:r}=e,a=Z.useRef(null),o=Z.useContext(Pte),i=Ite(),s=Wte(e),l=(null==(n=s.current)?void 0:n.forceMount)??(null==o?void 0:o.forceMount);qte((()=>{if(!l)return i.item(r,null==o?void 0:o.id)}),[l]);const c=Qte(r,a,[e.value,e.children,a],e.keywords),u=Ote(),d=Xte((e=>e.value&&e.value===c.current)),p=Xte((e=>!!l||(!1===i.filter()||(!e.search||e.filtered.items.get(r)>0))));Z.useEffect((()=>{const t=a.current;if(!t||e.disabled)return;const n=()=>h("keyboard");return t.addEventListener(Tte,n),()=>t.removeEventListener(Tte,n)}),[p,e.onSelect,e.disabled]);const f=Z.useCallback((()=>{u.setState("value",c.current,!0)}),[u,c]),h=Z.useCallback(((e="click")=>{var t,n;f(),null==(n=(t=s.current).onSelect)||n.call(t,{value:c.current,trigger:e})}),[f,s,c]);if(!p)return null;const{disabled:m,value:g,onSelect:y,forceMount:b,keywords:v,onClick:w,...k}=e,x=Z.useMemo((()=>Kte([a,t])),[a,t]),E=U4(w,h);return Vf.jsx(qG.div,{ref:x,...k,id:r,"cmdk-item":"",role:"option","aria-disabled":Boolean(m),"aria-selected":Boolean(d),"data-disabled":Boolean(m),"data-selected":Boolean(d),onPointerMove:m||i.getDisablePointerSelection()?void 0:f,onClick:m?void 0:E,onFocus:m?void 0:f,children:e.children})})),Mte=Z.forwardRef(((e,t)=>{const{heading:n,children:r,forceMount:a,...o}=e,i=FO(),s=Z.useRef(null),l=Z.useRef(null),c=FO(),u=Ite(),d=Xte((e=>!!a||(!1===u.filter()||(!e.search||e.filtered.groups.has(i)))));qte((()=>u.group(i)),[]),Qte(i,s,[e.value,e.heading,l]);const p=Z.useMemo((()=>({id:i,forceMount:a})),[a]);return Vf.jsxs(qG.div,{ref:Kte([s,t]),...o,"cmdk-group":"",role:"presentation",hidden:!d||void 0,children:[n&&Vf.jsx("div",{ref:l,"cmdk-group-heading":"","aria-hidden":!0,id:c,children:n}),Jte(e,(e=>Vf.jsx("div",{"cmdk-group-items":"",role:"group","aria-labelledby":n?c:void 0,children:Vf.jsx(Pte.Provider,{value:p,children:e})})))]})})),Fte=Z.forwardRef(((e,t)=>{const{alwaysRender:n,...r}=e,a=Z.useRef(null),o=Xte((e=>!e.search));return n||o?Vf.jsx(qG.div,{ref:Kte([a,t]),...r,"cmdk-separator":"",role:"separator"}):null})),jte=Z.forwardRef(((e,t)=>{const{onValueChange:n,...r}=e,a=null!=e.value,o=Ote(),i=Xte((e=>e.search)),s=Ite();return Z.useEffect((()=>{null!=e.value&&o.setState("search",e.value)}),[e.value]),Vf.jsx(qG.input,{ref:t,...r,"cmdk-input":"",autoComplete:"off",autoCorrect:"off",spellCheck:!1,"aria-autocomplete":"list",role:"combobox","aria-expanded":!0,"aria-controls":s.listId,"aria-labelledby":s.labelId,id:s.inputId,type:"text",value:a?e.value:i,onChange:e=>{a||o.setState("search",e.target.value),null==n||n(e.target.value)}})})),Bte=Z.forwardRef(((e,t)=>{const{children:n,label:r="Suggestions",...a}=e,o=Z.useRef(null),i=Z.useRef(null),s=Ite();return Z.useEffect((()=>{if(i.current&&o.current){const e=i.current,t=o.current;let n;const r=new ResizeObserver((()=>{n=requestAnimationFrame((()=>{const n=e.offsetHeight;t.style.setProperty("--cmdk-list-height",n.toFixed(1)+"px")}))}));return r.observe(e),()=>{cancelAnimationFrame(n),r.unobserve(e)}}}),[]),Vf.jsx(qG.div,{ref:Kte([o,t]),...a,"cmdk-list":"",tabIndex:-1,"aria-label":r,id:s.listId,children:Jte(e,(e=>Vf.jsx("div",{ref:Kte([i,s.listInnerRef]),"cmdk-list-sizer":"",children:e})))})})),zte=Z.forwardRef(((e,t)=>{const{open:n,onOpenChange:r,overlayClassName:a,contentClassName:o,container:i,...s}=e;return Vf.jsx(aW,{open:n,onOpenChange:r,children:Vf.jsxs(oW,{container:i,children:[Vf.jsx(iW,{"cmdk-overlay":"",className:a}),Vf.jsx(sW,{"aria-label":e.label,"cmdk-dialog":"",className:o,children:Vf.jsx(Lte,{ref:t,...s})})]})})})),Hte=Z.forwardRef(((e,t)=>Xte((e=>0===e.filtered.count))?Vf.jsx(qG.div,{ref:t,...e,"cmdk-empty":"",role:"presentation"}):null)),Ute=Z.forwardRef(((e,t)=>{const{progress:n,children:r,label:a="Loading...",...o}=e;return Vf.jsx(qG.div,{ref:t,...o,"cmdk-loading":"",role:"progressbar","aria-valuenow":n,"aria-valuemin":0,"aria-valuemax":100,"aria-label":a,children:Jte(e,(e=>Vf.jsx("div",{"aria-hidden":!0,children:e})))})})),$te=Object.assign(Lte,{List:Bte,Item:Dte,Input:jte,Group:Mte,Separator:Fte,Dialog:zte,Empty:Hte,Loading:Ute});function Gte(e,t){let n=e.nextElementSibling;for(;n;){if(n.matches(t))return n;n=n.nextElementSibling}}function Vte(e,t){let n=e.previousElementSibling;for(;n;){if(n.matches(t))return n;n=n.previousElementSibling}}function Wte(e){const t=Z.useRef(e);return qte((()=>{t.current=e})),t}const qte="undefined"==typeof window?Z.useEffect:Z.useLayoutEffect;function Yte(e){const t=Z.useRef(void 0);return void 0===t.current&&(t.current=e()),t}function Kte(e){return t=>{e.forEach((e=>{"function"==typeof e?e(t):null!=e&&(e.current=t)}))}}function Xte(e){const t=Ote(),n=()=>e(t.snapshot());return wte.useSyncExternalStore(t.subscribe,n,n)}function Qte(e,t,n,r=[]){const a=Z.useRef(void 0),o=Ite();return qte((()=>{var i;const s=(()=>{var e;for(const t of n){if("string"==typeof t)return t.trim();if("object"==typeof t&&"current"in t)return t.current?null==(e=t.current.textContent)?void 0:e.trim():a.current}})(),l=r.map((e=>e.trim()));o.value(e,s,l),null==(i=t.current)||i.setAttribute(Cte,s),a.current=s})),a}const Zte=()=>{const[e,t]=Z.useState(),n=Yte((()=>new Map));return qte((()=>{n.current.forEach((e=>e())),n.current=new Map}),[e]),(e,r)=>{n.current.set(e,r),t({})}};function Jte({asChild:e,children:t},n){return e&&Z.isValidElement(t)?Z.cloneElement(function(e){const t=e.type;return"function"==typeof t?t(e.props):"render"in t?t.render(e.props):e}(t),{ref:t.ref},n(t.props.children)):n(t)}const ene={position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0"},tne=e=>{var t,n,r;switch(e.rootRecord.__typename){case"DocumentationRecord":{const a=rne((null==(n=null==(t=e.pathHeadings)?void 0:t.at(-1))?void 0:n.content)||""),o=rne((null==(r=e.content)?void 0:r.content)||"");return e.preview||o||a}case"GitHubIssueRecord":case"StackOverflowRecord":case"DiscourseRecord":return e.rootRecord.body;default:return e.preview}},nne=e=>{switch(e.rootRecord.__typename){case"StackOverflowRecord":return e.rootRecord.markedAsCorrectAnswer?"Resolved":void 0;case"GitHubIssueRecord":return"CLOSED"===e.rootRecord.state?"Closed":void 0}},rne=e=>e.replace(/(https?:\/\/\S+)/g,(e=>{const t=e.split("/");return t.length>3?`...${t.slice(-2).join("/")}`:e})),ane=e=>{switch(e){case"DocumentationRecord":return"documentation";case"GitHubIssueRecord":return"github_issue";case"DiscourseRecord":return"discourse";case"DiscordRecord":return"discord";case"StackOverflowRecord":return"stackoverflow";case"SlackEntry":return"slack_message";default:return"site"}};const one=()=>{const{searchSettings:e}=ZO(),{tabs:t,searchFunctionsRef:n}=e,[r,a]=Z.useState(!1),o=Z.useRef(null),[i,s]=Z.useState(!1),l=(null==t?void 0:t.length)?"string"==typeof t[0]?t[0]:t[0][0]:"All",[c,u]=Z.useState(l),[d,p]=Z.useState([]),f=(e=>{const{baseSettings:{transformSource:t,organizationDisplayName:n},searchSettings:{tabs:r,shouldOpenLinksInNewTab:a}}=ZO();return Z.useMemo((()=>{var o;const i=r.length>0?r:["All"],s={},l=new Set,c=i.map((e=>"string"==typeof e?e:e[0]));for(const e of c)s[e]=[];for(const u of e){const e=u.url||"";if(l.has(e))continue;l.add(e);const o=r6({title:u.title,url:e,description:tne(u),type:ane(u.rootRecord.__typename),tag:nne(u),breadcrumbs:u.rootRecord.pathBreadcrumbs??[],contentType:u.rootRecord.contentType},"searchResultItem",{organizationDisplayName:n,tabs:r,transformSource:t}),i={...o,id:u.id,isExternal:void 0!==o.shouldOpenInNewTab?o.shouldOpenInNewTab:a},d=i.tabs||[];for(const t of d){const e="string"==typeof t?t:t[0];c.includes(e)?s[e].push(i):console.warn(`Tab "${e}" found in item but not configured in tabs`)}c.includes("All")&&s.All.push(i)}for(const e of Object.keys(s)){const t=i.find((t=>"string"==typeof t?t===e:t[0]===e)),n="object"==typeof t&&!0===(null==(o=t[1])?void 0:o.isAlwaysVisible);0!==s[e].length||n||delete s[e]}return s}),[e,t,n,r,a])})(d),{disableTransition:h,disabled:m}=function(){const[e,t]=Z.useState(!1);Z.useEffect((()=>{if(e){const e=setTimeout((()=>t(!1)),0);return()=>clearTimeout(e)}}),[e]);const n=Z.useCallback((()=>t(!0)),[]);return{disabled:e,disableTransition:n}}(),g=Ote();return Z.useImperativeHandle(n,(()=>({updateQuery(e){g.setState("search",e)},focusInput:()=>{var e;null==(e=o.current)||e.focus()}}))),{results:f,resultsList:d,setResultsList:p,hasContent:r&&(d.length>0||i),loading:i,setLoading:s,defaultTab:l,tab:c,setTab:u,disableTransition:h,transitionsDisabled:m,inputRef:o,showSearchResults:r,setShowSearchResults:a}},ine=Z.createContext(void 0),sne=({children:e})=>{const{logEvent:t}=hP();return Vf.jsx(ine.Provider,{value:{logEvent:t},children:e})},lne=({children:e})=>Vf.jsx(fP,{children:Vf.jsx(sne,{children:e})}),cne=()=>{const e=Z.useContext(ine);if(!e)throw new Error("useSearchEvents must be used within a SearchEventsProvider");return e},une=Z.createContext(void 0),dne=e=>{const{searchSettings:{defaultQuery:t}}=ZO();return Vf.jsx(lne,{children:Vf.jsx($te,{shouldFilter:!1,loop:!1,defaultSearch:t,children:Vf.jsx(pne,{...e})})})},pne=({children:e,...t})=>{const n=one();return Vf.jsx(une.Provider,{value:{...n,...t},children:e})},fne=()=>{const e=Z.useContext(une);if(!e)throw new Error("useSearch must be used within a SearchProvider");return e};var hne="rovingFocusGroup.onEntryFocus",mne={bubbles:!1,cancelable:!0},gne="RovingFocusGroup",[yne,bne,vne]=function(e){const t=e+"CollectionProvider",[n,r]=DD(t),[a,o]=n(t,{collectionRef:{current:null},itemMap:new Map}),i=e=>{const{scope:t,children:n}=e,r=J.useRef(null),o=J.useRef(new Map).current;return Vf.jsx(a,{scope:t,itemMap:o,collectionRef:r,children:n})};i.displayName=t;const s=e+"CollectionSlot",l=J.forwardRef(((e,t)=>{const{scope:n,children:r}=e,a=LD(t,o(s,n).collectionRef);return Vf.jsx(FD,{ref:a,children:r})}));l.displayName=s;const c=e+"CollectionItemSlot",u="data-radix-collection-item",d=J.forwardRef(((e,t)=>{const{scope:n,children:r,...a}=e,i=J.useRef(null),s=LD(t,i),l=o(c,n);return J.useEffect((()=>(l.itemMap.set(i,{ref:i,...a}),()=>{l.itemMap.delete(i)}))),Vf.jsx(FD,{[u]:"",ref:s,children:r})}));return d.displayName=c,[{Provider:i,Slot:l,ItemSlot:d},function(t){const n=o(e+"CollectionConsumer",t),r=J.useCallback((()=>{const e=n.collectionRef.current;if(!e)return[];const t=Array.from(e.querySelectorAll(`[${u}]`)),r=Array.from(n.itemMap.values()).sort(((e,n)=>t.indexOf(e.ref.current)-t.indexOf(n.ref.current)));return r}),[n.collectionRef,n.itemMap]);return r},r]}(gne),[wne,kne]=DD(gne,[vne]),[xne,Ene]=wne(gne),_ne=Z.forwardRef(((e,t)=>Vf.jsx(yne.Provider,{scope:e.__scopeRovingFocusGroup,children:Vf.jsx(yne.Slot,{scope:e.__scopeRovingFocusGroup,children:Vf.jsx(Sne,{...e,ref:t})})})));_ne.displayName=gne;var Sne=Z.forwardRef(((e,t)=>{const{__scopeRovingFocusGroup:n,orientation:r,loop:a=!1,dir:o,currentTabStopId:i,defaultCurrentTabStopId:s,onCurrentTabStopIdChange:l,onEntryFocus:c,preventScrollOnEntryFocus:u=!1,...d}=e,p=Z.useRef(null),f=LD(t,p),h=$U(o),[m=null,g]=oj({prop:i,defaultProp:s,onChange:l}),[y,b]=Z.useState(!1),v=$D(c),w=bne(n),k=Z.useRef(!1),[x,E]=Z.useState(0);return Z.useEffect((()=>{const e=p.current;if(e)return e.addEventListener(hne,v),()=>e.removeEventListener(hne,v)}),[v]),Vf.jsx(xne,{scope:n,orientation:r,dir:h,loop:a,currentTabStopId:m,onItemFocus:Z.useCallback((e=>g(e)),[g]),onItemShiftTab:Z.useCallback((()=>b(!0)),[]),onFocusableItemAdd:Z.useCallback((()=>E((e=>e+1))),[]),onFocusableItemRemove:Z.useCallback((()=>E((e=>e-1))),[]),children:Vf.jsx(UD.div,{tabIndex:y||0===x?-1:0,"data-orientation":r,...d,ref:f,style:{outline:"none",...e.style},onMouseDown:RD(e.onMouseDown,(()=>{k.current=!0})),onFocus:RD(e.onFocus,(e=>{const t=!k.current;if(e.target===e.currentTarget&&t&&!y){const t=new CustomEvent(hne,mne);if(e.currentTarget.dispatchEvent(t),!t.defaultPrevented){const e=w().filter((e=>e.focusable));Nne([e.find((e=>e.active)),e.find((e=>e.id===m)),...e].filter(Boolean).map((e=>e.ref.current)),u)}}k.current=!1})),onBlur:RD(e.onBlur,(()=>b(!1)))})})})),Tne="RovingFocusGroupItem",Cne=Z.forwardRef(((e,t)=>{const{__scopeRovingFocusGroup:n,focusable:r=!0,active:a=!1,tabStopId:o,...i}=e,s=nM(),l=o||s,c=Ene(Tne,n),u=c.currentTabStopId===l,d=bne(n),{onFocusableItemAdd:p,onFocusableItemRemove:f}=c;return Z.useEffect((()=>{if(r)return p(),()=>f()}),[r,p,f]),Vf.jsx(yne.ItemSlot,{scope:n,id:l,focusable:r,active:a,children:Vf.jsx(UD.span,{tabIndex:u?0:-1,"data-orientation":c.orientation,...i,ref:t,onMouseDown:RD(e.onMouseDown,(e=>{r?c.onItemFocus(l):e.preventDefault()})),onFocus:RD(e.onFocus,(()=>c.onItemFocus(l))),onKeyDown:RD(e.onKeyDown,(e=>{if("Tab"===e.key&&e.shiftKey)return void c.onItemShiftTab();if(e.target!==e.currentTarget)return;const t=function(e,t,n){const r=function(e,t){return"rtl"!==t?e:"ArrowLeft"===e?"ArrowRight":"ArrowRight"===e?"ArrowLeft":e}(e.key,n);return"vertical"===t&&["ArrowLeft","ArrowRight"].includes(r)||"horizontal"===t&&["ArrowUp","ArrowDown"].includes(r)?void 0:Ane[r]}(e,c.orientation,c.dir);if(void 0!==t){if(e.metaKey||e.ctrlKey||e.altKey||e.shiftKey)return;e.preventDefault();let a=d().filter((e=>e.focusable)).map((e=>e.ref.current));if("last"===t)a.reverse();else if("prev"===t||"next"===t){"prev"===t&&a.reverse();const o=a.indexOf(e.currentTarget);a=c.loop?(r=o+1,(n=a).map(((e,t)=>n[(r+t)%n.length]))):a.slice(o+1)}setTimeout((()=>Nne(a)))}var n,r}))})})}));Cne.displayName=Tne;var Ane={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function Nne(e,t=!1){const n=document.activeElement;for(const r of e){if(r===n)return;if(r.focus({preventScroll:t}),document.activeElement!==n)return}}var Ine=_ne,Rne=Cne,One="Tabs",[Pne,Lne]=DD(One,[kne]),Dne=kne(),[Mne,Fne]=Pne(One),jne=Z.forwardRef(((e,t)=>{const{__scopeTabs:n,value:r,onValueChange:a,defaultValue:o,orientation:i="horizontal",dir:s,activationMode:l="automatic",...c}=e,u=$U(s),[d,p]=oj({prop:r,onChange:a,defaultProp:o});return Vf.jsx(Mne,{scope:n,baseId:nM(),value:d,onValueChange:p,orientation:i,dir:u,activationMode:l,children:Vf.jsx(UD.div,{dir:u,"data-orientation":i,...c,ref:t})})}));jne.displayName=One;var Bne="TabsList",zne=Z.forwardRef(((e,t)=>{const{__scopeTabs:n,loop:r=!0,...a}=e,o=Fne(Bne,n),i=Dne(n);return Vf.jsx(Ine,{asChild:!0,...i,orientation:o.orientation,dir:o.dir,loop:r,children:Vf.jsx(UD.div,{role:"tablist","aria-orientation":o.orientation,...a,ref:t})})}));zne.displayName=Bne;var Hne="TabsTrigger",Une=Z.forwardRef(((e,t)=>{const{__scopeTabs:n,value:r,disabled:a=!1,...o}=e,i=Fne(Hne,n),s=Dne(n),l=Vne(i.baseId,r),c=Wne(i.baseId,r),u=r===i.value;return Vf.jsx(Rne,{asChild:!0,...s,focusable:!a,active:u,children:Vf.jsx(UD.button,{type:"button",role:"tab","aria-selected":u,"aria-controls":c,"data-state":u?"active":"inactive","data-disabled":a?"":void 0,disabled:a,id:l,...o,ref:t,onMouseDown:RD(e.onMouseDown,(e=>{a||0!==e.button||!1!==e.ctrlKey?e.preventDefault():i.onValueChange(r)})),onKeyDown:RD(e.onKeyDown,(e=>{[" ","Enter"].includes(e.key)&&i.onValueChange(r)})),onFocus:RD(e.onFocus,(()=>{const e="manual"!==i.activationMode;u||a||!e||i.onValueChange(r)}))})})}));Une.displayName=Hne;var $ne="TabsContent",Gne=Z.forwardRef(((e,t)=>{const{__scopeTabs:n,value:r,forceMount:a,children:o,...i}=e,s=Fne($ne,n),l=Vne(s.baseId,r),c=Wne(s.baseId,r),u=r===s.value,d=Z.useRef(u);return Z.useEffect((()=>{const e=requestAnimationFrame((()=>d.current=!1));return()=>cancelAnimationFrame(e)}),[]),Vf.jsx(rj,{present:a||u,children:({present:n})=>Vf.jsx(UD.div,{"data-state":u?"active":"inactive","data-orientation":s.orientation,role:"tabpanel","aria-labelledby":l,hidden:!n,id:c,tabIndex:0,...i,ref:t,style:{...e.style,animationDuration:d.current?"0s":void 0},children:n&&o})})}));function Vne(e,t){return`${e}-trigger-${t}`}function Wne(e,t){return`${e}-content-${t}`}Gne.displayName=$ne;var qne=jne,Yne=zne,Kne=Une,Xne=Gne;const Qne=()=>{const{setResultsList:e,setLoading:t,showSearchResults:n,setShowSearchResults:r}=fne(),{baseSettings:a,searchSettings:o}=ZO(),{apiKey:i,aiApiBaseUrl:s,userAuthToken:l,filters:c}=a,{maxResults:u,debounceTimeMs:d,onQueryChange:p,filters:f}=o,{logEvent:h}=cne(),m=Z.useRef({}),g=Z.useRef(null),y=Z.useRef(null),b=`${s}/graphql`,v=Z.useMemo((()=>({Authorization:`Bearer ${i}`,"Content-Type":"application/json",...l?{"User-Token":l}:{}})),[i,l]),w=Z.useCallback((async n=>{const r=new AbortController;g.current=r;try{const t=await async function(e,t,n,r,a){var o;const i=await fetch(e,{method:"POST",headers:{"Content-Type":"application/json",...r},signal:a,body:JSON.stringify({query:t,variables:n})});if(!i.ok)throw new Error(`Network response was not OK (status: ${i.status})`);const s=await i.json();if(null==(o=s.errors)?void 0:o.length)throw new Error(s.errors[0].message);return s.data}(b,"query GetSearchResults($searchInput: SearchInput!) {\n search(searchInput: $searchInput) {\n searchHits {\n id\n hitOnRoot\n url\n title\n preview\n\n ... on DocumentationHit {\n rootRecord {\n __typename\n id\n title\n url\n preview\n ... on DocumentationRecord {\n pathBreadcrumbs\n contentType\n topLevelHeadings {\n anchor\n url\n content\n }\n }\n }\n pathHeadings {\n anchor\n content\n }\n content {\n anchor\n content\n }\n }\n\n ... on StackOverflowHit {\n rootRecord {\n __typename\n id\n title\n url\n preview\n ... on StackOverflowRecord {\n body\n createdAt\n\n markedAsCorrectAnswer {\n url\n score\n content\n }\n }\n }\n }\n\n ... on GitHubIssueHit {\n rootRecord {\n __typename\n id\n title\n url\n preview\n ... on GitHubIssueRecord {\n createdAt\n body\n state\n }\n }\n }\n\n ... on DiscourseHit {\n rootRecord {\n __typename\n id\n title\n url\n preview\n ... on DiscourseRecord {\n createdAt\n body\n }\n }\n }\n }\n searchQuery\n }\n}\n",{searchInput:n},v,r.signal),a=null==t?void 0:t.search.searchHits;m.current[n.searchQuery]=a,e(a)}catch(Dhe){if("AbortError"===Dhe.name)return}finally{t(!1)}}),[b,v]),k=Z.useCallback((e=>{const t=m.current[e.searchQuery];h({eventName:"search_query_response_received",properties:{searchQuery:e.searchQuery,totalResults:null==t?void 0:t.length}})}),[]),x=()=>{g.current&&(g.current.abort(),t(!1))},E=Z.useCallback((n=>{if(y.current&&window.clearTimeout(y.current),!n.searchQuery)return x(),void e([]);y.current=window.setTimeout((()=>{x(),h({eventName:"search_query_submitted",properties:{searchQuery:n.searchQuery}}),m.current[n.searchQuery]?(e(m.current[n.searchQuery]),k(n)):(t(!0),w(n).then((()=>{k(n)})))}),d)}),[d,w]),_=Xte((e=>e.search)),S=Z.useMemo((()=>({searchQuery:_,filters:{...c,...f,limit:u}})),[_,u,c,f]),T=Z.useRef(null);Z.useEffect((()=>{const e=()=>{null!==T.current&&(window.clearTimeout(T.current),T.current=null)},t=Boolean(_);return t&&!n?(e(),T.current=window.setTimeout((()=>{r(!0)}),400)):!t&&n&&(e(),r(!1)),e}),[_,n,r]),Z.useEffect((()=>{null==p||p(S.searchQuery),E(S)}),[E,S])};const Zne=FB("div",{_id:"aiSearchWrapper"}),Jne=e=>{const{searchSettings:{view:t}}=ZO(),{isHidden:n,hasContent:r}=fne(),a=wD("(max-width: 768px)"),o=dD();return Vf.jsx(Zne,{"data-hidden":OP(n),"data-has-content":OP(r),"data-in-modal":OP(!!o),"data-mobile":OP(a),"data-view":t,"data-dual-pane-search-expanded":OP(r&&"dual-pane"===t&&!n),...e})},ere=FB("div",{_id:"aiSearchRoot"}),tre=e=>{const{isHidden:t}=fne(),n=wD("(max-width: 768px)");return Vf.jsx(ere,{"data-hidden":OP(t),"data-mobile":OP(n),...e})},nre=FB($te.List,{_id:"aiSearchContent"}),rre=Z.forwardRef(((e,t)=>{const n=Xte((e=>e.value));return Vf.jsx(nre,{"aria-activedescendant":`aiSearchResults__Item-${n}`,...e,ref:t})})),are=FB("div",{_id:"aiSearchInputGroup"}),ore=FB(nq,{_id:"aiSearchInputIcon",iconKey:"search"}),ire=FB($te.Input,{_id:"aiSearchInput"}),sre=Z.forwardRef((({onInput:e,...t},n)=>{const{inputRef:r,shouldAutoFocusInput:a}=fne(),o=Xte((e=>e.value)),i=wD("(max-width: 768px)"),{searchSettings:s}=ZO(),l=Z.useMemo((()=>s.placeholder||(i?"Search...":"Search for anything...")),[s.placeholder,i]),c=IB(n,r),u=dD();return Z.useEffect((()=>{requestAnimationFrame((()=>{a&&(null==r?void 0:r.current)&&(r.current.focus(),r.current.selectionStart=r.current.value.length)}))}),[a,r,null==u?void 0:u.isOpen]),Qne(),Vf.jsx(ire,{ref:c,placeholder:l,"aria-activedescendant":`aiSearchResults__Item-${o}`,...t})})),lre=FB(eq,{_id:"aiSearchLoading",iconSettings:{builtIn:"LuLoaderCircle"}}),cre=e=>{const{loading:t,resultsList:n}=fne();return t&&0!==n.length?Vf.jsx(lre,{...e}):null},ure=FB($te.Item,{_id:"aiAskAITrigger",value:kte}),dre=e=>{var t,n;const{results:r,tab:a}=fne(),o=Ote(),i=(null==(n=null==(t=r[a])?void 0:t[0])?void 0:n.id)??"NONE";return Vf.jsx(ure,{...e,id:`aiSearchResults__Item-${kte}`,tabIndex:0,onPointerLeave:()=>o.setState("value",i,!0)})},pre=FB("img",{_id:"aiAskAITrigger__Icon"}),fre=e=>{const{aiChatSettings:t}=ZO(),{aiAssistantAvatar:n}=t??{},r="string"==typeof n?n:null==n?void 0:n.light,a=uB(r,("string"==typeof n?n:null==n?void 0:n.dark)??r),[o,i]=Z.useState(a);Z.useEffect((()=>{i(a)}),[a]);return Vf.jsx(pre,{asChild:!0,...e,children:o?Vf.jsx("img",{src:o,alt:"AI Avatar","data-type":"image",onError:U4((()=>{i(null)})),...e}):Vf.jsx(kW,{"data-type":"icon",...e})})},hre=FB("span",{_id:"aiAskAITrigger__Label"}),mre=FB(nq,{_id:"aiAskAITrigger__Indicator",iconKey:"openLinkInSameTab"}),gre=FB(qne,{_id:"aiSearchResults"}),yre=e=>{const{searchSettings:{view:t}}=ZO(),{tab:n,setTab:r,hasContent:a,isHidden:o,disableTransition:i,results:s,defaultTab:l}=fne(),c=Ote(),u=Z.useCallback((e=>{var t;i(),r(e);const n=s[e][0]?null==(t=s[e][0])?void 0:t.id:void 0;c.setState("value",n,!0)}),[s,i]);return Z.useEffect((()=>{var e,t;let a=n in s?n:Object.keys(s)[0];if(!(null==(e=s[a])?void 0:e.length)){const e=Object.keys(s).find((e=>{var t;return null==(t=s[e])?void 0:t.length}));a=e||l}if(!a)return;r(a);const o=null==(t=s[a])?void 0:t[0];o&&c.setState("value",o.id,!0)}),[s]),Vf.jsx(gre,{value:n,onValueChange:u,"data-has-content":OP(a),"data-dual-pane-search-expanded":OP(a&&"dual-pane"===t&&!o),...e})},bre=FB("div",{_id:"aiSearchResults__Loading"}),vre=e=>{const{loading:t,resultsList:n}=fne();return!t||n.length>0?null:Vf.jsx(bre,{...e})},wre=FB($te.Empty,{_id:"aiSearchResults__Empty"}),kre=e=>{var t;const n=Xte((e=>e.search)),{loading:r,results:a,tab:o}=fne(),i=null==(t=a[o])?void 0:t.length;return r||!n||i?null:Vf.jsx(wre,{children:"No results found.",...e})},xre=FB(Yne,{_id:"aiSearchResults__TabList"}),Ere=e=>{const{children:t,...n}=e,{searchSettings:{tabs:r}}=ZO(),{results:a,loading:o,resultsList:i}=fne();if(o&&0===i.length)return null;const s=Object.keys(a);return r.length&&s.length?Vf.jsx(xre,{tabIndex:-1,children:LP(t,s),...n}):null},_re=FB(Kne,{_id:"aiSearchResults__Tab"}),Sre=Z.forwardRef(((e,t)=>{const n=Z.useRef(null),r=IB(t,n),{tab:a,onClick:o,...i}=e,{results:s,tab:l,inputRef:c}=fne(),u=s[a].length,d=a===l,p=BO();return Z.useEffect((()=>{var e,t,r;if(d){const a=null==(t=null==(e=null==p?void 0:p.shadowHost)?void 0:e.shadowRoot)?void 0:t.activeElement;(null==a?void 0:a.hasAttribute("ikp-tab"))&&(null==(r=n.current)||r.focus())}}),[d]),Vf.jsx(_re,{ref:r,"ikp-tab":"",tabIndex:d?0:-1,value:a,children:`${a} (${u})`,onClick:U4(o,(()=>{var e;null==(e=c.current)||e.focus()})),...i})})),Tre=FB("div",{_id:"aiSearchResults__Content"}),Cre=FB(S$,{_id:"aiSearchResults__ScrollArea"}),Are=e=>{const{loading:t,resultsList:n}=fne();return t&&0===n.length?null:Vf.jsx(Cre,{tabIndex:-1,...e})},Nre=FB(T$,{_id:"aiSearchResults__ScrollAreaViewport"}),Ire=Z.forwardRef((({children:e,...t},n)=>{const r=function(){const e=Z.useRef(null),t=Z.useCallback((()=>{const t=e.current;t&&(0===t.scrollTop?t.setAttribute("data-scroll-top",""):t.removeAttribute("data-scroll-top"),t.scrollTop+t.clientHeight>=t.scrollHeight-1?t.setAttribute("data-scroll-bottom",""):t.removeAttribute("data-scroll-bottom"))}),[]);return Z.useEffect((()=>{const n=e.current;if(n)return t(),n.addEventListener("scroll",t),window.addEventListener("resize",t),()=>{n.removeEventListener("scroll",t),window.removeEventListener("resize",t)}}),[t]),e}(),a=IB(n,r),{tab:o}=fne();return Z.useEffect((()=>{var e;o&&(null==(e=r.current)||e.scrollTo({top:0,behavior:"auto"}))}),[o]),Vf.jsx(Nre,{ref:a,tabIndex:-1,children:Vf.jsx("div",{tabIndex:-1,style:{display:"grid"},children:e}),...t})})),Rre=FB(e$,{_id:"aiSearchResults__ScrollAreaScrollbar"}),Ore=FB(d$,{_id:"aiSearchResults__ScrollAreaThumb"}),Pre=FB(C$,{_id:"aiSearchResults__ScrollAreaCorner"}),Lre=FB(Xne,{_id:"aiSearchResults__List"}),Dre=e=>{const{children:t,...n}=e,{results:r,tab:a}=fne(),o=r[a]??[];return Vf.jsx(Lre,{value:a,"data-has-results":OP(o.length>0),"aria-label":"Search results",children:LP(t,o),tabIndex:-1,...n})},Mre=FB($te.Item,{_id:"aiSearchResults__Item",asChild:!0}),Fre=Z.forwardRef((({item:e,onClick:t,onSelect:n,children:r,...a},o)=>{var i;const{searchSettings:{shouldOpenLinksInNewTab:s,view:l,searchQueryParamKey:c}}=ZO(),{logEvent:u}=cne(),d=Xte((e=>e.search)),{transitionsDisabled:p}=fne(),f=Xte((e=>e.value)),h=Z.useRef(null),m=IB(o,h),g=Z.useCallback((e=>{var t;"keyboard"===e.trigger&&(null==(t=h.current)||t.click())}),[]),y=Z.useCallback((()=>{u({eventName:"search_result_clicked",properties:{searchQuery:d,title:e.title,url:e.url}})}),[u,d,e.title,e.url]),b=Z.useMemo((()=>void 0!==e.shouldOpenInNewTab?e.shouldOpenInNewTab:s),[e.shouldOpenInNewTab,s]),v=f===e.id,w=v||("NONE"===f||f===kte),k=Z.useMemo((()=>{const t=c?function(e,t,n){try{const r=new URL(e);return r.searchParams.set(n,t),r.toString()}catch{return e}}(e.url,d,c):e.url;return{href:t,isExternal:b,appendToUrl:e.appendToUrl,children:r,id:`aiSearchResults__Item-${e.id}`}}),[e.url,b,e.appendToUrl,r,e.id,c,d]);return Vf.jsx(SB,{source:{...e,isExternal:b},children:Vf.jsx(Mre,{ref:m,value:e.id,"data-type":e.type,"data-breadcrumbs":!!(null==(i=e.breadcrumbs)?void 0:i.length),"data-disable-transitions":OP(p),"data-view":l,onSelect:U4(n,g),onClick:U4(t,y),"data-selected":OP(v),tabIndex:w?0:-1,...a,children:Vf.jsx(aq,{...k})})})})),jre=FB("div",{_id:"aiSearchResults__ItemBreadcrumbs"}),Bre=e=>{var t,n,r,a;const{source:o}=TB(),{tab:i}=fne();if(!(null==(t=o.breadcrumbs)?void 0:t.length))return null;const{children:s,...l}=e,c=(null==(a=null==(r=null==(n=o.tabs)?void 0:n.find((e=>"string"!=typeof e&&e[0]===i)))?void 0:r[1])?void 0:a.breadcrumbs)??o.breadcrumbs??[];return Vf.jsx(jre,{"aria-hidden":"true",children:LP(s,c),...l})},zre=FB(nq,{_id:"aiSearchResults__ItemBreadcrumbIcon",iconKey:"breadcrumbSeparator"}),Hre=FB(eq,{_id:"aiSearchResults__ItemIcon"}),Ure=e=>{const{source:t}=TB();return Vf.jsx(Hre,{iconSettings:t.icon,"data-type":t.type,...e})},$re=FB("span",{_id:"aiSearchResults__ItemTitle"}),Gre=e=>{const{source:t}=TB();return Vf.jsx($re,{"data-type":t.type,children:t.title,...e})},Vre=FB("span",{_id:"aiSearchResults__ItemTag"}),Wre=e=>{const{source:t}=TB();return Vf.jsx(Vre,{"data-type":t.type,children:t.tag,...e})},qre=FB("span",{_id:"aiSearchResults__ItemDescription"}),Yre=e=>{const{source:t}=TB(),{children:n,...r}=e,a=Z.useMemo((()=>t.description?H4(t.description):[]),[t.description]);return a.length?Vf.jsx(qre,{"data-type":t.type,"aria-hidden":"true",children:LP(n,a),...r}):null},Kre=FB("span",{_id:"aiSearchResults__ItemDescriptionPart"}),Xre=e=>{const{part:t,...n}=e,{source:r}=TB();return"string"==typeof t?t:Vf.jsx(Kre,{"data-type":r.type,children:t.content,"data-highlighted":OP(t.highlighted),...n})},Qre=FB(nq,{_id:"aiSearchResults__ItemIndicator"}),Zre=e=>{const{source:t}=TB(),{searchSettings:{view:n}}=ZO();return Vf.jsx(Qre,{iconKey:t.isExternal?"openLinkInNewTab":"openLinkInSameTab","data-view":n,...e})},Jre=FB("div",{_id:"aiSearchResults__ItemPreview","aria-hidden":!0}),eae=e=>{const{searchSettings:{view:t,shouldOpenLinksInNewTab:n}}=ZO(),{results:r,tab:a}=fne(),o=Xte((e=>e.value)),i=r[a]??[],s=Z.useRef(null),l=Z.useMemo((()=>{if(o===kte)return s.current;const e=i.find((e=>e.id===o));return s.current=e??null,e}),[o]);if("dual-pane"!==t||o===kte)return null;if(!l)return null;const c=void 0!==l.shouldOpenInNewTab?l.shouldOpenInNewTab:n;return Vf.jsx(SB,{source:{...l,isExternal:c},children:Vf.jsx(Jre,{...e})})},tae=FB("div",{_id:"aiSearchResults__ItemPreview__Header"}),nae=FB(aq,{_id:"aiSearchResults__ItemPreview__Heading"}),rae=e=>{const{source:t}=TB();return Vf.jsx(nae,{href:t.url,isExternal:t.isExternal,appendToUrl:t.appendToUrl,"data-type":t.type,...e})},aae=FB("span",{_id:"aiSearchResults__ItemPreview__Title"}),oae=e=>{const{source:t}=TB();return Vf.jsx(aae,{children:t.title,...e})},iae=FB(nq,{_id:"aiSearchResults__ItemPreview__Title__LinkIcon",iconKey:"openLinkInNewTab"}),sae=e=>{const{source:t}=TB();return Vf.jsx(iae,{iconKey:t.isExternal?"openLinkInNewTab":"openLinkInSameTab",...e})},lae=FB(Bre,{_id:"aiSearchResults__ItemPreview__Breadcrumbs"}),cae=FB(zre,{_id:"aiSearchResults__ItemPreview__BreadcrumbIcon"}),uae=FB(M4,{_id:"aiSearchResults__ItemPreview__Body"}),dae=e=>{const{source:t}=TB(),{resultsList:n}=fne(),r=n.find((e=>e.id===t.id)),{searchSettings:{shouldOpenLinksInNewTab:a}}=ZO();return r?Vf.jsx(uae,{shouldOpenLinksInNewTab:a,children:r.preview,...e}):null},pae=FB("div",{_id:"aiSearchResults__ItemPreview__Outline"}),fae=e=>{const{source:t}=TB(),{resultsList:n}=fne(),r=n.find((e=>e.id===t.id)),a=null==r?void 0:r.rootRecord.topLevelHeadings;return(null==a?void 0:a.length)?Vf.jsx(pae,{...e}):null},hae=FB("span",{_id:"aiSearchResults__ItemPreview__Outline__Title",children:"On this page"}),mae=FB("ul",{_id:"aiSearchResults__ItemPreview__Outline__List"}),gae=e=>{const{source:t}=TB(),{resultsList:n}=fne(),r=n.find((e=>e.id===t.id)),a=null==r?void 0:r.rootRecord.topLevelHeadings;if(!(null==a?void 0:a.length))return null;const o=a.map((e=>{var t,n,a;const o=(null==e?void 0:e.anchor)&&(null==e?void 0:e.anchor)===(null==(t=null==r?void 0:r.content)?void 0:t.anchor),i=(null==e?void 0:e.anchor)===(null==(a=null==(n=null==r?void 0:r.pathHeadings)?void 0:n[0])?void 0:a.anchor);return{...e,isMatch:o||i}})),{children:i,...s}=e;return Vf.jsx(mae,{children:LP(i,o),...s})},yae=FB(aq,{_id:"aiSearchResults__ItemPreview__Outline__Item"}),bae=e=>{const{searchSettings:{shouldOpenLinksInNewTab:t}}=ZO();return Vf.jsx(yae,{isExternal:t,...e})},vae=FB(nq,{_id:"aiSearchResults__ItemPreview__Outline__ItemIcon",iconKey:"newLine"}),wae=FB("span",{_id:"aiSearchResults__ItemPreview__Outline__ItemText"}),kae=e=>Vf.jsx(wae,{...e}),xae=FB(eq,{_id:"aiSearchResults__ItemPreview__Outline__ItemLinkIcon",iconSettings:{builtIn:"LuLink"}}),Eae=FB("div",{_id:"aiSearchFooter"}),_ae=e=>{const{hasContent:t}=fne();return Vf.jsx(Eae,{"data-has-results":OP(t),...e})},Sae=FB("div",{_id:"aiSearchTagline__Container"}),Tae=FB("span",{_id:"aiSearchTagline__Text",children:"Powered by"}),Cae=FB(B4,{_id:"aiSearchTagline__Logo"}),Aae=FB("a",{_id:"aiSearchTagline__BrandName",children:"inkeep",href:"https://www.inkeep.com/",target:"_blank",rel:"noopener noreferrer"}),Nae=FB(aW,{_id:"modal"}),Iae=FB(iW,{_id:"modal__Overlay"}),Rae=FB(sW,{_id:"modal__Content","aria-describedby":void 0}),Oae=e=>{const t=wD("(max-width: 768px)");return Vf.jsx(Rae,{"data-mobile":OP(t),tabIndex:-1,...e})},Pae=FB(cW,{_id:"modal__Close",children:Vf.jsx(nq,{iconKey:"close"})}),Lae=e=>dD()?Vf.jsx(Pae,{...e}):null,Dae={type:"object",properties:{aiAnnotations:{type:"object",properties:{answerConfidence:{anyOf:[{type:"string",const:"very_confident",description:"Very confident"},{type:"string",const:"somewhat_confident",description:"Somewhat confident"},{type:"string",const:"not_confident",description:"Not confident"},{type:"string",const:"no_sources",description:"No Sources"},{type:"string",const:"other",description:"Other"}]}},required:["answerConfidence"],additionalProperties:!0}},required:["aiAnnotations"],additionalProperties:!1},Mae=async(e,t,n)=>{var r,a,o,i;const s=await t.chat.completions.create({model:"inkeep-qa-expert",messages:e,tools:[{type:"function",function:{name:"provideAIAnnotations",description:"Provides AI confidence levels for the response",parameters:Dae}},{type:"function",function:{name:"provideRecordsConsidered",description:"Provides records considered in generating the response",parameters:{type:"object"}}}],tool_choice:"auto"},n?{headers:n}:void 0),l=null==(a=null==(r=s.choices[0])?void 0:r.message)?void 0:a.content;let c,u;const d=(null==(i=null==(o=s.choices[0])?void 0:o.message)?void 0:i.tool_calls)||[];for(const p of d){if("provideAIAnnotations"===p.function.name){c=JSON.parse(p.function.arguments).aiAnnotations}if("provideRecordsConsidered"===p.function.name){u=JSON.parse(p.function.arguments).recordsConsidered??[]}}return{answer:l||null,aiAnnotations:c,recordsConsidered:u,messages:e}},Fae=async(e,t,n)=>{var r,a,o;const i=JSON.stringify(e.primaryFieldValues,null,2),s=JSON.stringify(e.fieldsToGenerate,null,2),l=await t.chat.completions.create({model:"inkeep-base-expert",messages:[{role:"system",content:"You are a helpful assistant that suggests form field values based on context. You will receive form field information including field names, descriptions, input types, and available options for select fields.\n\nFor each field, consider its description, input type, and available options (for select fields).\n\nYou must respond with a JSON object where keys are the field names and values match the expected input type and length for that field."},{role:"user",content:`Based on these primary field values:\n${i}\n\nSuggest values for these additional fields:\n${s}`}],stream:!0,response_format:{type:"json_object"}},n?{headers:n}:void 0);let c="";for await(const u of l){const e=null==(o=null==(a=null==(r=u.choices)?void 0:r[0])?void 0:a.delta)?void 0:o.content;e&&(c+=e)}return{suggestedValues:c?JSON.parse(c):{}}},jae=async(e,t)=>{if(t)return;const n=await _D(`${e}/v1/challenge`);return n?{"X-INKEEP-CHALLENGE-SOLUTION":btoa(JSON.stringify(n))}:void 0},Bae=e=>{var t;const{formSettings:n}=e,{baseSettings:r}=ZO(),{conversation:a}=nP(),{logEvent:o}=bP(),{aiApiBaseUrl:i,shouldBypassCaptcha:s}=r,l=Z.useMemo((()=>new db({baseURL:`${i}/v1`,apiKey:r.apiKey,dangerouslyAllowBrowser:!0})),[r.apiKey,i]),[c,u]=Z.useState(!1),[d,p]=Z.useState(!1),[f,h]=Z.useState(!1),[m,g]=Z.useState({}),y=Z.useMemo((()=>{const{primary:e,secondary:t}=n;return fD([...e.fields,...t.fields])}),[n]),{control:b,handleSubmit:v,formState:{errors:w,isSubmitting:k,isSubmitSuccessful:x},reset:E,trigger:_,setValue:S,setError:T}=lD({defaultValues:y});Z.useEffect((()=>{y&&E(y)}),[E,y]);const C=v((async e=>{try{await n.buttons.submit.onSubmit({values:e,conversation:a}),o({eventName:"intelligent_form_submitted",properties:{conversation:a,values:e}})}catch(t){T("root.serverError",{message:t instanceof Error?t.message:"Something went wrong."})}})),A=null==(t=null==w?void 0:w.root)?void 0:t.serverError;return{formSettings:n,control:b,errors:w,isSubmitSuccessful:x,isSubmitting:k,handleSubmit:C,loading:c,formError:A,submittedPrimaryForm:d,handleSubmitPrimaryForm:async()=>{var e;const t=n.primary.fields.map((e=>e.name));if(!(await _(t)))return;p(!0),u(!0);const r=b._formValues,a=n.primary.fields.reduce(((e,t)=>(e[t.name]=r[t.name],e)),{}),c=n.secondary.fields.filter((e=>!1!==e.shouldPrefillWithAI)),d=(e=>{const t=JSON.stringify(e,null,2);return[{id:`${Date.now()}1`,role:"system",content:'\n <guidance>\n <rule>\n <name>Direct Answer Provision</name>\n <conditions>\n <condition>When responding to form field inputs</condition>\n </conditions>\n <actions>\n <action>\n **Provide direct, complete answers** based solely on the form fields provided. Never ask follow-up questions or request additional information.\n\n ✅ Good Example:\n "Based on the provided information, the issue appears to be X. Here\'s how to resolve it..."\n\n ❌ Bad Example:\n "Could you provide more details about...?" or "Would you like me to explain...?"\n\n Guidelines:\n - Always provide the best possible answer with available information\n - Never use phrases like "would you like" or "do you need"\n - Focus on actionable solutions rather than gathering more information\n - Maintain a professional, direct tone throughout the response\n </action>\n </actions>\n </rule>\n </guidance>\n '},{id:`${Date.now()}2`,role:"user",content:`${t}`}]})(a);o({eventName:"intelligent_form_primary_section_submitted",properties:{}},d);try{const t=await jae(i,s),n=await jae(i,s),[r,u]=await Promise.all([Mae(d,l,t),Fae({primaryFieldValues:a,fieldsToGenerate:c},l,n)]);if(u.suggestedValues)for(const[e,a]of Object.entries(u.suggestedValues))S(e,a);const p=null==(e=r.aiAnnotations)?void 0:e.answerConfidence,f=p&&["very_confident","somewhat_confident"].includes(p),m=r.recordsConsidered&&r.recordsConsidered.length>0;f&&m&&r.answer?(g({answer:r.answer,answerConfidence:p,recordsConsidered:r.recordsConsidered}),o({eventName:"intelligent_form_ai_response_provided",properties:{recordsConsidered:r.recordsConsidered}},[...d,{id:Date.now().toString(),role:"assistant",content:r.answer,links:[]}])):(h(!0),g({answer:null,recordsConsidered:r.recordsConsidered,suggestedValues:u.suggestedValues}))}catch(f){console.error(f),h(!0)}finally{u(!1)}},aiResponse:m,showSecondaryFields:f,setShowSecondaryFields:h}},zae=Z.createContext(void 0),Hae=({children:e,formSettings:t})=>{const n=Bae({formSettings:t});return Vf.jsx(zae.Provider,{value:n,children:e})},Uae=e=>Vf.jsx(tP,{children:Vf.jsx(yP,{children:Vf.jsx(Hae,{...e})})}),$ae=()=>{const e=Z.useContext(zae);if(!e)throw new Error("useIntelligentForm must be used within a IntelligentFormProvider");return e},Gae=Z.createContext(void 0),Vae=({children:e,field:t,fieldProps:n,autoFocus:r})=>{const{errors:a}=$ae(),o=a[t.name];return Vf.jsx(Gae.Provider,{value:{field:t,fieldProps:n,error:o,autoFocus:r},children:e})},Wae=()=>{const e=Z.useContext(Gae);if(!e)throw new Error("useIntelligentFormField must be used within a IntelligentFormFieldProvider");return e},qae=FB("form",{_id:"intelligentForm__Root"}),Yae=e=>{const{onSubmit:t,...n}=e,{handleSubmit:r}=$ae();return Vf.jsx(qae,{onSubmit:U4(t,r),...n})},Kae=FB("h2",{_id:"intelligentForm__Heading",children:"Contact Support"}),Xae=FB("div",{_id:"intelligentForm__Content"}),Qae=FB(S$,{_id:"intelligentForm__Content__ScrollArea"}),Zae=FB(T$,{_id:"intelligentForm__Content__ScrollAreaViewport"}),Jae=e=>{const{children:t,...n}=e;return Vf.jsx(Zae,{children:Vf.jsx("div",{"data-part":"grid",style:{display:"grid"},children:t}),...n})},eoe=FB(e$,{_id:"intelligentForm__Content__ScrollAreaScrollbar"}),toe=FB(d$,{_id:"intelligentForm__Content__ScrollAreaThumb"}),noe=FB(C$,{_id:"intelligentForm__Content__ScrollAreaCorner"}),roe=FB("div",{_id:"intelligentForm__Success"}),aoe=e=>{const{children:t,...n}=e,{isSubmitSuccessful:r}=$ae();return r?Vf.jsx(roe,{...n,children:t}):null},ooe=FB(eq,{_id:"intelligentForm__SuccessIcon"}),ioe=e=>{const{formSettings:{successView:t}}=$ae();return Vf.jsx(ooe,{iconSettings:t.icon??{builtIn:"LuCircleCheck"},...e})},soe=FB("h2",{_id:"intelligentForm__SuccessHeading"}),loe=e=>{const{formSettings:{successView:t}}=$ae();return Vf.jsx(soe,{children:t.heading,...e})},coe=FB("p",{_id:"intelligentForm__SuccessMessage"}),uoe=e=>{const{formSettings:{successView:t}}=$ae();return Vf.jsx(coe,{children:t.message,...e})},doe=FB("div",{_id:"intelligentForm__PrimaryForm"}),poe=FB("div",{_id:"intelligentForm__PrimaryFormFields"}),foe=FB("p",{_id:"intelligentForm__PrimaryForm__Description"}),hoe=e=>{const{formSettings:{primary:t}}=$ae();return t.description?Vf.jsx(foe,{children:t.description,...e}):null},moe=e=>{const{children:t,...n}=e,{formSettings:{primary:r}}=$ae();return Vf.jsx(poe,{children:LP(t,r.fields),...n})},goe=FB("button",{_id:"intelligentForm__PrimaryFormSubmit",type:"button",children:"Next"}),yoe=e=>{const{onClick:t,...n}=e,{submittedPrimaryForm:r,handleSubmitPrimaryForm:a}=$ae();return Vf.jsx(goe,{"data-submitted":OP(r),onClick:U4(t,a),...n})},boe=FB("div",{_id:"intelligentForm__Field"}),voe=e=>{const{field:t,autoFocus:n,...r}=e,{control:a,errors:o}=$ae();return Vf.jsx(SL,{name:t.name,control:a,rules:{required:t.isRequired?`${t.label} is required.`:void 0},render:({field:e})=>{const a=void 0!==e.value||"file"===t.inputType;return Vf.jsx(Vae,{"data-invalid":OP(!!o[t.name]),field:t,fieldProps:e,autoFocus:n,children:a&&Vf.jsx(boe,{"data-input-type":t.inputType,"data-hidden":OP(t.isHidden),...r})})}})},woe=FB("label",{_id:"intelligentForm__FieldLabel"}),koe=e=>{const{field:t}=Wae();return Vf.jsx(woe,{"data-required":OP(t.isRequired),htmlFor:t.name,children:t.label,...e})},xoe=FB("input",{_id:"intelligentForm__FieldText",type:"text"}),Eoe=Z.forwardRef(((e,t)=>{const{field:n,error:r,fieldProps:{onChange:a,onBlur:o,ref:i,...s},autoFocus:l}=Wae(),c=IB(t,i);return Vf.jsx(xoe,{asChild:"textarea"===n.inputType,ref:c,id:n.name,autoFocus:l,placeholder:"placeholder"in n?n.placeholder:void 0,"data-invalid":OP(!!r),onChange:U4(e.onChange,a),onBlur:U4(e.onBlur,o),...s,...e,children:"textarea"===n.inputType?Vf.jsx(JB,{minRows:3,maxRows:10}):null})})),_oe=FB(Eoe,{_id:"intelligentForm__FieldEmail",type:"email"}),Soe=FB("input",{_id:"intelligentForm__FieldFile",type:"file",multiple:!0}),Toe=e=>{const{field:t,error:n,fieldProps:{value:r,onChange:a,onBlur:o,...i},autoFocus:s}=Wae(),{onChange:l,onBlur:c,...u}=e;return Vf.jsx(Soe,{id:t.name,autoFocus:s,"data-value":r,"data-invalid":OP(!!n),...u,...i,onChange:U4(l,(e=>{const t=e.target.files;a(t)})),onBlur:U4(c,o)})},Coe=FB(Eoe,{_id:"intelligentForm__FieldTextArea",type:"textarea",asChild:!0,children:Vf.jsx(JB,{rows:1,maxRows:8})}),Aoe=FB(Sz,{_id:"intelligentForm__FieldCheckbox"}),Noe=e=>{const{field:t,error:n,fieldProps:r,autoFocus:a}=Wae(),{onCheckedChange:o,...i}=e;return Vf.jsx(Aoe,{id:t.name,name:t.name,autoFocus:a,"data-invalid":OP(!!n),checked:r.value,onCheckedChange:U4(o,r.onChange),...i})},Ioe=FB(Tz,{_id:"intelligentForm__FieldCheckboxIndicator",children:Vf.jsx(j4,{})}),Roe=FB(TG,{_id:"intelligentForm__FieldSelect"}),Ooe=FB(CG,{_id:"intelligentForm__FieldSelect__Trigger"}),Poe=FB(AG,{_id:"intelligentForm__FieldSelect__Value"}),Loe=FB(NG,{_id:"intelligentForm__FieldSelect__Icon",asChild:!0,children:Vf.jsx(eq,{iconSettings:{builtIn:"LuChevronDown"}})}),Doe=FB(IG,{_id:"intelligentForm__FieldSelect__Content",position:"popper"}),Moe=FB(RG,{_id:"intelligentForm__FieldSelect__Viewport"}),Foe=FB(OG,{_id:"intelligentForm__FieldSelect__Item"}),joe=FB(PG,{_id:"intelligentForm__FieldSelect__ItemText"}),Boe=FB(LG,{_id:"intelligentForm__FieldSelect__ItemIndicator",asChild:!0,children:Vf.jsx(eq,{iconSettings:{builtIn:"LuCheck"}})}),zoe=FB("span",{_id:"intelligentForm__FieldError"}),Hoe=e=>{var t;const{error:n}=Wae();return n?Vf.jsx(zoe,{children:null==(t=n.message)?void 0:t.toString(),...e}):null},Uoe=FB("div",{_id:"intelligentForm__BotHeading"}),$oe=FB(eq,{_id:"intelligentForm__BotHeading__Icon",iconSettings:{builtIn:"LuSparkles"}}),Goe=FB("div",{_id:"intelligentForm__BotHeading__Name"}),Voe=e=>{const{baseSettings:t}=ZO(),{organizationDisplayName:n}=t??{},{formSettings:{aiAssistantName:r}}=$ae();return Vf.jsx(Goe,{children:r??n,...e})},Woe=FB("div",{_id:"intelligentForm__Loading"}),qoe=Z.forwardRef((({...e},t)=>{const{loading:n}=$ae(),r=Z.useRef(null),a=IB(t,r);return Z.useEffect((()=>{n&&r.current&&r.current.scrollIntoView({behavior:"smooth",block:"nearest",inline:"nearest"})}),[n]),n?Vf.jsx(Woe,{ref:a,...e}):null})),Yoe=FB("div",{_id:"intelligentForm__ConfidentResponse"}),Koe=Z.forwardRef((({...e},t)=>{const{aiResponse:n,loading:r}=$ae(),a=Z.useRef(null),o=IB(t,a);return Z.useEffect((()=>{!r&&n.answerConfidence&&a.current&&a.current.scrollIntoView({behavior:"smooth",block:"nearest",inline:"nearest"})}),[r,n.answerConfidence]),n.answerConfidence?Vf.jsx(Yoe,{ref:o,...e}):null})),Xoe=FB(M4,{_id:"intelligentForm__ConfidentAnswer"}),Qoe=e=>{const{aiResponse:t}=$ae();return Vf.jsx(Xoe,{shouldOpenLinksInNewTab:!0,children:t.answer,...e})},Zoe=FB("button",{_id:"intelligentForm__ConfidentResponseButton",type:"button"}),Joe=e=>{const{onClick:t,...n}=e,{showSecondaryFields:r,setShowSecondaryFields:a}=$ae();return Vf.jsx(Zoe,{"data-escalated":OP(r),onClick:U4(t,(()=>{a(!0)})),...n})},eie=FB(eq,{_id:"intelligentForm__ConfidentResponseButton__Icon",iconSettings:{builtIn:"LuUser"}}),tie=FB("span",{_id:"intelligentForm__ConfidentResponseButton__Label",children:"Escalate to human"}),nie=FB("div",{_id:"intelligentForm__SecondaryForm"}),rie=Z.forwardRef((({...e},t)=>{const{showSecondaryFields:n}=$ae(),r=Z.useRef(null),a=IB(t,r);return Z.useEffect((()=>{n&&r.current&&r.current.scrollIntoView({behavior:"smooth",block:"nearest",inline:"nearest"})}),[n]),n?Vf.jsx(nie,{ref:a,...e}):null})),aie=FB("p",{_id:"intelligentForm__SecondaryForm__Description"}),oie=e=>{const{formSettings:{secondary:t},aiResponse:{answerConfidence:n}}=$ae();if(!t.description)return null;const r="string"==typeof t.description?t.description:n?t.description.confident:t.description.default;return Vf.jsx(aie,{children:r,...e})},iie=FB("div",{_id:"intelligentForm__SecondaryFormFields"}),sie=e=>{const{children:t,...n}=e,{formSettings:{secondary:r}}=$ae();return Vf.jsx(iie,{children:LP(t,r.fields),...n})},lie=FB("button",{_id:"intelligentForm__SecondaryFormSubmit",type:"submit",children:"Submit"}),cie=e=>{const{formSettings:t}=$ae(),{label:n}=t.buttons.submit;return Vf.jsx(lie,{children:n??"Submit",...e})},uie=FB("span",{_id:"intelligentForm__Error"}),die=e=>{const{formError:t}=$ae();return t?Vf.jsx(uie,{children:t.message,...e}):null},pie=FB("div",{_id:"intelligentForm__Sources"}),fie=FB("p",{_id:"intelligentForm__SourcesCaption",children:"Here are the sources I considered:"}),hie=FB("div",{_id:"intelligentForm__SourcesList"}),mie=e=>{const{children:t,...n}=e,{baseSettings:{transformSource:r,organizationDisplayName:a}}=ZO(),{aiResponse:{recordsConsidered:o}}=$ae();if(!o)return null;const i=o.reduce(((e,t)=>{const n=r6(t,"intelligentFormSource",{organizationDisplayName:a,transformSource:r});return e.some((e=>e.url===n.url))||e.push(n),e}),[]);return Vf.jsx(hie,{children:LP(t,i),...n})},gie=FB(aq,{_id:"intelligentForm__Source"}),yie=e=>{const{source:t,...n}=e;return Vf.jsx(SB,{source:{...t,isExternal:!!t.shouldOpenInNewTab},children:Vf.jsx(gie,{"data-type":t.type,appendToUrl:t.appendToUrl,href:t.url,isExternal:!1!==t.shouldOpenInNewTab,...n})})},bie=FB(eq,{_id:"intelligentForm__SourceIcon"}),vie=e=>{const{source:t}=TB();return Vf.jsx(bie,{iconSettings:t.icon,"data-type":t.type,...e})},wie=FB("span",{_id:"intelligentForm__SourceTitle"}),kie=e=>{const{source:t}=TB();return Vf.jsx(wie,{"data-type":t.type,children:t.title,...e})},xie=FB("div",{_id:"chatButton__Container"}),Eie=FB("button",{_id:"chatButton__Button"}),_ie=FB("div",{_id:"chatButton__Text"}),Sie=FB(uz,{_id:"chatButton__AvatarContent"}),Tie=FB(dz,{_id:"chatButton__AvatarImage"}),Cie=Z.memo((e=>{const{onLoadingStatusChange:t,avatar:n,...r}=e,{aiChatSettings:a}=ZO(),{aiAssistantAvatar:o}=a??{},i="string"==typeof n?n:uB(null==n?void 0:n.light,null==n?void 0:n.dark),s="string"==typeof o?o:null==o?void 0:o.dark,[l,c]=Z.useState(i??s);Z.useEffect((()=>{c(i??s)}),[i,s]);return l?Vf.jsx(Tie,{src:l,"data-type":"image",onLoadingStatusChange:U4(t,(e=>{"error"===e&&c(null)})),...r}):Vf.jsx(kW,{"data-type":"icon",...e})})),Aie=FB("div",{_id:"searchBar__Container"}),Nie=FB("button",{_id:"searchBar__Button",type:"button"}),Iie=FB("div",{_id:"searchBar__ContentWrapper"}),Rie=FB("div",{_id:"searchBar__Text"}),Oie=e=>{const{searchSettings:{placeholder:t}}=ZO();return Vf.jsx(Rie,{...e,children:t})},Pie=FB(nq,{_id:"searchBar__Icon",iconKey:"search"}),Lie=FB("kbd",{_id:"searchBar__KbdWrapper"}),Die=FB("kbd",{_id:"searchBar__KbdShortcutKey"}),Mie=e=>{const{shortcutKey:t,...n}=e;return Vf.jsx(Die,{...n,children:null==t?void 0:t.toUpperCase()})},Fie=()=>{var e,t;if("undefined"==typeof window)return!1;const n=null==(t=null==(e=window.navigator)?void 0:e.userAgent)?void 0:t.toLowerCase();return n.includes("macintosh")||n.includes("mac os x")},jie=FB("kbd",{_id:"searchBar__Ctrl",children:"Ctrl"}),Bie=FB(nq,{_id:"searchBar__CmdIcon",iconKey:"command"}),zie=e=>{const{shortcutKey:t,...n}=e;return Vf.jsx(Vf.Fragment,{children:t?Fie()?Vf.jsx(Bie,{...n}):Vf.jsx(jie,{...n}):null})};const Hie={width:void 0,height:void 0};function Uie(e){const{ref:t,box:n="content-box"}=e,[{width:r,height:a},o]=Z.useState(Hie),i=function(){const e=Z.useRef(!1);return Z.useEffect((()=>(e.current=!0,()=>{e.current=!1})),[]),Z.useCallback((()=>e.current),[])}(),s=Z.useRef({...Hie}),l=Z.useRef(void 0);return l.current=e.onResize,Z.useEffect((()=>{if(!t.current)return;if("undefined"==typeof window||!("ResizeObserver"in window))return;const e=new ResizeObserver((([e])=>{const t="border-box"===n?"borderBoxSize":"device-pixel-content-box"===n?"devicePixelContentBoxSize":"contentBoxSize",r=$ie(e,t,"inlineSize"),a=$ie(e,t,"blockSize");if(s.current.width!==r||s.current.height!==a){const e={width:r,height:a};s.current.width=r,s.current.height=a,l.current?l.current(e):i()&&o(e)}}));return e.observe(t.current,{box:n}),()=>{e.disconnect()}}),[n,t,i]),{width:r,height:a}}function $ie(e,t,n){return e[t]?Array.isArray(e[t])?e[t][0][n]:e[t][n]:"contentBoxSize"===t?e.contentRect["inlineSize"===n?"width":"height"]:void 0}const Gie="undefined"!=typeof document?Z.useLayoutEffect:Z.useEffect;function Vie(e){const{children:t,target:n,tag:r,host:a}=e,o=Z.useRef(null),i=Z.useRef(null),[,s]=Z.useReducer((e=>e+1),0);Gie((()=>{if(!o.current)return;const e=o.current.ownerDocument,t=a??e.body;return i.current=e.createElement(r??"inkeep-portal"),t.appendChild(i.current),s(),()=>{i.current&&t.removeChild(i.current)}}),[]);const l=(null==n?void 0:n.current)??i.current;return l?ue.createPortal(t,l):Z.createElement("span",{ref:o})}const Wie=({children:e,...t})=>{const{baseSettings:n}=ZO(),{rootElement:r}=n;return Vf.jsx(Vie,{host:r,...t,children:Vf.jsx(xB,{children:e})})},qie=e=>"boolean"==typeof e?`${e}`:0===e?"0":e,Yie=d3,Kie=(e,t)=>n=>{var r;if(null==(null==t?void 0:t.variants))return Yie(e,null==n?void 0:n.class,null==n?void 0:n.className);const{variants:a,defaultVariants:o}=t,i=Object.keys(a).map((e=>{const t=null==n?void 0:n[e],r=null==o?void 0:o[e];if(null===t)return null;const i=qie(t)||qie(r);return a[e][i]})),s=n&&Object.entries(n).reduce(((e,t)=>{let[n,r]=t;return void 0===r||(e[n]=r),e}),{}),l=null==t||null===(r=t.compoundVariants)||void 0===r?void 0:r.reduce(((e,t)=>{let{class:n,className:r,...a}=t;return Object.entries(a).every((e=>{let[t,n]=e;return Array.isArray(n)?n.includes({...o,...s}[t]):{...o,...s}[t]===n}))?[...e,n,r]:e}),[]);return Yie(e,i,l,null==n?void 0:n.class,null==n?void 0:n.className)},Xie=Kie(["max-h-screen max-w-screen relative","grow-[5] mx-auto justify-self-center text-left"],{variants:{size:{default:["grow-0 justify-self-center self-center","m-auto max-h-[100vw] max-w-screen","md:w-[min(600px,100%)] md:h-[min(760px,100%)]","lg:w-[min(640px,100%)] lg:h-[min(800px,100%)]","2xl:w-[min(760px,100%)] 2xl:h-[min(900px,100%)]"],expand:["w-full h-full"],"shrink-vertically":["w-full h-auto self-start max-h-full"],"full-viewport":["fixed top-0 left-0 w-screen h-screen z-dropdown"]},variant:{"container-with-shadow":"shadow-[0_25px_50px_-12px_rgba(0,0,0,0.25)] dark:shadow-[none]","no-shadow":"shadow-[none]"}},defaultVariants:{size:"default",variant:"container-with-shadow"}}),Qie=Kie(["inline-flex","items-center","justify-center","align-middle","select-none","relative","whitespace-nowrap","appearance-none","rounded-md","leading-[1.2]","transition-all","duration-300","cursor-pointer","font-semibold","focus:outline-none","focus:z-base","focus-visible:ring","focus-visible:ring-gray-500","dark:focus-visible:ring-white-alpha-900","focus-visible:ring-2","disabled:opacity-40","disabled:cursor-not-allowed","disabled:shadow-none"],{variants:{variant:{solid:["bg-gray-100 dark:bg-white-alpha-100","text-gray-800 dark:text-white-alpha-950","hover:bg-gray-200 dark:hover:bg-white-alpha-200","hover:disabled:bg-gray-100 dark:hover:disabled:bg-white-alpha-100","active:bg-gray-300 dark:active:bg-white-alpha-400"],iconButton:["px-1 text-gray-500 text-md","hover:text-inkeep-primary-strong","dark:text-gray-dark-200","dark:hover:text-inkeep-expanded-primary-300"],ghost:["text-gray-800 dark:text-white-alpha-950","hover:bg-gray-100 dark:hover:bg-white-alpha-100","active:bg-gray-200 dark:active:bg-white-alpha-200"],outline:["border dark:border-white-alpha-200","text-gray-600 dark:text-gray-200","hover:bg-gray-50 dark:hover:bg-white-alpha-100","active:bg-gray-50 dark:active:bg-white-alpha-100"]},size:{sm:"h-8 min-w-8 text-sm px-3",md:"h-10 min-w-10 text-md px-4",xs:"h-6 min-w-6 text-xs px-2"},preset:{neutralFilled:["bg-gray-1000 text-white hover:bg-gray-900 active:bg-gray-900","dark:bg-inkeep-expanded-primary-300 dark:text-gray-dark-950","dark:hover:bg-inkeep-expanded-primary-200","dark:active:bg-inkeep-expanded-primary-200"]}},defaultVariants:{size:"md"}}),Zie=Kie("",{variants:{slot:{root:["flex items-center pl-2","text-xs rounded-md h-6","bg-gray-300 dark:bg-white-alpha-200","min-w-0 w-fit"],icon:["mr-[0.5em]","text-gray-600 dark:text-white-alpha-600"],title:["overflow-hidden whitespace-nowrap text-ellipsis inline-block"],delete:[Qie({variant:"iconButton",size:"md"}),"h-4 px-1 min-w-[unset]","text-gray-600 dark:text-white-alpha-600","hover:bg-transparent hover:text-gray-700","dark:hover:text-white-alpha-500","[&_svg]:w-4 [&_svg]:h-4"]}}}),Jie=Kie("",{variants:{slot:{root:["peer h-4 w-4 shrink-0 rounded-xs","border-2 border-inherit cursor-pointer","disabled:opacity-50","data-[state=checked]:bg-gray-1000","dark:data-[state=checked]:bg-white-alpha-950","data-[state=checked]:border-gray-1000","dark:data-[state=checked]:border-white-alpha-950","text-white data-[state=checked]:text-white","dark:data-[state=checked]:text-gray-1000"],indicator:["flex items-center justify-center","text-current animate-checkbox-check"]}}}),ese=Kie(["transition-all data-[disable-transitions]:transition-none","duration-100 ease-in-out"],{variants:{slot:{root:["group w-full overflow-hidden border rounded-lg","text-inkeep-primary-text-bold selected:text-inkeep-primary-strong","focus:outline-inkeep-expanded-primary-700 dark:focus:outline-inkeep-expanded-primary-300","dark:text-white-alpha-950 dark:selected:text-inkeep-expanded-primary-300","bg-white selected:bg-inkeep-primary-light-subtle","dark:bg-transparent dark:selected:bg-white-alpha-200","border-gray-200 selected:border-inkeep-primary-medium-subtle","dark:border-white-alpha-200","dark:selected:border-inkeep-expanded-primary-300","py-2 px-5 grid gap-x-3 gap-y-1",'[grid-template:"breadcrumbs_breadcrumbs_breadcrumbs_indicator""icon_title_tag_indicator""description_description_description_indicator"/auto_auto_1fr_auto]',"items-center",'md:data-[view=dual-pane]:[grid-template:"breadcrumbs_breadcrumbs_breadcrumbs""icon_title_tag""description_description_description"/auto_auto_1fr]'],breadcrumbs:["[grid-area:breadcrumbs]","whitespace-nowrap line-clamp-1","flex items-center text-gray-600","dark:text-white-alpha-600 text-xs truncate inline-block"],breadcrumbsIcon:"last-of-type:hidden text-3xs mx-[5px]",icon:["[grid-area:icon]","text-gray-500","group-selected:text-inkeep-primary-text-subtle","dark:text-gray-dark-300 dark:group-selected:text-gray-dark-100"],title:["[grid-area:title]","text-gray-800 dark:text-white-alpha-950","group-selected:text-inkeep-primary-text-bold","dark:group-selected:text-white","font-medium line-clamp-1","whitespace-nowrap text-ellipsis inline-block"],tag:["[grid-area:tag] w-fit justify-self-end","text-xs px-1 uppercase rounded-sm align-middle","font-bold inline-block whitespace-nowrap",'data-[type^="github"]:text-purple-500','data-[type="stackoverflow"]:text-green-500',"shadow-[inset_0_0_0_1px_currentColor]"],description:["[grid-area:description]","text-1sm line-clamp-1","text-gray-700 dark:text-white-alpha-700"],descriptionPart:["data-[highlighted]:font-semibold","data-[highlighted]:text-inkeep-primary-text-subtle","dark:data-[highlighted]:text-gray-dark-50"],indicator:["[grid-area:indicator]","self-center justify-self-end","opacity-0 group-selected:opacity-100","transition-opacity duration-100 ease-in-out ml-auto","md:data-[view=dual-pane]:hidden"]}}}),tse=Kie("size-4 inline-block leading-[1em] shrink-0 text-current align-middle"),nse=Kie(["w-full min-w-0 outline-none relative","appearance-none [transition-property:common]","[transition-duration:0.02s]","disabled:opacity-40 disabled:cursor-not-allowed","[--focus-border-color:theme(colors.blue.500)]","[--error-border-color:theme(colors.red.500)]","dark:[--focus-border-color:theme(colors.blue.300)]","dark:[--error-border-color:theme(colors.red.300)]"],{variants:{variant:{outline:["border border-inherit bg-inherit","focus:[&:not([data-invalid])]:border-[--focus-border-color]","focus:[&:not([data-invalid])]:shadow-[0_0_0_1px_var(--focus-border-color)]","data-[invalid]:border-[--error-border-color]","data-[invalid]:shadow-[0_0_0_1px_var(--error-border-color)]"]},size:{md:"p-4 h-10 text-md rounded-md",sm:"px-3 py-2 text-sm rounded-md"}}}),rse=Kie(["transition-[common] ease-out duration-[180]","cursor-pointer text-decoration-none break-words","outline-none focus-visible:ring-2 focus-visible:ring-offset-2","focus-visible:ring-gray-500","dark:focus-visible:ring-white-alpha-900 dark:focus-visible:ring-offset-gray-950","hover:underline"]),ase=Kie("tracking-tight font-semibold",{variants:{size:{lg:"text-xl",md:"text-md"}},defaultVariants:{size:"md"}}),ose=Kie("text-2sm ms-[1em] break-words pb-3 pl-7 relative [&_li]:mb-1",{variants:{style:{ordered:"list-decimal [counter-increment:item]",unordered:"list-[initial]"}}}),ise=Kie("",{variants:{slot:{root:"w-full border-collapse [font-variant-numeric:lining-nums_tabular-nums]",th:["font-heading font-bold uppercase tracking-wider text-start","data-[is-numeric=true]:text-end","border-b border-gray-100 dark:border-gray-700","text-gray-600 dark:text-gray-400","px-6 py-3 leading-4 text-xs"],td:["text-start data-[is-numeric=true]:text-end","border-b border-gray-100 dark:border-gray-700","px-6 py-4 leading-5"]},size:{md:""}}}),sse=Kie(["ml-[3px] cursor-pointer","[&_a]:bg-inkeep-primary-light","[&_a]:px-1","[&_a]:py-[1px]","[&_a]:rounded-sm","[&_a]:no-underline","[&_a]:text-inkeep-primary-text-subtle","[&_a]:hover:text-inkeep-primary-text-bold","[&_a]:font-semibold","[&_a]:dark:bg-inkeep-primary-text-subtle","[&_a]:dark:hover:text-inkeep-expanded-primary-200","[&_a]:hover:no-underline"]),lse=Kie(["bg-inkeep-primary-medium text-inkeep-primary-text-color-on-primary","[overflow-wrap:anywhere] min-w-0 py-[.2rem] my-[.1rem]","px-[.4rem] rounded-[6px] [font-size:85%!important]","font-semibold inline-block","font-mono "]),cse=Kie("",{variants:{slot:{container:"overflow-y-auto mb-3",header:["flex items-center justify-between","bg-gray-50 dark:bg-gray-dark-800","text-gray-600 dark:text-gray-400","mb-0 leading-[1.25] px-2 text-xs","transition-all duration-200 ease-in-out","rounded-[6px_6px_0_0]"],copyButton:["px-0 bg-inherit text-inherit","hover:text-gray-800 dark:text-white-alpha-700 dark:hover:text-white-alpha-950","dark:hover:bg-transparent h-8 w-8 min-h-8 min-w-8 text-sm","data-[copied]:text-inkeep-primary-medium"],highlighter:["text-1sm overflow-x-auto","rounded-[0_0_6px_6px]","p-[1em] whitespace-pre","m-[0px_0px_0.5em]","bg-gray-50 dark:bg-gray-dark-900","[scrollbar-width:thin]","[--scrollbar-color:var(--color-gray-300)]","dark:[--scrollbar-color:var(--color-gray-dark-600)]","[scrollbar-color:var(--scrollbar-color)_transparent]"]}}}),use=Kie("",{variants:{slot:{overlay:["fixed inset-0","bg-overlay-light dark:bg-overlay-dark","data-[state=closed]:hidden","data-[state=open]:animate-fade-in","backdrop-blur-sm overflow-y-auto","place-items-center grid z-overlay"],content:["fixed","top-[5%]","left-1/2","translate-x-[-50%]","z-overlay","flex flex-col","w-full","duration-200","text-inherit rounded-md","bg-white shadow-lg dark:bg-gray-dark-950 dark:shadow-none","focus-visible:outline-none","focus:outline-none","data-[state=closed]:hidden","data-[state=closed]:animate-fade-out","data-[state=open]:animate-fade-in","data-[mobile]:inset-0","data-[mobile]:h-[unset]","data-[mobile]:w-[unset]","data-[mobile]:transform-none","data-[mobile]:rounded-none","[&[data-mobile]>div]:h-full","[&[data-mobile]>div]:max-h-dvh","[&[data-mobile]>div]:max-h-[unset]"],header:["px-6 py-4 text-xl font-semibold flex-0 flex flex-col"],close:[Qie({variant:"ghost",size:"md"}),"w-8 h-8 min-w-0","text-lg text-gray-500 dark:text-white-alpha-500","absolute top-2 right-3"],body:["px-6 py-2 flex-1"]}}}),dse=Kie("",{variants:{slot:{content:["flex flex-col bg-white dark:bg-gray-dark-800","rounded-md z-popover","shadow-md relative","data-[state=open]:animate-fade-in","data-[state=closed]:animate-fade-out","focus:outline-none"],arrow:"fill-white dark:fill-gray-dark-800"}}}),pse=Kie("",{variants:{section:{wrapper:"w-full flex flex-col grow-[5] overflow-hidden justify-between max-h-full",header:"relative max-h-full",content:"w-full flex flex-col overflow-hidden p-0 grow-[2]",footer:"justify-self-end flex-shrink-0"}}}),fse=Kie("",{variants:{slot:{trigger:[nse({size:"md",variant:"outline"}),"px-4 py-0 flex items-center justify-between"],content:["relative z-dropdown max-h-96 min-w-[8rem]","overflow-hidden rounded-md border","bg-white dark:bg-gray-dark-950 shadow-md","data-[state=open]:animate-fade-in data-[state=closed]:animate-fade-out","data-[side=bottom]:translate-y-1.5","data-[side=left]:-translate-x-1.5","data-[side=right]:translate-x-1.5","data-[side=top]:-translate-y-1.5"],viewport:["p-1 h-[var(--radix-select-trigger-height)]","w-full min-w-[var(--radix-select-trigger-width)]"],item:["hover:bg-gray-100 dark:hover:bg-gray-dark-800","focus:bg-gray-100 dark:focus:bg-gray-dark-800","relative flex w-full text-md cursor-pointer py-1.5","select-none outline-none pl-2 pr-8 rounded-md items-center ","data-[disabled]:pointer-events-none data-[disabled]:opacity-50"],itemIndicator:["absolute right-2 flex h-3.5 w-3.5","items-center justify-center"]}}}),hse=Kie(["h-5 opacity-70 rounded-sm shadow-none","bg-clip-padding cursor-default pointer-events-none","before:invisible after:invisible *:invisible","animate-skeleton-bg-fade select-none","[--start-color:theme(colors.gray.50)]","[--end-color:theme(colors.gray.300)]","dark:[--start-color:theme(colors.gray-dark.800)]","dark:[--end-color:theme(colors.gray-dark.600)]","bg-[--start-color] border-[--end-color]"]),mse=e=>{const t=vse(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:e=>{const n=e.split("-");return""===n[0]&&1!==n.length&&n.shift(),gse(n,t)||bse(e)},getConflictingClassGroupIds:(e,t)=>{const a=n[e]||[];return t&&r[e]?[...a,...r[e]]:a}}},gse=(e,t)=>{var n;if(0===e.length)return t.classGroupId;const r=e[0],a=t.nextPart.get(r),o=a?gse(e.slice(1),a):void 0;if(o)return o;if(0===t.validators.length)return;const i=e.join("-");return null==(n=t.validators.find((({validator:e})=>e(i))))?void 0:n.classGroupId},yse=/^\[(.+)\]$/,bse=e=>{if(yse.test(e)){const t=yse.exec(e)[1],n=null==t?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},vse=e=>{const{theme:t,prefix:n}=e,r={nextPart:new Map,validators:[]};return Ese(Object.entries(e.classGroups),n).forEach((([e,n])=>{wse(n,r,e,t)})),r},wse=(e,t,n,r)=>{e.forEach((e=>{if("string"!=typeof e){if("function"==typeof e)return xse(e)?void wse(e(r),t,n,r):void t.validators.push({validator:e,classGroupId:n});Object.entries(e).forEach((([e,a])=>{wse(a,kse(t,e),n,r)}))}else{(""===e?t:kse(t,e)).classGroupId=n}}))},kse=(e,t)=>{let n=e;return t.split("-").forEach((e=>{n.nextPart.has(e)||n.nextPart.set(e,{nextPart:new Map,validators:[]}),n=n.nextPart.get(e)})),n},xse=e=>e.isThemeGetter,Ese=(e,t)=>t?e.map((([e,n])=>[e,n.map((e=>"string"==typeof e?t+e:"object"==typeof e?Object.fromEntries(Object.entries(e).map((([e,n])=>[t+e,n]))):e))])):e,_se=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map;const a=(a,o)=>{n.set(a,o),t++,t>e&&(t=0,r=n,n=new Map)};return{get(e){let t=n.get(e);return void 0!==t?t:void 0!==(t=r.get(e))?(a(e,t),t):void 0},set(e,t){n.has(e)?n.set(e,t):a(e,t)}}},Sse=e=>{const{separator:t,experimentalParseClassName:n}=e,r=1===t.length,a=t[0],o=t.length,i=e=>{const n=[];let i,s=0,l=0;for(let d=0;d<e.length;d++){let c=e[d];if(0===s){if(c===a&&(r||e.slice(d,d+o)===t)){n.push(e.slice(l,d)),l=d+o;continue}if("/"===c){i=d;continue}}"["===c?s++:"]"===c&&s--}const c=0===n.length?e:e.substring(l),u=c.startsWith("!");return{modifiers:n,hasImportantModifier:u,baseClassName:u?c.substring(1):c,maybePostfixModifierPosition:i&&i>l?i-l:void 0}};return n?e=>n({className:e,parseClassName:i}):i},Tse=e=>{if(e.length<=1)return e;const t=[];let n=[];return e.forEach((e=>{"["===e[0]?(t.push(...n.sort(),e),n=[]):n.push(e)})),t.push(...n.sort()),t},Cse=/\s+/;function Ase(){let e,t,n=0,r="";for(;n<arguments.length;)(e=arguments[n++])&&(t=Nse(e))&&(r&&(r+=" "),r+=t);return r}const Nse=e=>{if("string"==typeof e)return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=Nse(e[r]))&&(n&&(n+=" "),n+=t);return n};function Ise(e,...t){let n,r,a,o=function(s){const l=t.reduce(((e,t)=>t(e)),e());return n=(e=>({cache:_se(e.cacheSize),parseClassName:Sse(e),...mse(e)}))(l),r=n.cache.get,a=n.cache.set,o=i,i(s)};function i(e){const t=r(e);if(t)return t;const o=((e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:a}=t,o=[],i=e.trim().split(Cse);let s="";for(let l=i.length-1;l>=0;l-=1){const e=i[l],{modifiers:t,hasImportantModifier:c,baseClassName:u,maybePostfixModifierPosition:d}=n(e);let p=Boolean(d),f=r(p?u.substring(0,d):u);if(!f){if(!p){s=e+(s.length>0?" "+s:s);continue}if(f=r(u),!f){s=e+(s.length>0?" "+s:s);continue}p=!1}const h=Tse(t).join(":"),m=c?h+"!":h,g=m+f;if(o.includes(g))continue;o.push(g);const y=a(f,p);for(let n=0;n<y.length;++n){const e=y[n];o.push(m+e)}s=e+(s.length>0?" "+s:s)}return s})(e,n);return a(e,o),o}return function(){return o(Ase.apply(null,arguments))}}const Rse=e=>{const t=t=>t[e]||[];return t.isThemeGetter=!0,t},Ose=/^\[(?:([a-z-]+):)?(.+)\]$/i,Pse=/^\d+\/\d+$/,Lse=new Set(["px","full","screen"]),Dse=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Mse=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Fse=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,jse=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Bse=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,zse=e=>Use(e)||Lse.has(e)||Pse.test(e),Hse=e=>tle(e,"length",nle),Use=e=>Boolean(e)&&!Number.isNaN(Number(e)),$se=e=>tle(e,"number",Use),Gse=e=>Boolean(e)&&Number.isInteger(Number(e)),Vse=e=>e.endsWith("%")&&Use(e.slice(0,-1)),Wse=e=>Ose.test(e),qse=e=>Dse.test(e),Yse=new Set(["length","size","percentage"]),Kse=e=>tle(e,Yse,rle),Xse=e=>tle(e,"position",rle),Qse=new Set(["image","url"]),Zse=e=>tle(e,Qse,ole),Jse=e=>tle(e,"",ale),ele=()=>!0,tle=(e,t,n)=>{const r=Ose.exec(e);return!!r&&(r[1]?"string"==typeof t?r[1]===t:t.has(r[1]):n(r[2]))},nle=e=>Mse.test(e)&&!Fse.test(e),rle=()=>!1,ale=e=>jse.test(e),ole=e=>Bse.test(e),ile=Ise((()=>{const e=Rse("colors"),t=Rse("spacing"),n=Rse("blur"),r=Rse("brightness"),a=Rse("borderColor"),o=Rse("borderRadius"),i=Rse("borderSpacing"),s=Rse("borderWidth"),l=Rse("contrast"),c=Rse("grayscale"),u=Rse("hueRotate"),d=Rse("invert"),p=Rse("gap"),f=Rse("gradientColorStops"),h=Rse("gradientColorStopPositions"),m=Rse("inset"),g=Rse("margin"),y=Rse("opacity"),b=Rse("padding"),v=Rse("saturate"),w=Rse("scale"),k=Rse("sepia"),x=Rse("skew"),E=Rse("space"),_=Rse("translate"),S=()=>["auto",Wse,t],T=()=>[Wse,t],C=()=>["",zse,Hse],A=()=>["auto",Use,Wse],N=()=>["","0",Wse],I=()=>[Use,Wse];return{cacheSize:500,separator:":",theme:{colors:[ele],spacing:[zse,Hse],blur:["none","",qse,Wse],brightness:I(),borderColor:[e],borderRadius:["none","","full",qse,Wse],borderSpacing:T(),borderWidth:C(),contrast:I(),grayscale:N(),hueRotate:I(),invert:N(),gap:T(),gradientColorStops:[e],gradientColorStopPositions:[Vse,Hse],inset:S(),margin:S(),opacity:I(),padding:T(),saturate:I(),scale:I(),sepia:N(),skew:I(),space:T(),translate:T()},classGroups:{aspect:[{aspect:["auto","square","video",Wse]}],container:["container"],columns:[{columns:[qse]}],"break-after":[{"break-after":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-before":[{"break-before":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top",Wse]}],overflow:[{overflow:["auto","hidden","clip","visible","scroll"]}],"overflow-x":[{"overflow-x":["auto","hidden","clip","visible","scroll"]}],"overflow-y":[{"overflow-y":["auto","hidden","clip","visible","scroll"]}],overscroll:[{overscroll:["auto","contain","none"]}],"overscroll-x":[{"overscroll-x":["auto","contain","none"]}],"overscroll-y":[{"overscroll-y":["auto","contain","none"]}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[m]}],"inset-x":[{"inset-x":[m]}],"inset-y":[{"inset-y":[m]}],start:[{start:[m]}],end:[{end:[m]}],top:[{top:[m]}],right:[{right:[m]}],bottom:[{bottom:[m]}],left:[{left:[m]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",Gse,Wse]}],basis:[{basis:S()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",Wse]}],grow:[{grow:N()}],shrink:[{shrink:N()}],order:[{order:["first","last","none",Gse,Wse]}],"grid-cols":[{"grid-cols":[ele]}],"col-start-end":[{col:["auto",{span:["full",Gse,Wse]},Wse]}],"col-start":[{"col-start":A()}],"col-end":[{"col-end":A()}],"grid-rows":[{"grid-rows":[ele]}],"row-start-end":[{row:["auto",{span:[Gse,Wse]},Wse]}],"row-start":[{"row-start":A()}],"row-end":[{"row-end":A()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",Wse]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",Wse]}],gap:[{gap:[p]}],"gap-x":[{"gap-x":[p]}],"gap-y":[{"gap-y":[p]}],"justify-content":[{justify:["normal","start","end","center","between","around","evenly","stretch"]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal","start","end","center","between","around","evenly","stretch","baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":["start","end","center","between","around","evenly","stretch","baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[b]}],px:[{px:[b]}],py:[{py:[b]}],ps:[{ps:[b]}],pe:[{pe:[b]}],pt:[{pt:[b]}],pr:[{pr:[b]}],pb:[{pb:[b]}],pl:[{pl:[b]}],m:[{m:[g]}],mx:[{mx:[g]}],my:[{my:[g]}],ms:[{ms:[g]}],me:[{me:[g]}],mt:[{mt:[g]}],mr:[{mr:[g]}],mb:[{mb:[g]}],ml:[{ml:[g]}],"space-x":[{"space-x":[E]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[E]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",Wse,t]}],"min-w":[{"min-w":[Wse,t,"min","max","fit"]}],"max-w":[{"max-w":[Wse,t,"none","full","min","max","fit","prose",{screen:[qse]},qse]}],h:[{h:[Wse,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[Wse,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[Wse,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[Wse,t,"auto","min","max","fit"]}],"font-size":[{text:["base",qse,Hse]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",$se]}],"font-family":[{font:[ele]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",Wse]}],"line-clamp":[{"line-clamp":["none",Use,$se]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",zse,Wse]}],"list-image":[{"list-image":["none",Wse]}],"list-style-type":[{list:["none","disc","decimal",Wse]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[y]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[y]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:["solid","dashed","dotted","double","none","wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",zse,Hse]}],"underline-offset":[{"underline-offset":["auto",zse,Wse]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:T()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",Wse]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",Wse]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[y]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top",Xse]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Kse]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Zse]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[h]}],"gradient-via-pos":[{via:[h]}],"gradient-to-pos":[{to:[h]}],"gradient-from":[{from:[f]}],"gradient-via":[{via:[f]}],"gradient-to":[{to:[f]}],rounded:[{rounded:[o]}],"rounded-s":[{"rounded-s":[o]}],"rounded-e":[{"rounded-e":[o]}],"rounded-t":[{"rounded-t":[o]}],"rounded-r":[{"rounded-r":[o]}],"rounded-b":[{"rounded-b":[o]}],"rounded-l":[{"rounded-l":[o]}],"rounded-ss":[{"rounded-ss":[o]}],"rounded-se":[{"rounded-se":[o]}],"rounded-ee":[{"rounded-ee":[o]}],"rounded-es":[{"rounded-es":[o]}],"rounded-tl":[{"rounded-tl":[o]}],"rounded-tr":[{"rounded-tr":[o]}],"rounded-br":[{"rounded-br":[o]}],"rounded-bl":[{"rounded-bl":[o]}],"border-w":[{border:[s]}],"border-w-x":[{"border-x":[s]}],"border-w-y":[{"border-y":[s]}],"border-w-s":[{"border-s":[s]}],"border-w-e":[{"border-e":[s]}],"border-w-t":[{"border-t":[s]}],"border-w-r":[{"border-r":[s]}],"border-w-b":[{"border-b":[s]}],"border-w-l":[{"border-l":[s]}],"border-opacity":[{"border-opacity":[y]}],"border-style":[{border:["solid","dashed","dotted","double","none","hidden"]}],"divide-x":[{"divide-x":[s]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[s]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[y]}],"divide-style":[{divide:["solid","dashed","dotted","double","none"]}],"border-color":[{border:[a]}],"border-color-x":[{"border-x":[a]}],"border-color-y":[{"border-y":[a]}],"border-color-s":[{"border-s":[a]}],"border-color-e":[{"border-e":[a]}],"border-color-t":[{"border-t":[a]}],"border-color-r":[{"border-r":[a]}],"border-color-b":[{"border-b":[a]}],"border-color-l":[{"border-l":[a]}],"divide-color":[{divide:[a]}],"outline-style":[{outline:["","solid","dashed","dotted","double","none"]}],"outline-offset":[{"outline-offset":[zse,Wse]}],"outline-w":[{outline:[zse,Hse]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:C()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[y]}],"ring-offset-w":[{"ring-offset":[zse,Hse]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",qse,Jse]}],"shadow-color":[{shadow:[ele]}],opacity:[{opacity:[y]}],"mix-blend":[{"mix-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"]}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[r]}],contrast:[{contrast:[l]}],"drop-shadow":[{"drop-shadow":["","none",qse,Wse]}],grayscale:[{grayscale:[c]}],"hue-rotate":[{"hue-rotate":[u]}],invert:[{invert:[d]}],saturate:[{saturate:[v]}],sepia:[{sepia:[k]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[n]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[l]}],"backdrop-grayscale":[{"backdrop-grayscale":[c]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[u]}],"backdrop-invert":[{"backdrop-invert":[d]}],"backdrop-opacity":[{"backdrop-opacity":[y]}],"backdrop-saturate":[{"backdrop-saturate":[v]}],"backdrop-sepia":[{"backdrop-sepia":[k]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[i]}],"border-spacing-x":[{"border-spacing-x":[i]}],"border-spacing-y":[{"border-spacing-y":[i]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",Wse]}],duration:[{duration:I()}],ease:[{ease:["linear","in","out","in-out",Wse]}],delay:[{delay:I()}],animate:[{animate:["none","spin","ping","pulse","bounce",Wse]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[w]}],"scale-x":[{"scale-x":[w]}],"scale-y":[{"scale-y":[w]}],rotate:[{rotate:[Gse,Wse]}],"translate-x":[{"translate-x":[_]}],"translate-y":[{"translate-y":[_]}],"skew-x":[{"skew-x":[x]}],"skew-y":[{"skew-y":[x]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",Wse]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",Wse]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":T()}],"scroll-mx":[{"scroll-mx":T()}],"scroll-my":[{"scroll-my":T()}],"scroll-ms":[{"scroll-ms":T()}],"scroll-me":[{"scroll-me":T()}],"scroll-mt":[{"scroll-mt":T()}],"scroll-mr":[{"scroll-mr":T()}],"scroll-mb":[{"scroll-mb":T()}],"scroll-ml":[{"scroll-ml":T()}],"scroll-p":[{"scroll-p":T()}],"scroll-px":[{"scroll-px":T()}],"scroll-py":[{"scroll-py":T()}],"scroll-ps":[{"scroll-ps":T()}],"scroll-pe":[{"scroll-pe":T()}],"scroll-pt":[{"scroll-pt":T()}],"scroll-pr":[{"scroll-pr":T()}],"scroll-pb":[{"scroll-pb":T()}],"scroll-pl":[{"scroll-pl":T()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",Wse]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[zse,Hse,$se]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}}));function sle(...e){return ile(d3(e))}const lle=e=>e?"":void 0,cle=Kie("",{variants:{slot:{root:["bg-gray-50 dark:bg-transparent","border border-transparent dark:border-gray-dark-700","rounded-md p-0.5 flex items-center"],button:[sle(Qie({size:"xs"}),"group","rounded data-[active]:shadow","bg-transparent data-[active]:bg-white","text-gray-600 data-[active]:text-gray-800","dark:text-white-alpha-600 dark:data-[active]:text-white-alpha-950","dark:data-[active]:bg-gray-dark-700 dark:shadow-none","hover:text-gray-800 hover:dark:text-white-alpha-950")],icon:["mr-1 text-gray-500 data-[active]:text-gray-600","dark:text-white-alpha-500 dark:data-[active]:text-white-alpha-600","group-hover:text-gray-600 dark:group-hover:text-white-alpha-600"]}}}),ule={markdownH1:sle(ase({size:"lg"}),"mb-3"),markdownH2:sle(ase({size:"md"}),"mb-2"),markdownP:sle("mb-3 break-words whitespace-pre-wrap","[&+ol,&+li]:mt-0"),markdownLi:sle("[&_a]:break-words [&_a]:inline"),markdownUl:ose({style:"unordered"}),markdownOl:sle(ose({style:"ordered"}),"[inset-inline-start:var(--start,0px)]","[counter-reset:item_calc(var(--start,0)_-_1)]"),markdownLink:sle(rse(),"text-inkeep-primary-stronger hover:text-inkeep-primary-strong","dark:text-inkeep-expanded-primary-100 dark:hover:text-inkeep-expanded-primary-300"),markdownSourceLink:sse(),markdownTable:ise({slot:"root"}),markdownTh:ise({slot:"th"}),markdownTd:ise({slot:"td"}),markdownCode:lse(),codeblockContainer:cse({slot:"container"}),codeblockHeader:cse({slot:"header"}),codeblockCopyButton:sle(Qie({}),cse({slot:"copyButton"})),codeblockHighlighterWrapper:sle(),codeblockHighlighter:cse({slot:"highlighter"}),codeblockCode:"font-mono",markdownInput:sle("mr-1")},dle=["Thinking","Looking for content","Analyzing"];function ple(){const[e,t]=Z.useState(0);return Z.useEffect((()=>{const e=setInterval((()=>{t((t=>t+1<dle.length?t+1:(clearInterval(e),t)))}),3500);return()=>clearInterval(e)}),[]),Vf.jsxs("div",{className:"flex items-center space-x-2 font-medium text-sm text-gray-700 dark:text-gray-dark-300","aria-live":"polite",children:[Vf.jsx("span",{className:"animate-shimmer bg-gradient-to-br from-gray-700 to-gray-400 dark:from-gray-dark-300 dark:to-gray-dark-100 bg-clip-text text-transparent",children:dle[e]}),Vf.jsx("div",{className:"flex space-x-1",children:[0,1,2].map((e=>Vf.jsx("span",{className:"animate-bounce-dot opacity-30",style:{animationDelay:.2*e+"s"},children:"."},e)))})]})}const fle=()=>Array.from({length:3}).map(((e,t)=>{const n=t%2==0;return Vf.jsxs("div",{className:sle("flex items-center flex-row-reverse","data-[even]:flex-row","[--end-color:theme(colors.white-alpha.100)]","dark:[--start-color:theme(colors.gray.300)]","dark:[--end-color:theme(colors.white-alpha.300)]"),"data-even":lle(n),children:[Vf.jsx("div",{"data-even":lle(n),className:sle(hse(),"h-12 w-12 rounded-full","data-[even]:mr-4 ml-4 data-[even]:ml-0")}),Vf.jsxs("div",{"data-even":lle(n),className:"flex flex-col gap-2 items-end data-[even]:items-start",children:[Vf.jsx("div",{"data-even":lle(n),className:sle(hse(),"h-4 rounded-lg w-60")}),Vf.jsx("div",{"data-even":lle(n),className:sle(hse(),"h-4 rounded-lg w-56")})]})]},t)})),hle=e=>Vf.jsx(tP,{children:Vf.jsx(yP,{children:Vf.jsx(mD,{children:Vf.jsx(jj,{...e})})})}),mle=Z.forwardRef((({className:e,size:t,variant:n,...r},a)=>Vf.jsx(l6,{ref:a,className:sle(Xie({size:t,variant:n}),"data-[hidden]:hidden rounded-md flex","bg-white dark:bg-gray-dark-950","data-[composite]:w-full","max-h-[min(85vh,850px)]",e),...r}))),gle=({className:e,...t})=>Vf.jsx(u6,{className:sle("flex flex-col items-center justify-center h-full gap-12 flex-1 p-8",e),children:Vf.jsx(fle,{}),...t}),yle=({className:e,...t})=>Vf.jsx(p6,{className:sle(pse({section:"wrapper"}),"rounded-[inherit] font-body",e),...t}),ble=({className:e,...t})=>Vf.jsx(f6,{className:sle(pse({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}),vle=({className:e,...t})=>Vf.jsx(h6,{className:sle("flex items-center gap-2 w-full pl-6 pr-1","ikp-md:px-4 py-2 justify-between *:m-0",e),...t}),wle=({className:e,...t})=>Vf.jsx(m6,{className:sle("flex items-center gap-1.5",e),...t}),kle=({className:e,...t})=>Vf.jsx(y6,{className:sle("text-gray-600 dark:text-gray-dark-100 text-sm",e),...t}),xle=({className:e,...t})=>Vf.jsx(b6,{className:sle(pse({section:"content"}),"justify-end",e),...t}),Ele=({className:e,...t})=>Vf.jsx(v6,{className:sle("overflow-hidden",e),...t}),_le=Z.forwardRef((({className:e,...t},n)=>Vf.jsx(k6,{ref:n,className:sle("h-full w-full rounded-[inherit]",e),...t}))),Sle=({className:e,...t})=>Vf.jsx(x6,{className:sle("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}),Tle=({className:e,...t})=>Vf.jsx(E6,{className:sle("relative flex-1 rounded-full","bg-gray-300 dark:bg-white-alpha-200",e),...t}),Cle=_6,Ale=({className:e,...t})=>Vf.jsx(A6,{className:sle("ml-auto text-sm flex items-center gap-1",e),...t}),Nle=({className:e,...t})=>Vf.jsx(I6,{className:sle("text-gray-700 dark:text-gray-dark-100",e),...t}),Ile=({className:e,...t})=>Vf.jsx(O6,{className:sle("cursor-pointer text-gray-700 dark:text-gray-dark-100","focus-visible:ring-gray-500 dark:focus-visible:ring-white-alpha-900 focus-visible:ring-2 focus:outline-none",e),...t}),Rle=({className:e,...t})=>Vf.jsx(L6,{className:sle(dse({slot:"content"}),"px-4 py-2 font-normal","w-[250px] sm:w-[420px]",e),...t}),Ole=M6,Ple=({className:e,...t})=>Vf.jsx(F6,{className:sle(dse({slot:"arrow"}),e),...t}),Lle=({className:e,...t})=>Vf.jsx(B6,{className:sle("mt-4 flex flex-col gap-2",e),...t}),Dle=({className:e,...t})=>Vf.jsx(H6,{className:sle("text-2xs uppercase font-semibold tracking-widest","text-gray-600 dark:text-white-alpha-500",e),...t}),Mle=({className:e,...t})=>Vf.jsx($6,{className:sle("flex flex-col","ikp-md:flex-row","flex-wrap gap-2",e),...t}),Fle=Z.forwardRef((({className:e,style:t,...n},r)=>{const a=Z.useRef(null),o=NB(r,a),{width:i=0,height:s=0}=Uie({ref:a,box:"border-box"}),l=Math.max(s,i);return Vf.jsx(V6,{ref:o,style:{"--before-size":`${l+100}px`,...t},className:sle("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),...n})})),jle=({className:e,...t})=>Vf.jsx(q6,{className:sle(Qie({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}),Ble=({className:e,...t})=>Vf.jsx(T6,{className:sle("flex flex-col w-full min-w-0 min-h-0 text-2sm relative",e),...t}),zle=Kie(["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"]),Hle=({className:e,...t})=>Vf.jsx(Q6,{className:sle(zle(),e),...t}),Ule=({className:e,...t})=>Vf.jsx(Z6,{className:sle(zle(),e),...t}),$le=({className:e,...t})=>Vf.jsx(e8,{className:sle("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}),Gle=({className:e,...t})=>Vf.jsx(n8,{className:sle("flex items-center gap-3 h-12 w-full",e),children:Vf.jsx(ple,{}),...t}),Vle=({className:e,...t})=>Vf.jsx(a8,{className:sle("flex items-center justify-center rounded-full","h-auto ikp-md:h-12",e),...t}),Wle=({className:e,...t})=>Vf.jsx(i8,{className:sle("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}),qle=({className:e,...t})=>Vf.jsx(l8,{className:sle("hidden data-[role=user]:block",e),...t}),Yle=({className:e,...t})=>Vf.jsx(u8,{className:sle("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}),Kle=({className:e,...t})=>Vf.jsx(p8,{className:sle("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}),Xle=({className:e,...t})=>Vf.jsx(h8,{className:sle("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}),Qle=({className:e,...t})=>Vf.jsx(g8,{className:sle("text-2sm flex-wrap break-words min-w-0 shrink-1 max-w-full",e),...t}),Zle=e=>{var t,n;const{message:r}=aB(),a=null==(n=null==(t=r.metadata)?void 0:t.attributes)?void 0:n.attachments;return"user"===r.role&&(null==a?void 0:a.length)?Vf.jsx(eB,{children:Vf.jsx(y8,{...e})}):null},Jle=({className:e,...t})=>Vf.jsx(v8,{className:sle("flex flex-wrap gap-2",e),...t}),ece=({className:e,...t})=>Vf.jsx(k8,{className:sle(Qie({variant:"ghost"}),Zie({slot:"root"}),"font-normal px-2",e),...t}),tce=({className:e,...t})=>Vf.jsx(E8,{className:sle(Zie({slot:"icon"}),e),...t}),nce=({className:e,...t})=>Vf.jsx(S8,{className:sle(Zie({slot:"title"}),e),...t}),rce=e=>{const{onOpenChange:t,...n}=e,{selectItem:r,isOpen:a,onClose:o,selectedItem:i}=tB();return Vf.jsx(T8,{open:a&&null!==i,onOpenChange:U4(t,(e=>{e||(o(),r(null))})),...n})},ace=({className:e,...t})=>Vf.jsx(C8,{className:sle(use({slot:"overlay"}),e),...t}),oce=({className:e,...t})=>Vf.jsx(A8,{className:sle(use({slot:"content"}),"my-6 md:my-12 top-0 left-[unset] transform-none relative","p-8 md:p-10 max-w-2xl",e),...t}),ice=({className:e,...t})=>Vf.jsx(I8,{className:sle(use({slot:"header"}),"px-0 pt-0 pb-8 flex flex-col gap-6","font-semibold",e),...t}),sce=({className:e,...t})=>Vf.jsx(R8,{className:sle(use({slot:"close"}),e),...t}),lce=({className:e,...t})=>Vf.jsx(P8,{className:sle(use({slot:"body"}),"p-0",e),...t}),cce=({className:e,componentStyles:t,...n})=>Vf.jsx(D8,{className:sle("data-[role=user]:whitespace-pre-wrap mb-3 max-w-full",e),componentStyles:u(ule,t??{}),...n}),uce=({className:e,...t})=>Vf.jsx(F8,{className:sle("flex items-center mt-2 mb-3",e),...t}),dce=({className:e,...t})=>Vf.jsx(B8,{className:sle("mr-auto flex items-center gap-2",e),...t}),pce=({className:e,...t})=>Vf.jsx(U8,{className:sle(Qie({size:"xs",variant:"outline"}),"text-xs h-[30px] text-gray-700 dark:text-gray-200 gap-1",e),...t}),fce=({className:e,...t})=>Vf.jsx(G8,{className:sle(Qie({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}),hce=e=>{var t;const{message:n}=aB();return"assistant"===n.role&&(null==(t=n.links)?void 0:t.length)?Vf.jsx(V8,{...e}):null},mce=({className:e,...t})=>Vf.jsx(q8,{className:sle("block text-xs font-medium my-2 text-gray-700 dark:text-gray-dark-300",e),...t}),gce=({className:e,...t})=>Vf.jsx(K8,{className:sle("w-full relative flex flex-col gap-3 py-[1px]",e),...t}),yce=({className:e,...t})=>Vf.jsx(Q8,{className:sle(ese({slot:"root"}),e),...t}),bce=({className:e,...t})=>Vf.jsx(J8,{className:sle(ese({slot:"breadcrumbs"}),e),...t}),vce=({className:e,...t})=>Vf.jsx(e9,{className:sle(ese({slot:"breadcrumbsIcon"}),e),...t}),wce=({className:e,...t})=>Vf.jsx(n9,{className:sle(ese({slot:"icon"}),e),...t}),kce=({className:e,...t})=>Vf.jsx(a9,{className:sle(ese({slot:"title"}),e),...t}),xce=({className:e,...t})=>Vf.jsx(i9,{className:sle(ese({slot:"tag"}),e),...t}),Ece=({className:e,...t})=>Vf.jsx(l9,{className:sle(ese({slot:"description"}),e),...t}),_ce=({className:e,...t})=>Vf.jsx(u9,{className:sle(ese({slot:"descriptionPart"}),e),...t}),Sce=({className:e,...t})=>Vf.jsx(p9,{className:sle(ese({slot:"indicator"}),e),...t}),Tce=({className:e,...t})=>Vf.jsx(f9,{className:sle("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}),Cce=({className:e,...t})=>Vf.jsx(h9,{className:sle("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}),Ace=({className:e,...t})=>Vf.jsx(m9,{className:sle("flex",e),...t}),Nce=Z.forwardRef((({className:e,...t},n)=>Vf.jsx(y9,{ref:n,className:sle("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}))),Ice=({className:e,...t})=>Vf.jsx(v9,{className:sle(Qie({}),"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}),Rce=({className:e,...t})=>Vf.jsx(w9,{className:sle(tse(),"text-inherit rotate-[-30deg]",e),...t}),Oce=({className:e,...t})=>Vf.jsx(x9,{className:sle("flex items-center justify-between","flex-wrap gap-2 px-1 pt-2 pb-1",e),...t}),Pce=({className:e,...t})=>Vf.jsx(_9,{className:sle("flex items-center gap-2 flex-wrap px-3 min-w-0",e),...t}),Lce=({className:e,...t})=>Vf.jsx(T9,{className:sle(Zie({slot:"root"}),e),...t}),Dce=({className:e,...t})=>Vf.jsx(A9,{className:sle(Zie({slot:"icon"}),e),...t}),Mce=({className:e,...t})=>Vf.jsx(I9,{className:sle(Zie({slot:"title"}),e),...t}),Fce=({className:e,...t})=>Vf.jsx(O9,{className:sle(Zie({slot:"delete"}),e),...t}),jce=({className:e,...t})=>Vf.jsx(P9,{className:sle("flex items-center justify-between","gap-2 flex-wrap px-3",e),...t}),Bce=L9,zce=({className:e,...t})=>Vf.jsx(D9,{className:sle("cursor-pointer text-sm text-gray-600","dark:text-white-alpha-600",e),...t}),Hce=({className:e,...t})=>Vf.jsx(F9,{className:sle("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}),Uce=({className:e,...t})=>Vf.jsx(B9,{className:sle("contents",e),...t}),$ce=({className:e,...t})=>Vf.jsx(H9,{className:sle(Qie({variant:"outline",size:"xs"}),"light:text-gray-700 gap-1",e),...t}),Gce=U9,Vce=e=>{const{onOpenChange:t,...n}=e,{selectInput:r,isOpen:a,onClose:o,selectedInput:i}=Uj();return Vf.jsx($9,{open:a&&null!==i,onOpenChange:U4(t,(e=>{e||(o(),r(null))})),...n})},Wce=({className:e,...t})=>Vf.jsx(G9,{className:sle(use({slot:"overlay"}),e),...t}),qce=({className:e,...t})=>Vf.jsx(V9,{className:sle(use({slot:"content"}),"my-6 md:my-12 top-0 left-[unset] transform-none relative","p-8 md:p-10 max-w-2xl",e),...t}),Yce=({className:e,...t})=>Vf.jsx(W9,{className:sle(use({slot:"header"}),"px-0 pt-0 pb-8 gap-y-2","font-semibold",e),...t}),Kce=({className:e,...t})=>Vf.jsx(Y9,{className:sle("w-full semibold",e),...t}),Xce=({className:e,...t})=>Vf.jsx(X9,{className:sle("text-gray-700 dark:text-white-alpha-700","text-sm font-normal w-full",e),...t}),Qce=e=>{var t;const{children:n,...r}=e,{selectedInput:a}=Uj(),o=null==(t=null==a?void 0:a.workflowModalProps)?void 0:t.modalHelpElement;return o?Vf.jsx(Q9,{asChild:!n,children:n||o,...r}):null},Zce=({className:e,...t})=>Vf.jsx(Z9,{className:sle(use({slot:"close"}),e),...t}),Jce=({className:e,...t})=>Vf.jsx(J9,{className:sle(use({slot:"body"}),"p-0",e),...t}),eue=({className:e,...t})=>Vf.jsx(t7,{className:sle("flex flex-col gap-8",e),...t}),tue=({className:e,...t})=>Vf.jsx(n7,{className:sle("flex flex-col gap-2",e),...t}),nue=({className:e,...t})=>Vf.jsx(a7,{className:sle("text-sm font-medium text-gray-700 dark:text-white-alpha-700",e),...t}),rue=({className:e,...t})=>Vf.jsx(i7,{className:sle("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}),aue=({className:e,...t})=>Vf.jsx(l7,{className:sle("text-sm text-red-500",e),...t}),oue=({className:e,...t})=>Vf.jsx(c7,{className:sle("flex flex-col gap-2",e),...t}),iue=({className:e,...t})=>Vf.jsx(d7,{className:sle("text-sm font-medium text-gray-700 dark:text-white-alpha-700",e),...t}),sue=({className:e,...t})=>Vf.jsx(f7,{className:sle(nse({size:"md",variant:"outline"}),"min-h-20 px-4 py-2",e),...t}),lue=({className:e,...t})=>Vf.jsx(m7,{className:sle("text-sm text-red-500",e),...t}),cue=({className:e,...t})=>Vf.jsx(g7,{className:sle(Qie({preset:"neutralFilled"}),"ml-auto",e),...t}),uue=({className:e,...t})=>Vf.jsx(y7,{className:sle("mt-4 flex items-start justify-between flex-wrap-reverse gap-2.5",e),...t}),due=({className:e,...t})=>Vf.jsx(b7,{className:sle("flex items-center gap-2.5 flex-wrap",e),...t}),pue=({className:e,...t})=>Vf.jsx(v7,{className:sle("flex items-center whitespace-nowrap",e),...t}),fue=({className:e,...t})=>Vf.jsx(w7,{className:sle("text-xs md:text-sm text-gray-500 dark:text-white-alpha-600",e),...t}),hue=({className:e,...t})=>Vf.jsx(k7,{className:sle("text-gray-400 dark:text-white-alpha-500","w-[18px] ml-2 mr-1",e),...t}),mue=({className:e,...t})=>Vf.jsx(x7,{className:sle(rse(),"inline-flex text-xs md:text-sm text-gray-500","dark:text-white-alpha-600 font-bold",e),...t}),gue=sle(Qie({size:"xs",variant:"outline"}),"text-gray-700 dark:text-white-alpha-700"),yue=({className:e,...t})=>Vf.jsx(_7,{className:sle(gue,e),...t}),bue=({className:e,...t})=>Vf.jsx(T7,{className:sle("cursor-pointer",e),...t}),vue=({className:e,...t})=>Vf.jsx(A7,{className:sle("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}),wue=e=>{const{children:t,...n}=e,{aiChatSettings:r}=ZO(),{getHelpOptions:a}=r;if(!a||0===(a??[]).length)return null;const{_pinned:o,_unpinned:i}=a.reduce(((e,t)=>{const n=t.isPinnedToToolbar?"_pinned":"_unpinned";return{...e,[n]:[...e[n],t]}}),{_pinned:[],_unpinned:[]}),s=1===i.length?[...o,i[0]]:o,l=1===i.length?[]:i,c=function(){const[e,t]=Z.useState(!1);return{open:e,setOpen:t}}();return Vf.jsx(Xj,{value:c,children:Vf.jsx(N7,{open:c.open,onOpenChange:c.setOpen,children:LP(t,{pinned:s,unpinned:l}),...n})})},kue=({className:e,...t})=>Vf.jsx(O7,{className:sle(gue,e),...t}),xue=({className:e,...t})=>Vf.jsx(L7,{className:sle(gue,e),...t}),Eue=({className:e,...t})=>Vf.jsx(M7,{className:sle(dse({slot:"content"}),"gap-3 px-3 py-4 ","w-[254px] text-sm font-normal",e),...t}),_ue=({className:e,...t})=>Vf.jsx(F7,{className:sle(dse({slot:"arrow"}),e),...t}),Sue=({className:e,...t})=>Vf.jsx(j7,{className:sle("flex items-center cursor-pointer hover:underline",e),...t}),Tue=({className:e,...t})=>Vf.jsx(z7,{className:sle("mr-2 text-inkeep-primary-medium",e),...t}),Cue=e=>{const{onOpenChange:t,...n}=e,{currentFeedback:r,setCurrentFeedback:a}=ID();return Vf.jsx(H7,{open:null!==r,onOpenChange:U4(t,(()=>a(null))),...n})},Aue=({className:e,...t})=>Vf.jsx(U7,{className:sle(use({slot:"overlay"}),e),...t}),Nue=({className:e,...t})=>Vf.jsx($7,{className:sle(use({slot:"content"}),"my-6 md:my-12 top-0 left-[unset] transform-none relative","p-8 md:p-10 max-w-[480px]",e),...t}),Iue=({className:e,...t})=>Vf.jsx(G7,{className:sle(use({slot:"header"}),"px-0 pt-0 pb-8","font-semibold",e),...t}),Rue=({className:e,...t})=>Vf.jsx(V7,{className:sle(use({slot:"close"}),e),...t}),Oue=({className:e,...t})=>Vf.jsx(W7,{className:sle(use({slot:"body"}),"p-0",e),...t}),Pue=({className:e,...t})=>Vf.jsx(Y7,{className:sle("flex flex-col gap-8",e),...t}),Lue=({className:e,...t})=>Vf.jsx(X7,{className:sle("flex flex-wrap items-center","gap-[1rem_0.5rem]",e),...t}),Due=({className:e,...t})=>Vf.jsx(Z7,{className:sle(Jie({slot:"root"}),e),...t}),Mue=({className:e,...t})=>Vf.jsx(J7,{className:sle(Jie({slot:"indicator"}),e),...t}),Fue=({className:e,...t})=>Vf.jsx(tee,{className:sle("select-none cursor-pointer font-medium text-sm","text-gray-700 dark:text-white-alpha-700",e),...t}),jue=({className:e,...t})=>Vf.jsx(ree,{className:sle("flex-[0_0_100%]","min-h-20 py-2 border rounded-md","px-4",e),...t}),Bue=({className:e,...t})=>Vf.jsx(aee,{className:sle(Qie({preset:"neutralFilled"}),"ml-auto",e),...t}),zue=({className:e,...t})=>Vf.jsx(iee,{className:sle("w-full overflow-y-auto",e),...t}),Hue=({className:e,...t})=>Vf.jsx(lee,{className:sle(pse({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}),Uue=({className:e,...t})=>Vf.jsx(uee,{className:sle(Qie({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}),$ue=({className:e,...t})=>Vf.jsx(dee,{className:sle("mt-12 flex flex-col gap-6",e),...t}),Gue=({className:e,...t})=>Vf.jsx(fee,{className:sle("font-semibold text-xl leading-5",e),...t}),Vue=({className:e,...t})=>Vf.jsx(mee,{className:sle("text-gray-700 dark:text-white-alpha-700 text-sm",e),...t}),Wue=({className:e,...t})=>Vf.jsx(yee,{className:sle("w-full",e),...t}),que=({className:e,...t})=>Vf.jsx(vee,{className:sle("mb-8 flex flex-col gap-2 data-[hidden]:hidden","data-[input-type=checkbox]:flex-row data-[input-type=checkbox]:items-center",e),...t}),Yue=({className:e,...t})=>Vf.jsx(kee,{className:sle("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}),Kue=({className:e,...t})=>Vf.jsx(Eee,{className:sle(nse({size:"md",variant:"outline"}),e),...t}),Xue=({className:e,...t})=>Vf.jsx(_ee,{className:sle(nse({size:"md",variant:"outline"}),e),...t}),Que=({className:e,...t})=>Vf.jsx(Tee,{className:sle(nse({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}),Zue=({className:e,...t})=>Vf.jsx(Cee,{className:sle(nse({size:"md",variant:"outline"}),"min-h-20 px-4 py-2",e),...t}),Jue=({className:e,...t})=>Vf.jsx(Nee,{className:sle(Jie({slot:"root"}),e),...t}),ede=({className:e,...t})=>Vf.jsx(Iee,{className:sle(Jie({slot:"indicator"}),e),...t}),tde=e=>{const{field:t,error:n,fieldProps:r}=Yj(),{onValueChange:a,...o}=e;return Vf.jsx(Ree,{name:t.name,"data-invalid":OP(!!n),value:r.value,onValueChange:U4(a,r.onChange),...o})},nde=({className:e,...t})=>Vf.jsx(Oee,{className:sle(fse({slot:"trigger"}),e),...t}),rde=e=>{const{field:t}=Yj();return Vf.jsx(Pee,{placeholder:"placeholder"in t?t.placeholder:void 0,...e})},ade=({className:e,...t})=>Vf.jsx(Lee,{className:sle("h-4 w-4 opacity-45",e),...t}),ode=({className:e,...t})=>Vf.jsx(Dee,{className:sle(fse({slot:"content"}),e),...t}),ide=({className:e,...t})=>Vf.jsx(Mee,{className:sle(fse({slot:"viewport"}),e),...t}),sde=({className:e,...t})=>Vf.jsx(Fee,{className:sle(fse({slot:"item"}),e),...t}),lde=jee,cde=({className:e,...t})=>Vf.jsx(Bee,{className:sle(fse({slot:"itemIndicator"}),e),...t}),ude=({className:e,...t})=>Vf.jsx(Hee,{className:sle("text-sm flex items-center text-red-500 dark:text-red-300",e),...t}),dde=({className:e,...t})=>Vf.jsx($ee,{className:sle("text-red-500 dark:text-red-300",e),...t}),pde=({className:e,...t})=>Vf.jsx(Gee,{className:sle("flex items-center justify-end gap-6 w-full",e),...t}),fde=({className:e,...t})=>Vf.jsx(Wee,{className:sle(Qie({variant:"outline"}),e),...t}),hde=({className:e,...t})=>Vf.jsx(Yee,{className:sle(Qie({preset:"neutralFilled"}),e),...t}),mde=({className:e,...t})=>Vf.jsx(Xee,{className:sle("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}),gde=({className:e,...t})=>Vf.jsx(Zee,{className:sle("mb-6 font-bold tracking-tight","text-3xl md:text-4xl leading-6 md:leading-5",e),...t}),yde=e=>{const{form:t}=gD();return Vf.jsx(Jee,{children:null==t?void 0:t.successView.message,...e})},bde=({className:e,...t})=>Vf.jsx(tte,{className:sle(Qie({preset:"neutralFilled"}),"w-full mt-12 gap-2 shrink-0",e),...t});function vde(){const{searchSettings:{tabs:e}}=ZO();return Vf.jsxs("div",{className:"flex flex-col h-full",children:[Vf.jsxs("div",{className:sle("h-[calc(100%-24px)]"),children:[Vf.jsx("div",{className:"flex px-5 py-1 gap-3 data-[hidden]:hidden","data-hidden":lle(0===e.length),children:Array.from({length:2}).map(((e,t)=>Vf.jsx("div",{className:sle(hse(),"h-[27.88px] w-16 rounded-full")},t)))}),Vf.jsxs("div",{className:"flex px-5 py-1 gap-5 h-full",children:[Vf.jsx("div",{className:"flex flex-col flex-1 [[data-view=dual-pane]_&]:flex-[0_0_40%]",children:Array.from({length:4}).map(((e,t)=>Vf.jsx("div",{className:"flex items-center pb-2.5 w-full",children:Vf.jsx("div",{className:sle(hse(),"h-20 rounded-lg grow-[1]")})},t)))}),Vf.jsx("div",{className:sle(hse(),"h-full w-full rounded-md","hidden [[data-view=dual-pane]_&]:block")})]})]}),Vf.jsx("div",{className:"flex pt-1 pb-3 px-5 justify-self-end",children:Vf.jsx("div",{className:sle(hse(),"h-[24px] w-40 rounded-md")})})]})}const wde=e=>Vf.jsx(dne,{...e}),kde=({className:e,...t})=>Vf.jsx(Jne,{className:sle("data-[hidden]:hidden rounded-md flex","bg-white dark:bg-gray-dark-950",e),...t}),xde=({className:e,...t})=>Vf.jsx(tre,{className:sle("data-[hidden]:hidden flex flex-col w-full","[--footer-height:theme(spacing.9)]","data-[mobile]:[--input-height:theme(spacing.16)]","[--ask-ai-trigger-height:0px]","[[data-show-ask-ai-card]_&]:[--ask-ai-trigger-height:theme(spacing.11)]",e),...t}),Ede=rre,_de=({className:e,...t})=>Vf.jsx(are,{className:sle("flex items-center w-full px-5 pt-3 pb-3 gap-3","[[data-show-ask-ai-card]_&]:pb-1","[[data-mobile]_&]:max-h-[var(--input-height)]",e),...t}),Sde=({className:e,...t})=>Vf.jsx(ore,{className:sle("min-w-5 w-5 text-xl","text-gray-500 dark:text-white-alpha-600",e),...t}),Tde=({className:e,...t})=>Vf.jsx(sre,{className:sle("min-h-[38px] overflow-hidden w-full resize-none","py-1.5 max-h-[10vh] placeholder:text-gray-500","w-full dark:placeholder:text-gray-dark-200","border-none outline-none shadow-none bg-transparent",e),...t}),Cde=({className:e,...t})=>Vf.jsx(cre,{className:sle("animate-spin text-gray-400 dark:text-white-alpha-500",e),...t}),Ade=({className:e,...t})=>Vf.jsx(dre,{className:sle(ese({slot:"root"}),"m-auto w-[calc(100%_-_theme(spacing.5))]","border-transparent dark:border-transparent","mb-3 py-0 h-11 cursor-pointer","h-[var(--ask-ai-trigger-height)]",e),...t}),Nde=({className:e,...t})=>Vf.jsx(fre,{className:sle("[grid-area:icon] h-5 w-5","[--start-color:theme(colors.inkeep-expanded-primary.300)]","[--end-color:theme(colors.inkeep-expanded-primary.700)]","dark:[--start-color:theme(colors.inkeep-expanded-primary.50)]","dark:[--end-color:theme(colors.inkeep-expanded-primary.300)]",e),...t}),Ide=({className:e,...t})=>Vf.jsx(hre,{className:sle(ese({slot:"title"}),"font-normal",e),...t}),Rde=({className:e,...t})=>Vf.jsx(mre,{className:sle(ese({slot:"indicator"}),e),...t}),Ode=({className:e,...t})=>Vf.jsx(yre,{className:sle(pse({section:"content"}),"h-0 max-h-full","data-[has-content]:h-[min(calc(85vh_-_72px),calc(850px_-_72px_-_275px))]","md:data-[dual-pane-search-expanded]:h-[min(calc(85vh_-_72px),calc(900px_-_72px_-_135px))]","[[data-mobile]_&]:h-[calc(100vh-var(--input-height)-var(--footer-height)-var(--ask-ai-trigger-height))]","transition-all duration-300 ease-in-out data-[has-content]:pb-2",e),...t}),Pde=({className:e,...t})=>Vf.jsx(vre,{className:sle("group mb-1 relative transition-all w-full h-full",e),children:Vf.jsx(vde,{}),...t}),Lde=({className:e,...t})=>Vf.jsx(kre,{className:sle("flex w-full h-full","overflow-hidden relative grow-[2]","items-center justify-center text-gray-600","dark:text-gray-dark-400 mt-8",e),...t}),Dde=({className:e,...t})=>Vf.jsx(Ere,{className:sle("shrink-0 max-w-full","flex gap-3 px-5 py-1","overflow-x-auto [scrollbar-width:thin]",e),...t}),Mde=({className:e,...t})=>Vf.jsx(Sre,{className:sle("px-3 text-1sm font-medium rounded-full shrink-0","py-1 transition-all duration-200 leading-snug","border border-gray-300 dark:border-gray-dark-500","hover:bg-gray-50 dark:hover:bg-white-alpha-50","data-[state=active]:bg-inkeep-primary-light-subtle","hover:data-[state=active]:bg-inkeep-primary-light-subtle","data-[state=active]:text-inkeep-expanded-primary-900","data-[state=active]:border-inkeep-primary-medium-subtle","dark:data-[state=active]:bg-white-alpha-100","dark:hover:data-[state=active]:bg-white-alpha-100","dark:data-[state=active]:text-inkeep-expanded-primary-300","dark:data-[state=active]:border-inkeep-expanded-primary-300","focus:outline-inkeep-expanded-primary-700 dark:focus:outline-inkeep-expanded-primary-300",e),...t}),Fde=({className:e,...t})=>Vf.jsx(Tre,{className:sle("flex overflow-hidden h-full",e),...t}),jde=({className:e,...t})=>Vf.jsx(Are,{className:sle("overflow-hidden h-full first:w-full","first:[[data-view=dual-pane]_&]:flex-1 md:first:[[data-view=dual-pane]_&]:flex-[0_0_40%]",'befter:content-[""] befter:absolute befter:inset-x-0',"befter:h-10 befter:pointer-events-none","befter:transition-opacity befter:duration-300","befter:ease-in-out befter:from-white","befter:dark:from-gray-dark-950 befter:to-transparent","before:top-0 after:bottom-0","before:bg-gradient-to-b after:bg-gradient-to-t","has-[[data-scroll-top]]:before:opacity-0","has-[[data-scroll-bottom]]:after:opacity-0",e),...t}),Bde=({className:e,...t})=>Vf.jsx(Ire,{className:sle("h-full w-full rounded-[inherit]",e),...t}),zde=({className:e,...t})=>Vf.jsx(Rre,{className:sle("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}),Hde=({className:e,...t})=>Vf.jsx(Ore,{className:sle("relative flex-1 rounded-full","bg-gray-300 dark:bg-white-alpha-200",e),...t}),Ude=Pre,$de=({className:e,...t})=>Vf.jsx(Dre,{className:sle("w-full flex flex-col","items-center gap-2.5 h-full shrink-0","px-5 py-1 content-center -my-[1px]",e),...t}),Gde=({className:e,...t})=>Vf.jsx(Fre,{className:sle(ese({slot:"root"}),e),...t}),Vde=({className:e,...t})=>Vf.jsx(Bre,{className:sle(ese({slot:"breadcrumbs"}),e),...t}),Wde=({className:e,...t})=>Vf.jsx(zre,{className:sle(ese({slot:"breadcrumbsIcon"}),e),...t}),qde=({className:e,...t})=>Vf.jsx(Ure,{className:sle(ese({slot:"icon"}),e),...t}),Yde=({className:e,...t})=>Vf.jsx(Gre,{className:sle(ese({slot:"title"}),e),...t}),Kde=({className:e,...t})=>Vf.jsx(Wre,{className:sle(ese({slot:"tag"}),e),...t}),Xde=({className:e,...t})=>Vf.jsx(Yre,{className:sle(ese({slot:"description"}),e),...t}),Qde=({className:e,...t})=>Vf.jsx(Xre,{className:sle(ese({slot:"descriptionPart"}),e),...t}),Zde=({className:e,...t})=>Vf.jsx(Zre,{className:sle(ese({slot:"indicator"}),e),...t}),Jde=({className:e,...t})=>Vf.jsx(eae,{className:sle("flex-1 min-w-0 break-words py-4 pr-12 pl-8","hidden md:flex flex-col gap-6",e),...t}),epe=({className:e,...t})=>Vf.jsx(tae,{className:sle("flex flex-col gap-5",e),...t}),tpe=({className:e,...t})=>Vf.jsx(rae,{className:sle("inline-block",e),...t}),npe=({className:e,...t})=>Vf.jsx(oae,{className:sle("text-3xl leading-snug tracking-tight","font-semibold hover:text-inkeep-primary-stronger","dark:hover:text-inkeep-expanded-primary-100",e),...t}),rpe=({className:e,...t})=>Vf.jsx(sae,{className:sle("inline-block ml-2 mb-2 tracking-tight text-gray-500 dark:text-white-alpha-500",e),...t}),ape=({className:e,...t})=>Vf.jsx(lae,{className:sle(ese({slot:"breadcrumbs"}),"!line-clamp-none whitespace-normal text-gray-500 dark:text-gray-dark-200 text-sm",e),...t}),ope=({className:e,...t})=>Vf.jsx(cae,{className:sle(ese({slot:"breadcrumbsIcon"}),e),...t}),ipe=({className:e,componentStyles:t,...n})=>Vf.jsx(dae,{className:sle("max-w-full text-gray-700 dark:text-gray-dark-100 [&_em]:font-bold [&_em]:not-italic",e),componentStyles:u(ule,t??{}),...n}),spe=({className:e,...t})=>Vf.jsx(fae,{className:sle("flex flex-col gap-3",e),...t}),lpe=({className:e,...t})=>Vf.jsx(hae,{className:sle("text-xs uppercase font-semibold tracking-widest","text-gray-500 dark:text-white-alpha-500",e),...t}),cpe=({className:e,...t})=>Vf.jsx(gae,{className:sle("flex flex-col gap-4",e),...t}),upe=({className:e,...t})=>Vf.jsx(bae,{className:sle("flex items-center gap-1 text-gray-600 dark:text-white-alpha-600 font-medium ",""+(t.href?"cursor-pointer hover:text-gray-800 dark:hover:text-white-alpha-800 dark:data-[is-match]:hover:text-inkeep-expanded-primary-200 data-[is-match]:hover:text-inkeep-expanded-primary-800 ":""),"data-[is-match]:text-inkeep-expanded-primary-700","dark:data-[is-match]:text-inkeep-expanded-primary-300",e),...t}),dpe=({className:e,...t})=>Vf.jsx(vae,{className:sle(e),...t}),ppe=({className:e,...t})=>Vf.jsx(kae,{className:sle(e),...t}),fpe=({className:e,...t})=>Vf.jsx(xae,{className:sle("h-3 !min-h-0 !min-w-0",e),...t}),hpe=({className:e,...t})=>Vf.jsx(_ae,{className:sle("justify-self-end","px-5 pt-1 pb-3","[[data-mobile]_&]:py-0","[[data-mobile]_&]:items-center","[[data-mobile]_&]:h-[var(--footer-height)]","hidden data-[has-results]:flex",e),...t}),mpe=({className:e,...t})=>Vf.jsx(Sae,{className:sle("flex items-center whitespace-nowrap",e),...t}),gpe=({className:e,...t})=>Vf.jsx(Tae,{className:sle("text-xs md:text-sm text-gray-500 dark:text-white-alpha-600",e),...t}),ype=({className:e,...t})=>Vf.jsx(Cae,{className:sle("text-gray-400 dark:text-white-alpha-500","w-[18px] ml-2 mr-1",e),...t}),bpe=({className:e,...t})=>Vf.jsx(Aae,{className:sle(rse(),"inline-flex text-xs md:text-sm text-gray-500","dark:text-white-alpha-600 font-bold",e),...t}),vpe=e=>{const{onOpenChange:t,config:n,...r}=e,a=(e=>{const{isOpen:t,onOpenChange:n,shortcutKey:r}=e??{},[a=!1,o]=HG({prop:t,defaultProp:t,onChange:n});return Z.useEffect((()=>{const e=e=>{r&&(e.metaKey||e.ctrlKey)&&e.key.toLowerCase()===r.toLowerCase()&&(e.preventDefault(),e.stopPropagation(),o(!0)),"Escape"===e.key&&t&&(e.preventDefault(),o(!1))};return document.addEventListener("keydown",e),()=>document.removeEventListener("keydown",e)}),[r,o,t]),{isOpen:a,setOpen:o,shortcutKey:r}})(n);return Vf.jsx(uD,{modal:a,children:Vf.jsx(Nae,{open:a.isOpen,onOpenChange:U4(t,(e=>a.setOpen(e))),...r})})},wpe=({className:e,...t})=>Vf.jsx(Iae,{className:sle(use({slot:"overlay"}),e),...t}),kpe=({className:e,...t})=>Vf.jsx(Oae,{className:sle(use({slot:"content"}),"w-[min(90vw,720px)]","has-[[data-dual-pane-search-expanded]]:w-[min(90vw,1000px)] transition-width duration-300",e),...t}),xpe=({className:e,...t})=>Vf.jsx(Lae,{className:sle(use({slot:"close"}),Qie({variant:"ghost",size:"xs"}),"relative inset-[unset] ml-auto text-lg text-gray-500 dark:text-white-alpha-500 px-0","md:hidden",e),...t}),Epe=({className:e,...t})=>Vf.jsx(xie,{className:sle("fixed right-6 bottom-6 z-10 mr-[var(--removed-body-scroll-bar-size)]",e),...t}),_pe=({className:e,...t})=>Vf.jsx(Eie,{className:sle("bg-inkeep-primary-text-bold dark:bg-gray-dark-600 rounded-full px-[18px] py-3 text-white font-medium flex items-center space-x-2 shadow-2xl dark:shadow-none transition-transform ease-in-out hover:scale-110",e),...t}),Spe=({className:e,...t})=>Vf.jsx(_ie,{className:sle("flex items-center",e),...t}),Tpe=({className:e,...t})=>Vf.jsx(Cie,{className:sle("data-[type=icon]:[--start-color:theme(colors.inkeep-expanded-primary.50)]","data-[type=icon]:[--end-color:theme(colors.inkeep-expanded-primary.300)]","h-6 w-6",e),...t}),Cpe=({className:e,...t})=>Vf.jsx(Sie,{className:sle("",e),...t}),Ape=({className:e,...t})=>Vf.jsx(Aie,{className:sle("md:min-w-[min(320px,100%)] w-full h-full min-h-9",e),...t}),Npe=({className:e,...t})=>Vf.jsx(Nie,{className:sle("rounded-md border px-3 min-w-0 min-h-9 flex items-center justify-between gap-2 h-full w-full hover:border-gray-300 dark:hover:border-white-alpha-300 transition-colors",e),...t}),Ipe=({className:e,...t})=>Vf.jsx(Iie,{className:sle("flex items-center gap-2 min-w-0",e),...t}),Rpe=({className:e,...t})=>Vf.jsx(Oie,{className:sle("text-md text-gray-500 dark:text-white-alpha-600",e),...t}),Ope=({className:e,...t})=>Vf.jsx(Pie,{className:sle("text-gray-500 dark:text-white-alpha-600 text-xl",e),...t}),Ppe=({className:e,...t})=>Vf.jsx(Lie,{className:sle("text-sm text-gray-400 dark:text-white-alpha-500 font-bold flex items-center gap-0.5",e),...t}),Lpe=({className:e,...t})=>Vf.jsx(zie,{className:sle("",e),...t}),Dpe=({className:e,...t})=>Vf.jsx(Mie,{className:sle("",e),...t}),Mpe=e=>Vf.jsx(Uae,{...e}),Fpe=({className:e,...t})=>Vf.jsx(Yae,{className:sle("max-w-full border divide-y","rounded-xl shadow h-full max-h-full","bg-white dark:bg-gray-dark-950","flex flex-col",e),...t}),jpe=({className:e,...t})=>Vf.jsx(Kae,{className:sle("px-5 py-4 font-medium shrink-0",e),...t}),Bpe=({className:e,...t})=>Vf.jsx(Xae,{className:sle("flex-1 overflow-hidden",e),...t}),zpe=({className:e,...t})=>Vf.jsx(Qae,{className:sle("h-full",e),...t}),Hpe=({className:e,...t})=>Vf.jsx(Jae,{className:sle("h-full w-full rounded-[inherit] px-5","[&_[data-part=grid]]:px-1","[&_[data-part=grid]]:divide-y",e),...t}),Upe=({className:e,...t})=>Vf.jsx(eoe,{className:sle("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}),$pe=({className:e,...t})=>Vf.jsx(toe,{className:sle("relative flex-1 rounded-full","bg-gray-300 dark:bg-white-alpha-200",e),...t}),Gpe=noe,Vpe=({className:e,...t})=>Vf.jsx(aoe,{className:sle("flex flex-col items-center","justify-center mx-1 pt-12 pb-6",e),...t}),Wpe=({className:e,...t})=>Vf.jsx(ioe,{className:sle("w-6 h-6 text-green-500 mb-5",e),...t}),qpe=({className:e,...t})=>Vf.jsx(loe,{className:sle("text-xl font-semibold","mb-3 tracking-tight",e),...t}),Ype=({className:e,...t})=>Vf.jsx(uoe,{className:sle("text-gray-800 dark:text-white-alpha-950",e),...t}),Kpe=({className:e,...t})=>Vf.jsx(doe,{className:sle("w-full flex flex-col py-6",e),...t}),Xpe=({className:e,...t})=>Vf.jsx(hoe,{className:sle("text-gray-700 dark:text-white-alpha-700 text-sm",e),...t}),Qpe=({className:e,...t})=>Vf.jsx(moe,{className:sle("w-full gap-8",e),...t}),Zpe=({className:e,...t})=>Vf.jsx(yoe,{className:sle(Qie({preset:"neutralFilled",size:"sm"}),"ml-auto data-[loading]:cursor-wait","data-[submitted]:hidden",e),...t}),Jpe=({className:e,...t})=>Vf.jsx(voe,{className:sle("mb-8 flex flex-col gap-2 data-[hidden]:hidden","data-[input-type=checkbox]:flex-row data-[input-type=checkbox]:items-center",e),...t}),efe=({className:e,...t})=>Vf.jsx(koe,{className:sle("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}),tfe=({className:e,...t})=>Vf.jsx(Eoe,{className:sle(nse({size:"sm",variant:"outline"}),e),...t}),nfe=({className:e,...t})=>Vf.jsx(_oe,{className:sle(nse({size:"sm",variant:"outline"}),e),...t}),rfe=({className:e,...t})=>Vf.jsx(Toe,{className:sle(nse({size:"sm",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}),afe=({className:e,...t})=>Vf.jsx(Coe,{className:sle(nse({size:"sm",variant:"outline"}),"min-h-20 px-4 py-2",e),...t}),ofe=({className:e,...t})=>Vf.jsx(Noe,{className:sle(Jie({slot:"root"}),e),...t}),ife=({className:e,...t})=>Vf.jsx(Ioe,{className:sle(Jie({slot:"indicator"}),e),...t}),sfe=e=>{const{field:t,error:n,fieldProps:r}=Wae(),{onValueChange:a,...o}=e;return Vf.jsx(Roe,{name:t.name,"data-invalid":OP(!!n),value:r.value,onValueChange:U4(a,r.onChange),...o})},lfe=({className:e,...t})=>Vf.jsx(Ooe,{className:sle(fse({slot:"trigger"}),"text-sm",e),...t}),cfe=e=>{const{field:t}=Wae();return Vf.jsx(Poe,{placeholder:"placeholder"in t?t.placeholder:void 0,...e})},ufe=({className:e,...t})=>Vf.jsx(Loe,{className:sle("h-4 w-4 opacity-45",e),...t}),dfe=({className:e,...t})=>Vf.jsx(Doe,{className:sle(fse({slot:"content"}),e),...t}),pfe=({className:e,...t})=>Vf.jsx(Moe,{className:sle(fse({slot:"viewport"}),e),...t}),ffe=({className:e,...t})=>Vf.jsx(Foe,{className:sle(fse({slot:"item"}),"text-sm",e),...t}),hfe=joe,mfe=({className:e,...t})=>Vf.jsx(Boe,{className:sle(fse({slot:"itemIndicator"}),e),...t}),gfe=({className:e,...t})=>Vf.jsx(Hoe,{className:sle("text-sm flex items-center text-red-500 dark:text-red-300",e),...t}),yfe=({className:e,...t})=>Vf.jsx(Uoe,{className:sle("flex items-center gap-2",e),...t}),bfe=({className:e,...t})=>Vf.jsx($oe,{className:sle("border bg-gradient-to-t","from-gray-100 dark:from-gray-dark-600 p-1 rounded-md","w-6 h-6 text-gray-600 dark:text-white-alpha-700",e),...t}),vfe=({className:e,...t})=>Vf.jsx(Voe,{className:sle("text-gray-800 dark:text-white-alpha-950 text-sm font-semibold",e),...t}),wfe=({className:e,...t})=>Vf.jsx(qoe,{className:sle("py-6 flex flex-wrap","gap-x-3 gap-y-6","[&>:first-child]:basis-full text-sm",e),...t}),kfe=({className:e,...t})=>Vf.jsx(Koe,{className:sle("w-full flex flex-col py-6 gap-6 min-w-0 text-sm",e),...t}),xfe=({className:e,componentStyles:t,...n})=>Vf.jsx(Qoe,{className:sle("max-w-full ",e),componentStyles:u(ule,t??{}),...n}),Efe=({className:e,...t})=>Vf.jsx(Joe,{className:sle(Qie({preset:"neutralFilled",size:"sm"}),"ml-auto gap-2 data-[escalated]:hidden",e),...t}),_fe=({className:e,...t})=>Vf.jsx(eie,{className:sle("",e),...t}),Sfe=tie,Tfe=({className:e,...t})=>Vf.jsx(rie,{className:sle("w-full flex flex-col py-6 gap-6",e),...t}),Cfe=({className:e,...t})=>Vf.jsx(oie,{className:sle("text-gray-700 dark:text-white-alpha-700 text-sm",e),...t}),Afe=({className:e,...t})=>Vf.jsx(sie,{className:sle("w-full gap-8",e),...t}),Nfe=({className:e,...t})=>Vf.jsx(cie,{className:sle(Qie({preset:"neutralFilled",size:"sm"}),"ml-auto data-[loading]:cursor-wait","data-[submitted]:hidden",e),...t}),Ife=({className:e,...t})=>Vf.jsx(die,{className:sle("text-red-500 dark:text-red-300",e),...t}),Rfe=({className:e,...t})=>Vf.jsx(pie,{className:sle("w-full flex flex-col gap-6",e),...t}),Ofe=({className:e,...t})=>Vf.jsx(fie,{className:sle("text-gray-700 dark:text-white-alpha-700 text-sm",e),...t}),Pfe=({className:e,...t})=>Vf.jsx(mie,{className:sle("w-full flex flex-wrap gap-2 items-center",e),...t}),Lfe=({className:e,...t})=>Vf.jsx(yie,{className:sle(Qie({size:"xs",variant:"outline"}),"text-gray-600 dark:text-white-alpha-700 gap-1",e),...t}),Dfe=({className:e,...t})=>Vf.jsx(vie,{className:sle("",e),...t}),Mfe=({className:e,...t})=>Vf.jsx(kie,{className:sle("line-clamp-1",e),...t}),Ffe=e=>Vf.jsx(HO,{styles:'*, ::before, ::after {\n --tw-border-spacing-x: 0;\n --tw-border-spacing-y: 0;\n --tw-translate-x: 0;\n --tw-translate-y: 0;\n --tw-rotate: 0;\n --tw-skew-x: 0;\n --tw-skew-y: 0;\n --tw-scale-x: 1;\n --tw-scale-y: 1;\n --tw-pan-x: ;\n --tw-pan-y: ;\n --tw-pinch-zoom: ;\n --tw-scroll-snap-strictness: proximity;\n --tw-gradient-from-position: ;\n --tw-gradient-via-position: ;\n --tw-gradient-to-position: ;\n --tw-ordinal: ;\n --tw-slashed-zero: ;\n --tw-numeric-figure: ;\n --tw-numeric-spacing: ;\n --tw-numeric-fraction: ;\n --tw-ring-inset: ;\n --tw-ring-offset-width: 0px;\n --tw-ring-offset-color: #fff;\n --tw-ring-color: rgb(59 130 246 / 0.5);\n --tw-ring-offset-shadow: 0 0 #0000;\n --tw-ring-shadow: 0 0 #0000;\n --tw-shadow: 0 0 #0000;\n --tw-shadow-colored: 0 0 #0000;\n --tw-blur: ;\n --tw-brightness: ;\n --tw-contrast: ;\n --tw-grayscale: ;\n --tw-hue-rotate: ;\n --tw-invert: ;\n --tw-saturate: ;\n --tw-sepia: ;\n --tw-drop-shadow: ;\n --tw-backdrop-blur: ;\n --tw-backdrop-brightness: ;\n --tw-backdrop-contrast: ;\n --tw-backdrop-grayscale: ;\n --tw-backdrop-hue-rotate: ;\n --tw-backdrop-invert: ;\n --tw-backdrop-opacity: ;\n --tw-backdrop-saturate: ;\n --tw-backdrop-sepia: ;\n --tw-contain-size: ;\n --tw-contain-layout: ;\n --tw-contain-paint: ;\n --tw-contain-style: ;\n}\n\n::backdrop {\n --tw-border-spacing-x: 0;\n --tw-border-spacing-y: 0;\n --tw-translate-x: 0;\n --tw-translate-y: 0;\n --tw-rotate: 0;\n --tw-skew-x: 0;\n --tw-skew-y: 0;\n --tw-scale-x: 1;\n --tw-scale-y: 1;\n --tw-pan-x: ;\n --tw-pan-y: ;\n --tw-pinch-zoom: ;\n --tw-scroll-snap-strictness: proximity;\n --tw-gradient-from-position: ;\n --tw-gradient-via-position: ;\n --tw-gradient-to-position: ;\n --tw-ordinal: ;\n --tw-slashed-zero: ;\n --tw-numeric-figure: ;\n --tw-numeric-spacing: ;\n --tw-numeric-fraction: ;\n --tw-ring-inset: ;\n --tw-ring-offset-width: 0px;\n --tw-ring-offset-color: #fff;\n --tw-ring-color: rgb(59 130 246 / 0.5);\n --tw-ring-offset-shadow: 0 0 #0000;\n --tw-ring-shadow: 0 0 #0000;\n --tw-shadow: 0 0 #0000;\n --tw-shadow-colored: 0 0 #0000;\n --tw-blur: ;\n --tw-brightness: ;\n --tw-contrast: ;\n --tw-grayscale: ;\n --tw-hue-rotate: ;\n --tw-invert: ;\n --tw-saturate: ;\n --tw-sepia: ;\n --tw-drop-shadow: ;\n --tw-backdrop-blur: ;\n --tw-backdrop-brightness: ;\n --tw-backdrop-contrast: ;\n --tw-backdrop-grayscale: ;\n --tw-backdrop-hue-rotate: ;\n --tw-backdrop-invert: ;\n --tw-backdrop-opacity: ;\n --tw-backdrop-saturate: ;\n --tw-backdrop-sepia: ;\n --tw-contain-size: ;\n --tw-contain-layout: ;\n --tw-contain-paint: ;\n --tw-contain-style: ;\n}/*\n! tailwindcss v3.4.17 | MIT License | https://tailwindcss.com\n*//*\n1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)\n2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)\n*/\n\n*,\n::before,\n::after {\n box-sizing: border-box; /* 1 */\n border-width: 0; /* 2 */\n border-style: solid; /* 2 */\n border-color: var(--ikp-color-gray-200); /* 2 */\n}\n\n::before,\n::after {\n --tw-content: \'\';\n}\n\n/*\n1. Use a consistent sensible line-height in all browsers.\n2. Prevent adjustments of font size after orientation changes in iOS.\n3. Use a more readable tab size.\n4. Use the user\'s configured `sans` font-family by default.\n5. Use the user\'s configured `sans` font-feature-settings by default.\n6. Use the user\'s configured `sans` font-variation-settings by default.\n7. Disable tap highlights on iOS\n*/\n\nhtml,\n:host {\n line-height: 1.5; /* 1 */\n -webkit-text-size-adjust: 100%; /* 2 */\n -moz-tab-size: 4; /* 3 */\n -o-tab-size: 4;\n tab-size: 4; /* 3 */\n font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; /* 4 */\n font-feature-settings: normal; /* 5 */\n font-variation-settings: normal; /* 6 */\n -webkit-tap-highlight-color: transparent; /* 7 */\n}\n\n/*\n1. Remove the margin in all browsers.\n2. Inherit line-height from `html` so users can set them as a class directly on the `html` element.\n*/\n\nbody {\n margin: 0; /* 1 */\n line-height: inherit; /* 2 */\n}\n\n/*\n1. Add the correct height in Firefox.\n2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)\n3. Ensure horizontal rules are visible by default.\n*/\n\nhr {\n height: 0; /* 1 */\n color: inherit; /* 2 */\n border-top-width: 1px; /* 3 */\n}\n\n/*\nAdd the correct text decoration in Chrome, Edge, and Safari.\n*/\n\nabbr:where([title]) {\n -webkit-text-decoration: underline dotted;\n text-decoration: underline dotted;\n}\n\n/*\nRemove the default font size and weight for headings.\n*/\n\nh1,\nh2,\nh3,\nh4,\nh5,\nh6 {\n font-size: inherit;\n font-weight: inherit;\n}\n\n/*\nReset links to optimize for opt-in styling instead of opt-out.\n*/\n\na {\n color: inherit;\n text-decoration: inherit;\n}\n\n/*\nAdd the correct font weight in Edge and Safari.\n*/\n\nb,\nstrong {\n font-weight: bolder;\n}\n\n/*\n1. Use the user\'s configured `mono` font-family by default.\n2. Use the user\'s configured `mono` font-feature-settings by default.\n3. Use the user\'s configured `mono` font-variation-settings by default.\n4. Correct the odd `em` font sizing in all browsers.\n*/\n\ncode,\nkbd,\nsamp,\npre {\n font-family: var(--ikp-font-family-mono); /* 1 */\n font-feature-settings: normal; /* 2 */\n font-variation-settings: normal; /* 3 */\n font-size: 1em; /* 4 */\n}\n\n/*\nAdd the correct font size in all browsers.\n*/\n\nsmall {\n font-size: 80%;\n}\n\n/*\nPrevent `sub` and `sup` elements from affecting the line height in all browsers.\n*/\n\nsub,\nsup {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n}\n\nsub {\n bottom: -0.25em;\n}\n\nsup {\n top: -0.5em;\n}\n\n/*\n1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)\n2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)\n3. Remove gaps between table borders by default.\n*/\n\ntable {\n text-indent: 0; /* 1 */\n border-color: inherit; /* 2 */\n border-collapse: collapse; /* 3 */\n}\n\n/*\n1. Change the font styles in all browsers.\n2. Remove the margin in Firefox and Safari.\n3. Remove default padding in all browsers.\n*/\n\nbutton,\ninput,\noptgroup,\nselect,\ntextarea {\n font-family: inherit; /* 1 */\n font-feature-settings: inherit; /* 1 */\n font-variation-settings: inherit; /* 1 */\n font-size: 100%; /* 1 */\n font-weight: inherit; /* 1 */\n line-height: inherit; /* 1 */\n letter-spacing: inherit; /* 1 */\n color: inherit; /* 1 */\n margin: 0; /* 2 */\n padding: 0; /* 3 */\n}\n\n/*\nRemove the inheritance of text transform in Edge and Firefox.\n*/\n\nbutton,\nselect {\n text-transform: none;\n}\n\n/*\n1. Correct the inability to style clickable types in iOS and Safari.\n2. Remove default button styles.\n*/\n\nbutton,\ninput:where([type=\'button\']),\ninput:where([type=\'reset\']),\ninput:where([type=\'submit\']) {\n -webkit-appearance: button; /* 1 */\n background-color: transparent; /* 2 */\n background-image: none; /* 2 */\n}\n\n/*\nUse the modern Firefox focus style for all focusable elements.\n*/\n\n:-moz-focusring {\n outline: auto;\n}\n\n/*\nRemove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)\n*/\n\n:-moz-ui-invalid {\n box-shadow: none;\n}\n\n/*\nAdd the correct vertical alignment in Chrome and Firefox.\n*/\n\nprogress {\n vertical-align: baseline;\n}\n\n/*\nCorrect the cursor style of increment and decrement buttons in Safari.\n*/\n\n::-webkit-inner-spin-button,\n::-webkit-outer-spin-button {\n height: auto;\n}\n\n/*\n1. Correct the odd appearance in Chrome and Safari.\n2. Correct the outline style in Safari.\n*/\n\n[type=\'search\'] {\n -webkit-appearance: textfield; /* 1 */\n outline-offset: -2px; /* 2 */\n}\n\n/*\nRemove the inner padding in Chrome and Safari on macOS.\n*/\n\n::-webkit-search-decoration {\n -webkit-appearance: none;\n}\n\n/*\n1. Correct the inability to style clickable types in iOS and Safari.\n2. Change font properties to `inherit` in Safari.\n*/\n\n::-webkit-file-upload-button {\n -webkit-appearance: button; /* 1 */\n font: inherit; /* 2 */\n}\n\n/*\nAdd the correct display in Chrome and Safari.\n*/\n\nsummary {\n display: list-item;\n}\n\n/*\nRemoves the default spacing and border for appropriate elements.\n*/\n\nblockquote,\ndl,\ndd,\nh1,\nh2,\nh3,\nh4,\nh5,\nh6,\nhr,\nfigure,\np,\npre {\n margin: 0;\n}\n\nfieldset {\n margin: 0;\n padding: 0;\n}\n\nlegend {\n padding: 0;\n}\n\nol,\nul,\nmenu {\n list-style: none;\n margin: 0;\n padding: 0;\n}\n\n/*\nReset default styling for dialogs.\n*/\ndialog {\n padding: 0;\n}\n\n/*\nPrevent resizing textareas horizontally by default.\n*/\n\ntextarea {\n resize: vertical;\n}\n\n/*\n1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)\n2. Set the default placeholder color to the user\'s configured gray 400 color.\n*/\n\ninput::-moz-placeholder, textarea::-moz-placeholder {\n opacity: 1; /* 1 */\n color: var(--ikp-color-gray-400); /* 2 */\n}\n\ninput::placeholder,\ntextarea::placeholder {\n opacity: 1; /* 1 */\n color: var(--ikp-color-gray-400); /* 2 */\n}\n\n/*\nSet the default cursor for buttons.\n*/\n\nbutton,\n[role="button"] {\n cursor: pointer;\n}\n\n/*\nMake sure disabled buttons don\'t get the pointer cursor.\n*/\n:disabled {\n cursor: default;\n}\n\n/*\n1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14)\n2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)\n This can trigger a poorly considered lint error in some tools but is included by design.\n*/\n\nimg,\nsvg,\nvideo,\ncanvas,\naudio,\niframe,\nembed,\nobject {\n display: block; /* 1 */\n vertical-align: middle; /* 2 */\n}\n\n/*\nConstrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)\n*/\n\nimg,\nvideo {\n max-width: 100%;\n height: auto;\n}\n\n/* Make elements with the HTML hidden attribute stay hidden by default */\n[hidden]:where(:not([hidden="until-found"])) {\n display: none;\n}\n.container {\n width: 100%;\n}\n@media (min-width: 640px) {\n\n .container {\n max-width: 640px;\n }\n}\n@media (min-width: 768px) {\n\n .container {\n max-width: 768px;\n }\n}\n@media (min-width: 1024px) {\n\n .container {\n max-width: 1024px;\n }\n}\n@media (min-width: 1280px) {\n\n .container {\n max-width: 1280px;\n }\n}\n@media (min-width: 1536px) {\n\n .container {\n max-width: 1536px;\n }\n}\n.pointer-events-none {\n pointer-events: none;\n}\n.fixed {\n position: fixed;\n}\n.absolute {\n position: absolute;\n}\n.relative {\n position: relative;\n}\n.inset-0 {\n inset: 0px;\n}\n.inset-\\[unset\\] {\n inset: unset;\n}\n.bottom-6 {\n bottom: 1.5rem;\n}\n.left-0 {\n left: 0px;\n}\n.left-1\\/2 {\n left: 50%;\n}\n.left-\\[unset\\] {\n left: unset;\n}\n.right-1 {\n right: 0.25rem;\n}\n.right-2 {\n right: 0.5rem;\n}\n.right-3 {\n right: 0.75rem;\n}\n.right-6 {\n right: 1.5rem;\n}\n.top-0 {\n top: 0px;\n}\n.top-1 {\n top: 0.25rem;\n}\n.top-1\\/2 {\n top: 50%;\n}\n.top-2 {\n top: 0.5rem;\n}\n.top-\\[5\\%\\] {\n top: 5%;\n}\n.z-10 {\n z-index: 10;\n}\n.z-base {\n z-index: var(--ikp-z-index-base);\n}\n.z-dropdown {\n z-index: var(--ikp-z-index-dropdown);\n}\n.z-modal {\n z-index: var(--ikp-z-index-modal);\n}\n.z-overlay {\n z-index: var(--ikp-z-index-overlay);\n}\n.z-popover {\n z-index: var(--ikp-z-index-popover);\n}\n.z-start {\n z-index: var(--ikp-z-index-start);\n}\n.m-\\[0px_0px_0\\.5em\\] {\n margin: 0px 0px 0.5em;\n}\n.m-auto {\n margin: auto;\n}\n.-my-\\[1px\\] {\n margin-top: -1px;\n margin-bottom: -1px;\n}\n.mx-1 {\n margin-left: 0.25rem;\n margin-right: 0.25rem;\n}\n.mx-\\[5px\\] {\n margin-left: 5px;\n margin-right: 5px;\n}\n.mx-auto {\n margin-left: auto;\n margin-right: auto;\n}\n.my-2 {\n margin-top: 0.5rem;\n margin-bottom: 0.5rem;\n}\n.my-6 {\n margin-top: 1.5rem;\n margin-bottom: 1.5rem;\n}\n.my-\\[\\.1rem\\] {\n margin-top: .1rem;\n margin-bottom: .1rem;\n}\n.mb-0 {\n margin-bottom: 0px;\n}\n.mb-1 {\n margin-bottom: 0.25rem;\n}\n.mb-2 {\n margin-bottom: 0.5rem;\n}\n.mb-3 {\n margin-bottom: 0.75rem;\n}\n.mb-5 {\n margin-bottom: 1.25rem;\n}\n.mb-6 {\n margin-bottom: 1.5rem;\n}\n.mb-8 {\n margin-bottom: 2rem;\n}\n.ml-1 {\n margin-left: 0.25rem;\n}\n.ml-2 {\n margin-left: 0.5rem;\n}\n.ml-4 {\n margin-left: 1rem;\n}\n.ml-\\[3px\\] {\n margin-left: 3px;\n}\n.ml-auto {\n margin-left: auto;\n}\n.mr-1 {\n margin-right: 0.25rem;\n}\n.mr-2 {\n margin-right: 0.5rem;\n}\n.mr-\\[0\\.5em\\] {\n margin-right: 0.5em;\n}\n.mr-\\[var\\(--removed-body-scroll-bar-size\\)\\] {\n margin-right: var(--removed-body-scroll-bar-size);\n}\n.mr-auto {\n margin-right: auto;\n}\n.ms-\\[1em\\] {\n margin-inline-start: 1em;\n}\n.mt-12 {\n margin-top: 3rem;\n}\n.mt-2 {\n margin-top: 0.5rem;\n}\n.mt-4 {\n margin-top: 1rem;\n}\n.mt-8 {\n margin-top: 2rem;\n}\n.line-clamp-1 {\n overflow: hidden;\n display: -webkit-box;\n -webkit-box-orient: vertical;\n -webkit-line-clamp: 1;\n}\n.\\!line-clamp-none {\n overflow: visible !important;\n display: block !important;\n -webkit-box-orient: horizontal !important;\n -webkit-line-clamp: none !important;\n}\n.block {\n display: block;\n}\n.inline-block {\n display: inline-block;\n}\n.flex {\n display: flex;\n}\n.inline-flex {\n display: inline-flex;\n}\n.table {\n display: table;\n}\n.grid {\n display: grid;\n}\n.contents {\n display: contents;\n}\n.hidden {\n display: none;\n}\n.size-10 {\n width: 2.5rem;\n height: 2.5rem;\n}\n.size-4 {\n width: 1rem;\n height: 1rem;\n}\n.h-0 {\n height: 0px;\n}\n.h-10 {\n height: 2.5rem;\n}\n.h-11 {\n height: 2.75rem;\n}\n.h-12 {\n height: 3rem;\n}\n.h-20 {\n height: 5rem;\n}\n.h-3 {\n height: 0.75rem;\n}\n.h-3\\.5 {\n height: 0.875rem;\n}\n.h-4 {\n height: 1rem;\n}\n.h-5 {\n height: 1.25rem;\n}\n.h-6 {\n height: 1.5rem;\n}\n.h-8 {\n height: 2rem;\n}\n.h-\\[24px\\] {\n height: 24px;\n}\n.h-\\[27\\.88px\\] {\n height: 27.88px;\n}\n.h-\\[30px\\] {\n height: 30px;\n}\n.h-\\[calc\\(100\\%-24px\\)\\] {\n height: calc(100% - 24px);\n}\n.h-\\[var\\(--ask-ai-trigger-height\\)\\] {\n height: var(--ask-ai-trigger-height);\n}\n.h-\\[var\\(--radix-select-trigger-height\\)\\] {\n height: var(--radix-select-trigger-height);\n}\n.h-auto {\n height: auto;\n}\n.h-full {\n height: 100%;\n}\n.h-screen {\n height: 100vh;\n}\n.max-h-96 {\n max-height: 24rem;\n}\n.max-h-\\[100vw\\] {\n max-height: 100vw;\n}\n.max-h-\\[10vh\\] {\n max-height: 10vh;\n}\n.max-h-\\[200px\\] {\n max-height: 200px;\n}\n.max-h-\\[min\\(85vh\\2c 850px\\)\\] {\n max-height: min(85vh,850px);\n}\n.max-h-full {\n max-height: 100%;\n}\n.max-h-screen {\n max-height: 100vh;\n}\n.\\!min-h-0 {\n min-height: 0px !important;\n}\n.min-h-0 {\n min-height: 0px;\n}\n.min-h-20 {\n min-height: 5rem;\n}\n.min-h-8 {\n min-height: 2rem;\n}\n.min-h-9 {\n min-height: 2.25rem;\n}\n.min-h-\\[38px\\] {\n min-height: 38px;\n}\n.min-h-\\[unset\\] {\n min-height: unset;\n}\n.w-10 {\n width: 2.5rem;\n}\n.w-12 {\n width: 3rem;\n}\n.w-16 {\n width: 4rem;\n}\n.w-2\\.5 {\n width: 0.625rem;\n}\n.w-3\\.5 {\n width: 0.875rem;\n}\n.w-4 {\n width: 1rem;\n}\n.w-40 {\n width: 10rem;\n}\n.w-5 {\n width: 1.25rem;\n}\n.w-56 {\n width: 14rem;\n}\n.w-6 {\n width: 1.5rem;\n}\n.w-60 {\n width: 15rem;\n}\n.w-8 {\n width: 2rem;\n}\n.w-\\[18px\\] {\n width: 18px;\n}\n.w-\\[250px\\] {\n width: 250px;\n}\n.w-\\[254px\\] {\n width: 254px;\n}\n.w-\\[calc\\(100\\%_-_theme\\(spacing\\.5\\)\\)\\] {\n width: calc(100% - 1.25rem);\n}\n.w-\\[min\\(90vw\\2c 720px\\)\\] {\n width: min(90vw,720px);\n}\n.w-fit {\n width: -moz-fit-content;\n width: fit-content;\n}\n.w-full {\n width: 100%;\n}\n.w-screen {\n width: 100vw;\n}\n.\\!min-w-0 {\n min-width: 0px !important;\n}\n.min-w-0 {\n min-width: 0px;\n}\n.min-w-10 {\n min-width: 2.5rem;\n}\n.min-w-5 {\n min-width: 1.25rem;\n}\n.min-w-6 {\n min-width: 1.5rem;\n}\n.min-w-8 {\n min-width: 2rem;\n}\n.min-w-\\[8rem\\] {\n min-width: 8rem;\n}\n.min-w-\\[unset\\] {\n min-width: unset;\n}\n.min-w-\\[var\\(--radix-select-trigger-width\\)\\] {\n min-width: var(--radix-select-trigger-width);\n}\n.max-w-2xl {\n max-width: 42rem;\n}\n.max-w-\\[200px\\] {\n max-width: 200px;\n}\n.max-w-\\[480px\\] {\n max-width: 480px;\n}\n.max-w-full {\n max-width: 100%;\n}\n.max-w-lg {\n max-width: 32rem;\n}\n.flex-1 {\n flex: 1 1 0%;\n}\n.flex-\\[0_0_100\\%\\] {\n flex: 0 0 100%;\n}\n.flex-shrink-0 {\n flex-shrink: 0;\n}\n.shrink-0 {\n flex-shrink: 0;\n}\n.grow-0 {\n flex-grow: 0;\n}\n.grow-\\[1\\] {\n flex-grow: 1;\n}\n.grow-\\[2\\] {\n flex-grow: 2;\n}\n.grow-\\[5\\] {\n flex-grow: 5;\n}\n.border-collapse {\n border-collapse: collapse;\n}\n.-translate-x-1\\/2 {\n --tw-translate-x: -50%;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n.-translate-y-1\\/2 {\n --tw-translate-y: -50%;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n.translate-x-\\[-50\\%\\] {\n --tw-translate-x: -50%;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n.rotate-\\[-30deg\\] {\n --tw-rotate: -30deg;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n.transform-none {\n transform: none;\n}\n@keyframes bounce-dot {\n\n 0%, 100% {\n transform: translateY(0);\n opacity: 0.3;\n }\n\n 50% {\n transform: translateY(-5px);\n opacity: 1;\n }\n}\n.animate-bounce-dot {\n animation: bounce-dot 1.5s infinite ease-in-out;\n}\n@keyframes checkbox-check {\n\n from {\n opacity: 0;\n stroke-dashoffset: 16;\n transform: scale(0.95);\n }\n\n to {\n opacity: 1;\n stroke-dashoffset: 0;\n transform: scale(1);\n }\n}\n.animate-checkbox-check {\n animation: checkbox-check 200ms linear;\n}\n@keyframes shimmer {\n\n 0% {\n background-size: 200% 200%;\n background-position: 100% 0;\n }\n\n 100% {\n background-size: 200% 200%;\n background-position: -100% 0;\n }\n}\n.animate-shimmer {\n animation: shimmer 3.5s cubic-bezier(0.4, 0, 0.6, 1) infinite;\n}\n@keyframes skeleton-bg-fade {\n\n from {\n border-color: var(--start-color);\n background: var(--start-color);\n }\n\n to {\n border-color: var(--end-color);\n background: var(--end-color);\n }\n}\n.animate-skeleton-bg-fade {\n animation: 0.8s linear infinite alternate skeleton-bg-fade;\n}\n@keyframes spin {\n\n to {\n transform: rotate(360deg);\n }\n}\n.animate-spin {\n animation: spin 1s linear infinite;\n}\n.cursor-default {\n cursor: default;\n}\n.cursor-pointer {\n cursor: pointer;\n}\n.touch-none {\n touch-action: none;\n}\n.select-none {\n -webkit-user-select: none;\n -moz-user-select: none;\n user-select: none;\n}\n.resize-none {\n resize: none;\n}\n.list-\\[initial\\] {\n list-style-type: initial;\n}\n.list-decimal {\n list-style-type: decimal;\n}\n.appearance-none {\n -webkit-appearance: none;\n -moz-appearance: none;\n appearance: none;\n}\n.flex-row {\n flex-direction: row;\n}\n.flex-row-reverse {\n flex-direction: row-reverse;\n}\n.flex-col {\n flex-direction: column;\n}\n.flex-wrap {\n flex-wrap: wrap;\n}\n.flex-wrap-reverse {\n flex-wrap: wrap-reverse;\n}\n.place-items-center {\n place-items: center;\n}\n.content-center {\n align-content: center;\n}\n.items-start {\n align-items: flex-start;\n}\n.items-end {\n align-items: flex-end;\n}\n.items-center {\n align-items: center;\n}\n.items-stretch {\n align-items: stretch;\n}\n.justify-start {\n justify-content: flex-start;\n}\n.justify-end {\n justify-content: flex-end;\n}\n.justify-center {\n justify-content: center;\n}\n.justify-between {\n justify-content: space-between;\n}\n.gap-0\\.5 {\n gap: 0.125rem;\n}\n.gap-1 {\n gap: 0.25rem;\n}\n.gap-1\\.5 {\n gap: 0.375rem;\n}\n.gap-12 {\n gap: 3rem;\n}\n.gap-2 {\n gap: 0.5rem;\n}\n.gap-2\\.5 {\n gap: 0.625rem;\n}\n.gap-3 {\n gap: 0.75rem;\n}\n.gap-4 {\n gap: 1rem;\n}\n.gap-5 {\n gap: 1.25rem;\n}\n.gap-6 {\n gap: 1.5rem;\n}\n.gap-8 {\n gap: 2rem;\n}\n.gap-\\[1rem_0\\.5rem\\] {\n gap: 1rem 0.5rem;\n}\n.gap-x-3 {\n -moz-column-gap: 0.75rem;\n column-gap: 0.75rem;\n}\n.gap-y-1 {\n row-gap: 0.25rem;\n}\n.gap-y-2 {\n row-gap: 0.5rem;\n}\n.gap-y-6 {\n row-gap: 1.5rem;\n}\n.space-x-1 > :not([hidden]) ~ :not([hidden]) {\n --tw-space-x-reverse: 0;\n margin-right: calc(0.25rem * var(--tw-space-x-reverse));\n margin-left: calc(0.25rem * calc(1 - var(--tw-space-x-reverse)));\n}\n.space-x-2 > :not([hidden]) ~ :not([hidden]) {\n --tw-space-x-reverse: 0;\n margin-right: calc(0.5rem * var(--tw-space-x-reverse));\n margin-left: calc(0.5rem * calc(1 - var(--tw-space-x-reverse)));\n}\n.divide-y > :not([hidden]) ~ :not([hidden]) {\n --tw-divide-y-reverse: 0;\n border-top-width: calc(1px * calc(1 - var(--tw-divide-y-reverse)));\n border-bottom-width: calc(1px * var(--tw-divide-y-reverse));\n}\n.self-start {\n align-self: flex-start;\n}\n.self-center {\n align-self: center;\n}\n.justify-self-end {\n justify-self: end;\n}\n.justify-self-center {\n justify-self: center;\n}\n.overflow-hidden {\n overflow: hidden;\n}\n.overflow-x-auto {\n overflow-x: auto;\n}\n.overflow-y-auto {\n overflow-y: auto;\n}\n.truncate {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n.text-ellipsis {\n text-overflow: ellipsis;\n}\n.whitespace-normal {\n white-space: normal;\n}\n.whitespace-nowrap {\n white-space: nowrap;\n}\n.whitespace-pre {\n white-space: pre;\n}\n.whitespace-pre-wrap {\n white-space: pre-wrap;\n}\n.break-words {\n overflow-wrap: break-word;\n}\n.rounded {\n border-radius: 0.25rem;\n}\n.rounded-\\[0_0_6px_6px\\] {\n border-radius: 0 0 6px 6px;\n}\n.rounded-\\[6px\\] {\n border-radius: 6px;\n}\n.rounded-\\[6px_6px_0_0\\] {\n border-radius: 6px 6px 0 0;\n}\n.rounded-\\[inherit\\] {\n border-radius: inherit;\n}\n.rounded-full {\n border-radius: 9999px;\n}\n.rounded-lg {\n border-radius: 0.5rem;\n}\n.rounded-md {\n border-radius: 0.375rem;\n}\n.rounded-sm {\n border-radius: 0.125rem;\n}\n.rounded-xl {\n border-radius: 0.75rem;\n}\n.border {\n border-width: 1px;\n}\n.border-2 {\n border-width: 2px;\n}\n.border-b {\n border-bottom-width: 1px;\n}\n.border-l {\n border-left-width: 1px;\n}\n.border-solid {\n border-style: solid;\n}\n.border-none {\n border-style: none;\n}\n.border-\\[--end-color\\] {\n border-color: var(--end-color);\n}\n.border-gray-100 {\n border-color: var(--ikp-color-gray-100);\n}\n.border-gray-200 {\n border-color: var(--ikp-color-gray-200);\n}\n.border-gray-300 {\n border-color: var(--ikp-color-gray-300);\n}\n.border-inherit {\n border-color: inherit;\n}\n.border-inkeep-expanded-primary-200 {\n border-color: var(--ikp-color-inkeep-expanded-primary-200);\n}\n.border-transparent {\n border-color: transparent;\n}\n.border-white-alpha-200 {\n border-color: var(--ikp-color-white-alpha-200);\n}\n.border-l-transparent {\n border-left-color: transparent;\n}\n.bg-\\[--start-color\\] {\n background-color: var(--start-color);\n}\n.bg-gray-100 {\n background-color: var(--ikp-color-gray-100);\n}\n.bg-gray-1000 {\n background-color: var(--ikp-color-gray-1000);\n}\n.bg-gray-300 {\n background-color: var(--ikp-color-gray-300);\n}\n.bg-gray-50 {\n background-color: var(--ikp-color-gray-50);\n}\n.bg-inherit {\n background-color: inherit;\n}\n.bg-inkeep-primary-lighter {\n background-color: var(--ikp-color-inkeep-primary-lighter);\n}\n.bg-inkeep-primary-medium {\n background-color: var(--ikp-color-inkeep-primary-medium);\n}\n.bg-inkeep-primary-text-bold {\n background-color: var(--ikp-color-inkeep-primary-text-bold);\n}\n.bg-overlay-light {\n background-color: var(--ikp-color-overlay-light);\n}\n.bg-transparent {\n background-color: transparent;\n}\n.bg-white {\n --tw-bg-opacity: 1;\n background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));\n}\n.bg-gradient-to-br {\n background-image: linear-gradient(to bottom right, var(--tw-gradient-stops));\n}\n.bg-gradient-to-t {\n background-image: linear-gradient(to top, var(--tw-gradient-stops));\n}\n.from-gray-100 {\n --tw-gradient-from: var(--ikp-color-gray-100) var(--tw-gradient-from-position);\n --tw-gradient-to: rgb(255 255 255 / 0) var(--tw-gradient-to-position);\n --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);\n}\n.from-gray-700 {\n --tw-gradient-from: var(--ikp-color-gray-700) var(--tw-gradient-from-position);\n --tw-gradient-to: rgb(255 255 255 / 0) var(--tw-gradient-to-position);\n --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);\n}\n.to-gray-400 {\n --tw-gradient-to: var(--ikp-color-gray-400) var(--tw-gradient-to-position);\n}\n.bg-clip-padding {\n background-clip: padding-box;\n}\n.bg-clip-text {\n -webkit-background-clip: text;\n background-clip: text;\n}\n.fill-white {\n fill: #fff;\n}\n.p-0 {\n padding: 0px;\n}\n.p-0\\.5 {\n padding: 0.125rem;\n}\n.p-1 {\n padding: 0.25rem;\n}\n.p-2 {\n padding: 0.5rem;\n}\n.p-4 {\n padding: 1rem;\n}\n.p-8 {\n padding: 2rem;\n}\n.p-\\[1em\\] {\n padding: 1em;\n}\n.px-0 {\n padding-left: 0px;\n padding-right: 0px;\n}\n.px-1 {\n padding-left: 0.25rem;\n padding-right: 0.25rem;\n}\n.px-2 {\n padding-left: 0.5rem;\n padding-right: 0.5rem;\n}\n.px-3 {\n padding-left: 0.75rem;\n padding-right: 0.75rem;\n}\n.px-4 {\n padding-left: 1rem;\n padding-right: 1rem;\n}\n.px-5 {\n padding-left: 1.25rem;\n padding-right: 1.25rem;\n}\n.px-6 {\n padding-left: 1.5rem;\n padding-right: 1.5rem;\n}\n.px-\\[\\.4rem\\] {\n padding-left: .4rem;\n padding-right: .4rem;\n}\n.px-\\[18px\\] {\n padding-left: 18px;\n padding-right: 18px;\n}\n.py-0 {\n padding-top: 0px;\n padding-bottom: 0px;\n}\n.py-1 {\n padding-top: 0.25rem;\n padding-bottom: 0.25rem;\n}\n.py-1\\.5 {\n padding-top: 0.375rem;\n padding-bottom: 0.375rem;\n}\n.py-2 {\n padding-top: 0.5rem;\n padding-bottom: 0.5rem;\n}\n.py-3 {\n padding-top: 0.75rem;\n padding-bottom: 0.75rem;\n}\n.py-4 {\n padding-top: 1rem;\n padding-bottom: 1rem;\n}\n.py-6 {\n padding-top: 1.5rem;\n padding-bottom: 1.5rem;\n}\n.py-8 {\n padding-top: 2rem;\n padding-bottom: 2rem;\n}\n.py-\\[\\.2rem\\] {\n padding-top: .2rem;\n padding-bottom: .2rem;\n}\n.py-\\[1px\\] {\n padding-top: 1px;\n padding-bottom: 1px;\n}\n.pb-1 {\n padding-bottom: 0.25rem;\n}\n.pb-2\\.5 {\n padding-bottom: 0.625rem;\n}\n.pb-3 {\n padding-bottom: 0.75rem;\n}\n.pb-4 {\n padding-bottom: 1rem;\n}\n.pb-6 {\n padding-bottom: 1.5rem;\n}\n.pb-8 {\n padding-bottom: 2rem;\n}\n.pl-2 {\n padding-left: 0.5rem;\n}\n.pl-6 {\n padding-left: 1.5rem;\n}\n.pl-7 {\n padding-left: 1.75rem;\n}\n.pl-8 {\n padding-left: 2rem;\n}\n.pr-1 {\n padding-right: 0.25rem;\n}\n.pr-12 {\n padding-right: 3rem;\n}\n.pr-8 {\n padding-right: 2rem;\n}\n.pt-0 {\n padding-top: 0px;\n}\n.pt-1 {\n padding-top: 0.25rem;\n}\n.pt-12 {\n padding-top: 3rem;\n}\n.pt-2 {\n padding-top: 0.5rem;\n}\n.pt-3 {\n padding-top: 0.75rem;\n}\n.pt-4 {\n padding-top: 1rem;\n}\n.pt-6 {\n padding-top: 1.5rem;\n}\n.text-left {\n text-align: left;\n}\n.text-center {\n text-align: center;\n}\n.text-start {\n text-align: start;\n}\n.align-middle {\n vertical-align: middle;\n}\n.font-body {\n font-family: var(--ikp-font-family-body);\n}\n.font-heading {\n font-family: var(--ikp-font-family-heading);\n}\n.font-mono {\n font-family: var(--ikp-font-family-mono);\n}\n.text-1sm {\n font-size: var(--ikp-font-size-1sm);\n}\n.text-2sm {\n font-size: var(--ikp-font-size-2sm);\n}\n.text-2xs {\n font-size: var(--ikp-font-size-2xs);\n}\n.text-3xl {\n font-size: var(--ikp-font-size-3xl);\n}\n.text-3xs {\n font-size: var(--ikp-font-size-3xs);\n}\n.text-lg {\n font-size: var(--ikp-font-size-lg);\n}\n.text-md {\n font-size: var(--ikp-font-size-md);\n}\n.text-sm {\n font-size: var(--ikp-font-size-sm);\n}\n.text-xl {\n font-size: var(--ikp-font-size-xl);\n}\n.text-xs {\n font-size: var(--ikp-font-size-xs);\n}\n.font-bold {\n font-weight: 700;\n}\n.font-medium {\n font-weight: 500;\n}\n.font-normal {\n font-weight: 400;\n}\n.font-semibold {\n font-weight: 600;\n}\n.uppercase {\n text-transform: uppercase;\n}\n.leading-4 {\n line-height: 1rem;\n}\n.leading-5 {\n line-height: 1.25rem;\n}\n.leading-6 {\n line-height: 1.5rem;\n}\n.leading-\\[1\\.25\\] {\n line-height: 1.25;\n}\n.leading-\\[1\\.2\\] {\n line-height: 1.2;\n}\n.leading-\\[1em\\] {\n line-height: 1em;\n}\n.leading-\\[unset\\] {\n line-height: unset;\n}\n.leading-snug {\n line-height: 1.375;\n}\n.tracking-tight {\n letter-spacing: -0.025em;\n}\n.tracking-wider {\n letter-spacing: 0.05em;\n}\n.tracking-widest {\n letter-spacing: 0.1em;\n}\n.text-current {\n color: currentColor;\n}\n.text-gray-400 {\n color: var(--ikp-color-gray-400);\n}\n.text-gray-500 {\n color: var(--ikp-color-gray-500);\n}\n.text-gray-600 {\n color: var(--ikp-color-gray-600);\n}\n.text-gray-700 {\n color: var(--ikp-color-gray-700);\n}\n.text-gray-800 {\n color: var(--ikp-color-gray-800);\n}\n.text-green-500 {\n --tw-text-opacity: 1;\n color: rgb(34 197 94 / var(--tw-text-opacity, 1));\n}\n.text-inherit {\n color: inherit;\n}\n.text-inkeep-primary-medium {\n color: var(--ikp-color-inkeep-primary-medium);\n}\n.text-inkeep-primary-strong {\n color: var(--ikp-color-inkeep-primary-strong);\n}\n.text-inkeep-primary-stronger {\n color: var(--ikp-color-inkeep-primary-stronger);\n}\n.text-inkeep-primary-text-bold {\n color: var(--ikp-color-inkeep-primary-text-bold);\n}\n.text-inkeep-primary-text-color-on-primary {\n color: var(--ikp-color-inkeep-primary-text-color-on-primary);\n}\n.text-purple-500 {\n --tw-text-opacity: 1;\n color: rgb(168 85 247 / var(--tw-text-opacity, 1));\n}\n.text-red-500 {\n --tw-text-opacity: 1;\n color: rgb(239 68 68 / var(--tw-text-opacity, 1));\n}\n.text-transparent {\n color: transparent;\n}\n.text-white {\n --tw-text-opacity: 1;\n color: rgb(255 255 255 / var(--tw-text-opacity, 1));\n}\n.opacity-0 {\n opacity: 0;\n}\n.opacity-30 {\n opacity: 0.3;\n}\n.opacity-45 {\n opacity: 0.45;\n}\n.opacity-70 {\n opacity: 0.7;\n}\n.shadow {\n --tw-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);\n --tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n.shadow-2xl {\n --tw-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);\n --tw-shadow-colored: 0 25px 50px -12px var(--tw-shadow-color);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n.shadow-\\[0_0_0_2px_var\\(--shadow-color\\)\\] {\n --tw-shadow: 0 0 0 2px var(--shadow-color);\n --tw-shadow-colored: 0 0 0 2px var(--tw-shadow-color);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n.shadow-\\[0_25px_50px_-12px_rgba\\(0\\2c 0\\2c 0\\2c 0\\.25\\)\\] {\n --tw-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);\n --tw-shadow-colored: 0 25px 50px -12px var(--tw-shadow-color);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n.shadow-\\[0_8px_30px_rgba\\(0\\2c 0\\2c 0\\2c 0\\.12\\)\\] {\n --tw-shadow: 0 8px 30px rgba(0,0,0,0.12);\n --tw-shadow-colored: 0 8px 30px var(--tw-shadow-color);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n.shadow-\\[inset_0_0_0_1px_currentColor\\] {\n --tw-shadow: inset 0 0 0 1px currentColor;\n --tw-shadow-colored: inset 0 0 0 1px var(--tw-shadow-color);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n.shadow-lg {\n --tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);\n --tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n.shadow-md {\n --tw-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);\n --tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n.shadow-none {\n --tw-shadow: 0 0 #0000;\n --tw-shadow-colored: 0 0 #0000;\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n.shadow-\\[none\\] {\n --tw-shadow-color: none;\n --tw-shadow: var(--tw-shadow-colored);\n}\n.outline-none {\n outline: 2px solid transparent;\n outline-offset: 2px;\n}\n.outline {\n outline-style: solid;\n}\n.backdrop-blur-sm {\n --tw-backdrop-blur: blur(4px);\n -webkit-backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);\n backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);\n}\n.transition-\\[common\\] {\n transition-property: common;\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n transition-duration: 150ms;\n}\n.transition-all {\n transition-property: all;\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n transition-duration: 150ms;\n}\n.transition-colors {\n transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n transition-duration: 150ms;\n}\n.transition-opacity {\n transition-property: opacity;\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n transition-duration: 150ms;\n}\n.transition-transform {\n transition-property: transform;\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n transition-duration: 150ms;\n}\n.duration-100 {\n transition-duration: 100ms;\n}\n.duration-200 {\n transition-duration: 200ms;\n}\n.duration-300 {\n transition-duration: 300ms;\n}\n.duration-\\[160ms\\] {\n transition-duration: 160ms;\n}\n.duration-\\[180\\] {\n transition-duration: 180;\n}\n.ease-in-out {\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n}\n.ease-linear {\n transition-timing-function: linear;\n}\n.ease-out {\n transition-timing-function: cubic-bezier(0, 0, 0.2, 1);\n}\n.\\[--ask-ai-trigger-height\\:0px\\] {\n --ask-ai-trigger-height: 0px;\n}\n.\\[--end-color\\:theme\\(colors\\.gray\\.300\\)\\] {\n --end-color: var(--ikp-color-gray-300);\n}\n.\\[--end-color\\:theme\\(colors\\.inkeep-expanded-primary\\.700\\)\\] {\n --end-color: var(--ikp-color-inkeep-expanded-primary-700);\n}\n.\\[--end-color\\:theme\\(colors\\.white-alpha\\.100\\)\\] {\n --end-color: var(--ikp-color-white-alpha-100);\n}\n.\\[--error-border-color\\:theme\\(colors\\.red\\.500\\)\\] {\n --error-border-color: #ef4444;\n}\n.\\[--focus-border-color\\:theme\\(colors\\.blue\\.500\\)\\] {\n --focus-border-color: #3b82f6;\n}\n.\\[--footer-height\\:theme\\(spacing\\.9\\)\\] {\n --footer-height: 2.25rem;\n}\n.\\[--scrollbar-color\\:var\\(--color-gray-300\\)\\] {\n --scrollbar-color: var(--color-gray-300);\n}\n.\\[--start-color\\:theme\\(colors\\.gray\\.50\\)\\] {\n --start-color: var(--ikp-color-gray-50);\n}\n.\\[--start-color\\:theme\\(colors\\.inkeep-expanded-primary\\.300\\)\\] {\n --start-color: var(--ikp-color-inkeep-expanded-primary-300);\n}\n.\\[counter-increment\\:item\\] {\n counter-increment: item;\n}\n.\\[counter-reset\\:item_calc\\(var\\(--start\\2c 0\\)_-_1\\)\\] {\n counter-reset: item calc(var(--start,0) - 1);\n}\n.\\[font-size\\:85\\%\\!important\\] {\n font-size: 85% !important;\n}\n.\\[font-variant-numeric\\:lining-nums_tabular-nums\\] {\n font-variant-numeric: lining-nums tabular-nums;\n}\n.\\[grid-area\\:breadcrumbs\\] {\n grid-area: breadcrumbs;\n}\n.\\[grid-area\\:description\\] {\n grid-area: description;\n}\n.\\[grid-area\\:icon\\] {\n grid-area: icon;\n}\n.\\[grid-area\\:indicator\\] {\n grid-area: indicator;\n}\n.\\[grid-area\\:tag\\] {\n grid-area: tag;\n}\n.\\[grid-area\\:title\\] {\n grid-area: title;\n}\n.\\[grid-template\\:\\"breadcrumbs_breadcrumbs_breadcrumbs_indicator\\"\\"icon_title_tag_indicator\\"\\"description_description_description_indicator\\"\\/auto_auto_1fr_auto\\] {\n grid-template: "breadcrumbs breadcrumbs breadcrumbs indicator""icon title tag indicator""description description description indicator"/auto auto 1fr auto;\n}\n.\\[inset-inline-start\\:var\\(--start\\2c 0px\\)\\] {\n inset-inline-start: var(--start,0px);\n}\n.\\[overflow-wrap\\:anywhere\\] {\n overflow-wrap: anywhere;\n}\n.\\[scrollbar-color\\:var\\(--scrollbar-color\\)_transparent\\] {\n scrollbar-color: var(--scrollbar-color) transparent;\n}\n.\\[scrollbar-width\\:thin\\] {\n scrollbar-width: thin;\n}\n.\\[transition-duration\\:0\\.02s\\] {\n transition-duration: 0.02s;\n}\n.\\[transition-property\\:common\\] {\n transition-property: common;\n}\n\n:where(.inkeep-widget-vars) {\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n font-family: var(--ikp-font-family-body);\n font-size: var(--ikp-font-size-md);\n line-height: 1.5;\n color: var(--ikp-color-gray-800);\n}\n\n[data-theme=\'dark\'] :where(.inkeep-widget-vars) {\n color: var(--ikp-color-white-alpha-950);\n}\n\n:where(.inkeep-widget-vars) *,\n:where(.inkeep-widget-vars) *::before,\n:where(.inkeep-widget-vars) *::after {\n border-color: var(--ikp-color-gray-200);\n}\n\n[data-theme=\'dark\'] :where(.inkeep-widget-vars) *,\n[data-theme=\'dark\'] :where(.inkeep-widget-vars) *::before,\n[data-theme=\'dark\'] :where(.inkeep-widget-vars) *::after {\n border-color: var(--ikp-color-white-alpha-200);\n}\n\n:where(.inkeep-widget-vars) input::-moz-placeholder, :where(.inkeep-widget-vars) textarea::-moz-placeholder {\n color: var(--ikp-color-gray-500);\n}\n\n:where(.inkeep-widget-vars) input::placeholder,\n:where(.inkeep-widget-vars) textarea::placeholder {\n color: var(--ikp-color-gray-500);\n}\n\n[data-theme=\'dark\'] :where(.inkeep-widget-vars) input::-moz-placeholder, [data-theme=\'dark\'] :where(.inkeep-widget-vars) textarea::-moz-placeholder {\n color: var(--ikp-color-white-alpha-500);\n}\n\n[data-theme=\'dark\'] :where(.inkeep-widget-vars) input::placeholder,\n[data-theme=\'dark\'] :where(.inkeep-widget-vars) textarea::placeholder {\n color: var(--ikp-color-white-alpha-500);\n}\n\n:where(.inkeep-widget-vars) [data-part=\'icon\'][data-type=\'built-in\'] {\n display: inline-block;\n min-height: 1em;\n min-width: 1em;\n flex-shrink: 0;\n vertical-align: middle;\n line-height: 1em;\n}\n\nsvg[data-part=\'icon\'][data-type=\'custom\'] {\n /* we don\'t want the wrapper divs to affect layout / positioning of icon */\n display: contents;\n}\n\nsvg[data-part=\'icon\'][data-type=\'custom\'] div {\n display: contents;\n}\n\nimg[data-part=\'icon\'][data-type=\'custom\'] {\n display: inline-block;\n min-height: 1em;\n min-width: 1em;\n}\n\n.\\*\\:invisible > * {\n visibility: hidden;\n}\n\n.\\*\\:m-0 > * {\n margin: 0px;\n}\n\n.file\\:h-full::file-selector-button {\n height: 100%;\n}\n\n.file\\:cursor-pointer::file-selector-button {\n cursor: pointer;\n}\n\n.file\\:border-none::file-selector-button {\n border-style: none;\n}\n\n.file\\:bg-transparent::file-selector-button {\n background-color: transparent;\n}\n\n.file\\:text-sm::file-selector-button {\n font-size: var(--ikp-font-size-sm);\n}\n\n.file\\:font-medium::file-selector-button {\n font-weight: 500;\n}\n\n.file\\:text-gray-700::file-selector-button {\n color: var(--ikp-color-gray-700);\n}\n\n.placeholder\\:text-gray-500::-moz-placeholder {\n color: var(--ikp-color-gray-500);\n}\n\n.placeholder\\:text-gray-500::placeholder {\n color: var(--ikp-color-gray-500);\n}\n\n.before\\:pointer-events-none::before {\n content: var(--tw-content);\n pointer-events: none;\n}\n\n.before\\:invisible::before {\n content: var(--tw-content);\n visibility: hidden;\n}\n\n.before\\:absolute::before {\n content: var(--tw-content);\n position: absolute;\n}\n\n.before\\:left-0::before {\n content: var(--tw-content);\n left: 0px;\n}\n\n.before\\:top-0::before {\n content: var(--tw-content);\n top: 0px;\n}\n\n.before\\:z-hide::before {\n content: var(--tw-content);\n z-index: var(--ikp-z-index-hide);\n}\n\n.before\\:m-auto::before {\n content: var(--tw-content);\n margin: auto;\n}\n\n.before\\:block::before {\n content: var(--tw-content);\n display: block;\n}\n\n.before\\:h-3::before {\n content: var(--tw-content);\n height: 0.75rem;\n}\n\n.before\\:h-\\[--before-size\\]::before {\n content: var(--tw-content);\n height: var(--before-size);\n}\n\n.before\\:w-\\[--before-size\\]::before {\n content: var(--tw-content);\n width: var(--before-size);\n}\n\n.before\\:w-full::before {\n content: var(--tw-content);\n width: 100%;\n}\n\n.before\\:-translate-y-full::before {\n content: var(--tw-content);\n --tw-translate-y: -100%;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n\n.before\\:bg-gray-300::before {\n content: var(--tw-content);\n background-color: var(--ikp-color-gray-300);\n}\n\n.before\\:bg-gradient-to-b::before {\n content: var(--tw-content);\n background-image: linear-gradient(to bottom, var(--tw-gradient-stops));\n}\n\n.before\\:from-transparent::before {\n content: var(--tw-content);\n --tw-gradient-from: transparent var(--tw-gradient-from-position);\n --tw-gradient-to: rgb(0 0 0 / 0) var(--tw-gradient-to-position);\n --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);\n}\n\n.before\\:to-white::before {\n content: var(--tw-content);\n --tw-gradient-to: #fff var(--tw-gradient-to-position);\n}\n\n.before\\:bg-no-repeat::before {\n content: var(--tw-content);\n background-repeat: no-repeat;\n}\n\n.before\\:\\[background-position\\:0_0\\]::before {\n content: var(--tw-content);\n background-position: 0 0;\n}\n\n.before\\:\\[background-size\\:cover\\]::before {\n content: var(--tw-content);\n background-size: cover;\n}\n\n.after\\:invisible::after {\n content: var(--tw-content);\n visibility: hidden;\n}\n\n.after\\:absolute::after {\n content: var(--tw-content);\n position: absolute;\n}\n\n.after\\:bottom-0::after {\n content: var(--tw-content);\n bottom: 0px;\n}\n\n.after\\:left-\\[1px\\]::after {\n content: var(--tw-content);\n left: 1px;\n}\n\n.after\\:top-\\[1px\\]::after {\n content: var(--tw-content);\n top: 1px;\n}\n\n.after\\:z-base::after {\n content: var(--tw-content);\n z-index: var(--ikp-z-index-base);\n}\n\n.after\\:h-\\[calc\\(100\\%-2px\\)\\]::after {\n content: var(--tw-content);\n height: calc(100% - 2px);\n}\n\n.after\\:w-\\[calc\\(100\\%-2px\\)\\]::after {\n content: var(--tw-content);\n width: calc(100% - 2px);\n}\n\n.after\\:rounded-\\[5px\\]::after {\n content: var(--tw-content);\n border-radius: 5px;\n}\n\n.after\\:bg-white::after {\n content: var(--tw-content);\n --tw-bg-opacity: 1;\n background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));\n}\n\n.after\\:bg-gradient-to-t::after {\n content: var(--tw-content);\n background-image: linear-gradient(to top, var(--tw-gradient-stops));\n}\n\n.first\\:w-full:first-child {\n width: 100%;\n}\n\n.last-of-type\\:hidden:last-of-type {\n display: none;\n}\n\n.focus\\:z-base:focus {\n z-index: var(--ikp-z-index-base);\n}\n\n.focus\\:z-start:focus {\n z-index: var(--ikp-z-index-start);\n}\n\n.focus\\:bg-gray-100:focus {\n background-color: var(--ikp-color-gray-100);\n}\n\n.focus\\:outline-none:focus {\n outline: 2px solid transparent;\n outline-offset: 2px;\n}\n\n.focus\\:outline-inkeep-expanded-primary-700:focus {\n outline-color: var(--ikp-color-inkeep-expanded-primary-700);\n}\n\n.focus\\:\\[--shadow-color\\:theme\\(colors\\.blue\\.500\\)\\]:focus {\n --shadow-color: #3b82f6;\n}\n\n.focus-visible\\:outline-none:focus-visible {\n outline: 2px solid transparent;\n outline-offset: 2px;\n}\n\n.focus-visible\\:ring:focus-visible {\n --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);\n --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color);\n box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);\n}\n\n.focus-visible\\:ring-2:focus-visible {\n --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);\n --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);\n box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);\n}\n\n.focus-visible\\:ring-gray-500:focus-visible {\n --tw-ring-color: var(--ikp-color-gray-500);\n}\n\n.focus-visible\\:ring-offset-2:focus-visible {\n --tw-ring-offset-width: 2px;\n}\n\n.active\\:bg-gray-200:active {\n background-color: var(--ikp-color-gray-200);\n}\n\n.active\\:bg-gray-300:active {\n background-color: var(--ikp-color-gray-300);\n}\n\n.active\\:bg-gray-50:active {\n background-color: var(--ikp-color-gray-50);\n}\n\n.active\\:bg-gray-900:active {\n background-color: var(--ikp-color-gray-900);\n}\n\n.disabled\\:cursor-not-allowed:disabled {\n cursor: not-allowed;\n}\n\n.disabled\\:text-gray-500:disabled {\n color: var(--ikp-color-gray-500);\n}\n\n.disabled\\:opacity-40:disabled {\n opacity: 0.4;\n}\n\n.disabled\\:opacity-50:disabled {\n opacity: 0.5;\n}\n\n.disabled\\:shadow-none:disabled {\n --tw-shadow: 0 0 #0000;\n --tw-shadow-colored: 0 0 #0000;\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n\n.active\\:disabled\\:\\[background\\:none\\]:disabled:active {\n background: none;\n}\n\n.group:hover .group-hover\\:text-gray-600 {\n color: var(--ikp-color-gray-600);\n}\n\n.has-\\[\\[data-dual-pane-search-expanded\\]\\]\\:w-\\[min\\(90vw\\2c 1000px\\)\\]:has([data-dual-pane-search-expanded]) {\n width: min(90vw,1000px);\n}\n\n.has-\\[\\[data-scroll-top\\]\\]\\:before\\:opacity-0:has([data-scroll-top])::before {\n content: var(--tw-content);\n opacity: 0;\n}\n\n.has-\\[\\[data-scroll-bottom\\]\\]\\:after\\:opacity-0:has([data-scroll-bottom])::after {\n content: var(--tw-content);\n opacity: 0;\n}\n\n.data-\\[disabled\\]\\:pointer-events-none[data-disabled] {\n pointer-events: none;\n}\n\n.data-\\[mobile\\]\\:inset-0[data-mobile] {\n inset: 0px;\n}\n\n.data-\\[even\\]\\:ml-0[data-even] {\n margin-left: 0px;\n}\n\n.data-\\[even\\]\\:mr-4[data-even] {\n margin-right: 1rem;\n}\n\n.data-\\[role\\=user\\]\\:ml-0[data-role="user"] {\n margin-left: 0px;\n}\n\n.data-\\[role\\=user\\]\\:block[data-role="user"] {\n display: block;\n}\n\n.data-\\[has-results\\]\\:flex[data-has-results] {\n display: flex;\n}\n\n.data-\\[escalated\\]\\:hidden[data-escalated] {\n display: none;\n}\n\n.data-\\[hidden\\]\\:hidden[data-hidden] {\n display: none;\n}\n\n.data-\\[role\\=user\\]\\:hidden[data-role="user"] {\n display: none;\n}\n\n.data-\\[state\\=closed\\]\\:hidden[data-state="closed"] {\n display: none;\n}\n\n.data-\\[submitted\\]\\:hidden[data-submitted] {\n display: none;\n}\n\n.data-\\[has-content\\]\\:h-\\[min\\(calc\\(85vh_-_72px\\)\\2c calc\\(850px_-_72px_-_275px\\)\\)\\][data-has-content] {\n height: min(calc(85vh - 72px),calc(850px - 72px - 275px));\n}\n\n.data-\\[mobile\\]\\:h-\\[unset\\][data-mobile] {\n height: unset;\n}\n\n.data-\\[composite\\]\\:w-full[data-composite] {\n width: 100%;\n}\n\n.data-\\[mobile\\]\\:w-\\[unset\\][data-mobile] {\n width: unset;\n}\n\n.data-\\[role\\=user\\]\\:grow-0[data-role="user"] {\n flex-grow: 0;\n}\n\n.data-\\[side\\=bottom\\]\\:translate-y-1\\.5[data-side="bottom"] {\n --tw-translate-y: 0.375rem;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n\n.data-\\[side\\=left\\]\\:-translate-x-1\\.5[data-side="left"] {\n --tw-translate-x: -0.375rem;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n\n.data-\\[side\\=right\\]\\:translate-x-1\\.5[data-side="right"] {\n --tw-translate-x: 0.375rem;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n\n.data-\\[side\\=top\\]\\:-translate-y-1\\.5[data-side="top"] {\n --tw-translate-y: -0.375rem;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n\n.data-\\[mobile\\]\\:transform-none[data-mobile] {\n transform: none;\n}\n\n@keyframes fade-out {\n\n 0% {\n opacity: 1;\n }\n\n 100% {\n opacity: 0;\n }\n}\n\n.data-\\[state\\=closed\\]\\:animate-fade-out[data-state="closed"] {\n animation: fade-out 0.2s ease-out;\n}\n\n@keyframes fade-in {\n\n 0% {\n opacity: 0;\n }\n\n 100% {\n opacity: 1;\n }\n}\n\n.data-\\[state\\=open\\]\\:animate-fade-in[data-state="open"] {\n animation: fade-in 0.25s ease-out;\n}\n\n.data-\\[loading\\]\\:cursor-wait[data-loading] {\n cursor: wait;\n}\n\n.data-\\[even\\]\\:flex-row[data-even] {\n flex-direction: row;\n}\n\n.data-\\[input-type\\=checkbox\\]\\:flex-row[data-input-type="checkbox"] {\n flex-direction: row;\n}\n\n.data-\\[even\\]\\:items-start[data-even] {\n align-items: flex-start;\n}\n\n.data-\\[input-type\\=checkbox\\]\\:items-center[data-input-type="checkbox"] {\n align-items: center;\n}\n\n.data-\\[role\\=user\\]\\:justify-end[data-role="user"] {\n justify-content: flex-end;\n}\n\n.data-\\[role\\=user\\]\\:whitespace-pre-wrap[data-role="user"] {\n white-space: pre-wrap;\n}\n\n.data-\\[mobile\\]\\:rounded-none[data-mobile] {\n border-radius: 0px;\n}\n\n.data-\\[invalid\\]\\:border-\\[--error-border-color\\][data-invalid] {\n border-color: var(--error-border-color);\n}\n\n.data-\\[state\\=active\\]\\:border-inkeep-primary-medium-subtle[data-state="active"] {\n border-color: var(--ikp-color-inkeep-primary-medium-subtle);\n}\n\n.data-\\[state\\=checked\\]\\:border-gray-1000[data-state="checked"] {\n border-color: var(--ikp-color-gray-1000);\n}\n\n.data-\\[active\\]\\:bg-white[data-active] {\n --tw-bg-opacity: 1;\n background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));\n}\n\n.data-\\[role\\=user\\]\\:bg-gray-50[data-role="user"] {\n background-color: var(--ikp-color-gray-50);\n}\n\n.data-\\[state\\=active\\]\\:bg-inkeep-primary-light-subtle[data-state="active"] {\n background-color: var(--ikp-color-inkeep-primary-light-subtle);\n}\n\n.data-\\[state\\=checked\\]\\:bg-gray-1000[data-state="checked"] {\n background-color: var(--ikp-color-gray-1000);\n}\n\n.data-\\[username\\]\\:bg-inkeep-primary-lighter[data-username] {\n background-color: var(--ikp-color-inkeep-primary-lighter);\n}\n\n.data-\\[has-content\\]\\:pb-2[data-has-content] {\n padding-bottom: 0.5rem;\n}\n\n.data-\\[is-numeric\\=true\\]\\:text-end[data-is-numeric="true"] {\n text-align: end;\n}\n\n.data-\\[highlighted\\]\\:font-semibold[data-highlighted] {\n font-weight: 600;\n}\n\n.data-\\[active\\]\\:text-gray-600[data-active] {\n color: var(--ikp-color-gray-600);\n}\n\n.data-\\[active\\]\\:text-gray-800[data-active] {\n color: var(--ikp-color-gray-800);\n}\n\n.data-\\[copied\\]\\:text-inkeep-primary-medium[data-copied] {\n color: var(--ikp-color-inkeep-primary-medium);\n}\n\n.data-\\[downvoted\\]\\:text-inkeep-primary-medium[data-downvoted] {\n color: var(--ikp-color-inkeep-primary-medium);\n}\n\n.data-\\[highlighted\\]\\:text-inkeep-primary-text-subtle[data-highlighted] {\n color: var(--ikp-color-inkeep-primary-text-subtle);\n}\n\n.data-\\[is-match\\]\\:text-inkeep-expanded-primary-700[data-is-match] {\n color: var(--ikp-color-inkeep-expanded-primary-700);\n}\n\n.data-\\[role\\=user\\]\\:text-gray-700[data-role="user"] {\n color: var(--ikp-color-gray-700);\n}\n\n.data-\\[state\\=active\\]\\:text-inkeep-expanded-primary-900[data-state="active"] {\n color: var(--ikp-color-inkeep-expanded-primary-900);\n}\n\n.data-\\[state\\=checked\\]\\:text-white[data-state="checked"] {\n --tw-text-opacity: 1;\n color: rgb(255 255 255 / var(--tw-text-opacity, 1));\n}\n\n.data-\\[type\\=\\"stackoverflow\\"\\]\\:text-green-500[data-type="stackoverflow"] {\n --tw-text-opacity: 1;\n color: rgb(34 197 94 / var(--tw-text-opacity, 1));\n}\n\n.data-\\[type\\=icon\\]\\:data-\\[role\\=user\\]\\:text-inkeep-primary-medium[data-role="user"][data-type="icon"] {\n color: var(--ikp-color-inkeep-primary-medium);\n}\n\n.data-\\[type\\^\\=\\"github\\"\\]\\:text-purple-500[data-type^="github"] {\n --tw-text-opacity: 1;\n color: rgb(168 85 247 / var(--tw-text-opacity, 1));\n}\n\n.data-\\[upvoted\\]\\:text-inkeep-primary-medium[data-upvoted] {\n color: var(--ikp-color-inkeep-primary-medium);\n}\n\n.data-\\[disabled\\]\\:opacity-50[data-disabled] {\n opacity: 0.5;\n}\n\n.data-\\[active\\]\\:shadow[data-active] {\n --tw-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);\n --tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n\n.data-\\[invalid\\]\\:shadow-\\[0_0_0_1px_var\\(--error-border-color\\)\\][data-invalid] {\n --tw-shadow: 0 0 0 1px var(--error-border-color);\n --tw-shadow-colored: 0 0 0 1px var(--tw-shadow-color);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n\n.data-\\[disable-transitions\\]\\:transition-none[data-disable-transitions] {\n transition-property: none;\n}\n\n.data-\\[type\\=icon\\]\\:\\[--end-color\\:theme\\(colors\\.inkeep-expanded-primary\\.300\\)\\][data-type="icon"] {\n --end-color: var(--ikp-color-inkeep-expanded-primary-300);\n}\n\n.data-\\[type\\=icon\\]\\:data-\\[role\\=assistant\\]\\:\\[--end-color\\:theme\\(colors\\.inkeep-expanded-primary\\.700\\)\\][data-role="assistant"][data-type="icon"] {\n --end-color: var(--ikp-color-inkeep-expanded-primary-700);\n}\n\n.data-\\[mobile\\]\\:\\[--input-height\\:theme\\(spacing\\.16\\)\\][data-mobile] {\n --input-height: 4rem;\n}\n\n.data-\\[invalid\\]\\:\\[--shadow-color\\:theme\\(colors\\.red\\.500\\)\\][data-invalid] {\n --shadow-color: #ef4444;\n}\n\n.data-\\[type\\=icon\\]\\:data-\\[role\\=assistant\\]\\:\\[--start-color\\:theme\\(colors\\.inkeep-expanded-primary\\.300\\)\\][data-role="assistant"][data-type="icon"] {\n --start-color: var(--ikp-color-inkeep-expanded-primary-300);\n}\n\n.data-\\[type\\=icon\\]\\:\\[--start-color\\:theme\\(colors\\.inkeep-expanded-primary\\.50\\)\\][data-type="icon"] {\n --start-color: var(--ikp-color-inkeep-expanded-primary-50);\n}\n\n.data-\\[required\\]\\:after\\:absolute[data-required]::after {\n content: var(--tw-content);\n position: absolute;\n}\n\n.data-\\[show-toolbar\\]\\:after\\:absolute[data-show-toolbar]::after {\n content: var(--tw-content);\n position: absolute;\n}\n\n.data-\\[show-toolbar\\]\\:after\\:left-0[data-show-toolbar]::after {\n content: var(--tw-content);\n left: 0px;\n}\n\n.data-\\[show-toolbar\\]\\:after\\:top-full[data-show-toolbar]::after {\n content: var(--tw-content);\n top: 100%;\n}\n\n.data-\\[show-toolbar\\]\\:after\\:z-start[data-show-toolbar]::after {\n content: var(--tw-content);\n z-index: var(--ikp-z-index-start);\n}\n\n.data-\\[required\\]\\:after\\:ml-1[data-required]::after {\n content: var(--tw-content);\n margin-left: 0.25rem;\n}\n\n.data-\\[required\\]\\:after\\:mt-0[data-required]::after {\n content: var(--tw-content);\n margin-top: 0px;\n}\n\n.data-\\[show-toolbar\\]\\:after\\:h-\\[1rem\\][data-show-toolbar]::after {\n content: var(--tw-content);\n height: 1rem;\n}\n\n.data-\\[show-toolbar\\]\\:after\\:w-full[data-show-toolbar]::after {\n content: var(--tw-content);\n width: 100%;\n}\n\n.data-\\[show-toolbar\\]\\:after\\:bg-\\[linear-gradient\\(currentColor\\2c _transparent\\)\\][data-show-toolbar]::after {\n content: var(--tw-content);\n background-image: linear-gradient(currentColor, transparent);\n}\n\n.data-\\[required\\]\\:after\\:text-red-500[data-required]::after {\n content: var(--tw-content);\n --tw-text-opacity: 1;\n color: rgb(239 68 68 / var(--tw-text-opacity, 1));\n}\n\n.data-\\[show-toolbar\\]\\:after\\:text-white[data-show-toolbar]::after {\n content: var(--tw-content);\n --tw-text-opacity: 1;\n color: rgb(255 255 255 / var(--tw-text-opacity, 1));\n}\n\n.data-\\[required\\]\\:after\\:\\[content\\:\\"\\*\\"\\][data-required]::after {\n content: "*";\n}\n\n@keyframes spin {\n\n to {\n content: var(--tw-content);\n transform: rotate(360deg);\n }\n}\n\n.data-\\[highlight\\]\\:first\\:before\\:animate-\\[spin_4s_linear_infinite\\]:first-child[data-highlight]::before {\n content: var(--tw-content);\n animation: spin 4s linear infinite;\n}\n\n.data-\\[highlight\\]\\:first\\:before\\:\\[background-image\\:conic-gradient\\(transparent\\2c theme\\(colors\\.inkeep-expanded-primary\\.600\\)\\2c transparent_30\\%\\)\\]:first-child[data-highlight]::before {\n content: var(--tw-content);\n background-image: conic-gradient(transparent,var(--ikp-color-inkeep-expanded-primary-600),transparent 30%);\n}\n\n:not(.dark) .light\\:text-gray-700 {\n color: var(--ikp-color-gray-700);\n}\n\n[data-widget-md] .ikp-md\\:mb-0 {\n margin-bottom: 0px;\n}\n\n[data-widget-md] .ikp-md\\:flex {\n display: flex;\n}\n\n[data-widget-md] .ikp-md\\:hidden {\n display: none;\n}\n\n[data-widget-md] .ikp-md\\:h-12 {\n height: 3rem;\n}\n\n[data-widget-md] .ikp-md\\:flex-row {\n flex-direction: row;\n}\n\n[data-widget-md] .ikp-md\\:flex-col {\n flex-direction: column;\n}\n\n[data-widget-md] .ikp-md\\:items-start {\n align-items: flex-start;\n}\n\n[data-widget-md] .ikp-md\\:px-14 {\n padding-left: 3.5rem;\n padding-right: 3.5rem;\n}\n\n[data-widget-md] .ikp-md\\:px-4 {\n padding-left: 1rem;\n padding-right: 1rem;\n}\n\n[data-widget-md] .ikp-md\\:px-8 {\n padding-left: 2rem;\n padding-right: 2rem;\n}\n\n[data-widget-md] .ikp-md\\:py-14 {\n padding-top: 3.5rem;\n padding-bottom: 3.5rem;\n}\n\n[data-widget-md] .ikp-md\\:pb-14 {\n padding-bottom: 3.5rem;\n}\n\n[data-widget-md] .ikp-md\\:pl-3 {\n padding-left: 0.75rem;\n}\n\n[data-widget-md] .ikp-md\\:pr-3 {\n padding-right: 0.75rem;\n}\n\n[data-widget-md] .ikp-md\\:pr-6 {\n padding-right: 1.5rem;\n}\n\n.hover\\:scale-110:hover:not(:disabled) {\n --tw-scale-x: 1.1;\n --tw-scale-y: 1.1;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n\n.hover\\:border-gray-300:hover:not(:disabled) {\n border-color: var(--ikp-color-gray-300);\n}\n\n.hover\\:bg-gray-100:hover:not(:disabled) {\n background-color: var(--ikp-color-gray-100);\n}\n\n.hover\\:bg-gray-200:hover:not(:disabled) {\n background-color: var(--ikp-color-gray-200);\n}\n\n.hover\\:bg-gray-50:hover:not(:disabled) {\n background-color: var(--ikp-color-gray-50);\n}\n\n.hover\\:bg-gray-900:hover:not(:disabled) {\n background-color: var(--ikp-color-gray-900);\n}\n\n.hover\\:bg-inkeep-primary-light-subtle:hover:not(:disabled) {\n background-color: var(--ikp-color-inkeep-primary-light-subtle);\n}\n\n.hover\\:bg-transparent:hover:not(:disabled) {\n background-color: transparent;\n}\n\n.hover\\:text-gray-700:hover:not(:disabled) {\n color: var(--ikp-color-gray-700);\n}\n\n.hover\\:text-gray-800:hover:not(:disabled) {\n color: var(--ikp-color-gray-800);\n}\n\n.hover\\:text-inkeep-primary-strong:hover:not(:disabled) {\n color: var(--ikp-color-inkeep-primary-strong);\n}\n\n.hover\\:text-inkeep-primary-stronger:hover:not(:disabled) {\n color: var(--ikp-color-inkeep-primary-stronger);\n}\n\n.hover\\:underline:hover:not(:disabled) {\n text-decoration-line: underline;\n}\n\n.hover\\:disabled\\:bg-gray-100:disabled:hover:not(:disabled) {\n background-color: var(--ikp-color-gray-100);\n}\n\n.hover\\:disabled\\:\\[background\\:none\\]:disabled:hover:not(:disabled) {\n background: none;\n}\n\n.hover\\:data-\\[state\\=active\\]\\:bg-inkeep-primary-light-subtle[data-state="active"]:hover:not(:disabled) {\n background-color: var(--ikp-color-inkeep-primary-light-subtle);\n}\n\n.data-\\[is-match\\]\\:hover\\:text-inkeep-expanded-primary-800:hover:not(:disabled)[data-is-match] {\n color: var(--ikp-color-inkeep-expanded-primary-800);\n}\n\n.befter\\:pointer-events-none::before {\n pointer-events: none;\n}\n\n.befter\\:absolute::before {\n position: absolute;\n}\n\n.befter\\:inset-x-0::before {\n left: 0px;\n right: 0px;\n}\n\n.befter\\:h-10::before {\n height: 2.5rem;\n}\n\n.befter\\:from-white::before {\n --tw-gradient-from: #fff var(--tw-gradient-from-position);\n --tw-gradient-to: rgb(255 255 255 / 0) var(--tw-gradient-to-position);\n --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);\n}\n\n.befter\\:to-transparent::before {\n --tw-gradient-to: transparent var(--tw-gradient-to-position);\n}\n\n.befter\\:transition-opacity::before {\n transition-property: opacity;\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n transition-duration: 150ms;\n}\n\n.befter\\:duration-300::before {\n transition-duration: 300ms;\n}\n\n.befter\\:ease-in-out::before {\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n}\n\n.befter\\:content-\\[\\"\\"\\]::before {\n --tw-content: "";\n content: var(--tw-content);\n}\n\n.befter\\:pointer-events-none::after {\n pointer-events: none;\n}\n\n.befter\\:absolute::after {\n position: absolute;\n}\n\n.befter\\:inset-x-0::after {\n left: 0px;\n right: 0px;\n}\n\n.befter\\:h-10::after {\n height: 2.5rem;\n}\n\n.befter\\:from-white::after {\n --tw-gradient-from: #fff var(--tw-gradient-from-position);\n --tw-gradient-to: rgb(255 255 255 / 0) var(--tw-gradient-to-position);\n --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);\n}\n\n.befter\\:to-transparent::after {\n --tw-gradient-to: transparent var(--tw-gradient-to-position);\n}\n\n.befter\\:transition-opacity::after {\n transition-property: opacity;\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n transition-duration: 150ms;\n}\n\n.befter\\:duration-300::after {\n transition-duration: 300ms;\n}\n\n.befter\\:ease-in-out::after {\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n}\n\n.befter\\:content-\\[\\"\\"\\]::after {\n --tw-content: "";\n content: var(--tw-content);\n}\n\n.selected\\:border-inkeep-primary-medium-subtle[data-selected="true"] {\n border-color: var(--ikp-color-inkeep-primary-medium-subtle);\n}\n\n.selected\\:bg-inkeep-primary-light-subtle[data-selected="true"] {\n background-color: var(--ikp-color-inkeep-primary-light-subtle);\n}\n\n.selected\\:text-inkeep-primary-strong[data-selected="true"] {\n color: var(--ikp-color-inkeep-primary-strong);\n}\n\n.selected\\:border-inkeep-primary-medium-subtle:hover {\n border-color: var(--ikp-color-inkeep-primary-medium-subtle);\n}\n\n.selected\\:bg-inkeep-primary-light-subtle:hover {\n background-color: var(--ikp-color-inkeep-primary-light-subtle);\n}\n\n.selected\\:text-inkeep-primary-strong:hover {\n color: var(--ikp-color-inkeep-primary-strong);\n}\n\n.group[data-selected="true"] .group-selected\\:text-inkeep-primary-text-bold {\n color: var(--ikp-color-inkeep-primary-text-bold);\n}\n\n.group[data-selected="true"] .group-selected\\:text-inkeep-primary-text-subtle {\n color: var(--ikp-color-inkeep-primary-text-subtle);\n}\n\n.group[data-selected="true"] .group-selected\\:opacity-100 {\n opacity: 1;\n}\n\n.group:hover .group-selected\\:text-inkeep-primary-text-bold {\n color: var(--ikp-color-inkeep-primary-text-bold);\n}\n\n.group:hover .group-selected\\:text-inkeep-primary-text-subtle {\n color: var(--ikp-color-inkeep-primary-text-subtle);\n}\n\n.group:hover .group-selected\\:opacity-100 {\n opacity: 1;\n}\n\n.dark\\:border-gray-700:is([data-theme="dark"] *) {\n border-color: var(--ikp-color-gray-700);\n}\n\n.dark\\:border-gray-dark-500:is([data-theme="dark"] *) {\n border-color: var(--ikp-color-gray-dark-500);\n}\n\n.dark\\:border-gray-dark-700:is([data-theme="dark"] *) {\n border-color: var(--ikp-color-gray-dark-700);\n}\n\n.dark\\:border-inkeep-expanded-primary-200:is([data-theme="dark"] *) {\n border-color: var(--ikp-color-inkeep-expanded-primary-200);\n}\n\n.dark\\:border-transparent:is([data-theme="dark"] *) {\n border-color: transparent;\n}\n\n.dark\\:border-white-alpha-200:is([data-theme="dark"] *) {\n border-color: var(--ikp-color-white-alpha-200);\n}\n\n.dark\\:bg-gray-dark-600:is([data-theme="dark"] *) {\n background-color: var(--ikp-color-gray-dark-600);\n}\n\n.dark\\:bg-gray-dark-700:is([data-theme="dark"] *) {\n background-color: var(--ikp-color-gray-dark-700);\n}\n\n.dark\\:bg-gray-dark-800:is([data-theme="dark"] *) {\n background-color: var(--ikp-color-gray-dark-800);\n}\n\n.dark\\:bg-gray-dark-900:is([data-theme="dark"] *) {\n background-color: var(--ikp-color-gray-dark-900);\n}\n\n.dark\\:bg-gray-dark-950:is([data-theme="dark"] *) {\n background-color: var(--ikp-color-gray-dark-950);\n}\n\n.dark\\:bg-inkeep-expanded-primary-300:is([data-theme="dark"] *) {\n background-color: var(--ikp-color-inkeep-expanded-primary-300);\n}\n\n.dark\\:bg-overlay-dark:is([data-theme="dark"] *) {\n background-color: var(--ikp-color-overlay-dark);\n}\n\n.dark\\:bg-transparent:is([data-theme="dark"] *) {\n background-color: transparent;\n}\n\n.dark\\:bg-white-alpha-100:is([data-theme="dark"] *) {\n background-color: var(--ikp-color-white-alpha-100);\n}\n\n.dark\\:bg-white-alpha-200:is([data-theme="dark"] *) {\n background-color: var(--ikp-color-white-alpha-200);\n}\n\n.dark\\:bg-white-alpha-50:is([data-theme="dark"] *) {\n background-color: var(--ikp-color-white-alpha-50);\n}\n\n.dark\\:from-gray-dark-300:is([data-theme="dark"] *) {\n --tw-gradient-from: var(--ikp-color-gray-dark-300) var(--tw-gradient-from-position);\n --tw-gradient-to: rgb(255 255 255 / 0) var(--tw-gradient-to-position);\n --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);\n}\n\n.dark\\:from-gray-dark-600:is([data-theme="dark"] *) {\n --tw-gradient-from: var(--ikp-color-gray-dark-600) var(--tw-gradient-from-position);\n --tw-gradient-to: rgb(255 255 255 / 0) var(--tw-gradient-to-position);\n --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);\n}\n\n.dark\\:to-gray-dark-100:is([data-theme="dark"] *) {\n --tw-gradient-to: var(--ikp-color-gray-dark-100) var(--tw-gradient-to-position);\n}\n\n.dark\\:fill-gray-dark-800:is([data-theme="dark"] *) {\n fill: var(--ikp-color-gray-dark-800);\n}\n\n.dark\\:text-gray-200:is([data-theme="dark"] *) {\n color: var(--ikp-color-gray-200);\n}\n\n.dark\\:text-gray-400:is([data-theme="dark"] *) {\n color: var(--ikp-color-gray-400);\n}\n\n.dark\\:text-gray-dark-100:is([data-theme="dark"] *) {\n color: var(--ikp-color-gray-dark-100);\n}\n\n.dark\\:text-gray-dark-200:is([data-theme="dark"] *) {\n color: var(--ikp-color-gray-dark-200);\n}\n\n.dark\\:text-gray-dark-300:is([data-theme="dark"] *) {\n color: var(--ikp-color-gray-dark-300);\n}\n\n.dark\\:text-gray-dark-400:is([data-theme="dark"] *) {\n color: var(--ikp-color-gray-dark-400);\n}\n\n.dark\\:text-gray-dark-950:is([data-theme="dark"] *) {\n color: var(--ikp-color-gray-dark-950);\n}\n\n.dark\\:text-inkeep-expanded-primary-100:is([data-theme="dark"] *) {\n color: var(--ikp-color-inkeep-expanded-primary-100);\n}\n\n.dark\\:text-inkeep-expanded-primary-300:is([data-theme="dark"] *) {\n color: var(--ikp-color-inkeep-expanded-primary-300);\n}\n\n.dark\\:text-inkeep-expanded-primary-500:is([data-theme="dark"] *) {\n color: var(--ikp-color-inkeep-expanded-primary-500);\n}\n\n.dark\\:text-red-300:is([data-theme="dark"] *) {\n --tw-text-opacity: 1;\n color: rgb(252 165 165 / var(--tw-text-opacity, 1));\n}\n\n.dark\\:text-white-alpha-500:is([data-theme="dark"] *) {\n color: var(--ikp-color-white-alpha-500);\n}\n\n.dark\\:text-white-alpha-600:is([data-theme="dark"] *) {\n color: var(--ikp-color-white-alpha-600);\n}\n\n.dark\\:text-white-alpha-700:is([data-theme="dark"] *) {\n color: var(--ikp-color-white-alpha-700);\n}\n\n.dark\\:text-white-alpha-900:is([data-theme="dark"] *) {\n color: var(--ikp-color-white-alpha-900);\n}\n\n.dark\\:text-white-alpha-950:is([data-theme="dark"] *) {\n color: var(--ikp-color-white-alpha-950);\n}\n\n.dark\\:shadow-none:is([data-theme="dark"] *) {\n --tw-shadow: 0 0 #0000;\n --tw-shadow-colored: 0 0 #0000;\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n\n.dark\\:shadow-\\[none\\]:is([data-theme="dark"] *) {\n --tw-shadow-color: none;\n --tw-shadow: var(--tw-shadow-colored);\n}\n\n.dark\\:\\[--end-color\\:theme\\(colors\\.gray-dark\\.600\\)\\]:is([data-theme="dark"] *) {\n --end-color: var(--ikp-color-gray-dark-600);\n}\n\n.dark\\:\\[--end-color\\:theme\\(colors\\.inkeep-expanded-primary\\.300\\)\\]:is([data-theme="dark"] *) {\n --end-color: var(--ikp-color-inkeep-expanded-primary-300);\n}\n\n.dark\\:\\[--end-color\\:theme\\(colors\\.white-alpha\\.300\\)\\]:is([data-theme="dark"] *) {\n --end-color: var(--ikp-color-white-alpha-300);\n}\n\n.dark\\:\\[--error-border-color\\:theme\\(colors\\.red\\.300\\)\\]:is([data-theme="dark"] *) {\n --error-border-color: #fca5a5;\n}\n\n.dark\\:\\[--focus-border-color\\:theme\\(colors\\.blue\\.300\\)\\]:is([data-theme="dark"] *) {\n --focus-border-color: #93c5fd;\n}\n\n.dark\\:\\[--scrollbar-color\\:var\\(--color-gray-dark-600\\)\\]:is([data-theme="dark"] *) {\n --scrollbar-color: var(--color-gray-dark-600);\n}\n\n.dark\\:\\[--start-color\\:theme\\(colors\\.gray-dark\\.800\\)\\]:is([data-theme="dark"] *) {\n --start-color: var(--ikp-color-gray-dark-800);\n}\n\n.dark\\:\\[--start-color\\:theme\\(colors\\.gray\\.300\\)\\]:is([data-theme="dark"] *) {\n --start-color: var(--ikp-color-gray-300);\n}\n\n.dark\\:\\[--start-color\\:theme\\(colors\\.inkeep-expanded-primary\\.50\\)\\]:is([data-theme="dark"] *) {\n --start-color: var(--ikp-color-inkeep-expanded-primary-50);\n}\n\n.dark\\:file\\:text-white-alpha-700:is([data-theme="dark"] *)::file-selector-button {\n color: var(--ikp-color-white-alpha-700);\n}\n\n.dark\\:placeholder\\:text-gray-dark-200:is([data-theme="dark"] *)::-moz-placeholder {\n color: var(--ikp-color-gray-dark-200);\n}\n\n.dark\\:placeholder\\:text-gray-dark-200:is([data-theme="dark"] *)::placeholder {\n color: var(--ikp-color-gray-dark-200);\n}\n\n.dark\\:before\\:bg-gray-dark-950:is([data-theme="dark"] *)::before {\n content: var(--tw-content);\n background-color: var(--ikp-color-gray-dark-950);\n}\n\n.dark\\:before\\:to-gray-dark-950:is([data-theme="dark"] *)::before {\n content: var(--tw-content);\n --tw-gradient-to: var(--ikp-color-gray-dark-950) var(--tw-gradient-to-position);\n}\n\n.dark\\:after\\:bg-gray-dark-950:is([data-theme="dark"] *)::after {\n content: var(--tw-content);\n background-color: var(--ikp-color-gray-dark-950);\n}\n\n.dark\\:focus\\:bg-gray-dark-800:focus:is([data-theme="dark"] *) {\n background-color: var(--ikp-color-gray-dark-800);\n}\n\n.dark\\:focus\\:outline-inkeep-expanded-primary-300:focus:is([data-theme="dark"] *) {\n outline-color: var(--ikp-color-inkeep-expanded-primary-300);\n}\n\n.dark\\:focus-visible\\:ring-white-alpha-900:focus-visible:is([data-theme="dark"] *) {\n --tw-ring-color: var(--ikp-color-white-alpha-900);\n}\n\n.dark\\:focus-visible\\:ring-offset-gray-950:focus-visible:is([data-theme="dark"] *) {\n --tw-ring-offset-color: var(--ikp-color-gray-950);\n}\n\n.dark\\:active\\:bg-inkeep-expanded-primary-200:active:is([data-theme="dark"] *) {\n background-color: var(--ikp-color-inkeep-expanded-primary-200);\n}\n\n.dark\\:active\\:bg-white-alpha-100:active:is([data-theme="dark"] *) {\n background-color: var(--ikp-color-white-alpha-100);\n}\n\n.dark\\:active\\:bg-white-alpha-200:active:is([data-theme="dark"] *) {\n background-color: var(--ikp-color-white-alpha-200);\n}\n\n.dark\\:active\\:bg-white-alpha-400:active:is([data-theme="dark"] *) {\n background-color: var(--ikp-color-white-alpha-400);\n}\n\n.dark\\:disabled\\:text-white-alpha-200:disabled:is([data-theme="dark"] *) {\n color: var(--ikp-color-white-alpha-200);\n}\n\n.group:hover .dark\\:group-hover\\:text-white-alpha-600:is([data-theme="dark"] *) {\n color: var(--ikp-color-white-alpha-600);\n}\n\n.dark\\:data-\\[state\\=active\\]\\:border-inkeep-expanded-primary-300[data-state="active"]:is([data-theme="dark"] *) {\n border-color: var(--ikp-color-inkeep-expanded-primary-300);\n}\n\n.dark\\:data-\\[state\\=checked\\]\\:border-white-alpha-950[data-state="checked"]:is([data-theme="dark"] *) {\n border-color: var(--ikp-color-white-alpha-950);\n}\n\n.dark\\:data-\\[active\\]\\:bg-gray-dark-700[data-active]:is([data-theme="dark"] *) {\n background-color: var(--ikp-color-gray-dark-700);\n}\n\n.dark\\:data-\\[state\\=active\\]\\:bg-white-alpha-100[data-state="active"]:is([data-theme="dark"] *) {\n background-color: var(--ikp-color-white-alpha-100);\n}\n\n.dark\\:data-\\[state\\=checked\\]\\:bg-white-alpha-950[data-state="checked"]:is([data-theme="dark"] *) {\n background-color: var(--ikp-color-white-alpha-950);\n}\n\n.dark\\:data-\\[username\\]\\:bg-inkeep-expanded-primary-300[data-username]:is([data-theme="dark"] *) {\n background-color: var(--ikp-color-inkeep-expanded-primary-300);\n}\n\n.dark\\:data-\\[active\\]\\:text-white-alpha-600[data-active]:is([data-theme="dark"] *) {\n color: var(--ikp-color-white-alpha-600);\n}\n\n.dark\\:data-\\[active\\]\\:text-white-alpha-950[data-active]:is([data-theme="dark"] *) {\n color: var(--ikp-color-white-alpha-950);\n}\n\n.dark\\:data-\\[highlighted\\]\\:text-gray-dark-50[data-highlighted]:is([data-theme="dark"] *) {\n color: var(--ikp-color-gray-dark-50);\n}\n\n.dark\\:data-\\[is-match\\]\\:text-inkeep-expanded-primary-300[data-is-match]:is([data-theme="dark"] *) {\n color: var(--ikp-color-inkeep-expanded-primary-300);\n}\n\n.dark\\:data-\\[role\\=user\\]\\:text-white-alpha-700[data-role="user"]:is([data-theme="dark"] *) {\n color: var(--ikp-color-white-alpha-700);\n}\n\n.dark\\:data-\\[state\\=active\\]\\:text-inkeep-expanded-primary-300[data-state="active"]:is([data-theme="dark"] *) {\n color: var(--ikp-color-inkeep-expanded-primary-300);\n}\n\n.dark\\:data-\\[state\\=checked\\]\\:text-gray-1000[data-state="checked"]:is([data-theme="dark"] *) {\n color: var(--ikp-color-gray-1000);\n}\n\n.dark\\:data-\\[type\\=icon\\]\\:data-\\[role\\=user\\]\\:text-inkeep-expanded-primary-300[data-role="user"][data-type="icon"]:is([data-theme="dark"] *) {\n color: var(--ikp-color-inkeep-expanded-primary-300);\n}\n\n.data-\\[downvoted\\]\\:dark\\:text-inkeep-expanded-primary-300:is([data-theme="dark"] *)[data-downvoted] {\n color: var(--ikp-color-inkeep-expanded-primary-300);\n}\n\n.data-\\[upvoted\\]\\:dark\\:text-inkeep-expanded-primary-300:is([data-theme="dark"] *)[data-upvoted] {\n color: var(--ikp-color-inkeep-expanded-primary-300);\n}\n\n.dark\\:data-\\[type\\=icon\\]\\:data-\\[role\\=assistant\\]\\:\\[--end-color\\:theme\\(colors\\.inkeep-expanded-primary\\.300\\)\\][data-role="assistant"][data-type="icon"]:is([data-theme="dark"] *) {\n --end-color: var(--ikp-color-inkeep-expanded-primary-300);\n}\n\n.dark\\:data-\\[type\\=icon\\]\\:data-\\[role\\=assistant\\]\\:\\[--start-color\\:theme\\(colors\\.inkeep-expanded-primary\\.50\\)\\][data-role="assistant"][data-type="icon"]:is([data-theme="dark"] *) {\n --start-color: var(--ikp-color-inkeep-expanded-primary-50);\n}\n\n.dark\\:data-\\[required\\]\\:after\\:text-red-300[data-required]:is([data-theme="dark"] *)::after {\n content: var(--tw-content);\n --tw-text-opacity: 1;\n color: rgb(252 165 165 / var(--tw-text-opacity, 1));\n}\n\n.data-\\[show-toolbar\\]\\:after\\:dark\\:text-gray-dark-950:is([data-theme="dark"] *)[data-show-toolbar]::after {\n content: var(--tw-content);\n color: var(--ikp-color-gray-dark-950);\n}\n\n.dark\\:data-\\[highlight\\]\\:first\\:before\\:\\[background-image\\:conic-gradient\\(transparent\\2c theme\\(colors\\.inkeep-expanded-primary\\.300\\)\\2c transparent_30\\%\\)\\]:first-child[data-highlight]:is([data-theme="dark"] *)::before {\n content: var(--tw-content);\n background-image: conic-gradient(transparent,var(--ikp-color-inkeep-expanded-primary-300),transparent 30%);\n}\n\n.dark\\:hover\\:border-white-alpha-300:hover:not(:disabled):is([data-theme="dark"] *) {\n border-color: var(--ikp-color-white-alpha-300);\n}\n\n.dark\\:hover\\:bg-gray-dark-800:hover:not(:disabled):is([data-theme="dark"] *) {\n background-color: var(--ikp-color-gray-dark-800);\n}\n\n.dark\\:hover\\:bg-inkeep-expanded-primary-200:hover:not(:disabled):is([data-theme="dark"] *) {\n background-color: var(--ikp-color-inkeep-expanded-primary-200);\n}\n\n.dark\\:hover\\:bg-transparent:hover:not(:disabled):is([data-theme="dark"] *) {\n background-color: transparent;\n}\n\n.dark\\:hover\\:bg-white-alpha-100:hover:not(:disabled):is([data-theme="dark"] *) {\n background-color: var(--ikp-color-white-alpha-100);\n}\n\n.dark\\:hover\\:bg-white-alpha-200:hover:not(:disabled):is([data-theme="dark"] *) {\n background-color: var(--ikp-color-white-alpha-200);\n}\n\n.dark\\:hover\\:bg-white-alpha-50:hover:not(:disabled):is([data-theme="dark"] *) {\n background-color: var(--ikp-color-white-alpha-50);\n}\n\n.dark\\:hover\\:text-inkeep-expanded-primary-100:hover:not(:disabled):is([data-theme="dark"] *) {\n color: var(--ikp-color-inkeep-expanded-primary-100);\n}\n\n.dark\\:hover\\:text-inkeep-expanded-primary-300:hover:not(:disabled):is([data-theme="dark"] *) {\n color: var(--ikp-color-inkeep-expanded-primary-300);\n}\n\n.dark\\:hover\\:text-white-alpha-500:hover:not(:disabled):is([data-theme="dark"] *) {\n color: var(--ikp-color-white-alpha-500);\n}\n\n.dark\\:hover\\:text-white-alpha-800:hover:not(:disabled):is([data-theme="dark"] *) {\n color: var(--ikp-color-white-alpha-800);\n}\n\n.dark\\:hover\\:text-white-alpha-950:hover:not(:disabled):is([data-theme="dark"] *) {\n color: var(--ikp-color-white-alpha-950);\n}\n\n.hover\\:dark\\:text-white-alpha-950:is([data-theme="dark"] *):hover:not(:disabled) {\n color: var(--ikp-color-white-alpha-950);\n}\n\n.dark\\:hover\\:disabled\\:bg-white-alpha-100:disabled:hover:not(:disabled):is([data-theme="dark"] *) {\n background-color: var(--ikp-color-white-alpha-100);\n}\n\n.dark\\:hover\\:data-\\[state\\=active\\]\\:bg-white-alpha-100[data-state="active"]:hover:not(:disabled):is([data-theme="dark"] *) {\n background-color: var(--ikp-color-white-alpha-100);\n}\n\n.dark\\:data-\\[is-match\\]\\:hover\\:text-inkeep-expanded-primary-200:hover:not(:disabled)[data-is-match]:is([data-theme="dark"] *) {\n color: var(--ikp-color-inkeep-expanded-primary-200);\n}\n\n.befter\\:dark\\:from-gray-dark-950:is([data-theme="dark"] *)::before {\n --tw-gradient-from: var(--ikp-color-gray-dark-950) var(--tw-gradient-from-position);\n --tw-gradient-to: rgb(255 255 255 / 0) var(--tw-gradient-to-position);\n --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);\n}\n\n.befter\\:dark\\:from-gray-dark-950:is([data-theme="dark"] *)::after {\n --tw-gradient-from: var(--ikp-color-gray-dark-950) var(--tw-gradient-from-position);\n --tw-gradient-to: rgb(255 255 255 / 0) var(--tw-gradient-to-position);\n --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);\n}\n\n.dark\\:selected\\:border-inkeep-expanded-primary-300[data-selected="true"]:is([data-theme="dark"] *) {\n border-color: var(--ikp-color-inkeep-expanded-primary-300);\n}\n\n.dark\\:selected\\:bg-white-alpha-200[data-selected="true"]:is([data-theme="dark"] *) {\n background-color: var(--ikp-color-white-alpha-200);\n}\n\n.dark\\:selected\\:text-inkeep-expanded-primary-300[data-selected="true"]:is([data-theme="dark"] *) {\n color: var(--ikp-color-inkeep-expanded-primary-300);\n}\n\n.dark\\:selected\\:border-inkeep-expanded-primary-300:hover:is([data-theme="dark"] *) {\n border-color: var(--ikp-color-inkeep-expanded-primary-300);\n}\n\n.dark\\:selected\\:bg-white-alpha-200:hover:is([data-theme="dark"] *) {\n background-color: var(--ikp-color-white-alpha-200);\n}\n\n.dark\\:selected\\:text-inkeep-expanded-primary-300:hover:is([data-theme="dark"] *) {\n color: var(--ikp-color-inkeep-expanded-primary-300);\n}\n\n.group[data-selected="true"] .dark\\:group-selected\\:text-gray-dark-100:is([data-theme="dark"] *) {\n color: var(--ikp-color-gray-dark-100);\n}\n\n.group[data-selected="true"] .dark\\:group-selected\\:text-white:is([data-theme="dark"] *) {\n --tw-text-opacity: 1;\n color: rgb(255 255 255 / var(--tw-text-opacity, 1));\n}\n\n.group:hover .dark\\:group-selected\\:text-gray-dark-100:is([data-theme="dark"] *) {\n color: var(--ikp-color-gray-dark-100);\n}\n\n.group:hover .dark\\:group-selected\\:text-white:is([data-theme="dark"] *) {\n --tw-text-opacity: 1;\n color: rgb(255 255 255 / var(--tw-text-opacity, 1));\n}\n\n@media (min-width: 640px) {\n\n .sm\\:w-\\[420px\\] {\n width: 420px;\n }\n}\n\n@media (min-width: 768px) {\n\n .md\\:my-12 {\n margin-top: 3rem;\n margin-bottom: 3rem;\n }\n\n .md\\:flex {\n display: flex;\n }\n\n .md\\:hidden {\n display: none;\n }\n\n .md\\:h-\\[min\\(760px\\2c 100\\%\\)\\] {\n height: min(760px,100%);\n }\n\n .md\\:w-\\[min\\(600px\\2c 100\\%\\)\\] {\n width: min(600px,100%);\n }\n\n .md\\:min-w-\\[min\\(320px\\2c 100\\%\\)\\] {\n min-width: min(320px,100%);\n }\n\n .md\\:p-10 {\n padding: 2.5rem;\n }\n\n .md\\:text-4xl {\n font-size: var(--ikp-font-size-4xl);\n }\n\n .md\\:text-sm {\n font-size: var(--ikp-font-size-sm);\n }\n\n .md\\:leading-5 {\n line-height: 1.25rem;\n }\n\n .md\\:data-\\[view\\=dual-pane\\]\\:hidden[data-view="dual-pane"] {\n display: none;\n }\n\n .md\\:data-\\[dual-pane-search-expanded\\]\\:h-\\[min\\(calc\\(85vh_-_72px\\)\\2c calc\\(900px_-_72px_-_135px\\)\\)\\][data-dual-pane-search-expanded] {\n height: min(calc(85vh - 72px),calc(900px - 72px - 135px));\n }\n\n .md\\:data-\\[view\\=dual-pane\\]\\:\\[grid-template\\:\\"breadcrumbs_breadcrumbs_breadcrumbs\\"\\"icon_title_tag\\"\\"description_description_description\\"\\/auto_auto_1fr\\][data-view="dual-pane"] {\n grid-template: "breadcrumbs breadcrumbs breadcrumbs""icon title tag""description description description"/auto auto 1fr;\n }\n}\n\n@media (min-width: 1024px) {\n\n .lg\\:h-\\[min\\(800px\\2c 100\\%\\)\\] {\n height: min(800px,100%);\n }\n\n .lg\\:w-\\[min\\(640px\\2c 100\\%\\)\\] {\n width: min(640px,100%);\n }\n}\n\n@media (min-width: 1536px) {\n\n .\\32xl\\:h-\\[min\\(900px\\2c 100\\%\\)\\] {\n height: min(900px,100%);\n }\n\n .\\32xl\\:w-\\[min\\(760px\\2c 100\\%\\)\\] {\n width: min(760px,100%);\n }\n}\n\n.\\[\\&\\:not\\(\\:last-child\\)\\]\\:after\\:absolute:not(:last-child)::after {\n content: var(--tw-content);\n position: absolute;\n}\n\n.\\[\\&\\:not\\(\\:last-child\\)\\]\\:after\\:inset-x-6:not(:last-child)::after {\n content: var(--tw-content);\n left: 1.5rem;\n right: 1.5rem;\n}\n\n.\\[\\&\\:not\\(\\:last-child\\)\\]\\:after\\:bottom-0:not(:last-child)::after {\n content: var(--tw-content);\n bottom: 0px;\n}\n\n.\\[\\&\\:not\\(\\:last-child\\)\\]\\:after\\:border-b:not(:last-child)::after {\n content: var(--tw-content);\n border-bottom-width: 1px;\n}\n\n[data-widget-md] .ikp-md\\:\\[\\&\\:not\\(\\:last-child\\)\\]\\:after\\:inset-x-8:not(:last-child)::after {\n content: var(--tw-content);\n left: 2rem;\n right: 2rem;\n}\n\n.focus\\:\\[\\&\\:not\\(\\[data-invalid\\]\\)\\]\\:border-\\[--focus-border-color\\]:not([data-invalid]):focus {\n border-color: var(--focus-border-color);\n}\n\n.focus\\:\\[\\&\\:not\\(\\[data-invalid\\]\\)\\]\\:shadow-\\[0_0_0_1px_var\\(--focus-border-color\\)\\]:not([data-invalid]):focus {\n --tw-shadow: 0 0 0 1px var(--focus-border-color);\n --tw-shadow-colored: 0 0 0 1px var(--tw-shadow-color);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n\n.\\[\\&\\:where\\(\\:hover\\2c \\:focus\\)\\]\\:bg-slate-400\\/5:where(:hover,:focus) {\n background-color: rgb(148 163 184 / 0.05);\n}\n\n.dark\\:\\[\\&\\:where\\(\\:hover\\2c \\:focus\\)\\]\\:bg-white-alpha-100:where(:hover,:focus):is([data-theme="dark"] *) {\n background-color: var(--ikp-color-white-alpha-100);\n}\n\n.\\[\\&\\>\\:first-child\\]\\:basis-full>:first-child {\n flex-basis: 100%;\n}\n\n.\\[\\&\\[data-mobile\\]\\>div\\]\\:h-full[data-mobile]>div {\n height: 100%;\n}\n\n.\\[\\&\\[data-mobile\\]\\>div\\]\\:max-h-\\[unset\\][data-mobile]>div {\n max-height: unset;\n}\n\n.\\[\\&\\[data-mobile\\]\\>div\\]\\:max-h-dvh[data-mobile]>div {\n max-height: 100dvh;\n}\n\n.\\[\\&_\\[data-part\\=grid\\]\\]\\:divide-y [data-part=grid] > :not([hidden]) ~ :not([hidden]) {\n --tw-divide-y-reverse: 0;\n border-top-width: calc(1px * calc(1 - var(--tw-divide-y-reverse)));\n border-bottom-width: calc(1px * var(--tw-divide-y-reverse));\n}\n\n.\\[\\&_\\[data-part\\=grid\\]\\]\\:px-1 [data-part=grid] {\n padding-left: 0.25rem;\n padding-right: 0.25rem;\n}\n\n.\\[\\&_a\\]\\:inline a {\n display: inline;\n}\n\n.\\[\\&_a\\]\\:break-words a {\n overflow-wrap: break-word;\n}\n\n.\\[\\&_a\\]\\:rounded-sm a {\n border-radius: 0.125rem;\n}\n\n.\\[\\&_a\\]\\:bg-inkeep-primary-light a {\n background-color: var(--ikp-color-inkeep-primary-light);\n}\n\n.\\[\\&_a\\]\\:px-1 a {\n padding-left: 0.25rem;\n padding-right: 0.25rem;\n}\n\n.\\[\\&_a\\]\\:py-\\[1px\\] a {\n padding-top: 1px;\n padding-bottom: 1px;\n}\n\n.\\[\\&_a\\]\\:font-semibold a {\n font-weight: 600;\n}\n\n.\\[\\&_a\\]\\:text-inkeep-primary-text-subtle a {\n color: var(--ikp-color-inkeep-primary-text-subtle);\n}\n\n.\\[\\&_a\\]\\:no-underline a {\n text-decoration-line: none;\n}\n\n.\\[\\&_a\\]\\:hover\\:text-inkeep-primary-text-bold:hover:not(:disabled) a {\n color: var(--ikp-color-inkeep-primary-text-bold);\n}\n\n.\\[\\&_a\\]\\:hover\\:no-underline:hover:not(:disabled) a {\n text-decoration-line: none;\n}\n\n.\\[\\&_a\\]\\:dark\\:bg-inkeep-primary-text-subtle:is([data-theme="dark"] *) a {\n background-color: var(--ikp-color-inkeep-primary-text-subtle);\n}\n\n.\\[\\&_a\\]\\:dark\\:hover\\:text-inkeep-expanded-primary-200:hover:not(:disabled):is([data-theme="dark"] *) a {\n color: var(--ikp-color-inkeep-expanded-primary-200);\n}\n\n.\\[\\&_em\\]\\:font-bold em {\n font-weight: 700;\n}\n\n.\\[\\&_em\\]\\:not-italic em {\n font-style: normal;\n}\n\n.\\[\\&_li\\]\\:mb-1 li {\n margin-bottom: 0.25rem;\n}\n\n.\\[\\&_svg\\]\\:h-4 svg {\n height: 1rem;\n}\n\n.\\[\\&_svg\\]\\:w-4 svg {\n width: 1rem;\n}\n\n[data-mobile] .\\[\\[data-mobile\\]_\\&\\]\\:h-\\[calc\\(100vh-var\\(--input-height\\)-var\\(--footer-height\\)-var\\(--ask-ai-trigger-height\\)\\)\\] {\n height: calc(100vh - var(--input-height) - var(--footer-height) - var(--ask-ai-trigger-height));\n}\n\n[data-mobile] .\\[\\[data-mobile\\]_\\&\\]\\:h-\\[var\\(--footer-height\\)\\] {\n height: var(--footer-height);\n}\n\n[data-mobile] .\\[\\[data-mobile\\]_\\&\\]\\:max-h-\\[var\\(--input-height\\)\\] {\n max-height: var(--input-height);\n}\n\n[data-mobile] .\\[\\[data-mobile\\]_\\&\\]\\:items-center {\n align-items: center;\n}\n\n[data-mobile] .\\[\\[data-mobile\\]_\\&\\]\\:py-0 {\n padding-top: 0px;\n padding-bottom: 0px;\n}\n\n[data-show-ask-ai-card] .\\[\\[data-show-ask-ai-card\\]_\\&\\]\\:pb-1 {\n padding-bottom: 0.25rem;\n}\n\n[data-show-ask-ai-card] .\\[\\[data-show-ask-ai-card\\]_\\&\\]\\:\\[--ask-ai-trigger-height\\:theme\\(spacing\\.11\\)\\] {\n --ask-ai-trigger-height: 2.75rem;\n}\n\n[data-view=dual-pane] .\\[\\[data-view\\=dual-pane\\]_\\&\\]\\:block {\n display: block;\n}\n\n[data-view=dual-pane] .\\[\\[data-view\\=dual-pane\\]_\\&\\]\\:flex-\\[0_0_40\\%\\] {\n flex: 0 0 40%;\n}\n\n[data-view=dual-pane] .first\\:\\[\\[data-view\\=dual-pane\\]_\\&\\]\\:flex-1:first-child {\n flex: 1 1 0%;\n}\n\n@media (min-width: 768px) {\n\n [data-view=dual-pane] .md\\:first\\:\\[\\[data-view\\=dual-pane\\]_\\&\\]\\:flex-\\[0_0_40\\%\\]:first-child {\n flex: 0 0 40%;\n }\n}\n',...e}),jfe=FB("div",{_id:"view_toggle"}),Bfe=FB("button",{_id:"view_toggle_button",className:cle({slot:"button"})}),zfe=FB(nq,{_id:"view_toggle_icon"});function Hfe(e){const{handleToggle:t}=Ufe(e);return Vf.jsxs(jfe,{className:cle({slot:"root"}),children:[Vf.jsxs(Bfe,{onClick:()=>t("search"),"data-active":OP("search"===e.view),children:[Vf.jsx(zfe,{"data-active":OP("search"===e.view),iconKey:"switchToSearch",className:cle({slot:"icon"})}),e.searchLabel||"Search"]}),Vf.jsxs(Bfe,{onClick:()=>t("chat"),"data-active":OP("chat"===e.view),children:[Vf.jsx(zfe,{"data-active":OP("chat"===e.view),iconKey:"switchToChat",className:cle({slot:"icon"})}),e.askAILabel||"Ask AI"]})]})}function Ufe(e){const{onToggleView:t,query:n}=e;return{handleToggle:(e,r)=>{null==t||t({view:e,query:n,autoSubmit:r})}}}function $fe(e){const{componentType:t,children:n,modalSettings:r,...a}=e;return Vf.jsx(Vie,{children:Vf.jsx(Ffe,{children:Vf.jsx(EB,{config:{...a},componentType:t,children:Vf.jsx(vpe,{config:r,children:n})})})})}function Gfe(e){return Vf.jsx(wpe,{children:Vf.jsx(kpe,{children:e.children})})}function Vfe(e){const{children:t,onToggleView:n,isHidden:r,shouldAutoFocusInput:a=!n}=e;return Vf.jsx(hle,{isHidden:r,shouldAutoFocusInput:a,children:t})}function Wfe(e){return Vf.jsx(Vfe,{...e,children:Vf.jsx(qfe,{...e})})}function qfe(e){const{onToggleView:t}=e,n=dD(),r=vD(),a=n&&!r?Gfe:Z.Fragment;return Vf.jsx(a,{children:Vf.jsxs(mle,{variant:t?"no-shadow":"container-with-shadow","data-composite":OP(!!e.onToggleView||(null==n?void 0:n.isOpen)),children:[Vf.jsx(gle,{}),Vf.jsxs(yle,{children:[Vf.jsx(Yfe,{...e}),Vf.jsx(Kfe,{}),Vf.jsx(nhe,{})]}),Vf.jsx(ohe,{}),Vf.jsx(ihe,{})]})})}function Yfe(e){const{onToggleView:t,askAILabel:n,searchLabel:r}=e,a=!!t;return Vf.jsxs(ble,{"data-show-toolbar":OP(a),children:[a&&Vf.jsxs(vle,{children:[Vf.jsxs(wle,{children:[Vf.jsx(kle,{}),Vf.jsxs(Ale,{children:[Vf.jsx(Ile,{}),Vf.jsxs(Rle,{side:"bottom",align:"start",children:[Vf.jsx(Ole,{}),Vf.jsx(Ple,{})]})]})]}),Vf.jsx(Hfe,{onToggleView:t,askAILabel:n,searchLabel:r,view:"chat"})]}),Vf.jsx(xpe,{})]})}function Kfe(){return Vf.jsx(xle,{children:Vf.jsxs(Ele,{children:[Vf.jsx(_le,{children:Vf.jsx(Xfe,{})}),Vf.jsx(Sle,{children:Vf.jsx(Tle,{})}),Vf.jsx(Cle,{})]})})}function Xfe(){return Vf.jsx(Ble,{children:({messages:e})=>Vf.jsxs(Vf.Fragment,{children:[Vf.jsx(Qfe,{}),e.map((e=>Vf.jsxs(Hle,{message:e,children:[Vf.jsx(Zfe,{}),Vf.jsx(Gle,{}),Vf.jsxs(Xle,{children:[Vf.jsx(Qle,{children:Vf.jsx(cce,{})}),Vf.jsx(Jfe,{}),Vf.jsx(ehe,{}),Vf.jsx(the,{})]})]},e.id)))]})})}function Qfe(){return Vf.jsxs(Ule,{children:[Vf.jsxs($le,{children:[Vf.jsx(Vle,{children:Vf.jsxs(Wle,{children:[Vf.jsx(qle,{}),Vf.jsx(Yle,{})]})}),Vf.jsx(Kle,{})]}),Vf.jsxs(Xle,{children:[Vf.jsx(Qle,{children:Vf.jsx(cce,{})}),Vf.jsxs(Ale,{children:[Vf.jsx(Nle,{}),Vf.jsx(Ile,{}),Vf.jsxs(Rle,{children:[Vf.jsx(Ole,{}),Vf.jsx(Ple,{})]})]}),Vf.jsxs(Lle,{children:[Vf.jsx(Dle,{}),Vf.jsx(Mle,{children:e=>e.map((e=>Vf.jsx(Fle,{children:Vf.jsx(jle,{question:e})},e)))})]})]})]})}function Zfe(){return Vf.jsxs($le,{children:[Vf.jsx(Vle,{children:Vf.jsxs(Wle,{children:[Vf.jsx(qle,{}),Vf.jsx(Yle,{})]})}),Vf.jsx(Kle,{})]})}function Jfe(){return Vf.jsxs(Zle,{children:[Vf.jsx(Jle,{children:e=>e.map((e=>Vf.jsxs(ece,{attachment:e,children:[Vf.jsx(tce,{}),Vf.jsx(nce,{})]},e.id)))}),Vf.jsx(rce,{children:Vf.jsx(Wie,{children:Vf.jsx(ace,{children:Vf.jsxs(oce,{children:[Vf.jsx(ice,{}),Vf.jsx(sce,{}),Vf.jsx(lce,{})]})})})})]})}function ehe(){return Vf.jsxs(uce,{children:[Vf.jsx(dce,{children:e=>e.map(((e,t)=>Vf.jsx(pce,{action:e},`action-${t}`)))}),Vf.jsx(fce,{action:"copy"}),Vf.jsx(fce,{action:"upvote"}),Vf.jsx(fce,{action:"downvote"})]})}function the(){return Vf.jsxs(hce,{children:[Vf.jsx(mce,{}),Vf.jsx(gce,{children:e=>e.map(((e,t)=>{var n;return Vf.jsxs(yce,{href:e.url,source:e,children:[Vf.jsx(bce,{children:null==(n=e.breadcrumbs)?void 0:n.map((e=>Vf.jsxs(Z.Fragment,{children:[e,Vf.jsx(vce,{})]},e)))}),Vf.jsx(wce,{}),Vf.jsx(kce,{}),Vf.jsx(xce,{}),Vf.jsx(Ece,{children:e=>e.map(((e,t)=>Vf.jsx(_ce,{part:e},`part-${t}`)))}),Vf.jsx(Sce,{})]},t)}))})]})}function nhe(){return Vf.jsxs(Tce,{children:[Vf.jsx(rhe,{}),Vf.jsx(ahe,{})]})}function rhe(){return Vf.jsxs(Cce,{children:[Vf.jsxs(Ace,{children:[Vf.jsx(Nce,{}),Vf.jsx(Ice,{children:Vf.jsx(Rce,{})})]}),Vf.jsxs(Oce,{children:[Vf.jsx(Pce,{children:e=>e.map((e=>Vf.jsxs(Lce,{attachment:e,children:[Vf.jsx(Dce,{}),Vf.jsx(Mce,{}),Vf.jsx(Fce,{})]},e.id)))}),Vf.jsxs(jce,{children:[Vf.jsxs(Bce,{children:[Vf.jsx(zce,{}),Vf.jsx(Hce,{})]}),Vf.jsx(Uce,{children:e=>e.map((e=>Vf.jsxs($ce,{input:e,children:[Vf.jsx(Gce,{}),e.displayName]},e.id)))})]}),Vf.jsx(Wie,{children:Vf.jsx(Vce,{children:Vf.jsx(Wce,{children:Vf.jsxs(qce,{children:[Vf.jsxs(Yce,{children:[Vf.jsx(Kce,{}),Vf.jsx(Xce,{}),Vf.jsx(Qce,{})]}),Vf.jsx(Zce,{}),Vf.jsx(Jce,{children:Vf.jsxs(eue,{children:[Vf.jsxs(tue,{children:[Vf.jsx(nue,{}),Vf.jsx(rue,{}),Vf.jsx(aue,{})]}),Vf.jsxs(oue,{children:[Vf.jsx(iue,{}),Vf.jsx(sue,{}),Vf.jsx(lue,{})]}),Vf.jsx(cue,{})]})})]})})})})]})]})}function ahe(){return Vf.jsxs(uue,{children:[Vf.jsxs(pue,{children:[Vf.jsx(fue,{}),Vf.jsx(hue,{}),Vf.jsx(mue,{})]}),Vf.jsxs(due,{children:[Vf.jsx(wue,{children:({pinned:e,unpinned:t})=>Vf.jsxs(Vf.Fragment,{children:[e.map((e=>Vf.jsx(kue,{action:e},e.name))),t.length>0&&Vf.jsx(xue,{}),Vf.jsxs(Eue,{children:[Vf.jsx(_ue,{}),t.map((e=>Vf.jsxs(Sue,{action:e,children:[Vf.jsx(Tue,{action:e}),e.name]},e.name)))]})]})}),Vf.jsxs(yue,{action:"copy",children:[Vf.jsx(bue,{action:"copy"}),Vf.jsx(vue,{action:"copy"})]}),Vf.jsxs(yue,{action:"share",children:[Vf.jsx(bue,{action:"share"}),Vf.jsx(vue,{action:"share"})]}),Vf.jsx(yue,{action:"clear"}),Vf.jsx(yue,{action:"stop"})]})]})}function ohe(){return Vf.jsx(Wie,{children:Vf.jsx(Cue,{children:Vf.jsx(Aue,{children:Vf.jsxs(Nue,{children:[Vf.jsx(Iue,{}),Vf.jsx(Rue,{}),Vf.jsx(Oue,{children:Vf.jsxs(Pue,{children:[Vf.jsxs(Lue,{name:"unrelated_response",children:[Vf.jsx(Due,{children:Vf.jsx(Mue,{})}),Vf.jsx(Fue,{}),Vf.jsx(jue,{})]}),Vf.jsxs(Lue,{name:"inaccurate_statement",children:[Vf.jsx(Due,{children:Vf.jsx(Mue,{})}),Vf.jsx(Fue,{}),Vf.jsx(jue,{})]}),Vf.jsxs(Lue,{name:"inaccurate_code_snippet",children:[Vf.jsx(Due,{children:Vf.jsx(Mue,{})}),Vf.jsx(Fue,{}),Vf.jsx(jue,{})]}),Vf.jsxs(Lue,{name:"irrelevant_citations",children:[Vf.jsx(Due,{children:Vf.jsx(Mue,{})}),Vf.jsx(Fue,{})]}),Vf.jsx(Bue,{})]})})]})})})})}function ihe(){return Vf.jsxs(zue,{children:[Vf.jsx(Uue,{}),Vf.jsxs(Hue,{children:[Vf.jsxs($ue,{children:[Vf.jsx(Gue,{}),Vf.jsx(Vue,{})]}),Vf.jsx(Wue,{children:e=>Vf.jsxs(Vf.Fragment,{children:[e.map(((e,t)=>Vf.jsxs(que,{field:e,autoFocus:0===t,children:[Vf.jsx(Yue,{}),"text"===e.inputType&&Vf.jsx(Kue,{}),"email"===e.inputType&&Vf.jsx(Xue,{}),"file"===e.inputType&&Vf.jsx(Que,{}),"textarea"===e.inputType&&Vf.jsx(Zue,{}),"checkbox"===e.inputType&&Vf.jsx(Jue,{children:Vf.jsx(ede,{})}),"select"===e.inputType&&Vf.jsxs(tde,{children:[Vf.jsxs(nde,{children:[Vf.jsx(rde,{}),Vf.jsx(ade,{})]}),Vf.jsx(ode,{children:Vf.jsx(ide,{children:e.items.map((e=>Vf.jsxs(sde,{value:e.value,children:[Vf.jsx(lde,{children:e.label}),Vf.jsx(cde,{})]},e.value)))})})]}),Vf.jsx(ude,{})]},e.name))),Vf.jsx(dde,{})]})}),Vf.jsxs(pde,{children:[Vf.jsx(fde,{}),Vf.jsx(hde,{})]})]}),Vf.jsxs(mde,{children:[Vf.jsx(gde,{}),Vf.jsx(yde,{}),Vf.jsx(bde,{})]})]})}function she(e){const{children:t,onToggleView:n,isHidden:r,shouldAutoFocusInput:a=!n}=e;return Vf.jsx(wde,{isHidden:r,shouldAutoFocusInput:a,children:t})}function lhe(e){return Vf.jsx(she,{...e,children:Vf.jsx(che,{...e})})}function che(e){const{searchSettings:{view:t}}=ZO(),{onToggleView:n,shouldShowAskAICard:r=!!n&&"dual-pane"!==t}=e,a=dD(),o=vD(),i=a&&!o?Gfe:Z.Fragment;return Vf.jsx(i,{children:Vf.jsx(kde,{"data-show-ask-ai-card":OP(r),"data-composite":OP(!!n||(null==a?void 0:a.isOpen)),children:Vf.jsxs(xde,{children:[Vf.jsx(uhe,{...e}),Vf.jsxs(Ede,{children:[Vf.jsx(dhe,{askAILabel:e.askAILabel,onToggleView:e.onToggleView,shouldShowAskAICard:r}),Vf.jsx(phe,{})]}),Vf.jsx(mhe,{})]})})})}function uhe(e){const{onToggleView:t,askAILabel:n,searchLabel:r}=e,a=Xte((e=>e.search));return Vf.jsxs(_de,{children:[Vf.jsx(Sde,{}),Vf.jsx(Tde,{}),Vf.jsx(Cde,{}),t&&Vf.jsx(Hfe,{onToggleView:t,query:a,askAILabel:n,searchLabel:r,view:"search"}),Vf.jsx(xpe,{})]})}function dhe(e){const{askAILabel:t,onToggleView:n,shouldShowAskAICard:r}=e,a=Xte((e=>e.search)),{handleToggle:o}=Ufe({onToggleView:n,query:a});return r?Vf.jsxs(Ade,{onSelect:()=>o("chat",!0),children:[Vf.jsx(Nde,{}),Vf.jsxs(Ide,{children:[t||"Ask AI",a&&` "${a}"`]}),Vf.jsx(Rde,{})]}):null}function phe(){return Vf.jsxs(Ode,{children:[Vf.jsx(Pde,{}),Vf.jsx(Dde,{children:e=>e.map((e=>Vf.jsx(Mde,{tab:e},e)))}),Vf.jsx(Lde,{}),Vf.jsxs(Fde,{children:[Vf.jsx(fhe,{}),Vf.jsx(hhe,{})]})]})}function fhe(){return Vf.jsxs(jde,{children:[Vf.jsx(Bde,{children:Vf.jsx($de,{children:e=>e.map((e=>Vf.jsxs(Gde,{item:e,children:[Vf.jsx(Vde,{children:e=>e.map(((e,t)=>Vf.jsxs(Z.Fragment,{children:[e,Vf.jsx(Wde,{})]},`${e}-${t}`)))}),Vf.jsx(qde,{}),Vf.jsx(Yde,{}),Vf.jsx(Kde,{}),Vf.jsx(Xde,{children:e=>e.map(((e,t)=>Vf.jsx(Qde,{part:e},`part-${t}`)))}),Vf.jsx(Zde,{})]},e.id)))})}),Vf.jsx(zde,{children:Vf.jsx(Hde,{})}),Vf.jsx(Ude,{})]})}function hhe(){return Vf.jsxs(jde,{children:[Vf.jsx(Bde,{children:Vf.jsxs(Jde,{children:[Vf.jsxs(epe,{children:[Vf.jsxs(tpe,{children:[Vf.jsx(npe,{}),Vf.jsx(rpe,{})]}),Vf.jsx(ape,{children:e=>e.map(((e,t)=>Vf.jsxs(Z.Fragment,{children:[e,Vf.jsx(ope,{})]},`${e}-${t}`)))})]}),Vf.jsx(ipe,{}),Vf.jsxs(spe,{children:[Vf.jsx(lpe,{}),Vf.jsx(cpe,{children:e=>e.map(((e,t)=>Vf.jsxs(upe,{href:e.url??void 0,"data-is-match":OP(e.isMatch),children:[Vf.jsx(dpe,{}),Vf.jsx(ppe,{children:e.content}),e.url&&Vf.jsx(fpe,{})]},`${e.anchor}-${t}`)))})]})]})}),Vf.jsx(zde,{children:Vf.jsx(Hde,{})}),Vf.jsx(Ude,{})]})}function mhe(){return Vf.jsx(hpe,{children:Vf.jsxs(mpe,{children:[Vf.jsx(gpe,{}),Vf.jsx(ype,{}),Vf.jsx(bpe,{})]})})}function ghe(e,t){"function"==typeof e?e(t):null!=e&&(e.current=t)}function yhe(...e){return t=>{for(const n of e)ghe(n,t)}}function bhe(e,t,{checkForDefaultPrevented:n=!0}={}){return function(r){if(null==e||e(r),!1===n||!r.defaultPrevented)return null==t?void 0:t(r)}}function vhe(e){const{defaultView:t="search",aiChatSettings:n,baseSettings:r,searchSettings:a,shouldAutoFocusInput:o=!0,onToggleView:i,ref:s,...l}=e,c=Z.useRef(null),u=yhe(c,null==n?void 0:n.chatFunctionsRef),d=Z.useRef(null),p=yhe(d,null==a?void 0:a.searchFunctionsRef),f={...n,chatFunctionsRef:u},h={...a,searchFunctionsRef:p},[m,g]=Z.useState(t);Z.useImperativeHandle(s,(()=>({setView:g}))),Z.useEffect((()=>{var e,t;"chat"===m?null==(e=c.current)||e.focusInput():null==(t=d.current)||t.focusInput()}),[m]);return{config:{baseSettings:r,aiChatSettings:f,searchSettings:h},defaultView:t,view:m,setView:g,onToggleView:e=>{var t;e.autoSubmit&&e.query&&(null==(t=c.current)||t.submitMessage(e.query)),null==i||i(e),g(e.view)},shouldAutoFocusInput:o,...l}}function whe(e){const{view:t,setView:n,shouldShowAskAICard:r,onToggleView:a,defaultView:o,shouldAutoFocusInput:i,searchLabel:s,askAILabel:l}=e,c=dD()?Gfe:Z.Fragment,u={isHidden:"chat"===t,onToggleView:a,shouldShowAskAICard:r,shouldAutoFocusInput:i&&"search"===o,searchLabel:s,askAILabel:l},d={isHidden:"search"===t,onToggleView:a,shouldAutoFocusInput:i&&"chat"===o,searchLabel:s,askAILabel:l};return Vf.jsx(bD,{widget:{setView:n,view:t},children:Vf.jsx(she,{...u,children:Vf.jsx(Vfe,{...d,children:Vf.jsxs(c,{children:[Vf.jsx(che,{...u}),Vf.jsx(qfe,{...d})]})})})})}function khe({label:e="Ask AI",avatar:t,onOpenChange:n}){return Vf.jsx(Epe,{children:Vf.jsxs(_pe,{onClick:e=>{2!==e.button&&n((e=>!e))},children:[Vf.jsx(Spe,{children:e}),Vf.jsx(Cpe,{children:Vf.jsx(Tpe,{avatar:t})})]})})}function xhe({onOpenChange:e,modalSettings:t}){return Vf.jsx(Ape,{children:Vf.jsxs(Npe,{onClick:t=>{2!==t.button&&e((e=>!e))},children:[Vf.jsxs(Ipe,{children:[Vf.jsx(Ope,{}),Vf.jsx(Rpe,{})]}),Vf.jsxs(Ppe,{children:[Vf.jsx(Lpe,{shortcutKey:null==t?void 0:t.shortcutKey}),Vf.jsx(Dpe,{shortcutKey:null==t?void 0:t.shortcutKey})]})]})})}function Ehe(e){const{formSettings:t}=e;return Vf.jsx(Mpe,{formSettings:t,children:Vf.jsxs(Fpe,{children:[Vf.jsx(jpe,{}),Vf.jsx(Bpe,{children:Vf.jsxs(zpe,{children:[Vf.jsxs(Hpe,{children:[Vf.jsx(_he,{}),Vf.jsx(She,{}),Vf.jsx(Che,{}),Vf.jsx(Ahe,{}),Vf.jsx(Nhe,{})]}),Vf.jsx(Upe,{children:Vf.jsx($pe,{})}),Vf.jsx(Gpe,{})]})})]})})}function _he(){return Vf.jsxs(Vpe,{children:[Vf.jsx(Wpe,{}),Vf.jsx(qpe,{}),Vf.jsx(Ype,{})]})}function She(){const{isSubmitSuccessful:e}=$ae();return e?null:Vf.jsxs(Kpe,{children:[Vf.jsx(Xpe,{}),Vf.jsx(Qpe,{children:e=>e.map((e=>Vf.jsx(Ihe,{field:e},e.name)))}),Vf.jsx(Zpe,{})]})}function The(){return Vf.jsxs(yfe,{children:[Vf.jsx(bfe,{}),Vf.jsx(vfe,{})]})}function Che(){return Vf.jsxs(wfe,{children:[Vf.jsx(The,{}),Vf.jsx(ple,{})]})}function Ahe(){const{isSubmitSuccessful:e}=$ae();return e?null:Vf.jsxs(kfe,{children:[Vf.jsx(The,{}),Vf.jsxs(Rfe,{children:[Vf.jsx(Ofe,{}),Vf.jsx(Pfe,{children:e=>e.map((e=>Vf.jsxs(Lfe,{source:e,children:[Vf.jsx(Dfe,{}),Vf.jsx(Mfe,{})]},e.url)))})]}),Vf.jsx(xfe,{}),Vf.jsxs(Efe,{children:[Vf.jsx(_fe,{}),Vf.jsx(Sfe,{})]})]})}function Nhe(){const{aiResponse:e}=$ae(),{isSubmitSuccessful:t}=$ae();return t?null:Vf.jsxs(Tfe,{children:[Vf.jsx(The,{}),!e.answerConfidence&&Vf.jsxs(Rfe,{children:[Vf.jsx(Ofe,{children:"I wasn't able to find a direct answer to your question, but here's some helpful sources:"}),Vf.jsx(Pfe,{children:e=>e.map((e=>Vf.jsxs(Lfe,{source:e,children:[Vf.jsx(Dfe,{}),Vf.jsx(Mfe,{})]},e.url)))})]}),Vf.jsx(Cfe,{}),Vf.jsx(Afe,{children:e=>e.map((e=>Vf.jsx(Ihe,{field:e},e.name)))}),Vf.jsx(Ife,{}),Vf.jsx(Nfe,{})]})}function Ihe(e){const{field:t}=e;return Vf.jsxs(Jpe,{field:t,children:[Vf.jsx(efe,{}),"text"===t.inputType&&Vf.jsx(tfe,{}),"email"===t.inputType&&Vf.jsx(nfe,{}),"file"===t.inputType&&Vf.jsx(rfe,{}),"textarea"===t.inputType&&Vf.jsx(afe,{}),"checkbox"===t.inputType&&Vf.jsx(ofe,{children:Vf.jsx(ife,{})}),"select"===t.inputType&&Vf.jsxs(sfe,{children:[Vf.jsxs(lfe,{children:[Vf.jsx(cfe,{}),Vf.jsx(ufe,{})]}),Vf.jsx(dfe,{children:Vf.jsx(pfe,{children:t.items.map((e=>Vf.jsxs(ffe,{value:e.value,children:[Vf.jsx(hfe,{children:e.label}),Vf.jsx(mfe,{})]},e.value)))})})]}),Vf.jsx(gfe,{})]},t.name)}const Rhe={EmbeddedChat:function(e){const{baseSettings:t,aiChatSettings:n}=e;return Vf.jsx(Ffe,{wrapperStyles:{height:"inherit",width:"inherit"},children:Vf.jsx(EB,{config:{baseSettings:t,aiChatSettings:n},componentType:VO,children:Vf.jsx(Wfe,{...e})})})},EmbeddedSearch:function(e){const{baseSettings:t,searchSettings:n}=e;return Vf.jsx(Ffe,{children:Vf.jsx(EB,{config:{baseSettings:t,searchSettings:n},componentType:WO,children:Vf.jsx(lhe,{...e})})})},EmbeddedSearchAndChat:function(e){const{config:t,...n}=vhe(e);return Vf.jsx(Ffe,{wrapperStyles:{height:"inherit",width:"inherit"},children:Vf.jsx(EB,{config:t,componentType:qO,children:Vf.jsx(whe,{...n})})})},ModalChat:function(e){const{modalSettings:t,baseSettings:n,aiChatSettings:r,...a}=e;return Vf.jsx($fe,{componentType:$O,modalSettings:t,baseSettings:n,aiChatSettings:r,children:Vf.jsx(Wfe,{...a})})},ModalSearch:function(e){const{modalSettings:t,baseSettings:n,searchSettings:r,...a}=e;return Vf.jsx($fe,{componentType:$O,modalSettings:t,baseSettings:n,searchSettings:r,children:Vf.jsx(lhe,{shouldAutoFocusInput:!0,...a})})},ModalSearchAndChat:function(e){const{modalSettings:t,...n}=e,{config:r,...a}=vhe(n),o=bhe(null==t?void 0:t.onOpenChange,(t=>{e.forceDefaultView&&!t&&a.setView(e.defaultView??"search")})),i={...t,onOpenChange:o};return Vf.jsx($fe,{...r,modalSettings:i,componentType:$O,children:Vf.jsx(whe,{...a})})},IntelligentForm:function(e){const{baseSettings:t}=e;return Vf.jsx(Ffe,{wrapperStyles:{height:"inherit",width:"inherit"},children:Vf.jsx(EB,{config:{baseSettings:t},componentType:YO,children:Vf.jsx(Ehe,{...e})})})},ChatButton:function(e){const{modalSettings:t,label:n,defaultView:r="chat",canToggleView:a=!0,avatar:o,...i}=e,s={...i,shouldShowAskAICard:!!a&&e.shouldShowAskAICard},{config:l,...c}=vhe({...s,defaultView:r}),[u=!1,d]=HG({prop:null==t?void 0:t.isOpen,defaultProp:!1,onChange:bhe(null==t?void 0:t.onOpenChange,(n=>{void 0===(null==t?void 0:t.isOpen)&&(e.forceDefaultView&&!n&&c.setView(r??"search"),d(!!n))}))}),p={...t,isOpen:u,onOpenChange:d};return Vf.jsxs(Vf.Fragment,{children:[Vf.jsx(Ffe,{wrapperStyles:{display:"contents"},children:Vf.jsx(EB,{config:l,componentType:UO,children:Vf.jsx(khe,{label:n,avatar:o,onOpenChange:d})})}),Vf.jsx($fe,{...l,componentType:UO,modalSettings:p,children:a?Vf.jsx(whe,{...c}):Vf.jsx(Wfe,{...i})})]})},SearchBar:function(e){const{modalSettings:t,defaultView:n="search",canToggleView:r=!0,...a}=e,o={...a,shouldShowAskAICard:!!r&&e.shouldShowAskAICard},{config:i,...s}=vhe({...o,defaultView:n}),[l=!1,c]=HG({prop:null==t?void 0:t.isOpen,defaultProp:!1,onChange:bhe(null==t?void 0:t.onOpenChange,(r=>{void 0===(null==t?void 0:t.isOpen)&&(e.forceDefaultView&&!r&&s.setView(n),c(!!r))}))}),u={shortcutKey:"k",...t,isOpen:l,onOpenChange:c};return Vf.jsxs(Vf.Fragment,{children:[Vf.jsx(Ffe,{wrapperStyles:{display:"contents"},children:Vf.jsx(EB,{config:i,componentType:GO,children:Vf.jsx(xhe,{onOpenChange:c,modalSettings:u})})}),Vf.jsx($fe,{...i,modalSettings:u,componentType:GO,children:r?Vf.jsx(whe,{...s}):Vf.jsx(lhe,{...o})})]})}};function Ohe(){window.Inkeep=Object.entries(Rhe).reduce(((e,[t,n])=>(e[t]=function(e,t){const n=new Map;return function(r,a){let o,i;if("string"==typeof r)i=r,o=a;else{if(!Ff.includes(t))throw new Error(`You must provide a target selector to render the ${t} component`);const e=document.createElement("div");e.style.position="absolute",document.body.appendChild(e);const n=`inkeep-widget-${Mf()}`;i=`#${e.id||n}`,e.id=i.slice(1),o=r}const s=document.querySelector(i);if(!s)return void console.error(`Target ${i} not found.`);let l=n.get(i);l||(l={root:Rf.createRoot(s),props:o,container:s,chatFunctionsRef:Z.createRef(),searchFunctionsRef:Z.createRef(),ref:Z.createRef()},n.set(i,l)),l.props=u(o,{aiChatSettings:{chatFunctionsRef:l.chatFunctionsRef},searchSettings:{searchFunctionsRef:l.searchFunctionsRef}},{ref:l.ref}),l.container=s;try{l.root.render(Z.createElement(e,l.props))}catch(p){console.error(`Error rendering component ${e.name}:`,p)}const c={update:t=>{const r=n.get(i);if(r){r.props=u(r.props??{},t??{});try{r.root.render(Z.createElement(e,r.props))}catch(p){console.error(`Error rendering component ${e.name} during update:`,p)}}else console.error(`Component at ${i} is not mounted.`)},unmount(){const e=n.get(i);e&&e.container?(e.root.unmount(),e.container.innerHTML=""):console.error(`Component at ${i} is not mounted.`)},remount(){const t=n.get(i);if(t&&t.container){t.root=Rf.createRoot(t.container);try{t.root.render(Z.createElement(e,t.props))}catch(p){console.error(`Error remounting component ${e.name}:`,p)}}else console.error(`Component at ${i} cannot be remounted.`)}},d=jf[t];if("both"===d){const e=Bf(i,"chatFunctionsRef",n),t=Bf(i,"searchFunctionsRef",n);return new Proxy(c,{get(r,a){var o;if("chat"===a)return e;if("search"===a)return t;if(a in r)return r[a];const s=n.get(i),l=null==(o=null==s?void 0:s.ref.current)?void 0:o[a];return"function"==typeof l?l.bind(null==s?void 0:s.ref.current):void 0}})}return"chat"===d?new Proxy(c,{get(e,t){var r;if(t in e)return e[t];const a=n.get(i),o=null==(r=null==a?void 0:a.chatFunctionsRef.current)?void 0:r[t];return"function"==typeof o?o.bind(null==a?void 0:a.chatFunctionsRef.current):void 0}}):"search"===d?new Proxy(c,{get(e,t){var r;if(t in e)return e[t];const a=n.get(i),o=null==(r=null==a?void 0:a.searchFunctionsRef.current)?void 0:r[t];return"function"==typeof o?o.bind(null==a?void 0:a.searchFunctionsRef.current):void 0}}):c}}(n,t),e)),{})}"undefined"!=typeof window&&Ohe(),"undefined"!=typeof window&&Ohe();const Phe={colorMode:{sync:{target:document.documentElement,attributes:["class"],isDarkMode:e=>{var t;return!!(null==(t=e.class)?void 0:t.includes("dark"))}}}},Lhe=(e,t,n)=>{const r=e[t];if(!r)throw new Error(`${t} not found in Inkeep`);return e=>{const t="string"==typeof e?{targetSelector:e}:e,a={...t,baseSettings:u(Phe,t.baseSettings??{})},o=r(a);return o&&(null==n||n(o,a)),o}};if(!(null==(r=window.Inkeep)?void 0:r.ModalSearchAndChat))throw new Error("Inkeep failed to load properly");window.Inkeep={...window.Inkeep,ModalSearchAndChat:Lhe(window.Inkeep,"ModalSearchAndChat",((e,t)=>{var n;e.update({modalSettings:u(t.modalSettings??{},{onOpenChange:t=>e.update({modalSettings:{isOpen:t}})})}),((e,t)=>{const n=e=>{e&&!e.dataset.inkeepListenerAdded&&(e.dataset.inkeepListenerAdded="true",e.addEventListener("click",(e=>{e.preventDefault(),e.stopImmediatePropagation(),t()}),!0))};new MutationObserver((()=>{e.forEach((e=>{const t=document.getElementById(e);n(t)}))})).observe(document.body,{childList:!0,subtree:!0}),e.forEach((e=>{const t=document.getElementById(e);n(t)}))})(["search-bar-entry","search-bar-entry-mobile","home-search-entry"],(()=>e.update({modalSettings:{isOpen:!0}}))),n=()=>e.update({modalSettings:{isOpen:!0}}),window.addEventListener("keydown",(e=>{!e.metaKey&&!e.ctrlKey||"k"!==e.key&&"K"!==e.key||(e.preventDefault(),e.stopImmediatePropagation(),n())}),!0)})),ChatButton:Lhe(window.Inkeep,"ChatButton")}}();
56
+ */;function d4(){const[e,t]=Z.useState(!1);return[e,Z.useCallback((async e=>{if(!(null==navigator?void 0:navigator.clipboard))return console.warn("Clipboard not supported"),!1;try{return await navigator.clipboard.writeText(e),t(!0),setTimeout((()=>{t(!1)}),1e3),!0}catch(n){return console.warn("Copy failed",n),t(!1),!1}}),[])]}const p4=FB("h1",{_id:"markdownH1"}),f4=FB("h2",{_id:"markdownH2"}),h4=FB("p",{_id:"markdownP"}),m4=FB("li",{_id:"markdownLi"}),g4=FB("ul",{_id:"markdownUl"}),y4=FB("ol",{_id:"markdownOl"}),b4=FB(aq,{_id:"markdownLink"}),v4=FB("sup",{_id:"markdownSourceLink"}),w4=FB("table",{_id:"markdownTable"}),k4=FB("th",{_id:"markdownTh"}),x4=FB("td",{_id:"markdownTd"}),E4=FB("code",{_id:"markdownCode"}),_4=FB("div",{_id:"codeblockContainer"}),S4=FB("div",{_id:"codeblockHeader"}),T4=FB("span",{_id:"codeblockHeaderLanguage"}),C4=FB("button",{_id:"codeblockCopyButton",type:"button"}),A4=FB("div",{_id:"codeblockHighlighterWrapper"}),N4=FB("div",{_id:"codeblockHighlighter"}),I4=FB("code",{_id:"codeblockCode"}),R4=FB("input",{_id:"markdownInput"}),O4=D3.oneLight,P4=D3.vsDark,L4=({className:e="",children:t,onCopy:n})=>{var r;const a=e.replace(/^language-/,""),o=String(t).replace(/\n$/,""),[i,s]=d4(),{baseSettings:l}=ZO(),c=null==(r=l.theme)?void 0:r.syntaxHighlighter,{lightTheme:u=O4,darkTheme:d=P4}=c??{},p=uB(u,d);return Vf.jsxs(_4,{children:[Vf.jsxs(S4,{children:[Vf.jsx(T4,{children:a}),Vf.jsx(C4,{"aria-label":"Copy to clipboard",onClick:()=>{s(o),null==n||n(a,o)},"data-copied":OP(i),children:Vf.jsx(nq,{iconKey:i?"codeCopied":"codeCopy"})})]}),Vf.jsx(A4,{children:Vf.jsx(u4,{theme:p,code:o,language:a,prism:l.prism,children:({className:e,tokens:t,getLineProps:n,getTokenProps:r,style:a})=>Vf.jsx(N4,{className:e,children:Vf.jsx(I4,{style:a,children:t.map(((e,t)=>Vf.jsx("div",{...n({line:e}),children:e.map(((e,t)=>Vf.jsx("span",{...r({token:e})},t)))},t)))})})})})]})};function D4(){return e=>{fQ(e,"element",((e,t,n)=>{"code"===e.tagName&&(n&&"pre"===n.tagName?e.properties.inline=!1:e.properties.inline=!0)}))}}const M4=({children:e,componentStyles:t,shouldOpenLinksInNewTab:n,onLinkClick:r,onCodeCopy:a,...o})=>{if(!e)return null;const i={h1:({children:e})=>Vf.jsx(p4,{children:e}),h2:({children:e})=>Vf.jsx(f4,{children:e}),p:({children:e})=>Vf.jsx(h4,{children:e}),li:({children:e})=>Vf.jsx(m4,{children:e}),ul:({children:e})=>Vf.jsx(g4,{children:e}),input:({type:e,checked:t,disabled:n,readOnly:r,required:a,value:o})=>Vf.jsx(R4,{type:e,checked:t,disabled:n,readOnly:r,required:a,value:o}),ol:({children:e,node:t})=>{var n;const r=null==(n=null==t?void 0:t.properties)?void 0:n.start,a="number"==typeof r?r:void 0;return Vf.jsx(y4,{style:{"--start":(null==r?void 0:r.toString())??"0"},start:a,children:e})},a:({children:e,href:t})=>{const a=J.Children.toArray(e),o=a[0],i="string"==typeof o&&/^\(\d+\)$/.test(o)&&1===a.length,s=i?o.match(/\d+/):e,l=Vf.jsx(b4,{isExternal:n,href:t,onClick:()=>{null==r||r(t,null==s?void 0:s.toString())},children:s});return i?Vf.jsx(v4,{children:l}):l},img:({src:e,alt:t})=>`![${t||""}](${e||""})`,table:({children:e})=>Vf.jsx(w4,{children:e}),th:({children:e,isHeader:t})=>t?Vf.jsx(k4,{children:e}):Vf.jsx(x4,{children:e}),pre:({children:e})=>Vf.jsx("pre",{children:e}),code:({children:e,inline:t,className:n})=>t?Vf.jsx(E4,{children:e}):Vf.jsx(L4,{className:n,onCopy:a,children:e})},s=Vf.jsx(iZ,{remarkPlugins:[c3],rehypePlugins:[b2,D4],components:i,disallowedElements:F4,children:e.toString(),...o});return Vf.jsx(Zj,{componentStyles:t,children:s})},F4=["script","iframe","frame","embed","meta","base","form","style","object"];function j4(){return Vf.jsxs("svg",{viewBox:"0 0 12 10",style:{width:"1.2em",fill:"none",strokeWidth:2,stroke:"currentColor",strokeDasharray:16},children:[Vf.jsx("title",{children:"Checkbox Icon"}),Vf.jsx("polyline",{points:"1.5 6 4.5 9 10.5 1"})]})}function B4(e){const t=Z.useId();return Vf.jsxs("svg",{viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[Vf.jsx("title",{children:"Tag Line Logo Icon"}),Vf.jsx("path",{d:"M32 4.01845V25.1411C32 26.3154 30.9971 27.2462 29.8223 27.1531L16.9277 26.1507C15.409 26.0361 13.8903 26.3727 12.565 27.1173L8.11641 29.6234C7.72241 29.8454 7.29259 29.3943 7.54332 29.0148L9.77121 25.5922L11.8415 22.4131C12.0636 22.0694 12.4934 21.9119 12.8874 22.0336C16.1397 23.079 19.8075 21.8761 21.7631 18.8831C24.0913 15.2886 23.0741 10.4913 19.4851 8.15706C15.8961 5.82282 11.0965 6.83958 8.76114 10.4269C6.81263 13.427 7.19946 17.272 9.4775 19.8139C9.74972 20.1218 9.77837 20.5729 9.5563 20.9237L6.92724 24.9621C6.76964 25.1984 6.49743 25.3344 6.21804 25.313L1.4184 24.9406C0.616073 24.8834 0 24.2175 0 23.4155V5.7369C0 4.93496 0.616073 4.26905 1.4184 4.21177L29.8294 2.00642C31.0043 1.91334 32 2.84417 32 4.01845ZM15.2586 9.35282C12.3286 9.35282 9.95747 11.7229 9.95747 14.6514C9.95747 16.0763 10.5234 17.3723 11.4403 18.3246C11.9991 18.9046 12.6868 19.3557 13.4605 19.6349C14.0264 19.8354 14.6282 19.95 15.2657 19.95C18.1957 19.95 20.5668 17.5799 20.5668 14.6514C20.5597 11.73 18.1885 9.35282 15.2586 9.35282Z",fill:`url(#${t})`}),Vf.jsx("defs",{children:Vf.jsxs("linearGradient",{id:t,x1:"1.5893",y1:"25.285",x2:"24.0784",y2:"10.1057",gradientUnits:"userSpaceOnUse",children:[Vf.jsx("stop",{stopColor:"currentColor"}),Vf.jsx("stop",{offset:"1",stopColor:"currentColor"})]})})]})}const z4=e=>{const{logEvent:t}=bP(),{conversation:n}=nP(),{openForm:r}=gD(),a=dD();return{handleAction:t=>{var o;"open_form"===e.action.type?(null==(o=null==t?void 0:t.onOpenForm)||o.call(t),null==r||r(e.action.formSettings)):"invoke_callback"===e.action.type&&(e.action.callback({conversation:n}),e.action.shouldCloseModal&&(null==a||a.setOpen(!1)))},logHelpAction:()=>{"name"in e&&t({eventName:"get_help_option_clicked",properties:{getHelpOption:e,conversation:n}})}}},H4=e=>{const t=/<em>(.*?)<\/em>/gs;let n;const r=[];let a=0;for(;null!==(n=t.exec(e));){const[t,o]=n;n.index>a&&r.push(e.slice(a,n.index)),r.push({content:o,highlighted:!0}),a=n.index+t.length}return a<e.length&&r.push(e.slice(a)),r};function U4(e,t,{checkForDefaultPrevented:n=!0}={}){return function(r){if(null==e||e(r),!1===n||!r.defaultPrevented)return null==t?void 0:t(r)}}function $4(e){return e.toLowerCase().replace(/(^\w+:|^)\/\//,"").replace(/^www\./,"").replace(/\/$/,"").startsWith("github.com")}function G4(e,t){const n=["API","Docs","Documentation","Blogs",t],r=["\\|","-",":"],a=new RegExp(`^\\s*(${n.join("|")})(\\.\\w+)?\\s*(${r.join("|")})\\s*`,"gi"),o=new RegExp(`\\s*(${r.join("|")})\\s*(${n.join("|")})\\s*$`,"gi");return e.replace(a,"").replace(o,"").trim()}const V4={js:".js",db:"DB",sql:"SQL"};function W4(e){return Object.entries(V4).reduce(((e,[t,n])=>{const r=new RegExp(`([a-zA-Z0-9])${t}(?!\\w)`,"g");return e.replace(r,((e,t)=>t+n))}),e)}const q4=["API","AWS","GCP","SQL","CSS","JS","JDK","SDK","JRE","IDE","XML","GUI","CLI","AI","ML","DL","IoT","TCP","UDP","IP","FTP","RAM","ROM","SSD","HDD","VPS","VPN","OS","UI","UX","DB","OOP","CRM","ERP","POS","CAD","BI","CMS","SEO","SEM","PPC","B2B","B2C","SMB","ROI","KPI","CTA","CPC","CPM","CDN","MVC","FAQ","LMS","RPA","QA","QC","CRO","SVN","GIT","DOM","DNS","ISP","URL","URN","URI","SIP","NFC","LTE","OSI","RAS","DRM","DOS","WWW","LAN","WAN","SAN","NAS","NLP","OCR","IBM","HP","SAP","JWT","SSH","SSL","TLS","POP","NTP","BGP","ARP","2FA","MFA","RDP","VNC","SCP","PKI","XSS","DoS","CSV","HL7","SOP","PHP","JSP","NET","VBA","iOS","GNU","CPU","GPU","NIC","USB","VGA","AES","RSA","DES","ECC","WEP","WPA","IDS","IPS","PM","HR","TCO","BPM","SLA","SOW","AR","VR","XR","3D","2D","4D","iOS","OpenAPI","SSO"],Y4=["a","an","the","and","as","but","or","nor","at","by","in","of","on","per","to","up","via","vs","with","is","it","for","are","not","out","off","yet","so","be","if","has","its","we","our","any","all","how","her","his","their","was","were"],K4=["BaaS","SaaS","PaaS","IaaS","HTML","JSON","HTTPS","HTTP","SMTP","DBMS","RDBMS","REST","SOAP","MVVM","VoIP","RFID","WYSIWYG","WLAN","OIDC","SAML","LDAP","IPSec","OAuth","OpenID","SFTP","IMAP","RTSP","DHCP","XMPP","SNMP","ICMP","IGMP","RARP","PPTP","L2TP","IPv4","IPv6","TOTP","HMAC","TFTP","CORS","CSRF","DDOS","YAML","MQTT","AMQP","HDLC","EDIFACT","DICOM","MATLAB","UNIX","HDMI","WiFi","WPA2","DDoS","ipadOS","watchOS","macOS","JavaScript","TypeScript","SSO","IDP","RBAC"];function X4(e){return`\\b${e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}\\b`}function Q4(e,t,n,r=!1){return r&&new RegExp(`^${n}\\b`,"i").test(e)?e:e.replace(new RegExp(n,"gi"),t)}const Z4=(e,t)=>{var n;if("documentation"!==e.type)return[];const r=null==t?void 0:t.organizationDisplayName;return((null==(n=e.breadcrumbs)?void 0:n.length)?e.breadcrumbs:function(e){try{const t=new URL(e);return t.pathname.split("/").filter((e=>e.length>0)).slice(0,-1).map(J4)}catch(t){return console.error("Invalid URL:",t),[]}}(e.url)).map((e=>{let t=e;return r&&(t=function(e,t){if(!function(e){const t=e.split(" ");for(const n of t)if(n[0]!==n[0].toUpperCase()||n.slice(1)!==n.slice(1).toLowerCase())return!1;return!0}(t))return e;const n=`(?<![@/])\\b${t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}\\b`;return new RegExp(`^${n}\\b`,"i").test(e)?e:e.replace(new RegExp(n,"gi"),t)}(e,r),t=G4(t,r)),t=W4(t),t=function(e){let t=e;return t=Y4.reduce(((e,t)=>Q4(e,t,X4(t),!0)),t),t=K4.reduce(((e,t)=>Q4(e,t,X4(t))),t),t=q4.reduce(((e,t)=>Q4(e,t,X4(t))),t),t}(t),t}))??[]},J4=e=>e.split(/[-_]/).map((e=>e.charAt(0).toUpperCase()+e.slice(1).toLowerCase())).join(" ");const e6=(e,t)=>{var n;if("chatSourceItem"===t)return e.description??void 0;const r=e.breadcrumbs??[],a=r.length>0?r[r.length-1]:void 0,o=e.title||(null==(n=null==a?void 0:a.props)?void 0:n.str);return function(e,t){if(!e)return;if(!t)return e;const n=t.trim(),r=[n,`<em>${n}</em>`].find((t=>e.startsWith(t)));return r?e.slice(r.length).trim():e}(e.description,o)},t6=e=>{let t="LuBookOpen";"documentation"===e.type&&"book"===e.contentType?t="IoBookOutline":"documentation"===e.type&&"pdf"===e.contentType?t="FaFilePdf":"github_issue"===e.type||$4(e.url)?t="FaGithub":"documentation"===e.type&&"site"===e.contentType?t="LuGlobe":"discourse"===e.type?t="FaDiscourse":"discord"===e.type?t="FaDiscord":"slack_message"===e.type?t="FaSlack":"stackoverflow"===e.type&&(t="FaStackOverflow");return{builtIn:t}},n6=(e,t)=>{let n=e.title;if(!n)return"";const r=null==t?void 0:t.organizationDisplayName;return n=W4(n),r&&(n=G4(n,r)),n},r6=(e,t,n)=>{const{transformSource:r,...a}=n,o=Z4(e,n),i=((e,t)=>{var n,r,a;const o=[];"documentation"===e.type&&"book"===e.contentType?o.push("Publications"):"documentation"===e.type&&"pdf"===e.contentType&&o.push("PDFs"),("github_issue"===e.type||$4(e.url))&&o.push("GitHub"),"discourse"===e.type&&o.push("Forums"),"discord"===e.type&&o.push("Discord"),"slack_message"===e.type&&o.push("Slack"),"stackoverflow"===e.type&&o.push("StackOverflow");const i=[],s=null==(n=null==t?void 0:t.tabs)?void 0:n.map((e=>"string"==typeof e?e:e[0]));for(const l of o)(null==s?void 0:s.includes(l))&&(l===(null==(r=e.breadcrumbs)?void 0:r[0])?i.push([l,{breadcrumbs:null==(a=e.breadcrumbs)?void 0:a.slice(1)}]):i.push(l));return i})(e,n),s=(null==r?void 0:r({...e,breadcrumbs:o,tabs:i},t,a))??{};return{id:(null==s?void 0:s.id)??e.id,title:(null==s?void 0:s.title)??n6(e,n),description:(null==s?void 0:s.description)??e6(e,t),breadcrumbs:(null==s?void 0:s.breadcrumbs)??o,icon:(null==s?void 0:s.icon)??t6(e),tabs:(null==s?void 0:s.tabs)??i,url:(null==s?void 0:s.url)??e.url,tag:(null==s?void 0:s.tag)??e.tag,type:(null==s?void 0:s.type)??e.type,shouldOpenInNewTab:(null==s?void 0:s.shouldOpenInNewTab)??void 0,appendToUrl:(null==s?void 0:s.appendToUrl)??void 0}};const a6=Z.createContext(void 0),o6=({children:e,open:t,setOpen:n})=>Vf.jsx(a6.Provider,{value:{open:t,setOpen:n},children:e}),i6=()=>{const e=Z.useContext(a6);if(!e)throw new Error("useHoverPopover must be used within a HoverPopoverProvider");return e},s6=FB("div",{_id:"aiChatWrapper"}),l6=Z.forwardRef(((e,t)=>{const{...n}=e,{isHidden:r,isMobile:a}=Bj(),[o,i]=function(){const e=Z.useRef(null),[t,n]=Z.useState({width:0,height:0});return Z.useEffect((()=>{if(!e.current)return;const t=new ResizeObserver((([e])=>{const{width:t,height:r}=e.contentRect;n({width:t,height:r})}));return t.observe(e.current),()=>{t.disconnect()}}),[e]),[e,t]}(),s=IB(t,o),l=!(null==i?void 0:i.width)||i.width>580,c=dD();return Vf.jsx(s6,{ref:s,"data-widget-md":OP(l),"data-hidden":OP(r),"data-in-modal":OP(!!c),"data-mobile":OP(a),...n})})),c6=FB("div",{_id:"aiChatConversationLoading"}),u6=e=>{const{isLoadingConversation:t}=Bj();return t?Vf.jsx(c6,{children:Vf.jsx("span",{children:"Loading..."}),...e}):null},d6=FB("div",{_id:"aiChatRoot"}),p6=e=>{const{isLoadingConversation:t,isHidden:n}=Bj(),{form:r}=gD();return t||r?null:Vf.jsx(d6,{"data-hidden":OP(n),...e})},f6=FB("div",{_id:"aiChatHeader"}),h6=FB("div",{_id:"aiChatHeader__Toolbar"}),m6=FB("div",{_id:"aiChatHeader__ToolbarHeaderWrapper"}),g6=FB("div",{_id:"aiChatHeader__ToolbarHeader"}),y6=Z.memo((e=>{const{aiChatSettings:t}=ZO(),n=`Ask ${t.aiAssistantName||"AI"}`;return Vf.jsx(g6,{...e,children:n})})),b6=FB("div",{_id:"aiChatContent"}),v6=FB(S$,{_id:"aiChatContentScrollArea"}),w6=FB(T$,{_id:"aiChatContentScrollArea__Viewport"}),k6=Z.forwardRef((({children:e,...t},n)=>{const{containerRef:r}=function(e={}){const{threshold:t=150,interactionTimeout:n=150}=e,r=Z.useRef(null),a=Z.useRef(!0),o=Z.useRef(!1),i=Z.useCallback((()=>{const e=r.current;return!!e&&e.scrollHeight-e.clientHeight-e.scrollTop<t}),[t]),s=Z.useCallback(((e=!1)=>{const t=r.current;t&&!o.current&&t.scrollTo({top:t.scrollHeight,behavior:e?"smooth":"auto"})}),[]);return Z.useEffect((()=>{const e=r.current;if(!e)return;let t;const s=()=>{o.current=!0,a.current=i(),window.clearTimeout(t),t=window.setTimeout((()=>{o.current=!1}),n)};return e.addEventListener("scroll",s,{passive:!0}),()=>{e.removeEventListener("scroll",s),window.clearTimeout(t)}}),[i,n]),Z.useEffect((()=>{const e=r.current;if(!e)return;const t=new MutationObserver((e=>{e.some((e=>"childList"===e.type||"characterData"===e.type||"attributes"===e.type&&"style"===e.attributeName))&&a.current&&s(!0)}));return t.observe(e,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["style"],characterData:!0}),()=>t.disconnect()}),[s]),Z.useEffect((()=>{r.current&&s()}),[s]),{containerRef:r,scrollToBottom:s,isNearBottom:i}}(),a=IB(n,r);return Vf.jsx(w6,{ref:a,children:Vf.jsx("div",{"data-part":"grid",style:{display:"grid"},children:e}),...t})})),x6=FB(e$,{_id:"aiChatContentScrollArea__Scrollbar"}),E6=FB(d$,{_id:"aiChatContentScrollArea__Thumb"}),_6=FB(C$,{_id:"aiChatContentScrollArea__Corner"}),S6=FB("div",{_id:"aiChatMessages"}),T6=e=>{const t=Bj(),{children:n,...r}=e;return Vf.jsx(S6,{children:LP(n,t),...r})},C6=FB("div",{_id:"aiChatDisclaimer"}),A6=Z.memo((e=>{var t;const{aiChatSettings:n}=ZO(),[r,a]=Z.useState(!1),o=function(e,t){const[n,r]=Z.useState(e);return Z.useEffect((()=>{const n=setTimeout((()=>{r(e)}),t);return()=>{clearTimeout(n)}}),[e,t]),n}(r,100);return(null==(t=n.disclaimerSettings)?void 0:t.isEnabled)?Vf.jsx(o6,{open:r,setOpen:a,children:Vf.jsx(jU,{open:o,onOpenChange:a,children:Vf.jsx(C6,{...e})})}):null})),N6=FB("span",{_id:"aiChatDisclaimerLabel"}),I6=Z.memo((e=>{const{aiChatSettings:t}=ZO(),n=t.disclaimerSettings;return Vf.jsx(N6,{children:null==n?void 0:n.label,...e})})),R6=FB(BU,{_id:"aiChatDisclaimerTrigger",children:Vf.jsx(nq,{iconKey:"info"})}),O6=Z.memo((e=>{const{setOpen:t}=i6();return Vf.jsx(R6,{onMouseEnter:()=>t(!0),onMouseLeave:()=>t(!1),...e})})),P6=FB(zU,{_id:"aiChatDisclaimerContent"}),L6=e=>{const{setOpen:t}=i6();return Vf.jsx(P6,{onMouseEnter:()=>t(!0),onMouseLeave:()=>t(!1),side:"top",sideOffset:8,align:"end",alignOffset:-10,...e})},D6=FB(M4,{_id:"aiChatDisclaimerText"}),M6=Z.memo((e=>{const{aiChatSettings:t}=ZO(),n=t.aiAssistantName,r=t.disclaimerSettings,a=(null==r?void 0:r.tooltip)||`Information provided by ${n||"this AI assistant"} is not guaranteed to be accurate or comprehensive.`;return Vf.jsx(D6,{shouldOpenLinksInNewTab:!0,children:a,...e})})),F6=FB(HU,{_id:"aiChatDisclaimerArrow"}),j6=FB("div",{_id:"aiChatExampleQuestions"}),B6=e=>{var t;const{aiChatSettings:n}=ZO(),{messages:r}=Bj();return!(null==(t=n.exampleQuestions)?void 0:t.length)||r.length?null:Vf.jsx(j6,{...e})},z6=FB("h3",{_id:"aiChatExampleQuestionsLabel"}),H6=Z.memo((e=>{const{aiChatSettings:t}=ZO();return Vf.jsx(z6,{children:t.exampleQuestionsLabel,...e})})),U6=FB("div",{_id:"aiChatExampleQuestionsList"}),$6=Z.memo((e=>{const{aiChatSettings:t}=ZO(),n=t.exampleQuestions,{children:r,...a}=e;return Vf.jsx(U6,{children:LP(r,n),...a})})),G6=FB("div",{_id:"aiChatExampleQuestion"}),V6=Z.forwardRef(((e,t)=>{const{aiChatSettings:n}=ZO(),r=n.isFirstExampleQuestionHighlighted;return Vf.jsx(G6,{ref:t,"data-highlight":OP(r),...e})})),W6=FB("button",{_id:"aiChatExampleQuestionButton"}),q6=e=>{const{question:t,onClick:n,...r}=e,{handleSubmit:a}=Bj();return Vf.jsx(W6,{onClick:U4(n,(()=>a(t))),children:t,...r})};FB("div",{_id:"aiChatWorkflows"});const Y6=FB("h3",{_id:"aiChatWorkflowsLabel"});Z.memo((e=>{const{aiChatSettings:t}=ZO();return Vf.jsx(Y6,{children:t.workflowsHeader,...e})}));const K6=FB("div",{_id:"aiChatWorkflowsList"});Z.memo((e=>{const{aiChatSettings:t}=ZO(),n=t.workflows,{children:r,...a}=e;return Vf.jsx(K6,{children:LP(r,n),...a})})),FB("button",{_id:"aiChatWorkflow"}),FB((function(e){return vW({attr:{viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true"},child:[{tag:"path",attr:{d:"M11.983 1.907a.75.75 0 0 0-1.292-.657l-8.5 9.5A.75.75 0 0 0 2.75 12h6.572l-1.305 6.093a.75.75 0 0 0 1.292.657l8.5-9.5A.75.75 0 0 0 17.25 8h-6.572l1.305-6.093Z"},child:[]}]})(e)}),{_id:"aiChatWorkflow__Icon"});const X6=FB("div",{_id:"aiChatMessageWrapper"}),Q6=e=>{const{message:t,...n}=e;return"system"===t.role?null:Vf.jsx(rB,{message:t,children:Vf.jsx(X6,{"data-role":t.role,...n})})},Z6=Z.memo((e=>{const{message:t,...n}=e,{aiChatSettings:r,baseSettings:a}=ZO(),o=r.aiAssistantName,i=o?`Hi, I'm ${o}!`:"Hi!",s=r.chatSubjectName??a.organizationDisplayName,l=`${i} \n\n I'm an AI assistant trained on documentation, help articles, and other content.`,c=s?`\n\n Ask me anything about \`${s}\`.`:"\n\n Let me know how I can help.",u={content:r.introMessage??`${l}${c}`,id:"__intro__",...t,role:"assistant",links:[]};return Vf.jsx(Q6,{message:u,...n})})),J6=FB("div",{_id:"aiChatMessageHeader"}),e8=e=>{const{message:t}=aB();return Vf.jsx(J6,{"data-role":t.role,...e})},t8=FB("div",{_id:"aiChatMessageLoading"}),n8=e=>{var t;const{isLoading:n,isStreaming:r,messages:a}=Bj(),{message:o}=aB();return(null==(t=a.at(-1))?void 0:t.id)===(null==o?void 0:o.id)&&"assistant"===o.role&&n&&!r?Vf.jsx(t8,{children:"Thinking...",...e}):null},r8=FB("div",{_id:"aiChatMessageAvatar"}),a8=e=>{const{message:t}=aB();return Vf.jsx(r8,{"data-role":t.role,...e})},o8=FB(uz,{_id:"aiChatMessageAvatarContent"}),i8=e=>{const{message:t}=aB(),{baseSettings:n}=ZO();return Vf.jsx(o8,{"data-username":OP("user"===t.role&&!!n.userProperties.name),"data-role":t.role,...e})},s8=FB(pz,{_id:"aiChatMessageAvatarFallback"}),l8=Z.memo((e=>{const{baseSettings:t}=ZO(),{message:n}=aB();return t.userProperties.name?Vf.jsx(s8,{"data-role":n.role,children:PP(t.userProperties.name),...e}):null})),c8=FB(dz,{_id:"aiChatMessageAvatarImage"}),u8=Z.memo((e=>{const{onLoadingStatusChange:t,...n}=e,{aiChatSettings:r,baseSettings:{userProperties:a}}=ZO(),{message:o}=aB(),{aiAssistantAvatar:i}=r??{},s="string"==typeof i?i:null==i?void 0:i.light,l=uB(s,("string"==typeof i?i:null==i?void 0:i.dark)??s),[c,u]=Z.useState(l);Z.useEffect((()=>{u(l)}),[l]);return"user"===o.role?a.name?null:r.userAvatar?Vf.jsx(c8,{"data-type":"image","data-role":o.role,src:r.userAvatar,...e}):Vf.jsx(xW,{"data-type":"icon","data-role":o.role,...e}):c?Vf.jsx(c8,{src:c,"data-type":"image","data-role":o.role,onLoadingStatusChange:U4(t,(e=>{"error"===e&&u(null)})),...n}):Vf.jsx(kW,{"data-type":"icon","data-role":o.role,...e})})),d8=FB("span",{_id:"aiChatMessageName"}),p8=e=>{const{message:t}=aB();return Vf.jsx(d8,{"data-role":t.role,children:"user"===t.role?"You":"AI assistant",...e})},f8=FB("div",{_id:"aiChatMessageContentWrapper"}),h8=e=>{const{message:t}=aB();return Vf.jsx(f8,{"data-role":t.role,...e})},m8=FB("div",{_id:"aiChatMessageContent"}),g8=e=>{const{message:t}=aB();return Vf.jsx(m8,{"data-role":t.role,...e})},y8=FB("div",{_id:"aiChatMessageAttachments"}),b8=FB("div",{_id:"aiChatMessageAttachments__List"}),v8=e=>{var t,n;const{children:r,...a}=e,{message:o}=aB(),i=null==(n=null==(t=o.metadata)?void 0:t.attributes)?void 0:n.attachments;return i?Vf.jsx(b8,{children:LP(r,i),...a}):null},w8=FB("div",{_id:"aiChatMessageAttachments__Item"}),k8=e=>{const{attachment:t,onClick:n,...r}=e,{selectItem:a,onOpen:o}=tB();return Vf.jsx(qf,{attachment:t,children:Vf.jsx(w8,{onClick:U4(n,(()=>{a(t),o()})),...r})})},x8=FB(eq,{_id:"aiChatMessageAttachments__ItemIcon"}),E8=e=>{var t;const{attachment:n}=Yf(),r=null==(t=n.contentType)?void 0:t.attachmentIcon;return r?Vf.jsx(x8,{iconSettings:r,...e}):null},_8=FB("span",{_id:"aiChatMessageAttachments__ItemTitle"}),S8=e=>{const{attachment:t}=Yf();return Vf.jsx(_8,{children:t.title,...e})},T8=FB(aW,{_id:"aiChatMessageAttachmentsPreview"}),C8=FB(iW,{_id:"aiChatMessageAttachmentsPreview__Overlay"}),A8=FB(sW,{_id:"aiChatMessageAttachmentsPreview__Content","aria-describedby":void 0}),N8=FB(lW,{_id:"aiChatMessageAttachmentsPreview__Header"}),I8=e=>{const{selectedItem:t}=tB();return Vf.jsx(N8,{children:(null==t?void 0:t.title)||"Attachment",...e})},R8=FB(cW,{_id:"aiChatMessageAttachmentsPreview__Close",children:Vf.jsx(nq,{iconKey:"close"})}),O8=FB("p",{_id:"aiChatMessageAttachmentsPreview__Body"}),P8=e=>{const{selectedItem:t}=tB();return Vf.jsx(O8,{children:null==t?void 0:t.content,...e})},L8=FB("div",{_id:"aiChatMessage"}),D8=e=>{const{aiChatSettings:t}=ZO(),{componentStyles:n,...r}=e,{message:a}=aB(),{logEvent:o}=bP(),i=DP(a),{conversation:s}=nP();return"user"===a.role?Vf.jsx(L8,{"data-role":a.role,children:i,...r}):Vf.jsx(L8,{"data-role":a.role,...r,children:Vf.jsx(M4,{children:i,componentStyles:n,shouldOpenLinksInNewTab:t.shouldOpenLinksInNewTab,onLinkClick:(e,t)=>{o({eventName:"assistant_message_inline_link_opened",properties:{title:null==t?void 0:t.toString(),url:e}})},onCodeCopy:(e,t)=>{o({eventName:"assistant_code_block_copied",properties:{conversation:s,language:e,code:t}})}})})},M8=FB("div",{_id:"aiChatMessageToolbar"}),F8=e=>{var t;const{isLoading:n,messages:r}=Bj(),{message:a}=aB();return(null==(t=r.at(-1))?void 0:t.id)===(null==a?void 0:a.id)&&n||"user"===a.role?null:Vf.jsx(M8,{...e})},j8=FB("div",{_id:"aiChatMessageToolActions"}),B8=e=>{const{children:t,...n}=e,{message:r}=aB(),{messageButtons:a}=Bj(),o=a[r.id]||[];return Vf.jsx(j8,{children:LP(t,o),...n})},z8=FB("a",{_id:"aiChatMessageToolAction"}),H8=FB("button",{_id:"aiChatMessageToolAction"}),U8=e=>{const{onClick:t,action:n,...r}=e,{handleAction:a}=z4(n),o=()=>{a()},i=n.label||"Contact Support",s=Vf.jsxs(Vf.Fragment,{children:[n.icon&&Vf.jsx(eq,{iconSettings:n.icon}),i]});return"open_link"===n.action.type?Vf.jsx(z8,{href:n.action.url,target:"_blank",rel:"noopener","data-type":n.action.type,onClick:U4(t,o),children:s,...r}):Vf.jsx(H8,{"data-type":n.action.type,onClick:U4(t,o),children:s,...r})},$8=FB("button",{_id:"aiChatMessageAction"}),G8=e=>{var t,n,r;const{action:a,onClick:o,className:i,...s}=e,{conversation:l}=nP(),{message:c}=aB(),{isStreaming:u,messages:d}=Bj(),[p,f]=d4(),{feedback:h,submitPositiveFeedback:m,setCurrentFeedback:g,currentFeedback:y}=ID(),{logEvent:b}=bP(),[v,w]=function(){const[e,t]=Z.useState(!1);return[e,Z.useCallback((async()=>(t(!0),setTimeout((()=>{t(!1)}),1e3),!0)),[])]}(),{baseSettings:{privacyPreferences:k}}=ZO(),{optOutAllAnalytics:x}=k,E=(null==(t=d.at(-1))?void 0:t.id)===(null==c?void 0:c.id),_="assistant"===c.role;if(E&&u||!_||{copy:!1,upvote:x,downvote:x}[a])return null;const S={copy(){f(DP(c)),b({eventName:"assistant_message_copied",properties:{conversation:l}})},upvote(){m(c.id).then((()=>{w()}))},downvote(){g(c.id)}},T={copy:Vf.jsx(nq,{iconKey:p?"messageCopied":"messageCopy"}),upvote:Vf.jsx(nq,{iconKey:v?"messageCopied":"thumbsUp"}),downvote:Vf.jsx(nq,{iconKey:"thumbsDown"})},C={copy:{"data-copied":OP(p)},upvote:{"data-upvoted":OP("positive"===(null==(n=h[c.id])?void 0:n.type))},downvote:{"data-downvoted":OP("negative"===(null==(r=h[c.id])?void 0:r.type)),"data-state":null===y?"closed":"open"}};return Vf.jsx($8,{"data-action":a,...C[a],children:T[a],"aria-label":{copy:"Copy Message",upvote:"Upvote Message",downvote:"Downvote Message"}[a],className:`${i} ${a}`,onClick:U4(o,S[a]),...s})},V8=FB("div",{_id:"aiChatMessageSources"}),W8=FB("div",{_id:"aiChatMessageSources__Header"}),q8=e=>Vf.jsx(W8,{children:"Sources",...e}),Y8=FB("div",{_id:"aiChatMessageSources__List"}),K8=e=>{const{message:t}=aB(),{children:n,...r}=e,{baseSettings:{transformSource:a,organizationDisplayName:o},aiChatSettings:{shouldOpenLinksInNewTab:i},searchSettings:{tabs:s}}=ZO();if("assistant"!==t.role)return null;const l=t.links.map((e=>{const t=r6(e,"chatSourceItem",{organizationDisplayName:o,tabs:s,transformSource:a}),n=void 0!==t.shouldOpenInNewTab?t.shouldOpenInNewTab:i;return{...t,isExternal:n}}));return Vf.jsx(Y8,{children:LP(n,l),...r})},X8=FB(aq,{_id:"aiChatMessageSourceItem"}),Q8=e=>{var t;const{source:n,onClick:r,...a}=e,{logEvent:o}=bP(),{conversation:i}=nP();return Vf.jsx(SB,{source:n,children:Vf.jsx(X8,{"data-type":n.type,appendToUrl:n.appendToUrl,isExternal:n.isExternal,"data-breadcrumbs":!!(null==(t=n.breadcrumbs)?void 0:t.length),onClick:U4(r,(()=>{o({eventName:"assistant_source_item_clicked",properties:{conversation:i,link:n}})})),...a})})},Z8=FB("div",{_id:"aiChatMessageSourceItem__Breadcrumbs"}),J8=e=>{var t;const{source:n}=TB();return(null==(t=n.breadcrumbs)?void 0:t.length)?Vf.jsx(Z8,{"data-type":n.type,...e}):null},e9=FB(nq,{_id:"aiChatMessageSourceItem__BreadcrumbIcon",iconKey:"breadcrumbSeparator"}),t9=FB(eq,{_id:"aiChatMessageSourceItem__Icon"}),n9=e=>{const{source:t}=TB();return Vf.jsx(t9,{iconSettings:t.icon,"data-type":t.type,...e})},r9=FB("span",{_id:"aiChatMessageSourceItem__Title"}),a9=e=>{const{source:t}=TB();return Vf.jsx(r9,{"data-type":t.type,children:t.title,...e})},o9=FB("span",{_id:"aiChatMessageSourceItem__Tag"}),i9=e=>{const{source:t}=TB();return Vf.jsx(o9,{"data-type":t.type,...e})},s9=FB("span",{_id:"aiChatMessageSourceItem__Description"}),l9=e=>{const{source:t}=TB(),{children:n,...r}=e,a=Z.useMemo((()=>t.description?H4(t.description):[]),[t.description]);return a.length?Vf.jsx(s9,{"data-type":t.type,children:LP(n,a),...r}):null},c9=FB("span",{_id:"aiChatMessageSourceItem__DescriptionPart"}),u9=e=>{const{part:t,...n}=e,{source:r}=TB();return"string"==typeof t?t:Vf.jsx(c9,{"data-type":r.type,children:t.content,"data-highlighted":OP(t.highlighted),...n})},d9=FB(nq,{_id:"aiChatMessageSourceItem__Indicator"}),p9=e=>{const{source:t}=TB();return Vf.jsx(d9,{iconKey:t.isExternal?"openLinkInNewTab":"openLinkInSameTab",...e})},f9=FB("div",{_id:"aiChatFooter"}),h9=FB("div",{_id:"aiChatInput__Fieldset"}),m9=FB("div",{_id:"aiChatInput__Group"}),g9=FB("textarea",{_id:"aiChatInput"}),y9=Z.forwardRef((({onChange:e,onKeyDown:t,...n},r)=>{const{handleInputChange:a,handleInputKeyDown:o,input:i,error:s,shouldAutoFocusInput:l,inputRef:c}=Bj(),{aiChatSettings:u}=ZO(),d=IB(r,c),p=dD();return Z.useEffect((()=>{requestAnimationFrame((()=>{l&&(null==c?void 0:c.current)&&(c.current.focus(),c.current.selectionStart=c.current.value.length)}))}),[l,c,null==p?void 0:p.isOpen]),Vf.jsx(g9,{asChild:!0,ref:d,maxLength:99999,placeholder:u.placeholder,value:i,onChange:U4(e,a),onKeyDown:U4(t,o),disabled:!!s||u.isViewOnly,...n,children:Vf.jsx(JB,{})})})),b9=FB("button",{_id:"aiChatInput__SendButton"}),v9=e=>{const{handleSubmit:t,isSubmitDisabled:n,error:r}=Bj(),{aiChatSettings:a}=ZO(),{onClick:o,...i}=e;return Vf.jsx(b9,{onClick:U4(o,(()=>t())),"aria-label":"Send message",disabled:n||!!r||a.isViewOnly,...i})},w9=FB(nq,{_id:"aiChatInput__SendButtonIcon",iconKey:"chatSubmit"}),k9=FB("div",{_id:"aiChatAttachmentsBar"}),x9=e=>{var t;const{selectedWorkflow:n}=Bj();return n&&(null==(t=n.supportedInputs)?void 0:t.length)?Vf.jsx(Hj,{children:Vf.jsx(k9,{...e})}):null},E9=FB("div",{_id:"aiChatAttachmentsBar__List"}),_9=e=>{const{children:t,...n}=e,{messageAttachments:r}=Bj();return Vf.jsx(E9,{children:LP(t,r),...n})},S9=FB("div",{_id:"aiChatAttachmentsBar__Attachment"}),T9=e=>{const{attachment:t,...n}=e;return Vf.jsx(qf,{attachment:t,children:Vf.jsx(S9,{...n})})},C9=FB(eq,{_id:"aiChatAttachmentsBar__AttachmentIcon"}),A9=e=>{var t;const{attachment:n}=Yf(),r=null==(t=n.contentType)?void 0:t.attachmentIcon;return r?Vf.jsx(C9,{iconSettings:r,...e}):null},N9=FB("span",{_id:"aiChatAttachmentsBar__AttachmentTitle"}),I9=e=>{const{attachment:t}=Yf();return Vf.jsx(N9,{children:t.title,...e})},R9=FB("button",{_id:"aiChatAttachmentsBar__AttachmentDelete"}),O9=e=>{const{onClick:t,...n}=e,{attachment:r}=Yf(),{setMessageAttachments:a}=Bj();return Vf.jsx(R9,{"aria-label":"Remove attachment",children:Vf.jsx(nq,{iconKey:"close"}),onClick:U4(t,(()=>{a((e=>e.filter((e=>e.id!==r.id))))})),...n})},P9=FB("div",{_id:"aiChatAttachmentsBar__Actions"}),L9=FB(wj,{_id:"aiChatAttachmentsBar__InfoTip",delayDuration:0}),D9=FB(Lj,{_id:"aiChatAttachmentsBar__InfoTipIcon",children:Vf.jsx(nq,{iconKey:"info"})}),M9=FB(Mj,{_id:"aiChatAttachmentsBar__InfoTipArrow"}),F9=FB(Dj,{_id:"aiChatAttachmentsBar__InfoTipText",side:"bottom",sideOffset:3,align:"center",children:Vf.jsxs(Vf.Fragment,{children:[Vf.jsx(M9,{}),"Attachments will be kept in context for the entire conversation."]})}),j9=FB("div",{_id:"aiChatAttachmentsBar__Inputs"}),B9=e=>{const{children:t,...n}=e,{selectedWorkflow:r}=Bj();return(null==r?void 0:r.supportedInputs)?Vf.jsx(j9,{children:LP(t,r.supportedInputs),...n}):null},z9=FB("button",{_id:"aiChatAttachmentsBar__Input"}),H9=e=>{const{input:t,onClick:n,...r}=e,{selectedWorkflow:a,messageAttachments:o,setMessageAttachments:i}=Bj(),{selectInput:s,onOpen:l}=Uj();return Vf.jsx(z9,{children:t.displayName,onClick:U4(n,(()=>{if("FUNCTIONAL_MULTI_ATTACHMENT"===t.type){if(!a)return;return t.onInvoke(a,t,i,[...o])}s(t),l()})),...r})},U9=FB((function(e){return vW({attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32",d:"M256 112v288m144-144H112"},child:[]}]})(e)}),{_id:"aiChatAttachmentsBar__InputIcon"}),$9=FB(aW,{_id:"aiChatAttachmentsBar__Modal"}),G9=FB(iW,{_id:"aiChatAttachmentsBar__ModalOverlay"}),V9=FB(sW,{_id:"aiChatAttachmentsBar__ModalContent","aria-describedby":void 0}),W9=FB("div",{_id:"aiChatAttachmentsBar__ModalHeader"}),q9=FB(lW,{_id:"aiChatAttachmentsBar__ModalHeading"}),Y9=e=>{const{selectedInput:t}=Uj(),n=`Add ${null==t?void 0:t.displayName}`;return Vf.jsx(q9,{children:n,...e})},K9=FB("span",{_id:"aiChatAttachmentsBar__ModalDescription"}),X9=e=>{var t;const{selectedInput:n}=Uj(),r=null==(t=null==n?void 0:n.workflowModalProps)?void 0:t.modalHelpText;return r?Vf.jsx(K9,{children:r,...e}):null},Q9=FB("div",{_id:"aiChatAttachmentsBar__ModalHelp"}),Z9=FB(cW,{_id:"aiChatAttachmentsBar__ModalClose",children:Vf.jsx(nq,{iconKey:"close"})}),J9=FB("div",{_id:"aiChatAttachmentsBar__ModalBody"}),e7=FB("form",{_id:"aiChatAttachmentsBar__Form"}),t7=e=>{const{onSubmit:t,...n}=e,{form:r}=Uj();return Vf.jsx(e7,{onSubmit:U4(t,r.onSubmit),...n})},n7=FB("div",{_id:"aiChatAttachmentsBar__FormTitle",role:"group"}),r7=FB("label",{_id:"aiChatAttachmentsBar__FormTitleLabel"}),a7=e=>{const{form:t,selectedInput:n}=Uj();return Vf.jsx(r7,{htmlFor:`${null==n?void 0:n.id}-title`,children:t.labels.title,...e})},o7=FB("input",{_id:"aiChatAttachmentsBar__FormTitleInput"}),i7=e=>{const{onChange:t,...n}=e,{form:r,selectedInput:a}=Uj();return Vf.jsx(o7,{name:"title",value:r.data.title,id:`${null==a?void 0:a.id}-title`,"data-invalid":OP(!!r.errors.title),"aria-invalid":!!r.errors.title,onChange:U4(t,r.onChange),...n})},s7=FB("span",{_id:"aiChatAttachmentsBar__FormTitleError"}),l7=e=>{const{form:t}=Uj();return t.errors.title?Vf.jsx(s7,{"aria-live":"polite",children:t.errors.title,...e}):null},c7=FB("div",{_id:"aiChatAttachmentsBar__FormTitle",role:"group"}),u7=FB("label",{_id:"aiChatAttachmentsBar__FormContentLabel"}),d7=e=>{const{form:t,selectedInput:n}=Uj();return Vf.jsx(u7,{htmlFor:`${null==n?void 0:n.id}-content`,children:t.labels.content,...e})},p7=FB("textarea",{_id:"aiChatAttachmentsBar__FormTitleInput"}),f7=e=>{const{onChange:t,...n}=e,{form:r,selectedInput:a}=Uj();return Vf.jsx(p7,{asChild:!0,rows:4,name:"content",value:r.data.content,id:`${null==a?void 0:a.id}-content`,"data-invalid":OP(!!r.errors.content),"aria-invalid":!!r.errors.content,onChange:U4(t,r.onChange),...n,children:Vf.jsx(JB,{maxRows:10})})},h7=FB("span",{_id:"aiChatAttachmentsBar__FormContentError"}),m7=e=>{const{form:t}=Uj();return t.errors.content?Vf.jsx(h7,{"aria-live":"polite",children:t.errors.content,...e}):null},g7=FB("button",{_id:"aiChatAttachmentsBar__FormSubmitButton",children:"Upload",type:"submit"}),y7=FB("div",{_id:"aiChatActionBar"}),b7=FB("div",{_id:"aiChat__ChatActions"}),v7=FB("div",{_id:"aiChatTagline__Container"}),w7=FB("span",{_id:"aiChatTagline__Text",children:"Powered by"}),k7=FB(B4,{_id:"aiChatTagline__Logo"}),x7=FB("a",{_id:"aiChatTagline__BrandName",children:"inkeep",href:"https://www.inkeep.com/",target:"_blank",rel:"noopener noreferrer"}),E7=FB(Lj,{_id:"aiChat__ChatAction"}),_7=e=>{const{action:t,onClick:n,className:r,...a}=e,{clear:o,stop:i,isLoading:s,messages:l,selectedWorkflow:c}=Bj(),{conversation:u}=nP(),{aiChatSettings:d,baseSettings:p}=ZO(),{logEvent:f}=bP(),[h,m]=d4(),[g,y]=d4();if({help:!1,copy:0===l.length||!d.isCopyChatButtonVisible||s,share:0===l.length||!d.isShareButtonVisible||!u.id||!!c||s,clear:0===l.length||d.isViewOnly||s,stop:!s}[t])return null;const b={help:()=>{},copy:()=>{const e=l.map((e=>{var t,n;const r=`**${"assistant"===e.role?"AI Assistant":"User"}**`,a=DP(e),o=EP(null==(n=null==(t=e.metadata)?void 0:t.attributes)?void 0:n.attachments);return`${r}\n\n${a}${o?`\n\n**Attachments**\n\n${o}`:""}`})).join("\n\n---\n\n");m(e)},share:async()=>{const e={visibility:"public",tags:[],userProperties:{},messages:u.messages.map((e=>({...e,createdAt:void 0,updatedAt:void 0,id:Date.now().toString()+e.id,conversationId:void 0})))},{apiKey:t,analyticsApiBaseUrl:n}=p,r=await rP("",e,t,n);if(r){const e=`${d.shareChatUrlBasePath}?${JO}=${null==r?void 0:r.id}`;y(e),f({eventName:"chat_share_button_clicked",properties:{sharedConversationId:null==r?void 0:r.id,originalConversationId:u.id,sharedChatUrl:e,conversation:r}})}},clear:o,stop:i},v={copy:h,share:g};return Vf.jsx(wj,{delayDuration:0,open:v[t],children:Vf.jsx(E7,{"data-type":t,"data-copied":OP(h||g),className:`${r} ${t}`,children:Vf.jsx(T7,{action:t}),onClick:U4(n,b[t]),...a})})},S7=FB("span",{_id:"aiChat__ChatActionLabel"}),T7=e=>{const{action:t,...n}=e,{aiChatSettings:r}=ZO(),a=r.toolbarButtonLabels??{},o={help:a.getHelp??"Get Help",copy:a.copyChat??"Copy",share:a.share??"Share",clear:a.clear??"Clear",stop:a.stop??"Stop"};return Vf.jsx(S7,{children:o[t],...n})},C7=FB(Tj,{_id:"aiChat__ChatActionFeeback"}),A7=e=>{const{action:t,children:n,...r}=e;return Vf.jsxs(C7,{sideOffset:5,...r,children:[Vf.jsx(Mj,{}),n||{copy:"Copied!",share:"Link copied!"}[t]]})},N7=FB(jU,{_id:"aiChatHelpActions"}),I7=FB(_7,{_id:"aiChatHelpAction",action:"help"}),R7=FB("a",{_id:"aiChatHelpAction",target:"_blank",rel:"noreferrer"}),O7=e=>{const{action:t,onClick:n,...r}=e,{handleAction:a,logHelpAction:o}=z4(t),i=t.action.type,s={"aria-label":t.name,"data-name":t.name,children:t.name,onClick:U4(n,(()=>{a(),o()})),...r};return"open_link"===i?Vf.jsx(R7,{href:t.action.url,...s}):Vf.jsx(I7,{...s})},P7=FB(BU,{_id:"aiChatHelpActions__Trigger"}),L7=Z.memo((e=>{var t;const{aiChatSettings:n}=ZO();return Vf.jsx(_7,{action:"help",...e,asChild:!0,children:Vf.jsx(P7,{children:(null==(t=n.toolbarButtonLabels)?void 0:t.getHelp)??"Get Help"})})})),D7=FB(zU,{_id:"aiChatHelpActions__Menu"}),M7=e=>Vf.jsx(D7,{side:"top",sideOffset:8,align:"center",alignOffset:-10,...e}),F7=FB(HU,{_id:"aiChatHelpActions__MenuArrow"}),j7=e=>{const{action:t,onClick:n,...r}=e,{handleAction:a,logHelpAction:o}=z4(t),{setOpen:i}=(()=>{const e=Z.useContext(Kj);if(!e)throw new Error("useHelpMenu must be used within a HelpMenuProvider");return e})(),s=t.action.type,l=FB("open_link"===s?"a":"button",{_id:"aiChatHelpActions__MenuItem",children:t.name,"aria-label":t.name,"data-name":t.name,"data-type":t.action.type,..."open_link"===s&&{href:t.action.url,target:"_blank",rel:"noopener"},onClick:U4(n,(()=>{a({onOpenForm:()=>i(!1)}),o()}))});return Vf.jsx(l,{...r})},B7=FB(eq,{_id:"aiChatHelpActions_MenuItemIcon"}),z7=e=>{const{action:t,...n}=e;return t.icon?Vf.jsx(B7,{iconSettings:t.icon,...n}):null},H7=FB(aW,{_id:"aiChatFeedbackModal"}),U7=FB(iW,{_id:"aiChatFeedbackModal__Overlay"}),$7=FB(sW,{_id:"aiChatFeedbackModal__Content","aria-describedby":void 0}),G7=FB(lW,{_id:"aiChatFeedbackModal__Header",children:"Help improve my answers!"}),V7=FB(cW,{_id:"aiChatFeedbackModal__Close",children:Vf.jsx(nq,{iconKey:"close"})}),W7=FB("div",{_id:"aiChatFeedbackModal__Body"}),q7=FB("form",{_id:"aiChatFeedbackForm"}),Y7=e=>{const{onSubmit:t,...n}=e,{submitNegativeFeedback:r,currentFeedback:a,setCurrentFeedback:o}=ID();return Vf.jsx(q7,{onSubmit:U4(t,(e=>{e.preventDefault();const t=e.target,n=new FormData(t),i=Object.fromEntries(n.entries());a&&(r(a,i),o(null))})),...n})},K7=FB("div",{_id:"aiChatFeedbackItem"}),X7=e=>{const{name:t,...n}=e;return Vf.jsx(Gj,{name:t,children:Vf.jsx(K7,{...n})})},Q7=FB(Sz,{_id:"aiChatFeedbackItem__Checkbox"}),Z7=e=>{const{name:t,focusItem:n}=Vj(),{onCheckedChange:r,...a}=e;return Vf.jsx(Q7,{id:`feedback-${t}`,name:t,onCheckedChange:U4(r,(e=>{var t;e&&(null==(t=null==n?void 0:n.current)||t.focus())})),...a})},J7=FB(Tz,{_id:"aiChatFeedbackItem__CheckboxIndicator",children:Vf.jsx(j4,{})}),eee=FB("label",{_id:"aiChatFeedbackItem__Label"}),tee=e=>{const{name:t}=Vj();return Vf.jsx(eee,{htmlFor:`feedback-${t}`,children:{unrelated_response:"Didn't answer my question",inaccurate_statement:"Inaccurate statement",inaccurate_code_snippet:"Inaccurate code snippet",irrelevant_citations:"Irrelevant citations"}[t],...e})},nee=FB("textarea",{_id:"aiChatFeedbackItem__Description",placeholder:"Please describe"}),ree=e=>{const{name:t,focusItem:n}=Vj();return Vf.jsx(nee,{ref:n,name:`${t}:description`,...e})},aee=FB("button",{_id:"aiChatFeedbackForm__SubmitButton",children:"Submit",type:"submit"}),oee=FB("div",{_id:"aiChatForm__Wrapper"}),iee=e=>{const{form:t}=gD();return t?Vf.jsx(oee,{...e}):null},see=FB("form",{_id:"aiChatForm"}),lee=e=>{const{onSubmit:t,...n}=e,{handleSubmit:r,isSuccess:a}=gD();return a?null:Vf.jsx(see,{onSubmit:U4(t,r),...n})},cee=FB("button",{_id:"aiChatForm__Close",children:Vf.jsx(nq,{iconKey:"close"})}),uee=e=>{const{onClick:t,...n}=e,{closeForm:r}=gD();return Vf.jsx(cee,{onClick:U4(t,r),...n})},dee=FB("div",{_id:"aiChatForm__Header"}),pee=FB("h2",{_id:"aiChatForm__Heading"}),fee=e=>{const{form:t}=gD();return(null==t?void 0:t.heading)?Vf.jsx(pee,{children:t.heading,...e}):null},hee=FB("span",{_id:"aiChatForm__Description"}),mee=e=>{const{form:t}=gD();return(null==t?void 0:t.description)?Vf.jsx(hee,{children:t.description,...e}):null},gee=FB("div",{_id:"aiChatForm__Content"}),yee=e=>{const{children:t,...n}=e,{fields:r=[]}=gD();return Vf.jsx(gee,{children:LP(t,r),...n})},bee=FB("div",{_id:"aiChatForm__Field"}),vee=e=>{const{field:t,autoFocus:n,...r}=e,{control:a,errors:o}=gD();return Vf.jsx(SL,{name:t.name,control:a,rules:{required:t.isRequired?`${t.label} is required.`:void 0},render:({field:e})=>{const a=void 0!==e.value||"file"===t.inputType;return Vf.jsx(qj,{"data-invalid":OP(!!o[t.name]),field:t,fieldProps:e,autoFocus:n,children:a&&Vf.jsx(bee,{"data-input-type":t.inputType,"data-hidden":OP(t.isHidden),...r})})}})},wee=FB("label",{_id:"aiChatForm__FieldLabel"}),kee=e=>{const{field:t}=Yj();return Vf.jsx(wee,{"data-required":OP(t.isRequired),htmlFor:t.name,children:t.label,...e})},xee=FB("input",{_id:"aiChatForm__FieldText",type:"text"}),Eee=e=>{const{field:t,error:n,fieldProps:{onChange:r,onBlur:a,...o},autoFocus:i}=Yj(),{onChange:s,onBlur:l,...c}=e;return Vf.jsx(xee,{id:t.name,autoFocus:i,placeholder:"placeholder"in t?t.placeholder:void 0,"data-invalid":OP(!!n),onChange:U4(s,r),onBlur:U4(l,a),...o,...c})},_ee=FB(Eee,{_id:"aiChatForm__FieldEmail",type:"email"}),See=FB("input",{_id:"aiChatForm__FieldFile",type:"file",multiple:!0}),Tee=e=>{const{field:t,error:n,fieldProps:{value:r,onChange:a,onBlur:o,...i},autoFocus:s}=Yj(),{onChange:l,onBlur:c,...u}=e;return Vf.jsx(See,{id:t.name,autoFocus:s,"data-value":r,"data-invalid":OP(!!n),...u,...i,onChange:U4(l,(e=>{const t=e.target.files;a(t)})),onBlur:U4(c,o)})},Cee=FB(Eee,{_id:"aiChatForm__FieldTextArea",type:"textarea",asChild:!0,children:Vf.jsx(JB,{maxRows:8})}),Aee=FB(Sz,{_id:"aiChatForm__FieldCheckbox"}),Nee=e=>{const{field:t,error:n,fieldProps:r,autoFocus:a}=Yj(),{onCheckedChange:o,...i}=e;return Vf.jsx(Aee,{id:t.name,name:t.name,autoFocus:a,"data-invalid":OP(!!n),checked:r.value,onCheckedChange:U4(o,r.onChange),...i})},Iee=FB(Tz,{_id:"aiChatForm__FieldCheckboxIndicator",children:Vf.jsx(j4,{})}),Ree=FB(TG,{_id:"aiChatForm__FieldSelect"}),Oee=FB(CG,{_id:"aiChatForm__FieldSelect__Trigger"}),Pee=FB(AG,{_id:"aiChatForm__FieldSelect__Value"}),Lee=FB(NG,{_id:"aiChatForm__FieldSelect__Icon",asChild:!0,children:Vf.jsx(eq,{iconSettings:{builtIn:"LuChevronDown"}})}),Dee=FB(IG,{_id:"aiChatForm__FieldSelect__Content",position:"popper"}),Mee=FB(RG,{_id:"aiChatForm__FieldSelect__Viewport"}),Fee=FB(OG,{_id:"aiChatForm__FieldSelect__Item"}),jee=FB(PG,{_id:"aiChatForm__FieldSelect__ItemText"}),Bee=FB(LG,{_id:"aiChatForm__FieldSelect__ItemIndicator",asChild:!0,children:Vf.jsx(eq,{iconSettings:{builtIn:"LuCheck"}})}),zee=FB("span",{_id:"aiChatForm__FieldError"}),Hee=e=>{var t;const{error:n}=Yj();return n?Vf.jsx(zee,{children:null==(t=n.message)?void 0:t.toString(),...e}):null},Uee=FB("span",{_id:"aiChatForm__Error"}),$ee=e=>{const{formError:t}=gD();return t?Vf.jsx(Uee,{children:t.message,...e}):null},Gee=FB("div",{_id:"aiChatForm__Footer"}),Vee=FB("button",{_id:"aiChatForm__Cancel",children:"Cancel"}),Wee=e=>{const{onClick:t,...n}=e,{closeForm:r}=gD();return Vf.jsx(Vee,{onClick:U4(t,r),...n})},qee=FB("button",{_id:"aiChatForm__Submit",children:"Submit",type:"submit"}),Yee=e=>{const{onClick:t,...n}=e,{isSubmitting:r}=gD();return Vf.jsx(qee,{disabled:r,...n})},Kee=FB("div",{_id:"aiChatForm__Success"}),Xee=e=>{const{isSuccess:t}=gD();return t?Vf.jsx(Kee,{...e}):null},Qee=FB("h2",{_id:"aiChatForm__SuccessHeading"}),Zee=e=>{const{form:t}=gD();return Vf.jsx(Qee,{children:null==t?void 0:t.successView.heading,...e})},Jee=FB(M4,{_id:"aiChatForm__SuccessMessage"}),ete=FB("button",{_id:"aiChatForm__SuccessButton"}),tte=e=>{var t;const{onClick:n,...r}=e,{form:a,closeForm:o}=gD(),i=null==(t=null==a?void 0:a.successView)?void 0:t.doneButton;if(!i)return null;const s=i.icon&&Vf.jsx(eq,{iconSettings:i.icon}),l=i.label;return Vf.jsx(ete,{onClick:U4(n,o),children:Vf.jsxs(Vf.Fragment,{children:[s,l]}),...r})};var nte=.999,rte=/[\\\/_+.#"@\[\(\{&]/,ate=/[\\\/_+.#"@\[\(\{&]/g,ote=/[\s-]/,ite=/[\s-]/g;function ste(e,t,n,r,a,o,i){if(o===t.length)return a===e.length?1:.99;var s=`${a},${o}`;if(void 0!==i[s])return i[s];for(var l,c,u,d,p=r.charAt(o),f=n.indexOf(p,a),h=0;f>=0;)(l=ste(e,t,n,r,f+1,o+1,i))>h&&(f===a?l*=1:rte.test(e.charAt(f-1))?(l*=.8,(u=e.slice(a,f-1).match(ate))&&a>0&&(l*=Math.pow(nte,u.length))):ote.test(e.charAt(f-1))?(l*=.9,(d=e.slice(a,f-1).match(ite))&&a>0&&(l*=Math.pow(nte,d.length))):(l*=.17,a>0&&(l*=Math.pow(nte,f-a))),e.charAt(f)!==t.charAt(o)&&(l*=.9999)),(l<.1&&n.charAt(f-1)===r.charAt(o+1)||r.charAt(o+1)===r.charAt(o)&&n.charAt(f-1)!==r.charAt(o))&&.1*(c=ste(e,t,n,r,f+1,o+2,i))>l&&(l=.1*c),l>h&&(h=l),f=n.indexOf(p,f+1);return i[s]=h,h}function lte(e){return e.toLowerCase().replace(ite," ")}function cte(e,t,n){return ste(e=n&&n.length>0?""+(e+" "+n.join(" ")):e,t,lte(e),lte(t),0,0,{})}var ute={exports:{}},dte={},pte=Z;var fte="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},hte=pte.useState,mte=pte.useEffect,gte=pte.useLayoutEffect,yte=pte.useDebugValue;function bte(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!fte(e,n)}catch(r){return!0}}var vte="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var n=t(),r=hte({inst:{value:n,getSnapshot:t}}),a=r[0].inst,o=r[1];return gte((function(){a.value=n,a.getSnapshot=t,bte(a)&&o({inst:a})}),[e,n,t]),mte((function(){return bte(a)&&o({inst:a}),e((function(){bte(a)&&o({inst:a})}))}),[e]),yte(n),n};dte.useSyncExternalStore=void 0!==pte.useSyncExternalStore?pte.useSyncExternalStore:vte,ute.exports=dte;var wte=ute.exports;const kte="__ask_ai__",xte='[cmdk-group=""]',Ete='[cmdk-group-items=""]',_te='[cmdk-item=""]',Ste=`${_te}:not([aria-disabled="true"])`,Tte="cmdk-item-select",Cte="data-value",Ate=(e,t,n)=>cte(e,t,n??[]),Nte=Z.createContext(void 0),Ite=()=>Z.useContext(Nte),Rte=Z.createContext(void 0),Ote=()=>Z.useContext(Rte),Pte=Z.createContext(void 0),Lte=Z.forwardRef(((e,t)=>{const n=Yte((()=>new Set)),r=Yte((()=>new Map)),a=Yte((()=>new Map)),o=Yte((()=>new Set)),i=Wte(e),{label:s,children:l,value:c,onValueChange:u,filter:d,shouldFilter:p,loop:f,disablePointerSelection:h=!1,vimBindings:m=!0,defaultSearch:g,...y}=e,b=Yte((()=>({search:g??"",value:e.value??e.defaultValue??"",selectedItemId:void 0,filtered:{count:0,items:new Map,groups:new Set}}))),v=FO(),w=FO(),k=FO(),x=Z.useRef(null),E=Zte();qte((()=>{if(void 0!==c){const e=c.trim();b.current.value=e,S.emit()}}),[c]),qte((()=>{E(6,R)}),[]);const _=BO(),S=Z.useMemo((()=>({subscribe:e=>(o.current.add(e),()=>o.current.delete(e)),snapshot:()=>b.current,setState:(e,t,n)=>{var r,a,o,s,l;if(!Object.is(b.current[e],t)){if(b.current[e]=t,"search"===e)I(),A(),E(1,N);else if("value"===e){const e=null==(a=null==(r=null==_?void 0:_.shadowHost)?void 0:r.shadowRoot)?void 0:a.activeElement;if((null==e?void 0:e.hasAttribute("cmdk-input"))||E(1,(()=>{const e=O();null==e||e.focus()})),E(7,(()=>{var e;b.current.selectedItemId=null==(e=O())?void 0:e.id,S.emit()})),n||E(5,R),void 0!==(null==(o=i.current)?void 0:o.value)){const e=t??"";return void(null==(l=(s=i.current).onValueChange)||l.call(s,e))}}S.emit()}},emit:()=>{o.current.forEach((e=>e()))}})),[]),T=Z.useMemo((()=>({value:(e,t,n)=>{var r;t!==(null==(r=a.current.get(e))?void 0:r.value)&&(a.current.set(e,{value:t,keywords:n}),b.current.filtered.items.set(e,C(t,n)),E(2,(()=>{A(),S.emit()})))},item:(e,t)=>{var o,i;return n.current.add(e),t&&(r.current.has(t)?null==(i=null==(o=r.current)?void 0:o.get(t))||i.add(e):r.current.set(t,new Set([e]))),E(3,(()=>{I(),A(),b.current.value||N(),S.emit()})),()=>{a.current.delete(e),n.current.delete(e),b.current.filtered.items.delete(e);const t=O();E(4,(()=>{I(),(null==t?void 0:t.getAttribute("id"))===e&&N(),S.emit()}))}},group:e=>(r.current.has(e)||r.current.set(e,new Set),()=>{a.current.delete(e),r.current.delete(e)}),filter:()=>!!i.current.shouldFilter,label:s||e["aria-label"]||"",getDisablePointerSelection:()=>!!i.current.disablePointerSelection,listId:v,inputId:k,labelId:w,listInnerRef:x})),[]);function C(e,t){var n;const r=(null==(n=i.current)?void 0:n.filter)??Ate;return e?null==r?void 0:r(e,b.current.search,t):0}function A(){if(!b.current.search||!1===i.current.shouldFilter)return;const e=b.current.filtered.items,t=[];b.current.filtered.groups.forEach((n=>{const a=r.current.get(n);let o=0;a.forEach((t=>{const n=e.get(t);o=Math.max(n,o)})),t.push([n,o])}));const n=x.current;P().sort(((t,n)=>{const r=t.getAttribute("id"),a=n.getAttribute("id");return(e.get(a)??0)-(e.get(r)??0)})).forEach((e=>{const t=e.closest(Ete);if(t){const n=e.parentElement===t?e:e.closest(`${Ete} > *`);n&&t.appendChild(n)}else{const t=e.parentElement===n?e:e.closest(`${Ete} > *`);t&&(null==n||n.appendChild(t))}})),t.sort(((e,t)=>t[1]-e[1])).forEach((e=>{var t,n;const r=null==(t=x.current)?void 0:t.querySelector(`${xte}[${Cte}="${encodeURIComponent(e[0])}"]`);null==(n=null==r?void 0:r.parentElement)||n.appendChild(r)}))}function N(){const e=P().find((e=>"true"!==e.getAttribute("aria-disabled")&&e.getAttribute("data-value")!==kte)),t=null==e?void 0:e.getAttribute(Cte);S.setState("value",t||void 0)}function I(){var e,t;if(!b.current.search||!1===i.current.shouldFilter)return void(b.current.filtered.count=n.current.size);b.current.filtered.groups=new Set;let o=0;for(const r of n.current){const n=C((null==(e=a.current.get(r))?void 0:e.value)??"",(null==(t=a.current.get(r))?void 0:t.keywords)??[]);b.current.filtered.items.set(r,n),n>0&&o++}for(const[n,a]of r.current)for(const e of a){const t=b.current.filtered.items.get(e);if(t&&t>0){b.current.filtered.groups.add(n);break}}b.current.filtered.count=o}function R(){var e,t,n;const r=O();r&&((null==(e=r.parentElement)?void 0:e.firstChild)===r&&(null==(n=null==(t=r.closest(xte))?void 0:t.querySelector('[cmdk-group-heading=""]'))||n.scrollIntoView({block:"nearest"})),r.scrollIntoView({block:"nearest"}))}function O(){var e;return null==(e=x.current)?void 0:e.querySelector(`${_te}[aria-selected="true"]`)}function P(){var e;return Array.from((null==(e=x.current)?void 0:e.querySelectorAll(Ste))||[])}function L(e){const t=P()[e];t&&S.setState("value",t.getAttribute(Cte))}function D(e){var t;const n=O(),r=P(),a=r.findIndex((e=>e===n));let o=r[a+e];(null==(t=i.current)?void 0:t.loop)&&(o=a+e<0?r[r.length-1]:a+e===r.length?r[0]:r[a+e]),o&&S.setState("value",o.getAttribute(Cte))}function M(e){const t=O();let n,r=null==t?void 0:t.closest(xte);for(;r&&!n;)r=e>0?Gte(r,xte):Vte(r,xte),n=null==r?void 0:r.querySelector(Ste);n?S.setState("value",n.getAttribute(Cte)):D(e)}const F=e=>{e.preventDefault(),e.metaKey?L(P().length-1):e.altKey?M(1):D(1)},j=e=>{e.preventDefault(),e.metaKey?L(0):e.altKey?M(-1):D(-1)},B=vD();return Vf.jsxs(qG.div,{ref:t,tabIndex:-1,...y,"cmdk-root":"",onKeyDown:e=>{var t;if("search"===(null==B?void 0:B.view)&&(null==(t=y.onKeyDown)||t.call(y,e),!e.defaultPrevented))switch(e.key){case"n":case"j":m&&e.ctrlKey&&F(e);break;case"ArrowDown":F(e);break;case"p":case"k":m&&e.ctrlKey&&j(e);break;case"ArrowUp":j(e);break;case"Enter":if(!e.nativeEvent.isComposing&&229!==e.keyCode){e.preventDefault();const t=O();if(t){const e=new Event(Tte);t.dispatchEvent(e)}}}},style:{display:"contents"},children:[Vf.jsx("label",{"cmdk-label":"",htmlFor:T.inputId,id:T.labelId,style:ene,children:s}),Jte(e,(e=>Vf.jsx(Rte.Provider,{value:S,children:Vf.jsx(Nte.Provider,{value:T,children:e})})))]})})),Dte=Z.forwardRef(((e,t)=>{var n;const{id:r}=e,a=Z.useRef(null),o=Z.useContext(Pte),i=Ite(),s=Wte(e),l=(null==(n=s.current)?void 0:n.forceMount)??(null==o?void 0:o.forceMount);qte((()=>{if(!l)return i.item(r,null==o?void 0:o.id)}),[l]);const c=Qte(r,a,[e.value,e.children,a],e.keywords),u=Ote(),d=Xte((e=>e.value&&e.value===c.current)),p=Xte((e=>!!l||(!1===i.filter()||(!e.search||e.filtered.items.get(r)>0))));Z.useEffect((()=>{const t=a.current;if(!t||e.disabled)return;const n=()=>h("keyboard");return t.addEventListener(Tte,n),()=>t.removeEventListener(Tte,n)}),[p,e.onSelect,e.disabled]);const f=Z.useCallback((()=>{u.setState("value",c.current,!0)}),[u,c]),h=Z.useCallback(((e="click")=>{var t,n;f(),null==(n=(t=s.current).onSelect)||n.call(t,{value:c.current,trigger:e})}),[f,s,c]);if(!p)return null;const{disabled:m,value:g,onSelect:y,forceMount:b,keywords:v,onClick:w,...k}=e,x=Z.useMemo((()=>Kte([a,t])),[a,t]),E=U4(w,h);return Vf.jsx(qG.div,{ref:x,...k,id:r,"cmdk-item":"",role:"option","aria-disabled":Boolean(m),"aria-selected":Boolean(d),"data-disabled":Boolean(m),"data-selected":Boolean(d),onPointerMove:m||i.getDisablePointerSelection()?void 0:f,onClick:m?void 0:E,onFocus:m?void 0:f,children:e.children})})),Mte=Z.forwardRef(((e,t)=>{const{heading:n,children:r,forceMount:a,...o}=e,i=FO(),s=Z.useRef(null),l=Z.useRef(null),c=FO(),u=Ite(),d=Xte((e=>!!a||(!1===u.filter()||(!e.search||e.filtered.groups.has(i)))));qte((()=>u.group(i)),[]),Qte(i,s,[e.value,e.heading,l]);const p=Z.useMemo((()=>({id:i,forceMount:a})),[a]);return Vf.jsxs(qG.div,{ref:Kte([s,t]),...o,"cmdk-group":"",role:"presentation",hidden:!d||void 0,children:[n&&Vf.jsx("div",{ref:l,"cmdk-group-heading":"","aria-hidden":!0,id:c,children:n}),Jte(e,(e=>Vf.jsx("div",{"cmdk-group-items":"",role:"group","aria-labelledby":n?c:void 0,children:Vf.jsx(Pte.Provider,{value:p,children:e})})))]})})),Fte=Z.forwardRef(((e,t)=>{const{alwaysRender:n,...r}=e,a=Z.useRef(null),o=Xte((e=>!e.search));return n||o?Vf.jsx(qG.div,{ref:Kte([a,t]),...r,"cmdk-separator":"",role:"separator"}):null})),jte=Z.forwardRef(((e,t)=>{const{onValueChange:n,...r}=e,a=null!=e.value,o=Ote(),i=Xte((e=>e.search)),s=Ite();return Z.useEffect((()=>{null!=e.value&&o.setState("search",e.value)}),[e.value]),Vf.jsx(qG.input,{ref:t,...r,"cmdk-input":"",autoComplete:"off",autoCorrect:"off",spellCheck:!1,"aria-autocomplete":"list",role:"combobox","aria-expanded":!0,"aria-controls":s.listId,"aria-labelledby":s.labelId,id:s.inputId,type:"text",value:a?e.value:i,onChange:e=>{a||o.setState("search",e.target.value),null==n||n(e.target.value)}})})),Bte=Z.forwardRef(((e,t)=>{const{children:n,label:r="Suggestions",...a}=e,o=Z.useRef(null),i=Z.useRef(null),s=Ite();return Z.useEffect((()=>{if(i.current&&o.current){const e=i.current,t=o.current;let n;const r=new ResizeObserver((()=>{n=requestAnimationFrame((()=>{const n=e.offsetHeight;t.style.setProperty("--cmdk-list-height",n.toFixed(1)+"px")}))}));return r.observe(e),()=>{cancelAnimationFrame(n),r.unobserve(e)}}}),[]),Vf.jsx(qG.div,{ref:Kte([o,t]),...a,"cmdk-list":"",tabIndex:-1,"aria-label":r,id:s.listId,children:Jte(e,(e=>Vf.jsx("div",{ref:Kte([i,s.listInnerRef]),"cmdk-list-sizer":"",children:e})))})})),zte=Z.forwardRef(((e,t)=>{const{open:n,onOpenChange:r,overlayClassName:a,contentClassName:o,container:i,...s}=e;return Vf.jsx(aW,{open:n,onOpenChange:r,children:Vf.jsxs(oW,{container:i,children:[Vf.jsx(iW,{"cmdk-overlay":"",className:a}),Vf.jsx(sW,{"aria-label":e.label,"cmdk-dialog":"",className:o,children:Vf.jsx(Lte,{ref:t,...s})})]})})})),Hte=Z.forwardRef(((e,t)=>Xte((e=>0===e.filtered.count))?Vf.jsx(qG.div,{ref:t,...e,"cmdk-empty":"",role:"presentation"}):null)),Ute=Z.forwardRef(((e,t)=>{const{progress:n,children:r,label:a="Loading...",...o}=e;return Vf.jsx(qG.div,{ref:t,...o,"cmdk-loading":"",role:"progressbar","aria-valuenow":n,"aria-valuemin":0,"aria-valuemax":100,"aria-label":a,children:Jte(e,(e=>Vf.jsx("div",{"aria-hidden":!0,children:e})))})})),$te=Object.assign(Lte,{List:Bte,Item:Dte,Input:jte,Group:Mte,Separator:Fte,Dialog:zte,Empty:Hte,Loading:Ute});function Gte(e,t){let n=e.nextElementSibling;for(;n;){if(n.matches(t))return n;n=n.nextElementSibling}}function Vte(e,t){let n=e.previousElementSibling;for(;n;){if(n.matches(t))return n;n=n.previousElementSibling}}function Wte(e){const t=Z.useRef(e);return qte((()=>{t.current=e})),t}const qte="undefined"==typeof window?Z.useEffect:Z.useLayoutEffect;function Yte(e){const t=Z.useRef(void 0);return void 0===t.current&&(t.current=e()),t}function Kte(e){return t=>{e.forEach((e=>{"function"==typeof e?e(t):null!=e&&(e.current=t)}))}}function Xte(e){const t=Ote(),n=()=>e(t.snapshot());return wte.useSyncExternalStore(t.subscribe,n,n)}function Qte(e,t,n,r=[]){const a=Z.useRef(void 0),o=Ite();return qte((()=>{var i;const s=(()=>{var e;for(const t of n){if("string"==typeof t)return t.trim();if("object"==typeof t&&"current"in t)return t.current?null==(e=t.current.textContent)?void 0:e.trim():a.current}})(),l=r.map((e=>e.trim()));o.value(e,s,l),null==(i=t.current)||i.setAttribute(Cte,s),a.current=s})),a}const Zte=()=>{const[e,t]=Z.useState(),n=Yte((()=>new Map));return qte((()=>{n.current.forEach((e=>e())),n.current=new Map}),[e]),(e,r)=>{n.current.set(e,r),t({})}};function Jte({asChild:e,children:t},n){return e&&Z.isValidElement(t)?Z.cloneElement(function(e){const t=e.type;return"function"==typeof t?t(e.props):"render"in t?t.render(e.props):e}(t),{ref:t.ref},n(t.props.children)):n(t)}const ene={position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0"},tne=e=>{var t,n,r;switch(e.rootRecord.__typename){case"DocumentationRecord":{const a=rne((null==(n=null==(t=e.pathHeadings)?void 0:t.at(-1))?void 0:n.content)||""),o=rne((null==(r=e.content)?void 0:r.content)||"");return e.preview||o||a}case"GitHubIssueRecord":case"StackOverflowRecord":case"DiscourseRecord":return e.rootRecord.body;default:return e.preview}},nne=e=>{switch(e.rootRecord.__typename){case"StackOverflowRecord":return e.rootRecord.markedAsCorrectAnswer?"Resolved":void 0;case"GitHubIssueRecord":return"CLOSED"===e.rootRecord.state?"Closed":void 0}},rne=e=>e.replace(/(https?:\/\/\S+)/g,(e=>{const t=e.split("/");return t.length>3?`...${t.slice(-2).join("/")}`:e})),ane=e=>{switch(e){case"DocumentationRecord":return"documentation";case"GitHubIssueRecord":return"github_issue";case"DiscourseRecord":return"discourse";case"DiscordRecord":return"discord";case"StackOverflowRecord":return"stackoverflow";case"SlackEntry":return"slack_message";default:return"site"}};const one=()=>{const{searchSettings:e}=ZO(),{tabs:t,searchFunctionsRef:n}=e,[r,a]=Z.useState(!1),o=Z.useRef(null),[i,s]=Z.useState(!1),l=(null==t?void 0:t.length)?"string"==typeof t[0]?t[0]:t[0][0]:"All",[c,u]=Z.useState(l),[d,p]=Z.useState([]),f=(e=>{const{baseSettings:{transformSource:t,organizationDisplayName:n},searchSettings:{tabs:r,shouldOpenLinksInNewTab:a}}=ZO();return Z.useMemo((()=>{var o;const i=r.length>0?r:["All"],s={},l=new Set,c=i.map((e=>"string"==typeof e?e:e[0]));for(const e of c)s[e]=[];for(const u of e){const e=u.url||"";if(l.has(e))continue;l.add(e);const o=r6({title:u.title,url:e,description:tne(u),type:ane(u.rootRecord.__typename),tag:nne(u),breadcrumbs:u.rootRecord.pathBreadcrumbs??[],contentType:u.rootRecord.contentType},"searchResultItem",{organizationDisplayName:n,tabs:r,transformSource:t}),i={...o,id:u.id,isExternal:void 0!==o.shouldOpenInNewTab?o.shouldOpenInNewTab:a},d=i.tabs||[];for(const t of d){const e="string"==typeof t?t:t[0];c.includes(e)?s[e].push(i):console.warn(`Tab "${e}" found in item but not configured in tabs`)}c.includes("All")&&s.All.push(i)}for(const e of Object.keys(s)){const t=i.find((t=>"string"==typeof t?t===e:t[0]===e)),n="object"==typeof t&&!0===(null==(o=t[1])?void 0:o.isAlwaysVisible);0!==s[e].length||n||delete s[e]}return s}),[e,t,n,r,a])})(d),{disableTransition:h,disabled:m}=function(){const[e,t]=Z.useState(!1);Z.useEffect((()=>{if(e){const e=setTimeout((()=>t(!1)),0);return()=>clearTimeout(e)}}),[e]);const n=Z.useCallback((()=>t(!0)),[]);return{disabled:e,disableTransition:n}}(),g=Ote();return Z.useImperativeHandle(n,(()=>({updateQuery(e){g.setState("search",e)},focusInput:()=>{var e;null==(e=o.current)||e.focus()}}))),{results:f,resultsList:d,setResultsList:p,hasContent:r&&(d.length>0||i),loading:i,setLoading:s,defaultTab:l,tab:c,setTab:u,disableTransition:h,transitionsDisabled:m,inputRef:o,showSearchResults:r,setShowSearchResults:a}},ine=Z.createContext(void 0),sne=({children:e})=>{const{logEvent:t}=hP();return Vf.jsx(ine.Provider,{value:{logEvent:t},children:e})},lne=({children:e})=>Vf.jsx(fP,{children:Vf.jsx(sne,{children:e})}),cne=()=>{const e=Z.useContext(ine);if(!e)throw new Error("useSearchEvents must be used within a SearchEventsProvider");return e},une=Z.createContext(void 0),dne=e=>{const{searchSettings:{defaultQuery:t}}=ZO();return Vf.jsx(lne,{children:Vf.jsx($te,{shouldFilter:!1,loop:!1,defaultSearch:t,children:Vf.jsx(pne,{...e})})})},pne=({children:e,...t})=>{const n=one();return Vf.jsx(une.Provider,{value:{...n,...t},children:e})},fne=()=>{const e=Z.useContext(une);if(!e)throw new Error("useSearch must be used within a SearchProvider");return e};var hne="rovingFocusGroup.onEntryFocus",mne={bubbles:!1,cancelable:!0},gne="RovingFocusGroup",[yne,bne,vne]=function(e){const t=e+"CollectionProvider",[n,r]=DD(t),[a,o]=n(t,{collectionRef:{current:null},itemMap:new Map}),i=e=>{const{scope:t,children:n}=e,r=J.useRef(null),o=J.useRef(new Map).current;return Vf.jsx(a,{scope:t,itemMap:o,collectionRef:r,children:n})};i.displayName=t;const s=e+"CollectionSlot",l=J.forwardRef(((e,t)=>{const{scope:n,children:r}=e,a=LD(t,o(s,n).collectionRef);return Vf.jsx(FD,{ref:a,children:r})}));l.displayName=s;const c=e+"CollectionItemSlot",u="data-radix-collection-item",d=J.forwardRef(((e,t)=>{const{scope:n,children:r,...a}=e,i=J.useRef(null),s=LD(t,i),l=o(c,n);return J.useEffect((()=>(l.itemMap.set(i,{ref:i,...a}),()=>{l.itemMap.delete(i)}))),Vf.jsx(FD,{[u]:"",ref:s,children:r})}));return d.displayName=c,[{Provider:i,Slot:l,ItemSlot:d},function(t){const n=o(e+"CollectionConsumer",t),r=J.useCallback((()=>{const e=n.collectionRef.current;if(!e)return[];const t=Array.from(e.querySelectorAll(`[${u}]`)),r=Array.from(n.itemMap.values()).sort(((e,n)=>t.indexOf(e.ref.current)-t.indexOf(n.ref.current)));return r}),[n.collectionRef,n.itemMap]);return r},r]}(gne),[wne,kne]=DD(gne,[vne]),[xne,Ene]=wne(gne),_ne=Z.forwardRef(((e,t)=>Vf.jsx(yne.Provider,{scope:e.__scopeRovingFocusGroup,children:Vf.jsx(yne.Slot,{scope:e.__scopeRovingFocusGroup,children:Vf.jsx(Sne,{...e,ref:t})})})));_ne.displayName=gne;var Sne=Z.forwardRef(((e,t)=>{const{__scopeRovingFocusGroup:n,orientation:r,loop:a=!1,dir:o,currentTabStopId:i,defaultCurrentTabStopId:s,onCurrentTabStopIdChange:l,onEntryFocus:c,preventScrollOnEntryFocus:u=!1,...d}=e,p=Z.useRef(null),f=LD(t,p),h=$U(o),[m=null,g]=oj({prop:i,defaultProp:s,onChange:l}),[y,b]=Z.useState(!1),v=$D(c),w=bne(n),k=Z.useRef(!1),[x,E]=Z.useState(0);return Z.useEffect((()=>{const e=p.current;if(e)return e.addEventListener(hne,v),()=>e.removeEventListener(hne,v)}),[v]),Vf.jsx(xne,{scope:n,orientation:r,dir:h,loop:a,currentTabStopId:m,onItemFocus:Z.useCallback((e=>g(e)),[g]),onItemShiftTab:Z.useCallback((()=>b(!0)),[]),onFocusableItemAdd:Z.useCallback((()=>E((e=>e+1))),[]),onFocusableItemRemove:Z.useCallback((()=>E((e=>e-1))),[]),children:Vf.jsx(UD.div,{tabIndex:y||0===x?-1:0,"data-orientation":r,...d,ref:f,style:{outline:"none",...e.style},onMouseDown:RD(e.onMouseDown,(()=>{k.current=!0})),onFocus:RD(e.onFocus,(e=>{const t=!k.current;if(e.target===e.currentTarget&&t&&!y){const t=new CustomEvent(hne,mne);if(e.currentTarget.dispatchEvent(t),!t.defaultPrevented){const e=w().filter((e=>e.focusable));Nne([e.find((e=>e.active)),e.find((e=>e.id===m)),...e].filter(Boolean).map((e=>e.ref.current)),u)}}k.current=!1})),onBlur:RD(e.onBlur,(()=>b(!1)))})})})),Tne="RovingFocusGroupItem",Cne=Z.forwardRef(((e,t)=>{const{__scopeRovingFocusGroup:n,focusable:r=!0,active:a=!1,tabStopId:o,...i}=e,s=nM(),l=o||s,c=Ene(Tne,n),u=c.currentTabStopId===l,d=bne(n),{onFocusableItemAdd:p,onFocusableItemRemove:f}=c;return Z.useEffect((()=>{if(r)return p(),()=>f()}),[r,p,f]),Vf.jsx(yne.ItemSlot,{scope:n,id:l,focusable:r,active:a,children:Vf.jsx(UD.span,{tabIndex:u?0:-1,"data-orientation":c.orientation,...i,ref:t,onMouseDown:RD(e.onMouseDown,(e=>{r?c.onItemFocus(l):e.preventDefault()})),onFocus:RD(e.onFocus,(()=>c.onItemFocus(l))),onKeyDown:RD(e.onKeyDown,(e=>{if("Tab"===e.key&&e.shiftKey)return void c.onItemShiftTab();if(e.target!==e.currentTarget)return;const t=function(e,t,n){const r=function(e,t){return"rtl"!==t?e:"ArrowLeft"===e?"ArrowRight":"ArrowRight"===e?"ArrowLeft":e}(e.key,n);return"vertical"===t&&["ArrowLeft","ArrowRight"].includes(r)||"horizontal"===t&&["ArrowUp","ArrowDown"].includes(r)?void 0:Ane[r]}(e,c.orientation,c.dir);if(void 0!==t){if(e.metaKey||e.ctrlKey||e.altKey||e.shiftKey)return;e.preventDefault();let a=d().filter((e=>e.focusable)).map((e=>e.ref.current));if("last"===t)a.reverse();else if("prev"===t||"next"===t){"prev"===t&&a.reverse();const o=a.indexOf(e.currentTarget);a=c.loop?(r=o+1,(n=a).map(((e,t)=>n[(r+t)%n.length]))):a.slice(o+1)}setTimeout((()=>Nne(a)))}var n,r}))})})}));Cne.displayName=Tne;var Ane={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function Nne(e,t=!1){const n=document.activeElement;for(const r of e){if(r===n)return;if(r.focus({preventScroll:t}),document.activeElement!==n)return}}var Ine=_ne,Rne=Cne,One="Tabs",[Pne,Lne]=DD(One,[kne]),Dne=kne(),[Mne,Fne]=Pne(One),jne=Z.forwardRef(((e,t)=>{const{__scopeTabs:n,value:r,onValueChange:a,defaultValue:o,orientation:i="horizontal",dir:s,activationMode:l="automatic",...c}=e,u=$U(s),[d,p]=oj({prop:r,onChange:a,defaultProp:o});return Vf.jsx(Mne,{scope:n,baseId:nM(),value:d,onValueChange:p,orientation:i,dir:u,activationMode:l,children:Vf.jsx(UD.div,{dir:u,"data-orientation":i,...c,ref:t})})}));jne.displayName=One;var Bne="TabsList",zne=Z.forwardRef(((e,t)=>{const{__scopeTabs:n,loop:r=!0,...a}=e,o=Fne(Bne,n),i=Dne(n);return Vf.jsx(Ine,{asChild:!0,...i,orientation:o.orientation,dir:o.dir,loop:r,children:Vf.jsx(UD.div,{role:"tablist","aria-orientation":o.orientation,...a,ref:t})})}));zne.displayName=Bne;var Hne="TabsTrigger",Une=Z.forwardRef(((e,t)=>{const{__scopeTabs:n,value:r,disabled:a=!1,...o}=e,i=Fne(Hne,n),s=Dne(n),l=Vne(i.baseId,r),c=Wne(i.baseId,r),u=r===i.value;return Vf.jsx(Rne,{asChild:!0,...s,focusable:!a,active:u,children:Vf.jsx(UD.button,{type:"button",role:"tab","aria-selected":u,"aria-controls":c,"data-state":u?"active":"inactive","data-disabled":a?"":void 0,disabled:a,id:l,...o,ref:t,onMouseDown:RD(e.onMouseDown,(e=>{a||0!==e.button||!1!==e.ctrlKey?e.preventDefault():i.onValueChange(r)})),onKeyDown:RD(e.onKeyDown,(e=>{[" ","Enter"].includes(e.key)&&i.onValueChange(r)})),onFocus:RD(e.onFocus,(()=>{const e="manual"!==i.activationMode;u||a||!e||i.onValueChange(r)}))})})}));Une.displayName=Hne;var $ne="TabsContent",Gne=Z.forwardRef(((e,t)=>{const{__scopeTabs:n,value:r,forceMount:a,children:o,...i}=e,s=Fne($ne,n),l=Vne(s.baseId,r),c=Wne(s.baseId,r),u=r===s.value,d=Z.useRef(u);return Z.useEffect((()=>{const e=requestAnimationFrame((()=>d.current=!1));return()=>cancelAnimationFrame(e)}),[]),Vf.jsx(rj,{present:a||u,children:({present:n})=>Vf.jsx(UD.div,{"data-state":u?"active":"inactive","data-orientation":s.orientation,role:"tabpanel","aria-labelledby":l,hidden:!n,id:c,tabIndex:0,...i,ref:t,style:{...e.style,animationDuration:d.current?"0s":void 0},children:n&&o})})}));function Vne(e,t){return`${e}-trigger-${t}`}function Wne(e,t){return`${e}-content-${t}`}Gne.displayName=$ne;var qne=jne,Yne=zne,Kne=Une,Xne=Gne;const Qne=()=>{const{setResultsList:e,setLoading:t,showSearchResults:n,setShowSearchResults:r}=fne(),{baseSettings:a,searchSettings:o}=ZO(),{apiKey:i,aiApiBaseUrl:s,userAuthToken:l,filters:c}=a,{maxResults:u,debounceTimeMs:d,onQueryChange:p,filters:f}=o,{logEvent:h}=cne(),m=Z.useRef({}),g=Z.useRef(null),y=Z.useRef(null),b=`${s}/graphql`,v=Z.useMemo((()=>({Authorization:`Bearer ${i}`,"Content-Type":"application/json",...l?{"User-Token":l}:{}})),[i,l]),w=Z.useCallback((async n=>{const r=new AbortController;g.current=r;try{const t=await async function(e,t,n,r,a){var o;const i=await fetch(e,{method:"POST",headers:{"Content-Type":"application/json",...r},signal:a,body:JSON.stringify({query:t,variables:n})});if(!i.ok)throw new Error(`Network response was not OK (status: ${i.status})`);const s=await i.json();if(null==(o=s.errors)?void 0:o.length)throw new Error(s.errors[0].message);return s.data}(b,"query GetSearchResults($searchInput: SearchInput!) {\n search(searchInput: $searchInput) {\n searchHits {\n id\n hitOnRoot\n url\n title\n preview\n\n ... on DocumentationHit {\n rootRecord {\n __typename\n id\n title\n url\n preview\n ... on DocumentationRecord {\n pathBreadcrumbs\n contentType\n topLevelHeadings {\n anchor\n url\n content\n }\n }\n }\n pathHeadings {\n anchor\n content\n }\n content {\n anchor\n content\n }\n }\n\n ... on StackOverflowHit {\n rootRecord {\n __typename\n id\n title\n url\n preview\n ... on StackOverflowRecord {\n body\n createdAt\n\n markedAsCorrectAnswer {\n url\n score\n content\n }\n }\n }\n }\n\n ... on GitHubIssueHit {\n rootRecord {\n __typename\n id\n title\n url\n preview\n ... on GitHubIssueRecord {\n createdAt\n body\n state\n }\n }\n }\n\n ... on DiscourseHit {\n rootRecord {\n __typename\n id\n title\n url\n preview\n ... on DiscourseRecord {\n createdAt\n body\n }\n }\n }\n }\n searchQuery\n }\n}\n",{searchInput:n},v,r.signal),a=null==t?void 0:t.search.searchHits;m.current[n.searchQuery]=a,e(a)}catch(Dhe){if("AbortError"===Dhe.name)return}finally{t(!1)}}),[b,v]),k=Z.useCallback((e=>{const t=m.current[e.searchQuery];h({eventName:"search_query_response_received",properties:{searchQuery:e.searchQuery,totalResults:null==t?void 0:t.length}})}),[]),x=()=>{g.current&&(g.current.abort(),t(!1))},E=Z.useCallback((n=>{if(y.current&&window.clearTimeout(y.current),!n.searchQuery)return x(),void e([]);y.current=window.setTimeout((()=>{x(),h({eventName:"search_query_submitted",properties:{searchQuery:n.searchQuery}}),m.current[n.searchQuery]?(e(m.current[n.searchQuery]),k(n)):(t(!0),w(n).then((()=>{k(n)})))}),d)}),[d,w]),_=Xte((e=>e.search)),S=Z.useMemo((()=>({searchQuery:_,filters:{...c,...f,limit:u}})),[_,u,c,f]),T=Z.useRef(null);Z.useEffect((()=>{const e=()=>{null!==T.current&&(window.clearTimeout(T.current),T.current=null)},t=Boolean(_);return t&&!n?(e(),T.current=window.setTimeout((()=>{r(!0)}),400)):!t&&n&&(e(),r(!1)),e}),[_,n,r]),Z.useEffect((()=>{null==p||p(S.searchQuery),E(S)}),[E,S])};const Zne=FB("div",{_id:"aiSearchWrapper"}),Jne=e=>{const{searchSettings:{view:t}}=ZO(),{isHidden:n,hasContent:r}=fne(),a=wD("(max-width: 768px)"),o=dD();return Vf.jsx(Zne,{"data-hidden":OP(n),"data-has-content":OP(r),"data-in-modal":OP(!!o),"data-mobile":OP(a),"data-view":t,"data-dual-pane-search-expanded":OP(r&&"dual-pane"===t&&!n),...e})},ere=FB("div",{_id:"aiSearchRoot"}),tre=e=>{const{isHidden:t}=fne(),n=wD("(max-width: 768px)");return Vf.jsx(ere,{"data-hidden":OP(t),"data-mobile":OP(n),...e})},nre=FB($te.List,{_id:"aiSearchContent"}),rre=Z.forwardRef(((e,t)=>{const n=Xte((e=>e.value));return Vf.jsx(nre,{"aria-activedescendant":`aiSearchResults__Item-${n}`,...e,ref:t})})),are=FB("div",{_id:"aiSearchInputGroup"}),ore=FB(nq,{_id:"aiSearchInputIcon",iconKey:"search"}),ire=FB($te.Input,{_id:"aiSearchInput"}),sre=Z.forwardRef((({onInput:e,...t},n)=>{const{inputRef:r,shouldAutoFocusInput:a}=fne(),o=Xte((e=>e.value)),i=wD("(max-width: 768px)"),{searchSettings:s}=ZO(),l=Z.useMemo((()=>s.placeholder||(i?"Search...":"Search for anything...")),[s.placeholder,i]),c=IB(n,r),u=dD();return Z.useEffect((()=>{requestAnimationFrame((()=>{a&&(null==r?void 0:r.current)&&(r.current.focus(),r.current.selectionStart=r.current.value.length)}))}),[a,r,null==u?void 0:u.isOpen]),Qne(),Vf.jsx(ire,{ref:c,placeholder:l,"aria-activedescendant":`aiSearchResults__Item-${o}`,...t})})),lre=FB(eq,{_id:"aiSearchLoading",iconSettings:{builtIn:"LuLoaderCircle"}}),cre=e=>{const{loading:t,resultsList:n}=fne();return t&&0!==n.length?Vf.jsx(lre,{...e}):null},ure=FB($te.Item,{_id:"aiAskAITrigger",value:kte}),dre=e=>{var t,n;const{results:r,tab:a}=fne(),o=Ote(),i=(null==(n=null==(t=r[a])?void 0:t[0])?void 0:n.id)??"NONE";return Vf.jsx(ure,{...e,id:`aiSearchResults__Item-${kte}`,tabIndex:0,onPointerLeave:()=>o.setState("value",i,!0)})},pre=FB("img",{_id:"aiAskAITrigger__Icon"}),fre=e=>{const{aiChatSettings:t}=ZO(),{aiAssistantAvatar:n}=t??{},r="string"==typeof n?n:null==n?void 0:n.light,a=uB(r,("string"==typeof n?n:null==n?void 0:n.dark)??r),[o,i]=Z.useState(a);Z.useEffect((()=>{i(a)}),[a]);return Vf.jsx(pre,{asChild:!0,...e,children:o?Vf.jsx("img",{src:o,alt:"AI Avatar","data-type":"image",onError:U4((()=>{i(null)})),...e}):Vf.jsx(kW,{"data-type":"icon",...e})})},hre=FB("span",{_id:"aiAskAITrigger__Label"}),mre=FB(nq,{_id:"aiAskAITrigger__Indicator",iconKey:"openLinkInSameTab"}),gre=FB(qne,{_id:"aiSearchResults"}),yre=e=>{const{searchSettings:{view:t}}=ZO(),{tab:n,setTab:r,hasContent:a,isHidden:o,disableTransition:i,results:s,defaultTab:l}=fne(),c=Ote(),u=Z.useCallback((e=>{var t;i(),r(e);const n=s[e][0]?null==(t=s[e][0])?void 0:t.id:void 0;c.setState("value",n,!0)}),[s,i]);return Z.useEffect((()=>{var e,t;let a=n in s?n:Object.keys(s)[0];if(!(null==(e=s[a])?void 0:e.length)){const e=Object.keys(s).find((e=>{var t;return null==(t=s[e])?void 0:t.length}));a=e||l}if(!a)return;r(a);const o=null==(t=s[a])?void 0:t[0];o&&c.setState("value",o.id,!0)}),[s]),Vf.jsx(gre,{value:n,onValueChange:u,"data-has-content":OP(a),"data-dual-pane-search-expanded":OP(a&&"dual-pane"===t&&!o),...e})},bre=FB("div",{_id:"aiSearchResults__Loading"}),vre=e=>{const{loading:t,resultsList:n}=fne();return!t||n.length>0?null:Vf.jsx(bre,{...e})},wre=FB($te.Empty,{_id:"aiSearchResults__Empty"}),kre=e=>{var t;const n=Xte((e=>e.search)),{loading:r,results:a,tab:o}=fne(),i=null==(t=a[o])?void 0:t.length;return r||!n||i?null:Vf.jsx(wre,{children:"No results found.",...e})},xre=FB(Yne,{_id:"aiSearchResults__TabList"}),Ere=e=>{const{children:t,...n}=e,{searchSettings:{tabs:r}}=ZO(),{results:a,loading:o,resultsList:i}=fne();if(o&&0===i.length)return null;const s=Object.keys(a);return r.length&&s.length?Vf.jsx(xre,{tabIndex:-1,children:LP(t,s),...n}):null},_re=FB(Kne,{_id:"aiSearchResults__Tab"}),Sre=Z.forwardRef(((e,t)=>{const n=Z.useRef(null),r=IB(t,n),{tab:a,onClick:o,...i}=e,{results:s,tab:l,inputRef:c}=fne(),u=s[a].length,d=a===l,p=BO();return Z.useEffect((()=>{var e,t,r;if(d){const a=null==(t=null==(e=null==p?void 0:p.shadowHost)?void 0:e.shadowRoot)?void 0:t.activeElement;(null==a?void 0:a.hasAttribute("ikp-tab"))&&(null==(r=n.current)||r.focus())}}),[d]),Vf.jsx(_re,{ref:r,"ikp-tab":"",tabIndex:d?0:-1,value:a,children:`${a} (${u})`,onClick:U4(o,(()=>{var e;null==(e=c.current)||e.focus()})),...i})})),Tre=FB("div",{_id:"aiSearchResults__Content"}),Cre=FB(S$,{_id:"aiSearchResults__ScrollArea"}),Are=e=>{const{loading:t,resultsList:n}=fne();return t&&0===n.length?null:Vf.jsx(Cre,{tabIndex:-1,...e})},Nre=FB(T$,{_id:"aiSearchResults__ScrollAreaViewport"}),Ire=Z.forwardRef((({children:e,...t},n)=>{const r=function(){const e=Z.useRef(null),t=Z.useCallback((()=>{const t=e.current;t&&(0===t.scrollTop?t.setAttribute("data-scroll-top",""):t.removeAttribute("data-scroll-top"),t.scrollTop+t.clientHeight>=t.scrollHeight-1?t.setAttribute("data-scroll-bottom",""):t.removeAttribute("data-scroll-bottom"))}),[]);return Z.useEffect((()=>{const n=e.current;if(n)return t(),n.addEventListener("scroll",t),window.addEventListener("resize",t),()=>{n.removeEventListener("scroll",t),window.removeEventListener("resize",t)}}),[t]),e}(),a=IB(n,r),{tab:o}=fne();return Z.useEffect((()=>{var e;o&&(null==(e=r.current)||e.scrollTo({top:0,behavior:"auto"}))}),[o]),Vf.jsx(Nre,{ref:a,tabIndex:-1,children:Vf.jsx("div",{tabIndex:-1,style:{display:"grid"},children:e}),...t})})),Rre=FB(e$,{_id:"aiSearchResults__ScrollAreaScrollbar"}),Ore=FB(d$,{_id:"aiSearchResults__ScrollAreaThumb"}),Pre=FB(C$,{_id:"aiSearchResults__ScrollAreaCorner"}),Lre=FB(Xne,{_id:"aiSearchResults__List"}),Dre=e=>{const{children:t,...n}=e,{results:r,tab:a}=fne(),o=r[a]??[];return Vf.jsx(Lre,{value:a,"data-has-results":OP(o.length>0),"aria-label":"Search results",children:LP(t,o),tabIndex:-1,...n})},Mre=FB($te.Item,{_id:"aiSearchResults__Item",asChild:!0}),Fre=Z.forwardRef((({item:e,onClick:t,onSelect:n,children:r,...a},o)=>{var i;const{searchSettings:{shouldOpenLinksInNewTab:s,view:l,searchQueryParamKey:c}}=ZO(),{logEvent:u}=cne(),d=Xte((e=>e.search)),{transitionsDisabled:p}=fne(),f=Xte((e=>e.value)),h=Z.useRef(null),m=IB(o,h),g=Z.useCallback((e=>{var t;"keyboard"===e.trigger&&(null==(t=h.current)||t.click())}),[]),y=Z.useCallback((()=>{u({eventName:"search_result_clicked",properties:{searchQuery:d,title:e.title,url:e.url}})}),[u,d,e.title,e.url]),b=Z.useMemo((()=>void 0!==e.shouldOpenInNewTab?e.shouldOpenInNewTab:s),[e.shouldOpenInNewTab,s]),v=f===e.id,w=v||("NONE"===f||f===kte),k=Z.useMemo((()=>{const t=c?function(e,t,n){try{const r=new URL(e);return r.searchParams.set(n,t),r.toString()}catch{return e}}(e.url,d,c):e.url;return{href:t,isExternal:b,appendToUrl:e.appendToUrl,children:r,id:`aiSearchResults__Item-${e.id}`}}),[e.url,b,e.appendToUrl,r,e.id,c,d]);return Vf.jsx(SB,{source:{...e,isExternal:b},children:Vf.jsx(Mre,{ref:m,value:e.id,"data-type":e.type,"data-breadcrumbs":!!(null==(i=e.breadcrumbs)?void 0:i.length),"data-disable-transitions":OP(p),"data-view":l,onSelect:U4(n,g),onClick:U4(t,y),"data-selected":OP(v),tabIndex:w?0:-1,...a,children:Vf.jsx(aq,{...k})})})})),jre=FB("div",{_id:"aiSearchResults__ItemBreadcrumbs"}),Bre=e=>{var t,n,r,a;const{source:o}=TB(),{tab:i}=fne();if(!(null==(t=o.breadcrumbs)?void 0:t.length))return null;const{children:s,...l}=e,c=(null==(a=null==(r=null==(n=o.tabs)?void 0:n.find((e=>"string"!=typeof e&&e[0]===i)))?void 0:r[1])?void 0:a.breadcrumbs)??o.breadcrumbs??[];return Vf.jsx(jre,{"aria-hidden":"true",children:LP(s,c),...l})},zre=FB(nq,{_id:"aiSearchResults__ItemBreadcrumbIcon",iconKey:"breadcrumbSeparator"}),Hre=FB(eq,{_id:"aiSearchResults__ItemIcon"}),Ure=e=>{const{source:t}=TB();return Vf.jsx(Hre,{iconSettings:t.icon,"data-type":t.type,...e})},$re=FB("span",{_id:"aiSearchResults__ItemTitle"}),Gre=e=>{const{source:t}=TB();return Vf.jsx($re,{"data-type":t.type,children:t.title,...e})},Vre=FB("span",{_id:"aiSearchResults__ItemTag"}),Wre=e=>{const{source:t}=TB();return Vf.jsx(Vre,{"data-type":t.type,children:t.tag,...e})},qre=FB("span",{_id:"aiSearchResults__ItemDescription"}),Yre=e=>{const{source:t}=TB(),{children:n,...r}=e,a=Z.useMemo((()=>t.description?H4(t.description):[]),[t.description]);return a.length?Vf.jsx(qre,{"data-type":t.type,"aria-hidden":"true",children:LP(n,a),...r}):null},Kre=FB("span",{_id:"aiSearchResults__ItemDescriptionPart"}),Xre=e=>{const{part:t,...n}=e,{source:r}=TB();return"string"==typeof t?t:Vf.jsx(Kre,{"data-type":r.type,children:t.content,"data-highlighted":OP(t.highlighted),...n})},Qre=FB(nq,{_id:"aiSearchResults__ItemIndicator"}),Zre=e=>{const{source:t}=TB(),{searchSettings:{view:n}}=ZO();return Vf.jsx(Qre,{iconKey:t.isExternal?"openLinkInNewTab":"openLinkInSameTab","data-view":n,...e})},Jre=FB("div",{_id:"aiSearchResults__ItemPreview","aria-hidden":!0}),eae=e=>{const{searchSettings:{view:t,shouldOpenLinksInNewTab:n}}=ZO(),{results:r,tab:a}=fne(),o=Xte((e=>e.value)),i=r[a]??[],s=Z.useRef(null),l=Z.useMemo((()=>{if(o===kte)return s.current;const e=i.find((e=>e.id===o));return s.current=e??null,e}),[o]);if("dual-pane"!==t||o===kte)return null;if(!l)return null;const c=void 0!==l.shouldOpenInNewTab?l.shouldOpenInNewTab:n;return Vf.jsx(SB,{source:{...l,isExternal:c},children:Vf.jsx(Jre,{...e})})},tae=FB("div",{_id:"aiSearchResults__ItemPreview__Header"}),nae=FB(aq,{_id:"aiSearchResults__ItemPreview__Heading"}),rae=e=>{const{source:t}=TB();return Vf.jsx(nae,{href:t.url,isExternal:t.isExternal,appendToUrl:t.appendToUrl,"data-type":t.type,...e})},aae=FB("span",{_id:"aiSearchResults__ItemPreview__Title"}),oae=e=>{const{source:t}=TB();return Vf.jsx(aae,{children:t.title,...e})},iae=FB(nq,{_id:"aiSearchResults__ItemPreview__Title__LinkIcon",iconKey:"openLinkInNewTab"}),sae=e=>{const{source:t}=TB();return Vf.jsx(iae,{iconKey:t.isExternal?"openLinkInNewTab":"openLinkInSameTab",...e})},lae=FB(Bre,{_id:"aiSearchResults__ItemPreview__Breadcrumbs"}),cae=FB(zre,{_id:"aiSearchResults__ItemPreview__BreadcrumbIcon"}),uae=FB(M4,{_id:"aiSearchResults__ItemPreview__Body"}),dae=e=>{const{source:t}=TB(),{resultsList:n}=fne(),r=n.find((e=>e.id===t.id)),{searchSettings:{shouldOpenLinksInNewTab:a}}=ZO();return r?Vf.jsx(uae,{shouldOpenLinksInNewTab:a,children:r.preview,...e}):null},pae=FB("div",{_id:"aiSearchResults__ItemPreview__Outline"}),fae=e=>{const{source:t}=TB(),{resultsList:n}=fne(),r=n.find((e=>e.id===t.id)),a=null==r?void 0:r.rootRecord.topLevelHeadings;return(null==a?void 0:a.length)?Vf.jsx(pae,{...e}):null},hae=FB("span",{_id:"aiSearchResults__ItemPreview__Outline__Title",children:"On this page"}),mae=FB("ul",{_id:"aiSearchResults__ItemPreview__Outline__List"}),gae=e=>{const{source:t}=TB(),{resultsList:n}=fne(),r=n.find((e=>e.id===t.id)),a=null==r?void 0:r.rootRecord.topLevelHeadings;if(!(null==a?void 0:a.length))return null;const o=a.map((e=>{var t,n,a;const o=(null==e?void 0:e.anchor)&&(null==e?void 0:e.anchor)===(null==(t=null==r?void 0:r.content)?void 0:t.anchor),i=(null==e?void 0:e.anchor)===(null==(a=null==(n=null==r?void 0:r.pathHeadings)?void 0:n[0])?void 0:a.anchor);return{...e,isMatch:o||i}})),{children:i,...s}=e;return Vf.jsx(mae,{children:LP(i,o),...s})},yae=FB(aq,{_id:"aiSearchResults__ItemPreview__Outline__Item"}),bae=e=>{const{searchSettings:{shouldOpenLinksInNewTab:t}}=ZO();return Vf.jsx(yae,{isExternal:t,...e})},vae=FB(nq,{_id:"aiSearchResults__ItemPreview__Outline__ItemIcon",iconKey:"newLine"}),wae=FB("span",{_id:"aiSearchResults__ItemPreview__Outline__ItemText"}),kae=e=>Vf.jsx(wae,{...e}),xae=FB(eq,{_id:"aiSearchResults__ItemPreview__Outline__ItemLinkIcon",iconSettings:{builtIn:"LuLink"}}),Eae=FB("div",{_id:"aiSearchFooter"}),_ae=e=>{const{hasContent:t}=fne();return Vf.jsx(Eae,{"data-has-results":OP(t),...e})},Sae=FB("div",{_id:"aiSearchTagline__Container"}),Tae=FB("span",{_id:"aiSearchTagline__Text",children:"Powered by"}),Cae=FB(B4,{_id:"aiSearchTagline__Logo"}),Aae=FB("a",{_id:"aiSearchTagline__BrandName",children:"inkeep",href:"https://www.inkeep.com/",target:"_blank",rel:"noopener noreferrer"}),Nae=FB(aW,{_id:"modal"}),Iae=FB(iW,{_id:"modal__Overlay"}),Rae=FB(sW,{_id:"modal__Content","aria-describedby":void 0}),Oae=e=>{const t=wD("(max-width: 768px)");return Vf.jsx(Rae,{"data-mobile":OP(t),tabIndex:-1,...e})},Pae=FB(cW,{_id:"modal__Close",children:Vf.jsx(nq,{iconKey:"close"})}),Lae=e=>dD()?Vf.jsx(Pae,{...e}):null,Dae={type:"object",properties:{aiAnnotations:{type:"object",properties:{answerConfidence:{anyOf:[{type:"string",const:"very_confident",description:"Very confident"},{type:"string",const:"somewhat_confident",description:"Somewhat confident"},{type:"string",const:"not_confident",description:"Not confident"},{type:"string",const:"no_sources",description:"No Sources"},{type:"string",const:"other",description:"Other"}]}},required:["answerConfidence"],additionalProperties:!0}},required:["aiAnnotations"],additionalProperties:!1},Mae=async(e,t,n)=>{var r,a,o,i;const s=await t.chat.completions.create({model:"inkeep-qa-expert",messages:e,tools:[{type:"function",function:{name:"provideAIAnnotations",description:"Provides AI confidence levels for the response",parameters:Dae}},{type:"function",function:{name:"provideRecordsConsidered",description:"Provides records considered in generating the response",parameters:{type:"object"}}}],tool_choice:"auto"},n?{headers:n}:void 0),l=null==(a=null==(r=s.choices[0])?void 0:r.message)?void 0:a.content;let c,u;const d=(null==(i=null==(o=s.choices[0])?void 0:o.message)?void 0:i.tool_calls)||[];for(const p of d){if("provideAIAnnotations"===p.function.name){c=JSON.parse(p.function.arguments).aiAnnotations}if("provideRecordsConsidered"===p.function.name){u=JSON.parse(p.function.arguments).recordsConsidered??[]}}return{answer:l||null,aiAnnotations:c,recordsConsidered:u,messages:e}},Fae=async(e,t,n)=>{var r,a,o;const i=JSON.stringify(e.primaryFieldValues,null,2),s=JSON.stringify(e.fieldsToGenerate,null,2),l=await t.chat.completions.create({model:"inkeep-base-expert",messages:[{role:"system",content:'You are a helpful assistant that suggests form field values based on context. You will receive form field information including field names, descriptions, input types, and available options for select fields.\n\nFor each field, consider its description, input type, and available options (for select fields).\n\nYou must respond with a JSON object where keys are the field names and values match the expected input type and length for that field.\n\n<context>\n You are quickly suggesting form field values on behalf of an end-user. Think of yourself as the user filling out this form - keep suggestions simple, direct, and user-centric.\n\n You will receive:\n - Field metadata (names, descriptions, types)\n - For dropdown/select fields, their valid choice options\n - Initial form field values as context\n</context>\n\n<guidance>\n <rule>\n <name>Field Value Suggestions</name>\n <actions>\n <action>\n Return a JSON object where:\n - Keys are field names\n - Values must match field type requirements:\n - Text fields: Plain text strings\n - Dropdown/select fields: ONLY values from provided options list\n - Number fields: Valid numbers\n - Boolean fields: true/false\n\n <good_example> \n ✅ Example (fields will vary based on actual form configuration):\n {\n "issueType": "bug", // from options: ["bug", "feature", "question"]\n "severity": "high", // from options: ["low", "medium", "high"]\n "shortDescription": "Cannot log in to dashboard"\n }\n </good_example>\n\n <bad_example>\n ❌ Bad Example (using same illustrative fields):\n {\n "issueType": "not sure but maybe bug?", // invalid: not from options list\n "severity": "very very high", // invalid: not from options list\n "shortDescription": null // invalid: should be string\n }\n </bad_example>\n \n Note: The actual field names, types and valid options will be provided in the form configuration. \n Above examples are only illustrative of the expected format and validation rules.\n </action>\n </actions>\n </rule>\n\n <global_prohibitions>\n <never>Include explanations or comments in the JSON</never>\n <never>Suggest multiple values for a single field</never>\n <never>Return values not from the provided options for dropdown/select fields</never>\n <never>Skip required fields</never>\n <never>Add fields not present in the input metadata</never>\n <never>Overthink suggestions - keep them straightforward</never>\n </global_prohibitions>\n'},{role:"user",content:`Based on these primary field values:\n${i}\n\nSuggest values for these additional fields:\n${s}`}],stream:!0,response_format:{type:"json_object"}},n?{headers:n}:void 0);let c="";for await(const u of l){const e=null==(o=null==(a=null==(r=u.choices)?void 0:r[0])?void 0:a.delta)?void 0:o.content;e&&(c+=e)}return{suggestedValues:c?JSON.parse(c):{}}},jae=async(e,t)=>{if(t)return;const n=await _D(`${e}/v1/challenge`);return n?{"X-INKEEP-CHALLENGE-SOLUTION":btoa(JSON.stringify(n))}:void 0},Bae=e=>{var t;const{formSettings:n}=e,{baseSettings:r}=ZO(),{conversation:a}=nP(),{logEvent:o}=bP(),{aiApiBaseUrl:i,shouldBypassCaptcha:s}=r,l=Z.useMemo((()=>new db({baseURL:`${i}/v1`,apiKey:r.apiKey,dangerouslyAllowBrowser:!0})),[r.apiKey,i]),[c,u]=Z.useState(!1),[d,p]=Z.useState(!1),[f,h]=Z.useState(!1),[m,g]=Z.useState({}),y=Z.useMemo((()=>{const{primary:e,secondary:t}=n;return fD([...e.fields,...t.fields])}),[n]),{control:b,handleSubmit:v,formState:{errors:w,isSubmitting:k,isSubmitSuccessful:x},reset:E,trigger:_,setValue:S,setError:T}=lD({defaultValues:y});Z.useEffect((()=>{y&&E(y)}),[E,y]);const C=v((async e=>{try{await n.buttons.submit.onSubmit({values:e,conversation:a}),o({eventName:"intelligent_form_submitted",properties:{conversation:a,values:e}})}catch(t){T("root.serverError",{message:t instanceof Error?t.message:"Something went wrong."})}})),A=null==(t=null==w?void 0:w.root)?void 0:t.serverError;return{formSettings:n,control:b,errors:w,isSubmitSuccessful:x,isSubmitting:k,handleSubmit:C,loading:c,formError:A,submittedPrimaryForm:d,handleSubmitPrimaryForm:async()=>{var e;const t=n.primary.fields.map((e=>e.name));if(!(await _(t)))return;p(!0),u(!0);const r=b._formValues,a=n.primary.fields.reduce(((e,t)=>(e[t.name]=r[t.name],e)),{}),c=n.secondary.fields.filter((e=>!1!==e.shouldPrefillWithAI)),d=(e=>{const t=JSON.stringify(e,null,2);return[{id:`${Date.now()}1`,role:"system",content:'\n <context>\n You are evaluating a support form submission to determine if an immediate solution can be provided. Your response is final and non-conversational - the user cannot respond or ask follow-ups. You must either provide a complete solution or explain why one cannot be provided.\n </context>\n <guidance>\n <rule>\n <name>High Confidence Response</name>\n <conditions>\n <and>\n <condition>Form provides clear, specific problem description</condition>\n <condition>Authoritative information exists for this exact issue</condition>\n <condition>Complete solution can be provided from available information</condition>\n <condition>Solution requires no clarification or follow-up</condition>\n </and>\n </conditions>\n <actions>\n <action>\n Provide complete solution in this format:\n 1. State identified problem\n 2. List solution steps\n 3. Include any necessary implementation details\n\n <good_example>\n "To resolve [...paraphrased problem...], try [...solution steps]."\n </good_example>\n\n <bad_example>\n "I think this might be related to [problem]. Would you like me to explain more about...? If you could clarify [X], I could better assist..."\n </bad_example>\n\n <guidance>\n <should>Use only information from form fields</should>\n <should>State solution directly and completely</should>\n <should>Include all necessary steps</should>\n <should>Maintain professional, instructional tone</should>\n </guidance>\n </action>\n </actions>\n </rule>\n <rule>\n <name>Low Confidence Response</name>\n <conditions>\n <or>\n <condition>Problem description is unclear/ambiguous</condition>\n <condition>Authoritative information is missing</condition>\n <condition>Solution would require additional details</condition>\n <condition>Cannot provide complete confidence in solution</condition>\n </or>\n </conditions>\n <actions>\n <action>\n Provide single-sentence explanation focusing on specific information gap.\n\n <good_example>\n "The information sources don\'t cover [specific detail[s]]"\n </good_example>\n\n <bad_example>\n "I\'m not entirely sure about this, but here are some possibilities... Could you provide more details about [X]? Have you tried [Y]? It might also help if..."\n </bad_example>\n\n <guidance>\n <should>State only the primary information gap</should>\n <should>Keep explanation BRIEF and specific</should>\n <should>Focus on what\'s missing, not what\'s known</should>\n </guidance>\n </action>\n </actions>\n </rule>\n <global_prohibitions>\n <never>Ask questions or request clarification</never>\n <never>Use conditional phrases ("would you like", "do you need")</never>\n <never>Suggest contacting support</never>\n <never>Provide partial or uncertain solutions</never>\n <never>Offer multiple possible solutions</never>\n <never>Speculate beyond available information</never>\n </global_prohibitions>\n </guidance>\n '},{id:`${Date.now()}2`,role:"user",content:`${t}`}]})(a);o({eventName:"intelligent_form_primary_section_submitted",properties:{}},d);try{const t=await jae(i,s),n=await jae(i,s),[r,u]=await Promise.all([Mae(d,l,t),Fae({primaryFieldValues:a,fieldsToGenerate:c},l,n)]);if(u.suggestedValues)for(const[e,a]of Object.entries(u.suggestedValues))S(e,a);const p=null==(e=r.aiAnnotations)?void 0:e.answerConfidence,f=p&&["very_confident","somewhat_confident"].includes(p),m=r.recordsConsidered&&r.recordsConsidered.length>0;f&&m&&r.answer?(g({answer:r.answer,answerConfidence:p,recordsConsidered:r.recordsConsidered}),o({eventName:"intelligent_form_ai_response_provided",properties:{recordsConsidered:r.recordsConsidered}},[...d,{id:Date.now().toString(),role:"assistant",content:r.answer,links:[]}])):(h(!0),g({answer:null,recordsConsidered:r.recordsConsidered,suggestedValues:u.suggestedValues}))}catch(f){console.error(f),h(!0)}finally{u(!1)}},aiResponse:m,showSecondaryFields:f,setShowSecondaryFields:h}},zae=Z.createContext(void 0),Hae=({children:e,formSettings:t})=>{const n=Bae({formSettings:t});return Vf.jsx(zae.Provider,{value:n,children:e})},Uae=e=>Vf.jsx(tP,{children:Vf.jsx(yP,{children:Vf.jsx(Hae,{...e})})}),$ae=()=>{const e=Z.useContext(zae);if(!e)throw new Error("useIntelligentForm must be used within a IntelligentFormProvider");return e},Gae=Z.createContext(void 0),Vae=({children:e,field:t,fieldProps:n,autoFocus:r})=>{const{errors:a}=$ae(),o=a[t.name];return Vf.jsx(Gae.Provider,{value:{field:t,fieldProps:n,error:o,autoFocus:r},children:e})},Wae=()=>{const e=Z.useContext(Gae);if(!e)throw new Error("useIntelligentFormField must be used within a IntelligentFormFieldProvider");return e},qae=FB("form",{_id:"intelligentForm__Root"}),Yae=e=>{const{onSubmit:t,...n}=e,{handleSubmit:r}=$ae();return Vf.jsx(qae,{onSubmit:U4(t,r),...n})},Kae=FB("h2",{_id:"intelligentForm__Heading",children:"Contact Support"}),Xae=FB("div",{_id:"intelligentForm__Content"}),Qae=FB(S$,{_id:"intelligentForm__Content__ScrollArea"}),Zae=FB(T$,{_id:"intelligentForm__Content__ScrollAreaViewport"}),Jae=e=>{const{children:t,...n}=e;return Vf.jsx(Zae,{children:Vf.jsx("div",{"data-part":"grid",style:{display:"grid"},children:t}),...n})},eoe=FB(e$,{_id:"intelligentForm__Content__ScrollAreaScrollbar"}),toe=FB(d$,{_id:"intelligentForm__Content__ScrollAreaThumb"}),noe=FB(C$,{_id:"intelligentForm__Content__ScrollAreaCorner"}),roe=FB("div",{_id:"intelligentForm__Success"}),aoe=e=>{const{children:t,...n}=e,{isSubmitSuccessful:r}=$ae();return r?Vf.jsx(roe,{...n,children:t}):null},ooe=FB(eq,{_id:"intelligentForm__SuccessIcon"}),ioe=e=>{const{formSettings:{successView:t}}=$ae();return Vf.jsx(ooe,{iconSettings:t.icon??{builtIn:"LuCircleCheck"},...e})},soe=FB("h2",{_id:"intelligentForm__SuccessHeading"}),loe=e=>{const{formSettings:{successView:t}}=$ae();return Vf.jsx(soe,{children:t.heading,...e})},coe=FB("p",{_id:"intelligentForm__SuccessMessage"}),uoe=e=>{const{formSettings:{successView:t}}=$ae();return Vf.jsx(coe,{children:t.message,...e})},doe=FB("div",{_id:"intelligentForm__PrimaryForm"}),poe=FB("div",{_id:"intelligentForm__PrimaryFormFields"}),foe=FB("p",{_id:"intelligentForm__PrimaryForm__Description"}),hoe=e=>{const{formSettings:{primary:t}}=$ae();return t.description?Vf.jsx(foe,{children:t.description,...e}):null},moe=e=>{const{children:t,...n}=e,{formSettings:{primary:r}}=$ae();return Vf.jsx(poe,{children:LP(t,r.fields),...n})},goe=FB("button",{_id:"intelligentForm__PrimaryFormSubmit",type:"button",children:"Next"}),yoe=e=>{const{onClick:t,...n}=e,{submittedPrimaryForm:r,handleSubmitPrimaryForm:a}=$ae();return Vf.jsx(goe,{"data-submitted":OP(r),onClick:U4(t,a),...n})},boe=FB("div",{_id:"intelligentForm__Field"}),voe=e=>{const{field:t,autoFocus:n,...r}=e,{control:a,errors:o}=$ae();return Vf.jsx(SL,{name:t.name,control:a,rules:{required:t.isRequired?`${t.label} is required.`:void 0},render:({field:e})=>{const a=void 0!==e.value||"file"===t.inputType;return Vf.jsx(Vae,{"data-invalid":OP(!!o[t.name]),field:t,fieldProps:e,autoFocus:n,children:a&&Vf.jsx(boe,{"data-input-type":t.inputType,"data-hidden":OP(t.isHidden),...r})})}})},woe=FB("label",{_id:"intelligentForm__FieldLabel"}),koe=e=>{const{field:t}=Wae();return Vf.jsx(woe,{"data-required":OP(t.isRequired),htmlFor:t.name,children:t.label,...e})},xoe=FB("input",{_id:"intelligentForm__FieldText",type:"text"}),Eoe=Z.forwardRef(((e,t)=>{const{field:n,error:r,fieldProps:{onChange:a,onBlur:o,ref:i,...s},autoFocus:l}=Wae(),c=IB(t,i);return Vf.jsx(xoe,{asChild:"textarea"===n.inputType,ref:c,id:n.name,autoFocus:l,placeholder:"placeholder"in n?n.placeholder:void 0,"data-invalid":OP(!!r),onChange:U4(e.onChange,a),onBlur:U4(e.onBlur,o),...s,...e,children:"textarea"===n.inputType?Vf.jsx(JB,{minRows:3,maxRows:10}):null})})),_oe=FB(Eoe,{_id:"intelligentForm__FieldEmail",type:"email"}),Soe=FB("input",{_id:"intelligentForm__FieldFile",type:"file",multiple:!0}),Toe=e=>{const{field:t,error:n,fieldProps:{value:r,onChange:a,onBlur:o,...i},autoFocus:s}=Wae(),{onChange:l,onBlur:c,...u}=e;return Vf.jsx(Soe,{id:t.name,autoFocus:s,"data-value":r,"data-invalid":OP(!!n),...u,...i,onChange:U4(l,(e=>{const t=e.target.files;a(t)})),onBlur:U4(c,o)})},Coe=FB(Eoe,{_id:"intelligentForm__FieldTextArea",type:"textarea",asChild:!0,children:Vf.jsx(JB,{rows:1,maxRows:8})}),Aoe=FB(Sz,{_id:"intelligentForm__FieldCheckbox"}),Noe=e=>{const{field:t,error:n,fieldProps:r,autoFocus:a}=Wae(),{onCheckedChange:o,...i}=e;return Vf.jsx(Aoe,{id:t.name,name:t.name,autoFocus:a,"data-invalid":OP(!!n),checked:r.value,onCheckedChange:U4(o,r.onChange),...i})},Ioe=FB(Tz,{_id:"intelligentForm__FieldCheckboxIndicator",children:Vf.jsx(j4,{})}),Roe=FB(TG,{_id:"intelligentForm__FieldSelect"}),Ooe=FB(CG,{_id:"intelligentForm__FieldSelect__Trigger"}),Poe=FB(AG,{_id:"intelligentForm__FieldSelect__Value"}),Loe=FB(NG,{_id:"intelligentForm__FieldSelect__Icon",asChild:!0,children:Vf.jsx(eq,{iconSettings:{builtIn:"LuChevronDown"}})}),Doe=FB(IG,{_id:"intelligentForm__FieldSelect__Content",position:"popper"}),Moe=FB(RG,{_id:"intelligentForm__FieldSelect__Viewport"}),Foe=FB(OG,{_id:"intelligentForm__FieldSelect__Item"}),joe=FB(PG,{_id:"intelligentForm__FieldSelect__ItemText"}),Boe=FB(LG,{_id:"intelligentForm__FieldSelect__ItemIndicator",asChild:!0,children:Vf.jsx(eq,{iconSettings:{builtIn:"LuCheck"}})}),zoe=FB("span",{_id:"intelligentForm__FieldError"}),Hoe=e=>{var t;const{error:n}=Wae();return n?Vf.jsx(zoe,{children:null==(t=n.message)?void 0:t.toString(),...e}):null},Uoe=FB("div",{_id:"intelligentForm__BotHeading"}),$oe=FB(eq,{_id:"intelligentForm__BotHeading__Icon",iconSettings:{builtIn:"LuSparkles"}}),Goe=FB("div",{_id:"intelligentForm__BotHeading__Name"}),Voe=e=>{const{baseSettings:t}=ZO(),{organizationDisplayName:n}=t??{},{formSettings:{aiAssistantName:r}}=$ae();return Vf.jsx(Goe,{children:r??n,...e})},Woe=FB("div",{_id:"intelligentForm__Loading"}),qoe=Z.forwardRef((({...e},t)=>{const{loading:n}=$ae(),r=Z.useRef(null),a=IB(t,r);return Z.useEffect((()=>{n&&r.current&&r.current.scrollIntoView({behavior:"smooth",block:"nearest",inline:"nearest"})}),[n]),n?Vf.jsx(Woe,{ref:a,...e}):null})),Yoe=FB("div",{_id:"intelligentForm__ConfidentResponse"}),Koe=Z.forwardRef((({...e},t)=>{const{aiResponse:n,loading:r}=$ae(),a=Z.useRef(null),o=IB(t,a);return Z.useEffect((()=>{!r&&n.answerConfidence&&a.current&&a.current.scrollIntoView({behavior:"smooth",block:"nearest",inline:"nearest"})}),[r,n.answerConfidence]),n.answerConfidence?Vf.jsx(Yoe,{ref:o,...e}):null})),Xoe=FB(M4,{_id:"intelligentForm__ConfidentAnswer"}),Qoe=e=>{const{aiResponse:t}=$ae();return Vf.jsx(Xoe,{shouldOpenLinksInNewTab:!0,children:t.answer,...e})},Zoe=FB("button",{_id:"intelligentForm__ConfidentResponseButton",type:"button"}),Joe=e=>{const{onClick:t,...n}=e,{showSecondaryFields:r,setShowSecondaryFields:a}=$ae();return Vf.jsx(Zoe,{"data-escalated":OP(r),onClick:U4(t,(()=>{a(!0)})),...n})},eie=FB(eq,{_id:"intelligentForm__ConfidentResponseButton__Icon",iconSettings:{builtIn:"LuUser"}}),tie=FB("span",{_id:"intelligentForm__ConfidentResponseButton__Label",children:"Escalate to human"}),nie=FB("div",{_id:"intelligentForm__SecondaryForm"}),rie=Z.forwardRef((({...e},t)=>{const{showSecondaryFields:n}=$ae(),r=Z.useRef(null),a=IB(t,r);return Z.useEffect((()=>{n&&r.current&&r.current.scrollIntoView({behavior:"smooth",block:"nearest",inline:"nearest"})}),[n]),n?Vf.jsx(nie,{ref:a,...e}):null})),aie=FB("p",{_id:"intelligentForm__SecondaryForm__Description"}),oie=e=>{const{formSettings:{secondary:t},aiResponse:{answerConfidence:n}}=$ae();if(!t.description)return null;const r="string"==typeof t.description?t.description:n?t.description.confident:t.description.default;return Vf.jsx(aie,{children:r,...e})},iie=FB("div",{_id:"intelligentForm__SecondaryFormFields"}),sie=e=>{const{children:t,...n}=e,{formSettings:{secondary:r}}=$ae();return Vf.jsx(iie,{children:LP(t,r.fields),...n})},lie=FB("button",{_id:"intelligentForm__SecondaryFormSubmit",type:"submit",children:"Submit"}),cie=e=>{const{formSettings:t}=$ae(),{label:n}=t.buttons.submit;return Vf.jsx(lie,{children:n??"Submit",...e})},uie=FB("span",{_id:"intelligentForm__Error"}),die=e=>{const{formError:t}=$ae();return t?Vf.jsx(uie,{children:t.message,...e}):null},pie=FB("div",{_id:"intelligentForm__Sources"}),fie=FB("p",{_id:"intelligentForm__SourcesCaption",children:"Here are the sources I considered:"}),hie=FB("div",{_id:"intelligentForm__SourcesList"}),mie=e=>{const{children:t,...n}=e,{baseSettings:{transformSource:r,organizationDisplayName:a}}=ZO(),{aiResponse:{recordsConsidered:o}}=$ae();if(!o)return null;const i=o.reduce(((e,t)=>{const n=r6(t,"intelligentFormSource",{organizationDisplayName:a,transformSource:r});return e.some((e=>e.url===n.url))||e.push(n),e}),[]);return Vf.jsx(hie,{children:LP(t,i),...n})},gie=FB(aq,{_id:"intelligentForm__Source"}),yie=e=>{const{source:t,...n}=e;return Vf.jsx(SB,{source:{...t,isExternal:!!t.shouldOpenInNewTab},children:Vf.jsx(gie,{"data-type":t.type,appendToUrl:t.appendToUrl,href:t.url,isExternal:!1!==t.shouldOpenInNewTab,...n})})},bie=FB(eq,{_id:"intelligentForm__SourceIcon"}),vie=e=>{const{source:t}=TB();return Vf.jsx(bie,{iconSettings:t.icon,"data-type":t.type,...e})},wie=FB("span",{_id:"intelligentForm__SourceTitle"}),kie=e=>{const{source:t}=TB();return Vf.jsx(wie,{"data-type":t.type,children:t.title,...e})},xie=FB("div",{_id:"chatButton__Container"}),Eie=FB("button",{_id:"chatButton__Button"}),_ie=FB("div",{_id:"chatButton__Text"}),Sie=FB(uz,{_id:"chatButton__AvatarContent"}),Tie=FB(dz,{_id:"chatButton__AvatarImage"}),Cie=Z.memo((e=>{const{onLoadingStatusChange:t,avatar:n,...r}=e,{aiChatSettings:a}=ZO(),{aiAssistantAvatar:o}=a??{},i="string"==typeof n?n:uB(null==n?void 0:n.light,null==n?void 0:n.dark),s="string"==typeof o?o:null==o?void 0:o.dark,[l,c]=Z.useState(i??s);Z.useEffect((()=>{c(i??s)}),[i,s]);return l?Vf.jsx(Tie,{src:l,"data-type":"image",onLoadingStatusChange:U4(t,(e=>{"error"===e&&c(null)})),...r}):Vf.jsx(kW,{"data-type":"icon",...e})})),Aie=FB("div",{_id:"searchBar__Container"}),Nie=FB("button",{_id:"searchBar__Button",type:"button"}),Iie=FB("div",{_id:"searchBar__ContentWrapper"}),Rie=FB("div",{_id:"searchBar__Text"}),Oie=e=>{const{searchSettings:{placeholder:t}}=ZO();return Vf.jsx(Rie,{...e,children:t})},Pie=FB(nq,{_id:"searchBar__Icon",iconKey:"search"}),Lie=FB("kbd",{_id:"searchBar__KbdWrapper"}),Die=FB("kbd",{_id:"searchBar__KbdShortcutKey"}),Mie=e=>{const{shortcutKey:t,...n}=e;return Vf.jsx(Die,{...n,children:null==t?void 0:t.toUpperCase()})},Fie=()=>{var e,t;if("undefined"==typeof window)return!1;const n=null==(t=null==(e=window.navigator)?void 0:e.userAgent)?void 0:t.toLowerCase();return n.includes("macintosh")||n.includes("mac os x")},jie=FB("kbd",{_id:"searchBar__Ctrl",children:"Ctrl"}),Bie=FB(nq,{_id:"searchBar__CmdIcon",iconKey:"command"}),zie=e=>{const{shortcutKey:t,...n}=e;return Vf.jsx(Vf.Fragment,{children:t?Fie()?Vf.jsx(Bie,{...n}):Vf.jsx(jie,{...n}):null})};const Hie={width:void 0,height:void 0};function Uie(e){const{ref:t,box:n="content-box"}=e,[{width:r,height:a},o]=Z.useState(Hie),i=function(){const e=Z.useRef(!1);return Z.useEffect((()=>(e.current=!0,()=>{e.current=!1})),[]),Z.useCallback((()=>e.current),[])}(),s=Z.useRef({...Hie}),l=Z.useRef(void 0);return l.current=e.onResize,Z.useEffect((()=>{if(!t.current)return;if("undefined"==typeof window||!("ResizeObserver"in window))return;const e=new ResizeObserver((([e])=>{const t="border-box"===n?"borderBoxSize":"device-pixel-content-box"===n?"devicePixelContentBoxSize":"contentBoxSize",r=$ie(e,t,"inlineSize"),a=$ie(e,t,"blockSize");if(s.current.width!==r||s.current.height!==a){const e={width:r,height:a};s.current.width=r,s.current.height=a,l.current?l.current(e):i()&&o(e)}}));return e.observe(t.current,{box:n}),()=>{e.disconnect()}}),[n,t,i]),{width:r,height:a}}function $ie(e,t,n){return e[t]?Array.isArray(e[t])?e[t][0][n]:e[t][n]:"contentBoxSize"===t?e.contentRect["inlineSize"===n?"width":"height"]:void 0}const Gie="undefined"!=typeof document?Z.useLayoutEffect:Z.useEffect;function Vie(e){const{children:t,target:n,tag:r,host:a}=e,o=Z.useRef(null),i=Z.useRef(null),[,s]=Z.useReducer((e=>e+1),0);Gie((()=>{if(!o.current)return;const e=o.current.ownerDocument,t=a??e.body;return i.current=e.createElement(r??"inkeep-portal"),t.appendChild(i.current),s(),()=>{i.current&&t.removeChild(i.current)}}),[]);const l=(null==n?void 0:n.current)??i.current;return l?ue.createPortal(t,l):Z.createElement("span",{ref:o})}const Wie=({children:e,...t})=>{const{baseSettings:n}=ZO(),{rootElement:r}=n;return Vf.jsx(Vie,{host:r,...t,children:Vf.jsx(xB,{children:e})})},qie=e=>"boolean"==typeof e?`${e}`:0===e?"0":e,Yie=d3,Kie=(e,t)=>n=>{var r;if(null==(null==t?void 0:t.variants))return Yie(e,null==n?void 0:n.class,null==n?void 0:n.className);const{variants:a,defaultVariants:o}=t,i=Object.keys(a).map((e=>{const t=null==n?void 0:n[e],r=null==o?void 0:o[e];if(null===t)return null;const i=qie(t)||qie(r);return a[e][i]})),s=n&&Object.entries(n).reduce(((e,t)=>{let[n,r]=t;return void 0===r||(e[n]=r),e}),{}),l=null==t||null===(r=t.compoundVariants)||void 0===r?void 0:r.reduce(((e,t)=>{let{class:n,className:r,...a}=t;return Object.entries(a).every((e=>{let[t,n]=e;return Array.isArray(n)?n.includes({...o,...s}[t]):{...o,...s}[t]===n}))?[...e,n,r]:e}),[]);return Yie(e,i,l,null==n?void 0:n.class,null==n?void 0:n.className)},Xie=Kie(["max-h-screen max-w-screen relative","grow-[5] mx-auto justify-self-center text-left"],{variants:{size:{default:["grow-0 justify-self-center self-center","m-auto max-h-[100vw] max-w-screen","md:w-[min(600px,100%)] md:h-[min(760px,100%)]","lg:w-[min(640px,100%)] lg:h-[min(800px,100%)]","2xl:w-[min(760px,100%)] 2xl:h-[min(900px,100%)]"],expand:["w-full h-full"],"shrink-vertically":["w-full h-auto self-start max-h-full"],"full-viewport":["fixed top-0 left-0 w-screen h-screen z-dropdown"]},variant:{"container-with-shadow":"shadow-[0_25px_50px_-12px_rgba(0,0,0,0.25)] dark:shadow-[none]","no-shadow":"shadow-[none]"}},defaultVariants:{size:"default",variant:"container-with-shadow"}}),Qie=Kie(["inline-flex","items-center","justify-center","align-middle","select-none","relative","whitespace-nowrap","appearance-none","rounded-md","leading-[1.2]","transition-all","duration-300","cursor-pointer","font-semibold","focus:outline-none","focus:z-base","focus-visible:ring","focus-visible:ring-gray-500","dark:focus-visible:ring-white-alpha-900","focus-visible:ring-2","disabled:opacity-40","disabled:cursor-not-allowed","disabled:shadow-none"],{variants:{variant:{solid:["bg-gray-100 dark:bg-white-alpha-100","text-gray-800 dark:text-white-alpha-950","hover:bg-gray-200 dark:hover:bg-white-alpha-200","hover:disabled:bg-gray-100 dark:hover:disabled:bg-white-alpha-100","active:bg-gray-300 dark:active:bg-white-alpha-400"],iconButton:["px-1 text-gray-500 text-md","hover:text-inkeep-primary-strong","dark:text-gray-dark-200","dark:hover:text-inkeep-expanded-primary-300"],ghost:["text-gray-800 dark:text-white-alpha-950","hover:bg-gray-100 dark:hover:bg-white-alpha-100","active:bg-gray-200 dark:active:bg-white-alpha-200"],outline:["border dark:border-white-alpha-200","text-gray-600 dark:text-gray-200","hover:bg-gray-50 dark:hover:bg-white-alpha-100","active:bg-gray-50 dark:active:bg-white-alpha-100"]},size:{sm:"h-8 min-w-8 text-sm px-3",md:"h-10 min-w-10 text-md px-4",xs:"h-6 min-w-6 text-xs px-2"},preset:{neutralFilled:["bg-gray-1000 text-white hover:bg-gray-900 active:bg-gray-900","dark:bg-inkeep-expanded-primary-300 dark:text-gray-dark-950","dark:hover:bg-inkeep-expanded-primary-200","dark:active:bg-inkeep-expanded-primary-200"]}},defaultVariants:{size:"md"}}),Zie=Kie("",{variants:{slot:{root:["flex items-center pl-2","text-xs rounded-md h-6","bg-gray-300 dark:bg-white-alpha-200","min-w-0 w-fit"],icon:["mr-[0.5em]","text-gray-600 dark:text-white-alpha-600"],title:["overflow-hidden whitespace-nowrap text-ellipsis inline-block"],delete:[Qie({variant:"iconButton",size:"md"}),"h-4 px-1 min-w-[unset]","text-gray-600 dark:text-white-alpha-600","hover:bg-transparent hover:text-gray-700","dark:hover:text-white-alpha-500","[&_svg]:w-4 [&_svg]:h-4"]}}}),Jie=Kie("",{variants:{slot:{root:["peer h-4 w-4 shrink-0 rounded-xs","border-2 border-inherit cursor-pointer","disabled:opacity-50","data-[state=checked]:bg-gray-1000","dark:data-[state=checked]:bg-white-alpha-950","data-[state=checked]:border-gray-1000","dark:data-[state=checked]:border-white-alpha-950","text-white data-[state=checked]:text-white","dark:data-[state=checked]:text-gray-1000"],indicator:["flex items-center justify-center","text-current animate-checkbox-check"]}}}),ese=Kie(["transition-all data-[disable-transitions]:transition-none","duration-100 ease-in-out"],{variants:{slot:{root:["group w-full overflow-hidden border rounded-lg","text-inkeep-primary-text-bold selected:text-inkeep-primary-strong","focus:outline-inkeep-expanded-primary-700 dark:focus:outline-inkeep-expanded-primary-300","dark:text-white-alpha-950 dark:selected:text-inkeep-expanded-primary-300","bg-white selected:bg-inkeep-primary-light-subtle","dark:bg-transparent dark:selected:bg-white-alpha-200","border-gray-200 selected:border-inkeep-primary-medium-subtle","dark:border-white-alpha-200","dark:selected:border-inkeep-expanded-primary-300","py-2 px-5 grid gap-x-3 gap-y-1",'[grid-template:"breadcrumbs_breadcrumbs_breadcrumbs_indicator""icon_title_tag_indicator""description_description_description_indicator"/auto_auto_1fr_auto]',"items-center",'md:data-[view=dual-pane]:[grid-template:"breadcrumbs_breadcrumbs_breadcrumbs""icon_title_tag""description_description_description"/auto_auto_1fr]'],breadcrumbs:["[grid-area:breadcrumbs]","whitespace-nowrap line-clamp-1","flex items-center text-gray-600","dark:text-white-alpha-600 text-xs truncate inline-block"],breadcrumbsIcon:"last-of-type:hidden text-3xs mx-[5px]",icon:["[grid-area:icon]","text-gray-500","group-selected:text-inkeep-primary-text-subtle","dark:text-gray-dark-300 dark:group-selected:text-gray-dark-100"],title:["[grid-area:title]","text-gray-800 dark:text-white-alpha-950","group-selected:text-inkeep-primary-text-bold","dark:group-selected:text-white","font-medium line-clamp-1","whitespace-nowrap text-ellipsis inline-block"],tag:["[grid-area:tag] w-fit justify-self-end","text-xs px-1 uppercase rounded-sm align-middle","font-bold inline-block whitespace-nowrap",'data-[type^="github"]:text-purple-500','data-[type="stackoverflow"]:text-green-500',"shadow-[inset_0_0_0_1px_currentColor]"],description:["[grid-area:description]","text-1sm line-clamp-1","text-gray-700 dark:text-white-alpha-700"],descriptionPart:["data-[highlighted]:font-semibold","data-[highlighted]:text-inkeep-primary-text-subtle","dark:data-[highlighted]:text-gray-dark-50"],indicator:["[grid-area:indicator]","self-center justify-self-end","opacity-0 group-selected:opacity-100","transition-opacity duration-100 ease-in-out ml-auto","md:data-[view=dual-pane]:hidden"]}}}),tse=Kie("size-4 inline-block leading-[1em] shrink-0 text-current align-middle"),nse=Kie(["w-full min-w-0 outline-none relative","appearance-none [transition-property:common]","[transition-duration:0.02s]","disabled:opacity-40 disabled:cursor-not-allowed","[--focus-border-color:theme(colors.blue.500)]","[--error-border-color:theme(colors.red.500)]","dark:[--focus-border-color:theme(colors.blue.300)]","dark:[--error-border-color:theme(colors.red.300)]"],{variants:{variant:{outline:["border border-inherit bg-inherit","focus:[&:not([data-invalid])]:border-[--focus-border-color]","focus:[&:not([data-invalid])]:shadow-[0_0_0_1px_var(--focus-border-color)]","data-[invalid]:border-[--error-border-color]","data-[invalid]:shadow-[0_0_0_1px_var(--error-border-color)]"]},size:{md:"p-4 h-10 text-md rounded-md",sm:"px-3 py-2 text-sm rounded-md"}}}),rse=Kie(["transition-[common] ease-out duration-[180]","cursor-pointer text-decoration-none break-words","outline-none focus-visible:ring-2 focus-visible:ring-offset-2","focus-visible:ring-gray-500","dark:focus-visible:ring-white-alpha-900 dark:focus-visible:ring-offset-gray-950","hover:underline"]),ase=Kie("tracking-tight font-semibold",{variants:{size:{lg:"text-xl",md:"text-md"}},defaultVariants:{size:"md"}}),ose=Kie("text-2sm ms-[1em] break-words pb-3 pl-7 relative [&_li]:mb-1",{variants:{style:{ordered:"list-decimal [counter-increment:item]",unordered:"list-[initial]"}}}),ise=Kie("",{variants:{slot:{root:"w-full border-collapse [font-variant-numeric:lining-nums_tabular-nums]",th:["font-heading font-bold uppercase tracking-wider text-start","data-[is-numeric=true]:text-end","border-b border-gray-100 dark:border-gray-700","text-gray-600 dark:text-gray-400","px-6 py-3 leading-4 text-xs"],td:["text-start data-[is-numeric=true]:text-end","border-b border-gray-100 dark:border-gray-700","px-6 py-4 leading-5"]},size:{md:""}}}),sse=Kie(["ml-[3px] cursor-pointer","[&_a]:bg-inkeep-primary-light","[&_a]:px-1","[&_a]:py-[1px]","[&_a]:rounded-sm","[&_a]:no-underline","[&_a]:text-inkeep-primary-text-subtle","[&_a]:hover:text-inkeep-primary-text-bold","[&_a]:font-semibold","[&_a]:dark:bg-inkeep-primary-text-subtle","[&_a]:dark:hover:text-inkeep-expanded-primary-200","[&_a]:hover:no-underline"]),lse=Kie(["bg-inkeep-primary-medium text-inkeep-primary-text-color-on-primary","[overflow-wrap:anywhere] min-w-0 py-[.2rem] my-[.1rem]","px-[.4rem] rounded-[6px] [font-size:85%!important]","font-semibold inline-block","font-mono "]),cse=Kie("",{variants:{slot:{container:"overflow-y-auto mb-3",header:["flex items-center justify-between","bg-gray-50 dark:bg-gray-dark-800","text-gray-600 dark:text-gray-400","mb-0 leading-[1.25] px-2 text-xs","transition-all duration-200 ease-in-out","rounded-[6px_6px_0_0]"],copyButton:["px-0 bg-inherit text-inherit","hover:text-gray-800 dark:text-white-alpha-700 dark:hover:text-white-alpha-950","dark:hover:bg-transparent h-8 w-8 min-h-8 min-w-8 text-sm","data-[copied]:text-inkeep-primary-medium"],highlighter:["text-1sm overflow-x-auto","rounded-[0_0_6px_6px]","p-[1em] whitespace-pre","m-[0px_0px_0.5em]","bg-gray-50 dark:bg-gray-dark-900","[scrollbar-width:thin]","[--scrollbar-color:var(--color-gray-300)]","dark:[--scrollbar-color:var(--color-gray-dark-600)]","[scrollbar-color:var(--scrollbar-color)_transparent]"]}}}),use=Kie("",{variants:{slot:{overlay:["fixed inset-0","bg-overlay-light dark:bg-overlay-dark","data-[state=closed]:hidden","data-[state=open]:animate-fade-in","backdrop-blur-sm overflow-y-auto","place-items-center grid z-overlay"],content:["fixed","top-[5%]","left-1/2","translate-x-[-50%]","z-overlay","flex flex-col","w-full","duration-200","text-inherit rounded-md","bg-white shadow-lg dark:bg-gray-dark-950 dark:shadow-none","focus-visible:outline-none","focus:outline-none","data-[state=closed]:hidden","data-[state=closed]:animate-fade-out","data-[state=open]:animate-fade-in","data-[mobile]:inset-0","data-[mobile]:h-[unset]","data-[mobile]:w-[unset]","data-[mobile]:transform-none","data-[mobile]:rounded-none","[&[data-mobile]>div]:h-full","[&[data-mobile]>div]:max-h-dvh","[&[data-mobile]>div]:max-h-[unset]"],header:["px-6 py-4 text-xl font-semibold flex-0 flex flex-col"],close:[Qie({variant:"ghost",size:"md"}),"w-8 h-8 min-w-0","text-lg text-gray-500 dark:text-white-alpha-500","absolute top-2 right-3"],body:["px-6 py-2 flex-1"]}}}),dse=Kie("",{variants:{slot:{content:["flex flex-col bg-white dark:bg-gray-dark-800","rounded-md z-popover","shadow-md relative","data-[state=open]:animate-fade-in","data-[state=closed]:animate-fade-out","focus:outline-none"],arrow:"fill-white dark:fill-gray-dark-800"}}}),pse=Kie("",{variants:{section:{wrapper:"w-full flex flex-col grow-[5] overflow-hidden justify-between max-h-full",header:"relative max-h-full",content:"w-full flex flex-col overflow-hidden p-0 grow-[2]",footer:"justify-self-end flex-shrink-0"}}}),fse=Kie("",{variants:{slot:{trigger:[nse({size:"md",variant:"outline"}),"px-4 py-0 flex items-center justify-between"],content:["relative z-dropdown max-h-96 min-w-[8rem]","overflow-hidden rounded-md border","bg-white dark:bg-gray-dark-950 shadow-md","data-[state=open]:animate-fade-in data-[state=closed]:animate-fade-out","data-[side=bottom]:translate-y-1.5","data-[side=left]:-translate-x-1.5","data-[side=right]:translate-x-1.5","data-[side=top]:-translate-y-1.5"],viewport:["p-1 h-[var(--radix-select-trigger-height)]","w-full min-w-[var(--radix-select-trigger-width)]"],item:["hover:bg-gray-100 dark:hover:bg-gray-dark-800","focus:bg-gray-100 dark:focus:bg-gray-dark-800","relative flex w-full text-md cursor-pointer py-1.5","select-none outline-none pl-2 pr-8 rounded-md items-center ","data-[disabled]:pointer-events-none data-[disabled]:opacity-50"],itemIndicator:["absolute right-2 flex h-3.5 w-3.5","items-center justify-center"]}}}),hse=Kie(["h-5 opacity-70 rounded-sm shadow-none","bg-clip-padding cursor-default pointer-events-none","before:invisible after:invisible *:invisible","animate-skeleton-bg-fade select-none","[--start-color:theme(colors.gray.50)]","[--end-color:theme(colors.gray.300)]","dark:[--start-color:theme(colors.gray-dark.800)]","dark:[--end-color:theme(colors.gray-dark.600)]","bg-[--start-color] border-[--end-color]"]),mse=e=>{const t=vse(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:e=>{const n=e.split("-");return""===n[0]&&1!==n.length&&n.shift(),gse(n,t)||bse(e)},getConflictingClassGroupIds:(e,t)=>{const a=n[e]||[];return t&&r[e]?[...a,...r[e]]:a}}},gse=(e,t)=>{var n;if(0===e.length)return t.classGroupId;const r=e[0],a=t.nextPart.get(r),o=a?gse(e.slice(1),a):void 0;if(o)return o;if(0===t.validators.length)return;const i=e.join("-");return null==(n=t.validators.find((({validator:e})=>e(i))))?void 0:n.classGroupId},yse=/^\[(.+)\]$/,bse=e=>{if(yse.test(e)){const t=yse.exec(e)[1],n=null==t?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},vse=e=>{const{theme:t,prefix:n}=e,r={nextPart:new Map,validators:[]};return Ese(Object.entries(e.classGroups),n).forEach((([e,n])=>{wse(n,r,e,t)})),r},wse=(e,t,n,r)=>{e.forEach((e=>{if("string"!=typeof e){if("function"==typeof e)return xse(e)?void wse(e(r),t,n,r):void t.validators.push({validator:e,classGroupId:n});Object.entries(e).forEach((([e,a])=>{wse(a,kse(t,e),n,r)}))}else{(""===e?t:kse(t,e)).classGroupId=n}}))},kse=(e,t)=>{let n=e;return t.split("-").forEach((e=>{n.nextPart.has(e)||n.nextPart.set(e,{nextPart:new Map,validators:[]}),n=n.nextPart.get(e)})),n},xse=e=>e.isThemeGetter,Ese=(e,t)=>t?e.map((([e,n])=>[e,n.map((e=>"string"==typeof e?t+e:"object"==typeof e?Object.fromEntries(Object.entries(e).map((([e,n])=>[t+e,n]))):e))])):e,_se=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map;const a=(a,o)=>{n.set(a,o),t++,t>e&&(t=0,r=n,n=new Map)};return{get(e){let t=n.get(e);return void 0!==t?t:void 0!==(t=r.get(e))?(a(e,t),t):void 0},set(e,t){n.has(e)?n.set(e,t):a(e,t)}}},Sse=e=>{const{separator:t,experimentalParseClassName:n}=e,r=1===t.length,a=t[0],o=t.length,i=e=>{const n=[];let i,s=0,l=0;for(let d=0;d<e.length;d++){let c=e[d];if(0===s){if(c===a&&(r||e.slice(d,d+o)===t)){n.push(e.slice(l,d)),l=d+o;continue}if("/"===c){i=d;continue}}"["===c?s++:"]"===c&&s--}const c=0===n.length?e:e.substring(l),u=c.startsWith("!");return{modifiers:n,hasImportantModifier:u,baseClassName:u?c.substring(1):c,maybePostfixModifierPosition:i&&i>l?i-l:void 0}};return n?e=>n({className:e,parseClassName:i}):i},Tse=e=>{if(e.length<=1)return e;const t=[];let n=[];return e.forEach((e=>{"["===e[0]?(t.push(...n.sort(),e),n=[]):n.push(e)})),t.push(...n.sort()),t},Cse=/\s+/;function Ase(){let e,t,n=0,r="";for(;n<arguments.length;)(e=arguments[n++])&&(t=Nse(e))&&(r&&(r+=" "),r+=t);return r}const Nse=e=>{if("string"==typeof e)return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=Nse(e[r]))&&(n&&(n+=" "),n+=t);return n};function Ise(e,...t){let n,r,a,o=function(s){const l=t.reduce(((e,t)=>t(e)),e());return n=(e=>({cache:_se(e.cacheSize),parseClassName:Sse(e),...mse(e)}))(l),r=n.cache.get,a=n.cache.set,o=i,i(s)};function i(e){const t=r(e);if(t)return t;const o=((e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:a}=t,o=[],i=e.trim().split(Cse);let s="";for(let l=i.length-1;l>=0;l-=1){const e=i[l],{modifiers:t,hasImportantModifier:c,baseClassName:u,maybePostfixModifierPosition:d}=n(e);let p=Boolean(d),f=r(p?u.substring(0,d):u);if(!f){if(!p){s=e+(s.length>0?" "+s:s);continue}if(f=r(u),!f){s=e+(s.length>0?" "+s:s);continue}p=!1}const h=Tse(t).join(":"),m=c?h+"!":h,g=m+f;if(o.includes(g))continue;o.push(g);const y=a(f,p);for(let n=0;n<y.length;++n){const e=y[n];o.push(m+e)}s=e+(s.length>0?" "+s:s)}return s})(e,n);return a(e,o),o}return function(){return o(Ase.apply(null,arguments))}}const Rse=e=>{const t=t=>t[e]||[];return t.isThemeGetter=!0,t},Ose=/^\[(?:([a-z-]+):)?(.+)\]$/i,Pse=/^\d+\/\d+$/,Lse=new Set(["px","full","screen"]),Dse=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Mse=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Fse=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,jse=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Bse=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,zse=e=>Use(e)||Lse.has(e)||Pse.test(e),Hse=e=>tle(e,"length",nle),Use=e=>Boolean(e)&&!Number.isNaN(Number(e)),$se=e=>tle(e,"number",Use),Gse=e=>Boolean(e)&&Number.isInteger(Number(e)),Vse=e=>e.endsWith("%")&&Use(e.slice(0,-1)),Wse=e=>Ose.test(e),qse=e=>Dse.test(e),Yse=new Set(["length","size","percentage"]),Kse=e=>tle(e,Yse,rle),Xse=e=>tle(e,"position",rle),Qse=new Set(["image","url"]),Zse=e=>tle(e,Qse,ole),Jse=e=>tle(e,"",ale),ele=()=>!0,tle=(e,t,n)=>{const r=Ose.exec(e);return!!r&&(r[1]?"string"==typeof t?r[1]===t:t.has(r[1]):n(r[2]))},nle=e=>Mse.test(e)&&!Fse.test(e),rle=()=>!1,ale=e=>jse.test(e),ole=e=>Bse.test(e),ile=Ise((()=>{const e=Rse("colors"),t=Rse("spacing"),n=Rse("blur"),r=Rse("brightness"),a=Rse("borderColor"),o=Rse("borderRadius"),i=Rse("borderSpacing"),s=Rse("borderWidth"),l=Rse("contrast"),c=Rse("grayscale"),u=Rse("hueRotate"),d=Rse("invert"),p=Rse("gap"),f=Rse("gradientColorStops"),h=Rse("gradientColorStopPositions"),m=Rse("inset"),g=Rse("margin"),y=Rse("opacity"),b=Rse("padding"),v=Rse("saturate"),w=Rse("scale"),k=Rse("sepia"),x=Rse("skew"),E=Rse("space"),_=Rse("translate"),S=()=>["auto",Wse,t],T=()=>[Wse,t],C=()=>["",zse,Hse],A=()=>["auto",Use,Wse],N=()=>["","0",Wse],I=()=>[Use,Wse];return{cacheSize:500,separator:":",theme:{colors:[ele],spacing:[zse,Hse],blur:["none","",qse,Wse],brightness:I(),borderColor:[e],borderRadius:["none","","full",qse,Wse],borderSpacing:T(),borderWidth:C(),contrast:I(),grayscale:N(),hueRotate:I(),invert:N(),gap:T(),gradientColorStops:[e],gradientColorStopPositions:[Vse,Hse],inset:S(),margin:S(),opacity:I(),padding:T(),saturate:I(),scale:I(),sepia:N(),skew:I(),space:T(),translate:T()},classGroups:{aspect:[{aspect:["auto","square","video",Wse]}],container:["container"],columns:[{columns:[qse]}],"break-after":[{"break-after":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-before":[{"break-before":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top",Wse]}],overflow:[{overflow:["auto","hidden","clip","visible","scroll"]}],"overflow-x":[{"overflow-x":["auto","hidden","clip","visible","scroll"]}],"overflow-y":[{"overflow-y":["auto","hidden","clip","visible","scroll"]}],overscroll:[{overscroll:["auto","contain","none"]}],"overscroll-x":[{"overscroll-x":["auto","contain","none"]}],"overscroll-y":[{"overscroll-y":["auto","contain","none"]}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[m]}],"inset-x":[{"inset-x":[m]}],"inset-y":[{"inset-y":[m]}],start:[{start:[m]}],end:[{end:[m]}],top:[{top:[m]}],right:[{right:[m]}],bottom:[{bottom:[m]}],left:[{left:[m]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",Gse,Wse]}],basis:[{basis:S()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",Wse]}],grow:[{grow:N()}],shrink:[{shrink:N()}],order:[{order:["first","last","none",Gse,Wse]}],"grid-cols":[{"grid-cols":[ele]}],"col-start-end":[{col:["auto",{span:["full",Gse,Wse]},Wse]}],"col-start":[{"col-start":A()}],"col-end":[{"col-end":A()}],"grid-rows":[{"grid-rows":[ele]}],"row-start-end":[{row:["auto",{span:[Gse,Wse]},Wse]}],"row-start":[{"row-start":A()}],"row-end":[{"row-end":A()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",Wse]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",Wse]}],gap:[{gap:[p]}],"gap-x":[{"gap-x":[p]}],"gap-y":[{"gap-y":[p]}],"justify-content":[{justify:["normal","start","end","center","between","around","evenly","stretch"]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal","start","end","center","between","around","evenly","stretch","baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":["start","end","center","between","around","evenly","stretch","baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[b]}],px:[{px:[b]}],py:[{py:[b]}],ps:[{ps:[b]}],pe:[{pe:[b]}],pt:[{pt:[b]}],pr:[{pr:[b]}],pb:[{pb:[b]}],pl:[{pl:[b]}],m:[{m:[g]}],mx:[{mx:[g]}],my:[{my:[g]}],ms:[{ms:[g]}],me:[{me:[g]}],mt:[{mt:[g]}],mr:[{mr:[g]}],mb:[{mb:[g]}],ml:[{ml:[g]}],"space-x":[{"space-x":[E]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[E]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",Wse,t]}],"min-w":[{"min-w":[Wse,t,"min","max","fit"]}],"max-w":[{"max-w":[Wse,t,"none","full","min","max","fit","prose",{screen:[qse]},qse]}],h:[{h:[Wse,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[Wse,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[Wse,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[Wse,t,"auto","min","max","fit"]}],"font-size":[{text:["base",qse,Hse]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",$se]}],"font-family":[{font:[ele]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",Wse]}],"line-clamp":[{"line-clamp":["none",Use,$se]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",zse,Wse]}],"list-image":[{"list-image":["none",Wse]}],"list-style-type":[{list:["none","disc","decimal",Wse]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[y]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[y]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:["solid","dashed","dotted","double","none","wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",zse,Hse]}],"underline-offset":[{"underline-offset":["auto",zse,Wse]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:T()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",Wse]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",Wse]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[y]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top",Xse]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Kse]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Zse]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[h]}],"gradient-via-pos":[{via:[h]}],"gradient-to-pos":[{to:[h]}],"gradient-from":[{from:[f]}],"gradient-via":[{via:[f]}],"gradient-to":[{to:[f]}],rounded:[{rounded:[o]}],"rounded-s":[{"rounded-s":[o]}],"rounded-e":[{"rounded-e":[o]}],"rounded-t":[{"rounded-t":[o]}],"rounded-r":[{"rounded-r":[o]}],"rounded-b":[{"rounded-b":[o]}],"rounded-l":[{"rounded-l":[o]}],"rounded-ss":[{"rounded-ss":[o]}],"rounded-se":[{"rounded-se":[o]}],"rounded-ee":[{"rounded-ee":[o]}],"rounded-es":[{"rounded-es":[o]}],"rounded-tl":[{"rounded-tl":[o]}],"rounded-tr":[{"rounded-tr":[o]}],"rounded-br":[{"rounded-br":[o]}],"rounded-bl":[{"rounded-bl":[o]}],"border-w":[{border:[s]}],"border-w-x":[{"border-x":[s]}],"border-w-y":[{"border-y":[s]}],"border-w-s":[{"border-s":[s]}],"border-w-e":[{"border-e":[s]}],"border-w-t":[{"border-t":[s]}],"border-w-r":[{"border-r":[s]}],"border-w-b":[{"border-b":[s]}],"border-w-l":[{"border-l":[s]}],"border-opacity":[{"border-opacity":[y]}],"border-style":[{border:["solid","dashed","dotted","double","none","hidden"]}],"divide-x":[{"divide-x":[s]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[s]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[y]}],"divide-style":[{divide:["solid","dashed","dotted","double","none"]}],"border-color":[{border:[a]}],"border-color-x":[{"border-x":[a]}],"border-color-y":[{"border-y":[a]}],"border-color-s":[{"border-s":[a]}],"border-color-e":[{"border-e":[a]}],"border-color-t":[{"border-t":[a]}],"border-color-r":[{"border-r":[a]}],"border-color-b":[{"border-b":[a]}],"border-color-l":[{"border-l":[a]}],"divide-color":[{divide:[a]}],"outline-style":[{outline:["","solid","dashed","dotted","double","none"]}],"outline-offset":[{"outline-offset":[zse,Wse]}],"outline-w":[{outline:[zse,Hse]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:C()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[y]}],"ring-offset-w":[{"ring-offset":[zse,Hse]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",qse,Jse]}],"shadow-color":[{shadow:[ele]}],opacity:[{opacity:[y]}],"mix-blend":[{"mix-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"]}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[r]}],contrast:[{contrast:[l]}],"drop-shadow":[{"drop-shadow":["","none",qse,Wse]}],grayscale:[{grayscale:[c]}],"hue-rotate":[{"hue-rotate":[u]}],invert:[{invert:[d]}],saturate:[{saturate:[v]}],sepia:[{sepia:[k]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[n]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[l]}],"backdrop-grayscale":[{"backdrop-grayscale":[c]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[u]}],"backdrop-invert":[{"backdrop-invert":[d]}],"backdrop-opacity":[{"backdrop-opacity":[y]}],"backdrop-saturate":[{"backdrop-saturate":[v]}],"backdrop-sepia":[{"backdrop-sepia":[k]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[i]}],"border-spacing-x":[{"border-spacing-x":[i]}],"border-spacing-y":[{"border-spacing-y":[i]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",Wse]}],duration:[{duration:I()}],ease:[{ease:["linear","in","out","in-out",Wse]}],delay:[{delay:I()}],animate:[{animate:["none","spin","ping","pulse","bounce",Wse]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[w]}],"scale-x":[{"scale-x":[w]}],"scale-y":[{"scale-y":[w]}],rotate:[{rotate:[Gse,Wse]}],"translate-x":[{"translate-x":[_]}],"translate-y":[{"translate-y":[_]}],"skew-x":[{"skew-x":[x]}],"skew-y":[{"skew-y":[x]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",Wse]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",Wse]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":T()}],"scroll-mx":[{"scroll-mx":T()}],"scroll-my":[{"scroll-my":T()}],"scroll-ms":[{"scroll-ms":T()}],"scroll-me":[{"scroll-me":T()}],"scroll-mt":[{"scroll-mt":T()}],"scroll-mr":[{"scroll-mr":T()}],"scroll-mb":[{"scroll-mb":T()}],"scroll-ml":[{"scroll-ml":T()}],"scroll-p":[{"scroll-p":T()}],"scroll-px":[{"scroll-px":T()}],"scroll-py":[{"scroll-py":T()}],"scroll-ps":[{"scroll-ps":T()}],"scroll-pe":[{"scroll-pe":T()}],"scroll-pt":[{"scroll-pt":T()}],"scroll-pr":[{"scroll-pr":T()}],"scroll-pb":[{"scroll-pb":T()}],"scroll-pl":[{"scroll-pl":T()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",Wse]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[zse,Hse,$se]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}}));function sle(...e){return ile(d3(e))}const lle=e=>e?"":void 0,cle=Kie("",{variants:{slot:{root:["bg-gray-50 dark:bg-transparent","border border-transparent dark:border-gray-dark-700","rounded-md p-0.5 flex items-center"],button:[sle(Qie({size:"xs"}),"group","rounded data-[active]:shadow","bg-transparent data-[active]:bg-white","text-gray-600 data-[active]:text-gray-800","dark:text-white-alpha-600 dark:data-[active]:text-white-alpha-950","dark:data-[active]:bg-gray-dark-700 dark:shadow-none","hover:text-gray-800 hover:dark:text-white-alpha-950")],icon:["mr-1 text-gray-500 data-[active]:text-gray-600","dark:text-white-alpha-500 dark:data-[active]:text-white-alpha-600","group-hover:text-gray-600 dark:group-hover:text-white-alpha-600"]}}}),ule={markdownH1:sle(ase({size:"lg"}),"mb-3"),markdownH2:sle(ase({size:"md"}),"mb-2"),markdownP:sle("mb-3 break-words whitespace-pre-wrap","[&+ol,&+li]:mt-0"),markdownLi:sle("[&_a]:break-words [&_a]:inline"),markdownUl:ose({style:"unordered"}),markdownOl:sle(ose({style:"ordered"}),"[inset-inline-start:var(--start,0px)]","[counter-reset:item_calc(var(--start,0)_-_1)]"),markdownLink:sle(rse(),"text-inkeep-primary-stronger hover:text-inkeep-primary-strong","dark:text-inkeep-expanded-primary-100 dark:hover:text-inkeep-expanded-primary-300"),markdownSourceLink:sse(),markdownTable:ise({slot:"root"}),markdownTh:ise({slot:"th"}),markdownTd:ise({slot:"td"}),markdownCode:lse(),codeblockContainer:cse({slot:"container"}),codeblockHeader:cse({slot:"header"}),codeblockCopyButton:sle(Qie({}),cse({slot:"copyButton"})),codeblockHighlighterWrapper:sle(),codeblockHighlighter:cse({slot:"highlighter"}),codeblockCode:"font-mono",markdownInput:sle("mr-1")},dle=["Thinking","Looking for content","Analyzing"];function ple(){const[e,t]=Z.useState(0);return Z.useEffect((()=>{const e=setInterval((()=>{t((t=>t+1<dle.length?t+1:(clearInterval(e),t)))}),3500);return()=>clearInterval(e)}),[]),Vf.jsxs("div",{className:"flex items-center space-x-2 font-medium text-sm text-gray-700 dark:text-gray-dark-300","aria-live":"polite",children:[Vf.jsx("span",{className:"animate-shimmer bg-gradient-to-br from-gray-700 to-gray-400 dark:from-gray-dark-300 dark:to-gray-dark-100 bg-clip-text text-transparent",children:dle[e]}),Vf.jsx("div",{className:"flex space-x-1",children:[0,1,2].map((e=>Vf.jsx("span",{className:"animate-bounce-dot opacity-30",style:{animationDelay:.2*e+"s"},children:"."},e)))})]})}const fle=()=>Array.from({length:3}).map(((e,t)=>{const n=t%2==0;return Vf.jsxs("div",{className:sle("flex items-center flex-row-reverse","data-[even]:flex-row","[--end-color:theme(colors.white-alpha.100)]","dark:[--start-color:theme(colors.gray.300)]","dark:[--end-color:theme(colors.white-alpha.300)]"),"data-even":lle(n),children:[Vf.jsx("div",{"data-even":lle(n),className:sle(hse(),"h-12 w-12 rounded-full","data-[even]:mr-4 ml-4 data-[even]:ml-0")}),Vf.jsxs("div",{"data-even":lle(n),className:"flex flex-col gap-2 items-end data-[even]:items-start",children:[Vf.jsx("div",{"data-even":lle(n),className:sle(hse(),"h-4 rounded-lg w-60")}),Vf.jsx("div",{"data-even":lle(n),className:sle(hse(),"h-4 rounded-lg w-56")})]})]},t)})),hle=e=>Vf.jsx(tP,{children:Vf.jsx(yP,{children:Vf.jsx(mD,{children:Vf.jsx(jj,{...e})})})}),mle=Z.forwardRef((({className:e,size:t,variant:n,...r},a)=>Vf.jsx(l6,{ref:a,className:sle(Xie({size:t,variant:n}),"data-[hidden]:hidden rounded-md flex","bg-white dark:bg-gray-dark-950","data-[composite]:w-full","max-h-[min(85vh,850px)]",e),...r}))),gle=({className:e,...t})=>Vf.jsx(u6,{className:sle("flex flex-col items-center justify-center h-full gap-12 flex-1 p-8",e),children:Vf.jsx(fle,{}),...t}),yle=({className:e,...t})=>Vf.jsx(p6,{className:sle(pse({section:"wrapper"}),"rounded-[inherit] font-body",e),...t}),ble=({className:e,...t})=>Vf.jsx(f6,{className:sle(pse({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}),vle=({className:e,...t})=>Vf.jsx(h6,{className:sle("flex items-center gap-2 w-full pl-6 pr-1","ikp-md:px-4 py-2 justify-between *:m-0",e),...t}),wle=({className:e,...t})=>Vf.jsx(m6,{className:sle("flex items-center gap-1.5",e),...t}),kle=({className:e,...t})=>Vf.jsx(y6,{className:sle("text-gray-600 dark:text-gray-dark-100 text-sm",e),...t}),xle=({className:e,...t})=>Vf.jsx(b6,{className:sle(pse({section:"content"}),"justify-end",e),...t}),Ele=({className:e,...t})=>Vf.jsx(v6,{className:sle("overflow-hidden",e),...t}),_le=Z.forwardRef((({className:e,...t},n)=>Vf.jsx(k6,{ref:n,className:sle("h-full w-full rounded-[inherit]",e),...t}))),Sle=({className:e,...t})=>Vf.jsx(x6,{className:sle("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}),Tle=({className:e,...t})=>Vf.jsx(E6,{className:sle("relative flex-1 rounded-full","bg-gray-300 dark:bg-white-alpha-200",e),...t}),Cle=_6,Ale=({className:e,...t})=>Vf.jsx(A6,{className:sle("ml-auto text-sm flex items-center gap-1",e),...t}),Nle=({className:e,...t})=>Vf.jsx(I6,{className:sle("text-gray-700 dark:text-gray-dark-100",e),...t}),Ile=({className:e,...t})=>Vf.jsx(O6,{className:sle("cursor-pointer text-gray-700 dark:text-gray-dark-100","focus-visible:ring-gray-500 dark:focus-visible:ring-white-alpha-900 focus-visible:ring-2 focus:outline-none",e),...t}),Rle=({className:e,...t})=>Vf.jsx(L6,{className:sle(dse({slot:"content"}),"px-4 py-2 font-normal","w-[250px] sm:w-[420px]",e),...t}),Ole=M6,Ple=({className:e,...t})=>Vf.jsx(F6,{className:sle(dse({slot:"arrow"}),e),...t}),Lle=({className:e,...t})=>Vf.jsx(B6,{className:sle("mt-4 flex flex-col gap-2",e),...t}),Dle=({className:e,...t})=>Vf.jsx(H6,{className:sle("text-2xs uppercase font-semibold tracking-widest","text-gray-600 dark:text-white-alpha-500",e),...t}),Mle=({className:e,...t})=>Vf.jsx($6,{className:sle("flex flex-col","ikp-md:flex-row","flex-wrap gap-2",e),...t}),Fle=Z.forwardRef((({className:e,style:t,...n},r)=>{const a=Z.useRef(null),o=NB(r,a),{width:i=0,height:s=0}=Uie({ref:a,box:"border-box"}),l=Math.max(s,i);return Vf.jsx(V6,{ref:o,style:{"--before-size":`${l+100}px`,...t},className:sle("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),...n})})),jle=({className:e,...t})=>Vf.jsx(q6,{className:sle(Qie({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}),Ble=({className:e,...t})=>Vf.jsx(T6,{className:sle("flex flex-col w-full min-w-0 min-h-0 text-2sm relative",e),...t}),zle=Kie(["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"]),Hle=({className:e,...t})=>Vf.jsx(Q6,{className:sle(zle(),e),...t}),Ule=({className:e,...t})=>Vf.jsx(Z6,{className:sle(zle(),e),...t}),$le=({className:e,...t})=>Vf.jsx(e8,{className:sle("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}),Gle=({className:e,...t})=>Vf.jsx(n8,{className:sle("flex items-center gap-3 h-12 w-full",e),children:Vf.jsx(ple,{}),...t}),Vle=({className:e,...t})=>Vf.jsx(a8,{className:sle("flex items-center justify-center rounded-full","h-auto ikp-md:h-12",e),...t}),Wle=({className:e,...t})=>Vf.jsx(i8,{className:sle("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}),qle=({className:e,...t})=>Vf.jsx(l8,{className:sle("hidden data-[role=user]:block",e),...t}),Yle=({className:e,...t})=>Vf.jsx(u8,{className:sle("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}),Kle=({className:e,...t})=>Vf.jsx(p8,{className:sle("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}),Xle=({className:e,...t})=>Vf.jsx(h8,{className:sle("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}),Qle=({className:e,...t})=>Vf.jsx(g8,{className:sle("text-2sm flex-wrap break-words min-w-0 shrink-1 max-w-full",e),...t}),Zle=e=>{var t,n;const{message:r}=aB(),a=null==(n=null==(t=r.metadata)?void 0:t.attributes)?void 0:n.attachments;return"user"===r.role&&(null==a?void 0:a.length)?Vf.jsx(eB,{children:Vf.jsx(y8,{...e})}):null},Jle=({className:e,...t})=>Vf.jsx(v8,{className:sle("flex flex-wrap gap-2",e),...t}),ece=({className:e,...t})=>Vf.jsx(k8,{className:sle(Qie({variant:"ghost"}),Zie({slot:"root"}),"font-normal px-2",e),...t}),tce=({className:e,...t})=>Vf.jsx(E8,{className:sle(Zie({slot:"icon"}),e),...t}),nce=({className:e,...t})=>Vf.jsx(S8,{className:sle(Zie({slot:"title"}),e),...t}),rce=e=>{const{onOpenChange:t,...n}=e,{selectItem:r,isOpen:a,onClose:o,selectedItem:i}=tB();return Vf.jsx(T8,{open:a&&null!==i,onOpenChange:U4(t,(e=>{e||(o(),r(null))})),...n})},ace=({className:e,...t})=>Vf.jsx(C8,{className:sle(use({slot:"overlay"}),e),...t}),oce=({className:e,...t})=>Vf.jsx(A8,{className:sle(use({slot:"content"}),"my-6 md:my-12 top-0 left-[unset] transform-none relative","p-8 md:p-10 max-w-2xl",e),...t}),ice=({className:e,...t})=>Vf.jsx(I8,{className:sle(use({slot:"header"}),"px-0 pt-0 pb-8 flex flex-col gap-6","font-semibold",e),...t}),sce=({className:e,...t})=>Vf.jsx(R8,{className:sle(use({slot:"close"}),e),...t}),lce=({className:e,...t})=>Vf.jsx(P8,{className:sle(use({slot:"body"}),"p-0",e),...t}),cce=({className:e,componentStyles:t,...n})=>Vf.jsx(D8,{className:sle("data-[role=user]:whitespace-pre-wrap mb-3 max-w-full",e),componentStyles:u(ule,t??{}),...n}),uce=({className:e,...t})=>Vf.jsx(F8,{className:sle("flex items-center mt-2 mb-3",e),...t}),dce=({className:e,...t})=>Vf.jsx(B8,{className:sle("mr-auto flex items-center gap-2",e),...t}),pce=({className:e,...t})=>Vf.jsx(U8,{className:sle(Qie({size:"xs",variant:"outline"}),"text-xs h-[30px] text-gray-700 dark:text-gray-200 gap-1",e),...t}),fce=({className:e,...t})=>Vf.jsx(G8,{className:sle(Qie({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}),hce=e=>{var t;const{message:n}=aB();return"assistant"===n.role&&(null==(t=n.links)?void 0:t.length)?Vf.jsx(V8,{...e}):null},mce=({className:e,...t})=>Vf.jsx(q8,{className:sle("block text-xs font-medium my-2 text-gray-700 dark:text-gray-dark-300",e),...t}),gce=({className:e,...t})=>Vf.jsx(K8,{className:sle("w-full relative flex flex-col gap-3 py-[1px]",e),...t}),yce=({className:e,...t})=>Vf.jsx(Q8,{className:sle(ese({slot:"root"}),e),...t}),bce=({className:e,...t})=>Vf.jsx(J8,{className:sle(ese({slot:"breadcrumbs"}),e),...t}),vce=({className:e,...t})=>Vf.jsx(e9,{className:sle(ese({slot:"breadcrumbsIcon"}),e),...t}),wce=({className:e,...t})=>Vf.jsx(n9,{className:sle(ese({slot:"icon"}),e),...t}),kce=({className:e,...t})=>Vf.jsx(a9,{className:sle(ese({slot:"title"}),e),...t}),xce=({className:e,...t})=>Vf.jsx(i9,{className:sle(ese({slot:"tag"}),e),...t}),Ece=({className:e,...t})=>Vf.jsx(l9,{className:sle(ese({slot:"description"}),e),...t}),_ce=({className:e,...t})=>Vf.jsx(u9,{className:sle(ese({slot:"descriptionPart"}),e),...t}),Sce=({className:e,...t})=>Vf.jsx(p9,{className:sle(ese({slot:"indicator"}),e),...t}),Tce=({className:e,...t})=>Vf.jsx(f9,{className:sle("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}),Cce=({className:e,...t})=>Vf.jsx(h9,{className:sle("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}),Ace=({className:e,...t})=>Vf.jsx(m9,{className:sle("flex",e),...t}),Nce=Z.forwardRef((({className:e,...t},n)=>Vf.jsx(y9,{ref:n,className:sle("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}))),Ice=({className:e,...t})=>Vf.jsx(v9,{className:sle(Qie({}),"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}),Rce=({className:e,...t})=>Vf.jsx(w9,{className:sle(tse(),"text-inherit rotate-[-30deg]",e),...t}),Oce=({className:e,...t})=>Vf.jsx(x9,{className:sle("flex items-center justify-between","flex-wrap gap-2 px-1 pt-2 pb-1",e),...t}),Pce=({className:e,...t})=>Vf.jsx(_9,{className:sle("flex items-center gap-2 flex-wrap px-3 min-w-0",e),...t}),Lce=({className:e,...t})=>Vf.jsx(T9,{className:sle(Zie({slot:"root"}),e),...t}),Dce=({className:e,...t})=>Vf.jsx(A9,{className:sle(Zie({slot:"icon"}),e),...t}),Mce=({className:e,...t})=>Vf.jsx(I9,{className:sle(Zie({slot:"title"}),e),...t}),Fce=({className:e,...t})=>Vf.jsx(O9,{className:sle(Zie({slot:"delete"}),e),...t}),jce=({className:e,...t})=>Vf.jsx(P9,{className:sle("flex items-center justify-between","gap-2 flex-wrap px-3",e),...t}),Bce=L9,zce=({className:e,...t})=>Vf.jsx(D9,{className:sle("cursor-pointer text-sm text-gray-600","dark:text-white-alpha-600",e),...t}),Hce=({className:e,...t})=>Vf.jsx(F9,{className:sle("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}),Uce=({className:e,...t})=>Vf.jsx(B9,{className:sle("contents",e),...t}),$ce=({className:e,...t})=>Vf.jsx(H9,{className:sle(Qie({variant:"outline",size:"xs"}),"light:text-gray-700 gap-1",e),...t}),Gce=U9,Vce=e=>{const{onOpenChange:t,...n}=e,{selectInput:r,isOpen:a,onClose:o,selectedInput:i}=Uj();return Vf.jsx($9,{open:a&&null!==i,onOpenChange:U4(t,(e=>{e||(o(),r(null))})),...n})},Wce=({className:e,...t})=>Vf.jsx(G9,{className:sle(use({slot:"overlay"}),e),...t}),qce=({className:e,...t})=>Vf.jsx(V9,{className:sle(use({slot:"content"}),"my-6 md:my-12 top-0 left-[unset] transform-none relative","p-8 md:p-10 max-w-2xl",e),...t}),Yce=({className:e,...t})=>Vf.jsx(W9,{className:sle(use({slot:"header"}),"px-0 pt-0 pb-8 gap-y-2","font-semibold",e),...t}),Kce=({className:e,...t})=>Vf.jsx(Y9,{className:sle("w-full semibold",e),...t}),Xce=({className:e,...t})=>Vf.jsx(X9,{className:sle("text-gray-700 dark:text-white-alpha-700","text-sm font-normal w-full",e),...t}),Qce=e=>{var t;const{children:n,...r}=e,{selectedInput:a}=Uj(),o=null==(t=null==a?void 0:a.workflowModalProps)?void 0:t.modalHelpElement;return o?Vf.jsx(Q9,{asChild:!n,children:n||o,...r}):null},Zce=({className:e,...t})=>Vf.jsx(Z9,{className:sle(use({slot:"close"}),e),...t}),Jce=({className:e,...t})=>Vf.jsx(J9,{className:sle(use({slot:"body"}),"p-0",e),...t}),eue=({className:e,...t})=>Vf.jsx(t7,{className:sle("flex flex-col gap-8",e),...t}),tue=({className:e,...t})=>Vf.jsx(n7,{className:sle("flex flex-col gap-2",e),...t}),nue=({className:e,...t})=>Vf.jsx(a7,{className:sle("text-sm font-medium text-gray-700 dark:text-white-alpha-700",e),...t}),rue=({className:e,...t})=>Vf.jsx(i7,{className:sle("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}),aue=({className:e,...t})=>Vf.jsx(l7,{className:sle("text-sm text-red-500",e),...t}),oue=({className:e,...t})=>Vf.jsx(c7,{className:sle("flex flex-col gap-2",e),...t}),iue=({className:e,...t})=>Vf.jsx(d7,{className:sle("text-sm font-medium text-gray-700 dark:text-white-alpha-700",e),...t}),sue=({className:e,...t})=>Vf.jsx(f7,{className:sle(nse({size:"md",variant:"outline"}),"min-h-20 px-4 py-2",e),...t}),lue=({className:e,...t})=>Vf.jsx(m7,{className:sle("text-sm text-red-500",e),...t}),cue=({className:e,...t})=>Vf.jsx(g7,{className:sle(Qie({preset:"neutralFilled"}),"ml-auto",e),...t}),uue=({className:e,...t})=>Vf.jsx(y7,{className:sle("mt-4 flex items-start justify-between flex-wrap-reverse gap-2.5",e),...t}),due=({className:e,...t})=>Vf.jsx(b7,{className:sle("flex items-center gap-2.5 flex-wrap",e),...t}),pue=({className:e,...t})=>Vf.jsx(v7,{className:sle("flex items-center whitespace-nowrap",e),...t}),fue=({className:e,...t})=>Vf.jsx(w7,{className:sle("text-xs md:text-sm text-gray-500 dark:text-white-alpha-600",e),...t}),hue=({className:e,...t})=>Vf.jsx(k7,{className:sle("text-gray-400 dark:text-white-alpha-500","w-[18px] ml-2 mr-1",e),...t}),mue=({className:e,...t})=>Vf.jsx(x7,{className:sle(rse(),"inline-flex text-xs md:text-sm text-gray-500","dark:text-white-alpha-600 font-bold",e),...t}),gue=sle(Qie({size:"xs",variant:"outline"}),"text-gray-700 dark:text-white-alpha-700"),yue=({className:e,...t})=>Vf.jsx(_7,{className:sle(gue,e),...t}),bue=({className:e,...t})=>Vf.jsx(T7,{className:sle("cursor-pointer",e),...t}),vue=({className:e,...t})=>Vf.jsx(A7,{className:sle("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}),wue=e=>{const{children:t,...n}=e,{aiChatSettings:r}=ZO(),{getHelpOptions:a}=r;if(!a||0===(a??[]).length)return null;const{_pinned:o,_unpinned:i}=a.reduce(((e,t)=>{const n=t.isPinnedToToolbar?"_pinned":"_unpinned";return{...e,[n]:[...e[n],t]}}),{_pinned:[],_unpinned:[]}),s=1===i.length?[...o,i[0]]:o,l=1===i.length?[]:i,c=function(){const[e,t]=Z.useState(!1);return{open:e,setOpen:t}}();return Vf.jsx(Xj,{value:c,children:Vf.jsx(N7,{open:c.open,onOpenChange:c.setOpen,children:LP(t,{pinned:s,unpinned:l}),...n})})},kue=({className:e,...t})=>Vf.jsx(O7,{className:sle(gue,e),...t}),xue=({className:e,...t})=>Vf.jsx(L7,{className:sle(gue,e),...t}),Eue=({className:e,...t})=>Vf.jsx(M7,{className:sle(dse({slot:"content"}),"gap-3 px-3 py-4 ","w-[254px] text-sm font-normal",e),...t}),_ue=({className:e,...t})=>Vf.jsx(F7,{className:sle(dse({slot:"arrow"}),e),...t}),Sue=({className:e,...t})=>Vf.jsx(j7,{className:sle("flex items-center cursor-pointer hover:underline",e),...t}),Tue=({className:e,...t})=>Vf.jsx(z7,{className:sle("mr-2 text-inkeep-primary-medium",e),...t}),Cue=e=>{const{onOpenChange:t,...n}=e,{currentFeedback:r,setCurrentFeedback:a}=ID();return Vf.jsx(H7,{open:null!==r,onOpenChange:U4(t,(()=>a(null))),...n})},Aue=({className:e,...t})=>Vf.jsx(U7,{className:sle(use({slot:"overlay"}),e),...t}),Nue=({className:e,...t})=>Vf.jsx($7,{className:sle(use({slot:"content"}),"my-6 md:my-12 top-0 left-[unset] transform-none relative","p-8 md:p-10 max-w-[480px]",e),...t}),Iue=({className:e,...t})=>Vf.jsx(G7,{className:sle(use({slot:"header"}),"px-0 pt-0 pb-8","font-semibold",e),...t}),Rue=({className:e,...t})=>Vf.jsx(V7,{className:sle(use({slot:"close"}),e),...t}),Oue=({className:e,...t})=>Vf.jsx(W7,{className:sle(use({slot:"body"}),"p-0",e),...t}),Pue=({className:e,...t})=>Vf.jsx(Y7,{className:sle("flex flex-col gap-8",e),...t}),Lue=({className:e,...t})=>Vf.jsx(X7,{className:sle("flex flex-wrap items-center","gap-[1rem_0.5rem]",e),...t}),Due=({className:e,...t})=>Vf.jsx(Z7,{className:sle(Jie({slot:"root"}),e),...t}),Mue=({className:e,...t})=>Vf.jsx(J7,{className:sle(Jie({slot:"indicator"}),e),...t}),Fue=({className:e,...t})=>Vf.jsx(tee,{className:sle("select-none cursor-pointer font-medium text-sm","text-gray-700 dark:text-white-alpha-700",e),...t}),jue=({className:e,...t})=>Vf.jsx(ree,{className:sle("flex-[0_0_100%]","min-h-20 py-2 border rounded-md","px-4",e),...t}),Bue=({className:e,...t})=>Vf.jsx(aee,{className:sle(Qie({preset:"neutralFilled"}),"ml-auto",e),...t}),zue=({className:e,...t})=>Vf.jsx(iee,{className:sle("w-full overflow-y-auto",e),...t}),Hue=({className:e,...t})=>Vf.jsx(lee,{className:sle(pse({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}),Uue=({className:e,...t})=>Vf.jsx(uee,{className:sle(Qie({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}),$ue=({className:e,...t})=>Vf.jsx(dee,{className:sle("mt-12 flex flex-col gap-6",e),...t}),Gue=({className:e,...t})=>Vf.jsx(fee,{className:sle("font-semibold text-xl leading-5",e),...t}),Vue=({className:e,...t})=>Vf.jsx(mee,{className:sle("text-gray-700 dark:text-white-alpha-700 text-sm",e),...t}),Wue=({className:e,...t})=>Vf.jsx(yee,{className:sle("w-full",e),...t}),que=({className:e,...t})=>Vf.jsx(vee,{className:sle("mb-8 flex flex-col gap-2 data-[hidden]:hidden","data-[input-type=checkbox]:flex-row data-[input-type=checkbox]:items-center",e),...t}),Yue=({className:e,...t})=>Vf.jsx(kee,{className:sle("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}),Kue=({className:e,...t})=>Vf.jsx(Eee,{className:sle(nse({size:"md",variant:"outline"}),e),...t}),Xue=({className:e,...t})=>Vf.jsx(_ee,{className:sle(nse({size:"md",variant:"outline"}),e),...t}),Que=({className:e,...t})=>Vf.jsx(Tee,{className:sle(nse({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}),Zue=({className:e,...t})=>Vf.jsx(Cee,{className:sle(nse({size:"md",variant:"outline"}),"min-h-20 px-4 py-2",e),...t}),Jue=({className:e,...t})=>Vf.jsx(Nee,{className:sle(Jie({slot:"root"}),e),...t}),ede=({className:e,...t})=>Vf.jsx(Iee,{className:sle(Jie({slot:"indicator"}),e),...t}),tde=e=>{const{field:t,error:n,fieldProps:r}=Yj(),{onValueChange:a,...o}=e;return Vf.jsx(Ree,{name:t.name,"data-invalid":OP(!!n),value:r.value,onValueChange:U4(a,r.onChange),...o})},nde=({className:e,...t})=>Vf.jsx(Oee,{className:sle(fse({slot:"trigger"}),e),...t}),rde=e=>{const{field:t}=Yj();return Vf.jsx(Pee,{placeholder:"placeholder"in t?t.placeholder:void 0,...e})},ade=({className:e,...t})=>Vf.jsx(Lee,{className:sle("h-4 w-4 opacity-45",e),...t}),ode=({className:e,...t})=>Vf.jsx(Dee,{className:sle(fse({slot:"content"}),e),...t}),ide=({className:e,...t})=>Vf.jsx(Mee,{className:sle(fse({slot:"viewport"}),e),...t}),sde=({className:e,...t})=>Vf.jsx(Fee,{className:sle(fse({slot:"item"}),e),...t}),lde=jee,cde=({className:e,...t})=>Vf.jsx(Bee,{className:sle(fse({slot:"itemIndicator"}),e),...t}),ude=({className:e,...t})=>Vf.jsx(Hee,{className:sle("text-sm flex items-center text-red-500 dark:text-red-300",e),...t}),dde=({className:e,...t})=>Vf.jsx($ee,{className:sle("text-red-500 dark:text-red-300",e),...t}),pde=({className:e,...t})=>Vf.jsx(Gee,{className:sle("flex items-center justify-end gap-6 w-full",e),...t}),fde=({className:e,...t})=>Vf.jsx(Wee,{className:sle(Qie({variant:"outline"}),e),...t}),hde=({className:e,...t})=>Vf.jsx(Yee,{className:sle(Qie({preset:"neutralFilled"}),e),...t}),mde=({className:e,...t})=>Vf.jsx(Xee,{className:sle("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}),gde=({className:e,...t})=>Vf.jsx(Zee,{className:sle("mb-6 font-bold tracking-tight","text-3xl md:text-4xl leading-6 md:leading-5",e),...t}),yde=e=>{const{form:t}=gD();return Vf.jsx(Jee,{children:null==t?void 0:t.successView.message,...e})},bde=({className:e,...t})=>Vf.jsx(tte,{className:sle(Qie({preset:"neutralFilled"}),"w-full mt-12 gap-2 shrink-0",e),...t});function vde(){const{searchSettings:{tabs:e}}=ZO();return Vf.jsxs("div",{className:"flex flex-col h-full",children:[Vf.jsxs("div",{className:sle("h-[calc(100%-24px)]"),children:[Vf.jsx("div",{className:"flex px-5 py-1 gap-3 data-[hidden]:hidden","data-hidden":lle(0===e.length),children:Array.from({length:2}).map(((e,t)=>Vf.jsx("div",{className:sle(hse(),"h-[27.88px] w-16 rounded-full")},t)))}),Vf.jsxs("div",{className:"flex px-5 py-1 gap-5 h-full",children:[Vf.jsx("div",{className:"flex flex-col flex-1 [[data-view=dual-pane]_&]:flex-[0_0_40%]",children:Array.from({length:4}).map(((e,t)=>Vf.jsx("div",{className:"flex items-center pb-2.5 w-full",children:Vf.jsx("div",{className:sle(hse(),"h-20 rounded-lg grow-[1]")})},t)))}),Vf.jsx("div",{className:sle(hse(),"h-full w-full rounded-md","hidden [[data-view=dual-pane]_&]:block")})]})]}),Vf.jsx("div",{className:"flex pt-1 pb-3 px-5 justify-self-end",children:Vf.jsx("div",{className:sle(hse(),"h-[24px] w-40 rounded-md")})})]})}const wde=e=>Vf.jsx(dne,{...e}),kde=({className:e,...t})=>Vf.jsx(Jne,{className:sle("data-[hidden]:hidden rounded-md flex","bg-white dark:bg-gray-dark-950",e),...t}),xde=({className:e,...t})=>Vf.jsx(tre,{className:sle("data-[hidden]:hidden flex flex-col w-full","[--footer-height:theme(spacing.9)]","data-[mobile]:[--input-height:theme(spacing.16)]","[--ask-ai-trigger-height:0px]","[[data-show-ask-ai-card]_&]:[--ask-ai-trigger-height:theme(spacing.11)]",e),...t}),Ede=rre,_de=({className:e,...t})=>Vf.jsx(are,{className:sle("flex items-center w-full px-5 pt-3 pb-3 gap-3","[[data-show-ask-ai-card]_&]:pb-1","[[data-mobile]_&]:max-h-[var(--input-height)]",e),...t}),Sde=({className:e,...t})=>Vf.jsx(ore,{className:sle("min-w-5 w-5 text-xl","text-gray-500 dark:text-white-alpha-600",e),...t}),Tde=({className:e,...t})=>Vf.jsx(sre,{className:sle("min-h-[38px] overflow-hidden w-full resize-none","py-1.5 max-h-[10vh] placeholder:text-gray-500","w-full dark:placeholder:text-gray-dark-200","border-none outline-none shadow-none bg-transparent",e),...t}),Cde=({className:e,...t})=>Vf.jsx(cre,{className:sle("animate-spin text-gray-400 dark:text-white-alpha-500",e),...t}),Ade=({className:e,...t})=>Vf.jsx(dre,{className:sle(ese({slot:"root"}),"m-auto w-[calc(100%_-_theme(spacing.5))]","border-transparent dark:border-transparent","mb-3 py-0 h-11 cursor-pointer","h-[var(--ask-ai-trigger-height)]",e),...t}),Nde=({className:e,...t})=>Vf.jsx(fre,{className:sle("[grid-area:icon] h-5 w-5","[--start-color:theme(colors.inkeep-expanded-primary.300)]","[--end-color:theme(colors.inkeep-expanded-primary.700)]","dark:[--start-color:theme(colors.inkeep-expanded-primary.50)]","dark:[--end-color:theme(colors.inkeep-expanded-primary.300)]",e),...t}),Ide=({className:e,...t})=>Vf.jsx(hre,{className:sle(ese({slot:"title"}),"font-normal",e),...t}),Rde=({className:e,...t})=>Vf.jsx(mre,{className:sle(ese({slot:"indicator"}),e),...t}),Ode=({className:e,...t})=>Vf.jsx(yre,{className:sle(pse({section:"content"}),"h-0 max-h-full","data-[has-content]:h-[min(calc(85vh_-_72px),calc(850px_-_72px_-_275px))]","md:data-[dual-pane-search-expanded]:h-[min(calc(85vh_-_72px),calc(900px_-_72px_-_135px))]","[[data-mobile]_&]:h-[calc(100vh-var(--input-height)-var(--footer-height)-var(--ask-ai-trigger-height))]","transition-all duration-300 ease-in-out data-[has-content]:pb-2",e),...t}),Pde=({className:e,...t})=>Vf.jsx(vre,{className:sle("group mb-1 relative transition-all w-full h-full",e),children:Vf.jsx(vde,{}),...t}),Lde=({className:e,...t})=>Vf.jsx(kre,{className:sle("flex w-full h-full","overflow-hidden relative grow-[2]","items-center justify-center text-gray-600","dark:text-gray-dark-400 mt-8",e),...t}),Dde=({className:e,...t})=>Vf.jsx(Ere,{className:sle("shrink-0 max-w-full","flex gap-3 px-5 py-1","overflow-x-auto [scrollbar-width:thin]",e),...t}),Mde=({className:e,...t})=>Vf.jsx(Sre,{className:sle("px-3 text-1sm font-medium rounded-full shrink-0","py-1 transition-all duration-200 leading-snug","border border-gray-300 dark:border-gray-dark-500","hover:bg-gray-50 dark:hover:bg-white-alpha-50","data-[state=active]:bg-inkeep-primary-light-subtle","hover:data-[state=active]:bg-inkeep-primary-light-subtle","data-[state=active]:text-inkeep-expanded-primary-900","data-[state=active]:border-inkeep-primary-medium-subtle","dark:data-[state=active]:bg-white-alpha-100","dark:hover:data-[state=active]:bg-white-alpha-100","dark:data-[state=active]:text-inkeep-expanded-primary-300","dark:data-[state=active]:border-inkeep-expanded-primary-300","focus:outline-inkeep-expanded-primary-700 dark:focus:outline-inkeep-expanded-primary-300",e),...t}),Fde=({className:e,...t})=>Vf.jsx(Tre,{className:sle("flex overflow-hidden h-full",e),...t}),jde=({className:e,...t})=>Vf.jsx(Are,{className:sle("overflow-hidden h-full first:w-full","first:[[data-view=dual-pane]_&]:flex-1 md:first:[[data-view=dual-pane]_&]:flex-[0_0_40%]",'befter:content-[""] befter:absolute befter:inset-x-0',"befter:h-10 befter:pointer-events-none","befter:transition-opacity befter:duration-300","befter:ease-in-out befter:from-white","befter:dark:from-gray-dark-950 befter:to-transparent","before:top-0 after:bottom-0","before:bg-gradient-to-b after:bg-gradient-to-t","has-[[data-scroll-top]]:before:opacity-0","has-[[data-scroll-bottom]]:after:opacity-0",e),...t}),Bde=({className:e,...t})=>Vf.jsx(Ire,{className:sle("h-full w-full rounded-[inherit]",e),...t}),zde=({className:e,...t})=>Vf.jsx(Rre,{className:sle("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}),Hde=({className:e,...t})=>Vf.jsx(Ore,{className:sle("relative flex-1 rounded-full","bg-gray-300 dark:bg-white-alpha-200",e),...t}),Ude=Pre,$de=({className:e,...t})=>Vf.jsx(Dre,{className:sle("w-full flex flex-col","items-center gap-2.5 h-full shrink-0","px-5 py-1 content-center -my-[1px]",e),...t}),Gde=({className:e,...t})=>Vf.jsx(Fre,{className:sle(ese({slot:"root"}),e),...t}),Vde=({className:e,...t})=>Vf.jsx(Bre,{className:sle(ese({slot:"breadcrumbs"}),e),...t}),Wde=({className:e,...t})=>Vf.jsx(zre,{className:sle(ese({slot:"breadcrumbsIcon"}),e),...t}),qde=({className:e,...t})=>Vf.jsx(Ure,{className:sle(ese({slot:"icon"}),e),...t}),Yde=({className:e,...t})=>Vf.jsx(Gre,{className:sle(ese({slot:"title"}),e),...t}),Kde=({className:e,...t})=>Vf.jsx(Wre,{className:sle(ese({slot:"tag"}),e),...t}),Xde=({className:e,...t})=>Vf.jsx(Yre,{className:sle(ese({slot:"description"}),e),...t}),Qde=({className:e,...t})=>Vf.jsx(Xre,{className:sle(ese({slot:"descriptionPart"}),e),...t}),Zde=({className:e,...t})=>Vf.jsx(Zre,{className:sle(ese({slot:"indicator"}),e),...t}),Jde=({className:e,...t})=>Vf.jsx(eae,{className:sle("flex-1 min-w-0 break-words py-4 pr-12 pl-8","hidden md:flex flex-col gap-6",e),...t}),epe=({className:e,...t})=>Vf.jsx(tae,{className:sle("flex flex-col gap-5",e),...t}),tpe=({className:e,...t})=>Vf.jsx(rae,{className:sle("inline-block",e),...t}),npe=({className:e,...t})=>Vf.jsx(oae,{className:sle("text-3xl leading-snug tracking-tight","font-semibold hover:text-inkeep-primary-stronger","dark:hover:text-inkeep-expanded-primary-100",e),...t}),rpe=({className:e,...t})=>Vf.jsx(sae,{className:sle("inline-block ml-2 mb-2 tracking-tight text-gray-500 dark:text-white-alpha-500",e),...t}),ape=({className:e,...t})=>Vf.jsx(lae,{className:sle(ese({slot:"breadcrumbs"}),"!line-clamp-none whitespace-normal text-gray-500 dark:text-gray-dark-200 text-sm",e),...t}),ope=({className:e,...t})=>Vf.jsx(cae,{className:sle(ese({slot:"breadcrumbsIcon"}),e),...t}),ipe=({className:e,componentStyles:t,...n})=>Vf.jsx(dae,{className:sle("max-w-full text-gray-700 dark:text-gray-dark-100 [&_em]:font-bold [&_em]:not-italic",e),componentStyles:u(ule,t??{}),...n}),spe=({className:e,...t})=>Vf.jsx(fae,{className:sle("flex flex-col gap-3",e),...t}),lpe=({className:e,...t})=>Vf.jsx(hae,{className:sle("text-xs uppercase font-semibold tracking-widest","text-gray-500 dark:text-white-alpha-500",e),...t}),cpe=({className:e,...t})=>Vf.jsx(gae,{className:sle("flex flex-col gap-4",e),...t}),upe=({className:e,...t})=>Vf.jsx(bae,{className:sle("flex items-center gap-1 text-gray-600 dark:text-white-alpha-600 font-medium ",""+(t.href?"cursor-pointer hover:text-gray-800 dark:hover:text-white-alpha-800 dark:data-[is-match]:hover:text-inkeep-expanded-primary-200 data-[is-match]:hover:text-inkeep-expanded-primary-800 ":""),"data-[is-match]:text-inkeep-expanded-primary-700","dark:data-[is-match]:text-inkeep-expanded-primary-300",e),...t}),dpe=({className:e,...t})=>Vf.jsx(vae,{className:sle(e),...t}),ppe=({className:e,...t})=>Vf.jsx(kae,{className:sle(e),...t}),fpe=({className:e,...t})=>Vf.jsx(xae,{className:sle("h-3 !min-h-0 !min-w-0",e),...t}),hpe=({className:e,...t})=>Vf.jsx(_ae,{className:sle("justify-self-end","px-5 pt-1 pb-3","[[data-mobile]_&]:py-0","[[data-mobile]_&]:items-center","[[data-mobile]_&]:h-[var(--footer-height)]","hidden data-[has-results]:flex",e),...t}),mpe=({className:e,...t})=>Vf.jsx(Sae,{className:sle("flex items-center whitespace-nowrap",e),...t}),gpe=({className:e,...t})=>Vf.jsx(Tae,{className:sle("text-xs md:text-sm text-gray-500 dark:text-white-alpha-600",e),...t}),ype=({className:e,...t})=>Vf.jsx(Cae,{className:sle("text-gray-400 dark:text-white-alpha-500","w-[18px] ml-2 mr-1",e),...t}),bpe=({className:e,...t})=>Vf.jsx(Aae,{className:sle(rse(),"inline-flex text-xs md:text-sm text-gray-500","dark:text-white-alpha-600 font-bold",e),...t}),vpe=e=>{const{onOpenChange:t,config:n,...r}=e,a=(e=>{const{isOpen:t,onOpenChange:n,shortcutKey:r}=e??{},[a=!1,o]=HG({prop:t,defaultProp:t,onChange:n});return Z.useEffect((()=>{const e=e=>{r&&(e.metaKey||e.ctrlKey)&&e.key.toLowerCase()===r.toLowerCase()&&(e.preventDefault(),e.stopPropagation(),o(!0)),"Escape"===e.key&&t&&(e.preventDefault(),o(!1))};return document.addEventListener("keydown",e),()=>document.removeEventListener("keydown",e)}),[r,o,t]),{isOpen:a,setOpen:o,shortcutKey:r}})(n);return Vf.jsx(uD,{modal:a,children:Vf.jsx(Nae,{open:a.isOpen,onOpenChange:U4(t,(e=>a.setOpen(e))),...r})})},wpe=({className:e,...t})=>Vf.jsx(Iae,{className:sle(use({slot:"overlay"}),e),...t}),kpe=({className:e,...t})=>Vf.jsx(Oae,{className:sle(use({slot:"content"}),"w-[min(90vw,720px)]","has-[[data-dual-pane-search-expanded]]:w-[min(90vw,1000px)] transition-width duration-300",e),...t}),xpe=({className:e,...t})=>Vf.jsx(Lae,{className:sle(use({slot:"close"}),Qie({variant:"ghost",size:"xs"}),"relative inset-[unset] ml-auto text-lg text-gray-500 dark:text-white-alpha-500 px-0","md:hidden",e),...t}),Epe=({className:e,...t})=>Vf.jsx(xie,{className:sle("fixed right-6 bottom-6 z-10 mr-[var(--removed-body-scroll-bar-size)]",e),...t}),_pe=({className:e,...t})=>Vf.jsx(Eie,{className:sle("bg-inkeep-primary-text-bold dark:bg-gray-dark-600 rounded-full px-[18px] py-3 text-white font-medium flex items-center space-x-2 shadow-2xl dark:shadow-none transition-transform ease-in-out hover:scale-110",e),...t}),Spe=({className:e,...t})=>Vf.jsx(_ie,{className:sle("flex items-center",e),...t}),Tpe=({className:e,...t})=>Vf.jsx(Cie,{className:sle("data-[type=icon]:[--start-color:theme(colors.inkeep-expanded-primary.50)]","data-[type=icon]:[--end-color:theme(colors.inkeep-expanded-primary.300)]","h-6 w-6",e),...t}),Cpe=({className:e,...t})=>Vf.jsx(Sie,{className:sle("",e),...t}),Ape=({className:e,...t})=>Vf.jsx(Aie,{className:sle("md:min-w-[min(320px,100%)] w-full h-full min-h-9",e),...t}),Npe=({className:e,...t})=>Vf.jsx(Nie,{className:sle("rounded-md border px-3 min-w-0 min-h-9 flex items-center justify-between gap-2 h-full w-full hover:border-gray-300 dark:hover:border-white-alpha-300 transition-colors",e),...t}),Ipe=({className:e,...t})=>Vf.jsx(Iie,{className:sle("flex items-center gap-2 min-w-0",e),...t}),Rpe=({className:e,...t})=>Vf.jsx(Oie,{className:sle("text-md text-gray-500 dark:text-white-alpha-600",e),...t}),Ope=({className:e,...t})=>Vf.jsx(Pie,{className:sle("text-gray-500 dark:text-white-alpha-600 text-xl",e),...t}),Ppe=({className:e,...t})=>Vf.jsx(Lie,{className:sle("text-sm text-gray-400 dark:text-white-alpha-500 font-bold flex items-center gap-0.5",e),...t}),Lpe=({className:e,...t})=>Vf.jsx(zie,{className:sle("",e),...t}),Dpe=({className:e,...t})=>Vf.jsx(Mie,{className:sle("",e),...t}),Mpe=e=>Vf.jsx(Uae,{...e}),Fpe=({className:e,...t})=>Vf.jsx(Yae,{className:sle("max-w-full border divide-y","rounded-xl shadow h-full max-h-full","bg-white dark:bg-gray-dark-950","flex flex-col",e),...t}),jpe=({className:e,...t})=>Vf.jsx(Kae,{className:sle("px-5 py-4 font-medium shrink-0",e),...t}),Bpe=({className:e,...t})=>Vf.jsx(Xae,{className:sle("flex-1 overflow-hidden",e),...t}),zpe=({className:e,...t})=>Vf.jsx(Qae,{className:sle("h-full",e),...t}),Hpe=({className:e,...t})=>Vf.jsx(Jae,{className:sle("h-full w-full rounded-[inherit] px-5","[&_[data-part=grid]]:px-1","[&_[data-part=grid]]:divide-y",e),...t}),Upe=({className:e,...t})=>Vf.jsx(eoe,{className:sle("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}),$pe=({className:e,...t})=>Vf.jsx(toe,{className:sle("relative flex-1 rounded-full","bg-gray-300 dark:bg-white-alpha-200",e),...t}),Gpe=noe,Vpe=({className:e,...t})=>Vf.jsx(aoe,{className:sle("flex flex-col items-center","justify-center mx-1 pt-12 pb-6",e),...t}),Wpe=({className:e,...t})=>Vf.jsx(ioe,{className:sle("w-6 h-6 text-green-500 mb-5",e),...t}),qpe=({className:e,...t})=>Vf.jsx(loe,{className:sle("text-xl font-semibold","mb-3 tracking-tight",e),...t}),Ype=({className:e,...t})=>Vf.jsx(uoe,{className:sle("text-gray-800 dark:text-white-alpha-950",e),...t}),Kpe=({className:e,...t})=>Vf.jsx(doe,{className:sle("w-full flex flex-col py-6",e),...t}),Xpe=({className:e,...t})=>Vf.jsx(hoe,{className:sle("text-gray-700 dark:text-white-alpha-700 text-sm",e),...t}),Qpe=({className:e,...t})=>Vf.jsx(moe,{className:sle("w-full gap-8",e),...t}),Zpe=({className:e,...t})=>Vf.jsx(yoe,{className:sle(Qie({preset:"neutralFilled",size:"sm"}),"ml-auto data-[loading]:cursor-wait","data-[submitted]:hidden",e),...t}),Jpe=({className:e,...t})=>Vf.jsx(voe,{className:sle("mb-8 flex flex-col gap-2 data-[hidden]:hidden","data-[input-type=checkbox]:flex-row data-[input-type=checkbox]:items-center",e),...t}),efe=({className:e,...t})=>Vf.jsx(koe,{className:sle("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}),tfe=({className:e,...t})=>Vf.jsx(Eoe,{className:sle(nse({size:"sm",variant:"outline"}),e),...t}),nfe=({className:e,...t})=>Vf.jsx(_oe,{className:sle(nse({size:"sm",variant:"outline"}),e),...t}),rfe=({className:e,...t})=>Vf.jsx(Toe,{className:sle(nse({size:"sm",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}),afe=({className:e,...t})=>Vf.jsx(Coe,{className:sle(nse({size:"sm",variant:"outline"}),"min-h-20 px-4 py-2",e),...t}),ofe=({className:e,...t})=>Vf.jsx(Noe,{className:sle(Jie({slot:"root"}),e),...t}),ife=({className:e,...t})=>Vf.jsx(Ioe,{className:sle(Jie({slot:"indicator"}),e),...t}),sfe=e=>{const{field:t,error:n,fieldProps:r}=Wae(),{onValueChange:a,...o}=e;return Vf.jsx(Roe,{name:t.name,"data-invalid":OP(!!n),value:r.value,onValueChange:U4(a,r.onChange),...o})},lfe=({className:e,...t})=>Vf.jsx(Ooe,{className:sle(fse({slot:"trigger"}),"text-sm",e),...t}),cfe=e=>{const{field:t}=Wae();return Vf.jsx(Poe,{placeholder:"placeholder"in t?t.placeholder:void 0,...e})},ufe=({className:e,...t})=>Vf.jsx(Loe,{className:sle("h-4 w-4 opacity-45",e),...t}),dfe=({className:e,...t})=>Vf.jsx(Doe,{className:sle(fse({slot:"content"}),e),...t}),pfe=({className:e,...t})=>Vf.jsx(Moe,{className:sle(fse({slot:"viewport"}),e),...t}),ffe=({className:e,...t})=>Vf.jsx(Foe,{className:sle(fse({slot:"item"}),"text-sm",e),...t}),hfe=joe,mfe=({className:e,...t})=>Vf.jsx(Boe,{className:sle(fse({slot:"itemIndicator"}),e),...t}),gfe=({className:e,...t})=>Vf.jsx(Hoe,{className:sle("text-sm flex items-center text-red-500 dark:text-red-300",e),...t}),yfe=({className:e,...t})=>Vf.jsx(Uoe,{className:sle("flex items-center gap-2",e),...t}),bfe=({className:e,...t})=>Vf.jsx($oe,{className:sle("border bg-gradient-to-t","from-gray-100 dark:from-gray-dark-600 p-1 rounded-md","w-6 h-6 text-gray-600 dark:text-white-alpha-700",e),...t}),vfe=({className:e,...t})=>Vf.jsx(Voe,{className:sle("text-gray-800 dark:text-white-alpha-950 text-sm font-semibold",e),...t}),wfe=({className:e,...t})=>Vf.jsx(qoe,{className:sle("py-6 flex flex-wrap","gap-x-3 gap-y-6","[&>:first-child]:basis-full text-sm",e),...t}),kfe=({className:e,...t})=>Vf.jsx(Koe,{className:sle("w-full flex flex-col py-6 gap-6 min-w-0 text-sm",e),...t}),xfe=({className:e,componentStyles:t,...n})=>Vf.jsx(Qoe,{className:sle("max-w-full ",e),componentStyles:u(ule,t??{}),...n}),Efe=({className:e,...t})=>Vf.jsx(Joe,{className:sle(Qie({preset:"neutralFilled",size:"sm"}),"ml-auto gap-2 data-[escalated]:hidden",e),...t}),_fe=({className:e,...t})=>Vf.jsx(eie,{className:sle("",e),...t}),Sfe=tie,Tfe=({className:e,...t})=>Vf.jsx(rie,{className:sle("w-full flex flex-col py-6 gap-6",e),...t}),Cfe=({className:e,...t})=>Vf.jsx(oie,{className:sle("text-gray-700 dark:text-white-alpha-700 text-sm",e),...t}),Afe=({className:e,...t})=>Vf.jsx(sie,{className:sle("w-full gap-8",e),...t}),Nfe=({className:e,...t})=>Vf.jsx(cie,{className:sle(Qie({preset:"neutralFilled",size:"sm"}),"ml-auto data-[loading]:cursor-wait","data-[submitted]:hidden",e),...t}),Ife=({className:e,...t})=>Vf.jsx(die,{className:sle("text-red-500 dark:text-red-300",e),...t}),Rfe=({className:e,...t})=>Vf.jsx(pie,{className:sle("w-full flex flex-col gap-6",e),...t}),Ofe=({className:e,...t})=>Vf.jsx(fie,{className:sle("text-gray-700 dark:text-white-alpha-700 text-sm",e),...t}),Pfe=({className:e,...t})=>Vf.jsx(mie,{className:sle("w-full flex flex-wrap gap-2 items-center",e),...t}),Lfe=({className:e,...t})=>Vf.jsx(yie,{className:sle(Qie({size:"xs",variant:"outline"}),"text-gray-600 dark:text-white-alpha-700 gap-1",e),...t}),Dfe=({className:e,...t})=>Vf.jsx(vie,{className:sle("",e),...t}),Mfe=({className:e,...t})=>Vf.jsx(kie,{className:sle("line-clamp-1",e),...t}),Ffe=e=>Vf.jsx(HO,{styles:'*, ::before, ::after {\n --tw-border-spacing-x: 0;\n --tw-border-spacing-y: 0;\n --tw-translate-x: 0;\n --tw-translate-y: 0;\n --tw-rotate: 0;\n --tw-skew-x: 0;\n --tw-skew-y: 0;\n --tw-scale-x: 1;\n --tw-scale-y: 1;\n --tw-pan-x: ;\n --tw-pan-y: ;\n --tw-pinch-zoom: ;\n --tw-scroll-snap-strictness: proximity;\n --tw-gradient-from-position: ;\n --tw-gradient-via-position: ;\n --tw-gradient-to-position: ;\n --tw-ordinal: ;\n --tw-slashed-zero: ;\n --tw-numeric-figure: ;\n --tw-numeric-spacing: ;\n --tw-numeric-fraction: ;\n --tw-ring-inset: ;\n --tw-ring-offset-width: 0px;\n --tw-ring-offset-color: #fff;\n --tw-ring-color: rgb(59 130 246 / 0.5);\n --tw-ring-offset-shadow: 0 0 #0000;\n --tw-ring-shadow: 0 0 #0000;\n --tw-shadow: 0 0 #0000;\n --tw-shadow-colored: 0 0 #0000;\n --tw-blur: ;\n --tw-brightness: ;\n --tw-contrast: ;\n --tw-grayscale: ;\n --tw-hue-rotate: ;\n --tw-invert: ;\n --tw-saturate: ;\n --tw-sepia: ;\n --tw-drop-shadow: ;\n --tw-backdrop-blur: ;\n --tw-backdrop-brightness: ;\n --tw-backdrop-contrast: ;\n --tw-backdrop-grayscale: ;\n --tw-backdrop-hue-rotate: ;\n --tw-backdrop-invert: ;\n --tw-backdrop-opacity: ;\n --tw-backdrop-saturate: ;\n --tw-backdrop-sepia: ;\n --tw-contain-size: ;\n --tw-contain-layout: ;\n --tw-contain-paint: ;\n --tw-contain-style: ;\n}\n\n::backdrop {\n --tw-border-spacing-x: 0;\n --tw-border-spacing-y: 0;\n --tw-translate-x: 0;\n --tw-translate-y: 0;\n --tw-rotate: 0;\n --tw-skew-x: 0;\n --tw-skew-y: 0;\n --tw-scale-x: 1;\n --tw-scale-y: 1;\n --tw-pan-x: ;\n --tw-pan-y: ;\n --tw-pinch-zoom: ;\n --tw-scroll-snap-strictness: proximity;\n --tw-gradient-from-position: ;\n --tw-gradient-via-position: ;\n --tw-gradient-to-position: ;\n --tw-ordinal: ;\n --tw-slashed-zero: ;\n --tw-numeric-figure: ;\n --tw-numeric-spacing: ;\n --tw-numeric-fraction: ;\n --tw-ring-inset: ;\n --tw-ring-offset-width: 0px;\n --tw-ring-offset-color: #fff;\n --tw-ring-color: rgb(59 130 246 / 0.5);\n --tw-ring-offset-shadow: 0 0 #0000;\n --tw-ring-shadow: 0 0 #0000;\n --tw-shadow: 0 0 #0000;\n --tw-shadow-colored: 0 0 #0000;\n --tw-blur: ;\n --tw-brightness: ;\n --tw-contrast: ;\n --tw-grayscale: ;\n --tw-hue-rotate: ;\n --tw-invert: ;\n --tw-saturate: ;\n --tw-sepia: ;\n --tw-drop-shadow: ;\n --tw-backdrop-blur: ;\n --tw-backdrop-brightness: ;\n --tw-backdrop-contrast: ;\n --tw-backdrop-grayscale: ;\n --tw-backdrop-hue-rotate: ;\n --tw-backdrop-invert: ;\n --tw-backdrop-opacity: ;\n --tw-backdrop-saturate: ;\n --tw-backdrop-sepia: ;\n --tw-contain-size: ;\n --tw-contain-layout: ;\n --tw-contain-paint: ;\n --tw-contain-style: ;\n}/*\n! tailwindcss v3.4.17 | MIT License | https://tailwindcss.com\n*//*\n1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)\n2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)\n*/\n\n*,\n::before,\n::after {\n box-sizing: border-box; /* 1 */\n border-width: 0; /* 2 */\n border-style: solid; /* 2 */\n border-color: var(--ikp-color-gray-200); /* 2 */\n}\n\n::before,\n::after {\n --tw-content: \'\';\n}\n\n/*\n1. Use a consistent sensible line-height in all browsers.\n2. Prevent adjustments of font size after orientation changes in iOS.\n3. Use a more readable tab size.\n4. Use the user\'s configured `sans` font-family by default.\n5. Use the user\'s configured `sans` font-feature-settings by default.\n6. Use the user\'s configured `sans` font-variation-settings by default.\n7. Disable tap highlights on iOS\n*/\n\nhtml,\n:host {\n line-height: 1.5; /* 1 */\n -webkit-text-size-adjust: 100%; /* 2 */\n -moz-tab-size: 4; /* 3 */\n -o-tab-size: 4;\n tab-size: 4; /* 3 */\n font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; /* 4 */\n font-feature-settings: normal; /* 5 */\n font-variation-settings: normal; /* 6 */\n -webkit-tap-highlight-color: transparent; /* 7 */\n}\n\n/*\n1. Remove the margin in all browsers.\n2. Inherit line-height from `html` so users can set them as a class directly on the `html` element.\n*/\n\nbody {\n margin: 0; /* 1 */\n line-height: inherit; /* 2 */\n}\n\n/*\n1. Add the correct height in Firefox.\n2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)\n3. Ensure horizontal rules are visible by default.\n*/\n\nhr {\n height: 0; /* 1 */\n color: inherit; /* 2 */\n border-top-width: 1px; /* 3 */\n}\n\n/*\nAdd the correct text decoration in Chrome, Edge, and Safari.\n*/\n\nabbr:where([title]) {\n -webkit-text-decoration: underline dotted;\n text-decoration: underline dotted;\n}\n\n/*\nRemove the default font size and weight for headings.\n*/\n\nh1,\nh2,\nh3,\nh4,\nh5,\nh6 {\n font-size: inherit;\n font-weight: inherit;\n}\n\n/*\nReset links to optimize for opt-in styling instead of opt-out.\n*/\n\na {\n color: inherit;\n text-decoration: inherit;\n}\n\n/*\nAdd the correct font weight in Edge and Safari.\n*/\n\nb,\nstrong {\n font-weight: bolder;\n}\n\n/*\n1. Use the user\'s configured `mono` font-family by default.\n2. Use the user\'s configured `mono` font-feature-settings by default.\n3. Use the user\'s configured `mono` font-variation-settings by default.\n4. Correct the odd `em` font sizing in all browsers.\n*/\n\ncode,\nkbd,\nsamp,\npre {\n font-family: var(--ikp-font-family-mono); /* 1 */\n font-feature-settings: normal; /* 2 */\n font-variation-settings: normal; /* 3 */\n font-size: 1em; /* 4 */\n}\n\n/*\nAdd the correct font size in all browsers.\n*/\n\nsmall {\n font-size: 80%;\n}\n\n/*\nPrevent `sub` and `sup` elements from affecting the line height in all browsers.\n*/\n\nsub,\nsup {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n}\n\nsub {\n bottom: -0.25em;\n}\n\nsup {\n top: -0.5em;\n}\n\n/*\n1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)\n2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)\n3. Remove gaps between table borders by default.\n*/\n\ntable {\n text-indent: 0; /* 1 */\n border-color: inherit; /* 2 */\n border-collapse: collapse; /* 3 */\n}\n\n/*\n1. Change the font styles in all browsers.\n2. Remove the margin in Firefox and Safari.\n3. Remove default padding in all browsers.\n*/\n\nbutton,\ninput,\noptgroup,\nselect,\ntextarea {\n font-family: inherit; /* 1 */\n font-feature-settings: inherit; /* 1 */\n font-variation-settings: inherit; /* 1 */\n font-size: 100%; /* 1 */\n font-weight: inherit; /* 1 */\n line-height: inherit; /* 1 */\n letter-spacing: inherit; /* 1 */\n color: inherit; /* 1 */\n margin: 0; /* 2 */\n padding: 0; /* 3 */\n}\n\n/*\nRemove the inheritance of text transform in Edge and Firefox.\n*/\n\nbutton,\nselect {\n text-transform: none;\n}\n\n/*\n1. Correct the inability to style clickable types in iOS and Safari.\n2. Remove default button styles.\n*/\n\nbutton,\ninput:where([type=\'button\']),\ninput:where([type=\'reset\']),\ninput:where([type=\'submit\']) {\n -webkit-appearance: button; /* 1 */\n background-color: transparent; /* 2 */\n background-image: none; /* 2 */\n}\n\n/*\nUse the modern Firefox focus style for all focusable elements.\n*/\n\n:-moz-focusring {\n outline: auto;\n}\n\n/*\nRemove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)\n*/\n\n:-moz-ui-invalid {\n box-shadow: none;\n}\n\n/*\nAdd the correct vertical alignment in Chrome and Firefox.\n*/\n\nprogress {\n vertical-align: baseline;\n}\n\n/*\nCorrect the cursor style of increment and decrement buttons in Safari.\n*/\n\n::-webkit-inner-spin-button,\n::-webkit-outer-spin-button {\n height: auto;\n}\n\n/*\n1. Correct the odd appearance in Chrome and Safari.\n2. Correct the outline style in Safari.\n*/\n\n[type=\'search\'] {\n -webkit-appearance: textfield; /* 1 */\n outline-offset: -2px; /* 2 */\n}\n\n/*\nRemove the inner padding in Chrome and Safari on macOS.\n*/\n\n::-webkit-search-decoration {\n -webkit-appearance: none;\n}\n\n/*\n1. Correct the inability to style clickable types in iOS and Safari.\n2. Change font properties to `inherit` in Safari.\n*/\n\n::-webkit-file-upload-button {\n -webkit-appearance: button; /* 1 */\n font: inherit; /* 2 */\n}\n\n/*\nAdd the correct display in Chrome and Safari.\n*/\n\nsummary {\n display: list-item;\n}\n\n/*\nRemoves the default spacing and border for appropriate elements.\n*/\n\nblockquote,\ndl,\ndd,\nh1,\nh2,\nh3,\nh4,\nh5,\nh6,\nhr,\nfigure,\np,\npre {\n margin: 0;\n}\n\nfieldset {\n margin: 0;\n padding: 0;\n}\n\nlegend {\n padding: 0;\n}\n\nol,\nul,\nmenu {\n list-style: none;\n margin: 0;\n padding: 0;\n}\n\n/*\nReset default styling for dialogs.\n*/\ndialog {\n padding: 0;\n}\n\n/*\nPrevent resizing textareas horizontally by default.\n*/\n\ntextarea {\n resize: vertical;\n}\n\n/*\n1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)\n2. Set the default placeholder color to the user\'s configured gray 400 color.\n*/\n\ninput::-moz-placeholder, textarea::-moz-placeholder {\n opacity: 1; /* 1 */\n color: var(--ikp-color-gray-400); /* 2 */\n}\n\ninput::placeholder,\ntextarea::placeholder {\n opacity: 1; /* 1 */\n color: var(--ikp-color-gray-400); /* 2 */\n}\n\n/*\nSet the default cursor for buttons.\n*/\n\nbutton,\n[role="button"] {\n cursor: pointer;\n}\n\n/*\nMake sure disabled buttons don\'t get the pointer cursor.\n*/\n:disabled {\n cursor: default;\n}\n\n/*\n1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14)\n2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)\n This can trigger a poorly considered lint error in some tools but is included by design.\n*/\n\nimg,\nsvg,\nvideo,\ncanvas,\naudio,\niframe,\nembed,\nobject {\n display: block; /* 1 */\n vertical-align: middle; /* 2 */\n}\n\n/*\nConstrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)\n*/\n\nimg,\nvideo {\n max-width: 100%;\n height: auto;\n}\n\n/* Make elements with the HTML hidden attribute stay hidden by default */\n[hidden]:where(:not([hidden="until-found"])) {\n display: none;\n}\n.container {\n width: 100%;\n}\n@media (min-width: 640px) {\n\n .container {\n max-width: 640px;\n }\n}\n@media (min-width: 768px) {\n\n .container {\n max-width: 768px;\n }\n}\n@media (min-width: 1024px) {\n\n .container {\n max-width: 1024px;\n }\n}\n@media (min-width: 1280px) {\n\n .container {\n max-width: 1280px;\n }\n}\n@media (min-width: 1536px) {\n\n .container {\n max-width: 1536px;\n }\n}\n.pointer-events-none {\n pointer-events: none;\n}\n.fixed {\n position: fixed;\n}\n.absolute {\n position: absolute;\n}\n.relative {\n position: relative;\n}\n.inset-0 {\n inset: 0px;\n}\n.inset-\\[unset\\] {\n inset: unset;\n}\n.bottom-6 {\n bottom: 1.5rem;\n}\n.left-0 {\n left: 0px;\n}\n.left-1\\/2 {\n left: 50%;\n}\n.left-\\[unset\\] {\n left: unset;\n}\n.right-1 {\n right: 0.25rem;\n}\n.right-2 {\n right: 0.5rem;\n}\n.right-3 {\n right: 0.75rem;\n}\n.right-6 {\n right: 1.5rem;\n}\n.top-0 {\n top: 0px;\n}\n.top-1 {\n top: 0.25rem;\n}\n.top-1\\/2 {\n top: 50%;\n}\n.top-2 {\n top: 0.5rem;\n}\n.top-\\[5\\%\\] {\n top: 5%;\n}\n.z-10 {\n z-index: 10;\n}\n.z-base {\n z-index: var(--ikp-z-index-base);\n}\n.z-dropdown {\n z-index: var(--ikp-z-index-dropdown);\n}\n.z-modal {\n z-index: var(--ikp-z-index-modal);\n}\n.z-overlay {\n z-index: var(--ikp-z-index-overlay);\n}\n.z-popover {\n z-index: var(--ikp-z-index-popover);\n}\n.z-start {\n z-index: var(--ikp-z-index-start);\n}\n.m-\\[0px_0px_0\\.5em\\] {\n margin: 0px 0px 0.5em;\n}\n.m-auto {\n margin: auto;\n}\n.-my-\\[1px\\] {\n margin-top: -1px;\n margin-bottom: -1px;\n}\n.mx-1 {\n margin-left: 0.25rem;\n margin-right: 0.25rem;\n}\n.mx-\\[5px\\] {\n margin-left: 5px;\n margin-right: 5px;\n}\n.mx-auto {\n margin-left: auto;\n margin-right: auto;\n}\n.my-2 {\n margin-top: 0.5rem;\n margin-bottom: 0.5rem;\n}\n.my-6 {\n margin-top: 1.5rem;\n margin-bottom: 1.5rem;\n}\n.my-\\[\\.1rem\\] {\n margin-top: .1rem;\n margin-bottom: .1rem;\n}\n.mb-0 {\n margin-bottom: 0px;\n}\n.mb-1 {\n margin-bottom: 0.25rem;\n}\n.mb-2 {\n margin-bottom: 0.5rem;\n}\n.mb-3 {\n margin-bottom: 0.75rem;\n}\n.mb-5 {\n margin-bottom: 1.25rem;\n}\n.mb-6 {\n margin-bottom: 1.5rem;\n}\n.mb-8 {\n margin-bottom: 2rem;\n}\n.ml-1 {\n margin-left: 0.25rem;\n}\n.ml-2 {\n margin-left: 0.5rem;\n}\n.ml-4 {\n margin-left: 1rem;\n}\n.ml-\\[3px\\] {\n margin-left: 3px;\n}\n.ml-auto {\n margin-left: auto;\n}\n.mr-1 {\n margin-right: 0.25rem;\n}\n.mr-2 {\n margin-right: 0.5rem;\n}\n.mr-\\[0\\.5em\\] {\n margin-right: 0.5em;\n}\n.mr-\\[var\\(--removed-body-scroll-bar-size\\)\\] {\n margin-right: var(--removed-body-scroll-bar-size);\n}\n.mr-auto {\n margin-right: auto;\n}\n.ms-\\[1em\\] {\n margin-inline-start: 1em;\n}\n.mt-12 {\n margin-top: 3rem;\n}\n.mt-2 {\n margin-top: 0.5rem;\n}\n.mt-4 {\n margin-top: 1rem;\n}\n.mt-8 {\n margin-top: 2rem;\n}\n.line-clamp-1 {\n overflow: hidden;\n display: -webkit-box;\n -webkit-box-orient: vertical;\n -webkit-line-clamp: 1;\n}\n.\\!line-clamp-none {\n overflow: visible !important;\n display: block !important;\n -webkit-box-orient: horizontal !important;\n -webkit-line-clamp: none !important;\n}\n.block {\n display: block;\n}\n.inline-block {\n display: inline-block;\n}\n.flex {\n display: flex;\n}\n.inline-flex {\n display: inline-flex;\n}\n.table {\n display: table;\n}\n.grid {\n display: grid;\n}\n.contents {\n display: contents;\n}\n.hidden {\n display: none;\n}\n.size-10 {\n width: 2.5rem;\n height: 2.5rem;\n}\n.size-4 {\n width: 1rem;\n height: 1rem;\n}\n.h-0 {\n height: 0px;\n}\n.h-10 {\n height: 2.5rem;\n}\n.h-11 {\n height: 2.75rem;\n}\n.h-12 {\n height: 3rem;\n}\n.h-20 {\n height: 5rem;\n}\n.h-3 {\n height: 0.75rem;\n}\n.h-3\\.5 {\n height: 0.875rem;\n}\n.h-4 {\n height: 1rem;\n}\n.h-5 {\n height: 1.25rem;\n}\n.h-6 {\n height: 1.5rem;\n}\n.h-8 {\n height: 2rem;\n}\n.h-\\[24px\\] {\n height: 24px;\n}\n.h-\\[27\\.88px\\] {\n height: 27.88px;\n}\n.h-\\[30px\\] {\n height: 30px;\n}\n.h-\\[calc\\(100\\%-24px\\)\\] {\n height: calc(100% - 24px);\n}\n.h-\\[var\\(--ask-ai-trigger-height\\)\\] {\n height: var(--ask-ai-trigger-height);\n}\n.h-\\[var\\(--radix-select-trigger-height\\)\\] {\n height: var(--radix-select-trigger-height);\n}\n.h-auto {\n height: auto;\n}\n.h-full {\n height: 100%;\n}\n.h-screen {\n height: 100vh;\n}\n.max-h-96 {\n max-height: 24rem;\n}\n.max-h-\\[100vw\\] {\n max-height: 100vw;\n}\n.max-h-\\[10vh\\] {\n max-height: 10vh;\n}\n.max-h-\\[200px\\] {\n max-height: 200px;\n}\n.max-h-\\[min\\(85vh\\2c 850px\\)\\] {\n max-height: min(85vh,850px);\n}\n.max-h-full {\n max-height: 100%;\n}\n.max-h-screen {\n max-height: 100vh;\n}\n.\\!min-h-0 {\n min-height: 0px !important;\n}\n.min-h-0 {\n min-height: 0px;\n}\n.min-h-20 {\n min-height: 5rem;\n}\n.min-h-8 {\n min-height: 2rem;\n}\n.min-h-9 {\n min-height: 2.25rem;\n}\n.min-h-\\[38px\\] {\n min-height: 38px;\n}\n.min-h-\\[unset\\] {\n min-height: unset;\n}\n.w-10 {\n width: 2.5rem;\n}\n.w-12 {\n width: 3rem;\n}\n.w-16 {\n width: 4rem;\n}\n.w-2\\.5 {\n width: 0.625rem;\n}\n.w-3\\.5 {\n width: 0.875rem;\n}\n.w-4 {\n width: 1rem;\n}\n.w-40 {\n width: 10rem;\n}\n.w-5 {\n width: 1.25rem;\n}\n.w-56 {\n width: 14rem;\n}\n.w-6 {\n width: 1.5rem;\n}\n.w-60 {\n width: 15rem;\n}\n.w-8 {\n width: 2rem;\n}\n.w-\\[18px\\] {\n width: 18px;\n}\n.w-\\[250px\\] {\n width: 250px;\n}\n.w-\\[254px\\] {\n width: 254px;\n}\n.w-\\[calc\\(100\\%_-_theme\\(spacing\\.5\\)\\)\\] {\n width: calc(100% - 1.25rem);\n}\n.w-\\[min\\(90vw\\2c 720px\\)\\] {\n width: min(90vw,720px);\n}\n.w-fit {\n width: -moz-fit-content;\n width: fit-content;\n}\n.w-full {\n width: 100%;\n}\n.w-screen {\n width: 100vw;\n}\n.\\!min-w-0 {\n min-width: 0px !important;\n}\n.min-w-0 {\n min-width: 0px;\n}\n.min-w-10 {\n min-width: 2.5rem;\n}\n.min-w-5 {\n min-width: 1.25rem;\n}\n.min-w-6 {\n min-width: 1.5rem;\n}\n.min-w-8 {\n min-width: 2rem;\n}\n.min-w-\\[8rem\\] {\n min-width: 8rem;\n}\n.min-w-\\[unset\\] {\n min-width: unset;\n}\n.min-w-\\[var\\(--radix-select-trigger-width\\)\\] {\n min-width: var(--radix-select-trigger-width);\n}\n.max-w-2xl {\n max-width: 42rem;\n}\n.max-w-\\[200px\\] {\n max-width: 200px;\n}\n.max-w-\\[480px\\] {\n max-width: 480px;\n}\n.max-w-full {\n max-width: 100%;\n}\n.max-w-lg {\n max-width: 32rem;\n}\n.flex-1 {\n flex: 1 1 0%;\n}\n.flex-\\[0_0_100\\%\\] {\n flex: 0 0 100%;\n}\n.flex-shrink-0 {\n flex-shrink: 0;\n}\n.shrink-0 {\n flex-shrink: 0;\n}\n.grow-0 {\n flex-grow: 0;\n}\n.grow-\\[1\\] {\n flex-grow: 1;\n}\n.grow-\\[2\\] {\n flex-grow: 2;\n}\n.grow-\\[5\\] {\n flex-grow: 5;\n}\n.border-collapse {\n border-collapse: collapse;\n}\n.-translate-x-1\\/2 {\n --tw-translate-x: -50%;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n.-translate-y-1\\/2 {\n --tw-translate-y: -50%;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n.translate-x-\\[-50\\%\\] {\n --tw-translate-x: -50%;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n.rotate-\\[-30deg\\] {\n --tw-rotate: -30deg;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n.transform-none {\n transform: none;\n}\n@keyframes bounce-dot {\n\n 0%, 100% {\n transform: translateY(0);\n opacity: 0.3;\n }\n\n 50% {\n transform: translateY(-5px);\n opacity: 1;\n }\n}\n.animate-bounce-dot {\n animation: bounce-dot 1.5s infinite ease-in-out;\n}\n@keyframes checkbox-check {\n\n from {\n opacity: 0;\n stroke-dashoffset: 16;\n transform: scale(0.95);\n }\n\n to {\n opacity: 1;\n stroke-dashoffset: 0;\n transform: scale(1);\n }\n}\n.animate-checkbox-check {\n animation: checkbox-check 200ms linear;\n}\n@keyframes shimmer {\n\n 0% {\n background-size: 200% 200%;\n background-position: 100% 0;\n }\n\n 100% {\n background-size: 200% 200%;\n background-position: -100% 0;\n }\n}\n.animate-shimmer {\n animation: shimmer 3.5s cubic-bezier(0.4, 0, 0.6, 1) infinite;\n}\n@keyframes skeleton-bg-fade {\n\n from {\n border-color: var(--start-color);\n background: var(--start-color);\n }\n\n to {\n border-color: var(--end-color);\n background: var(--end-color);\n }\n}\n.animate-skeleton-bg-fade {\n animation: 0.8s linear infinite alternate skeleton-bg-fade;\n}\n@keyframes spin {\n\n to {\n transform: rotate(360deg);\n }\n}\n.animate-spin {\n animation: spin 1s linear infinite;\n}\n.cursor-default {\n cursor: default;\n}\n.cursor-pointer {\n cursor: pointer;\n}\n.touch-none {\n touch-action: none;\n}\n.select-none {\n -webkit-user-select: none;\n -moz-user-select: none;\n user-select: none;\n}\n.resize-none {\n resize: none;\n}\n.list-\\[initial\\] {\n list-style-type: initial;\n}\n.list-decimal {\n list-style-type: decimal;\n}\n.appearance-none {\n -webkit-appearance: none;\n -moz-appearance: none;\n appearance: none;\n}\n.flex-row {\n flex-direction: row;\n}\n.flex-row-reverse {\n flex-direction: row-reverse;\n}\n.flex-col {\n flex-direction: column;\n}\n.flex-wrap {\n flex-wrap: wrap;\n}\n.flex-wrap-reverse {\n flex-wrap: wrap-reverse;\n}\n.place-items-center {\n place-items: center;\n}\n.content-center {\n align-content: center;\n}\n.items-start {\n align-items: flex-start;\n}\n.items-end {\n align-items: flex-end;\n}\n.items-center {\n align-items: center;\n}\n.items-stretch {\n align-items: stretch;\n}\n.justify-start {\n justify-content: flex-start;\n}\n.justify-end {\n justify-content: flex-end;\n}\n.justify-center {\n justify-content: center;\n}\n.justify-between {\n justify-content: space-between;\n}\n.gap-0\\.5 {\n gap: 0.125rem;\n}\n.gap-1 {\n gap: 0.25rem;\n}\n.gap-1\\.5 {\n gap: 0.375rem;\n}\n.gap-12 {\n gap: 3rem;\n}\n.gap-2 {\n gap: 0.5rem;\n}\n.gap-2\\.5 {\n gap: 0.625rem;\n}\n.gap-3 {\n gap: 0.75rem;\n}\n.gap-4 {\n gap: 1rem;\n}\n.gap-5 {\n gap: 1.25rem;\n}\n.gap-6 {\n gap: 1.5rem;\n}\n.gap-8 {\n gap: 2rem;\n}\n.gap-\\[1rem_0\\.5rem\\] {\n gap: 1rem 0.5rem;\n}\n.gap-x-3 {\n -moz-column-gap: 0.75rem;\n column-gap: 0.75rem;\n}\n.gap-y-1 {\n row-gap: 0.25rem;\n}\n.gap-y-2 {\n row-gap: 0.5rem;\n}\n.gap-y-6 {\n row-gap: 1.5rem;\n}\n.space-x-1 > :not([hidden]) ~ :not([hidden]) {\n --tw-space-x-reverse: 0;\n margin-right: calc(0.25rem * var(--tw-space-x-reverse));\n margin-left: calc(0.25rem * calc(1 - var(--tw-space-x-reverse)));\n}\n.space-x-2 > :not([hidden]) ~ :not([hidden]) {\n --tw-space-x-reverse: 0;\n margin-right: calc(0.5rem * var(--tw-space-x-reverse));\n margin-left: calc(0.5rem * calc(1 - var(--tw-space-x-reverse)));\n}\n.divide-y > :not([hidden]) ~ :not([hidden]) {\n --tw-divide-y-reverse: 0;\n border-top-width: calc(1px * calc(1 - var(--tw-divide-y-reverse)));\n border-bottom-width: calc(1px * var(--tw-divide-y-reverse));\n}\n.self-start {\n align-self: flex-start;\n}\n.self-center {\n align-self: center;\n}\n.justify-self-end {\n justify-self: end;\n}\n.justify-self-center {\n justify-self: center;\n}\n.overflow-hidden {\n overflow: hidden;\n}\n.overflow-x-auto {\n overflow-x: auto;\n}\n.overflow-y-auto {\n overflow-y: auto;\n}\n.truncate {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n.text-ellipsis {\n text-overflow: ellipsis;\n}\n.whitespace-normal {\n white-space: normal;\n}\n.whitespace-nowrap {\n white-space: nowrap;\n}\n.whitespace-pre {\n white-space: pre;\n}\n.whitespace-pre-wrap {\n white-space: pre-wrap;\n}\n.break-words {\n overflow-wrap: break-word;\n}\n.rounded {\n border-radius: 0.25rem;\n}\n.rounded-\\[0_0_6px_6px\\] {\n border-radius: 0 0 6px 6px;\n}\n.rounded-\\[6px\\] {\n border-radius: 6px;\n}\n.rounded-\\[6px_6px_0_0\\] {\n border-radius: 6px 6px 0 0;\n}\n.rounded-\\[inherit\\] {\n border-radius: inherit;\n}\n.rounded-full {\n border-radius: 9999px;\n}\n.rounded-lg {\n border-radius: 0.5rem;\n}\n.rounded-md {\n border-radius: 0.375rem;\n}\n.rounded-sm {\n border-radius: 0.125rem;\n}\n.rounded-xl {\n border-radius: 0.75rem;\n}\n.border {\n border-width: 1px;\n}\n.border-2 {\n border-width: 2px;\n}\n.border-b {\n border-bottom-width: 1px;\n}\n.border-l {\n border-left-width: 1px;\n}\n.border-solid {\n border-style: solid;\n}\n.border-none {\n border-style: none;\n}\n.border-\\[--end-color\\] {\n border-color: var(--end-color);\n}\n.border-gray-100 {\n border-color: var(--ikp-color-gray-100);\n}\n.border-gray-200 {\n border-color: var(--ikp-color-gray-200);\n}\n.border-gray-300 {\n border-color: var(--ikp-color-gray-300);\n}\n.border-inherit {\n border-color: inherit;\n}\n.border-inkeep-expanded-primary-200 {\n border-color: var(--ikp-color-inkeep-expanded-primary-200);\n}\n.border-transparent {\n border-color: transparent;\n}\n.border-white-alpha-200 {\n border-color: var(--ikp-color-white-alpha-200);\n}\n.border-l-transparent {\n border-left-color: transparent;\n}\n.bg-\\[--start-color\\] {\n background-color: var(--start-color);\n}\n.bg-gray-100 {\n background-color: var(--ikp-color-gray-100);\n}\n.bg-gray-1000 {\n background-color: var(--ikp-color-gray-1000);\n}\n.bg-gray-300 {\n background-color: var(--ikp-color-gray-300);\n}\n.bg-gray-50 {\n background-color: var(--ikp-color-gray-50);\n}\n.bg-inherit {\n background-color: inherit;\n}\n.bg-inkeep-primary-lighter {\n background-color: var(--ikp-color-inkeep-primary-lighter);\n}\n.bg-inkeep-primary-medium {\n background-color: var(--ikp-color-inkeep-primary-medium);\n}\n.bg-inkeep-primary-text-bold {\n background-color: var(--ikp-color-inkeep-primary-text-bold);\n}\n.bg-overlay-light {\n background-color: var(--ikp-color-overlay-light);\n}\n.bg-transparent {\n background-color: transparent;\n}\n.bg-white {\n --tw-bg-opacity: 1;\n background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));\n}\n.bg-gradient-to-br {\n background-image: linear-gradient(to bottom right, var(--tw-gradient-stops));\n}\n.bg-gradient-to-t {\n background-image: linear-gradient(to top, var(--tw-gradient-stops));\n}\n.from-gray-100 {\n --tw-gradient-from: var(--ikp-color-gray-100) var(--tw-gradient-from-position);\n --tw-gradient-to: rgb(255 255 255 / 0) var(--tw-gradient-to-position);\n --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);\n}\n.from-gray-700 {\n --tw-gradient-from: var(--ikp-color-gray-700) var(--tw-gradient-from-position);\n --tw-gradient-to: rgb(255 255 255 / 0) var(--tw-gradient-to-position);\n --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);\n}\n.to-gray-400 {\n --tw-gradient-to: var(--ikp-color-gray-400) var(--tw-gradient-to-position);\n}\n.bg-clip-padding {\n background-clip: padding-box;\n}\n.bg-clip-text {\n -webkit-background-clip: text;\n background-clip: text;\n}\n.fill-white {\n fill: #fff;\n}\n.p-0 {\n padding: 0px;\n}\n.p-0\\.5 {\n padding: 0.125rem;\n}\n.p-1 {\n padding: 0.25rem;\n}\n.p-2 {\n padding: 0.5rem;\n}\n.p-4 {\n padding: 1rem;\n}\n.p-8 {\n padding: 2rem;\n}\n.p-\\[1em\\] {\n padding: 1em;\n}\n.px-0 {\n padding-left: 0px;\n padding-right: 0px;\n}\n.px-1 {\n padding-left: 0.25rem;\n padding-right: 0.25rem;\n}\n.px-2 {\n padding-left: 0.5rem;\n padding-right: 0.5rem;\n}\n.px-3 {\n padding-left: 0.75rem;\n padding-right: 0.75rem;\n}\n.px-4 {\n padding-left: 1rem;\n padding-right: 1rem;\n}\n.px-5 {\n padding-left: 1.25rem;\n padding-right: 1.25rem;\n}\n.px-6 {\n padding-left: 1.5rem;\n padding-right: 1.5rem;\n}\n.px-\\[\\.4rem\\] {\n padding-left: .4rem;\n padding-right: .4rem;\n}\n.px-\\[18px\\] {\n padding-left: 18px;\n padding-right: 18px;\n}\n.py-0 {\n padding-top: 0px;\n padding-bottom: 0px;\n}\n.py-1 {\n padding-top: 0.25rem;\n padding-bottom: 0.25rem;\n}\n.py-1\\.5 {\n padding-top: 0.375rem;\n padding-bottom: 0.375rem;\n}\n.py-2 {\n padding-top: 0.5rem;\n padding-bottom: 0.5rem;\n}\n.py-3 {\n padding-top: 0.75rem;\n padding-bottom: 0.75rem;\n}\n.py-4 {\n padding-top: 1rem;\n padding-bottom: 1rem;\n}\n.py-6 {\n padding-top: 1.5rem;\n padding-bottom: 1.5rem;\n}\n.py-8 {\n padding-top: 2rem;\n padding-bottom: 2rem;\n}\n.py-\\[\\.2rem\\] {\n padding-top: .2rem;\n padding-bottom: .2rem;\n}\n.py-\\[1px\\] {\n padding-top: 1px;\n padding-bottom: 1px;\n}\n.pb-1 {\n padding-bottom: 0.25rem;\n}\n.pb-2\\.5 {\n padding-bottom: 0.625rem;\n}\n.pb-3 {\n padding-bottom: 0.75rem;\n}\n.pb-4 {\n padding-bottom: 1rem;\n}\n.pb-6 {\n padding-bottom: 1.5rem;\n}\n.pb-8 {\n padding-bottom: 2rem;\n}\n.pl-2 {\n padding-left: 0.5rem;\n}\n.pl-6 {\n padding-left: 1.5rem;\n}\n.pl-7 {\n padding-left: 1.75rem;\n}\n.pl-8 {\n padding-left: 2rem;\n}\n.pr-1 {\n padding-right: 0.25rem;\n}\n.pr-12 {\n padding-right: 3rem;\n}\n.pr-8 {\n padding-right: 2rem;\n}\n.pt-0 {\n padding-top: 0px;\n}\n.pt-1 {\n padding-top: 0.25rem;\n}\n.pt-12 {\n padding-top: 3rem;\n}\n.pt-2 {\n padding-top: 0.5rem;\n}\n.pt-3 {\n padding-top: 0.75rem;\n}\n.pt-4 {\n padding-top: 1rem;\n}\n.pt-6 {\n padding-top: 1.5rem;\n}\n.text-left {\n text-align: left;\n}\n.text-center {\n text-align: center;\n}\n.text-start {\n text-align: start;\n}\n.align-middle {\n vertical-align: middle;\n}\n.font-body {\n font-family: var(--ikp-font-family-body);\n}\n.font-heading {\n font-family: var(--ikp-font-family-heading);\n}\n.font-mono {\n font-family: var(--ikp-font-family-mono);\n}\n.text-1sm {\n font-size: var(--ikp-font-size-1sm);\n}\n.text-2sm {\n font-size: var(--ikp-font-size-2sm);\n}\n.text-2xs {\n font-size: var(--ikp-font-size-2xs);\n}\n.text-3xl {\n font-size: var(--ikp-font-size-3xl);\n}\n.text-3xs {\n font-size: var(--ikp-font-size-3xs);\n}\n.text-lg {\n font-size: var(--ikp-font-size-lg);\n}\n.text-md {\n font-size: var(--ikp-font-size-md);\n}\n.text-sm {\n font-size: var(--ikp-font-size-sm);\n}\n.text-xl {\n font-size: var(--ikp-font-size-xl);\n}\n.text-xs {\n font-size: var(--ikp-font-size-xs);\n}\n.font-bold {\n font-weight: 700;\n}\n.font-medium {\n font-weight: 500;\n}\n.font-normal {\n font-weight: 400;\n}\n.font-semibold {\n font-weight: 600;\n}\n.uppercase {\n text-transform: uppercase;\n}\n.leading-4 {\n line-height: 1rem;\n}\n.leading-5 {\n line-height: 1.25rem;\n}\n.leading-6 {\n line-height: 1.5rem;\n}\n.leading-\\[1\\.25\\] {\n line-height: 1.25;\n}\n.leading-\\[1\\.2\\] {\n line-height: 1.2;\n}\n.leading-\\[1em\\] {\n line-height: 1em;\n}\n.leading-\\[unset\\] {\n line-height: unset;\n}\n.leading-snug {\n line-height: 1.375;\n}\n.tracking-tight {\n letter-spacing: -0.025em;\n}\n.tracking-wider {\n letter-spacing: 0.05em;\n}\n.tracking-widest {\n letter-spacing: 0.1em;\n}\n.text-current {\n color: currentColor;\n}\n.text-gray-400 {\n color: var(--ikp-color-gray-400);\n}\n.text-gray-500 {\n color: var(--ikp-color-gray-500);\n}\n.text-gray-600 {\n color: var(--ikp-color-gray-600);\n}\n.text-gray-700 {\n color: var(--ikp-color-gray-700);\n}\n.text-gray-800 {\n color: var(--ikp-color-gray-800);\n}\n.text-green-500 {\n --tw-text-opacity: 1;\n color: rgb(34 197 94 / var(--tw-text-opacity, 1));\n}\n.text-inherit {\n color: inherit;\n}\n.text-inkeep-primary-medium {\n color: var(--ikp-color-inkeep-primary-medium);\n}\n.text-inkeep-primary-strong {\n color: var(--ikp-color-inkeep-primary-strong);\n}\n.text-inkeep-primary-stronger {\n color: var(--ikp-color-inkeep-primary-stronger);\n}\n.text-inkeep-primary-text-bold {\n color: var(--ikp-color-inkeep-primary-text-bold);\n}\n.text-inkeep-primary-text-color-on-primary {\n color: var(--ikp-color-inkeep-primary-text-color-on-primary);\n}\n.text-purple-500 {\n --tw-text-opacity: 1;\n color: rgb(168 85 247 / var(--tw-text-opacity, 1));\n}\n.text-red-500 {\n --tw-text-opacity: 1;\n color: rgb(239 68 68 / var(--tw-text-opacity, 1));\n}\n.text-transparent {\n color: transparent;\n}\n.text-white {\n --tw-text-opacity: 1;\n color: rgb(255 255 255 / var(--tw-text-opacity, 1));\n}\n.opacity-0 {\n opacity: 0;\n}\n.opacity-30 {\n opacity: 0.3;\n}\n.opacity-45 {\n opacity: 0.45;\n}\n.opacity-70 {\n opacity: 0.7;\n}\n.shadow {\n --tw-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);\n --tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n.shadow-2xl {\n --tw-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);\n --tw-shadow-colored: 0 25px 50px -12px var(--tw-shadow-color);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n.shadow-\\[0_0_0_2px_var\\(--shadow-color\\)\\] {\n --tw-shadow: 0 0 0 2px var(--shadow-color);\n --tw-shadow-colored: 0 0 0 2px var(--tw-shadow-color);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n.shadow-\\[0_25px_50px_-12px_rgba\\(0\\2c 0\\2c 0\\2c 0\\.25\\)\\] {\n --tw-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);\n --tw-shadow-colored: 0 25px 50px -12px var(--tw-shadow-color);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n.shadow-\\[0_8px_30px_rgba\\(0\\2c 0\\2c 0\\2c 0\\.12\\)\\] {\n --tw-shadow: 0 8px 30px rgba(0,0,0,0.12);\n --tw-shadow-colored: 0 8px 30px var(--tw-shadow-color);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n.shadow-\\[inset_0_0_0_1px_currentColor\\] {\n --tw-shadow: inset 0 0 0 1px currentColor;\n --tw-shadow-colored: inset 0 0 0 1px var(--tw-shadow-color);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n.shadow-lg {\n --tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);\n --tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n.shadow-md {\n --tw-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);\n --tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n.shadow-none {\n --tw-shadow: 0 0 #0000;\n --tw-shadow-colored: 0 0 #0000;\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n.shadow-\\[none\\] {\n --tw-shadow-color: none;\n --tw-shadow: var(--tw-shadow-colored);\n}\n.outline-none {\n outline: 2px solid transparent;\n outline-offset: 2px;\n}\n.outline {\n outline-style: solid;\n}\n.backdrop-blur-sm {\n --tw-backdrop-blur: blur(4px);\n -webkit-backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);\n backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);\n}\n.transition-\\[common\\] {\n transition-property: common;\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n transition-duration: 150ms;\n}\n.transition-all {\n transition-property: all;\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n transition-duration: 150ms;\n}\n.transition-colors {\n transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n transition-duration: 150ms;\n}\n.transition-opacity {\n transition-property: opacity;\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n transition-duration: 150ms;\n}\n.transition-transform {\n transition-property: transform;\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n transition-duration: 150ms;\n}\n.duration-100 {\n transition-duration: 100ms;\n}\n.duration-200 {\n transition-duration: 200ms;\n}\n.duration-300 {\n transition-duration: 300ms;\n}\n.duration-\\[160ms\\] {\n transition-duration: 160ms;\n}\n.duration-\\[180\\] {\n transition-duration: 180;\n}\n.ease-in-out {\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n}\n.ease-linear {\n transition-timing-function: linear;\n}\n.ease-out {\n transition-timing-function: cubic-bezier(0, 0, 0.2, 1);\n}\n.\\[--ask-ai-trigger-height\\:0px\\] {\n --ask-ai-trigger-height: 0px;\n}\n.\\[--end-color\\:theme\\(colors\\.gray\\.300\\)\\] {\n --end-color: var(--ikp-color-gray-300);\n}\n.\\[--end-color\\:theme\\(colors\\.inkeep-expanded-primary\\.700\\)\\] {\n --end-color: var(--ikp-color-inkeep-expanded-primary-700);\n}\n.\\[--end-color\\:theme\\(colors\\.white-alpha\\.100\\)\\] {\n --end-color: var(--ikp-color-white-alpha-100);\n}\n.\\[--error-border-color\\:theme\\(colors\\.red\\.500\\)\\] {\n --error-border-color: #ef4444;\n}\n.\\[--focus-border-color\\:theme\\(colors\\.blue\\.500\\)\\] {\n --focus-border-color: #3b82f6;\n}\n.\\[--footer-height\\:theme\\(spacing\\.9\\)\\] {\n --footer-height: 2.25rem;\n}\n.\\[--scrollbar-color\\:var\\(--color-gray-300\\)\\] {\n --scrollbar-color: var(--color-gray-300);\n}\n.\\[--start-color\\:theme\\(colors\\.gray\\.50\\)\\] {\n --start-color: var(--ikp-color-gray-50);\n}\n.\\[--start-color\\:theme\\(colors\\.inkeep-expanded-primary\\.300\\)\\] {\n --start-color: var(--ikp-color-inkeep-expanded-primary-300);\n}\n.\\[counter-increment\\:item\\] {\n counter-increment: item;\n}\n.\\[counter-reset\\:item_calc\\(var\\(--start\\2c 0\\)_-_1\\)\\] {\n counter-reset: item calc(var(--start,0) - 1);\n}\n.\\[font-size\\:85\\%\\!important\\] {\n font-size: 85% !important;\n}\n.\\[font-variant-numeric\\:lining-nums_tabular-nums\\] {\n font-variant-numeric: lining-nums tabular-nums;\n}\n.\\[grid-area\\:breadcrumbs\\] {\n grid-area: breadcrumbs;\n}\n.\\[grid-area\\:description\\] {\n grid-area: description;\n}\n.\\[grid-area\\:icon\\] {\n grid-area: icon;\n}\n.\\[grid-area\\:indicator\\] {\n grid-area: indicator;\n}\n.\\[grid-area\\:tag\\] {\n grid-area: tag;\n}\n.\\[grid-area\\:title\\] {\n grid-area: title;\n}\n.\\[grid-template\\:\\"breadcrumbs_breadcrumbs_breadcrumbs_indicator\\"\\"icon_title_tag_indicator\\"\\"description_description_description_indicator\\"\\/auto_auto_1fr_auto\\] {\n grid-template: "breadcrumbs breadcrumbs breadcrumbs indicator""icon title tag indicator""description description description indicator"/auto auto 1fr auto;\n}\n.\\[inset-inline-start\\:var\\(--start\\2c 0px\\)\\] {\n inset-inline-start: var(--start,0px);\n}\n.\\[overflow-wrap\\:anywhere\\] {\n overflow-wrap: anywhere;\n}\n.\\[scrollbar-color\\:var\\(--scrollbar-color\\)_transparent\\] {\n scrollbar-color: var(--scrollbar-color) transparent;\n}\n.\\[scrollbar-width\\:thin\\] {\n scrollbar-width: thin;\n}\n.\\[transition-duration\\:0\\.02s\\] {\n transition-duration: 0.02s;\n}\n.\\[transition-property\\:common\\] {\n transition-property: common;\n}\n\n:where(.inkeep-widget-vars) {\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n font-family: var(--ikp-font-family-body);\n font-size: var(--ikp-font-size-md);\n line-height: 1.5;\n color: var(--ikp-color-gray-800);\n}\n\n[data-theme=\'dark\'] :where(.inkeep-widget-vars) {\n color: var(--ikp-color-white-alpha-950);\n}\n\n:where(.inkeep-widget-vars) *,\n:where(.inkeep-widget-vars) *::before,\n:where(.inkeep-widget-vars) *::after {\n border-color: var(--ikp-color-gray-200);\n}\n\n[data-theme=\'dark\'] :where(.inkeep-widget-vars) *,\n[data-theme=\'dark\'] :where(.inkeep-widget-vars) *::before,\n[data-theme=\'dark\'] :where(.inkeep-widget-vars) *::after {\n border-color: var(--ikp-color-white-alpha-200);\n}\n\n:where(.inkeep-widget-vars) input::-moz-placeholder, :where(.inkeep-widget-vars) textarea::-moz-placeholder {\n color: var(--ikp-color-gray-500);\n}\n\n:where(.inkeep-widget-vars) input::placeholder,\n:where(.inkeep-widget-vars) textarea::placeholder {\n color: var(--ikp-color-gray-500);\n}\n\n[data-theme=\'dark\'] :where(.inkeep-widget-vars) input::-moz-placeholder, [data-theme=\'dark\'] :where(.inkeep-widget-vars) textarea::-moz-placeholder {\n color: var(--ikp-color-white-alpha-500);\n}\n\n[data-theme=\'dark\'] :where(.inkeep-widget-vars) input::placeholder,\n[data-theme=\'dark\'] :where(.inkeep-widget-vars) textarea::placeholder {\n color: var(--ikp-color-white-alpha-500);\n}\n\n:where(.inkeep-widget-vars) [data-part=\'icon\'][data-type=\'built-in\'] {\n display: inline-block;\n min-height: 1em;\n min-width: 1em;\n flex-shrink: 0;\n vertical-align: middle;\n line-height: 1em;\n}\n\nsvg[data-part=\'icon\'][data-type=\'custom\'] {\n /* we don\'t want the wrapper divs to affect layout / positioning of icon */\n display: contents;\n}\n\nsvg[data-part=\'icon\'][data-type=\'custom\'] div {\n display: contents;\n}\n\nimg[data-part=\'icon\'][data-type=\'custom\'] {\n display: inline-block;\n min-height: 1em;\n min-width: 1em;\n}\n\n.\\*\\:invisible > * {\n visibility: hidden;\n}\n\n.\\*\\:m-0 > * {\n margin: 0px;\n}\n\n.file\\:h-full::file-selector-button {\n height: 100%;\n}\n\n.file\\:cursor-pointer::file-selector-button {\n cursor: pointer;\n}\n\n.file\\:border-none::file-selector-button {\n border-style: none;\n}\n\n.file\\:bg-transparent::file-selector-button {\n background-color: transparent;\n}\n\n.file\\:text-sm::file-selector-button {\n font-size: var(--ikp-font-size-sm);\n}\n\n.file\\:font-medium::file-selector-button {\n font-weight: 500;\n}\n\n.file\\:text-gray-700::file-selector-button {\n color: var(--ikp-color-gray-700);\n}\n\n.placeholder\\:text-gray-500::-moz-placeholder {\n color: var(--ikp-color-gray-500);\n}\n\n.placeholder\\:text-gray-500::placeholder {\n color: var(--ikp-color-gray-500);\n}\n\n.before\\:pointer-events-none::before {\n content: var(--tw-content);\n pointer-events: none;\n}\n\n.before\\:invisible::before {\n content: var(--tw-content);\n visibility: hidden;\n}\n\n.before\\:absolute::before {\n content: var(--tw-content);\n position: absolute;\n}\n\n.before\\:left-0::before {\n content: var(--tw-content);\n left: 0px;\n}\n\n.before\\:top-0::before {\n content: var(--tw-content);\n top: 0px;\n}\n\n.before\\:z-hide::before {\n content: var(--tw-content);\n z-index: var(--ikp-z-index-hide);\n}\n\n.before\\:m-auto::before {\n content: var(--tw-content);\n margin: auto;\n}\n\n.before\\:block::before {\n content: var(--tw-content);\n display: block;\n}\n\n.before\\:h-3::before {\n content: var(--tw-content);\n height: 0.75rem;\n}\n\n.before\\:h-\\[--before-size\\]::before {\n content: var(--tw-content);\n height: var(--before-size);\n}\n\n.before\\:w-\\[--before-size\\]::before {\n content: var(--tw-content);\n width: var(--before-size);\n}\n\n.before\\:w-full::before {\n content: var(--tw-content);\n width: 100%;\n}\n\n.before\\:-translate-y-full::before {\n content: var(--tw-content);\n --tw-translate-y: -100%;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n\n.before\\:bg-gray-300::before {\n content: var(--tw-content);\n background-color: var(--ikp-color-gray-300);\n}\n\n.before\\:bg-gradient-to-b::before {\n content: var(--tw-content);\n background-image: linear-gradient(to bottom, var(--tw-gradient-stops));\n}\n\n.before\\:from-transparent::before {\n content: var(--tw-content);\n --tw-gradient-from: transparent var(--tw-gradient-from-position);\n --tw-gradient-to: rgb(0 0 0 / 0) var(--tw-gradient-to-position);\n --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);\n}\n\n.before\\:to-white::before {\n content: var(--tw-content);\n --tw-gradient-to: #fff var(--tw-gradient-to-position);\n}\n\n.before\\:bg-no-repeat::before {\n content: var(--tw-content);\n background-repeat: no-repeat;\n}\n\n.before\\:\\[background-position\\:0_0\\]::before {\n content: var(--tw-content);\n background-position: 0 0;\n}\n\n.before\\:\\[background-size\\:cover\\]::before {\n content: var(--tw-content);\n background-size: cover;\n}\n\n.after\\:invisible::after {\n content: var(--tw-content);\n visibility: hidden;\n}\n\n.after\\:absolute::after {\n content: var(--tw-content);\n position: absolute;\n}\n\n.after\\:bottom-0::after {\n content: var(--tw-content);\n bottom: 0px;\n}\n\n.after\\:left-\\[1px\\]::after {\n content: var(--tw-content);\n left: 1px;\n}\n\n.after\\:top-\\[1px\\]::after {\n content: var(--tw-content);\n top: 1px;\n}\n\n.after\\:z-base::after {\n content: var(--tw-content);\n z-index: var(--ikp-z-index-base);\n}\n\n.after\\:h-\\[calc\\(100\\%-2px\\)\\]::after {\n content: var(--tw-content);\n height: calc(100% - 2px);\n}\n\n.after\\:w-\\[calc\\(100\\%-2px\\)\\]::after {\n content: var(--tw-content);\n width: calc(100% - 2px);\n}\n\n.after\\:rounded-\\[5px\\]::after {\n content: var(--tw-content);\n border-radius: 5px;\n}\n\n.after\\:bg-white::after {\n content: var(--tw-content);\n --tw-bg-opacity: 1;\n background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));\n}\n\n.after\\:bg-gradient-to-t::after {\n content: var(--tw-content);\n background-image: linear-gradient(to top, var(--tw-gradient-stops));\n}\n\n.first\\:w-full:first-child {\n width: 100%;\n}\n\n.last-of-type\\:hidden:last-of-type {\n display: none;\n}\n\n.focus\\:z-base:focus {\n z-index: var(--ikp-z-index-base);\n}\n\n.focus\\:z-start:focus {\n z-index: var(--ikp-z-index-start);\n}\n\n.focus\\:bg-gray-100:focus {\n background-color: var(--ikp-color-gray-100);\n}\n\n.focus\\:outline-none:focus {\n outline: 2px solid transparent;\n outline-offset: 2px;\n}\n\n.focus\\:outline-inkeep-expanded-primary-700:focus {\n outline-color: var(--ikp-color-inkeep-expanded-primary-700);\n}\n\n.focus\\:\\[--shadow-color\\:theme\\(colors\\.blue\\.500\\)\\]:focus {\n --shadow-color: #3b82f6;\n}\n\n.focus-visible\\:outline-none:focus-visible {\n outline: 2px solid transparent;\n outline-offset: 2px;\n}\n\n.focus-visible\\:ring:focus-visible {\n --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);\n --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color);\n box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);\n}\n\n.focus-visible\\:ring-2:focus-visible {\n --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);\n --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);\n box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);\n}\n\n.focus-visible\\:ring-gray-500:focus-visible {\n --tw-ring-color: var(--ikp-color-gray-500);\n}\n\n.focus-visible\\:ring-offset-2:focus-visible {\n --tw-ring-offset-width: 2px;\n}\n\n.active\\:bg-gray-200:active {\n background-color: var(--ikp-color-gray-200);\n}\n\n.active\\:bg-gray-300:active {\n background-color: var(--ikp-color-gray-300);\n}\n\n.active\\:bg-gray-50:active {\n background-color: var(--ikp-color-gray-50);\n}\n\n.active\\:bg-gray-900:active {\n background-color: var(--ikp-color-gray-900);\n}\n\n.disabled\\:cursor-not-allowed:disabled {\n cursor: not-allowed;\n}\n\n.disabled\\:text-gray-500:disabled {\n color: var(--ikp-color-gray-500);\n}\n\n.disabled\\:opacity-40:disabled {\n opacity: 0.4;\n}\n\n.disabled\\:opacity-50:disabled {\n opacity: 0.5;\n}\n\n.disabled\\:shadow-none:disabled {\n --tw-shadow: 0 0 #0000;\n --tw-shadow-colored: 0 0 #0000;\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n\n.active\\:disabled\\:\\[background\\:none\\]:disabled:active {\n background: none;\n}\n\n.group:hover .group-hover\\:text-gray-600 {\n color: var(--ikp-color-gray-600);\n}\n\n.has-\\[\\[data-dual-pane-search-expanded\\]\\]\\:w-\\[min\\(90vw\\2c 1000px\\)\\]:has([data-dual-pane-search-expanded]) {\n width: min(90vw,1000px);\n}\n\n.has-\\[\\[data-scroll-top\\]\\]\\:before\\:opacity-0:has([data-scroll-top])::before {\n content: var(--tw-content);\n opacity: 0;\n}\n\n.has-\\[\\[data-scroll-bottom\\]\\]\\:after\\:opacity-0:has([data-scroll-bottom])::after {\n content: var(--tw-content);\n opacity: 0;\n}\n\n.data-\\[disabled\\]\\:pointer-events-none[data-disabled] {\n pointer-events: none;\n}\n\n.data-\\[mobile\\]\\:inset-0[data-mobile] {\n inset: 0px;\n}\n\n.data-\\[even\\]\\:ml-0[data-even] {\n margin-left: 0px;\n}\n\n.data-\\[even\\]\\:mr-4[data-even] {\n margin-right: 1rem;\n}\n\n.data-\\[role\\=user\\]\\:ml-0[data-role="user"] {\n margin-left: 0px;\n}\n\n.data-\\[role\\=user\\]\\:block[data-role="user"] {\n display: block;\n}\n\n.data-\\[has-results\\]\\:flex[data-has-results] {\n display: flex;\n}\n\n.data-\\[escalated\\]\\:hidden[data-escalated] {\n display: none;\n}\n\n.data-\\[hidden\\]\\:hidden[data-hidden] {\n display: none;\n}\n\n.data-\\[role\\=user\\]\\:hidden[data-role="user"] {\n display: none;\n}\n\n.data-\\[state\\=closed\\]\\:hidden[data-state="closed"] {\n display: none;\n}\n\n.data-\\[submitted\\]\\:hidden[data-submitted] {\n display: none;\n}\n\n.data-\\[has-content\\]\\:h-\\[min\\(calc\\(85vh_-_72px\\)\\2c calc\\(850px_-_72px_-_275px\\)\\)\\][data-has-content] {\n height: min(calc(85vh - 72px),calc(850px - 72px - 275px));\n}\n\n.data-\\[mobile\\]\\:h-\\[unset\\][data-mobile] {\n height: unset;\n}\n\n.data-\\[composite\\]\\:w-full[data-composite] {\n width: 100%;\n}\n\n.data-\\[mobile\\]\\:w-\\[unset\\][data-mobile] {\n width: unset;\n}\n\n.data-\\[role\\=user\\]\\:grow-0[data-role="user"] {\n flex-grow: 0;\n}\n\n.data-\\[side\\=bottom\\]\\:translate-y-1\\.5[data-side="bottom"] {\n --tw-translate-y: 0.375rem;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n\n.data-\\[side\\=left\\]\\:-translate-x-1\\.5[data-side="left"] {\n --tw-translate-x: -0.375rem;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n\n.data-\\[side\\=right\\]\\:translate-x-1\\.5[data-side="right"] {\n --tw-translate-x: 0.375rem;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n\n.data-\\[side\\=top\\]\\:-translate-y-1\\.5[data-side="top"] {\n --tw-translate-y: -0.375rem;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n\n.data-\\[mobile\\]\\:transform-none[data-mobile] {\n transform: none;\n}\n\n@keyframes fade-out {\n\n 0% {\n opacity: 1;\n }\n\n 100% {\n opacity: 0;\n }\n}\n\n.data-\\[state\\=closed\\]\\:animate-fade-out[data-state="closed"] {\n animation: fade-out 0.2s ease-out;\n}\n\n@keyframes fade-in {\n\n 0% {\n opacity: 0;\n }\n\n 100% {\n opacity: 1;\n }\n}\n\n.data-\\[state\\=open\\]\\:animate-fade-in[data-state="open"] {\n animation: fade-in 0.25s ease-out;\n}\n\n.data-\\[loading\\]\\:cursor-wait[data-loading] {\n cursor: wait;\n}\n\n.data-\\[even\\]\\:flex-row[data-even] {\n flex-direction: row;\n}\n\n.data-\\[input-type\\=checkbox\\]\\:flex-row[data-input-type="checkbox"] {\n flex-direction: row;\n}\n\n.data-\\[even\\]\\:items-start[data-even] {\n align-items: flex-start;\n}\n\n.data-\\[input-type\\=checkbox\\]\\:items-center[data-input-type="checkbox"] {\n align-items: center;\n}\n\n.data-\\[role\\=user\\]\\:justify-end[data-role="user"] {\n justify-content: flex-end;\n}\n\n.data-\\[role\\=user\\]\\:whitespace-pre-wrap[data-role="user"] {\n white-space: pre-wrap;\n}\n\n.data-\\[mobile\\]\\:rounded-none[data-mobile] {\n border-radius: 0px;\n}\n\n.data-\\[invalid\\]\\:border-\\[--error-border-color\\][data-invalid] {\n border-color: var(--error-border-color);\n}\n\n.data-\\[state\\=active\\]\\:border-inkeep-primary-medium-subtle[data-state="active"] {\n border-color: var(--ikp-color-inkeep-primary-medium-subtle);\n}\n\n.data-\\[state\\=checked\\]\\:border-gray-1000[data-state="checked"] {\n border-color: var(--ikp-color-gray-1000);\n}\n\n.data-\\[active\\]\\:bg-white[data-active] {\n --tw-bg-opacity: 1;\n background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));\n}\n\n.data-\\[role\\=user\\]\\:bg-gray-50[data-role="user"] {\n background-color: var(--ikp-color-gray-50);\n}\n\n.data-\\[state\\=active\\]\\:bg-inkeep-primary-light-subtle[data-state="active"] {\n background-color: var(--ikp-color-inkeep-primary-light-subtle);\n}\n\n.data-\\[state\\=checked\\]\\:bg-gray-1000[data-state="checked"] {\n background-color: var(--ikp-color-gray-1000);\n}\n\n.data-\\[username\\]\\:bg-inkeep-primary-lighter[data-username] {\n background-color: var(--ikp-color-inkeep-primary-lighter);\n}\n\n.data-\\[has-content\\]\\:pb-2[data-has-content] {\n padding-bottom: 0.5rem;\n}\n\n.data-\\[is-numeric\\=true\\]\\:text-end[data-is-numeric="true"] {\n text-align: end;\n}\n\n.data-\\[highlighted\\]\\:font-semibold[data-highlighted] {\n font-weight: 600;\n}\n\n.data-\\[active\\]\\:text-gray-600[data-active] {\n color: var(--ikp-color-gray-600);\n}\n\n.data-\\[active\\]\\:text-gray-800[data-active] {\n color: var(--ikp-color-gray-800);\n}\n\n.data-\\[copied\\]\\:text-inkeep-primary-medium[data-copied] {\n color: var(--ikp-color-inkeep-primary-medium);\n}\n\n.data-\\[downvoted\\]\\:text-inkeep-primary-medium[data-downvoted] {\n color: var(--ikp-color-inkeep-primary-medium);\n}\n\n.data-\\[highlighted\\]\\:text-inkeep-primary-text-subtle[data-highlighted] {\n color: var(--ikp-color-inkeep-primary-text-subtle);\n}\n\n.data-\\[is-match\\]\\:text-inkeep-expanded-primary-700[data-is-match] {\n color: var(--ikp-color-inkeep-expanded-primary-700);\n}\n\n.data-\\[role\\=user\\]\\:text-gray-700[data-role="user"] {\n color: var(--ikp-color-gray-700);\n}\n\n.data-\\[state\\=active\\]\\:text-inkeep-expanded-primary-900[data-state="active"] {\n color: var(--ikp-color-inkeep-expanded-primary-900);\n}\n\n.data-\\[state\\=checked\\]\\:text-white[data-state="checked"] {\n --tw-text-opacity: 1;\n color: rgb(255 255 255 / var(--tw-text-opacity, 1));\n}\n\n.data-\\[type\\=\\"stackoverflow\\"\\]\\:text-green-500[data-type="stackoverflow"] {\n --tw-text-opacity: 1;\n color: rgb(34 197 94 / var(--tw-text-opacity, 1));\n}\n\n.data-\\[type\\=icon\\]\\:data-\\[role\\=user\\]\\:text-inkeep-primary-medium[data-role="user"][data-type="icon"] {\n color: var(--ikp-color-inkeep-primary-medium);\n}\n\n.data-\\[type\\^\\=\\"github\\"\\]\\:text-purple-500[data-type^="github"] {\n --tw-text-opacity: 1;\n color: rgb(168 85 247 / var(--tw-text-opacity, 1));\n}\n\n.data-\\[upvoted\\]\\:text-inkeep-primary-medium[data-upvoted] {\n color: var(--ikp-color-inkeep-primary-medium);\n}\n\n.data-\\[disabled\\]\\:opacity-50[data-disabled] {\n opacity: 0.5;\n}\n\n.data-\\[active\\]\\:shadow[data-active] {\n --tw-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);\n --tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n\n.data-\\[invalid\\]\\:shadow-\\[0_0_0_1px_var\\(--error-border-color\\)\\][data-invalid] {\n --tw-shadow: 0 0 0 1px var(--error-border-color);\n --tw-shadow-colored: 0 0 0 1px var(--tw-shadow-color);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n\n.data-\\[disable-transitions\\]\\:transition-none[data-disable-transitions] {\n transition-property: none;\n}\n\n.data-\\[type\\=icon\\]\\:\\[--end-color\\:theme\\(colors\\.inkeep-expanded-primary\\.300\\)\\][data-type="icon"] {\n --end-color: var(--ikp-color-inkeep-expanded-primary-300);\n}\n\n.data-\\[type\\=icon\\]\\:data-\\[role\\=assistant\\]\\:\\[--end-color\\:theme\\(colors\\.inkeep-expanded-primary\\.700\\)\\][data-role="assistant"][data-type="icon"] {\n --end-color: var(--ikp-color-inkeep-expanded-primary-700);\n}\n\n.data-\\[mobile\\]\\:\\[--input-height\\:theme\\(spacing\\.16\\)\\][data-mobile] {\n --input-height: 4rem;\n}\n\n.data-\\[invalid\\]\\:\\[--shadow-color\\:theme\\(colors\\.red\\.500\\)\\][data-invalid] {\n --shadow-color: #ef4444;\n}\n\n.data-\\[type\\=icon\\]\\:data-\\[role\\=assistant\\]\\:\\[--start-color\\:theme\\(colors\\.inkeep-expanded-primary\\.300\\)\\][data-role="assistant"][data-type="icon"] {\n --start-color: var(--ikp-color-inkeep-expanded-primary-300);\n}\n\n.data-\\[type\\=icon\\]\\:\\[--start-color\\:theme\\(colors\\.inkeep-expanded-primary\\.50\\)\\][data-type="icon"] {\n --start-color: var(--ikp-color-inkeep-expanded-primary-50);\n}\n\n.data-\\[required\\]\\:after\\:absolute[data-required]::after {\n content: var(--tw-content);\n position: absolute;\n}\n\n.data-\\[show-toolbar\\]\\:after\\:absolute[data-show-toolbar]::after {\n content: var(--tw-content);\n position: absolute;\n}\n\n.data-\\[show-toolbar\\]\\:after\\:left-0[data-show-toolbar]::after {\n content: var(--tw-content);\n left: 0px;\n}\n\n.data-\\[show-toolbar\\]\\:after\\:top-full[data-show-toolbar]::after {\n content: var(--tw-content);\n top: 100%;\n}\n\n.data-\\[show-toolbar\\]\\:after\\:z-start[data-show-toolbar]::after {\n content: var(--tw-content);\n z-index: var(--ikp-z-index-start);\n}\n\n.data-\\[required\\]\\:after\\:ml-1[data-required]::after {\n content: var(--tw-content);\n margin-left: 0.25rem;\n}\n\n.data-\\[required\\]\\:after\\:mt-0[data-required]::after {\n content: var(--tw-content);\n margin-top: 0px;\n}\n\n.data-\\[show-toolbar\\]\\:after\\:h-\\[1rem\\][data-show-toolbar]::after {\n content: var(--tw-content);\n height: 1rem;\n}\n\n.data-\\[show-toolbar\\]\\:after\\:w-full[data-show-toolbar]::after {\n content: var(--tw-content);\n width: 100%;\n}\n\n.data-\\[show-toolbar\\]\\:after\\:bg-\\[linear-gradient\\(currentColor\\2c _transparent\\)\\][data-show-toolbar]::after {\n content: var(--tw-content);\n background-image: linear-gradient(currentColor, transparent);\n}\n\n.data-\\[required\\]\\:after\\:text-red-500[data-required]::after {\n content: var(--tw-content);\n --tw-text-opacity: 1;\n color: rgb(239 68 68 / var(--tw-text-opacity, 1));\n}\n\n.data-\\[show-toolbar\\]\\:after\\:text-white[data-show-toolbar]::after {\n content: var(--tw-content);\n --tw-text-opacity: 1;\n color: rgb(255 255 255 / var(--tw-text-opacity, 1));\n}\n\n.data-\\[required\\]\\:after\\:\\[content\\:\\"\\*\\"\\][data-required]::after {\n content: "*";\n}\n\n@keyframes spin {\n\n to {\n content: var(--tw-content);\n transform: rotate(360deg);\n }\n}\n\n.data-\\[highlight\\]\\:first\\:before\\:animate-\\[spin_4s_linear_infinite\\]:first-child[data-highlight]::before {\n content: var(--tw-content);\n animation: spin 4s linear infinite;\n}\n\n.data-\\[highlight\\]\\:first\\:before\\:\\[background-image\\:conic-gradient\\(transparent\\2c theme\\(colors\\.inkeep-expanded-primary\\.600\\)\\2c transparent_30\\%\\)\\]:first-child[data-highlight]::before {\n content: var(--tw-content);\n background-image: conic-gradient(transparent,var(--ikp-color-inkeep-expanded-primary-600),transparent 30%);\n}\n\n:not(.dark) .light\\:text-gray-700 {\n color: var(--ikp-color-gray-700);\n}\n\n[data-widget-md] .ikp-md\\:mb-0 {\n margin-bottom: 0px;\n}\n\n[data-widget-md] .ikp-md\\:flex {\n display: flex;\n}\n\n[data-widget-md] .ikp-md\\:hidden {\n display: none;\n}\n\n[data-widget-md] .ikp-md\\:h-12 {\n height: 3rem;\n}\n\n[data-widget-md] .ikp-md\\:flex-row {\n flex-direction: row;\n}\n\n[data-widget-md] .ikp-md\\:flex-col {\n flex-direction: column;\n}\n\n[data-widget-md] .ikp-md\\:items-start {\n align-items: flex-start;\n}\n\n[data-widget-md] .ikp-md\\:px-14 {\n padding-left: 3.5rem;\n padding-right: 3.5rem;\n}\n\n[data-widget-md] .ikp-md\\:px-4 {\n padding-left: 1rem;\n padding-right: 1rem;\n}\n\n[data-widget-md] .ikp-md\\:px-8 {\n padding-left: 2rem;\n padding-right: 2rem;\n}\n\n[data-widget-md] .ikp-md\\:py-14 {\n padding-top: 3.5rem;\n padding-bottom: 3.5rem;\n}\n\n[data-widget-md] .ikp-md\\:pb-14 {\n padding-bottom: 3.5rem;\n}\n\n[data-widget-md] .ikp-md\\:pl-3 {\n padding-left: 0.75rem;\n}\n\n[data-widget-md] .ikp-md\\:pr-3 {\n padding-right: 0.75rem;\n}\n\n[data-widget-md] .ikp-md\\:pr-6 {\n padding-right: 1.5rem;\n}\n\n.hover\\:scale-110:hover:not(:disabled) {\n --tw-scale-x: 1.1;\n --tw-scale-y: 1.1;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n\n.hover\\:border-gray-300:hover:not(:disabled) {\n border-color: var(--ikp-color-gray-300);\n}\n\n.hover\\:bg-gray-100:hover:not(:disabled) {\n background-color: var(--ikp-color-gray-100);\n}\n\n.hover\\:bg-gray-200:hover:not(:disabled) {\n background-color: var(--ikp-color-gray-200);\n}\n\n.hover\\:bg-gray-50:hover:not(:disabled) {\n background-color: var(--ikp-color-gray-50);\n}\n\n.hover\\:bg-gray-900:hover:not(:disabled) {\n background-color: var(--ikp-color-gray-900);\n}\n\n.hover\\:bg-inkeep-primary-light-subtle:hover:not(:disabled) {\n background-color: var(--ikp-color-inkeep-primary-light-subtle);\n}\n\n.hover\\:bg-transparent:hover:not(:disabled) {\n background-color: transparent;\n}\n\n.hover\\:text-gray-700:hover:not(:disabled) {\n color: var(--ikp-color-gray-700);\n}\n\n.hover\\:text-gray-800:hover:not(:disabled) {\n color: var(--ikp-color-gray-800);\n}\n\n.hover\\:text-inkeep-primary-strong:hover:not(:disabled) {\n color: var(--ikp-color-inkeep-primary-strong);\n}\n\n.hover\\:text-inkeep-primary-stronger:hover:not(:disabled) {\n color: var(--ikp-color-inkeep-primary-stronger);\n}\n\n.hover\\:underline:hover:not(:disabled) {\n text-decoration-line: underline;\n}\n\n.hover\\:disabled\\:bg-gray-100:disabled:hover:not(:disabled) {\n background-color: var(--ikp-color-gray-100);\n}\n\n.hover\\:disabled\\:\\[background\\:none\\]:disabled:hover:not(:disabled) {\n background: none;\n}\n\n.hover\\:data-\\[state\\=active\\]\\:bg-inkeep-primary-light-subtle[data-state="active"]:hover:not(:disabled) {\n background-color: var(--ikp-color-inkeep-primary-light-subtle);\n}\n\n.data-\\[is-match\\]\\:hover\\:text-inkeep-expanded-primary-800:hover:not(:disabled)[data-is-match] {\n color: var(--ikp-color-inkeep-expanded-primary-800);\n}\n\n.befter\\:pointer-events-none::before {\n pointer-events: none;\n}\n\n.befter\\:absolute::before {\n position: absolute;\n}\n\n.befter\\:inset-x-0::before {\n left: 0px;\n right: 0px;\n}\n\n.befter\\:h-10::before {\n height: 2.5rem;\n}\n\n.befter\\:from-white::before {\n --tw-gradient-from: #fff var(--tw-gradient-from-position);\n --tw-gradient-to: rgb(255 255 255 / 0) var(--tw-gradient-to-position);\n --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);\n}\n\n.befter\\:to-transparent::before {\n --tw-gradient-to: transparent var(--tw-gradient-to-position);\n}\n\n.befter\\:transition-opacity::before {\n transition-property: opacity;\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n transition-duration: 150ms;\n}\n\n.befter\\:duration-300::before {\n transition-duration: 300ms;\n}\n\n.befter\\:ease-in-out::before {\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n}\n\n.befter\\:content-\\[\\"\\"\\]::before {\n --tw-content: "";\n content: var(--tw-content);\n}\n\n.befter\\:pointer-events-none::after {\n pointer-events: none;\n}\n\n.befter\\:absolute::after {\n position: absolute;\n}\n\n.befter\\:inset-x-0::after {\n left: 0px;\n right: 0px;\n}\n\n.befter\\:h-10::after {\n height: 2.5rem;\n}\n\n.befter\\:from-white::after {\n --tw-gradient-from: #fff var(--tw-gradient-from-position);\n --tw-gradient-to: rgb(255 255 255 / 0) var(--tw-gradient-to-position);\n --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);\n}\n\n.befter\\:to-transparent::after {\n --tw-gradient-to: transparent var(--tw-gradient-to-position);\n}\n\n.befter\\:transition-opacity::after {\n transition-property: opacity;\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n transition-duration: 150ms;\n}\n\n.befter\\:duration-300::after {\n transition-duration: 300ms;\n}\n\n.befter\\:ease-in-out::after {\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n}\n\n.befter\\:content-\\[\\"\\"\\]::after {\n --tw-content: "";\n content: var(--tw-content);\n}\n\n.selected\\:border-inkeep-primary-medium-subtle[data-selected="true"] {\n border-color: var(--ikp-color-inkeep-primary-medium-subtle);\n}\n\n.selected\\:bg-inkeep-primary-light-subtle[data-selected="true"] {\n background-color: var(--ikp-color-inkeep-primary-light-subtle);\n}\n\n.selected\\:text-inkeep-primary-strong[data-selected="true"] {\n color: var(--ikp-color-inkeep-primary-strong);\n}\n\n.selected\\:border-inkeep-primary-medium-subtle:hover {\n border-color: var(--ikp-color-inkeep-primary-medium-subtle);\n}\n\n.selected\\:bg-inkeep-primary-light-subtle:hover {\n background-color: var(--ikp-color-inkeep-primary-light-subtle);\n}\n\n.selected\\:text-inkeep-primary-strong:hover {\n color: var(--ikp-color-inkeep-primary-strong);\n}\n\n.group[data-selected="true"] .group-selected\\:text-inkeep-primary-text-bold {\n color: var(--ikp-color-inkeep-primary-text-bold);\n}\n\n.group[data-selected="true"] .group-selected\\:text-inkeep-primary-text-subtle {\n color: var(--ikp-color-inkeep-primary-text-subtle);\n}\n\n.group[data-selected="true"] .group-selected\\:opacity-100 {\n opacity: 1;\n}\n\n.group:hover .group-selected\\:text-inkeep-primary-text-bold {\n color: var(--ikp-color-inkeep-primary-text-bold);\n}\n\n.group:hover .group-selected\\:text-inkeep-primary-text-subtle {\n color: var(--ikp-color-inkeep-primary-text-subtle);\n}\n\n.group:hover .group-selected\\:opacity-100 {\n opacity: 1;\n}\n\n.dark\\:border-gray-700:is([data-theme="dark"] *) {\n border-color: var(--ikp-color-gray-700);\n}\n\n.dark\\:border-gray-dark-500:is([data-theme="dark"] *) {\n border-color: var(--ikp-color-gray-dark-500);\n}\n\n.dark\\:border-gray-dark-700:is([data-theme="dark"] *) {\n border-color: var(--ikp-color-gray-dark-700);\n}\n\n.dark\\:border-inkeep-expanded-primary-200:is([data-theme="dark"] *) {\n border-color: var(--ikp-color-inkeep-expanded-primary-200);\n}\n\n.dark\\:border-transparent:is([data-theme="dark"] *) {\n border-color: transparent;\n}\n\n.dark\\:border-white-alpha-200:is([data-theme="dark"] *) {\n border-color: var(--ikp-color-white-alpha-200);\n}\n\n.dark\\:bg-gray-dark-600:is([data-theme="dark"] *) {\n background-color: var(--ikp-color-gray-dark-600);\n}\n\n.dark\\:bg-gray-dark-700:is([data-theme="dark"] *) {\n background-color: var(--ikp-color-gray-dark-700);\n}\n\n.dark\\:bg-gray-dark-800:is([data-theme="dark"] *) {\n background-color: var(--ikp-color-gray-dark-800);\n}\n\n.dark\\:bg-gray-dark-900:is([data-theme="dark"] *) {\n background-color: var(--ikp-color-gray-dark-900);\n}\n\n.dark\\:bg-gray-dark-950:is([data-theme="dark"] *) {\n background-color: var(--ikp-color-gray-dark-950);\n}\n\n.dark\\:bg-inkeep-expanded-primary-300:is([data-theme="dark"] *) {\n background-color: var(--ikp-color-inkeep-expanded-primary-300);\n}\n\n.dark\\:bg-overlay-dark:is([data-theme="dark"] *) {\n background-color: var(--ikp-color-overlay-dark);\n}\n\n.dark\\:bg-transparent:is([data-theme="dark"] *) {\n background-color: transparent;\n}\n\n.dark\\:bg-white-alpha-100:is([data-theme="dark"] *) {\n background-color: var(--ikp-color-white-alpha-100);\n}\n\n.dark\\:bg-white-alpha-200:is([data-theme="dark"] *) {\n background-color: var(--ikp-color-white-alpha-200);\n}\n\n.dark\\:bg-white-alpha-50:is([data-theme="dark"] *) {\n background-color: var(--ikp-color-white-alpha-50);\n}\n\n.dark\\:from-gray-dark-300:is([data-theme="dark"] *) {\n --tw-gradient-from: var(--ikp-color-gray-dark-300) var(--tw-gradient-from-position);\n --tw-gradient-to: rgb(255 255 255 / 0) var(--tw-gradient-to-position);\n --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);\n}\n\n.dark\\:from-gray-dark-600:is([data-theme="dark"] *) {\n --tw-gradient-from: var(--ikp-color-gray-dark-600) var(--tw-gradient-from-position);\n --tw-gradient-to: rgb(255 255 255 / 0) var(--tw-gradient-to-position);\n --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);\n}\n\n.dark\\:to-gray-dark-100:is([data-theme="dark"] *) {\n --tw-gradient-to: var(--ikp-color-gray-dark-100) var(--tw-gradient-to-position);\n}\n\n.dark\\:fill-gray-dark-800:is([data-theme="dark"] *) {\n fill: var(--ikp-color-gray-dark-800);\n}\n\n.dark\\:text-gray-200:is([data-theme="dark"] *) {\n color: var(--ikp-color-gray-200);\n}\n\n.dark\\:text-gray-400:is([data-theme="dark"] *) {\n color: var(--ikp-color-gray-400);\n}\n\n.dark\\:text-gray-dark-100:is([data-theme="dark"] *) {\n color: var(--ikp-color-gray-dark-100);\n}\n\n.dark\\:text-gray-dark-200:is([data-theme="dark"] *) {\n color: var(--ikp-color-gray-dark-200);\n}\n\n.dark\\:text-gray-dark-300:is([data-theme="dark"] *) {\n color: var(--ikp-color-gray-dark-300);\n}\n\n.dark\\:text-gray-dark-400:is([data-theme="dark"] *) {\n color: var(--ikp-color-gray-dark-400);\n}\n\n.dark\\:text-gray-dark-950:is([data-theme="dark"] *) {\n color: var(--ikp-color-gray-dark-950);\n}\n\n.dark\\:text-inkeep-expanded-primary-100:is([data-theme="dark"] *) {\n color: var(--ikp-color-inkeep-expanded-primary-100);\n}\n\n.dark\\:text-inkeep-expanded-primary-300:is([data-theme="dark"] *) {\n color: var(--ikp-color-inkeep-expanded-primary-300);\n}\n\n.dark\\:text-inkeep-expanded-primary-500:is([data-theme="dark"] *) {\n color: var(--ikp-color-inkeep-expanded-primary-500);\n}\n\n.dark\\:text-red-300:is([data-theme="dark"] *) {\n --tw-text-opacity: 1;\n color: rgb(252 165 165 / var(--tw-text-opacity, 1));\n}\n\n.dark\\:text-white-alpha-500:is([data-theme="dark"] *) {\n color: var(--ikp-color-white-alpha-500);\n}\n\n.dark\\:text-white-alpha-600:is([data-theme="dark"] *) {\n color: var(--ikp-color-white-alpha-600);\n}\n\n.dark\\:text-white-alpha-700:is([data-theme="dark"] *) {\n color: var(--ikp-color-white-alpha-700);\n}\n\n.dark\\:text-white-alpha-900:is([data-theme="dark"] *) {\n color: var(--ikp-color-white-alpha-900);\n}\n\n.dark\\:text-white-alpha-950:is([data-theme="dark"] *) {\n color: var(--ikp-color-white-alpha-950);\n}\n\n.dark\\:shadow-none:is([data-theme="dark"] *) {\n --tw-shadow: 0 0 #0000;\n --tw-shadow-colored: 0 0 #0000;\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n\n.dark\\:shadow-\\[none\\]:is([data-theme="dark"] *) {\n --tw-shadow-color: none;\n --tw-shadow: var(--tw-shadow-colored);\n}\n\n.dark\\:\\[--end-color\\:theme\\(colors\\.gray-dark\\.600\\)\\]:is([data-theme="dark"] *) {\n --end-color: var(--ikp-color-gray-dark-600);\n}\n\n.dark\\:\\[--end-color\\:theme\\(colors\\.inkeep-expanded-primary\\.300\\)\\]:is([data-theme="dark"] *) {\n --end-color: var(--ikp-color-inkeep-expanded-primary-300);\n}\n\n.dark\\:\\[--end-color\\:theme\\(colors\\.white-alpha\\.300\\)\\]:is([data-theme="dark"] *) {\n --end-color: var(--ikp-color-white-alpha-300);\n}\n\n.dark\\:\\[--error-border-color\\:theme\\(colors\\.red\\.300\\)\\]:is([data-theme="dark"] *) {\n --error-border-color: #fca5a5;\n}\n\n.dark\\:\\[--focus-border-color\\:theme\\(colors\\.blue\\.300\\)\\]:is([data-theme="dark"] *) {\n --focus-border-color: #93c5fd;\n}\n\n.dark\\:\\[--scrollbar-color\\:var\\(--color-gray-dark-600\\)\\]:is([data-theme="dark"] *) {\n --scrollbar-color: var(--color-gray-dark-600);\n}\n\n.dark\\:\\[--start-color\\:theme\\(colors\\.gray-dark\\.800\\)\\]:is([data-theme="dark"] *) {\n --start-color: var(--ikp-color-gray-dark-800);\n}\n\n.dark\\:\\[--start-color\\:theme\\(colors\\.gray\\.300\\)\\]:is([data-theme="dark"] *) {\n --start-color: var(--ikp-color-gray-300);\n}\n\n.dark\\:\\[--start-color\\:theme\\(colors\\.inkeep-expanded-primary\\.50\\)\\]:is([data-theme="dark"] *) {\n --start-color: var(--ikp-color-inkeep-expanded-primary-50);\n}\n\n.dark\\:file\\:text-white-alpha-700:is([data-theme="dark"] *)::file-selector-button {\n color: var(--ikp-color-white-alpha-700);\n}\n\n.dark\\:placeholder\\:text-gray-dark-200:is([data-theme="dark"] *)::-moz-placeholder {\n color: var(--ikp-color-gray-dark-200);\n}\n\n.dark\\:placeholder\\:text-gray-dark-200:is([data-theme="dark"] *)::placeholder {\n color: var(--ikp-color-gray-dark-200);\n}\n\n.dark\\:before\\:bg-gray-dark-950:is([data-theme="dark"] *)::before {\n content: var(--tw-content);\n background-color: var(--ikp-color-gray-dark-950);\n}\n\n.dark\\:before\\:to-gray-dark-950:is([data-theme="dark"] *)::before {\n content: var(--tw-content);\n --tw-gradient-to: var(--ikp-color-gray-dark-950) var(--tw-gradient-to-position);\n}\n\n.dark\\:after\\:bg-gray-dark-950:is([data-theme="dark"] *)::after {\n content: var(--tw-content);\n background-color: var(--ikp-color-gray-dark-950);\n}\n\n.dark\\:focus\\:bg-gray-dark-800:focus:is([data-theme="dark"] *) {\n background-color: var(--ikp-color-gray-dark-800);\n}\n\n.dark\\:focus\\:outline-inkeep-expanded-primary-300:focus:is([data-theme="dark"] *) {\n outline-color: var(--ikp-color-inkeep-expanded-primary-300);\n}\n\n.dark\\:focus-visible\\:ring-white-alpha-900:focus-visible:is([data-theme="dark"] *) {\n --tw-ring-color: var(--ikp-color-white-alpha-900);\n}\n\n.dark\\:focus-visible\\:ring-offset-gray-950:focus-visible:is([data-theme="dark"] *) {\n --tw-ring-offset-color: var(--ikp-color-gray-950);\n}\n\n.dark\\:active\\:bg-inkeep-expanded-primary-200:active:is([data-theme="dark"] *) {\n background-color: var(--ikp-color-inkeep-expanded-primary-200);\n}\n\n.dark\\:active\\:bg-white-alpha-100:active:is([data-theme="dark"] *) {\n background-color: var(--ikp-color-white-alpha-100);\n}\n\n.dark\\:active\\:bg-white-alpha-200:active:is([data-theme="dark"] *) {\n background-color: var(--ikp-color-white-alpha-200);\n}\n\n.dark\\:active\\:bg-white-alpha-400:active:is([data-theme="dark"] *) {\n background-color: var(--ikp-color-white-alpha-400);\n}\n\n.dark\\:disabled\\:text-white-alpha-200:disabled:is([data-theme="dark"] *) {\n color: var(--ikp-color-white-alpha-200);\n}\n\n.group:hover .dark\\:group-hover\\:text-white-alpha-600:is([data-theme="dark"] *) {\n color: var(--ikp-color-white-alpha-600);\n}\n\n.dark\\:data-\\[state\\=active\\]\\:border-inkeep-expanded-primary-300[data-state="active"]:is([data-theme="dark"] *) {\n border-color: var(--ikp-color-inkeep-expanded-primary-300);\n}\n\n.dark\\:data-\\[state\\=checked\\]\\:border-white-alpha-950[data-state="checked"]:is([data-theme="dark"] *) {\n border-color: var(--ikp-color-white-alpha-950);\n}\n\n.dark\\:data-\\[active\\]\\:bg-gray-dark-700[data-active]:is([data-theme="dark"] *) {\n background-color: var(--ikp-color-gray-dark-700);\n}\n\n.dark\\:data-\\[state\\=active\\]\\:bg-white-alpha-100[data-state="active"]:is([data-theme="dark"] *) {\n background-color: var(--ikp-color-white-alpha-100);\n}\n\n.dark\\:data-\\[state\\=checked\\]\\:bg-white-alpha-950[data-state="checked"]:is([data-theme="dark"] *) {\n background-color: var(--ikp-color-white-alpha-950);\n}\n\n.dark\\:data-\\[username\\]\\:bg-inkeep-expanded-primary-300[data-username]:is([data-theme="dark"] *) {\n background-color: var(--ikp-color-inkeep-expanded-primary-300);\n}\n\n.dark\\:data-\\[active\\]\\:text-white-alpha-600[data-active]:is([data-theme="dark"] *) {\n color: var(--ikp-color-white-alpha-600);\n}\n\n.dark\\:data-\\[active\\]\\:text-white-alpha-950[data-active]:is([data-theme="dark"] *) {\n color: var(--ikp-color-white-alpha-950);\n}\n\n.dark\\:data-\\[highlighted\\]\\:text-gray-dark-50[data-highlighted]:is([data-theme="dark"] *) {\n color: var(--ikp-color-gray-dark-50);\n}\n\n.dark\\:data-\\[is-match\\]\\:text-inkeep-expanded-primary-300[data-is-match]:is([data-theme="dark"] *) {\n color: var(--ikp-color-inkeep-expanded-primary-300);\n}\n\n.dark\\:data-\\[role\\=user\\]\\:text-white-alpha-700[data-role="user"]:is([data-theme="dark"] *) {\n color: var(--ikp-color-white-alpha-700);\n}\n\n.dark\\:data-\\[state\\=active\\]\\:text-inkeep-expanded-primary-300[data-state="active"]:is([data-theme="dark"] *) {\n color: var(--ikp-color-inkeep-expanded-primary-300);\n}\n\n.dark\\:data-\\[state\\=checked\\]\\:text-gray-1000[data-state="checked"]:is([data-theme="dark"] *) {\n color: var(--ikp-color-gray-1000);\n}\n\n.dark\\:data-\\[type\\=icon\\]\\:data-\\[role\\=user\\]\\:text-inkeep-expanded-primary-300[data-role="user"][data-type="icon"]:is([data-theme="dark"] *) {\n color: var(--ikp-color-inkeep-expanded-primary-300);\n}\n\n.data-\\[downvoted\\]\\:dark\\:text-inkeep-expanded-primary-300:is([data-theme="dark"] *)[data-downvoted] {\n color: var(--ikp-color-inkeep-expanded-primary-300);\n}\n\n.data-\\[upvoted\\]\\:dark\\:text-inkeep-expanded-primary-300:is([data-theme="dark"] *)[data-upvoted] {\n color: var(--ikp-color-inkeep-expanded-primary-300);\n}\n\n.dark\\:data-\\[type\\=icon\\]\\:data-\\[role\\=assistant\\]\\:\\[--end-color\\:theme\\(colors\\.inkeep-expanded-primary\\.300\\)\\][data-role="assistant"][data-type="icon"]:is([data-theme="dark"] *) {\n --end-color: var(--ikp-color-inkeep-expanded-primary-300);\n}\n\n.dark\\:data-\\[type\\=icon\\]\\:data-\\[role\\=assistant\\]\\:\\[--start-color\\:theme\\(colors\\.inkeep-expanded-primary\\.50\\)\\][data-role="assistant"][data-type="icon"]:is([data-theme="dark"] *) {\n --start-color: var(--ikp-color-inkeep-expanded-primary-50);\n}\n\n.dark\\:data-\\[required\\]\\:after\\:text-red-300[data-required]:is([data-theme="dark"] *)::after {\n content: var(--tw-content);\n --tw-text-opacity: 1;\n color: rgb(252 165 165 / var(--tw-text-opacity, 1));\n}\n\n.data-\\[show-toolbar\\]\\:after\\:dark\\:text-gray-dark-950:is([data-theme="dark"] *)[data-show-toolbar]::after {\n content: var(--tw-content);\n color: var(--ikp-color-gray-dark-950);\n}\n\n.dark\\:data-\\[highlight\\]\\:first\\:before\\:\\[background-image\\:conic-gradient\\(transparent\\2c theme\\(colors\\.inkeep-expanded-primary\\.300\\)\\2c transparent_30\\%\\)\\]:first-child[data-highlight]:is([data-theme="dark"] *)::before {\n content: var(--tw-content);\n background-image: conic-gradient(transparent,var(--ikp-color-inkeep-expanded-primary-300),transparent 30%);\n}\n\n.dark\\:hover\\:border-white-alpha-300:hover:not(:disabled):is([data-theme="dark"] *) {\n border-color: var(--ikp-color-white-alpha-300);\n}\n\n.dark\\:hover\\:bg-gray-dark-800:hover:not(:disabled):is([data-theme="dark"] *) {\n background-color: var(--ikp-color-gray-dark-800);\n}\n\n.dark\\:hover\\:bg-inkeep-expanded-primary-200:hover:not(:disabled):is([data-theme="dark"] *) {\n background-color: var(--ikp-color-inkeep-expanded-primary-200);\n}\n\n.dark\\:hover\\:bg-transparent:hover:not(:disabled):is([data-theme="dark"] *) {\n background-color: transparent;\n}\n\n.dark\\:hover\\:bg-white-alpha-100:hover:not(:disabled):is([data-theme="dark"] *) {\n background-color: var(--ikp-color-white-alpha-100);\n}\n\n.dark\\:hover\\:bg-white-alpha-200:hover:not(:disabled):is([data-theme="dark"] *) {\n background-color: var(--ikp-color-white-alpha-200);\n}\n\n.dark\\:hover\\:bg-white-alpha-50:hover:not(:disabled):is([data-theme="dark"] *) {\n background-color: var(--ikp-color-white-alpha-50);\n}\n\n.dark\\:hover\\:text-inkeep-expanded-primary-100:hover:not(:disabled):is([data-theme="dark"] *) {\n color: var(--ikp-color-inkeep-expanded-primary-100);\n}\n\n.dark\\:hover\\:text-inkeep-expanded-primary-300:hover:not(:disabled):is([data-theme="dark"] *) {\n color: var(--ikp-color-inkeep-expanded-primary-300);\n}\n\n.dark\\:hover\\:text-white-alpha-500:hover:not(:disabled):is([data-theme="dark"] *) {\n color: var(--ikp-color-white-alpha-500);\n}\n\n.dark\\:hover\\:text-white-alpha-800:hover:not(:disabled):is([data-theme="dark"] *) {\n color: var(--ikp-color-white-alpha-800);\n}\n\n.dark\\:hover\\:text-white-alpha-950:hover:not(:disabled):is([data-theme="dark"] *) {\n color: var(--ikp-color-white-alpha-950);\n}\n\n.hover\\:dark\\:text-white-alpha-950:is([data-theme="dark"] *):hover:not(:disabled) {\n color: var(--ikp-color-white-alpha-950);\n}\n\n.dark\\:hover\\:disabled\\:bg-white-alpha-100:disabled:hover:not(:disabled):is([data-theme="dark"] *) {\n background-color: var(--ikp-color-white-alpha-100);\n}\n\n.dark\\:hover\\:data-\\[state\\=active\\]\\:bg-white-alpha-100[data-state="active"]:hover:not(:disabled):is([data-theme="dark"] *) {\n background-color: var(--ikp-color-white-alpha-100);\n}\n\n.dark\\:data-\\[is-match\\]\\:hover\\:text-inkeep-expanded-primary-200:hover:not(:disabled)[data-is-match]:is([data-theme="dark"] *) {\n color: var(--ikp-color-inkeep-expanded-primary-200);\n}\n\n.befter\\:dark\\:from-gray-dark-950:is([data-theme="dark"] *)::before {\n --tw-gradient-from: var(--ikp-color-gray-dark-950) var(--tw-gradient-from-position);\n --tw-gradient-to: rgb(255 255 255 / 0) var(--tw-gradient-to-position);\n --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);\n}\n\n.befter\\:dark\\:from-gray-dark-950:is([data-theme="dark"] *)::after {\n --tw-gradient-from: var(--ikp-color-gray-dark-950) var(--tw-gradient-from-position);\n --tw-gradient-to: rgb(255 255 255 / 0) var(--tw-gradient-to-position);\n --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);\n}\n\n.dark\\:selected\\:border-inkeep-expanded-primary-300[data-selected="true"]:is([data-theme="dark"] *) {\n border-color: var(--ikp-color-inkeep-expanded-primary-300);\n}\n\n.dark\\:selected\\:bg-white-alpha-200[data-selected="true"]:is([data-theme="dark"] *) {\n background-color: var(--ikp-color-white-alpha-200);\n}\n\n.dark\\:selected\\:text-inkeep-expanded-primary-300[data-selected="true"]:is([data-theme="dark"] *) {\n color: var(--ikp-color-inkeep-expanded-primary-300);\n}\n\n.dark\\:selected\\:border-inkeep-expanded-primary-300:hover:is([data-theme="dark"] *) {\n border-color: var(--ikp-color-inkeep-expanded-primary-300);\n}\n\n.dark\\:selected\\:bg-white-alpha-200:hover:is([data-theme="dark"] *) {\n background-color: var(--ikp-color-white-alpha-200);\n}\n\n.dark\\:selected\\:text-inkeep-expanded-primary-300:hover:is([data-theme="dark"] *) {\n color: var(--ikp-color-inkeep-expanded-primary-300);\n}\n\n.group[data-selected="true"] .dark\\:group-selected\\:text-gray-dark-100:is([data-theme="dark"] *) {\n color: var(--ikp-color-gray-dark-100);\n}\n\n.group[data-selected="true"] .dark\\:group-selected\\:text-white:is([data-theme="dark"] *) {\n --tw-text-opacity: 1;\n color: rgb(255 255 255 / var(--tw-text-opacity, 1));\n}\n\n.group:hover .dark\\:group-selected\\:text-gray-dark-100:is([data-theme="dark"] *) {\n color: var(--ikp-color-gray-dark-100);\n}\n\n.group:hover .dark\\:group-selected\\:text-white:is([data-theme="dark"] *) {\n --tw-text-opacity: 1;\n color: rgb(255 255 255 / var(--tw-text-opacity, 1));\n}\n\n@media (min-width: 640px) {\n\n .sm\\:w-\\[420px\\] {\n width: 420px;\n }\n}\n\n@media (min-width: 768px) {\n\n .md\\:my-12 {\n margin-top: 3rem;\n margin-bottom: 3rem;\n }\n\n .md\\:flex {\n display: flex;\n }\n\n .md\\:hidden {\n display: none;\n }\n\n .md\\:h-\\[min\\(760px\\2c 100\\%\\)\\] {\n height: min(760px,100%);\n }\n\n .md\\:w-\\[min\\(600px\\2c 100\\%\\)\\] {\n width: min(600px,100%);\n }\n\n .md\\:min-w-\\[min\\(320px\\2c 100\\%\\)\\] {\n min-width: min(320px,100%);\n }\n\n .md\\:p-10 {\n padding: 2.5rem;\n }\n\n .md\\:text-4xl {\n font-size: var(--ikp-font-size-4xl);\n }\n\n .md\\:text-sm {\n font-size: var(--ikp-font-size-sm);\n }\n\n .md\\:leading-5 {\n line-height: 1.25rem;\n }\n\n .md\\:data-\\[view\\=dual-pane\\]\\:hidden[data-view="dual-pane"] {\n display: none;\n }\n\n .md\\:data-\\[dual-pane-search-expanded\\]\\:h-\\[min\\(calc\\(85vh_-_72px\\)\\2c calc\\(900px_-_72px_-_135px\\)\\)\\][data-dual-pane-search-expanded] {\n height: min(calc(85vh - 72px),calc(900px - 72px - 135px));\n }\n\n .md\\:data-\\[view\\=dual-pane\\]\\:\\[grid-template\\:\\"breadcrumbs_breadcrumbs_breadcrumbs\\"\\"icon_title_tag\\"\\"description_description_description\\"\\/auto_auto_1fr\\][data-view="dual-pane"] {\n grid-template: "breadcrumbs breadcrumbs breadcrumbs""icon title tag""description description description"/auto auto 1fr;\n }\n}\n\n@media (min-width: 1024px) {\n\n .lg\\:h-\\[min\\(800px\\2c 100\\%\\)\\] {\n height: min(800px,100%);\n }\n\n .lg\\:w-\\[min\\(640px\\2c 100\\%\\)\\] {\n width: min(640px,100%);\n }\n}\n\n@media (min-width: 1536px) {\n\n .\\32xl\\:h-\\[min\\(900px\\2c 100\\%\\)\\] {\n height: min(900px,100%);\n }\n\n .\\32xl\\:w-\\[min\\(760px\\2c 100\\%\\)\\] {\n width: min(760px,100%);\n }\n}\n\n.\\[\\&\\:not\\(\\:last-child\\)\\]\\:after\\:absolute:not(:last-child)::after {\n content: var(--tw-content);\n position: absolute;\n}\n\n.\\[\\&\\:not\\(\\:last-child\\)\\]\\:after\\:inset-x-6:not(:last-child)::after {\n content: var(--tw-content);\n left: 1.5rem;\n right: 1.5rem;\n}\n\n.\\[\\&\\:not\\(\\:last-child\\)\\]\\:after\\:bottom-0:not(:last-child)::after {\n content: var(--tw-content);\n bottom: 0px;\n}\n\n.\\[\\&\\:not\\(\\:last-child\\)\\]\\:after\\:border-b:not(:last-child)::after {\n content: var(--tw-content);\n border-bottom-width: 1px;\n}\n\n[data-widget-md] .ikp-md\\:\\[\\&\\:not\\(\\:last-child\\)\\]\\:after\\:inset-x-8:not(:last-child)::after {\n content: var(--tw-content);\n left: 2rem;\n right: 2rem;\n}\n\n.focus\\:\\[\\&\\:not\\(\\[data-invalid\\]\\)\\]\\:border-\\[--focus-border-color\\]:not([data-invalid]):focus {\n border-color: var(--focus-border-color);\n}\n\n.focus\\:\\[\\&\\:not\\(\\[data-invalid\\]\\)\\]\\:shadow-\\[0_0_0_1px_var\\(--focus-border-color\\)\\]:not([data-invalid]):focus {\n --tw-shadow: 0 0 0 1px var(--focus-border-color);\n --tw-shadow-colored: 0 0 0 1px var(--tw-shadow-color);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n\n.\\[\\&\\:where\\(\\:hover\\2c \\:focus\\)\\]\\:bg-slate-400\\/5:where(:hover,:focus) {\n background-color: rgb(148 163 184 / 0.05);\n}\n\n.dark\\:\\[\\&\\:where\\(\\:hover\\2c \\:focus\\)\\]\\:bg-white-alpha-100:where(:hover,:focus):is([data-theme="dark"] *) {\n background-color: var(--ikp-color-white-alpha-100);\n}\n\n.\\[\\&\\>\\:first-child\\]\\:basis-full>:first-child {\n flex-basis: 100%;\n}\n\n.\\[\\&\\[data-mobile\\]\\>div\\]\\:h-full[data-mobile]>div {\n height: 100%;\n}\n\n.\\[\\&\\[data-mobile\\]\\>div\\]\\:max-h-\\[unset\\][data-mobile]>div {\n max-height: unset;\n}\n\n.\\[\\&\\[data-mobile\\]\\>div\\]\\:max-h-dvh[data-mobile]>div {\n max-height: 100dvh;\n}\n\n.\\[\\&_\\[data-part\\=grid\\]\\]\\:divide-y [data-part=grid] > :not([hidden]) ~ :not([hidden]) {\n --tw-divide-y-reverse: 0;\n border-top-width: calc(1px * calc(1 - var(--tw-divide-y-reverse)));\n border-bottom-width: calc(1px * var(--tw-divide-y-reverse));\n}\n\n.\\[\\&_\\[data-part\\=grid\\]\\]\\:px-1 [data-part=grid] {\n padding-left: 0.25rem;\n padding-right: 0.25rem;\n}\n\n.\\[\\&_a\\]\\:inline a {\n display: inline;\n}\n\n.\\[\\&_a\\]\\:break-words a {\n overflow-wrap: break-word;\n}\n\n.\\[\\&_a\\]\\:rounded-sm a {\n border-radius: 0.125rem;\n}\n\n.\\[\\&_a\\]\\:bg-inkeep-primary-light a {\n background-color: var(--ikp-color-inkeep-primary-light);\n}\n\n.\\[\\&_a\\]\\:px-1 a {\n padding-left: 0.25rem;\n padding-right: 0.25rem;\n}\n\n.\\[\\&_a\\]\\:py-\\[1px\\] a {\n padding-top: 1px;\n padding-bottom: 1px;\n}\n\n.\\[\\&_a\\]\\:font-semibold a {\n font-weight: 600;\n}\n\n.\\[\\&_a\\]\\:text-inkeep-primary-text-subtle a {\n color: var(--ikp-color-inkeep-primary-text-subtle);\n}\n\n.\\[\\&_a\\]\\:no-underline a {\n text-decoration-line: none;\n}\n\n.\\[\\&_a\\]\\:hover\\:text-inkeep-primary-text-bold:hover:not(:disabled) a {\n color: var(--ikp-color-inkeep-primary-text-bold);\n}\n\n.\\[\\&_a\\]\\:hover\\:no-underline:hover:not(:disabled) a {\n text-decoration-line: none;\n}\n\n.\\[\\&_a\\]\\:dark\\:bg-inkeep-primary-text-subtle:is([data-theme="dark"] *) a {\n background-color: var(--ikp-color-inkeep-primary-text-subtle);\n}\n\n.\\[\\&_a\\]\\:dark\\:hover\\:text-inkeep-expanded-primary-200:hover:not(:disabled):is([data-theme="dark"] *) a {\n color: var(--ikp-color-inkeep-expanded-primary-200);\n}\n\n.\\[\\&_em\\]\\:font-bold em {\n font-weight: 700;\n}\n\n.\\[\\&_em\\]\\:not-italic em {\n font-style: normal;\n}\n\n.\\[\\&_li\\]\\:mb-1 li {\n margin-bottom: 0.25rem;\n}\n\n.\\[\\&_svg\\]\\:h-4 svg {\n height: 1rem;\n}\n\n.\\[\\&_svg\\]\\:w-4 svg {\n width: 1rem;\n}\n\n[data-mobile] .\\[\\[data-mobile\\]_\\&\\]\\:h-\\[calc\\(100vh-var\\(--input-height\\)-var\\(--footer-height\\)-var\\(--ask-ai-trigger-height\\)\\)\\] {\n height: calc(100vh - var(--input-height) - var(--footer-height) - var(--ask-ai-trigger-height));\n}\n\n[data-mobile] .\\[\\[data-mobile\\]_\\&\\]\\:h-\\[var\\(--footer-height\\)\\] {\n height: var(--footer-height);\n}\n\n[data-mobile] .\\[\\[data-mobile\\]_\\&\\]\\:max-h-\\[var\\(--input-height\\)\\] {\n max-height: var(--input-height);\n}\n\n[data-mobile] .\\[\\[data-mobile\\]_\\&\\]\\:items-center {\n align-items: center;\n}\n\n[data-mobile] .\\[\\[data-mobile\\]_\\&\\]\\:py-0 {\n padding-top: 0px;\n padding-bottom: 0px;\n}\n\n[data-show-ask-ai-card] .\\[\\[data-show-ask-ai-card\\]_\\&\\]\\:pb-1 {\n padding-bottom: 0.25rem;\n}\n\n[data-show-ask-ai-card] .\\[\\[data-show-ask-ai-card\\]_\\&\\]\\:\\[--ask-ai-trigger-height\\:theme\\(spacing\\.11\\)\\] {\n --ask-ai-trigger-height: 2.75rem;\n}\n\n[data-view=dual-pane] .\\[\\[data-view\\=dual-pane\\]_\\&\\]\\:block {\n display: block;\n}\n\n[data-view=dual-pane] .\\[\\[data-view\\=dual-pane\\]_\\&\\]\\:flex-\\[0_0_40\\%\\] {\n flex: 0 0 40%;\n}\n\n[data-view=dual-pane] .first\\:\\[\\[data-view\\=dual-pane\\]_\\&\\]\\:flex-1:first-child {\n flex: 1 1 0%;\n}\n\n@media (min-width: 768px) {\n\n [data-view=dual-pane] .md\\:first\\:\\[\\[data-view\\=dual-pane\\]_\\&\\]\\:flex-\\[0_0_40\\%\\]:first-child {\n flex: 0 0 40%;\n }\n}\n',...e}),jfe=FB("div",{_id:"view_toggle"}),Bfe=FB("button",{_id:"view_toggle_button",className:cle({slot:"button"})}),zfe=FB(nq,{_id:"view_toggle_icon"});function Hfe(e){const{handleToggle:t}=Ufe(e);return Vf.jsxs(jfe,{className:cle({slot:"root"}),children:[Vf.jsxs(Bfe,{onClick:()=>t("search"),"data-active":OP("search"===e.view),children:[Vf.jsx(zfe,{"data-active":OP("search"===e.view),iconKey:"switchToSearch",className:cle({slot:"icon"})}),e.searchLabel||"Search"]}),Vf.jsxs(Bfe,{onClick:()=>t("chat"),"data-active":OP("chat"===e.view),children:[Vf.jsx(zfe,{"data-active":OP("chat"===e.view),iconKey:"switchToChat",className:cle({slot:"icon"})}),e.askAILabel||"Ask AI"]})]})}function Ufe(e){const{onToggleView:t,query:n}=e;return{handleToggle:(e,r)=>{null==t||t({view:e,query:n,autoSubmit:r})}}}function $fe(e){const{componentType:t,children:n,modalSettings:r,...a}=e;return Vf.jsx(Vie,{children:Vf.jsx(Ffe,{children:Vf.jsx(EB,{config:{...a},componentType:t,children:Vf.jsx(vpe,{config:r,children:n})})})})}function Gfe(e){return Vf.jsx(wpe,{children:Vf.jsx(kpe,{children:e.children})})}function Vfe(e){const{children:t,onToggleView:n,isHidden:r,shouldAutoFocusInput:a=!n}=e;return Vf.jsx(hle,{isHidden:r,shouldAutoFocusInput:a,children:t})}function Wfe(e){return Vf.jsx(Vfe,{...e,children:Vf.jsx(qfe,{...e})})}function qfe(e){const{onToggleView:t}=e,n=dD(),r=vD(),a=n&&!r?Gfe:Z.Fragment;return Vf.jsx(a,{children:Vf.jsxs(mle,{variant:t?"no-shadow":"container-with-shadow","data-composite":OP(!!e.onToggleView||(null==n?void 0:n.isOpen)),children:[Vf.jsx(gle,{}),Vf.jsxs(yle,{children:[Vf.jsx(Yfe,{...e}),Vf.jsx(Kfe,{}),Vf.jsx(nhe,{})]}),Vf.jsx(ohe,{}),Vf.jsx(ihe,{})]})})}function Yfe(e){const{onToggleView:t,askAILabel:n,searchLabel:r}=e,a=!!t;return Vf.jsxs(ble,{"data-show-toolbar":OP(a),children:[a&&Vf.jsxs(vle,{children:[Vf.jsxs(wle,{children:[Vf.jsx(kle,{}),Vf.jsxs(Ale,{children:[Vf.jsx(Ile,{}),Vf.jsxs(Rle,{side:"bottom",align:"start",children:[Vf.jsx(Ole,{}),Vf.jsx(Ple,{})]})]})]}),Vf.jsx(Hfe,{onToggleView:t,askAILabel:n,searchLabel:r,view:"chat"})]}),Vf.jsx(xpe,{})]})}function Kfe(){return Vf.jsx(xle,{children:Vf.jsxs(Ele,{children:[Vf.jsx(_le,{children:Vf.jsx(Xfe,{})}),Vf.jsx(Sle,{children:Vf.jsx(Tle,{})}),Vf.jsx(Cle,{})]})})}function Xfe(){return Vf.jsx(Ble,{children:({messages:e})=>Vf.jsxs(Vf.Fragment,{children:[Vf.jsx(Qfe,{}),e.map((e=>Vf.jsxs(Hle,{message:e,children:[Vf.jsx(Zfe,{}),Vf.jsx(Gle,{}),Vf.jsxs(Xle,{children:[Vf.jsx(Qle,{children:Vf.jsx(cce,{})}),Vf.jsx(Jfe,{}),Vf.jsx(ehe,{}),Vf.jsx(the,{})]})]},e.id)))]})})}function Qfe(){return Vf.jsxs(Ule,{children:[Vf.jsxs($le,{children:[Vf.jsx(Vle,{children:Vf.jsxs(Wle,{children:[Vf.jsx(qle,{}),Vf.jsx(Yle,{})]})}),Vf.jsx(Kle,{})]}),Vf.jsxs(Xle,{children:[Vf.jsx(Qle,{children:Vf.jsx(cce,{})}),Vf.jsxs(Ale,{children:[Vf.jsx(Nle,{}),Vf.jsx(Ile,{}),Vf.jsxs(Rle,{children:[Vf.jsx(Ole,{}),Vf.jsx(Ple,{})]})]}),Vf.jsxs(Lle,{children:[Vf.jsx(Dle,{}),Vf.jsx(Mle,{children:e=>e.map((e=>Vf.jsx(Fle,{children:Vf.jsx(jle,{question:e})},e)))})]})]})]})}function Zfe(){return Vf.jsxs($le,{children:[Vf.jsx(Vle,{children:Vf.jsxs(Wle,{children:[Vf.jsx(qle,{}),Vf.jsx(Yle,{})]})}),Vf.jsx(Kle,{})]})}function Jfe(){return Vf.jsxs(Zle,{children:[Vf.jsx(Jle,{children:e=>e.map((e=>Vf.jsxs(ece,{attachment:e,children:[Vf.jsx(tce,{}),Vf.jsx(nce,{})]},e.id)))}),Vf.jsx(rce,{children:Vf.jsx(Wie,{children:Vf.jsx(ace,{children:Vf.jsxs(oce,{children:[Vf.jsx(ice,{}),Vf.jsx(sce,{}),Vf.jsx(lce,{})]})})})})]})}function ehe(){return Vf.jsxs(uce,{children:[Vf.jsx(dce,{children:e=>e.map(((e,t)=>Vf.jsx(pce,{action:e},`action-${t}`)))}),Vf.jsx(fce,{action:"copy"}),Vf.jsx(fce,{action:"upvote"}),Vf.jsx(fce,{action:"downvote"})]})}function the(){return Vf.jsxs(hce,{children:[Vf.jsx(mce,{}),Vf.jsx(gce,{children:e=>e.map(((e,t)=>{var n;return Vf.jsxs(yce,{href:e.url,source:e,children:[Vf.jsx(bce,{children:null==(n=e.breadcrumbs)?void 0:n.map((e=>Vf.jsxs(Z.Fragment,{children:[e,Vf.jsx(vce,{})]},e)))}),Vf.jsx(wce,{}),Vf.jsx(kce,{}),Vf.jsx(xce,{}),Vf.jsx(Ece,{children:e=>e.map(((e,t)=>Vf.jsx(_ce,{part:e},`part-${t}`)))}),Vf.jsx(Sce,{})]},t)}))})]})}function nhe(){return Vf.jsxs(Tce,{children:[Vf.jsx(rhe,{}),Vf.jsx(ahe,{})]})}function rhe(){return Vf.jsxs(Cce,{children:[Vf.jsxs(Ace,{children:[Vf.jsx(Nce,{}),Vf.jsx(Ice,{children:Vf.jsx(Rce,{})})]}),Vf.jsxs(Oce,{children:[Vf.jsx(Pce,{children:e=>e.map((e=>Vf.jsxs(Lce,{attachment:e,children:[Vf.jsx(Dce,{}),Vf.jsx(Mce,{}),Vf.jsx(Fce,{})]},e.id)))}),Vf.jsxs(jce,{children:[Vf.jsxs(Bce,{children:[Vf.jsx(zce,{}),Vf.jsx(Hce,{})]}),Vf.jsx(Uce,{children:e=>e.map((e=>Vf.jsxs($ce,{input:e,children:[Vf.jsx(Gce,{}),e.displayName]},e.id)))})]}),Vf.jsx(Wie,{children:Vf.jsx(Vce,{children:Vf.jsx(Wce,{children:Vf.jsxs(qce,{children:[Vf.jsxs(Yce,{children:[Vf.jsx(Kce,{}),Vf.jsx(Xce,{}),Vf.jsx(Qce,{})]}),Vf.jsx(Zce,{}),Vf.jsx(Jce,{children:Vf.jsxs(eue,{children:[Vf.jsxs(tue,{children:[Vf.jsx(nue,{}),Vf.jsx(rue,{}),Vf.jsx(aue,{})]}),Vf.jsxs(oue,{children:[Vf.jsx(iue,{}),Vf.jsx(sue,{}),Vf.jsx(lue,{})]}),Vf.jsx(cue,{})]})})]})})})})]})]})}function ahe(){return Vf.jsxs(uue,{children:[Vf.jsxs(pue,{children:[Vf.jsx(fue,{}),Vf.jsx(hue,{}),Vf.jsx(mue,{})]}),Vf.jsxs(due,{children:[Vf.jsx(wue,{children:({pinned:e,unpinned:t})=>Vf.jsxs(Vf.Fragment,{children:[e.map((e=>Vf.jsx(kue,{action:e},e.name))),t.length>0&&Vf.jsx(xue,{}),Vf.jsxs(Eue,{children:[Vf.jsx(_ue,{}),t.map((e=>Vf.jsxs(Sue,{action:e,children:[Vf.jsx(Tue,{action:e}),e.name]},e.name)))]})]})}),Vf.jsxs(yue,{action:"copy",children:[Vf.jsx(bue,{action:"copy"}),Vf.jsx(vue,{action:"copy"})]}),Vf.jsxs(yue,{action:"share",children:[Vf.jsx(bue,{action:"share"}),Vf.jsx(vue,{action:"share"})]}),Vf.jsx(yue,{action:"clear"}),Vf.jsx(yue,{action:"stop"})]})]})}function ohe(){return Vf.jsx(Wie,{children:Vf.jsx(Cue,{children:Vf.jsx(Aue,{children:Vf.jsxs(Nue,{children:[Vf.jsx(Iue,{}),Vf.jsx(Rue,{}),Vf.jsx(Oue,{children:Vf.jsxs(Pue,{children:[Vf.jsxs(Lue,{name:"unrelated_response",children:[Vf.jsx(Due,{children:Vf.jsx(Mue,{})}),Vf.jsx(Fue,{}),Vf.jsx(jue,{})]}),Vf.jsxs(Lue,{name:"inaccurate_statement",children:[Vf.jsx(Due,{children:Vf.jsx(Mue,{})}),Vf.jsx(Fue,{}),Vf.jsx(jue,{})]}),Vf.jsxs(Lue,{name:"inaccurate_code_snippet",children:[Vf.jsx(Due,{children:Vf.jsx(Mue,{})}),Vf.jsx(Fue,{}),Vf.jsx(jue,{})]}),Vf.jsxs(Lue,{name:"irrelevant_citations",children:[Vf.jsx(Due,{children:Vf.jsx(Mue,{})}),Vf.jsx(Fue,{})]}),Vf.jsx(Bue,{})]})})]})})})})}function ihe(){return Vf.jsxs(zue,{children:[Vf.jsx(Uue,{}),Vf.jsxs(Hue,{children:[Vf.jsxs($ue,{children:[Vf.jsx(Gue,{}),Vf.jsx(Vue,{})]}),Vf.jsx(Wue,{children:e=>Vf.jsxs(Vf.Fragment,{children:[e.map(((e,t)=>Vf.jsxs(que,{field:e,autoFocus:0===t,children:[Vf.jsx(Yue,{}),"text"===e.inputType&&Vf.jsx(Kue,{}),"email"===e.inputType&&Vf.jsx(Xue,{}),"file"===e.inputType&&Vf.jsx(Que,{}),"textarea"===e.inputType&&Vf.jsx(Zue,{}),"checkbox"===e.inputType&&Vf.jsx(Jue,{children:Vf.jsx(ede,{})}),"select"===e.inputType&&Vf.jsxs(tde,{children:[Vf.jsxs(nde,{children:[Vf.jsx(rde,{}),Vf.jsx(ade,{})]}),Vf.jsx(ode,{children:Vf.jsx(ide,{children:e.items.map((e=>Vf.jsxs(sde,{value:e.value,children:[Vf.jsx(lde,{children:e.label}),Vf.jsx(cde,{})]},e.value)))})})]}),Vf.jsx(ude,{})]},e.name))),Vf.jsx(dde,{})]})}),Vf.jsxs(pde,{children:[Vf.jsx(fde,{}),Vf.jsx(hde,{})]})]}),Vf.jsxs(mde,{children:[Vf.jsx(gde,{}),Vf.jsx(yde,{}),Vf.jsx(bde,{})]})]})}function she(e){const{children:t,onToggleView:n,isHidden:r,shouldAutoFocusInput:a=!n}=e;return Vf.jsx(wde,{isHidden:r,shouldAutoFocusInput:a,children:t})}function lhe(e){return Vf.jsx(she,{...e,children:Vf.jsx(che,{...e})})}function che(e){const{searchSettings:{view:t}}=ZO(),{onToggleView:n,shouldShowAskAICard:r=!!n&&"dual-pane"!==t}=e,a=dD(),o=vD(),i=a&&!o?Gfe:Z.Fragment;return Vf.jsx(i,{children:Vf.jsx(kde,{"data-show-ask-ai-card":OP(r),"data-composite":OP(!!n||(null==a?void 0:a.isOpen)),children:Vf.jsxs(xde,{children:[Vf.jsx(uhe,{...e}),Vf.jsxs(Ede,{children:[Vf.jsx(dhe,{askAILabel:e.askAILabel,onToggleView:e.onToggleView,shouldShowAskAICard:r}),Vf.jsx(phe,{})]}),Vf.jsx(mhe,{})]})})})}function uhe(e){const{onToggleView:t,askAILabel:n,searchLabel:r}=e,a=Xte((e=>e.search));return Vf.jsxs(_de,{children:[Vf.jsx(Sde,{}),Vf.jsx(Tde,{}),Vf.jsx(Cde,{}),t&&Vf.jsx(Hfe,{onToggleView:t,query:a,askAILabel:n,searchLabel:r,view:"search"}),Vf.jsx(xpe,{})]})}function dhe(e){const{askAILabel:t,onToggleView:n,shouldShowAskAICard:r}=e,a=Xte((e=>e.search)),{handleToggle:o}=Ufe({onToggleView:n,query:a});return r?Vf.jsxs(Ade,{onSelect:()=>o("chat",!0),children:[Vf.jsx(Nde,{}),Vf.jsxs(Ide,{children:[t||"Ask AI",a&&` "${a}"`]}),Vf.jsx(Rde,{})]}):null}function phe(){return Vf.jsxs(Ode,{children:[Vf.jsx(Pde,{}),Vf.jsx(Dde,{children:e=>e.map((e=>Vf.jsx(Mde,{tab:e},e)))}),Vf.jsx(Lde,{}),Vf.jsxs(Fde,{children:[Vf.jsx(fhe,{}),Vf.jsx(hhe,{})]})]})}function fhe(){return Vf.jsxs(jde,{children:[Vf.jsx(Bde,{children:Vf.jsx($de,{children:e=>e.map((e=>Vf.jsxs(Gde,{item:e,children:[Vf.jsx(Vde,{children:e=>e.map(((e,t)=>Vf.jsxs(Z.Fragment,{children:[e,Vf.jsx(Wde,{})]},`${e}-${t}`)))}),Vf.jsx(qde,{}),Vf.jsx(Yde,{}),Vf.jsx(Kde,{}),Vf.jsx(Xde,{children:e=>e.map(((e,t)=>Vf.jsx(Qde,{part:e},`part-${t}`)))}),Vf.jsx(Zde,{})]},e.id)))})}),Vf.jsx(zde,{children:Vf.jsx(Hde,{})}),Vf.jsx(Ude,{})]})}function hhe(){return Vf.jsxs(jde,{children:[Vf.jsx(Bde,{children:Vf.jsxs(Jde,{children:[Vf.jsxs(epe,{children:[Vf.jsxs(tpe,{children:[Vf.jsx(npe,{}),Vf.jsx(rpe,{})]}),Vf.jsx(ape,{children:e=>e.map(((e,t)=>Vf.jsxs(Z.Fragment,{children:[e,Vf.jsx(ope,{})]},`${e}-${t}`)))})]}),Vf.jsx(ipe,{}),Vf.jsxs(spe,{children:[Vf.jsx(lpe,{}),Vf.jsx(cpe,{children:e=>e.map(((e,t)=>Vf.jsxs(upe,{href:e.url??void 0,"data-is-match":OP(e.isMatch),children:[Vf.jsx(dpe,{}),Vf.jsx(ppe,{children:e.content}),e.url&&Vf.jsx(fpe,{})]},`${e.anchor}-${t}`)))})]})]})}),Vf.jsx(zde,{children:Vf.jsx(Hde,{})}),Vf.jsx(Ude,{})]})}function mhe(){return Vf.jsx(hpe,{children:Vf.jsxs(mpe,{children:[Vf.jsx(gpe,{}),Vf.jsx(ype,{}),Vf.jsx(bpe,{})]})})}function ghe(e,t){"function"==typeof e?e(t):null!=e&&(e.current=t)}function yhe(...e){return t=>{for(const n of e)ghe(n,t)}}function bhe(e,t,{checkForDefaultPrevented:n=!0}={}){return function(r){if(null==e||e(r),!1===n||!r.defaultPrevented)return null==t?void 0:t(r)}}function vhe(e){const{defaultView:t="search",aiChatSettings:n,baseSettings:r,searchSettings:a,shouldAutoFocusInput:o=!0,onToggleView:i,ref:s,...l}=e,c=Z.useRef(null),u=yhe(c,null==n?void 0:n.chatFunctionsRef),d=Z.useRef(null),p=yhe(d,null==a?void 0:a.searchFunctionsRef),f={...n,chatFunctionsRef:u},h={...a,searchFunctionsRef:p},[m,g]=Z.useState(t);Z.useImperativeHandle(s,(()=>({setView:g}))),Z.useEffect((()=>{var e,t;"chat"===m?null==(e=c.current)||e.focusInput():null==(t=d.current)||t.focusInput()}),[m]);return{config:{baseSettings:r,aiChatSettings:f,searchSettings:h},defaultView:t,view:m,setView:g,onToggleView:e=>{var t;e.autoSubmit&&e.query&&(null==(t=c.current)||t.submitMessage(e.query)),null==i||i(e),g(e.view)},shouldAutoFocusInput:o,...l}}function whe(e){const{view:t,setView:n,shouldShowAskAICard:r,onToggleView:a,defaultView:o,shouldAutoFocusInput:i,searchLabel:s,askAILabel:l}=e,c=dD()?Gfe:Z.Fragment,u={isHidden:"chat"===t,onToggleView:a,shouldShowAskAICard:r,shouldAutoFocusInput:i&&"search"===o,searchLabel:s,askAILabel:l},d={isHidden:"search"===t,onToggleView:a,shouldAutoFocusInput:i&&"chat"===o,searchLabel:s,askAILabel:l};return Vf.jsx(bD,{widget:{setView:n,view:t},children:Vf.jsx(she,{...u,children:Vf.jsx(Vfe,{...d,children:Vf.jsxs(c,{children:[Vf.jsx(che,{...u}),Vf.jsx(qfe,{...d})]})})})})}function khe({label:e="Ask AI",avatar:t,onOpenChange:n}){return Vf.jsx(Epe,{children:Vf.jsxs(_pe,{onClick:e=>{2!==e.button&&n((e=>!e))},children:[Vf.jsx(Spe,{children:e}),Vf.jsx(Cpe,{children:Vf.jsx(Tpe,{avatar:t})})]})})}function xhe({onOpenChange:e,modalSettings:t}){return Vf.jsx(Ape,{children:Vf.jsxs(Npe,{onClick:t=>{2!==t.button&&e((e=>!e))},children:[Vf.jsxs(Ipe,{children:[Vf.jsx(Ope,{}),Vf.jsx(Rpe,{})]}),Vf.jsxs(Ppe,{children:[Vf.jsx(Lpe,{shortcutKey:null==t?void 0:t.shortcutKey}),Vf.jsx(Dpe,{shortcutKey:null==t?void 0:t.shortcutKey})]})]})})}function Ehe(e){const{formSettings:t}=e;return Vf.jsx(Mpe,{formSettings:t,children:Vf.jsxs(Fpe,{children:[Vf.jsx(jpe,{}),Vf.jsx(Bpe,{children:Vf.jsxs(zpe,{children:[Vf.jsxs(Hpe,{children:[Vf.jsx(_he,{}),Vf.jsx(She,{}),Vf.jsx(Che,{}),Vf.jsx(Ahe,{}),Vf.jsx(Nhe,{})]}),Vf.jsx(Upe,{children:Vf.jsx($pe,{})}),Vf.jsx(Gpe,{})]})})]})})}function _he(){return Vf.jsxs(Vpe,{children:[Vf.jsx(Wpe,{}),Vf.jsx(qpe,{}),Vf.jsx(Ype,{})]})}function She(){const{isSubmitSuccessful:e}=$ae();return e?null:Vf.jsxs(Kpe,{children:[Vf.jsx(Xpe,{}),Vf.jsx(Qpe,{children:e=>e.map((e=>Vf.jsx(Ihe,{field:e},e.name)))}),Vf.jsx(Zpe,{})]})}function The(){return Vf.jsxs(yfe,{children:[Vf.jsx(bfe,{}),Vf.jsx(vfe,{})]})}function Che(){return Vf.jsxs(wfe,{children:[Vf.jsx(The,{}),Vf.jsx(ple,{})]})}function Ahe(){const{isSubmitSuccessful:e}=$ae();return e?null:Vf.jsxs(kfe,{children:[Vf.jsx(The,{}),Vf.jsxs(Rfe,{children:[Vf.jsx(Ofe,{}),Vf.jsx(Pfe,{children:e=>e.map((e=>Vf.jsxs(Lfe,{source:e,children:[Vf.jsx(Dfe,{}),Vf.jsx(Mfe,{})]},e.url)))})]}),Vf.jsx(xfe,{}),Vf.jsxs(Efe,{children:[Vf.jsx(_fe,{}),Vf.jsx(Sfe,{})]})]})}function Nhe(){const{aiResponse:e}=$ae(),{isSubmitSuccessful:t}=$ae();return t?null:Vf.jsxs(Tfe,{children:[Vf.jsx(The,{}),!e.answerConfidence&&Vf.jsxs(Rfe,{children:[Vf.jsx(Ofe,{children:"I wasn't able to find a direct answer to your question, but here's some helpful sources:"}),Vf.jsx(Pfe,{children:e=>e.map((e=>Vf.jsxs(Lfe,{source:e,children:[Vf.jsx(Dfe,{}),Vf.jsx(Mfe,{})]},e.url)))})]}),Vf.jsx(Cfe,{}),Vf.jsx(Afe,{children:e=>e.map((e=>Vf.jsx(Ihe,{field:e},e.name)))}),Vf.jsx(Ife,{}),Vf.jsx(Nfe,{})]})}function Ihe(e){const{field:t}=e;return Vf.jsxs(Jpe,{field:t,children:[Vf.jsx(efe,{}),"text"===t.inputType&&Vf.jsx(tfe,{}),"email"===t.inputType&&Vf.jsx(nfe,{}),"file"===t.inputType&&Vf.jsx(rfe,{}),"textarea"===t.inputType&&Vf.jsx(afe,{}),"checkbox"===t.inputType&&Vf.jsx(ofe,{children:Vf.jsx(ife,{})}),"select"===t.inputType&&Vf.jsxs(sfe,{children:[Vf.jsxs(lfe,{children:[Vf.jsx(cfe,{}),Vf.jsx(ufe,{})]}),Vf.jsx(dfe,{children:Vf.jsx(pfe,{children:t.items.map((e=>Vf.jsxs(ffe,{value:e.value,children:[Vf.jsx(hfe,{children:e.label}),Vf.jsx(mfe,{})]},e.value)))})})]}),Vf.jsx(gfe,{})]},t.name)}const Rhe={EmbeddedChat:function(e){const{baseSettings:t,aiChatSettings:n}=e;return Vf.jsx(Ffe,{wrapperStyles:{height:"inherit",width:"inherit"},children:Vf.jsx(EB,{config:{baseSettings:t,aiChatSettings:n},componentType:VO,children:Vf.jsx(Wfe,{...e})})})},EmbeddedSearch:function(e){const{baseSettings:t,searchSettings:n}=e;return Vf.jsx(Ffe,{children:Vf.jsx(EB,{config:{baseSettings:t,searchSettings:n},componentType:WO,children:Vf.jsx(lhe,{...e})})})},EmbeddedSearchAndChat:function(e){const{config:t,...n}=vhe(e);return Vf.jsx(Ffe,{wrapperStyles:{height:"inherit",width:"inherit"},children:Vf.jsx(EB,{config:t,componentType:qO,children:Vf.jsx(whe,{...n})})})},ModalChat:function(e){const{modalSettings:t,baseSettings:n,aiChatSettings:r,...a}=e;return Vf.jsx($fe,{componentType:$O,modalSettings:t,baseSettings:n,aiChatSettings:r,children:Vf.jsx(Wfe,{...a})})},ModalSearch:function(e){const{modalSettings:t,baseSettings:n,searchSettings:r,...a}=e;return Vf.jsx($fe,{componentType:$O,modalSettings:t,baseSettings:n,searchSettings:r,children:Vf.jsx(lhe,{shouldAutoFocusInput:!0,...a})})},ModalSearchAndChat:function(e){const{modalSettings:t,...n}=e,{config:r,...a}=vhe(n),o=bhe(null==t?void 0:t.onOpenChange,(t=>{e.forceDefaultView&&!t&&a.setView(e.defaultView??"search")})),i={...t,onOpenChange:o};return Vf.jsx($fe,{...r,modalSettings:i,componentType:$O,children:Vf.jsx(whe,{...a})})},IntelligentForm:function(e){const{baseSettings:t}=e;return Vf.jsx(Ffe,{wrapperStyles:{height:"inherit",width:"inherit"},children:Vf.jsx(EB,{config:{baseSettings:t},componentType:YO,children:Vf.jsx(Ehe,{...e})})})},ChatButton:function(e){const{modalSettings:t,label:n,defaultView:r="chat",canToggleView:a=!0,avatar:o,...i}=e,s={...i,shouldShowAskAICard:!!a&&e.shouldShowAskAICard},{config:l,...c}=vhe({...s,defaultView:r}),[u=!1,d]=HG({prop:null==t?void 0:t.isOpen,defaultProp:!1,onChange:bhe(null==t?void 0:t.onOpenChange,(n=>{void 0===(null==t?void 0:t.isOpen)&&(e.forceDefaultView&&!n&&c.setView(r??"search"),d(!!n))}))}),p={...t,isOpen:u,onOpenChange:d};return Vf.jsxs(Vf.Fragment,{children:[Vf.jsx(Ffe,{wrapperStyles:{display:"contents"},children:Vf.jsx(EB,{config:l,componentType:UO,children:Vf.jsx(khe,{label:n,avatar:o,onOpenChange:d})})}),Vf.jsx($fe,{...l,componentType:UO,modalSettings:p,children:a?Vf.jsx(whe,{...c}):Vf.jsx(Wfe,{...i})})]})},SearchBar:function(e){const{modalSettings:t,defaultView:n="search",canToggleView:r=!0,...a}=e,o={...a,shouldShowAskAICard:!!r&&e.shouldShowAskAICard},{config:i,...s}=vhe({...o,defaultView:n}),[l=!1,c]=HG({prop:null==t?void 0:t.isOpen,defaultProp:!1,onChange:bhe(null==t?void 0:t.onOpenChange,(r=>{void 0===(null==t?void 0:t.isOpen)&&(e.forceDefaultView&&!r&&s.setView(n),c(!!r))}))}),u={shortcutKey:"k",...t,isOpen:l,onOpenChange:c};return Vf.jsxs(Vf.Fragment,{children:[Vf.jsx(Ffe,{wrapperStyles:{display:"contents"},children:Vf.jsx(EB,{config:i,componentType:GO,children:Vf.jsx(xhe,{onOpenChange:c,modalSettings:u})})}),Vf.jsx($fe,{...i,modalSettings:u,componentType:GO,children:r?Vf.jsx(whe,{...s}):Vf.jsx(lhe,{...o})})]})}};function Ohe(){window.Inkeep=Object.entries(Rhe).reduce(((e,[t,n])=>(e[t]=function(e,t){const n=new Map;return function(r,a){let o,i;if("string"==typeof r)i=r,o=a;else{if(!Ff.includes(t))throw new Error(`You must provide a target selector to render the ${t} component`);const e=document.createElement("div");e.style.position="absolute",document.body.appendChild(e);const n=`inkeep-widget-${Mf()}`;i=`#${e.id||n}`,e.id=i.slice(1),o=r}const s=document.querySelector(i);if(!s)return void console.error(`Target ${i} not found.`);let l=n.get(i);l||(l={root:Rf.createRoot(s),props:o,container:s,chatFunctionsRef:Z.createRef(),searchFunctionsRef:Z.createRef(),ref:Z.createRef()},n.set(i,l)),l.props=u(o,{aiChatSettings:{chatFunctionsRef:l.chatFunctionsRef},searchSettings:{searchFunctionsRef:l.searchFunctionsRef}},{ref:l.ref}),l.container=s;try{l.root.render(Z.createElement(e,l.props))}catch(p){console.error(`Error rendering component ${e.name}:`,p)}const c={update:t=>{const r=n.get(i);if(r){r.props=u(r.props??{},t??{});try{r.root.render(Z.createElement(e,r.props))}catch(p){console.error(`Error rendering component ${e.name} during update:`,p)}}else console.error(`Component at ${i} is not mounted.`)},unmount(){const e=n.get(i);e&&e.container?(e.root.unmount(),e.container.innerHTML=""):console.error(`Component at ${i} is not mounted.`)},remount(){const t=n.get(i);if(t&&t.container){t.root=Rf.createRoot(t.container);try{t.root.render(Z.createElement(e,t.props))}catch(p){console.error(`Error remounting component ${e.name}:`,p)}}else console.error(`Component at ${i} cannot be remounted.`)}},d=jf[t];if("both"===d){const e=Bf(i,"chatFunctionsRef",n),t=Bf(i,"searchFunctionsRef",n);return new Proxy(c,{get(r,a){var o;if("chat"===a)return e;if("search"===a)return t;if(a in r)return r[a];const s=n.get(i),l=null==(o=null==s?void 0:s.ref.current)?void 0:o[a];return"function"==typeof l?l.bind(null==s?void 0:s.ref.current):void 0}})}return"chat"===d?new Proxy(c,{get(e,t){var r;if(t in e)return e[t];const a=n.get(i),o=null==(r=null==a?void 0:a.chatFunctionsRef.current)?void 0:r[t];return"function"==typeof o?o.bind(null==a?void 0:a.chatFunctionsRef.current):void 0}}):"search"===d?new Proxy(c,{get(e,t){var r;if(t in e)return e[t];const a=n.get(i),o=null==(r=null==a?void 0:a.searchFunctionsRef.current)?void 0:r[t];return"function"==typeof o?o.bind(null==a?void 0:a.searchFunctionsRef.current):void 0}}):c}}(n,t),e)),{})}"undefined"!=typeof window&&Ohe(),"undefined"!=typeof window&&Ohe();const Phe={colorMode:{sync:{target:document.documentElement,attributes:["class"],isDarkMode:e=>{var t;return!!(null==(t=e.class)?void 0:t.includes("dark"))}}}},Lhe=(e,t,n)=>{const r=e[t];if(!r)throw new Error(`${t} not found in Inkeep`);return e=>{const t="string"==typeof e?{targetSelector:e}:e,a={...t,baseSettings:u(Phe,t.baseSettings??{})},o=r(a);return o&&(null==n||n(o,a)),o}};if(!(null==(r=window.Inkeep)?void 0:r.ModalSearchAndChat))throw new Error("Inkeep failed to load properly");window.Inkeep={...window.Inkeep,ModalSearchAndChat:Lhe(window.Inkeep,"ModalSearchAndChat",((e,t)=>{var n;e.update({modalSettings:u(t.modalSettings??{},{onOpenChange:t=>e.update({modalSettings:{isOpen:t}})})}),((e,t)=>{const n=e=>{e&&!e.dataset.inkeepListenerAdded&&(e.dataset.inkeepListenerAdded="true",e.addEventListener("click",(e=>{e.preventDefault(),e.stopImmediatePropagation(),t()}),!0))};new MutationObserver((()=>{e.forEach((e=>{const t=document.getElementById(e);n(t)}))})).observe(document.body,{childList:!0,subtree:!0}),e.forEach((e=>{const t=document.getElementById(e);n(t)}))})(["search-bar-entry","search-bar-entry-mobile","home-search-entry"],(()=>e.update({modalSettings:{isOpen:!0}}))),n=()=>e.update({modalSettings:{isOpen:!0}}),window.addEventListener("keydown",(e=>{!e.metaKey&&!e.ctrlKey||"k"!==e.key&&"K"!==e.key||(e.preventDefault(),e.stopImmediatePropagation(),n())}),!0)})),ChatButton:Lhe(window.Inkeep,"ChatButton")}}();