@pggis/pg-sdk 3.3.10 → 4.3.3

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