/* COPYRIGHT Esri - https://js.arcgis.com/5.1.0/LICENSE.txt */
import{getAssetUrl as e}from"../../../assets.js";import has from"../../../core/has.js";const t="esri/rest/knowledgeGraph/wasmInterface/";let s,r;async function o(){const e=s??r;if(e)return e;const t=!!has("wasm-simd");return r=n(t),r}async function n(s){if(s){const{default:s}=await import("../../../chunks/arcgis-knowledge-client-core-simd.js");return s({locateFile:s=>e(t+s)})}const{default:r}=await import("../../../chunks/arcgis-knowledge-client-core.js");return r({locateFile:s=>e(t+s)})}const c={setWasmInterfacePromise:e=>s=e,restoreWasmInterfacePromise:()=>s=void 0};export{n as getNewInterface,o as getWasmInterface,c as test};
