vim-web 0.3.26 → 0.3.27-dev.1

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 (196) hide show
  1. package/dist/types/core-viewers/webgl/index.d.ts +26 -0
  2. package/dist/types/{webgl-viewer/vim-loader → core-viewers/webgl/loader}/materials/viewerMaterials.d.ts +1 -1
  3. package/dist/types/{webgl-viewer/vim-loader → core-viewers/webgl/loader}/progressive/open.d.ts +1 -1
  4. package/dist/types/{webgl-viewer/vim-loader → core-viewers/webgl/loader}/progressive/subsetRequest.d.ts +1 -1
  5. package/dist/types/{webgl-viewer/vim-loader → core-viewers/webgl/loader}/progressive/vimRequest.d.ts +1 -1
  6. package/dist/types/{webgl-viewer/vim-webgl-viewer → core-viewers/webgl/viewer}/camera/cameraMovement.d.ts +2 -2
  7. package/dist/types/{webgl-viewer/vim-webgl-viewer → core-viewers/webgl/viewer}/camera/cameraMovementLerp.d.ts +1 -1
  8. package/dist/types/{webgl-viewer/vim-webgl-viewer → core-viewers/webgl/viewer}/camera/cameraMovementSnap.d.ts +1 -1
  9. package/dist/types/{webgl-viewer/vim-webgl-viewer → core-viewers/webgl/viewer}/environment/environment.d.ts +1 -1
  10. package/dist/types/{webgl-viewer/vim-webgl-viewer → core-viewers/webgl/viewer}/environment/skybox.d.ts +1 -1
  11. package/dist/types/{webgl-viewer/vim-webgl-viewer → core-viewers/webgl/viewer}/gizmos/markers/gizmoMarker.d.ts +2 -2
  12. package/dist/types/{webgl-viewer/vim-webgl-viewer → core-viewers/webgl/viewer}/raycaster.d.ts +1 -1
  13. package/dist/types/{webgl-viewer/vim-webgl-viewer → core-viewers/webgl/viewer}/rendering/mergePass.d.ts +1 -1
  14. package/dist/types/{webgl-viewer/vim-webgl-viewer → core-viewers/webgl/viewer}/rendering/outlinePass.d.ts +1 -1
  15. package/dist/types/{webgl-viewer/vim-webgl-viewer → core-viewers/webgl/viewer}/rendering/renderScene.d.ts +1 -1
  16. package/dist/types/{webgl-viewer/vim-webgl-viewer → core-viewers/webgl/viewer}/rendering/renderer.d.ts +2 -2
  17. package/dist/types/{webgl-viewer/vim-webgl-viewer → core-viewers/webgl/viewer}/rendering/renderingComposer.d.ts +1 -1
  18. package/dist/types/{webgl-viewer/vim-webgl-viewer → core-viewers/webgl/viewer}/rendering/renderingSection.d.ts +1 -1
  19. package/dist/types/{webgl-viewer/vim-webgl-viewer → core-viewers/webgl/viewer}/selection.d.ts +3 -2
  20. package/dist/types/{webgl-viewer/vim-webgl-viewer → core-viewers/webgl/viewer}/viewer.d.ts +2 -2
  21. package/dist/types/index.d.ts +5 -4
  22. package/dist/types/{react-viewer → react-viewers}/bim/bimInfoData.d.ts +1 -1
  23. package/dist/types/{react-viewer → react-viewers}/bim/bimInfoObject.d.ts +1 -1
  24. package/dist/types/{react-viewer → react-viewers}/bim/bimInfoPanel.d.ts +1 -1
  25. package/dist/types/{react-viewer → react-viewers}/bim/bimInfoVim.d.ts +1 -1
  26. package/dist/types/{react-viewer → react-viewers}/bim/bimPanel.d.ts +1 -1
  27. package/dist/types/{react-viewer → react-viewers}/bim/bimTree.d.ts +1 -1
  28. package/dist/types/{react-viewer → react-viewers}/bim/bimTreeData.d.ts +1 -1
  29. package/dist/types/{react-viewer → react-viewers}/controlbar/controlBar.d.ts +1 -1
  30. package/dist/types/{react-viewer → react-viewers}/controlbar/controlBarCommands.d.ts +1 -1
  31. package/dist/types/{react-viewer → react-viewers}/controlbar/measureState.d.ts +1 -1
  32. package/dist/types/{react-viewer → react-viewers}/controlbar/pointerState.d.ts +1 -1
  33. package/dist/types/{react-viewer → react-viewers}/controlbar/sectionBoxState.d.ts +1 -1
  34. package/dist/types/{react-viewer → react-viewers}/helpers/camera.d.ts +1 -1
  35. package/dist/types/{react-viewer → react-viewers}/helpers/cameraObserver.d.ts +1 -1
  36. package/dist/types/{react-viewer → react-viewers}/helpers/cursor.d.ts +1 -1
  37. package/dist/types/{react-viewer → react-viewers}/helpers/element.d.ts +1 -1
  38. package/dist/types/{react-viewer → react-viewers}/helpers/inputs.d.ts +1 -1
  39. package/dist/types/{react-viewer → react-viewers}/helpers/isolation.d.ts +1 -1
  40. package/dist/types/{react-viewer → react-viewers}/helpers/loadRequest.d.ts +2 -2
  41. package/dist/types/{react-viewer → react-viewers}/panels/axesPanel.d.ts +1 -1
  42. package/dist/types/{react-viewer → react-viewers}/panels/toast.d.ts +1 -1
  43. package/dist/types/{react-viewer → react-viewers}/settings/menuSettings.d.ts +1 -1
  44. package/dist/types/{react-viewer → react-viewers}/settings/settingsState.d.ts +1 -1
  45. package/dist/types/{react-viewer → react-viewers}/settings/settingsStorage.d.ts +1 -1
  46. package/dist/types/{react-viewer → react-viewers}/sidePanel/sidePanel.d.ts +1 -1
  47. package/dist/types/react-viewers/ultra/index.d.ts +1 -0
  48. package/dist/types/{react-viewer → react-viewers}/ultra/ultraComponent.d.ts +1 -2
  49. package/dist/types/react-viewers/ultra/ultraErrors.d.ts +3 -0
  50. package/dist/types/react-viewers/webgl/index.d.ts +11 -0
  51. package/dist/types/{react-viewer → react-viewers}/webgl/viewerState.d.ts +1 -1
  52. package/dist/types/{react-viewer → react-viewers}/webgl/webglComponent.d.ts +1 -14
  53. package/dist/types/{react-viewer → react-viewers}/webgl/webglComponentRef.d.ts +1 -1
  54. package/dist/types/{react-viewer → react-viewers}/webgl/webglLoading.d.ts +1 -1
  55. package/dist/vim-web.iife.js +1178 -1177
  56. package/dist/vim-web.iife.js.map +1 -1
  57. package/dist/{vim-web.mjs → vim-web.js} +1179 -1178
  58. package/dist/vim-web.js.map +1 -0
  59. package/package.json +3 -2
  60. package/dist/types/react-viewer/ultra/ultraErrors.d.ts +0 -3
  61. package/dist/types/webgl-viewer/webglViewerIndex.d.ts +0 -26
  62. package/dist/vim-web.mjs.map +0 -1
  63. /package/dist/types/{ultra-viewer/ultraViewerIndex.d.ts → core-viewers/ultra/index.d.ts} +0 -0
  64. /package/dist/types/{ultra-viewer → core-viewers/ultra}/utils/array.d.ts +0 -0
  65. /package/dist/types/{ultra-viewer → core-viewers/ultra}/utils/debounce.d.ts +0 -0
  66. /package/dist/types/{react-viewer/helpers → core-viewers/ultra/utils}/deferredPromise.d.ts +0 -0
  67. /package/dist/types/{ultra-viewer → core-viewers/ultra}/utils/math3d.d.ts +0 -0
  68. /package/dist/types/{ultra-viewer → core-viewers/ultra}/utils/promise.d.ts +0 -0
  69. /package/dist/types/{ultra-viewer → core-viewers/ultra}/utils/result.d.ts +0 -0
  70. /package/dist/types/{ultra-viewer → core-viewers/ultra}/utils/url.d.ts +0 -0
  71. /package/dist/types/{ultra-viewer → core-viewers/ultra}/utils/validation.d.ts +0 -0
  72. /package/dist/types/{ultra-viewer → core-viewers/ultra}/viewer/camera.d.ts +0 -0
  73. /package/dist/types/{ultra-viewer → core-viewers/ultra}/viewer/color.d.ts +0 -0
  74. /package/dist/types/{ultra-viewer → core-viewers/ultra}/viewer/colorManager.d.ts +0 -0
  75. /package/dist/types/{ultra-viewer → core-viewers/ultra}/viewer/decoder.d.ts +0 -0
  76. /package/dist/types/{ultra-viewer → core-viewers/ultra}/viewer/decoderWithWorker.d.ts +0 -0
  77. /package/dist/types/{ultra-viewer → core-viewers/ultra}/viewer/inputs/InputTouch.d.ts +0 -0
  78. /package/dist/types/{ultra-viewer → core-viewers/ultra}/viewer/inputs/inputHandler.d.ts +0 -0
  79. /package/dist/types/{ultra-viewer → core-viewers/ultra}/viewer/inputs/inputKeyboard.d.ts +0 -0
  80. /package/dist/types/{ultra-viewer → core-viewers/ultra}/viewer/inputs/inputMouse.d.ts +0 -0
  81. /package/dist/types/{ultra-viewer → core-viewers/ultra}/viewer/inputs/inputs.d.ts +0 -0
  82. /package/dist/types/{ultra-viewer → core-viewers/ultra}/viewer/loadRequest.d.ts +0 -0
  83. /package/dist/types/{ultra-viewer → core-viewers/ultra}/viewer/logger.d.ts +0 -0
  84. /package/dist/types/{ultra-viewer → core-viewers/ultra}/viewer/marshal.d.ts +0 -0
  85. /package/dist/types/{ultra-viewer → core-viewers/ultra}/viewer/protocol.d.ts +0 -0
  86. /package/dist/types/{ultra-viewer → core-viewers/ultra}/viewer/renderer.d.ts +0 -0
  87. /package/dist/types/{ultra-viewer → core-viewers/ultra}/viewer/rpcClient.d.ts +0 -0
  88. /package/dist/types/{ultra-viewer → core-viewers/ultra}/viewer/rpcSafeClient.d.ts +0 -0
  89. /package/dist/types/{ultra-viewer → core-viewers/ultra}/viewer/selection.d.ts +0 -0
  90. /package/dist/types/{ultra-viewer → core-viewers/ultra}/viewer/socketClient.d.ts +0 -0
  91. /package/dist/types/{ultra-viewer → core-viewers/ultra}/viewer/streamLogger.d.ts +0 -0
  92. /package/dist/types/{ultra-viewer → core-viewers/ultra}/viewer/streamRenderer.d.ts +0 -0
  93. /package/dist/types/{ultra-viewer → core-viewers/ultra}/viewer/viewer.d.ts +0 -0
  94. /package/dist/types/{ultra-viewer → core-viewers/ultra}/viewer/viewport.d.ts +0 -0
  95. /package/dist/types/{ultra-viewer → core-viewers/ultra}/viewer/vim.d.ts +0 -0
  96. /package/dist/types/{ultra-viewer → core-viewers/ultra}/viewer/vimCollection.d.ts +0 -0
  97. /package/dist/types/{webgl-viewer → core-viewers/webgl}/images.d.ts +0 -0
  98. /package/dist/types/{webgl-viewer/vim-loader → core-viewers/webgl/loader}/averageBoundingBox.d.ts +0 -0
  99. /package/dist/types/{webgl-viewer/vim-loader → core-viewers/webgl/loader}/colorAttributes.d.ts +0 -0
  100. /package/dist/types/{webgl-viewer/vim-loader → core-viewers/webgl/loader}/elementMapping.d.ts +0 -0
  101. /package/dist/types/{webgl-viewer/vim-loader → core-viewers/webgl/loader}/geometry.d.ts +0 -0
  102. /package/dist/types/{webgl-viewer/vim-loader → core-viewers/webgl/loader}/materials/isolationMaterial.d.ts +0 -0
  103. /package/dist/types/{webgl-viewer/vim-loader → core-viewers/webgl/loader}/materials/maskMaterial.d.ts +0 -0
  104. /package/dist/types/{webgl-viewer/vim-loader → core-viewers/webgl/loader}/materials/mergeMaterial.d.ts +0 -0
  105. /package/dist/types/{webgl-viewer/vim-loader → core-viewers/webgl/loader}/materials/outlineMaterial.d.ts +0 -0
  106. /package/dist/types/{webgl-viewer/vim-loader → core-viewers/webgl/loader}/materials/simpleMaterial.d.ts +0 -0
  107. /package/dist/types/{webgl-viewer/vim-loader → core-viewers/webgl/loader}/materials/skyboxMaterial.d.ts +0 -0
  108. /package/dist/types/{webgl-viewer/vim-loader → core-viewers/webgl/loader}/materials/standardMaterial.d.ts +0 -0
  109. /package/dist/types/{webgl-viewer/vim-loader → core-viewers/webgl/loader}/materials/transferMaterial.d.ts +0 -0
  110. /package/dist/types/{webgl-viewer/vim-loader → core-viewers/webgl/loader}/mesh.d.ts +0 -0
  111. /package/dist/types/{webgl-viewer/vim-loader → core-viewers/webgl/loader}/object3D.d.ts +0 -0
  112. /package/dist/types/{webgl-viewer/vim-loader → core-viewers/webgl/loader}/objectAttributes.d.ts +0 -0
  113. /package/dist/types/{webgl-viewer/vim-loader → core-viewers/webgl/loader}/progressive/g3dOffsets.d.ts +0 -0
  114. /package/dist/types/{webgl-viewer/vim-loader → core-viewers/webgl/loader}/progressive/g3dSubset.d.ts +0 -0
  115. /package/dist/types/{webgl-viewer/vim-loader → core-viewers/webgl/loader}/progressive/insertableGeometry.d.ts +0 -0
  116. /package/dist/types/{webgl-viewer/vim-loader → core-viewers/webgl/loader}/progressive/insertableMesh.d.ts +0 -0
  117. /package/dist/types/{webgl-viewer/vim-loader → core-viewers/webgl/loader}/progressive/insertableSubmesh.d.ts +0 -0
  118. /package/dist/types/{webgl-viewer/vim-loader → core-viewers/webgl/loader}/progressive/instancedMesh.d.ts +0 -0
  119. /package/dist/types/{webgl-viewer/vim-loader → core-viewers/webgl/loader}/progressive/instancedMeshFactory.d.ts +0 -0
  120. /package/dist/types/{webgl-viewer/vim-loader → core-viewers/webgl/loader}/progressive/instancedSubmesh.d.ts +0 -0
  121. /package/dist/types/{webgl-viewer/vim-loader → core-viewers/webgl/loader}/progressive/legacyMeshFactory.d.ts +0 -0
  122. /package/dist/types/{webgl-viewer/vim-loader → core-viewers/webgl/loader}/progressive/loadingSynchronizer.d.ts +0 -0
  123. /package/dist/types/{webgl-viewer/vim-loader → core-viewers/webgl/loader}/progressive/subsetBuilder.d.ts +0 -0
  124. /package/dist/types/{webgl-viewer/vim-loader → core-viewers/webgl/loader}/progressive/vimx.d.ts +0 -0
  125. /package/dist/types/{webgl-viewer/vim-loader → core-viewers/webgl/loader}/scene.d.ts +0 -0
  126. /package/dist/types/{webgl-viewer/vim-loader → core-viewers/webgl/loader}/vim.d.ts +0 -0
  127. /package/dist/types/{webgl-viewer/vim-loader → core-viewers/webgl/loader}/vimSettings.d.ts +0 -0
  128. /package/dist/types/{webgl-viewer → core-viewers/webgl}/utils/boxes.d.ts +0 -0
  129. /package/dist/types/{ultra-viewer → core-viewers/webgl}/utils/deferredPromise.d.ts +0 -0
  130. /package/dist/types/{webgl-viewer → core-viewers/webgl}/utils/requestResult.d.ts +0 -0
  131. /package/dist/types/{webgl-viewer/vim-webgl-viewer → core-viewers/webgl/viewer}/camera/camera.d.ts +0 -0
  132. /package/dist/types/{webgl-viewer/vim-webgl-viewer → core-viewers/webgl/viewer}/camera/orthographic.d.ts +0 -0
  133. /package/dist/types/{webgl-viewer/vim-webgl-viewer → core-viewers/webgl/viewer}/camera/perspective.d.ts +0 -0
  134. /package/dist/types/{webgl-viewer/vim-webgl-viewer → core-viewers/webgl/viewer}/environment/cameraLight.d.ts +0 -0
  135. /package/dist/types/{webgl-viewer/vim-webgl-viewer → core-viewers/webgl/viewer}/environment/groundPlane.d.ts +0 -0
  136. /package/dist/types/{webgl-viewer/vim-webgl-viewer → core-viewers/webgl/viewer}/gizmos/axes/axes.d.ts +0 -0
  137. /package/dist/types/{webgl-viewer/vim-webgl-viewer → core-viewers/webgl/viewer}/gizmos/axes/axesSettings.d.ts +0 -0
  138. /package/dist/types/{webgl-viewer/vim-webgl-viewer → core-viewers/webgl/viewer}/gizmos/axes/gizmoAxes.d.ts +0 -0
  139. /package/dist/types/{webgl-viewer/vim-webgl-viewer → core-viewers/webgl/viewer}/gizmos/gizmoLoading.d.ts +0 -0
  140. /package/dist/types/{webgl-viewer/vim-webgl-viewer → core-viewers/webgl/viewer}/gizmos/gizmoOrbit.d.ts +0 -0
  141. /package/dist/types/{webgl-viewer/vim-webgl-viewer → core-viewers/webgl/viewer}/gizmos/gizmoRectangle.d.ts +0 -0
  142. /package/dist/types/{webgl-viewer/vim-webgl-viewer → core-viewers/webgl/viewer}/gizmos/gizmos.d.ts +0 -0
  143. /package/dist/types/{webgl-viewer/vim-webgl-viewer → core-viewers/webgl/viewer}/gizmos/markers/gizmoMarkers.d.ts +0 -0
  144. /package/dist/types/{webgl-viewer/vim-webgl-viewer → core-viewers/webgl/viewer}/gizmos/measure/measure.d.ts +0 -0
  145. /package/dist/types/{webgl-viewer/vim-webgl-viewer → core-viewers/webgl/viewer}/gizmos/measure/measureFlow.d.ts +0 -0
  146. /package/dist/types/{webgl-viewer/vim-webgl-viewer → core-viewers/webgl/viewer}/gizmos/measure/measureGizmo.d.ts +0 -0
  147. /package/dist/types/{webgl-viewer/vim-webgl-viewer → core-viewers/webgl/viewer}/gizmos/measure/measureHtml.d.ts +0 -0
  148. /package/dist/types/{webgl-viewer/vim-webgl-viewer → core-viewers/webgl/viewer}/gizmos/sectionBox/sectionBox.d.ts +0 -0
  149. /package/dist/types/{webgl-viewer/vim-webgl-viewer → core-viewers/webgl/viewer}/gizmos/sectionBox/sectionBoxGizmo.d.ts +0 -0
  150. /package/dist/types/{webgl-viewer/vim-webgl-viewer → core-viewers/webgl/viewer}/gizmos/sectionBox/sectionBoxInputs.d.ts +0 -0
  151. /package/dist/types/{webgl-viewer/vim-webgl-viewer → core-viewers/webgl/viewer}/inputs/input.d.ts +0 -0
  152. /package/dist/types/{webgl-viewer/vim-webgl-viewer → core-viewers/webgl/viewer}/inputs/inputHandler.d.ts +0 -0
  153. /package/dist/types/{webgl-viewer/vim-webgl-viewer → core-viewers/webgl/viewer}/inputs/keyboard.d.ts +0 -0
  154. /package/dist/types/{webgl-viewer/vim-webgl-viewer → core-viewers/webgl/viewer}/inputs/mouse.d.ts +0 -0
  155. /package/dist/types/{webgl-viewer/vim-webgl-viewer → core-viewers/webgl/viewer}/inputs/touch.d.ts +0 -0
  156. /package/dist/types/{webgl-viewer/vim-webgl-viewer → core-viewers/webgl/viewer}/rendering/transferPass.d.ts +0 -0
  157. /package/dist/types/{webgl-viewer/vim-webgl-viewer → core-viewers/webgl/viewer}/settings/defaultViewerSettings.d.ts +0 -0
  158. /package/dist/types/{webgl-viewer/vim-webgl-viewer → core-viewers/webgl/viewer}/settings/viewerSettings.d.ts +0 -0
  159. /package/dist/types/{webgl-viewer/vim-webgl-viewer → core-viewers/webgl/viewer}/settings/viewerSettingsParsing.d.ts +0 -0
  160. /package/dist/types/{webgl-viewer/vim-webgl-viewer → core-viewers/webgl/viewer}/viewport.d.ts +0 -0
  161. /package/dist/types/{react-viewer → react-viewers}/bim/bimInfoBody.d.ts +0 -0
  162. /package/dist/types/{react-viewer → react-viewers}/bim/bimInfoHeader.d.ts +0 -0
  163. /package/dist/types/{react-viewer → react-viewers}/bim/bimSearch.d.ts +0 -0
  164. /package/dist/types/{react-viewer → react-viewers}/bim/bimUtils.d.ts +0 -0
  165. /package/dist/types/{react-viewer → react-viewers}/bim/openState.d.ts +0 -0
  166. /package/dist/types/{react-viewer → react-viewers}/container.d.ts +0 -0
  167. /package/dist/types/{react-viewer → react-viewers}/controlbar/controlBarButton.d.ts +0 -0
  168. /package/dist/types/{react-viewer → react-viewers}/controlbar/controlBarSection.d.ts +0 -0
  169. /package/dist/types/{react-viewer → react-viewers}/controlbar/fullScreenState.d.ts +0 -0
  170. /package/dist/types/{react-viewer → react-viewers}/controlbar/restOfScreen.d.ts +0 -0
  171. /package/dist/types/{react-viewer → react-viewers}/errors/errorStyle.d.ts +0 -0
  172. /package/dist/types/{react-viewer → react-viewers}/errors/errorUtils.d.ts +0 -0
  173. /package/dist/types/{react-viewer → react-viewers}/errors/errors.d.ts +0 -0
  174. /package/dist/types/{react-viewer → react-viewers}/errors/fileDownloadingError.d.ts +0 -0
  175. /package/dist/types/{react-viewer → react-viewers}/errors/fileLoadingError.d.ts +0 -0
  176. /package/dist/types/{react-viewer → react-viewers}/errors/fileOpeningError.d.ts +0 -0
  177. /package/dist/types/{react-viewer → react-viewers}/errors/serverCompatibilityError.d.ts +0 -0
  178. /package/dist/types/{react-viewer → react-viewers}/errors/serverConnectionError.d.ts +0 -0
  179. /package/dist/types/{react-viewer → react-viewers}/helpers/data.d.ts +0 -0
  180. /package/dist/types/{webgl-viewer/utils → react-viewers/helpers}/deferredPromise.d.ts +0 -0
  181. /package/dist/types/{react-viewer → react-viewers}/helpers/fullScreenObserver.d.ts +0 -0
  182. /package/dist/types/{react-viewer → react-viewers}/helpers/requestResult.d.ts +0 -0
  183. /package/dist/types/{react-viewer → react-viewers}/helpers/utils.d.ts +0 -0
  184. /package/dist/types/{react-viewer/reactViewerIndex.d.ts → react-viewers/index.d.ts} +0 -0
  185. /package/dist/types/{react-viewer → react-viewers}/panels/contextMenu.d.ts +0 -0
  186. /package/dist/types/{react-viewer → react-viewers}/panels/help.d.ts +0 -0
  187. /package/dist/types/{react-viewer → react-viewers}/panels/icons.d.ts +0 -0
  188. /package/dist/types/{react-viewer → react-viewers}/panels/loadingBox.d.ts +0 -0
  189. /package/dist/types/{react-viewer → react-viewers}/panels/logo.d.ts +0 -0
  190. /package/dist/types/{react-viewer → react-viewers}/panels/messageBox.d.ts +0 -0
  191. /package/dist/types/{react-viewer → react-viewers}/panels/modal.d.ts +0 -0
  192. /package/dist/types/{react-viewer → react-viewers}/panels/overlay.d.ts +0 -0
  193. /package/dist/types/{react-viewer → react-viewers}/panels/performance.d.ts +0 -0
  194. /package/dist/types/{react-viewer → react-viewers}/settings/settings.d.ts +0 -0
  195. /package/dist/types/{react-viewer → react-viewers}/sidePanel/sideState.d.ts +0 -0
  196. /package/dist/types/{react-viewer → react-viewers}/urls.d.ts +0 -0
@@ -220,9 +220,9 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
220
220
  const listeners = this._listeners;
221
221
  const listenerArray = listeners[type];
222
222
  if (listenerArray !== void 0) {
223
- const index = listenerArray.indexOf(listener2);
224
- if (index !== -1) {
225
- listenerArray.splice(index, 1);
223
+ const index2 = listenerArray.indexOf(listener2);
224
+ if (index2 !== -1) {
225
+ listenerArray.splice(index2, 1);
226
226
  }
227
227
  }
228
228
  }
@@ -449,8 +449,8 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
449
449
  this.y = y;
450
450
  return this;
451
451
  }
452
- setComponent(index, value) {
453
- switch (index) {
452
+ setComponent(index2, value) {
453
+ switch (index2) {
454
454
  case 0:
455
455
  this.x = value;
456
456
  break;
@@ -458,18 +458,18 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
458
458
  this.y = value;
459
459
  break;
460
460
  default:
461
- throw new Error("index is out of range: " + index);
461
+ throw new Error("index is out of range: " + index2);
462
462
  }
463
463
  return this;
464
464
  }
465
- getComponent(index) {
466
- switch (index) {
465
+ getComponent(index2) {
466
+ switch (index2) {
467
467
  case 0:
468
468
  return this.x;
469
469
  case 1:
470
470
  return this.y;
471
471
  default:
472
- throw new Error("index is out of range: " + index);
472
+ throw new Error("index is out of range: " + index2);
473
473
  }
474
474
  }
475
475
  clone() {
@@ -647,9 +647,9 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
647
647
  array[offset + 1] = this.y;
648
648
  return array;
649
649
  }
650
- fromBufferAttribute(attribute, index) {
651
- this.x = attribute.getX(index);
652
- this.y = attribute.getY(index);
650
+ fromBufferAttribute(attribute, index2) {
651
+ this.x = attribute.getX(index2);
652
+ this.y = attribute.getY(index2);
653
653
  return this;
654
654
  }
655
655
  rotateAround(center, angle) {
@@ -1439,10 +1439,10 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
1439
1439
  array[offset + 2] = this.b;
1440
1440
  return array;
1441
1441
  }
1442
- fromBufferAttribute(attribute, index) {
1443
- this.r = attribute.getX(index);
1444
- this.g = attribute.getY(index);
1445
- this.b = attribute.getZ(index);
1442
+ fromBufferAttribute(attribute, index2) {
1443
+ this.r = attribute.getX(index2);
1444
+ this.g = attribute.getY(index2);
1445
+ this.b = attribute.getZ(index2);
1446
1446
  if (attribute.normalized === true) {
1447
1447
  this.r /= 255;
1448
1448
  this.g /= 255;
@@ -1800,8 +1800,8 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
1800
1800
  this.w = w;
1801
1801
  return this;
1802
1802
  }
1803
- setComponent(index, value) {
1804
- switch (index) {
1803
+ setComponent(index2, value) {
1804
+ switch (index2) {
1805
1805
  case 0:
1806
1806
  this.x = value;
1807
1807
  break;
@@ -1815,12 +1815,12 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
1815
1815
  this.w = value;
1816
1816
  break;
1817
1817
  default:
1818
- throw new Error("index is out of range: " + index);
1818
+ throw new Error("index is out of range: " + index2);
1819
1819
  }
1820
1820
  return this;
1821
1821
  }
1822
- getComponent(index) {
1823
- switch (index) {
1822
+ getComponent(index2) {
1823
+ switch (index2) {
1824
1824
  case 0:
1825
1825
  return this.x;
1826
1826
  case 1:
@@ -1830,7 +1830,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
1830
1830
  case 3:
1831
1831
  return this.w;
1832
1832
  default:
1833
- throw new Error("index is out of range: " + index);
1833
+ throw new Error("index is out of range: " + index2);
1834
1834
  }
1835
1835
  }
1836
1836
  clone() {
@@ -2105,11 +2105,11 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
2105
2105
  array[offset + 3] = this.w;
2106
2106
  return array;
2107
2107
  }
2108
- fromBufferAttribute(attribute, index) {
2109
- this.x = attribute.getX(index);
2110
- this.y = attribute.getY(index);
2111
- this.z = attribute.getZ(index);
2112
- this.w = attribute.getW(index);
2108
+ fromBufferAttribute(attribute, index2) {
2109
+ this.x = attribute.getX(index2);
2110
+ this.y = attribute.getY(index2);
2111
+ this.z = attribute.getZ(index2);
2112
+ this.w = attribute.getW(index2);
2113
2113
  return this;
2114
2114
  }
2115
2115
  random() {
@@ -2644,11 +2644,11 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
2644
2644
  array[offset + 3] = this._w;
2645
2645
  return array;
2646
2646
  }
2647
- fromBufferAttribute(attribute, index) {
2648
- this._x = attribute.getX(index);
2649
- this._y = attribute.getY(index);
2650
- this._z = attribute.getZ(index);
2651
- this._w = attribute.getW(index);
2647
+ fromBufferAttribute(attribute, index2) {
2648
+ this._x = attribute.getX(index2);
2649
+ this._y = attribute.getY(index2);
2650
+ this._z = attribute.getZ(index2);
2651
+ this._w = attribute.getW(index2);
2652
2652
  return this;
2653
2653
  }
2654
2654
  _onChange(callback) {
@@ -2696,8 +2696,8 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
2696
2696
  this.z = z;
2697
2697
  return this;
2698
2698
  }
2699
- setComponent(index, value) {
2700
- switch (index) {
2699
+ setComponent(index2, value) {
2700
+ switch (index2) {
2701
2701
  case 0:
2702
2702
  this.x = value;
2703
2703
  break;
@@ -2708,12 +2708,12 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
2708
2708
  this.z = value;
2709
2709
  break;
2710
2710
  default:
2711
- throw new Error("index is out of range: " + index);
2711
+ throw new Error("index is out of range: " + index2);
2712
2712
  }
2713
2713
  return this;
2714
2714
  }
2715
- getComponent(index) {
2716
- switch (index) {
2715
+ getComponent(index2) {
2716
+ switch (index2) {
2717
2717
  case 0:
2718
2718
  return this.x;
2719
2719
  case 1:
@@ -2721,7 +2721,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
2721
2721
  case 2:
2722
2722
  return this.z;
2723
2723
  default:
2724
- throw new Error("index is out of range: " + index);
2724
+ throw new Error("index is out of range: " + index2);
2725
2725
  }
2726
2726
  }
2727
2727
  clone() {
@@ -3018,11 +3018,11 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
3018
3018
  this.z = sz;
3019
3019
  return this;
3020
3020
  }
3021
- setFromMatrixColumn(m, index) {
3022
- return this.fromArray(m.elements, index * 4);
3021
+ setFromMatrixColumn(m, index2) {
3022
+ return this.fromArray(m.elements, index2 * 4);
3023
3023
  }
3024
- setFromMatrix3Column(m, index) {
3025
- return this.fromArray(m.elements, index * 3);
3024
+ setFromMatrix3Column(m, index2) {
3025
+ return this.fromArray(m.elements, index2 * 3);
3026
3026
  }
3027
3027
  setFromEuler(e) {
3028
3028
  this.x = e._x;
@@ -3045,10 +3045,10 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
3045
3045
  array[offset + 2] = this.z;
3046
3046
  return array;
3047
3047
  }
3048
- fromBufferAttribute(attribute, index) {
3049
- this.x = attribute.getX(index);
3050
- this.y = attribute.getY(index);
3051
- this.z = attribute.getZ(index);
3048
+ fromBufferAttribute(attribute, index2) {
3049
+ this.x = attribute.getX(index2);
3050
+ this.y = attribute.getY(index2);
3051
+ this.z = attribute.getZ(index2);
3052
3052
  return this;
3053
3053
  }
3054
3054
  random() {
@@ -4868,10 +4868,10 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
4868
4868
  }
4869
4869
  return this;
4870
4870
  }
4871
- const index = this.children.indexOf(object);
4872
- if (index !== -1) {
4871
+ const index2 = this.children.indexOf(object);
4872
+ if (index2 !== -1) {
4873
4873
  object.parent = null;
4874
- this.children.splice(index, 1);
4874
+ this.children.splice(index2, 1);
4875
4875
  object.dispatchEvent(_removedEvent);
4876
4876
  }
4877
4877
  return this;
@@ -5842,53 +5842,53 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
5842
5842
  this.array.set(value, offset);
5843
5843
  return this;
5844
5844
  }
5845
- getX(index) {
5846
- return this.array[index * this.itemSize];
5845
+ getX(index2) {
5846
+ return this.array[index2 * this.itemSize];
5847
5847
  }
5848
- setX(index, x) {
5849
- this.array[index * this.itemSize] = x;
5848
+ setX(index2, x) {
5849
+ this.array[index2 * this.itemSize] = x;
5850
5850
  return this;
5851
5851
  }
5852
- getY(index) {
5853
- return this.array[index * this.itemSize + 1];
5852
+ getY(index2) {
5853
+ return this.array[index2 * this.itemSize + 1];
5854
5854
  }
5855
- setY(index, y) {
5856
- this.array[index * this.itemSize + 1] = y;
5855
+ setY(index2, y) {
5856
+ this.array[index2 * this.itemSize + 1] = y;
5857
5857
  return this;
5858
5858
  }
5859
- getZ(index) {
5860
- return this.array[index * this.itemSize + 2];
5859
+ getZ(index2) {
5860
+ return this.array[index2 * this.itemSize + 2];
5861
5861
  }
5862
- setZ(index, z) {
5863
- this.array[index * this.itemSize + 2] = z;
5862
+ setZ(index2, z) {
5863
+ this.array[index2 * this.itemSize + 2] = z;
5864
5864
  return this;
5865
5865
  }
5866
- getW(index) {
5867
- return this.array[index * this.itemSize + 3];
5866
+ getW(index2) {
5867
+ return this.array[index2 * this.itemSize + 3];
5868
5868
  }
5869
- setW(index, w) {
5870
- this.array[index * this.itemSize + 3] = w;
5869
+ setW(index2, w) {
5870
+ this.array[index2 * this.itemSize + 3] = w;
5871
5871
  return this;
5872
5872
  }
5873
- setXY(index, x, y) {
5874
- index *= this.itemSize;
5875
- this.array[index + 0] = x;
5876
- this.array[index + 1] = y;
5873
+ setXY(index2, x, y) {
5874
+ index2 *= this.itemSize;
5875
+ this.array[index2 + 0] = x;
5876
+ this.array[index2 + 1] = y;
5877
5877
  return this;
5878
5878
  }
5879
- setXYZ(index, x, y, z) {
5880
- index *= this.itemSize;
5881
- this.array[index + 0] = x;
5882
- this.array[index + 1] = y;
5883
- this.array[index + 2] = z;
5879
+ setXYZ(index2, x, y, z) {
5880
+ index2 *= this.itemSize;
5881
+ this.array[index2 + 0] = x;
5882
+ this.array[index2 + 1] = y;
5883
+ this.array[index2 + 2] = z;
5884
5884
  return this;
5885
5885
  }
5886
- setXYZW(index, x, y, z, w) {
5887
- index *= this.itemSize;
5888
- this.array[index + 0] = x;
5889
- this.array[index + 1] = y;
5890
- this.array[index + 2] = z;
5891
- this.array[index + 3] = w;
5886
+ setXYZW(index2, x, y, z, w) {
5887
+ index2 *= this.itemSize;
5888
+ this.array[index2 + 0] = x;
5889
+ this.array[index2 + 1] = y;
5890
+ this.array[index2 + 2] = z;
5891
+ this.array[index2 + 3] = w;
5892
5892
  return this;
5893
5893
  }
5894
5894
  onUpload(callback) {
@@ -5990,11 +5990,11 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
5990
5990
  getIndex() {
5991
5991
  return this.index;
5992
5992
  }
5993
- setIndex(index) {
5994
- if (Array.isArray(index)) {
5995
- this.index = new (arrayNeedsUint32(index) ? Uint32BufferAttribute : Uint16BufferAttribute)(index, 1);
5993
+ setIndex(index2) {
5994
+ if (Array.isArray(index2)) {
5995
+ this.index = new (arrayNeedsUint32(index2) ? Uint32BufferAttribute : Uint16BufferAttribute)(index2, 1);
5996
5996
  } else {
5997
- this.index = index;
5997
+ this.index = index2;
5998
5998
  }
5999
5999
  return this;
6000
6000
  }
@@ -6196,13 +6196,13 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
6196
6196
  }
6197
6197
  }
6198
6198
  computeTangents() {
6199
- const index = this.index;
6199
+ const index2 = this.index;
6200
6200
  const attributes = this.attributes;
6201
- if (index === null || attributes.position === void 0 || attributes.normal === void 0 || attributes.uv === void 0) {
6201
+ if (index2 === null || attributes.position === void 0 || attributes.normal === void 0 || attributes.uv === void 0) {
6202
6202
  console.error("THREE.BufferGeometry: .computeTangents() failed. Missing required attributes (index, position, normal or uv)");
6203
6203
  return;
6204
6204
  }
6205
- const indices = index.array;
6205
+ const indices = index2.array;
6206
6206
  const positions = attributes.position.array;
6207
6207
  const normals = attributes.normal.array;
6208
6208
  const uvs = attributes.uv.array;
@@ -6286,7 +6286,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
6286
6286
  }
6287
6287
  }
6288
6288
  computeVertexNormals() {
6289
- const index = this.index;
6289
+ const index2 = this.index;
6290
6290
  const positionAttribute = this.getAttribute("position");
6291
6291
  if (positionAttribute !== void 0) {
6292
6292
  let normalAttribute = this.getAttribute("normal");
@@ -6301,11 +6301,11 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
6301
6301
  const pA = new Vector3$1(), pB = new Vector3$1(), pC = new Vector3$1();
6302
6302
  const nA = new Vector3$1(), nB = new Vector3$1(), nC = new Vector3$1();
6303
6303
  const cb = new Vector3$1(), ab = new Vector3$1();
6304
- if (index) {
6305
- for (let i2 = 0, il = index.count; i2 < il; i2 += 3) {
6306
- const vA = index.getX(i2 + 0);
6307
- const vB = index.getX(i2 + 1);
6308
- const vC = index.getX(i2 + 2);
6304
+ if (index2) {
6305
+ for (let i2 = 0, il = index2.count; i2 < il; i2 += 3) {
6306
+ const vA = index2.getX(i2 + 0);
6307
+ const vB = index2.getX(i2 + 1);
6308
+ const vC = index2.getX(i2 + 2);
6309
6309
  pA.fromBufferAttribute(positionAttribute, vA);
6310
6310
  pB.fromBufferAttribute(positionAttribute, vB);
6311
6311
  pC.fromBufferAttribute(positionAttribute, vC);
@@ -6379,15 +6379,15 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
6379
6379
  const itemSize = attribute.itemSize;
6380
6380
  const normalized = attribute.normalized;
6381
6381
  const array2 = new array.constructor(indices2.length * itemSize);
6382
- let index = 0, index2 = 0;
6382
+ let index2 = 0, index22 = 0;
6383
6383
  for (let i2 = 0, l = indices2.length; i2 < l; i2++) {
6384
6384
  if (attribute.isInterleavedBufferAttribute) {
6385
- index = indices2[i2] * attribute.data.stride + attribute.offset;
6385
+ index2 = indices2[i2] * attribute.data.stride + attribute.offset;
6386
6386
  } else {
6387
- index = indices2[i2] * itemSize;
6387
+ index2 = indices2[i2] * itemSize;
6388
6388
  }
6389
6389
  for (let j = 0; j < itemSize; j++) {
6390
- array2[index2++] = array[index++];
6390
+ array2[index22++] = array[index2++];
6391
6391
  }
6392
6392
  }
6393
6393
  return new BufferAttribute(array2, itemSize, normalized);
@@ -6443,11 +6443,11 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
6443
6443
  return data2;
6444
6444
  }
6445
6445
  data2.data = { attributes: {} };
6446
- const index = this.index;
6447
- if (index !== null) {
6446
+ const index2 = this.index;
6447
+ if (index2 !== null) {
6448
6448
  data2.data.index = {
6449
- type: index.array.constructor.name,
6450
- array: Array.prototype.slice.call(index.array)
6449
+ type: index2.array.constructor.name,
6450
+ array: Array.prototype.slice.call(index2.array)
6451
6451
  };
6452
6452
  }
6453
6453
  const attributes = this.attributes;
@@ -6498,9 +6498,9 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
6498
6498
  this.boundingSphere = null;
6499
6499
  const data2 = {};
6500
6500
  this.name = source.name;
6501
- const index = source.index;
6502
- if (index !== null) {
6503
- this.setIndex(index.clone(data2));
6501
+ const index2 = source.index;
6502
+ if (index2 !== null) {
6503
+ this.setIndex(index2.clone(data2));
6504
6504
  }
6505
6505
  const attributes = source.attributes;
6506
6506
  for (const name in attributes) {
@@ -6610,7 +6610,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
6610
6610
  if (_ray$2.intersectsBox(geometry.boundingBox) === false) return;
6611
6611
  }
6612
6612
  let intersection;
6613
- const index = geometry.index;
6613
+ const index2 = geometry.index;
6614
6614
  const position = geometry.attributes.position;
6615
6615
  const morphPosition = geometry.morphAttributes.position;
6616
6616
  const morphTargetsRelative = geometry.morphTargetsRelative;
@@ -6618,17 +6618,17 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
6618
6618
  const uv2 = geometry.attributes.uv2;
6619
6619
  const groups = geometry.groups;
6620
6620
  const drawRange = geometry.drawRange;
6621
- if (index !== null) {
6621
+ if (index2 !== null) {
6622
6622
  if (Array.isArray(material)) {
6623
6623
  for (let i2 = 0, il = groups.length; i2 < il; i2++) {
6624
6624
  const group = groups[i2];
6625
6625
  const groupMaterial = material[group.materialIndex];
6626
6626
  const start = Math.max(group.start, drawRange.start);
6627
- const end = Math.min(index.count, Math.min(group.start + group.count, drawRange.start + drawRange.count));
6627
+ const end = Math.min(index2.count, Math.min(group.start + group.count, drawRange.start + drawRange.count));
6628
6628
  for (let j = start, jl = end; j < jl; j += 3) {
6629
- const a = index.getX(j);
6630
- const b = index.getX(j + 1);
6631
- const c = index.getX(j + 2);
6629
+ const a = index2.getX(j);
6630
+ const b = index2.getX(j + 1);
6631
+ const c = index2.getX(j + 2);
6632
6632
  intersection = checkBufferGeometryIntersection(this, groupMaterial, raycaster, _ray$2, position, morphPosition, morphTargetsRelative, uv, uv2, a, b, c);
6633
6633
  if (intersection) {
6634
6634
  intersection.faceIndex = Math.floor(j / 3);
@@ -6639,11 +6639,11 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
6639
6639
  }
6640
6640
  } else {
6641
6641
  const start = Math.max(0, drawRange.start);
6642
- const end = Math.min(index.count, drawRange.start + drawRange.count);
6642
+ const end = Math.min(index2.count, drawRange.start + drawRange.count);
6643
6643
  for (let i2 = start, il = end; i2 < il; i2 += 3) {
6644
- const a = index.getX(i2);
6645
- const b = index.getX(i2 + 1);
6646
- const c = index.getX(i2 + 2);
6644
+ const a = index2.getX(i2);
6645
+ const b = index2.getX(i2 + 1);
6646
+ const c = index2.getX(i2 + 2);
6647
6647
  intersection = checkBufferGeometryIntersection(this, material, raycaster, _ray$2, position, morphPosition, morphTargetsRelative, uv, uv2, a, b, c);
6648
6648
  if (intersection) {
6649
6649
  intersection.faceIndex = Math.floor(i2 / 3);
@@ -8550,7 +8550,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
8550
8550
  const defaultState = createBindingState(null);
8551
8551
  let currentState = defaultState;
8552
8552
  let forceUpdate = false;
8553
- function setup(object, material, program, geometry, index) {
8553
+ function setup(object, material, program, geometry, index2) {
8554
8554
  let updateBuffers = false;
8555
8555
  if (vaoAvailable) {
8556
8556
  const state = getBindingState(geometry, program, material);
@@ -8558,8 +8558,8 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
8558
8558
  currentState = state;
8559
8559
  bindVertexArrayObject(currentState.object);
8560
8560
  }
8561
- updateBuffers = needsUpdate(object, geometry, program, index);
8562
- if (updateBuffers) saveCache(object, geometry, program, index);
8561
+ updateBuffers = needsUpdate(object, geometry, program, index2);
8562
+ if (updateBuffers) saveCache(object, geometry, program, index2);
8563
8563
  } else {
8564
8564
  const wireframe = material.wireframe === true;
8565
8565
  if (currentState.geometry !== geometry.id || currentState.program !== program.id || currentState.wireframe !== wireframe) {
@@ -8569,14 +8569,14 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
8569
8569
  updateBuffers = true;
8570
8570
  }
8571
8571
  }
8572
- if (index !== null) {
8573
- attributes.update(index, 34963);
8572
+ if (index2 !== null) {
8573
+ attributes.update(index2, 34963);
8574
8574
  }
8575
8575
  if (updateBuffers || forceUpdate) {
8576
8576
  forceUpdate = false;
8577
8577
  setupVertexAttributes(object, material, program, geometry);
8578
- if (index !== null) {
8579
- gl.bindBuffer(34963, attributes.get(index).buffer);
8578
+ if (index2 !== null) {
8579
+ gl.bindBuffer(34963, attributes.get(index2).buffer);
8580
8580
  }
8581
8581
  }
8582
8582
  }
@@ -8633,7 +8633,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
8633
8633
  index: null
8634
8634
  };
8635
8635
  }
8636
- function needsUpdate(object, geometry, program, index) {
8636
+ function needsUpdate(object, geometry, program, index2) {
8637
8637
  const cachedAttributes = currentState.attributes;
8638
8638
  const geometryAttributes = geometry.attributes;
8639
8639
  let attributesNum = 0;
@@ -8654,10 +8654,10 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
8654
8654
  }
8655
8655
  }
8656
8656
  if (currentState.attributesNum !== attributesNum) return true;
8657
- if (currentState.index !== index) return true;
8657
+ if (currentState.index !== index2) return true;
8658
8658
  return false;
8659
8659
  }
8660
- function saveCache(object, geometry, program, index) {
8660
+ function saveCache(object, geometry, program, index2) {
8661
8661
  const cache = {};
8662
8662
  const attributes2 = geometry.attributes;
8663
8663
  let attributesNum = 0;
@@ -8681,7 +8681,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
8681
8681
  }
8682
8682
  currentState.attributes = cache;
8683
8683
  currentState.attributesNum = attributesNum;
8684
- currentState.index = index;
8684
+ currentState.index = index2;
8685
8685
  }
8686
8686
  function initAttributes() {
8687
8687
  const newAttributes = currentState.newAttributes;
@@ -8717,11 +8717,11 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
8717
8717
  }
8718
8718
  }
8719
8719
  }
8720
- function vertexAttribPointer(index, size, type, normalized, stride, offset) {
8720
+ function vertexAttribPointer(index2, size, type, normalized, stride, offset) {
8721
8721
  if (capabilities.isWebGL2 === true && (type === 5124 || type === 5125)) {
8722
- gl.vertexAttribIPointer(index, size, type, stride, offset);
8722
+ gl.vertexAttribIPointer(index2, size, type, stride, offset);
8723
8723
  } else {
8724
- gl.vertexAttribPointer(index, size, type, normalized, stride, offset);
8724
+ gl.vertexAttribPointer(index2, size, type, normalized, stride, offset);
8725
8725
  }
8726
8726
  }
8727
8727
  function setupVertexAttributes(object, material, program, geometry) {
@@ -10270,14 +10270,14 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
10270
10270
  let morphInfluencesSum = 0;
10271
10271
  for (let i2 = 0; i2 < 8; i2++) {
10272
10272
  const influence = workInfluences[i2];
10273
- const index = influence[0];
10273
+ const index2 = influence[0];
10274
10274
  const value = influence[1];
10275
- if (index !== Number.MAX_SAFE_INTEGER && value) {
10276
- if (morphTargets && geometry.getAttribute("morphTarget" + i2) !== morphTargets[index]) {
10277
- geometry.setAttribute("morphTarget" + i2, morphTargets[index]);
10275
+ if (index2 !== Number.MAX_SAFE_INTEGER && value) {
10276
+ if (morphTargets && geometry.getAttribute("morphTarget" + i2) !== morphTargets[index2]) {
10277
+ geometry.setAttribute("morphTarget" + i2, morphTargets[index2]);
10278
10278
  }
10279
- if (morphNormals && geometry.getAttribute("morphNormal" + i2) !== morphNormals[index]) {
10280
- geometry.setAttribute("morphNormal" + i2, morphNormals[index]);
10279
+ if (morphNormals && geometry.getAttribute("morphNormal" + i2) !== morphNormals[index2]) {
10280
+ geometry.setAttribute("morphNormal" + i2, morphNormals[index2]);
10281
10281
  }
10282
10282
  morphInfluences[i2] = value;
10283
10283
  morphInfluencesSum += value;
@@ -14777,27 +14777,27 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
14777
14777
  this.cameraAutoUpdate = true;
14778
14778
  this.enabled = false;
14779
14779
  this.isPresenting = false;
14780
- this.getController = function(index) {
14781
- let controller = controllers[index];
14780
+ this.getController = function(index2) {
14781
+ let controller = controllers[index2];
14782
14782
  if (controller === void 0) {
14783
14783
  controller = new WebXRController();
14784
- controllers[index] = controller;
14784
+ controllers[index2] = controller;
14785
14785
  }
14786
14786
  return controller.getTargetRaySpace();
14787
14787
  };
14788
- this.getControllerGrip = function(index) {
14789
- let controller = controllers[index];
14788
+ this.getControllerGrip = function(index2) {
14789
+ let controller = controllers[index2];
14790
14790
  if (controller === void 0) {
14791
14791
  controller = new WebXRController();
14792
- controllers[index] = controller;
14792
+ controllers[index2] = controller;
14793
14793
  }
14794
14794
  return controller.getGripSpace();
14795
14795
  };
14796
- this.getHand = function(index) {
14797
- let controller = controllers[index];
14796
+ this.getHand = function(index2) {
14797
+ let controller = controllers[index2];
14798
14798
  if (controller === void 0) {
14799
14799
  controller = new WebXRController();
14800
- controllers[index] = controller;
14800
+ controllers[index2] = controller;
14801
14801
  }
14802
14802
  return controller.getHandSpace();
14803
14803
  };
@@ -14947,10 +14947,10 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
14947
14947
  function onInputSourcesChange(event) {
14948
14948
  for (let i2 = 0; i2 < event.removed.length; i2++) {
14949
14949
  const inputSource = event.removed[i2];
14950
- const index = controllerInputSources.indexOf(inputSource);
14951
- if (index >= 0) {
14952
- controllerInputSources[index] = null;
14953
- controllers[index].dispatchEvent({ type: "disconnected", data: inputSource });
14950
+ const index2 = controllerInputSources.indexOf(inputSource);
14951
+ if (index2 >= 0) {
14952
+ controllerInputSources[index2] = null;
14953
+ controllers[index2].dispatchEvent({ type: "disconnected", data: inputSource });
14954
14954
  }
14955
14955
  }
14956
14956
  for (let i2 = 0; i2 < event.added.length; i2++) {
@@ -15560,23 +15560,23 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
15560
15560
  }
15561
15561
  gl.bindBuffer(35345, null);
15562
15562
  }
15563
- function hasUniformChanged(uniform, index, cache) {
15563
+ function hasUniformChanged(uniform, index2, cache) {
15564
15564
  const value = uniform.value;
15565
- if (cache[index] === void 0) {
15565
+ if (cache[index2] === void 0) {
15566
15566
  if (typeof value === "number") {
15567
- cache[index] = value;
15567
+ cache[index2] = value;
15568
15568
  } else {
15569
- cache[index] = value.clone();
15569
+ cache[index2] = value.clone();
15570
15570
  }
15571
15571
  return true;
15572
15572
  } else {
15573
15573
  if (typeof value === "number") {
15574
- if (cache[index] !== value) {
15575
- cache[index] = value;
15574
+ if (cache[index2] !== value) {
15575
+ cache[index2] = value;
15576
15576
  return true;
15577
15577
  }
15578
15578
  } else {
15579
- const cachedObject = cache[index];
15579
+ const cachedObject = cache[index2];
15580
15580
  if (cachedObject.equals(value) === false) {
15581
15581
  cachedObject.copy(value);
15582
15582
  return true;
@@ -15647,8 +15647,8 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
15647
15647
  function onUniformsGroupsDispose(event) {
15648
15648
  const uniformsGroup = event.target;
15649
15649
  uniformsGroup.removeEventListener("dispose", onUniformsGroupsDispose);
15650
- const index = allocatedBindingPoints.indexOf(uniformsGroup.__bindingPointIndex);
15651
- allocatedBindingPoints.splice(index, 1);
15650
+ const index2 = allocatedBindingPoints.indexOf(uniformsGroup.__bindingPointIndex);
15651
+ allocatedBindingPoints.splice(index2, 1);
15652
15652
  gl.deleteBuffer(buffers[uniformsGroup.id]);
15653
15653
  delete buffers[uniformsGroup.id];
15654
15654
  delete updateList[uniformsGroup.id];
@@ -16021,27 +16021,27 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
16021
16021
  const frontFaceCW = object.isMesh && object.matrixWorld.determinant() < 0;
16022
16022
  const program = setProgram(camera2, scene, geometry, material, object);
16023
16023
  state.setMaterial(material, frontFaceCW);
16024
- let index = geometry.index;
16024
+ let index2 = geometry.index;
16025
16025
  const position = geometry.attributes.position;
16026
- if (index === null) {
16026
+ if (index2 === null) {
16027
16027
  if (position === void 0 || position.count === 0) return;
16028
- } else if (index.count === 0) {
16028
+ } else if (index2.count === 0) {
16029
16029
  return;
16030
16030
  }
16031
16031
  let rangeFactor = 1;
16032
16032
  if (material.wireframe === true) {
16033
- index = geometries.getWireframeAttribute(geometry);
16033
+ index2 = geometries.getWireframeAttribute(geometry);
16034
16034
  rangeFactor = 2;
16035
16035
  }
16036
- bindingStates.setup(object, material, program, geometry, index);
16036
+ bindingStates.setup(object, material, program, geometry, index2);
16037
16037
  let attribute;
16038
16038
  let renderer = bufferRenderer;
16039
- if (index !== null) {
16040
- attribute = attributes.get(index);
16039
+ if (index2 !== null) {
16040
+ attribute = attributes.get(index2);
16041
16041
  renderer = indexedBufferRenderer;
16042
16042
  renderer.setIndex(attribute);
16043
16043
  }
16044
- const dataCount = index !== null ? index.count : position.count;
16044
+ const dataCount = index2 !== null ? index2.count : position.count;
16045
16045
  const rangeStart = geometry.drawRange.start * rangeFactor;
16046
16046
  const rangeCount = geometry.drawRange.count * rangeFactor;
16047
16047
  const groupStart = group !== null ? group.start * rangeFactor : 0;
@@ -17003,53 +17003,53 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
17003
17003
  }
17004
17004
  return this;
17005
17005
  }
17006
- setX(index, x) {
17007
- this.data.array[index * this.data.stride + this.offset] = x;
17006
+ setX(index2, x) {
17007
+ this.data.array[index2 * this.data.stride + this.offset] = x;
17008
17008
  return this;
17009
17009
  }
17010
- setY(index, y) {
17011
- this.data.array[index * this.data.stride + this.offset + 1] = y;
17010
+ setY(index2, y) {
17011
+ this.data.array[index2 * this.data.stride + this.offset + 1] = y;
17012
17012
  return this;
17013
17013
  }
17014
- setZ(index, z) {
17015
- this.data.array[index * this.data.stride + this.offset + 2] = z;
17014
+ setZ(index2, z) {
17015
+ this.data.array[index2 * this.data.stride + this.offset + 2] = z;
17016
17016
  return this;
17017
17017
  }
17018
- setW(index, w) {
17019
- this.data.array[index * this.data.stride + this.offset + 3] = w;
17018
+ setW(index2, w) {
17019
+ this.data.array[index2 * this.data.stride + this.offset + 3] = w;
17020
17020
  return this;
17021
17021
  }
17022
- getX(index) {
17023
- return this.data.array[index * this.data.stride + this.offset];
17022
+ getX(index2) {
17023
+ return this.data.array[index2 * this.data.stride + this.offset];
17024
17024
  }
17025
- getY(index) {
17026
- return this.data.array[index * this.data.stride + this.offset + 1];
17025
+ getY(index2) {
17026
+ return this.data.array[index2 * this.data.stride + this.offset + 1];
17027
17027
  }
17028
- getZ(index) {
17029
- return this.data.array[index * this.data.stride + this.offset + 2];
17028
+ getZ(index2) {
17029
+ return this.data.array[index2 * this.data.stride + this.offset + 2];
17030
17030
  }
17031
- getW(index) {
17032
- return this.data.array[index * this.data.stride + this.offset + 3];
17031
+ getW(index2) {
17032
+ return this.data.array[index2 * this.data.stride + this.offset + 3];
17033
17033
  }
17034
- setXY(index, x, y) {
17035
- index = index * this.data.stride + this.offset;
17036
- this.data.array[index + 0] = x;
17037
- this.data.array[index + 1] = y;
17034
+ setXY(index2, x, y) {
17035
+ index2 = index2 * this.data.stride + this.offset;
17036
+ this.data.array[index2 + 0] = x;
17037
+ this.data.array[index2 + 1] = y;
17038
17038
  return this;
17039
17039
  }
17040
- setXYZ(index, x, y, z) {
17041
- index = index * this.data.stride + this.offset;
17042
- this.data.array[index + 0] = x;
17043
- this.data.array[index + 1] = y;
17044
- this.data.array[index + 2] = z;
17040
+ setXYZ(index2, x, y, z) {
17041
+ index2 = index2 * this.data.stride + this.offset;
17042
+ this.data.array[index2 + 0] = x;
17043
+ this.data.array[index2 + 1] = y;
17044
+ this.data.array[index2 + 2] = z;
17045
17045
  return this;
17046
17046
  }
17047
- setXYZW(index, x, y, z, w) {
17048
- index = index * this.data.stride + this.offset;
17049
- this.data.array[index + 0] = x;
17050
- this.data.array[index + 1] = y;
17051
- this.data.array[index + 2] = z;
17052
- this.data.array[index + 3] = w;
17047
+ setXYZW(index2, x, y, z, w) {
17048
+ index2 = index2 * this.data.stride + this.offset;
17049
+ this.data.array[index2 + 0] = x;
17050
+ this.data.array[index2 + 1] = y;
17051
+ this.data.array[index2 + 2] = z;
17052
+ this.data.array[index2 + 3] = w;
17053
17053
  return this;
17054
17054
  }
17055
17055
  clone(data2) {
@@ -17057,9 +17057,9 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
17057
17057
  console.log("THREE.InterleavedBufferAttribute.clone(): Cloning an interleaved buffer attribute will deinterleave buffer data.");
17058
17058
  const array = [];
17059
17059
  for (let i2 = 0; i2 < this.count; i2++) {
17060
- const index = i2 * this.data.stride + this.offset;
17060
+ const index2 = i2 * this.data.stride + this.offset;
17061
17061
  for (let j = 0; j < this.itemSize; j++) {
17062
- array.push(this.data.array[index + j]);
17062
+ array.push(this.data.array[index2 + j]);
17063
17063
  }
17064
17064
  }
17065
17065
  return new BufferAttribute(new this.array.constructor(array), this.itemSize, this.normalized);
@@ -17078,9 +17078,9 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
17078
17078
  console.log("THREE.InterleavedBufferAttribute.toJSON(): Serializing an interleaved buffer attribute will deinterleave buffer data.");
17079
17079
  const array = [];
17080
17080
  for (let i2 = 0; i2 < this.count; i2++) {
17081
- const index = i2 * this.data.stride + this.offset;
17081
+ const index2 = i2 * this.data.stride + this.offset;
17082
17082
  for (let j = 0; j < this.itemSize; j++) {
17083
- array.push(this.data.array[index + j]);
17083
+ array.push(this.data.array[index2 + j]);
17084
17084
  }
17085
17085
  }
17086
17086
  return {
@@ -17406,11 +17406,11 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
17406
17406
  console.warn("THREE.SkinnedMesh: Unrecognized bindMode: " + this.bindMode);
17407
17407
  }
17408
17408
  }
17409
- boneTransform(index, target) {
17409
+ boneTransform(index2, target) {
17410
17410
  const skeleton = this.skeleton;
17411
17411
  const geometry = this.geometry;
17412
- _skinIndex.fromBufferAttribute(geometry.attributes.skinIndex, index);
17413
- _skinWeight.fromBufferAttribute(geometry.attributes.skinWeight, index);
17412
+ _skinIndex.fromBufferAttribute(geometry.attributes.skinIndex, index2);
17413
+ _skinWeight.fromBufferAttribute(geometry.attributes.skinWeight, index2);
17414
17414
  _basePosition.copy(target).applyMatrix4(this.bindMatrix);
17415
17415
  target.set(0, 0, 0);
17416
17416
  for (let i2 = 0; i2 < 4; i2++) {
@@ -17625,11 +17625,11 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
17625
17625
  this.count = source.count;
17626
17626
  return this;
17627
17627
  }
17628
- getColorAt(index, color) {
17629
- color.fromArray(this.instanceColor.array, index * 3);
17628
+ getColorAt(index2, color) {
17629
+ color.fromArray(this.instanceColor.array, index2 * 3);
17630
17630
  }
17631
- getMatrixAt(index, matrix) {
17632
- matrix.fromArray(this.instanceMatrix.array, index * 16);
17631
+ getMatrixAt(index2, matrix) {
17632
+ matrix.fromArray(this.instanceMatrix.array, index2 * 16);
17633
17633
  }
17634
17634
  raycast(raycaster, intersects2) {
17635
17635
  const matrixWorld = this.matrixWorld;
@@ -17651,14 +17651,14 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
17651
17651
  _instanceIntersects.length = 0;
17652
17652
  }
17653
17653
  }
17654
- setColorAt(index, color) {
17654
+ setColorAt(index2, color) {
17655
17655
  if (this.instanceColor === null) {
17656
17656
  this.instanceColor = new InstancedBufferAttribute(new Float32Array(this.instanceMatrix.count * 3), 3);
17657
17657
  }
17658
- color.toArray(this.instanceColor.array, index * 3);
17658
+ color.toArray(this.instanceColor.array, index2 * 3);
17659
17659
  }
17660
- setMatrixAt(index, matrix) {
17661
- matrix.toArray(this.instanceMatrix.array, index * 16);
17660
+ setMatrixAt(index2, matrix) {
17661
+ matrix.toArray(this.instanceMatrix.array, index2 * 16);
17662
17662
  }
17663
17663
  updateMorphTargets() {
17664
17664
  }
@@ -17744,15 +17744,15 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
17744
17744
  const interSegment = new Vector3$1();
17745
17745
  const interRay = new Vector3$1();
17746
17746
  const step = this.isLineSegments ? 2 : 1;
17747
- const index = geometry.index;
17747
+ const index2 = geometry.index;
17748
17748
  const attributes = geometry.attributes;
17749
17749
  const positionAttribute = attributes.position;
17750
- if (index !== null) {
17750
+ if (index2 !== null) {
17751
17751
  const start = Math.max(0, drawRange.start);
17752
- const end = Math.min(index.count, drawRange.start + drawRange.count);
17752
+ const end = Math.min(index2.count, drawRange.start + drawRange.count);
17753
17753
  for (let i2 = start, l = end - 1; i2 < l; i2 += step) {
17754
- const a = index.getX(i2);
17755
- const b = index.getX(i2 + 1);
17754
+ const a = index2.getX(i2);
17755
+ const b = index2.getX(i2 + 1);
17756
17756
  vStart.fromBufferAttribute(positionAttribute, a);
17757
17757
  vEnd.fromBufferAttribute(positionAttribute, b);
17758
17758
  const distSq = _ray$1.distanceSqToSegment(vStart, vEnd, interRay, interSegment);
@@ -17903,14 +17903,14 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
17903
17903
  _ray.copy(raycaster.ray).applyMatrix4(_inverseMatrix);
17904
17904
  const localThreshold = threshold / ((this.scale.x + this.scale.y + this.scale.z) / 3);
17905
17905
  const localThresholdSq = localThreshold * localThreshold;
17906
- const index = geometry.index;
17906
+ const index2 = geometry.index;
17907
17907
  const attributes = geometry.attributes;
17908
17908
  const positionAttribute = attributes.position;
17909
- if (index !== null) {
17909
+ if (index2 !== null) {
17910
17910
  const start = Math.max(0, drawRange.start);
17911
- const end = Math.min(index.count, drawRange.start + drawRange.count);
17911
+ const end = Math.min(index2.count, drawRange.start + drawRange.count);
17912
17912
  for (let i2 = start, il = end; i2 < il; i2++) {
17913
- const a = index.getX(i2);
17913
+ const a = index2.getX(i2);
17914
17914
  _position$2.fromBufferAttribute(positionAttribute, a);
17915
17915
  testPoint(_position$2, a, localThresholdSq, matrixWorld, raycaster, intersects2, this);
17916
17916
  }
@@ -17941,7 +17941,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
17941
17941
  }
17942
17942
  }
17943
17943
  }
17944
- function testPoint(point, index, localThresholdSq, matrixWorld, raycaster, intersects2, object) {
17944
+ function testPoint(point, index2, localThresholdSq, matrixWorld, raycaster, intersects2, object) {
17945
17945
  const rayPointDistanceSq = _ray.distanceSqToPoint(point);
17946
17946
  if (rayPointDistanceSq < localThresholdSq) {
17947
17947
  const intersectPoint = new Vector3$1();
@@ -17953,7 +17953,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
17953
17953
  distance,
17954
17954
  distanceToRay: Math.sqrt(rayPointDistanceSq),
17955
17955
  point: intersectPoint,
17956
- index,
17956
+ index: index2,
17957
17957
  face: null,
17958
17958
  object
17959
17959
  });
@@ -19199,7 +19199,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
19199
19199
  const vertices = [];
19200
19200
  const normals = [];
19201
19201
  const uvs = [];
19202
- let index = 0;
19202
+ let index2 = 0;
19203
19203
  const indexArray = [];
19204
19204
  const halfHeight = height / 2;
19205
19205
  let groupStart = 0;
@@ -19233,7 +19233,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
19233
19233
  normal.set(sinTheta, slope, cosTheta).normalize();
19234
19234
  normals.push(normal.x, normal.y, normal.z);
19235
19235
  uvs.push(u, 1 - v);
19236
- indexRow.push(index++);
19236
+ indexRow.push(index2++);
19237
19237
  }
19238
19238
  indexArray.push(indexRow);
19239
19239
  }
@@ -19252,7 +19252,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
19252
19252
  groupStart += groupCount;
19253
19253
  }
19254
19254
  function generateCap(top) {
19255
- const centerIndexStart = index;
19255
+ const centerIndexStart = index2;
19256
19256
  const uv = new Vector2$1();
19257
19257
  const vertex2 = new Vector3$1();
19258
19258
  let groupCount = 0;
@@ -19262,9 +19262,9 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
19262
19262
  vertices.push(0, halfHeight * sign2, 0);
19263
19263
  normals.push(0, sign2, 0);
19264
19264
  uvs.push(0.5, 0.5);
19265
- index++;
19265
+ index2++;
19266
19266
  }
19267
- const centerIndexEnd = index;
19267
+ const centerIndexEnd = index2;
19268
19268
  for (let x = 0; x <= radialSegments; x++) {
19269
19269
  const u = x / radialSegments;
19270
19270
  const theta = u * thetaLength + thetaStart;
@@ -19278,7 +19278,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
19278
19278
  uv.x = cosTheta * 0.5 + 0.5;
19279
19279
  uv.y = sinTheta * 0.5 * sign2 + 0.5;
19280
19280
  uvs.push(uv.x, uv.y);
19281
- index++;
19281
+ index2++;
19282
19282
  }
19283
19283
  for (let x = 0; x < radialSegments; x++) {
19284
19284
  const c = centerIndexStart + x;
@@ -19423,8 +19423,8 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
19423
19423
  function pushVertex(vertex2) {
19424
19424
  vertexBuffer.push(vertex2.x, vertex2.y, vertex2.z);
19425
19425
  }
19426
- function getVertexByIndex(index, vertex2) {
19427
- const stride = index * 3;
19426
+ function getVertexByIndex(index2, vertex2) {
19427
+ const stride = index2 * 3;
19428
19428
  vertex2.x = vertices[stride + 0];
19429
19429
  vertex2.y = vertices[stride + 1];
19430
19430
  vertex2.z = vertices[stride + 2];
@@ -20525,10 +20525,10 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
20525
20525
  addUV(uvs[2]);
20526
20526
  addUV(uvs[3]);
20527
20527
  }
20528
- function addVertex(index) {
20529
- verticesArray.push(placeholder[index * 3 + 0]);
20530
- verticesArray.push(placeholder[index * 3 + 1]);
20531
- verticesArray.push(placeholder[index * 3 + 2]);
20528
+ function addVertex(index2) {
20529
+ verticesArray.push(placeholder[index2 * 3 + 0]);
20530
+ verticesArray.push(placeholder[index2 * 3 + 1]);
20531
+ verticesArray.push(placeholder[index2 * 3 + 2]);
20532
20532
  }
20533
20533
  function addUV(vector2) {
20534
20534
  uvArray.push(vector2.x);
@@ -20947,7 +20947,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
20947
20947
  widthSegments = Math.max(3, Math.floor(widthSegments));
20948
20948
  heightSegments = Math.max(2, Math.floor(heightSegments));
20949
20949
  const thetaEnd = Math.min(thetaStart + thetaLength, Math.PI);
20950
- let index = 0;
20950
+ let index2 = 0;
20951
20951
  const grid = [];
20952
20952
  const vertex2 = new Vector3$1();
20953
20953
  const normal = new Vector3$1();
@@ -20973,7 +20973,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
20973
20973
  normal.copy(vertex2).normalize();
20974
20974
  normals.push(normal.x, normal.y, normal.z);
20975
20975
  uvs.push(u + uOffset, 1 - v);
20976
- verticesRow.push(index++);
20976
+ verticesRow.push(index2++);
20977
20977
  }
20978
20978
  grid.push(verticesRow);
20979
20979
  }
@@ -22141,8 +22141,8 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
22141
22141
  getSettings_() {
22142
22142
  return this.settings || this.DefaultSettings_;
22143
22143
  }
22144
- copySampleValue_(index) {
22145
- const result = this.resultBuffer, values = this.sampleValues, stride = this.valueSize, offset = index * stride;
22144
+ copySampleValue_(index2) {
22145
+ const result = this.resultBuffer, values = this.sampleValues, stride = this.valueSize, offset = index2 * stride;
22146
22146
  for (let i2 = 0; i2 !== stride; ++i2) {
22147
22147
  result[i2] = values[offset + i2];
22148
22148
  }
@@ -22836,9 +22836,9 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
22836
22836
  return this;
22837
22837
  };
22838
22838
  this.removeHandler = function(regex) {
22839
- const index = handlers.indexOf(regex);
22840
- if (index !== -1) {
22841
- handlers.splice(index, 2);
22839
+ const index2 = handlers.indexOf(regex);
22840
+ if (index2 !== -1) {
22841
+ handlers.splice(index2, 2);
22842
22842
  }
22843
22843
  return this;
22844
22844
  };
@@ -24011,9 +24011,9 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
24011
24011
  }
24012
24012
  }
24013
24013
  static extractUrlBase(url) {
24014
- const index = url.lastIndexOf("/");
24015
- if (index === -1) return "./";
24016
- return url.slice(0, index + 1);
24014
+ const index2 = url.lastIndexOf("/");
24015
+ if (index2 === -1) return "./";
24016
+ return url.slice(0, index2 + 1);
24017
24017
  }
24018
24018
  static resolveURL(url, path) {
24019
24019
  if (typeof url !== "string" || url === "") return "";
@@ -24094,9 +24094,9 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
24094
24094
  return ab;
24095
24095
  }
24096
24096
  const geometry = json.isInstancedBufferGeometry ? new InstancedBufferGeometry() : new BufferGeometry();
24097
- const index = json.data.index;
24098
- if (index !== void 0) {
24099
- const typedArray = getTypedArray(index.type, index.array);
24097
+ const index2 = json.data.index;
24098
+ if (index2 !== void 0) {
24099
+ const typedArray = getTypedArray(index2.type, index2.array);
24100
24100
  geometry.setIndex(new BufferAttribute(typedArray, 1));
24101
24101
  }
24102
24102
  const attributes = json.data.attributes;
@@ -25866,31 +25866,31 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
25866
25866
  let knownObject = void 0, nObjects = objects.length, nCachedObjects = this.nCachedObjects_;
25867
25867
  for (let i2 = 0, n = arguments.length; i2 !== n; ++i2) {
25868
25868
  const object = arguments[i2], uuid = object.uuid;
25869
- let index = indicesByUUID[uuid];
25870
- if (index === void 0) {
25871
- index = nObjects++;
25872
- indicesByUUID[uuid] = index;
25869
+ let index2 = indicesByUUID[uuid];
25870
+ if (index2 === void 0) {
25871
+ index2 = nObjects++;
25872
+ indicesByUUID[uuid] = index2;
25873
25873
  objects.push(object);
25874
25874
  for (let j = 0, m = nBindings; j !== m; ++j) {
25875
25875
  bindings[j].push(new PropertyBinding(object, paths[j], parsedPaths[j]));
25876
25876
  }
25877
- } else if (index < nCachedObjects) {
25878
- knownObject = objects[index];
25877
+ } else if (index2 < nCachedObjects) {
25878
+ knownObject = objects[index2];
25879
25879
  const firstActiveIndex = --nCachedObjects, lastCachedObject = objects[firstActiveIndex];
25880
- indicesByUUID[lastCachedObject.uuid] = index;
25881
- objects[index] = lastCachedObject;
25880
+ indicesByUUID[lastCachedObject.uuid] = index2;
25881
+ objects[index2] = lastCachedObject;
25882
25882
  indicesByUUID[uuid] = firstActiveIndex;
25883
25883
  objects[firstActiveIndex] = object;
25884
25884
  for (let j = 0, m = nBindings; j !== m; ++j) {
25885
25885
  const bindingsForPath = bindings[j], lastCached = bindingsForPath[firstActiveIndex];
25886
- let binding = bindingsForPath[index];
25887
- bindingsForPath[index] = lastCached;
25886
+ let binding = bindingsForPath[index2];
25887
+ bindingsForPath[index2] = lastCached;
25888
25888
  if (binding === void 0) {
25889
25889
  binding = new PropertyBinding(object, paths[j], parsedPaths[j]);
25890
25890
  }
25891
25891
  bindingsForPath[firstActiveIndex] = binding;
25892
25892
  }
25893
- } else if (objects[index] !== knownObject) {
25893
+ } else if (objects[index2] !== knownObject) {
25894
25894
  console.error("THREE.AnimationObjectGroup: Different objects with the same UUID detected. Clean the caches or recreate your infrastructure when reloading scenes.");
25895
25895
  }
25896
25896
  }
@@ -25900,16 +25900,16 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
25900
25900
  const objects = this._objects, indicesByUUID = this._indicesByUUID, bindings = this._bindings, nBindings = bindings.length;
25901
25901
  let nCachedObjects = this.nCachedObjects_;
25902
25902
  for (let i2 = 0, n = arguments.length; i2 !== n; ++i2) {
25903
- const object = arguments[i2], uuid = object.uuid, index = indicesByUUID[uuid];
25904
- if (index !== void 0 && index >= nCachedObjects) {
25903
+ const object = arguments[i2], uuid = object.uuid, index2 = indicesByUUID[uuid];
25904
+ if (index2 !== void 0 && index2 >= nCachedObjects) {
25905
25905
  const lastCachedIndex = nCachedObjects++, firstActiveObject = objects[lastCachedIndex];
25906
- indicesByUUID[firstActiveObject.uuid] = index;
25907
- objects[index] = firstActiveObject;
25906
+ indicesByUUID[firstActiveObject.uuid] = index2;
25907
+ objects[index2] = firstActiveObject;
25908
25908
  indicesByUUID[uuid] = lastCachedIndex;
25909
25909
  objects[lastCachedIndex] = object;
25910
25910
  for (let j = 0, m = nBindings; j !== m; ++j) {
25911
- const bindingsForPath = bindings[j], firstActive = bindingsForPath[lastCachedIndex], binding = bindingsForPath[index];
25912
- bindingsForPath[index] = firstActive;
25911
+ const bindingsForPath = bindings[j], firstActive = bindingsForPath[lastCachedIndex], binding = bindingsForPath[index2];
25912
+ bindingsForPath[index2] = firstActive;
25913
25913
  bindingsForPath[lastCachedIndex] = binding;
25914
25914
  }
25915
25915
  }
@@ -25921,32 +25921,32 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
25921
25921
  const objects = this._objects, indicesByUUID = this._indicesByUUID, bindings = this._bindings, nBindings = bindings.length;
25922
25922
  let nCachedObjects = this.nCachedObjects_, nObjects = objects.length;
25923
25923
  for (let i2 = 0, n = arguments.length; i2 !== n; ++i2) {
25924
- const object = arguments[i2], uuid = object.uuid, index = indicesByUUID[uuid];
25925
- if (index !== void 0) {
25924
+ const object = arguments[i2], uuid = object.uuid, index2 = indicesByUUID[uuid];
25925
+ if (index2 !== void 0) {
25926
25926
  delete indicesByUUID[uuid];
25927
- if (index < nCachedObjects) {
25927
+ if (index2 < nCachedObjects) {
25928
25928
  const firstActiveIndex = --nCachedObjects, lastCachedObject = objects[firstActiveIndex], lastIndex = --nObjects, lastObject = objects[lastIndex];
25929
- indicesByUUID[lastCachedObject.uuid] = index;
25930
- objects[index] = lastCachedObject;
25929
+ indicesByUUID[lastCachedObject.uuid] = index2;
25930
+ objects[index2] = lastCachedObject;
25931
25931
  indicesByUUID[lastObject.uuid] = firstActiveIndex;
25932
25932
  objects[firstActiveIndex] = lastObject;
25933
25933
  objects.pop();
25934
25934
  for (let j = 0, m = nBindings; j !== m; ++j) {
25935
25935
  const bindingsForPath = bindings[j], lastCached = bindingsForPath[firstActiveIndex], last = bindingsForPath[lastIndex];
25936
- bindingsForPath[index] = lastCached;
25936
+ bindingsForPath[index2] = lastCached;
25937
25937
  bindingsForPath[firstActiveIndex] = last;
25938
25938
  bindingsForPath.pop();
25939
25939
  }
25940
25940
  } else {
25941
25941
  const lastIndex = --nObjects, lastObject = objects[lastIndex];
25942
25942
  if (lastIndex > 0) {
25943
- indicesByUUID[lastObject.uuid] = index;
25943
+ indicesByUUID[lastObject.uuid] = index2;
25944
25944
  }
25945
- objects[index] = lastObject;
25945
+ objects[index2] = lastObject;
25946
25946
  objects.pop();
25947
25947
  for (let j = 0, m = nBindings; j !== m; ++j) {
25948
25948
  const bindingsForPath = bindings[j];
25949
- bindingsForPath[index] = bindingsForPath[lastIndex];
25949
+ bindingsForPath[index2] = bindingsForPath[lastIndex];
25950
25950
  bindingsForPath.pop();
25951
25951
  }
25952
25952
  }
@@ -25957,12 +25957,12 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
25957
25957
  // Internal interface used by befriended PropertyBinding.Composite:
25958
25958
  subscribe_(path, parsedPath) {
25959
25959
  const indicesByPath = this._bindingsIndicesByPath;
25960
- let index = indicesByPath[path];
25960
+ let index2 = indicesByPath[path];
25961
25961
  const bindings = this._bindings;
25962
- if (index !== void 0) return bindings[index];
25962
+ if (index2 !== void 0) return bindings[index2];
25963
25963
  const paths = this._paths, parsedPaths = this._parsedPaths, objects = this._objects, nObjects = objects.length, nCachedObjects = this.nCachedObjects_, bindingsForPath = new Array(nObjects);
25964
- index = bindings.length;
25965
- indicesByPath[path] = index;
25964
+ index2 = bindings.length;
25965
+ indicesByPath[path] = index2;
25966
25966
  paths.push(path);
25967
25967
  parsedPaths.push(parsedPath);
25968
25968
  bindings.push(bindingsForPath);
@@ -25973,15 +25973,15 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
25973
25973
  return bindingsForPath;
25974
25974
  }
25975
25975
  unsubscribe_(path) {
25976
- const indicesByPath = this._bindingsIndicesByPath, index = indicesByPath[path];
25977
- if (index !== void 0) {
25976
+ const indicesByPath = this._bindingsIndicesByPath, index2 = indicesByPath[path];
25977
+ if (index2 !== void 0) {
25978
25978
  const paths = this._paths, parsedPaths = this._parsedPaths, bindings = this._bindings, lastBindingsIndex = bindings.length - 1, lastBindings = bindings[lastBindingsIndex], lastBindingsPath = path[lastBindingsIndex];
25979
- indicesByPath[lastBindingsPath] = index;
25980
- bindings[index] = lastBindings;
25979
+ indicesByPath[lastBindingsPath] = index2;
25980
+ bindings[index2] = lastBindings;
25981
25981
  bindings.pop();
25982
- parsedPaths[index] = parsedPaths[lastBindingsIndex];
25982
+ parsedPaths[index2] = parsedPaths[lastBindingsIndex];
25983
25983
  parsedPaths.pop();
25984
- paths[index] = paths[lastBindingsIndex];
25984
+ paths[index2] = paths[lastBindingsIndex];
25985
25985
  paths.pop();
25986
25986
  }
25987
25987
  }
@@ -26464,8 +26464,8 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
26464
26464
  }
26465
26465
  // Memory management for AnimationAction objects
26466
26466
  _isActiveAction(action) {
26467
- const index = action._cacheIndex;
26468
- return index !== null && index < this._nActiveActions;
26467
+ const index2 = action._cacheIndex;
26468
+ return index2 !== null && index2 < this._nActiveActions;
26469
26469
  }
26470
26470
  _addInactiveAction(action, clipUuid, rootUuid) {
26471
26471
  const actions = this._actions, actionsByClip = this._actionsByClip;
@@ -26733,8 +26733,8 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
26733
26733
  return this;
26734
26734
  }
26735
26735
  remove(uniform) {
26736
- const index = this.uniforms.indexOf(uniform);
26737
- if (index !== -1) this.uniforms.splice(index, 1);
26736
+ const index2 = this.uniforms.indexOf(uniform);
26737
+ if (index2 !== -1) this.uniforms.splice(index2, 1);
26738
26738
  return this;
26739
26739
  }
26740
26740
  setName(name) {
@@ -33386,8 +33386,8 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
33386
33386
  * @param name buffer name
33387
33387
  * @param index row index
33388
33388
  */
33389
- async getValue(name, index) {
33390
- const array = await this.getValues(name, index, 1);
33389
+ async getValue(name, index2) {
33390
+ const array = await this.getValues(name, index2, 1);
33391
33391
  return array == null ? void 0 : array[0];
33392
33392
  }
33393
33393
  async getRange(name) {
@@ -33400,8 +33400,8 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
33400
33400
  * @param index row index
33401
33401
  * @param count count of values to return
33402
33402
  */
33403
- async getValues(name, index, count) {
33404
- if (index < 0 || count < 1)
33403
+ async getValues(name, index2, count) {
33404
+ if (index2 < 0 || count < 1)
33405
33405
  return void 0;
33406
33406
  const range2 = await this.getRange(name);
33407
33407
  if (!range2)
@@ -33409,12 +33409,12 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
33409
33409
  const [size, ctor] = parseName(name);
33410
33410
  if (size < 0)
33411
33411
  return void 0;
33412
- const start = Math.min(range2.start + index * size, range2.end);
33412
+ const start = Math.min(range2.start + index2 * size, range2.end);
33413
33413
  const end = Math.min(start + size * count, range2.end);
33414
33414
  const dataRange = new Range(start, end);
33415
33415
  if (dataRange.length <= 0)
33416
33416
  return void 0;
33417
- const buffer = await this.request(dataRange, `${name}[${index.toString()}]`);
33417
+ const buffer = await this.request(dataRange, `${name}[${index2.toString()}]`);
33418
33418
  if (!buffer)
33419
33419
  return void 0;
33420
33420
  const array = new ctor(buffer);
@@ -33436,14 +33436,14 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
33436
33436
  * Returns a map of name-values with the same index from all buffers.
33437
33437
  * @param name buffer name
33438
33438
  */
33439
- async getRow(index) {
33439
+ async getRow(index2) {
33440
33440
  const ranges = await this.getRanges();
33441
33441
  if (!ranges)
33442
33442
  return void 0;
33443
33443
  const result = /* @__PURE__ */ new Map();
33444
33444
  const promises = [];
33445
33445
  for (const name of ranges.keys()) {
33446
- const p = this.getValue(name, index).then((v) => result.set(name, v));
33446
+ const p = this.getValue(name, index2).then((v) => result.set(name, v));
33447
33447
  promises.push(p);
33448
33448
  }
33449
33449
  await Promise.all(promises);
@@ -33649,9 +33649,9 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
33649
33649
  const subStart = this.getSubmeshIndexStart(sub);
33650
33650
  const subEnd = this.getSubmeshIndexEnd(sub);
33651
33651
  for (let i2 = subStart; i2 < subEnd; i2++) {
33652
- const index = this.indices[i2];
33653
- min2 = Math.min(min2, index);
33654
- max2 = Math.max(min2, index);
33652
+ const index2 = this.indices[i2];
33653
+ min2 = Math.min(min2, index2);
33654
+ max2 = Math.max(min2, index2);
33655
33655
  }
33656
33656
  start[sub] = min2;
33657
33657
  end[sub] = max2;
@@ -33807,16 +33807,16 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
33807
33807
  const meshOffset = meshIndexOffsets[m];
33808
33808
  const subStart = this.getMeshSubmeshStart(m, "all");
33809
33809
  const subEnd = this.getMeshSubmeshEnd(m, "all");
33810
- let index = 0;
33810
+ let index2 = 0;
33811
33811
  for (let s = subStart; s < subEnd; s++) {
33812
33812
  const start = this.submeshIndexOffset[s];
33813
33813
  const end = submeshEnd[s];
33814
- this.submeshIndexOffset[s] = meshOffset + index;
33814
+ this.submeshIndexOffset[s] = meshOffset + index2;
33815
33815
  for (let i2 = start; i2 < end; i2++) {
33816
- buffer[index++] = this.indices[i2];
33816
+ buffer[index2++] = this.indices[i2];
33817
33817
  }
33818
33818
  }
33819
- for (let i2 = 0; i2 < index; i2++) {
33819
+ for (let i2 = 0; i2 < index2; i2++) {
33820
33820
  this.indices[meshOffset + i2] = buffer[i2];
33821
33821
  }
33822
33822
  }
@@ -33998,8 +33998,8 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
33998
33998
  getMaterialAlpha(material) {
33999
33999
  if (material < 0)
34000
34000
  return 1;
34001
- const index = material * G3d.COLOR_SIZE + G3d.COLOR_SIZE - 1;
34002
- const result = this.materialColors[index];
34001
+ const index2 = material * G3d.COLOR_SIZE + G3d.COLOR_SIZE - 1;
34002
+ const result = this.materialColors[index2];
34003
34003
  return result;
34004
34004
  }
34005
34005
  /**
@@ -34162,8 +34162,8 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
34162
34162
  getMaterialAlpha(material) {
34163
34163
  if (material < 0)
34164
34164
  return 1;
34165
- const index = material * G3dMaterial.COLOR_SIZE + G3dMaterial.COLOR_SIZE - 1;
34166
- const result = this.materialColors[index];
34165
+ const index2 = material * G3dMaterial.COLOR_SIZE + G3dMaterial.COLOR_SIZE - 1;
34166
+ const result = this.materialColors[index2];
34167
34167
  return result;
34168
34168
  }
34169
34169
  }
@@ -34349,10 +34349,10 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
34349
34349
  g3dMesh.G3dMesh = void 0;
34350
34350
  const g3d_1 = requireG3d();
34351
34351
  class G3dMesh {
34352
- constructor(scene, chunk, index) {
34352
+ constructor(scene, chunk, index2) {
34353
34353
  this.scene = scene;
34354
34354
  this.chunk = chunk;
34355
- this.index = index;
34355
+ this.index = index2;
34356
34356
  }
34357
34357
  // ------------- Mesh -----------------
34358
34358
  getVertexStart(section = "all") {
@@ -34454,8 +34454,8 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
34454
34454
  this.bfast.forceDownload();
34455
34455
  }
34456
34456
  async requestScene() {
34457
- const index = await this.bfast.getLocalBfast("scene", true);
34458
- return g3dScene_1.G3dScene.createFromBfast(index);
34457
+ const index2 = await this.bfast.getLocalBfast("scene", true);
34458
+ return g3dScene_1.G3dScene.createFromBfast(index2);
34459
34459
  }
34460
34460
  async getHeader() {
34461
34461
  return (0, vimHeader_1.requestHeader)(this.bfast);
@@ -34750,11 +34750,11 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
34750
34750
  const entityTable_1 = requireEntityTable();
34751
34751
  const vimLoader_1 = requireVimLoader();
34752
34752
  class Asset {
34753
- static async createFromTable(table, index) {
34753
+ static async createFromTable(table, index2) {
34754
34754
  let result = new Asset();
34755
- result.index = index;
34755
+ result.index = index2;
34756
34756
  await Promise.all([
34757
- table.getBufferName(index).then((v) => result.bufferName = v)
34757
+ table.getBufferName(index2).then((v) => result.bufferName = v)
34758
34758
  ]);
34759
34759
  return result;
34760
34760
  }
@@ -34803,13 +34803,13 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
34803
34803
  }
34804
34804
  objectModel.AssetTable = AssetTable;
34805
34805
  class DisplayUnit {
34806
- static async createFromTable(table, index) {
34806
+ static async createFromTable(table, index2) {
34807
34807
  let result = new DisplayUnit();
34808
- result.index = index;
34808
+ result.index = index2;
34809
34809
  await Promise.all([
34810
- table.getSpec(index).then((v) => result.spec = v),
34811
- table.getType(index).then((v) => result.type = v),
34812
- table.getLabel(index).then((v) => result.label = v)
34810
+ table.getSpec(index2).then((v) => result.spec = v),
34811
+ table.getType(index2).then((v) => result.type = v),
34812
+ table.getLabel(index2).then((v) => result.label = v)
34813
34813
  ]);
34814
34814
  return result;
34815
34815
  }
@@ -34880,20 +34880,20 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
34880
34880
  }
34881
34881
  objectModel.DisplayUnitTable = DisplayUnitTable;
34882
34882
  class ParameterDescriptor {
34883
- static async createFromTable(table, index) {
34883
+ static async createFromTable(table, index2) {
34884
34884
  let result = new ParameterDescriptor();
34885
- result.index = index;
34885
+ result.index = index2;
34886
34886
  await Promise.all([
34887
- table.getName(index).then((v) => result.name = v),
34888
- table.getGroup(index).then((v) => result.group = v),
34889
- table.getParameterType(index).then((v) => result.parameterType = v),
34890
- table.getIsInstance(index).then((v) => result.isInstance = v),
34891
- table.getIsShared(index).then((v) => result.isShared = v),
34892
- table.getIsReadOnly(index).then((v) => result.isReadOnly = v),
34893
- table.getFlags(index).then((v) => result.flags = v),
34894
- table.getGuid(index).then((v) => result.guid = v),
34895
- table.getStorageType(index).then((v) => result.storageType = v),
34896
- table.getDisplayUnitIndex(index).then((v) => result.displayUnitIndex = v)
34887
+ table.getName(index2).then((v) => result.name = v),
34888
+ table.getGroup(index2).then((v) => result.group = v),
34889
+ table.getParameterType(index2).then((v) => result.parameterType = v),
34890
+ table.getIsInstance(index2).then((v) => result.isInstance = v),
34891
+ table.getIsShared(index2).then((v) => result.isShared = v),
34892
+ table.getIsReadOnly(index2).then((v) => result.isReadOnly = v),
34893
+ table.getFlags(index2).then((v) => result.flags = v),
34894
+ table.getGuid(index2).then((v) => result.guid = v),
34895
+ table.getStorageType(index2).then((v) => result.storageType = v),
34896
+ table.getDisplayUnitIndex(index2).then((v) => result.displayUnitIndex = v)
34897
34897
  ]);
34898
34898
  return result;
34899
34899
  }
@@ -35041,22 +35041,22 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
35041
35041
  }
35042
35042
  async getDisplayUnit(parameterDescriptorIndex) {
35043
35043
  var _a2;
35044
- const index = await this.getDisplayUnitIndex(parameterDescriptorIndex);
35045
- if (index === void 0) {
35044
+ const index2 = await this.getDisplayUnitIndex(parameterDescriptorIndex);
35045
+ if (index2 === void 0) {
35046
35046
  return void 0;
35047
35047
  }
35048
- return await ((_a2 = this.document.displayUnit) == null ? void 0 : _a2.get(index));
35048
+ return await ((_a2 = this.document.displayUnit) == null ? void 0 : _a2.get(index2));
35049
35049
  }
35050
35050
  }
35051
35051
  objectModel.ParameterDescriptorTable = ParameterDescriptorTable;
35052
35052
  class Parameter {
35053
- static async createFromTable(table, index) {
35053
+ static async createFromTable(table, index2) {
35054
35054
  let result = new Parameter();
35055
- result.index = index;
35055
+ result.index = index2;
35056
35056
  await Promise.all([
35057
- table.getValue(index).then((v) => result.value = v),
35058
- table.getParameterDescriptorIndex(index).then((v) => result.parameterDescriptorIndex = v),
35059
- table.getElementIndex(index).then((v) => result.elementIndex = v)
35057
+ table.getValue(index2).then((v) => result.value = v),
35058
+ table.getParameterDescriptorIndex(index2).then((v) => result.parameterDescriptorIndex = v),
35059
+ table.getElementIndex(index2).then((v) => result.elementIndex = v)
35060
35060
  ]);
35061
35061
  return result;
35062
35062
  }
@@ -35121,11 +35121,11 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
35121
35121
  }
35122
35122
  async getParameterDescriptor(parameterIndex) {
35123
35123
  var _a2;
35124
- const index = await this.getParameterDescriptorIndex(parameterIndex);
35125
- if (index === void 0) {
35124
+ const index2 = await this.getParameterDescriptorIndex(parameterIndex);
35125
+ if (index2 === void 0) {
35126
35126
  return void 0;
35127
35127
  }
35128
- return await ((_a2 = this.document.parameterDescriptor) == null ? void 0 : _a2.get(index));
35128
+ return await ((_a2 = this.document.parameterDescriptor) == null ? void 0 : _a2.get(index2));
35129
35129
  }
35130
35130
  async getElementIndex(parameterIndex) {
35131
35131
  return await this.entityTable.getNumber(parameterIndex, "index:Vim.Element:Element");
@@ -35135,39 +35135,39 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
35135
35135
  }
35136
35136
  async getElement(parameterIndex) {
35137
35137
  var _a2;
35138
- const index = await this.getElementIndex(parameterIndex);
35139
- if (index === void 0) {
35138
+ const index2 = await this.getElementIndex(parameterIndex);
35139
+ if (index2 === void 0) {
35140
35140
  return void 0;
35141
35141
  }
35142
- return await ((_a2 = this.document.element) == null ? void 0 : _a2.get(index));
35142
+ return await ((_a2 = this.document.element) == null ? void 0 : _a2.get(index2));
35143
35143
  }
35144
35144
  }
35145
35145
  objectModel.ParameterTable = ParameterTable;
35146
35146
  class Element2 {
35147
- static async createFromTable(table, index) {
35147
+ static async createFromTable(table, index2) {
35148
35148
  let result = new Element2();
35149
- result.index = index;
35149
+ result.index = index2;
35150
35150
  await Promise.all([
35151
- table.getId(index).then((v) => result.id = v),
35152
- table.getType(index).then((v) => result.type = v),
35153
- table.getName(index).then((v) => result.name = v),
35154
- table.getUniqueId(index).then((v) => result.uniqueId = v),
35155
- table.getLocation_X(index).then((v) => result.location_X = v),
35156
- table.getLocation_Y(index).then((v) => result.location_Y = v),
35157
- table.getLocation_Z(index).then((v) => result.location_Z = v),
35158
- table.getFamilyName(index).then((v) => result.familyName = v),
35159
- table.getIsPinned(index).then((v) => result.isPinned = v),
35160
- table.getLevelIndex(index).then((v) => result.levelIndex = v),
35161
- table.getPhaseCreatedIndex(index).then((v) => result.phaseCreatedIndex = v),
35162
- table.getPhaseDemolishedIndex(index).then((v) => result.phaseDemolishedIndex = v),
35163
- table.getCategoryIndex(index).then((v) => result.categoryIndex = v),
35164
- table.getWorksetIndex(index).then((v) => result.worksetIndex = v),
35165
- table.getDesignOptionIndex(index).then((v) => result.designOptionIndex = v),
35166
- table.getOwnerViewIndex(index).then((v) => result.ownerViewIndex = v),
35167
- table.getGroupIndex(index).then((v) => result.groupIndex = v),
35168
- table.getAssemblyInstanceIndex(index).then((v) => result.assemblyInstanceIndex = v),
35169
- table.getBimDocumentIndex(index).then((v) => result.bimDocumentIndex = v),
35170
- table.getRoomIndex(index).then((v) => result.roomIndex = v)
35151
+ table.getId(index2).then((v) => result.id = v),
35152
+ table.getType(index2).then((v) => result.type = v),
35153
+ table.getName(index2).then((v) => result.name = v),
35154
+ table.getUniqueId(index2).then((v) => result.uniqueId = v),
35155
+ table.getLocation_X(index2).then((v) => result.location_X = v),
35156
+ table.getLocation_Y(index2).then((v) => result.location_Y = v),
35157
+ table.getLocation_Z(index2).then((v) => result.location_Z = v),
35158
+ table.getFamilyName(index2).then((v) => result.familyName = v),
35159
+ table.getIsPinned(index2).then((v) => result.isPinned = v),
35160
+ table.getLevelIndex(index2).then((v) => result.levelIndex = v),
35161
+ table.getPhaseCreatedIndex(index2).then((v) => result.phaseCreatedIndex = v),
35162
+ table.getPhaseDemolishedIndex(index2).then((v) => result.phaseDemolishedIndex = v),
35163
+ table.getCategoryIndex(index2).then((v) => result.categoryIndex = v),
35164
+ table.getWorksetIndex(index2).then((v) => result.worksetIndex = v),
35165
+ table.getDesignOptionIndex(index2).then((v) => result.designOptionIndex = v),
35166
+ table.getOwnerViewIndex(index2).then((v) => result.ownerViewIndex = v),
35167
+ table.getGroupIndex(index2).then((v) => result.groupIndex = v),
35168
+ table.getAssemblyInstanceIndex(index2).then((v) => result.assemblyInstanceIndex = v),
35169
+ table.getBimDocumentIndex(index2).then((v) => result.bimDocumentIndex = v),
35170
+ table.getRoomIndex(index2).then((v) => result.roomIndex = v)
35171
35171
  ]);
35172
35172
  return result;
35173
35173
  }
@@ -35365,11 +35365,11 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
35365
35365
  }
35366
35366
  async getLevel(elementIndex) {
35367
35367
  var _a2;
35368
- const index = await this.getLevelIndex(elementIndex);
35369
- if (index === void 0) {
35368
+ const index2 = await this.getLevelIndex(elementIndex);
35369
+ if (index2 === void 0) {
35370
35370
  return void 0;
35371
35371
  }
35372
- return await ((_a2 = this.document.level) == null ? void 0 : _a2.get(index));
35372
+ return await ((_a2 = this.document.level) == null ? void 0 : _a2.get(index2));
35373
35373
  }
35374
35374
  async getPhaseCreatedIndex(elementIndex) {
35375
35375
  return await this.entityTable.getNumber(elementIndex, "index:Vim.Phase:PhaseCreated");
@@ -35379,11 +35379,11 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
35379
35379
  }
35380
35380
  async getPhaseCreated(elementIndex) {
35381
35381
  var _a2;
35382
- const index = await this.getPhaseCreatedIndex(elementIndex);
35383
- if (index === void 0) {
35382
+ const index2 = await this.getPhaseCreatedIndex(elementIndex);
35383
+ if (index2 === void 0) {
35384
35384
  return void 0;
35385
35385
  }
35386
- return await ((_a2 = this.document.phase) == null ? void 0 : _a2.get(index));
35386
+ return await ((_a2 = this.document.phase) == null ? void 0 : _a2.get(index2));
35387
35387
  }
35388
35388
  async getPhaseDemolishedIndex(elementIndex) {
35389
35389
  return await this.entityTable.getNumber(elementIndex, "index:Vim.Phase:PhaseDemolished");
@@ -35393,11 +35393,11 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
35393
35393
  }
35394
35394
  async getPhaseDemolished(elementIndex) {
35395
35395
  var _a2;
35396
- const index = await this.getPhaseDemolishedIndex(elementIndex);
35397
- if (index === void 0) {
35396
+ const index2 = await this.getPhaseDemolishedIndex(elementIndex);
35397
+ if (index2 === void 0) {
35398
35398
  return void 0;
35399
35399
  }
35400
- return await ((_a2 = this.document.phase) == null ? void 0 : _a2.get(index));
35400
+ return await ((_a2 = this.document.phase) == null ? void 0 : _a2.get(index2));
35401
35401
  }
35402
35402
  async getCategoryIndex(elementIndex) {
35403
35403
  return await this.entityTable.getNumber(elementIndex, "index:Vim.Category:Category");
@@ -35407,11 +35407,11 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
35407
35407
  }
35408
35408
  async getCategory(elementIndex) {
35409
35409
  var _a2;
35410
- const index = await this.getCategoryIndex(elementIndex);
35411
- if (index === void 0) {
35410
+ const index2 = await this.getCategoryIndex(elementIndex);
35411
+ if (index2 === void 0) {
35412
35412
  return void 0;
35413
35413
  }
35414
- return await ((_a2 = this.document.category) == null ? void 0 : _a2.get(index));
35414
+ return await ((_a2 = this.document.category) == null ? void 0 : _a2.get(index2));
35415
35415
  }
35416
35416
  async getWorksetIndex(elementIndex) {
35417
35417
  return await this.entityTable.getNumber(elementIndex, "index:Vim.Workset:Workset");
@@ -35421,11 +35421,11 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
35421
35421
  }
35422
35422
  async getWorkset(elementIndex) {
35423
35423
  var _a2;
35424
- const index = await this.getWorksetIndex(elementIndex);
35425
- if (index === void 0) {
35424
+ const index2 = await this.getWorksetIndex(elementIndex);
35425
+ if (index2 === void 0) {
35426
35426
  return void 0;
35427
35427
  }
35428
- return await ((_a2 = this.document.workset) == null ? void 0 : _a2.get(index));
35428
+ return await ((_a2 = this.document.workset) == null ? void 0 : _a2.get(index2));
35429
35429
  }
35430
35430
  async getDesignOptionIndex(elementIndex) {
35431
35431
  return await this.entityTable.getNumber(elementIndex, "index:Vim.DesignOption:DesignOption");
@@ -35435,11 +35435,11 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
35435
35435
  }
35436
35436
  async getDesignOption(elementIndex) {
35437
35437
  var _a2;
35438
- const index = await this.getDesignOptionIndex(elementIndex);
35439
- if (index === void 0) {
35438
+ const index2 = await this.getDesignOptionIndex(elementIndex);
35439
+ if (index2 === void 0) {
35440
35440
  return void 0;
35441
35441
  }
35442
- return await ((_a2 = this.document.designOption) == null ? void 0 : _a2.get(index));
35442
+ return await ((_a2 = this.document.designOption) == null ? void 0 : _a2.get(index2));
35443
35443
  }
35444
35444
  async getOwnerViewIndex(elementIndex) {
35445
35445
  return await this.entityTable.getNumber(elementIndex, "index:Vim.View:OwnerView");
@@ -35449,11 +35449,11 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
35449
35449
  }
35450
35450
  async getOwnerView(elementIndex) {
35451
35451
  var _a2;
35452
- const index = await this.getOwnerViewIndex(elementIndex);
35453
- if (index === void 0) {
35452
+ const index2 = await this.getOwnerViewIndex(elementIndex);
35453
+ if (index2 === void 0) {
35454
35454
  return void 0;
35455
35455
  }
35456
- return await ((_a2 = this.document.view) == null ? void 0 : _a2.get(index));
35456
+ return await ((_a2 = this.document.view) == null ? void 0 : _a2.get(index2));
35457
35457
  }
35458
35458
  async getGroupIndex(elementIndex) {
35459
35459
  return await this.entityTable.getNumber(elementIndex, "index:Vim.Group:Group");
@@ -35463,11 +35463,11 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
35463
35463
  }
35464
35464
  async getGroup(elementIndex) {
35465
35465
  var _a2;
35466
- const index = await this.getGroupIndex(elementIndex);
35467
- if (index === void 0) {
35466
+ const index2 = await this.getGroupIndex(elementIndex);
35467
+ if (index2 === void 0) {
35468
35468
  return void 0;
35469
35469
  }
35470
- return await ((_a2 = this.document.group) == null ? void 0 : _a2.get(index));
35470
+ return await ((_a2 = this.document.group) == null ? void 0 : _a2.get(index2));
35471
35471
  }
35472
35472
  async getAssemblyInstanceIndex(elementIndex) {
35473
35473
  return await this.entityTable.getNumber(elementIndex, "index:Vim.AssemblyInstance:AssemblyInstance");
@@ -35477,11 +35477,11 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
35477
35477
  }
35478
35478
  async getAssemblyInstance(elementIndex) {
35479
35479
  var _a2;
35480
- const index = await this.getAssemblyInstanceIndex(elementIndex);
35481
- if (index === void 0) {
35480
+ const index2 = await this.getAssemblyInstanceIndex(elementIndex);
35481
+ if (index2 === void 0) {
35482
35482
  return void 0;
35483
35483
  }
35484
- return await ((_a2 = this.document.assemblyInstance) == null ? void 0 : _a2.get(index));
35484
+ return await ((_a2 = this.document.assemblyInstance) == null ? void 0 : _a2.get(index2));
35485
35485
  }
35486
35486
  async getBimDocumentIndex(elementIndex) {
35487
35487
  return await this.entityTable.getNumber(elementIndex, "index:Vim.BimDocument:BimDocument");
@@ -35491,11 +35491,11 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
35491
35491
  }
35492
35492
  async getBimDocument(elementIndex) {
35493
35493
  var _a2;
35494
- const index = await this.getBimDocumentIndex(elementIndex);
35495
- if (index === void 0) {
35494
+ const index2 = await this.getBimDocumentIndex(elementIndex);
35495
+ if (index2 === void 0) {
35496
35496
  return void 0;
35497
35497
  }
35498
- return await ((_a2 = this.document.bimDocument) == null ? void 0 : _a2.get(index));
35498
+ return await ((_a2 = this.document.bimDocument) == null ? void 0 : _a2.get(index2));
35499
35499
  }
35500
35500
  async getRoomIndex(elementIndex) {
35501
35501
  return await this.entityTable.getNumber(elementIndex, "index:Vim.Room:Room");
@@ -35505,27 +35505,27 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
35505
35505
  }
35506
35506
  async getRoom(elementIndex) {
35507
35507
  var _a2;
35508
- const index = await this.getRoomIndex(elementIndex);
35509
- if (index === void 0) {
35508
+ const index2 = await this.getRoomIndex(elementIndex);
35509
+ if (index2 === void 0) {
35510
35510
  return void 0;
35511
35511
  }
35512
- return await ((_a2 = this.document.room) == null ? void 0 : _a2.get(index));
35512
+ return await ((_a2 = this.document.room) == null ? void 0 : _a2.get(index2));
35513
35513
  }
35514
35514
  }
35515
35515
  objectModel.ElementTable = ElementTable;
35516
35516
  class Workset {
35517
- static async createFromTable(table, index) {
35517
+ static async createFromTable(table, index2) {
35518
35518
  let result = new Workset();
35519
- result.index = index;
35519
+ result.index = index2;
35520
35520
  await Promise.all([
35521
- table.getId(index).then((v) => result.id = v),
35522
- table.getName(index).then((v) => result.name = v),
35523
- table.getKind(index).then((v) => result.kind = v),
35524
- table.getIsOpen(index).then((v) => result.isOpen = v),
35525
- table.getIsEditable(index).then((v) => result.isEditable = v),
35526
- table.getOwner(index).then((v) => result.owner = v),
35527
- table.getUniqueId(index).then((v) => result.uniqueId = v),
35528
- table.getBimDocumentIndex(index).then((v) => result.bimDocumentIndex = v)
35521
+ table.getId(index2).then((v) => result.id = v),
35522
+ table.getName(index2).then((v) => result.name = v),
35523
+ table.getKind(index2).then((v) => result.kind = v),
35524
+ table.getIsOpen(index2).then((v) => result.isOpen = v),
35525
+ table.getIsEditable(index2).then((v) => result.isEditable = v),
35526
+ table.getOwner(index2).then((v) => result.owner = v),
35527
+ table.getUniqueId(index2).then((v) => result.uniqueId = v),
35528
+ table.getBimDocumentIndex(index2).then((v) => result.bimDocumentIndex = v)
35529
35529
  ]);
35530
35530
  return result;
35531
35531
  }
@@ -35651,24 +35651,24 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
35651
35651
  }
35652
35652
  async getBimDocument(worksetIndex) {
35653
35653
  var _a2;
35654
- const index = await this.getBimDocumentIndex(worksetIndex);
35655
- if (index === void 0) {
35654
+ const index2 = await this.getBimDocumentIndex(worksetIndex);
35655
+ if (index2 === void 0) {
35656
35656
  return void 0;
35657
35657
  }
35658
- return await ((_a2 = this.document.bimDocument) == null ? void 0 : _a2.get(index));
35658
+ return await ((_a2 = this.document.bimDocument) == null ? void 0 : _a2.get(index2));
35659
35659
  }
35660
35660
  }
35661
35661
  objectModel.WorksetTable = WorksetTable;
35662
35662
  class AssemblyInstance {
35663
- static async createFromTable(table, index) {
35663
+ static async createFromTable(table, index2) {
35664
35664
  let result = new AssemblyInstance();
35665
- result.index = index;
35665
+ result.index = index2;
35666
35666
  await Promise.all([
35667
- table.getAssemblyTypeName(index).then((v) => result.assemblyTypeName = v),
35668
- table.getPosition_X(index).then((v) => result.position_X = v),
35669
- table.getPosition_Y(index).then((v) => result.position_Y = v),
35670
- table.getPosition_Z(index).then((v) => result.position_Z = v),
35671
- table.getElementIndex(index).then((v) => result.elementIndex = v)
35667
+ table.getAssemblyTypeName(index2).then((v) => result.assemblyTypeName = v),
35668
+ table.getPosition_X(index2).then((v) => result.position_X = v),
35669
+ table.getPosition_Y(index2).then((v) => result.position_Y = v),
35670
+ table.getPosition_Z(index2).then((v) => result.position_Z = v),
35671
+ table.getElementIndex(index2).then((v) => result.elementIndex = v)
35672
35672
  ]);
35673
35673
  return result;
35674
35674
  }
@@ -35761,24 +35761,24 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
35761
35761
  }
35762
35762
  async getElement(assemblyInstanceIndex) {
35763
35763
  var _a2;
35764
- const index = await this.getElementIndex(assemblyInstanceIndex);
35765
- if (index === void 0) {
35764
+ const index2 = await this.getElementIndex(assemblyInstanceIndex);
35765
+ if (index2 === void 0) {
35766
35766
  return void 0;
35767
35767
  }
35768
- return await ((_a2 = this.document.element) == null ? void 0 : _a2.get(index));
35768
+ return await ((_a2 = this.document.element) == null ? void 0 : _a2.get(index2));
35769
35769
  }
35770
35770
  }
35771
35771
  objectModel.AssemblyInstanceTable = AssemblyInstanceTable;
35772
35772
  class Group2 {
35773
- static async createFromTable(table, index) {
35773
+ static async createFromTable(table, index2) {
35774
35774
  let result = new Group2();
35775
- result.index = index;
35775
+ result.index = index2;
35776
35776
  await Promise.all([
35777
- table.getGroupType(index).then((v) => result.groupType = v),
35778
- table.getPosition_X(index).then((v) => result.position_X = v),
35779
- table.getPosition_Y(index).then((v) => result.position_Y = v),
35780
- table.getPosition_Z(index).then((v) => result.position_Z = v),
35781
- table.getElementIndex(index).then((v) => result.elementIndex = v)
35777
+ table.getGroupType(index2).then((v) => result.groupType = v),
35778
+ table.getPosition_X(index2).then((v) => result.position_X = v),
35779
+ table.getPosition_Y(index2).then((v) => result.position_Y = v),
35780
+ table.getPosition_Z(index2).then((v) => result.position_Z = v),
35781
+ table.getElementIndex(index2).then((v) => result.elementIndex = v)
35782
35782
  ]);
35783
35783
  return result;
35784
35784
  }
@@ -35871,21 +35871,21 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
35871
35871
  }
35872
35872
  async getElement(groupIndex) {
35873
35873
  var _a2;
35874
- const index = await this.getElementIndex(groupIndex);
35875
- if (index === void 0) {
35874
+ const index2 = await this.getElementIndex(groupIndex);
35875
+ if (index2 === void 0) {
35876
35876
  return void 0;
35877
35877
  }
35878
- return await ((_a2 = this.document.element) == null ? void 0 : _a2.get(index));
35878
+ return await ((_a2 = this.document.element) == null ? void 0 : _a2.get(index2));
35879
35879
  }
35880
35880
  }
35881
35881
  objectModel.GroupTable = GroupTable;
35882
35882
  class DesignOption {
35883
- static async createFromTable(table, index) {
35883
+ static async createFromTable(table, index2) {
35884
35884
  let result = new DesignOption();
35885
- result.index = index;
35885
+ result.index = index2;
35886
35886
  await Promise.all([
35887
- table.getIsPrimary(index).then((v) => result.isPrimary = v),
35888
- table.getElementIndex(index).then((v) => result.elementIndex = v)
35887
+ table.getIsPrimary(index2).then((v) => result.isPrimary = v),
35888
+ table.getElementIndex(index2).then((v) => result.elementIndex = v)
35889
35889
  ]);
35890
35890
  return result;
35891
35891
  }
@@ -35945,23 +35945,23 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
35945
35945
  }
35946
35946
  async getElement(designOptionIndex) {
35947
35947
  var _a2;
35948
- const index = await this.getElementIndex(designOptionIndex);
35949
- if (index === void 0) {
35948
+ const index2 = await this.getElementIndex(designOptionIndex);
35949
+ if (index2 === void 0) {
35950
35950
  return void 0;
35951
35951
  }
35952
- return await ((_a2 = this.document.element) == null ? void 0 : _a2.get(index));
35952
+ return await ((_a2 = this.document.element) == null ? void 0 : _a2.get(index2));
35953
35953
  }
35954
35954
  }
35955
35955
  objectModel.DesignOptionTable = DesignOptionTable;
35956
35956
  class Level {
35957
- static async createFromTable(table, index) {
35957
+ static async createFromTable(table, index2) {
35958
35958
  let result = new Level();
35959
- result.index = index;
35959
+ result.index = index2;
35960
35960
  await Promise.all([
35961
- table.getElevation(index).then((v) => result.elevation = v),
35962
- table.getFamilyTypeIndex(index).then((v) => result.familyTypeIndex = v),
35963
- table.getBuildingIndex(index).then((v) => result.buildingIndex = v),
35964
- table.getElementIndex(index).then((v) => result.elementIndex = v)
35961
+ table.getElevation(index2).then((v) => result.elevation = v),
35962
+ table.getFamilyTypeIndex(index2).then((v) => result.familyTypeIndex = v),
35963
+ table.getBuildingIndex(index2).then((v) => result.buildingIndex = v),
35964
+ table.getElementIndex(index2).then((v) => result.elementIndex = v)
35965
35965
  ]);
35966
35966
  return result;
35967
35967
  }
@@ -36031,11 +36031,11 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
36031
36031
  }
36032
36032
  async getFamilyType(levelIndex) {
36033
36033
  var _a2;
36034
- const index = await this.getFamilyTypeIndex(levelIndex);
36035
- if (index === void 0) {
36034
+ const index2 = await this.getFamilyTypeIndex(levelIndex);
36035
+ if (index2 === void 0) {
36036
36036
  return void 0;
36037
36037
  }
36038
- return await ((_a2 = this.document.familyType) == null ? void 0 : _a2.get(index));
36038
+ return await ((_a2 = this.document.familyType) == null ? void 0 : _a2.get(index2));
36039
36039
  }
36040
36040
  async getBuildingIndex(levelIndex) {
36041
36041
  return await this.entityTable.getNumber(levelIndex, "index:Vim.Building:Building");
@@ -36045,11 +36045,11 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
36045
36045
  }
36046
36046
  async getBuilding(levelIndex) {
36047
36047
  var _a2;
36048
- const index = await this.getBuildingIndex(levelIndex);
36049
- if (index === void 0) {
36048
+ const index2 = await this.getBuildingIndex(levelIndex);
36049
+ if (index2 === void 0) {
36050
36050
  return void 0;
36051
36051
  }
36052
- return await ((_a2 = this.document.building) == null ? void 0 : _a2.get(index));
36052
+ return await ((_a2 = this.document.building) == null ? void 0 : _a2.get(index2));
36053
36053
  }
36054
36054
  async getElementIndex(levelIndex) {
36055
36055
  return await this.entityTable.getNumber(levelIndex, "index:Vim.Element:Element");
@@ -36059,20 +36059,20 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
36059
36059
  }
36060
36060
  async getElement(levelIndex) {
36061
36061
  var _a2;
36062
- const index = await this.getElementIndex(levelIndex);
36063
- if (index === void 0) {
36062
+ const index2 = await this.getElementIndex(levelIndex);
36063
+ if (index2 === void 0) {
36064
36064
  return void 0;
36065
36065
  }
36066
- return await ((_a2 = this.document.element) == null ? void 0 : _a2.get(index));
36066
+ return await ((_a2 = this.document.element) == null ? void 0 : _a2.get(index2));
36067
36067
  }
36068
36068
  }
36069
36069
  objectModel.LevelTable = LevelTable;
36070
36070
  class Phase {
36071
- static async createFromTable(table, index) {
36071
+ static async createFromTable(table, index2) {
36072
36072
  let result = new Phase();
36073
- result.index = index;
36073
+ result.index = index2;
36074
36074
  await Promise.all([
36075
- table.getElementIndex(index).then((v) => result.elementIndex = v)
36075
+ table.getElementIndex(index2).then((v) => result.elementIndex = v)
36076
36076
  ]);
36077
36077
  return result;
36078
36078
  }
@@ -36121,28 +36121,28 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
36121
36121
  }
36122
36122
  async getElement(phaseIndex) {
36123
36123
  var _a2;
36124
- const index = await this.getElementIndex(phaseIndex);
36125
- if (index === void 0) {
36124
+ const index2 = await this.getElementIndex(phaseIndex);
36125
+ if (index2 === void 0) {
36126
36126
  return void 0;
36127
36127
  }
36128
- return await ((_a2 = this.document.element) == null ? void 0 : _a2.get(index));
36128
+ return await ((_a2 = this.document.element) == null ? void 0 : _a2.get(index2));
36129
36129
  }
36130
36130
  }
36131
36131
  objectModel.PhaseTable = PhaseTable;
36132
36132
  class Room {
36133
- static async createFromTable(table, index) {
36133
+ static async createFromTable(table, index2) {
36134
36134
  let result = new Room();
36135
- result.index = index;
36135
+ result.index = index2;
36136
36136
  await Promise.all([
36137
- table.getBaseOffset(index).then((v) => result.baseOffset = v),
36138
- table.getLimitOffset(index).then((v) => result.limitOffset = v),
36139
- table.getUnboundedHeight(index).then((v) => result.unboundedHeight = v),
36140
- table.getVolume(index).then((v) => result.volume = v),
36141
- table.getPerimeter(index).then((v) => result.perimeter = v),
36142
- table.getArea(index).then((v) => result.area = v),
36143
- table.getNumber(index).then((v) => result.number = v),
36144
- table.getUpperLimitIndex(index).then((v) => result.upperLimitIndex = v),
36145
- table.getElementIndex(index).then((v) => result.elementIndex = v)
36137
+ table.getBaseOffset(index2).then((v) => result.baseOffset = v),
36138
+ table.getLimitOffset(index2).then((v) => result.limitOffset = v),
36139
+ table.getUnboundedHeight(index2).then((v) => result.unboundedHeight = v),
36140
+ table.getVolume(index2).then((v) => result.volume = v),
36141
+ table.getPerimeter(index2).then((v) => result.perimeter = v),
36142
+ table.getArea(index2).then((v) => result.area = v),
36143
+ table.getNumber(index2).then((v) => result.number = v),
36144
+ table.getUpperLimitIndex(index2).then((v) => result.upperLimitIndex = v),
36145
+ table.getElementIndex(index2).then((v) => result.elementIndex = v)
36146
36146
  ]);
36147
36147
  return result;
36148
36148
  }
@@ -36273,11 +36273,11 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
36273
36273
  }
36274
36274
  async getUpperLimit(roomIndex) {
36275
36275
  var _a2;
36276
- const index = await this.getUpperLimitIndex(roomIndex);
36277
- if (index === void 0) {
36276
+ const index2 = await this.getUpperLimitIndex(roomIndex);
36277
+ if (index2 === void 0) {
36278
36278
  return void 0;
36279
36279
  }
36280
- return await ((_a2 = this.document.level) == null ? void 0 : _a2.get(index));
36280
+ return await ((_a2 = this.document.level) == null ? void 0 : _a2.get(index2));
36281
36281
  }
36282
36282
  async getElementIndex(roomIndex) {
36283
36283
  return await this.entityTable.getNumber(roomIndex, "index:Vim.Element:Element");
@@ -36287,51 +36287,51 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
36287
36287
  }
36288
36288
  async getElement(roomIndex) {
36289
36289
  var _a2;
36290
- const index = await this.getElementIndex(roomIndex);
36291
- if (index === void 0) {
36290
+ const index2 = await this.getElementIndex(roomIndex);
36291
+ if (index2 === void 0) {
36292
36292
  return void 0;
36293
36293
  }
36294
- return await ((_a2 = this.document.element) == null ? void 0 : _a2.get(index));
36294
+ return await ((_a2 = this.document.element) == null ? void 0 : _a2.get(index2));
36295
36295
  }
36296
36296
  }
36297
36297
  objectModel.RoomTable = RoomTable;
36298
36298
  class BimDocument {
36299
- static async createFromTable(table, index) {
36299
+ static async createFromTable(table, index2) {
36300
36300
  let result = new BimDocument();
36301
- result.index = index;
36301
+ result.index = index2;
36302
36302
  await Promise.all([
36303
- table.getTitle(index).then((v) => result.title = v),
36304
- table.getIsMetric(index).then((v) => result.isMetric = v),
36305
- table.getGuid(index).then((v) => result.guid = v),
36306
- table.getNumSaves(index).then((v) => result.numSaves = v),
36307
- table.getIsLinked(index).then((v) => result.isLinked = v),
36308
- table.getIsDetached(index).then((v) => result.isDetached = v),
36309
- table.getIsWorkshared(index).then((v) => result.isWorkshared = v),
36310
- table.getPathName(index).then((v) => result.pathName = v),
36311
- table.getLatitude(index).then((v) => result.latitude = v),
36312
- table.getLongitude(index).then((v) => result.longitude = v),
36313
- table.getTimeZone(index).then((v) => result.timeZone = v),
36314
- table.getPlaceName(index).then((v) => result.placeName = v),
36315
- table.getWeatherStationName(index).then((v) => result.weatherStationName = v),
36316
- table.getElevation(index).then((v) => result.elevation = v),
36317
- table.getProjectLocation(index).then((v) => result.projectLocation = v),
36318
- table.getIssueDate(index).then((v) => result.issueDate = v),
36319
- table.getStatus(index).then((v) => result.status = v),
36320
- table.getClientName(index).then((v) => result.clientName = v),
36321
- table.getAddress(index).then((v) => result.address = v),
36322
- table.getName(index).then((v) => result.name = v),
36323
- table.getNumber(index).then((v) => result.number = v),
36324
- table.getAuthor(index).then((v) => result.author = v),
36325
- table.getBuildingName(index).then((v) => result.buildingName = v),
36326
- table.getOrganizationName(index).then((v) => result.organizationName = v),
36327
- table.getOrganizationDescription(index).then((v) => result.organizationDescription = v),
36328
- table.getProduct(index).then((v) => result.product = v),
36329
- table.getVersion(index).then((v) => result.version = v),
36330
- table.getUser(index).then((v) => result.user = v),
36331
- table.getActiveViewIndex(index).then((v) => result.activeViewIndex = v),
36332
- table.getOwnerFamilyIndex(index).then((v) => result.ownerFamilyIndex = v),
36333
- table.getParentIndex(index).then((v) => result.parentIndex = v),
36334
- table.getElementIndex(index).then((v) => result.elementIndex = v)
36303
+ table.getTitle(index2).then((v) => result.title = v),
36304
+ table.getIsMetric(index2).then((v) => result.isMetric = v),
36305
+ table.getGuid(index2).then((v) => result.guid = v),
36306
+ table.getNumSaves(index2).then((v) => result.numSaves = v),
36307
+ table.getIsLinked(index2).then((v) => result.isLinked = v),
36308
+ table.getIsDetached(index2).then((v) => result.isDetached = v),
36309
+ table.getIsWorkshared(index2).then((v) => result.isWorkshared = v),
36310
+ table.getPathName(index2).then((v) => result.pathName = v),
36311
+ table.getLatitude(index2).then((v) => result.latitude = v),
36312
+ table.getLongitude(index2).then((v) => result.longitude = v),
36313
+ table.getTimeZone(index2).then((v) => result.timeZone = v),
36314
+ table.getPlaceName(index2).then((v) => result.placeName = v),
36315
+ table.getWeatherStationName(index2).then((v) => result.weatherStationName = v),
36316
+ table.getElevation(index2).then((v) => result.elevation = v),
36317
+ table.getProjectLocation(index2).then((v) => result.projectLocation = v),
36318
+ table.getIssueDate(index2).then((v) => result.issueDate = v),
36319
+ table.getStatus(index2).then((v) => result.status = v),
36320
+ table.getClientName(index2).then((v) => result.clientName = v),
36321
+ table.getAddress(index2).then((v) => result.address = v),
36322
+ table.getName(index2).then((v) => result.name = v),
36323
+ table.getNumber(index2).then((v) => result.number = v),
36324
+ table.getAuthor(index2).then((v) => result.author = v),
36325
+ table.getBuildingName(index2).then((v) => result.buildingName = v),
36326
+ table.getOrganizationName(index2).then((v) => result.organizationName = v),
36327
+ table.getOrganizationDescription(index2).then((v) => result.organizationDescription = v),
36328
+ table.getProduct(index2).then((v) => result.product = v),
36329
+ table.getVersion(index2).then((v) => result.version = v),
36330
+ table.getUser(index2).then((v) => result.user = v),
36331
+ table.getActiveViewIndex(index2).then((v) => result.activeViewIndex = v),
36332
+ table.getOwnerFamilyIndex(index2).then((v) => result.ownerFamilyIndex = v),
36333
+ table.getParentIndex(index2).then((v) => result.parentIndex = v),
36334
+ table.getElementIndex(index2).then((v) => result.elementIndex = v)
36335
36335
  ]);
36336
36336
  return result;
36337
36337
  }
@@ -36703,11 +36703,11 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
36703
36703
  }
36704
36704
  async getActiveView(bimDocumentIndex) {
36705
36705
  var _a2;
36706
- const index = await this.getActiveViewIndex(bimDocumentIndex);
36707
- if (index === void 0) {
36706
+ const index2 = await this.getActiveViewIndex(bimDocumentIndex);
36707
+ if (index2 === void 0) {
36708
36708
  return void 0;
36709
36709
  }
36710
- return await ((_a2 = this.document.view) == null ? void 0 : _a2.get(index));
36710
+ return await ((_a2 = this.document.view) == null ? void 0 : _a2.get(index2));
36711
36711
  }
36712
36712
  async getOwnerFamilyIndex(bimDocumentIndex) {
36713
36713
  return await this.entityTable.getNumber(bimDocumentIndex, "index:Vim.Family:OwnerFamily");
@@ -36717,11 +36717,11 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
36717
36717
  }
36718
36718
  async getOwnerFamily(bimDocumentIndex) {
36719
36719
  var _a2;
36720
- const index = await this.getOwnerFamilyIndex(bimDocumentIndex);
36721
- if (index === void 0) {
36720
+ const index2 = await this.getOwnerFamilyIndex(bimDocumentIndex);
36721
+ if (index2 === void 0) {
36722
36722
  return void 0;
36723
36723
  }
36724
- return await ((_a2 = this.document.family) == null ? void 0 : _a2.get(index));
36724
+ return await ((_a2 = this.document.family) == null ? void 0 : _a2.get(index2));
36725
36725
  }
36726
36726
  async getParentIndex(bimDocumentIndex) {
36727
36727
  return await this.entityTable.getNumber(bimDocumentIndex, "index:Vim.BimDocument:Parent");
@@ -36731,11 +36731,11 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
36731
36731
  }
36732
36732
  async getParent(bimDocumentIndex) {
36733
36733
  var _a2;
36734
- const index = await this.getParentIndex(bimDocumentIndex);
36735
- if (index === void 0) {
36734
+ const index2 = await this.getParentIndex(bimDocumentIndex);
36735
+ if (index2 === void 0) {
36736
36736
  return void 0;
36737
36737
  }
36738
- return await ((_a2 = this.document.bimDocument) == null ? void 0 : _a2.get(index));
36738
+ return await ((_a2 = this.document.bimDocument) == null ? void 0 : _a2.get(index2));
36739
36739
  }
36740
36740
  async getElementIndex(bimDocumentIndex) {
36741
36741
  return await this.entityTable.getNumber(bimDocumentIndex, "index:Vim.Element:Element");
@@ -36745,21 +36745,21 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
36745
36745
  }
36746
36746
  async getElement(bimDocumentIndex) {
36747
36747
  var _a2;
36748
- const index = await this.getElementIndex(bimDocumentIndex);
36749
- if (index === void 0) {
36748
+ const index2 = await this.getElementIndex(bimDocumentIndex);
36749
+ if (index2 === void 0) {
36750
36750
  return void 0;
36751
36751
  }
36752
- return await ((_a2 = this.document.element) == null ? void 0 : _a2.get(index));
36752
+ return await ((_a2 = this.document.element) == null ? void 0 : _a2.get(index2));
36753
36753
  }
36754
36754
  }
36755
36755
  objectModel.BimDocumentTable = BimDocumentTable;
36756
36756
  class DisplayUnitInBimDocument {
36757
- static async createFromTable(table, index) {
36757
+ static async createFromTable(table, index2) {
36758
36758
  let result = new DisplayUnitInBimDocument();
36759
- result.index = index;
36759
+ result.index = index2;
36760
36760
  await Promise.all([
36761
- table.getDisplayUnitIndex(index).then((v) => result.displayUnitIndex = v),
36762
- table.getBimDocumentIndex(index).then((v) => result.bimDocumentIndex = v)
36761
+ table.getDisplayUnitIndex(index2).then((v) => result.displayUnitIndex = v),
36762
+ table.getBimDocumentIndex(index2).then((v) => result.bimDocumentIndex = v)
36763
36763
  ]);
36764
36764
  return result;
36765
36765
  }
@@ -36813,11 +36813,11 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
36813
36813
  }
36814
36814
  async getDisplayUnit(displayUnitInBimDocumentIndex) {
36815
36815
  var _a2;
36816
- const index = await this.getDisplayUnitIndex(displayUnitInBimDocumentIndex);
36817
- if (index === void 0) {
36816
+ const index2 = await this.getDisplayUnitIndex(displayUnitInBimDocumentIndex);
36817
+ if (index2 === void 0) {
36818
36818
  return void 0;
36819
36819
  }
36820
- return await ((_a2 = this.document.displayUnit) == null ? void 0 : _a2.get(index));
36820
+ return await ((_a2 = this.document.displayUnit) == null ? void 0 : _a2.get(index2));
36821
36821
  }
36822
36822
  async getBimDocumentIndex(displayUnitInBimDocumentIndex) {
36823
36823
  return await this.entityTable.getNumber(displayUnitInBimDocumentIndex, "index:Vim.BimDocument:BimDocument");
@@ -36827,22 +36827,22 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
36827
36827
  }
36828
36828
  async getBimDocument(displayUnitInBimDocumentIndex) {
36829
36829
  var _a2;
36830
- const index = await this.getBimDocumentIndex(displayUnitInBimDocumentIndex);
36831
- if (index === void 0) {
36830
+ const index2 = await this.getBimDocumentIndex(displayUnitInBimDocumentIndex);
36831
+ if (index2 === void 0) {
36832
36832
  return void 0;
36833
36833
  }
36834
- return await ((_a2 = this.document.bimDocument) == null ? void 0 : _a2.get(index));
36834
+ return await ((_a2 = this.document.bimDocument) == null ? void 0 : _a2.get(index2));
36835
36835
  }
36836
36836
  }
36837
36837
  objectModel.DisplayUnitInBimDocumentTable = DisplayUnitInBimDocumentTable;
36838
36838
  class PhaseOrderInBimDocument {
36839
- static async createFromTable(table, index) {
36839
+ static async createFromTable(table, index2) {
36840
36840
  let result = new PhaseOrderInBimDocument();
36841
- result.index = index;
36841
+ result.index = index2;
36842
36842
  await Promise.all([
36843
- table.getOrderIndex(index).then((v) => result.orderIndex = v),
36844
- table.getPhaseIndex(index).then((v) => result.phaseIndex = v),
36845
- table.getBimDocumentIndex(index).then((v) => result.bimDocumentIndex = v)
36843
+ table.getOrderIndex(index2).then((v) => result.orderIndex = v),
36844
+ table.getPhaseIndex(index2).then((v) => result.phaseIndex = v),
36845
+ table.getBimDocumentIndex(index2).then((v) => result.bimDocumentIndex = v)
36846
36846
  ]);
36847
36847
  return result;
36848
36848
  }
@@ -36907,11 +36907,11 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
36907
36907
  }
36908
36908
  async getPhase(phaseOrderInBimDocumentIndex) {
36909
36909
  var _a2;
36910
- const index = await this.getPhaseIndex(phaseOrderInBimDocumentIndex);
36911
- if (index === void 0) {
36910
+ const index2 = await this.getPhaseIndex(phaseOrderInBimDocumentIndex);
36911
+ if (index2 === void 0) {
36912
36912
  return void 0;
36913
36913
  }
36914
- return await ((_a2 = this.document.phase) == null ? void 0 : _a2.get(index));
36914
+ return await ((_a2 = this.document.phase) == null ? void 0 : _a2.get(index2));
36915
36915
  }
36916
36916
  async getBimDocumentIndex(phaseOrderInBimDocumentIndex) {
36917
36917
  return await this.entityTable.getNumber(phaseOrderInBimDocumentIndex, "index:Vim.BimDocument:BimDocument");
@@ -36921,28 +36921,28 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
36921
36921
  }
36922
36922
  async getBimDocument(phaseOrderInBimDocumentIndex) {
36923
36923
  var _a2;
36924
- const index = await this.getBimDocumentIndex(phaseOrderInBimDocumentIndex);
36925
- if (index === void 0) {
36924
+ const index2 = await this.getBimDocumentIndex(phaseOrderInBimDocumentIndex);
36925
+ if (index2 === void 0) {
36926
36926
  return void 0;
36927
36927
  }
36928
- return await ((_a2 = this.document.bimDocument) == null ? void 0 : _a2.get(index));
36928
+ return await ((_a2 = this.document.bimDocument) == null ? void 0 : _a2.get(index2));
36929
36929
  }
36930
36930
  }
36931
36931
  objectModel.PhaseOrderInBimDocumentTable = PhaseOrderInBimDocumentTable;
36932
36932
  class Category {
36933
- static async createFromTable(table, index) {
36933
+ static async createFromTable(table, index2) {
36934
36934
  let result = new Category();
36935
- result.index = index;
36935
+ result.index = index2;
36936
36936
  await Promise.all([
36937
- table.getName(index).then((v) => result.name = v),
36938
- table.getId(index).then((v) => result.id = v),
36939
- table.getCategoryType(index).then((v) => result.categoryType = v),
36940
- table.getLineColor_X(index).then((v) => result.lineColor_X = v),
36941
- table.getLineColor_Y(index).then((v) => result.lineColor_Y = v),
36942
- table.getLineColor_Z(index).then((v) => result.lineColor_Z = v),
36943
- table.getBuiltInCategory(index).then((v) => result.builtInCategory = v),
36944
- table.getParentIndex(index).then((v) => result.parentIndex = v),
36945
- table.getMaterialIndex(index).then((v) => result.materialIndex = v)
36937
+ table.getName(index2).then((v) => result.name = v),
36938
+ table.getId(index2).then((v) => result.id = v),
36939
+ table.getCategoryType(index2).then((v) => result.categoryType = v),
36940
+ table.getLineColor_X(index2).then((v) => result.lineColor_X = v),
36941
+ table.getLineColor_Y(index2).then((v) => result.lineColor_Y = v),
36942
+ table.getLineColor_Z(index2).then((v) => result.lineColor_Z = v),
36943
+ table.getBuiltInCategory(index2).then((v) => result.builtInCategory = v),
36944
+ table.getParentIndex(index2).then((v) => result.parentIndex = v),
36945
+ table.getMaterialIndex(index2).then((v) => result.materialIndex = v)
36946
36946
  ]);
36947
36947
  return result;
36948
36948
  }
@@ -37073,11 +37073,11 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
37073
37073
  }
37074
37074
  async getParent(categoryIndex) {
37075
37075
  var _a2;
37076
- const index = await this.getParentIndex(categoryIndex);
37077
- if (index === void 0) {
37076
+ const index2 = await this.getParentIndex(categoryIndex);
37077
+ if (index2 === void 0) {
37078
37078
  return void 0;
37079
37079
  }
37080
- return await ((_a2 = this.document.category) == null ? void 0 : _a2.get(index));
37080
+ return await ((_a2 = this.document.category) == null ? void 0 : _a2.get(index2));
37081
37081
  }
37082
37082
  async getMaterialIndex(categoryIndex) {
37083
37083
  return await this.entityTable.getNumber(categoryIndex, "index:Vim.Material:Material");
@@ -37087,25 +37087,25 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
37087
37087
  }
37088
37088
  async getMaterial(categoryIndex) {
37089
37089
  var _a2;
37090
- const index = await this.getMaterialIndex(categoryIndex);
37091
- if (index === void 0) {
37090
+ const index2 = await this.getMaterialIndex(categoryIndex);
37091
+ if (index2 === void 0) {
37092
37092
  return void 0;
37093
37093
  }
37094
- return await ((_a2 = this.document.material) == null ? void 0 : _a2.get(index));
37094
+ return await ((_a2 = this.document.material) == null ? void 0 : _a2.get(index2));
37095
37095
  }
37096
37096
  }
37097
37097
  objectModel.CategoryTable = CategoryTable;
37098
37098
  class Family {
37099
- static async createFromTable(table, index) {
37099
+ static async createFromTable(table, index2) {
37100
37100
  let result = new Family();
37101
- result.index = index;
37101
+ result.index = index2;
37102
37102
  await Promise.all([
37103
- table.getStructuralMaterialType(index).then((v) => result.structuralMaterialType = v),
37104
- table.getStructuralSectionShape(index).then((v) => result.structuralSectionShape = v),
37105
- table.getIsSystemFamily(index).then((v) => result.isSystemFamily = v),
37106
- table.getIsInPlace(index).then((v) => result.isInPlace = v),
37107
- table.getFamilyCategoryIndex(index).then((v) => result.familyCategoryIndex = v),
37108
- table.getElementIndex(index).then((v) => result.elementIndex = v)
37103
+ table.getStructuralMaterialType(index2).then((v) => result.structuralMaterialType = v),
37104
+ table.getStructuralSectionShape(index2).then((v) => result.structuralSectionShape = v),
37105
+ table.getIsSystemFamily(index2).then((v) => result.isSystemFamily = v),
37106
+ table.getIsInPlace(index2).then((v) => result.isInPlace = v),
37107
+ table.getFamilyCategoryIndex(index2).then((v) => result.familyCategoryIndex = v),
37108
+ table.getElementIndex(index2).then((v) => result.elementIndex = v)
37109
37109
  ]);
37110
37110
  return result;
37111
37111
  }
@@ -37203,11 +37203,11 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
37203
37203
  }
37204
37204
  async getFamilyCategory(familyIndex) {
37205
37205
  var _a2;
37206
- const index = await this.getFamilyCategoryIndex(familyIndex);
37207
- if (index === void 0) {
37206
+ const index2 = await this.getFamilyCategoryIndex(familyIndex);
37207
+ if (index2 === void 0) {
37208
37208
  return void 0;
37209
37209
  }
37210
- return await ((_a2 = this.document.category) == null ? void 0 : _a2.get(index));
37210
+ return await ((_a2 = this.document.category) == null ? void 0 : _a2.get(index2));
37211
37211
  }
37212
37212
  async getElementIndex(familyIndex) {
37213
37213
  return await this.entityTable.getNumber(familyIndex, "index:Vim.Element:Element");
@@ -37217,23 +37217,23 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
37217
37217
  }
37218
37218
  async getElement(familyIndex) {
37219
37219
  var _a2;
37220
- const index = await this.getElementIndex(familyIndex);
37221
- if (index === void 0) {
37220
+ const index2 = await this.getElementIndex(familyIndex);
37221
+ if (index2 === void 0) {
37222
37222
  return void 0;
37223
37223
  }
37224
- return await ((_a2 = this.document.element) == null ? void 0 : _a2.get(index));
37224
+ return await ((_a2 = this.document.element) == null ? void 0 : _a2.get(index2));
37225
37225
  }
37226
37226
  }
37227
37227
  objectModel.FamilyTable = FamilyTable;
37228
37228
  class FamilyType {
37229
- static async createFromTable(table, index) {
37229
+ static async createFromTable(table, index2) {
37230
37230
  let result = new FamilyType();
37231
- result.index = index;
37231
+ result.index = index2;
37232
37232
  await Promise.all([
37233
- table.getIsSystemFamilyType(index).then((v) => result.isSystemFamilyType = v),
37234
- table.getFamilyIndex(index).then((v) => result.familyIndex = v),
37235
- table.getCompoundStructureIndex(index).then((v) => result.compoundStructureIndex = v),
37236
- table.getElementIndex(index).then((v) => result.elementIndex = v)
37233
+ table.getIsSystemFamilyType(index2).then((v) => result.isSystemFamilyType = v),
37234
+ table.getFamilyIndex(index2).then((v) => result.familyIndex = v),
37235
+ table.getCompoundStructureIndex(index2).then((v) => result.compoundStructureIndex = v),
37236
+ table.getElementIndex(index2).then((v) => result.elementIndex = v)
37237
37237
  ]);
37238
37238
  return result;
37239
37239
  }
@@ -37303,11 +37303,11 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
37303
37303
  }
37304
37304
  async getFamily(familyTypeIndex) {
37305
37305
  var _a2;
37306
- const index = await this.getFamilyIndex(familyTypeIndex);
37307
- if (index === void 0) {
37306
+ const index2 = await this.getFamilyIndex(familyTypeIndex);
37307
+ if (index2 === void 0) {
37308
37308
  return void 0;
37309
37309
  }
37310
- return await ((_a2 = this.document.family) == null ? void 0 : _a2.get(index));
37310
+ return await ((_a2 = this.document.family) == null ? void 0 : _a2.get(index2));
37311
37311
  }
37312
37312
  async getCompoundStructureIndex(familyTypeIndex) {
37313
37313
  return await this.entityTable.getNumber(familyTypeIndex, "index:Vim.CompoundStructure:CompoundStructure");
@@ -37317,11 +37317,11 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
37317
37317
  }
37318
37318
  async getCompoundStructure(familyTypeIndex) {
37319
37319
  var _a2;
37320
- const index = await this.getCompoundStructureIndex(familyTypeIndex);
37321
- if (index === void 0) {
37320
+ const index2 = await this.getCompoundStructureIndex(familyTypeIndex);
37321
+ if (index2 === void 0) {
37322
37322
  return void 0;
37323
37323
  }
37324
- return await ((_a2 = this.document.compoundStructure) == null ? void 0 : _a2.get(index));
37324
+ return await ((_a2 = this.document.compoundStructure) == null ? void 0 : _a2.get(index2));
37325
37325
  }
37326
37326
  async getElementIndex(familyTypeIndex) {
37327
37327
  return await this.entityTable.getNumber(familyTypeIndex, "index:Vim.Element:Element");
@@ -37331,47 +37331,47 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
37331
37331
  }
37332
37332
  async getElement(familyTypeIndex) {
37333
37333
  var _a2;
37334
- const index = await this.getElementIndex(familyTypeIndex);
37335
- if (index === void 0) {
37334
+ const index2 = await this.getElementIndex(familyTypeIndex);
37335
+ if (index2 === void 0) {
37336
37336
  return void 0;
37337
37337
  }
37338
- return await ((_a2 = this.document.element) == null ? void 0 : _a2.get(index));
37338
+ return await ((_a2 = this.document.element) == null ? void 0 : _a2.get(index2));
37339
37339
  }
37340
37340
  }
37341
37341
  objectModel.FamilyTypeTable = FamilyTypeTable;
37342
37342
  class FamilyInstance {
37343
- static async createFromTable(table, index) {
37343
+ static async createFromTable(table, index2) {
37344
37344
  let result = new FamilyInstance();
37345
- result.index = index;
37345
+ result.index = index2;
37346
37346
  await Promise.all([
37347
- table.getFacingFlipped(index).then((v) => result.facingFlipped = v),
37348
- table.getFacingOrientation_X(index).then((v) => result.facingOrientation_X = v),
37349
- table.getFacingOrientation_Y(index).then((v) => result.facingOrientation_Y = v),
37350
- table.getFacingOrientation_Z(index).then((v) => result.facingOrientation_Z = v),
37351
- table.getHandFlipped(index).then((v) => result.handFlipped = v),
37352
- table.getMirrored(index).then((v) => result.mirrored = v),
37353
- table.getHasModifiedGeometry(index).then((v) => result.hasModifiedGeometry = v),
37354
- table.getScale(index).then((v) => result.scale = v),
37355
- table.getBasisX_X(index).then((v) => result.basisX_X = v),
37356
- table.getBasisX_Y(index).then((v) => result.basisX_Y = v),
37357
- table.getBasisX_Z(index).then((v) => result.basisX_Z = v),
37358
- table.getBasisY_X(index).then((v) => result.basisY_X = v),
37359
- table.getBasisY_Y(index).then((v) => result.basisY_Y = v),
37360
- table.getBasisY_Z(index).then((v) => result.basisY_Z = v),
37361
- table.getBasisZ_X(index).then((v) => result.basisZ_X = v),
37362
- table.getBasisZ_Y(index).then((v) => result.basisZ_Y = v),
37363
- table.getBasisZ_Z(index).then((v) => result.basisZ_Z = v),
37364
- table.getTranslation_X(index).then((v) => result.translation_X = v),
37365
- table.getTranslation_Y(index).then((v) => result.translation_Y = v),
37366
- table.getTranslation_Z(index).then((v) => result.translation_Z = v),
37367
- table.getHandOrientation_X(index).then((v) => result.handOrientation_X = v),
37368
- table.getHandOrientation_Y(index).then((v) => result.handOrientation_Y = v),
37369
- table.getHandOrientation_Z(index).then((v) => result.handOrientation_Z = v),
37370
- table.getFamilyTypeIndex(index).then((v) => result.familyTypeIndex = v),
37371
- table.getHostIndex(index).then((v) => result.hostIndex = v),
37372
- table.getFromRoomIndex(index).then((v) => result.fromRoomIndex = v),
37373
- table.getToRoomIndex(index).then((v) => result.toRoomIndex = v),
37374
- table.getElementIndex(index).then((v) => result.elementIndex = v)
37347
+ table.getFacingFlipped(index2).then((v) => result.facingFlipped = v),
37348
+ table.getFacingOrientation_X(index2).then((v) => result.facingOrientation_X = v),
37349
+ table.getFacingOrientation_Y(index2).then((v) => result.facingOrientation_Y = v),
37350
+ table.getFacingOrientation_Z(index2).then((v) => result.facingOrientation_Z = v),
37351
+ table.getHandFlipped(index2).then((v) => result.handFlipped = v),
37352
+ table.getMirrored(index2).then((v) => result.mirrored = v),
37353
+ table.getHasModifiedGeometry(index2).then((v) => result.hasModifiedGeometry = v),
37354
+ table.getScale(index2).then((v) => result.scale = v),
37355
+ table.getBasisX_X(index2).then((v) => result.basisX_X = v),
37356
+ table.getBasisX_Y(index2).then((v) => result.basisX_Y = v),
37357
+ table.getBasisX_Z(index2).then((v) => result.basisX_Z = v),
37358
+ table.getBasisY_X(index2).then((v) => result.basisY_X = v),
37359
+ table.getBasisY_Y(index2).then((v) => result.basisY_Y = v),
37360
+ table.getBasisY_Z(index2).then((v) => result.basisY_Z = v),
37361
+ table.getBasisZ_X(index2).then((v) => result.basisZ_X = v),
37362
+ table.getBasisZ_Y(index2).then((v) => result.basisZ_Y = v),
37363
+ table.getBasisZ_Z(index2).then((v) => result.basisZ_Z = v),
37364
+ table.getTranslation_X(index2).then((v) => result.translation_X = v),
37365
+ table.getTranslation_Y(index2).then((v) => result.translation_Y = v),
37366
+ table.getTranslation_Z(index2).then((v) => result.translation_Z = v),
37367
+ table.getHandOrientation_X(index2).then((v) => result.handOrientation_X = v),
37368
+ table.getHandOrientation_Y(index2).then((v) => result.handOrientation_Y = v),
37369
+ table.getHandOrientation_Z(index2).then((v) => result.handOrientation_Z = v),
37370
+ table.getFamilyTypeIndex(index2).then((v) => result.familyTypeIndex = v),
37371
+ table.getHostIndex(index2).then((v) => result.hostIndex = v),
37372
+ table.getFromRoomIndex(index2).then((v) => result.fromRoomIndex = v),
37373
+ table.getToRoomIndex(index2).then((v) => result.toRoomIndex = v),
37374
+ table.getElementIndex(index2).then((v) => result.elementIndex = v)
37375
37375
  ]);
37376
37376
  return result;
37377
37377
  }
@@ -37693,11 +37693,11 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
37693
37693
  }
37694
37694
  async getFamilyType(familyInstanceIndex) {
37695
37695
  var _a2;
37696
- const index = await this.getFamilyTypeIndex(familyInstanceIndex);
37697
- if (index === void 0) {
37696
+ const index2 = await this.getFamilyTypeIndex(familyInstanceIndex);
37697
+ if (index2 === void 0) {
37698
37698
  return void 0;
37699
37699
  }
37700
- return await ((_a2 = this.document.familyType) == null ? void 0 : _a2.get(index));
37700
+ return await ((_a2 = this.document.familyType) == null ? void 0 : _a2.get(index2));
37701
37701
  }
37702
37702
  async getHostIndex(familyInstanceIndex) {
37703
37703
  return await this.entityTable.getNumber(familyInstanceIndex, "index:Vim.Element:Host");
@@ -37707,11 +37707,11 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
37707
37707
  }
37708
37708
  async getHost(familyInstanceIndex) {
37709
37709
  var _a2;
37710
- const index = await this.getHostIndex(familyInstanceIndex);
37711
- if (index === void 0) {
37710
+ const index2 = await this.getHostIndex(familyInstanceIndex);
37711
+ if (index2 === void 0) {
37712
37712
  return void 0;
37713
37713
  }
37714
- return await ((_a2 = this.document.element) == null ? void 0 : _a2.get(index));
37714
+ return await ((_a2 = this.document.element) == null ? void 0 : _a2.get(index2));
37715
37715
  }
37716
37716
  async getFromRoomIndex(familyInstanceIndex) {
37717
37717
  return await this.entityTable.getNumber(familyInstanceIndex, "index:Vim.Room:FromRoom");
@@ -37721,11 +37721,11 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
37721
37721
  }
37722
37722
  async getFromRoom(familyInstanceIndex) {
37723
37723
  var _a2;
37724
- const index = await this.getFromRoomIndex(familyInstanceIndex);
37725
- if (index === void 0) {
37724
+ const index2 = await this.getFromRoomIndex(familyInstanceIndex);
37725
+ if (index2 === void 0) {
37726
37726
  return void 0;
37727
37727
  }
37728
- return await ((_a2 = this.document.room) == null ? void 0 : _a2.get(index));
37728
+ return await ((_a2 = this.document.room) == null ? void 0 : _a2.get(index2));
37729
37729
  }
37730
37730
  async getToRoomIndex(familyInstanceIndex) {
37731
37731
  return await this.entityTable.getNumber(familyInstanceIndex, "index:Vim.Room:ToRoom");
@@ -37735,11 +37735,11 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
37735
37735
  }
37736
37736
  async getToRoom(familyInstanceIndex) {
37737
37737
  var _a2;
37738
- const index = await this.getToRoomIndex(familyInstanceIndex);
37739
- if (index === void 0) {
37738
+ const index2 = await this.getToRoomIndex(familyInstanceIndex);
37739
+ if (index2 === void 0) {
37740
37740
  return void 0;
37741
37741
  }
37742
- return await ((_a2 = this.document.room) == null ? void 0 : _a2.get(index));
37742
+ return await ((_a2 = this.document.room) == null ? void 0 : _a2.get(index2));
37743
37743
  }
37744
37744
  async getElementIndex(familyInstanceIndex) {
37745
37745
  return await this.entityTable.getNumber(familyInstanceIndex, "index:Vim.Element:Element");
@@ -37749,45 +37749,45 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
37749
37749
  }
37750
37750
  async getElement(familyInstanceIndex) {
37751
37751
  var _a2;
37752
- const index = await this.getElementIndex(familyInstanceIndex);
37753
- if (index === void 0) {
37752
+ const index2 = await this.getElementIndex(familyInstanceIndex);
37753
+ if (index2 === void 0) {
37754
37754
  return void 0;
37755
37755
  }
37756
- return await ((_a2 = this.document.element) == null ? void 0 : _a2.get(index));
37756
+ return await ((_a2 = this.document.element) == null ? void 0 : _a2.get(index2));
37757
37757
  }
37758
37758
  }
37759
37759
  objectModel.FamilyInstanceTable = FamilyInstanceTable;
37760
37760
  class View {
37761
- static async createFromTable(table, index) {
37761
+ static async createFromTable(table, index2) {
37762
37762
  let result = new View();
37763
- result.index = index;
37763
+ result.index = index2;
37764
37764
  await Promise.all([
37765
- table.getTitle(index).then((v) => result.title = v),
37766
- table.getViewType(index).then((v) => result.viewType = v),
37767
- table.getUp_X(index).then((v) => result.up_X = v),
37768
- table.getUp_Y(index).then((v) => result.up_Y = v),
37769
- table.getUp_Z(index).then((v) => result.up_Z = v),
37770
- table.getRight_X(index).then((v) => result.right_X = v),
37771
- table.getRight_Y(index).then((v) => result.right_Y = v),
37772
- table.getRight_Z(index).then((v) => result.right_Z = v),
37773
- table.getOrigin_X(index).then((v) => result.origin_X = v),
37774
- table.getOrigin_Y(index).then((v) => result.origin_Y = v),
37775
- table.getOrigin_Z(index).then((v) => result.origin_Z = v),
37776
- table.getViewDirection_X(index).then((v) => result.viewDirection_X = v),
37777
- table.getViewDirection_Y(index).then((v) => result.viewDirection_Y = v),
37778
- table.getViewDirection_Z(index).then((v) => result.viewDirection_Z = v),
37779
- table.getViewPosition_X(index).then((v) => result.viewPosition_X = v),
37780
- table.getViewPosition_Y(index).then((v) => result.viewPosition_Y = v),
37781
- table.getViewPosition_Z(index).then((v) => result.viewPosition_Z = v),
37782
- table.getScale(index).then((v) => result.scale = v),
37783
- table.getOutline_Min_X(index).then((v) => result.outline_Min_X = v),
37784
- table.getOutline_Min_Y(index).then((v) => result.outline_Min_Y = v),
37785
- table.getOutline_Max_X(index).then((v) => result.outline_Max_X = v),
37786
- table.getOutline_Max_Y(index).then((v) => result.outline_Max_Y = v),
37787
- table.getDetailLevel(index).then((v) => result.detailLevel = v),
37788
- table.getCameraIndex(index).then((v) => result.cameraIndex = v),
37789
- table.getFamilyTypeIndex(index).then((v) => result.familyTypeIndex = v),
37790
- table.getElementIndex(index).then((v) => result.elementIndex = v)
37765
+ table.getTitle(index2).then((v) => result.title = v),
37766
+ table.getViewType(index2).then((v) => result.viewType = v),
37767
+ table.getUp_X(index2).then((v) => result.up_X = v),
37768
+ table.getUp_Y(index2).then((v) => result.up_Y = v),
37769
+ table.getUp_Z(index2).then((v) => result.up_Z = v),
37770
+ table.getRight_X(index2).then((v) => result.right_X = v),
37771
+ table.getRight_Y(index2).then((v) => result.right_Y = v),
37772
+ table.getRight_Z(index2).then((v) => result.right_Z = v),
37773
+ table.getOrigin_X(index2).then((v) => result.origin_X = v),
37774
+ table.getOrigin_Y(index2).then((v) => result.origin_Y = v),
37775
+ table.getOrigin_Z(index2).then((v) => result.origin_Z = v),
37776
+ table.getViewDirection_X(index2).then((v) => result.viewDirection_X = v),
37777
+ table.getViewDirection_Y(index2).then((v) => result.viewDirection_Y = v),
37778
+ table.getViewDirection_Z(index2).then((v) => result.viewDirection_Z = v),
37779
+ table.getViewPosition_X(index2).then((v) => result.viewPosition_X = v),
37780
+ table.getViewPosition_Y(index2).then((v) => result.viewPosition_Y = v),
37781
+ table.getViewPosition_Z(index2).then((v) => result.viewPosition_Z = v),
37782
+ table.getScale(index2).then((v) => result.scale = v),
37783
+ table.getOutline_Min_X(index2).then((v) => result.outline_Min_X = v),
37784
+ table.getOutline_Min_Y(index2).then((v) => result.outline_Min_Y = v),
37785
+ table.getOutline_Max_X(index2).then((v) => result.outline_Max_X = v),
37786
+ table.getOutline_Max_Y(index2).then((v) => result.outline_Max_Y = v),
37787
+ table.getDetailLevel(index2).then((v) => result.detailLevel = v),
37788
+ table.getCameraIndex(index2).then((v) => result.cameraIndex = v),
37789
+ table.getFamilyTypeIndex(index2).then((v) => result.familyTypeIndex = v),
37790
+ table.getElementIndex(index2).then((v) => result.elementIndex = v)
37791
37791
  ]);
37792
37792
  return result;
37793
37793
  }
@@ -38099,11 +38099,11 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
38099
38099
  }
38100
38100
  async getCamera(viewIndex) {
38101
38101
  var _a2;
38102
- const index = await this.getCameraIndex(viewIndex);
38103
- if (index === void 0) {
38102
+ const index2 = await this.getCameraIndex(viewIndex);
38103
+ if (index2 === void 0) {
38104
38104
  return void 0;
38105
38105
  }
38106
- return await ((_a2 = this.document.camera) == null ? void 0 : _a2.get(index));
38106
+ return await ((_a2 = this.document.camera) == null ? void 0 : _a2.get(index2));
38107
38107
  }
38108
38108
  async getFamilyTypeIndex(viewIndex) {
38109
38109
  return await this.entityTable.getNumber(viewIndex, "index:Vim.FamilyType:FamilyType");
@@ -38113,11 +38113,11 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
38113
38113
  }
38114
38114
  async getFamilyType(viewIndex) {
38115
38115
  var _a2;
38116
- const index = await this.getFamilyTypeIndex(viewIndex);
38117
- if (index === void 0) {
38116
+ const index2 = await this.getFamilyTypeIndex(viewIndex);
38117
+ if (index2 === void 0) {
38118
38118
  return void 0;
38119
38119
  }
38120
- return await ((_a2 = this.document.familyType) == null ? void 0 : _a2.get(index));
38120
+ return await ((_a2 = this.document.familyType) == null ? void 0 : _a2.get(index2));
38121
38121
  }
38122
38122
  async getElementIndex(viewIndex) {
38123
38123
  return await this.entityTable.getNumber(viewIndex, "index:Vim.Element:Element");
@@ -38127,21 +38127,21 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
38127
38127
  }
38128
38128
  async getElement(viewIndex) {
38129
38129
  var _a2;
38130
- const index = await this.getElementIndex(viewIndex);
38131
- if (index === void 0) {
38130
+ const index2 = await this.getElementIndex(viewIndex);
38131
+ if (index2 === void 0) {
38132
38132
  return void 0;
38133
38133
  }
38134
- return await ((_a2 = this.document.element) == null ? void 0 : _a2.get(index));
38134
+ return await ((_a2 = this.document.element) == null ? void 0 : _a2.get(index2));
38135
38135
  }
38136
38136
  }
38137
38137
  objectModel.ViewTable = ViewTable;
38138
38138
  class ElementInView {
38139
- static async createFromTable(table, index) {
38139
+ static async createFromTable(table, index2) {
38140
38140
  let result = new ElementInView();
38141
- result.index = index;
38141
+ result.index = index2;
38142
38142
  await Promise.all([
38143
- table.getViewIndex(index).then((v) => result.viewIndex = v),
38144
- table.getElementIndex(index).then((v) => result.elementIndex = v)
38143
+ table.getViewIndex(index2).then((v) => result.viewIndex = v),
38144
+ table.getElementIndex(index2).then((v) => result.elementIndex = v)
38145
38145
  ]);
38146
38146
  return result;
38147
38147
  }
@@ -38195,11 +38195,11 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
38195
38195
  }
38196
38196
  async getView(elementInViewIndex) {
38197
38197
  var _a2;
38198
- const index = await this.getViewIndex(elementInViewIndex);
38199
- if (index === void 0) {
38198
+ const index2 = await this.getViewIndex(elementInViewIndex);
38199
+ if (index2 === void 0) {
38200
38200
  return void 0;
38201
38201
  }
38202
- return await ((_a2 = this.document.view) == null ? void 0 : _a2.get(index));
38202
+ return await ((_a2 = this.document.view) == null ? void 0 : _a2.get(index2));
38203
38203
  }
38204
38204
  async getElementIndex(elementInViewIndex) {
38205
38205
  return await this.entityTable.getNumber(elementInViewIndex, "index:Vim.Element:Element");
@@ -38209,21 +38209,21 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
38209
38209
  }
38210
38210
  async getElement(elementInViewIndex) {
38211
38211
  var _a2;
38212
- const index = await this.getElementIndex(elementInViewIndex);
38213
- if (index === void 0) {
38212
+ const index2 = await this.getElementIndex(elementInViewIndex);
38213
+ if (index2 === void 0) {
38214
38214
  return void 0;
38215
38215
  }
38216
- return await ((_a2 = this.document.element) == null ? void 0 : _a2.get(index));
38216
+ return await ((_a2 = this.document.element) == null ? void 0 : _a2.get(index2));
38217
38217
  }
38218
38218
  }
38219
38219
  objectModel.ElementInViewTable = ElementInViewTable;
38220
38220
  class ShapeInView {
38221
- static async createFromTable(table, index) {
38221
+ static async createFromTable(table, index2) {
38222
38222
  let result = new ShapeInView();
38223
- result.index = index;
38223
+ result.index = index2;
38224
38224
  await Promise.all([
38225
- table.getShapeIndex(index).then((v) => result.shapeIndex = v),
38226
- table.getViewIndex(index).then((v) => result.viewIndex = v)
38225
+ table.getShapeIndex(index2).then((v) => result.shapeIndex = v),
38226
+ table.getViewIndex(index2).then((v) => result.viewIndex = v)
38227
38227
  ]);
38228
38228
  return result;
38229
38229
  }
@@ -38277,11 +38277,11 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
38277
38277
  }
38278
38278
  async getShape(shapeInViewIndex) {
38279
38279
  var _a2;
38280
- const index = await this.getShapeIndex(shapeInViewIndex);
38281
- if (index === void 0) {
38280
+ const index2 = await this.getShapeIndex(shapeInViewIndex);
38281
+ if (index2 === void 0) {
38282
38282
  return void 0;
38283
38283
  }
38284
- return await ((_a2 = this.document.shape) == null ? void 0 : _a2.get(index));
38284
+ return await ((_a2 = this.document.shape) == null ? void 0 : _a2.get(index2));
38285
38285
  }
38286
38286
  async getViewIndex(shapeInViewIndex) {
38287
38287
  return await this.entityTable.getNumber(shapeInViewIndex, "index:Vim.View:View");
@@ -38291,21 +38291,21 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
38291
38291
  }
38292
38292
  async getView(shapeInViewIndex) {
38293
38293
  var _a2;
38294
- const index = await this.getViewIndex(shapeInViewIndex);
38295
- if (index === void 0) {
38294
+ const index2 = await this.getViewIndex(shapeInViewIndex);
38295
+ if (index2 === void 0) {
38296
38296
  return void 0;
38297
38297
  }
38298
- return await ((_a2 = this.document.view) == null ? void 0 : _a2.get(index));
38298
+ return await ((_a2 = this.document.view) == null ? void 0 : _a2.get(index2));
38299
38299
  }
38300
38300
  }
38301
38301
  objectModel.ShapeInViewTable = ShapeInViewTable;
38302
38302
  class AssetInView {
38303
- static async createFromTable(table, index) {
38303
+ static async createFromTable(table, index2) {
38304
38304
  let result = new AssetInView();
38305
- result.index = index;
38305
+ result.index = index2;
38306
38306
  await Promise.all([
38307
- table.getAssetIndex(index).then((v) => result.assetIndex = v),
38308
- table.getViewIndex(index).then((v) => result.viewIndex = v)
38307
+ table.getAssetIndex(index2).then((v) => result.assetIndex = v),
38308
+ table.getViewIndex(index2).then((v) => result.viewIndex = v)
38309
38309
  ]);
38310
38310
  return result;
38311
38311
  }
@@ -38359,11 +38359,11 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
38359
38359
  }
38360
38360
  async getAsset(assetInViewIndex) {
38361
38361
  var _a2;
38362
- const index = await this.getAssetIndex(assetInViewIndex);
38363
- if (index === void 0) {
38362
+ const index2 = await this.getAssetIndex(assetInViewIndex);
38363
+ if (index2 === void 0) {
38364
38364
  return void 0;
38365
38365
  }
38366
- return await ((_a2 = this.document.asset) == null ? void 0 : _a2.get(index));
38366
+ return await ((_a2 = this.document.asset) == null ? void 0 : _a2.get(index2));
38367
38367
  }
38368
38368
  async getViewIndex(assetInViewIndex) {
38369
38369
  return await this.entityTable.getNumber(assetInViewIndex, "index:Vim.View:View");
@@ -38373,21 +38373,21 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
38373
38373
  }
38374
38374
  async getView(assetInViewIndex) {
38375
38375
  var _a2;
38376
- const index = await this.getViewIndex(assetInViewIndex);
38377
- if (index === void 0) {
38376
+ const index2 = await this.getViewIndex(assetInViewIndex);
38377
+ if (index2 === void 0) {
38378
38378
  return void 0;
38379
38379
  }
38380
- return await ((_a2 = this.document.view) == null ? void 0 : _a2.get(index));
38380
+ return await ((_a2 = this.document.view) == null ? void 0 : _a2.get(index2));
38381
38381
  }
38382
38382
  }
38383
38383
  objectModel.AssetInViewTable = AssetInViewTable;
38384
38384
  class AssetInViewSheet {
38385
- static async createFromTable(table, index) {
38385
+ static async createFromTable(table, index2) {
38386
38386
  let result = new AssetInViewSheet();
38387
- result.index = index;
38387
+ result.index = index2;
38388
38388
  await Promise.all([
38389
- table.getAssetIndex(index).then((v) => result.assetIndex = v),
38390
- table.getViewSheetIndex(index).then((v) => result.viewSheetIndex = v)
38389
+ table.getAssetIndex(index2).then((v) => result.assetIndex = v),
38390
+ table.getViewSheetIndex(index2).then((v) => result.viewSheetIndex = v)
38391
38391
  ]);
38392
38392
  return result;
38393
38393
  }
@@ -38441,11 +38441,11 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
38441
38441
  }
38442
38442
  async getAsset(assetInViewSheetIndex) {
38443
38443
  var _a2;
38444
- const index = await this.getAssetIndex(assetInViewSheetIndex);
38445
- if (index === void 0) {
38444
+ const index2 = await this.getAssetIndex(assetInViewSheetIndex);
38445
+ if (index2 === void 0) {
38446
38446
  return void 0;
38447
38447
  }
38448
- return await ((_a2 = this.document.asset) == null ? void 0 : _a2.get(index));
38448
+ return await ((_a2 = this.document.asset) == null ? void 0 : _a2.get(index2));
38449
38449
  }
38450
38450
  async getViewSheetIndex(assetInViewSheetIndex) {
38451
38451
  return await this.entityTable.getNumber(assetInViewSheetIndex, "index:Vim.ViewSheet:ViewSheet");
@@ -38455,27 +38455,27 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
38455
38455
  }
38456
38456
  async getViewSheet(assetInViewSheetIndex) {
38457
38457
  var _a2;
38458
- const index = await this.getViewSheetIndex(assetInViewSheetIndex);
38459
- if (index === void 0) {
38458
+ const index2 = await this.getViewSheetIndex(assetInViewSheetIndex);
38459
+ if (index2 === void 0) {
38460
38460
  return void 0;
38461
38461
  }
38462
- return await ((_a2 = this.document.viewSheet) == null ? void 0 : _a2.get(index));
38462
+ return await ((_a2 = this.document.viewSheet) == null ? void 0 : _a2.get(index2));
38463
38463
  }
38464
38464
  }
38465
38465
  objectModel.AssetInViewSheetTable = AssetInViewSheetTable;
38466
38466
  class LevelInView {
38467
- static async createFromTable(table, index) {
38467
+ static async createFromTable(table, index2) {
38468
38468
  let result = new LevelInView();
38469
- result.index = index;
38469
+ result.index = index2;
38470
38470
  await Promise.all([
38471
- table.getExtents_Min_X(index).then((v) => result.extents_Min_X = v),
38472
- table.getExtents_Min_Y(index).then((v) => result.extents_Min_Y = v),
38473
- table.getExtents_Min_Z(index).then((v) => result.extents_Min_Z = v),
38474
- table.getExtents_Max_X(index).then((v) => result.extents_Max_X = v),
38475
- table.getExtents_Max_Y(index).then((v) => result.extents_Max_Y = v),
38476
- table.getExtents_Max_Z(index).then((v) => result.extents_Max_Z = v),
38477
- table.getLevelIndex(index).then((v) => result.levelIndex = v),
38478
- table.getViewIndex(index).then((v) => result.viewIndex = v)
38471
+ table.getExtents_Min_X(index2).then((v) => result.extents_Min_X = v),
38472
+ table.getExtents_Min_Y(index2).then((v) => result.extents_Min_Y = v),
38473
+ table.getExtents_Min_Z(index2).then((v) => result.extents_Min_Z = v),
38474
+ table.getExtents_Max_X(index2).then((v) => result.extents_Max_X = v),
38475
+ table.getExtents_Max_Y(index2).then((v) => result.extents_Max_Y = v),
38476
+ table.getExtents_Max_Z(index2).then((v) => result.extents_Max_Z = v),
38477
+ table.getLevelIndex(index2).then((v) => result.levelIndex = v),
38478
+ table.getViewIndex(index2).then((v) => result.viewIndex = v)
38479
38479
  ]);
38480
38480
  return result;
38481
38481
  }
@@ -38595,11 +38595,11 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
38595
38595
  }
38596
38596
  async getLevel(levelInViewIndex) {
38597
38597
  var _a2;
38598
- const index = await this.getLevelIndex(levelInViewIndex);
38599
- if (index === void 0) {
38598
+ const index2 = await this.getLevelIndex(levelInViewIndex);
38599
+ if (index2 === void 0) {
38600
38600
  return void 0;
38601
38601
  }
38602
- return await ((_a2 = this.document.level) == null ? void 0 : _a2.get(index));
38602
+ return await ((_a2 = this.document.level) == null ? void 0 : _a2.get(index2));
38603
38603
  }
38604
38604
  async getViewIndex(levelInViewIndex) {
38605
38605
  return await this.entityTable.getNumber(levelInViewIndex, "index:Vim.View:View");
@@ -38609,28 +38609,28 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
38609
38609
  }
38610
38610
  async getView(levelInViewIndex) {
38611
38611
  var _a2;
38612
- const index = await this.getViewIndex(levelInViewIndex);
38613
- if (index === void 0) {
38612
+ const index2 = await this.getViewIndex(levelInViewIndex);
38613
+ if (index2 === void 0) {
38614
38614
  return void 0;
38615
38615
  }
38616
- return await ((_a2 = this.document.view) == null ? void 0 : _a2.get(index));
38616
+ return await ((_a2 = this.document.view) == null ? void 0 : _a2.get(index2));
38617
38617
  }
38618
38618
  }
38619
38619
  objectModel.LevelInViewTable = LevelInViewTable;
38620
38620
  class Camera2 {
38621
- static async createFromTable(table, index) {
38621
+ static async createFromTable(table, index2) {
38622
38622
  let result = new Camera2();
38623
- result.index = index;
38623
+ result.index = index2;
38624
38624
  await Promise.all([
38625
- table.getId(index).then((v) => result.id = v),
38626
- table.getIsPerspective(index).then((v) => result.isPerspective = v),
38627
- table.getVerticalExtent(index).then((v) => result.verticalExtent = v),
38628
- table.getHorizontalExtent(index).then((v) => result.horizontalExtent = v),
38629
- table.getFarDistance(index).then((v) => result.farDistance = v),
38630
- table.getNearDistance(index).then((v) => result.nearDistance = v),
38631
- table.getTargetDistance(index).then((v) => result.targetDistance = v),
38632
- table.getRightOffset(index).then((v) => result.rightOffset = v),
38633
- table.getUpOffset(index).then((v) => result.upOffset = v)
38625
+ table.getId(index2).then((v) => result.id = v),
38626
+ table.getIsPerspective(index2).then((v) => result.isPerspective = v),
38627
+ table.getVerticalExtent(index2).then((v) => result.verticalExtent = v),
38628
+ table.getHorizontalExtent(index2).then((v) => result.horizontalExtent = v),
38629
+ table.getFarDistance(index2).then((v) => result.farDistance = v),
38630
+ table.getNearDistance(index2).then((v) => result.nearDistance = v),
38631
+ table.getTargetDistance(index2).then((v) => result.targetDistance = v),
38632
+ table.getRightOffset(index2).then((v) => result.rightOffset = v),
38633
+ table.getUpOffset(index2).then((v) => result.upOffset = v)
38634
38634
  ]);
38635
38635
  return result;
38636
38636
  }
@@ -38767,30 +38767,30 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
38767
38767
  }
38768
38768
  objectModel.CameraTable = CameraTable;
38769
38769
  class Material2 {
38770
- static async createFromTable(table, index) {
38770
+ static async createFromTable(table, index2) {
38771
38771
  let result = new Material2();
38772
- result.index = index;
38772
+ result.index = index2;
38773
38773
  await Promise.all([
38774
- table.getName(index).then((v) => result.name = v),
38775
- table.getMaterialCategory(index).then((v) => result.materialCategory = v),
38776
- table.getColor_X(index).then((v) => result.color_X = v),
38777
- table.getColor_Y(index).then((v) => result.color_Y = v),
38778
- table.getColor_Z(index).then((v) => result.color_Z = v),
38779
- table.getColorUvScaling_X(index).then((v) => result.colorUvScaling_X = v),
38780
- table.getColorUvScaling_Y(index).then((v) => result.colorUvScaling_Y = v),
38781
- table.getColorUvOffset_X(index).then((v) => result.colorUvOffset_X = v),
38782
- table.getColorUvOffset_Y(index).then((v) => result.colorUvOffset_Y = v),
38783
- table.getNormalUvScaling_X(index).then((v) => result.normalUvScaling_X = v),
38784
- table.getNormalUvScaling_Y(index).then((v) => result.normalUvScaling_Y = v),
38785
- table.getNormalUvOffset_X(index).then((v) => result.normalUvOffset_X = v),
38786
- table.getNormalUvOffset_Y(index).then((v) => result.normalUvOffset_Y = v),
38787
- table.getNormalAmount(index).then((v) => result.normalAmount = v),
38788
- table.getGlossiness(index).then((v) => result.glossiness = v),
38789
- table.getSmoothness(index).then((v) => result.smoothness = v),
38790
- table.getTransparency(index).then((v) => result.transparency = v),
38791
- table.getColorTextureFileIndex(index).then((v) => result.colorTextureFileIndex = v),
38792
- table.getNormalTextureFileIndex(index).then((v) => result.normalTextureFileIndex = v),
38793
- table.getElementIndex(index).then((v) => result.elementIndex = v)
38774
+ table.getName(index2).then((v) => result.name = v),
38775
+ table.getMaterialCategory(index2).then((v) => result.materialCategory = v),
38776
+ table.getColor_X(index2).then((v) => result.color_X = v),
38777
+ table.getColor_Y(index2).then((v) => result.color_Y = v),
38778
+ table.getColor_Z(index2).then((v) => result.color_Z = v),
38779
+ table.getColorUvScaling_X(index2).then((v) => result.colorUvScaling_X = v),
38780
+ table.getColorUvScaling_Y(index2).then((v) => result.colorUvScaling_Y = v),
38781
+ table.getColorUvOffset_X(index2).then((v) => result.colorUvOffset_X = v),
38782
+ table.getColorUvOffset_Y(index2).then((v) => result.colorUvOffset_Y = v),
38783
+ table.getNormalUvScaling_X(index2).then((v) => result.normalUvScaling_X = v),
38784
+ table.getNormalUvScaling_Y(index2).then((v) => result.normalUvScaling_Y = v),
38785
+ table.getNormalUvOffset_X(index2).then((v) => result.normalUvOffset_X = v),
38786
+ table.getNormalUvOffset_Y(index2).then((v) => result.normalUvOffset_Y = v),
38787
+ table.getNormalAmount(index2).then((v) => result.normalAmount = v),
38788
+ table.getGlossiness(index2).then((v) => result.glossiness = v),
38789
+ table.getSmoothness(index2).then((v) => result.smoothness = v),
38790
+ table.getTransparency(index2).then((v) => result.transparency = v),
38791
+ table.getColorTextureFileIndex(index2).then((v) => result.colorTextureFileIndex = v),
38792
+ table.getNormalTextureFileIndex(index2).then((v) => result.normalTextureFileIndex = v),
38793
+ table.getElementIndex(index2).then((v) => result.elementIndex = v)
38794
38794
  ]);
38795
38795
  return result;
38796
38796
  }
@@ -39036,11 +39036,11 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
39036
39036
  }
39037
39037
  async getColorTextureFile(materialIndex) {
39038
39038
  var _a2;
39039
- const index = await this.getColorTextureFileIndex(materialIndex);
39040
- if (index === void 0) {
39039
+ const index2 = await this.getColorTextureFileIndex(materialIndex);
39040
+ if (index2 === void 0) {
39041
39041
  return void 0;
39042
39042
  }
39043
- return await ((_a2 = this.document.asset) == null ? void 0 : _a2.get(index));
39043
+ return await ((_a2 = this.document.asset) == null ? void 0 : _a2.get(index2));
39044
39044
  }
39045
39045
  async getNormalTextureFileIndex(materialIndex) {
39046
39046
  return await this.entityTable.getNumber(materialIndex, "index:Vim.Asset:NormalTextureFile");
@@ -39050,11 +39050,11 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
39050
39050
  }
39051
39051
  async getNormalTextureFile(materialIndex) {
39052
39052
  var _a2;
39053
- const index = await this.getNormalTextureFileIndex(materialIndex);
39054
- if (index === void 0) {
39053
+ const index2 = await this.getNormalTextureFileIndex(materialIndex);
39054
+ if (index2 === void 0) {
39055
39055
  return void 0;
39056
39056
  }
39057
- return await ((_a2 = this.document.asset) == null ? void 0 : _a2.get(index));
39057
+ return await ((_a2 = this.document.asset) == null ? void 0 : _a2.get(index2));
39058
39058
  }
39059
39059
  async getElementIndex(materialIndex) {
39060
39060
  return await this.entityTable.getNumber(materialIndex, "index:Vim.Element:Element");
@@ -39064,24 +39064,24 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
39064
39064
  }
39065
39065
  async getElement(materialIndex) {
39066
39066
  var _a2;
39067
- const index = await this.getElementIndex(materialIndex);
39068
- if (index === void 0) {
39067
+ const index2 = await this.getElementIndex(materialIndex);
39068
+ if (index2 === void 0) {
39069
39069
  return void 0;
39070
39070
  }
39071
- return await ((_a2 = this.document.element) == null ? void 0 : _a2.get(index));
39071
+ return await ((_a2 = this.document.element) == null ? void 0 : _a2.get(index2));
39072
39072
  }
39073
39073
  }
39074
39074
  objectModel.MaterialTable = MaterialTable;
39075
39075
  class MaterialInElement {
39076
- static async createFromTable(table, index) {
39076
+ static async createFromTable(table, index2) {
39077
39077
  let result = new MaterialInElement();
39078
- result.index = index;
39078
+ result.index = index2;
39079
39079
  await Promise.all([
39080
- table.getArea(index).then((v) => result.area = v),
39081
- table.getVolume(index).then((v) => result.volume = v),
39082
- table.getIsPaint(index).then((v) => result.isPaint = v),
39083
- table.getMaterialIndex(index).then((v) => result.materialIndex = v),
39084
- table.getElementIndex(index).then((v) => result.elementIndex = v)
39080
+ table.getArea(index2).then((v) => result.area = v),
39081
+ table.getVolume(index2).then((v) => result.volume = v),
39082
+ table.getIsPaint(index2).then((v) => result.isPaint = v),
39083
+ table.getMaterialIndex(index2).then((v) => result.materialIndex = v),
39084
+ table.getElementIndex(index2).then((v) => result.elementIndex = v)
39085
39085
  ]);
39086
39086
  return result;
39087
39087
  }
@@ -39168,11 +39168,11 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
39168
39168
  }
39169
39169
  async getMaterial(materialInElementIndex) {
39170
39170
  var _a2;
39171
- const index = await this.getMaterialIndex(materialInElementIndex);
39172
- if (index === void 0) {
39171
+ const index2 = await this.getMaterialIndex(materialInElementIndex);
39172
+ if (index2 === void 0) {
39173
39173
  return void 0;
39174
39174
  }
39175
- return await ((_a2 = this.document.material) == null ? void 0 : _a2.get(index));
39175
+ return await ((_a2 = this.document.material) == null ? void 0 : _a2.get(index2));
39176
39176
  }
39177
39177
  async getElementIndex(materialInElementIndex) {
39178
39178
  return await this.entityTable.getNumber(materialInElementIndex, "index:Vim.Element:Element");
@@ -39182,24 +39182,24 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
39182
39182
  }
39183
39183
  async getElement(materialInElementIndex) {
39184
39184
  var _a2;
39185
- const index = await this.getElementIndex(materialInElementIndex);
39186
- if (index === void 0) {
39185
+ const index2 = await this.getElementIndex(materialInElementIndex);
39186
+ if (index2 === void 0) {
39187
39187
  return void 0;
39188
39188
  }
39189
- return await ((_a2 = this.document.element) == null ? void 0 : _a2.get(index));
39189
+ return await ((_a2 = this.document.element) == null ? void 0 : _a2.get(index2));
39190
39190
  }
39191
39191
  }
39192
39192
  objectModel.MaterialInElementTable = MaterialInElementTable;
39193
39193
  class CompoundStructureLayer {
39194
- static async createFromTable(table, index) {
39194
+ static async createFromTable(table, index2) {
39195
39195
  let result = new CompoundStructureLayer();
39196
- result.index = index;
39196
+ result.index = index2;
39197
39197
  await Promise.all([
39198
- table.getOrderIndex(index).then((v) => result.orderIndex = v),
39199
- table.getWidth(index).then((v) => result.width = v),
39200
- table.getMaterialFunctionAssignment(index).then((v) => result.materialFunctionAssignment = v),
39201
- table.getMaterialIndex(index).then((v) => result.materialIndex = v),
39202
- table.getCompoundStructureIndex(index).then((v) => result.compoundStructureIndex = v)
39198
+ table.getOrderIndex(index2).then((v) => result.orderIndex = v),
39199
+ table.getWidth(index2).then((v) => result.width = v),
39200
+ table.getMaterialFunctionAssignment(index2).then((v) => result.materialFunctionAssignment = v),
39201
+ table.getMaterialIndex(index2).then((v) => result.materialIndex = v),
39202
+ table.getCompoundStructureIndex(index2).then((v) => result.compoundStructureIndex = v)
39203
39203
  ]);
39204
39204
  return result;
39205
39205
  }
@@ -39286,11 +39286,11 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
39286
39286
  }
39287
39287
  async getMaterial(compoundStructureLayerIndex) {
39288
39288
  var _a2;
39289
- const index = await this.getMaterialIndex(compoundStructureLayerIndex);
39290
- if (index === void 0) {
39289
+ const index2 = await this.getMaterialIndex(compoundStructureLayerIndex);
39290
+ if (index2 === void 0) {
39291
39291
  return void 0;
39292
39292
  }
39293
- return await ((_a2 = this.document.material) == null ? void 0 : _a2.get(index));
39293
+ return await ((_a2 = this.document.material) == null ? void 0 : _a2.get(index2));
39294
39294
  }
39295
39295
  async getCompoundStructureIndex(compoundStructureLayerIndex) {
39296
39296
  return await this.entityTable.getNumber(compoundStructureLayerIndex, "index:Vim.CompoundStructure:CompoundStructure");
@@ -39300,21 +39300,21 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
39300
39300
  }
39301
39301
  async getCompoundStructure(compoundStructureLayerIndex) {
39302
39302
  var _a2;
39303
- const index = await this.getCompoundStructureIndex(compoundStructureLayerIndex);
39304
- if (index === void 0) {
39303
+ const index2 = await this.getCompoundStructureIndex(compoundStructureLayerIndex);
39304
+ if (index2 === void 0) {
39305
39305
  return void 0;
39306
39306
  }
39307
- return await ((_a2 = this.document.compoundStructure) == null ? void 0 : _a2.get(index));
39307
+ return await ((_a2 = this.document.compoundStructure) == null ? void 0 : _a2.get(index2));
39308
39308
  }
39309
39309
  }
39310
39310
  objectModel.CompoundStructureLayerTable = CompoundStructureLayerTable;
39311
39311
  class CompoundStructure {
39312
- static async createFromTable(table, index) {
39312
+ static async createFromTable(table, index2) {
39313
39313
  let result = new CompoundStructure();
39314
- result.index = index;
39314
+ result.index = index2;
39315
39315
  await Promise.all([
39316
- table.getWidth(index).then((v) => result.width = v),
39317
- table.getStructuralLayerIndex(index).then((v) => result.structuralLayerIndex = v)
39316
+ table.getWidth(index2).then((v) => result.width = v),
39317
+ table.getStructuralLayerIndex(index2).then((v) => result.structuralLayerIndex = v)
39318
39318
  ]);
39319
39319
  return result;
39320
39320
  }
@@ -39374,20 +39374,20 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
39374
39374
  }
39375
39375
  async getStructuralLayer(compoundStructureIndex) {
39376
39376
  var _a2;
39377
- const index = await this.getStructuralLayerIndex(compoundStructureIndex);
39378
- if (index === void 0) {
39377
+ const index2 = await this.getStructuralLayerIndex(compoundStructureIndex);
39378
+ if (index2 === void 0) {
39379
39379
  return void 0;
39380
39380
  }
39381
- return await ((_a2 = this.document.compoundStructureLayer) == null ? void 0 : _a2.get(index));
39381
+ return await ((_a2 = this.document.compoundStructureLayer) == null ? void 0 : _a2.get(index2));
39382
39382
  }
39383
39383
  }
39384
39384
  objectModel.CompoundStructureTable = CompoundStructureTable;
39385
39385
  class Node2 {
39386
- static async createFromTable(table, index) {
39386
+ static async createFromTable(table, index2) {
39387
39387
  let result = new Node2();
39388
- result.index = index;
39388
+ result.index = index2;
39389
39389
  await Promise.all([
39390
- table.getElementIndex(index).then((v) => result.elementIndex = v)
39390
+ table.getElementIndex(index2).then((v) => result.elementIndex = v)
39391
39391
  ]);
39392
39392
  return result;
39393
39393
  }
@@ -39436,27 +39436,27 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
39436
39436
  }
39437
39437
  async getElement(nodeIndex) {
39438
39438
  var _a2;
39439
- const index = await this.getElementIndex(nodeIndex);
39440
- if (index === void 0) {
39439
+ const index2 = await this.getElementIndex(nodeIndex);
39440
+ if (index2 === void 0) {
39441
39441
  return void 0;
39442
39442
  }
39443
- return await ((_a2 = this.document.element) == null ? void 0 : _a2.get(index));
39443
+ return await ((_a2 = this.document.element) == null ? void 0 : _a2.get(index2));
39444
39444
  }
39445
39445
  }
39446
39446
  objectModel.NodeTable = NodeTable;
39447
39447
  class Geometry2 {
39448
- static async createFromTable(table, index) {
39448
+ static async createFromTable(table, index2) {
39449
39449
  let result = new Geometry2();
39450
- result.index = index;
39450
+ result.index = index2;
39451
39451
  await Promise.all([
39452
- table.getBox_Min_X(index).then((v) => result.box_Min_X = v),
39453
- table.getBox_Min_Y(index).then((v) => result.box_Min_Y = v),
39454
- table.getBox_Min_Z(index).then((v) => result.box_Min_Z = v),
39455
- table.getBox_Max_X(index).then((v) => result.box_Max_X = v),
39456
- table.getBox_Max_Y(index).then((v) => result.box_Max_Y = v),
39457
- table.getBox_Max_Z(index).then((v) => result.box_Max_Z = v),
39458
- table.getVertexCount(index).then((v) => result.vertexCount = v),
39459
- table.getFaceCount(index).then((v) => result.faceCount = v)
39452
+ table.getBox_Min_X(index2).then((v) => result.box_Min_X = v),
39453
+ table.getBox_Min_Y(index2).then((v) => result.box_Min_Y = v),
39454
+ table.getBox_Min_Z(index2).then((v) => result.box_Min_Z = v),
39455
+ table.getBox_Max_X(index2).then((v) => result.box_Max_X = v),
39456
+ table.getBox_Max_Y(index2).then((v) => result.box_Max_Y = v),
39457
+ table.getBox_Max_Z(index2).then((v) => result.box_Max_Z = v),
39458
+ table.getVertexCount(index2).then((v) => result.vertexCount = v),
39459
+ table.getFaceCount(index2).then((v) => result.faceCount = v)
39460
39460
  ]);
39461
39461
  return result;
39462
39462
  }
@@ -39582,11 +39582,11 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
39582
39582
  }
39583
39583
  objectModel.GeometryTable = GeometryTable;
39584
39584
  class Shape2 {
39585
- static async createFromTable(table, index) {
39585
+ static async createFromTable(table, index2) {
39586
39586
  let result = new Shape2();
39587
- result.index = index;
39587
+ result.index = index2;
39588
39588
  await Promise.all([
39589
- table.getElementIndex(index).then((v) => result.elementIndex = v)
39589
+ table.getElementIndex(index2).then((v) => result.elementIndex = v)
39590
39590
  ]);
39591
39591
  return result;
39592
39592
  }
@@ -39635,20 +39635,20 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
39635
39635
  }
39636
39636
  async getElement(shapeIndex) {
39637
39637
  var _a2;
39638
- const index = await this.getElementIndex(shapeIndex);
39639
- if (index === void 0) {
39638
+ const index2 = await this.getElementIndex(shapeIndex);
39639
+ if (index2 === void 0) {
39640
39640
  return void 0;
39641
39641
  }
39642
- return await ((_a2 = this.document.element) == null ? void 0 : _a2.get(index));
39642
+ return await ((_a2 = this.document.element) == null ? void 0 : _a2.get(index2));
39643
39643
  }
39644
39644
  }
39645
39645
  objectModel.ShapeTable = ShapeTable;
39646
39646
  class ShapeCollection {
39647
- static async createFromTable(table, index) {
39647
+ static async createFromTable(table, index2) {
39648
39648
  let result = new ShapeCollection();
39649
- result.index = index;
39649
+ result.index = index2;
39650
39650
  await Promise.all([
39651
- table.getElementIndex(index).then((v) => result.elementIndex = v)
39651
+ table.getElementIndex(index2).then((v) => result.elementIndex = v)
39652
39652
  ]);
39653
39653
  return result;
39654
39654
  }
@@ -39697,21 +39697,21 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
39697
39697
  }
39698
39698
  async getElement(shapeCollectionIndex) {
39699
39699
  var _a2;
39700
- const index = await this.getElementIndex(shapeCollectionIndex);
39701
- if (index === void 0) {
39700
+ const index2 = await this.getElementIndex(shapeCollectionIndex);
39701
+ if (index2 === void 0) {
39702
39702
  return void 0;
39703
39703
  }
39704
- return await ((_a2 = this.document.element) == null ? void 0 : _a2.get(index));
39704
+ return await ((_a2 = this.document.element) == null ? void 0 : _a2.get(index2));
39705
39705
  }
39706
39706
  }
39707
39707
  objectModel.ShapeCollectionTable = ShapeCollectionTable;
39708
39708
  class ShapeInShapeCollection {
39709
- static async createFromTable(table, index) {
39709
+ static async createFromTable(table, index2) {
39710
39710
  let result = new ShapeInShapeCollection();
39711
- result.index = index;
39711
+ result.index = index2;
39712
39712
  await Promise.all([
39713
- table.getShapeIndex(index).then((v) => result.shapeIndex = v),
39714
- table.getShapeCollectionIndex(index).then((v) => result.shapeCollectionIndex = v)
39713
+ table.getShapeIndex(index2).then((v) => result.shapeIndex = v),
39714
+ table.getShapeCollectionIndex(index2).then((v) => result.shapeCollectionIndex = v)
39715
39715
  ]);
39716
39716
  return result;
39717
39717
  }
@@ -39765,11 +39765,11 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
39765
39765
  }
39766
39766
  async getShape(shapeInShapeCollectionIndex) {
39767
39767
  var _a2;
39768
- const index = await this.getShapeIndex(shapeInShapeCollectionIndex);
39769
- if (index === void 0) {
39768
+ const index2 = await this.getShapeIndex(shapeInShapeCollectionIndex);
39769
+ if (index2 === void 0) {
39770
39770
  return void 0;
39771
39771
  }
39772
- return await ((_a2 = this.document.shape) == null ? void 0 : _a2.get(index));
39772
+ return await ((_a2 = this.document.shape) == null ? void 0 : _a2.get(index2));
39773
39773
  }
39774
39774
  async getShapeCollectionIndex(shapeInShapeCollectionIndex) {
39775
39775
  return await this.entityTable.getNumber(shapeInShapeCollectionIndex, "index:Vim.ShapeCollection:ShapeCollection");
@@ -39779,22 +39779,22 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
39779
39779
  }
39780
39780
  async getShapeCollection(shapeInShapeCollectionIndex) {
39781
39781
  var _a2;
39782
- const index = await this.getShapeCollectionIndex(shapeInShapeCollectionIndex);
39783
- if (index === void 0) {
39782
+ const index2 = await this.getShapeCollectionIndex(shapeInShapeCollectionIndex);
39783
+ if (index2 === void 0) {
39784
39784
  return void 0;
39785
39785
  }
39786
- return await ((_a2 = this.document.shapeCollection) == null ? void 0 : _a2.get(index));
39786
+ return await ((_a2 = this.document.shapeCollection) == null ? void 0 : _a2.get(index2));
39787
39787
  }
39788
39788
  }
39789
39789
  objectModel.ShapeInShapeCollectionTable = ShapeInShapeCollectionTable;
39790
39790
  class System {
39791
- static async createFromTable(table, index) {
39791
+ static async createFromTable(table, index2) {
39792
39792
  let result = new System();
39793
- result.index = index;
39793
+ result.index = index2;
39794
39794
  await Promise.all([
39795
- table.getSystemType(index).then((v) => result.systemType = v),
39796
- table.getFamilyTypeIndex(index).then((v) => result.familyTypeIndex = v),
39797
- table.getElementIndex(index).then((v) => result.elementIndex = v)
39795
+ table.getSystemType(index2).then((v) => result.systemType = v),
39796
+ table.getFamilyTypeIndex(index2).then((v) => result.familyTypeIndex = v),
39797
+ table.getElementIndex(index2).then((v) => result.elementIndex = v)
39798
39798
  ]);
39799
39799
  return result;
39800
39800
  }
@@ -39859,11 +39859,11 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
39859
39859
  }
39860
39860
  async getFamilyType(systemIndex) {
39861
39861
  var _a2;
39862
- const index = await this.getFamilyTypeIndex(systemIndex);
39863
- if (index === void 0) {
39862
+ const index2 = await this.getFamilyTypeIndex(systemIndex);
39863
+ if (index2 === void 0) {
39864
39864
  return void 0;
39865
39865
  }
39866
- return await ((_a2 = this.document.familyType) == null ? void 0 : _a2.get(index));
39866
+ return await ((_a2 = this.document.familyType) == null ? void 0 : _a2.get(index2));
39867
39867
  }
39868
39868
  async getElementIndex(systemIndex) {
39869
39869
  return await this.entityTable.getNumber(systemIndex, "index:Vim.Element:Element");
@@ -39873,22 +39873,22 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
39873
39873
  }
39874
39874
  async getElement(systemIndex) {
39875
39875
  var _a2;
39876
- const index = await this.getElementIndex(systemIndex);
39877
- if (index === void 0) {
39876
+ const index2 = await this.getElementIndex(systemIndex);
39877
+ if (index2 === void 0) {
39878
39878
  return void 0;
39879
39879
  }
39880
- return await ((_a2 = this.document.element) == null ? void 0 : _a2.get(index));
39880
+ return await ((_a2 = this.document.element) == null ? void 0 : _a2.get(index2));
39881
39881
  }
39882
39882
  }
39883
39883
  objectModel.SystemTable = SystemTable;
39884
39884
  class ElementInSystem {
39885
- static async createFromTable(table, index) {
39885
+ static async createFromTable(table, index2) {
39886
39886
  let result = new ElementInSystem();
39887
- result.index = index;
39887
+ result.index = index2;
39888
39888
  await Promise.all([
39889
- table.getRoles(index).then((v) => result.roles = v),
39890
- table.getSystemIndex(index).then((v) => result.systemIndex = v),
39891
- table.getElementIndex(index).then((v) => result.elementIndex = v)
39889
+ table.getRoles(index2).then((v) => result.roles = v),
39890
+ table.getSystemIndex(index2).then((v) => result.systemIndex = v),
39891
+ table.getElementIndex(index2).then((v) => result.elementIndex = v)
39892
39892
  ]);
39893
39893
  return result;
39894
39894
  }
@@ -39953,11 +39953,11 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
39953
39953
  }
39954
39954
  async getSystem(elementInSystemIndex) {
39955
39955
  var _a2;
39956
- const index = await this.getSystemIndex(elementInSystemIndex);
39957
- if (index === void 0) {
39956
+ const index2 = await this.getSystemIndex(elementInSystemIndex);
39957
+ if (index2 === void 0) {
39958
39958
  return void 0;
39959
39959
  }
39960
- return await ((_a2 = this.document.system) == null ? void 0 : _a2.get(index));
39960
+ return await ((_a2 = this.document.system) == null ? void 0 : _a2.get(index2));
39961
39961
  }
39962
39962
  async getElementIndex(elementInSystemIndex) {
39963
39963
  return await this.entityTable.getNumber(elementInSystemIndex, "index:Vim.Element:Element");
@@ -39967,23 +39967,23 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
39967
39967
  }
39968
39968
  async getElement(elementInSystemIndex) {
39969
39969
  var _a2;
39970
- const index = await this.getElementIndex(elementInSystemIndex);
39971
- if (index === void 0) {
39970
+ const index2 = await this.getElementIndex(elementInSystemIndex);
39971
+ if (index2 === void 0) {
39972
39972
  return void 0;
39973
39973
  }
39974
- return await ((_a2 = this.document.element) == null ? void 0 : _a2.get(index));
39974
+ return await ((_a2 = this.document.element) == null ? void 0 : _a2.get(index2));
39975
39975
  }
39976
39976
  }
39977
39977
  objectModel.ElementInSystemTable = ElementInSystemTable;
39978
39978
  class Warning {
39979
- static async createFromTable(table, index) {
39979
+ static async createFromTable(table, index2) {
39980
39980
  let result = new Warning();
39981
- result.index = index;
39981
+ result.index = index2;
39982
39982
  await Promise.all([
39983
- table.getGuid(index).then((v) => result.guid = v),
39984
- table.getSeverity(index).then((v) => result.severity = v),
39985
- table.getDescription(index).then((v) => result.description = v),
39986
- table.getBimDocumentIndex(index).then((v) => result.bimDocumentIndex = v)
39983
+ table.getGuid(index2).then((v) => result.guid = v),
39984
+ table.getSeverity(index2).then((v) => result.severity = v),
39985
+ table.getDescription(index2).then((v) => result.description = v),
39986
+ table.getBimDocumentIndex(index2).then((v) => result.bimDocumentIndex = v)
39987
39987
  ]);
39988
39988
  return result;
39989
39989
  }
@@ -40065,21 +40065,21 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
40065
40065
  }
40066
40066
  async getBimDocument(warningIndex) {
40067
40067
  var _a2;
40068
- const index = await this.getBimDocumentIndex(warningIndex);
40069
- if (index === void 0) {
40068
+ const index2 = await this.getBimDocumentIndex(warningIndex);
40069
+ if (index2 === void 0) {
40070
40070
  return void 0;
40071
40071
  }
40072
- return await ((_a2 = this.document.bimDocument) == null ? void 0 : _a2.get(index));
40072
+ return await ((_a2 = this.document.bimDocument) == null ? void 0 : _a2.get(index2));
40073
40073
  }
40074
40074
  }
40075
40075
  objectModel.WarningTable = WarningTable;
40076
40076
  class ElementInWarning {
40077
- static async createFromTable(table, index) {
40077
+ static async createFromTable(table, index2) {
40078
40078
  let result = new ElementInWarning();
40079
- result.index = index;
40079
+ result.index = index2;
40080
40080
  await Promise.all([
40081
- table.getWarningIndex(index).then((v) => result.warningIndex = v),
40082
- table.getElementIndex(index).then((v) => result.elementIndex = v)
40081
+ table.getWarningIndex(index2).then((v) => result.warningIndex = v),
40082
+ table.getElementIndex(index2).then((v) => result.elementIndex = v)
40083
40083
  ]);
40084
40084
  return result;
40085
40085
  }
@@ -40133,11 +40133,11 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
40133
40133
  }
40134
40134
  async getWarning(elementInWarningIndex) {
40135
40135
  var _a2;
40136
- const index = await this.getWarningIndex(elementInWarningIndex);
40137
- if (index === void 0) {
40136
+ const index2 = await this.getWarningIndex(elementInWarningIndex);
40137
+ if (index2 === void 0) {
40138
40138
  return void 0;
40139
40139
  }
40140
- return await ((_a2 = this.document.warning) == null ? void 0 : _a2.get(index));
40140
+ return await ((_a2 = this.document.warning) == null ? void 0 : _a2.get(index2));
40141
40141
  }
40142
40142
  async getElementIndex(elementInWarningIndex) {
40143
40143
  return await this.entityTable.getNumber(elementInWarningIndex, "index:Vim.Element:Element");
@@ -40147,27 +40147,27 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
40147
40147
  }
40148
40148
  async getElement(elementInWarningIndex) {
40149
40149
  var _a2;
40150
- const index = await this.getElementIndex(elementInWarningIndex);
40151
- if (index === void 0) {
40150
+ const index2 = await this.getElementIndex(elementInWarningIndex);
40151
+ if (index2 === void 0) {
40152
40152
  return void 0;
40153
40153
  }
40154
- return await ((_a2 = this.document.element) == null ? void 0 : _a2.get(index));
40154
+ return await ((_a2 = this.document.element) == null ? void 0 : _a2.get(index2));
40155
40155
  }
40156
40156
  }
40157
40157
  objectModel.ElementInWarningTable = ElementInWarningTable;
40158
40158
  class BasePoint {
40159
- static async createFromTable(table, index) {
40159
+ static async createFromTable(table, index2) {
40160
40160
  let result = new BasePoint();
40161
- result.index = index;
40161
+ result.index = index2;
40162
40162
  await Promise.all([
40163
- table.getIsSurveyPoint(index).then((v) => result.isSurveyPoint = v),
40164
- table.getPosition_X(index).then((v) => result.position_X = v),
40165
- table.getPosition_Y(index).then((v) => result.position_Y = v),
40166
- table.getPosition_Z(index).then((v) => result.position_Z = v),
40167
- table.getSharedPosition_X(index).then((v) => result.sharedPosition_X = v),
40168
- table.getSharedPosition_Y(index).then((v) => result.sharedPosition_Y = v),
40169
- table.getSharedPosition_Z(index).then((v) => result.sharedPosition_Z = v),
40170
- table.getElementIndex(index).then((v) => result.elementIndex = v)
40163
+ table.getIsSurveyPoint(index2).then((v) => result.isSurveyPoint = v),
40164
+ table.getPosition_X(index2).then((v) => result.position_X = v),
40165
+ table.getPosition_Y(index2).then((v) => result.position_Y = v),
40166
+ table.getPosition_Z(index2).then((v) => result.position_Z = v),
40167
+ table.getSharedPosition_X(index2).then((v) => result.sharedPosition_X = v),
40168
+ table.getSharedPosition_Y(index2).then((v) => result.sharedPosition_Y = v),
40169
+ table.getSharedPosition_Z(index2).then((v) => result.sharedPosition_Z = v),
40170
+ table.getElementIndex(index2).then((v) => result.elementIndex = v)
40171
40171
  ]);
40172
40172
  return result;
40173
40173
  }
@@ -40293,24 +40293,24 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
40293
40293
  }
40294
40294
  async getElement(basePointIndex) {
40295
40295
  var _a2;
40296
- const index = await this.getElementIndex(basePointIndex);
40297
- if (index === void 0) {
40296
+ const index2 = await this.getElementIndex(basePointIndex);
40297
+ if (index2 === void 0) {
40298
40298
  return void 0;
40299
40299
  }
40300
- return await ((_a2 = this.document.element) == null ? void 0 : _a2.get(index));
40300
+ return await ((_a2 = this.document.element) == null ? void 0 : _a2.get(index2));
40301
40301
  }
40302
40302
  }
40303
40303
  objectModel.BasePointTable = BasePointTable;
40304
40304
  class PhaseFilter {
40305
- static async createFromTable(table, index) {
40305
+ static async createFromTable(table, index2) {
40306
40306
  let result = new PhaseFilter();
40307
- result.index = index;
40307
+ result.index = index2;
40308
40308
  await Promise.all([
40309
- table.getNew(index).then((v) => result._new = v),
40310
- table.getExisting(index).then((v) => result.existing = v),
40311
- table.getDemolished(index).then((v) => result.demolished = v),
40312
- table.getTemporary(index).then((v) => result.temporary = v),
40313
- table.getElementIndex(index).then((v) => result.elementIndex = v)
40309
+ table.getNew(index2).then((v) => result._new = v),
40310
+ table.getExisting(index2).then((v) => result.existing = v),
40311
+ table.getDemolished(index2).then((v) => result.demolished = v),
40312
+ table.getTemporary(index2).then((v) => result.temporary = v),
40313
+ table.getElementIndex(index2).then((v) => result.elementIndex = v)
40314
40314
  ]);
40315
40315
  return result;
40316
40316
  }
@@ -40403,34 +40403,34 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
40403
40403
  }
40404
40404
  async getElement(phaseFilterIndex) {
40405
40405
  var _a2;
40406
- const index = await this.getElementIndex(phaseFilterIndex);
40407
- if (index === void 0) {
40406
+ const index2 = await this.getElementIndex(phaseFilterIndex);
40407
+ if (index2 === void 0) {
40408
40408
  return void 0;
40409
40409
  }
40410
- return await ((_a2 = this.document.element) == null ? void 0 : _a2.get(index));
40410
+ return await ((_a2 = this.document.element) == null ? void 0 : _a2.get(index2));
40411
40411
  }
40412
40412
  }
40413
40413
  objectModel.PhaseFilterTable = PhaseFilterTable;
40414
40414
  class Grid {
40415
- static async createFromTable(table, index) {
40415
+ static async createFromTable(table, index2) {
40416
40416
  let result = new Grid();
40417
- result.index = index;
40417
+ result.index = index2;
40418
40418
  await Promise.all([
40419
- table.getStartPoint_X(index).then((v) => result.startPoint_X = v),
40420
- table.getStartPoint_Y(index).then((v) => result.startPoint_Y = v),
40421
- table.getStartPoint_Z(index).then((v) => result.startPoint_Z = v),
40422
- table.getEndPoint_X(index).then((v) => result.endPoint_X = v),
40423
- table.getEndPoint_Y(index).then((v) => result.endPoint_Y = v),
40424
- table.getEndPoint_Z(index).then((v) => result.endPoint_Z = v),
40425
- table.getIsCurved(index).then((v) => result.isCurved = v),
40426
- table.getExtents_Min_X(index).then((v) => result.extents_Min_X = v),
40427
- table.getExtents_Min_Y(index).then((v) => result.extents_Min_Y = v),
40428
- table.getExtents_Min_Z(index).then((v) => result.extents_Min_Z = v),
40429
- table.getExtents_Max_X(index).then((v) => result.extents_Max_X = v),
40430
- table.getExtents_Max_Y(index).then((v) => result.extents_Max_Y = v),
40431
- table.getExtents_Max_Z(index).then((v) => result.extents_Max_Z = v),
40432
- table.getFamilyTypeIndex(index).then((v) => result.familyTypeIndex = v),
40433
- table.getElementIndex(index).then((v) => result.elementIndex = v)
40419
+ table.getStartPoint_X(index2).then((v) => result.startPoint_X = v),
40420
+ table.getStartPoint_Y(index2).then((v) => result.startPoint_Y = v),
40421
+ table.getStartPoint_Z(index2).then((v) => result.startPoint_Z = v),
40422
+ table.getEndPoint_X(index2).then((v) => result.endPoint_X = v),
40423
+ table.getEndPoint_Y(index2).then((v) => result.endPoint_Y = v),
40424
+ table.getEndPoint_Z(index2).then((v) => result.endPoint_Z = v),
40425
+ table.getIsCurved(index2).then((v) => result.isCurved = v),
40426
+ table.getExtents_Min_X(index2).then((v) => result.extents_Min_X = v),
40427
+ table.getExtents_Min_Y(index2).then((v) => result.extents_Min_Y = v),
40428
+ table.getExtents_Min_Z(index2).then((v) => result.extents_Min_Z = v),
40429
+ table.getExtents_Max_X(index2).then((v) => result.extents_Max_X = v),
40430
+ table.getExtents_Max_Y(index2).then((v) => result.extents_Max_Y = v),
40431
+ table.getExtents_Max_Z(index2).then((v) => result.extents_Max_Z = v),
40432
+ table.getFamilyTypeIndex(index2).then((v) => result.familyTypeIndex = v),
40433
+ table.getElementIndex(index2).then((v) => result.elementIndex = v)
40434
40434
  ]);
40435
40435
  return result;
40436
40436
  }
@@ -40627,11 +40627,11 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
40627
40627
  }
40628
40628
  async getFamilyType(gridIndex) {
40629
40629
  var _a2;
40630
- const index = await this.getFamilyTypeIndex(gridIndex);
40631
- if (index === void 0) {
40630
+ const index2 = await this.getFamilyTypeIndex(gridIndex);
40631
+ if (index2 === void 0) {
40632
40632
  return void 0;
40633
40633
  }
40634
- return await ((_a2 = this.document.familyType) == null ? void 0 : _a2.get(index));
40634
+ return await ((_a2 = this.document.familyType) == null ? void 0 : _a2.get(index2));
40635
40635
  }
40636
40636
  async getElementIndex(gridIndex) {
40637
40637
  return await this.entityTable.getNumber(gridIndex, "index:Vim.Element:Element");
@@ -40641,25 +40641,25 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
40641
40641
  }
40642
40642
  async getElement(gridIndex) {
40643
40643
  var _a2;
40644
- const index = await this.getElementIndex(gridIndex);
40645
- if (index === void 0) {
40644
+ const index2 = await this.getElementIndex(gridIndex);
40645
+ if (index2 === void 0) {
40646
40646
  return void 0;
40647
40647
  }
40648
- return await ((_a2 = this.document.element) == null ? void 0 : _a2.get(index));
40648
+ return await ((_a2 = this.document.element) == null ? void 0 : _a2.get(index2));
40649
40649
  }
40650
40650
  }
40651
40651
  objectModel.GridTable = GridTable;
40652
40652
  class Area {
40653
- static async createFromTable(table, index) {
40653
+ static async createFromTable(table, index2) {
40654
40654
  let result = new Area();
40655
- result.index = index;
40655
+ result.index = index2;
40656
40656
  await Promise.all([
40657
- table.getValue(index).then((v) => result.value = v),
40658
- table.getPerimeter(index).then((v) => result.perimeter = v),
40659
- table.getNumber(index).then((v) => result.number = v),
40660
- table.getIsGrossInterior(index).then((v) => result.isGrossInterior = v),
40661
- table.getAreaSchemeIndex(index).then((v) => result.areaSchemeIndex = v),
40662
- table.getElementIndex(index).then((v) => result.elementIndex = v)
40657
+ table.getValue(index2).then((v) => result.value = v),
40658
+ table.getPerimeter(index2).then((v) => result.perimeter = v),
40659
+ table.getNumber(index2).then((v) => result.number = v),
40660
+ table.getIsGrossInterior(index2).then((v) => result.isGrossInterior = v),
40661
+ table.getAreaSchemeIndex(index2).then((v) => result.areaSchemeIndex = v),
40662
+ table.getElementIndex(index2).then((v) => result.elementIndex = v)
40663
40663
  ]);
40664
40664
  return result;
40665
40665
  }
@@ -40757,11 +40757,11 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
40757
40757
  }
40758
40758
  async getAreaScheme(areaIndex) {
40759
40759
  var _a2;
40760
- const index = await this.getAreaSchemeIndex(areaIndex);
40761
- if (index === void 0) {
40760
+ const index2 = await this.getAreaSchemeIndex(areaIndex);
40761
+ if (index2 === void 0) {
40762
40762
  return void 0;
40763
40763
  }
40764
- return await ((_a2 = this.document.areaScheme) == null ? void 0 : _a2.get(index));
40764
+ return await ((_a2 = this.document.areaScheme) == null ? void 0 : _a2.get(index2));
40765
40765
  }
40766
40766
  async getElementIndex(areaIndex) {
40767
40767
  return await this.entityTable.getNumber(areaIndex, "index:Vim.Element:Element");
@@ -40771,21 +40771,21 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
40771
40771
  }
40772
40772
  async getElement(areaIndex) {
40773
40773
  var _a2;
40774
- const index = await this.getElementIndex(areaIndex);
40775
- if (index === void 0) {
40774
+ const index2 = await this.getElementIndex(areaIndex);
40775
+ if (index2 === void 0) {
40776
40776
  return void 0;
40777
40777
  }
40778
- return await ((_a2 = this.document.element) == null ? void 0 : _a2.get(index));
40778
+ return await ((_a2 = this.document.element) == null ? void 0 : _a2.get(index2));
40779
40779
  }
40780
40780
  }
40781
40781
  objectModel.AreaTable = AreaTable;
40782
40782
  class AreaScheme {
40783
- static async createFromTable(table, index) {
40783
+ static async createFromTable(table, index2) {
40784
40784
  let result = new AreaScheme();
40785
- result.index = index;
40785
+ result.index = index2;
40786
40786
  await Promise.all([
40787
- table.getIsGrossBuildingArea(index).then((v) => result.isGrossBuildingArea = v),
40788
- table.getElementIndex(index).then((v) => result.elementIndex = v)
40787
+ table.getIsGrossBuildingArea(index2).then((v) => result.isGrossBuildingArea = v),
40788
+ table.getElementIndex(index2).then((v) => result.elementIndex = v)
40789
40789
  ]);
40790
40790
  return result;
40791
40791
  }
@@ -40845,20 +40845,20 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
40845
40845
  }
40846
40846
  async getElement(areaSchemeIndex) {
40847
40847
  var _a2;
40848
- const index = await this.getElementIndex(areaSchemeIndex);
40849
- if (index === void 0) {
40848
+ const index2 = await this.getElementIndex(areaSchemeIndex);
40849
+ if (index2 === void 0) {
40850
40850
  return void 0;
40851
40851
  }
40852
- return await ((_a2 = this.document.element) == null ? void 0 : _a2.get(index));
40852
+ return await ((_a2 = this.document.element) == null ? void 0 : _a2.get(index2));
40853
40853
  }
40854
40854
  }
40855
40855
  objectModel.AreaSchemeTable = AreaSchemeTable;
40856
40856
  class Schedule {
40857
- static async createFromTable(table, index) {
40857
+ static async createFromTable(table, index2) {
40858
40858
  let result = new Schedule();
40859
- result.index = index;
40859
+ result.index = index2;
40860
40860
  await Promise.all([
40861
- table.getElementIndex(index).then((v) => result.elementIndex = v)
40861
+ table.getElementIndex(index2).then((v) => result.elementIndex = v)
40862
40862
  ]);
40863
40863
  return result;
40864
40864
  }
@@ -40907,22 +40907,22 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
40907
40907
  }
40908
40908
  async getElement(scheduleIndex) {
40909
40909
  var _a2;
40910
- const index = await this.getElementIndex(scheduleIndex);
40911
- if (index === void 0) {
40910
+ const index2 = await this.getElementIndex(scheduleIndex);
40911
+ if (index2 === void 0) {
40912
40912
  return void 0;
40913
40913
  }
40914
- return await ((_a2 = this.document.element) == null ? void 0 : _a2.get(index));
40914
+ return await ((_a2 = this.document.element) == null ? void 0 : _a2.get(index2));
40915
40915
  }
40916
40916
  }
40917
40917
  objectModel.ScheduleTable = ScheduleTable;
40918
40918
  class ScheduleColumn {
40919
- static async createFromTable(table, index) {
40919
+ static async createFromTable(table, index2) {
40920
40920
  let result = new ScheduleColumn();
40921
- result.index = index;
40921
+ result.index = index2;
40922
40922
  await Promise.all([
40923
- table.getName(index).then((v) => result.name = v),
40924
- table.getColumnIndex(index).then((v) => result.columnIndex = v),
40925
- table.getScheduleIndex(index).then((v) => result.scheduleIndex = v)
40923
+ table.getName(index2).then((v) => result.name = v),
40924
+ table.getColumnIndex(index2).then((v) => result.columnIndex = v),
40925
+ table.getScheduleIndex(index2).then((v) => result.scheduleIndex = v)
40926
40926
  ]);
40927
40927
  return result;
40928
40928
  }
@@ -40993,22 +40993,22 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
40993
40993
  }
40994
40994
  async getSchedule(scheduleColumnIndex) {
40995
40995
  var _a2;
40996
- const index = await this.getScheduleIndex(scheduleColumnIndex);
40997
- if (index === void 0) {
40996
+ const index2 = await this.getScheduleIndex(scheduleColumnIndex);
40997
+ if (index2 === void 0) {
40998
40998
  return void 0;
40999
40999
  }
41000
- return await ((_a2 = this.document.schedule) == null ? void 0 : _a2.get(index));
41000
+ return await ((_a2 = this.document.schedule) == null ? void 0 : _a2.get(index2));
41001
41001
  }
41002
41002
  }
41003
41003
  objectModel.ScheduleColumnTable = ScheduleColumnTable;
41004
41004
  class ScheduleCell {
41005
- static async createFromTable(table, index) {
41005
+ static async createFromTable(table, index2) {
41006
41006
  let result = new ScheduleCell();
41007
- result.index = index;
41007
+ result.index = index2;
41008
41008
  await Promise.all([
41009
- table.getValue(index).then((v) => result.value = v),
41010
- table.getRowIndex(index).then((v) => result.rowIndex = v),
41011
- table.getScheduleColumnIndex(index).then((v) => result.scheduleColumnIndex = v)
41009
+ table.getValue(index2).then((v) => result.value = v),
41010
+ table.getRowIndex(index2).then((v) => result.rowIndex = v),
41011
+ table.getScheduleColumnIndex(index2).then((v) => result.scheduleColumnIndex = v)
41012
41012
  ]);
41013
41013
  return result;
41014
41014
  }
@@ -41079,20 +41079,20 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
41079
41079
  }
41080
41080
  async getScheduleColumn(scheduleCellIndex) {
41081
41081
  var _a2;
41082
- const index = await this.getScheduleColumnIndex(scheduleCellIndex);
41083
- if (index === void 0) {
41082
+ const index2 = await this.getScheduleColumnIndex(scheduleCellIndex);
41083
+ if (index2 === void 0) {
41084
41084
  return void 0;
41085
41085
  }
41086
- return await ((_a2 = this.document.scheduleColumn) == null ? void 0 : _a2.get(index));
41086
+ return await ((_a2 = this.document.scheduleColumn) == null ? void 0 : _a2.get(index2));
41087
41087
  }
41088
41088
  }
41089
41089
  objectModel.ScheduleCellTable = ScheduleCellTable;
41090
41090
  class ViewSheetSet {
41091
- static async createFromTable(table, index) {
41091
+ static async createFromTable(table, index2) {
41092
41092
  let result = new ViewSheetSet();
41093
- result.index = index;
41093
+ result.index = index2;
41094
41094
  await Promise.all([
41095
- table.getElementIndex(index).then((v) => result.elementIndex = v)
41095
+ table.getElementIndex(index2).then((v) => result.elementIndex = v)
41096
41096
  ]);
41097
41097
  return result;
41098
41098
  }
@@ -41141,21 +41141,21 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
41141
41141
  }
41142
41142
  async getElement(viewSheetSetIndex) {
41143
41143
  var _a2;
41144
- const index = await this.getElementIndex(viewSheetSetIndex);
41145
- if (index === void 0) {
41144
+ const index2 = await this.getElementIndex(viewSheetSetIndex);
41145
+ if (index2 === void 0) {
41146
41146
  return void 0;
41147
41147
  }
41148
- return await ((_a2 = this.document.element) == null ? void 0 : _a2.get(index));
41148
+ return await ((_a2 = this.document.element) == null ? void 0 : _a2.get(index2));
41149
41149
  }
41150
41150
  }
41151
41151
  objectModel.ViewSheetSetTable = ViewSheetSetTable;
41152
41152
  class ViewSheet {
41153
- static async createFromTable(table, index) {
41153
+ static async createFromTable(table, index2) {
41154
41154
  let result = new ViewSheet();
41155
- result.index = index;
41155
+ result.index = index2;
41156
41156
  await Promise.all([
41157
- table.getFamilyTypeIndex(index).then((v) => result.familyTypeIndex = v),
41158
- table.getElementIndex(index).then((v) => result.elementIndex = v)
41157
+ table.getFamilyTypeIndex(index2).then((v) => result.familyTypeIndex = v),
41158
+ table.getElementIndex(index2).then((v) => result.elementIndex = v)
41159
41159
  ]);
41160
41160
  return result;
41161
41161
  }
@@ -41209,11 +41209,11 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
41209
41209
  }
41210
41210
  async getFamilyType(viewSheetIndex) {
41211
41211
  var _a2;
41212
- const index = await this.getFamilyTypeIndex(viewSheetIndex);
41213
- if (index === void 0) {
41212
+ const index2 = await this.getFamilyTypeIndex(viewSheetIndex);
41213
+ if (index2 === void 0) {
41214
41214
  return void 0;
41215
41215
  }
41216
- return await ((_a2 = this.document.familyType) == null ? void 0 : _a2.get(index));
41216
+ return await ((_a2 = this.document.familyType) == null ? void 0 : _a2.get(index2));
41217
41217
  }
41218
41218
  async getElementIndex(viewSheetIndex) {
41219
41219
  return await this.entityTable.getNumber(viewSheetIndex, "index:Vim.Element:Element");
@@ -41223,21 +41223,21 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
41223
41223
  }
41224
41224
  async getElement(viewSheetIndex) {
41225
41225
  var _a2;
41226
- const index = await this.getElementIndex(viewSheetIndex);
41227
- if (index === void 0) {
41226
+ const index2 = await this.getElementIndex(viewSheetIndex);
41227
+ if (index2 === void 0) {
41228
41228
  return void 0;
41229
41229
  }
41230
- return await ((_a2 = this.document.element) == null ? void 0 : _a2.get(index));
41230
+ return await ((_a2 = this.document.element) == null ? void 0 : _a2.get(index2));
41231
41231
  }
41232
41232
  }
41233
41233
  objectModel.ViewSheetTable = ViewSheetTable;
41234
41234
  class ViewSheetInViewSheetSet {
41235
- static async createFromTable(table, index) {
41235
+ static async createFromTable(table, index2) {
41236
41236
  let result = new ViewSheetInViewSheetSet();
41237
- result.index = index;
41237
+ result.index = index2;
41238
41238
  await Promise.all([
41239
- table.getViewSheetIndex(index).then((v) => result.viewSheetIndex = v),
41240
- table.getViewSheetSetIndex(index).then((v) => result.viewSheetSetIndex = v)
41239
+ table.getViewSheetIndex(index2).then((v) => result.viewSheetIndex = v),
41240
+ table.getViewSheetSetIndex(index2).then((v) => result.viewSheetSetIndex = v)
41241
41241
  ]);
41242
41242
  return result;
41243
41243
  }
@@ -41291,11 +41291,11 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
41291
41291
  }
41292
41292
  async getViewSheet(viewSheetInViewSheetSetIndex) {
41293
41293
  var _a2;
41294
- const index = await this.getViewSheetIndex(viewSheetInViewSheetSetIndex);
41295
- if (index === void 0) {
41294
+ const index2 = await this.getViewSheetIndex(viewSheetInViewSheetSetIndex);
41295
+ if (index2 === void 0) {
41296
41296
  return void 0;
41297
41297
  }
41298
- return await ((_a2 = this.document.viewSheet) == null ? void 0 : _a2.get(index));
41298
+ return await ((_a2 = this.document.viewSheet) == null ? void 0 : _a2.get(index2));
41299
41299
  }
41300
41300
  async getViewSheetSetIndex(viewSheetInViewSheetSetIndex) {
41301
41301
  return await this.entityTable.getNumber(viewSheetInViewSheetSetIndex, "index:Vim.ViewSheetSet:ViewSheetSet");
@@ -41305,21 +41305,21 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
41305
41305
  }
41306
41306
  async getViewSheetSet(viewSheetInViewSheetSetIndex) {
41307
41307
  var _a2;
41308
- const index = await this.getViewSheetSetIndex(viewSheetInViewSheetSetIndex);
41309
- if (index === void 0) {
41308
+ const index2 = await this.getViewSheetSetIndex(viewSheetInViewSheetSetIndex);
41309
+ if (index2 === void 0) {
41310
41310
  return void 0;
41311
41311
  }
41312
- return await ((_a2 = this.document.viewSheetSet) == null ? void 0 : _a2.get(index));
41312
+ return await ((_a2 = this.document.viewSheetSet) == null ? void 0 : _a2.get(index2));
41313
41313
  }
41314
41314
  }
41315
41315
  objectModel.ViewSheetInViewSheetSetTable = ViewSheetInViewSheetSetTable;
41316
41316
  class ViewInViewSheetSet {
41317
- static async createFromTable(table, index) {
41317
+ static async createFromTable(table, index2) {
41318
41318
  let result = new ViewInViewSheetSet();
41319
- result.index = index;
41319
+ result.index = index2;
41320
41320
  await Promise.all([
41321
- table.getViewIndex(index).then((v) => result.viewIndex = v),
41322
- table.getViewSheetSetIndex(index).then((v) => result.viewSheetSetIndex = v)
41321
+ table.getViewIndex(index2).then((v) => result.viewIndex = v),
41322
+ table.getViewSheetSetIndex(index2).then((v) => result.viewSheetSetIndex = v)
41323
41323
  ]);
41324
41324
  return result;
41325
41325
  }
@@ -41373,11 +41373,11 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
41373
41373
  }
41374
41374
  async getView(viewInViewSheetSetIndex) {
41375
41375
  var _a2;
41376
- const index = await this.getViewIndex(viewInViewSheetSetIndex);
41377
- if (index === void 0) {
41376
+ const index2 = await this.getViewIndex(viewInViewSheetSetIndex);
41377
+ if (index2 === void 0) {
41378
41378
  return void 0;
41379
41379
  }
41380
- return await ((_a2 = this.document.view) == null ? void 0 : _a2.get(index));
41380
+ return await ((_a2 = this.document.view) == null ? void 0 : _a2.get(index2));
41381
41381
  }
41382
41382
  async getViewSheetSetIndex(viewInViewSheetSetIndex) {
41383
41383
  return await this.entityTable.getNumber(viewInViewSheetSetIndex, "index:Vim.ViewSheetSet:ViewSheetSet");
@@ -41387,21 +41387,21 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
41387
41387
  }
41388
41388
  async getViewSheetSet(viewInViewSheetSetIndex) {
41389
41389
  var _a2;
41390
- const index = await this.getViewSheetSetIndex(viewInViewSheetSetIndex);
41391
- if (index === void 0) {
41390
+ const index2 = await this.getViewSheetSetIndex(viewInViewSheetSetIndex);
41391
+ if (index2 === void 0) {
41392
41392
  return void 0;
41393
41393
  }
41394
- return await ((_a2 = this.document.viewSheetSet) == null ? void 0 : _a2.get(index));
41394
+ return await ((_a2 = this.document.viewSheetSet) == null ? void 0 : _a2.get(index2));
41395
41395
  }
41396
41396
  }
41397
41397
  objectModel.ViewInViewSheetSetTable = ViewInViewSheetSetTable;
41398
41398
  class ViewInViewSheet {
41399
- static async createFromTable(table, index) {
41399
+ static async createFromTable(table, index2) {
41400
41400
  let result = new ViewInViewSheet();
41401
- result.index = index;
41401
+ result.index = index2;
41402
41402
  await Promise.all([
41403
- table.getViewIndex(index).then((v) => result.viewIndex = v),
41404
- table.getViewSheetIndex(index).then((v) => result.viewSheetIndex = v)
41403
+ table.getViewIndex(index2).then((v) => result.viewIndex = v),
41404
+ table.getViewSheetIndex(index2).then((v) => result.viewSheetIndex = v)
41405
41405
  ]);
41406
41406
  return result;
41407
41407
  }
@@ -41455,11 +41455,11 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
41455
41455
  }
41456
41456
  async getView(viewInViewSheetIndex) {
41457
41457
  var _a2;
41458
- const index = await this.getViewIndex(viewInViewSheetIndex);
41459
- if (index === void 0) {
41458
+ const index2 = await this.getViewIndex(viewInViewSheetIndex);
41459
+ if (index2 === void 0) {
41460
41460
  return void 0;
41461
41461
  }
41462
- return await ((_a2 = this.document.view) == null ? void 0 : _a2.get(index));
41462
+ return await ((_a2 = this.document.view) == null ? void 0 : _a2.get(index2));
41463
41463
  }
41464
41464
  async getViewSheetIndex(viewInViewSheetIndex) {
41465
41465
  return await this.entityTable.getNumber(viewInViewSheetIndex, "index:Vim.ViewSheet:ViewSheet");
@@ -41469,25 +41469,25 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
41469
41469
  }
41470
41470
  async getViewSheet(viewInViewSheetIndex) {
41471
41471
  var _a2;
41472
- const index = await this.getViewSheetIndex(viewInViewSheetIndex);
41473
- if (index === void 0) {
41472
+ const index2 = await this.getViewSheetIndex(viewInViewSheetIndex);
41473
+ if (index2 === void 0) {
41474
41474
  return void 0;
41475
41475
  }
41476
- return await ((_a2 = this.document.viewSheet) == null ? void 0 : _a2.get(index));
41476
+ return await ((_a2 = this.document.viewSheet) == null ? void 0 : _a2.get(index2));
41477
41477
  }
41478
41478
  }
41479
41479
  objectModel.ViewInViewSheetTable = ViewInViewSheetTable;
41480
41480
  class Site {
41481
- static async createFromTable(table, index) {
41481
+ static async createFromTable(table, index2) {
41482
41482
  let result = new Site();
41483
- result.index = index;
41483
+ result.index = index2;
41484
41484
  await Promise.all([
41485
- table.getLatitude(index).then((v) => result.latitude = v),
41486
- table.getLongitude(index).then((v) => result.longitude = v),
41487
- table.getAddress(index).then((v) => result.address = v),
41488
- table.getElevation(index).then((v) => result.elevation = v),
41489
- table.getNumber(index).then((v) => result.number = v),
41490
- table.getElementIndex(index).then((v) => result.elementIndex = v)
41485
+ table.getLatitude(index2).then((v) => result.latitude = v),
41486
+ table.getLongitude(index2).then((v) => result.longitude = v),
41487
+ table.getAddress(index2).then((v) => result.address = v),
41488
+ table.getElevation(index2).then((v) => result.elevation = v),
41489
+ table.getNumber(index2).then((v) => result.number = v),
41490
+ table.getElementIndex(index2).then((v) => result.elementIndex = v)
41491
41491
  ]);
41492
41492
  return result;
41493
41493
  }
@@ -41591,24 +41591,24 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
41591
41591
  }
41592
41592
  async getElement(siteIndex) {
41593
41593
  var _a2;
41594
- const index = await this.getElementIndex(siteIndex);
41595
- if (index === void 0) {
41594
+ const index2 = await this.getElementIndex(siteIndex);
41595
+ if (index2 === void 0) {
41596
41596
  return void 0;
41597
41597
  }
41598
- return await ((_a2 = this.document.element) == null ? void 0 : _a2.get(index));
41598
+ return await ((_a2 = this.document.element) == null ? void 0 : _a2.get(index2));
41599
41599
  }
41600
41600
  }
41601
41601
  objectModel.SiteTable = SiteTable;
41602
41602
  class Building {
41603
- static async createFromTable(table, index) {
41603
+ static async createFromTable(table, index2) {
41604
41604
  let result = new Building();
41605
- result.index = index;
41605
+ result.index = index2;
41606
41606
  await Promise.all([
41607
- table.getElevation(index).then((v) => result.elevation = v),
41608
- table.getTerrainElevation(index).then((v) => result.terrainElevation = v),
41609
- table.getAddress(index).then((v) => result.address = v),
41610
- table.getSiteIndex(index).then((v) => result.siteIndex = v),
41611
- table.getElementIndex(index).then((v) => result.elementIndex = v)
41607
+ table.getElevation(index2).then((v) => result.elevation = v),
41608
+ table.getTerrainElevation(index2).then((v) => result.terrainElevation = v),
41609
+ table.getAddress(index2).then((v) => result.address = v),
41610
+ table.getSiteIndex(index2).then((v) => result.siteIndex = v),
41611
+ table.getElementIndex(index2).then((v) => result.elementIndex = v)
41612
41612
  ]);
41613
41613
  return result;
41614
41614
  }
@@ -41695,11 +41695,11 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
41695
41695
  }
41696
41696
  async getSite(buildingIndex) {
41697
41697
  var _a2;
41698
- const index = await this.getSiteIndex(buildingIndex);
41699
- if (index === void 0) {
41698
+ const index2 = await this.getSiteIndex(buildingIndex);
41699
+ if (index2 === void 0) {
41700
41700
  return void 0;
41701
41701
  }
41702
- return await ((_a2 = this.document.site) == null ? void 0 : _a2.get(index));
41702
+ return await ((_a2 = this.document.site) == null ? void 0 : _a2.get(index2));
41703
41703
  }
41704
41704
  async getElementIndex(buildingIndex) {
41705
41705
  return await this.entityTable.getNumber(buildingIndex, "index:Vim.Element:Element");
@@ -41709,11 +41709,11 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
41709
41709
  }
41710
41710
  async getElement(buildingIndex) {
41711
41711
  var _a2;
41712
- const index = await this.getElementIndex(buildingIndex);
41713
- if (index === void 0) {
41712
+ const index2 = await this.getElementIndex(buildingIndex);
41713
+ if (index2 === void 0) {
41714
41714
  return void 0;
41715
41715
  }
41716
- return await ((_a2 = this.document.element) == null ? void 0 : _a2.get(index));
41716
+ return await ((_a2 = this.document.element) == null ? void 0 : _a2.get(index2));
41717
41717
  }
41718
41718
  }
41719
41719
  objectModel.BuildingTable = BuildingTable;
@@ -41837,8 +41837,8 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
41837
41837
  return void 0;
41838
41838
  if (!getParameterDescriptorIndices)
41839
41839
  return void 0;
41840
- const getParameterDisplayValue = (index) => {
41841
- const value = parameterValues[index];
41840
+ const getParameterDisplayValue = (index2) => {
41841
+ const value = parameterValues[index2];
41842
41842
  const split2 = value.indexOf("|");
41843
41843
  if (split2 >= 0) {
41844
41844
  return value.substring(split2 + 1, value.length);
@@ -42178,7 +42178,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
42178
42178
  );
42179
42179
  }
42180
42180
  function fillBuffers(g3d2, buffer, info) {
42181
- let index = 0;
42181
+ let index2 = 0;
42182
42182
  let vertex2 = 0;
42183
42183
  let offset = 0;
42184
42184
  const matrix = new Matrix4();
@@ -42186,7 +42186,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
42186
42186
  for (let i2 = 0; i2 < info.instances.length; i2++) {
42187
42187
  const instance = info.instances[i2];
42188
42188
  const mesh = g3d2.getInstanceMesh(instance);
42189
- buffer.groups[i2] = index;
42189
+ buffer.groups[i2] = index2;
42190
42190
  const subStart = g3d2.getMeshSubmeshStart(mesh, info.section);
42191
42191
  const subEnd = g3d2.getMeshSubmeshEnd(mesh, info.section);
42192
42192
  for (let sub = subStart; sub < subEnd; sub++) {
@@ -42195,7 +42195,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
42195
42195
  const end = g3d2.getSubmeshIndexEnd(sub);
42196
42196
  for (let s = start; s < end; s++) {
42197
42197
  const newIndex = g3d2.indices[s] + offset;
42198
- buffer.indices[index++] = newIndex;
42198
+ buffer.indices[index2++] = newIndex;
42199
42199
  const v = newIndex * buffer.colorSize;
42200
42200
  buffer.colors[v] = subColor[0];
42201
42201
  buffer.colors[v + 1] = subColor[1];
@@ -42392,12 +42392,12 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
42392
42392
  }
42393
42393
  }
42394
42394
  class InsertableSubmesh {
42395
- constructor(mesh, index) {
42395
+ constructor(mesh, index2) {
42396
42396
  __publicField(this, "mesh");
42397
42397
  __publicField(this, "index");
42398
42398
  __publicField(this, "_colors");
42399
42399
  this.mesh = mesh;
42400
- this.index = index;
42400
+ this.index = index2;
42401
42401
  }
42402
42402
  equals(other) {
42403
42403
  return this.mesh === other.mesh && this.index === other.index;
@@ -44508,10 +44508,10 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
44508
44508
  submesh.instance = mesh.scene.instanceNodes[instance];
44509
44509
  submesh.start = indexOffset + indexOut;
44510
44510
  const vertexMergeOffset = vertexCount * instanceIndex;
44511
- for (let index = indexStart; index < indexEnd; index++) {
44511
+ for (let index2 = indexStart; index2 < indexEnd; index2++) {
44512
44512
  this.setIndex(
44513
44513
  indexOffset + indexOut,
44514
- vertexOffset + vertexMergeOffset + mesh.chunk.indices[index] - sectionOffset
44514
+ vertexOffset + vertexMergeOffset + mesh.chunk.indices[index2] - sectionOffset
44515
44515
  );
44516
44516
  indexOut++;
44517
44517
  }
@@ -44581,8 +44581,8 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
44581
44581
  const color = g3d2.getSubmeshColor(sub);
44582
44582
  const indexStart = g3d2.getSubmeshIndexStart(sub);
44583
44583
  const indexEnd = g3d2.getSubmeshIndexEnd(sub);
44584
- for (let index = indexStart; index < indexEnd; index++) {
44585
- const v = vertexOffset + mergeOffset + g3d2.indices[index];
44584
+ for (let index2 = indexStart; index2 < indexEnd; index2++) {
44585
+ const v = vertexOffset + mergeOffset + g3d2.indices[index2];
44586
44586
  this.setIndex(indexOffset + indexOut, v);
44587
44587
  this.setColor(v, color, 0.25);
44588
44588
  indexOut++;
@@ -44603,16 +44603,16 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
44603
44603
  this._meshToUpdate.add(mesh);
44604
44604
  return added;
44605
44605
  }
44606
- setIndex(index, value) {
44607
- this._indexAttribute.setX(index, value);
44606
+ setIndex(index2, value) {
44607
+ this._indexAttribute.setX(index2, value);
44608
44608
  }
44609
- setVertex(index, vector) {
44610
- this._vertexAttribute.setXYZ(index, vector.x, vector.y, vector.z);
44609
+ setVertex(index2, vector) {
44610
+ this._vertexAttribute.setXYZ(index2, vector.x, vector.y, vector.z);
44611
44611
  }
44612
- setColor(index, color, alpha) {
44613
- this._colorAttribute.setXYZ(index, color[0], color[1], color[2]);
44612
+ setColor(index2, color, alpha) {
44613
+ this._colorAttribute.setXYZ(index2, color[0], color[1], color[2]);
44614
44614
  if (this._colorAttribute.itemSize === 4) {
44615
- this._colorAttribute.setW(index, alpha);
44615
+ this._colorAttribute.setW(index2, alpha);
44616
44616
  }
44617
44617
  }
44618
44618
  expandBox(box) {
@@ -45839,8 +45839,8 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
45839
45839
  *
45840
45840
  * @returns Returns submesh for given index.
45841
45841
  */
45842
- getSubmesh(index) {
45843
- return new InsertableSubmesh(this, index);
45842
+ getSubmesh(index2) {
45843
+ return new InsertableSubmesh(this, index2);
45844
45844
  }
45845
45845
  /**
45846
45846
  * Overrides mesh material, set to undefine to restore initial material.
@@ -45862,11 +45862,11 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
45862
45862
  }
45863
45863
  }
45864
45864
  class InstancedSubmesh {
45865
- constructor(mesh, index) {
45865
+ constructor(mesh, index2) {
45866
45866
  __publicField(this, "mesh");
45867
45867
  __publicField(this, "index");
45868
45868
  this.mesh = mesh;
45869
- this.index = index;
45869
+ this.index = index2;
45870
45870
  }
45871
45871
  equals(other) {
45872
45872
  return this.mesh === other.mesh && this.index === other.index;
@@ -45929,8 +45929,8 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
45929
45929
  /**
45930
45930
  * Returns submesh for given index.
45931
45931
  */
45932
- getSubMesh(index) {
45933
- return new InstancedSubmesh(this, index);
45932
+ getSubMesh(index2) {
45933
+ return new InstancedSubmesh(this, index2);
45934
45934
  }
45935
45935
  /**
45936
45936
  * Returns all submeshes for given index.
@@ -46162,13 +46162,13 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
46162
46162
  }
46163
46163
  return promises;
46164
46164
  }
46165
- async merge(mesh, index) {
46165
+ async merge(mesh, index2) {
46166
46166
  const m = await this.getMesh(mesh);
46167
- this.mergeQueue.push(() => this.mergeAction(m, index));
46167
+ this.mergeQueue.push(() => this.mergeAction(m, index2));
46168
46168
  }
46169
- async instance(mesh, index) {
46169
+ async instance(mesh, index2) {
46170
46170
  const m = await this.getMesh(mesh);
46171
- this.instanceQueue.push(() => this.instanceAction(m, index));
46171
+ this.instanceQueue.push(() => this.instanceAction(m, index2));
46172
46172
  }
46173
46173
  }
46174
46174
  function getFullSettings(option) {
@@ -46216,8 +46216,8 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
46216
46216
  this._uniques,
46217
46217
  this._nonUniques,
46218
46218
  (mesh) => localVimx.getMesh(mesh),
46219
- (mesh, index) => this.mergeMesh(mesh, index),
46220
- (mesh, index) => this.instanceMesh(mesh, this._nonUniques.getMeshInstances(index))
46219
+ (mesh, index2) => this.mergeMesh(mesh, index2),
46220
+ (mesh, index2) => this.instanceMesh(mesh, this._nonUniques.getMeshInstances(index2))
46221
46221
  );
46222
46222
  return this;
46223
46223
  }
@@ -46236,7 +46236,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
46236
46236
  }
46237
46237
  this._started = true;
46238
46238
  const fullSettings = getFullSettings(settings2);
46239
- this._synchronizer.loadAll();
46239
+ void this._synchronizer.loadAll();
46240
46240
  let lastUpdate = Date.now();
46241
46241
  while (true) {
46242
46242
  await this.nextFrame();
@@ -46256,9 +46256,9 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
46256
46256
  async nextFrame() {
46257
46257
  return new Promise((resolve) => setTimeout(resolve, 0));
46258
46258
  }
46259
- mergeMesh(g3dMesh2, index) {
46260
- this._transparentMesh.insert(g3dMesh2, index);
46261
- this._opaqueMesh.insert(g3dMesh2, index);
46259
+ mergeMesh(g3dMesh2, index2) {
46260
+ this._transparentMesh.insert(g3dMesh2, index2);
46261
+ this._opaqueMesh.insert(g3dMesh2, index2);
46262
46262
  }
46263
46263
  instanceMesh(g3dMesh2, instances) {
46264
46264
  const opaque = this._meshFactory.createOpaque(g3dMesh2, instances);
@@ -46348,14 +46348,14 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
46348
46348
  * @mesh subset-based mesh index
46349
46349
  * @index mesh-based instance index
46350
46350
  */
46351
- getMeshInstance(mesh, index) {
46352
- return this.subset.getMeshInstance(mesh, index);
46351
+ getMeshInstance(mesh, index2) {
46352
+ return this.subset.getMeshInstance(mesh, index2);
46353
46353
  }
46354
46354
  /**
46355
46355
  * Returns the source-based mesh index at given index
46356
46356
  */
46357
- getSourceMesh(index) {
46358
- return this.subset.getSourceMesh(index);
46357
+ getSourceMesh(index2) {
46358
+ return this.subset.getSourceMesh(index2);
46359
46359
  }
46360
46360
  }
46361
46361
  class G3dSubset {
@@ -46425,8 +46425,8 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
46425
46425
  * Returns source-based mesh index.
46426
46426
  * @param index subset-based mesh index
46427
46427
  */
46428
- getSourceMesh(index) {
46429
- return this._meshes[index];
46428
+ getSourceMesh(index2) {
46429
+ return this._meshes[index2];
46430
46430
  }
46431
46431
  /**
46432
46432
  * Returns total mesh count in subset.
@@ -46479,8 +46479,8 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
46479
46479
  * @param mesh subset-based mesh index.
46480
46480
  * @param index mesh-based instance index
46481
46481
  */
46482
- getMeshInstance(mesh, index) {
46483
- return this._meshInstances[mesh][index];
46482
+ getMeshInstance(mesh, index2) {
46483
+ return this._meshInstances[mesh][index2];
46484
46484
  }
46485
46485
  /**
46486
46486
  * Returns a new subset that only contains unique meshes.
@@ -46649,6 +46649,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
46649
46649
  getFullSet() {
46650
46650
  return new G3dSubset(this.factory.g3d);
46651
46651
  }
46652
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
46652
46653
  loadSubset(subset, settings2) {
46653
46654
  this.factory.add(subset);
46654
46655
  this._onUpdate.dispatch();
@@ -47140,11 +47141,11 @@ data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAZAAAAGQCAYAAACAvzbMAAAAAXNSR0IArs
47140
47141
  }
47141
47142
  const combineMerge = (target, source, options) => {
47142
47143
  const destination = target.slice();
47143
- source.forEach((item, index) => {
47144
- if (typeof destination[index] === "undefined") {
47145
- destination[index] = options.cloneUnlessOtherwiseSpecified(item, options);
47144
+ source.forEach((item, index2) => {
47145
+ if (typeof destination[index2] === "undefined") {
47146
+ destination[index2] = options.cloneUnlessOtherwiseSpecified(item, options);
47146
47147
  } else if (options.isMergeableObject(item)) {
47147
- destination[index] = deepmerge(target[index], item, options);
47148
+ destination[index2] = deepmerge(target[index2], item, options);
47148
47149
  } else if (target.indexOf(item) === -1) {
47149
47150
  destination.push(item);
47150
47151
  }
@@ -48181,12 +48182,12 @@ data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAZAAAAGQCAYAAACAvzbMAAAAAXNSR0IArs
48181
48182
  }
48182
48183
  }
48183
48184
  class SimpleInstanceSubmesh {
48184
- constructor(mesh, index) {
48185
+ constructor(mesh, index2) {
48185
48186
  __publicField(this, "mesh");
48186
48187
  __publicField(this, "index");
48187
48188
  __publicField(this, "merged", false);
48188
48189
  this.mesh = mesh;
48189
- this.index = index;
48190
+ this.index = index2;
48190
48191
  }
48191
48192
  get three() {
48192
48193
  return this.mesh;
@@ -48201,8 +48202,8 @@ data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAZAAAAGQCAYAAACAvzbMAAAAAXNSR0IArs
48201
48202
  this._mesh = this.createMesh(void 0, 1, 0);
48202
48203
  this._mesh.count = 0;
48203
48204
  }
48204
- getMarkerFromIndex(index) {
48205
- return this._markers[index];
48205
+ getMarkerFromIndex(index2) {
48206
+ return this._markers[index2];
48206
48207
  }
48207
48208
  createMesh(previous, capacity, count) {
48208
48209
  const geometry = (previous == null ? void 0 : previous.geometry) ?? new SphereGeometry(1, 8, 8);
@@ -48253,14 +48254,14 @@ data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAZAAAAGQCAYAAACAvzbMAAAAAXNSR0IArs
48253
48254
  * @param {GizmoMarker} marker - The marker to remove.
48254
48255
  */
48255
48256
  remove(marker) {
48256
- const index = this._markers.findIndex((m) => m === marker);
48257
- if (index < 0) return;
48258
- this._markers[index] = this._markers[this._markers.length - 1];
48257
+ const index2 = this._markers.findIndex((m) => m === marker);
48258
+ if (index2 < 0) return;
48259
+ this._markers[index2] = this._markers[this._markers.length - 1];
48259
48260
  this._markers.length -= 1;
48260
48261
  this._mesh.count -= 1;
48261
- const replacement2 = this._markers[index];
48262
+ const replacement2 = this._markers[index2];
48262
48263
  if (replacement2) {
48263
- const sub = new SimpleInstanceSubmesh(this._mesh, index);
48264
+ const sub = new SimpleInstanceSubmesh(this._mesh, index2);
48264
48265
  replacement2.updateMesh(sub);
48265
48266
  }
48266
48267
  this._viewer.renderer.needsUpdate = true;
@@ -50940,10 +50941,10 @@ data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAZAAAAGQCAYAAACAvzbMAAAAAXNSR0IArs
50940
50941
  const vEnd = new Vector3$1();
50941
50942
  const interSegment = new Vector3$1();
50942
50943
  const step = this instanceof LineSegments ? 2 : 1;
50943
- const index = geometry.index;
50944
+ const index2 = geometry.index;
50944
50945
  const attributes = geometry.attributes;
50945
- if (index !== null) {
50946
- const indices = index.array;
50946
+ if (index2 !== null) {
50947
+ const indices = index2.array;
50947
50948
  const positions = attributes.position.array;
50948
50949
  const widths = attributes.width.array;
50949
50950
  for (let i2 = 0, l = indices.length - 1; i2 < l; i2 += step) {
@@ -52719,14 +52720,14 @@ data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAZAAAAGQCAYAAACAvzbMAAAAAXNSR0IArs
52719
52720
  this.passes.push(pass);
52720
52721
  pass.setSize(this._width * this._pixelRatio, this._height * this._pixelRatio);
52721
52722
  }
52722
- insertPass(pass, index) {
52723
- this.passes.splice(index, 0, pass);
52723
+ insertPass(pass, index2) {
52724
+ this.passes.splice(index2, 0, pass);
52724
52725
  pass.setSize(this._width * this._pixelRatio, this._height * this._pixelRatio);
52725
52726
  }
52726
52727
  removePass(pass) {
52727
- const index = this.passes.indexOf(pass);
52728
- if (index !== -1) {
52729
- this.passes.splice(index, 1);
52728
+ const index2 = this.passes.indexOf(pass);
52729
+ if (index2 !== -1) {
52730
+ this.passes.splice(index2, 1);
52730
52731
  }
52731
52732
  }
52732
52733
  isLastEnabledPass(passIndex) {
@@ -54142,7 +54143,7 @@ data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAZAAAAGQCAYAAACAvzbMAAAAAXNSR0IArs
54142
54143
  matrices.forEach((m, i2) => mesh.setMatrixAt(i2, m));
54143
54144
  return mesh;
54144
54145
  }
54145
- const VIM = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
54146
+ const index$3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
54146
54147
  __proto__: null,
54147
54148
  AxesSettings,
54148
54149
  DefaultInputScheme,
@@ -56905,8 +56906,8 @@ data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAZAAAAGQCAYAAACAvzbMAAAAAXNSR0IArs
56905
56906
  var toIntegerOrInfinity$1 = toIntegerOrInfinity$2;
56906
56907
  var max = Math.max;
56907
56908
  var min$1 = Math.min;
56908
- var toAbsoluteIndex$1 = function(index, length) {
56909
- var integer = toIntegerOrInfinity$1(index);
56909
+ var toAbsoluteIndex$1 = function(index2, length) {
56910
+ var integer = toIntegerOrInfinity$1(index2);
56910
56911
  return integer < 0 ? max(integer + length, 0) : min$1(integer, length);
56911
56912
  };
56912
56913
  var toIntegerOrInfinity = toIntegerOrInfinity$2;
@@ -56925,14 +56926,14 @@ data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAZAAAAGQCAYAAACAvzbMAAAAAXNSR0IArs
56925
56926
  return function($this, el, fromIndex) {
56926
56927
  var O = toIndexedObject$2($this);
56927
56928
  var length = lengthOfArrayLike$1(O);
56928
- var index = toAbsoluteIndex(fromIndex, length);
56929
+ var index2 = toAbsoluteIndex(fromIndex, length);
56929
56930
  var value;
56930
- if (IS_INCLUDES && el != el) while (length > index) {
56931
- value = O[index++];
56931
+ if (IS_INCLUDES && el != el) while (length > index2) {
56932
+ value = O[index2++];
56932
56933
  if (value != value) return true;
56933
56934
  }
56934
- else for (; length > index; index++) {
56935
- if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0;
56935
+ else for (; length > index2; index2++) {
56936
+ if ((IS_INCLUDES || index2 in O) && O[index2] === el) return IS_INCLUDES || index2 || 0;
56936
56937
  }
56937
56938
  return !IS_INCLUDES && -1;
56938
56939
  };
@@ -57178,15 +57179,15 @@ data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAZAAAAGQCAYAAACAvzbMAAAAAXNSR0IArs
57178
57179
  var self2 = IndexedObject(O);
57179
57180
  var boundFunction = bind(callbackfn, that);
57180
57181
  var length = lengthOfArrayLike(self2);
57181
- var index = 0;
57182
+ var index2 = 0;
57182
57183
  var create2 = specificCreate || arraySpeciesCreate;
57183
57184
  var target = IS_MAP ? create2($this, length) : IS_FILTER || IS_FILTER_REJECT ? create2($this, 0) : void 0;
57184
57185
  var value, result;
57185
- for (; length > index; index++) if (NO_HOLES || index in self2) {
57186
- value = self2[index];
57187
- result = boundFunction(value, index, O);
57186
+ for (; length > index2; index2++) if (NO_HOLES || index2 in self2) {
57187
+ value = self2[index2];
57188
+ result = boundFunction(value, index2, O);
57188
57189
  if (TYPE) {
57189
- if (IS_MAP) target[index] = result;
57190
+ if (IS_MAP) target[index2] = result;
57190
57191
  else if (result) switch (TYPE) {
57191
57192
  case 3:
57192
57193
  return true;
@@ -57195,7 +57196,7 @@ data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAZAAAAGQCAYAAACAvzbMAAAAAXNSR0IArs
57195
57196
  return value;
57196
57197
  // find
57197
57198
  case 6:
57198
- return index;
57199
+ return index2;
57199
57200
  // findIndex
57200
57201
  case 2:
57201
57202
  push(target, value);
@@ -57255,9 +57256,9 @@ data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAZAAAAGQCAYAAACAvzbMAAAAAXNSR0IArs
57255
57256
  var props = toIndexedObject(Properties);
57256
57257
  var keys2 = objectKeys(Properties);
57257
57258
  var length = keys2.length;
57258
- var index = 0;
57259
+ var index2 = 0;
57259
57260
  var key;
57260
- while (length > index) definePropertyModule.f(O, key = keys2[index++], props[key]);
57261
+ while (length > index2) definePropertyModule.f(O, key = keys2[index2++], props[key]);
57261
57262
  return O;
57262
57263
  };
57263
57264
  var getBuiltIn = getBuiltIn$5;
@@ -57888,8 +57889,8 @@ data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAZAAAAGQCAYAAACAvzbMAAAAAXNSR0IArs
57888
57889
  if (nodeList.hasOwnProperty) {
57889
57890
  return Array.prototype.slice.call(nodeList);
57890
57891
  }
57891
- return new Array(length).fill().map(function(index) {
57892
- return nodeList[index];
57892
+ return new Array(length).fill().map(function(index2) {
57893
+ return nodeList[index2];
57893
57894
  });
57894
57895
  }
57895
57896
  function generateUUID() {
@@ -58812,7 +58813,7 @@ data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAZAAAAGQCAYAAACAvzbMAAAAAXNSR0IArs
58812
58813
  function arrowLeft({ height, width, fill, className }) {
58813
58814
  return /* @__PURE__ */ jsxRuntimeExports.jsxs("svg", { className, height, width, viewBox: "0 0 256 256", children: [
58814
58815
  /* @__PURE__ */ jsxRuntimeExports.jsx("path", { fill: "none", d: "M0 0h256v256H0z" }),
58815
- /* @__PURE__ */ jsxRuntimeExports.jsx("path", { d: "m161.905 202.207.019-.017c6.547-5.937 7.04-16.057 1.102-22.602L118.457 128l44.569-51.588c5.938-6.546 5.444-16.666-1.102-22.602l-.019-.017c-6.545-5.935-16.662-5.442-22.599 1.102l-54.33 62.348c-5.536 6.103-5.536 15.411 0 21.514l54.33 62.348c5.936 6.544 16.054 7.038 22.599 1.102Z" })
58816
+ /* @__PURE__ */ jsxRuntimeExports.jsx("path", { fill, d: "m161.905 202.207.019-.017c6.547-5.937 7.04-16.057 1.102-22.602L118.457 128l44.569-51.588c5.938-6.546 5.444-16.666-1.102-22.602l-.019-.017c-6.545-5.935-16.662-5.442-22.599 1.102l-54.33 62.348c-5.536 6.103-5.536 15.411 0 21.514l54.33 62.348c5.936 6.544 16.054 7.038 22.599 1.102Z" })
58816
58817
  ] });
58817
58818
  }
58818
58819
  function fullArrowLeft({ height, width, fill, className }) {
@@ -62191,8 +62192,8 @@ data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAZAAAAGQCAYAAACAvzbMAAAAAXNSR0IArs
62191
62192
  programmaticallyDraggingTarget: "\n <p>Drop target is {dropTarget}.</p>\n "
62192
62193
  };
62193
62194
  var resolveLiveDescriptor = function(descriptor, environment, dnd, tree, keyboardBindings) {
62194
- var getItemTitle = function(index) {
62195
- return environment.getItemTitle(environment.items[index]);
62195
+ var getItemTitle = function(index2) {
62196
+ return environment.getItemTitle(environment.items[index2]);
62196
62197
  };
62197
62198
  return descriptor.replace(/({[^\s}]+)}/g, function(variableNameWithBrackets) {
62198
62199
  var _a2, _b2, _c;
@@ -63157,7 +63158,7 @@ data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAZAAAAGQCAYAAACAvzbMAAAAAXNSR0IArs
63157
63158
  const children = [];
63158
63159
  let disabledChildrenCount = 0;
63159
63160
  let disabledChildIndexes = {};
63160
- const childCollector = (child, index) => {
63161
+ const childCollector = (child, index2) => {
63161
63162
  if (!child) {
63162
63163
  return;
63163
63164
  }
@@ -63166,7 +63167,7 @@ data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAZAAAAGQCAYAAACAvzbMAAAAAXNSR0IArs
63166
63167
  } else if (!child.props.divider) {
63167
63168
  if (child.props.disabled) {
63168
63169
  ++disabledChildrenCount;
63169
- disabledChildIndexes[index] = true;
63170
+ disabledChildIndexes[index2] = true;
63170
63171
  }
63171
63172
  children.push(child);
63172
63173
  }
@@ -64413,9 +64414,9 @@ data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAZAAAAGQCAYAAACAvzbMAAAAAXNSR0IArs
64413
64414
  }
64414
64415
  },
64415
64416
  onFocusItem: (item) => {
64416
- const index = item.index;
64417
- setFocusedItem(index);
64418
- updateViewerFocus(props.viewer, props.treeData, index);
64417
+ const index2 = item.index;
64418
+ setFocusedItem(index2);
64419
+ updateViewerFocus(props.viewer, props.treeData, index2);
64419
64420
  },
64420
64421
  onExpandItem: (item) => {
64421
64422
  setExpandedItems([...expandedItems, item.index]);
@@ -64433,23 +64434,23 @@ data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAZAAAAGQCAYAAACAvzbMAAAAAXNSR0IArs
64433
64434
  }
64434
64435
  );
64435
64436
  }
64436
- function toggleVisibility(viewer, isolation, tree, index) {
64437
- const objs = tree.getLeafs(index).map(
64437
+ function toggleVisibility(viewer, isolation, tree, index2) {
64438
+ const objs = tree.getLeafs(index2).map(
64438
64439
  (n) => {
64439
64440
  var _a2, _b2;
64440
64441
  return (_b2 = viewer.vims[0]) == null ? void 0 : _b2.getObjectFromElement((_a2 = tree.nodes[n]) == null ? void 0 : _a2.data.index);
64441
64442
  }
64442
64443
  );
64443
- const visibility = tree.nodes[index].visible;
64444
+ const visibility = tree.nodes[index2].visible;
64444
64445
  if (visibility !== "vim-visible") {
64445
64446
  isolation.show(objs, "tree");
64446
64447
  } else {
64447
64448
  isolation.hide(objs, "tree");
64448
64449
  }
64449
64450
  }
64450
- function updateViewerFocus(viewer, tree, index) {
64451
+ function updateViewerFocus(viewer, tree, index2) {
64451
64452
  var _a2;
64452
- const node = tree.nodes[index];
64453
+ const node = tree.nodes[index2];
64453
64454
  const obj = viewer.vims[0].getObjectFromElement((_a2 = node.data) == null ? void 0 : _a2.index);
64454
64455
  viewer.selection.focus(obj);
64455
64456
  }
@@ -64639,8 +64640,8 @@ data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAZAAAAGQCAYAAACAvzbMAAAAAXNSR0IArs
64639
64640
  const max2 = Math.max(start, end);
64640
64641
  const result = [];
64641
64642
  for (const node of Object.values(this.nodes)) {
64642
- const index = node.index;
64643
- if (index >= min2 && index <= max2) result.push(index);
64643
+ const index2 = node.index;
64644
+ if (index2 >= min2 && index2 <= max2) result.push(index2);
64644
64645
  }
64645
64646
  return result;
64646
64647
  }
@@ -65050,9 +65051,9 @@ data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAZAAAAGQCAYAAACAvzbMAAAAAXNSR0IArs
65050
65051
  key: `g.title-${i2}`
65051
65052
  }));
65052
65053
  }
65053
- function parameterToEntry(element, index) {
65054
+ function parameterToEntry(element, index2) {
65054
65055
  return {
65055
- key: `${element.name ?? ""}-${index}`,
65056
+ key: `${element.name ?? ""}-${index2}`,
65056
65057
  label: element.name ?? "",
65057
65058
  value: element.value ?? ""
65058
65059
  };
@@ -65477,8 +65478,8 @@ data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAZAAAAGQCAYAAACAvzbMAAAAAXNSR0IArs
65477
65478
  if (snapGap === void 0) {
65478
65479
  snapGap = 0;
65479
65480
  }
65480
- var closestGapIndex = snapArray.reduce(function(prev, curr, index) {
65481
- return Math.abs(curr - n) < Math.abs(snapArray[prev] - n) ? index : prev;
65481
+ var closestGapIndex = snapArray.reduce(function(prev, curr, index2) {
65482
+ return Math.abs(curr - n) < Math.abs(snapArray[prev] - n) ? index2 : prev;
65482
65483
  }, 0);
65483
65484
  var gap = Math.abs(snapArray[closestGapIndex] - n);
65484
65485
  return snapGap === 0 || gap < snapGap ? snapArray[closestGapIndex] : n;
@@ -66753,14 +66754,14 @@ data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAZAAAAGQCAYAAACAvzbMAAAAAXNSR0IArs
66753
66754
  return this._default.onKeyAction(key);
66754
66755
  }
66755
66756
  }
66756
- function getLocalComponentSettings(settings2 = {}) {
66757
+ function getLocalSettings(settings2 = {}) {
66757
66758
  try {
66758
66759
  const json = localStorage.getItem("component.settings");
66759
66760
  const previous = JSON.parse(json);
66760
66761
  applyPermission(previous, settings2);
66761
66762
  return previous ?? {};
66762
66763
  } catch (e) {
66763
- console.error("Could not read local storage");
66764
+ console.error("Could not read local storage ", e);
66764
66765
  return {};
66765
66766
  }
66766
66767
  }
@@ -66769,6 +66770,7 @@ data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAZAAAAGQCAYAAACAvzbMAAAAAXNSR0IArs
66769
66770
  const save = removePermission(value);
66770
66771
  localStorage.setItem("component.settings", JSON.stringify(save));
66771
66772
  } catch (error) {
66773
+ console.error("Could not save settings to local storage ", error);
66772
66774
  }
66773
66775
  }
66774
66776
  function applyPermission(previous, current) {
@@ -66786,15 +66788,15 @@ data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAZAAAAGQCAYAAACAvzbMAAAAAXNSR0IArs
66786
66788
  }
66787
66789
  function removePermission(settings2) {
66788
66790
  const clone = structuredClone(settings2);
66791
+ const ui = clone.ui;
66789
66792
  for (const k of Object.keys(clone.ui)) {
66790
- const u = clone.ui;
66791
- if (u[k] === "AlwaysTrue") {
66792
- u[k] = true;
66793
+ if (ui[k] === "AlwaysTrue") {
66794
+ ui[k] = true;
66793
66795
  }
66794
- if (u[k] === "AlwaysFalse") {
66795
- u[k] = false;
66796
+ if (ui[k] === "AlwaysFalse") {
66797
+ ui[k] = false;
66796
66798
  }
66797
- u[k] = u[k] === true;
66799
+ ui[k] = ui[k] === true;
66798
66800
  }
66799
66801
  return clone;
66800
66802
  }
@@ -69510,7 +69512,7 @@ data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAZAAAAGQCAYAAACAvzbMAAAAAXNSR0IArs
69510
69512
  const batches = batchArray(colors, this.batchSize);
69511
69513
  const promises = batches.map(async (batch) => {
69512
69514
  const id2 = await this.rpc.RPCCreateMaterialInstances(materialHandle, smoothness, batch);
69513
- return Array.from({ length: batch.length }, (_, index) => id2 + index);
69515
+ return Array.from({ length: batch.length }, (_, index2) => id2 + index2);
69514
69516
  });
69515
69517
  const handles = await Promise.all(promises);
69516
69518
  const result = handles.flat();
@@ -71084,8 +71086,8 @@ Averrage Date/Second ${avgDataRatePS} kb
71084
71086
  for (let i2 = 0; i2 < colors.length; i2++) {
71085
71087
  const color = toCreate[i2];
71086
71088
  const indices = hexToIndices.get(color.hex);
71087
- for (const index of indices) {
71088
- result[index] = colors[i2];
71089
+ for (const index2 of indices) {
71090
+ result[index2] = colors[i2];
71089
71091
  }
71090
71092
  }
71091
71093
  return result;
@@ -71470,8 +71472,8 @@ Averrage Date/Second ${avgDataRatePS} kb
71470
71472
  * @param index - The index of the Vim instance.
71471
71473
  * @returns The Vim instance or undefined if the index is out of bounds.
71472
71474
  */
71473
- getAt(index) {
71474
- return this._vims[index];
71475
+ getAt(index2) {
71476
+ return this._vims[index2];
71475
71477
  }
71476
71478
  /**
71477
71479
  * Gets all Vim instances.
@@ -71919,7 +71921,7 @@ Averrage Date/Second ${avgDataRatePS} kb
71919
71921
  window.onbeforeunload = null;
71920
71922
  }
71921
71923
  }
71922
- const ultraViewerIndex = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
71924
+ const index$2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
71923
71925
  __proto__: null,
71924
71926
  Box3,
71925
71927
  ColorHandle,
@@ -72071,9 +72073,9 @@ Averrage Date/Second ${avgDataRatePS} kb
72071
72073
  function useModal(canFollowLinks) {
72072
72074
  const [modal, setModal] = React2.useState([]);
72073
72075
  const refModal = React2.useRef(modal);
72074
- const update = (value, index) => {
72076
+ const update = (value, index2) => {
72075
72077
  refModal.current = [...refModal.current];
72076
- refModal.current[index] = value;
72078
+ refModal.current[index2] = value;
72077
72079
  setModal(refModal.current);
72078
72080
  };
72079
72081
  return {
@@ -72191,10 +72193,10 @@ Averrage Date/Second ${avgDataRatePS} kb
72191
72193
  return /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: `vc-text-base vc-font-bold ${vcColorPrimary}`, children: title2 });
72192
72194
  }
72193
72195
  function dotList(elements) {
72194
- return /* @__PURE__ */ jsxRuntimeExports.jsx("ul", { className: `vc-space-y-1 vc-ml-5 ${vcColorPrimary} vc-mb-4`, children: elements.filter((v) => v).map((element, index) => /* @__PURE__ */ jsxRuntimeExports.jsx("li", { className: "vc-list-disc vc-text-base vc-font-normal", children: element }, index)) });
72196
+ return /* @__PURE__ */ jsxRuntimeExports.jsx("ul", { className: `vc-space-y-1 vc-ml-5 ${vcColorPrimary} vc-mb-4`, children: elements.filter((v) => v).map((element, index2) => /* @__PURE__ */ jsxRuntimeExports.jsx("li", { className: "vc-list-disc vc-text-base vc-font-normal", children: element }, index2)) });
72195
72197
  }
72196
72198
  function numList(elements) {
72197
- return /* @__PURE__ */ jsxRuntimeExports.jsx("ul", { className: `vc-space-y-1 vc-ml-5 ${vcColorPrimary} vc-mb-4`, children: elements.filter((v) => v).map((element, index) => /* @__PURE__ */ jsxRuntimeExports.jsx("li", { className: "vc-list-decimal vc-text-base vc-font-normal", children: element }, index)) });
72199
+ return /* @__PURE__ */ jsxRuntimeExports.jsx("ul", { className: `vc-space-y-1 vc-ml-5 ${vcColorPrimary} vc-mb-4`, children: elements.filter((v) => v).map((element, index2) => /* @__PURE__ */ jsxRuntimeExports.jsx("li", { className: "vc-list-decimal vc-text-base vc-font-normal", children: element }, index2)) });
72198
72200
  }
72199
72201
  function bullet(label, value) {
72200
72202
  return /* @__PURE__ */ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [
@@ -72435,8 +72437,8 @@ Averrage Date/Second ${avgDataRatePS} kb
72435
72437
  function ToRef(viewer, modal) {
72436
72438
  function load(url) {
72437
72439
  const request2 = viewer.loadVim(url);
72438
- updateProgress(request2, modal);
72439
- request2.getResult().then(
72440
+ void updateProgress(request2, modal);
72441
+ void request2.getResult().then(
72440
72442
  (result) => {
72441
72443
  if (result.isError) {
72442
72444
  modal.message(getRequestErrorMessage(url, result.error));
@@ -72463,11 +72465,6 @@ Averrage Date/Second ${avgDataRatePS} kb
72463
72465
  modal.loading({ message: "Loading File...", progress });
72464
72466
  }
72465
72467
  }
72466
- const ultraComponent = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
72467
- __proto__: null,
72468
- UltraComponent,
72469
- createUltraComponent
72470
- }, Symbol.toStringTag, { value: "Module" }));
72471
72468
  class ComponentLoader {
72472
72469
  constructor(viewer, modal) {
72473
72470
  __publicField(this, "_viewer");
@@ -72504,12 +72501,12 @@ Averrage Date/Second ${avgDataRatePS} kb
72504
72501
  * Receives progress logs as input.
72505
72502
  */
72506
72503
  async open(source, settings2, onProgress) {
72507
- const request$1 = await request(source, settings2);
72508
- for await (const progress of request$1.getProgress()) {
72504
+ const request2 = this.request(source, settings2);
72505
+ for await (const progress of request2.getProgress()) {
72509
72506
  onProgress == null ? void 0 : onProgress(progress);
72510
72507
  this.onProgress(progress);
72511
72508
  }
72512
- const result = await request$1.getResult();
72509
+ const result = await request2.getResult();
72513
72510
  if (result.isError()) {
72514
72511
  console.log("Error loading vim", result.error);
72515
72512
  this.onError({
@@ -72561,7 +72558,7 @@ Averrage Date/Second ${avgDataRatePS} kb
72561
72558
  }
72562
72559
  });
72563
72560
  if (settings2.loadEmpty !== true) {
72564
- vim.loadAll();
72561
+ void vim.loadAll();
72565
72562
  }
72566
72563
  }
72567
72564
  }
@@ -72738,25 +72735,29 @@ Averrage Date/Second ${avgDataRatePS} kb
72738
72735
  )
72739
72736
  ] });
72740
72737
  }
72741
- const webglComponent = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
72738
+ const index$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
72742
72739
  __proto__: null,
72743
72740
  BimInfo: bimInfoData,
72744
72741
  ContextMenu: contextMenu,
72745
72742
  ControlBar: controlBar,
72746
72743
  Icons: icons,
72747
72744
  LoadRequest: LoadRequest$1,
72748
- THREE: three_module,
72749
- VIM,
72750
72745
  VimComponent,
72751
72746
  createContainer,
72752
72747
  createWebglComponent,
72753
72748
  defaultSettings,
72754
- getLocalSettings: getLocalComponentSettings
72749
+ getLocalSettings
72750
+ }, Symbol.toStringTag, { value: "Module" }));
72751
+ const index = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
72752
+ __proto__: null,
72753
+ UltraComponent,
72754
+ createUltraComponent
72755
72755
  }, Symbol.toStringTag, { value: "Module" }));
72756
- exports.UltraReact = ultraComponent;
72757
- exports.UltraViewer = ultraViewerIndex;
72758
- exports.WebglReact = webglComponent;
72759
- exports.WebglViewer = VIM;
72756
+ exports.THREE = three_module;
72757
+ exports.UltraReact = index;
72758
+ exports.UltraViewer = index$2;
72759
+ exports.WebglReact = index$1;
72760
+ exports.WebglViewer = index$3;
72760
72761
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
72761
72762
  return exports;
72762
72763
  }({}, React, ReactDOM);