@arcgis/core
Version:
ArcGIS Maps SDK for JavaScript: A complete 2D and 3D mapping and data visualization API
1 lines • 18.2 kB
JavaScript
;(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[6052],{11053:(r,e,t)=>{t.d(e,{c:()=>n,g:()=>a});var n="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function a(r){return r&&r.__esModule&&Object.prototype.hasOwnProperty.call(r,"default")?r.default:r}},96052:(r,e,t)=>{t.r(e),t.d(e,{l:()=>u});var n,a=t(11053),o={exports:{}};const i=(0,a.g)(function(){return n||(n=1,r=o,e="undefined"!=typeof document?document.currentScript?.src:void 0,t=async function(r={}){var t,n,a,o=r,i=new Promise(((r,e)=>{t=r,n=e})),u="./this.program",s="";"undefined"!=typeof document&&document.currentScript&&(s=document.currentScript.src),e&&(s=e),s=s.startsWith("blob:")?"":s.slice(0,s.replace(/[?#].*/,"").lastIndexOf("/")+1),a=async r=>{var e=await fetch(r,{credentials:"same-origin"});if(e.ok)return e.arrayBuffer();throw new Error(e.status+" : "+e.url)},console.log.bind(console);var f,l,c,p,d,h,v,g,y,m,w,b,T=console.error.bind(console),A=!1;function C(){var r=l.buffer;c=new Int8Array(r),d=new Int16Array(r),o.HEAPU8=p=new Uint8Array(r),h=new Uint16Array(r),v=new Int32Array(r),o.HEAPU32=g=new Uint32Array(r),y=new Float32Array(r),o.HEAPF64=b=new Float64Array(r),m=new BigInt64Array(r),w=new BigUint64Array(r)}var W,P=0,E=null;function F(r){o.onAbort?.(r),T(r="Aborted("+r+")"),A=!0,r+=". Build with -sASSERTIONS for more info.";var e=new WebAssembly.RuntimeError(r);throw n(e),e}async function _(r,e,t){if(!r&&"function"==typeof WebAssembly.instantiateStreaming)try{var n=fetch(e,{credentials:"same-origin"});return await WebAssembly.instantiateStreaming(n,t)}catch(r){T(`wasm streaming compile failed: ${r}`),T("falling back to ArrayBuffer instantiation")}return async function(r,e){try{var t=await async function(r){if(!f)try{var e=await a(r);return new Uint8Array(e)}catch{}return function(r){if(r==W&&f)return new Uint8Array(f);throw"both async and sync fetching of the wasm failed"}(r)}(r);return await WebAssembly.instantiate(t,e)}catch(r){T(`failed to asynchronously prepare wasm: ${r}`),F(r)}}(e,t)}var x=r=>{for(;r.length>0;)r.shift()(o)},R=[],S=r=>R.push(r),$=[],k=r=>$.push(r);class I{constructor(r){this.excPtr=r,this.ptr=r-24}set_type(r){g[this.ptr+4>>2]=r}get_type(){return g[this.ptr+4>>2]}set_destructor(r){g[this.ptr+8>>2]=r}get_destructor(){return g[this.ptr+8>>2]}set_caught(r){r=r?1:0,c[this.ptr+12]=r}get_caught(){return 0!=c[this.ptr+12]}set_rethrown(r){r=r?1:0,c[this.ptr+13]=r}get_rethrown(){return 0!=c[this.ptr+13]}init(r,e){this.set_adjusted_ptr(0),this.set_type(r),this.set_destructor(e)}set_adjusted_ptr(r){g[this.ptr+16>>2]=r}get_adjusted_ptr(){return g[this.ptr+16>>2]}}var O={},U=r=>{for(;r.length;){var e=r.pop();r.pop()(e)}};function D(r){return this.fromWireType(g[r>>2])}var M,B={},j={},V={},N=o.InternalError=class extends Error{constructor(r){super(r),this.name="InternalError"}},H=r=>{throw new N(r)},L=(r,e,t)=>{function n(e){var n=t(e);n.length!==r.length&&H("Mismatched type converter count");for(var a=0;a<r.length;++a)J(r[a],n[a])}r.forEach((r=>V[r]=e));var a=new Array(e.length),o=[],i=0;e.forEach(((r,e)=>{j.hasOwnProperty(r)?a[e]=j[r]:(o.push(r),B.hasOwnProperty(r)||(B[r]=[]),B[r].push((()=>{a[e]=j[r],++i===o.length&&n(a)})))})),0===o.length&&n(a)},z={},G=r=>{for(var e="",t=r;p[t];)e+=M[p[t++]];return e},Y=o.BindingError=class extends Error{constructor(r){super(r),this.name="BindingError"}},q=r=>{throw new Y(r)};function J(r,e,t={}){return function(r,e,t={}){var n=e.name;if(r||q(`type "${n}" must have a positive integer typeid pointer`),j.hasOwnProperty(r)){if(t.ignoreDuplicateRegistrations)return;q(`Cannot register type '${n}' twice`)}if(j[r]=e,delete V[r],B.hasOwnProperty(r)){var a=B[r];delete B[r],a.forEach((r=>r()))}}(r,e,t)}var K=(r,e,t)=>{switch(e){case 1:return t?r=>c[r]:r=>p[r];case 2:return t?r=>d[r>>1]:r=>h[r>>1];case 4:return t?r=>v[r>>2]:r=>g[r>>2];case 8:return t?r=>m[r>>3]:r=>w[r>>3];default:throw new TypeError(`invalid integer width (${e}): ${r}`)}},Q=[],X=[],Z=r=>{r>9&&0===--X[r+1]&&(X[r]=void 0,Q.push(r))},rr=r=>(r||q(`Cannot use deleted val. handle = ${r}`),X[r]),er=r=>{switch(r){case void 0:return 2;case null:return 4;case!0:return 6;case!1:return 8;default:{const e=Q.pop()||X.length;return X[e]=r,X[e+1]=1,e}}},tr={name:"emscripten::val",fromWireType:r=>{var e=rr(r);return Z(r),e},toWireType:(r,e)=>er(e),argPackAdvance:8,readValueFromPointer:D,destructorFunction:null},nr=(r,e)=>{switch(e){case 4:return function(r){return this.fromWireType(y[r>>2])};case 8:return function(r){return this.fromWireType(b[r>>3])};default:throw new TypeError(`invalid float width (${e}): ${r}`)}};var ar,or=(r,e,t)=>{if(void 0===r[e].overloadTable){var n=r[e];r[e]=function(...n){return r[e].overloadTable.hasOwnProperty(n.length)||q(`Function '${t}' called with an invalid number of arguments (${n.length}) - expects one of (${r[e].overloadTable})!`),r[e].overloadTable[n.length].apply(this,n)},r[e].overloadTable=[],r[e].overloadTable[n.argCount]=n}},ir=(r,e,t)=>{o.hasOwnProperty(r)?((void 0===t||void 0!==o[r].overloadTable&&void 0!==o[r].overloadTable[t])&&q(`Cannot register public name '${r}' twice`),or(o,r,r),o[r].overloadTable.hasOwnProperty(t)&&q(`Cannot register multiple overloads of a function with the same number of arguments (${t})!`),o[r].overloadTable[t]=e):(o[r]=e,o[r].argCount=t)},ur=(r,e,t)=>{o.hasOwnProperty(r)||H("Replacing nonexistent public symbol"),void 0!==o[r].overloadTable&&void 0!==t?o[r].overloadTable[t]=e:(o[r]=e,o[r].argCount=t)},sr=[],fr=r=>{var e=sr[r];return e||(sr[r]=e=ar.get(r)),e},lr=(r,e,t=!1)=>{r=G(r);var n=fr(e);return"function"!=typeof n&&q(`unknown function pointer with signature ${r}: ${e}`),n};class cr extends Error{}var pr,dr=r=>{var e=Or(r),t=G(e);return Dr(e),t},hr=(r,e,t)=>((r,e,t,n)=>{if(!(n>0))return 0;for(var a=t,o=t+n-1,i=0;i<r.length;++i){var u=r.charCodeAt(i);if(u>=55296&&u<=57343&&(u=65536+((1023&u)<<10)|1023&r.charCodeAt(++i)),u<=127){if(t>=o)break;e[t++]=u}else if(u<=2047){if(t+1>=o)break;e[t++]=192|u>>6,e[t++]=128|63&u}else if(u<=65535){if(t+2>=o)break;e[t++]=224|u>>12,e[t++]=128|u>>6&63,e[t++]=128|63&u}else{if(t+3>=o)break;e[t++]=240|u>>18,e[t++]=128|u>>12&63,e[t++]=128|u>>6&63,e[t++]=128|63&u}}return e[t]=0,t-a})(r,p,e,t),vr=r=>{for(var e=0,t=0;t<r.length;++t){var n=r.charCodeAt(t);n<=127?e++:n<=2047?e+=2:n>=55296&&n<=57343?(e+=4,++t):e+=3}return e},gr="undefined"!=typeof TextDecoder?new TextDecoder:void 0,yr=(r,e)=>r?((r,e=0,t=NaN)=>{for(var n=e+t,a=e;r[a]&&!(a>=n);)++a;if(a-e>16&&r.buffer&&gr)return gr.decode(r.subarray(e,a));for(var o="";e<a;){var i=r[e++];if(128&i){var u=63&r[e++];if(192!=(224&i)){var s=63&r[e++];if((i=224==(240&i)?(15&i)<<12|u<<6|s:(7&i)<<18|u<<12|s<<6|63&r[e++])<65536)o+=String.fromCharCode(i);else{var f=i-65536;o+=String.fromCharCode(55296|f>>10,56320|1023&f)}}else o+=String.fromCharCode((31&i)<<6|u)}else o+=String.fromCharCode(i)}return o})(p,r,e):"",mr="undefined"!=typeof TextDecoder?new TextDecoder("utf-16le"):void 0,wr=(r,e)=>{for(var t=r,n=t>>1,a=n+e/2;!(n>=a)&&h[n];)++n;if((t=n<<1)-r>32&&mr)return mr.decode(p.subarray(r,t));for(var o="",i=0;!(i>=e/2);++i){var u=d[r+2*i>>1];if(0==u)break;o+=String.fromCharCode(u)}return o},br=(r,e,t)=>{if(t??=2147483647,t<2)return 0;for(var n=e,a=(t-=2)<2*r.length?t/2:r.length,o=0;o<a;++o){var i=r.charCodeAt(o);d[e>>1]=i,e+=2}return d[e>>1]=0,e-n},Tr=r=>2*r.length,Ar=(r,e)=>{for(var t=0,n="";!(t>=e/4);){var a=v[r+4*t>>2];if(0==a)break;if(++t,a>=65536){var o=a-65536;n+=String.fromCharCode(55296|o>>10,56320|1023&o)}else n+=String.fromCharCode(a)}return n},Cr=(r,e,t)=>{if(t??=2147483647,t<4)return 0;for(var n=e,a=n+t-4,o=0;o<r.length;++o){var i=r.charCodeAt(o);if(i>=55296&&i<=57343&&(i=65536+((1023&i)<<10)|1023&r.charCodeAt(++o)),v[e>>2]=i,(e+=4)+4>a)break}return v[e>>2]=0,e-n},Wr=r=>{for(var e=0,t=0;t<r.length;++t){var n=r.charCodeAt(t);n>=55296&&n<=57343&&++t,e+=4}return e},Pr={},Er=(r,e)=>Math.ceil(r/e)*e,Fr=r=>{var e=(r-l.buffer.byteLength+65535)/65536|0;try{return l.grow(e),C(),1}catch(r){}},_r={},xr=()=>{if(!xr.strings){var r={USER:"web_user",LOGNAME:"web_user",PATH:"/",PWD:"/",HOME:"/home/web_user",LANG:("object"==typeof navigator&&navigator.languages&&navigator.languages[0]||"C").replace("-","_")+".UTF-8",_:u||"./this.program"};for(var e in _r)void 0===_r[e]?delete r[e]:r[e]=_r[e];var t=[];for(var e in r)t.push(`${e}=${r[e]}`);xr.strings=t}return xr.strings},Rr=(r,e)=>{r<128?e.push(r):e.push(r%128|128,r>>7)},Sr=[],$r=(r,e)=>{ar.set(r,e),sr[r]=ar.get(r)};(()=>{for(var r=new Array(256),e=0;e<256;++e)r[e]=String.fromCharCode(e);M=r})(),X.push(0,1,void 0,1,null,1,!0,1,!1,1),o.count_emval_handles=()=>X.length/2-5-Q.length,o.noExitRuntime&&o.noExitRuntime,o.print&&o.print,o.printErr&&(T=o.printErr),o.wasmBinary&&(f=o.wasmBinary),o.arguments&&o.arguments,o.thisProgram&&(u=o.thisProgram),o.addFunction=(r,e)=>{var t=(r=>(pr||(pr=new WeakMap,((r,e)=>{if(pr)for(var t=0;t<0+e;t++){var n=fr(t);n&&pr.set(n,t)}})(0,ar.length)),pr.get(r)||0))(r);if(t)return t;var n=(()=>{if(Sr.length)return Sr.pop();try{ar.grow(1)}catch(r){if(!(r instanceof RangeError))throw r;throw"Unable to grow wasm table. Set ALLOW_TABLE_GROWTH."}return ar.length-1})();try{$r(n,r)}catch(t){if(!(t instanceof TypeError))throw t;var a=((r,e)=>{if("function"==typeof WebAssembly.Function)return new WebAssembly.Function((r=>{for(var e={i:"i32",j:"i64",f:"f32",d:"f64",e:"externref",p:"i32"},t={parameters:[],results:"v"==r[0]?[]:[e[r[0]]]},n=1;n<r.length;++n)t.parameters.push(e[r[n]]);return t})(e),r);var t=[1];((r,e)=>{var t=r.slice(0,1),n=r.slice(1),a={i:127,p:127,j:126,f:125,d:124,e:111};for(var o of(e.push(96),Rr(n.length,e),n))e.push(a[o]);"v"==t?e.push(0):e.push(1,a[t])})(e,t);var n=[0,97,115,109,1,0,0,0,1];Rr(t.length,n),n.push(...t),n.push(2,7,1,1,101,1,102,0,0,7,5,1,1,102,0,0);var a=new WebAssembly.Module(new Uint8Array(n));return new WebAssembly.Instance(a,{e:{f:r}}).exports.f})(r,e);$r(n,a)}return pr.set(r,n),n},o.UTF8ToString=yr;var kr={k:(r,e,t)=>{throw new I(r).init(e,t),r},y:()=>F(""),l:r=>{var e=O[r];delete O[r];var t=e.elements,n=t.length,a=t.map((r=>r.getterReturnType)).concat(t.map((r=>r.setterArgumentType))),o=e.rawConstructor,i=e.rawDestructor;L([r],a,(r=>(t.forEach(((e,t)=>{var a=r[t],o=e.getter,i=e.getterContext,u=r[t+n],s=e.setter,f=e.setterContext;e.read=r=>a.fromWireType(o(i,r)),e.write=(r,e)=>{var t=[];s(f,r,u.toWireType(t,e)),U(t)}})),[{name:e.name,fromWireType:r=>{for(var e=new Array(n),a=0;a<n;++a)e[a]=t[a].read(r);return i(r),e},toWireType:(r,a)=>{if(n!==a.length)throw new TypeError(`Incorrect number of tuple elements for ${e.name}: expected=${n}, actual=${a.length}`);for(var u=o(),s=0;s<n;++s)t[s].write(u,a[s]);return null!==r&&r.push(i,u),u},argPackAdvance:8,readValueFromPointer:D,destructorFunction:i}])))},t:r=>{var e=z[r];delete z[r];var t=e.rawConstructor,n=e.rawDestructor,a=e.fields,o=a.map((r=>r.getterReturnType)).concat(a.map((r=>r.setterArgumentType)));L([r],o,(r=>{var o={};return a.forEach(((e,t)=>{var n=e.fieldName,i=r[t],u=r[t].optional,s=e.getter,f=e.getterContext,l=r[t+a.length],c=e.setter,p=e.setterContext;o[n]={read:r=>i.fromWireType(s(f,r)),write:(r,e)=>{var t=[];c(p,r,l.toWireType(t,e)),U(t)},optional:u}})),[{name:e.name,fromWireType:r=>{var e={};for(var t in o)e[t]=o[t].read(r);return n(r),e},toWireType:(r,e)=>{for(var a in o)if(!(a in e)&&!o[a].optional)throw new TypeError(`Missing field: "${a}"`);var i=t();for(a in o)o[a].write(i,e[a]);return null!==r&&r.push(n,i),i},argPackAdvance:8,readValueFromPointer:D,destructorFunction:n}]}))},q:(r,e,t,n,a)=>{var o=-1!=(e=G(e)).indexOf("u");J(r,{name:e,fromWireType:r=>r,toWireType:function(r,e){if("bigint"!=typeof e&&"number"!=typeof e)throw new TypeError(`Cannot convert "${(r=>{if(null===r)return"null";var e=typeof r;return"object"===e||"array"===e||"function"===e?r.toString():""+r})(e)}" to ${this.name}`);return"number"==typeof e&&(e=BigInt(e)),e},argPackAdvance:8,readValueFromPointer:K(e,t,!o),destructorFunction:null})},r:(r,e,t,n)=>{J(r,{name:e=G(e),fromWireType:function(r){return!!r},toWireType:function(r,e){return e?t:n},argPackAdvance:8,readValueFromPointer:function(r){return this.fromWireType(p[r])},destructorFunction:null})},B:r=>J(r,tr),p:(r,e,t)=>{J(r,{name:e=G(e),fromWireType:r=>r,toWireType:(r,e)=>e,argPackAdvance:8,readValueFromPointer:nr(e,t),destructorFunction:null})},c:(r,e,t,n,a,o,i,u)=>{var s=((r,e)=>{for(var t=[],n=0;n<r;n++)t.push(g[e+4*n>>2]);return t})(e,t);r=(r=>{const e=(r=r.trim()).indexOf("(");return-1===e?r:r.slice(0,e)})(r=G(r)),a=lr(n,a,i),ir(r,(function(){((r,e)=>{var t=[],n={};throw e.forEach((function r(e){n[e]||j[e]||(V[e]?V[e].forEach(r):(t.push(e),n[e]=!0))})),new cr(`${r}: `+t.map(dr).join([", "]))})(`Cannot call ${r} due to unbound types`,s)}),e-1),L([],s,(t=>{var n=[t[0],null].concat(t.slice(1));return ur(r,function(r,e,t,n,a){var o=e.length;o<2&&q("argTypes array size mismatch! Must at least get return value and 'this' types!"),e[1];var i=function(r){for(var e=1;e<r.length;++e)if(null!==r[e]&&void 0===r[e].destructorFunction)return!0;return!1}(e),u="void"!==e[0].name,s=o-2,f=new Array(s),l=[],c=[];return((r,e)=>Object.defineProperty(e,"name",{value:r}))(r,(function(...r){c.length=0,l.length=1,l[0]=a;for(var t=0;t<s;++t)f[t]=e[t+2].toWireType(c,r[t]),l.push(f[t]);return function(r){if(i)U(c);else for(var t=2;t<e.length;t++){var n=1===t?void 0:f[t-2];null!==e[t].destructorFunction&&e[t].destructorFunction(n)}if(u)return e[0].fromWireType(r)}(n(...l))}))}(r,n,0,a,o),e-1),[]}))},h:(r,e,t,n,a)=>{e=G(e);var o=r=>r;if(0===n){var i=32-8*t;o=r=>r<<i>>>i}var u=e.includes("unsigned");J(r,{name:e,fromWireType:o,toWireType:u?function(r,e){return this.name,e>>>0}:function(r,e){return this.name,e},argPackAdvance:8,readValueFromPointer:K(e,t,0!==n),destructorFunction:null})},b:(r,e,t)=>{var n=[Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array,BigInt64Array,BigUint64Array][e];function a(r){var e=g[r>>2],t=g[r+4>>2];return new n(c.buffer,t,e)}J(r,{name:t=G(t),fromWireType:a,argPackAdvance:8,readValueFromPointer:a},{ignoreDuplicateRegistrations:!0})},C:(r,e)=>{J(r,{name:e=G(e),fromWireType(r){for(var e,t=g[r>>2],n=r+4,a=n,o=0;o<=t;++o){var i=n+o;if(o==t||0==p[i]){var u=yr(a,i-a);void 0===e?e=u:(e+=String.fromCharCode(0),e+=u),a=i+1}}return Dr(r),e},toWireType(r,e){var t;e instanceof ArrayBuffer&&(e=new Uint8Array(e));var n="string"==typeof e;n||ArrayBuffer.isView(e)&&1==e.BYTES_PER_ELEMENT||q("Cannot pass non-string to std::string"),t=n?vr(e):e.length;var a=Ur(4+t+1),o=a+4;return g[a>>2]=t,n?hr(e,o,t+1):p.set(e,o),null!==r&&r.push(Dr,a),a},argPackAdvance:8,readValueFromPointer:D,destructorFunction(r){Dr(r)}})},n:(r,e,t)=>{var n,a,o,i;t=G(t),2===e?(n=wr,a=br,i=Tr,o=r=>h[r>>1]):4===e&&(n=Ar,a=Cr,i=Wr,o=r=>g[r>>2]),J(r,{name:t,fromWireType:r=>{for(var t,a=g[r>>2],i=r+4,u=0;u<=a;++u){var s=r+4+u*e;if(u==a||0==o(s)){var f=n(i,s-i);void 0===t?t=f:(t+=String.fromCharCode(0),t+=f),i=s+e}}return Dr(r),t},toWireType:(r,n)=>{"string"!=typeof n&&q(`Cannot pass non-string to C++ string type ${t}`);var o=i(n),u=Ur(4+o+e);return g[u>>2]=o/e,a(n,u+4,o+e),null!==r&&r.push(Dr,u),u},argPackAdvance:8,readValueFromPointer:D,destructorFunction(r){Dr(r)}})},m:(r,e,t,n,a,o)=>{O[r]={name:G(e),rawConstructor:lr(t,n),rawDestructor:lr(a,o),elements:[]}},d:(r,e,t,n,a,o,i,u,s)=>{O[r].elements.push({getterReturnType:e,getter:lr(t,n),getterContext:a,setterArgumentType:o,setter:lr(i,u),setterContext:s})},u:(r,e,t,n,a,o)=>{z[r]={name:G(e),rawConstructor:lr(t,n),rawDestructor:lr(a,o),fields:[]}},i:(r,e,t,n,a,o,i,u,s,f)=>{z[r].fields.push({fieldName:G(e),getterReturnType:t,getter:lr(n,a),getterContext:o,setterArgumentType:i,setter:lr(u,s),setterContext:f})},s:(r,e)=>{J(r,{isVoid:!0,name:e=G(e),argPackAdvance:0,fromWireType:()=>{},toWireType:(r,e)=>{}})},a:Z,o:r=>{r>9&&(X[r+1]+=1)},A:()=>er([]),g:r=>er((r=>{var e=Pr[r];return void 0===e?G(r):e})(r)),j:()=>er({}),e:(r,e,t)=>{r=rr(r),e=rr(e),t=rr(t),r[e]=t},f:(r,e)=>{var t=(r=(r=>{var e=j[r];return void 0===e&&q(`_emval_take_value has unknown type ${dr(r)}`),e})(r)).readValueFromPointer(e);return er(t)},v:(r,e,t,n)=>{var a=(new Date).getFullYear(),o=new Date(a,0,1),i=new Date(a,6,1),u=o.getTimezoneOffset(),s=i.getTimezoneOffset(),f=Math.max(u,s);g[r>>2]=60*f,v[e>>2]=Number(u!=s);var l=r=>{var e=r>=0?"-":"+",t=Math.abs(r);return`UTC${e}${String(Math.floor(t/60)).padStart(2,"0")}${String(t%60).padStart(2,"0")}`},c=l(u),p=l(s);s<u?(hr(c,t,17),hr(p,n,17)):(hr(c,n,17),hr(p,t,17))},z:r=>{var e=p.length,t=2147483648;if((r>>>=0)>t)return!1;for(var n=1;n<=4;n*=2){var a=e*(1+.2/n);a=Math.min(a,r+100663296);var o=Math.min(t,Er(Math.max(r,a),65536));if(Fr(o))return!0}return!1},w:(r,e)=>{var t=0,n=0;for(var a of xr()){var o=e+t;g[r+n>>2]=o,t+=hr(a,o,1/0)+1,n+=4}return 0},x:(r,e)=>{var t=xr();g[r>>2]=t.length;var n=0;for(var a of t)n+=vr(a)+1;return g[e>>2]=n,0}},Ir=await async function(){function r(r,e){return Ir=r.exports,l=Ir.D,C(),ar=Ir.G,function(){if(P--,o.monitorRunDependencies?.(P),0==P&&E){var r=E;E=null,r()}}(),Ir}P++,o.monitorRunDependencies?.(P);var e={a:kr};if(o.instantiateWasm)return new Promise(((t,n)=>{o.instantiateWasm(e,((e,n)=>{t(r(e))}))}));W??=function(r){return o.locateFile?o.locateFile(r,s):s+r}("lyr3DMain.wasm");try{return function(e){return r(e.instance)}(await _(f,W,e))}catch(r){return n(r),Promise.reject(r)}}();Ir.E;var Or=Ir.F,Ur=o._malloc=Ir.H,Dr=o._free=Ir.I;return function(){if(o.preInit)for("function"==typeof o.preInit&&(o.preInit=[o.preInit]);o.preInit.length>0;)o.preInit.shift()()}(),function r(){function e(){o.calledRun=!0,A||(Ir.E(),t(o),o.onRuntimeInitialized?.(),function(){if(o.postRun)for("function"==typeof o.postRun&&(o.postRun=[o.postRun]);o.postRun.length;)S(o.postRun.shift());x(R)}())}P>0?E=r:(function(){if(o.preRun)for("function"==typeof o.preRun&&(o.preRun=[o.preRun]);o.preRun.length;)k(o.preRun.shift());x($)}(),P>0?E=r:o.setStatus?(o.setStatus("Running..."),setTimeout((()=>{setTimeout((()=>o.setStatus("")),1),e()}),1)):e())}(),i},r.exports=t,r.exports.default=t),o.exports;var r,e,t}()),u=Object.freeze(Object.defineProperty({__proto__:null,default:i},Symbol.toStringTag,{value:"Module"}))}}]);