(self.webpackChunkibis_vega_transform=self.webpackChunkibis_vega_transform||[]).push([[156],{7156:(e,a,t)=>{"use strict";t.r(a),t.d(a,{client:()=>i,default:()=>c});var r=t(5331);const n={id:"jupyter_jaeger",autoStart:!0,activate:e=>{console.log("JupyterLab extension jupyter-jaeger is activated!"),console.log(new URL("jaeger_proxy/",r.PageConfig.getBaseUrl()))}},s=new URL("jaeger_proxy/",r.PageConfig.getBaseUrl()),i=new class{constructor(e){this.url=e}async callServer(e,a){const t=await fetch(String(new URL(e,this.url)),{body:JSON.stringify(a),method:"POST",mode:"cors",headers:{"Content-Type":"application/json"}});return await t.json()}async startSpanExtract(e){return this.callServer("start-span-extract",e)}async startSpan(e){return this.callServer("start-span",e)}async injectSpan(e){return this.callServer("inject-span",e)}async finishSpan(e){await this.callServer("finish-span",e)}}(s),c=n}}]);