@jdultra/threedtiles 10.1.5 → 10.1.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- var $jscomp=$jscomp||{};$jscomp.scope={},$jscomp.arrayIteratorImpl=function(t){var e=0;return function(){return e<t.length?{done:!1,value:t[e++]}:{done:!0}}},$jscomp.arrayIterator=function(t){return{next:$jscomp.arrayIteratorImpl(t)}},$jscomp.makeIterator=function(t){var e="undefined"!=typeof Symbol&&Symbol.iterator&&t[Symbol.iterator];return e?e.call(t):$jscomp.arrayIterator(t)},$jscomp.ASSUME_ES5=!1,$jscomp.ASSUME_NO_NATIVE_MAP=!1,$jscomp.ASSUME_NO_NATIVE_SET=!1,$jscomp.SIMPLE_FROUND_POLYFILL=!1,$jscomp.ISOLATE_POLYFILLS=!1,$jscomp.FORCE_POLYFILL_PROMISE=!1,$jscomp.FORCE_POLYFILL_PROMISE_WHEN_NO_UNHANDLED_REJECTION=!1,$jscomp.getGlobal=function(t){t=["object"==typeof globalThis&&globalThis,t,"object"==typeof window&&window,"object"==typeof self&&self,"object"==typeof global&&global];for(var e=0;e<t.length;++e){var r=t[e];if(r&&r.Math==Math)return r}throw Error("Cannot find global object")},$jscomp.global=$jscomp.getGlobal(this),$jscomp.defineProperty=$jscomp.ASSUME_ES5||"function"==typeof Object.defineProperties?Object.defineProperty:function(t,e,r){return t==Array.prototype||t==Object.prototype||(t[e]=r.value),t},$jscomp.IS_SYMBOL_NATIVE="function"==typeof Symbol&&"symbol"==typeof Symbol("x"),$jscomp.TRUST_ES6_POLYFILLS=!$jscomp.ISOLATE_POLYFILLS||$jscomp.IS_SYMBOL_NATIVE,$jscomp.polyfills={},$jscomp.propertyToPolyfillSymbol={},$jscomp.POLYFILL_PREFIX="$jscp$";var $jscomp$lookupPolyfilledValue=function(t,e){var r=$jscomp.propertyToPolyfillSymbol[e];return null==r?t[e]:void 0!==(r=t[r])?r:t[e]};$jscomp.polyfill=function(t,e,r,n){e&&($jscomp.ISOLATE_POLYFILLS?$jscomp.polyfillIsolated(t,e,r,n):$jscomp.polyfillUnisolated(t,e,r,n))},$jscomp.polyfillUnisolated=function(t,e,r,n){for(r=$jscomp.global,t=t.split("."),n=0;n<t.length-1;n++){var o=t[n];if(!(o in r))return;r=r[o]}(e=e(n=r[t=t[t.length-1]]))!=n&&null!=e&&$jscomp.defineProperty(r,t,{configurable:!0,writable:!0,value:e})},$jscomp.polyfillIsolated=function(t,e,r,n){var o=t.split(".");t=1===o.length,n=o[0],n=!t&&n in $jscomp.polyfills?$jscomp.polyfills:$jscomp.global;for(var _=0;_<o.length-1;_++){var i=o[_];if(!(i in n))return;n=n[i]}o=o[o.length-1],null!=(e=e(r=$jscomp.IS_SYMBOL_NATIVE&&"es6"===r?n[o]:null))&&(t?$jscomp.defineProperty($jscomp.polyfills,o,{configurable:!0,writable:!0,value:e}):e!==r&&(void 0===$jscomp.propertyToPolyfillSymbol[o]&&(r=1e9*Math.random()>>>0,$jscomp.propertyToPolyfillSymbol[o]=$jscomp.IS_SYMBOL_NATIVE?$jscomp.global.Symbol(o):$jscomp.POLYFILL_PREFIX+r+"$"+o),$jscomp.defineProperty(n,$jscomp.propertyToPolyfillSymbol[o],{configurable:!0,writable:!0,value:e})))},$jscomp.polyfill("Promise",(function(t){function e(){this.batch_=null}function r(t){return t instanceof o?t:new o((function(e,r){e(t)}))}if(t&&(!($jscomp.FORCE_POLYFILL_PROMISE||$jscomp.FORCE_POLYFILL_PROMISE_WHEN_NO_UNHANDLED_REJECTION&&void 0===$jscomp.global.PromiseRejectionEvent)||!$jscomp.global.Promise||-1===$jscomp.global.Promise.toString().indexOf("[native code]")))return t;e.prototype.asyncExecute=function(t){if(null==this.batch_){this.batch_=[];var e=this;this.asyncExecuteFunction((function(){e.executeBatch_()}))}this.batch_.push(t)};var n=$jscomp.global.setTimeout;e.prototype.asyncExecuteFunction=function(t){n(t,0)},e.prototype.executeBatch_=function(){for(;this.batch_&&this.batch_.length;){var t=this.batch_;this.batch_=[];for(var e=0;e<t.length;++e){var r=t[e];t[e]=null;try{r()}catch(t){this.asyncThrow_(t)}}}this.batch_=null},e.prototype.asyncThrow_=function(t){this.asyncExecuteFunction((function(){throw t}))};var o=function(t){this.state_=0,this.result_=void 0,this.onSettledCallbacks_=[],this.isRejectionHandled_=!1;var e=this.createResolveAndReject_();try{t(e.resolve,e.reject)}catch(t){e.reject(t)}};o.prototype.createResolveAndReject_=function(){function t(t){return function(n){r||(r=!0,t.call(e,n))}}var e=this,r=!1;return{resolve:t(this.resolveTo_),reject:t(this.reject_)}},o.prototype.resolveTo_=function(t){if(t===this)this.reject_(new TypeError("A Promise cannot resolve to itself"));else if(t instanceof o)this.settleSameAsPromise_(t);else{t:switch(typeof t){case"object":var e=null!=t;break t;case"function":e=!0;break t;default:e=!1}e?this.resolveToNonPromiseObj_(t):this.fulfill_(t)}},o.prototype.resolveToNonPromiseObj_=function(t){var e=void 0;try{e=t.then}catch(t){return void this.reject_(t)}"function"==typeof e?this.settleSameAsThenable_(e,t):this.fulfill_(t)},o.prototype.reject_=function(t){this.settle_(2,t)},o.prototype.fulfill_=function(t){this.settle_(1,t)},o.prototype.settle_=function(t,e){if(0!=this.state_)throw Error("Cannot settle("+t+", "+e+"): Promise already settled in state"+this.state_);this.state_=t,this.result_=e,2===this.state_&&this.scheduleUnhandledRejectionCheck_(),this.executeOnSettledCallbacks_()},o.prototype.scheduleUnhandledRejectionCheck_=function(){var t=this;n((function(){if(t.notifyUnhandledRejection_()){var e=$jscomp.global.console;void 0!==e&&e.error(t.result_)}}),1)},o.prototype.notifyUnhandledRejection_=function(){if(this.isRejectionHandled_)return!1;var t=$jscomp.global.CustomEvent,e=$jscomp.global.Event,r=$jscomp.global.dispatchEvent;return void 0===r||("function"==typeof t?t=new t("unhandledrejection",{cancelable:!0}):"function"==typeof e?t=new e("unhandledrejection",{cancelable:!0}):(t=$jscomp.global.document.createEvent("CustomEvent")).initCustomEvent("unhandledrejection",!1,!0,t),t.promise=this,t.reason=this.result_,r(t))},o.prototype.executeOnSettledCallbacks_=function(){if(null!=this.onSettledCallbacks_){for(var t=0;t<this.onSettledCallbacks_.length;++t)_.asyncExecute(this.onSettledCallbacks_[t]);this.onSettledCallbacks_=null}};var _=new e;return o.prototype.settleSameAsPromise_=function(t){var e=this.createResolveAndReject_();t.callWhenSettled_(e.resolve,e.reject)},o.prototype.settleSameAsThenable_=function(t,e){var r=this.createResolveAndReject_();try{t.call(e,r.resolve,r.reject)}catch(t){r.reject(t)}},o.prototype.then=function(t,e){function r(t,e){return"function"==typeof t?function(e){try{n(t(e))}catch(t){_(t)}}:e}var n,_,i=new o((function(t,e){n=t,_=e}));return this.callWhenSettled_(r(t,n),r(e,_)),i},o.prototype.catch=function(t){return this.then(void 0,t)},o.prototype.callWhenSettled_=function(t,e){function r(){switch(n.state_){case 1:t(n.result_);break;case 2:e(n.result_);break;default:throw Error("Unexpected state: "+n.state_)}}var n=this;null==this.onSettledCallbacks_?_.asyncExecute(r):this.onSettledCallbacks_.push(r),this.isRejectionHandled_=!0},o.resolve=r,o.reject=function(t){return new o((function(e,r){r(t)}))},o.race=function(t){return new o((function(e,n){for(var o=$jscomp.makeIterator(t),_=o.next();!_.done;_=o.next())r(_.value).callWhenSettled_(e,n)}))},o.all=function(t){var e=$jscomp.makeIterator(t),n=e.next();return n.done?r([]):new o((function(t,o){function _(e){return function(r){i[e]=r,0==--p&&t(i)}}var i=[],p=0;do{i.push(void 0),p++,r(n.value).callWhenSettled_(_(i.length-1),o),n=e.next()}while(!n.done)}))},o}),"es6","es3"),$jscomp.owns=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},$jscomp.assign=$jscomp.TRUST_ES6_POLYFILLS&&"function"==typeof Object.assign?Object.assign:function(t,e){for(var r=1;r<arguments.length;r++){var n=arguments[r];if(n)for(var o in n)$jscomp.owns(n,o)&&(t[o]=n[o])}return t},$jscomp.polyfill("Object.assign",(function(t){return t||$jscomp.assign}),"es6","es3"),$jscomp.checkStringArgs=function(t,e,r){if(null==t)throw new TypeError("The 'this' value for String.prototype."+r+" must not be null or undefined");if(e instanceof RegExp)throw new TypeError("First argument to String.prototype."+r+" must not be a regular expression");return t+""},$jscomp.polyfill("String.prototype.startsWith",(function(t){return t||function(t,e){var r=$jscomp.checkStringArgs(this,t,"startsWith");t+="";var n=r.length,o=t.length;e=Math.max(0,Math.min(0|e,r.length));for(var _=0;_<o&&e<n;)if(r[e++]!=t[_++])return!1;return _>=o}}),"es6","es3"),$jscomp.polyfill("Array.prototype.copyWithin",(function(t){function e(t){return 1/0===(t=Number(t))||-1/0===t?t:0|t}return t||function(t,r,n){var o=this.length;if(t=e(t),r=e(r),n=void 0===n?o:e(n),t=0>t?Math.max(o+t,0):Math.min(t,o),r=0>r?Math.max(o+r,0):Math.min(r,o),n=0>n?Math.max(o+n,0):Math.min(n,o),t<r)for(;r<n;)r in this?this[t++]=this[r++]:(delete this[t++],r++);else for(t+=(n=Math.min(n,o+r-t))-r;n>r;)--n in this?this[--t]=this[n]:delete this[--t];return this}}),"es6","es3"),$jscomp.typedArrayCopyWithin=function(t){return t||Array.prototype.copyWithin},$jscomp.polyfill("Int8Array.prototype.copyWithin",$jscomp.typedArrayCopyWithin,"es6","es5"),$jscomp.polyfill("Uint8Array.prototype.copyWithin",$jscomp.typedArrayCopyWithin,"es6","es5"),$jscomp.polyfill("Uint8ClampedArray.prototype.copyWithin",$jscomp.typedArrayCopyWithin,"es6","es5"),$jscomp.polyfill("Int16Array.prototype.copyWithin",$jscomp.typedArrayCopyWithin,"es6","es5"),$jscomp.polyfill("Uint16Array.prototype.copyWithin",$jscomp.typedArrayCopyWithin,"es6","es5"),$jscomp.polyfill("Int32Array.prototype.copyWithin",$jscomp.typedArrayCopyWithin,"es6","es5"),$jscomp.polyfill("Uint32Array.prototype.copyWithin",$jscomp.typedArrayCopyWithin,"es6","es5"),$jscomp.polyfill("Float32Array.prototype.copyWithin",$jscomp.typedArrayCopyWithin,"es6","es5"),$jscomp.polyfill("Float64Array.prototype.copyWithin",$jscomp.typedArrayCopyWithin,"es6","es5");var DracoDecoderModule=function(){var t="undefined"!=typeof document&&document.currentScript?document.currentScript.src:void 0;return"undefined"!=typeof __filename&&(t=t||__filename),function(e){function r(t,e){if(t){var r=Z,n=t+e;for(e=t;r[e]&&!(e>=n);)++e;if(16<e-t&&r.buffer&&ot)r=ot.decode(r.subarray(t,e));else{for(n="";t<e;){var o=r[t++];if(128&o){var _=63&r[t++];if(192==(224&o))n+=String.fromCharCode((31&o)<<6|_);else{var i=63&r[t++];65536>(o=224==(240&o)?(15&o)<<12|_<<6|i:(7&o)<<18|_<<12|i<<6|63&r[t++])?n+=String.fromCharCode(o):(o-=65536,n+=String.fromCharCode(55296|o>>10,56320|1023&o))}}else n+=String.fromCharCode(o)}r=n}}else r="";return r}function n(){var t=K.buffer;L.HEAP8=J=new Int8Array(t),L.HEAP16=new Int16Array(t),L.HEAP32=tt=new Int32Array(t),L.HEAPU8=Z=new Uint8Array(t),L.HEAPU16=new Uint16Array(t),L.HEAPU32=et=new Uint32Array(t),L.HEAPF32=new Float32Array(t),L.HEAPF64=new Float64Array(t)}function o(t){throw L.onAbort&&L.onAbort(t),X(t="Aborted("+t+")"),nt=!0,t=new WebAssembly.RuntimeError(t+". Build with -sASSERTIONS for more info."),F(t),t}function _(t){try{if(t==yt&&q)return new Uint8Array(q);if(Y)return Y(t);throw"both async and sync fetching of the wasm failed"}catch(t){o(t)}}function i(t){for(;0<t.length;)t.shift()(L)}function p(t){this.excPtr=t,this.ptr=t-24,this.set_type=function(t){et[this.ptr+4>>2]=t},this.get_type=function(){return et[this.ptr+4>>2]},this.set_destructor=function(t){et[this.ptr+8>>2]=t},this.get_destructor=function(){return et[this.ptr+8>>2]},this.set_refcount=function(t){tt[this.ptr>>2]=t},this.set_caught=function(t){J[this.ptr+12|0]=t?1:0},this.get_caught=function(){return 0!=J[this.ptr+12|0]},this.set_rethrown=function(t){J[this.ptr+13|0]=t?1:0},this.get_rethrown=function(){return 0!=J[this.ptr+13|0]},this.init=function(t,e){this.set_adjusted_ptr(0),this.set_type(t),this.set_destructor(e),this.set_refcount(0),this.set_caught(!1),this.set_rethrown(!1)},this.add_ref=function(){tt[this.ptr>>2]+=1},this.release_ref=function(){var t=tt[this.ptr>>2];return tt[this.ptr>>2]=t-1,1===t},this.set_adjusted_ptr=function(t){et[this.ptr+16>>2]=t},this.get_adjusted_ptr=function(){return et[this.ptr+16>>2]},this.get_exception_ptr=function(){if(Xr(this.get_type()))return et[this.excPtr>>2];var t=this.get_adjusted_ptr();return 0!==t?t:this.excPtr}}function a(){function t(){if(!qr&&(qr=!0,L.calledRun=!0,!nt)){if(at=!0,i(it),g(L),L.onRuntimeInitialized&&L.onRuntimeInitialized(),L.postRun)for("function"==typeof L.postRun&&(L.postRun=[L.postRun]);L.postRun.length;)pt.unshift(L.postRun.shift());i(pt)}}if(!(0<ct)){if(L.preRun)for("function"==typeof L.preRun&&(L.preRun=[L.preRun]);L.preRun.length;)_t.unshift(L.preRun.shift());i(_t),0<ct||(L.setStatus?(L.setStatus("Running..."),setTimeout((function(){setTimeout((function(){L.setStatus("")}),1),t()}),1)):t())}}function c(){}function s(t){return(t||c).__cache__}function u(t,e){var r=s(e),n=r[t];return n||((n=Object.create((e||c).prototype)).ptr=t,r[t]=n)}function y(t){if("string"==typeof t){for(var e=0,r=0;r<t.length;++r){var n=t.charCodeAt(r);127>=n?e++:2047>=n?e+=2:55296<=n&&57343>=n?(e+=4,++r):e+=3}if(r=0,0<(n=(e=Array(e+1)).length)){n=r+n-1;for(var o=0;o<t.length;++o){var _=t.charCodeAt(o);if(55296<=_&&57343>=_)_=65536+((1023&_)<<10)|1023&t.charCodeAt(++o);if(127>=_){if(r>=n)break;e[r++]=_}else{if(2047>=_){if(r+1>=n)break;e[r++]=192|_>>6}else{if(65535>=_){if(r+2>=n)break;e[r++]=224|_>>12}else{if(r+3>=n)break;e[r++]=240|_>>18,e[r++]=128|_>>12&63}e[r++]=128|_>>6&63}e[r++]=128|63&_}}e[r]=0}return t=Kr.alloc(e,J),Kr.copy(e,J,t),t}return t}function l(t){if("object"==typeof t){var e=Kr.alloc(t,J);return Kr.copy(t,J,e),e}return t}function f(){throw"cannot construct a VoidPtr, no constructor in IDL"}function m(){this.ptr=mt(),s(m)[this.ptr]=this}function d(){this.ptr=ht(),s(d)[this.ptr]=this}function b(){this.ptr=Dt(),s(b)[this.ptr]=this}function h(){this.ptr=jt(),s(h)[this.ptr]=this}function A(){this.ptr=gt(),s(A)[this.ptr]=this}function T(){this.ptr=zt(),s(T)[this.ptr]=this}function D(){this.ptr=kt(),s(D)[this.ptr]=this}function I(){this.ptr=Ht(),s(I)[this.ptr]=this}function j(){this.ptr=Zt(),s(j)[this.ptr]=this}function E(){throw"cannot construct a Status, no constructor in IDL"}function G(){this.ptr=_e(),s(G)[this.ptr]=this}function O(){this.ptr=ce(),s(O)[this.ptr]=this}function v(){this.ptr=le(),s(v)[this.ptr]=this}function P(){this.ptr=be(),s(P)[this.ptr]=this}function R(){this.ptr=De(),s(R)[this.ptr]=this}function S(){this.ptr=Ge(),s(S)[this.ptr]=this}function M(){this.ptr=Re(),s(M)[this.ptr]=this}function N(){this.ptr=Ue(),s(N)[this.ptr]=this}function U(){this.ptr=Be(),s(U)[this.ptr]=this}var g,F,L=void 0!==(e=void 0===e?{}:e)?e:{};L.ready=new Promise((function(t,e){g=t,F=e}));var C=!1,$=!1;L.onRuntimeInitialized=function(){C=!0,$&&"function"==typeof L.onModuleLoaded&&L.onModuleLoaded(L)},L.onModuleParsed=function(){$=!0,C&&"function"==typeof L.onModuleLoaded&&L.onModuleLoaded(L)},L.isVersionSupported=function(t){return"string"==typeof t&&(!(2>(t=t.split(".")).length||3<t.length)&&(1==t[0]&&0<=t[1]&&5>=t[1]||!(0!=t[0]||10<t[1])))};var w=Object.assign({},L),z="object"==typeof window,V="function"==typeof importScripts,B="object"==typeof process&&"object"==typeof process.versions&&"string"==typeof process.versions.node,W="";if(B){var k=require("fs"),x=require("path");W=V?x.dirname(W)+"/":__dirname+"/";var Q=function(t,e){return t=t.startsWith("file://")?new URL(t):x.normalize(t),k.readFileSync(t,e?void 0:"utf8")},Y=function(t){return(t=Q(t,!0)).buffer||(t=new Uint8Array(t)),t},H=function(t,e,r){t=t.startsWith("file://")?new URL(t):x.normalize(t),k.readFile(t,(function(t,n){t?r(t):e(n.buffer)}))};1<process.argv.length&&process.argv[1].replace(/\\/g,"/"),process.argv.slice(2),L.inspect=function(){return"[Emscripten Module object]"}}else(z||V)&&(V?W=self.location.href:"undefined"!=typeof document&&document.currentScript&&(W=document.currentScript.src),t&&(W=t),W=0!==W.indexOf("blob:")?W.substr(0,W.replace(/[?#].*/,"").lastIndexOf("/")+1):"",Q=function(t){var e=new XMLHttpRequest;return e.open("GET",t,!1),e.send(null),e.responseText},V&&(Y=function(t){var e=new XMLHttpRequest;return e.open("GET",t,!1),e.responseType="arraybuffer",e.send(null),new Uint8Array(e.response)}),H=function(t,e,r){var n=new XMLHttpRequest;n.open("GET",t,!0),n.responseType="arraybuffer",n.onload=function(){200==n.status||0==n.status&&n.response?e(n.response):r()},n.onerror=r,n.send(null)});L.print||console.log.bind(console);var q,X=L.printErr||console.warn.bind(console);Object.assign(L,w),w=null,L.wasmBinary&&(q=L.wasmBinary),"object"!=typeof WebAssembly&&o("no native wasm support detected");var K,J,Z,tt,et,rt,nt=!1,ot="undefined"!=typeof TextDecoder?new TextDecoder("utf8"):void 0,_t=[],it=[],pt=[],at=!1,ct=0,st=null,ut=null,yt="draco_decoder_gltf.wasm";yt.startsWith("data:application/octet-stream;base64,")||(rt=yt,yt=L.locateFile?L.locateFile(rt,W):W+rt);var lt={b:function(t,e,r){throw new p(t).init(e,r),t},a:function(){o("")},d:function(t,e,r){Z.copyWithin(t,e,e+r)},c:function(t){var e=Z.length;if(2147483648<(t>>>=0))return!1;for(var r=1;4>=r;r*=2){var o=e*(1+.2/r);o=Math.min(o,t+100663296);var _=Math;o=Math.max(t,o),_=_.min.call(_,2147483648,o+(65536-o%65536)%65536);t:{o=K.buffer;try{K.grow(_-o.byteLength+65535>>>16),n();var i=1;break t}catch(t){}i=void 0}if(i)return!0}return!1}};!function(){function t(t,e){L.asm=t.exports,K=L.asm.e,n(),it.unshift(L.asm.f),ct--,L.monitorRunDependencies&&L.monitorRunDependencies(ct),0==ct&&(null!==st&&(clearInterval(st),st=null),ut&&(t=ut,ut=null,t()))}function e(e){t(e.instance)}function r(t){return function(){if(!q&&(z||V)){if("function"==typeof fetch&&!yt.startsWith("file://"))return fetch(yt,{credentials:"same-origin"}).then((function(t){if(!t.ok)throw"failed to load wasm binary file at '"+yt+"'";return t.arrayBuffer()})).catch((function(){return _(yt)}));if(H)return new Promise((function(t,e){H(yt,(function(e){t(new Uint8Array(e))}),e)}))}return Promise.resolve().then((function(){return _(yt)}))}().then((function(t){return WebAssembly.instantiate(t,i)})).then((function(t){return t})).then(t,(function(t){X("failed to asynchronously prepare wasm: "+t),o(t)}))}var i={a:lt};if(ct++,L.monitorRunDependencies&&L.monitorRunDependencies(ct),L.instantiateWasm)try{return L.instantiateWasm(i,t)}catch(t){X("Module.instantiateWasm callback failed with error: "+t),F(t)}(q||"function"!=typeof WebAssembly.instantiateStreaming||yt.startsWith("data:application/octet-stream;base64,")||yt.startsWith("file://")||B||"function"!=typeof fetch?r(e):fetch(yt,{credentials:"same-origin"}).then((function(t){return WebAssembly.instantiateStreaming(t,i).then(e,(function(t){return X("wasm streaming compile failed: "+t),X("falling back to ArrayBuffer instantiation"),r(e)}))}))).catch(F)}();var ft=L._emscripten_bind_VoidPtr___destroy___0=function(){return(ft=L._emscripten_bind_VoidPtr___destroy___0=L.asm.h).apply(null,arguments)},mt=L._emscripten_bind_DecoderBuffer_DecoderBuffer_0=function(){return(mt=L._emscripten_bind_DecoderBuffer_DecoderBuffer_0=L.asm.i).apply(null,arguments)},dt=L._emscripten_bind_DecoderBuffer_Init_2=function(){return(dt=L._emscripten_bind_DecoderBuffer_Init_2=L.asm.j).apply(null,arguments)},bt=L._emscripten_bind_DecoderBuffer___destroy___0=function(){return(bt=L._emscripten_bind_DecoderBuffer___destroy___0=L.asm.k).apply(null,arguments)},ht=L._emscripten_bind_AttributeTransformData_AttributeTransformData_0=function(){return(ht=L._emscripten_bind_AttributeTransformData_AttributeTransformData_0=L.asm.l).apply(null,arguments)},At=L._emscripten_bind_AttributeTransformData_transform_type_0=function(){return(At=L._emscripten_bind_AttributeTransformData_transform_type_0=L.asm.m).apply(null,arguments)},Tt=L._emscripten_bind_AttributeTransformData___destroy___0=function(){return(Tt=L._emscripten_bind_AttributeTransformData___destroy___0=L.asm.n).apply(null,arguments)},Dt=L._emscripten_bind_GeometryAttribute_GeometryAttribute_0=function(){return(Dt=L._emscripten_bind_GeometryAttribute_GeometryAttribute_0=L.asm.o).apply(null,arguments)},It=L._emscripten_bind_GeometryAttribute___destroy___0=function(){return(It=L._emscripten_bind_GeometryAttribute___destroy___0=L.asm.p).apply(null,arguments)},jt=L._emscripten_bind_PointAttribute_PointAttribute_0=function(){return(jt=L._emscripten_bind_PointAttribute_PointAttribute_0=L.asm.q).apply(null,arguments)},Et=L._emscripten_bind_PointAttribute_size_0=function(){return(Et=L._emscripten_bind_PointAttribute_size_0=L.asm.r).apply(null,arguments)},Gt=L._emscripten_bind_PointAttribute_GetAttributeTransformData_0=function(){return(Gt=L._emscripten_bind_PointAttribute_GetAttributeTransformData_0=L.asm.s).apply(null,arguments)},Ot=L._emscripten_bind_PointAttribute_attribute_type_0=function(){return(Ot=L._emscripten_bind_PointAttribute_attribute_type_0=L.asm.t).apply(null,arguments)},vt=L._emscripten_bind_PointAttribute_data_type_0=function(){return(vt=L._emscripten_bind_PointAttribute_data_type_0=L.asm.u).apply(null,arguments)},Pt=L._emscripten_bind_PointAttribute_num_components_0=function(){return(Pt=L._emscripten_bind_PointAttribute_num_components_0=L.asm.v).apply(null,arguments)},Rt=L._emscripten_bind_PointAttribute_normalized_0=function(){return(Rt=L._emscripten_bind_PointAttribute_normalized_0=L.asm.w).apply(null,arguments)},St=L._emscripten_bind_PointAttribute_byte_stride_0=function(){return(St=L._emscripten_bind_PointAttribute_byte_stride_0=L.asm.x).apply(null,arguments)},Mt=L._emscripten_bind_PointAttribute_byte_offset_0=function(){return(Mt=L._emscripten_bind_PointAttribute_byte_offset_0=L.asm.y).apply(null,arguments)},Nt=L._emscripten_bind_PointAttribute_unique_id_0=function(){return(Nt=L._emscripten_bind_PointAttribute_unique_id_0=L.asm.z).apply(null,arguments)},Ut=L._emscripten_bind_PointAttribute___destroy___0=function(){return(Ut=L._emscripten_bind_PointAttribute___destroy___0=L.asm.A).apply(null,arguments)},gt=L._emscripten_bind_AttributeQuantizationTransform_AttributeQuantizationTransform_0=function(){return(gt=L._emscripten_bind_AttributeQuantizationTransform_AttributeQuantizationTransform_0=L.asm.B).apply(null,arguments)},Ft=L._emscripten_bind_AttributeQuantizationTransform_InitFromAttribute_1=function(){return(Ft=L._emscripten_bind_AttributeQuantizationTransform_InitFromAttribute_1=L.asm.C).apply(null,arguments)},Lt=L._emscripten_bind_AttributeQuantizationTransform_quantization_bits_0=function(){return(Lt=L._emscripten_bind_AttributeQuantizationTransform_quantization_bits_0=L.asm.D).apply(null,arguments)},Ct=L._emscripten_bind_AttributeQuantizationTransform_min_value_1=function(){return(Ct=L._emscripten_bind_AttributeQuantizationTransform_min_value_1=L.asm.E).apply(null,arguments)},$t=L._emscripten_bind_AttributeQuantizationTransform_range_0=function(){return($t=L._emscripten_bind_AttributeQuantizationTransform_range_0=L.asm.F).apply(null,arguments)},wt=L._emscripten_bind_AttributeQuantizationTransform___destroy___0=function(){return(wt=L._emscripten_bind_AttributeQuantizationTransform___destroy___0=L.asm.G).apply(null,arguments)},zt=L._emscripten_bind_AttributeOctahedronTransform_AttributeOctahedronTransform_0=function(){return(zt=L._emscripten_bind_AttributeOctahedronTransform_AttributeOctahedronTransform_0=L.asm.H).apply(null,arguments)},Vt=L._emscripten_bind_AttributeOctahedronTransform_InitFromAttribute_1=function(){return(Vt=L._emscripten_bind_AttributeOctahedronTransform_InitFromAttribute_1=L.asm.I).apply(null,arguments)},Bt=L._emscripten_bind_AttributeOctahedronTransform_quantization_bits_0=function(){return(Bt=L._emscripten_bind_AttributeOctahedronTransform_quantization_bits_0=L.asm.J).apply(null,arguments)},Wt=L._emscripten_bind_AttributeOctahedronTransform___destroy___0=function(){return(Wt=L._emscripten_bind_AttributeOctahedronTransform___destroy___0=L.asm.K).apply(null,arguments)},kt=L._emscripten_bind_PointCloud_PointCloud_0=function(){return(kt=L._emscripten_bind_PointCloud_PointCloud_0=L.asm.L).apply(null,arguments)},xt=L._emscripten_bind_PointCloud_num_attributes_0=function(){return(xt=L._emscripten_bind_PointCloud_num_attributes_0=L.asm.M).apply(null,arguments)},Qt=L._emscripten_bind_PointCloud_num_points_0=function(){return(Qt=L._emscripten_bind_PointCloud_num_points_0=L.asm.N).apply(null,arguments)},Yt=L._emscripten_bind_PointCloud___destroy___0=function(){return(Yt=L._emscripten_bind_PointCloud___destroy___0=L.asm.O).apply(null,arguments)},Ht=L._emscripten_bind_Mesh_Mesh_0=function(){return(Ht=L._emscripten_bind_Mesh_Mesh_0=L.asm.P).apply(null,arguments)},qt=L._emscripten_bind_Mesh_num_faces_0=function(){return(qt=L._emscripten_bind_Mesh_num_faces_0=L.asm.Q).apply(null,arguments)},Xt=L._emscripten_bind_Mesh_num_attributes_0=function(){return(Xt=L._emscripten_bind_Mesh_num_attributes_0=L.asm.R).apply(null,arguments)},Kt=L._emscripten_bind_Mesh_num_points_0=function(){return(Kt=L._emscripten_bind_Mesh_num_points_0=L.asm.S).apply(null,arguments)},Jt=L._emscripten_bind_Mesh___destroy___0=function(){return(Jt=L._emscripten_bind_Mesh___destroy___0=L.asm.T).apply(null,arguments)},Zt=L._emscripten_bind_Metadata_Metadata_0=function(){return(Zt=L._emscripten_bind_Metadata_Metadata_0=L.asm.U).apply(null,arguments)},te=L._emscripten_bind_Metadata___destroy___0=function(){return(te=L._emscripten_bind_Metadata___destroy___0=L.asm.V).apply(null,arguments)},ee=L._emscripten_bind_Status_code_0=function(){return(ee=L._emscripten_bind_Status_code_0=L.asm.W).apply(null,arguments)},re=L._emscripten_bind_Status_ok_0=function(){return(re=L._emscripten_bind_Status_ok_0=L.asm.X).apply(null,arguments)},ne=L._emscripten_bind_Status_error_msg_0=function(){return(ne=L._emscripten_bind_Status_error_msg_0=L.asm.Y).apply(null,arguments)},oe=L._emscripten_bind_Status___destroy___0=function(){return(oe=L._emscripten_bind_Status___destroy___0=L.asm.Z).apply(null,arguments)},_e=L._emscripten_bind_DracoFloat32Array_DracoFloat32Array_0=function(){return(_e=L._emscripten_bind_DracoFloat32Array_DracoFloat32Array_0=L.asm._).apply(null,arguments)},ie=L._emscripten_bind_DracoFloat32Array_GetValue_1=function(){return(ie=L._emscripten_bind_DracoFloat32Array_GetValue_1=L.asm.$).apply(null,arguments)},pe=L._emscripten_bind_DracoFloat32Array_size_0=function(){return(pe=L._emscripten_bind_DracoFloat32Array_size_0=L.asm.aa).apply(null,arguments)},ae=L._emscripten_bind_DracoFloat32Array___destroy___0=function(){return(ae=L._emscripten_bind_DracoFloat32Array___destroy___0=L.asm.ba).apply(null,arguments)},ce=L._emscripten_bind_DracoInt8Array_DracoInt8Array_0=function(){return(ce=L._emscripten_bind_DracoInt8Array_DracoInt8Array_0=L.asm.ca).apply(null,arguments)},se=L._emscripten_bind_DracoInt8Array_GetValue_1=function(){return(se=L._emscripten_bind_DracoInt8Array_GetValue_1=L.asm.da).apply(null,arguments)},ue=L._emscripten_bind_DracoInt8Array_size_0=function(){return(ue=L._emscripten_bind_DracoInt8Array_size_0=L.asm.ea).apply(null,arguments)},ye=L._emscripten_bind_DracoInt8Array___destroy___0=function(){return(ye=L._emscripten_bind_DracoInt8Array___destroy___0=L.asm.fa).apply(null,arguments)},le=L._emscripten_bind_DracoUInt8Array_DracoUInt8Array_0=function(){return(le=L._emscripten_bind_DracoUInt8Array_DracoUInt8Array_0=L.asm.ga).apply(null,arguments)},fe=L._emscripten_bind_DracoUInt8Array_GetValue_1=function(){return(fe=L._emscripten_bind_DracoUInt8Array_GetValue_1=L.asm.ha).apply(null,arguments)},me=L._emscripten_bind_DracoUInt8Array_size_0=function(){return(me=L._emscripten_bind_DracoUInt8Array_size_0=L.asm.ia).apply(null,arguments)},de=L._emscripten_bind_DracoUInt8Array___destroy___0=function(){return(de=L._emscripten_bind_DracoUInt8Array___destroy___0=L.asm.ja).apply(null,arguments)},be=L._emscripten_bind_DracoInt16Array_DracoInt16Array_0=function(){return(be=L._emscripten_bind_DracoInt16Array_DracoInt16Array_0=L.asm.ka).apply(null,arguments)},he=L._emscripten_bind_DracoInt16Array_GetValue_1=function(){return(he=L._emscripten_bind_DracoInt16Array_GetValue_1=L.asm.la).apply(null,arguments)},Ae=L._emscripten_bind_DracoInt16Array_size_0=function(){return(Ae=L._emscripten_bind_DracoInt16Array_size_0=L.asm.ma).apply(null,arguments)},Te=L._emscripten_bind_DracoInt16Array___destroy___0=function(){return(Te=L._emscripten_bind_DracoInt16Array___destroy___0=L.asm.na).apply(null,arguments)},De=L._emscripten_bind_DracoUInt16Array_DracoUInt16Array_0=function(){return(De=L._emscripten_bind_DracoUInt16Array_DracoUInt16Array_0=L.asm.oa).apply(null,arguments)},Ie=L._emscripten_bind_DracoUInt16Array_GetValue_1=function(){return(Ie=L._emscripten_bind_DracoUInt16Array_GetValue_1=L.asm.pa).apply(null,arguments)},je=L._emscripten_bind_DracoUInt16Array_size_0=function(){return(je=L._emscripten_bind_DracoUInt16Array_size_0=L.asm.qa).apply(null,arguments)},Ee=L._emscripten_bind_DracoUInt16Array___destroy___0=function(){return(Ee=L._emscripten_bind_DracoUInt16Array___destroy___0=L.asm.ra).apply(null,arguments)},Ge=L._emscripten_bind_DracoInt32Array_DracoInt32Array_0=function(){return(Ge=L._emscripten_bind_DracoInt32Array_DracoInt32Array_0=L.asm.sa).apply(null,arguments)},Oe=L._emscripten_bind_DracoInt32Array_GetValue_1=function(){return(Oe=L._emscripten_bind_DracoInt32Array_GetValue_1=L.asm.ta).apply(null,arguments)},ve=L._emscripten_bind_DracoInt32Array_size_0=function(){return(ve=L._emscripten_bind_DracoInt32Array_size_0=L.asm.ua).apply(null,arguments)},Pe=L._emscripten_bind_DracoInt32Array___destroy___0=function(){return(Pe=L._emscripten_bind_DracoInt32Array___destroy___0=L.asm.va).apply(null,arguments)},Re=L._emscripten_bind_DracoUInt32Array_DracoUInt32Array_0=function(){return(Re=L._emscripten_bind_DracoUInt32Array_DracoUInt32Array_0=L.asm.wa).apply(null,arguments)},Se=L._emscripten_bind_DracoUInt32Array_GetValue_1=function(){return(Se=L._emscripten_bind_DracoUInt32Array_GetValue_1=L.asm.xa).apply(null,arguments)},Me=L._emscripten_bind_DracoUInt32Array_size_0=function(){return(Me=L._emscripten_bind_DracoUInt32Array_size_0=L.asm.ya).apply(null,arguments)},Ne=L._emscripten_bind_DracoUInt32Array___destroy___0=function(){return(Ne=L._emscripten_bind_DracoUInt32Array___destroy___0=L.asm.za).apply(null,arguments)},Ue=L._emscripten_bind_MetadataQuerier_MetadataQuerier_0=function(){return(Ue=L._emscripten_bind_MetadataQuerier_MetadataQuerier_0=L.asm.Aa).apply(null,arguments)},ge=L._emscripten_bind_MetadataQuerier_HasEntry_2=function(){return(ge=L._emscripten_bind_MetadataQuerier_HasEntry_2=L.asm.Ba).apply(null,arguments)},Fe=L._emscripten_bind_MetadataQuerier_GetIntEntry_2=function(){return(Fe=L._emscripten_bind_MetadataQuerier_GetIntEntry_2=L.asm.Ca).apply(null,arguments)},Le=L._emscripten_bind_MetadataQuerier_GetIntEntryArray_3=function(){return(Le=L._emscripten_bind_MetadataQuerier_GetIntEntryArray_3=L.asm.Da).apply(null,arguments)},Ce=L._emscripten_bind_MetadataQuerier_GetDoubleEntry_2=function(){return(Ce=L._emscripten_bind_MetadataQuerier_GetDoubleEntry_2=L.asm.Ea).apply(null,arguments)},$e=L._emscripten_bind_MetadataQuerier_GetStringEntry_2=function(){return($e=L._emscripten_bind_MetadataQuerier_GetStringEntry_2=L.asm.Fa).apply(null,arguments)},we=L._emscripten_bind_MetadataQuerier_NumEntries_1=function(){return(we=L._emscripten_bind_MetadataQuerier_NumEntries_1=L.asm.Ga).apply(null,arguments)},ze=L._emscripten_bind_MetadataQuerier_GetEntryName_2=function(){return(ze=L._emscripten_bind_MetadataQuerier_GetEntryName_2=L.asm.Ha).apply(null,arguments)},Ve=L._emscripten_bind_MetadataQuerier___destroy___0=function(){return(Ve=L._emscripten_bind_MetadataQuerier___destroy___0=L.asm.Ia).apply(null,arguments)},Be=L._emscripten_bind_Decoder_Decoder_0=function(){return(Be=L._emscripten_bind_Decoder_Decoder_0=L.asm.Ja).apply(null,arguments)},We=L._emscripten_bind_Decoder_DecodeArrayToPointCloud_3=function(){return(We=L._emscripten_bind_Decoder_DecodeArrayToPointCloud_3=L.asm.Ka).apply(null,arguments)},ke=L._emscripten_bind_Decoder_DecodeArrayToMesh_3=function(){return(ke=L._emscripten_bind_Decoder_DecodeArrayToMesh_3=L.asm.La).apply(null,arguments)},xe=L._emscripten_bind_Decoder_GetAttributeId_2=function(){return(xe=L._emscripten_bind_Decoder_GetAttributeId_2=L.asm.Ma).apply(null,arguments)},Qe=L._emscripten_bind_Decoder_GetAttributeIdByName_2=function(){return(Qe=L._emscripten_bind_Decoder_GetAttributeIdByName_2=L.asm.Na).apply(null,arguments)},Ye=L._emscripten_bind_Decoder_GetAttributeIdByMetadataEntry_3=function(){return(Ye=L._emscripten_bind_Decoder_GetAttributeIdByMetadataEntry_3=L.asm.Oa).apply(null,arguments)},He=L._emscripten_bind_Decoder_GetAttribute_2=function(){return(He=L._emscripten_bind_Decoder_GetAttribute_2=L.asm.Pa).apply(null,arguments)},qe=L._emscripten_bind_Decoder_GetAttributeByUniqueId_2=function(){return(qe=L._emscripten_bind_Decoder_GetAttributeByUniqueId_2=L.asm.Qa).apply(null,arguments)},Xe=L._emscripten_bind_Decoder_GetMetadata_1=function(){return(Xe=L._emscripten_bind_Decoder_GetMetadata_1=L.asm.Ra).apply(null,arguments)},Ke=L._emscripten_bind_Decoder_GetAttributeMetadata_2=function(){return(Ke=L._emscripten_bind_Decoder_GetAttributeMetadata_2=L.asm.Sa).apply(null,arguments)},Je=L._emscripten_bind_Decoder_GetFaceFromMesh_3=function(){return(Je=L._emscripten_bind_Decoder_GetFaceFromMesh_3=L.asm.Ta).apply(null,arguments)},Ze=L._emscripten_bind_Decoder_GetTriangleStripsFromMesh_2=function(){return(Ze=L._emscripten_bind_Decoder_GetTriangleStripsFromMesh_2=L.asm.Ua).apply(null,arguments)},tr=L._emscripten_bind_Decoder_GetTrianglesUInt16Array_3=function(){return(tr=L._emscripten_bind_Decoder_GetTrianglesUInt16Array_3=L.asm.Va).apply(null,arguments)},er=L._emscripten_bind_Decoder_GetTrianglesUInt32Array_3=function(){return(er=L._emscripten_bind_Decoder_GetTrianglesUInt32Array_3=L.asm.Wa).apply(null,arguments)},rr=L._emscripten_bind_Decoder_GetAttributeFloat_3=function(){return(rr=L._emscripten_bind_Decoder_GetAttributeFloat_3=L.asm.Xa).apply(null,arguments)},nr=L._emscripten_bind_Decoder_GetAttributeFloatForAllPoints_3=function(){return(nr=L._emscripten_bind_Decoder_GetAttributeFloatForAllPoints_3=L.asm.Ya).apply(null,arguments)},or=L._emscripten_bind_Decoder_GetAttributeIntForAllPoints_3=function(){return(or=L._emscripten_bind_Decoder_GetAttributeIntForAllPoints_3=L.asm.Za).apply(null,arguments)},_r=L._emscripten_bind_Decoder_GetAttributeInt8ForAllPoints_3=function(){return(_r=L._emscripten_bind_Decoder_GetAttributeInt8ForAllPoints_3=L.asm._a).apply(null,arguments)},ir=L._emscripten_bind_Decoder_GetAttributeUInt8ForAllPoints_3=function(){return(ir=L._emscripten_bind_Decoder_GetAttributeUInt8ForAllPoints_3=L.asm.$a).apply(null,arguments)},pr=L._emscripten_bind_Decoder_GetAttributeInt16ForAllPoints_3=function(){return(pr=L._emscripten_bind_Decoder_GetAttributeInt16ForAllPoints_3=L.asm.ab).apply(null,arguments)},ar=L._emscripten_bind_Decoder_GetAttributeUInt16ForAllPoints_3=function(){return(ar=L._emscripten_bind_Decoder_GetAttributeUInt16ForAllPoints_3=L.asm.bb).apply(null,arguments)},cr=L._emscripten_bind_Decoder_GetAttributeInt32ForAllPoints_3=function(){return(cr=L._emscripten_bind_Decoder_GetAttributeInt32ForAllPoints_3=L.asm.cb).apply(null,arguments)},sr=L._emscripten_bind_Decoder_GetAttributeUInt32ForAllPoints_3=function(){return(sr=L._emscripten_bind_Decoder_GetAttributeUInt32ForAllPoints_3=L.asm.db).apply(null,arguments)},ur=L._emscripten_bind_Decoder_GetAttributeDataArrayForAllPoints_5=function(){return(ur=L._emscripten_bind_Decoder_GetAttributeDataArrayForAllPoints_5=L.asm.eb).apply(null,arguments)},yr=L._emscripten_bind_Decoder_SkipAttributeTransform_1=function(){return(yr=L._emscripten_bind_Decoder_SkipAttributeTransform_1=L.asm.fb).apply(null,arguments)},lr=L._emscripten_bind_Decoder_GetEncodedGeometryType_Deprecated_1=function(){return(lr=L._emscripten_bind_Decoder_GetEncodedGeometryType_Deprecated_1=L.asm.gb).apply(null,arguments)},fr=L._emscripten_bind_Decoder_DecodeBufferToPointCloud_2=function(){return(fr=L._emscripten_bind_Decoder_DecodeBufferToPointCloud_2=L.asm.hb).apply(null,arguments)},mr=L._emscripten_bind_Decoder_DecodeBufferToMesh_2=function(){return(mr=L._emscripten_bind_Decoder_DecodeBufferToMesh_2=L.asm.ib).apply(null,arguments)},dr=L._emscripten_bind_Decoder___destroy___0=function(){return(dr=L._emscripten_bind_Decoder___destroy___0=L.asm.jb).apply(null,arguments)},br=L._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_INVALID_TRANSFORM=function(){return(br=L._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_INVALID_TRANSFORM=L.asm.kb).apply(null,arguments)},hr=L._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_NO_TRANSFORM=function(){return(hr=L._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_NO_TRANSFORM=L.asm.lb).apply(null,arguments)},Ar=L._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_QUANTIZATION_TRANSFORM=function(){return(Ar=L._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_QUANTIZATION_TRANSFORM=L.asm.mb).apply(null,arguments)},Tr=L._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_OCTAHEDRON_TRANSFORM=function(){return(Tr=L._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_OCTAHEDRON_TRANSFORM=L.asm.nb).apply(null,arguments)},Dr=L._emscripten_enum_draco_GeometryAttribute_Type_INVALID=function(){return(Dr=L._emscripten_enum_draco_GeometryAttribute_Type_INVALID=L.asm.ob).apply(null,arguments)},Ir=L._emscripten_enum_draco_GeometryAttribute_Type_POSITION=function(){return(Ir=L._emscripten_enum_draco_GeometryAttribute_Type_POSITION=L.asm.pb).apply(null,arguments)},jr=L._emscripten_enum_draco_GeometryAttribute_Type_NORMAL=function(){return(jr=L._emscripten_enum_draco_GeometryAttribute_Type_NORMAL=L.asm.qb).apply(null,arguments)},Er=L._emscripten_enum_draco_GeometryAttribute_Type_COLOR=function(){return(Er=L._emscripten_enum_draco_GeometryAttribute_Type_COLOR=L.asm.rb).apply(null,arguments)},Gr=L._emscripten_enum_draco_GeometryAttribute_Type_TEX_COORD=function(){return(Gr=L._emscripten_enum_draco_GeometryAttribute_Type_TEX_COORD=L.asm.sb).apply(null,arguments)},Or=L._emscripten_enum_draco_GeometryAttribute_Type_GENERIC=function(){return(Or=L._emscripten_enum_draco_GeometryAttribute_Type_GENERIC=L.asm.tb).apply(null,arguments)},vr=L._emscripten_enum_draco_EncodedGeometryType_INVALID_GEOMETRY_TYPE=function(){return(vr=L._emscripten_enum_draco_EncodedGeometryType_INVALID_GEOMETRY_TYPE=L.asm.ub).apply(null,arguments)},Pr=L._emscripten_enum_draco_EncodedGeometryType_POINT_CLOUD=function(){return(Pr=L._emscripten_enum_draco_EncodedGeometryType_POINT_CLOUD=L.asm.vb).apply(null,arguments)},Rr=L._emscripten_enum_draco_EncodedGeometryType_TRIANGULAR_MESH=function(){return(Rr=L._emscripten_enum_draco_EncodedGeometryType_TRIANGULAR_MESH=L.asm.wb).apply(null,arguments)},Sr=L._emscripten_enum_draco_DataType_DT_INVALID=function(){return(Sr=L._emscripten_enum_draco_DataType_DT_INVALID=L.asm.xb).apply(null,arguments)},Mr=L._emscripten_enum_draco_DataType_DT_INT8=function(){return(Mr=L._emscripten_enum_draco_DataType_DT_INT8=L.asm.yb).apply(null,arguments)},Nr=L._emscripten_enum_draco_DataType_DT_UINT8=function(){return(Nr=L._emscripten_enum_draco_DataType_DT_UINT8=L.asm.zb).apply(null,arguments)},Ur=L._emscripten_enum_draco_DataType_DT_INT16=function(){return(Ur=L._emscripten_enum_draco_DataType_DT_INT16=L.asm.Ab).apply(null,arguments)},gr=L._emscripten_enum_draco_DataType_DT_UINT16=function(){return(gr=L._emscripten_enum_draco_DataType_DT_UINT16=L.asm.Bb).apply(null,arguments)},Fr=L._emscripten_enum_draco_DataType_DT_INT32=function(){return(Fr=L._emscripten_enum_draco_DataType_DT_INT32=L.asm.Cb).apply(null,arguments)},Lr=L._emscripten_enum_draco_DataType_DT_UINT32=function(){return(Lr=L._emscripten_enum_draco_DataType_DT_UINT32=L.asm.Db).apply(null,arguments)},Cr=L._emscripten_enum_draco_DataType_DT_INT64=function(){return(Cr=L._emscripten_enum_draco_DataType_DT_INT64=L.asm.Eb).apply(null,arguments)},$r=L._emscripten_enum_draco_DataType_DT_UINT64=function(){return($r=L._emscripten_enum_draco_DataType_DT_UINT64=L.asm.Fb).apply(null,arguments)},wr=L._emscripten_enum_draco_DataType_DT_FLOAT32=function(){return(wr=L._emscripten_enum_draco_DataType_DT_FLOAT32=L.asm.Gb).apply(null,arguments)},zr=L._emscripten_enum_draco_DataType_DT_FLOAT64=function(){return(zr=L._emscripten_enum_draco_DataType_DT_FLOAT64=L.asm.Hb).apply(null,arguments)},Vr=L._emscripten_enum_draco_DataType_DT_BOOL=function(){return(Vr=L._emscripten_enum_draco_DataType_DT_BOOL=L.asm.Ib).apply(null,arguments)},Br=L._emscripten_enum_draco_DataType_DT_TYPES_COUNT=function(){return(Br=L._emscripten_enum_draco_DataType_DT_TYPES_COUNT=L.asm.Jb).apply(null,arguments)},Wr=L._emscripten_enum_draco_StatusCode_OK=function(){return(Wr=L._emscripten_enum_draco_StatusCode_OK=L.asm.Kb).apply(null,arguments)},kr=L._emscripten_enum_draco_StatusCode_DRACO_ERROR=function(){return(kr=L._emscripten_enum_draco_StatusCode_DRACO_ERROR=L.asm.Lb).apply(null,arguments)},xr=L._emscripten_enum_draco_StatusCode_IO_ERROR=function(){return(xr=L._emscripten_enum_draco_StatusCode_IO_ERROR=L.asm.Mb).apply(null,arguments)},Qr=L._emscripten_enum_draco_StatusCode_INVALID_PARAMETER=function(){return(Qr=L._emscripten_enum_draco_StatusCode_INVALID_PARAMETER=L.asm.Nb).apply(null,arguments)},Yr=L._emscripten_enum_draco_StatusCode_UNSUPPORTED_VERSION=function(){return(Yr=L._emscripten_enum_draco_StatusCode_UNSUPPORTED_VERSION=L.asm.Ob).apply(null,arguments)},Hr=L._emscripten_enum_draco_StatusCode_UNKNOWN_VERSION=function(){return(Hr=L._emscripten_enum_draco_StatusCode_UNKNOWN_VERSION=L.asm.Pb).apply(null,arguments)};L._malloc=function(){return(L._malloc=L.asm.Qb).apply(null,arguments)},L._free=function(){return(L._free=L.asm.Rb).apply(null,arguments)};var qr,Xr=function(){return(Xr=L.asm.Sb).apply(null,arguments)};if(L.___start_em_js=11660,L.___stop_em_js=11758,ut=function t(){qr||a(),qr||(ut=t)},L.preInit)for("function"==typeof L.preInit&&(L.preInit=[L.preInit]);0<L.preInit.length;)L.preInit.pop()();a(),c.prototype=Object.create(c.prototype),c.prototype.constructor=c,c.prototype.__class__=c,c.__cache__={},L.WrapperObject=c,L.getCache=s,L.wrapPointer=u,L.castObject=function(t,e){return u(t.ptr,e)},L.NULL=u(0),L.destroy=function(t){if(!t.__destroy__)throw"Error: Cannot destroy object. (Did you create it yourself?)";t.__destroy__(),delete s(t.__class__)[t.ptr]},L.compare=function(t,e){return t.ptr===e.ptr},L.getPointer=function(t){return t.ptr},L.getClass=function(t){return t.__class__};var Kr={buffer:0,size:0,pos:0,temps:[],needed:0,prepare:function(){if(Kr.needed){for(var t=0;t<Kr.temps.length;t++)L._free(Kr.temps[t]);Kr.temps.length=0,L._free(Kr.buffer),Kr.buffer=0,Kr.size+=Kr.needed,Kr.needed=0}Kr.buffer||(Kr.size+=128,Kr.buffer=L._malloc(Kr.size),Kr.buffer||o(void 0)),Kr.pos=0},alloc:function(t,e){return Kr.buffer||o(void 0),t=(t=t.length*e.BYTES_PER_ELEMENT)+7&-8,Kr.pos+t>=Kr.size?(0<t||o(void 0),Kr.needed+=t,e=L._malloc(t),Kr.temps.push(e)):(e=Kr.buffer+Kr.pos,Kr.pos+=t),e},copy:function(t,e,r){switch(r>>>=0,e.BYTES_PER_ELEMENT){case 2:r>>>=1;break;case 4:r>>>=2;break;case 8:r>>>=3}for(var n=0;n<t.length;n++)e[r+n]=t[n]}};return f.prototype=Object.create(c.prototype),f.prototype.constructor=f,f.prototype.__class__=f,f.__cache__={},L.VoidPtr=f,f.prototype.__destroy__=f.prototype.__destroy__=function(){ft(this.ptr)},m.prototype=Object.create(c.prototype),m.prototype.constructor=m,m.prototype.__class__=m,m.__cache__={},L.DecoderBuffer=m,m.prototype.Init=m.prototype.Init=function(t,e){var r=this.ptr;Kr.prepare(),"object"==typeof t&&(t=l(t)),e&&"object"==typeof e&&(e=e.ptr),dt(r,t,e)},m.prototype.__destroy__=m.prototype.__destroy__=function(){bt(this.ptr)},d.prototype=Object.create(c.prototype),d.prototype.constructor=d,d.prototype.__class__=d,d.__cache__={},L.AttributeTransformData=d,d.prototype.transform_type=d.prototype.transform_type=function(){return At(this.ptr)},d.prototype.__destroy__=d.prototype.__destroy__=function(){Tt(this.ptr)},b.prototype=Object.create(c.prototype),b.prototype.constructor=b,b.prototype.__class__=b,b.__cache__={},L.GeometryAttribute=b,b.prototype.__destroy__=b.prototype.__destroy__=function(){It(this.ptr)},h.prototype=Object.create(c.prototype),h.prototype.constructor=h,h.prototype.__class__=h,h.__cache__={},L.PointAttribute=h,h.prototype.size=h.prototype.size=function(){return Et(this.ptr)},h.prototype.GetAttributeTransformData=h.prototype.GetAttributeTransformData=function(){return u(Gt(this.ptr),d)},h.prototype.attribute_type=h.prototype.attribute_type=function(){return Ot(this.ptr)},h.prototype.data_type=h.prototype.data_type=function(){return vt(this.ptr)},h.prototype.num_components=h.prototype.num_components=function(){return Pt(this.ptr)},h.prototype.normalized=h.prototype.normalized=function(){return!!Rt(this.ptr)},h.prototype.byte_stride=h.prototype.byte_stride=function(){return St(this.ptr)},h.prototype.byte_offset=h.prototype.byte_offset=function(){return Mt(this.ptr)},h.prototype.unique_id=h.prototype.unique_id=function(){return Nt(this.ptr)},h.prototype.__destroy__=h.prototype.__destroy__=function(){Ut(this.ptr)},A.prototype=Object.create(c.prototype),A.prototype.constructor=A,A.prototype.__class__=A,A.__cache__={},L.AttributeQuantizationTransform=A,A.prototype.InitFromAttribute=A.prototype.InitFromAttribute=function(t){var e=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),!!Ft(e,t)},A.prototype.quantization_bits=A.prototype.quantization_bits=function(){return Lt(this.ptr)},A.prototype.min_value=A.prototype.min_value=function(t){var e=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),Ct(e,t)},A.prototype.range=A.prototype.range=function(){return $t(this.ptr)},A.prototype.__destroy__=A.prototype.__destroy__=function(){wt(this.ptr)},T.prototype=Object.create(c.prototype),T.prototype.constructor=T,T.prototype.__class__=T,T.__cache__={},L.AttributeOctahedronTransform=T,T.prototype.InitFromAttribute=T.prototype.InitFromAttribute=function(t){var e=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),!!Vt(e,t)},T.prototype.quantization_bits=T.prototype.quantization_bits=function(){return Bt(this.ptr)},T.prototype.__destroy__=T.prototype.__destroy__=function(){Wt(this.ptr)},D.prototype=Object.create(c.prototype),D.prototype.constructor=D,D.prototype.__class__=D,D.__cache__={},L.PointCloud=D,D.prototype.num_attributes=D.prototype.num_attributes=function(){return xt(this.ptr)},D.prototype.num_points=D.prototype.num_points=function(){return Qt(this.ptr)},D.prototype.__destroy__=D.prototype.__destroy__=function(){Yt(this.ptr)},I.prototype=Object.create(c.prototype),I.prototype.constructor=I,I.prototype.__class__=I,I.__cache__={},L.Mesh=I,I.prototype.num_faces=I.prototype.num_faces=function(){return qt(this.ptr)},I.prototype.num_attributes=I.prototype.num_attributes=function(){return Xt(this.ptr)},I.prototype.num_points=I.prototype.num_points=function(){return Kt(this.ptr)},I.prototype.__destroy__=I.prototype.__destroy__=function(){Jt(this.ptr)},j.prototype=Object.create(c.prototype),j.prototype.constructor=j,j.prototype.__class__=j,j.__cache__={},L.Metadata=j,j.prototype.__destroy__=j.prototype.__destroy__=function(){te(this.ptr)},E.prototype=Object.create(c.prototype),E.prototype.constructor=E,E.prototype.__class__=E,E.__cache__={},L.Status=E,E.prototype.code=E.prototype.code=function(){return ee(this.ptr)},E.prototype.ok=E.prototype.ok=function(){return!!re(this.ptr)},E.prototype.error_msg=E.prototype.error_msg=function(){return r(ne(this.ptr))},E.prototype.__destroy__=E.prototype.__destroy__=function(){oe(this.ptr)},G.prototype=Object.create(c.prototype),G.prototype.constructor=G,G.prototype.__class__=G,G.__cache__={},L.DracoFloat32Array=G,G.prototype.GetValue=G.prototype.GetValue=function(t){var e=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),ie(e,t)},G.prototype.size=G.prototype.size=function(){return pe(this.ptr)},G.prototype.__destroy__=G.prototype.__destroy__=function(){ae(this.ptr)},O.prototype=Object.create(c.prototype),O.prototype.constructor=O,O.prototype.__class__=O,O.__cache__={},L.DracoInt8Array=O,O.prototype.GetValue=O.prototype.GetValue=function(t){var e=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),se(e,t)},O.prototype.size=O.prototype.size=function(){return ue(this.ptr)},O.prototype.__destroy__=O.prototype.__destroy__=function(){ye(this.ptr)},v.prototype=Object.create(c.prototype),v.prototype.constructor=v,v.prototype.__class__=v,v.__cache__={},L.DracoUInt8Array=v,v.prototype.GetValue=v.prototype.GetValue=function(t){var e=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),fe(e,t)},v.prototype.size=v.prototype.size=function(){return me(this.ptr)},v.prototype.__destroy__=v.prototype.__destroy__=function(){de(this.ptr)},P.prototype=Object.create(c.prototype),P.prototype.constructor=P,P.prototype.__class__=P,P.__cache__={},L.DracoInt16Array=P,P.prototype.GetValue=P.prototype.GetValue=function(t){var e=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),he(e,t)},P.prototype.size=P.prototype.size=function(){return Ae(this.ptr)},P.prototype.__destroy__=P.prototype.__destroy__=function(){Te(this.ptr)},R.prototype=Object.create(c.prototype),R.prototype.constructor=R,R.prototype.__class__=R,R.__cache__={},L.DracoUInt16Array=R,R.prototype.GetValue=R.prototype.GetValue=function(t){var e=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),Ie(e,t)},R.prototype.size=R.prototype.size=function(){return je(this.ptr)},R.prototype.__destroy__=R.prototype.__destroy__=function(){Ee(this.ptr)},S.prototype=Object.create(c.prototype),S.prototype.constructor=S,S.prototype.__class__=S,S.__cache__={},L.DracoInt32Array=S,S.prototype.GetValue=S.prototype.GetValue=function(t){var e=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),Oe(e,t)},S.prototype.size=S.prototype.size=function(){return ve(this.ptr)},S.prototype.__destroy__=S.prototype.__destroy__=function(){Pe(this.ptr)},M.prototype=Object.create(c.prototype),M.prototype.constructor=M,M.prototype.__class__=M,M.__cache__={},L.DracoUInt32Array=M,M.prototype.GetValue=M.prototype.GetValue=function(t){var e=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),Se(e,t)},M.prototype.size=M.prototype.size=function(){return Me(this.ptr)},M.prototype.__destroy__=M.prototype.__destroy__=function(){Ne(this.ptr)},N.prototype=Object.create(c.prototype),N.prototype.constructor=N,N.prototype.__class__=N,N.__cache__={},L.MetadataQuerier=N,N.prototype.HasEntry=N.prototype.HasEntry=function(t,e){var r=this.ptr;return Kr.prepare(),t&&"object"==typeof t&&(t=t.ptr),e=e&&"object"==typeof e?e.ptr:y(e),!!ge(r,t,e)},N.prototype.GetIntEntry=N.prototype.GetIntEntry=function(t,e){var r=this.ptr;return Kr.prepare(),t&&"object"==typeof t&&(t=t.ptr),e=e&&"object"==typeof e?e.ptr:y(e),Fe(r,t,e)},N.prototype.GetIntEntryArray=N.prototype.GetIntEntryArray=function(t,e,r){var n=this.ptr;Kr.prepare(),t&&"object"==typeof t&&(t=t.ptr),e=e&&"object"==typeof e?e.ptr:y(e),r&&"object"==typeof r&&(r=r.ptr),Le(n,t,e,r)},N.prototype.GetDoubleEntry=N.prototype.GetDoubleEntry=function(t,e){var r=this.ptr;return Kr.prepare(),t&&"object"==typeof t&&(t=t.ptr),e=e&&"object"==typeof e?e.ptr:y(e),Ce(r,t,e)},N.prototype.GetStringEntry=N.prototype.GetStringEntry=function(t,e){var n=this.ptr;return Kr.prepare(),t&&"object"==typeof t&&(t=t.ptr),e=e&&"object"==typeof e?e.ptr:y(e),r($e(n,t,e))},N.prototype.NumEntries=N.prototype.NumEntries=function(t){var e=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),we(e,t)},N.prototype.GetEntryName=N.prototype.GetEntryName=function(t,e){var n=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),r(ze(n,t,e))},N.prototype.__destroy__=N.prototype.__destroy__=function(){Ve(this.ptr)},U.prototype=Object.create(c.prototype),U.prototype.constructor=U,U.prototype.__class__=U,U.__cache__={},L.Decoder=U,U.prototype.DecodeArrayToPointCloud=U.prototype.DecodeArrayToPointCloud=function(t,e,r){var n=this.ptr;return Kr.prepare(),"object"==typeof t&&(t=l(t)),e&&"object"==typeof e&&(e=e.ptr),r&&"object"==typeof r&&(r=r.ptr),u(We(n,t,e,r),E)},U.prototype.DecodeArrayToMesh=U.prototype.DecodeArrayToMesh=function(t,e,r){var n=this.ptr;return Kr.prepare(),"object"==typeof t&&(t=l(t)),e&&"object"==typeof e&&(e=e.ptr),r&&"object"==typeof r&&(r=r.ptr),u(ke(n,t,e,r),E)},U.prototype.GetAttributeId=U.prototype.GetAttributeId=function(t,e){var r=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),xe(r,t,e)},U.prototype.GetAttributeIdByName=U.prototype.GetAttributeIdByName=function(t,e){var r=this.ptr;return Kr.prepare(),t&&"object"==typeof t&&(t=t.ptr),e=e&&"object"==typeof e?e.ptr:y(e),Qe(r,t,e)},U.prototype.GetAttributeIdByMetadataEntry=U.prototype.GetAttributeIdByMetadataEntry=function(t,e,r){var n=this.ptr;return Kr.prepare(),t&&"object"==typeof t&&(t=t.ptr),e=e&&"object"==typeof e?e.ptr:y(e),r=r&&"object"==typeof r?r.ptr:y(r),Ye(n,t,e,r)},U.prototype.GetAttribute=U.prototype.GetAttribute=function(t,e){var r=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),u(He(r,t,e),h)},U.prototype.GetAttributeByUniqueId=U.prototype.GetAttributeByUniqueId=function(t,e){var r=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),u(qe(r,t,e),h)},U.prototype.GetMetadata=U.prototype.GetMetadata=function(t){var e=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),u(Xe(e,t),j)},U.prototype.GetAttributeMetadata=U.prototype.GetAttributeMetadata=function(t,e){var r=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),u(Ke(r,t,e),j)},U.prototype.GetFaceFromMesh=U.prototype.GetFaceFromMesh=function(t,e,r){var n=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),r&&"object"==typeof r&&(r=r.ptr),!!Je(n,t,e,r)},U.prototype.GetTriangleStripsFromMesh=U.prototype.GetTriangleStripsFromMesh=function(t,e){var r=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),Ze(r,t,e)},U.prototype.GetTrianglesUInt16Array=U.prototype.GetTrianglesUInt16Array=function(t,e,r){var n=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),r&&"object"==typeof r&&(r=r.ptr),!!tr(n,t,e,r)},U.prototype.GetTrianglesUInt32Array=U.prototype.GetTrianglesUInt32Array=function(t,e,r){var n=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),r&&"object"==typeof r&&(r=r.ptr),!!er(n,t,e,r)},U.prototype.GetAttributeFloat=U.prototype.GetAttributeFloat=function(t,e,r){var n=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),r&&"object"==typeof r&&(r=r.ptr),!!rr(n,t,e,r)},U.prototype.GetAttributeFloatForAllPoints=U.prototype.GetAttributeFloatForAllPoints=function(t,e,r){var n=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),r&&"object"==typeof r&&(r=r.ptr),!!nr(n,t,e,r)},U.prototype.GetAttributeIntForAllPoints=U.prototype.GetAttributeIntForAllPoints=function(t,e,r){var n=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),r&&"object"==typeof r&&(r=r.ptr),!!or(n,t,e,r)},U.prototype.GetAttributeInt8ForAllPoints=U.prototype.GetAttributeInt8ForAllPoints=function(t,e,r){var n=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),r&&"object"==typeof r&&(r=r.ptr),!!_r(n,t,e,r)},U.prototype.GetAttributeUInt8ForAllPoints=U.prototype.GetAttributeUInt8ForAllPoints=function(t,e,r){var n=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),r&&"object"==typeof r&&(r=r.ptr),!!ir(n,t,e,r)},U.prototype.GetAttributeInt16ForAllPoints=U.prototype.GetAttributeInt16ForAllPoints=function(t,e,r){var n=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),r&&"object"==typeof r&&(r=r.ptr),!!pr(n,t,e,r)},U.prototype.GetAttributeUInt16ForAllPoints=U.prototype.GetAttributeUInt16ForAllPoints=function(t,e,r){var n=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),r&&"object"==typeof r&&(r=r.ptr),!!ar(n,t,e,r)},U.prototype.GetAttributeInt32ForAllPoints=U.prototype.GetAttributeInt32ForAllPoints=function(t,e,r){var n=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),r&&"object"==typeof r&&(r=r.ptr),!!cr(n,t,e,r)},U.prototype.GetAttributeUInt32ForAllPoints=U.prototype.GetAttributeUInt32ForAllPoints=function(t,e,r){var n=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),r&&"object"==typeof r&&(r=r.ptr),!!sr(n,t,e,r)},U.prototype.GetAttributeDataArrayForAllPoints=U.prototype.GetAttributeDataArrayForAllPoints=function(t,e,r,n,o){var _=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),r&&"object"==typeof r&&(r=r.ptr),n&&"object"==typeof n&&(n=n.ptr),o&&"object"==typeof o&&(o=o.ptr),!!ur(_,t,e,r,n,o)},U.prototype.SkipAttributeTransform=U.prototype.SkipAttributeTransform=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),yr(e,t)},U.prototype.GetEncodedGeometryType_Deprecated=U.prototype.GetEncodedGeometryType_Deprecated=function(t){var e=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),lr(e,t)},U.prototype.DecodeBufferToPointCloud=U.prototype.DecodeBufferToPointCloud=function(t,e){var r=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),u(fr(r,t,e),E)},U.prototype.DecodeBufferToMesh=U.prototype.DecodeBufferToMesh=function(t,e){var r=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),u(mr(r,t,e),E)},U.prototype.__destroy__=U.prototype.__destroy__=function(){dr(this.ptr)},function(){function t(){L.ATTRIBUTE_INVALID_TRANSFORM=br(),L.ATTRIBUTE_NO_TRANSFORM=hr(),L.ATTRIBUTE_QUANTIZATION_TRANSFORM=Ar(),L.ATTRIBUTE_OCTAHEDRON_TRANSFORM=Tr(),L.INVALID=Dr(),L.POSITION=Ir(),L.NORMAL=jr(),L.COLOR=Er(),L.TEX_COORD=Gr(),L.GENERIC=Or(),L.INVALID_GEOMETRY_TYPE=vr(),L.POINT_CLOUD=Pr(),L.TRIANGULAR_MESH=Rr(),L.DT_INVALID=Sr(),L.DT_INT8=Mr(),L.DT_UINT8=Nr(),L.DT_INT16=Ur(),L.DT_UINT16=gr(),L.DT_INT32=Fr(),L.DT_UINT32=Lr(),L.DT_INT64=Cr(),L.DT_UINT64=$r(),L.DT_FLOAT32=wr(),L.DT_FLOAT64=zr(),L.DT_BOOL=Vr(),L.DT_TYPES_COUNT=Br(),L.OK=Wr(),L.DRACO_ERROR=kr(),L.IO_ERROR=xr(),L.INVALID_PARAMETER=Qr(),L.UNSUPPORTED_VERSION=Yr(),L.UNKNOWN_VERSION=Hr()}at?t():it.unshift(t)}(),"function"==typeof L.onModuleParsed&&L.onModuleParsed(),L.Decoder.prototype.GetEncodedGeometryType=function(t){if(t.__class__&&t.__class__===L.DecoderBuffer)return L.Decoder.prototype.GetEncodedGeometryType_Deprecated(t);if(8>t.byteLength)return L.INVALID_GEOMETRY_TYPE;switch(t[7]){case 0:return L.POINT_CLOUD;case 1:return L.TRIANGULAR_MESH;default:return L.INVALID_GEOMETRY_TYPE}},e.ready}}();"object"==typeof exports&&"object"==typeof module?module.exports=DracoDecoderModule:"function"==typeof define&&define.amd?define([],(function(){return DracoDecoderModule})):"object"==typeof exports&&(exports.DracoDecoderModule=DracoDecoderModule);
1
+ var $jscomp=$jscomp||{};$jscomp.scope={},$jscomp.arrayIteratorImpl=function(t){var r=0;return function(){return r<t.length?{done:!1,value:t[r++]}:{done:!0}}},$jscomp.arrayIterator=function(t){return{next:$jscomp.arrayIteratorImpl(t)}},$jscomp.makeIterator=function(t){var r="undefined"!=typeof Symbol&&Symbol.iterator&&t[Symbol.iterator];return r?r.call(t):$jscomp.arrayIterator(t)},$jscomp.ASSUME_ES5=!1,$jscomp.ASSUME_NO_NATIVE_MAP=!1,$jscomp.ASSUME_NO_NATIVE_SET=!1,$jscomp.SIMPLE_FROUND_POLYFILL=!1,$jscomp.ISOLATE_POLYFILLS=!1,$jscomp.FORCE_POLYFILL_PROMISE=!1,$jscomp.FORCE_POLYFILL_PROMISE_WHEN_NO_UNHANDLED_REJECTION=!1,$jscomp.getGlobal=function(t){t=["object"==typeof globalThis&&globalThis,t,"object"==typeof window&&window,"object"==typeof self&&self,"object"==typeof global&&global];for(var r=0;r<t.length;++r){var o=t[r];if(o&&o.Math==Math)return o}throw Error("Cannot find global object")},$jscomp.global=$jscomp.getGlobal(this),$jscomp.defineProperty=$jscomp.ASSUME_ES5||"function"==typeof Object.defineProperties?Object.defineProperty:function(t,r,o){return t==Array.prototype||t==Object.prototype||(t[r]=o.value),t},$jscomp.IS_SYMBOL_NATIVE="function"==typeof Symbol&&"symbol"==typeof Symbol("x"),$jscomp.TRUST_ES6_POLYFILLS=!$jscomp.ISOLATE_POLYFILLS||$jscomp.IS_SYMBOL_NATIVE,$jscomp.polyfills={},$jscomp.propertyToPolyfillSymbol={},$jscomp.POLYFILL_PREFIX="$jscp$";var $jscomp$lookupPolyfilledValue=function(t,r){var o=$jscomp.propertyToPolyfillSymbol[r];return null==o?t[r]:void 0!==(o=t[o])?o:t[r]};$jscomp.polyfill=function(t,r,o,_){r&&($jscomp.ISOLATE_POLYFILLS?$jscomp.polyfillIsolated(t,r,o,_):$jscomp.polyfillUnisolated(t,r,o,_))},$jscomp.polyfillUnisolated=function(t,r,o,_){for(o=$jscomp.global,t=t.split("."),_=0;_<t.length-1;_++){var i=t[_];if(!(i in o))return;o=o[i]}(r=r(_=o[t=t[t.length-1]]))!=_&&null!=r&&$jscomp.defineProperty(o,t,{configurable:!0,writable:!0,value:r})},$jscomp.polyfillIsolated=function(t,r,o,_){var i=t.split(".");t=1===i.length,_=i[0],_=!t&&_ in $jscomp.polyfills?$jscomp.polyfills:$jscomp.global;for(var a=0;a<i.length-1;a++){var s=i[a];if(!(s in _))return;_=_[s]}i=i[i.length-1],null!=(r=r(o=$jscomp.IS_SYMBOL_NATIVE&&"es6"===o?_[i]:null))&&(t?$jscomp.defineProperty($jscomp.polyfills,i,{configurable:!0,writable:!0,value:r}):r!==o&&(void 0===$jscomp.propertyToPolyfillSymbol[i]&&(o=1e9*Math.random()>>>0,$jscomp.propertyToPolyfillSymbol[i]=$jscomp.IS_SYMBOL_NATIVE?$jscomp.global.Symbol(i):$jscomp.POLYFILL_PREFIX+o+"$"+i),$jscomp.defineProperty(_,$jscomp.propertyToPolyfillSymbol[i],{configurable:!0,writable:!0,value:r})))},$jscomp.polyfill("Promise",(function(t){function n(){this.batch_=null}function k(t){return t instanceof l?t:new l((function(r,o){r(t)}))}if(t&&(!($jscomp.FORCE_POLYFILL_PROMISE||$jscomp.FORCE_POLYFILL_PROMISE_WHEN_NO_UNHANDLED_REJECTION&&void 0===$jscomp.global.PromiseRejectionEvent)||!$jscomp.global.Promise||-1===$jscomp.global.Promise.toString().indexOf("[native code]")))return t;n.prototype.asyncExecute=function(t){if(null==this.batch_){this.batch_=[];var r=this;this.asyncExecuteFunction((function(){r.executeBatch_()}))}this.batch_.push(t)};var r=$jscomp.global.setTimeout;n.prototype.asyncExecuteFunction=function(t){r(t,0)},n.prototype.executeBatch_=function(){for(;this.batch_&&this.batch_.length;){var t=this.batch_;this.batch_=[];for(var r=0;r<t.length;++r){var o=t[r];t[r]=null;try{o()}catch(t){this.asyncThrow_(t)}}}this.batch_=null},n.prototype.asyncThrow_=function(t){this.asyncExecuteFunction((function(){throw t}))};var l=function(t){this.state_=0,this.result_=void 0,this.onSettledCallbacks_=[],this.isRejectionHandled_=!1;var r=this.createResolveAndReject_();try{t(r.resolve,r.reject)}catch(t){r.reject(t)}};l.prototype.createResolveAndReject_=function(){function f(o){return function(_){r||(r=!0,o.call(t,_))}}var t=this,r=!1;return{resolve:f(this.resolveTo_),reject:f(this.reject_)}},l.prototype.resolveTo_=function(t){if(t===this)this.reject_(new TypeError("A Promise cannot resolve to itself"));else if(t instanceof l)this.settleSameAsPromise_(t);else{t:switch(typeof t){case"object":var r=null!=t;break t;case"function":r=!0;break t;default:r=!1}r?this.resolveToNonPromiseObj_(t):this.fulfill_(t)}},l.prototype.resolveToNonPromiseObj_=function(t){var r=void 0;try{r=t.then}catch(t){return void this.reject_(t)}"function"==typeof r?this.settleSameAsThenable_(r,t):this.fulfill_(t)},l.prototype.reject_=function(t){this.settle_(2,t)},l.prototype.fulfill_=function(t){this.settle_(1,t)},l.prototype.settle_=function(t,r){if(0!=this.state_)throw Error("Cannot settle("+t+", "+r+"): Promise already settled in state"+this.state_);this.state_=t,this.result_=r,2===this.state_&&this.scheduleUnhandledRejectionCheck_(),this.executeOnSettledCallbacks_()},l.prototype.scheduleUnhandledRejectionCheck_=function(){var t=this;r((function(){if(t.notifyUnhandledRejection_()){var r=$jscomp.global.console;void 0!==r&&r.error(t.result_)}}),1)},l.prototype.notifyUnhandledRejection_=function(){if(this.isRejectionHandled_)return!1;var t=$jscomp.global.CustomEvent,r=$jscomp.global.Event,o=$jscomp.global.dispatchEvent;return void 0===o||("function"==typeof t?t=new t("unhandledrejection",{cancelable:!0}):"function"==typeof r?t=new r("unhandledrejection",{cancelable:!0}):(t=$jscomp.global.document.createEvent("CustomEvent")).initCustomEvent("unhandledrejection",!1,!0,t),t.promise=this,t.reason=this.result_,o(t))},l.prototype.executeOnSettledCallbacks_=function(){if(null!=this.onSettledCallbacks_){for(var t=0;t<this.onSettledCallbacks_.length;++t)o.asyncExecute(this.onSettledCallbacks_[t]);this.onSettledCallbacks_=null}};var o=new n;return l.prototype.settleSameAsPromise_=function(t){var r=this.createResolveAndReject_();t.callWhenSettled_(r.resolve,r.reject)},l.prototype.settleSameAsThenable_=function(t,r){var o=this.createResolveAndReject_();try{t.call(r,o.resolve,o.reject)}catch(t){o.reject(t)}},l.prototype.then=function(t,r){function u(t,r){return"function"==typeof t?function(r){try{o(t(r))}catch(t){_(t)}}:r}var o,_,i=new l((function(t,r){o=t,_=r}));return this.callWhenSettled_(u(t,o),u(r,_)),i},l.prototype.catch=function(t){return this.then(void 0,t)},l.prototype.callWhenSettled_=function(t,r){function u(){switch(_.state_){case 1:t(_.result_);break;case 2:r(_.result_);break;default:throw Error("Unexpected state: "+_.state_)}}var _=this;null==this.onSettledCallbacks_?o.asyncExecute(u):this.onSettledCallbacks_.push(u),this.isRejectionHandled_=!0},l.resolve=k,l.reject=function(t){return new l((function(r,o){o(t)}))},l.race=function(t){return new l((function(r,o){for(var _=$jscomp.makeIterator(t),i=_.next();!i.done;i=_.next())k(i.value).callWhenSettled_(r,o)}))},l.all=function(t){var r=$jscomp.makeIterator(t),o=r.next();return o.done?k([]):new l((function(t,_){function v(r){return function(o){i[r]=o,0==--a&&t(i)}}var i=[],a=0;do{i.push(void 0),a++,k(o.value).callWhenSettled_(v(i.length-1),_),o=r.next()}while(!o.done)}))},l}),"es6","es3"),$jscomp.owns=function(t,r){return Object.prototype.hasOwnProperty.call(t,r)},$jscomp.assign=$jscomp.TRUST_ES6_POLYFILLS&&"function"==typeof Object.assign?Object.assign:function(t,r){for(var o=1;o<arguments.length;o++){var _=arguments[o];if(_)for(var i in _)$jscomp.owns(_,i)&&(t[i]=_[i])}return t},$jscomp.polyfill("Object.assign",(function(t){return t||$jscomp.assign}),"es6","es3"),$jscomp.checkStringArgs=function(t,r,o){if(null==t)throw new TypeError("The 'this' value for String.prototype."+o+" must not be null or undefined");if(r instanceof RegExp)throw new TypeError("First argument to String.prototype."+o+" must not be a regular expression");return t+""},$jscomp.polyfill("String.prototype.startsWith",(function(t){return t||function(t,r){var o=$jscomp.checkStringArgs(this,t,"startsWith");t+="";var _=o.length,i=t.length;r=Math.max(0,Math.min(0|r,o.length));for(var a=0;a<i&&r<_;)if(o[r++]!=t[a++])return!1;return a>=i}}),"es6","es3"),$jscomp.polyfill("Array.prototype.copyWithin",(function(t){function n(t){return 1/0===(t=Number(t))||-1/0===t?t:0|t}return t||function(t,r,o){var _=this.length;if(t=n(t),r=n(r),o=void 0===o?_:n(o),t=0>t?Math.max(_+t,0):Math.min(t,_),r=0>r?Math.max(_+r,0):Math.min(r,_),o=0>o?Math.max(_+o,0):Math.min(o,_),t<r)for(;r<o;)r in this?this[t++]=this[r++]:(delete this[t++],r++);else for(t+=(o=Math.min(o,_+r-t))-r;o>r;)--o in this?this[--t]=this[o]:delete this[--t];return this}}),"es6","es3"),$jscomp.typedArrayCopyWithin=function(t){return t||Array.prototype.copyWithin},$jscomp.polyfill("Int8Array.prototype.copyWithin",$jscomp.typedArrayCopyWithin,"es6","es5"),$jscomp.polyfill("Uint8Array.prototype.copyWithin",$jscomp.typedArrayCopyWithin,"es6","es5"),$jscomp.polyfill("Uint8ClampedArray.prototype.copyWithin",$jscomp.typedArrayCopyWithin,"es6","es5"),$jscomp.polyfill("Int16Array.prototype.copyWithin",$jscomp.typedArrayCopyWithin,"es6","es5"),$jscomp.polyfill("Uint16Array.prototype.copyWithin",$jscomp.typedArrayCopyWithin,"es6","es5"),$jscomp.polyfill("Int32Array.prototype.copyWithin",$jscomp.typedArrayCopyWithin,"es6","es5"),$jscomp.polyfill("Uint32Array.prototype.copyWithin",$jscomp.typedArrayCopyWithin,"es6","es5"),$jscomp.polyfill("Float32Array.prototype.copyWithin",$jscomp.typedArrayCopyWithin,"es6","es5"),$jscomp.polyfill("Float64Array.prototype.copyWithin",$jscomp.typedArrayCopyWithin,"es6","es5");var DracoDecoderModule=function(){var t="undefined"!=typeof document&&document.currentScript?document.currentScript.src:void 0;return"undefined"!=typeof __filename&&(t=t||__filename),function(r){function p(t,r){if(t){var o=rt,_=t+r;for(r=t;o[r]&&!(r>=_);)++r;if(16<r-t&&o.buffer&&it)o=it.decode(o.subarray(t,r));else{for(_="";t<r;){var i=o[t++];if(128&i){var a=63&o[t++];if(192==(224&i))_+=String.fromCharCode((31&i)<<6|a);else{var s=63&o[t++];65536>(i=224==(240&i)?(15&i)<<12|a<<6|s:(7&i)<<18|a<<12|s<<6|63&o[t++])?_+=String.fromCharCode(i):(i-=65536,_+=String.fromCharCode(55296|i>>10,56320|1023&i))}}else _+=String.fromCharCode(i)}o=_}}else o="";return o}function l(){var t=tt.buffer;i.HEAP8=et=new Int8Array(t),i.HEAP16=new Int16Array(t),i.HEAP32=nt=new Int32Array(t),i.HEAPU8=rt=new Uint8Array(t),i.HEAPU16=new Uint16Array(t),i.HEAPU32=ot=new Uint32Array(t),i.HEAPF32=new Float32Array(t),i.HEAPF64=new Float64Array(t)}function y(t){throw i.onAbort&&i.onAbort(t),Y(t="Aborted("+t+")"),_t=!0,t=new WebAssembly.RuntimeError(t+". Build with -sASSERTIONS for more info."),_(t),t}function f(t){try{if(t==mt&&W)return new Uint8Array(W);if(ma)return ma(t);throw"both async and sync fetching of the wasm failed"}catch(t){y(t)}}function u(t){for(;0<t.length;)t.shift()(i)}function A(t){this.excPtr=t,this.ptr=t-24,this.set_type=function(t){ot[this.ptr+4>>2]=t},this.get_type=function(){return ot[this.ptr+4>>2]},this.set_destructor=function(t){ot[this.ptr+8>>2]=t},this.get_destructor=function(){return ot[this.ptr+8>>2]},this.set_refcount=function(t){nt[this.ptr>>2]=t},this.set_caught=function(t){et[this.ptr+12|0]=t?1:0},this.get_caught=function(){return 0!=et[this.ptr+12|0]},this.set_rethrown=function(t){et[this.ptr+13|0]=t?1:0},this.get_rethrown=function(){return 0!=et[this.ptr+13|0]},this.init=function(t,r){this.set_adjusted_ptr(0),this.set_type(t),this.set_destructor(r),this.set_refcount(0),this.set_caught(!1),this.set_rethrown(!1)},this.add_ref=function(){nt[this.ptr>>2]+=1},this.release_ref=function(){var t=nt[this.ptr>>2];return nt[this.ptr>>2]=t-1,1===t},this.set_adjusted_ptr=function(t){ot[this.ptr+16>>2]=t},this.get_adjusted_ptr=function(){return ot[this.ptr+16>>2]},this.get_exception_ptr=function(){if(ua(this.get_type()))return ot[this.excPtr>>2];var t=this.get_adjusted_ptr();return 0!==t?t:this.excPtr}}function F(){function e(){if(!Jr&&(Jr=!0,i.calledRun=!0,!_t)){if(st=!0,u(at),o(i),i.onRuntimeInitialized&&i.onRuntimeInitialized(),i.postRun)for("function"==typeof i.postRun&&(i.postRun=[i.postRun]);i.postRun.length;)ct.unshift(i.postRun.shift());u(ct)}}if(!(0<ut)){if(i.preRun)for("function"==typeof i.preRun&&(i.preRun=[i.preRun]);i.preRun.length;)pt.unshift(i.preRun.shift());u(pt),0<ut||(i.setStatus?(i.setStatus("Running..."),setTimeout((function(){setTimeout((function(){i.setStatus("")}),1),e()}),1)):e())}}function v(){}function w(t){return(t||v).__cache__}function B(t,r){var o=w(r),_=o[t];return _||((_=Object.create((r||v).prototype)).ptr=t,o[t]=_)}function R(t){if("string"==typeof t){for(var r=0,o=0;o<t.length;++o){var _=t.charCodeAt(o);127>=_?r++:2047>=_?r+=2:55296<=_&&57343>=_?(r+=4,++o):r+=3}if(o=0,0<(_=(r=Array(r+1)).length)){_=o+_-1;for(var i=0;i<t.length;++i){var a=t.charCodeAt(i);if(55296<=a&&57343>=a)a=65536+((1023&a)<<10)|1023&t.charCodeAt(++i);if(127>=a){if(o>=_)break;r[o++]=a}else{if(2047>=a){if(o+1>=_)break;r[o++]=192|a>>6}else{if(65535>=a){if(o+2>=_)break;r[o++]=224|a>>12}else{if(o+3>=_)break;r[o++]=240|a>>18,r[o++]=128|a>>12&63}r[o++]=128|a>>6&63}r[o++]=128|63&a}}r[o]=0}return t=Xr.alloc(r,et),Xr.copy(r,et,t),t}return t}function Z(t){if("object"==typeof t){var r=Xr.alloc(t,et);return Xr.copy(t,et,r),r}return t}function X(){throw"cannot construct a VoidPtr, no constructor in IDL"}function S(){this.ptr=bt(),w(S)[this.ptr]=this}function Q(){this.ptr=Tt(),w(Q)[this.ptr]=this}function V(){this.ptr=jt(),w(V)[this.ptr]=this}function x(){this.ptr=Et(),w(x)[this.ptr]=this}function D(){this.ptr=Ct(),w(D)[this.ptr]=this}function G(){this.ptr=Bt(),w(G)[this.ptr]=this}function H(){this.ptr=kt(),w(H)[this.ptr]=this}function E(){this.ptr=Kt(),w(E)[this.ptr]=this}function T(){this.ptr=ee(),w(T)[this.ptr]=this}function C(){throw"cannot construct a Status, no constructor in IDL"}function I(){this.ptr=pe(),w(I)[this.ptr]=this}function J(){this.ptr=ue(),w(J)[this.ptr]=this}function K(){this.ptr=fe(),w(K)[this.ptr]=this}function L(){this.ptr=Ae(),w(L)[this.ptr]=this}function M(){this.ptr=je(),w(M)[this.ptr]=this}function N(){this.ptr=Oe(),w(N)[this.ptr]=this}function O(){this.ptr=Me(),w(O)[this.ptr]=this}function z(){this.ptr=Fe(),w(z)[this.ptr]=this}function m(){this.ptr=Qe(),w(m)[this.ptr]=this}var o,_,i=void 0!==(r=void 0===r?{}:r)?r:{};i.ready=new Promise((function(t,r){o=t,_=r}));var a=!1,s=!1;i.onRuntimeInitialized=function(){a=!0,s&&"function"==typeof i.onModuleLoaded&&i.onModuleLoaded(i)},i.onModuleParsed=function(){s=!0,a&&"function"==typeof i.onModuleLoaded&&i.onModuleLoaded(i)},i.isVersionSupported=function(t){return"string"==typeof t&&(!(2>(t=t.split(".")).length||3<t.length)&&(1==t[0]&&0<=t[1]&&5>=t[1]||!(0!=t[0]||10<t[1])))};var d=Object.assign({},i),h="object"==typeof window,j="function"==typeof importScripts,P="object"==typeof process&&"object"==typeof process.versions&&"string"==typeof process.versions.node,U="";if(P){var g=require("fs"),$=require("path");U=j?$.dirname(U)+"/":__dirname+"/";var Wa=function(t,r){return t=t.startsWith("file://")?new URL(t):$.normalize(t),g.readFileSync(t,r?void 0:"utf8")},ma=function(t){return(t=Wa(t,!0)).buffer||(t=new Uint8Array(t)),t},na=function(t,r,o){t=t.startsWith("file://")?new URL(t):$.normalize(t),g.readFile(t,(function(t,_){t?o(t):r(_.buffer)}))};1<process.argv.length&&process.argv[1].replace(/\\/g,"/"),process.argv.slice(2),i.inspect=function(){return"[Emscripten Module object]"}}else(h||j)&&(j?U=self.location.href:"undefined"!=typeof document&&document.currentScript&&(U=document.currentScript.src),t&&(U=t),U=0!==U.indexOf("blob:")?U.substr(0,U.replace(/[?#].*/,"").lastIndexOf("/")+1):"",Wa=function(t){var r=new XMLHttpRequest;return r.open("GET",t,!1),r.send(null),r.responseText},j&&(ma=function(t){var r=new XMLHttpRequest;return r.open("GET",t,!1),r.responseType="arraybuffer",r.send(null),new Uint8Array(r.response)}),na=function(t,r,o){var _=new XMLHttpRequest;_.open("GET",t,!0),_.responseType="arraybuffer",_.onload=function(){200==_.status||0==_.status&&_.response?r(_.response):o()},_.onerror=o,_.send(null)});i.print||console.log.bind(console);var W,Y=i.printErr||console.warn.bind(console);Object.assign(i,d),d=null,i.wasmBinary&&(W=i.wasmBinary),"object"!=typeof WebAssembly&&y("no native wasm support detected");var tt,et,rt,nt,ot,_t=!1,it="undefined"!=typeof TextDecoder?new TextDecoder("utf8"):void 0,pt=[],at=[],ct=[],st=!1,ut=0,yt=null,lt=null,mt="draco_decoder_gltf.wasm";mt.startsWith("data:application/octet-stream;base64,")||(mt=function k(t){return i.locateFile?i.locateFile(t,U):U+t}(mt));var ft={b:function(t,r,o){throw new A(t).init(r,o),t},a:function(){y("")},d:function(t,r,o){rt.copyWithin(t,r,r+o)},c:function(t){var r=rt.length;if(2147483648<(t>>>=0))return!1;for(var o=1;4>=o;o*=2){var _=r*(1+.2/o);_=Math.min(_,t+100663296);var i=Math;_=Math.max(t,_),i=i.min.call(i,2147483648,_+(65536-_%65536)%65536);t:{_=tt.buffer;try{tt.grow(i-_.byteLength+65535>>>16),l();var a=1;break t}catch(t){}a=void 0}if(a)return!0}return!1}};!function(){function e(t,r){i.asm=t.exports,tt=i.asm.e,l(),at.unshift(i.asm.f),ut--,i.monitorRunDependencies&&i.monitorRunDependencies(ut),0==ut&&(null!==yt&&(clearInterval(yt),yt=null),lt&&(t=lt,lt=null,t()))}function b(t){e(t.instance)}function c(r){return function q(){if(!W&&(h||j)){if("function"==typeof fetch&&!mt.startsWith("file://"))return fetch(mt,{credentials:"same-origin"}).then((function(t){if(!t.ok)throw"failed to load wasm binary file at '"+mt+"'";return t.arrayBuffer()})).catch((function(){return f(mt)}));if(na)return new Promise((function(t,r){na(mt,(function(r){t(new Uint8Array(r))}),r)}))}return Promise.resolve().then((function(){return f(mt)}))}().then((function(r){return WebAssembly.instantiate(r,t)})).then((function(t){return t})).then(r,(function(t){Y("failed to asynchronously prepare wasm: "+t),y(t)}))}var t={a:ft};if(ut++,i.monitorRunDependencies&&i.monitorRunDependencies(ut),i.instantiateWasm)try{return i.instantiateWasm(t,e)}catch(t){Y("Module.instantiateWasm callback failed with error: "+t),_(t)}(W||"function"!=typeof WebAssembly.instantiateStreaming||mt.startsWith("data:application/octet-stream;base64,")||mt.startsWith("file://")||P||"function"!=typeof fetch?c(b):fetch(mt,{credentials:"same-origin"}).then((function(r){return WebAssembly.instantiateStreaming(r,t).then(b,(function(t){return Y("wasm streaming compile failed: "+t),Y("falling back to ArrayBuffer instantiation"),c(b)}))}))).catch(_)}();var dt=i._emscripten_bind_VoidPtr___destroy___0=function(){return(dt=i._emscripten_bind_VoidPtr___destroy___0=i.asm.h).apply(null,arguments)},bt=i._emscripten_bind_DecoderBuffer_DecoderBuffer_0=function(){return(bt=i._emscripten_bind_DecoderBuffer_DecoderBuffer_0=i.asm.i).apply(null,arguments)},ht=i._emscripten_bind_DecoderBuffer_Init_2=function(){return(ht=i._emscripten_bind_DecoderBuffer_Init_2=i.asm.j).apply(null,arguments)},At=i._emscripten_bind_DecoderBuffer___destroy___0=function(){return(At=i._emscripten_bind_DecoderBuffer___destroy___0=i.asm.k).apply(null,arguments)},Tt=i._emscripten_bind_AttributeTransformData_AttributeTransformData_0=function(){return(Tt=i._emscripten_bind_AttributeTransformData_AttributeTransformData_0=i.asm.l).apply(null,arguments)},Dt=i._emscripten_bind_AttributeTransformData_transform_type_0=function(){return(Dt=i._emscripten_bind_AttributeTransformData_transform_type_0=i.asm.m).apply(null,arguments)},It=i._emscripten_bind_AttributeTransformData___destroy___0=function(){return(It=i._emscripten_bind_AttributeTransformData___destroy___0=i.asm.n).apply(null,arguments)},jt=i._emscripten_bind_GeometryAttribute_GeometryAttribute_0=function(){return(jt=i._emscripten_bind_GeometryAttribute_GeometryAttribute_0=i.asm.o).apply(null,arguments)},vt=i._emscripten_bind_GeometryAttribute___destroy___0=function(){return(vt=i._emscripten_bind_GeometryAttribute___destroy___0=i.asm.p).apply(null,arguments)},Et=i._emscripten_bind_PointAttribute_PointAttribute_0=function(){return(Et=i._emscripten_bind_PointAttribute_PointAttribute_0=i.asm.q).apply(null,arguments)},Gt=i._emscripten_bind_PointAttribute_size_0=function(){return(Gt=i._emscripten_bind_PointAttribute_size_0=i.asm.r).apply(null,arguments)},Ot=i._emscripten_bind_PointAttribute_GetAttributeTransformData_0=function(){return(Ot=i._emscripten_bind_PointAttribute_GetAttributeTransformData_0=i.asm.s).apply(null,arguments)},Pt=i._emscripten_bind_PointAttribute_attribute_type_0=function(){return(Pt=i._emscripten_bind_PointAttribute_attribute_type_0=i.asm.t).apply(null,arguments)},Rt=i._emscripten_bind_PointAttribute_data_type_0=function(){return(Rt=i._emscripten_bind_PointAttribute_data_type_0=i.asm.u).apply(null,arguments)},St=i._emscripten_bind_PointAttribute_num_components_0=function(){return(St=i._emscripten_bind_PointAttribute_num_components_0=i.asm.v).apply(null,arguments)},Mt=i._emscripten_bind_PointAttribute_normalized_0=function(){return(Mt=i._emscripten_bind_PointAttribute_normalized_0=i.asm.w).apply(null,arguments)},Nt=i._emscripten_bind_PointAttribute_byte_stride_0=function(){return(Nt=i._emscripten_bind_PointAttribute_byte_stride_0=i.asm.x).apply(null,arguments)},Ut=i._emscripten_bind_PointAttribute_byte_offset_0=function(){return(Ut=i._emscripten_bind_PointAttribute_byte_offset_0=i.asm.y).apply(null,arguments)},gt=i._emscripten_bind_PointAttribute_unique_id_0=function(){return(gt=i._emscripten_bind_PointAttribute_unique_id_0=i.asm.z).apply(null,arguments)},Ft=i._emscripten_bind_PointAttribute___destroy___0=function(){return(Ft=i._emscripten_bind_PointAttribute___destroy___0=i.asm.A).apply(null,arguments)},Ct=i._emscripten_bind_AttributeQuantizationTransform_AttributeQuantizationTransform_0=function(){return(Ct=i._emscripten_bind_AttributeQuantizationTransform_AttributeQuantizationTransform_0=i.asm.B).apply(null,arguments)},Lt=i._emscripten_bind_AttributeQuantizationTransform_InitFromAttribute_1=function(){return(Lt=i._emscripten_bind_AttributeQuantizationTransform_InitFromAttribute_1=i.asm.C).apply(null,arguments)},wt=i._emscripten_bind_AttributeQuantizationTransform_quantization_bits_0=function(){return(wt=i._emscripten_bind_AttributeQuantizationTransform_quantization_bits_0=i.asm.D).apply(null,arguments)},$t=i._emscripten_bind_AttributeQuantizationTransform_min_value_1=function(){return($t=i._emscripten_bind_AttributeQuantizationTransform_min_value_1=i.asm.E).apply(null,arguments)},zt=i._emscripten_bind_AttributeQuantizationTransform_range_0=function(){return(zt=i._emscripten_bind_AttributeQuantizationTransform_range_0=i.asm.F).apply(null,arguments)},Vt=i._emscripten_bind_AttributeQuantizationTransform___destroy___0=function(){return(Vt=i._emscripten_bind_AttributeQuantizationTransform___destroy___0=i.asm.G).apply(null,arguments)},Bt=i._emscripten_bind_AttributeOctahedronTransform_AttributeOctahedronTransform_0=function(){return(Bt=i._emscripten_bind_AttributeOctahedronTransform_AttributeOctahedronTransform_0=i.asm.H).apply(null,arguments)},xt=i._emscripten_bind_AttributeOctahedronTransform_InitFromAttribute_1=function(){return(xt=i._emscripten_bind_AttributeOctahedronTransform_InitFromAttribute_1=i.asm.I).apply(null,arguments)},Qt=i._emscripten_bind_AttributeOctahedronTransform_quantization_bits_0=function(){return(Qt=i._emscripten_bind_AttributeOctahedronTransform_quantization_bits_0=i.asm.J).apply(null,arguments)},Wt=i._emscripten_bind_AttributeOctahedronTransform___destroy___0=function(){return(Wt=i._emscripten_bind_AttributeOctahedronTransform___destroy___0=i.asm.K).apply(null,arguments)},kt=i._emscripten_bind_PointCloud_PointCloud_0=function(){return(kt=i._emscripten_bind_PointCloud_PointCloud_0=i.asm.L).apply(null,arguments)},Ht=i._emscripten_bind_PointCloud_num_attributes_0=function(){return(Ht=i._emscripten_bind_PointCloud_num_attributes_0=i.asm.M).apply(null,arguments)},Yt=i._emscripten_bind_PointCloud_num_points_0=function(){return(Yt=i._emscripten_bind_PointCloud_num_points_0=i.asm.N).apply(null,arguments)},qt=i._emscripten_bind_PointCloud___destroy___0=function(){return(qt=i._emscripten_bind_PointCloud___destroy___0=i.asm.O).apply(null,arguments)},Kt=i._emscripten_bind_Mesh_Mesh_0=function(){return(Kt=i._emscripten_bind_Mesh_Mesh_0=i.asm.P).apply(null,arguments)},Jt=i._emscripten_bind_Mesh_num_faces_0=function(){return(Jt=i._emscripten_bind_Mesh_num_faces_0=i.asm.Q).apply(null,arguments)},Xt=i._emscripten_bind_Mesh_num_attributes_0=function(){return(Xt=i._emscripten_bind_Mesh_num_attributes_0=i.asm.R).apply(null,arguments)},Zt=i._emscripten_bind_Mesh_num_points_0=function(){return(Zt=i._emscripten_bind_Mesh_num_points_0=i.asm.S).apply(null,arguments)},te=i._emscripten_bind_Mesh___destroy___0=function(){return(te=i._emscripten_bind_Mesh___destroy___0=i.asm.T).apply(null,arguments)},ee=i._emscripten_bind_Metadata_Metadata_0=function(){return(ee=i._emscripten_bind_Metadata_Metadata_0=i.asm.U).apply(null,arguments)},re=i._emscripten_bind_Metadata___destroy___0=function(){return(re=i._emscripten_bind_Metadata___destroy___0=i.asm.V).apply(null,arguments)},ne=i._emscripten_bind_Status_code_0=function(){return(ne=i._emscripten_bind_Status_code_0=i.asm.W).apply(null,arguments)},oe=i._emscripten_bind_Status_ok_0=function(){return(oe=i._emscripten_bind_Status_ok_0=i.asm.X).apply(null,arguments)},_e=i._emscripten_bind_Status_error_msg_0=function(){return(_e=i._emscripten_bind_Status_error_msg_0=i.asm.Y).apply(null,arguments)},ie=i._emscripten_bind_Status___destroy___0=function(){return(ie=i._emscripten_bind_Status___destroy___0=i.asm.Z).apply(null,arguments)},pe=i._emscripten_bind_DracoFloat32Array_DracoFloat32Array_0=function(){return(pe=i._emscripten_bind_DracoFloat32Array_DracoFloat32Array_0=i.asm._).apply(null,arguments)},ae=i._emscripten_bind_DracoFloat32Array_GetValue_1=function(){return(ae=i._emscripten_bind_DracoFloat32Array_GetValue_1=i.asm.$).apply(null,arguments)},ce=i._emscripten_bind_DracoFloat32Array_size_0=function(){return(ce=i._emscripten_bind_DracoFloat32Array_size_0=i.asm.aa).apply(null,arguments)},se=i._emscripten_bind_DracoFloat32Array___destroy___0=function(){return(se=i._emscripten_bind_DracoFloat32Array___destroy___0=i.asm.ba).apply(null,arguments)},ue=i._emscripten_bind_DracoInt8Array_DracoInt8Array_0=function(){return(ue=i._emscripten_bind_DracoInt8Array_DracoInt8Array_0=i.asm.ca).apply(null,arguments)},ye=i._emscripten_bind_DracoInt8Array_GetValue_1=function(){return(ye=i._emscripten_bind_DracoInt8Array_GetValue_1=i.asm.da).apply(null,arguments)},le=i._emscripten_bind_DracoInt8Array_size_0=function(){return(le=i._emscripten_bind_DracoInt8Array_size_0=i.asm.ea).apply(null,arguments)},me=i._emscripten_bind_DracoInt8Array___destroy___0=function(){return(me=i._emscripten_bind_DracoInt8Array___destroy___0=i.asm.fa).apply(null,arguments)},fe=i._emscripten_bind_DracoUInt8Array_DracoUInt8Array_0=function(){return(fe=i._emscripten_bind_DracoUInt8Array_DracoUInt8Array_0=i.asm.ga).apply(null,arguments)},de=i._emscripten_bind_DracoUInt8Array_GetValue_1=function(){return(de=i._emscripten_bind_DracoUInt8Array_GetValue_1=i.asm.ha).apply(null,arguments)},be=i._emscripten_bind_DracoUInt8Array_size_0=function(){return(be=i._emscripten_bind_DracoUInt8Array_size_0=i.asm.ia).apply(null,arguments)},he=i._emscripten_bind_DracoUInt8Array___destroy___0=function(){return(he=i._emscripten_bind_DracoUInt8Array___destroy___0=i.asm.ja).apply(null,arguments)},Ae=i._emscripten_bind_DracoInt16Array_DracoInt16Array_0=function(){return(Ae=i._emscripten_bind_DracoInt16Array_DracoInt16Array_0=i.asm.ka).apply(null,arguments)},Te=i._emscripten_bind_DracoInt16Array_GetValue_1=function(){return(Te=i._emscripten_bind_DracoInt16Array_GetValue_1=i.asm.la).apply(null,arguments)},De=i._emscripten_bind_DracoInt16Array_size_0=function(){return(De=i._emscripten_bind_DracoInt16Array_size_0=i.asm.ma).apply(null,arguments)},Ie=i._emscripten_bind_DracoInt16Array___destroy___0=function(){return(Ie=i._emscripten_bind_DracoInt16Array___destroy___0=i.asm.na).apply(null,arguments)},je=i._emscripten_bind_DracoUInt16Array_DracoUInt16Array_0=function(){return(je=i._emscripten_bind_DracoUInt16Array_DracoUInt16Array_0=i.asm.oa).apply(null,arguments)},ve=i._emscripten_bind_DracoUInt16Array_GetValue_1=function(){return(ve=i._emscripten_bind_DracoUInt16Array_GetValue_1=i.asm.pa).apply(null,arguments)},Ee=i._emscripten_bind_DracoUInt16Array_size_0=function(){return(Ee=i._emscripten_bind_DracoUInt16Array_size_0=i.asm.qa).apply(null,arguments)},Ge=i._emscripten_bind_DracoUInt16Array___destroy___0=function(){return(Ge=i._emscripten_bind_DracoUInt16Array___destroy___0=i.asm.ra).apply(null,arguments)},Oe=i._emscripten_bind_DracoInt32Array_DracoInt32Array_0=function(){return(Oe=i._emscripten_bind_DracoInt32Array_DracoInt32Array_0=i.asm.sa).apply(null,arguments)},Pe=i._emscripten_bind_DracoInt32Array_GetValue_1=function(){return(Pe=i._emscripten_bind_DracoInt32Array_GetValue_1=i.asm.ta).apply(null,arguments)},Re=i._emscripten_bind_DracoInt32Array_size_0=function(){return(Re=i._emscripten_bind_DracoInt32Array_size_0=i.asm.ua).apply(null,arguments)},Se=i._emscripten_bind_DracoInt32Array___destroy___0=function(){return(Se=i._emscripten_bind_DracoInt32Array___destroy___0=i.asm.va).apply(null,arguments)},Me=i._emscripten_bind_DracoUInt32Array_DracoUInt32Array_0=function(){return(Me=i._emscripten_bind_DracoUInt32Array_DracoUInt32Array_0=i.asm.wa).apply(null,arguments)},Ne=i._emscripten_bind_DracoUInt32Array_GetValue_1=function(){return(Ne=i._emscripten_bind_DracoUInt32Array_GetValue_1=i.asm.xa).apply(null,arguments)},Ue=i._emscripten_bind_DracoUInt32Array_size_0=function(){return(Ue=i._emscripten_bind_DracoUInt32Array_size_0=i.asm.ya).apply(null,arguments)},ge=i._emscripten_bind_DracoUInt32Array___destroy___0=function(){return(ge=i._emscripten_bind_DracoUInt32Array___destroy___0=i.asm.za).apply(null,arguments)},Fe=i._emscripten_bind_MetadataQuerier_MetadataQuerier_0=function(){return(Fe=i._emscripten_bind_MetadataQuerier_MetadataQuerier_0=i.asm.Aa).apply(null,arguments)},Ce=i._emscripten_bind_MetadataQuerier_HasEntry_2=function(){return(Ce=i._emscripten_bind_MetadataQuerier_HasEntry_2=i.asm.Ba).apply(null,arguments)},Le=i._emscripten_bind_MetadataQuerier_GetIntEntry_2=function(){return(Le=i._emscripten_bind_MetadataQuerier_GetIntEntry_2=i.asm.Ca).apply(null,arguments)},we=i._emscripten_bind_MetadataQuerier_GetIntEntryArray_3=function(){return(we=i._emscripten_bind_MetadataQuerier_GetIntEntryArray_3=i.asm.Da).apply(null,arguments)},$e=i._emscripten_bind_MetadataQuerier_GetDoubleEntry_2=function(){return($e=i._emscripten_bind_MetadataQuerier_GetDoubleEntry_2=i.asm.Ea).apply(null,arguments)},ze=i._emscripten_bind_MetadataQuerier_GetStringEntry_2=function(){return(ze=i._emscripten_bind_MetadataQuerier_GetStringEntry_2=i.asm.Fa).apply(null,arguments)},Ve=i._emscripten_bind_MetadataQuerier_NumEntries_1=function(){return(Ve=i._emscripten_bind_MetadataQuerier_NumEntries_1=i.asm.Ga).apply(null,arguments)},Be=i._emscripten_bind_MetadataQuerier_GetEntryName_2=function(){return(Be=i._emscripten_bind_MetadataQuerier_GetEntryName_2=i.asm.Ha).apply(null,arguments)},xe=i._emscripten_bind_MetadataQuerier___destroy___0=function(){return(xe=i._emscripten_bind_MetadataQuerier___destroy___0=i.asm.Ia).apply(null,arguments)},Qe=i._emscripten_bind_Decoder_Decoder_0=function(){return(Qe=i._emscripten_bind_Decoder_Decoder_0=i.asm.Ja).apply(null,arguments)},We=i._emscripten_bind_Decoder_DecodeArrayToPointCloud_3=function(){return(We=i._emscripten_bind_Decoder_DecodeArrayToPointCloud_3=i.asm.Ka).apply(null,arguments)},ke=i._emscripten_bind_Decoder_DecodeArrayToMesh_3=function(){return(ke=i._emscripten_bind_Decoder_DecodeArrayToMesh_3=i.asm.La).apply(null,arguments)},He=i._emscripten_bind_Decoder_GetAttributeId_2=function(){return(He=i._emscripten_bind_Decoder_GetAttributeId_2=i.asm.Ma).apply(null,arguments)},Ye=i._emscripten_bind_Decoder_GetAttributeIdByName_2=function(){return(Ye=i._emscripten_bind_Decoder_GetAttributeIdByName_2=i.asm.Na).apply(null,arguments)},qe=i._emscripten_bind_Decoder_GetAttributeIdByMetadataEntry_3=function(){return(qe=i._emscripten_bind_Decoder_GetAttributeIdByMetadataEntry_3=i.asm.Oa).apply(null,arguments)},Ke=i._emscripten_bind_Decoder_GetAttribute_2=function(){return(Ke=i._emscripten_bind_Decoder_GetAttribute_2=i.asm.Pa).apply(null,arguments)},Je=i._emscripten_bind_Decoder_GetAttributeByUniqueId_2=function(){return(Je=i._emscripten_bind_Decoder_GetAttributeByUniqueId_2=i.asm.Qa).apply(null,arguments)},Xe=i._emscripten_bind_Decoder_GetMetadata_1=function(){return(Xe=i._emscripten_bind_Decoder_GetMetadata_1=i.asm.Ra).apply(null,arguments)},Ze=i._emscripten_bind_Decoder_GetAttributeMetadata_2=function(){return(Ze=i._emscripten_bind_Decoder_GetAttributeMetadata_2=i.asm.Sa).apply(null,arguments)},tr=i._emscripten_bind_Decoder_GetFaceFromMesh_3=function(){return(tr=i._emscripten_bind_Decoder_GetFaceFromMesh_3=i.asm.Ta).apply(null,arguments)},er=i._emscripten_bind_Decoder_GetTriangleStripsFromMesh_2=function(){return(er=i._emscripten_bind_Decoder_GetTriangleStripsFromMesh_2=i.asm.Ua).apply(null,arguments)},rr=i._emscripten_bind_Decoder_GetTrianglesUInt16Array_3=function(){return(rr=i._emscripten_bind_Decoder_GetTrianglesUInt16Array_3=i.asm.Va).apply(null,arguments)},nr=i._emscripten_bind_Decoder_GetTrianglesUInt32Array_3=function(){return(nr=i._emscripten_bind_Decoder_GetTrianglesUInt32Array_3=i.asm.Wa).apply(null,arguments)},or=i._emscripten_bind_Decoder_GetAttributeFloat_3=function(){return(or=i._emscripten_bind_Decoder_GetAttributeFloat_3=i.asm.Xa).apply(null,arguments)},_r=i._emscripten_bind_Decoder_GetAttributeFloatForAllPoints_3=function(){return(_r=i._emscripten_bind_Decoder_GetAttributeFloatForAllPoints_3=i.asm.Ya).apply(null,arguments)},ir=i._emscripten_bind_Decoder_GetAttributeIntForAllPoints_3=function(){return(ir=i._emscripten_bind_Decoder_GetAttributeIntForAllPoints_3=i.asm.Za).apply(null,arguments)},pr=i._emscripten_bind_Decoder_GetAttributeInt8ForAllPoints_3=function(){return(pr=i._emscripten_bind_Decoder_GetAttributeInt8ForAllPoints_3=i.asm._a).apply(null,arguments)},ar=i._emscripten_bind_Decoder_GetAttributeUInt8ForAllPoints_3=function(){return(ar=i._emscripten_bind_Decoder_GetAttributeUInt8ForAllPoints_3=i.asm.$a).apply(null,arguments)},cr=i._emscripten_bind_Decoder_GetAttributeInt16ForAllPoints_3=function(){return(cr=i._emscripten_bind_Decoder_GetAttributeInt16ForAllPoints_3=i.asm.ab).apply(null,arguments)},sr=i._emscripten_bind_Decoder_GetAttributeUInt16ForAllPoints_3=function(){return(sr=i._emscripten_bind_Decoder_GetAttributeUInt16ForAllPoints_3=i.asm.bb).apply(null,arguments)},ur=i._emscripten_bind_Decoder_GetAttributeInt32ForAllPoints_3=function(){return(ur=i._emscripten_bind_Decoder_GetAttributeInt32ForAllPoints_3=i.asm.cb).apply(null,arguments)},yr=i._emscripten_bind_Decoder_GetAttributeUInt32ForAllPoints_3=function(){return(yr=i._emscripten_bind_Decoder_GetAttributeUInt32ForAllPoints_3=i.asm.db).apply(null,arguments)},lr=i._emscripten_bind_Decoder_GetAttributeDataArrayForAllPoints_5=function(){return(lr=i._emscripten_bind_Decoder_GetAttributeDataArrayForAllPoints_5=i.asm.eb).apply(null,arguments)},mr=i._emscripten_bind_Decoder_SkipAttributeTransform_1=function(){return(mr=i._emscripten_bind_Decoder_SkipAttributeTransform_1=i.asm.fb).apply(null,arguments)},fr=i._emscripten_bind_Decoder_GetEncodedGeometryType_Deprecated_1=function(){return(fr=i._emscripten_bind_Decoder_GetEncodedGeometryType_Deprecated_1=i.asm.gb).apply(null,arguments)},dr=i._emscripten_bind_Decoder_DecodeBufferToPointCloud_2=function(){return(dr=i._emscripten_bind_Decoder_DecodeBufferToPointCloud_2=i.asm.hb).apply(null,arguments)},br=i._emscripten_bind_Decoder_DecodeBufferToMesh_2=function(){return(br=i._emscripten_bind_Decoder_DecodeBufferToMesh_2=i.asm.ib).apply(null,arguments)},hr=i._emscripten_bind_Decoder___destroy___0=function(){return(hr=i._emscripten_bind_Decoder___destroy___0=i.asm.jb).apply(null,arguments)},Ar=i._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_INVALID_TRANSFORM=function(){return(Ar=i._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_INVALID_TRANSFORM=i.asm.kb).apply(null,arguments)},Tr=i._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_NO_TRANSFORM=function(){return(Tr=i._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_NO_TRANSFORM=i.asm.lb).apply(null,arguments)},Dr=i._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_QUANTIZATION_TRANSFORM=function(){return(Dr=i._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_QUANTIZATION_TRANSFORM=i.asm.mb).apply(null,arguments)},Ir=i._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_OCTAHEDRON_TRANSFORM=function(){return(Ir=i._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_OCTAHEDRON_TRANSFORM=i.asm.nb).apply(null,arguments)},jr=i._emscripten_enum_draco_GeometryAttribute_Type_INVALID=function(){return(jr=i._emscripten_enum_draco_GeometryAttribute_Type_INVALID=i.asm.ob).apply(null,arguments)},vr=i._emscripten_enum_draco_GeometryAttribute_Type_POSITION=function(){return(vr=i._emscripten_enum_draco_GeometryAttribute_Type_POSITION=i.asm.pb).apply(null,arguments)},Er=i._emscripten_enum_draco_GeometryAttribute_Type_NORMAL=function(){return(Er=i._emscripten_enum_draco_GeometryAttribute_Type_NORMAL=i.asm.qb).apply(null,arguments)},Gr=i._emscripten_enum_draco_GeometryAttribute_Type_COLOR=function(){return(Gr=i._emscripten_enum_draco_GeometryAttribute_Type_COLOR=i.asm.rb).apply(null,arguments)},Or=i._emscripten_enum_draco_GeometryAttribute_Type_TEX_COORD=function(){return(Or=i._emscripten_enum_draco_GeometryAttribute_Type_TEX_COORD=i.asm.sb).apply(null,arguments)},Pr=i._emscripten_enum_draco_GeometryAttribute_Type_GENERIC=function(){return(Pr=i._emscripten_enum_draco_GeometryAttribute_Type_GENERIC=i.asm.tb).apply(null,arguments)},Rr=i._emscripten_enum_draco_EncodedGeometryType_INVALID_GEOMETRY_TYPE=function(){return(Rr=i._emscripten_enum_draco_EncodedGeometryType_INVALID_GEOMETRY_TYPE=i.asm.ub).apply(null,arguments)},Sr=i._emscripten_enum_draco_EncodedGeometryType_POINT_CLOUD=function(){return(Sr=i._emscripten_enum_draco_EncodedGeometryType_POINT_CLOUD=i.asm.vb).apply(null,arguments)},Mr=i._emscripten_enum_draco_EncodedGeometryType_TRIANGULAR_MESH=function(){return(Mr=i._emscripten_enum_draco_EncodedGeometryType_TRIANGULAR_MESH=i.asm.wb).apply(null,arguments)},Nr=i._emscripten_enum_draco_DataType_DT_INVALID=function(){return(Nr=i._emscripten_enum_draco_DataType_DT_INVALID=i.asm.xb).apply(null,arguments)},Ur=i._emscripten_enum_draco_DataType_DT_INT8=function(){return(Ur=i._emscripten_enum_draco_DataType_DT_INT8=i.asm.yb).apply(null,arguments)},gr=i._emscripten_enum_draco_DataType_DT_UINT8=function(){return(gr=i._emscripten_enum_draco_DataType_DT_UINT8=i.asm.zb).apply(null,arguments)},Fr=i._emscripten_enum_draco_DataType_DT_INT16=function(){return(Fr=i._emscripten_enum_draco_DataType_DT_INT16=i.asm.Ab).apply(null,arguments)},Cr=i._emscripten_enum_draco_DataType_DT_UINT16=function(){return(Cr=i._emscripten_enum_draco_DataType_DT_UINT16=i.asm.Bb).apply(null,arguments)},Lr=i._emscripten_enum_draco_DataType_DT_INT32=function(){return(Lr=i._emscripten_enum_draco_DataType_DT_INT32=i.asm.Cb).apply(null,arguments)},wr=i._emscripten_enum_draco_DataType_DT_UINT32=function(){return(wr=i._emscripten_enum_draco_DataType_DT_UINT32=i.asm.Db).apply(null,arguments)},$r=i._emscripten_enum_draco_DataType_DT_INT64=function(){return($r=i._emscripten_enum_draco_DataType_DT_INT64=i.asm.Eb).apply(null,arguments)},zr=i._emscripten_enum_draco_DataType_DT_UINT64=function(){return(zr=i._emscripten_enum_draco_DataType_DT_UINT64=i.asm.Fb).apply(null,arguments)},Vr=i._emscripten_enum_draco_DataType_DT_FLOAT32=function(){return(Vr=i._emscripten_enum_draco_DataType_DT_FLOAT32=i.asm.Gb).apply(null,arguments)},Br=i._emscripten_enum_draco_DataType_DT_FLOAT64=function(){return(Br=i._emscripten_enum_draco_DataType_DT_FLOAT64=i.asm.Hb).apply(null,arguments)},xr=i._emscripten_enum_draco_DataType_DT_BOOL=function(){return(xr=i._emscripten_enum_draco_DataType_DT_BOOL=i.asm.Ib).apply(null,arguments)},Qr=i._emscripten_enum_draco_DataType_DT_TYPES_COUNT=function(){return(Qr=i._emscripten_enum_draco_DataType_DT_TYPES_COUNT=i.asm.Jb).apply(null,arguments)},Wr=i._emscripten_enum_draco_StatusCode_OK=function(){return(Wr=i._emscripten_enum_draco_StatusCode_OK=i.asm.Kb).apply(null,arguments)},kr=i._emscripten_enum_draco_StatusCode_DRACO_ERROR=function(){return(kr=i._emscripten_enum_draco_StatusCode_DRACO_ERROR=i.asm.Lb).apply(null,arguments)},Hr=i._emscripten_enum_draco_StatusCode_IO_ERROR=function(){return(Hr=i._emscripten_enum_draco_StatusCode_IO_ERROR=i.asm.Mb).apply(null,arguments)},Yr=i._emscripten_enum_draco_StatusCode_INVALID_PARAMETER=function(){return(Yr=i._emscripten_enum_draco_StatusCode_INVALID_PARAMETER=i.asm.Nb).apply(null,arguments)},qr=i._emscripten_enum_draco_StatusCode_UNSUPPORTED_VERSION=function(){return(qr=i._emscripten_enum_draco_StatusCode_UNSUPPORTED_VERSION=i.asm.Ob).apply(null,arguments)},Kr=i._emscripten_enum_draco_StatusCode_UNKNOWN_VERSION=function(){return(Kr=i._emscripten_enum_draco_StatusCode_UNKNOWN_VERSION=i.asm.Pb).apply(null,arguments)};i._malloc=function(){return(i._malloc=i.asm.Qb).apply(null,arguments)},i._free=function(){return(i._free=i.asm.Rb).apply(null,arguments)};var Jr,ua=function(){return(ua=i.asm.Sb).apply(null,arguments)};if(i.___start_em_js=11660,i.___stop_em_js=11758,lt=function b(){Jr||F(),Jr||(lt=b)},i.preInit)for("function"==typeof i.preInit&&(i.preInit=[i.preInit]);0<i.preInit.length;)i.preInit.pop()();F(),v.prototype=Object.create(v.prototype),v.prototype.constructor=v,v.prototype.__class__=v,v.__cache__={},i.WrapperObject=v,i.getCache=w,i.wrapPointer=B,i.castObject=function(t,r){return B(t.ptr,r)},i.NULL=B(0),i.destroy=function(t){if(!t.__destroy__)throw"Error: Cannot destroy object. (Did you create it yourself?)";t.__destroy__(),delete w(t.__class__)[t.ptr]},i.compare=function(t,r){return t.ptr===r.ptr},i.getPointer=function(t){return t.ptr},i.getClass=function(t){return t.__class__};var Xr={buffer:0,size:0,pos:0,temps:[],needed:0,prepare:function(){if(Xr.needed){for(var t=0;t<Xr.temps.length;t++)i._free(Xr.temps[t]);Xr.temps.length=0,i._free(Xr.buffer),Xr.buffer=0,Xr.size+=Xr.needed,Xr.needed=0}Xr.buffer||(Xr.size+=128,Xr.buffer=i._malloc(Xr.size),Xr.buffer||y(void 0)),Xr.pos=0},alloc:function(t,r){return Xr.buffer||y(void 0),t=(t=t.length*r.BYTES_PER_ELEMENT)+7&-8,Xr.pos+t>=Xr.size?(0<t||y(void 0),Xr.needed+=t,r=i._malloc(t),Xr.temps.push(r)):(r=Xr.buffer+Xr.pos,Xr.pos+=t),r},copy:function(t,r,o){switch(o>>>=0,r.BYTES_PER_ELEMENT){case 2:o>>>=1;break;case 4:o>>>=2;break;case 8:o>>>=3}for(var _=0;_<t.length;_++)r[o+_]=t[_]}};return X.prototype=Object.create(v.prototype),X.prototype.constructor=X,X.prototype.__class__=X,X.__cache__={},i.VoidPtr=X,X.prototype.__destroy__=X.prototype.__destroy__=function(){dt(this.ptr)},S.prototype=Object.create(v.prototype),S.prototype.constructor=S,S.prototype.__class__=S,S.__cache__={},i.DecoderBuffer=S,S.prototype.Init=S.prototype.Init=function(t,r){var o=this.ptr;Xr.prepare(),"object"==typeof t&&(t=Z(t)),r&&"object"==typeof r&&(r=r.ptr),ht(o,t,r)},S.prototype.__destroy__=S.prototype.__destroy__=function(){At(this.ptr)},Q.prototype=Object.create(v.prototype),Q.prototype.constructor=Q,Q.prototype.__class__=Q,Q.__cache__={},i.AttributeTransformData=Q,Q.prototype.transform_type=Q.prototype.transform_type=function(){return Dt(this.ptr)},Q.prototype.__destroy__=Q.prototype.__destroy__=function(){It(this.ptr)},V.prototype=Object.create(v.prototype),V.prototype.constructor=V,V.prototype.__class__=V,V.__cache__={},i.GeometryAttribute=V,V.prototype.__destroy__=V.prototype.__destroy__=function(){vt(this.ptr)},x.prototype=Object.create(v.prototype),x.prototype.constructor=x,x.prototype.__class__=x,x.__cache__={},i.PointAttribute=x,x.prototype.size=x.prototype.size=function(){return Gt(this.ptr)},x.prototype.GetAttributeTransformData=x.prototype.GetAttributeTransformData=function(){return B(Ot(this.ptr),Q)},x.prototype.attribute_type=x.prototype.attribute_type=function(){return Pt(this.ptr)},x.prototype.data_type=x.prototype.data_type=function(){return Rt(this.ptr)},x.prototype.num_components=x.prototype.num_components=function(){return St(this.ptr)},x.prototype.normalized=x.prototype.normalized=function(){return!!Mt(this.ptr)},x.prototype.byte_stride=x.prototype.byte_stride=function(){return Nt(this.ptr)},x.prototype.byte_offset=x.prototype.byte_offset=function(){return Ut(this.ptr)},x.prototype.unique_id=x.prototype.unique_id=function(){return gt(this.ptr)},x.prototype.__destroy__=x.prototype.__destroy__=function(){Ft(this.ptr)},D.prototype=Object.create(v.prototype),D.prototype.constructor=D,D.prototype.__class__=D,D.__cache__={},i.AttributeQuantizationTransform=D,D.prototype.InitFromAttribute=D.prototype.InitFromAttribute=function(t){var r=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),!!Lt(r,t)},D.prototype.quantization_bits=D.prototype.quantization_bits=function(){return wt(this.ptr)},D.prototype.min_value=D.prototype.min_value=function(t){var r=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),$t(r,t)},D.prototype.range=D.prototype.range=function(){return zt(this.ptr)},D.prototype.__destroy__=D.prototype.__destroy__=function(){Vt(this.ptr)},G.prototype=Object.create(v.prototype),G.prototype.constructor=G,G.prototype.__class__=G,G.__cache__={},i.AttributeOctahedronTransform=G,G.prototype.InitFromAttribute=G.prototype.InitFromAttribute=function(t){var r=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),!!xt(r,t)},G.prototype.quantization_bits=G.prototype.quantization_bits=function(){return Qt(this.ptr)},G.prototype.__destroy__=G.prototype.__destroy__=function(){Wt(this.ptr)},H.prototype=Object.create(v.prototype),H.prototype.constructor=H,H.prototype.__class__=H,H.__cache__={},i.PointCloud=H,H.prototype.num_attributes=H.prototype.num_attributes=function(){return Ht(this.ptr)},H.prototype.num_points=H.prototype.num_points=function(){return Yt(this.ptr)},H.prototype.__destroy__=H.prototype.__destroy__=function(){qt(this.ptr)},E.prototype=Object.create(v.prototype),E.prototype.constructor=E,E.prototype.__class__=E,E.__cache__={},i.Mesh=E,E.prototype.num_faces=E.prototype.num_faces=function(){return Jt(this.ptr)},E.prototype.num_attributes=E.prototype.num_attributes=function(){return Xt(this.ptr)},E.prototype.num_points=E.prototype.num_points=function(){return Zt(this.ptr)},E.prototype.__destroy__=E.prototype.__destroy__=function(){te(this.ptr)},T.prototype=Object.create(v.prototype),T.prototype.constructor=T,T.prototype.__class__=T,T.__cache__={},i.Metadata=T,T.prototype.__destroy__=T.prototype.__destroy__=function(){re(this.ptr)},C.prototype=Object.create(v.prototype),C.prototype.constructor=C,C.prototype.__class__=C,C.__cache__={},i.Status=C,C.prototype.code=C.prototype.code=function(){return ne(this.ptr)},C.prototype.ok=C.prototype.ok=function(){return!!oe(this.ptr)},C.prototype.error_msg=C.prototype.error_msg=function(){return p(_e(this.ptr))},C.prototype.__destroy__=C.prototype.__destroy__=function(){ie(this.ptr)},I.prototype=Object.create(v.prototype),I.prototype.constructor=I,I.prototype.__class__=I,I.__cache__={},i.DracoFloat32Array=I,I.prototype.GetValue=I.prototype.GetValue=function(t){var r=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),ae(r,t)},I.prototype.size=I.prototype.size=function(){return ce(this.ptr)},I.prototype.__destroy__=I.prototype.__destroy__=function(){se(this.ptr)},J.prototype=Object.create(v.prototype),J.prototype.constructor=J,J.prototype.__class__=J,J.__cache__={},i.DracoInt8Array=J,J.prototype.GetValue=J.prototype.GetValue=function(t){var r=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),ye(r,t)},J.prototype.size=J.prototype.size=function(){return le(this.ptr)},J.prototype.__destroy__=J.prototype.__destroy__=function(){me(this.ptr)},K.prototype=Object.create(v.prototype),K.prototype.constructor=K,K.prototype.__class__=K,K.__cache__={},i.DracoUInt8Array=K,K.prototype.GetValue=K.prototype.GetValue=function(t){var r=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),de(r,t)},K.prototype.size=K.prototype.size=function(){return be(this.ptr)},K.prototype.__destroy__=K.prototype.__destroy__=function(){he(this.ptr)},L.prototype=Object.create(v.prototype),L.prototype.constructor=L,L.prototype.__class__=L,L.__cache__={},i.DracoInt16Array=L,L.prototype.GetValue=L.prototype.GetValue=function(t){var r=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),Te(r,t)},L.prototype.size=L.prototype.size=function(){return De(this.ptr)},L.prototype.__destroy__=L.prototype.__destroy__=function(){Ie(this.ptr)},M.prototype=Object.create(v.prototype),M.prototype.constructor=M,M.prototype.__class__=M,M.__cache__={},i.DracoUInt16Array=M,M.prototype.GetValue=M.prototype.GetValue=function(t){var r=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),ve(r,t)},M.prototype.size=M.prototype.size=function(){return Ee(this.ptr)},M.prototype.__destroy__=M.prototype.__destroy__=function(){Ge(this.ptr)},N.prototype=Object.create(v.prototype),N.prototype.constructor=N,N.prototype.__class__=N,N.__cache__={},i.DracoInt32Array=N,N.prototype.GetValue=N.prototype.GetValue=function(t){var r=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),Pe(r,t)},N.prototype.size=N.prototype.size=function(){return Re(this.ptr)},N.prototype.__destroy__=N.prototype.__destroy__=function(){Se(this.ptr)},O.prototype=Object.create(v.prototype),O.prototype.constructor=O,O.prototype.__class__=O,O.__cache__={},i.DracoUInt32Array=O,O.prototype.GetValue=O.prototype.GetValue=function(t){var r=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),Ne(r,t)},O.prototype.size=O.prototype.size=function(){return Ue(this.ptr)},O.prototype.__destroy__=O.prototype.__destroy__=function(){ge(this.ptr)},z.prototype=Object.create(v.prototype),z.prototype.constructor=z,z.prototype.__class__=z,z.__cache__={},i.MetadataQuerier=z,z.prototype.HasEntry=z.prototype.HasEntry=function(t,r){var o=this.ptr;return Xr.prepare(),t&&"object"==typeof t&&(t=t.ptr),r=r&&"object"==typeof r?r.ptr:R(r),!!Ce(o,t,r)},z.prototype.GetIntEntry=z.prototype.GetIntEntry=function(t,r){var o=this.ptr;return Xr.prepare(),t&&"object"==typeof t&&(t=t.ptr),r=r&&"object"==typeof r?r.ptr:R(r),Le(o,t,r)},z.prototype.GetIntEntryArray=z.prototype.GetIntEntryArray=function(t,r,o){var _=this.ptr;Xr.prepare(),t&&"object"==typeof t&&(t=t.ptr),r=r&&"object"==typeof r?r.ptr:R(r),o&&"object"==typeof o&&(o=o.ptr),we(_,t,r,o)},z.prototype.GetDoubleEntry=z.prototype.GetDoubleEntry=function(t,r){var o=this.ptr;return Xr.prepare(),t&&"object"==typeof t&&(t=t.ptr),r=r&&"object"==typeof r?r.ptr:R(r),$e(o,t,r)},z.prototype.GetStringEntry=z.prototype.GetStringEntry=function(t,r){var o=this.ptr;return Xr.prepare(),t&&"object"==typeof t&&(t=t.ptr),r=r&&"object"==typeof r?r.ptr:R(r),p(ze(o,t,r))},z.prototype.NumEntries=z.prototype.NumEntries=function(t){var r=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),Ve(r,t)},z.prototype.GetEntryName=z.prototype.GetEntryName=function(t,r){var o=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),r&&"object"==typeof r&&(r=r.ptr),p(Be(o,t,r))},z.prototype.__destroy__=z.prototype.__destroy__=function(){xe(this.ptr)},m.prototype=Object.create(v.prototype),m.prototype.constructor=m,m.prototype.__class__=m,m.__cache__={},i.Decoder=m,m.prototype.DecodeArrayToPointCloud=m.prototype.DecodeArrayToPointCloud=function(t,r,o){var _=this.ptr;return Xr.prepare(),"object"==typeof t&&(t=Z(t)),r&&"object"==typeof r&&(r=r.ptr),o&&"object"==typeof o&&(o=o.ptr),B(We(_,t,r,o),C)},m.prototype.DecodeArrayToMesh=m.prototype.DecodeArrayToMesh=function(t,r,o){var _=this.ptr;return Xr.prepare(),"object"==typeof t&&(t=Z(t)),r&&"object"==typeof r&&(r=r.ptr),o&&"object"==typeof o&&(o=o.ptr),B(ke(_,t,r,o),C)},m.prototype.GetAttributeId=m.prototype.GetAttributeId=function(t,r){var o=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),r&&"object"==typeof r&&(r=r.ptr),He(o,t,r)},m.prototype.GetAttributeIdByName=m.prototype.GetAttributeIdByName=function(t,r){var o=this.ptr;return Xr.prepare(),t&&"object"==typeof t&&(t=t.ptr),r=r&&"object"==typeof r?r.ptr:R(r),Ye(o,t,r)},m.prototype.GetAttributeIdByMetadataEntry=m.prototype.GetAttributeIdByMetadataEntry=function(t,r,o){var _=this.ptr;return Xr.prepare(),t&&"object"==typeof t&&(t=t.ptr),r=r&&"object"==typeof r?r.ptr:R(r),o=o&&"object"==typeof o?o.ptr:R(o),qe(_,t,r,o)},m.prototype.GetAttribute=m.prototype.GetAttribute=function(t,r){var o=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),r&&"object"==typeof r&&(r=r.ptr),B(Ke(o,t,r),x)},m.prototype.GetAttributeByUniqueId=m.prototype.GetAttributeByUniqueId=function(t,r){var o=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),r&&"object"==typeof r&&(r=r.ptr),B(Je(o,t,r),x)},m.prototype.GetMetadata=m.prototype.GetMetadata=function(t){var r=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),B(Xe(r,t),T)},m.prototype.GetAttributeMetadata=m.prototype.GetAttributeMetadata=function(t,r){var o=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),r&&"object"==typeof r&&(r=r.ptr),B(Ze(o,t,r),T)},m.prototype.GetFaceFromMesh=m.prototype.GetFaceFromMesh=function(t,r,o){var _=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),r&&"object"==typeof r&&(r=r.ptr),o&&"object"==typeof o&&(o=o.ptr),!!tr(_,t,r,o)},m.prototype.GetTriangleStripsFromMesh=m.prototype.GetTriangleStripsFromMesh=function(t,r){var o=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),r&&"object"==typeof r&&(r=r.ptr),er(o,t,r)},m.prototype.GetTrianglesUInt16Array=m.prototype.GetTrianglesUInt16Array=function(t,r,o){var _=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),r&&"object"==typeof r&&(r=r.ptr),o&&"object"==typeof o&&(o=o.ptr),!!rr(_,t,r,o)},m.prototype.GetTrianglesUInt32Array=m.prototype.GetTrianglesUInt32Array=function(t,r,o){var _=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),r&&"object"==typeof r&&(r=r.ptr),o&&"object"==typeof o&&(o=o.ptr),!!nr(_,t,r,o)},m.prototype.GetAttributeFloat=m.prototype.GetAttributeFloat=function(t,r,o){var _=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),r&&"object"==typeof r&&(r=r.ptr),o&&"object"==typeof o&&(o=o.ptr),!!or(_,t,r,o)},m.prototype.GetAttributeFloatForAllPoints=m.prototype.GetAttributeFloatForAllPoints=function(t,r,o){var _=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),r&&"object"==typeof r&&(r=r.ptr),o&&"object"==typeof o&&(o=o.ptr),!!_r(_,t,r,o)},m.prototype.GetAttributeIntForAllPoints=m.prototype.GetAttributeIntForAllPoints=function(t,r,o){var _=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),r&&"object"==typeof r&&(r=r.ptr),o&&"object"==typeof o&&(o=o.ptr),!!ir(_,t,r,o)},m.prototype.GetAttributeInt8ForAllPoints=m.prototype.GetAttributeInt8ForAllPoints=function(t,r,o){var _=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),r&&"object"==typeof r&&(r=r.ptr),o&&"object"==typeof o&&(o=o.ptr),!!pr(_,t,r,o)},m.prototype.GetAttributeUInt8ForAllPoints=m.prototype.GetAttributeUInt8ForAllPoints=function(t,r,o){var _=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),r&&"object"==typeof r&&(r=r.ptr),o&&"object"==typeof o&&(o=o.ptr),!!ar(_,t,r,o)},m.prototype.GetAttributeInt16ForAllPoints=m.prototype.GetAttributeInt16ForAllPoints=function(t,r,o){var _=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),r&&"object"==typeof r&&(r=r.ptr),o&&"object"==typeof o&&(o=o.ptr),!!cr(_,t,r,o)},m.prototype.GetAttributeUInt16ForAllPoints=m.prototype.GetAttributeUInt16ForAllPoints=function(t,r,o){var _=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),r&&"object"==typeof r&&(r=r.ptr),o&&"object"==typeof o&&(o=o.ptr),!!sr(_,t,r,o)},m.prototype.GetAttributeInt32ForAllPoints=m.prototype.GetAttributeInt32ForAllPoints=function(t,r,o){var _=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),r&&"object"==typeof r&&(r=r.ptr),o&&"object"==typeof o&&(o=o.ptr),!!ur(_,t,r,o)},m.prototype.GetAttributeUInt32ForAllPoints=m.prototype.GetAttributeUInt32ForAllPoints=function(t,r,o){var _=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),r&&"object"==typeof r&&(r=r.ptr),o&&"object"==typeof o&&(o=o.ptr),!!yr(_,t,r,o)},m.prototype.GetAttributeDataArrayForAllPoints=m.prototype.GetAttributeDataArrayForAllPoints=function(t,r,o,_,i){var a=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),r&&"object"==typeof r&&(r=r.ptr),o&&"object"==typeof o&&(o=o.ptr),_&&"object"==typeof _&&(_=_.ptr),i&&"object"==typeof i&&(i=i.ptr),!!lr(a,t,r,o,_,i)},m.prototype.SkipAttributeTransform=m.prototype.SkipAttributeTransform=function(t){var r=this.ptr;t&&"object"==typeof t&&(t=t.ptr),mr(r,t)},m.prototype.GetEncodedGeometryType_Deprecated=m.prototype.GetEncodedGeometryType_Deprecated=function(t){var r=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),fr(r,t)},m.prototype.DecodeBufferToPointCloud=m.prototype.DecodeBufferToPointCloud=function(t,r){var o=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),r&&"object"==typeof r&&(r=r.ptr),B(dr(o,t,r),C)},m.prototype.DecodeBufferToMesh=m.prototype.DecodeBufferToMesh=function(t,r){var o=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),r&&"object"==typeof r&&(r=r.ptr),B(br(o,t,r),C)},m.prototype.__destroy__=m.prototype.__destroy__=function(){hr(this.ptr)},function(){function b(){i.ATTRIBUTE_INVALID_TRANSFORM=Ar(),i.ATTRIBUTE_NO_TRANSFORM=Tr(),i.ATTRIBUTE_QUANTIZATION_TRANSFORM=Dr(),i.ATTRIBUTE_OCTAHEDRON_TRANSFORM=Ir(),i.INVALID=jr(),i.POSITION=vr(),i.NORMAL=Er(),i.COLOR=Gr(),i.TEX_COORD=Or(),i.GENERIC=Pr(),i.INVALID_GEOMETRY_TYPE=Rr(),i.POINT_CLOUD=Sr(),i.TRIANGULAR_MESH=Mr(),i.DT_INVALID=Nr(),i.DT_INT8=Ur(),i.DT_UINT8=gr(),i.DT_INT16=Fr(),i.DT_UINT16=Cr(),i.DT_INT32=Lr(),i.DT_UINT32=wr(),i.DT_INT64=$r(),i.DT_UINT64=zr(),i.DT_FLOAT32=Vr(),i.DT_FLOAT64=Br(),i.DT_BOOL=xr(),i.DT_TYPES_COUNT=Qr(),i.OK=Wr(),i.DRACO_ERROR=kr(),i.IO_ERROR=Hr(),i.INVALID_PARAMETER=Yr(),i.UNSUPPORTED_VERSION=qr(),i.UNKNOWN_VERSION=Kr()}st?b():at.unshift(b)}(),"function"==typeof i.onModuleParsed&&i.onModuleParsed(),i.Decoder.prototype.GetEncodedGeometryType=function(t){if(t.__class__&&t.__class__===i.DecoderBuffer)return i.Decoder.prototype.GetEncodedGeometryType_Deprecated(t);if(8>t.byteLength)return i.INVALID_GEOMETRY_TYPE;switch(t[7]){case 0:return i.POINT_CLOUD;case 1:return i.TRIANGULAR_MESH;default:return i.INVALID_GEOMETRY_TYPE}},r.ready}}();"object"==typeof exports&&"object"==typeof module?module.exports=DracoDecoderModule:"function"==typeof define&&define.amd?define([],(function(){return DracoDecoderModule})):"object"==typeof exports&&(exports.DracoDecoderModule=DracoDecoderModule);
@@ -1 +1 @@
1
- var BASIS=function(){var e="undefined"!=typeof document&&document.currentScript?document.currentScript.src:void 0;return"undefined"!=typeof __filename&&(e=e||__filename),function(r){var t,n,o=void 0!==(r=r||{})?r:{};o.ready=new Promise((function(e,r){t=e,n=r}));var i,a={};for(i in o)o.hasOwnProperty(i)&&(a[i]=o[i]);var u,s,c=[],f=!1,l=!1;f="object"==typeof window,l="function"==typeof importScripts,u="object"==typeof process&&"object"==typeof process.versions&&"string"==typeof process.versions.node,s=!f&&!u&&!l;var p,d,h,v,y="";u?(y=l?require("path").dirname(y)+"/":__dirname+"/",p=function(e,r){return h||(h=require("fs")),v||(v=require("path")),e=v.normalize(e),h.readFileSync(e,r?null:"utf8")},d=function(e){var r=p(e,!0);return r.buffer||(r=new Uint8Array(r)),C(r.buffer),r},process.argv.length>1&&process.argv[1].replace(/\\/g,"/"),c=process.argv.slice(2),process.on("uncaughtException",(function(e){if(!(e instanceof Vr))throw e})),process.on("unhandledRejection",Q),function(e){process.exit(e)},o.inspect=function(){return"[Emscripten Module object]"}):s?("undefined"!=typeof read&&(p=function(e){return read(e)}),d=function(e){var r;return"function"==typeof readbuffer?new Uint8Array(readbuffer(e)):(C("object"==typeof(r=read(e,"binary"))),r)},"undefined"!=typeof scriptArgs?c=scriptArgs:void 0!==arguments&&(c=arguments),"function"==typeof quit&&function(e){quit(e)},"undefined"!=typeof print&&("undefined"==typeof console&&(console={}),console.log=print,console.warn=console.error="undefined"!=typeof printErr?printErr:print)):(f||l)&&(l?y=self.location.href:"undefined"!=typeof document&&document.currentScript&&(y=document.currentScript.src),e&&(y=e),y=0!==y.indexOf("blob:")?y.substr(0,y.lastIndexOf("/")+1):"",p=function(e){var r=new XMLHttpRequest;return r.open("GET",e,!1),r.send(null),r.responseText},l&&(d=function(e){var r=new XMLHttpRequest;return r.open("GET",e,!1),r.responseType="arraybuffer",r.send(null),new Uint8Array(r.response)}),function(e,r,t){var n=new XMLHttpRequest;n.open("GET",e,!0),n.responseType="arraybuffer",n.onload=function(){200==n.status||0==n.status&&n.response?r(n.response):t()},n.onerror=t,n.send(null)});var m=o.print||console.log.bind(console),g=o.printErr||console.warn.bind(console);for(i in a)a.hasOwnProperty(i)&&(o[i]=a[i]);a=null,o.arguments&&(c=o.arguments),o.thisProgram&&o.thisProgram,o.quit&&o.quit;var w,T;o.wasmBinary&&(w=o.wasmBinary),o.noExitRuntime&&o.noExitRuntime,"object"!=typeof WebAssembly&&Q("no native wasm support detected");var b=!1;function C(e,r){e||Q("Assertion failed: "+r)}var $="undefined"!=typeof TextDecoder?new TextDecoder("utf8"):void 0;function P(e,r,t){for(var n=r+t,o=r;e[o]&&!(o>=n);)++o;if(o-r>16&&e.subarray&&$)return $.decode(e.subarray(r,o));for(var i="";r<o;){var a=e[r++];if(128&a){var u=63&e[r++];if(192!=(224&a)){var s=63&e[r++];if((a=224==(240&a)?(15&a)<<12|u<<6|s:(7&a)<<18|u<<12|s<<6|63&e[r++])<65536)i+=String.fromCharCode(a);else{var c=a-65536;i+=String.fromCharCode(55296|c>>10,56320|1023&c)}}else i+=String.fromCharCode((31&a)<<6|u)}else i+=String.fromCharCode(a)}return i}function A(e,r){return e?P(W,e,r):""}var _,S,W,E,F,k,O,j,R,x="undefined"!=typeof TextDecoder?new TextDecoder("utf-16le"):void 0;function I(e,r){for(var t=e,n=t>>1,o=n+r/2;!(n>=o)&&F[n];)++n;if((t=n<<1)-e>32&&x)return x.decode(W.subarray(e,t));for(var i="",a=0;!(a>=r/2);++a){var u=E[e+2*a>>1];if(0==u)break;i+=String.fromCharCode(u)}return i}function D(e,r,t){if(void 0===t&&(t=2147483647),t<2)return 0;for(var n=r,o=(t-=2)<2*e.length?t/2:e.length,i=0;i<o;++i){var a=e.charCodeAt(i);E[r>>1]=a,r+=2}return E[r>>1]=0,r-n}function U(e){return 2*e.length}function B(e,r){for(var t=0,n="";!(t>=r/4);){var o=k[e+4*t>>2];if(0==o)break;if(++t,o>=65536){var i=o-65536;n+=String.fromCharCode(55296|i>>10,56320|1023&i)}else n+=String.fromCharCode(o)}return n}function M(e,r,t){if(void 0===t&&(t=2147483647),t<4)return 0;for(var n=r,o=n+t-4,i=0;i<e.length;++i){var a=e.charCodeAt(i);if(a>=55296&&a<=57343)a=65536+((1023&a)<<10)|1023&e.charCodeAt(++i);if(k[r>>2]=a,(r+=4)+4>o)break}return k[r>>2]=0,r-n}function V(e){for(var r=0,t=0;t<e.length;++t){var n=e.charCodeAt(t);n>=55296&&n<=57343&&++t,r+=4}return r}function q(e){_=e,o.HEAP8=S=new Int8Array(e),o.HEAP16=E=new Int16Array(e),o.HEAP32=k=new Int32Array(e),o.HEAPU8=W=new Uint8Array(e),o.HEAPU16=F=new Uint16Array(e),o.HEAPU32=O=new Uint32Array(e),o.HEAPF32=j=new Float32Array(e),o.HEAPF64=R=new Float64Array(e)}o.INITIAL_MEMORY;var H,z=[],N=[],G=[],L=[];var X=0,J=null,K=null;function Q(e){o.onAbort&&o.onAbort(e),g(e+=""),b=!0,1,e="abort("+e+"). Build with -s ASSERTIONS=1 for more info.";var r=new WebAssembly.RuntimeError(e);throw n(r),r}function Y(e,r){return String.prototype.startsWith?e.startsWith(r):0===e.indexOf(r)}o.preloadedImages={},o.preloadedAudios={};var Z="data:application/octet-stream;base64,";function ee(e){return Y(e,Z)}var re="file://";function te(e){return Y(e,re)}var ne,oe="basis_transcoder.wasm";function ie(){try{if(w)return new Uint8Array(w);if(d)return d(oe);throw"both async and sync fetching of the wasm failed"}catch(e){Q(e)}}function ae(e){for(;e.length>0;){var r=e.shift();if("function"!=typeof r){var t=r.func;"number"==typeof t?void 0===r.arg?H.get(t)():H.get(t)(r.arg):t(void 0===r.arg?null:r.arg)}else r(o)}}ee(oe)||(ne=oe,oe=o.locateFile?o.locateFile(ne,y):y+ne);var ue={};function se(e){for(;e.length;){var r=e.pop();e.pop()(r)}}function ce(e){return this.fromWireType(O[e>>2])}var fe={},le={},pe={},de=48,he=57;function ve(e){if(void 0===e)return"_unknown";var r=(e=e.replace(/[^a-zA-Z0-9_]/g,"$")).charCodeAt(0);return r>=de&&r<=he?"_"+e:e}function ye(e,r){return e=ve(e),new Function("body","return function "+e+'() {\n "use strict"; return body.apply(this, arguments);\n};\n')(r)}function me(e,r){var t=ye(r,(function(e){this.name=r,this.message=e;var t=new Error(e).stack;void 0!==t&&(this.stack=this.toString()+"\n"+t.replace(/^Error(:[^\n]*)?\n/,""))}));return t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.prototype.toString=function(){return void 0===this.message?this.name:this.name+": "+this.message},t}var ge=void 0;function we(e){throw new ge(e)}function Te(e,r,t){function n(r){var n=t(r);n.length!==e.length&&we("Mismatched type converter count");for(var o=0;o<e.length;++o)_e(e[o],n[o])}e.forEach((function(e){pe[e]=r}));var o=new Array(r.length),i=[],a=0;r.forEach((function(e,r){le.hasOwnProperty(e)?o[r]=le[e]:(i.push(e),fe.hasOwnProperty(e)||(fe[e]=[]),fe[e].push((function(){o[r]=le[e],++a===i.length&&n(o)})))})),0===i.length&&n(o)}function be(e){switch(e){case 1:return 0;case 2:return 1;case 4:return 2;case 8:return 3;default:throw new TypeError("Unknown type size: "+e)}}var Ce=void 0;function $e(e){for(var r="",t=e;W[t];)r+=Ce[W[t++]];return r}var Pe=void 0;function Ae(e){throw new Pe(e)}function _e(e,r,t){if(t=t||{},!("argPackAdvance"in r))throw new TypeError("registerType registeredInstance requires argPackAdvance");var n=r.name;if(e||Ae('type "'+n+'" must have a positive integer typeid pointer'),le.hasOwnProperty(e)){if(t.ignoreDuplicateRegistrations)return;Ae("Cannot register type '"+n+"' twice")}if(le[e]=r,delete pe[e],fe.hasOwnProperty(e)){var o=fe[e];delete fe[e],o.forEach((function(e){e()}))}}function Se(e){if(!(this instanceof Me))return!1;if(!(e instanceof Me))return!1;for(var r=this.$$.ptrType.registeredClass,t=this.$$.ptr,n=e.$$.ptrType.registeredClass,o=e.$$.ptr;r.baseClass;)t=r.upcast(t),r=r.baseClass;for(;n.baseClass;)o=n.upcast(o),n=n.baseClass;return r===n&&t===o}function We(e){Ae(e.$$.ptrType.registeredClass.name+" instance already deleted")}var Ee=!1;function Fe(e){}function ke(e){e.count.value-=1,0===e.count.value&&function(e){e.smartPtr?e.smartPtrType.rawDestructor(e.smartPtr):e.ptrType.registeredClass.rawDestructor(e.ptr)}(e)}function Oe(e){return"undefined"==typeof FinalizationGroup?(Oe=function(e){return e},e):(Ee=new FinalizationGroup((function(e){for(var r=e.next();!r.done;r=e.next()){var t=r.value;t.ptr?ke(t):console.warn("object already deleted: "+t.ptr)}})),Oe=function(e){return Ee.register(e,e.$$,e.$$),e},Fe=function(e){Ee.unregister(e.$$)},Oe(e))}function je(){if(this.$$.ptr||We(this),this.$$.preservePointerOnDelete)return this.$$.count.value+=1,this;var e,r=Oe(Object.create(Object.getPrototypeOf(this),{$$:{value:(e=this.$$,{count:e.count,deleteScheduled:e.deleteScheduled,preservePointerOnDelete:e.preservePointerOnDelete,ptr:e.ptr,ptrType:e.ptrType,smartPtr:e.smartPtr,smartPtrType:e.smartPtrType})}}));return r.$$.count.value+=1,r.$$.deleteScheduled=!1,r}function Re(){this.$$.ptr||We(this),this.$$.deleteScheduled&&!this.$$.preservePointerOnDelete&&Ae("Object already scheduled for deletion"),Fe(this),ke(this.$$),this.$$.preservePointerOnDelete||(this.$$.smartPtr=void 0,this.$$.ptr=void 0)}function xe(){return!this.$$.ptr}var Ie=void 0,De=[];function Ue(){for(;De.length;){var e=De.pop();e.$$.deleteScheduled=!1,e.delete()}}function Be(){return this.$$.ptr||We(this),this.$$.deleteScheduled&&!this.$$.preservePointerOnDelete&&Ae("Object already scheduled for deletion"),De.push(this),1===De.length&&Ie&&Ie(Ue),this.$$.deleteScheduled=!0,this}function Me(){}var Ve={};function qe(e,r,t){if(void 0===e[r].overloadTable){var n=e[r];e[r]=function(){return e[r].overloadTable.hasOwnProperty(arguments.length)||Ae("Function '"+t+"' called with an invalid number of arguments ("+arguments.length+") - expects one of ("+e[r].overloadTable+")!"),e[r].overloadTable[arguments.length].apply(this,arguments)},e[r].overloadTable=[],e[r].overloadTable[n.argCount]=n}}function He(e,r,t){o.hasOwnProperty(e)?((void 0===t||void 0!==o[e].overloadTable&&void 0!==o[e].overloadTable[t])&&Ae("Cannot register public name '"+e+"' twice"),qe(o,e,e),o.hasOwnProperty(t)&&Ae("Cannot register multiple overloads of a function with the same number of arguments ("+t+")!"),o[e].overloadTable[t]=r):(o[e]=r,void 0!==t&&(o[e].numArguments=t))}function ze(e,r,t,n,o,i,a,u){this.name=e,this.constructor=r,this.instancePrototype=t,this.rawDestructor=n,this.baseClass=o,this.getActualType=i,this.upcast=a,this.downcast=u,this.pureVirtualFunctions=[]}function Ne(e,r,t){for(;r!==t;)r.upcast||Ae("Expected null or instance of "+t.name+", got an instance of "+r.name),e=r.upcast(e),r=r.baseClass;return e}function Ge(e,r){if(null===r)return this.isReference&&Ae("null is not a valid "+this.name),0;r.$$||Ae('Cannot pass "'+Pr(r)+'" as a '+this.name),r.$$.ptr||Ae("Cannot pass deleted object as a pointer of type "+this.name);var t=r.$$.ptrType.registeredClass;return Ne(r.$$.ptr,t,this.registeredClass)}function Le(e,r){var t;if(null===r)return this.isReference&&Ae("null is not a valid "+this.name),this.isSmartPointer?(t=this.rawConstructor(),null!==e&&e.push(this.rawDestructor,t),t):0;r.$$||Ae('Cannot pass "'+Pr(r)+'" as a '+this.name),r.$$.ptr||Ae("Cannot pass deleted object as a pointer of type "+this.name),!this.isConst&&r.$$.ptrType.isConst&&Ae("Cannot convert argument of type "+(r.$$.smartPtrType?r.$$.smartPtrType.name:r.$$.ptrType.name)+" to parameter type "+this.name);var n=r.$$.ptrType.registeredClass;if(t=Ne(r.$$.ptr,n,this.registeredClass),this.isSmartPointer)switch(void 0===r.$$.smartPtr&&Ae("Passing raw pointer to smart pointer is illegal"),this.sharingPolicy){case 0:r.$$.smartPtrType===this?t=r.$$.smartPtr:Ae("Cannot convert argument of type "+(r.$$.smartPtrType?r.$$.smartPtrType.name:r.$$.ptrType.name)+" to parameter type "+this.name);break;case 1:t=r.$$.smartPtr;break;case 2:if(r.$$.smartPtrType===this)t=r.$$.smartPtr;else{var o=r.clone();t=this.rawShare(t,br((function(){o.delete()}))),null!==e&&e.push(this.rawDestructor,t)}break;default:Ae("Unsupporting sharing policy")}return t}function Xe(e,r){if(null===r)return this.isReference&&Ae("null is not a valid "+this.name),0;r.$$||Ae('Cannot pass "'+Pr(r)+'" as a '+this.name),r.$$.ptr||Ae("Cannot pass deleted object as a pointer of type "+this.name),r.$$.ptrType.isConst&&Ae("Cannot convert argument of type "+r.$$.ptrType.name+" to parameter type "+this.name);var t=r.$$.ptrType.registeredClass;return Ne(r.$$.ptr,t,this.registeredClass)}function Je(e){return this.rawGetPointee&&(e=this.rawGetPointee(e)),e}function Ke(e){this.rawDestructor&&this.rawDestructor(e)}function Qe(e){null!==e&&e.delete()}function Ye(e,r,t){if(r===t)return e;if(void 0===t.baseClass)return null;var n=Ye(e,r,t.baseClass);return null===n?null:t.downcast(n)}function Ze(){return Object.keys(tr).length}function er(){var e=[];for(var r in tr)tr.hasOwnProperty(r)&&e.push(tr[r]);return e}function rr(e){Ie=e,De.length&&Ie&&Ie(Ue)}var tr={};function nr(e,r){return r=function(e,r){for(void 0===r&&Ae("ptr should not be undefined");e.baseClass;)r=e.upcast(r),e=e.baseClass;return r}(e,r),tr[r]}function or(e,r){return r.ptrType&&r.ptr||we("makeClassHandle requires ptr and ptrType"),!!r.smartPtrType!==!!r.smartPtr&&we("Both smartPtrType and smartPtr must be specified"),r.count={value:1},Oe(Object.create(e,{$$:{value:r}}))}function ir(e){var r=this.getPointee(e);if(!r)return this.destructor(e),null;var t=nr(this.registeredClass,r);if(void 0!==t){if(0===t.$$.count.value)return t.$$.ptr=r,t.$$.smartPtr=e,t.clone();var n=t.clone();return this.destructor(e),n}function o(){return this.isSmartPointer?or(this.registeredClass.instancePrototype,{ptrType:this.pointeeType,ptr:r,smartPtrType:this,smartPtr:e}):or(this.registeredClass.instancePrototype,{ptrType:this,ptr:e})}var i,a=this.registeredClass.getActualType(r),u=Ve[a];if(!u)return o.call(this);i=this.isConst?u.constPointerType:u.pointerType;var s=Ye(r,this.registeredClass,i.registeredClass);return null===s?o.call(this):this.isSmartPointer?or(i.registeredClass.instancePrototype,{ptrType:i,ptr:s,smartPtrType:this,smartPtr:e}):or(i.registeredClass.instancePrototype,{ptrType:i,ptr:s})}function ar(e,r,t,n,o,i,a,u,s,c,f){this.name=e,this.registeredClass=r,this.isReference=t,this.isConst=n,this.isSmartPointer=o,this.pointeeType=i,this.sharingPolicy=a,this.rawGetPointee=u,this.rawConstructor=s,this.rawShare=c,this.rawDestructor=f,o||void 0!==r.baseClass?this.toWireType=Le:n?(this.toWireType=Ge,this.destructorFunction=null):(this.toWireType=Xe,this.destructorFunction=null)}function ur(e,r,t){o.hasOwnProperty(e)||we("Replacing nonexistant public symbol"),void 0!==o[e].overloadTable&&void 0!==t?o[e].overloadTable[t]=r:(o[e]=r,o[e].argCount=t)}function sr(e,r,t){return-1!=e.indexOf("j")?function(e,r,t){return t&&t.length?o["dynCall_"+e].apply(null,[r].concat(t)):o["dynCall_"+e].call(null,r)}(e,r,t):H.get(r).apply(null,t)}function cr(e,r){var t=-1!=(e=$e(e)).indexOf("j")?function(e,r){C(e.indexOf("j")>=0,"getDynCaller should only be called with i64 sigs");var t=[];return function(){t.length=arguments.length;for(var n=0;n<arguments.length;n++)t[n]=arguments[n];return sr(e,r,t)}}(e,r):H.get(r);return"function"!=typeof t&&Ae("unknown function pointer with signature "+e+": "+r),t}var fr=void 0;function lr(e){var r=Mr(e),t=$e(r);return Br(r),t}function pr(e,r){var t=[],n={};throw r.forEach((function e(r){n[r]||le[r]||(pe[r]?pe[r].forEach(e):(t.push(r),n[r]=!0))})),new fr(e+": "+t.map(lr).join([", "]))}function dr(e,r){for(var t=[],n=0;n<e;n++)t.push(k[(r>>2)+n]);return t}function hr(e,r){if(!(e instanceof Function))throw new TypeError("new_ called with constructor type "+typeof e+" which is not a function");var t=ye(e.name||"unknownFunctionName",(function(){}));t.prototype=e.prototype;var n=new t,o=e.apply(n,r);return o instanceof Object?o:n}function vr(e,r,t,n,o){var i=r.length;i<2&&Ae("argTypes array size mismatch! Must at least get return value and 'this' types!");for(var a=null!==r[1]&&null!==t,u=!1,s=1;s<r.length;++s)if(null!==r[s]&&void 0===r[s].destructorFunction){u=!0;break}var c="void"!==r[0].name,f="",l="";for(s=0;s<i-2;++s)f+=(0!==s?", ":"")+"arg"+s,l+=(0!==s?", ":"")+"arg"+s+"Wired";var p="return function "+ve(e)+"("+f+") {\nif (arguments.length !== "+(i-2)+") {\nthrowBindingError('function "+e+" called with ' + arguments.length + ' arguments, expected "+(i-2)+" args!');\n}\n";u&&(p+="var destructors = [];\n");var d=u?"destructors":"null",h=["throwBindingError","invoker","fn","runDestructors","retType","classParam"],v=[Ae,n,o,se,r[0],r[1]];a&&(p+="var thisWired = classParam.toWireType("+d+", this);\n");for(s=0;s<i-2;++s)p+="var arg"+s+"Wired = argType"+s+".toWireType("+d+", arg"+s+"); // "+r[s+2].name+"\n",h.push("argType"+s),v.push(r[s+2]);if(a&&(l="thisWired"+(l.length>0?", ":"")+l),p+=(c?"var rv = ":"")+"invoker(fn"+(l.length>0?", ":"")+l+");\n",u)p+="runDestructors(destructors);\n";else for(s=a?1:2;s<r.length;++s){var y=1===s?"thisWired":"arg"+(s-2)+"Wired";null!==r[s].destructorFunction&&(p+=y+"_dtor("+y+"); // "+r[s].name+"\n",h.push(y+"_dtor"),v.push(r[s].destructorFunction))}return c&&(p+="var ret = retType.fromWireType(rv);\nreturn ret;\n"),p+="}\n",h.push(p),hr(Function,h).apply(null,v)}var yr=[],mr=[{},{value:void 0},{value:null},{value:!0},{value:!1}];function gr(e){e>4&&0==--mr[e].refcount&&(mr[e]=void 0,yr.push(e))}function wr(){for(var e=0,r=5;r<mr.length;++r)void 0!==mr[r]&&++e;return e}function Tr(){for(var e=5;e<mr.length;++e)if(void 0!==mr[e])return mr[e];return null}function br(e){switch(e){case void 0:return 1;case null:return 2;case!0:return 3;case!1:return 4;default:var r=yr.length?yr.pop():mr.length;return mr[r]={refcount:1,value:e},r}}function Cr(e,r,t){switch(r){case 0:return function(e){var r=t?S:W;return this.fromWireType(r[e])};case 1:return function(e){var r=t?E:F;return this.fromWireType(r[e>>1])};case 2:return function(e){var r=t?k:O;return this.fromWireType(r[e>>2])};default:throw new TypeError("Unknown integer type: "+e)}}function $r(e,r){var t=le[e];return void 0===t&&Ae(r+" has unknown type "+lr(e)),t}function Pr(e){if(null===e)return"null";var r=typeof e;return"object"===r||"array"===r||"function"===r?e.toString():""+e}function Ar(e,r){switch(r){case 2:return function(e){return this.fromWireType(j[e>>2])};case 3:return function(e){return this.fromWireType(R[e>>3])};default:throw new TypeError("Unknown float type: "+e)}}function _r(e,r,t){switch(r){case 0:return t?function(e){return S[e]}:function(e){return W[e]};case 1:return t?function(e){return E[e>>1]}:function(e){return F[e>>1]};case 2:return t?function(e){return k[e>>2]}:function(e){return O[e>>2]};default:throw new TypeError("Unknown integer type: "+e)}}function Sr(e){return e||Ae("Cannot use deleted val. handle = "+e),mr[e].value}var Wr={};function Er(e){var r=Wr[e];return void 0===r?$e(e):r}var Fr=[];function kr(){return"object"==typeof globalThis?globalThis:Function("return this")()}var Or={};function jr(e){try{return T.grow(e-_.byteLength+65535>>>16),q(T.buffer),1}catch(e){}}var Rr={mappings:{},buffers:[null,[],[]],printChar:function(e,r){var t=Rr.buffers[e];0===r||10===r?((1===e?m:g)(P(t,0)),t.length=0):t.push(r)},varargs:void 0,get:function(){return Rr.varargs+=4,k[Rr.varargs-4>>2]},getStr:function(e){return A(e)},get64:function(e,r){return e}};ge=o.InternalError=me(Error,"InternalError"),function(){for(var e=new Array(256),r=0;r<256;++r)e[r]=String.fromCharCode(r);Ce=e}(),Pe=o.BindingError=me(Error,"BindingError"),Me.prototype.isAliasOf=Se,Me.prototype.clone=je,Me.prototype.delete=Re,Me.prototype.isDeleted=xe,Me.prototype.deleteLater=Be,ar.prototype.getPointee=Je,ar.prototype.destructor=Ke,ar.prototype.argPackAdvance=8,ar.prototype.readValueFromPointer=ce,ar.prototype.deleteObject=Qe,ar.prototype.fromWireType=ir,o.getInheritedInstanceCount=Ze,o.getLiveInheritedInstances=er,o.flushPendingDeletes=Ue,o.setDelayFunction=rr,fr=o.UnboundTypeError=me(Error,"UnboundTypeError"),o.count_emval_handles=wr,o.get_first_emval=Tr,N.push({func:function(){Dr()}});var xr,Ir={t:function(e){var r=ue[e];delete ue[e];var t=r.rawConstructor,n=r.rawDestructor,o=r.fields;Te([e],o.map((function(e){return e.getterReturnType})).concat(o.map((function(e){return e.setterArgumentType}))),(function(e){var i={};return o.forEach((function(r,t){var n=r.fieldName,a=e[t],u=r.getter,s=r.getterContext,c=e[t+o.length],f=r.setter,l=r.setterContext;i[n]={read:function(e){return a.fromWireType(u(s,e))},write:function(e,r){var t=[];f(l,e,c.toWireType(t,r)),se(t)}}})),[{name:r.name,fromWireType:function(e){var r={};for(var t in i)r[t]=i[t].read(e);return n(e),r},toWireType:function(e,r){for(var o in i)if(!(o in r))throw new TypeError('Missing field: "'+o+'"');var a=t();for(o in i)i[o].write(a,r[o]);return null!==e&&e.push(n,a),a},argPackAdvance:8,readValueFromPointer:ce,destructorFunction:n}]}))},I:function(e,r,t,n,o){var i=be(t);_e(e,{name:r=$e(r),fromWireType:function(e){return!!e},toWireType:function(e,r){return r?n:o},argPackAdvance:8,readValueFromPointer:function(e){var n;if(1===t)n=S;else if(2===t)n=E;else{if(4!==t)throw new TypeError("Unknown boolean type size: "+r);n=k}return this.fromWireType(n[e>>i])},destructorFunction:null})},x:function(e,r,t,n,o,i,a,u,s,c,f,l,p){f=$e(f),i=cr(o,i),u&&(u=cr(a,u)),c&&(c=cr(s,c)),p=cr(l,p);var d=ve(f);He(d,(function(){pr("Cannot construct "+f+" due to unbound types",[n])})),Te([e,r,t],n?[n]:[],(function(r){var t,o;r=r[0],o=n?(t=r.registeredClass).instancePrototype:Me.prototype;var a=ye(d,(function(){if(Object.getPrototypeOf(this)!==s)throw new Pe("Use 'new' to construct "+f);if(void 0===l.constructor_body)throw new Pe(f+" has no accessible constructor");var e=l.constructor_body[arguments.length];if(void 0===e)throw new Pe("Tried to invoke ctor of "+f+" with invalid number of parameters ("+arguments.length+") - expected ("+Object.keys(l.constructor_body).toString()+") parameters instead!");return e.apply(this,arguments)})),s=Object.create(o,{constructor:{value:a}});a.prototype=s;var l=new ze(f,a,s,p,t,i,u,c),h=new ar(f,l,!0,!1,!1),v=new ar(f+"*",l,!1,!1,!1),y=new ar(f+" const*",l,!1,!0,!1);return Ve[e]={pointerType:v,constPointerType:y},ur(d,a),[h,v,y]}))},w:function(e,r,t,n,o,i){C(r>0);var a=dr(r,t);o=cr(n,o);var u=[i],s=[];Te([],[e],(function(e){var t="constructor "+(e=e[0]).name;if(void 0===e.registeredClass.constructor_body&&(e.registeredClass.constructor_body=[]),void 0!==e.registeredClass.constructor_body[r-1])throw new Pe("Cannot register multiple constructors with identical number of parameters ("+(r-1)+") for class '"+e.name+"'! Overload resolution is currently only performed using the parameter count, not actual type info!");return e.registeredClass.constructor_body[r-1]=function(){pr("Cannot construct "+e.name+" due to unbound types",a)},Te([],a,(function(n){return e.registeredClass.constructor_body[r-1]=function(){arguments.length!==r-1&&Ae(t+" called with "+arguments.length+" arguments, expected "+(r-1)),s.length=0,u.length=r;for(var e=1;e<r;++e)u[e]=n[e].toWireType(s,arguments[e-1]);var i=o.apply(null,u);return se(s),n[0].fromWireType(i)},[]})),[]}))},d:function(e,r,t,n,o,i,a,u){var s=dr(t,n);r=$e(r),i=cr(o,i),Te([],[e],(function(e){var n=(e=e[0]).name+"."+r;function o(){pr("Cannot call "+n+" due to unbound types",s)}u&&e.registeredClass.pureVirtualFunctions.push(r);var c=e.registeredClass.instancePrototype,f=c[r];return void 0===f||void 0===f.overloadTable&&f.className!==e.name&&f.argCount===t-2?(o.argCount=t-2,o.className=e.name,c[r]=o):(qe(c,r,n),c[r].overloadTable[t-2]=o),Te([],s,(function(o){var u=vr(n,o,e,i,a);return void 0===c[r].overloadTable?(u.argCount=t-2,c[r]=u):c[r].overloadTable[t-2]=u,[]})),[]}))},k:function(e,r,t){e=$e(e),Te([],[r],(function(r){return r=r[0],o[e]=r.fromWireType(t),[]}))},H:function(e,r){_e(e,{name:r=$e(r),fromWireType:function(e){var r=mr[e].value;return gr(e),r},toWireType:function(e,r){return br(r)},argPackAdvance:8,readValueFromPointer:ce,destructorFunction:null})},n:function(e,r,t,n){var o=be(t);function i(){}r=$e(r),i.values={},_e(e,{name:r,constructor:i,fromWireType:function(e){return this.constructor.values[e]},toWireType:function(e,r){return r.value},argPackAdvance:8,readValueFromPointer:Cr(r,o,n),destructorFunction:null}),He(r,i)},a:function(e,r,t){var n=$r(e,"enum");r=$e(r);var o=n.constructor,i=Object.create(n.constructor.prototype,{value:{value:t},constructor:{value:ye(n.name+"_"+r,(function(){}))}});o.values[t]=i,o[r]=i},A:function(e,r,t){var n=be(t);_e(e,{name:r=$e(r),fromWireType:function(e){return e},toWireType:function(e,r){if("number"!=typeof r&&"boolean"!=typeof r)throw new TypeError('Cannot convert "'+Pr(r)+'" to '+this.name);return r},argPackAdvance:8,readValueFromPointer:Ar(r,n),destructorFunction:null})},i:function(e,r,t,n,o,i){var a=dr(r,t);e=$e(e),o=cr(n,o),He(e,(function(){pr("Cannot call "+e+" due to unbound types",a)}),r-1),Te([],a,(function(t){var n=[t[0],null].concat(t.slice(1));return ur(e,vr(e,n,null,o,i),r-1),[]}))},j:function(e,r,t,n,o){r=$e(r),-1===o&&(o=4294967295);var i=be(t),a=function(e){return e};if(0===n){var u=32-8*t;a=function(e){return e<<u>>>u}}var s=-1!=r.indexOf("unsigned");_e(e,{name:r,fromWireType:a,toWireType:function(e,t){if("number"!=typeof t&&"boolean"!=typeof t)throw new TypeError('Cannot convert "'+Pr(t)+'" to '+this.name);if(t<n||t>o)throw new TypeError('Passing a number "'+Pr(t)+'" from JS side to C/C++ side to an argument of type "'+r+'", which is outside the valid range ['+n+", "+o+"]!");return s?t>>>0:0|t},argPackAdvance:8,readValueFromPointer:_r(r,i,0!==n),destructorFunction:null})},h:function(e,r,t){var n=[Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array][r];function o(e){var r=O,t=r[e>>=2],o=r[e+1];return new n(_,o,t)}_e(e,{name:t=$e(t),fromWireType:o,argPackAdvance:8,readValueFromPointer:o},{ignoreDuplicateRegistrations:!0})},B:function(e,r){var t="std::string"===(r=$e(r));_e(e,{name:r,fromWireType:function(e){var r,n=O[e>>2];if(t)for(var o=e+4,i=0;i<=n;++i){var a=e+4+i;if(i==n||0==W[a]){var u=A(o,a-o);void 0===r?r=u:(r+=String.fromCharCode(0),r+=u),o=a+1}}else{var s=new Array(n);for(i=0;i<n;++i)s[i]=String.fromCharCode(W[e+4+i]);r=s.join("")}return Br(e),r},toWireType:function(e,r){var n;r instanceof ArrayBuffer&&(r=new Uint8Array(r));var o="string"==typeof r;o||r instanceof Uint8Array||r instanceof Uint8ClampedArray||r instanceof Int8Array||Ae("Cannot pass non-string to std::string"),n=t&&o?function(){return function(e){for(var r=0,t=0;t<e.length;++t){var n=e.charCodeAt(t);n>=55296&&n<=57343&&(n=65536+((1023&n)<<10)|1023&e.charCodeAt(++t)),n<=127?++r:r+=n<=2047?2:n<=65535?3:4}return r}(r)}:function(){return r.length};var i=n(),a=Ur(4+i+1);if(O[a>>2]=i,t&&o)(function(e,r,t,n){if(!(n>0))return 0;for(var o=t,i=t+n-1,a=0;a<e.length;++a){var u=e.charCodeAt(a);if(u>=55296&&u<=57343&&(u=65536+((1023&u)<<10)|1023&e.charCodeAt(++a)),u<=127){if(t>=i)break;r[t++]=u}else if(u<=2047){if(t+1>=i)break;r[t++]=192|u>>6,r[t++]=128|63&u}else if(u<=65535){if(t+2>=i)break;r[t++]=224|u>>12,r[t++]=128|u>>6&63,r[t++]=128|63&u}else{if(t+3>=i)break;r[t++]=240|u>>18,r[t++]=128|u>>12&63,r[t++]=128|u>>6&63,r[t++]=128|63&u}}r[t]=0})(r,W,a+4,i+1);else if(o)for(var u=0;u<i;++u){var s=r.charCodeAt(u);s>255&&(Br(a),Ae("String has UTF-16 code units that do not fit in 8 bits")),W[a+4+u]=s}else for(u=0;u<i;++u)W[a+4+u]=r[u];return null!==e&&e.push(Br,a),a},argPackAdvance:8,readValueFromPointer:ce,destructorFunction:function(e){Br(e)}})},v:function(e,r,t){var n,o,i,a,u;t=$e(t),2===r?(n=I,o=D,a=U,i=function(){return F},u=1):4===r&&(n=B,o=M,a=V,i=function(){return O},u=2),_e(e,{name:t,fromWireType:function(e){for(var t,o=O[e>>2],a=i(),s=e+4,c=0;c<=o;++c){var f=e+4+c*r;if(c==o||0==a[f>>u]){var l=n(s,f-s);void 0===t?t=l:(t+=String.fromCharCode(0),t+=l),s=f+r}}return Br(e),t},toWireType:function(e,n){"string"!=typeof n&&Ae("Cannot pass non-string to C++ string type "+t);var i=a(n),s=Ur(4+i+r);return O[s>>2]=i>>u,o(n,s+4,i+r),null!==e&&e.push(Br,s),s},argPackAdvance:8,readValueFromPointer:ce,destructorFunction:function(e){Br(e)}})},u:function(e,r,t,n,o,i){ue[e]={name:$e(r),rawConstructor:cr(t,n),rawDestructor:cr(o,i),fields:[]}},c:function(e,r,t,n,o,i,a,u,s,c){ue[e].fields.push({fieldName:$e(r),getterReturnType:t,getter:cr(n,o),getterContext:i,setterArgumentType:a,setter:cr(u,s),setterContext:c})},J:function(e,r){_e(e,{isVoid:!0,name:r=$e(r),argPackAdvance:0,fromWireType:function(){},toWireType:function(e,r){}})},m:function(e,r,t){e=Sr(e),r=$r(r,"emval::as");var n=[],o=br(n);return k[t>>2]=o,r.toWireType(n,e)},s:function(e,r,t,n){(e=Fr[e])(r=Sr(r),t=Er(t),null,n)},b:gr,y:function(e){return 0===e?br(kr()):(e=Er(e),br(kr()[e]))},p:function(e,r){for(var t=function(e,r){for(var t=new Array(e),n=0;n<e;++n)t[n]=$r(k[(r>>2)+n],"parameter "+n);return t}(e,r),n=t[0],o=n.name+"_$"+t.slice(1).map((function(e){return e.name})).join("_")+"$",i=["retType"],a=[n],u="",s=0;s<e-1;++s)u+=(0!==s?", ":"")+"arg"+s,i.push("argType"+s),a.push(t[1+s]);var c="return function "+ve("methodCaller_"+o)+"(handle, name, destructors, args) {\n",f=0;for(s=0;s<e-1;++s)c+=" var arg"+s+" = argType"+s+".readValueFromPointer(args"+(f?"+"+f:"")+");\n",f+=t[s+1].argPackAdvance;for(c+=" var rv = handle[name]("+u+");\n",s=0;s<e-1;++s)t[s+1].deleteObject&&(c+=" argType"+s+".deleteObject(arg"+s+");\n");n.isVoid||(c+=" return retType.toWireType(destructors, rv);\n"),c+="};\n",i.push(c);var l,p,d=hr(Function,i).apply(null,a);return l=d,p=Fr.length,Fr.push(l),p},r:function(e){return e=Er(e),br(o[e])},e:function(e,r){return br((e=Sr(e))[r=Sr(r)])},g:function(e){e>4&&(mr[e].refcount+=1)},q:function(e,r,t,n){e=Sr(e);var i=Or[r];return i||(i=function(e){for(var r="",t=0;t<e;++t)r+=(0!==t?", ":"")+"arg"+t;var n="return function emval_allocator_"+e+"(constructor, argTypes, args) {\n";for(t=0;t<e;++t)n+="var argType"+t+" = requireRegisteredType(Module['HEAP32'][(argTypes >>> 2) + "+t+'], "parameter '+t+'");\nvar arg'+t+" = argType"+t+".readValueFromPointer(args);\nargs += argType"+t+"['argPackAdvance'];\n";return n+="var obj = new constructor("+r+");\nreturn __emval_register(obj);\n}\n",new Function("requireRegisteredType","Module","__emval_register",n)($r,o,br)}(r),Or[r]=i),i(e,t,n)},f:function(e){return br(Er(e))},l:function(e){se(mr[e].value),gr(e)},o:function(){Q()},E:function(e,r,t){W.copyWithin(e,r,r+t)},F:function(e){e>>>=0;var r=W.length,t=2147483648;if(e>t)return!1;for(var n,o,i=1;i<=4;i*=2){var a=r*(1+.2/i);if(a=Math.min(a,e+100663296),jr(Math.min(t,((n=Math.max(16777216,e,a))%(o=65536)>0&&(n+=o-n%o),n))))return!0}return!1},G:function(e){return 0},C:function(e,r,t,n,o){},z:function(e,r,t,n){for(var o=0,i=0;i<t;i++){for(var a=k[r+8*i>>2],u=k[r+(8*i+4)>>2],s=0;s<u;s++)Rr.printChar(e,W[a+s]);o+=u}return k[n>>2]=o,0},D:function(e){0|e}},Dr=(function(){var e={a:Ir};function r(e,r){var t=e.exports;o.asm=t,q((T=o.asm.K).buffer),H=o.asm.L,function(e){if(X--,o.monitorRunDependencies&&o.monitorRunDependencies(X),0==X&&(null!==J&&(clearInterval(J),J=null),K)){var r=K;K=null,r()}}()}function t(e){r(e.instance)}function i(r){return(w||!f&&!l||"function"!=typeof fetch||te(oe)?Promise.resolve().then(ie):fetch(oe,{credentials:"same-origin"}).then((function(e){if(!e.ok)throw"failed to load wasm binary file at '"+oe+"'";return e.arrayBuffer()})).catch((function(){return ie()}))).then((function(r){return WebAssembly.instantiate(r,e)})).then(r,(function(e){g("failed to asynchronously prepare wasm: "+e),Q(e)}))}if(X++,o.monitorRunDependencies&&o.monitorRunDependencies(X),o.instantiateWasm)try{return o.instantiateWasm(e,r)}catch(e){return g("Module.instantiateWasm callback failed with error: "+e),!1}(w||"function"!=typeof WebAssembly.instantiateStreaming||ee(oe)||te(oe)||"function"!=typeof fetch?i(t):fetch(oe,{credentials:"same-origin"}).then((function(r){return WebAssembly.instantiateStreaming(r,e).then(t,(function(e){return g("wasm streaming compile failed: "+e),g("falling back to ArrayBuffer instantiation"),i(t)}))}))).catch(n)}(),o.___wasm_call_ctors=function(){return(Dr=o.___wasm_call_ctors=o.asm.M).apply(null,arguments)}),Ur=o._malloc=function(){return(Ur=o._malloc=o.asm.N).apply(null,arguments)},Br=o._free=function(){return(Br=o._free=o.asm.O).apply(null,arguments)},Mr=o.___getTypeName=function(){return(Mr=o.___getTypeName=o.asm.P).apply(null,arguments)};o.___embind_register_native_and_builtin_types=function(){return(o.___embind_register_native_and_builtin_types=o.asm.Q).apply(null,arguments)},o.dynCall_jiji=function(){return(o.dynCall_jiji=o.asm.R).apply(null,arguments)};function Vr(e){this.name="ExitStatus",this.message="Program terminated with exit("+e+")",this.status=e}function qr(e){function r(){xr||(xr=!0,o.calledRun=!0,b||(!0,ae(N),ae(G),t(o),o.onRuntimeInitialized&&o.onRuntimeInitialized(),function(){if(o.postRun)for("function"==typeof o.postRun&&(o.postRun=[o.postRun]);o.postRun.length;)e=o.postRun.shift(),L.unshift(e);var e;ae(L)}()))}e=e||c,X>0||(!function(){if(o.preRun)for("function"==typeof o.preRun&&(o.preRun=[o.preRun]);o.preRun.length;)e=o.preRun.shift(),z.unshift(e);var e;ae(z)}(),X>0||(o.setStatus?(o.setStatus("Running..."),setTimeout((function(){setTimeout((function(){o.setStatus("")}),1),r()}),1)):r()))}if(K=function e(){xr||qr(),xr||(K=e)},o.run=qr,o.preInit)for("function"==typeof o.preInit&&(o.preInit=[o.preInit]);o.preInit.length>0;)o.preInit.pop()();return!0,qr(),r.ready}}();"object"==typeof exports&&"object"==typeof module?module.exports=BASIS:"function"==typeof define&&define.amd?define([],(function(){return BASIS})):"object"==typeof exports&&(exports.BASIS=BASIS);
1
+ var BASIS=function(){var e="undefined"!=typeof document&&document.currentScript?document.currentScript.src:void 0;return"undefined"!=typeof __filename&&(e=e||__filename),function(r){var t,n,i=void 0!==(r=r||{})?r:{};i.ready=new Promise((function(e,r){t=e,n=r}));var o,a={};for(o in i)i.hasOwnProperty(o)&&(a[o]=i[o]);var s,u,c=[],l=!1,d=!1;l="object"==typeof window,d="function"==typeof importScripts,s="object"==typeof process&&"object"==typeof process.versions&&"string"==typeof process.versions.node,u=!l&&!s&&!d;var f,p,g,h,m="";s?(m=d?require("path").dirname(m)+"/":__dirname+"/",f=function shell_read(e,r){return g||(g=require("fs")),h||(h=require("path")),e=h.normalize(e),g.readFileSync(e,r?null:"utf8")},p=function readBinary(e){var r=f(e,!0);return r.buffer||(r=new Uint8Array(r)),assert(r.buffer),r},process.argv.length>1&&process.argv[1].replace(/\\/g,"/"),c=process.argv.slice(2),process.on("uncaughtException",(function(e){if(!(e instanceof ExitStatus))throw e})),process.on("unhandledRejection",abort),i.inspect=function(){return"[Emscripten Module object]"}):u?("undefined"!=typeof read&&(f=function shell_read(e){return read(e)}),p=function readBinary(e){var r;return"function"==typeof readbuffer?new Uint8Array(readbuffer(e)):(assert("object"==typeof(r=read(e,"binary"))),r)},"undefined"!=typeof scriptArgs?c=scriptArgs:void 0!==arguments&&(c=arguments),"function"==typeof quit&&function(e){quit(e)},"undefined"!=typeof print&&("undefined"==typeof console&&(console={}),console.log=print,console.warn=console.error="undefined"!=typeof printErr?printErr:print)):(l||d)&&(d?m=self.location.href:"undefined"!=typeof document&&document.currentScript&&(m=document.currentScript.src),e&&(m=e),m=0!==m.indexOf("blob:")?m.substr(0,m.lastIndexOf("/")+1):"",f=function shell_read(e){var r=new XMLHttpRequest;return r.open("GET",e,!1),r.send(null),r.responseText},d&&(p=function readBinary(e){var r=new XMLHttpRequest;return r.open("GET",e,!1),r.responseType="arraybuffer",r.send(null),new Uint8Array(r.response)}));var y=i.print||console.log.bind(console),v=i.printErr||console.warn.bind(console);for(o in a)a.hasOwnProperty(o)&&(i[o]=a[o]);a=null,i.arguments&&(c=i.arguments),i.thisProgram&&i.thisProgram,i.quit&&i.quit;var _,b;i.wasmBinary&&(_=i.wasmBinary),i.noExitRuntime&&i.noExitRuntime,"object"!=typeof WebAssembly&&abort("no native wasm support detected");var T=!1;function assert(e,r){e||abort("Assertion failed: "+r)}var w="undefined"!=typeof TextDecoder?new TextDecoder("utf8"):void 0;function UTF8ArrayToString(e,r,t){for(var n=r+t,i=r;e[i]&&!(i>=n);)++i;if(i-r>16&&e.subarray&&w)return w.decode(e.subarray(r,i));for(var o="";r<i;){var a=e[r++];if(128&a){var s=63&e[r++];if(192!=(224&a)){var u=63&e[r++];if((a=224==(240&a)?(15&a)<<12|s<<6|u:(7&a)<<18|s<<12|u<<6|63&e[r++])<65536)o+=String.fromCharCode(a);else{var c=a-65536;o+=String.fromCharCode(55296|c>>10,56320|1023&c)}}else o+=String.fromCharCode((31&a)<<6|s)}else o+=String.fromCharCode(a)}return o}function UTF8ToString(e,r){return e?UTF8ArrayToString(F,e,r):""}var P,C,F,S,A,$,R,E,I,k="undefined"!=typeof TextDecoder?new TextDecoder("utf-16le"):void 0;function UTF16ToString(e,r){for(var t=e,n=t>>1,i=n+r/2;!(n>=i)&&A[n];)++n;if((t=n<<1)-e>32&&k)return k.decode(F.subarray(e,t));for(var o="",a=0;!(a>=r/2);++a){var s=S[e+2*a>>1];if(0==s)break;o+=String.fromCharCode(s)}return o}function stringToUTF16(e,r,t){if(void 0===t&&(t=2147483647),t<2)return 0;for(var n=r,i=(t-=2)<2*e.length?t/2:e.length,o=0;o<i;++o){var a=e.charCodeAt(o);S[r>>1]=a,r+=2}return S[r>>1]=0,r-n}function lengthBytesUTF16(e){return 2*e.length}function UTF32ToString(e,r){for(var t=0,n="";!(t>=r/4);){var i=$[e+4*t>>2];if(0==i)break;if(++t,i>=65536){var o=i-65536;n+=String.fromCharCode(55296|o>>10,56320|1023&o)}else n+=String.fromCharCode(i)}return n}function stringToUTF32(e,r,t){if(void 0===t&&(t=2147483647),t<4)return 0;for(var n=r,i=n+t-4,o=0;o<e.length;++o){var a=e.charCodeAt(o);if(a>=55296&&a<=57343)a=65536+((1023&a)<<10)|1023&e.charCodeAt(++o);if($[r>>2]=a,(r+=4)+4>i)break}return $[r>>2]=0,r-n}function lengthBytesUTF32(e){for(var r=0,t=0;t<e.length;++t){var n=e.charCodeAt(t);n>=55296&&n<=57343&&++t,r+=4}return r}function updateGlobalBufferAndViews(e){P=e,i.HEAP8=C=new Int8Array(e),i.HEAP16=S=new Int16Array(e),i.HEAP32=$=new Int32Array(e),i.HEAPU8=F=new Uint8Array(e),i.HEAPU16=A=new Uint16Array(e),i.HEAPU32=R=new Uint32Array(e),i.HEAPF32=E=new Float32Array(e),i.HEAPF64=I=new Float64Array(e)}i.INITIAL_MEMORY;var B,D=[],W=[],U=[],O=[];var H=0,j=null,x=null;function abort(e){i.onAbort&&i.onAbort(e),v(e+=""),T=!0,e="abort("+e+"). Build with -s ASSERTIONS=1 for more info.";var r=new WebAssembly.RuntimeError(e);throw n(r),r}function hasPrefix(e,r){return String.prototype.startsWith?e.startsWith(r):0===e.indexOf(r)}i.preloadedImages={},i.preloadedAudios={};var V="data:application/octet-stream;base64,";function isDataURI(e){return hasPrefix(e,V)}var q="file://";function isFileURI(e){return hasPrefix(e,q)}var L="basis_transcoder.wasm";function getBinary(){try{if(_)return new Uint8Array(_);if(p)return p(L);throw"both async and sync fetching of the wasm failed"}catch(e){abort(e)}}function callRuntimeCallbacks(e){for(;e.length>0;){var r=e.shift();if("function"!=typeof r){var t=r.func;"number"==typeof t?void 0===r.arg?B.get(t)():B.get(t)(r.arg):t(void 0===r.arg?null:r.arg)}else r(i)}}isDataURI(L)||(L=function locateFile(e){return i.locateFile?i.locateFile(e,m):m+e}(L));var N={};function runDestructors(e){for(;e.length;){var r=e.pop();e.pop()(r)}}function simpleReadValueFromPointer(e){return this.fromWireType(R[e>>2])}var z={},M={},G={},J=48,X=57;function makeLegalFunctionName(e){if(void 0===e)return"_unknown";var r=(e=e.replace(/[^a-zA-Z0-9_]/g,"$")).charCodeAt(0);return r>=J&&r<=X?"_"+e:e}function createNamedFunction(e,r){return e=makeLegalFunctionName(e),new Function("body","return function "+e+'() {\n "use strict"; return body.apply(this, arguments);\n};\n')(r)}function extendError(e,r){var t=createNamedFunction(r,(function(e){this.name=r,this.message=e;var t=new Error(e).stack;void 0!==t&&(this.stack=this.toString()+"\n"+t.replace(/^Error(:[^\n]*)?\n/,""))}));return t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.prototype.toString=function(){return void 0===this.message?this.name:this.name+": "+this.message},t}var K=void 0;function throwInternalError(e){throw new K(e)}function whenDependentTypesAreResolved(e,r,t){function onComplete(r){var n=t(r);n.length!==e.length&&throwInternalError("Mismatched type converter count");for(var i=0;i<e.length;++i)registerType(e[i],n[i])}e.forEach((function(e){G[e]=r}));var n=new Array(r.length),i=[],o=0;r.forEach((function(e,r){M.hasOwnProperty(e)?n[r]=M[e]:(i.push(e),z.hasOwnProperty(e)||(z[e]=[]),z[e].push((function(){n[r]=M[e],++o===i.length&&onComplete(n)})))})),0===i.length&&onComplete(n)}function getShiftFromSize(e){switch(e){case 1:return 0;case 2:return 1;case 4:return 2;case 8:return 3;default:throw new TypeError("Unknown type size: "+e)}}var Q=void 0;function readLatin1String(e){for(var r="",t=e;F[t];)r+=Q[F[t++]];return r}var Y=void 0;function throwBindingError(e){throw new Y(e)}function registerType(e,r,t){if(t=t||{},!("argPackAdvance"in r))throw new TypeError("registerType registeredInstance requires argPackAdvance");var n=r.name;if(e||throwBindingError('type "'+n+'" must have a positive integer typeid pointer'),M.hasOwnProperty(e)){if(t.ignoreDuplicateRegistrations)return;throwBindingError("Cannot register type '"+n+"' twice")}if(M[e]=r,delete G[e],z.hasOwnProperty(e)){var i=z[e];delete z[e],i.forEach((function(e){e()}))}}function ClassHandle_isAliasOf(e){if(!(this instanceof ClassHandle))return!1;if(!(e instanceof ClassHandle))return!1;for(var r=this.$$.ptrType.registeredClass,t=this.$$.ptr,n=e.$$.ptrType.registeredClass,i=e.$$.ptr;r.baseClass;)t=r.upcast(t),r=r.baseClass;for(;n.baseClass;)i=n.upcast(i),n=n.baseClass;return r===n&&t===i}function throwInstanceAlreadyDeleted(e){throwBindingError(function getInstanceTypeName(e){return e.$$.ptrType.registeredClass.name}(e)+" instance already deleted")}var Z=!1;function detachFinalizer(e){}function releaseClassHandle(e){e.count.value-=1,0===e.count.value&&function runDestructor(e){e.smartPtr?e.smartPtrType.rawDestructor(e.smartPtr):e.ptrType.registeredClass.rawDestructor(e.ptr)}(e)}function attachFinalizer(e){return"undefined"==typeof FinalizationGroup?(attachFinalizer=function(e){return e},e):(Z=new FinalizationGroup((function(e){for(var r=e.next();!r.done;r=e.next()){var t=r.value;t.ptr?releaseClassHandle(t):console.warn("object already deleted: "+t.ptr)}})),attachFinalizer=function(e){return Z.register(e,e.$$,e.$$),e},detachFinalizer=function(e){Z.unregister(e.$$)},attachFinalizer(e))}function ClassHandle_clone(){if(this.$$.ptr||throwInstanceAlreadyDeleted(this),this.$$.preservePointerOnDelete)return this.$$.count.value+=1,this;var e,r=attachFinalizer(Object.create(Object.getPrototypeOf(this),{$$:{value:(e=this.$$,{count:e.count,deleteScheduled:e.deleteScheduled,preservePointerOnDelete:e.preservePointerOnDelete,ptr:e.ptr,ptrType:e.ptrType,smartPtr:e.smartPtr,smartPtrType:e.smartPtrType})}}));return r.$$.count.value+=1,r.$$.deleteScheduled=!1,r}function ClassHandle_delete(){this.$$.ptr||throwInstanceAlreadyDeleted(this),this.$$.deleteScheduled&&!this.$$.preservePointerOnDelete&&throwBindingError("Object already scheduled for deletion"),detachFinalizer(this),releaseClassHandle(this.$$),this.$$.preservePointerOnDelete||(this.$$.smartPtr=void 0,this.$$.ptr=void 0)}function ClassHandle_isDeleted(){return!this.$$.ptr}var ee=void 0,re=[];function flushPendingDeletes(){for(;re.length;){var e=re.pop();e.$$.deleteScheduled=!1,e.delete()}}function ClassHandle_deleteLater(){return this.$$.ptr||throwInstanceAlreadyDeleted(this),this.$$.deleteScheduled&&!this.$$.preservePointerOnDelete&&throwBindingError("Object already scheduled for deletion"),re.push(this),1===re.length&&ee&&ee(flushPendingDeletes),this.$$.deleteScheduled=!0,this}function ClassHandle(){}var te={};function ensureOverloadTable(e,r,t){if(void 0===e[r].overloadTable){var n=e[r];e[r]=function(){return e[r].overloadTable.hasOwnProperty(arguments.length)||throwBindingError("Function '"+t+"' called with an invalid number of arguments ("+arguments.length+") - expects one of ("+e[r].overloadTable+")!"),e[r].overloadTable[arguments.length].apply(this,arguments)},e[r].overloadTable=[],e[r].overloadTable[n.argCount]=n}}function exposePublicSymbol(e,r,t){i.hasOwnProperty(e)?((void 0===t||void 0!==i[e].overloadTable&&void 0!==i[e].overloadTable[t])&&throwBindingError("Cannot register public name '"+e+"' twice"),ensureOverloadTable(i,e,e),i.hasOwnProperty(t)&&throwBindingError("Cannot register multiple overloads of a function with the same number of arguments ("+t+")!"),i[e].overloadTable[t]=r):(i[e]=r,void 0!==t&&(i[e].numArguments=t))}function RegisteredClass(e,r,t,n,i,o,a,s){this.name=e,this.constructor=r,this.instancePrototype=t,this.rawDestructor=n,this.baseClass=i,this.getActualType=o,this.upcast=a,this.downcast=s,this.pureVirtualFunctions=[]}function upcastPointer(e,r,t){for(;r!==t;)r.upcast||throwBindingError("Expected null or instance of "+t.name+", got an instance of "+r.name),e=r.upcast(e),r=r.baseClass;return e}function constNoSmartPtrRawPointerToWireType(e,r){if(null===r)return this.isReference&&throwBindingError("null is not a valid "+this.name),0;r.$$||throwBindingError('Cannot pass "'+_embind_repr(r)+'" as a '+this.name),r.$$.ptr||throwBindingError("Cannot pass deleted object as a pointer of type "+this.name);var t=r.$$.ptrType.registeredClass;return upcastPointer(r.$$.ptr,t,this.registeredClass)}function genericPointerToWireType(e,r){var t;if(null===r)return this.isReference&&throwBindingError("null is not a valid "+this.name),this.isSmartPointer?(t=this.rawConstructor(),null!==e&&e.push(this.rawDestructor,t),t):0;r.$$||throwBindingError('Cannot pass "'+_embind_repr(r)+'" as a '+this.name),r.$$.ptr||throwBindingError("Cannot pass deleted object as a pointer of type "+this.name),!this.isConst&&r.$$.ptrType.isConst&&throwBindingError("Cannot convert argument of type "+(r.$$.smartPtrType?r.$$.smartPtrType.name:r.$$.ptrType.name)+" to parameter type "+this.name);var n=r.$$.ptrType.registeredClass;if(t=upcastPointer(r.$$.ptr,n,this.registeredClass),this.isSmartPointer)switch(void 0===r.$$.smartPtr&&throwBindingError("Passing raw pointer to smart pointer is illegal"),this.sharingPolicy){case 0:r.$$.smartPtrType===this?t=r.$$.smartPtr:throwBindingError("Cannot convert argument of type "+(r.$$.smartPtrType?r.$$.smartPtrType.name:r.$$.ptrType.name)+" to parameter type "+this.name);break;case 1:t=r.$$.smartPtr;break;case 2:if(r.$$.smartPtrType===this)t=r.$$.smartPtr;else{var i=r.clone();t=this.rawShare(t,__emval_register((function(){i.delete()}))),null!==e&&e.push(this.rawDestructor,t)}break;default:throwBindingError("Unsupporting sharing policy")}return t}function nonConstNoSmartPtrRawPointerToWireType(e,r){if(null===r)return this.isReference&&throwBindingError("null is not a valid "+this.name),0;r.$$||throwBindingError('Cannot pass "'+_embind_repr(r)+'" as a '+this.name),r.$$.ptr||throwBindingError("Cannot pass deleted object as a pointer of type "+this.name),r.$$.ptrType.isConst&&throwBindingError("Cannot convert argument of type "+r.$$.ptrType.name+" to parameter type "+this.name);var t=r.$$.ptrType.registeredClass;return upcastPointer(r.$$.ptr,t,this.registeredClass)}function RegisteredPointer_getPointee(e){return this.rawGetPointee&&(e=this.rawGetPointee(e)),e}function RegisteredPointer_destructor(e){this.rawDestructor&&this.rawDestructor(e)}function RegisteredPointer_deleteObject(e){null!==e&&e.delete()}function downcastPointer(e,r,t){if(r===t)return e;if(void 0===t.baseClass)return null;var n=downcastPointer(e,r,t.baseClass);return null===n?null:t.downcast(n)}function getInheritedInstanceCount(){return Object.keys(ne).length}function getLiveInheritedInstances(){var e=[];for(var r in ne)ne.hasOwnProperty(r)&&e.push(ne[r]);return e}function setDelayFunction(e){ee=e,re.length&&ee&&ee(flushPendingDeletes)}var ne={};function getInheritedInstance(e,r){return r=function getBasestPointer(e,r){for(void 0===r&&throwBindingError("ptr should not be undefined");e.baseClass;)r=e.upcast(r),e=e.baseClass;return r}(e,r),ne[r]}function makeClassHandle(e,r){return r.ptrType&&r.ptr||throwInternalError("makeClassHandle requires ptr and ptrType"),!!r.smartPtrType!==!!r.smartPtr&&throwInternalError("Both smartPtrType and smartPtr must be specified"),r.count={value:1},attachFinalizer(Object.create(e,{$$:{value:r}}))}function RegisteredPointer_fromWireType(e){var r=this.getPointee(e);if(!r)return this.destructor(e),null;var t=getInheritedInstance(this.registeredClass,r);if(void 0!==t){if(0===t.$$.count.value)return t.$$.ptr=r,t.$$.smartPtr=e,t.clone();var n=t.clone();return this.destructor(e),n}function makeDefaultHandle(){return this.isSmartPointer?makeClassHandle(this.registeredClass.instancePrototype,{ptrType:this.pointeeType,ptr:r,smartPtrType:this,smartPtr:e}):makeClassHandle(this.registeredClass.instancePrototype,{ptrType:this,ptr:e})}var i,o=this.registeredClass.getActualType(r),a=te[o];if(!a)return makeDefaultHandle.call(this);i=this.isConst?a.constPointerType:a.pointerType;var s=downcastPointer(r,this.registeredClass,i.registeredClass);return null===s?makeDefaultHandle.call(this):this.isSmartPointer?makeClassHandle(i.registeredClass.instancePrototype,{ptrType:i,ptr:s,smartPtrType:this,smartPtr:e}):makeClassHandle(i.registeredClass.instancePrototype,{ptrType:i,ptr:s})}function RegisteredPointer(e,r,t,n,i,o,a,s,u,c,l){this.name=e,this.registeredClass=r,this.isReference=t,this.isConst=n,this.isSmartPointer=i,this.pointeeType=o,this.sharingPolicy=a,this.rawGetPointee=s,this.rawConstructor=u,this.rawShare=c,this.rawDestructor=l,i||void 0!==r.baseClass?this.toWireType=genericPointerToWireType:n?(this.toWireType=constNoSmartPtrRawPointerToWireType,this.destructorFunction=null):(this.toWireType=nonConstNoSmartPtrRawPointerToWireType,this.destructorFunction=null)}function replacePublicSymbol(e,r,t){i.hasOwnProperty(e)||throwInternalError("Replacing nonexistant public symbol"),void 0!==i[e].overloadTable&&void 0!==t?i[e].overloadTable[t]=r:(i[e]=r,i[e].argCount=t)}function dynCall(e,r,t){return-1!=e.indexOf("j")?function dynCallLegacy(e,r,t){return t&&t.length?i["dynCall_"+e].apply(null,[r].concat(t)):i["dynCall_"+e].call(null,r)}(e,r,t):B.get(r).apply(null,t)}function embind__requireFunction(e,r){e=readLatin1String(e);var t=function makeDynCaller(){return-1!=e.indexOf("j")?function getDynCaller(e,r){assert(e.indexOf("j")>=0,"getDynCaller should only be called with i64 sigs");var t=[];return function(){t.length=arguments.length;for(var n=0;n<arguments.length;n++)t[n]=arguments[n];return dynCall(e,r,t)}}(e,r):B.get(r)}();return"function"!=typeof t&&throwBindingError("unknown function pointer with signature "+e+": "+r),t}var ie=void 0;function getTypeName(e){var r=me(e),t=readLatin1String(r);return he(r),t}function throwUnboundTypeError(e,r){var t=[],n={};throw r.forEach((function visit(e){n[e]||M[e]||(G[e]?G[e].forEach(visit):(t.push(e),n[e]=!0))})),new ie(e+": "+t.map(getTypeName).join([", "]))}function heap32VectorToArray(e,r){for(var t=[],n=0;n<e;n++)t.push($[(r>>2)+n]);return t}function new_(e,r){if(!(e instanceof Function))throw new TypeError("new_ called with constructor type "+typeof e+" which is not a function");var t=createNamedFunction(e.name||"unknownFunctionName",(function(){}));t.prototype=e.prototype;var n=new t,i=e.apply(n,r);return i instanceof Object?i:n}function craftInvokerFunction(e,r,t,n,i){var o=r.length;o<2&&throwBindingError("argTypes array size mismatch! Must at least get return value and 'this' types!");for(var a=null!==r[1]&&null!==t,s=!1,u=1;u<r.length;++u)if(null!==r[u]&&void 0===r[u].destructorFunction){s=!0;break}var c="void"!==r[0].name,l="",d="";for(u=0;u<o-2;++u)l+=(0!==u?", ":"")+"arg"+u,d+=(0!==u?", ":"")+"arg"+u+"Wired";var f="return function "+makeLegalFunctionName(e)+"("+l+") {\nif (arguments.length !== "+(o-2)+") {\nthrowBindingError('function "+e+" called with ' + arguments.length + ' arguments, expected "+(o-2)+" args!');\n}\n";s&&(f+="var destructors = [];\n");var p=s?"destructors":"null",g=["throwBindingError","invoker","fn","runDestructors","retType","classParam"],h=[throwBindingError,n,i,runDestructors,r[0],r[1]];a&&(f+="var thisWired = classParam.toWireType("+p+", this);\n");for(u=0;u<o-2;++u)f+="var arg"+u+"Wired = argType"+u+".toWireType("+p+", arg"+u+"); // "+r[u+2].name+"\n",g.push("argType"+u),h.push(r[u+2]);if(a&&(d="thisWired"+(d.length>0?", ":"")+d),f+=(c?"var rv = ":"")+"invoker(fn"+(d.length>0?", ":"")+d+");\n",s)f+="runDestructors(destructors);\n";else for(u=a?1:2;u<r.length;++u){var m=1===u?"thisWired":"arg"+(u-2)+"Wired";null!==r[u].destructorFunction&&(f+=m+"_dtor("+m+"); // "+r[u].name+"\n",g.push(m+"_dtor"),h.push(r[u].destructorFunction))}return c&&(f+="var ret = retType.fromWireType(rv);\nreturn ret;\n"),f+="}\n",g.push(f),new_(Function,g).apply(null,h)}var oe=[],ae=[{},{value:void 0},{value:null},{value:!0},{value:!1}];function __emval_decref(e){e>4&&0==--ae[e].refcount&&(ae[e]=void 0,oe.push(e))}function count_emval_handles(){for(var e=0,r=5;r<ae.length;++r)void 0!==ae[r]&&++e;return e}function get_first_emval(){for(var e=5;e<ae.length;++e)if(void 0!==ae[e])return ae[e];return null}function __emval_register(e){switch(e){case void 0:return 1;case null:return 2;case!0:return 3;case!1:return 4;default:var r=oe.length?oe.pop():ae.length;return ae[r]={refcount:1,value:e},r}}function enumReadValueFromPointer(e,r,t){switch(r){case 0:return function(e){var r=t?C:F;return this.fromWireType(r[e])};case 1:return function(e){var r=t?S:A;return this.fromWireType(r[e>>1])};case 2:return function(e){var r=t?$:R;return this.fromWireType(r[e>>2])};default:throw new TypeError("Unknown integer type: "+e)}}function requireRegisteredType(e,r){var t=M[e];return void 0===t&&throwBindingError(r+" has unknown type "+getTypeName(e)),t}function _embind_repr(e){if(null===e)return"null";var r=typeof e;return"object"===r||"array"===r||"function"===r?e.toString():""+e}function floatReadValueFromPointer(e,r){switch(r){case 2:return function(e){return this.fromWireType(E[e>>2])};case 3:return function(e){return this.fromWireType(I[e>>3])};default:throw new TypeError("Unknown float type: "+e)}}function integerReadValueFromPointer(e,r,t){switch(r){case 0:return t?function readS8FromPointer(e){return C[e]}:function readU8FromPointer(e){return F[e]};case 1:return t?function readS16FromPointer(e){return S[e>>1]}:function readU16FromPointer(e){return A[e>>1]};case 2:return t?function readS32FromPointer(e){return $[e>>2]}:function readU32FromPointer(e){return R[e>>2]};default:throw new TypeError("Unknown integer type: "+e)}}function requireHandle(e){return e||throwBindingError("Cannot use deleted val. handle = "+e),ae[e].value}var se={};function getStringOrSymbol(e){var r=se[e];return void 0===r?readLatin1String(e):r}var ue=[];function emval_get_global(){return"object"==typeof globalThis?globalThis:Function("return this")()}var ce={};function emscripten_realloc_buffer(e){try{return b.grow(e-P.byteLength+65535>>>16),updateGlobalBufferAndViews(b.buffer),1}catch(e){}}var le={mappings:{},buffers:[null,[],[]],printChar:function(e,r){var t=le.buffers[e];0===r||10===r?((1===e?y:v)(UTF8ArrayToString(t,0)),t.length=0):t.push(r)},varargs:void 0,get:function(){return le.varargs+=4,$[le.varargs-4>>2]},getStr:function(e){return UTF8ToString(e)},get64:function(e,r){return e}};K=i.InternalError=extendError(Error,"InternalError"),function embind_init_charCodes(){for(var e=new Array(256),r=0;r<256;++r)e[r]=String.fromCharCode(r);Q=e}(),Y=i.BindingError=extendError(Error,"BindingError"),function init_ClassHandle(){ClassHandle.prototype.isAliasOf=ClassHandle_isAliasOf,ClassHandle.prototype.clone=ClassHandle_clone,ClassHandle.prototype.delete=ClassHandle_delete,ClassHandle.prototype.isDeleted=ClassHandle_isDeleted,ClassHandle.prototype.deleteLater=ClassHandle_deleteLater}(),function init_RegisteredPointer(){RegisteredPointer.prototype.getPointee=RegisteredPointer_getPointee,RegisteredPointer.prototype.destructor=RegisteredPointer_destructor,RegisteredPointer.prototype.argPackAdvance=8,RegisteredPointer.prototype.readValueFromPointer=simpleReadValueFromPointer,RegisteredPointer.prototype.deleteObject=RegisteredPointer_deleteObject,RegisteredPointer.prototype.fromWireType=RegisteredPointer_fromWireType}(),function init_embind(){i.getInheritedInstanceCount=getInheritedInstanceCount,i.getLiveInheritedInstances=getLiveInheritedInstances,i.flushPendingDeletes=flushPendingDeletes,i.setDelayFunction=setDelayFunction}(),ie=i.UnboundTypeError=extendError(Error,"UnboundTypeError"),function init_emval(){i.count_emval_handles=count_emval_handles,i.get_first_emval=get_first_emval}(),W.push({func:function(){pe()}});var de,fe={t:function __embind_finalize_value_object(e){var r=N[e];delete N[e];var t=r.rawConstructor,n=r.rawDestructor,i=r.fields;whenDependentTypesAreResolved([e],i.map((function(e){return e.getterReturnType})).concat(i.map((function(e){return e.setterArgumentType}))),(function(e){var o={};return i.forEach((function(r,t){var n=r.fieldName,a=e[t],s=r.getter,u=r.getterContext,c=e[t+i.length],l=r.setter,d=r.setterContext;o[n]={read:function(e){return a.fromWireType(s(u,e))},write:function(e,r){var t=[];l(d,e,c.toWireType(t,r)),runDestructors(t)}}})),[{name:r.name,fromWireType:function(e){var r={};for(var t in o)r[t]=o[t].read(e);return n(e),r},toWireType:function(e,r){for(var i in o)if(!(i in r))throw new TypeError('Missing field: "'+i+'"');var a=t();for(i in o)o[i].write(a,r[i]);return null!==e&&e.push(n,a),a},argPackAdvance:8,readValueFromPointer:simpleReadValueFromPointer,destructorFunction:n}]}))},I:function __embind_register_bool(e,r,t,n,i){var o=getShiftFromSize(t);registerType(e,{name:r=readLatin1String(r),fromWireType:function(e){return!!e},toWireType:function(e,r){return r?n:i},argPackAdvance:8,readValueFromPointer:function(e){var n;if(1===t)n=C;else if(2===t)n=S;else{if(4!==t)throw new TypeError("Unknown boolean type size: "+r);n=$}return this.fromWireType(n[e>>o])},destructorFunction:null})},x:function __embind_register_class(e,r,t,n,i,o,a,s,u,c,l,d,f){l=readLatin1String(l),o=embind__requireFunction(i,o),s&&(s=embind__requireFunction(a,s)),c&&(c=embind__requireFunction(u,c)),f=embind__requireFunction(d,f);var p=makeLegalFunctionName(l);exposePublicSymbol(p,(function(){throwUnboundTypeError("Cannot construct "+l+" due to unbound types",[n])})),whenDependentTypesAreResolved([e,r,t],n?[n]:[],(function(r){var t,i;r=r[0],i=n?(t=r.registeredClass).instancePrototype:ClassHandle.prototype;var a=createNamedFunction(p,(function(){if(Object.getPrototypeOf(this)!==u)throw new Y("Use 'new' to construct "+l);if(void 0===d.constructor_body)throw new Y(l+" has no accessible constructor");var e=d.constructor_body[arguments.length];if(void 0===e)throw new Y("Tried to invoke ctor of "+l+" with invalid number of parameters ("+arguments.length+") - expected ("+Object.keys(d.constructor_body).toString()+") parameters instead!");return e.apply(this,arguments)})),u=Object.create(i,{constructor:{value:a}});a.prototype=u;var d=new RegisteredClass(l,a,u,f,t,o,s,c),g=new RegisteredPointer(l,d,!0,!1,!1),h=new RegisteredPointer(l+"*",d,!1,!1,!1),m=new RegisteredPointer(l+" const*",d,!1,!0,!1);return te[e]={pointerType:h,constPointerType:m},replacePublicSymbol(p,a),[g,h,m]}))},w:function __embind_register_class_constructor(e,r,t,n,i,o){assert(r>0);var a=heap32VectorToArray(r,t);i=embind__requireFunction(n,i);var s=[o],u=[];whenDependentTypesAreResolved([],[e],(function(e){var t="constructor "+(e=e[0]).name;if(void 0===e.registeredClass.constructor_body&&(e.registeredClass.constructor_body=[]),void 0!==e.registeredClass.constructor_body[r-1])throw new Y("Cannot register multiple constructors with identical number of parameters ("+(r-1)+") for class '"+e.name+"'! Overload resolution is currently only performed using the parameter count, not actual type info!");return e.registeredClass.constructor_body[r-1]=function unboundTypeHandler(){throwUnboundTypeError("Cannot construct "+e.name+" due to unbound types",a)},whenDependentTypesAreResolved([],a,(function(n){return e.registeredClass.constructor_body[r-1]=function constructor_body(){arguments.length!==r-1&&throwBindingError(t+" called with "+arguments.length+" arguments, expected "+(r-1)),u.length=0,s.length=r;for(var e=1;e<r;++e)s[e]=n[e].toWireType(u,arguments[e-1]);var o=i.apply(null,s);return runDestructors(u),n[0].fromWireType(o)},[]})),[]}))},d:function __embind_register_class_function(e,r,t,n,i,o,a,s){var u=heap32VectorToArray(t,n);r=readLatin1String(r),o=embind__requireFunction(i,o),whenDependentTypesAreResolved([],[e],(function(e){var n=(e=e[0]).name+"."+r;function unboundTypesHandler(){throwUnboundTypeError("Cannot call "+n+" due to unbound types",u)}s&&e.registeredClass.pureVirtualFunctions.push(r);var i=e.registeredClass.instancePrototype,c=i[r];return void 0===c||void 0===c.overloadTable&&c.className!==e.name&&c.argCount===t-2?(unboundTypesHandler.argCount=t-2,unboundTypesHandler.className=e.name,i[r]=unboundTypesHandler):(ensureOverloadTable(i,r,n),i[r].overloadTable[t-2]=unboundTypesHandler),whenDependentTypesAreResolved([],u,(function(s){var u=craftInvokerFunction(n,s,e,o,a);return void 0===i[r].overloadTable?(u.argCount=t-2,i[r]=u):i[r].overloadTable[t-2]=u,[]})),[]}))},k:function __embind_register_constant(e,r,t){e=readLatin1String(e),whenDependentTypesAreResolved([],[r],(function(r){return r=r[0],i[e]=r.fromWireType(t),[]}))},H:function __embind_register_emval(e,r){registerType(e,{name:r=readLatin1String(r),fromWireType:function(e){var r=ae[e].value;return __emval_decref(e),r},toWireType:function(e,r){return __emval_register(r)},argPackAdvance:8,readValueFromPointer:simpleReadValueFromPointer,destructorFunction:null})},n:function __embind_register_enum(e,r,t,n){var i=getShiftFromSize(t);function ctor(){}r=readLatin1String(r),ctor.values={},registerType(e,{name:r,constructor:ctor,fromWireType:function(e){return this.constructor.values[e]},toWireType:function(e,r){return r.value},argPackAdvance:8,readValueFromPointer:enumReadValueFromPointer(r,i,n),destructorFunction:null}),exposePublicSymbol(r,ctor)},a:function __embind_register_enum_value(e,r,t){var n=requireRegisteredType(e,"enum");r=readLatin1String(r);var i=n.constructor,o=Object.create(n.constructor.prototype,{value:{value:t},constructor:{value:createNamedFunction(n.name+"_"+r,(function(){}))}});i.values[t]=o,i[r]=o},A:function __embind_register_float(e,r,t){var n=getShiftFromSize(t);registerType(e,{name:r=readLatin1String(r),fromWireType:function(e){return e},toWireType:function(e,r){if("number"!=typeof r&&"boolean"!=typeof r)throw new TypeError('Cannot convert "'+_embind_repr(r)+'" to '+this.name);return r},argPackAdvance:8,readValueFromPointer:floatReadValueFromPointer(r,n),destructorFunction:null})},i:function __embind_register_function(e,r,t,n,i,o){var a=heap32VectorToArray(r,t);e=readLatin1String(e),i=embind__requireFunction(n,i),exposePublicSymbol(e,(function(){throwUnboundTypeError("Cannot call "+e+" due to unbound types",a)}),r-1),whenDependentTypesAreResolved([],a,(function(t){var n=[t[0],null].concat(t.slice(1));return replacePublicSymbol(e,craftInvokerFunction(e,n,null,i,o),r-1),[]}))},j:function __embind_register_integer(e,r,t,n,i){r=readLatin1String(r),-1===i&&(i=4294967295);var o=getShiftFromSize(t),fromWireType=function(e){return e};if(0===n){var a=32-8*t;fromWireType=function(e){return e<<a>>>a}}var s=-1!=r.indexOf("unsigned");registerType(e,{name:r,fromWireType,toWireType:function(e,t){if("number"!=typeof t&&"boolean"!=typeof t)throw new TypeError('Cannot convert "'+_embind_repr(t)+'" to '+this.name);if(t<n||t>i)throw new TypeError('Passing a number "'+_embind_repr(t)+'" from JS side to C/C++ side to an argument of type "'+r+'", which is outside the valid range ['+n+", "+i+"]!");return s?t>>>0:0|t},argPackAdvance:8,readValueFromPointer:integerReadValueFromPointer(r,o,0!==n),destructorFunction:null})},h:function __embind_register_memory_view(e,r,t){var n=[Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array][r];function decodeMemoryView(e){var r=R,t=r[e>>=2],i=r[e+1];return new n(P,i,t)}registerType(e,{name:t=readLatin1String(t),fromWireType:decodeMemoryView,argPackAdvance:8,readValueFromPointer:decodeMemoryView},{ignoreDuplicateRegistrations:!0})},B:function __embind_register_std_string(e,r){var t="std::string"===(r=readLatin1String(r));registerType(e,{name:r,fromWireType:function(e){var r,n=R[e>>2];if(t)for(var i=e+4,o=0;o<=n;++o){var a=e+4+o;if(o==n||0==F[a]){var s=UTF8ToString(i,a-i);void 0===r?r=s:(r+=String.fromCharCode(0),r+=s),i=a+1}}else{var u=new Array(n);for(o=0;o<n;++o)u[o]=String.fromCharCode(F[e+4+o]);r=u.join("")}return he(e),r},toWireType:function(e,r){var n;r instanceof ArrayBuffer&&(r=new Uint8Array(r));var i="string"==typeof r;i||r instanceof Uint8Array||r instanceof Uint8ClampedArray||r instanceof Int8Array||throwBindingError("Cannot pass non-string to std::string"),n=t&&i?function(){return function lengthBytesUTF8(e){for(var r=0,t=0;t<e.length;++t){var n=e.charCodeAt(t);n>=55296&&n<=57343&&(n=65536+((1023&n)<<10)|1023&e.charCodeAt(++t)),n<=127?++r:r+=n<=2047?2:n<=65535?3:4}return r}(r)}:function(){return r.length};var o=n(),a=ge(4+o+1);if(R[a>>2]=o,t&&i)!function stringToUTF8(e,r,t){return function stringToUTF8Array(e,r,t,n){if(!(n>0))return 0;for(var i=t,o=t+n-1,a=0;a<e.length;++a){var s=e.charCodeAt(a);if(s>=55296&&s<=57343&&(s=65536+((1023&s)<<10)|1023&e.charCodeAt(++a)),s<=127){if(t>=o)break;r[t++]=s}else if(s<=2047){if(t+1>=o)break;r[t++]=192|s>>6,r[t++]=128|63&s}else if(s<=65535){if(t+2>=o)break;r[t++]=224|s>>12,r[t++]=128|s>>6&63,r[t++]=128|63&s}else{if(t+3>=o)break;r[t++]=240|s>>18,r[t++]=128|s>>12&63,r[t++]=128|s>>6&63,r[t++]=128|63&s}}return r[t]=0,t-i}(e,F,r,t)}(r,a+4,o+1);else if(i)for(var s=0;s<o;++s){var u=r.charCodeAt(s);u>255&&(he(a),throwBindingError("String has UTF-16 code units that do not fit in 8 bits")),F[a+4+s]=u}else for(s=0;s<o;++s)F[a+4+s]=r[s];return null!==e&&e.push(he,a),a},argPackAdvance:8,readValueFromPointer:simpleReadValueFromPointer,destructorFunction:function(e){he(e)}})},v:function __embind_register_std_wstring(e,r,t){var n,i,o,a,s;t=readLatin1String(t),2===r?(n=UTF16ToString,i=stringToUTF16,a=lengthBytesUTF16,o=function(){return A},s=1):4===r&&(n=UTF32ToString,i=stringToUTF32,a=lengthBytesUTF32,o=function(){return R},s=2),registerType(e,{name:t,fromWireType:function(e){for(var t,i=R[e>>2],a=o(),u=e+4,c=0;c<=i;++c){var l=e+4+c*r;if(c==i||0==a[l>>s]){var d=n(u,l-u);void 0===t?t=d:(t+=String.fromCharCode(0),t+=d),u=l+r}}return he(e),t},toWireType:function(e,n){"string"!=typeof n&&throwBindingError("Cannot pass non-string to C++ string type "+t);var o=a(n),u=ge(4+o+r);return R[u>>2]=o>>s,i(n,u+4,o+r),null!==e&&e.push(he,u),u},argPackAdvance:8,readValueFromPointer:simpleReadValueFromPointer,destructorFunction:function(e){he(e)}})},u:function __embind_register_value_object(e,r,t,n,i,o){N[e]={name:readLatin1String(r),rawConstructor:embind__requireFunction(t,n),rawDestructor:embind__requireFunction(i,o),fields:[]}},c:function __embind_register_value_object_field(e,r,t,n,i,o,a,s,u,c){N[e].fields.push({fieldName:readLatin1String(r),getterReturnType:t,getter:embind__requireFunction(n,i),getterContext:o,setterArgumentType:a,setter:embind__requireFunction(s,u),setterContext:c})},J:function __embind_register_void(e,r){registerType(e,{isVoid:!0,name:r=readLatin1String(r),argPackAdvance:0,fromWireType:function(){},toWireType:function(e,r){}})},m:function __emval_as(e,r,t){e=requireHandle(e),r=requireRegisteredType(r,"emval::as");var n=[],i=__emval_register(n);return $[t>>2]=i,r.toWireType(n,e)},s:function __emval_call_void_method(e,r,t,n){(e=ue[e])(r=requireHandle(r),t=getStringOrSymbol(t),null,n)},b:__emval_decref,y:function __emval_get_global(e){return 0===e?__emval_register(emval_get_global()):(e=getStringOrSymbol(e),__emval_register(emval_get_global()[e]))},p:function __emval_get_method_caller(e,r){for(var t=function __emval_lookupTypes(e,r){for(var t=new Array(e),n=0;n<e;++n)t[n]=requireRegisteredType($[(r>>2)+n],"parameter "+n);return t}(e,r),n=t[0],i=n.name+"_$"+t.slice(1).map((function(e){return e.name})).join("_")+"$",o=["retType"],a=[n],s="",u=0;u<e-1;++u)s+=(0!==u?", ":"")+"arg"+u,o.push("argType"+u),a.push(t[1+u]);var c="return function "+makeLegalFunctionName("methodCaller_"+i)+"(handle, name, destructors, args) {\n",l=0;for(u=0;u<e-1;++u)c+=" var arg"+u+" = argType"+u+".readValueFromPointer(args"+(l?"+"+l:"")+");\n",l+=t[u+1].argPackAdvance;for(c+=" var rv = handle[name]("+s+");\n",u=0;u<e-1;++u)t[u+1].deleteObject&&(c+=" argType"+u+".deleteObject(arg"+u+");\n");return n.isVoid||(c+=" return retType.toWireType(destructors, rv);\n"),c+="};\n",o.push(c),function __emval_addMethodCaller(e){var r=ue.length;return ue.push(e),r}(new_(Function,o).apply(null,a))},r:function __emval_get_module_property(e){return e=getStringOrSymbol(e),__emval_register(i[e])},e:function __emval_get_property(e,r){return __emval_register((e=requireHandle(e))[r=requireHandle(r)])},g:function __emval_incref(e){e>4&&(ae[e].refcount+=1)},q:function __emval_new(e,r,t,n){e=requireHandle(e);var o=ce[r];return o||(o=function craftEmvalAllocator(e){for(var r="",t=0;t<e;++t)r+=(0!==t?", ":"")+"arg"+t;var n="return function emval_allocator_"+e+"(constructor, argTypes, args) {\n";for(t=0;t<e;++t)n+="var argType"+t+" = requireRegisteredType(Module['HEAP32'][(argTypes >>> 2) + "+t+'], "parameter '+t+'");\nvar arg'+t+" = argType"+t+".readValueFromPointer(args);\nargs += argType"+t+"['argPackAdvance'];\n";return n+="var obj = new constructor("+r+");\nreturn __emval_register(obj);\n}\n",new Function("requireRegisteredType","Module","__emval_register",n)(requireRegisteredType,i,__emval_register)}(r),ce[r]=o),o(e,t,n)},f:function __emval_new_cstring(e){return __emval_register(getStringOrSymbol(e))},l:function __emval_run_destructors(e){runDestructors(ae[e].value),__emval_decref(e)},o:function _abort(){abort()},E:function _emscripten_memcpy_big(e,r,t){F.copyWithin(e,r,r+t)},F:function _emscripten_resize_heap(e){e>>>=0;var r=function _emscripten_get_heap_size(){return F.length}(),t=2147483648;if(e>t)return!1;for(var n,i,o=1;o<=4;o*=2){var a=r*(1+.2/o);if(a=Math.min(a,e+100663296),emscripten_realloc_buffer(Math.min(t,((n=Math.max(16777216,e,a))%(i=65536)>0&&(n+=i-n%i),n))))return!0}return!1},G:function _fd_close(e){return 0},C:function _fd_seek(e,r,t,n,i){},z:function _fd_write(e,r,t,n){for(var i=0,o=0;o<t;o++){for(var a=$[r+8*o>>2],s=$[r+(8*o+4)>>2],u=0;u<s;u++)le.printChar(e,F[a+u]);i+=s}return $[n>>2]=i,0},D:function _setTempRet0(e){0|e}},pe=(function createWasm(){var e={a:fe};function receiveInstance(e,r){var t=e.exports;i.asm=t,updateGlobalBufferAndViews((b=i.asm.K).buffer),B=i.asm.L,function removeRunDependency(e){if(H--,i.monitorRunDependencies&&i.monitorRunDependencies(H),0==H&&(null!==j&&(clearInterval(j),j=null),x)){var r=x;x=null,r()}}()}function receiveInstantiatedSource(e){receiveInstance(e.instance)}function instantiateArrayBuffer(r){return function getBinaryPromise(){return _||!l&&!d||"function"!=typeof fetch||isFileURI(L)?Promise.resolve().then(getBinary):fetch(L,{credentials:"same-origin"}).then((function(e){if(!e.ok)throw"failed to load wasm binary file at '"+L+"'";return e.arrayBuffer()})).catch((function(){return getBinary()}))}().then((function(r){return WebAssembly.instantiate(r,e)})).then(r,(function(e){v("failed to asynchronously prepare wasm: "+e),abort(e)}))}if(function addRunDependency(e){H++,i.monitorRunDependencies&&i.monitorRunDependencies(H)}(),i.instantiateWasm)try{return i.instantiateWasm(e,receiveInstance)}catch(e){return v("Module.instantiateWasm callback failed with error: "+e),!1}return function instantiateAsync(){return _||"function"!=typeof WebAssembly.instantiateStreaming||isDataURI(L)||isFileURI(L)||"function"!=typeof fetch?instantiateArrayBuffer(receiveInstantiatedSource):fetch(L,{credentials:"same-origin"}).then((function(r){return WebAssembly.instantiateStreaming(r,e).then(receiveInstantiatedSource,(function(e){return v("wasm streaming compile failed: "+e),v("falling back to ArrayBuffer instantiation"),instantiateArrayBuffer(receiveInstantiatedSource)}))}))}().catch(n),{}}(),i.___wasm_call_ctors=function(){return(pe=i.___wasm_call_ctors=i.asm.M).apply(null,arguments)}),ge=i._malloc=function(){return(ge=i._malloc=i.asm.N).apply(null,arguments)},he=i._free=function(){return(he=i._free=i.asm.O).apply(null,arguments)},me=i.___getTypeName=function(){return(me=i.___getTypeName=i.asm.P).apply(null,arguments)};i.___embind_register_native_and_builtin_types=function(){return(i.___embind_register_native_and_builtin_types=i.asm.Q).apply(null,arguments)},i.dynCall_jiji=function(){return(i.dynCall_jiji=i.asm.R).apply(null,arguments)};function ExitStatus(e){this.name="ExitStatus",this.message="Program terminated with exit("+e+")",this.status=e}function run(e){function doRun(){de||(de=!0,i.calledRun=!0,T||(!function initRuntime(){callRuntimeCallbacks(W)}(),function preMain(){callRuntimeCallbacks(U)}(),t(i),i.onRuntimeInitialized&&i.onRuntimeInitialized(),function postRun(){if(i.postRun)for("function"==typeof i.postRun&&(i.postRun=[i.postRun]);i.postRun.length;)e=i.postRun.shift(),O.unshift(e);var e;callRuntimeCallbacks(O)}()))}e=e||c,H>0||(!function preRun(){if(i.preRun)for("function"==typeof i.preRun&&(i.preRun=[i.preRun]);i.preRun.length;)e=i.preRun.shift(),D.unshift(e);var e;callRuntimeCallbacks(D)}(),H>0||(i.setStatus?(i.setStatus("Running..."),setTimeout((function(){setTimeout((function(){i.setStatus("")}),1),doRun()}),1)):doRun()))}if(x=function runCaller(){de||run(),de||(x=runCaller)},i.run=run,i.preInit)for("function"==typeof i.preInit&&(i.preInit=[i.preInit]);i.preInit.length>0;)i.preInit.pop()();return run(),r.ready}}();"object"==typeof exports&&"object"==typeof module?module.exports=BASIS:"function"==typeof define&&define.amd?define([],(function(){return BASIS})):"object"==typeof exports&&(exports.BASIS=BASIS);