@jdultra/threedtiles 11.1.13 → 12.0.0
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.
- package/dist/decoder/B3DMDecoder.d.ts +3 -4
- package/dist/draco-decoders/draco_decoder.js +33 -1
- package/dist/draco-decoders/draco_decoder.wasm +0 -0
- package/dist/draco-decoders/draco_encoder.js +33 -1
- package/dist/draco-decoders/draco_wasm_wrapper.js +116 -1
- package/dist/draco-decoders/gltf/draco_decoder.js +33 -1
- package/dist/draco-decoders/gltf/draco_encoder.js +33 -1
- package/dist/draco-decoders/gltf/draco_wasm_wrapper.js +116 -1
- package/dist/geometry/obb.d.ts +7 -11
- package/dist/ktx2-decoders/basis_transcoder.js +19 -1
- package/dist/threedtiles.cjs.js +21 -0
- package/dist/threedtiles.cjs.js.map +1 -0
- package/dist/threedtiles.es.js +3667 -0
- package/dist/threedtiles.es.js.map +1 -0
- package/dist/threedtiles.umd.js +21 -0
- package/dist/threedtiles.umd.js.map +1 -0
- package/dist/tileset/OGC3DTile.d.ts +10 -8
- package/dist/tileset/OcclusionCullingService.d.ts +4 -5
- package/dist/tileset/TileLoader.d.ts +1 -2
- package/dist/tileset/instanced/InstancedOGC3DTile.d.ts +3 -3
- package/dist/tileset/instanced/InstancedTile.d.ts +6 -3
- package/dist/tileset/instanced/InstancedTileLoader.d.ts +1 -2
- package/dist/tileset/instanced/MeshTile.d.ts +1 -2
- package/package.json +43 -66
- package/dist/index.d.ts +0 -1
- package/dist/index.html +0 -1
- package/dist/threedtiles.min.js +0 -3
- package/dist/threedtiles.min.js.LICENSE.txt +0 -24
- package/dist/threedtiles.min.js.map +0 -1
|
@@ -1 +1,116 @@
|
|
|
1
|
-
var $jscomp=$jscomp||{};$jscomp.scope={},$jscomp.arrayIteratorImpl=function(r){var o=0;return function(){return o<r.length?{done:!1,value:r[o++]}:{done:!0}}},$jscomp.arrayIterator=function(r){return{next:$jscomp.arrayIteratorImpl(r)}},$jscomp.makeIterator=function(r){var o="undefined"!=typeof Symbol&&Symbol.iterator&&r[Symbol.iterator];return o?o.call(r):$jscomp.arrayIterator(r)},$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(r){r=["object"==typeof globalThis&&globalThis,r,"object"==typeof window&&window,"object"==typeof self&&self,"object"==typeof global&&global];for(var o=0;o<r.length;++o){var _=r[o];if(_&&_.Math==Math)return _}throw Error("Cannot find global object")},$jscomp.global=$jscomp.getGlobal(this),$jscomp.defineProperty=$jscomp.ASSUME_ES5||"function"==typeof Object.defineProperties?Object.defineProperty:function(r,o,_){return r==Array.prototype||r==Object.prototype||(r[o]=_.value),r},$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(r,o){var _=$jscomp.propertyToPolyfillSymbol[o];return null==_?r[o]:void 0!==(_=r[_])?_:r[o]};$jscomp.polyfill=function(r,o,_,i){o&&($jscomp.ISOLATE_POLYFILLS?$jscomp.polyfillIsolated(r,o,_,i):$jscomp.polyfillUnisolated(r,o,_,i))},$jscomp.polyfillUnisolated=function(r,o,_,i){for(_=$jscomp.global,r=r.split("."),i=0;i<r.length-1;i++){var a=r[i];if(!(a in _))return;_=_[a]}(o=o(i=_[r=r[r.length-1]]))!=i&&null!=o&&$jscomp.defineProperty(_,r,{configurable:!0,writable:!0,value:o})},$jscomp.polyfillIsolated=function(r,o,_,i){var a=r.split(".");r=1===a.length,i=a[0],i=!r&&i in $jscomp.polyfills?$jscomp.polyfills:$jscomp.global;for(var s=0;s<a.length-1;s++){var u=a[s];if(!(u in i))return;i=i[u]}a=a[a.length-1],null!=(o=o(_=$jscomp.IS_SYMBOL_NATIVE&&"es6"===_?i[a]:null))&&(r?$jscomp.defineProperty($jscomp.polyfills,a,{configurable:!0,writable:!0,value:o}):o!==_&&(void 0===$jscomp.propertyToPolyfillSymbol[a]&&(_=1e9*Math.random()>>>0,$jscomp.propertyToPolyfillSymbol[a]=$jscomp.IS_SYMBOL_NATIVE?$jscomp.global.Symbol(a):$jscomp.POLYFILL_PREFIX+_+"$"+a),$jscomp.defineProperty(i,$jscomp.propertyToPolyfillSymbol[a],{configurable:!0,writable:!0,value:o})))},$jscomp.polyfill("Promise",(function(r){function n(){this.batch_=null}function l(r){return r instanceof h?r:new h((function(o,_){o(r)}))}if(r&&(!($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 r;n.prototype.asyncExecute=function(r){if(null==this.batch_){this.batch_=[];var o=this;this.asyncExecuteFunction((function(){o.executeBatch_()}))}this.batch_.push(r)};var o=$jscomp.global.setTimeout;n.prototype.asyncExecuteFunction=function(r){o(r,0)},n.prototype.executeBatch_=function(){for(;this.batch_&&this.batch_.length;){var r=this.batch_;this.batch_=[];for(var o=0;o<r.length;++o){var _=r[o];r[o]=null;try{_()}catch(r){this.asyncThrow_(r)}}}this.batch_=null},n.prototype.asyncThrow_=function(r){this.asyncExecuteFunction((function(){throw r}))};var h=function(r){this.state_=0,this.result_=void 0,this.onSettledCallbacks_=[],this.isRejectionHandled_=!1;var o=this.createResolveAndReject_();try{r(o.resolve,o.reject)}catch(r){o.reject(r)}};h.prototype.createResolveAndReject_=function(){function f(_){return function(i){o||(o=!0,_.call(r,i))}}var r=this,o=!1;return{resolve:f(this.resolveTo_),reject:f(this.reject_)}},h.prototype.resolveTo_=function(r){if(r===this)this.reject_(new TypeError("A Promise cannot resolve to itself"));else if(r instanceof h)this.settleSameAsPromise_(r);else{t:switch(typeof r){case"object":var o=null!=r;break t;case"function":o=!0;break t;default:o=!1}o?this.resolveToNonPromiseObj_(r):this.fulfill_(r)}},h.prototype.resolveToNonPromiseObj_=function(r){var o=void 0;try{o=r.then}catch(r){return void this.reject_(r)}"function"==typeof o?this.settleSameAsThenable_(o,r):this.fulfill_(r)},h.prototype.reject_=function(r){this.settle_(2,r)},h.prototype.fulfill_=function(r){this.settle_(1,r)},h.prototype.settle_=function(r,o){if(0!=this.state_)throw Error("Cannot settle("+r+", "+o+"): Promise already settled in state"+this.state_);this.state_=r,this.result_=o,2===this.state_&&this.scheduleUnhandledRejectionCheck_(),this.executeOnSettledCallbacks_()},h.prototype.scheduleUnhandledRejectionCheck_=function(){var r=this;o((function(){if(r.notifyUnhandledRejection_()){var o=$jscomp.global.console;void 0!==o&&o.error(r.result_)}}),1)},h.prototype.notifyUnhandledRejection_=function(){if(this.isRejectionHandled_)return!1;var r=$jscomp.global.CustomEvent,o=$jscomp.global.Event,_=$jscomp.global.dispatchEvent;return void 0===_||("function"==typeof r?r=new r("unhandledrejection",{cancelable:!0}):"function"==typeof o?r=new o("unhandledrejection",{cancelable:!0}):(r=$jscomp.global.document.createEvent("CustomEvent")).initCustomEvent("unhandledrejection",!1,!0,r),r.promise=this,r.reason=this.result_,_(r))},h.prototype.executeOnSettledCallbacks_=function(){if(null!=this.onSettledCallbacks_){for(var r=0;r<this.onSettledCallbacks_.length;++r)_.asyncExecute(this.onSettledCallbacks_[r]);this.onSettledCallbacks_=null}};var _=new n;return h.prototype.settleSameAsPromise_=function(r){var o=this.createResolveAndReject_();r.callWhenSettled_(o.resolve,o.reject)},h.prototype.settleSameAsThenable_=function(r,o){var _=this.createResolveAndReject_();try{r.call(o,_.resolve,_.reject)}catch(r){_.reject(r)}},h.prototype.then=function(r,o){function v(r,o){return"function"==typeof r?function(o){try{_(r(o))}catch(r){i(r)}}:o}var _,i,a=new h((function(r,o){_=r,i=o}));return this.callWhenSettled_(v(r,_),v(o,i)),a},h.prototype.catch=function(r){return this.then(void 0,r)},h.prototype.callWhenSettled_=function(r,o){function v(){switch(i.state_){case 1:r(i.result_);break;case 2:o(i.result_);break;default:throw Error("Unexpected state: "+i.state_)}}var i=this;null==this.onSettledCallbacks_?_.asyncExecute(v):this.onSettledCallbacks_.push(v),this.isRejectionHandled_=!0},h.resolve=l,h.reject=function(r){return new h((function(o,_){_(r)}))},h.race=function(r){return new h((function(o,_){for(var i=$jscomp.makeIterator(r),a=i.next();!a.done;a=i.next())l(a.value).callWhenSettled_(o,_)}))},h.all=function(r){var o=$jscomp.makeIterator(r),_=o.next();return _.done?l([]):new h((function(r,i){function ba(o){return function(_){a[o]=_,0==--s&&r(a)}}var a=[],s=0;do{a.push(void 0),s++,l(_.value).callWhenSettled_(ba(a.length-1),i),_=o.next()}while(!_.done)}))},h}),"es6","es3"),$jscomp.owns=function(r,o){return Object.prototype.hasOwnProperty.call(r,o)},$jscomp.assign=$jscomp.TRUST_ES6_POLYFILLS&&"function"==typeof Object.assign?Object.assign:function(r,o){for(var _=1;_<arguments.length;_++){var i=arguments[_];if(i)for(var a in i)$jscomp.owns(i,a)&&(r[a]=i[a])}return r},$jscomp.polyfill("Object.assign",(function(r){return r||$jscomp.assign}),"es6","es3"),$jscomp.checkStringArgs=function(r,o,_){if(null==r)throw new TypeError("The 'this' value for String.prototype."+_+" must not be null or undefined");if(o instanceof RegExp)throw new TypeError("First argument to String.prototype."+_+" must not be a regular expression");return r+""},$jscomp.polyfill("String.prototype.startsWith",(function(r){return r||function(r,o){var _=$jscomp.checkStringArgs(this,r,"startsWith");r+="";var i=_.length,a=r.length;o=Math.max(0,Math.min(0|o,_.length));for(var s=0;s<a&&o<i;)if(_[o++]!=r[s++])return!1;return s>=a}}),"es6","es3"),$jscomp.polyfill("Array.prototype.copyWithin",(function(r){function n(r){return 1/0===(r=Number(r))||-1/0===r?r:0|r}return r||function(r,o,_){var i=this.length;if(r=n(r),o=n(o),_=void 0===_?i:n(_),r=0>r?Math.max(i+r,0):Math.min(r,i),o=0>o?Math.max(i+o,0):Math.min(o,i),_=0>_?Math.max(i+_,0):Math.min(_,i),r<o)for(;o<_;)o in this?this[r++]=this[o++]:(delete this[r++],o++);else for(r+=(_=Math.min(_,i+o-r))-o;_>o;)--_ in this?this[--r]=this[_]:delete this[--r];return this}}),"es6","es3"),$jscomp.typedArrayCopyWithin=function(r){return r||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 r="undefined"!=typeof document&&document.currentScript?document.currentScript.src:void 0;return"undefined"!=typeof __filename&&(r=r||__filename),function(o){function p(r,o,_){var i=o+_;for(_=o;r[_]&&!(_>=i);)++_;if(16<_-o&&r.buffer&&it)return it.decode(r.subarray(o,_));for(i="";o<_;){var a=r[o++];if(128&a){var s=63&r[o++];if(192==(224&a))i+=String.fromCharCode((31&a)<<6|s);else{var u=63&r[o++];65536>(a=224==(240&a)?(15&a)<<12|s<<6|u:(7&a)<<18|s<<12|u<<6|63&r[o++])?i+=String.fromCharCode(a):(a-=65536,i+=String.fromCharCode(55296|a>>10,56320|1023&a))}}else i+=String.fromCharCode(a)}return i}function h(r,o){return r?p(rt,r,o):""}function A(){var r=tt.buffer;a.HEAP8=et=new Int8Array(r),a.HEAP16=new Int16Array(r),a.HEAP32=nt=new Int32Array(r),a.HEAPU8=rt=new Uint8Array(r),a.HEAPU16=new Uint16Array(r),a.HEAPU32=ot=new Uint32Array(r),a.HEAPF32=new Float32Array(r),a.HEAPF64=new Float64Array(r)}function f(r){throw a.onAbort&&a.onAbort(r),X(r="Aborted("+r+")"),_t=!0,r=new WebAssembly.RuntimeError(r+". Build with -sASSERTIONS for more info."),i(r),r}function q(r){try{if(r==mt&&k)return new Uint8Array(k);if(ma)return ma(r);throw"both async and sync fetching of the wasm failed"}catch(r){f(r)}}function z(r){for(;0<r.length;)r.shift()(a)}function O(r){this.excPtr=r,this.ptr=r-24,this.set_type=function(r){ot[this.ptr+4>>2]=r},this.get_type=function(){return ot[this.ptr+4>>2]},this.set_destructor=function(r){ot[this.ptr+8>>2]=r},this.get_destructor=function(){return ot[this.ptr+8>>2]},this.set_refcount=function(r){nt[this.ptr>>2]=r},this.set_caught=function(r){et[this.ptr+12|0]=r?1:0},this.get_caught=function(){return 0!=et[this.ptr+12|0]},this.set_rethrown=function(r){et[this.ptr+13|0]=r?1:0},this.get_rethrown=function(){return 0!=et[this.ptr+13|0]},this.init=function(r,o){this.set_adjusted_ptr(0),this.set_type(r),this.set_destructor(o),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 r=nt[this.ptr>>2];return nt[this.ptr>>2]=r-1,1===r},this.set_adjusted_ptr=function(r){ot[this.ptr+16>>2]=r},this.get_adjusted_ptr=function(){return ot[this.ptr+16>>2]},this.get_exception_ptr=function(){if(ya(this.get_type()))return ot[this.excPtr>>2];var r=this.get_adjusted_ptr();return 0!==r?r:this.excPtr}}function ba(){function e(){if(!Zr&&(Zr=!0,a.calledRun=!0,!_t)){if(st=!0,z(at),_(a),a.onRuntimeInitialized&&a.onRuntimeInitialized(),a.postRun)for("function"==typeof a.postRun&&(a.postRun=[a.postRun]);a.postRun.length;)ct.unshift(a.postRun.shift());z(ct)}}if(!(0<ut)){if(a.preRun)for("function"==typeof a.preRun&&(a.preRun=[a.preRun]);a.preRun.length;)pt.unshift(a.preRun.shift());z(pt),0<ut||(a.setStatus?(a.setStatus("Running..."),setTimeout((function(){setTimeout((function(){a.setStatus("")}),1),e()}),1)):e())}}function t(){}function x(r){return(r||t).__cache__}function D(r,o){var _=x(o),i=_[r];return i||((i=Object.create((o||t).prototype)).ptr=r,_[r]=i)}function R(r){if("string"==typeof r){for(var o=0,_=0;_<r.length;++_){var i=r.charCodeAt(_);127>=i?o++:2047>=i?o+=2:55296<=i&&57343>=i?(o+=4,++_):o+=3}if(_=0,0<(i=(o=Array(o+1)).length)){i=_+i-1;for(var a=0;a<r.length;++a){var s=r.charCodeAt(a);if(55296<=s&&57343>=s)s=65536+((1023&s)<<10)|1023&r.charCodeAt(++a);if(127>=s){if(_>=i)break;o[_++]=s}else{if(2047>=s){if(_+1>=i)break;o[_++]=192|s>>6}else{if(65535>=s){if(_+2>=i)break;o[_++]=224|s>>12}else{if(_+3>=i)break;o[_++]=240|s>>18,o[_++]=128|s>>12&63}o[_++]=128|s>>6&63}o[_++]=128|63&s}}o[_]=0}return r=Xr.alloc(o,et),Xr.copy(o,et,r),r}return r}function pa(r){if("object"==typeof r){var o=Xr.alloc(r,et);return Xr.copy(r,et,o),o}return r}function Z(){throw"cannot construct a VoidPtr, no constructor in IDL"}function S(){this.ptr=ht(),x(S)[this.ptr]=this}function Q(){this.ptr=Dt(),x(Q)[this.ptr]=this}function W(){this.ptr=Et(),x(W)[this.ptr]=this}function w(){this.ptr=vt(),x(w)[this.ptr]=this}function C(){this.ptr=Lt(),x(C)[this.ptr]=this}function F(){this.ptr=xt(),x(F)[this.ptr]=this}function G(){this.ptr=kt(),x(G)[this.ptr]=this}function E(){this.ptr=Jt(),x(E)[this.ptr]=this}function T(){this.ptr=re(),x(T)[this.ptr]=this}function B(){throw"cannot construct a Status, no constructor in IDL"}function H(){this.ptr=ae(),x(H)[this.ptr]=this}function I(){this.ptr=ye(),x(I)[this.ptr]=this}function J(){this.ptr=de(),x(J)[this.ptr]=this}function K(){this.ptr=Te(),x(K)[this.ptr]=this}function L(){this.ptr=Ee(),x(L)[this.ptr]=this}function M(){this.ptr=Pe(),x(M)[this.ptr]=this}function N(){this.ptr=Ne(),x(N)[this.ptr]=this}function y(){this.ptr=Ce(),x(y)[this.ptr]=this}function m(){this.ptr=Qe(),x(m)[this.ptr]=this}var _,i,a=void 0!==(o=void 0===o?{}:o)?o:{};a.ready=new Promise((function(r,o){_=r,i=o}));var s=!1,u=!1;a.onRuntimeInitialized=function(){s=!0,u&&"function"==typeof a.onModuleLoaded&&a.onModuleLoaded(a)},a.onModuleParsed=function(){u=!0,s&&"function"==typeof a.onModuleLoaded&&a.onModuleLoaded(a)},a.isVersionSupported=function(r){return"string"==typeof r&&(!(2>(r=r.split(".")).length||3<r.length)&&(1==r[0]&&0<=r[1]&&5>=r[1]||!(0!=r[0]||10<r[1])))};var d=Object.assign({},a),j="object"==typeof window,P="function"==typeof importScripts,U="object"==typeof process&&"object"==typeof process.versions&&"string"==typeof process.versions.node,g="";if(U){var $=require("fs"),V=require("path");g=P?V.dirname(g)+"/":__dirname+"/";var $a=function(r,o){return r=r.startsWith("file://")?new URL(r):V.normalize(r),$.readFileSync(r,o?void 0:"utf8")},ma=function(r){return(r=$a(r,!0)).buffer||(r=new Uint8Array(r)),r},na=function(r,o,_){r=r.startsWith("file://")?new URL(r):V.normalize(r),$.readFile(r,(function(r,i){r?_(r):o(i.buffer)}))};1<process.argv.length&&process.argv[1].replace(/\\/g,"/"),process.argv.slice(2),a.inspect=function(){return"[Emscripten Module object]"}}else(j||P)&&(P?g=self.location.href:"undefined"!=typeof document&&document.currentScript&&(g=document.currentScript.src),r&&(g=r),g=0!==g.indexOf("blob:")?g.substr(0,g.replace(/[?#].*/,"").lastIndexOf("/")+1):"",$a=function(r){var o=new XMLHttpRequest;return o.open("GET",r,!1),o.send(null),o.responseText},P&&(ma=function(r){var o=new XMLHttpRequest;return o.open("GET",r,!1),o.responseType="arraybuffer",o.send(null),new Uint8Array(o.response)}),na=function(r,o,_){var i=new XMLHttpRequest;i.open("GET",r,!0),i.responseType="arraybuffer",i.onload=function(){200==i.status||0==i.status&&i.response?o(i.response):_()},i.onerror=_,i.send(null)});var k,Y=a.print||console.log.bind(console),X=a.printErr||console.warn.bind(console);Object.assign(a,d),d=null,a.wasmBinary&&(k=a.wasmBinary),"object"!=typeof WebAssembly&&f("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.wasm";mt.startsWith("data:application/octet-stream;base64,")||(mt=function l(r){return a.locateFile?a.locateFile(r,g):g+r}(mt));var ft=[null,[],[]],dt={b:function(r,o,_){throw new O(r).init(o,_),r},a:function(){f("")},g:function(r,o,_){rt.copyWithin(r,o,o+_)},e:function(r){var o=rt.length;if(2147483648<(r>>>=0))return!1;for(var _=1;4>=_;_*=2){var i=o*(1+.2/_);i=Math.min(i,r+100663296);var a=Math;i=Math.max(r,i),a=a.min.call(a,2147483648,i+(65536-i%65536)%65536);t:{i=tt.buffer;try{tt.grow(a-i.byteLength+65535>>>16),A();var s=1;break t}catch(r){}s=void 0}if(s)return!0}return!1},f:function(r){return 52},d:function(r,o,_,i,a){return 70},c:function(r,o,_,i){for(var a=0,s=0;s<_;s++){var u=ot[o>>2],d=ot[o+4>>2];o+=8;for(var j=0;j<d;j++){var P=rt[u+j],U=ft[r];0===P||10===P?((1===r?Y:X)(p(U,0)),U.length=0):U.push(P)}a+=d}return ot[i>>2]=a,0}};!function(){function e(r,o){a.asm=r.exports,tt=a.asm.h,A(),at.unshift(a.asm.i),ut--,a.monitorRunDependencies&&a.monitorRunDependencies(ut),0==ut&&(null!==yt&&(clearInterval(yt),yt=null),lt&&(r=lt,lt=null,r()))}function b(r){e(r.instance)}function c(o){return function v(){if(!k&&(j||P)){if("function"==typeof fetch&&!mt.startsWith("file://"))return fetch(mt,{credentials:"same-origin"}).then((function(r){if(!r.ok)throw"failed to load wasm binary file at '"+mt+"'";return r.arrayBuffer()})).catch((function(){return q(mt)}));if(na)return new Promise((function(r,o){na(mt,(function(o){r(new Uint8Array(o))}),o)}))}return Promise.resolve().then((function(){return q(mt)}))}().then((function(o){return WebAssembly.instantiate(o,r)})).then((function(r){return r})).then(o,(function(r){X("failed to asynchronously prepare wasm: "+r),f(r)}))}var r={a:dt};if(ut++,a.monitorRunDependencies&&a.monitorRunDependencies(ut),a.instantiateWasm)try{return a.instantiateWasm(r,e)}catch(r){X("Module.instantiateWasm callback failed with error: "+r),i(r)}(k||"function"!=typeof WebAssembly.instantiateStreaming||mt.startsWith("data:application/octet-stream;base64,")||mt.startsWith("file://")||U||"function"!=typeof fetch?c(b):fetch(mt,{credentials:"same-origin"}).then((function(o){return WebAssembly.instantiateStreaming(o,r).then(b,(function(r){return X("wasm streaming compile failed: "+r),X("falling back to ArrayBuffer instantiation"),c(b)}))}))).catch(i)}();var bt=a._emscripten_bind_VoidPtr___destroy___0=function(){return(bt=a._emscripten_bind_VoidPtr___destroy___0=a.asm.k).apply(null,arguments)},ht=a._emscripten_bind_DecoderBuffer_DecoderBuffer_0=function(){return(ht=a._emscripten_bind_DecoderBuffer_DecoderBuffer_0=a.asm.l).apply(null,arguments)},At=a._emscripten_bind_DecoderBuffer_Init_2=function(){return(At=a._emscripten_bind_DecoderBuffer_Init_2=a.asm.m).apply(null,arguments)},Tt=a._emscripten_bind_DecoderBuffer___destroy___0=function(){return(Tt=a._emscripten_bind_DecoderBuffer___destroy___0=a.asm.n).apply(null,arguments)},Dt=a._emscripten_bind_AttributeTransformData_AttributeTransformData_0=function(){return(Dt=a._emscripten_bind_AttributeTransformData_AttributeTransformData_0=a.asm.o).apply(null,arguments)},It=a._emscripten_bind_AttributeTransformData_transform_type_0=function(){return(It=a._emscripten_bind_AttributeTransformData_transform_type_0=a.asm.p).apply(null,arguments)},jt=a._emscripten_bind_AttributeTransformData___destroy___0=function(){return(jt=a._emscripten_bind_AttributeTransformData___destroy___0=a.asm.q).apply(null,arguments)},Et=a._emscripten_bind_GeometryAttribute_GeometryAttribute_0=function(){return(Et=a._emscripten_bind_GeometryAttribute_GeometryAttribute_0=a.asm.r).apply(null,arguments)},Gt=a._emscripten_bind_GeometryAttribute___destroy___0=function(){return(Gt=a._emscripten_bind_GeometryAttribute___destroy___0=a.asm.s).apply(null,arguments)},vt=a._emscripten_bind_PointAttribute_PointAttribute_0=function(){return(vt=a._emscripten_bind_PointAttribute_PointAttribute_0=a.asm.t).apply(null,arguments)},Ot=a._emscripten_bind_PointAttribute_size_0=function(){return(Ot=a._emscripten_bind_PointAttribute_size_0=a.asm.u).apply(null,arguments)},Pt=a._emscripten_bind_PointAttribute_GetAttributeTransformData_0=function(){return(Pt=a._emscripten_bind_PointAttribute_GetAttributeTransformData_0=a.asm.v).apply(null,arguments)},Rt=a._emscripten_bind_PointAttribute_attribute_type_0=function(){return(Rt=a._emscripten_bind_PointAttribute_attribute_type_0=a.asm.w).apply(null,arguments)},St=a._emscripten_bind_PointAttribute_data_type_0=function(){return(St=a._emscripten_bind_PointAttribute_data_type_0=a.asm.x).apply(null,arguments)},Mt=a._emscripten_bind_PointAttribute_num_components_0=function(){return(Mt=a._emscripten_bind_PointAttribute_num_components_0=a.asm.y).apply(null,arguments)},Nt=a._emscripten_bind_PointAttribute_normalized_0=function(){return(Nt=a._emscripten_bind_PointAttribute_normalized_0=a.asm.z).apply(null,arguments)},Ft=a._emscripten_bind_PointAttribute_byte_stride_0=function(){return(Ft=a._emscripten_bind_PointAttribute_byte_stride_0=a.asm.A).apply(null,arguments)},Ut=a._emscripten_bind_PointAttribute_byte_offset_0=function(){return(Ut=a._emscripten_bind_PointAttribute_byte_offset_0=a.asm.B).apply(null,arguments)},gt=a._emscripten_bind_PointAttribute_unique_id_0=function(){return(gt=a._emscripten_bind_PointAttribute_unique_id_0=a.asm.C).apply(null,arguments)},Ct=a._emscripten_bind_PointAttribute___destroy___0=function(){return(Ct=a._emscripten_bind_PointAttribute___destroy___0=a.asm.D).apply(null,arguments)},Lt=a._emscripten_bind_AttributeQuantizationTransform_AttributeQuantizationTransform_0=function(){return(Lt=a._emscripten_bind_AttributeQuantizationTransform_AttributeQuantizationTransform_0=a.asm.E).apply(null,arguments)},wt=a._emscripten_bind_AttributeQuantizationTransform_InitFromAttribute_1=function(){return(wt=a._emscripten_bind_AttributeQuantizationTransform_InitFromAttribute_1=a.asm.F).apply(null,arguments)},$t=a._emscripten_bind_AttributeQuantizationTransform_quantization_bits_0=function(){return($t=a._emscripten_bind_AttributeQuantizationTransform_quantization_bits_0=a.asm.G).apply(null,arguments)},Bt=a._emscripten_bind_AttributeQuantizationTransform_min_value_1=function(){return(Bt=a._emscripten_bind_AttributeQuantizationTransform_min_value_1=a.asm.H).apply(null,arguments)},zt=a._emscripten_bind_AttributeQuantizationTransform_range_0=function(){return(zt=a._emscripten_bind_AttributeQuantizationTransform_range_0=a.asm.I).apply(null,arguments)},Vt=a._emscripten_bind_AttributeQuantizationTransform___destroy___0=function(){return(Vt=a._emscripten_bind_AttributeQuantizationTransform___destroy___0=a.asm.J).apply(null,arguments)},xt=a._emscripten_bind_AttributeOctahedronTransform_AttributeOctahedronTransform_0=function(){return(xt=a._emscripten_bind_AttributeOctahedronTransform_AttributeOctahedronTransform_0=a.asm.K).apply(null,arguments)},Wt=a._emscripten_bind_AttributeOctahedronTransform_InitFromAttribute_1=function(){return(Wt=a._emscripten_bind_AttributeOctahedronTransform_InitFromAttribute_1=a.asm.L).apply(null,arguments)},Qt=a._emscripten_bind_AttributeOctahedronTransform_quantization_bits_0=function(){return(Qt=a._emscripten_bind_AttributeOctahedronTransform_quantization_bits_0=a.asm.M).apply(null,arguments)},Ht=a._emscripten_bind_AttributeOctahedronTransform___destroy___0=function(){return(Ht=a._emscripten_bind_AttributeOctahedronTransform___destroy___0=a.asm.N).apply(null,arguments)},kt=a._emscripten_bind_PointCloud_PointCloud_0=function(){return(kt=a._emscripten_bind_PointCloud_PointCloud_0=a.asm.O).apply(null,arguments)},Yt=a._emscripten_bind_PointCloud_num_attributes_0=function(){return(Yt=a._emscripten_bind_PointCloud_num_attributes_0=a.asm.P).apply(null,arguments)},qt=a._emscripten_bind_PointCloud_num_points_0=function(){return(qt=a._emscripten_bind_PointCloud_num_points_0=a.asm.Q).apply(null,arguments)},Kt=a._emscripten_bind_PointCloud___destroy___0=function(){return(Kt=a._emscripten_bind_PointCloud___destroy___0=a.asm.R).apply(null,arguments)},Jt=a._emscripten_bind_Mesh_Mesh_0=function(){return(Jt=a._emscripten_bind_Mesh_Mesh_0=a.asm.S).apply(null,arguments)},Zt=a._emscripten_bind_Mesh_num_faces_0=function(){return(Zt=a._emscripten_bind_Mesh_num_faces_0=a.asm.T).apply(null,arguments)},Xt=a._emscripten_bind_Mesh_num_attributes_0=function(){return(Xt=a._emscripten_bind_Mesh_num_attributes_0=a.asm.U).apply(null,arguments)},te=a._emscripten_bind_Mesh_num_points_0=function(){return(te=a._emscripten_bind_Mesh_num_points_0=a.asm.V).apply(null,arguments)},ee=a._emscripten_bind_Mesh___destroy___0=function(){return(ee=a._emscripten_bind_Mesh___destroy___0=a.asm.W).apply(null,arguments)},re=a._emscripten_bind_Metadata_Metadata_0=function(){return(re=a._emscripten_bind_Metadata_Metadata_0=a.asm.X).apply(null,arguments)},ne=a._emscripten_bind_Metadata___destroy___0=function(){return(ne=a._emscripten_bind_Metadata___destroy___0=a.asm.Y).apply(null,arguments)},oe=a._emscripten_bind_Status_code_0=function(){return(oe=a._emscripten_bind_Status_code_0=a.asm.Z).apply(null,arguments)},_e=a._emscripten_bind_Status_ok_0=function(){return(_e=a._emscripten_bind_Status_ok_0=a.asm._).apply(null,arguments)},ie=a._emscripten_bind_Status_error_msg_0=function(){return(ie=a._emscripten_bind_Status_error_msg_0=a.asm.$).apply(null,arguments)},pe=a._emscripten_bind_Status___destroy___0=function(){return(pe=a._emscripten_bind_Status___destroy___0=a.asm.aa).apply(null,arguments)},ae=a._emscripten_bind_DracoFloat32Array_DracoFloat32Array_0=function(){return(ae=a._emscripten_bind_DracoFloat32Array_DracoFloat32Array_0=a.asm.ba).apply(null,arguments)},ce=a._emscripten_bind_DracoFloat32Array_GetValue_1=function(){return(ce=a._emscripten_bind_DracoFloat32Array_GetValue_1=a.asm.ca).apply(null,arguments)},se=a._emscripten_bind_DracoFloat32Array_size_0=function(){return(se=a._emscripten_bind_DracoFloat32Array_size_0=a.asm.da).apply(null,arguments)},ue=a._emscripten_bind_DracoFloat32Array___destroy___0=function(){return(ue=a._emscripten_bind_DracoFloat32Array___destroy___0=a.asm.ea).apply(null,arguments)},ye=a._emscripten_bind_DracoInt8Array_DracoInt8Array_0=function(){return(ye=a._emscripten_bind_DracoInt8Array_DracoInt8Array_0=a.asm.fa).apply(null,arguments)},le=a._emscripten_bind_DracoInt8Array_GetValue_1=function(){return(le=a._emscripten_bind_DracoInt8Array_GetValue_1=a.asm.ga).apply(null,arguments)},me=a._emscripten_bind_DracoInt8Array_size_0=function(){return(me=a._emscripten_bind_DracoInt8Array_size_0=a.asm.ha).apply(null,arguments)},fe=a._emscripten_bind_DracoInt8Array___destroy___0=function(){return(fe=a._emscripten_bind_DracoInt8Array___destroy___0=a.asm.ia).apply(null,arguments)},de=a._emscripten_bind_DracoUInt8Array_DracoUInt8Array_0=function(){return(de=a._emscripten_bind_DracoUInt8Array_DracoUInt8Array_0=a.asm.ja).apply(null,arguments)},be=a._emscripten_bind_DracoUInt8Array_GetValue_1=function(){return(be=a._emscripten_bind_DracoUInt8Array_GetValue_1=a.asm.ka).apply(null,arguments)},he=a._emscripten_bind_DracoUInt8Array_size_0=function(){return(he=a._emscripten_bind_DracoUInt8Array_size_0=a.asm.la).apply(null,arguments)},Ae=a._emscripten_bind_DracoUInt8Array___destroy___0=function(){return(Ae=a._emscripten_bind_DracoUInt8Array___destroy___0=a.asm.ma).apply(null,arguments)},Te=a._emscripten_bind_DracoInt16Array_DracoInt16Array_0=function(){return(Te=a._emscripten_bind_DracoInt16Array_DracoInt16Array_0=a.asm.na).apply(null,arguments)},De=a._emscripten_bind_DracoInt16Array_GetValue_1=function(){return(De=a._emscripten_bind_DracoInt16Array_GetValue_1=a.asm.oa).apply(null,arguments)},Ie=a._emscripten_bind_DracoInt16Array_size_0=function(){return(Ie=a._emscripten_bind_DracoInt16Array_size_0=a.asm.pa).apply(null,arguments)},je=a._emscripten_bind_DracoInt16Array___destroy___0=function(){return(je=a._emscripten_bind_DracoInt16Array___destroy___0=a.asm.qa).apply(null,arguments)},Ee=a._emscripten_bind_DracoUInt16Array_DracoUInt16Array_0=function(){return(Ee=a._emscripten_bind_DracoUInt16Array_DracoUInt16Array_0=a.asm.ra).apply(null,arguments)},Ge=a._emscripten_bind_DracoUInt16Array_GetValue_1=function(){return(Ge=a._emscripten_bind_DracoUInt16Array_GetValue_1=a.asm.sa).apply(null,arguments)},ve=a._emscripten_bind_DracoUInt16Array_size_0=function(){return(ve=a._emscripten_bind_DracoUInt16Array_size_0=a.asm.ta).apply(null,arguments)},Oe=a._emscripten_bind_DracoUInt16Array___destroy___0=function(){return(Oe=a._emscripten_bind_DracoUInt16Array___destroy___0=a.asm.ua).apply(null,arguments)},Pe=a._emscripten_bind_DracoInt32Array_DracoInt32Array_0=function(){return(Pe=a._emscripten_bind_DracoInt32Array_DracoInt32Array_0=a.asm.va).apply(null,arguments)},Re=a._emscripten_bind_DracoInt32Array_GetValue_1=function(){return(Re=a._emscripten_bind_DracoInt32Array_GetValue_1=a.asm.wa).apply(null,arguments)},Se=a._emscripten_bind_DracoInt32Array_size_0=function(){return(Se=a._emscripten_bind_DracoInt32Array_size_0=a.asm.xa).apply(null,arguments)},Me=a._emscripten_bind_DracoInt32Array___destroy___0=function(){return(Me=a._emscripten_bind_DracoInt32Array___destroy___0=a.asm.ya).apply(null,arguments)},Ne=a._emscripten_bind_DracoUInt32Array_DracoUInt32Array_0=function(){return(Ne=a._emscripten_bind_DracoUInt32Array_DracoUInt32Array_0=a.asm.za).apply(null,arguments)},Fe=a._emscripten_bind_DracoUInt32Array_GetValue_1=function(){return(Fe=a._emscripten_bind_DracoUInt32Array_GetValue_1=a.asm.Aa).apply(null,arguments)},Ue=a._emscripten_bind_DracoUInt32Array_size_0=function(){return(Ue=a._emscripten_bind_DracoUInt32Array_size_0=a.asm.Ba).apply(null,arguments)},ge=a._emscripten_bind_DracoUInt32Array___destroy___0=function(){return(ge=a._emscripten_bind_DracoUInt32Array___destroy___0=a.asm.Ca).apply(null,arguments)},Ce=a._emscripten_bind_MetadataQuerier_MetadataQuerier_0=function(){return(Ce=a._emscripten_bind_MetadataQuerier_MetadataQuerier_0=a.asm.Da).apply(null,arguments)},Le=a._emscripten_bind_MetadataQuerier_HasEntry_2=function(){return(Le=a._emscripten_bind_MetadataQuerier_HasEntry_2=a.asm.Ea).apply(null,arguments)},we=a._emscripten_bind_MetadataQuerier_GetIntEntry_2=function(){return(we=a._emscripten_bind_MetadataQuerier_GetIntEntry_2=a.asm.Fa).apply(null,arguments)},$e=a._emscripten_bind_MetadataQuerier_GetIntEntryArray_3=function(){return($e=a._emscripten_bind_MetadataQuerier_GetIntEntryArray_3=a.asm.Ga).apply(null,arguments)},Be=a._emscripten_bind_MetadataQuerier_GetDoubleEntry_2=function(){return(Be=a._emscripten_bind_MetadataQuerier_GetDoubleEntry_2=a.asm.Ha).apply(null,arguments)},ze=a._emscripten_bind_MetadataQuerier_GetStringEntry_2=function(){return(ze=a._emscripten_bind_MetadataQuerier_GetStringEntry_2=a.asm.Ia).apply(null,arguments)},Ve=a._emscripten_bind_MetadataQuerier_NumEntries_1=function(){return(Ve=a._emscripten_bind_MetadataQuerier_NumEntries_1=a.asm.Ja).apply(null,arguments)},xe=a._emscripten_bind_MetadataQuerier_GetEntryName_2=function(){return(xe=a._emscripten_bind_MetadataQuerier_GetEntryName_2=a.asm.Ka).apply(null,arguments)},We=a._emscripten_bind_MetadataQuerier___destroy___0=function(){return(We=a._emscripten_bind_MetadataQuerier___destroy___0=a.asm.La).apply(null,arguments)},Qe=a._emscripten_bind_Decoder_Decoder_0=function(){return(Qe=a._emscripten_bind_Decoder_Decoder_0=a.asm.Ma).apply(null,arguments)},He=a._emscripten_bind_Decoder_DecodeArrayToPointCloud_3=function(){return(He=a._emscripten_bind_Decoder_DecodeArrayToPointCloud_3=a.asm.Na).apply(null,arguments)},ke=a._emscripten_bind_Decoder_DecodeArrayToMesh_3=function(){return(ke=a._emscripten_bind_Decoder_DecodeArrayToMesh_3=a.asm.Oa).apply(null,arguments)},Ye=a._emscripten_bind_Decoder_GetAttributeId_2=function(){return(Ye=a._emscripten_bind_Decoder_GetAttributeId_2=a.asm.Pa).apply(null,arguments)},qe=a._emscripten_bind_Decoder_GetAttributeIdByName_2=function(){return(qe=a._emscripten_bind_Decoder_GetAttributeIdByName_2=a.asm.Qa).apply(null,arguments)},Ke=a._emscripten_bind_Decoder_GetAttributeIdByMetadataEntry_3=function(){return(Ke=a._emscripten_bind_Decoder_GetAttributeIdByMetadataEntry_3=a.asm.Ra).apply(null,arguments)},Je=a._emscripten_bind_Decoder_GetAttribute_2=function(){return(Je=a._emscripten_bind_Decoder_GetAttribute_2=a.asm.Sa).apply(null,arguments)},Ze=a._emscripten_bind_Decoder_GetAttributeByUniqueId_2=function(){return(Ze=a._emscripten_bind_Decoder_GetAttributeByUniqueId_2=a.asm.Ta).apply(null,arguments)},Xe=a._emscripten_bind_Decoder_GetMetadata_1=function(){return(Xe=a._emscripten_bind_Decoder_GetMetadata_1=a.asm.Ua).apply(null,arguments)},tr=a._emscripten_bind_Decoder_GetAttributeMetadata_2=function(){return(tr=a._emscripten_bind_Decoder_GetAttributeMetadata_2=a.asm.Va).apply(null,arguments)},er=a._emscripten_bind_Decoder_GetFaceFromMesh_3=function(){return(er=a._emscripten_bind_Decoder_GetFaceFromMesh_3=a.asm.Wa).apply(null,arguments)},rr=a._emscripten_bind_Decoder_GetTriangleStripsFromMesh_2=function(){return(rr=a._emscripten_bind_Decoder_GetTriangleStripsFromMesh_2=a.asm.Xa).apply(null,arguments)},nr=a._emscripten_bind_Decoder_GetTrianglesUInt16Array_3=function(){return(nr=a._emscripten_bind_Decoder_GetTrianglesUInt16Array_3=a.asm.Ya).apply(null,arguments)},or=a._emscripten_bind_Decoder_GetTrianglesUInt32Array_3=function(){return(or=a._emscripten_bind_Decoder_GetTrianglesUInt32Array_3=a.asm.Za).apply(null,arguments)},_r=a._emscripten_bind_Decoder_GetAttributeFloat_3=function(){return(_r=a._emscripten_bind_Decoder_GetAttributeFloat_3=a.asm._a).apply(null,arguments)},ir=a._emscripten_bind_Decoder_GetAttributeFloatForAllPoints_3=function(){return(ir=a._emscripten_bind_Decoder_GetAttributeFloatForAllPoints_3=a.asm.$a).apply(null,arguments)},pr=a._emscripten_bind_Decoder_GetAttributeIntForAllPoints_3=function(){return(pr=a._emscripten_bind_Decoder_GetAttributeIntForAllPoints_3=a.asm.ab).apply(null,arguments)},ar=a._emscripten_bind_Decoder_GetAttributeInt8ForAllPoints_3=function(){return(ar=a._emscripten_bind_Decoder_GetAttributeInt8ForAllPoints_3=a.asm.bb).apply(null,arguments)},cr=a._emscripten_bind_Decoder_GetAttributeUInt8ForAllPoints_3=function(){return(cr=a._emscripten_bind_Decoder_GetAttributeUInt8ForAllPoints_3=a.asm.cb).apply(null,arguments)},sr=a._emscripten_bind_Decoder_GetAttributeInt16ForAllPoints_3=function(){return(sr=a._emscripten_bind_Decoder_GetAttributeInt16ForAllPoints_3=a.asm.db).apply(null,arguments)},ur=a._emscripten_bind_Decoder_GetAttributeUInt16ForAllPoints_3=function(){return(ur=a._emscripten_bind_Decoder_GetAttributeUInt16ForAllPoints_3=a.asm.eb).apply(null,arguments)},yr=a._emscripten_bind_Decoder_GetAttributeInt32ForAllPoints_3=function(){return(yr=a._emscripten_bind_Decoder_GetAttributeInt32ForAllPoints_3=a.asm.fb).apply(null,arguments)},lr=a._emscripten_bind_Decoder_GetAttributeUInt32ForAllPoints_3=function(){return(lr=a._emscripten_bind_Decoder_GetAttributeUInt32ForAllPoints_3=a.asm.gb).apply(null,arguments)},mr=a._emscripten_bind_Decoder_GetAttributeDataArrayForAllPoints_5=function(){return(mr=a._emscripten_bind_Decoder_GetAttributeDataArrayForAllPoints_5=a.asm.hb).apply(null,arguments)},fr=a._emscripten_bind_Decoder_SkipAttributeTransform_1=function(){return(fr=a._emscripten_bind_Decoder_SkipAttributeTransform_1=a.asm.ib).apply(null,arguments)},dr=a._emscripten_bind_Decoder_GetEncodedGeometryType_Deprecated_1=function(){return(dr=a._emscripten_bind_Decoder_GetEncodedGeometryType_Deprecated_1=a.asm.jb).apply(null,arguments)},br=a._emscripten_bind_Decoder_DecodeBufferToPointCloud_2=function(){return(br=a._emscripten_bind_Decoder_DecodeBufferToPointCloud_2=a.asm.kb).apply(null,arguments)},hr=a._emscripten_bind_Decoder_DecodeBufferToMesh_2=function(){return(hr=a._emscripten_bind_Decoder_DecodeBufferToMesh_2=a.asm.lb).apply(null,arguments)},Ar=a._emscripten_bind_Decoder___destroy___0=function(){return(Ar=a._emscripten_bind_Decoder___destroy___0=a.asm.mb).apply(null,arguments)},Tr=a._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_INVALID_TRANSFORM=function(){return(Tr=a._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_INVALID_TRANSFORM=a.asm.nb).apply(null,arguments)},Dr=a._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_NO_TRANSFORM=function(){return(Dr=a._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_NO_TRANSFORM=a.asm.ob).apply(null,arguments)},Ir=a._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_QUANTIZATION_TRANSFORM=function(){return(Ir=a._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_QUANTIZATION_TRANSFORM=a.asm.pb).apply(null,arguments)},jr=a._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_OCTAHEDRON_TRANSFORM=function(){return(jr=a._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_OCTAHEDRON_TRANSFORM=a.asm.qb).apply(null,arguments)},Er=a._emscripten_enum_draco_GeometryAttribute_Type_INVALID=function(){return(Er=a._emscripten_enum_draco_GeometryAttribute_Type_INVALID=a.asm.rb).apply(null,arguments)},Gr=a._emscripten_enum_draco_GeometryAttribute_Type_POSITION=function(){return(Gr=a._emscripten_enum_draco_GeometryAttribute_Type_POSITION=a.asm.sb).apply(null,arguments)},vr=a._emscripten_enum_draco_GeometryAttribute_Type_NORMAL=function(){return(vr=a._emscripten_enum_draco_GeometryAttribute_Type_NORMAL=a.asm.tb).apply(null,arguments)},Or=a._emscripten_enum_draco_GeometryAttribute_Type_COLOR=function(){return(Or=a._emscripten_enum_draco_GeometryAttribute_Type_COLOR=a.asm.ub).apply(null,arguments)},Pr=a._emscripten_enum_draco_GeometryAttribute_Type_TEX_COORD=function(){return(Pr=a._emscripten_enum_draco_GeometryAttribute_Type_TEX_COORD=a.asm.vb).apply(null,arguments)},Rr=a._emscripten_enum_draco_GeometryAttribute_Type_GENERIC=function(){return(Rr=a._emscripten_enum_draco_GeometryAttribute_Type_GENERIC=a.asm.wb).apply(null,arguments)},Sr=a._emscripten_enum_draco_EncodedGeometryType_INVALID_GEOMETRY_TYPE=function(){return(Sr=a._emscripten_enum_draco_EncodedGeometryType_INVALID_GEOMETRY_TYPE=a.asm.xb).apply(null,arguments)},Mr=a._emscripten_enum_draco_EncodedGeometryType_POINT_CLOUD=function(){return(Mr=a._emscripten_enum_draco_EncodedGeometryType_POINT_CLOUD=a.asm.yb).apply(null,arguments)},Nr=a._emscripten_enum_draco_EncodedGeometryType_TRIANGULAR_MESH=function(){return(Nr=a._emscripten_enum_draco_EncodedGeometryType_TRIANGULAR_MESH=a.asm.zb).apply(null,arguments)},Fr=a._emscripten_enum_draco_DataType_DT_INVALID=function(){return(Fr=a._emscripten_enum_draco_DataType_DT_INVALID=a.asm.Ab).apply(null,arguments)},Ur=a._emscripten_enum_draco_DataType_DT_INT8=function(){return(Ur=a._emscripten_enum_draco_DataType_DT_INT8=a.asm.Bb).apply(null,arguments)},gr=a._emscripten_enum_draco_DataType_DT_UINT8=function(){return(gr=a._emscripten_enum_draco_DataType_DT_UINT8=a.asm.Cb).apply(null,arguments)},Cr=a._emscripten_enum_draco_DataType_DT_INT16=function(){return(Cr=a._emscripten_enum_draco_DataType_DT_INT16=a.asm.Db).apply(null,arguments)},Lr=a._emscripten_enum_draco_DataType_DT_UINT16=function(){return(Lr=a._emscripten_enum_draco_DataType_DT_UINT16=a.asm.Eb).apply(null,arguments)},wr=a._emscripten_enum_draco_DataType_DT_INT32=function(){return(wr=a._emscripten_enum_draco_DataType_DT_INT32=a.asm.Fb).apply(null,arguments)},$r=a._emscripten_enum_draco_DataType_DT_UINT32=function(){return($r=a._emscripten_enum_draco_DataType_DT_UINT32=a.asm.Gb).apply(null,arguments)},Br=a._emscripten_enum_draco_DataType_DT_INT64=function(){return(Br=a._emscripten_enum_draco_DataType_DT_INT64=a.asm.Hb).apply(null,arguments)},zr=a._emscripten_enum_draco_DataType_DT_UINT64=function(){return(zr=a._emscripten_enum_draco_DataType_DT_UINT64=a.asm.Ib).apply(null,arguments)},Vr=a._emscripten_enum_draco_DataType_DT_FLOAT32=function(){return(Vr=a._emscripten_enum_draco_DataType_DT_FLOAT32=a.asm.Jb).apply(null,arguments)},xr=a._emscripten_enum_draco_DataType_DT_FLOAT64=function(){return(xr=a._emscripten_enum_draco_DataType_DT_FLOAT64=a.asm.Kb).apply(null,arguments)},Wr=a._emscripten_enum_draco_DataType_DT_BOOL=function(){return(Wr=a._emscripten_enum_draco_DataType_DT_BOOL=a.asm.Lb).apply(null,arguments)},Qr=a._emscripten_enum_draco_DataType_DT_TYPES_COUNT=function(){return(Qr=a._emscripten_enum_draco_DataType_DT_TYPES_COUNT=a.asm.Mb).apply(null,arguments)},Hr=a._emscripten_enum_draco_StatusCode_OK=function(){return(Hr=a._emscripten_enum_draco_StatusCode_OK=a.asm.Nb).apply(null,arguments)},kr=a._emscripten_enum_draco_StatusCode_DRACO_ERROR=function(){return(kr=a._emscripten_enum_draco_StatusCode_DRACO_ERROR=a.asm.Ob).apply(null,arguments)},Yr=a._emscripten_enum_draco_StatusCode_IO_ERROR=function(){return(Yr=a._emscripten_enum_draco_StatusCode_IO_ERROR=a.asm.Pb).apply(null,arguments)},qr=a._emscripten_enum_draco_StatusCode_INVALID_PARAMETER=function(){return(qr=a._emscripten_enum_draco_StatusCode_INVALID_PARAMETER=a.asm.Qb).apply(null,arguments)},Kr=a._emscripten_enum_draco_StatusCode_UNSUPPORTED_VERSION=function(){return(Kr=a._emscripten_enum_draco_StatusCode_UNSUPPORTED_VERSION=a.asm.Rb).apply(null,arguments)},Jr=a._emscripten_enum_draco_StatusCode_UNKNOWN_VERSION=function(){return(Jr=a._emscripten_enum_draco_StatusCode_UNKNOWN_VERSION=a.asm.Sb).apply(null,arguments)};a._malloc=function(){return(a._malloc=a.asm.Tb).apply(null,arguments)},a._free=function(){return(a._free=a.asm.Ub).apply(null,arguments)};var Zr,ya=function(){return(ya=a.asm.Vb).apply(null,arguments)};if(a.___start_em_js=15856,a.___stop_em_js=15954,lt=function b(){Zr||ba(),Zr||(lt=b)},a.preInit)for("function"==typeof a.preInit&&(a.preInit=[a.preInit]);0<a.preInit.length;)a.preInit.pop()();ba(),t.prototype=Object.create(t.prototype),t.prototype.constructor=t,t.prototype.__class__=t,t.__cache__={},a.WrapperObject=t,a.getCache=x,a.wrapPointer=D,a.castObject=function(r,o){return D(r.ptr,o)},a.NULL=D(0),a.destroy=function(r){if(!r.__destroy__)throw"Error: Cannot destroy object. (Did you create it yourself?)";r.__destroy__(),delete x(r.__class__)[r.ptr]},a.compare=function(r,o){return r.ptr===o.ptr},a.getPointer=function(r){return r.ptr},a.getClass=function(r){return r.__class__};var Xr={buffer:0,size:0,pos:0,temps:[],needed:0,prepare:function(){if(Xr.needed){for(var r=0;r<Xr.temps.length;r++)a._free(Xr.temps[r]);Xr.temps.length=0,a._free(Xr.buffer),Xr.buffer=0,Xr.size+=Xr.needed,Xr.needed=0}Xr.buffer||(Xr.size+=128,Xr.buffer=a._malloc(Xr.size),Xr.buffer||f(void 0)),Xr.pos=0},alloc:function(r,o){return Xr.buffer||f(void 0),r=(r=r.length*o.BYTES_PER_ELEMENT)+7&-8,Xr.pos+r>=Xr.size?(0<r||f(void 0),Xr.needed+=r,o=a._malloc(r),Xr.temps.push(o)):(o=Xr.buffer+Xr.pos,Xr.pos+=r),o},copy:function(r,o,_){switch(_>>>=0,o.BYTES_PER_ELEMENT){case 2:_>>>=1;break;case 4:_>>>=2;break;case 8:_>>>=3}for(var i=0;i<r.length;i++)o[_+i]=r[i]}};return Z.prototype=Object.create(t.prototype),Z.prototype.constructor=Z,Z.prototype.__class__=Z,Z.__cache__={},a.VoidPtr=Z,Z.prototype.__destroy__=Z.prototype.__destroy__=function(){bt(this.ptr)},S.prototype=Object.create(t.prototype),S.prototype.constructor=S,S.prototype.__class__=S,S.__cache__={},a.DecoderBuffer=S,S.prototype.Init=S.prototype.Init=function(r,o){var _=this.ptr;Xr.prepare(),"object"==typeof r&&(r=pa(r)),o&&"object"==typeof o&&(o=o.ptr),At(_,r,o)},S.prototype.__destroy__=S.prototype.__destroy__=function(){Tt(this.ptr)},Q.prototype=Object.create(t.prototype),Q.prototype.constructor=Q,Q.prototype.__class__=Q,Q.__cache__={},a.AttributeTransformData=Q,Q.prototype.transform_type=Q.prototype.transform_type=function(){return It(this.ptr)},Q.prototype.__destroy__=Q.prototype.__destroy__=function(){jt(this.ptr)},W.prototype=Object.create(t.prototype),W.prototype.constructor=W,W.prototype.__class__=W,W.__cache__={},a.GeometryAttribute=W,W.prototype.__destroy__=W.prototype.__destroy__=function(){Gt(this.ptr)},w.prototype=Object.create(t.prototype),w.prototype.constructor=w,w.prototype.__class__=w,w.__cache__={},a.PointAttribute=w,w.prototype.size=w.prototype.size=function(){return Ot(this.ptr)},w.prototype.GetAttributeTransformData=w.prototype.GetAttributeTransformData=function(){return D(Pt(this.ptr),Q)},w.prototype.attribute_type=w.prototype.attribute_type=function(){return Rt(this.ptr)},w.prototype.data_type=w.prototype.data_type=function(){return St(this.ptr)},w.prototype.num_components=w.prototype.num_components=function(){return Mt(this.ptr)},w.prototype.normalized=w.prototype.normalized=function(){return!!Nt(this.ptr)},w.prototype.byte_stride=w.prototype.byte_stride=function(){return Ft(this.ptr)},w.prototype.byte_offset=w.prototype.byte_offset=function(){return Ut(this.ptr)},w.prototype.unique_id=w.prototype.unique_id=function(){return gt(this.ptr)},w.prototype.__destroy__=w.prototype.__destroy__=function(){Ct(this.ptr)},C.prototype=Object.create(t.prototype),C.prototype.constructor=C,C.prototype.__class__=C,C.__cache__={},a.AttributeQuantizationTransform=C,C.prototype.InitFromAttribute=C.prototype.InitFromAttribute=function(r){var o=this.ptr;return r&&"object"==typeof r&&(r=r.ptr),!!wt(o,r)},C.prototype.quantization_bits=C.prototype.quantization_bits=function(){return $t(this.ptr)},C.prototype.min_value=C.prototype.min_value=function(r){var o=this.ptr;return r&&"object"==typeof r&&(r=r.ptr),Bt(o,r)},C.prototype.range=C.prototype.range=function(){return zt(this.ptr)},C.prototype.__destroy__=C.prototype.__destroy__=function(){Vt(this.ptr)},F.prototype=Object.create(t.prototype),F.prototype.constructor=F,F.prototype.__class__=F,F.__cache__={},a.AttributeOctahedronTransform=F,F.prototype.InitFromAttribute=F.prototype.InitFromAttribute=function(r){var o=this.ptr;return r&&"object"==typeof r&&(r=r.ptr),!!Wt(o,r)},F.prototype.quantization_bits=F.prototype.quantization_bits=function(){return Qt(this.ptr)},F.prototype.__destroy__=F.prototype.__destroy__=function(){Ht(this.ptr)},G.prototype=Object.create(t.prototype),G.prototype.constructor=G,G.prototype.__class__=G,G.__cache__={},a.PointCloud=G,G.prototype.num_attributes=G.prototype.num_attributes=function(){return Yt(this.ptr)},G.prototype.num_points=G.prototype.num_points=function(){return qt(this.ptr)},G.prototype.__destroy__=G.prototype.__destroy__=function(){Kt(this.ptr)},E.prototype=Object.create(t.prototype),E.prototype.constructor=E,E.prototype.__class__=E,E.__cache__={},a.Mesh=E,E.prototype.num_faces=E.prototype.num_faces=function(){return Zt(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 te(this.ptr)},E.prototype.__destroy__=E.prototype.__destroy__=function(){ee(this.ptr)},T.prototype=Object.create(t.prototype),T.prototype.constructor=T,T.prototype.__class__=T,T.__cache__={},a.Metadata=T,T.prototype.__destroy__=T.prototype.__destroy__=function(){ne(this.ptr)},B.prototype=Object.create(t.prototype),B.prototype.constructor=B,B.prototype.__class__=B,B.__cache__={},a.Status=B,B.prototype.code=B.prototype.code=function(){return oe(this.ptr)},B.prototype.ok=B.prototype.ok=function(){return!!_e(this.ptr)},B.prototype.error_msg=B.prototype.error_msg=function(){return h(ie(this.ptr))},B.prototype.__destroy__=B.prototype.__destroy__=function(){pe(this.ptr)},H.prototype=Object.create(t.prototype),H.prototype.constructor=H,H.prototype.__class__=H,H.__cache__={},a.DracoFloat32Array=H,H.prototype.GetValue=H.prototype.GetValue=function(r){var o=this.ptr;return r&&"object"==typeof r&&(r=r.ptr),ce(o,r)},H.prototype.size=H.prototype.size=function(){return se(this.ptr)},H.prototype.__destroy__=H.prototype.__destroy__=function(){ue(this.ptr)},I.prototype=Object.create(t.prototype),I.prototype.constructor=I,I.prototype.__class__=I,I.__cache__={},a.DracoInt8Array=I,I.prototype.GetValue=I.prototype.GetValue=function(r){var o=this.ptr;return r&&"object"==typeof r&&(r=r.ptr),le(o,r)},I.prototype.size=I.prototype.size=function(){return me(this.ptr)},I.prototype.__destroy__=I.prototype.__destroy__=function(){fe(this.ptr)},J.prototype=Object.create(t.prototype),J.prototype.constructor=J,J.prototype.__class__=J,J.__cache__={},a.DracoUInt8Array=J,J.prototype.GetValue=J.prototype.GetValue=function(r){var o=this.ptr;return r&&"object"==typeof r&&(r=r.ptr),be(o,r)},J.prototype.size=J.prototype.size=function(){return he(this.ptr)},J.prototype.__destroy__=J.prototype.__destroy__=function(){Ae(this.ptr)},K.prototype=Object.create(t.prototype),K.prototype.constructor=K,K.prototype.__class__=K,K.__cache__={},a.DracoInt16Array=K,K.prototype.GetValue=K.prototype.GetValue=function(r){var o=this.ptr;return r&&"object"==typeof r&&(r=r.ptr),De(o,r)},K.prototype.size=K.prototype.size=function(){return Ie(this.ptr)},K.prototype.__destroy__=K.prototype.__destroy__=function(){je(this.ptr)},L.prototype=Object.create(t.prototype),L.prototype.constructor=L,L.prototype.__class__=L,L.__cache__={},a.DracoUInt16Array=L,L.prototype.GetValue=L.prototype.GetValue=function(r){var o=this.ptr;return r&&"object"==typeof r&&(r=r.ptr),Ge(o,r)},L.prototype.size=L.prototype.size=function(){return ve(this.ptr)},L.prototype.__destroy__=L.prototype.__destroy__=function(){Oe(this.ptr)},M.prototype=Object.create(t.prototype),M.prototype.constructor=M,M.prototype.__class__=M,M.__cache__={},a.DracoInt32Array=M,M.prototype.GetValue=M.prototype.GetValue=function(r){var o=this.ptr;return r&&"object"==typeof r&&(r=r.ptr),Re(o,r)},M.prototype.size=M.prototype.size=function(){return Se(this.ptr)},M.prototype.__destroy__=M.prototype.__destroy__=function(){Me(this.ptr)},N.prototype=Object.create(t.prototype),N.prototype.constructor=N,N.prototype.__class__=N,N.__cache__={},a.DracoUInt32Array=N,N.prototype.GetValue=N.prototype.GetValue=function(r){var o=this.ptr;return r&&"object"==typeof r&&(r=r.ptr),Fe(o,r)},N.prototype.size=N.prototype.size=function(){return Ue(this.ptr)},N.prototype.__destroy__=N.prototype.__destroy__=function(){ge(this.ptr)},y.prototype=Object.create(t.prototype),y.prototype.constructor=y,y.prototype.__class__=y,y.__cache__={},a.MetadataQuerier=y,y.prototype.HasEntry=y.prototype.HasEntry=function(r,o){var _=this.ptr;return Xr.prepare(),r&&"object"==typeof r&&(r=r.ptr),o=o&&"object"==typeof o?o.ptr:R(o),!!Le(_,r,o)},y.prototype.GetIntEntry=y.prototype.GetIntEntry=function(r,o){var _=this.ptr;return Xr.prepare(),r&&"object"==typeof r&&(r=r.ptr),o=o&&"object"==typeof o?o.ptr:R(o),we(_,r,o)},y.prototype.GetIntEntryArray=y.prototype.GetIntEntryArray=function(r,o,_){var i=this.ptr;Xr.prepare(),r&&"object"==typeof r&&(r=r.ptr),o=o&&"object"==typeof o?o.ptr:R(o),_&&"object"==typeof _&&(_=_.ptr),$e(i,r,o,_)},y.prototype.GetDoubleEntry=y.prototype.GetDoubleEntry=function(r,o){var _=this.ptr;return Xr.prepare(),r&&"object"==typeof r&&(r=r.ptr),o=o&&"object"==typeof o?o.ptr:R(o),Be(_,r,o)},y.prototype.GetStringEntry=y.prototype.GetStringEntry=function(r,o){var _=this.ptr;return Xr.prepare(),r&&"object"==typeof r&&(r=r.ptr),o=o&&"object"==typeof o?o.ptr:R(o),h(ze(_,r,o))},y.prototype.NumEntries=y.prototype.NumEntries=function(r){var o=this.ptr;return r&&"object"==typeof r&&(r=r.ptr),Ve(o,r)},y.prototype.GetEntryName=y.prototype.GetEntryName=function(r,o){var _=this.ptr;return r&&"object"==typeof r&&(r=r.ptr),o&&"object"==typeof o&&(o=o.ptr),h(xe(_,r,o))},y.prototype.__destroy__=y.prototype.__destroy__=function(){We(this.ptr)},m.prototype=Object.create(t.prototype),m.prototype.constructor=m,m.prototype.__class__=m,m.__cache__={},a.Decoder=m,m.prototype.DecodeArrayToPointCloud=m.prototype.DecodeArrayToPointCloud=function(r,o,_){var i=this.ptr;return Xr.prepare(),"object"==typeof r&&(r=pa(r)),o&&"object"==typeof o&&(o=o.ptr),_&&"object"==typeof _&&(_=_.ptr),D(He(i,r,o,_),B)},m.prototype.DecodeArrayToMesh=m.prototype.DecodeArrayToMesh=function(r,o,_){var i=this.ptr;return Xr.prepare(),"object"==typeof r&&(r=pa(r)),o&&"object"==typeof o&&(o=o.ptr),_&&"object"==typeof _&&(_=_.ptr),D(ke(i,r,o,_),B)},m.prototype.GetAttributeId=m.prototype.GetAttributeId=function(r,o){var _=this.ptr;return r&&"object"==typeof r&&(r=r.ptr),o&&"object"==typeof o&&(o=o.ptr),Ye(_,r,o)},m.prototype.GetAttributeIdByName=m.prototype.GetAttributeIdByName=function(r,o){var _=this.ptr;return Xr.prepare(),r&&"object"==typeof r&&(r=r.ptr),o=o&&"object"==typeof o?o.ptr:R(o),qe(_,r,o)},m.prototype.GetAttributeIdByMetadataEntry=m.prototype.GetAttributeIdByMetadataEntry=function(r,o,_){var i=this.ptr;return Xr.prepare(),r&&"object"==typeof r&&(r=r.ptr),o=o&&"object"==typeof o?o.ptr:R(o),_=_&&"object"==typeof _?_.ptr:R(_),Ke(i,r,o,_)},m.prototype.GetAttribute=m.prototype.GetAttribute=function(r,o){var _=this.ptr;return r&&"object"==typeof r&&(r=r.ptr),o&&"object"==typeof o&&(o=o.ptr),D(Je(_,r,o),w)},m.prototype.GetAttributeByUniqueId=m.prototype.GetAttributeByUniqueId=function(r,o){var _=this.ptr;return r&&"object"==typeof r&&(r=r.ptr),o&&"object"==typeof o&&(o=o.ptr),D(Ze(_,r,o),w)},m.prototype.GetMetadata=m.prototype.GetMetadata=function(r){var o=this.ptr;return r&&"object"==typeof r&&(r=r.ptr),D(Xe(o,r),T)},m.prototype.GetAttributeMetadata=m.prototype.GetAttributeMetadata=function(r,o){var _=this.ptr;return r&&"object"==typeof r&&(r=r.ptr),o&&"object"==typeof o&&(o=o.ptr),D(tr(_,r,o),T)},m.prototype.GetFaceFromMesh=m.prototype.GetFaceFromMesh=function(r,o,_){var i=this.ptr;return r&&"object"==typeof r&&(r=r.ptr),o&&"object"==typeof o&&(o=o.ptr),_&&"object"==typeof _&&(_=_.ptr),!!er(i,r,o,_)},m.prototype.GetTriangleStripsFromMesh=m.prototype.GetTriangleStripsFromMesh=function(r,o){var _=this.ptr;return r&&"object"==typeof r&&(r=r.ptr),o&&"object"==typeof o&&(o=o.ptr),rr(_,r,o)},m.prototype.GetTrianglesUInt16Array=m.prototype.GetTrianglesUInt16Array=function(r,o,_){var i=this.ptr;return r&&"object"==typeof r&&(r=r.ptr),o&&"object"==typeof o&&(o=o.ptr),_&&"object"==typeof _&&(_=_.ptr),!!nr(i,r,o,_)},m.prototype.GetTrianglesUInt32Array=m.prototype.GetTrianglesUInt32Array=function(r,o,_){var i=this.ptr;return r&&"object"==typeof r&&(r=r.ptr),o&&"object"==typeof o&&(o=o.ptr),_&&"object"==typeof _&&(_=_.ptr),!!or(i,r,o,_)},m.prototype.GetAttributeFloat=m.prototype.GetAttributeFloat=function(r,o,_){var i=this.ptr;return r&&"object"==typeof r&&(r=r.ptr),o&&"object"==typeof o&&(o=o.ptr),_&&"object"==typeof _&&(_=_.ptr),!!_r(i,r,o,_)},m.prototype.GetAttributeFloatForAllPoints=m.prototype.GetAttributeFloatForAllPoints=function(r,o,_){var i=this.ptr;return r&&"object"==typeof r&&(r=r.ptr),o&&"object"==typeof o&&(o=o.ptr),_&&"object"==typeof _&&(_=_.ptr),!!ir(i,r,o,_)},m.prototype.GetAttributeIntForAllPoints=m.prototype.GetAttributeIntForAllPoints=function(r,o,_){var i=this.ptr;return r&&"object"==typeof r&&(r=r.ptr),o&&"object"==typeof o&&(o=o.ptr),_&&"object"==typeof _&&(_=_.ptr),!!pr(i,r,o,_)},m.prototype.GetAttributeInt8ForAllPoints=m.prototype.GetAttributeInt8ForAllPoints=function(r,o,_){var i=this.ptr;return r&&"object"==typeof r&&(r=r.ptr),o&&"object"==typeof o&&(o=o.ptr),_&&"object"==typeof _&&(_=_.ptr),!!ar(i,r,o,_)},m.prototype.GetAttributeUInt8ForAllPoints=m.prototype.GetAttributeUInt8ForAllPoints=function(r,o,_){var i=this.ptr;return r&&"object"==typeof r&&(r=r.ptr),o&&"object"==typeof o&&(o=o.ptr),_&&"object"==typeof _&&(_=_.ptr),!!cr(i,r,o,_)},m.prototype.GetAttributeInt16ForAllPoints=m.prototype.GetAttributeInt16ForAllPoints=function(r,o,_){var i=this.ptr;return r&&"object"==typeof r&&(r=r.ptr),o&&"object"==typeof o&&(o=o.ptr),_&&"object"==typeof _&&(_=_.ptr),!!sr(i,r,o,_)},m.prototype.GetAttributeUInt16ForAllPoints=m.prototype.GetAttributeUInt16ForAllPoints=function(r,o,_){var i=this.ptr;return r&&"object"==typeof r&&(r=r.ptr),o&&"object"==typeof o&&(o=o.ptr),_&&"object"==typeof _&&(_=_.ptr),!!ur(i,r,o,_)},m.prototype.GetAttributeInt32ForAllPoints=m.prototype.GetAttributeInt32ForAllPoints=function(r,o,_){var i=this.ptr;return r&&"object"==typeof r&&(r=r.ptr),o&&"object"==typeof o&&(o=o.ptr),_&&"object"==typeof _&&(_=_.ptr),!!yr(i,r,o,_)},m.prototype.GetAttributeUInt32ForAllPoints=m.prototype.GetAttributeUInt32ForAllPoints=function(r,o,_){var i=this.ptr;return r&&"object"==typeof r&&(r=r.ptr),o&&"object"==typeof o&&(o=o.ptr),_&&"object"==typeof _&&(_=_.ptr),!!lr(i,r,o,_)},m.prototype.GetAttributeDataArrayForAllPoints=m.prototype.GetAttributeDataArrayForAllPoints=function(r,o,_,i,a){var s=this.ptr;return r&&"object"==typeof r&&(r=r.ptr),o&&"object"==typeof o&&(o=o.ptr),_&&"object"==typeof _&&(_=_.ptr),i&&"object"==typeof i&&(i=i.ptr),a&&"object"==typeof a&&(a=a.ptr),!!mr(s,r,o,_,i,a)},m.prototype.SkipAttributeTransform=m.prototype.SkipAttributeTransform=function(r){var o=this.ptr;r&&"object"==typeof r&&(r=r.ptr),fr(o,r)},m.prototype.GetEncodedGeometryType_Deprecated=m.prototype.GetEncodedGeometryType_Deprecated=function(r){var o=this.ptr;return r&&"object"==typeof r&&(r=r.ptr),dr(o,r)},m.prototype.DecodeBufferToPointCloud=m.prototype.DecodeBufferToPointCloud=function(r,o){var _=this.ptr;return r&&"object"==typeof r&&(r=r.ptr),o&&"object"==typeof o&&(o=o.ptr),D(br(_,r,o),B)},m.prototype.DecodeBufferToMesh=m.prototype.DecodeBufferToMesh=function(r,o){var _=this.ptr;return r&&"object"==typeof r&&(r=r.ptr),o&&"object"==typeof o&&(o=o.ptr),D(hr(_,r,o),B)},m.prototype.__destroy__=m.prototype.__destroy__=function(){Ar(this.ptr)},function(){function b(){a.ATTRIBUTE_INVALID_TRANSFORM=Tr(),a.ATTRIBUTE_NO_TRANSFORM=Dr(),a.ATTRIBUTE_QUANTIZATION_TRANSFORM=Ir(),a.ATTRIBUTE_OCTAHEDRON_TRANSFORM=jr(),a.INVALID=Er(),a.POSITION=Gr(),a.NORMAL=vr(),a.COLOR=Or(),a.TEX_COORD=Pr(),a.GENERIC=Rr(),a.INVALID_GEOMETRY_TYPE=Sr(),a.POINT_CLOUD=Mr(),a.TRIANGULAR_MESH=Nr(),a.DT_INVALID=Fr(),a.DT_INT8=Ur(),a.DT_UINT8=gr(),a.DT_INT16=Cr(),a.DT_UINT16=Lr(),a.DT_INT32=wr(),a.DT_UINT32=$r(),a.DT_INT64=Br(),a.DT_UINT64=zr(),a.DT_FLOAT32=Vr(),a.DT_FLOAT64=xr(),a.DT_BOOL=Wr(),a.DT_TYPES_COUNT=Qr(),a.OK=Hr(),a.DRACO_ERROR=kr(),a.IO_ERROR=Yr(),a.INVALID_PARAMETER=qr(),a.UNSUPPORTED_VERSION=Kr(),a.UNKNOWN_VERSION=Jr()}st?b():at.unshift(b)}(),"function"==typeof a.onModuleParsed&&a.onModuleParsed(),a.Decoder.prototype.GetEncodedGeometryType=function(r){if(r.__class__&&r.__class__===a.DecoderBuffer)return a.Decoder.prototype.GetEncodedGeometryType_Deprecated(r);if(8>r.byteLength)return a.INVALID_GEOMETRY_TYPE;switch(r[7]){case 0:return a.POINT_CLOUD;case 1:return a.TRIANGULAR_MESH;default:return a.INVALID_GEOMETRY_TYPE}},o.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(h){var n=0;return function(){return n<h.length?{done:!1,value:h[n++]}:{done:!0}}};$jscomp.arrayIterator=function(h){return{next:$jscomp.arrayIteratorImpl(h)}};$jscomp.makeIterator=function(h){var n="undefined"!=typeof Symbol&&Symbol.iterator&&h[Symbol.iterator];return n?n.call(h):$jscomp.arrayIterator(h)};$jscomp.ASSUME_ES5=!1;$jscomp.ASSUME_NO_NATIVE_MAP=!1;$jscomp.ASSUME_NO_NATIVE_SET=!1;$jscomp.SIMPLE_FROUND_POLYFILL=!1;
|
|
2
|
+
$jscomp.ISOLATE_POLYFILLS=!1;$jscomp.FORCE_POLYFILL_PROMISE=!1;$jscomp.FORCE_POLYFILL_PROMISE_WHEN_NO_UNHANDLED_REJECTION=!1;$jscomp.getGlobal=function(h){h=["object"==typeof globalThis&&globalThis,h,"object"==typeof window&&window,"object"==typeof self&&self,"object"==typeof global&&global];for(var n=0;n<h.length;++n){var k=h[n];if(k&&k.Math==Math)return k}throw Error("Cannot find global object");};$jscomp.global=$jscomp.getGlobal(this);
|
|
3
|
+
$jscomp.defineProperty=$jscomp.ASSUME_ES5||"function"==typeof Object.defineProperties?Object.defineProperty:function(h,n,k){if(h==Array.prototype||h==Object.prototype)return h;h[n]=k.value;return h};$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$";
|
|
4
|
+
var $jscomp$lookupPolyfilledValue=function(h,n){var k=$jscomp.propertyToPolyfillSymbol[n];if(null==k)return h[n];k=h[k];return void 0!==k?k:h[n]};$jscomp.polyfill=function(h,n,k,p){n&&($jscomp.ISOLATE_POLYFILLS?$jscomp.polyfillIsolated(h,n,k,p):$jscomp.polyfillUnisolated(h,n,k,p))};
|
|
5
|
+
$jscomp.polyfillUnisolated=function(h,n,k,p){k=$jscomp.global;h=h.split(".");for(p=0;p<h.length-1;p++){var l=h[p];if(!(l in k))return;k=k[l]}h=h[h.length-1];p=k[h];n=n(p);n!=p&&null!=n&&$jscomp.defineProperty(k,h,{configurable:!0,writable:!0,value:n})};
|
|
6
|
+
$jscomp.polyfillIsolated=function(h,n,k,p){var l=h.split(".");h=1===l.length;p=l[0];p=!h&&p in $jscomp.polyfills?$jscomp.polyfills:$jscomp.global;for(var y=0;y<l.length-1;y++){var f=l[y];if(!(f in p))return;p=p[f]}l=l[l.length-1];k=$jscomp.IS_SYMBOL_NATIVE&&"es6"===k?p[l]:null;n=n(k);null!=n&&(h?$jscomp.defineProperty($jscomp.polyfills,l,{configurable:!0,writable:!0,value:n}):n!==k&&(void 0===$jscomp.propertyToPolyfillSymbol[l]&&(k=1E9*Math.random()>>>0,$jscomp.propertyToPolyfillSymbol[l]=$jscomp.IS_SYMBOL_NATIVE?
|
|
7
|
+
$jscomp.global.Symbol(l):$jscomp.POLYFILL_PREFIX+k+"$"+l),$jscomp.defineProperty(p,$jscomp.propertyToPolyfillSymbol[l],{configurable:!0,writable:!0,value:n})))};
|
|
8
|
+
$jscomp.polyfill("Promise",function(h){function n(){this.batch_=null}function k(f){return f instanceof l?f:new l(function(q,u){q(f)})}if(h&&(!($jscomp.FORCE_POLYFILL_PROMISE||$jscomp.FORCE_POLYFILL_PROMISE_WHEN_NO_UNHANDLED_REJECTION&&"undefined"===typeof $jscomp.global.PromiseRejectionEvent)||!$jscomp.global.Promise||-1===$jscomp.global.Promise.toString().indexOf("[native code]")))return h;n.prototype.asyncExecute=function(f){if(null==this.batch_){this.batch_=[];var q=this;this.asyncExecuteFunction(function(){q.executeBatch_()})}this.batch_.push(f)};
|
|
9
|
+
var p=$jscomp.global.setTimeout;n.prototype.asyncExecuteFunction=function(f){p(f,0)};n.prototype.executeBatch_=function(){for(;this.batch_&&this.batch_.length;){var f=this.batch_;this.batch_=[];for(var q=0;q<f.length;++q){var u=f[q];f[q]=null;try{u()}catch(A){this.asyncThrow_(A)}}}this.batch_=null};n.prototype.asyncThrow_=function(f){this.asyncExecuteFunction(function(){throw f;})};var l=function(f){this.state_=0;this.result_=void 0;this.onSettledCallbacks_=[];this.isRejectionHandled_=!1;var q=this.createResolveAndReject_();
|
|
10
|
+
try{f(q.resolve,q.reject)}catch(u){q.reject(u)}};l.prototype.createResolveAndReject_=function(){function f(A){return function(F){u||(u=!0,A.call(q,F))}}var q=this,u=!1;return{resolve:f(this.resolveTo_),reject:f(this.reject_)}};l.prototype.resolveTo_=function(f){if(f===this)this.reject_(new TypeError("A Promise cannot resolve to itself"));else if(f instanceof l)this.settleSameAsPromise_(f);else{a:switch(typeof f){case "object":var q=null!=f;break a;case "function":q=!0;break a;default:q=!1}q?this.resolveToNonPromiseObj_(f):
|
|
11
|
+
this.fulfill_(f)}};l.prototype.resolveToNonPromiseObj_=function(f){var q=void 0;try{q=f.then}catch(u){this.reject_(u);return}"function"==typeof q?this.settleSameAsThenable_(q,f):this.fulfill_(f)};l.prototype.reject_=function(f){this.settle_(2,f)};l.prototype.fulfill_=function(f){this.settle_(1,f)};l.prototype.settle_=function(f,q){if(0!=this.state_)throw Error("Cannot settle("+f+", "+q+"): Promise already settled in state"+this.state_);this.state_=f;this.result_=q;2===this.state_&&this.scheduleUnhandledRejectionCheck_();
|
|
12
|
+
this.executeOnSettledCallbacks_()};l.prototype.scheduleUnhandledRejectionCheck_=function(){var f=this;p(function(){if(f.notifyUnhandledRejection_()){var q=$jscomp.global.console;"undefined"!==typeof q&&q.error(f.result_)}},1)};l.prototype.notifyUnhandledRejection_=function(){if(this.isRejectionHandled_)return!1;var f=$jscomp.global.CustomEvent,q=$jscomp.global.Event,u=$jscomp.global.dispatchEvent;if("undefined"===typeof u)return!0;"function"===typeof f?f=new f("unhandledrejection",{cancelable:!0}):
|
|
13
|
+
"function"===typeof q?f=new q("unhandledrejection",{cancelable:!0}):(f=$jscomp.global.document.createEvent("CustomEvent"),f.initCustomEvent("unhandledrejection",!1,!0,f));f.promise=this;f.reason=this.result_;return u(f)};l.prototype.executeOnSettledCallbacks_=function(){if(null!=this.onSettledCallbacks_){for(var f=0;f<this.onSettledCallbacks_.length;++f)y.asyncExecute(this.onSettledCallbacks_[f]);this.onSettledCallbacks_=null}};var y=new n;l.prototype.settleSameAsPromise_=function(f){var q=this.createResolveAndReject_();
|
|
14
|
+
f.callWhenSettled_(q.resolve,q.reject)};l.prototype.settleSameAsThenable_=function(f,q){var u=this.createResolveAndReject_();try{f.call(q,u.resolve,u.reject)}catch(A){u.reject(A)}};l.prototype.then=function(f,q){function u(w,B){return"function"==typeof w?function(R){try{A(w(R))}catch(Z){F(Z)}}:B}var A,F,v=new l(function(w,B){A=w;F=B});this.callWhenSettled_(u(f,A),u(q,F));return v};l.prototype.catch=function(f){return this.then(void 0,f)};l.prototype.callWhenSettled_=function(f,q){function u(){switch(A.state_){case 1:f(A.result_);
|
|
15
|
+
break;case 2:q(A.result_);break;default:throw Error("Unexpected state: "+A.state_);}}var A=this;null==this.onSettledCallbacks_?y.asyncExecute(u):this.onSettledCallbacks_.push(u);this.isRejectionHandled_=!0};l.resolve=k;l.reject=function(f){return new l(function(q,u){u(f)})};l.race=function(f){return new l(function(q,u){for(var A=$jscomp.makeIterator(f),F=A.next();!F.done;F=A.next())k(F.value).callWhenSettled_(q,u)})};l.all=function(f){var q=$jscomp.makeIterator(f),u=q.next();return u.done?k([]):new l(function(A,
|
|
16
|
+
F){function v(R){return function(Z){w[R]=Z;B--;0==B&&A(w)}}var w=[],B=0;do w.push(void 0),B++,k(u.value).callWhenSettled_(v(w.length-1),F),u=q.next();while(!u.done)})};return l},"es6","es3");$jscomp.owns=function(h,n){return Object.prototype.hasOwnProperty.call(h,n)};$jscomp.assign=$jscomp.TRUST_ES6_POLYFILLS&&"function"==typeof Object.assign?Object.assign:function(h,n){for(var k=1;k<arguments.length;k++){var p=arguments[k];if(p)for(var l in p)$jscomp.owns(p,l)&&(h[l]=p[l])}return h};
|
|
17
|
+
$jscomp.polyfill("Object.assign",function(h){return h||$jscomp.assign},"es6","es3");$jscomp.checkStringArgs=function(h,n,k){if(null==h)throw new TypeError("The 'this' value for String.prototype."+k+" must not be null or undefined");if(n instanceof RegExp)throw new TypeError("First argument to String.prototype."+k+" must not be a regular expression");return h+""};
|
|
18
|
+
$jscomp.polyfill("String.prototype.startsWith",function(h){return h?h:function(n,k){var p=$jscomp.checkStringArgs(this,n,"startsWith");n+="";var l=p.length,y=n.length;k=Math.max(0,Math.min(k|0,p.length));for(var f=0;f<y&&k<l;)if(p[k++]!=n[f++])return!1;return f>=y}},"es6","es3");
|
|
19
|
+
$jscomp.polyfill("Array.prototype.copyWithin",function(h){function n(k){k=Number(k);return Infinity===k||-Infinity===k?k:k|0}return h?h:function(k,p,l){var y=this.length;k=n(k);p=n(p);l=void 0===l?y:n(l);k=0>k?Math.max(y+k,0):Math.min(k,y);p=0>p?Math.max(y+p,0):Math.min(p,y);l=0>l?Math.max(y+l,0):Math.min(l,y);if(k<p)for(;p<l;)p in this?this[k++]=this[p++]:(delete this[k++],p++);else for(l=Math.min(l,y+p-k),k+=l-p;l>p;)--l in this?this[--k]=this[l]:delete this[--k];return this}},"es6","es3");
|
|
20
|
+
$jscomp.typedArrayCopyWithin=function(h){return h?h: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");
|
|
21
|
+
$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");
|
|
22
|
+
var DracoDecoderModule=function(){var h="undefined"!==typeof document&&document.currentScript?document.currentScript.src:void 0;"undefined"!==typeof __filename&&(h=h||__filename);return function(n){function k(e){return a.locateFile?a.locateFile(e,U):U+e}function p(e,b){if(e){var c=ia;var d=e+b;for(b=e;c[b]&&!(b>=d);)++b;if(16<b-e&&c.buffer&&ra)c=ra.decode(c.subarray(e,b));else{for(d="";e<b;){var g=c[e++];if(g&128){var t=c[e++]&63;if(192==(g&224))d+=String.fromCharCode((g&31)<<6|t);else{var aa=c[e++]&
|
|
23
|
+
63;g=224==(g&240)?(g&15)<<12|t<<6|aa:(g&7)<<18|t<<12|aa<<6|c[e++]&63;65536>g?d+=String.fromCharCode(g):(g-=65536,d+=String.fromCharCode(55296|g>>10,56320|g&1023))}}else d+=String.fromCharCode(g)}c=d}}else c="";return c}function l(){var e=ja.buffer;a.HEAP8=W=new Int8Array(e);a.HEAP16=new Int16Array(e);a.HEAP32=ca=new Int32Array(e);a.HEAPU8=ia=new Uint8Array(e);a.HEAPU16=new Uint16Array(e);a.HEAPU32=Y=new Uint32Array(e);a.HEAPF32=new Float32Array(e);a.HEAPF64=new Float64Array(e)}function y(e){if(a.onAbort)a.onAbort(e);
|
|
24
|
+
e="Aborted("+e+")";da(e);sa=!0;e=new WebAssembly.RuntimeError(e+". Build with -sASSERTIONS for more info.");ka(e);throw e;}function f(e){try{if(e==P&&ea)return new Uint8Array(ea);if(ma)return ma(e);throw"both async and sync fetching of the wasm failed";}catch(b){y(b)}}function q(){if(!ea&&(ta||fa)){if("function"==typeof fetch&&!P.startsWith("file://"))return fetch(P,{credentials:"same-origin"}).then(function(e){if(!e.ok)throw"failed to load wasm binary file at '"+P+"'";return e.arrayBuffer()}).catch(function(){return f(P)});
|
|
25
|
+
if(na)return new Promise(function(e,b){na(P,function(c){e(new Uint8Array(c))},b)})}return Promise.resolve().then(function(){return f(P)})}function u(e){for(;0<e.length;)e.shift()(a)}function A(e){this.excPtr=e;this.ptr=e-24;this.set_type=function(b){Y[this.ptr+4>>2]=b};this.get_type=function(){return Y[this.ptr+4>>2]};this.set_destructor=function(b){Y[this.ptr+8>>2]=b};this.get_destructor=function(){return Y[this.ptr+8>>2]};this.set_refcount=function(b){ca[this.ptr>>2]=b};this.set_caught=function(b){W[this.ptr+
|
|
26
|
+
12>>0]=b?1:0};this.get_caught=function(){return 0!=W[this.ptr+12>>0]};this.set_rethrown=function(b){W[this.ptr+13>>0]=b?1:0};this.get_rethrown=function(){return 0!=W[this.ptr+13>>0]};this.init=function(b,c){this.set_adjusted_ptr(0);this.set_type(b);this.set_destructor(c);this.set_refcount(0);this.set_caught(!1);this.set_rethrown(!1)};this.add_ref=function(){ca[this.ptr>>2]+=1};this.release_ref=function(){var b=ca[this.ptr>>2];ca[this.ptr>>2]=b-1;return 1===b};this.set_adjusted_ptr=function(b){Y[this.ptr+
|
|
27
|
+
16>>2]=b};this.get_adjusted_ptr=function(){return Y[this.ptr+16>>2]};this.get_exception_ptr=function(){if(ua(this.get_type()))return Y[this.excPtr>>2];var b=this.get_adjusted_ptr();return 0!==b?b:this.excPtr}}function F(){function e(){if(!la&&(la=!0,a.calledRun=!0,!sa)){va=!0;u(oa);wa(a);if(a.onRuntimeInitialized)a.onRuntimeInitialized();if(a.postRun)for("function"==typeof a.postRun&&(a.postRun=[a.postRun]);a.postRun.length;)xa.unshift(a.postRun.shift());u(xa)}}if(!(0<ba)){if(a.preRun)for("function"==
|
|
28
|
+
typeof a.preRun&&(a.preRun=[a.preRun]);a.preRun.length;)ya.unshift(a.preRun.shift());u(ya);0<ba||(a.setStatus?(a.setStatus("Running..."),setTimeout(function(){setTimeout(function(){a.setStatus("")},1);e()},1)):e())}}function v(){}function w(e){return(e||v).__cache__}function B(e,b){var c=w(b),d=c[e];if(d)return d;d=Object.create((b||v).prototype);d.ptr=e;return c[e]=d}function R(e){if("string"===typeof e){for(var b=0,c=0;c<e.length;++c){var d=e.charCodeAt(c);127>=d?b++:2047>=d?b+=2:55296<=d&&57343>=
|
|
29
|
+
d?(b+=4,++c):b+=3}b=Array(b+1);c=0;d=b.length;if(0<d){d=c+d-1;for(var g=0;g<e.length;++g){var t=e.charCodeAt(g);if(55296<=t&&57343>=t){var aa=e.charCodeAt(++g);t=65536+((t&1023)<<10)|aa&1023}if(127>=t){if(c>=d)break;b[c++]=t}else{if(2047>=t){if(c+1>=d)break;b[c++]=192|t>>6}else{if(65535>=t){if(c+2>=d)break;b[c++]=224|t>>12}else{if(c+3>=d)break;b[c++]=240|t>>18;b[c++]=128|t>>12&63}b[c++]=128|t>>6&63}b[c++]=128|t&63}}b[c]=0}e=r.alloc(b,W);r.copy(b,W,e);return e}return e}function Z(e){if("object"===
|
|
30
|
+
typeof e){var b=r.alloc(e,W);r.copy(e,W,b);return b}return e}function X(){throw"cannot construct a VoidPtr, no constructor in IDL";}function S(){this.ptr=za();w(S)[this.ptr]=this}function Q(){this.ptr=Aa();w(Q)[this.ptr]=this}function V(){this.ptr=Ba();w(V)[this.ptr]=this}function x(){this.ptr=Ca();w(x)[this.ptr]=this}function D(){this.ptr=Da();w(D)[this.ptr]=this}function G(){this.ptr=Ea();w(G)[this.ptr]=this}function H(){this.ptr=Fa();w(H)[this.ptr]=this}function E(){this.ptr=Ga();w(E)[this.ptr]=
|
|
31
|
+
this}function T(){this.ptr=Ha();w(T)[this.ptr]=this}function C(){throw"cannot construct a Status, no constructor in IDL";}function I(){this.ptr=Ia();w(I)[this.ptr]=this}function J(){this.ptr=Ja();w(J)[this.ptr]=this}function K(){this.ptr=Ka();w(K)[this.ptr]=this}function L(){this.ptr=La();w(L)[this.ptr]=this}function M(){this.ptr=Ma();w(M)[this.ptr]=this}function N(){this.ptr=Na();w(N)[this.ptr]=this}function O(){this.ptr=Oa();w(O)[this.ptr]=this}function z(){this.ptr=Pa();w(z)[this.ptr]=this}function m(){this.ptr=
|
|
32
|
+
Qa();w(m)[this.ptr]=this}n=void 0===n?{}:n;var a="undefined"!=typeof n?n:{},wa,ka;a.ready=new Promise(function(e,b){wa=e;ka=b});var Ra=!1,Sa=!1;a.onRuntimeInitialized=function(){Ra=!0;if(Sa&&"function"===typeof a.onModuleLoaded)a.onModuleLoaded(a)};a.onModuleParsed=function(){Sa=!0;if(Ra&&"function"===typeof a.onModuleLoaded)a.onModuleLoaded(a)};a.isVersionSupported=function(e){if("string"!==typeof e)return!1;e=e.split(".");return 2>e.length||3<e.length?!1:1==e[0]&&0<=e[1]&&5>=e[1]?!0:0!=e[0]||10<
|
|
33
|
+
e[1]?!1:!0};var Ta=Object.assign({},a),ta="object"==typeof window,fa="function"==typeof importScripts,Ua="object"==typeof process&&"object"==typeof process.versions&&"string"==typeof process.versions.node,U="";if(Ua){var Va=require("fs"),pa=require("path");U=fa?pa.dirname(U)+"/":__dirname+"/";var Wa=function(e,b){e=e.startsWith("file://")?new URL(e):pa.normalize(e);return Va.readFileSync(e,b?void 0:"utf8")};var ma=function(e){e=Wa(e,!0);e.buffer||(e=new Uint8Array(e));return e};var na=function(e,
|
|
34
|
+
b,c){e=e.startsWith("file://")?new URL(e):pa.normalize(e);Va.readFile(e,function(d,g){d?c(d):b(g.buffer)})};1<process.argv.length&&process.argv[1].replace(/\\/g,"/");process.argv.slice(2);a.inspect=function(){return"[Emscripten Module object]"}}else if(ta||fa)fa?U=self.location.href:"undefined"!=typeof document&&document.currentScript&&(U=document.currentScript.src),h&&(U=h),U=0!==U.indexOf("blob:")?U.substr(0,U.replace(/[?#].*/,"").lastIndexOf("/")+1):"",Wa=function(e){var b=new XMLHttpRequest;b.open("GET",
|
|
35
|
+
e,!1);b.send(null);return b.responseText},fa&&(ma=function(e){var b=new XMLHttpRequest;b.open("GET",e,!1);b.responseType="arraybuffer";b.send(null);return new Uint8Array(b.response)}),na=function(e,b,c){var d=new XMLHttpRequest;d.open("GET",e,!0);d.responseType="arraybuffer";d.onload=function(){200==d.status||0==d.status&&d.response?b(d.response):c()};d.onerror=c;d.send(null)};a.print||console.log.bind(console);var da=a.printErr||console.warn.bind(console);Object.assign(a,Ta);Ta=null;var ea;a.wasmBinary&&
|
|
36
|
+
(ea=a.wasmBinary);"object"!=typeof WebAssembly&&y("no native wasm support detected");var ja,sa=!1,ra="undefined"!=typeof TextDecoder?new TextDecoder("utf8"):void 0,W,ia,ca,Y,ya=[],oa=[],xa=[],va=!1,ba=0,qa=null,ha=null;var P="draco_decoder_gltf.wasm";P.startsWith("data:application/octet-stream;base64,")||(P=k(P));var pd=0,qd={b:function(e,b,c){(new A(e)).init(b,c);pd++;throw e;},a:function(){y("")},d:function(e,b,c){ia.copyWithin(e,b,b+c)},c:function(e){var b=ia.length;e>>>=0;if(2147483648<e)return!1;
|
|
37
|
+
for(var c=1;4>=c;c*=2){var d=b*(1+.2/c);d=Math.min(d,e+100663296);var g=Math;d=Math.max(e,d);g=g.min.call(g,2147483648,d+(65536-d%65536)%65536);a:{d=ja.buffer;try{ja.grow(g-d.byteLength+65535>>>16);l();var t=1;break a}catch(aa){}t=void 0}if(t)return!0}return!1}};(function(){function e(g,t){a.asm=g.exports;ja=a.asm.e;l();oa.unshift(a.asm.f);ba--;a.monitorRunDependencies&&a.monitorRunDependencies(ba);0==ba&&(null!==qa&&(clearInterval(qa),qa=null),ha&&(g=ha,ha=null,g()))}function b(g){e(g.instance)}
|
|
38
|
+
function c(g){return q().then(function(t){return WebAssembly.instantiate(t,d)}).then(function(t){return t}).then(g,function(t){da("failed to asynchronously prepare wasm: "+t);y(t)})}var d={a:qd};ba++;a.monitorRunDependencies&&a.monitorRunDependencies(ba);if(a.instantiateWasm)try{return a.instantiateWasm(d,e)}catch(g){da("Module.instantiateWasm callback failed with error: "+g),ka(g)}(function(){return ea||"function"!=typeof WebAssembly.instantiateStreaming||P.startsWith("data:application/octet-stream;base64,")||
|
|
39
|
+
P.startsWith("file://")||Ua||"function"!=typeof fetch?c(b):fetch(P,{credentials:"same-origin"}).then(function(g){return WebAssembly.instantiateStreaming(g,d).then(b,function(t){da("wasm streaming compile failed: "+t);da("falling back to ArrayBuffer instantiation");return c(b)})})})().catch(ka);return{}})();var Xa=a._emscripten_bind_VoidPtr___destroy___0=function(){return(Xa=a._emscripten_bind_VoidPtr___destroy___0=a.asm.h).apply(null,arguments)},za=a._emscripten_bind_DecoderBuffer_DecoderBuffer_0=
|
|
40
|
+
function(){return(za=a._emscripten_bind_DecoderBuffer_DecoderBuffer_0=a.asm.i).apply(null,arguments)},Ya=a._emscripten_bind_DecoderBuffer_Init_2=function(){return(Ya=a._emscripten_bind_DecoderBuffer_Init_2=a.asm.j).apply(null,arguments)},Za=a._emscripten_bind_DecoderBuffer___destroy___0=function(){return(Za=a._emscripten_bind_DecoderBuffer___destroy___0=a.asm.k).apply(null,arguments)},Aa=a._emscripten_bind_AttributeTransformData_AttributeTransformData_0=function(){return(Aa=a._emscripten_bind_AttributeTransformData_AttributeTransformData_0=
|
|
41
|
+
a.asm.l).apply(null,arguments)},$a=a._emscripten_bind_AttributeTransformData_transform_type_0=function(){return($a=a._emscripten_bind_AttributeTransformData_transform_type_0=a.asm.m).apply(null,arguments)},ab=a._emscripten_bind_AttributeTransformData___destroy___0=function(){return(ab=a._emscripten_bind_AttributeTransformData___destroy___0=a.asm.n).apply(null,arguments)},Ba=a._emscripten_bind_GeometryAttribute_GeometryAttribute_0=function(){return(Ba=a._emscripten_bind_GeometryAttribute_GeometryAttribute_0=
|
|
42
|
+
a.asm.o).apply(null,arguments)},bb=a._emscripten_bind_GeometryAttribute___destroy___0=function(){return(bb=a._emscripten_bind_GeometryAttribute___destroy___0=a.asm.p).apply(null,arguments)},Ca=a._emscripten_bind_PointAttribute_PointAttribute_0=function(){return(Ca=a._emscripten_bind_PointAttribute_PointAttribute_0=a.asm.q).apply(null,arguments)},cb=a._emscripten_bind_PointAttribute_size_0=function(){return(cb=a._emscripten_bind_PointAttribute_size_0=a.asm.r).apply(null,arguments)},db=a._emscripten_bind_PointAttribute_GetAttributeTransformData_0=
|
|
43
|
+
function(){return(db=a._emscripten_bind_PointAttribute_GetAttributeTransformData_0=a.asm.s).apply(null,arguments)},eb=a._emscripten_bind_PointAttribute_attribute_type_0=function(){return(eb=a._emscripten_bind_PointAttribute_attribute_type_0=a.asm.t).apply(null,arguments)},fb=a._emscripten_bind_PointAttribute_data_type_0=function(){return(fb=a._emscripten_bind_PointAttribute_data_type_0=a.asm.u).apply(null,arguments)},gb=a._emscripten_bind_PointAttribute_num_components_0=function(){return(gb=a._emscripten_bind_PointAttribute_num_components_0=
|
|
44
|
+
a.asm.v).apply(null,arguments)},hb=a._emscripten_bind_PointAttribute_normalized_0=function(){return(hb=a._emscripten_bind_PointAttribute_normalized_0=a.asm.w).apply(null,arguments)},ib=a._emscripten_bind_PointAttribute_byte_stride_0=function(){return(ib=a._emscripten_bind_PointAttribute_byte_stride_0=a.asm.x).apply(null,arguments)},jb=a._emscripten_bind_PointAttribute_byte_offset_0=function(){return(jb=a._emscripten_bind_PointAttribute_byte_offset_0=a.asm.y).apply(null,arguments)},kb=a._emscripten_bind_PointAttribute_unique_id_0=
|
|
45
|
+
function(){return(kb=a._emscripten_bind_PointAttribute_unique_id_0=a.asm.z).apply(null,arguments)},lb=a._emscripten_bind_PointAttribute___destroy___0=function(){return(lb=a._emscripten_bind_PointAttribute___destroy___0=a.asm.A).apply(null,arguments)},Da=a._emscripten_bind_AttributeQuantizationTransform_AttributeQuantizationTransform_0=function(){return(Da=a._emscripten_bind_AttributeQuantizationTransform_AttributeQuantizationTransform_0=a.asm.B).apply(null,arguments)},mb=a._emscripten_bind_AttributeQuantizationTransform_InitFromAttribute_1=
|
|
46
|
+
function(){return(mb=a._emscripten_bind_AttributeQuantizationTransform_InitFromAttribute_1=a.asm.C).apply(null,arguments)},nb=a._emscripten_bind_AttributeQuantizationTransform_quantization_bits_0=function(){return(nb=a._emscripten_bind_AttributeQuantizationTransform_quantization_bits_0=a.asm.D).apply(null,arguments)},ob=a._emscripten_bind_AttributeQuantizationTransform_min_value_1=function(){return(ob=a._emscripten_bind_AttributeQuantizationTransform_min_value_1=a.asm.E).apply(null,arguments)},pb=
|
|
47
|
+
a._emscripten_bind_AttributeQuantizationTransform_range_0=function(){return(pb=a._emscripten_bind_AttributeQuantizationTransform_range_0=a.asm.F).apply(null,arguments)},qb=a._emscripten_bind_AttributeQuantizationTransform___destroy___0=function(){return(qb=a._emscripten_bind_AttributeQuantizationTransform___destroy___0=a.asm.G).apply(null,arguments)},Ea=a._emscripten_bind_AttributeOctahedronTransform_AttributeOctahedronTransform_0=function(){return(Ea=a._emscripten_bind_AttributeOctahedronTransform_AttributeOctahedronTransform_0=
|
|
48
|
+
a.asm.H).apply(null,arguments)},rb=a._emscripten_bind_AttributeOctahedronTransform_InitFromAttribute_1=function(){return(rb=a._emscripten_bind_AttributeOctahedronTransform_InitFromAttribute_1=a.asm.I).apply(null,arguments)},sb=a._emscripten_bind_AttributeOctahedronTransform_quantization_bits_0=function(){return(sb=a._emscripten_bind_AttributeOctahedronTransform_quantization_bits_0=a.asm.J).apply(null,arguments)},tb=a._emscripten_bind_AttributeOctahedronTransform___destroy___0=function(){return(tb=
|
|
49
|
+
a._emscripten_bind_AttributeOctahedronTransform___destroy___0=a.asm.K).apply(null,arguments)},Fa=a._emscripten_bind_PointCloud_PointCloud_0=function(){return(Fa=a._emscripten_bind_PointCloud_PointCloud_0=a.asm.L).apply(null,arguments)},ub=a._emscripten_bind_PointCloud_num_attributes_0=function(){return(ub=a._emscripten_bind_PointCloud_num_attributes_0=a.asm.M).apply(null,arguments)},vb=a._emscripten_bind_PointCloud_num_points_0=function(){return(vb=a._emscripten_bind_PointCloud_num_points_0=a.asm.N).apply(null,
|
|
50
|
+
arguments)},wb=a._emscripten_bind_PointCloud___destroy___0=function(){return(wb=a._emscripten_bind_PointCloud___destroy___0=a.asm.O).apply(null,arguments)},Ga=a._emscripten_bind_Mesh_Mesh_0=function(){return(Ga=a._emscripten_bind_Mesh_Mesh_0=a.asm.P).apply(null,arguments)},xb=a._emscripten_bind_Mesh_num_faces_0=function(){return(xb=a._emscripten_bind_Mesh_num_faces_0=a.asm.Q).apply(null,arguments)},yb=a._emscripten_bind_Mesh_num_attributes_0=function(){return(yb=a._emscripten_bind_Mesh_num_attributes_0=
|
|
51
|
+
a.asm.R).apply(null,arguments)},zb=a._emscripten_bind_Mesh_num_points_0=function(){return(zb=a._emscripten_bind_Mesh_num_points_0=a.asm.S).apply(null,arguments)},Ab=a._emscripten_bind_Mesh___destroy___0=function(){return(Ab=a._emscripten_bind_Mesh___destroy___0=a.asm.T).apply(null,arguments)},Ha=a._emscripten_bind_Metadata_Metadata_0=function(){return(Ha=a._emscripten_bind_Metadata_Metadata_0=a.asm.U).apply(null,arguments)},Bb=a._emscripten_bind_Metadata___destroy___0=function(){return(Bb=a._emscripten_bind_Metadata___destroy___0=
|
|
52
|
+
a.asm.V).apply(null,arguments)},Cb=a._emscripten_bind_Status_code_0=function(){return(Cb=a._emscripten_bind_Status_code_0=a.asm.W).apply(null,arguments)},Db=a._emscripten_bind_Status_ok_0=function(){return(Db=a._emscripten_bind_Status_ok_0=a.asm.X).apply(null,arguments)},Eb=a._emscripten_bind_Status_error_msg_0=function(){return(Eb=a._emscripten_bind_Status_error_msg_0=a.asm.Y).apply(null,arguments)},Fb=a._emscripten_bind_Status___destroy___0=function(){return(Fb=a._emscripten_bind_Status___destroy___0=
|
|
53
|
+
a.asm.Z).apply(null,arguments)},Ia=a._emscripten_bind_DracoFloat32Array_DracoFloat32Array_0=function(){return(Ia=a._emscripten_bind_DracoFloat32Array_DracoFloat32Array_0=a.asm._).apply(null,arguments)},Gb=a._emscripten_bind_DracoFloat32Array_GetValue_1=function(){return(Gb=a._emscripten_bind_DracoFloat32Array_GetValue_1=a.asm.$).apply(null,arguments)},Hb=a._emscripten_bind_DracoFloat32Array_size_0=function(){return(Hb=a._emscripten_bind_DracoFloat32Array_size_0=a.asm.aa).apply(null,arguments)},Ib=
|
|
54
|
+
a._emscripten_bind_DracoFloat32Array___destroy___0=function(){return(Ib=a._emscripten_bind_DracoFloat32Array___destroy___0=a.asm.ba).apply(null,arguments)},Ja=a._emscripten_bind_DracoInt8Array_DracoInt8Array_0=function(){return(Ja=a._emscripten_bind_DracoInt8Array_DracoInt8Array_0=a.asm.ca).apply(null,arguments)},Jb=a._emscripten_bind_DracoInt8Array_GetValue_1=function(){return(Jb=a._emscripten_bind_DracoInt8Array_GetValue_1=a.asm.da).apply(null,arguments)},Kb=a._emscripten_bind_DracoInt8Array_size_0=
|
|
55
|
+
function(){return(Kb=a._emscripten_bind_DracoInt8Array_size_0=a.asm.ea).apply(null,arguments)},Lb=a._emscripten_bind_DracoInt8Array___destroy___0=function(){return(Lb=a._emscripten_bind_DracoInt8Array___destroy___0=a.asm.fa).apply(null,arguments)},Ka=a._emscripten_bind_DracoUInt8Array_DracoUInt8Array_0=function(){return(Ka=a._emscripten_bind_DracoUInt8Array_DracoUInt8Array_0=a.asm.ga).apply(null,arguments)},Mb=a._emscripten_bind_DracoUInt8Array_GetValue_1=function(){return(Mb=a._emscripten_bind_DracoUInt8Array_GetValue_1=
|
|
56
|
+
a.asm.ha).apply(null,arguments)},Nb=a._emscripten_bind_DracoUInt8Array_size_0=function(){return(Nb=a._emscripten_bind_DracoUInt8Array_size_0=a.asm.ia).apply(null,arguments)},Ob=a._emscripten_bind_DracoUInt8Array___destroy___0=function(){return(Ob=a._emscripten_bind_DracoUInt8Array___destroy___0=a.asm.ja).apply(null,arguments)},La=a._emscripten_bind_DracoInt16Array_DracoInt16Array_0=function(){return(La=a._emscripten_bind_DracoInt16Array_DracoInt16Array_0=a.asm.ka).apply(null,arguments)},Pb=a._emscripten_bind_DracoInt16Array_GetValue_1=
|
|
57
|
+
function(){return(Pb=a._emscripten_bind_DracoInt16Array_GetValue_1=a.asm.la).apply(null,arguments)},Qb=a._emscripten_bind_DracoInt16Array_size_0=function(){return(Qb=a._emscripten_bind_DracoInt16Array_size_0=a.asm.ma).apply(null,arguments)},Rb=a._emscripten_bind_DracoInt16Array___destroy___0=function(){return(Rb=a._emscripten_bind_DracoInt16Array___destroy___0=a.asm.na).apply(null,arguments)},Ma=a._emscripten_bind_DracoUInt16Array_DracoUInt16Array_0=function(){return(Ma=a._emscripten_bind_DracoUInt16Array_DracoUInt16Array_0=
|
|
58
|
+
a.asm.oa).apply(null,arguments)},Sb=a._emscripten_bind_DracoUInt16Array_GetValue_1=function(){return(Sb=a._emscripten_bind_DracoUInt16Array_GetValue_1=a.asm.pa).apply(null,arguments)},Tb=a._emscripten_bind_DracoUInt16Array_size_0=function(){return(Tb=a._emscripten_bind_DracoUInt16Array_size_0=a.asm.qa).apply(null,arguments)},Ub=a._emscripten_bind_DracoUInt16Array___destroy___0=function(){return(Ub=a._emscripten_bind_DracoUInt16Array___destroy___0=a.asm.ra).apply(null,arguments)},Na=a._emscripten_bind_DracoInt32Array_DracoInt32Array_0=
|
|
59
|
+
function(){return(Na=a._emscripten_bind_DracoInt32Array_DracoInt32Array_0=a.asm.sa).apply(null,arguments)},Vb=a._emscripten_bind_DracoInt32Array_GetValue_1=function(){return(Vb=a._emscripten_bind_DracoInt32Array_GetValue_1=a.asm.ta).apply(null,arguments)},Wb=a._emscripten_bind_DracoInt32Array_size_0=function(){return(Wb=a._emscripten_bind_DracoInt32Array_size_0=a.asm.ua).apply(null,arguments)},Xb=a._emscripten_bind_DracoInt32Array___destroy___0=function(){return(Xb=a._emscripten_bind_DracoInt32Array___destroy___0=
|
|
60
|
+
a.asm.va).apply(null,arguments)},Oa=a._emscripten_bind_DracoUInt32Array_DracoUInt32Array_0=function(){return(Oa=a._emscripten_bind_DracoUInt32Array_DracoUInt32Array_0=a.asm.wa).apply(null,arguments)},Yb=a._emscripten_bind_DracoUInt32Array_GetValue_1=function(){return(Yb=a._emscripten_bind_DracoUInt32Array_GetValue_1=a.asm.xa).apply(null,arguments)},Zb=a._emscripten_bind_DracoUInt32Array_size_0=function(){return(Zb=a._emscripten_bind_DracoUInt32Array_size_0=a.asm.ya).apply(null,arguments)},$b=a._emscripten_bind_DracoUInt32Array___destroy___0=
|
|
61
|
+
function(){return($b=a._emscripten_bind_DracoUInt32Array___destroy___0=a.asm.za).apply(null,arguments)},Pa=a._emscripten_bind_MetadataQuerier_MetadataQuerier_0=function(){return(Pa=a._emscripten_bind_MetadataQuerier_MetadataQuerier_0=a.asm.Aa).apply(null,arguments)},ac=a._emscripten_bind_MetadataQuerier_HasEntry_2=function(){return(ac=a._emscripten_bind_MetadataQuerier_HasEntry_2=a.asm.Ba).apply(null,arguments)},bc=a._emscripten_bind_MetadataQuerier_GetIntEntry_2=function(){return(bc=a._emscripten_bind_MetadataQuerier_GetIntEntry_2=
|
|
62
|
+
a.asm.Ca).apply(null,arguments)},cc=a._emscripten_bind_MetadataQuerier_GetIntEntryArray_3=function(){return(cc=a._emscripten_bind_MetadataQuerier_GetIntEntryArray_3=a.asm.Da).apply(null,arguments)},dc=a._emscripten_bind_MetadataQuerier_GetDoubleEntry_2=function(){return(dc=a._emscripten_bind_MetadataQuerier_GetDoubleEntry_2=a.asm.Ea).apply(null,arguments)},ec=a._emscripten_bind_MetadataQuerier_GetStringEntry_2=function(){return(ec=a._emscripten_bind_MetadataQuerier_GetStringEntry_2=a.asm.Fa).apply(null,
|
|
63
|
+
arguments)},fc=a._emscripten_bind_MetadataQuerier_NumEntries_1=function(){return(fc=a._emscripten_bind_MetadataQuerier_NumEntries_1=a.asm.Ga).apply(null,arguments)},gc=a._emscripten_bind_MetadataQuerier_GetEntryName_2=function(){return(gc=a._emscripten_bind_MetadataQuerier_GetEntryName_2=a.asm.Ha).apply(null,arguments)},hc=a._emscripten_bind_MetadataQuerier___destroy___0=function(){return(hc=a._emscripten_bind_MetadataQuerier___destroy___0=a.asm.Ia).apply(null,arguments)},Qa=a._emscripten_bind_Decoder_Decoder_0=
|
|
64
|
+
function(){return(Qa=a._emscripten_bind_Decoder_Decoder_0=a.asm.Ja).apply(null,arguments)},ic=a._emscripten_bind_Decoder_DecodeArrayToPointCloud_3=function(){return(ic=a._emscripten_bind_Decoder_DecodeArrayToPointCloud_3=a.asm.Ka).apply(null,arguments)},jc=a._emscripten_bind_Decoder_DecodeArrayToMesh_3=function(){return(jc=a._emscripten_bind_Decoder_DecodeArrayToMesh_3=a.asm.La).apply(null,arguments)},kc=a._emscripten_bind_Decoder_GetAttributeId_2=function(){return(kc=a._emscripten_bind_Decoder_GetAttributeId_2=
|
|
65
|
+
a.asm.Ma).apply(null,arguments)},lc=a._emscripten_bind_Decoder_GetAttributeIdByName_2=function(){return(lc=a._emscripten_bind_Decoder_GetAttributeIdByName_2=a.asm.Na).apply(null,arguments)},mc=a._emscripten_bind_Decoder_GetAttributeIdByMetadataEntry_3=function(){return(mc=a._emscripten_bind_Decoder_GetAttributeIdByMetadataEntry_3=a.asm.Oa).apply(null,arguments)},nc=a._emscripten_bind_Decoder_GetAttribute_2=function(){return(nc=a._emscripten_bind_Decoder_GetAttribute_2=a.asm.Pa).apply(null,arguments)},
|
|
66
|
+
oc=a._emscripten_bind_Decoder_GetAttributeByUniqueId_2=function(){return(oc=a._emscripten_bind_Decoder_GetAttributeByUniqueId_2=a.asm.Qa).apply(null,arguments)},pc=a._emscripten_bind_Decoder_GetMetadata_1=function(){return(pc=a._emscripten_bind_Decoder_GetMetadata_1=a.asm.Ra).apply(null,arguments)},qc=a._emscripten_bind_Decoder_GetAttributeMetadata_2=function(){return(qc=a._emscripten_bind_Decoder_GetAttributeMetadata_2=a.asm.Sa).apply(null,arguments)},rc=a._emscripten_bind_Decoder_GetFaceFromMesh_3=
|
|
67
|
+
function(){return(rc=a._emscripten_bind_Decoder_GetFaceFromMesh_3=a.asm.Ta).apply(null,arguments)},sc=a._emscripten_bind_Decoder_GetTriangleStripsFromMesh_2=function(){return(sc=a._emscripten_bind_Decoder_GetTriangleStripsFromMesh_2=a.asm.Ua).apply(null,arguments)},tc=a._emscripten_bind_Decoder_GetTrianglesUInt16Array_3=function(){return(tc=a._emscripten_bind_Decoder_GetTrianglesUInt16Array_3=a.asm.Va).apply(null,arguments)},uc=a._emscripten_bind_Decoder_GetTrianglesUInt32Array_3=function(){return(uc=
|
|
68
|
+
a._emscripten_bind_Decoder_GetTrianglesUInt32Array_3=a.asm.Wa).apply(null,arguments)},vc=a._emscripten_bind_Decoder_GetAttributeFloat_3=function(){return(vc=a._emscripten_bind_Decoder_GetAttributeFloat_3=a.asm.Xa).apply(null,arguments)},wc=a._emscripten_bind_Decoder_GetAttributeFloatForAllPoints_3=function(){return(wc=a._emscripten_bind_Decoder_GetAttributeFloatForAllPoints_3=a.asm.Ya).apply(null,arguments)},xc=a._emscripten_bind_Decoder_GetAttributeIntForAllPoints_3=function(){return(xc=a._emscripten_bind_Decoder_GetAttributeIntForAllPoints_3=
|
|
69
|
+
a.asm.Za).apply(null,arguments)},yc=a._emscripten_bind_Decoder_GetAttributeInt8ForAllPoints_3=function(){return(yc=a._emscripten_bind_Decoder_GetAttributeInt8ForAllPoints_3=a.asm._a).apply(null,arguments)},zc=a._emscripten_bind_Decoder_GetAttributeUInt8ForAllPoints_3=function(){return(zc=a._emscripten_bind_Decoder_GetAttributeUInt8ForAllPoints_3=a.asm.$a).apply(null,arguments)},Ac=a._emscripten_bind_Decoder_GetAttributeInt16ForAllPoints_3=function(){return(Ac=a._emscripten_bind_Decoder_GetAttributeInt16ForAllPoints_3=
|
|
70
|
+
a.asm.ab).apply(null,arguments)},Bc=a._emscripten_bind_Decoder_GetAttributeUInt16ForAllPoints_3=function(){return(Bc=a._emscripten_bind_Decoder_GetAttributeUInt16ForAllPoints_3=a.asm.bb).apply(null,arguments)},Cc=a._emscripten_bind_Decoder_GetAttributeInt32ForAllPoints_3=function(){return(Cc=a._emscripten_bind_Decoder_GetAttributeInt32ForAllPoints_3=a.asm.cb).apply(null,arguments)},Dc=a._emscripten_bind_Decoder_GetAttributeUInt32ForAllPoints_3=function(){return(Dc=a._emscripten_bind_Decoder_GetAttributeUInt32ForAllPoints_3=
|
|
71
|
+
a.asm.db).apply(null,arguments)},Ec=a._emscripten_bind_Decoder_GetAttributeDataArrayForAllPoints_5=function(){return(Ec=a._emscripten_bind_Decoder_GetAttributeDataArrayForAllPoints_5=a.asm.eb).apply(null,arguments)},Fc=a._emscripten_bind_Decoder_SkipAttributeTransform_1=function(){return(Fc=a._emscripten_bind_Decoder_SkipAttributeTransform_1=a.asm.fb).apply(null,arguments)},Gc=a._emscripten_bind_Decoder_GetEncodedGeometryType_Deprecated_1=function(){return(Gc=a._emscripten_bind_Decoder_GetEncodedGeometryType_Deprecated_1=
|
|
72
|
+
a.asm.gb).apply(null,arguments)},Hc=a._emscripten_bind_Decoder_DecodeBufferToPointCloud_2=function(){return(Hc=a._emscripten_bind_Decoder_DecodeBufferToPointCloud_2=a.asm.hb).apply(null,arguments)},Ic=a._emscripten_bind_Decoder_DecodeBufferToMesh_2=function(){return(Ic=a._emscripten_bind_Decoder_DecodeBufferToMesh_2=a.asm.ib).apply(null,arguments)},Jc=a._emscripten_bind_Decoder___destroy___0=function(){return(Jc=a._emscripten_bind_Decoder___destroy___0=a.asm.jb).apply(null,arguments)},Kc=a._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_INVALID_TRANSFORM=
|
|
73
|
+
function(){return(Kc=a._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_INVALID_TRANSFORM=a.asm.kb).apply(null,arguments)},Lc=a._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_NO_TRANSFORM=function(){return(Lc=a._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_NO_TRANSFORM=a.asm.lb).apply(null,arguments)},Mc=a._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_QUANTIZATION_TRANSFORM=function(){return(Mc=a._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_QUANTIZATION_TRANSFORM=
|
|
74
|
+
a.asm.mb).apply(null,arguments)},Nc=a._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_OCTAHEDRON_TRANSFORM=function(){return(Nc=a._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_OCTAHEDRON_TRANSFORM=a.asm.nb).apply(null,arguments)},Oc=a._emscripten_enum_draco_GeometryAttribute_Type_INVALID=function(){return(Oc=a._emscripten_enum_draco_GeometryAttribute_Type_INVALID=a.asm.ob).apply(null,arguments)},Pc=a._emscripten_enum_draco_GeometryAttribute_Type_POSITION=function(){return(Pc=a._emscripten_enum_draco_GeometryAttribute_Type_POSITION=
|
|
75
|
+
a.asm.pb).apply(null,arguments)},Qc=a._emscripten_enum_draco_GeometryAttribute_Type_NORMAL=function(){return(Qc=a._emscripten_enum_draco_GeometryAttribute_Type_NORMAL=a.asm.qb).apply(null,arguments)},Rc=a._emscripten_enum_draco_GeometryAttribute_Type_COLOR=function(){return(Rc=a._emscripten_enum_draco_GeometryAttribute_Type_COLOR=a.asm.rb).apply(null,arguments)},Sc=a._emscripten_enum_draco_GeometryAttribute_Type_TEX_COORD=function(){return(Sc=a._emscripten_enum_draco_GeometryAttribute_Type_TEX_COORD=
|
|
76
|
+
a.asm.sb).apply(null,arguments)},Tc=a._emscripten_enum_draco_GeometryAttribute_Type_GENERIC=function(){return(Tc=a._emscripten_enum_draco_GeometryAttribute_Type_GENERIC=a.asm.tb).apply(null,arguments)},Uc=a._emscripten_enum_draco_EncodedGeometryType_INVALID_GEOMETRY_TYPE=function(){return(Uc=a._emscripten_enum_draco_EncodedGeometryType_INVALID_GEOMETRY_TYPE=a.asm.ub).apply(null,arguments)},Vc=a._emscripten_enum_draco_EncodedGeometryType_POINT_CLOUD=function(){return(Vc=a._emscripten_enum_draco_EncodedGeometryType_POINT_CLOUD=
|
|
77
|
+
a.asm.vb).apply(null,arguments)},Wc=a._emscripten_enum_draco_EncodedGeometryType_TRIANGULAR_MESH=function(){return(Wc=a._emscripten_enum_draco_EncodedGeometryType_TRIANGULAR_MESH=a.asm.wb).apply(null,arguments)},Xc=a._emscripten_enum_draco_DataType_DT_INVALID=function(){return(Xc=a._emscripten_enum_draco_DataType_DT_INVALID=a.asm.xb).apply(null,arguments)},Yc=a._emscripten_enum_draco_DataType_DT_INT8=function(){return(Yc=a._emscripten_enum_draco_DataType_DT_INT8=a.asm.yb).apply(null,arguments)},Zc=
|
|
78
|
+
a._emscripten_enum_draco_DataType_DT_UINT8=function(){return(Zc=a._emscripten_enum_draco_DataType_DT_UINT8=a.asm.zb).apply(null,arguments)},$c=a._emscripten_enum_draco_DataType_DT_INT16=function(){return($c=a._emscripten_enum_draco_DataType_DT_INT16=a.asm.Ab).apply(null,arguments)},ad=a._emscripten_enum_draco_DataType_DT_UINT16=function(){return(ad=a._emscripten_enum_draco_DataType_DT_UINT16=a.asm.Bb).apply(null,arguments)},bd=a._emscripten_enum_draco_DataType_DT_INT32=function(){return(bd=a._emscripten_enum_draco_DataType_DT_INT32=
|
|
79
|
+
a.asm.Cb).apply(null,arguments)},cd=a._emscripten_enum_draco_DataType_DT_UINT32=function(){return(cd=a._emscripten_enum_draco_DataType_DT_UINT32=a.asm.Db).apply(null,arguments)},dd=a._emscripten_enum_draco_DataType_DT_INT64=function(){return(dd=a._emscripten_enum_draco_DataType_DT_INT64=a.asm.Eb).apply(null,arguments)},ed=a._emscripten_enum_draco_DataType_DT_UINT64=function(){return(ed=a._emscripten_enum_draco_DataType_DT_UINT64=a.asm.Fb).apply(null,arguments)},fd=a._emscripten_enum_draco_DataType_DT_FLOAT32=
|
|
80
|
+
function(){return(fd=a._emscripten_enum_draco_DataType_DT_FLOAT32=a.asm.Gb).apply(null,arguments)},gd=a._emscripten_enum_draco_DataType_DT_FLOAT64=function(){return(gd=a._emscripten_enum_draco_DataType_DT_FLOAT64=a.asm.Hb).apply(null,arguments)},hd=a._emscripten_enum_draco_DataType_DT_BOOL=function(){return(hd=a._emscripten_enum_draco_DataType_DT_BOOL=a.asm.Ib).apply(null,arguments)},id=a._emscripten_enum_draco_DataType_DT_TYPES_COUNT=function(){return(id=a._emscripten_enum_draco_DataType_DT_TYPES_COUNT=
|
|
81
|
+
a.asm.Jb).apply(null,arguments)},jd=a._emscripten_enum_draco_StatusCode_OK=function(){return(jd=a._emscripten_enum_draco_StatusCode_OK=a.asm.Kb).apply(null,arguments)},kd=a._emscripten_enum_draco_StatusCode_DRACO_ERROR=function(){return(kd=a._emscripten_enum_draco_StatusCode_DRACO_ERROR=a.asm.Lb).apply(null,arguments)},ld=a._emscripten_enum_draco_StatusCode_IO_ERROR=function(){return(ld=a._emscripten_enum_draco_StatusCode_IO_ERROR=a.asm.Mb).apply(null,arguments)},md=a._emscripten_enum_draco_StatusCode_INVALID_PARAMETER=
|
|
82
|
+
function(){return(md=a._emscripten_enum_draco_StatusCode_INVALID_PARAMETER=a.asm.Nb).apply(null,arguments)},nd=a._emscripten_enum_draco_StatusCode_UNSUPPORTED_VERSION=function(){return(nd=a._emscripten_enum_draco_StatusCode_UNSUPPORTED_VERSION=a.asm.Ob).apply(null,arguments)},od=a._emscripten_enum_draco_StatusCode_UNKNOWN_VERSION=function(){return(od=a._emscripten_enum_draco_StatusCode_UNKNOWN_VERSION=a.asm.Pb).apply(null,arguments)};a._malloc=function(){return(a._malloc=a.asm.Qb).apply(null,arguments)};
|
|
83
|
+
a._free=function(){return(a._free=a.asm.Rb).apply(null,arguments)};var ua=function(){return(ua=a.asm.Sb).apply(null,arguments)};a.___start_em_js=11660;a.___stop_em_js=11758;var la;ha=function b(){la||F();la||(ha=b)};if(a.preInit)for("function"==typeof a.preInit&&(a.preInit=[a.preInit]);0<a.preInit.length;)a.preInit.pop()();F();v.prototype=Object.create(v.prototype);v.prototype.constructor=v;v.prototype.__class__=v;v.__cache__={};a.WrapperObject=v;a.getCache=w;a.wrapPointer=B;a.castObject=function(b,
|
|
84
|
+
c){return B(b.ptr,c)};a.NULL=B(0);a.destroy=function(b){if(!b.__destroy__)throw"Error: Cannot destroy object. (Did you create it yourself?)";b.__destroy__();delete w(b.__class__)[b.ptr]};a.compare=function(b,c){return b.ptr===c.ptr};a.getPointer=function(b){return b.ptr};a.getClass=function(b){return b.__class__};var r={buffer:0,size:0,pos:0,temps:[],needed:0,prepare:function(){if(r.needed){for(var b=0;b<r.temps.length;b++)a._free(r.temps[b]);r.temps.length=0;a._free(r.buffer);r.buffer=0;r.size+=
|
|
85
|
+
r.needed;r.needed=0}r.buffer||(r.size+=128,r.buffer=a._malloc(r.size),r.buffer||y(void 0));r.pos=0},alloc:function(b,c){r.buffer||y(void 0);b=b.length*c.BYTES_PER_ELEMENT;b=b+7&-8;r.pos+b>=r.size?(0<b||y(void 0),r.needed+=b,c=a._malloc(b),r.temps.push(c)):(c=r.buffer+r.pos,r.pos+=b);return c},copy:function(b,c,d){d>>>=0;switch(c.BYTES_PER_ELEMENT){case 2:d>>>=1;break;case 4:d>>>=2;break;case 8:d>>>=3}for(var g=0;g<b.length;g++)c[d+g]=b[g]}};X.prototype=Object.create(v.prototype);X.prototype.constructor=
|
|
86
|
+
X;X.prototype.__class__=X;X.__cache__={};a.VoidPtr=X;X.prototype.__destroy__=X.prototype.__destroy__=function(){Xa(this.ptr)};S.prototype=Object.create(v.prototype);S.prototype.constructor=S;S.prototype.__class__=S;S.__cache__={};a.DecoderBuffer=S;S.prototype.Init=S.prototype.Init=function(b,c){var d=this.ptr;r.prepare();"object"==typeof b&&(b=Z(b));c&&"object"===typeof c&&(c=c.ptr);Ya(d,b,c)};S.prototype.__destroy__=S.prototype.__destroy__=function(){Za(this.ptr)};Q.prototype=Object.create(v.prototype);
|
|
87
|
+
Q.prototype.constructor=Q;Q.prototype.__class__=Q;Q.__cache__={};a.AttributeTransformData=Q;Q.prototype.transform_type=Q.prototype.transform_type=function(){return $a(this.ptr)};Q.prototype.__destroy__=Q.prototype.__destroy__=function(){ab(this.ptr)};V.prototype=Object.create(v.prototype);V.prototype.constructor=V;V.prototype.__class__=V;V.__cache__={};a.GeometryAttribute=V;V.prototype.__destroy__=V.prototype.__destroy__=function(){bb(this.ptr)};x.prototype=Object.create(v.prototype);x.prototype.constructor=
|
|
88
|
+
x;x.prototype.__class__=x;x.__cache__={};a.PointAttribute=x;x.prototype.size=x.prototype.size=function(){return cb(this.ptr)};x.prototype.GetAttributeTransformData=x.prototype.GetAttributeTransformData=function(){return B(db(this.ptr),Q)};x.prototype.attribute_type=x.prototype.attribute_type=function(){return eb(this.ptr)};x.prototype.data_type=x.prototype.data_type=function(){return fb(this.ptr)};x.prototype.num_components=x.prototype.num_components=function(){return gb(this.ptr)};x.prototype.normalized=
|
|
89
|
+
x.prototype.normalized=function(){return!!hb(this.ptr)};x.prototype.byte_stride=x.prototype.byte_stride=function(){return ib(this.ptr)};x.prototype.byte_offset=x.prototype.byte_offset=function(){return jb(this.ptr)};x.prototype.unique_id=x.prototype.unique_id=function(){return kb(this.ptr)};x.prototype.__destroy__=x.prototype.__destroy__=function(){lb(this.ptr)};D.prototype=Object.create(v.prototype);D.prototype.constructor=D;D.prototype.__class__=D;D.__cache__={};a.AttributeQuantizationTransform=
|
|
90
|
+
D;D.prototype.InitFromAttribute=D.prototype.InitFromAttribute=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);return!!mb(c,b)};D.prototype.quantization_bits=D.prototype.quantization_bits=function(){return nb(this.ptr)};D.prototype.min_value=D.prototype.min_value=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);return ob(c,b)};D.prototype.range=D.prototype.range=function(){return pb(this.ptr)};D.prototype.__destroy__=D.prototype.__destroy__=function(){qb(this.ptr)};G.prototype=
|
|
91
|
+
Object.create(v.prototype);G.prototype.constructor=G;G.prototype.__class__=G;G.__cache__={};a.AttributeOctahedronTransform=G;G.prototype.InitFromAttribute=G.prototype.InitFromAttribute=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);return!!rb(c,b)};G.prototype.quantization_bits=G.prototype.quantization_bits=function(){return sb(this.ptr)};G.prototype.__destroy__=G.prototype.__destroy__=function(){tb(this.ptr)};H.prototype=Object.create(v.prototype);H.prototype.constructor=H;H.prototype.__class__=
|
|
92
|
+
H;H.__cache__={};a.PointCloud=H;H.prototype.num_attributes=H.prototype.num_attributes=function(){return ub(this.ptr)};H.prototype.num_points=H.prototype.num_points=function(){return vb(this.ptr)};H.prototype.__destroy__=H.prototype.__destroy__=function(){wb(this.ptr)};E.prototype=Object.create(v.prototype);E.prototype.constructor=E;E.prototype.__class__=E;E.__cache__={};a.Mesh=E;E.prototype.num_faces=E.prototype.num_faces=function(){return xb(this.ptr)};E.prototype.num_attributes=E.prototype.num_attributes=
|
|
93
|
+
function(){return yb(this.ptr)};E.prototype.num_points=E.prototype.num_points=function(){return zb(this.ptr)};E.prototype.__destroy__=E.prototype.__destroy__=function(){Ab(this.ptr)};T.prototype=Object.create(v.prototype);T.prototype.constructor=T;T.prototype.__class__=T;T.__cache__={};a.Metadata=T;T.prototype.__destroy__=T.prototype.__destroy__=function(){Bb(this.ptr)};C.prototype=Object.create(v.prototype);C.prototype.constructor=C;C.prototype.__class__=C;C.__cache__={};a.Status=C;C.prototype.code=
|
|
94
|
+
C.prototype.code=function(){return Cb(this.ptr)};C.prototype.ok=C.prototype.ok=function(){return!!Db(this.ptr)};C.prototype.error_msg=C.prototype.error_msg=function(){return p(Eb(this.ptr))};C.prototype.__destroy__=C.prototype.__destroy__=function(){Fb(this.ptr)};I.prototype=Object.create(v.prototype);I.prototype.constructor=I;I.prototype.__class__=I;I.__cache__={};a.DracoFloat32Array=I;I.prototype.GetValue=I.prototype.GetValue=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);return Gb(c,
|
|
95
|
+
b)};I.prototype.size=I.prototype.size=function(){return Hb(this.ptr)};I.prototype.__destroy__=I.prototype.__destroy__=function(){Ib(this.ptr)};J.prototype=Object.create(v.prototype);J.prototype.constructor=J;J.prototype.__class__=J;J.__cache__={};a.DracoInt8Array=J;J.prototype.GetValue=J.prototype.GetValue=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);return Jb(c,b)};J.prototype.size=J.prototype.size=function(){return Kb(this.ptr)};J.prototype.__destroy__=J.prototype.__destroy__=function(){Lb(this.ptr)};
|
|
96
|
+
K.prototype=Object.create(v.prototype);K.prototype.constructor=K;K.prototype.__class__=K;K.__cache__={};a.DracoUInt8Array=K;K.prototype.GetValue=K.prototype.GetValue=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);return Mb(c,b)};K.prototype.size=K.prototype.size=function(){return Nb(this.ptr)};K.prototype.__destroy__=K.prototype.__destroy__=function(){Ob(this.ptr)};L.prototype=Object.create(v.prototype);L.prototype.constructor=L;L.prototype.__class__=L;L.__cache__={};a.DracoInt16Array=
|
|
97
|
+
L;L.prototype.GetValue=L.prototype.GetValue=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);return Pb(c,b)};L.prototype.size=L.prototype.size=function(){return Qb(this.ptr)};L.prototype.__destroy__=L.prototype.__destroy__=function(){Rb(this.ptr)};M.prototype=Object.create(v.prototype);M.prototype.constructor=M;M.prototype.__class__=M;M.__cache__={};a.DracoUInt16Array=M;M.prototype.GetValue=M.prototype.GetValue=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);return Sb(c,b)};
|
|
98
|
+
M.prototype.size=M.prototype.size=function(){return Tb(this.ptr)};M.prototype.__destroy__=M.prototype.__destroy__=function(){Ub(this.ptr)};N.prototype=Object.create(v.prototype);N.prototype.constructor=N;N.prototype.__class__=N;N.__cache__={};a.DracoInt32Array=N;N.prototype.GetValue=N.prototype.GetValue=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);return Vb(c,b)};N.prototype.size=N.prototype.size=function(){return Wb(this.ptr)};N.prototype.__destroy__=N.prototype.__destroy__=function(){Xb(this.ptr)};
|
|
99
|
+
O.prototype=Object.create(v.prototype);O.prototype.constructor=O;O.prototype.__class__=O;O.__cache__={};a.DracoUInt32Array=O;O.prototype.GetValue=O.prototype.GetValue=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);return Yb(c,b)};O.prototype.size=O.prototype.size=function(){return Zb(this.ptr)};O.prototype.__destroy__=O.prototype.__destroy__=function(){$b(this.ptr)};z.prototype=Object.create(v.prototype);z.prototype.constructor=z;z.prototype.__class__=z;z.__cache__={};a.MetadataQuerier=
|
|
100
|
+
z;z.prototype.HasEntry=z.prototype.HasEntry=function(b,c){var d=this.ptr;r.prepare();b&&"object"===typeof b&&(b=b.ptr);c=c&&"object"===typeof c?c.ptr:R(c);return!!ac(d,b,c)};z.prototype.GetIntEntry=z.prototype.GetIntEntry=function(b,c){var d=this.ptr;r.prepare();b&&"object"===typeof b&&(b=b.ptr);c=c&&"object"===typeof c?c.ptr:R(c);return bc(d,b,c)};z.prototype.GetIntEntryArray=z.prototype.GetIntEntryArray=function(b,c,d){var g=this.ptr;r.prepare();b&&"object"===typeof b&&(b=b.ptr);c=c&&"object"===
|
|
101
|
+
typeof c?c.ptr:R(c);d&&"object"===typeof d&&(d=d.ptr);cc(g,b,c,d)};z.prototype.GetDoubleEntry=z.prototype.GetDoubleEntry=function(b,c){var d=this.ptr;r.prepare();b&&"object"===typeof b&&(b=b.ptr);c=c&&"object"===typeof c?c.ptr:R(c);return dc(d,b,c)};z.prototype.GetStringEntry=z.prototype.GetStringEntry=function(b,c){var d=this.ptr;r.prepare();b&&"object"===typeof b&&(b=b.ptr);c=c&&"object"===typeof c?c.ptr:R(c);return p(ec(d,b,c))};z.prototype.NumEntries=z.prototype.NumEntries=function(b){var c=this.ptr;
|
|
102
|
+
b&&"object"===typeof b&&(b=b.ptr);return fc(c,b)};z.prototype.GetEntryName=z.prototype.GetEntryName=function(b,c){var d=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);return p(gc(d,b,c))};z.prototype.__destroy__=z.prototype.__destroy__=function(){hc(this.ptr)};m.prototype=Object.create(v.prototype);m.prototype.constructor=m;m.prototype.__class__=m;m.__cache__={};a.Decoder=m;m.prototype.DecodeArrayToPointCloud=m.prototype.DecodeArrayToPointCloud=function(b,c,d){var g=
|
|
103
|
+
this.ptr;r.prepare();"object"==typeof b&&(b=Z(b));c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);return B(ic(g,b,c,d),C)};m.prototype.DecodeArrayToMesh=m.prototype.DecodeArrayToMesh=function(b,c,d){var g=this.ptr;r.prepare();"object"==typeof b&&(b=Z(b));c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);return B(jc(g,b,c,d),C)};m.prototype.GetAttributeId=m.prototype.GetAttributeId=function(b,c){var d=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&
|
|
104
|
+
(c=c.ptr);return kc(d,b,c)};m.prototype.GetAttributeIdByName=m.prototype.GetAttributeIdByName=function(b,c){var d=this.ptr;r.prepare();b&&"object"===typeof b&&(b=b.ptr);c=c&&"object"===typeof c?c.ptr:R(c);return lc(d,b,c)};m.prototype.GetAttributeIdByMetadataEntry=m.prototype.GetAttributeIdByMetadataEntry=function(b,c,d){var g=this.ptr;r.prepare();b&&"object"===typeof b&&(b=b.ptr);c=c&&"object"===typeof c?c.ptr:R(c);d=d&&"object"===typeof d?d.ptr:R(d);return mc(g,b,c,d)};m.prototype.GetAttribute=
|
|
105
|
+
m.prototype.GetAttribute=function(b,c){var d=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);return B(nc(d,b,c),x)};m.prototype.GetAttributeByUniqueId=m.prototype.GetAttributeByUniqueId=function(b,c){var d=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);return B(oc(d,b,c),x)};m.prototype.GetMetadata=m.prototype.GetMetadata=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);return B(pc(c,b),T)};m.prototype.GetAttributeMetadata=m.prototype.GetAttributeMetadata=
|
|
106
|
+
function(b,c){var d=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);return B(qc(d,b,c),T)};m.prototype.GetFaceFromMesh=m.prototype.GetFaceFromMesh=function(b,c,d){var g=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);return!!rc(g,b,c,d)};m.prototype.GetTriangleStripsFromMesh=m.prototype.GetTriangleStripsFromMesh=function(b,c){var d=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);
|
|
107
|
+
return sc(d,b,c)};m.prototype.GetTrianglesUInt16Array=m.prototype.GetTrianglesUInt16Array=function(b,c,d){var g=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);return!!tc(g,b,c,d)};m.prototype.GetTrianglesUInt32Array=m.prototype.GetTrianglesUInt32Array=function(b,c,d){var g=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);return!!uc(g,b,c,d)};m.prototype.GetAttributeFloat=m.prototype.GetAttributeFloat=
|
|
108
|
+
function(b,c,d){var g=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);return!!vc(g,b,c,d)};m.prototype.GetAttributeFloatForAllPoints=m.prototype.GetAttributeFloatForAllPoints=function(b,c,d){var g=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);return!!wc(g,b,c,d)};m.prototype.GetAttributeIntForAllPoints=m.prototype.GetAttributeIntForAllPoints=function(b,c,d){var g=this.ptr;
|
|
109
|
+
b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);return!!xc(g,b,c,d)};m.prototype.GetAttributeInt8ForAllPoints=m.prototype.GetAttributeInt8ForAllPoints=function(b,c,d){var g=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);return!!yc(g,b,c,d)};m.prototype.GetAttributeUInt8ForAllPoints=m.prototype.GetAttributeUInt8ForAllPoints=function(b,c,d){var g=this.ptr;b&&"object"===typeof b&&(b=
|
|
110
|
+
b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);return!!zc(g,b,c,d)};m.prototype.GetAttributeInt16ForAllPoints=m.prototype.GetAttributeInt16ForAllPoints=function(b,c,d){var g=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);return!!Ac(g,b,c,d)};m.prototype.GetAttributeUInt16ForAllPoints=m.prototype.GetAttributeUInt16ForAllPoints=function(b,c,d){var g=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&
|
|
111
|
+
(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);return!!Bc(g,b,c,d)};m.prototype.GetAttributeInt32ForAllPoints=m.prototype.GetAttributeInt32ForAllPoints=function(b,c,d){var g=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);return!!Cc(g,b,c,d)};m.prototype.GetAttributeUInt32ForAllPoints=m.prototype.GetAttributeUInt32ForAllPoints=function(b,c,d){var g=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===
|
|
112
|
+
typeof d&&(d=d.ptr);return!!Dc(g,b,c,d)};m.prototype.GetAttributeDataArrayForAllPoints=m.prototype.GetAttributeDataArrayForAllPoints=function(b,c,d,g,t){var aa=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);g&&"object"===typeof g&&(g=g.ptr);t&&"object"===typeof t&&(t=t.ptr);return!!Ec(aa,b,c,d,g,t)};m.prototype.SkipAttributeTransform=m.prototype.SkipAttributeTransform=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);Fc(c,
|
|
113
|
+
b)};m.prototype.GetEncodedGeometryType_Deprecated=m.prototype.GetEncodedGeometryType_Deprecated=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);return Gc(c,b)};m.prototype.DecodeBufferToPointCloud=m.prototype.DecodeBufferToPointCloud=function(b,c){var d=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);return B(Hc(d,b,c),C)};m.prototype.DecodeBufferToMesh=m.prototype.DecodeBufferToMesh=function(b,c){var d=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===
|
|
114
|
+
typeof c&&(c=c.ptr);return B(Ic(d,b,c),C)};m.prototype.__destroy__=m.prototype.__destroy__=function(){Jc(this.ptr)};(function(){function b(){a.ATTRIBUTE_INVALID_TRANSFORM=Kc();a.ATTRIBUTE_NO_TRANSFORM=Lc();a.ATTRIBUTE_QUANTIZATION_TRANSFORM=Mc();a.ATTRIBUTE_OCTAHEDRON_TRANSFORM=Nc();a.INVALID=Oc();a.POSITION=Pc();a.NORMAL=Qc();a.COLOR=Rc();a.TEX_COORD=Sc();a.GENERIC=Tc();a.INVALID_GEOMETRY_TYPE=Uc();a.POINT_CLOUD=Vc();a.TRIANGULAR_MESH=Wc();a.DT_INVALID=Xc();a.DT_INT8=Yc();a.DT_UINT8=Zc();a.DT_INT16=
|
|
115
|
+
$c();a.DT_UINT16=ad();a.DT_INT32=bd();a.DT_UINT32=cd();a.DT_INT64=dd();a.DT_UINT64=ed();a.DT_FLOAT32=fd();a.DT_FLOAT64=gd();a.DT_BOOL=hd();a.DT_TYPES_COUNT=id();a.OK=jd();a.DRACO_ERROR=kd();a.IO_ERROR=ld();a.INVALID_PARAMETER=md();a.UNSUPPORTED_VERSION=nd();a.UNKNOWN_VERSION=od()}va?b():oa.unshift(b)})();if("function"===typeof a.onModuleParsed)a.onModuleParsed();a.Decoder.prototype.GetEncodedGeometryType=function(b){if(b.__class__&&b.__class__===a.DecoderBuffer)return a.Decoder.prototype.GetEncodedGeometryType_Deprecated(b);
|
|
116
|
+
if(8>b.byteLength)return a.INVALID_GEOMETRY_TYPE;switch(b[7]){case 0:return a.POINT_CLOUD;case 1:return a.TRIANGULAR_MESH;default:return a.INVALID_GEOMETRY_TYPE}};return n.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);
|