@gmgis/gm-sdk 1.12.5 → 2.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (159) hide show
  1. package/dist/dist/index.js +1848 -0
  2. package/dist/gm.min.js +16983 -16483
  3. package/dist/index.js +1436 -1434
  4. package/dist/resources/ThirdParty/Workers/pako_deflate.min.js +1 -2
  5. package/dist/resources/ThirdParty/Workers/pako_inflate.min.js +1 -2
  6. package/dist/resources/ThirdParty/Workers/z-worker-pako.js +1 -1
  7. package/dist/resources/ThirdParty/google-earth-dbroot-parser.js +1 -8337
  8. package/dist/resources/ThirdParty/wasm_splats_bg.wasm +0 -0
  9. package/dist/resources/Workers/chunk-35SHYARM.js +26 -0
  10. package/dist/resources/Workers/chunk-37F5JSTI.js +26 -0
  11. package/dist/resources/Workers/chunk-3SSKC3VN.js +26 -0
  12. package/dist/resources/Workers/chunk-3W4GT7KQ.js +26 -0
  13. package/dist/resources/Workers/chunk-4IW2T6GF.js +26 -0
  14. package/dist/resources/Workers/chunk-5YEWO3HT.js +26 -0
  15. package/dist/resources/Workers/chunk-64RSHJUE.js +28 -0
  16. package/dist/resources/Workers/chunk-77IHZJJ3.js +26 -0
  17. package/dist/resources/Workers/chunk-7HTKERZY.js +26 -0
  18. package/dist/resources/Workers/{chunk-I2ITFFPX.js → chunk-A56XVLQR.js} +2 -13
  19. package/dist/resources/Workers/chunk-AJYK4IVJ.js +26 -0
  20. package/dist/resources/Workers/{chunk-PRGYLLJT.js → chunk-ARG42DC4.js} +2 -31
  21. package/dist/resources/Workers/chunk-AU7IKHOH.js +26 -0
  22. package/dist/resources/Workers/chunk-B4AA3ARO.js +26 -0
  23. package/dist/resources/Workers/chunk-CNCV5UL7.js +26 -0
  24. package/dist/resources/Workers/chunk-CYCB63OH.js +26 -0
  25. package/dist/resources/Workers/{chunk-DI5NGJUP.js → chunk-D6AA5QVT.js} +2 -20
  26. package/dist/resources/Workers/chunk-D6C66QON.js +26 -0
  27. package/dist/resources/Workers/chunk-DEPHB2WM.js +26 -0
  28. package/dist/resources/Workers/chunk-DMEY62ID.js +26 -0
  29. package/dist/resources/Workers/chunk-DQQ63PYM.js +26 -0
  30. package/dist/resources/Workers/chunk-ED5JPB3S.js +27 -0
  31. package/dist/resources/Workers/chunk-EZUYS2JF.js +26 -0
  32. package/dist/resources/Workers/chunk-FEVXJ54I.js +26 -0
  33. package/dist/resources/Workers/chunk-G5AGHVVC.js +26 -0
  34. package/dist/resources/Workers/{chunk-7JO7GPJN.js → chunk-GBYLG25F.js} +2 -15
  35. package/dist/resources/Workers/chunk-GILIDQNQ.js +26 -0
  36. package/dist/resources/Workers/chunk-HMIYSTF6.js +26 -0
  37. package/dist/resources/Workers/chunk-HTFSEEMT.js +26 -0
  38. package/dist/resources/Workers/chunk-HWXX4CWK.js +26 -0
  39. package/dist/resources/Workers/chunk-IYTZ52EY.js +26 -0
  40. package/dist/resources/Workers/chunk-J6UP6FLE.js +26 -0
  41. package/dist/resources/Workers/chunk-LEYMRMBK.js +27 -0
  42. package/dist/resources/Workers/chunk-M3MGYQSL.js +26 -0
  43. package/dist/resources/Workers/chunk-N4VJKXZS.js +26 -0
  44. package/dist/resources/Workers/chunk-NB3ML6JO.js +26 -0
  45. package/dist/resources/Workers/chunk-OFUUQVMR.js +26 -0
  46. package/dist/resources/Workers/chunk-OSW76XDF.js +26 -0
  47. package/dist/resources/Workers/chunk-PSPPBZWI.js +66 -0
  48. package/dist/resources/Workers/chunk-QN3VOORQ.js +26 -0
  49. package/dist/resources/Workers/chunk-QOUAJ6TL.js +26 -0
  50. package/dist/resources/Workers/chunk-RCV6KWXS.js +26 -0
  51. package/dist/resources/Workers/chunk-TCGIRNHN.js +26 -0
  52. package/dist/resources/Workers/chunk-U4IEOH5K.js +26 -0
  53. package/dist/resources/Workers/chunk-UP6I5URU.js +26 -0
  54. package/dist/resources/Workers/chunk-VTAIKJXX.js +26 -0
  55. package/dist/resources/Workers/chunk-VTBDSFTG.js +26 -0
  56. package/dist/resources/Workers/chunk-VW6VD53G.js +26 -0
  57. package/dist/resources/Workers/chunk-WGGIH7QW.js +26 -0
  58. package/dist/resources/Workers/chunk-WWA5PL4H.js +26 -0
  59. package/dist/resources/Workers/{chunk-6CHGCNMW.js → chunk-WZDE3RYP.js} +4 -34
  60. package/dist/resources/Workers/chunk-XRL4AVS5.js +26 -0
  61. package/dist/resources/Workers/combineGeometry.js +2 -40
  62. package/dist/resources/Workers/createBoxGeometry.js +2 -32
  63. package/dist/resources/Workers/createBoxOutlineGeometry.js +2 -209
  64. package/dist/resources/Workers/createCircleGeometry.js +2 -175
  65. package/dist/resources/Workers/createCircleOutlineGeometry.js +2 -121
  66. package/dist/resources/Workers/createCoplanarPolygonGeometry.js +2 -481
  67. package/dist/resources/Workers/createCoplanarPolygonOutlineGeometry.js +2 -199
  68. package/dist/resources/Workers/createCorridorGeometry.js +2 -1237
  69. package/dist/resources/Workers/createCorridorOutlineGeometry.js +2 -542
  70. package/dist/resources/Workers/createCylinderGeometry.js +2 -34
  71. package/dist/resources/Workers/createCylinderOutlineGeometry.js +2 -205
  72. package/dist/resources/Workers/createEllipseGeometry.js +2 -45
  73. package/dist/resources/Workers/createEllipseOutlineGeometry.js +2 -38
  74. package/dist/resources/Workers/createEllipsoidGeometry.js +2 -33
  75. package/dist/resources/Workers/createEllipsoidOutlineGeometry.js +2 -35
  76. package/dist/resources/Workers/createFrustumGeometry.js +2 -32
  77. package/dist/resources/Workers/createFrustumOutlineGeometry.js +2 -210
  78. package/dist/resources/Workers/createGeometry.js +2 -144
  79. package/dist/resources/Workers/createGroundPolylineGeometry.js +2 -1582
  80. package/dist/resources/Workers/createPlaneGeometry.js +2 -198
  81. package/dist/resources/Workers/createPlaneOutlineGeometry.js +2 -98
  82. package/dist/resources/Workers/createPolygonGeometry.js +2 -1381
  83. package/dist/resources/Workers/createPolygonOutlineGeometry.js +2 -509
  84. package/dist/resources/Workers/createPolylineGeometry.js +2 -470
  85. package/dist/resources/Workers/createPolylineVolumeGeometry.js +2 -354
  86. package/dist/resources/Workers/createPolylineVolumeOutlineGeometry.js +2 -251
  87. package/dist/resources/Workers/createRectangleGeometry.js +2 -1246
  88. package/dist/resources/Workers/createRectangleOutlineGeometry.js +2 -453
  89. package/dist/resources/Workers/createSimplePolylineGeometry.js +2 -374
  90. package/dist/resources/Workers/createSphereGeometry.js +2 -92
  91. package/dist/resources/Workers/createSphereOutlineGeometry.js +2 -92
  92. package/dist/resources/Workers/createTaskProcessorWorker.js +2 -8
  93. package/dist/resources/Workers/createVectorTileClampedPolylines.js +2 -466
  94. package/dist/resources/Workers/createVectorTileGeometries.js +2 -361
  95. package/dist/resources/Workers/createVectorTilePoints.js +2 -88
  96. package/dist/resources/Workers/createVectorTilePolygons.js +2 -359
  97. package/dist/resources/Workers/createVectorTilePolylines.js +2 -236
  98. package/dist/resources/Workers/createVerticesFromGoogleEarthEnterpriseBuffer.js +2 -539
  99. package/dist/resources/Workers/createVerticesFromHeightmap.js +2 -2252
  100. package/dist/resources/Workers/createVerticesFromQuantizedTerrainMesh.js +2 -729
  101. package/dist/resources/Workers/createWallGeometry.js +2 -464
  102. package/dist/resources/Workers/createWallOutlineGeometry.js +2 -312
  103. package/dist/resources/Workers/decodeDraco.js +2 -345
  104. package/dist/resources/Workers/decodeGoogleEarthEnterprisePacket.js +2 -2642
  105. package/dist/resources/Workers/decodeI3S.js +2 -1319
  106. package/dist/resources/Workers/gaussianSplatSorter.js +26 -0
  107. package/dist/resources/Workers/gaussianSplatTextureGenerator.js +26 -0
  108. package/dist/resources/Workers/transcodeKTX2.js +29 -3360
  109. package/dist/resources/Workers/transferTypedArrayTest.js +2 -17
  110. package/dist/resources/Workers/upsampleQuantizedTerrainMesh.js +2 -793
  111. package/package.json +74 -74
  112. package/dist/resources/ThirdParty/Workers/basis_transcoder.js +0 -21
  113. package/dist/resources/Workers/chunk-26GA3JAM.js +0 -139
  114. package/dist/resources/Workers/chunk-27HUZ7SA.js +0 -305
  115. package/dist/resources/Workers/chunk-2ZGOQXYU.js +0 -171
  116. package/dist/resources/Workers/chunk-3Q2L65QU.js +0 -1258
  117. package/dist/resources/Workers/chunk-472HQ3EH.js +0 -100
  118. package/dist/resources/Workers/chunk-5ODQSF26.js +0 -101
  119. package/dist/resources/Workers/chunk-5OOFQLKF.js +0 -634
  120. package/dist/resources/Workers/chunk-5PTXS2GO.js +0 -10390
  121. package/dist/resources/Workers/chunk-76BYBWHP.js +0 -122
  122. package/dist/resources/Workers/chunk-7BMOHCPM.js +0 -390
  123. package/dist/resources/Workers/chunk-7KTQP4VB.js +0 -59
  124. package/dist/resources/Workers/chunk-7O373FFS.js +0 -665
  125. package/dist/resources/Workers/chunk-AD63PIY6.js +0 -163
  126. package/dist/resources/Workers/chunk-BHQJ2NT7.js +0 -353
  127. package/dist/resources/Workers/chunk-C6YYBQXW.js +0 -102
  128. package/dist/resources/Workers/chunk-CKY7HOHV.js +0 -287
  129. package/dist/resources/Workers/chunk-DHYHSFFJ.js +0 -73
  130. package/dist/resources/Workers/chunk-E27BLMDD.js +0 -115
  131. package/dist/resources/Workers/chunk-E63IIM5T.js +0 -75
  132. package/dist/resources/Workers/chunk-E6V6SQZW.js +0 -456
  133. package/dist/resources/Workers/chunk-EJZTDTUH.js +0 -138
  134. package/dist/resources/Workers/chunk-FDOV2LBJ.js +0 -220
  135. package/dist/resources/Workers/chunk-FIGIZHAQ.js +0 -684
  136. package/dist/resources/Workers/chunk-GESF4OXQ.js +0 -1800
  137. package/dist/resources/Workers/chunk-GGZJN2TI.js +0 -2717
  138. package/dist/resources/Workers/chunk-GNBFYG7F.js +0 -1481
  139. package/dist/resources/Workers/chunk-GWCFU2SA.js +0 -300
  140. package/dist/resources/Workers/chunk-IBLIYJZR.js +0 -196
  141. package/dist/resources/Workers/chunk-JW4FOI6M.js +0 -476
  142. package/dist/resources/Workers/chunk-K4GQUNB5.js +0 -262
  143. package/dist/resources/Workers/chunk-M3GMB5OP.js +0 -834
  144. package/dist/resources/Workers/chunk-MXIZJAPH.js +0 -629
  145. package/dist/resources/Workers/chunk-N5KJGGCM.js +0 -1073
  146. package/dist/resources/Workers/chunk-NGPPMXRM.js +0 -435
  147. package/dist/resources/Workers/chunk-O3E4OAOE.js +0 -511
  148. package/dist/resources/Workers/chunk-PGRPDNHG.js +0 -1048
  149. package/dist/resources/Workers/chunk-S6MRMMQU.js +0 -157
  150. package/dist/resources/Workers/chunk-SMDOP47J.js +0 -945
  151. package/dist/resources/Workers/chunk-TGONEMZO.js +0 -421
  152. package/dist/resources/Workers/chunk-TKVT5GQM.js +0 -781
  153. package/dist/resources/Workers/chunk-U72QNFOJ.js +0 -758
  154. package/dist/resources/Workers/chunk-VJZB3WAV.js +0 -963
  155. package/dist/resources/Workers/chunk-VU2MNO7L.js +0 -239
  156. package/dist/resources/Workers/chunk-XY4BATBS.js +0 -500
  157. package/dist/resources/Workers/chunk-YFXQECWV.js +0 -2857
  158. package/dist/resources/Workers/chunk-YSGTGQQO.js +0 -398
  159. package/dist/resources/Workers/chunk-YZ733KKS.js +0 -368
@@ -1,1800 +0,0 @@
1
- /**
2
- * @license
3
- * Cesium - https://github.com/CesiumGS/cesium
4
- * Version 1.122
5
- *
6
- * Copyright 2011-2022 Cesium Contributors
7
- *
8
- * Licensed under the Apache License, Version 2.0 (the "License");
9
- * you may not use this file except in compliance with the License.
10
- * You may obtain a copy of the License at
11
- *
12
- * http://www.apache.org/licenses/LICENSE-2.0
13
- *
14
- * Unless required by applicable law or agreed to in writing, software
15
- * distributed under the License is distributed on an "AS IS" BASIS,
16
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17
- * See the License for the specific language governing permissions and
18
- * limitations under the License.
19
- *
20
- * Columbus View (Pat. Pend.)
21
- *
22
- * Portions licensed separately.
23
- * See https://github.com/CesiumGS/cesium/blob/main/LICENSE.md for full licensing details.
24
- */
25
-
26
- import {
27
- __commonJS,
28
- __require
29
- } from "./chunk-E63IIM5T.js";
30
-
31
- // node_modules/draco3d/draco_decoder_nodejs.js
32
- var require_draco_decoder_nodejs = __commonJS({
33
- "node_modules/draco3d/draco_decoder_nodejs.js"(exports, module) {
34
- var $jscomp = $jscomp || {};
35
- $jscomp.scope = {};
36
- $jscomp.arrayIteratorImpl = function(k) {
37
- var n = 0;
38
- return function() {
39
- return n < k.length ? { done: false, value: k[n++] } : { done: true };
40
- };
41
- };
42
- $jscomp.arrayIterator = function(k) {
43
- return { next: $jscomp.arrayIteratorImpl(k) };
44
- };
45
- $jscomp.makeIterator = function(k) {
46
- var n = "undefined" != typeof Symbol && Symbol.iterator && k[Symbol.iterator];
47
- return n ? n.call(k) : $jscomp.arrayIterator(k);
48
- };
49
- $jscomp.ASSUME_ES5 = false;
50
- $jscomp.ASSUME_NO_NATIVE_MAP = false;
51
- $jscomp.ASSUME_NO_NATIVE_SET = false;
52
- $jscomp.SIMPLE_FROUND_POLYFILL = false;
53
- $jscomp.ISOLATE_POLYFILLS = false;
54
- $jscomp.FORCE_POLYFILL_PROMISE = false;
55
- $jscomp.FORCE_POLYFILL_PROMISE_WHEN_NO_UNHANDLED_REJECTION = false;
56
- $jscomp.getGlobal = function(k) {
57
- k = ["object" == typeof globalThis && globalThis, k, "object" == typeof window && window, "object" == typeof self && self, "object" == typeof global && global];
58
- for (var n = 0; n < k.length; ++n) {
59
- var l = k[n];
60
- if (l && l.Math == Math) return l;
61
- }
62
- throw Error("Cannot find global object");
63
- };
64
- $jscomp.global = $jscomp.getGlobal(exports);
65
- $jscomp.defineProperty = $jscomp.ASSUME_ES5 || "function" == typeof Object.defineProperties ? Object.defineProperty : function(k, n, l) {
66
- if (k == Array.prototype || k == Object.prototype) return k;
67
- k[n] = l.value;
68
- return k;
69
- };
70
- $jscomp.IS_SYMBOL_NATIVE = "function" === typeof Symbol && "symbol" === typeof Symbol("x");
71
- $jscomp.TRUST_ES6_POLYFILLS = !$jscomp.ISOLATE_POLYFILLS || $jscomp.IS_SYMBOL_NATIVE;
72
- $jscomp.polyfills = {};
73
- $jscomp.propertyToPolyfillSymbol = {};
74
- $jscomp.POLYFILL_PREFIX = "$jscp$";
75
- $jscomp.polyfill = function(k, n, l, p) {
76
- n && ($jscomp.ISOLATE_POLYFILLS ? $jscomp.polyfillIsolated(k, n, l, p) : $jscomp.polyfillUnisolated(k, n, l, p));
77
- };
78
- $jscomp.polyfillUnisolated = function(k, n, l, p) {
79
- l = $jscomp.global;
80
- k = k.split(".");
81
- for (p = 0; p < k.length - 1; p++) {
82
- var h = k[p];
83
- if (!(h in l)) return;
84
- l = l[h];
85
- }
86
- k = k[k.length - 1];
87
- p = l[k];
88
- n = n(p);
89
- n != p && null != n && $jscomp.defineProperty(l, k, { configurable: true, writable: true, value: n });
90
- };
91
- $jscomp.polyfillIsolated = function(k, n, l, p) {
92
- var h = k.split(".");
93
- k = 1 === h.length;
94
- p = h[0];
95
- p = !k && p in $jscomp.polyfills ? $jscomp.polyfills : $jscomp.global;
96
- for (var A = 0; A < h.length - 1; A++) {
97
- var f = h[A];
98
- if (!(f in p)) return;
99
- p = p[f];
100
- }
101
- h = h[h.length - 1];
102
- l = $jscomp.IS_SYMBOL_NATIVE && "es6" === l ? p[h] : null;
103
- n = n(l);
104
- null != n && (k ? $jscomp.defineProperty($jscomp.polyfills, h, { configurable: true, writable: true, 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: true, writable: true, value: n })));
105
- };
106
- $jscomp.polyfill("Promise", function(k) {
107
- function n() {
108
- this.batch_ = null;
109
- }
110
- function l(f) {
111
- return f instanceof h ? f : new h(function(q, v) {
112
- q(f);
113
- });
114
- }
115
- 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;
116
- n.prototype.asyncExecute = function(f) {
117
- if (null == this.batch_) {
118
- this.batch_ = [];
119
- var q = this;
120
- this.asyncExecuteFunction(function() {
121
- q.executeBatch_();
122
- });
123
- }
124
- this.batch_.push(f);
125
- };
126
- var p = $jscomp.global.setTimeout;
127
- n.prototype.asyncExecuteFunction = function(f) {
128
- p(f, 0);
129
- };
130
- n.prototype.executeBatch_ = function() {
131
- for (; this.batch_ && this.batch_.length; ) {
132
- var f = this.batch_;
133
- this.batch_ = [];
134
- for (var q = 0; q < f.length; ++q) {
135
- var v = f[q];
136
- f[q] = null;
137
- try {
138
- v();
139
- } catch (z) {
140
- this.asyncThrow_(z);
141
- }
142
- }
143
- }
144
- this.batch_ = null;
145
- };
146
- n.prototype.asyncThrow_ = function(f) {
147
- this.asyncExecuteFunction(function() {
148
- throw f;
149
- });
150
- };
151
- var h = function(f) {
152
- this.state_ = 0;
153
- this.result_ = void 0;
154
- this.onSettledCallbacks_ = [];
155
- this.isRejectionHandled_ = false;
156
- var q = this.createResolveAndReject_();
157
- try {
158
- f(q.resolve, q.reject);
159
- } catch (v) {
160
- q.reject(v);
161
- }
162
- };
163
- h.prototype.createResolveAndReject_ = function() {
164
- function f(z) {
165
- return function(O) {
166
- v || (v = true, z.call(q, O));
167
- };
168
- }
169
- var q = this, v = false;
170
- return { resolve: f(this.resolveTo_), reject: f(this.reject_) };
171
- };
172
- h.prototype.resolveTo_ = function(f) {
173
- if (f === this) this.reject_(new TypeError("A Promise cannot resolve to itself"));
174
- else if (f instanceof h) this.settleSameAsPromise_(f);
175
- else {
176
- a: switch (typeof f) {
177
- case "object":
178
- var q = null != f;
179
- break a;
180
- case "function":
181
- q = true;
182
- break a;
183
- default:
184
- q = false;
185
- }
186
- q ? this.resolveToNonPromiseObj_(f) : this.fulfill_(f);
187
- }
188
- };
189
- h.prototype.resolveToNonPromiseObj_ = function(f) {
190
- var q = void 0;
191
- try {
192
- q = f.then;
193
- } catch (v) {
194
- this.reject_(v);
195
- return;
196
- }
197
- "function" == typeof q ? this.settleSameAsThenable_(q, f) : this.fulfill_(f);
198
- };
199
- h.prototype.reject_ = function(f) {
200
- this.settle_(2, f);
201
- };
202
- h.prototype.fulfill_ = function(f) {
203
- this.settle_(1, f);
204
- };
205
- h.prototype.settle_ = function(f, q) {
206
- if (0 != this.state_) throw Error("Cannot settle(" + f + ", " + q + "): Promise already settled in state" + this.state_);
207
- this.state_ = f;
208
- this.result_ = q;
209
- 2 === this.state_ && this.scheduleUnhandledRejectionCheck_();
210
- this.executeOnSettledCallbacks_();
211
- };
212
- h.prototype.scheduleUnhandledRejectionCheck_ = function() {
213
- var f = this;
214
- p(function() {
215
- if (f.notifyUnhandledRejection_()) {
216
- var q = $jscomp.global.console;
217
- "undefined" !== typeof q && q.error(f.result_);
218
- }
219
- }, 1);
220
- };
221
- h.prototype.notifyUnhandledRejection_ = function() {
222
- if (this.isRejectionHandled_) return false;
223
- var f = $jscomp.global.CustomEvent, q = $jscomp.global.Event, v = $jscomp.global.dispatchEvent;
224
- if ("undefined" === typeof v) return true;
225
- "function" === typeof f ? f = new f("unhandledrejection", { cancelable: true }) : "function" === typeof q ? f = new q("unhandledrejection", { cancelable: true }) : (f = $jscomp.global.document.createEvent("CustomEvent"), f.initCustomEvent("unhandledrejection", false, true, f));
226
- f.promise = this;
227
- f.reason = this.result_;
228
- return v(f);
229
- };
230
- h.prototype.executeOnSettledCallbacks_ = function() {
231
- if (null != this.onSettledCallbacks_) {
232
- for (var f = 0; f < this.onSettledCallbacks_.length; ++f) A.asyncExecute(this.onSettledCallbacks_[f]);
233
- this.onSettledCallbacks_ = null;
234
- }
235
- };
236
- var A = new n();
237
- h.prototype.settleSameAsPromise_ = function(f) {
238
- var q = this.createResolveAndReject_();
239
- f.callWhenSettled_(q.resolve, q.reject);
240
- };
241
- h.prototype.settleSameAsThenable_ = function(f, q) {
242
- var v = this.createResolveAndReject_();
243
- try {
244
- f.call(q, v.resolve, v.reject);
245
- } catch (z) {
246
- v.reject(z);
247
- }
248
- };
249
- h.prototype.then = function(f, q) {
250
- function v(t, x) {
251
- return "function" == typeof t ? function(D) {
252
- try {
253
- z(t(D));
254
- } catch (R) {
255
- O(R);
256
- }
257
- } : x;
258
- }
259
- var z, O, ba = new h(function(t, x) {
260
- z = t;
261
- O = x;
262
- });
263
- this.callWhenSettled_(v(f, z), v(q, O));
264
- return ba;
265
- };
266
- h.prototype.catch = function(f) {
267
- return this.then(void 0, f);
268
- };
269
- h.prototype.callWhenSettled_ = function(f, q) {
270
- function v() {
271
- switch (z.state_) {
272
- case 1:
273
- f(z.result_);
274
- break;
275
- case 2:
276
- q(z.result_);
277
- break;
278
- default:
279
- throw Error("Unexpected state: " + z.state_);
280
- }
281
- }
282
- var z = this;
283
- null == this.onSettledCallbacks_ ? A.asyncExecute(v) : this.onSettledCallbacks_.push(v);
284
- this.isRejectionHandled_ = true;
285
- };
286
- h.resolve = l;
287
- h.reject = function(f) {
288
- return new h(function(q, v) {
289
- v(f);
290
- });
291
- };
292
- h.race = function(f) {
293
- return new h(function(q, v) {
294
- for (var z = $jscomp.makeIterator(f), O = z.next(); !O.done; O = z.next()) l(O.value).callWhenSettled_(q, v);
295
- });
296
- };
297
- h.all = function(f) {
298
- var q = $jscomp.makeIterator(f), v = q.next();
299
- return v.done ? l([]) : new h(function(z, O) {
300
- function ba(D) {
301
- return function(R) {
302
- t[D] = R;
303
- x--;
304
- 0 == x && z(t);
305
- };
306
- }
307
- var t = [], x = 0;
308
- do
309
- t.push(void 0), x++, l(v.value).callWhenSettled_(ba(t.length - 1), O), v = q.next();
310
- while (!v.done);
311
- });
312
- };
313
- return h;
314
- }, "es6", "es3");
315
- $jscomp.owns = function(k, n) {
316
- return Object.prototype.hasOwnProperty.call(k, n);
317
- };
318
- $jscomp.assign = $jscomp.TRUST_ES6_POLYFILLS && "function" == typeof Object.assign ? Object.assign : function(k, n) {
319
- for (var l = 1; l < arguments.length; l++) {
320
- var p = arguments[l];
321
- if (p) for (var h in p) $jscomp.owns(p, h) && (k[h] = p[h]);
322
- }
323
- return k;
324
- };
325
- $jscomp.polyfill("Object.assign", function(k) {
326
- return k || $jscomp.assign;
327
- }, "es6", "es3");
328
- $jscomp.checkStringArgs = function(k, n, l) {
329
- if (null == k) throw new TypeError("The 'this' value for String.prototype." + l + " must not be null or undefined");
330
- if (n instanceof RegExp) throw new TypeError("First argument to String.prototype." + l + " must not be a regular expression");
331
- return k + "";
332
- };
333
- $jscomp.polyfill("String.prototype.startsWith", function(k) {
334
- return k ? k : function(n, l) {
335
- var p = $jscomp.checkStringArgs(this, n, "startsWith");
336
- n += "";
337
- var h = p.length, A = n.length;
338
- l = Math.max(0, Math.min(l | 0, p.length));
339
- for (var f = 0; f < A && l < h; ) if (p[l++] != n[f++]) return false;
340
- return f >= A;
341
- };
342
- }, "es6", "es3");
343
- $jscomp.polyfill("Array.prototype.copyWithin", function(k) {
344
- function n(l) {
345
- l = Number(l);
346
- return Infinity === l || -Infinity === l ? l : l | 0;
347
- }
348
- return k ? k : function(l, p, h) {
349
- var A = this.length;
350
- l = n(l);
351
- p = n(p);
352
- h = void 0 === h ? A : n(h);
353
- l = 0 > l ? Math.max(A + l, 0) : Math.min(l, A);
354
- p = 0 > p ? Math.max(A + p, 0) : Math.min(p, A);
355
- h = 0 > h ? Math.max(A + h, 0) : Math.min(h, A);
356
- if (l < p) for (; p < h; ) p in this ? this[l++] = this[p++] : (delete this[l++], p++);
357
- else for (h = Math.min(h, A + p - l), l += h - p; h > p; ) --h in this ? this[--l] = this[h] : delete this[--l];
358
- return this;
359
- };
360
- }, "es6", "es3");
361
- $jscomp.typedArrayCopyWithin = function(k) {
362
- return k ? k : Array.prototype.copyWithin;
363
- };
364
- $jscomp.polyfill("Int8Array.prototype.copyWithin", $jscomp.typedArrayCopyWithin, "es6", "es5");
365
- $jscomp.polyfill("Uint8Array.prototype.copyWithin", $jscomp.typedArrayCopyWithin, "es6", "es5");
366
- $jscomp.polyfill("Uint8ClampedArray.prototype.copyWithin", $jscomp.typedArrayCopyWithin, "es6", "es5");
367
- $jscomp.polyfill("Int16Array.prototype.copyWithin", $jscomp.typedArrayCopyWithin, "es6", "es5");
368
- $jscomp.polyfill("Uint16Array.prototype.copyWithin", $jscomp.typedArrayCopyWithin, "es6", "es5");
369
- $jscomp.polyfill("Int32Array.prototype.copyWithin", $jscomp.typedArrayCopyWithin, "es6", "es5");
370
- $jscomp.polyfill("Uint32Array.prototype.copyWithin", $jscomp.typedArrayCopyWithin, "es6", "es5");
371
- $jscomp.polyfill("Float32Array.prototype.copyWithin", $jscomp.typedArrayCopyWithin, "es6", "es5");
372
- $jscomp.polyfill("Float64Array.prototype.copyWithin", $jscomp.typedArrayCopyWithin, "es6", "es5");
373
- var DracoDecoderModule = function() {
374
- var k = "undefined" !== typeof document && document.currentScript ? document.currentScript.src : void 0;
375
- "undefined" !== typeof __filename && (k = k || __filename);
376
- return function(n) {
377
- function l(e) {
378
- return a.locateFile ? a.locateFile(e, U) : U + e;
379
- }
380
- function p(e, b, c) {
381
- var d = b + c;
382
- for (c = b; e[c] && !(c >= d); ) ++c;
383
- if (16 < c - b && e.buffer && va) return va.decode(e.subarray(b, c));
384
- for (d = ""; b < c; ) {
385
- var g = e[b++];
386
- if (g & 128) {
387
- var u = e[b++] & 63;
388
- if (192 == (g & 224)) d += String.fromCharCode((g & 31) << 6 | u);
389
- else {
390
- var X = e[b++] & 63;
391
- g = 224 == (g & 240) ? (g & 15) << 12 | u << 6 | X : (g & 7) << 18 | u << 12 | X << 6 | e[b++] & 63;
392
- 65536 > g ? d += String.fromCharCode(g) : (g -= 65536, d += String.fromCharCode(55296 | g >> 10, 56320 | g & 1023));
393
- }
394
- } else d += String.fromCharCode(g);
395
- }
396
- return d;
397
- }
398
- function h(e, b) {
399
- return e ? p(ea, e, b) : "";
400
- }
401
- function A() {
402
- var e = ja.buffer;
403
- a.HEAP8 = Y = new Int8Array(e);
404
- a.HEAP16 = new Int16Array(e);
405
- a.HEAP32 = ca = new Int32Array(e);
406
- a.HEAPU8 = ea = new Uint8Array(e);
407
- a.HEAPU16 = new Uint16Array(e);
408
- a.HEAPU32 = V = new Uint32Array(e);
409
- a.HEAPF32 = new Float32Array(e);
410
- a.HEAPF64 = new Float64Array(e);
411
- }
412
- function f(e) {
413
- if (a.onAbort) a.onAbort(e);
414
- e = "Aborted(" + e + ")";
415
- da(e);
416
- wa = true;
417
- e = new WebAssembly.RuntimeError(e + ". Build with -sASSERTIONS for more info.");
418
- ka(e);
419
- throw e;
420
- }
421
- function q(e) {
422
- try {
423
- if (e == P && fa) return new Uint8Array(fa);
424
- if (ma) return ma(e);
425
- throw "both async and sync fetching of the wasm failed";
426
- } catch (b) {
427
- f(b);
428
- }
429
- }
430
- function v() {
431
- if (!fa && (xa || ha)) {
432
- if ("function" == typeof fetch && !P.startsWith("file://")) return fetch(P, { credentials: "same-origin" }).then(function(e) {
433
- if (!e.ok) throw "failed to load wasm binary file at '" + P + "'";
434
- return e.arrayBuffer();
435
- }).catch(function() {
436
- return q(P);
437
- });
438
- if (na) return new Promise(function(e, b) {
439
- na(P, function(c) {
440
- e(new Uint8Array(c));
441
- }, b);
442
- });
443
- }
444
- return Promise.resolve().then(function() {
445
- return q(P);
446
- });
447
- }
448
- function z(e) {
449
- for (; 0 < e.length; ) e.shift()(a);
450
- }
451
- function O(e) {
452
- this.excPtr = e;
453
- this.ptr = e - 24;
454
- this.set_type = function(b) {
455
- V[this.ptr + 4 >> 2] = b;
456
- };
457
- this.get_type = function() {
458
- return V[this.ptr + 4 >> 2];
459
- };
460
- this.set_destructor = function(b) {
461
- V[this.ptr + 8 >> 2] = b;
462
- };
463
- this.get_destructor = function() {
464
- return V[this.ptr + 8 >> 2];
465
- };
466
- this.set_refcount = function(b) {
467
- ca[this.ptr >> 2] = b;
468
- };
469
- this.set_caught = function(b) {
470
- Y[this.ptr + 12 >> 0] = b ? 1 : 0;
471
- };
472
- this.get_caught = function() {
473
- return 0 != Y[this.ptr + 12 >> 0];
474
- };
475
- this.set_rethrown = function(b) {
476
- Y[this.ptr + 13 >> 0] = b ? 1 : 0;
477
- };
478
- this.get_rethrown = function() {
479
- return 0 != Y[this.ptr + 13 >> 0];
480
- };
481
- this.init = function(b, c) {
482
- this.set_adjusted_ptr(0);
483
- this.set_type(b);
484
- this.set_destructor(c);
485
- this.set_refcount(0);
486
- this.set_caught(false);
487
- this.set_rethrown(false);
488
- };
489
- this.add_ref = function() {
490
- ca[this.ptr >> 2] += 1;
491
- };
492
- this.release_ref = function() {
493
- var b = ca[this.ptr >> 2];
494
- ca[this.ptr >> 2] = b - 1;
495
- return 1 === b;
496
- };
497
- this.set_adjusted_ptr = function(b) {
498
- V[this.ptr + 16 >> 2] = b;
499
- };
500
- this.get_adjusted_ptr = function() {
501
- return V[this.ptr + 16 >> 2];
502
- };
503
- this.get_exception_ptr = function() {
504
- if (ya(this.get_type())) return V[this.excPtr >> 2];
505
- var b = this.get_adjusted_ptr();
506
- return 0 !== b ? b : this.excPtr;
507
- };
508
- }
509
- function ba() {
510
- function e() {
511
- if (!la && (la = true, a.calledRun = true, !wa)) {
512
- za = true;
513
- z(oa);
514
- Aa(a);
515
- if (a.onRuntimeInitialized) a.onRuntimeInitialized();
516
- if (a.postRun) for ("function" == typeof a.postRun && (a.postRun = [a.postRun]); a.postRun.length; ) Ba.unshift(a.postRun.shift());
517
- z(Ba);
518
- }
519
- }
520
- if (!(0 < aa)) {
521
- if (a.preRun) for ("function" == typeof a.preRun && (a.preRun = [a.preRun]); a.preRun.length; ) Ca.unshift(a.preRun.shift());
522
- z(Ca);
523
- 0 < aa || (a.setStatus ? (a.setStatus("Running..."), setTimeout(function() {
524
- setTimeout(function() {
525
- a.setStatus("");
526
- }, 1);
527
- e();
528
- }, 1)) : e());
529
- }
530
- }
531
- function t() {
532
- }
533
- function x(e) {
534
- return (e || t).__cache__;
535
- }
536
- function D(e, b) {
537
- var c = x(b), d = c[e];
538
- if (d) return d;
539
- d = Object.create((b || t).prototype);
540
- d.ptr = e;
541
- return c[e] = d;
542
- }
543
- function R(e) {
544
- if ("string" === typeof e) {
545
- for (var b = 0, c = 0; c < e.length; ++c) {
546
- var d = e.charCodeAt(c);
547
- 127 >= d ? b++ : 2047 >= d ? b += 2 : 55296 <= d && 57343 >= d ? (b += 4, ++c) : b += 3;
548
- }
549
- b = Array(b + 1);
550
- c = 0;
551
- d = b.length;
552
- if (0 < d) {
553
- d = c + d - 1;
554
- for (var g = 0; g < e.length; ++g) {
555
- var u = e.charCodeAt(g);
556
- if (55296 <= u && 57343 >= u) {
557
- var X = e.charCodeAt(++g);
558
- u = 65536 + ((u & 1023) << 10) | X & 1023;
559
- }
560
- if (127 >= u) {
561
- if (c >= d) break;
562
- b[c++] = u;
563
- } else {
564
- if (2047 >= u) {
565
- if (c + 1 >= d) break;
566
- b[c++] = 192 | u >> 6;
567
- } else {
568
- if (65535 >= u) {
569
- if (c + 2 >= d) break;
570
- b[c++] = 224 | u >> 12;
571
- } else {
572
- if (c + 3 >= d) break;
573
- b[c++] = 240 | u >> 18;
574
- b[c++] = 128 | u >> 12 & 63;
575
- }
576
- b[c++] = 128 | u >> 6 & 63;
577
- }
578
- b[c++] = 128 | u & 63;
579
- }
580
- }
581
- b[c] = 0;
582
- }
583
- e = r.alloc(b, Y);
584
- r.copy(b, Y, e);
585
- return e;
586
- }
587
- return e;
588
- }
589
- function pa(e) {
590
- if ("object" === typeof e) {
591
- var b = r.alloc(e, Y);
592
- r.copy(e, Y, b);
593
- return b;
594
- }
595
- return e;
596
- }
597
- function Z() {
598
- throw "cannot construct a VoidPtr, no constructor in IDL";
599
- }
600
- function S() {
601
- this.ptr = Da();
602
- x(S)[this.ptr] = this;
603
- }
604
- function Q() {
605
- this.ptr = Ea();
606
- x(Q)[this.ptr] = this;
607
- }
608
- function W() {
609
- this.ptr = Fa();
610
- x(W)[this.ptr] = this;
611
- }
612
- function w() {
613
- this.ptr = Ga();
614
- x(w)[this.ptr] = this;
615
- }
616
- function C() {
617
- this.ptr = Ha();
618
- x(C)[this.ptr] = this;
619
- }
620
- function F() {
621
- this.ptr = Ia();
622
- x(F)[this.ptr] = this;
623
- }
624
- function G() {
625
- this.ptr = Ja();
626
- x(G)[this.ptr] = this;
627
- }
628
- function E() {
629
- this.ptr = Ka();
630
- x(E)[this.ptr] = this;
631
- }
632
- function T() {
633
- this.ptr = La();
634
- x(T)[this.ptr] = this;
635
- }
636
- function B() {
637
- throw "cannot construct a Status, no constructor in IDL";
638
- }
639
- function H() {
640
- this.ptr = Ma();
641
- x(H)[this.ptr] = this;
642
- }
643
- function I() {
644
- this.ptr = Na();
645
- x(I)[this.ptr] = this;
646
- }
647
- function J() {
648
- this.ptr = Oa();
649
- x(J)[this.ptr] = this;
650
- }
651
- function K() {
652
- this.ptr = Pa();
653
- x(K)[this.ptr] = this;
654
- }
655
- function L() {
656
- this.ptr = Qa();
657
- x(L)[this.ptr] = this;
658
- }
659
- function M() {
660
- this.ptr = Ra();
661
- x(M)[this.ptr] = this;
662
- }
663
- function N() {
664
- this.ptr = Sa();
665
- x(N)[this.ptr] = this;
666
- }
667
- function y() {
668
- this.ptr = Ta();
669
- x(y)[this.ptr] = this;
670
- }
671
- function m() {
672
- this.ptr = Ua();
673
- x(m)[this.ptr] = this;
674
- }
675
- n = void 0 === n ? {} : n;
676
- var a = "undefined" != typeof n ? n : {}, Aa, ka;
677
- a.ready = new Promise(function(e, b) {
678
- Aa = e;
679
- ka = b;
680
- });
681
- var Va = false, Wa = false;
682
- a.onRuntimeInitialized = function() {
683
- Va = true;
684
- if (Wa && "function" === typeof a.onModuleLoaded) a.onModuleLoaded(a);
685
- };
686
- a.onModuleParsed = function() {
687
- Wa = true;
688
- if (Va && "function" === typeof a.onModuleLoaded) a.onModuleLoaded(a);
689
- };
690
- a.isVersionSupported = function(e) {
691
- if ("string" !== typeof e) return false;
692
- e = e.split(".");
693
- return 2 > e.length || 3 < e.length ? false : 1 == e[0] && 0 <= e[1] && 5 >= e[1] ? true : 0 != e[0] || 10 < e[1] ? false : true;
694
- };
695
- var Xa = Object.assign({}, a), xa = "object" == typeof window, ha = "function" == typeof importScripts, Ya = "object" == typeof process && "object" == typeof process.versions && "string" == typeof process.versions.node, U = "";
696
- if (Ya) {
697
- var Za = __require("fs"), qa = __require("path");
698
- U = ha ? qa.dirname(U) + "/" : __dirname + "/";
699
- var $a = function(e, b) {
700
- e = e.startsWith("file://") ? new URL(e) : qa.normalize(e);
701
- return Za.readFileSync(e, b ? void 0 : "utf8");
702
- };
703
- var ma = function(e) {
704
- e = $a(e, true);
705
- e.buffer || (e = new Uint8Array(e));
706
- return e;
707
- };
708
- var na = function(e, b, c) {
709
- e = e.startsWith("file://") ? new URL(e) : qa.normalize(e);
710
- Za.readFile(e, function(d, g) {
711
- d ? c(d) : b(g.buffer);
712
- });
713
- };
714
- 1 < process.argv.length && process.argv[1].replace(/\\/g, "/");
715
- process.argv.slice(2);
716
- a.inspect = function() {
717
- return "[Emscripten Module object]";
718
- };
719
- } else if (xa || ha) ha ? U = self.location.href : "undefined" != typeof document && document.currentScript && (U = document.currentScript.src), k && (U = k), U = 0 !== U.indexOf("blob:") ? U.substr(0, U.replace(/[?#].*/, "").lastIndexOf("/") + 1) : "", $a = function(e) {
720
- var b = new XMLHttpRequest();
721
- b.open("GET", e, false);
722
- b.send(null);
723
- return b.responseText;
724
- }, ha && (ma = function(e) {
725
- var b = new XMLHttpRequest();
726
- b.open("GET", e, false);
727
- b.responseType = "arraybuffer";
728
- b.send(null);
729
- return new Uint8Array(b.response);
730
- }), na = function(e, b, c) {
731
- var d = new XMLHttpRequest();
732
- d.open("GET", e, true);
733
- d.responseType = "arraybuffer";
734
- d.onload = function() {
735
- 200 == d.status || 0 == d.status && d.response ? b(d.response) : c();
736
- };
737
- d.onerror = c;
738
- d.send(null);
739
- };
740
- var ud = a.print || console.log.bind(console), da = a.printErr || console.warn.bind(console);
741
- Object.assign(a, Xa);
742
- Xa = null;
743
- var fa;
744
- a.wasmBinary && (fa = a.wasmBinary);
745
- "object" != typeof WebAssembly && f("no native wasm support detected");
746
- var ja, wa = false, va = "undefined" != typeof TextDecoder ? new TextDecoder("utf8") : void 0, Y, ea, ca, V, Ca = [], oa = [], Ba = [], za = false, aa = 0, ra = null, ia = null;
747
- var P = "draco_decoder.wasm";
748
- P.startsWith("data:application/octet-stream;base64,") || (P = l(P));
749
- var vd = 0, wd = [null, [], []], xd = { b: function(e, b, c) {
750
- new O(e).init(b, c);
751
- vd++;
752
- throw e;
753
- }, a: function() {
754
- f("");
755
- }, g: function(e, b, c) {
756
- ea.copyWithin(e, b, b + c);
757
- }, e: function(e) {
758
- var b = ea.length;
759
- e >>>= 0;
760
- if (2147483648 < e) return false;
761
- for (var c = 1; 4 >= c; c *= 2) {
762
- var d = b * (1 + 0.2 / c);
763
- d = Math.min(d, e + 100663296);
764
- var g = Math;
765
- d = Math.max(e, d);
766
- g = g.min.call(g, 2147483648, d + (65536 - d % 65536) % 65536);
767
- a: {
768
- d = ja.buffer;
769
- try {
770
- ja.grow(g - d.byteLength + 65535 >>> 16);
771
- A();
772
- var u = 1;
773
- break a;
774
- } catch (X) {
775
- }
776
- u = void 0;
777
- }
778
- if (u) return true;
779
- }
780
- return false;
781
- }, f: function(e) {
782
- return 52;
783
- }, d: function(e, b, c, d, g) {
784
- return 70;
785
- }, c: function(e, b, c, d) {
786
- for (var g = 0, u = 0; u < c; u++) {
787
- var X = V[b >> 2], ab = V[b + 4 >> 2];
788
- b += 8;
789
- for (var sa = 0; sa < ab; sa++) {
790
- var ta = ea[X + sa], ua = wd[e];
791
- 0 === ta || 10 === ta ? ((1 === e ? ud : da)(p(ua, 0)), ua.length = 0) : ua.push(ta);
792
- }
793
- g += ab;
794
- }
795
- V[d >> 2] = g;
796
- return 0;
797
- } };
798
- (function() {
799
- function e(g, u) {
800
- a.asm = g.exports;
801
- ja = a.asm.h;
802
- A();
803
- oa.unshift(a.asm.i);
804
- aa--;
805
- a.monitorRunDependencies && a.monitorRunDependencies(aa);
806
- 0 == aa && (null !== ra && (clearInterval(ra), ra = null), ia && (g = ia, ia = null, g()));
807
- }
808
- function b(g) {
809
- e(g.instance);
810
- }
811
- function c(g) {
812
- return v().then(function(u) {
813
- return WebAssembly.instantiate(u, d);
814
- }).then(function(u) {
815
- return u;
816
- }).then(g, function(u) {
817
- da("failed to asynchronously prepare wasm: " + u);
818
- f(u);
819
- });
820
- }
821
- var d = { a: xd };
822
- aa++;
823
- a.monitorRunDependencies && a.monitorRunDependencies(aa);
824
- if (a.instantiateWasm) try {
825
- return a.instantiateWasm(d, e);
826
- } catch (g) {
827
- da("Module.instantiateWasm callback failed with error: " + g), ka(g);
828
- }
829
- (function() {
830
- return fa || "function" != typeof WebAssembly.instantiateStreaming || P.startsWith("data:application/octet-stream;base64,") || P.startsWith("file://") || Ya || "function" != typeof fetch ? c(b) : fetch(P, { credentials: "same-origin" }).then(function(g) {
831
- return WebAssembly.instantiateStreaming(g, d).then(b, function(u) {
832
- da("wasm streaming compile failed: " + u);
833
- da("falling back to ArrayBuffer instantiation");
834
- return c(b);
835
- });
836
- });
837
- })().catch(ka);
838
- return {};
839
- })();
840
- var bb = a._emscripten_bind_VoidPtr___destroy___0 = function() {
841
- return (bb = a._emscripten_bind_VoidPtr___destroy___0 = a.asm.k).apply(null, arguments);
842
- }, Da = a._emscripten_bind_DecoderBuffer_DecoderBuffer_0 = function() {
843
- return (Da = a._emscripten_bind_DecoderBuffer_DecoderBuffer_0 = a.asm.l).apply(null, arguments);
844
- }, cb = a._emscripten_bind_DecoderBuffer_Init_2 = function() {
845
- return (cb = a._emscripten_bind_DecoderBuffer_Init_2 = a.asm.m).apply(null, arguments);
846
- }, db = a._emscripten_bind_DecoderBuffer___destroy___0 = function() {
847
- return (db = a._emscripten_bind_DecoderBuffer___destroy___0 = a.asm.n).apply(null, arguments);
848
- }, Ea = a._emscripten_bind_AttributeTransformData_AttributeTransformData_0 = function() {
849
- return (Ea = a._emscripten_bind_AttributeTransformData_AttributeTransformData_0 = a.asm.o).apply(null, arguments);
850
- }, eb = a._emscripten_bind_AttributeTransformData_transform_type_0 = function() {
851
- return (eb = a._emscripten_bind_AttributeTransformData_transform_type_0 = a.asm.p).apply(null, arguments);
852
- }, fb = a._emscripten_bind_AttributeTransformData___destroy___0 = function() {
853
- return (fb = a._emscripten_bind_AttributeTransformData___destroy___0 = a.asm.q).apply(null, arguments);
854
- }, Fa = a._emscripten_bind_GeometryAttribute_GeometryAttribute_0 = function() {
855
- return (Fa = a._emscripten_bind_GeometryAttribute_GeometryAttribute_0 = a.asm.r).apply(null, arguments);
856
- }, gb = a._emscripten_bind_GeometryAttribute___destroy___0 = function() {
857
- return (gb = a._emscripten_bind_GeometryAttribute___destroy___0 = a.asm.s).apply(null, arguments);
858
- }, Ga = a._emscripten_bind_PointAttribute_PointAttribute_0 = function() {
859
- return (Ga = a._emscripten_bind_PointAttribute_PointAttribute_0 = a.asm.t).apply(null, arguments);
860
- }, hb = a._emscripten_bind_PointAttribute_size_0 = function() {
861
- return (hb = a._emscripten_bind_PointAttribute_size_0 = a.asm.u).apply(null, arguments);
862
- }, ib = a._emscripten_bind_PointAttribute_GetAttributeTransformData_0 = function() {
863
- return (ib = a._emscripten_bind_PointAttribute_GetAttributeTransformData_0 = a.asm.v).apply(null, arguments);
864
- }, jb = a._emscripten_bind_PointAttribute_attribute_type_0 = function() {
865
- return (jb = a._emscripten_bind_PointAttribute_attribute_type_0 = a.asm.w).apply(null, arguments);
866
- }, kb = a._emscripten_bind_PointAttribute_data_type_0 = function() {
867
- return (kb = a._emscripten_bind_PointAttribute_data_type_0 = a.asm.x).apply(null, arguments);
868
- }, lb = a._emscripten_bind_PointAttribute_num_components_0 = function() {
869
- return (lb = a._emscripten_bind_PointAttribute_num_components_0 = a.asm.y).apply(null, arguments);
870
- }, mb = a._emscripten_bind_PointAttribute_normalized_0 = function() {
871
- return (mb = a._emscripten_bind_PointAttribute_normalized_0 = a.asm.z).apply(null, arguments);
872
- }, nb = a._emscripten_bind_PointAttribute_byte_stride_0 = function() {
873
- return (nb = a._emscripten_bind_PointAttribute_byte_stride_0 = a.asm.A).apply(null, arguments);
874
- }, ob = a._emscripten_bind_PointAttribute_byte_offset_0 = function() {
875
- return (ob = a._emscripten_bind_PointAttribute_byte_offset_0 = a.asm.B).apply(null, arguments);
876
- }, pb = a._emscripten_bind_PointAttribute_unique_id_0 = function() {
877
- return (pb = a._emscripten_bind_PointAttribute_unique_id_0 = a.asm.C).apply(null, arguments);
878
- }, qb = a._emscripten_bind_PointAttribute___destroy___0 = function() {
879
- return (qb = a._emscripten_bind_PointAttribute___destroy___0 = a.asm.D).apply(null, arguments);
880
- }, Ha = a._emscripten_bind_AttributeQuantizationTransform_AttributeQuantizationTransform_0 = function() {
881
- return (Ha = a._emscripten_bind_AttributeQuantizationTransform_AttributeQuantizationTransform_0 = a.asm.E).apply(null, arguments);
882
- }, rb = a._emscripten_bind_AttributeQuantizationTransform_InitFromAttribute_1 = function() {
883
- return (rb = a._emscripten_bind_AttributeQuantizationTransform_InitFromAttribute_1 = a.asm.F).apply(null, arguments);
884
- }, sb = a._emscripten_bind_AttributeQuantizationTransform_quantization_bits_0 = function() {
885
- return (sb = a._emscripten_bind_AttributeQuantizationTransform_quantization_bits_0 = a.asm.G).apply(null, arguments);
886
- }, tb = a._emscripten_bind_AttributeQuantizationTransform_min_value_1 = function() {
887
- return (tb = a._emscripten_bind_AttributeQuantizationTransform_min_value_1 = a.asm.H).apply(null, arguments);
888
- }, ub = a._emscripten_bind_AttributeQuantizationTransform_range_0 = function() {
889
- return (ub = a._emscripten_bind_AttributeQuantizationTransform_range_0 = a.asm.I).apply(null, arguments);
890
- }, vb = a._emscripten_bind_AttributeQuantizationTransform___destroy___0 = function() {
891
- return (vb = a._emscripten_bind_AttributeQuantizationTransform___destroy___0 = a.asm.J).apply(null, arguments);
892
- }, Ia = a._emscripten_bind_AttributeOctahedronTransform_AttributeOctahedronTransform_0 = function() {
893
- return (Ia = a._emscripten_bind_AttributeOctahedronTransform_AttributeOctahedronTransform_0 = a.asm.K).apply(null, arguments);
894
- }, wb = a._emscripten_bind_AttributeOctahedronTransform_InitFromAttribute_1 = function() {
895
- return (wb = a._emscripten_bind_AttributeOctahedronTransform_InitFromAttribute_1 = a.asm.L).apply(
896
- null,
897
- arguments
898
- );
899
- }, xb = a._emscripten_bind_AttributeOctahedronTransform_quantization_bits_0 = function() {
900
- return (xb = a._emscripten_bind_AttributeOctahedronTransform_quantization_bits_0 = a.asm.M).apply(null, arguments);
901
- }, yb = a._emscripten_bind_AttributeOctahedronTransform___destroy___0 = function() {
902
- return (yb = a._emscripten_bind_AttributeOctahedronTransform___destroy___0 = a.asm.N).apply(null, arguments);
903
- }, Ja = a._emscripten_bind_PointCloud_PointCloud_0 = function() {
904
- return (Ja = a._emscripten_bind_PointCloud_PointCloud_0 = a.asm.O).apply(
905
- null,
906
- arguments
907
- );
908
- }, zb = a._emscripten_bind_PointCloud_num_attributes_0 = function() {
909
- return (zb = a._emscripten_bind_PointCloud_num_attributes_0 = a.asm.P).apply(null, arguments);
910
- }, Ab = a._emscripten_bind_PointCloud_num_points_0 = function() {
911
- return (Ab = a._emscripten_bind_PointCloud_num_points_0 = a.asm.Q).apply(null, arguments);
912
- }, Bb = a._emscripten_bind_PointCloud___destroy___0 = function() {
913
- return (Bb = a._emscripten_bind_PointCloud___destroy___0 = a.asm.R).apply(null, arguments);
914
- }, Ka = a._emscripten_bind_Mesh_Mesh_0 = function() {
915
- return (Ka = a._emscripten_bind_Mesh_Mesh_0 = a.asm.S).apply(null, arguments);
916
- }, Cb = a._emscripten_bind_Mesh_num_faces_0 = function() {
917
- return (Cb = a._emscripten_bind_Mesh_num_faces_0 = a.asm.T).apply(null, arguments);
918
- }, Db = a._emscripten_bind_Mesh_num_attributes_0 = function() {
919
- return (Db = a._emscripten_bind_Mesh_num_attributes_0 = a.asm.U).apply(null, arguments);
920
- }, Eb = a._emscripten_bind_Mesh_num_points_0 = function() {
921
- return (Eb = a._emscripten_bind_Mesh_num_points_0 = a.asm.V).apply(null, arguments);
922
- }, Fb = a._emscripten_bind_Mesh___destroy___0 = function() {
923
- return (Fb = a._emscripten_bind_Mesh___destroy___0 = a.asm.W).apply(null, arguments);
924
- }, La = a._emscripten_bind_Metadata_Metadata_0 = function() {
925
- return (La = a._emscripten_bind_Metadata_Metadata_0 = a.asm.X).apply(null, arguments);
926
- }, Gb = a._emscripten_bind_Metadata___destroy___0 = function() {
927
- return (Gb = a._emscripten_bind_Metadata___destroy___0 = a.asm.Y).apply(null, arguments);
928
- }, Hb = a._emscripten_bind_Status_code_0 = function() {
929
- return (Hb = a._emscripten_bind_Status_code_0 = a.asm.Z).apply(null, arguments);
930
- }, Ib = a._emscripten_bind_Status_ok_0 = function() {
931
- return (Ib = a._emscripten_bind_Status_ok_0 = a.asm._).apply(null, arguments);
932
- }, Jb = a._emscripten_bind_Status_error_msg_0 = function() {
933
- return (Jb = a._emscripten_bind_Status_error_msg_0 = a.asm.$).apply(null, arguments);
934
- }, Kb = a._emscripten_bind_Status___destroy___0 = function() {
935
- return (Kb = a._emscripten_bind_Status___destroy___0 = a.asm.aa).apply(null, arguments);
936
- }, Ma = a._emscripten_bind_DracoFloat32Array_DracoFloat32Array_0 = function() {
937
- return (Ma = a._emscripten_bind_DracoFloat32Array_DracoFloat32Array_0 = a.asm.ba).apply(null, arguments);
938
- }, Lb = a._emscripten_bind_DracoFloat32Array_GetValue_1 = function() {
939
- return (Lb = a._emscripten_bind_DracoFloat32Array_GetValue_1 = a.asm.ca).apply(null, arguments);
940
- }, Mb = a._emscripten_bind_DracoFloat32Array_size_0 = function() {
941
- return (Mb = a._emscripten_bind_DracoFloat32Array_size_0 = a.asm.da).apply(null, arguments);
942
- }, Nb = a._emscripten_bind_DracoFloat32Array___destroy___0 = function() {
943
- return (Nb = a._emscripten_bind_DracoFloat32Array___destroy___0 = a.asm.ea).apply(null, arguments);
944
- }, Na = a._emscripten_bind_DracoInt8Array_DracoInt8Array_0 = function() {
945
- return (Na = a._emscripten_bind_DracoInt8Array_DracoInt8Array_0 = a.asm.fa).apply(null, arguments);
946
- }, Ob = a._emscripten_bind_DracoInt8Array_GetValue_1 = function() {
947
- return (Ob = a._emscripten_bind_DracoInt8Array_GetValue_1 = a.asm.ga).apply(null, arguments);
948
- }, Pb = a._emscripten_bind_DracoInt8Array_size_0 = function() {
949
- return (Pb = a._emscripten_bind_DracoInt8Array_size_0 = a.asm.ha).apply(null, arguments);
950
- }, Qb = a._emscripten_bind_DracoInt8Array___destroy___0 = function() {
951
- return (Qb = a._emscripten_bind_DracoInt8Array___destroy___0 = a.asm.ia).apply(null, arguments);
952
- }, Oa = a._emscripten_bind_DracoUInt8Array_DracoUInt8Array_0 = function() {
953
- return (Oa = a._emscripten_bind_DracoUInt8Array_DracoUInt8Array_0 = a.asm.ja).apply(null, arguments);
954
- }, Rb = a._emscripten_bind_DracoUInt8Array_GetValue_1 = function() {
955
- return (Rb = a._emscripten_bind_DracoUInt8Array_GetValue_1 = a.asm.ka).apply(null, arguments);
956
- }, Sb = a._emscripten_bind_DracoUInt8Array_size_0 = function() {
957
- return (Sb = a._emscripten_bind_DracoUInt8Array_size_0 = a.asm.la).apply(null, arguments);
958
- }, Tb = a._emscripten_bind_DracoUInt8Array___destroy___0 = function() {
959
- return (Tb = a._emscripten_bind_DracoUInt8Array___destroy___0 = a.asm.ma).apply(null, arguments);
960
- }, Pa = a._emscripten_bind_DracoInt16Array_DracoInt16Array_0 = function() {
961
- return (Pa = a._emscripten_bind_DracoInt16Array_DracoInt16Array_0 = a.asm.na).apply(null, arguments);
962
- }, Ub = a._emscripten_bind_DracoInt16Array_GetValue_1 = function() {
963
- return (Ub = a._emscripten_bind_DracoInt16Array_GetValue_1 = a.asm.oa).apply(null, arguments);
964
- }, Vb = a._emscripten_bind_DracoInt16Array_size_0 = function() {
965
- return (Vb = a._emscripten_bind_DracoInt16Array_size_0 = a.asm.pa).apply(null, arguments);
966
- }, Wb = a._emscripten_bind_DracoInt16Array___destroy___0 = function() {
967
- return (Wb = a._emscripten_bind_DracoInt16Array___destroy___0 = a.asm.qa).apply(null, arguments);
968
- }, Qa = a._emscripten_bind_DracoUInt16Array_DracoUInt16Array_0 = function() {
969
- return (Qa = a._emscripten_bind_DracoUInt16Array_DracoUInt16Array_0 = a.asm.ra).apply(null, arguments);
970
- }, Xb = a._emscripten_bind_DracoUInt16Array_GetValue_1 = function() {
971
- return (Xb = a._emscripten_bind_DracoUInt16Array_GetValue_1 = a.asm.sa).apply(null, arguments);
972
- }, Yb = a._emscripten_bind_DracoUInt16Array_size_0 = function() {
973
- return (Yb = a._emscripten_bind_DracoUInt16Array_size_0 = a.asm.ta).apply(null, arguments);
974
- }, Zb = a._emscripten_bind_DracoUInt16Array___destroy___0 = function() {
975
- return (Zb = a._emscripten_bind_DracoUInt16Array___destroy___0 = a.asm.ua).apply(null, arguments);
976
- }, Ra = a._emscripten_bind_DracoInt32Array_DracoInt32Array_0 = function() {
977
- return (Ra = a._emscripten_bind_DracoInt32Array_DracoInt32Array_0 = a.asm.va).apply(null, arguments);
978
- }, $b = a._emscripten_bind_DracoInt32Array_GetValue_1 = function() {
979
- return ($b = a._emscripten_bind_DracoInt32Array_GetValue_1 = a.asm.wa).apply(null, arguments);
980
- }, ac = a._emscripten_bind_DracoInt32Array_size_0 = function() {
981
- return (ac = a._emscripten_bind_DracoInt32Array_size_0 = a.asm.xa).apply(null, arguments);
982
- }, bc = a._emscripten_bind_DracoInt32Array___destroy___0 = function() {
983
- return (bc = a._emscripten_bind_DracoInt32Array___destroy___0 = a.asm.ya).apply(null, arguments);
984
- }, Sa = a._emscripten_bind_DracoUInt32Array_DracoUInt32Array_0 = function() {
985
- return (Sa = a._emscripten_bind_DracoUInt32Array_DracoUInt32Array_0 = a.asm.za).apply(null, arguments);
986
- }, cc = a._emscripten_bind_DracoUInt32Array_GetValue_1 = function() {
987
- return (cc = a._emscripten_bind_DracoUInt32Array_GetValue_1 = a.asm.Aa).apply(null, arguments);
988
- }, dc = a._emscripten_bind_DracoUInt32Array_size_0 = function() {
989
- return (dc = a._emscripten_bind_DracoUInt32Array_size_0 = a.asm.Ba).apply(null, arguments);
990
- }, ec = a._emscripten_bind_DracoUInt32Array___destroy___0 = function() {
991
- return (ec = a._emscripten_bind_DracoUInt32Array___destroy___0 = a.asm.Ca).apply(null, arguments);
992
- }, Ta = a._emscripten_bind_MetadataQuerier_MetadataQuerier_0 = function() {
993
- return (Ta = a._emscripten_bind_MetadataQuerier_MetadataQuerier_0 = a.asm.Da).apply(null, arguments);
994
- }, fc = a._emscripten_bind_MetadataQuerier_HasEntry_2 = function() {
995
- return (fc = a._emscripten_bind_MetadataQuerier_HasEntry_2 = a.asm.Ea).apply(null, arguments);
996
- }, gc = a._emscripten_bind_MetadataQuerier_GetIntEntry_2 = function() {
997
- return (gc = a._emscripten_bind_MetadataQuerier_GetIntEntry_2 = a.asm.Fa).apply(null, arguments);
998
- }, hc = a._emscripten_bind_MetadataQuerier_GetIntEntryArray_3 = function() {
999
- return (hc = a._emscripten_bind_MetadataQuerier_GetIntEntryArray_3 = a.asm.Ga).apply(null, arguments);
1000
- }, ic = a._emscripten_bind_MetadataQuerier_GetDoubleEntry_2 = function() {
1001
- return (ic = a._emscripten_bind_MetadataQuerier_GetDoubleEntry_2 = a.asm.Ha).apply(null, arguments);
1002
- }, jc = a._emscripten_bind_MetadataQuerier_GetStringEntry_2 = function() {
1003
- return (jc = a._emscripten_bind_MetadataQuerier_GetStringEntry_2 = a.asm.Ia).apply(null, arguments);
1004
- }, kc = a._emscripten_bind_MetadataQuerier_NumEntries_1 = function() {
1005
- return (kc = a._emscripten_bind_MetadataQuerier_NumEntries_1 = a.asm.Ja).apply(null, arguments);
1006
- }, lc = a._emscripten_bind_MetadataQuerier_GetEntryName_2 = function() {
1007
- return (lc = a._emscripten_bind_MetadataQuerier_GetEntryName_2 = a.asm.Ka).apply(null, arguments);
1008
- }, mc = a._emscripten_bind_MetadataQuerier___destroy___0 = function() {
1009
- return (mc = a._emscripten_bind_MetadataQuerier___destroy___0 = a.asm.La).apply(null, arguments);
1010
- }, Ua = a._emscripten_bind_Decoder_Decoder_0 = function() {
1011
- return (Ua = a._emscripten_bind_Decoder_Decoder_0 = a.asm.Ma).apply(null, arguments);
1012
- }, nc = a._emscripten_bind_Decoder_DecodeArrayToPointCloud_3 = function() {
1013
- return (nc = a._emscripten_bind_Decoder_DecodeArrayToPointCloud_3 = a.asm.Na).apply(null, arguments);
1014
- }, oc = a._emscripten_bind_Decoder_DecodeArrayToMesh_3 = function() {
1015
- return (oc = a._emscripten_bind_Decoder_DecodeArrayToMesh_3 = a.asm.Oa).apply(null, arguments);
1016
- }, pc = a._emscripten_bind_Decoder_GetAttributeId_2 = function() {
1017
- return (pc = a._emscripten_bind_Decoder_GetAttributeId_2 = a.asm.Pa).apply(null, arguments);
1018
- }, qc = a._emscripten_bind_Decoder_GetAttributeIdByName_2 = function() {
1019
- return (qc = a._emscripten_bind_Decoder_GetAttributeIdByName_2 = a.asm.Qa).apply(null, arguments);
1020
- }, rc = a._emscripten_bind_Decoder_GetAttributeIdByMetadataEntry_3 = function() {
1021
- return (rc = a._emscripten_bind_Decoder_GetAttributeIdByMetadataEntry_3 = a.asm.Ra).apply(null, arguments);
1022
- }, sc = a._emscripten_bind_Decoder_GetAttribute_2 = function() {
1023
- return (sc = a._emscripten_bind_Decoder_GetAttribute_2 = a.asm.Sa).apply(null, arguments);
1024
- }, tc = a._emscripten_bind_Decoder_GetAttributeByUniqueId_2 = function() {
1025
- return (tc = a._emscripten_bind_Decoder_GetAttributeByUniqueId_2 = a.asm.Ta).apply(null, arguments);
1026
- }, uc = a._emscripten_bind_Decoder_GetMetadata_1 = function() {
1027
- return (uc = a._emscripten_bind_Decoder_GetMetadata_1 = a.asm.Ua).apply(null, arguments);
1028
- }, vc = a._emscripten_bind_Decoder_GetAttributeMetadata_2 = function() {
1029
- return (vc = a._emscripten_bind_Decoder_GetAttributeMetadata_2 = a.asm.Va).apply(null, arguments);
1030
- }, wc = a._emscripten_bind_Decoder_GetFaceFromMesh_3 = function() {
1031
- return (wc = a._emscripten_bind_Decoder_GetFaceFromMesh_3 = a.asm.Wa).apply(null, arguments);
1032
- }, xc = a._emscripten_bind_Decoder_GetTriangleStripsFromMesh_2 = function() {
1033
- return (xc = a._emscripten_bind_Decoder_GetTriangleStripsFromMesh_2 = a.asm.Xa).apply(null, arguments);
1034
- }, yc = a._emscripten_bind_Decoder_GetTrianglesUInt16Array_3 = function() {
1035
- return (yc = a._emscripten_bind_Decoder_GetTrianglesUInt16Array_3 = a.asm.Ya).apply(null, arguments);
1036
- }, zc = a._emscripten_bind_Decoder_GetTrianglesUInt32Array_3 = function() {
1037
- return (zc = a._emscripten_bind_Decoder_GetTrianglesUInt32Array_3 = a.asm.Za).apply(null, arguments);
1038
- }, Ac = a._emscripten_bind_Decoder_GetAttributeFloat_3 = function() {
1039
- return (Ac = a._emscripten_bind_Decoder_GetAttributeFloat_3 = a.asm._a).apply(null, arguments);
1040
- }, Bc = a._emscripten_bind_Decoder_GetAttributeFloatForAllPoints_3 = function() {
1041
- return (Bc = a._emscripten_bind_Decoder_GetAttributeFloatForAllPoints_3 = a.asm.$a).apply(null, arguments);
1042
- }, Cc = a._emscripten_bind_Decoder_GetAttributeIntForAllPoints_3 = function() {
1043
- return (Cc = a._emscripten_bind_Decoder_GetAttributeIntForAllPoints_3 = a.asm.ab).apply(null, arguments);
1044
- }, Dc = a._emscripten_bind_Decoder_GetAttributeInt8ForAllPoints_3 = function() {
1045
- return (Dc = a._emscripten_bind_Decoder_GetAttributeInt8ForAllPoints_3 = a.asm.bb).apply(null, arguments);
1046
- }, Ec = a._emscripten_bind_Decoder_GetAttributeUInt8ForAllPoints_3 = function() {
1047
- return (Ec = a._emscripten_bind_Decoder_GetAttributeUInt8ForAllPoints_3 = a.asm.cb).apply(null, arguments);
1048
- }, Fc = a._emscripten_bind_Decoder_GetAttributeInt16ForAllPoints_3 = function() {
1049
- return (Fc = a._emscripten_bind_Decoder_GetAttributeInt16ForAllPoints_3 = a.asm.db).apply(null, arguments);
1050
- }, Gc = a._emscripten_bind_Decoder_GetAttributeUInt16ForAllPoints_3 = function() {
1051
- return (Gc = a._emscripten_bind_Decoder_GetAttributeUInt16ForAllPoints_3 = a.asm.eb).apply(null, arguments);
1052
- }, Hc = a._emscripten_bind_Decoder_GetAttributeInt32ForAllPoints_3 = function() {
1053
- return (Hc = a._emscripten_bind_Decoder_GetAttributeInt32ForAllPoints_3 = a.asm.fb).apply(null, arguments);
1054
- }, Ic = a._emscripten_bind_Decoder_GetAttributeUInt32ForAllPoints_3 = function() {
1055
- return (Ic = a._emscripten_bind_Decoder_GetAttributeUInt32ForAllPoints_3 = a.asm.gb).apply(null, arguments);
1056
- }, Jc = a._emscripten_bind_Decoder_GetAttributeDataArrayForAllPoints_5 = function() {
1057
- return (Jc = a._emscripten_bind_Decoder_GetAttributeDataArrayForAllPoints_5 = a.asm.hb).apply(null, arguments);
1058
- }, Kc = a._emscripten_bind_Decoder_SkipAttributeTransform_1 = function() {
1059
- return (Kc = a._emscripten_bind_Decoder_SkipAttributeTransform_1 = a.asm.ib).apply(null, arguments);
1060
- }, Lc = a._emscripten_bind_Decoder_GetEncodedGeometryType_Deprecated_1 = function() {
1061
- return (Lc = a._emscripten_bind_Decoder_GetEncodedGeometryType_Deprecated_1 = a.asm.jb).apply(null, arguments);
1062
- }, Mc = a._emscripten_bind_Decoder_DecodeBufferToPointCloud_2 = function() {
1063
- return (Mc = a._emscripten_bind_Decoder_DecodeBufferToPointCloud_2 = a.asm.kb).apply(null, arguments);
1064
- }, Nc = a._emscripten_bind_Decoder_DecodeBufferToMesh_2 = function() {
1065
- return (Nc = a._emscripten_bind_Decoder_DecodeBufferToMesh_2 = a.asm.lb).apply(null, arguments);
1066
- }, Oc = a._emscripten_bind_Decoder___destroy___0 = function() {
1067
- return (Oc = a._emscripten_bind_Decoder___destroy___0 = a.asm.mb).apply(null, arguments);
1068
- }, Pc = a._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_INVALID_TRANSFORM = function() {
1069
- return (Pc = a._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_INVALID_TRANSFORM = a.asm.nb).apply(null, arguments);
1070
- }, Qc = a._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_NO_TRANSFORM = function() {
1071
- return (Qc = a._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_NO_TRANSFORM = a.asm.ob).apply(null, arguments);
1072
- }, Rc = a._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_QUANTIZATION_TRANSFORM = function() {
1073
- return (Rc = a._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_QUANTIZATION_TRANSFORM = a.asm.pb).apply(null, arguments);
1074
- }, Sc = a._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_OCTAHEDRON_TRANSFORM = function() {
1075
- return (Sc = a._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_OCTAHEDRON_TRANSFORM = a.asm.qb).apply(null, arguments);
1076
- }, Tc = a._emscripten_enum_draco_GeometryAttribute_Type_INVALID = function() {
1077
- return (Tc = a._emscripten_enum_draco_GeometryAttribute_Type_INVALID = a.asm.rb).apply(null, arguments);
1078
- }, Uc = a._emscripten_enum_draco_GeometryAttribute_Type_POSITION = function() {
1079
- return (Uc = a._emscripten_enum_draco_GeometryAttribute_Type_POSITION = a.asm.sb).apply(null, arguments);
1080
- }, Vc = a._emscripten_enum_draco_GeometryAttribute_Type_NORMAL = function() {
1081
- return (Vc = a._emscripten_enum_draco_GeometryAttribute_Type_NORMAL = a.asm.tb).apply(null, arguments);
1082
- }, Wc = a._emscripten_enum_draco_GeometryAttribute_Type_COLOR = function() {
1083
- return (Wc = a._emscripten_enum_draco_GeometryAttribute_Type_COLOR = a.asm.ub).apply(null, arguments);
1084
- }, Xc = a._emscripten_enum_draco_GeometryAttribute_Type_TEX_COORD = function() {
1085
- return (Xc = a._emscripten_enum_draco_GeometryAttribute_Type_TEX_COORD = a.asm.vb).apply(null, arguments);
1086
- }, Yc = a._emscripten_enum_draco_GeometryAttribute_Type_GENERIC = function() {
1087
- return (Yc = a._emscripten_enum_draco_GeometryAttribute_Type_GENERIC = a.asm.wb).apply(null, arguments);
1088
- }, Zc = a._emscripten_enum_draco_EncodedGeometryType_INVALID_GEOMETRY_TYPE = function() {
1089
- return (Zc = a._emscripten_enum_draco_EncodedGeometryType_INVALID_GEOMETRY_TYPE = a.asm.xb).apply(null, arguments);
1090
- }, $c = a._emscripten_enum_draco_EncodedGeometryType_POINT_CLOUD = function() {
1091
- return ($c = a._emscripten_enum_draco_EncodedGeometryType_POINT_CLOUD = a.asm.yb).apply(null, arguments);
1092
- }, ad = a._emscripten_enum_draco_EncodedGeometryType_TRIANGULAR_MESH = function() {
1093
- return (ad = a._emscripten_enum_draco_EncodedGeometryType_TRIANGULAR_MESH = a.asm.zb).apply(null, arguments);
1094
- }, bd = a._emscripten_enum_draco_DataType_DT_INVALID = function() {
1095
- return (bd = a._emscripten_enum_draco_DataType_DT_INVALID = a.asm.Ab).apply(null, arguments);
1096
- }, cd = a._emscripten_enum_draco_DataType_DT_INT8 = function() {
1097
- return (cd = a._emscripten_enum_draco_DataType_DT_INT8 = a.asm.Bb).apply(null, arguments);
1098
- }, dd = a._emscripten_enum_draco_DataType_DT_UINT8 = function() {
1099
- return (dd = a._emscripten_enum_draco_DataType_DT_UINT8 = a.asm.Cb).apply(null, arguments);
1100
- }, ed = a._emscripten_enum_draco_DataType_DT_INT16 = function() {
1101
- return (ed = a._emscripten_enum_draco_DataType_DT_INT16 = a.asm.Db).apply(null, arguments);
1102
- }, fd = a._emscripten_enum_draco_DataType_DT_UINT16 = function() {
1103
- return (fd = a._emscripten_enum_draco_DataType_DT_UINT16 = a.asm.Eb).apply(null, arguments);
1104
- }, gd = a._emscripten_enum_draco_DataType_DT_INT32 = function() {
1105
- return (gd = a._emscripten_enum_draco_DataType_DT_INT32 = a.asm.Fb).apply(null, arguments);
1106
- }, hd = a._emscripten_enum_draco_DataType_DT_UINT32 = function() {
1107
- return (hd = a._emscripten_enum_draco_DataType_DT_UINT32 = a.asm.Gb).apply(null, arguments);
1108
- }, id = a._emscripten_enum_draco_DataType_DT_INT64 = function() {
1109
- return (id = a._emscripten_enum_draco_DataType_DT_INT64 = a.asm.Hb).apply(null, arguments);
1110
- }, jd = a._emscripten_enum_draco_DataType_DT_UINT64 = function() {
1111
- return (jd = a._emscripten_enum_draco_DataType_DT_UINT64 = a.asm.Ib).apply(null, arguments);
1112
- }, kd = a._emscripten_enum_draco_DataType_DT_FLOAT32 = function() {
1113
- return (kd = a._emscripten_enum_draco_DataType_DT_FLOAT32 = a.asm.Jb).apply(
1114
- null,
1115
- arguments
1116
- );
1117
- }, ld = a._emscripten_enum_draco_DataType_DT_FLOAT64 = function() {
1118
- return (ld = a._emscripten_enum_draco_DataType_DT_FLOAT64 = a.asm.Kb).apply(null, arguments);
1119
- }, md = a._emscripten_enum_draco_DataType_DT_BOOL = function() {
1120
- return (md = a._emscripten_enum_draco_DataType_DT_BOOL = a.asm.Lb).apply(null, arguments);
1121
- }, nd = a._emscripten_enum_draco_DataType_DT_TYPES_COUNT = function() {
1122
- return (nd = a._emscripten_enum_draco_DataType_DT_TYPES_COUNT = a.asm.Mb).apply(null, arguments);
1123
- }, od = a._emscripten_enum_draco_StatusCode_OK = function() {
1124
- return (od = a._emscripten_enum_draco_StatusCode_OK = a.asm.Nb).apply(null, arguments);
1125
- }, pd = a._emscripten_enum_draco_StatusCode_DRACO_ERROR = function() {
1126
- return (pd = a._emscripten_enum_draco_StatusCode_DRACO_ERROR = a.asm.Ob).apply(null, arguments);
1127
- }, qd = a._emscripten_enum_draco_StatusCode_IO_ERROR = function() {
1128
- return (qd = a._emscripten_enum_draco_StatusCode_IO_ERROR = a.asm.Pb).apply(null, arguments);
1129
- }, rd = a._emscripten_enum_draco_StatusCode_INVALID_PARAMETER = function() {
1130
- return (rd = a._emscripten_enum_draco_StatusCode_INVALID_PARAMETER = a.asm.Qb).apply(null, arguments);
1131
- }, sd = a._emscripten_enum_draco_StatusCode_UNSUPPORTED_VERSION = function() {
1132
- return (sd = a._emscripten_enum_draco_StatusCode_UNSUPPORTED_VERSION = a.asm.Rb).apply(null, arguments);
1133
- }, td = a._emscripten_enum_draco_StatusCode_UNKNOWN_VERSION = function() {
1134
- return (td = a._emscripten_enum_draco_StatusCode_UNKNOWN_VERSION = a.asm.Sb).apply(null, arguments);
1135
- };
1136
- a._malloc = function() {
1137
- return (a._malloc = a.asm.Tb).apply(null, arguments);
1138
- };
1139
- a._free = function() {
1140
- return (a._free = a.asm.Ub).apply(null, arguments);
1141
- };
1142
- var ya = function() {
1143
- return (ya = a.asm.Vb).apply(null, arguments);
1144
- };
1145
- a.___start_em_js = 15856;
1146
- a.___stop_em_js = 15954;
1147
- var la;
1148
- ia = function b() {
1149
- la || ba();
1150
- la || (ia = b);
1151
- };
1152
- if (a.preInit) for ("function" == typeof a.preInit && (a.preInit = [a.preInit]); 0 < a.preInit.length; ) a.preInit.pop()();
1153
- ba();
1154
- t.prototype = Object.create(t.prototype);
1155
- t.prototype.constructor = t;
1156
- t.prototype.__class__ = t;
1157
- t.__cache__ = {};
1158
- a.WrapperObject = t;
1159
- a.getCache = x;
1160
- a.wrapPointer = D;
1161
- a.castObject = function(b, c) {
1162
- return D(b.ptr, c);
1163
- };
1164
- a.NULL = D(0);
1165
- a.destroy = function(b) {
1166
- if (!b.__destroy__) throw "Error: Cannot destroy object. (Did you create it yourself?)";
1167
- b.__destroy__();
1168
- delete x(b.__class__)[b.ptr];
1169
- };
1170
- a.compare = function(b, c) {
1171
- return b.ptr === c.ptr;
1172
- };
1173
- a.getPointer = function(b) {
1174
- return b.ptr;
1175
- };
1176
- a.getClass = function(b) {
1177
- return b.__class__;
1178
- };
1179
- var r = { buffer: 0, size: 0, pos: 0, temps: [], needed: 0, prepare: function() {
1180
- if (r.needed) {
1181
- for (var b = 0; b < r.temps.length; b++) a._free(r.temps[b]);
1182
- r.temps.length = 0;
1183
- a._free(r.buffer);
1184
- r.buffer = 0;
1185
- r.size += r.needed;
1186
- r.needed = 0;
1187
- }
1188
- r.buffer || (r.size += 128, r.buffer = a._malloc(r.size), r.buffer || f(void 0));
1189
- r.pos = 0;
1190
- }, alloc: function(b, c) {
1191
- r.buffer || f(void 0);
1192
- b = b.length * c.BYTES_PER_ELEMENT;
1193
- b = b + 7 & -8;
1194
- 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);
1195
- return c;
1196
- }, copy: function(b, c, d) {
1197
- d >>>= 0;
1198
- switch (c.BYTES_PER_ELEMENT) {
1199
- case 2:
1200
- d >>>= 1;
1201
- break;
1202
- case 4:
1203
- d >>>= 2;
1204
- break;
1205
- case 8:
1206
- d >>>= 3;
1207
- }
1208
- for (var g = 0; g < b.length; g++) c[d + g] = b[g];
1209
- } };
1210
- Z.prototype = Object.create(t.prototype);
1211
- Z.prototype.constructor = Z;
1212
- Z.prototype.__class__ = Z;
1213
- Z.__cache__ = {};
1214
- a.VoidPtr = Z;
1215
- Z.prototype.__destroy__ = Z.prototype.__destroy__ = function() {
1216
- bb(this.ptr);
1217
- };
1218
- S.prototype = Object.create(t.prototype);
1219
- S.prototype.constructor = S;
1220
- S.prototype.__class__ = S;
1221
- S.__cache__ = {};
1222
- a.DecoderBuffer = S;
1223
- S.prototype.Init = S.prototype.Init = function(b, c) {
1224
- var d = this.ptr;
1225
- r.prepare();
1226
- "object" == typeof b && (b = pa(b));
1227
- c && "object" === typeof c && (c = c.ptr);
1228
- cb(d, b, c);
1229
- };
1230
- S.prototype.__destroy__ = S.prototype.__destroy__ = function() {
1231
- db(this.ptr);
1232
- };
1233
- Q.prototype = Object.create(t.prototype);
1234
- Q.prototype.constructor = Q;
1235
- Q.prototype.__class__ = Q;
1236
- Q.__cache__ = {};
1237
- a.AttributeTransformData = Q;
1238
- Q.prototype.transform_type = Q.prototype.transform_type = function() {
1239
- return eb(this.ptr);
1240
- };
1241
- Q.prototype.__destroy__ = Q.prototype.__destroy__ = function() {
1242
- fb(this.ptr);
1243
- };
1244
- W.prototype = Object.create(t.prototype);
1245
- W.prototype.constructor = W;
1246
- W.prototype.__class__ = W;
1247
- W.__cache__ = {};
1248
- a.GeometryAttribute = W;
1249
- W.prototype.__destroy__ = W.prototype.__destroy__ = function() {
1250
- gb(this.ptr);
1251
- };
1252
- w.prototype = Object.create(t.prototype);
1253
- w.prototype.constructor = w;
1254
- w.prototype.__class__ = w;
1255
- w.__cache__ = {};
1256
- a.PointAttribute = w;
1257
- w.prototype.size = w.prototype.size = function() {
1258
- return hb(this.ptr);
1259
- };
1260
- w.prototype.GetAttributeTransformData = w.prototype.GetAttributeTransformData = function() {
1261
- return D(ib(this.ptr), Q);
1262
- };
1263
- w.prototype.attribute_type = w.prototype.attribute_type = function() {
1264
- return jb(this.ptr);
1265
- };
1266
- w.prototype.data_type = w.prototype.data_type = function() {
1267
- return kb(this.ptr);
1268
- };
1269
- w.prototype.num_components = w.prototype.num_components = function() {
1270
- return lb(this.ptr);
1271
- };
1272
- w.prototype.normalized = w.prototype.normalized = function() {
1273
- return !!mb(this.ptr);
1274
- };
1275
- w.prototype.byte_stride = w.prototype.byte_stride = function() {
1276
- return nb(this.ptr);
1277
- };
1278
- w.prototype.byte_offset = w.prototype.byte_offset = function() {
1279
- return ob(this.ptr);
1280
- };
1281
- w.prototype.unique_id = w.prototype.unique_id = function() {
1282
- return pb(this.ptr);
1283
- };
1284
- w.prototype.__destroy__ = w.prototype.__destroy__ = function() {
1285
- qb(this.ptr);
1286
- };
1287
- C.prototype = Object.create(t.prototype);
1288
- C.prototype.constructor = C;
1289
- C.prototype.__class__ = C;
1290
- C.__cache__ = {};
1291
- a.AttributeQuantizationTransform = C;
1292
- C.prototype.InitFromAttribute = C.prototype.InitFromAttribute = function(b) {
1293
- var c = this.ptr;
1294
- b && "object" === typeof b && (b = b.ptr);
1295
- return !!rb(c, b);
1296
- };
1297
- C.prototype.quantization_bits = C.prototype.quantization_bits = function() {
1298
- return sb(this.ptr);
1299
- };
1300
- C.prototype.min_value = C.prototype.min_value = function(b) {
1301
- var c = this.ptr;
1302
- b && "object" === typeof b && (b = b.ptr);
1303
- return tb(c, b);
1304
- };
1305
- C.prototype.range = C.prototype.range = function() {
1306
- return ub(this.ptr);
1307
- };
1308
- C.prototype.__destroy__ = C.prototype.__destroy__ = function() {
1309
- vb(this.ptr);
1310
- };
1311
- F.prototype = Object.create(t.prototype);
1312
- F.prototype.constructor = F;
1313
- F.prototype.__class__ = F;
1314
- F.__cache__ = {};
1315
- a.AttributeOctahedronTransform = F;
1316
- F.prototype.InitFromAttribute = F.prototype.InitFromAttribute = function(b) {
1317
- var c = this.ptr;
1318
- b && "object" === typeof b && (b = b.ptr);
1319
- return !!wb(c, b);
1320
- };
1321
- F.prototype.quantization_bits = F.prototype.quantization_bits = function() {
1322
- return xb(this.ptr);
1323
- };
1324
- F.prototype.__destroy__ = F.prototype.__destroy__ = function() {
1325
- yb(this.ptr);
1326
- };
1327
- G.prototype = Object.create(t.prototype);
1328
- G.prototype.constructor = G;
1329
- G.prototype.__class__ = G;
1330
- G.__cache__ = {};
1331
- a.PointCloud = G;
1332
- G.prototype.num_attributes = G.prototype.num_attributes = function() {
1333
- return zb(this.ptr);
1334
- };
1335
- G.prototype.num_points = G.prototype.num_points = function() {
1336
- return Ab(this.ptr);
1337
- };
1338
- G.prototype.__destroy__ = G.prototype.__destroy__ = function() {
1339
- Bb(this.ptr);
1340
- };
1341
- E.prototype = Object.create(t.prototype);
1342
- E.prototype.constructor = E;
1343
- E.prototype.__class__ = E;
1344
- E.__cache__ = {};
1345
- a.Mesh = E;
1346
- E.prototype.num_faces = E.prototype.num_faces = function() {
1347
- return Cb(this.ptr);
1348
- };
1349
- E.prototype.num_attributes = E.prototype.num_attributes = function() {
1350
- return Db(this.ptr);
1351
- };
1352
- E.prototype.num_points = E.prototype.num_points = function() {
1353
- return Eb(this.ptr);
1354
- };
1355
- E.prototype.__destroy__ = E.prototype.__destroy__ = function() {
1356
- Fb(this.ptr);
1357
- };
1358
- T.prototype = Object.create(t.prototype);
1359
- T.prototype.constructor = T;
1360
- T.prototype.__class__ = T;
1361
- T.__cache__ = {};
1362
- a.Metadata = T;
1363
- T.prototype.__destroy__ = T.prototype.__destroy__ = function() {
1364
- Gb(this.ptr);
1365
- };
1366
- B.prototype = Object.create(t.prototype);
1367
- B.prototype.constructor = B;
1368
- B.prototype.__class__ = B;
1369
- B.__cache__ = {};
1370
- a.Status = B;
1371
- B.prototype.code = B.prototype.code = function() {
1372
- return Hb(this.ptr);
1373
- };
1374
- B.prototype.ok = B.prototype.ok = function() {
1375
- return !!Ib(this.ptr);
1376
- };
1377
- B.prototype.error_msg = B.prototype.error_msg = function() {
1378
- return h(Jb(this.ptr));
1379
- };
1380
- B.prototype.__destroy__ = B.prototype.__destroy__ = function() {
1381
- Kb(this.ptr);
1382
- };
1383
- H.prototype = Object.create(t.prototype);
1384
- H.prototype.constructor = H;
1385
- H.prototype.__class__ = H;
1386
- H.__cache__ = {};
1387
- a.DracoFloat32Array = H;
1388
- H.prototype.GetValue = H.prototype.GetValue = function(b) {
1389
- var c = this.ptr;
1390
- b && "object" === typeof b && (b = b.ptr);
1391
- return Lb(c, b);
1392
- };
1393
- H.prototype.size = H.prototype.size = function() {
1394
- return Mb(this.ptr);
1395
- };
1396
- H.prototype.__destroy__ = H.prototype.__destroy__ = function() {
1397
- Nb(this.ptr);
1398
- };
1399
- I.prototype = Object.create(t.prototype);
1400
- I.prototype.constructor = I;
1401
- I.prototype.__class__ = I;
1402
- I.__cache__ = {};
1403
- a.DracoInt8Array = I;
1404
- I.prototype.GetValue = I.prototype.GetValue = function(b) {
1405
- var c = this.ptr;
1406
- b && "object" === typeof b && (b = b.ptr);
1407
- return Ob(c, b);
1408
- };
1409
- I.prototype.size = I.prototype.size = function() {
1410
- return Pb(this.ptr);
1411
- };
1412
- I.prototype.__destroy__ = I.prototype.__destroy__ = function() {
1413
- Qb(this.ptr);
1414
- };
1415
- J.prototype = Object.create(t.prototype);
1416
- J.prototype.constructor = J;
1417
- J.prototype.__class__ = J;
1418
- J.__cache__ = {};
1419
- a.DracoUInt8Array = J;
1420
- J.prototype.GetValue = J.prototype.GetValue = function(b) {
1421
- var c = this.ptr;
1422
- b && "object" === typeof b && (b = b.ptr);
1423
- return Rb(c, b);
1424
- };
1425
- J.prototype.size = J.prototype.size = function() {
1426
- return Sb(this.ptr);
1427
- };
1428
- J.prototype.__destroy__ = J.prototype.__destroy__ = function() {
1429
- Tb(this.ptr);
1430
- };
1431
- K.prototype = Object.create(t.prototype);
1432
- K.prototype.constructor = K;
1433
- K.prototype.__class__ = K;
1434
- K.__cache__ = {};
1435
- a.DracoInt16Array = K;
1436
- K.prototype.GetValue = K.prototype.GetValue = function(b) {
1437
- var c = this.ptr;
1438
- b && "object" === typeof b && (b = b.ptr);
1439
- return Ub(c, b);
1440
- };
1441
- K.prototype.size = K.prototype.size = function() {
1442
- return Vb(this.ptr);
1443
- };
1444
- K.prototype.__destroy__ = K.prototype.__destroy__ = function() {
1445
- Wb(this.ptr);
1446
- };
1447
- L.prototype = Object.create(t.prototype);
1448
- L.prototype.constructor = L;
1449
- L.prototype.__class__ = L;
1450
- L.__cache__ = {};
1451
- a.DracoUInt16Array = L;
1452
- L.prototype.GetValue = L.prototype.GetValue = function(b) {
1453
- var c = this.ptr;
1454
- b && "object" === typeof b && (b = b.ptr);
1455
- return Xb(c, b);
1456
- };
1457
- L.prototype.size = L.prototype.size = function() {
1458
- return Yb(this.ptr);
1459
- };
1460
- L.prototype.__destroy__ = L.prototype.__destroy__ = function() {
1461
- Zb(this.ptr);
1462
- };
1463
- M.prototype = Object.create(t.prototype);
1464
- M.prototype.constructor = M;
1465
- M.prototype.__class__ = M;
1466
- M.__cache__ = {};
1467
- a.DracoInt32Array = M;
1468
- M.prototype.GetValue = M.prototype.GetValue = function(b) {
1469
- var c = this.ptr;
1470
- b && "object" === typeof b && (b = b.ptr);
1471
- return $b(c, b);
1472
- };
1473
- M.prototype.size = M.prototype.size = function() {
1474
- return ac(this.ptr);
1475
- };
1476
- M.prototype.__destroy__ = M.prototype.__destroy__ = function() {
1477
- bc(this.ptr);
1478
- };
1479
- N.prototype = Object.create(t.prototype);
1480
- N.prototype.constructor = N;
1481
- N.prototype.__class__ = N;
1482
- N.__cache__ = {};
1483
- a.DracoUInt32Array = N;
1484
- N.prototype.GetValue = N.prototype.GetValue = function(b) {
1485
- var c = this.ptr;
1486
- b && "object" === typeof b && (b = b.ptr);
1487
- return cc(c, b);
1488
- };
1489
- N.prototype.size = N.prototype.size = function() {
1490
- return dc(this.ptr);
1491
- };
1492
- N.prototype.__destroy__ = N.prototype.__destroy__ = function() {
1493
- ec(this.ptr);
1494
- };
1495
- y.prototype = Object.create(t.prototype);
1496
- y.prototype.constructor = y;
1497
- y.prototype.__class__ = y;
1498
- y.__cache__ = {};
1499
- a.MetadataQuerier = y;
1500
- y.prototype.HasEntry = y.prototype.HasEntry = function(b, c) {
1501
- var d = this.ptr;
1502
- r.prepare();
1503
- b && "object" === typeof b && (b = b.ptr);
1504
- c = c && "object" === typeof c ? c.ptr : R(c);
1505
- return !!fc(d, b, c);
1506
- };
1507
- y.prototype.GetIntEntry = y.prototype.GetIntEntry = function(b, c) {
1508
- var d = this.ptr;
1509
- r.prepare();
1510
- b && "object" === typeof b && (b = b.ptr);
1511
- c = c && "object" === typeof c ? c.ptr : R(c);
1512
- return gc(d, b, c);
1513
- };
1514
- y.prototype.GetIntEntryArray = y.prototype.GetIntEntryArray = function(b, c, d) {
1515
- var g = this.ptr;
1516
- r.prepare();
1517
- b && "object" === typeof b && (b = b.ptr);
1518
- c = c && "object" === typeof c ? c.ptr : R(c);
1519
- d && "object" === typeof d && (d = d.ptr);
1520
- hc(g, b, c, d);
1521
- };
1522
- y.prototype.GetDoubleEntry = y.prototype.GetDoubleEntry = function(b, c) {
1523
- var d = this.ptr;
1524
- r.prepare();
1525
- b && "object" === typeof b && (b = b.ptr);
1526
- c = c && "object" === typeof c ? c.ptr : R(c);
1527
- return ic(d, b, c);
1528
- };
1529
- y.prototype.GetStringEntry = y.prototype.GetStringEntry = function(b, c) {
1530
- var d = this.ptr;
1531
- r.prepare();
1532
- b && "object" === typeof b && (b = b.ptr);
1533
- c = c && "object" === typeof c ? c.ptr : R(c);
1534
- return h(jc(d, b, c));
1535
- };
1536
- y.prototype.NumEntries = y.prototype.NumEntries = function(b) {
1537
- var c = this.ptr;
1538
- b && "object" === typeof b && (b = b.ptr);
1539
- return kc(c, b);
1540
- };
1541
- y.prototype.GetEntryName = y.prototype.GetEntryName = function(b, c) {
1542
- var d = this.ptr;
1543
- b && "object" === typeof b && (b = b.ptr);
1544
- c && "object" === typeof c && (c = c.ptr);
1545
- return h(lc(d, b, c));
1546
- };
1547
- y.prototype.__destroy__ = y.prototype.__destroy__ = function() {
1548
- mc(this.ptr);
1549
- };
1550
- m.prototype = Object.create(t.prototype);
1551
- m.prototype.constructor = m;
1552
- m.prototype.__class__ = m;
1553
- m.__cache__ = {};
1554
- a.Decoder = m;
1555
- m.prototype.DecodeArrayToPointCloud = m.prototype.DecodeArrayToPointCloud = function(b, c, d) {
1556
- var g = this.ptr;
1557
- r.prepare();
1558
- "object" == typeof b && (b = pa(b));
1559
- c && "object" === typeof c && (c = c.ptr);
1560
- d && "object" === typeof d && (d = d.ptr);
1561
- return D(nc(g, b, c, d), B);
1562
- };
1563
- m.prototype.DecodeArrayToMesh = m.prototype.DecodeArrayToMesh = function(b, c, d) {
1564
- var g = this.ptr;
1565
- r.prepare();
1566
- "object" == typeof b && (b = pa(b));
1567
- c && "object" === typeof c && (c = c.ptr);
1568
- d && "object" === typeof d && (d = d.ptr);
1569
- return D(oc(g, b, c, d), B);
1570
- };
1571
- m.prototype.GetAttributeId = m.prototype.GetAttributeId = function(b, c) {
1572
- var d = this.ptr;
1573
- b && "object" === typeof b && (b = b.ptr);
1574
- c && "object" === typeof c && (c = c.ptr);
1575
- return pc(d, b, c);
1576
- };
1577
- m.prototype.GetAttributeIdByName = m.prototype.GetAttributeIdByName = function(b, c) {
1578
- var d = this.ptr;
1579
- r.prepare();
1580
- b && "object" === typeof b && (b = b.ptr);
1581
- c = c && "object" === typeof c ? c.ptr : R(c);
1582
- return qc(d, b, c);
1583
- };
1584
- m.prototype.GetAttributeIdByMetadataEntry = m.prototype.GetAttributeIdByMetadataEntry = function(b, c, d) {
1585
- var g = this.ptr;
1586
- r.prepare();
1587
- b && "object" === typeof b && (b = b.ptr);
1588
- c = c && "object" === typeof c ? c.ptr : R(c);
1589
- d = d && "object" === typeof d ? d.ptr : R(d);
1590
- return rc(g, b, c, d);
1591
- };
1592
- m.prototype.GetAttribute = m.prototype.GetAttribute = function(b, c) {
1593
- var d = this.ptr;
1594
- b && "object" === typeof b && (b = b.ptr);
1595
- c && "object" === typeof c && (c = c.ptr);
1596
- return D(sc(d, b, c), w);
1597
- };
1598
- m.prototype.GetAttributeByUniqueId = m.prototype.GetAttributeByUniqueId = function(b, c) {
1599
- var d = this.ptr;
1600
- b && "object" === typeof b && (b = b.ptr);
1601
- c && "object" === typeof c && (c = c.ptr);
1602
- return D(tc(d, b, c), w);
1603
- };
1604
- m.prototype.GetMetadata = m.prototype.GetMetadata = function(b) {
1605
- var c = this.ptr;
1606
- b && "object" === typeof b && (b = b.ptr);
1607
- return D(uc(c, b), T);
1608
- };
1609
- m.prototype.GetAttributeMetadata = m.prototype.GetAttributeMetadata = function(b, c) {
1610
- var d = this.ptr;
1611
- b && "object" === typeof b && (b = b.ptr);
1612
- c && "object" === typeof c && (c = c.ptr);
1613
- return D(vc(d, b, c), T);
1614
- };
1615
- m.prototype.GetFaceFromMesh = m.prototype.GetFaceFromMesh = function(b, c, d) {
1616
- var g = this.ptr;
1617
- b && "object" === typeof b && (b = b.ptr);
1618
- c && "object" === typeof c && (c = c.ptr);
1619
- d && "object" === typeof d && (d = d.ptr);
1620
- return !!wc(g, b, c, d);
1621
- };
1622
- m.prototype.GetTriangleStripsFromMesh = m.prototype.GetTriangleStripsFromMesh = function(b, c) {
1623
- var d = this.ptr;
1624
- b && "object" === typeof b && (b = b.ptr);
1625
- c && "object" === typeof c && (c = c.ptr);
1626
- return xc(d, b, c);
1627
- };
1628
- m.prototype.GetTrianglesUInt16Array = m.prototype.GetTrianglesUInt16Array = function(b, c, d) {
1629
- var g = this.ptr;
1630
- b && "object" === typeof b && (b = b.ptr);
1631
- c && "object" === typeof c && (c = c.ptr);
1632
- d && "object" === typeof d && (d = d.ptr);
1633
- return !!yc(g, b, c, d);
1634
- };
1635
- m.prototype.GetTrianglesUInt32Array = m.prototype.GetTrianglesUInt32Array = function(b, c, d) {
1636
- var g = this.ptr;
1637
- b && "object" === typeof b && (b = b.ptr);
1638
- c && "object" === typeof c && (c = c.ptr);
1639
- d && "object" === typeof d && (d = d.ptr);
1640
- return !!zc(g, b, c, d);
1641
- };
1642
- m.prototype.GetAttributeFloat = m.prototype.GetAttributeFloat = function(b, c, d) {
1643
- var g = this.ptr;
1644
- b && "object" === typeof b && (b = b.ptr);
1645
- c && "object" === typeof c && (c = c.ptr);
1646
- d && "object" === typeof d && (d = d.ptr);
1647
- return !!Ac(g, b, c, d);
1648
- };
1649
- m.prototype.GetAttributeFloatForAllPoints = m.prototype.GetAttributeFloatForAllPoints = function(b, c, d) {
1650
- var g = this.ptr;
1651
- b && "object" === typeof b && (b = b.ptr);
1652
- c && "object" === typeof c && (c = c.ptr);
1653
- d && "object" === typeof d && (d = d.ptr);
1654
- return !!Bc(g, b, c, d);
1655
- };
1656
- m.prototype.GetAttributeIntForAllPoints = m.prototype.GetAttributeIntForAllPoints = function(b, c, d) {
1657
- var g = this.ptr;
1658
- b && "object" === typeof b && (b = b.ptr);
1659
- c && "object" === typeof c && (c = c.ptr);
1660
- d && "object" === typeof d && (d = d.ptr);
1661
- return !!Cc(g, b, c, d);
1662
- };
1663
- m.prototype.GetAttributeInt8ForAllPoints = m.prototype.GetAttributeInt8ForAllPoints = function(b, c, d) {
1664
- var g = this.ptr;
1665
- b && "object" === typeof b && (b = b.ptr);
1666
- c && "object" === typeof c && (c = c.ptr);
1667
- d && "object" === typeof d && (d = d.ptr);
1668
- return !!Dc(g, b, c, d);
1669
- };
1670
- m.prototype.GetAttributeUInt8ForAllPoints = m.prototype.GetAttributeUInt8ForAllPoints = function(b, c, d) {
1671
- var g = this.ptr;
1672
- b && "object" === typeof b && (b = b.ptr);
1673
- c && "object" === typeof c && (c = c.ptr);
1674
- d && "object" === typeof d && (d = d.ptr);
1675
- return !!Ec(g, b, c, d);
1676
- };
1677
- m.prototype.GetAttributeInt16ForAllPoints = m.prototype.GetAttributeInt16ForAllPoints = function(b, c, d) {
1678
- var g = this.ptr;
1679
- b && "object" === typeof b && (b = b.ptr);
1680
- c && "object" === typeof c && (c = c.ptr);
1681
- d && "object" === typeof d && (d = d.ptr);
1682
- return !!Fc(g, b, c, d);
1683
- };
1684
- m.prototype.GetAttributeUInt16ForAllPoints = m.prototype.GetAttributeUInt16ForAllPoints = function(b, c, d) {
1685
- var g = this.ptr;
1686
- b && "object" === typeof b && (b = b.ptr);
1687
- c && "object" === typeof c && (c = c.ptr);
1688
- d && "object" === typeof d && (d = d.ptr);
1689
- return !!Gc(g, b, c, d);
1690
- };
1691
- m.prototype.GetAttributeInt32ForAllPoints = m.prototype.GetAttributeInt32ForAllPoints = function(b, c, d) {
1692
- var g = this.ptr;
1693
- b && "object" === typeof b && (b = b.ptr);
1694
- c && "object" === typeof c && (c = c.ptr);
1695
- d && "object" === typeof d && (d = d.ptr);
1696
- return !!Hc(g, b, c, d);
1697
- };
1698
- m.prototype.GetAttributeUInt32ForAllPoints = m.prototype.GetAttributeUInt32ForAllPoints = function(b, c, d) {
1699
- var g = this.ptr;
1700
- b && "object" === typeof b && (b = b.ptr);
1701
- c && "object" === typeof c && (c = c.ptr);
1702
- d && "object" === typeof d && (d = d.ptr);
1703
- return !!Ic(g, b, c, d);
1704
- };
1705
- m.prototype.GetAttributeDataArrayForAllPoints = m.prototype.GetAttributeDataArrayForAllPoints = function(b, c, d, g, u) {
1706
- var X = this.ptr;
1707
- b && "object" === typeof b && (b = b.ptr);
1708
- c && "object" === typeof c && (c = c.ptr);
1709
- d && "object" === typeof d && (d = d.ptr);
1710
- g && "object" === typeof g && (g = g.ptr);
1711
- u && "object" === typeof u && (u = u.ptr);
1712
- return !!Jc(X, b, c, d, g, u);
1713
- };
1714
- m.prototype.SkipAttributeTransform = m.prototype.SkipAttributeTransform = function(b) {
1715
- var c = this.ptr;
1716
- b && "object" === typeof b && (b = b.ptr);
1717
- Kc(c, b);
1718
- };
1719
- m.prototype.GetEncodedGeometryType_Deprecated = m.prototype.GetEncodedGeometryType_Deprecated = function(b) {
1720
- var c = this.ptr;
1721
- b && "object" === typeof b && (b = b.ptr);
1722
- return Lc(c, b);
1723
- };
1724
- m.prototype.DecodeBufferToPointCloud = m.prototype.DecodeBufferToPointCloud = function(b, c) {
1725
- var d = this.ptr;
1726
- b && "object" === typeof b && (b = b.ptr);
1727
- c && "object" === typeof c && (c = c.ptr);
1728
- return D(Mc(d, b, c), B);
1729
- };
1730
- m.prototype.DecodeBufferToMesh = m.prototype.DecodeBufferToMesh = function(b, c) {
1731
- var d = this.ptr;
1732
- b && "object" === typeof b && (b = b.ptr);
1733
- c && "object" === typeof c && (c = c.ptr);
1734
- return D(Nc(d, b, c), B);
1735
- };
1736
- m.prototype.__destroy__ = m.prototype.__destroy__ = function() {
1737
- Oc(this.ptr);
1738
- };
1739
- (function() {
1740
- function b() {
1741
- a.ATTRIBUTE_INVALID_TRANSFORM = Pc();
1742
- a.ATTRIBUTE_NO_TRANSFORM = Qc();
1743
- a.ATTRIBUTE_QUANTIZATION_TRANSFORM = Rc();
1744
- a.ATTRIBUTE_OCTAHEDRON_TRANSFORM = Sc();
1745
- a.INVALID = Tc();
1746
- a.POSITION = Uc();
1747
- a.NORMAL = Vc();
1748
- a.COLOR = Wc();
1749
- a.TEX_COORD = Xc();
1750
- a.GENERIC = Yc();
1751
- a.INVALID_GEOMETRY_TYPE = Zc();
1752
- a.POINT_CLOUD = $c();
1753
- a.TRIANGULAR_MESH = ad();
1754
- a.DT_INVALID = bd();
1755
- a.DT_INT8 = cd();
1756
- a.DT_UINT8 = dd();
1757
- a.DT_INT16 = ed();
1758
- a.DT_UINT16 = fd();
1759
- a.DT_INT32 = gd();
1760
- a.DT_UINT32 = hd();
1761
- a.DT_INT64 = id();
1762
- a.DT_UINT64 = jd();
1763
- a.DT_FLOAT32 = kd();
1764
- a.DT_FLOAT64 = ld();
1765
- a.DT_BOOL = md();
1766
- a.DT_TYPES_COUNT = nd();
1767
- a.OK = od();
1768
- a.DRACO_ERROR = pd();
1769
- a.IO_ERROR = qd();
1770
- a.INVALID_PARAMETER = rd();
1771
- a.UNSUPPORTED_VERSION = sd();
1772
- a.UNKNOWN_VERSION = td();
1773
- }
1774
- za ? b() : oa.unshift(b);
1775
- })();
1776
- if ("function" === typeof a.onModuleParsed) a.onModuleParsed();
1777
- a.Decoder.prototype.GetEncodedGeometryType = function(b) {
1778
- if (b.__class__ && b.__class__ === a.DecoderBuffer) return a.Decoder.prototype.GetEncodedGeometryType_Deprecated(b);
1779
- if (8 > b.byteLength) return a.INVALID_GEOMETRY_TYPE;
1780
- switch (b[7]) {
1781
- case 0:
1782
- return a.POINT_CLOUD;
1783
- case 1:
1784
- return a.TRIANGULAR_MESH;
1785
- default:
1786
- return a.INVALID_GEOMETRY_TYPE;
1787
- }
1788
- };
1789
- return n.ready;
1790
- };
1791
- }();
1792
- "object" === typeof exports && "object" === typeof module ? module.exports = DracoDecoderModule : "function" === typeof define && define.amd ? define([], function() {
1793
- return DracoDecoderModule;
1794
- }) : "object" === typeof exports && (exports.DracoDecoderModule = DracoDecoderModule);
1795
- }
1796
- });
1797
-
1798
- export {
1799
- require_draco_decoder_nodejs
1800
- };