import{b as a,a as i}from"./index-OtVJl4GC.js";function p(){var n,t,u,c;const{repoConnection:o,currentQuery:e}=a(),{getOpenedQueries:s}=i(),r=s(o);return((n=r[e])==null?void 0:n.sparql)||(((t=r[e])==null?void 0:t.local)===void 0?(u=r[e])==null?void 0:u.remote:(c=r[e])==null?void 0:c.local)}function d(){var n,t,u;const{repoConnection:o,currentQuery:e}=a(),{getOpenedQueries:s}=i(),r=s(o);return((n=r[e])==null?void 0:n.local)===void 0?(t=r[e])==null?void 0:t.remote:(u=r[e])==null?void 0:u.local}export{p as a,d as u};
