import{S as V,i as D,s as G,E as k,k as g,a as j,l as v,m as S,c as N,h as u,H as o,I as T,b as q,J as E,K as f,O as Q,a1 as I,P as C,D as L,F,Q as _}from"./index.0caa4e13.js";import{r as p,O as b,e as x}from"./taskMonitoringStore.1f1b6bec.js";function P(s){let e;return{c(){e=g("span"),this.h()},l(i){e=v(i,"SPAN",{}),S(e).forEach(u),this.h()},h(){o(e,"bx--label",!0),o(e,"bx--skeleton",!0)},m(i,l){q(i,e,l)},d(i){i&&u(e)}}}function H(s){let e,i,l,n,c,h,a=!s[0]&&P(),m=[s[1]],d={};for(let t=0;t<m.length;t+=1)d=k(d,m[t]);return{c(){e=g("div"),a&&a.c(),i=j(),l=g("div"),n=g("div"),this.h()},l(t){e=v(t,"DIV",{});var r=S(e);a&&a.l(r),i=N(r),l=v(r,"DIV",{});var y=S(l);n=v(y,"DIV",{}),S(n).forEach(u),y.forEach(u),r.forEach(u),this.h()},h(){o(n,"bx--select-input",!0),o(l,"bx--select",!0),o(l,"bx--skeleton",!0),T(e,d),o(e,"bx--form-item",!0)},m(t,r){q(t,e,r),a&&a.m(e,null),E(e,i),E(e,l),E(l,n),c||(h=[f(e,"click",s[2]),f(e,"mouseover",s[3]),f(e,"mouseenter",s[4]),f(e,"mouseleave",s[5])],c=!0)},p(t,[r]){t[0]?a&&(a.d(1),a=null):a||(a=P(),a.c(),a.m(e,i)),T(e,d=Q(m,[r&2&&t[1]])),o(e,"bx--form-item",!0)},i:I,o:I,d(t){t&&u(e),a&&a.d(),c=!1,C(h)}}}function J(s,e,i){const l=["hideLabel"];let n=L(e,l),{hideLabel:c=!1}=e;function h(t){_.call(this,s,t)}function a(t){_.call(this,s,t)}function m(t){_.call(this,s,t)}function d(t){_.call(this,s,t)}return s.$$set=t=>{e=k(k({},e),F(t)),i(1,n=L(e,l)),"hideLabel"in t&&i(0,c=t.hideLabel)},[c,n,h,a,m,d]}class K extends V{constructor(e){super(),D(this,e,J,H,G,{hideLabel:0})}}const M=K;class A{static getSignals(){return p(b,{method:"GET",url:"/api/v1/signals/"})}static getEmbeddings(){return p(b,{method:"GET",url:"/api/v1/signals/embeddings"})}static compute(e){return p(b,{method:"POST",url:"/api/v1/signals/compute",body:e,mediaType:"application/json",errors:{422:"Validation Error"}})}static schema(e){return p(b,{method:"POST",url:"/api/v1/signals/schema",body:e,mediaType:"application/json",errors:{422:"Validation Error"}})}}const O="signals",R=x(A.getSignals,O),U=x(A.getEmbeddings,O);export{M as S,R as a,U as q};
