Comparing version 1.5.0 to 1.5.1
@@ -1,117 +0,116 @@ | ||
var $jscomp=$jscomp||{};$jscomp.scope={};$jscomp.arrayIteratorImpl=function(m){var n=0;return function(){return n<m.length?{done:!1,value:m[n++]}:{done:!0}}};$jscomp.arrayIterator=function(m){return{next:$jscomp.arrayIteratorImpl(m)}};$jscomp.makeIterator=function(m){var n="undefined"!=typeof Symbol&&Symbol.iterator&&m[Symbol.iterator];return n?n.call(m):$jscomp.arrayIterator(m)};$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(m){m=["object"==typeof globalThis&&globalThis,m,"object"==typeof window&&window,"object"==typeof self&&self,"object"==typeof global&&global];for(var n=0;n<m.length;++n){var h=m[n];if(h&&h.Math==Math)return h}throw Error("Cannot find global object");};$jscomp.global=$jscomp.getGlobal(this); | ||
$jscomp.defineProperty=$jscomp.ASSUME_ES5||"function"==typeof Object.defineProperties?Object.defineProperty:function(m,n,h){if(m==Array.prototype||m==Object.prototype)return m;m[n]=h.value;return m};$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(m,n){var h=$jscomp.propertyToPolyfillSymbol[n];if(null==h)return m[n];h=m[h];return void 0!==h?h:m[n]};$jscomp.polyfill=function(m,n,h,q){n&&($jscomp.ISOLATE_POLYFILLS?$jscomp.polyfillIsolated(m,n,h,q):$jscomp.polyfillUnisolated(m,n,h,q))}; | ||
$jscomp.polyfillUnisolated=function(m,n,h,q){h=$jscomp.global;m=m.split(".");for(q=0;q<m.length-1;q++){var k=m[q];if(!(k in h))return;h=h[k]}m=m[m.length-1];q=h[m];n=n(q);n!=q&&null!=n&&$jscomp.defineProperty(h,m,{configurable:!0,writable:!0,value:n})}; | ||
$jscomp.polyfillIsolated=function(m,n,h,q){var k=m.split(".");m=1===k.length;q=k[0];q=!m&&q in $jscomp.polyfills?$jscomp.polyfills:$jscomp.global;for(var z=0;z<k.length-1;z++){var g=k[z];if(!(g in q))return;q=q[g]}k=k[k.length-1];h=$jscomp.IS_SYMBOL_NATIVE&&"es6"===h?q[k]:null;n=n(h);null!=n&&(m?$jscomp.defineProperty($jscomp.polyfills,k,{configurable:!0,writable:!0,value:n}):n!==h&&(void 0===$jscomp.propertyToPolyfillSymbol[k]&&(h=1E9*Math.random()>>>0,$jscomp.propertyToPolyfillSymbol[k]=$jscomp.IS_SYMBOL_NATIVE? | ||
$jscomp.global.Symbol(k):$jscomp.POLYFILL_PREFIX+h+"$"+k),$jscomp.defineProperty(q,$jscomp.propertyToPolyfillSymbol[k],{configurable:!0,writable:!0,value:n})))}; | ||
$jscomp.polyfill("Promise",function(m){function n(){this.batch_=null}function h(g){return g instanceof k?g:new k(function(p,u){p(g)})}if(m&&(!($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 m;n.prototype.asyncExecute=function(g){if(null==this.batch_){this.batch_=[];var p=this;this.asyncExecuteFunction(function(){p.executeBatch_()})}this.batch_.push(g)}; | ||
var q=$jscomp.global.setTimeout;n.prototype.asyncExecuteFunction=function(g){q(g,0)};n.prototype.executeBatch_=function(){for(;this.batch_&&this.batch_.length;){var g=this.batch_;this.batch_=[];for(var p=0;p<g.length;++p){var u=g[p];g[p]=null;try{u()}catch(A){this.asyncThrow_(A)}}}this.batch_=null};n.prototype.asyncThrow_=function(g){this.asyncExecuteFunction(function(){throw g;})};var k=function(g){this.state_=0;this.result_=void 0;this.onSettledCallbacks_=[];this.isRejectionHandled_=!1;var p=this.createResolveAndReject_(); | ||
try{g(p.resolve,p.reject)}catch(u){p.reject(u)}};k.prototype.createResolveAndReject_=function(){function g(A){return function(E){u||(u=!0,A.call(p,E))}}var p=this,u=!1;return{resolve:g(this.resolveTo_),reject:g(this.reject_)}};k.prototype.resolveTo_=function(g){if(g===this)this.reject_(new TypeError("A Promise cannot resolve to itself"));else if(g instanceof k)this.settleSameAsPromise_(g);else{a:switch(typeof g){case "object":var p=null!=g;break a;case "function":p=!0;break a;default:p=!1}p?this.resolveToNonPromiseObj_(g): | ||
this.fulfill_(g)}};k.prototype.resolveToNonPromiseObj_=function(g){var p=void 0;try{p=g.then}catch(u){this.reject_(u);return}"function"==typeof p?this.settleSameAsThenable_(p,g):this.fulfill_(g)};k.prototype.reject_=function(g){this.settle_(2,g)};k.prototype.fulfill_=function(g){this.settle_(1,g)};k.prototype.settle_=function(g,p){if(0!=this.state_)throw Error("Cannot settle("+g+", "+p+"): Promise already settled in state"+this.state_);this.state_=g;this.result_=p;2===this.state_&&this.scheduleUnhandledRejectionCheck_(); | ||
this.executeOnSettledCallbacks_()};k.prototype.scheduleUnhandledRejectionCheck_=function(){var g=this;q(function(){if(g.notifyUnhandledRejection_()){var p=$jscomp.global.console;"undefined"!==typeof p&&p.error(g.result_)}},1)};k.prototype.notifyUnhandledRejection_=function(){if(this.isRejectionHandled_)return!1;var g=$jscomp.global.CustomEvent,p=$jscomp.global.Event,u=$jscomp.global.dispatchEvent;if("undefined"===typeof u)return!0;"function"===typeof g?g=new g("unhandledrejection",{cancelable:!0}): | ||
"function"===typeof p?g=new p("unhandledrejection",{cancelable:!0}):(g=$jscomp.global.document.createEvent("CustomEvent"),g.initCustomEvent("unhandledrejection",!1,!0,g));g.promise=this;g.reason=this.result_;return u(g)};k.prototype.executeOnSettledCallbacks_=function(){if(null!=this.onSettledCallbacks_){for(var g=0;g<this.onSettledCallbacks_.length;++g)z.asyncExecute(this.onSettledCallbacks_[g]);this.onSettledCallbacks_=null}};var z=new n;k.prototype.settleSameAsPromise_=function(g){var p=this.createResolveAndReject_(); | ||
g.callWhenSettled_(p.resolve,p.reject)};k.prototype.settleSameAsThenable_=function(g,p){var u=this.createResolveAndReject_();try{g.call(p,u.resolve,u.reject)}catch(A){u.reject(A)}};k.prototype.then=function(g,p){function u(U,V){return"function"==typeof U?function(v){try{A(U(v))}catch(x){E(x)}}:V}var A,E,ea=new k(function(U,V){A=U;E=V});this.callWhenSettled_(u(g,A),u(p,E));return ea};k.prototype.catch=function(g){return this.then(void 0,g)};k.prototype.callWhenSettled_=function(g,p){function u(){switch(A.state_){case 1:g(A.result_); | ||
break;case 2:p(A.result_);break;default:throw Error("Unexpected state: "+A.state_);}}var A=this;null==this.onSettledCallbacks_?z.asyncExecute(u):this.onSettledCallbacks_.push(u);this.isRejectionHandled_=!0};k.resolve=h;k.reject=function(g){return new k(function(p,u){u(g)})};k.race=function(g){return new k(function(p,u){for(var A=$jscomp.makeIterator(g),E=A.next();!E.done;E=A.next())h(E.value).callWhenSettled_(p,u)})};k.all=function(g){var p=$jscomp.makeIterator(g),u=p.next();return u.done?h([]):new k(function(A, | ||
E){function ea(v){return function(x){U[v]=x;V--;0==V&&A(U)}}var U=[],V=0;do U.push(void 0),V++,h(u.value).callWhenSettled_(ea(U.length-1),E),u=p.next();while(!u.done)})};return k},"es6","es3");$jscomp.checkStringArgs=function(m,n,h){if(null==m)throw new TypeError("The 'this' value for String.prototype."+h+" must not be null or undefined");if(n instanceof RegExp)throw new TypeError("First argument to String.prototype."+h+" must not be a regular expression");return m+""}; | ||
$jscomp.polyfill("String.prototype.startsWith",function(m){return m?m:function(n,h){var q=$jscomp.checkStringArgs(this,n,"startsWith");n+="";var k=q.length,z=n.length;h=Math.max(0,Math.min(h|0,q.length));for(var g=0;g<z&&h<k;)if(q[h++]!=n[g++])return!1;return g>=z}},"es6","es3"); | ||
$jscomp.polyfill("Array.prototype.copyWithin",function(m){function n(h){h=Number(h);return Infinity===h||-Infinity===h?h:h|0}return m?m:function(h,q,k){var z=this.length;h=n(h);q=n(q);k=void 0===k?z:n(k);h=0>h?Math.max(z+h,0):Math.min(h,z);q=0>q?Math.max(z+q,0):Math.min(q,z);k=0>k?Math.max(z+k,0):Math.min(k,z);if(h<q)for(;q<k;)q in this?this[h++]=this[q++]:(delete this[h++],q++);else for(k=Math.min(k,z+q-h),h+=k-q;k>q;)--k in this?this[--h]=this[k]:delete this[--h];return this}},"es6","es3"); | ||
$jscomp.typedArrayCopyWithin=function(m){return m?m: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"); | ||
var $jscomp=$jscomp||{};$jscomp.scope={};$jscomp.owns=function(k,n){return Object.prototype.hasOwnProperty.call(k,n)};$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.defineProperty=$jscomp.ASSUME_ES5||"function"==typeof Object.defineProperties?Object.defineProperty:function(k,n,l){if(k==Array.prototype||k==Object.prototype)return k;k[n]=l.value;return k};$jscomp.getGlobal=function(k){k=["object"==typeof globalThis&&globalThis,k,"object"==typeof window&&window,"object"==typeof self&&self,"object"==typeof global&&global];for(var n=0;n<k.length;++n){var l=k[n];if(l&&l.Math==Math)return l}throw Error("Cannot find global object");};$jscomp.global=$jscomp.getGlobal(this); | ||
$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(k,n){var l=$jscomp.propertyToPolyfillSymbol[n];if(null==l)return k[n];l=k[l];return void 0!==l?l:k[n]}; | ||
$jscomp.polyfill=function(k,n,l,p){n&&($jscomp.ISOLATE_POLYFILLS?$jscomp.polyfillIsolated(k,n,l,p):$jscomp.polyfillUnisolated(k,n,l,p))};$jscomp.polyfillUnisolated=function(k,n,l,p){l=$jscomp.global;k=k.split(".");for(p=0;p<k.length-1;p++){var h=k[p];if(!(h in l))return;l=l[h]}k=k[k.length-1];p=l[k];n=n(p);n!=p&&null!=n&&$jscomp.defineProperty(l,k,{configurable:!0,writable:!0,value:n})}; | ||
$jscomp.polyfillIsolated=function(k,n,l,p){var h=k.split(".");k=1===h.length;p=h[0];p=!k&&p in $jscomp.polyfills?$jscomp.polyfills:$jscomp.global;for(var A=0;A<h.length-1;A++){var f=h[A];if(!(f in p))return;p=p[f]}h=h[h.length-1];l=$jscomp.IS_SYMBOL_NATIVE&&"es6"===l?p[h]:null;n=n(l);null!=n&&(k?$jscomp.defineProperty($jscomp.polyfills,h,{configurable:!0,writable:!0,value:n}):n!==l&&(void 0===$jscomp.propertyToPolyfillSymbol[h]&&(l=1E9*Math.random()>>>0,$jscomp.propertyToPolyfillSymbol[h]=$jscomp.IS_SYMBOL_NATIVE? | ||
$jscomp.global.Symbol(h):$jscomp.POLYFILL_PREFIX+l+"$"+h),$jscomp.defineProperty(p,$jscomp.propertyToPolyfillSymbol[h],{configurable:!0,writable:!0,value:n})))};$jscomp.assign=$jscomp.TRUST_ES6_POLYFILLS&&"function"==typeof Object.assign?Object.assign:function(k,n){for(var l=1;l<arguments.length;l++){var p=arguments[l];if(p)for(var h in p)$jscomp.owns(p,h)&&(k[h]=p[h])}return k};$jscomp.polyfill("Object.assign",function(k){return k||$jscomp.assign},"es6","es3"); | ||
$jscomp.arrayIteratorImpl=function(k){var n=0;return function(){return n<k.length?{done:!1,value:k[n++]}:{done:!0}}};$jscomp.arrayIterator=function(k){return{next:$jscomp.arrayIteratorImpl(k)}};$jscomp.makeIterator=function(k){var n="undefined"!=typeof Symbol&&Symbol.iterator&&k[Symbol.iterator];return n?n.call(k):$jscomp.arrayIterator(k)}; | ||
$jscomp.polyfill("Promise",function(k){function n(){this.batch_=null}function l(f){return f instanceof h?f:new h(function(q,v){q(f)})}if(k&&(!($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 k;n.prototype.asyncExecute=function(f){if(null==this.batch_){this.batch_=[];var q=this;this.asyncExecuteFunction(function(){q.executeBatch_()})}this.batch_.push(f)}; | ||
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 v=f[q];f[q]=null;try{v()}catch(z){this.asyncThrow_(z)}}}this.batch_=null};n.prototype.asyncThrow_=function(f){this.asyncExecuteFunction(function(){throw f;})};var h=function(f){this.state_=0;this.result_=void 0;this.onSettledCallbacks_=[];this.isRejectionHandled_=!1;var q=this.createResolveAndReject_(); | ||
try{f(q.resolve,q.reject)}catch(v){q.reject(v)}};h.prototype.createResolveAndReject_=function(){function f(z){return function(F){v||(v=!0,z.call(q,F))}}var q=this,v=!1;return{resolve:f(this.resolveTo_),reject:f(this.reject_)}};h.prototype.resolveTo_=function(f){if(f===this)this.reject_(new TypeError("A Promise cannot resolve to itself"));else if(f instanceof h)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): | ||
this.fulfill_(f)}};h.prototype.resolveToNonPromiseObj_=function(f){var q=void 0;try{q=f.then}catch(v){this.reject_(v);return}"function"==typeof q?this.settleSameAsThenable_(q,f):this.fulfill_(f)};h.prototype.reject_=function(f){this.settle_(2,f)};h.prototype.fulfill_=function(f){this.settle_(1,f)};h.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_(); | ||
this.executeOnSettledCallbacks_()};h.prototype.scheduleUnhandledRejectionCheck_=function(){var f=this;p(function(){if(f.notifyUnhandledRejection_()){var q=$jscomp.global.console;"undefined"!==typeof q&&q.error(f.result_)}},1)};h.prototype.notifyUnhandledRejection_=function(){if(this.isRejectionHandled_)return!1;var f=$jscomp.global.CustomEvent,q=$jscomp.global.Event,v=$jscomp.global.dispatchEvent;if("undefined"===typeof v)return!0;"function"===typeof f?f=new f("unhandledrejection",{cancelable:!0}): | ||
"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 v(f)};h.prototype.executeOnSettledCallbacks_=function(){if(null!=this.onSettledCallbacks_){for(var f=0;f<this.onSettledCallbacks_.length;++f)A.asyncExecute(this.onSettledCallbacks_[f]);this.onSettledCallbacks_=null}};var A=new n;h.prototype.settleSameAsPromise_=function(f){var q=this.createResolveAndReject_(); | ||
f.callWhenSettled_(q.resolve,q.reject)};h.prototype.settleSameAsThenable_=function(f,q){var v=this.createResolveAndReject_();try{f.call(q,v.resolve,v.reject)}catch(z){v.reject(z)}};h.prototype.then=function(f,q){function v(Q,u){return"function"==typeof Q?function(x){try{z(Q(x))}catch(D){F(D)}}:u}var z,F,da=new h(function(Q,u){z=Q;F=u});this.callWhenSettled_(v(f,z),v(q,F));return da};h.prototype.catch=function(f){return this.then(void 0,f)};h.prototype.callWhenSettled_=function(f,q){function v(){switch(z.state_){case 1:f(z.result_); | ||
break;case 2:q(z.result_);break;default:throw Error("Unexpected state: "+z.state_);}}var z=this;null==this.onSettledCallbacks_?A.asyncExecute(v):this.onSettledCallbacks_.push(v);this.isRejectionHandled_=!0};h.resolve=l;h.reject=function(f){return new h(function(q,v){v(f)})};h.race=function(f){return new h(function(q,v){for(var z=$jscomp.makeIterator(f),F=z.next();!F.done;F=z.next())l(F.value).callWhenSettled_(q,v)})};h.all=function(f){var q=$jscomp.makeIterator(f),v=q.next();return v.done?l([]):new h(function(z, | ||
F){function da(x){return function(D){Q[x]=D;u--;0==u&&z(Q)}}var Q=[],u=0;do Q.push(void 0),u++,l(v.value).callWhenSettled_(da(Q.length-1),F),v=q.next();while(!v.done)})};return h},"es6","es3");$jscomp.checkStringArgs=function(k,n,l){if(null==k)throw new TypeError("The 'this' value for String.prototype."+l+" must not be null or undefined");if(n instanceof RegExp)throw new TypeError("First argument to String.prototype."+l+" must not be a regular expression");return k+""}; | ||
$jscomp.polyfill("String.prototype.startsWith",function(k){return k?k:function(n,l){var p=$jscomp.checkStringArgs(this,n,"startsWith");n+="";var h=p.length,A=n.length;l=Math.max(0,Math.min(l|0,p.length));for(var f=0;f<A&&l<h;)if(p[l++]!=n[f++])return!1;return f>=A}},"es6","es3"); | ||
$jscomp.polyfill("Array.prototype.copyWithin",function(k){function n(l){l=Number(l);return Infinity===l||-Infinity===l?l:l|0}return k?k:function(l,p,h){var A=this.length;l=n(l);p=n(p);h=void 0===h?A:n(h);l=0>l?Math.max(A+l,0):Math.min(l,A);p=0>p?Math.max(A+p,0):Math.min(p,A);h=0>h?Math.max(A+h,0):Math.min(h,A);if(l<p)for(;p<h;)p in this?this[l++]=this[p++]:(delete this[l++],p++);else for(h=Math.min(h,A+p-l),l+=h-p;h>p;)--h in this?this[--l]=this[h]:delete this[--l];return this}},"es6","es3"); | ||
$jscomp.typedArrayCopyWithin=function(k){return k?k: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 m="undefined"!==typeof document&&document.currentScript?document.currentScript.src:void 0;"undefined"!==typeof __filename&&(m=m||__filename);return function(n){function h(e){return a.locateFile?a.locateFile(e,W):W+e}function q(e,b){e||p("Assertion failed: "+b)}function k(e,b,c){var d=b+c;for(c=b;e[c]&&!(c>=d);)++c;if(16<c-b&&e.subarray&&Aa)return Aa.decode(e.subarray(b,c));for(d="";b<c;){var f=e[b++];if(f&128){var t=e[b++]&63;if(192==(f&224))d+=String.fromCharCode((f& | ||
31)<<6|t);else{var X=e[b++]&63;f=224==(f&240)?(f&15)<<12|t<<6|X:(f&7)<<18|t<<12|X<<6|e[b++]&63;65536>f?d+=String.fromCharCode(f):(f-=65536,d+=String.fromCharCode(55296|f>>10,56320|f&1023))}}else d+=String.fromCharCode(f)}return d}function z(e,b){return e?k(ja,e,b):""}function g(e){Ba=e;a.HEAP8=Z=new Int8Array(e);a.HEAP16=new Int16Array(e);a.HEAP32=F=new Int32Array(e);a.HEAPU8=ja=new Uint8Array(e);a.HEAPU16=new Uint16Array(e);a.HEAPU32=new Uint32Array(e);a.HEAPF32=new Float32Array(e);a.HEAPF64=new Float64Array(e)} | ||
function p(e){if(a.onAbort)a.onAbort(e);e="Aborted("+e+")";fa(e);Ca=!0;e=new WebAssembly.RuntimeError(e+". Build with -s ASSERTIONS=1 for more info.");sa(e);throw e;}function u(e){try{if(e==P&&ka)return new Uint8Array(ka);if(ta)return ta(e);throw"both async and sync fetching of the wasm failed";}catch(b){p(b)}}function A(){if(!ka&&(Da||la)){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 u(P)});if(ua)return new Promise(function(e,b){ua(P,function(c){e(new Uint8Array(c))},b)})}return Promise.resolve().then(function(){return u(P)})}function E(e){for(;0<e.length;){var b=e.shift();if("function"==typeof b)b(a);else{var c=b.func;"number"===typeof c?void 0===b.arg?ea(c)():ea(c)(b.arg):c(void 0===b.arg?null:b.arg)}}}function ea(e){var b=pa[e];b||(e>=pa.length&&(pa.length=e+1),pa[e]=b=Ea.get(e));return b}function U(e){this.excPtr=e;this.ptr= | ||
e-16;this.set_type=function(b){F[this.ptr+4>>2]=b};this.get_type=function(){return F[this.ptr+4>>2]};this.set_destructor=function(b){F[this.ptr+8>>2]=b};this.get_destructor=function(){return F[this.ptr+8>>2]};this.set_refcount=function(b){F[this.ptr>>2]=b};this.set_caught=function(b){Z[this.ptr+12>>0]=b?1:0};this.get_caught=function(){return 0!=Z[this.ptr+12>>0]};this.set_rethrown=function(b){Z[this.ptr+13>>0]=b?1:0};this.get_rethrown=function(){return 0!=Z[this.ptr+13>>0]};this.init=function(b,c){this.set_type(b); | ||
this.set_destructor(c);this.set_refcount(0);this.set_caught(!1);this.set_rethrown(!1)};this.add_ref=function(){F[this.ptr>>2]+=1};this.release_ref=function(){var b=F[this.ptr>>2];F[this.ptr>>2]=b-1;return 1===b}}function V(e){function b(){if(!qa&&(qa=!0,a.calledRun=!0,!Ca)){Fa=!0;E(va);Ga(a);if(a.onRuntimeInitialized)a.onRuntimeInitialized();if(a.postRun)for("function"==typeof a.postRun&&(a.postRun=[a.postRun]);a.postRun.length;)Ha.unshift(a.postRun.shift());E(Ha)}}if(!(0<da)){if(a.preRun)for("function"== | ||
typeof a.preRun&&(a.preRun=[a.preRun]);a.preRun.length;)Ia.unshift(a.preRun.shift());E(Ia);0<da||(a.setStatus?(a.setStatus("Running..."),setTimeout(function(){setTimeout(function(){a.setStatus("")},1);b()},1)):b())}}function v(){}function x(e){return(e||v).__cache__}function R(e,b){var c=x(b),d=c[e];if(d)return d;d=Object.create((b||v).prototype);d.ptr=e;return c[e]=d}function ba(e){if("string"===typeof e){for(var b=0,c=0;c<e.length;++c){var d=e.charCodeAt(c);55296<=d&&57343>=d&&(d=65536+((d&1023)<< | ||
10)|e.charCodeAt(++c)&1023);127>=d?++b:b=2047>=d?b+2:65535>=d?b+3:b+4}b=Array(b+1);c=0;d=b.length;if(0<d){d=c+d-1;for(var f=0;f<e.length;++f){var t=e.charCodeAt(f);if(55296<=t&&57343>=t){var X=e.charCodeAt(++f);t=65536+((t&1023)<<10)|X&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,Z);r.copy(b,Z, | ||
e);return e}return e}function wa(e){if("object"===typeof e){var b=r.alloc(e,Z);r.copy(e,Z,b);return b}return e}function aa(){throw"cannot construct a VoidPtr, no constructor in IDL";}function S(){this.ptr=Ja();x(S)[this.ptr]=this}function Q(){this.ptr=Ka();x(Q)[this.ptr]=this}function Y(){this.ptr=La();x(Y)[this.ptr]=this}function w(){this.ptr=Ma();x(w)[this.ptr]=this}function C(){this.ptr=Na();x(C)[this.ptr]=this}function G(){this.ptr=Oa();x(G)[this.ptr]=this}function H(){this.ptr=Pa();x(H)[this.ptr]= | ||
this}function D(){this.ptr=Qa();x(D)[this.ptr]=this}function T(){this.ptr=Ra();x(T)[this.ptr]=this}function B(){throw"cannot construct a Status, no constructor in IDL";}function I(){this.ptr=Sa();x(I)[this.ptr]=this}function J(){this.ptr=Ta();x(J)[this.ptr]=this}function K(){this.ptr=Ua();x(K)[this.ptr]=this}function L(){this.ptr=Va();x(L)[this.ptr]=this}function M(){this.ptr=Wa();x(M)[this.ptr]=this}function N(){this.ptr=Xa();x(N)[this.ptr]=this}function O(){this.ptr=Ya();x(O)[this.ptr]=this}function y(){this.ptr= | ||
Za();x(y)[this.ptr]=this}function l(){this.ptr=$a();x(l)[this.ptr]=this}n=n||{};var a="undefined"!==typeof n?n:{},Ga,sa;a.ready=new Promise(function(e,b){Ga=e;sa=b});var ab=!1,bb=!1;a.onRuntimeInitialized=function(){ab=!0;if(bb&&"function"===typeof a.onModuleLoaded)a.onModuleLoaded(a)};a.onModuleParsed=function(){bb=!0;if(ab&&"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<e[1]?!1:!0};var ma={},ca;for(ca in a)a.hasOwnProperty(ca)&&(ma[ca]=a[ca]);var Da="object"===typeof window,la="function"===typeof importScripts,W="",ha,ia;if("object"===typeof process&&"object"===typeof process.versions&&"string"===typeof process.versions.node){W=la?require("path").dirname(W)+"/":__dirname+"/";var cb=function(e,b){ha||(ha=require("fs"));ia||(ia=require("path"));e=ia.normalize(e);return ha.readFileSync(e,b?null:"utf8")};var ta=function(e){e=cb(e, | ||
!0);e.buffer||(e=new Uint8Array(e));q(e.buffer);return e};var ua=function(e,b,c){ha||(ha=require("fs"));ia||(ia=require("path"));e=ia.normalize(e);ha.readFile(e,function(d,f){d?c(d):b(f.buffer)})};1<process.argv.length&&process.argv[1].replace(/\\/g,"/");process.argv.slice(2);a.inspect=function(){return"[Emscripten Module object]"}}else if(Da||la)la?W=self.location.href:"undefined"!==typeof document&&document.currentScript&&(W=document.currentScript.src),m&&(W=m),W=0!==W.indexOf("blob:")?W.substr(0, | ||
W.replace(/[?#].*/,"").lastIndexOf("/")+1):"",cb=function(e){var b=new XMLHttpRequest;b.open("GET",e,!1);b.send(null);return b.responseText},la&&(ta=function(e){var b=new XMLHttpRequest;b.open("GET",e,!1);b.responseType="arraybuffer";b.send(null);return new Uint8Array(b.response)}),ua=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)};var xd=a.print||console.log.bind(console), | ||
fa=a.printErr||console.warn.bind(console);for(ca in ma)ma.hasOwnProperty(ca)&&(a[ca]=ma[ca]);ma=null;var ka;a.wasmBinary&&(ka=a.wasmBinary);"object"!==typeof WebAssembly&&p("no native wasm support detected");var ra,Ca=!1,Aa="undefined"!==typeof TextDecoder?new TextDecoder("utf8"):void 0,Ba,Z,ja,F,Ea,Ia=[],va=[],Ha=[],Fa=!1,da=0,xa=null,na=null;a.preloadedImages={};a.preloadedAudios={};var P="draco_decoder.wasm";P.startsWith("data:application/octet-stream;base64,")||(P=h(P));var pa=[],yd=0,oa={mappings:{}, | ||
buffers:[null,[],[]],printChar:function(e,b){var c=oa.buffers[e];0===b||10===b?((1===e?xd:fa)(k(c,0)),c.length=0):c.push(b)},varargs:void 0,get:function(){oa.varargs+=4;return F[oa.varargs-4>>2]},getStr:function(e){return z(e)},get64:function(e,b){return e}},zd={h:function(e){return db(e+16)+16},g:function(e,b,c){(new U(e)).init(b,c);yd++;throw e;},a:function(){p("")},d:function(e,b,c){ja.copyWithin(e,b,b+c)},e:function(e){var b=ja.length;e>>>=0;if(2147483648<e)return!1;for(var c=1;4>=c;c*=2){var d= | ||
b*(1+.2/c);d=Math.min(d,e+100663296);var f=Math,t=f.min;d=Math.max(e,d);0<d%65536&&(d+=65536-d%65536);f=t.call(f,2147483648,d);a:{try{ra.grow(f-Ba.byteLength+65535>>>16);g(ra.buffer);var X=1;break a}catch(ya){}X=void 0}if(X)return!0}return!1},f:function(e){return 0},c:function(e,b,c,d,f){},b:function(e,b,c,d){for(var f=0,t=0;t<c;t++){var X=F[b>>2],ya=F[b+4>>2];b+=8;for(var za=0;za<ya;za++)oa.printChar(e,ja[X+za]);f+=ya}F[d>>2]=f;return 0}};(function(){function e(f,t){a.asm=f.exports;ra=a.asm.i;g(ra.buffer); | ||
Ea=a.asm.k;va.unshift(a.asm.j);da--;a.monitorRunDependencies&&a.monitorRunDependencies(da);0==da&&(null!==xa&&(clearInterval(xa),xa=null),na&&(f=na,na=null,f()))}function b(f){e(f.instance)}function c(f){return A().then(function(t){return WebAssembly.instantiate(t,d)}).then(function(t){return t}).then(f,function(t){fa("failed to asynchronously prepare wasm: "+t);p(t)})}var d={a:zd};da++;a.monitorRunDependencies&&a.monitorRunDependencies(da);if(a.instantiateWasm)try{return a.instantiateWasm(d,e)}catch(f){return fa("Module.instantiateWasm callback failed with error: "+ | ||
f),!1}(function(){return ka||"function"!==typeof WebAssembly.instantiateStreaming||P.startsWith("data:application/octet-stream;base64,")||P.startsWith("file://")||"function"!==typeof fetch?c(b):fetch(P,{credentials:"same-origin"}).then(function(f){return WebAssembly.instantiateStreaming(f,d).then(b,function(t){fa("wasm streaming compile failed: "+t);fa("falling back to ArrayBuffer instantiation");return c(b)})})})().catch(sa);return{}})();a.___wasm_call_ctors=function(){return(a.___wasm_call_ctors= | ||
a.asm.j).apply(null,arguments)};var eb=a._emscripten_bind_VoidPtr___destroy___0=function(){return(eb=a._emscripten_bind_VoidPtr___destroy___0=a.asm.l).apply(null,arguments)},Ja=a._emscripten_bind_DecoderBuffer_DecoderBuffer_0=function(){return(Ja=a._emscripten_bind_DecoderBuffer_DecoderBuffer_0=a.asm.m).apply(null,arguments)},fb=a._emscripten_bind_DecoderBuffer_Init_2=function(){return(fb=a._emscripten_bind_DecoderBuffer_Init_2=a.asm.n).apply(null,arguments)},gb=a._emscripten_bind_DecoderBuffer___destroy___0= | ||
function(){return(gb=a._emscripten_bind_DecoderBuffer___destroy___0=a.asm.o).apply(null,arguments)},Ka=a._emscripten_bind_AttributeTransformData_AttributeTransformData_0=function(){return(Ka=a._emscripten_bind_AttributeTransformData_AttributeTransformData_0=a.asm.p).apply(null,arguments)},hb=a._emscripten_bind_AttributeTransformData_transform_type_0=function(){return(hb=a._emscripten_bind_AttributeTransformData_transform_type_0=a.asm.q).apply(null,arguments)},ib=a._emscripten_bind_AttributeTransformData___destroy___0= | ||
function(){return(ib=a._emscripten_bind_AttributeTransformData___destroy___0=a.asm.r).apply(null,arguments)},La=a._emscripten_bind_GeometryAttribute_GeometryAttribute_0=function(){return(La=a._emscripten_bind_GeometryAttribute_GeometryAttribute_0=a.asm.s).apply(null,arguments)},jb=a._emscripten_bind_GeometryAttribute___destroy___0=function(){return(jb=a._emscripten_bind_GeometryAttribute___destroy___0=a.asm.t).apply(null,arguments)},Ma=a._emscripten_bind_PointAttribute_PointAttribute_0=function(){return(Ma= | ||
a._emscripten_bind_PointAttribute_PointAttribute_0=a.asm.u).apply(null,arguments)},kb=a._emscripten_bind_PointAttribute_size_0=function(){return(kb=a._emscripten_bind_PointAttribute_size_0=a.asm.v).apply(null,arguments)},lb=a._emscripten_bind_PointAttribute_GetAttributeTransformData_0=function(){return(lb=a._emscripten_bind_PointAttribute_GetAttributeTransformData_0=a.asm.w).apply(null,arguments)},mb=a._emscripten_bind_PointAttribute_attribute_type_0=function(){return(mb=a._emscripten_bind_PointAttribute_attribute_type_0= | ||
a.asm.x).apply(null,arguments)},nb=a._emscripten_bind_PointAttribute_data_type_0=function(){return(nb=a._emscripten_bind_PointAttribute_data_type_0=a.asm.y).apply(null,arguments)},ob=a._emscripten_bind_PointAttribute_num_components_0=function(){return(ob=a._emscripten_bind_PointAttribute_num_components_0=a.asm.z).apply(null,arguments)},pb=a._emscripten_bind_PointAttribute_normalized_0=function(){return(pb=a._emscripten_bind_PointAttribute_normalized_0=a.asm.A).apply(null,arguments)},qb=a._emscripten_bind_PointAttribute_byte_stride_0= | ||
function(){return(qb=a._emscripten_bind_PointAttribute_byte_stride_0=a.asm.B).apply(null,arguments)},rb=a._emscripten_bind_PointAttribute_byte_offset_0=function(){return(rb=a._emscripten_bind_PointAttribute_byte_offset_0=a.asm.C).apply(null,arguments)},sb=a._emscripten_bind_PointAttribute_unique_id_0=function(){return(sb=a._emscripten_bind_PointAttribute_unique_id_0=a.asm.D).apply(null,arguments)},tb=a._emscripten_bind_PointAttribute___destroy___0=function(){return(tb=a._emscripten_bind_PointAttribute___destroy___0= | ||
a.asm.E).apply(null,arguments)},Na=a._emscripten_bind_AttributeQuantizationTransform_AttributeQuantizationTransform_0=function(){return(Na=a._emscripten_bind_AttributeQuantizationTransform_AttributeQuantizationTransform_0=a.asm.F).apply(null,arguments)},ub=a._emscripten_bind_AttributeQuantizationTransform_InitFromAttribute_1=function(){return(ub=a._emscripten_bind_AttributeQuantizationTransform_InitFromAttribute_1=a.asm.G).apply(null,arguments)},vb=a._emscripten_bind_AttributeQuantizationTransform_quantization_bits_0= | ||
function(){return(vb=a._emscripten_bind_AttributeQuantizationTransform_quantization_bits_0=a.asm.H).apply(null,arguments)},wb=a._emscripten_bind_AttributeQuantizationTransform_min_value_1=function(){return(wb=a._emscripten_bind_AttributeQuantizationTransform_min_value_1=a.asm.I).apply(null,arguments)},xb=a._emscripten_bind_AttributeQuantizationTransform_range_0=function(){return(xb=a._emscripten_bind_AttributeQuantizationTransform_range_0=a.asm.J).apply(null,arguments)},yb=a._emscripten_bind_AttributeQuantizationTransform___destroy___0= | ||
function(){return(yb=a._emscripten_bind_AttributeQuantizationTransform___destroy___0=a.asm.K).apply(null,arguments)},Oa=a._emscripten_bind_AttributeOctahedronTransform_AttributeOctahedronTransform_0=function(){return(Oa=a._emscripten_bind_AttributeOctahedronTransform_AttributeOctahedronTransform_0=a.asm.L).apply(null,arguments)},zb=a._emscripten_bind_AttributeOctahedronTransform_InitFromAttribute_1=function(){return(zb=a._emscripten_bind_AttributeOctahedronTransform_InitFromAttribute_1=a.asm.M).apply(null, | ||
arguments)},Ab=a._emscripten_bind_AttributeOctahedronTransform_quantization_bits_0=function(){return(Ab=a._emscripten_bind_AttributeOctahedronTransform_quantization_bits_0=a.asm.N).apply(null,arguments)},Bb=a._emscripten_bind_AttributeOctahedronTransform___destroy___0=function(){return(Bb=a._emscripten_bind_AttributeOctahedronTransform___destroy___0=a.asm.O).apply(null,arguments)},Pa=a._emscripten_bind_PointCloud_PointCloud_0=function(){return(Pa=a._emscripten_bind_PointCloud_PointCloud_0=a.asm.P).apply(null, | ||
arguments)},Cb=a._emscripten_bind_PointCloud_num_attributes_0=function(){return(Cb=a._emscripten_bind_PointCloud_num_attributes_0=a.asm.Q).apply(null,arguments)},Db=a._emscripten_bind_PointCloud_num_points_0=function(){return(Db=a._emscripten_bind_PointCloud_num_points_0=a.asm.R).apply(null,arguments)},Eb=a._emscripten_bind_PointCloud___destroy___0=function(){return(Eb=a._emscripten_bind_PointCloud___destroy___0=a.asm.S).apply(null,arguments)},Qa=a._emscripten_bind_Mesh_Mesh_0=function(){return(Qa= | ||
a._emscripten_bind_Mesh_Mesh_0=a.asm.T).apply(null,arguments)},Fb=a._emscripten_bind_Mesh_num_faces_0=function(){return(Fb=a._emscripten_bind_Mesh_num_faces_0=a.asm.U).apply(null,arguments)},Gb=a._emscripten_bind_Mesh_num_attributes_0=function(){return(Gb=a._emscripten_bind_Mesh_num_attributes_0=a.asm.V).apply(null,arguments)},Hb=a._emscripten_bind_Mesh_num_points_0=function(){return(Hb=a._emscripten_bind_Mesh_num_points_0=a.asm.W).apply(null,arguments)},Ib=a._emscripten_bind_Mesh___destroy___0=function(){return(Ib= | ||
a._emscripten_bind_Mesh___destroy___0=a.asm.X).apply(null,arguments)},Ra=a._emscripten_bind_Metadata_Metadata_0=function(){return(Ra=a._emscripten_bind_Metadata_Metadata_0=a.asm.Y).apply(null,arguments)},Jb=a._emscripten_bind_Metadata___destroy___0=function(){return(Jb=a._emscripten_bind_Metadata___destroy___0=a.asm.Z).apply(null,arguments)},Kb=a._emscripten_bind_Status_code_0=function(){return(Kb=a._emscripten_bind_Status_code_0=a.asm._).apply(null,arguments)},Lb=a._emscripten_bind_Status_ok_0=function(){return(Lb= | ||
a._emscripten_bind_Status_ok_0=a.asm.$).apply(null,arguments)},Mb=a._emscripten_bind_Status_error_msg_0=function(){return(Mb=a._emscripten_bind_Status_error_msg_0=a.asm.aa).apply(null,arguments)},Nb=a._emscripten_bind_Status___destroy___0=function(){return(Nb=a._emscripten_bind_Status___destroy___0=a.asm.ba).apply(null,arguments)},Sa=a._emscripten_bind_DracoFloat32Array_DracoFloat32Array_0=function(){return(Sa=a._emscripten_bind_DracoFloat32Array_DracoFloat32Array_0=a.asm.ca).apply(null,arguments)}, | ||
Ob=a._emscripten_bind_DracoFloat32Array_GetValue_1=function(){return(Ob=a._emscripten_bind_DracoFloat32Array_GetValue_1=a.asm.da).apply(null,arguments)},Pb=a._emscripten_bind_DracoFloat32Array_size_0=function(){return(Pb=a._emscripten_bind_DracoFloat32Array_size_0=a.asm.ea).apply(null,arguments)},Qb=a._emscripten_bind_DracoFloat32Array___destroy___0=function(){return(Qb=a._emscripten_bind_DracoFloat32Array___destroy___0=a.asm.fa).apply(null,arguments)},Ta=a._emscripten_bind_DracoInt8Array_DracoInt8Array_0= | ||
function(){return(Ta=a._emscripten_bind_DracoInt8Array_DracoInt8Array_0=a.asm.ga).apply(null,arguments)},Rb=a._emscripten_bind_DracoInt8Array_GetValue_1=function(){return(Rb=a._emscripten_bind_DracoInt8Array_GetValue_1=a.asm.ha).apply(null,arguments)},Sb=a._emscripten_bind_DracoInt8Array_size_0=function(){return(Sb=a._emscripten_bind_DracoInt8Array_size_0=a.asm.ia).apply(null,arguments)},Tb=a._emscripten_bind_DracoInt8Array___destroy___0=function(){return(Tb=a._emscripten_bind_DracoInt8Array___destroy___0= | ||
a.asm.ja).apply(null,arguments)},Ua=a._emscripten_bind_DracoUInt8Array_DracoUInt8Array_0=function(){return(Ua=a._emscripten_bind_DracoUInt8Array_DracoUInt8Array_0=a.asm.ka).apply(null,arguments)},Ub=a._emscripten_bind_DracoUInt8Array_GetValue_1=function(){return(Ub=a._emscripten_bind_DracoUInt8Array_GetValue_1=a.asm.la).apply(null,arguments)},Vb=a._emscripten_bind_DracoUInt8Array_size_0=function(){return(Vb=a._emscripten_bind_DracoUInt8Array_size_0=a.asm.ma).apply(null,arguments)},Wb=a._emscripten_bind_DracoUInt8Array___destroy___0= | ||
function(){return(Wb=a._emscripten_bind_DracoUInt8Array___destroy___0=a.asm.na).apply(null,arguments)},Va=a._emscripten_bind_DracoInt16Array_DracoInt16Array_0=function(){return(Va=a._emscripten_bind_DracoInt16Array_DracoInt16Array_0=a.asm.oa).apply(null,arguments)},Xb=a._emscripten_bind_DracoInt16Array_GetValue_1=function(){return(Xb=a._emscripten_bind_DracoInt16Array_GetValue_1=a.asm.pa).apply(null,arguments)},Yb=a._emscripten_bind_DracoInt16Array_size_0=function(){return(Yb=a._emscripten_bind_DracoInt16Array_size_0= | ||
a.asm.qa).apply(null,arguments)},Zb=a._emscripten_bind_DracoInt16Array___destroy___0=function(){return(Zb=a._emscripten_bind_DracoInt16Array___destroy___0=a.asm.ra).apply(null,arguments)},Wa=a._emscripten_bind_DracoUInt16Array_DracoUInt16Array_0=function(){return(Wa=a._emscripten_bind_DracoUInt16Array_DracoUInt16Array_0=a.asm.sa).apply(null,arguments)},$b=a._emscripten_bind_DracoUInt16Array_GetValue_1=function(){return($b=a._emscripten_bind_DracoUInt16Array_GetValue_1=a.asm.ta).apply(null,arguments)}, | ||
ac=a._emscripten_bind_DracoUInt16Array_size_0=function(){return(ac=a._emscripten_bind_DracoUInt16Array_size_0=a.asm.ua).apply(null,arguments)},bc=a._emscripten_bind_DracoUInt16Array___destroy___0=function(){return(bc=a._emscripten_bind_DracoUInt16Array___destroy___0=a.asm.va).apply(null,arguments)},Xa=a._emscripten_bind_DracoInt32Array_DracoInt32Array_0=function(){return(Xa=a._emscripten_bind_DracoInt32Array_DracoInt32Array_0=a.asm.wa).apply(null,arguments)},cc=a._emscripten_bind_DracoInt32Array_GetValue_1= | ||
function(){return(cc=a._emscripten_bind_DracoInt32Array_GetValue_1=a.asm.xa).apply(null,arguments)},dc=a._emscripten_bind_DracoInt32Array_size_0=function(){return(dc=a._emscripten_bind_DracoInt32Array_size_0=a.asm.ya).apply(null,arguments)},ec=a._emscripten_bind_DracoInt32Array___destroy___0=function(){return(ec=a._emscripten_bind_DracoInt32Array___destroy___0=a.asm.za).apply(null,arguments)},Ya=a._emscripten_bind_DracoUInt32Array_DracoUInt32Array_0=function(){return(Ya=a._emscripten_bind_DracoUInt32Array_DracoUInt32Array_0= | ||
a.asm.Aa).apply(null,arguments)},fc=a._emscripten_bind_DracoUInt32Array_GetValue_1=function(){return(fc=a._emscripten_bind_DracoUInt32Array_GetValue_1=a.asm.Ba).apply(null,arguments)},gc=a._emscripten_bind_DracoUInt32Array_size_0=function(){return(gc=a._emscripten_bind_DracoUInt32Array_size_0=a.asm.Ca).apply(null,arguments)},hc=a._emscripten_bind_DracoUInt32Array___destroy___0=function(){return(hc=a._emscripten_bind_DracoUInt32Array___destroy___0=a.asm.Da).apply(null,arguments)},Za=a._emscripten_bind_MetadataQuerier_MetadataQuerier_0= | ||
function(){return(Za=a._emscripten_bind_MetadataQuerier_MetadataQuerier_0=a.asm.Ea).apply(null,arguments)},ic=a._emscripten_bind_MetadataQuerier_HasEntry_2=function(){return(ic=a._emscripten_bind_MetadataQuerier_HasEntry_2=a.asm.Fa).apply(null,arguments)},jc=a._emscripten_bind_MetadataQuerier_GetIntEntry_2=function(){return(jc=a._emscripten_bind_MetadataQuerier_GetIntEntry_2=a.asm.Ga).apply(null,arguments)},kc=a._emscripten_bind_MetadataQuerier_GetIntEntryArray_3=function(){return(kc=a._emscripten_bind_MetadataQuerier_GetIntEntryArray_3= | ||
a.asm.Ha).apply(null,arguments)},lc=a._emscripten_bind_MetadataQuerier_GetDoubleEntry_2=function(){return(lc=a._emscripten_bind_MetadataQuerier_GetDoubleEntry_2=a.asm.Ia).apply(null,arguments)},mc=a._emscripten_bind_MetadataQuerier_GetStringEntry_2=function(){return(mc=a._emscripten_bind_MetadataQuerier_GetStringEntry_2=a.asm.Ja).apply(null,arguments)},nc=a._emscripten_bind_MetadataQuerier_NumEntries_1=function(){return(nc=a._emscripten_bind_MetadataQuerier_NumEntries_1=a.asm.Ka).apply(null,arguments)}, | ||
oc=a._emscripten_bind_MetadataQuerier_GetEntryName_2=function(){return(oc=a._emscripten_bind_MetadataQuerier_GetEntryName_2=a.asm.La).apply(null,arguments)},pc=a._emscripten_bind_MetadataQuerier___destroy___0=function(){return(pc=a._emscripten_bind_MetadataQuerier___destroy___0=a.asm.Ma).apply(null,arguments)},$a=a._emscripten_bind_Decoder_Decoder_0=function(){return($a=a._emscripten_bind_Decoder_Decoder_0=a.asm.Na).apply(null,arguments)},qc=a._emscripten_bind_Decoder_DecodeArrayToPointCloud_3=function(){return(qc= | ||
a._emscripten_bind_Decoder_DecodeArrayToPointCloud_3=a.asm.Oa).apply(null,arguments)},rc=a._emscripten_bind_Decoder_DecodeArrayToMesh_3=function(){return(rc=a._emscripten_bind_Decoder_DecodeArrayToMesh_3=a.asm.Pa).apply(null,arguments)},sc=a._emscripten_bind_Decoder_GetAttributeId_2=function(){return(sc=a._emscripten_bind_Decoder_GetAttributeId_2=a.asm.Qa).apply(null,arguments)},tc=a._emscripten_bind_Decoder_GetAttributeIdByName_2=function(){return(tc=a._emscripten_bind_Decoder_GetAttributeIdByName_2= | ||
a.asm.Ra).apply(null,arguments)},uc=a._emscripten_bind_Decoder_GetAttributeIdByMetadataEntry_3=function(){return(uc=a._emscripten_bind_Decoder_GetAttributeIdByMetadataEntry_3=a.asm.Sa).apply(null,arguments)},vc=a._emscripten_bind_Decoder_GetAttribute_2=function(){return(vc=a._emscripten_bind_Decoder_GetAttribute_2=a.asm.Ta).apply(null,arguments)},wc=a._emscripten_bind_Decoder_GetAttributeByUniqueId_2=function(){return(wc=a._emscripten_bind_Decoder_GetAttributeByUniqueId_2=a.asm.Ua).apply(null,arguments)}, | ||
xc=a._emscripten_bind_Decoder_GetMetadata_1=function(){return(xc=a._emscripten_bind_Decoder_GetMetadata_1=a.asm.Va).apply(null,arguments)},yc=a._emscripten_bind_Decoder_GetAttributeMetadata_2=function(){return(yc=a._emscripten_bind_Decoder_GetAttributeMetadata_2=a.asm.Wa).apply(null,arguments)},zc=a._emscripten_bind_Decoder_GetFaceFromMesh_3=function(){return(zc=a._emscripten_bind_Decoder_GetFaceFromMesh_3=a.asm.Xa).apply(null,arguments)},Ac=a._emscripten_bind_Decoder_GetTriangleStripsFromMesh_2= | ||
function(){return(Ac=a._emscripten_bind_Decoder_GetTriangleStripsFromMesh_2=a.asm.Ya).apply(null,arguments)},Bc=a._emscripten_bind_Decoder_GetTrianglesUInt16Array_3=function(){return(Bc=a._emscripten_bind_Decoder_GetTrianglesUInt16Array_3=a.asm.Za).apply(null,arguments)},Cc=a._emscripten_bind_Decoder_GetTrianglesUInt32Array_3=function(){return(Cc=a._emscripten_bind_Decoder_GetTrianglesUInt32Array_3=a.asm._a).apply(null,arguments)},Dc=a._emscripten_bind_Decoder_GetAttributeFloat_3=function(){return(Dc= | ||
a._emscripten_bind_Decoder_GetAttributeFloat_3=a.asm.$a).apply(null,arguments)},Ec=a._emscripten_bind_Decoder_GetAttributeFloatForAllPoints_3=function(){return(Ec=a._emscripten_bind_Decoder_GetAttributeFloatForAllPoints_3=a.asm.ab).apply(null,arguments)},Fc=a._emscripten_bind_Decoder_GetAttributeIntForAllPoints_3=function(){return(Fc=a._emscripten_bind_Decoder_GetAttributeIntForAllPoints_3=a.asm.bb).apply(null,arguments)},Gc=a._emscripten_bind_Decoder_GetAttributeInt8ForAllPoints_3=function(){return(Gc= | ||
a._emscripten_bind_Decoder_GetAttributeInt8ForAllPoints_3=a.asm.cb).apply(null,arguments)},Hc=a._emscripten_bind_Decoder_GetAttributeUInt8ForAllPoints_3=function(){return(Hc=a._emscripten_bind_Decoder_GetAttributeUInt8ForAllPoints_3=a.asm.db).apply(null,arguments)},Ic=a._emscripten_bind_Decoder_GetAttributeInt16ForAllPoints_3=function(){return(Ic=a._emscripten_bind_Decoder_GetAttributeInt16ForAllPoints_3=a.asm.eb).apply(null,arguments)},Jc=a._emscripten_bind_Decoder_GetAttributeUInt16ForAllPoints_3= | ||
function(){return(Jc=a._emscripten_bind_Decoder_GetAttributeUInt16ForAllPoints_3=a.asm.fb).apply(null,arguments)},Kc=a._emscripten_bind_Decoder_GetAttributeInt32ForAllPoints_3=function(){return(Kc=a._emscripten_bind_Decoder_GetAttributeInt32ForAllPoints_3=a.asm.gb).apply(null,arguments)},Lc=a._emscripten_bind_Decoder_GetAttributeUInt32ForAllPoints_3=function(){return(Lc=a._emscripten_bind_Decoder_GetAttributeUInt32ForAllPoints_3=a.asm.hb).apply(null,arguments)},Mc=a._emscripten_bind_Decoder_GetAttributeDataArrayForAllPoints_5= | ||
function(){return(Mc=a._emscripten_bind_Decoder_GetAttributeDataArrayForAllPoints_5=a.asm.ib).apply(null,arguments)},Nc=a._emscripten_bind_Decoder_SkipAttributeTransform_1=function(){return(Nc=a._emscripten_bind_Decoder_SkipAttributeTransform_1=a.asm.jb).apply(null,arguments)},Oc=a._emscripten_bind_Decoder_GetEncodedGeometryType_Deprecated_1=function(){return(Oc=a._emscripten_bind_Decoder_GetEncodedGeometryType_Deprecated_1=a.asm.kb).apply(null,arguments)},Pc=a._emscripten_bind_Decoder_DecodeBufferToPointCloud_2= | ||
function(){return(Pc=a._emscripten_bind_Decoder_DecodeBufferToPointCloud_2=a.asm.lb).apply(null,arguments)},Qc=a._emscripten_bind_Decoder_DecodeBufferToMesh_2=function(){return(Qc=a._emscripten_bind_Decoder_DecodeBufferToMesh_2=a.asm.mb).apply(null,arguments)},Rc=a._emscripten_bind_Decoder___destroy___0=function(){return(Rc=a._emscripten_bind_Decoder___destroy___0=a.asm.nb).apply(null,arguments)},Sc=a._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_INVALID_TRANSFORM=function(){return(Sc=a._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_INVALID_TRANSFORM= | ||
a.asm.ob).apply(null,arguments)},Tc=a._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_NO_TRANSFORM=function(){return(Tc=a._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_NO_TRANSFORM=a.asm.pb).apply(null,arguments)},Uc=a._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_QUANTIZATION_TRANSFORM=function(){return(Uc=a._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_QUANTIZATION_TRANSFORM=a.asm.qb).apply(null,arguments)},Vc=a._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_OCTAHEDRON_TRANSFORM= | ||
function(){return(Vc=a._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_OCTAHEDRON_TRANSFORM=a.asm.rb).apply(null,arguments)},Wc=a._emscripten_enum_draco_GeometryAttribute_Type_INVALID=function(){return(Wc=a._emscripten_enum_draco_GeometryAttribute_Type_INVALID=a.asm.sb).apply(null,arguments)},Xc=a._emscripten_enum_draco_GeometryAttribute_Type_POSITION=function(){return(Xc=a._emscripten_enum_draco_GeometryAttribute_Type_POSITION=a.asm.tb).apply(null,arguments)},Yc=a._emscripten_enum_draco_GeometryAttribute_Type_NORMAL= | ||
function(){return(Yc=a._emscripten_enum_draco_GeometryAttribute_Type_NORMAL=a.asm.ub).apply(null,arguments)},Zc=a._emscripten_enum_draco_GeometryAttribute_Type_COLOR=function(){return(Zc=a._emscripten_enum_draco_GeometryAttribute_Type_COLOR=a.asm.vb).apply(null,arguments)},$c=a._emscripten_enum_draco_GeometryAttribute_Type_TEX_COORD=function(){return($c=a._emscripten_enum_draco_GeometryAttribute_Type_TEX_COORD=a.asm.wb).apply(null,arguments)},ad=a._emscripten_enum_draco_GeometryAttribute_Type_GENERIC= | ||
function(){return(ad=a._emscripten_enum_draco_GeometryAttribute_Type_GENERIC=a.asm.xb).apply(null,arguments)},bd=a._emscripten_enum_draco_EncodedGeometryType_INVALID_GEOMETRY_TYPE=function(){return(bd=a._emscripten_enum_draco_EncodedGeometryType_INVALID_GEOMETRY_TYPE=a.asm.yb).apply(null,arguments)},cd=a._emscripten_enum_draco_EncodedGeometryType_POINT_CLOUD=function(){return(cd=a._emscripten_enum_draco_EncodedGeometryType_POINT_CLOUD=a.asm.zb).apply(null,arguments)},dd=a._emscripten_enum_draco_EncodedGeometryType_TRIANGULAR_MESH= | ||
function(){return(dd=a._emscripten_enum_draco_EncodedGeometryType_TRIANGULAR_MESH=a.asm.Ab).apply(null,arguments)},ed=a._emscripten_enum_draco_DataType_DT_INVALID=function(){return(ed=a._emscripten_enum_draco_DataType_DT_INVALID=a.asm.Bb).apply(null,arguments)},fd=a._emscripten_enum_draco_DataType_DT_INT8=function(){return(fd=a._emscripten_enum_draco_DataType_DT_INT8=a.asm.Cb).apply(null,arguments)},gd=a._emscripten_enum_draco_DataType_DT_UINT8=function(){return(gd=a._emscripten_enum_draco_DataType_DT_UINT8= | ||
a.asm.Db).apply(null,arguments)},hd=a._emscripten_enum_draco_DataType_DT_INT16=function(){return(hd=a._emscripten_enum_draco_DataType_DT_INT16=a.asm.Eb).apply(null,arguments)},id=a._emscripten_enum_draco_DataType_DT_UINT16=function(){return(id=a._emscripten_enum_draco_DataType_DT_UINT16=a.asm.Fb).apply(null,arguments)},jd=a._emscripten_enum_draco_DataType_DT_INT32=function(){return(jd=a._emscripten_enum_draco_DataType_DT_INT32=a.asm.Gb).apply(null,arguments)},kd=a._emscripten_enum_draco_DataType_DT_UINT32= | ||
function(){return(kd=a._emscripten_enum_draco_DataType_DT_UINT32=a.asm.Hb).apply(null,arguments)},ld=a._emscripten_enum_draco_DataType_DT_INT64=function(){return(ld=a._emscripten_enum_draco_DataType_DT_INT64=a.asm.Ib).apply(null,arguments)},md=a._emscripten_enum_draco_DataType_DT_UINT64=function(){return(md=a._emscripten_enum_draco_DataType_DT_UINT64=a.asm.Jb).apply(null,arguments)},nd=a._emscripten_enum_draco_DataType_DT_FLOAT32=function(){return(nd=a._emscripten_enum_draco_DataType_DT_FLOAT32=a.asm.Kb).apply(null, | ||
arguments)},od=a._emscripten_enum_draco_DataType_DT_FLOAT64=function(){return(od=a._emscripten_enum_draco_DataType_DT_FLOAT64=a.asm.Lb).apply(null,arguments)},pd=a._emscripten_enum_draco_DataType_DT_BOOL=function(){return(pd=a._emscripten_enum_draco_DataType_DT_BOOL=a.asm.Mb).apply(null,arguments)},qd=a._emscripten_enum_draco_DataType_DT_TYPES_COUNT=function(){return(qd=a._emscripten_enum_draco_DataType_DT_TYPES_COUNT=a.asm.Nb).apply(null,arguments)},rd=a._emscripten_enum_draco_StatusCode_OK=function(){return(rd= | ||
a._emscripten_enum_draco_StatusCode_OK=a.asm.Ob).apply(null,arguments)},sd=a._emscripten_enum_draco_StatusCode_DRACO_ERROR=function(){return(sd=a._emscripten_enum_draco_StatusCode_DRACO_ERROR=a.asm.Pb).apply(null,arguments)},td=a._emscripten_enum_draco_StatusCode_IO_ERROR=function(){return(td=a._emscripten_enum_draco_StatusCode_IO_ERROR=a.asm.Qb).apply(null,arguments)},ud=a._emscripten_enum_draco_StatusCode_INVALID_PARAMETER=function(){return(ud=a._emscripten_enum_draco_StatusCode_INVALID_PARAMETER= | ||
a.asm.Rb).apply(null,arguments)},vd=a._emscripten_enum_draco_StatusCode_UNSUPPORTED_VERSION=function(){return(vd=a._emscripten_enum_draco_StatusCode_UNSUPPORTED_VERSION=a.asm.Sb).apply(null,arguments)},wd=a._emscripten_enum_draco_StatusCode_UNKNOWN_VERSION=function(){return(wd=a._emscripten_enum_draco_StatusCode_UNKNOWN_VERSION=a.asm.Tb).apply(null,arguments)},db=a._malloc=function(){return(db=a._malloc=a.asm.Ub).apply(null,arguments)};a._free=function(){return(a._free=a.asm.Vb).apply(null,arguments)}; | ||
var qa;na=function b(){qa||V();qa||(na=b)};a.run=V;if(a.preInit)for("function"==typeof a.preInit&&(a.preInit=[a.preInit]);0<a.preInit.length;)a.preInit.pop()();V();v.prototype=Object.create(v.prototype);v.prototype.constructor=v;v.prototype.__class__=v;v.__cache__={};a.WrapperObject=v;a.getCache=x;a.wrapPointer=R;a.castObject=function(b,c){return R(b.ptr,c)};a.NULL=R(0);a.destroy=function(b){if(!b.__destroy__)throw"Error: Cannot destroy object. (Did you create it yourself?)";b.__destroy__();delete x(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+=r.needed;r.needed=0}r.buffer||(r.size+=128,r.buffer=a._malloc(r.size),q(r.buffer));r.pos=0},alloc:function(b,c){q(r.buffer);b=b.length*c.BYTES_PER_ELEMENT;b=b+7&-8;r.pos+b>=r.size?(q(0<b), | ||
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 f=0;f<b.length;f++)c[d+f]=b[f]}};aa.prototype=Object.create(v.prototype);aa.prototype.constructor=aa;aa.prototype.__class__=aa;aa.__cache__={};a.VoidPtr=aa;aa.prototype.__destroy__=aa.prototype.__destroy__=function(){eb(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=wa(b));c&&"object"===typeof c&&(c=c.ptr);fb(d,b,c)};S.prototype.__destroy__=S.prototype.__destroy__=function(){gb(this.ptr)};Q.prototype=Object.create(v.prototype);Q.prototype.constructor=Q;Q.prototype.__class__=Q;Q.__cache__={};a.AttributeTransformData=Q;Q.prototype.transform_type=Q.prototype.transform_type=function(){return hb(this.ptr)};Q.prototype.__destroy__=Q.prototype.__destroy__= | ||
function(){ib(this.ptr)};Y.prototype=Object.create(v.prototype);Y.prototype.constructor=Y;Y.prototype.__class__=Y;Y.__cache__={};a.GeometryAttribute=Y;Y.prototype.__destroy__=Y.prototype.__destroy__=function(){jb(this.ptr)};w.prototype=Object.create(v.prototype);w.prototype.constructor=w;w.prototype.__class__=w;w.__cache__={};a.PointAttribute=w;w.prototype.size=w.prototype.size=function(){return kb(this.ptr)};w.prototype.GetAttributeTransformData=w.prototype.GetAttributeTransformData=function(){return R(lb(this.ptr), | ||
Q)};w.prototype.attribute_type=w.prototype.attribute_type=function(){return mb(this.ptr)};w.prototype.data_type=w.prototype.data_type=function(){return nb(this.ptr)};w.prototype.num_components=w.prototype.num_components=function(){return ob(this.ptr)};w.prototype.normalized=w.prototype.normalized=function(){return!!pb(this.ptr)};w.prototype.byte_stride=w.prototype.byte_stride=function(){return qb(this.ptr)};w.prototype.byte_offset=w.prototype.byte_offset=function(){return rb(this.ptr)};w.prototype.unique_id= | ||
w.prototype.unique_id=function(){return sb(this.ptr)};w.prototype.__destroy__=w.prototype.__destroy__=function(){tb(this.ptr)};C.prototype=Object.create(v.prototype);C.prototype.constructor=C;C.prototype.__class__=C;C.__cache__={};a.AttributeQuantizationTransform=C;C.prototype.InitFromAttribute=C.prototype.InitFromAttribute=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);return!!ub(c,b)};C.prototype.quantization_bits=C.prototype.quantization_bits=function(){return vb(this.ptr)};C.prototype.min_value= | ||
C.prototype.min_value=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);return wb(c,b)};C.prototype.range=C.prototype.range=function(){return xb(this.ptr)};C.prototype.__destroy__=C.prototype.__destroy__=function(){yb(this.ptr)};G.prototype=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!!zb(c, | ||
b)};G.prototype.quantization_bits=G.prototype.quantization_bits=function(){return Ab(this.ptr)};G.prototype.__destroy__=G.prototype.__destroy__=function(){Bb(this.ptr)};H.prototype=Object.create(v.prototype);H.prototype.constructor=H;H.prototype.__class__=H;H.__cache__={};a.PointCloud=H;H.prototype.num_attributes=H.prototype.num_attributes=function(){return Cb(this.ptr)};H.prototype.num_points=H.prototype.num_points=function(){return Db(this.ptr)};H.prototype.__destroy__=H.prototype.__destroy__=function(){Eb(this.ptr)}; | ||
D.prototype=Object.create(v.prototype);D.prototype.constructor=D;D.prototype.__class__=D;D.__cache__={};a.Mesh=D;D.prototype.num_faces=D.prototype.num_faces=function(){return Fb(this.ptr)};D.prototype.num_attributes=D.prototype.num_attributes=function(){return Gb(this.ptr)};D.prototype.num_points=D.prototype.num_points=function(){return Hb(this.ptr)};D.prototype.__destroy__=D.prototype.__destroy__=function(){Ib(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(){Jb(this.ptr)};B.prototype=Object.create(v.prototype);B.prototype.constructor=B;B.prototype.__class__=B;B.__cache__={};a.Status=B;B.prototype.code=B.prototype.code=function(){return Kb(this.ptr)};B.prototype.ok=B.prototype.ok=function(){return!!Lb(this.ptr)};B.prototype.error_msg=B.prototype.error_msg=function(){return z(Mb(this.ptr))};B.prototype.__destroy__=B.prototype.__destroy__=function(){Nb(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 Ob(c,b)};I.prototype.size=I.prototype.size=function(){return Pb(this.ptr)};I.prototype.__destroy__=I.prototype.__destroy__=function(){Qb(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 Rb(c,b)};J.prototype.size=J.prototype.size=function(){return Sb(this.ptr)};J.prototype.__destroy__=J.prototype.__destroy__=function(){Tb(this.ptr)};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 Ub(c,b)};K.prototype.size=K.prototype.size= | ||
function(){return Vb(this.ptr)};K.prototype.__destroy__=K.prototype.__destroy__=function(){Wb(this.ptr)};L.prototype=Object.create(v.prototype);L.prototype.constructor=L;L.prototype.__class__=L;L.__cache__={};a.DracoInt16Array=L;L.prototype.GetValue=L.prototype.GetValue=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);return Xb(c,b)};L.prototype.size=L.prototype.size=function(){return Yb(this.ptr)};L.prototype.__destroy__=L.prototype.__destroy__=function(){Zb(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 $b(c,b)};M.prototype.size=M.prototype.size=function(){return ac(this.ptr)};M.prototype.__destroy__=M.prototype.__destroy__=function(){bc(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 cc(c,b)};N.prototype.size=N.prototype.size=function(){return dc(this.ptr)};N.prototype.__destroy__=N.prototype.__destroy__=function(){ec(this.ptr)};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 fc(c,b)};O.prototype.size=O.prototype.size=function(){return gc(this.ptr)}; | ||
O.prototype.__destroy__=O.prototype.__destroy__=function(){hc(this.ptr)};y.prototype=Object.create(v.prototype);y.prototype.constructor=y;y.prototype.__class__=y;y.__cache__={};a.MetadataQuerier=y;y.prototype.HasEntry=y.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:ba(c);return!!ic(d,b,c)};y.prototype.GetIntEntry=y.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:ba(c);return jc(d,b,c)};y.prototype.GetIntEntryArray=y.prototype.GetIntEntryArray=function(b,c,d){var f=this.ptr;r.prepare();b&&"object"===typeof b&&(b=b.ptr);c=c&&"object"===typeof c?c.ptr:ba(c);d&&"object"===typeof d&&(d=d.ptr);kc(f,b,c,d)};y.prototype.GetDoubleEntry=y.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:ba(c);return lc(d,b,c)};y.prototype.GetStringEntry=y.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:ba(c);return z(mc(d,b,c))};y.prototype.NumEntries=y.prototype.NumEntries=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);return nc(c,b)};y.prototype.GetEntryName=y.prototype.GetEntryName=function(b,c){var d=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);return z(oc(d,b,c))};y.prototype.__destroy__=y.prototype.__destroy__=function(){pc(this.ptr)};l.prototype=Object.create(v.prototype); | ||
l.prototype.constructor=l;l.prototype.__class__=l;l.__cache__={};a.Decoder=l;l.prototype.DecodeArrayToPointCloud=l.prototype.DecodeArrayToPointCloud=function(b,c,d){var f=this.ptr;r.prepare();"object"==typeof b&&(b=wa(b));c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);return R(qc(f,b,c,d),B)};l.prototype.DecodeArrayToMesh=l.prototype.DecodeArrayToMesh=function(b,c,d){var f=this.ptr;r.prepare();"object"==typeof b&&(b=wa(b));c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&& | ||
(d=d.ptr);return R(rc(f,b,c,d),B)};l.prototype.GetAttributeId=l.prototype.GetAttributeId=function(b,c){var d=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);return sc(d,b,c)};l.prototype.GetAttributeIdByName=l.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:ba(c);return tc(d,b,c)};l.prototype.GetAttributeIdByMetadataEntry=l.prototype.GetAttributeIdByMetadataEntry=function(b,c,d){var f= | ||
this.ptr;r.prepare();b&&"object"===typeof b&&(b=b.ptr);c=c&&"object"===typeof c?c.ptr:ba(c);d=d&&"object"===typeof d?d.ptr:ba(d);return uc(f,b,c,d)};l.prototype.GetAttribute=l.prototype.GetAttribute=function(b,c){var d=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);return R(vc(d,b,c),w)};l.prototype.GetAttributeByUniqueId=l.prototype.GetAttributeByUniqueId=function(b,c){var d=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);return R(wc(d,b, | ||
c),w)};l.prototype.GetMetadata=l.prototype.GetMetadata=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);return R(xc(c,b),T)};l.prototype.GetAttributeMetadata=l.prototype.GetAttributeMetadata=function(b,c){var d=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);return R(yc(d,b,c),T)};l.prototype.GetFaceFromMesh=l.prototype.GetFaceFromMesh=function(b,c,d){var f=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&& | ||
(d=d.ptr);return!!zc(f,b,c,d)};l.prototype.GetTriangleStripsFromMesh=l.prototype.GetTriangleStripsFromMesh=function(b,c){var d=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);return Ac(d,b,c)};l.prototype.GetTrianglesUInt16Array=l.prototype.GetTrianglesUInt16Array=function(b,c,d){var f=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);return!!Bc(f,b,c,d)};l.prototype.GetTrianglesUInt32Array=l.prototype.GetTrianglesUInt32Array= | ||
function(b,c,d){var f=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(f,b,c,d)};l.prototype.GetAttributeFloat=l.prototype.GetAttributeFloat=function(b,c,d){var f=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);return!!Dc(f,b,c,d)};l.prototype.GetAttributeFloatForAllPoints=l.prototype.GetAttributeFloatForAllPoints=function(b,c,d){var f=this.ptr;b&&"object"===typeof b&& | ||
(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);return!!Ec(f,b,c,d)};l.prototype.GetAttributeIntForAllPoints=l.prototype.GetAttributeIntForAllPoints=function(b,c,d){var f=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);return!!Fc(f,b,c,d)};l.prototype.GetAttributeInt8ForAllPoints=l.prototype.GetAttributeInt8ForAllPoints=function(b,c,d){var f=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&& | ||
(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);return!!Gc(f,b,c,d)};l.prototype.GetAttributeUInt8ForAllPoints=l.prototype.GetAttributeUInt8ForAllPoints=function(b,c,d){var f=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);return!!Hc(f,b,c,d)};l.prototype.GetAttributeInt16ForAllPoints=l.prototype.GetAttributeInt16ForAllPoints=function(b,c,d){var f=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&& | ||
(d=d.ptr);return!!Ic(f,b,c,d)};l.prototype.GetAttributeUInt16ForAllPoints=l.prototype.GetAttributeUInt16ForAllPoints=function(b,c,d){var f=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);return!!Jc(f,b,c,d)};l.prototype.GetAttributeInt32ForAllPoints=l.prototype.GetAttributeInt32ForAllPoints=function(b,c,d){var f=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);return!!Kc(f, | ||
b,c,d)};l.prototype.GetAttributeUInt32ForAllPoints=l.prototype.GetAttributeUInt32ForAllPoints=function(b,c,d){var f=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);return!!Lc(f,b,c,d)};l.prototype.GetAttributeDataArrayForAllPoints=l.prototype.GetAttributeDataArrayForAllPoints=function(b,c,d,f,t){var X=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);f&&"object"===typeof f&& | ||
(f=f.ptr);t&&"object"===typeof t&&(t=t.ptr);return!!Mc(X,b,c,d,f,t)};l.prototype.SkipAttributeTransform=l.prototype.SkipAttributeTransform=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);Nc(c,b)};l.prototype.GetEncodedGeometryType_Deprecated=l.prototype.GetEncodedGeometryType_Deprecated=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);return Oc(c,b)};l.prototype.DecodeBufferToPointCloud=l.prototype.DecodeBufferToPointCloud=function(b,c){var d=this.ptr;b&&"object"===typeof b&& | ||
(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);return R(Pc(d,b,c),B)};l.prototype.DecodeBufferToMesh=l.prototype.DecodeBufferToMesh=function(b,c){var d=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);return R(Qc(d,b,c),B)};l.prototype.__destroy__=l.prototype.__destroy__=function(){Rc(this.ptr)};(function(){function b(){a.ATTRIBUTE_INVALID_TRANSFORM=Sc();a.ATTRIBUTE_NO_TRANSFORM=Tc();a.ATTRIBUTE_QUANTIZATION_TRANSFORM=Uc();a.ATTRIBUTE_OCTAHEDRON_TRANSFORM=Vc();a.INVALID=Wc(); | ||
a.POSITION=Xc();a.NORMAL=Yc();a.COLOR=Zc();a.TEX_COORD=$c();a.GENERIC=ad();a.INVALID_GEOMETRY_TYPE=bd();a.POINT_CLOUD=cd();a.TRIANGULAR_MESH=dd();a.DT_INVALID=ed();a.DT_INT8=fd();a.DT_UINT8=gd();a.DT_INT16=hd();a.DT_UINT16=id();a.DT_INT32=jd();a.DT_UINT32=kd();a.DT_INT64=ld();a.DT_UINT64=md();a.DT_FLOAT32=nd();a.DT_FLOAT64=od();a.DT_BOOL=pd();a.DT_TYPES_COUNT=qd();a.OK=rd();a.DRACO_ERROR=sd();a.IO_ERROR=td();a.INVALID_PARAMETER=ud();a.UNSUPPORTED_VERSION=vd();a.UNKNOWN_VERSION=wd()}Fa?b():va.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);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}}(); | ||
var DracoDecoderModule=function(){var k="undefined"!==typeof document&&document.currentScript?document.currentScript.src:void 0;"undefined"!==typeof __filename&&(k=k||__filename);return function(n){function l(e){return a.locateFile?a.locateFile(e,V):V+e}function p(e,b,c){var d=b+c;for(c=b;e[c]&&!(c>=d);)++c;if(16<c-b&&e.subarray&&xa)return xa.decode(e.subarray(b,c));for(d="";b<c;){var g=e[b++];if(g&128){var t=e[b++]&63;if(192==(g&224))d+=String.fromCharCode((g&31)<<6|t);else{var W=e[b++]&63;g=224== | ||
(g&240)?(g&15)<<12|t<<6|W:(g&7)<<18|t<<12|W<<6|e[b++]&63;65536>g?d+=String.fromCharCode(g):(g-=65536,d+=String.fromCharCode(55296|g>>10,56320|g&1023))}}else d+=String.fromCharCode(g)}return d}function h(e,b){return e?p(ea,e,b):""}function A(e){ya=e;a.HEAP8=Y=new Int8Array(e);a.HEAP16=new Int16Array(e);a.HEAP32=G=new Int32Array(e);a.HEAPU8=ea=new Uint8Array(e);a.HEAPU16=new Uint16Array(e);a.HEAPU32=new Uint32Array(e);a.HEAPF32=new Float32Array(e);a.HEAPF64=new Float64Array(e)}function f(e){if(a.onAbort)a.onAbort(e); | ||
e="Aborted("+e+")";ca(e);za=!0;e=new WebAssembly.RuntimeError(e+". Build with -s ASSERTIONS=1 for more info.");oa(e);throw e;}function q(e){try{if(e==R&&fa)return new Uint8Array(fa);if(pa)return pa(e);throw"both async and sync fetching of the wasm failed";}catch(b){f(b)}}function v(){if(!fa&&(Aa||ha)){if("function"===typeof fetch&&!R.startsWith("file://"))return fetch(R,{credentials:"same-origin"}).then(function(e){if(!e.ok)throw"failed to load wasm binary file at '"+R+"'";return e.arrayBuffer()}).catch(function(){return q(R)}); | ||
if(qa)return new Promise(function(e,b){qa(R,function(c){e(new Uint8Array(c))},b)})}return Promise.resolve().then(function(){return q(R)})}function z(e){for(;0<e.length;){var b=e.shift();if("function"==typeof b)b(a);else{var c=b.func;"number"===typeof c?void 0===b.arg?F(c)():F(c)(b.arg):c(void 0===b.arg?null:b.arg)}}}function F(e){var b=ka[e];b||(e>=ka.length&&(ka.length=e+1),ka[e]=b=Ba.get(e));return b}function da(e){this.excPtr=e;this.ptr=e-16;this.set_type=function(b){G[this.ptr+4>>2]=b};this.get_type= | ||
function(){return G[this.ptr+4>>2]};this.set_destructor=function(b){G[this.ptr+8>>2]=b};this.get_destructor=function(){return G[this.ptr+8>>2]};this.set_refcount=function(b){G[this.ptr>>2]=b};this.set_caught=function(b){Y[this.ptr+12>>0]=b?1:0};this.get_caught=function(){return 0!=Y[this.ptr+12>>0]};this.set_rethrown=function(b){Y[this.ptr+13>>0]=b?1:0};this.get_rethrown=function(){return 0!=Y[this.ptr+13>>0]};this.init=function(b,c){this.set_type(b);this.set_destructor(c);this.set_refcount(0);this.set_caught(!1); | ||
this.set_rethrown(!1)};this.add_ref=function(){G[this.ptr>>2]+=1};this.release_ref=function(){var b=G[this.ptr>>2];G[this.ptr>>2]=b-1;return 1===b}}function Q(e){function b(){if(!la&&(la=!0,a.calledRun=!0,!za)){Ca=!0;z(ra);Da(a);if(a.onRuntimeInitialized)a.onRuntimeInitialized();if(a.postRun)for("function"==typeof a.postRun&&(a.postRun=[a.postRun]);a.postRun.length;)Ea.unshift(a.postRun.shift());z(Ea)}}if(!(0<ba)){if(a.preRun)for("function"==typeof a.preRun&&(a.preRun=[a.preRun]);a.preRun.length;)Fa.unshift(a.preRun.shift()); | ||
z(Fa);0<ba||(a.setStatus?(a.setStatus("Running..."),setTimeout(function(){setTimeout(function(){a.setStatus("")},1);b()},1)):b())}}function u(){}function x(e){return(e||u).__cache__}function D(e,b){var c=x(b),d=c[e];if(d)return d;d=Object.create((b||u).prototype);d.ptr=e;return c[e]=d}function aa(e){if("string"===typeof e){for(var b=0,c=0;c<e.length;++c){var d=e.charCodeAt(c);55296<=d&&57343>=d&&(d=65536+((d&1023)<<10)|e.charCodeAt(++c)&1023);127>=d?++b:b=2047>=d?b+2:65535>=d?b+3:b+4}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 W=e.charCodeAt(++g);t=65536+((t&1023)<<10)|W&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,Y);r.copy(b,Y,e);return e}return e}function sa(e){if("object"===typeof e){var b=r.alloc(e,Y);r.copy(e, | ||
Y,b);return b}return e}function Z(){throw"cannot construct a VoidPtr, no constructor in IDL";}function T(){this.ptr=Ga();x(T)[this.ptr]=this}function S(){this.ptr=Ha();x(S)[this.ptr]=this}function X(){this.ptr=Ia();x(X)[this.ptr]=this}function w(){this.ptr=Ja();x(w)[this.ptr]=this}function C(){this.ptr=Ka();x(C)[this.ptr]=this}function H(){this.ptr=La();x(H)[this.ptr]=this}function I(){this.ptr=Ma();x(I)[this.ptr]=this}function E(){this.ptr=Na();x(E)[this.ptr]=this}function U(){this.ptr=Oa();x(U)[this.ptr]= | ||
this}function B(){throw"cannot construct a Status, no constructor in IDL";}function J(){this.ptr=Pa();x(J)[this.ptr]=this}function K(){this.ptr=Qa();x(K)[this.ptr]=this}function L(){this.ptr=Ra();x(L)[this.ptr]=this}function M(){this.ptr=Sa();x(M)[this.ptr]=this}function N(){this.ptr=Ta();x(N)[this.ptr]=this}function O(){this.ptr=Ua();x(O)[this.ptr]=this}function P(){this.ptr=Va();x(P)[this.ptr]=this}function y(){this.ptr=Wa();x(y)[this.ptr]=this}function m(){this.ptr=Xa();x(m)[this.ptr]=this}n=n|| | ||
{};var a="undefined"!==typeof n?n:{},Ya=Object.assign,Da,oa;a.ready=new Promise(function(e,b){Da=e;oa=b});var Za=!1,$a=!1;a.onRuntimeInitialized=function(){Za=!0;if($a&&"function"===typeof a.onModuleLoaded)a.onModuleLoaded(a)};a.onModuleParsed=function(){$a=!0;if(Za&&"function"===typeof a.onModuleLoaded)a.onModuleLoaded(a)};a.isVersionSupported=function(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<e[1]?!1:!0};var ab=Ya({}, | ||
a),Aa="object"===typeof window,ha="function"===typeof importScripts,V="",ta,ma;if("object"===typeof process&&"object"===typeof process.versions&&"string"===typeof process.versions.node){V=ha?require("path").dirname(V)+"/":__dirname+"/";var bb=function(){ma||(ta=require("fs"),ma=require("path"))};var cb=function(e,b){bb();e=ma.normalize(e);return ta.readFileSync(e,b?null:"utf8")};var pa=function(e){e=cb(e,!0);e.buffer||(e=new Uint8Array(e));return e};var qa=function(e,b,c){bb();e=ma.normalize(e);ta.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(Aa||ha)ha?V=self.location.href:"undefined"!==typeof document&&document.currentScript&&(V=document.currentScript.src),k&&(V=k),V=0!==V.indexOf("blob:")?V.substr(0,V.replace(/[?#].*/,"").lastIndexOf("/")+1):"",cb=function(e){var b=new XMLHttpRequest;b.open("GET",e,!1);b.send(null);return b.responseText},ha&&(pa=function(e){var b= | ||
new XMLHttpRequest;b.open("GET",e,!1);b.responseType="arraybuffer";b.send(null);return new Uint8Array(b.response)}),qa=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)};var xd=a.print||console.log.bind(console),ca=a.printErr||console.warn.bind(console);Ya(a,ab);ab=null;var fa;a.wasmBinary&&(fa=a.wasmBinary);"object"!==typeof WebAssembly&&f("no native wasm support detected"); | ||
var na,za=!1,xa="undefined"!==typeof TextDecoder?new TextDecoder("utf8"):void 0,ya,Y,ea,G,Ba,Fa=[],ra=[],Ea=[],Ca=!1,ba=0,ua=null,ia=null;a.preloadedImages={};a.preloadedAudios={};var R="draco_decoder.wasm";R.startsWith("data:application/octet-stream;base64,")||(R=l(R));var ka=[],yd=0,ja={mappings:{},buffers:[null,[],[]],printChar:function(e,b){var c=ja.buffers[e];0===b||10===b?((1===e?xd:ca)(p(c,0)),c.length=0):c.push(b)},varargs:void 0,get:function(){ja.varargs+=4;return G[ja.varargs-4>>2]},getStr:function(e){return h(e)}, | ||
get64:function(e,b){return e}},zd={h:function(e){return db(e+16)+16},g:function(e,b,c){(new da(e)).init(b,c);yd++;throw e;},a:function(){f("")},f:function(e,b,c){ea.copyWithin(e,b,b+c)},d:function(e){var b=ea.length;e>>>=0;if(2147483648<e)return!1;for(var c=1;4>=c;c*=2){var d=b*(1+.2/c);d=Math.min(d,e+100663296);var g=Math,t=g.min;d=Math.max(e,d);0<d%65536&&(d+=65536-d%65536);g=t.call(g,2147483648,d);a:{try{na.grow(g-ya.byteLength+65535>>>16);A(na.buffer);var W=1;break a}catch(va){}W=void 0}if(W)return!0}return!1}, | ||
e:function(e){return 0},c:function(e,b,c,d,g){},b:function(e,b,c,d){for(var g=0,t=0;t<c;t++){var W=G[b>>2],va=G[b+4>>2];b+=8;for(var wa=0;wa<va;wa++)ja.printChar(e,ea[W+wa]);g+=va}G[d>>2]=g;return 0}};(function(){function e(g,t){a.asm=g.exports;na=a.asm.i;A(na.buffer);Ba=a.asm.k;ra.unshift(a.asm.j);ba--;a.monitorRunDependencies&&a.monitorRunDependencies(ba);0==ba&&(null!==ua&&(clearInterval(ua),ua=null),ia&&(g=ia,ia=null,g()))}function b(g){e(g.instance)}function c(g){return v().then(function(t){return WebAssembly.instantiate(t, | ||
d)}).then(function(t){return t}).then(g,function(t){ca("failed to asynchronously prepare wasm: "+t);f(t)})}var d={a:zd};ba++;a.monitorRunDependencies&&a.monitorRunDependencies(ba);if(a.instantiateWasm)try{return a.instantiateWasm(d,e)}catch(g){return ca("Module.instantiateWasm callback failed with error: "+g),!1}(function(){return fa||"function"!==typeof WebAssembly.instantiateStreaming||R.startsWith("data:application/octet-stream;base64,")||R.startsWith("file://")||"function"!==typeof fetch?c(b): | ||
fetch(R,{credentials:"same-origin"}).then(function(g){return WebAssembly.instantiateStreaming(g,d).then(b,function(t){ca("wasm streaming compile failed: "+t);ca("falling back to ArrayBuffer instantiation");return c(b)})})})().catch(oa);return{}})();a.___wasm_call_ctors=function(){return(a.___wasm_call_ctors=a.asm.j).apply(null,arguments)};var eb=a._emscripten_bind_VoidPtr___destroy___0=function(){return(eb=a._emscripten_bind_VoidPtr___destroy___0=a.asm.l).apply(null,arguments)},Ga=a._emscripten_bind_DecoderBuffer_DecoderBuffer_0= | ||
function(){return(Ga=a._emscripten_bind_DecoderBuffer_DecoderBuffer_0=a.asm.m).apply(null,arguments)},fb=a._emscripten_bind_DecoderBuffer_Init_2=function(){return(fb=a._emscripten_bind_DecoderBuffer_Init_2=a.asm.n).apply(null,arguments)},gb=a._emscripten_bind_DecoderBuffer___destroy___0=function(){return(gb=a._emscripten_bind_DecoderBuffer___destroy___0=a.asm.o).apply(null,arguments)},Ha=a._emscripten_bind_AttributeTransformData_AttributeTransformData_0=function(){return(Ha=a._emscripten_bind_AttributeTransformData_AttributeTransformData_0= | ||
a.asm.p).apply(null,arguments)},hb=a._emscripten_bind_AttributeTransformData_transform_type_0=function(){return(hb=a._emscripten_bind_AttributeTransformData_transform_type_0=a.asm.q).apply(null,arguments)},ib=a._emscripten_bind_AttributeTransformData___destroy___0=function(){return(ib=a._emscripten_bind_AttributeTransformData___destroy___0=a.asm.r).apply(null,arguments)},Ia=a._emscripten_bind_GeometryAttribute_GeometryAttribute_0=function(){return(Ia=a._emscripten_bind_GeometryAttribute_GeometryAttribute_0= | ||
a.asm.s).apply(null,arguments)},jb=a._emscripten_bind_GeometryAttribute___destroy___0=function(){return(jb=a._emscripten_bind_GeometryAttribute___destroy___0=a.asm.t).apply(null,arguments)},Ja=a._emscripten_bind_PointAttribute_PointAttribute_0=function(){return(Ja=a._emscripten_bind_PointAttribute_PointAttribute_0=a.asm.u).apply(null,arguments)},kb=a._emscripten_bind_PointAttribute_size_0=function(){return(kb=a._emscripten_bind_PointAttribute_size_0=a.asm.v).apply(null,arguments)},lb=a._emscripten_bind_PointAttribute_GetAttributeTransformData_0= | ||
function(){return(lb=a._emscripten_bind_PointAttribute_GetAttributeTransformData_0=a.asm.w).apply(null,arguments)},mb=a._emscripten_bind_PointAttribute_attribute_type_0=function(){return(mb=a._emscripten_bind_PointAttribute_attribute_type_0=a.asm.x).apply(null,arguments)},nb=a._emscripten_bind_PointAttribute_data_type_0=function(){return(nb=a._emscripten_bind_PointAttribute_data_type_0=a.asm.y).apply(null,arguments)},ob=a._emscripten_bind_PointAttribute_num_components_0=function(){return(ob=a._emscripten_bind_PointAttribute_num_components_0= | ||
a.asm.z).apply(null,arguments)},pb=a._emscripten_bind_PointAttribute_normalized_0=function(){return(pb=a._emscripten_bind_PointAttribute_normalized_0=a.asm.A).apply(null,arguments)},qb=a._emscripten_bind_PointAttribute_byte_stride_0=function(){return(qb=a._emscripten_bind_PointAttribute_byte_stride_0=a.asm.B).apply(null,arguments)},rb=a._emscripten_bind_PointAttribute_byte_offset_0=function(){return(rb=a._emscripten_bind_PointAttribute_byte_offset_0=a.asm.C).apply(null,arguments)},sb=a._emscripten_bind_PointAttribute_unique_id_0= | ||
function(){return(sb=a._emscripten_bind_PointAttribute_unique_id_0=a.asm.D).apply(null,arguments)},tb=a._emscripten_bind_PointAttribute___destroy___0=function(){return(tb=a._emscripten_bind_PointAttribute___destroy___0=a.asm.E).apply(null,arguments)},Ka=a._emscripten_bind_AttributeQuantizationTransform_AttributeQuantizationTransform_0=function(){return(Ka=a._emscripten_bind_AttributeQuantizationTransform_AttributeQuantizationTransform_0=a.asm.F).apply(null,arguments)},ub=a._emscripten_bind_AttributeQuantizationTransform_InitFromAttribute_1= | ||
function(){return(ub=a._emscripten_bind_AttributeQuantizationTransform_InitFromAttribute_1=a.asm.G).apply(null,arguments)},vb=a._emscripten_bind_AttributeQuantizationTransform_quantization_bits_0=function(){return(vb=a._emscripten_bind_AttributeQuantizationTransform_quantization_bits_0=a.asm.H).apply(null,arguments)},wb=a._emscripten_bind_AttributeQuantizationTransform_min_value_1=function(){return(wb=a._emscripten_bind_AttributeQuantizationTransform_min_value_1=a.asm.I).apply(null,arguments)},xb= | ||
a._emscripten_bind_AttributeQuantizationTransform_range_0=function(){return(xb=a._emscripten_bind_AttributeQuantizationTransform_range_0=a.asm.J).apply(null,arguments)},yb=a._emscripten_bind_AttributeQuantizationTransform___destroy___0=function(){return(yb=a._emscripten_bind_AttributeQuantizationTransform___destroy___0=a.asm.K).apply(null,arguments)},La=a._emscripten_bind_AttributeOctahedronTransform_AttributeOctahedronTransform_0=function(){return(La=a._emscripten_bind_AttributeOctahedronTransform_AttributeOctahedronTransform_0= | ||
a.asm.L).apply(null,arguments)},zb=a._emscripten_bind_AttributeOctahedronTransform_InitFromAttribute_1=function(){return(zb=a._emscripten_bind_AttributeOctahedronTransform_InitFromAttribute_1=a.asm.M).apply(null,arguments)},Ab=a._emscripten_bind_AttributeOctahedronTransform_quantization_bits_0=function(){return(Ab=a._emscripten_bind_AttributeOctahedronTransform_quantization_bits_0=a.asm.N).apply(null,arguments)},Bb=a._emscripten_bind_AttributeOctahedronTransform___destroy___0=function(){return(Bb= | ||
a._emscripten_bind_AttributeOctahedronTransform___destroy___0=a.asm.O).apply(null,arguments)},Ma=a._emscripten_bind_PointCloud_PointCloud_0=function(){return(Ma=a._emscripten_bind_PointCloud_PointCloud_0=a.asm.P).apply(null,arguments)},Cb=a._emscripten_bind_PointCloud_num_attributes_0=function(){return(Cb=a._emscripten_bind_PointCloud_num_attributes_0=a.asm.Q).apply(null,arguments)},Db=a._emscripten_bind_PointCloud_num_points_0=function(){return(Db=a._emscripten_bind_PointCloud_num_points_0=a.asm.R).apply(null, | ||
arguments)},Eb=a._emscripten_bind_PointCloud___destroy___0=function(){return(Eb=a._emscripten_bind_PointCloud___destroy___0=a.asm.S).apply(null,arguments)},Na=a._emscripten_bind_Mesh_Mesh_0=function(){return(Na=a._emscripten_bind_Mesh_Mesh_0=a.asm.T).apply(null,arguments)},Fb=a._emscripten_bind_Mesh_num_faces_0=function(){return(Fb=a._emscripten_bind_Mesh_num_faces_0=a.asm.U).apply(null,arguments)},Gb=a._emscripten_bind_Mesh_num_attributes_0=function(){return(Gb=a._emscripten_bind_Mesh_num_attributes_0= | ||
a.asm.V).apply(null,arguments)},Hb=a._emscripten_bind_Mesh_num_points_0=function(){return(Hb=a._emscripten_bind_Mesh_num_points_0=a.asm.W).apply(null,arguments)},Ib=a._emscripten_bind_Mesh___destroy___0=function(){return(Ib=a._emscripten_bind_Mesh___destroy___0=a.asm.X).apply(null,arguments)},Oa=a._emscripten_bind_Metadata_Metadata_0=function(){return(Oa=a._emscripten_bind_Metadata_Metadata_0=a.asm.Y).apply(null,arguments)},Jb=a._emscripten_bind_Metadata___destroy___0=function(){return(Jb=a._emscripten_bind_Metadata___destroy___0= | ||
a.asm.Z).apply(null,arguments)},Kb=a._emscripten_bind_Status_code_0=function(){return(Kb=a._emscripten_bind_Status_code_0=a.asm._).apply(null,arguments)},Lb=a._emscripten_bind_Status_ok_0=function(){return(Lb=a._emscripten_bind_Status_ok_0=a.asm.$).apply(null,arguments)},Mb=a._emscripten_bind_Status_error_msg_0=function(){return(Mb=a._emscripten_bind_Status_error_msg_0=a.asm.aa).apply(null,arguments)},Nb=a._emscripten_bind_Status___destroy___0=function(){return(Nb=a._emscripten_bind_Status___destroy___0= | ||
a.asm.ba).apply(null,arguments)},Pa=a._emscripten_bind_DracoFloat32Array_DracoFloat32Array_0=function(){return(Pa=a._emscripten_bind_DracoFloat32Array_DracoFloat32Array_0=a.asm.ca).apply(null,arguments)},Ob=a._emscripten_bind_DracoFloat32Array_GetValue_1=function(){return(Ob=a._emscripten_bind_DracoFloat32Array_GetValue_1=a.asm.da).apply(null,arguments)},Pb=a._emscripten_bind_DracoFloat32Array_size_0=function(){return(Pb=a._emscripten_bind_DracoFloat32Array_size_0=a.asm.ea).apply(null,arguments)}, | ||
Qb=a._emscripten_bind_DracoFloat32Array___destroy___0=function(){return(Qb=a._emscripten_bind_DracoFloat32Array___destroy___0=a.asm.fa).apply(null,arguments)},Qa=a._emscripten_bind_DracoInt8Array_DracoInt8Array_0=function(){return(Qa=a._emscripten_bind_DracoInt8Array_DracoInt8Array_0=a.asm.ga).apply(null,arguments)},Rb=a._emscripten_bind_DracoInt8Array_GetValue_1=function(){return(Rb=a._emscripten_bind_DracoInt8Array_GetValue_1=a.asm.ha).apply(null,arguments)},Sb=a._emscripten_bind_DracoInt8Array_size_0= | ||
function(){return(Sb=a._emscripten_bind_DracoInt8Array_size_0=a.asm.ia).apply(null,arguments)},Tb=a._emscripten_bind_DracoInt8Array___destroy___0=function(){return(Tb=a._emscripten_bind_DracoInt8Array___destroy___0=a.asm.ja).apply(null,arguments)},Ra=a._emscripten_bind_DracoUInt8Array_DracoUInt8Array_0=function(){return(Ra=a._emscripten_bind_DracoUInt8Array_DracoUInt8Array_0=a.asm.ka).apply(null,arguments)},Ub=a._emscripten_bind_DracoUInt8Array_GetValue_1=function(){return(Ub=a._emscripten_bind_DracoUInt8Array_GetValue_1= | ||
a.asm.la).apply(null,arguments)},Vb=a._emscripten_bind_DracoUInt8Array_size_0=function(){return(Vb=a._emscripten_bind_DracoUInt8Array_size_0=a.asm.ma).apply(null,arguments)},Wb=a._emscripten_bind_DracoUInt8Array___destroy___0=function(){return(Wb=a._emscripten_bind_DracoUInt8Array___destroy___0=a.asm.na).apply(null,arguments)},Sa=a._emscripten_bind_DracoInt16Array_DracoInt16Array_0=function(){return(Sa=a._emscripten_bind_DracoInt16Array_DracoInt16Array_0=a.asm.oa).apply(null,arguments)},Xb=a._emscripten_bind_DracoInt16Array_GetValue_1= | ||
function(){return(Xb=a._emscripten_bind_DracoInt16Array_GetValue_1=a.asm.pa).apply(null,arguments)},Yb=a._emscripten_bind_DracoInt16Array_size_0=function(){return(Yb=a._emscripten_bind_DracoInt16Array_size_0=a.asm.qa).apply(null,arguments)},Zb=a._emscripten_bind_DracoInt16Array___destroy___0=function(){return(Zb=a._emscripten_bind_DracoInt16Array___destroy___0=a.asm.ra).apply(null,arguments)},Ta=a._emscripten_bind_DracoUInt16Array_DracoUInt16Array_0=function(){return(Ta=a._emscripten_bind_DracoUInt16Array_DracoUInt16Array_0= | ||
a.asm.sa).apply(null,arguments)},$b=a._emscripten_bind_DracoUInt16Array_GetValue_1=function(){return($b=a._emscripten_bind_DracoUInt16Array_GetValue_1=a.asm.ta).apply(null,arguments)},ac=a._emscripten_bind_DracoUInt16Array_size_0=function(){return(ac=a._emscripten_bind_DracoUInt16Array_size_0=a.asm.ua).apply(null,arguments)},bc=a._emscripten_bind_DracoUInt16Array___destroy___0=function(){return(bc=a._emscripten_bind_DracoUInt16Array___destroy___0=a.asm.va).apply(null,arguments)},Ua=a._emscripten_bind_DracoInt32Array_DracoInt32Array_0= | ||
function(){return(Ua=a._emscripten_bind_DracoInt32Array_DracoInt32Array_0=a.asm.wa).apply(null,arguments)},cc=a._emscripten_bind_DracoInt32Array_GetValue_1=function(){return(cc=a._emscripten_bind_DracoInt32Array_GetValue_1=a.asm.xa).apply(null,arguments)},dc=a._emscripten_bind_DracoInt32Array_size_0=function(){return(dc=a._emscripten_bind_DracoInt32Array_size_0=a.asm.ya).apply(null,arguments)},ec=a._emscripten_bind_DracoInt32Array___destroy___0=function(){return(ec=a._emscripten_bind_DracoInt32Array___destroy___0= | ||
a.asm.za).apply(null,arguments)},Va=a._emscripten_bind_DracoUInt32Array_DracoUInt32Array_0=function(){return(Va=a._emscripten_bind_DracoUInt32Array_DracoUInt32Array_0=a.asm.Aa).apply(null,arguments)},fc=a._emscripten_bind_DracoUInt32Array_GetValue_1=function(){return(fc=a._emscripten_bind_DracoUInt32Array_GetValue_1=a.asm.Ba).apply(null,arguments)},gc=a._emscripten_bind_DracoUInt32Array_size_0=function(){return(gc=a._emscripten_bind_DracoUInt32Array_size_0=a.asm.Ca).apply(null,arguments)},hc=a._emscripten_bind_DracoUInt32Array___destroy___0= | ||
function(){return(hc=a._emscripten_bind_DracoUInt32Array___destroy___0=a.asm.Da).apply(null,arguments)},Wa=a._emscripten_bind_MetadataQuerier_MetadataQuerier_0=function(){return(Wa=a._emscripten_bind_MetadataQuerier_MetadataQuerier_0=a.asm.Ea).apply(null,arguments)},ic=a._emscripten_bind_MetadataQuerier_HasEntry_2=function(){return(ic=a._emscripten_bind_MetadataQuerier_HasEntry_2=a.asm.Fa).apply(null,arguments)},jc=a._emscripten_bind_MetadataQuerier_GetIntEntry_2=function(){return(jc=a._emscripten_bind_MetadataQuerier_GetIntEntry_2= | ||
a.asm.Ga).apply(null,arguments)},kc=a._emscripten_bind_MetadataQuerier_GetIntEntryArray_3=function(){return(kc=a._emscripten_bind_MetadataQuerier_GetIntEntryArray_3=a.asm.Ha).apply(null,arguments)},lc=a._emscripten_bind_MetadataQuerier_GetDoubleEntry_2=function(){return(lc=a._emscripten_bind_MetadataQuerier_GetDoubleEntry_2=a.asm.Ia).apply(null,arguments)},mc=a._emscripten_bind_MetadataQuerier_GetStringEntry_2=function(){return(mc=a._emscripten_bind_MetadataQuerier_GetStringEntry_2=a.asm.Ja).apply(null, | ||
arguments)},nc=a._emscripten_bind_MetadataQuerier_NumEntries_1=function(){return(nc=a._emscripten_bind_MetadataQuerier_NumEntries_1=a.asm.Ka).apply(null,arguments)},oc=a._emscripten_bind_MetadataQuerier_GetEntryName_2=function(){return(oc=a._emscripten_bind_MetadataQuerier_GetEntryName_2=a.asm.La).apply(null,arguments)},pc=a._emscripten_bind_MetadataQuerier___destroy___0=function(){return(pc=a._emscripten_bind_MetadataQuerier___destroy___0=a.asm.Ma).apply(null,arguments)},Xa=a._emscripten_bind_Decoder_Decoder_0= | ||
function(){return(Xa=a._emscripten_bind_Decoder_Decoder_0=a.asm.Na).apply(null,arguments)},qc=a._emscripten_bind_Decoder_DecodeArrayToPointCloud_3=function(){return(qc=a._emscripten_bind_Decoder_DecodeArrayToPointCloud_3=a.asm.Oa).apply(null,arguments)},rc=a._emscripten_bind_Decoder_DecodeArrayToMesh_3=function(){return(rc=a._emscripten_bind_Decoder_DecodeArrayToMesh_3=a.asm.Pa).apply(null,arguments)},sc=a._emscripten_bind_Decoder_GetAttributeId_2=function(){return(sc=a._emscripten_bind_Decoder_GetAttributeId_2= | ||
a.asm.Qa).apply(null,arguments)},tc=a._emscripten_bind_Decoder_GetAttributeIdByName_2=function(){return(tc=a._emscripten_bind_Decoder_GetAttributeIdByName_2=a.asm.Ra).apply(null,arguments)},uc=a._emscripten_bind_Decoder_GetAttributeIdByMetadataEntry_3=function(){return(uc=a._emscripten_bind_Decoder_GetAttributeIdByMetadataEntry_3=a.asm.Sa).apply(null,arguments)},vc=a._emscripten_bind_Decoder_GetAttribute_2=function(){return(vc=a._emscripten_bind_Decoder_GetAttribute_2=a.asm.Ta).apply(null,arguments)}, | ||
wc=a._emscripten_bind_Decoder_GetAttributeByUniqueId_2=function(){return(wc=a._emscripten_bind_Decoder_GetAttributeByUniqueId_2=a.asm.Ua).apply(null,arguments)},xc=a._emscripten_bind_Decoder_GetMetadata_1=function(){return(xc=a._emscripten_bind_Decoder_GetMetadata_1=a.asm.Va).apply(null,arguments)},yc=a._emscripten_bind_Decoder_GetAttributeMetadata_2=function(){return(yc=a._emscripten_bind_Decoder_GetAttributeMetadata_2=a.asm.Wa).apply(null,arguments)},zc=a._emscripten_bind_Decoder_GetFaceFromMesh_3= | ||
function(){return(zc=a._emscripten_bind_Decoder_GetFaceFromMesh_3=a.asm.Xa).apply(null,arguments)},Ac=a._emscripten_bind_Decoder_GetTriangleStripsFromMesh_2=function(){return(Ac=a._emscripten_bind_Decoder_GetTriangleStripsFromMesh_2=a.asm.Ya).apply(null,arguments)},Bc=a._emscripten_bind_Decoder_GetTrianglesUInt16Array_3=function(){return(Bc=a._emscripten_bind_Decoder_GetTrianglesUInt16Array_3=a.asm.Za).apply(null,arguments)},Cc=a._emscripten_bind_Decoder_GetTrianglesUInt32Array_3=function(){return(Cc= | ||
a._emscripten_bind_Decoder_GetTrianglesUInt32Array_3=a.asm._a).apply(null,arguments)},Dc=a._emscripten_bind_Decoder_GetAttributeFloat_3=function(){return(Dc=a._emscripten_bind_Decoder_GetAttributeFloat_3=a.asm.$a).apply(null,arguments)},Ec=a._emscripten_bind_Decoder_GetAttributeFloatForAllPoints_3=function(){return(Ec=a._emscripten_bind_Decoder_GetAttributeFloatForAllPoints_3=a.asm.ab).apply(null,arguments)},Fc=a._emscripten_bind_Decoder_GetAttributeIntForAllPoints_3=function(){return(Fc=a._emscripten_bind_Decoder_GetAttributeIntForAllPoints_3= | ||
a.asm.bb).apply(null,arguments)},Gc=a._emscripten_bind_Decoder_GetAttributeInt8ForAllPoints_3=function(){return(Gc=a._emscripten_bind_Decoder_GetAttributeInt8ForAllPoints_3=a.asm.cb).apply(null,arguments)},Hc=a._emscripten_bind_Decoder_GetAttributeUInt8ForAllPoints_3=function(){return(Hc=a._emscripten_bind_Decoder_GetAttributeUInt8ForAllPoints_3=a.asm.db).apply(null,arguments)},Ic=a._emscripten_bind_Decoder_GetAttributeInt16ForAllPoints_3=function(){return(Ic=a._emscripten_bind_Decoder_GetAttributeInt16ForAllPoints_3= | ||
a.asm.eb).apply(null,arguments)},Jc=a._emscripten_bind_Decoder_GetAttributeUInt16ForAllPoints_3=function(){return(Jc=a._emscripten_bind_Decoder_GetAttributeUInt16ForAllPoints_3=a.asm.fb).apply(null,arguments)},Kc=a._emscripten_bind_Decoder_GetAttributeInt32ForAllPoints_3=function(){return(Kc=a._emscripten_bind_Decoder_GetAttributeInt32ForAllPoints_3=a.asm.gb).apply(null,arguments)},Lc=a._emscripten_bind_Decoder_GetAttributeUInt32ForAllPoints_3=function(){return(Lc=a._emscripten_bind_Decoder_GetAttributeUInt32ForAllPoints_3= | ||
a.asm.hb).apply(null,arguments)},Mc=a._emscripten_bind_Decoder_GetAttributeDataArrayForAllPoints_5=function(){return(Mc=a._emscripten_bind_Decoder_GetAttributeDataArrayForAllPoints_5=a.asm.ib).apply(null,arguments)},Nc=a._emscripten_bind_Decoder_SkipAttributeTransform_1=function(){return(Nc=a._emscripten_bind_Decoder_SkipAttributeTransform_1=a.asm.jb).apply(null,arguments)},Oc=a._emscripten_bind_Decoder_GetEncodedGeometryType_Deprecated_1=function(){return(Oc=a._emscripten_bind_Decoder_GetEncodedGeometryType_Deprecated_1= | ||
a.asm.kb).apply(null,arguments)},Pc=a._emscripten_bind_Decoder_DecodeBufferToPointCloud_2=function(){return(Pc=a._emscripten_bind_Decoder_DecodeBufferToPointCloud_2=a.asm.lb).apply(null,arguments)},Qc=a._emscripten_bind_Decoder_DecodeBufferToMesh_2=function(){return(Qc=a._emscripten_bind_Decoder_DecodeBufferToMesh_2=a.asm.mb).apply(null,arguments)},Rc=a._emscripten_bind_Decoder___destroy___0=function(){return(Rc=a._emscripten_bind_Decoder___destroy___0=a.asm.nb).apply(null,arguments)},Sc=a._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_INVALID_TRANSFORM= | ||
function(){return(Sc=a._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_INVALID_TRANSFORM=a.asm.ob).apply(null,arguments)},Tc=a._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_NO_TRANSFORM=function(){return(Tc=a._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_NO_TRANSFORM=a.asm.pb).apply(null,arguments)},Uc=a._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_QUANTIZATION_TRANSFORM=function(){return(Uc=a._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_QUANTIZATION_TRANSFORM= | ||
a.asm.qb).apply(null,arguments)},Vc=a._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_OCTAHEDRON_TRANSFORM=function(){return(Vc=a._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_OCTAHEDRON_TRANSFORM=a.asm.rb).apply(null,arguments)},Wc=a._emscripten_enum_draco_GeometryAttribute_Type_INVALID=function(){return(Wc=a._emscripten_enum_draco_GeometryAttribute_Type_INVALID=a.asm.sb).apply(null,arguments)},Xc=a._emscripten_enum_draco_GeometryAttribute_Type_POSITION=function(){return(Xc=a._emscripten_enum_draco_GeometryAttribute_Type_POSITION= | ||
a.asm.tb).apply(null,arguments)},Yc=a._emscripten_enum_draco_GeometryAttribute_Type_NORMAL=function(){return(Yc=a._emscripten_enum_draco_GeometryAttribute_Type_NORMAL=a.asm.ub).apply(null,arguments)},Zc=a._emscripten_enum_draco_GeometryAttribute_Type_COLOR=function(){return(Zc=a._emscripten_enum_draco_GeometryAttribute_Type_COLOR=a.asm.vb).apply(null,arguments)},$c=a._emscripten_enum_draco_GeometryAttribute_Type_TEX_COORD=function(){return($c=a._emscripten_enum_draco_GeometryAttribute_Type_TEX_COORD= | ||
a.asm.wb).apply(null,arguments)},ad=a._emscripten_enum_draco_GeometryAttribute_Type_GENERIC=function(){return(ad=a._emscripten_enum_draco_GeometryAttribute_Type_GENERIC=a.asm.xb).apply(null,arguments)},bd=a._emscripten_enum_draco_EncodedGeometryType_INVALID_GEOMETRY_TYPE=function(){return(bd=a._emscripten_enum_draco_EncodedGeometryType_INVALID_GEOMETRY_TYPE=a.asm.yb).apply(null,arguments)},cd=a._emscripten_enum_draco_EncodedGeometryType_POINT_CLOUD=function(){return(cd=a._emscripten_enum_draco_EncodedGeometryType_POINT_CLOUD= | ||
a.asm.zb).apply(null,arguments)},dd=a._emscripten_enum_draco_EncodedGeometryType_TRIANGULAR_MESH=function(){return(dd=a._emscripten_enum_draco_EncodedGeometryType_TRIANGULAR_MESH=a.asm.Ab).apply(null,arguments)},ed=a._emscripten_enum_draco_DataType_DT_INVALID=function(){return(ed=a._emscripten_enum_draco_DataType_DT_INVALID=a.asm.Bb).apply(null,arguments)},fd=a._emscripten_enum_draco_DataType_DT_INT8=function(){return(fd=a._emscripten_enum_draco_DataType_DT_INT8=a.asm.Cb).apply(null,arguments)},gd= | ||
a._emscripten_enum_draco_DataType_DT_UINT8=function(){return(gd=a._emscripten_enum_draco_DataType_DT_UINT8=a.asm.Db).apply(null,arguments)},hd=a._emscripten_enum_draco_DataType_DT_INT16=function(){return(hd=a._emscripten_enum_draco_DataType_DT_INT16=a.asm.Eb).apply(null,arguments)},id=a._emscripten_enum_draco_DataType_DT_UINT16=function(){return(id=a._emscripten_enum_draco_DataType_DT_UINT16=a.asm.Fb).apply(null,arguments)},jd=a._emscripten_enum_draco_DataType_DT_INT32=function(){return(jd=a._emscripten_enum_draco_DataType_DT_INT32= | ||
a.asm.Gb).apply(null,arguments)},kd=a._emscripten_enum_draco_DataType_DT_UINT32=function(){return(kd=a._emscripten_enum_draco_DataType_DT_UINT32=a.asm.Hb).apply(null,arguments)},ld=a._emscripten_enum_draco_DataType_DT_INT64=function(){return(ld=a._emscripten_enum_draco_DataType_DT_INT64=a.asm.Ib).apply(null,arguments)},md=a._emscripten_enum_draco_DataType_DT_UINT64=function(){return(md=a._emscripten_enum_draco_DataType_DT_UINT64=a.asm.Jb).apply(null,arguments)},nd=a._emscripten_enum_draco_DataType_DT_FLOAT32= | ||
function(){return(nd=a._emscripten_enum_draco_DataType_DT_FLOAT32=a.asm.Kb).apply(null,arguments)},od=a._emscripten_enum_draco_DataType_DT_FLOAT64=function(){return(od=a._emscripten_enum_draco_DataType_DT_FLOAT64=a.asm.Lb).apply(null,arguments)},pd=a._emscripten_enum_draco_DataType_DT_BOOL=function(){return(pd=a._emscripten_enum_draco_DataType_DT_BOOL=a.asm.Mb).apply(null,arguments)},qd=a._emscripten_enum_draco_DataType_DT_TYPES_COUNT=function(){return(qd=a._emscripten_enum_draco_DataType_DT_TYPES_COUNT= | ||
a.asm.Nb).apply(null,arguments)},rd=a._emscripten_enum_draco_StatusCode_OK=function(){return(rd=a._emscripten_enum_draco_StatusCode_OK=a.asm.Ob).apply(null,arguments)},sd=a._emscripten_enum_draco_StatusCode_DRACO_ERROR=function(){return(sd=a._emscripten_enum_draco_StatusCode_DRACO_ERROR=a.asm.Pb).apply(null,arguments)},td=a._emscripten_enum_draco_StatusCode_IO_ERROR=function(){return(td=a._emscripten_enum_draco_StatusCode_IO_ERROR=a.asm.Qb).apply(null,arguments)},ud=a._emscripten_enum_draco_StatusCode_INVALID_PARAMETER= | ||
function(){return(ud=a._emscripten_enum_draco_StatusCode_INVALID_PARAMETER=a.asm.Rb).apply(null,arguments)},vd=a._emscripten_enum_draco_StatusCode_UNSUPPORTED_VERSION=function(){return(vd=a._emscripten_enum_draco_StatusCode_UNSUPPORTED_VERSION=a.asm.Sb).apply(null,arguments)},wd=a._emscripten_enum_draco_StatusCode_UNKNOWN_VERSION=function(){return(wd=a._emscripten_enum_draco_StatusCode_UNKNOWN_VERSION=a.asm.Tb).apply(null,arguments)},db=a._malloc=function(){return(db=a._malloc=a.asm.Ub).apply(null, | ||
arguments)};a._free=function(){return(a._free=a.asm.Vb).apply(null,arguments)};var la;ia=function b(){la||Q();la||(ia=b)};a.run=Q;if(a.preInit)for("function"==typeof a.preInit&&(a.preInit=[a.preInit]);0<a.preInit.length;)a.preInit.pop()();Q();u.prototype=Object.create(u.prototype);u.prototype.constructor=u;u.prototype.__class__=u;u.__cache__={};a.WrapperObject=u;a.getCache=x;a.wrapPointer=D;a.castObject=function(b,c){return D(b.ptr,c)};a.NULL=D(0);a.destroy=function(b){if(!b.__destroy__)throw"Error: Cannot destroy object. (Did you create it yourself?)"; | ||
b.__destroy__();delete x(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+=r.needed;r.needed=0}r.buffer||(r.size+=128,r.buffer=a._malloc(r.size),r.buffer||f(void 0));r.pos=0},alloc:function(b,c){r.buffer||f(void 0);b= | ||
b.length*c.BYTES_PER_ELEMENT;b=b+7&-8;r.pos+b>=r.size?(0<b||f(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]}};Z.prototype=Object.create(u.prototype);Z.prototype.constructor=Z;Z.prototype.__class__=Z;Z.__cache__={};a.VoidPtr=Z;Z.prototype.__destroy__=Z.prototype.__destroy__=function(){eb(this.ptr)};T.prototype= | ||
Object.create(u.prototype);T.prototype.constructor=T;T.prototype.__class__=T;T.__cache__={};a.DecoderBuffer=T;T.prototype.Init=T.prototype.Init=function(b,c){var d=this.ptr;r.prepare();"object"==typeof b&&(b=sa(b));c&&"object"===typeof c&&(c=c.ptr);fb(d,b,c)};T.prototype.__destroy__=T.prototype.__destroy__=function(){gb(this.ptr)};S.prototype=Object.create(u.prototype);S.prototype.constructor=S;S.prototype.__class__=S;S.__cache__={};a.AttributeTransformData=S;S.prototype.transform_type=S.prototype.transform_type= | ||
function(){return hb(this.ptr)};S.prototype.__destroy__=S.prototype.__destroy__=function(){ib(this.ptr)};X.prototype=Object.create(u.prototype);X.prototype.constructor=X;X.prototype.__class__=X;X.__cache__={};a.GeometryAttribute=X;X.prototype.__destroy__=X.prototype.__destroy__=function(){jb(this.ptr)};w.prototype=Object.create(u.prototype);w.prototype.constructor=w;w.prototype.__class__=w;w.__cache__={};a.PointAttribute=w;w.prototype.size=w.prototype.size=function(){return kb(this.ptr)};w.prototype.GetAttributeTransformData= | ||
w.prototype.GetAttributeTransformData=function(){return D(lb(this.ptr),S)};w.prototype.attribute_type=w.prototype.attribute_type=function(){return mb(this.ptr)};w.prototype.data_type=w.prototype.data_type=function(){return nb(this.ptr)};w.prototype.num_components=w.prototype.num_components=function(){return ob(this.ptr)};w.prototype.normalized=w.prototype.normalized=function(){return!!pb(this.ptr)};w.prototype.byte_stride=w.prototype.byte_stride=function(){return qb(this.ptr)};w.prototype.byte_offset= | ||
w.prototype.byte_offset=function(){return rb(this.ptr)};w.prototype.unique_id=w.prototype.unique_id=function(){return sb(this.ptr)};w.prototype.__destroy__=w.prototype.__destroy__=function(){tb(this.ptr)};C.prototype=Object.create(u.prototype);C.prototype.constructor=C;C.prototype.__class__=C;C.__cache__={};a.AttributeQuantizationTransform=C;C.prototype.InitFromAttribute=C.prototype.InitFromAttribute=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);return!!ub(c,b)};C.prototype.quantization_bits= | ||
C.prototype.quantization_bits=function(){return vb(this.ptr)};C.prototype.min_value=C.prototype.min_value=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);return wb(c,b)};C.prototype.range=C.prototype.range=function(){return xb(this.ptr)};C.prototype.__destroy__=C.prototype.__destroy__=function(){yb(this.ptr)};H.prototype=Object.create(u.prototype);H.prototype.constructor=H;H.prototype.__class__=H;H.__cache__={};a.AttributeOctahedronTransform=H;H.prototype.InitFromAttribute=H.prototype.InitFromAttribute= | ||
function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);return!!zb(c,b)};H.prototype.quantization_bits=H.prototype.quantization_bits=function(){return Ab(this.ptr)};H.prototype.__destroy__=H.prototype.__destroy__=function(){Bb(this.ptr)};I.prototype=Object.create(u.prototype);I.prototype.constructor=I;I.prototype.__class__=I;I.__cache__={};a.PointCloud=I;I.prototype.num_attributes=I.prototype.num_attributes=function(){return Cb(this.ptr)};I.prototype.num_points=I.prototype.num_points=function(){return Db(this.ptr)}; | ||
I.prototype.__destroy__=I.prototype.__destroy__=function(){Eb(this.ptr)};E.prototype=Object.create(u.prototype);E.prototype.constructor=E;E.prototype.__class__=E;E.__cache__={};a.Mesh=E;E.prototype.num_faces=E.prototype.num_faces=function(){return Fb(this.ptr)};E.prototype.num_attributes=E.prototype.num_attributes=function(){return Gb(this.ptr)};E.prototype.num_points=E.prototype.num_points=function(){return Hb(this.ptr)};E.prototype.__destroy__=E.prototype.__destroy__=function(){Ib(this.ptr)};U.prototype= | ||
Object.create(u.prototype);U.prototype.constructor=U;U.prototype.__class__=U;U.__cache__={};a.Metadata=U;U.prototype.__destroy__=U.prototype.__destroy__=function(){Jb(this.ptr)};B.prototype=Object.create(u.prototype);B.prototype.constructor=B;B.prototype.__class__=B;B.__cache__={};a.Status=B;B.prototype.code=B.prototype.code=function(){return Kb(this.ptr)};B.prototype.ok=B.prototype.ok=function(){return!!Lb(this.ptr)};B.prototype.error_msg=B.prototype.error_msg=function(){return h(Mb(this.ptr))}; | ||
B.prototype.__destroy__=B.prototype.__destroy__=function(){Nb(this.ptr)};J.prototype=Object.create(u.prototype);J.prototype.constructor=J;J.prototype.__class__=J;J.__cache__={};a.DracoFloat32Array=J;J.prototype.GetValue=J.prototype.GetValue=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);return Ob(c,b)};J.prototype.size=J.prototype.size=function(){return Pb(this.ptr)};J.prototype.__destroy__=J.prototype.__destroy__=function(){Qb(this.ptr)};K.prototype=Object.create(u.prototype);K.prototype.constructor= | ||
K;K.prototype.__class__=K;K.__cache__={};a.DracoInt8Array=K;K.prototype.GetValue=K.prototype.GetValue=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);return Rb(c,b)};K.prototype.size=K.prototype.size=function(){return Sb(this.ptr)};K.prototype.__destroy__=K.prototype.__destroy__=function(){Tb(this.ptr)};L.prototype=Object.create(u.prototype);L.prototype.constructor=L;L.prototype.__class__=L;L.__cache__={};a.DracoUInt8Array=L;L.prototype.GetValue=L.prototype.GetValue=function(b){var c= | ||
this.ptr;b&&"object"===typeof b&&(b=b.ptr);return Ub(c,b)};L.prototype.size=L.prototype.size=function(){return Vb(this.ptr)};L.prototype.__destroy__=L.prototype.__destroy__=function(){Wb(this.ptr)};M.prototype=Object.create(u.prototype);M.prototype.constructor=M;M.prototype.__class__=M;M.__cache__={};a.DracoInt16Array=M;M.prototype.GetValue=M.prototype.GetValue=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);return Xb(c,b)};M.prototype.size=M.prototype.size=function(){return Yb(this.ptr)}; | ||
M.prototype.__destroy__=M.prototype.__destroy__=function(){Zb(this.ptr)};N.prototype=Object.create(u.prototype);N.prototype.constructor=N;N.prototype.__class__=N;N.__cache__={};a.DracoUInt16Array=N;N.prototype.GetValue=N.prototype.GetValue=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);return $b(c,b)};N.prototype.size=N.prototype.size=function(){return ac(this.ptr)};N.prototype.__destroy__=N.prototype.__destroy__=function(){bc(this.ptr)};O.prototype=Object.create(u.prototype);O.prototype.constructor= | ||
O;O.prototype.__class__=O;O.__cache__={};a.DracoInt32Array=O;O.prototype.GetValue=O.prototype.GetValue=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);return cc(c,b)};O.prototype.size=O.prototype.size=function(){return dc(this.ptr)};O.prototype.__destroy__=O.prototype.__destroy__=function(){ec(this.ptr)};P.prototype=Object.create(u.prototype);P.prototype.constructor=P;P.prototype.__class__=P;P.__cache__={};a.DracoUInt32Array=P;P.prototype.GetValue=P.prototype.GetValue=function(b){var c= | ||
this.ptr;b&&"object"===typeof b&&(b=b.ptr);return fc(c,b)};P.prototype.size=P.prototype.size=function(){return gc(this.ptr)};P.prototype.__destroy__=P.prototype.__destroy__=function(){hc(this.ptr)};y.prototype=Object.create(u.prototype);y.prototype.constructor=y;y.prototype.__class__=y;y.__cache__={};a.MetadataQuerier=y;y.prototype.HasEntry=y.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:aa(c);return!!ic(d,b,c)};y.prototype.GetIntEntry= | ||
y.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:aa(c);return jc(d,b,c)};y.prototype.GetIntEntryArray=y.prototype.GetIntEntryArray=function(b,c,d){var g=this.ptr;r.prepare();b&&"object"===typeof b&&(b=b.ptr);c=c&&"object"===typeof c?c.ptr:aa(c);d&&"object"===typeof d&&(d=d.ptr);kc(g,b,c,d)};y.prototype.GetDoubleEntry=y.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:aa(c);return lc(d,b,c)};y.prototype.GetStringEntry=y.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:aa(c);return h(mc(d,b,c))};y.prototype.NumEntries=y.prototype.NumEntries=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);return nc(c,b)};y.prototype.GetEntryName=y.prototype.GetEntryName=function(b,c){var d=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&& | ||
(c=c.ptr);return h(oc(d,b,c))};y.prototype.__destroy__=y.prototype.__destroy__=function(){pc(this.ptr)};m.prototype=Object.create(u.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=this.ptr;r.prepare();"object"==typeof b&&(b=sa(b));c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);return D(qc(g,b,c,d),B)};m.prototype.DecodeArrayToMesh=m.prototype.DecodeArrayToMesh= | ||
function(b,c,d){var g=this.ptr;r.prepare();"object"==typeof b&&(b=sa(b));c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);return D(rc(g,b,c,d),B)};m.prototype.GetAttributeId=m.prototype.GetAttributeId=function(b,c){var d=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);return sc(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:aa(c);return tc(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:aa(c);d=d&&"object"===typeof d?d.ptr:aa(d);return uc(g,b,c,d)};m.prototype.GetAttribute=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 D(vc(d,b,c),w)};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 D(wc(d,b,c),w)};m.prototype.GetMetadata=m.prototype.GetMetadata=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);return D(xc(c,b),U)};m.prototype.GetAttributeMetadata=m.prototype.GetAttributeMetadata=function(b,c){var d=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);return D(yc(d,b,c),U)};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!!zc(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);return Ac(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!!Bc(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!!Cc(g,b,c,d)};m.prototype.GetAttributeFloat=m.prototype.GetAttributeFloat=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!!Dc(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!!Ec(g,b,c,d)};m.prototype.GetAttributeIntForAllPoints=m.prototype.GetAttributeIntForAllPoints=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!!Fc(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!!Gc(g,b,c,d)};m.prototype.GetAttributeUInt8ForAllPoints=m.prototype.GetAttributeUInt8ForAllPoints=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!!Hc(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!!Ic(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&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);return!!Jc(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!!Kc(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"===typeof d&&(d=d.ptr);return!!Lc(g,b,c,d)};m.prototype.GetAttributeDataArrayForAllPoints=m.prototype.GetAttributeDataArrayForAllPoints=function(b,c,d,g,t){var W=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!!Mc(W,b,c,d,g,t)};m.prototype.SkipAttributeTransform=m.prototype.SkipAttributeTransform=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);Nc(c,b)};m.prototype.GetEncodedGeometryType_Deprecated=m.prototype.GetEncodedGeometryType_Deprecated=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);return Oc(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 D(Pc(d,b,c),B)};m.prototype.DecodeBufferToMesh=m.prototype.DecodeBufferToMesh=function(b,c){var d=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);return D(Qc(d,b,c),B)};m.prototype.__destroy__=m.prototype.__destroy__=function(){Rc(this.ptr)};(function(){function b(){a.ATTRIBUTE_INVALID_TRANSFORM=Sc();a.ATTRIBUTE_NO_TRANSFORM=Tc(); | ||
a.ATTRIBUTE_QUANTIZATION_TRANSFORM=Uc();a.ATTRIBUTE_OCTAHEDRON_TRANSFORM=Vc();a.INVALID=Wc();a.POSITION=Xc();a.NORMAL=Yc();a.COLOR=Zc();a.TEX_COORD=$c();a.GENERIC=ad();a.INVALID_GEOMETRY_TYPE=bd();a.POINT_CLOUD=cd();a.TRIANGULAR_MESH=dd();a.DT_INVALID=ed();a.DT_INT8=fd();a.DT_UINT8=gd();a.DT_INT16=hd();a.DT_UINT16=id();a.DT_INT32=jd();a.DT_UINT32=kd();a.DT_INT64=ld();a.DT_UINT64=md();a.DT_FLOAT32=nd();a.DT_FLOAT64=od();a.DT_BOOL=pd();a.DT_TYPES_COUNT=qd();a.OK=rd();a.DRACO_ERROR=sd();a.IO_ERROR=td(); | ||
a.INVALID_PARAMETER=ud();a.UNSUPPORTED_VERSION=vd();a.UNKNOWN_VERSION=wd()}Ca?b():ra.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);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); |
@@ -1,96 +0,96 @@ | ||
var $jscomp=$jscomp||{};$jscomp.scope={};$jscomp.arrayIteratorImpl=function(m){var p=0;return function(){return p<m.length?{done:!1,value:m[p++]}:{done:!0}}};$jscomp.arrayIterator=function(m){return{next:$jscomp.arrayIteratorImpl(m)}};$jscomp.makeIterator=function(m){var p="undefined"!=typeof Symbol&&Symbol.iterator&&m[Symbol.iterator];return p?p.call(m):$jscomp.arrayIterator(m)};$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(m){m=["object"==typeof globalThis&&globalThis,m,"object"==typeof window&&window,"object"==typeof self&&self,"object"==typeof global&&global];for(var p=0;p<m.length;++p){var k=m[p];if(k&&k.Math==Math)return k}throw Error("Cannot find global object");};$jscomp.global=$jscomp.getGlobal(this); | ||
$jscomp.defineProperty=$jscomp.ASSUME_ES5||"function"==typeof Object.defineProperties?Object.defineProperty:function(m,p,k){if(m==Array.prototype||m==Object.prototype)return m;m[p]=k.value;return m};$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(m,p){var k=$jscomp.propertyToPolyfillSymbol[p];if(null==k)return m[p];k=m[k];return void 0!==k?k:m[p]};$jscomp.polyfill=function(m,p,k,r){p&&($jscomp.ISOLATE_POLYFILLS?$jscomp.polyfillIsolated(m,p,k,r):$jscomp.polyfillUnisolated(m,p,k,r))}; | ||
$jscomp.polyfillUnisolated=function(m,p,k,r){k=$jscomp.global;m=m.split(".");for(r=0;r<m.length-1;r++){var l=m[r];if(!(l in k))return;k=k[l]}m=m[m.length-1];r=k[m];p=p(r);p!=r&&null!=p&&$jscomp.defineProperty(k,m,{configurable:!0,writable:!0,value:p})}; | ||
$jscomp.polyfillIsolated=function(m,p,k,r){var l=m.split(".");m=1===l.length;r=l[0];r=!m&&r in $jscomp.polyfills?$jscomp.polyfills:$jscomp.global;for(var B=0;B<l.length-1;B++){var h=l[B];if(!(h in r))return;r=r[h]}l=l[l.length-1];k=$jscomp.IS_SYMBOL_NATIVE&&"es6"===k?r[l]:null;p=p(k);null!=p&&(m?$jscomp.defineProperty($jscomp.polyfills,l,{configurable:!0,writable:!0,value:p}):p!==k&&(void 0===$jscomp.propertyToPolyfillSymbol[l]&&(k=1E9*Math.random()>>>0,$jscomp.propertyToPolyfillSymbol[l]=$jscomp.IS_SYMBOL_NATIVE? | ||
$jscomp.global.Symbol(l):$jscomp.POLYFILL_PREFIX+k+"$"+l),$jscomp.defineProperty(r,$jscomp.propertyToPolyfillSymbol[l],{configurable:!0,writable:!0,value:p})))}; | ||
$jscomp.polyfill("Promise",function(m){function p(){this.batch_=null}function k(h){return h instanceof l?h:new l(function(q,v){q(h)})}if(m&&(!($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 m;p.prototype.asyncExecute=function(h){if(null==this.batch_){this.batch_=[];var q=this;this.asyncExecuteFunction(function(){q.executeBatch_()})}this.batch_.push(h)}; | ||
var r=$jscomp.global.setTimeout;p.prototype.asyncExecuteFunction=function(h){r(h,0)};p.prototype.executeBatch_=function(){for(;this.batch_&&this.batch_.length;){var h=this.batch_;this.batch_=[];for(var q=0;q<h.length;++q){var v=h[q];h[q]=null;try{v()}catch(C){this.asyncThrow_(C)}}}this.batch_=null};p.prototype.asyncThrow_=function(h){this.asyncExecuteFunction(function(){throw h;})};var l=function(h){this.state_=0;this.result_=void 0;this.onSettledCallbacks_=[];this.isRejectionHandled_=!1;var q=this.createResolveAndReject_(); | ||
try{h(q.resolve,q.reject)}catch(v){q.reject(v)}};l.prototype.createResolveAndReject_=function(){function h(C){return function(I){v||(v=!0,C.call(q,I))}}var q=this,v=!1;return{resolve:h(this.resolveTo_),reject:h(this.reject_)}};l.prototype.resolveTo_=function(h){if(h===this)this.reject_(new TypeError("A Promise cannot resolve to itself"));else if(h instanceof l)this.settleSameAsPromise_(h);else{a:switch(typeof h){case "object":var q=null!=h;break a;case "function":q=!0;break a;default:q=!1}q?this.resolveToNonPromiseObj_(h): | ||
this.fulfill_(h)}};l.prototype.resolveToNonPromiseObj_=function(h){var q=void 0;try{q=h.then}catch(v){this.reject_(v);return}"function"==typeof q?this.settleSameAsThenable_(q,h):this.fulfill_(h)};l.prototype.reject_=function(h){this.settle_(2,h)};l.prototype.fulfill_=function(h){this.settle_(1,h)};l.prototype.settle_=function(h,q){if(0!=this.state_)throw Error("Cannot settle("+h+", "+q+"): Promise already settled in state"+this.state_);this.state_=h;this.result_=q;2===this.state_&&this.scheduleUnhandledRejectionCheck_(); | ||
this.executeOnSettledCallbacks_()};l.prototype.scheduleUnhandledRejectionCheck_=function(){var h=this;r(function(){if(h.notifyUnhandledRejection_()){var q=$jscomp.global.console;"undefined"!==typeof q&&q.error(h.result_)}},1)};l.prototype.notifyUnhandledRejection_=function(){if(this.isRejectionHandled_)return!1;var h=$jscomp.global.CustomEvent,q=$jscomp.global.Event,v=$jscomp.global.dispatchEvent;if("undefined"===typeof v)return!0;"function"===typeof h?h=new h("unhandledrejection",{cancelable:!0}): | ||
"function"===typeof q?h=new q("unhandledrejection",{cancelable:!0}):(h=$jscomp.global.document.createEvent("CustomEvent"),h.initCustomEvent("unhandledrejection",!1,!0,h));h.promise=this;h.reason=this.result_;return v(h)};l.prototype.executeOnSettledCallbacks_=function(){if(null!=this.onSettledCallbacks_){for(var h=0;h<this.onSettledCallbacks_.length;++h)B.asyncExecute(this.onSettledCallbacks_[h]);this.onSettledCallbacks_=null}};var B=new p;l.prototype.settleSameAsPromise_=function(h){var q=this.createResolveAndReject_(); | ||
h.callWhenSettled_(q.resolve,q.reject)};l.prototype.settleSameAsThenable_=function(h,q){var v=this.createResolveAndReject_();try{h.call(q,v.resolve,v.reject)}catch(C){v.reject(C)}};l.prototype.then=function(h,q){function v(w,D){return"function"==typeof w?function(S){try{C(w(S))}catch(O){I(O)}}:D}var C,I,T=new l(function(w,D){C=w;I=D});this.callWhenSettled_(v(h,C),v(q,I));return T};l.prototype.catch=function(h){return this.then(void 0,h)};l.prototype.callWhenSettled_=function(h,q){function v(){switch(C.state_){case 1:h(C.result_); | ||
break;case 2:q(C.result_);break;default:throw Error("Unexpected state: "+C.state_);}}var C=this;null==this.onSettledCallbacks_?B.asyncExecute(v):this.onSettledCallbacks_.push(v);this.isRejectionHandled_=!0};l.resolve=k;l.reject=function(h){return new l(function(q,v){v(h)})};l.race=function(h){return new l(function(q,v){for(var C=$jscomp.makeIterator(h),I=C.next();!I.done;I=C.next())k(I.value).callWhenSettled_(q,v)})};l.all=function(h){var q=$jscomp.makeIterator(h),v=q.next();return v.done?k([]):new l(function(C, | ||
I){function T(S){return function(O){w[S]=O;D--;0==D&&C(w)}}var w=[],D=0;do w.push(void 0),D++,k(v.value).callWhenSettled_(T(w.length-1),I),v=q.next();while(!v.done)})};return l},"es6","es3");$jscomp.checkStringArgs=function(m,p,k){if(null==m)throw new TypeError("The 'this' value for String.prototype."+k+" must not be null or undefined");if(p instanceof RegExp)throw new TypeError("First argument to String.prototype."+k+" must not be a regular expression");return m+""}; | ||
$jscomp.polyfill("String.prototype.startsWith",function(m){return m?m:function(p,k){var r=$jscomp.checkStringArgs(this,p,"startsWith");p+="";var l=r.length,B=p.length;k=Math.max(0,Math.min(k|0,r.length));for(var h=0;h<B&&k<l;)if(r[k++]!=p[h++])return!1;return h>=B}},"es6","es3"); | ||
$jscomp.polyfill("Array.prototype.copyWithin",function(m){function p(k){k=Number(k);return Infinity===k||-Infinity===k?k:k|0}return m?m:function(k,r,l){var B=this.length;k=p(k);r=p(r);l=void 0===l?B:p(l);k=0>k?Math.max(B+k,0):Math.min(k,B);r=0>r?Math.max(B+r,0):Math.min(r,B);l=0>l?Math.max(B+l,0):Math.min(l,B);if(k<r)for(;r<l;)r in this?this[k++]=this[r++]:(delete this[k++],r++);else for(l=Math.min(l,B+r-k),k+=l-r;l>r;)--l in this?this[--k]=this[l]:delete this[--k];return this}},"es6","es3"); | ||
$jscomp.typedArrayCopyWithin=function(m){return m?m: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"); | ||
var $jscomp=$jscomp||{};$jscomp.scope={};$jscomp.owns=function(l,p){return Object.prototype.hasOwnProperty.call(l,p)};$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.defineProperty=$jscomp.ASSUME_ES5||"function"==typeof Object.defineProperties?Object.defineProperty:function(l,p,m){if(l==Array.prototype||l==Object.prototype)return l;l[p]=m.value;return l};$jscomp.getGlobal=function(l){l=["object"==typeof globalThis&&globalThis,l,"object"==typeof window&&window,"object"==typeof self&&self,"object"==typeof global&&global];for(var p=0;p<l.length;++p){var m=l[p];if(m&&m.Math==Math)return m}throw Error("Cannot find global object");};$jscomp.global=$jscomp.getGlobal(this); | ||
$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(l,p){var m=$jscomp.propertyToPolyfillSymbol[p];if(null==m)return l[p];m=l[m];return void 0!==m?m:l[p]}; | ||
$jscomp.polyfill=function(l,p,m,r){p&&($jscomp.ISOLATE_POLYFILLS?$jscomp.polyfillIsolated(l,p,m,r):$jscomp.polyfillUnisolated(l,p,m,r))};$jscomp.polyfillUnisolated=function(l,p,m,r){m=$jscomp.global;l=l.split(".");for(r=0;r<l.length-1;r++){var k=l[r];if(!(k in m))return;m=m[k]}l=l[l.length-1];r=m[l];p=p(r);p!=r&&null!=p&&$jscomp.defineProperty(m,l,{configurable:!0,writable:!0,value:p})}; | ||
$jscomp.polyfillIsolated=function(l,p,m,r){var k=l.split(".");l=1===k.length;r=k[0];r=!l&&r in $jscomp.polyfills?$jscomp.polyfills:$jscomp.global;for(var C=0;C<k.length-1;C++){var h=k[C];if(!(h in r))return;r=r[h]}k=k[k.length-1];m=$jscomp.IS_SYMBOL_NATIVE&&"es6"===m?r[k]:null;p=p(m);null!=p&&(l?$jscomp.defineProperty($jscomp.polyfills,k,{configurable:!0,writable:!0,value:p}):p!==m&&(void 0===$jscomp.propertyToPolyfillSymbol[k]&&(m=1E9*Math.random()>>>0,$jscomp.propertyToPolyfillSymbol[k]=$jscomp.IS_SYMBOL_NATIVE? | ||
$jscomp.global.Symbol(k):$jscomp.POLYFILL_PREFIX+m+"$"+k),$jscomp.defineProperty(r,$jscomp.propertyToPolyfillSymbol[k],{configurable:!0,writable:!0,value:p})))};$jscomp.assign=$jscomp.TRUST_ES6_POLYFILLS&&"function"==typeof Object.assign?Object.assign:function(l,p){for(var m=1;m<arguments.length;m++){var r=arguments[m];if(r)for(var k in r)$jscomp.owns(r,k)&&(l[k]=r[k])}return l};$jscomp.polyfill("Object.assign",function(l){return l||$jscomp.assign},"es6","es3"); | ||
$jscomp.arrayIteratorImpl=function(l){var p=0;return function(){return p<l.length?{done:!1,value:l[p++]}:{done:!0}}};$jscomp.arrayIterator=function(l){return{next:$jscomp.arrayIteratorImpl(l)}};$jscomp.makeIterator=function(l){var p="undefined"!=typeof Symbol&&Symbol.iterator&&l[Symbol.iterator];return p?p.call(l):$jscomp.arrayIterator(l)}; | ||
$jscomp.polyfill("Promise",function(l){function p(){this.batch_=null}function m(h){return h instanceof k?h:new k(function(q,v){q(h)})}if(l&&(!($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 l;p.prototype.asyncExecute=function(h){if(null==this.batch_){this.batch_=[];var q=this;this.asyncExecuteFunction(function(){q.executeBatch_()})}this.batch_.push(h)}; | ||
var r=$jscomp.global.setTimeout;p.prototype.asyncExecuteFunction=function(h){r(h,0)};p.prototype.executeBatch_=function(){for(;this.batch_&&this.batch_.length;){var h=this.batch_;this.batch_=[];for(var q=0;q<h.length;++q){var v=h[q];h[q]=null;try{v()}catch(D){this.asyncThrow_(D)}}}this.batch_=null};p.prototype.asyncThrow_=function(h){this.asyncExecuteFunction(function(){throw h;})};var k=function(h){this.state_=0;this.result_=void 0;this.onSettledCallbacks_=[];this.isRejectionHandled_=!1;var q=this.createResolveAndReject_(); | ||
try{h(q.resolve,q.reject)}catch(v){q.reject(v)}};k.prototype.createResolveAndReject_=function(){function h(D){return function(G){v||(v=!0,D.call(q,G))}}var q=this,v=!1;return{resolve:h(this.resolveTo_),reject:h(this.reject_)}};k.prototype.resolveTo_=function(h){if(h===this)this.reject_(new TypeError("A Promise cannot resolve to itself"));else if(h instanceof k)this.settleSameAsPromise_(h);else{a:switch(typeof h){case "object":var q=null!=h;break a;case "function":q=!0;break a;default:q=!1}q?this.resolveToNonPromiseObj_(h): | ||
this.fulfill_(h)}};k.prototype.resolveToNonPromiseObj_=function(h){var q=void 0;try{q=h.then}catch(v){this.reject_(v);return}"function"==typeof q?this.settleSameAsThenable_(q,h):this.fulfill_(h)};k.prototype.reject_=function(h){this.settle_(2,h)};k.prototype.fulfill_=function(h){this.settle_(1,h)};k.prototype.settle_=function(h,q){if(0!=this.state_)throw Error("Cannot settle("+h+", "+q+"): Promise already settled in state"+this.state_);this.state_=h;this.result_=q;2===this.state_&&this.scheduleUnhandledRejectionCheck_(); | ||
this.executeOnSettledCallbacks_()};k.prototype.scheduleUnhandledRejectionCheck_=function(){var h=this;r(function(){if(h.notifyUnhandledRejection_()){var q=$jscomp.global.console;"undefined"!==typeof q&&q.error(h.result_)}},1)};k.prototype.notifyUnhandledRejection_=function(){if(this.isRejectionHandled_)return!1;var h=$jscomp.global.CustomEvent,q=$jscomp.global.Event,v=$jscomp.global.dispatchEvent;if("undefined"===typeof v)return!0;"function"===typeof h?h=new h("unhandledrejection",{cancelable:!0}): | ||
"function"===typeof q?h=new q("unhandledrejection",{cancelable:!0}):(h=$jscomp.global.document.createEvent("CustomEvent"),h.initCustomEvent("unhandledrejection",!1,!0,h));h.promise=this;h.reason=this.result_;return v(h)};k.prototype.executeOnSettledCallbacks_=function(){if(null!=this.onSettledCallbacks_){for(var h=0;h<this.onSettledCallbacks_.length;++h)C.asyncExecute(this.onSettledCallbacks_[h]);this.onSettledCallbacks_=null}};var C=new p;k.prototype.settleSameAsPromise_=function(h){var q=this.createResolveAndReject_(); | ||
h.callWhenSettled_(q.resolve,q.reject)};k.prototype.settleSameAsThenable_=function(h,q){var v=this.createResolveAndReject_();try{h.call(q,v.resolve,v.reject)}catch(D){v.reject(D)}};k.prototype.then=function(h,q){function v(B,L){return"function"==typeof B?function(P){try{D(B(P))}catch(S){G(S)}}:L}var D,G,y=new k(function(B,L){D=B;G=L});this.callWhenSettled_(v(h,D),v(q,G));return y};k.prototype.catch=function(h){return this.then(void 0,h)};k.prototype.callWhenSettled_=function(h,q){function v(){switch(D.state_){case 1:h(D.result_); | ||
break;case 2:q(D.result_);break;default:throw Error("Unexpected state: "+D.state_);}}var D=this;null==this.onSettledCallbacks_?C.asyncExecute(v):this.onSettledCallbacks_.push(v);this.isRejectionHandled_=!0};k.resolve=m;k.reject=function(h){return new k(function(q,v){v(h)})};k.race=function(h){return new k(function(q,v){for(var D=$jscomp.makeIterator(h),G=D.next();!G.done;G=D.next())m(G.value).callWhenSettled_(q,v)})};k.all=function(h){var q=$jscomp.makeIterator(h),v=q.next();return v.done?m([]):new k(function(D, | ||
G){function y(P){return function(S){B[P]=S;L--;0==L&&D(B)}}var B=[],L=0;do B.push(void 0),L++,m(v.value).callWhenSettled_(y(B.length-1),G),v=q.next();while(!v.done)})};return k},"es6","es3");$jscomp.checkStringArgs=function(l,p,m){if(null==l)throw new TypeError("The 'this' value for String.prototype."+m+" must not be null or undefined");if(p instanceof RegExp)throw new TypeError("First argument to String.prototype."+m+" must not be a regular expression");return l+""}; | ||
$jscomp.polyfill("String.prototype.startsWith",function(l){return l?l:function(p,m){var r=$jscomp.checkStringArgs(this,p,"startsWith");p+="";var k=r.length,C=p.length;m=Math.max(0,Math.min(m|0,r.length));for(var h=0;h<C&&m<k;)if(r[m++]!=p[h++])return!1;return h>=C}},"es6","es3"); | ||
$jscomp.polyfill("Array.prototype.copyWithin",function(l){function p(m){m=Number(m);return Infinity===m||-Infinity===m?m:m|0}return l?l:function(m,r,k){var C=this.length;m=p(m);r=p(r);k=void 0===k?C:p(k);m=0>m?Math.max(C+m,0):Math.min(m,C);r=0>r?Math.max(C+r,0):Math.min(r,C);k=0>k?Math.max(C+k,0):Math.min(k,C);if(m<r)for(;r<k;)r in this?this[m++]=this[r++]:(delete this[m++],r++);else for(k=Math.min(k,C+r-m),m+=k-r;k>r;)--k in this?this[--m]=this[k]:delete this[--m];return this}},"es6","es3"); | ||
$jscomp.typedArrayCopyWithin=function(l){return l?l: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 DracoEncoderModule=function(){var m="undefined"!==typeof document&&document.currentScript?document.currentScript.src:void 0;"undefined"!==typeof __filename&&(m=m||__filename);return function(p){function k(f){return a.locateFile?a.locateFile(f,L):L+f}function r(f,b){f||B("Assertion failed: "+b)}function l(f){sa=f;a.HEAP8=P=new Int8Array(f);a.HEAP16=ka=new Int16Array(f);a.HEAP32=K=new Int32Array(f);a.HEAPU8=la=new Uint8Array(f);a.HEAPU16=new Uint16Array(f);a.HEAPU32=new Uint32Array(f);a.HEAPF32= | ||
ma=new Float32Array(f);a.HEAPF64=new Float64Array(f)}function B(f){if(a.onAbort)a.onAbort(f);f="Aborted("+f+")";Y(f);ta=!0;f=new WebAssembly.RuntimeError(f+". Build with -s ASSERTIONS=1 for more info.");na(f);throw f;}function h(f){try{if(f==J&&Z)return new Uint8Array(Z);if(oa)return oa(f);throw"both async and sync fetching of the wasm failed";}catch(b){B(b)}}function q(){if(!Z&&(ua||aa)){if("function"===typeof fetch&&!J.startsWith("file://"))return fetch(J,{credentials:"same-origin"}).then(function(f){if(!f.ok)throw"failed to load wasm binary file at '"+ | ||
J+"'";return f.arrayBuffer()}).catch(function(){return h(J)});if(pa)return new Promise(function(f,b){pa(J,function(c){f(new Uint8Array(c))},b)})}return Promise.resolve().then(function(){return h(J)})}function v(f){for(;0<f.length;){var b=f.shift();if("function"==typeof b)b(a);else{var c=b.func;"number"===typeof c?void 0===b.arg?C(c)():C(c)(b.arg):c(void 0===b.arg?null:b.arg)}}}function C(f){var b=ea[f];b||(f>=ea.length&&(ea.length=f+1),ea[f]=b=va.get(f));return b}function I(f){this.excPtr=f;this.ptr= | ||
f-16;this.set_type=function(b){K[this.ptr+4>>2]=b};this.get_type=function(){return K[this.ptr+4>>2]};this.set_destructor=function(b){K[this.ptr+8>>2]=b};this.get_destructor=function(){return K[this.ptr+8>>2]};this.set_refcount=function(b){K[this.ptr>>2]=b};this.set_caught=function(b){P[this.ptr+12>>0]=b?1:0};this.get_caught=function(){return 0!=P[this.ptr+12>>0]};this.set_rethrown=function(b){P[this.ptr+13>>0]=b?1:0};this.get_rethrown=function(){return 0!=P[this.ptr+13>>0]};this.init=function(b,c){this.set_type(b); | ||
this.set_destructor(c);this.set_refcount(0);this.set_caught(!1);this.set_rethrown(!1)};this.add_ref=function(){K[this.ptr>>2]+=1};this.release_ref=function(){var b=K[this.ptr>>2];K[this.ptr>>2]=b-1;return 1===b}}function T(f){function b(){if(!fa&&(fa=!0,a.calledRun=!0,!ta)){wa=!0;v(qa);xa(a);if(a.onRuntimeInitialized)a.onRuntimeInitialized();if(a.postRun)for("function"==typeof a.postRun&&(a.postRun=[a.postRun]);a.postRun.length;)ya.unshift(a.postRun.shift());v(ya)}}if(!(0<U)){if(a.preRun)for("function"== | ||
typeof a.preRun&&(a.preRun=[a.preRun]);a.preRun.length;)za.unshift(a.preRun.shift());v(za);0<U||(a.setStatus?(a.setStatus("Running..."),setTimeout(function(){setTimeout(function(){a.setStatus("")},1);b()},1)):b())}}function w(){}function D(f){return(f||w).__cache__}function S(f,b){var c=D(b),d=c[f];if(d)return d;d=Object.create((b||w).prototype);d.ptr=f;return c[f]=d}function O(f){if("string"===typeof f){for(var b=0,c=0;c<f.length;++c){var d=f.charCodeAt(c);55296<=d&&57343>=d&&(d=65536+((d&1023)<< | ||
10)|f.charCodeAt(++c)&1023);127>=d?++b:b=2047>=d?b+2:65535>=d?b+3:b+4}b=Array(b+1);c=0;d=b.length;if(0<d){d=c+d-1;for(var e=0;e<f.length;++e){var g=f.charCodeAt(e);if(55296<=g&&57343>=g){var t=f.charCodeAt(++e);g=65536+((g&1023)<<10)|t&1023}if(127>=g){if(c>=d)break;b[c++]=g}else{if(2047>=g){if(c+1>=d)break;b[c++]=192|g>>6}else{if(65535>=g){if(c+2>=d)break;b[c++]=224|g>>12}else{if(c+3>=d)break;b[c++]=240|g>>18;b[c++]=128|g>>12&63}b[c++]=128|g>>6&63}b[c++]=128|g&63}}b[c]=0}f=n.alloc(b,P);n.copy(b,P, | ||
f);return f}return f}function ha(f){if("object"===typeof f){var b=n.alloc(f,P);n.copy(f,P,b);return b}return f}function ia(f){if("object"===typeof f){var b=n.alloc(f,ka);n.copy(f,ka,b);return b}return f}function V(f){if("object"===typeof f){var b=n.alloc(f,K);n.copy(f,K,b);return b}return f}function ba(f){if("object"===typeof f){var b=n.alloc(f,ma);n.copy(f,ma,b);return b}return f}function Q(){throw"cannot construct a VoidPtr, no constructor in IDL";}function M(){this.ptr=Aa();D(M)[this.ptr]=this} | ||
function z(){this.ptr=Ba();D(z)[this.ptr]=this}function G(){this.ptr=Ca();D(G)[this.ptr]=this}function E(){this.ptr=Da();D(E)[this.ptr]=this}function N(){this.ptr=Ea();D(N)[this.ptr]=this}function H(){this.ptr=Fa();D(H)[this.ptr]=this}function F(){this.ptr=Ga();D(F)[this.ptr]=this}function x(){this.ptr=Ha();D(x)[this.ptr]=this}function u(){this.ptr=Ia();D(u)[this.ptr]=this}function y(){this.ptr=Ja();D(y)[this.ptr]=this}function A(f){f&&"object"===typeof f&&(f=f.ptr);this.ptr=Ka(f);D(A)[this.ptr]= | ||
this}p=p||{};var a="undefined"!==typeof p?p:{},xa,na;a.ready=new Promise(function(f,b){xa=f;na=b});var La=!1,Ma=!1;a.onRuntimeInitialized=function(){La=!0;if(Ma&&"function"===typeof a.onModuleLoaded)a.onModuleLoaded(a)};a.onModuleParsed=function(){Ma=!0;if(La&&"function"===typeof a.onModuleLoaded)a.onModuleLoaded(a)};a.isVersionSupported=function(f){if("string"!==typeof f)return!1;f=f.split(".");return 2>f.length||3<f.length?!1:1==f[0]&&0<=f[1]&&5>=f[1]?!0:0!=f[0]||10<f[1]?!1:!0};var ca={},R;for(R in a)a.hasOwnProperty(R)&& | ||
(ca[R]=a[R]);var ua="object"===typeof window,aa="function"===typeof importScripts,L="",W,X;if("object"===typeof process&&"object"===typeof process.versions&&"string"===typeof process.versions.node){L=aa?require("path").dirname(L)+"/":__dirname+"/";var Na=function(f,b){W||(W=require("fs"));X||(X=require("path"));f=X.normalize(f);return W.readFileSync(f,b?null:"utf8")};var oa=function(f){f=Na(f,!0);f.buffer||(f=new Uint8Array(f));r(f.buffer);return f};var pa=function(f,b,c){W||(W=require("fs"));X|| | ||
(X=require("path"));f=X.normalize(f);W.readFile(f,function(d,e){d?c(d):b(e.buffer)})};1<process.argv.length&&process.argv[1].replace(/\\/g,"/");process.argv.slice(2);a.inspect=function(){return"[Emscripten Module object]"}}else if(ua||aa)aa?L=self.location.href:"undefined"!==typeof document&&document.currentScript&&(L=document.currentScript.src),m&&(L=m),L=0!==L.indexOf("blob:")?L.substr(0,L.replace(/[?#].*/,"").lastIndexOf("/")+1):"",Na=function(f){var b=new XMLHttpRequest;b.open("GET",f,!1);b.send(null); | ||
return b.responseText},aa&&(oa=function(f){var b=new XMLHttpRequest;b.open("GET",f,!1);b.responseType="arraybuffer";b.send(null);return new Uint8Array(b.response)}),pa=function(f,b,c){var d=new XMLHttpRequest;d.open("GET",f,!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 Y=a.printErr||console.warn.bind(console);for(R in ca)ca.hasOwnProperty(R)&&(a[R]=ca[R]);ca=null;var Z; | ||
a.wasmBinary&&(Z=a.wasmBinary);"object"!==typeof WebAssembly&&B("no native wasm support detected");var ja,ta=!1,sa,P,la,ka,K,ma,va,za=[],qa=[],ya=[],wa=!1,U=0,ra=null,da=null;a.preloadedImages={};a.preloadedAudios={};var J="draco_encoder.wasm";J.startsWith("data:application/octet-stream;base64,")||(J=k(J));var ea=[],rc=0,sc={e:function(f){return Oa(f+16)+16},d:function(f,b,c){(new I(f)).init(b,c);rc++;throw f;},a:function(){B("")},b:function(f,b,c){la.copyWithin(f,b,b+c)},c:function(f){var b=la.length; | ||
f>>>=0;if(2147483648<f)return!1;for(var c=1;4>=c;c*=2){var d=b*(1+.2/c);d=Math.min(d,f+100663296);var e=Math,g=e.min;d=Math.max(f,d);0<d%65536&&(d+=65536-d%65536);e=g.call(e,2147483648,d);a:{try{ja.grow(e-sa.byteLength+65535>>>16);l(ja.buffer);var t=1;break a}catch(tc){}t=void 0}if(t)return!0}return!1}};(function(){function f(e,g){a.asm=e.exports;ja=a.asm.f;l(ja.buffer);va=a.asm.h;qa.unshift(a.asm.g);U--;a.monitorRunDependencies&&a.monitorRunDependencies(U);0==U&&(null!==ra&&(clearInterval(ra),ra= | ||
null),da&&(e=da,da=null,e()))}function b(e){f(e.instance)}function c(e){return q().then(function(g){return WebAssembly.instantiate(g,d)}).then(function(g){return g}).then(e,function(g){Y("failed to asynchronously prepare wasm: "+g);B(g)})}var d={a:sc};U++;a.monitorRunDependencies&&a.monitorRunDependencies(U);if(a.instantiateWasm)try{return a.instantiateWasm(d,f)}catch(e){return Y("Module.instantiateWasm callback failed with error: "+e),!1}(function(){return Z||"function"!==typeof WebAssembly.instantiateStreaming|| | ||
J.startsWith("data:application/octet-stream;base64,")||J.startsWith("file://")||"function"!==typeof fetch?c(b):fetch(J,{credentials:"same-origin"}).then(function(e){return WebAssembly.instantiateStreaming(e,d).then(b,function(g){Y("wasm streaming compile failed: "+g);Y("falling back to ArrayBuffer instantiation");return c(b)})})})().catch(na);return{}})();a.___wasm_call_ctors=function(){return(a.___wasm_call_ctors=a.asm.g).apply(null,arguments)};var Pa=a._emscripten_bind_VoidPtr___destroy___0=function(){return(Pa= | ||
a._emscripten_bind_VoidPtr___destroy___0=a.asm.i).apply(null,arguments)},Aa=a._emscripten_bind_GeometryAttribute_GeometryAttribute_0=function(){return(Aa=a._emscripten_bind_GeometryAttribute_GeometryAttribute_0=a.asm.j).apply(null,arguments)},Qa=a._emscripten_bind_GeometryAttribute___destroy___0=function(){return(Qa=a._emscripten_bind_GeometryAttribute___destroy___0=a.asm.k).apply(null,arguments)},Ba=a._emscripten_bind_PointAttribute_PointAttribute_0=function(){return(Ba=a._emscripten_bind_PointAttribute_PointAttribute_0= | ||
a.asm.l).apply(null,arguments)},Ra=a._emscripten_bind_PointAttribute_size_0=function(){return(Ra=a._emscripten_bind_PointAttribute_size_0=a.asm.m).apply(null,arguments)},Sa=a._emscripten_bind_PointAttribute_attribute_type_0=function(){return(Sa=a._emscripten_bind_PointAttribute_attribute_type_0=a.asm.n).apply(null,arguments)},Ta=a._emscripten_bind_PointAttribute_data_type_0=function(){return(Ta=a._emscripten_bind_PointAttribute_data_type_0=a.asm.o).apply(null,arguments)},Ua=a._emscripten_bind_PointAttribute_num_components_0= | ||
function(){return(Ua=a._emscripten_bind_PointAttribute_num_components_0=a.asm.p).apply(null,arguments)},Va=a._emscripten_bind_PointAttribute_normalized_0=function(){return(Va=a._emscripten_bind_PointAttribute_normalized_0=a.asm.q).apply(null,arguments)},Wa=a._emscripten_bind_PointAttribute_byte_stride_0=function(){return(Wa=a._emscripten_bind_PointAttribute_byte_stride_0=a.asm.r).apply(null,arguments)},Xa=a._emscripten_bind_PointAttribute_byte_offset_0=function(){return(Xa=a._emscripten_bind_PointAttribute_byte_offset_0= | ||
a.asm.s).apply(null,arguments)},Ya=a._emscripten_bind_PointAttribute_unique_id_0=function(){return(Ya=a._emscripten_bind_PointAttribute_unique_id_0=a.asm.t).apply(null,arguments)},Za=a._emscripten_bind_PointAttribute___destroy___0=function(){return(Za=a._emscripten_bind_PointAttribute___destroy___0=a.asm.u).apply(null,arguments)},Ca=a._emscripten_bind_PointCloud_PointCloud_0=function(){return(Ca=a._emscripten_bind_PointCloud_PointCloud_0=a.asm.v).apply(null,arguments)},$a=a._emscripten_bind_PointCloud_num_attributes_0= | ||
function(){return($a=a._emscripten_bind_PointCloud_num_attributes_0=a.asm.w).apply(null,arguments)},ab=a._emscripten_bind_PointCloud_num_points_0=function(){return(ab=a._emscripten_bind_PointCloud_num_points_0=a.asm.x).apply(null,arguments)},bb=a._emscripten_bind_PointCloud___destroy___0=function(){return(bb=a._emscripten_bind_PointCloud___destroy___0=a.asm.y).apply(null,arguments)},Da=a._emscripten_bind_Mesh_Mesh_0=function(){return(Da=a._emscripten_bind_Mesh_Mesh_0=a.asm.z).apply(null,arguments)}, | ||
cb=a._emscripten_bind_Mesh_num_faces_0=function(){return(cb=a._emscripten_bind_Mesh_num_faces_0=a.asm.A).apply(null,arguments)},db=a._emscripten_bind_Mesh_num_attributes_0=function(){return(db=a._emscripten_bind_Mesh_num_attributes_0=a.asm.B).apply(null,arguments)},eb=a._emscripten_bind_Mesh_num_points_0=function(){return(eb=a._emscripten_bind_Mesh_num_points_0=a.asm.C).apply(null,arguments)},fb=a._emscripten_bind_Mesh_set_num_points_1=function(){return(fb=a._emscripten_bind_Mesh_set_num_points_1= | ||
a.asm.D).apply(null,arguments)},gb=a._emscripten_bind_Mesh___destroy___0=function(){return(gb=a._emscripten_bind_Mesh___destroy___0=a.asm.E).apply(null,arguments)},Ea=a._emscripten_bind_Metadata_Metadata_0=function(){return(Ea=a._emscripten_bind_Metadata_Metadata_0=a.asm.F).apply(null,arguments)},hb=a._emscripten_bind_Metadata___destroy___0=function(){return(hb=a._emscripten_bind_Metadata___destroy___0=a.asm.G).apply(null,arguments)},Fa=a._emscripten_bind_DracoInt8Array_DracoInt8Array_0=function(){return(Fa= | ||
a._emscripten_bind_DracoInt8Array_DracoInt8Array_0=a.asm.H).apply(null,arguments)},ib=a._emscripten_bind_DracoInt8Array_GetValue_1=function(){return(ib=a._emscripten_bind_DracoInt8Array_GetValue_1=a.asm.I).apply(null,arguments)},jb=a._emscripten_bind_DracoInt8Array_size_0=function(){return(jb=a._emscripten_bind_DracoInt8Array_size_0=a.asm.J).apply(null,arguments)},kb=a._emscripten_bind_DracoInt8Array___destroy___0=function(){return(kb=a._emscripten_bind_DracoInt8Array___destroy___0=a.asm.K).apply(null, | ||
arguments)},Ga=a._emscripten_bind_MetadataBuilder_MetadataBuilder_0=function(){return(Ga=a._emscripten_bind_MetadataBuilder_MetadataBuilder_0=a.asm.L).apply(null,arguments)},lb=a._emscripten_bind_MetadataBuilder_AddStringEntry_3=function(){return(lb=a._emscripten_bind_MetadataBuilder_AddStringEntry_3=a.asm.M).apply(null,arguments)},mb=a._emscripten_bind_MetadataBuilder_AddIntEntry_3=function(){return(mb=a._emscripten_bind_MetadataBuilder_AddIntEntry_3=a.asm.N).apply(null,arguments)},nb=a._emscripten_bind_MetadataBuilder_AddIntEntryArray_4= | ||
function(){return(nb=a._emscripten_bind_MetadataBuilder_AddIntEntryArray_4=a.asm.O).apply(null,arguments)},ob=a._emscripten_bind_MetadataBuilder_AddDoubleEntry_3=function(){return(ob=a._emscripten_bind_MetadataBuilder_AddDoubleEntry_3=a.asm.P).apply(null,arguments)},pb=a._emscripten_bind_MetadataBuilder___destroy___0=function(){return(pb=a._emscripten_bind_MetadataBuilder___destroy___0=a.asm.Q).apply(null,arguments)},Ha=a._emscripten_bind_PointCloudBuilder_PointCloudBuilder_0=function(){return(Ha= | ||
a._emscripten_bind_PointCloudBuilder_PointCloudBuilder_0=a.asm.R).apply(null,arguments)},qb=a._emscripten_bind_PointCloudBuilder_AddFloatAttribute_5=function(){return(qb=a._emscripten_bind_PointCloudBuilder_AddFloatAttribute_5=a.asm.S).apply(null,arguments)},rb=a._emscripten_bind_PointCloudBuilder_AddInt8Attribute_5=function(){return(rb=a._emscripten_bind_PointCloudBuilder_AddInt8Attribute_5=a.asm.T).apply(null,arguments)},sb=a._emscripten_bind_PointCloudBuilder_AddUInt8Attribute_5=function(){return(sb= | ||
a._emscripten_bind_PointCloudBuilder_AddUInt8Attribute_5=a.asm.U).apply(null,arguments)},tb=a._emscripten_bind_PointCloudBuilder_AddInt16Attribute_5=function(){return(tb=a._emscripten_bind_PointCloudBuilder_AddInt16Attribute_5=a.asm.V).apply(null,arguments)},ub=a._emscripten_bind_PointCloudBuilder_AddUInt16Attribute_5=function(){return(ub=a._emscripten_bind_PointCloudBuilder_AddUInt16Attribute_5=a.asm.W).apply(null,arguments)},vb=a._emscripten_bind_PointCloudBuilder_AddInt32Attribute_5=function(){return(vb= | ||
a._emscripten_bind_PointCloudBuilder_AddInt32Attribute_5=a.asm.X).apply(null,arguments)},wb=a._emscripten_bind_PointCloudBuilder_AddUInt32Attribute_5=function(){return(wb=a._emscripten_bind_PointCloudBuilder_AddUInt32Attribute_5=a.asm.Y).apply(null,arguments)},xb=a._emscripten_bind_PointCloudBuilder_AddMetadata_2=function(){return(xb=a._emscripten_bind_PointCloudBuilder_AddMetadata_2=a.asm.Z).apply(null,arguments)},yb=a._emscripten_bind_PointCloudBuilder_SetMetadataForAttribute_3=function(){return(yb= | ||
a._emscripten_bind_PointCloudBuilder_SetMetadataForAttribute_3=a.asm._).apply(null,arguments)},zb=a._emscripten_bind_PointCloudBuilder___destroy___0=function(){return(zb=a._emscripten_bind_PointCloudBuilder___destroy___0=a.asm.$).apply(null,arguments)},Ia=a._emscripten_bind_MeshBuilder_MeshBuilder_0=function(){return(Ia=a._emscripten_bind_MeshBuilder_MeshBuilder_0=a.asm.aa).apply(null,arguments)},Ab=a._emscripten_bind_MeshBuilder_AddFacesToMesh_3=function(){return(Ab=a._emscripten_bind_MeshBuilder_AddFacesToMesh_3= | ||
a.asm.ba).apply(null,arguments)},Bb=a._emscripten_bind_MeshBuilder_AddFloatAttributeToMesh_5=function(){return(Bb=a._emscripten_bind_MeshBuilder_AddFloatAttributeToMesh_5=a.asm.ca).apply(null,arguments)},Cb=a._emscripten_bind_MeshBuilder_AddInt32AttributeToMesh_5=function(){return(Cb=a._emscripten_bind_MeshBuilder_AddInt32AttributeToMesh_5=a.asm.da).apply(null,arguments)},Db=a._emscripten_bind_MeshBuilder_AddMetadataToMesh_2=function(){return(Db=a._emscripten_bind_MeshBuilder_AddMetadataToMesh_2= | ||
a.asm.ea).apply(null,arguments)},Eb=a._emscripten_bind_MeshBuilder_AddFloatAttribute_5=function(){return(Eb=a._emscripten_bind_MeshBuilder_AddFloatAttribute_5=a.asm.fa).apply(null,arguments)},Fb=a._emscripten_bind_MeshBuilder_AddInt8Attribute_5=function(){return(Fb=a._emscripten_bind_MeshBuilder_AddInt8Attribute_5=a.asm.ga).apply(null,arguments)},Gb=a._emscripten_bind_MeshBuilder_AddUInt8Attribute_5=function(){return(Gb=a._emscripten_bind_MeshBuilder_AddUInt8Attribute_5=a.asm.ha).apply(null,arguments)}, | ||
Hb=a._emscripten_bind_MeshBuilder_AddInt16Attribute_5=function(){return(Hb=a._emscripten_bind_MeshBuilder_AddInt16Attribute_5=a.asm.ia).apply(null,arguments)},Ib=a._emscripten_bind_MeshBuilder_AddUInt16Attribute_5=function(){return(Ib=a._emscripten_bind_MeshBuilder_AddUInt16Attribute_5=a.asm.ja).apply(null,arguments)},Jb=a._emscripten_bind_MeshBuilder_AddInt32Attribute_5=function(){return(Jb=a._emscripten_bind_MeshBuilder_AddInt32Attribute_5=a.asm.ka).apply(null,arguments)},Kb=a._emscripten_bind_MeshBuilder_AddUInt32Attribute_5= | ||
function(){return(Kb=a._emscripten_bind_MeshBuilder_AddUInt32Attribute_5=a.asm.la).apply(null,arguments)},Lb=a._emscripten_bind_MeshBuilder_AddMetadata_2=function(){return(Lb=a._emscripten_bind_MeshBuilder_AddMetadata_2=a.asm.ma).apply(null,arguments)},Mb=a._emscripten_bind_MeshBuilder_SetMetadataForAttribute_3=function(){return(Mb=a._emscripten_bind_MeshBuilder_SetMetadataForAttribute_3=a.asm.na).apply(null,arguments)},Nb=a._emscripten_bind_MeshBuilder___destroy___0=function(){return(Nb=a._emscripten_bind_MeshBuilder___destroy___0= | ||
a.asm.oa).apply(null,arguments)},Ja=a._emscripten_bind_Encoder_Encoder_0=function(){return(Ja=a._emscripten_bind_Encoder_Encoder_0=a.asm.pa).apply(null,arguments)},Ob=a._emscripten_bind_Encoder_SetEncodingMethod_1=function(){return(Ob=a._emscripten_bind_Encoder_SetEncodingMethod_1=a.asm.qa).apply(null,arguments)},Pb=a._emscripten_bind_Encoder_SetAttributeQuantization_2=function(){return(Pb=a._emscripten_bind_Encoder_SetAttributeQuantization_2=a.asm.ra).apply(null,arguments)},Qb=a._emscripten_bind_Encoder_SetAttributeExplicitQuantization_5= | ||
function(){return(Qb=a._emscripten_bind_Encoder_SetAttributeExplicitQuantization_5=a.asm.sa).apply(null,arguments)},Rb=a._emscripten_bind_Encoder_SetSpeedOptions_2=function(){return(Rb=a._emscripten_bind_Encoder_SetSpeedOptions_2=a.asm.ta).apply(null,arguments)},Sb=a._emscripten_bind_Encoder_SetTrackEncodedProperties_1=function(){return(Sb=a._emscripten_bind_Encoder_SetTrackEncodedProperties_1=a.asm.ua).apply(null,arguments)},Tb=a._emscripten_bind_Encoder_EncodeMeshToDracoBuffer_2=function(){return(Tb= | ||
a._emscripten_bind_Encoder_EncodeMeshToDracoBuffer_2=a.asm.va).apply(null,arguments)},Ub=a._emscripten_bind_Encoder_EncodePointCloudToDracoBuffer_3=function(){return(Ub=a._emscripten_bind_Encoder_EncodePointCloudToDracoBuffer_3=a.asm.wa).apply(null,arguments)},Vb=a._emscripten_bind_Encoder_GetNumberOfEncodedPoints_0=function(){return(Vb=a._emscripten_bind_Encoder_GetNumberOfEncodedPoints_0=a.asm.xa).apply(null,arguments)},Wb=a._emscripten_bind_Encoder_GetNumberOfEncodedFaces_0=function(){return(Wb= | ||
a._emscripten_bind_Encoder_GetNumberOfEncodedFaces_0=a.asm.ya).apply(null,arguments)},Xb=a._emscripten_bind_Encoder___destroy___0=function(){return(Xb=a._emscripten_bind_Encoder___destroy___0=a.asm.za).apply(null,arguments)},Ka=a._emscripten_bind_ExpertEncoder_ExpertEncoder_1=function(){return(Ka=a._emscripten_bind_ExpertEncoder_ExpertEncoder_1=a.asm.Aa).apply(null,arguments)},Yb=a._emscripten_bind_ExpertEncoder_SetEncodingMethod_1=function(){return(Yb=a._emscripten_bind_ExpertEncoder_SetEncodingMethod_1= | ||
a.asm.Ba).apply(null,arguments)},Zb=a._emscripten_bind_ExpertEncoder_SetAttributeQuantization_2=function(){return(Zb=a._emscripten_bind_ExpertEncoder_SetAttributeQuantization_2=a.asm.Ca).apply(null,arguments)},$b=a._emscripten_bind_ExpertEncoder_SetAttributeExplicitQuantization_5=function(){return($b=a._emscripten_bind_ExpertEncoder_SetAttributeExplicitQuantization_5=a.asm.Da).apply(null,arguments)},ac=a._emscripten_bind_ExpertEncoder_SetSpeedOptions_2=function(){return(ac=a._emscripten_bind_ExpertEncoder_SetSpeedOptions_2= | ||
a.asm.Ea).apply(null,arguments)},bc=a._emscripten_bind_ExpertEncoder_SetTrackEncodedProperties_1=function(){return(bc=a._emscripten_bind_ExpertEncoder_SetTrackEncodedProperties_1=a.asm.Fa).apply(null,arguments)},cc=a._emscripten_bind_ExpertEncoder_EncodeToDracoBuffer_2=function(){return(cc=a._emscripten_bind_ExpertEncoder_EncodeToDracoBuffer_2=a.asm.Ga).apply(null,arguments)},dc=a._emscripten_bind_ExpertEncoder_GetNumberOfEncodedPoints_0=function(){return(dc=a._emscripten_bind_ExpertEncoder_GetNumberOfEncodedPoints_0= | ||
a.asm.Ha).apply(null,arguments)},ec=a._emscripten_bind_ExpertEncoder_GetNumberOfEncodedFaces_0=function(){return(ec=a._emscripten_bind_ExpertEncoder_GetNumberOfEncodedFaces_0=a.asm.Ia).apply(null,arguments)},fc=a._emscripten_bind_ExpertEncoder___destroy___0=function(){return(fc=a._emscripten_bind_ExpertEncoder___destroy___0=a.asm.Ja).apply(null,arguments)},gc=a._emscripten_enum_draco_GeometryAttribute_Type_INVALID=function(){return(gc=a._emscripten_enum_draco_GeometryAttribute_Type_INVALID=a.asm.Ka).apply(null, | ||
arguments)},hc=a._emscripten_enum_draco_GeometryAttribute_Type_POSITION=function(){return(hc=a._emscripten_enum_draco_GeometryAttribute_Type_POSITION=a.asm.La).apply(null,arguments)},ic=a._emscripten_enum_draco_GeometryAttribute_Type_NORMAL=function(){return(ic=a._emscripten_enum_draco_GeometryAttribute_Type_NORMAL=a.asm.Ma).apply(null,arguments)},jc=a._emscripten_enum_draco_GeometryAttribute_Type_COLOR=function(){return(jc=a._emscripten_enum_draco_GeometryAttribute_Type_COLOR=a.asm.Na).apply(null, | ||
arguments)},kc=a._emscripten_enum_draco_GeometryAttribute_Type_TEX_COORD=function(){return(kc=a._emscripten_enum_draco_GeometryAttribute_Type_TEX_COORD=a.asm.Oa).apply(null,arguments)},lc=a._emscripten_enum_draco_GeometryAttribute_Type_GENERIC=function(){return(lc=a._emscripten_enum_draco_GeometryAttribute_Type_GENERIC=a.asm.Pa).apply(null,arguments)},mc=a._emscripten_enum_draco_EncodedGeometryType_INVALID_GEOMETRY_TYPE=function(){return(mc=a._emscripten_enum_draco_EncodedGeometryType_INVALID_GEOMETRY_TYPE= | ||
a.asm.Qa).apply(null,arguments)},nc=a._emscripten_enum_draco_EncodedGeometryType_POINT_CLOUD=function(){return(nc=a._emscripten_enum_draco_EncodedGeometryType_POINT_CLOUD=a.asm.Ra).apply(null,arguments)},oc=a._emscripten_enum_draco_EncodedGeometryType_TRIANGULAR_MESH=function(){return(oc=a._emscripten_enum_draco_EncodedGeometryType_TRIANGULAR_MESH=a.asm.Sa).apply(null,arguments)},pc=a._emscripten_enum_draco_MeshEncoderMethod_MESH_SEQUENTIAL_ENCODING=function(){return(pc=a._emscripten_enum_draco_MeshEncoderMethod_MESH_SEQUENTIAL_ENCODING= | ||
a.asm.Ta).apply(null,arguments)},qc=a._emscripten_enum_draco_MeshEncoderMethod_MESH_EDGEBREAKER_ENCODING=function(){return(qc=a._emscripten_enum_draco_MeshEncoderMethod_MESH_EDGEBREAKER_ENCODING=a.asm.Ua).apply(null,arguments)},Oa=a._malloc=function(){return(Oa=a._malloc=a.asm.Va).apply(null,arguments)};a._free=function(){return(a._free=a.asm.Wa).apply(null,arguments)};var fa;da=function b(){fa||T();fa||(da=b)};a.run=T;if(a.preInit)for("function"==typeof a.preInit&&(a.preInit=[a.preInit]);0<a.preInit.length;)a.preInit.pop()(); | ||
T();w.prototype=Object.create(w.prototype);w.prototype.constructor=w;w.prototype.__class__=w;w.__cache__={};a.WrapperObject=w;a.getCache=D;a.wrapPointer=S;a.castObject=function(b,c){return S(b.ptr,c)};a.NULL=S(0);a.destroy=function(b){if(!b.__destroy__)throw"Error: Cannot destroy object. (Did you create it yourself?)";b.__destroy__();delete D(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 n={buffer:0, | ||
size:0,pos:0,temps:[],needed:0,prepare:function(){if(n.needed){for(var b=0;b<n.temps.length;b++)a._free(n.temps[b]);n.temps.length=0;a._free(n.buffer);n.buffer=0;n.size+=n.needed;n.needed=0}n.buffer||(n.size+=128,n.buffer=a._malloc(n.size),r(n.buffer));n.pos=0},alloc:function(b,c){r(n.buffer);b=b.length*c.BYTES_PER_ELEMENT;b=b+7&-8;n.pos+b>=n.size?(r(0<b),n.needed+=b,c=a._malloc(b),n.temps.push(c)):(c=n.buffer+n.pos,n.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 e=0;e<b.length;e++)c[d+e]=b[e]}};Q.prototype=Object.create(w.prototype);Q.prototype.constructor=Q;Q.prototype.__class__=Q;Q.__cache__={};a.VoidPtr=Q;Q.prototype.__destroy__=Q.prototype.__destroy__=function(){Pa(this.ptr)};M.prototype=Object.create(w.prototype);M.prototype.constructor=M;M.prototype.__class__=M;M.__cache__={};a.GeometryAttribute=M;M.prototype.__destroy__=M.prototype.__destroy__=function(){Qa(this.ptr)};z.prototype=Object.create(w.prototype); | ||
z.prototype.constructor=z;z.prototype.__class__=z;z.__cache__={};a.PointAttribute=z;z.prototype.size=z.prototype.size=function(){return Ra(this.ptr)};z.prototype.attribute_type=z.prototype.attribute_type=function(){return Sa(this.ptr)};z.prototype.data_type=z.prototype.data_type=function(){return Ta(this.ptr)};z.prototype.num_components=z.prototype.num_components=function(){return Ua(this.ptr)};z.prototype.normalized=z.prototype.normalized=function(){return!!Va(this.ptr)};z.prototype.byte_stride= | ||
z.prototype.byte_stride=function(){return Wa(this.ptr)};z.prototype.byte_offset=z.prototype.byte_offset=function(){return Xa(this.ptr)};z.prototype.unique_id=z.prototype.unique_id=function(){return Ya(this.ptr)};z.prototype.__destroy__=z.prototype.__destroy__=function(){Za(this.ptr)};G.prototype=Object.create(w.prototype);G.prototype.constructor=G;G.prototype.__class__=G;G.__cache__={};a.PointCloud=G;G.prototype.num_attributes=G.prototype.num_attributes=function(){return $a(this.ptr)};G.prototype.num_points= | ||
G.prototype.num_points=function(){return ab(this.ptr)};G.prototype.__destroy__=G.prototype.__destroy__=function(){bb(this.ptr)};E.prototype=Object.create(w.prototype);E.prototype.constructor=E;E.prototype.__class__=E;E.__cache__={};a.Mesh=E;E.prototype.num_faces=E.prototype.num_faces=function(){return cb(this.ptr)};E.prototype.num_attributes=E.prototype.num_attributes=function(){return db(this.ptr)};E.prototype.num_points=E.prototype.num_points=function(){return eb(this.ptr)};E.prototype.set_num_points= | ||
E.prototype.set_num_points=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);fb(c,b)};E.prototype.__destroy__=E.prototype.__destroy__=function(){gb(this.ptr)};N.prototype=Object.create(w.prototype);N.prototype.constructor=N;N.prototype.__class__=N;N.__cache__={};a.Metadata=N;N.prototype.__destroy__=N.prototype.__destroy__=function(){hb(this.ptr)};H.prototype=Object.create(w.prototype);H.prototype.constructor=H;H.prototype.__class__=H;H.__cache__={};a.DracoInt8Array=H;H.prototype.GetValue= | ||
H.prototype.GetValue=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);return ib(c,b)};H.prototype.size=H.prototype.size=function(){return jb(this.ptr)};H.prototype.__destroy__=H.prototype.__destroy__=function(){kb(this.ptr)};F.prototype=Object.create(w.prototype);F.prototype.constructor=F;F.prototype.__class__=F;F.__cache__={};a.MetadataBuilder=F;F.prototype.AddStringEntry=F.prototype.AddStringEntry=function(b,c,d){var e=this.ptr;n.prepare();b&&"object"===typeof b&&(b=b.ptr);c=c&&"object"=== | ||
typeof c?c.ptr:O(c);d=d&&"object"===typeof d?d.ptr:O(d);return!!lb(e,b,c,d)};F.prototype.AddIntEntry=F.prototype.AddIntEntry=function(b,c,d){var e=this.ptr;n.prepare();b&&"object"===typeof b&&(b=b.ptr);c=c&&"object"===typeof c?c.ptr:O(c);d&&"object"===typeof d&&(d=d.ptr);return!!mb(e,b,c,d)};F.prototype.AddIntEntryArray=F.prototype.AddIntEntryArray=function(b,c,d,e){var g=this.ptr;n.prepare();b&&"object"===typeof b&&(b=b.ptr);c=c&&"object"===typeof c?c.ptr:O(c);"object"==typeof d&&(d=V(d));e&&"object"=== | ||
typeof e&&(e=e.ptr);return!!nb(g,b,c,d,e)};F.prototype.AddDoubleEntry=F.prototype.AddDoubleEntry=function(b,c,d){var e=this.ptr;n.prepare();b&&"object"===typeof b&&(b=b.ptr);c=c&&"object"===typeof c?c.ptr:O(c);d&&"object"===typeof d&&(d=d.ptr);return!!ob(e,b,c,d)};F.prototype.__destroy__=F.prototype.__destroy__=function(){pb(this.ptr)};x.prototype=Object.create(w.prototype);x.prototype.constructor=x;x.prototype.__class__=x;x.__cache__={};a.PointCloudBuilder=x;x.prototype.AddFloatAttribute=x.prototype.AddFloatAttribute= | ||
function(b,c,d,e,g){var t=this.ptr;n.prepare();b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);e&&"object"===typeof e&&(e=e.ptr);"object"==typeof g&&(g=ba(g));return qb(t,b,c,d,e,g)};x.prototype.AddInt8Attribute=x.prototype.AddInt8Attribute=function(b,c,d,e,g){var t=this.ptr;n.prepare();b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);e&&"object"===typeof e&&(e=e.ptr);"object"==typeof g&&(g= | ||
ha(g));return rb(t,b,c,d,e,g)};x.prototype.AddUInt8Attribute=x.prototype.AddUInt8Attribute=function(b,c,d,e,g){var t=this.ptr;n.prepare();b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);e&&"object"===typeof e&&(e=e.ptr);"object"==typeof g&&(g=ha(g));return sb(t,b,c,d,e,g)};x.prototype.AddInt16Attribute=x.prototype.AddInt16Attribute=function(b,c,d,e,g){var t=this.ptr;n.prepare();b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr); | ||
d&&"object"===typeof d&&(d=d.ptr);e&&"object"===typeof e&&(e=e.ptr);"object"==typeof g&&(g=ia(g));return tb(t,b,c,d,e,g)};x.prototype.AddUInt16Attribute=x.prototype.AddUInt16Attribute=function(b,c,d,e,g){var t=this.ptr;n.prepare();b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);e&&"object"===typeof e&&(e=e.ptr);"object"==typeof g&&(g=ia(g));return ub(t,b,c,d,e,g)};x.prototype.AddInt32Attribute=x.prototype.AddInt32Attribute=function(b,c,d,e,g){var t= | ||
this.ptr;n.prepare();b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);e&&"object"===typeof e&&(e=e.ptr);"object"==typeof g&&(g=V(g));return vb(t,b,c,d,e,g)};x.prototype.AddUInt32Attribute=x.prototype.AddUInt32Attribute=function(b,c,d,e,g){var t=this.ptr;n.prepare();b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);e&&"object"===typeof e&&(e=e.ptr);"object"==typeof g&&(g=V(g));return wb(t,b,c,d, | ||
e,g)};x.prototype.AddMetadata=x.prototype.AddMetadata=function(b,c){var d=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);return!!xb(d,b,c)};x.prototype.SetMetadataForAttribute=x.prototype.SetMetadataForAttribute=function(b,c,d){var e=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);return!!yb(e,b,c,d)};x.prototype.__destroy__=x.prototype.__destroy__=function(){zb(this.ptr)};u.prototype=Object.create(w.prototype); | ||
u.prototype.constructor=u;u.prototype.__class__=u;u.__cache__={};a.MeshBuilder=u;u.prototype.AddFacesToMesh=u.prototype.AddFacesToMesh=function(b,c,d){var e=this.ptr;n.prepare();b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);"object"==typeof d&&(d=V(d));return!!Ab(e,b,c,d)};u.prototype.AddFloatAttributeToMesh=u.prototype.AddFloatAttributeToMesh=function(b,c,d,e,g){var t=this.ptr;n.prepare();b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&& | ||
(d=d.ptr);e&&"object"===typeof e&&(e=e.ptr);"object"==typeof g&&(g=ba(g));return Bb(t,b,c,d,e,g)};u.prototype.AddInt32AttributeToMesh=u.prototype.AddInt32AttributeToMesh=function(b,c,d,e,g){var t=this.ptr;n.prepare();b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);e&&"object"===typeof e&&(e=e.ptr);"object"==typeof g&&(g=V(g));return Cb(t,b,c,d,e,g)};u.prototype.AddMetadataToMesh=u.prototype.AddMetadataToMesh=function(b,c){var d=this.ptr;b&&"object"=== | ||
typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);return!!Db(d,b,c)};u.prototype.AddFloatAttribute=u.prototype.AddFloatAttribute=function(b,c,d,e,g){var t=this.ptr;n.prepare();b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);e&&"object"===typeof e&&(e=e.ptr);"object"==typeof g&&(g=ba(g));return Eb(t,b,c,d,e,g)};u.prototype.AddInt8Attribute=u.prototype.AddInt8Attribute=function(b,c,d,e,g){var t=this.ptr;n.prepare();b&&"object"===typeof b&&(b= | ||
b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);e&&"object"===typeof e&&(e=e.ptr);"object"==typeof g&&(g=ha(g));return Fb(t,b,c,d,e,g)};u.prototype.AddUInt8Attribute=u.prototype.AddUInt8Attribute=function(b,c,d,e,g){var t=this.ptr;n.prepare();b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);e&&"object"===typeof e&&(e=e.ptr);"object"==typeof g&&(g=ha(g));return Gb(t,b,c,d,e,g)};u.prototype.AddInt16Attribute=u.prototype.AddInt16Attribute= | ||
function(b,c,d,e,g){var t=this.ptr;n.prepare();b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);e&&"object"===typeof e&&(e=e.ptr);"object"==typeof g&&(g=ia(g));return Hb(t,b,c,d,e,g)};u.prototype.AddUInt16Attribute=u.prototype.AddUInt16Attribute=function(b,c,d,e,g){var t=this.ptr;n.prepare();b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);e&&"object"===typeof e&&(e=e.ptr);"object"==typeof g&& | ||
(g=ia(g));return Ib(t,b,c,d,e,g)};u.prototype.AddInt32Attribute=u.prototype.AddInt32Attribute=function(b,c,d,e,g){var t=this.ptr;n.prepare();b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);e&&"object"===typeof e&&(e=e.ptr);"object"==typeof g&&(g=V(g));return Jb(t,b,c,d,e,g)};u.prototype.AddUInt32Attribute=u.prototype.AddUInt32Attribute=function(b,c,d,e,g){var t=this.ptr;n.prepare();b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr); | ||
d&&"object"===typeof d&&(d=d.ptr);e&&"object"===typeof e&&(e=e.ptr);"object"==typeof g&&(g=V(g));return Kb(t,b,c,d,e,g)};u.prototype.AddMetadata=u.prototype.AddMetadata=function(b,c){var d=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);return!!Lb(d,b,c)};u.prototype.SetMetadataForAttribute=u.prototype.SetMetadataForAttribute=function(b,c,d){var e=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);return!!Mb(e, | ||
b,c,d)};u.prototype.__destroy__=u.prototype.__destroy__=function(){Nb(this.ptr)};y.prototype=Object.create(w.prototype);y.prototype.constructor=y;y.prototype.__class__=y;y.__cache__={};a.Encoder=y;y.prototype.SetEncodingMethod=y.prototype.SetEncodingMethod=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);Ob(c,b)};y.prototype.SetAttributeQuantization=y.prototype.SetAttributeQuantization=function(b,c){var d=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);Pb(d, | ||
b,c)};y.prototype.SetAttributeExplicitQuantization=y.prototype.SetAttributeExplicitQuantization=function(b,c,d,e,g){var t=this.ptr;n.prepare();b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);"object"==typeof e&&(e=ba(e));g&&"object"===typeof g&&(g=g.ptr);Qb(t,b,c,d,e,g)};y.prototype.SetSpeedOptions=y.prototype.SetSpeedOptions=function(b,c){var d=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);Rb(d,b,c)};y.prototype.SetTrackEncodedProperties= | ||
y.prototype.SetTrackEncodedProperties=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);Sb(c,b)};y.prototype.EncodeMeshToDracoBuffer=y.prototype.EncodeMeshToDracoBuffer=function(b,c){var d=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);return Tb(d,b,c)};y.prototype.EncodePointCloudToDracoBuffer=y.prototype.EncodePointCloudToDracoBuffer=function(b,c,d){var e=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&& | ||
(d=d.ptr);return Ub(e,b,c,d)};y.prototype.GetNumberOfEncodedPoints=y.prototype.GetNumberOfEncodedPoints=function(){return Vb(this.ptr)};y.prototype.GetNumberOfEncodedFaces=y.prototype.GetNumberOfEncodedFaces=function(){return Wb(this.ptr)};y.prototype.__destroy__=y.prototype.__destroy__=function(){Xb(this.ptr)};A.prototype=Object.create(w.prototype);A.prototype.constructor=A;A.prototype.__class__=A;A.__cache__={};a.ExpertEncoder=A;A.prototype.SetEncodingMethod=A.prototype.SetEncodingMethod=function(b){var c= | ||
this.ptr;b&&"object"===typeof b&&(b=b.ptr);Yb(c,b)};A.prototype.SetAttributeQuantization=A.prototype.SetAttributeQuantization=function(b,c){var d=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);Zb(d,b,c)};A.prototype.SetAttributeExplicitQuantization=A.prototype.SetAttributeExplicitQuantization=function(b,c,d,e,g){var t=this.ptr;n.prepare();b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);"object"==typeof e&&(e=ba(e)); | ||
g&&"object"===typeof g&&(g=g.ptr);$b(t,b,c,d,e,g)};A.prototype.SetSpeedOptions=A.prototype.SetSpeedOptions=function(b,c){var d=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);ac(d,b,c)};A.prototype.SetTrackEncodedProperties=A.prototype.SetTrackEncodedProperties=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);bc(c,b)};A.prototype.EncodeToDracoBuffer=A.prototype.EncodeToDracoBuffer=function(b,c){var d=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"=== | ||
typeof c&&(c=c.ptr);return cc(d,b,c)};A.prototype.GetNumberOfEncodedPoints=A.prototype.GetNumberOfEncodedPoints=function(){return dc(this.ptr)};A.prototype.GetNumberOfEncodedFaces=A.prototype.GetNumberOfEncodedFaces=function(){return ec(this.ptr)};A.prototype.__destroy__=A.prototype.__destroy__=function(){fc(this.ptr)};(function(){function b(){a.INVALID=gc();a.POSITION=hc();a.NORMAL=ic();a.COLOR=jc();a.TEX_COORD=kc();a.GENERIC=lc();a.INVALID_GEOMETRY_TYPE=mc();a.POINT_CLOUD=nc();a.TRIANGULAR_MESH= | ||
oc();a.MESH_SEQUENTIAL_ENCODING=pc();a.MESH_EDGEBREAKER_ENCODING=qc()}wa?b():qa.unshift(b)})();if("function"===typeof a.onModuleParsed)a.onModuleParsed();return p.ready}}();"object"===typeof exports&&"object"===typeof module?module.exports=DracoEncoderModule:"function"===typeof define&&define.amd?define([],function(){return DracoEncoderModule}):"object"===typeof exports&&(exports.DracoEncoderModule=DracoEncoderModule); | ||
var DracoEncoderModule=function(){var l="undefined"!==typeof document&&document.currentScript?document.currentScript.src:void 0;"undefined"!==typeof __filename&&(l=l||__filename);return function(p){function m(f){return a.locateFile?a.locateFile(f,M):M+f}function r(f){pa=f;a.HEAP8=Q=new Int8Array(f);a.HEAP16=fa=new Int16Array(f);a.HEAP32=K=new Int32Array(f);a.HEAPU8=ha=new Uint8Array(f);a.HEAPU16=new Uint16Array(f);a.HEAPU32=new Uint32Array(f);a.HEAPF32=ia=new Float32Array(f);a.HEAPF64=new Float64Array(f)} | ||
function k(f){if(a.onAbort)a.onAbort(f);f="Aborted("+f+")";V(f);qa=!0;f=new WebAssembly.RuntimeError(f+". Build with -s ASSERTIONS=1 for more info.");ja(f);throw f;}function C(f){try{if(f==J&&W)return new Uint8Array(W);if(ka)return ka(f);throw"both async and sync fetching of the wasm failed";}catch(b){k(b)}}function h(){if(!W&&(ra||X)){if("function"===typeof fetch&&!J.startsWith("file://"))return fetch(J,{credentials:"same-origin"}).then(function(f){if(!f.ok)throw"failed to load wasm binary file at '"+ | ||
J+"'";return f.arrayBuffer()}).catch(function(){return C(J)});if(la)return new Promise(function(f,b){la(J,function(c){f(new Uint8Array(c))},b)})}return Promise.resolve().then(function(){return C(J)})}function q(f){for(;0<f.length;){var b=f.shift();if("function"==typeof b)b(a);else{var c=b.func;"number"===typeof c?void 0===b.arg?v(c)():v(c)(b.arg):c(void 0===b.arg?null:b.arg)}}}function v(f){var b=aa[f];b||(f>=aa.length&&(aa.length=f+1),aa[f]=b=sa.get(f));return b}function D(f){this.excPtr=f;this.ptr= | ||
f-16;this.set_type=function(b){K[this.ptr+4>>2]=b};this.get_type=function(){return K[this.ptr+4>>2]};this.set_destructor=function(b){K[this.ptr+8>>2]=b};this.get_destructor=function(){return K[this.ptr+8>>2]};this.set_refcount=function(b){K[this.ptr>>2]=b};this.set_caught=function(b){Q[this.ptr+12>>0]=b?1:0};this.get_caught=function(){return 0!=Q[this.ptr+12>>0]};this.set_rethrown=function(b){Q[this.ptr+13>>0]=b?1:0};this.get_rethrown=function(){return 0!=Q[this.ptr+13>>0]};this.init=function(b,c){this.set_type(b); | ||
this.set_destructor(c);this.set_refcount(0);this.set_caught(!1);this.set_rethrown(!1)};this.add_ref=function(){K[this.ptr>>2]+=1};this.release_ref=function(){var b=K[this.ptr>>2];K[this.ptr>>2]=b-1;return 1===b}}function G(f){function b(){if(!ba&&(ba=!0,a.calledRun=!0,!qa)){ta=!0;q(ma);ua(a);if(a.onRuntimeInitialized)a.onRuntimeInitialized();if(a.postRun)for("function"==typeof a.postRun&&(a.postRun=[a.postRun]);a.postRun.length;)va.unshift(a.postRun.shift());q(va)}}if(!(0<T)){if(a.preRun)for("function"== | ||
typeof a.preRun&&(a.preRun=[a.preRun]);a.preRun.length;)wa.unshift(a.preRun.shift());q(wa);0<T||(a.setStatus?(a.setStatus("Running..."),setTimeout(function(){setTimeout(function(){a.setStatus("")},1);b()},1)):b())}}function y(){}function B(f){return(f||y).__cache__}function L(f,b){var c=B(b),d=c[f];if(d)return d;d=Object.create((b||y).prototype);d.ptr=f;return c[f]=d}function P(f){if("string"===typeof f){for(var b=0,c=0;c<f.length;++c){var d=f.charCodeAt(c);55296<=d&&57343>=d&&(d=65536+((d&1023)<< | ||
10)|f.charCodeAt(++c)&1023);127>=d?++b:b=2047>=d?b+2:65535>=d?b+3:b+4}b=Array(b+1);c=0;d=b.length;if(0<d){d=c+d-1;for(var e=0;e<f.length;++e){var g=f.charCodeAt(e);if(55296<=g&&57343>=g){var t=f.charCodeAt(++e);g=65536+((g&1023)<<10)|t&1023}if(127>=g){if(c>=d)break;b[c++]=g}else{if(2047>=g){if(c+1>=d)break;b[c++]=192|g>>6}else{if(65535>=g){if(c+2>=d)break;b[c++]=224|g>>12}else{if(c+3>=d)break;b[c++]=240|g>>18;b[c++]=128|g>>12&63}b[c++]=128|g>>6&63}b[c++]=128|g&63}}b[c]=0}f=n.alloc(b,Q);n.copy(b,Q, | ||
f);return f}return f}function S(f){if("object"===typeof f){var b=n.alloc(f,Q);n.copy(f,Q,b);return b}return f}function ca(f){if("object"===typeof f){var b=n.alloc(f,fa);n.copy(f,fa,b);return b}return f}function U(f){if("object"===typeof f){var b=n.alloc(f,K);n.copy(f,K,b);return b}return f}function Y(f){if("object"===typeof f){var b=n.alloc(f,ia);n.copy(f,ia,b);return b}return f}function R(){throw"cannot construct a VoidPtr, no constructor in IDL";}function N(){this.ptr=xa();B(N)[this.ptr]=this}function z(){this.ptr= | ||
ya();B(z)[this.ptr]=this}function H(){this.ptr=za();B(H)[this.ptr]=this}function E(){this.ptr=Aa();B(E)[this.ptr]=this}function O(){this.ptr=Ba();B(O)[this.ptr]=this}function I(){this.ptr=Ca();B(I)[this.ptr]=this}function F(){this.ptr=Da();B(F)[this.ptr]=this}function w(){this.ptr=Ea();B(w)[this.ptr]=this}function u(){this.ptr=Fa();B(u)[this.ptr]=this}function x(){this.ptr=Ga();B(x)[this.ptr]=this}function A(f){f&&"object"===typeof f&&(f=f.ptr);this.ptr=Ha(f);B(A)[this.ptr]=this}p=p||{};var a="undefined"!== | ||
typeof p?p:{},Ia=Object.assign,ua,ja;a.ready=new Promise(function(f,b){ua=f;ja=b});var Ja=!1,Ka=!1;a.onRuntimeInitialized=function(){Ja=!0;if(Ka&&"function"===typeof a.onModuleLoaded)a.onModuleLoaded(a)};a.onModuleParsed=function(){Ka=!0;if(Ja&&"function"===typeof a.onModuleLoaded)a.onModuleLoaded(a)};a.isVersionSupported=function(f){if("string"!==typeof f)return!1;f=f.split(".");return 2>f.length||3<f.length?!1:1==f[0]&&0<=f[1]&&5>=f[1]?!0:0!=f[0]||10<f[1]?!1:!0};var La=Ia({},a),ra="object"===typeof window, | ||
X="function"===typeof importScripts,M="",na,da;if("object"===typeof process&&"object"===typeof process.versions&&"string"===typeof process.versions.node){M=X?require("path").dirname(M)+"/":__dirname+"/";var Ma=function(){da||(na=require("fs"),da=require("path"))};var Na=function(f,b){Ma();f=da.normalize(f);return na.readFileSync(f,b?null:"utf8")};var ka=function(f){f=Na(f,!0);f.buffer||(f=new Uint8Array(f));return f};var la=function(f,b,c){Ma();f=da.normalize(f);na.readFile(f,function(d,e){d?c(d): | ||
b(e.buffer)})};1<process.argv.length&&process.argv[1].replace(/\\/g,"/");process.argv.slice(2);a.inspect=function(){return"[Emscripten Module object]"}}else if(ra||X)X?M=self.location.href:"undefined"!==typeof document&&document.currentScript&&(M=document.currentScript.src),l&&(M=l),M=0!==M.indexOf("blob:")?M.substr(0,M.replace(/[?#].*/,"").lastIndexOf("/")+1):"",Na=function(f){var b=new XMLHttpRequest;b.open("GET",f,!1);b.send(null);return b.responseText},X&&(ka=function(f){var b=new XMLHttpRequest; | ||
b.open("GET",f,!1);b.responseType="arraybuffer";b.send(null);return new Uint8Array(b.response)}),la=function(f,b,c){var d=new XMLHttpRequest;d.open("GET",f,!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 V=a.printErr||console.warn.bind(console);Ia(a,La);La=null;var W;a.wasmBinary&&(W=a.wasmBinary);"object"!==typeof WebAssembly&&k("no native wasm support detected");var ea, | ||
qa=!1,pa,Q,ha,fa,K,ia,sa,wa=[],ma=[],va=[],ta=!1,T=0,oa=null,Z=null;a.preloadedImages={};a.preloadedAudios={};var J="draco_encoder.wasm";J.startsWith("data:application/octet-stream;base64,")||(J=m(J));var aa=[],rc=0,sc={e:function(f){return Oa(f+16)+16},d:function(f,b,c){(new D(f)).init(b,c);rc++;throw f;},a:function(){k("")},c:function(f,b,c){ha.copyWithin(f,b,b+c)},b:function(f){var b=ha.length;f>>>=0;if(2147483648<f)return!1;for(var c=1;4>=c;c*=2){var d=b*(1+.2/c);d=Math.min(d,f+100663296);var e= | ||
Math,g=e.min;d=Math.max(f,d);0<d%65536&&(d+=65536-d%65536);e=g.call(e,2147483648,d);a:{try{ea.grow(e-pa.byteLength+65535>>>16);r(ea.buffer);var t=1;break a}catch(tc){}t=void 0}if(t)return!0}return!1}};(function(){function f(e,g){a.asm=e.exports;ea=a.asm.f;r(ea.buffer);sa=a.asm.h;ma.unshift(a.asm.g);T--;a.monitorRunDependencies&&a.monitorRunDependencies(T);0==T&&(null!==oa&&(clearInterval(oa),oa=null),Z&&(e=Z,Z=null,e()))}function b(e){f(e.instance)}function c(e){return h().then(function(g){return WebAssembly.instantiate(g, | ||
d)}).then(function(g){return g}).then(e,function(g){V("failed to asynchronously prepare wasm: "+g);k(g)})}var d={a:sc};T++;a.monitorRunDependencies&&a.monitorRunDependencies(T);if(a.instantiateWasm)try{return a.instantiateWasm(d,f)}catch(e){return V("Module.instantiateWasm callback failed with error: "+e),!1}(function(){return W||"function"!==typeof WebAssembly.instantiateStreaming||J.startsWith("data:application/octet-stream;base64,")||J.startsWith("file://")||"function"!==typeof fetch?c(b):fetch(J, | ||
{credentials:"same-origin"}).then(function(e){return WebAssembly.instantiateStreaming(e,d).then(b,function(g){V("wasm streaming compile failed: "+g);V("falling back to ArrayBuffer instantiation");return c(b)})})})().catch(ja);return{}})();a.___wasm_call_ctors=function(){return(a.___wasm_call_ctors=a.asm.g).apply(null,arguments)};var Pa=a._emscripten_bind_VoidPtr___destroy___0=function(){return(Pa=a._emscripten_bind_VoidPtr___destroy___0=a.asm.i).apply(null,arguments)},xa=a._emscripten_bind_GeometryAttribute_GeometryAttribute_0= | ||
function(){return(xa=a._emscripten_bind_GeometryAttribute_GeometryAttribute_0=a.asm.j).apply(null,arguments)},Qa=a._emscripten_bind_GeometryAttribute___destroy___0=function(){return(Qa=a._emscripten_bind_GeometryAttribute___destroy___0=a.asm.k).apply(null,arguments)},ya=a._emscripten_bind_PointAttribute_PointAttribute_0=function(){return(ya=a._emscripten_bind_PointAttribute_PointAttribute_0=a.asm.l).apply(null,arguments)},Ra=a._emscripten_bind_PointAttribute_size_0=function(){return(Ra=a._emscripten_bind_PointAttribute_size_0= | ||
a.asm.m).apply(null,arguments)},Sa=a._emscripten_bind_PointAttribute_attribute_type_0=function(){return(Sa=a._emscripten_bind_PointAttribute_attribute_type_0=a.asm.n).apply(null,arguments)},Ta=a._emscripten_bind_PointAttribute_data_type_0=function(){return(Ta=a._emscripten_bind_PointAttribute_data_type_0=a.asm.o).apply(null,arguments)},Ua=a._emscripten_bind_PointAttribute_num_components_0=function(){return(Ua=a._emscripten_bind_PointAttribute_num_components_0=a.asm.p).apply(null,arguments)},Va=a._emscripten_bind_PointAttribute_normalized_0= | ||
function(){return(Va=a._emscripten_bind_PointAttribute_normalized_0=a.asm.q).apply(null,arguments)},Wa=a._emscripten_bind_PointAttribute_byte_stride_0=function(){return(Wa=a._emscripten_bind_PointAttribute_byte_stride_0=a.asm.r).apply(null,arguments)},Xa=a._emscripten_bind_PointAttribute_byte_offset_0=function(){return(Xa=a._emscripten_bind_PointAttribute_byte_offset_0=a.asm.s).apply(null,arguments)},Ya=a._emscripten_bind_PointAttribute_unique_id_0=function(){return(Ya=a._emscripten_bind_PointAttribute_unique_id_0= | ||
a.asm.t).apply(null,arguments)},Za=a._emscripten_bind_PointAttribute___destroy___0=function(){return(Za=a._emscripten_bind_PointAttribute___destroy___0=a.asm.u).apply(null,arguments)},za=a._emscripten_bind_PointCloud_PointCloud_0=function(){return(za=a._emscripten_bind_PointCloud_PointCloud_0=a.asm.v).apply(null,arguments)},$a=a._emscripten_bind_PointCloud_num_attributes_0=function(){return($a=a._emscripten_bind_PointCloud_num_attributes_0=a.asm.w).apply(null,arguments)},ab=a._emscripten_bind_PointCloud_num_points_0= | ||
function(){return(ab=a._emscripten_bind_PointCloud_num_points_0=a.asm.x).apply(null,arguments)},bb=a._emscripten_bind_PointCloud___destroy___0=function(){return(bb=a._emscripten_bind_PointCloud___destroy___0=a.asm.y).apply(null,arguments)},Aa=a._emscripten_bind_Mesh_Mesh_0=function(){return(Aa=a._emscripten_bind_Mesh_Mesh_0=a.asm.z).apply(null,arguments)},cb=a._emscripten_bind_Mesh_num_faces_0=function(){return(cb=a._emscripten_bind_Mesh_num_faces_0=a.asm.A).apply(null,arguments)},db=a._emscripten_bind_Mesh_num_attributes_0= | ||
function(){return(db=a._emscripten_bind_Mesh_num_attributes_0=a.asm.B).apply(null,arguments)},eb=a._emscripten_bind_Mesh_num_points_0=function(){return(eb=a._emscripten_bind_Mesh_num_points_0=a.asm.C).apply(null,arguments)},fb=a._emscripten_bind_Mesh_set_num_points_1=function(){return(fb=a._emscripten_bind_Mesh_set_num_points_1=a.asm.D).apply(null,arguments)},gb=a._emscripten_bind_Mesh___destroy___0=function(){return(gb=a._emscripten_bind_Mesh___destroy___0=a.asm.E).apply(null,arguments)},Ba=a._emscripten_bind_Metadata_Metadata_0= | ||
function(){return(Ba=a._emscripten_bind_Metadata_Metadata_0=a.asm.F).apply(null,arguments)},hb=a._emscripten_bind_Metadata___destroy___0=function(){return(hb=a._emscripten_bind_Metadata___destroy___0=a.asm.G).apply(null,arguments)},Ca=a._emscripten_bind_DracoInt8Array_DracoInt8Array_0=function(){return(Ca=a._emscripten_bind_DracoInt8Array_DracoInt8Array_0=a.asm.H).apply(null,arguments)},ib=a._emscripten_bind_DracoInt8Array_GetValue_1=function(){return(ib=a._emscripten_bind_DracoInt8Array_GetValue_1= | ||
a.asm.I).apply(null,arguments)},jb=a._emscripten_bind_DracoInt8Array_size_0=function(){return(jb=a._emscripten_bind_DracoInt8Array_size_0=a.asm.J).apply(null,arguments)},kb=a._emscripten_bind_DracoInt8Array___destroy___0=function(){return(kb=a._emscripten_bind_DracoInt8Array___destroy___0=a.asm.K).apply(null,arguments)},Da=a._emscripten_bind_MetadataBuilder_MetadataBuilder_0=function(){return(Da=a._emscripten_bind_MetadataBuilder_MetadataBuilder_0=a.asm.L).apply(null,arguments)},lb=a._emscripten_bind_MetadataBuilder_AddStringEntry_3= | ||
function(){return(lb=a._emscripten_bind_MetadataBuilder_AddStringEntry_3=a.asm.M).apply(null,arguments)},mb=a._emscripten_bind_MetadataBuilder_AddIntEntry_3=function(){return(mb=a._emscripten_bind_MetadataBuilder_AddIntEntry_3=a.asm.N).apply(null,arguments)},nb=a._emscripten_bind_MetadataBuilder_AddIntEntryArray_4=function(){return(nb=a._emscripten_bind_MetadataBuilder_AddIntEntryArray_4=a.asm.O).apply(null,arguments)},ob=a._emscripten_bind_MetadataBuilder_AddDoubleEntry_3=function(){return(ob=a._emscripten_bind_MetadataBuilder_AddDoubleEntry_3= | ||
a.asm.P).apply(null,arguments)},pb=a._emscripten_bind_MetadataBuilder___destroy___0=function(){return(pb=a._emscripten_bind_MetadataBuilder___destroy___0=a.asm.Q).apply(null,arguments)},Ea=a._emscripten_bind_PointCloudBuilder_PointCloudBuilder_0=function(){return(Ea=a._emscripten_bind_PointCloudBuilder_PointCloudBuilder_0=a.asm.R).apply(null,arguments)},qb=a._emscripten_bind_PointCloudBuilder_AddFloatAttribute_5=function(){return(qb=a._emscripten_bind_PointCloudBuilder_AddFloatAttribute_5=a.asm.S).apply(null, | ||
arguments)},rb=a._emscripten_bind_PointCloudBuilder_AddInt8Attribute_5=function(){return(rb=a._emscripten_bind_PointCloudBuilder_AddInt8Attribute_5=a.asm.T).apply(null,arguments)},sb=a._emscripten_bind_PointCloudBuilder_AddUInt8Attribute_5=function(){return(sb=a._emscripten_bind_PointCloudBuilder_AddUInt8Attribute_5=a.asm.U).apply(null,arguments)},tb=a._emscripten_bind_PointCloudBuilder_AddInt16Attribute_5=function(){return(tb=a._emscripten_bind_PointCloudBuilder_AddInt16Attribute_5=a.asm.V).apply(null, | ||
arguments)},ub=a._emscripten_bind_PointCloudBuilder_AddUInt16Attribute_5=function(){return(ub=a._emscripten_bind_PointCloudBuilder_AddUInt16Attribute_5=a.asm.W).apply(null,arguments)},vb=a._emscripten_bind_PointCloudBuilder_AddInt32Attribute_5=function(){return(vb=a._emscripten_bind_PointCloudBuilder_AddInt32Attribute_5=a.asm.X).apply(null,arguments)},wb=a._emscripten_bind_PointCloudBuilder_AddUInt32Attribute_5=function(){return(wb=a._emscripten_bind_PointCloudBuilder_AddUInt32Attribute_5=a.asm.Y).apply(null, | ||
arguments)},xb=a._emscripten_bind_PointCloudBuilder_AddMetadata_2=function(){return(xb=a._emscripten_bind_PointCloudBuilder_AddMetadata_2=a.asm.Z).apply(null,arguments)},yb=a._emscripten_bind_PointCloudBuilder_SetMetadataForAttribute_3=function(){return(yb=a._emscripten_bind_PointCloudBuilder_SetMetadataForAttribute_3=a.asm._).apply(null,arguments)},zb=a._emscripten_bind_PointCloudBuilder___destroy___0=function(){return(zb=a._emscripten_bind_PointCloudBuilder___destroy___0=a.asm.$).apply(null,arguments)}, | ||
Fa=a._emscripten_bind_MeshBuilder_MeshBuilder_0=function(){return(Fa=a._emscripten_bind_MeshBuilder_MeshBuilder_0=a.asm.aa).apply(null,arguments)},Ab=a._emscripten_bind_MeshBuilder_AddFacesToMesh_3=function(){return(Ab=a._emscripten_bind_MeshBuilder_AddFacesToMesh_3=a.asm.ba).apply(null,arguments)},Bb=a._emscripten_bind_MeshBuilder_AddFloatAttributeToMesh_5=function(){return(Bb=a._emscripten_bind_MeshBuilder_AddFloatAttributeToMesh_5=a.asm.ca).apply(null,arguments)},Cb=a._emscripten_bind_MeshBuilder_AddInt32AttributeToMesh_5= | ||
function(){return(Cb=a._emscripten_bind_MeshBuilder_AddInt32AttributeToMesh_5=a.asm.da).apply(null,arguments)},Db=a._emscripten_bind_MeshBuilder_AddMetadataToMesh_2=function(){return(Db=a._emscripten_bind_MeshBuilder_AddMetadataToMesh_2=a.asm.ea).apply(null,arguments)},Eb=a._emscripten_bind_MeshBuilder_AddFloatAttribute_5=function(){return(Eb=a._emscripten_bind_MeshBuilder_AddFloatAttribute_5=a.asm.fa).apply(null,arguments)},Fb=a._emscripten_bind_MeshBuilder_AddInt8Attribute_5=function(){return(Fb= | ||
a._emscripten_bind_MeshBuilder_AddInt8Attribute_5=a.asm.ga).apply(null,arguments)},Gb=a._emscripten_bind_MeshBuilder_AddUInt8Attribute_5=function(){return(Gb=a._emscripten_bind_MeshBuilder_AddUInt8Attribute_5=a.asm.ha).apply(null,arguments)},Hb=a._emscripten_bind_MeshBuilder_AddInt16Attribute_5=function(){return(Hb=a._emscripten_bind_MeshBuilder_AddInt16Attribute_5=a.asm.ia).apply(null,arguments)},Ib=a._emscripten_bind_MeshBuilder_AddUInt16Attribute_5=function(){return(Ib=a._emscripten_bind_MeshBuilder_AddUInt16Attribute_5= | ||
a.asm.ja).apply(null,arguments)},Jb=a._emscripten_bind_MeshBuilder_AddInt32Attribute_5=function(){return(Jb=a._emscripten_bind_MeshBuilder_AddInt32Attribute_5=a.asm.ka).apply(null,arguments)},Kb=a._emscripten_bind_MeshBuilder_AddUInt32Attribute_5=function(){return(Kb=a._emscripten_bind_MeshBuilder_AddUInt32Attribute_5=a.asm.la).apply(null,arguments)},Lb=a._emscripten_bind_MeshBuilder_AddMetadata_2=function(){return(Lb=a._emscripten_bind_MeshBuilder_AddMetadata_2=a.asm.ma).apply(null,arguments)},Mb= | ||
a._emscripten_bind_MeshBuilder_SetMetadataForAttribute_3=function(){return(Mb=a._emscripten_bind_MeshBuilder_SetMetadataForAttribute_3=a.asm.na).apply(null,arguments)},Nb=a._emscripten_bind_MeshBuilder___destroy___0=function(){return(Nb=a._emscripten_bind_MeshBuilder___destroy___0=a.asm.oa).apply(null,arguments)},Ga=a._emscripten_bind_Encoder_Encoder_0=function(){return(Ga=a._emscripten_bind_Encoder_Encoder_0=a.asm.pa).apply(null,arguments)},Ob=a._emscripten_bind_Encoder_SetEncodingMethod_1=function(){return(Ob= | ||
a._emscripten_bind_Encoder_SetEncodingMethod_1=a.asm.qa).apply(null,arguments)},Pb=a._emscripten_bind_Encoder_SetAttributeQuantization_2=function(){return(Pb=a._emscripten_bind_Encoder_SetAttributeQuantization_2=a.asm.ra).apply(null,arguments)},Qb=a._emscripten_bind_Encoder_SetAttributeExplicitQuantization_5=function(){return(Qb=a._emscripten_bind_Encoder_SetAttributeExplicitQuantization_5=a.asm.sa).apply(null,arguments)},Rb=a._emscripten_bind_Encoder_SetSpeedOptions_2=function(){return(Rb=a._emscripten_bind_Encoder_SetSpeedOptions_2= | ||
a.asm.ta).apply(null,arguments)},Sb=a._emscripten_bind_Encoder_SetTrackEncodedProperties_1=function(){return(Sb=a._emscripten_bind_Encoder_SetTrackEncodedProperties_1=a.asm.ua).apply(null,arguments)},Tb=a._emscripten_bind_Encoder_EncodeMeshToDracoBuffer_2=function(){return(Tb=a._emscripten_bind_Encoder_EncodeMeshToDracoBuffer_2=a.asm.va).apply(null,arguments)},Ub=a._emscripten_bind_Encoder_EncodePointCloudToDracoBuffer_3=function(){return(Ub=a._emscripten_bind_Encoder_EncodePointCloudToDracoBuffer_3= | ||
a.asm.wa).apply(null,arguments)},Vb=a._emscripten_bind_Encoder_GetNumberOfEncodedPoints_0=function(){return(Vb=a._emscripten_bind_Encoder_GetNumberOfEncodedPoints_0=a.asm.xa).apply(null,arguments)},Wb=a._emscripten_bind_Encoder_GetNumberOfEncodedFaces_0=function(){return(Wb=a._emscripten_bind_Encoder_GetNumberOfEncodedFaces_0=a.asm.ya).apply(null,arguments)},Xb=a._emscripten_bind_Encoder___destroy___0=function(){return(Xb=a._emscripten_bind_Encoder___destroy___0=a.asm.za).apply(null,arguments)},Ha= | ||
a._emscripten_bind_ExpertEncoder_ExpertEncoder_1=function(){return(Ha=a._emscripten_bind_ExpertEncoder_ExpertEncoder_1=a.asm.Aa).apply(null,arguments)},Yb=a._emscripten_bind_ExpertEncoder_SetEncodingMethod_1=function(){return(Yb=a._emscripten_bind_ExpertEncoder_SetEncodingMethod_1=a.asm.Ba).apply(null,arguments)},Zb=a._emscripten_bind_ExpertEncoder_SetAttributeQuantization_2=function(){return(Zb=a._emscripten_bind_ExpertEncoder_SetAttributeQuantization_2=a.asm.Ca).apply(null,arguments)},$b=a._emscripten_bind_ExpertEncoder_SetAttributeExplicitQuantization_5= | ||
function(){return($b=a._emscripten_bind_ExpertEncoder_SetAttributeExplicitQuantization_5=a.asm.Da).apply(null,arguments)},ac=a._emscripten_bind_ExpertEncoder_SetSpeedOptions_2=function(){return(ac=a._emscripten_bind_ExpertEncoder_SetSpeedOptions_2=a.asm.Ea).apply(null,arguments)},bc=a._emscripten_bind_ExpertEncoder_SetTrackEncodedProperties_1=function(){return(bc=a._emscripten_bind_ExpertEncoder_SetTrackEncodedProperties_1=a.asm.Fa).apply(null,arguments)},cc=a._emscripten_bind_ExpertEncoder_EncodeToDracoBuffer_2= | ||
function(){return(cc=a._emscripten_bind_ExpertEncoder_EncodeToDracoBuffer_2=a.asm.Ga).apply(null,arguments)},dc=a._emscripten_bind_ExpertEncoder_GetNumberOfEncodedPoints_0=function(){return(dc=a._emscripten_bind_ExpertEncoder_GetNumberOfEncodedPoints_0=a.asm.Ha).apply(null,arguments)},ec=a._emscripten_bind_ExpertEncoder_GetNumberOfEncodedFaces_0=function(){return(ec=a._emscripten_bind_ExpertEncoder_GetNumberOfEncodedFaces_0=a.asm.Ia).apply(null,arguments)},fc=a._emscripten_bind_ExpertEncoder___destroy___0= | ||
function(){return(fc=a._emscripten_bind_ExpertEncoder___destroy___0=a.asm.Ja).apply(null,arguments)},gc=a._emscripten_enum_draco_GeometryAttribute_Type_INVALID=function(){return(gc=a._emscripten_enum_draco_GeometryAttribute_Type_INVALID=a.asm.Ka).apply(null,arguments)},hc=a._emscripten_enum_draco_GeometryAttribute_Type_POSITION=function(){return(hc=a._emscripten_enum_draco_GeometryAttribute_Type_POSITION=a.asm.La).apply(null,arguments)},ic=a._emscripten_enum_draco_GeometryAttribute_Type_NORMAL=function(){return(ic= | ||
a._emscripten_enum_draco_GeometryAttribute_Type_NORMAL=a.asm.Ma).apply(null,arguments)},jc=a._emscripten_enum_draco_GeometryAttribute_Type_COLOR=function(){return(jc=a._emscripten_enum_draco_GeometryAttribute_Type_COLOR=a.asm.Na).apply(null,arguments)},kc=a._emscripten_enum_draco_GeometryAttribute_Type_TEX_COORD=function(){return(kc=a._emscripten_enum_draco_GeometryAttribute_Type_TEX_COORD=a.asm.Oa).apply(null,arguments)},lc=a._emscripten_enum_draco_GeometryAttribute_Type_GENERIC=function(){return(lc= | ||
a._emscripten_enum_draco_GeometryAttribute_Type_GENERIC=a.asm.Pa).apply(null,arguments)},mc=a._emscripten_enum_draco_EncodedGeometryType_INVALID_GEOMETRY_TYPE=function(){return(mc=a._emscripten_enum_draco_EncodedGeometryType_INVALID_GEOMETRY_TYPE=a.asm.Qa).apply(null,arguments)},nc=a._emscripten_enum_draco_EncodedGeometryType_POINT_CLOUD=function(){return(nc=a._emscripten_enum_draco_EncodedGeometryType_POINT_CLOUD=a.asm.Ra).apply(null,arguments)},oc=a._emscripten_enum_draco_EncodedGeometryType_TRIANGULAR_MESH= | ||
function(){return(oc=a._emscripten_enum_draco_EncodedGeometryType_TRIANGULAR_MESH=a.asm.Sa).apply(null,arguments)},pc=a._emscripten_enum_draco_MeshEncoderMethod_MESH_SEQUENTIAL_ENCODING=function(){return(pc=a._emscripten_enum_draco_MeshEncoderMethod_MESH_SEQUENTIAL_ENCODING=a.asm.Ta).apply(null,arguments)},qc=a._emscripten_enum_draco_MeshEncoderMethod_MESH_EDGEBREAKER_ENCODING=function(){return(qc=a._emscripten_enum_draco_MeshEncoderMethod_MESH_EDGEBREAKER_ENCODING=a.asm.Ua).apply(null,arguments)}, | ||
Oa=a._malloc=function(){return(Oa=a._malloc=a.asm.Va).apply(null,arguments)};a._free=function(){return(a._free=a.asm.Wa).apply(null,arguments)};var ba;Z=function b(){ba||G();ba||(Z=b)};a.run=G;if(a.preInit)for("function"==typeof a.preInit&&(a.preInit=[a.preInit]);0<a.preInit.length;)a.preInit.pop()();G();y.prototype=Object.create(y.prototype);y.prototype.constructor=y;y.prototype.__class__=y;y.__cache__={};a.WrapperObject=y;a.getCache=B;a.wrapPointer=L;a.castObject=function(b,c){return L(b.ptr,c)}; | ||
a.NULL=L(0);a.destroy=function(b){if(!b.__destroy__)throw"Error: Cannot destroy object. (Did you create it yourself?)";b.__destroy__();delete B(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 n={buffer:0,size:0,pos:0,temps:[],needed:0,prepare:function(){if(n.needed){for(var b=0;b<n.temps.length;b++)a._free(n.temps[b]);n.temps.length=0;a._free(n.buffer);n.buffer=0;n.size+=n.needed;n.needed=0}n.buffer|| | ||
(n.size+=128,n.buffer=a._malloc(n.size),n.buffer||k(void 0));n.pos=0},alloc:function(b,c){n.buffer||k(void 0);b=b.length*c.BYTES_PER_ELEMENT;b=b+7&-8;n.pos+b>=n.size?(0<b||k(void 0),n.needed+=b,c=a._malloc(b),n.temps.push(c)):(c=n.buffer+n.pos,n.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 e=0;e<b.length;e++)c[d+e]=b[e]}};R.prototype=Object.create(y.prototype);R.prototype.constructor=R;R.prototype.__class__= | ||
R;R.__cache__={};a.VoidPtr=R;R.prototype.__destroy__=R.prototype.__destroy__=function(){Pa(this.ptr)};N.prototype=Object.create(y.prototype);N.prototype.constructor=N;N.prototype.__class__=N;N.__cache__={};a.GeometryAttribute=N;N.prototype.__destroy__=N.prototype.__destroy__=function(){Qa(this.ptr)};z.prototype=Object.create(y.prototype);z.prototype.constructor=z;z.prototype.__class__=z;z.__cache__={};a.PointAttribute=z;z.prototype.size=z.prototype.size=function(){return Ra(this.ptr)};z.prototype.attribute_type= | ||
z.prototype.attribute_type=function(){return Sa(this.ptr)};z.prototype.data_type=z.prototype.data_type=function(){return Ta(this.ptr)};z.prototype.num_components=z.prototype.num_components=function(){return Ua(this.ptr)};z.prototype.normalized=z.prototype.normalized=function(){return!!Va(this.ptr)};z.prototype.byte_stride=z.prototype.byte_stride=function(){return Wa(this.ptr)};z.prototype.byte_offset=z.prototype.byte_offset=function(){return Xa(this.ptr)};z.prototype.unique_id=z.prototype.unique_id= | ||
function(){return Ya(this.ptr)};z.prototype.__destroy__=z.prototype.__destroy__=function(){Za(this.ptr)};H.prototype=Object.create(y.prototype);H.prototype.constructor=H;H.prototype.__class__=H;H.__cache__={};a.PointCloud=H;H.prototype.num_attributes=H.prototype.num_attributes=function(){return $a(this.ptr)};H.prototype.num_points=H.prototype.num_points=function(){return ab(this.ptr)};H.prototype.__destroy__=H.prototype.__destroy__=function(){bb(this.ptr)};E.prototype=Object.create(y.prototype);E.prototype.constructor= | ||
E;E.prototype.__class__=E;E.__cache__={};a.Mesh=E;E.prototype.num_faces=E.prototype.num_faces=function(){return cb(this.ptr)};E.prototype.num_attributes=E.prototype.num_attributes=function(){return db(this.ptr)};E.prototype.num_points=E.prototype.num_points=function(){return eb(this.ptr)};E.prototype.set_num_points=E.prototype.set_num_points=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);fb(c,b)};E.prototype.__destroy__=E.prototype.__destroy__=function(){gb(this.ptr)};O.prototype=Object.create(y.prototype); | ||
O.prototype.constructor=O;O.prototype.__class__=O;O.__cache__={};a.Metadata=O;O.prototype.__destroy__=O.prototype.__destroy__=function(){hb(this.ptr)};I.prototype=Object.create(y.prototype);I.prototype.constructor=I;I.prototype.__class__=I;I.__cache__={};a.DracoInt8Array=I;I.prototype.GetValue=I.prototype.GetValue=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);return ib(c,b)};I.prototype.size=I.prototype.size=function(){return jb(this.ptr)};I.prototype.__destroy__=I.prototype.__destroy__= | ||
function(){kb(this.ptr)};F.prototype=Object.create(y.prototype);F.prototype.constructor=F;F.prototype.__class__=F;F.__cache__={};a.MetadataBuilder=F;F.prototype.AddStringEntry=F.prototype.AddStringEntry=function(b,c,d){var e=this.ptr;n.prepare();b&&"object"===typeof b&&(b=b.ptr);c=c&&"object"===typeof c?c.ptr:P(c);d=d&&"object"===typeof d?d.ptr:P(d);return!!lb(e,b,c,d)};F.prototype.AddIntEntry=F.prototype.AddIntEntry=function(b,c,d){var e=this.ptr;n.prepare();b&&"object"===typeof b&&(b=b.ptr);c=c&& | ||
"object"===typeof c?c.ptr:P(c);d&&"object"===typeof d&&(d=d.ptr);return!!mb(e,b,c,d)};F.prototype.AddIntEntryArray=F.prototype.AddIntEntryArray=function(b,c,d,e){var g=this.ptr;n.prepare();b&&"object"===typeof b&&(b=b.ptr);c=c&&"object"===typeof c?c.ptr:P(c);"object"==typeof d&&(d=U(d));e&&"object"===typeof e&&(e=e.ptr);return!!nb(g,b,c,d,e)};F.prototype.AddDoubleEntry=F.prototype.AddDoubleEntry=function(b,c,d){var e=this.ptr;n.prepare();b&&"object"===typeof b&&(b=b.ptr);c=c&&"object"===typeof c? | ||
c.ptr:P(c);d&&"object"===typeof d&&(d=d.ptr);return!!ob(e,b,c,d)};F.prototype.__destroy__=F.prototype.__destroy__=function(){pb(this.ptr)};w.prototype=Object.create(y.prototype);w.prototype.constructor=w;w.prototype.__class__=w;w.__cache__={};a.PointCloudBuilder=w;w.prototype.AddFloatAttribute=w.prototype.AddFloatAttribute=function(b,c,d,e,g){var t=this.ptr;n.prepare();b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);e&&"object"===typeof e&&(e= | ||
e.ptr);"object"==typeof g&&(g=Y(g));return qb(t,b,c,d,e,g)};w.prototype.AddInt8Attribute=w.prototype.AddInt8Attribute=function(b,c,d,e,g){var t=this.ptr;n.prepare();b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);e&&"object"===typeof e&&(e=e.ptr);"object"==typeof g&&(g=S(g));return rb(t,b,c,d,e,g)};w.prototype.AddUInt8Attribute=w.prototype.AddUInt8Attribute=function(b,c,d,e,g){var t=this.ptr;n.prepare();b&&"object"===typeof b&&(b=b.ptr);c&&"object"=== | ||
typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);e&&"object"===typeof e&&(e=e.ptr);"object"==typeof g&&(g=S(g));return sb(t,b,c,d,e,g)};w.prototype.AddInt16Attribute=w.prototype.AddInt16Attribute=function(b,c,d,e,g){var t=this.ptr;n.prepare();b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);e&&"object"===typeof e&&(e=e.ptr);"object"==typeof g&&(g=ca(g));return tb(t,b,c,d,e,g)};w.prototype.AddUInt16Attribute=w.prototype.AddUInt16Attribute=function(b, | ||
c,d,e,g){var t=this.ptr;n.prepare();b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);e&&"object"===typeof e&&(e=e.ptr);"object"==typeof g&&(g=ca(g));return ub(t,b,c,d,e,g)};w.prototype.AddInt32Attribute=w.prototype.AddInt32Attribute=function(b,c,d,e,g){var t=this.ptr;n.prepare();b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);e&&"object"===typeof e&&(e=e.ptr);"object"==typeof g&&(g=U(g));return vb(t, | ||
b,c,d,e,g)};w.prototype.AddUInt32Attribute=w.prototype.AddUInt32Attribute=function(b,c,d,e,g){var t=this.ptr;n.prepare();b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);e&&"object"===typeof e&&(e=e.ptr);"object"==typeof g&&(g=U(g));return wb(t,b,c,d,e,g)};w.prototype.AddMetadata=w.prototype.AddMetadata=function(b,c){var d=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);return!!xb(d,b,c)};w.prototype.SetMetadataForAttribute= | ||
w.prototype.SetMetadataForAttribute=function(b,c,d){var e=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);return!!yb(e,b,c,d)};w.prototype.__destroy__=w.prototype.__destroy__=function(){zb(this.ptr)};u.prototype=Object.create(y.prototype);u.prototype.constructor=u;u.prototype.__class__=u;u.__cache__={};a.MeshBuilder=u;u.prototype.AddFacesToMesh=u.prototype.AddFacesToMesh=function(b,c,d){var e=this.ptr;n.prepare();b&&"object"===typeof b&& | ||
(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);"object"==typeof d&&(d=U(d));return!!Ab(e,b,c,d)};u.prototype.AddFloatAttributeToMesh=u.prototype.AddFloatAttributeToMesh=function(b,c,d,e,g){var t=this.ptr;n.prepare();b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);e&&"object"===typeof e&&(e=e.ptr);"object"==typeof g&&(g=Y(g));return Bb(t,b,c,d,e,g)};u.prototype.AddInt32AttributeToMesh=u.prototype.AddInt32AttributeToMesh=function(b,c,d,e,g){var t=this.ptr; | ||
n.prepare();b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);e&&"object"===typeof e&&(e=e.ptr);"object"==typeof g&&(g=U(g));return Cb(t,b,c,d,e,g)};u.prototype.AddMetadataToMesh=u.prototype.AddMetadataToMesh=function(b,c){var d=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);return!!Db(d,b,c)};u.prototype.AddFloatAttribute=u.prototype.AddFloatAttribute=function(b,c,d,e,g){var t=this.ptr;n.prepare();b&&"object"===typeof b&& | ||
(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);e&&"object"===typeof e&&(e=e.ptr);"object"==typeof g&&(g=Y(g));return Eb(t,b,c,d,e,g)};u.prototype.AddInt8Attribute=u.prototype.AddInt8Attribute=function(b,c,d,e,g){var t=this.ptr;n.prepare();b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);e&&"object"===typeof e&&(e=e.ptr);"object"==typeof g&&(g=S(g));return Fb(t,b,c,d,e,g)};u.prototype.AddUInt8Attribute=u.prototype.AddUInt8Attribute= | ||
function(b,c,d,e,g){var t=this.ptr;n.prepare();b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);e&&"object"===typeof e&&(e=e.ptr);"object"==typeof g&&(g=S(g));return Gb(t,b,c,d,e,g)};u.prototype.AddInt16Attribute=u.prototype.AddInt16Attribute=function(b,c,d,e,g){var t=this.ptr;n.prepare();b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);e&&"object"===typeof e&&(e=e.ptr);"object"==typeof g&&(g= | ||
ca(g));return Hb(t,b,c,d,e,g)};u.prototype.AddUInt16Attribute=u.prototype.AddUInt16Attribute=function(b,c,d,e,g){var t=this.ptr;n.prepare();b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);e&&"object"===typeof e&&(e=e.ptr);"object"==typeof g&&(g=ca(g));return Ib(t,b,c,d,e,g)};u.prototype.AddInt32Attribute=u.prototype.AddInt32Attribute=function(b,c,d,e,g){var t=this.ptr;n.prepare();b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr); | ||
d&&"object"===typeof d&&(d=d.ptr);e&&"object"===typeof e&&(e=e.ptr);"object"==typeof g&&(g=U(g));return Jb(t,b,c,d,e,g)};u.prototype.AddUInt32Attribute=u.prototype.AddUInt32Attribute=function(b,c,d,e,g){var t=this.ptr;n.prepare();b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);e&&"object"===typeof e&&(e=e.ptr);"object"==typeof g&&(g=U(g));return Kb(t,b,c,d,e,g)};u.prototype.AddMetadata=u.prototype.AddMetadata=function(b,c){var d=this.ptr;b&&"object"=== | ||
typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);return!!Lb(d,b,c)};u.prototype.SetMetadataForAttribute=u.prototype.SetMetadataForAttribute=function(b,c,d){var e=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);return!!Mb(e,b,c,d)};u.prototype.__destroy__=u.prototype.__destroy__=function(){Nb(this.ptr)};x.prototype=Object.create(y.prototype);x.prototype.constructor=x;x.prototype.__class__=x;x.__cache__={};a.Encoder=x;x.prototype.SetEncodingMethod= | ||
x.prototype.SetEncodingMethod=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);Ob(c,b)};x.prototype.SetAttributeQuantization=x.prototype.SetAttributeQuantization=function(b,c){var d=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);Pb(d,b,c)};x.prototype.SetAttributeExplicitQuantization=x.prototype.SetAttributeExplicitQuantization=function(b,c,d,e,g){var t=this.ptr;n.prepare();b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"=== | ||
typeof d&&(d=d.ptr);"object"==typeof e&&(e=Y(e));g&&"object"===typeof g&&(g=g.ptr);Qb(t,b,c,d,e,g)};x.prototype.SetSpeedOptions=x.prototype.SetSpeedOptions=function(b,c){var d=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);Rb(d,b,c)};x.prototype.SetTrackEncodedProperties=x.prototype.SetTrackEncodedProperties=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);Sb(c,b)};x.prototype.EncodeMeshToDracoBuffer=x.prototype.EncodeMeshToDracoBuffer=function(b,c){var d= | ||
this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);return Tb(d,b,c)};x.prototype.EncodePointCloudToDracoBuffer=x.prototype.EncodePointCloudToDracoBuffer=function(b,c,d){var e=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);return Ub(e,b,c,d)};x.prototype.GetNumberOfEncodedPoints=x.prototype.GetNumberOfEncodedPoints=function(){return Vb(this.ptr)};x.prototype.GetNumberOfEncodedFaces=x.prototype.GetNumberOfEncodedFaces= | ||
function(){return Wb(this.ptr)};x.prototype.__destroy__=x.prototype.__destroy__=function(){Xb(this.ptr)};A.prototype=Object.create(y.prototype);A.prototype.constructor=A;A.prototype.__class__=A;A.__cache__={};a.ExpertEncoder=A;A.prototype.SetEncodingMethod=A.prototype.SetEncodingMethod=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);Yb(c,b)};A.prototype.SetAttributeQuantization=A.prototype.SetAttributeQuantization=function(b,c){var d=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"=== | ||
typeof c&&(c=c.ptr);Zb(d,b,c)};A.prototype.SetAttributeExplicitQuantization=A.prototype.SetAttributeExplicitQuantization=function(b,c,d,e,g){var t=this.ptr;n.prepare();b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);"object"==typeof e&&(e=Y(e));g&&"object"===typeof g&&(g=g.ptr);$b(t,b,c,d,e,g)};A.prototype.SetSpeedOptions=A.prototype.SetSpeedOptions=function(b,c){var d=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr); | ||
ac(d,b,c)};A.prototype.SetTrackEncodedProperties=A.prototype.SetTrackEncodedProperties=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);bc(c,b)};A.prototype.EncodeToDracoBuffer=A.prototype.EncodeToDracoBuffer=function(b,c){var d=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);return cc(d,b,c)};A.prototype.GetNumberOfEncodedPoints=A.prototype.GetNumberOfEncodedPoints=function(){return dc(this.ptr)};A.prototype.GetNumberOfEncodedFaces=A.prototype.GetNumberOfEncodedFaces= | ||
function(){return ec(this.ptr)};A.prototype.__destroy__=A.prototype.__destroy__=function(){fc(this.ptr)};(function(){function b(){a.INVALID=gc();a.POSITION=hc();a.NORMAL=ic();a.COLOR=jc();a.TEX_COORD=kc();a.GENERIC=lc();a.INVALID_GEOMETRY_TYPE=mc();a.POINT_CLOUD=nc();a.TRIANGULAR_MESH=oc();a.MESH_SEQUENTIAL_ENCODING=pc();a.MESH_EDGEBREAKER_ENCODING=qc()}ta?b():ma.unshift(b)})();if("function"===typeof a.onModuleParsed)a.onModuleParsed();return p.ready}}(); | ||
"object"===typeof exports&&"object"===typeof module?module.exports=DracoEncoderModule:"function"===typeof define&&define.amd?define([],function(){return DracoEncoderModule}):"object"===typeof exports&&(exports.DracoEncoderModule=DracoEncoderModule); |
{ | ||
"name": "draco3d", | ||
"version": "1.5.0", | ||
"version": "1.5.1", | ||
"description": "Draco is a library for compressing and decompressing 3D geometric meshes and point clouds. It is intended to improve the storage and transmission of 3D graphics.", | ||
@@ -5,0 +5,0 @@ "main": "draco3d.js", |
@@ -9,3 +9,3 @@ | ||
Check out the [README](https://github.com/google/draco/blob/1.4.3/README.md) | ||
Check out the [README](https://github.com/google/draco/blob/1.5.1/README.md) | ||
file for news about this release. | ||
@@ -12,0 +12,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
883377
758
3
6