import{n as e,r as t}from"./rolldown-runtime-DAXXjFlN.js";import{o as n,t as r}from"./cider_wasm-CaWHdi-p.js";var i=t({isWasmAvailable:()=>o,wasmReady:()=>l});function a(){return s||(s=r({module_or_path:new URL(`/wasm/cider_wasm_bg.wasm`,globalThis.location?.href??`http://localhost`)}).then(()=>{c=!0}).catch(e=>{console.warn(`[mklite] WASM init failed, JS fallbacks will be used:`,e),c=!1}),s)}function o(){return c}var s,c,l,u=e((()=>{n(),s=null,c=!1,l=a()}));export{i,o as n,l as r,u as t};