@realsee/dnalogel 3.63.4-alpha.1 → 3.63.4-alpha.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (438) hide show
  1. package/dist/MeasurePlugin/Controller.d.ts +1 -0
  2. package/dist/index.cjs.js +19 -19
  3. package/dist/index.js +213 -206
  4. package/dist/index.umd.js +19 -19
  5. package/dist/shared-utils/three/PointSelector/index.d.ts +4 -0
  6. package/docs/classes/AreaMakerPluginType.AreaMakerController.html +2 -2
  7. package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +2 -2
  8. package/docs/classes/CSS3DRender.html +2 -2
  9. package/docs/classes/GuideLineItem.GuideLineItem.html +2 -2
  10. package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +2 -2
  11. package/docs/classes/ModelMakerPluginInstance.html +2 -2
  12. package/docs/classes/ModelRoomLabelController.html +2 -2
  13. package/docs/classes/MoveController.html +2 -2
  14. package/docs/classes/Object3DHelperController.html +2 -2
  15. package/docs/classes/PaintBrush.html +2 -2
  16. package/docs/classes/PanoMeasurePluginLine.html +2 -2
  17. package/docs/classes/PanoMeasurePluginModel.html +2 -2
  18. package/docs/classes/PanoMeasurePluginPoint.html +2 -2
  19. package/docs/classes/PanoMeasurePluginPolyline.html +2 -2
  20. package/docs/classes/PanoTagPluginController.html +2 -2
  21. package/docs/classes/Sculpt.html +2 -2
  22. package/docs/classes/Util.BetterTween.html +2 -2
  23. package/docs/classes/Util.FiveDomEvents.html +2 -2
  24. package/docs/classes/Util.FivePuppet.html +2 -2
  25. package/docs/classes/Util.Interval.html +2 -2
  26. package/docs/classes/Util.LightTag.html +2 -2
  27. package/docs/classes/Util.LineSegments.html +2 -2
  28. package/docs/classes/Util.Magnifier.html +2 -2
  29. package/docs/classes/Util.Object3D.html +2 -2
  30. package/docs/classes/Util.PointHelper.html +2 -2
  31. package/docs/classes/Util.PointSelector.html +12 -12
  32. package/docs/classes/Util.PointSelectorHelper.html +2 -2
  33. package/docs/classes/Util.Rectangle.html +2 -2
  34. package/docs/classes/Util.sculpt.BaseEditor.html +2 -2
  35. package/docs/classes/Util.sculpt.BoxMesh.html +2 -2
  36. package/docs/classes/Util.sculpt.BoxMeshEditor.html +2 -2
  37. package/docs/classes/Util.sculpt.CircleMesh.html +2 -2
  38. package/docs/classes/Util.sculpt.CircleMeshEditor.html +2 -2
  39. package/docs/classes/Util.sculpt.CircleWithEdgeMesh.html +2 -2
  40. package/docs/classes/Util.sculpt.CylinderMesh.html +2 -2
  41. package/docs/classes/Util.sculpt.CylinderMeshEditor.html +2 -2
  42. package/docs/classes/Util.sculpt.LineMesh.html +2 -2
  43. package/docs/classes/Util.sculpt.PointMesh.html +2 -2
  44. package/docs/classes/Util.sculpt.PolygonMesh.html +2 -2
  45. package/docs/classes/Util.sculpt.PrismMesh.html +2 -2
  46. package/docs/classes/Util.sculpt.PrismMeshEditor.html +2 -2
  47. package/docs/classes/Util.sculpt.RectangleMesh.html +2 -2
  48. package/docs/classes/Util.sculpt.RectangleMeshEditor.html +2 -2
  49. package/docs/classes/Util.sculpt.RectangleWithEdgeMesh.html +2 -2
  50. package/docs/classes/WalkController.html +2 -2
  51. package/docs/enums/CameraMovementEffect.html +2 -2
  52. package/docs/enums/ContentType.html +2 -2
  53. package/docs/enums/DIRECTION.html +2 -2
  54. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +2 -2
  55. package/docs/enums/DimensionType.html +2 -2
  56. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +2 -2
  57. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +2 -2
  58. package/docs/enums/PaintBrushTypeEnum.html +2 -2
  59. package/docs/enums/PointType.html +2 -2
  60. package/docs/enums/Rotation.html +2 -2
  61. package/docs/functions/AreaMakerPlugin.html +1 -1
  62. package/docs/functions/CSS3DRenderPlugin.html +1 -1
  63. package/docs/functions/CameraMovementPlugin.html +2 -2
  64. package/docs/functions/CruisePlugin.html +1 -1
  65. package/docs/functions/CurrentPanoImagePlugin.html +1 -1
  66. package/docs/functions/GuideLinePlugin.html +1 -1
  67. package/docs/functions/ItemLabelPlugin.html +1 -1
  68. package/docs/functions/MapviewFloorplanPlugin.html +1 -1
  69. package/docs/functions/MeasurePlugin.html +1 -1
  70. package/docs/functions/ModelChassisCompassPlugin.html +2 -2
  71. package/docs/functions/ModelEntryDoorGuidePlugin.html +2 -2
  72. package/docs/functions/ModelFloorplanPlugin.html +1 -1
  73. package/docs/functions/ModelItemLabelPlugin.html +1 -1
  74. package/docs/functions/ModelMakerPlugin.html +1 -1
  75. package/docs/functions/ModelRoomLabelPlugin.html +1 -1
  76. package/docs/functions/ModelTVVideoPlugin.html +1 -1
  77. package/docs/functions/ModelViewPlugin.html +2 -2
  78. package/docs/functions/MovePlugin.html +1 -1
  79. package/docs/functions/Object3DHelperPlugin.html +1 -1
  80. package/docs/functions/PanoCompassPlugin.html +1 -1
  81. package/docs/functions/PanoCursorRaycasterPlugin.html +2 -2
  82. package/docs/functions/PanoDoorLabelPlugin.html +1 -1
  83. package/docs/functions/PanoFloorplanRadarPlugin.html +1 -1
  84. package/docs/functions/PanoMeasurePlugin.html +1 -1
  85. package/docs/functions/PanoRulerPlugin.html +2 -2
  86. package/docs/functions/PanoRulerProPlugin.html +2 -2
  87. package/docs/functions/PanoSpatialTagPlugin.html +2 -2
  88. package/docs/functions/PanoTagPlugin.html +1 -1
  89. package/docs/functions/PanoVideoPlugin.html +2 -2
  90. package/docs/functions/PipelinePlugin.html +1 -1
  91. package/docs/functions/SculptPlugin.html +2 -2
  92. package/docs/functions/TopviewFloorplanPlugin.html +1 -1
  93. package/docs/functions/Util.absoluteUrl.html +2 -2
  94. package/docs/functions/Util.awaitNextFrame.html +1 -1
  95. package/docs/functions/Util.blink.html +2 -2
  96. package/docs/functions/Util.bounding.html +1 -1
  97. package/docs/functions/Util.boundingBox.html +1 -1
  98. package/docs/functions/Util.boundingSphere.html +1 -1
  99. package/docs/functions/Util.boxVertex.html +2 -2
  100. package/docs/functions/Util.boxVertexes.html +1 -1
  101. package/docs/functions/Util.checkFiveModelLoaded.html +2 -2
  102. package/docs/functions/Util.convexHull.html +2 -2
  103. package/docs/functions/Util.equal.html +2 -2
  104. package/docs/functions/Util.fiveModelIsLoaded.html +2 -2
  105. package/docs/functions/Util.getCoordsFromClient.html +1 -1
  106. package/docs/functions/Util.getCoordsFromElement.html +1 -1
  107. package/docs/functions/Util.getFrameTime.html +2 -2
  108. package/docs/functions/Util.initialCSS3DRender.html +1 -1
  109. package/docs/functions/Util.inside.html +1 -1
  110. package/docs/functions/Util.isAbsoluteURL.html +1 -1
  111. package/docs/functions/Util.isModelLike.html +1 -1
  112. package/docs/functions/Util.isNil.html +2 -2
  113. package/docs/functions/Util.isPanoramaLike.html +1 -1
  114. package/docs/functions/Util.lookObject.html +2 -2
  115. package/docs/functions/Util.lookPoint.html +2 -2
  116. package/docs/functions/Util.nextFrame.html +1 -1
  117. package/docs/functions/Util.notNil.html +2 -2
  118. package/docs/functions/Util.reblink.html +2 -2
  119. package/docs/functions/Util.requestAnimationFrameInterval.html +2 -2
  120. package/docs/functions/Util.sculpt.createBox.html +1 -1
  121. package/docs/functions/Util.sculpt.createCircle.html +1 -1
  122. package/docs/functions/Util.sculpt.createCylinder.html +1 -1
  123. package/docs/functions/Util.sculpt.createLine.html +2 -2
  124. package/docs/functions/Util.sculpt.createPoint.html +1 -1
  125. package/docs/functions/Util.sculpt.createPolygon.html +1 -1
  126. package/docs/functions/Util.sculpt.createPrism.html +1 -1
  127. package/docs/functions/Util.sculpt.createRectangle.html +2 -2
  128. package/docs/functions/Util.tag.html +1 -1
  129. package/docs/functions/Util.tweenProgress.html +1 -1
  130. package/docs/functions/Util.uuid.html +2 -2
  131. package/docs/functions/Util.waitFiveModelLoaded.html +2 -2
  132. package/docs/functions/Util.worldBounding.html +1 -1
  133. package/docs/functions/Util.worldBoundingBox.html +1 -1
  134. package/docs/functions/Util.worldBoundingSphere.html +1 -1
  135. package/docs/functions/createPolyline.html +2 -2
  136. package/docs/functions/pluginFlag.html +1 -1
  137. package/docs/hierarchy.html +1 -1
  138. package/docs/index.html +2 -2
  139. package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +2 -2
  140. package/docs/interfaces/AreaMakerPluginType.Config.html +2 -2
  141. package/docs/interfaces/AreaMakerPluginType.EventMap.html +2 -2
  142. package/docs/interfaces/AreaMakerPluginType.Params.html +2 -2
  143. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +2 -2
  144. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +2 -2
  145. package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +2 -2
  146. package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +2 -2
  147. package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +2 -2
  148. package/docs/interfaces/AreaMakerPluginType.State.html +2 -2
  149. package/docs/interfaces/CSS3DRenderPluginEventMap.html +2 -2
  150. package/docs/interfaces/CSS3DRenderPluginState.html +2 -2
  151. package/docs/interfaces/CameraMovementPluginExportType.html +2 -2
  152. package/docs/interfaces/ContentTypeMapInterface.html +2 -2
  153. package/docs/interfaces/CruisePluginTypes.Config.html +2 -2
  154. package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +2 -2
  155. package/docs/interfaces/CruisePluginTypes.EventMap.html +2 -2
  156. package/docs/interfaces/CruisePluginTypes.GuildLineConfig.html +2 -2
  157. package/docs/interfaces/CruisePluginTypes.MoveAction.html +2 -2
  158. package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +2 -2
  159. package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +2 -2
  160. package/docs/interfaces/CruisePluginTypes.PluginData.html +2 -2
  161. package/docs/interfaces/CruisePluginTypes.PluginServerData.html +2 -2
  162. package/docs/interfaces/CruisePluginTypes.PluginState.html +2 -2
  163. package/docs/interfaces/CurrentPanoImagePluginType.Config.html +2 -2
  164. package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +2 -2
  165. package/docs/interfaces/CurrentPanoImagePluginType.Params.html +2 -2
  166. package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +2 -2
  167. package/docs/interfaces/CurrentPanoImagePluginType.State.html +2 -2
  168. package/docs/interfaces/FloorplanBounding.html +2 -2
  169. package/docs/interfaces/FloorplanData.html +2 -2
  170. package/docs/interfaces/FloorplanEntrance.html +2 -2
  171. package/docs/interfaces/FloorplanExtraObject.html +2 -2
  172. package/docs/interfaces/FloorplanExtraObject3D.html +2 -2
  173. package/docs/interfaces/FloorplanFloorData.html +2 -2
  174. package/docs/interfaces/FloorplanImagePosition.html +2 -2
  175. package/docs/interfaces/FloorplanObserver.html +2 -2
  176. package/docs/interfaces/FloorplanOutlineItem.html +2 -2
  177. package/docs/interfaces/FloorplanPosition.html +2 -2
  178. package/docs/interfaces/FloorplanRoomItem.html +2 -2
  179. package/docs/interfaces/FloorplanRoomLabelItem.html +2 -2
  180. package/docs/interfaces/FloorplanServerBounding.html +2 -2
  181. package/docs/interfaces/FloorplanServerComputedData.html +2 -2
  182. package/docs/interfaces/FloorplanServerData.html +2 -2
  183. package/docs/interfaces/FloorplanServerDoorItem.html +2 -2
  184. package/docs/interfaces/FloorplanServerDoorPosition.html +2 -2
  185. package/docs/interfaces/FloorplanServerEntrance.html +2 -2
  186. package/docs/interfaces/FloorplanServerFloorData.html +2 -2
  187. package/docs/interfaces/FloorplanServerImagePosition.html +2 -2
  188. package/docs/interfaces/FloorplanServerObserver.html +2 -2
  189. package/docs/interfaces/FloorplanServerOutlineItem.html +2 -2
  190. package/docs/interfaces/FloorplanServerPosition.html +2 -2
  191. package/docs/interfaces/FloorplanServerRoomItem.html +2 -2
  192. package/docs/interfaces/FloorplanServerRoomLabelItem.html +2 -2
  193. package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +2 -2
  194. package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +2 -2
  195. package/docs/interfaces/GuideLinePluginType.EventMap.html +2 -2
  196. package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +2 -2
  197. package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +2 -2
  198. package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +2 -2
  199. package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +2 -2
  200. package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +2 -2
  201. package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +2 -2
  202. package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +2 -2
  203. package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +2 -2
  204. package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +1 -1
  205. package/docs/interfaces/GuideLinePluginType.PluginServerData.html +2 -2
  206. package/docs/interfaces/GuideLinePluginType.PluginState.html +2 -2
  207. package/docs/interfaces/GuideLinePluginType.Route.html +2 -2
  208. package/docs/interfaces/GuideLinePluginType.RouteConfig.html +2 -2
  209. package/docs/interfaces/HelperOffset.html +2 -2
  210. package/docs/interfaces/ImagePlaneGroup.html +2 -2
  211. package/docs/interfaces/ItemLabelPluginData.html +2 -2
  212. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +2 -2
  213. package/docs/interfaces/ItemLabelPluginParametersType.html +2 -2
  214. package/docs/interfaces/MinMax.html +2 -2
  215. package/docs/interfaces/ModelChassisCompassPluginData.html +2 -2
  216. package/docs/interfaces/ModelChassisCompassPluginExportType.html +2 -2
  217. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +2 -2
  218. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +2 -2
  219. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +2 -2
  220. package/docs/interfaces/ModelItemLabelPluginData.html +2 -2
  221. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +2 -2
  222. package/docs/interfaces/ModelItemLabelPluginParametersType.html +2 -2
  223. package/docs/interfaces/ModelMakerPluginType.EventMap.html +2 -2
  224. package/docs/interfaces/ModelMakerPluginType.ServerBaseItem.html +2 -2
  225. package/docs/interfaces/ModelMakerPluginType.ServerBoxItem.html +2 -2
  226. package/docs/interfaces/ModelMakerPluginType.ServerData.html +2 -2
  227. package/docs/interfaces/ModelMakerPluginType.ServerPrismItem.html +2 -2
  228. package/docs/interfaces/ModelMakerPluginType.ServerTrianglesItem.html +2 -2
  229. package/docs/interfaces/ModelMakerPluginType.State.html +2 -2
  230. package/docs/interfaces/ModelRoomLabelPluginData.html +2 -2
  231. package/docs/interfaces/ModelTVVideoPluginData.html +2 -2
  232. package/docs/interfaces/ModelTVVideoPluginExportType.html +2 -2
  233. package/docs/interfaces/ModelTVVideoPluginParameterType.html +2 -2
  234. package/docs/interfaces/ModelViewPluginExportType.html +2 -2
  235. package/docs/interfaces/Object3DHelperState.html +2 -2
  236. package/docs/interfaces/ObjectHelperControllers.html +2 -2
  237. package/docs/interfaces/PaintBrushAction.html +2 -2
  238. package/docs/interfaces/PaintBrushConfigs.html +2 -2
  239. package/docs/interfaces/PaintBrushState.html +2 -2
  240. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +2 -2
  241. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +1 -1
  242. package/docs/interfaces/PanoMeasureParameterType.html +2 -2
  243. package/docs/interfaces/PanoMeasurePluginLineJson.html +2 -2
  244. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +2 -2
  245. package/docs/interfaces/PanoMeasurePluginPointJson.html +2 -2
  246. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +2 -2
  247. package/docs/interfaces/PanoRulerPluginExportType.html +2 -2
  248. package/docs/interfaces/PanoRulerPluginOptions.html +2 -2
  249. package/docs/interfaces/PanoRulerPluginParameterType.html +2 -2
  250. package/docs/interfaces/PanoRulerProPluginExportType.html +2 -2
  251. package/docs/interfaces/PanoRulerProPluginOptions.html +2 -2
  252. package/docs/interfaces/PanoRulerProPluginParameterType.html +2 -2
  253. package/docs/interfaces/PanoRulerProPluginState.html +2 -2
  254. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +1 -1
  255. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +1 -1
  256. package/docs/interfaces/PanoSpatialTagPluginData.html +2 -2
  257. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +2 -2
  258. package/docs/interfaces/PanoSpatialTagPluginExportType.html +2 -2
  259. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +2 -2
  260. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +2 -2
  261. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +2 -2
  262. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +2 -2
  263. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +2 -2
  264. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +2 -2
  265. package/docs/interfaces/PanoVideoPluginType.PluginData.html +2 -2
  266. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +2 -2
  267. package/docs/interfaces/PanoVideoPluginType.PluginState.html +2 -2
  268. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +2 -2
  269. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +2 -2
  270. package/docs/interfaces/PluginEventMap.html +2 -2
  271. package/docs/interfaces/Point.html +2 -2
  272. package/docs/interfaces/Room.html +2 -2
  273. package/docs/interfaces/RoomInfo.html +2 -2
  274. package/docs/interfaces/RoomLabel.html +2 -2
  275. package/docs/interfaces/RoomRules.html +1 -1
  276. package/docs/interfaces/Rooms.html +1 -1
  277. package/docs/interfaces/Scissor.html +2 -2
  278. package/docs/interfaces/State.html +2 -2
  279. package/docs/interfaces/TagCacheInterface.html +2 -2
  280. package/docs/interfaces/TagConfig.html +2 -2
  281. package/docs/interfaces/TagGLTFObjectGroup.html +2 -2
  282. package/docs/interfaces/TagIconUrl.html +2 -2
  283. package/docs/interfaces/TagObjectGroup.html +2 -2
  284. package/docs/interfaces/TagStyle.html +2 -2
  285. package/docs/interfaces/Tags.html +2 -2
  286. package/docs/interfaces/TemporaryState.html +2 -2
  287. package/docs/interfaces/Util.AnimeInstance.html +2 -2
  288. package/docs/interfaces/Util.BlinkAnimeOptions.html +2 -2
  289. package/docs/interfaces/Util.EventHandlerConfig.html +2 -2
  290. package/docs/interfaces/Util.FiveDomEvent.html +2 -2
  291. package/docs/interfaces/Util.FiveDomEventMap.html +2 -2
  292. package/docs/interfaces/Util.MagnifierParameter.html +2 -2
  293. package/docs/interfaces/Util.MouseGroupParameter.html +2 -2
  294. package/docs/interfaces/Util.PointIntersection.html +2 -2
  295. package/docs/interfaces/Util.PointSelectorHelperConfig.html +2 -2
  296. package/docs/interfaces/Util.ReBlinkAnimeOptions.html +2 -2
  297. package/docs/modules/AreaMakerPluginType.html +2 -2
  298. package/docs/modules/CruisePluginTypes.html +2 -2
  299. package/docs/modules/CurrentPanoImagePluginType.html +2 -2
  300. package/docs/modules/GuideLineItem.html +2 -2
  301. package/docs/modules/GuideLineModeItem.html +2 -2
  302. package/docs/modules/GuideLinePluginType.html +2 -2
  303. package/docs/modules/ModelMakerPluginType.html +2 -2
  304. package/docs/modules/PanoVideoPluginType.html +2 -2
  305. package/docs/modules/SculptData.html +2 -2
  306. package/docs/modules/Util.html +2 -2
  307. package/docs/modules/Util.sculpt.html +2 -2
  308. package/docs/modules.html +2 -2
  309. package/docs/types/AddObject3DHelperConfig.html +2 -2
  310. package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +2 -2
  311. package/docs/types/AreaMakerPluginType.ItemRenderer.html +1 -1
  312. package/docs/types/AreaMakerPluginType.PluginData.html +2 -2
  313. package/docs/types/AreaMakerPluginType.ServerData.html +2 -2
  314. package/docs/types/ArrayPosition.html +1 -1
  315. package/docs/types/AudioAppearance.html +1 -1
  316. package/docs/types/CSS3DRenderExportType.html +1 -1
  317. package/docs/types/CSS3DRenderPluginExportType.html +1 -1
  318. package/docs/types/CSS3DRenderPluginParameterType.html +1 -1
  319. package/docs/types/ClassFunctionParameters.html +1 -1
  320. package/docs/types/Color.html +1 -1
  321. package/docs/types/ContentTypeConfigKey.html +1 -1
  322. package/docs/types/ContentTypeConfigKeySplit.html +1 -1
  323. package/docs/types/ContentTypeMap.html +1 -1
  324. package/docs/types/Create3DDomContainerReturnType.html +1 -1
  325. package/docs/types/Create3DElementReturnType.html +1 -1
  326. package/docs/types/CruisePluginExportType.html +1 -1
  327. package/docs/types/CruisePluginTypes.CruiseData.html +2 -2
  328. package/docs/types/CruisePluginTypes.MoveEffect.html +1 -1
  329. package/docs/types/CurrentPanoImagePluginExportType.html +1 -1
  330. package/docs/types/DeprecatedMediaPlaneProperty.html +2 -2
  331. package/docs/types/DeprecatedTagProperty.html +2 -2
  332. package/docs/types/Direction-1.html +1 -1
  333. package/docs/types/Direction4.html +1 -1
  334. package/docs/types/ElementRenderer.html +2 -2
  335. package/docs/types/FloorplanRuleLabels.html +2 -2
  336. package/docs/types/FloorplanServerRuleLabels.html +1 -1
  337. package/docs/types/GuideLinePluginExportType.html +1 -1
  338. package/docs/types/GuideLinePluginType.GuideLineItem.html +2 -2
  339. package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +1 -1
  340. package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +1 -1
  341. package/docs/types/GuideLinePluginType.GuideLineStyle.html +2 -2
  342. package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +2 -2
  343. package/docs/types/GuideLinePluginType.PathItem.html +2 -2
  344. package/docs/types/GuideLinePluginType.PluginData.html +2 -2
  345. package/docs/types/HelperEventMap.html +1 -1
  346. package/docs/types/InternalHelperEventMap.html +1 -1
  347. package/docs/types/MapviewFloorplanPluginParameterType.html +1 -1
  348. package/docs/types/MapviewFloorplanPluginReturnType.html +1 -1
  349. package/docs/types/MediaData.html +2 -2
  350. package/docs/types/MediaStore.html +1 -1
  351. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +1 -1
  352. package/docs/types/ModelFloorplanPluginParameterType.html +1 -1
  353. package/docs/types/ModelFloorplanPluginReturnType.html +1 -1
  354. package/docs/types/ModelId.html +1 -1
  355. package/docs/types/ModelMakerPluginType.ElementRenderer.html +1 -1
  356. package/docs/types/ModelMakerPluginType.ItemType.html +1 -1
  357. package/docs/types/ModelRoomLabelPluginParameters.html +1 -1
  358. package/docs/types/ModelRoomLabelPluginReturnType.html +1 -1
  359. package/docs/types/MoveArgs.html +2 -2
  360. package/docs/types/MoveOpts.html +2 -2
  361. package/docs/types/Object3DHelperEventMap.html +1 -1
  362. package/docs/types/ObjectFit.html +1 -1
  363. package/docs/types/PaintBrushEventMap.html +1 -1
  364. package/docs/types/PanoCompassPluginData.html +1 -1
  365. package/docs/types/PanoCompassPluginExportType.html +1 -1
  366. package/docs/types/PanoCompassPluginParameterType.html +1 -1
  367. package/docs/types/PanoFloorplanRadarPluginParameterType.html +1 -1
  368. package/docs/types/PanoFloorplanRadarPluginReturnType.html +1 -1
  369. package/docs/types/PanoIndex.html +1 -1
  370. package/docs/types/PanoMeasurePluginEvent.html +1 -1
  371. package/docs/types/PanoMeasureReturnType.html +1 -1
  372. package/docs/types/PanoSpatialTagPluginId.html +1 -1
  373. package/docs/types/PanoTagPluginExportInterface.html +1 -1
  374. package/docs/types/PanoTagPluginParamsInterface.html +1 -1
  375. package/docs/types/PanoVideoPluginParameterType.html +1 -1
  376. package/docs/types/PanoVideoPluginReturnType.html +1 -1
  377. package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +2 -2
  378. package/docs/types/PipelinePluginParameterType.html +1 -1
  379. package/docs/types/PipelinePluginReturnType.html +1 -1
  380. package/docs/types/PlaneTag.html +2 -2
  381. package/docs/types/Point2DTag.html +2 -2
  382. package/docs/types/Point3DTag.html +2 -2
  383. package/docs/types/PointTagInstance.html +1 -1
  384. package/docs/types/Position.html +1 -1
  385. package/docs/types/PositionFrom.html +1 -1
  386. package/docs/types/RotateArgs.html +2 -2
  387. package/docs/types/RotateOpts.html +2 -2
  388. package/docs/types/RuleLabelsKey.html +1 -1
  389. package/docs/types/RuleLabelsValue.html +1 -1
  390. package/docs/types/ScaleCallback.html +1 -1
  391. package/docs/types/ScalePosition.html +2 -2
  392. package/docs/types/SculptData.BoxData.html +1 -1
  393. package/docs/types/SculptData.CircleData.html +1 -1
  394. package/docs/types/SculptData.CylinderData.html +1 -1
  395. package/docs/types/SculptData.PointData.html +1 -1
  396. package/docs/types/SculptData.PolygonData.html +1 -1
  397. package/docs/types/SculptData.PolylineData.html +1 -1
  398. package/docs/types/SculptData.PrismData.html +1 -1
  399. package/docs/types/SculptData.RectangleData.html +1 -1
  400. package/docs/types/StickType.html +1 -1
  401. package/docs/types/Tag.html +2 -2
  402. package/docs/types/Tag2D.html +2 -2
  403. package/docs/types/Tag3D.html +2 -2
  404. package/docs/types/TagClickParams.html +1 -1
  405. package/docs/types/TagConfigByKey.html +1 -1
  406. package/docs/types/TagContentType.html +1 -1
  407. package/docs/types/TagContentTypeMapping.html +1 -1
  408. package/docs/types/TagDimensionType.html +1 -1
  409. package/docs/types/TagElement.html +2 -2
  410. package/docs/types/TagEvents.html +1 -1
  411. package/docs/types/TagGLTFObject.html +1 -1
  412. package/docs/types/TagHooks.html +1 -1
  413. package/docs/types/TagId.html +1 -1
  414. package/docs/types/TagInstance.html +1 -1
  415. package/docs/types/TagPointType.html +2 -2
  416. package/docs/types/TagRendererMap.html +1 -1
  417. package/docs/types/TopviewFloorplanPluginParameterType.html +1 -1
  418. package/docs/types/TopviewFloorplanPluginReturnType.html +1 -1
  419. package/docs/types/Util.ActionIfNoIntersection.html +1 -1
  420. package/docs/types/Util.AdherePoint.html +2 -2
  421. package/docs/types/Util.PointSelectorConfig.html +1 -1
  422. package/docs/types/WorkCode.html +1 -1
  423. package/docs/variables/FLOOR_TYPE_MAP.html +2 -2
  424. package/docs/variables/PLUGIN.html +1 -1
  425. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +2 -2
  426. package/docs/variables/ROOM_TYPE_MAP.html +2 -2
  427. package/docs/variables/Util.animeMap.html +1 -1
  428. package/docs/variables/defaultGlobalConfig.html +1 -1
  429. package/docs/variables/itemLabelPluginServerParams.html +1 -1
  430. package/docs/variables/modelItemLabelPluginServerParams.html +1 -1
  431. package/docs/variables/modelRoomLabelPluginServerParams.html +1 -1
  432. package/libs/MeasurePlugin/Controller.d.ts +1 -0
  433. package/libs/MeasurePlugin/Controller.js +66 -59
  434. package/libs/base/BasePlugin.js +1 -1
  435. package/libs/shared-utils/logger.js +1 -1
  436. package/libs/shared-utils/three/PointSelector/index.d.ts +4 -0
  437. package/libs/shared-utils/three/PointSelector/index.js +18 -18
  438. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -43,7 +43,7 @@ import { LineGeometry as IA, LineMaterial as EA, THREE_Line2 as MA, Line as xA }
43
43
  import { GLTFLoader as kA } from "@realsee/five/gltf-loader";
44
44
  function DA() {
45
45
  console.debug(
46
- "%c %c@realsee/dnalogel %cv3.63.4-alpha.1",
46
+ "%c %c@realsee/dnalogel %cv3.63.4-alpha.3",
47
47
  [
48
48
  "background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAMCAMAAACHgmeRAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAABLFBMVEUAAAAapPoap/oaqvkbrfkbr/gZnfwZoPsaqfnD4v/E4/8Ylv0clPm93/+/4P/B4f8Yj/683/8Wif+33P8Uhv+x2f8ShP+s1v8Pgf+n0/8Nf/+h0f8Lff8Lff8Nf/9dl/+czv8KfP8KfP+Lxf+Uyv+Xy/+Hwv+Jw/+Mxf+Oxv+RyP8aovsapfoap/oZmfwZm/wZnvsYnPsYkf4YlP0NePsDYfgYcfi43f+63v8Xiv8Xjf4EWfwCV/sWZ/qz2v+02/8Vh/8WiP8EUf8CTf4WXv2u1/+v2P8Thf8Thv8ETf8CR/8VV/+o1f+q1f8Qgv8Rg/8DSv8BRf8UVP+j0v+k0v8OgP8Pgf8DR/8DQv9Nhf+dzv+fz/+Kv/+Vyv+Xy/+azf+Oxv+Qx/+SyP////8MUhLdAAAAK3RSTlMACEWQ2bd98uQECPXxqO7c+Pb49vj2+Pb49vj23Oul8fMHA+TwerXXjEIG2P+bHgAAAAFiS0dEY1y+LaoAAAB+SURBVAjXY2BgZGJmYWVgYGBgY9fW0eVg4ORi4NbTNzDk4eXjZxAwMjYxNTO3EGQQsrSytrG1sxdmEHFwdHJ2cXUTZRBz9/D08vbxFWeQ8PMPCAwKDpFkkAoNC4+IjIqWZpCRlZOPiY2LV2BQVGJQTkhMUlEFWaOmrqGpxQAAyg0S9Dq+VPYAAAAASUVORK5CYII=')",
49
49
  "background-repeat: no-repeat",
@@ -597,7 +597,7 @@ let NA = class {
597
597
  function Sn() {
598
598
  return ((1 + Math.random()) * 65536 | 0).toString(16).substring(1);
599
599
  }
600
- function kt() {
600
+ function Dt() {
601
601
  return (Sn() + Sn() + "-" + Sn() + "-4" + Sn().substr(0, 3) + "-" + Sn() + "-" + Sn() + Sn() + Sn()).toLowerCase();
602
602
  }
603
603
  const GA = `
@@ -708,7 +708,7 @@ let WA = class extends NA {
708
708
  d(this, "clientWidth");
709
709
  d(this, "clientHeight");
710
710
  d(this, "ready", !1);
711
- d(this, "uuid", kt());
711
+ d(this, "uuid", Dt());
712
712
  d(this, "tween");
713
713
  d(this, "tweening", !1);
714
714
  d(this, "container");
@@ -1069,7 +1069,7 @@ function ea(n) {
1069
1069
  function UA(n) {
1070
1070
  n[lr] && delete n[lr];
1071
1071
  }
1072
- class bt {
1072
+ class yt {
1073
1073
  /**
1074
1074
  * 判断是否注册了事件
1075
1075
  * @param name - 事件类型
@@ -1225,7 +1225,7 @@ function ki(n) {
1225
1225
  var e;
1226
1226
  return ((e = n.models) == null ? void 0 : e.filter((i) => i.name === n.state.workCode)[0]) || n.model;
1227
1227
  }
1228
- class _m extends bt {
1228
+ class _m extends yt {
1229
1229
  constructor(e) {
1230
1230
  super();
1231
1231
  d(this, "five");
@@ -1727,8 +1727,8 @@ var gi = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
1727
1727
  var Ne = j ? O[be][j] : O[be];
1728
1728
  I(ce, Ne) < 0 && te.push(O[be]), ce[be] = Ne, be++;
1729
1729
  }
1730
- return Q && (j ? te = te.sort(function(At, Mt) {
1731
- return At[j] > Mt[j];
1730
+ return Q && (j ? te = te.sort(function(At, xt) {
1731
+ return At[j] > xt[j];
1732
1732
  }) : te = te.sort()), te;
1733
1733
  }
1734
1734
  function M(O, j) {
@@ -1786,13 +1786,13 @@ var gi = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
1786
1786
  var Q = O.session, te = j.pointers, ce = te.length;
1787
1787
  Q.firstInput || (Q.firstInput = si(j)), ce > 1 && !Q.firstMultiple ? Q.firstMultiple = si(j) : ce === 1 && (Q.firstMultiple = !1);
1788
1788
  var be = Q.firstInput, Ne = Q.firstMultiple, pt = Ne ? Ne.center : be.center, At = j.center = bi(te);
1789
- j.timeStamp = h(), j.deltaTime = j.timeStamp - be.timeStamp, j.angle = ji(pt, At), j.distance = yi(pt, At), Pt(Q, j), j.offsetDirection = Ot(j.deltaX, j.deltaY);
1790
- var Mt = zi(j.deltaTime, j.deltaX, j.deltaY);
1791
- j.overallVelocityX = Mt.x, j.overallVelocityY = Mt.y, j.overallVelocity = c(Mt.x) > c(Mt.y) ? Mt.x : Mt.y, j.scale = Ne ? Kn(Ne.pointers, te) : 1, j.rotation = Ne ? Ro(Ne.pointers, te) : 0, j.maxPointers = Q.prevInput ? j.pointers.length > Q.prevInput.maxPointers ? j.pointers.length : Q.prevInput.maxPointers : j.pointers.length, qn(Q, j);
1789
+ j.timeStamp = h(), j.deltaTime = j.timeStamp - be.timeStamp, j.angle = ji(pt, At), j.distance = yi(pt, At), It(Q, j), j.offsetDirection = Ot(j.deltaX, j.deltaY);
1790
+ var xt = zi(j.deltaTime, j.deltaX, j.deltaY);
1791
+ j.overallVelocityX = xt.x, j.overallVelocityY = xt.y, j.overallVelocity = c(xt.x) > c(xt.y) ? xt.x : xt.y, j.scale = Ne ? Kn(Ne.pointers, te) : 1, j.rotation = Ne ? Ro(Ne.pointers, te) : 0, j.maxPointers = Q.prevInput ? j.pointers.length > Q.prevInput.maxPointers ? j.pointers.length : Q.prevInput.maxPointers : j.pointers.length, qn(Q, j);
1792
1792
  var Yt = O.element;
1793
1793
  H(j.srcEvent.target, Yt) && (Yt = j.srcEvent.target), j.target = Yt;
1794
1794
  }
1795
- function Pt(O, j) {
1795
+ function It(O, j) {
1796
1796
  var Q = j.center, te = O.offsetDelta || {}, ce = O.prevDelta || {}, be = O.prevInput || {};
1797
1797
  (j.eventType === ie || be.eventType === ke) && (ce = O.prevDelta = {
1798
1798
  x: be.deltaX || 0,
@@ -1805,8 +1805,8 @@ var gi = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
1805
1805
  function qn(O, j) {
1806
1806
  var Q = O.lastInterval || j, te = j.timeStamp - Q.timeStamp, ce, be, Ne, pt;
1807
1807
  if (j.eventType != pe && (te > Be || Q.velocity === s)) {
1808
- var At = j.deltaX - Q.deltaX, Mt = j.deltaY - Q.deltaY, Yt = zi(te, At, Mt);
1809
- be = Yt.x, Ne = Yt.y, ce = c(Yt.x) > c(Yt.y) ? Yt.x : Yt.y, pt = Ot(At, Mt), O.lastInterval = j;
1808
+ var At = j.deltaX - Q.deltaX, xt = j.deltaY - Q.deltaY, Yt = zi(te, At, xt);
1809
+ be = Yt.x, Ne = Yt.y, ce = c(Yt.x) > c(Yt.y) ? Yt.x : Yt.y, pt = Ot(At, xt), O.lastInterval = j;
1810
1810
  } else
1811
1811
  ce = Q.velocity, be = Q.velocityX, Ne = Q.velocityY, pt = Q.direction;
1812
1812
  j.velocity = ce, j.velocityX = be, j.velocityY = Ne, j.direction = pt;
@@ -1971,8 +1971,8 @@ var gi = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
1971
1971
  if (j & (ie | we) && Q.length === 1)
1972
1972
  return te[Q[0].identifier] = !0, [Q, Q];
1973
1973
  var ce, be, Ne = w(O.changedTouches), pt = [], At = this.target;
1974
- if (be = Q.filter(function(Mt) {
1975
- return H(Mt.target, At);
1974
+ if (be = Q.filter(function(xt) {
1975
+ return H(xt.target, At);
1976
1976
  }), j === ie)
1977
1977
  for (ce = 0; ce < be.length; )
1978
1978
  te[be[ce].identifier] = !0, ce++;
@@ -2002,7 +2002,7 @@ var gi = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
2002
2002
  var ce = te.pointerType == ne, be = te.pointerType == Se;
2003
2003
  if (!(be && te.sourceCapabilities && te.sourceCapabilities.firesTouchEvents)) {
2004
2004
  if (ce)
2005
- It.call(this, Q, te);
2005
+ Et.call(this, Q, te);
2006
2006
  else if (be && Fo.call(this, te))
2007
2007
  return;
2008
2008
  this.callback(j, Q, te);
@@ -2015,7 +2015,7 @@ var gi = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
2015
2015
  this.touch.destroy(), this.mouse.destroy();
2016
2016
  }
2017
2017
  });
2018
- function It(O, j) {
2018
+ function Et(O, j) {
2019
2019
  O & ie ? (this.primaryTouch = j.changedPointers[0].identifier, Ls.call(this, j)) : O & (ke | pe) && Ls.call(this, j);
2020
2020
  }
2021
2021
  function Ls(O) {
@@ -2038,11 +2038,11 @@ var gi = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
2038
2038
  }
2039
2039
  return !1;
2040
2040
  }
2041
- var Os = M(r.style, "touchAction"), zs = Os !== s, js = "compute", Et = "auto", is = "manipulation", Ci = "none", en = "pan-x", tn = "pan-y", Cn = No();
2042
- function Dt(O, j) {
2041
+ var Os = M(r.style, "touchAction"), zs = Os !== s, js = "compute", Mt = "auto", is = "manipulation", Ci = "none", en = "pan-x", tn = "pan-y", Cn = No();
2042
+ function St(O, j) {
2043
2043
  this.manager = O, this.set(j);
2044
2044
  }
2045
- Dt.prototype = {
2045
+ St.prototype = {
2046
2046
  /**
2047
2047
  * set the touchAction value on the element or enable the polyfill
2048
2048
  * @param {String} value
@@ -2078,8 +2078,8 @@ var gi = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
2078
2078
  }
2079
2079
  var te = this.actions, ce = X(te, Ci) && !Cn[Ci], be = X(te, tn) && !Cn[tn], Ne = X(te, en) && !Cn[en];
2080
2080
  if (ce) {
2081
- var pt = O.pointers.length === 1, At = O.distance < 2, Mt = O.deltaTime < 250;
2082
- if (pt && At && Mt)
2081
+ var pt = O.pointers.length === 1, At = O.distance < 2, xt = O.deltaTime < 250;
2082
+ if (pt && At && xt)
2083
2083
  return;
2084
2084
  }
2085
2085
  if (!(Ne && be) && (ce || be && Q & xe || Ne && Q & _e))
@@ -2097,7 +2097,7 @@ var gi = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
2097
2097
  if (X(O, Ci))
2098
2098
  return Ci;
2099
2099
  var j = X(O, en), Q = X(O, tn);
2100
- return j && Q ? Ci : j || Q ? j ? en : tn : X(O, is) ? is : Et;
2100
+ return j && Q ? Ci : j || Q ? j ? en : tn : X(O, is) ? is : Mt;
2101
2101
  }
2102
2102
  function No() {
2103
2103
  if (!zs)
@@ -2375,7 +2375,7 @@ var gi = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
2375
2375
  // a minimal movement is ok, but keep it low
2376
2376
  },
2377
2377
  getTouchAction: function() {
2378
- return [Et];
2378
+ return [Mt];
2379
2379
  },
2380
2380
  process: function(O) {
2381
2381
  var j = this.options, Q = O.pointers.length === j.pointers, te = O.distance < j.threshold, ce = O.deltaTime > j.time;
@@ -2597,7 +2597,7 @@ var gi = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
2597
2597
  };
2598
2598
  var Go = 1, Vs = 2;
2599
2599
  function ns(O, j) {
2600
- this.options = g({}, ri.defaults, j || {}), this.options.inputTarget = this.options.inputTarget || O, this.handlers = {}, this.session = {}, this.recognizers = [], this.oldCssProps = {}, this.element = O, this.input = We(this), this.touchAction = new Dt(this, this.options.touchAction), xn(this, !0), p(this.options.recognizers, function(Q) {
2600
+ this.options = g({}, ri.defaults, j || {}), this.options.inputTarget = this.options.inputTarget || O, this.handlers = {}, this.session = {}, this.recognizers = [], this.oldCssProps = {}, this.element = O, this.input = We(this), this.touchAction = new St(this, this.options.touchAction), xn(this, !0), p(this.options.recognizers, function(Q) {
2601
2601
  var te = this.add(new Q[0](Q[1]));
2602
2602
  Q[2] && te.recognizeWith(Q[2]), Q[3] && te.requireFailure(Q[3]);
2603
2603
  }, this);
@@ -2764,7 +2764,7 @@ var gi = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
2764
2764
  DIRECTION_ALL: Ze,
2765
2765
  Manager: ns,
2766
2766
  Input: Je,
2767
- TouchAction: Dt,
2767
+ TouchAction: St,
2768
2768
  TouchInput: wn,
2769
2769
  MouseInput: ui,
2770
2770
  PointerEventInput: qi,
@@ -2799,7 +2799,7 @@ class eh {
2799
2799
  d(this, "width");
2800
2800
  d(this, "height");
2801
2801
  d(this, "containerDom");
2802
- d(this, "hooks", new bt());
2802
+ d(this, "hooks", new yt());
2803
2803
  d(this, "canvas", document.createElement("canvas"));
2804
2804
  d(this, "config");
2805
2805
  d(this, "state", { enabled: !1 });
@@ -3999,7 +3999,7 @@ class Cb extends y.Object3D {
3999
3999
  class Wm {
4000
4000
  constructor(t, e) {
4001
4001
  d(this, "five");
4002
- d(this, "hooks", new bt());
4002
+ d(this, "hooks", new yt());
4003
4003
  d(this, "position");
4004
4004
  d(this, "magnifier", null);
4005
4005
  d(this, "pointHelper", null);
@@ -4083,7 +4083,7 @@ function _n(n) {
4083
4083
  }
4084
4084
  }
4085
4085
  const Tu = new y.Vector3(), Ns = () => !1;
4086
- class il extends bt {
4086
+ class il extends yt {
4087
4087
  constructor(e, i) {
4088
4088
  var r, a, l, c;
4089
4089
  super();
@@ -4245,7 +4245,7 @@ class il extends bt {
4245
4245
  var o, r, a;
4246
4246
  const i = Pb(this.five, e);
4247
4247
  let s = Lr(this.five, i);
4248
- if (s) {
4248
+ if (console.log("updateByNdcPosition", s, this.actionIfNoIntersection), s) {
4249
4249
  if (this.plane && this.planeMode === "vertical" && (s = he(R({}, s), {
4250
4250
  point: this.plane.projectPoint(s.point, new y.Vector3()),
4251
4251
  face: new y.Face3(0, 0, 0, this.plane.normal.clone()),
@@ -4284,7 +4284,7 @@ class il extends bt {
4284
4284
  const l = Um(i, (o = this.lastIntersection) == null ? void 0 : o.distance);
4285
4285
  return l.face = new y.Face3(0, 0, 0, (a = (r = this.lastIntersection) == null ? void 0 : r.face) == null ? void 0 : a.normal), l.isVirtual = !0, this.lastIntersection = l, this.updatePointSelectorHelperIntersect(l), !0;
4286
4286
  } else if (this.actionIfNoIntersection === "disable")
4287
- return this.updatePointSelectorHelperIntersect(null), !1;
4287
+ return this.updatePointSelectorHelperIntersect(null), this.emit("disableSelect"), !1;
4288
4288
  });
4289
4289
  /**
4290
4290
  * @description: 更新 pointSelectorHelper 的焦点位置
@@ -4501,7 +4501,7 @@ let Zm = class extends dn {
4501
4501
  d(this, "centerPosition");
4502
4502
  d(this, "ratio");
4503
4503
  d(this, "mode", "front");
4504
- d(this, "hooks", new bt());
4504
+ d(this, "hooks", new yt());
4505
4505
  d(this, "opacityMesh");
4506
4506
  d(this, "selfVisible", !0);
4507
4507
  d(this, "setVisible", (e) => {
@@ -6255,7 +6255,7 @@ class xy {
6255
6255
  }
6256
6256
  const k5 = (n, t) => {
6257
6257
  var I, w;
6258
- const e = new bt();
6258
+ const e = new yt();
6259
6259
  let i = (w = (I = t == null ? void 0 : t.initialState) == null ? void 0 : I.enabled) != null ? w : !0, s = !1, o = !0, r = null;
6260
6260
  const l = R(R({}, {
6261
6261
  lookAtCurrentCamera: !1,
@@ -6428,7 +6428,7 @@ class Ty extends Pg {
6428
6428
  }
6429
6429
  const Ly = 3, bc = "CSS3DRenderer", sr = `${bc}@${Ly}`, Gs = () => {
6430
6430
  console.error(`${sr} is disposed`);
6431
- }, wt = {
6431
+ }, Ct = {
6432
6432
  css3DObjects: [],
6433
6433
  frontModeStore: {
6434
6434
  css3DRenderer: new Ta()
@@ -6438,18 +6438,18 @@ const Ly = 3, bc = "CSS3DRenderer", sr = `${bc}@${Ly}`, Gs = () => {
6438
6438
  }
6439
6439
  };
6440
6440
  function _u(n) {
6441
- return wt.css3DObjects.find((t) => t.id === n);
6441
+ return Ct.css3DObjects.find((t) => t.id === n);
6442
6442
  }
6443
6443
  function Oy(n) {
6444
- wt.frontModeStore.css3DRenderer.setWrapper(n);
6444
+ Ct.frontModeStore.css3DRenderer.setWrapper(n);
6445
6445
  }
6446
6446
  function zy(n) {
6447
- wt.behindModeStore.css3DRenderer.setWrapper(n);
6447
+ Ct.behindModeStore.css3DRenderer.setWrapper(n);
6448
6448
  }
6449
6449
  class yr {
6450
6450
  // eslint-disable-next-line @typescript-eslint/no-useless-constructor
6451
6451
  constructor(t) {
6452
- d(this, "hooks", new bt());
6452
+ d(this, "hooks", new yt());
6453
6453
  d(this, "state", {
6454
6454
  enabled: !0,
6455
6455
  visible: !0,
@@ -6513,7 +6513,7 @@ class yr {
6513
6513
  const { ratio: r, devicePixelRatio: a, mode: l, autoRender: c, container: h, pointerEvents: u, wrapperStyle: f } = s;
6514
6514
  let p = !1;
6515
6515
  const v = this.createObject(o, { ratio: r, dpr: a, container: h, mode: l, pointerEvents: u, wrapperStyle: f });
6516
- wt.css3DObjects.push(v), s.scene && this.setScene(s.scene);
6516
+ Ct.css3DObjects.push(v), s.scene && this.setScene(s.scene);
6517
6517
  const g = () => {
6518
6518
  if (p)
6519
6519
  return;
@@ -6521,7 +6521,7 @@ class yr {
6521
6521
  S && S.add(v);
6522
6522
  }, m = () => {
6523
6523
  p || (g(), this.render(t), this.hooks.emit("render"));
6524
- }, b = (S) => this.setVisibleById(v.id, S), C = (S) => this.setEnabledById(v.id, S), x = () => (p = !0, v.removeFromParent(), !0), E = l === "front" ? wt.frontModeStore.css3DRenderer : wt.behindModeStore.css3DRenderer;
6524
+ }, b = (S) => this.setVisibleById(v.id, S), C = (S) => this.setEnabledById(v.id, S), x = () => (p = !0, v.removeFromParent(), !0), E = l === "front" ? Ct.frontModeStore.css3DRenderer : Ct.behindModeStore.css3DRenderer;
6525
6525
  return c && m(), {
6526
6526
  id: v.uuid,
6527
6527
  container: h,
@@ -6558,16 +6558,16 @@ class yr {
6558
6558
  return this._scene || console.error("scene doesn't exist!, please call setScene(scene) first"), this._scene;
6559
6559
  }
6560
6560
  static get frontModeCSS3DRenderer() {
6561
- return wt.frontModeStore.css3DRenderer;
6561
+ return Ct.frontModeStore.css3DRenderer;
6562
6562
  }
6563
6563
  static get behindModeCSS3DRenderer() {
6564
- return wt.behindModeStore.css3DRenderer;
6564
+ return Ct.behindModeStore.css3DRenderer;
6565
6565
  }
6566
6566
  get frontModeCSS3DRenderer() {
6567
- return wt.frontModeStore.css3DRenderer;
6567
+ return Ct.frontModeStore.css3DRenderer;
6568
6568
  }
6569
6569
  get behindModeCSS3DRenderer() {
6570
- return wt.behindModeStore.css3DRenderer;
6570
+ return Ct.behindModeStore.css3DRenderer;
6571
6571
  }
6572
6572
  setScene(t) {
6573
6573
  this._scene = t;
@@ -6610,30 +6610,30 @@ class yr {
6610
6610
  }
6611
6611
  getFrontCSS3DScene({ createSceneIfNotExists: t = !1 } = {}) {
6612
6612
  var i;
6613
- const e = (i = wt.frontModeStore) == null ? void 0 : i.css3DScene;
6613
+ const e = (i = Ct.frontModeStore) == null ? void 0 : i.css3DScene;
6614
6614
  if (e)
6615
6615
  return e;
6616
6616
  if (t) {
6617
6617
  const s = new ky();
6618
- wt.frontModeStore.css3DScene = s;
6618
+ Ct.frontModeStore.css3DScene = s;
6619
6619
  }
6620
- return wt.frontModeStore.css3DScene;
6620
+ return Ct.frontModeStore.css3DScene;
6621
6621
  }
6622
6622
  getBehindCSS3DScene({ createSceneIfNotExists: t = !1 } = {}) {
6623
6623
  var i, s;
6624
- const e = (i = wt.behindModeStore) == null ? void 0 : i.css3DScene;
6624
+ const e = (i = Ct.behindModeStore) == null ? void 0 : i.css3DScene;
6625
6625
  if (e)
6626
6626
  return e;
6627
6627
  if (t) {
6628
- const o = (s = wt.behindModeStore.scene) != null ? s : this.scene;
6628
+ const o = (s = Ct.behindModeStore.scene) != null ? s : this.scene;
6629
6629
  if (!o) {
6630
6630
  console.error(`${sr}: scene is required when mode is behind`);
6631
6631
  return;
6632
6632
  }
6633
6633
  const r = new Dy(o);
6634
- wt.behindModeStore.css3DScene = r, wt.behindModeStore.scene = o;
6634
+ Ct.behindModeStore.css3DScene = r, Ct.behindModeStore.scene = o;
6635
6635
  }
6636
- return wt.behindModeStore.css3DScene;
6636
+ return Ct.behindModeStore.css3DScene;
6637
6637
  }
6638
6638
  getFrontCSS3DObjectGroup({ addGroupIfNotExists: t = !0 } = {}) {
6639
6639
  const e = this.getFrontCSS3DScene({ createSceneIfNotExists: t });
@@ -6654,13 +6654,13 @@ class yr {
6654
6654
  const s = this.getFrontCSS3DScene({ createSceneIfNotExists: !0 });
6655
6655
  if (!s)
6656
6656
  return console.error(`${sr}: css3DScene is required when mode is front`);
6657
- wt.frontModeStore.css3DRenderer.renderEveryFrame(s, t);
6657
+ Ct.frontModeStore.css3DRenderer.renderEveryFrame(s, t);
6658
6658
  }
6659
6659
  if (((i = (e = this.getBehindCSS3DObjectGroup({ addGroupIfNotExists: !1 })) == null ? void 0 : e.CSS3DObjectLength) != null ? i : 0) > 0) {
6660
6660
  const s = this.getBehindCSS3DScene({ createSceneIfNotExists: !0 });
6661
6661
  if (!s)
6662
6662
  return console.error(`${sr}: css3DScene is required when mode is behind`);
6663
- wt.behindModeStore.css3DRenderer.renderEveryFrame(s, t);
6663
+ Ct.behindModeStore.css3DRenderer.renderEveryFrame(s, t);
6664
6664
  }
6665
6665
  }
6666
6666
  handleShow() {
@@ -6890,7 +6890,7 @@ function Mg(n) {
6890
6890
  function Hu() {
6891
6891
  return /* @__PURE__ */ Object.create(null);
6892
6892
  }
6893
- function Ct(n) {
6893
+ function Pt(n) {
6894
6894
  n.forEach(Mg);
6895
6895
  }
6896
6896
  function Ji(n) {
@@ -7230,7 +7230,7 @@ function Eh() {
7230
7230
  }
7231
7231
  function Qy(n) {
7232
7232
  if (n.fragment !== null) {
7233
- n.update(), Ct(n.before_update);
7233
+ n.update(), Pt(n.before_update);
7234
7234
  const t = n.dirty;
7235
7235
  n.dirty = [-1], n.fragment && n.fragment.p(n.ctx, t), n.after_update.forEach(gt);
7236
7236
  }
@@ -7259,7 +7259,7 @@ function Ie() {
7259
7259
  };
7260
7260
  }
7261
7261
  function Ee() {
7262
- Wi.r || Ct(Wi.c), Wi = Wi.p;
7262
+ Wi.r || Pt(Wi.c), Wi = Wi.p;
7263
7263
  }
7264
7264
  function F(n, t) {
7265
7265
  n && n.i && (wa.delete(n), n.i(t));
@@ -7322,7 +7322,7 @@ function zo(n, t, e) {
7322
7322
  gt(() => ds(n, !1, "start")), wh((m) => {
7323
7323
  if (o) {
7324
7324
  if (m >= g)
7325
- return f(0, 1), ds(n, !1, "end"), --a.r || Ct(a.c), !1;
7325
+ return f(0, 1), ds(n, !1, "end"), --a.r || Pt(a.c), !1;
7326
7326
  if (m >= v) {
7327
7327
  const b = u((m - v) / h);
7328
7328
  f(1 - b, b);
@@ -7365,7 +7365,7 @@ function Xi(n, t, e, i) {
7365
7365
  p || (x.group = Wi, Wi.r += 1), a || l ? l = x : (C && (h(), c = Ra(n, r, p, g, v, m, C)), p && b(0, 1), a = u(x, g), gt(() => ds(n, p, "start")), wh((E) => {
7366
7366
  if (l && E > l.start && (a = u(l, g), l = null, ds(n, a.b, "start"), C && (h(), c = Ra(n, r, a.b, a.duration, 0, m, o.css))), a) {
7367
7367
  if (E >= a.end)
7368
- b(r = a.b, 1 - r), ds(n, a.b, "end"), l || (a.b ? h() : --a.group.r || Ct(a.group.c)), a = null;
7368
+ b(r = a.b, 1 - r), ds(n, a.b, "end"), l || (a.b ? h() : --a.group.r || Pt(a.group.c)), a = null;
7369
7369
  else if (E >= a.start) {
7370
7370
  const S = E - a.start;
7371
7371
  r = a.a + a.d * m(S / a.duration), b(r, 1 - r);
@@ -7454,7 +7454,7 @@ function Ti(n, t, e, i, s, o, r, a, l, c, h, u) {
7454
7454
  }
7455
7455
  for (; p; )
7456
7456
  D(m[p - 1]);
7457
- return Ct(x), m;
7457
+ return Pt(x), m;
7458
7458
  }
7459
7459
  function Gt(n, t) {
7460
7460
  const e = {}, i = {}, s = { $$scope: 1 };
@@ -7489,12 +7489,12 @@ function me(n, t, e, i) {
7489
7489
  const { fragment: s, after_update: o } = n.$$;
7490
7490
  s && s.m(t, e), i || gt(() => {
7491
7491
  const r = n.$$.on_mount.map(Mg).filter(Ji);
7492
- n.$$.on_destroy ? n.$$.on_destroy.push(...r) : Ct(r), n.$$.on_mount = [];
7492
+ n.$$.on_destroy ? n.$$.on_destroy.push(...r) : Pt(r), n.$$.on_mount = [];
7493
7493
  }), o.forEach(gt);
7494
7494
  }
7495
7495
  function ge(n, t) {
7496
7496
  const e = n.$$;
7497
- e.fragment !== null && (Uy(e.after_update), Ct(e.on_destroy), e.fragment && e.fragment.d(t), e.on_destroy = e.fragment = null, e.ctx = []);
7497
+ e.fragment !== null && (Uy(e.after_update), Pt(e.on_destroy), e.fragment && e.fragment.d(t), e.on_destroy = e.fragment = null, e.ctx = []);
7498
7498
  }
7499
7499
  function Xy(n, t) {
7500
7500
  n.$$.dirty[0] === -1 && (Xs.push(n), jg(), n.$$.dirty.fill(0)), n.$$.dirty[t / 31 | 0] |= 1 << t % 31;
@@ -7528,7 +7528,7 @@ function Ce(n, t, e, i, s, o, r, a = [-1]) {
7528
7528
  if (c.ctx = e ? e(n, t.props || {}, (u, f, ...p) => {
7529
7529
  const v = p.length ? p[0] : f;
7530
7530
  return c.ctx && s(c.ctx[u], c.ctx[u] = v) && (!c.skip_bound && c.bound[u] && c.bound[u](v), h && Xy(n, u)), f;
7531
- }) : [], c.update(), h = !0, Ct(c.before_update), c.fragment = i ? i(c.ctx) : !1, t.target) {
7531
+ }) : [], c.update(), h = !0, Pt(c.before_update), c.fragment = i ? i(c.ctx) : !1, t.target) {
7532
7532
  if (t.hydrate) {
7533
7533
  const u = Fy(t.target);
7534
7534
  c.fragment && c.fragment.l(u), u.forEach(U);
@@ -8057,7 +8057,7 @@ function y1(n) {
8057
8057
  c && U(t);
8058
8058
  for (let h = 0; h < e.length; h += 1)
8059
8059
  e[h].d();
8060
- o = !1, Ct(r);
8060
+ o = !1, Pt(r);
8061
8061
  }
8062
8062
  };
8063
8063
  }
@@ -8575,7 +8575,7 @@ function F1(n) {
8575
8575
  h[2] ? c ? c.p(h, u) : (c = Ju(h), c.c(), c.m(s.parentNode, s)) : c && (c.d(1), c = null);
8576
8576
  },
8577
8577
  d(h) {
8578
- h && U(t), a && a.d(), l && l.d(), h && U(i), c && c.d(h), h && U(s), o = !1, Ct(r);
8578
+ h && U(t), a && a.d(), l && l.d(), h && U(i), c && c.d(h), h && U(s), o = !1, Pt(r);
8579
8579
  }
8580
8580
  };
8581
8581
  }
@@ -8751,7 +8751,7 @@ function H1(n) {
8751
8751
  i: re,
8752
8752
  o: re,
8753
8753
  d(a) {
8754
- a && U(t), r && r.d(), e = !1, Ct(i);
8754
+ a && U(t), r && r.d(), e = !1, Pt(i);
8755
8755
  }
8756
8756
  };
8757
8757
  }
@@ -8942,7 +8942,7 @@ function Ku(n) {
8942
8942
  c && U(t);
8943
8943
  for (let h = 0; h < e.length; h += 1)
8944
8944
  e[h].d();
8945
- o = !1, Ct(r);
8945
+ o = !1, Pt(r);
8946
8946
  }
8947
8947
  };
8948
8948
  }
@@ -10018,7 +10018,7 @@ function Pw(n) {
10018
10018
  i: re,
10019
10019
  o: re,
10020
10020
  d(o) {
10021
- o && U(t), i = !1, Ct(s);
10021
+ o && U(t), i = !1, Pt(s);
10022
10022
  }
10023
10023
  };
10024
10024
  }
@@ -11659,7 +11659,7 @@ let Xn = class {
11659
11659
  /**
11660
11660
  * @realsee/dnalogel 版本号
11661
11661
  */
11662
- d(this, "VERSION", "3.63.4-alpha.1");
11662
+ d(this, "VERSION", "3.63.4-alpha.3");
11663
11663
  d(this, "NAME");
11664
11664
  d(this, "five");
11665
11665
  d(this, "workUtil");
@@ -11667,7 +11667,7 @@ let Xn = class {
11667
11667
  /**
11668
11668
  * @description: 插件事件钩子
11669
11669
  */
11670
- d(this, "hooks", new bt());
11670
+ d(this, "hooks", new yt());
11671
11671
  d(this, "staticPrefix", "//vr-image-4.realsee-cdn.cn");
11672
11672
  this.five = t, this.fiveUtil = new el(t), this.workUtil = this.fiveUtil.workUtil, e != null && e.staticPrefix && (this.staticPrefix = e.staticPrefix);
11673
11673
  }
@@ -13262,7 +13262,7 @@ function Md(n) {
13262
13262
  Z(o), e = !1;
13263
13263
  },
13264
13264
  d(r) {
13265
- r && U(t), o && o.d(), i = !1, Ct(s);
13265
+ r && U(t), o && o.d(), i = !1, Pt(s);
13266
13266
  }
13267
13267
  };
13268
13268
  }
@@ -17238,7 +17238,7 @@ let yo = class lv {
17238
17238
  d(this, "polyline");
17239
17239
  d(this, "visible");
17240
17240
  var s;
17241
- if (this.id = kt(), this.model = i, t.id === e.id)
17241
+ if (this.id = Dt(), this.model = i, t.id === e.id)
17242
17242
  throw new Error("无效的线段, 一个点无法构成线段");
17243
17243
  typeof i.config.defaultText == "string" && (this.text = i.config.defaultText), this.hook = new Mo(), this.points = [t, e], this.mesh = Ud(this, "normal"), this.lightMesh = Ud(this, "light"), this.distanceItem = new MP({
17244
17244
  line: this,
@@ -17292,7 +17292,7 @@ let yo = class lv {
17292
17292
  d(this, "id");
17293
17293
  d(this, "position");
17294
17294
  d(this, "type", "point");
17295
- if (this.id = kt(), this.position = new ue(), Array.isArray(t))
17295
+ if (this.id = Dt(), this.position = new ue(), Array.isArray(t))
17296
17296
  this.position.fromArray(t);
17297
17297
  else if (typeof t == "object" && t.isVector3)
17298
17298
  this.position.copy(t);
@@ -17369,7 +17369,7 @@ let fl = class {
17369
17369
  }
17370
17370
  }, wo = class {
17371
17371
  constructor(t) {
17372
- d(this, "id", kt());
17372
+ d(this, "id", Dt());
17373
17373
  d(this, "lines", []);
17374
17374
  d(this, "visiblePanoIndexes");
17375
17375
  d(this, "visibleFiveMode");
@@ -17928,7 +17928,7 @@ class JP extends av {
17928
17928
  }
17929
17929
  class Lc {
17930
17930
  constructor(t, e) {
17931
- d(this, "id", kt());
17931
+ d(this, "id", Dt());
17932
17932
  d(this, "selected", !1);
17933
17933
  d(this, "text");
17934
17934
  d(this, "type", "area");
@@ -18654,7 +18654,7 @@ class Av {
18654
18654
  d(this, "config");
18655
18655
  d(this, "polylines", []);
18656
18656
  d(this, "areas", []);
18657
- d(this, "hook", new bt());
18657
+ d(this, "hook", new yt());
18658
18658
  this.config = t;
18659
18659
  }
18660
18660
  addPolyline(t) {
@@ -19747,7 +19747,7 @@ function cf(n) {
19747
19747
  g[2]("结束") + "") && Qe(f, u);
19748
19748
  },
19749
19749
  d(g) {
19750
- g && U(t), p = !1, Ct(v);
19750
+ g && U(t), p = !1, Pt(v);
19751
19751
  }
19752
19752
  };
19753
19753
  }
@@ -21629,7 +21629,7 @@ function fE(n) {
21629
21629
  if (e >= 0 && rt.splice(e, 1), n.key && n.key.toLowerCase() === "meta" && rt.splice(0, rt.length), (t === 93 || t === 224) && (t = 91), t in jt) {
21630
21630
  jt[t] = !1;
21631
21631
  for (const i in Zi)
21632
- Zi[i] === t && (St[i] = !1);
21632
+ Zi[i] === t && (bt[i] = !1);
21633
21633
  }
21634
21634
  }
21635
21635
  function Tv(n) {
@@ -21688,7 +21688,7 @@ function wf(n, t, e, i) {
21688
21688
  function Cf(n, t) {
21689
21689
  const e = dt["*"];
21690
21690
  let i = n.keyCode || n.which || n.charCode;
21691
- if (!St.filter.call(this, n))
21691
+ if (!bt.filter.call(this, n))
21692
21692
  return;
21693
21693
  if ((i === 93 || i === 224) && (i = 91), rt.indexOf(i) === -1 && i !== 229 && rt.push(i), ["ctrlKey", "altKey", "shiftKey", "metaKey"].forEach((a) => {
21694
21694
  const l = jc[a];
@@ -21696,7 +21696,7 @@ function Cf(n, t) {
21696
21696
  }), i in jt) {
21697
21697
  jt[i] = !0;
21698
21698
  for (const a in Zi)
21699
- Zi[a] === i && (St[a] = !0);
21699
+ Zi[a] === i && (bt[a] = !0);
21700
21700
  if (!e)
21701
21701
  return;
21702
21702
  }
@@ -21720,7 +21720,7 @@ function Cf(n, t) {
21720
21720
  u.sort().join("") === rt.sort().join("") && wf(n, l, s, t);
21721
21721
  }
21722
21722
  }
21723
- function St(n, t, e) {
21723
+ function bt(n, t, e) {
21724
21724
  rt = [];
21725
21725
  const i = kv(n);
21726
21726
  let s = [], o = "all", r = document, a = 0, l = !1, c = !0, h = "+", u = !1, f = !1;
@@ -21816,10 +21816,10 @@ const Ql = {
21816
21816
  modifierMap: jc
21817
21817
  };
21818
21818
  for (const n in Ql)
21819
- Object.prototype.hasOwnProperty.call(Ql, n) && (St[n] = Ql[n]);
21819
+ Object.prototype.hasOwnProperty.call(Ql, n) && (bt[n] = Ql[n]);
21820
21820
  if (typeof window != "undefined") {
21821
21821
  const n = window.hotkeys;
21822
- St.noConflict = (t) => (t && window.hotkeys === St && (window.hotkeys = n), St), window.hotkeys = St;
21822
+ bt.noConflict = (t) => (t && window.hotkeys === bt && (window.hotkeys = n), bt), window.hotkeys = bt;
21823
21823
  }
21824
21824
  const mE = {
21825
21825
  auto: "",
@@ -21873,7 +21873,7 @@ const Ma = {
21873
21873
  opacity: 0.2,
21874
21874
  lengthUnit: "m"
21875
21875
  };
21876
- class gE extends bt {
21876
+ class gE extends yt {
21877
21877
  constructor(e) {
21878
21878
  super();
21879
21879
  d(this, "name", "MeasurePlugin");
@@ -21883,13 +21883,14 @@ class gE extends bt {
21883
21883
  d(this, "_pointSelector");
21884
21884
  d(this, "_fiveDomEvents");
21885
21885
  d(this, "_cursor");
21886
+ d(this, "unbindHotKey");
21886
21887
  /**
21887
21888
  * @description 开始测量
21888
21889
  */
21889
21890
  d(this, "measure", () => {
21890
21891
  this.removeEventListener();
21891
21892
  const e = new nE();
21892
- this.currentMeasureMesh = e, this.updateSelectAdsorbedHelper();
21893
+ this.currentMeasureMesh = e, this.pointSelector.actionIfNoIntersection = "disable", this.updateSelectAdsorbedHelper();
21893
21894
  const i = new Is(), s = new gs(he(R({}, Ma), { dashed: !0 })), o = new jo(Ov), r = new gs(he(R({}, Ma), { lineOpacity: 0.5, dashed: !0 })), a = new gs(he(R({}, Ma), { lineOpacity: 0.5, dashed: !0 })), l = () => {
21894
21895
  i.removeFromParent(), s.removeFromParent(), o.removeFromParent(), r.removeFromParent(), a.removeFromParent();
21895
21896
  };
@@ -21899,8 +21900,8 @@ class gE extends bt {
21899
21900
  l();
21900
21901
  return;
21901
21902
  }
21902
- if (e.points.length === 0 && (this.group.addIfNotExists(i), i.position.copy(f.point)), e.points.length >= 1)
21903
- if (i.removeFromParent(), this.group.addIfNotExists(s), s.setPoints([e.points.at(-1), f.point]), f.isAdsorbed)
21903
+ if (e.points.length === 0 && (this.pointSelector.actionIfNoIntersection = "disable", this.group.addIfNotExists(i), i.position.copy(f.point)), e.points.length >= 1)
21904
+ if (this.pointSelector.actionIfNoIntersection = "virtualPoint", i.removeFromParent(), this.group.addIfNotExists(s), s.setPoints([e.points.at(-1), f.point]), f.isAdsorbed)
21904
21905
  r.removeFromParent(), a.removeFromParent();
21905
21906
  else {
21906
21907
  const p = e.points.at(-1);
@@ -21918,7 +21919,7 @@ class gE extends bt {
21918
21919
  Mv(p) ? (o.setPoints(p), this.group.addIfNotExists(o)) : o.removeFromParent();
21919
21920
  }
21920
21921
  }, h = (f) => {
21921
- l(), e.setPoints([...e.points, f.point]), this.updateSelectAdsorbedHelper(), e.isPolygon && this.pointSelector.disable();
21922
+ f && (l(), e.setPoints([...e.points, f.point]), this.updateSelectAdsorbedHelper(), e.isPolygon && this.pointSelector.disable());
21922
21923
  }, u = () => {
21923
21924
  this.pointSelector.off("intersectionUpdate", c), this.pointSelector.off("select", h), this.pointSelector.off("disable", u), l(), e.points.length < 2 && e.removeFromParent(), this.currentMeasureMesh = null, this.addEventListener(), this.emit("measureEnd");
21924
21925
  };
@@ -21951,7 +21952,7 @@ class gE extends bt {
21951
21952
  this.currentMeasureMesh = null, this.pointSelector.disable(), this.group.children.forEach((e) => e.removeFromParent());
21952
21953
  });
21953
21954
  d(this, "dispose", () => {
21954
- St.unbind("ctrl+z, command+z"), St.unbind("shift"), this.pointSelector.disable(), this.clear();
21955
+ this.unbindHotKey(), this.pointSelector.disable(), this.clear();
21955
21956
  });
21956
21957
  d(this, "addEventListener", () => {
21957
21958
  this.group.children.forEach((e) => {
@@ -21966,16 +21967,20 @@ class gE extends bt {
21966
21967
  if (!s)
21967
21968
  return;
21968
21969
  let o, r;
21969
- e instanceof TouchEvent ? (o = e.changedTouches[0].clientX, r = e.changedTouches[0].clientY) : e instanceof MouseEvent && (o = e.clientX, r = e.clientY), !(o === void 0 || r === void 0) && (this.group.children.forEach((a) => a.unselect()), s.select(), this.cursor.showDeleteButton({
21970
+ if (e instanceof TouchEvent ? (o = e.changedTouches[0].clientX, r = e.changedTouches[0].clientY) : e instanceof MouseEvent && (o = e.clientX, r = e.clientY), o === void 0 || r === void 0)
21971
+ return;
21972
+ this.group.children.forEach((l) => l.unselect()), s.select();
21973
+ const a = () => {
21974
+ s.removeFromParent(), this.cursor.removeDeleteButton(), this.five.needsRender = !0, bt.unbind("delete, backspace");
21975
+ };
21976
+ bt("delete, backspace", a), this.cursor.showDeleteButton({
21970
21977
  clientX: o,
21971
21978
  clientY: r,
21972
21979
  container: this.five.getElement().parentElement,
21973
- onClick: () => {
21974
- s.removeFromParent(), this.five.needsRender = !0;
21975
- }
21980
+ onClick: a
21976
21981
  }), this.five.once("cameraUpdate", () => {
21977
21982
  s.unselect(), this.cursor.removeDeleteButton();
21978
- }));
21983
+ });
21979
21984
  });
21980
21985
  d(this, "onHover", ({ target: e }) => {
21981
21986
  if (this.currentMeasureMesh)
@@ -22013,7 +22018,9 @@ class gE extends bt {
22013
22018
  } else
22014
22019
  this.pointSelector.adherePlane = [];
22015
22020
  });
22016
- this.five = e, this.group = new ni(), this.five.scene.add(this.group), St("ctrl+z, command+z", this.undo), St("esc", this.cancel), St("enter", this.endMeasure);
22021
+ this.five = e, this.group = new ni(), this.five.scene.add(this.group), bt("ctrl+z, command+z", this.undo), bt("esc", this.cancel), bt("enter", this.endMeasure), this.unbindHotKey = () => {
22022
+ bt.unbind("ctrl+z, command+z"), bt.unbind("esc"), bt.unbind("enter");
22023
+ };
22017
22024
  }
22018
22025
  get pointSelector() {
22019
22026
  return this._pointSelector ? this._pointSelector : (this._pointSelector = new il(this.five, { mode: "cursor", helper: { pointHelper: "highlight" } }), this._pointSelector);
@@ -22584,12 +22591,12 @@ const Ul = 1e-3, Sf = 0.01, SE = "https://vrlab-image4.ljcdn.com/release/web/Pan
22584
22591
  };
22585
22592
  let We;
22586
22593
  for (let ze = 0, ot = xe.length; ze < ot; ze++) {
22587
- const Pt = xe[ze];
22588
- if (Je.weight > Pt.weight) {
22594
+ const It = xe[ze];
22595
+ if (Je.weight > It.weight) {
22589
22596
  We = ze;
22590
22597
  break;
22591
22598
  }
22592
- if (Je.distance < Pt.distance) {
22599
+ if (Je.distance < It.distance) {
22593
22600
  We = ze;
22594
22601
  break;
22595
22602
  }
@@ -22615,7 +22622,7 @@ const Ul = 1e-3, Sf = 0.01, SE = "https://vrlab-image4.ljcdn.com/release/web/Pan
22615
22622
  Ze.distance + Sf
22616
22623
  ), [Je] = g.intersectObjects ? nt.intersectObjects(g.intersectObjects, !0) : n.model.loaded ? n.model.intersectRaycaster(nt) : nt.intersectObjects(n.model.children, !0);
22617
22624
  if (Je && Ze.distance - Je.distance < Sf) {
22618
- const { position: We, normal: ze, id: ot, replacement: Pt } = Ze, qn = new y.Plane().setFromNormalAndCoplanarPoint(ze, We), si = We.clone().sub(pe.position).cross(new y.Vector3(0, 1, 0)).setLength(Ul), bi = [
22625
+ const { position: We, normal: ze, id: ot, replacement: It } = Ze, qn = new y.Plane().setFromNormalAndCoplanarPoint(ze, We), si = We.clone().sub(pe.position).cross(new y.Vector3(0, 1, 0)).setLength(Ul), bi = [
22619
22626
  We.clone(),
22620
22627
  We.clone().add(si),
22621
22628
  We.clone().add(new y.Vector3(0, Ul, 0)).add(si),
@@ -22624,7 +22631,7 @@ const Ul = 1e-3, Sf = 0.01, SE = "https://vrlab-image4.ljcdn.com/release/web/Pan
22624
22631
  target: zi,
22625
22632
  props: {
22626
22633
  id: ot,
22627
- content: g.render(g.template, Pt),
22634
+ content: g.render(g.template, It),
22628
22635
  lineWidthZoom: 0.38 * (0.01 + pe.position.distanceTo(We) / h),
22629
22636
  lineHeightZoom: 0.4 + (pe.position.distanceTo(We) - c) / h * 0.6,
22630
22637
  contentZoom: 0.1 + pe.position.distanceTo(We) / h,
@@ -24418,14 +24425,14 @@ function B2(n) {
24418
24425
  let Ze, ct, nt, Je, We;
24419
24426
  ne < ae ? (Ze = m[ie * 6 + 1], ct = m[xe * 6 + 1], nt = m[_e * 6 + 1], Je = m[pe * 6 + 1], We = (ct + nt) / 2) : (Ze = m[ie * 6 + 4], ct = m[xe * 6 + 4], nt = m[_e * 6 + 4], Je = m[pe * 6 + 4], We = (ct + nt) / 2);
24420
24427
  for (let ze = ie; ze < xe; ze++) {
24421
- const ot = xe - ie, Pt = (ze - ie) / ot;
24422
- ne < ae ? m[ze * 6 + 1] = Ze + (We - Ze) * Pt : m[ze * 6 + 4] = Ze + (We - Ze) * Pt;
24428
+ const ot = xe - ie, It = (ze - ie) / ot;
24429
+ ne < ae ? m[ze * 6 + 1] = Ze + (We - Ze) * It : m[ze * 6 + 4] = Ze + (We - Ze) * It;
24423
24430
  }
24424
24431
  for (let ze = xe; ze < _e; ze++)
24425
24432
  ne < ae ? m[ze * 6 + 1] = We : m[ze * 6 + 4] = We;
24426
24433
  for (let ze = _e; ze < pe; ze++) {
24427
- const ot = pe - _e, Pt = (ze - _e + 1) / ot;
24428
- ne < ae ? m[ze * 6 + 1] = We + (Je - We) * Pt : m[ze * 6 + 4] = We + (Je - We) * Pt;
24434
+ const ot = pe - _e, It = (ze - _e + 1) / ot;
24435
+ ne < ae ? m[ze * 6 + 1] = We + (Je - We) * It : m[ze * 6 + 4] = We + (Je - We) * It;
24429
24436
  }
24430
24437
  w.push({
24431
24438
  start: xe,
@@ -25500,7 +25507,7 @@ class Xh {
25500
25507
  const s = JSON.parse(JSON.stringify(e.data)), o = (l = e.initialConfig) != null ? l : e.config ? JSON.parse(JSON.stringify(e.config)) : {};
25501
25508
  e.initialConfig = o;
25502
25509
  const r = Zl(e, t.config), a = this.getConfig(e);
25503
- e.config = a, this.id = (c = e.id) != null ? c : kt(), this.enabled = (h = e.enabled) != null ? h : !0, this.contentType = e.contentType, this.data = (u = a.initialData) != null && u.important ? st(e.data, s, a.initialData) : st(e.data, a.initialData, s), this.state = R({
25510
+ e.config = a, this.id = (c = e.id) != null ? c : Dt(), this.enabled = (h = e.enabled) != null ? h : !0, this.contentType = e.contentType, this.data = (u = a.initialData) != null && u.important ? st(e.data, s, a.initialData) : st(e.data, a.initialData, s), this.state = R({
25504
25511
  visible: void 0,
25505
25512
  unfolded: !this.can("fold")
25506
25513
  }, a.initialState), this.originPosition = e.position, e.originPosition = this.originPosition, this.position = (() => {
@@ -25512,7 +25519,7 @@ class Xh {
25512
25519
  })(), this.matrix = e.matrix ? (() => {
25513
25520
  const f = new y.Matrix4().fromArray(e.matrix);
25514
25521
  return f.premultiply(t.workUtil.transform), f.elements;
25515
- })() : e.matrix, this.initialConfig = o, this.computedConfig = r, this.stickType = i, this.config = e.config, this.fiveState = e.fiveState, this.normal = e.normal, this.cache = new kr(), this.hooks = new bt(), Object.keys(e).forEach((f) => {
25522
+ })() : e.matrix, this.initialConfig = o, this.computedConfig = r, this.stickType = i, this.config = e.config, this.fiveState = e.fiveState, this.normal = e.normal, this.cache = new kr(), this.hooks = new yt(), Object.keys(e).forEach((f) => {
25516
25523
  this[f] === void 0 && e[f] !== void 0 && (this[f] = e[f]);
25517
25524
  });
25518
25525
  }
@@ -26410,7 +26417,7 @@ function AM(n) {
26410
26417
  }
26411
26418
  function bM(n, t, e) {
26412
26419
  let i, s, o, r, { inDelay: a = 0 } = t, { outDelay: l = 0 } = t, { duration: c = 1e3 } = t, { unfolded: h } = t, { length: u } = t, { direction: f = "horizontal" } = t, { useLinearColor: p = !1 } = t, { color: v = "white" } = t;
26413
- const g = kt();
26420
+ const g = Dt();
26414
26421
  return n.$$set = (m) => {
26415
26422
  "inDelay" in m && e(0, a = m.inDelay), "outDelay" in m && e(1, l = m.outDelay), "duration" in m && e(2, c = m.duration), "unfolded" in m && e(3, h = m.unfolded), "length" in m && e(11, u = m.length), "direction" in m && e(12, f = m.direction), "useLinearColor" in m && e(4, p = m.useLinearColor), "color" in m && e(5, v = m.color);
26416
26423
  }, n.$$.update = () => {
@@ -26818,10 +26825,10 @@ function DM(n, t, e) {
26818
26825
  function m(D) {
26819
26826
  const V = [], H = new RegExp(new RegExp("\\p{Regional_Indicator}\\p{Regional_Indicator}|\\p{Emoji}(\\p{Emoji_Modifier}+|\\uFE0F\\u20E3?)?(\\u200D\\p{Emoji}(\\p{Emoji_Modifier}+|\\uFE0F\\u20E3?)?)+|\\p{Emoji_Presentation}(\\p{Emoji_Modifier}+|\\uFE0F\\u20E3?)?|\\p{Emoji}(\\p{Emoji_Modifier}+|\\uFE0F\\u20E3?)", "gu"));
26820
26827
  return D.slice().replace(H, (X) => `${c}${h}${X}${c}`).split(c).forEach((X) => X.startsWith(h) ? V.push({
26821
- id: kt(),
26828
+ id: Dt(),
26822
26829
  content: X.slice(h.length)
26823
26830
  }) : V.push(...X.split("").map((A) => A === " " ? u : A === `
26824
- ` ? f : A).map((A) => ({ id: kt(), content: A })))), V;
26831
+ ` ? f : A).map((A) => ({ id: Dt(), content: A })))), V;
26825
26832
  }
26826
26833
  function b() {
26827
26834
  if (!v)
@@ -27328,7 +27335,7 @@ function ip(n) {
27328
27335
  Z(t.$$.fragment, f), Z(i.$$.fragment, f), Z(r.$$.fragment, f), a = !1;
27329
27336
  },
27330
27337
  d(f) {
27331
- ge(t, f), f && U(e), ge(i, f), f && U(s), f && U(o), ge(r), l = !1, Ct(c);
27338
+ ge(t, f), f && U(e), ge(i, f), f && U(s), f && U(o), ge(r), l = !1, Pt(c);
27332
27339
  }
27333
27340
  };
27334
27341
  }
@@ -28050,7 +28057,7 @@ function sx(n) {
28050
28057
  }
28051
28058
  function ox(n, t, e) {
28052
28059
  let { inDelay: i = 0 } = t, { duration: s = 1e3 } = t, { outDelay: o = 0 } = t, { unfolded: r } = t;
28053
- const a = kt();
28060
+ const a = Dt();
28054
28061
  return n.$$set = (l) => {
28055
28062
  "inDelay" in l && e(0, i = l.inDelay), "duration" in l && e(1, s = l.duration), "outDelay" in l && e(2, o = l.outDelay), "unfolded" in l && e(3, r = l.unfolded);
28056
28063
  }, [i, s, o, r, a];
@@ -29017,7 +29024,7 @@ var pa = Y3, Ja = {}, X3 = {
29017
29024
  var Ze = Array.prototype, ct = Function.prototype, nt = Object.prototype, Je = ae["__core-js_shared__"], We = function() {
29018
29025
  var P = /[^.]+$/.exec(Je && Je.keys && Je.keys.IE_PROTO || "");
29019
29026
  return P ? "Symbol(src)_1." + P : "";
29020
- }(), ze = ct.toString, ot = nt.hasOwnProperty, Pt = nt.toString, qn = RegExp(
29027
+ }(), ze = ct.toString, ot = nt.hasOwnProperty, It = nt.toString, qn = RegExp(
29021
29028
  "^" + ze.call(ot).replace(B, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
29022
29029
  ), si = Be ? ae.Buffer : void 0, bi = ae.Symbol, zi = ae.Uint8Array, Ot = xe(Object.getPrototypeOf, Object), yi = Object.create, ji = nt.propertyIsEnumerable, Ro = Ze.splice, Kn = Object.getOwnPropertySymbols, gn = si ? si.isBuffer : void 0, Ss = xe(Object.keys, Object), vn = j(ae, "DataView"), ui = j(ae, "Map"), oi = j(ae, "Promise"), An = j(ae, "Set"), bn = j(ae, "WeakMap"), Bi = j(Object, "create"), qi = Xt(vn), Ki = Xt(ui), $n = Xt(oi), es = Xt(An), yn = Xt(bn), Ri = bi ? bi.prototype : void 0, Ts = Ri ? Ri.valueOf : void 0;
29023
29030
  function wi(P) {
@@ -29050,7 +29057,7 @@ var pa = Y3, Ja = {}, X3 = {
29050
29057
  return q[P] = Bi && z === void 0 ? i : z, this;
29051
29058
  }
29052
29059
  wi.prototype.clear = wn, wi.prototype.delete = Vo, wi.prototype.get = _o, wi.prototype.has = ts, wi.prototype.set = $i;
29053
- function It(P) {
29060
+ function Et(P) {
29054
29061
  var z = -1, q = P ? P.length : 0;
29055
29062
  for (this.clear(); ++z < q; ) {
29056
29063
  var se = P[z];
@@ -29078,8 +29085,8 @@ var pa = Y3, Ja = {}, X3 = {
29078
29085
  var q = this.__data__, se = di(q, P);
29079
29086
  return se < 0 ? q.push([P, z]) : q[se][1] = z, this;
29080
29087
  }
29081
- It.prototype.clear = Ls, It.prototype.delete = Fo, It.prototype.get = Os, It.prototype.has = zs, It.prototype.set = js;
29082
- function Et(P) {
29088
+ Et.prototype.clear = Ls, Et.prototype.delete = Fo, Et.prototype.get = Os, Et.prototype.has = zs, Et.prototype.set = js;
29089
+ function Mt(P) {
29083
29090
  var z = -1, q = P ? P.length : 0;
29084
29091
  for (this.clear(); ++z < q; ) {
29085
29092
  var se = P[z];
@@ -29089,7 +29096,7 @@ var pa = Y3, Ja = {}, X3 = {
29089
29096
  function is() {
29090
29097
  this.__data__ = {
29091
29098
  hash: new wi(),
29092
- map: new (ui || It)(),
29099
+ map: new (ui || Et)(),
29093
29100
  string: new wi()
29094
29101
  };
29095
29102
  }
@@ -29105,12 +29112,12 @@ var pa = Y3, Ja = {}, X3 = {
29105
29112
  function Cn(P, z) {
29106
29113
  return O(this, P).set(P, z), this;
29107
29114
  }
29108
- Et.prototype.clear = is, Et.prototype.delete = Ci, Et.prototype.get = en, Et.prototype.has = tn, Et.prototype.set = Cn;
29109
- function Dt(P) {
29110
- this.__data__ = new It(P);
29115
+ Mt.prototype.clear = is, Mt.prototype.delete = Ci, Mt.prototype.get = en, Mt.prototype.has = tn, Mt.prototype.set = Cn;
29116
+ function St(P) {
29117
+ this.__data__ = new Et(P);
29111
29118
  }
29112
29119
  function Ho() {
29113
- this.__data__ = new It();
29120
+ this.__data__ = new Et();
29114
29121
  }
29115
29122
  function No(P) {
29116
29123
  return this.__data__.delete(P);
@@ -29123,15 +29130,15 @@ var pa = Y3, Ja = {}, X3 = {
29123
29130
  }
29124
29131
  function Vi(P, z) {
29125
29132
  var q = this.__data__;
29126
- if (q instanceof It) {
29133
+ if (q instanceof Et) {
29127
29134
  var se = q.__data__;
29128
29135
  if (!ui || se.length < e - 1)
29129
29136
  return se.push([P, z]), this;
29130
- q = this.__data__ = new Et(se);
29137
+ q = this.__data__ = new Mt(se);
29131
29138
  }
29132
29139
  return q.set(P, z), this;
29133
29140
  }
29134
- Dt.prototype.clear = Ho, Dt.prototype.delete = No, Dt.prototype.get = Pn, Dt.prototype.has = Rt, Dt.prototype.set = Vi;
29141
+ St.prototype.clear = Ho, St.prototype.delete = No, St.prototype.get = Pn, St.prototype.has = Rt, St.prototype.set = Vi;
29135
29142
  function Wt(P, z) {
29136
29143
  var q = Uo(P) || _s(P) ? je(P.length, String) : [], se = q.length, Fe = !!se;
29137
29144
  for (var Te in P)
@@ -29157,8 +29164,8 @@ var pa = Y3, Ja = {}, X3 = {
29157
29164
  return qe;
29158
29165
  if (!Fi(P))
29159
29166
  return P;
29160
- var yt = Uo(P);
29161
- if (yt) {
29167
+ var wt = Uo(P);
29168
+ if (wt) {
29162
29169
  if (qe = ce(P), !z)
29163
29170
  return ns(P, qe);
29164
29171
  } else {
@@ -29176,14 +29183,14 @@ var pa = Y3, Ja = {}, X3 = {
29176
29183
  qe = Ne(P, $e, Qt, z);
29177
29184
  }
29178
29185
  }
29179
- Ye || (Ye = new Dt());
29186
+ Ye || (Ye = new St());
29180
29187
  var Kt = Ye.get(P);
29181
29188
  if (Kt)
29182
29189
  return Kt;
29183
- if (Ye.set(P, qe), !yt)
29184
- var xt = q ? Qo(P) : Xo(P);
29185
- return ke(xt || P, function(_t, zt) {
29186
- xt && (zt = _t, _t = P[zt]), qt(qe, zt, Qt(_t, z, q, se, zt, P, Ye));
29190
+ if (Ye.set(P, qe), !wt)
29191
+ var kt = q ? Qo(P) : Xo(P);
29192
+ return ke(kt || P, function(_t, zt) {
29193
+ kt && (zt = _t, _t = P[zt]), qt(qe, zt, Qt(_t, z, q, se, zt, P, Ye));
29187
29194
  }), qe;
29188
29195
  }
29189
29196
  function Bs(P) {
@@ -29194,10 +29201,10 @@ var pa = Y3, Ja = {}, X3 = {
29194
29201
  return Uo(P) ? se : pe(se, q(P));
29195
29202
  }
29196
29203
  function In(P) {
29197
- return Pt.call(P);
29204
+ return It.call(P);
29198
29205
  }
29199
29206
  function Ut(P) {
29200
- if (!Fi(P) || Mt(P))
29207
+ if (!Fi(P) || xt(P))
29201
29208
  return !1;
29202
29209
  var z = Yo(P) || Ue(P) ? qn : J;
29203
29210
  return z.test(Xt(P));
@@ -29273,7 +29280,7 @@ var pa = Y3, Ja = {}, X3 = {
29273
29280
  }
29274
29281
  var Q = Kn ? xe(Kn, Object) : Il, te = In;
29275
29282
  (vn && te(new vn(new ArrayBuffer(1))) != D || ui && te(new ui()) != f || oi && te(oi.resolve()) != g || An && te(new An()) != b || bn && te(new bn()) != E) && (te = function(P) {
29276
- var z = Pt.call(P), q = z == v ? P.constructor : void 0, se = q ? Xt(q) : void 0;
29283
+ var z = It.call(P), q = z == v ? P.constructor : void 0, se = q ? Xt(q) : void 0;
29277
29284
  if (se)
29278
29285
  switch (se) {
29279
29286
  case qi:
@@ -29336,7 +29343,7 @@ var pa = Y3, Ja = {}, X3 = {
29336
29343
  var z = typeof P;
29337
29344
  return z == "string" || z == "number" || z == "symbol" || z == "boolean" ? P !== "__proto__" : P === null;
29338
29345
  }
29339
- function Mt(P) {
29346
+ function xt(P) {
29340
29347
  return !!We && We in P;
29341
29348
  }
29342
29349
  function Yt(P) {
@@ -29363,7 +29370,7 @@ var pa = Y3, Ja = {}, X3 = {
29363
29370
  return P === z || P !== P && z !== z;
29364
29371
  }
29365
29372
  function _s(P) {
29366
- return Pl(P) && ot.call(P, "callee") && (!ji.call(P, "callee") || Pt.call(P) == o);
29373
+ return Pl(P) && ot.call(P, "callee") && (!ji.call(P, "callee") || It.call(P) == o);
29367
29374
  }
29368
29375
  var Uo = Array.isArray;
29369
29376
  function Fs(P) {
@@ -29374,7 +29381,7 @@ var pa = Y3, Ja = {}, X3 = {
29374
29381
  }
29375
29382
  var Nr = gn || El;
29376
29383
  function Yo(P) {
29377
- var z = Fi(P) ? Pt.call(P) : "";
29384
+ var z = Fi(P) ? It.call(P) : "";
29378
29385
  return z == h || z == u;
29379
29386
  }
29380
29387
  function Gr(P) {
@@ -29467,13 +29474,13 @@ var qa = {}, J3 = {
29467
29474
  q[++z] = se;
29468
29475
  }), q;
29469
29476
  }
29470
- var Pt = Array.prototype, qn = Function.prototype, si = Object.prototype, bi = we["__core-js_shared__"], zi = qn.toString, Ot = si.hasOwnProperty, yi = function() {
29477
+ var It = Array.prototype, qn = Function.prototype, si = Object.prototype, bi = we["__core-js_shared__"], zi = qn.toString, Ot = si.hasOwnProperty, yi = function() {
29471
29478
  var P = /[^.]+$/.exec(bi && bi.keys && bi.keys.IE_PROTO || "");
29472
29479
  return P ? "Symbol(src)_1." + P : "";
29473
29480
  }(), ji = si.toString, Ro = RegExp(
29474
29481
  "^" + zi.call(Ot).replace(ne, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
29475
- ), Kn = Xe ? we.Buffer : void 0, gn = we.Symbol, Ss = we.Uint8Array, vn = si.propertyIsEnumerable, ui = Pt.splice, oi = gn ? gn.toStringTag : void 0, An = Object.getOwnPropertySymbols, bn = Kn ? Kn.isBuffer : void 0, Bi = ze(Object.keys, Object), qi = Q(we, "DataView"), Ki = Q(we, "Map"), $n = Q(we, "Promise"), es = Q(we, "Set"), yn = Q(we, "WeakMap"), Ri = Q(Object, "create"), Ts = Xt(qi), wi = Xt(Ki), wn = Xt($n), Vo = Xt(es), _o = Xt(yn), ts = gn ? gn.prototype : void 0, $i = ts ? ts.valueOf : void 0;
29476
- function It(P) {
29482
+ ), Kn = Xe ? we.Buffer : void 0, gn = we.Symbol, Ss = we.Uint8Array, vn = si.propertyIsEnumerable, ui = It.splice, oi = gn ? gn.toStringTag : void 0, An = Object.getOwnPropertySymbols, bn = Kn ? Kn.isBuffer : void 0, Bi = ze(Object.keys, Object), qi = Q(we, "DataView"), Ki = Q(we, "Map"), $n = Q(we, "Promise"), es = Q(we, "Set"), yn = Q(we, "WeakMap"), Ri = Q(Object, "create"), Ts = Xt(qi), wi = Xt(Ki), wn = Xt($n), Vo = Xt(es), _o = Xt(yn), ts = gn ? gn.prototype : void 0, $i = ts ? ts.valueOf : void 0;
29483
+ function Et(P) {
29477
29484
  var z = -1, q = P == null ? 0 : P.length;
29478
29485
  for (this.clear(); ++z < q; ) {
29479
29486
  var se = P[z];
@@ -29503,8 +29510,8 @@ var qa = {}, J3 = {
29503
29510
  var q = this.__data__;
29504
29511
  return this.size += this.has(P) ? 0 : 1, q[P] = Ri && z === void 0 ? i : z, this;
29505
29512
  }
29506
- It.prototype.clear = Ls, It.prototype.delete = Fo, It.prototype.get = Os, It.prototype.has = zs, It.prototype.set = js;
29507
- function Et(P) {
29513
+ Et.prototype.clear = Ls, Et.prototype.delete = Fo, Et.prototype.get = Os, Et.prototype.has = zs, Et.prototype.set = js;
29514
+ function Mt(P) {
29508
29515
  var z = -1, q = P == null ? 0 : P.length;
29509
29516
  for (this.clear(); ++z < q; ) {
29510
29517
  var se = P[z];
@@ -29532,8 +29539,8 @@ var qa = {}, J3 = {
29532
29539
  var q = this.__data__, se = _i(q, P);
29533
29540
  return se < 0 ? (++this.size, q.push([P, z])) : q[se][1] = z, this;
29534
29541
  }
29535
- Et.prototype.clear = is, Et.prototype.delete = Ci, Et.prototype.get = en, Et.prototype.has = tn, Et.prototype.set = Cn;
29536
- function Dt(P) {
29542
+ Mt.prototype.clear = is, Mt.prototype.delete = Ci, Mt.prototype.get = en, Mt.prototype.has = tn, Mt.prototype.set = Cn;
29543
+ function St(P) {
29537
29544
  var z = -1, q = P == null ? 0 : P.length;
29538
29545
  for (this.clear(); ++z < q; ) {
29539
29546
  var se = P[z];
@@ -29542,9 +29549,9 @@ var qa = {}, J3 = {
29542
29549
  }
29543
29550
  function Ho() {
29544
29551
  this.size = 0, this.__data__ = {
29545
- hash: new It(),
29546
- map: new (Ki || Et)(),
29547
- string: new It()
29552
+ hash: new Et(),
29553
+ map: new (Ki || Mt)(),
29554
+ string: new Et()
29548
29555
  };
29549
29556
  }
29550
29557
  function No(P) {
@@ -29561,10 +29568,10 @@ var qa = {}, J3 = {
29561
29568
  var q = j(this, P), se = q.size;
29562
29569
  return q.set(P, z), this.size += q.size == se ? 0 : 1, this;
29563
29570
  }
29564
- Dt.prototype.clear = Ho, Dt.prototype.delete = No, Dt.prototype.get = Pn, Dt.prototype.has = Rt, Dt.prototype.set = Vi;
29571
+ St.prototype.clear = Ho, St.prototype.delete = No, St.prototype.get = Pn, St.prototype.has = Rt, St.prototype.set = Vi;
29565
29572
  function Wt(P) {
29566
29573
  var z = -1, q = P == null ? 0 : P.length;
29567
- for (this.__data__ = new Dt(); ++z < q; )
29574
+ for (this.__data__ = new St(); ++z < q; )
29568
29575
  this.add(P[z]);
29569
29576
  }
29570
29577
  function qt(P) {
@@ -29575,11 +29582,11 @@ var qa = {}, J3 = {
29575
29582
  }
29576
29583
  Wt.prototype.add = Wt.prototype.push = qt, Wt.prototype.has = di;
29577
29584
  function vt(P) {
29578
- var z = this.__data__ = new Et(P);
29585
+ var z = this.__data__ = new Mt(P);
29579
29586
  this.size = z.size;
29580
29587
  }
29581
29588
  function Qt() {
29582
- this.__data__ = new Et(), this.size = 0;
29589
+ this.__data__ = new Mt(), this.size = 0;
29583
29590
  }
29584
29591
  function Bs(P) {
29585
29592
  var z = this.__data__, q = z.delete(P);
@@ -29593,23 +29600,23 @@ var qa = {}, J3 = {
29593
29600
  }
29594
29601
  function Ut(P, z) {
29595
29602
  var q = this.__data__;
29596
- if (q instanceof Et) {
29603
+ if (q instanceof Mt) {
29597
29604
  var se = q.__data__;
29598
29605
  if (!Ki || se.length < e - 1)
29599
29606
  return se.push([P, z]), this.size = ++q.size, this;
29600
- q = this.__data__ = new Dt(se);
29607
+ q = this.__data__ = new St(se);
29601
29608
  }
29602
29609
  return q.set(P, z), this.size = q.size, this;
29603
29610
  }
29604
29611
  vt.prototype.clear = Qt, vt.prototype.delete = Bs, vt.prototype.get = Rs, vt.prototype.has = In, vt.prototype.set = Ut;
29605
29612
  function En(P, z) {
29606
- var q = _s(P), se = !q && Hr(P), Fe = !q && !se && Fs(P), Te = !q && !se && !Fe && Wr(P), Ye = q || se || Fe || Te, qe = Ye ? Ze(P.length, String) : [], yt = qe.length;
29613
+ var q = _s(P), se = !q && Hr(P), Fe = !q && !se && Fs(P), Te = !q && !se && !Fe && Wr(P), Ye = q || se || Fe || Te, qe = Ye ? Ze(P.length, String) : [], wt = qe.length;
29607
29614
  for (var $e in P)
29608
29615
  (z || Ot.call(P, $e)) && !(Ye && // Safari 9 has enumerable `arguments.length` in strict mode.
29609
29616
  ($e == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
29610
29617
  Fe && ($e == "offset" || $e == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
29611
29618
  Te && ($e == "buffer" || $e == "byteLength" || $e == "byteOffset") || // Skip index properties.
29612
- Ne($e, yt))) && qe.push($e);
29619
+ Ne($e, wt))) && qe.push($e);
29613
29620
  return qe;
29614
29621
  }
29615
29622
  function _i(P, z) {
@@ -29632,16 +29639,16 @@ var qa = {}, J3 = {
29632
29639
  return P === z ? !0 : P == null || z == null || !Fi(P) && !Fi(z) ? P !== P && z !== z : ri(P, z, q, se, sn, Fe);
29633
29640
  }
29634
29641
  function ri(P, z, q, se, Fe, Te) {
29635
- var Ye = _s(P), qe = _s(z), yt = Ye ? l : be(P), $e = qe ? l : be(z);
29636
- yt = yt == a ? C : yt, $e = $e == a ? C : $e;
29637
- var Vt = yt == C, Kt = $e == C, xt = yt == $e;
29638
- if (xt && Fs(P)) {
29642
+ var Ye = _s(P), qe = _s(z), wt = Ye ? l : be(P), $e = qe ? l : be(z);
29643
+ wt = wt == a ? C : wt, $e = $e == a ? C : $e;
29644
+ var Vt = wt == C, Kt = $e == C, kt = wt == $e;
29645
+ if (kt && Fs(P)) {
29639
29646
  if (!Fs(z))
29640
29647
  return !1;
29641
29648
  Ye = !0, Vt = !1;
29642
29649
  }
29643
- if (xt && !Vt)
29644
- return Te || (Te = new vt()), Ye || Wr(P) ? xn(P, z, q, se, Fe, Te) : Wo(P, z, yt, q, se, Fe, Te);
29650
+ if (kt && !Vt)
29651
+ return Te || (Te = new vt()), Ye || Wr(P) ? xn(P, z, q, se, Fe, Te) : Wo(P, z, wt, q, se, Fe, Te);
29645
29652
  if (!(q & s)) {
29646
29653
  var _t = Vt && Ot.call(P, "__wrapped__"), zt = Kt && Ot.call(z, "__wrapped__");
29647
29654
  if (_t || zt) {
@@ -29649,7 +29656,7 @@ var qa = {}, J3 = {
29649
29656
  return Te || (Te = new vt()), Fe(kn, on, q, se, Te);
29650
29657
  }
29651
29658
  }
29652
- return xt ? (Te || (Te = new vt()), Qo(P, z, q, se, Fe, Te)) : !1;
29659
+ return kt ? (Te || (Te = new vt()), Qo(P, z, q, se, Fe, Te)) : !1;
29653
29660
  }
29654
29661
  function Go(P) {
29655
29662
  if (!Gr(P) || At(P))
@@ -29661,7 +29668,7 @@ var qa = {}, J3 = {
29661
29668
  return Fi(P) && Yo(P.length) && !!Ae[Pi(P)];
29662
29669
  }
29663
29670
  function ns(P) {
29664
- if (!Mt(P))
29671
+ if (!xt(P))
29665
29672
  return Bi(P);
29666
29673
  var z = [];
29667
29674
  for (var q in Object(P))
@@ -29669,13 +29676,13 @@ var qa = {}, J3 = {
29669
29676
  return z;
29670
29677
  }
29671
29678
  function xn(P, z, q, se, Fe, Te) {
29672
- var Ye = q & s, qe = P.length, yt = z.length;
29673
- if (qe != yt && !(Ye && yt > qe))
29679
+ var Ye = q & s, qe = P.length, wt = z.length;
29680
+ if (qe != wt && !(Ye && wt > qe))
29674
29681
  return !1;
29675
29682
  var $e = Te.get(P);
29676
29683
  if ($e && Te.get(z))
29677
29684
  return $e == z;
29678
- var Vt = -1, Kt = !0, xt = q & o ? new Wt() : void 0;
29685
+ var Vt = -1, Kt = !0, kt = q & o ? new Wt() : void 0;
29679
29686
  for (Te.set(P, z), Te.set(z, P); ++Vt < qe; ) {
29680
29687
  var _t = P[Vt], zt = z[Vt];
29681
29688
  if (se)
@@ -29686,10 +29693,10 @@ var qa = {}, J3 = {
29686
29693
  Kt = !1;
29687
29694
  break;
29688
29695
  }
29689
- if (xt) {
29696
+ if (kt) {
29690
29697
  if (!_e(z, function(on, ss) {
29691
- if (!nt(xt, ss) && (_t === on || Fe(_t, on, q, se, Te)))
29692
- return xt.push(ss);
29698
+ if (!nt(kt, ss) && (_t === on || Fe(_t, on, q, se, Te)))
29699
+ return kt.push(ss);
29693
29700
  })) {
29694
29701
  Kt = !1;
29695
29702
  break;
@@ -29721,8 +29728,8 @@ var qa = {}, J3 = {
29721
29728
  case g:
29722
29729
  var qe = We;
29723
29730
  case D:
29724
- var yt = se & s;
29725
- if (qe || (qe = ot), P.size != z.size && !yt)
29731
+ var wt = se & s;
29732
+ if (qe || (qe = ot), P.size != z.size && !wt)
29726
29733
  return !1;
29727
29734
  var $e = Ye.get(P);
29728
29735
  if ($e)
@@ -29737,12 +29744,12 @@ var qa = {}, J3 = {
29737
29744
  return !1;
29738
29745
  }
29739
29746
  function Qo(P, z, q, se, Fe, Te) {
29740
- var Ye = q & s, qe = O(P), yt = qe.length, $e = O(z), Vt = $e.length;
29741
- if (yt != Vt && !Ye)
29747
+ var Ye = q & s, qe = O(P), wt = qe.length, $e = O(z), Vt = $e.length;
29748
+ if (wt != Vt && !Ye)
29742
29749
  return !1;
29743
- for (var Kt = yt; Kt--; ) {
29744
- var xt = qe[Kt];
29745
- if (!(Ye ? xt in z : Ot.call(z, xt)))
29750
+ for (var Kt = wt; Kt--; ) {
29751
+ var kt = qe[Kt];
29752
+ if (!(Ye ? kt in z : Ot.call(z, kt)))
29746
29753
  return !1;
29747
29754
  }
29748
29755
  var _t = Te.get(P);
@@ -29750,16 +29757,16 @@ var qa = {}, J3 = {
29750
29757
  return _t == z;
29751
29758
  var zt = !0;
29752
29759
  Te.set(P, z), Te.set(z, P);
29753
- for (var kn = Ye; ++Kt < yt; ) {
29754
- xt = qe[Kt];
29755
- var on = P[xt], ss = z[xt];
29760
+ for (var kn = Ye; ++Kt < wt; ) {
29761
+ kt = qe[Kt];
29762
+ var on = P[kt], ss = z[kt];
29756
29763
  if (se)
29757
- var pu = Ye ? se(ss, on, xt, z, P, Te) : se(on, ss, xt, P, z, Te);
29764
+ var pu = Ye ? se(ss, on, kt, z, P, Te) : se(on, ss, kt, P, z, Te);
29758
29765
  if (!(pu === void 0 ? on === ss || Fe(on, ss, q, se, Te) : pu)) {
29759
29766
  zt = !1;
29760
29767
  break;
29761
29768
  }
29762
- kn || (kn = xt == "constructor");
29769
+ kn || (kn = kt == "constructor");
29763
29770
  }
29764
29771
  if (zt && !kn) {
29765
29772
  var Qr = P.constructor, Ur = z.constructor;
@@ -29820,7 +29827,7 @@ var qa = {}, J3 = {
29820
29827
  function At(P) {
29821
29828
  return !!yi && yi in P;
29822
29829
  }
29823
- function Mt(P) {
29830
+ function xt(P) {
29824
29831
  var z = P && P.constructor, q = typeof z == "function" && z.prototype || si;
29825
29832
  return P === q;
29826
29833
  }
@@ -30820,7 +30827,7 @@ function Ak(n) {
30820
30827
  Z(p), Z(g, x), Z(m), Z(b), Z(C), h = !1;
30821
30828
  },
30822
30829
  d(x) {
30823
- x && U(t), p && p.d(), g && g.d(x), n[39](null), m && m.d(), n[40](null), b && b.d(), C && C.d(), u = !1, Ct(f);
30830
+ x && U(t), p && p.d(), g && g.d(x), n[39](null), m && m.d(), n[40](null), b && b.d(), C && C.d(), u = !1, Pt(f);
30824
30831
  }
30825
30832
  };
30826
30833
  }
@@ -31264,7 +31271,7 @@ function Ik(n) {
31264
31271
  );
31265
31272
  },
31266
31273
  d(a) {
31267
- a && U(t), n[20](null), o = !1, Ct(r);
31274
+ a && U(t), n[20](null), o = !1, Pt(r);
31268
31275
  }
31269
31276
  };
31270
31277
  }
@@ -32227,7 +32234,7 @@ function Vp(n) {
32227
32234
  }
32228
32235
  },
32229
32236
  d(h) {
32230
- h && U(t), Si(a, h), Si(c, h), s = !1, Ct(o);
32237
+ h && U(t), Si(a, h), Si(c, h), s = !1, Pt(o);
32231
32238
  }
32232
32239
  };
32233
32240
  }
@@ -33073,7 +33080,7 @@ function Xp(n) {
33073
33080
  Z(e.$$.fragment, C), Z(g), Z(c.$$.fragment, C), Z(u.$$.fragment, C), f = !1;
33074
33081
  },
33075
33082
  d(C) {
33076
- C && U(t), ge(e), g && g.d(), ge(c), ge(u), p = !1, Ct(v);
33083
+ C && U(t), ge(e), g && g.d(), ge(c), ge(u), p = !1, Pt(v);
33077
33084
  }
33078
33085
  };
33079
33086
  }
@@ -37600,7 +37607,7 @@ let m0 = class extends p0 {
37600
37607
  }
37601
37608
  load(e, i) {
37602
37609
  var a, l, c, h, u, f, p, v, g;
37603
- this.handlePause(), this.clear(), this.data = R({ id: kt() }, e);
37610
+ this.handlePause(), this.clear(), this.data = R({ id: Dt() }, e);
37604
37611
  const s = (() => {
37605
37612
  if (this.data.path instanceof y.Curve)
37606
37613
  return this.data.path.curves[0];
@@ -37625,7 +37632,7 @@ let m0 = class extends p0 {
37625
37632
  !this.GuideLine && (((p = this.config) == null ? void 0 : p.useGuideLine) !== !1 && e.useGuildLine || (v = this.config) != null && v.useGuideLine && e.useGuildLine !== !1) && (this.GuideLine = OS(this.five, this.config)), (g = this.GuideLine) == null || g.load({
37626
37633
  lines: [
37627
37634
  {
37628
- id: kt(),
37635
+ id: Dt(),
37629
37636
  path: [{ type: "CatmullRomCurve3", points: m }],
37630
37637
  model_style: { visible: !0 }
37631
37638
  }
@@ -37791,11 +37798,11 @@ class su extends p0 {
37791
37798
  })();
37792
37799
  if (i.keyframes)
37793
37800
  return {
37794
- keyframesId: kt(),
37801
+ keyframesId: Dt(),
37795
37802
  keyframes: i.keyframes.map((s, o) => {
37796
37803
  var l;
37797
37804
  const r = i.keyframes[o + 1], a = (() => !r || r.start === void 0 || s.end === void 0 ? 0 : r.start - s.end)();
37798
- return he(R({ id: (l = s.uuid) != null ? l : kt(), moveIndex: o, stay: a, index: o }, s), { guildPluginOptions: i.guildPluginOptions });
37805
+ return he(R({ id: (l = s.uuid) != null ? l : Dt(), moveIndex: o, stay: a, index: o }, s), { guildPluginOptions: i.guildPluginOptions });
37799
37806
  })
37800
37807
  };
37801
37808
  if (i.panoIndexList) {
@@ -37819,8 +37826,8 @@ class su extends p0 {
37819
37826
  data: R({ effect: "Move", panoIndex: l, moveEffect: o }, h != null ? h : {})
37820
37827
  }) : i.moveType === "moveAndRotate" && (s.push({ moveIndex: c, stay: i.stay, data: { effect: "Move", panoIndex: l, moveEffect: o } }), h && s.push({ moveIndex: c, stay: i.stay, data: R({ effect: "Rotate", panoIndex: l }, h) }));
37821
37828
  }), {
37822
- keyframesId: kt(),
37823
- keyframes: s.map((l, c) => R({ id: kt(), index: c }, l)),
37829
+ keyframesId: Dt(),
37830
+ keyframes: s.map((l, c) => R({ id: Dt(), index: c }, l)),
37824
37831
  guildPluginOptions: i.guildPluginOptions,
37825
37832
  useGuildLine: i.useGuildLine
37826
37833
  };
@@ -37840,7 +37847,7 @@ class su extends p0 {
37840
37847
  const { data: i, state: s, privateState: o, hooks: r } = this;
37841
37848
  if (o.playing || !(i != null && i.keyframes) || (i == null ? void 0 : i.keyframes.length) === 0)
37842
37849
  return;
37843
- const a = kt();
37850
+ const a = Dt();
37844
37851
  o.playId = a, o.playing = !0, o.broke = !1;
37845
37852
  const l = i.keyframes, c = this.getPauseData();
37846
37853
  (e == null ? void 0 : e.notEmitEvent) !== !0 && r.emit("play", { userAction: (p = e == null ? void 0 : e.userAction) != null ? p : !0 });
@@ -38105,7 +38112,7 @@ class v0 {
38105
38112
  d(this, "isGuideLine", !0);
38106
38113
  d(this, "panoramaItem");
38107
38114
  d(this, "modelItem");
38108
- d(this, "hooks", new bt());
38115
+ d(this, "hooks", new yt());
38109
38116
  d(this, "_visible", !0);
38110
38117
  d(this, "plugin");
38111
38118
  d(this, "five");
@@ -38240,7 +38247,7 @@ let LS = class extends mn {
38240
38247
  }
38241
38248
  }, h = (C = (b = r.routes) == null ? void 0 : b.map((S) => {
38242
38249
  var D;
38243
- return st({}, c, { id: (D = S.id) != null ? D : kt(), pano_group: S.panoIndexList });
38250
+ return st({}, c, { id: (D = S.id) != null ? D : Dt(), pano_group: S.panoIndexList });
38244
38251
  })) != null ? C : [], u = (E = (x = r.lines) == null ? void 0 : x.map((S) => st({}, c, S))) != null ? E : [], f = [...h, ...u];
38245
38252
  yield li(this.five), this.clear(), f.forEach((S) => {
38246
38253
  this.addGuideLineItem(S);
@@ -38984,7 +38991,7 @@ const va = /* @__PURE__ */ new Map();
38984
38991
  function eT(n) {
38985
38992
  if (va.has(n))
38986
38993
  return va.get(n).hooks;
38987
- const t = new bt();
38994
+ const t = new yt();
38988
38995
  let e = null, i;
38989
38996
  const s = () => {
38990
38997
  e = requestAnimationFrame(s);
@@ -39029,7 +39036,7 @@ class Vr {
39029
39036
  });
39030
39037
  d(this, "getBox", () => this.boundingBox ? this.boundingBox : (this.boundingBox = xs(this.originObject3D), this.boundingBox));
39031
39038
  var h, u, f;
39032
- this.hooks = (h = t.sharedHooks) != null ? h : new bt(), this.internalHooks = (u = t.sharedInternalHooks) != null ? u : new bt(), this.camera = t.camera, this.model = t.model, this.originObject3D = t.originObject3D, this.helperObject3D = t.helperObject3D, this.container = t.container, this.scene = t.scene, this.domEvents = t.domEvents, this.onRender = (f = t.onRender) != null ? f : () => {
39039
+ this.hooks = (h = t.sharedHooks) != null ? h : new yt(), this.internalHooks = (u = t.sharedInternalHooks) != null ? u : new yt(), this.camera = t.camera, this.model = t.model, this.originObject3D = t.originObject3D, this.helperObject3D = t.helperObject3D, this.container = t.container, this.scene = t.scene, this.domEvents = t.domEvents, this.onRender = (f = t.onRender) != null ? f : () => {
39033
39040
  }, this.config = e != null ? e : {}, this.initialHelperPosition(), this.initialHelperQuaternion(), this.updateHelperScale(), this.cameraHooks = eT(this.camera), this.enable();
39034
39041
  const i = this.onSetOriginObjectScale.bind(this), s = this.onSetOriginObjectRotate.bind(this), o = this.onSetOriginObjectPosition.bind(this), r = this.onApplyOriginObjectScale.bind(this), a = this.onApplyOriginObjectRotate.bind(this), l = this.onApplyOriginObjectPosition.bind(this), c = this.initialHelperPosition.bind(this);
39035
39042
  this.cameraHooks.on("cameraUpdate", this.updateHelperScale), this.internalHooks.on("initialHelperPosition", c), this.internalHooks.on("setObjectScale", i), this.internalHooks.on("setObjectRotate", s), this.internalHooks.on("setObjectPosition", o), this.internalHooks.on("applyObjectPosition", l), this.internalHooks.on("applyObjectRotate", a), this.internalHooks.on("applyObjectScale", r), this.hooks.on("moveEnd", this.updateHelperScale), this.internalHooks.on("setObjectPosition", this.updateHelperScale), this.internalHooks.on("initialHelperPosition", this.updateHelperScale), this.disposers.push(() => {
@@ -39379,7 +39386,7 @@ class aT {
39379
39386
  enabled: !0,
39380
39387
  disposed: !1
39381
39388
  });
39382
- d(this, "hooks", new bt());
39389
+ d(this, "hooks", new yt());
39383
39390
  d(this, "eventListener", {});
39384
39391
  t && this.addControllers(t), this.setState(this.state);
39385
39392
  }
@@ -40122,7 +40129,7 @@ class b0 extends Xn {
40122
40129
  scaleHelper: !0,
40123
40130
  boundingBoxHelper: !1,
40124
40131
  positionFrom: "objectPosition"
40125
- }), i), { moveHelper: h, rotateHelper: u, scaleHelper: f, boundingBoxHelper: p } = c, v = s.hooks, g = new bt(), m = new Ke(this.five.camera, this.five.getElement()), b = (x) => {
40132
+ }), i), { moveHelper: h, rotateHelper: u, scaleHelper: f, boundingBoxHelper: p } = c, v = s.hooks, g = new yt(), m = new Ke(this.five.camera, this.five.getElement()), b = (x) => {
40126
40133
  if (x)
40127
40134
  return typeof x == "boolean" ? x : x.enable;
40128
40135
  };
@@ -41527,7 +41534,7 @@ class GT {
41527
41534
  /** 标注标签的显示层级 */
41528
41535
  d(this, "tagZIndex", 0);
41529
41536
  /** 标注实例的事件处理器 */
41530
- d(this, "hooks", new bt());
41537
+ d(this, "hooks", new yt());
41531
41538
  /** 自定义 Dom */
41532
41539
  d(this, "itemRenderer");
41533
41540
  /** 数据 */
@@ -42404,9 +42411,9 @@ class Oi extends ni {
42404
42411
  });
42405
42412
  e != null && e.id && (this.uuid = e.id), this.config = R({ defaultAction: !0, occlusionVisibility: !0, occlusionMode: "translucence" }, i), e != null && e.style && (e.style.occlusionVisibility = this.config.occlusionVisibility, e.style.occlusionMode = this.config.occlusionMode), this.addEventListener("removed", () => {
42406
42413
  Nh(this);
42407
- }), St("esc", () => {
42414
+ }), bt("esc", () => {
42408
42415
  this.stopCreating();
42409
- }), this.config.defaultAction && (St("backspace, delete", () => {
42416
+ }), this.config.defaultAction && (bt("backspace, delete", () => {
42410
42417
  this.selected && this.delete();
42411
42418
  }), this.on("click", () => {
42412
42419
  var s;
@@ -42414,7 +42421,7 @@ class Oi extends ni {
42414
42421
  var r;
42415
42422
  o instanceof Oi && o !== this && ((r = o._editor) == null || r.disable());
42416
42423
  }));
42417
- }), St("esc", () => {
42424
+ }), bt("esc", () => {
42418
42425
  this.selected && this.unselect();
42419
42426
  }));
42420
42427
  }
@@ -42510,7 +42517,7 @@ class Oi extends ni {
42510
42517
  class Cl extends ni {
42511
42518
  constructor(e) {
42512
42519
  super();
42513
- d(this, "hooks", new bt());
42520
+ d(this, "hooks", new yt());
42514
42521
  d(this, "originObject");
42515
42522
  this.originObject = e;
42516
42523
  }
@@ -44125,7 +44132,7 @@ function V0(n, t, e) {
44125
44132
  redo: C
44126
44133
  };
44127
44134
  }
44128
- const io = class extends bt {
44135
+ const io = class extends yt {
44129
44136
  constructor(e, i) {
44130
44137
  super();
44131
44138
  d(this, "group");
@@ -44146,7 +44153,7 @@ const io = class extends bt {
44146
44153
  var e;
44147
44154
  console.log("redo"), (e = this.creatingItem) == null || e.redo(), this.five.needsRender = !0;
44148
44155
  });
44149
- this.five = e, this.theme = i, this.group = new ni(), this.group.name = "Sculpt", e.scene.add(this.group), io.modules.init(e), St("ctrl+z, command+z", this.undo), St("ctrl+shift+z, command+shift+z", this.redo), io.modules.fiveDomEvents.addEventListener(this.group, "click", ({ intersects: s, origDomEvent: o }) => {
44156
+ this.five = e, this.theme = i, this.group = new ni(), this.group.name = "Sculpt", e.scene.add(this.group), io.modules.init(e), bt("ctrl+z, command+z", this.undo), bt("ctrl+shift+z, command+shift+z", this.redo), io.modules.fiveDomEvents.addEventListener(this.group, "click", ({ intersects: s, origDomEvent: o }) => {
44150
44157
  var a;
44151
44158
  const r = P0((a = s == null ? void 0 : s[0]) == null ? void 0 : a.object, (l) => l.isSculptObject);
44152
44159
  return r && !r.editing ? this.emit("click", o, r) : !1;
@@ -44324,7 +44331,7 @@ const _0 = (n) => ((!Aa || n !== Aa.five) && (Aa = {
44324
44331
  instance: new uo(n, { noEmitWhenHide: !0, noEmitWhenNotInScene: !0 }),
44325
44332
  five: n
44326
44333
  }), Aa.instance);
44327
- class F0 extends bt {
44334
+ class F0 extends yt {
44328
44335
  constructor(e) {
44329
44336
  var s, o;
44330
44337
  super();
@@ -44768,7 +44775,7 @@ const NL = (...n) => new g5(...n), v5 = /* @__PURE__ */ Object.freeze(/* @__PURE
44768
44775
  sculpt: v5,
44769
44776
  tag: Fm,
44770
44777
  tweenProgress: br,
44771
- uuid: kt,
44778
+ uuid: Dt,
44772
44779
  waitFiveModelLoaded: li,
44773
44780
  worldBounding: nl,
44774
44781
  worldBoundingBox: _b,