@roomle/web-sdk 3.6.0-alpha.2 → 3.6.0-alpha.4

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 (341) hide show
  1. package/lib/BufferGeometry-DLEagG41.mjs +1022 -0
  2. package/lib/BufferGeometry-DLEagG41.mjs.map +1 -0
  3. package/lib/ConfiguratorKernel.js +2 -2
  4. package/lib/ConfiguratorKernel.wasm +0 -0
  5. package/lib/GLTFExporter-D8qsdwDK.mjs +1092 -0
  6. package/lib/GLTFExporter-D8qsdwDK.mjs.map +1 -0
  7. package/lib/Object3D-DSjIOhON.mjs +1713 -0
  8. package/lib/Object3D-DSjIOhON.mjs.map +1 -0
  9. package/lib/PointLightHelper-BnjxGaOG.mjs +257 -0
  10. package/lib/PointLightHelper-BnjxGaOG.mjs.map +1 -0
  11. package/lib/RoomleCore.js +4 -4
  12. package/lib/RoomleCore.wasm +0 -0
  13. package/lib/RoomleToolsCore.wasm +0 -0
  14. package/lib/SpotLightHelper-DqsfqCrs.mjs +154 -0
  15. package/lib/SpotLightHelper-DqsfqCrs.mjs.map +1 -0
  16. package/lib/USDZExporter-DxIqi8St.mjs +296 -0
  17. package/lib/USDZExporter-DxIqi8St.mjs.map +1 -0
  18. package/lib/Vector4-DGmBYfpK.mjs +204 -0
  19. package/lib/Vector4-DGmBYfpK.mjs.map +1 -0
  20. package/lib/api-CNoIBuvr.mjs +55 -0
  21. package/lib/api-CNoIBuvr.mjs.map +1 -0
  22. package/lib/asset-loader.worker.js +1 -1
  23. package/lib/banana-for-scale-C_iNmlCT.mjs +36 -0
  24. package/lib/banana-for-scale-C_iNmlCT.mjs.map +1 -0
  25. package/lib/common-utils-DMSTohiS.mjs +187 -0
  26. package/lib/common-utils-DMSTohiS.mjs.map +1 -0
  27. package/lib/component-dimensioning-CvRmUja4.mjs +162 -0
  28. package/lib/component-dimensioning-CvRmUja4.mjs.map +1 -0
  29. package/lib/component-raycast-helper-CEp7wy9c.mjs +97 -0
  30. package/lib/component-raycast-helper-CEp7wy9c.mjs.map +1 -0
  31. package/lib/configurator-B_5XVG2O.mjs +45 -0
  32. package/lib/configurator-B_5XVG2O.mjs.map +1 -0
  33. package/lib/configurator-DCdvMM0o.mjs +2 -0
  34. package/lib/continuous-drawing-helper-v_5UAM9A.mjs +42 -0
  35. package/lib/continuous-drawing-helper-v_5UAM9A.mjs.map +1 -0
  36. package/lib/decorate-C1QnXPYw.mjs +35 -0
  37. package/lib/decorate-C1QnXPYw.mjs.map +1 -0
  38. package/lib/dimensioning-helper-DTcW85Oq.mjs +2 -0
  39. package/lib/dimensioning-helper-Fwpt1HTT.mjs +268 -0
  40. package/lib/dimensioning-helper-Fwpt1HTT.mjs.map +1 -0
  41. package/lib/fflate.module-dFNj5UPI.mjs +536 -0
  42. package/lib/fflate.module-dFNj5UPI.mjs.map +1 -0
  43. package/lib/glb-viewer-cP8g6bcm.mjs +315 -0
  44. package/lib/glb-viewer-cP8g6bcm.mjs.map +1 -0
  45. package/lib/glb-viewer-dZThmlwM.mjs +2 -0
  46. package/lib/homag-intelligence-LoOJ7roM.mjs +381 -0
  47. package/lib/homag-intelligence-LoOJ7roM.mjs.map +1 -0
  48. package/lib/imos-ix-poc-export-helper-CQh94HsO.mjs +161 -0
  49. package/lib/imos-ix-poc-export-helper-CQh94HsO.mjs.map +1 -0
  50. package/lib/kernel-BAQSG9r5.mjs +46 -0
  51. package/lib/kernel-BAQSG9r5.mjs.map +1 -0
  52. package/lib/kernel-utils-H74uNY1h.mjs +44 -0
  53. package/lib/kernel-utils-H74uNY1h.mjs.map +1 -0
  54. package/lib/layer-C_JtkhdO.mjs +8 -0
  55. package/lib/layer-C_JtkhdO.mjs.map +1 -0
  56. package/lib/main-BxEZ11ag.mjs +20461 -0
  57. package/lib/main-BxEZ11ag.mjs.map +1 -0
  58. package/lib/material-viewer-njBFF0Zg.mjs +292 -0
  59. package/lib/material-viewer-njBFF0Zg.mjs.map +1 -0
  60. package/lib/planner-Cr495Cyn.mjs +2 -0
  61. package/lib/planner-DY73rplC.mjs +44 -0
  62. package/lib/planner-DY73rplC.mjs.map +1 -0
  63. package/lib/plugin-system-D9K46xJk.mjs +55 -0
  64. package/lib/plugin-system-D9K46xJk.mjs.map +1 -0
  65. package/lib/roomle-sdk.d.ts +302 -134
  66. package/lib/roomle-sdk.js +7 -36
  67. package/lib/scene-renderer-D8HkTFeZ.mjs +3826 -0
  68. package/lib/scene-renderer-D8HkTFeZ.mjs.map +1 -0
  69. package/lib/script-loader-KBq8SjP6.mjs +45 -0
  70. package/lib/script-loader-KBq8SjP6.mjs.map +1 -0
  71. package/lib/static/draco/node_modules/three/examples/jsm/libs/draco/draco_decoder.js +34 -0
  72. package/lib/static/draco/node_modules/three/examples/jsm/libs/draco/draco_decoder.wasm +0 -0
  73. package/lib/static/draco/node_modules/three/examples/jsm/libs/draco/draco_encoder.js +33 -0
  74. package/lib/static/draco/node_modules/three/examples/jsm/libs/draco/draco_wasm_wrapper.js +117 -0
  75. package/lib/static/packages/workers/generated/asset-loader.worker.js +1 -0
  76. package/lib/static/roomle-core-hsc/node_modules/roomle-core-hsc/package.json +1 -0
  77. package/lib/static/roomle-core-hsc/{configuratorCore.d.ts → node_modules/roomle-core-hsc/src/embind/configuratorCore.d.ts} +1 -2
  78. package/lib/static/roomle-core-hsc/{configuratorCoreInterface.d.ts → node_modules/roomle-core-hsc/src/embind/configuratorCoreInterface.d.ts} +22 -29
  79. package/lib/static/roomle-core-hsc/{src → node_modules/roomle-core-hsc/src}/embind/plannerCore.d.ts +1 -2
  80. package/lib/static/roomle-core-hsc/{src → node_modules/roomle-core-hsc/src}/embind/plannerCoreCallback.d.ts +1 -1
  81. package/lib/static/roomle-core-hsc/{embind → node_modules/roomle-core-hsc/src/embind}/plannerCoreCallback.js +1 -1
  82. package/lib/static/roomle-core-hsc/node_modules/roomle-core-hsc/src/embind/plannerCoreCallback.js.map +1 -0
  83. package/lib/static/roomle-core-hsc/{plannerCoreInterface.d.ts → node_modules/roomle-core-hsc/src/embind/plannerCoreInterface.d.ts} +76 -81
  84. package/lib/static/roomle-core-hsc/{embind → node_modules/roomle-core-hsc/src/embind}/plannerCoreInterface.js +1 -6
  85. package/lib/static/roomle-core-hsc/node_modules/roomle-core-hsc/src/embind/plannerCoreInterface.js.map +1 -0
  86. package/lib/static/roomle-core-hsc/{loader → node_modules/roomle-core-hsc/src/loader}/configurableObject.d.ts +2 -2
  87. package/lib/static/roomle-core-hsc/{src → node_modules/roomle-core-hsc/src}/loader/configurableObject.js +6 -6
  88. package/lib/static/roomle-core-hsc/node_modules/roomle-core-hsc/src/loader/configurableObject.js.map +1 -0
  89. package/lib/static/roomle-core-hsc/{src → node_modules/roomle-core-hsc/src}/loader/configurationLoader.js +1 -5
  90. package/lib/static/roomle-core-hsc/node_modules/roomle-core-hsc/src/loader/configurationLoader.js.map +1 -0
  91. package/lib/static/roomle-core-hsc/{configurationManager.d.ts → node_modules/roomle-core-hsc/src/loader/configurationManager.d.ts} +1 -0
  92. package/lib/static/roomle-core-hsc/{loader → node_modules/roomle-core-hsc/src/loader}/configurationManager.js +6 -0
  93. package/lib/static/roomle-core-hsc/node_modules/roomle-core-hsc/src/loader/configurationManager.js.map +1 -0
  94. package/lib/static/roomle-core-hsc/{src → node_modules/roomle-core-hsc/src}/loader/planElementManager.d.ts +2 -2
  95. package/lib/static/roomle-core-hsc/{loader → node_modules/roomle-core-hsc/src/loader}/planElementManager.js.map +1 -1
  96. package/lib/static/roomle-core-hsc/{wasm_modern → node_modules/roomle-core-hsc/wasm_modern}/ConfiguratorKernel.js +2 -2
  97. package/lib/static/roomle-core-hsc/node_modules/roomle-core-hsc/wasm_modern/ConfiguratorKernel.wasm +0 -0
  98. package/lib/static/roomle-core-hsc/{wasm_modern → node_modules/roomle-core-hsc/wasm_modern}/RoomleCore.js +4 -4
  99. package/lib/static/roomle-core-hsc/node_modules/roomle-core-hsc/wasm_modern/RoomleCore.wasm +0 -0
  100. package/lib/static/roomle-core-hsc/node_modules/roomle-core-hsc/wasm_modern/RoomleToolsCore.wasm +0 -0
  101. package/lib/stats-helper-HM0TaIM5.mjs +95 -0
  102. package/lib/stats-helper-HM0TaIM5.mjs.map +1 -0
  103. package/lib/three.core-CLIofecG.mjs +7629 -0
  104. package/lib/three.core-CLIofecG.mjs.map +1 -0
  105. package/lib/three.module-C4Q1skJQ.mjs +5795 -0
  106. package/lib/three.module-C4Q1skJQ.mjs.map +1 -0
  107. package/lib/three.webgpu-dFspy2yF.mjs +16057 -0
  108. package/lib/three.webgpu-dFspy2yF.mjs.map +1 -0
  109. package/lib/threejs-utils-jEzvlJF1.mjs +2233 -0
  110. package/lib/threejs-utils-jEzvlJF1.mjs.map +1 -0
  111. package/lib/tools-core-CZbPygRC.mjs +30 -0
  112. package/lib/tools-core-CZbPygRC.mjs.map +1 -0
  113. package/package.json +3 -3
  114. package/lib/BufferGeometry-BZdSmtHt.mjs +0 -2064
  115. package/lib/BufferGeometry-BZdSmtHt.mjs.map +0 -1
  116. package/lib/GLTFExporter-DiE_HuI6.mjs +0 -1286
  117. package/lib/GLTFExporter-DiE_HuI6.mjs.map +0 -1
  118. package/lib/PointLightHelper-BvRpTX7D.mjs +0 -522
  119. package/lib/PointLightHelper-BvRpTX7D.mjs.map +0 -1
  120. package/lib/SpotLightHelper-Byg39thi.mjs +0 -222
  121. package/lib/SpotLightHelper-Byg39thi.mjs.map +0 -1
  122. package/lib/USDZExporter-VBx9xybH.mjs +0 -545
  123. package/lib/USDZExporter-VBx9xybH.mjs.map +0 -1
  124. package/lib/banana-for-scale-C9_AyZkI.mjs +0 -50
  125. package/lib/banana-for-scale-C9_AyZkI.mjs.map +0 -1
  126. package/lib/component-dimensioning-DHTSa-If.mjs +0 -229
  127. package/lib/component-dimensioning-DHTSa-If.mjs.map +0 -1
  128. package/lib/continuous-drawing-helper-BNHRsd4B.mjs +0 -48
  129. package/lib/continuous-drawing-helper-BNHRsd4B.mjs.map +0 -1
  130. package/lib/homag-intelligence-BraN723F.mjs +0 -545
  131. package/lib/homag-intelligence-BraN723F.mjs.map +0 -1
  132. package/lib/imos-ix-poc-export-helper-D7ubISCJ.mjs +0 -180
  133. package/lib/imos-ix-poc-export-helper-D7ubISCJ.mjs.map +0 -1
  134. package/lib/index-C-Prfui2.mjs +0 -73502
  135. package/lib/index-C-Prfui2.mjs.map +0 -1
  136. package/lib/material-viewer-DyVGp6Xm.mjs +0 -450
  137. package/lib/material-viewer-DyVGp6Xm.mjs.map +0 -1
  138. package/lib/roomle-sdk.js.map +0 -1
  139. package/lib/static/asset-loader.worker.js +0 -1
  140. package/lib/static/draco/gltf/draco_decoder.js +0 -33
  141. package/lib/static/draco/gltf/draco_decoder.wasm +0 -0
  142. package/lib/static/draco/gltf/draco_encoder.js +0 -33
  143. package/lib/static/draco/gltf/draco_wasm_wrapper.js +0 -116
  144. package/lib/static/roomle-core-hsc/ConfiguratorKernel.js +0 -74
  145. package/lib/static/roomle-core-hsc/ConfiguratorKernel.wasm +0 -0
  146. package/lib/static/roomle-core-hsc/RoomleCore.js +0 -79
  147. package/lib/static/roomle-core-hsc/RoomleCore.wasm +0 -0
  148. package/lib/static/roomle-core-hsc/RoomleToolsCore.wasm +0 -0
  149. package/lib/static/roomle-core-hsc/configurableObject.d.ts +0 -30
  150. package/lib/static/roomle-core-hsc/configurableObject.js +0 -111
  151. package/lib/static/roomle-core-hsc/configurableObject.js.map +0 -1
  152. package/lib/static/roomle-core-hsc/configurationLoader.js +0 -349
  153. package/lib/static/roomle-core-hsc/configurationLoader.js.map +0 -1
  154. package/lib/static/roomle-core-hsc/configurationManager.js +0 -141
  155. package/lib/static/roomle-core-hsc/configurationManager.js.map +0 -1
  156. package/lib/static/roomle-core-hsc/embind/configuratorCallback.d.ts +0 -82
  157. package/lib/static/roomle-core-hsc/embind/configuratorCallback.js +0 -355
  158. package/lib/static/roomle-core-hsc/embind/configuratorCallback.js.map +0 -1
  159. package/lib/static/roomle-core-hsc/embind/configuratorCore.d.ts +0 -20
  160. package/lib/static/roomle-core-hsc/embind/configuratorCore.js +0 -50
  161. package/lib/static/roomle-core-hsc/embind/configuratorCore.js.map +0 -1
  162. package/lib/static/roomle-core-hsc/embind/configuratorCoreInterface.d.ts +0 -753
  163. package/lib/static/roomle-core-hsc/embind/configuratorCoreInterface.js +0 -99
  164. package/lib/static/roomle-core-hsc/embind/configuratorCoreInterface.js.map +0 -1
  165. package/lib/static/roomle-core-hsc/embind/configuratorUtils.d.ts +0 -3
  166. package/lib/static/roomle-core-hsc/embind/configuratorUtils.js +0 -52
  167. package/lib/static/roomle-core-hsc/embind/configuratorUtils.js.map +0 -1
  168. package/lib/static/roomle-core-hsc/embind/coreModue.d.ts +0 -4
  169. package/lib/static/roomle-core-hsc/embind/coreModue.js +0 -3
  170. package/lib/static/roomle-core-hsc/embind/coreModue.js.map +0 -1
  171. package/lib/static/roomle-core-hsc/embind/coreModule.d.ts +0 -11
  172. package/lib/static/roomle-core-hsc/embind/coreModule.js +0 -19
  173. package/lib/static/roomle-core-hsc/embind/coreModule.js.map +0 -1
  174. package/lib/static/roomle-core-hsc/embind/plannerCore.d.ts +0 -32
  175. package/lib/static/roomle-core-hsc/embind/plannerCoreCallback.d.ts +0 -39
  176. package/lib/static/roomle-core-hsc/embind/plannerCoreCallback.js.map +0 -1
  177. package/lib/static/roomle-core-hsc/embind/plannerCoreInterface.d.ts +0 -858
  178. package/lib/static/roomle-core-hsc/embind/plannerCoreInterface.js.map +0 -1
  179. package/lib/static/roomle-core-hsc/loader/configurableObject.js +0 -111
  180. package/lib/static/roomle-core-hsc/loader/configurableObject.js.map +0 -1
  181. package/lib/static/roomle-core-hsc/loader/configurationGeometryConstructor.d.ts +0 -21
  182. package/lib/static/roomle-core-hsc/loader/configurationGeometryConstructor.js +0 -90
  183. package/lib/static/roomle-core-hsc/loader/configurationGeometryConstructor.js.map +0 -1
  184. package/lib/static/roomle-core-hsc/loader/configurationLoader.d.ts +0 -116
  185. package/lib/static/roomle-core-hsc/loader/configurationLoader.js +0 -349
  186. package/lib/static/roomle-core-hsc/loader/configurationLoader.js.map +0 -1
  187. package/lib/static/roomle-core-hsc/loader/configurationManager.d.ts +0 -40
  188. package/lib/static/roomle-core-hsc/loader/configurationManager.js.map +0 -1
  189. package/lib/static/roomle-core-hsc/loader/planElementManager.d.ts +0 -96
  190. package/lib/static/roomle-core-hsc/loaderUtility.d.ts +0 -81
  191. package/lib/static/roomle-core-hsc/loaderUtility.js +0 -141
  192. package/lib/static/roomle-core-hsc/loaderUtility.js.map +0 -1
  193. package/lib/static/roomle-core-hsc/logger.d.ts +0 -29
  194. package/lib/static/roomle-core-hsc/logger.js +0 -61
  195. package/lib/static/roomle-core-hsc/logger.js.map +0 -1
  196. package/lib/static/roomle-core-hsc/package.json +0 -1
  197. package/lib/static/roomle-core-hsc/planElementManager.d.ts +0 -96
  198. package/lib/static/roomle-core-hsc/planElementManager.js +0 -300
  199. package/lib/static/roomle-core-hsc/planElementManager.js.map +0 -1
  200. package/lib/static/roomle-core-hsc/plannerCore.d.ts +0 -32
  201. package/lib/static/roomle-core-hsc/plannerCore.js +0 -111
  202. package/lib/static/roomle-core-hsc/plannerCore.js.map +0 -1
  203. package/lib/static/roomle-core-hsc/plannerCoreCallback.d.ts +0 -39
  204. package/lib/static/roomle-core-hsc/plannerCoreCallback.js +0 -116
  205. package/lib/static/roomle-core-hsc/plannerCoreCallback.js.map +0 -1
  206. package/lib/static/roomle-core-hsc/plannerCoreInterface.js +0 -98
  207. package/lib/static/roomle-core-hsc/plannerCoreInterface.js.map +0 -1
  208. package/lib/static/roomle-core-hsc/rapiAccess.d.ts +0 -70
  209. package/lib/static/roomle-core-hsc/rapiAccess.js +0 -227
  210. package/lib/static/roomle-core-hsc/rapiAccess.js.map +0 -1
  211. package/lib/static/roomle-core-hsc/serviceCore.d.ts +0 -20
  212. package/lib/static/roomle-core-hsc/serviceCore.js +0 -54
  213. package/lib/static/roomle-core-hsc/serviceCore.js.map +0 -1
  214. package/lib/static/roomle-core-hsc/serviceCoreInterface.d.ts +0 -13
  215. package/lib/static/roomle-core-hsc/serviceCoreInterface.js +0 -3
  216. package/lib/static/roomle-core-hsc/serviceCoreInterface.js.map +0 -1
  217. package/lib/static/roomle-core-hsc/src/embind/configuratorCallback.d.ts +0 -82
  218. package/lib/static/roomle-core-hsc/src/embind/configuratorCallback.js +0 -355
  219. package/lib/static/roomle-core-hsc/src/embind/configuratorCallback.js.map +0 -1
  220. package/lib/static/roomle-core-hsc/src/embind/configuratorCore.d.ts +0 -20
  221. package/lib/static/roomle-core-hsc/src/embind/configuratorCore.js +0 -50
  222. package/lib/static/roomle-core-hsc/src/embind/configuratorCore.js.map +0 -1
  223. package/lib/static/roomle-core-hsc/src/embind/configuratorCoreInterface.d.ts +0 -753
  224. package/lib/static/roomle-core-hsc/src/embind/configuratorCoreInterface.js +0 -99
  225. package/lib/static/roomle-core-hsc/src/embind/configuratorCoreInterface.js.map +0 -1
  226. package/lib/static/roomle-core-hsc/src/embind/configuratorUtils.d.ts +0 -3
  227. package/lib/static/roomle-core-hsc/src/embind/configuratorUtils.js +0 -52
  228. package/lib/static/roomle-core-hsc/src/embind/configuratorUtils.js.map +0 -1
  229. package/lib/static/roomle-core-hsc/src/embind/coreModue.d.ts +0 -4
  230. package/lib/static/roomle-core-hsc/src/embind/coreModue.js +0 -3
  231. package/lib/static/roomle-core-hsc/src/embind/coreModue.js.map +0 -1
  232. package/lib/static/roomle-core-hsc/src/embind/coreModule.d.ts +0 -11
  233. package/lib/static/roomle-core-hsc/src/embind/coreModule.js +0 -19
  234. package/lib/static/roomle-core-hsc/src/embind/coreModule.js.map +0 -1
  235. package/lib/static/roomle-core-hsc/src/embind/plannerCore.js +0 -111
  236. package/lib/static/roomle-core-hsc/src/embind/plannerCore.js.map +0 -1
  237. package/lib/static/roomle-core-hsc/src/embind/plannerCoreCallback.js +0 -116
  238. package/lib/static/roomle-core-hsc/src/embind/plannerCoreCallback.js.map +0 -1
  239. package/lib/static/roomle-core-hsc/src/embind/plannerCoreInterface.d.ts +0 -858
  240. package/lib/static/roomle-core-hsc/src/embind/plannerCoreInterface.js +0 -98
  241. package/lib/static/roomle-core-hsc/src/embind/plannerCoreInterface.js.map +0 -1
  242. package/lib/static/roomle-core-hsc/src/embind/serviceCore.d.ts +0 -20
  243. package/lib/static/roomle-core-hsc/src/embind/serviceCore.js +0 -54
  244. package/lib/static/roomle-core-hsc/src/embind/serviceCore.js.map +0 -1
  245. package/lib/static/roomle-core-hsc/src/embind/serviceCoreInterface.d.ts +0 -13
  246. package/lib/static/roomle-core-hsc/src/embind/serviceCoreInterface.js +0 -3
  247. package/lib/static/roomle-core-hsc/src/embind/serviceCoreInterface.js.map +0 -1
  248. package/lib/static/roomle-core-hsc/src/embind/toolsCore.d.ts +0 -17
  249. package/lib/static/roomle-core-hsc/src/embind/toolsCore.js +0 -75
  250. package/lib/static/roomle-core-hsc/src/embind/toolsCore.js.map +0 -1
  251. package/lib/static/roomle-core-hsc/src/embind/toolsCoreInterface.d.ts +0 -40
  252. package/lib/static/roomle-core-hsc/src/embind/toolsCoreInterface.js +0 -8
  253. package/lib/static/roomle-core-hsc/src/embind/toolsCoreInterface.js.map +0 -1
  254. package/lib/static/roomle-core-hsc/src/loader/configurableObject.d.ts +0 -30
  255. package/lib/static/roomle-core-hsc/src/loader/configurableObject.js.map +0 -1
  256. package/lib/static/roomle-core-hsc/src/loader/configurationGeometryConstructor.d.ts +0 -21
  257. package/lib/static/roomle-core-hsc/src/loader/configurationGeometryConstructor.js +0 -90
  258. package/lib/static/roomle-core-hsc/src/loader/configurationGeometryConstructor.js.map +0 -1
  259. package/lib/static/roomle-core-hsc/src/loader/configurationLoader.d.ts +0 -116
  260. package/lib/static/roomle-core-hsc/src/loader/configurationLoader.js.map +0 -1
  261. package/lib/static/roomle-core-hsc/src/loader/configurationManager.d.ts +0 -40
  262. package/lib/static/roomle-core-hsc/src/loader/configurationManager.js +0 -141
  263. package/lib/static/roomle-core-hsc/src/loader/configurationManager.js.map +0 -1
  264. package/lib/static/roomle-core-hsc/src/loader/loaderUtility.d.ts +0 -81
  265. package/lib/static/roomle-core-hsc/src/loader/loaderUtility.js +0 -141
  266. package/lib/static/roomle-core-hsc/src/loader/loaderUtility.js.map +0 -1
  267. package/lib/static/roomle-core-hsc/src/loader/logger.d.ts +0 -29
  268. package/lib/static/roomle-core-hsc/src/loader/logger.js +0 -61
  269. package/lib/static/roomle-core-hsc/src/loader/logger.js.map +0 -1
  270. package/lib/static/roomle-core-hsc/src/loader/planElementManager.js +0 -300
  271. package/lib/static/roomle-core-hsc/src/loader/planElementManager.js.map +0 -1
  272. package/lib/static/roomle-core-hsc/src/loader/rapiAccess.d.ts +0 -70
  273. package/lib/static/roomle-core-hsc/src/loader/rapiAccess.js +0 -227
  274. package/lib/static/roomle-core-hsc/src/loader/rapiAccess.js.map +0 -1
  275. package/lib/static/roomle-core-hsc/toolsCore.d.ts +0 -17
  276. package/lib/static/roomle-core-hsc/toolsCore.js +0 -75
  277. package/lib/static/roomle-core-hsc/toolsCore.js.map +0 -1
  278. package/lib/static/roomle-core-hsc/toolsCoreInterface.d.ts +0 -40
  279. package/lib/static/roomle-core-hsc/toolsCoreInterface.js +0 -8
  280. package/lib/static/roomle-core-hsc/toolsCoreInterface.js.map +0 -1
  281. package/lib/static/roomle-core-hsc/wasm_modern/ConfiguratorKernel.wasm +0 -0
  282. package/lib/static/roomle-core-hsc/wasm_modern/RoomleCore.wasm +0 -0
  283. package/lib/static/roomle-core-hsc/wasm_modern/RoomleToolsCore.js +0 -74
  284. package/lib/static/roomle-core-hsc/wasm_modern/RoomleToolsCore.wasm +0 -0
  285. package/lib/stats-helper-UQlUyOTj.mjs +0 -108
  286. package/lib/stats-helper-UQlUyOTj.mjs.map +0 -1
  287. package/lib/three.webgpu-sHJcp001.mjs +0 -27625
  288. package/lib/three.webgpu-sHJcp001.mjs.map +0 -1
  289. package/lib/tools-core-wkPFRdnH.mjs +0 -36
  290. package/lib/tools-core-wkPFRdnH.mjs.map +0 -1
  291. /package/lib/static/draco/{README.md → node_modules/three/examples/jsm/libs/draco/README.md} +0 -0
  292. /package/lib/static/draco/{draco_decoder.js → node_modules/three/examples/jsm/libs/draco/gltf/draco_decoder.js} +0 -0
  293. /package/lib/static/draco/{draco_decoder.wasm → node_modules/three/examples/jsm/libs/draco/gltf/draco_decoder.wasm} +0 -0
  294. /package/lib/static/draco/{draco_encoder.js → node_modules/three/examples/jsm/libs/draco/gltf/draco_encoder.js} +0 -0
  295. /package/lib/static/draco/{draco_wasm_wrapper.js → node_modules/three/examples/jsm/libs/draco/gltf/draco_wasm_wrapper.js} +0 -0
  296. /package/lib/static/{budgeteer.sw.js → packages/workers/generated/budgeteer.sw.js} +0 -0
  297. /package/lib/static/roomle-core-hsc/{configuratorCallback.d.ts → node_modules/roomle-core-hsc/src/embind/configuratorCallback.d.ts} +0 -0
  298. /package/lib/static/roomle-core-hsc/{configuratorCallback.js → node_modules/roomle-core-hsc/src/embind/configuratorCallback.js} +0 -0
  299. /package/lib/static/roomle-core-hsc/{configuratorCallback.js.map → node_modules/roomle-core-hsc/src/embind/configuratorCallback.js.map} +0 -0
  300. /package/lib/static/roomle-core-hsc/{configuratorCore.js → node_modules/roomle-core-hsc/src/embind/configuratorCore.js} +0 -0
  301. /package/lib/static/roomle-core-hsc/{configuratorCore.js.map → node_modules/roomle-core-hsc/src/embind/configuratorCore.js.map} +0 -0
  302. /package/lib/static/roomle-core-hsc/{configuratorCoreInterface.js → node_modules/roomle-core-hsc/src/embind/configuratorCoreInterface.js} +0 -0
  303. /package/lib/static/roomle-core-hsc/{configuratorCoreInterface.js.map → node_modules/roomle-core-hsc/src/embind/configuratorCoreInterface.js.map} +0 -0
  304. /package/lib/static/roomle-core-hsc/{configuratorUtils.d.ts → node_modules/roomle-core-hsc/src/embind/configuratorUtils.d.ts} +0 -0
  305. /package/lib/static/roomle-core-hsc/{configuratorUtils.js → node_modules/roomle-core-hsc/src/embind/configuratorUtils.js} +0 -0
  306. /package/lib/static/roomle-core-hsc/{configuratorUtils.js.map → node_modules/roomle-core-hsc/src/embind/configuratorUtils.js.map} +0 -0
  307. /package/lib/static/roomle-core-hsc/{coreModue.d.ts → node_modules/roomle-core-hsc/src/embind/coreModue.d.ts} +0 -0
  308. /package/lib/static/roomle-core-hsc/{coreModue.js → node_modules/roomle-core-hsc/src/embind/coreModue.js} +0 -0
  309. /package/lib/static/roomle-core-hsc/{coreModue.js.map → node_modules/roomle-core-hsc/src/embind/coreModue.js.map} +0 -0
  310. /package/lib/static/roomle-core-hsc/{coreModule.d.ts → node_modules/roomle-core-hsc/src/embind/coreModule.d.ts} +0 -0
  311. /package/lib/static/roomle-core-hsc/{coreModule.js → node_modules/roomle-core-hsc/src/embind/coreModule.js} +0 -0
  312. /package/lib/static/roomle-core-hsc/{coreModule.js.map → node_modules/roomle-core-hsc/src/embind/coreModule.js.map} +0 -0
  313. /package/lib/static/roomle-core-hsc/{embind → node_modules/roomle-core-hsc/src/embind}/plannerCore.js +0 -0
  314. /package/lib/static/roomle-core-hsc/{embind → node_modules/roomle-core-hsc/src/embind}/plannerCore.js.map +0 -0
  315. /package/lib/static/roomle-core-hsc/{embind → node_modules/roomle-core-hsc/src/embind}/serviceCore.d.ts +0 -0
  316. /package/lib/static/roomle-core-hsc/{embind → node_modules/roomle-core-hsc/src/embind}/serviceCore.js +0 -0
  317. /package/lib/static/roomle-core-hsc/{embind → node_modules/roomle-core-hsc/src/embind}/serviceCore.js.map +0 -0
  318. /package/lib/static/roomle-core-hsc/{embind → node_modules/roomle-core-hsc/src/embind}/serviceCoreInterface.d.ts +0 -0
  319. /package/lib/static/roomle-core-hsc/{embind → node_modules/roomle-core-hsc/src/embind}/serviceCoreInterface.js +0 -0
  320. /package/lib/static/roomle-core-hsc/{embind → node_modules/roomle-core-hsc/src/embind}/serviceCoreInterface.js.map +0 -0
  321. /package/lib/static/roomle-core-hsc/{embind → node_modules/roomle-core-hsc/src/embind}/toolsCore.d.ts +0 -0
  322. /package/lib/static/roomle-core-hsc/{embind → node_modules/roomle-core-hsc/src/embind}/toolsCore.js +0 -0
  323. /package/lib/static/roomle-core-hsc/{embind → node_modules/roomle-core-hsc/src/embind}/toolsCore.js.map +0 -0
  324. /package/lib/static/roomle-core-hsc/{embind → node_modules/roomle-core-hsc/src/embind}/toolsCoreInterface.d.ts +0 -0
  325. /package/lib/static/roomle-core-hsc/{embind → node_modules/roomle-core-hsc/src/embind}/toolsCoreInterface.js +0 -0
  326. /package/lib/static/roomle-core-hsc/{embind → node_modules/roomle-core-hsc/src/embind}/toolsCoreInterface.js.map +0 -0
  327. /package/lib/static/roomle-core-hsc/{configurationGeometryConstructor.d.ts → node_modules/roomle-core-hsc/src/loader/configurationGeometryConstructor.d.ts} +0 -0
  328. /package/lib/static/roomle-core-hsc/{configurationGeometryConstructor.js → node_modules/roomle-core-hsc/src/loader/configurationGeometryConstructor.js} +0 -0
  329. /package/lib/static/roomle-core-hsc/{configurationGeometryConstructor.js.map → node_modules/roomle-core-hsc/src/loader/configurationGeometryConstructor.js.map} +0 -0
  330. /package/lib/static/roomle-core-hsc/{configurationLoader.d.ts → node_modules/roomle-core-hsc/src/loader/configurationLoader.d.ts} +0 -0
  331. /package/lib/static/roomle-core-hsc/{loader → node_modules/roomle-core-hsc/src/loader}/loaderUtility.d.ts +0 -0
  332. /package/lib/static/roomle-core-hsc/{loader → node_modules/roomle-core-hsc/src/loader}/loaderUtility.js +0 -0
  333. /package/lib/static/roomle-core-hsc/{loader → node_modules/roomle-core-hsc/src/loader}/loaderUtility.js.map +0 -0
  334. /package/lib/static/roomle-core-hsc/{loader → node_modules/roomle-core-hsc/src/loader}/logger.d.ts +0 -0
  335. /package/lib/static/roomle-core-hsc/{loader → node_modules/roomle-core-hsc/src/loader}/logger.js +0 -0
  336. /package/lib/static/roomle-core-hsc/{loader → node_modules/roomle-core-hsc/src/loader}/logger.js.map +0 -0
  337. /package/lib/static/roomle-core-hsc/{loader → node_modules/roomle-core-hsc/src/loader}/planElementManager.js +0 -0
  338. /package/lib/static/roomle-core-hsc/{loader → node_modules/roomle-core-hsc/src/loader}/rapiAccess.d.ts +0 -0
  339. /package/lib/static/roomle-core-hsc/{loader → node_modules/roomle-core-hsc/src/loader}/rapiAccess.js +0 -0
  340. /package/lib/static/roomle-core-hsc/{loader → node_modules/roomle-core-hsc/src/loader}/rapiAccess.js.map +0 -0
  341. /package/lib/static/roomle-core-hsc/{RoomleToolsCore.js → node_modules/roomle-core-hsc/wasm_modern/RoomleToolsCore.js} +0 -0
@@ -1,116 +0,0 @@
1
- var $jscomp=$jscomp||{};$jscomp.scope={};$jscomp.arrayIteratorImpl=function(h){var n=0;return function(){return n<h.length?{done:!1,value:h[n++]}:{done:!0}}};$jscomp.arrayIterator=function(h){return{next:$jscomp.arrayIteratorImpl(h)}};$jscomp.makeIterator=function(h){var n="undefined"!=typeof Symbol&&Symbol.iterator&&h[Symbol.iterator];return n?n.call(h):$jscomp.arrayIterator(h)};$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(h){h=["object"==typeof globalThis&&globalThis,h,"object"==typeof window&&window,"object"==typeof self&&self,"object"==typeof global&&global];for(var n=0;n<h.length;++n){var k=h[n];if(k&&k.Math==Math)return k}throw Error("Cannot find global object");};$jscomp.global=$jscomp.getGlobal(this);
3
- $jscomp.defineProperty=$jscomp.ASSUME_ES5||"function"==typeof Object.defineProperties?Object.defineProperty:function(h,n,k){if(h==Array.prototype||h==Object.prototype)return h;h[n]=k.value;return h};$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(h,n){var k=$jscomp.propertyToPolyfillSymbol[n];if(null==k)return h[n];k=h[k];return void 0!==k?k:h[n]};$jscomp.polyfill=function(h,n,k,p){n&&($jscomp.ISOLATE_POLYFILLS?$jscomp.polyfillIsolated(h,n,k,p):$jscomp.polyfillUnisolated(h,n,k,p))};
5
- $jscomp.polyfillUnisolated=function(h,n,k,p){k=$jscomp.global;h=h.split(".");for(p=0;p<h.length-1;p++){var l=h[p];if(!(l in k))return;k=k[l]}h=h[h.length-1];p=k[h];n=n(p);n!=p&&null!=n&&$jscomp.defineProperty(k,h,{configurable:!0,writable:!0,value:n})};
6
- $jscomp.polyfillIsolated=function(h,n,k,p){var l=h.split(".");h=1===l.length;p=l[0];p=!h&&p in $jscomp.polyfills?$jscomp.polyfills:$jscomp.global;for(var y=0;y<l.length-1;y++){var f=l[y];if(!(f in p))return;p=p[f]}l=l[l.length-1];k=$jscomp.IS_SYMBOL_NATIVE&&"es6"===k?p[l]:null;n=n(k);null!=n&&(h?$jscomp.defineProperty($jscomp.polyfills,l,{configurable:!0,writable:!0,value:n}):n!==k&&(void 0===$jscomp.propertyToPolyfillSymbol[l]&&(k=1E9*Math.random()>>>0,$jscomp.propertyToPolyfillSymbol[l]=$jscomp.IS_SYMBOL_NATIVE?
7
- $jscomp.global.Symbol(l):$jscomp.POLYFILL_PREFIX+k+"$"+l),$jscomp.defineProperty(p,$jscomp.propertyToPolyfillSymbol[l],{configurable:!0,writable:!0,value:n})))};
8
- $jscomp.polyfill("Promise",function(h){function n(){this.batch_=null}function k(f){return f instanceof l?f:new l(function(q,u){q(f)})}if(h&&(!($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 h;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 u=f[q];f[q]=null;try{u()}catch(A){this.asyncThrow_(A)}}}this.batch_=null};n.prototype.asyncThrow_=function(f){this.asyncExecuteFunction(function(){throw f;})};var l=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(u){q.reject(u)}};l.prototype.createResolveAndReject_=function(){function f(A){return function(F){u||(u=!0,A.call(q,F))}}var q=this,u=!1;return{resolve:f(this.resolveTo_),reject:f(this.reject_)}};l.prototype.resolveTo_=function(f){if(f===this)this.reject_(new TypeError("A Promise cannot resolve to itself"));else if(f instanceof l)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)}};l.prototype.resolveToNonPromiseObj_=function(f){var q=void 0;try{q=f.then}catch(u){this.reject_(u);return}"function"==typeof q?this.settleSameAsThenable_(q,f):this.fulfill_(f)};l.prototype.reject_=function(f){this.settle_(2,f)};l.prototype.fulfill_=function(f){this.settle_(1,f)};l.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_()};l.prototype.scheduleUnhandledRejectionCheck_=function(){var f=this;p(function(){if(f.notifyUnhandledRejection_()){var q=$jscomp.global.console;"undefined"!==typeof q&&q.error(f.result_)}},1)};l.prototype.notifyUnhandledRejection_=function(){if(this.isRejectionHandled_)return!1;var f=$jscomp.global.CustomEvent,q=$jscomp.global.Event,u=$jscomp.global.dispatchEvent;if("undefined"===typeof u)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 u(f)};l.prototype.executeOnSettledCallbacks_=function(){if(null!=this.onSettledCallbacks_){for(var f=0;f<this.onSettledCallbacks_.length;++f)y.asyncExecute(this.onSettledCallbacks_[f]);this.onSettledCallbacks_=null}};var y=new n;l.prototype.settleSameAsPromise_=function(f){var q=this.createResolveAndReject_();
14
- f.callWhenSettled_(q.resolve,q.reject)};l.prototype.settleSameAsThenable_=function(f,q){var u=this.createResolveAndReject_();try{f.call(q,u.resolve,u.reject)}catch(A){u.reject(A)}};l.prototype.then=function(f,q){function u(w,B){return"function"==typeof w?function(R){try{A(w(R))}catch(Z){F(Z)}}:B}var A,F,v=new l(function(w,B){A=w;F=B});this.callWhenSettled_(u(f,A),u(q,F));return v};l.prototype.catch=function(f){return this.then(void 0,f)};l.prototype.callWhenSettled_=function(f,q){function u(){switch(A.state_){case 1:f(A.result_);
15
- break;case 2:q(A.result_);break;default:throw Error("Unexpected state: "+A.state_);}}var A=this;null==this.onSettledCallbacks_?y.asyncExecute(u):this.onSettledCallbacks_.push(u);this.isRejectionHandled_=!0};l.resolve=k;l.reject=function(f){return new l(function(q,u){u(f)})};l.race=function(f){return new l(function(q,u){for(var A=$jscomp.makeIterator(f),F=A.next();!F.done;F=A.next())k(F.value).callWhenSettled_(q,u)})};l.all=function(f){var q=$jscomp.makeIterator(f),u=q.next();return u.done?k([]):new l(function(A,
16
- F){function v(R){return function(Z){w[R]=Z;B--;0==B&&A(w)}}var w=[],B=0;do w.push(void 0),B++,k(u.value).callWhenSettled_(v(w.length-1),F),u=q.next();while(!u.done)})};return l},"es6","es3");$jscomp.owns=function(h,n){return Object.prototype.hasOwnProperty.call(h,n)};$jscomp.assign=$jscomp.TRUST_ES6_POLYFILLS&&"function"==typeof Object.assign?Object.assign:function(h,n){for(var k=1;k<arguments.length;k++){var p=arguments[k];if(p)for(var l in p)$jscomp.owns(p,l)&&(h[l]=p[l])}return h};
17
- $jscomp.polyfill("Object.assign",function(h){return h||$jscomp.assign},"es6","es3");$jscomp.checkStringArgs=function(h,n,k){if(null==h)throw new TypeError("The 'this' value for String.prototype."+k+" must not be null or undefined");if(n instanceof RegExp)throw new TypeError("First argument to String.prototype."+k+" must not be a regular expression");return h+""};
18
- $jscomp.polyfill("String.prototype.startsWith",function(h){return h?h:function(n,k){var p=$jscomp.checkStringArgs(this,n,"startsWith");n+="";var l=p.length,y=n.length;k=Math.max(0,Math.min(k|0,p.length));for(var f=0;f<y&&k<l;)if(p[k++]!=n[f++])return!1;return f>=y}},"es6","es3");
19
- $jscomp.polyfill("Array.prototype.copyWithin",function(h){function n(k){k=Number(k);return Infinity===k||-Infinity===k?k:k|0}return h?h:function(k,p,l){var y=this.length;k=n(k);p=n(p);l=void 0===l?y:n(l);k=0>k?Math.max(y+k,0):Math.min(k,y);p=0>p?Math.max(y+p,0):Math.min(p,y);l=0>l?Math.max(y+l,0):Math.min(l,y);if(k<p)for(;p<l;)p in this?this[k++]=this[p++]:(delete this[k++],p++);else for(l=Math.min(l,y+p-k),k+=l-p;l>p;)--l in this?this[--k]=this[l]:delete this[--k];return this}},"es6","es3");
20
- $jscomp.typedArrayCopyWithin=function(h){return h?h: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 h="undefined"!==typeof document&&document.currentScript?document.currentScript.src:void 0;"undefined"!==typeof __filename&&(h=h||__filename);return function(n){function k(e){return a.locateFile?a.locateFile(e,U):U+e}function p(e,b){if(e){var c=ia;var d=e+b;for(b=e;c[b]&&!(b>=d);)++b;if(16<b-e&&c.buffer&&ra)c=ra.decode(c.subarray(e,b));else{for(d="";e<b;){var g=c[e++];if(g&128){var t=c[e++]&63;if(192==(g&224))d+=String.fromCharCode((g&31)<<6|t);else{var aa=c[e++]&
23
- 63;g=224==(g&240)?(g&15)<<12|t<<6|aa:(g&7)<<18|t<<12|aa<<6|c[e++]&63;65536>g?d+=String.fromCharCode(g):(g-=65536,d+=String.fromCharCode(55296|g>>10,56320|g&1023))}}else d+=String.fromCharCode(g)}c=d}}else c="";return c}function l(){var e=ja.buffer;a.HEAP8=W=new Int8Array(e);a.HEAP16=new Int16Array(e);a.HEAP32=ca=new Int32Array(e);a.HEAPU8=ia=new Uint8Array(e);a.HEAPU16=new Uint16Array(e);a.HEAPU32=Y=new Uint32Array(e);a.HEAPF32=new Float32Array(e);a.HEAPF64=new Float64Array(e)}function y(e){if(a.onAbort)a.onAbort(e);
24
- e="Aborted("+e+")";da(e);sa=!0;e=new WebAssembly.RuntimeError(e+". Build with -sASSERTIONS for more info.");ka(e);throw e;}function f(e){try{if(e==P&&ea)return new Uint8Array(ea);if(ma)return ma(e);throw"both async and sync fetching of the wasm failed";}catch(b){y(b)}}function q(){if(!ea&&(ta||fa)){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 f(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 f(P)})}function u(e){for(;0<e.length;)e.shift()(a)}function A(e){this.excPtr=e;this.ptr=e-24;this.set_type=function(b){Y[this.ptr+4>>2]=b};this.get_type=function(){return Y[this.ptr+4>>2]};this.set_destructor=function(b){Y[this.ptr+8>>2]=b};this.get_destructor=function(){return Y[this.ptr+8>>2]};this.set_refcount=function(b){ca[this.ptr>>2]=b};this.set_caught=function(b){W[this.ptr+
26
- 12>>0]=b?1:0};this.get_caught=function(){return 0!=W[this.ptr+12>>0]};this.set_rethrown=function(b){W[this.ptr+13>>0]=b?1:0};this.get_rethrown=function(){return 0!=W[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){Y[this.ptr+
27
- 16>>2]=b};this.get_adjusted_ptr=function(){return Y[this.ptr+16>>2]};this.get_exception_ptr=function(){if(ua(this.get_type()))return Y[this.excPtr>>2];var b=this.get_adjusted_ptr();return 0!==b?b:this.excPtr}}function F(){function e(){if(!la&&(la=!0,a.calledRun=!0,!sa)){va=!0;u(oa);wa(a);if(a.onRuntimeInitialized)a.onRuntimeInitialized();if(a.postRun)for("function"==typeof a.postRun&&(a.postRun=[a.postRun]);a.postRun.length;)xa.unshift(a.postRun.shift());u(xa)}}if(!(0<ba)){if(a.preRun)for("function"==
28
- typeof a.preRun&&(a.preRun=[a.preRun]);a.preRun.length;)ya.unshift(a.preRun.shift());u(ya);0<ba||(a.setStatus?(a.setStatus("Running..."),setTimeout(function(){setTimeout(function(){a.setStatus("")},1);e()},1)):e())}}function v(){}function w(e){return(e||v).__cache__}function B(e,b){var c=w(b),d=c[e];if(d)return d;d=Object.create((b||v).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 t=e.charCodeAt(g);if(55296<=t&&57343>=t){var aa=e.charCodeAt(++g);t=65536+((t&1023)<<10)|aa&1023}if(127>=t){if(c>=d)break;b[c++]=t}else{if(2047>=t){if(c+1>=d)break;b[c++]=192|t>>6}else{if(65535>=t){if(c+2>=d)break;b[c++]=224|t>>12}else{if(c+3>=d)break;b[c++]=240|t>>18;b[c++]=128|t>>12&63}b[c++]=128|t>>6&63}b[c++]=128|t&63}}b[c]=0}e=r.alloc(b,W);r.copy(b,W,e);return e}return e}function Z(e){if("object"===
30
- typeof e){var b=r.alloc(e,W);r.copy(e,W,b);return b}return e}function X(){throw"cannot construct a VoidPtr, no constructor in IDL";}function S(){this.ptr=za();w(S)[this.ptr]=this}function Q(){this.ptr=Aa();w(Q)[this.ptr]=this}function V(){this.ptr=Ba();w(V)[this.ptr]=this}function x(){this.ptr=Ca();w(x)[this.ptr]=this}function D(){this.ptr=Da();w(D)[this.ptr]=this}function G(){this.ptr=Ea();w(G)[this.ptr]=this}function H(){this.ptr=Fa();w(H)[this.ptr]=this}function E(){this.ptr=Ga();w(E)[this.ptr]=
31
- this}function T(){this.ptr=Ha();w(T)[this.ptr]=this}function C(){throw"cannot construct a Status, no constructor in IDL";}function I(){this.ptr=Ia();w(I)[this.ptr]=this}function J(){this.ptr=Ja();w(J)[this.ptr]=this}function K(){this.ptr=Ka();w(K)[this.ptr]=this}function L(){this.ptr=La();w(L)[this.ptr]=this}function M(){this.ptr=Ma();w(M)[this.ptr]=this}function N(){this.ptr=Na();w(N)[this.ptr]=this}function O(){this.ptr=Oa();w(O)[this.ptr]=this}function z(){this.ptr=Pa();w(z)[this.ptr]=this}function m(){this.ptr=
32
- Qa();w(m)[this.ptr]=this}n=void 0===n?{}:n;var a="undefined"!=typeof n?n:{},wa,ka;a.ready=new Promise(function(e,b){wa=e;ka=b});var Ra=!1,Sa=!1;a.onRuntimeInitialized=function(){Ra=!0;if(Sa&&"function"===typeof a.onModuleLoaded)a.onModuleLoaded(a)};a.onModuleParsed=function(){Sa=!0;if(Ra&&"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<
33
- e[1]?!1:!0};var Ta=Object.assign({},a),ta="object"==typeof window,fa="function"==typeof importScripts,Ua="object"==typeof process&&"object"==typeof process.versions&&"string"==typeof process.versions.node,U="";if(Ua){var Va=require("fs"),pa=require("path");U=fa?pa.dirname(U)+"/":__dirname+"/";var Wa=function(e,b){e=e.startsWith("file://")?new URL(e):pa.normalize(e);return Va.readFileSync(e,b?void 0:"utf8")};var ma=function(e){e=Wa(e,!0);e.buffer||(e=new Uint8Array(e));return e};var na=function(e,
34
- b,c){e=e.startsWith("file://")?new URL(e):pa.normalize(e);Va.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(ta||fa)fa?U=self.location.href:"undefined"!=typeof document&&document.currentScript&&(U=document.currentScript.src),h&&(U=h),U=0!==U.indexOf("blob:")?U.substr(0,U.replace(/[?#].*/,"").lastIndexOf("/")+1):"",Wa=function(e){var b=new XMLHttpRequest;b.open("GET",
35
- e,!1);b.send(null);return b.responseText},fa&&(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)};a.print||console.log.bind(console);var da=a.printErr||console.warn.bind(console);Object.assign(a,Ta);Ta=null;var ea;a.wasmBinary&&
36
- (ea=a.wasmBinary);"object"!=typeof WebAssembly&&y("no native wasm support detected");var ja,sa=!1,ra="undefined"!=typeof TextDecoder?new TextDecoder("utf8"):void 0,W,ia,ca,Y,ya=[],oa=[],xa=[],va=!1,ba=0,qa=null,ha=null;var P="draco_decoder_gltf.wasm";P.startsWith("data:application/octet-stream;base64,")||(P=k(P));var pd=0,qd={b:function(e,b,c){(new A(e)).init(b,c);pd++;throw e;},a:function(){y("")},d:function(e,b,c){ia.copyWithin(e,b,b+c)},c:function(e){var b=ia.length;e>>>=0;if(2147483648<e)return!1;
37
- for(var c=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);l();var t=1;break a}catch(aa){}t=void 0}if(t)return!0}return!1}};(function(){function e(g,t){a.asm=g.exports;ja=a.asm.e;l();oa.unshift(a.asm.f);ba--;a.monitorRunDependencies&&a.monitorRunDependencies(ba);0==ba&&(null!==qa&&(clearInterval(qa),qa=null),ha&&(g=ha,ha=null,g()))}function b(g){e(g.instance)}
38
- function c(g){return q().then(function(t){return WebAssembly.instantiate(t,d)}).then(function(t){return t}).then(g,function(t){da("failed to asynchronously prepare wasm: "+t);y(t)})}var d={a:qd};ba++;a.monitorRunDependencies&&a.monitorRunDependencies(ba);if(a.instantiateWasm)try{return a.instantiateWasm(d,e)}catch(g){da("Module.instantiateWasm callback failed with error: "+g),ka(g)}(function(){return ea||"function"!=typeof WebAssembly.instantiateStreaming||P.startsWith("data:application/octet-stream;base64,")||
39
- P.startsWith("file://")||Ua||"function"!=typeof fetch?c(b):fetch(P,{credentials:"same-origin"}).then(function(g){return WebAssembly.instantiateStreaming(g,d).then(b,function(t){da("wasm streaming compile failed: "+t);da("falling back to ArrayBuffer instantiation");return c(b)})})})().catch(ka);return{}})();var Xa=a._emscripten_bind_VoidPtr___destroy___0=function(){return(Xa=a._emscripten_bind_VoidPtr___destroy___0=a.asm.h).apply(null,arguments)},za=a._emscripten_bind_DecoderBuffer_DecoderBuffer_0=
40
- function(){return(za=a._emscripten_bind_DecoderBuffer_DecoderBuffer_0=a.asm.i).apply(null,arguments)},Ya=a._emscripten_bind_DecoderBuffer_Init_2=function(){return(Ya=a._emscripten_bind_DecoderBuffer_Init_2=a.asm.j).apply(null,arguments)},Za=a._emscripten_bind_DecoderBuffer___destroy___0=function(){return(Za=a._emscripten_bind_DecoderBuffer___destroy___0=a.asm.k).apply(null,arguments)},Aa=a._emscripten_bind_AttributeTransformData_AttributeTransformData_0=function(){return(Aa=a._emscripten_bind_AttributeTransformData_AttributeTransformData_0=
41
- a.asm.l).apply(null,arguments)},$a=a._emscripten_bind_AttributeTransformData_transform_type_0=function(){return($a=a._emscripten_bind_AttributeTransformData_transform_type_0=a.asm.m).apply(null,arguments)},ab=a._emscripten_bind_AttributeTransformData___destroy___0=function(){return(ab=a._emscripten_bind_AttributeTransformData___destroy___0=a.asm.n).apply(null,arguments)},Ba=a._emscripten_bind_GeometryAttribute_GeometryAttribute_0=function(){return(Ba=a._emscripten_bind_GeometryAttribute_GeometryAttribute_0=
42
- a.asm.o).apply(null,arguments)},bb=a._emscripten_bind_GeometryAttribute___destroy___0=function(){return(bb=a._emscripten_bind_GeometryAttribute___destroy___0=a.asm.p).apply(null,arguments)},Ca=a._emscripten_bind_PointAttribute_PointAttribute_0=function(){return(Ca=a._emscripten_bind_PointAttribute_PointAttribute_0=a.asm.q).apply(null,arguments)},cb=a._emscripten_bind_PointAttribute_size_0=function(){return(cb=a._emscripten_bind_PointAttribute_size_0=a.asm.r).apply(null,arguments)},db=a._emscripten_bind_PointAttribute_GetAttributeTransformData_0=
43
- function(){return(db=a._emscripten_bind_PointAttribute_GetAttributeTransformData_0=a.asm.s).apply(null,arguments)},eb=a._emscripten_bind_PointAttribute_attribute_type_0=function(){return(eb=a._emscripten_bind_PointAttribute_attribute_type_0=a.asm.t).apply(null,arguments)},fb=a._emscripten_bind_PointAttribute_data_type_0=function(){return(fb=a._emscripten_bind_PointAttribute_data_type_0=a.asm.u).apply(null,arguments)},gb=a._emscripten_bind_PointAttribute_num_components_0=function(){return(gb=a._emscripten_bind_PointAttribute_num_components_0=
44
- a.asm.v).apply(null,arguments)},hb=a._emscripten_bind_PointAttribute_normalized_0=function(){return(hb=a._emscripten_bind_PointAttribute_normalized_0=a.asm.w).apply(null,arguments)},ib=a._emscripten_bind_PointAttribute_byte_stride_0=function(){return(ib=a._emscripten_bind_PointAttribute_byte_stride_0=a.asm.x).apply(null,arguments)},jb=a._emscripten_bind_PointAttribute_byte_offset_0=function(){return(jb=a._emscripten_bind_PointAttribute_byte_offset_0=a.asm.y).apply(null,arguments)},kb=a._emscripten_bind_PointAttribute_unique_id_0=
45
- function(){return(kb=a._emscripten_bind_PointAttribute_unique_id_0=a.asm.z).apply(null,arguments)},lb=a._emscripten_bind_PointAttribute___destroy___0=function(){return(lb=a._emscripten_bind_PointAttribute___destroy___0=a.asm.A).apply(null,arguments)},Da=a._emscripten_bind_AttributeQuantizationTransform_AttributeQuantizationTransform_0=function(){return(Da=a._emscripten_bind_AttributeQuantizationTransform_AttributeQuantizationTransform_0=a.asm.B).apply(null,arguments)},mb=a._emscripten_bind_AttributeQuantizationTransform_InitFromAttribute_1=
46
- function(){return(mb=a._emscripten_bind_AttributeQuantizationTransform_InitFromAttribute_1=a.asm.C).apply(null,arguments)},nb=a._emscripten_bind_AttributeQuantizationTransform_quantization_bits_0=function(){return(nb=a._emscripten_bind_AttributeQuantizationTransform_quantization_bits_0=a.asm.D).apply(null,arguments)},ob=a._emscripten_bind_AttributeQuantizationTransform_min_value_1=function(){return(ob=a._emscripten_bind_AttributeQuantizationTransform_min_value_1=a.asm.E).apply(null,arguments)},pb=
47
- a._emscripten_bind_AttributeQuantizationTransform_range_0=function(){return(pb=a._emscripten_bind_AttributeQuantizationTransform_range_0=a.asm.F).apply(null,arguments)},qb=a._emscripten_bind_AttributeQuantizationTransform___destroy___0=function(){return(qb=a._emscripten_bind_AttributeQuantizationTransform___destroy___0=a.asm.G).apply(null,arguments)},Ea=a._emscripten_bind_AttributeOctahedronTransform_AttributeOctahedronTransform_0=function(){return(Ea=a._emscripten_bind_AttributeOctahedronTransform_AttributeOctahedronTransform_0=
48
- a.asm.H).apply(null,arguments)},rb=a._emscripten_bind_AttributeOctahedronTransform_InitFromAttribute_1=function(){return(rb=a._emscripten_bind_AttributeOctahedronTransform_InitFromAttribute_1=a.asm.I).apply(null,arguments)},sb=a._emscripten_bind_AttributeOctahedronTransform_quantization_bits_0=function(){return(sb=a._emscripten_bind_AttributeOctahedronTransform_quantization_bits_0=a.asm.J).apply(null,arguments)},tb=a._emscripten_bind_AttributeOctahedronTransform___destroy___0=function(){return(tb=
49
- a._emscripten_bind_AttributeOctahedronTransform___destroy___0=a.asm.K).apply(null,arguments)},Fa=a._emscripten_bind_PointCloud_PointCloud_0=function(){return(Fa=a._emscripten_bind_PointCloud_PointCloud_0=a.asm.L).apply(null,arguments)},ub=a._emscripten_bind_PointCloud_num_attributes_0=function(){return(ub=a._emscripten_bind_PointCloud_num_attributes_0=a.asm.M).apply(null,arguments)},vb=a._emscripten_bind_PointCloud_num_points_0=function(){return(vb=a._emscripten_bind_PointCloud_num_points_0=a.asm.N).apply(null,
50
- arguments)},wb=a._emscripten_bind_PointCloud___destroy___0=function(){return(wb=a._emscripten_bind_PointCloud___destroy___0=a.asm.O).apply(null,arguments)},Ga=a._emscripten_bind_Mesh_Mesh_0=function(){return(Ga=a._emscripten_bind_Mesh_Mesh_0=a.asm.P).apply(null,arguments)},xb=a._emscripten_bind_Mesh_num_faces_0=function(){return(xb=a._emscripten_bind_Mesh_num_faces_0=a.asm.Q).apply(null,arguments)},yb=a._emscripten_bind_Mesh_num_attributes_0=function(){return(yb=a._emscripten_bind_Mesh_num_attributes_0=
51
- a.asm.R).apply(null,arguments)},zb=a._emscripten_bind_Mesh_num_points_0=function(){return(zb=a._emscripten_bind_Mesh_num_points_0=a.asm.S).apply(null,arguments)},Ab=a._emscripten_bind_Mesh___destroy___0=function(){return(Ab=a._emscripten_bind_Mesh___destroy___0=a.asm.T).apply(null,arguments)},Ha=a._emscripten_bind_Metadata_Metadata_0=function(){return(Ha=a._emscripten_bind_Metadata_Metadata_0=a.asm.U).apply(null,arguments)},Bb=a._emscripten_bind_Metadata___destroy___0=function(){return(Bb=a._emscripten_bind_Metadata___destroy___0=
52
- a.asm.V).apply(null,arguments)},Cb=a._emscripten_bind_Status_code_0=function(){return(Cb=a._emscripten_bind_Status_code_0=a.asm.W).apply(null,arguments)},Db=a._emscripten_bind_Status_ok_0=function(){return(Db=a._emscripten_bind_Status_ok_0=a.asm.X).apply(null,arguments)},Eb=a._emscripten_bind_Status_error_msg_0=function(){return(Eb=a._emscripten_bind_Status_error_msg_0=a.asm.Y).apply(null,arguments)},Fb=a._emscripten_bind_Status___destroy___0=function(){return(Fb=a._emscripten_bind_Status___destroy___0=
53
- a.asm.Z).apply(null,arguments)},Ia=a._emscripten_bind_DracoFloat32Array_DracoFloat32Array_0=function(){return(Ia=a._emscripten_bind_DracoFloat32Array_DracoFloat32Array_0=a.asm._).apply(null,arguments)},Gb=a._emscripten_bind_DracoFloat32Array_GetValue_1=function(){return(Gb=a._emscripten_bind_DracoFloat32Array_GetValue_1=a.asm.$).apply(null,arguments)},Hb=a._emscripten_bind_DracoFloat32Array_size_0=function(){return(Hb=a._emscripten_bind_DracoFloat32Array_size_0=a.asm.aa).apply(null,arguments)},Ib=
54
- a._emscripten_bind_DracoFloat32Array___destroy___0=function(){return(Ib=a._emscripten_bind_DracoFloat32Array___destroy___0=a.asm.ba).apply(null,arguments)},Ja=a._emscripten_bind_DracoInt8Array_DracoInt8Array_0=function(){return(Ja=a._emscripten_bind_DracoInt8Array_DracoInt8Array_0=a.asm.ca).apply(null,arguments)},Jb=a._emscripten_bind_DracoInt8Array_GetValue_1=function(){return(Jb=a._emscripten_bind_DracoInt8Array_GetValue_1=a.asm.da).apply(null,arguments)},Kb=a._emscripten_bind_DracoInt8Array_size_0=
55
- function(){return(Kb=a._emscripten_bind_DracoInt8Array_size_0=a.asm.ea).apply(null,arguments)},Lb=a._emscripten_bind_DracoInt8Array___destroy___0=function(){return(Lb=a._emscripten_bind_DracoInt8Array___destroy___0=a.asm.fa).apply(null,arguments)},Ka=a._emscripten_bind_DracoUInt8Array_DracoUInt8Array_0=function(){return(Ka=a._emscripten_bind_DracoUInt8Array_DracoUInt8Array_0=a.asm.ga).apply(null,arguments)},Mb=a._emscripten_bind_DracoUInt8Array_GetValue_1=function(){return(Mb=a._emscripten_bind_DracoUInt8Array_GetValue_1=
56
- a.asm.ha).apply(null,arguments)},Nb=a._emscripten_bind_DracoUInt8Array_size_0=function(){return(Nb=a._emscripten_bind_DracoUInt8Array_size_0=a.asm.ia).apply(null,arguments)},Ob=a._emscripten_bind_DracoUInt8Array___destroy___0=function(){return(Ob=a._emscripten_bind_DracoUInt8Array___destroy___0=a.asm.ja).apply(null,arguments)},La=a._emscripten_bind_DracoInt16Array_DracoInt16Array_0=function(){return(La=a._emscripten_bind_DracoInt16Array_DracoInt16Array_0=a.asm.ka).apply(null,arguments)},Pb=a._emscripten_bind_DracoInt16Array_GetValue_1=
57
- function(){return(Pb=a._emscripten_bind_DracoInt16Array_GetValue_1=a.asm.la).apply(null,arguments)},Qb=a._emscripten_bind_DracoInt16Array_size_0=function(){return(Qb=a._emscripten_bind_DracoInt16Array_size_0=a.asm.ma).apply(null,arguments)},Rb=a._emscripten_bind_DracoInt16Array___destroy___0=function(){return(Rb=a._emscripten_bind_DracoInt16Array___destroy___0=a.asm.na).apply(null,arguments)},Ma=a._emscripten_bind_DracoUInt16Array_DracoUInt16Array_0=function(){return(Ma=a._emscripten_bind_DracoUInt16Array_DracoUInt16Array_0=
58
- a.asm.oa).apply(null,arguments)},Sb=a._emscripten_bind_DracoUInt16Array_GetValue_1=function(){return(Sb=a._emscripten_bind_DracoUInt16Array_GetValue_1=a.asm.pa).apply(null,arguments)},Tb=a._emscripten_bind_DracoUInt16Array_size_0=function(){return(Tb=a._emscripten_bind_DracoUInt16Array_size_0=a.asm.qa).apply(null,arguments)},Ub=a._emscripten_bind_DracoUInt16Array___destroy___0=function(){return(Ub=a._emscripten_bind_DracoUInt16Array___destroy___0=a.asm.ra).apply(null,arguments)},Na=a._emscripten_bind_DracoInt32Array_DracoInt32Array_0=
59
- function(){return(Na=a._emscripten_bind_DracoInt32Array_DracoInt32Array_0=a.asm.sa).apply(null,arguments)},Vb=a._emscripten_bind_DracoInt32Array_GetValue_1=function(){return(Vb=a._emscripten_bind_DracoInt32Array_GetValue_1=a.asm.ta).apply(null,arguments)},Wb=a._emscripten_bind_DracoInt32Array_size_0=function(){return(Wb=a._emscripten_bind_DracoInt32Array_size_0=a.asm.ua).apply(null,arguments)},Xb=a._emscripten_bind_DracoInt32Array___destroy___0=function(){return(Xb=a._emscripten_bind_DracoInt32Array___destroy___0=
60
- a.asm.va).apply(null,arguments)},Oa=a._emscripten_bind_DracoUInt32Array_DracoUInt32Array_0=function(){return(Oa=a._emscripten_bind_DracoUInt32Array_DracoUInt32Array_0=a.asm.wa).apply(null,arguments)},Yb=a._emscripten_bind_DracoUInt32Array_GetValue_1=function(){return(Yb=a._emscripten_bind_DracoUInt32Array_GetValue_1=a.asm.xa).apply(null,arguments)},Zb=a._emscripten_bind_DracoUInt32Array_size_0=function(){return(Zb=a._emscripten_bind_DracoUInt32Array_size_0=a.asm.ya).apply(null,arguments)},$b=a._emscripten_bind_DracoUInt32Array___destroy___0=
61
- function(){return($b=a._emscripten_bind_DracoUInt32Array___destroy___0=a.asm.za).apply(null,arguments)},Pa=a._emscripten_bind_MetadataQuerier_MetadataQuerier_0=function(){return(Pa=a._emscripten_bind_MetadataQuerier_MetadataQuerier_0=a.asm.Aa).apply(null,arguments)},ac=a._emscripten_bind_MetadataQuerier_HasEntry_2=function(){return(ac=a._emscripten_bind_MetadataQuerier_HasEntry_2=a.asm.Ba).apply(null,arguments)},bc=a._emscripten_bind_MetadataQuerier_GetIntEntry_2=function(){return(bc=a._emscripten_bind_MetadataQuerier_GetIntEntry_2=
62
- a.asm.Ca).apply(null,arguments)},cc=a._emscripten_bind_MetadataQuerier_GetIntEntryArray_3=function(){return(cc=a._emscripten_bind_MetadataQuerier_GetIntEntryArray_3=a.asm.Da).apply(null,arguments)},dc=a._emscripten_bind_MetadataQuerier_GetDoubleEntry_2=function(){return(dc=a._emscripten_bind_MetadataQuerier_GetDoubleEntry_2=a.asm.Ea).apply(null,arguments)},ec=a._emscripten_bind_MetadataQuerier_GetStringEntry_2=function(){return(ec=a._emscripten_bind_MetadataQuerier_GetStringEntry_2=a.asm.Fa).apply(null,
63
- arguments)},fc=a._emscripten_bind_MetadataQuerier_NumEntries_1=function(){return(fc=a._emscripten_bind_MetadataQuerier_NumEntries_1=a.asm.Ga).apply(null,arguments)},gc=a._emscripten_bind_MetadataQuerier_GetEntryName_2=function(){return(gc=a._emscripten_bind_MetadataQuerier_GetEntryName_2=a.asm.Ha).apply(null,arguments)},hc=a._emscripten_bind_MetadataQuerier___destroy___0=function(){return(hc=a._emscripten_bind_MetadataQuerier___destroy___0=a.asm.Ia).apply(null,arguments)},Qa=a._emscripten_bind_Decoder_Decoder_0=
64
- function(){return(Qa=a._emscripten_bind_Decoder_Decoder_0=a.asm.Ja).apply(null,arguments)},ic=a._emscripten_bind_Decoder_DecodeArrayToPointCloud_3=function(){return(ic=a._emscripten_bind_Decoder_DecodeArrayToPointCloud_3=a.asm.Ka).apply(null,arguments)},jc=a._emscripten_bind_Decoder_DecodeArrayToMesh_3=function(){return(jc=a._emscripten_bind_Decoder_DecodeArrayToMesh_3=a.asm.La).apply(null,arguments)},kc=a._emscripten_bind_Decoder_GetAttributeId_2=function(){return(kc=a._emscripten_bind_Decoder_GetAttributeId_2=
65
- a.asm.Ma).apply(null,arguments)},lc=a._emscripten_bind_Decoder_GetAttributeIdByName_2=function(){return(lc=a._emscripten_bind_Decoder_GetAttributeIdByName_2=a.asm.Na).apply(null,arguments)},mc=a._emscripten_bind_Decoder_GetAttributeIdByMetadataEntry_3=function(){return(mc=a._emscripten_bind_Decoder_GetAttributeIdByMetadataEntry_3=a.asm.Oa).apply(null,arguments)},nc=a._emscripten_bind_Decoder_GetAttribute_2=function(){return(nc=a._emscripten_bind_Decoder_GetAttribute_2=a.asm.Pa).apply(null,arguments)},
66
- oc=a._emscripten_bind_Decoder_GetAttributeByUniqueId_2=function(){return(oc=a._emscripten_bind_Decoder_GetAttributeByUniqueId_2=a.asm.Qa).apply(null,arguments)},pc=a._emscripten_bind_Decoder_GetMetadata_1=function(){return(pc=a._emscripten_bind_Decoder_GetMetadata_1=a.asm.Ra).apply(null,arguments)},qc=a._emscripten_bind_Decoder_GetAttributeMetadata_2=function(){return(qc=a._emscripten_bind_Decoder_GetAttributeMetadata_2=a.asm.Sa).apply(null,arguments)},rc=a._emscripten_bind_Decoder_GetFaceFromMesh_3=
67
- function(){return(rc=a._emscripten_bind_Decoder_GetFaceFromMesh_3=a.asm.Ta).apply(null,arguments)},sc=a._emscripten_bind_Decoder_GetTriangleStripsFromMesh_2=function(){return(sc=a._emscripten_bind_Decoder_GetTriangleStripsFromMesh_2=a.asm.Ua).apply(null,arguments)},tc=a._emscripten_bind_Decoder_GetTrianglesUInt16Array_3=function(){return(tc=a._emscripten_bind_Decoder_GetTrianglesUInt16Array_3=a.asm.Va).apply(null,arguments)},uc=a._emscripten_bind_Decoder_GetTrianglesUInt32Array_3=function(){return(uc=
68
- a._emscripten_bind_Decoder_GetTrianglesUInt32Array_3=a.asm.Wa).apply(null,arguments)},vc=a._emscripten_bind_Decoder_GetAttributeFloat_3=function(){return(vc=a._emscripten_bind_Decoder_GetAttributeFloat_3=a.asm.Xa).apply(null,arguments)},wc=a._emscripten_bind_Decoder_GetAttributeFloatForAllPoints_3=function(){return(wc=a._emscripten_bind_Decoder_GetAttributeFloatForAllPoints_3=a.asm.Ya).apply(null,arguments)},xc=a._emscripten_bind_Decoder_GetAttributeIntForAllPoints_3=function(){return(xc=a._emscripten_bind_Decoder_GetAttributeIntForAllPoints_3=
69
- a.asm.Za).apply(null,arguments)},yc=a._emscripten_bind_Decoder_GetAttributeInt8ForAllPoints_3=function(){return(yc=a._emscripten_bind_Decoder_GetAttributeInt8ForAllPoints_3=a.asm._a).apply(null,arguments)},zc=a._emscripten_bind_Decoder_GetAttributeUInt8ForAllPoints_3=function(){return(zc=a._emscripten_bind_Decoder_GetAttributeUInt8ForAllPoints_3=a.asm.$a).apply(null,arguments)},Ac=a._emscripten_bind_Decoder_GetAttributeInt16ForAllPoints_3=function(){return(Ac=a._emscripten_bind_Decoder_GetAttributeInt16ForAllPoints_3=
70
- a.asm.ab).apply(null,arguments)},Bc=a._emscripten_bind_Decoder_GetAttributeUInt16ForAllPoints_3=function(){return(Bc=a._emscripten_bind_Decoder_GetAttributeUInt16ForAllPoints_3=a.asm.bb).apply(null,arguments)},Cc=a._emscripten_bind_Decoder_GetAttributeInt32ForAllPoints_3=function(){return(Cc=a._emscripten_bind_Decoder_GetAttributeInt32ForAllPoints_3=a.asm.cb).apply(null,arguments)},Dc=a._emscripten_bind_Decoder_GetAttributeUInt32ForAllPoints_3=function(){return(Dc=a._emscripten_bind_Decoder_GetAttributeUInt32ForAllPoints_3=
71
- a.asm.db).apply(null,arguments)},Ec=a._emscripten_bind_Decoder_GetAttributeDataArrayForAllPoints_5=function(){return(Ec=a._emscripten_bind_Decoder_GetAttributeDataArrayForAllPoints_5=a.asm.eb).apply(null,arguments)},Fc=a._emscripten_bind_Decoder_SkipAttributeTransform_1=function(){return(Fc=a._emscripten_bind_Decoder_SkipAttributeTransform_1=a.asm.fb).apply(null,arguments)},Gc=a._emscripten_bind_Decoder_GetEncodedGeometryType_Deprecated_1=function(){return(Gc=a._emscripten_bind_Decoder_GetEncodedGeometryType_Deprecated_1=
72
- a.asm.gb).apply(null,arguments)},Hc=a._emscripten_bind_Decoder_DecodeBufferToPointCloud_2=function(){return(Hc=a._emscripten_bind_Decoder_DecodeBufferToPointCloud_2=a.asm.hb).apply(null,arguments)},Ic=a._emscripten_bind_Decoder_DecodeBufferToMesh_2=function(){return(Ic=a._emscripten_bind_Decoder_DecodeBufferToMesh_2=a.asm.ib).apply(null,arguments)},Jc=a._emscripten_bind_Decoder___destroy___0=function(){return(Jc=a._emscripten_bind_Decoder___destroy___0=a.asm.jb).apply(null,arguments)},Kc=a._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_INVALID_TRANSFORM=
73
- function(){return(Kc=a._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_INVALID_TRANSFORM=a.asm.kb).apply(null,arguments)},Lc=a._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_NO_TRANSFORM=function(){return(Lc=a._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_NO_TRANSFORM=a.asm.lb).apply(null,arguments)},Mc=a._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_QUANTIZATION_TRANSFORM=function(){return(Mc=a._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_QUANTIZATION_TRANSFORM=
74
- a.asm.mb).apply(null,arguments)},Nc=a._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_OCTAHEDRON_TRANSFORM=function(){return(Nc=a._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_OCTAHEDRON_TRANSFORM=a.asm.nb).apply(null,arguments)},Oc=a._emscripten_enum_draco_GeometryAttribute_Type_INVALID=function(){return(Oc=a._emscripten_enum_draco_GeometryAttribute_Type_INVALID=a.asm.ob).apply(null,arguments)},Pc=a._emscripten_enum_draco_GeometryAttribute_Type_POSITION=function(){return(Pc=a._emscripten_enum_draco_GeometryAttribute_Type_POSITION=
75
- a.asm.pb).apply(null,arguments)},Qc=a._emscripten_enum_draco_GeometryAttribute_Type_NORMAL=function(){return(Qc=a._emscripten_enum_draco_GeometryAttribute_Type_NORMAL=a.asm.qb).apply(null,arguments)},Rc=a._emscripten_enum_draco_GeometryAttribute_Type_COLOR=function(){return(Rc=a._emscripten_enum_draco_GeometryAttribute_Type_COLOR=a.asm.rb).apply(null,arguments)},Sc=a._emscripten_enum_draco_GeometryAttribute_Type_TEX_COORD=function(){return(Sc=a._emscripten_enum_draco_GeometryAttribute_Type_TEX_COORD=
76
- a.asm.sb).apply(null,arguments)},Tc=a._emscripten_enum_draco_GeometryAttribute_Type_GENERIC=function(){return(Tc=a._emscripten_enum_draco_GeometryAttribute_Type_GENERIC=a.asm.tb).apply(null,arguments)},Uc=a._emscripten_enum_draco_EncodedGeometryType_INVALID_GEOMETRY_TYPE=function(){return(Uc=a._emscripten_enum_draco_EncodedGeometryType_INVALID_GEOMETRY_TYPE=a.asm.ub).apply(null,arguments)},Vc=a._emscripten_enum_draco_EncodedGeometryType_POINT_CLOUD=function(){return(Vc=a._emscripten_enum_draco_EncodedGeometryType_POINT_CLOUD=
77
- a.asm.vb).apply(null,arguments)},Wc=a._emscripten_enum_draco_EncodedGeometryType_TRIANGULAR_MESH=function(){return(Wc=a._emscripten_enum_draco_EncodedGeometryType_TRIANGULAR_MESH=a.asm.wb).apply(null,arguments)},Xc=a._emscripten_enum_draco_DataType_DT_INVALID=function(){return(Xc=a._emscripten_enum_draco_DataType_DT_INVALID=a.asm.xb).apply(null,arguments)},Yc=a._emscripten_enum_draco_DataType_DT_INT8=function(){return(Yc=a._emscripten_enum_draco_DataType_DT_INT8=a.asm.yb).apply(null,arguments)},Zc=
78
- a._emscripten_enum_draco_DataType_DT_UINT8=function(){return(Zc=a._emscripten_enum_draco_DataType_DT_UINT8=a.asm.zb).apply(null,arguments)},$c=a._emscripten_enum_draco_DataType_DT_INT16=function(){return($c=a._emscripten_enum_draco_DataType_DT_INT16=a.asm.Ab).apply(null,arguments)},ad=a._emscripten_enum_draco_DataType_DT_UINT16=function(){return(ad=a._emscripten_enum_draco_DataType_DT_UINT16=a.asm.Bb).apply(null,arguments)},bd=a._emscripten_enum_draco_DataType_DT_INT32=function(){return(bd=a._emscripten_enum_draco_DataType_DT_INT32=
79
- a.asm.Cb).apply(null,arguments)},cd=a._emscripten_enum_draco_DataType_DT_UINT32=function(){return(cd=a._emscripten_enum_draco_DataType_DT_UINT32=a.asm.Db).apply(null,arguments)},dd=a._emscripten_enum_draco_DataType_DT_INT64=function(){return(dd=a._emscripten_enum_draco_DataType_DT_INT64=a.asm.Eb).apply(null,arguments)},ed=a._emscripten_enum_draco_DataType_DT_UINT64=function(){return(ed=a._emscripten_enum_draco_DataType_DT_UINT64=a.asm.Fb).apply(null,arguments)},fd=a._emscripten_enum_draco_DataType_DT_FLOAT32=
80
- function(){return(fd=a._emscripten_enum_draco_DataType_DT_FLOAT32=a.asm.Gb).apply(null,arguments)},gd=a._emscripten_enum_draco_DataType_DT_FLOAT64=function(){return(gd=a._emscripten_enum_draco_DataType_DT_FLOAT64=a.asm.Hb).apply(null,arguments)},hd=a._emscripten_enum_draco_DataType_DT_BOOL=function(){return(hd=a._emscripten_enum_draco_DataType_DT_BOOL=a.asm.Ib).apply(null,arguments)},id=a._emscripten_enum_draco_DataType_DT_TYPES_COUNT=function(){return(id=a._emscripten_enum_draco_DataType_DT_TYPES_COUNT=
81
- a.asm.Jb).apply(null,arguments)},jd=a._emscripten_enum_draco_StatusCode_OK=function(){return(jd=a._emscripten_enum_draco_StatusCode_OK=a.asm.Kb).apply(null,arguments)},kd=a._emscripten_enum_draco_StatusCode_DRACO_ERROR=function(){return(kd=a._emscripten_enum_draco_StatusCode_DRACO_ERROR=a.asm.Lb).apply(null,arguments)},ld=a._emscripten_enum_draco_StatusCode_IO_ERROR=function(){return(ld=a._emscripten_enum_draco_StatusCode_IO_ERROR=a.asm.Mb).apply(null,arguments)},md=a._emscripten_enum_draco_StatusCode_INVALID_PARAMETER=
82
- function(){return(md=a._emscripten_enum_draco_StatusCode_INVALID_PARAMETER=a.asm.Nb).apply(null,arguments)},nd=a._emscripten_enum_draco_StatusCode_UNSUPPORTED_VERSION=function(){return(nd=a._emscripten_enum_draco_StatusCode_UNSUPPORTED_VERSION=a.asm.Ob).apply(null,arguments)},od=a._emscripten_enum_draco_StatusCode_UNKNOWN_VERSION=function(){return(od=a._emscripten_enum_draco_StatusCode_UNKNOWN_VERSION=a.asm.Pb).apply(null,arguments)};a._malloc=function(){return(a._malloc=a.asm.Qb).apply(null,arguments)};
83
- a._free=function(){return(a._free=a.asm.Rb).apply(null,arguments)};var ua=function(){return(ua=a.asm.Sb).apply(null,arguments)};a.___start_em_js=11660;a.___stop_em_js=11758;var la;ha=function b(){la||F();la||(ha=b)};if(a.preInit)for("function"==typeof a.preInit&&(a.preInit=[a.preInit]);0<a.preInit.length;)a.preInit.pop()();F();v.prototype=Object.create(v.prototype);v.prototype.constructor=v;v.prototype.__class__=v;v.__cache__={};a.WrapperObject=v;a.getCache=w;a.wrapPointer=B;a.castObject=function(b,
84
- c){return B(b.ptr,c)};a.NULL=B(0);a.destroy=function(b){if(!b.__destroy__)throw"Error: Cannot destroy object. (Did you create it yourself?)";b.__destroy__();delete w(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+=
85
- r.needed;r.needed=0}r.buffer||(r.size+=128,r.buffer=a._malloc(r.size),r.buffer||y(void 0));r.pos=0},alloc:function(b,c){r.buffer||y(void 0);b=b.length*c.BYTES_PER_ELEMENT;b=b+7&-8;r.pos+b>=r.size?(0<b||y(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]}};X.prototype=Object.create(v.prototype);X.prototype.constructor=
86
- X;X.prototype.__class__=X;X.__cache__={};a.VoidPtr=X;X.prototype.__destroy__=X.prototype.__destroy__=function(){Xa(this.ptr)};S.prototype=Object.create(v.prototype);S.prototype.constructor=S;S.prototype.__class__=S;S.__cache__={};a.DecoderBuffer=S;S.prototype.Init=S.prototype.Init=function(b,c){var d=this.ptr;r.prepare();"object"==typeof b&&(b=Z(b));c&&"object"===typeof c&&(c=c.ptr);Ya(d,b,c)};S.prototype.__destroy__=S.prototype.__destroy__=function(){Za(this.ptr)};Q.prototype=Object.create(v.prototype);
87
- Q.prototype.constructor=Q;Q.prototype.__class__=Q;Q.__cache__={};a.AttributeTransformData=Q;Q.prototype.transform_type=Q.prototype.transform_type=function(){return $a(this.ptr)};Q.prototype.__destroy__=Q.prototype.__destroy__=function(){ab(this.ptr)};V.prototype=Object.create(v.prototype);V.prototype.constructor=V;V.prototype.__class__=V;V.__cache__={};a.GeometryAttribute=V;V.prototype.__destroy__=V.prototype.__destroy__=function(){bb(this.ptr)};x.prototype=Object.create(v.prototype);x.prototype.constructor=
88
- x;x.prototype.__class__=x;x.__cache__={};a.PointAttribute=x;x.prototype.size=x.prototype.size=function(){return cb(this.ptr)};x.prototype.GetAttributeTransformData=x.prototype.GetAttributeTransformData=function(){return B(db(this.ptr),Q)};x.prototype.attribute_type=x.prototype.attribute_type=function(){return eb(this.ptr)};x.prototype.data_type=x.prototype.data_type=function(){return fb(this.ptr)};x.prototype.num_components=x.prototype.num_components=function(){return gb(this.ptr)};x.prototype.normalized=
89
- x.prototype.normalized=function(){return!!hb(this.ptr)};x.prototype.byte_stride=x.prototype.byte_stride=function(){return ib(this.ptr)};x.prototype.byte_offset=x.prototype.byte_offset=function(){return jb(this.ptr)};x.prototype.unique_id=x.prototype.unique_id=function(){return kb(this.ptr)};x.prototype.__destroy__=x.prototype.__destroy__=function(){lb(this.ptr)};D.prototype=Object.create(v.prototype);D.prototype.constructor=D;D.prototype.__class__=D;D.__cache__={};a.AttributeQuantizationTransform=
90
- D;D.prototype.InitFromAttribute=D.prototype.InitFromAttribute=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);return!!mb(c,b)};D.prototype.quantization_bits=D.prototype.quantization_bits=function(){return nb(this.ptr)};D.prototype.min_value=D.prototype.min_value=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);return ob(c,b)};D.prototype.range=D.prototype.range=function(){return pb(this.ptr)};D.prototype.__destroy__=D.prototype.__destroy__=function(){qb(this.ptr)};G.prototype=
91
- Object.create(v.prototype);G.prototype.constructor=G;G.prototype.__class__=G;G.__cache__={};a.AttributeOctahedronTransform=G;G.prototype.InitFromAttribute=G.prototype.InitFromAttribute=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);return!!rb(c,b)};G.prototype.quantization_bits=G.prototype.quantization_bits=function(){return sb(this.ptr)};G.prototype.__destroy__=G.prototype.__destroy__=function(){tb(this.ptr)};H.prototype=Object.create(v.prototype);H.prototype.constructor=H;H.prototype.__class__=
92
- H;H.__cache__={};a.PointCloud=H;H.prototype.num_attributes=H.prototype.num_attributes=function(){return ub(this.ptr)};H.prototype.num_points=H.prototype.num_points=function(){return vb(this.ptr)};H.prototype.__destroy__=H.prototype.__destroy__=function(){wb(this.ptr)};E.prototype=Object.create(v.prototype);E.prototype.constructor=E;E.prototype.__class__=E;E.__cache__={};a.Mesh=E;E.prototype.num_faces=E.prototype.num_faces=function(){return xb(this.ptr)};E.prototype.num_attributes=E.prototype.num_attributes=
93
- function(){return yb(this.ptr)};E.prototype.num_points=E.prototype.num_points=function(){return zb(this.ptr)};E.prototype.__destroy__=E.prototype.__destroy__=function(){Ab(this.ptr)};T.prototype=Object.create(v.prototype);T.prototype.constructor=T;T.prototype.__class__=T;T.__cache__={};a.Metadata=T;T.prototype.__destroy__=T.prototype.__destroy__=function(){Bb(this.ptr)};C.prototype=Object.create(v.prototype);C.prototype.constructor=C;C.prototype.__class__=C;C.__cache__={};a.Status=C;C.prototype.code=
94
- C.prototype.code=function(){return Cb(this.ptr)};C.prototype.ok=C.prototype.ok=function(){return!!Db(this.ptr)};C.prototype.error_msg=C.prototype.error_msg=function(){return p(Eb(this.ptr))};C.prototype.__destroy__=C.prototype.__destroy__=function(){Fb(this.ptr)};I.prototype=Object.create(v.prototype);I.prototype.constructor=I;I.prototype.__class__=I;I.__cache__={};a.DracoFloat32Array=I;I.prototype.GetValue=I.prototype.GetValue=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);return Gb(c,
95
- b)};I.prototype.size=I.prototype.size=function(){return Hb(this.ptr)};I.prototype.__destroy__=I.prototype.__destroy__=function(){Ib(this.ptr)};J.prototype=Object.create(v.prototype);J.prototype.constructor=J;J.prototype.__class__=J;J.__cache__={};a.DracoInt8Array=J;J.prototype.GetValue=J.prototype.GetValue=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);return Jb(c,b)};J.prototype.size=J.prototype.size=function(){return Kb(this.ptr)};J.prototype.__destroy__=J.prototype.__destroy__=function(){Lb(this.ptr)};
96
- K.prototype=Object.create(v.prototype);K.prototype.constructor=K;K.prototype.__class__=K;K.__cache__={};a.DracoUInt8Array=K;K.prototype.GetValue=K.prototype.GetValue=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);return Mb(c,b)};K.prototype.size=K.prototype.size=function(){return Nb(this.ptr)};K.prototype.__destroy__=K.prototype.__destroy__=function(){Ob(this.ptr)};L.prototype=Object.create(v.prototype);L.prototype.constructor=L;L.prototype.__class__=L;L.__cache__={};a.DracoInt16Array=
97
- L;L.prototype.GetValue=L.prototype.GetValue=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);return Pb(c,b)};L.prototype.size=L.prototype.size=function(){return Qb(this.ptr)};L.prototype.__destroy__=L.prototype.__destroy__=function(){Rb(this.ptr)};M.prototype=Object.create(v.prototype);M.prototype.constructor=M;M.prototype.__class__=M;M.__cache__={};a.DracoUInt16Array=M;M.prototype.GetValue=M.prototype.GetValue=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);return Sb(c,b)};
98
- M.prototype.size=M.prototype.size=function(){return Tb(this.ptr)};M.prototype.__destroy__=M.prototype.__destroy__=function(){Ub(this.ptr)};N.prototype=Object.create(v.prototype);N.prototype.constructor=N;N.prototype.__class__=N;N.__cache__={};a.DracoInt32Array=N;N.prototype.GetValue=N.prototype.GetValue=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);return Vb(c,b)};N.prototype.size=N.prototype.size=function(){return Wb(this.ptr)};N.prototype.__destroy__=N.prototype.__destroy__=function(){Xb(this.ptr)};
99
- O.prototype=Object.create(v.prototype);O.prototype.constructor=O;O.prototype.__class__=O;O.__cache__={};a.DracoUInt32Array=O;O.prototype.GetValue=O.prototype.GetValue=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);return Yb(c,b)};O.prototype.size=O.prototype.size=function(){return Zb(this.ptr)};O.prototype.__destroy__=O.prototype.__destroy__=function(){$b(this.ptr)};z.prototype=Object.create(v.prototype);z.prototype.constructor=z;z.prototype.__class__=z;z.__cache__={};a.MetadataQuerier=
100
- z;z.prototype.HasEntry=z.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!!ac(d,b,c)};z.prototype.GetIntEntry=z.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 bc(d,b,c)};z.prototype.GetIntEntryArray=z.prototype.GetIntEntryArray=function(b,c,d){var g=this.ptr;r.prepare();b&&"object"===typeof b&&(b=b.ptr);c=c&&"object"===
101
- typeof c?c.ptr:R(c);d&&"object"===typeof d&&(d=d.ptr);cc(g,b,c,d)};z.prototype.GetDoubleEntry=z.prototype.GetDoubleEntry=function(b,c){var d=this.ptr;r.prepare();b&&"object"===typeof b&&(b=b.ptr);c=c&&"object"===typeof c?c.ptr:R(c);return dc(d,b,c)};z.prototype.GetStringEntry=z.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 p(ec(d,b,c))};z.prototype.NumEntries=z.prototype.NumEntries=function(b){var c=this.ptr;
102
- b&&"object"===typeof b&&(b=b.ptr);return fc(c,b)};z.prototype.GetEntryName=z.prototype.GetEntryName=function(b,c){var d=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);return p(gc(d,b,c))};z.prototype.__destroy__=z.prototype.__destroy__=function(){hc(this.ptr)};m.prototype=Object.create(v.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=
103
- this.ptr;r.prepare();"object"==typeof b&&(b=Z(b));c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);return B(ic(g,b,c,d),C)};m.prototype.DecodeArrayToMesh=m.prototype.DecodeArrayToMesh=function(b,c,d){var g=this.ptr;r.prepare();"object"==typeof b&&(b=Z(b));c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);return B(jc(g,b,c,d),C)};m.prototype.GetAttributeId=m.prototype.GetAttributeId=function(b,c){var d=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&
104
- (c=c.ptr);return kc(d,b,c)};m.prototype.GetAttributeIdByName=m.prototype.GetAttributeIdByName=function(b,c){var d=this.ptr;r.prepare();b&&"object"===typeof b&&(b=b.ptr);c=c&&"object"===typeof c?c.ptr:R(c);return lc(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 mc(g,b,c,d)};m.prototype.GetAttribute=
105
- 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 B(nc(d,b,c),x)};m.prototype.GetAttributeByUniqueId=m.prototype.GetAttributeByUniqueId=function(b,c){var d=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);return B(oc(d,b,c),x)};m.prototype.GetMetadata=m.prototype.GetMetadata=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);return B(pc(c,b),T)};m.prototype.GetAttributeMetadata=m.prototype.GetAttributeMetadata=
106
- function(b,c){var d=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);return B(qc(d,b,c),T)};m.prototype.GetFaceFromMesh=m.prototype.GetFaceFromMesh=function(b,c,d){var g=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);return!!rc(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);
107
- return sc(d,b,c)};m.prototype.GetTrianglesUInt16Array=m.prototype.GetTrianglesUInt16Array=function(b,c,d){var g=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);return!!tc(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!!uc(g,b,c,d)};m.prototype.GetAttributeFloat=m.prototype.GetAttributeFloat=
108
- 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!!vc(g,b,c,d)};m.prototype.GetAttributeFloatForAllPoints=m.prototype.GetAttributeFloatForAllPoints=function(b,c,d){var g=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);return!!wc(g,b,c,d)};m.prototype.GetAttributeIntForAllPoints=m.prototype.GetAttributeIntForAllPoints=function(b,c,d){var g=this.ptr;
109
- b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);return!!xc(g,b,c,d)};m.prototype.GetAttributeInt8ForAllPoints=m.prototype.GetAttributeInt8ForAllPoints=function(b,c,d){var g=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);return!!yc(g,b,c,d)};m.prototype.GetAttributeUInt8ForAllPoints=m.prototype.GetAttributeUInt8ForAllPoints=function(b,c,d){var g=this.ptr;b&&"object"===typeof b&&(b=
110
- b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);return!!zc(g,b,c,d)};m.prototype.GetAttributeInt16ForAllPoints=m.prototype.GetAttributeInt16ForAllPoints=function(b,c,d){var g=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);return!!Ac(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&&
111
- (c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);return!!Bc(g,b,c,d)};m.prototype.GetAttributeInt32ForAllPoints=m.prototype.GetAttributeInt32ForAllPoints=function(b,c,d){var g=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);return!!Cc(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"===
112
- typeof d&&(d=d.ptr);return!!Dc(g,b,c,d)};m.prototype.GetAttributeDataArrayForAllPoints=m.prototype.GetAttributeDataArrayForAllPoints=function(b,c,d,g,t){var aa=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);g&&"object"===typeof g&&(g=g.ptr);t&&"object"===typeof t&&(t=t.ptr);return!!Ec(aa,b,c,d,g,t)};m.prototype.SkipAttributeTransform=m.prototype.SkipAttributeTransform=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);Fc(c,
113
- b)};m.prototype.GetEncodedGeometryType_Deprecated=m.prototype.GetEncodedGeometryType_Deprecated=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);return Gc(c,b)};m.prototype.DecodeBufferToPointCloud=m.prototype.DecodeBufferToPointCloud=function(b,c){var d=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);return B(Hc(d,b,c),C)};m.prototype.DecodeBufferToMesh=m.prototype.DecodeBufferToMesh=function(b,c){var d=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===
114
- typeof c&&(c=c.ptr);return B(Ic(d,b,c),C)};m.prototype.__destroy__=m.prototype.__destroy__=function(){Jc(this.ptr)};(function(){function b(){a.ATTRIBUTE_INVALID_TRANSFORM=Kc();a.ATTRIBUTE_NO_TRANSFORM=Lc();a.ATTRIBUTE_QUANTIZATION_TRANSFORM=Mc();a.ATTRIBUTE_OCTAHEDRON_TRANSFORM=Nc();a.INVALID=Oc();a.POSITION=Pc();a.NORMAL=Qc();a.COLOR=Rc();a.TEX_COORD=Sc();a.GENERIC=Tc();a.INVALID_GEOMETRY_TYPE=Uc();a.POINT_CLOUD=Vc();a.TRIANGULAR_MESH=Wc();a.DT_INVALID=Xc();a.DT_INT8=Yc();a.DT_UINT8=Zc();a.DT_INT16=
115
- $c();a.DT_UINT16=ad();a.DT_INT32=bd();a.DT_UINT32=cd();a.DT_INT64=dd();a.DT_UINT64=ed();a.DT_FLOAT32=fd();a.DT_FLOAT64=gd();a.DT_BOOL=hd();a.DT_TYPES_COUNT=id();a.OK=jd();a.DRACO_ERROR=kd();a.IO_ERROR=ld();a.INVALID_PARAMETER=md();a.UNSUPPORTED_VERSION=nd();a.UNKNOWN_VERSION=od()}va?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);
116
- if(8>b.byteLength)return a.INVALID_GEOMETRY_TYPE;switch(b[7]){case 0:return a.POINT_CLOUD;case 1:return a.TRIANGULAR_MESH;default:return a.INVALID_GEOMETRY_TYPE}};return n.ready}}();"object"===typeof exports&&"object"===typeof module?module.exports=DracoDecoderModule:"function"===typeof define&&define.amd?define([],function(){return DracoDecoderModule}):"object"===typeof exports&&(exports.DracoDecoderModule=DracoDecoderModule);
@@ -1,74 +0,0 @@
1
- var ConfiguratorKernel = (() => {
2
- var _scriptName = typeof document != 'undefined' ? document.currentScript?.src : undefined;
3
- return (
4
- async function(moduleArg = {}) {
5
- var moduleRtn;
6
-
7
- var n=moduleArg,aa="object"==typeof window,ba="undefined"!=typeof WorkerGlobalScope,ca="object"==typeof process&&process.versions?.node&&"renderer"!=process.type,da="./this.program",ea=(a,b)=>{throw b;};"undefined"!=typeof __filename&&(_scriptName=__filename);var fa="",ha,ia;
8
- if(ca){var fs=require("fs");fa=__dirname+"/";ia=a=>{a=ja(a)?new URL(a):a;return fs.readFileSync(a)};ha=async a=>{a=ja(a)?new URL(a):a;return fs.readFileSync(a,void 0)};1<process.argv.length&&(da=process.argv[1].replace(/\\/g,"/"));process.argv.slice(2);ea=(a,b)=>{process.exitCode=a;throw b;}}else if(aa||ba){try{fa=(new URL(".",_scriptName)).href}catch{}ha=async a=>{a=await fetch(a,{credentials:"same-origin"});if(a.ok)return a.arrayBuffer();throw Error(a.status+" : "+a.url);}}
9
- var ka=console.log.bind(console),p=console.error.bind(console),t,la=!1,ma,ja=a=>a.startsWith("file://"),na,oa,u,pa,w,y,A,B,D,qa,ra,sa,ta,ua=!1;function va(){var a=u.buffer;pa=new Int8Array(a);y=new Int16Array(a);w=new Uint8Array(a);A=new Uint16Array(a);B=new Int32Array(a);D=new Uint32Array(a);qa=new Float32Array(a);ra=new Float64Array(a);sa=new BigInt64Array(a);ta=new BigUint64Array(a)}var F=0,G=null;
10
- function wa(a){n.onAbort?.(a);a="Aborted("+a+")";p(a);la=!0;a+=". Build with -sASSERTIONS for more info.";ua&&xa();a=new WebAssembly.RuntimeError(a);oa?.(a);throw a;}var ya;async function za(a){if(!t)try{var b=await ha(a);return new Uint8Array(b)}catch{}if(a==ya&&t)a=new Uint8Array(t);else if(ia)a=ia(a);else throw"both async and sync fetching of the wasm failed";return a}
11
- async function Aa(a,b){try{var c=await za(a);return await WebAssembly.instantiate(c,b)}catch(d){p(`failed to asynchronously prepare wasm: ${d}`),wa(d)}}async function Ba(a){var b=ya;if(!t&&"function"==typeof WebAssembly.instantiateStreaming&&!ca)try{var c=fetch(b,{credentials:"same-origin"});return await WebAssembly.instantiateStreaming(c,a)}catch(d){p(`wasm streaming compile failed: ${d}`),p("falling back to ArrayBuffer instantiation")}return Aa(b,a)}
12
- class Ca{name="ExitStatus";constructor(a){this.message=`Program terminated with exit(${a})`;this.status=a}}var Da=a=>{for(;0<a.length;)a.shift()(n)},Ea=[],Fa=[],Ga=()=>{var a=n.preRun.shift();Fa.push(a)},Ha=!0,Ia={},Ja=a=>{for(;a.length;){var b=a.pop();a.pop()(b)}};function H(a){return this.fromWireType(D[a>>2])}
13
- var I={},J={},Ka={},Ma=class extends Error{constructor(a){super(a);this.name="InternalError"}},L=(a,b,c)=>{function d(h){h=c(h);if(h.length!==a.length)throw new Ma("Mismatched type converter count");for(var m=0;m<a.length;++m)K(a[m],h[m])}a.forEach(h=>Ka[h]=b);var e=Array(b.length),g=[],f=0;b.forEach((h,m)=>{J.hasOwnProperty(h)?e[m]=J[h]:(g.push(h),I.hasOwnProperty(h)||(I[h]=[]),I[h].push(()=>{e[m]=J[h];++f;f===g.length&&d(e)}))});0===g.length&&d(e)},M=a=>{for(var b="";;){var c=w[a++];if(!c)return b;
14
- b+=String.fromCharCode(c)}},N=class extends Error{constructor(a){super(a);this.name="BindingError"}},Na=a=>{throw new N(a);};function Oa(a,b,c={}){var d=b.name;if(!a)throw new N(`type "${d}" must have a positive integer typeid pointer`);if(J.hasOwnProperty(a)){if(c.La)return;throw new N(`Cannot register type '${d}' twice`);}J[a]=b;delete Ka[a];I.hasOwnProperty(a)&&(b=I[a],delete I[a],b.forEach(e=>e()))}function K(a,b,c={}){return Oa(a,b,c)}
15
- var Pa=(a,b,c)=>{switch(b){case 1:return c?d=>pa[d]:d=>w[d];case 2:return c?d=>y[d>>1]:d=>A[d>>1];case 4:return c?d=>B[d>>2]:d=>D[d>>2];case 8:return c?d=>sa[d>>3]:d=>ta[d>>3];default:throw new TypeError(`invalid integer width (${b}): ${a}`);}},Qa=a=>{throw new N(a.ea.ha.fa.name+" instance already deleted");},Ra=!1,Sa=()=>{},O=a=>{if("undefined"===typeof FinalizationRegistry)return O=b=>b,a;Ra=new FinalizationRegistry(b=>{b=b.ea;--b.count.value;0===b.count.value&&(b.ja?b.na.oa(b.ja):b.ha.fa.oa(b.ga))});
16
- O=b=>{var c=b.ea;c.ja&&Ra.register(b,{ea:c},b);return b};Sa=b=>{Ra.unregister(b)};return O(a)},Ta=[];function Ua(){}
17
- var Va=(a,b)=>Object.defineProperty(b,"name",{value:a}),Wa={},Xa=(a,b,c)=>{if(void 0===a[b].ia){var d=a[b];a[b]=function(...e){if(!a[b].ia.hasOwnProperty(e.length))throw new N(`Function '${c}' called with an invalid number of arguments (${e.length}) - expects one of (${a[b].ia})!`);return a[b].ia[e.length].apply(this,e)};a[b].ia=[];a[b].ia[d.ra]=d}},Ya=(a,b,c)=>{if(n.hasOwnProperty(a)){if(void 0===c||void 0!==n[a].ia&&void 0!==n[a].ia[c])throw new N(`Cannot register public name '${a}' twice`);Xa(n,
18
- a,a);if(n[a].ia.hasOwnProperty(c))throw new N(`Cannot register multiple overloads of a function with the same number of arguments (${c})!`);n[a].ia[c]=b}else n[a]=b,n[a].ra=c},Za=a=>{a=a.replace(/[^a-zA-Z0-9_]/g,"$");var b=a.charCodeAt(0);return 48<=b&&57>=b?`_${a}`:a};function $a(a,b,c,d,e,g,f,h){this.name=a;this.constructor=b;this.qa=c;this.oa=d;this.ka=e;this.Ga=g;this.ua=f;this.Ea=h;this.Oa=[]}
19
- var ab=(a,b,c)=>{for(;b!==c;){if(!b.ua)throw new N(`Expected null or instance of ${c.name}, got an instance of ${b.name}`);a=b.ua(a);b=b.ka}return a},bb=a=>{if(null===a)return"null";var b=typeof a;return"object"===b||"array"===b||"function"===b?a.toString():""+a};
20
- function cb(a,b){if(null===b){if(this.xa)throw new N(`null is not a valid ${this.name}`);return 0}if(!b.ea)throw new N(`Cannot pass "${bb(b)}" as a ${this.name}`);if(!b.ea.ga)throw new N(`Cannot pass deleted object as a pointer of type ${this.name}`);return ab(b.ea.ga,b.ea.ha.fa,this.fa)}
21
- function db(a,b){if(null===b){if(this.xa)throw new N(`null is not a valid ${this.name}`);if(this.wa){var c=this.ya();null!==a&&a.push(this.oa,c);return c}return 0}if(!b||!b.ea)throw new N(`Cannot pass "${bb(b)}" as a ${this.name}`);if(!b.ea.ga)throw new N(`Cannot pass deleted object as a pointer of type ${this.name}`);if(!this.va&&b.ea.ha.va)throw new N(`Cannot convert argument of type ${b.ea.na?b.ea.na.name:b.ea.ha.name} to parameter type ${this.name}`);c=ab(b.ea.ga,b.ea.ha.fa,this.fa);if(this.wa){if(void 0===
22
- b.ea.ja)throw new N("Passing raw pointer to smart pointer is illegal");switch(this.Ta){case 0:if(b.ea.na===this)c=b.ea.ja;else throw new N(`Cannot convert argument of type ${b.ea.na?b.ea.na.name:b.ea.ha.name} to parameter type ${this.name}`);break;case 1:c=b.ea.ja;break;case 2:if(b.ea.na===this)c=b.ea.ja;else{var d=b.clone();c=this.Pa(c,P(()=>d["delete"]()));null!==a&&a.push(this.oa,c)}break;default:throw new N("Unsupporting sharing policy");}}return c}
23
- function eb(a,b){if(null===b){if(this.xa)throw new N(`null is not a valid ${this.name}`);return 0}if(!b.ea)throw new N(`Cannot pass "${bb(b)}" as a ${this.name}`);if(!b.ea.ga)throw new N(`Cannot pass deleted object as a pointer of type ${this.name}`);if(b.ea.ha.va)throw new N(`Cannot convert argument of type ${b.ea.ha.name} to parameter type ${this.name}`);return ab(b.ea.ga,b.ea.ha.fa,this.fa)}
24
- var fb=(a,b,c)=>{if(b===c)return a;if(void 0===c.ka)return null;a=fb(a,b,c.ka);return null===a?null:c.Ea(a)},gb={},hb=(a,b)=>{if(void 0===b)throw new N("ptr should not be undefined");for(;a.ka;)b=a.ua(b),a=a.ka;return gb[b]},ib=(a,b)=>{if(!b.ha||!b.ga)throw new Ma("makeClassHandle requires ptr and ptrType");if(!!b.na!==!!b.ja)throw new Ma("Both smartPtrType and smartPtr must be specified");b.count={value:1};return O(Object.create(a,{ea:{value:b,writable:!0}}))};
25
- function Q(a,b,c,d,e,g,f,h,m,l,k){this.name=a;this.fa=b;this.xa=c;this.va=d;this.wa=e;this.Na=g;this.Ta=f;this.Ca=h;this.ya=m;this.Pa=l;this.oa=k;e||void 0!==b.ka?this.toWireType=db:(this.toWireType=d?cb:eb,this.la=null)}
26
- var jb=(a,b,c)=>{if(!n.hasOwnProperty(a))throw new Ma("Replacing nonexistent public symbol");void 0!==n[a].ia&&void 0!==c?n[a].ia[c]=b:(n[a]=b,n[a].ra=c)},kb,R=(a,b)=>{a=M(a);var c=kb.get(b);if("function"!=typeof c)throw new N(`unknown function pointer with signature ${a}: ${b}`);return c};class lb extends Error{}
27
- var nb=a=>{a=mb(a);var b=M(a);S(a);return b},ob=(a,b)=>{function c(g){e[g]||J[g]||(Ka[g]?Ka[g].forEach(c):(d.push(g),e[g]=!0))}var d=[],e={};b.forEach(c);throw new lb(`${a}: `+d.map(nb).join([", "]));},pb=(a,b)=>{for(var c=[],d=0;d<a;d++)c.push(D[b+4*d>>2]);return c};function qb(a){for(var b=1;b<a.length;++b)if(null!==a[b]&&void 0===a[b].la)return!0;return!1}
28
- function rb(a,b,c,d,e,g){var f=b.length;if(2>f)throw new N("argTypes array size mismatch! Must at least get return value and 'this' types!");var h=null!==b[1]&&null!==c,m=qb(b);c="void"!==b[0].name;d=[a,Na,d,e,Ja,b[0],b[1]];for(e=0;e<f-2;++e)d.push(b[e+2]);if(!m)for(e=h?1:2;e<b.length;++e)null!==b[e].la&&d.push(b[e].la);m=qb(b);e=b.length-2;var l=[],k=["fn"];h&&k.push("thisWired");for(f=0;f<e;++f)l.push(`arg${f}`),k.push(`arg${f}Wired`);l=l.join(",");k=k.join(",");l=`return function (${l}) {\n`;m&&
29
- (l+="var destructors = [];\n");var q=m?"destructors":"null",r="humanName throwBindingError invoker fn runDestructors retType classParam".split(" ");h&&(l+=`var thisWired = classParam['toWireType'](${q}, this);\n`);for(f=0;f<e;++f)l+=`var arg${f}Wired = argType${f}['toWireType'](${q}, arg${f});\n`,r.push(`argType${f}`);l+=(c||g?"var rv = ":"")+`invoker(${k});\n`;if(m)l+="runDestructors(destructors);\n";else for(f=h?1:2;f<b.length;++f)g=1===f?"thisWired":"arg"+(f-2)+"Wired",null!==b[f].la&&(l+=`${g}_dtor(${g});\n`,
30
- r.push(`${g}_dtor`));c&&(l+="var ret = retType['fromWireType'](rv);\nreturn ret;\n");let [x,v]=[r,l+"}\n"];b=(new Function(...x,v))(...d);return Va(a,b)}
31
- var sb=a=>{a=a.trim();const b=a.indexOf("(");return-1===b?a:a.slice(0,b)},tb=[],T=[0,1,,1,null,1,!0,1,!1,1],ub=a=>{9<a&&0===--T[a+1]&&(T[a]=void 0,tb.push(a))},U=a=>{if(!a)throw new N(`Cannot use deleted val. handle = ${a}`);return T[a]},P=a=>{switch(a){case void 0:return 2;case null:return 4;case !0:return 6;case !1:return 8;default:const b=tb.pop()||T.length;T[b]=a;T[b+1]=1;return b}},wb={name:"emscripten::val",fromWireType:a=>{var b=U(a);ub(a);return b},toWireType:(a,b)=>P(b),ma:8,readValueFromPointer:H,
32
- la:null},xb=(a,b,c)=>{switch(b){case 1:return c?function(d){return this.fromWireType(pa[d])}:function(d){return this.fromWireType(w[d])};case 2:return c?function(d){return this.fromWireType(y[d>>1])}:function(d){return this.fromWireType(A[d>>1])};case 4:return c?function(d){return this.fromWireType(B[d>>2])}:function(d){return this.fromWireType(D[d>>2])};default:throw new TypeError(`invalid integer width (${b}): ${a}`);}},yb=(a,b)=>{var c=J[a];if(void 0===c)throw a=`${b} has unknown type ${nb(a)}`,
33
- new N(a);return c},zb=(a,b)=>{switch(b){case 4:return function(c){return this.fromWireType(qa[c>>2])};case 8:return function(c){return this.fromWireType(ra[c>>3])};default:throw new TypeError(`invalid float width (${b}): ${a}`);}},Ab=Object.assign({optional:!0},wb),V=(a,b,c)=>{var d=w;if(!(0<c))return 0;var e=b;c=b+c-1;for(var g=0;g<a.length;++g){var f=a.codePointAt(g);if(127>=f){if(b>=c)break;d[b++]=f}else if(2047>=f){if(b+1>=c)break;d[b++]=192|f>>6;d[b++]=128|f&63}else if(65535>=f){if(b+2>=c)break;
34
- d[b++]=224|f>>12;d[b++]=128|f>>6&63;d[b++]=128|f&63}else{if(b+3>=c)break;d[b++]=240|f>>18;d[b++]=128|f>>12&63;d[b++]=128|f>>6&63;d[b++]=128|f&63;g++}}d[b]=0;return b-e},Bb=a=>{for(var b=0,c=0;c<a.length;++c){var d=a.charCodeAt(c);127>=d?b++:2047>=d?b+=2:55296<=d&&57343>=d?(b+=4,++c):b+=3}return b},Cb=new TextDecoder,Db=new TextDecoder("utf-16le"),Eb=(a,b)=>{a>>=1;b=a+b/2;for(var c=a;!(c>=b)&&A[c];)++c;return Db.decode(A.subarray(a,c))},Fb=(a,b,c)=>{c??=2147483647;if(2>c)return 0;c-=2;var d=b;c=c<
35
- 2*a.length?c/2:a.length;for(var e=0;e<c;++e)y[b>>1]=a.charCodeAt(e),b+=2;y[b>>1]=0;return b-d},Gb=a=>2*a.length,Hb=(a,b)=>{for(var c="",d=0;!(d>=b/4);d++){var e=B[a+4*d>>2];if(!e)break;c+=String.fromCodePoint(e)}return c},Ib=(a,b,c)=>{c??=2147483647;if(4>c)return 0;var d=b;c=d+c-4;for(var e=0;e<a.length;++e){var g=a.codePointAt(e);65535<g&&e++;B[b>>2]=g;b+=4;if(b+4>c)break}B[b>>2]=0;return b-d},Jb=a=>{for(var b=0,c=0;c<a.length;++c)65535<a.codePointAt(c)&&c++,b+=4;return b},Kb=0,Lb=(a,b,c)=>{var d=
36
- [];a=a.toWireType(d,c);d.length&&(D[b>>2]=P(d));return a},Mb=[],Nb={},Ob=a=>{var b=Nb[a];return void 0===b?M(a):b},Pb=a=>{var b=Mb.length;Mb.push(a);return b},Qb=(a,b)=>{for(var c=Array(a),d=0;d<a;++d)c[d]=yb(D[b+4*d>>2],`parameter ${d}`);return c},W={},Rb=a=>{a instanceof Ca||"unwind"==a||ea(1,a)},Sb=a=>{ma=a;Ha||0<Kb||(n.onExit?.(a),la=!0);ea(a,new Ca(a))},Tb=a=>{if(!la)try{if(a(),!(Ha||0<Kb))try{ma=a=ma,Sb(a)}catch(b){Rb(b)}}catch(b){Rb(b)}},Ub={},Wb=()=>{if(!Vb){var a={USER:"web_user",LOGNAME:"web_user",
37
- PATH:"/",PWD:"/",HOME:"/home/web_user",LANG:("object"==typeof navigator&&navigator.language||"C").replace("-","_")+".UTF-8",_:da||"./this.program"},b;for(b in Ub)void 0===Ub[b]?delete a[b]:a[b]=Ub[b];var c=[];for(b in a)c.push(`${b}=${a[b]}`);Vb=c}return Vb},Vb,Xb=[null,[],[]];
38
- (()=>{let a=Ua.prototype;Object.assign(a,{isAliasOf:function(c){if(!(this instanceof Ua&&c instanceof Ua))return!1;var d=this.ea.ha.fa,e=this.ea.ga;c.ea=c.ea;var g=c.ea.ha.fa;for(c=c.ea.ga;d.ka;)e=d.ua(e),d=d.ka;for(;g.ka;)c=g.ua(c),g=g.ka;return d===g&&e===c},clone:function(){this.ea.ga||Qa(this);if(this.ea.ta)return this.ea.count.value+=1,this;var c=O,d=Object,e=d.create,g=Object.getPrototypeOf(this),f=this.ea;c=c(e.call(d,g,{ea:{value:{count:f.count,sa:f.sa,ta:f.ta,ga:f.ga,ha:f.ha,ja:f.ja,na:f.na}}}));
39
- c.ea.count.value+=1;c.ea.sa=!1;return c},["delete"](){this.ea.ga||Qa(this);if(this.ea.sa&&!this.ea.ta)throw new N("Object already scheduled for deletion");Sa(this);var c=this.ea;--c.count.value;0===c.count.value&&(c.ja?c.na.oa(c.ja):c.ha.fa.oa(c.ga));this.ea.ta||(this.ea.ja=void 0,this.ea.ga=void 0)},isDeleted:function(){return!this.ea.ga},deleteLater:function(){this.ea.ga||Qa(this);if(this.ea.sa&&!this.ea.ta)throw new N("Object already scheduled for deletion");Ta.push(this);this.ea.sa=!0;return this}});
40
- const b=Symbol.dispose;b&&(a[b]=a["delete"])})();
41
- Object.assign(Q.prototype,{Ha(a){this.Ca&&(a=this.Ca(a));return a},Aa(a){this.oa?.(a)},ma:8,readValueFromPointer:H,fromWireType:function(a){function b(){return this.wa?ib(this.fa.qa,{ha:this.Na,ga:c,na:this,ja:a}):ib(this.fa.qa,{ha:this,ga:a})}var c=this.Ha(a);if(!c)return this.Aa(a),null;var d=hb(this.fa,c);if(void 0!==d){if(0===d.ea.count.value)return d.ea.ga=c,d.ea.ja=a,d.clone();d=d.clone();this.Aa(a);return d}d=this.fa.Ga(c);d=Wa[d];if(!d)return b.call(this);d=this.va?d.Da:d.pointerType;var e=
42
- fb(c,this.fa,d.fa);return null===e?b.call(this):this.wa?ib(d.fa.qa,{ha:d,ga:e,na:this,ja:a}):ib(d.fa.qa,{ha:d,ga:e})}});n.noExitRuntime&&(Ha=n.noExitRuntime);n.print&&(ka=n.print);n.printErr&&(p=n.printErr);n.wasmBinary&&(t=n.wasmBinary);n.thisProgram&&(da=n.thisProgram);n.wasmMemory=u;
43
- var mb,S,Yb,Zb,$b,xa,ac={C:()=>wa(""),T:a=>{var b=Ia[a];delete Ia[a];var c=b.ya,d=b.oa,e=b.Ba,g=e.map(f=>f.Ka).concat(e.map(f=>f.Ra));L([a],g,f=>{var h={};e.forEach((m,l)=>{var k=f[l],q=m.Ia,r=m.Ja,x=f[l+e.length],v=m.Qa,C=m.Sa;h[m.Fa]={read:E=>k.fromWireType(q(r,E)),write:(E,Y)=>{var z=[];v(C,E,x.toWireType(z,Y));Ja(z)},optional:f[l].optional}});return[{name:b.name,fromWireType:m=>{var l={},k;for(k in h)l[k]=h[k].read(m);d(m);return l},toWireType:(m,l)=>{for(var k in h)if(!(k in l||h[k].optional))throw new TypeError(`Missing field: "${k}"`);
44
- var q=c();for(k in h)h[k].write(q,l[k]);null!==m&&m.push(d,q);return q},ma:8,readValueFromPointer:H,la:d}]})},v:(a,b,c,d,e)=>{b=M(b);d=0n===d;let g=f=>f;if(d){const f=8*c;g=h=>BigInt.asUintN(f,h);e=g(e)}K(a,{name:b,fromWireType:g,toWireType:(f,h)=>{"number"==typeof h&&(h=BigInt(h));return h},ma:8,readValueFromPointer:Pa(b,c,!d),la:null})},O:(a,b,c,d)=>{b=M(b);K(a,{name:b,fromWireType:function(e){return!!e},toWireType:function(e,g){return g?c:d},ma:8,readValueFromPointer:function(e){return this.fromWireType(w[e])},
45
- la:null})},f:(a,b,c,d,e,g,f,h,m,l,k,q,r)=>{k=M(k);g=R(e,g);h&&=R(f,h);l&&=R(m,l);r=R(q,r);var x=Za(k);Ya(x,function(){ob(`Cannot construct ${k} due to unbound types`,[d])});L([a,b,c],d?[d]:[],v=>{v=v[0];if(d){var C=v.fa;var E=C.qa}else E=Ua.prototype;v=Va(k,function(...La){if(Object.getPrototypeOf(this)!==Y)throw new N(`Use 'new' to construct ${k}`);if(void 0===z.pa)throw new N(`${k} has no accessible constructor`);var vb=z.pa[La.length];if(void 0===vb)throw new N(`Tried to invoke ctor of ${k} with invalid number of parameters (${La.length}) - expected (${Object.keys(z.pa).toString()}) parameters instead!`);
46
- return vb.apply(this,La)});var Y=Object.create(E,{constructor:{value:v}});v.prototype=Y;var z=new $a(k,v,Y,r,C,g,h,l);if(z.ka){var Z;(Z=z.ka).za??(Z.za=[]);z.ka.za.push(z)}C=new Q(k,z,!0,!1,!1);Z=new Q(k+"*",z,!1,!1,!1);E=new Q(k+" const*",z,!1,!0,!1);Wa[a]={pointerType:Z,Da:E};jb(x,v);return[C,Z,E]})},e:(a,b,c,d,e,g)=>{var f=pb(b,c);e=R(d,e);L([],[a],h=>{h=h[0];var m=`constructor ${h.name}`;void 0===h.fa.pa&&(h.fa.pa=[]);if(void 0!==h.fa.pa[b-1])throw new N(`Cannot register multiple constructors with identical number of parameters (${b-
47
- 1}) for class '${h.name}'! Overload resolution is currently only performed using the parameter count, not actual type info!`);h.fa.pa[b-1]=()=>{ob(`Cannot construct ${h.name} due to unbound types`,f)};L([],f,l=>{l.splice(1,0,null);h.fa.pa[b-1]=rb(m,l,null,e,g);return[]});return[]})},a:(a,b,c,d,e,g,f,h,m)=>{var l=pb(c,d);b=M(b);b=sb(b);g=R(e,g);L([],[a],k=>{function q(){ob(`Cannot call ${r} due to unbound types`,l)}k=k[0];var r=`${k.name}.${b}`;b.startsWith("@@")&&(b=Symbol[b.substring(2)]);h&&k.fa.Oa.push(b);
48
- var x=k.fa.qa,v=x[b];void 0===v||void 0===v.ia&&v.className!==k.name&&v.ra===c-2?(q.ra=c-2,q.className=k.name,x[b]=q):(Xa(x,b,r),x[b].ia[c-2]=q);L([],l,C=>{C=rb(r,C,k,g,f,m);void 0===x[b].ia?(C.ra=c-2,x[b]=C):x[b].ia[c-2]=C;return[]});return[]})},L:a=>K(a,wb),m:(a,b,c,d)=>{function e(){}b=M(b);e.values={};K(a,{name:b,constructor:e,fromWireType:function(g){return this.constructor.values[g]},toWireType:(g,f)=>f.value,ma:8,readValueFromPointer:xb(b,c,d),la:null});Ya(b,e)},c:(a,b,c)=>{var d=yb(a,"enum");
49
- b=M(b);a=d.constructor;d=Object.create(d.constructor.prototype,{value:{value:c},constructor:{value:Va(`${d.name}_${b}`,function(){})}});a.values[c]=d;a[b]=d},u:(a,b,c)=>{b=M(b);K(a,{name:b,fromWireType:d=>d,toWireType:(d,e)=>e,ma:8,readValueFromPointer:zb(b,c),la:null})},q:(a,b,c,d,e,g,f)=>{var h=pb(b,c);a=M(a);a=sb(a);e=R(d,e);Ya(a,function(){ob(`Cannot call ${a} due to unbound types`,h)},b-1);L([],h,m=>{m=[m[0],null].concat(m.slice(1));jb(a,rb(a,m,null,e,g,f),b-1);return[]})},n:(a,b,c,d,e)=>{b=
50
- M(b);let g=h=>h;if(0===d){var f=32-8*c;g=h=>h<<f>>>f;e=g(e)}K(a,{name:b,fromWireType:g,toWireType:(h,m)=>m,ma:8,readValueFromPointer:Pa(b,c,0!==d),la:null})},l:(a,b,c)=>{function d(g){return new e(pa.buffer,D[g+4>>2],D[g>>2])}var e=[Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array,BigInt64Array,BigUint64Array][b];c=M(c);K(a,{name:c,fromWireType:d,ma:8,readValueFromPointer:d},{La:!0})},h:a=>{K(a,Ab)},s:(a,b,c,d,e,g,f,h,m,l,k,q)=>{c=M(c);g=R(e,g);h=R(f,h);
51
- l=R(m,l);q=R(k,q);L([a],[b],r=>{r=r[0];return[new Q(c,r.fa,!1,!1,!0,r,d,g,h,l,q)]})},M:(a,b)=>{b=M(b);K(a,{name:b,fromWireType:function(c){for(var d=D[c>>2],e=c+4,g,f=e,h=0;h<=d;++h){var m=e+h;if(h==d||0==w[m]){if(f){for(var l=f+(m-f),k=f;!(k>=l)&&w[k];)++k;f=Cb.decode(w.subarray(f,k))}else f="";void 0===g?g=f:(g+=String.fromCharCode(0),g+=f);f=m+1}}S(c);return g},toWireType:function(c,d){d instanceof ArrayBuffer&&(d=new Uint8Array(d));var e="string"==typeof d;if(!(e||ArrayBuffer.isView(d)&&1==d.BYTES_PER_ELEMENT))throw new N("Cannot pass non-string to std::string");
52
- var g=e?Bb(d):d.length;var f=Yb(4+g+1),h=f+4;D[f>>2]=g;e?V(d,h,g+1):w.set(d,h);null!==c&&c.push(S,f);return f},ma:8,readValueFromPointer:H,la(c){S(c)}})},r:(a,b,c)=>{c=M(c);if(2===b){var d=Eb;var e=Fb;var g=Gb;var f=h=>A[h>>1]}else 4===b&&(d=Hb,e=Ib,g=Jb,f=h=>D[h>>2]);K(a,{name:c,fromWireType:h=>{for(var m=D[h>>2],l,k=h+4,q=0;q<=m;++q){var r=h+4+q*b;if(q==m||0==f(r))k=d(k,r-k),void 0===l?l=k:(l+=String.fromCharCode(0),l+=k),k=r+b}S(h);return l},toWireType:(h,m)=>{if("string"!=typeof m)throw new N(`Cannot pass non-string to C++ string type ${c}`);
53
- var l=g(m),k=Yb(4+l+b);D[k>>2]=l/b;e(m,k+4,l+b);null!==h&&h.push(S,k);return k},ma:8,readValueFromPointer:H,la(h){S(h)}})},g:(a,b,c,d,e,g)=>{Ia[a]={name:M(b),ya:R(c,d),oa:R(e,g),Ba:[]}},b:(a,b,c,d,e,g,f,h,m,l)=>{Ia[a].Ba.push({Fa:M(b),Ka:c,Ia:R(d,e),Ja:g,Ra:f,Qa:R(h,m),Sa:l})},P:(a,b)=>{b=M(b);K(a,{Ma:!0,name:b,ma:0,fromWireType:()=>{},toWireType:()=>{}})},A:()=>{Ha=!1;Kb=0},p:(a,b,c)=>{a=U(a);b=yb(b,"emval::as");return Lb(b,c,a)},w:(a,b,c,d)=>{a=Mb[a];b=U(b);return a(null,b,c,d)},j:(a,b,c,d,e)=>
54
- {a=Mb[a];b=U(b);c=Ob(c);return a(b,b[c],d,e)},V:ub,N:a=>{if(0===a)return P(globalThis);a=Ob(a);return P(globalThis[a])},i:(a,b,c)=>{b=Qb(a,b);var d=b.shift();a--;var e="return function (obj, func, destructorsRef, args) {\n",g=0,f=[];0===c&&f.push("obj");for(var h=["retType"],m=[d],l=0;l<a;++l)f.push(`arg${l}`),h.push(`argType${l}`),m.push(b[l]),e+=` var arg${l} = argType${l}.readValueFromPointer(args${g?"+"+g:""});\n`,g+=b[l].ma;e+=` var rv = ${1===c?"new func":"func.call"}(${f.join(", ")});\n`;
55
- d.Ma||(h.push("emval_returnValue"),m.push(Lb),e+=" return emval_returnValue(retType, destructorsRef, rv);\n");a=(new Function(...h,e+"};\n"))(...m);c=`methodCaller<(${b.map(k=>k.name).join(", ")}) => ${d.name}>`;return Pb(Va(c,a))},Q:a=>{a=Ob(a);return P(n[a])},o:(a,b)=>{a=U(a);b=U(b);return P(a[b])},t:a=>{9<a&&(T[a+1]+=1)},R:(a,b)=>{a=U(a);b=U(b);return a instanceof b},W:()=>P([]),x:a=>P(Ob(a)),S:()=>P({}),y:a=>{var b=U(a);Ja(b);ub(a)},k:(a,b,c)=>{a=U(a);b=U(b);c=U(c);a[b]=c},U:(a,b)=>{a=U(a);b=
56
- U(b);return a===b},d:(a,b)=>{a=yb(a,"_emval_take_value");a=a.readValueFromPointer(b);return P(a)},B:(a,b)=>{W[a]&&(clearTimeout(W[a].id),delete W[a]);if(!b)return 0;var c=setTimeout(()=>{delete W[a];Tb(()=>$b(a,performance.now()))},b);W[a]={id:c,Ua:b};return 0},D:(a,b,c,d)=>{var e=(new Date).getFullYear(),g=(new Date(e,0,1)).getTimezoneOffset();e=(new Date(e,6,1)).getTimezoneOffset();D[a>>2]=60*Math.max(g,e);B[b>>2]=Number(g!=e);b=f=>{var h=Math.abs(f);return`UTC${0<=f?"-":"+"}${String(Math.floor(h/
57
- 60)).padStart(2,"0")}${String(h%60).padStart(2,"0")}`};a=b(g);b=b(e);e<g?(V(a,c,17),V(b,d,17)):(V(a,d,17),V(b,c,17))},E:a=>{var b=w.length;a>>>=0;if(2147483648<a)return!1;for(var c=1;4>=c;c*=2){var d=b*(1+.2/c);d=Math.min(d,a+100663296);a:{d=(Math.min(2147483648,65536*Math.ceil(Math.max(a,d)/65536))-u.buffer.byteLength+65535)/65536|0;try{u.grow(d);va();var e=1;break a}catch(g){}e=void 0}if(e)return!0}return!1},G:(a,b)=>{var c=0,d=0,e;for(e of Wb()){var g=b+c;D[a+d>>2]=g;c+=V(e,g,Infinity)+1;d+=4}return 0},
58
- H:(a,b)=>{var c=Wb();D[a>>2]=c.length;a=0;for(var d of c)a+=Bb(d)+1;D[b>>2]=a;return 0},I:()=>52,K:()=>52,F:function(){return 70},J:(a,b,c,d)=>{for(var e=0,g=0;g<c;g++){var f=D[b>>2],h=D[b+4>>2];b+=8;for(var m=0;m<h;m++){var l=a,k=w[f+m],q=Xb[l];if(0===k||10===k){l=1===l?ka:p;for(k=0;q[k]&&!(NaN<=k);)++k;k=Cb.decode(q.buffer?q.subarray(0,k):new Uint8Array(q.slice(0,k)));l(k);q.length=0}else q.push(k)}e+=h}D[d>>2]=e;return 0},z:Sb},X=await (async function(){function a(c){X=c.exports;u=X.X;
59
- n.wasmMemory=u;va();kb=X.ba;c=X;mb=c.Z;S=c._;Yb=c.$;n._main=Zb=c.aa;$b=c.ca;xa=c.da;F--;n.monitorRunDependencies?.(F);0==F&&G&&(c=G,G=null,c());return X}F++;n.monitorRunDependencies?.(F);var b={a:ac};if(n.instantiateWasm)return new Promise(c=>{n.instantiateWasm(b,(d,e)=>{c(a(d,e))})});ya??=n.locateFile?n.locateFile("ConfiguratorKernel.wasm",fa):fa+"ConfiguratorKernel.wasm";return a((await Ba(b)).instance)}());
60
- function bc(){function a(){n.calledRun=!0;if(!la){ua=!0;X.Y();na?.(n);n.onRuntimeInitialized?.();if(!n.noInitialRun){var b=Zb;try{var c=b(0,0);ma=c;Sb(c)}catch(d){Rb(d)}}if(n.postRun)for("function"==typeof n.postRun&&(n.postRun=[n.postRun]);n.postRun.length;)b=n.postRun.shift(),Ea.push(b);Da(Ea)}}if(0<F)G=bc;else{if(n.preRun)for("function"==typeof n.preRun&&(n.preRun=[n.preRun]);n.preRun.length;)Ga();Da(Fa);0<F?G=bc:n.setStatus?(n.setStatus("Running..."),setTimeout(()=>{setTimeout(()=>n.setStatus(""),
61
- 1);a()},1)):a()}}if(n.preInit)for("function"==typeof n.preInit&&(n.preInit=[n.preInit]);0<n.preInit.length;)n.preInit.shift()();bc();ua?moduleRtn=n:moduleRtn=new Promise((a,b)=>{na=a;oa=b});
62
-
63
-
64
- return moduleRtn;
65
- }
66
- );
67
- })();
68
- if (typeof exports === 'object' && typeof module === 'object') {
69
- module.exports = ConfiguratorKernel;
70
- // This default export looks redundant, but it allows TS to import this
71
- // commonjs style module.
72
- module.exports.default = ConfiguratorKernel;
73
- } else if (typeof define === 'function' && define['amd'])
74
- define([], () => ConfiguratorKernel);
@@ -1,79 +0,0 @@
1
- var RoomleCore = (() => {
2
- var _scriptName = typeof document != 'undefined' ? document.currentScript?.src : undefined;
3
- return (
4
- async function(moduleArg = {}) {
5
- var moduleRtn;
6
-
7
- var n=moduleArg,aa="object"==typeof window,ba="undefined"!=typeof WorkerGlobalScope,ca="object"==typeof process&&process.versions?.node&&"renderer"!=process.type,da="./this.program",ea=(a,b)=>{throw b;};"undefined"!=typeof __filename&&(_scriptName=__filename);var fa="",ha,ia;
8
- if(ca){var fs=require("fs");fa=__dirname+"/";ia=a=>{a=ja(a)?new URL(a):a;return fs.readFileSync(a)};ha=async a=>{a=ja(a)?new URL(a):a;return fs.readFileSync(a,void 0)};1<process.argv.length&&(da=process.argv[1].replace(/\\/g,"/"));process.argv.slice(2);ea=(a,b)=>{process.exitCode=a;throw b;}}else if(aa||ba){try{fa=(new URL(".",_scriptName)).href}catch{}ha=async a=>{a=await fetch(a,{credentials:"same-origin"});if(a.ok)return a.arrayBuffer();throw Error(a.status+" : "+a.url);}}
9
- var ka=console.log.bind(console),q=console.error.bind(console),v,la=!1,ma,ja=a=>a.startsWith("file://"),na,oa,w,pa,x,y,B,C,D,qa,ra,sa,ta,ua=!1;function va(){var a=w.buffer;pa=new Int8Array(a);y=new Int16Array(a);x=new Uint8Array(a);B=new Uint16Array(a);C=new Int32Array(a);D=new Uint32Array(a);qa=new Float32Array(a);ra=new Float64Array(a);sa=new BigInt64Array(a);ta=new BigUint64Array(a)}var E=0,G=null;
10
- function wa(a){n.onAbort?.(a);a="Aborted("+a+")";q(a);la=!0;a+=". Build with -sASSERTIONS for more info.";ua&&xa();a=new WebAssembly.RuntimeError(a);oa?.(a);throw a;}var ya;async function za(a){if(!v)try{var b=await ha(a);return new Uint8Array(b)}catch{}if(a==ya&&v)a=new Uint8Array(v);else if(ia)a=ia(a);else throw"both async and sync fetching of the wasm failed";return a}
11
- async function Aa(a,b){try{var c=await za(a);return await WebAssembly.instantiate(c,b)}catch(d){q(`failed to asynchronously prepare wasm: ${d}`),wa(d)}}async function Ba(a){var b=ya;if(!v&&"function"==typeof WebAssembly.instantiateStreaming&&!ca)try{var c=fetch(b,{credentials:"same-origin"});return await WebAssembly.instantiateStreaming(c,a)}catch(d){q(`wasm streaming compile failed: ${d}`),q("falling back to ArrayBuffer instantiation")}return Aa(b,a)}
12
- class Ca{name="ExitStatus";constructor(a){this.message=`Program terminated with exit(${a})`;this.status=a}}var Da=a=>{for(;0<a.length;)a.shift()(n)},Ea=[],Fa=[],Ga=()=>{var a=n.preRun.shift();Fa.push(a)},Ha=!0,Ia={},I=a=>{for(;a.length;){var b=a.pop();a.pop()(b)}};function J(a){return this.fromWireType(D[a>>2])}
13
- var L={},M={},Ja={},Ka=class extends Error{constructor(a){super(a);this.name="InternalError"}},O=(a,b,c)=>{function d(h){h=c(h);if(h.length!==a.length)throw new Ka("Mismatched type converter count");for(var m=0;m<a.length;++m)N(a[m],h[m])}a.forEach(h=>Ja[h]=b);var e=Array(b.length),g=[],f=0;b.forEach((h,m)=>{M.hasOwnProperty(h)?e[m]=M[h]:(g.push(h),L.hasOwnProperty(h)||(L[h]=[]),L[h].push(()=>{e[m]=M[h];++f;f===g.length&&d(e)}))});0===g.length&&d(e)},P=a=>{for(var b="";;){var c=x[a++];if(!c)return b;
14
- b+=String.fromCharCode(c)}},Q=class extends Error{constructor(a){super(a);this.name="BindingError"}},La=a=>{throw new Q(a);};function Ma(a,b,c={}){var d=b.name;if(!a)throw new Q(`type "${d}" must have a positive integer typeid pointer`);if(M.hasOwnProperty(a)){if(c.Pa)return;throw new Q(`Cannot register type '${d}' twice`);}M[a]=b;delete Ja[a];L.hasOwnProperty(a)&&(b=L[a],delete L[a],b.forEach(e=>e()))}function N(a,b,c={}){return Ma(a,b,c)}
15
- var Oa=(a,b,c)=>{switch(b){case 1:return c?d=>pa[d]:d=>x[d];case 2:return c?d=>y[d>>1]:d=>B[d>>1];case 4:return c?d=>C[d>>2]:d=>D[d>>2];case 8:return c?d=>sa[d>>3]:d=>ta[d>>3];default:throw new TypeError(`invalid integer width (${b}): ${a}`);}},Pa=a=>{throw new Q(a.ia.la.ja.name+" instance already deleted");},Qa=!1,Ra=()=>{},R=a=>{if("undefined"===typeof FinalizationRegistry)return R=b=>b,a;Qa=new FinalizationRegistry(b=>{b=b.ia;--b.count.value;0===b.count.value&&(b.na?b.ra.sa(b.na):b.la.ja.sa(b.ka))});
16
- R=b=>{var c=b.ia;c.na&&Qa.register(b,{ia:c},b);return b};Ra=b=>{Qa.unregister(b)};return R(a)},Sa=[];function Ta(){}
17
- var Ua=(a,b)=>Object.defineProperty(b,"name",{value:a}),Va={},Wa=(a,b,c)=>{if(void 0===a[b].ma){var d=a[b];a[b]=function(...e){if(!a[b].ma.hasOwnProperty(e.length))throw new Q(`Function '${c}' called with an invalid number of arguments (${e.length}) - expects one of (${a[b].ma})!`);return a[b].ma[e.length].apply(this,e)};a[b].ma=[];a[b].ma[d.ua]=d}},Xa=(a,b,c)=>{if(n.hasOwnProperty(a)){if(void 0===c||void 0!==n[a].ma&&void 0!==n[a].ma[c])throw new Q(`Cannot register public name '${a}' twice`);Wa(n,
18
- a,a);if(n[a].ma.hasOwnProperty(c))throw new Q(`Cannot register multiple overloads of a function with the same number of arguments (${c})!`);n[a].ma[c]=b}else n[a]=b,n[a].ua=c},Ya=a=>{a=a.replace(/[^a-zA-Z0-9_]/g,"$");var b=a.charCodeAt(0);return 48<=b&&57>=b?`_${a}`:a};function Za(a,b,c,d,e,g,f,h){this.name=a;this.constructor=b;this.ta=c;this.sa=d;this.oa=e;this.Ka=g;this.ya=f;this.Ia=h;this.Sa=[]}
19
- var $a=(a,b,c)=>{for(;b!==c;){if(!b.ya)throw new Q(`Expected null or instance of ${c.name}, got an instance of ${b.name}`);a=b.ya(a);b=b.oa}return a},ab=a=>{if(null===a)return"null";var b=typeof a;return"object"===b||"array"===b||"function"===b?a.toString():""+a};
20
- function bb(a,b){if(null===b){if(this.Ca)throw new Q(`null is not a valid ${this.name}`);return 0}if(!b.ia)throw new Q(`Cannot pass "${ab(b)}" as a ${this.name}`);if(!b.ia.ka)throw new Q(`Cannot pass deleted object as a pointer of type ${this.name}`);return $a(b.ia.ka,b.ia.la.ja,this.ja)}
21
- function cb(a,b){if(null===b){if(this.Ca)throw new Q(`null is not a valid ${this.name}`);if(this.Ba){var c=this.Da();null!==a&&a.push(this.sa,c);return c}return 0}if(!b||!b.ia)throw new Q(`Cannot pass "${ab(b)}" as a ${this.name}`);if(!b.ia.ka)throw new Q(`Cannot pass deleted object as a pointer of type ${this.name}`);if(!this.Aa&&b.ia.la.Aa)throw new Q(`Cannot convert argument of type ${b.ia.ra?b.ia.ra.name:b.ia.la.name} to parameter type ${this.name}`);c=$a(b.ia.ka,b.ia.la.ja,this.ja);if(this.Ba){if(void 0===
22
- b.ia.na)throw new Q("Passing raw pointer to smart pointer is illegal");switch(this.Xa){case 0:if(b.ia.ra===this)c=b.ia.na;else throw new Q(`Cannot convert argument of type ${b.ia.ra?b.ia.ra.name:b.ia.la.name} to parameter type ${this.name}`);break;case 1:c=b.ia.na;break;case 2:if(b.ia.ra===this)c=b.ia.na;else{var d=b.clone();c=this.Ta(c,S(()=>d["delete"]()));null!==a&&a.push(this.sa,c)}break;default:throw new Q("Unsupporting sharing policy");}}return c}
23
- function db(a,b){if(null===b){if(this.Ca)throw new Q(`null is not a valid ${this.name}`);return 0}if(!b.ia)throw new Q(`Cannot pass "${ab(b)}" as a ${this.name}`);if(!b.ia.ka)throw new Q(`Cannot pass deleted object as a pointer of type ${this.name}`);if(b.ia.la.Aa)throw new Q(`Cannot convert argument of type ${b.ia.la.name} to parameter type ${this.name}`);return $a(b.ia.ka,b.ia.la.ja,this.ja)}
24
- var eb=(a,b,c)=>{if(b===c)return a;if(void 0===c.oa)return null;a=eb(a,b,c.oa);return null===a?null:c.Ia(a)},fb={},gb=(a,b)=>{if(void 0===b)throw new Q("ptr should not be undefined");for(;a.oa;)b=a.ya(b),a=a.oa;return fb[b]},hb=(a,b)=>{if(!b.la||!b.ka)throw new Ka("makeClassHandle requires ptr and ptrType");if(!!b.ra!==!!b.na)throw new Ka("Both smartPtrType and smartPtr must be specified");b.count={value:1};return R(Object.create(a,{ia:{value:b,writable:!0}}))};
25
- function ib(a,b,c,d,e,g,f,h,m,l,k){this.name=a;this.ja=b;this.Ca=c;this.Aa=d;this.Ba=e;this.Ra=g;this.Xa=f;this.Ga=h;this.Da=m;this.Ta=l;this.sa=k;e||void 0!==b.oa?this.toWireType=cb:(this.toWireType=d?bb:db,this.pa=null)}
26
- var jb=(a,b,c)=>{if(!n.hasOwnProperty(a))throw new Ka("Replacing nonexistent public symbol");void 0!==n[a].ma&&void 0!==c?n[a].ma[c]=b:(n[a]=b,n[a].ua=c)},kb,T=(a,b)=>{a=P(a);var c=kb.get(b);if("function"!=typeof c)throw new Q(`unknown function pointer with signature ${a}: ${b}`);return c};class lb extends Error{}
27
- var nb=a=>{a=mb(a);var b=P(a);U(a);return b},V=(a,b)=>{function c(g){e[g]||M[g]||(Ja[g]?Ja[g].forEach(c):(d.push(g),e[g]=!0))}var d=[],e={};b.forEach(c);throw new lb(`${a}: `+d.map(nb).join([", "]));};function ob(a){for(var b=1;b<a.length;++b)if(null!==a[b]&&void 0===a[b].pa)return!0;return!1}
28
- function pb(a,b,c,d,e,g){var f=b.length;if(2>f)throw new Q("argTypes array size mismatch! Must at least get return value and 'this' types!");var h=null!==b[1]&&null!==c,m=ob(b);c="void"!==b[0].name;d=[a,La,d,e,I,b[0],b[1]];for(e=0;e<f-2;++e)d.push(b[e+2]);if(!m)for(e=h?1:2;e<b.length;++e)null!==b[e].pa&&d.push(b[e].pa);m=ob(b);e=b.length-2;var l=[],k=["fn"];h&&k.push("thisWired");for(f=0;f<e;++f)l.push(`arg${f}`),k.push(`arg${f}Wired`);l=l.join(",");k=k.join(",");l=`return function (${l}) {\n`;m&&
29
- (l+="var destructors = [];\n");var p=m?"destructors":"null",r="humanName throwBindingError invoker fn runDestructors retType classParam".split(" ");h&&(l+=`var thisWired = classParam['toWireType'](${p}, this);\n`);for(f=0;f<e;++f)l+=`var arg${f}Wired = argType${f}['toWireType'](${p}, arg${f});\n`,r.push(`argType${f}`);l+=(c||g?"var rv = ":"")+`invoker(${k});\n`;if(m)l+="runDestructors(destructors);\n";else for(f=h?1:2;f<b.length;++f)g=1===f?"thisWired":"arg"+(f-2)+"Wired",null!==b[f].pa&&(l+=`${g}_dtor(${g});\n`,
30
- r.push(`${g}_dtor`));c&&(l+="var ret = retType['fromWireType'](rv);\nreturn ret;\n");let [t,u]=[r,l+"}\n"];b=(new Function(...t,u))(...d);return Ua(a,b)}
31
- var qb=(a,b)=>{for(var c=[],d=0;d<a;d++)c.push(D[b+4*d>>2]);return c},rb=a=>{a=a.trim();const b=a.indexOf("(");return-1===b?a:a.slice(0,b)},sb=(a,b,c)=>{if(!(a instanceof Object))throw new Q(`${c} with invalid "this": ${a}`);if(!(a instanceof b.ja.constructor))throw new Q(`${c} incompatible with "this" of type ${a.constructor.name}`);if(!a.ia.ka)throw new Q(`cannot call emscripten binding method ${c} on deleted object`);return $a(a.ia.ka,a.ia.la.ja,b.ja)},tb=[],W=[0,1,,1,null,1,!0,1,!1,1],ub=a=>{9<
32
- a&&0===--W[a+1]&&(W[a]=void 0,tb.push(a))},X=a=>{if(!a)throw new Q(`Cannot use deleted val. handle = ${a}`);return W[a]},S=a=>{switch(a){case void 0:return 2;case null:return 4;case !0:return 6;case !1:return 8;default:const b=tb.pop()||W.length;W[b]=a;W[b+1]=1;return b}},vb={name:"emscripten::val",fromWireType:a=>{var b=X(a);ub(a);return b},toWireType:(a,b)=>S(b),qa:8,readValueFromPointer:J,pa:null},xb=(a,b,c)=>{switch(b){case 1:return c?function(d){return this.fromWireType(pa[d])}:function(d){return this.fromWireType(x[d])};
33
- case 2:return c?function(d){return this.fromWireType(y[d>>1])}:function(d){return this.fromWireType(B[d>>1])};case 4:return c?function(d){return this.fromWireType(C[d>>2])}:function(d){return this.fromWireType(D[d>>2])};default:throw new TypeError(`invalid integer width (${b}): ${a}`);}},yb=(a,b)=>{var c=M[a];if(void 0===c)throw a=`${b} has unknown type ${nb(a)}`,new Q(a);return c},zb=(a,b)=>{switch(b){case 4:return function(c){return this.fromWireType(qa[c>>2])};case 8:return function(c){return this.fromWireType(ra[c>>
34
- 3])};default:throw new TypeError(`invalid float width (${b}): ${a}`);}},Ab=Object.assign({optional:!0},vb),Y=(a,b,c)=>{var d=x;if(!(0<c))return 0;var e=b;c=b+c-1;for(var g=0;g<a.length;++g){var f=a.codePointAt(g);if(127>=f){if(b>=c)break;d[b++]=f}else if(2047>=f){if(b+1>=c)break;d[b++]=192|f>>6;d[b++]=128|f&63}else if(65535>=f){if(b+2>=c)break;d[b++]=224|f>>12;d[b++]=128|f>>6&63;d[b++]=128|f&63}else{if(b+3>=c)break;d[b++]=240|f>>18;d[b++]=128|f>>12&63;d[b++]=128|f>>6&63;d[b++]=128|f&63;g++}}d[b]=
35
- 0;return b-e},Bb=a=>{for(var b=0,c=0;c<a.length;++c){var d=a.charCodeAt(c);127>=d?b++:2047>=d?b+=2:55296<=d&&57343>=d?(b+=4,++c):b+=3}return b},Cb=new TextDecoder,Db=new TextDecoder("utf-16le"),Eb=(a,b)=>{a>>=1;b=a+b/2;for(var c=a;!(c>=b)&&B[c];)++c;return Db.decode(B.subarray(a,c))},Fb=(a,b,c)=>{c??=2147483647;if(2>c)return 0;c-=2;var d=b;c=c<2*a.length?c/2:a.length;for(var e=0;e<c;++e)y[b>>1]=a.charCodeAt(e),b+=2;y[b>>1]=0;return b-d},Gb=a=>2*a.length,Hb=(a,b)=>{for(var c="",d=0;!(d>=b/4);d++){var e=
36
- C[a+4*d>>2];if(!e)break;c+=String.fromCodePoint(e)}return c},Ib=(a,b,c)=>{c??=2147483647;if(4>c)return 0;var d=b;c=d+c-4;for(var e=0;e<a.length;++e){var g=a.codePointAt(e);65535<g&&e++;C[b>>2]=g;b+=4;if(b+4>c)break}C[b>>2]=0;return b-d},Jb=a=>{for(var b=0,c=0;c<a.length;++c)65535<a.codePointAt(c)&&c++,b+=4;return b},Kb=0,Lb=(a,b,c)=>{var d=[];a=a.toWireType(d,c);d.length&&(D[b>>2]=S(d));return a},Mb=[],Nb={},Ob=a=>{var b=Nb[a];return void 0===b?P(a):b},Pb=a=>{var b=Mb.length;Mb.push(a);return b},
37
- Qb=(a,b)=>{for(var c=Array(a),d=0;d<a;++d)c[d]=yb(D[b+4*d>>2],`parameter ${d}`);return c},Rb={},Sb=a=>{a instanceof Ca||"unwind"==a||ea(1,a)},Tb=a=>{ma=a;Ha||0<Kb||(n.onExit?.(a),la=!0);ea(a,new Ca(a))},Ub=a=>{if(!la)try{if(a(),!(Ha||0<Kb))try{ma=a=ma,Tb(a)}catch(b){Sb(b)}}catch(b){Sb(b)}},Vb={},Xb=()=>{if(!Wb){var a={USER:"web_user",LOGNAME:"web_user",PATH:"/",PWD:"/",HOME:"/home/web_user",LANG:("object"==typeof navigator&&navigator.language||"C").replace("-","_")+".UTF-8",_:da||"./this.program"},
38
- b;for(b in Vb)void 0===Vb[b]?delete a[b]:a[b]=Vb[b];var c=[];for(b in a)c.push(`${b}=${a[b]}`);Wb=c}return Wb},Wb,Yb=[null,[],[]];
39
- (()=>{let a=Ta.prototype;Object.assign(a,{isAliasOf:function(c){if(!(this instanceof Ta&&c instanceof Ta))return!1;var d=this.ia.la.ja,e=this.ia.ka;c.ia=c.ia;var g=c.ia.la.ja;for(c=c.ia.ka;d.oa;)e=d.ya(e),d=d.oa;for(;g.oa;)c=g.ya(c),g=g.oa;return d===g&&e===c},clone:function(){this.ia.ka||Pa(this);if(this.ia.xa)return this.ia.count.value+=1,this;var c=R,d=Object,e=d.create,g=Object.getPrototypeOf(this),f=this.ia;c=c(e.call(d,g,{ia:{value:{count:f.count,wa:f.wa,xa:f.xa,ka:f.ka,la:f.la,na:f.na,ra:f.ra}}}));
40
- c.ia.count.value+=1;c.ia.wa=!1;return c},["delete"](){this.ia.ka||Pa(this);if(this.ia.wa&&!this.ia.xa)throw new Q("Object already scheduled for deletion");Ra(this);var c=this.ia;--c.count.value;0===c.count.value&&(c.na?c.ra.sa(c.na):c.la.ja.sa(c.ka));this.ia.xa||(this.ia.na=void 0,this.ia.ka=void 0)},isDeleted:function(){return!this.ia.ka},deleteLater:function(){this.ia.ka||Pa(this);if(this.ia.wa&&!this.ia.xa)throw new Q("Object already scheduled for deletion");Sa.push(this);this.ia.wa=!0;return this}});
41
- const b=Symbol.dispose;b&&(a[b]=a["delete"])})();
42
- Object.assign(ib.prototype,{La(a){this.Ga&&(a=this.Ga(a));return a},Ea(a){this.sa?.(a)},qa:8,readValueFromPointer:J,fromWireType:function(a){function b(){return this.Ba?hb(this.ja.ta,{la:this.Ra,ka:c,ra:this,na:a}):hb(this.ja.ta,{la:this,ka:a})}var c=this.La(a);if(!c)return this.Ea(a),null;var d=gb(this.ja,c);if(void 0!==d){if(0===d.ia.count.value)return d.ia.ka=c,d.ia.na=a,d.clone();d=d.clone();this.Ea(a);return d}d=this.ja.Ka(c);d=Va[d];if(!d)return b.call(this);d=this.Aa?d.Ha:d.pointerType;var e=
43
- eb(c,this.ja,d.ja);return null===e?b.call(this):this.Ba?hb(d.ja.ta,{la:d,ka:e,ra:this,na:a}):hb(d.ja.ta,{la:d,ka:e})}});n.noExitRuntime&&(Ha=n.noExitRuntime);n.print&&(ka=n.print);n.printErr&&(q=n.printErr);n.wasmBinary&&(v=n.wasmBinary);n.thisProgram&&(da=n.thisProgram);n.wasmMemory=w;
44
- var mb,U,Zb,$b,ac,xa,bc={F:()=>wa(""),X:a=>{var b=Ia[a];delete Ia[a];var c=b.Da,d=b.sa,e=b.Fa,g=e.map(f=>f.Oa).concat(e.map(f=>f.Va));O([a],g,f=>{var h={};e.forEach((m,l)=>{var k=f[l],p=m.Ma,r=m.Na,t=f[l+e.length],u=m.Ua,z=m.Wa;h[m.Ja]={read:F=>k.fromWireType(p(r,F)),write:(F,H)=>{var A=[];u(z,F,t.toWireType(A,H));I(A)},optional:f[l].optional}});return[{name:b.name,fromWireType:m=>{var l={},k;for(k in h)l[k]=h[k].read(m);d(m);return l},toWireType:(m,l)=>{for(var k in h)if(!(k in l||h[k].optional))throw new TypeError(`Missing field: "${k}"`);
45
- var p=c();for(k in h)h[k].write(p,l[k]);null!==m&&m.push(d,p);return p},qa:8,readValueFromPointer:J,pa:d}]})},y:(a,b,c,d,e)=>{b=P(b);d=0n===d;let g=f=>f;if(d){const f=8*c;g=h=>BigInt.asUintN(f,h);e=g(e)}N(a,{name:b,fromWireType:g,toWireType:(f,h)=>{"number"==typeof h&&(h=BigInt(h));return h},qa:8,readValueFromPointer:Oa(b,c,!d),pa:null})},S:(a,b,c,d)=>{b=P(b);N(a,{name:b,fromWireType:function(e){return!!e},toWireType:function(e,g){return g?c:d},qa:8,readValueFromPointer:function(e){return this.fromWireType(x[e])},
46
- pa:null})},d:(a,b,c,d,e,g,f,h,m,l,k,p,r)=>{k=P(k);g=T(e,g);h&&=T(f,h);l&&=T(m,l);r=T(p,r);var t=Ya(k);Xa(t,function(){V(`Cannot construct ${k} due to unbound types`,[d])});O([a,b,c],d?[d]:[],u=>{u=u[0];if(d){var z=u.ja;var F=z.ta}else F=Ta.prototype;u=Ua(k,function(...Na){if(Object.getPrototypeOf(this)!==H)throw new Q(`Use 'new' to construct ${k}`);if(void 0===A.va)throw new Q(`${k} has no accessible constructor`);var wb=A.va[Na.length];if(void 0===wb)throw new Q(`Tried to invoke ctor of ${k} with invalid number of parameters (${Na.length}) - expected (${Object.keys(A.va).toString()}) parameters instead!`);
47
- return wb.apply(this,Na)});var H=Object.create(F,{constructor:{value:u}});u.prototype=H;var A=new Za(k,u,H,r,z,g,h,l);if(A.oa){var K;(K=A.oa).za??(K.za=[]);A.oa.za.push(A)}z=new ib(k,A,!0,!1,!1);K=new ib(k+"*",A,!1,!1,!1);F=new ib(k+" const*",A,!1,!0,!1);Va[a]={pointerType:K,Ha:F};jb(t,u);return[z,K,F]})},o:(a,b,c,d,e,g,f,h)=>{var m=qb(c,d);b=P(b);b=rb(b);g=T(e,g);O([],[a],l=>{function k(){V(`Cannot call ${p} due to unbound types`,m)}l=l[0];var p=`${l.name}.${b}`;b.startsWith("@@")&&(b=Symbol[b.substring(2)]);
48
- var r=l.ja.constructor;void 0===r[b]?(k.ua=c-1,r[b]=k):(Wa(r,b,p),r[b].ma[c-1]=k);O([],m,t=>{t=[t[0],null].concat(t.slice(1));t=pb(p,t,null,g,f,h);void 0===r[b].ma?(t.ua=c-1,r[b]=t):r[b].ma[c-1]=t;if(l.ja.za)for(const u of l.ja.za)u.constructor.hasOwnProperty(b)||(u.constructor[b]=t);return[]});return[]})},O:(a,b,c,d,e,g,f,h)=>{b=P(b);g=T(e,g);O([],[a],m=>{m=m[0];var l=`${m.name}.${b}`,k={get(){V(`Cannot access ${l} due to unbound types`,[c])},enumerable:!0,configurable:!0};k.set=h?()=>{V(`Cannot access ${l} due to unbound types`,
49
- [c])}:()=>{throw new Q(`${l} is a read-only property`);};Object.defineProperty(m.ja.constructor,b,k);O([],[c],p=>{p=p[0];var r={get(){return p.fromWireType(g(d))},enumerable:!0};h&&(h=T(f,h),r.set=t=>{var u=[];h(d,p.toWireType(u,t));I(u)});Object.defineProperty(m.ja.constructor,b,r);return[]});return[]})},e:(a,b,c,d,e,g)=>{var f=qb(b,c);e=T(d,e);O([],[a],h=>{h=h[0];var m=`constructor ${h.name}`;void 0===h.ja.va&&(h.ja.va=[]);if(void 0!==h.ja.va[b-1])throw new Q(`Cannot register multiple constructors with identical number of parameters (${b-
50
- 1}) for class '${h.name}'! Overload resolution is currently only performed using the parameter count, not actual type info!`);h.ja.va[b-1]=()=>{V(`Cannot construct ${h.name} due to unbound types`,f)};O([],f,l=>{l.splice(1,0,null);h.ja.va[b-1]=pb(m,l,null,e,g);return[]});return[]})},a:(a,b,c,d,e,g,f,h,m)=>{var l=qb(c,d);b=P(b);b=rb(b);g=T(e,g);O([],[a],k=>{function p(){V(`Cannot call ${r} due to unbound types`,l)}k=k[0];var r=`${k.name}.${b}`;b.startsWith("@@")&&(b=Symbol[b.substring(2)]);h&&k.ja.Sa.push(b);
51
- var t=k.ja.ta,u=t[b];void 0===u||void 0===u.ma&&u.className!==k.name&&u.ua===c-2?(p.ua=c-2,p.className=k.name,t[b]=p):(Wa(t,b,r),t[b].ma[c-2]=p);O([],l,z=>{z=pb(r,z,k,g,f,m);void 0===t[b].ma?(z.ua=c-2,t[b]=z):t[b].ma[c-2]=z;return[]});return[]})},f:(a,b,c,d,e,g,f,h,m,l)=>{b=P(b);e=T(d,e);O([],[a],k=>{k=k[0];var p=`${k.name}.${b}`,r={get(){V(`Cannot access ${p} due to unbound types`,[c,f])},enumerable:!0,configurable:!0};r.set=m?()=>V(`Cannot access ${p} due to unbound types`,[c,f]):()=>{throw new Q(p+
52
- " is a read-only property");};Object.defineProperty(k.ja.ta,b,r);O([],m?[c,f]:[c],t=>{var u=t[0],z={get(){var H=sb(this,k,p+" getter");return u.fromWireType(e(g,H))},enumerable:!0};if(m){m=T(h,m);var F=t[1];z.set=function(H){var A=sb(this,k,p+" setter"),K=[];m(l,A,F.toWireType(K,H));I(K)}}Object.defineProperty(k.ja.ta,b,z);return[]});return[]})},P:a=>N(a,vb),n:(a,b,c,d)=>{function e(){}b=P(b);e.values={};N(a,{name:b,constructor:e,fromWireType:function(g){return this.constructor.values[g]},toWireType:(g,
53
- f)=>f.value,qa:8,readValueFromPointer:xb(b,c,d),pa:null});Xa(b,e)},c:(a,b,c)=>{var d=yb(a,"enum");b=P(b);a=d.constructor;d=Object.create(d.constructor.prototype,{value:{value:c},constructor:{value:Ua(`${d.name}_${b}`,function(){})}});a.values[c]=d;a[b]=d},x:(a,b,c)=>{b=P(b);N(a,{name:b,fromWireType:d=>d,toWireType:(d,e)=>e,qa:8,readValueFromPointer:zb(b,c),pa:null})},q:(a,b,c,d,e,g,f)=>{var h=qb(b,c);a=P(a);a=rb(a);e=T(d,e);Xa(a,function(){V(`Cannot call ${a} due to unbound types`,h)},b-1);O([],h,
54
- m=>{m=[m[0],null].concat(m.slice(1));jb(a,pb(a,m,null,e,g,f),b-1);return[]})},s:(a,b,c,d,e)=>{b=P(b);let g=h=>h;if(0===d){var f=32-8*c;g=h=>h<<f>>>f;e=g(e)}N(a,{name:b,fromWireType:g,toWireType:(h,m)=>m,qa:8,readValueFromPointer:Oa(b,c,0!==d),pa:null})},p:(a,b,c)=>{function d(g){return new e(pa.buffer,D[g+4>>2],D[g>>2])}var e=[Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array,BigInt64Array,BigUint64Array][b];c=P(c);N(a,{name:c,fromWireType:d,qa:8,readValueFromPointer:d},
55
- {Pa:!0})},j:a=>{N(a,Ab)},l:(a,b,c,d,e,g,f,h,m,l,k,p)=>{c=P(c);g=T(e,g);h=T(f,h);l=T(m,l);p=T(k,p);O([a],[b],r=>{r=r[0];return[new ib(c,r.ja,!1,!1,!0,r,d,g,h,l,p)]})},Q:(a,b)=>{b=P(b);N(a,{name:b,fromWireType:function(c){for(var d=D[c>>2],e=c+4,g,f=e,h=0;h<=d;++h){var m=e+h;if(h==d||0==x[m]){if(f){for(var l=f+(m-f),k=f;!(k>=l)&&x[k];)++k;f=Cb.decode(x.subarray(f,k))}else f="";void 0===g?g=f:(g+=String.fromCharCode(0),g+=f);f=m+1}}U(c);return g},toWireType:function(c,d){d instanceof ArrayBuffer&&(d=
56
- new Uint8Array(d));var e="string"==typeof d;if(!(e||ArrayBuffer.isView(d)&&1==d.BYTES_PER_ELEMENT))throw new Q("Cannot pass non-string to std::string");var g=e?Bb(d):d.length;var f=Zb(4+g+1),h=f+4;D[f>>2]=g;e?Y(d,h,g+1):x.set(d,h);null!==c&&c.push(U,f);return f},qa:8,readValueFromPointer:J,pa(c){U(c)}})},v:(a,b,c)=>{c=P(c);if(2===b){var d=Eb;var e=Fb;var g=Gb;var f=h=>B[h>>1]}else 4===b&&(d=Hb,e=Ib,g=Jb,f=h=>D[h>>2]);N(a,{name:c,fromWireType:h=>{for(var m=D[h>>2],l,k=h+4,p=0;p<=m;++p){var r=h+4+p*
57
- b;if(p==m||0==f(r))k=d(k,r-k),void 0===l?l=k:(l+=String.fromCharCode(0),l+=k),k=r+b}U(h);return l},toWireType:(h,m)=>{if("string"!=typeof m)throw new Q(`Cannot pass non-string to C++ string type ${c}`);var l=g(m),k=Zb(4+l+b);D[k>>2]=l/b;e(m,k+4,l+b);null!==h&&h.push(U,k);return k},qa:8,readValueFromPointer:J,pa(h){U(h)}})},g:(a,b,c,d,e,g)=>{Ia[a]={name:P(b),Da:T(c,d),sa:T(e,g),Fa:[]}},b:(a,b,c,d,e,g,f,h,m,l)=>{Ia[a].Fa.push({Ja:P(b),Oa:c,Ma:T(d,e),Na:g,Va:f,Ua:T(h,m),Wa:l})},T:(a,b)=>{b=P(b);N(a,
58
- {Qa:!0,name:b,qa:0,fromWireType:()=>{},toWireType:()=>{}})},D:()=>{Ha=!1;Kb=0},t:(a,b,c)=>{a=X(a);b=yb(b,"emval::as");return Lb(b,c,a)},z:(a,b,c,d)=>{a=Mb[a];b=X(b);return a(null,b,c,d)},k:(a,b,c,d,e)=>{a=Mb[a];b=X(b);c=Ob(c);return a(b,b[c],d,e)},Z:ub,R:a=>{if(0===a)return S(globalThis);a=Ob(a);return S(globalThis[a])},i:(a,b,c)=>{b=Qb(a,b);var d=b.shift();a--;var e="return function (obj, func, destructorsRef, args) {\n",g=0,f=[];0===c&&f.push("obj");for(var h=["retType"],m=[d],l=0;l<a;++l)f.push(`arg${l}`),
59
- h.push(`argType${l}`),m.push(b[l]),e+=` var arg${l} = argType${l}.readValueFromPointer(args${g?"+"+g:""});\n`,g+=b[l].qa;e+=` var rv = ${1===c?"new func":"func.call"}(${f.join(", ")});\n`;d.Qa||(h.push("emval_returnValue"),m.push(Lb),e+=" return emval_returnValue(retType, destructorsRef, rv);\n");a=(new Function(...h,e+"};\n"))(...m);c=`methodCaller<(${b.map(k=>k.name).join(", ")}) => ${d.name}>`;return Pb(Ua(c,a))},U:a=>{a=Ob(a);return S(n[a])},r:(a,b)=>{a=X(a);b=X(b);return S(a[b])},w:a=>{9<
60
- a&&(W[a+1]+=1)},V:(a,b)=>{a=X(a);b=X(b);return a instanceof b},u:a=>{a=X(a);return"string"==typeof a},_:()=>S([]),A:a=>S(Ob(a)),W:()=>S({}),B:a=>{var b=X(a);I(b);ub(a)},m:(a,b,c)=>{a=X(a);b=X(b);c=X(c);a[b]=c},Y:(a,b)=>{a=X(a);b=X(b);return a===b},h:(a,b)=>{a=yb(a,"_emval_take_value");a=a.readValueFromPointer(b);return S(a)},E:(a,b)=>{Rb[a]&&(clearTimeout(Rb[a].id),delete Rb[a]);if(!b)return 0;var c=setTimeout(()=>{delete Rb[a];Ub(()=>ac(a,performance.now()))},b);Rb[a]={id:c,Ya:b};return 0},G:(a,
61
- b,c,d)=>{var e=(new Date).getFullYear(),g=(new Date(e,0,1)).getTimezoneOffset();e=(new Date(e,6,1)).getTimezoneOffset();D[a>>2]=60*Math.max(g,e);C[b>>2]=Number(g!=e);b=f=>{var h=Math.abs(f);return`UTC${0<=f?"-":"+"}${String(Math.floor(h/60)).padStart(2,"0")}${String(h%60).padStart(2,"0")}`};a=b(g);b=b(e);e<g?(Y(a,c,17),Y(b,d,17)):(Y(a,d,17),Y(b,c,17))},H:a=>{var b=x.length;a>>>=0;if(2147483648<a)return!1;for(var c=1;4>=c;c*=2){var d=b*(1+.2/c);d=Math.min(d,a+100663296);a:{d=(Math.min(2147483648,65536*
62
- Math.ceil(Math.max(a,d)/65536))-w.buffer.byteLength+65535)/65536|0;try{w.grow(d);va();var e=1;break a}catch(g){}e=void 0}if(e)return!0}return!1},J:(a,b)=>{var c=0,d=0,e;for(e of Xb()){var g=b+c;D[a+d>>2]=g;c+=Y(e,g,Infinity)+1;d+=4}return 0},K:(a,b)=>{var c=Xb();D[a>>2]=c.length;a=0;for(var d of c)a+=Bb(d)+1;D[b>>2]=a;return 0},L:()=>52,N:()=>52,I:function(){return 70},M:(a,b,c,d)=>{for(var e=0,g=0;g<c;g++){var f=D[b>>2],h=D[b+4>>2];b+=8;for(var m=0;m<h;m++){var l=a,k=x[f+m],p=Yb[l];if(0===k||10===
63
- k){l=1===l?ka:q;for(k=0;p[k]&&!(NaN<=k);)++k;k=Cb.decode(p.buffer?p.subarray(0,k):new Uint8Array(p.slice(0,k)));l(k);p.length=0}else p.push(k)}e+=h}D[d>>2]=e;return 0},C:Tb},Z=await (async function(){function a(c){Z=c.exports;w=Z.$;n.wasmMemory=w;va();kb=Z.fa;c=Z;mb=c.ba;U=c.ca;Zb=c.da;n._main=$b=c.ea;ac=c.ga;xa=c.ha;E--;n.monitorRunDependencies?.(E);0==E&&G&&(c=G,G=null,c());return Z}E++;n.monitorRunDependencies?.(E);var b={a:bc};if(n.instantiateWasm)return new Promise(c=>{n.instantiateWasm(b,
64
- (d,e)=>{c(a(d,e))})});ya??=n.locateFile?n.locateFile("RoomleCore.wasm",fa):fa+"RoomleCore.wasm";return a((await Ba(b)).instance)}());
65
- function cc(){function a(){n.calledRun=!0;if(!la){ua=!0;Z.aa();na?.(n);n.onRuntimeInitialized?.();if(!n.noInitialRun){var b=$b;try{var c=b(0,0);ma=c;Tb(c)}catch(d){Sb(d)}}if(n.postRun)for("function"==typeof n.postRun&&(n.postRun=[n.postRun]);n.postRun.length;)b=n.postRun.shift(),Ea.push(b);Da(Ea)}}if(0<E)G=cc;else{if(n.preRun)for("function"==typeof n.preRun&&(n.preRun=[n.preRun]);n.preRun.length;)Ga();Da(Fa);0<E?G=cc:n.setStatus?(n.setStatus("Running..."),setTimeout(()=>{setTimeout(()=>n.setStatus(""),
66
- 1);a()},1)):a()}}if(n.preInit)for("function"==typeof n.preInit&&(n.preInit=[n.preInit]);0<n.preInit.length;)n.preInit.shift()();cc();ua?moduleRtn=n:moduleRtn=new Promise((a,b)=>{na=a;oa=b});
67
-
68
-
69
- return moduleRtn;
70
- }
71
- );
72
- })();
73
- if (typeof exports === 'object' && typeof module === 'object') {
74
- module.exports = RoomleCore;
75
- // This default export looks redundant, but it allows TS to import this
76
- // commonjs style module.
77
- module.exports.default = RoomleCore;
78
- } else if (typeof define === 'function' && define['amd'])
79
- define([], () => RoomleCore);
@@ -1,30 +0,0 @@
1
- import { type ExportType, type Parameter, type PartList, type PlanObject } from '../embind/configuratorCoreInterface';
2
- import type { KeyValuePair } from './configurationLoader';
3
- import type { ConfigurationManager } from './configurationManager';
4
- export declare class ConfigurableObject {
5
- private _configurationManager?;
6
- private _objectRuntimeId;
7
- private _hash;
8
- private _valid;
9
- private _serializedConfiguration;
10
- private _objectData;
11
- private _listOfParts;
12
- constructor(configurationManager: ConfigurationManager, objectRuntimeId: number, hash: string, valid: boolean);
13
- get objectRuntimeId(): number;
14
- get hash(): string;
15
- get valid(): boolean;
16
- get serializedConfiguration(): string;
17
- get configuratorObject(): PlanObject | null;
18
- get parameters(): Parameter[];
19
- get listOfParts(): PartList | null;
20
- delete(): void;
21
- objectChanged(serializedConfiguration: string, hash: string, valid: boolean): void;
22
- changeParameters(parametersToBeChanged: KeyValuePair[]): Promise<void>;
23
- removedFromManger(): void;
24
- private resetObjectData;
25
- private updateConfiguration;
26
- private updateObjectData;
27
- updateListOfParts(): void;
28
- generateTCExport(defaultExportDefinition?: string): Promise<any>;
29
- generateExport(exportType: ExportType, defaultExportDefinition?: string): Promise<any>;
30
- }