import{d as s,i as C}from"./jotai-DDOP7CKM.js";const E={CONNECTING:"CONNECTING",OPEN:"OPEN",CLOSING:"CLOSING",CLOSED:"CLOSED"},O={KERNEL_DISCONNECTED:"KERNEL_DISCONNECTED",ALREADY_RUNNING:"ALREADY_RUNNING",MALFORMED_QUERY:"MALFORMED_QUERY"},t=s({state:E.CONNECTING});function a(){return C(t,N=>N.state===E.OPEN)}const D=s(N=>N(t).state===E.CONNECTING),L=s(N=>N(t).state===E.OPEN),I=s(N=>N(t).state===E.CLOSED);export{a,D as i,I as n,O as o,L as r,E as s,t};
