@roomle/web-sdk 3.6.0-alpha.3 → 3.6.0-alpha.5

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 (331) hide show
  1. package/lib/BufferGeometry-DLEagG41.mjs +1022 -0
  2. package/lib/BufferGeometry-DLEagG41.mjs.map +1 -0
  3. package/lib/ConfiguratorKernel.wasm +0 -0
  4. package/lib/GLTFExporter-D8qsdwDK.mjs +1092 -0
  5. package/lib/GLTFExporter-D8qsdwDK.mjs.map +1 -0
  6. package/lib/Object3D-DSjIOhON.mjs +1713 -0
  7. package/lib/Object3D-DSjIOhON.mjs.map +1 -0
  8. package/lib/PointLightHelper-BnjxGaOG.mjs +257 -0
  9. package/lib/PointLightHelper-BnjxGaOG.mjs.map +1 -0
  10. package/lib/RoomleCore.wasm +0 -0
  11. package/lib/RoomleToolsCore.wasm +0 -0
  12. package/lib/SpotLightHelper-DqsfqCrs.mjs +154 -0
  13. package/lib/SpotLightHelper-DqsfqCrs.mjs.map +1 -0
  14. package/lib/USDZExporter-DxIqi8St.mjs +296 -0
  15. package/lib/USDZExporter-DxIqi8St.mjs.map +1 -0
  16. package/lib/Vector4-DGmBYfpK.mjs +204 -0
  17. package/lib/Vector4-DGmBYfpK.mjs.map +1 -0
  18. package/lib/api-xDJ-Uyom.mjs +55 -0
  19. package/lib/api-xDJ-Uyom.mjs.map +1 -0
  20. package/lib/banana-for-scale-C_iNmlCT.mjs +36 -0
  21. package/lib/banana-for-scale-C_iNmlCT.mjs.map +1 -0
  22. package/lib/common-utils-DMSTohiS.mjs +187 -0
  23. package/lib/common-utils-DMSTohiS.mjs.map +1 -0
  24. package/lib/component-dimensioning-CvRmUja4.mjs +162 -0
  25. package/lib/component-dimensioning-CvRmUja4.mjs.map +1 -0
  26. package/lib/component-raycast-helper-CEp7wy9c.mjs +97 -0
  27. package/lib/component-raycast-helper-CEp7wy9c.mjs.map +1 -0
  28. package/lib/configurator-BaUt4_LF.mjs +2 -0
  29. package/lib/configurator-CmuhFgC9.mjs +45 -0
  30. package/lib/configurator-CmuhFgC9.mjs.map +1 -0
  31. package/lib/continuous-drawing-helper-v_5UAM9A.mjs +42 -0
  32. package/lib/continuous-drawing-helper-v_5UAM9A.mjs.map +1 -0
  33. package/lib/decorate-C1QnXPYw.mjs +35 -0
  34. package/lib/decorate-C1QnXPYw.mjs.map +1 -0
  35. package/lib/dimensioning-helper-DTcW85Oq.mjs +2 -0
  36. package/lib/dimensioning-helper-Fwpt1HTT.mjs +268 -0
  37. package/lib/dimensioning-helper-Fwpt1HTT.mjs.map +1 -0
  38. package/lib/fflate.module-dFNj5UPI.mjs +536 -0
  39. package/lib/fflate.module-dFNj5UPI.mjs.map +1 -0
  40. package/lib/glb-viewer-BzNA9-zH.mjs +315 -0
  41. package/lib/glb-viewer-BzNA9-zH.mjs.map +1 -0
  42. package/lib/glb-viewer-DOxBD5k-.mjs +2 -0
  43. package/lib/homag-intelligence-BwGjJEws.mjs +381 -0
  44. package/lib/homag-intelligence-BwGjJEws.mjs.map +1 -0
  45. package/lib/imos-ix-poc-export-helper-CQh94HsO.mjs +161 -0
  46. package/lib/imos-ix-poc-export-helper-CQh94HsO.mjs.map +1 -0
  47. package/lib/kernel-BAQSG9r5.mjs +46 -0
  48. package/lib/kernel-BAQSG9r5.mjs.map +1 -0
  49. package/lib/kernel-utils-H74uNY1h.mjs +44 -0
  50. package/lib/kernel-utils-H74uNY1h.mjs.map +1 -0
  51. package/lib/layer-C_JtkhdO.mjs +8 -0
  52. package/lib/layer-C_JtkhdO.mjs.map +1 -0
  53. package/lib/main-CtVIB52l.mjs +20458 -0
  54. package/lib/main-CtVIB52l.mjs.map +1 -0
  55. package/lib/material-viewer-Bq4smZ6f.mjs +292 -0
  56. package/lib/material-viewer-Bq4smZ6f.mjs.map +1 -0
  57. package/lib/planner-CVw_xzGh.mjs +44 -0
  58. package/lib/planner-CVw_xzGh.mjs.map +1 -0
  59. package/lib/planner-si70gWA2.mjs +2 -0
  60. package/lib/plugin-system-D9K46xJk.mjs +55 -0
  61. package/lib/plugin-system-D9K46xJk.mjs.map +1 -0
  62. package/lib/roomle-sdk.d.ts +33 -21
  63. package/lib/roomle-sdk.js +7 -36
  64. package/lib/scene-renderer-D8HkTFeZ.mjs +3826 -0
  65. package/lib/scene-renderer-D8HkTFeZ.mjs.map +1 -0
  66. package/lib/script-loader-D8xCRzTr.mjs +45 -0
  67. package/lib/script-loader-D8xCRzTr.mjs.map +1 -0
  68. package/lib/static/draco/node_modules/three/examples/jsm/libs/draco/draco_decoder.js +34 -0
  69. package/lib/static/draco/node_modules/three/examples/jsm/libs/draco/draco_decoder.wasm +0 -0
  70. package/lib/static/draco/node_modules/three/examples/jsm/libs/draco/draco_encoder.js +33 -0
  71. package/lib/static/draco/node_modules/three/examples/jsm/libs/draco/draco_wasm_wrapper.js +117 -0
  72. package/lib/static/roomle-core-hsc/node_modules/roomle-core-hsc/package.json +1 -0
  73. package/lib/static/roomle-core-hsc/{embind → node_modules/roomle-core-hsc/src/embind}/configuratorCoreInterface.d.ts +1 -0
  74. package/lib/static/roomle-core-hsc/{src → node_modules/roomle-core-hsc/src}/embind/plannerCoreInterface.d.ts +2 -0
  75. package/lib/static/roomle-core-hsc/{loader → node_modules/roomle-core-hsc/src/loader}/configurationGeometryConstructor.d.ts +1 -0
  76. package/lib/static/roomle-core-hsc/{loader → node_modules/roomle-core-hsc/src/loader}/configurationGeometryConstructor.js +22 -2
  77. package/lib/static/roomle-core-hsc/{configurationGeometryConstructor.js.map → node_modules/roomle-core-hsc/src/loader/configurationGeometryConstructor.js.map} +1 -1
  78. package/lib/static/roomle-core-hsc/{loader → node_modules/roomle-core-hsc/src/loader}/configurationLoader.d.ts +1 -0
  79. package/lib/static/roomle-core-hsc/{src → node_modules/roomle-core-hsc/src}/loader/configurationLoader.js +6 -4
  80. package/lib/static/roomle-core-hsc/node_modules/roomle-core-hsc/src/loader/configurationLoader.js.map +1 -0
  81. package/lib/static/roomle-core-hsc/{configurationManager.d.ts → node_modules/roomle-core-hsc/src/loader/configurationManager.d.ts} +1 -0
  82. package/lib/static/roomle-core-hsc/{loader → node_modules/roomle-core-hsc/src/loader}/configurationManager.js +4 -0
  83. package/lib/static/roomle-core-hsc/node_modules/roomle-core-hsc/src/loader/configurationManager.js.map +1 -0
  84. package/lib/static/roomle-core-hsc/{loader → node_modules/roomle-core-hsc/src/loader}/planElementManager.d.ts +2 -0
  85. package/lib/static/roomle-core-hsc/{loader → node_modules/roomle-core-hsc/src/loader}/planElementManager.js +12 -3
  86. package/lib/static/roomle-core-hsc/node_modules/roomle-core-hsc/src/loader/planElementManager.js.map +1 -0
  87. package/lib/static/roomle-core-hsc/{wasm_modern → node_modules/roomle-core-hsc/wasm_modern}/ConfiguratorKernel.wasm +0 -0
  88. package/lib/static/roomle-core-hsc/node_modules/roomle-core-hsc/wasm_modern/RoomleCore.wasm +0 -0
  89. package/lib/static/roomle-core-hsc/{wasm_modern → node_modules/roomle-core-hsc/wasm_modern}/RoomleToolsCore.wasm +0 -0
  90. package/lib/stats-helper-HM0TaIM5.mjs +95 -0
  91. package/lib/stats-helper-HM0TaIM5.mjs.map +1 -0
  92. package/lib/three.core-CLIofecG.mjs +7629 -0
  93. package/lib/three.core-CLIofecG.mjs.map +1 -0
  94. package/lib/three.module-C4Q1skJQ.mjs +5795 -0
  95. package/lib/three.module-C4Q1skJQ.mjs.map +1 -0
  96. package/lib/three.webgpu-dFspy2yF.mjs +16057 -0
  97. package/lib/three.webgpu-dFspy2yF.mjs.map +1 -0
  98. package/lib/threejs-utils-jEzvlJF1.mjs +2233 -0
  99. package/lib/threejs-utils-jEzvlJF1.mjs.map +1 -0
  100. package/lib/tools-core-Bf9WsK5v.mjs +30 -0
  101. package/lib/tools-core-Bf9WsK5v.mjs.map +1 -0
  102. package/package.json +1 -1
  103. package/lib/BufferGeometry-C1o0MiFL.mjs +0 -2064
  104. package/lib/BufferGeometry-C1o0MiFL.mjs.map +0 -1
  105. package/lib/GLTFExporter-CXMBueJw.mjs +0 -1323
  106. package/lib/GLTFExporter-CXMBueJw.mjs.map +0 -1
  107. package/lib/PointLightHelper-ICWLqwjK.mjs +0 -522
  108. package/lib/PointLightHelper-ICWLqwjK.mjs.map +0 -1
  109. package/lib/SpotLightHelper-CW5lDGFp.mjs +0 -222
  110. package/lib/SpotLightHelper-CW5lDGFp.mjs.map +0 -1
  111. package/lib/USDZExporter-CUp3dX08.mjs +0 -552
  112. package/lib/USDZExporter-CUp3dX08.mjs.map +0 -1
  113. package/lib/banana-for-scale-CfQ8dnY2.mjs +0 -50
  114. package/lib/banana-for-scale-CfQ8dnY2.mjs.map +0 -1
  115. package/lib/component-dimensioning-C9AWhxvj.mjs +0 -237
  116. package/lib/component-dimensioning-C9AWhxvj.mjs.map +0 -1
  117. package/lib/continuous-drawing-helper-B5BlbPPz.mjs +0 -48
  118. package/lib/continuous-drawing-helper-B5BlbPPz.mjs.map +0 -1
  119. package/lib/homag-intelligence-UFo9Z8FS.mjs +0 -549
  120. package/lib/homag-intelligence-UFo9Z8FS.mjs.map +0 -1
  121. package/lib/imos-ix-poc-export-helper-CGSk-8yx.mjs +0 -180
  122. package/lib/imos-ix-poc-export-helper-CGSk-8yx.mjs.map +0 -1
  123. package/lib/index-DIyMlQBA.mjs +0 -100947
  124. package/lib/index-DIyMlQBA.mjs.map +0 -1
  125. package/lib/material-viewer-QTlidNBs.mjs +0 -451
  126. package/lib/material-viewer-QTlidNBs.mjs.map +0 -1
  127. package/lib/roomle-sdk.js.map +0 -1
  128. package/lib/static/draco/gltf/draco_decoder.js +0 -33
  129. package/lib/static/draco/gltf/draco_decoder.wasm +0 -0
  130. package/lib/static/draco/gltf/draco_encoder.js +0 -33
  131. package/lib/static/draco/gltf/draco_wasm_wrapper.js +0 -116
  132. package/lib/static/roomle-core-hsc/ConfiguratorKernel.wasm +0 -0
  133. package/lib/static/roomle-core-hsc/RoomleCore.wasm +0 -0
  134. package/lib/static/roomle-core-hsc/RoomleToolsCore.wasm +0 -0
  135. package/lib/static/roomle-core-hsc/configurationGeometryConstructor.d.ts +0 -21
  136. package/lib/static/roomle-core-hsc/configurationGeometryConstructor.js +0 -90
  137. package/lib/static/roomle-core-hsc/configurationLoader.d.ts +0 -116
  138. package/lib/static/roomle-core-hsc/configurationLoader.js +0 -345
  139. package/lib/static/roomle-core-hsc/configurationLoader.js.map +0 -1
  140. package/lib/static/roomle-core-hsc/configurationManager.js +0 -147
  141. package/lib/static/roomle-core-hsc/configurationManager.js.map +0 -1
  142. package/lib/static/roomle-core-hsc/configuratorCoreInterface.d.ts +0 -746
  143. package/lib/static/roomle-core-hsc/embind/configuratorCallback.d.ts +0 -82
  144. package/lib/static/roomle-core-hsc/embind/configuratorCallback.js +0 -355
  145. package/lib/static/roomle-core-hsc/embind/configuratorCallback.js.map +0 -1
  146. package/lib/static/roomle-core-hsc/embind/configuratorCore.d.ts +0 -19
  147. package/lib/static/roomle-core-hsc/embind/configuratorCore.js +0 -50
  148. package/lib/static/roomle-core-hsc/embind/configuratorCore.js.map +0 -1
  149. package/lib/static/roomle-core-hsc/embind/configuratorCoreInterface.js +0 -99
  150. package/lib/static/roomle-core-hsc/embind/configuratorCoreInterface.js.map +0 -1
  151. package/lib/static/roomle-core-hsc/embind/configuratorUtils.d.ts +0 -3
  152. package/lib/static/roomle-core-hsc/embind/configuratorUtils.js +0 -52
  153. package/lib/static/roomle-core-hsc/embind/configuratorUtils.js.map +0 -1
  154. package/lib/static/roomle-core-hsc/embind/coreModue.d.ts +0 -4
  155. package/lib/static/roomle-core-hsc/embind/coreModue.js +0 -3
  156. package/lib/static/roomle-core-hsc/embind/coreModue.js.map +0 -1
  157. package/lib/static/roomle-core-hsc/embind/coreModule.d.ts +0 -11
  158. package/lib/static/roomle-core-hsc/embind/coreModule.js +0 -19
  159. package/lib/static/roomle-core-hsc/embind/coreModule.js.map +0 -1
  160. package/lib/static/roomle-core-hsc/embind/plannerCoreInterface.d.ts +0 -851
  161. package/lib/static/roomle-core-hsc/loader/configurableObject.d.ts +0 -30
  162. package/lib/static/roomle-core-hsc/loader/configurableObject.js +0 -111
  163. package/lib/static/roomle-core-hsc/loader/configurableObject.js.map +0 -1
  164. package/lib/static/roomle-core-hsc/loader/configurationGeometryConstructor.js.map +0 -1
  165. package/lib/static/roomle-core-hsc/loader/configurationLoader.js +0 -345
  166. package/lib/static/roomle-core-hsc/loader/configurationLoader.js.map +0 -1
  167. package/lib/static/roomle-core-hsc/loader/configurationManager.d.ts +0 -41
  168. package/lib/static/roomle-core-hsc/loader/configurationManager.js.map +0 -1
  169. package/lib/static/roomle-core-hsc/loader/planElementManager.js.map +0 -1
  170. package/lib/static/roomle-core-hsc/loaderUtility.d.ts +0 -81
  171. package/lib/static/roomle-core-hsc/loaderUtility.js +0 -141
  172. package/lib/static/roomle-core-hsc/loaderUtility.js.map +0 -1
  173. package/lib/static/roomle-core-hsc/logger.d.ts +0 -29
  174. package/lib/static/roomle-core-hsc/logger.js +0 -61
  175. package/lib/static/roomle-core-hsc/logger.js.map +0 -1
  176. package/lib/static/roomle-core-hsc/package.json +0 -1
  177. package/lib/static/roomle-core-hsc/planElementManager.d.ts +0 -96
  178. package/lib/static/roomle-core-hsc/planElementManager.js +0 -300
  179. package/lib/static/roomle-core-hsc/planElementManager.js.map +0 -1
  180. package/lib/static/roomle-core-hsc/plannerCore.d.ts +0 -31
  181. package/lib/static/roomle-core-hsc/plannerCore.js +0 -111
  182. package/lib/static/roomle-core-hsc/plannerCore.js.map +0 -1
  183. package/lib/static/roomle-core-hsc/plannerCoreCallback.d.ts +0 -39
  184. package/lib/static/roomle-core-hsc/plannerCoreCallback.js +0 -116
  185. package/lib/static/roomle-core-hsc/plannerCoreCallback.js.map +0 -1
  186. package/lib/static/roomle-core-hsc/plannerCoreInterface.d.ts +0 -851
  187. package/lib/static/roomle-core-hsc/plannerCoreInterface.js +0 -93
  188. package/lib/static/roomle-core-hsc/plannerCoreInterface.js.map +0 -1
  189. package/lib/static/roomle-core-hsc/rapiAccess.d.ts +0 -70
  190. package/lib/static/roomle-core-hsc/rapiAccess.js +0 -227
  191. package/lib/static/roomle-core-hsc/rapiAccess.js.map +0 -1
  192. package/lib/static/roomle-core-hsc/serviceCore.d.ts +0 -20
  193. package/lib/static/roomle-core-hsc/serviceCore.js +0 -54
  194. package/lib/static/roomle-core-hsc/serviceCore.js.map +0 -1
  195. package/lib/static/roomle-core-hsc/serviceCoreInterface.d.ts +0 -13
  196. package/lib/static/roomle-core-hsc/serviceCoreInterface.js +0 -3
  197. package/lib/static/roomle-core-hsc/serviceCoreInterface.js.map +0 -1
  198. package/lib/static/roomle-core-hsc/src/embind/configuratorCallback.d.ts +0 -82
  199. package/lib/static/roomle-core-hsc/src/embind/configuratorCallback.js +0 -355
  200. package/lib/static/roomle-core-hsc/src/embind/configuratorCallback.js.map +0 -1
  201. package/lib/static/roomle-core-hsc/src/embind/configuratorCore.d.ts +0 -19
  202. package/lib/static/roomle-core-hsc/src/embind/configuratorCore.js +0 -50
  203. package/lib/static/roomle-core-hsc/src/embind/configuratorCore.js.map +0 -1
  204. package/lib/static/roomle-core-hsc/src/embind/configuratorCoreInterface.d.ts +0 -746
  205. package/lib/static/roomle-core-hsc/src/embind/configuratorCoreInterface.js +0 -99
  206. package/lib/static/roomle-core-hsc/src/embind/configuratorCoreInterface.js.map +0 -1
  207. package/lib/static/roomle-core-hsc/src/embind/configuratorUtils.d.ts +0 -3
  208. package/lib/static/roomle-core-hsc/src/embind/configuratorUtils.js +0 -52
  209. package/lib/static/roomle-core-hsc/src/embind/configuratorUtils.js.map +0 -1
  210. package/lib/static/roomle-core-hsc/src/embind/coreModue.d.ts +0 -4
  211. package/lib/static/roomle-core-hsc/src/embind/coreModue.js +0 -3
  212. package/lib/static/roomle-core-hsc/src/embind/coreModue.js.map +0 -1
  213. package/lib/static/roomle-core-hsc/src/embind/coreModule.d.ts +0 -11
  214. package/lib/static/roomle-core-hsc/src/embind/coreModule.js +0 -19
  215. package/lib/static/roomle-core-hsc/src/embind/coreModule.js.map +0 -1
  216. package/lib/static/roomle-core-hsc/src/embind/plannerCore.d.ts +0 -31
  217. package/lib/static/roomle-core-hsc/src/embind/plannerCore.js +0 -111
  218. package/lib/static/roomle-core-hsc/src/embind/plannerCore.js.map +0 -1
  219. package/lib/static/roomle-core-hsc/src/embind/plannerCoreCallback.d.ts +0 -39
  220. package/lib/static/roomle-core-hsc/src/embind/plannerCoreCallback.js +0 -116
  221. package/lib/static/roomle-core-hsc/src/embind/plannerCoreCallback.js.map +0 -1
  222. package/lib/static/roomle-core-hsc/src/embind/plannerCoreInterface.js +0 -93
  223. package/lib/static/roomle-core-hsc/src/embind/plannerCoreInterface.js.map +0 -1
  224. package/lib/static/roomle-core-hsc/src/embind/serviceCore.d.ts +0 -20
  225. package/lib/static/roomle-core-hsc/src/embind/serviceCore.js +0 -54
  226. package/lib/static/roomle-core-hsc/src/embind/serviceCore.js.map +0 -1
  227. package/lib/static/roomle-core-hsc/src/embind/serviceCoreInterface.d.ts +0 -13
  228. package/lib/static/roomle-core-hsc/src/embind/serviceCoreInterface.js +0 -3
  229. package/lib/static/roomle-core-hsc/src/embind/serviceCoreInterface.js.map +0 -1
  230. package/lib/static/roomle-core-hsc/src/embind/toolsCore.d.ts +0 -17
  231. package/lib/static/roomle-core-hsc/src/embind/toolsCore.js +0 -75
  232. package/lib/static/roomle-core-hsc/src/embind/toolsCore.js.map +0 -1
  233. package/lib/static/roomle-core-hsc/src/embind/toolsCoreInterface.d.ts +0 -40
  234. package/lib/static/roomle-core-hsc/src/embind/toolsCoreInterface.js +0 -8
  235. package/lib/static/roomle-core-hsc/src/embind/toolsCoreInterface.js.map +0 -1
  236. package/lib/static/roomle-core-hsc/src/loader/configurableObject.d.ts +0 -30
  237. package/lib/static/roomle-core-hsc/src/loader/configurableObject.js +0 -111
  238. package/lib/static/roomle-core-hsc/src/loader/configurableObject.js.map +0 -1
  239. package/lib/static/roomle-core-hsc/src/loader/configurationGeometryConstructor.d.ts +0 -21
  240. package/lib/static/roomle-core-hsc/src/loader/configurationGeometryConstructor.js +0 -90
  241. package/lib/static/roomle-core-hsc/src/loader/configurationGeometryConstructor.js.map +0 -1
  242. package/lib/static/roomle-core-hsc/src/loader/configurationLoader.d.ts +0 -116
  243. package/lib/static/roomle-core-hsc/src/loader/configurationLoader.js.map +0 -1
  244. package/lib/static/roomle-core-hsc/src/loader/configurationManager.d.ts +0 -41
  245. package/lib/static/roomle-core-hsc/src/loader/configurationManager.js +0 -147
  246. package/lib/static/roomle-core-hsc/src/loader/configurationManager.js.map +0 -1
  247. package/lib/static/roomle-core-hsc/src/loader/loaderUtility.d.ts +0 -81
  248. package/lib/static/roomle-core-hsc/src/loader/loaderUtility.js +0 -141
  249. package/lib/static/roomle-core-hsc/src/loader/loaderUtility.js.map +0 -1
  250. package/lib/static/roomle-core-hsc/src/loader/logger.d.ts +0 -29
  251. package/lib/static/roomle-core-hsc/src/loader/logger.js +0 -61
  252. package/lib/static/roomle-core-hsc/src/loader/logger.js.map +0 -1
  253. package/lib/static/roomle-core-hsc/src/loader/planElementManager.d.ts +0 -96
  254. package/lib/static/roomle-core-hsc/src/loader/planElementManager.js +0 -300
  255. package/lib/static/roomle-core-hsc/src/loader/planElementManager.js.map +0 -1
  256. package/lib/static/roomle-core-hsc/src/loader/rapiAccess.d.ts +0 -70
  257. package/lib/static/roomle-core-hsc/src/loader/rapiAccess.js +0 -227
  258. package/lib/static/roomle-core-hsc/src/loader/rapiAccess.js.map +0 -1
  259. package/lib/static/roomle-core-hsc/toolsCore.d.ts +0 -17
  260. package/lib/static/roomle-core-hsc/toolsCore.js +0 -75
  261. package/lib/static/roomle-core-hsc/toolsCore.js.map +0 -1
  262. package/lib/static/roomle-core-hsc/toolsCoreInterface.d.ts +0 -40
  263. package/lib/static/roomle-core-hsc/toolsCoreInterface.js +0 -8
  264. package/lib/static/roomle-core-hsc/toolsCoreInterface.js.map +0 -1
  265. package/lib/static/roomle-core-hsc/wasm_modern/ConfiguratorKernel.js +0 -74
  266. package/lib/static/roomle-core-hsc/wasm_modern/RoomleCore.js +0 -79
  267. package/lib/static/roomle-core-hsc/wasm_modern/RoomleCore.wasm +0 -0
  268. package/lib/static/roomle-core-hsc/wasm_modern/RoomleToolsCore.js +0 -74
  269. package/lib/stats-helper-cTITQsAT.mjs +0 -108
  270. package/lib/stats-helper-cTITQsAT.mjs.map +0 -1
  271. package/lib/tools-core-CCWbo8fD.mjs +0 -36
  272. package/lib/tools-core-CCWbo8fD.mjs.map +0 -1
  273. /package/lib/static/draco/{README.md → node_modules/three/examples/jsm/libs/draco/README.md} +0 -0
  274. /package/lib/static/draco/{draco_decoder.js → node_modules/three/examples/jsm/libs/draco/gltf/draco_decoder.js} +0 -0
  275. /package/lib/static/draco/{draco_decoder.wasm → node_modules/three/examples/jsm/libs/draco/gltf/draco_decoder.wasm} +0 -0
  276. /package/lib/static/draco/{draco_encoder.js → node_modules/three/examples/jsm/libs/draco/gltf/draco_encoder.js} +0 -0
  277. /package/lib/static/draco/{draco_wasm_wrapper.js → node_modules/three/examples/jsm/libs/draco/gltf/draco_wasm_wrapper.js} +0 -0
  278. /package/lib/static/{asset-loader.worker.js → packages/workers/generated/asset-loader.worker.js} +0 -0
  279. /package/lib/static/{budgeteer.sw.js → packages/workers/generated/budgeteer.sw.js} +0 -0
  280. /package/lib/static/roomle-core-hsc/{configuratorCallback.d.ts → node_modules/roomle-core-hsc/src/embind/configuratorCallback.d.ts} +0 -0
  281. /package/lib/static/roomle-core-hsc/{configuratorCallback.js → node_modules/roomle-core-hsc/src/embind/configuratorCallback.js} +0 -0
  282. /package/lib/static/roomle-core-hsc/{configuratorCallback.js.map → node_modules/roomle-core-hsc/src/embind/configuratorCallback.js.map} +0 -0
  283. /package/lib/static/roomle-core-hsc/{configuratorCore.d.ts → node_modules/roomle-core-hsc/src/embind/configuratorCore.d.ts} +0 -0
  284. /package/lib/static/roomle-core-hsc/{configuratorCore.js → node_modules/roomle-core-hsc/src/embind/configuratorCore.js} +0 -0
  285. /package/lib/static/roomle-core-hsc/{configuratorCore.js.map → node_modules/roomle-core-hsc/src/embind/configuratorCore.js.map} +0 -0
  286. /package/lib/static/roomle-core-hsc/{configuratorCoreInterface.js → node_modules/roomle-core-hsc/src/embind/configuratorCoreInterface.js} +0 -0
  287. /package/lib/static/roomle-core-hsc/{configuratorCoreInterface.js.map → node_modules/roomle-core-hsc/src/embind/configuratorCoreInterface.js.map} +0 -0
  288. /package/lib/static/roomle-core-hsc/{configuratorUtils.d.ts → node_modules/roomle-core-hsc/src/embind/configuratorUtils.d.ts} +0 -0
  289. /package/lib/static/roomle-core-hsc/{configuratorUtils.js → node_modules/roomle-core-hsc/src/embind/configuratorUtils.js} +0 -0
  290. /package/lib/static/roomle-core-hsc/{configuratorUtils.js.map → node_modules/roomle-core-hsc/src/embind/configuratorUtils.js.map} +0 -0
  291. /package/lib/static/roomle-core-hsc/{coreModue.d.ts → node_modules/roomle-core-hsc/src/embind/coreModue.d.ts} +0 -0
  292. /package/lib/static/roomle-core-hsc/{coreModue.js → node_modules/roomle-core-hsc/src/embind/coreModue.js} +0 -0
  293. /package/lib/static/roomle-core-hsc/{coreModue.js.map → node_modules/roomle-core-hsc/src/embind/coreModue.js.map} +0 -0
  294. /package/lib/static/roomle-core-hsc/{coreModule.d.ts → node_modules/roomle-core-hsc/src/embind/coreModule.d.ts} +0 -0
  295. /package/lib/static/roomle-core-hsc/{coreModule.js → node_modules/roomle-core-hsc/src/embind/coreModule.js} +0 -0
  296. /package/lib/static/roomle-core-hsc/{coreModule.js.map → node_modules/roomle-core-hsc/src/embind/coreModule.js.map} +0 -0
  297. /package/lib/static/roomle-core-hsc/{embind → node_modules/roomle-core-hsc/src/embind}/plannerCore.d.ts +0 -0
  298. /package/lib/static/roomle-core-hsc/{embind → node_modules/roomle-core-hsc/src/embind}/plannerCore.js +0 -0
  299. /package/lib/static/roomle-core-hsc/{embind → node_modules/roomle-core-hsc/src/embind}/plannerCore.js.map +0 -0
  300. /package/lib/static/roomle-core-hsc/{embind → node_modules/roomle-core-hsc/src/embind}/plannerCoreCallback.d.ts +0 -0
  301. /package/lib/static/roomle-core-hsc/{embind → node_modules/roomle-core-hsc/src/embind}/plannerCoreCallback.js +0 -0
  302. /package/lib/static/roomle-core-hsc/{embind → node_modules/roomle-core-hsc/src/embind}/plannerCoreCallback.js.map +0 -0
  303. /package/lib/static/roomle-core-hsc/{embind → node_modules/roomle-core-hsc/src/embind}/plannerCoreInterface.js +0 -0
  304. /package/lib/static/roomle-core-hsc/{embind → node_modules/roomle-core-hsc/src/embind}/plannerCoreInterface.js.map +0 -0
  305. /package/lib/static/roomle-core-hsc/{embind → node_modules/roomle-core-hsc/src/embind}/serviceCore.d.ts +0 -0
  306. /package/lib/static/roomle-core-hsc/{embind → node_modules/roomle-core-hsc/src/embind}/serviceCore.js +0 -0
  307. /package/lib/static/roomle-core-hsc/{embind → node_modules/roomle-core-hsc/src/embind}/serviceCore.js.map +0 -0
  308. /package/lib/static/roomle-core-hsc/{embind → node_modules/roomle-core-hsc/src/embind}/serviceCoreInterface.d.ts +0 -0
  309. /package/lib/static/roomle-core-hsc/{embind → node_modules/roomle-core-hsc/src/embind}/serviceCoreInterface.js +0 -0
  310. /package/lib/static/roomle-core-hsc/{embind → node_modules/roomle-core-hsc/src/embind}/serviceCoreInterface.js.map +0 -0
  311. /package/lib/static/roomle-core-hsc/{embind → node_modules/roomle-core-hsc/src/embind}/toolsCore.d.ts +0 -0
  312. /package/lib/static/roomle-core-hsc/{embind → node_modules/roomle-core-hsc/src/embind}/toolsCore.js +0 -0
  313. /package/lib/static/roomle-core-hsc/{embind → node_modules/roomle-core-hsc/src/embind}/toolsCore.js.map +0 -0
  314. /package/lib/static/roomle-core-hsc/{embind → node_modules/roomle-core-hsc/src/embind}/toolsCoreInterface.d.ts +0 -0
  315. /package/lib/static/roomle-core-hsc/{embind → node_modules/roomle-core-hsc/src/embind}/toolsCoreInterface.js +0 -0
  316. /package/lib/static/roomle-core-hsc/{embind → node_modules/roomle-core-hsc/src/embind}/toolsCoreInterface.js.map +0 -0
  317. /package/lib/static/roomle-core-hsc/{configurableObject.d.ts → node_modules/roomle-core-hsc/src/loader/configurableObject.d.ts} +0 -0
  318. /package/lib/static/roomle-core-hsc/{configurableObject.js → node_modules/roomle-core-hsc/src/loader/configurableObject.js} +0 -0
  319. /package/lib/static/roomle-core-hsc/{configurableObject.js.map → node_modules/roomle-core-hsc/src/loader/configurableObject.js.map} +0 -0
  320. /package/lib/static/roomle-core-hsc/{loader → node_modules/roomle-core-hsc/src/loader}/loaderUtility.d.ts +0 -0
  321. /package/lib/static/roomle-core-hsc/{loader → node_modules/roomle-core-hsc/src/loader}/loaderUtility.js +0 -0
  322. /package/lib/static/roomle-core-hsc/{loader → node_modules/roomle-core-hsc/src/loader}/loaderUtility.js.map +0 -0
  323. /package/lib/static/roomle-core-hsc/{loader → node_modules/roomle-core-hsc/src/loader}/logger.d.ts +0 -0
  324. /package/lib/static/roomle-core-hsc/{loader → node_modules/roomle-core-hsc/src/loader}/logger.js +0 -0
  325. /package/lib/static/roomle-core-hsc/{loader → node_modules/roomle-core-hsc/src/loader}/logger.js.map +0 -0
  326. /package/lib/static/roomle-core-hsc/{loader → node_modules/roomle-core-hsc/src/loader}/rapiAccess.d.ts +0 -0
  327. /package/lib/static/roomle-core-hsc/{loader → node_modules/roomle-core-hsc/src/loader}/rapiAccess.js +0 -0
  328. /package/lib/static/roomle-core-hsc/{loader → node_modules/roomle-core-hsc/src/loader}/rapiAccess.js.map +0 -0
  329. /package/lib/static/roomle-core-hsc/{ConfiguratorKernel.js → node_modules/roomle-core-hsc/wasm_modern/ConfiguratorKernel.js} +0 -0
  330. /package/lib/static/roomle-core-hsc/{RoomleCore.js → node_modules/roomle-core-hsc/wasm_modern/RoomleCore.js} +0 -0
  331. /package/lib/static/roomle-core-hsc/{RoomleToolsCore.js → node_modules/roomle-core-hsc/wasm_modern/RoomleToolsCore.js} +0 -0
@@ -0,0 +1,117 @@
1
+ var $jscomp=$jscomp||{};$jscomp.scope={};$jscomp.arrayIteratorImpl=function(k){var n=0;return function(){return n<k.length?{done:!1,value:k[n++]}:{done:!0}}};$jscomp.arrayIterator=function(k){return{next:$jscomp.arrayIteratorImpl(k)}};$jscomp.makeIterator=function(k){var n="undefined"!=typeof Symbol&&Symbol.iterator&&k[Symbol.iterator];return n?n.call(k):$jscomp.arrayIterator(k)};$jscomp.ASSUME_ES5=!1;$jscomp.ASSUME_NO_NATIVE_MAP=!1;$jscomp.ASSUME_NO_NATIVE_SET=!1;$jscomp.SIMPLE_FROUND_POLYFILL=!1;
2
+ $jscomp.ISOLATE_POLYFILLS=!1;$jscomp.FORCE_POLYFILL_PROMISE=!1;$jscomp.FORCE_POLYFILL_PROMISE_WHEN_NO_UNHANDLED_REJECTION=!1;$jscomp.getGlobal=function(k){k=["object"==typeof globalThis&&globalThis,k,"object"==typeof window&&window,"object"==typeof self&&self,"object"==typeof global&&global];for(var n=0;n<k.length;++n){var l=k[n];if(l&&l.Math==Math)return l}throw Error("Cannot find global object");};$jscomp.global=$jscomp.getGlobal(this);
3
+ $jscomp.defineProperty=$jscomp.ASSUME_ES5||"function"==typeof Object.defineProperties?Object.defineProperty:function(k,n,l){if(k==Array.prototype||k==Object.prototype)return k;k[n]=l.value;return k};$jscomp.IS_SYMBOL_NATIVE="function"===typeof Symbol&&"symbol"===typeof Symbol("x");$jscomp.TRUST_ES6_POLYFILLS=!$jscomp.ISOLATE_POLYFILLS||$jscomp.IS_SYMBOL_NATIVE;$jscomp.polyfills={};$jscomp.propertyToPolyfillSymbol={};$jscomp.POLYFILL_PREFIX="$jscp$";
4
+ var $jscomp$lookupPolyfilledValue=function(k,n){var l=$jscomp.propertyToPolyfillSymbol[n];if(null==l)return k[n];l=k[l];return void 0!==l?l:k[n]};$jscomp.polyfill=function(k,n,l,p){n&&($jscomp.ISOLATE_POLYFILLS?$jscomp.polyfillIsolated(k,n,l,p):$jscomp.polyfillUnisolated(k,n,l,p))};
5
+ $jscomp.polyfillUnisolated=function(k,n,l,p){l=$jscomp.global;k=k.split(".");for(p=0;p<k.length-1;p++){var h=k[p];if(!(h in l))return;l=l[h]}k=k[k.length-1];p=l[k];n=n(p);n!=p&&null!=n&&$jscomp.defineProperty(l,k,{configurable:!0,writable:!0,value:n})};
6
+ $jscomp.polyfillIsolated=function(k,n,l,p){var h=k.split(".");k=1===h.length;p=h[0];p=!k&&p in $jscomp.polyfills?$jscomp.polyfills:$jscomp.global;for(var A=0;A<h.length-1;A++){var f=h[A];if(!(f in p))return;p=p[f]}h=h[h.length-1];l=$jscomp.IS_SYMBOL_NATIVE&&"es6"===l?p[h]:null;n=n(l);null!=n&&(k?$jscomp.defineProperty($jscomp.polyfills,h,{configurable:!0,writable:!0,value:n}):n!==l&&(void 0===$jscomp.propertyToPolyfillSymbol[h]&&(l=1E9*Math.random()>>>0,$jscomp.propertyToPolyfillSymbol[h]=$jscomp.IS_SYMBOL_NATIVE?
7
+ $jscomp.global.Symbol(h):$jscomp.POLYFILL_PREFIX+l+"$"+h),$jscomp.defineProperty(p,$jscomp.propertyToPolyfillSymbol[h],{configurable:!0,writable:!0,value:n})))};
8
+ $jscomp.polyfill("Promise",function(k){function n(){this.batch_=null}function l(f){return f instanceof h?f:new h(function(q,v){q(f)})}if(k&&(!($jscomp.FORCE_POLYFILL_PROMISE||$jscomp.FORCE_POLYFILL_PROMISE_WHEN_NO_UNHANDLED_REJECTION&&"undefined"===typeof $jscomp.global.PromiseRejectionEvent)||!$jscomp.global.Promise||-1===$jscomp.global.Promise.toString().indexOf("[native code]")))return k;n.prototype.asyncExecute=function(f){if(null==this.batch_){this.batch_=[];var q=this;this.asyncExecuteFunction(function(){q.executeBatch_()})}this.batch_.push(f)};
9
+ var p=$jscomp.global.setTimeout;n.prototype.asyncExecuteFunction=function(f){p(f,0)};n.prototype.executeBatch_=function(){for(;this.batch_&&this.batch_.length;){var f=this.batch_;this.batch_=[];for(var q=0;q<f.length;++q){var v=f[q];f[q]=null;try{v()}catch(z){this.asyncThrow_(z)}}}this.batch_=null};n.prototype.asyncThrow_=function(f){this.asyncExecuteFunction(function(){throw f;})};var h=function(f){this.state_=0;this.result_=void 0;this.onSettledCallbacks_=[];this.isRejectionHandled_=!1;var q=this.createResolveAndReject_();
10
+ try{f(q.resolve,q.reject)}catch(v){q.reject(v)}};h.prototype.createResolveAndReject_=function(){function f(z){return function(O){v||(v=!0,z.call(q,O))}}var q=this,v=!1;return{resolve:f(this.resolveTo_),reject:f(this.reject_)}};h.prototype.resolveTo_=function(f){if(f===this)this.reject_(new TypeError("A Promise cannot resolve to itself"));else if(f instanceof h)this.settleSameAsPromise_(f);else{a:switch(typeof f){case "object":var q=null!=f;break a;case "function":q=!0;break a;default:q=!1}q?this.resolveToNonPromiseObj_(f):
11
+ this.fulfill_(f)}};h.prototype.resolveToNonPromiseObj_=function(f){var q=void 0;try{q=f.then}catch(v){this.reject_(v);return}"function"==typeof q?this.settleSameAsThenable_(q,f):this.fulfill_(f)};h.prototype.reject_=function(f){this.settle_(2,f)};h.prototype.fulfill_=function(f){this.settle_(1,f)};h.prototype.settle_=function(f,q){if(0!=this.state_)throw Error("Cannot settle("+f+", "+q+"): Promise already settled in state"+this.state_);this.state_=f;this.result_=q;2===this.state_&&this.scheduleUnhandledRejectionCheck_();
12
+ this.executeOnSettledCallbacks_()};h.prototype.scheduleUnhandledRejectionCheck_=function(){var f=this;p(function(){if(f.notifyUnhandledRejection_()){var q=$jscomp.global.console;"undefined"!==typeof q&&q.error(f.result_)}},1)};h.prototype.notifyUnhandledRejection_=function(){if(this.isRejectionHandled_)return!1;var f=$jscomp.global.CustomEvent,q=$jscomp.global.Event,v=$jscomp.global.dispatchEvent;if("undefined"===typeof v)return!0;"function"===typeof f?f=new f("unhandledrejection",{cancelable:!0}):
13
+ "function"===typeof q?f=new q("unhandledrejection",{cancelable:!0}):(f=$jscomp.global.document.createEvent("CustomEvent"),f.initCustomEvent("unhandledrejection",!1,!0,f));f.promise=this;f.reason=this.result_;return v(f)};h.prototype.executeOnSettledCallbacks_=function(){if(null!=this.onSettledCallbacks_){for(var f=0;f<this.onSettledCallbacks_.length;++f)A.asyncExecute(this.onSettledCallbacks_[f]);this.onSettledCallbacks_=null}};var A=new n;h.prototype.settleSameAsPromise_=function(f){var q=this.createResolveAndReject_();
14
+ f.callWhenSettled_(q.resolve,q.reject)};h.prototype.settleSameAsThenable_=function(f,q){var v=this.createResolveAndReject_();try{f.call(q,v.resolve,v.reject)}catch(z){v.reject(z)}};h.prototype.then=function(f,q){function v(t,x){return"function"==typeof t?function(D){try{z(t(D))}catch(R){O(R)}}:x}var z,O,ba=new h(function(t,x){z=t;O=x});this.callWhenSettled_(v(f,z),v(q,O));return ba};h.prototype.catch=function(f){return this.then(void 0,f)};h.prototype.callWhenSettled_=function(f,q){function v(){switch(z.state_){case 1:f(z.result_);
15
+ break;case 2:q(z.result_);break;default:throw Error("Unexpected state: "+z.state_);}}var z=this;null==this.onSettledCallbacks_?A.asyncExecute(v):this.onSettledCallbacks_.push(v);this.isRejectionHandled_=!0};h.resolve=l;h.reject=function(f){return new h(function(q,v){v(f)})};h.race=function(f){return new h(function(q,v){for(var z=$jscomp.makeIterator(f),O=z.next();!O.done;O=z.next())l(O.value).callWhenSettled_(q,v)})};h.all=function(f){var q=$jscomp.makeIterator(f),v=q.next();return v.done?l([]):new h(function(z,
16
+ O){function ba(D){return function(R){t[D]=R;x--;0==x&&z(t)}}var t=[],x=0;do t.push(void 0),x++,l(v.value).callWhenSettled_(ba(t.length-1),O),v=q.next();while(!v.done)})};return h},"es6","es3");$jscomp.owns=function(k,n){return Object.prototype.hasOwnProperty.call(k,n)};$jscomp.assign=$jscomp.TRUST_ES6_POLYFILLS&&"function"==typeof Object.assign?Object.assign:function(k,n){for(var l=1;l<arguments.length;l++){var p=arguments[l];if(p)for(var h in p)$jscomp.owns(p,h)&&(k[h]=p[h])}return k};
17
+ $jscomp.polyfill("Object.assign",function(k){return k||$jscomp.assign},"es6","es3");$jscomp.checkStringArgs=function(k,n,l){if(null==k)throw new TypeError("The 'this' value for String.prototype."+l+" must not be null or undefined");if(n instanceof RegExp)throw new TypeError("First argument to String.prototype."+l+" must not be a regular expression");return k+""};
18
+ $jscomp.polyfill("String.prototype.startsWith",function(k){return k?k:function(n,l){var p=$jscomp.checkStringArgs(this,n,"startsWith");n+="";var h=p.length,A=n.length;l=Math.max(0,Math.min(l|0,p.length));for(var f=0;f<A&&l<h;)if(p[l++]!=n[f++])return!1;return f>=A}},"es6","es3");
19
+ $jscomp.polyfill("Array.prototype.copyWithin",function(k){function n(l){l=Number(l);return Infinity===l||-Infinity===l?l:l|0}return k?k:function(l,p,h){var A=this.length;l=n(l);p=n(p);h=void 0===h?A:n(h);l=0>l?Math.max(A+l,0):Math.min(l,A);p=0>p?Math.max(A+p,0):Math.min(p,A);h=0>h?Math.max(A+h,0):Math.min(h,A);if(l<p)for(;p<h;)p in this?this[l++]=this[p++]:(delete this[l++],p++);else for(h=Math.min(h,A+p-l),l+=h-p;h>p;)--h in this?this[--l]=this[h]:delete this[--l];return this}},"es6","es3");
20
+ $jscomp.typedArrayCopyWithin=function(k){return k?k:Array.prototype.copyWithin};$jscomp.polyfill("Int8Array.prototype.copyWithin",$jscomp.typedArrayCopyWithin,"es6","es5");$jscomp.polyfill("Uint8Array.prototype.copyWithin",$jscomp.typedArrayCopyWithin,"es6","es5");$jscomp.polyfill("Uint8ClampedArray.prototype.copyWithin",$jscomp.typedArrayCopyWithin,"es6","es5");$jscomp.polyfill("Int16Array.prototype.copyWithin",$jscomp.typedArrayCopyWithin,"es6","es5");
21
+ $jscomp.polyfill("Uint16Array.prototype.copyWithin",$jscomp.typedArrayCopyWithin,"es6","es5");$jscomp.polyfill("Int32Array.prototype.copyWithin",$jscomp.typedArrayCopyWithin,"es6","es5");$jscomp.polyfill("Uint32Array.prototype.copyWithin",$jscomp.typedArrayCopyWithin,"es6","es5");$jscomp.polyfill("Float32Array.prototype.copyWithin",$jscomp.typedArrayCopyWithin,"es6","es5");$jscomp.polyfill("Float64Array.prototype.copyWithin",$jscomp.typedArrayCopyWithin,"es6","es5");
22
+ var DracoDecoderModule=function(){var k="undefined"!==typeof document&&document.currentScript?document.currentScript.src:void 0;"undefined"!==typeof __filename&&(k=k||__filename);return function(n){function l(e){return a.locateFile?a.locateFile(e,U):U+e}function p(e,b,c){var d=b+c;for(c=b;e[c]&&!(c>=d);)++c;if(16<c-b&&e.buffer&&va)return va.decode(e.subarray(b,c));for(d="";b<c;){var g=e[b++];if(g&128){var u=e[b++]&63;if(192==(g&224))d+=String.fromCharCode((g&31)<<6|u);else{var X=e[b++]&63;g=224==
23
+ (g&240)?(g&15)<<12|u<<6|X:(g&7)<<18|u<<12|X<<6|e[b++]&63;65536>g?d+=String.fromCharCode(g):(g-=65536,d+=String.fromCharCode(55296|g>>10,56320|g&1023))}}else d+=String.fromCharCode(g)}return d}function h(e,b){return e?p(ea,e,b):""}function A(){var e=ja.buffer;a.HEAP8=Y=new Int8Array(e);a.HEAP16=new Int16Array(e);a.HEAP32=ca=new Int32Array(e);a.HEAPU8=ea=new Uint8Array(e);a.HEAPU16=new Uint16Array(e);a.HEAPU32=V=new Uint32Array(e);a.HEAPF32=new Float32Array(e);a.HEAPF64=new Float64Array(e)}function f(e){if(a.onAbort)a.onAbort(e);
24
+ e="Aborted("+e+")";da(e);wa=!0;e=new WebAssembly.RuntimeError(e+". Build with -sASSERTIONS for more info.");ka(e);throw e;}function q(e){try{if(e==P&&fa)return new Uint8Array(fa);if(ma)return ma(e);throw"both async and sync fetching of the wasm failed";}catch(b){f(b)}}function v(){if(!fa&&(xa||ha)){if("function"==typeof fetch&&!P.startsWith("file://"))return fetch(P,{credentials:"same-origin"}).then(function(e){if(!e.ok)throw"failed to load wasm binary file at '"+P+"'";return e.arrayBuffer()}).catch(function(){return q(P)});
25
+ if(na)return new Promise(function(e,b){na(P,function(c){e(new Uint8Array(c))},b)})}return Promise.resolve().then(function(){return q(P)})}function z(e){for(;0<e.length;)e.shift()(a)}function O(e){this.excPtr=e;this.ptr=e-24;this.set_type=function(b){V[this.ptr+4>>2]=b};this.get_type=function(){return V[this.ptr+4>>2]};this.set_destructor=function(b){V[this.ptr+8>>2]=b};this.get_destructor=function(){return V[this.ptr+8>>2]};this.set_refcount=function(b){ca[this.ptr>>2]=b};this.set_caught=function(b){Y[this.ptr+
26
+ 12>>0]=b?1:0};this.get_caught=function(){return 0!=Y[this.ptr+12>>0]};this.set_rethrown=function(b){Y[this.ptr+13>>0]=b?1:0};this.get_rethrown=function(){return 0!=Y[this.ptr+13>>0]};this.init=function(b,c){this.set_adjusted_ptr(0);this.set_type(b);this.set_destructor(c);this.set_refcount(0);this.set_caught(!1);this.set_rethrown(!1)};this.add_ref=function(){ca[this.ptr>>2]+=1};this.release_ref=function(){var b=ca[this.ptr>>2];ca[this.ptr>>2]=b-1;return 1===b};this.set_adjusted_ptr=function(b){V[this.ptr+
27
+ 16>>2]=b};this.get_adjusted_ptr=function(){return V[this.ptr+16>>2]};this.get_exception_ptr=function(){if(ya(this.get_type()))return V[this.excPtr>>2];var b=this.get_adjusted_ptr();return 0!==b?b:this.excPtr}}function ba(){function e(){if(!la&&(la=!0,a.calledRun=!0,!wa)){za=!0;z(oa);Aa(a);if(a.onRuntimeInitialized)a.onRuntimeInitialized();if(a.postRun)for("function"==typeof a.postRun&&(a.postRun=[a.postRun]);a.postRun.length;)Ba.unshift(a.postRun.shift());z(Ba)}}if(!(0<aa)){if(a.preRun)for("function"==
28
+ typeof a.preRun&&(a.preRun=[a.preRun]);a.preRun.length;)Ca.unshift(a.preRun.shift());z(Ca);0<aa||(a.setStatus?(a.setStatus("Running..."),setTimeout(function(){setTimeout(function(){a.setStatus("")},1);e()},1)):e())}}function t(){}function x(e){return(e||t).__cache__}function D(e,b){var c=x(b),d=c[e];if(d)return d;d=Object.create((b||t).prototype);d.ptr=e;return c[e]=d}function R(e){if("string"===typeof e){for(var b=0,c=0;c<e.length;++c){var d=e.charCodeAt(c);127>=d?b++:2047>=d?b+=2:55296<=d&&57343>=
29
+ d?(b+=4,++c):b+=3}b=Array(b+1);c=0;d=b.length;if(0<d){d=c+d-1;for(var g=0;g<e.length;++g){var u=e.charCodeAt(g);if(55296<=u&&57343>=u){var X=e.charCodeAt(++g);u=65536+((u&1023)<<10)|X&1023}if(127>=u){if(c>=d)break;b[c++]=u}else{if(2047>=u){if(c+1>=d)break;b[c++]=192|u>>6}else{if(65535>=u){if(c+2>=d)break;b[c++]=224|u>>12}else{if(c+3>=d)break;b[c++]=240|u>>18;b[c++]=128|u>>12&63}b[c++]=128|u>>6&63}b[c++]=128|u&63}}b[c]=0}e=r.alloc(b,Y);r.copy(b,Y,e);return e}return e}function pa(e){if("object"===typeof e){var b=
30
+ r.alloc(e,Y);r.copy(e,Y,b);return b}return e}function Z(){throw"cannot construct a VoidPtr, no constructor in IDL";}function S(){this.ptr=Da();x(S)[this.ptr]=this}function Q(){this.ptr=Ea();x(Q)[this.ptr]=this}function W(){this.ptr=Fa();x(W)[this.ptr]=this}function w(){this.ptr=Ga();x(w)[this.ptr]=this}function C(){this.ptr=Ha();x(C)[this.ptr]=this}function F(){this.ptr=Ia();x(F)[this.ptr]=this}function G(){this.ptr=Ja();x(G)[this.ptr]=this}function E(){this.ptr=Ka();x(E)[this.ptr]=this}function T(){this.ptr=
31
+ La();x(T)[this.ptr]=this}function B(){throw"cannot construct a Status, no constructor in IDL";}function H(){this.ptr=Ma();x(H)[this.ptr]=this}function I(){this.ptr=Na();x(I)[this.ptr]=this}function J(){this.ptr=Oa();x(J)[this.ptr]=this}function K(){this.ptr=Pa();x(K)[this.ptr]=this}function L(){this.ptr=Qa();x(L)[this.ptr]=this}function M(){this.ptr=Ra();x(M)[this.ptr]=this}function N(){this.ptr=Sa();x(N)[this.ptr]=this}function y(){this.ptr=Ta();x(y)[this.ptr]=this}function m(){this.ptr=Ua();x(m)[this.ptr]=
32
+ this}n=void 0===n?{}:n;var a="undefined"!=typeof n?n:{},Aa,ka;a.ready=new Promise(function(e,b){Aa=e;ka=b});var Va=!1,Wa=!1;a.onRuntimeInitialized=function(){Va=!0;if(Wa&&"function"===typeof a.onModuleLoaded)a.onModuleLoaded(a)};a.onModuleParsed=function(){Wa=!0;if(Va&&"function"===typeof a.onModuleLoaded)a.onModuleLoaded(a)};a.isVersionSupported=function(e){if("string"!==typeof e)return!1;e=e.split(".");return 2>e.length||3<e.length?!1:1==e[0]&&0<=e[1]&&5>=e[1]?!0:0!=e[0]||10<e[1]?!1:!0};var Xa=
33
+ 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="";if(Ya){var Za=require("fs"),qa=require("path");U=ha?qa.dirname(U)+"/":__dirname+"/";var $a=function(e,b){e=e.startsWith("file://")?new URL(e):qa.normalize(e);return Za.readFileSync(e,b?void 0:"utf8")};var ma=function(e){e=$a(e,!0);e.buffer||(e=new Uint8Array(e));return e};var na=function(e,b,c){e=e.startsWith("file://")?
34
+ new URL(e):qa.normalize(e);Za.readFile(e,function(d,g){d?c(d):b(g.buffer)})};1<process.argv.length&&process.argv[1].replace(/\\/g,"/");process.argv.slice(2);a.inspect=function(){return"[Emscripten Module object]"}}else if(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){var b=new XMLHttpRequest;b.open("GET",e,!1);b.send(null);
35
+ return b.responseText},ha&&(ma=function(e){var b=new XMLHttpRequest;b.open("GET",e,!1);b.responseType="arraybuffer";b.send(null);return new Uint8Array(b.response)}),na=function(e,b,c){var d=new XMLHttpRequest;d.open("GET",e,!0);d.responseType="arraybuffer";d.onload=function(){200==d.status||0==d.status&&d.response?b(d.response):c()};d.onerror=c;d.send(null)};var ud=a.print||console.log.bind(console),da=a.printErr||console.warn.bind(console);Object.assign(a,Xa);Xa=null;var fa;a.wasmBinary&&(fa=a.wasmBinary);
36
+ "object"!=typeof WebAssembly&&f("no native wasm support detected");var ja,wa=!1,va="undefined"!=typeof TextDecoder?new TextDecoder("utf8"):void 0,Y,ea,ca,V,Ca=[],oa=[],Ba=[],za=!1,aa=0,ra=null,ia=null;var P="draco_decoder.wasm";P.startsWith("data:application/octet-stream;base64,")||(P=l(P));var vd=0,wd=[null,[],[]],xd={b:function(e,b,c){(new O(e)).init(b,c);vd++;throw e;},a:function(){f("")},g:function(e,b,c){ea.copyWithin(e,b,b+c)},e:function(e){var b=ea.length;e>>>=0;if(2147483648<e)return!1;for(var c=
37
+ 1;4>=c;c*=2){var d=b*(1+.2/c);d=Math.min(d,e+100663296);var g=Math;d=Math.max(e,d);g=g.min.call(g,2147483648,d+(65536-d%65536)%65536);a:{d=ja.buffer;try{ja.grow(g-d.byteLength+65535>>>16);A();var u=1;break a}catch(X){}u=void 0}if(u)return!0}return!1},f:function(e){return 52},d:function(e,b,c,d,g){return 70},c:function(e,b,c,d){for(var g=0,u=0;u<c;u++){var X=V[b>>2],ab=V[b+4>>2];b+=8;for(var sa=0;sa<ab;sa++){var ta=ea[X+sa],ua=wd[e];0===ta||10===ta?((1===e?ud:da)(p(ua,0)),ua.length=0):ua.push(ta)}g+=
38
+ ab}V[d>>2]=g;return 0}};(function(){function e(g,u){a.asm=g.exports;ja=a.asm.h;A();oa.unshift(a.asm.i);aa--;a.monitorRunDependencies&&a.monitorRunDependencies(aa);0==aa&&(null!==ra&&(clearInterval(ra),ra=null),ia&&(g=ia,ia=null,g()))}function b(g){e(g.instance)}function c(g){return v().then(function(u){return WebAssembly.instantiate(u,d)}).then(function(u){return u}).then(g,function(u){da("failed to asynchronously prepare wasm: "+u);f(u)})}var d={a:xd};aa++;a.monitorRunDependencies&&a.monitorRunDependencies(aa);
39
+ if(a.instantiateWasm)try{return a.instantiateWasm(d,e)}catch(g){da("Module.instantiateWasm callback failed with error: "+g),ka(g)}(function(){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){return WebAssembly.instantiateStreaming(g,d).then(b,function(u){da("wasm streaming compile failed: "+u);da("falling back to ArrayBuffer instantiation");
40
+ return c(b)})})})().catch(ka);return{}})();var bb=a._emscripten_bind_VoidPtr___destroy___0=function(){return(bb=a._emscripten_bind_VoidPtr___destroy___0=a.asm.k).apply(null,arguments)},Da=a._emscripten_bind_DecoderBuffer_DecoderBuffer_0=function(){return(Da=a._emscripten_bind_DecoderBuffer_DecoderBuffer_0=a.asm.l).apply(null,arguments)},cb=a._emscripten_bind_DecoderBuffer_Init_2=function(){return(cb=a._emscripten_bind_DecoderBuffer_Init_2=a.asm.m).apply(null,arguments)},db=a._emscripten_bind_DecoderBuffer___destroy___0=
41
+ function(){return(db=a._emscripten_bind_DecoderBuffer___destroy___0=a.asm.n).apply(null,arguments)},Ea=a._emscripten_bind_AttributeTransformData_AttributeTransformData_0=function(){return(Ea=a._emscripten_bind_AttributeTransformData_AttributeTransformData_0=a.asm.o).apply(null,arguments)},eb=a._emscripten_bind_AttributeTransformData_transform_type_0=function(){return(eb=a._emscripten_bind_AttributeTransformData_transform_type_0=a.asm.p).apply(null,arguments)},fb=a._emscripten_bind_AttributeTransformData___destroy___0=
42
+ function(){return(fb=a._emscripten_bind_AttributeTransformData___destroy___0=a.asm.q).apply(null,arguments)},Fa=a._emscripten_bind_GeometryAttribute_GeometryAttribute_0=function(){return(Fa=a._emscripten_bind_GeometryAttribute_GeometryAttribute_0=a.asm.r).apply(null,arguments)},gb=a._emscripten_bind_GeometryAttribute___destroy___0=function(){return(gb=a._emscripten_bind_GeometryAttribute___destroy___0=a.asm.s).apply(null,arguments)},Ga=a._emscripten_bind_PointAttribute_PointAttribute_0=function(){return(Ga=
43
+ a._emscripten_bind_PointAttribute_PointAttribute_0=a.asm.t).apply(null,arguments)},hb=a._emscripten_bind_PointAttribute_size_0=function(){return(hb=a._emscripten_bind_PointAttribute_size_0=a.asm.u).apply(null,arguments)},ib=a._emscripten_bind_PointAttribute_GetAttributeTransformData_0=function(){return(ib=a._emscripten_bind_PointAttribute_GetAttributeTransformData_0=a.asm.v).apply(null,arguments)},jb=a._emscripten_bind_PointAttribute_attribute_type_0=function(){return(jb=a._emscripten_bind_PointAttribute_attribute_type_0=
44
+ a.asm.w).apply(null,arguments)},kb=a._emscripten_bind_PointAttribute_data_type_0=function(){return(kb=a._emscripten_bind_PointAttribute_data_type_0=a.asm.x).apply(null,arguments)},lb=a._emscripten_bind_PointAttribute_num_components_0=function(){return(lb=a._emscripten_bind_PointAttribute_num_components_0=a.asm.y).apply(null,arguments)},mb=a._emscripten_bind_PointAttribute_normalized_0=function(){return(mb=a._emscripten_bind_PointAttribute_normalized_0=a.asm.z).apply(null,arguments)},nb=a._emscripten_bind_PointAttribute_byte_stride_0=
45
+ function(){return(nb=a._emscripten_bind_PointAttribute_byte_stride_0=a.asm.A).apply(null,arguments)},ob=a._emscripten_bind_PointAttribute_byte_offset_0=function(){return(ob=a._emscripten_bind_PointAttribute_byte_offset_0=a.asm.B).apply(null,arguments)},pb=a._emscripten_bind_PointAttribute_unique_id_0=function(){return(pb=a._emscripten_bind_PointAttribute_unique_id_0=a.asm.C).apply(null,arguments)},qb=a._emscripten_bind_PointAttribute___destroy___0=function(){return(qb=a._emscripten_bind_PointAttribute___destroy___0=
46
+ a.asm.D).apply(null,arguments)},Ha=a._emscripten_bind_AttributeQuantizationTransform_AttributeQuantizationTransform_0=function(){return(Ha=a._emscripten_bind_AttributeQuantizationTransform_AttributeQuantizationTransform_0=a.asm.E).apply(null,arguments)},rb=a._emscripten_bind_AttributeQuantizationTransform_InitFromAttribute_1=function(){return(rb=a._emscripten_bind_AttributeQuantizationTransform_InitFromAttribute_1=a.asm.F).apply(null,arguments)},sb=a._emscripten_bind_AttributeQuantizationTransform_quantization_bits_0=
47
+ function(){return(sb=a._emscripten_bind_AttributeQuantizationTransform_quantization_bits_0=a.asm.G).apply(null,arguments)},tb=a._emscripten_bind_AttributeQuantizationTransform_min_value_1=function(){return(tb=a._emscripten_bind_AttributeQuantizationTransform_min_value_1=a.asm.H).apply(null,arguments)},ub=a._emscripten_bind_AttributeQuantizationTransform_range_0=function(){return(ub=a._emscripten_bind_AttributeQuantizationTransform_range_0=a.asm.I).apply(null,arguments)},vb=a._emscripten_bind_AttributeQuantizationTransform___destroy___0=
48
+ function(){return(vb=a._emscripten_bind_AttributeQuantizationTransform___destroy___0=a.asm.J).apply(null,arguments)},Ia=a._emscripten_bind_AttributeOctahedronTransform_AttributeOctahedronTransform_0=function(){return(Ia=a._emscripten_bind_AttributeOctahedronTransform_AttributeOctahedronTransform_0=a.asm.K).apply(null,arguments)},wb=a._emscripten_bind_AttributeOctahedronTransform_InitFromAttribute_1=function(){return(wb=a._emscripten_bind_AttributeOctahedronTransform_InitFromAttribute_1=a.asm.L).apply(null,
49
+ arguments)},xb=a._emscripten_bind_AttributeOctahedronTransform_quantization_bits_0=function(){return(xb=a._emscripten_bind_AttributeOctahedronTransform_quantization_bits_0=a.asm.M).apply(null,arguments)},yb=a._emscripten_bind_AttributeOctahedronTransform___destroy___0=function(){return(yb=a._emscripten_bind_AttributeOctahedronTransform___destroy___0=a.asm.N).apply(null,arguments)},Ja=a._emscripten_bind_PointCloud_PointCloud_0=function(){return(Ja=a._emscripten_bind_PointCloud_PointCloud_0=a.asm.O).apply(null,
50
+ arguments)},zb=a._emscripten_bind_PointCloud_num_attributes_0=function(){return(zb=a._emscripten_bind_PointCloud_num_attributes_0=a.asm.P).apply(null,arguments)},Ab=a._emscripten_bind_PointCloud_num_points_0=function(){return(Ab=a._emscripten_bind_PointCloud_num_points_0=a.asm.Q).apply(null,arguments)},Bb=a._emscripten_bind_PointCloud___destroy___0=function(){return(Bb=a._emscripten_bind_PointCloud___destroy___0=a.asm.R).apply(null,arguments)},Ka=a._emscripten_bind_Mesh_Mesh_0=function(){return(Ka=
51
+ a._emscripten_bind_Mesh_Mesh_0=a.asm.S).apply(null,arguments)},Cb=a._emscripten_bind_Mesh_num_faces_0=function(){return(Cb=a._emscripten_bind_Mesh_num_faces_0=a.asm.T).apply(null,arguments)},Db=a._emscripten_bind_Mesh_num_attributes_0=function(){return(Db=a._emscripten_bind_Mesh_num_attributes_0=a.asm.U).apply(null,arguments)},Eb=a._emscripten_bind_Mesh_num_points_0=function(){return(Eb=a._emscripten_bind_Mesh_num_points_0=a.asm.V).apply(null,arguments)},Fb=a._emscripten_bind_Mesh___destroy___0=function(){return(Fb=
52
+ a._emscripten_bind_Mesh___destroy___0=a.asm.W).apply(null,arguments)},La=a._emscripten_bind_Metadata_Metadata_0=function(){return(La=a._emscripten_bind_Metadata_Metadata_0=a.asm.X).apply(null,arguments)},Gb=a._emscripten_bind_Metadata___destroy___0=function(){return(Gb=a._emscripten_bind_Metadata___destroy___0=a.asm.Y).apply(null,arguments)},Hb=a._emscripten_bind_Status_code_0=function(){return(Hb=a._emscripten_bind_Status_code_0=a.asm.Z).apply(null,arguments)},Ib=a._emscripten_bind_Status_ok_0=function(){return(Ib=
53
+ a._emscripten_bind_Status_ok_0=a.asm._).apply(null,arguments)},Jb=a._emscripten_bind_Status_error_msg_0=function(){return(Jb=a._emscripten_bind_Status_error_msg_0=a.asm.$).apply(null,arguments)},Kb=a._emscripten_bind_Status___destroy___0=function(){return(Kb=a._emscripten_bind_Status___destroy___0=a.asm.aa).apply(null,arguments)},Ma=a._emscripten_bind_DracoFloat32Array_DracoFloat32Array_0=function(){return(Ma=a._emscripten_bind_DracoFloat32Array_DracoFloat32Array_0=a.asm.ba).apply(null,arguments)},
54
+ Lb=a._emscripten_bind_DracoFloat32Array_GetValue_1=function(){return(Lb=a._emscripten_bind_DracoFloat32Array_GetValue_1=a.asm.ca).apply(null,arguments)},Mb=a._emscripten_bind_DracoFloat32Array_size_0=function(){return(Mb=a._emscripten_bind_DracoFloat32Array_size_0=a.asm.da).apply(null,arguments)},Nb=a._emscripten_bind_DracoFloat32Array___destroy___0=function(){return(Nb=a._emscripten_bind_DracoFloat32Array___destroy___0=a.asm.ea).apply(null,arguments)},Na=a._emscripten_bind_DracoInt8Array_DracoInt8Array_0=
55
+ function(){return(Na=a._emscripten_bind_DracoInt8Array_DracoInt8Array_0=a.asm.fa).apply(null,arguments)},Ob=a._emscripten_bind_DracoInt8Array_GetValue_1=function(){return(Ob=a._emscripten_bind_DracoInt8Array_GetValue_1=a.asm.ga).apply(null,arguments)},Pb=a._emscripten_bind_DracoInt8Array_size_0=function(){return(Pb=a._emscripten_bind_DracoInt8Array_size_0=a.asm.ha).apply(null,arguments)},Qb=a._emscripten_bind_DracoInt8Array___destroy___0=function(){return(Qb=a._emscripten_bind_DracoInt8Array___destroy___0=
56
+ a.asm.ia).apply(null,arguments)},Oa=a._emscripten_bind_DracoUInt8Array_DracoUInt8Array_0=function(){return(Oa=a._emscripten_bind_DracoUInt8Array_DracoUInt8Array_0=a.asm.ja).apply(null,arguments)},Rb=a._emscripten_bind_DracoUInt8Array_GetValue_1=function(){return(Rb=a._emscripten_bind_DracoUInt8Array_GetValue_1=a.asm.ka).apply(null,arguments)},Sb=a._emscripten_bind_DracoUInt8Array_size_0=function(){return(Sb=a._emscripten_bind_DracoUInt8Array_size_0=a.asm.la).apply(null,arguments)},Tb=a._emscripten_bind_DracoUInt8Array___destroy___0=
57
+ function(){return(Tb=a._emscripten_bind_DracoUInt8Array___destroy___0=a.asm.ma).apply(null,arguments)},Pa=a._emscripten_bind_DracoInt16Array_DracoInt16Array_0=function(){return(Pa=a._emscripten_bind_DracoInt16Array_DracoInt16Array_0=a.asm.na).apply(null,arguments)},Ub=a._emscripten_bind_DracoInt16Array_GetValue_1=function(){return(Ub=a._emscripten_bind_DracoInt16Array_GetValue_1=a.asm.oa).apply(null,arguments)},Vb=a._emscripten_bind_DracoInt16Array_size_0=function(){return(Vb=a._emscripten_bind_DracoInt16Array_size_0=
58
+ a.asm.pa).apply(null,arguments)},Wb=a._emscripten_bind_DracoInt16Array___destroy___0=function(){return(Wb=a._emscripten_bind_DracoInt16Array___destroy___0=a.asm.qa).apply(null,arguments)},Qa=a._emscripten_bind_DracoUInt16Array_DracoUInt16Array_0=function(){return(Qa=a._emscripten_bind_DracoUInt16Array_DracoUInt16Array_0=a.asm.ra).apply(null,arguments)},Xb=a._emscripten_bind_DracoUInt16Array_GetValue_1=function(){return(Xb=a._emscripten_bind_DracoUInt16Array_GetValue_1=a.asm.sa).apply(null,arguments)},
59
+ Yb=a._emscripten_bind_DracoUInt16Array_size_0=function(){return(Yb=a._emscripten_bind_DracoUInt16Array_size_0=a.asm.ta).apply(null,arguments)},Zb=a._emscripten_bind_DracoUInt16Array___destroy___0=function(){return(Zb=a._emscripten_bind_DracoUInt16Array___destroy___0=a.asm.ua).apply(null,arguments)},Ra=a._emscripten_bind_DracoInt32Array_DracoInt32Array_0=function(){return(Ra=a._emscripten_bind_DracoInt32Array_DracoInt32Array_0=a.asm.va).apply(null,arguments)},$b=a._emscripten_bind_DracoInt32Array_GetValue_1=
60
+ function(){return($b=a._emscripten_bind_DracoInt32Array_GetValue_1=a.asm.wa).apply(null,arguments)},ac=a._emscripten_bind_DracoInt32Array_size_0=function(){return(ac=a._emscripten_bind_DracoInt32Array_size_0=a.asm.xa).apply(null,arguments)},bc=a._emscripten_bind_DracoInt32Array___destroy___0=function(){return(bc=a._emscripten_bind_DracoInt32Array___destroy___0=a.asm.ya).apply(null,arguments)},Sa=a._emscripten_bind_DracoUInt32Array_DracoUInt32Array_0=function(){return(Sa=a._emscripten_bind_DracoUInt32Array_DracoUInt32Array_0=
61
+ a.asm.za).apply(null,arguments)},cc=a._emscripten_bind_DracoUInt32Array_GetValue_1=function(){return(cc=a._emscripten_bind_DracoUInt32Array_GetValue_1=a.asm.Aa).apply(null,arguments)},dc=a._emscripten_bind_DracoUInt32Array_size_0=function(){return(dc=a._emscripten_bind_DracoUInt32Array_size_0=a.asm.Ba).apply(null,arguments)},ec=a._emscripten_bind_DracoUInt32Array___destroy___0=function(){return(ec=a._emscripten_bind_DracoUInt32Array___destroy___0=a.asm.Ca).apply(null,arguments)},Ta=a._emscripten_bind_MetadataQuerier_MetadataQuerier_0=
62
+ function(){return(Ta=a._emscripten_bind_MetadataQuerier_MetadataQuerier_0=a.asm.Da).apply(null,arguments)},fc=a._emscripten_bind_MetadataQuerier_HasEntry_2=function(){return(fc=a._emscripten_bind_MetadataQuerier_HasEntry_2=a.asm.Ea).apply(null,arguments)},gc=a._emscripten_bind_MetadataQuerier_GetIntEntry_2=function(){return(gc=a._emscripten_bind_MetadataQuerier_GetIntEntry_2=a.asm.Fa).apply(null,arguments)},hc=a._emscripten_bind_MetadataQuerier_GetIntEntryArray_3=function(){return(hc=a._emscripten_bind_MetadataQuerier_GetIntEntryArray_3=
63
+ a.asm.Ga).apply(null,arguments)},ic=a._emscripten_bind_MetadataQuerier_GetDoubleEntry_2=function(){return(ic=a._emscripten_bind_MetadataQuerier_GetDoubleEntry_2=a.asm.Ha).apply(null,arguments)},jc=a._emscripten_bind_MetadataQuerier_GetStringEntry_2=function(){return(jc=a._emscripten_bind_MetadataQuerier_GetStringEntry_2=a.asm.Ia).apply(null,arguments)},kc=a._emscripten_bind_MetadataQuerier_NumEntries_1=function(){return(kc=a._emscripten_bind_MetadataQuerier_NumEntries_1=a.asm.Ja).apply(null,arguments)},
64
+ lc=a._emscripten_bind_MetadataQuerier_GetEntryName_2=function(){return(lc=a._emscripten_bind_MetadataQuerier_GetEntryName_2=a.asm.Ka).apply(null,arguments)},mc=a._emscripten_bind_MetadataQuerier___destroy___0=function(){return(mc=a._emscripten_bind_MetadataQuerier___destroy___0=a.asm.La).apply(null,arguments)},Ua=a._emscripten_bind_Decoder_Decoder_0=function(){return(Ua=a._emscripten_bind_Decoder_Decoder_0=a.asm.Ma).apply(null,arguments)},nc=a._emscripten_bind_Decoder_DecodeArrayToPointCloud_3=function(){return(nc=
65
+ a._emscripten_bind_Decoder_DecodeArrayToPointCloud_3=a.asm.Na).apply(null,arguments)},oc=a._emscripten_bind_Decoder_DecodeArrayToMesh_3=function(){return(oc=a._emscripten_bind_Decoder_DecodeArrayToMesh_3=a.asm.Oa).apply(null,arguments)},pc=a._emscripten_bind_Decoder_GetAttributeId_2=function(){return(pc=a._emscripten_bind_Decoder_GetAttributeId_2=a.asm.Pa).apply(null,arguments)},qc=a._emscripten_bind_Decoder_GetAttributeIdByName_2=function(){return(qc=a._emscripten_bind_Decoder_GetAttributeIdByName_2=
66
+ a.asm.Qa).apply(null,arguments)},rc=a._emscripten_bind_Decoder_GetAttributeIdByMetadataEntry_3=function(){return(rc=a._emscripten_bind_Decoder_GetAttributeIdByMetadataEntry_3=a.asm.Ra).apply(null,arguments)},sc=a._emscripten_bind_Decoder_GetAttribute_2=function(){return(sc=a._emscripten_bind_Decoder_GetAttribute_2=a.asm.Sa).apply(null,arguments)},tc=a._emscripten_bind_Decoder_GetAttributeByUniqueId_2=function(){return(tc=a._emscripten_bind_Decoder_GetAttributeByUniqueId_2=a.asm.Ta).apply(null,arguments)},
67
+ uc=a._emscripten_bind_Decoder_GetMetadata_1=function(){return(uc=a._emscripten_bind_Decoder_GetMetadata_1=a.asm.Ua).apply(null,arguments)},vc=a._emscripten_bind_Decoder_GetAttributeMetadata_2=function(){return(vc=a._emscripten_bind_Decoder_GetAttributeMetadata_2=a.asm.Va).apply(null,arguments)},wc=a._emscripten_bind_Decoder_GetFaceFromMesh_3=function(){return(wc=a._emscripten_bind_Decoder_GetFaceFromMesh_3=a.asm.Wa).apply(null,arguments)},xc=a._emscripten_bind_Decoder_GetTriangleStripsFromMesh_2=
68
+ function(){return(xc=a._emscripten_bind_Decoder_GetTriangleStripsFromMesh_2=a.asm.Xa).apply(null,arguments)},yc=a._emscripten_bind_Decoder_GetTrianglesUInt16Array_3=function(){return(yc=a._emscripten_bind_Decoder_GetTrianglesUInt16Array_3=a.asm.Ya).apply(null,arguments)},zc=a._emscripten_bind_Decoder_GetTrianglesUInt32Array_3=function(){return(zc=a._emscripten_bind_Decoder_GetTrianglesUInt32Array_3=a.asm.Za).apply(null,arguments)},Ac=a._emscripten_bind_Decoder_GetAttributeFloat_3=function(){return(Ac=
69
+ a._emscripten_bind_Decoder_GetAttributeFloat_3=a.asm._a).apply(null,arguments)},Bc=a._emscripten_bind_Decoder_GetAttributeFloatForAllPoints_3=function(){return(Bc=a._emscripten_bind_Decoder_GetAttributeFloatForAllPoints_3=a.asm.$a).apply(null,arguments)},Cc=a._emscripten_bind_Decoder_GetAttributeIntForAllPoints_3=function(){return(Cc=a._emscripten_bind_Decoder_GetAttributeIntForAllPoints_3=a.asm.ab).apply(null,arguments)},Dc=a._emscripten_bind_Decoder_GetAttributeInt8ForAllPoints_3=function(){return(Dc=
70
+ a._emscripten_bind_Decoder_GetAttributeInt8ForAllPoints_3=a.asm.bb).apply(null,arguments)},Ec=a._emscripten_bind_Decoder_GetAttributeUInt8ForAllPoints_3=function(){return(Ec=a._emscripten_bind_Decoder_GetAttributeUInt8ForAllPoints_3=a.asm.cb).apply(null,arguments)},Fc=a._emscripten_bind_Decoder_GetAttributeInt16ForAllPoints_3=function(){return(Fc=a._emscripten_bind_Decoder_GetAttributeInt16ForAllPoints_3=a.asm.db).apply(null,arguments)},Gc=a._emscripten_bind_Decoder_GetAttributeUInt16ForAllPoints_3=
71
+ function(){return(Gc=a._emscripten_bind_Decoder_GetAttributeUInt16ForAllPoints_3=a.asm.eb).apply(null,arguments)},Hc=a._emscripten_bind_Decoder_GetAttributeInt32ForAllPoints_3=function(){return(Hc=a._emscripten_bind_Decoder_GetAttributeInt32ForAllPoints_3=a.asm.fb).apply(null,arguments)},Ic=a._emscripten_bind_Decoder_GetAttributeUInt32ForAllPoints_3=function(){return(Ic=a._emscripten_bind_Decoder_GetAttributeUInt32ForAllPoints_3=a.asm.gb).apply(null,arguments)},Jc=a._emscripten_bind_Decoder_GetAttributeDataArrayForAllPoints_5=
72
+ function(){return(Jc=a._emscripten_bind_Decoder_GetAttributeDataArrayForAllPoints_5=a.asm.hb).apply(null,arguments)},Kc=a._emscripten_bind_Decoder_SkipAttributeTransform_1=function(){return(Kc=a._emscripten_bind_Decoder_SkipAttributeTransform_1=a.asm.ib).apply(null,arguments)},Lc=a._emscripten_bind_Decoder_GetEncodedGeometryType_Deprecated_1=function(){return(Lc=a._emscripten_bind_Decoder_GetEncodedGeometryType_Deprecated_1=a.asm.jb).apply(null,arguments)},Mc=a._emscripten_bind_Decoder_DecodeBufferToPointCloud_2=
73
+ function(){return(Mc=a._emscripten_bind_Decoder_DecodeBufferToPointCloud_2=a.asm.kb).apply(null,arguments)},Nc=a._emscripten_bind_Decoder_DecodeBufferToMesh_2=function(){return(Nc=a._emscripten_bind_Decoder_DecodeBufferToMesh_2=a.asm.lb).apply(null,arguments)},Oc=a._emscripten_bind_Decoder___destroy___0=function(){return(Oc=a._emscripten_bind_Decoder___destroy___0=a.asm.mb).apply(null,arguments)},Pc=a._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_INVALID_TRANSFORM=function(){return(Pc=a._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_INVALID_TRANSFORM=
74
+ a.asm.nb).apply(null,arguments)},Qc=a._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_NO_TRANSFORM=function(){return(Qc=a._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_NO_TRANSFORM=a.asm.ob).apply(null,arguments)},Rc=a._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_QUANTIZATION_TRANSFORM=function(){return(Rc=a._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_QUANTIZATION_TRANSFORM=a.asm.pb).apply(null,arguments)},Sc=a._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_OCTAHEDRON_TRANSFORM=
75
+ function(){return(Sc=a._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_OCTAHEDRON_TRANSFORM=a.asm.qb).apply(null,arguments)},Tc=a._emscripten_enum_draco_GeometryAttribute_Type_INVALID=function(){return(Tc=a._emscripten_enum_draco_GeometryAttribute_Type_INVALID=a.asm.rb).apply(null,arguments)},Uc=a._emscripten_enum_draco_GeometryAttribute_Type_POSITION=function(){return(Uc=a._emscripten_enum_draco_GeometryAttribute_Type_POSITION=a.asm.sb).apply(null,arguments)},Vc=a._emscripten_enum_draco_GeometryAttribute_Type_NORMAL=
76
+ function(){return(Vc=a._emscripten_enum_draco_GeometryAttribute_Type_NORMAL=a.asm.tb).apply(null,arguments)},Wc=a._emscripten_enum_draco_GeometryAttribute_Type_COLOR=function(){return(Wc=a._emscripten_enum_draco_GeometryAttribute_Type_COLOR=a.asm.ub).apply(null,arguments)},Xc=a._emscripten_enum_draco_GeometryAttribute_Type_TEX_COORD=function(){return(Xc=a._emscripten_enum_draco_GeometryAttribute_Type_TEX_COORD=a.asm.vb).apply(null,arguments)},Yc=a._emscripten_enum_draco_GeometryAttribute_Type_GENERIC=
77
+ function(){return(Yc=a._emscripten_enum_draco_GeometryAttribute_Type_GENERIC=a.asm.wb).apply(null,arguments)},Zc=a._emscripten_enum_draco_EncodedGeometryType_INVALID_GEOMETRY_TYPE=function(){return(Zc=a._emscripten_enum_draco_EncodedGeometryType_INVALID_GEOMETRY_TYPE=a.asm.xb).apply(null,arguments)},$c=a._emscripten_enum_draco_EncodedGeometryType_POINT_CLOUD=function(){return($c=a._emscripten_enum_draco_EncodedGeometryType_POINT_CLOUD=a.asm.yb).apply(null,arguments)},ad=a._emscripten_enum_draco_EncodedGeometryType_TRIANGULAR_MESH=
78
+ function(){return(ad=a._emscripten_enum_draco_EncodedGeometryType_TRIANGULAR_MESH=a.asm.zb).apply(null,arguments)},bd=a._emscripten_enum_draco_DataType_DT_INVALID=function(){return(bd=a._emscripten_enum_draco_DataType_DT_INVALID=a.asm.Ab).apply(null,arguments)},cd=a._emscripten_enum_draco_DataType_DT_INT8=function(){return(cd=a._emscripten_enum_draco_DataType_DT_INT8=a.asm.Bb).apply(null,arguments)},dd=a._emscripten_enum_draco_DataType_DT_UINT8=function(){return(dd=a._emscripten_enum_draco_DataType_DT_UINT8=
79
+ a.asm.Cb).apply(null,arguments)},ed=a._emscripten_enum_draco_DataType_DT_INT16=function(){return(ed=a._emscripten_enum_draco_DataType_DT_INT16=a.asm.Db).apply(null,arguments)},fd=a._emscripten_enum_draco_DataType_DT_UINT16=function(){return(fd=a._emscripten_enum_draco_DataType_DT_UINT16=a.asm.Eb).apply(null,arguments)},gd=a._emscripten_enum_draco_DataType_DT_INT32=function(){return(gd=a._emscripten_enum_draco_DataType_DT_INT32=a.asm.Fb).apply(null,arguments)},hd=a._emscripten_enum_draco_DataType_DT_UINT32=
80
+ function(){return(hd=a._emscripten_enum_draco_DataType_DT_UINT32=a.asm.Gb).apply(null,arguments)},id=a._emscripten_enum_draco_DataType_DT_INT64=function(){return(id=a._emscripten_enum_draco_DataType_DT_INT64=a.asm.Hb).apply(null,arguments)},jd=a._emscripten_enum_draco_DataType_DT_UINT64=function(){return(jd=a._emscripten_enum_draco_DataType_DT_UINT64=a.asm.Ib).apply(null,arguments)},kd=a._emscripten_enum_draco_DataType_DT_FLOAT32=function(){return(kd=a._emscripten_enum_draco_DataType_DT_FLOAT32=a.asm.Jb).apply(null,
81
+ arguments)},ld=a._emscripten_enum_draco_DataType_DT_FLOAT64=function(){return(ld=a._emscripten_enum_draco_DataType_DT_FLOAT64=a.asm.Kb).apply(null,arguments)},md=a._emscripten_enum_draco_DataType_DT_BOOL=function(){return(md=a._emscripten_enum_draco_DataType_DT_BOOL=a.asm.Lb).apply(null,arguments)},nd=a._emscripten_enum_draco_DataType_DT_TYPES_COUNT=function(){return(nd=a._emscripten_enum_draco_DataType_DT_TYPES_COUNT=a.asm.Mb).apply(null,arguments)},od=a._emscripten_enum_draco_StatusCode_OK=function(){return(od=
82
+ a._emscripten_enum_draco_StatusCode_OK=a.asm.Nb).apply(null,arguments)},pd=a._emscripten_enum_draco_StatusCode_DRACO_ERROR=function(){return(pd=a._emscripten_enum_draco_StatusCode_DRACO_ERROR=a.asm.Ob).apply(null,arguments)},qd=a._emscripten_enum_draco_StatusCode_IO_ERROR=function(){return(qd=a._emscripten_enum_draco_StatusCode_IO_ERROR=a.asm.Pb).apply(null,arguments)},rd=a._emscripten_enum_draco_StatusCode_INVALID_PARAMETER=function(){return(rd=a._emscripten_enum_draco_StatusCode_INVALID_PARAMETER=
83
+ a.asm.Qb).apply(null,arguments)},sd=a._emscripten_enum_draco_StatusCode_UNSUPPORTED_VERSION=function(){return(sd=a._emscripten_enum_draco_StatusCode_UNSUPPORTED_VERSION=a.asm.Rb).apply(null,arguments)},td=a._emscripten_enum_draco_StatusCode_UNKNOWN_VERSION=function(){return(td=a._emscripten_enum_draco_StatusCode_UNKNOWN_VERSION=a.asm.Sb).apply(null,arguments)};a._malloc=function(){return(a._malloc=a.asm.Tb).apply(null,arguments)};a._free=function(){return(a._free=a.asm.Ub).apply(null,arguments)};
84
+ var ya=function(){return(ya=a.asm.Vb).apply(null,arguments)};a.___start_em_js=15856;a.___stop_em_js=15954;var la;ia=function b(){la||ba();la||(ia=b)};if(a.preInit)for("function"==typeof a.preInit&&(a.preInit=[a.preInit]);0<a.preInit.length;)a.preInit.pop()();ba();t.prototype=Object.create(t.prototype);t.prototype.constructor=t;t.prototype.__class__=t;t.__cache__={};a.WrapperObject=t;a.getCache=x;a.wrapPointer=D;a.castObject=function(b,c){return D(b.ptr,c)};a.NULL=D(0);a.destroy=function(b){if(!b.__destroy__)throw"Error: Cannot destroy object. (Did you create it yourself?)";
85
+ b.__destroy__();delete x(b.__class__)[b.ptr]};a.compare=function(b,c){return b.ptr===c.ptr};a.getPointer=function(b){return b.ptr};a.getClass=function(b){return b.__class__};var r={buffer:0,size:0,pos:0,temps:[],needed:0,prepare:function(){if(r.needed){for(var b=0;b<r.temps.length;b++)a._free(r.temps[b]);r.temps.length=0;a._free(r.buffer);r.buffer=0;r.size+=r.needed;r.needed=0}r.buffer||(r.size+=128,r.buffer=a._malloc(r.size),r.buffer||f(void 0));r.pos=0},alloc:function(b,c){r.buffer||f(void 0);b=
86
+ b.length*c.BYTES_PER_ELEMENT;b=b+7&-8;r.pos+b>=r.size?(0<b||f(void 0),r.needed+=b,c=a._malloc(b),r.temps.push(c)):(c=r.buffer+r.pos,r.pos+=b);return c},copy:function(b,c,d){d>>>=0;switch(c.BYTES_PER_ELEMENT){case 2:d>>>=1;break;case 4:d>>>=2;break;case 8:d>>>=3}for(var g=0;g<b.length;g++)c[d+g]=b[g]}};Z.prototype=Object.create(t.prototype);Z.prototype.constructor=Z;Z.prototype.__class__=Z;Z.__cache__={};a.VoidPtr=Z;Z.prototype.__destroy__=Z.prototype.__destroy__=function(){bb(this.ptr)};S.prototype=
87
+ Object.create(t.prototype);S.prototype.constructor=S;S.prototype.__class__=S;S.__cache__={};a.DecoderBuffer=S;S.prototype.Init=S.prototype.Init=function(b,c){var d=this.ptr;r.prepare();"object"==typeof b&&(b=pa(b));c&&"object"===typeof c&&(c=c.ptr);cb(d,b,c)};S.prototype.__destroy__=S.prototype.__destroy__=function(){db(this.ptr)};Q.prototype=Object.create(t.prototype);Q.prototype.constructor=Q;Q.prototype.__class__=Q;Q.__cache__={};a.AttributeTransformData=Q;Q.prototype.transform_type=Q.prototype.transform_type=
88
+ function(){return eb(this.ptr)};Q.prototype.__destroy__=Q.prototype.__destroy__=function(){fb(this.ptr)};W.prototype=Object.create(t.prototype);W.prototype.constructor=W;W.prototype.__class__=W;W.__cache__={};a.GeometryAttribute=W;W.prototype.__destroy__=W.prototype.__destroy__=function(){gb(this.ptr)};w.prototype=Object.create(t.prototype);w.prototype.constructor=w;w.prototype.__class__=w;w.__cache__={};a.PointAttribute=w;w.prototype.size=w.prototype.size=function(){return hb(this.ptr)};w.prototype.GetAttributeTransformData=
89
+ w.prototype.GetAttributeTransformData=function(){return D(ib(this.ptr),Q)};w.prototype.attribute_type=w.prototype.attribute_type=function(){return jb(this.ptr)};w.prototype.data_type=w.prototype.data_type=function(){return kb(this.ptr)};w.prototype.num_components=w.prototype.num_components=function(){return lb(this.ptr)};w.prototype.normalized=w.prototype.normalized=function(){return!!mb(this.ptr)};w.prototype.byte_stride=w.prototype.byte_stride=function(){return nb(this.ptr)};w.prototype.byte_offset=
90
+ w.prototype.byte_offset=function(){return ob(this.ptr)};w.prototype.unique_id=w.prototype.unique_id=function(){return pb(this.ptr)};w.prototype.__destroy__=w.prototype.__destroy__=function(){qb(this.ptr)};C.prototype=Object.create(t.prototype);C.prototype.constructor=C;C.prototype.__class__=C;C.__cache__={};a.AttributeQuantizationTransform=C;C.prototype.InitFromAttribute=C.prototype.InitFromAttribute=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);return!!rb(c,b)};C.prototype.quantization_bits=
91
+ C.prototype.quantization_bits=function(){return sb(this.ptr)};C.prototype.min_value=C.prototype.min_value=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);return tb(c,b)};C.prototype.range=C.prototype.range=function(){return ub(this.ptr)};C.prototype.__destroy__=C.prototype.__destroy__=function(){vb(this.ptr)};F.prototype=Object.create(t.prototype);F.prototype.constructor=F;F.prototype.__class__=F;F.__cache__={};a.AttributeOctahedronTransform=F;F.prototype.InitFromAttribute=F.prototype.InitFromAttribute=
92
+ function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);return!!wb(c,b)};F.prototype.quantization_bits=F.prototype.quantization_bits=function(){return xb(this.ptr)};F.prototype.__destroy__=F.prototype.__destroy__=function(){yb(this.ptr)};G.prototype=Object.create(t.prototype);G.prototype.constructor=G;G.prototype.__class__=G;G.__cache__={};a.PointCloud=G;G.prototype.num_attributes=G.prototype.num_attributes=function(){return zb(this.ptr)};G.prototype.num_points=G.prototype.num_points=function(){return Ab(this.ptr)};
93
+ G.prototype.__destroy__=G.prototype.__destroy__=function(){Bb(this.ptr)};E.prototype=Object.create(t.prototype);E.prototype.constructor=E;E.prototype.__class__=E;E.__cache__={};a.Mesh=E;E.prototype.num_faces=E.prototype.num_faces=function(){return Cb(this.ptr)};E.prototype.num_attributes=E.prototype.num_attributes=function(){return Db(this.ptr)};E.prototype.num_points=E.prototype.num_points=function(){return Eb(this.ptr)};E.prototype.__destroy__=E.prototype.__destroy__=function(){Fb(this.ptr)};T.prototype=
94
+ Object.create(t.prototype);T.prototype.constructor=T;T.prototype.__class__=T;T.__cache__={};a.Metadata=T;T.prototype.__destroy__=T.prototype.__destroy__=function(){Gb(this.ptr)};B.prototype=Object.create(t.prototype);B.prototype.constructor=B;B.prototype.__class__=B;B.__cache__={};a.Status=B;B.prototype.code=B.prototype.code=function(){return Hb(this.ptr)};B.prototype.ok=B.prototype.ok=function(){return!!Ib(this.ptr)};B.prototype.error_msg=B.prototype.error_msg=function(){return h(Jb(this.ptr))};
95
+ B.prototype.__destroy__=B.prototype.__destroy__=function(){Kb(this.ptr)};H.prototype=Object.create(t.prototype);H.prototype.constructor=H;H.prototype.__class__=H;H.__cache__={};a.DracoFloat32Array=H;H.prototype.GetValue=H.prototype.GetValue=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);return Lb(c,b)};H.prototype.size=H.prototype.size=function(){return Mb(this.ptr)};H.prototype.__destroy__=H.prototype.__destroy__=function(){Nb(this.ptr)};I.prototype=Object.create(t.prototype);I.prototype.constructor=
96
+ I;I.prototype.__class__=I;I.__cache__={};a.DracoInt8Array=I;I.prototype.GetValue=I.prototype.GetValue=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);return Ob(c,b)};I.prototype.size=I.prototype.size=function(){return Pb(this.ptr)};I.prototype.__destroy__=I.prototype.__destroy__=function(){Qb(this.ptr)};J.prototype=Object.create(t.prototype);J.prototype.constructor=J;J.prototype.__class__=J;J.__cache__={};a.DracoUInt8Array=J;J.prototype.GetValue=J.prototype.GetValue=function(b){var c=
97
+ this.ptr;b&&"object"===typeof b&&(b=b.ptr);return Rb(c,b)};J.prototype.size=J.prototype.size=function(){return Sb(this.ptr)};J.prototype.__destroy__=J.prototype.__destroy__=function(){Tb(this.ptr)};K.prototype=Object.create(t.prototype);K.prototype.constructor=K;K.prototype.__class__=K;K.__cache__={};a.DracoInt16Array=K;K.prototype.GetValue=K.prototype.GetValue=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);return Ub(c,b)};K.prototype.size=K.prototype.size=function(){return Vb(this.ptr)};
98
+ K.prototype.__destroy__=K.prototype.__destroy__=function(){Wb(this.ptr)};L.prototype=Object.create(t.prototype);L.prototype.constructor=L;L.prototype.__class__=L;L.__cache__={};a.DracoUInt16Array=L;L.prototype.GetValue=L.prototype.GetValue=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);return Xb(c,b)};L.prototype.size=L.prototype.size=function(){return Yb(this.ptr)};L.prototype.__destroy__=L.prototype.__destroy__=function(){Zb(this.ptr)};M.prototype=Object.create(t.prototype);M.prototype.constructor=
99
+ M;M.prototype.__class__=M;M.__cache__={};a.DracoInt32Array=M;M.prototype.GetValue=M.prototype.GetValue=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);return $b(c,b)};M.prototype.size=M.prototype.size=function(){return ac(this.ptr)};M.prototype.__destroy__=M.prototype.__destroy__=function(){bc(this.ptr)};N.prototype=Object.create(t.prototype);N.prototype.constructor=N;N.prototype.__class__=N;N.__cache__={};a.DracoUInt32Array=N;N.prototype.GetValue=N.prototype.GetValue=function(b){var c=
100
+ this.ptr;b&&"object"===typeof b&&(b=b.ptr);return cc(c,b)};N.prototype.size=N.prototype.size=function(){return dc(this.ptr)};N.prototype.__destroy__=N.prototype.__destroy__=function(){ec(this.ptr)};y.prototype=Object.create(t.prototype);y.prototype.constructor=y;y.prototype.__class__=y;y.__cache__={};a.MetadataQuerier=y;y.prototype.HasEntry=y.prototype.HasEntry=function(b,c){var d=this.ptr;r.prepare();b&&"object"===typeof b&&(b=b.ptr);c=c&&"object"===typeof c?c.ptr:R(c);return!!fc(d,b,c)};y.prototype.GetIntEntry=
101
+ y.prototype.GetIntEntry=function(b,c){var d=this.ptr;r.prepare();b&&"object"===typeof b&&(b=b.ptr);c=c&&"object"===typeof c?c.ptr:R(c);return gc(d,b,c)};y.prototype.GetIntEntryArray=y.prototype.GetIntEntryArray=function(b,c,d){var g=this.ptr;r.prepare();b&&"object"===typeof b&&(b=b.ptr);c=c&&"object"===typeof c?c.ptr:R(c);d&&"object"===typeof d&&(d=d.ptr);hc(g,b,c,d)};y.prototype.GetDoubleEntry=y.prototype.GetDoubleEntry=function(b,c){var d=this.ptr;r.prepare();b&&"object"===typeof b&&(b=b.ptr);c=
102
+ c&&"object"===typeof c?c.ptr:R(c);return ic(d,b,c)};y.prototype.GetStringEntry=y.prototype.GetStringEntry=function(b,c){var d=this.ptr;r.prepare();b&&"object"===typeof b&&(b=b.ptr);c=c&&"object"===typeof c?c.ptr:R(c);return h(jc(d,b,c))};y.prototype.NumEntries=y.prototype.NumEntries=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);return kc(c,b)};y.prototype.GetEntryName=y.prototype.GetEntryName=function(b,c){var d=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=
103
+ c.ptr);return h(lc(d,b,c))};y.prototype.__destroy__=y.prototype.__destroy__=function(){mc(this.ptr)};m.prototype=Object.create(t.prototype);m.prototype.constructor=m;m.prototype.__class__=m;m.__cache__={};a.Decoder=m;m.prototype.DecodeArrayToPointCloud=m.prototype.DecodeArrayToPointCloud=function(b,c,d){var g=this.ptr;r.prepare();"object"==typeof b&&(b=pa(b));c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);return D(nc(g,b,c,d),B)};m.prototype.DecodeArrayToMesh=m.prototype.DecodeArrayToMesh=
104
+ function(b,c,d){var g=this.ptr;r.prepare();"object"==typeof b&&(b=pa(b));c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);return D(oc(g,b,c,d),B)};m.prototype.GetAttributeId=m.prototype.GetAttributeId=function(b,c){var d=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);return pc(d,b,c)};m.prototype.GetAttributeIdByName=m.prototype.GetAttributeIdByName=function(b,c){var d=this.ptr;r.prepare();b&&"object"===typeof b&&(b=b.ptr);c=c&&"object"===typeof c?
105
+ c.ptr:R(c);return qc(d,b,c)};m.prototype.GetAttributeIdByMetadataEntry=m.prototype.GetAttributeIdByMetadataEntry=function(b,c,d){var g=this.ptr;r.prepare();b&&"object"===typeof b&&(b=b.ptr);c=c&&"object"===typeof c?c.ptr:R(c);d=d&&"object"===typeof d?d.ptr:R(d);return rc(g,b,c,d)};m.prototype.GetAttribute=m.prototype.GetAttribute=function(b,c){var d=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);return D(sc(d,b,c),w)};m.prototype.GetAttributeByUniqueId=m.prototype.GetAttributeByUniqueId=
106
+ function(b,c){var d=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);return D(tc(d,b,c),w)};m.prototype.GetMetadata=m.prototype.GetMetadata=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);return D(uc(c,b),T)};m.prototype.GetAttributeMetadata=m.prototype.GetAttributeMetadata=function(b,c){var d=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);return D(vc(d,b,c),T)};m.prototype.GetFaceFromMesh=m.prototype.GetFaceFromMesh=function(b,
107
+ c,d){var g=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);return!!wc(g,b,c,d)};m.prototype.GetTriangleStripsFromMesh=m.prototype.GetTriangleStripsFromMesh=function(b,c){var d=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);return xc(d,b,c)};m.prototype.GetTrianglesUInt16Array=m.prototype.GetTrianglesUInt16Array=function(b,c,d){var g=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);
108
+ d&&"object"===typeof d&&(d=d.ptr);return!!yc(g,b,c,d)};m.prototype.GetTrianglesUInt32Array=m.prototype.GetTrianglesUInt32Array=function(b,c,d){var g=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);return!!zc(g,b,c,d)};m.prototype.GetAttributeFloat=m.prototype.GetAttributeFloat=function(b,c,d){var g=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);return!!Ac(g,b,c,d)};m.prototype.GetAttributeFloatForAllPoints=
109
+ m.prototype.GetAttributeFloatForAllPoints=function(b,c,d){var g=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);return!!Bc(g,b,c,d)};m.prototype.GetAttributeIntForAllPoints=m.prototype.GetAttributeIntForAllPoints=function(b,c,d){var g=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);return!!Cc(g,b,c,d)};m.prototype.GetAttributeInt8ForAllPoints=m.prototype.GetAttributeInt8ForAllPoints=
110
+ function(b,c,d){var g=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);return!!Dc(g,b,c,d)};m.prototype.GetAttributeUInt8ForAllPoints=m.prototype.GetAttributeUInt8ForAllPoints=function(b,c,d){var g=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);return!!Ec(g,b,c,d)};m.prototype.GetAttributeInt16ForAllPoints=m.prototype.GetAttributeInt16ForAllPoints=function(b,c,d){var g=this.ptr;
111
+ b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);return!!Fc(g,b,c,d)};m.prototype.GetAttributeUInt16ForAllPoints=m.prototype.GetAttributeUInt16ForAllPoints=function(b,c,d){var g=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);return!!Gc(g,b,c,d)};m.prototype.GetAttributeInt32ForAllPoints=m.prototype.GetAttributeInt32ForAllPoints=function(b,c,d){var g=this.ptr;b&&"object"===typeof b&&
112
+ (b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);return!!Hc(g,b,c,d)};m.prototype.GetAttributeUInt32ForAllPoints=m.prototype.GetAttributeUInt32ForAllPoints=function(b,c,d){var g=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);return!!Ic(g,b,c,d)};m.prototype.GetAttributeDataArrayForAllPoints=m.prototype.GetAttributeDataArrayForAllPoints=function(b,c,d,g,u){var X=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&
113
+ "object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);g&&"object"===typeof g&&(g=g.ptr);u&&"object"===typeof u&&(u=u.ptr);return!!Jc(X,b,c,d,g,u)};m.prototype.SkipAttributeTransform=m.prototype.SkipAttributeTransform=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);Kc(c,b)};m.prototype.GetEncodedGeometryType_Deprecated=m.prototype.GetEncodedGeometryType_Deprecated=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);return Lc(c,b)};m.prototype.DecodeBufferToPointCloud=
114
+ m.prototype.DecodeBufferToPointCloud=function(b,c){var d=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);return D(Mc(d,b,c),B)};m.prototype.DecodeBufferToMesh=m.prototype.DecodeBufferToMesh=function(b,c){var d=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);return D(Nc(d,b,c),B)};m.prototype.__destroy__=m.prototype.__destroy__=function(){Oc(this.ptr)};(function(){function b(){a.ATTRIBUTE_INVALID_TRANSFORM=Pc();a.ATTRIBUTE_NO_TRANSFORM=Qc();
115
+ a.ATTRIBUTE_QUANTIZATION_TRANSFORM=Rc();a.ATTRIBUTE_OCTAHEDRON_TRANSFORM=Sc();a.INVALID=Tc();a.POSITION=Uc();a.NORMAL=Vc();a.COLOR=Wc();a.TEX_COORD=Xc();a.GENERIC=Yc();a.INVALID_GEOMETRY_TYPE=Zc();a.POINT_CLOUD=$c();a.TRIANGULAR_MESH=ad();a.DT_INVALID=bd();a.DT_INT8=cd();a.DT_UINT8=dd();a.DT_INT16=ed();a.DT_UINT16=fd();a.DT_INT32=gd();a.DT_UINT32=hd();a.DT_INT64=id();a.DT_UINT64=jd();a.DT_FLOAT32=kd();a.DT_FLOAT64=ld();a.DT_BOOL=md();a.DT_TYPES_COUNT=nd();a.OK=od();a.DRACO_ERROR=pd();a.IO_ERROR=qd();
116
+ a.INVALID_PARAMETER=rd();a.UNSUPPORTED_VERSION=sd();a.UNKNOWN_VERSION=td()}za?b():oa.unshift(b)})();if("function"===typeof a.onModuleParsed)a.onModuleParsed();a.Decoder.prototype.GetEncodedGeometryType=function(b){if(b.__class__&&b.__class__===a.DecoderBuffer)return a.Decoder.prototype.GetEncodedGeometryType_Deprecated(b);if(8>b.byteLength)return a.INVALID_GEOMETRY_TYPE;switch(b[7]){case 0:return a.POINT_CLOUD;case 1:return a.TRIANGULAR_MESH;default:return a.INVALID_GEOMETRY_TYPE}};return n.ready}}();
117
+ "object"===typeof exports&&"object"===typeof module?module.exports=DracoDecoderModule:"function"===typeof define&&define.amd?define([],function(){return DracoDecoderModule}):"object"===typeof exports&&(exports.DracoDecoderModule=DracoDecoderModule);
@@ -0,0 +1 @@
1
+ {"name": "roomle-core-hsc", "version": "2.74.0-alpha.1" }
@@ -649,6 +649,7 @@ export interface ConfiguratorContainer {
649
649
  UnitMeasureFormatter: UnitMeasureFormatter;
650
650
  ConfigurationExporter: ConfigurationExporter;
651
651
  getVersion(): string;
652
+ resetIds(): void;
652
653
  toUnit(value: number): Unit;
653
654
  toUnitFormat(value: number): UnitStringType;
654
655
  registerConfiguratorCallback(callback: ConfiguratorCallback): void;
@@ -394,6 +394,7 @@ export interface PlanElement extends AbstractModel {
394
394
  getRootComponentCenter(): Vector3;
395
395
  getMeshCenter(): Vector3;
396
396
  getMeshOffsetRelativeToObject(): Vector3;
397
+ getCustomDataJson(): string;
397
398
  isLocked(): boolean;
398
399
  isValid(): boolean;
399
400
  readonly hidden: boolean;
@@ -664,6 +665,7 @@ export interface PlanInteractionHandler {
664
665
  setObjectFixedZ(object: PlanObject, shouldFlipZ: boolean): void;
665
666
  setObjectCustomColor(object: PlanObject, rgbColor: number, useCustomColor: boolean): void;
666
667
  setObjectCustomLabel(object: PlanObject, label: string): void;
668
+ setElementCustomDataJson(element: PlanElement, customDataJson: string): void;
667
669
  setObjectSize(object: PlanObject, newSize: Vector3, anchor: ResizingAnchor): void;
668
670
  deleteObjectsInGroup(group: ObjectGroup): void;
669
671
  replaceObject(objectToBeReplaced: PlanElement, replacement: PlanElement): void;
@@ -17,5 +17,6 @@ export declare class ConfigurationGeometryConstructor {
17
17
  registerCallbacks(): void;
18
18
  unregisterCallbacks(): void;
19
19
  constructMesh(configurationId: string): Promise<MeshConstructionData>;
20
+ constructMeshFromJson(configurationJson: string): Promise<MeshConstructionData>;
20
21
  private logMesh;
21
22
  }
@@ -60,8 +60,28 @@ class ConfigurationGeometryConstructor {
60
60
  const core = this._configuratorCore.getConfigurator();
61
61
  this.registerCallbacks();
62
62
  core === null || core === void 0 ? void 0 : core.clearAll();
63
- await this._configurationLoader.load(configurationId);
64
- const meshData = await this._configurationConstructor.construct(1);
63
+ const planObjectId = await this._configurationLoader.load(configurationId);
64
+ const meshData = await this._configurationConstructor.construct(planObjectId !== null && planObjectId !== void 0 ? planObjectId : 1);
65
+ this.unregisterCallbacks();
66
+ this.logMesh(meshData);
67
+ return (0, loaderUtility_1.createConstructionData)(meshData, (_a = this._configuratorCore) === null || _a === void 0 ? void 0 : _a.getConfigurator());
68
+ }
69
+ async constructMeshFromJson(configurationJson) {
70
+ var _a;
71
+ if (!this._configuratorCore ||
72
+ !this._configurationLoader ||
73
+ !this._configurationConstructor) {
74
+ return {
75
+ meshData: { meshes: [], materials: [] },
76
+ materialProperties: [],
77
+ planComponents: [],
78
+ };
79
+ }
80
+ const core = this._configuratorCore.getConfigurator();
81
+ this.registerCallbacks();
82
+ core === null || core === void 0 ? void 0 : core.clearAll();
83
+ const planObjectId = await this._configurationLoader.loadConfigurationJson(configurationJson);
84
+ const meshData = await this._configurationConstructor.construct(planObjectId !== null && planObjectId !== void 0 ? planObjectId : 1);
65
85
  this.unregisterCallbacks();
66
86
  this.logMesh(meshData);
67
87
  return (0, loaderUtility_1.createConstructionData)(meshData, (_a = this._configuratorCore) === null || _a === void 0 ? void 0 : _a.getConfigurator());
@@ -1 +1 @@
1
- {"version":3,"file":"configurationGeometryConstructor.js","sourceRoot":"","sources":["../../../src/loader/configurationGeometryConstructor.ts"],"names":[],"mappings":";;;AAAA,yEAA6E;AAC7E,iEAAsE;AAGtE,+DAG+B;AAE/B,mDAAyD;AAEzD,qCAAkC;AAClC,6CAA4C;AAE5C,MAAa,gCAAgC;IAU3C,YACE,aAAsC,EACtC,MAAwB;QATlB,qBAAgB,GACtB,IAAI,kDAA2B,EAAE,CAAC;QAUlC,IAAI,CAAC,cAAc,GAAG,aAAa,aAAb,aAAa,cAAb,aAAa,GAAI,IAAI,yBAAY,EAAE,CAAC;QAC1D,IAAI,CAAC,OAAO,GAAG,MAAM,aAAN,MAAM,cAAN,MAAM,GAAI,IAAI,eAAM,EAAE,CAAC;IACxC,CAAC;IAEM,QAAQ;;QACb,MAAM,IAAI,GAAG,MAAA,IAAI,CAAC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C1B,MAAA,MAAA,QAAQ,CAAC,cAAc,0CAAE,MAAM,mCAAI,CACrC,EAAE,CACH,CAAC;QACJ,CAAC,CAAC,CAAC;IACL,CAAC;;AAhKH,4EAiKC;AAhKe,uDAAsB,GAAG,KAAK,AAAR,CAAS"}
@@ -67,6 +67,7 @@ export declare class ConfigurationRequests implements ConfigurationRequestsInter
67
67
  constructor(configuratorModule: ConfiguratorContainer, configurator: ConfiguratorKernel, assetRequests: AssetRequestsInterface, configurationObjectCallbacks?: ConfigurationObjectCallbacks, logger?: LoggerInterface, parameters?: any);
68
68
  get configurator(): ConfiguratorKernel;
69
69
  load(configurationId: string): Promise<number | null>;
70
+ loadConfigurationJson(configurationJson: string): Promise<number | null>;
70
71
  changeParameters(objectRuntimeId: number, parametersToBeChanged: KeyValuePair[]): Promise<void>;
71
72
  batchLoad(): Promise<void>;
72
73
  loadConfigurationDefinition(configurationId: string): Promise<string>;
@@ -52,10 +52,7 @@ class ConfigurationRequests {
52
52
  return this._configurator;
53
53
  }
54
54
  async load(configurationId) {
55
- var _a;
56
55
  this._logger.logProgress(`ConfigurationRequests: load ${configurationId}`);
57
- ConfigurationRequests.conversationId++;
58
- const conversationId = ConfigurationRequests.conversationId;
59
56
  let configurationJson;
60
57
  const countColons = configurationId.split(':').length - 1;
61
58
  if (configurationId.startsWith('component@')) {
@@ -69,6 +66,12 @@ class ConfigurationRequests {
69
66
  configurationJson =
70
67
  await this.loadConfigurationDefinition(configurationId);
71
68
  }
69
+ return this.loadConfigurationJson(configurationJson);
70
+ }
71
+ async loadConfigurationJson(configurationJson) {
72
+ var _a;
73
+ ConfigurationRequests.conversationId++;
74
+ const conversationId = ConfigurationRequests.conversationId;
72
75
  const bounds = { x: 0, y: 0, z: 0 };
73
76
  this._configurator.loadConfiguration(conversationId, configurationJson, bounds);
74
77
  await this.batchLoad();
@@ -77,7 +80,6 @@ class ConfigurationRequests {
77
80
  planObjectId = (_a = this._conversationMap.get(conversationId)) !== null && _a !== void 0 ? _a : null;
78
81
  this._conversationMap.delete(conversationId);
79
82
  }
80
- this._logger.logProgress(`ConfigurationRequests: loaded ${configurationId}`);
81
83
  return planObjectId;
82
84
  }
83
85
  async changeParameters(objectRuntimeId, parametersToBeChanged) {
@@ -0,0 +1 @@
1
+ {"version":3,"file":"configurationLoader.js","sourceRoot":"","sources":["../../../src/loader/configurationLoader.ts"],"names":[],"mappings":";;;AAUA,mFAAsE;AAMtE,qCAAkC;AAmBlC,MAAa,aAAa;IAIxB,YAAmB,aAAqC;QAFhD,WAAM,GAA8B,IAAI,GAAG,EAAE,CAAC;QAGpD,IAAI,CAAC,cAAc,GAAG,aAAa,CAAC;IACtC,CAAC;IAED,IAAW,WAAW;QACpB,OAAO,IAAI,CAAC,MAAM,CAAC;IACrB,CAAC;IAEM,KAAK,CAAC,aAAa,CAAC,WAAqB;QAC9C,MAAM,SAAS,GAAmB,EAAE,CAAC;QACrC,MAAM,sBAAsB,GAAa,EAAE,CAAC;QAC5C,WAAW,CAAC,OAAO,CAAC,CAAC,UAAU,EAAE,EAAE;YACjC,IAAI,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,UAAU,CAAC,EAAE,CAAC;gBAChC,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,UAAU,CAAiB,CAAC,CAAC;YAC9D,CAAC;iBAAM,CAAC;gBACN,sBAAsB,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;YAC1C,CAAC;QACH,CAAC,CAAC,CAAC;QACH,IAAI,sBAAsB,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;YACtC,MAAM,YAAY,GAAQ,CAAC,MAAM,IAAI,CAAC,cAAc,CAAC,aAAa,CAChE,sBAAsB,CACvB,CAAmB,CAAC;YACrB,YAAY,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC,QAAsB,EAAE,EAAE;gBACxD,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,QAAQ,CAAC,EAAE,EAAE,QAAQ,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CAAC,UAAU,GAAG,UAAU,CAAC;YACjC,QAAQ,CAAC,SAAS,GAAG,YAAY,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;YAClD,QAAQ,CAAC,WAAW,GAAG,WAAW;gBAChC,CAAC,CAAC,YAAY,CAAC,IAAI,CAAC,WAAW,CAAC;gBAChC,CAAC,CAAC,IAAI,CAAC;YACT,QAAQ,CAAC,kBAAkB,GAAG,kBAAkB,CAAC;QACnD,CAAC;IACH,CAAC;IAEM,UAAU,CAAC,mBAA2B,EAAE,OAAe,IAAS,CAAC;IAEjE,sBAAsB,CAAC,aAAqB,IAAS,CAAC;CAC9D;AAnKD,4DAmKC"}
@@ -25,6 +25,7 @@ export declare class ConfigurationManager implements ConfigurationObjectCallback
25
25
  get meshes(): Map<number, MeshConstructionData>;
26
26
  dispose(): void;
27
27
  clearAll(): void;
28
+ resetIds(): void;
28
29
  static newConfigurationManager(assetRequests?: AssetRequestsInterface, logger?: LoggerInterface, configuratorCoreInstance?: ConfiguratorInstanceInterface, materialCache?: MaterialCache): Promise<ConfigurationManager>;
29
30
  loadConfiguration(configurationId: string): Promise<ConfigurableObject | null>;
30
31
  get configurationExporter(): ConfigurationExporter;
@@ -42,6 +42,10 @@ class ConfigurationManager {
42
42
  this._meshes.clear();
43
43
  (_a = this._configuratorKernel) === null || _a === void 0 ? void 0 : _a.clearAll();
44
44
  }
45
+ resetIds() {
46
+ var _a, _b;
47
+ (_b = (_a = this._configuratorCoreInstance) === null || _a === void 0 ? void 0 : _a.getConfiguratorModule()) === null || _b === void 0 ? void 0 : _b.resetIds();
48
+ }
45
49
  static async newConfigurationManager(assetRequests, logger, configuratorCoreInstance, materialCache) {
46
50
  const configurationManager = new ConfigurationManager(assetRequests, logger, materialCache);
47
51
  await configurationManager._initConfigurator(configuratorCoreInstance);
@@ -0,0 +1 @@
1
+ {"version":3,"file":"configurationManager.js","sourceRoot":"","sources":["../../../src/loader/configurationManager.ts"],"names":[],"mappings":";;;AAAA,yEAA6E;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G,IAAI,CAAC,UAAU,CAAC,GAAG,CAAC,eAAe,CAAC,CAAC;YAChE,IAAI,kBAAkB,EAAE,CAAC;gBACvB,kBAAkB,CAAC,aAAa,CAAC,uBAAuB,EAAE,IAAI,EAAE,KAAK,CAAC,CAAC;gBACvE,IAAI,CAAC,OAAO,CAAC,WAAW,CACtB,wCAAwC,eAAe,UAAU,CAClE,CAAC;YACJ,CAAC;QACH,CAAC;aAAM,CAAC;YACN,OAAO,CAAC,GAAG,CAAC,kBAAkB,CAAC,CAAC;QAClC,CAAC;IACH,CAAC;IAED,aAAa,CAAC,eAAuB;QACnC,IAAI,IAAI,CAAC,UAAU,CAAC,GAAG,CAAC,eAAe,CAAC,EAAE,CAAC;YACzC,MAAM,kBAAkB,GAAG,IAAI,CAAC,UAAU,CAAC,GAAG,CAAC,eAAe,CAAC,CAAC;YAChE,IAAI,kBAAkB,EAAE,CAAC;gBACvB,kBAAkB,CAAC,iBAAiB,EAAE,CAAC;YACzC,CAAC;YACD,IAAI,CAAC,UAAU,CAAC,MAAM,CAAC,eAAe,CAAC,CAAC;YACxC,IAAI,CAAC,OAAO,CAAC,WAAW,CACtB,wCAAwC,eAAe,UAAU,CAClE,CAAC;QACJ,CAAC;IACH,CAAC;CACF;AAxND,oDAwNC"}
@@ -77,6 +77,8 @@ export declare class PlanElementManager {
77
77
  getCatalogItem(catalogItemId: string): CatalogItemData | undefined;
78
78
  static newPlanElementManager(assetRequests?: AssetRequestsInterface, logger?: LoggerInterface, coreModule?: CoreModule, callbacks?: PlanElementCallbacks): Promise<PlanElementManager>;
79
79
  loadPlanFromId(_planId: string): Promise<void>;
80
+ loadPlanFromXml(planXml: string): Promise<void>;
81
+ private _loadPlanFromXmlString;
80
82
  createGeometry(): Promise<void>;
81
83
  createWallGeometry2d(): void;
82
84
  addCatalogItem(_catalogItem: CatalogItemData): void;
@@ -71,12 +71,21 @@ class PlanElementManager {
71
71
  return planElementManager;
72
72
  }
73
73
  async loadPlanFromId(_planId) {
74
- var _a, _b;
74
+ var _a;
75
75
  const planXML = await this._loadPlanXML(_planId);
76
- this._plan = (_a = this._planInteractionHandler) === null || _a === void 0 ? void 0 : _a.loadPlanXML(planXML);
76
+ this._loadPlanFromXmlString(planXML);
77
+ await ((_a = this._configurationManager) === null || _a === void 0 ? void 0 : _a.finishLoadingConfigurations());
78
+ }
79
+ async loadPlanFromXml(planXml) {
80
+ var _a;
81
+ this._loadPlanFromXmlString(planXml);
82
+ await ((_a = this._configurationManager) === null || _a === void 0 ? void 0 : _a.finishLoadingConfigurations());
83
+ }
84
+ _loadPlanFromXmlString(planXml) {
85
+ var _a;
86
+ this._plan = (_a = this._planInteractionHandler) === null || _a === void 0 ? void 0 : _a.loadPlanXML(planXml);
77
87
  this.loadCatalogItemsOfPlanElementMaterials();
78
88
  this._plannerCallbackHandler.finishLoadingCatalogItems();
79
- await ((_b = this._configurationManager) === null || _b === void 0 ? void 0 : _b.finishLoadingConfigurations());
80
89
  }
81
90
  async createGeometry() {
82
91
  var _a;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"planElementManager.js","sourceRoot":"","sources":["../../../src/loader/planElementManager.ts"],"names":[],"mappings":";;;AAKA,mEAA6D;AAE7D,uDAG+B;AAC/B,uEAAuE;AAOvE,yEAUwC;AAKxC,+DAAsD;AACtD,iEAA8D;AAE9D,qCAAmE;AAEnE,6CAA4C;AA4D5C,MAAa,kBAAkB;IAe7B,YACE,aAAsC,EACtC,MAAwB,EACxB,SAAgC;QAV1B,kBAAa,GAAsB,EAAE,CAAC;QAEtC,kBAAa,GAAkB,EAAE,CAAC;QAClC,gBAAW,GAAoB,EAAE,CAAC;QAClC,kBAAa,GAAsB,EAAE,CAAC;QAQ5C,IAAI,CAAC,cAAc,GAAG,aAAa,aAAb,aAAa,cAAb,aAAa,GAAI,IAAI,yBAAY,EAAE,CAAC;QAC1D,IAAI,CAAC,OAAO,GAAG,MAAM,aAAN,MAAM,cAAN,MAAM,GAAI,IAAI,eAAM,CAAC,kBAAS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;IACJ,CAAC;IAED,yBAAyB,CACvB,IAAU,EACV,UAAsB,EACtB,UAA+B;;QAE/B,MAAA,IAAI,CAAC,UAAU,0CAAE,yBAAyB,CAAC,IAAI,EAAE,UAAU,EAAE,UAAU,CAAC,CAAC;IAC3E,CAAC;CACF"}
@@ -0,0 +1,95 @@
1
+ import { d as e, l as t, t as n } from "./scene-renderer-D8HkTFeZ.mjs";
2
+ import { n as r, r as i, t as a } from "./decorate-C1QnXPYw.mjs";
3
+ //#endregion
4
+ //#region packages/common-core/src/utils/stats-helper.ts
5
+ var o = /* @__PURE__ */ e((/* @__PURE__ */ t(((e, t) => {
6
+ (function(n, r) {
7
+ typeof e == "object" && t !== void 0 ? t.exports = r() : typeof define == "function" && define.amd ? define(r) : n.Stats = r();
8
+ })(e, function() {
9
+ var e = function() {
10
+ function t(e) {
11
+ return i.appendChild(e.dom), e;
12
+ }
13
+ function n(e) {
14
+ for (var t = 0; t < i.children.length; t++) i.children[t].style.display = t === e ? "block" : "none";
15
+ r = e;
16
+ }
17
+ var r = 0, i = document.createElement("div");
18
+ i.style.cssText = "position:fixed;top:0;left:0;cursor:pointer;opacity:0.9;z-index:10000", i.addEventListener("click", function(e) {
19
+ e.preventDefault(), n(++r % i.children.length);
20
+ }, !1);
21
+ var a = (performance || Date).now(), o = a, s = 0, c = t(new e.Panel("FPS", "#0ff", "#002")), l = t(new e.Panel("MS", "#0f0", "#020"));
22
+ if (self.performance && self.performance.memory) var u = t(new e.Panel("MB", "#f08", "#201"));
23
+ return n(0), {
24
+ REVISION: 16,
25
+ dom: i,
26
+ addPanel: t,
27
+ showPanel: n,
28
+ begin: function() {
29
+ a = (performance || Date).now();
30
+ },
31
+ end: function() {
32
+ s++;
33
+ var e = (performance || Date).now();
34
+ if (l.update(e - a, 200), e > o + 1e3 && (c.update(1e3 * s / (e - o), 100), o = e, s = 0, u)) {
35
+ var t = performance.memory;
36
+ u.update(t.usedJSHeapSize / 1048576, t.jsHeapSizeLimit / 1048576);
37
+ }
38
+ return e;
39
+ },
40
+ update: function() {
41
+ a = this.end();
42
+ },
43
+ domElement: i,
44
+ setMode: n
45
+ };
46
+ };
47
+ return e.Panel = function(e, t, n) {
48
+ var r = Infinity, i = 0, a = Math.round, o = a(window.devicePixelRatio || 1), s = 80 * o, c = 48 * o, l = 3 * o, u = 2 * o, d = 3 * o, f = 15 * o, p = 74 * o, m = 30 * o, h = document.createElement("canvas");
49
+ h.width = s, h.height = c, h.style.cssText = "width:80px;height:48px";
50
+ var g = h.getContext("2d");
51
+ return g.font = "bold " + 9 * o + "px Helvetica,Arial,sans-serif", g.textBaseline = "top", g.fillStyle = n, g.fillRect(0, 0, s, c), g.fillStyle = t, g.fillText(e, l, u), g.fillRect(d, f, p, m), g.fillStyle = n, g.globalAlpha = .9, g.fillRect(d, f, p, m), {
52
+ dom: h,
53
+ update: function(c, _) {
54
+ r = Math.min(r, c), i = Math.max(i, c), g.fillStyle = n, g.globalAlpha = 1, g.fillRect(0, 0, s, f), g.fillStyle = t, g.fillText(a(c) + " " + e + " (" + a(r) + "-" + a(i) + ")", l, u), g.drawImage(h, d + o, f, p - o, m, d, f, p - o, m), g.fillRect(d + p - o, f, o, m), g.fillStyle = n, g.globalAlpha = .9, g.fillRect(d + p - o, f, o, a((1 - c / _) * m));
55
+ }
56
+ };
57
+ }, e;
58
+ });
59
+ })))()), s = class {
60
+ constructor() {
61
+ this._statPanels = [], this._init();
62
+ }
63
+ _init() {
64
+ let e = new o.default();
65
+ e.showPanel(0), e.dom.style.cssText = "position:absolute;top:0px;left:0px;z-index:110;", document.body.appendChild(e.dom), this._statPanels.push(e);
66
+ let t = new o.default();
67
+ t.showPanel(2), t.dom.style.cssText = "position:absolute;top:50px;left:0px;z-index:110;", document.body.appendChild(t.dom), this._statPanels.push(t);
68
+ let n = new o.default();
69
+ this._drawPanel = n.addPanel(new o.default.Panel("draw", "#0f0", "#000")), n.showPanel(3), n.dom.style.cssText = "position:absolute;top:100px;left:0px;z-index:110;", document.body.appendChild(n.dom), this._statPanels.push(n);
70
+ let r = new o.default();
71
+ this._trianglesPanel = r.addPanel(new o.default.Panel("poly", "#0f0", "#000")), r.showPanel(3), r.dom.style.cssText = "position:absolute;top:150px;left:0px;z-index:110;", document.body.appendChild(r.dom), this._statPanels.push(r);
72
+ let i = new o.default();
73
+ this._geometryPanel = i.addPanel(new o.default.Panel("geo", "#f00", "#000")), i.showPanel(3), i.dom.style.cssText = "position:absolute;top:200px;left:0px;z-index:110;", document.body.appendChild(i.dom), this._statPanels.push(i);
74
+ let a = new o.default();
75
+ this._texturePanel = a.addPanel(new o.default.Panel("tex", "#f00", "#000")), a.showPanel(3), a.dom.style.cssText = "position:absolute;top:250px;left:0px;z-index:110;", document.body.appendChild(a.dom), this._statPanels.push(a);
76
+ let s = new o.default();
77
+ this._materialPanel = s.addPanel(new o.default.Panel("mat", "#f00", "#000")), s.showPanel(3), s.dom.style.cssText = "position:absolute;top:300px;left:0px;z-index:110;", document.body.appendChild(s.dom), this._statPanels.push(s);
78
+ let c = new o.default();
79
+ this._qualityPanel = c.addPanel(new o.default.Panel("quality", "#fff", "#000")), c.showPanel(3), c.dom.style.cssText = "position:absolute;top:350px;left:0px;z-index:110;", document.body.appendChild(c.dom), this._statPanels.push(c);
80
+ }
81
+ updateRenderInfo(e) {
82
+ this._drawPanel && e.render.calls > 0 && this._drawPanel.update(e.render.calls, 500), this._trianglesPanel && e.render.triangles > 0 && this._trianglesPanel.update(e.render.triangles, 1e4), this._geometryPanel && e.memory.geometries > 0 && this._geometryPanel.update(e.memory.geometries, 1e4), this._texturePanel && e.memory.textures > 0 && this._texturePanel.update(e.memory.textures, 1e4), this._materialPanel && this._cacheHolder.materialCache.size > 0 && this._materialPanel.update(this._cacheHolder.materialCache.size, 1e3), this._statPanels.length > 0 && this._statPanels.forEach((e) => e.update());
83
+ }
84
+ updateQualityInfo(e) {
85
+ if (this._qualityPanel && e) {
86
+ let t = Object.values(n).indexOf(e);
87
+ this._qualityPanel.update(t, 5);
88
+ }
89
+ }
90
+ };
91
+ a([i, r("design:type", Object)], s.prototype, "_cacheHolder", void 0);
92
+ //#endregion
93
+ export { s as default };
94
+
95
+ //# sourceMappingURL=stats-helper-HM0TaIM5.mjs.map