1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="011b50b8-2da1-4aba-8020-cec7f73e28eb",e._sentryDebugIdIdentifier="sentry-dbid-011b50b8-2da1-4aba-8020-cec7f73e28eb")}catch(e){}}();import"./_sentry-release-injection-file-SYOkQ1Km.js";import{a as e}from"./rolldown-runtime-BBzOAo5_.js";import{t}from"./react-DuV36FPs.js";import{n,t as s}from"./lib-Ctq-1oa9.js";import{t as i}from"./useMutation-Dlh4SgeV.js";import{K as o}from"./index-CRc22cjs.js";import{t as r}from"./Input-DyTKUKsx.js";var a=e(t());n();var d=o(),l=s` 2 mutation SendQuestionToAgent($question: String!) { 3 sendQuestionToAgent(question: $question) 4 } 5`,u=()=>{const[e,{loading:t,data:n}]=i(l),[s,o]=(0,a.useState)(""),[u,b]=(0,a.useState)([]);return(0,d.jsxs)("div",{children:[(0,d.jsx)("div",{children:"I will become an AI agent!"}),(0,d.jsx)(r,{type:"textarea",value:s,onChange:e=>o(e.target.value)}),(0,d.jsx)("button",{disabled:!s.length,onClick:()=>{e({variables:{question:s}}),b((e=>[...e,s])),o("")},children:"Ask"}),(0,d.jsxs)("div",{children:["Questions sent:",(0,d.jsx)("ul",{children:u.map((e=>(0,d.jsx)("li",{children:e},e)))})]}),t&&(0,d.jsx)("div",{children:"Loading response from agent..."}),n&&(0,d.jsx)("pre",{style:{whiteSpace:"pre-wrap"},children:n.sendQuestionToAgent})]})};export{u as default}; 6//# sourceMappingURL=AIAgentConnector-DmyWg43s.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.