@inkeep/cxkit-js 0.0.0-dev-20250301024243 → 0.0.0-dev-20250301024533

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.
@@ -53,4 +53,4 @@ var DV=/; *([!#$%&'*+.^_`|~0-9A-Za-z-]+) *= *("(?:[\u000b\u0020\u0021\u0023-\u00
53
53
  * @namespace
54
54
  * @public
55
55
  *)
56
- */;function k2(){const[e,t]=V.useState(!1);return[e,V.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 x2=wB("h1",{_id:"markdownH1"}),E2=wB("h2",{_id:"markdownH2"}),S2=wB("p",{_id:"markdownP"}),_2=wB("li",{_id:"markdownLi"}),T2=wB("ul",{_id:"markdownUl"}),C2=wB("ol",{_id:"markdownOl"}),A2=wB(mW,{_id:"markdownLink"}),N2=wB("sup",{_id:"markdownSourceLink"}),I2=wB("table",{_id:"markdownTable"}),R2=wB("th",{_id:"markdownTh"}),O2=wB("td",{_id:"markdownTd"}),P2=wB("code",{_id:"markdownCode"}),L2=wB("div",{_id:"codeblockContainer"}),D2=wB("div",{_id:"codeblockHeader"}),M2=wB("span",{_id:"codeblockHeaderLanguage"}),F2=wB("button",{_id:"codeblockCopyButton",type:"button"}),j2=wB("div",{_id:"codeblockHighlighterWrapper"}),B2=wB("div",{_id:"codeblockHighlighter"}),H2=wB("code",{_id:"codeblockCode"}),z2=V1.oneLight,U2=V1.vsDark,$2=({className:e="",children:t,onCopy:n})=>{var r;const a=e.replace(/^language-/,""),o=String(t).replace(/\n$/,""),[i,s]=k2(),{baseSettings:l}=zO(),c=null==(r=l.theme)?void 0:r.syntaxHighlighter,{lightTheme:u=z2,darkTheme:d=U2}=c??{},p=qj(u,d);return jf.jsxs(L2,{children:[jf.jsxs(D2,{children:[jf.jsx(M2,{children:a}),jf.jsx(F2,{"aria-label":"Copy to clipboard",onClick:()=>{s(o),null==n||n(a,o)},"data-copied":wP(i),children:jf.jsx(fW,{iconKey:i?"codeCopied":"codeCopy"})})]}),jf.jsx(j2,{children:jf.jsx(w2,{theme:p,code:o,language:a,prism:l.prism,children:({className:e,tokens:t,getLineProps:n,getTokenProps:r,style:a})=>jf.jsx(B2,{className:e,children:jf.jsx(H2,{style:a,children:t.map(((e,t)=>jf.jsx("div",{...n({line:e}),children:e.map(((e,t)=>jf.jsx("span",{...r({token:e})},t)))},t)))})})})})]})};function G2(){return e=>{hX(e,"element",((e,t,n)=>{"code"===e.tagName&&(n&&"pre"===n.tagName?e.properties.inline=!1:e.properties.inline=!0)}))}}const V2=({children:e,componentStyles:t,shouldOpenLinksInNewTab:n,onLinkClick:r,onCodeCopy:a,...o})=>{if(!e)return null;const i={h1:({children:e})=>jf.jsx(x2,{children:e}),h2:({children:e})=>jf.jsx(E2,{children:e}),p:({children:e})=>jf.jsx(S2,{children:e}),li:({children:e})=>jf.jsx(_2,{children:e}),ul:({children:e})=>jf.jsx(T2,{children:e}),ol:({children:e,node:t})=>{var n;const r=null==(n=null==t?void 0:t.properties)?void 0:n.start;return jf.jsx(C2,{style:{"--start":(null==r?void 0:r.toString())??"0"},children:e})},a:({children:e,href:t})=>{const a=W.Children.toArray(e),o=a[0],i="string"==typeof o&&/^\(\d+\)$/.test(o)&&1===a.length,s=i?o.match(/\d+/):e,l=jf.jsx(A2,{isExternal:n,href:t,onClick:()=>{null==r||r(t,null==s?void 0:s.toString())},children:s});return i?jf.jsx(N2,{children:l}):l},img:({src:e,alt:t})=>`![${t||""}](${e||""})`,table:({children:e})=>jf.jsx(I2,{children:e}),th:({children:e,isHeader:t})=>t?jf.jsx(R2,{children:e}):jf.jsx(O2,{children:e}),pre:({children:e})=>jf.jsx("pre",{children:e}),code:({children:e,inline:t,className:n})=>t?jf.jsx(P2,{children:e}):jf.jsx($2,{className:n,onCopy:a,children:e})},s=jf.jsx(sQ,{rehypePlugins:[v1,G2],components:i,disallowedElements:W2,children:e.toString(),...o});return jf.jsx(Dj,{componentStyles:t,children:s})},W2=["script","iframe","frame","embed","meta","base","form","style","object"];function q2(){return jf.jsxs("svg",{viewBox:"0 0 12 10",style:{width:"1.2em",fill:"none",strokeWidth:2,stroke:"currentColor",strokeDasharray:16},children:[jf.jsx("title",{children:"Checkbox Icon"}),jf.jsx("polyline",{points:"1.5 6 4.5 9 10.5 1"})]})}function Y2(e){const t=OO();return jf.jsxs("svg",{viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[jf.jsx("title",{children:"Tag Line Logo Icon"}),jf.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})`}),jf.jsx("defs",{children:jf.jsxs("linearGradient",{id:t,x1:"1.5893",y1:"25.285",x2:"24.0784",y2:"10.1057",gradientUnits:"userSpaceOnUse",children:[jf.jsx("stop",{stopColor:"currentColor"}),jf.jsx("stop",{offset:"1",stopColor:"currentColor"})]})})]})}const K2=e=>{const{logEvent:t}=iP(),{conversation:n}=VO(),{openForm:r}=rD(),a=ZL();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.closeModal()))},logHelpAction:()=>{"name"in e&&t({eventName:"get_help_option_clicked",properties:{getHelpOption:e,conversation:n}})}}},X2=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 Q2(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 Z2(e){return e.toLowerCase().replace(/(^\w+:|^)\/\//,"").replace(/^www\./,"").replace(/\/$/,"").startsWith("github.com")}function J2(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 e5={js:".js",db:"DB",sql:"SQL"};function t5(e){return Object.entries(e5).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 n5=["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"],r5=["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"],a5=["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 o5(e){return`\\b${e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}\\b`}function i5(e,t,n,r=!1){return r&&new RegExp(`^${n}\\b`,"i").test(e)?e:e.replace(new RegExp(n,"gi"),t)}const s5=(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(l5)}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=J2(t,r)),t=t5(t),t=function(e){let t=e;return t=r5.reduce(((e,t)=>i5(e,t,o5(t),!0)),t),t=a5.reduce(((e,t)=>i5(e,t,o5(t))),t),t=n5.reduce(((e,t)=>i5(e,t,o5(t))),t),t}(t),t}))??[]},l5=e=>e.split(/[-_]/).map((e=>e.charAt(0).toUpperCase()+e.slice(1).toLowerCase())).join(" ");const c5=(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)},u5=e=>{let t="LuBookOpen";"documentation"===e.type&&"book"===e.contentType?t="IoBookOutline":"documentation"===e.type&&"pdf"===e.contentType?t="FaFilePdf":"github_issue"===e.type||Z2(e.url)?t="FaGithub":"discourse"===e.type?t="FaDiscourse":"discord"===e.type?t="FaDiscord":"slack_message"===e.type?t="FaSlack":"stackoverflow"===e.type&&(t="FaStackOverflow");return{builtIn:t}},d5=(e,t)=>{let n=e.title;if(!n)return"";const r=null==t?void 0:t.organizationDisplayName;return n=t5(n),r&&(n=J2(n,r)),n},p5=(e,t,n)=>{const{transformSource:r,...a}=n,o=s5(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||Z2(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 console.log("tabsWithBreadcrumbs",o,s),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)??d5(e,n),description:(null==s?void 0:s.description)??c5(e,t),breadcrumbs:(null==s?void 0:s.breadcrumbs)??o,icon:(null==s?void 0:s.icon)??u5(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}},f5=wB("div",{_id:"aiChatWrapper"}),h5=V.forwardRef(((e,t)=>{const{...n}=e,{isHidden:r,isMobile:a}=xj(),[o,i]=function(){const e=V.useRef(null),[t,n]=V.useState({width:0,height:0});return V.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=fB(t,o),l=!(null==i?void 0:i.width)||i.width>580,c=ZL();return jf.jsx(f5,{ref:s,"data-widget-md":wP(l),"data-hidden":wP(r),"data-in-modal":wP(!!c),"data-mobile":wP(a),...n})})),m5=wB("div",{_id:"aiChatConversationLoading"}),g5=e=>{const{isLoadingConversation:t}=xj();return t?jf.jsx(m5,{children:jf.jsx("span",{children:"Loading..."}),...e}):null},y5=wB("div",{_id:"aiChatRoot"}),b5=e=>{const{isLoadingConversation:t,isHidden:n}=xj(),{form:r}=rD();return t||r?null:jf.jsx(y5,{"data-hidden":wP(n),...e})},v5=wB("div",{_id:"aiChatHeader"}),w5=wB("div",{_id:"aiChatHeader__Toolbar"}),k5=wB("div",{_id:"aiChatHeader__ToolbarHeaderWrapper"}),x5=wB("div",{_id:"aiChatHeader__ToolbarHeader"}),E5=V.memo((e=>{const{aiChatSettings:t}=zO(),n=`Ask ${t.aiAssistantName||"AI"}`;return jf.jsx(x5,{...e,children:n})})),S5=wB("div",{_id:"aiChatContent"}),_5=wB(N$,{_id:"aiChatContentScrollArea"}),T5=wB(I$,{_id:"aiChatContentScrollArea__Viewport"}),C5=V.forwardRef((({children:e,...t},n)=>{const{containerRef:r}=function(e={}){const{threshold:t=150,interactionTimeout:n=150}=e,r=V.useRef(null),a=V.useRef(!0),o=V.useRef(!1),i=V.useCallback((()=>{const e=r.current;return!!e&&e.scrollHeight-e.clientHeight-e.scrollTop<t}),[t]),s=V.useCallback(((e=!1)=>{const t=r.current;t&&!o.current&&t.scrollTo({top:t.scrollHeight,behavior:e?"smooth":"auto"})}),[]);return V.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]),V.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]),V.useEffect((()=>{r.current&&s()}),[s]),{containerRef:r,scrollToBottom:s,isNearBottom:i}}(),a=fB(n,r);return jf.jsx(T5,{ref:a,children:jf.jsx("div",{"data-part":"grid",style:{display:"grid"},children:e}),...t})})),A5=wB(a$,{_id:"aiChatContentScrollArea__Scrollbar"}),N5=wB(m$,{_id:"aiChatContentScrollArea__Thumb"}),I5=wB(R$,{_id:"aiChatContentScrollArea__Corner"}),R5=wB("div",{_id:"aiChatMessages"}),O5=e=>{const t=xj(),{children:n,...r}=e;return jf.jsx(R5,{children:xP(n,t),...r})},P5=wB("div",{_id:"aiChatDisclaimer"}),L5=V.memo((e=>{var t;const{aiChatSettings:n}=zO();return(null==(t=n.disclaimerSettings)?void 0:t.isEnabled)?jf.jsx(UU,{openDelay:100,children:jf.jsx(P5,{...e})}):null})),D5=wB("span",{_id:"aiChatDisclaimerLabel"}),M5=V.memo((e=>{const{aiChatSettings:t}=zO(),n=t.disclaimerSettings;return jf.jsx(D5,{children:null==n?void 0:n.label,...e})})),F5=wB($U,{_id:"aiChatDisclaimerTrigger",children:jf.jsx(fW,{iconKey:"info"})}),j5=wB(GU,{_id:"aiChatDisclaimerContent"}),B5=e=>jf.jsx(j5,{side:"top",sideOffset:8,align:"end",alignOffset:-10,...e});wB(V2,{_id:"aiChatDisclaimerText"});const H5=V.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 jf.jsx(V2,{shouldOpenLinksInNewTab:!0,children:a,...e})})),z5=wB(VU,{_id:"aiChatDisclaimerArrow"}),U5=wB("div",{_id:"aiChatQuickQuestions"}),$5=e=>{var t;const{aiChatSettings:n}=zO(),{messages:r}=xj();return!(null==(t=n.exampleQuestions)?void 0:t.length)||r.length?null:jf.jsx(U5,{...e})},G5=wB("h3",{_id:"aiChatQuickQuestionsLabel"}),V5=V.memo((e=>{const{aiChatSettings:t}=zO();return jf.jsx(G5,{children:t.exampleQuestionsLabel,...e})})),W5=wB("div",{_id:"aiChatQuickQuestionsList"}),q5=V.memo((e=>{const{aiChatSettings:t}=zO(),n=t.exampleQuestions,{children:r,...a}=e;return jf.jsx(W5,{children:xP(r,n),...a})})),Y5=wB("div",{_id:"aiChatQuickQuestion"}),K5=V.forwardRef(((e,t)=>{const{aiChatSettings:n}=zO(),r=n.isFirstExampleQuestionHighlighted;return jf.jsx(Y5,{ref:t,"data-highlight":wP(r),...e})})),X5=wB("button",{_id:"aiChatQuickQuestionButton"}),Q5=e=>{const{question:t,onClick:n,...r}=e,{handleSubmit:a}=xj();return jf.jsx(X5,{onClick:Q2(n,(()=>a(t))),children:t,...r})};wB("div",{_id:"aiChatWorkflows"});const Z5=wB("h3",{_id:"aiChatWorkflowsLabel"});V.memo((e=>{const{aiChatSettings:t}=zO();return jf.jsx(Z5,{children:t.workflowsHeader,...e})}));const J5=wB("div",{_id:"aiChatWorkflowsList"});V.memo((e=>{const{aiChatSettings:t}=zO(),n=t.workflows,{children:r,...a}=e;return jf.jsx(J5,{children:xP(r,n),...a})})),wB("button",{_id:"aiChatWorkflow"}),wB((function(e){return IV({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 e3=wB("div",{_id:"aiChatMessageWrapper"}),t3=e=>{const{message:t,...n}=e;return"system"===t.role?null:jf.jsx(Hj,{message:t,children:jf.jsx(e3,{"data-role":t.role,...n})})},n3=V.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 jf.jsx(t3,{message:u,...n})})),r3=wB("div",{_id:"aiChatMessageHeader"}),a3=e=>{const{message:t}=zj();return jf.jsx(r3,{"data-role":t.role,...e})},o3=wB("div",{_id:"aiChatMessageLoading"}),i3=e=>{var t;const{isLoading:n,isStreaming:r,messages:a}=xj(),{message:o}=zj();return(null==(t=a.at(-1))?void 0:t.id)===(null==o?void 0:o.id)&&"assistant"===o.role&&n&&!r?jf.jsx(o3,{children:"Thinking...",...e}):null},s3=wB("div",{_id:"aiChatMessageAvatar"}),l3=e=>{const{message:t}=zj();return jf.jsx(s3,{"data-role":t.role,...e})},c3=wB(qB,{_id:"aiChatMessageAvatarContent"}),u3=e=>{const{message:t}=zj(),{baseSettings:n}=zO();return jf.jsx(c3,{"data-username":wP("user"===t.role&&!!n.userProperties.name),"data-role":t.role,...e})},d3=wB(KB,{_id:"aiChatMessageAvatarFallback"}),p3=V.memo((e=>{const{baseSettings:t}=zO(),{message:n}=zj();return t.userProperties.name?jf.jsx(d3,{"data-role":n.role,children:kP(t.userProperties.name),...e}):null})),f3=wB(YB,{_id:"aiChatMessageAvatarImage"}),h3=V.memo((e=>{const{onLoadingStatusChange:t,...n}=e,{aiChatSettings:r,baseSettings:{userProperties:a}}=zO(),{message:o}=zj(),{aiAssistantAvatar:i}=r??{},s="string"==typeof i?i:null==i?void 0:i.light,l=qj(s,("string"==typeof i?i:null==i?void 0:i.dark)??s),[c,u]=V.useState(l);V.useEffect((()=>{u(l)}),[l]);return"user"===o.role?a.name?null:r.userAvatar?jf.jsx(f3,{"data-type":"image","data-role":o.role,src:r.userAvatar,...e}):jf.jsx(PV,{"data-type":"icon","data-role":o.role,...e}):c?jf.jsx(f3,{src:c,"data-type":"image","data-role":o.role,onLoadingStatusChange:Q2(t,(e=>{"error"===e&&u(null)})),...n}):jf.jsx(OV,{"data-type":"icon","data-role":o.role,...e})})),m3=wB("span",{_id:"aiChatMessageName"}),g3=e=>{const{message:t}=zj();return jf.jsx(m3,{"data-role":t.role,children:"user"===t.role?"You":"AI assistant",...e})},y3=wB("div",{_id:"aiChatMessageContentWrapper"}),b3=e=>{const{message:t}=zj();return jf.jsx(y3,{"data-role":t.role,...e})},v3=wB("div",{_id:"aiChatMessageContent"}),w3=e=>{const{message:t}=zj();return jf.jsx(v3,{"data-role":t.role,...e})},k3=wB("div",{_id:"aiChatMessageAttachments"}),x3=wB("div",{_id:"aiChatMessageAttachments__List"}),E3=e=>{var t,n;const{children:r,...a}=e,{message:o}=zj(),i=null==(n=null==(t=o.metadata)?void 0:t.attributes)?void 0:n.attachments;return i?jf.jsx(x3,{children:xP(r,i),...a}):null},S3=wB("div",{_id:"aiChatMessageAttachments__Item"}),_3=e=>{const{attachment:t,onClick:n,...r}=e,{selectItem:a,onOpen:o}=jj();return jf.jsx(Hf,{attachment:t,children:jf.jsx(S3,{onClick:Q2(n,(()=>{a(t),o()})),...r})})},T3=wB(dW,{_id:"aiChatMessageAttachments__ItemIcon"}),C3=e=>{var t;const{attachment:n}=zf(),r=null==(t=n.contentType)?void 0:t.attachmentIcon;return r?jf.jsx(T3,{iconSettings:r,...e}):null},A3=wB("span",{_id:"aiChatMessageAttachments__ItemTitle"}),N3=e=>{const{attachment:t}=zf();return jf.jsx(A3,{children:t.title,...e})},I3=wB(mV,{_id:"aiChatMessageAttachmentsPreview"}),R3=wB(yV,{_id:"aiChatMessageAttachmentsPreview__Overlay"}),O3=wB(bV,{_id:"aiChatMessageAttachmentsPreview__Content","aria-describedby":void 0}),P3=wB(vV,{_id:"aiChatMessageAttachmentsPreview__Header"}),L3=e=>{const{selectedItem:t}=jj();return jf.jsx(P3,{children:(null==t?void 0:t.title)||"Attachment",...e})},D3=wB(wV,{_id:"aiChatMessageAttachmentsPreview__Close",children:jf.jsx(fW,{iconKey:"close"})}),M3=wB("p",{_id:"aiChatMessageAttachmentsPreview__Body"}),F3=e=>{const{selectedItem:t}=jj();return jf.jsx(M3,{children:null==t?void 0:t.content,...e})},j3=wB("div",{_id:"aiChatMessage"}),B3=e=>{const{aiChatSettings:t}=zO(),{componentStyles:n,...r}=e,{message:a}=zj(),{logEvent:o}=iP(),i=EP(a),{conversation:s}=VO();return"user"===a.role?jf.jsx(j3,{"data-role":a.role,children:i,...r}):jf.jsx(j3,{"data-role":a.role,...r,children:jf.jsx(V2,{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}})}})})},H3=wB("div",{_id:"aiChatMessageActions"}),z3=e=>{var t;const{isLoading:n,messages:r}=xj(),{message:a}=zj();return(null==(t=r.at(-1))?void 0:t.id)===(null==a?void 0:a.id)&&n||"user"===a.role?null:jf.jsx(H3,{...e})},U3=wB("div",{_id:"aiChatMessageToolActions"}),$3=e=>{const{children:t,...n}=e,{message:r}=zj(),{messageToolCalls:a}=xj(),o=a[r.id]||[];return jf.jsx(U3,{children:xP(t,o),...n})},G3=e=>{const{onClick:t,action:n,...r}=e,{handleAction:a}=K2(n),o=n.label||"Contact Support",i=jf.jsxs(jf.Fragment,{children:[n.icon&&jf.jsx(dW,{iconSettings:n.icon}),o]}),s=n.action.type,l=wB("open_link"===s?"a":"button",{_id:"aiChatMessageToolAction",children:i,"data-type":n.action.type,..."open_link"===s&&{href:n.action.url,target:"_blank",rel:"noopener"},onClick:Q2(t,(()=>{a()}))});return jf.jsx(l,{...r})},V3=wB("button",{_id:"aiChatMessageAction"}),W3=e=>{var t,n,r;const{action:a,onClick:o,className:i,...s}=e,{conversation:l}=VO(),{message:c}=zj(),{isStreaming:u,messages:d}=xj(),[p,f]=k2(),{feedback:h,submitPositiveFeedback:m,setCurrentFeedback:g,currentFeedback:y}=gD(),{logEvent:b}=iP(),[v,w]=function(){const[e,t]=V.useState(!1);return[e,V.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),S="assistant"===c.role;if(E&&u||!S||{copy:!1,upvote:x,downvote:x}[a])return null;const _={copy(){f(EP(c)),b({eventName:"assistant_message_copied",properties:{conversation:l}})},upvote(){m(c.id).then((()=>{w()}))},downvote(){g(c.id)}},T={copy:jf.jsx(fW,{iconKey:p?"messageCopied":"messageCopy"}),upvote:jf.jsx(fW,{iconKey:v?"messageCopied":"thumbsUp"}),downvote:jf.jsx(fW,{iconKey:"thumbsDown"})},C={copy:{"data-copied":wP(p)},upvote:{"data-upvoted":wP("positive"===(null==(n=h[c.id])?void 0:n.type))},downvote:{"data-downvoted":wP("negative"===(null==(r=h[c.id])?void 0:r.type)),"data-state":null===y?"closed":"open"}};return jf.jsx(V3,{"data-action":a,...C[a],children:T[a],"aria-label":{copy:"Copy Message",upvote:"Upvote Message",downvote:"Downvote Message"}[a],className:`${i} ${a}`,onClick:Q2(o,_[a]),...s})},q3=wB("div",{_id:"aiChatMessageSources"}),Y3=wB("div",{_id:"aiChatMessageSources__Header"}),K3=e=>jf.jsx(Y3,{children:"Sources",...e}),X3=wB("div",{_id:"aiChatMessageSources__List"}),Q3=e=>{const{message:t}=zj(),{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=p5(e,"chatSourceItem",{organizationDisplayName:o,tabs:s,transformSource:a}),n=i||t.shouldOpenInNewTab;return{...t,isExternal:n}}));return jf.jsx(X3,{children:xP(n,l),...r})},Z3=wB(mW,{_id:"aiChatMessageSourceItem"}),J3=e=>{var t;const{source:n,onClick:r,...a}=e,{logEvent:o}=iP(),{conversation:i}=VO();return jf.jsx(lB,{source:n,children:jf.jsx(Z3,{"data-type":n.type,appendToUrl:n.appendToUrl,isExternal:n.isExternal,"data-breadcrumbs":!!(null==(t=n.breadcrumbs)?void 0:t.length),onClick:Q2(r,(()=>{o({eventName:"assistant_source_item_clicked",properties:{conversation:i,link:n}})})),...a})})},e4=wB("div",{_id:"aiChatMessageSourceItem__Breadcrumbs"}),t4=e=>{var t;const{source:n}=cB();return(null==(t=n.breadcrumbs)?void 0:t.length)?jf.jsx(e4,{"data-type":n.type,...e}):null},n4=wB(fW,{_id:"aiChatMessageSourceItem__BreadcrumbIcon",iconKey:"breadcrumbSeparator"}),r4=wB(dW,{_id:"aiChatMessageSourceItem__Icon"}),a4=e=>{const{source:t}=cB();return jf.jsx(r4,{iconSettings:t.icon,"data-type":t.type,...e})},o4=wB("span",{_id:"aiChatMessageSourceItem__Title"}),i4=e=>{const{source:t}=cB();return jf.jsx(o4,{"data-type":t.type,children:t.title,...e})},s4=wB("span",{_id:"aiChatMessageSourceItem__Tag"}),l4=e=>{const{source:t}=cB();return jf.jsx(s4,{"data-type":t.type,...e})},c4=wB("span",{_id:"aiChatMessageSourceItem__Description"}),u4=e=>{const{source:t}=cB(),{children:n,...r}=e,a=V.useMemo((()=>t.description?X2(t.description):[]),[t.description]);return a.length?jf.jsx(c4,{"data-type":t.type,children:xP(n,a),...r}):null},d4=wB("span",{_id:"aiChatMessageSourceItem__DescriptionPart"}),p4=e=>{const{part:t,...n}=e,{source:r}=cB();return"string"==typeof t?t:jf.jsx(d4,{"data-type":r.type,children:t.content,"data-highlighted":wP(t.highlighted),...n})},f4=wB(fW,{_id:"aiChatMessageSourceItem__Indicator"}),h4=e=>{const{source:t}=cB();return jf.jsx(f4,{iconKey:t.isExternal?"openLinkInNewTab":"openLinkInSameTab",...e})},m4=wB("div",{_id:"aiChatFooter"}),g4=wB("div",{_id:"aiChatInput__Fieldset"}),y4=wB("div",{_id:"aiChatInput__Group"}),b4=wB("textarea",{_id:"aiChatInput"}),v4=V.forwardRef((({onChange:e,onKeyDown:t,...n},r)=>{const{handleInputChange:a,handleInputKeyDown:o,input:i,error:s,shouldAutoFocusInput:l,inputRef:c}=xj(),{aiChatSettings:u}=zO(),d=fB(r,c),p=ZL();return V.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]),jf.jsx(b4,{asChild:!0,ref:d,maxLength:99999,placeholder:u.placeholder,value:i,onChange:Q2(e,a),onKeyDown:Q2(t,o),disabled:!!s||u.isViewOnly,...n,children:jf.jsx(MB,{})})})),w4=wB("button",{_id:"aiChatInput__SendButton"}),k4=e=>{const{handleSubmit:t,isSubmitDisabled:n,error:r}=xj(),{aiChatSettings:a}=zO(),{onClick:o,...i}=e;return jf.jsx(w4,{onClick:Q2(o,(()=>t())),"aria-label":"Send message",disabled:n||!!r||a.isViewOnly,...i})},x4=wB(fW,{_id:"aiChatInput__SendButtonIcon",iconKey:"chatSubmit"}),E4=wB("div",{_id:"aiChatAttachmentsBar"}),S4=e=>{var t;const{selectedWorkflow:n}=xj();return n&&(null==(t=n.supportedInputs)?void 0:t.length)?jf.jsx(Sj,{children:jf.jsx(E4,{...e})}):null},_4=wB("div",{_id:"aiChatAttachmentsBar__List"}),T4=e=>{const{children:t,...n}=e,{messageAttachments:r}=xj();return jf.jsx(_4,{children:xP(t,r),...n})},C4=wB("div",{_id:"aiChatAttachmentsBar__Attachment"}),A4=e=>{const{attachment:t,...n}=e;return jf.jsx(Hf,{attachment:t,children:jf.jsx(C4,{...n})})},N4=wB(dW,{_id:"aiChatAttachmentsBar__AttachmentIcon"}),I4=e=>{var t;const{attachment:n}=zf(),r=null==(t=n.contentType)?void 0:t.attachmentIcon;return r?jf.jsx(N4,{iconSettings:r,...e}):null},R4=wB("span",{_id:"aiChatAttachmentsBar__AttachmentTitle"}),O4=e=>{const{attachment:t}=zf();return jf.jsx(R4,{children:t.title,...e})},P4=wB("button",{_id:"aiChatAttachmentsBar__AttachmentDelete"}),L4=e=>{const{onClick:t,...n}=e,{attachment:r}=zf(),{setMessageAttachments:a}=xj();return jf.jsx(P4,{"aria-label":"Remove attachment",children:jf.jsx(fW,{iconKey:"close"}),onClick:Q2(t,(()=>{a((e=>e.filter((e=>e.id!==r.id))))})),...n})},D4=wB("div",{_id:"aiChatAttachmentsBar__Actions"}),M4=wB(rj,{_id:"aiChatAttachmentsBar__InfoTip",delayDuration:0}),F4=wB(yj,{_id:"aiChatAttachmentsBar__InfoTipIcon",children:jf.jsx(fW,{iconKey:"info"})}),j4=wB(vj,{_id:"aiChatAttachmentsBar__InfoTipArrow"}),B4=wB(bj,{_id:"aiChatAttachmentsBar__InfoTipText",side:"bottom",sideOffset:3,align:"center",children:jf.jsxs(jf.Fragment,{children:[jf.jsx(j4,{}),"Attachments will be kept in context for the entire conversation."]})}),H4=wB("div",{_id:"aiChatAttachmentsBar__Inputs"}),z4=e=>{const{children:t,...n}=e,{selectedWorkflow:r}=xj();return(null==r?void 0:r.supportedInputs)?jf.jsx(H4,{children:xP(t,r.supportedInputs),...n}):null},U4=wB("button",{_id:"aiChatAttachmentsBar__Input"}),$4=e=>{const{input:t,onClick:n,...r}=e,{selectedWorkflow:a,messageAttachments:o,setMessageAttachments:i}=xj(),{selectInput:s,onOpen:l}=_j();return jf.jsx(U4,{children:t.displayName,onClick:Q2(n,(()=>{if("FUNCTIONAL_MULTI_ATTACHMENT"===t.type){if(!a)return;return t.onInvoke(a,t,i,[...o])}s(t),l()})),...r})},G4=wB((function(e){return IV({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"}),V4=wB(mV,{_id:"aiChatAttachmentsBar__Modal"}),W4=wB(yV,{_id:"aiChatAttachmentsBar__ModalOverlay"}),q4=wB(bV,{_id:"aiChatAttachmentsBar__ModalContent","aria-describedby":void 0}),Y4=wB("div",{_id:"aiChatAttachmentsBar__ModalHeader"}),K4=wB(vV,{_id:"aiChatAttachmentsBar__ModalHeading"}),X4=e=>{const{selectedInput:t}=_j(),n=`Add ${null==t?void 0:t.displayName}`;return jf.jsx(K4,{children:n,...e})},Q4=wB("span",{_id:"aiChatAttachmentsBar__ModalDescription"}),Z4=e=>{var t;const{selectedInput:n}=_j(),r=null==(t=null==n?void 0:n.workflowModalProps)?void 0:t.modalHelpText;return r?jf.jsx(Q4,{children:r,...e}):null},J4=wB("div",{_id:"aiChatAttachmentsBar__ModalHelp"}),e6=wB(wV,{_id:"aiChatAttachmentsBar__ModalClose",children:jf.jsx(fW,{iconKey:"close"})}),t6=wB("div",{_id:"aiChatAttachmentsBar__ModalBody"}),n6=wB("form",{_id:"aiChatAttachmentsBar__Form"}),r6=e=>{const{onSubmit:t,...n}=e,{form:r}=_j();return jf.jsx(n6,{onSubmit:Q2(t,r.onSubmit),...n})},a6=wB("div",{_id:"aiChatAttachmentsBar__FormTitle",role:"group"}),o6=wB("label",{_id:"aiChatAttachmentsBar__FormTitleLabel"}),i6=e=>{const{form:t,selectedInput:n}=_j();return jf.jsx(o6,{htmlFor:`${null==n?void 0:n.id}-title`,children:t.labels.title,...e})},s6=wB("input",{_id:"aiChatAttachmentsBar__FormTitleInput"}),l6=e=>{const{onChange:t,...n}=e,{form:r,selectedInput:a}=_j();return jf.jsx(s6,{name:"title",value:r.data.title,id:`${null==a?void 0:a.id}-title`,"data-invalid":wP(!!r.errors.title),"aria-invalid":!!r.errors.title,onChange:Q2(t,r.onChange),...n})},c6=wB("span",{_id:"aiChatAttachmentsBar__FormTitleError"}),u6=e=>{const{form:t}=_j();return t.errors.title?jf.jsx(c6,{"aria-live":"polite",children:t.errors.title,...e}):null},d6=wB("div",{_id:"aiChatAttachmentsBar__FormTitle",role:"group"}),p6=wB("label",{_id:"aiChatAttachmentsBar__FormContentLabel"}),f6=e=>{const{form:t,selectedInput:n}=_j();return jf.jsx(p6,{htmlFor:`${null==n?void 0:n.id}-content`,children:t.labels.content,...e})},h6=wB("textarea",{_id:"aiChatAttachmentsBar__FormTitleInput"}),m6=e=>{const{onChange:t,...n}=e,{form:r,selectedInput:a}=_j();return jf.jsx(h6,{asChild:!0,rows:4,name:"content",value:r.data.content,id:`${null==a?void 0:a.id}-content`,"data-invalid":wP(!!r.errors.content),"aria-invalid":!!r.errors.content,onChange:Q2(t,r.onChange),...n,children:jf.jsx(MB,{maxRows:10})})},g6=wB("span",{_id:"aiChatAttachmentsBar__FormContentError"}),y6=e=>{const{form:t}=_j();return t.errors.content?jf.jsx(g6,{"aria-live":"polite",children:t.errors.content,...e}):null},b6=wB("button",{_id:"aiChatAttachmentsBar__FormSubmitButton",children:"Upload",type:"submit"}),v6=wB("div",{_id:"aiChatActionBar"}),w6=wB("div",{_id:"aiChat__ChatActions"}),k6=wB("div",{_id:"aiChatTagline__Container"}),x6=wB("span",{_id:"aiChatTagline__Text",children:"Powered by"}),E6=wB(Y2,{_id:"aiChatTagline__Logo"}),S6=wB("a",{_id:"aiChatTagline__BrandName",children:"inkeep",href:"https://www.inkeep.com/",target:"_blank",rel:"noopener noreferrer"}),_6=wB("div",{_id:"aiChat__ChatAction"}),T6=e=>{const{action:t,onClick:n,className:r,...a}=e,{clear:o,stop:i,isLoading:s,messages:l,selectedWorkflow:c}=xj(),{conversation:u}=VO(),{aiChatSettings:d,baseSettings:p}=zO(),{logEvent:f}=iP(),[h,m]=k2(),[g,y]=k2();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=EP(e),o=dP(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,id:Date.now().toString()+e.id,conversationId:void 0})))},{apiKey:t,analyticsApiBaseUrl:n}=p,r=await ob("",e,t,n);if(r){const e=`${d.shareChatUrlBasePath}?${UO}=${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 jf.jsx(rj,{delayDuration:0,open:v[t],children:jf.jsx(_6,{"data-type":t,"data-copied":wP(h||g),className:`${r} ${t}`,children:jf.jsx(A6,{action:t}),onClick:Q2(n,b[t]),...a})})},C6=wB(yj,{_id:"aiChat__ChatActionLabel"}),A6=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 jf.jsx(C6,{children:o[t],...n})},N6=wB(cj,{_id:"aiChat__ChatActionFeeback"}),I6=e=>{const{action:t,children:n,...r}=e;return jf.jsxs(N6,{sideOffset:5,...r,children:[jf.jsx(vj,{}),n||{copy:"Copied!",share:"Link copied!"}[t]]})},R6=wB(jz,{_id:"aiChatHelpActions"}),O6=wB(T6,{_id:"aiChatHelpAction"}),P6=e=>{const{action:t,onClick:n,...r}=e,{handleAction:a,logHelpAction:o}=K2(t),i=t.action.type,s="open_link"===i?jf.jsx("a",{href:t.action.url,target:"_blank",rel:"noreferrer",children:t.name}):t.name;return jf.jsx(O6,{action:"help","aria-label":t.name,"data-name":t.name,children:s,asChild:"open_link"===i,onClick:Q2(n,(()=>{a(),o()})),...r})},L6=wB(Bz,{_id:"aiChatHelpActions__Trigger"}),D6=V.memo((e=>{var t;const{aiChatSettings:n}=zO();return jf.jsx(T6,{action:"help",...e,asChild:!0,children:jf.jsx(L6,{children:(null==(t=n.toolbarButtonLabels)?void 0:t.getHelp)??"Get Help"})})})),M6=wB(Hz,{_id:"aiChatHelpActions__Menu"}),F6=e=>jf.jsx(M6,{side:"top",sideOffset:8,align:"center",alignOffset:-10,...e}),j6=wB(zz,{_id:"aiChatHelpActions__MenuArrow"}),B6=e=>{const{action:t,onClick:n,...r}=e,{handleAction:a,logHelpAction:o}=K2(t),{setOpen:i}=(()=>{const e=V.useContext(Oj);if(!e)throw new Error("useHelpMenu must be used within a HelpMenuProvider");return e})(),s=t.action.type,l=wB("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:Q2(n,(()=>{a({onOpenForm:()=>i(!1)}),o()}))});return jf.jsx(l,{...r})},H6=wB(dW,{_id:"aiChatHelpActions_MenuItemIcon"}),z6=e=>{const{action:t,...n}=e;return t.icon?jf.jsx(H6,{iconSettings:t.icon,...n}):null},U6=wB(mV,{_id:"aiChatFeedbackModal"}),$6=wB(yV,{_id:"aiChatFeedbackModal__Overlay"}),G6=wB(bV,{_id:"aiChatFeedbackModal__Content","aria-describedby":void 0}),V6=wB(vV,{_id:"aiChatFeedbackModal__Header",children:"Help improve my answers!"}),W6=wB(wV,{_id:"aiChatFeedbackModal__Close",children:jf.jsx(fW,{iconKey:"close"})}),q6=wB("div",{_id:"aiChatFeedbackModal__Body"}),Y6=wB("form",{_id:"aiChatFeedbackForm"}),K6=e=>{const{onSubmit:t,...n}=e,{submitNegativeFeedback:r,currentFeedback:a,setCurrentFeedback:o}=gD();return jf.jsx(Y6,{onSubmit:Q2(t,(e=>{e.preventDefault();const t=e.target,n=new FormData(t),i=Object.fromEntries(n.entries());a&&(r(a,i),o(null))})),...n})},X6=wB("div",{_id:"aiChatFeedbackItem"}),Q6=e=>{const{name:t,...n}=e;return jf.jsx(Cj,{name:t,children:jf.jsx(X6,{...n})})},Z6=wB(lH,{_id:"aiChatFeedbackItem__Checkbox"}),J6=e=>{const{name:t,focusItem:n}=Aj(),{onCheckedChange:r,...a}=e;return jf.jsx(Z6,{id:`feedback-${t}`,name:t,onCheckedChange:Q2(r,(e=>{var t;e&&(null==(t=null==n?void 0:n.current)||t.focus())})),...a})},e8=wB(cH,{_id:"aiChatFeedbackItem__CheckboxIndicator",children:jf.jsx(q2,{})}),t8=wB("label",{_id:"aiChatFeedbackItem__Label"}),n8=e=>{const{name:t}=Aj();return jf.jsx(t8,{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})},r8=wB("textarea",{_id:"aiChatFeedbackItem__Description",placeholder:"Please describe"}),a8=e=>{const{name:t,focusItem:n}=Aj();return jf.jsx(r8,{ref:n,name:`${t}:description`,...e})},o8=wB("button",{_id:"aiChatFeedbackForm__SubmitButton",children:"Submit",type:"submit"}),i8=wB("div",{_id:"aiChatForm__Wrapper"}),s8=e=>{const{form:t}=rD();return t?jf.jsx(i8,{...e}):null},l8=wB("form",{_id:"aiChatForm"}),c8=e=>{const{onSubmit:t,...n}=e,{handleSubmit:r,isSuccess:a}=rD();return a?null:jf.jsx(l8,{onSubmit:Q2(t,r),...n})},u8=wB("button",{_id:"aiChatForm__Close",children:jf.jsx(fW,{iconKey:"close"})}),d8=e=>{const{onClick:t,...n}=e,{closeForm:r}=rD();return jf.jsx(u8,{onClick:Q2(t,r),...n})},p8=wB("div",{_id:"aiChatForm__Header"}),f8=wB("h2",{_id:"aiChatForm__Heading"}),h8=e=>{const{form:t}=rD();return(null==t?void 0:t.heading)?jf.jsx(f8,{children:t.heading,...e}):null},m8=wB("span",{_id:"aiChatForm__Description"}),g8=e=>{const{form:t}=rD();return(null==t?void 0:t.description)?jf.jsx(m8,{children:t.description,...e}):null},y8=wB("div",{_id:"aiChatForm__Content"}),b8=e=>{const{children:t,...n}=e,{fields:r=[]}=rD();return jf.jsx(y8,{children:xP(t,r),...n})},v8=wB("div",{_id:"aiChatForm__Field"}),w8=e=>{const{field:t,autoFocus:n,...r}=e,{control:a,errors:o}=rD();return jf.jsx(fL,{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 jf.jsx(Ij,{"data-invalid":wP(!!o[t.name]),field:t,fieldProps:e,autoFocus:n,children:a&&jf.jsx(v8,{"data-input-type":t.inputType,"data-hidden":wP(t.isHidden),...r})})}})},k8=wB("label",{_id:"aiChatForm__FieldLabel"}),x8=e=>{const{field:t}=Rj();return jf.jsx(k8,{"data-required":wP(t.isRequired),htmlFor:t.name,children:t.label,...e})},E8=wB("input",{_id:"aiChatForm__FieldText",type:"text"}),S8=e=>{const{field:t,error:n,fieldProps:{onChange:r,onBlur:a,...o},autoFocus:i}=Rj(),{onChange:s,onBlur:l,...c}=e;return jf.jsx(E8,{id:t.name,autoFocus:i,placeholder:"placeholder"in t?t.placeholder:void 0,"data-invalid":wP(!!n),onChange:Q2(s,r),onBlur:Q2(l,a),...o,...c})},_8=wB(S8,{_id:"aiChatForm__FieldEmail",type:"email"}),T8=wB("input",{_id:"aiChatForm__FieldFile",type:"file",multiple:!0}),C8=e=>{const{field:t,error:n,fieldProps:{value:r,onChange:a,onBlur:o,...i},autoFocus:s}=Rj(),{onChange:l,onBlur:c,...u}=e;return jf.jsx(T8,{id:t.name,autoFocus:s,"data-value":r,"data-invalid":wP(!!n),...u,...i,onChange:Q2(l,(e=>{const t=e.target.files;a(t)})),onBlur:Q2(c,o)})},A8=wB(S8,{_id:"aiChatForm__FieldTextArea",type:"textarea",asChild:!0,children:jf.jsx(MB,{maxRows:8})}),N8=wB(lH,{_id:"aiChatForm__FieldCheckbox"}),I8=e=>{const{field:t,error:n,fieldProps:r,autoFocus:a}=Rj(),{onCheckedChange:o,...i}=e;return jf.jsx(N8,{id:t.name,name:t.name,autoFocus:a,"data-invalid":wP(!!n),checked:r.value,onCheckedChange:Q2(o,r.onChange),...i})},R8=wB(cH,{_id:"aiChatForm__FieldCheckboxIndicator",children:jf.jsx(q2,{})}),O8=wB(IG,{_id:"aiChatForm__FieldSelect"}),P8=wB(RG,{_id:"aiChatForm__FieldSelect__Trigger"}),L8=wB(OG,{_id:"aiChatForm__FieldSelect__Value"}),D8=wB(PG,{_id:"aiChatForm__FieldSelect__Icon",asChild:!0,children:jf.jsx(dW,{iconSettings:{builtIn:"LuChevronDown"}})}),M8=wB(LG,{_id:"aiChatForm__FieldSelect__Content",position:"popper"}),F8=wB(DG,{_id:"aiChatForm__FieldSelect__Viewport"}),j8=wB(MG,{_id:"aiChatForm__FieldSelect__Item"}),B8=wB(FG,{_id:"aiChatForm__FieldSelect__ItemText"}),H8=wB(jG,{_id:"aiChatForm__FieldSelect__ItemIndicator",asChild:!0,children:jf.jsx(dW,{iconSettings:{builtIn:"LuCheck"}})}),z8=wB("span",{_id:"aiChatForm__FieldError"}),U8=e=>{var t;const{error:n}=Rj();return n?jf.jsx(z8,{children:null==(t=n.message)?void 0:t.toString(),...e}):null},$8=wB("span",{_id:"aiChatForm__Error"}),G8=e=>{const{formError:t}=rD();return t?jf.jsx($8,{children:t.message,...e}):null},V8=wB("div",{_id:"aiChatForm__Footer"}),W8=wB("button",{_id:"aiChatForm__Cancel",children:"Cancel"}),q8=e=>{const{onClick:t,...n}=e,{closeForm:r}=rD();return jf.jsx(W8,{onClick:Q2(t,r),...n})},Y8=wB("button",{_id:"aiChatForm__Submit",children:"Submit",type:"submit"}),K8=e=>{const{onClick:t,...n}=e,{isSubmitting:r}=rD();return jf.jsx(Y8,{disabled:r,...n})},X8=wB("div",{_id:"aiChatForm__Success"}),Q8=e=>{const{isSuccess:t}=rD();return t?jf.jsx(X8,{...e}):null},Z8=wB("h2",{_id:"aiChatForm__SuccessHeading"}),J8=e=>{const{form:t}=rD();return jf.jsx(Z8,{children:null==t?void 0:t.successView.heading,...e})},e9=wB(V2,{_id:"aiChatForm__SuccessMessage"}),t9=wB("button",{_id:"aiChatForm__SuccessButton"}),n9=e=>{var t;const{onClick:n,...r}=e,{form:a,closeForm:o}=rD(),i=null==(t=null==a?void 0:a.successView)?void 0:t.doneButton;if(!i)return null;const s=i.icon&&jf.jsx(dW,{iconSettings:i.icon}),l=i.label;return jf.jsx(t9,{onClick:Q2(n,o),children:jf.jsxs(jf.Fragment,{children:[s,l]}),...r})};var r9=.999,a9=/[\\\/_+.#"@\[\(\{&]/,o9=/[\\\/_+.#"@\[\(\{&]/g,i9=/[\s-]/,s9=/[\s-]/g;function l9(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=l9(e,t,n,r,f+1,o+1,i))>h&&(f===a?l*=1:a9.test(e.charAt(f-1))?(l*=.8,(u=e.slice(a,f-1).match(o9))&&a>0&&(l*=Math.pow(r9,u.length))):i9.test(e.charAt(f-1))?(l*=.9,(d=e.slice(a,f-1).match(s9))&&a>0&&(l*=Math.pow(r9,d.length))):(l*=.17,a>0&&(l*=Math.pow(r9,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=l9(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 c9(e){return e.toLowerCase().replace(s9," ")}function u9(e,t,n){return l9(e=n&&n.length>0?""+(e+" "+n.join(" ")):e,t,c9(e),c9(t),0,0,{})}var d9={exports:{}},p9={},f9=V;var h9="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},m9=f9.useState,g9=f9.useEffect,y9=f9.useLayoutEffect,b9=f9.useDebugValue;function v9(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!h9(e,n)}catch(r){return!0}}var w9="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var n=t(),r=m9({inst:{value:n,getSnapshot:t}}),a=r[0].inst,o=r[1];return y9((function(){a.value=n,a.getSnapshot=t,v9(a)&&o({inst:a})}),[e,n,t]),g9((function(){return v9(a)&&o({inst:a}),e((function(){v9(a)&&o({inst:a})}))}),[e]),b9(n),n};p9.useSyncExternalStore=void 0!==f9.useSyncExternalStore?f9.useSyncExternalStore:w9,d9.exports=p9;var k9=d9.exports,x9='[cmdk-group=""]',E9='[cmdk-group-items=""]',S9='[cmdk-item=""]',_9=`${S9}:not([aria-disabled="true"])`,T9="cmdk-item-select",C9="data-value",A9=(e,t,n)=>u9(e,t,n),N9=V.createContext(void 0),I9=()=>V.useContext(N9),R9=V.createContext(void 0),O9=()=>V.useContext(R9),P9=V.createContext(void 0),L9=V.forwardRef(((e,t)=>{let n=Y9((()=>{var t,n;return{search:"",value:null!=(n=null!=(t=e.value)?t:e.defaultValue)?n:"",filtered:{count:0,items:new Map,groups:new Set}}})),r=Y9((()=>new Set)),a=Y9((()=>new Map)),o=Y9((()=>new Map)),i=Y9((()=>new Set)),s=W9(e),{label:l,children:c,value:u,onValueChange:d,filter:p,shouldFilter:f,loop:h,disablePointerSelection:m=!1,vimBindings:g=!0,...y}=e,b=OO(),v=OO(),w=OO(),k=V.useRef(null),x=Z9();q9((()=>{if(void 0!==u){let e=u.trim();n.current.value=e,E.emit()}}),[u]),q9((()=>{x(6,N)}),[]);let E=V.useMemo((()=>({subscribe:e=>(i.current.add(e),()=>i.current.delete(e)),snapshot:()=>n.current,setState:(e,t,r)=>{var a,o,i;if(!Object.is(n.current[e],t)){if(n.current[e]=t,"search"===e)A(),T(),x(1,C);else if("value"===e&&(r||x(5,N),void 0!==(null==(a=s.current)?void 0:a.value))){let e=null!=t?t:"";return void(null==(i=(o=s.current).onValueChange)||i.call(o,e))}E.emit()}},emit:()=>{i.current.forEach((e=>e()))}})),[]),S=V.useMemo((()=>({value:(e,t,r)=>{var a;t!==(null==(a=o.current.get(e))?void 0:a.value)&&(o.current.set(e,{value:t,keywords:r}),n.current.filtered.items.set(e,_(t,r)),x(2,(()=>{T(),E.emit()})))},item:(e,t)=>(r.current.add(e),t&&(a.current.has(t)?a.current.get(t).add(e):a.current.set(t,new Set([e]))),x(3,(()=>{A(),T(),n.current.value||C(),E.emit()})),()=>{o.current.delete(e),r.current.delete(e),n.current.filtered.items.delete(e);let t=I();x(4,(()=>{A(),(null==t?void 0:t.getAttribute("id"))===e&&C(),E.emit()}))}),group:e=>(a.current.has(e)||a.current.set(e,new Set),()=>{o.current.delete(e),a.current.delete(e)}),filter:()=>s.current.shouldFilter,label:l||e["aria-label"],getDisablePointerSelection:()=>s.current.disablePointerSelection,listId:b,inputId:w,labelId:v,listInnerRef:k})),[]);function _(e,t){var r,a;let o=null!=(a=null==(r=s.current)?void 0:r.filter)?a:A9;return e?o(e,n.current.search,t):0}function T(){if(!n.current.search||!1===s.current.shouldFilter)return;let e=n.current.filtered.items,t=[];n.current.filtered.groups.forEach((n=>{let r=a.current.get(n),o=0;r.forEach((t=>{let n=e.get(t);o=Math.max(n,o)})),t.push([n,o])}));let r=k.current;R().sort(((t,n)=>{var r,a;let o=t.getAttribute("id"),i=n.getAttribute("id");return(null!=(r=e.get(i))?r:0)-(null!=(a=e.get(o))?a:0)})).forEach((e=>{let t=e.closest(E9);t?t.appendChild(e.parentElement===t?e:e.closest(`${E9} > *`)):r.appendChild(e.parentElement===r?e:e.closest(`${E9} > *`))})),t.sort(((e,t)=>t[1]-e[1])).forEach((e=>{var t;let n=null==(t=k.current)?void 0:t.querySelector(`${x9}[${C9}="${encodeURIComponent(e[0])}"]`);null==n||n.parentElement.appendChild(n)}))}function C(){let e=R().find((e=>"true"!==e.getAttribute("aria-disabled"))),t=null==e?void 0:e.getAttribute(C9);E.setState("value",t||void 0)}function A(){var e,t,i,l;if(!n.current.search||!1===s.current.shouldFilter)return void(n.current.filtered.count=r.current.size);n.current.filtered.groups=new Set;let c=0;for(let a of r.current){let r=_(null!=(t=null==(e=o.current.get(a))?void 0:e.value)?t:"",null!=(l=null==(i=o.current.get(a))?void 0:i.keywords)?l:[]);n.current.filtered.items.set(a,r),r>0&&c++}for(let[r,o]of a.current)for(let e of o)if(n.current.filtered.items.get(e)>0){n.current.filtered.groups.add(r);break}n.current.filtered.count=c}function N(){var e,t,n;let r=I();r&&((null==(e=r.parentElement)?void 0:e.firstChild)===r&&(null==(n=null==(t=r.closest(x9))?void 0:t.querySelector('[cmdk-group-heading=""]'))||n.scrollIntoView({block:"nearest"})),r.scrollIntoView({block:"nearest"}))}function I(){var e;return null==(e=k.current)?void 0:e.querySelector(`${S9}[aria-selected="true"]`)}function R(){var e;return Array.from((null==(e=k.current)?void 0:e.querySelectorAll(_9))||[])}function O(e){let t=R()[e];t&&E.setState("value",t.getAttribute(C9))}function P(e){var t;let n=I(),r=R(),a=r.findIndex((e=>e===n)),o=r[a+e];null!=(t=s.current)&&t.loop&&(o=a+e<0?r[r.length-1]:a+e===r.length?r[0]:r[a+e]),o&&E.setState("value",o.getAttribute(C9))}function L(e){let t,n=I(),r=null==n?void 0:n.closest(x9);for(;r&&!t;)r=e>0?G9(r,x9):V9(r,x9),t=null==r?void 0:r.querySelector(_9);t?E.setState("value",t.getAttribute(C9)):P(e)}let D=()=>O(R().length-1),M=e=>{e.preventDefault(),e.metaKey?D():e.altKey?L(1):P(1)},F=e=>{e.preventDefault(),e.metaKey?O(0):e.altKey?L(-1):P(-1)};return V.createElement(Wz.div,{ref:t,tabIndex:-1,...y,"cmdk-root":"",onKeyDown:e=>{var t;if(null==(t=y.onKeyDown)||t.call(y,e),!e.defaultPrevented)switch(e.key){case"n":case"j":g&&e.ctrlKey&&M(e);break;case"ArrowDown":M(e);break;case"p":case"k":g&&e.ctrlKey&&F(e);break;case"ArrowUp":F(e);break;case"Home":e.preventDefault(),O(0);break;case"End":e.preventDefault(),D();break;case"Enter":if(!e.nativeEvent.isComposing&&229!==e.keyCode){e.preventDefault();let t=I();if(t){let e=new Event(T9);t.dispatchEvent(e)}}}}},V.createElement("label",{"cmdk-label":"",htmlFor:S.inputId,id:S.labelId,style:e7},l),J9(e,(e=>V.createElement(R9.Provider,{value:E},V.createElement(N9.Provider,{value:S},e)))))})),D9=V.forwardRef(((e,t)=>{var n,r;let a=OO(),o=V.useRef(null),i=V.useContext(P9),s=I9(),l=W9(e),c=null!=(r=null==(n=l.current)?void 0:n.forceMount)?r:null==i?void 0:i.forceMount;q9((()=>{if(!c)return s.item(a,null==i?void 0:i.id)}),[c]);let u=Q9(a,o,[e.value,e.children,o],e.keywords),d=O9(),p=X9((e=>e.value&&e.value===u.current)),f=X9((e=>!(!c&&!1!==s.filter())||(!e.search||e.filtered.items.get(a)>0)));function h(){var e,t;m(),null==(t=(e=l.current).onSelect)||t.call(e,u.current)}function m(){d.setState("value",u.current,!0)}if(V.useEffect((()=>{let t=o.current;if(t&&!e.disabled)return t.addEventListener(T9,h),()=>t.removeEventListener(T9,h)}),[f,e.onSelect,e.disabled]),!f)return null;let{disabled:g,value:y,onSelect:b,forceMount:v,keywords:w,...k}=e;return V.createElement(Wz.div,{ref:K9([o,t]),...k,id:a,"cmdk-item":"",role:"option","aria-disabled":!!g,"aria-selected":!!p,"data-disabled":!!g,"data-selected":!!p,onPointerMove:g||s.getDisablePointerSelection()?void 0:m,onClick:g?void 0:h},e.children)})),M9=V.forwardRef(((e,t)=>{let{heading:n,children:r,forceMount:a,...o}=e,i=OO(),s=V.useRef(null),l=V.useRef(null),c=OO(),u=I9(),d=X9((e=>!(!a&&!1!==u.filter())||(!e.search||e.filtered.groups.has(i))));q9((()=>u.group(i)),[]),Q9(i,s,[e.value,e.heading,l]);let p=V.useMemo((()=>({id:i,forceMount:a})),[a]);return V.createElement(Wz.div,{ref:K9([s,t]),...o,"cmdk-group":"",role:"presentation",hidden:!d||void 0},n&&V.createElement("div",{ref:l,"cmdk-group-heading":"","aria-hidden":!0,id:c},n),J9(e,(e=>V.createElement("div",{"cmdk-group-items":"",role:"group","aria-labelledby":n?c:void 0},V.createElement(P9.Provider,{value:p},e)))))})),F9=V.forwardRef(((e,t)=>{let{alwaysRender:n,...r}=e,a=V.useRef(null),o=X9((e=>!e.search));return n||o?V.createElement(Wz.div,{ref:K9([a,t]),...r,"cmdk-separator":"",role:"separator"}):null})),j9=V.forwardRef(((e,t)=>{let{onValueChange:n,...r}=e,a=null!=e.value,o=O9(),i=X9((e=>e.search)),s=X9((e=>e.value)),l=I9(),c=V.useMemo((()=>{var e;let t=null==(e=l.listInnerRef.current)?void 0:e.querySelector(`${S9}[${C9}="${encodeURIComponent(s)}"]`);return null==t?void 0:t.getAttribute("id")}),[]);return V.useEffect((()=>{null!=e.value&&o.setState("search",e.value)}),[e.value]),V.createElement(Wz.input,{ref:t,...r,"cmdk-input":"",autoComplete:"off",autoCorrect:"off",spellCheck:!1,"aria-autocomplete":"list",role:"combobox","aria-expanded":!0,"aria-controls":l.listId,"aria-labelledby":l.labelId,"aria-activedescendant":c,id:l.inputId,type:"text",value:a?e.value:i,onChange:e=>{a||o.setState("search",e.target.value),null==n||n(e.target.value)}})})),B9=V.forwardRef(((e,t)=>{let{children:n,label:r="Suggestions",...a}=e,o=V.useRef(null),i=V.useRef(null),s=I9();return V.useEffect((()=>{if(i.current&&o.current){let e,t=i.current,n=o.current,r=new ResizeObserver((()=>{e=requestAnimationFrame((()=>{let e=t.offsetHeight;n.style.setProperty("--cmdk-list-height",e.toFixed(1)+"px")}))}));return r.observe(t),()=>{cancelAnimationFrame(e),r.unobserve(t)}}}),[]),V.createElement(Wz.div,{ref:K9([o,t]),...a,"cmdk-list":"",role:"listbox","aria-label":r,id:s.listId},J9(e,(e=>V.createElement("div",{ref:K9([i,s.listInnerRef]),"cmdk-list-sizer":""},e))))})),H9=V.forwardRef(((e,t)=>{let{open:n,onOpenChange:r,overlayClassName:a,contentClassName:o,container:i,...s}=e;return V.createElement(mV,{open:n,onOpenChange:r},V.createElement(gV,{container:i},V.createElement(yV,{"cmdk-overlay":"",className:a}),V.createElement(bV,{"aria-label":e.label,"cmdk-dialog":"",className:o},V.createElement(L9,{ref:t,...s}))))})),z9=V.forwardRef(((e,t)=>X9((e=>0===e.filtered.count))?V.createElement(Wz.div,{ref:t,...e,"cmdk-empty":"",role:"presentation"}):null)),U9=V.forwardRef(((e,t)=>{let{progress:n,children:r,label:a="Loading...",...o}=e;return V.createElement(Wz.div,{ref:t,...o,"cmdk-loading":"",role:"progressbar","aria-valuenow":n,"aria-valuemin":0,"aria-valuemax":100,"aria-label":a},J9(e,(e=>V.createElement("div",{"aria-hidden":!0},e))))})),$9=Object.assign(L9,{List:B9,Item:D9,Input:j9,Group:M9,Separator:F9,Dialog:H9,Empty:z9,Loading:U9});function G9(e,t){let n=e.nextElementSibling;for(;n;){if(n.matches(t))return n;n=n.nextElementSibling}}function V9(e,t){let n=e.previousElementSibling;for(;n;){if(n.matches(t))return n;n=n.previousElementSibling}}function W9(e){let t=V.useRef(e);return q9((()=>{t.current=e})),t}var q9="undefined"==typeof window?V.useEffect:V.useLayoutEffect;function Y9(e){let t=V.useRef();return void 0===t.current&&(t.current=e()),t}function K9(e){return t=>{e.forEach((e=>{"function"==typeof e?e(t):null!=e&&(e.current=t)}))}}function X9(e){let t=O9(),n=()=>e(t.snapshot());return k9.useSyncExternalStore(t.subscribe,n,n)}function Q9(e,t,n,r=[]){let a=V.useRef(),o=I9();return q9((()=>{var i;let s=(()=>{var e;for(let 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(C9,s),a.current=s})),a}var Z9=()=>{let[e,t]=V.useState(),n=Y9((()=>new Map));return q9((()=>{n.current.forEach((e=>e())),n.current=new Map}),[e]),(e,r)=>{n.current.set(e,r),t({})}};function J9({asChild:e,children:t},n){return e&&V.isValidElement(t)?V.cloneElement(function(e){let 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)}var e7={position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0"};function t7(e,t,n){try{const r=new URL(e);return r.searchParams.set(n,t),r.toString()}catch{return e}}const n7=e=>{var t,n,r;switch(e.rootRecord.__typename){case"DocumentationRecord":{const a=a7((null==(n=null==(t=e.pathHeadings)?void 0:t.at(-1))?void 0:n.content)||""),o=a7((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}},r7=e=>{switch(e.rootRecord.__typename){case"StackOverflowRecord":return e.rootRecord.markedAsCorrectAnswer?"Resolved":void 0;case"GitHubIssueRecord":return"CLOSED"===e.rootRecord.state?"Closed":void 0}},a7=e=>e.replace(/(https?:\/\/\S+)/g,(e=>{const t=e.split("/");return t.length>3?`...${t.slice(-2).join("/")}`:e})),o7=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"}},i7=V.createContext(void 0),s7=({children:e})=>{const{logEvent:t}=nP();return jf.jsx(i7.Provider,{value:{logEvent:t},children:e})},l7=({children:e})=>jf.jsx(tP,{children:jf.jsx(s7,{children:e})}),c7=()=>{const e=V.useContext(i7);if(!e)throw new Error("useSearchEvents must be used within a SearchEventsProvider");return e};const u7=()=>{const{baseSettings:e,searchSettings:t}=zO(),{apiKey:n,aiApiBaseUrl:r,userAuthToken:a}=e,{maxResults:o,placeholder:i,defaultQuery:s,debounceTimeMs:l,onQueryChange:c,searchFunctionsRef:u}=t,{logEvent:d}=c7(),[p,f]=V.useState(s),h=V.useRef(null),[m,g]=V.useState(!1),[y,b]=V.useState(null),[v,w]=V.useState("NONE"),k=V.useCallback((e=>{w(e)}),[]),[x,E]=V.useState([]),S=((e,t)=>{const{baseSettings:{transformSource:n,organizationDisplayName:r},searchSettings:{tabs:a,searchQueryParamKey:o,shouldOpenLinksInNewTab:i}}=zO();return V.useMemo((()=>{var s;const l=a.length>0?a:["All"],c={},u=new Set,d=l.map((e=>"string"==typeof e?e:e[0]));for(const e of d)c[e]=[];for(const p of e){const e=p.url||"";if(u.has(e))continue;u.add(e);const s=t7(e,t,o),l=p5({title:p.title,url:s,description:n7(p),type:o7(p.rootRecord.__typename),tag:r7(p),breadcrumbs:p.rootRecord.pathBreadcrumbs??[],contentType:p.rootRecord.contentType},"searchResultItem",{organizationDisplayName:r,tabs:a,transformSource:n}),f={...l,id:p.id,isExternal:i||!!l.shouldOpenInNewTab},h=f.tabs||[];for(const t of h){const e="string"==typeof t?t:t[0];d.includes(e)?c[e].push(f):console.warn(`Tab "${e}" found in item but not configured in tabs`)}d.includes("All")&&c.All.push(f)}for(const e of Object.keys(c)){const t=l.find((t=>"string"==typeof t?t===e:t[0]===e)),n="object"==typeof t&&!0===(null==(s=t[1])?void 0:s.isAlwaysVisible);0!==c[e].length||n||delete c[e]}return c}),[e,n,r,a,t,o,i])})(x,p),[_,T]=V.useState("All"),{disableTransition:C,disabled:A}=function(){const[e,t]=V.useState(!1);V.useEffect((()=>{if(e){const e=setTimeout((()=>t(!1)),0);return()=>clearTimeout(e)}}),[e]);const n=V.useCallback((()=>t(!0)),[]);return{disabled:e,disableTransition:n}}(),N=V.useCallback((e=>{C(),T(e),w(S[e][0].id)}),[S,C]);V.useEffect((()=>{var e,t;let n=_ in S?_:Object.keys(S)[0];if(!(null==(e=S[n])?void 0:e.length)){const e=Object.keys(S).find((e=>{var t;return null==(t=S[e])?void 0:t.length}));n=e||"All"}if(!n)return;T(n);const r=null==(t=S[n])?void 0:t[0];r&&w(r.id)}),[S]);const I=sD("(max-width: 768px)"),R=V.useRef({}),O=V.useRef(null),P=V.useRef(null);V.useImperativeHandle(u,(()=>({updateQuery(e){f(e)},focusInput:()=>{var e;null==(e=h.current)||e.focus()}})));const L=`${r}/graphql`,D=V.useMemo((()=>({Authorization:`Bearer ${n}`,"Content-Type":"application/json",...a?{"User-Token":a}:{}})),[n,a]),M=V.useCallback((async e=>{O.current&&O.current.abort();const t=new AbortController;O.current=t;try{g(!0),b(null);const t=await async function(e,t,n,r){var a;const o=await fetch(e,{method:"POST",headers:{"Content-Type":"application/json",...r},body:JSON.stringify({query:t,variables:n})});if(!o.ok)throw new Error(`Network response was not OK (status: ${o.status})`);const i=await o.json();if(null==(a=i.errors)?void 0:a.length)throw new Error(i.errors[0].message);return i.data}(L,"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 }\n }\n pathHeadings {\n content\n }\n content {\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:e},D),n=null==t?void 0:t.search.searchHits;R.current[e.searchQuery]=n,E(n)}catch(xse){if("AbortError"===xse.name)return;b("Failed to fetch search results. Please try again.")}g(!1)}),[L,D]),F=V.useCallback((e=>{const t=R.current[e.searchQuery];d({eventName:"search_query_response_received",properties:{searchQuery:e.searchQuery,totalResults:null==t?void 0:t.length}})}),[]),j=V.useCallback((e=>{if(P.current&&window.clearTimeout(P.current),!e.searchQuery)return E([]),void b(null);P.current=window.setTimeout((()=>{d({eventName:"search_query_submitted",properties:{searchQuery:e.searchQuery}}),R.current[e.searchQuery]?(E(R.current[e.searchQuery]),F(e)):M(e).then((()=>{F(e)}))}),l)}),[l,M]),B=V.useMemo((()=>({searchQuery:p,filters:{limit:o}})),[p,o]);V.useEffect((()=>{null==c||c(B.searchQuery),j(B)}),[j,B]);const H=V.useCallback((e=>f(e.target.value)),[]),z=V.useMemo((()=>i||(I?"Search...":"Search for anything...")),[i,I]);return{results:S,resultsList:x,hasContent:x.length>0||m,loading:m,error:y,query:p,onInput:H,placeholder:z,tab:_,onTabChange:N,selectedItem:v,setSelectedItem:w,onSelectedItemChange:k,transitionsDisabled:A,inputRef:h,isMobile:I}},d7=V.createContext(void 0),p7=e=>jf.jsx(l7,{children:jf.jsx(f7,{...e})}),f7=({children:e,...t})=>{const n=u7();return jf.jsx(d7.Provider,{value:{...n,...t},children:e})},h7=()=>{const e=V.useContext(d7);if(!e)throw new Error("useSearch must be used within a SearchProvider");return e};var m7="rovingFocusGroup.onEntryFocus",g7={bubbles:!1,cancelable:!0},y7="RovingFocusGroup",[b7,v7,w7]=O$(y7),[k7,x7]=kD(y7,[w7]),[E7,S7]=k7(y7),_7=V.forwardRef(((e,t)=>jf.jsx(b7.Provider,{scope:e.__scopeRovingFocusGroup,children:jf.jsx(b7.Slot,{scope:e.__scopeRovingFocusGroup,children:jf.jsx(T7,{...e,ref:t})})})));_7.displayName=y7;var T7=V.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=V.useRef(null),f=wD(t,p),h=qU(o),[m=null,g]=UF({prop:i,defaultProp:s,onChange:l}),[y,b]=V.useState(!1),v=ND(c),w=v7(n),k=V.useRef(!1),[x,E]=V.useState(0);return V.useEffect((()=>{const e=p.current;if(e)return e.addEventListener(m7,v),()=>e.removeEventListener(m7,v)}),[v]),jf.jsx(E7,{scope:n,orientation:r,dir:h,loop:a,currentTabStopId:m,onItemFocus:V.useCallback((e=>g(e)),[g]),onItemShiftTab:V.useCallback((()=>b(!0)),[]),onFocusableItemAdd:V.useCallback((()=>E((e=>e+1))),[]),onFocusableItemRemove:V.useCallback((()=>E((e=>e-1))),[]),children:jf.jsx(AD.div,{tabIndex:y||0===x?-1:0,"data-orientation":r,...d,ref:f,style:{outline:"none",...e.style},onMouseDown:yD(e.onMouseDown,(()=>{k.current=!0})),onFocus:yD(e.onFocus,(e=>{const t=!k.current;if(e.target===e.currentTarget&&t&&!y){const t=new CustomEvent(m7,g7);if(e.currentTarget.dispatchEvent(t),!t.defaultPrevented){const e=w().filter((e=>e.focusable));I7([e.find((e=>e.active)),e.find((e=>e.id===m)),...e].filter(Boolean).map((e=>e.ref.current)),u)}}k.current=!1})),onBlur:yD(e.onBlur,(()=>b(!1)))})})})),C7="RovingFocusGroupItem",A7=V.forwardRef(((e,t)=>{const{__scopeRovingFocusGroup:n,focusable:r=!0,active:a=!1,tabStopId:o,...i}=e,s=OO(),l=o||s,c=S7(C7,n),u=c.currentTabStopId===l,d=v7(n),{onFocusableItemAdd:p,onFocusableItemRemove:f}=c;return V.useEffect((()=>{if(r)return p(),()=>f()}),[r,p,f]),jf.jsx(b7.ItemSlot,{scope:n,id:l,focusable:r,active:a,children:jf.jsx(AD.span,{tabIndex:u?0:-1,"data-orientation":c.orientation,...i,ref:t,onMouseDown:yD(e.onMouseDown,(e=>{r?c.onItemFocus(l):e.preventDefault()})),onFocus:yD(e.onFocus,(()=>c.onItemFocus(l))),onKeyDown:yD(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:N7[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((()=>I7(a)))}var n,r}))})})}));A7.displayName=C7;var N7={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function I7(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 R7=_7,O7=A7,P7="Tabs",[L7,D7]=kD(P7,[x7]),M7=x7(),[F7,j7]=L7(P7),B7=V.forwardRef(((e,t)=>{const{__scopeTabs:n,value:r,onValueChange:a,defaultValue:o,orientation:i="horizontal",dir:s,activationMode:l="automatic",...c}=e,u=qU(s),[d,p]=UF({prop:r,onChange:a,defaultProp:o});return jf.jsx(F7,{scope:n,baseId:OO(),value:d,onValueChange:p,orientation:i,dir:u,activationMode:l,children:jf.jsx(AD.div,{dir:u,"data-orientation":i,...c,ref:t})})}));B7.displayName=P7;var H7="TabsList",z7=V.forwardRef(((e,t)=>{const{__scopeTabs:n,loop:r=!0,...a}=e,o=j7(H7,n),i=M7(n);return jf.jsx(R7,{asChild:!0,...i,orientation:o.orientation,dir:o.dir,loop:r,children:jf.jsx(AD.div,{role:"tablist","aria-orientation":o.orientation,...a,ref:t})})}));z7.displayName=H7;var U7="TabsTrigger",$7=V.forwardRef(((e,t)=>{const{__scopeTabs:n,value:r,disabled:a=!1,...o}=e,i=j7(U7,n),s=M7(n),l=W7(i.baseId,r),c=q7(i.baseId,r),u=r===i.value;return jf.jsx(O7,{asChild:!0,...s,focusable:!a,active:u,children:jf.jsx(AD.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:yD(e.onMouseDown,(e=>{a||0!==e.button||!1!==e.ctrlKey?e.preventDefault():i.onValueChange(r)})),onKeyDown:yD(e.onKeyDown,(e=>{[" ","Enter"].includes(e.key)&&i.onValueChange(r)})),onFocus:yD(e.onFocus,(()=>{const e="manual"!==i.activationMode;u||a||!e||i.onValueChange(r)}))})})}));$7.displayName=U7;var G7="TabsContent",V7=V.forwardRef(((e,t)=>{const{__scopeTabs:n,value:r,forceMount:a,children:o,...i}=e,s=j7(G7,n),l=W7(s.baseId,r),c=q7(s.baseId,r),u=r===s.value,d=V.useRef(u);return V.useEffect((()=>{const e=requestAnimationFrame((()=>d.current=!1));return()=>cancelAnimationFrame(e)}),[]),jf.jsx(HF,{present:a||u,children:({present:n})=>jf.jsx(AD.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 W7(e,t){return`${e}-trigger-${t}`}function q7(e,t){return`${e}-content-${t}`}V7.displayName=G7;var Y7=B7,K7=z7,X7=$7,Q7=V7;const Z7=wB("div",{_id:"aiSearchWrapper"}),J7=e=>{const{isHidden:t,hasContent:n,isMobile:r}=h7(),a=ZL();return jf.jsx(Z7,{"data-hidden":wP(t),"data-has-content":wP(n),"data-in-modal":wP(!!a),"data-mobile":wP(r),...e})},eee=wB($9,{_id:"aiSearchRoot"}),tee=e=>{const{isHidden:t,selectedItem:n,onSelectedItemChange:r}=h7();return jf.jsx(eee,{"data-hidden":wP(t),shouldFilter:!1,loop:!1,value:n,onValueChange:r,...e})},nee=wB($9.List,{_id:"aiSearchContent"}),ree=wB("div",{_id:"aiSearchInputGroup"}),aee=wB(fW,{_id:"aiSearchInputIcon",iconKey:"search"}),oee=wB($9.Input,{_id:"aiSearchInput"}),iee=V.forwardRef((({onInput:e,...t},n)=>{const{query:r,onInput:a,placeholder:o,inputRef:i,shouldAutoFocusInput:s}=h7(),l=fB(n,i),c=ZL();return V.useEffect((()=>{requestAnimationFrame((()=>{s&&(null==i?void 0:i.current)&&(i.current.focus(),i.current.selectionStart=i.current.value.length)}))}),[s,i,null==c?void 0:c.isOpen]),jf.jsx(oee,{asChild:!0,ref:l,placeholder:o,value:r,onInput:Q2(e,a),...t,children:jf.jsx(MB,{minRows:1,maxLength:1e3})})})),see=wB(dW,{_id:"aiSearchLoading",iconSettings:{builtIn:"LuLoaderCircle"}}),lee=e=>{const{loading:t,resultsList:n}=h7();return t&&0!==n.length?jf.jsx(see,{...e}):null},cee=wB($9.Item,{_id:"aiAskAITrigger",value:"__ask_ai__"}),uee=e=>{var t,n;const{setSelectedItem:r,results:a,tab:o}=h7(),i=(null==(n=null==(t=a[o])?void 0:t[0])?void 0:n.id)??"NONE";return jf.jsx(cee,{...e,onPointerLeave:()=>r(i)})},dee=wB("img",{_id:"aiAskAITrigger__Icon"}),pee=e=>{const{aiChatSettings:t}=zO(),{aiAssistantAvatar:n}=t??{},r="string"==typeof n?n:null==n?void 0:n.light,a=qj(r,("string"==typeof n?n:null==n?void 0:n.dark)??r),[o,i]=V.useState(a);V.useEffect((()=>{i(a)}),[a]);return jf.jsx(dee,{asChild:!0,...e,children:o?jf.jsx("img",{src:o,alt:"AI Avatar","data-type":"image",onError:Q2((()=>{i(null)})),...e}):jf.jsx(OV,{"data-type":"icon",...e})})},fee=wB("span",{_id:"aiAskAITrigger__Label"}),hee=wB(fW,{_id:"aiAskAITrigger__Indicator",iconKey:"openLinkInSameTab"}),mee=wB(Y7,{_id:"aiSearchResults"}),gee=e=>{const{tab:t,onTabChange:n,hasContent:r}=h7();return jf.jsx(mee,{value:t,onValueChange:n,"data-has-content":wP(r),...e})},yee=wB("div",{_id:"aiSearchResults__Loading"}),bee=e=>{const{loading:t,resultsList:n}=h7();return!t||n.length>0?null:jf.jsx(yee,{...e})},vee=wB($9.Empty,{_id:"aiSearchResults__Empty"}),wee=e=>{var t;const{query:n,loading:r,results:a,tab:o}=h7(),i=null==(t=a[o])?void 0:t.length;return r||!n||i?null:jf.jsx(vee,{children:"No results found.",...e})},kee=wB(K7,{_id:"aiSearchResults__TabList"}),xee=e=>{const{children:t,...n}=e,{searchSettings:{tabs:r}}=zO(),{results:a,loading:o,resultsList:i}=h7();if(o&&0===i.length)return null;const s=Object.keys(a);return r.length&&s.length?jf.jsx(kee,{children:xP(t,s),...n}):null},Eee=wB(X7,{_id:"aiSearchResults__Tab"}),See=e=>{const{tab:t,...n}=e,{results:r}=h7(),a=r[t].length;return jf.jsx(Eee,{value:t,children:`${t} (${a})`,...n})},_ee=wB(N$,{_id:"aiSearchResults__ScrollArea"}),Tee=e=>{const{loading:t,resultsList:n}=h7();return t&&0===n.length?null:jf.jsx(_ee,{...e})},Cee=wB(I$,{_id:"aiSearchResults__ScrollAreaViewport"}),Aee=V.forwardRef((({children:e,...t},n)=>{const r=function(){const e=V.useRef(null),t=V.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 V.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=fB(n,r),{tab:o}=h7();return V.useEffect((()=>{var e;o&&(null==(e=r.current)||e.scrollTo({top:0,behavior:"auto"}))}),[o]),jf.jsx(Cee,{ref:a,children:jf.jsx("div",{style:{display:"grid"},children:e}),...t})})),Nee=wB(a$,{_id:"aiSearchResults__ScrollAreaScrollbar"}),Iee=wB(m$,{_id:"aiSearchResults__ScrollAreaThumb"}),Ree=wB(R$,{_id:"aiSearchResults__ScrollAreaCorner"}),Oee=wB(Q7,{_id:"aiSearchResults__List"}),Pee=e=>{const{children:t,...n}=e,{results:r,tab:a}=h7(),o=r[a]??[];return jf.jsx(Oee,{value:a,"data-has-results":wP(o.length>0),"aria-label":"Search results",children:xP(t,o),...n})},Lee=wB($9.Item,{_id:"aiSearchResults__Item",asChild:!0}),Dee=V.forwardRef((({item:e,onClick:t,onSelect:n,children:r,...a},o)=>{var i;const{searchSettings:{shouldOpenLinksInNewTab:s}}=zO(),{logEvent:l}=c7(),{query:c,transitionsDisabled:u}=h7(),d=V.useRef(null),p=fB(o,d),f=s||!!e.shouldOpenInNewTab;return jf.jsx(lB,{source:{...e,isExternal:f},children:jf.jsx(Lee,{ref:p,value:e.id,"data-type":e.type,"data-breadcrumbs":!!(null==(i=e.breadcrumbs)?void 0:i.length),"data-disable-transitions":wP(u),onSelect:Q2(n,(()=>{var e;null==(e=d.current)||e.click()})),onClick:Q2(t,(()=>{l({eventName:"search_result_clicked",properties:{searchQuery:c,title:e.title,url:e.url}})})),...a,children:jf.jsx(mW,{href:e.url,isExternal:f,appendToUrl:e.appendToUrl,children:r})})})})),Mee=wB("div",{_id:"aiSearchResults__ItemBreadcrumbs"}),Fee=e=>{var t,n,r,a;const{source:o}=cB(),{tab:i}=h7();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 jf.jsx(Mee,{children:xP(s,c),...l})},jee=wB(fW,{_id:"aiSearchResults__ItemBreadcrumbIcon",iconKey:"breadcrumbSeparator"}),Bee=wB(dW,{_id:"aiSearchResults__ItemIcon"}),Hee=e=>{const{source:t}=cB();return jf.jsx(Bee,{iconSettings:t.icon,"data-type":t.type,...e})},zee=wB("span",{_id:"aiSearchResults__ItemTitle"}),Uee=e=>{const{source:t}=cB();return jf.jsx(zee,{"data-type":t.type,children:t.title,...e})},$ee=wB("span",{_id:"aiSearchResults__ItemTag"}),Gee=e=>{const{source:t}=cB();return jf.jsx($ee,{"data-type":t.type,children:t.tag,...e})},Vee=wB("span",{_id:"aiSearchResults__ItemDescription"}),Wee=e=>{const{source:t}=cB(),{children:n,...r}=e,a=V.useMemo((()=>t.description?X2(t.description):[]),[t.description]);return a.length?jf.jsx(Vee,{"data-type":t.type,children:xP(n,a),...r}):null},qee=wB("span",{_id:"aiSearchResults__ItemDescriptionPart"}),Yee=e=>{const{part:t,...n}=e,{source:r}=cB();return"string"==typeof t?t:jf.jsx(qee,{"data-type":r.type,children:t.content,"data-highlighted":wP(t.highlighted),...n})},Kee=wB(fW,{_id:"aiSearchResults__ItemIndicator"}),Xee=e=>{const{source:t}=cB();return jf.jsx(Kee,{iconKey:t.isExternal?"openLinkInNewTab":"openLinkInSameTab",...e})},Qee=wB("div",{_id:"aiSearchFooter"}),Zee=e=>{const{resultsList:t}=h7();return jf.jsx(Qee,{"data-has-results":wP(t.length>0),...e})},Jee=wB("div",{_id:"aiSearchTagline__Container"}),ete=wB("span",{_id:"aiSearchTagline__Text",children:"Powered by"}),tte=wB(Y2,{_id:"aiSearchTagline__Logo"}),nte=wB("a",{_id:"aiSearchTagline__BrandName",children:"inkeep",href:"https://www.inkeep.com/",target:"_blank",rel:"noopener noreferrer"}),rte=wB(mV,{_id:"modal"}),ate=wB(yV,{_id:"modal__Overlay"}),ote=wB(bV,{_id:"modal__Content","aria-describedby":void 0}),ite=e=>{const t=sD("(max-width: 768px)");return jf.jsx(ote,{"data-mobile":wP(t),...e})},ste=wB(wV,{_id:"modal__Close",children:jf.jsx(fW,{iconKey:"close"})}),lte=e=>ZL()?jf.jsx(ste,{...e}):null,cte=wB("div",{_id:"chatButton__Container"}),ute=wB("button",{_id:"chatButton__Button"}),dte=wB("div",{_id:"chatButton__Text"}),pte=wB(qB,{_id:"chatButton__AvatarContent"}),fte=wB(YB,{_id:"chatButton__AvatarImage"}),hte=V.memo((e=>{const{onLoadingStatusChange:t,...n}=e,{aiChatSettings:r}=zO(),{aiAssistantAvatar:a}=r??{},o="string"==typeof a?a:null==a?void 0:a.dark,[i,s]=V.useState(o);V.useEffect((()=>{s(o)}),[o]);return i?jf.jsx(fte,{src:i,"data-type":"image",onLoadingStatusChange:Q2(t,(e=>{"error"===e&&s(null)})),...n}):jf.jsx(OV,{"data-type":"icon",...e})}));const mte={width:void 0,height:void 0};function gte(e){const{ref:t,box:n="content-box"}=e,[{width:r,height:a},o]=V.useState(mte),i=function(){const e=V.useRef(!1);return V.useEffect((()=>(e.current=!0,()=>{e.current=!1})),[]),V.useCallback((()=>e.current),[])}(),s=V.useRef({...mte}),l=V.useRef(void 0);return l.current=e.onResize,V.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=yte(e,t,"inlineSize"),a=yte(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 yte(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 bte="undefined"!=typeof document?V.useLayoutEffect:V.useEffect;function vte(e){const{children:t,target:n,tag:r,host:a}=e,o=V.useRef(null),i=V.useRef(null),[,s]=V.useReducer((e=>e+1),0);bte((()=>{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?re.createPortal(t,l):V.createElement("span",{ref:o})}const wte=({children:e,...t})=>{const{baseSettings:n}=zO(),{rootElement:r}=n;return jf.jsx(vte,{host:r,...t,children:jf.jsx(oB,{children:e})})},kte=e=>"boolean"==typeof e?`${e}`:0===e?"0":e,xte=k1,Ete=(e,t)=>n=>{var r;if(null==(null==t?void 0:t.variants))return xte(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=kte(t)||kte(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 xte(e,i,l,null==n?void 0:n.class,null==n?void 0:n.className)},Ste=Ete(["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"}}),_te=Ete(["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","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"}}),Tte=Ete("",{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:[_te({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"]}}}),Cte=Ete("",{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"]}}}),Ate=Ete(["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","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"],breadcrumbs:["[grid-area:breadcrumbs]","flex items-center text-gray-600","dark:text-white-alpha-600 text-xs"],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"],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"]}}}),Nte=Ete("size-4 inline-block leading-[1em] shrink-0 text-current align-middle"),Ite=Ete(["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"}}}),Rte=Ete(["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-offset-transparent","hover:underline"]),Ote=Ete("tracking-tight font-semibold",{variants:{size:{lg:"text-xl",md:"text-md"}},defaultVariants:{size:"md"}}),Pte=Ete("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]"}}}),Lte=Ete("",{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:""}}}),Dte=Ete(["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"]),Mte=Ete(["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 "]),Fte=Ete("",{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]"]}}}),jte=Ete("",{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:[_te({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"]}}}),Bte=Ete("",{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"],arrow:"fill-white dark:fill-gray-dark-800"}}}),Hte=Ete("",{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"}}}),zte=Ete("",{variants:{slot:{trigger:[Ite({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"]}}}),Ute=Ete(["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]"]),$te=e=>{const t=qte(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:e=>{const n=e.split("-");return""===n[0]&&1!==n.length&&n.shift(),Gte(n,t)||Wte(e)},getConflictingClassGroupIds:(e,t)=>{const a=n[e]||[];return t&&r[e]?[...a,...r[e]]:a}}},Gte=(e,t)=>{var n;if(0===e.length)return t.classGroupId;const r=e[0],a=t.nextPart.get(r),o=a?Gte(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},Vte=/^\[(.+)\]$/,Wte=e=>{if(Vte.test(e)){const t=Vte.exec(e)[1],n=null==t?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},qte=e=>{const{theme:t,prefix:n}=e,r={nextPart:new Map,validators:[]};return Qte(Object.entries(e.classGroups),n).forEach((([e,n])=>{Yte(n,r,e,t)})),r},Yte=(e,t,n,r)=>{e.forEach((e=>{if("string"!=typeof e){if("function"==typeof e)return Xte(e)?void Yte(e(r),t,n,r):void t.validators.push({validator:e,classGroupId:n});Object.entries(e).forEach((([e,a])=>{Yte(a,Kte(t,e),n,r)}))}else{(""===e?t:Kte(t,e)).classGroupId=n}}))},Kte=(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},Xte=e=>e.isThemeGetter,Qte=(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,Zte=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)}}},Jte=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},ene=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},tne=/\s+/;function nne(){let e,t,n=0,r="";for(;n<arguments.length;)(e=arguments[n++])&&(t=rne(e))&&(r&&(r+=" "),r+=t);return r}const rne=e=>{if("string"==typeof e)return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=rne(e[r]))&&(n&&(n+=" "),n+=t);return n};function ane(e,...t){let n,r,a,o=function(s){const l=t.reduce(((e,t)=>t(e)),e());return n=(e=>({cache:Zte(e.cacheSize),parseClassName:Jte(e),...$te(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(tne);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=ene(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(nne.apply(null,arguments))}}const one=e=>{const t=t=>t[e]||[];return t.isThemeGetter=!0,t},ine=/^\[(?:([a-z-]+):)?(.+)\]$/i,sne=/^\d+\/\d+$/,lne=new Set(["px","full","screen"]),cne=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,une=/\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$/,dne=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,pne=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,fne=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,hne=e=>gne(e)||lne.has(e)||sne.test(e),mne=e=>Nne(e,"length",Ine),gne=e=>Boolean(e)&&!Number.isNaN(Number(e)),yne=e=>Nne(e,"number",gne),bne=e=>Boolean(e)&&Number.isInteger(Number(e)),vne=e=>e.endsWith("%")&&gne(e.slice(0,-1)),wne=e=>ine.test(e),kne=e=>cne.test(e),xne=new Set(["length","size","percentage"]),Ene=e=>Nne(e,xne,Rne),Sne=e=>Nne(e,"position",Rne),_ne=new Set(["image","url"]),Tne=e=>Nne(e,_ne,Pne),Cne=e=>Nne(e,"",One),Ane=()=>!0,Nne=(e,t,n)=>{const r=ine.exec(e);return!!r&&(r[1]?"string"==typeof t?r[1]===t:t.has(r[1]):n(r[2]))},Ine=e=>une.test(e)&&!dne.test(e),Rne=()=>!1,One=e=>pne.test(e),Pne=e=>fne.test(e),Lne=ane((()=>{const e=one("colors"),t=one("spacing"),n=one("blur"),r=one("brightness"),a=one("borderColor"),o=one("borderRadius"),i=one("borderSpacing"),s=one("borderWidth"),l=one("contrast"),c=one("grayscale"),u=one("hueRotate"),d=one("invert"),p=one("gap"),f=one("gradientColorStops"),h=one("gradientColorStopPositions"),m=one("inset"),g=one("margin"),y=one("opacity"),b=one("padding"),v=one("saturate"),w=one("scale"),k=one("sepia"),x=one("skew"),E=one("space"),S=one("translate"),_=()=>["auto",wne,t],T=()=>[wne,t],C=()=>["",hne,mne],A=()=>["auto",gne,wne],N=()=>["","0",wne],I=()=>[gne,wne];return{cacheSize:500,separator:":",theme:{colors:[Ane],spacing:[hne,mne],blur:["none","",kne,wne],brightness:I(),borderColor:[e],borderRadius:["none","","full",kne,wne],borderSpacing:T(),borderWidth:C(),contrast:I(),grayscale:N(),hueRotate:I(),invert:N(),gap:T(),gradientColorStops:[e],gradientColorStopPositions:[vne,mne],inset:_(),margin:_(),opacity:I(),padding:T(),saturate:I(),scale:I(),sepia:N(),skew:I(),space:T(),translate:T()},classGroups:{aspect:[{aspect:["auto","square","video",wne]}],container:["container"],columns:[{columns:[kne]}],"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",wne]}],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",bne,wne]}],basis:[{basis:_()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",wne]}],grow:[{grow:N()}],shrink:[{shrink:N()}],order:[{order:["first","last","none",bne,wne]}],"grid-cols":[{"grid-cols":[Ane]}],"col-start-end":[{col:["auto",{span:["full",bne,wne]},wne]}],"col-start":[{"col-start":A()}],"col-end":[{"col-end":A()}],"grid-rows":[{"grid-rows":[Ane]}],"row-start-end":[{row:["auto",{span:[bne,wne]},wne]}],"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",wne]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",wne]}],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",wne,t]}],"min-w":[{"min-w":[wne,t,"min","max","fit"]}],"max-w":[{"max-w":[wne,t,"none","full","min","max","fit","prose",{screen:[kne]},kne]}],h:[{h:[wne,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[wne,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[wne,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[wne,t,"auto","min","max","fit"]}],"font-size":[{text:["base",kne,mne]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",yne]}],"font-family":[{font:[Ane]}],"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",wne]}],"line-clamp":[{"line-clamp":["none",gne,yne]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",hne,wne]}],"list-image":[{"list-image":["none",wne]}],"list-style-type":[{list:["none","disc","decimal",wne]}],"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",hne,mne]}],"underline-offset":[{"underline-offset":["auto",hne,wne]}],"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",wne]}],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",wne]}],"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",Sne]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Ene]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Tne]}],"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":[hne,wne]}],"outline-w":[{outline:[hne,mne]}],"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":[hne,mne]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",kne,Cne]}],"shadow-color":[{shadow:[Ane]}],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",kne,wne]}],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",wne]}],duration:[{duration:I()}],ease:[{ease:["linear","in","out","in-out",wne]}],delay:[{delay:I()}],animate:[{animate:["none","spin","ping","pulse","bounce",wne]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[w]}],"scale-x":[{"scale-x":[w]}],"scale-y":[{"scale-y":[w]}],rotate:[{rotate:[bne,wne]}],"translate-x":[{"translate-x":[S]}],"translate-y":[{"translate-y":[S]}],"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",wne]}],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",wne]}],"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",wne]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[hne,mne,yne]}],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 Dne(...e){return Lne(k1(e))}const Mne=e=>e?"":void 0,Fne=Ete("",{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:[Dne(_te({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","focus-visible:ring-transparent")],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"]}}}),jne={markdownH1:Dne(Ote({size:"lg"}),"mb-3"),markdownH2:Dne(Ote({size:"md"}),"mb-2"),markdownP:Dne("mb-3 break-words whitespace-pre-wrap","[&+ol,&+li]:mt-0"),markdownLi:Dne("[&_a]:break-words [&_a]:inline"),markdownUl:Pte({style:"unordered"}),markdownOl:Dne(Pte({style:"ordered"}),"[inset-inline-start:var(--start,0px)]","[counter-reset:item_calc(var(--start,0)_-_1)]"),markdownLink:Dne(Rte(),"text-inkeep-primary-stronger hover:text-inkeep-primary-strong","dark:text-inkeep-expanded-primary-100 dark:hover:text-inkeep-expanded-primary-300"),markdownSourceLink:Dte(),markdownTable:Lte({slot:"root"}),markdownTh:Lte({slot:"th"}),markdownTd:Lte({slot:"td"}),markdownCode:Mte(),codeblockContainer:Fte({slot:"container"}),codeblockHeader:Fte({slot:"header"}),codeblockCopyButton:Dne(_te({}),Fte({slot:"copyButton"})),codeblockHighlighterWrapper:Dne(),codeblockHighlighter:Fte({slot:"highlighter"}),codeblockCode:"font-mono"},Bne=["Thinking","Looking for content","Analyzing"];function Hne(){const[e,t]=V.useState(0);return V.useEffect((()=>{const e=setInterval((()=>{t((t=>t+1<Bne.length?t+1:(clearInterval(e),t)))}),3500);return()=>clearInterval(e)}),[]),jf.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:[jf.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:Bne[e]}),jf.jsx("div",{className:"flex space-x-1",children:[0,1,2].map((e=>jf.jsx("span",{className:"animate-bounce-dot opacity-30",style:{animationDelay:.2*e+"s"},children:"."},e)))})]})}const zne=()=>Array.from({length:3}).map(((e,t)=>{const n=t%2==0;return jf.jsxs("div",{className:Dne("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":Mne(n),children:[jf.jsx("div",{"data-even":Mne(n),className:Dne(Ute(),"h-12 w-12 rounded-full","data-[even]:mr-4 ml-4 data-[even]:ml-0")}),jf.jsxs("div",{"data-even":Mne(n),className:"flex flex-col gap-2 items-end data-[even]:items-start",children:[jf.jsx("div",{"data-even":Mne(n),className:Dne(Ute(),"h-4 rounded-lg w-60")}),jf.jsx("div",{"data-even":Mne(n),className:Dne(Ute(),"h-4 rounded-lg w-56")})]})]},t)})),Une=e=>jf.jsx(GO,{children:jf.jsx(oP,{children:jf.jsx(nD,{children:jf.jsx(kj,{...e})})})}),$ne=V.forwardRef((({className:e,size:t,variant:n,...r},a)=>jf.jsx(h5,{ref:a,className:Dne(Ste({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}))),Gne=({className:e,...t})=>jf.jsx(g5,{className:Dne("flex flex-col items-center justify-center h-full gap-12 flex-1 p-8",e),children:jf.jsx(zne,{}),...t}),Vne=({className:e,...t})=>jf.jsx(b5,{className:Dne(Hte({section:"wrapper"}),"rounded-[inherit] font-body",e),...t}),Wne=({className:e,...t})=>jf.jsx(v5,{className:Dne(Hte({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}),qne=({className:e,...t})=>jf.jsx(w5,{className:Dne("flex items-center gap-2 w-full pl-6 pr-1","ikp-md:px-4 py-2 justify-between *:m-0",e),...t}),Yne=({className:e,...t})=>jf.jsx(k5,{className:Dne("flex items-center gap-1.5",e),...t}),Kne=({className:e,...t})=>jf.jsx(E5,{className:Dne("text-gray-600 dark:text-gray-dark-100 text-sm",e),...t}),Xne=({className:e,...t})=>jf.jsx(S5,{className:Dne(Hte({section:"content"}),"justify-end",e),...t}),Qne=({className:e,...t})=>jf.jsx(_5,{className:Dne("overflow-hidden",e),...t}),Zne=V.forwardRef((({className:e,...t},n)=>jf.jsx(C5,{ref:n,className:Dne("h-full w-full rounded-[inherit]",e),...t}))),Jne=({className:e,...t})=>jf.jsx(A5,{className:Dne("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}),ere=({className:e,...t})=>jf.jsx(N5,{className:Dne("relative flex-1 rounded-full","bg-gray-300 dark:bg-white-alpha-200",e),...t}),tre=I5,nre=({className:e,...t})=>jf.jsx(L5,{className:Dne("ml-auto text-sm flex items-center gap-1",e),...t}),rre=({className:e,...t})=>jf.jsx(M5,{className:Dne("text-gray-700 dark:text-gray-dark-100",e),...t}),are=({className:e,...t})=>jf.jsx(F5,{className:Dne("cursor-pointer text-gray-700 dark:text-gray-dark-100",e),...t}),ore=({className:e,...t})=>jf.jsx(B5,{className:Dne(Bte({slot:"content"}),"px-4 py-2 font-normal","w-[250px] sm:w-[420px]",e),...t}),ire=H5,sre=({className:e,...t})=>jf.jsx(z5,{className:Dne(Bte({slot:"arrow"}),e),...t}),lre=({className:e,...t})=>jf.jsx($5,{className:Dne("mt-4 flex flex-col gap-2",e),...t}),cre=({className:e,...t})=>jf.jsx(V5,{className:Dne("text-2xs uppercase font-semibold tracking-widest","text-gray-600 dark:text-white-alpha-500",e),...t}),ure=({className:e,...t})=>jf.jsx(q5,{className:Dne("flex flex-col","ikp-md:flex-row","flex-wrap gap-2",e),...t}),dre=V.forwardRef((({className:e,style:t,...n},r)=>{const a=V.useRef(null),o=pB(r,a),{width:i=0,height:s=0}=gte({ref:a,box:"border-box"}),l=Math.max(s,i);return jf.jsx(K5,{ref:o,style:{"--before-size":`${l+100}px`,...t},className:Dne("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})})),pre=({className:e,...t})=>jf.jsx(Q5,{className:Dne(_te({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}),fre=({className:e,...t})=>jf.jsx(O5,{className:Dne("flex flex-col w-full min-w-0 min-h-0 text-2sm relative",e),...t}),hre=Ete(["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"]),mre=({className:e,...t})=>jf.jsx(t3,{className:Dne(hre(),e),...t}),gre=({className:e,...t})=>jf.jsx(n3,{className:Dne(hre(),e),...t}),yre=({className:e,...t})=>jf.jsx(a3,{className:Dne("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}),bre=({className:e,...t})=>jf.jsx(i3,{className:Dne("flex items-center gap-3 h-12 w-full",e),children:jf.jsx(Hne,{}),...t}),vre=({className:e,...t})=>jf.jsx(l3,{className:Dne("flex items-center justify-center rounded-full","h-auto ikp-md:h-12",e),...t}),wre=({className:e,...t})=>jf.jsx(u3,{className:Dne("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}),kre=({className:e,...t})=>jf.jsx(p3,{className:Dne("hidden data-[role=user]:block",e),...t}),xre=({className:e,...t})=>jf.jsx(h3,{className:Dne("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}),Ere=({className:e,...t})=>jf.jsx(g3,{className:Dne("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}),Sre=({className:e,...t})=>jf.jsx(b3,{className:Dne("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}),_re=({className:e,...t})=>jf.jsx(w3,{className:Dne("text-2sm flex-wrap break-words min-w-0 shrink-1 max-w-full",e),...t}),Tre=e=>{var t,n;const{message:r}=zj(),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)?jf.jsx(Fj,{children:jf.jsx(k3,{...e})}):null},Cre=({className:e,...t})=>jf.jsx(E3,{className:Dne("flex flex-wrap gap-2",e),...t}),Are=({className:e,...t})=>jf.jsx(_3,{className:Dne(_te({variant:"ghost"}),Tte({slot:"root"}),"font-normal px-2",e),...t}),Nre=({className:e,...t})=>jf.jsx(C3,{className:Dne(Tte({slot:"icon"}),e),...t}),Ire=({className:e,...t})=>jf.jsx(N3,{className:Dne(Tte({slot:"title"}),e),...t}),Rre=e=>{const{onOpenChange:t,...n}=e,{selectItem:r,isOpen:a,onClose:o,selectedItem:i}=jj();return jf.jsx(I3,{open:a&&null!==i,onOpenChange:Q2(t,(e=>{e||(o(),r(null))})),...n})},Ore=({className:e,...t})=>jf.jsx(R3,{className:Dne(jte({slot:"overlay"}),e),...t}),Pre=({className:e,...t})=>jf.jsx(O3,{className:Dne(jte({slot:"content"}),"my-6 md:my-12 top-0 left-[unset] transform-none relative","p-8 md:p-10 max-w-2xl",e),...t}),Lre=({className:e,...t})=>jf.jsx(L3,{className:Dne(jte({slot:"header"}),"px-0 pt-0 pb-8 flex flex-col gap-6","font-semibold",e),...t}),Dre=({className:e,...t})=>jf.jsx(D3,{className:Dne(jte({slot:"close"}),e),...t}),Mre=({className:e,...t})=>jf.jsx(F3,{className:Dne(jte({slot:"body"}),"p-0",e),...t}),Fre=({className:e,componentStyles:t,...n})=>jf.jsx(B3,{className:Dne("data-[role=user]:whitespace-pre-wrap mb-3 max-w-full",e),componentStyles:If(jne,t??{}),...n}),jre=({className:e,...t})=>jf.jsx(z3,{className:Dne("flex items-center mt-2 mb-3",e),...t}),Bre=({className:e,...t})=>jf.jsx($3,{className:Dne("mr-auto flex items-center gap-2",e),...t}),Hre=({className:e,...t})=>jf.jsx(G3,{className:Dne(_te({size:"xs",variant:"outline"}),"text-xs h-[30px] text-gray-700 dark:text-gray-200 gap-1",e),...t}),zre=({className:e,...t})=>jf.jsx(W3,{className:Dne(_te({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}),Ure=e=>{var t;const{message:n}=zj();return"assistant"===n.role&&(null==(t=n.links)?void 0:t.length)?jf.jsx(q3,{...e}):null},$re=({className:e,...t})=>jf.jsx(K3,{className:Dne("block text-xs font-medium my-2 text-gray-700 dark:text-gray-dark-300",e),...t}),Gre=({className:e,...t})=>jf.jsx(Q3,{className:Dne("w-full relative flex flex-col gap-3 py-[1px]",e),...t}),Vre=({className:e,...t})=>jf.jsx(J3,{className:Dne(Ate({slot:"root"}),e),...t}),Wre=({className:e,...t})=>jf.jsx(t4,{className:Dne(Ate({slot:"breadcrumbs"}),e),...t}),qre=({className:e,...t})=>jf.jsx(n4,{className:Dne(Ate({slot:"breadcrumbsIcon"}),e),...t}),Yre=({className:e,...t})=>jf.jsx(a4,{className:Dne(Ate({slot:"icon"}),e),...t}),Kre=({className:e,...t})=>jf.jsx(i4,{className:Dne(Ate({slot:"title"}),e),...t}),Xre=({className:e,...t})=>jf.jsx(l4,{className:Dne(Ate({slot:"tag"}),e),...t}),Qre=({className:e,...t})=>jf.jsx(u4,{className:Dne(Ate({slot:"description"}),e),...t}),Zre=({className:e,...t})=>jf.jsx(p4,{className:Dne(Ate({slot:"descriptionPart"}),e),...t}),Jre=({className:e,...t})=>jf.jsx(h4,{className:Dne(Ate({slot:"indicator"}),e),...t}),eae=({className:e,...t})=>jf.jsx(m4,{className:Dne("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}),tae=({className:e,...t})=>jf.jsx(g4,{className:Dne("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}),nae=({className:e,...t})=>jf.jsx(y4,{className:Dne("flex",e),...t}),rae=V.forwardRef((({className:e,...t},n)=>jf.jsx(v4,{ref:n,className:Dne("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}))),aae=({className:e,...t})=>jf.jsx(k4,{className:Dne(_te({}),"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}),oae=({className:e,...t})=>jf.jsx(x4,{className:Dne(Nte(),"text-inherit rotate-[-30deg]",e),...t}),iae=({className:e,...t})=>jf.jsx(S4,{className:Dne("flex items-center justify-between","flex-wrap gap-2 px-1 pt-2 pb-1",e),...t}),sae=({className:e,...t})=>jf.jsx(T4,{className:Dne("flex items-center gap-2 flex-wrap px-3 min-w-0",e),...t}),lae=({className:e,...t})=>jf.jsx(A4,{className:Dne(Tte({slot:"root"}),e),...t}),cae=({className:e,...t})=>jf.jsx(I4,{className:Dne(Tte({slot:"icon"}),e),...t}),uae=({className:e,...t})=>jf.jsx(O4,{className:Dne(Tte({slot:"title"}),e),...t}),dae=({className:e,...t})=>jf.jsx(L4,{className:Dne(Tte({slot:"delete"}),e),...t}),pae=({className:e,...t})=>jf.jsx(D4,{className:Dne("flex items-center justify-between","gap-2 flex-wrap px-3",e),...t}),fae=M4,hae=({className:e,...t})=>jf.jsx(F4,{className:Dne("cursor-pointer text-sm text-gray-600","dark:text-white-alpha-600",e),...t}),mae=({className:e,...t})=>jf.jsx(B4,{className:Dne("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}),gae=({className:e,...t})=>jf.jsx(z4,{className:Dne("contents",e),...t}),yae=({className:e,...t})=>jf.jsx($4,{className:Dne(_te({variant:"outline",size:"xs"}),"light:text-gray-700 gap-1",e),...t}),bae=G4,vae=e=>{const{onOpenChange:t,...n}=e,{selectInput:r,isOpen:a,onClose:o,selectedInput:i}=_j();return jf.jsx(V4,{open:a&&null!==i,onOpenChange:Q2(t,(e=>{e||(o(),r(null))})),...n})},wae=({className:e,...t})=>jf.jsx(W4,{className:Dne(jte({slot:"overlay"}),e),...t}),kae=({className:e,...t})=>jf.jsx(q4,{className:Dne(jte({slot:"content"}),"my-6 md:my-12 top-0 left-[unset] transform-none relative","p-8 md:p-10 max-w-2xl",e),...t}),xae=({className:e,...t})=>jf.jsx(Y4,{className:Dne(jte({slot:"header"}),"px-0 pt-0 pb-8 gap-y-2","font-semibold",e),...t}),Eae=({className:e,...t})=>jf.jsx(X4,{className:Dne("w-full semibold",e),...t}),Sae=({className:e,...t})=>jf.jsx(Z4,{className:Dne("text-gray-700 dark:text-white-alpha-700","text-sm font-normal w-full",e),...t}),_ae=e=>{var t;const{children:n,...r}=e,{selectedInput:a}=_j(),o=null==(t=null==a?void 0:a.workflowModalProps)?void 0:t.modalHelpElement;return o?jf.jsx(J4,{asChild:!n,children:n||o,...r}):null},Tae=({className:e,...t})=>jf.jsx(e6,{className:Dne(jte({slot:"close"}),e),...t}),Cae=({className:e,...t})=>jf.jsx(t6,{className:Dne(jte({slot:"body"}),"p-0",e),...t}),Aae=({className:e,...t})=>jf.jsx(r6,{className:Dne("flex flex-col gap-8",e),...t}),Nae=({className:e,...t})=>jf.jsx(a6,{className:Dne("flex flex-col gap-2",e),...t}),Iae=({className:e,...t})=>jf.jsx(i6,{className:Dne("text-sm font-medium text-gray-700 dark:text-white-alpha-700",e),...t}),Rae=({className:e,...t})=>jf.jsx(l6,{className:Dne("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}),Oae=({className:e,...t})=>jf.jsx(u6,{className:Dne("text-sm text-red-500",e),...t}),Pae=({className:e,...t})=>jf.jsx(d6,{className:Dne("flex flex-col gap-2",e),...t}),Lae=({className:e,...t})=>jf.jsx(f6,{className:Dne("text-sm font-medium text-gray-700 dark:text-white-alpha-700",e),...t}),Dae=({className:e,...t})=>jf.jsx(m6,{className:Dne(Ite({size:"md",variant:"outline"}),"min-h-20 px-4 py-2",e),...t}),Mae=({className:e,...t})=>jf.jsx(y6,{className:Dne("text-sm text-red-500",e),...t}),Fae=({className:e,...t})=>jf.jsx(b6,{className:Dne(_te({preset:"neutralFilled"}),"ml-auto",e),...t}),jae=({className:e,...t})=>jf.jsx(v6,{className:Dne("mt-4 flex items-start justify-between flex-wrap-reverse gap-2.5",e),...t}),Bae=({className:e,...t})=>jf.jsx(w6,{className:Dne("flex items-center gap-2.5 flex-wrap",e),...t}),Hae=({className:e,...t})=>jf.jsx(k6,{className:Dne("flex items-center whitespace-nowrap",e),...t}),zae=({className:e,...t})=>jf.jsx(x6,{className:Dne("text-xs md:text-sm text-gray-500 dark:text-white-alpha-600",e),...t}),Uae=({className:e,...t})=>jf.jsx(E6,{className:Dne("text-gray-400 dark:text-white-alpha-500","w-[18px] ml-2 mr-1",e),...t}),$ae=({className:e,...t})=>jf.jsx(S6,{className:Dne(Rte(),"inline-flex text-xs md:text-sm text-gray-500","dark:text-white-alpha-600 font-bold",e),...t}),Gae=Dne(_te({size:"xs",variant:"outline"}),"text-gray-700 dark:text-white-alpha-700"),Vae=({className:e,...t})=>jf.jsx(T6,{className:Dne(Gae,e),...t}),Wae=({className:e,...t})=>jf.jsx(A6,{className:Dne("cursor-pointer",e),...t}),qae=({className:e,...t})=>jf.jsx(I6,{className:Dne("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}),Yae=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]=V.useState(!1);return{open:e,setOpen:t}}();return jf.jsx(Pj,{value:c,children:jf.jsx(R6,{open:c.open,onOpenChange:c.setOpen,children:xP(t,{pinned:s,unpinned:l}),...n})})},Kae=({className:e,...t})=>jf.jsx(P6,{className:Dne(Gae,e),...t}),Xae=({className:e,...t})=>jf.jsx(D6,{className:Dne(Gae,e),...t}),Qae=({className:e,...t})=>jf.jsx(F6,{className:Dne(Bte({slot:"content"}),"gap-3 px-3 py-4 ","w-[254px] text-sm font-normal",e),...t}),Zae=({className:e,...t})=>jf.jsx(j6,{className:Dne(Bte({slot:"arrow"}),e),...t}),Jae=({className:e,...t})=>jf.jsx(B6,{className:Dne("flex items-center cursor-pointer hover:underline",e),...t}),eoe=({className:e,...t})=>jf.jsx(z6,{className:Dne("mr-2 text-inkeep-primary-medium",e),...t}),toe=e=>{const{onOpenChange:t,...n}=e,{currentFeedback:r,setCurrentFeedback:a}=gD();return jf.jsx(U6,{open:null!==r,onOpenChange:Q2(t,(()=>a(null))),...n})},noe=({className:e,...t})=>jf.jsx($6,{className:Dne(jte({slot:"overlay"}),e),...t}),roe=({className:e,...t})=>jf.jsx(G6,{className:Dne(jte({slot:"content"}),"my-6 md:my-12 top-0 left-[unset] transform-none relative","p-8 md:p-10 max-w-[480px]",e),...t}),aoe=({className:e,...t})=>jf.jsx(V6,{className:Dne(jte({slot:"header"}),"px-0 pt-0 pb-8","font-semibold",e),...t}),ooe=({className:e,...t})=>jf.jsx(W6,{className:Dne(jte({slot:"close"}),e),...t}),ioe=({className:e,...t})=>jf.jsx(q6,{className:Dne(jte({slot:"body"}),"p-0",e),...t}),soe=({className:e,...t})=>jf.jsx(K6,{className:Dne("flex flex-col gap-8",e),...t}),loe=({className:e,...t})=>jf.jsx(Q6,{className:Dne("flex flex-wrap items-center","gap-[1rem_0.5rem]",e),...t}),coe=({className:e,...t})=>jf.jsx(J6,{className:Dne(Cte({slot:"root"}),e),...t}),uoe=({className:e,...t})=>jf.jsx(e8,{className:Dne(Cte({slot:"indicator"}),e),...t}),doe=({className:e,...t})=>jf.jsx(n8,{className:Dne("select-none cursor-pointer font-medium text-sm","text-gray-700 dark:text-white-alpha-700",e),...t}),poe=({className:e,...t})=>jf.jsx(a8,{className:Dne("flex-[0_0_100%]","min-h-20 py-2 border rounded-md","px-4",e),...t}),foe=({className:e,...t})=>jf.jsx(o8,{className:Dne(_te({preset:"neutralFilled"}),"ml-auto",e),...t}),hoe=({className:e,...t})=>jf.jsx(s8,{className:Dne("w-full overflow-y-auto",e),...t}),moe=({className:e,...t})=>jf.jsx(c8,{className:Dne(Hte({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}),goe=({className:e,...t})=>jf.jsx(d8,{className:Dne(_te({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}),yoe=({className:e,...t})=>jf.jsx(p8,{className:Dne("mt-12 flex flex-col gap-6",e),...t}),boe=({className:e,...t})=>jf.jsx(h8,{className:Dne("font-semibold text-xl leading-5",e),...t}),voe=({className:e,...t})=>jf.jsx(g8,{className:Dne("text-gray-700 dark:text-white-alpha-700 text-sm",e),...t}),woe=({className:e,...t})=>jf.jsx(b8,{className:Dne("w-full",e),...t}),koe=({className:e,...t})=>jf.jsx(w8,{className:Dne("mb-8 flex flex-col gap-2 data-[hidden]:hidden","data-[input-type=checkbox]:flex-row data-[input-type=checkbox]:items-center",e),...t}),xoe=({className:e,...t})=>jf.jsx(x8,{className:Dne("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}),Eoe=({className:e,...t})=>jf.jsx(S8,{className:Dne(Ite({size:"md",variant:"outline"}),e),...t}),Soe=({className:e,...t})=>jf.jsx(_8,{className:Dne(Ite({size:"md",variant:"outline"}),e),...t}),_oe=({className:e,...t})=>jf.jsx(C8,{className:Dne(Ite({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}),Toe=({className:e,...t})=>jf.jsx(A8,{className:Dne(Ite({size:"md",variant:"outline"}),"min-h-20 px-4 py-2",e),...t}),Coe=({className:e,...t})=>jf.jsx(I8,{className:Dne(Cte({slot:"root"}),e),...t}),Aoe=({className:e,...t})=>jf.jsx(R8,{className:Dne(Cte({slot:"indicator"}),e),...t}),Noe=e=>{const{field:t,error:n,fieldProps:r}=Rj(),{onValueChange:a,...o}=e;return jf.jsx(O8,{name:t.name,"data-invalid":wP(!!n),value:r.value,onValueChange:Q2(a,r.onChange),...o})},Ioe=({className:e,...t})=>jf.jsx(P8,{className:Dne(zte({slot:"trigger"}),e),...t}),Roe=e=>{const{field:t}=Rj();return jf.jsx(L8,{placeholder:"placeholder"in t?t.placeholder:void 0,...e})},Ooe=({className:e,...t})=>jf.jsx(D8,{className:Dne("h-4 w-4 opacity-45",e),...t}),Poe=({className:e,...t})=>jf.jsx(M8,{className:Dne(zte({slot:"content"}),e),...t}),Loe=({className:e,...t})=>jf.jsx(F8,{className:Dne(zte({slot:"viewport"}),e),...t}),Doe=({className:e,...t})=>jf.jsx(j8,{className:Dne(zte({slot:"item"}),e),...t}),Moe=B8,Foe=({className:e,...t})=>jf.jsx(H8,{className:Dne(zte({slot:"itemIndicator"}),e),...t}),joe=({className:e,...t})=>jf.jsx(U8,{className:Dne("text-sm flex items-center text-red-500 dark:text-red-300",e),...t}),Boe=({className:e,...t})=>jf.jsx(G8,{className:Dne("text-red-500 dark:text-red-300",e),...t}),Hoe=({className:e,...t})=>jf.jsx(V8,{className:Dne("flex items-center justify-end gap-6 w-full",e),...t}),zoe=({className:e,...t})=>jf.jsx(q8,{className:Dne(_te({variant:"outline"}),e),...t}),Uoe=({className:e,...t})=>jf.jsx(K8,{className:Dne(_te({preset:"neutralFilled"}),e),...t}),$oe=({className:e,...t})=>jf.jsx(Q8,{className:Dne("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}),Goe=({className:e,...t})=>jf.jsx(J8,{className:Dne("mb-6 font-bold tracking-tight","text-3xl md:text-4xl leading-6 md:leading-5",e),...t}),Voe=e=>{const{form:t}=rD();return jf.jsx(e9,{children:null==t?void 0:t.successView.message,...e})},Woe=({className:e,...t})=>jf.jsx(n9,{className:Dne(_te({preset:"neutralFilled"}),"w-full mt-12 gap-2 shrink-0",e),...t});function qoe(){return jf.jsxs("div",{className:"flex flex-col h-full",children:[jf.jsxs("div",{className:Dne("h-[calc(100%-24px)]"),children:[jf.jsx("div",{className:"flex px-5 py-1 gap-3",children:Array.from({length:2}).map(((e,t)=>jf.jsx("div",{className:Dne(Ute(),"h-[27.88px] w-16 rounded-full")},t)))}),jf.jsx("div",{className:"flex flex-col w-full gap-2 px-5 py-1",children:Array.from({length:4}).map(((e,t)=>jf.jsx("div",{className:"flex items-center pb-2.5 w-full",children:jf.jsx("div",{className:Dne(Ute(),"h-20 rounded-lg grow-[1]")})},t)))})]}),jf.jsx("div",{className:"flex pt-1 pb-3 px-5 justify-self-end",children:jf.jsx("div",{className:Dne(Ute(),"h-[24px] w-40 rounded-md")})})]})}const Yoe=e=>jf.jsx(p7,{...e}),Koe=({className:e,...t})=>jf.jsx(J7,{className:Dne("data-[hidden]:hidden rounded-md flex","bg-white dark:bg-gray-dark-950",e),...t}),Xoe=({className:e,...t})=>jf.jsx(tee,{className:Dne("data-[hidden]:hidden flex flex-col w-full",e),...t}),Qoe=nee,Zoe=({className:e,...t})=>jf.jsx(ree,{className:Dne("flex items-center w-full px-5 pt-3 pb-1 gap-3",e),...t}),Joe=({className:e,...t})=>jf.jsx(aee,{className:Dne("min-w-5 w-5 text-xl","text-gray-500 dark:text-white-alpha-600",e),...t}),eie=({className:e,...t})=>jf.jsx(iee,{className:Dne("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}),tie=({className:e,...t})=>jf.jsx(lee,{className:Dne("animate-spin text-gray-400 dark:text-white-alpha-500",e),...t}),nie=({className:e,...t})=>jf.jsx(uee,{className:Dne(Ate({slot:"root"}),"m-auto w-[calc(100%_-_theme(spacing.5))]","border-transparent dark:border-transparent","mb-3 py-0 h-11 cursor-pointer",e),...t}),rie=({className:e,...t})=>jf.jsx(pee,{className:Dne("[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}),aie=({className:e,...t})=>jf.jsx(fee,{className:Dne(Ate({slot:"title"}),"font-normal",e),...t}),oie=({className:e,...t})=>jf.jsx(hee,{className:Dne(Ate({slot:"indicator"}),e),...t}),iie=({className:e,...t})=>jf.jsx(gee,{className:Dne(Hte({section:"content"}),"h-0 max-h-full","data-[has-content]:h-[min(calc(85vh_-_72px),calc(850px_-_72px_-_275px))]","transition-all duration-300 ease-in-out data-[has-content]:pb-2",e),...t}),sie=({className:e,...t})=>jf.jsx(bee,{className:Dne("group mb-1 relative transition-all w-full h-full",e),children:jf.jsx(qoe,{}),...t}),lie=({className:e,...t})=>jf.jsx(wee,{className:Dne("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}),cie=({className:e,...t})=>jf.jsx(xee,{className:Dne("shrink-0 max-w-full","flex gap-3 px-5 py-1","overflow-x-auto [scrollbar-width:thin]",e),...t}),uie=({className:e,...t})=>jf.jsx(See,{className:Dne("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",e),...t}),die=({className:e,...t})=>jf.jsx(Tee,{className:Dne("overflow-hidden h-full",'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}),pie=({className:e,...t})=>jf.jsx(Aee,{className:Dne("h-full w-full rounded-[inherit]",e),...t}),fie=({className:e,...t})=>jf.jsx(Nee,{className:Dne("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}),hie=({className:e,...t})=>jf.jsx(Iee,{className:Dne("relative flex-1 rounded-full","bg-gray-300 dark:bg-white-alpha-200",e),...t}),mie=Ree,gie=({className:e,...t})=>jf.jsx(Pee,{className:Dne("w-full flex flex-col","items-center gap-2.5 h-full shrink-0","px-5 py-1 content-center -my-[1px]",e),...t}),yie=({className:e,...t})=>jf.jsx(Dee,{className:Dne(Ate({slot:"root"}),e),...t}),bie=({className:e,...t})=>jf.jsx(Fee,{className:Dne(Ate({slot:"breadcrumbs"}),e),...t}),vie=({className:e,...t})=>jf.jsx(jee,{className:Dne(Ate({slot:"breadcrumbsIcon"}),e),...t}),wie=({className:e,...t})=>jf.jsx(Hee,{className:Dne(Ate({slot:"icon"}),e),...t}),kie=({className:e,...t})=>jf.jsx(Uee,{className:Dne(Ate({slot:"title"}),e),...t}),xie=({className:e,...t})=>jf.jsx(Gee,{className:Dne(Ate({slot:"tag"}),e),...t}),Eie=({className:e,...t})=>jf.jsx(Wee,{className:Dne(Ate({slot:"description"}),e),...t}),Sie=({className:e,...t})=>jf.jsx(Yee,{className:Dne(Ate({slot:"descriptionPart"}),e),...t}),_ie=({className:e,...t})=>jf.jsx(Xee,{className:Dne(Ate({slot:"indicator"}),e),...t}),Tie=({className:e,...t})=>jf.jsx(Zee,{className:Dne("justify-self-end pt-1 pb-3 px-5","hidden data-[has-results]:flex",e),...t}),Cie=({className:e,...t})=>jf.jsx(Jee,{className:Dne("flex items-center whitespace-nowrap",e),...t}),Aie=({className:e,...t})=>jf.jsx(ete,{className:Dne("text-xs md:text-sm text-gray-500 dark:text-white-alpha-600",e),...t}),Nie=({className:e,...t})=>jf.jsx(tte,{className:Dne("text-gray-400 dark:text-white-alpha-500","w-[18px] ml-2 mr-1",e),...t}),Iie=({className:e,...t})=>jf.jsx(nte,{className:Dne(Rte(),"inline-flex text-xs md:text-sm text-gray-500","dark:text-white-alpha-600 font-bold",e),...t}),Rie=e=>{const{onOpenChange:t,config:n,...r}=e,a=(e=>{const{isOpen:t,onOpenChange:n,shortcutKey:r}=e??{},a=V.useCallback((e=>{null==n||n(e)}),[n]),o=V.useCallback((e=>{a(e)}),[a]),i=V.useCallback((()=>a(!0)),[a]),s=V.useCallback((()=>a(!1)),[a]);return V.useEffect((()=>{const e=e=>{r&&(e.metaKey||e.ctrlKey)&&e.key.toLowerCase()===r.toLowerCase()&&(e.preventDefault(),e.stopPropagation(),a(!0)),"Escape"===e.key&&t&&(e.preventDefault(),a(!1))};return document.addEventListener("keydown",e),()=>document.removeEventListener("keydown",e)}),[r,a,t]),{isOpen:t,openModal:i,closeModal:s,handleOpenChange:o,shortcutKey:r}})(n);return jf.jsx(QL,{modal:a,children:jf.jsx(rte,{open:a.isOpen,onOpenChange:Q2(t,a.handleOpenChange),...r})})},Oie=({className:e,...t})=>jf.jsx(ate,{className:Dne(jte({slot:"overlay"}),e),...t}),Pie=({className:e,...t})=>jf.jsx(ite,{className:Dne(jte({slot:"content"}),"w-[min(90vw,720px)]",e),...t}),Lie=({className:e,...t})=>jf.jsx(lte,{className:Dne(jte({slot:"close"}),_te({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}),Die=({className:e,...t})=>jf.jsx(cte,{className:Dne("fixed right-6 bottom-6 mr-[var(--removed-body-scroll-bar-size)]",e),...t}),Mie=({className:e,...t})=>jf.jsx(ute,{className:Dne("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}),Fie=({className:e,...t})=>jf.jsx(dte,{className:Dne("flex items-center",e),...t}),jie=({className:e,...t})=>jf.jsx(hte,{className:Dne("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}),Bie=({className:e,...t})=>jf.jsx(pte,{className:Dne("",e),...t}),Hie=e=>jf.jsx(MO,{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-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.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\\.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\\(--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;\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;\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-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.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.pr-1 {\n padding-right: 0.25rem;\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.\\[--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.\\[--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 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.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\\:\\[--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-transparent:focus-visible {\n --tw-ring-color: transparent;\n}\n\n.focus-visible\\:ring-offset-2:focus-visible {\n --tw-ring-offset-width: 2px;\n}\n\n.focus-visible\\:ring-offset-transparent:focus-visible {\n --tw-ring-offset-color: transparent;\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-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-\\[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-\\[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\\: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.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\\: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-\\[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-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-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.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\\: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\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.\\[\\&_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',...e}),zie=wB("div",{_id:"view_toggle"}),Uie=wB("button",{_id:"view_toggle_button",className:Fne({slot:"button"})}),$ie=wB(fW,{_id:"view_toggle_icon"});function Gie(e){const{handleToggle:t}=Vie(e);return jf.jsxs(zie,{className:Fne({slot:"root"}),children:[jf.jsxs(Uie,{onClick:()=>t("search"),"data-active":wP("search"===e.view),children:[jf.jsx($ie,{"data-active":wP("search"===e.view),iconKey:"switchToSearch",className:Fne({slot:"icon"})}),e.searchLabel||"Search"]}),jf.jsxs(Uie,{onClick:()=>t("chat"),"data-active":wP("chat"===e.view),children:[jf.jsx($ie,{"data-active":wP("chat"===e.view),iconKey:"switchToChat",className:Fne({slot:"icon"})}),e.askAILabel||"Ask AI"]})]})}function Vie(e){const{onToggleView:t,query:n}=e;return{handleToggle:(e,r)=>{null==t||t({view:e,query:n,autoSubmit:r})}}}function Wie(e){const{componentType:t,children:n,modalSettings:r,...a}=e;return jf.jsx(vte,{children:jf.jsx(Hie,{children:jf.jsx(iB,{config:{...a},componentType:t,children:jf.jsx(Rie,{config:r,children:n})})})})}function qie(e){return jf.jsx(Oie,{children:jf.jsx(Pie,{children:e.children})})}function Yie(e){const{children:t,onToggleView:n,isHidden:r,shouldAutoFocusInput:a=!n}=e;return jf.jsx(Une,{isHidden:r,shouldAutoFocusInput:a,children:t})}function Kie(e){return jf.jsx(Yie,{...e,children:jf.jsx(Xie,{...e})})}function Xie(e){const{onToggleView:t}=e,n=ZL(),r=iD(),a=n&&!r?qie:V.Fragment;return jf.jsx(a,{children:jf.jsxs($ne,{variant:t?"no-shadow":"container-with-shadow","data-composite":wP(!!e.onToggleView||(null==n?void 0:n.isOpen)),children:[jf.jsx(Gne,{}),jf.jsxs(Vne,{children:[jf.jsx(Qie,{...e}),jf.jsx(Zie,{}),jf.jsx(ose,{})]}),jf.jsx(lse,{}),jf.jsx(cse,{})]})})}function Qie(e){const{onToggleView:t,askAILabel:n,searchLabel:r}=e,a=!!t;return jf.jsxs(Wne,{"data-show-toolbar":wP(a),children:[a&&jf.jsxs(qne,{children:[jf.jsxs(Yne,{children:[jf.jsx(Kne,{}),jf.jsxs(nre,{children:[jf.jsx(are,{}),jf.jsxs(ore,{side:"bottom",align:"start",children:[jf.jsx(ire,{}),jf.jsx(sre,{})]})]})]}),jf.jsx(Gie,{onToggleView:t,askAILabel:n,searchLabel:r,view:"chat"})]}),jf.jsx(Lie,{})]})}function Zie(){return jf.jsx(Xne,{children:jf.jsxs(Qne,{children:[jf.jsx(Zne,{children:jf.jsx(Jie,{})}),jf.jsx(Jne,{children:jf.jsx(ere,{})}),jf.jsx(tre,{})]})})}function Jie(){return jf.jsx(fre,{children:({messages:e})=>jf.jsxs(jf.Fragment,{children:[jf.jsx(ese,{}),e.map((e=>jf.jsxs(mre,{message:e,children:[jf.jsx(tse,{}),jf.jsx(bre,{}),jf.jsxs(Sre,{children:[jf.jsx(_re,{children:jf.jsx(Fre,{})}),jf.jsx(nse,{}),jf.jsx(rse,{}),jf.jsx(ase,{})]})]},e.id)))]})})}function ese(){return jf.jsxs(gre,{children:[jf.jsxs(yre,{children:[jf.jsx(vre,{children:jf.jsxs(wre,{children:[jf.jsx(kre,{}),jf.jsx(xre,{})]})}),jf.jsx(Ere,{})]}),jf.jsxs(Sre,{children:[jf.jsx(_re,{children:jf.jsx(Fre,{})}),jf.jsxs(nre,{children:[jf.jsx(rre,{}),jf.jsx(are,{}),jf.jsxs(ore,{children:[jf.jsx(ire,{}),jf.jsx(sre,{})]})]}),jf.jsxs(lre,{children:[jf.jsx(cre,{}),jf.jsx(ure,{children:e=>e.map((e=>jf.jsx(dre,{children:jf.jsx(pre,{question:e})},e)))})]})]})]})}function tse(){return jf.jsxs(yre,{children:[jf.jsx(vre,{children:jf.jsxs(wre,{children:[jf.jsx(kre,{}),jf.jsx(xre,{})]})}),jf.jsx(Ere,{})]})}function nse(){return jf.jsxs(Tre,{children:[jf.jsx(Cre,{children:e=>e.map((e=>jf.jsxs(Are,{attachment:e,children:[jf.jsx(Nre,{}),jf.jsx(Ire,{})]},e.id)))}),jf.jsx(Rre,{children:jf.jsx(wte,{children:jf.jsx(Ore,{children:jf.jsxs(Pre,{children:[jf.jsx(Lre,{}),jf.jsx(Dre,{}),jf.jsx(Mre,{})]})})})})]})}function rse(){return jf.jsxs(jre,{children:[jf.jsx(Bre,{children:e=>e.map(((e,t)=>jf.jsx(Hre,{action:e},`action-${t}`)))}),jf.jsx(zre,{action:"copy"}),jf.jsx(zre,{action:"upvote"}),jf.jsx(zre,{action:"downvote"})]})}function ase(){return jf.jsxs(Ure,{children:[jf.jsx($re,{}),jf.jsx(Gre,{children:e=>e.map(((e,t)=>{var n;return jf.jsxs(Vre,{href:e.url,source:e,children:[jf.jsx(Wre,{children:null==(n=e.breadcrumbs)?void 0:n.map((e=>jf.jsxs(V.Fragment,{children:[e,jf.jsx(qre,{})]},e)))}),jf.jsx(Yre,{}),jf.jsx(Kre,{}),jf.jsx(Xre,{}),jf.jsx(Qre,{children:e=>e.map(((e,t)=>jf.jsx(Zre,{part:e},`part-${t}`)))}),jf.jsx(Jre,{})]},t)}))})]})}function ose(){return jf.jsxs(eae,{children:[jf.jsx(ise,{}),jf.jsx(sse,{})]})}function ise(){return jf.jsxs(tae,{children:[jf.jsxs(nae,{children:[jf.jsx(rae,{}),jf.jsx(aae,{children:jf.jsx(oae,{})})]}),jf.jsxs(iae,{children:[jf.jsx(sae,{children:e=>e.map((e=>jf.jsxs(lae,{attachment:e,children:[jf.jsx(cae,{}),jf.jsx(uae,{}),jf.jsx(dae,{})]},e.id)))}),jf.jsxs(pae,{children:[jf.jsxs(fae,{children:[jf.jsx(hae,{}),jf.jsx(mae,{})]}),jf.jsx(gae,{children:e=>e.map((e=>jf.jsxs(yae,{input:e,children:[jf.jsx(bae,{}),e.displayName]},e.id)))})]}),jf.jsx(wte,{children:jf.jsx(vae,{children:jf.jsx(wae,{children:jf.jsxs(kae,{children:[jf.jsxs(xae,{children:[jf.jsx(Eae,{}),jf.jsx(Sae,{}),jf.jsx(_ae,{})]}),jf.jsx(Tae,{}),jf.jsx(Cae,{children:jf.jsxs(Aae,{children:[jf.jsxs(Nae,{children:[jf.jsx(Iae,{}),jf.jsx(Rae,{}),jf.jsx(Oae,{})]}),jf.jsxs(Pae,{children:[jf.jsx(Lae,{}),jf.jsx(Dae,{}),jf.jsx(Mae,{})]}),jf.jsx(Fae,{})]})})]})})})})]})]})}function sse(){return jf.jsxs(jae,{children:[jf.jsxs(Hae,{children:[jf.jsx(zae,{}),jf.jsx(Uae,{}),jf.jsx($ae,{})]}),jf.jsxs(Bae,{children:[jf.jsx(Yae,{children:({pinned:e,unpinned:t})=>jf.jsxs(jf.Fragment,{children:[e.map((e=>jf.jsx(Kae,{action:e},e.name))),t.length>0&&jf.jsx(Xae,{}),jf.jsxs(Qae,{children:[jf.jsx(Zae,{}),t.map((e=>jf.jsxs(Jae,{action:e,children:[jf.jsx(eoe,{action:e}),e.name]},e.name)))]})]})}),jf.jsxs(Vae,{action:"copy",children:[jf.jsx(Wae,{action:"copy"}),jf.jsx(qae,{action:"copy"})]}),jf.jsxs(Vae,{action:"share",children:[jf.jsx(Wae,{action:"share"}),jf.jsx(qae,{action:"share"})]}),jf.jsx(Vae,{action:"clear"}),jf.jsx(Vae,{action:"stop"})]})]})}function lse(){return jf.jsx(wte,{children:jf.jsx(toe,{children:jf.jsx(noe,{children:jf.jsxs(roe,{children:[jf.jsx(aoe,{}),jf.jsx(ooe,{}),jf.jsx(ioe,{children:jf.jsxs(soe,{children:[jf.jsxs(loe,{name:"unrelated_response",children:[jf.jsx(coe,{children:jf.jsx(uoe,{})}),jf.jsx(doe,{}),jf.jsx(poe,{})]}),jf.jsxs(loe,{name:"inaccurate_statement",children:[jf.jsx(coe,{children:jf.jsx(uoe,{})}),jf.jsx(doe,{}),jf.jsx(poe,{})]}),jf.jsxs(loe,{name:"inaccurate_code_snippet",children:[jf.jsx(coe,{children:jf.jsx(uoe,{})}),jf.jsx(doe,{}),jf.jsx(poe,{})]}),jf.jsxs(loe,{name:"irrelevant_citations",children:[jf.jsx(coe,{children:jf.jsx(uoe,{})}),jf.jsx(doe,{})]}),jf.jsx(foe,{})]})})]})})})})}function cse(){return jf.jsxs(hoe,{children:[jf.jsx(goe,{}),jf.jsxs(moe,{children:[jf.jsxs(yoe,{children:[jf.jsx(boe,{}),jf.jsx(voe,{})]}),jf.jsx(woe,{children:e=>jf.jsxs(jf.Fragment,{children:[e.map(((e,t)=>jf.jsxs(koe,{field:e,autoFocus:0===t,children:[jf.jsx(xoe,{}),"text"===e.inputType&&jf.jsx(Eoe,{}),"email"===e.inputType&&jf.jsx(Soe,{}),"file"===e.inputType&&jf.jsx(_oe,{}),"textarea"===e.inputType&&jf.jsx(Toe,{}),"checkbox"===e.inputType&&jf.jsx(Coe,{children:jf.jsx(Aoe,{})}),"select"===e.inputType&&jf.jsxs(Noe,{children:[jf.jsxs(Ioe,{children:[jf.jsx(Roe,{}),jf.jsx(Ooe,{})]}),jf.jsx(Poe,{children:jf.jsx(Loe,{children:e.items.map((e=>jf.jsxs(Doe,{value:e.value,children:[jf.jsx(Moe,{children:e.label}),jf.jsx(Foe,{})]},e.value)))})})]}),jf.jsx(joe,{})]},e.name))),jf.jsx(Boe,{})]})}),jf.jsxs(Hoe,{children:[jf.jsx(zoe,{}),jf.jsx(Uoe,{})]})]}),jf.jsxs($oe,{children:[jf.jsx(Goe,{}),jf.jsx(Voe,{}),jf.jsx(Woe,{})]})]})}function use(e){const{children:t,onToggleView:n,isHidden:r,shouldAutoFocusInput:a=!n}=e;return jf.jsx(Yoe,{isHidden:r,shouldAutoFocusInput:a,children:t})}function dse(e){const{onToggleView:t}=e,n=ZL(),r=iD(),a=n&&!r?qie:V.Fragment;return jf.jsx(a,{children:jf.jsx(Koe,{"data-composite":wP(!!t||(null==n?void 0:n.isOpen)),children:jf.jsxs(Xoe,{children:[jf.jsx(pse,{...e}),jf.jsxs(Qoe,{children:[jf.jsx(fse,{...e}),jf.jsx(hse,{})]}),jf.jsx(gse,{})]})})})}function pse(e){const{onToggleView:t,askAILabel:n,searchLabel:r}=e,{query:a}=h7();return jf.jsxs(Zoe,{children:[jf.jsx(Joe,{}),jf.jsx(eie,{}),jf.jsx(tie,{}),t&&jf.jsx(Gie,{onToggleView:t,query:a,askAILabel:n,searchLabel:r,view:"search"}),jf.jsx(Lie,{})]})}function fse(e){const{askAILabel:t,onToggleView:n,shouldShowAskAICard:r=!!n}=e,{query:a}=h7(),{handleToggle:o}=Vie({onToggleView:n,query:a});return r?jf.jsxs(nie,{onSelect:()=>o("chat",!0),children:[jf.jsx(rie,{}),jf.jsxs(aie,{children:[t||"Ask AI",a&&` "${a}"`]}),jf.jsx(oie,{})]}):null}function hse(){return jf.jsxs(iie,{children:[jf.jsx(sie,{}),jf.jsx(cie,{children:e=>e.map((e=>jf.jsx(uie,{tab:e},e)))}),jf.jsx(lie,{}),jf.jsxs(die,{children:[jf.jsx(pie,{children:jf.jsx(mse,{})}),jf.jsx(fie,{children:jf.jsx(hie,{})}),jf.jsx(mie,{})]})]})}function mse(){return jf.jsx(gie,{children:e=>e.map((e=>jf.jsxs(yie,{item:e,children:[jf.jsx(bie,{children:e=>e.map((e=>jf.jsxs(V.Fragment,{children:[e,jf.jsx(vie,{})]},e)))}),jf.jsx(wie,{}),jf.jsx(kie,{}),jf.jsx(xie,{}),jf.jsx(Eie,{children:e=>e.map(((e,t)=>jf.jsx(Sie,{part:e},`part-${t}`)))}),jf.jsx(_ie,{})]},e.id)))})}function gse(){return jf.jsx(Tie,{children:jf.jsxs(Cie,{children:[jf.jsx(Aie,{}),jf.jsx(Nie,{}),jf.jsx(Iie,{})]})})}function yse(e,t){"function"==typeof e?e(t):null!=e&&(e.current=t)}function bse(...e){return t=>{for(const n of e)yse(n,t)}}function vse(e){const{view:t,setView:n,shouldShowAskAICard:r,onToggleView:a,defaultView:o,shouldAutoFocusInput:i,searchLabel:s,askAILabel:l}=e,c=ZL()?qie:V.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 jf.jsx(oD,{widget:{setView:n},children:jf.jsx(use,{...u,children:jf.jsx(Yie,{...d,children:jf.jsxs(c,{children:[jf.jsx(dse,{...u}),jf.jsx(Xie,{...d})]})})})})}function wse(e){const{label:t="Ask AI",setOpen:n}=e;return jf.jsx(Die,{children:jf.jsxs(Mie,{onClick:e=>{2!==e.button&&n((e=>!e))},children:[jf.jsx(Fie,{children:t}),jf.jsx(Bie,{children:jf.jsx(jie,{})})]})})}const kse=function(e,t){const n=new Map;return function(r,a){let o,i;if("string"==typeof r)i=r,o=a;else{if(!Rf.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),i=`#${e.id||`inkeep-widget-${Date.now()}`}`,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);if(!l){l={root:Sf.createRoot(s),props:o,container:s,chatFunctionsRef:V.createRef(),searchFunctionsRef:V.createRef(),ref:V.createRef()},n.set(i,l)}l.props=If(o,{aiChatSettings:{chatFunctionsRef:l.chatFunctionsRef},searchSettings:{searchFunctionsRef:l.searchFunctionsRef}},{ref:l.ref}),l.container=s;try{l.root.render(V.createElement(e,l.props))}catch(u){console.error(`Error rendering component ${e.name}:`,u)}const c={update:t=>{const r=n.get(i);if(r){r.props=If(r.props??{},t??{});try{r.root.render(V.createElement(e,r.props))}catch(u){console.error(`Error rendering component ${e.name} during update:`,u)}}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=Sf.createRoot(t.container);try{t.root.render(V.createElement(e,t.props))}catch(u){console.error(`Error remounting component ${e.name}:`,u)}}else console.error(`Component at ${i} cannot be remounted.`)}};{const e=Of(i,"chatFunctionsRef",n),t=Of(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}})}}}((function(e){const[t,n]=V.useState(!1),{modalSettings:r,label:a,defaultView:o="chat",canToggleView:i=!0,...s}=e,{config:l,...c}=function(e){const{defaultView:t="search",aiChatSettings:n,baseSettings:r,searchSettings:a,shouldAutoFocusInput:o=!0,onToggleView:i,ref:s,...l}=e,c=V.useRef(null),u=bse(c,null==n?void 0:n.chatFunctionsRef),d=V.useRef(null),p=bse(d,null==a?void 0:a.searchFunctionsRef),f={...n,chatFunctionsRef:u},h={...a,searchFunctionsRef:p},[m,g]=V.useState(t);return V.useImperativeHandle(s,(()=>({setView:g}))),V.useEffect((()=>{var e,t;"chat"===m?null==(e=c.current)||e.focusInput():null==(t=d.current)||t.focusInput()}),[m]),{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}}({...s,defaultView:o}),u={...r,isOpen:t,onOpenChange:t=>{e.forceDefaultView&&!t&&c.setView(o??"chat"),n(!!t)}};return jf.jsxs(jf.Fragment,{children:[jf.jsx(Hie,{wrapperStyles:{display:"contents"},children:jf.jsx(iB,{config:l,componentType:FO,children:jf.jsx(wse,{label:a,setOpen:n})})}),jf.jsx(Wie,{...l,componentType:FO,modalSettings:u,children:i?jf.jsx(vse,{...c}):jf.jsx(Kie,{...s})})]})}),"ChatButton");window.Inkeep={ChatButton:kse}}();
56
+ */;function k2(){const[e,t]=V.useState(!1);return[e,V.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 x2=wB("h1",{_id:"markdownH1"}),E2=wB("h2",{_id:"markdownH2"}),S2=wB("p",{_id:"markdownP"}),_2=wB("li",{_id:"markdownLi"}),T2=wB("ul",{_id:"markdownUl"}),C2=wB("ol",{_id:"markdownOl"}),A2=wB(mW,{_id:"markdownLink"}),N2=wB("sup",{_id:"markdownSourceLink"}),I2=wB("table",{_id:"markdownTable"}),R2=wB("th",{_id:"markdownTh"}),O2=wB("td",{_id:"markdownTd"}),P2=wB("code",{_id:"markdownCode"}),L2=wB("div",{_id:"codeblockContainer"}),D2=wB("div",{_id:"codeblockHeader"}),M2=wB("span",{_id:"codeblockHeaderLanguage"}),F2=wB("button",{_id:"codeblockCopyButton",type:"button"}),j2=wB("div",{_id:"codeblockHighlighterWrapper"}),B2=wB("div",{_id:"codeblockHighlighter"}),H2=wB("code",{_id:"codeblockCode"}),z2=V1.oneLight,U2=V1.vsDark,$2=({className:e="",children:t,onCopy:n})=>{var r;const a=e.replace(/^language-/,""),o=String(t).replace(/\n$/,""),[i,s]=k2(),{baseSettings:l}=zO(),c=null==(r=l.theme)?void 0:r.syntaxHighlighter,{lightTheme:u=z2,darkTheme:d=U2}=c??{},p=qj(u,d);return jf.jsxs(L2,{children:[jf.jsxs(D2,{children:[jf.jsx(M2,{children:a}),jf.jsx(F2,{"aria-label":"Copy to clipboard",onClick:()=>{s(o),null==n||n(a,o)},"data-copied":wP(i),children:jf.jsx(fW,{iconKey:i?"codeCopied":"codeCopy"})})]}),jf.jsx(j2,{children:jf.jsx(w2,{theme:p,code:o,language:a,prism:l.prism,children:({className:e,tokens:t,getLineProps:n,getTokenProps:r,style:a})=>jf.jsx(B2,{className:e,children:jf.jsx(H2,{style:a,children:t.map(((e,t)=>jf.jsx("div",{...n({line:e}),children:e.map(((e,t)=>jf.jsx("span",{...r({token:e})},t)))},t)))})})})})]})};function G2(){return e=>{hX(e,"element",((e,t,n)=>{"code"===e.tagName&&(n&&"pre"===n.tagName?e.properties.inline=!1:e.properties.inline=!0)}))}}const V2=({children:e,componentStyles:t,shouldOpenLinksInNewTab:n,onLinkClick:r,onCodeCopy:a,...o})=>{if(!e)return null;const i={h1:({children:e})=>jf.jsx(x2,{children:e}),h2:({children:e})=>jf.jsx(E2,{children:e}),p:({children:e})=>jf.jsx(S2,{children:e}),li:({children:e})=>jf.jsx(_2,{children:e}),ul:({children:e})=>jf.jsx(T2,{children:e}),ol:({children:e,node:t})=>{var n;const r=null==(n=null==t?void 0:t.properties)?void 0:n.start;return jf.jsx(C2,{style:{"--start":(null==r?void 0:r.toString())??"0"},children:e})},a:({children:e,href:t})=>{const a=W.Children.toArray(e),o=a[0],i="string"==typeof o&&/^\(\d+\)$/.test(o)&&1===a.length,s=i?o.match(/\d+/):e,l=jf.jsx(A2,{isExternal:n,href:t,onClick:()=>{null==r||r(t,null==s?void 0:s.toString())},children:s});return i?jf.jsx(N2,{children:l}):l},img:({src:e,alt:t})=>`![${t||""}](${e||""})`,table:({children:e})=>jf.jsx(I2,{children:e}),th:({children:e,isHeader:t})=>t?jf.jsx(R2,{children:e}):jf.jsx(O2,{children:e}),pre:({children:e})=>jf.jsx("pre",{children:e}),code:({children:e,inline:t,className:n})=>t?jf.jsx(P2,{children:e}):jf.jsx($2,{className:n,onCopy:a,children:e})},s=jf.jsx(sQ,{rehypePlugins:[v1,G2],components:i,disallowedElements:W2,children:e.toString(),...o});return jf.jsx(Dj,{componentStyles:t,children:s})},W2=["script","iframe","frame","embed","meta","base","form","style","object"];function q2(){return jf.jsxs("svg",{viewBox:"0 0 12 10",style:{width:"1.2em",fill:"none",strokeWidth:2,stroke:"currentColor",strokeDasharray:16},children:[jf.jsx("title",{children:"Checkbox Icon"}),jf.jsx("polyline",{points:"1.5 6 4.5 9 10.5 1"})]})}function Y2(e){const t=OO();return jf.jsxs("svg",{viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[jf.jsx("title",{children:"Tag Line Logo Icon"}),jf.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})`}),jf.jsx("defs",{children:jf.jsxs("linearGradient",{id:t,x1:"1.5893",y1:"25.285",x2:"24.0784",y2:"10.1057",gradientUnits:"userSpaceOnUse",children:[jf.jsx("stop",{stopColor:"currentColor"}),jf.jsx("stop",{offset:"1",stopColor:"currentColor"})]})})]})}const K2=e=>{const{logEvent:t}=iP(),{conversation:n}=VO(),{openForm:r}=rD(),a=ZL();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.closeModal()))},logHelpAction:()=>{"name"in e&&t({eventName:"get_help_option_clicked",properties:{getHelpOption:e,conversation:n}})}}},X2=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 Q2(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 Z2(e){return e.toLowerCase().replace(/(^\w+:|^)\/\//,"").replace(/^www\./,"").replace(/\/$/,"").startsWith("github.com")}function J2(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 e5={js:".js",db:"DB",sql:"SQL"};function t5(e){return Object.entries(e5).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 n5=["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"],r5=["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"],a5=["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 o5(e){return`\\b${e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}\\b`}function i5(e,t,n,r=!1){return r&&new RegExp(`^${n}\\b`,"i").test(e)?e:e.replace(new RegExp(n,"gi"),t)}const s5=(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(l5)}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=J2(t,r)),t=t5(t),t=function(e){let t=e;return t=r5.reduce(((e,t)=>i5(e,t,o5(t),!0)),t),t=a5.reduce(((e,t)=>i5(e,t,o5(t))),t),t=n5.reduce(((e,t)=>i5(e,t,o5(t))),t),t}(t),t}))??[]},l5=e=>e.split(/[-_]/).map((e=>e.charAt(0).toUpperCase()+e.slice(1).toLowerCase())).join(" ");const c5=(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)},u5=e=>{let t="LuBookOpen";"documentation"===e.type&&"book"===e.contentType?t="IoBookOutline":"documentation"===e.type&&"pdf"===e.contentType?t="FaFilePdf":"github_issue"===e.type||Z2(e.url)?t="FaGithub":"discourse"===e.type?t="FaDiscourse":"discord"===e.type?t="FaDiscord":"slack_message"===e.type?t="FaSlack":"stackoverflow"===e.type&&(t="FaStackOverflow");return{builtIn:t}},d5=(e,t)=>{let n=e.title;if(!n)return"";const r=null==t?void 0:t.organizationDisplayName;return n=t5(n),r&&(n=J2(n,r)),n},p5=(e,t,n)=>{const{transformSource:r,...a}=n,o=s5(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||Z2(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)??d5(e,n),description:(null==s?void 0:s.description)??c5(e,t),breadcrumbs:(null==s?void 0:s.breadcrumbs)??o,icon:(null==s?void 0:s.icon)??u5(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}},f5=wB("div",{_id:"aiChatWrapper"}),h5=V.forwardRef(((e,t)=>{const{...n}=e,{isHidden:r,isMobile:a}=xj(),[o,i]=function(){const e=V.useRef(null),[t,n]=V.useState({width:0,height:0});return V.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=fB(t,o),l=!(null==i?void 0:i.width)||i.width>580,c=ZL();return jf.jsx(f5,{ref:s,"data-widget-md":wP(l),"data-hidden":wP(r),"data-in-modal":wP(!!c),"data-mobile":wP(a),...n})})),m5=wB("div",{_id:"aiChatConversationLoading"}),g5=e=>{const{isLoadingConversation:t}=xj();return t?jf.jsx(m5,{children:jf.jsx("span",{children:"Loading..."}),...e}):null},y5=wB("div",{_id:"aiChatRoot"}),b5=e=>{const{isLoadingConversation:t,isHidden:n}=xj(),{form:r}=rD();return t||r?null:jf.jsx(y5,{"data-hidden":wP(n),...e})},v5=wB("div",{_id:"aiChatHeader"}),w5=wB("div",{_id:"aiChatHeader__Toolbar"}),k5=wB("div",{_id:"aiChatHeader__ToolbarHeaderWrapper"}),x5=wB("div",{_id:"aiChatHeader__ToolbarHeader"}),E5=V.memo((e=>{const{aiChatSettings:t}=zO(),n=`Ask ${t.aiAssistantName||"AI"}`;return jf.jsx(x5,{...e,children:n})})),S5=wB("div",{_id:"aiChatContent"}),_5=wB(N$,{_id:"aiChatContentScrollArea"}),T5=wB(I$,{_id:"aiChatContentScrollArea__Viewport"}),C5=V.forwardRef((({children:e,...t},n)=>{const{containerRef:r}=function(e={}){const{threshold:t=150,interactionTimeout:n=150}=e,r=V.useRef(null),a=V.useRef(!0),o=V.useRef(!1),i=V.useCallback((()=>{const e=r.current;return!!e&&e.scrollHeight-e.clientHeight-e.scrollTop<t}),[t]),s=V.useCallback(((e=!1)=>{const t=r.current;t&&!o.current&&t.scrollTo({top:t.scrollHeight,behavior:e?"smooth":"auto"})}),[]);return V.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]),V.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]),V.useEffect((()=>{r.current&&s()}),[s]),{containerRef:r,scrollToBottom:s,isNearBottom:i}}(),a=fB(n,r);return jf.jsx(T5,{ref:a,children:jf.jsx("div",{"data-part":"grid",style:{display:"grid"},children:e}),...t})})),A5=wB(a$,{_id:"aiChatContentScrollArea__Scrollbar"}),N5=wB(m$,{_id:"aiChatContentScrollArea__Thumb"}),I5=wB(R$,{_id:"aiChatContentScrollArea__Corner"}),R5=wB("div",{_id:"aiChatMessages"}),O5=e=>{const t=xj(),{children:n,...r}=e;return jf.jsx(R5,{children:xP(n,t),...r})},P5=wB("div",{_id:"aiChatDisclaimer"}),L5=V.memo((e=>{var t;const{aiChatSettings:n}=zO();return(null==(t=n.disclaimerSettings)?void 0:t.isEnabled)?jf.jsx(UU,{openDelay:100,children:jf.jsx(P5,{...e})}):null})),D5=wB("span",{_id:"aiChatDisclaimerLabel"}),M5=V.memo((e=>{const{aiChatSettings:t}=zO(),n=t.disclaimerSettings;return jf.jsx(D5,{children:null==n?void 0:n.label,...e})})),F5=wB($U,{_id:"aiChatDisclaimerTrigger",children:jf.jsx(fW,{iconKey:"info"})}),j5=wB(GU,{_id:"aiChatDisclaimerContent"}),B5=e=>jf.jsx(j5,{side:"top",sideOffset:8,align:"end",alignOffset:-10,...e});wB(V2,{_id:"aiChatDisclaimerText"});const H5=V.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 jf.jsx(V2,{shouldOpenLinksInNewTab:!0,children:a,...e})})),z5=wB(VU,{_id:"aiChatDisclaimerArrow"}),U5=wB("div",{_id:"aiChatQuickQuestions"}),$5=e=>{var t;const{aiChatSettings:n}=zO(),{messages:r}=xj();return!(null==(t=n.exampleQuestions)?void 0:t.length)||r.length?null:jf.jsx(U5,{...e})},G5=wB("h3",{_id:"aiChatQuickQuestionsLabel"}),V5=V.memo((e=>{const{aiChatSettings:t}=zO();return jf.jsx(G5,{children:t.exampleQuestionsLabel,...e})})),W5=wB("div",{_id:"aiChatQuickQuestionsList"}),q5=V.memo((e=>{const{aiChatSettings:t}=zO(),n=t.exampleQuestions,{children:r,...a}=e;return jf.jsx(W5,{children:xP(r,n),...a})})),Y5=wB("div",{_id:"aiChatQuickQuestion"}),K5=V.forwardRef(((e,t)=>{const{aiChatSettings:n}=zO(),r=n.isFirstExampleQuestionHighlighted;return jf.jsx(Y5,{ref:t,"data-highlight":wP(r),...e})})),X5=wB("button",{_id:"aiChatQuickQuestionButton"}),Q5=e=>{const{question:t,onClick:n,...r}=e,{handleSubmit:a}=xj();return jf.jsx(X5,{onClick:Q2(n,(()=>a(t))),children:t,...r})};wB("div",{_id:"aiChatWorkflows"});const Z5=wB("h3",{_id:"aiChatWorkflowsLabel"});V.memo((e=>{const{aiChatSettings:t}=zO();return jf.jsx(Z5,{children:t.workflowsHeader,...e})}));const J5=wB("div",{_id:"aiChatWorkflowsList"});V.memo((e=>{const{aiChatSettings:t}=zO(),n=t.workflows,{children:r,...a}=e;return jf.jsx(J5,{children:xP(r,n),...a})})),wB("button",{_id:"aiChatWorkflow"}),wB((function(e){return IV({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 e3=wB("div",{_id:"aiChatMessageWrapper"}),t3=e=>{const{message:t,...n}=e;return"system"===t.role?null:jf.jsx(Hj,{message:t,children:jf.jsx(e3,{"data-role":t.role,...n})})},n3=V.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 jf.jsx(t3,{message:u,...n})})),r3=wB("div",{_id:"aiChatMessageHeader"}),a3=e=>{const{message:t}=zj();return jf.jsx(r3,{"data-role":t.role,...e})},o3=wB("div",{_id:"aiChatMessageLoading"}),i3=e=>{var t;const{isLoading:n,isStreaming:r,messages:a}=xj(),{message:o}=zj();return(null==(t=a.at(-1))?void 0:t.id)===(null==o?void 0:o.id)&&"assistant"===o.role&&n&&!r?jf.jsx(o3,{children:"Thinking...",...e}):null},s3=wB("div",{_id:"aiChatMessageAvatar"}),l3=e=>{const{message:t}=zj();return jf.jsx(s3,{"data-role":t.role,...e})},c3=wB(qB,{_id:"aiChatMessageAvatarContent"}),u3=e=>{const{message:t}=zj(),{baseSettings:n}=zO();return jf.jsx(c3,{"data-username":wP("user"===t.role&&!!n.userProperties.name),"data-role":t.role,...e})},d3=wB(KB,{_id:"aiChatMessageAvatarFallback"}),p3=V.memo((e=>{const{baseSettings:t}=zO(),{message:n}=zj();return t.userProperties.name?jf.jsx(d3,{"data-role":n.role,children:kP(t.userProperties.name),...e}):null})),f3=wB(YB,{_id:"aiChatMessageAvatarImage"}),h3=V.memo((e=>{const{onLoadingStatusChange:t,...n}=e,{aiChatSettings:r,baseSettings:{userProperties:a}}=zO(),{message:o}=zj(),{aiAssistantAvatar:i}=r??{},s="string"==typeof i?i:null==i?void 0:i.light,l=qj(s,("string"==typeof i?i:null==i?void 0:i.dark)??s),[c,u]=V.useState(l);V.useEffect((()=>{u(l)}),[l]);return"user"===o.role?a.name?null:r.userAvatar?jf.jsx(f3,{"data-type":"image","data-role":o.role,src:r.userAvatar,...e}):jf.jsx(PV,{"data-type":"icon","data-role":o.role,...e}):c?jf.jsx(f3,{src:c,"data-type":"image","data-role":o.role,onLoadingStatusChange:Q2(t,(e=>{"error"===e&&u(null)})),...n}):jf.jsx(OV,{"data-type":"icon","data-role":o.role,...e})})),m3=wB("span",{_id:"aiChatMessageName"}),g3=e=>{const{message:t}=zj();return jf.jsx(m3,{"data-role":t.role,children:"user"===t.role?"You":"AI assistant",...e})},y3=wB("div",{_id:"aiChatMessageContentWrapper"}),b3=e=>{const{message:t}=zj();return jf.jsx(y3,{"data-role":t.role,...e})},v3=wB("div",{_id:"aiChatMessageContent"}),w3=e=>{const{message:t}=zj();return jf.jsx(v3,{"data-role":t.role,...e})},k3=wB("div",{_id:"aiChatMessageAttachments"}),x3=wB("div",{_id:"aiChatMessageAttachments__List"}),E3=e=>{var t,n;const{children:r,...a}=e,{message:o}=zj(),i=null==(n=null==(t=o.metadata)?void 0:t.attributes)?void 0:n.attachments;return i?jf.jsx(x3,{children:xP(r,i),...a}):null},S3=wB("div",{_id:"aiChatMessageAttachments__Item"}),_3=e=>{const{attachment:t,onClick:n,...r}=e,{selectItem:a,onOpen:o}=jj();return jf.jsx(Hf,{attachment:t,children:jf.jsx(S3,{onClick:Q2(n,(()=>{a(t),o()})),...r})})},T3=wB(dW,{_id:"aiChatMessageAttachments__ItemIcon"}),C3=e=>{var t;const{attachment:n}=zf(),r=null==(t=n.contentType)?void 0:t.attachmentIcon;return r?jf.jsx(T3,{iconSettings:r,...e}):null},A3=wB("span",{_id:"aiChatMessageAttachments__ItemTitle"}),N3=e=>{const{attachment:t}=zf();return jf.jsx(A3,{children:t.title,...e})},I3=wB(mV,{_id:"aiChatMessageAttachmentsPreview"}),R3=wB(yV,{_id:"aiChatMessageAttachmentsPreview__Overlay"}),O3=wB(bV,{_id:"aiChatMessageAttachmentsPreview__Content","aria-describedby":void 0}),P3=wB(vV,{_id:"aiChatMessageAttachmentsPreview__Header"}),L3=e=>{const{selectedItem:t}=jj();return jf.jsx(P3,{children:(null==t?void 0:t.title)||"Attachment",...e})},D3=wB(wV,{_id:"aiChatMessageAttachmentsPreview__Close",children:jf.jsx(fW,{iconKey:"close"})}),M3=wB("p",{_id:"aiChatMessageAttachmentsPreview__Body"}),F3=e=>{const{selectedItem:t}=jj();return jf.jsx(M3,{children:null==t?void 0:t.content,...e})},j3=wB("div",{_id:"aiChatMessage"}),B3=e=>{const{aiChatSettings:t}=zO(),{componentStyles:n,...r}=e,{message:a}=zj(),{logEvent:o}=iP(),i=EP(a),{conversation:s}=VO();return"user"===a.role?jf.jsx(j3,{"data-role":a.role,children:i,...r}):jf.jsx(j3,{"data-role":a.role,...r,children:jf.jsx(V2,{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}})}})})},H3=wB("div",{_id:"aiChatMessageActions"}),z3=e=>{var t;const{isLoading:n,messages:r}=xj(),{message:a}=zj();return(null==(t=r.at(-1))?void 0:t.id)===(null==a?void 0:a.id)&&n||"user"===a.role?null:jf.jsx(H3,{...e})},U3=wB("div",{_id:"aiChatMessageToolActions"}),$3=e=>{const{children:t,...n}=e,{message:r}=zj(),{messageToolCalls:a}=xj(),o=a[r.id]||[];return jf.jsx(U3,{children:xP(t,o),...n})},G3=e=>{const{onClick:t,action:n,...r}=e,{handleAction:a}=K2(n),o=n.label||"Contact Support",i=jf.jsxs(jf.Fragment,{children:[n.icon&&jf.jsx(dW,{iconSettings:n.icon}),o]}),s=n.action.type,l=wB("open_link"===s?"a":"button",{_id:"aiChatMessageToolAction",children:i,"data-type":n.action.type,..."open_link"===s&&{href:n.action.url,target:"_blank",rel:"noopener"},onClick:Q2(t,(()=>{a()}))});return jf.jsx(l,{...r})},V3=wB("button",{_id:"aiChatMessageAction"}),W3=e=>{var t,n,r;const{action:a,onClick:o,className:i,...s}=e,{conversation:l}=VO(),{message:c}=zj(),{isStreaming:u,messages:d}=xj(),[p,f]=k2(),{feedback:h,submitPositiveFeedback:m,setCurrentFeedback:g,currentFeedback:y}=gD(),{logEvent:b}=iP(),[v,w]=function(){const[e,t]=V.useState(!1);return[e,V.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),S="assistant"===c.role;if(E&&u||!S||{copy:!1,upvote:x,downvote:x}[a])return null;const _={copy(){f(EP(c)),b({eventName:"assistant_message_copied",properties:{conversation:l}})},upvote(){m(c.id).then((()=>{w()}))},downvote(){g(c.id)}},T={copy:jf.jsx(fW,{iconKey:p?"messageCopied":"messageCopy"}),upvote:jf.jsx(fW,{iconKey:v?"messageCopied":"thumbsUp"}),downvote:jf.jsx(fW,{iconKey:"thumbsDown"})},C={copy:{"data-copied":wP(p)},upvote:{"data-upvoted":wP("positive"===(null==(n=h[c.id])?void 0:n.type))},downvote:{"data-downvoted":wP("negative"===(null==(r=h[c.id])?void 0:r.type)),"data-state":null===y?"closed":"open"}};return jf.jsx(V3,{"data-action":a,...C[a],children:T[a],"aria-label":{copy:"Copy Message",upvote:"Upvote Message",downvote:"Downvote Message"}[a],className:`${i} ${a}`,onClick:Q2(o,_[a]),...s})},q3=wB("div",{_id:"aiChatMessageSources"}),Y3=wB("div",{_id:"aiChatMessageSources__Header"}),K3=e=>jf.jsx(Y3,{children:"Sources",...e}),X3=wB("div",{_id:"aiChatMessageSources__List"}),Q3=e=>{const{message:t}=zj(),{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=p5(e,"chatSourceItem",{organizationDisplayName:o,tabs:s,transformSource:a}),n=i||t.shouldOpenInNewTab;return{...t,isExternal:n}}));return jf.jsx(X3,{children:xP(n,l),...r})},Z3=wB(mW,{_id:"aiChatMessageSourceItem"}),J3=e=>{var t;const{source:n,onClick:r,...a}=e,{logEvent:o}=iP(),{conversation:i}=VO();return jf.jsx(lB,{source:n,children:jf.jsx(Z3,{"data-type":n.type,appendToUrl:n.appendToUrl,isExternal:n.isExternal,"data-breadcrumbs":!!(null==(t=n.breadcrumbs)?void 0:t.length),onClick:Q2(r,(()=>{o({eventName:"assistant_source_item_clicked",properties:{conversation:i,link:n}})})),...a})})},e4=wB("div",{_id:"aiChatMessageSourceItem__Breadcrumbs"}),t4=e=>{var t;const{source:n}=cB();return(null==(t=n.breadcrumbs)?void 0:t.length)?jf.jsx(e4,{"data-type":n.type,...e}):null},n4=wB(fW,{_id:"aiChatMessageSourceItem__BreadcrumbIcon",iconKey:"breadcrumbSeparator"}),r4=wB(dW,{_id:"aiChatMessageSourceItem__Icon"}),a4=e=>{const{source:t}=cB();return jf.jsx(r4,{iconSettings:t.icon,"data-type":t.type,...e})},o4=wB("span",{_id:"aiChatMessageSourceItem__Title"}),i4=e=>{const{source:t}=cB();return jf.jsx(o4,{"data-type":t.type,children:t.title,...e})},s4=wB("span",{_id:"aiChatMessageSourceItem__Tag"}),l4=e=>{const{source:t}=cB();return jf.jsx(s4,{"data-type":t.type,...e})},c4=wB("span",{_id:"aiChatMessageSourceItem__Description"}),u4=e=>{const{source:t}=cB(),{children:n,...r}=e,a=V.useMemo((()=>t.description?X2(t.description):[]),[t.description]);return a.length?jf.jsx(c4,{"data-type":t.type,children:xP(n,a),...r}):null},d4=wB("span",{_id:"aiChatMessageSourceItem__DescriptionPart"}),p4=e=>{const{part:t,...n}=e,{source:r}=cB();return"string"==typeof t?t:jf.jsx(d4,{"data-type":r.type,children:t.content,"data-highlighted":wP(t.highlighted),...n})},f4=wB(fW,{_id:"aiChatMessageSourceItem__Indicator"}),h4=e=>{const{source:t}=cB();return jf.jsx(f4,{iconKey:t.isExternal?"openLinkInNewTab":"openLinkInSameTab",...e})},m4=wB("div",{_id:"aiChatFooter"}),g4=wB("div",{_id:"aiChatInput__Fieldset"}),y4=wB("div",{_id:"aiChatInput__Group"}),b4=wB("textarea",{_id:"aiChatInput"}),v4=V.forwardRef((({onChange:e,onKeyDown:t,...n},r)=>{const{handleInputChange:a,handleInputKeyDown:o,input:i,error:s,shouldAutoFocusInput:l,inputRef:c}=xj(),{aiChatSettings:u}=zO(),d=fB(r,c),p=ZL();return V.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]),jf.jsx(b4,{asChild:!0,ref:d,maxLength:99999,placeholder:u.placeholder,value:i,onChange:Q2(e,a),onKeyDown:Q2(t,o),disabled:!!s||u.isViewOnly,...n,children:jf.jsx(MB,{})})})),w4=wB("button",{_id:"aiChatInput__SendButton"}),k4=e=>{const{handleSubmit:t,isSubmitDisabled:n,error:r}=xj(),{aiChatSettings:a}=zO(),{onClick:o,...i}=e;return jf.jsx(w4,{onClick:Q2(o,(()=>t())),"aria-label":"Send message",disabled:n||!!r||a.isViewOnly,...i})},x4=wB(fW,{_id:"aiChatInput__SendButtonIcon",iconKey:"chatSubmit"}),E4=wB("div",{_id:"aiChatAttachmentsBar"}),S4=e=>{var t;const{selectedWorkflow:n}=xj();return n&&(null==(t=n.supportedInputs)?void 0:t.length)?jf.jsx(Sj,{children:jf.jsx(E4,{...e})}):null},_4=wB("div",{_id:"aiChatAttachmentsBar__List"}),T4=e=>{const{children:t,...n}=e,{messageAttachments:r}=xj();return jf.jsx(_4,{children:xP(t,r),...n})},C4=wB("div",{_id:"aiChatAttachmentsBar__Attachment"}),A4=e=>{const{attachment:t,...n}=e;return jf.jsx(Hf,{attachment:t,children:jf.jsx(C4,{...n})})},N4=wB(dW,{_id:"aiChatAttachmentsBar__AttachmentIcon"}),I4=e=>{var t;const{attachment:n}=zf(),r=null==(t=n.contentType)?void 0:t.attachmentIcon;return r?jf.jsx(N4,{iconSettings:r,...e}):null},R4=wB("span",{_id:"aiChatAttachmentsBar__AttachmentTitle"}),O4=e=>{const{attachment:t}=zf();return jf.jsx(R4,{children:t.title,...e})},P4=wB("button",{_id:"aiChatAttachmentsBar__AttachmentDelete"}),L4=e=>{const{onClick:t,...n}=e,{attachment:r}=zf(),{setMessageAttachments:a}=xj();return jf.jsx(P4,{"aria-label":"Remove attachment",children:jf.jsx(fW,{iconKey:"close"}),onClick:Q2(t,(()=>{a((e=>e.filter((e=>e.id!==r.id))))})),...n})},D4=wB("div",{_id:"aiChatAttachmentsBar__Actions"}),M4=wB(rj,{_id:"aiChatAttachmentsBar__InfoTip",delayDuration:0}),F4=wB(yj,{_id:"aiChatAttachmentsBar__InfoTipIcon",children:jf.jsx(fW,{iconKey:"info"})}),j4=wB(vj,{_id:"aiChatAttachmentsBar__InfoTipArrow"}),B4=wB(bj,{_id:"aiChatAttachmentsBar__InfoTipText",side:"bottom",sideOffset:3,align:"center",children:jf.jsxs(jf.Fragment,{children:[jf.jsx(j4,{}),"Attachments will be kept in context for the entire conversation."]})}),H4=wB("div",{_id:"aiChatAttachmentsBar__Inputs"}),z4=e=>{const{children:t,...n}=e,{selectedWorkflow:r}=xj();return(null==r?void 0:r.supportedInputs)?jf.jsx(H4,{children:xP(t,r.supportedInputs),...n}):null},U4=wB("button",{_id:"aiChatAttachmentsBar__Input"}),$4=e=>{const{input:t,onClick:n,...r}=e,{selectedWorkflow:a,messageAttachments:o,setMessageAttachments:i}=xj(),{selectInput:s,onOpen:l}=_j();return jf.jsx(U4,{children:t.displayName,onClick:Q2(n,(()=>{if("FUNCTIONAL_MULTI_ATTACHMENT"===t.type){if(!a)return;return t.onInvoke(a,t,i,[...o])}s(t),l()})),...r})},G4=wB((function(e){return IV({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"}),V4=wB(mV,{_id:"aiChatAttachmentsBar__Modal"}),W4=wB(yV,{_id:"aiChatAttachmentsBar__ModalOverlay"}),q4=wB(bV,{_id:"aiChatAttachmentsBar__ModalContent","aria-describedby":void 0}),Y4=wB("div",{_id:"aiChatAttachmentsBar__ModalHeader"}),K4=wB(vV,{_id:"aiChatAttachmentsBar__ModalHeading"}),X4=e=>{const{selectedInput:t}=_j(),n=`Add ${null==t?void 0:t.displayName}`;return jf.jsx(K4,{children:n,...e})},Q4=wB("span",{_id:"aiChatAttachmentsBar__ModalDescription"}),Z4=e=>{var t;const{selectedInput:n}=_j(),r=null==(t=null==n?void 0:n.workflowModalProps)?void 0:t.modalHelpText;return r?jf.jsx(Q4,{children:r,...e}):null},J4=wB("div",{_id:"aiChatAttachmentsBar__ModalHelp"}),e6=wB(wV,{_id:"aiChatAttachmentsBar__ModalClose",children:jf.jsx(fW,{iconKey:"close"})}),t6=wB("div",{_id:"aiChatAttachmentsBar__ModalBody"}),n6=wB("form",{_id:"aiChatAttachmentsBar__Form"}),r6=e=>{const{onSubmit:t,...n}=e,{form:r}=_j();return jf.jsx(n6,{onSubmit:Q2(t,r.onSubmit),...n})},a6=wB("div",{_id:"aiChatAttachmentsBar__FormTitle",role:"group"}),o6=wB("label",{_id:"aiChatAttachmentsBar__FormTitleLabel"}),i6=e=>{const{form:t,selectedInput:n}=_j();return jf.jsx(o6,{htmlFor:`${null==n?void 0:n.id}-title`,children:t.labels.title,...e})},s6=wB("input",{_id:"aiChatAttachmentsBar__FormTitleInput"}),l6=e=>{const{onChange:t,...n}=e,{form:r,selectedInput:a}=_j();return jf.jsx(s6,{name:"title",value:r.data.title,id:`${null==a?void 0:a.id}-title`,"data-invalid":wP(!!r.errors.title),"aria-invalid":!!r.errors.title,onChange:Q2(t,r.onChange),...n})},c6=wB("span",{_id:"aiChatAttachmentsBar__FormTitleError"}),u6=e=>{const{form:t}=_j();return t.errors.title?jf.jsx(c6,{"aria-live":"polite",children:t.errors.title,...e}):null},d6=wB("div",{_id:"aiChatAttachmentsBar__FormTitle",role:"group"}),p6=wB("label",{_id:"aiChatAttachmentsBar__FormContentLabel"}),f6=e=>{const{form:t,selectedInput:n}=_j();return jf.jsx(p6,{htmlFor:`${null==n?void 0:n.id}-content`,children:t.labels.content,...e})},h6=wB("textarea",{_id:"aiChatAttachmentsBar__FormTitleInput"}),m6=e=>{const{onChange:t,...n}=e,{form:r,selectedInput:a}=_j();return jf.jsx(h6,{asChild:!0,rows:4,name:"content",value:r.data.content,id:`${null==a?void 0:a.id}-content`,"data-invalid":wP(!!r.errors.content),"aria-invalid":!!r.errors.content,onChange:Q2(t,r.onChange),...n,children:jf.jsx(MB,{maxRows:10})})},g6=wB("span",{_id:"aiChatAttachmentsBar__FormContentError"}),y6=e=>{const{form:t}=_j();return t.errors.content?jf.jsx(g6,{"aria-live":"polite",children:t.errors.content,...e}):null},b6=wB("button",{_id:"aiChatAttachmentsBar__FormSubmitButton",children:"Upload",type:"submit"}),v6=wB("div",{_id:"aiChatActionBar"}),w6=wB("div",{_id:"aiChat__ChatActions"}),k6=wB("div",{_id:"aiChatTagline__Container"}),x6=wB("span",{_id:"aiChatTagline__Text",children:"Powered by"}),E6=wB(Y2,{_id:"aiChatTagline__Logo"}),S6=wB("a",{_id:"aiChatTagline__BrandName",children:"inkeep",href:"https://www.inkeep.com/",target:"_blank",rel:"noopener noreferrer"}),_6=wB("div",{_id:"aiChat__ChatAction"}),T6=e=>{const{action:t,onClick:n,className:r,...a}=e,{clear:o,stop:i,isLoading:s,messages:l,selectedWorkflow:c}=xj(),{conversation:u}=VO(),{aiChatSettings:d,baseSettings:p}=zO(),{logEvent:f}=iP(),[h,m]=k2(),[g,y]=k2();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=EP(e),o=dP(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,id:Date.now().toString()+e.id,conversationId:void 0})))},{apiKey:t,analyticsApiBaseUrl:n}=p,r=await ob("",e,t,n);if(r){const e=`${d.shareChatUrlBasePath}?${UO}=${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 jf.jsx(rj,{delayDuration:0,open:v[t],children:jf.jsx(_6,{"data-type":t,"data-copied":wP(h||g),className:`${r} ${t}`,children:jf.jsx(A6,{action:t}),onClick:Q2(n,b[t]),...a})})},C6=wB(yj,{_id:"aiChat__ChatActionLabel"}),A6=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 jf.jsx(C6,{children:o[t],...n})},N6=wB(cj,{_id:"aiChat__ChatActionFeeback"}),I6=e=>{const{action:t,children:n,...r}=e;return jf.jsxs(N6,{sideOffset:5,...r,children:[jf.jsx(vj,{}),n||{copy:"Copied!",share:"Link copied!"}[t]]})},R6=wB(jz,{_id:"aiChatHelpActions"}),O6=wB(T6,{_id:"aiChatHelpAction"}),P6=e=>{const{action:t,onClick:n,...r}=e,{handleAction:a,logHelpAction:o}=K2(t),i=t.action.type,s="open_link"===i?jf.jsx("a",{href:t.action.url,target:"_blank",rel:"noreferrer",children:t.name}):t.name;return jf.jsx(O6,{action:"help","aria-label":t.name,"data-name":t.name,children:s,asChild:"open_link"===i,onClick:Q2(n,(()=>{a(),o()})),...r})},L6=wB(Bz,{_id:"aiChatHelpActions__Trigger"}),D6=V.memo((e=>{var t;const{aiChatSettings:n}=zO();return jf.jsx(T6,{action:"help",...e,asChild:!0,children:jf.jsx(L6,{children:(null==(t=n.toolbarButtonLabels)?void 0:t.getHelp)??"Get Help"})})})),M6=wB(Hz,{_id:"aiChatHelpActions__Menu"}),F6=e=>jf.jsx(M6,{side:"top",sideOffset:8,align:"center",alignOffset:-10,...e}),j6=wB(zz,{_id:"aiChatHelpActions__MenuArrow"}),B6=e=>{const{action:t,onClick:n,...r}=e,{handleAction:a,logHelpAction:o}=K2(t),{setOpen:i}=(()=>{const e=V.useContext(Oj);if(!e)throw new Error("useHelpMenu must be used within a HelpMenuProvider");return e})(),s=t.action.type,l=wB("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:Q2(n,(()=>{a({onOpenForm:()=>i(!1)}),o()}))});return jf.jsx(l,{...r})},H6=wB(dW,{_id:"aiChatHelpActions_MenuItemIcon"}),z6=e=>{const{action:t,...n}=e;return t.icon?jf.jsx(H6,{iconSettings:t.icon,...n}):null},U6=wB(mV,{_id:"aiChatFeedbackModal"}),$6=wB(yV,{_id:"aiChatFeedbackModal__Overlay"}),G6=wB(bV,{_id:"aiChatFeedbackModal__Content","aria-describedby":void 0}),V6=wB(vV,{_id:"aiChatFeedbackModal__Header",children:"Help improve my answers!"}),W6=wB(wV,{_id:"aiChatFeedbackModal__Close",children:jf.jsx(fW,{iconKey:"close"})}),q6=wB("div",{_id:"aiChatFeedbackModal__Body"}),Y6=wB("form",{_id:"aiChatFeedbackForm"}),K6=e=>{const{onSubmit:t,...n}=e,{submitNegativeFeedback:r,currentFeedback:a,setCurrentFeedback:o}=gD();return jf.jsx(Y6,{onSubmit:Q2(t,(e=>{e.preventDefault();const t=e.target,n=new FormData(t),i=Object.fromEntries(n.entries());a&&(r(a,i),o(null))})),...n})},X6=wB("div",{_id:"aiChatFeedbackItem"}),Q6=e=>{const{name:t,...n}=e;return jf.jsx(Cj,{name:t,children:jf.jsx(X6,{...n})})},Z6=wB(lH,{_id:"aiChatFeedbackItem__Checkbox"}),J6=e=>{const{name:t,focusItem:n}=Aj(),{onCheckedChange:r,...a}=e;return jf.jsx(Z6,{id:`feedback-${t}`,name:t,onCheckedChange:Q2(r,(e=>{var t;e&&(null==(t=null==n?void 0:n.current)||t.focus())})),...a})},e8=wB(cH,{_id:"aiChatFeedbackItem__CheckboxIndicator",children:jf.jsx(q2,{})}),t8=wB("label",{_id:"aiChatFeedbackItem__Label"}),n8=e=>{const{name:t}=Aj();return jf.jsx(t8,{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})},r8=wB("textarea",{_id:"aiChatFeedbackItem__Description",placeholder:"Please describe"}),a8=e=>{const{name:t,focusItem:n}=Aj();return jf.jsx(r8,{ref:n,name:`${t}:description`,...e})},o8=wB("button",{_id:"aiChatFeedbackForm__SubmitButton",children:"Submit",type:"submit"}),i8=wB("div",{_id:"aiChatForm__Wrapper"}),s8=e=>{const{form:t}=rD();return t?jf.jsx(i8,{...e}):null},l8=wB("form",{_id:"aiChatForm"}),c8=e=>{const{onSubmit:t,...n}=e,{handleSubmit:r,isSuccess:a}=rD();return a?null:jf.jsx(l8,{onSubmit:Q2(t,r),...n})},u8=wB("button",{_id:"aiChatForm__Close",children:jf.jsx(fW,{iconKey:"close"})}),d8=e=>{const{onClick:t,...n}=e,{closeForm:r}=rD();return jf.jsx(u8,{onClick:Q2(t,r),...n})},p8=wB("div",{_id:"aiChatForm__Header"}),f8=wB("h2",{_id:"aiChatForm__Heading"}),h8=e=>{const{form:t}=rD();return(null==t?void 0:t.heading)?jf.jsx(f8,{children:t.heading,...e}):null},m8=wB("span",{_id:"aiChatForm__Description"}),g8=e=>{const{form:t}=rD();return(null==t?void 0:t.description)?jf.jsx(m8,{children:t.description,...e}):null},y8=wB("div",{_id:"aiChatForm__Content"}),b8=e=>{const{children:t,...n}=e,{fields:r=[]}=rD();return jf.jsx(y8,{children:xP(t,r),...n})},v8=wB("div",{_id:"aiChatForm__Field"}),w8=e=>{const{field:t,autoFocus:n,...r}=e,{control:a,errors:o}=rD();return jf.jsx(fL,{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 jf.jsx(Ij,{"data-invalid":wP(!!o[t.name]),field:t,fieldProps:e,autoFocus:n,children:a&&jf.jsx(v8,{"data-input-type":t.inputType,"data-hidden":wP(t.isHidden),...r})})}})},k8=wB("label",{_id:"aiChatForm__FieldLabel"}),x8=e=>{const{field:t}=Rj();return jf.jsx(k8,{"data-required":wP(t.isRequired),htmlFor:t.name,children:t.label,...e})},E8=wB("input",{_id:"aiChatForm__FieldText",type:"text"}),S8=e=>{const{field:t,error:n,fieldProps:{onChange:r,onBlur:a,...o},autoFocus:i}=Rj(),{onChange:s,onBlur:l,...c}=e;return jf.jsx(E8,{id:t.name,autoFocus:i,placeholder:"placeholder"in t?t.placeholder:void 0,"data-invalid":wP(!!n),onChange:Q2(s,r),onBlur:Q2(l,a),...o,...c})},_8=wB(S8,{_id:"aiChatForm__FieldEmail",type:"email"}),T8=wB("input",{_id:"aiChatForm__FieldFile",type:"file",multiple:!0}),C8=e=>{const{field:t,error:n,fieldProps:{value:r,onChange:a,onBlur:o,...i},autoFocus:s}=Rj(),{onChange:l,onBlur:c,...u}=e;return jf.jsx(T8,{id:t.name,autoFocus:s,"data-value":r,"data-invalid":wP(!!n),...u,...i,onChange:Q2(l,(e=>{const t=e.target.files;a(t)})),onBlur:Q2(c,o)})},A8=wB(S8,{_id:"aiChatForm__FieldTextArea",type:"textarea",asChild:!0,children:jf.jsx(MB,{maxRows:8})}),N8=wB(lH,{_id:"aiChatForm__FieldCheckbox"}),I8=e=>{const{field:t,error:n,fieldProps:r,autoFocus:a}=Rj(),{onCheckedChange:o,...i}=e;return jf.jsx(N8,{id:t.name,name:t.name,autoFocus:a,"data-invalid":wP(!!n),checked:r.value,onCheckedChange:Q2(o,r.onChange),...i})},R8=wB(cH,{_id:"aiChatForm__FieldCheckboxIndicator",children:jf.jsx(q2,{})}),O8=wB(IG,{_id:"aiChatForm__FieldSelect"}),P8=wB(RG,{_id:"aiChatForm__FieldSelect__Trigger"}),L8=wB(OG,{_id:"aiChatForm__FieldSelect__Value"}),D8=wB(PG,{_id:"aiChatForm__FieldSelect__Icon",asChild:!0,children:jf.jsx(dW,{iconSettings:{builtIn:"LuChevronDown"}})}),M8=wB(LG,{_id:"aiChatForm__FieldSelect__Content",position:"popper"}),F8=wB(DG,{_id:"aiChatForm__FieldSelect__Viewport"}),j8=wB(MG,{_id:"aiChatForm__FieldSelect__Item"}),B8=wB(FG,{_id:"aiChatForm__FieldSelect__ItemText"}),H8=wB(jG,{_id:"aiChatForm__FieldSelect__ItemIndicator",asChild:!0,children:jf.jsx(dW,{iconSettings:{builtIn:"LuCheck"}})}),z8=wB("span",{_id:"aiChatForm__FieldError"}),U8=e=>{var t;const{error:n}=Rj();return n?jf.jsx(z8,{children:null==(t=n.message)?void 0:t.toString(),...e}):null},$8=wB("span",{_id:"aiChatForm__Error"}),G8=e=>{const{formError:t}=rD();return t?jf.jsx($8,{children:t.message,...e}):null},V8=wB("div",{_id:"aiChatForm__Footer"}),W8=wB("button",{_id:"aiChatForm__Cancel",children:"Cancel"}),q8=e=>{const{onClick:t,...n}=e,{closeForm:r}=rD();return jf.jsx(W8,{onClick:Q2(t,r),...n})},Y8=wB("button",{_id:"aiChatForm__Submit",children:"Submit",type:"submit"}),K8=e=>{const{onClick:t,...n}=e,{isSubmitting:r}=rD();return jf.jsx(Y8,{disabled:r,...n})},X8=wB("div",{_id:"aiChatForm__Success"}),Q8=e=>{const{isSuccess:t}=rD();return t?jf.jsx(X8,{...e}):null},Z8=wB("h2",{_id:"aiChatForm__SuccessHeading"}),J8=e=>{const{form:t}=rD();return jf.jsx(Z8,{children:null==t?void 0:t.successView.heading,...e})},e9=wB(V2,{_id:"aiChatForm__SuccessMessage"}),t9=wB("button",{_id:"aiChatForm__SuccessButton"}),n9=e=>{var t;const{onClick:n,...r}=e,{form:a,closeForm:o}=rD(),i=null==(t=null==a?void 0:a.successView)?void 0:t.doneButton;if(!i)return null;const s=i.icon&&jf.jsx(dW,{iconSettings:i.icon}),l=i.label;return jf.jsx(t9,{onClick:Q2(n,o),children:jf.jsxs(jf.Fragment,{children:[s,l]}),...r})};var r9=.999,a9=/[\\\/_+.#"@\[\(\{&]/,o9=/[\\\/_+.#"@\[\(\{&]/g,i9=/[\s-]/,s9=/[\s-]/g;function l9(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=l9(e,t,n,r,f+1,o+1,i))>h&&(f===a?l*=1:a9.test(e.charAt(f-1))?(l*=.8,(u=e.slice(a,f-1).match(o9))&&a>0&&(l*=Math.pow(r9,u.length))):i9.test(e.charAt(f-1))?(l*=.9,(d=e.slice(a,f-1).match(s9))&&a>0&&(l*=Math.pow(r9,d.length))):(l*=.17,a>0&&(l*=Math.pow(r9,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=l9(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 c9(e){return e.toLowerCase().replace(s9," ")}function u9(e,t,n){return l9(e=n&&n.length>0?""+(e+" "+n.join(" ")):e,t,c9(e),c9(t),0,0,{})}var d9={exports:{}},p9={},f9=V;var h9="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},m9=f9.useState,g9=f9.useEffect,y9=f9.useLayoutEffect,b9=f9.useDebugValue;function v9(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!h9(e,n)}catch(r){return!0}}var w9="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var n=t(),r=m9({inst:{value:n,getSnapshot:t}}),a=r[0].inst,o=r[1];return y9((function(){a.value=n,a.getSnapshot=t,v9(a)&&o({inst:a})}),[e,n,t]),g9((function(){return v9(a)&&o({inst:a}),e((function(){v9(a)&&o({inst:a})}))}),[e]),b9(n),n};p9.useSyncExternalStore=void 0!==f9.useSyncExternalStore?f9.useSyncExternalStore:w9,d9.exports=p9;var k9=d9.exports,x9='[cmdk-group=""]',E9='[cmdk-group-items=""]',S9='[cmdk-item=""]',_9=`${S9}:not([aria-disabled="true"])`,T9="cmdk-item-select",C9="data-value",A9=(e,t,n)=>u9(e,t,n),N9=V.createContext(void 0),I9=()=>V.useContext(N9),R9=V.createContext(void 0),O9=()=>V.useContext(R9),P9=V.createContext(void 0),L9=V.forwardRef(((e,t)=>{let n=Y9((()=>{var t,n;return{search:"",value:null!=(n=null!=(t=e.value)?t:e.defaultValue)?n:"",filtered:{count:0,items:new Map,groups:new Set}}})),r=Y9((()=>new Set)),a=Y9((()=>new Map)),o=Y9((()=>new Map)),i=Y9((()=>new Set)),s=W9(e),{label:l,children:c,value:u,onValueChange:d,filter:p,shouldFilter:f,loop:h,disablePointerSelection:m=!1,vimBindings:g=!0,...y}=e,b=OO(),v=OO(),w=OO(),k=V.useRef(null),x=Z9();q9((()=>{if(void 0!==u){let e=u.trim();n.current.value=e,E.emit()}}),[u]),q9((()=>{x(6,N)}),[]);let E=V.useMemo((()=>({subscribe:e=>(i.current.add(e),()=>i.current.delete(e)),snapshot:()=>n.current,setState:(e,t,r)=>{var a,o,i;if(!Object.is(n.current[e],t)){if(n.current[e]=t,"search"===e)A(),T(),x(1,C);else if("value"===e&&(r||x(5,N),void 0!==(null==(a=s.current)?void 0:a.value))){let e=null!=t?t:"";return void(null==(i=(o=s.current).onValueChange)||i.call(o,e))}E.emit()}},emit:()=>{i.current.forEach((e=>e()))}})),[]),S=V.useMemo((()=>({value:(e,t,r)=>{var a;t!==(null==(a=o.current.get(e))?void 0:a.value)&&(o.current.set(e,{value:t,keywords:r}),n.current.filtered.items.set(e,_(t,r)),x(2,(()=>{T(),E.emit()})))},item:(e,t)=>(r.current.add(e),t&&(a.current.has(t)?a.current.get(t).add(e):a.current.set(t,new Set([e]))),x(3,(()=>{A(),T(),n.current.value||C(),E.emit()})),()=>{o.current.delete(e),r.current.delete(e),n.current.filtered.items.delete(e);let t=I();x(4,(()=>{A(),(null==t?void 0:t.getAttribute("id"))===e&&C(),E.emit()}))}),group:e=>(a.current.has(e)||a.current.set(e,new Set),()=>{o.current.delete(e),a.current.delete(e)}),filter:()=>s.current.shouldFilter,label:l||e["aria-label"],getDisablePointerSelection:()=>s.current.disablePointerSelection,listId:b,inputId:w,labelId:v,listInnerRef:k})),[]);function _(e,t){var r,a;let o=null!=(a=null==(r=s.current)?void 0:r.filter)?a:A9;return e?o(e,n.current.search,t):0}function T(){if(!n.current.search||!1===s.current.shouldFilter)return;let e=n.current.filtered.items,t=[];n.current.filtered.groups.forEach((n=>{let r=a.current.get(n),o=0;r.forEach((t=>{let n=e.get(t);o=Math.max(n,o)})),t.push([n,o])}));let r=k.current;R().sort(((t,n)=>{var r,a;let o=t.getAttribute("id"),i=n.getAttribute("id");return(null!=(r=e.get(i))?r:0)-(null!=(a=e.get(o))?a:0)})).forEach((e=>{let t=e.closest(E9);t?t.appendChild(e.parentElement===t?e:e.closest(`${E9} > *`)):r.appendChild(e.parentElement===r?e:e.closest(`${E9} > *`))})),t.sort(((e,t)=>t[1]-e[1])).forEach((e=>{var t;let n=null==(t=k.current)?void 0:t.querySelector(`${x9}[${C9}="${encodeURIComponent(e[0])}"]`);null==n||n.parentElement.appendChild(n)}))}function C(){let e=R().find((e=>"true"!==e.getAttribute("aria-disabled"))),t=null==e?void 0:e.getAttribute(C9);E.setState("value",t||void 0)}function A(){var e,t,i,l;if(!n.current.search||!1===s.current.shouldFilter)return void(n.current.filtered.count=r.current.size);n.current.filtered.groups=new Set;let c=0;for(let a of r.current){let r=_(null!=(t=null==(e=o.current.get(a))?void 0:e.value)?t:"",null!=(l=null==(i=o.current.get(a))?void 0:i.keywords)?l:[]);n.current.filtered.items.set(a,r),r>0&&c++}for(let[r,o]of a.current)for(let e of o)if(n.current.filtered.items.get(e)>0){n.current.filtered.groups.add(r);break}n.current.filtered.count=c}function N(){var e,t,n;let r=I();r&&((null==(e=r.parentElement)?void 0:e.firstChild)===r&&(null==(n=null==(t=r.closest(x9))?void 0:t.querySelector('[cmdk-group-heading=""]'))||n.scrollIntoView({block:"nearest"})),r.scrollIntoView({block:"nearest"}))}function I(){var e;return null==(e=k.current)?void 0:e.querySelector(`${S9}[aria-selected="true"]`)}function R(){var e;return Array.from((null==(e=k.current)?void 0:e.querySelectorAll(_9))||[])}function O(e){let t=R()[e];t&&E.setState("value",t.getAttribute(C9))}function P(e){var t;let n=I(),r=R(),a=r.findIndex((e=>e===n)),o=r[a+e];null!=(t=s.current)&&t.loop&&(o=a+e<0?r[r.length-1]:a+e===r.length?r[0]:r[a+e]),o&&E.setState("value",o.getAttribute(C9))}function L(e){let t,n=I(),r=null==n?void 0:n.closest(x9);for(;r&&!t;)r=e>0?G9(r,x9):V9(r,x9),t=null==r?void 0:r.querySelector(_9);t?E.setState("value",t.getAttribute(C9)):P(e)}let D=()=>O(R().length-1),M=e=>{e.preventDefault(),e.metaKey?D():e.altKey?L(1):P(1)},F=e=>{e.preventDefault(),e.metaKey?O(0):e.altKey?L(-1):P(-1)};return V.createElement(Wz.div,{ref:t,tabIndex:-1,...y,"cmdk-root":"",onKeyDown:e=>{var t;if(null==(t=y.onKeyDown)||t.call(y,e),!e.defaultPrevented)switch(e.key){case"n":case"j":g&&e.ctrlKey&&M(e);break;case"ArrowDown":M(e);break;case"p":case"k":g&&e.ctrlKey&&F(e);break;case"ArrowUp":F(e);break;case"Home":e.preventDefault(),O(0);break;case"End":e.preventDefault(),D();break;case"Enter":if(!e.nativeEvent.isComposing&&229!==e.keyCode){e.preventDefault();let t=I();if(t){let e=new Event(T9);t.dispatchEvent(e)}}}}},V.createElement("label",{"cmdk-label":"",htmlFor:S.inputId,id:S.labelId,style:e7},l),J9(e,(e=>V.createElement(R9.Provider,{value:E},V.createElement(N9.Provider,{value:S},e)))))})),D9=V.forwardRef(((e,t)=>{var n,r;let a=OO(),o=V.useRef(null),i=V.useContext(P9),s=I9(),l=W9(e),c=null!=(r=null==(n=l.current)?void 0:n.forceMount)?r:null==i?void 0:i.forceMount;q9((()=>{if(!c)return s.item(a,null==i?void 0:i.id)}),[c]);let u=Q9(a,o,[e.value,e.children,o],e.keywords),d=O9(),p=X9((e=>e.value&&e.value===u.current)),f=X9((e=>!(!c&&!1!==s.filter())||(!e.search||e.filtered.items.get(a)>0)));function h(){var e,t;m(),null==(t=(e=l.current).onSelect)||t.call(e,u.current)}function m(){d.setState("value",u.current,!0)}if(V.useEffect((()=>{let t=o.current;if(t&&!e.disabled)return t.addEventListener(T9,h),()=>t.removeEventListener(T9,h)}),[f,e.onSelect,e.disabled]),!f)return null;let{disabled:g,value:y,onSelect:b,forceMount:v,keywords:w,...k}=e;return V.createElement(Wz.div,{ref:K9([o,t]),...k,id:a,"cmdk-item":"",role:"option","aria-disabled":!!g,"aria-selected":!!p,"data-disabled":!!g,"data-selected":!!p,onPointerMove:g||s.getDisablePointerSelection()?void 0:m,onClick:g?void 0:h},e.children)})),M9=V.forwardRef(((e,t)=>{let{heading:n,children:r,forceMount:a,...o}=e,i=OO(),s=V.useRef(null),l=V.useRef(null),c=OO(),u=I9(),d=X9((e=>!(!a&&!1!==u.filter())||(!e.search||e.filtered.groups.has(i))));q9((()=>u.group(i)),[]),Q9(i,s,[e.value,e.heading,l]);let p=V.useMemo((()=>({id:i,forceMount:a})),[a]);return V.createElement(Wz.div,{ref:K9([s,t]),...o,"cmdk-group":"",role:"presentation",hidden:!d||void 0},n&&V.createElement("div",{ref:l,"cmdk-group-heading":"","aria-hidden":!0,id:c},n),J9(e,(e=>V.createElement("div",{"cmdk-group-items":"",role:"group","aria-labelledby":n?c:void 0},V.createElement(P9.Provider,{value:p},e)))))})),F9=V.forwardRef(((e,t)=>{let{alwaysRender:n,...r}=e,a=V.useRef(null),o=X9((e=>!e.search));return n||o?V.createElement(Wz.div,{ref:K9([a,t]),...r,"cmdk-separator":"",role:"separator"}):null})),j9=V.forwardRef(((e,t)=>{let{onValueChange:n,...r}=e,a=null!=e.value,o=O9(),i=X9((e=>e.search)),s=X9((e=>e.value)),l=I9(),c=V.useMemo((()=>{var e;let t=null==(e=l.listInnerRef.current)?void 0:e.querySelector(`${S9}[${C9}="${encodeURIComponent(s)}"]`);return null==t?void 0:t.getAttribute("id")}),[]);return V.useEffect((()=>{null!=e.value&&o.setState("search",e.value)}),[e.value]),V.createElement(Wz.input,{ref:t,...r,"cmdk-input":"",autoComplete:"off",autoCorrect:"off",spellCheck:!1,"aria-autocomplete":"list",role:"combobox","aria-expanded":!0,"aria-controls":l.listId,"aria-labelledby":l.labelId,"aria-activedescendant":c,id:l.inputId,type:"text",value:a?e.value:i,onChange:e=>{a||o.setState("search",e.target.value),null==n||n(e.target.value)}})})),B9=V.forwardRef(((e,t)=>{let{children:n,label:r="Suggestions",...a}=e,o=V.useRef(null),i=V.useRef(null),s=I9();return V.useEffect((()=>{if(i.current&&o.current){let e,t=i.current,n=o.current,r=new ResizeObserver((()=>{e=requestAnimationFrame((()=>{let e=t.offsetHeight;n.style.setProperty("--cmdk-list-height",e.toFixed(1)+"px")}))}));return r.observe(t),()=>{cancelAnimationFrame(e),r.unobserve(t)}}}),[]),V.createElement(Wz.div,{ref:K9([o,t]),...a,"cmdk-list":"",role:"listbox","aria-label":r,id:s.listId},J9(e,(e=>V.createElement("div",{ref:K9([i,s.listInnerRef]),"cmdk-list-sizer":""},e))))})),H9=V.forwardRef(((e,t)=>{let{open:n,onOpenChange:r,overlayClassName:a,contentClassName:o,container:i,...s}=e;return V.createElement(mV,{open:n,onOpenChange:r},V.createElement(gV,{container:i},V.createElement(yV,{"cmdk-overlay":"",className:a}),V.createElement(bV,{"aria-label":e.label,"cmdk-dialog":"",className:o},V.createElement(L9,{ref:t,...s}))))})),z9=V.forwardRef(((e,t)=>X9((e=>0===e.filtered.count))?V.createElement(Wz.div,{ref:t,...e,"cmdk-empty":"",role:"presentation"}):null)),U9=V.forwardRef(((e,t)=>{let{progress:n,children:r,label:a="Loading...",...o}=e;return V.createElement(Wz.div,{ref:t,...o,"cmdk-loading":"",role:"progressbar","aria-valuenow":n,"aria-valuemin":0,"aria-valuemax":100,"aria-label":a},J9(e,(e=>V.createElement("div",{"aria-hidden":!0},e))))})),$9=Object.assign(L9,{List:B9,Item:D9,Input:j9,Group:M9,Separator:F9,Dialog:H9,Empty:z9,Loading:U9});function G9(e,t){let n=e.nextElementSibling;for(;n;){if(n.matches(t))return n;n=n.nextElementSibling}}function V9(e,t){let n=e.previousElementSibling;for(;n;){if(n.matches(t))return n;n=n.previousElementSibling}}function W9(e){let t=V.useRef(e);return q9((()=>{t.current=e})),t}var q9="undefined"==typeof window?V.useEffect:V.useLayoutEffect;function Y9(e){let t=V.useRef();return void 0===t.current&&(t.current=e()),t}function K9(e){return t=>{e.forEach((e=>{"function"==typeof e?e(t):null!=e&&(e.current=t)}))}}function X9(e){let t=O9(),n=()=>e(t.snapshot());return k9.useSyncExternalStore(t.subscribe,n,n)}function Q9(e,t,n,r=[]){let a=V.useRef(),o=I9();return q9((()=>{var i;let s=(()=>{var e;for(let 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(C9,s),a.current=s})),a}var Z9=()=>{let[e,t]=V.useState(),n=Y9((()=>new Map));return q9((()=>{n.current.forEach((e=>e())),n.current=new Map}),[e]),(e,r)=>{n.current.set(e,r),t({})}};function J9({asChild:e,children:t},n){return e&&V.isValidElement(t)?V.cloneElement(function(e){let 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)}var e7={position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0"};function t7(e,t,n){try{const r=new URL(e);return r.searchParams.set(n,t),r.toString()}catch{return e}}const n7=e=>{var t,n,r;switch(e.rootRecord.__typename){case"DocumentationRecord":{const a=a7((null==(n=null==(t=e.pathHeadings)?void 0:t.at(-1))?void 0:n.content)||""),o=a7((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}},r7=e=>{switch(e.rootRecord.__typename){case"StackOverflowRecord":return e.rootRecord.markedAsCorrectAnswer?"Resolved":void 0;case"GitHubIssueRecord":return"CLOSED"===e.rootRecord.state?"Closed":void 0}},a7=e=>e.replace(/(https?:\/\/\S+)/g,(e=>{const t=e.split("/");return t.length>3?`...${t.slice(-2).join("/")}`:e})),o7=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"}},i7=V.createContext(void 0),s7=({children:e})=>{const{logEvent:t}=nP();return jf.jsx(i7.Provider,{value:{logEvent:t},children:e})},l7=({children:e})=>jf.jsx(tP,{children:jf.jsx(s7,{children:e})}),c7=()=>{const e=V.useContext(i7);if(!e)throw new Error("useSearchEvents must be used within a SearchEventsProvider");return e};const u7=()=>{const{baseSettings:e,searchSettings:t}=zO(),{apiKey:n,aiApiBaseUrl:r,userAuthToken:a}=e,{maxResults:o,placeholder:i,defaultQuery:s,debounceTimeMs:l,onQueryChange:c,searchFunctionsRef:u}=t,{logEvent:d}=c7(),[p,f]=V.useState(s),h=V.useRef(null),[m,g]=V.useState(!1),[y,b]=V.useState(null),[v,w]=V.useState("NONE"),k=V.useCallback((e=>{w(e)}),[]),[x,E]=V.useState([]),S=((e,t)=>{const{baseSettings:{transformSource:n,organizationDisplayName:r},searchSettings:{tabs:a,searchQueryParamKey:o,shouldOpenLinksInNewTab:i}}=zO();return V.useMemo((()=>{var s;const l=a.length>0?a:["All"],c={},u=new Set,d=l.map((e=>"string"==typeof e?e:e[0]));for(const e of d)c[e]=[];for(const p of e){const e=p.url||"";if(u.has(e))continue;u.add(e);const s=t7(e,t,o),l=p5({title:p.title,url:s,description:n7(p),type:o7(p.rootRecord.__typename),tag:r7(p),breadcrumbs:p.rootRecord.pathBreadcrumbs??[],contentType:p.rootRecord.contentType},"searchResultItem",{organizationDisplayName:r,tabs:a,transformSource:n}),f={...l,id:p.id,isExternal:i||!!l.shouldOpenInNewTab},h=f.tabs||[];for(const t of h){const e="string"==typeof t?t:t[0];d.includes(e)?c[e].push(f):console.warn(`Tab "${e}" found in item but not configured in tabs`)}d.includes("All")&&c.All.push(f)}for(const e of Object.keys(c)){const t=l.find((t=>"string"==typeof t?t===e:t[0]===e)),n="object"==typeof t&&!0===(null==(s=t[1])?void 0:s.isAlwaysVisible);0!==c[e].length||n||delete c[e]}return c}),[e,n,r,a,t,o,i])})(x,p),[_,T]=V.useState("All"),{disableTransition:C,disabled:A}=function(){const[e,t]=V.useState(!1);V.useEffect((()=>{if(e){const e=setTimeout((()=>t(!1)),0);return()=>clearTimeout(e)}}),[e]);const n=V.useCallback((()=>t(!0)),[]);return{disabled:e,disableTransition:n}}(),N=V.useCallback((e=>{C(),T(e),w(S[e][0].id)}),[S,C]);V.useEffect((()=>{var e,t;let n=_ in S?_:Object.keys(S)[0];if(!(null==(e=S[n])?void 0:e.length)){const e=Object.keys(S).find((e=>{var t;return null==(t=S[e])?void 0:t.length}));n=e||"All"}if(!n)return;T(n);const r=null==(t=S[n])?void 0:t[0];r&&w(r.id)}),[S]);const I=sD("(max-width: 768px)"),R=V.useRef({}),O=V.useRef(null),P=V.useRef(null);V.useImperativeHandle(u,(()=>({updateQuery(e){f(e)},focusInput:()=>{var e;null==(e=h.current)||e.focus()}})));const L=`${r}/graphql`,D=V.useMemo((()=>({Authorization:`Bearer ${n}`,"Content-Type":"application/json",...a?{"User-Token":a}:{}})),[n,a]),M=V.useCallback((async e=>{O.current&&O.current.abort();const t=new AbortController;O.current=t;try{g(!0),b(null);const t=await async function(e,t,n,r){var a;const o=await fetch(e,{method:"POST",headers:{"Content-Type":"application/json",...r},body:JSON.stringify({query:t,variables:n})});if(!o.ok)throw new Error(`Network response was not OK (status: ${o.status})`);const i=await o.json();if(null==(a=i.errors)?void 0:a.length)throw new Error(i.errors[0].message);return i.data}(L,"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 }\n }\n pathHeadings {\n content\n }\n content {\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:e},D),n=null==t?void 0:t.search.searchHits;R.current[e.searchQuery]=n,E(n)}catch(xse){if("AbortError"===xse.name)return;b("Failed to fetch search results. Please try again.")}g(!1)}),[L,D]),F=V.useCallback((e=>{const t=R.current[e.searchQuery];d({eventName:"search_query_response_received",properties:{searchQuery:e.searchQuery,totalResults:null==t?void 0:t.length}})}),[]),j=V.useCallback((e=>{if(P.current&&window.clearTimeout(P.current),!e.searchQuery)return E([]),void b(null);P.current=window.setTimeout((()=>{d({eventName:"search_query_submitted",properties:{searchQuery:e.searchQuery}}),R.current[e.searchQuery]?(E(R.current[e.searchQuery]),F(e)):M(e).then((()=>{F(e)}))}),l)}),[l,M]),B=V.useMemo((()=>({searchQuery:p,filters:{limit:o}})),[p,o]);V.useEffect((()=>{null==c||c(B.searchQuery),j(B)}),[j,B]);const H=V.useCallback((e=>f(e.target.value)),[]),z=V.useMemo((()=>i||(I?"Search...":"Search for anything...")),[i,I]);return{results:S,resultsList:x,hasContent:x.length>0||m,loading:m,error:y,query:p,onInput:H,placeholder:z,tab:_,onTabChange:N,selectedItem:v,setSelectedItem:w,onSelectedItemChange:k,transitionsDisabled:A,inputRef:h,isMobile:I}},d7=V.createContext(void 0),p7=e=>jf.jsx(l7,{children:jf.jsx(f7,{...e})}),f7=({children:e,...t})=>{const n=u7();return jf.jsx(d7.Provider,{value:{...n,...t},children:e})},h7=()=>{const e=V.useContext(d7);if(!e)throw new Error("useSearch must be used within a SearchProvider");return e};var m7="rovingFocusGroup.onEntryFocus",g7={bubbles:!1,cancelable:!0},y7="RovingFocusGroup",[b7,v7,w7]=O$(y7),[k7,x7]=kD(y7,[w7]),[E7,S7]=k7(y7),_7=V.forwardRef(((e,t)=>jf.jsx(b7.Provider,{scope:e.__scopeRovingFocusGroup,children:jf.jsx(b7.Slot,{scope:e.__scopeRovingFocusGroup,children:jf.jsx(T7,{...e,ref:t})})})));_7.displayName=y7;var T7=V.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=V.useRef(null),f=wD(t,p),h=qU(o),[m=null,g]=UF({prop:i,defaultProp:s,onChange:l}),[y,b]=V.useState(!1),v=ND(c),w=v7(n),k=V.useRef(!1),[x,E]=V.useState(0);return V.useEffect((()=>{const e=p.current;if(e)return e.addEventListener(m7,v),()=>e.removeEventListener(m7,v)}),[v]),jf.jsx(E7,{scope:n,orientation:r,dir:h,loop:a,currentTabStopId:m,onItemFocus:V.useCallback((e=>g(e)),[g]),onItemShiftTab:V.useCallback((()=>b(!0)),[]),onFocusableItemAdd:V.useCallback((()=>E((e=>e+1))),[]),onFocusableItemRemove:V.useCallback((()=>E((e=>e-1))),[]),children:jf.jsx(AD.div,{tabIndex:y||0===x?-1:0,"data-orientation":r,...d,ref:f,style:{outline:"none",...e.style},onMouseDown:yD(e.onMouseDown,(()=>{k.current=!0})),onFocus:yD(e.onFocus,(e=>{const t=!k.current;if(e.target===e.currentTarget&&t&&!y){const t=new CustomEvent(m7,g7);if(e.currentTarget.dispatchEvent(t),!t.defaultPrevented){const e=w().filter((e=>e.focusable));I7([e.find((e=>e.active)),e.find((e=>e.id===m)),...e].filter(Boolean).map((e=>e.ref.current)),u)}}k.current=!1})),onBlur:yD(e.onBlur,(()=>b(!1)))})})})),C7="RovingFocusGroupItem",A7=V.forwardRef(((e,t)=>{const{__scopeRovingFocusGroup:n,focusable:r=!0,active:a=!1,tabStopId:o,...i}=e,s=OO(),l=o||s,c=S7(C7,n),u=c.currentTabStopId===l,d=v7(n),{onFocusableItemAdd:p,onFocusableItemRemove:f}=c;return V.useEffect((()=>{if(r)return p(),()=>f()}),[r,p,f]),jf.jsx(b7.ItemSlot,{scope:n,id:l,focusable:r,active:a,children:jf.jsx(AD.span,{tabIndex:u?0:-1,"data-orientation":c.orientation,...i,ref:t,onMouseDown:yD(e.onMouseDown,(e=>{r?c.onItemFocus(l):e.preventDefault()})),onFocus:yD(e.onFocus,(()=>c.onItemFocus(l))),onKeyDown:yD(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:N7[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((()=>I7(a)))}var n,r}))})})}));A7.displayName=C7;var N7={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function I7(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 R7=_7,O7=A7,P7="Tabs",[L7,D7]=kD(P7,[x7]),M7=x7(),[F7,j7]=L7(P7),B7=V.forwardRef(((e,t)=>{const{__scopeTabs:n,value:r,onValueChange:a,defaultValue:o,orientation:i="horizontal",dir:s,activationMode:l="automatic",...c}=e,u=qU(s),[d,p]=UF({prop:r,onChange:a,defaultProp:o});return jf.jsx(F7,{scope:n,baseId:OO(),value:d,onValueChange:p,orientation:i,dir:u,activationMode:l,children:jf.jsx(AD.div,{dir:u,"data-orientation":i,...c,ref:t})})}));B7.displayName=P7;var H7="TabsList",z7=V.forwardRef(((e,t)=>{const{__scopeTabs:n,loop:r=!0,...a}=e,o=j7(H7,n),i=M7(n);return jf.jsx(R7,{asChild:!0,...i,orientation:o.orientation,dir:o.dir,loop:r,children:jf.jsx(AD.div,{role:"tablist","aria-orientation":o.orientation,...a,ref:t})})}));z7.displayName=H7;var U7="TabsTrigger",$7=V.forwardRef(((e,t)=>{const{__scopeTabs:n,value:r,disabled:a=!1,...o}=e,i=j7(U7,n),s=M7(n),l=W7(i.baseId,r),c=q7(i.baseId,r),u=r===i.value;return jf.jsx(O7,{asChild:!0,...s,focusable:!a,active:u,children:jf.jsx(AD.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:yD(e.onMouseDown,(e=>{a||0!==e.button||!1!==e.ctrlKey?e.preventDefault():i.onValueChange(r)})),onKeyDown:yD(e.onKeyDown,(e=>{[" ","Enter"].includes(e.key)&&i.onValueChange(r)})),onFocus:yD(e.onFocus,(()=>{const e="manual"!==i.activationMode;u||a||!e||i.onValueChange(r)}))})})}));$7.displayName=U7;var G7="TabsContent",V7=V.forwardRef(((e,t)=>{const{__scopeTabs:n,value:r,forceMount:a,children:o,...i}=e,s=j7(G7,n),l=W7(s.baseId,r),c=q7(s.baseId,r),u=r===s.value,d=V.useRef(u);return V.useEffect((()=>{const e=requestAnimationFrame((()=>d.current=!1));return()=>cancelAnimationFrame(e)}),[]),jf.jsx(HF,{present:a||u,children:({present:n})=>jf.jsx(AD.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 W7(e,t){return`${e}-trigger-${t}`}function q7(e,t){return`${e}-content-${t}`}V7.displayName=G7;var Y7=B7,K7=z7,X7=$7,Q7=V7;const Z7=wB("div",{_id:"aiSearchWrapper"}),J7=e=>{const{isHidden:t,hasContent:n,isMobile:r}=h7(),a=ZL();return jf.jsx(Z7,{"data-hidden":wP(t),"data-has-content":wP(n),"data-in-modal":wP(!!a),"data-mobile":wP(r),...e})},eee=wB($9,{_id:"aiSearchRoot"}),tee=e=>{const{isHidden:t,selectedItem:n,onSelectedItemChange:r}=h7();return jf.jsx(eee,{"data-hidden":wP(t),shouldFilter:!1,loop:!1,value:n,onValueChange:r,...e})},nee=wB($9.List,{_id:"aiSearchContent"}),ree=wB("div",{_id:"aiSearchInputGroup"}),aee=wB(fW,{_id:"aiSearchInputIcon",iconKey:"search"}),oee=wB($9.Input,{_id:"aiSearchInput"}),iee=V.forwardRef((({onInput:e,...t},n)=>{const{query:r,onInput:a,placeholder:o,inputRef:i,shouldAutoFocusInput:s}=h7(),l=fB(n,i),c=ZL();return V.useEffect((()=>{requestAnimationFrame((()=>{s&&(null==i?void 0:i.current)&&(i.current.focus(),i.current.selectionStart=i.current.value.length)}))}),[s,i,null==c?void 0:c.isOpen]),jf.jsx(oee,{asChild:!0,ref:l,placeholder:o,value:r,onInput:Q2(e,a),...t,children:jf.jsx(MB,{minRows:1,maxLength:1e3})})})),see=wB(dW,{_id:"aiSearchLoading",iconSettings:{builtIn:"LuLoaderCircle"}}),lee=e=>{const{loading:t,resultsList:n}=h7();return t&&0!==n.length?jf.jsx(see,{...e}):null},cee=wB($9.Item,{_id:"aiAskAITrigger",value:"__ask_ai__"}),uee=e=>{var t,n;const{setSelectedItem:r,results:a,tab:o}=h7(),i=(null==(n=null==(t=a[o])?void 0:t[0])?void 0:n.id)??"NONE";return jf.jsx(cee,{...e,onPointerLeave:()=>r(i)})},dee=wB("img",{_id:"aiAskAITrigger__Icon"}),pee=e=>{const{aiChatSettings:t}=zO(),{aiAssistantAvatar:n}=t??{},r="string"==typeof n?n:null==n?void 0:n.light,a=qj(r,("string"==typeof n?n:null==n?void 0:n.dark)??r),[o,i]=V.useState(a);V.useEffect((()=>{i(a)}),[a]);return jf.jsx(dee,{asChild:!0,...e,children:o?jf.jsx("img",{src:o,alt:"AI Avatar","data-type":"image",onError:Q2((()=>{i(null)})),...e}):jf.jsx(OV,{"data-type":"icon",...e})})},fee=wB("span",{_id:"aiAskAITrigger__Label"}),hee=wB(fW,{_id:"aiAskAITrigger__Indicator",iconKey:"openLinkInSameTab"}),mee=wB(Y7,{_id:"aiSearchResults"}),gee=e=>{const{tab:t,onTabChange:n,hasContent:r}=h7();return jf.jsx(mee,{value:t,onValueChange:n,"data-has-content":wP(r),...e})},yee=wB("div",{_id:"aiSearchResults__Loading"}),bee=e=>{const{loading:t,resultsList:n}=h7();return!t||n.length>0?null:jf.jsx(yee,{...e})},vee=wB($9.Empty,{_id:"aiSearchResults__Empty"}),wee=e=>{var t;const{query:n,loading:r,results:a,tab:o}=h7(),i=null==(t=a[o])?void 0:t.length;return r||!n||i?null:jf.jsx(vee,{children:"No results found.",...e})},kee=wB(K7,{_id:"aiSearchResults__TabList"}),xee=e=>{const{children:t,...n}=e,{searchSettings:{tabs:r}}=zO(),{results:a,loading:o,resultsList:i}=h7();if(o&&0===i.length)return null;const s=Object.keys(a);return r.length&&s.length?jf.jsx(kee,{children:xP(t,s),...n}):null},Eee=wB(X7,{_id:"aiSearchResults__Tab"}),See=e=>{const{tab:t,...n}=e,{results:r}=h7(),a=r[t].length;return jf.jsx(Eee,{value:t,children:`${t} (${a})`,...n})},_ee=wB(N$,{_id:"aiSearchResults__ScrollArea"}),Tee=e=>{const{loading:t,resultsList:n}=h7();return t&&0===n.length?null:jf.jsx(_ee,{...e})},Cee=wB(I$,{_id:"aiSearchResults__ScrollAreaViewport"}),Aee=V.forwardRef((({children:e,...t},n)=>{const r=function(){const e=V.useRef(null),t=V.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 V.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=fB(n,r),{tab:o}=h7();return V.useEffect((()=>{var e;o&&(null==(e=r.current)||e.scrollTo({top:0,behavior:"auto"}))}),[o]),jf.jsx(Cee,{ref:a,children:jf.jsx("div",{style:{display:"grid"},children:e}),...t})})),Nee=wB(a$,{_id:"aiSearchResults__ScrollAreaScrollbar"}),Iee=wB(m$,{_id:"aiSearchResults__ScrollAreaThumb"}),Ree=wB(R$,{_id:"aiSearchResults__ScrollAreaCorner"}),Oee=wB(Q7,{_id:"aiSearchResults__List"}),Pee=e=>{const{children:t,...n}=e,{results:r,tab:a}=h7(),o=r[a]??[];return jf.jsx(Oee,{value:a,"data-has-results":wP(o.length>0),"aria-label":"Search results",children:xP(t,o),...n})},Lee=wB($9.Item,{_id:"aiSearchResults__Item",asChild:!0}),Dee=V.forwardRef((({item:e,onClick:t,onSelect:n,children:r,...a},o)=>{var i;const{searchSettings:{shouldOpenLinksInNewTab:s}}=zO(),{logEvent:l}=c7(),{query:c,transitionsDisabled:u}=h7(),d=V.useRef(null),p=fB(o,d),f=s||!!e.shouldOpenInNewTab;return jf.jsx(lB,{source:{...e,isExternal:f},children:jf.jsx(Lee,{ref:p,value:e.id,"data-type":e.type,"data-breadcrumbs":!!(null==(i=e.breadcrumbs)?void 0:i.length),"data-disable-transitions":wP(u),onSelect:Q2(n,(()=>{var e;null==(e=d.current)||e.click()})),onClick:Q2(t,(()=>{l({eventName:"search_result_clicked",properties:{searchQuery:c,title:e.title,url:e.url}})})),...a,children:jf.jsx(mW,{href:e.url,isExternal:f,appendToUrl:e.appendToUrl,children:r})})})})),Mee=wB("div",{_id:"aiSearchResults__ItemBreadcrumbs"}),Fee=e=>{var t,n,r,a;const{source:o}=cB(),{tab:i}=h7();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 jf.jsx(Mee,{children:xP(s,c),...l})},jee=wB(fW,{_id:"aiSearchResults__ItemBreadcrumbIcon",iconKey:"breadcrumbSeparator"}),Bee=wB(dW,{_id:"aiSearchResults__ItemIcon"}),Hee=e=>{const{source:t}=cB();return jf.jsx(Bee,{iconSettings:t.icon,"data-type":t.type,...e})},zee=wB("span",{_id:"aiSearchResults__ItemTitle"}),Uee=e=>{const{source:t}=cB();return jf.jsx(zee,{"data-type":t.type,children:t.title,...e})},$ee=wB("span",{_id:"aiSearchResults__ItemTag"}),Gee=e=>{const{source:t}=cB();return jf.jsx($ee,{"data-type":t.type,children:t.tag,...e})},Vee=wB("span",{_id:"aiSearchResults__ItemDescription"}),Wee=e=>{const{source:t}=cB(),{children:n,...r}=e,a=V.useMemo((()=>t.description?X2(t.description):[]),[t.description]);return a.length?jf.jsx(Vee,{"data-type":t.type,children:xP(n,a),...r}):null},qee=wB("span",{_id:"aiSearchResults__ItemDescriptionPart"}),Yee=e=>{const{part:t,...n}=e,{source:r}=cB();return"string"==typeof t?t:jf.jsx(qee,{"data-type":r.type,children:t.content,"data-highlighted":wP(t.highlighted),...n})},Kee=wB(fW,{_id:"aiSearchResults__ItemIndicator"}),Xee=e=>{const{source:t}=cB();return jf.jsx(Kee,{iconKey:t.isExternal?"openLinkInNewTab":"openLinkInSameTab",...e})},Qee=wB("div",{_id:"aiSearchFooter"}),Zee=e=>{const{resultsList:t}=h7();return jf.jsx(Qee,{"data-has-results":wP(t.length>0),...e})},Jee=wB("div",{_id:"aiSearchTagline__Container"}),ete=wB("span",{_id:"aiSearchTagline__Text",children:"Powered by"}),tte=wB(Y2,{_id:"aiSearchTagline__Logo"}),nte=wB("a",{_id:"aiSearchTagline__BrandName",children:"inkeep",href:"https://www.inkeep.com/",target:"_blank",rel:"noopener noreferrer"}),rte=wB(mV,{_id:"modal"}),ate=wB(yV,{_id:"modal__Overlay"}),ote=wB(bV,{_id:"modal__Content","aria-describedby":void 0}),ite=e=>{const t=sD("(max-width: 768px)");return jf.jsx(ote,{"data-mobile":wP(t),...e})},ste=wB(wV,{_id:"modal__Close",children:jf.jsx(fW,{iconKey:"close"})}),lte=e=>ZL()?jf.jsx(ste,{...e}):null,cte=wB("div",{_id:"chatButton__Container"}),ute=wB("button",{_id:"chatButton__Button"}),dte=wB("div",{_id:"chatButton__Text"}),pte=wB(qB,{_id:"chatButton__AvatarContent"}),fte=wB(YB,{_id:"chatButton__AvatarImage"}),hte=V.memo((e=>{const{onLoadingStatusChange:t,...n}=e,{aiChatSettings:r}=zO(),{aiAssistantAvatar:a}=r??{},o="string"==typeof a?a:null==a?void 0:a.dark,[i,s]=V.useState(o);V.useEffect((()=>{s(o)}),[o]);return i?jf.jsx(fte,{src:i,"data-type":"image",onLoadingStatusChange:Q2(t,(e=>{"error"===e&&s(null)})),...n}):jf.jsx(OV,{"data-type":"icon",...e})}));const mte={width:void 0,height:void 0};function gte(e){const{ref:t,box:n="content-box"}=e,[{width:r,height:a},o]=V.useState(mte),i=function(){const e=V.useRef(!1);return V.useEffect((()=>(e.current=!0,()=>{e.current=!1})),[]),V.useCallback((()=>e.current),[])}(),s=V.useRef({...mte}),l=V.useRef(void 0);return l.current=e.onResize,V.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=yte(e,t,"inlineSize"),a=yte(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 yte(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 bte="undefined"!=typeof document?V.useLayoutEffect:V.useEffect;function vte(e){const{children:t,target:n,tag:r,host:a}=e,o=V.useRef(null),i=V.useRef(null),[,s]=V.useReducer((e=>e+1),0);bte((()=>{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?re.createPortal(t,l):V.createElement("span",{ref:o})}const wte=({children:e,...t})=>{const{baseSettings:n}=zO(),{rootElement:r}=n;return jf.jsx(vte,{host:r,...t,children:jf.jsx(oB,{children:e})})},kte=e=>"boolean"==typeof e?`${e}`:0===e?"0":e,xte=k1,Ete=(e,t)=>n=>{var r;if(null==(null==t?void 0:t.variants))return xte(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=kte(t)||kte(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 xte(e,i,l,null==n?void 0:n.class,null==n?void 0:n.className)},Ste=Ete(["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"}}),_te=Ete(["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","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"}}),Tte=Ete("",{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:[_te({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"]}}}),Cte=Ete("",{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"]}}}),Ate=Ete(["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","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"],breadcrumbs:["[grid-area:breadcrumbs]","flex items-center text-gray-600","dark:text-white-alpha-600 text-xs"],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"],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"]}}}),Nte=Ete("size-4 inline-block leading-[1em] shrink-0 text-current align-middle"),Ite=Ete(["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"}}}),Rte=Ete(["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-offset-transparent","hover:underline"]),Ote=Ete("tracking-tight font-semibold",{variants:{size:{lg:"text-xl",md:"text-md"}},defaultVariants:{size:"md"}}),Pte=Ete("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]"}}}),Lte=Ete("",{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:""}}}),Dte=Ete(["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"]),Mte=Ete(["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 "]),Fte=Ete("",{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]"]}}}),jte=Ete("",{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:[_te({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"]}}}),Bte=Ete("",{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"],arrow:"fill-white dark:fill-gray-dark-800"}}}),Hte=Ete("",{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"}}}),zte=Ete("",{variants:{slot:{trigger:[Ite({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"]}}}),Ute=Ete(["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]"]),$te=e=>{const t=qte(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:e=>{const n=e.split("-");return""===n[0]&&1!==n.length&&n.shift(),Gte(n,t)||Wte(e)},getConflictingClassGroupIds:(e,t)=>{const a=n[e]||[];return t&&r[e]?[...a,...r[e]]:a}}},Gte=(e,t)=>{var n;if(0===e.length)return t.classGroupId;const r=e[0],a=t.nextPart.get(r),o=a?Gte(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},Vte=/^\[(.+)\]$/,Wte=e=>{if(Vte.test(e)){const t=Vte.exec(e)[1],n=null==t?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},qte=e=>{const{theme:t,prefix:n}=e,r={nextPart:new Map,validators:[]};return Qte(Object.entries(e.classGroups),n).forEach((([e,n])=>{Yte(n,r,e,t)})),r},Yte=(e,t,n,r)=>{e.forEach((e=>{if("string"!=typeof e){if("function"==typeof e)return Xte(e)?void Yte(e(r),t,n,r):void t.validators.push({validator:e,classGroupId:n});Object.entries(e).forEach((([e,a])=>{Yte(a,Kte(t,e),n,r)}))}else{(""===e?t:Kte(t,e)).classGroupId=n}}))},Kte=(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},Xte=e=>e.isThemeGetter,Qte=(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,Zte=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)}}},Jte=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},ene=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},tne=/\s+/;function nne(){let e,t,n=0,r="";for(;n<arguments.length;)(e=arguments[n++])&&(t=rne(e))&&(r&&(r+=" "),r+=t);return r}const rne=e=>{if("string"==typeof e)return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=rne(e[r]))&&(n&&(n+=" "),n+=t);return n};function ane(e,...t){let n,r,a,o=function(s){const l=t.reduce(((e,t)=>t(e)),e());return n=(e=>({cache:Zte(e.cacheSize),parseClassName:Jte(e),...$te(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(tne);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=ene(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(nne.apply(null,arguments))}}const one=e=>{const t=t=>t[e]||[];return t.isThemeGetter=!0,t},ine=/^\[(?:([a-z-]+):)?(.+)\]$/i,sne=/^\d+\/\d+$/,lne=new Set(["px","full","screen"]),cne=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,une=/\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$/,dne=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,pne=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,fne=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,hne=e=>gne(e)||lne.has(e)||sne.test(e),mne=e=>Nne(e,"length",Ine),gne=e=>Boolean(e)&&!Number.isNaN(Number(e)),yne=e=>Nne(e,"number",gne),bne=e=>Boolean(e)&&Number.isInteger(Number(e)),vne=e=>e.endsWith("%")&&gne(e.slice(0,-1)),wne=e=>ine.test(e),kne=e=>cne.test(e),xne=new Set(["length","size","percentage"]),Ene=e=>Nne(e,xne,Rne),Sne=e=>Nne(e,"position",Rne),_ne=new Set(["image","url"]),Tne=e=>Nne(e,_ne,Pne),Cne=e=>Nne(e,"",One),Ane=()=>!0,Nne=(e,t,n)=>{const r=ine.exec(e);return!!r&&(r[1]?"string"==typeof t?r[1]===t:t.has(r[1]):n(r[2]))},Ine=e=>une.test(e)&&!dne.test(e),Rne=()=>!1,One=e=>pne.test(e),Pne=e=>fne.test(e),Lne=ane((()=>{const e=one("colors"),t=one("spacing"),n=one("blur"),r=one("brightness"),a=one("borderColor"),o=one("borderRadius"),i=one("borderSpacing"),s=one("borderWidth"),l=one("contrast"),c=one("grayscale"),u=one("hueRotate"),d=one("invert"),p=one("gap"),f=one("gradientColorStops"),h=one("gradientColorStopPositions"),m=one("inset"),g=one("margin"),y=one("opacity"),b=one("padding"),v=one("saturate"),w=one("scale"),k=one("sepia"),x=one("skew"),E=one("space"),S=one("translate"),_=()=>["auto",wne,t],T=()=>[wne,t],C=()=>["",hne,mne],A=()=>["auto",gne,wne],N=()=>["","0",wne],I=()=>[gne,wne];return{cacheSize:500,separator:":",theme:{colors:[Ane],spacing:[hne,mne],blur:["none","",kne,wne],brightness:I(),borderColor:[e],borderRadius:["none","","full",kne,wne],borderSpacing:T(),borderWidth:C(),contrast:I(),grayscale:N(),hueRotate:I(),invert:N(),gap:T(),gradientColorStops:[e],gradientColorStopPositions:[vne,mne],inset:_(),margin:_(),opacity:I(),padding:T(),saturate:I(),scale:I(),sepia:N(),skew:I(),space:T(),translate:T()},classGroups:{aspect:[{aspect:["auto","square","video",wne]}],container:["container"],columns:[{columns:[kne]}],"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",wne]}],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",bne,wne]}],basis:[{basis:_()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",wne]}],grow:[{grow:N()}],shrink:[{shrink:N()}],order:[{order:["first","last","none",bne,wne]}],"grid-cols":[{"grid-cols":[Ane]}],"col-start-end":[{col:["auto",{span:["full",bne,wne]},wne]}],"col-start":[{"col-start":A()}],"col-end":[{"col-end":A()}],"grid-rows":[{"grid-rows":[Ane]}],"row-start-end":[{row:["auto",{span:[bne,wne]},wne]}],"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",wne]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",wne]}],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",wne,t]}],"min-w":[{"min-w":[wne,t,"min","max","fit"]}],"max-w":[{"max-w":[wne,t,"none","full","min","max","fit","prose",{screen:[kne]},kne]}],h:[{h:[wne,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[wne,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[wne,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[wne,t,"auto","min","max","fit"]}],"font-size":[{text:["base",kne,mne]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",yne]}],"font-family":[{font:[Ane]}],"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",wne]}],"line-clamp":[{"line-clamp":["none",gne,yne]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",hne,wne]}],"list-image":[{"list-image":["none",wne]}],"list-style-type":[{list:["none","disc","decimal",wne]}],"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",hne,mne]}],"underline-offset":[{"underline-offset":["auto",hne,wne]}],"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",wne]}],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",wne]}],"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",Sne]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Ene]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Tne]}],"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":[hne,wne]}],"outline-w":[{outline:[hne,mne]}],"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":[hne,mne]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",kne,Cne]}],"shadow-color":[{shadow:[Ane]}],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",kne,wne]}],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",wne]}],duration:[{duration:I()}],ease:[{ease:["linear","in","out","in-out",wne]}],delay:[{delay:I()}],animate:[{animate:["none","spin","ping","pulse","bounce",wne]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[w]}],"scale-x":[{"scale-x":[w]}],"scale-y":[{"scale-y":[w]}],rotate:[{rotate:[bne,wne]}],"translate-x":[{"translate-x":[S]}],"translate-y":[{"translate-y":[S]}],"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",wne]}],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",wne]}],"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",wne]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[hne,mne,yne]}],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 Dne(...e){return Lne(k1(e))}const Mne=e=>e?"":void 0,Fne=Ete("",{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:[Dne(_te({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","focus-visible:ring-transparent")],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"]}}}),jne={markdownH1:Dne(Ote({size:"lg"}),"mb-3"),markdownH2:Dne(Ote({size:"md"}),"mb-2"),markdownP:Dne("mb-3 break-words whitespace-pre-wrap","[&+ol,&+li]:mt-0"),markdownLi:Dne("[&_a]:break-words [&_a]:inline"),markdownUl:Pte({style:"unordered"}),markdownOl:Dne(Pte({style:"ordered"}),"[inset-inline-start:var(--start,0px)]","[counter-reset:item_calc(var(--start,0)_-_1)]"),markdownLink:Dne(Rte(),"text-inkeep-primary-stronger hover:text-inkeep-primary-strong","dark:text-inkeep-expanded-primary-100 dark:hover:text-inkeep-expanded-primary-300"),markdownSourceLink:Dte(),markdownTable:Lte({slot:"root"}),markdownTh:Lte({slot:"th"}),markdownTd:Lte({slot:"td"}),markdownCode:Mte(),codeblockContainer:Fte({slot:"container"}),codeblockHeader:Fte({slot:"header"}),codeblockCopyButton:Dne(_te({}),Fte({slot:"copyButton"})),codeblockHighlighterWrapper:Dne(),codeblockHighlighter:Fte({slot:"highlighter"}),codeblockCode:"font-mono"},Bne=["Thinking","Looking for content","Analyzing"];function Hne(){const[e,t]=V.useState(0);return V.useEffect((()=>{const e=setInterval((()=>{t((t=>t+1<Bne.length?t+1:(clearInterval(e),t)))}),3500);return()=>clearInterval(e)}),[]),jf.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:[jf.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:Bne[e]}),jf.jsx("div",{className:"flex space-x-1",children:[0,1,2].map((e=>jf.jsx("span",{className:"animate-bounce-dot opacity-30",style:{animationDelay:.2*e+"s"},children:"."},e)))})]})}const zne=()=>Array.from({length:3}).map(((e,t)=>{const n=t%2==0;return jf.jsxs("div",{className:Dne("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":Mne(n),children:[jf.jsx("div",{"data-even":Mne(n),className:Dne(Ute(),"h-12 w-12 rounded-full","data-[even]:mr-4 ml-4 data-[even]:ml-0")}),jf.jsxs("div",{"data-even":Mne(n),className:"flex flex-col gap-2 items-end data-[even]:items-start",children:[jf.jsx("div",{"data-even":Mne(n),className:Dne(Ute(),"h-4 rounded-lg w-60")}),jf.jsx("div",{"data-even":Mne(n),className:Dne(Ute(),"h-4 rounded-lg w-56")})]})]},t)})),Une=e=>jf.jsx(GO,{children:jf.jsx(oP,{children:jf.jsx(nD,{children:jf.jsx(kj,{...e})})})}),$ne=V.forwardRef((({className:e,size:t,variant:n,...r},a)=>jf.jsx(h5,{ref:a,className:Dne(Ste({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}))),Gne=({className:e,...t})=>jf.jsx(g5,{className:Dne("flex flex-col items-center justify-center h-full gap-12 flex-1 p-8",e),children:jf.jsx(zne,{}),...t}),Vne=({className:e,...t})=>jf.jsx(b5,{className:Dne(Hte({section:"wrapper"}),"rounded-[inherit] font-body",e),...t}),Wne=({className:e,...t})=>jf.jsx(v5,{className:Dne(Hte({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}),qne=({className:e,...t})=>jf.jsx(w5,{className:Dne("flex items-center gap-2 w-full pl-6 pr-1","ikp-md:px-4 py-2 justify-between *:m-0",e),...t}),Yne=({className:e,...t})=>jf.jsx(k5,{className:Dne("flex items-center gap-1.5",e),...t}),Kne=({className:e,...t})=>jf.jsx(E5,{className:Dne("text-gray-600 dark:text-gray-dark-100 text-sm",e),...t}),Xne=({className:e,...t})=>jf.jsx(S5,{className:Dne(Hte({section:"content"}),"justify-end",e),...t}),Qne=({className:e,...t})=>jf.jsx(_5,{className:Dne("overflow-hidden",e),...t}),Zne=V.forwardRef((({className:e,...t},n)=>jf.jsx(C5,{ref:n,className:Dne("h-full w-full rounded-[inherit]",e),...t}))),Jne=({className:e,...t})=>jf.jsx(A5,{className:Dne("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}),ere=({className:e,...t})=>jf.jsx(N5,{className:Dne("relative flex-1 rounded-full","bg-gray-300 dark:bg-white-alpha-200",e),...t}),tre=I5,nre=({className:e,...t})=>jf.jsx(L5,{className:Dne("ml-auto text-sm flex items-center gap-1",e),...t}),rre=({className:e,...t})=>jf.jsx(M5,{className:Dne("text-gray-700 dark:text-gray-dark-100",e),...t}),are=({className:e,...t})=>jf.jsx(F5,{className:Dne("cursor-pointer text-gray-700 dark:text-gray-dark-100",e),...t}),ore=({className:e,...t})=>jf.jsx(B5,{className:Dne(Bte({slot:"content"}),"px-4 py-2 font-normal","w-[250px] sm:w-[420px]",e),...t}),ire=H5,sre=({className:e,...t})=>jf.jsx(z5,{className:Dne(Bte({slot:"arrow"}),e),...t}),lre=({className:e,...t})=>jf.jsx($5,{className:Dne("mt-4 flex flex-col gap-2",e),...t}),cre=({className:e,...t})=>jf.jsx(V5,{className:Dne("text-2xs uppercase font-semibold tracking-widest","text-gray-600 dark:text-white-alpha-500",e),...t}),ure=({className:e,...t})=>jf.jsx(q5,{className:Dne("flex flex-col","ikp-md:flex-row","flex-wrap gap-2",e),...t}),dre=V.forwardRef((({className:e,style:t,...n},r)=>{const a=V.useRef(null),o=pB(r,a),{width:i=0,height:s=0}=gte({ref:a,box:"border-box"}),l=Math.max(s,i);return jf.jsx(K5,{ref:o,style:{"--before-size":`${l+100}px`,...t},className:Dne("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})})),pre=({className:e,...t})=>jf.jsx(Q5,{className:Dne(_te({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}),fre=({className:e,...t})=>jf.jsx(O5,{className:Dne("flex flex-col w-full min-w-0 min-h-0 text-2sm relative",e),...t}),hre=Ete(["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"]),mre=({className:e,...t})=>jf.jsx(t3,{className:Dne(hre(),e),...t}),gre=({className:e,...t})=>jf.jsx(n3,{className:Dne(hre(),e),...t}),yre=({className:e,...t})=>jf.jsx(a3,{className:Dne("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}),bre=({className:e,...t})=>jf.jsx(i3,{className:Dne("flex items-center gap-3 h-12 w-full",e),children:jf.jsx(Hne,{}),...t}),vre=({className:e,...t})=>jf.jsx(l3,{className:Dne("flex items-center justify-center rounded-full","h-auto ikp-md:h-12",e),...t}),wre=({className:e,...t})=>jf.jsx(u3,{className:Dne("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}),kre=({className:e,...t})=>jf.jsx(p3,{className:Dne("hidden data-[role=user]:block",e),...t}),xre=({className:e,...t})=>jf.jsx(h3,{className:Dne("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}),Ere=({className:e,...t})=>jf.jsx(g3,{className:Dne("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}),Sre=({className:e,...t})=>jf.jsx(b3,{className:Dne("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}),_re=({className:e,...t})=>jf.jsx(w3,{className:Dne("text-2sm flex-wrap break-words min-w-0 shrink-1 max-w-full",e),...t}),Tre=e=>{var t,n;const{message:r}=zj(),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)?jf.jsx(Fj,{children:jf.jsx(k3,{...e})}):null},Cre=({className:e,...t})=>jf.jsx(E3,{className:Dne("flex flex-wrap gap-2",e),...t}),Are=({className:e,...t})=>jf.jsx(_3,{className:Dne(_te({variant:"ghost"}),Tte({slot:"root"}),"font-normal px-2",e),...t}),Nre=({className:e,...t})=>jf.jsx(C3,{className:Dne(Tte({slot:"icon"}),e),...t}),Ire=({className:e,...t})=>jf.jsx(N3,{className:Dne(Tte({slot:"title"}),e),...t}),Rre=e=>{const{onOpenChange:t,...n}=e,{selectItem:r,isOpen:a,onClose:o,selectedItem:i}=jj();return jf.jsx(I3,{open:a&&null!==i,onOpenChange:Q2(t,(e=>{e||(o(),r(null))})),...n})},Ore=({className:e,...t})=>jf.jsx(R3,{className:Dne(jte({slot:"overlay"}),e),...t}),Pre=({className:e,...t})=>jf.jsx(O3,{className:Dne(jte({slot:"content"}),"my-6 md:my-12 top-0 left-[unset] transform-none relative","p-8 md:p-10 max-w-2xl",e),...t}),Lre=({className:e,...t})=>jf.jsx(L3,{className:Dne(jte({slot:"header"}),"px-0 pt-0 pb-8 flex flex-col gap-6","font-semibold",e),...t}),Dre=({className:e,...t})=>jf.jsx(D3,{className:Dne(jte({slot:"close"}),e),...t}),Mre=({className:e,...t})=>jf.jsx(F3,{className:Dne(jte({slot:"body"}),"p-0",e),...t}),Fre=({className:e,componentStyles:t,...n})=>jf.jsx(B3,{className:Dne("data-[role=user]:whitespace-pre-wrap mb-3 max-w-full",e),componentStyles:If(jne,t??{}),...n}),jre=({className:e,...t})=>jf.jsx(z3,{className:Dne("flex items-center mt-2 mb-3",e),...t}),Bre=({className:e,...t})=>jf.jsx($3,{className:Dne("mr-auto flex items-center gap-2",e),...t}),Hre=({className:e,...t})=>jf.jsx(G3,{className:Dne(_te({size:"xs",variant:"outline"}),"text-xs h-[30px] text-gray-700 dark:text-gray-200 gap-1",e),...t}),zre=({className:e,...t})=>jf.jsx(W3,{className:Dne(_te({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}),Ure=e=>{var t;const{message:n}=zj();return"assistant"===n.role&&(null==(t=n.links)?void 0:t.length)?jf.jsx(q3,{...e}):null},$re=({className:e,...t})=>jf.jsx(K3,{className:Dne("block text-xs font-medium my-2 text-gray-700 dark:text-gray-dark-300",e),...t}),Gre=({className:e,...t})=>jf.jsx(Q3,{className:Dne("w-full relative flex flex-col gap-3 py-[1px]",e),...t}),Vre=({className:e,...t})=>jf.jsx(J3,{className:Dne(Ate({slot:"root"}),e),...t}),Wre=({className:e,...t})=>jf.jsx(t4,{className:Dne(Ate({slot:"breadcrumbs"}),e),...t}),qre=({className:e,...t})=>jf.jsx(n4,{className:Dne(Ate({slot:"breadcrumbsIcon"}),e),...t}),Yre=({className:e,...t})=>jf.jsx(a4,{className:Dne(Ate({slot:"icon"}),e),...t}),Kre=({className:e,...t})=>jf.jsx(i4,{className:Dne(Ate({slot:"title"}),e),...t}),Xre=({className:e,...t})=>jf.jsx(l4,{className:Dne(Ate({slot:"tag"}),e),...t}),Qre=({className:e,...t})=>jf.jsx(u4,{className:Dne(Ate({slot:"description"}),e),...t}),Zre=({className:e,...t})=>jf.jsx(p4,{className:Dne(Ate({slot:"descriptionPart"}),e),...t}),Jre=({className:e,...t})=>jf.jsx(h4,{className:Dne(Ate({slot:"indicator"}),e),...t}),eae=({className:e,...t})=>jf.jsx(m4,{className:Dne("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}),tae=({className:e,...t})=>jf.jsx(g4,{className:Dne("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}),nae=({className:e,...t})=>jf.jsx(y4,{className:Dne("flex",e),...t}),rae=V.forwardRef((({className:e,...t},n)=>jf.jsx(v4,{ref:n,className:Dne("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}))),aae=({className:e,...t})=>jf.jsx(k4,{className:Dne(_te({}),"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}),oae=({className:e,...t})=>jf.jsx(x4,{className:Dne(Nte(),"text-inherit rotate-[-30deg]",e),...t}),iae=({className:e,...t})=>jf.jsx(S4,{className:Dne("flex items-center justify-between","flex-wrap gap-2 px-1 pt-2 pb-1",e),...t}),sae=({className:e,...t})=>jf.jsx(T4,{className:Dne("flex items-center gap-2 flex-wrap px-3 min-w-0",e),...t}),lae=({className:e,...t})=>jf.jsx(A4,{className:Dne(Tte({slot:"root"}),e),...t}),cae=({className:e,...t})=>jf.jsx(I4,{className:Dne(Tte({slot:"icon"}),e),...t}),uae=({className:e,...t})=>jf.jsx(O4,{className:Dne(Tte({slot:"title"}),e),...t}),dae=({className:e,...t})=>jf.jsx(L4,{className:Dne(Tte({slot:"delete"}),e),...t}),pae=({className:e,...t})=>jf.jsx(D4,{className:Dne("flex items-center justify-between","gap-2 flex-wrap px-3",e),...t}),fae=M4,hae=({className:e,...t})=>jf.jsx(F4,{className:Dne("cursor-pointer text-sm text-gray-600","dark:text-white-alpha-600",e),...t}),mae=({className:e,...t})=>jf.jsx(B4,{className:Dne("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}),gae=({className:e,...t})=>jf.jsx(z4,{className:Dne("contents",e),...t}),yae=({className:e,...t})=>jf.jsx($4,{className:Dne(_te({variant:"outline",size:"xs"}),"light:text-gray-700 gap-1",e),...t}),bae=G4,vae=e=>{const{onOpenChange:t,...n}=e,{selectInput:r,isOpen:a,onClose:o,selectedInput:i}=_j();return jf.jsx(V4,{open:a&&null!==i,onOpenChange:Q2(t,(e=>{e||(o(),r(null))})),...n})},wae=({className:e,...t})=>jf.jsx(W4,{className:Dne(jte({slot:"overlay"}),e),...t}),kae=({className:e,...t})=>jf.jsx(q4,{className:Dne(jte({slot:"content"}),"my-6 md:my-12 top-0 left-[unset] transform-none relative","p-8 md:p-10 max-w-2xl",e),...t}),xae=({className:e,...t})=>jf.jsx(Y4,{className:Dne(jte({slot:"header"}),"px-0 pt-0 pb-8 gap-y-2","font-semibold",e),...t}),Eae=({className:e,...t})=>jf.jsx(X4,{className:Dne("w-full semibold",e),...t}),Sae=({className:e,...t})=>jf.jsx(Z4,{className:Dne("text-gray-700 dark:text-white-alpha-700","text-sm font-normal w-full",e),...t}),_ae=e=>{var t;const{children:n,...r}=e,{selectedInput:a}=_j(),o=null==(t=null==a?void 0:a.workflowModalProps)?void 0:t.modalHelpElement;return o?jf.jsx(J4,{asChild:!n,children:n||o,...r}):null},Tae=({className:e,...t})=>jf.jsx(e6,{className:Dne(jte({slot:"close"}),e),...t}),Cae=({className:e,...t})=>jf.jsx(t6,{className:Dne(jte({slot:"body"}),"p-0",e),...t}),Aae=({className:e,...t})=>jf.jsx(r6,{className:Dne("flex flex-col gap-8",e),...t}),Nae=({className:e,...t})=>jf.jsx(a6,{className:Dne("flex flex-col gap-2",e),...t}),Iae=({className:e,...t})=>jf.jsx(i6,{className:Dne("text-sm font-medium text-gray-700 dark:text-white-alpha-700",e),...t}),Rae=({className:e,...t})=>jf.jsx(l6,{className:Dne("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}),Oae=({className:e,...t})=>jf.jsx(u6,{className:Dne("text-sm text-red-500",e),...t}),Pae=({className:e,...t})=>jf.jsx(d6,{className:Dne("flex flex-col gap-2",e),...t}),Lae=({className:e,...t})=>jf.jsx(f6,{className:Dne("text-sm font-medium text-gray-700 dark:text-white-alpha-700",e),...t}),Dae=({className:e,...t})=>jf.jsx(m6,{className:Dne(Ite({size:"md",variant:"outline"}),"min-h-20 px-4 py-2",e),...t}),Mae=({className:e,...t})=>jf.jsx(y6,{className:Dne("text-sm text-red-500",e),...t}),Fae=({className:e,...t})=>jf.jsx(b6,{className:Dne(_te({preset:"neutralFilled"}),"ml-auto",e),...t}),jae=({className:e,...t})=>jf.jsx(v6,{className:Dne("mt-4 flex items-start justify-between flex-wrap-reverse gap-2.5",e),...t}),Bae=({className:e,...t})=>jf.jsx(w6,{className:Dne("flex items-center gap-2.5 flex-wrap",e),...t}),Hae=({className:e,...t})=>jf.jsx(k6,{className:Dne("flex items-center whitespace-nowrap",e),...t}),zae=({className:e,...t})=>jf.jsx(x6,{className:Dne("text-xs md:text-sm text-gray-500 dark:text-white-alpha-600",e),...t}),Uae=({className:e,...t})=>jf.jsx(E6,{className:Dne("text-gray-400 dark:text-white-alpha-500","w-[18px] ml-2 mr-1",e),...t}),$ae=({className:e,...t})=>jf.jsx(S6,{className:Dne(Rte(),"inline-flex text-xs md:text-sm text-gray-500","dark:text-white-alpha-600 font-bold",e),...t}),Gae=Dne(_te({size:"xs",variant:"outline"}),"text-gray-700 dark:text-white-alpha-700"),Vae=({className:e,...t})=>jf.jsx(T6,{className:Dne(Gae,e),...t}),Wae=({className:e,...t})=>jf.jsx(A6,{className:Dne("cursor-pointer",e),...t}),qae=({className:e,...t})=>jf.jsx(I6,{className:Dne("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}),Yae=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]=V.useState(!1);return{open:e,setOpen:t}}();return jf.jsx(Pj,{value:c,children:jf.jsx(R6,{open:c.open,onOpenChange:c.setOpen,children:xP(t,{pinned:s,unpinned:l}),...n})})},Kae=({className:e,...t})=>jf.jsx(P6,{className:Dne(Gae,e),...t}),Xae=({className:e,...t})=>jf.jsx(D6,{className:Dne(Gae,e),...t}),Qae=({className:e,...t})=>jf.jsx(F6,{className:Dne(Bte({slot:"content"}),"gap-3 px-3 py-4 ","w-[254px] text-sm font-normal",e),...t}),Zae=({className:e,...t})=>jf.jsx(j6,{className:Dne(Bte({slot:"arrow"}),e),...t}),Jae=({className:e,...t})=>jf.jsx(B6,{className:Dne("flex items-center cursor-pointer hover:underline",e),...t}),eoe=({className:e,...t})=>jf.jsx(z6,{className:Dne("mr-2 text-inkeep-primary-medium",e),...t}),toe=e=>{const{onOpenChange:t,...n}=e,{currentFeedback:r,setCurrentFeedback:a}=gD();return jf.jsx(U6,{open:null!==r,onOpenChange:Q2(t,(()=>a(null))),...n})},noe=({className:e,...t})=>jf.jsx($6,{className:Dne(jte({slot:"overlay"}),e),...t}),roe=({className:e,...t})=>jf.jsx(G6,{className:Dne(jte({slot:"content"}),"my-6 md:my-12 top-0 left-[unset] transform-none relative","p-8 md:p-10 max-w-[480px]",e),...t}),aoe=({className:e,...t})=>jf.jsx(V6,{className:Dne(jte({slot:"header"}),"px-0 pt-0 pb-8","font-semibold",e),...t}),ooe=({className:e,...t})=>jf.jsx(W6,{className:Dne(jte({slot:"close"}),e),...t}),ioe=({className:e,...t})=>jf.jsx(q6,{className:Dne(jte({slot:"body"}),"p-0",e),...t}),soe=({className:e,...t})=>jf.jsx(K6,{className:Dne("flex flex-col gap-8",e),...t}),loe=({className:e,...t})=>jf.jsx(Q6,{className:Dne("flex flex-wrap items-center","gap-[1rem_0.5rem]",e),...t}),coe=({className:e,...t})=>jf.jsx(J6,{className:Dne(Cte({slot:"root"}),e),...t}),uoe=({className:e,...t})=>jf.jsx(e8,{className:Dne(Cte({slot:"indicator"}),e),...t}),doe=({className:e,...t})=>jf.jsx(n8,{className:Dne("select-none cursor-pointer font-medium text-sm","text-gray-700 dark:text-white-alpha-700",e),...t}),poe=({className:e,...t})=>jf.jsx(a8,{className:Dne("flex-[0_0_100%]","min-h-20 py-2 border rounded-md","px-4",e),...t}),foe=({className:e,...t})=>jf.jsx(o8,{className:Dne(_te({preset:"neutralFilled"}),"ml-auto",e),...t}),hoe=({className:e,...t})=>jf.jsx(s8,{className:Dne("w-full overflow-y-auto",e),...t}),moe=({className:e,...t})=>jf.jsx(c8,{className:Dne(Hte({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}),goe=({className:e,...t})=>jf.jsx(d8,{className:Dne(_te({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}),yoe=({className:e,...t})=>jf.jsx(p8,{className:Dne("mt-12 flex flex-col gap-6",e),...t}),boe=({className:e,...t})=>jf.jsx(h8,{className:Dne("font-semibold text-xl leading-5",e),...t}),voe=({className:e,...t})=>jf.jsx(g8,{className:Dne("text-gray-700 dark:text-white-alpha-700 text-sm",e),...t}),woe=({className:e,...t})=>jf.jsx(b8,{className:Dne("w-full",e),...t}),koe=({className:e,...t})=>jf.jsx(w8,{className:Dne("mb-8 flex flex-col gap-2 data-[hidden]:hidden","data-[input-type=checkbox]:flex-row data-[input-type=checkbox]:items-center",e),...t}),xoe=({className:e,...t})=>jf.jsx(x8,{className:Dne("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}),Eoe=({className:e,...t})=>jf.jsx(S8,{className:Dne(Ite({size:"md",variant:"outline"}),e),...t}),Soe=({className:e,...t})=>jf.jsx(_8,{className:Dne(Ite({size:"md",variant:"outline"}),e),...t}),_oe=({className:e,...t})=>jf.jsx(C8,{className:Dne(Ite({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}),Toe=({className:e,...t})=>jf.jsx(A8,{className:Dne(Ite({size:"md",variant:"outline"}),"min-h-20 px-4 py-2",e),...t}),Coe=({className:e,...t})=>jf.jsx(I8,{className:Dne(Cte({slot:"root"}),e),...t}),Aoe=({className:e,...t})=>jf.jsx(R8,{className:Dne(Cte({slot:"indicator"}),e),...t}),Noe=e=>{const{field:t,error:n,fieldProps:r}=Rj(),{onValueChange:a,...o}=e;return jf.jsx(O8,{name:t.name,"data-invalid":wP(!!n),value:r.value,onValueChange:Q2(a,r.onChange),...o})},Ioe=({className:e,...t})=>jf.jsx(P8,{className:Dne(zte({slot:"trigger"}),e),...t}),Roe=e=>{const{field:t}=Rj();return jf.jsx(L8,{placeholder:"placeholder"in t?t.placeholder:void 0,...e})},Ooe=({className:e,...t})=>jf.jsx(D8,{className:Dne("h-4 w-4 opacity-45",e),...t}),Poe=({className:e,...t})=>jf.jsx(M8,{className:Dne(zte({slot:"content"}),e),...t}),Loe=({className:e,...t})=>jf.jsx(F8,{className:Dne(zte({slot:"viewport"}),e),...t}),Doe=({className:e,...t})=>jf.jsx(j8,{className:Dne(zte({slot:"item"}),e),...t}),Moe=B8,Foe=({className:e,...t})=>jf.jsx(H8,{className:Dne(zte({slot:"itemIndicator"}),e),...t}),joe=({className:e,...t})=>jf.jsx(U8,{className:Dne("text-sm flex items-center text-red-500 dark:text-red-300",e),...t}),Boe=({className:e,...t})=>jf.jsx(G8,{className:Dne("text-red-500 dark:text-red-300",e),...t}),Hoe=({className:e,...t})=>jf.jsx(V8,{className:Dne("flex items-center justify-end gap-6 w-full",e),...t}),zoe=({className:e,...t})=>jf.jsx(q8,{className:Dne(_te({variant:"outline"}),e),...t}),Uoe=({className:e,...t})=>jf.jsx(K8,{className:Dne(_te({preset:"neutralFilled"}),e),...t}),$oe=({className:e,...t})=>jf.jsx(Q8,{className:Dne("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}),Goe=({className:e,...t})=>jf.jsx(J8,{className:Dne("mb-6 font-bold tracking-tight","text-3xl md:text-4xl leading-6 md:leading-5",e),...t}),Voe=e=>{const{form:t}=rD();return jf.jsx(e9,{children:null==t?void 0:t.successView.message,...e})},Woe=({className:e,...t})=>jf.jsx(n9,{className:Dne(_te({preset:"neutralFilled"}),"w-full mt-12 gap-2 shrink-0",e),...t});function qoe(){return jf.jsxs("div",{className:"flex flex-col h-full",children:[jf.jsxs("div",{className:Dne("h-[calc(100%-24px)]"),children:[jf.jsx("div",{className:"flex px-5 py-1 gap-3",children:Array.from({length:2}).map(((e,t)=>jf.jsx("div",{className:Dne(Ute(),"h-[27.88px] w-16 rounded-full")},t)))}),jf.jsx("div",{className:"flex flex-col w-full gap-2 px-5 py-1",children:Array.from({length:4}).map(((e,t)=>jf.jsx("div",{className:"flex items-center pb-2.5 w-full",children:jf.jsx("div",{className:Dne(Ute(),"h-20 rounded-lg grow-[1]")})},t)))})]}),jf.jsx("div",{className:"flex pt-1 pb-3 px-5 justify-self-end",children:jf.jsx("div",{className:Dne(Ute(),"h-[24px] w-40 rounded-md")})})]})}const Yoe=e=>jf.jsx(p7,{...e}),Koe=({className:e,...t})=>jf.jsx(J7,{className:Dne("data-[hidden]:hidden rounded-md flex","bg-white dark:bg-gray-dark-950",e),...t}),Xoe=({className:e,...t})=>jf.jsx(tee,{className:Dne("data-[hidden]:hidden flex flex-col w-full",e),...t}),Qoe=nee,Zoe=({className:e,...t})=>jf.jsx(ree,{className:Dne("flex items-center w-full px-5 pt-3 pb-1 gap-3",e),...t}),Joe=({className:e,...t})=>jf.jsx(aee,{className:Dne("min-w-5 w-5 text-xl","text-gray-500 dark:text-white-alpha-600",e),...t}),eie=({className:e,...t})=>jf.jsx(iee,{className:Dne("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}),tie=({className:e,...t})=>jf.jsx(lee,{className:Dne("animate-spin text-gray-400 dark:text-white-alpha-500",e),...t}),nie=({className:e,...t})=>jf.jsx(uee,{className:Dne(Ate({slot:"root"}),"m-auto w-[calc(100%_-_theme(spacing.5))]","border-transparent dark:border-transparent","mb-3 py-0 h-11 cursor-pointer",e),...t}),rie=({className:e,...t})=>jf.jsx(pee,{className:Dne("[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}),aie=({className:e,...t})=>jf.jsx(fee,{className:Dne(Ate({slot:"title"}),"font-normal",e),...t}),oie=({className:e,...t})=>jf.jsx(hee,{className:Dne(Ate({slot:"indicator"}),e),...t}),iie=({className:e,...t})=>jf.jsx(gee,{className:Dne(Hte({section:"content"}),"h-0 max-h-full","data-[has-content]:h-[min(calc(85vh_-_72px),calc(850px_-_72px_-_275px))]","transition-all duration-300 ease-in-out data-[has-content]:pb-2",e),...t}),sie=({className:e,...t})=>jf.jsx(bee,{className:Dne("group mb-1 relative transition-all w-full h-full",e),children:jf.jsx(qoe,{}),...t}),lie=({className:e,...t})=>jf.jsx(wee,{className:Dne("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}),cie=({className:e,...t})=>jf.jsx(xee,{className:Dne("shrink-0 max-w-full","flex gap-3 px-5 py-1","overflow-x-auto [scrollbar-width:thin]",e),...t}),uie=({className:e,...t})=>jf.jsx(See,{className:Dne("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",e),...t}),die=({className:e,...t})=>jf.jsx(Tee,{className:Dne("overflow-hidden h-full",'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}),pie=({className:e,...t})=>jf.jsx(Aee,{className:Dne("h-full w-full rounded-[inherit]",e),...t}),fie=({className:e,...t})=>jf.jsx(Nee,{className:Dne("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}),hie=({className:e,...t})=>jf.jsx(Iee,{className:Dne("relative flex-1 rounded-full","bg-gray-300 dark:bg-white-alpha-200",e),...t}),mie=Ree,gie=({className:e,...t})=>jf.jsx(Pee,{className:Dne("w-full flex flex-col","items-center gap-2.5 h-full shrink-0","px-5 py-1 content-center -my-[1px]",e),...t}),yie=({className:e,...t})=>jf.jsx(Dee,{className:Dne(Ate({slot:"root"}),e),...t}),bie=({className:e,...t})=>jf.jsx(Fee,{className:Dne(Ate({slot:"breadcrumbs"}),e),...t}),vie=({className:e,...t})=>jf.jsx(jee,{className:Dne(Ate({slot:"breadcrumbsIcon"}),e),...t}),wie=({className:e,...t})=>jf.jsx(Hee,{className:Dne(Ate({slot:"icon"}),e),...t}),kie=({className:e,...t})=>jf.jsx(Uee,{className:Dne(Ate({slot:"title"}),e),...t}),xie=({className:e,...t})=>jf.jsx(Gee,{className:Dne(Ate({slot:"tag"}),e),...t}),Eie=({className:e,...t})=>jf.jsx(Wee,{className:Dne(Ate({slot:"description"}),e),...t}),Sie=({className:e,...t})=>jf.jsx(Yee,{className:Dne(Ate({slot:"descriptionPart"}),e),...t}),_ie=({className:e,...t})=>jf.jsx(Xee,{className:Dne(Ate({slot:"indicator"}),e),...t}),Tie=({className:e,...t})=>jf.jsx(Zee,{className:Dne("justify-self-end pt-1 pb-3 px-5","hidden data-[has-results]:flex",e),...t}),Cie=({className:e,...t})=>jf.jsx(Jee,{className:Dne("flex items-center whitespace-nowrap",e),...t}),Aie=({className:e,...t})=>jf.jsx(ete,{className:Dne("text-xs md:text-sm text-gray-500 dark:text-white-alpha-600",e),...t}),Nie=({className:e,...t})=>jf.jsx(tte,{className:Dne("text-gray-400 dark:text-white-alpha-500","w-[18px] ml-2 mr-1",e),...t}),Iie=({className:e,...t})=>jf.jsx(nte,{className:Dne(Rte(),"inline-flex text-xs md:text-sm text-gray-500","dark:text-white-alpha-600 font-bold",e),...t}),Rie=e=>{const{onOpenChange:t,config:n,...r}=e,a=(e=>{const{isOpen:t,onOpenChange:n,shortcutKey:r}=e??{},a=V.useCallback((e=>{null==n||n(e)}),[n]),o=V.useCallback((e=>{a(e)}),[a]),i=V.useCallback((()=>a(!0)),[a]),s=V.useCallback((()=>a(!1)),[a]);return V.useEffect((()=>{const e=e=>{r&&(e.metaKey||e.ctrlKey)&&e.key.toLowerCase()===r.toLowerCase()&&(e.preventDefault(),e.stopPropagation(),a(!0)),"Escape"===e.key&&t&&(e.preventDefault(),a(!1))};return document.addEventListener("keydown",e),()=>document.removeEventListener("keydown",e)}),[r,a,t]),{isOpen:t,openModal:i,closeModal:s,handleOpenChange:o,shortcutKey:r}})(n);return jf.jsx(QL,{modal:a,children:jf.jsx(rte,{open:a.isOpen,onOpenChange:Q2(t,a.handleOpenChange),...r})})},Oie=({className:e,...t})=>jf.jsx(ate,{className:Dne(jte({slot:"overlay"}),e),...t}),Pie=({className:e,...t})=>jf.jsx(ite,{className:Dne(jte({slot:"content"}),"w-[min(90vw,720px)]",e),...t}),Lie=({className:e,...t})=>jf.jsx(lte,{className:Dne(jte({slot:"close"}),_te({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}),Die=({className:e,...t})=>jf.jsx(cte,{className:Dne("fixed right-6 bottom-6 mr-[var(--removed-body-scroll-bar-size)]",e),...t}),Mie=({className:e,...t})=>jf.jsx(ute,{className:Dne("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}),Fie=({className:e,...t})=>jf.jsx(dte,{className:Dne("flex items-center",e),...t}),jie=({className:e,...t})=>jf.jsx(hte,{className:Dne("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}),Bie=({className:e,...t})=>jf.jsx(pte,{className:Dne("",e),...t}),Hie=e=>jf.jsx(MO,{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-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.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\\.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\\(--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;\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;\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-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.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.pr-1 {\n padding-right: 0.25rem;\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.\\[--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.\\[--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 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.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\\:\\[--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-transparent:focus-visible {\n --tw-ring-color: transparent;\n}\n\n.focus-visible\\:ring-offset-2:focus-visible {\n --tw-ring-offset-width: 2px;\n}\n\n.focus-visible\\:ring-offset-transparent:focus-visible {\n --tw-ring-offset-color: transparent;\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-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-\\[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-\\[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\\: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.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\\: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-\\[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-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-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.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\\: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\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.\\[\\&_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',...e}),zie=wB("div",{_id:"view_toggle"}),Uie=wB("button",{_id:"view_toggle_button",className:Fne({slot:"button"})}),$ie=wB(fW,{_id:"view_toggle_icon"});function Gie(e){const{handleToggle:t}=Vie(e);return jf.jsxs(zie,{className:Fne({slot:"root"}),children:[jf.jsxs(Uie,{onClick:()=>t("search"),"data-active":wP("search"===e.view),children:[jf.jsx($ie,{"data-active":wP("search"===e.view),iconKey:"switchToSearch",className:Fne({slot:"icon"})}),e.searchLabel||"Search"]}),jf.jsxs(Uie,{onClick:()=>t("chat"),"data-active":wP("chat"===e.view),children:[jf.jsx($ie,{"data-active":wP("chat"===e.view),iconKey:"switchToChat",className:Fne({slot:"icon"})}),e.askAILabel||"Ask AI"]})]})}function Vie(e){const{onToggleView:t,query:n}=e;return{handleToggle:(e,r)=>{null==t||t({view:e,query:n,autoSubmit:r})}}}function Wie(e){const{componentType:t,children:n,modalSettings:r,...a}=e;return jf.jsx(vte,{children:jf.jsx(Hie,{children:jf.jsx(iB,{config:{...a},componentType:t,children:jf.jsx(Rie,{config:r,children:n})})})})}function qie(e){return jf.jsx(Oie,{children:jf.jsx(Pie,{children:e.children})})}function Yie(e){const{children:t,onToggleView:n,isHidden:r,shouldAutoFocusInput:a=!n}=e;return jf.jsx(Une,{isHidden:r,shouldAutoFocusInput:a,children:t})}function Kie(e){return jf.jsx(Yie,{...e,children:jf.jsx(Xie,{...e})})}function Xie(e){const{onToggleView:t}=e,n=ZL(),r=iD(),a=n&&!r?qie:V.Fragment;return jf.jsx(a,{children:jf.jsxs($ne,{variant:t?"no-shadow":"container-with-shadow","data-composite":wP(!!e.onToggleView||(null==n?void 0:n.isOpen)),children:[jf.jsx(Gne,{}),jf.jsxs(Vne,{children:[jf.jsx(Qie,{...e}),jf.jsx(Zie,{}),jf.jsx(ose,{})]}),jf.jsx(lse,{}),jf.jsx(cse,{})]})})}function Qie(e){const{onToggleView:t,askAILabel:n,searchLabel:r}=e,a=!!t;return jf.jsxs(Wne,{"data-show-toolbar":wP(a),children:[a&&jf.jsxs(qne,{children:[jf.jsxs(Yne,{children:[jf.jsx(Kne,{}),jf.jsxs(nre,{children:[jf.jsx(are,{}),jf.jsxs(ore,{side:"bottom",align:"start",children:[jf.jsx(ire,{}),jf.jsx(sre,{})]})]})]}),jf.jsx(Gie,{onToggleView:t,askAILabel:n,searchLabel:r,view:"chat"})]}),jf.jsx(Lie,{})]})}function Zie(){return jf.jsx(Xne,{children:jf.jsxs(Qne,{children:[jf.jsx(Zne,{children:jf.jsx(Jie,{})}),jf.jsx(Jne,{children:jf.jsx(ere,{})}),jf.jsx(tre,{})]})})}function Jie(){return jf.jsx(fre,{children:({messages:e})=>jf.jsxs(jf.Fragment,{children:[jf.jsx(ese,{}),e.map((e=>jf.jsxs(mre,{message:e,children:[jf.jsx(tse,{}),jf.jsx(bre,{}),jf.jsxs(Sre,{children:[jf.jsx(_re,{children:jf.jsx(Fre,{})}),jf.jsx(nse,{}),jf.jsx(rse,{}),jf.jsx(ase,{})]})]},e.id)))]})})}function ese(){return jf.jsxs(gre,{children:[jf.jsxs(yre,{children:[jf.jsx(vre,{children:jf.jsxs(wre,{children:[jf.jsx(kre,{}),jf.jsx(xre,{})]})}),jf.jsx(Ere,{})]}),jf.jsxs(Sre,{children:[jf.jsx(_re,{children:jf.jsx(Fre,{})}),jf.jsxs(nre,{children:[jf.jsx(rre,{}),jf.jsx(are,{}),jf.jsxs(ore,{children:[jf.jsx(ire,{}),jf.jsx(sre,{})]})]}),jf.jsxs(lre,{children:[jf.jsx(cre,{}),jf.jsx(ure,{children:e=>e.map((e=>jf.jsx(dre,{children:jf.jsx(pre,{question:e})},e)))})]})]})]})}function tse(){return jf.jsxs(yre,{children:[jf.jsx(vre,{children:jf.jsxs(wre,{children:[jf.jsx(kre,{}),jf.jsx(xre,{})]})}),jf.jsx(Ere,{})]})}function nse(){return jf.jsxs(Tre,{children:[jf.jsx(Cre,{children:e=>e.map((e=>jf.jsxs(Are,{attachment:e,children:[jf.jsx(Nre,{}),jf.jsx(Ire,{})]},e.id)))}),jf.jsx(Rre,{children:jf.jsx(wte,{children:jf.jsx(Ore,{children:jf.jsxs(Pre,{children:[jf.jsx(Lre,{}),jf.jsx(Dre,{}),jf.jsx(Mre,{})]})})})})]})}function rse(){return jf.jsxs(jre,{children:[jf.jsx(Bre,{children:e=>e.map(((e,t)=>jf.jsx(Hre,{action:e},`action-${t}`)))}),jf.jsx(zre,{action:"copy"}),jf.jsx(zre,{action:"upvote"}),jf.jsx(zre,{action:"downvote"})]})}function ase(){return jf.jsxs(Ure,{children:[jf.jsx($re,{}),jf.jsx(Gre,{children:e=>e.map(((e,t)=>{var n;return jf.jsxs(Vre,{href:e.url,source:e,children:[jf.jsx(Wre,{children:null==(n=e.breadcrumbs)?void 0:n.map((e=>jf.jsxs(V.Fragment,{children:[e,jf.jsx(qre,{})]},e)))}),jf.jsx(Yre,{}),jf.jsx(Kre,{}),jf.jsx(Xre,{}),jf.jsx(Qre,{children:e=>e.map(((e,t)=>jf.jsx(Zre,{part:e},`part-${t}`)))}),jf.jsx(Jre,{})]},t)}))})]})}function ose(){return jf.jsxs(eae,{children:[jf.jsx(ise,{}),jf.jsx(sse,{})]})}function ise(){return jf.jsxs(tae,{children:[jf.jsxs(nae,{children:[jf.jsx(rae,{}),jf.jsx(aae,{children:jf.jsx(oae,{})})]}),jf.jsxs(iae,{children:[jf.jsx(sae,{children:e=>e.map((e=>jf.jsxs(lae,{attachment:e,children:[jf.jsx(cae,{}),jf.jsx(uae,{}),jf.jsx(dae,{})]},e.id)))}),jf.jsxs(pae,{children:[jf.jsxs(fae,{children:[jf.jsx(hae,{}),jf.jsx(mae,{})]}),jf.jsx(gae,{children:e=>e.map((e=>jf.jsxs(yae,{input:e,children:[jf.jsx(bae,{}),e.displayName]},e.id)))})]}),jf.jsx(wte,{children:jf.jsx(vae,{children:jf.jsx(wae,{children:jf.jsxs(kae,{children:[jf.jsxs(xae,{children:[jf.jsx(Eae,{}),jf.jsx(Sae,{}),jf.jsx(_ae,{})]}),jf.jsx(Tae,{}),jf.jsx(Cae,{children:jf.jsxs(Aae,{children:[jf.jsxs(Nae,{children:[jf.jsx(Iae,{}),jf.jsx(Rae,{}),jf.jsx(Oae,{})]}),jf.jsxs(Pae,{children:[jf.jsx(Lae,{}),jf.jsx(Dae,{}),jf.jsx(Mae,{})]}),jf.jsx(Fae,{})]})})]})})})})]})]})}function sse(){return jf.jsxs(jae,{children:[jf.jsxs(Hae,{children:[jf.jsx(zae,{}),jf.jsx(Uae,{}),jf.jsx($ae,{})]}),jf.jsxs(Bae,{children:[jf.jsx(Yae,{children:({pinned:e,unpinned:t})=>jf.jsxs(jf.Fragment,{children:[e.map((e=>jf.jsx(Kae,{action:e},e.name))),t.length>0&&jf.jsx(Xae,{}),jf.jsxs(Qae,{children:[jf.jsx(Zae,{}),t.map((e=>jf.jsxs(Jae,{action:e,children:[jf.jsx(eoe,{action:e}),e.name]},e.name)))]})]})}),jf.jsxs(Vae,{action:"copy",children:[jf.jsx(Wae,{action:"copy"}),jf.jsx(qae,{action:"copy"})]}),jf.jsxs(Vae,{action:"share",children:[jf.jsx(Wae,{action:"share"}),jf.jsx(qae,{action:"share"})]}),jf.jsx(Vae,{action:"clear"}),jf.jsx(Vae,{action:"stop"})]})]})}function lse(){return jf.jsx(wte,{children:jf.jsx(toe,{children:jf.jsx(noe,{children:jf.jsxs(roe,{children:[jf.jsx(aoe,{}),jf.jsx(ooe,{}),jf.jsx(ioe,{children:jf.jsxs(soe,{children:[jf.jsxs(loe,{name:"unrelated_response",children:[jf.jsx(coe,{children:jf.jsx(uoe,{})}),jf.jsx(doe,{}),jf.jsx(poe,{})]}),jf.jsxs(loe,{name:"inaccurate_statement",children:[jf.jsx(coe,{children:jf.jsx(uoe,{})}),jf.jsx(doe,{}),jf.jsx(poe,{})]}),jf.jsxs(loe,{name:"inaccurate_code_snippet",children:[jf.jsx(coe,{children:jf.jsx(uoe,{})}),jf.jsx(doe,{}),jf.jsx(poe,{})]}),jf.jsxs(loe,{name:"irrelevant_citations",children:[jf.jsx(coe,{children:jf.jsx(uoe,{})}),jf.jsx(doe,{})]}),jf.jsx(foe,{})]})})]})})})})}function cse(){return jf.jsxs(hoe,{children:[jf.jsx(goe,{}),jf.jsxs(moe,{children:[jf.jsxs(yoe,{children:[jf.jsx(boe,{}),jf.jsx(voe,{})]}),jf.jsx(woe,{children:e=>jf.jsxs(jf.Fragment,{children:[e.map(((e,t)=>jf.jsxs(koe,{field:e,autoFocus:0===t,children:[jf.jsx(xoe,{}),"text"===e.inputType&&jf.jsx(Eoe,{}),"email"===e.inputType&&jf.jsx(Soe,{}),"file"===e.inputType&&jf.jsx(_oe,{}),"textarea"===e.inputType&&jf.jsx(Toe,{}),"checkbox"===e.inputType&&jf.jsx(Coe,{children:jf.jsx(Aoe,{})}),"select"===e.inputType&&jf.jsxs(Noe,{children:[jf.jsxs(Ioe,{children:[jf.jsx(Roe,{}),jf.jsx(Ooe,{})]}),jf.jsx(Poe,{children:jf.jsx(Loe,{children:e.items.map((e=>jf.jsxs(Doe,{value:e.value,children:[jf.jsx(Moe,{children:e.label}),jf.jsx(Foe,{})]},e.value)))})})]}),jf.jsx(joe,{})]},e.name))),jf.jsx(Boe,{})]})}),jf.jsxs(Hoe,{children:[jf.jsx(zoe,{}),jf.jsx(Uoe,{})]})]}),jf.jsxs($oe,{children:[jf.jsx(Goe,{}),jf.jsx(Voe,{}),jf.jsx(Woe,{})]})]})}function use(e){const{children:t,onToggleView:n,isHidden:r,shouldAutoFocusInput:a=!n}=e;return jf.jsx(Yoe,{isHidden:r,shouldAutoFocusInput:a,children:t})}function dse(e){const{onToggleView:t}=e,n=ZL(),r=iD(),a=n&&!r?qie:V.Fragment;return jf.jsx(a,{children:jf.jsx(Koe,{"data-composite":wP(!!t||(null==n?void 0:n.isOpen)),children:jf.jsxs(Xoe,{children:[jf.jsx(pse,{...e}),jf.jsxs(Qoe,{children:[jf.jsx(fse,{...e}),jf.jsx(hse,{})]}),jf.jsx(gse,{})]})})})}function pse(e){const{onToggleView:t,askAILabel:n,searchLabel:r}=e,{query:a}=h7();return jf.jsxs(Zoe,{children:[jf.jsx(Joe,{}),jf.jsx(eie,{}),jf.jsx(tie,{}),t&&jf.jsx(Gie,{onToggleView:t,query:a,askAILabel:n,searchLabel:r,view:"search"}),jf.jsx(Lie,{})]})}function fse(e){const{askAILabel:t,onToggleView:n,shouldShowAskAICard:r=!!n}=e,{query:a}=h7(),{handleToggle:o}=Vie({onToggleView:n,query:a});return r?jf.jsxs(nie,{onSelect:()=>o("chat",!0),children:[jf.jsx(rie,{}),jf.jsxs(aie,{children:[t||"Ask AI",a&&` "${a}"`]}),jf.jsx(oie,{})]}):null}function hse(){return jf.jsxs(iie,{children:[jf.jsx(sie,{}),jf.jsx(cie,{children:e=>e.map((e=>jf.jsx(uie,{tab:e},e)))}),jf.jsx(lie,{}),jf.jsxs(die,{children:[jf.jsx(pie,{children:jf.jsx(mse,{})}),jf.jsx(fie,{children:jf.jsx(hie,{})}),jf.jsx(mie,{})]})]})}function mse(){return jf.jsx(gie,{children:e=>e.map((e=>jf.jsxs(yie,{item:e,children:[jf.jsx(bie,{children:e=>e.map((e=>jf.jsxs(V.Fragment,{children:[e,jf.jsx(vie,{})]},e)))}),jf.jsx(wie,{}),jf.jsx(kie,{}),jf.jsx(xie,{}),jf.jsx(Eie,{children:e=>e.map(((e,t)=>jf.jsx(Sie,{part:e},`part-${t}`)))}),jf.jsx(_ie,{})]},e.id)))})}function gse(){return jf.jsx(Tie,{children:jf.jsxs(Cie,{children:[jf.jsx(Aie,{}),jf.jsx(Nie,{}),jf.jsx(Iie,{})]})})}function yse(e,t){"function"==typeof e?e(t):null!=e&&(e.current=t)}function bse(...e){return t=>{for(const n of e)yse(n,t)}}function vse(e){const{view:t,setView:n,shouldShowAskAICard:r,onToggleView:a,defaultView:o,shouldAutoFocusInput:i,searchLabel:s,askAILabel:l}=e,c=ZL()?qie:V.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 jf.jsx(oD,{widget:{setView:n},children:jf.jsx(use,{...u,children:jf.jsx(Yie,{...d,children:jf.jsxs(c,{children:[jf.jsx(dse,{...u}),jf.jsx(Xie,{...d})]})})})})}function wse(e){const{label:t="Ask AI",setOpen:n}=e;return jf.jsx(Die,{children:jf.jsxs(Mie,{onClick:e=>{2!==e.button&&n((e=>!e))},children:[jf.jsx(Fie,{children:t}),jf.jsx(Bie,{children:jf.jsx(jie,{})})]})})}const kse=function(e,t){const n=new Map;return function(r,a){let o,i;if("string"==typeof r)i=r,o=a;else{if(!Rf.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),i=`#${e.id||`inkeep-widget-${Date.now()}`}`,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);if(!l){l={root:Sf.createRoot(s),props:o,container:s,chatFunctionsRef:V.createRef(),searchFunctionsRef:V.createRef(),ref:V.createRef()},n.set(i,l)}l.props=If(o,{aiChatSettings:{chatFunctionsRef:l.chatFunctionsRef},searchSettings:{searchFunctionsRef:l.searchFunctionsRef}},{ref:l.ref}),l.container=s;try{l.root.render(V.createElement(e,l.props))}catch(u){console.error(`Error rendering component ${e.name}:`,u)}const c={update:t=>{const r=n.get(i);if(r){r.props=If(r.props??{},t??{});try{r.root.render(V.createElement(e,r.props))}catch(u){console.error(`Error rendering component ${e.name} during update:`,u)}}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=Sf.createRoot(t.container);try{t.root.render(V.createElement(e,t.props))}catch(u){console.error(`Error remounting component ${e.name}:`,u)}}else console.error(`Component at ${i} cannot be remounted.`)}};{const e=Of(i,"chatFunctionsRef",n),t=Of(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}})}}}((function(e){const[t,n]=V.useState(!1),{modalSettings:r,label:a,defaultView:o="chat",canToggleView:i=!0,...s}=e,{config:l,...c}=function(e){const{defaultView:t="search",aiChatSettings:n,baseSettings:r,searchSettings:a,shouldAutoFocusInput:o=!0,onToggleView:i,ref:s,...l}=e,c=V.useRef(null),u=bse(c,null==n?void 0:n.chatFunctionsRef),d=V.useRef(null),p=bse(d,null==a?void 0:a.searchFunctionsRef),f={...n,chatFunctionsRef:u},h={...a,searchFunctionsRef:p},[m,g]=V.useState(t);return V.useImperativeHandle(s,(()=>({setView:g}))),V.useEffect((()=>{var e,t;"chat"===m?null==(e=c.current)||e.focusInput():null==(t=d.current)||t.focusInput()}),[m]),{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}}({...s,defaultView:o}),u={...r,isOpen:t,onOpenChange:t=>{e.forceDefaultView&&!t&&c.setView(o??"chat"),n(!!t)}};return jf.jsxs(jf.Fragment,{children:[jf.jsx(Hie,{wrapperStyles:{display:"contents"},children:jf.jsx(iB,{config:l,componentType:FO,children:jf.jsx(wse,{label:a,setOpen:n})})}),jf.jsx(Wie,{...l,componentType:FO,modalSettings:u,children:i?jf.jsx(vse,{...c}):jf.jsx(Kie,{...s})})]})}),"ChatButton");window.Inkeep={ChatButton:kse}}();