draco/javascript/npm/draco3dgltf/draco_decoder_gltf_nodejs.js
2020-12-01 13:01:33 -08:00

125 lines
62 KiB
JavaScript

var $jscomp=$jscomp||{};$jscomp.scope={};$jscomp.arrayIteratorImpl=function(e){var k=0;return function(){return k<e.length?{done:!1,value:e[k++]}:{done:!0}}};$jscomp.arrayIterator=function(e){return{next:$jscomp.arrayIteratorImpl(e)}};$jscomp.makeIterator=function(e){var k="undefined"!=typeof Symbol&&Symbol.iterator&&e[Symbol.iterator];return k?k.call(e):$jscomp.arrayIterator(e)};
$jscomp.getGlobal=function(e){return"undefined"!=typeof window&&window===e?e:"undefined"!=typeof global&&null!=global?global:e};$jscomp.global=$jscomp.getGlobal(this);$jscomp.ASSUME_ES5=!1;$jscomp.ASSUME_NO_NATIVE_MAP=!1;$jscomp.ASSUME_NO_NATIVE_SET=!1;$jscomp.SIMPLE_FROUND_POLYFILL=!1;$jscomp.defineProperty=$jscomp.ASSUME_ES5||"function"==typeof Object.defineProperties?Object.defineProperty:function(e,k,p){e!=Array.prototype&&e!=Object.prototype&&(e[k]=p.value)};
$jscomp.polyfill=function(e,k,p,m){if(k){p=$jscomp.global;e=e.split(".");for(m=0;m<e.length-1;m++){var f=e[m];f in p||(p[f]={});p=p[f]}e=e[e.length-1];m=p[e];k=k(m);k!=m&&null!=k&&$jscomp.defineProperty(p,e,{configurable:!0,writable:!0,value:k})}};$jscomp.FORCE_POLYFILL_PROMISE=!1;
$jscomp.polyfill("Promise",function(e){function k(){this.batch_=null}function p(h){return h instanceof f?h:new f(function(f,e){f(h)})}if(e&&!$jscomp.FORCE_POLYFILL_PROMISE)return e;k.prototype.asyncExecute=function(h){if(null==this.batch_){this.batch_=[];var f=this;this.asyncExecuteFunction(function(){f.executeBatch_()})}this.batch_.push(h)};var m=$jscomp.global.setTimeout;k.prototype.asyncExecuteFunction=function(h){m(h,0)};k.prototype.executeBatch_=function(){for(;this.batch_&&this.batch_.length;){var h=
this.batch_;this.batch_=[];for(var f=0;f<h.length;++f){var e=h[f];h[f]=null;try{e()}catch(Z){this.asyncThrow_(Z)}}}this.batch_=null};k.prototype.asyncThrow_=function(h){this.asyncExecuteFunction(function(){throw h;})};var f=function(h){this.state_=0;this.result_=void 0;this.onSettledCallbacks_=[];var f=this.createResolveAndReject_();try{h(f.resolve,f.reject)}catch(U){f.reject(U)}};f.prototype.createResolveAndReject_=function(){function f(f){return function(h){p||(p=!0,f.call(e,h))}}var e=this,p=!1;
return{resolve:f(this.resolveTo_),reject:f(this.reject_)}};f.prototype.resolveTo_=function(h){if(h===this)this.reject_(new TypeError("A Promise cannot resolve to itself"));else if(h instanceof f)this.settleSameAsPromise_(h);else{a:switch(typeof h){case "object":var e=null!=h;break a;case "function":e=!0;break a;default:e=!1}e?this.resolveToNonPromiseObj_(h):this.fulfill_(h)}};f.prototype.resolveToNonPromiseObj_=function(f){var h=void 0;try{h=f.then}catch(U){this.reject_(U);return}"function"==typeof h?
this.settleSameAsThenable_(h,f):this.fulfill_(f)};f.prototype.reject_=function(f){this.settle_(2,f)};f.prototype.fulfill_=function(f){this.settle_(1,f)};f.prototype.settle_=function(f,e){if(0!=this.state_)throw Error("Cannot settle("+f+", "+e+"): Promise already settled in state"+this.state_);this.state_=f;this.result_=e;this.executeOnSettledCallbacks_()};f.prototype.executeOnSettledCallbacks_=function(){if(null!=this.onSettledCallbacks_){for(var f=0;f<this.onSettledCallbacks_.length;++f)S.asyncExecute(this.onSettledCallbacks_[f]);
this.onSettledCallbacks_=null}};var S=new k;f.prototype.settleSameAsPromise_=function(f){var e=this.createResolveAndReject_();f.callWhenSettled_(e.resolve,e.reject)};f.prototype.settleSameAsThenable_=function(f,e){var h=this.createResolveAndReject_();try{f.call(e,h.resolve,h.reject)}catch(Z){h.reject(Z)}};f.prototype.then=function(e,p){function h(f,e){return"function"==typeof f?function(e){try{k(f(e))}catch(ba){m(ba)}}:e}var k,m,K=new f(function(f,e){k=f;m=e});this.callWhenSettled_(h(e,k),h(p,m));
return K};f.prototype.catch=function(f){return this.then(void 0,f)};f.prototype.callWhenSettled_=function(f,e){function p(){switch(h.state_){case 1:f(h.result_);break;case 2:e(h.result_);break;default:throw Error("Unexpected state: "+h.state_);}}var h=this;null==this.onSettledCallbacks_?S.asyncExecute(p):this.onSettledCallbacks_.push(p)};f.resolve=p;f.reject=function(e){return new f(function(f,p){p(e)})};f.race=function(e){return new f(function(f,h){for(var k=$jscomp.makeIterator(e),m=k.next();!m.done;m=
k.next())p(m.value).callWhenSettled_(f,h)})};f.all=function(e){var h=$jscomp.makeIterator(e),k=h.next();return k.done?p([]):new f(function(f,e){function m(e){return function(p){S[e]=p;K--;0==K&&f(S)}}var S=[],K=0;do S.push(void 0),K++,p(k.value).callWhenSettled_(m(S.length-1),e),k=h.next();while(!k.done)})};return f},"es6","es3");$jscomp.checkEs6ConformanceViaProxy=function(){try{var e={},k=Object.create(new $jscomp.global.Proxy(e,{get:function(p,m,f){return p==e&&"q"==m&&f==k}}));return!0===k.q}catch(p){return!1}};
$jscomp.USE_PROXY_FOR_ES6_CONFORMANCE_CHECKS=!1;$jscomp.ES6_CONFORMANCE=$jscomp.USE_PROXY_FOR_ES6_CONFORMANCE_CHECKS&&$jscomp.checkEs6ConformanceViaProxy();$jscomp.owns=function(e,k){return Object.prototype.hasOwnProperty.call(e,k)};
$jscomp.polyfill("Array.prototype.copyWithin",function(e){function k(e){e=Number(e);return Infinity===e||-Infinity===e?e:e|0}return e?e:function(e,m,f){var p=this.length;e=k(e);m=k(m);f=void 0===f?p:k(f);e=0>e?Math.max(p+e,0):Math.min(e,p);m=0>m?Math.max(p+m,0):Math.min(m,p);f=0>f?Math.max(p+f,0):Math.min(f,p);if(e<m)for(;m<f;)m in this?this[e++]=this[m++]:(delete this[e++],m++);else for(f=Math.min(f,p+m-e),e+=f-m;f>m;)--f in this?this[--e]=this[f]:delete this[--e];return this}},"es6","es3");
var DracoDecoderModule=function(){var e="undefined"!==typeof document&&document.currentScript?document.currentScript.src:void 0;"undefined"!==typeof __filename&&(e=e||__filename);return function(k){function p(l){return a.locateFile?a.locateFile(l,O):O+l}function m(a,c){a||K("Assertion failed: "+c)}function f(a,c){if(a){var b=ka;var d=a+c;for(c=a;b[c]&&!(c>=d);)++c;if(16<c-a&&b.subarray&&xa)b=xa.decode(b.subarray(a,c));else{for(d="";a<c;){var l=b[a++];if(l&128){var e=b[a++]&63;if(192==(l&224))d+=String.fromCharCode((l&
31)<<6|e);else{var f=b[a++]&63;l=224==(l&240)?(l&15)<<12|e<<6|f:(l&7)<<18|e<<12|f<<6|b[a++]&63;65536>l?d+=String.fromCharCode(l):(l-=65536,d+=String.fromCharCode(55296|l>>10,56320|l&1023))}}else d+=String.fromCharCode(l)}b=d}}else b="";return b}function S(a,c){0<a%c&&(a+=c-a%c);return a}function h(l){la=l;a.HEAP8=P=new Int8Array(l);a.HEAP16=new Int16Array(l);a.HEAP32=I=new Int32Array(l);a.HEAPU8=ka=new Uint8Array(l);a.HEAPU16=new Uint16Array(l);a.HEAPU32=new Uint32Array(l);a.HEAPF32=new Float32Array(l);
a.HEAPF64=new Float64Array(l)}function K(l){if(a.onAbort)a.onAbort(l);l+="";ca(l);ya=!0;l=new WebAssembly.RuntimeError("abort("+l+"). Build with -s ASSERTIONS=1 for more info.");za(l);throw l;}function U(a,c){return String.prototype.startsWith?a.startsWith(c):0===a.indexOf(c)}function Z(){try{if(da)return new Uint8Array(da);if(ma)return ma(Q);throw"both async and sync fetching of the wasm failed";}catch(l){K(l)}}function yd(){return da||!na&&!X||"function"!==typeof fetch||U(Q,"file://")?Promise.resolve().then(Z):
fetch(Q,{credentials:"same-origin"}).then(function(a){if(!a.ok)throw"failed to load wasm binary file at '"+Q+"'";return a.arrayBuffer()}).catch(function(){return Z()})}function ja(l){for(;0<l.length;){var c=l.shift();if("function"==typeof c)c(a);else{var b=c.func;"number"===typeof b?void 0===c.arg?pa.get(b)():pa.get(b)(c.arg):b(void 0===c.arg?null:c.arg)}}}function zd(a){this.excPtr=a;this.ptr=a-x.SIZE;this.set_type=function(a){I[this.ptr+x.TYPE_OFFSET>>2]=a};this.get_type=function(){return I[this.ptr+
x.TYPE_OFFSET>>2]};this.set_destructor=function(a){I[this.ptr+x.DESTRUCTOR_OFFSET>>2]=a};this.get_destructor=function(){return I[this.ptr+x.DESTRUCTOR_OFFSET>>2]};this.set_refcount=function(a){I[this.ptr+x.REFCOUNT_OFFSET>>2]=a};this.set_caught=function(a){P[this.ptr+x.CAUGHT_OFFSET>>0]=a?1:0};this.get_caught=function(){return 0!=P[this.ptr+x.CAUGHT_OFFSET>>0]};this.set_rethrown=function(a){P[this.ptr+x.RETHROWN_OFFSET>>0]=a?1:0};this.get_rethrown=function(){return 0!=P[this.ptr+x.RETHROWN_OFFSET>>
0]};this.init=function(a,b){this.set_type(a);this.set_destructor(b);this.set_refcount(0);this.set_caught(!1);this.set_rethrown(!1)};this.add_ref=function(){I[this.ptr+x.REFCOUNT_OFFSET>>2]+=1};this.release_ref=function(){var a=I[this.ptr+x.REFCOUNT_OFFSET>>2];I[this.ptr+x.REFCOUNT_OFFSET>>2]=a-1;return 1===a}}function ia(){return 0<ia.uncaught_exceptions}function aa(){if(!aa.strings){var a={USER:"web_user",LOGNAME:"web_user",PATH:"/",PWD:"/",HOME:"/home/web_user",LANG:("object"===typeof navigator&&
navigator.languages&&navigator.languages[0]||"C").replace("-","_")+".UTF-8",_:qa||"./this.program"},c;for(c in Aa)a[c]=Aa[c];var b=[];for(c in a)b.push(c+"="+a[c]);aa.strings=b}return aa.strings}function ba(l){function c(){if(!oa&&(oa=!0,a.calledRun=!0,!ya)){Ba=!0;ja(Ca);ja(Da);Ea(a);if(a.onRuntimeInitialized)a.onRuntimeInitialized();if(a.postRun)for("function"==typeof a.postRun&&(a.postRun=[a.postRun]);a.postRun.length;)Fa.unshift(a.postRun.shift());ja(Fa)}}if(!(0<Y)){if(a.preRun)for("function"==
typeof a.preRun&&(a.preRun=[a.preRun]);a.preRun.length;)Ga.unshift(a.preRun.shift());ja(Ga);0<Y||(a.setStatus?(a.setStatus("Running..."),setTimeout(function(){setTimeout(function(){a.setStatus("")},1);c()},1)):c())}}function q(){}function u(a){return(a||q).__cache__}function L(a,c){var b=u(c),d=b[a];if(d)return d;d=Object.create((c||q).prototype);d.ptr=a;return b[a]=d}function V(a){if("string"===typeof a){for(var c=0,b=0;b<a.length;++b){var d=a.charCodeAt(b);55296<=d&&57343>=d&&(d=65536+((d&1023)<<
10)|a.charCodeAt(++b)&1023);127>=d?++c:c=2047>=d?c+2:65535>=d?c+3:c+4}c=Array(c+1);b=0;d=c.length;if(0<d){d=b+d-1;for(var l=0;l<a.length;++l){var e=a.charCodeAt(l);if(55296<=e&&57343>=e){var f=a.charCodeAt(++l);e=65536+((e&1023)<<10)|f&1023}if(127>=e){if(b>=d)break;c[b++]=e}else{if(2047>=e){if(b+1>=d)break;c[b++]=192|e>>6}else{if(65535>=e){if(b+2>=d)break;c[b++]=224|e>>12}else{if(b+3>=d)break;c[b++]=240|e>>18;c[b++]=128|e>>12&63}c[b++]=128|e>>6&63}c[b++]=128|e&63}}c[b]=0}a=n.alloc(c,P);n.copy(c,P,
a)}return a}function ra(a){if("object"===typeof a){var c=n.alloc(a,P);n.copy(a,P,c);return c}return a}function T(){throw"cannot construct a VoidPtr, no constructor in IDL";}function M(){this.ptr=Ha();u(M)[this.ptr]=this}function J(){this.ptr=Ia();u(J)[this.ptr]=this}function R(){this.ptr=Ja();u(R)[this.ptr]=this}function r(){this.ptr=Ka();u(r)[this.ptr]=this}function w(){this.ptr=La();u(w)[this.ptr]=this}function z(){this.ptr=Ma();u(z)[this.ptr]=this}function A(){this.ptr=Na();u(A)[this.ptr]=this}
function y(){this.ptr=Oa();u(y)[this.ptr]=this}function N(){this.ptr=Pa();u(N)[this.ptr]=this}function v(){throw"cannot construct a Status, no constructor in IDL";}function B(){this.ptr=Qa();u(B)[this.ptr]=this}function C(){this.ptr=Ra();u(C)[this.ptr]=this}function D(){this.ptr=Sa();u(D)[this.ptr]=this}function E(){this.ptr=Ta();u(E)[this.ptr]=this}function F(){this.ptr=Ua();u(F)[this.ptr]=this}function G(){this.ptr=Va();u(G)[this.ptr]=this}function H(){this.ptr=Wa();u(H)[this.ptr]=this}function t(){this.ptr=
Xa();u(t)[this.ptr]=this}function g(){this.ptr=Ya();u(g)[this.ptr]=this}k=k||{};var a="undefined"!==typeof k?k:{},Ea,za;a.ready=new Promise(function(a,c){Ea=a;za=c});var Za=!1,$a=!1;a.onRuntimeInitialized=function(){Za=!0;if($a&&"function"===typeof a.onModuleLoaded)a.onModuleLoaded(a)};a.onModuleParsed=function(){$a=!0;if(Za&&"function"===typeof a.onModuleLoaded)a.onModuleLoaded(a)};a.isVersionSupported=function(a){if("string"!==typeof a)return!1;a=a.split(".");return 2>a.length||3<a.length?!1:1==
a[0]&&0<=a[1]&&3>=a[1]?!0:0!=a[0]||10<a[1]?!1:!0};var ea={},W;for(W in a)a.hasOwnProperty(W)&&(ea[W]=a[W]);var qa="./this.program",na=!1,X=!1,sa=!1,ab=!1;na="object"===typeof window;X="function"===typeof importScripts;sa="object"===typeof process&&"object"===typeof process.versions&&"string"===typeof process.versions.node;ab=!na&&!sa&&!X;var O="",ta,ua;if(sa){O=X?require("path").dirname(O)+"/":__dirname+"/";var va=function(a,c){ta||(ta=require("fs"));ua||(ua=require("path"));a=ua.normalize(a);return ta.readFileSync(a,
c?null:"utf8")};var ma=function(a){a=va(a,!0);a.buffer||(a=new Uint8Array(a));m(a.buffer);return a};1<process.argv.length&&(qa=process.argv[1].replace(/\\/g,"/"));process.argv.slice(2);process.on("uncaughtException",function(a){throw a;});process.on("unhandledRejection",K);a.inspect=function(){return"[Emscripten Module object]"}}else if(ab)"undefined"!=typeof read&&(va=function(a){return read(a)}),ma=function(a){if("function"===typeof readbuffer)return new Uint8Array(readbuffer(a));a=read(a,"binary");
m("object"===typeof a);return a},"undefined"!==typeof print&&("undefined"===typeof console&&(console={}),console.log=print,console.warn=console.error="undefined"!==typeof printErr?printErr:print);else if(na||X)X?O=self.location.href:document.currentScript&&(O=document.currentScript.src),e&&(O=e),O=0!==O.indexOf("blob:")?O.substr(0,O.lastIndexOf("/")+1):"",va=function(a){var c=new XMLHttpRequest;c.open("GET",a,!1);c.send(null);return c.responseText},X&&(ma=function(a){var c=new XMLHttpRequest;c.open("GET",
a,!1);c.responseType="arraybuffer";c.send(null);return new Uint8Array(c.response)});a.print||console.log.bind(console);var ca=a.printErr||console.warn.bind(console);for(W in ea)ea.hasOwnProperty(W)&&(a[W]=ea[W]);ea=null;a.thisProgram&&(qa=a.thisProgram);var da;a.wasmBinary&&(da=a.wasmBinary);"object"!==typeof WebAssembly&&K("no native wasm support detected");var fa,pa,ya=!1,xa="undefined"!==typeof TextDecoder?new TextDecoder("utf8"):void 0;"undefined"!==typeof TextDecoder&&new TextDecoder("utf-16le");
var P,ka,I,bb=a.INITIAL_MEMORY||16777216;if(fa=a.wasmMemory?a.wasmMemory:new WebAssembly.Memory({initial:bb/65536,maximum:32768}))var la=fa.buffer;bb=la.byteLength;h(la);var Ga=[],Ca=[],Da=[],Fa=[],Ba=!1,Y=0,wa=null,ha=null;a.preloadedImages={};a.preloadedAudios={};var Q="draco_decoder_gltf.wasm";U(Q,"data:application/octet-stream;base64,")||(Q=p(Q));var x={DESTRUCTOR_OFFSET:0,REFCOUNT_OFFSET:4,TYPE_OFFSET:8,CAUGHT_OFFSET:12,RETHROWN_OFFSET:13,SIZE:16},Aa={};Ca.push({func:function(){cb()}});var eb=
{__cxa_allocate_exception:function(a){return db(a+x.SIZE)+x.SIZE},__cxa_throw:function(a,c,b){(new zd(a)).init(c,b);"uncaught_exception"in ia?ia.uncaught_exceptions++:ia.uncaught_exceptions=1;throw a;},abort:function(){K()},array_bounds_check_error:function(a,c){throw"Array index "+a+" out of bounds: [0,"+c+")";},emscripten_memcpy_big:function(a,c,b){ka.copyWithin(a,c,c+b)},emscripten_resize_heap:function(a){a>>>=0;var c=ka.length;if(2147483648<a)return!1;for(var b=1;4>=b;b*=2){var d=c*(1+.2/b);d=
Math.min(d,a+100663296);d=Math.min(2147483648,S(Math.max(16777216,a,d),65536));a:{try{fa.grow(d-la.byteLength+65535>>>16);h(fa.buffer);var e=1;break a}catch(Bd){}e=void 0}if(e)return!0}return!1},environ_get:function(a,c){var b=0;aa().forEach(function(d,e){var f=c+b;e=I[a+4*e>>2]=f;for(f=0;f<d.length;++f)P[e++>>0]=d.charCodeAt(f);P[e>>0]=0;b+=d.length+1});return 0},environ_sizes_get:function(a,c){var b=aa();I[a>>2]=b.length;var d=0;b.forEach(function(a){d+=a.length+1});I[c>>2]=d;return 0},memory:fa};
(function(){function e(c,b){a.asm=c.exports;pa=a.asm.__indirect_function_table;Y--;a.monitorRunDependencies&&a.monitorRunDependencies(Y);0==Y&&(null!==wa&&(clearInterval(wa),wa=null),ha&&(c=ha,ha=null,c()))}function c(a){e(a.instance)}function b(a){return yd().then(function(a){return WebAssembly.instantiate(a,d)}).then(a,function(a){ca("failed to asynchronously prepare wasm: "+a);K(a)})}var d={env:eb,wasi_snapshot_preview1:eb};Y++;a.monitorRunDependencies&&a.monitorRunDependencies(Y);if(a.instantiateWasm)try{return a.instantiateWasm(d,
e)}catch(Ad){return ca("Module.instantiateWasm callback failed with error: "+Ad),!1}(function(){if(da||"function"!==typeof WebAssembly.instantiateStreaming||U(Q,"data:application/octet-stream;base64,")||U(Q,"file://")||"function"!==typeof fetch)return b(c);fetch(Q,{credentials:"same-origin"}).then(function(a){return WebAssembly.instantiateStreaming(a,d).then(c,function(a){ca("wasm streaming compile failed: "+a);ca("falling back to ArrayBuffer instantiation");return b(c)})})})();return{}})();var cb=
a.___wasm_call_ctors=function(){return(cb=a.___wasm_call_ctors=a.asm.__wasm_call_ctors).apply(null,arguments)};a.___em_js__array_bounds_check_error=function(){return(a.___em_js__array_bounds_check_error=a.asm.__em_js__array_bounds_check_error).apply(null,arguments)};var fb=a._emscripten_bind_VoidPtr___destroy___0=function(){return(fb=a._emscripten_bind_VoidPtr___destroy___0=a.asm.emscripten_bind_VoidPtr___destroy___0).apply(null,arguments)},Ha=a._emscripten_bind_DecoderBuffer_DecoderBuffer_0=function(){return(Ha=
a._emscripten_bind_DecoderBuffer_DecoderBuffer_0=a.asm.emscripten_bind_DecoderBuffer_DecoderBuffer_0).apply(null,arguments)},gb=a._emscripten_bind_DecoderBuffer_Init_2=function(){return(gb=a._emscripten_bind_DecoderBuffer_Init_2=a.asm.emscripten_bind_DecoderBuffer_Init_2).apply(null,arguments)},hb=a._emscripten_bind_DecoderBuffer___destroy___0=function(){return(hb=a._emscripten_bind_DecoderBuffer___destroy___0=a.asm.emscripten_bind_DecoderBuffer___destroy___0).apply(null,arguments)},Ia=a._emscripten_bind_AttributeTransformData_AttributeTransformData_0=
function(){return(Ia=a._emscripten_bind_AttributeTransformData_AttributeTransformData_0=a.asm.emscripten_bind_AttributeTransformData_AttributeTransformData_0).apply(null,arguments)},ib=a._emscripten_bind_AttributeTransformData_transform_type_0=function(){return(ib=a._emscripten_bind_AttributeTransformData_transform_type_0=a.asm.emscripten_bind_AttributeTransformData_transform_type_0).apply(null,arguments)},jb=a._emscripten_bind_AttributeTransformData___destroy___0=function(){return(jb=a._emscripten_bind_AttributeTransformData___destroy___0=
a.asm.emscripten_bind_AttributeTransformData___destroy___0).apply(null,arguments)},Ja=a._emscripten_bind_GeometryAttribute_GeometryAttribute_0=function(){return(Ja=a._emscripten_bind_GeometryAttribute_GeometryAttribute_0=a.asm.emscripten_bind_GeometryAttribute_GeometryAttribute_0).apply(null,arguments)},kb=a._emscripten_bind_GeometryAttribute___destroy___0=function(){return(kb=a._emscripten_bind_GeometryAttribute___destroy___0=a.asm.emscripten_bind_GeometryAttribute___destroy___0).apply(null,arguments)},
Ka=a._emscripten_bind_PointAttribute_PointAttribute_0=function(){return(Ka=a._emscripten_bind_PointAttribute_PointAttribute_0=a.asm.emscripten_bind_PointAttribute_PointAttribute_0).apply(null,arguments)},lb=a._emscripten_bind_PointAttribute_size_0=function(){return(lb=a._emscripten_bind_PointAttribute_size_0=a.asm.emscripten_bind_PointAttribute_size_0).apply(null,arguments)},mb=a._emscripten_bind_PointAttribute_GetAttributeTransformData_0=function(){return(mb=a._emscripten_bind_PointAttribute_GetAttributeTransformData_0=
a.asm.emscripten_bind_PointAttribute_GetAttributeTransformData_0).apply(null,arguments)},nb=a._emscripten_bind_PointAttribute_attribute_type_0=function(){return(nb=a._emscripten_bind_PointAttribute_attribute_type_0=a.asm.emscripten_bind_PointAttribute_attribute_type_0).apply(null,arguments)},ob=a._emscripten_bind_PointAttribute_data_type_0=function(){return(ob=a._emscripten_bind_PointAttribute_data_type_0=a.asm.emscripten_bind_PointAttribute_data_type_0).apply(null,arguments)},pb=a._emscripten_bind_PointAttribute_num_components_0=
function(){return(pb=a._emscripten_bind_PointAttribute_num_components_0=a.asm.emscripten_bind_PointAttribute_num_components_0).apply(null,arguments)},qb=a._emscripten_bind_PointAttribute_normalized_0=function(){return(qb=a._emscripten_bind_PointAttribute_normalized_0=a.asm.emscripten_bind_PointAttribute_normalized_0).apply(null,arguments)},rb=a._emscripten_bind_PointAttribute_byte_stride_0=function(){return(rb=a._emscripten_bind_PointAttribute_byte_stride_0=a.asm.emscripten_bind_PointAttribute_byte_stride_0).apply(null,
arguments)},sb=a._emscripten_bind_PointAttribute_byte_offset_0=function(){return(sb=a._emscripten_bind_PointAttribute_byte_offset_0=a.asm.emscripten_bind_PointAttribute_byte_offset_0).apply(null,arguments)},tb=a._emscripten_bind_PointAttribute_unique_id_0=function(){return(tb=a._emscripten_bind_PointAttribute_unique_id_0=a.asm.emscripten_bind_PointAttribute_unique_id_0).apply(null,arguments)},ub=a._emscripten_bind_PointAttribute___destroy___0=function(){return(ub=a._emscripten_bind_PointAttribute___destroy___0=
a.asm.emscripten_bind_PointAttribute___destroy___0).apply(null,arguments)},La=a._emscripten_bind_AttributeQuantizationTransform_AttributeQuantizationTransform_0=function(){return(La=a._emscripten_bind_AttributeQuantizationTransform_AttributeQuantizationTransform_0=a.asm.emscripten_bind_AttributeQuantizationTransform_AttributeQuantizationTransform_0).apply(null,arguments)},vb=a._emscripten_bind_AttributeQuantizationTransform_InitFromAttribute_1=function(){return(vb=a._emscripten_bind_AttributeQuantizationTransform_InitFromAttribute_1=
a.asm.emscripten_bind_AttributeQuantizationTransform_InitFromAttribute_1).apply(null,arguments)},wb=a._emscripten_bind_AttributeQuantizationTransform_quantization_bits_0=function(){return(wb=a._emscripten_bind_AttributeQuantizationTransform_quantization_bits_0=a.asm.emscripten_bind_AttributeQuantizationTransform_quantization_bits_0).apply(null,arguments)},xb=a._emscripten_bind_AttributeQuantizationTransform_min_value_1=function(){return(xb=a._emscripten_bind_AttributeQuantizationTransform_min_value_1=
a.asm.emscripten_bind_AttributeQuantizationTransform_min_value_1).apply(null,arguments)},yb=a._emscripten_bind_AttributeQuantizationTransform_range_0=function(){return(yb=a._emscripten_bind_AttributeQuantizationTransform_range_0=a.asm.emscripten_bind_AttributeQuantizationTransform_range_0).apply(null,arguments)},zb=a._emscripten_bind_AttributeQuantizationTransform___destroy___0=function(){return(zb=a._emscripten_bind_AttributeQuantizationTransform___destroy___0=a.asm.emscripten_bind_AttributeQuantizationTransform___destroy___0).apply(null,
arguments)},Ma=a._emscripten_bind_AttributeOctahedronTransform_AttributeOctahedronTransform_0=function(){return(Ma=a._emscripten_bind_AttributeOctahedronTransform_AttributeOctahedronTransform_0=a.asm.emscripten_bind_AttributeOctahedronTransform_AttributeOctahedronTransform_0).apply(null,arguments)},Ab=a._emscripten_bind_AttributeOctahedronTransform_InitFromAttribute_1=function(){return(Ab=a._emscripten_bind_AttributeOctahedronTransform_InitFromAttribute_1=a.asm.emscripten_bind_AttributeOctahedronTransform_InitFromAttribute_1).apply(null,
arguments)},Bb=a._emscripten_bind_AttributeOctahedronTransform_quantization_bits_0=function(){return(Bb=a._emscripten_bind_AttributeOctahedronTransform_quantization_bits_0=a.asm.emscripten_bind_AttributeOctahedronTransform_quantization_bits_0).apply(null,arguments)},Cb=a._emscripten_bind_AttributeOctahedronTransform___destroy___0=function(){return(Cb=a._emscripten_bind_AttributeOctahedronTransform___destroy___0=a.asm.emscripten_bind_AttributeOctahedronTransform___destroy___0).apply(null,arguments)},
Na=a._emscripten_bind_PointCloud_PointCloud_0=function(){return(Na=a._emscripten_bind_PointCloud_PointCloud_0=a.asm.emscripten_bind_PointCloud_PointCloud_0).apply(null,arguments)},Db=a._emscripten_bind_PointCloud_num_attributes_0=function(){return(Db=a._emscripten_bind_PointCloud_num_attributes_0=a.asm.emscripten_bind_PointCloud_num_attributes_0).apply(null,arguments)},Eb=a._emscripten_bind_PointCloud_num_points_0=function(){return(Eb=a._emscripten_bind_PointCloud_num_points_0=a.asm.emscripten_bind_PointCloud_num_points_0).apply(null,
arguments)},Fb=a._emscripten_bind_PointCloud___destroy___0=function(){return(Fb=a._emscripten_bind_PointCloud___destroy___0=a.asm.emscripten_bind_PointCloud___destroy___0).apply(null,arguments)},Oa=a._emscripten_bind_Mesh_Mesh_0=function(){return(Oa=a._emscripten_bind_Mesh_Mesh_0=a.asm.emscripten_bind_Mesh_Mesh_0).apply(null,arguments)},Gb=a._emscripten_bind_Mesh_num_faces_0=function(){return(Gb=a._emscripten_bind_Mesh_num_faces_0=a.asm.emscripten_bind_Mesh_num_faces_0).apply(null,arguments)},Hb=
a._emscripten_bind_Mesh_num_attributes_0=function(){return(Hb=a._emscripten_bind_Mesh_num_attributes_0=a.asm.emscripten_bind_Mesh_num_attributes_0).apply(null,arguments)},Ib=a._emscripten_bind_Mesh_num_points_0=function(){return(Ib=a._emscripten_bind_Mesh_num_points_0=a.asm.emscripten_bind_Mesh_num_points_0).apply(null,arguments)},Jb=a._emscripten_bind_Mesh___destroy___0=function(){return(Jb=a._emscripten_bind_Mesh___destroy___0=a.asm.emscripten_bind_Mesh___destroy___0).apply(null,arguments)},Pa=
a._emscripten_bind_Metadata_Metadata_0=function(){return(Pa=a._emscripten_bind_Metadata_Metadata_0=a.asm.emscripten_bind_Metadata_Metadata_0).apply(null,arguments)},Kb=a._emscripten_bind_Metadata___destroy___0=function(){return(Kb=a._emscripten_bind_Metadata___destroy___0=a.asm.emscripten_bind_Metadata___destroy___0).apply(null,arguments)},Lb=a._emscripten_bind_Status_code_0=function(){return(Lb=a._emscripten_bind_Status_code_0=a.asm.emscripten_bind_Status_code_0).apply(null,arguments)},Mb=a._emscripten_bind_Status_ok_0=
function(){return(Mb=a._emscripten_bind_Status_ok_0=a.asm.emscripten_bind_Status_ok_0).apply(null,arguments)},Nb=a._emscripten_bind_Status_error_msg_0=function(){return(Nb=a._emscripten_bind_Status_error_msg_0=a.asm.emscripten_bind_Status_error_msg_0).apply(null,arguments)},Ob=a._emscripten_bind_Status___destroy___0=function(){return(Ob=a._emscripten_bind_Status___destroy___0=a.asm.emscripten_bind_Status___destroy___0).apply(null,arguments)},Qa=a._emscripten_bind_DracoFloat32Array_DracoFloat32Array_0=
function(){return(Qa=a._emscripten_bind_DracoFloat32Array_DracoFloat32Array_0=a.asm.emscripten_bind_DracoFloat32Array_DracoFloat32Array_0).apply(null,arguments)},Pb=a._emscripten_bind_DracoFloat32Array_GetValue_1=function(){return(Pb=a._emscripten_bind_DracoFloat32Array_GetValue_1=a.asm.emscripten_bind_DracoFloat32Array_GetValue_1).apply(null,arguments)},Qb=a._emscripten_bind_DracoFloat32Array_size_0=function(){return(Qb=a._emscripten_bind_DracoFloat32Array_size_0=a.asm.emscripten_bind_DracoFloat32Array_size_0).apply(null,
arguments)},Rb=a._emscripten_bind_DracoFloat32Array___destroy___0=function(){return(Rb=a._emscripten_bind_DracoFloat32Array___destroy___0=a.asm.emscripten_bind_DracoFloat32Array___destroy___0).apply(null,arguments)},Ra=a._emscripten_bind_DracoInt8Array_DracoInt8Array_0=function(){return(Ra=a._emscripten_bind_DracoInt8Array_DracoInt8Array_0=a.asm.emscripten_bind_DracoInt8Array_DracoInt8Array_0).apply(null,arguments)},Sb=a._emscripten_bind_DracoInt8Array_GetValue_1=function(){return(Sb=a._emscripten_bind_DracoInt8Array_GetValue_1=
a.asm.emscripten_bind_DracoInt8Array_GetValue_1).apply(null,arguments)},Tb=a._emscripten_bind_DracoInt8Array_size_0=function(){return(Tb=a._emscripten_bind_DracoInt8Array_size_0=a.asm.emscripten_bind_DracoInt8Array_size_0).apply(null,arguments)},Ub=a._emscripten_bind_DracoInt8Array___destroy___0=function(){return(Ub=a._emscripten_bind_DracoInt8Array___destroy___0=a.asm.emscripten_bind_DracoInt8Array___destroy___0).apply(null,arguments)},Sa=a._emscripten_bind_DracoUInt8Array_DracoUInt8Array_0=function(){return(Sa=
a._emscripten_bind_DracoUInt8Array_DracoUInt8Array_0=a.asm.emscripten_bind_DracoUInt8Array_DracoUInt8Array_0).apply(null,arguments)},Vb=a._emscripten_bind_DracoUInt8Array_GetValue_1=function(){return(Vb=a._emscripten_bind_DracoUInt8Array_GetValue_1=a.asm.emscripten_bind_DracoUInt8Array_GetValue_1).apply(null,arguments)},Wb=a._emscripten_bind_DracoUInt8Array_size_0=function(){return(Wb=a._emscripten_bind_DracoUInt8Array_size_0=a.asm.emscripten_bind_DracoUInt8Array_size_0).apply(null,arguments)},Xb=
a._emscripten_bind_DracoUInt8Array___destroy___0=function(){return(Xb=a._emscripten_bind_DracoUInt8Array___destroy___0=a.asm.emscripten_bind_DracoUInt8Array___destroy___0).apply(null,arguments)},Ta=a._emscripten_bind_DracoInt16Array_DracoInt16Array_0=function(){return(Ta=a._emscripten_bind_DracoInt16Array_DracoInt16Array_0=a.asm.emscripten_bind_DracoInt16Array_DracoInt16Array_0).apply(null,arguments)},Yb=a._emscripten_bind_DracoInt16Array_GetValue_1=function(){return(Yb=a._emscripten_bind_DracoInt16Array_GetValue_1=
a.asm.emscripten_bind_DracoInt16Array_GetValue_1).apply(null,arguments)},Zb=a._emscripten_bind_DracoInt16Array_size_0=function(){return(Zb=a._emscripten_bind_DracoInt16Array_size_0=a.asm.emscripten_bind_DracoInt16Array_size_0).apply(null,arguments)},$b=a._emscripten_bind_DracoInt16Array___destroy___0=function(){return($b=a._emscripten_bind_DracoInt16Array___destroy___0=a.asm.emscripten_bind_DracoInt16Array___destroy___0).apply(null,arguments)},Ua=a._emscripten_bind_DracoUInt16Array_DracoUInt16Array_0=
function(){return(Ua=a._emscripten_bind_DracoUInt16Array_DracoUInt16Array_0=a.asm.emscripten_bind_DracoUInt16Array_DracoUInt16Array_0).apply(null,arguments)},ac=a._emscripten_bind_DracoUInt16Array_GetValue_1=function(){return(ac=a._emscripten_bind_DracoUInt16Array_GetValue_1=a.asm.emscripten_bind_DracoUInt16Array_GetValue_1).apply(null,arguments)},bc=a._emscripten_bind_DracoUInt16Array_size_0=function(){return(bc=a._emscripten_bind_DracoUInt16Array_size_0=a.asm.emscripten_bind_DracoUInt16Array_size_0).apply(null,
arguments)},cc=a._emscripten_bind_DracoUInt16Array___destroy___0=function(){return(cc=a._emscripten_bind_DracoUInt16Array___destroy___0=a.asm.emscripten_bind_DracoUInt16Array___destroy___0).apply(null,arguments)},Va=a._emscripten_bind_DracoInt32Array_DracoInt32Array_0=function(){return(Va=a._emscripten_bind_DracoInt32Array_DracoInt32Array_0=a.asm.emscripten_bind_DracoInt32Array_DracoInt32Array_0).apply(null,arguments)},dc=a._emscripten_bind_DracoInt32Array_GetValue_1=function(){return(dc=a._emscripten_bind_DracoInt32Array_GetValue_1=
a.asm.emscripten_bind_DracoInt32Array_GetValue_1).apply(null,arguments)},ec=a._emscripten_bind_DracoInt32Array_size_0=function(){return(ec=a._emscripten_bind_DracoInt32Array_size_0=a.asm.emscripten_bind_DracoInt32Array_size_0).apply(null,arguments)},fc=a._emscripten_bind_DracoInt32Array___destroy___0=function(){return(fc=a._emscripten_bind_DracoInt32Array___destroy___0=a.asm.emscripten_bind_DracoInt32Array___destroy___0).apply(null,arguments)},Wa=a._emscripten_bind_DracoUInt32Array_DracoUInt32Array_0=
function(){return(Wa=a._emscripten_bind_DracoUInt32Array_DracoUInt32Array_0=a.asm.emscripten_bind_DracoUInt32Array_DracoUInt32Array_0).apply(null,arguments)},gc=a._emscripten_bind_DracoUInt32Array_GetValue_1=function(){return(gc=a._emscripten_bind_DracoUInt32Array_GetValue_1=a.asm.emscripten_bind_DracoUInt32Array_GetValue_1).apply(null,arguments)},hc=a._emscripten_bind_DracoUInt32Array_size_0=function(){return(hc=a._emscripten_bind_DracoUInt32Array_size_0=a.asm.emscripten_bind_DracoUInt32Array_size_0).apply(null,
arguments)},ic=a._emscripten_bind_DracoUInt32Array___destroy___0=function(){return(ic=a._emscripten_bind_DracoUInt32Array___destroy___0=a.asm.emscripten_bind_DracoUInt32Array___destroy___0).apply(null,arguments)},Xa=a._emscripten_bind_MetadataQuerier_MetadataQuerier_0=function(){return(Xa=a._emscripten_bind_MetadataQuerier_MetadataQuerier_0=a.asm.emscripten_bind_MetadataQuerier_MetadataQuerier_0).apply(null,arguments)},jc=a._emscripten_bind_MetadataQuerier_HasEntry_2=function(){return(jc=a._emscripten_bind_MetadataQuerier_HasEntry_2=
a.asm.emscripten_bind_MetadataQuerier_HasEntry_2).apply(null,arguments)},kc=a._emscripten_bind_MetadataQuerier_GetIntEntry_2=function(){return(kc=a._emscripten_bind_MetadataQuerier_GetIntEntry_2=a.asm.emscripten_bind_MetadataQuerier_GetIntEntry_2).apply(null,arguments)},lc=a._emscripten_bind_MetadataQuerier_GetIntEntryArray_3=function(){return(lc=a._emscripten_bind_MetadataQuerier_GetIntEntryArray_3=a.asm.emscripten_bind_MetadataQuerier_GetIntEntryArray_3).apply(null,arguments)},mc=a._emscripten_bind_MetadataQuerier_GetDoubleEntry_2=
function(){return(mc=a._emscripten_bind_MetadataQuerier_GetDoubleEntry_2=a.asm.emscripten_bind_MetadataQuerier_GetDoubleEntry_2).apply(null,arguments)},nc=a._emscripten_bind_MetadataQuerier_GetStringEntry_2=function(){return(nc=a._emscripten_bind_MetadataQuerier_GetStringEntry_2=a.asm.emscripten_bind_MetadataQuerier_GetStringEntry_2).apply(null,arguments)},oc=a._emscripten_bind_MetadataQuerier_NumEntries_1=function(){return(oc=a._emscripten_bind_MetadataQuerier_NumEntries_1=a.asm.emscripten_bind_MetadataQuerier_NumEntries_1).apply(null,
arguments)},pc=a._emscripten_bind_MetadataQuerier_GetEntryName_2=function(){return(pc=a._emscripten_bind_MetadataQuerier_GetEntryName_2=a.asm.emscripten_bind_MetadataQuerier_GetEntryName_2).apply(null,arguments)},qc=a._emscripten_bind_MetadataQuerier___destroy___0=function(){return(qc=a._emscripten_bind_MetadataQuerier___destroy___0=a.asm.emscripten_bind_MetadataQuerier___destroy___0).apply(null,arguments)},Ya=a._emscripten_bind_Decoder_Decoder_0=function(){return(Ya=a._emscripten_bind_Decoder_Decoder_0=
a.asm.emscripten_bind_Decoder_Decoder_0).apply(null,arguments)},rc=a._emscripten_bind_Decoder_DecodeArrayToPointCloud_3=function(){return(rc=a._emscripten_bind_Decoder_DecodeArrayToPointCloud_3=a.asm.emscripten_bind_Decoder_DecodeArrayToPointCloud_3).apply(null,arguments)},sc=a._emscripten_bind_Decoder_DecodeArrayToMesh_3=function(){return(sc=a._emscripten_bind_Decoder_DecodeArrayToMesh_3=a.asm.emscripten_bind_Decoder_DecodeArrayToMesh_3).apply(null,arguments)},tc=a._emscripten_bind_Decoder_GetAttributeId_2=
function(){return(tc=a._emscripten_bind_Decoder_GetAttributeId_2=a.asm.emscripten_bind_Decoder_GetAttributeId_2).apply(null,arguments)},uc=a._emscripten_bind_Decoder_GetAttributeIdByName_2=function(){return(uc=a._emscripten_bind_Decoder_GetAttributeIdByName_2=a.asm.emscripten_bind_Decoder_GetAttributeIdByName_2).apply(null,arguments)},vc=a._emscripten_bind_Decoder_GetAttributeIdByMetadataEntry_3=function(){return(vc=a._emscripten_bind_Decoder_GetAttributeIdByMetadataEntry_3=a.asm.emscripten_bind_Decoder_GetAttributeIdByMetadataEntry_3).apply(null,
arguments)},wc=a._emscripten_bind_Decoder_GetAttribute_2=function(){return(wc=a._emscripten_bind_Decoder_GetAttribute_2=a.asm.emscripten_bind_Decoder_GetAttribute_2).apply(null,arguments)},xc=a._emscripten_bind_Decoder_GetAttributeByUniqueId_2=function(){return(xc=a._emscripten_bind_Decoder_GetAttributeByUniqueId_2=a.asm.emscripten_bind_Decoder_GetAttributeByUniqueId_2).apply(null,arguments)},yc=a._emscripten_bind_Decoder_GetMetadata_1=function(){return(yc=a._emscripten_bind_Decoder_GetMetadata_1=
a.asm.emscripten_bind_Decoder_GetMetadata_1).apply(null,arguments)},zc=a._emscripten_bind_Decoder_GetAttributeMetadata_2=function(){return(zc=a._emscripten_bind_Decoder_GetAttributeMetadata_2=a.asm.emscripten_bind_Decoder_GetAttributeMetadata_2).apply(null,arguments)},Ac=a._emscripten_bind_Decoder_GetFaceFromMesh_3=function(){return(Ac=a._emscripten_bind_Decoder_GetFaceFromMesh_3=a.asm.emscripten_bind_Decoder_GetFaceFromMesh_3).apply(null,arguments)},Bc=a._emscripten_bind_Decoder_GetTriangleStripsFromMesh_2=
function(){return(Bc=a._emscripten_bind_Decoder_GetTriangleStripsFromMesh_2=a.asm.emscripten_bind_Decoder_GetTriangleStripsFromMesh_2).apply(null,arguments)},Cc=a._emscripten_bind_Decoder_GetTrianglesUInt16Array_3=function(){return(Cc=a._emscripten_bind_Decoder_GetTrianglesUInt16Array_3=a.asm.emscripten_bind_Decoder_GetTrianglesUInt16Array_3).apply(null,arguments)},Dc=a._emscripten_bind_Decoder_GetTrianglesUInt32Array_3=function(){return(Dc=a._emscripten_bind_Decoder_GetTrianglesUInt32Array_3=a.asm.emscripten_bind_Decoder_GetTrianglesUInt32Array_3).apply(null,
arguments)},Ec=a._emscripten_bind_Decoder_GetAttributeFloat_3=function(){return(Ec=a._emscripten_bind_Decoder_GetAttributeFloat_3=a.asm.emscripten_bind_Decoder_GetAttributeFloat_3).apply(null,arguments)},Fc=a._emscripten_bind_Decoder_GetAttributeFloatForAllPoints_3=function(){return(Fc=a._emscripten_bind_Decoder_GetAttributeFloatForAllPoints_3=a.asm.emscripten_bind_Decoder_GetAttributeFloatForAllPoints_3).apply(null,arguments)},Gc=a._emscripten_bind_Decoder_GetAttributeIntForAllPoints_3=function(){return(Gc=
a._emscripten_bind_Decoder_GetAttributeIntForAllPoints_3=a.asm.emscripten_bind_Decoder_GetAttributeIntForAllPoints_3).apply(null,arguments)},Hc=a._emscripten_bind_Decoder_GetAttributeInt8ForAllPoints_3=function(){return(Hc=a._emscripten_bind_Decoder_GetAttributeInt8ForAllPoints_3=a.asm.emscripten_bind_Decoder_GetAttributeInt8ForAllPoints_3).apply(null,arguments)},Ic=a._emscripten_bind_Decoder_GetAttributeUInt8ForAllPoints_3=function(){return(Ic=a._emscripten_bind_Decoder_GetAttributeUInt8ForAllPoints_3=
a.asm.emscripten_bind_Decoder_GetAttributeUInt8ForAllPoints_3).apply(null,arguments)},Jc=a._emscripten_bind_Decoder_GetAttributeInt16ForAllPoints_3=function(){return(Jc=a._emscripten_bind_Decoder_GetAttributeInt16ForAllPoints_3=a.asm.emscripten_bind_Decoder_GetAttributeInt16ForAllPoints_3).apply(null,arguments)},Kc=a._emscripten_bind_Decoder_GetAttributeUInt16ForAllPoints_3=function(){return(Kc=a._emscripten_bind_Decoder_GetAttributeUInt16ForAllPoints_3=a.asm.emscripten_bind_Decoder_GetAttributeUInt16ForAllPoints_3).apply(null,
arguments)},Lc=a._emscripten_bind_Decoder_GetAttributeInt32ForAllPoints_3=function(){return(Lc=a._emscripten_bind_Decoder_GetAttributeInt32ForAllPoints_3=a.asm.emscripten_bind_Decoder_GetAttributeInt32ForAllPoints_3).apply(null,arguments)},Mc=a._emscripten_bind_Decoder_GetAttributeUInt32ForAllPoints_3=function(){return(Mc=a._emscripten_bind_Decoder_GetAttributeUInt32ForAllPoints_3=a.asm.emscripten_bind_Decoder_GetAttributeUInt32ForAllPoints_3).apply(null,arguments)},Nc=a._emscripten_bind_Decoder_GetAttributeDataArrayForAllPoints_5=
function(){return(Nc=a._emscripten_bind_Decoder_GetAttributeDataArrayForAllPoints_5=a.asm.emscripten_bind_Decoder_GetAttributeDataArrayForAllPoints_5).apply(null,arguments)},Oc=a._emscripten_bind_Decoder_SkipAttributeTransform_1=function(){return(Oc=a._emscripten_bind_Decoder_SkipAttributeTransform_1=a.asm.emscripten_bind_Decoder_SkipAttributeTransform_1).apply(null,arguments)},Pc=a._emscripten_bind_Decoder_GetEncodedGeometryType_Deprecated_1=function(){return(Pc=a._emscripten_bind_Decoder_GetEncodedGeometryType_Deprecated_1=
a.asm.emscripten_bind_Decoder_GetEncodedGeometryType_Deprecated_1).apply(null,arguments)},Qc=a._emscripten_bind_Decoder_DecodeBufferToPointCloud_2=function(){return(Qc=a._emscripten_bind_Decoder_DecodeBufferToPointCloud_2=a.asm.emscripten_bind_Decoder_DecodeBufferToPointCloud_2).apply(null,arguments)},Rc=a._emscripten_bind_Decoder_DecodeBufferToMesh_2=function(){return(Rc=a._emscripten_bind_Decoder_DecodeBufferToMesh_2=a.asm.emscripten_bind_Decoder_DecodeBufferToMesh_2).apply(null,arguments)},Sc=
a._emscripten_bind_Decoder___destroy___0=function(){return(Sc=a._emscripten_bind_Decoder___destroy___0=a.asm.emscripten_bind_Decoder___destroy___0).apply(null,arguments)},Tc=a._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_INVALID_TRANSFORM=function(){return(Tc=a._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_INVALID_TRANSFORM=a.asm.emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_INVALID_TRANSFORM).apply(null,arguments)},Uc=a._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_NO_TRANSFORM=
function(){return(Uc=a._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_NO_TRANSFORM=a.asm.emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_NO_TRANSFORM).apply(null,arguments)},Vc=a._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_QUANTIZATION_TRANSFORM=function(){return(Vc=a._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_QUANTIZATION_TRANSFORM=a.asm.emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_QUANTIZATION_TRANSFORM).apply(null,arguments)},Wc=a._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_OCTAHEDRON_TRANSFORM=
function(){return(Wc=a._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_OCTAHEDRON_TRANSFORM=a.asm.emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_OCTAHEDRON_TRANSFORM).apply(null,arguments)},Xc=a._emscripten_enum_draco_GeometryAttribute_Type_INVALID=function(){return(Xc=a._emscripten_enum_draco_GeometryAttribute_Type_INVALID=a.asm.emscripten_enum_draco_GeometryAttribute_Type_INVALID).apply(null,arguments)},Yc=a._emscripten_enum_draco_GeometryAttribute_Type_POSITION=function(){return(Yc=
a._emscripten_enum_draco_GeometryAttribute_Type_POSITION=a.asm.emscripten_enum_draco_GeometryAttribute_Type_POSITION).apply(null,arguments)},Zc=a._emscripten_enum_draco_GeometryAttribute_Type_NORMAL=function(){return(Zc=a._emscripten_enum_draco_GeometryAttribute_Type_NORMAL=a.asm.emscripten_enum_draco_GeometryAttribute_Type_NORMAL).apply(null,arguments)},$c=a._emscripten_enum_draco_GeometryAttribute_Type_COLOR=function(){return($c=a._emscripten_enum_draco_GeometryAttribute_Type_COLOR=a.asm.emscripten_enum_draco_GeometryAttribute_Type_COLOR).apply(null,
arguments)},ad=a._emscripten_enum_draco_GeometryAttribute_Type_TEX_COORD=function(){return(ad=a._emscripten_enum_draco_GeometryAttribute_Type_TEX_COORD=a.asm.emscripten_enum_draco_GeometryAttribute_Type_TEX_COORD).apply(null,arguments)},bd=a._emscripten_enum_draco_GeometryAttribute_Type_GENERIC=function(){return(bd=a._emscripten_enum_draco_GeometryAttribute_Type_GENERIC=a.asm.emscripten_enum_draco_GeometryAttribute_Type_GENERIC).apply(null,arguments)},cd=a._emscripten_enum_draco_EncodedGeometryType_INVALID_GEOMETRY_TYPE=
function(){return(cd=a._emscripten_enum_draco_EncodedGeometryType_INVALID_GEOMETRY_TYPE=a.asm.emscripten_enum_draco_EncodedGeometryType_INVALID_GEOMETRY_TYPE).apply(null,arguments)},dd=a._emscripten_enum_draco_EncodedGeometryType_POINT_CLOUD=function(){return(dd=a._emscripten_enum_draco_EncodedGeometryType_POINT_CLOUD=a.asm.emscripten_enum_draco_EncodedGeometryType_POINT_CLOUD).apply(null,arguments)},ed=a._emscripten_enum_draco_EncodedGeometryType_TRIANGULAR_MESH=function(){return(ed=a._emscripten_enum_draco_EncodedGeometryType_TRIANGULAR_MESH=
a.asm.emscripten_enum_draco_EncodedGeometryType_TRIANGULAR_MESH).apply(null,arguments)},fd=a._emscripten_enum_draco_DataType_DT_INVALID=function(){return(fd=a._emscripten_enum_draco_DataType_DT_INVALID=a.asm.emscripten_enum_draco_DataType_DT_INVALID).apply(null,arguments)},gd=a._emscripten_enum_draco_DataType_DT_INT8=function(){return(gd=a._emscripten_enum_draco_DataType_DT_INT8=a.asm.emscripten_enum_draco_DataType_DT_INT8).apply(null,arguments)},hd=a._emscripten_enum_draco_DataType_DT_UINT8=function(){return(hd=
a._emscripten_enum_draco_DataType_DT_UINT8=a.asm.emscripten_enum_draco_DataType_DT_UINT8).apply(null,arguments)},id=a._emscripten_enum_draco_DataType_DT_INT16=function(){return(id=a._emscripten_enum_draco_DataType_DT_INT16=a.asm.emscripten_enum_draco_DataType_DT_INT16).apply(null,arguments)},jd=a._emscripten_enum_draco_DataType_DT_UINT16=function(){return(jd=a._emscripten_enum_draco_DataType_DT_UINT16=a.asm.emscripten_enum_draco_DataType_DT_UINT16).apply(null,arguments)},kd=a._emscripten_enum_draco_DataType_DT_INT32=
function(){return(kd=a._emscripten_enum_draco_DataType_DT_INT32=a.asm.emscripten_enum_draco_DataType_DT_INT32).apply(null,arguments)},ld=a._emscripten_enum_draco_DataType_DT_UINT32=function(){return(ld=a._emscripten_enum_draco_DataType_DT_UINT32=a.asm.emscripten_enum_draco_DataType_DT_UINT32).apply(null,arguments)},md=a._emscripten_enum_draco_DataType_DT_INT64=function(){return(md=a._emscripten_enum_draco_DataType_DT_INT64=a.asm.emscripten_enum_draco_DataType_DT_INT64).apply(null,arguments)},nd=a._emscripten_enum_draco_DataType_DT_UINT64=
function(){return(nd=a._emscripten_enum_draco_DataType_DT_UINT64=a.asm.emscripten_enum_draco_DataType_DT_UINT64).apply(null,arguments)},od=a._emscripten_enum_draco_DataType_DT_FLOAT32=function(){return(od=a._emscripten_enum_draco_DataType_DT_FLOAT32=a.asm.emscripten_enum_draco_DataType_DT_FLOAT32).apply(null,arguments)},pd=a._emscripten_enum_draco_DataType_DT_FLOAT64=function(){return(pd=a._emscripten_enum_draco_DataType_DT_FLOAT64=a.asm.emscripten_enum_draco_DataType_DT_FLOAT64).apply(null,arguments)},
qd=a._emscripten_enum_draco_DataType_DT_BOOL=function(){return(qd=a._emscripten_enum_draco_DataType_DT_BOOL=a.asm.emscripten_enum_draco_DataType_DT_BOOL).apply(null,arguments)},rd=a._emscripten_enum_draco_DataType_DT_TYPES_COUNT=function(){return(rd=a._emscripten_enum_draco_DataType_DT_TYPES_COUNT=a.asm.emscripten_enum_draco_DataType_DT_TYPES_COUNT).apply(null,arguments)},sd=a._emscripten_enum_draco_StatusCode_OK=function(){return(sd=a._emscripten_enum_draco_StatusCode_OK=a.asm.emscripten_enum_draco_StatusCode_OK).apply(null,
arguments)},td=a._emscripten_enum_draco_StatusCode_DRACO_ERROR=function(){return(td=a._emscripten_enum_draco_StatusCode_DRACO_ERROR=a.asm.emscripten_enum_draco_StatusCode_DRACO_ERROR).apply(null,arguments)},ud=a._emscripten_enum_draco_StatusCode_IO_ERROR=function(){return(ud=a._emscripten_enum_draco_StatusCode_IO_ERROR=a.asm.emscripten_enum_draco_StatusCode_IO_ERROR).apply(null,arguments)},vd=a._emscripten_enum_draco_StatusCode_INVALID_PARAMETER=function(){return(vd=a._emscripten_enum_draco_StatusCode_INVALID_PARAMETER=
a.asm.emscripten_enum_draco_StatusCode_INVALID_PARAMETER).apply(null,arguments)},wd=a._emscripten_enum_draco_StatusCode_UNSUPPORTED_VERSION=function(){return(wd=a._emscripten_enum_draco_StatusCode_UNSUPPORTED_VERSION=a.asm.emscripten_enum_draco_StatusCode_UNSUPPORTED_VERSION).apply(null,arguments)},xd=a._emscripten_enum_draco_StatusCode_UNKNOWN_VERSION=function(){return(xd=a._emscripten_enum_draco_StatusCode_UNKNOWN_VERSION=a.asm.emscripten_enum_draco_StatusCode_UNKNOWN_VERSION).apply(null,arguments)};
a.___errno_location=function(){return(a.___errno_location=a.asm.__errno_location).apply(null,arguments)};a.stackSave=function(){return(a.stackSave=a.asm.stackSave).apply(null,arguments)};a.stackRestore=function(){return(a.stackRestore=a.asm.stackRestore).apply(null,arguments)};a.stackAlloc=function(){return(a.stackAlloc=a.asm.stackAlloc).apply(null,arguments)};a._setThrew=function(){return(a._setThrew=a.asm.setThrew).apply(null,arguments)};a._free=function(){return(a._free=a.asm.free).apply(null,
arguments)};var db=a._malloc=function(){return(db=a._malloc=a.asm.malloc).apply(null,arguments)},oa;ha=function c(){oa||ba();oa||(ha=c)};a.run=ba;if(a.preInit)for("function"==typeof a.preInit&&(a.preInit=[a.preInit]);0<a.preInit.length;)a.preInit.pop()();ba();q.prototype=Object.create(q.prototype);q.prototype.constructor=q;q.prototype.__class__=q;q.__cache__={};a.WrapperObject=q;a.getCache=u;a.wrapPointer=L;a.castObject=function(a,b){return L(a.ptr,b)};a.NULL=L(0);a.destroy=function(a){if(!a.__destroy__)throw"Error: Cannot destroy object. (Did you create it yourself?)";
a.__destroy__();delete u(a.__class__)[a.ptr]};a.compare=function(a,b){return a.ptr===b.ptr};a.getPointer=function(a){return a.ptr};a.getClass=function(a){return a.__class__};var n={buffer:0,size:0,pos:0,temps:[],needed:0,prepare:function(){if(n.needed){for(var c=0;c<n.temps.length;c++)a._free(n.temps[c]);n.temps.length=0;a._free(n.buffer);n.buffer=0;n.size+=n.needed;n.needed=0}n.buffer||(n.size+=128,n.buffer=a._malloc(n.size),m(n.buffer));n.pos=0},alloc:function(c,b){m(n.buffer);c=c.length*b.BYTES_PER_ELEMENT;
c=c+7&-8;n.pos+c>=n.size?(m(0<c),n.needed+=c,b=a._malloc(c),n.temps.push(b)):(b=n.buffer+n.pos,n.pos+=c);return b},copy:function(a,b,d){d>>>=0;switch(b.BYTES_PER_ELEMENT){case 2:d>>>=1;break;case 4:d>>>=2;break;case 8:d>>>=3}for(var c=0;c<a.length;c++)b[d+c]=a[c]}};T.prototype=Object.create(q.prototype);T.prototype.constructor=T;T.prototype.__class__=T;T.__cache__={};a.VoidPtr=T;T.prototype.__destroy__=T.prototype.__destroy__=function(){fb(this.ptr)};M.prototype=Object.create(q.prototype);M.prototype.constructor=
M;M.prototype.__class__=M;M.__cache__={};a.DecoderBuffer=M;M.prototype.Init=M.prototype.Init=function(a,b){var c=this.ptr;n.prepare();"object"==typeof a&&(a=ra(a));b&&"object"===typeof b&&(b=b.ptr);gb(c,a,b)};M.prototype.__destroy__=M.prototype.__destroy__=function(){hb(this.ptr)};J.prototype=Object.create(q.prototype);J.prototype.constructor=J;J.prototype.__class__=J;J.__cache__={};a.AttributeTransformData=J;J.prototype.transform_type=J.prototype.transform_type=function(){return ib(this.ptr)};J.prototype.__destroy__=
J.prototype.__destroy__=function(){jb(this.ptr)};R.prototype=Object.create(q.prototype);R.prototype.constructor=R;R.prototype.__class__=R;R.__cache__={};a.GeometryAttribute=R;R.prototype.__destroy__=R.prototype.__destroy__=function(){kb(this.ptr)};r.prototype=Object.create(q.prototype);r.prototype.constructor=r;r.prototype.__class__=r;r.__cache__={};a.PointAttribute=r;r.prototype.size=r.prototype.size=function(){return lb(this.ptr)};r.prototype.GetAttributeTransformData=r.prototype.GetAttributeTransformData=
function(){return L(mb(this.ptr),J)};r.prototype.attribute_type=r.prototype.attribute_type=function(){return nb(this.ptr)};r.prototype.data_type=r.prototype.data_type=function(){return ob(this.ptr)};r.prototype.num_components=r.prototype.num_components=function(){return pb(this.ptr)};r.prototype.normalized=r.prototype.normalized=function(){return!!qb(this.ptr)};r.prototype.byte_stride=r.prototype.byte_stride=function(){return rb(this.ptr)};r.prototype.byte_offset=r.prototype.byte_offset=function(){return sb(this.ptr)};
r.prototype.unique_id=r.prototype.unique_id=function(){return tb(this.ptr)};r.prototype.__destroy__=r.prototype.__destroy__=function(){ub(this.ptr)};w.prototype=Object.create(q.prototype);w.prototype.constructor=w;w.prototype.__class__=w;w.__cache__={};a.AttributeQuantizationTransform=w;w.prototype.InitFromAttribute=w.prototype.InitFromAttribute=function(a){var c=this.ptr;a&&"object"===typeof a&&(a=a.ptr);return!!vb(c,a)};w.prototype.quantization_bits=w.prototype.quantization_bits=function(){return wb(this.ptr)};
w.prototype.min_value=w.prototype.min_value=function(a){var c=this.ptr;a&&"object"===typeof a&&(a=a.ptr);return xb(c,a)};w.prototype.range=w.prototype.range=function(){return yb(this.ptr)};w.prototype.__destroy__=w.prototype.__destroy__=function(){zb(this.ptr)};z.prototype=Object.create(q.prototype);z.prototype.constructor=z;z.prototype.__class__=z;z.__cache__={};a.AttributeOctahedronTransform=z;z.prototype.InitFromAttribute=z.prototype.InitFromAttribute=function(a){var c=this.ptr;a&&"object"===typeof a&&
(a=a.ptr);return!!Ab(c,a)};z.prototype.quantization_bits=z.prototype.quantization_bits=function(){return Bb(this.ptr)};z.prototype.__destroy__=z.prototype.__destroy__=function(){Cb(this.ptr)};A.prototype=Object.create(q.prototype);A.prototype.constructor=A;A.prototype.__class__=A;A.__cache__={};a.PointCloud=A;A.prototype.num_attributes=A.prototype.num_attributes=function(){return Db(this.ptr)};A.prototype.num_points=A.prototype.num_points=function(){return Eb(this.ptr)};A.prototype.__destroy__=A.prototype.__destroy__=
function(){Fb(this.ptr)};y.prototype=Object.create(q.prototype);y.prototype.constructor=y;y.prototype.__class__=y;y.__cache__={};a.Mesh=y;y.prototype.num_faces=y.prototype.num_faces=function(){return Gb(this.ptr)};y.prototype.num_attributes=y.prototype.num_attributes=function(){return Hb(this.ptr)};y.prototype.num_points=y.prototype.num_points=function(){return Ib(this.ptr)};y.prototype.__destroy__=y.prototype.__destroy__=function(){Jb(this.ptr)};N.prototype=Object.create(q.prototype);N.prototype.constructor=
N;N.prototype.__class__=N;N.__cache__={};a.Metadata=N;N.prototype.__destroy__=N.prototype.__destroy__=function(){Kb(this.ptr)};v.prototype=Object.create(q.prototype);v.prototype.constructor=v;v.prototype.__class__=v;v.__cache__={};a.Status=v;v.prototype.code=v.prototype.code=function(){return Lb(this.ptr)};v.prototype.ok=v.prototype.ok=function(){return!!Mb(this.ptr)};v.prototype.error_msg=v.prototype.error_msg=function(){return f(Nb(this.ptr))};v.prototype.__destroy__=v.prototype.__destroy__=function(){Ob(this.ptr)};
B.prototype=Object.create(q.prototype);B.prototype.constructor=B;B.prototype.__class__=B;B.__cache__={};a.DracoFloat32Array=B;B.prototype.GetValue=B.prototype.GetValue=function(a){var c=this.ptr;a&&"object"===typeof a&&(a=a.ptr);return Pb(c,a)};B.prototype.size=B.prototype.size=function(){return Qb(this.ptr)};B.prototype.__destroy__=B.prototype.__destroy__=function(){Rb(this.ptr)};C.prototype=Object.create(q.prototype);C.prototype.constructor=C;C.prototype.__class__=C;C.__cache__={};a.DracoInt8Array=
C;C.prototype.GetValue=C.prototype.GetValue=function(a){var c=this.ptr;a&&"object"===typeof a&&(a=a.ptr);return Sb(c,a)};C.prototype.size=C.prototype.size=function(){return Tb(this.ptr)};C.prototype.__destroy__=C.prototype.__destroy__=function(){Ub(this.ptr)};D.prototype=Object.create(q.prototype);D.prototype.constructor=D;D.prototype.__class__=D;D.__cache__={};a.DracoUInt8Array=D;D.prototype.GetValue=D.prototype.GetValue=function(a){var c=this.ptr;a&&"object"===typeof a&&(a=a.ptr);return Vb(c,a)};
D.prototype.size=D.prototype.size=function(){return Wb(this.ptr)};D.prototype.__destroy__=D.prototype.__destroy__=function(){Xb(this.ptr)};E.prototype=Object.create(q.prototype);E.prototype.constructor=E;E.prototype.__class__=E;E.__cache__={};a.DracoInt16Array=E;E.prototype.GetValue=E.prototype.GetValue=function(a){var c=this.ptr;a&&"object"===typeof a&&(a=a.ptr);return Yb(c,a)};E.prototype.size=E.prototype.size=function(){return Zb(this.ptr)};E.prototype.__destroy__=E.prototype.__destroy__=function(){$b(this.ptr)};
F.prototype=Object.create(q.prototype);F.prototype.constructor=F;F.prototype.__class__=F;F.__cache__={};a.DracoUInt16Array=F;F.prototype.GetValue=F.prototype.GetValue=function(a){var c=this.ptr;a&&"object"===typeof a&&(a=a.ptr);return ac(c,a)};F.prototype.size=F.prototype.size=function(){return bc(this.ptr)};F.prototype.__destroy__=F.prototype.__destroy__=function(){cc(this.ptr)};G.prototype=Object.create(q.prototype);G.prototype.constructor=G;G.prototype.__class__=G;G.__cache__={};a.DracoInt32Array=
G;G.prototype.GetValue=G.prototype.GetValue=function(a){var c=this.ptr;a&&"object"===typeof a&&(a=a.ptr);return dc(c,a)};G.prototype.size=G.prototype.size=function(){return ec(this.ptr)};G.prototype.__destroy__=G.prototype.__destroy__=function(){fc(this.ptr)};H.prototype=Object.create(q.prototype);H.prototype.constructor=H;H.prototype.__class__=H;H.__cache__={};a.DracoUInt32Array=H;H.prototype.GetValue=H.prototype.GetValue=function(a){var c=this.ptr;a&&"object"===typeof a&&(a=a.ptr);return gc(c,a)};
H.prototype.size=H.prototype.size=function(){return hc(this.ptr)};H.prototype.__destroy__=H.prototype.__destroy__=function(){ic(this.ptr)};t.prototype=Object.create(q.prototype);t.prototype.constructor=t;t.prototype.__class__=t;t.__cache__={};a.MetadataQuerier=t;t.prototype.HasEntry=t.prototype.HasEntry=function(a,b){var c=this.ptr;n.prepare();a&&"object"===typeof a&&(a=a.ptr);b=b&&"object"===typeof b?b.ptr:V(b);return!!jc(c,a,b)};t.prototype.GetIntEntry=t.prototype.GetIntEntry=function(a,b){var c=
this.ptr;n.prepare();a&&"object"===typeof a&&(a=a.ptr);b=b&&"object"===typeof b?b.ptr:V(b);return kc(c,a,b)};t.prototype.GetIntEntryArray=t.prototype.GetIntEntryArray=function(a,b,d){var c=this.ptr;n.prepare();a&&"object"===typeof a&&(a=a.ptr);b=b&&"object"===typeof b?b.ptr:V(b);d&&"object"===typeof d&&(d=d.ptr);lc(c,a,b,d)};t.prototype.GetDoubleEntry=t.prototype.GetDoubleEntry=function(a,b){var c=this.ptr;n.prepare();a&&"object"===typeof a&&(a=a.ptr);b=b&&"object"===typeof b?b.ptr:V(b);return mc(c,
a,b)};t.prototype.GetStringEntry=t.prototype.GetStringEntry=function(a,b){var c=this.ptr;n.prepare();a&&"object"===typeof a&&(a=a.ptr);b=b&&"object"===typeof b?b.ptr:V(b);return f(nc(c,a,b))};t.prototype.NumEntries=t.prototype.NumEntries=function(a){var c=this.ptr;a&&"object"===typeof a&&(a=a.ptr);return oc(c,a)};t.prototype.GetEntryName=t.prototype.GetEntryName=function(a,b){var c=this.ptr;a&&"object"===typeof a&&(a=a.ptr);b&&"object"===typeof b&&(b=b.ptr);return f(pc(c,a,b))};t.prototype.__destroy__=
t.prototype.__destroy__=function(){qc(this.ptr)};g.prototype=Object.create(q.prototype);g.prototype.constructor=g;g.prototype.__class__=g;g.__cache__={};a.Decoder=g;g.prototype.DecodeArrayToPointCloud=g.prototype.DecodeArrayToPointCloud=function(a,b,d){var c=this.ptr;n.prepare();"object"==typeof a&&(a=ra(a));b&&"object"===typeof b&&(b=b.ptr);d&&"object"===typeof d&&(d=d.ptr);return L(rc(c,a,b,d),v)};g.prototype.DecodeArrayToMesh=g.prototype.DecodeArrayToMesh=function(a,b,d){var c=this.ptr;n.prepare();
"object"==typeof a&&(a=ra(a));b&&"object"===typeof b&&(b=b.ptr);d&&"object"===typeof d&&(d=d.ptr);return L(sc(c,a,b,d),v)};g.prototype.GetAttributeId=g.prototype.GetAttributeId=function(a,b){var c=this.ptr;a&&"object"===typeof a&&(a=a.ptr);b&&"object"===typeof b&&(b=b.ptr);return tc(c,a,b)};g.prototype.GetAttributeIdByName=g.prototype.GetAttributeIdByName=function(a,b){var c=this.ptr;n.prepare();a&&"object"===typeof a&&(a=a.ptr);b=b&&"object"===typeof b?b.ptr:V(b);return uc(c,a,b)};g.prototype.GetAttributeIdByMetadataEntry=
g.prototype.GetAttributeIdByMetadataEntry=function(a,b,d){var c=this.ptr;n.prepare();a&&"object"===typeof a&&(a=a.ptr);b=b&&"object"===typeof b?b.ptr:V(b);d=d&&"object"===typeof d?d.ptr:V(d);return vc(c,a,b,d)};g.prototype.GetAttribute=g.prototype.GetAttribute=function(a,b){var c=this.ptr;a&&"object"===typeof a&&(a=a.ptr);b&&"object"===typeof b&&(b=b.ptr);return L(wc(c,a,b),r)};g.prototype.GetAttributeByUniqueId=g.prototype.GetAttributeByUniqueId=function(a,b){var c=this.ptr;a&&"object"===typeof a&&
(a=a.ptr);b&&"object"===typeof b&&(b=b.ptr);return L(xc(c,a,b),r)};g.prototype.GetMetadata=g.prototype.GetMetadata=function(a){var c=this.ptr;a&&"object"===typeof a&&(a=a.ptr);return L(yc(c,a),N)};g.prototype.GetAttributeMetadata=g.prototype.GetAttributeMetadata=function(a,b){var c=this.ptr;a&&"object"===typeof a&&(a=a.ptr);b&&"object"===typeof b&&(b=b.ptr);return L(zc(c,a,b),N)};g.prototype.GetFaceFromMesh=g.prototype.GetFaceFromMesh=function(a,b,d){var c=this.ptr;a&&"object"===typeof a&&(a=a.ptr);
b&&"object"===typeof b&&(b=b.ptr);d&&"object"===typeof d&&(d=d.ptr);return!!Ac(c,a,b,d)};g.prototype.GetTriangleStripsFromMesh=g.prototype.GetTriangleStripsFromMesh=function(a,b){var c=this.ptr;a&&"object"===typeof a&&(a=a.ptr);b&&"object"===typeof b&&(b=b.ptr);return Bc(c,a,b)};g.prototype.GetTrianglesUInt16Array=g.prototype.GetTrianglesUInt16Array=function(a,b,d){var c=this.ptr;a&&"object"===typeof a&&(a=a.ptr);b&&"object"===typeof b&&(b=b.ptr);d&&"object"===typeof d&&(d=d.ptr);return!!Cc(c,a,b,
d)};g.prototype.GetTrianglesUInt32Array=g.prototype.GetTrianglesUInt32Array=function(a,b,d){var c=this.ptr;a&&"object"===typeof a&&(a=a.ptr);b&&"object"===typeof b&&(b=b.ptr);d&&"object"===typeof d&&(d=d.ptr);return!!Dc(c,a,b,d)};g.prototype.GetAttributeFloat=g.prototype.GetAttributeFloat=function(a,b,d){var c=this.ptr;a&&"object"===typeof a&&(a=a.ptr);b&&"object"===typeof b&&(b=b.ptr);d&&"object"===typeof d&&(d=d.ptr);return!!Ec(c,a,b,d)};g.prototype.GetAttributeFloatForAllPoints=g.prototype.GetAttributeFloatForAllPoints=
function(a,b,d){var c=this.ptr;a&&"object"===typeof a&&(a=a.ptr);b&&"object"===typeof b&&(b=b.ptr);d&&"object"===typeof d&&(d=d.ptr);return!!Fc(c,a,b,d)};g.prototype.GetAttributeIntForAllPoints=g.prototype.GetAttributeIntForAllPoints=function(a,b,d){var c=this.ptr;a&&"object"===typeof a&&(a=a.ptr);b&&"object"===typeof b&&(b=b.ptr);d&&"object"===typeof d&&(d=d.ptr);return!!Gc(c,a,b,d)};g.prototype.GetAttributeInt8ForAllPoints=g.prototype.GetAttributeInt8ForAllPoints=function(a,b,d){var c=this.ptr;
a&&"object"===typeof a&&(a=a.ptr);b&&"object"===typeof b&&(b=b.ptr);d&&"object"===typeof d&&(d=d.ptr);return!!Hc(c,a,b,d)};g.prototype.GetAttributeUInt8ForAllPoints=g.prototype.GetAttributeUInt8ForAllPoints=function(a,b,d){var c=this.ptr;a&&"object"===typeof a&&(a=a.ptr);b&&"object"===typeof b&&(b=b.ptr);d&&"object"===typeof d&&(d=d.ptr);return!!Ic(c,a,b,d)};g.prototype.GetAttributeInt16ForAllPoints=g.prototype.GetAttributeInt16ForAllPoints=function(a,b,d){var c=this.ptr;a&&"object"===typeof a&&(a=
a.ptr);b&&"object"===typeof b&&(b=b.ptr);d&&"object"===typeof d&&(d=d.ptr);return!!Jc(c,a,b,d)};g.prototype.GetAttributeUInt16ForAllPoints=g.prototype.GetAttributeUInt16ForAllPoints=function(a,b,d){var c=this.ptr;a&&"object"===typeof a&&(a=a.ptr);b&&"object"===typeof b&&(b=b.ptr);d&&"object"===typeof d&&(d=d.ptr);return!!Kc(c,a,b,d)};g.prototype.GetAttributeInt32ForAllPoints=g.prototype.GetAttributeInt32ForAllPoints=function(a,b,d){var c=this.ptr;a&&"object"===typeof a&&(a=a.ptr);b&&"object"===typeof b&&
(b=b.ptr);d&&"object"===typeof d&&(d=d.ptr);return!!Lc(c,a,b,d)};g.prototype.GetAttributeUInt32ForAllPoints=g.prototype.GetAttributeUInt32ForAllPoints=function(a,b,d){var c=this.ptr;a&&"object"===typeof a&&(a=a.ptr);b&&"object"===typeof b&&(b=b.ptr);d&&"object"===typeof d&&(d=d.ptr);return!!Mc(c,a,b,d)};g.prototype.GetAttributeDataArrayForAllPoints=g.prototype.GetAttributeDataArrayForAllPoints=function(a,b,d,e,f){var c=this.ptr;a&&"object"===typeof a&&(a=a.ptr);b&&"object"===typeof b&&(b=b.ptr);d&&
"object"===typeof d&&(d=d.ptr);e&&"object"===typeof e&&(e=e.ptr);f&&"object"===typeof f&&(f=f.ptr);return!!Nc(c,a,b,d,e,f)};g.prototype.SkipAttributeTransform=g.prototype.SkipAttributeTransform=function(a){var b=this.ptr;a&&"object"===typeof a&&(a=a.ptr);Oc(b,a)};g.prototype.GetEncodedGeometryType_Deprecated=g.prototype.GetEncodedGeometryType_Deprecated=function(a){var b=this.ptr;a&&"object"===typeof a&&(a=a.ptr);return Pc(b,a)};g.prototype.DecodeBufferToPointCloud=g.prototype.DecodeBufferToPointCloud=
function(a,b){var c=this.ptr;a&&"object"===typeof a&&(a=a.ptr);b&&"object"===typeof b&&(b=b.ptr);return L(Qc(c,a,b),v)};g.prototype.DecodeBufferToMesh=g.prototype.DecodeBufferToMesh=function(a,b){var c=this.ptr;a&&"object"===typeof a&&(a=a.ptr);b&&"object"===typeof b&&(b=b.ptr);return L(Rc(c,a,b),v)};g.prototype.__destroy__=g.prototype.__destroy__=function(){Sc(this.ptr)};(function(){function c(){a.ATTRIBUTE_INVALID_TRANSFORM=Tc();a.ATTRIBUTE_NO_TRANSFORM=Uc();a.ATTRIBUTE_QUANTIZATION_TRANSFORM=Vc();
a.ATTRIBUTE_OCTAHEDRON_TRANSFORM=Wc();a.INVALID=Xc();a.POSITION=Yc();a.NORMAL=Zc();a.COLOR=$c();a.TEX_COORD=ad();a.GENERIC=bd();a.INVALID_GEOMETRY_TYPE=cd();a.POINT_CLOUD=dd();a.TRIANGULAR_MESH=ed();a.DT_INVALID=fd();a.DT_INT8=gd();a.DT_UINT8=hd();a.DT_INT16=id();a.DT_UINT16=jd();a.DT_INT32=kd();a.DT_UINT32=ld();a.DT_INT64=md();a.DT_UINT64=nd();a.DT_FLOAT32=od();a.DT_FLOAT64=pd();a.DT_BOOL=qd();a.DT_TYPES_COUNT=rd();a.OK=sd();a.DRACO_ERROR=td();a.IO_ERROR=ud();a.INVALID_PARAMETER=vd();a.UNSUPPORTED_VERSION=
wd();a.UNKNOWN_VERSION=xd()}Ba?c():Da.unshift(c)})();if("function"===typeof a.onModuleParsed)a.onModuleParsed();a.Decoder.prototype.GetEncodedGeometryType=function(c){if(c.__class__&&c.__class__===a.DecoderBuffer)return a.Decoder.prototype.GetEncodedGeometryType_Deprecated(c);if(8>c.byteLength)return a.INVALID_GEOMETRY_TYPE;switch(c[7]){case 0:return a.POINT_CLOUD;case 1:return a.TRIANGULAR_MESH;default:return a.INVALID_GEOMETRY_TYPE}};return k.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);