const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./BuhuIixB.js","./DsQIgu-4.js","./DrKWWDpL.js"])))=>i.map(i=>d[i]);
import{n as e,t}from"./DsQIgu-4.js";e();var n=null;function r(e){if(e.dimensions!==384)throw Error(`Embedding provider dimensions (${e.dimensions}) do not match vec0 table (384)`);n=e}async function i(e){return n?.isAvailable()?n.embed(e):null}function a(){return n?.isAvailable()??!1}async function o(){let{LocalEmbeddingProvider:e}=await t(async()=>{let{LocalEmbeddingProvider:e}=await import(`./BuhuIixB.js`);return{LocalEmbeddingProvider:e}},__vite__mapDeps([0,1,2]),import.meta.url);r(new e)}export{r as i,o as n,a as r,i as t};