import{R as o}from"./vendor-ClLR6ncd.js";import{b as c,a as l}from"./index-OtVJl4GC.js";const i=e=>function(){const{repositoryId:s,currentQuery:t}=c(),{addOpenedNlQuery:u}=l();return o.useCallback(r=>{u(s,{id:t,[e]:r})},[u,t,s])},Q=e=>function(){var a;const{getOpenedQueries:s}=l(),{repositoryId:t,currentQuery:u}=c(),r=(a=s(t))==null?void 0:a[u];return r==null?void 0:r[e]},d=i("sparql");function f(){const e=d();return o.useCallback(n=>{e(n.local)},[e])}export{Q as g,i as s,f as u};
