Newer
Older
smartwell_front_dz / XLJCYJ / mars3d-cesium / Workers / chunk-5GT67S66.js
wangxitong on 8 Jul 2024 57 KB 达州变更
/**
 * @license
 * Cesium - https://github.com/CesiumGS/cesium
 * Version 1.109.1
 *
 * Copyright 2011-2022 Cesium Contributors
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 * Columbus View (Pat. Pend.)
 *
 * Portions licensed separately.
 * See https://github.com/CesiumGS/cesium/blob/main/LICENSE.md for full licensing details.
 */
import{a as ht,c as In}from"./chunk-BWKFPVR5.js";var gn=In(((t,e)=>{var r=r||{};r.scope={},r.owns=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.ASSUME_ES5=!1,r.ASSUME_NO_NATIVE_MAP=!1,r.ASSUME_NO_NATIVE_SET=!1,r.SIMPLE_FROUND_POLYFILL=!1,r.ISOLATE_POLYFILLS=!1,r.FORCE_POLYFILL_PROMISE=!1,r.FORCE_POLYFILL_PROMISE_WHEN_NO_UNHANDLED_REJECTION=!1,r.defineProperty=r.ASSUME_ES5||"function"==typeof Object.defineProperties?Object.defineProperty:function(t,e,r){return t==Array.prototype||t==Object.prototype||(t[e]=r.value),t},r.getGlobal=function(t){t=["object"==typeof globalThis&&globalThis,t,"object"==typeof window&&window,"object"==typeof self&&self,"object"==typeof global&&global];for(var e=0;e<t.length;++e){var r=t[e];if(r&&r.Math==Math)return r}throw Error("Cannot find global object")},r.global=r.getGlobal(t),r.IS_SYMBOL_NATIVE="function"==typeof Symbol&&"symbol"==typeof Symbol("x"),r.TRUST_ES6_POLYFILLS=!r.ISOLATE_POLYFILLS||r.IS_SYMBOL_NATIVE,r.polyfills={},r.propertyToPolyfillSymbol={},r.POLYFILL_PREFIX="$jscp$",r.polyfill=function(t,e,n,o){e&&(r.ISOLATE_POLYFILLS?r.polyfillIsolated(t,e,n,o):r.polyfillUnisolated(t,e,n,o))},r.polyfillUnisolated=function(t,e,n,o){for(n=r.global,t=t.split("."),o=0;o<t.length-1;o++){var _=t[o];if(!(_ in n))return;n=n[_]}t=t[t.length-1],o=n[t],e=e(o),e!=o&&null!=e&&r.defineProperty(n,t,{configurable:!0,writable:!0,value:e})},r.polyfillIsolated=function(t,e,n,o){var _=t.split(".");t=1===_.length,o=_[0],o=!t&&o in r.polyfills?r.polyfills:r.global;for(var i=0;i<_.length-1;i++){var p=_[i];if(!(p in o))return;o=o[p]}_=_[_.length-1],n=r.IS_SYMBOL_NATIVE&&"es6"===n?o[_]:null,e=e(n),null!=e&&(t?r.defineProperty(r.polyfills,_,{configurable:!0,writable:!0,value:e}):e!==n&&(void 0===r.propertyToPolyfillSymbol[_]&&(n=1e9*Math.random()>>>0,r.propertyToPolyfillSymbol[_]=r.IS_SYMBOL_NATIVE?r.global.Symbol(_):r.POLYFILL_PREFIX+n+"$"+_),r.defineProperty(o,r.propertyToPolyfillSymbol[_],{configurable:!0,writable:!0,value:e})))},r.assign=r.TRUST_ES6_POLYFILLS&&"function"==typeof Object.assign?Object.assign:function(t,e){for(var n=1;n<arguments.length;n++){var o=arguments[n];if(o)for(var _ in o)r.owns(o,_)&&(t[_]=o[_])}return t},r.polyfill("Object.assign",(function(t){return t||r.assign}),"es6","es3"),r.arrayIteratorImpl=function(t){var e=0;return function(){return e<t.length?{done:!1,value:t[e++]}:{done:!0}}},r.arrayIterator=function(t){return{next:r.arrayIteratorImpl(t)}},r.makeIterator=function(t){var e=typeof Symbol<"u"&&Symbol.iterator&&t[Symbol.iterator];return e?e.call(t):r.arrayIterator(t)},r.polyfill("Promise",(function(t){function e(){this.batch_=null}function n(t){return t instanceof _?t:new _((function(e,r){e(t)}))}if(t&&(!(r.FORCE_POLYFILL_PROMISE||r.FORCE_POLYFILL_PROMISE_WHEN_NO_UNHANDLED_REJECTION&&typeof r.global.PromiseRejectionEvent>"u")||!r.global.Promise||-1===r.global.Promise.toString().indexOf("[native code]")))return t;e.prototype.asyncExecute=function(t){if(null==this.batch_){this.batch_=[];var e=this;this.asyncExecuteFunction((function(){e.executeBatch_()}))}this.batch_.push(t)};var o=r.global.setTimeout;e.prototype.asyncExecuteFunction=function(t){o(t,0)},e.prototype.executeBatch_=function(){for(;this.batch_&&this.batch_.length;){var t=this.batch_;this.batch_=[];for(var e=0;e<t.length;++e){var r=t[e];t[e]=null;try{r()}catch(n){this.asyncThrow_(n)}}}this.batch_=null},e.prototype.asyncThrow_=function(t){this.asyncExecuteFunction((function(){throw t}))};var _=function(t){this.state_=0,this.result_=void 0,this.onSettledCallbacks_=[],this.isRejectionHandled_=!1;var e=this.createResolveAndReject_();try{t(e.resolve,e.reject)}catch(r){e.reject(r)}};_.prototype.createResolveAndReject_=function(){function t(t){return function(n){r||(r=!0,t.call(e,n))}}var e=this,r=!1;return{resolve:t(this.resolveTo_),reject:t(this.reject_)}},_.prototype.resolveTo_=function(t){if(t===this)this.reject_(new TypeError("A Promise cannot resolve to itself"));else if(t instanceof _)this.settleSameAsPromise_(t);else{t:switch(typeof t){case"object":var e=null!=t;break t;case"function":e=!0;break t;default:e=!1}e?this.resolveToNonPromiseObj_(t):this.fulfill_(t)}},_.prototype.resolveToNonPromiseObj_=function(t){var e=void 0;try{e=t.then}catch(r){return void this.reject_(r)}"function"==typeof e?this.settleSameAsThenable_(e,t):this.fulfill_(t)},_.prototype.reject_=function(t){this.settle_(2,t)},_.prototype.fulfill_=function(t){this.settle_(1,t)},_.prototype.settle_=function(t,e){if(0!=this.state_)throw Error("Cannot settle("+t+", "+e+"): Promise already settled in state"+this.state_);this.state_=t,this.result_=e,2===this.state_&&this.scheduleUnhandledRejectionCheck_(),this.executeOnSettledCallbacks_()},_.prototype.scheduleUnhandledRejectionCheck_=function(){var t=this;o((function(){if(t.notifyUnhandledRejection_()){var e=r.global.console;typeof e<"u"&&e.error(t.result_)}}),1)},_.prototype.notifyUnhandledRejection_=function(){if(this.isRejectionHandled_)return!1;var t=r.global.CustomEvent,e=r.global.Event,n=r.global.dispatchEvent;return typeof n>"u"||("function"==typeof t?t=new t("unhandledrejection",{cancelable:!0}):"function"==typeof e?t=new e("unhandledrejection",{cancelable:!0}):(t=r.global.document.createEvent("CustomEvent"),t.initCustomEvent("unhandledrejection",!1,!0,t)),t.promise=this,t.reason=this.result_,n(t))},_.prototype.executeOnSettledCallbacks_=function(){if(null!=this.onSettledCallbacks_){for(var t=0;t<this.onSettledCallbacks_.length;++t)i.asyncExecute(this.onSettledCallbacks_[t]);this.onSettledCallbacks_=null}};var i=new e;return _.prototype.settleSameAsPromise_=function(t){var e=this.createResolveAndReject_();t.callWhenSettled_(e.resolve,e.reject)},_.prototype.settleSameAsThenable_=function(t,e){var r=this.createResolveAndReject_();try{t.call(e,r.resolve,r.reject)}catch(n){r.reject(n)}},_.prototype.then=function(t,e){function r(t,e){return"function"==typeof t?function(e){try{n(t(e))}catch(r){o(r)}}:e}var n,o,i=new _((function(t,e){n=t,o=e}));return this.callWhenSettled_(r(t,n),r(e,o)),i},_.prototype.catch=function(t){return this.then(void 0,t)},_.prototype.callWhenSettled_=function(t,e){function r(){switch(n.state_){case 1:t(n.result_);break;case 2:e(n.result_);break;default:throw Error("Unexpected state: "+n.state_)}}var n=this;null==this.onSettledCallbacks_?i.asyncExecute(r):this.onSettledCallbacks_.push(r),this.isRejectionHandled_=!0},_.resolve=n,_.reject=function(t){return new _((function(e,r){r(t)}))},_.race=function(t){return new _((function(e,o){for(var _=r.makeIterator(t),i=_.next();!i.done;i=_.next())n(i.value).callWhenSettled_(e,o)}))},_.all=function(t){var e=r.makeIterator(t),o=e.next();return o.done?n([]):new _((function(t,r){function _(e){return function(r){i[e]=r,p--,0==p&&t(i)}}var i=[],p=0;do{i.push(void 0),p++,n(o.value).callWhenSettled_(_(i.length-1),r),o=e.next()}while(!o.done)}))},_}),"es6","es3"),r.checkStringArgs=function(t,e,r){if(null==t)throw new TypeError("The 'this' value for String.prototype."+r+" must not be null or undefined");if(e instanceof RegExp)throw new TypeError("First argument to String.prototype."+r+" must not be a regular expression");return t+""},r.polyfill("String.prototype.startsWith",(function(t){return t||function(t,e){var n=r.checkStringArgs(this,t,"startsWith");t+="";var o=n.length,_=t.length;e=Math.max(0,Math.min(0|e,n.length));for(var i=0;i<_&&e<o;)if(n[e++]!=t[i++])return!1;return i>=_}}),"es6","es3"),r.polyfill("Array.prototype.copyWithin",(function(t){function e(t){return t=Number(t),t===1/0||t===-1/0?t:0|t}return t||function(t,r,n){var o=this.length;if(t=e(t),r=e(r),n=void 0===n?o:e(n),t=0>t?Math.max(o+t,0):Math.min(t,o),r=0>r?Math.max(o+r,0):Math.min(r,o),n=0>n?Math.max(o+n,0):Math.min(n,o),t<r)for(;r<n;)r in this?this[t++]=this[r++]:(delete this[t++],r++);else for(n=Math.min(n,o+r-t),t+=n-r;n>r;)--n in this?this[--t]=this[n]:delete this[--t];return this}}),"es6","es3"),r.typedArrayCopyWithin=function(t){return t||Array.prototype.copyWithin},r.polyfill("Int8Array.prototype.copyWithin",r.typedArrayCopyWithin,"es6","es5"),r.polyfill("Uint8Array.prototype.copyWithin",r.typedArrayCopyWithin,"es6","es5"),r.polyfill("Uint8ClampedArray.prototype.copyWithin",r.typedArrayCopyWithin,"es6","es5"),r.polyfill("Int16Array.prototype.copyWithin",r.typedArrayCopyWithin,"es6","es5"),r.polyfill("Uint16Array.prototype.copyWithin",r.typedArrayCopyWithin,"es6","es5"),r.polyfill("Int32Array.prototype.copyWithin",r.typedArrayCopyWithin,"es6","es5"),r.polyfill("Uint32Array.prototype.copyWithin",r.typedArrayCopyWithin,"es6","es5"),r.polyfill("Float32Array.prototype.copyWithin",r.typedArrayCopyWithin,"es6","es5"),r.polyfill("Float64Array.prototype.copyWithin",r.typedArrayCopyWithin,"es6","es5");var n=function(){var t=typeof document<"u"&&document.currentScript?document.currentScript.src:void 0;return typeof __filename<"u"&&(t=t||__filename),function(e){function r(t){return V.locateFile?V.locateFile(t,K):K+t}function n(t,e,r){var n=e+r;for(r=e;t[r]&&!(r>=n);)++r;if(16<r-e&&t.subarray&&ut)return ut.decode(t.subarray(e,r));for(n="";e<r;){var o=t[e++];if(128&o){var _=63&t[e++];if(192==(224&o))n+=String.fromCharCode((31&o)<<6|_);else{var i=63&t[e++];o=224==(240&o)?(15&o)<<12|_<<6|i:(7&o)<<18|_<<12|i<<6|63&t[e++],65536>o?n+=String.fromCharCode(o):(o-=65536,n+=String.fromCharCode(55296|o>>10,56320|1023&o))}}else n+=String.fromCharCode(o)}return n}function o(t,e){return t?n(it,t,e):""}function _(t){ot=t,V.HEAP8=_t=new Int8Array(t),V.HEAP16=new Int16Array(t),V.HEAP32=pt=new Int32Array(t),V.HEAPU8=it=new Uint8Array(t),V.HEAPU16=new Uint16Array(t),V.HEAPU32=new Uint32Array(t),V.HEAPF32=new Float32Array(t),V.HEAPF64=new Float64Array(t)}function i(t){throw V.onAbort&&V.onAbort(t),t="Aborted("+t+")",rt(t),ct=!0,t=new WebAssembly.RuntimeError(t+". Build with -s ASSERTIONS=1 for more info."),z(t),t}function p(t){try{if(t==At&&tt)return new Uint8Array(tt);if(Z)return Z(t);throw"both async and sync fetching of the wasm failed"}catch(e){i(e)}}function a(){if(!tt&&(H||q)){if("function"==typeof fetch&&!At.startsWith("file://"))return fetch(At,{credentials:"same-origin"}).then((function(t){if(!t.ok)throw"failed to load wasm binary file at '"+At+"'";return t.arrayBuffer()})).catch((function(){return p(At)}));if($)return new Promise((function(t,e){$(At,(function(e){t(new Uint8Array(e))}),e)}))}return Promise.resolve().then((function(){return p(At)}))}function c(t){for(;0<t.length;){var e=t.shift();if("function"==typeof e)e(V);else{var r=e.func;"number"==typeof r?void 0===e.arg?u(r)():u(r)(e.arg):r(void 0===e.arg?null:e.arg)}}}function u(t){var e=Tt[t];return e||(t>=Tt.length&&(Tt.length=t+1),Tt[t]=e=at.get(t)),e}function s(t){this.excPtr=t,this.ptr=t-16,this.set_type=function(t){pt[this.ptr+4>>2]=t},this.get_type=function(){return pt[this.ptr+4>>2]},this.set_destructor=function(t){pt[this.ptr+8>>2]=t},this.get_destructor=function(){return pt[this.ptr+8>>2]},this.set_refcount=function(t){pt[this.ptr>>2]=t},this.set_caught=function(t){_t[this.ptr+12>>0]=t?1:0},this.get_caught=function(){return 0!=_t[this.ptr+12>>0]},this.set_rethrown=function(t){_t[this.ptr+13>>0]=t?1:0},this.get_rethrown=function(){return 0!=_t[this.ptr+13>>0]},this.init=function(t,e){this.set_type(t),this.set_destructor(e),this.set_refcount(0),this.set_caught(!1),this.set_rethrown(!1)},this.add_ref=function(){pt[this.ptr>>2]+=1},this.release_ref=function(){var t=pt[this.ptr>>2];return pt[this.ptr>>2]=t-1,1===t}}function y(t){function e(){if(!Et&&(Et=!0,V.calledRun=!0,!ct)){if(ft=!0,c(yt),w(V),V.onRuntimeInitialized&&V.onRuntimeInitialized(),V.postRun)for("function"==typeof V.postRun&&(V.postRun=[V.postRun]);V.postRun.length;)lt.unshift(V.postRun.shift());c(lt)}}if(!(0<dt)){if(V.preRun)for("function"==typeof V.preRun&&(V.preRun=[V.preRun]);V.preRun.length;)st.unshift(V.preRun.shift());c(st),0<dt||(V.setStatus?(V.setStatus("Running..."),setTimeout((function(){setTimeout((function(){V.setStatus("")}),1),e()}),1)):e())}}function l(){}function f(t){return(t||l).__cache__}function d(t,e){var r=f(e),n=r[t];return n||(n=Object.create((e||l).prototype),n.ptr=t,r[t]=n)}function m(t){if("string"==typeof t){for(var e=0,r=0;r<t.length;++r){var n=t.charCodeAt(r);55296<=n&&57343>=n&&(n=65536+((1023&n)<<10)|1023&t.charCodeAt(++r)),127>=n?++e:e=2047>=n?e+2:65535>=n?e+3:e+4}if(e=Array(e+1),r=0,n=e.length,0<n){n=r+n-1;for(var o=0;o<t.length;++o){var _=t.charCodeAt(o);if(55296<=_&&57343>=_){var i=t.charCodeAt(++o);_=65536+((1023&_)<<10)|1023&i}if(127>=_){if(r>=n)break;e[r++]=_}else{if(2047>=_){if(r+1>=n)break;e[r++]=192|_>>6}else{if(65535>=_){if(r+2>=n)break;e[r++]=224|_>>12}else{if(r+3>=n)break;e[r++]=240|_>>18,e[r++]=128|_>>12&63}e[r++]=128|_>>6&63}e[r++]=128|63&_}}e[r]=0}return t=pn.alloc(e,_t),pn.copy(e,_t,t),t}return t}function b(t){if("object"==typeof t){var e=pn.alloc(t,_t);return pn.copy(t,_t,e),e}return t}function h(){throw"cannot construct a VoidPtr, no constructor in IDL"}function A(){this.ptr=vt(),f(A)[this.ptr]=this}function T(){this.ptr=Pt(),f(T)[this.ptr]=this}function I(){this.ptr=gt(),f(I)[this.ptr]=this}function D(){this.ptr=Mt(),f(D)[this.ptr]=this}function E(){this.ptr=Qt(),f(E)[this.ptr]=this}function G(){this.ptr=Xt(),f(G)[this.ptr]=this}function v(){this.ptr=te(),f(v)[this.ptr]=this}function O(){this.ptr=oe(),f(O)[this.ptr]=this}function j(){this.ptr=ce(),f(j)[this.ptr]=this}function P(){throw"cannot construct a Status, no constructor in IDL"}function R(){this.ptr=de(),f(R)[this.ptr]=this}function S(){this.ptr=Ae(),f(S)[this.ptr]=this}function g(){this.ptr=Ee(),f(g)[this.ptr]=this}function N(){this.ptr=je(),f(N)[this.ptr]=this}function M(){this.ptr=ge(),f(M)[this.ptr]=this}function U(){this.ptr=Fe(),f(U)[this.ptr]=this}function F(){this.ptr=ze(),f(F)[this.ptr]=this}function C(){this.ptr=ke(),f(C)[this.ptr]=this}function L(){this.ptr=Ze(),f(L)[this.ptr]=this}e=e||{};var w,z,V=typeof e<"u"?e:{},B=Object.assign;V.ready=new Promise((function(t,e){w=t,z=e}));var W=!1,k=!1;V.onRuntimeInitialized=function(){W=!0,k&&"function"==typeof V.onModuleLoaded&&V.onModuleLoaded(V)},V.onModuleParsed=function(){k=!0,W&&"function"==typeof V.onModuleLoaded&&V.onModuleLoaded(V)},V.isVersionSupported=function(t){return"string"==typeof t&&(t=t.split("."),!(2>t.length||3<t.length)&&(1==t[0]&&0<=t[1]&&5>=t[1]||!(0!=t[0]||10<t[1])))};var Q,x,Y=B({},V),H="object"==typeof window,q="function"==typeof importScripts,K="";if("object"==typeof process&&"object"==typeof process.versions&&"string"==typeof process.versions.node){K=q?ht("path").dirname(K)+"/":__dirname+"/";var X=function(){x||(Q=ht("fs"),x=ht("path"))},J=function(t,e){return X(),t=x.normalize(t),Q.readFileSync(t,e?null:"utf8")},Z=function(t){return t=J(t,!0),t.buffer||(t=new Uint8Array(t)),t},$=function(t,e,r){X(),t=x.normalize(t),Q.readFile(t,(function(t,n){t?r(t):e(n.buffer)}))};1<process.argv.length&&process.argv[1].replace(/\\/g,"/"),process.argv.slice(2),V.inspect=function(){return"[Emscripten Module object]"}}else(H||q)&&(q?K=self.location.href:typeof document<"u"&&document.currentScript&&(K=document.currentScript.src),t&&(K=t),K=0!==K.indexOf("blob:")?K.substr(0,K.replace(/[?#].*/,"").lastIndexOf("/")+1):"",J=function(t){var e=new XMLHttpRequest;return e.open("GET",t,!1),e.send(null),e.responseText},q&&(Z=function(t){var e=new XMLHttpRequest;return e.open("GET",t,!1),e.responseType="arraybuffer",e.send(null),new Uint8Array(e.response)}),$=function(t,e,r){var n=new XMLHttpRequest;n.open("GET",t,!0),n.responseType="arraybuffer",n.onload=function(){200==n.status||0==n.status&&n.response?e(n.response):r()},n.onerror=r,n.send(null)});var tt,et=V.print||console.log.bind(console),rt=V.printErr||console.warn.bind(console);B(V,Y),Y=null,V.wasmBinary&&(tt=V.wasmBinary),"object"!=typeof WebAssembly&&i("no native wasm support detected");var nt,ot,_t,it,pt,at,ct=!1,ut=typeof TextDecoder<"u"?new TextDecoder("utf8"):void 0,st=[],yt=[],lt=[],ft=!1,dt=0,mt=null,bt=null;V.preloadedImages={},V.preloadedAudios={};var At="draco_decoder.wasm";At.startsWith("data:application/octet-stream;base64,")||(At=r(At));var Tt=[],It={mappings:{},buffers:[null,[],[]],printChar:function(t,e){var r=It.buffers[t];0===e||10===e?((1===t?et:rt)(n(r,0)),r.length=0):r.push(e)},varargs:void 0,get:function(){return It.varargs+=4,pt[It.varargs-4>>2]},getStr:function(t){return o(t)},get64:function(t,e){return t}},Dt={h:function(t){return _n(t+16)+16},g:function(t,e,r){throw new s(t).init(e,r),t},a:function(){i("")},f:function(t,e,r){it.copyWithin(t,e,e+r)},d:function(t){var e=it.length;if(t>>>=0,2147483648<t)return!1;for(var r=1;4>=r;r*=2){var n=e*(1+.2/r);n=Math.min(n,t+100663296);var o=Math,i=o.min;n=Math.max(t,n),0<n%65536&&(n+=65536-n%65536),o=i.call(o,2147483648,n);t:{try{nt.grow(o-ot.byteLength+65535>>>16),_(nt.buffer);var p=1;break t}catch{}p=void 0}if(p)return!0}return!1},e:function(t){return 0},c:function(t,e,r,n,o){},b:function(t,e,r,n){for(var o=0,_=0;_<r;_++){var i=pt[e>>2],p=pt[e+4>>2];e+=8;for(var a=0;a<p;a++)It.printChar(t,it[i+a]);o+=p}return pt[n>>2]=o,0}};(function(){function t(t,e){V.asm=t.exports,nt=V.asm.i,_(nt.buffer),at=V.asm.k,yt.unshift(V.asm.j),dt--,V.monitorRunDependencies&&V.monitorRunDependencies(dt),0==dt&&(null!==mt&&(clearInterval(mt),mt=null),bt&&(t=bt,bt=null,t()))}function e(e){t(e.instance)}function r(t){return a().then((function(t){return WebAssembly.instantiate(t,n)})).then((function(t){return t})).then(t,(function(t){rt("failed to asynchronously prepare wasm: "+t),i(t)}))}var n={a:Dt};if(dt++,V.monitorRunDependencies&&V.monitorRunDependencies(dt),V.instantiateWasm)try{return V.instantiateWasm(n,t)}catch(o){return rt("Module.instantiateWasm callback failed with error: "+o),!1}(function(){return tt||"function"!=typeof WebAssembly.instantiateStreaming||At.startsWith("data:application/octet-stream;base64,")||At.startsWith("file://")||"function"!=typeof fetch?r(e):fetch(At,{credentials:"same-origin"}).then((function(t){return WebAssembly.instantiateStreaming(t,n).then(e,(function(t){return rt("wasm streaming compile failed: "+t),rt("falling back to ArrayBuffer instantiation"),r(e)}))}))})().catch(z)})(),V.___wasm_call_ctors=function(){return(V.___wasm_call_ctors=V.asm.j).apply(null,arguments)};var Et,Gt=V._emscripten_bind_VoidPtr___destroy___0=function(){return(Gt=V._emscripten_bind_VoidPtr___destroy___0=V.asm.l).apply(null,arguments)},vt=V._emscripten_bind_DecoderBuffer_DecoderBuffer_0=function(){return(vt=V._emscripten_bind_DecoderBuffer_DecoderBuffer_0=V.asm.m).apply(null,arguments)},Ot=V._emscripten_bind_DecoderBuffer_Init_2=function(){return(Ot=V._emscripten_bind_DecoderBuffer_Init_2=V.asm.n).apply(null,arguments)},jt=V._emscripten_bind_DecoderBuffer___destroy___0=function(){return(jt=V._emscripten_bind_DecoderBuffer___destroy___0=V.asm.o).apply(null,arguments)},Pt=V._emscripten_bind_AttributeTransformData_AttributeTransformData_0=function(){return(Pt=V._emscripten_bind_AttributeTransformData_AttributeTransformData_0=V.asm.p).apply(null,arguments)},Rt=V._emscripten_bind_AttributeTransformData_transform_type_0=function(){return(Rt=V._emscripten_bind_AttributeTransformData_transform_type_0=V.asm.q).apply(null,arguments)},St=V._emscripten_bind_AttributeTransformData___destroy___0=function(){return(St=V._emscripten_bind_AttributeTransformData___destroy___0=V.asm.r).apply(null,arguments)},gt=V._emscripten_bind_GeometryAttribute_GeometryAttribute_0=function(){return(gt=V._emscripten_bind_GeometryAttribute_GeometryAttribute_0=V.asm.s).apply(null,arguments)},Nt=V._emscripten_bind_GeometryAttribute___destroy___0=function(){return(Nt=V._emscripten_bind_GeometryAttribute___destroy___0=V.asm.t).apply(null,arguments)},Mt=V._emscripten_bind_PointAttribute_PointAttribute_0=function(){return(Mt=V._emscripten_bind_PointAttribute_PointAttribute_0=V.asm.u).apply(null,arguments)},Ut=V._emscripten_bind_PointAttribute_size_0=function(){return(Ut=V._emscripten_bind_PointAttribute_size_0=V.asm.v).apply(null,arguments)},Ft=V._emscripten_bind_PointAttribute_GetAttributeTransformData_0=function(){return(Ft=V._emscripten_bind_PointAttribute_GetAttributeTransformData_0=V.asm.w).apply(null,arguments)},Ct=V._emscripten_bind_PointAttribute_attribute_type_0=function(){return(Ct=V._emscripten_bind_PointAttribute_attribute_type_0=V.asm.x).apply(null,arguments)},Lt=V._emscripten_bind_PointAttribute_data_type_0=function(){return(Lt=V._emscripten_bind_PointAttribute_data_type_0=V.asm.y).apply(null,arguments)},wt=V._emscripten_bind_PointAttribute_num_components_0=function(){return(wt=V._emscripten_bind_PointAttribute_num_components_0=V.asm.z).apply(null,arguments)},zt=V._emscripten_bind_PointAttribute_normalized_0=function(){return(zt=V._emscripten_bind_PointAttribute_normalized_0=V.asm.A).apply(null,arguments)},Vt=V._emscripten_bind_PointAttribute_byte_stride_0=function(){return(Vt=V._emscripten_bind_PointAttribute_byte_stride_0=V.asm.B).apply(null,arguments)},Bt=V._emscripten_bind_PointAttribute_byte_offset_0=function(){return(Bt=V._emscripten_bind_PointAttribute_byte_offset_0=V.asm.C).apply(null,arguments)},Wt=V._emscripten_bind_PointAttribute_unique_id_0=function(){return(Wt=V._emscripten_bind_PointAttribute_unique_id_0=V.asm.D).apply(null,arguments)},kt=V._emscripten_bind_PointAttribute___destroy___0=function(){return(kt=V._emscripten_bind_PointAttribute___destroy___0=V.asm.E).apply(null,arguments)},Qt=V._emscripten_bind_AttributeQuantizationTransform_AttributeQuantizationTransform_0=function(){return(Qt=V._emscripten_bind_AttributeQuantizationTransform_AttributeQuantizationTransform_0=V.asm.F).apply(null,arguments)},xt=V._emscripten_bind_AttributeQuantizationTransform_InitFromAttribute_1=function(){return(xt=V._emscripten_bind_AttributeQuantizationTransform_InitFromAttribute_1=V.asm.G).apply(null,arguments)},Yt=V._emscripten_bind_AttributeQuantizationTransform_quantization_bits_0=function(){return(Yt=V._emscripten_bind_AttributeQuantizationTransform_quantization_bits_0=V.asm.H).apply(null,arguments)},Ht=V._emscripten_bind_AttributeQuantizationTransform_min_value_1=function(){return(Ht=V._emscripten_bind_AttributeQuantizationTransform_min_value_1=V.asm.I).apply(null,arguments)},qt=V._emscripten_bind_AttributeQuantizationTransform_range_0=function(){return(qt=V._emscripten_bind_AttributeQuantizationTransform_range_0=V.asm.J).apply(null,arguments)},Kt=V._emscripten_bind_AttributeQuantizationTransform___destroy___0=function(){return(Kt=V._emscripten_bind_AttributeQuantizationTransform___destroy___0=V.asm.K).apply(null,arguments)},Xt=V._emscripten_bind_AttributeOctahedronTransform_AttributeOctahedronTransform_0=function(){return(Xt=V._emscripten_bind_AttributeOctahedronTransform_AttributeOctahedronTransform_0=V.asm.L).apply(null,arguments)},Jt=V._emscripten_bind_AttributeOctahedronTransform_InitFromAttribute_1=function(){return(Jt=V._emscripten_bind_AttributeOctahedronTransform_InitFromAttribute_1=V.asm.M).apply(null,arguments)},Zt=V._emscripten_bind_AttributeOctahedronTransform_quantization_bits_0=function(){return(Zt=V._emscripten_bind_AttributeOctahedronTransform_quantization_bits_0=V.asm.N).apply(null,arguments)},$t=V._emscripten_bind_AttributeOctahedronTransform___destroy___0=function(){return($t=V._emscripten_bind_AttributeOctahedronTransform___destroy___0=V.asm.O).apply(null,arguments)},te=V._emscripten_bind_PointCloud_PointCloud_0=function(){return(te=V._emscripten_bind_PointCloud_PointCloud_0=V.asm.P).apply(null,arguments)},ee=V._emscripten_bind_PointCloud_num_attributes_0=function(){return(ee=V._emscripten_bind_PointCloud_num_attributes_0=V.asm.Q).apply(null,arguments)},re=V._emscripten_bind_PointCloud_num_points_0=function(){return(re=V._emscripten_bind_PointCloud_num_points_0=V.asm.R).apply(null,arguments)},ne=V._emscripten_bind_PointCloud___destroy___0=function(){return(ne=V._emscripten_bind_PointCloud___destroy___0=V.asm.S).apply(null,arguments)},oe=V._emscripten_bind_Mesh_Mesh_0=function(){return(oe=V._emscripten_bind_Mesh_Mesh_0=V.asm.T).apply(null,arguments)},_e=V._emscripten_bind_Mesh_num_faces_0=function(){return(_e=V._emscripten_bind_Mesh_num_faces_0=V.asm.U).apply(null,arguments)},ie=V._emscripten_bind_Mesh_num_attributes_0=function(){return(ie=V._emscripten_bind_Mesh_num_attributes_0=V.asm.V).apply(null,arguments)},pe=V._emscripten_bind_Mesh_num_points_0=function(){return(pe=V._emscripten_bind_Mesh_num_points_0=V.asm.W).apply(null,arguments)},ae=V._emscripten_bind_Mesh___destroy___0=function(){return(ae=V._emscripten_bind_Mesh___destroy___0=V.asm.X).apply(null,arguments)},ce=V._emscripten_bind_Metadata_Metadata_0=function(){return(ce=V._emscripten_bind_Metadata_Metadata_0=V.asm.Y).apply(null,arguments)},ue=V._emscripten_bind_Metadata___destroy___0=function(){return(ue=V._emscripten_bind_Metadata___destroy___0=V.asm.Z).apply(null,arguments)},se=V._emscripten_bind_Status_code_0=function(){return(se=V._emscripten_bind_Status_code_0=V.asm._).apply(null,arguments)},ye=V._emscripten_bind_Status_ok_0=function(){return(ye=V._emscripten_bind_Status_ok_0=V.asm.$).apply(null,arguments)},le=V._emscripten_bind_Status_error_msg_0=function(){return(le=V._emscripten_bind_Status_error_msg_0=V.asm.aa).apply(null,arguments)},fe=V._emscripten_bind_Status___destroy___0=function(){return(fe=V._emscripten_bind_Status___destroy___0=V.asm.ba).apply(null,arguments)},de=V._emscripten_bind_DracoFloat32Array_DracoFloat32Array_0=function(){return(de=V._emscripten_bind_DracoFloat32Array_DracoFloat32Array_0=V.asm.ca).apply(null,arguments)},me=V._emscripten_bind_DracoFloat32Array_GetValue_1=function(){return(me=V._emscripten_bind_DracoFloat32Array_GetValue_1=V.asm.da).apply(null,arguments)},be=V._emscripten_bind_DracoFloat32Array_size_0=function(){return(be=V._emscripten_bind_DracoFloat32Array_size_0=V.asm.ea).apply(null,arguments)},he=V._emscripten_bind_DracoFloat32Array___destroy___0=function(){return(he=V._emscripten_bind_DracoFloat32Array___destroy___0=V.asm.fa).apply(null,arguments)},Ae=V._emscripten_bind_DracoInt8Array_DracoInt8Array_0=function(){return(Ae=V._emscripten_bind_DracoInt8Array_DracoInt8Array_0=V.asm.ga).apply(null,arguments)},Te=V._emscripten_bind_DracoInt8Array_GetValue_1=function(){return(Te=V._emscripten_bind_DracoInt8Array_GetValue_1=V.asm.ha).apply(null,arguments)},Ie=V._emscripten_bind_DracoInt8Array_size_0=function(){return(Ie=V._emscripten_bind_DracoInt8Array_size_0=V.asm.ia).apply(null,arguments)},De=V._emscripten_bind_DracoInt8Array___destroy___0=function(){return(De=V._emscripten_bind_DracoInt8Array___destroy___0=V.asm.ja).apply(null,arguments)},Ee=V._emscripten_bind_DracoUInt8Array_DracoUInt8Array_0=function(){return(Ee=V._emscripten_bind_DracoUInt8Array_DracoUInt8Array_0=V.asm.ka).apply(null,arguments)},Ge=V._emscripten_bind_DracoUInt8Array_GetValue_1=function(){return(Ge=V._emscripten_bind_DracoUInt8Array_GetValue_1=V.asm.la).apply(null,arguments)},ve=V._emscripten_bind_DracoUInt8Array_size_0=function(){return(ve=V._emscripten_bind_DracoUInt8Array_size_0=V.asm.ma).apply(null,arguments)},Oe=V._emscripten_bind_DracoUInt8Array___destroy___0=function(){return(Oe=V._emscripten_bind_DracoUInt8Array___destroy___0=V.asm.na).apply(null,arguments)},je=V._emscripten_bind_DracoInt16Array_DracoInt16Array_0=function(){return(je=V._emscripten_bind_DracoInt16Array_DracoInt16Array_0=V.asm.oa).apply(null,arguments)},Pe=V._emscripten_bind_DracoInt16Array_GetValue_1=function(){return(Pe=V._emscripten_bind_DracoInt16Array_GetValue_1=V.asm.pa).apply(null,arguments)},Re=V._emscripten_bind_DracoInt16Array_size_0=function(){return(Re=V._emscripten_bind_DracoInt16Array_size_0=V.asm.qa).apply(null,arguments)},Se=V._emscripten_bind_DracoInt16Array___destroy___0=function(){return(Se=V._emscripten_bind_DracoInt16Array___destroy___0=V.asm.ra).apply(null,arguments)},ge=V._emscripten_bind_DracoUInt16Array_DracoUInt16Array_0=function(){return(ge=V._emscripten_bind_DracoUInt16Array_DracoUInt16Array_0=V.asm.sa).apply(null,arguments)},Ne=V._emscripten_bind_DracoUInt16Array_GetValue_1=function(){return(Ne=V._emscripten_bind_DracoUInt16Array_GetValue_1=V.asm.ta).apply(null,arguments)},Me=V._emscripten_bind_DracoUInt16Array_size_0=function(){return(Me=V._emscripten_bind_DracoUInt16Array_size_0=V.asm.ua).apply(null,arguments)},Ue=V._emscripten_bind_DracoUInt16Array___destroy___0=function(){return(Ue=V._emscripten_bind_DracoUInt16Array___destroy___0=V.asm.va).apply(null,arguments)},Fe=V._emscripten_bind_DracoInt32Array_DracoInt32Array_0=function(){return(Fe=V._emscripten_bind_DracoInt32Array_DracoInt32Array_0=V.asm.wa).apply(null,arguments)},Ce=V._emscripten_bind_DracoInt32Array_GetValue_1=function(){return(Ce=V._emscripten_bind_DracoInt32Array_GetValue_1=V.asm.xa).apply(null,arguments)},Le=V._emscripten_bind_DracoInt32Array_size_0=function(){return(Le=V._emscripten_bind_DracoInt32Array_size_0=V.asm.ya).apply(null,arguments)},we=V._emscripten_bind_DracoInt32Array___destroy___0=function(){return(we=V._emscripten_bind_DracoInt32Array___destroy___0=V.asm.za).apply(null,arguments)},ze=V._emscripten_bind_DracoUInt32Array_DracoUInt32Array_0=function(){return(ze=V._emscripten_bind_DracoUInt32Array_DracoUInt32Array_0=V.asm.Aa).apply(null,arguments)},Ve=V._emscripten_bind_DracoUInt32Array_GetValue_1=function(){return(Ve=V._emscripten_bind_DracoUInt32Array_GetValue_1=V.asm.Ba).apply(null,arguments)},Be=V._emscripten_bind_DracoUInt32Array_size_0=function(){return(Be=V._emscripten_bind_DracoUInt32Array_size_0=V.asm.Ca).apply(null,arguments)},We=V._emscripten_bind_DracoUInt32Array___destroy___0=function(){return(We=V._emscripten_bind_DracoUInt32Array___destroy___0=V.asm.Da).apply(null,arguments)},ke=V._emscripten_bind_MetadataQuerier_MetadataQuerier_0=function(){return(ke=V._emscripten_bind_MetadataQuerier_MetadataQuerier_0=V.asm.Ea).apply(null,arguments)},Qe=V._emscripten_bind_MetadataQuerier_HasEntry_2=function(){return(Qe=V._emscripten_bind_MetadataQuerier_HasEntry_2=V.asm.Fa).apply(null,arguments)},xe=V._emscripten_bind_MetadataQuerier_GetIntEntry_2=function(){return(xe=V._emscripten_bind_MetadataQuerier_GetIntEntry_2=V.asm.Ga).apply(null,arguments)},Ye=V._emscripten_bind_MetadataQuerier_GetIntEntryArray_3=function(){return(Ye=V._emscripten_bind_MetadataQuerier_GetIntEntryArray_3=V.asm.Ha).apply(null,arguments)},He=V._emscripten_bind_MetadataQuerier_GetDoubleEntry_2=function(){return(He=V._emscripten_bind_MetadataQuerier_GetDoubleEntry_2=V.asm.Ia).apply(null,arguments)},qe=V._emscripten_bind_MetadataQuerier_GetStringEntry_2=function(){return(qe=V._emscripten_bind_MetadataQuerier_GetStringEntry_2=V.asm.Ja).apply(null,arguments)},Ke=V._emscripten_bind_MetadataQuerier_NumEntries_1=function(){return(Ke=V._emscripten_bind_MetadataQuerier_NumEntries_1=V.asm.Ka).apply(null,arguments)},Xe=V._emscripten_bind_MetadataQuerier_GetEntryName_2=function(){return(Xe=V._emscripten_bind_MetadataQuerier_GetEntryName_2=V.asm.La).apply(null,arguments)},Je=V._emscripten_bind_MetadataQuerier___destroy___0=function(){return(Je=V._emscripten_bind_MetadataQuerier___destroy___0=V.asm.Ma).apply(null,arguments)},Ze=V._emscripten_bind_Decoder_Decoder_0=function(){return(Ze=V._emscripten_bind_Decoder_Decoder_0=V.asm.Na).apply(null,arguments)},$e=V._emscripten_bind_Decoder_DecodeArrayToPointCloud_3=function(){return($e=V._emscripten_bind_Decoder_DecodeArrayToPointCloud_3=V.asm.Oa).apply(null,arguments)},tr=V._emscripten_bind_Decoder_DecodeArrayToMesh_3=function(){return(tr=V._emscripten_bind_Decoder_DecodeArrayToMesh_3=V.asm.Pa).apply(null,arguments)},er=V._emscripten_bind_Decoder_GetAttributeId_2=function(){return(er=V._emscripten_bind_Decoder_GetAttributeId_2=V.asm.Qa).apply(null,arguments)},rr=V._emscripten_bind_Decoder_GetAttributeIdByName_2=function(){return(rr=V._emscripten_bind_Decoder_GetAttributeIdByName_2=V.asm.Ra).apply(null,arguments)},nr=V._emscripten_bind_Decoder_GetAttributeIdByMetadataEntry_3=function(){return(nr=V._emscripten_bind_Decoder_GetAttributeIdByMetadataEntry_3=V.asm.Sa).apply(null,arguments)},or=V._emscripten_bind_Decoder_GetAttribute_2=function(){return(or=V._emscripten_bind_Decoder_GetAttribute_2=V.asm.Ta).apply(null,arguments)},_r=V._emscripten_bind_Decoder_GetAttributeByUniqueId_2=function(){return(_r=V._emscripten_bind_Decoder_GetAttributeByUniqueId_2=V.asm.Ua).apply(null,arguments)},ir=V._emscripten_bind_Decoder_GetMetadata_1=function(){return(ir=V._emscripten_bind_Decoder_GetMetadata_1=V.asm.Va).apply(null,arguments)},pr=V._emscripten_bind_Decoder_GetAttributeMetadata_2=function(){return(pr=V._emscripten_bind_Decoder_GetAttributeMetadata_2=V.asm.Wa).apply(null,arguments)},ar=V._emscripten_bind_Decoder_GetFaceFromMesh_3=function(){return(ar=V._emscripten_bind_Decoder_GetFaceFromMesh_3=V.asm.Xa).apply(null,arguments)},cr=V._emscripten_bind_Decoder_GetTriangleStripsFromMesh_2=function(){return(cr=V._emscripten_bind_Decoder_GetTriangleStripsFromMesh_2=V.asm.Ya).apply(null,arguments)},ur=V._emscripten_bind_Decoder_GetTrianglesUInt16Array_3=function(){return(ur=V._emscripten_bind_Decoder_GetTrianglesUInt16Array_3=V.asm.Za).apply(null,arguments)},sr=V._emscripten_bind_Decoder_GetTrianglesUInt32Array_3=function(){return(sr=V._emscripten_bind_Decoder_GetTrianglesUInt32Array_3=V.asm._a).apply(null,arguments)},yr=V._emscripten_bind_Decoder_GetAttributeFloat_3=function(){return(yr=V._emscripten_bind_Decoder_GetAttributeFloat_3=V.asm.$a).apply(null,arguments)},lr=V._emscripten_bind_Decoder_GetAttributeFloatForAllPoints_3=function(){return(lr=V._emscripten_bind_Decoder_GetAttributeFloatForAllPoints_3=V.asm.ab).apply(null,arguments)},fr=V._emscripten_bind_Decoder_GetAttributeIntForAllPoints_3=function(){return(fr=V._emscripten_bind_Decoder_GetAttributeIntForAllPoints_3=V.asm.bb).apply(null,arguments)},dr=V._emscripten_bind_Decoder_GetAttributeInt8ForAllPoints_3=function(){return(dr=V._emscripten_bind_Decoder_GetAttributeInt8ForAllPoints_3=V.asm.cb).apply(null,arguments)},mr=V._emscripten_bind_Decoder_GetAttributeUInt8ForAllPoints_3=function(){return(mr=V._emscripten_bind_Decoder_GetAttributeUInt8ForAllPoints_3=V.asm.db).apply(null,arguments)},br=V._emscripten_bind_Decoder_GetAttributeInt16ForAllPoints_3=function(){return(br=V._emscripten_bind_Decoder_GetAttributeInt16ForAllPoints_3=V.asm.eb).apply(null,arguments)},hr=V._emscripten_bind_Decoder_GetAttributeUInt16ForAllPoints_3=function(){return(hr=V._emscripten_bind_Decoder_GetAttributeUInt16ForAllPoints_3=V.asm.fb).apply(null,arguments)},Ar=V._emscripten_bind_Decoder_GetAttributeInt32ForAllPoints_3=function(){return(Ar=V._emscripten_bind_Decoder_GetAttributeInt32ForAllPoints_3=V.asm.gb).apply(null,arguments)},Tr=V._emscripten_bind_Decoder_GetAttributeUInt32ForAllPoints_3=function(){return(Tr=V._emscripten_bind_Decoder_GetAttributeUInt32ForAllPoints_3=V.asm.hb).apply(null,arguments)},Ir=V._emscripten_bind_Decoder_GetAttributeDataArrayForAllPoints_5=function(){return(Ir=V._emscripten_bind_Decoder_GetAttributeDataArrayForAllPoints_5=V.asm.ib).apply(null,arguments)},Dr=V._emscripten_bind_Decoder_SkipAttributeTransform_1=function(){return(Dr=V._emscripten_bind_Decoder_SkipAttributeTransform_1=V.asm.jb).apply(null,arguments)},Er=V._emscripten_bind_Decoder_GetEncodedGeometryType_Deprecated_1=function(){return(Er=V._emscripten_bind_Decoder_GetEncodedGeometryType_Deprecated_1=V.asm.kb).apply(null,arguments)},Gr=V._emscripten_bind_Decoder_DecodeBufferToPointCloud_2=function(){return(Gr=V._emscripten_bind_Decoder_DecodeBufferToPointCloud_2=V.asm.lb).apply(null,arguments)},vr=V._emscripten_bind_Decoder_DecodeBufferToMesh_2=function(){return(vr=V._emscripten_bind_Decoder_DecodeBufferToMesh_2=V.asm.mb).apply(null,arguments)},Or=V._emscripten_bind_Decoder___destroy___0=function(){return(Or=V._emscripten_bind_Decoder___destroy___0=V.asm.nb).apply(null,arguments)},jr=V._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_INVALID_TRANSFORM=function(){return(jr=V._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_INVALID_TRANSFORM=V.asm.ob).apply(null,arguments)},Pr=V._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_NO_TRANSFORM=function(){return(Pr=V._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_NO_TRANSFORM=V.asm.pb).apply(null,arguments)},Rr=V._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_QUANTIZATION_TRANSFORM=function(){return(Rr=V._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_QUANTIZATION_TRANSFORM=V.asm.qb).apply(null,arguments)},Sr=V._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_OCTAHEDRON_TRANSFORM=function(){return(Sr=V._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_OCTAHEDRON_TRANSFORM=V.asm.rb).apply(null,arguments)},gr=V._emscripten_enum_draco_GeometryAttribute_Type_INVALID=function(){return(gr=V._emscripten_enum_draco_GeometryAttribute_Type_INVALID=V.asm.sb).apply(null,arguments)},Nr=V._emscripten_enum_draco_GeometryAttribute_Type_POSITION=function(){return(Nr=V._emscripten_enum_draco_GeometryAttribute_Type_POSITION=V.asm.tb).apply(null,arguments)},Mr=V._emscripten_enum_draco_GeometryAttribute_Type_NORMAL=function(){return(Mr=V._emscripten_enum_draco_GeometryAttribute_Type_NORMAL=V.asm.ub).apply(null,arguments)},Ur=V._emscripten_enum_draco_GeometryAttribute_Type_COLOR=function(){return(Ur=V._emscripten_enum_draco_GeometryAttribute_Type_COLOR=V.asm.vb).apply(null,arguments)},Fr=V._emscripten_enum_draco_GeometryAttribute_Type_TEX_COORD=function(){return(Fr=V._emscripten_enum_draco_GeometryAttribute_Type_TEX_COORD=V.asm.wb).apply(null,arguments)},Cr=V._emscripten_enum_draco_GeometryAttribute_Type_GENERIC=function(){return(Cr=V._emscripten_enum_draco_GeometryAttribute_Type_GENERIC=V.asm.xb).apply(null,arguments)},Lr=V._emscripten_enum_draco_EncodedGeometryType_INVALID_GEOMETRY_TYPE=function(){return(Lr=V._emscripten_enum_draco_EncodedGeometryType_INVALID_GEOMETRY_TYPE=V.asm.yb).apply(null,arguments)},wr=V._emscripten_enum_draco_EncodedGeometryType_POINT_CLOUD=function(){return(wr=V._emscripten_enum_draco_EncodedGeometryType_POINT_CLOUD=V.asm.zb).apply(null,arguments)},zr=V._emscripten_enum_draco_EncodedGeometryType_TRIANGULAR_MESH=function(){return(zr=V._emscripten_enum_draco_EncodedGeometryType_TRIANGULAR_MESH=V.asm.Ab).apply(null,arguments)},Vr=V._emscripten_enum_draco_DataType_DT_INVALID=function(){return(Vr=V._emscripten_enum_draco_DataType_DT_INVALID=V.asm.Bb).apply(null,arguments)},Br=V._emscripten_enum_draco_DataType_DT_INT8=function(){return(Br=V._emscripten_enum_draco_DataType_DT_INT8=V.asm.Cb).apply(null,arguments)},Wr=V._emscripten_enum_draco_DataType_DT_UINT8=function(){return(Wr=V._emscripten_enum_draco_DataType_DT_UINT8=V.asm.Db).apply(null,arguments)},kr=V._emscripten_enum_draco_DataType_DT_INT16=function(){return(kr=V._emscripten_enum_draco_DataType_DT_INT16=V.asm.Eb).apply(null,arguments)},Qr=V._emscripten_enum_draco_DataType_DT_UINT16=function(){return(Qr=V._emscripten_enum_draco_DataType_DT_UINT16=V.asm.Fb).apply(null,arguments)},xr=V._emscripten_enum_draco_DataType_DT_INT32=function(){return(xr=V._emscripten_enum_draco_DataType_DT_INT32=V.asm.Gb).apply(null,arguments)},Yr=V._emscripten_enum_draco_DataType_DT_UINT32=function(){return(Yr=V._emscripten_enum_draco_DataType_DT_UINT32=V.asm.Hb).apply(null,arguments)},Hr=V._emscripten_enum_draco_DataType_DT_INT64=function(){return(Hr=V._emscripten_enum_draco_DataType_DT_INT64=V.asm.Ib).apply(null,arguments)},qr=V._emscripten_enum_draco_DataType_DT_UINT64=function(){return(qr=V._emscripten_enum_draco_DataType_DT_UINT64=V.asm.Jb).apply(null,arguments)},Kr=V._emscripten_enum_draco_DataType_DT_FLOAT32=function(){return(Kr=V._emscripten_enum_draco_DataType_DT_FLOAT32=V.asm.Kb).apply(null,arguments)},Xr=V._emscripten_enum_draco_DataType_DT_FLOAT64=function(){return(Xr=V._emscripten_enum_draco_DataType_DT_FLOAT64=V.asm.Lb).apply(null,arguments)},Jr=V._emscripten_enum_draco_DataType_DT_BOOL=function(){return(Jr=V._emscripten_enum_draco_DataType_DT_BOOL=V.asm.Mb).apply(null,arguments)},Zr=V._emscripten_enum_draco_DataType_DT_TYPES_COUNT=function(){return(Zr=V._emscripten_enum_draco_DataType_DT_TYPES_COUNT=V.asm.Nb).apply(null,arguments)},$r=V._emscripten_enum_draco_StatusCode_OK=function(){return($r=V._emscripten_enum_draco_StatusCode_OK=V.asm.Ob).apply(null,arguments)},tn=V._emscripten_enum_draco_StatusCode_DRACO_ERROR=function(){return(tn=V._emscripten_enum_draco_StatusCode_DRACO_ERROR=V.asm.Pb).apply(null,arguments)},en=V._emscripten_enum_draco_StatusCode_IO_ERROR=function(){return(en=V._emscripten_enum_draco_StatusCode_IO_ERROR=V.asm.Qb).apply(null,arguments)},rn=V._emscripten_enum_draco_StatusCode_INVALID_PARAMETER=function(){return(rn=V._emscripten_enum_draco_StatusCode_INVALID_PARAMETER=V.asm.Rb).apply(null,arguments)},nn=V._emscripten_enum_draco_StatusCode_UNSUPPORTED_VERSION=function(){return(nn=V._emscripten_enum_draco_StatusCode_UNSUPPORTED_VERSION=V.asm.Sb).apply(null,arguments)},on=V._emscripten_enum_draco_StatusCode_UNKNOWN_VERSION=function(){return(on=V._emscripten_enum_draco_StatusCode_UNKNOWN_VERSION=V.asm.Tb).apply(null,arguments)},_n=V._malloc=function(){return(_n=V._malloc=V.asm.Ub).apply(null,arguments)};if(V._free=function(){return(V._free=V.asm.Vb).apply(null,arguments)},bt=function t(){Et||y(),Et||(bt=t)},V.run=y,V.preInit)for("function"==typeof V.preInit&&(V.preInit=[V.preInit]);0<V.preInit.length;)V.preInit.pop()();y(),l.prototype=Object.create(l.prototype),l.prototype.constructor=l,l.prototype.__class__=l,l.__cache__={},V.WrapperObject=l,V.getCache=f,V.wrapPointer=d,V.castObject=function(t,e){return d(t.ptr,e)},V.NULL=d(0),V.destroy=function(t){if(!t.__destroy__)throw"Error: Cannot destroy object. (Did you create it yourself?)";t.__destroy__(),delete f(t.__class__)[t.ptr]},V.compare=function(t,e){return t.ptr===e.ptr},V.getPointer=function(t){return t.ptr},V.getClass=function(t){return t.__class__};var pn={buffer:0,size:0,pos:0,temps:[],needed:0,prepare:function(){if(pn.needed){for(var t=0;t<pn.temps.length;t++)V._free(pn.temps[t]);pn.temps.length=0,V._free(pn.buffer),pn.buffer=0,pn.size+=pn.needed,pn.needed=0}pn.buffer||(pn.size+=128,pn.buffer=V._malloc(pn.size),pn.buffer||i(void 0)),pn.pos=0},alloc:function(t,e){return pn.buffer||i(void 0),t=t.length*e.BYTES_PER_ELEMENT,t=t+7&-8,pn.pos+t>=pn.size?(0<t||i(void 0),pn.needed+=t,e=V._malloc(t),pn.temps.push(e)):(e=pn.buffer+pn.pos,pn.pos+=t),e},copy:function(t,e,r){switch(r>>>=0,e.BYTES_PER_ELEMENT){case 2:r>>>=1;break;case 4:r>>>=2;break;case 8:r>>>=3}for(var n=0;n<t.length;n++)e[r+n]=t[n]}};return h.prototype=Object.create(l.prototype),h.prototype.constructor=h,h.prototype.__class__=h,h.__cache__={},V.VoidPtr=h,h.prototype.__destroy__=h.prototype.__destroy__=function(){Gt(this.ptr)},A.prototype=Object.create(l.prototype),A.prototype.constructor=A,A.prototype.__class__=A,A.__cache__={},V.DecoderBuffer=A,A.prototype.Init=A.prototype.Init=function(t,e){var r=this.ptr;pn.prepare(),"object"==typeof t&&(t=b(t)),e&&"object"==typeof e&&(e=e.ptr),Ot(r,t,e)},A.prototype.__destroy__=A.prototype.__destroy__=function(){jt(this.ptr)},T.prototype=Object.create(l.prototype),T.prototype.constructor=T,T.prototype.__class__=T,T.__cache__={},V.AttributeTransformData=T,T.prototype.transform_type=T.prototype.transform_type=function(){return Rt(this.ptr)},T.prototype.__destroy__=T.prototype.__destroy__=function(){St(this.ptr)},I.prototype=Object.create(l.prototype),I.prototype.constructor=I,I.prototype.__class__=I,I.__cache__={},V.GeometryAttribute=I,I.prototype.__destroy__=I.prototype.__destroy__=function(){Nt(this.ptr)},D.prototype=Object.create(l.prototype),D.prototype.constructor=D,D.prototype.__class__=D,D.__cache__={},V.PointAttribute=D,D.prototype.size=D.prototype.size=function(){return Ut(this.ptr)},D.prototype.GetAttributeTransformData=D.prototype.GetAttributeTransformData=function(){return d(Ft(this.ptr),T)},D.prototype.attribute_type=D.prototype.attribute_type=function(){return Ct(this.ptr)},D.prototype.data_type=D.prototype.data_type=function(){return Lt(this.ptr)},D.prototype.num_components=D.prototype.num_components=function(){return wt(this.ptr)},D.prototype.normalized=D.prototype.normalized=function(){return!!zt(this.ptr)},D.prototype.byte_stride=D.prototype.byte_stride=function(){return Vt(this.ptr)},D.prototype.byte_offset=D.prototype.byte_offset=function(){return Bt(this.ptr)},D.prototype.unique_id=D.prototype.unique_id=function(){return Wt(this.ptr)},D.prototype.__destroy__=D.prototype.__destroy__=function(){kt(this.ptr)},E.prototype=Object.create(l.prototype),E.prototype.constructor=E,E.prototype.__class__=E,E.__cache__={},V.AttributeQuantizationTransform=E,E.prototype.InitFromAttribute=E.prototype.InitFromAttribute=function(t){var e=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),!!xt(e,t)},E.prototype.quantization_bits=E.prototype.quantization_bits=function(){return Yt(this.ptr)},E.prototype.min_value=E.prototype.min_value=function(t){var e=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),Ht(e,t)},E.prototype.range=E.prototype.range=function(){return qt(this.ptr)},E.prototype.__destroy__=E.prototype.__destroy__=function(){Kt(this.ptr)},G.prototype=Object.create(l.prototype),G.prototype.constructor=G,G.prototype.__class__=G,G.__cache__={},V.AttributeOctahedronTransform=G,G.prototype.InitFromAttribute=G.prototype.InitFromAttribute=function(t){var e=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),!!Jt(e,t)},G.prototype.quantization_bits=G.prototype.quantization_bits=function(){return Zt(this.ptr)},G.prototype.__destroy__=G.prototype.__destroy__=function(){$t(this.ptr)},v.prototype=Object.create(l.prototype),v.prototype.constructor=v,v.prototype.__class__=v,v.__cache__={},V.PointCloud=v,v.prototype.num_attributes=v.prototype.num_attributes=function(){return ee(this.ptr)},v.prototype.num_points=v.prototype.num_points=function(){return re(this.ptr)},v.prototype.__destroy__=v.prototype.__destroy__=function(){ne(this.ptr)},O.prototype=Object.create(l.prototype),O.prototype.constructor=O,O.prototype.__class__=O,O.__cache__={},V.Mesh=O,O.prototype.num_faces=O.prototype.num_faces=function(){return _e(this.ptr)},O.prototype.num_attributes=O.prototype.num_attributes=function(){return ie(this.ptr)},O.prototype.num_points=O.prototype.num_points=function(){return pe(this.ptr)},O.prototype.__destroy__=O.prototype.__destroy__=function(){ae(this.ptr)},j.prototype=Object.create(l.prototype),j.prototype.constructor=j,j.prototype.__class__=j,j.__cache__={},V.Metadata=j,j.prototype.__destroy__=j.prototype.__destroy__=function(){ue(this.ptr)},P.prototype=Object.create(l.prototype),P.prototype.constructor=P,P.prototype.__class__=P,P.__cache__={},V.Status=P,P.prototype.code=P.prototype.code=function(){return se(this.ptr)},P.prototype.ok=P.prototype.ok=function(){return!!ye(this.ptr)},P.prototype.error_msg=P.prototype.error_msg=function(){return o(le(this.ptr))},P.prototype.__destroy__=P.prototype.__destroy__=function(){fe(this.ptr)},R.prototype=Object.create(l.prototype),R.prototype.constructor=R,R.prototype.__class__=R,R.__cache__={},V.DracoFloat32Array=R,R.prototype.GetValue=R.prototype.GetValue=function(t){var e=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),me(e,t)},R.prototype.size=R.prototype.size=function(){return be(this.ptr)},R.prototype.__destroy__=R.prototype.__destroy__=function(){he(this.ptr)},S.prototype=Object.create(l.prototype),S.prototype.constructor=S,S.prototype.__class__=S,S.__cache__={},V.DracoInt8Array=S,S.prototype.GetValue=S.prototype.GetValue=function(t){var e=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),Te(e,t)},S.prototype.size=S.prototype.size=function(){return Ie(this.ptr)},S.prototype.__destroy__=S.prototype.__destroy__=function(){De(this.ptr)},g.prototype=Object.create(l.prototype),g.prototype.constructor=g,g.prototype.__class__=g,g.__cache__={},V.DracoUInt8Array=g,g.prototype.GetValue=g.prototype.GetValue=function(t){var e=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),Ge(e,t)},g.prototype.size=g.prototype.size=function(){return ve(this.ptr)},g.prototype.__destroy__=g.prototype.__destroy__=function(){Oe(this.ptr)},N.prototype=Object.create(l.prototype),N.prototype.constructor=N,N.prototype.__class__=N,N.__cache__={},V.DracoInt16Array=N,N.prototype.GetValue=N.prototype.GetValue=function(t){var e=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),Pe(e,t)},N.prototype.size=N.prototype.size=function(){return Re(this.ptr)},N.prototype.__destroy__=N.prototype.__destroy__=function(){Se(this.ptr)},M.prototype=Object.create(l.prototype),M.prototype.constructor=M,M.prototype.__class__=M,M.__cache__={},V.DracoUInt16Array=M,M.prototype.GetValue=M.prototype.GetValue=function(t){var e=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),Ne(e,t)},M.prototype.size=M.prototype.size=function(){return Me(this.ptr)},M.prototype.__destroy__=M.prototype.__destroy__=function(){Ue(this.ptr)},U.prototype=Object.create(l.prototype),U.prototype.constructor=U,U.prototype.__class__=U,U.__cache__={},V.DracoInt32Array=U,U.prototype.GetValue=U.prototype.GetValue=function(t){var e=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),Ce(e,t)},U.prototype.size=U.prototype.size=function(){return Le(this.ptr)},U.prototype.__destroy__=U.prototype.__destroy__=function(){we(this.ptr)},F.prototype=Object.create(l.prototype),F.prototype.constructor=F,F.prototype.__class__=F,F.__cache__={},V.DracoUInt32Array=F,F.prototype.GetValue=F.prototype.GetValue=function(t){var e=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),Ve(e,t)},F.prototype.size=F.prototype.size=function(){return Be(this.ptr)},F.prototype.__destroy__=F.prototype.__destroy__=function(){We(this.ptr)},C.prototype=Object.create(l.prototype),C.prototype.constructor=C,C.prototype.__class__=C,C.__cache__={},V.MetadataQuerier=C,C.prototype.HasEntry=C.prototype.HasEntry=function(t,e){var r=this.ptr;return pn.prepare(),t&&"object"==typeof t&&(t=t.ptr),e=e&&"object"==typeof e?e.ptr:m(e),!!Qe(r,t,e)},C.prototype.GetIntEntry=C.prototype.GetIntEntry=function(t,e){var r=this.ptr;return pn.prepare(),t&&"object"==typeof t&&(t=t.ptr),e=e&&"object"==typeof e?e.ptr:m(e),xe(r,t,e)},C.prototype.GetIntEntryArray=C.prototype.GetIntEntryArray=function(t,e,r){var n=this.ptr;pn.prepare(),t&&"object"==typeof t&&(t=t.ptr),e=e&&"object"==typeof e?e.ptr:m(e),r&&"object"==typeof r&&(r=r.ptr),Ye(n,t,e,r)},C.prototype.GetDoubleEntry=C.prototype.GetDoubleEntry=function(t,e){var r=this.ptr;return pn.prepare(),t&&"object"==typeof t&&(t=t.ptr),e=e&&"object"==typeof e?e.ptr:m(e),He(r,t,e)},C.prototype.GetStringEntry=C.prototype.GetStringEntry=function(t,e){var r=this.ptr;return pn.prepare(),t&&"object"==typeof t&&(t=t.ptr),e=e&&"object"==typeof e?e.ptr:m(e),o(qe(r,t,e))},C.prototype.NumEntries=C.prototype.NumEntries=function(t){var e=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),Ke(e,t)},C.prototype.GetEntryName=C.prototype.GetEntryName=function(t,e){var r=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),o(Xe(r,t,e))},C.prototype.__destroy__=C.prototype.__destroy__=function(){Je(this.ptr)},L.prototype=Object.create(l.prototype),L.prototype.constructor=L,L.prototype.__class__=L,L.__cache__={},V.Decoder=L,L.prototype.DecodeArrayToPointCloud=L.prototype.DecodeArrayToPointCloud=function(t,e,r){var n=this.ptr;return pn.prepare(),"object"==typeof t&&(t=b(t)),e&&"object"==typeof e&&(e=e.ptr),r&&"object"==typeof r&&(r=r.ptr),d($e(n,t,e,r),P)},L.prototype.DecodeArrayToMesh=L.prototype.DecodeArrayToMesh=function(t,e,r){var n=this.ptr;return pn.prepare(),"object"==typeof t&&(t=b(t)),e&&"object"==typeof e&&(e=e.ptr),r&&"object"==typeof r&&(r=r.ptr),d(tr(n,t,e,r),P)},L.prototype.GetAttributeId=L.prototype.GetAttributeId=function(t,e){var r=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),er(r,t,e)},L.prototype.GetAttributeIdByName=L.prototype.GetAttributeIdByName=function(t,e){var r=this.ptr;return pn.prepare(),t&&"object"==typeof t&&(t=t.ptr),e=e&&"object"==typeof e?e.ptr:m(e),rr(r,t,e)},L.prototype.GetAttributeIdByMetadataEntry=L.prototype.GetAttributeIdByMetadataEntry=function(t,e,r){var n=this.ptr;return pn.prepare(),t&&"object"==typeof t&&(t=t.ptr),e=e&&"object"==typeof e?e.ptr:m(e),r=r&&"object"==typeof r?r.ptr:m(r),nr(n,t,e,r)},L.prototype.GetAttribute=L.prototype.GetAttribute=function(t,e){var r=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),d(or(r,t,e),D)},L.prototype.GetAttributeByUniqueId=L.prototype.GetAttributeByUniqueId=function(t,e){var r=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),d(_r(r,t,e),D)},L.prototype.GetMetadata=L.prototype.GetMetadata=function(t){var e=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),d(ir(e,t),j)},L.prototype.GetAttributeMetadata=L.prototype.GetAttributeMetadata=function(t,e){var r=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),d(pr(r,t,e),j)},L.prototype.GetFaceFromMesh=L.prototype.GetFaceFromMesh=function(t,e,r){var n=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),r&&"object"==typeof r&&(r=r.ptr),!!ar(n,t,e,r)},L.prototype.GetTriangleStripsFromMesh=L.prototype.GetTriangleStripsFromMesh=function(t,e){var r=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),cr(r,t,e)},L.prototype.GetTrianglesUInt16Array=L.prototype.GetTrianglesUInt16Array=function(t,e,r){var n=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),r&&"object"==typeof r&&(r=r.ptr),!!ur(n,t,e,r)},L.prototype.GetTrianglesUInt32Array=L.prototype.GetTrianglesUInt32Array=function(t,e,r){var n=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),r&&"object"==typeof r&&(r=r.ptr),!!sr(n,t,e,r)},L.prototype.GetAttributeFloat=L.prototype.GetAttributeFloat=function(t,e,r){var n=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),r&&"object"==typeof r&&(r=r.ptr),!!yr(n,t,e,r)},L.prototype.GetAttributeFloatForAllPoints=L.prototype.GetAttributeFloatForAllPoints=function(t,e,r){var n=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),r&&"object"==typeof r&&(r=r.ptr),!!lr(n,t,e,r)},L.prototype.GetAttributeIntForAllPoints=L.prototype.GetAttributeIntForAllPoints=function(t,e,r){var n=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),r&&"object"==typeof r&&(r=r.ptr),!!fr(n,t,e,r)},L.prototype.GetAttributeInt8ForAllPoints=L.prototype.GetAttributeInt8ForAllPoints=function(t,e,r){var n=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),r&&"object"==typeof r&&(r=r.ptr),!!dr(n,t,e,r)},L.prototype.GetAttributeUInt8ForAllPoints=L.prototype.GetAttributeUInt8ForAllPoints=function(t,e,r){var n=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),r&&"object"==typeof r&&(r=r.ptr),!!mr(n,t,e,r)},L.prototype.GetAttributeInt16ForAllPoints=L.prototype.GetAttributeInt16ForAllPoints=function(t,e,r){var n=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),r&&"object"==typeof r&&(r=r.ptr),!!br(n,t,e,r)},L.prototype.GetAttributeUInt16ForAllPoints=L.prototype.GetAttributeUInt16ForAllPoints=function(t,e,r){var n=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),r&&"object"==typeof r&&(r=r.ptr),!!hr(n,t,e,r)},L.prototype.GetAttributeInt32ForAllPoints=L.prototype.GetAttributeInt32ForAllPoints=function(t,e,r){var n=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),r&&"object"==typeof r&&(r=r.ptr),!!Ar(n,t,e,r)},L.prototype.GetAttributeUInt32ForAllPoints=L.prototype.GetAttributeUInt32ForAllPoints=function(t,e,r){var n=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),r&&"object"==typeof r&&(r=r.ptr),!!Tr(n,t,e,r)},L.prototype.GetAttributeDataArrayForAllPoints=L.prototype.GetAttributeDataArrayForAllPoints=function(t,e,r,n,o){var _=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),r&&"object"==typeof r&&(r=r.ptr),n&&"object"==typeof n&&(n=n.ptr),o&&"object"==typeof o&&(o=o.ptr),!!Ir(_,t,e,r,n,o)},L.prototype.SkipAttributeTransform=L.prototype.SkipAttributeTransform=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),Dr(e,t)},L.prototype.GetEncodedGeometryType_Deprecated=L.prototype.GetEncodedGeometryType_Deprecated=function(t){var e=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),Er(e,t)},L.prototype.DecodeBufferToPointCloud=L.prototype.DecodeBufferToPointCloud=function(t,e){var r=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),d(Gr(r,t,e),P)},L.prototype.DecodeBufferToMesh=L.prototype.DecodeBufferToMesh=function(t,e){var r=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),d(vr(r,t,e),P)},L.prototype.__destroy__=L.prototype.__destroy__=function(){Or(this.ptr)},function(){function t(){V.ATTRIBUTE_INVALID_TRANSFORM=jr(),V.ATTRIBUTE_NO_TRANSFORM=Pr(),V.ATTRIBUTE_QUANTIZATION_TRANSFORM=Rr(),V.ATTRIBUTE_OCTAHEDRON_TRANSFORM=Sr(),V.INVALID=gr(),V.POSITION=Nr(),V.NORMAL=Mr(),V.COLOR=Ur(),V.TEX_COORD=Fr(),V.GENERIC=Cr(),V.INVALID_GEOMETRY_TYPE=Lr(),V.POINT_CLOUD=wr(),V.TRIANGULAR_MESH=zr(),V.DT_INVALID=Vr(),V.DT_INT8=Br(),V.DT_UINT8=Wr(),V.DT_INT16=kr(),V.DT_UINT16=Qr(),V.DT_INT32=xr(),V.DT_UINT32=Yr(),V.DT_INT64=Hr(),V.DT_UINT64=qr(),V.DT_FLOAT32=Kr(),V.DT_FLOAT64=Xr(),V.DT_BOOL=Jr(),V.DT_TYPES_COUNT=Zr(),V.OK=$r(),V.DRACO_ERROR=tn(),V.IO_ERROR=en(),V.INVALID_PARAMETER=rn(),V.UNSUPPORTED_VERSION=nn(),V.UNKNOWN_VERSION=on()}ft?t():yt.unshift(t)}(),"function"==typeof V.onModuleParsed&&V.onModuleParsed(),V.Decoder.prototype.GetEncodedGeometryType=function(t){if(t.__class__&&t.__class__===V.DecoderBuffer)return V.Decoder.prototype.GetEncodedGeometryType_Deprecated(t);if(8>t.byteLength)return V.INVALID_GEOMETRY_TYPE;switch(t[7]){case 0:return V.POINT_CLOUD;case 1:return V.TRIANGULAR_MESH;default:return V.INVALID_GEOMETRY_TYPE}},e.ready}}();"object"==typeof t&&"object"==typeof e?e.exports=n:"function"==typeof define&&define.amd?define([],(function(){return n})):"object"==typeof t&&(t.DracoDecoderModule=n)}));export{gn as a};