1var $jscomp = $jscomp || {}; 2$jscomp.scope = {}; 3$jscomp.arrayIteratorImpl = (k) => { 4 var n = 0; 5 return () => (n < k.length ? { done: !1, value: k[n++] } : { done: !0 }); 6}; 7$jscomp.arrayIterator = (k) => ({ next: $jscomp.arrayIteratorImpl(k) }); 8$jscomp.makeIterator = (k) => { 9 var n = typeof Symbol != "undefined" && Symbol.iterator && k[Symbol.iterator]; 10 return n ? n.call(k) : $jscomp.arrayIterator(k); 11}; 12$jscomp.ASSUME_ES5 = !1; 13$jscomp.ASSUME_NO_NATIVE_MAP = !1; 14$jscomp.ASSUME_NO_NATIVE_SET = !1; 15$jscomp.SIMPLE_FROUND_POLYFILL = !1; 16$jscomp.ISOLATE_POLYFILLS = !1; 17$jscomp.FORCE_POLYFILL_PROMISE = !1; 18$jscomp.FORCE_POLYFILL_PROMISE_WHEN_NO_UNHANDLED_REJECTION = !1; 19$jscomp.getGlobal = (k) => { 20 k = [ 21 typeof globalThis == "object" && globalThis, 22 k, 23 typeof window == "object" && window, 24 typeof self == "object" && self, 25 typeof global == "object" && global, 26 ]; 27 for (var n = 0; n < k.length; ++n) { 28 var l = k[n]; 29 if (l && l.Math == Math) return l; 30 } 31 throw Error("Cannot find global object"); 32}; 33$jscomp.global = $jscomp.getGlobal(this); 34$jscomp.defineProperty = 35 $jscomp.ASSUME_ES5 || typeof Object.defineProperties == "function" 36 ? Object.defineProperty 37 : (k, n, l) => { 38 if (k == Array.prototype || k == Object.prototype) return k; 39 k[n] = l.value; 40 return k; 41 }; 42$jscomp.IS_SYMBOL_NATIVE = 43 typeof Symbol === "function" && typeof Symbol("x") === "symbol"; 44$jscomp.TRUST_ES6_POLYFILLS = 45 !$jscomp.ISOLATE_POLYFILLS || $jscomp.IS_SYMBOL_NATIVE; 46$jscomp.polyfills = {}; 47$jscomp.propertyToPolyfillSymbol = {}; 48$jscomp.POLYFILL_PREFIX = "$jscp$"; 49var $jscomp$lookupPolyfilledValue = (k, n) => { 50 var l = $jscomp.propertyToPolyfillSymbol[n]; 51 if (l == null) return k[n]; 52 l = k[l]; 53 return void 0 !== l ? l : k[n]; 54}; 55$jscomp.polyfill = (k, n, l, p) => { 56 n && 57 ($jscomp.ISOLATE_POLYFILLS 58 ? $jscomp.polyfillIsolated(k, n, l, p) 59 : $jscomp.polyfillUnisolated(k, n, l, p)); 60}; 61$jscomp.polyfillUnisolated = (k, n, l, p) => { 62 l = $jscomp.global; 63 k = k.split("."); 64 for (p = 0; p < k.length - 1; p++) { 65 var h = k[p]; 66 if (!(h in l)) return; 67 l = l[h]; 68 } 69 k = k[k.length - 1]; 70 p = l[k]; 71 n = n(p); 72 n != p && 73 n != null && 74 $jscomp.defineProperty(l, k, { configurable: !0, writable: !0, value: n }); 75}; 76$jscomp.polyfillIsolated = (k, n, l, p) => {
77 var h = k.split("."); 78 k = h.length === 1; 79 p = h[0]; 80 p = !k && p in $jscomp.polyfills ? $jscomp.polyfills : $jscomp.global; 81 for (var A = 0; A < h.length - 1; A++) { 82 var f = h[A]; 83 if (!(f in p)) return; 84 p = p[f]; 85 } 86 h = h[h.length - 1]; 87 l = $jscomp.IS_SYMBOL_NATIVE && l === "es6" ? p[h] : null; 88 n = n(l); 89 n != null && 90 (k 91 ? $jscomp.defineProperty($jscomp.polyfills, h, { 92 configurable: !0, 93 writable: !0, 94 value: n, 95 }) 96 : n !== l && 97 (void 0 === $jscomp.propertyToPolyfillSymbol[h] && 98 ((l = (1e9 * Math.random()) >>> 0), 99 ($jscomp.propertyToPolyfillSymbol[h] = $jscomp.IS_SYMBOL_NATIVE 100 ? $jscomp.global.Symbol(h) 101 : $jscomp.POLYFILL_PREFIX + l + "$" + h)), 102 $jscomp.defineProperty(p, $jscomp.propertyToPolyfillSymbol[h], { 103 configurable: !0, 104 writable: !0, 105 value: n, 106 }))); 107}; 108$jscomp.polyfill( 109 "Promise", 110 (k) => { 111 function n() { 112 this.batch_ = null; 113 } 114 function l(f) { 115 return f instanceof h 116 ? f 117 : new h((q, v) => { 118 q(f); 119 }); 120 } 121 if ( 122 k && 123 (!( 124 $jscomp.FORCE_POLYFILL_PROMISE || 125 ($jscomp.FORCE_POLYFILL_PROMISE_WHEN_NO_UNHANDLED_REJECTION && 126 typeof $jscomp.global.PromiseRejectionEvent === "undefined") 127 ) || 128 !$jscomp.global.Promise || 129 $jscomp.global.Promise.toString().indexOf("[native code]") === -1) 130 ) 131 return k; 132 n.prototype.asyncExecute = function (f) { 133 if (this.batch_ == null) { 134 this.batch_ = []; 135 this.asyncExecuteFunction(() => { 136 this.executeBatch_(); 137 }); 138 } 139 this.batch_.push(f); 140 }; 141 var p = $jscomp.global.setTimeout; 142 n.prototype.asyncExecuteFunction = (f) => { 143 p(f, 0); 144 }; 145 n.prototype.executeBatch_ = function () { 146 for (; this.batch_ && this.batch_.length; ) { 147 var f = this.batch_; 148 this.batch_ = []; 149 for (var q = 0; q < f.length; ++q) { 150 var v = f[q]; 151 f[q] = null; 152 try { 153 v(); 154 } catch (z) { 155 this.asyncThrow_(z); 156 } 157 } 158 } 159 this.batch_ = null; 160 }; 161 n.prototype.asyncThrow_ = function (f) { 162 this.asyncExecuteFunction(() => { 163 throw f; 164 }); 165 }; 166 var h = function (f) { 167 this.state_ = 0; 168 this.result_ = void 0; 169 this.onSettledCallbacks_ = []; 170 this.isRejectionHandled_ = !1; 171 var q = this.createResolveAndReject_(); 172 try { 173 f(q.resolve, q.reject); 174 } catch (v) { 175 q.reject(v); 176 } 177 }; 178 h.prototype.createResolveAndReject_ = function () { 179 function f(z) { 180 return (O) => { 181 v || ((v = !0), z.call(q, O)); 182 }; 183 } 184 var q = this, 185 v = !1; 186 return { resolve: f(this.resolveTo_), reject: f(this.reject_) }; 187 }; 188 h.prototype.resolveTo_ = function (f) { 189 if (f === this) 190 this.reject_(new TypeError("A Promise cannot resolve to itself")); 191 else if (f instanceof h) this.settleSameAsPromise_(f); 192 else { 193 switch (typeof f) { 194 case "object": { 195 var q = f != null; 196 break; 197 } 198 case "function": 199 q = !0; 200 break; 201 default: 202 q = !1; 203 } 204 q ? this.resolveToNonPromiseObj_(f) : this.fulfill_(f); 205 } 206 }; 207 h.prototype.resolveToNonPromiseObj_ = function (f) { 208 var q = void 0; 209 try { 210 q = f.then; 211 } catch (v) { 212 this.reject_(v); 213 return; 214 } 215 typeof q == "function" 216 ? this.settleSameAsThenable_(q, f) 217 : this.fulfill_(f); 218 }; 219 h.prototype.reject_ = function (f) { 220 this.settle_(2, f); 221 }; 222 h.prototype.fulfill_ = function (f) { 223 this.settle_(1, f); 224 }; 225 h.prototype.settle_ = function (f, q) { 226 if (this.state_ != 0) 227 throw Error( 228 "Cannot settle(" + 229 f + 230 ", " + 231 q + 232 "): Promise already settled in state" + 233 this.state_, 234 ); 235 this.state_ = f; 236 this.result_ = q; 237 this.state_ === 2 && this.scheduleUnhandledRejectionCheck_(); 238 this.executeOnSettledCallbacks_(); 239 }; 240 h.prototype.scheduleUnhandledRejectionCheck_ = function () { 241 p(() => { 242 if (this.notifyUnhandledRejection_()) { 243 var q = $jscomp.global.console; 244 typeof q !== "undefined" && q.error(this.result_); 245 } 246 }, 1); 247 }; 248 h.prototype.notifyUnhandledRejection_ = function () { 249 if (this.isRejectionHandled_) return !1; 250 var f = $jscomp.global.CustomEvent, 251 q = $jscomp.global.Event, 252 v = $jscomp.global.dispatchEvent; 253 if (typeof v === "undefined") return !0; 254 typeof f === "function" 255 ? (f = new f("unhandledrejection", { cancelable: !0 })) 256 : typeof q === "function" 257 ? (f = new q("unhandledrejection", { cancelable: !0 })) 258 : ((f = $jscomp.global.document.createEvent("CustomEvent")), 259 f.initCustomEvent("unhandledrejection", !1, !0, f)); 260 f.promise = this; 261 f.reason = this.result_; 262 return v(f); 263 }; 264 h.prototype.executeOnSettledCallbacks_ = function () { 265 if (this.onSettledCallbacks_ != null) { 266 for (var f = 0; f < this.onSettledCallbacks_.length; ++f) 267 A.asyncExecute(this.onSettledCallbacks_[f]); 268 this.onSettledCallbacks_ = null; 269 } 270 }; 271 var A = new n(); 272 h.prototype.settleSameAsPromise_ = function (f) { 273 var q = this.createResolveAndReject_(); 274 f.callWhenSettled_(q.resolve, q.reject); 275 }; 276 h.prototype.settleSameAsThenable_ = function (f, q) { 277 var v = this.createResolveAndReject_();
278 try { 279 f.call(q, v.resolve, v.reject); 280 } catch (z) { 281 v.reject(z); 282 } 283 }; 284 h.prototype.then = function (f, q) { 285 function v(t, x) { 286 return typeof t == "function" 287 ? (D) => { 288 try { 289 z(t(D)); 290 } catch (R) { 291 O(R); 292 } 293 } 294 : x; 295 } 296 var z, 297 O, 298 ba = new h((t, x) => { 299 z = t; 300 O = x; 301 }); 302 this.callWhenSettled_(v(f, z), v(q, O)); 303 return ba; 304 }; 305 h.prototype.catch = function (f) { 306 return this.then(void 0, f); 307 }; 308 h.prototype.callWhenSettled_ = function (f, q) { 309 function v() { 310 switch (z.state_) { 311 case 1: 312 f(z.result_); 313 break; 314 case 2: 315 q(z.result_); 316 break; 317 default: 318 throw Error("Unexpected state: " + z.state_); 319 } 320 } 321 var z = this; 322 this.onSettledCallbacks_ == null 323 ? A.asyncExecute(v) 324 : this.onSettledCallbacks_.push(v); 325 this.isRejectionHandled_ = !0; 326 }; 327 h.resolve = l; 328 h.reject = (f) => 329 new h((q, v) => { 330 v(f); 331 }); 332 h.race = (f) => 333 new h((q, v) => { 334 for ( 335 var z = $jscomp.makeIterator(f), O = z.next(); 336 !O.done; 337 O = z.next() 338 ) 339 l(O.value).callWhenSettled_(q, v); 340 }); 341 h.all = (f) => { 342 var q = $jscomp.makeIterator(f), 343 v = q.next(); 344 return v.done 345 ? l([]) 346 : new h((z, O) => { 347 function ba(D) { 348 return (R) => { 349 t[D] = R; 350 x--; 351 x == 0 && z(t); 352 }; 353 } 354 var t = [], 355 x = 0; 356 do 357 t.push(void 0), 358 x++, 359 l(v.value).callWhenSettled_(ba(t.length - 1), O), 360 (v = q.next()); 361 while (!v.done); 362 }); 363 }; 364 return h; 365 }, 366 "es6", 367 "es3", 368); 369$jscomp.owns = (k, n) => Object.hasOwn(k, n); 370$jscomp.assign = 371 $jscomp.TRUST_ES6_POLYFILLS && typeof Object.assign == "function" 372 ? Object.assign 373 : function (k, n) { 374 for (var l = 1; l < arguments.length; l++) { 375 var p = arguments[l]; 376 if (p) for (var h in p) $jscomp.owns(p, h) && (k[h] = p[h]); 377 } 378 return k; 379 }; 380$jscomp.polyfill("Object.assign", (k) => k || $jscomp.assign, "es6", "es3"); 381$jscomp.checkStringArgs = (k, n, l) => { 382 if (k == null) 383 throw new TypeError( 384 "The 'this' value for String.prototype." + 385 l + 386 " must not be null or undefined", 387 ); 388 if (n instanceof RegExp) 389 throw new TypeError( 390 "First argument to String.prototype." + 391 l + 392 " must not be a regular expression", 393 ); 394 return k + ""; 395}; 396$jscomp.polyfill( 397 "String.prototype.startsWith", 398 (k) => 399 k 400 ? k 401 : function (n, l) { 402 var p = $jscomp.checkStringArgs(this, n, "startsWith"); 403 n += ""; 404 var h = p.length, 405 A = n.length; 406 l = Math.max(0, Math.min(l | 0, p.length)); 407 for (var f = 0; f < A && l < h; ) if (p[l++] != n[f++]) return !1; 408 return f >= A; 409 }, 410 "es6", 411 "es3", 412); 413$jscomp.polyfill( 414 "Array.prototype.copyWithin", 415 (k) => { 416 function n(l) { 417 l = Number(l); 418 return Infinity === l || -Infinity === l ? l : l | 0; 419 } 420 return k 421 ? k 422 : function (l, p, h) { 423 var A = this.length; 424 l = n(l); 425 p = n(p); 426 h = void 0 === h ? A : n(h); 427 l = l < 0 ? Math.max(A + l, 0) : Math.min(l, A); 428 p = p < 0 ? Math.max(A + p, 0) : Math.min(p, A); 429 h = h < 0 ? Math.max(A + h, 0) : Math.min(h, A); 430 if (l < p) 431 for (; p < h; ) 432 p in this ? (this[l++] = this[p++]) : (delete this[l++], p++); 433 else 434 for (h = Math.min(h, A + p - l), l += h - p; h > p; ) 435 --h in this ? (this[--l] = this[h]) : delete this[--l]; 436 return this; 437 }; 438 }, 439 "es6", 440 "es3", 441); 442$jscomp.typedArrayCopyWithin = (k) => (k ? k : Array.prototype.copyWithin); 443$jscomp.polyfill( 444 "Int8Array.prototype.copyWithin", 445 $jscomp.typedArrayCopyWithin, 446 "es6", 447 "es5", 448); 449$jscomp.polyfill( 450 "Uint8Array.prototype.copyWithin", 451 $jscomp.typedArrayCopyWithin, 452 "es6", 453 "es5", 454); 455$jscomp.polyfill( 456 "Uint8ClampedArray.prototype.copyWithin", 457 $jscomp.typedArrayCopyWithin, 458 "es6", 459 "es5", 460); 461$jscomp.polyfill( 462 "Int16Array.prototype.copyWithin", 463 $jscomp.typedArrayCopyWithin, 464 "es6", 465 "es5", 466); 467$jscomp.polyfill( 468 "Uint16Array.prototype.copyWithin", 469 $jscomp.typedArrayCopyWithin, 470 "es6", 471 "es5", 472); 473$jscomp.polyfill( 474 "Int32Array.prototype.copyWithin", 475 $jscomp.typedArrayCopyWithin, 476 "es6", 477 "es5", 478); 479$jscomp.polyfill( 480 "Uint32Array.prototype.copyWithin", 481 $jscomp.typedArrayCopyWithin, 482 "es6", 483 "es5", 484); 485$jscomp.polyfill( 486 "Float32Array.prototype.copyWithin", 487 $jscomp.typedArrayCopyWithin, 488 "es6", 489 "es5", 490); 491$jscomp.polyfill( 492 "Float64Array.prototype.copyWithin", 493 $jscomp.typedArrayCopyWithin, 494 "es6", 495 "es5", 496); 497var DracoDecoderModule = (() => { 498 var k = 499 typeof document !== "undefined" && document.currentScript 500 ? document.currentScript.src 501 : void 0; 502 typeof __filename !== "undefined" && (k = k || __filename); 503 return (n) => { 504 function l(e) { 505 return a.locateFile ? a.locateFile(e, U) : U + e; 506 } 507 function p(e, b, c) { 508 var d = b + c; 509 for (c = b; e[c] && !(c >= d); ) ++c; 510 if (c - b > 16 && e.buffer && ua) return ua.decode(e.subarray(b, c)); 511 for (d = ""; b < c; ) { 512 var g = e[b++]; 513 if (g & 128) { 514 var u = e[b++] & 63; 515 if ((g & 224) == 192) d += String.fromCharCode(((g & 31) << 6) | u); 516 else { 517 var X = e[b++] & 63; 518 g = 519 (g & 240) == 224 520 ? ((g & 15) << 12) | (u << 6) | X 521 : ((g & 7) << 18) | (u << 12) | (X << 6) | (e[b++] & 63); 522 g < 65536 523 ? (d += String.fromCharCode(g)) 524 : ((g -= 65536), 525 (d += String.fromCharCode( 526 55296 | (g >> 10), 527 56320 | (g & 1023), 528 ))); 529 } 530 } else d += String.fromCharCode(g); 531 } 532 return d; 533 } 534 function h(e, b) { 535 return e ? p(ea, e, b) : ""; 536 } 537 function A(e) { 538 va = e; 539 a.HEAP8 = Y = new Int8Array(e); 540 a.HEAP16 = new Int16Array(e); 541 a.HEAP32 = ca = new Int32Array(e); 542 a.HEAPU8 = ea = new Uint8Array(e); 543 a.HEAPU16 = new Uint16Array(e); 544 a.HEAPU32 = V = new Uint32Array(e); 545 a.HEAPF32 = new Float32Array(e); 546 a.HEAPF64 = new Float64Array(e); 547 } 548 function f(e) { 549 if (a.onAbort) a.onAbort(e); 550 e = "Aborted(" + e + ")"; 551 da(e); 552 wa = !0; 553 e = new WebAssembly.RuntimeError( 554 e + ". Build with -sASSERTIONS for more info.", 555 ); 556 ja(e); 557 throw e; 558 } 559 function q(e) {
560 try { 561 if (e == P && fa) return new Uint8Array(fa); 562 if (ma) return ma(e); 563 throw "both async and sync fetching of the wasm failed"; 564 } catch (b) { 565 f(b); 566 } 567 } 568 function v() { 569 if (!fa && (xa || ha)) { 570 if (typeof fetch == "function" && !P.startsWith("file://")) 571 return fetch(P, { credentials: "same-origin" }) 572 .then((e) => { 573 if (!e.ok) throw "failed to load wasm binary file at '" + P + "'"; 574 return e.arrayBuffer(); 575 }) 576 .catch(() => q(P)); 577 if (na) 578 return new Promise((e, b) => { 579 na( 580 P, 581 (c) => { 582 e(new Uint8Array(c)); 583 }, 584 b, 585 ); 586 }); 587 } 588 return Promise.resolve().then(() => q(P)); 589 } 590 function z(e) { 591 for (; e.length > 0; ) e.shift()(a); 592 } 593 function O(e) { 594 this.excPtr = e; 595 this.ptr = e - 24; 596 this.set_type = function (b) { 597 V[(this.ptr + 4) >> 2] = b; 598 }; 599 this.get_type = function () { 600 return V[(this.ptr + 4) >> 2]; 601 }; 602 this.set_destructor = function (b) { 603 V[(this.ptr + 8) >> 2] = b; 604 }; 605 this.get_destructor = function () { 606 return V[(this.ptr + 8) >> 2]; 607 }; 608 this.set_refcount = function (b) { 609 ca[this.ptr >> 2] = b; 610 }; 611 this.set_caught = function (b) { 612 Y[(this.ptr + 12) >> 0] = b ? 1 : 0; 613 }; 614 this.get_caught = function () { 615 return Y[(this.ptr + 12) >> 0] != 0; 616 }; 617 this.set_rethrown = function (b) { 618 Y[(this.ptr + 13) >> 0] = b ? 1 : 0; 619 }; 620 this.get_rethrown = function () { 621 return Y[(this.ptr + 13) >> 0] != 0; 622 }; 623 this.init = function (b, c) { 624 this.set_adjusted_ptr(0); 625 this.set_type(b); 626 this.set_destructor(c); 627 this.set_refcount(0); 628 this.set_caught(!1); 629 this.set_rethrown(!1); 630 }; 631 this.add_ref = function () { 632 ca[this.ptr >> 2] += 1; 633 }; 634 this.release_ref = function () { 635 var b = ca[this.ptr >> 2]; 636 ca[this.ptr >> 2] = b - 1; 637 return b === 1; 638 }; 639 this.set_adjusted_ptr = function (b) { 640 V[(this.ptr + 16) >> 2] = b; 641 }; 642 this.get_adjusted_ptr = function () { 643 return V[(this.ptr + 16) >> 2]; 644 }; 645 this.get_exception_ptr = function () { 646 if (ya(this.get_type())) return V[this.excPtr >> 2]; 647 var b = this.get_adjusted_ptr(); 648 return b !== 0 ? b : this.excPtr; 649 }; 650 } 651 function ba(e) { 652 function b() { 653 if (!ka && ((ka = !0), (a.calledRun = !0), !wa)) { 654 za = !0; 655 z(oa); 656 Aa(a); 657 if (a.onRuntimeInitialized) a.onRuntimeInitialized(); 658 if (a.postRun) 659 for ( 660 typeof a.postRun == "function" && (a.postRun = [a.postRun]); 661 a.postRun.length; 662 ) 663 Ba.unshift(a.postRun.shift()); 664 z(Ba); 665 } 666 } 667 if (!(aa > 0)) { 668 if (a.preRun) 669 for ( 670 typeof a.preRun == "function" && (a.preRun = [a.preRun]); 671 a.preRun.length; 672 ) 673 Ca.unshift(a.preRun.shift()); 674 z(Ca); 675 aa > 0 || 676 (a.setStatus 677 ? (a.setStatus("Running..."), 678 setTimeout(() => { 679 setTimeout(() => { 680 a.setStatus(""); 681 }, 1); 682 b(); 683 }, 1)) 684 : b()); 685 } 686 } 687 function t() {} 688 function x(e) { 689 return (e || t).__cache__; 690 } 691 function D(e, b) { 692 var c = x(b), 693 d = c[e]; 694 if (d) return d; 695 d = Object.create((b || t).prototype); 696 d.ptr = e; 697 return (c[e] = d); 698 } 699 function R(e) { 700 if (typeof e === "string") { 701 for (var b = 0, c = 0; c < e.length; ++c) { 702 var d = e.charCodeAt(c); 703 d <= 127 704 ? b++ 705 : d <= 2047 706 ? (b += 2) 707 : d >= 55296 && d <= 57343 708 ? ((b += 4), ++c) 709 : (b += 3); 710 } 711 b = Array(b + 1); 712 c = 0; 713 d = b.length; 714 if (d > 0) { 715 d = c + d - 1; 716 for (var g = 0; g < e.length; ++g) { 717 var u = e.charCodeAt(g); 718 if (u >= 55296 && u <= 57343) { 719 var X = e.charCodeAt(++g); 720 u = (65536 + ((u & 1023) << 10)) | (X & 1023); 721 } 722 if (u <= 127) { 723 if (c >= d) break; 724 b[c++] = u; 725 } else { 726 if (u <= 2047) { 727 if (c + 1 >= d) break; 728 b[c++] = 192 | (u >> 6); 729 } else { 730 if (u <= 65535) { 731 if (c + 2 >= d) break; 732 b[c++] = 224 | (u >> 12); 733 } else { 734 if (c + 3 >= d) break; 735 b[c++] = 240 | (u >> 18); 736 b[c++] = 128 | ((u >> 12) & 63); 737 } 738 b[c++] = 128 | ((u >> 6) & 63); 739 } 740 b[c++] = 128 | (u & 63); 741 } 742 } 743 b[c] = 0; 744 } 745 e = r.alloc(b, Y); 746 r.copy(b, Y, e); 747 return e; 748 } 749 return e; 750 } 751 function pa(e) { 752 if (typeof e === "object") { 753 var b = r.alloc(e, Y); 754 r.copy(e, Y, b); 755 return b; 756 } 757 return e; 758 } 759 function Z() { 760 throw "cannot construct a VoidPtr, no constructor in IDL"; 761 } 762 function S() { 763 this.ptr = Da(); 764 x(S)[this.ptr] = this; 765 } 766 function Q() { 767 this.ptr = Ea(); 768 x(Q)[this.ptr] = this; 769 } 770 function W() { 771 this.ptr = Fa(); 772 x(W)[this.ptr] = this; 773 } 774 function w() { 775 this.ptr = Ga(); 776 x(w)[this.ptr] = this; 777 } 778 function C() { 779 this.ptr = Ha(); 780 x(C)[this.ptr] = this; 781 } 782 function F() { 783 this.ptr = Ia(); 784 x(F)[this.ptr] = this; 785 } 786 function G() { 787 this.ptr = Ja(); 788 x(G)[this.ptr] = this; 789 } 790 function E() { 791 this.ptr = Ka(); 792 x(E)[this.ptr] = this; 793 } 794 function T() { 795 this.ptr = La(); 796 x(T)[this.ptr] = this; 797 } 798 function B() { 799 throw "cannot construct a Status, no constructor in IDL"; 800 } 801 function H() { 802 this.ptr = Ma(); 803 x(H)[this.ptr] = this; 804 } 805 function I() { 806 this.ptr = Na(); 807 x(I)[this.ptr] = this; 808 } 809 function J() { 810 this.ptr = Oa(); 811 x(J)[this.ptr] = this; 812 } 813 function K() { 814 this.ptr = Pa(); 815 x(K)[this.ptr] = this; 816 } 817 function L() { 818 this.ptr = Qa(); 819 x(L)[this.ptr] = this; 820 } 821 function M() { 822 this.ptr = Ra(); 823 x(M)[this.ptr] = this; 824 } 825 function N() { 826 this.ptr = Sa(); 827 x(N)[this.ptr] = this; 828 } 829 function y() { 830 this.ptr = Ta(); 831 x(y)[this.ptr] = this; 832 } 833 function m() { 834 this.ptr = Ua(); 835 x(m)[this.ptr] = this; 836 } 837 n = n || {}; 838 var a = typeof n != "undefined" ? n : {}, 839 Aa, 840 ja; 841 a.ready = new Promise((e, b) => { 842 Aa = e; 843 ja = b; 844 });
845 var Va = !1, 846 Wa = !1; 847 a.onRuntimeInitialized = () => { 848 Va = !0; 849 if (Wa && typeof a.onModuleLoaded === "function") a.onModuleLoaded(a); 850 }; 851 a.onModuleParsed = () => { 852 Wa = !0; 853 if (Va && typeof a.onModuleLoaded === "function") a.onModuleLoaded(a); 854 }; 855 a.isVersionSupported = (e) => { 856 if (typeof e !== "string") return !1; 857 e = e.split("."); 858 return e.length < 2 || e.length > 3 859 ? !1 860 : e[0] == 1 && e[1] >= 0 && e[1] <= 5 861 ? !0 862 : e[0] != 0 || e[1] > 10 863 ? !1 864 : !0; 865 }; 866 var Xa = Object.assign({}, a), 867 xa = typeof window == "object", 868 ha = typeof importScripts == "function", 869 Ya = 870 typeof process == "object" && 871 typeof process.versions == "object" && 872 typeof process.versions.node == "string", 873 U = ""; 874 if (Ya) { 875 U = ha ? require("path").dirname(U) + "/" : __dirname + "/"; 876 if (typeof require === "function") { 877 var Za = require("fs"); 878 var $a = require("path"); 879 } 880 var ab = (e, b) => { 881 e = $a.normalize(e); 882 return Za.readFileSync(e, b ? void 0 : "utf8"); 883 }; 884 var ma = (e) => { 885 e = ab(e, !0); 886 e.buffer || (e = new Uint8Array(e)); 887 return e; 888 }; 889 var na = (e, b, c) => { 890 e = $a.normalize(e); 891 Za.readFile(e, (d, g) => { 892 d ? c(d) : b(g.buffer); 893 }); 894 }; 895 process.argv.length > 1 && process.argv[1].replace(/\\/g, "/"); 896 process.argv.slice(2); 897 a.inspect = () => "[Emscripten Module object]"; 898 } else if (xa || ha) 899 ha 900 ? (U = self.location.href) 901 : typeof document != "undefined" && 902 document.currentScript && 903 (U = document.currentScript.src), 904 k && (U = k), 905 (U = 906 U.indexOf("blob:") !== 0 907 ? U.substr(0, U.replace(/[?#].*/, "").lastIndexOf("/") + 1) 908 : ""), 909 (ab = (e) => { 910 var b = new XMLHttpRequest(); 911 b.open("GET", e, !1); 912 b.send(null); 913 return b.responseText; 914 }), 915 ha && 916 (ma = (e) => { 917 var b = new XMLHttpRequest(); 918 b.open("GET", e, !1); 919 b.responseType = "arraybuffer"; 920 b.send(null); 921 return new Uint8Array(b.response); 922 }), 923 (na = (e, b, c) => { 924 var d = new XMLHttpRequest(); 925 d.open("GET", e, !0); 926 d.responseType = "arraybuffer"; 927 d.onload = () => { 928 d.status == 200 || (d.status == 0 && d.response) 929 ? b(d.response) 930 : c(); 931 }; 932 d.onerror = c; 933 d.send(null); 934 }); 935 var wd = a.print || console.log.bind(console), 936 da = a.printErr || console.warn.bind(console); 937 Object.assign(a, Xa); 938 Xa = null; 939 var fa; 940 a.wasmBinary && (fa = a.wasmBinary); 941 typeof WebAssembly != "object" && f("no native wasm support detected"); 942 var la, 943 wa = !1, 944 ua = typeof TextDecoder != "undefined" ? new TextDecoder("utf8") : void 0, 945 va, 946 Y, 947 ea, 948 ca, 949 V, 950 Ca = [], 951 oa = [], 952 Ba = [], 953 za = !1, 954 aa = 0, 955 qa = null, 956 ia = null; 957 var P = "draco_decoder.wasm"; 958 P.startsWith("data:application/octet-stream;base64,") || (P = l(P)); 959 var xd = 0, 960 yd = [null, [], []], 961 zd = { 962 c: (e) => bb(e + 24) + 24, 963 b: (e, b, c) => { 964 new O(e).init(b, c); 965 xd++; 966 throw e; 967 }, 968 a: () => { 969 f(""); 970 }, 971 h: (e, b, c) => { 972 ea.copyWithin(e, b, b + c); 973 }, 974 f: (e) => { 975 var b = ea.length; 976 e >>>= 0; 977 if (e > 2147483648) return !1; 978 for (var c = 1; c <= 4; c *= 2) { 979 var d = b * (1 + 0.2 / c); 980 d = Math.min(d, e + 100663296); 981 var g = Math; 982 d = Math.max(e, d); 983 g = g.min.call(g, 2147483648, d + ((65536 - (d % 65536)) % 65536)); 984 a: { 985 try { 986 la.grow((g - va.byteLength + 65535) >>> 16); 987 A(la.buffer); 988 var u = 1; 989 break a; 990 } catch (X) {} 991 u = void 0; 992 } 993 if (u) return !0; 994 } 995 return !1; 996 }, 997 g: (e) => 52, 998 e: (e, b, c, d, g) => 70, 999 d: (e, b, c, d) => { 1000 for (var g = 0, u = 0; u < c; u++) { 1001 var X = V[b >> 2], 1002 cb = V[(b + 4) >> 2]; 1003 b += 8; 1004 for (var ra = 0; ra < cb; ra++) { 1005 var sa = ea[X + ra], 1006 ta = yd[e]; 1007 sa === 0 || sa === 10 1008 ? ((e === 1 ? wd : da)(p(ta, 0)), (ta.length = 0)) 1009 : ta.push(sa); 1010 } 1011 g += cb; 1012 } 1013 V[d >> 2] = g; 1014 return 0; 1015 }, 1016 }; 1017 (() => { 1018 function e(g, u) { 1019 a.asm = g.exports; 1020 la = a.asm.i; 1021 A(la.buffer); 1022 oa.unshift(a.asm.j); 1023 aa--; 1024 a.monitorRunDependencies && a.monitorRunDependencies(aa); 1025 aa == 0 && 1026 (qa !== null && (clearInterval(qa), (qa = null)), 1027 ia && ((g = ia), (ia = null), g())); 1028 } 1029 function b(g) { 1030 e(g.instance); 1031 } 1032 function c(g) { 1033 return v() 1034 .then((u) => WebAssembly.instantiate(u, d)) 1035 .then((u) => u) 1036 .then(g, (u) => { 1037 da("failed to asynchronously prepare wasm: " + u); 1038 f(u); 1039 }); 1040 } 1041 var d = { a: zd }; 1042 aa++; 1043 a.monitorRunDependencies && a.monitorRunDependencies(aa); 1044 if (a.instantiateWasm) 1045 try { 1046 return a.instantiateWasm(d, e); 1047 } catch (g) { 1048 da("Module.instantiateWasm callback failed with error: " + g), ja(g); 1049 } 1050 (() => 1051 fa || 1052 typeof WebAssembly.instantiateStreaming != "function" || 1053 P.startsWith("data:application/octet-stream;base64,") || 1054 P.startsWith("file://") || 1055 Ya || 1056 typeof fetch != "function" 1057 ? c(b) 1058 : fetch(P, { credentials: "same-origin" }).then((g) => 1059 WebAssembly.instantiateStreaming(g, d).then(b, (u) => { 1060 da("wasm streaming compile failed: " + u); 1061 da("falling back to ArrayBuffer instantiation"); 1062 return c(b); 1063 }), 1064 ))().catch(ja); 1065 return {}; 1066 })(); 1067 a.___wasm_call_ctors = function () { 1068 return (a.___wasm_call_ctors = a.asm.j).apply(null, arguments); 1069 }; 1070 var db = (a._emscripten_bind_VoidPtr___destroy___0 = function () { 1071 return (db = a._emscripten_bind_VoidPtr___destroy___0 = a.asm.l).apply( 1072 null, 1073 arguments, 1074 ); 1075 }), 1076 Da = (a._emscripten_bind_DecoderBuffer_DecoderBuffer_0 = function () { 1077 return (Da = a._emscripten_bind_DecoderBuffer_DecoderBuffer_0 = 1078 a.asm.m).apply(null, arguments); 1079 }), 1080 eb = (a._emscripten_bind_DecoderBuffer_Init_2 = function () { 1081 return (eb = a._emscripten_bind_DecoderBuffer_Init_2 = a.asm.n).apply( 1082 null, 1083 arguments, 1084 ); 1085 }), 1086 fb = (a._emscripten_bind_DecoderBuffer___destroy___0 = function () { 1087 return (fb = a._emscripten_bind_DecoderBuffer___destroy___0 = 1088 a.asm.o).apply(null, arguments); 1089 }), 1090 Ea = (a._emscripten_bind_AttributeTransformData_AttributeTransformData_0 = 1091 function () { 1092 return (Ea = 1093 a._emscripten_bind_AttributeTransformData_AttributeTransformData_0 = 1094 a.asm.p).apply(null, arguments); 1095 }), 1096 gb = (a._emscripten_bind_AttributeTransformData_transform_type_0 = 1097 function () { 1098 return (gb = 1099 a._emscripten_bind_AttributeTransformData_transform_type_0 = 1100 a.asm.q).apply(null, arguments); 1101 }), 1102 hb = (a._emscripten_bind_AttributeTransformData___destroy___0 = 1103 function () { 1104 return (hb = a._emscripten_bind_AttributeTransformData___destroy___0 = 1105 a.asm.r).apply(null, arguments); 1106 }), 1107 Fa = (a._emscripten_bind_GeometryAttribute_GeometryAttribute_0 = 1108 function () { 1109 return (Fa = 1110 a._emscripten_bind_GeometryAttribute_GeometryAttribute_0 = 1111 a.asm.s).apply(null, arguments); 1112 }), 1113 ib = (a._emscripten_bind_GeometryAttribute___destroy___0 = function () { 1114 return (ib = a._emscripten_bind_GeometryAttribute___destroy___0 = 1115 a.asm.t).apply(null, arguments); 1116 }), 1117 Ga = (a._emscripten_bind_PointAttribute_PointAttribute_0 = function () { 1118 return (Ga = a._emscripten_bind_PointAttribute_PointAttribute_0 = 1119 a.asm.u).apply(null, arguments); 1120 }), 1121 jb = (a._emscripten_bind_PointAttribute_size_0 = function () { 1122 return (jb = a._emscripten_bind_PointAttribute_size_0 = a.asm.v).apply( 1123 null, 1124 arguments, 1125 ); 1126 }), 1127 kb = (a._emscripten_bind_PointAttribute_GetAttributeTransformData_0 = 1128 function () { 1129 return (kb = 1130 a._emscripten_bind_PointAttribute_GetAttributeTransformData_0 = 1131 a.asm.w).apply(null, arguments); 1132 }), 1133 lb = (a._emscripten_bind_PointAttribute_attribute_type_0 = function () { 1134 return (lb = a._emscripten_bind_PointAttribute_attribute_type_0 = 1135 a.asm.x).apply(null, arguments); 1136 }), 1137 mb = (a._emscripten_bind_PointAttribute_data_type_0 = function () { 1138 return (mb = a._emscripten_bind_PointAttribute_data_type_0 = 1139 a.asm.y).apply(null, arguments); 1140 }), 1141 nb = (a._emscripten_bind_PointAttribute_num_components_0 = function () { 1142 return (nb = a._emscripten_bind_PointAttribute_num_components_0 = 1143 a.asm.z).apply(null, arguments); 1144 }), 1145 ob = (a._emscripten_bind_PointAttribute_normalized_0 = function () { 1146 return (ob = a._emscripten_bind_PointAttribute_normalized_0 = 1147 a.asm.A).apply(null, arguments); 1148 }), 1149 pb = (a._emscripten_bind_PointAttribute_byte_stride_0 = function () { 1150 return (pb = a._emscripten_bind_PointAttribute_byte_stride_0 = 1151 a.asm.B).apply(null, arguments); 1152 }), 1153 qb = (a._emscripten_bind_PointAttribute_byte_offset_0 = function () { 1154 return (qb = a._emscripten_bind_PointAttribute_byte_offset_0 = 1155 a.asm.C).apply(null, arguments); 1156 }), 1157 rb = (a._emscripten_bind_PointAttribute_unique_id_0 = function () { 1158 return (rb = a._emscripten_bind_PointAttribute_unique_id_0 = 1159 a.asm.D).apply(null, arguments); 1160 }), 1161 sb = (a._emscripten_bind_PointAttribute___destroy___0 = function () { 1162 return (sb = a._emscripten_bind_PointAttribute___destroy___0 = 1163 a.asm.E).apply(null, arguments); 1164 }), 1165 Ha = 1166 (a._emscripten_bind_AttributeQuantizationTransform_AttributeQuantizationTransform_0 = 1167 function () { 1168 return (Ha = 1169 a._emscripten_bind_AttributeQuantizationTransform_AttributeQuantizationTransform_0 = 1170 a.asm.F).apply(null, arguments); 1171 }), 1172 tb = 1173 (a._emscripten_bind_AttributeQuantizationTransform_InitFromAttribute_1 = 1174 function () { 1175 return (tb = 1176 a._emscripten_bind_AttributeQuantizationTransform_InitFromAttribute_1 = 1177 a.asm.G).apply(null, arguments); 1178 }), 1179 ub = 1180 (a._emscripten_bind_AttributeQuantizationTransform_quantization_bits_0 = 1181 function () { 1182 return (ub = 1183 a._emscripten_bind_AttributeQuantizationTransform_quantization_bits_0 = 1184 a.asm.H).apply(null, arguments); 1185 }), 1186 vb = (a._emscripten_bind_AttributeQuantizationTransform_min_value_1 = 1187 function () { 1188 return (vb = 1189 a._emscripten_bind_AttributeQuantizationTransform_min_value_1 = 1190 a.asm.I).apply(null, arguments); 1191 }), 1192 wb = (a._emscripten_bind_AttributeQuantizationTransform_range_0 = 1193 function () { 1194 return (wb = 1195 a._emscripten_bind_AttributeQuantizationTransform_range_0 = 1196 a.asm.J).apply(null, arguments); 1197 }), 1198 xb = (a._emscripten_bind_AttributeQuantizationTransform___destroy___0 = 1199 function () { 1200 return (xb = 1201 a._emscripten_bind_AttributeQuantizationTransform___destroy___0 = 1202 a.asm.K).apply(null, arguments); 1203 }), 1204 Ia = 1205 (a._emscripten_bind_AttributeOctahedronTransform_AttributeOctahedronTransform_0 = 1206 function () { 1207 return (Ia = 1208 a._emscripten_bind_AttributeOctahedronTransform_AttributeOctahedronTransform_0 = 1209 a.asm.L).apply(null, arguments); 1210 }), 1211 yb = 1212 (a._emscripten_bind_AttributeOctahedronTransform_InitFromAttribute_1 = 1213 function () { 1214 return (yb = 1215 a._emscripten_bind_AttributeOctahedronTransform_InitFromAttribute_1 = 1216 a.asm.M).apply(null, arguments); 1217 }), 1218 zb = 1219 (a._emscripten_bind_AttributeOctahedronTransform_quantization_bits_0 = 1220 function () { 1221 return (zb = 1222 a._emscripten_bind_AttributeOctahedronTransform_quantization_bits_0 = 1223 a.asm.N).apply(null, arguments); 1224 }), 1225 Ab = (a._emscripten_bind_AttributeOctahedronTransform___destroy___0 = 1226 function () { 1227 return (Ab = 1228 a._emscripten_bind_AttributeOctahedronTransform___destroy___0 = 1229 a.asm.O).apply(null, arguments); 1230 }), 1231 Ja = (a._emscripten_bind_PointCloud_PointCloud_0 = function () { 1232 return (Ja = a._emscripten_bind_PointCloud_PointCloud_0 = 1233 a.asm.P).apply(null, arguments); 1234 }),
1235 Bb = (a._emscripten_bind_PointCloud_num_attributes_0 = function () { 1236 return (Bb = a._emscripten_bind_PointCloud_num_attributes_0 = 1237 a.asm.Q).apply(null, arguments); 1238 }), 1239 Cb = (a._emscripten_bind_PointCloud_num_points_0 = function () { 1240 return (Cb = a._emscripten_bind_PointCloud_num_points_0 = 1241 a.asm.R).apply(null, arguments); 1242 }), 1243 Db = (a._emscripten_bind_PointCloud___destroy___0 = function () { 1244 return (Db = a._emscripten_bind_PointCloud___destroy___0 = 1245 a.asm.S).apply(null, arguments); 1246 }), 1247 Ka = (a._emscripten_bind_Mesh_Mesh_0 = function () { 1248 return (Ka = a._emscripten_bind_Mesh_Mesh_0 = a.asm.T).apply( 1249 null, 1250 arguments, 1251 ); 1252 }), 1253 Eb = (a._emscripten_bind_Mesh_num_faces_0 = function () { 1254 return (Eb = a._emscripten_bind_Mesh_num_faces_0 = a.asm.U).apply( 1255 null, 1256 arguments, 1257 ); 1258 }), 1259 Fb = (a._emscripten_bind_Mesh_num_attributes_0 = function () { 1260 return (Fb = a._emscripten_bind_Mesh_num_attributes_0 = a.asm.V).apply( 1261 null, 1262 arguments, 1263 ); 1264 }), 1265 Gb = (a._emscripten_bind_Mesh_num_points_0 = function () { 1266 return (Gb = a._emscripten_bind_Mesh_num_points_0 = a.asm.W).apply( 1267 null, 1268 arguments, 1269 ); 1270 }), 1271 Hb = (a._emscripten_bind_Mesh___destroy___0 = function () { 1272 return (Hb = a._emscripten_bind_Mesh___destroy___0 = a.asm.X).apply( 1273 null, 1274 arguments, 1275 ); 1276 }), 1277 La = (a._emscripten_bind_Metadata_Metadata_0 = function () { 1278 return (La = a._emscripten_bind_Metadata_Metadata_0 = a.asm.Y).apply( 1279 null, 1280 arguments, 1281 ); 1282 }), 1283 Ib = (a._emscripten_bind_Metadata___destroy___0 = function () { 1284 return (Ib = a._emscripten_bind_Metadata___destroy___0 = a.asm.Z).apply( 1285 null, 1286 arguments, 1287 ); 1288 }), 1289 Jb = (a._emscripten_bind_Status_code_0 = function () { 1290 return (Jb = a._emscripten_bind_Status_code_0 = a.asm._).apply( 1291 null, 1292 arguments, 1293 ); 1294 }), 1295 Kb = (a._emscripten_bind_Status_ok_0 = function () { 1296 return (Kb = a._emscripten_bind_Status_ok_0 = a.asm.$).apply( 1297 null, 1298 arguments, 1299 ); 1300 }), 1301 Lb = (a._emscripten_bind_Status_error_msg_0 = function () { 1302 return (Lb = a._emscripten_bind_Status_error_msg_0 = a.asm.aa).apply( 1303 null, 1304 arguments, 1305 ); 1306 }), 1307 Mb = (a._emscripten_bind_Status___destroy___0 = function () { 1308 return (Mb = a._emscripten_bind_Status___destroy___0 = a.asm.ba).apply( 1309 null, 1310 arguments, 1311 ); 1312 }), 1313 Ma = (a._emscripten_bind_DracoFloat32Array_DracoFloat32Array_0 = 1314 function () { 1315 return (Ma = 1316 a._emscripten_bind_DracoFloat32Array_DracoFloat32Array_0 = 1317 a.asm.ca).apply(null, arguments); 1318 }), 1319 Nb = (a._emscripten_bind_DracoFloat32Array_GetValue_1 = function () { 1320 return (Nb = a._emscripten_bind_DracoFloat32Array_GetValue_1 = 1321 a.asm.da).apply(null, arguments); 1322 }), 1323 Ob = (a._emscripten_bind_DracoFloat32Array_size_0 = function () { 1324 return (Ob = a._emscripten_bind_DracoFloat32Array_size_0 = 1325 a.asm.ea).apply(null, arguments); 1326 }), 1327 Pb = (a._emscripten_bind_DracoFloat32Array___destroy___0 = function () { 1328 return (Pb = a._emscripten_bind_DracoFloat32Array___destroy___0 = 1329 a.asm.fa).apply(null, arguments); 1330 }), 1331 Na = (a._emscripten_bind_DracoInt8Array_DracoInt8Array_0 = function () { 1332 return (Na = a._emscripten_bind_DracoInt8Array_DracoInt8Array_0 = 1333 a.asm.ga).apply(null, arguments); 1334 }), 1335 Qb = (a._emscripten_bind_DracoInt8Array_GetValue_1 = function () { 1336 return (Qb = a._emscripten_bind_DracoInt8Array_GetValue_1 = 1337 a.asm.ha).apply(null, arguments); 1338 }), 1339 Rb = (a._emscripten_bind_DracoInt8Array_size_0 = function () { 1340 return (Rb = a._emscripten_bind_DracoInt8Array_size_0 = a.asm.ia).apply( 1341 null, 1342 arguments, 1343 ); 1344 }), 1345 Sb = (a._emscripten_bind_DracoInt8Array___destroy___0 = function () { 1346 return (Sb = a._emscripten_bind_DracoInt8Array___destroy___0 = 1347 a.asm.ja).apply(null, arguments); 1348 }), 1349 Oa = (a._emscripten_bind_DracoUInt8Array_DracoUInt8Array_0 = function () { 1350 return (Oa = a._emscripten_bind_DracoUInt8Array_DracoUInt8Array_0 = 1351 a.asm.ka).apply(null, arguments); 1352 }), 1353 Tb = (a._emscripten_bind_DracoUInt8Array_GetValue_1 = function () { 1354 return (Tb = a._emscripten_bind_DracoUInt8Array_GetValue_1 = 1355 a.asm.la).apply(null, arguments); 1356 }), 1357 Ub = (a._emscripten_bind_DracoUInt8Array_size_0 = function () { 1358 return (Ub = a._emscripten_bind_DracoUInt8Array_size_0 = 1359 a.asm.ma).apply(null, arguments); 1360 }), 1361 Vb = (a._emscripten_bind_DracoUInt8Array___destroy___0 = function () { 1362 return (Vb = a._emscripten_bind_DracoUInt8Array___destroy___0 = 1363 a.asm.na).apply(null, arguments); 1364 }), 1365 Pa = (a._emscripten_bind_DracoInt16Array_DracoInt16Array_0 = function () { 1366 return (Pa = a._emscripten_bind_DracoInt16Array_DracoInt16Array_0 = 1367 a.asm.oa).apply(null, arguments); 1368 }), 1369 Wb = (a._emscripten_bind_DracoInt16Array_GetValue_1 = function () { 1370 return (Wb = a._emscripten_bind_DracoInt16Array_GetValue_1 = 1371 a.asm.pa).apply(null, arguments); 1372 }), 1373 Xb = (a._emscripten_bind_DracoInt16Array_size_0 = function () { 1374 return (Xb = a._emscripten_bind_DracoInt16Array_size_0 = 1375 a.asm.qa).apply(null, arguments); 1376 }), 1377 Yb = (a._emscripten_bind_DracoInt16Array___destroy___0 = function () { 1378 return (Yb = a._emscripten_bind_DracoInt16Array___destroy___0 = 1379 a.asm.ra).apply(null, arguments); 1380 }), 1381 Qa = (a._emscripten_bind_DracoUInt16Array_DracoUInt16Array_0 = 1382 function () { 1383 return (Qa = a._emscripten_bind_DracoUInt16Array_DracoUInt16Array_0 = 1384 a.asm.sa).apply(null, arguments); 1385 }), 1386 Zb = (a._emscripten_bind_DracoUInt16Array_GetValue_1 = function () { 1387 return (Zb = a._emscripten_bind_DracoUInt16Array_GetValue_1 = 1388 a.asm.ta).apply(null, arguments); 1389 }), 1390 $b = (a._emscripten_bind_DracoUInt16Array_size_0 = function () { 1391 return ($b = a._emscripten_bind_DracoUInt16Array_size_0 = 1392 a.asm.ua).apply(null, arguments); 1393 }), 1394 ac = (a._emscripten_bind_DracoUInt16Array___destroy___0 = function () { 1395 return (ac = a._emscripten_bind_DracoUInt16Array___destroy___0 = 1396 a.asm.va).apply(null, arguments); 1397 }), 1398 Ra = (a._emscripten_bind_DracoInt32Array_DracoInt32Array_0 = function () { 1399 return (Ra = a._emscripten_bind_DracoInt32Array_DracoInt32Array_0 = 1400 a.asm.wa).apply(null, arguments); 1401 }), 1402 bc = (a._emscripten_bind_DracoInt32Array_GetValue_1 = function () { 1403 return (bc = a._emscripten_bind_DracoInt32Array_GetValue_1 = 1404 a.asm.xa).apply(null, arguments); 1405 }), 1406 cc = (a._emscripten_bind_DracoInt32Array_size_0 = function () { 1407 return (cc = a._emscripten_bind_DracoInt32Array_size_0 = 1408 a.asm.ya).apply(null, arguments); 1409 }), 1410 dc = (a._emscripten_bind_DracoInt32Array___destroy___0 = function () { 1411 return (dc = a._emscripten_bind_DracoInt32Array___destroy___0 = 1412 a.asm.za).apply(null, arguments); 1413 }), 1414 Sa = (a._emscripten_bind_DracoUInt32Array_DracoUInt32Array_0 = 1415 function () { 1416 return (Sa = a._emscripten_bind_DracoUInt32Array_DracoUInt32Array_0 = 1417 a.asm.Aa).apply(null, arguments); 1418 }), 1419 ec = (a._emscripten_bind_DracoUInt32Array_GetValue_1 = function () { 1420 return (ec = a._emscripten_bind_DracoUInt32Array_GetValue_1 = 1421 a.asm.Ba).apply(null, arguments); 1422 }), 1423 fc = (a._emscripten_bind_DracoUInt32Array_size_0 = function () { 1424 return (fc = a._emscripten_bind_DracoUInt32Array_size_0 = 1425 a.asm.Ca).apply(null, arguments); 1426 }), 1427 gc = (a._emscripten_bind_DracoUInt32Array___destroy___0 = function () { 1428 return (gc = a._emscripten_bind_DracoUInt32Array___destroy___0 = 1429 a.asm.Da).apply(null, arguments); 1430 }), 1431 Ta = (a._emscripten_bind_MetadataQuerier_MetadataQuerier_0 = function () { 1432 return (Ta = a._emscripten_bind_MetadataQuerier_MetadataQuerier_0 = 1433 a.asm.Ea).apply(null, arguments); 1434 }), 1435 hc = (a._emscripten_bind_MetadataQuerier_HasEntry_2 = function () { 1436 return (hc = a._emscripten_bind_MetadataQuerier_HasEntry_2 = 1437 a.asm.Fa).apply(null, arguments); 1438 }), 1439 ic = (a._emscripten_bind_MetadataQuerier_GetIntEntry_2 = function () { 1440 return (ic = a._emscripten_bind_MetadataQuerier_GetIntEntry_2 = 1441 a.asm.Ga).apply(null, arguments); 1442 }), 1443 jc = (a._emscripten_bind_MetadataQuerier_GetIntEntryArray_3 = 1444 function () { 1445 return (jc = a._emscripten_bind_MetadataQuerier_GetIntEntryArray_3 = 1446 a.asm.Ha).apply(null, arguments); 1447 }), 1448 kc = (a._emscripten_bind_MetadataQuerier_GetDoubleEntry_2 = function () { 1449 return (kc = a._emscripten_bind_MetadataQuerier_GetDoubleEntry_2 = 1450 a.asm.Ia).apply(null, arguments); 1451 }), 1452 lc = (a._emscripten_bind_MetadataQuerier_GetStringEntry_2 = function () { 1453 return (lc = a._emscripten_bind_MetadataQuerier_GetStringEntry_2 = 1454 a.asm.Ja).apply(null, arguments); 1455 }), 1456 mc = (a._emscripten_bind_MetadataQuerier_NumEntries_1 = function () { 1457 return (mc = a._emscripten_bind_MetadataQuerier_NumEntries_1 = 1458 a.asm.Ka).apply(null, arguments); 1459 }), 1460 nc = (a._emscripten_bind_MetadataQuerier_GetEntryName_2 = function () { 1461 return (nc = a._emscripten_bind_MetadataQuerier_GetEntryName_2 = 1462 a.asm.La).apply(null, arguments); 1463 }), 1464 oc = (a._emscripten_bind_MetadataQuerier___destroy___0 = function () { 1465 return (oc = a._emscripten_bind_MetadataQuerier___destroy___0 = 1466 a.asm.Ma).apply(null, arguments); 1467 }), 1468 Ua = (a._emscripten_bind_Decoder_Decoder_0 = function () { 1469 return (Ua = a._emscripten_bind_Decoder_Decoder_0 = a.asm.Na).apply( 1470 null, 1471 arguments, 1472 ); 1473 }), 1474 pc = (a._emscripten_bind_Decoder_DecodeArrayToPointCloud_3 = function () { 1475 return (pc = a._emscripten_bind_Decoder_DecodeArrayToPointCloud_3 = 1476 a.asm.Oa).apply(null, arguments); 1477 }), 1478 qc = (a._emscripten_bind_Decoder_DecodeArrayToMesh_3 = function () { 1479 return (qc = a._emscripten_bind_Decoder_DecodeArrayToMesh_3 = 1480 a.asm.Pa).apply(null, arguments); 1481 }), 1482 rc = (a._emscripten_bind_Decoder_GetAttributeId_2 = function () { 1483 return (rc = a._emscripten_bind_Decoder_GetAttributeId_2 = 1484 a.asm.Qa).apply(null, arguments); 1485 }), 1486 sc = (a._emscripten_bind_Decoder_GetAttributeIdByName_2 = function () { 1487 return (sc = a._emscripten_bind_Decoder_GetAttributeIdByName_2 = 1488 a.asm.Ra).apply(null, arguments); 1489 }), 1490 tc = (a._emscripten_bind_Decoder_GetAttributeIdByMetadataEntry_3 = 1491 function () { 1492 return (tc = 1493 a._emscripten_bind_Decoder_GetAttributeIdByMetadataEntry_3 = 1494 a.asm.Sa).apply(null, arguments); 1495 }), 1496 uc = (a._emscripten_bind_Decoder_GetAttribute_2 = function () { 1497 return (uc = a._emscripten_bind_Decoder_GetAttribute_2 = 1498 a.asm.Ta).apply(null, arguments); 1499 }), 1500 vc = (a._emscripten_bind_Decoder_GetAttributeByUniqueId_2 = function () { 1501 return (vc = a._emscripten_bind_Decoder_GetAttributeByUniqueId_2 = 1502 a.asm.Ua).apply(null, arguments); 1503 }), 1504 wc = (a._emscripten_bind_Decoder_GetMetadata_1 = function () { 1505 return (wc = a._emscripten_bind_Decoder_GetMetadata_1 = a.asm.Va).apply( 1506 null, 1507 arguments, 1508 ); 1509 }), 1510 xc = (a._emscripten_bind_Decoder_GetAttributeMetadata_2 = function () { 1511 return (xc = a._emscripten_bind_Decoder_GetAttributeMetadata_2 = 1512 a.asm.Wa).apply(null, arguments); 1513 }), 1514 yc = (a._emscripten_bind_Decoder_GetFaceFromMesh_3 = function () { 1515 return (yc = a._emscripten_bind_Decoder_GetFaceFromMesh_3 = 1516 a.asm.Xa).apply(null, arguments); 1517 }), 1518 zc = (a._emscripten_bind_Decoder_GetTriangleStripsFromMesh_2 = 1519 function () { 1520 return (zc = a._emscripten_bind_Decoder_GetTriangleStripsFromMesh_2 = 1521 a.asm.Ya).apply(null, arguments); 1522 }), 1523 Ac = (a._emscripten_bind_Decoder_GetTrianglesUInt16Array_3 = function () { 1524 return (Ac = a._emscripten_bind_Decoder_GetTrianglesUInt16Array_3 = 1525 a.asm.Za).apply(null, arguments); 1526 }), 1527 Bc = (a._emscripten_bind_Decoder_GetTrianglesUInt32Array_3 = function () { 1528 return (Bc = a._emscripten_bind_Decoder_GetTrianglesUInt32Array_3 = 1529 a.asm._a).apply(null, arguments); 1530 }), 1531 Cc = (a._emscripten_bind_Decoder_GetAttributeFloat_3 = function () { 1532 return (Cc = a._emscripten_bind_Decoder_GetAttributeFloat_3 = 1533 a.asm.$a).apply(null, arguments); 1534 }), 1535 Dc = (a._emscripten_bind_Decoder_GetAttributeFloatForAllPoints_3 = 1536 function () { 1537 return (Dc = 1538 a._emscripten_bind_Decoder_GetAttributeFloatForAllPoints_3 = 1539 a.asm.ab).apply(null, arguments); 1540 }), 1541 Ec = (a._emscripten_bind_Decoder_GetAttributeIntForAllPoints_3 = 1542 function () { 1543 return (Ec = 1544 a._emscripten_bind_Decoder_GetAttributeIntForAllPoints_3 = 1545 a.asm.bb).apply(null, arguments); 1546 }), 1547 Fc = (a._emscripten_bind_Decoder_GetAttributeInt8ForAllPoints_3 = 1548 function () { 1549 return (Fc = 1550 a._emscripten_bind_Decoder_GetAttributeInt8ForAllPoints_3 = 1551 a.asm.cb).apply(null, arguments); 1552 }), 1553 Gc = (a._emscripten_bind_Decoder_GetAttributeUInt8ForAllPoints_3 = 1554 function () { 1555 return (Gc = 1556 a._emscripten_bind_Decoder_GetAttributeUInt8ForAllPoints_3 = 1557 a.asm.db).apply(null, arguments); 1558 }), 1559 Hc = (a._emscripten_bind_Decoder_GetAttributeInt16ForAllPoints_3 = 1560 function () { 1561 return (Hc = 1562 a._emscripten_bind_Decoder_GetAttributeInt16ForAllPoints_3 = 1563 a.asm.eb).apply(null, arguments); 1564 }), 1565 Ic = (a._emscripten_bind_Decoder_GetAttributeUInt16ForAllPoints_3 = 1566 function () { 1567 return (Ic = 1568 a._emscripten_bind_Decoder_GetAttributeUInt16ForAllPoints_3 = 1569 a.asm.fb).apply(null, arguments); 1570 }), 1571 Jc = (a._emscripten_bind_Decoder_GetAttributeInt32ForAllPoints_3 = 1572 function () { 1573 return (Jc = 1574 a._emscripten_bind_Decoder_GetAttributeInt32ForAllPoints_3 = 1575 a.asm.gb).apply(null, arguments); 1576 }), 1577 Kc = (a._emscripten_bind_Decoder_GetAttributeUInt32ForAllPoints_3 = 1578 function () { 1579 return (Kc = 1580 a._emscripten_bind_Decoder_GetAttributeUInt32ForAllPoints_3 = 1581 a.asm.hb).apply(null, arguments); 1582 }), 1583 Lc = (a._emscripten_bind_Decoder_GetAttributeDataArrayForAllPoints_5 = 1584 function () { 1585 return (Lc = 1586 a._emscripten_bind_Decoder_GetAttributeDataArrayForAllPoints_5 = 1587 a.asm.ib).apply(null, arguments); 1588 }), 1589 Mc = (a._emscripten_bind_Decoder_SkipAttributeTransform_1 = function () { 1590 return (Mc = a._emscripten_bind_Decoder_SkipAttributeTransform_1 = 1591 a.asm.jb).apply(null, arguments); 1592 }), 1593 Nc = (a._emscripten_bind_Decoder_GetEncodedGeometryType_Deprecated_1 = 1594 function () { 1595 return (Nc = 1596 a._emscripten_bind_Decoder_GetEncodedGeometryType_Deprecated_1 = 1597 a.asm.kb).apply(null, arguments); 1598 }), 1599 Oc = (a._emscripten_bind_Decoder_DecodeBufferToPointCloud_2 = 1600 function () { 1601 return (Oc = a._emscripten_bind_Decoder_DecodeBufferToPointCloud_2 = 1602 a.asm.lb).appl
1602y(null, arguments); 1603 }), 1604 Pc = (a._emscripten_bind_Decoder_DecodeBufferToMesh_2 = function () { 1605 return (Pc = a._emscripten_bind_Decoder_DecodeBufferToMesh_2 = 1606 a.asm.mb).apply(null, arguments); 1607 }), 1608 Qc = (a._emscripten_bind_Decoder___destroy___0 = function () { 1609 return (Qc = a._emscripten_bind_Decoder___destroy___0 = a.asm.nb).apply( 1610 null, 1611 arguments, 1612 ); 1613 }), 1614 Rc = 1615 (a._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_INVALID_TRANSFORM = 1616 function () { 1617 return (Rc = 1618 a._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_INVALID_TRANSFORM = 1619 a.asm.ob).apply(null, arguments); 1620 }), 1621 Sc = 1622 (a._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_NO_TRANSFORM = 1623 function () { 1624 return (Sc = 1625 a._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_NO_TRANSFORM = 1626 a.asm.pb).apply(null, arguments); 1627 }), 1628 Tc = 1629 (a._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_QUANTIZATION_TRANSFORM = 1630 function () { 1631 return (Tc = 1632 a._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_QUANTIZATION_TRANSFORM = 1633 a.asm.qb).apply(null, arguments); 1634 }), 1635 Uc = 1636 (a._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_OCTAHEDRON_TRANSFORM = 1637 function () { 1638 return (Uc = 1639 a._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_OCTAHEDRON_TRANSFORM = 1640 a.asm.rb).apply(null, arguments); 1641 }), 1642 Vc = (a._emscripten_enum_draco_GeometryAttribute_Type_INVALID = 1643 function () { 1644 return (Vc = a._emscripten_enum_draco_GeometryAttribute_Type_INVALID = 1645 a.asm.sb).apply(null, arguments); 1646 }), 1647 Wc = (a._emscripten_enum_draco_GeometryAttribute_Type_POSITION = 1648 function () { 1649 return (Wc = 1650 a._emscripten_enum_draco_GeometryAttribute_Type_POSITION = 1651 a.asm.tb).apply(null, arguments); 1652 }), 1653 Xc = (a._emscripten_enum_draco_GeometryAttribute_Type_NORMAL = 1654 function () { 1655 return (Xc = a._emscripten_enum_draco_GeometryAttribute_Type_NORMAL = 1656 a.asm.ub).apply(null, arguments); 1657 }), 1658 Yc = (a._emscripten_enum_draco_GeometryAttribute_Type_COLOR = 1659 function () { 1660 return (Yc = a._emscripten_enum_draco_GeometryAttribute_Type_COLOR = 1661 a.asm.vb).apply(null, arguments); 1662 }), 1663 Zc = (a._emscripten_enum_draco_GeometryAttribute_Type_TEX_COORD = 1664 function () { 1665 return (Zc = 1666 a._emscripten_enum_draco_GeometryAttribute_Type_TEX_COORD = 1667 a.asm.wb).apply(null, arguments); 1668 }), 1669 $c = (a._emscripten_enum_draco_GeometryAttribute_Type_GENERIC = 1670 function () { 1671 return ($c = a._emscripten_enum_draco_GeometryAttribute_Type_GENERIC = 1672 a.asm.xb).apply(null, arguments); 1673 }), 1674 ad = (a._emscripten_enum_draco_EncodedGeometryType_INVALID_GEOMETRY_TYPE = 1675 function () { 1676 return (ad = 1677 a._emscripten_enum_draco_EncodedGeometryType_INVALID_GEOMETRY_TYPE = 1678 a.asm.yb).apply(null, arguments); 1679 }), 1680 bd = (a._emscripten_enum_draco_EncodedGeometryType_POINT_CLOUD = 1681 function () { 1682 return (bd = 1683 a._emscripten_enum_draco_EncodedGeometryType_POINT_CLOUD = 1684 a.asm.zb).apply(null, arguments); 1685 }), 1686 cd = (a._emscripten_enum_draco_EncodedGeometryType_TRIANGULAR_MESH = 1687 function () { 1688 return (cd = 1689 a._emscripten_enum_draco_EncodedGeometryType_TRIANGULAR_MESH = 1690 a.asm.Ab).apply(null, arguments); 1691 }), 1692 dd = (a._emscripten_enum_draco_DataType_DT_INVALID = function () { 1693 return (dd = a._emscripten_enum_draco_DataType_DT_INVALID = 1694 a.asm.Bb).apply(null, arguments); 1695 }), 1696 ed = (a._emscripten_enum_draco_DataType_DT_INT8 = function () { 1697 return (ed = a._emscripten_enum_draco_DataType_DT_INT8 = 1698 a.asm.Cb).apply(null, arguments); 1699 }), 1700 fd = (a._emscripten_enum_draco_DataType_DT_UINT8 = function () { 1701 return (fd = a._emscripten_enum_draco_DataType_DT_UINT8 = 1702 a.asm.Db).apply(null, arguments); 1703 }), 1704 gd = (a._emscripten_enum_draco_DataType_DT_INT16 = function () { 1705 return (gd = a._emscripten_enum_draco_DataType_DT_INT16 = 1706 a.asm.Eb).apply(null, arguments); 1707 }), 1708 hd = (a._emscripten_enum_draco_DataType_DT_UINT16 = function () { 1709 return (hd = a._emscripten_enum_draco_DataType_DT_UINT16 = 1710 a.asm.Fb).apply(null, arguments); 1711 }), 1712 id = (a._emscripten_enum_draco_DataType_DT_INT32 = function () { 1713 return (id = a._emscripten_enum_draco_DataType_DT_INT32 = 1714 a.asm.Gb).apply(null, arguments); 1715 }), 1716 jd = (a._emscripten_enum_draco_DataType_DT_UINT32 = function () { 1717 return (jd = a._emscripten_enum_draco_DataType_DT_UINT32 = 1718 a.asm.Hb).apply(null, arguments); 1719 }), 1720 kd = (a._emscripten_enum_draco_DataType_DT_INT64 = function () { 1721 return (kd = a._emscripten_enum_draco_DataType_DT_INT64 = 1722 a.asm.Ib).apply(null, arguments); 1723 }), 1724 ld = (a._emscripten_enum_draco_DataType_DT_UINT64 = function () { 1725 return (ld = a._emscripten_enum_draco_DataType_DT_UINT64 = 1726 a.asm.Jb).apply(null, arguments); 1727 }), 1728 md = (a._emscripten_enum_draco_DataType_DT_FLOAT32 = function () { 1729 return (md = a._emscripten_enum_draco_DataType_DT_FLOAT32 = 1730 a.asm.Kb).apply(null, arguments); 1731 }), 1732 nd = (a._emscripten_enum_draco_DataType_DT_FLOAT64 = function () { 1733 return (nd = a._emscripten_enum_draco_DataType_DT_FLOAT64 = 1734 a.asm.Lb).apply(null, arguments); 1735 }), 1736 od = (a._emscripten_enum_draco_DataType_DT_BOOL = function () { 1737 return (od = a._emscripten_enum_draco_DataType_DT_BOOL = 1738 a.asm.Mb).apply(null, arguments); 1739 }), 1740 pd = (a._emscripten_enum_draco_DataType_DT_TYPES_COUNT = function () { 1741 return (pd = a._emscripten_enum_draco_DataType_DT_TYPES_COUNT = 1742 a.asm.Nb).apply(null, arguments); 1743 }), 1744 qd = (a._emscripten_enum_draco_StatusCode_OK = function () { 1745 return (qd = a._emscripten_enum_draco_StatusCode_OK = a.asm.Ob).apply( 1746 null, 1747 arguments, 1748 ); 1749 }), 1750 rd = (a._emscripten_enum_draco_StatusCode_DRACO_ERROR = function () { 1751 return (rd = a._emscripten_enum_draco_StatusCode_DRACO_ERROR = 1752 a.asm.Pb).apply(null, arguments); 1753 }), 1754 sd = (a._emscripten_enum_draco_StatusCode_IO_ERROR = function () { 1755 return (sd = a._emscripten_enum_draco_StatusCode_IO_ERROR = 1756 a.asm.Qb).apply(null, arguments); 1757 }), 1758 td = (a._emscripten_enum_draco_StatusCode_INVALID_PARAMETER = 1759 function () { 1760 return (td = a._emscripten_enum_draco_StatusCode_INVALID_PARAMETER = 1761 a.asm.Rb).apply(null, arguments); 1762 }), 1763 ud = (a._emscripten_enum_draco_StatusCode_UNSUPPORTED_VERSION = 1764 function () { 1765 return (ud = a._emscripten_enum_draco_StatusCode_UNSUPPORTED_VERSION = 1766 a.asm.Sb).apply(null, arguments); 1767 }), 1768 vd = (a._emscripten_enum_draco_StatusCode_UNKNOWN_VERSION = function () { 1769 return (vd = a._emscripten_enum_draco_StatusCode_UNKNOWN_VERSION = 1770 a.asm.Tb).apply(null, arguments); 1771 }), 1772 bb = (a._malloc = function () { 1773 return (bb = a._malloc = a.asm.Ub).apply(null, arguments); 1774 }); 1775 a._free = function () { 1776 return (a._free = a.asm.Vb).apply(null, arguments); 1777 }; 1778 var ya = (a.___cxa_is_pointer_type = function () { 1779 return (ya = a.___cxa_is_pointer_type = a.asm.Wb).apply(null, arguments); 1780 }); 1781 a.___start_em_js = 15856; 1782 a.___stop_em_js = 15954; 1783 var ka; 1784 ia = function b() { 1785 ka || ba(); 1786 ka || (ia = b); 1787 }; 1788 if (a.preInit) 1789 for ( 1790 typeof a.preInit == "function" && (a.preInit = [a.preInit]); 1791 a.preInit.length > 0; 1792 ) 1793 a.preInit.pop()(); 1794 ba(); 1795 t.prototype = Object.create(t.prototype); 1796 t.prototype.constructor = t; 1797 t.prototype.__class__ = t; 1798 t.__cache__ = {}; 1799 a.WrapperObject = t; 1800 a.getCache = x; 1801 a.wrapPointer = D;
1802 a.castObject = (b, c) => D(b.ptr, c); 1803 a.NULL = D(0); 1804 a.destroy = (b) => { 1805 if (!b.__destroy__) 1806 throw "Error: Cannot destroy object. (Did you create it yourself?)"; 1807 b.__destroy__(); 1808 delete x(b.__class__)[b.ptr]; 1809 }; 1810 a.compare = (b, c) => b.ptr === c.ptr; 1811 a.getPointer = (b) => b.ptr; 1812 a.getClass = (b) => b.__class__; 1813 var r = { 1814 buffer: 0, 1815 size: 0, 1816 pos: 0, 1817 temps: [], 1818 needed: 0, 1819 prepare: () => { 1820 if (r.needed) { 1821 for (var b = 0; b < r.temps.length; b++) a._free(r.temps[b]); 1822 r.temps.length = 0; 1823 a._free(r.buffer); 1824 r.buffer = 0; 1825 r.size += r.needed; 1826 r.needed = 0; 1827 } 1828 r.buffer || 1829 ((r.size += 128), 1830 (r.buffer = a._malloc(r.size)), 1831 r.buffer || f(void 0)); 1832 r.pos = 0; 1833 }, 1834 alloc: (b, c) => { 1835 r.buffer || f(void 0); 1836 b = b.length * c.BYTES_PER_ELEMENT; 1837 b = (b + 7) & -8; 1838 r.pos + b >= r.size 1839 ? (b > 0 || f(void 0), 1840 (r.needed += b), 1841 (c = a._malloc(b)), 1842 r.temps.push(c)) 1843 : ((c = r.buffer + r.pos), (r.pos += b)); 1844 return c; 1845 }, 1846 copy: (b, c, d) => { 1847 d >>>= 0; 1848 switch (c.BYTES_PER_ELEMENT) { 1849 case 2: 1850 d >>>= 1; 1851 break; 1852 case 4: 1853 d >>>= 2; 1854 break; 1855 case 8: 1856 d >>>= 3; 1857 } 1858 for (var g = 0; g < b.length; g++) c[d + g] = b[g]; 1859 }, 1860 }; 1861 Z.prototype = Object.create(t.prototype); 1862 Z.prototype.constructor = Z; 1863 Z.prototype.__class__ = Z; 1864 Z.__cache__ = {}; 1865 a.VoidPtr = Z; 1866 Z.prototype.__destroy__ = Z.prototype.__destroy__ = function () { 1867 db(this.ptr); 1868 }; 1869 S.prototype = Object.create(t.prototype); 1870 S.prototype.constructor = S; 1871 S.prototype.__class__ = S; 1872 S.__cache__ = {}; 1873 a.DecoderBuffer = S; 1874 S.prototype.Init = S.prototype.Init = function (b, c) { 1875 var d = this.ptr; 1876 r.prepare(); 1877 typeof b == "object" && (b = pa(b)); 1878 c && typeof c === "object" && (c = c.ptr); 1879 eb(d, b, c); 1880 }; 1881 S.prototype.__destroy__ = S.prototype.__destroy__ = function () { 1882 fb(this.ptr); 1883 }; 1884 Q.prototype = Object.create(t.prototype); 1885 Q.prototype.constructor = Q; 1886 Q.prototype.__class__ = Q; 1887 Q.__cache__ = {}; 1888 a.AttributeTransformData = Q; 1889 Q.prototype.transform_type = Q.prototype.transform_type = function () { 1890 return gb(this.ptr); 1891 }; 1892 Q.prototype.__destroy__ = Q.prototype.__destroy__ = function () { 1893 hb(this.ptr); 1894 }; 1895 W.prototype = Object.create(t.prototype); 1896 W.prototype.constructor = W; 1897 W.prototype.__class__ = W; 1898 W.__cache__ = {}; 1899 a.GeometryAttribute = W; 1900 W.prototype.__destroy__ = W.prototype.__destroy__ = function () { 1901 ib(this.ptr); 1902 }; 1903 w.prototype = Object.create(t.prototype); 1904 w.prototype.constructor = w; 1905 w.prototype.__class__ = w; 1906 w.__cache__ = {}; 1907 a.PointAttribute = w; 1908 w.prototype.size = w.prototype.size = function () { 1909 return jb(this.ptr); 1910 }; 1911 w.prototype.GetAttributeTransformData = 1912 w.prototype.GetAttributeTransformData = function () { 1913 return D(kb(this.ptr), Q); 1914 }; 1915 w.prototype.attribute_type = w.prototype.attribute_type = function () { 1916 return lb(this.ptr); 1917 }; 1918 w.prototype.data_type = w.prototype.data_type = function () { 1919 return mb(this.ptr); 1920 }; 1921 w.prototype.num_components = w.prototype.num_components = function () { 1922 return nb(this.ptr); 1923 }; 1924 w.prototype.normalized = w.prototype.normalized = function () { 1925 return !!ob(this.ptr); 1926 }; 1927 w.prototype.byte_stride = w.prototype.byte_stride = function () { 1928 return pb(this.ptr); 1929 }; 1930 w.prototype.byte_offset = w.prototype.byte_offset = function () { 1931 return qb(this.ptr); 1932 }; 1933 w.prototype.unique_id = w.prototype.unique_id = function () { 1934 return rb(this.ptr); 1935 }; 1936 w.prototype.__destroy__ = w.prototype.__destroy__ = function () { 1937 sb(this.ptr); 1938 }; 1939 C.prototype = Object.create(t.prototype); 1940 C.prototype.constructor = C; 1941 C.prototype.__class__ = C; 1942 C.__cache__ = {}; 1943 a.AttributeQuantizationTransform = C; 1944 C.prototype.InitFromAttribute = C.prototype.InitFromAttribute = function ( 1945 b, 1946 ) { 1947 var c = this.ptr; 1948 b && typeof b === "object" && (b = b.ptr); 1949 return !!tb(c, b); 1950 }; 1951 C.prototype.quantization_bits = C.prototype.quantization_bits = 1952 function () { 1953 return ub(this.ptr); 1954 }; 1955 C.prototype.min_value = C.prototype.min_value = function (b) { 1956 var c = this.ptr; 1957 b && typeof b === "object" && (b = b.ptr); 1958 return vb(c, b); 1959 }; 1960 C.prototype.range = C.prototype.range = function () { 1961 return wb(this.ptr); 1962 }; 1963 C.prototype.__destroy__ = C.prototype.__destroy__ = function () { 1964 xb(this.ptr); 1965 }; 1966 F.prototype = Object.create(t.prototype); 1967 F.prototype.constructor = F; 1968 F.prototype.__class__ = F; 1969 F.__cache__ = {}; 1970 a.AttributeOctahedronTransform = F; 1971 F.prototype.InitFromAttribute = F.prototype.InitFromAttribute = function ( 1972 b, 1973 ) { 1974 var c = this.ptr; 1975 b && typeof b === "object" && (b = b.ptr); 1976 return !!yb(c, b); 1977 }; 1978 F.prototype.quantization_bits = F.prototype.quantization_bits = 1979 function () { 1980 return zb(this.ptr); 1981 }; 1982 F.prototype.__destroy__ = F.prototype.__destroy__ = function () { 1983 Ab(this.ptr); 1984 }; 1985 G.prototype = Object.create(t.prototype); 1986 G.prototype.constructor = G; 1987 G.prototype.__class__ = G; 1988 G.__cache__ = {}; 1989 a.PointCloud = G; 1990 G.prototype.num_attributes = G.prototype.num_attributes = function () { 1991 return Bb(this.ptr); 1992 }; 1993 G.prototype.num_points = G.prototype.num_points = function () { 1994 return Cb(this.ptr); 1995 }; 1996 G.prototype.__destroy__ = G.prototype.__destroy__ = function () { 1997 Db(this.ptr); 1998 }; 1999 E.prototype = Object.create(t.prototype); 2000 E.prototype.constructor = E; 2001 E.prototype.__class__ = E; 2002 E.__cache__ = {}; 2003 a.Mesh = E; 2004 E.prototype.num_faces = E.prototype.num_faces = function () { 2005 return Eb(this.ptr); 2006 }; 2007 E.prototype.num_attributes = E.prototype.num_attributes = function () { 2008 return Fb(this.ptr); 2009 }; 2010 E.prototype.num_points = E.prototype.num_points = function () { 2011 return Gb(this.ptr); 2012 }; 2013 E.prototype.__destroy__ = E.prototype.__destroy__ = function () { 2014 Hb(this.ptr); 2015 }; 2016 T.prototype = Object.create(t.prototype); 2017 T.prototype.constructor = T; 2018 T.prototype.__class__ = T; 2019 T.__cache__ = {}; 2020 a.Metadata = T; 2021 T.prototype.__destroy__ = T.prototype.__destroy__ = function () { 2022 Ib(this.ptr); 2023 }; 2024 B.prototype = Object.create(t.prototype); 2025 B.prototype.constructor = B; 2026 B.prototype.__class__ = B; 2027 B.__cache__ = {}; 2028 a.Status = B; 2029 B.prototype.code = B.prototype.code = function () { 2030 return Jb(this.ptr); 2031 }; 2032 B.prototype.ok = B.prototype.ok = function () { 2033 return !!Kb(this.ptr); 2034 }; 2035 B.prototype.error_msg = B.prototype.error_msg = function () { 2036 return h(Lb(this.ptr)); 2037 }; 2038 B.prototype.__destroy__ = B.prototype.__destroy__ = function () { 2039 Mb(this.ptr); 2040 }; 2041 H.prototype = Object.create(t.prototype); 2042 H.prototype.constructor = H; 2043 H.prototype.__class__ = H; 2044 H.__cache__ = {}; 2045 a.DracoFloat32Array = H; 2046 H.prototype.GetValue = H.prototype.GetValue = function (b) { 2047 var c = this.ptr; 2048 b && typeof b === "object" && (b = b.ptr); 2049 return Nb(c, b); 2050 }; 2051 H.prototype.size = H.prototype.size = function () { 2052 return Ob(this.ptr); 2053 }; 2054 H.prototype.__destroy__ = H.prototype.__destroy__ = function () { 2055 Pb(this.ptr); 2056 }; 2057 I.prototype = Object.create(t.prototype); 2058 I.prototype.constructor = I; 2059 I.prototype.__class__ = I; 2060 I.__cache__ = {}; 2061 a.DracoInt8Array = I; 2062 I.prototype.GetValue = I.prototype.GetValue = function (b) { 2063 var c = this.ptr; 2064 b && typeof b === "object" && (b = b.ptr); 2065 return Qb(c, b); 2066 }; 2067 I.prototype.size = I.prototype.size = function () { 2068 return Rb(this.ptr); 2069 }; 2070 I.prototype.__destroy__ = I.prototype.__destroy__ = function () { 2071 Sb(this.ptr); 2072 }; 2073 J.prototype = Object.create(t.prototype); 2074 J.prototype.constructor = J; 2075 J.prototype.__class__ = J; 2076 J.__cache__ = {}; 2077 a.DracoUInt8Array = J; 2078 J.prototype.GetValue = J.prototype.GetValue = function (b) { 2079 var c = this.ptr; 2080 b && typeof b === "object" && (b = b.ptr); 2081 return Tb(c, b); 2082 }; 2083 J.prototype.size = J.prototype.size = function () { 2084 return Ub(this.ptr); 2085 }; 2086 J.prototype.__destroy__ = J.prototype.__destroy__ = function () { 2087 Vb(this.ptr); 2088 }; 2089 K.prototype = Object.create(t.prototype); 2090 K.prototype.constructor = K; 2091 K.prototype.__class__ = K; 2092 K.__cache__ = {}; 2093 a.DracoInt16Array = K; 2094 K.prototype.GetValue = K.prototype.GetValue = function (b) { 2095 var c = this.ptr; 2096 b && typeof b === "object" && (b = b.ptr); 2097 return Wb(c, b); 2098 }; 2099 K.prototype.size = K.prototype.size = function () { 2100 return Xb(this.ptr); 2101 }; 2102 K.prototype.__destroy__ = K.prototype.__destroy__ = function () { 2103 Yb(this.ptr); 2104 }; 2105 L.prototype = Object.create(t.prototype); 2106 L.prototype.constructor = L; 2107 L.prototype.__class__ = L; 2108 L.__cache__ = {}; 2109 a.DracoUInt16Array = L; 2110 L.prototype.GetValue = L.prototype.GetValue = function (b) { 2111 var c = this.ptr; 2112 b && typeof b === "object" && (b = b.ptr); 2113 return Zb(c, b); 2114 }; 2115 L.prototype.size = L.prototype.size = function () { 2116 return $b(this.ptr); 2117 }; 2118 L.prototype.__destroy__ = L.prototype.__destroy__ = function () { 2119 ac(this.ptr); 2120 }; 2121 M.prototype = Object.create(t.prototype); 2122 M.prototype.constructor = M; 2123 M.prototype.__class__ = M; 2124 M.__cache__ = {}; 2125 a.DracoInt32Array = M; 2126 M.prototype.GetValue = M.prototype.GetValue = function (b) { 2127 var c = this.ptr; 2128 b && typeof b === "object" && (b = b.ptr); 2129 return bc(c, b); 2130 }; 2131 M.prototype.size = M.prototype.size = function () { 2132 return cc(this.ptr); 2133 }; 2134 M.prototype.__destroy__ = M.prototype.__destroy__ = function () { 2135 dc(this.ptr); 2136 }; 2137 N.prototype = Object.create(t.prototype); 2138 N.prototype.constructor = N; 2139 N.prototype.__class__ = N; 2140 N.__cache__ = {}; 2141 a.DracoUInt32Array = N; 2142 N.prototype.GetValue = N.prototype.GetValue = function (b) { 2143 var c = this.ptr; 2144 b && typeof b === "object" && (b = b.ptr); 2145 return ec(c, b); 2146 }; 2147 N.prototype.size = N.prototype.size = function () { 2148 return fc(this.ptr); 2149 }; 2150 N.prototype.__destroy__ = N.prototype.__destroy__ = function () { 2151 gc(this.ptr); 2152 }; 2153 y.prototype = Object.create(t.prototype); 2154 y.prototype.constructor = y;
2155 y.prototype.__class__ = y; 2156 y.__cache__ = {}; 2157 a.MetadataQuerier = y; 2158 y.prototype.HasEntry = y.prototype.HasEntry = function (b, c) { 2159 var d = this.ptr; 2160 r.prepare(); 2161 b && typeof b === "object" && (b = b.ptr); 2162 c = c && typeof c === "object" ? c.ptr : R(c); 2163 return !!hc(d, b, c); 2164 }; 2165 y.prototype.GetIntEntry = y.prototype.GetIntEntry = function (b, c) { 2166 var d = this.ptr; 2167 r.prepare(); 2168 b && typeof b === "object" && (b = b.ptr); 2169 c = c && typeof c === "object" ? c.ptr : R(c); 2170 return ic(d, b, c); 2171 }; 2172 y.prototype.GetIntEntryArray = y.prototype.GetIntEntryArray = function ( 2173 b, 2174 c, 2175 d, 2176 ) { 2177 var g = this.ptr; 2178 r.prepare(); 2179 b && typeof b === "object" && (b = b.ptr); 2180 c = c && typeof c === "object" ? c.ptr : R(c); 2181 d && typeof d === "object" && (d = d.ptr); 2182 jc(g, b, c, d); 2183 }; 2184 y.prototype.GetDoubleEntry = y.prototype.GetDoubleEntry = function (b, c) { 2185 var d = this.ptr; 2186 r.prepare(); 2187 b && typeof b === "object" && (b = b.ptr); 2188 c = c && typeof c === "object" ? c.ptr : R(c); 2189 return kc(d, b, c); 2190 }; 2191 y.prototype.GetStringEntry = y.prototype.GetStringEntry = function (b, c) { 2192 var d = this.ptr; 2193 r.prepare(); 2194 b && typeof b === "object" && (b = b.ptr); 2195 c = c && typeof c === "object" ? c.ptr : R(c); 2196 return h(lc(d, b, c)); 2197 }; 2198 y.prototype.NumEntries = y.prototype.NumEntries = function (b) { 2199 var c = this.ptr; 2200 b && typeof b === "object" && (b = b.ptr); 2201 return mc(c, b); 2202 }; 2203 y.prototype.GetEntryName = y.prototype.GetEntryName = function (b, c) { 2204 var d = this.ptr; 2205 b && typeof b === "object" && (b = b.ptr); 2206 c && typeof c === "object" && (c = c.ptr); 2207 return h(nc(d, b, c)); 2208 }; 2209 y.prototype.__destroy__ = y.prototype.__destroy__ = function () { 2210 oc(this.ptr); 2211 }; 2212 m.prototype = Object.create(t.prototype); 2213 m.prototype.constructor = m; 2214 m.prototype.__class__ = m; 2215 m.__cache__ = {}; 2216 a.Decoder = m; 2217 m.prototype.DecodeArrayToPointCloud = m.prototype.DecodeArrayToPointCloud = 2218 function (b, c, d) { 2219 var g = this.ptr; 2220 r.prepare(); 2221 typeof b == "object" && (b = pa(b)); 2222 c && typeof c === "object" && (c = c.ptr); 2223 d && typeof d === "object" && (d = d.ptr); 2224 return D(pc(g, b, c, d), B); 2225 }; 2226 m.prototype.DecodeArrayToMesh = m.prototype.DecodeArrayToMesh = function ( 2227 b, 2228 c, 2229 d, 2230 ) { 2231 var g = this.ptr; 2232 r.prepare(); 2233 typeof b == "object" && (b = pa(b)); 2234 c && typeof c === "object" && (c = c.ptr); 2235 d && typeof d === "object" && (d = d.ptr); 2236 return D(qc(g, b, c, d), B); 2237 }; 2238 m.prototype.GetAttributeId = m.prototype.GetAttributeId = function (b, c) { 2239 var d = this.ptr; 2240 b && typeof b === "object" && (b = b.ptr); 2241 c && typeof c === "object" && (c = c.ptr); 2242 return rc(d, b, c); 2243 }; 2244 m.prototype.GetAttributeIdByName = m.prototype.GetAttributeIdByName = 2245 function (b, c) { 2246 var d = this.ptr; 2247 r.prepare(); 2248 b && typeof b === "object" && (b = b.ptr); 2249 c = c && typeof c === "object" ? c.ptr : R(c); 2250 return sc(d, b, c); 2251 }; 2252 m.prototype.GetAttributeIdByMetadataEntry = 2253 m.prototype.GetAttributeIdByMetadataEntry = function (b, c, d) { 2254 var g = this.ptr; 2255 r.prepare(); 2256 b && typeof b === "object" && (b = b.ptr); 2257 c = c && typeof c === "object" ? c.ptr : R(c); 2258 d = d && typeof d === "object" ? d.ptr : R(d); 2259 return tc(g, b, c, d); 2260 }; 2261 m.prototype.GetAttribute = m.prototype.GetAttribute = function (b, c) { 2262 var d = this.ptr; 2263 b && typeof b === "object" && (b = b.ptr); 2264 c && typeof c === "object" && (c = c.ptr); 2265 return D(uc(d, b, c), w); 2266 }; 2267 m.prototype.GetAttributeByUniqueId = m.prototype.GetAttributeByUniqueId = 2268 function (b, c) { 2269 var d = this.ptr; 2270 b && typeof b === "object" && (b = b.ptr); 2271 c && typeof c === "object" && (c = c.ptr); 2272 return D(vc(d, b, c), w); 2273 }; 2274 m.prototype.GetMetadata = m.prototype.GetMetadata = function (b) { 2275 var c = this.ptr; 2276 b && typeof b === "object" && (b = b.ptr); 2277 return D(wc(c, b), T); 2278 }; 2279 m.prototype.GetAttributeMetadata = m.prototype.GetAttributeMetadata = 2280 function (b, c) { 2281 var d = this.ptr; 2282 b && typeof b === "object" && (b = b.ptr); 2283 c && typeof c === "object" && (c = c.ptr); 2284 return D(xc(d, b, c), T); 2285 }; 2286 m.prototype.GetFaceFromMesh = m.prototype.GetFaceFromMesh = function ( 2287 b, 2288 c, 2289 d, 2290 ) { 2291 var g = this.ptr; 2292 b && typeof b === "object" && (b = b.ptr); 2293 c && typeof c === "object" && (c = c.ptr); 2294 d && typeof d === "object" && (d = d.ptr); 2295 return !!yc(g, b, c, d); 2296 }; 2297 m.prototype.GetTriangleStripsFromMesh = 2298 m.prototype.GetTriangleStripsFromMesh = function (b, c) { 2299 var d = this.ptr; 2300 b && typeof b === "object" && (b = b.ptr); 2301 c && typeof c === "object" && (c = c.ptr); 2302 return zc(d, b, c); 2303 }; 2304 m.prototype.GetTrianglesUInt16Array = m.prototype.GetTrianglesUInt16Array = 2305 function (b, c, d) { 2306 var g = this.ptr; 2307 b && typeof b === "object" && (b = b.ptr); 2308 c && typeof c === "object" && (c = c.ptr); 2309 d && typeof d === "object" && (d = d.ptr); 2310 return !!Ac(g, b, c, d); 2311 }; 2312 m.prototype.GetTrianglesUInt32Array = m.prototype.GetTrianglesUInt32Array = 2313 function (b, c, d) { 2314 var g = this.ptr; 2315 b && typeof b === "object" && (b = b.ptr); 2316 c && typeof c === "object" && (c = c.ptr); 2317 d && typeof d === "object" && (d = d.ptr); 2318 return !!Bc(g, b, c, d); 2319 }; 2320 m.prototype.GetAttributeFloat = m.prototype.GetAttributeFloat = function ( 2321 b, 2322 c, 2323 d, 2324 ) { 2325 var g = this.ptr; 2326 b && typeof b === "object" && (b = b.ptr); 2327 c && typeof c === "object" && (c = c.ptr); 2328 d && typeof d === "object" && (d = d.ptr); 2329 return !!Cc(g, b, c, d); 2330 }; 2331 m.prototype.GetAttributeFloatForAllPoints = 2332 m.prototype.GetAttributeFloatForAllPoints = function (b, c, d) { 2333 var g = this.ptr; 2334 b && typeof b === "object" && (b = b.ptr); 2335 c && typeof c === "object" && (c = c.ptr); 2336 d && typeof d === "object" && (d = d.ptr); 2337 return !!Dc(g, b, c, d); 2338 }; 2339 m.prototype.GetAttributeIntForAllPoints = 2340 m.prototype.GetAttributeIntForAllPoints = function (b, c, d) { 2341 var g = this.ptr; 2342 b && typeof b === "object" && (b = b.ptr); 2343 c && typeof c === "object" && (c = c.ptr); 2344 d && typeof d === "object" && (d = d.ptr); 2345 return !!Ec(g, b, c, d); 2346 }; 2347 m.prototype.GetAttributeInt8ForAllPoints = 2348 m.prototype.GetAttributeInt8ForAllPoints = function (b, c, d) { 2349 var g = this.ptr; 2350 b && typeof b === "object" && (b = b.ptr); 2351 c && typeof c === "object" && (c = c.ptr); 2352 d && typeof d === "object" && (d = d.ptr); 2353 return !!Fc(g, b, c, d); 2354 }; 2355 m.prototype.GetAttributeUInt8ForAllPoints = 2356 m.prototype.GetAttributeUInt8ForAllPoints = function (b, c, d) { 2357 var g = this.ptr; 2358 b && typeof b === "object" && (b = b.ptr); 2359 c && typeof c === "object" && (c = c.ptr); 2360 d && typeof d === "object" && (d = d.ptr); 2361 return !!Gc(g, b, c, d); 2362 }; 2363 m.prototype.GetAttributeInt16ForAllPoints = 2364 m.prototype.GetAttributeInt16ForAllPoints = function (b, c, d) { 2365 var g = this.ptr; 2366 b && typeof b === "object" && (b = b.ptr); 2367 c && typeof c === "object" && (c = c.ptr); 2368 d && typeof d === "object" && (d = d.ptr); 2369 return !!Hc(g, b, c, d); 2370 }; 2371 m.prototype.GetAttributeUInt16ForAllPoints = 2372 m.prototype.GetAttributeUInt16ForAllPoints = function (b, c, d) { 2373 var g = this.ptr; 2374 b && typeof b === "object" && (b = b.ptr); 2375 c && typeof c === "object" && (c = c.ptr); 2376 d && typeof d === "object" && (d = d.ptr); 2377 return !!Ic(g, b, c, d); 2378 }; 2379 m.prototype.GetAttributeInt32ForAllPoints = 2380 m.prototype.GetAttributeInt32ForAllPoints = function (b, c, d) { 2381 var g = this.ptr; 2382 b && typeof b === "object" && (b = b.ptr); 2383 c && typeof c === "object" && (c = c.ptr); 2384 d && typeof d === "object" && (d = d.ptr); 2385 return !!Jc(g, b, c, d); 2386 }; 2387 m.prototype.GetAttributeUInt32ForAllPoints = 2388 m.prototype.GetAttributeUInt32ForAllPoints = function (b, c, d) { 2389 var g = this.ptr; 2390 b && typeof b === "object" && (b = b.ptr); 2391 c && typeof c === "object" && (c = c.ptr); 2392 d && typeof d === "object" && (d = d.ptr); 2393 return !!Kc(g, b, c, d); 2394 }; 2395 m.prototype.GetAttributeDataArrayForAllPoints = 2396 m.prototype.GetAttributeDataArrayForAllPoints = function (b, c, d, g, u) { 2397 var X = this.ptr; 2398 b && typeof b === "object" && (b = b.ptr); 2399 c && typeof c === "object" && (c = c.ptr); 2400 d && typeof d === "object" && (d = d.ptr); 2401 g && typeof g === "object" && (g = g.ptr); 2402 u && typeof u === "object" && (u = u.ptr); 2403 return !!Lc(X, b, c, d, g, u); 2404 }; 2405 m.prototype.SkipAttributeTransform = m.prototype.SkipAttributeTransform = 2406 function (b) { 2407 var c = this.ptr; 2408 b && typeof b === "object" && (b = b.ptr); 2409 Mc(c, b); 2410 }; 2411 m.prototype.GetEncodedGeometryType_Deprecated = 2412 m.prototype.GetEncodedGeometryType_Deprecated = function (b) { 2413 var c = this.ptr; 2414 b && typeof b === "object" && (b = b.ptr); 2415 return Nc(c, b); 2416 }; 2417 m.prototype.DecodeBufferToPointCloud = 2418 m.prototype.DecodeBufferToPointCloud = function (b, c) { 2419 var d = this.ptr; 2420 b && typeof b === "object" && (b = b.ptr); 2421 c && typeof c === "object" && (c = c.ptr); 2422 return D(Oc(d, b, c), B); 2423 }; 2424 m.prototype.DecodeBufferToMesh = m.prototype.DecodeBufferToMesh = function ( 2425 b, 2426 c, 2427 ) { 2428 var d = this.ptr; 2429 b && typeof b === "object" && (b = b.ptr); 2430 c && typeof c === "object" && (c = c.ptr); 2431 return D(Pc(d, b, c), B); 2432 }; 2433 m.prototype.__destroy__ = m.prototype.__destroy__ = function () { 2434 Qc(this.ptr); 2435 }; 2436 (() => { 2437 function b() { 2438 a.ATTRIBUTE_INVALID_TRANSFORM = Rc(); 2439 a.ATTRIBUTE_NO_TRANSFORM = Sc(); 2440 a.ATTRIBUTE_QUANTIZATION_TRANSFORM = Tc(); 2441 a.ATTRIBUTE_OCTAHEDRON_TRANSFORM = Uc(); 2442 a.INVALID = Vc(); 2443 a.POSITION = Wc(); 2444 a.NORMAL = Xc(); 2445 a.COLOR = Yc(); 2446 a.TEX_COORD = Zc(); 2447 a.GENERIC = $c(); 2448 a.INVALID_GEOMETRY_TYPE = ad(); 2449 a.POINT_CLOUD = bd(); 2450 a.TRIANGULAR_MESH = cd(); 2451 a.DT_INVALID = dd(); 2452 a.DT_INT8 = ed(); 2453 a.DT_UINT8 = fd(); 2454 a.DT_INT16 = gd(); 2455 a.DT_UINT16 = hd(); 2456 a.DT_INT32 = id(); 2457 a.DT_UINT32 = jd(); 2458 a.DT_INT64 = kd(); 2459 a.DT_UINT64 = ld(); 2460 a.DT_FLOAT32 = md(); 2461 a.DT_FLOAT64 = nd(); 2462 a.DT_BOOL = od(); 2463 a.DT_TYPES_COUNT = pd(); 2464 a.OK = qd(); 2465 a.DRACO_ERROR = rd(); 2466 a.IO_ERROR = sd(); 2467 a.INVALID_PARAMETER = td(); 2468 a.UNSUPPORTED_VERSION = ud(); 2469 a.UNKNOWN_VERSION = vd(); 2470 } 2471 za ? b() : oa.unshift(b); 2472 })(); 2473 if (typeof a.onModuleParsed === "function") a.onModuleParsed(); 2474 a.Decoder.prototype.GetEncodedGeometryType = (b) => { 2475 if (b.__class__ && b.__class__ === a.DecoderBuffer) 2476 return a.Decoder.prototype.GetEncodedGeometryType_Deprecated(b); 2477 if (b.byteLength < 8) return a.INVALID_GEOMETRY_TYPE; 2478 switch (b[7]) { 2479 case 0: 2480 return a.POINT_CLOUD; 2481 case 1: 2482 return a.TRIANGULAR_MESH; 2483 default: 2484 return a.INVALID_GEOMETRY_TYPE; 2485 } 2486 }; 2487 return n.ready; 2488 }; 2489})(); 2490typeof exports === "object" && typeof module === "object" 2491 ? (module.exports = DracoDecoderModule) 2492 : typeof define === "function" && define.amd 2493 ? define([], () => DracoDecoderModule) 2494 : typeof exports === "object" && 2495 (exports.DracoDecoderModule = DracoDecoderModule);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.