@realsee/dnalogel 3.60.1-alpha.2 → 3.60.1-alpha.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (502) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/dist/index.cjs.js +20 -20
  3. package/dist/index.js +137 -128
  4. package/dist/index.umd.js +15 -15
  5. package/dist/shared-utils/tag.d.ts +2 -2
  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 +4 -4
  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 +14 -14
  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 +2 -2
  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 +4 -4
  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/ModelChassisCompassPlugin.html +2 -2
  70. package/docs/functions/ModelEntryDoorGuidePlugin.html +2 -2
  71. package/docs/functions/ModelFloorplanPlugin.html +1 -1
  72. package/docs/functions/ModelItemLabelPlugin.html +1 -1
  73. package/docs/functions/ModelMakerPlugin.html +1 -1
  74. package/docs/functions/ModelRoomLabelPlugin.html +1 -1
  75. package/docs/functions/ModelTVVideoPlugin.html +1 -1
  76. package/docs/functions/ModelViewPlugin.html +2 -2
  77. package/docs/functions/MovePlugin.html +1 -1
  78. package/docs/functions/Object3DHelperPlugin.html +1 -1
  79. package/docs/functions/PanoCompassPlugin.html +1 -1
  80. package/docs/functions/PanoCursorRaycasterPlugin.html +2 -2
  81. package/docs/functions/PanoDoorLabelPlugin.html +1 -1
  82. package/docs/functions/PanoFloorplanRadarPlugin.html +1 -1
  83. package/docs/functions/PanoMeasurePlugin.html +1 -1
  84. package/docs/functions/PanoRulerPlugin.html +2 -2
  85. package/docs/functions/PanoRulerProPlugin.html +2 -2
  86. package/docs/functions/PanoSpatialTagPlugin.html +2 -2
  87. package/docs/functions/PanoTagPlugin.html +1 -1
  88. package/docs/functions/PanoVideoPlugin.html +2 -2
  89. package/docs/functions/PipelinePlugin.html +1 -1
  90. package/docs/functions/SculptPlugin.html +2 -2
  91. package/docs/functions/TopviewFloorplanPlugin.html +1 -1
  92. package/docs/functions/Util.absoluteUrl.html +2 -2
  93. package/docs/functions/Util.awaitNextFrame.html +1 -1
  94. package/docs/functions/Util.blink.html +2 -2
  95. package/docs/functions/Util.bounding.html +1 -1
  96. package/docs/functions/Util.boundingBox.html +1 -1
  97. package/docs/functions/Util.boundingSphere.html +1 -1
  98. package/docs/functions/Util.boxVertex.html +2 -2
  99. package/docs/functions/Util.boxVertexes.html +1 -1
  100. package/docs/functions/Util.checkFiveModelLoaded.html +2 -2
  101. package/docs/functions/Util.convexHull.html +2 -2
  102. package/docs/functions/Util.equal.html +2 -2
  103. package/docs/functions/Util.fiveModelIsLoaded.html +2 -2
  104. package/docs/functions/Util.getCoordsFromClient.html +1 -1
  105. package/docs/functions/Util.getCoordsFromElement.html +1 -1
  106. package/docs/functions/Util.getFrameTime.html +2 -2
  107. package/docs/functions/Util.inside.html +1 -1
  108. package/docs/functions/Util.isAbsoluteURL.html +1 -1
  109. package/docs/functions/Util.isModelLike.html +1 -1
  110. package/docs/functions/Util.isNil.html +2 -2
  111. package/docs/functions/Util.isPanoramaLike.html +1 -1
  112. package/docs/functions/Util.lookObject.html +2 -2
  113. package/docs/functions/Util.lookPoint.html +2 -2
  114. package/docs/functions/Util.nextFrame.html +1 -1
  115. package/docs/functions/Util.notNil.html +2 -2
  116. package/docs/functions/Util.reblink.html +2 -2
  117. package/docs/functions/Util.requestAnimationFrameInterval.html +2 -2
  118. package/docs/functions/Util.sculpt.createBox.html +1 -1
  119. package/docs/functions/Util.sculpt.createCircle.html +1 -1
  120. package/docs/functions/Util.sculpt.createCylinder.html +1 -1
  121. package/docs/functions/Util.sculpt.createLine.html +2 -2
  122. package/docs/functions/Util.sculpt.createPoint.html +1 -1
  123. package/docs/functions/Util.sculpt.createPolygon.html +1 -1
  124. package/docs/functions/Util.sculpt.createPrism.html +1 -1
  125. package/docs/functions/Util.sculpt.createRectangle.html +2 -2
  126. package/docs/functions/Util.tag.html +1 -1
  127. package/docs/functions/Util.tweenProgress.html +1 -1
  128. package/docs/functions/Util.uuid.html +2 -2
  129. package/docs/functions/Util.waitFiveModelLoaded.html +2 -2
  130. package/docs/functions/Util.worldBounding.html +1 -1
  131. package/docs/functions/Util.worldBoundingBox.html +1 -1
  132. package/docs/functions/Util.worldBoundingSphere.html +1 -1
  133. package/docs/functions/createPolyline.html +2 -2
  134. package/docs/functions/pluginFlag.html +1 -1
  135. package/docs/hierarchy.html +1 -1
  136. package/docs/index.html +2 -2
  137. package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +2 -2
  138. package/docs/interfaces/AreaMakerPluginType.Config.html +2 -2
  139. package/docs/interfaces/AreaMakerPluginType.EventMap.html +2 -2
  140. package/docs/interfaces/AreaMakerPluginType.Params.html +2 -2
  141. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +2 -2
  142. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +2 -2
  143. package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +2 -2
  144. package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +2 -2
  145. package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +2 -2
  146. package/docs/interfaces/AreaMakerPluginType.State.html +2 -2
  147. package/docs/interfaces/CSS3DRenderPluginEventMap.html +2 -2
  148. package/docs/interfaces/CSS3DRenderPluginState.html +2 -2
  149. package/docs/interfaces/CameraMovementPluginExportType.html +2 -2
  150. package/docs/interfaces/ContentTypeMapInterface.html +2 -2
  151. package/docs/interfaces/CruisePluginTypes.Config.html +2 -2
  152. package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +2 -2
  153. package/docs/interfaces/CruisePluginTypes.EventMap.html +2 -2
  154. package/docs/interfaces/CruisePluginTypes.GuildLineConfig.html +2 -2
  155. package/docs/interfaces/CruisePluginTypes.MoveAction.html +2 -2
  156. package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +2 -2
  157. package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +2 -2
  158. package/docs/interfaces/CruisePluginTypes.PluginData.html +2 -2
  159. package/docs/interfaces/CruisePluginTypes.PluginServerData.html +2 -2
  160. package/docs/interfaces/CruisePluginTypes.PluginState.html +2 -2
  161. package/docs/interfaces/CurrentPanoImagePluginType.Config.html +2 -2
  162. package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +2 -2
  163. package/docs/interfaces/CurrentPanoImagePluginType.Params.html +2 -2
  164. package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +2 -2
  165. package/docs/interfaces/CurrentPanoImagePluginType.State.html +2 -2
  166. package/docs/interfaces/FloorplanBounding.html +2 -2
  167. package/docs/interfaces/FloorplanData.html +2 -2
  168. package/docs/interfaces/FloorplanEntrance.html +2 -2
  169. package/docs/interfaces/FloorplanExtraObject.html +2 -2
  170. package/docs/interfaces/FloorplanExtraObject3D.html +2 -2
  171. package/docs/interfaces/FloorplanFloorData.html +2 -2
  172. package/docs/interfaces/FloorplanImagePosition.html +2 -2
  173. package/docs/interfaces/FloorplanObserver.html +2 -2
  174. package/docs/interfaces/FloorplanOutlineItem.html +2 -2
  175. package/docs/interfaces/FloorplanPosition.html +2 -2
  176. package/docs/interfaces/FloorplanRoomItem.html +2 -2
  177. package/docs/interfaces/FloorplanRoomLabelItem.html +2 -2
  178. package/docs/interfaces/FloorplanServerBounding.html +2 -2
  179. package/docs/interfaces/FloorplanServerComputedData.html +2 -2
  180. package/docs/interfaces/FloorplanServerData.html +2 -2
  181. package/docs/interfaces/FloorplanServerDoorItem.html +2 -2
  182. package/docs/interfaces/FloorplanServerDoorPosition.html +2 -2
  183. package/docs/interfaces/FloorplanServerEntrance.html +2 -2
  184. package/docs/interfaces/FloorplanServerFloorData.html +2 -2
  185. package/docs/interfaces/FloorplanServerImagePosition.html +2 -2
  186. package/docs/interfaces/FloorplanServerObserver.html +2 -2
  187. package/docs/interfaces/FloorplanServerOutlineItem.html +2 -2
  188. package/docs/interfaces/FloorplanServerPosition.html +2 -2
  189. package/docs/interfaces/FloorplanServerRoomItem.html +2 -2
  190. package/docs/interfaces/FloorplanServerRoomLabelItem.html +2 -2
  191. package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +2 -2
  192. package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +2 -2
  193. package/docs/interfaces/GuideLinePluginType.EventMap.html +2 -2
  194. package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +2 -2
  195. package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +2 -2
  196. package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +2 -2
  197. package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +2 -2
  198. package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +2 -2
  199. package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +2 -2
  200. package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +2 -2
  201. package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +2 -2
  202. package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +1 -1
  203. package/docs/interfaces/GuideLinePluginType.PluginServerData.html +2 -2
  204. package/docs/interfaces/GuideLinePluginType.PluginState.html +2 -2
  205. package/docs/interfaces/GuideLinePluginType.Route.html +2 -2
  206. package/docs/interfaces/GuideLinePluginType.RouteConfig.html +2 -2
  207. package/docs/interfaces/HelperOffset.html +2 -2
  208. package/docs/interfaces/ImagePlaneGroup.html +2 -2
  209. package/docs/interfaces/ItemLabelPluginData.html +2 -2
  210. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +2 -2
  211. package/docs/interfaces/ItemLabelPluginParametersType.html +2 -2
  212. package/docs/interfaces/MinMax.html +2 -2
  213. package/docs/interfaces/ModelChassisCompassPluginData.html +2 -2
  214. package/docs/interfaces/ModelChassisCompassPluginExportType.html +2 -2
  215. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +2 -2
  216. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +2 -2
  217. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +2 -2
  218. package/docs/interfaces/ModelItemLabelPluginData.html +2 -2
  219. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +2 -2
  220. package/docs/interfaces/ModelItemLabelPluginParametersType.html +2 -2
  221. package/docs/interfaces/ModelMakerPluginType.EventMap.html +2 -2
  222. package/docs/interfaces/ModelMakerPluginType.ServerBaseItem.html +2 -2
  223. package/docs/interfaces/ModelMakerPluginType.ServerBoxItem.html +2 -2
  224. package/docs/interfaces/ModelMakerPluginType.ServerData.html +2 -2
  225. package/docs/interfaces/ModelMakerPluginType.ServerPrismItem.html +2 -2
  226. package/docs/interfaces/ModelMakerPluginType.ServerTrianglesItem.html +2 -2
  227. package/docs/interfaces/ModelMakerPluginType.State.html +2 -2
  228. package/docs/interfaces/ModelRoomLabelPluginData.html +2 -2
  229. package/docs/interfaces/ModelTVVideoPluginData.html +2 -2
  230. package/docs/interfaces/ModelTVVideoPluginExportType.html +2 -2
  231. package/docs/interfaces/ModelTVVideoPluginParameterType.html +2 -2
  232. package/docs/interfaces/ModelViewPluginExportType.html +2 -2
  233. package/docs/interfaces/Object3DHelperState.html +2 -2
  234. package/docs/interfaces/ObjectHelperControllers.html +2 -2
  235. package/docs/interfaces/PaintBrushAction.html +2 -2
  236. package/docs/interfaces/PaintBrushConfigs.html +2 -2
  237. package/docs/interfaces/PaintBrushState.html +2 -2
  238. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +2 -2
  239. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +1 -1
  240. package/docs/interfaces/PanoMeasureParameterType.html +2 -2
  241. package/docs/interfaces/PanoMeasurePluginLineJson.html +2 -2
  242. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +2 -2
  243. package/docs/interfaces/PanoMeasurePluginPointJson.html +2 -2
  244. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +2 -2
  245. package/docs/interfaces/PanoRulerPluginExportType.html +2 -2
  246. package/docs/interfaces/PanoRulerPluginOptions.html +2 -2
  247. package/docs/interfaces/PanoRulerPluginParameterType.html +2 -2
  248. package/docs/interfaces/PanoRulerProPluginExportType.html +2 -2
  249. package/docs/interfaces/PanoRulerProPluginOptions.html +2 -2
  250. package/docs/interfaces/PanoRulerProPluginParameterType.html +2 -2
  251. package/docs/interfaces/PanoRulerProPluginState.html +2 -2
  252. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +1 -1
  253. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +1 -1
  254. package/docs/interfaces/PanoSpatialTagPluginData.html +2 -2
  255. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +2 -2
  256. package/docs/interfaces/PanoSpatialTagPluginExportType.html +2 -2
  257. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +2 -2
  258. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +2 -2
  259. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +2 -2
  260. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +2 -2
  261. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +2 -2
  262. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +2 -2
  263. package/docs/interfaces/PanoVideoPluginType.PluginData.html +2 -2
  264. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +2 -2
  265. package/docs/interfaces/PanoVideoPluginType.PluginState.html +2 -2
  266. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +2 -2
  267. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +2 -2
  268. package/docs/interfaces/PluginEventMap.html +2 -2
  269. package/docs/interfaces/Point.html +2 -2
  270. package/docs/interfaces/Room.html +2 -2
  271. package/docs/interfaces/RoomInfo.html +2 -2
  272. package/docs/interfaces/RoomLabel.html +2 -2
  273. package/docs/interfaces/RoomRules.html +1 -1
  274. package/docs/interfaces/Rooms.html +1 -1
  275. package/docs/interfaces/Scissor.html +2 -2
  276. package/docs/interfaces/State.html +2 -2
  277. package/docs/interfaces/TagCacheInterface.html +2 -2
  278. package/docs/interfaces/TagConfig.html +2 -2
  279. package/docs/interfaces/TagGLTFObjectGroup.html +2 -2
  280. package/docs/interfaces/TagIconUrl.html +2 -2
  281. package/docs/interfaces/TagObjectGroup.html +2 -2
  282. package/docs/interfaces/TagStyle.html +2 -2
  283. package/docs/interfaces/Tags.html +2 -2
  284. package/docs/interfaces/TemporaryState.html +2 -2
  285. package/docs/interfaces/Util.AnimeInstance.html +2 -2
  286. package/docs/interfaces/Util.BlinkAnimeOptions.html +2 -2
  287. package/docs/interfaces/Util.EventHandlerConfig.html +2 -2
  288. package/docs/interfaces/Util.FiveDomEvent.html +2 -2
  289. package/docs/interfaces/Util.FiveDomEventMap.html +2 -2
  290. package/docs/interfaces/Util.MagnifierParameter.html +2 -2
  291. package/docs/interfaces/Util.MouseGroupParameter.html +2 -2
  292. package/docs/interfaces/Util.PointIntersection.html +2 -2
  293. package/docs/interfaces/Util.PointSelectorHelperConfig.html +2 -2
  294. package/docs/interfaces/Util.ReBlinkAnimeOptions.html +2 -2
  295. package/docs/modules/AreaMakerPluginType.html +2 -2
  296. package/docs/modules/CruisePluginTypes.html +2 -2
  297. package/docs/modules/CurrentPanoImagePluginType.html +2 -2
  298. package/docs/modules/GuideLineItem.html +2 -2
  299. package/docs/modules/GuideLineModeItem.html +2 -2
  300. package/docs/modules/GuideLinePluginType.html +2 -2
  301. package/docs/modules/ModelMakerPluginType.html +2 -2
  302. package/docs/modules/PanoVideoPluginType.html +2 -2
  303. package/docs/modules/SculptData.html +2 -2
  304. package/docs/modules/Util.html +2 -2
  305. package/docs/modules/Util.sculpt.html +2 -2
  306. package/docs/modules.html +2 -2
  307. package/docs/types/AddObject3DHelperConfig.html +2 -2
  308. package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +2 -2
  309. package/docs/types/AreaMakerPluginType.ItemRenderer.html +1 -1
  310. package/docs/types/AreaMakerPluginType.PluginData.html +2 -2
  311. package/docs/types/AreaMakerPluginType.ServerData.html +2 -2
  312. package/docs/types/ArrayPosition.html +1 -1
  313. package/docs/types/AudioAppearance.html +1 -1
  314. package/docs/types/CSS3DRenderExportType.html +1 -1
  315. package/docs/types/CSS3DRenderPluginExportType.html +1 -1
  316. package/docs/types/CSS3DRenderPluginParameterType.html +1 -1
  317. package/docs/types/ClassFunctionParameters.html +1 -1
  318. package/docs/types/Color.html +1 -1
  319. package/docs/types/ContentTypeConfigKey.html +1 -1
  320. package/docs/types/ContentTypeConfigKeySplit.html +1 -1
  321. package/docs/types/ContentTypeMap.html +1 -1
  322. package/docs/types/Create3DDomContainerReturnType.html +1 -1
  323. package/docs/types/Create3DElementReturnType.html +1 -1
  324. package/docs/types/CruisePluginExportType.html +1 -1
  325. package/docs/types/CruisePluginTypes.CruiseData.html +2 -2
  326. package/docs/types/CruisePluginTypes.MoveEffect.html +1 -1
  327. package/docs/types/CurrentPanoImagePluginExportType.html +1 -1
  328. package/docs/types/DeprecatedMediaPlaneProperty.html +2 -2
  329. package/docs/types/DeprecatedTagProperty.html +2 -2
  330. package/docs/types/Direction-1.html +1 -1
  331. package/docs/types/Direction4.html +1 -1
  332. package/docs/types/ElementRenderer.html +2 -2
  333. package/docs/types/FloorplanRuleLabels.html +2 -2
  334. package/docs/types/FloorplanServerRuleLabels.html +1 -1
  335. package/docs/types/GuideLinePluginExportType.html +1 -1
  336. package/docs/types/GuideLinePluginType.GuideLineItem.html +2 -2
  337. package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +1 -1
  338. package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +1 -1
  339. package/docs/types/GuideLinePluginType.GuideLineStyle.html +2 -2
  340. package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +2 -2
  341. package/docs/types/GuideLinePluginType.PathItem.html +2 -2
  342. package/docs/types/GuideLinePluginType.PluginData.html +2 -2
  343. package/docs/types/HelperEventMap.html +1 -1
  344. package/docs/types/InternalHelperEventMap.html +1 -1
  345. package/docs/types/MapviewFloorplanPluginParameterType.html +1 -1
  346. package/docs/types/MapviewFloorplanPluginReturnType.html +1 -1
  347. package/docs/types/MediaData.html +2 -2
  348. package/docs/types/MediaStore.html +1 -1
  349. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +1 -1
  350. package/docs/types/ModelFloorplanPluginParameterType.html +1 -1
  351. package/docs/types/ModelFloorplanPluginReturnType.html +1 -1
  352. package/docs/types/ModelId.html +1 -1
  353. package/docs/types/ModelMakerPluginType.ElementRenderer.html +1 -1
  354. package/docs/types/ModelMakerPluginType.ItemType.html +1 -1
  355. package/docs/types/ModelRoomLabelPluginParameters.html +1 -1
  356. package/docs/types/ModelRoomLabelPluginReturnType.html +1 -1
  357. package/docs/types/MoveArgs.html +2 -2
  358. package/docs/types/MoveOpts.html +2 -2
  359. package/docs/types/Object3DHelperEventMap.html +1 -1
  360. package/docs/types/ObjectFit.html +1 -1
  361. package/docs/types/PaintBrushEventMap.html +1 -1
  362. package/docs/types/PanoCompassPluginData.html +1 -1
  363. package/docs/types/PanoCompassPluginExportType.html +1 -1
  364. package/docs/types/PanoCompassPluginParameterType.html +1 -1
  365. package/docs/types/PanoFloorplanRadarPluginParameterType.html +1 -1
  366. package/docs/types/PanoFloorplanRadarPluginReturnType.html +1 -1
  367. package/docs/types/PanoIndex.html +1 -1
  368. package/docs/types/PanoMeasurePluginEvent.html +1 -1
  369. package/docs/types/PanoMeasureReturnType.html +1 -1
  370. package/docs/types/PanoSpatialTagPluginId.html +1 -1
  371. package/docs/types/PanoTagPluginExportInterface.html +1 -1
  372. package/docs/types/PanoTagPluginParamsInterface.html +1 -1
  373. package/docs/types/PanoVideoPluginParameterType.html +1 -1
  374. package/docs/types/PanoVideoPluginReturnType.html +1 -1
  375. package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +2 -2
  376. package/docs/types/PipelinePluginParameterType.html +1 -1
  377. package/docs/types/PipelinePluginReturnType.html +1 -1
  378. package/docs/types/PlaneTag.html +2 -2
  379. package/docs/types/Point2DTag.html +2 -2
  380. package/docs/types/Point3DTag.html +2 -2
  381. package/docs/types/PointTagInstance.html +1 -1
  382. package/docs/types/Position.html +1 -1
  383. package/docs/types/PositionFrom.html +1 -1
  384. package/docs/types/RotateArgs.html +2 -2
  385. package/docs/types/RotateOpts.html +2 -2
  386. package/docs/types/RuleLabelsKey.html +1 -1
  387. package/docs/types/RuleLabelsValue.html +1 -1
  388. package/docs/types/ScaleCallback.html +1 -1
  389. package/docs/types/ScalePosition.html +2 -2
  390. package/docs/types/SculptData.BoxData.html +1 -1
  391. package/docs/types/SculptData.CircleData.html +1 -1
  392. package/docs/types/SculptData.CylinderData.html +1 -1
  393. package/docs/types/SculptData.PointData.html +1 -1
  394. package/docs/types/SculptData.PolygonData.html +1 -1
  395. package/docs/types/SculptData.PolylineData.html +1 -1
  396. package/docs/types/SculptData.PrismData.html +1 -1
  397. package/docs/types/SculptData.RectangleData.html +1 -1
  398. package/docs/types/StickType.html +1 -1
  399. package/docs/types/Tag.html +2 -2
  400. package/docs/types/Tag2D.html +2 -2
  401. package/docs/types/Tag3D.html +2 -2
  402. package/docs/types/TagClickParams.html +1 -1
  403. package/docs/types/TagConfigByKey.html +1 -1
  404. package/docs/types/TagContentType.html +1 -1
  405. package/docs/types/TagContentTypeMapping.html +1 -1
  406. package/docs/types/TagDimensionType.html +1 -1
  407. package/docs/types/TagElement.html +2 -2
  408. package/docs/types/TagEvents.html +1 -1
  409. package/docs/types/TagGLTFObject.html +1 -1
  410. package/docs/types/TagHooks.html +1 -1
  411. package/docs/types/TagId.html +1 -1
  412. package/docs/types/TagInstance.html +1 -1
  413. package/docs/types/TagPointType.html +2 -2
  414. package/docs/types/TagRendererMap.html +1 -1
  415. package/docs/types/TopviewFloorplanPluginParameterType.html +1 -1
  416. package/docs/types/TopviewFloorplanPluginReturnType.html +1 -1
  417. package/docs/types/Util.ActionIfNoModelUnderMouse.html +1 -1
  418. package/docs/types/Util.PointSelectorConfig.html +1 -1
  419. package/docs/types/WorkCode.html +1 -1
  420. package/docs/variables/FLOOR_TYPE_MAP.html +2 -2
  421. package/docs/variables/PLUGIN.html +1 -1
  422. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +2 -2
  423. package/docs/variables/ROOM_TYPE_MAP.html +2 -2
  424. package/docs/variables/Util.animeMap.html +1 -1
  425. package/docs/variables/defaultGlobalConfig.html +1 -1
  426. package/docs/variables/itemLabelPluginServerParams.html +1 -1
  427. package/docs/variables/modelItemLabelPluginServerParams.html +1 -1
  428. package/docs/variables/modelRoomLabelPluginServerParams.html +1 -1
  429. package/libs/AreaMakerPlugin/Controller.js +3 -2
  430. package/libs/AreaMakerPlugin/index.js +3 -2
  431. package/libs/AreaMakerPlugin/utils/Item.js +4 -3
  432. package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.js +3 -2
  433. package/libs/CSS3DRenderPlugin/utils/three/CSS3DRender.js +3 -2
  434. package/libs/CruisePlugin/BaseController.js +5 -4
  435. package/libs/CruisePlugin/Move.js +1 -1
  436. package/libs/CruisePlugin/index.js +1 -1
  437. package/libs/CurrentPanoImagePlugin/Controller.js +3 -2
  438. package/libs/CurrentPanoImagePlugin/index.js +4 -3
  439. package/libs/GuideLinePlugin/GuideLineItem.js +2 -2
  440. package/libs/GuideLinePlugin/GuideLineModeItem.js +3 -3
  441. package/libs/GuideLinePlugin/index.js +1 -1
  442. package/libs/ModelMakerPlugin/index.js +1 -1
  443. package/libs/ModelMakerPlugin/item/baseItem.js +54 -14
  444. package/libs/ModelMakerPlugin/item/boxItem.js +52 -12
  445. package/libs/ModelMakerPlugin/item/polygonItem.js +54 -14
  446. package/libs/ModelMakerPlugin/item/prismItem.js +4 -3
  447. package/libs/ModelTVVideoPlugin/Plugin.js +1 -1
  448. package/libs/ModelTVVideoPlugin/index.js +1 -1
  449. package/libs/Object3DHelperPlugin/index.js +1 -1
  450. package/libs/PanoCompassPlugin/Controller.js +1 -1
  451. package/libs/PanoCompassPlugin/index.js +1 -1
  452. package/libs/PanoDoorLabelPlugin/index.js +1 -1
  453. package/libs/PanoMeasurePlugin/Components/Controller0.js +3 -2
  454. package/libs/PanoMeasurePlugin/Components/Controller1.js +3 -2
  455. package/libs/PanoMeasurePlugin/Controller/EditController.js +3 -2
  456. package/libs/PanoMeasurePlugin/Controller/WatchController.js +3 -2
  457. package/libs/PanoMeasurePlugin/Controller/index.js +3 -2
  458. package/libs/PanoMeasurePlugin/Model/area.js +3 -2
  459. package/libs/PanoMeasurePlugin/Modules/Magnifier.js +1 -0
  460. package/libs/PanoMeasurePlugin/Modules/UIController/index.js +10 -9
  461. package/libs/PanoMeasurePlugin/index.js +14 -13
  462. package/libs/PanoMeasurePlugin/utils/dom/areaDom.js +3 -2
  463. package/libs/PanoRulerProPlugin/Controller.js +14 -13
  464. package/libs/PanoRulerProPlugin/RulerItems.js +3 -2
  465. package/libs/PanoRulerProPlugin/index.js +4 -3
  466. package/libs/PanoSpatialTagPlugin/Plugin.js +1 -1
  467. package/libs/PanoSpatialTagPlugin/index.js +1 -1
  468. package/libs/PanoTagPlugin/Components/Common/TagPoint.js +3 -2
  469. package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +3 -2
  470. package/libs/PanoTagPlugin/Components/Tag/index.js +1 -1
  471. package/libs/PanoTagPlugin/Components/TagContainer.js +1 -1
  472. package/libs/PanoTagPlugin/Components/TagItem.js +1 -1
  473. package/libs/PanoTagPlugin/controller/Tag/BaseTag.js +3 -2
  474. package/libs/PanoTagPlugin/controller/Tag/PointTag.js +4 -3
  475. package/libs/PanoTagPlugin/controller/TagRender.js +3 -2
  476. package/libs/PanoTagPlugin/controller/TagUtil.js +3 -2
  477. package/libs/PanoTagPlugin/controller/index.js +23 -23
  478. package/libs/PanoTagPlugin/index.js +1 -1
  479. package/libs/PanoTagPlugin/utils/tag/calculateTagConfig.js +3 -2
  480. package/libs/PanoVideoPlugin/Controller.js +3 -2
  481. package/libs/PanoVideoPlugin/VideoMeshController.js +8 -7
  482. package/libs/PanoVideoPlugin/index.js +6 -5
  483. package/libs/PipelinePlugin/Controller.js +17 -16
  484. package/libs/PipelinePlugin/index.js +4 -3
  485. package/libs/PipelinePlugin/utils/Objects/FlowPipe.js +4 -3
  486. package/libs/PipelinePlugin/utils/Objects/HighlightPipe.js +4 -3
  487. package/libs/PipelinePlugin/utils/Objects/Pipe.js +2 -1
  488. package/libs/Sculpt/Meshes/Line.js +44 -40
  489. package/libs/base/BasePlugin.js +1 -1
  490. package/libs/floorplan/MapviewFloorplanPlugin/index.js +1 -1
  491. package/libs/floorplan/ModelFloorplanPlugin/Controller.js +16 -15
  492. package/libs/floorplan/ModelFloorplanPlugin/index.js +4 -3
  493. package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +12 -11
  494. package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +4 -3
  495. package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +3 -2
  496. package/libs/floorplan/TopviewFloorplanPlugin/index.js +4 -3
  497. package/libs/index.js +1 -1
  498. package/libs/shared-utils/CSS3DRender/CSS3DObject.js +14 -14
  499. package/libs/shared-utils/logger.js +1 -1
  500. package/libs/shared-utils/tag.d.ts +2 -2
  501. package/libs/shared-utils/tag.js +114 -83
  502. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -43,7 +43,7 @@ import { LineGeometry as gA, LineMaterial as vA, THREE_Line2 as AA, Line as bA }
43
43
  import { GLTFLoader as yA } from "@realsee/five/gltf-loader";
44
44
  function wA() {
45
45
  console.debug(
46
- "%c %c@realsee/dnalogel %cv3.60.1-alpha.2",
46
+ "%c %c@realsee/dnalogel %cv3.60.1-alpha.5",
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",
@@ -1410,7 +1410,7 @@ class Om extends y.Mesh {
1410
1410
  return e !== null && e.remove(this), this;
1411
1411
  }
1412
1412
  }
1413
- function li(...n) {
1413
+ function ci(...n) {
1414
1414
  const t = new he();
1415
1415
  return n.forEach((e) => t.add(e)), t.divideScalar(n.length), t;
1416
1416
  }
@@ -1774,31 +1774,36 @@ class Rn {
1774
1774
  * @description 启用标签
1775
1775
  */
1776
1776
  enable() {
1777
- var i, s, r, o, a;
1778
- if (this.enabled)
1779
- return;
1780
- this.enabled = !0, this.wrapper = (r = (s = this.config.wrapper) != null ? s : (i = this.five.getElement()) == null ? void 0 : i.parentElement) != null ? r : document.body;
1781
- const t = `light-tag-wrapper-${(a = (o = this.config) == null ? void 0 : o.namespace) != null ? a : "default"}`;
1782
- if (!this.tagWrapper) {
1783
- let l = Array.from(this.wrapper.children).find((c) => c.id === t);
1784
- if (!l) {
1785
- const c = document.createElement("div");
1786
- l = c, c.id = t, c.style.position = "absolute", c.style.overflow = "hidden", c.style.top = "0", c.style.left = "0", c.style.width = "100%", c.style.height = "100%", c.style.pointerEvents = "none", c.style.zIndex = "1", this.wrapper.appendChild(l);
1777
+ return $(this, null, function* () {
1778
+ var i, s, r, o;
1779
+ if (this.enabled || (this.enabled = !0, yield ai(this.five), !this.enabled))
1780
+ return;
1781
+ if (this.wrapper = (s = this.config.wrapper) != null ? s : (i = this.five.getElement()) == null ? void 0 : i.parentElement, !this.wrapper) {
1782
+ console.error("lighttag: wrapper is required");
1783
+ return;
1787
1784
  }
1788
- this.tagWrapper = l;
1789
- }
1790
- this.tagWrapper.appendChild(this.container), this.updateVisible();
1791
- const e = Jc(this.five, this.onFiveEveryReady);
1792
- this.five.on("cameraUpdate", this.onCameraUpdate), this.five.on("cameraFovUpdate", this.onCameraFovUpdate), this.five.on("panoArrived", this.onPanoArrived), this.five.on("modeChange", this.onModeChange), this.disposer = () => {
1793
- e(), this.five.off("cameraUpdate", this.onCameraUpdate), this.five.off("cameraFovUpdate", this.onCameraFovUpdate), this.five.off("panoArrived", this.onPanoArrived), this.five.off("modeChange", this.onModeChange);
1794
- };
1785
+ const t = `light-tag-wrapper-${(o = (r = this.config) == null ? void 0 : r.namespace) != null ? o : "default"}`;
1786
+ if (!this.tagWrapper) {
1787
+ let a = Array.from(this.wrapper.children).find((l) => l.id === t);
1788
+ if (!a) {
1789
+ const l = document.createElement("div");
1790
+ a = l, l.id = t, l.style.position = "absolute", l.style.overflow = "hidden", l.style.top = "0", l.style.left = "0", l.style.width = "100%", l.style.height = "100%", l.style.pointerEvents = "none", l.style.zIndex = "1", this.wrapper.appendChild(a);
1791
+ }
1792
+ this.tagWrapper = a;
1793
+ }
1794
+ this.tagWrapper.appendChild(this.container), this.updateVisible();
1795
+ const e = Jc(this.five, this.onFiveEveryReady);
1796
+ this.five.on("cameraUpdate", this.onCameraUpdate), this.five.on("cameraFovUpdate", this.onCameraFovUpdate), this.five.on("panoArrived", this.onPanoArrived), this.five.on("modeChange", this.onModeChange), this.disposer = () => {
1797
+ e(), this.five.off("cameraUpdate", this.onCameraUpdate), this.five.off("cameraFovUpdate", this.onCameraFovUpdate), this.five.off("panoArrived", this.onPanoArrived), this.five.off("modeChange", this.onModeChange);
1798
+ };
1799
+ });
1795
1800
  }
1796
1801
  /**
1797
1802
  * @description 禁用标签
1798
1803
  */
1799
1804
  disable() {
1800
- var t;
1801
- this.enabled && (this.enabled = !1, this.tagWrapper.removeChild(this.container), (t = this.disposer) == null || t.call(this));
1805
+ var t, e;
1806
+ this.enabled && (this.enabled = !1, (t = this.tagWrapper) == null || t.removeChild(this.container), (e = this.disposer) == null || e.call(this));
1802
1807
  }
1803
1808
  /**
1804
1809
  * @description 销毁标签,并释放相关资源
@@ -1867,7 +1872,7 @@ function cs(n) {
1867
1872
  function Ei(n) {
1868
1873
  return !cs(n);
1869
1874
  }
1870
- var fi = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {}, mo = {}, XA = {
1875
+ var pi = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {}, mo = {}, XA = {
1871
1876
  get exports() {
1872
1877
  return mo;
1873
1878
  },
@@ -2035,7 +2040,7 @@ var fi = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
2035
2040
  };
2036
2041
  function We(O) {
2037
2042
  var R, W = O.options.inputClass;
2038
- return W ? R = W : K ? R = qi : re ? R = wn : ee ? R = $i : R = ci, new R(O, ze);
2043
+ return W ? R = W : K ? R = qi : re ? R = wn : ee ? R = $i : R = hi, new R(O, ze);
2039
2044
  }
2040
2045
  function ze(O, R, W) {
2041
2046
  var te = W.pointers.length, ce = W.changedPointers.length, be = R & ie && te - ce === 0, Ne = R & (ke | pe) && te - ce === 0;
@@ -2128,10 +2133,10 @@ var fi = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
2128
2133
  mousemove: we,
2129
2134
  mouseup: ke
2130
2135
  }, xs = "mousedown", vn = "mousemove mouseup";
2131
- function ci() {
2136
+ function hi() {
2132
2137
  this.evEl = xs, this.evWin = vn, this.pressed = !1, Je.apply(this, arguments);
2133
2138
  }
2134
- C(ci, Je, {
2139
+ C(hi, Je, {
2135
2140
  /**
2136
2141
  * handle mouse events
2137
2142
  * @param {Object} ev
@@ -2248,7 +2253,7 @@ var fi = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
2248
2253
  function $i() {
2249
2254
  Je.apply(this, arguments);
2250
2255
  var O = x(this.handler, this);
2251
- this.touch = new wn(this.manager, O), this.mouse = new ci(this.manager, O), this.primaryTouch = null, this.lastTouches = [];
2256
+ this.touch = new wn(this.manager, O), this.mouse = new hi(this.manager, O), this.primaryTouch = null, this.lastTouches = [];
2252
2257
  }
2253
2258
  C($i, Je, {
2254
2259
  /**
@@ -2366,7 +2371,7 @@ var fi = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
2366
2371
  O[W] = R ? t.CSS.supports("touch-action", W) : !0;
2367
2372
  }), O;
2368
2373
  }
2369
- var Pn = 1, Rt = 2, Vi = 4, Gt = 8, Jt = Gt, hi = 16, vt = 32;
2374
+ var Pn = 1, Rt = 2, Vi = 4, Gt = 8, Jt = Gt, ui = 16, vt = 32;
2370
2375
  function Wt(O) {
2371
2376
  this.options = v({}, this.defaults, O || {}), this.id = j(), this.manager = null, this.options.enable = T(this.options.enable, !0), this.state = Pn, this.simultaneous = {}, this.requireFail = [];
2372
2377
  }
@@ -2486,7 +2491,7 @@ var fi = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
2486
2491
  this.reset(), this.state = vt;
2487
2492
  return;
2488
2493
  }
2489
- this.state & (Jt | hi | vt) && (this.state = Pn), this.state = this.process(R), this.state & (Rt | Vi | Gt | hi) && this.tryEmit(R);
2494
+ this.state & (Jt | ui | vt) && (this.state = Pn), this.state = this.process(R), this.state & (Rt | Vi | Gt | ui) && this.tryEmit(R);
2490
2495
  },
2491
2496
  /**
2492
2497
  * return the state of the recognizer
@@ -2514,7 +2519,7 @@ var fi = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
2514
2519
  }
2515
2520
  };
2516
2521
  function Os(O) {
2517
- return O & hi ? "cancel" : O & Gt ? "end" : O & Vi ? "move" : O & Rt ? "start" : "";
2522
+ return O & ui ? "cancel" : O & Gt ? "end" : O & Vi ? "move" : O & Rt ? "start" : "";
2518
2523
  }
2519
2524
  function zs(O) {
2520
2525
  return O == de ? "down" : O == Ue ? "up" : O == je ? "left" : O == De ? "right" : "";
@@ -2556,7 +2561,7 @@ var fi = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
2556
2561
  */
2557
2562
  process: function(O) {
2558
2563
  var R = this.state, W = O.eventType, te = R & (Rt | Vi), ce = this.attrTest(O);
2559
- return te && (W & pe || !ce) ? R | hi : te || ce ? W & ke ? R | Gt : R & Rt ? R | Vi : Rt : vt;
2564
+ return te && (W & pe || !ce) ? R | ui : te || ce ? W & ke ? R | Gt : R & Rt ? R | Vi : Rt : vt;
2560
2565
  }
2561
2566
  });
2562
2567
  function En() {
@@ -3011,7 +3016,7 @@ var fi = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
3011
3016
  STATE_CHANGED: Vi,
3012
3017
  STATE_ENDED: Gt,
3013
3018
  STATE_RECOGNIZED: Jt,
3014
- STATE_CANCELLED: hi,
3019
+ STATE_CANCELLED: ui,
3015
3020
  STATE_FAILED: vt,
3016
3021
  DIRECTION_NONE: Xe,
3017
3022
  DIRECTION_LEFT: je,
@@ -3025,7 +3030,7 @@ var fi = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
3025
3030
  Input: Je,
3026
3031
  TouchAction: Dt,
3027
3032
  TouchInput: wn,
3028
- MouseInput: ci,
3033
+ MouseInput: hi,
3029
3034
  PointerEventInput: qi,
3030
3035
  TouchMouseInput: $i,
3031
3036
  SingleTouchInput: yn,
@@ -3711,7 +3716,7 @@ class sb extends Bm {
3711
3716
  }
3712
3717
  class Di extends gi {
3713
3718
  constructor(e) {
3714
- var o, a, l;
3719
+ var o, a, l, c;
3715
3720
  super();
3716
3721
  d(this, "name", "LineMesh");
3717
3722
  d(this, "type", "Line2");
@@ -3734,11 +3739,15 @@ class Di extends gi {
3734
3739
  depthWrite: !1,
3735
3740
  transparent: !0
3736
3741
  }, s = new nb(ue(V({}, i), { dashed: !1, depthTest: !0 })), r = new sb(ue(V({}, i), { dashed: !0, depthTest: !1 }));
3737
- this.line1 = new xu(this.geometry, s), this.line2 = new xu(this.geometry, r), this.line1.renderOrder = 2, this.line2.renderOrder = 2, this.line1.name = "line1", this.line2.name = "line2", this.add(this.line1), e && this.setStyle(e), e != null && e.points && this.setPoints(e.points), this.addEventListener("removed", () => {
3742
+ if (this.line1 = new xu(this.geometry, s), this.line2 = new xu(this.geometry, r), this.line1.renderOrder = 2, this.line2.renderOrder = 2, this.line1.name = "line1", this.line2.name = "line2", this.add(this.line1), this.five) {
3743
+ const h = (c = this.five.renderer) == null ? void 0 : c.getSize(new y.Vector2());
3744
+ h && this.setResolution(h.width, h.height);
3745
+ }
3746
+ e && this.setStyle(e), e != null && e.points && this.setPoints(e.points), this.addEventListener("removed", () => {
3738
3747
  Ja(this);
3739
3748
  }), Object.defineProperty(this, "visible", {
3740
- set: (c) => {
3741
- this.doms && this.doms.forEach((h) => h.container.style.display = c ? "block" : "none"), this._visible = c;
3749
+ set: (h) => {
3750
+ this.doms && this.doms.forEach((u) => u.container.style.display = h ? "block" : "none"), this._visible = h;
3742
3751
  },
3743
3752
  get: () => this._visible
3744
3753
  });
@@ -3848,7 +3857,7 @@ class Di extends gi {
3848
3857
  }).filter(Fe).map((s) => go(this, s));
3849
3858
  i.forEach(([s, r], o) => {
3850
3859
  var c;
3851
- const a = li(s, r);
3860
+ const a = ci(s, r);
3852
3861
  this.doms[o] = (c = this.doms[o]) != null ? c : (() => {
3853
3862
  const h = new Rn(this.five);
3854
3863
  return h.intersectCheck = !1, h.simulate3D = !0, h;
@@ -5618,7 +5627,7 @@ function ug(n, t, e) {
5618
5627
  }, g)), yield n.ready();
5619
5628
  });
5620
5629
  }
5621
- function mi(n) {
5630
+ function ai(n) {
5622
5631
  return $(this, null, function* () {
5623
5632
  return new Promise((t) => {
5624
5633
  if (dg(n))
@@ -6037,7 +6046,7 @@ let gg = class extends dn {
6037
6046
  new he(A, -A, 0),
6038
6047
  new he(A, A, 0)
6039
6048
  ];
6040
- })(), r = (_ = e.ratio) != null ? _ : b1, o = (H = e.dpr) != null ? H : 1, a = (J = e.pointerEvents) != null ? J : "auto", l = Math.max(A1, r), c = s[0].distanceTo(s[1]), h = s[1].distanceTo(s[2]), u = ar(c / r * o), f = ar(h / r * o), p = li(...s);
6049
+ })(), r = (_ = e.ratio) != null ? _ : b1, o = (H = e.dpr) != null ? H : 1, a = (J = e.pointerEvents) != null ? J : "auto", l = Math.max(A1, r), c = s[0].distanceTo(s[1]), h = s[1].distanceTo(s[2]), u = ar(c / r * o), f = ar(h / r * o), p = ci(...s);
6041
6050
  let g;
6042
6051
  if (l === r)
6043
6052
  i.style.width = `${u}px`, i.style.height = `${f}px`, g = i;
@@ -6578,7 +6587,7 @@ let x1 = class extends bo {
6578
6587
  return console.error(`${Bu}: wrapper is ${h}; mode is ${o.css3DObject.mode}`);
6579
6588
  o.appendToElement(h), o.render(), this.created3DElementResults.push(o);
6580
6589
  }, c = () => {
6581
- o.css3DObject.mode === "front" && l(), o.css3DObject.mode === "behind" && mi(this.five).then(() => l());
6590
+ o.css3DObject.mode === "front" && l(), o.css3DObject.mode === "behind" && ai(this.five).then(() => l());
6582
6591
  };
6583
6592
  return r && c(), ue(V({}, o), { render: r ? void 0 : c });
6584
6593
  });
@@ -11472,7 +11481,7 @@ let Yn = class {
11472
11481
  /**
11473
11482
  * @realsee/dnalogel 版本号
11474
11483
  */
11475
- d(this, "VERSION", "3.60.1-alpha.2");
11484
+ d(this, "VERSION", "3.60.1-alpha.5");
11476
11485
  d(this, "NAME");
11477
11486
  d(this, "five");
11478
11487
  d(this, "workUtil");
@@ -12177,7 +12186,7 @@ let aC = class extends mn {
12177
12186
  getRoomDimensionText: (h, u) => (h / 1e3).toFixed(1) + "m × " + (u / 1e3).toFixed(1) + "m",
12178
12187
  getRuleDistanceText: (h) => h.toString()
12179
12188
  }, r = i ? fr(i, ["selector", "scale"]) : {}, o = V(V({}, s.missingFloorConfig), r.missingFloorConfig), a = ue(V(V({}, s), r), { missingFloorConfig: o });
12180
- this.state = { enabled: !0, visible: !1, config: a }, this.initContainer(), mi(e).then(this.onFiveModelLoaded), e.once("dispose", this.dispose), this.addEventListener();
12189
+ this.state = { enabled: !0, visible: !1, config: a }, this.initContainer(), ai(e).then(this.onFiveModelLoaded), e.once("dispose", this.dispose), this.addEventListener();
12181
12190
  }
12182
12191
  load(e, i, s = !0) {
12183
12192
  return $(this, null, function* () {
@@ -13626,7 +13635,7 @@ function Xn(n, t) {
13626
13635
  var Oh = 0, Ba = 1, Ed = { t: Oh, s: Ba };
13627
13636
  Xn.prototype.k = function() {
13628
13637
  for (; !this.m; ) {
13629
- var n = di(this, 3);
13638
+ var n = fi(this, 3);
13630
13639
  switch (n & 1 && (this.m = !0), n >>>= 1, n) {
13631
13640
  case 0:
13632
13641
  var t = this.input, e = this.a, i = this.c, s = this.b, r = t.length, o = ri, a = ri, l = i.length, c = ri;
@@ -13667,24 +13676,24 @@ Xn.prototype.k = function() {
13667
13676
  this.j(TC, LC);
13668
13677
  break;
13669
13678
  case 2:
13670
- for (var h = di(this, 5) + 257, u = di(this, 5) + 1, f = di(this, 4) + 4, p = new (at ? Uint8Array : Array)(jl.length), g = ri, v = ri, m = ri, b = ri, C = ri, x = ri, E = ri, S = ri, T = ri, S = 0; S < f; ++S)
13671
- p[jl[S]] = di(this, 3);
13679
+ for (var h = fi(this, 5) + 257, u = fi(this, 5) + 1, f = fi(this, 4) + 4, p = new (at ? Uint8Array : Array)(jl.length), g = ri, v = ri, m = ri, b = ri, C = ri, x = ri, E = ri, S = ri, T = ri, S = 0; S < f; ++S)
13680
+ p[jl[S]] = fi(this, 3);
13672
13681
  if (!at)
13673
13682
  for (S = f, f = p.length; S < f; ++S)
13674
13683
  p[jl[S]] = 0;
13675
13684
  for (g = os(p), b = new (at ? Uint8Array : Array)(h + u), S = 0, T = h + u; S < T; )
13676
13685
  switch (C = wo(this, g), C) {
13677
13686
  case 16:
13678
- for (E = 3 + di(this, 2); E--; )
13687
+ for (E = 3 + fi(this, 2); E--; )
13679
13688
  b[S++] = x;
13680
13689
  break;
13681
13690
  case 17:
13682
- for (E = 3 + di(this, 3); E--; )
13691
+ for (E = 3 + fi(this, 3); E--; )
13683
13692
  b[S++] = 0;
13684
13693
  x = 0;
13685
13694
  break;
13686
13695
  case 18:
13687
- for (E = 11 + di(this, 7); E--; )
13696
+ for (E = 11 + fi(this, 7); E--; )
13688
13697
  b[S++] = 0;
13689
13698
  x = 0;
13690
13699
  break;
@@ -13739,7 +13748,7 @@ ya = 0;
13739
13748
  for (Ld = yc.length; ya < Ld; ++ya)
13740
13749
  yc[ya] = 5;
13741
13750
  var LC = os(yc);
13742
- function di(n, t) {
13751
+ function fi(n, t) {
13743
13752
  for (var e = n.f, i = n.d, s = n.input, r = n.a, o = s.length, a; i < t; ) {
13744
13753
  if (r >= o)
13745
13754
  throw Error("input buffer is broken");
@@ -13761,7 +13770,7 @@ Xn.prototype.j = function(n, t) {
13761
13770
  if (256 > r)
13762
13771
  i >= s && (this.b = i, e = this.e(), i = this.b), e[i++] = r;
13763
13772
  else
13764
- for (o = r - 257, l = Ug[o], 0 < Va[o] && (l += di(this, Va[o])), r = wo(this, t), a = Yg[r], 0 < _a[r] && (a += di(this, _a[r])), i >= s && (this.b = i, e = this.e(), i = this.b); l--; )
13773
+ for (o = r - 257, l = Ug[o], 0 < Va[o] && (l += fi(this, Va[o])), r = wo(this, t), a = Yg[r], 0 < _a[r] && (a += fi(this, _a[r])), i >= s && (this.b = i, e = this.e(), i = this.b); l--; )
13765
13774
  e[i] = e[i++ - a];
13766
13775
  for (; 8 <= this.d; )
13767
13776
  this.d -= 8, this.a--;
@@ -13774,7 +13783,7 @@ Xn.prototype.w = function(n, t) {
13774
13783
  if (256 > r)
13775
13784
  i >= s && (e = this.e(), s = e.length), e[i++] = r;
13776
13785
  else
13777
- for (o = r - 257, l = Ug[o], 0 < Va[o] && (l += di(this, Va[o])), r = wo(this, t), a = Yg[r], 0 < _a[r] && (a += di(this, _a[r])), i + l > s && (e = this.e(), s = e.length); l--; )
13786
+ for (o = r - 257, l = Ug[o], 0 < Va[o] && (l += fi(this, Va[o])), r = wo(this, t), a = Yg[r], 0 < _a[r] && (a += fi(this, _a[r])), i + l > s && (e = this.e(), s = e.length); l--; )
13778
13787
  e[i] = e[i++ - a];
13779
13788
  for (; 8 <= this.d; )
13780
13789
  this.d -= 8, this.a--;
@@ -17017,7 +17026,7 @@ class AP extends tv {
17017
17026
  const s = i.clientWidth, r = i.clientHeight, o = s / 2, a = r / 2;
17018
17027
  if (this.line.points.length < 2)
17019
17028
  return;
17020
- const [l, c] = this.line.points.map((H) => H.position.clone().applyMatrix4(this.line.mesh.matrixWorld)), h = l.clone().project(e.camera), u = c.clone().project(e.camera), f = li(l, c).clone().project(e.camera), p = new Ht(h.x * o, h.y * a), g = new Ht(u.x * o, u.y * a), v = p.distanceTo(g);
17029
+ const [l, c] = this.line.points.map((H) => H.position.clone().applyMatrix4(this.line.mesh.matrixWorld)), h = l.clone().project(e.camera), u = c.clone().project(e.camera), f = ci(l, c).clone().project(e.camera), p = new Ht(h.x * o, h.y * a), g = new Ht(u.x * o, u.y * a), v = p.distanceTo(g);
17021
17030
  if ((() => !(Math.abs(h.z) > 1 || Math.abs(u.z) > 1 || !Ca(h) && !Ca(u) || !Ca(f) || v === 0))() === !1) {
17022
17031
  this.hide();
17023
17032
  return;
@@ -17100,7 +17109,7 @@ let mr = class iv {
17100
17109
  const t = new iv(this.points[0].clone(), this.points[1].clone(), this.model);
17101
17110
  return t.text = this.text, t;
17102
17111
  }
17103
- }, pi = class nv {
17112
+ }, mi = class nv {
17104
17113
  constructor(t) {
17105
17114
  d(this, "id");
17106
17115
  d(this, "position");
@@ -17153,7 +17162,7 @@ let al = class {
17153
17162
  var i, s, r;
17154
17163
  this.five = t.five, this.hook = t.hook, this.model = t.model, this.getMeasureType = t.getMeasureType, this.config = t.config, this.editParams = t.editParams, this.magnifierParams = t.magnifierParams, this.magnifier = t.magnifier, this.pointSelectorConfig = ue(V({}, t.pointSelectorConfig), {
17155
17164
  helper: V({ magnifierParams: t.magnifierParams }, (i = t.pointSelectorConfig) == null ? void 0 : i.helper)
17156
- }), this.container = t.container, this.isMobile = (r = (s = t.openParams) == null ? void 0 : s.isMobile) != null ? r : !1, this.workUtil = t.workUtil, this.userDistanceItemCreator = t.userDistanceItemCreator, this.group = t.group, this.mouseGroup = t.mouseGroup, this.dashed = new mr(new pi([0, 0, 0]), new pi([0, 0, 0]), this.model), this.dashed.distanceItem.setCanSelect(!1), this.dashed.mesh.setMaterial({ dashed: !0, dashScale: 100 }), this.dashed.mesh.name = "dashLine", this.perpendicularDashed = new mr(new pi([0, 0, 0]), new pi([0, 0, 0]), this.model), this.perpendicularDashed.distanceItem.setCanSelect(!1), this.perpendicularDashed.mesh.setMaterial({ dashed: !0, dashScale: 40, color: new Kt(10218089) }), this.perpendicularDashed.mesh.name = "perpendicularDashLine";
17165
+ }), this.container = t.container, this.isMobile = (r = (s = t.openParams) == null ? void 0 : s.isMobile) != null ? r : !1, this.workUtil = t.workUtil, this.userDistanceItemCreator = t.userDistanceItemCreator, this.group = t.group, this.mouseGroup = t.mouseGroup, this.dashed = new mr(new mi([0, 0, 0]), new mi([0, 0, 0]), this.model), this.dashed.distanceItem.setCanSelect(!1), this.dashed.mesh.setMaterial({ dashed: !0, dashScale: 100 }), this.dashed.mesh.name = "dashLine", this.perpendicularDashed = new mr(new mi([0, 0, 0]), new mi([0, 0, 0]), this.model), this.perpendicularDashed.distanceItem.setCanSelect(!1), this.perpendicularDashed.mesh.setMaterial({ dashed: !0, dashScale: 40, color: new Kt(10218089) }), this.perpendicularDashed.mesh.name = "perpendicularDashLine";
17157
17166
  const e = this.five.getElement();
17158
17167
  e && (e.addEventListener("touchstart", ra), e.addEventListener("contextmenu", ra));
17159
17168
  }
@@ -17278,7 +17287,7 @@ let al = class {
17278
17287
  const c = r.get(l.id);
17279
17288
  if (c)
17280
17289
  return c;
17281
- const h = new pi(l.position);
17290
+ const h = new mi(l.position);
17282
17291
  return h.id = l.id, r.set(l.id, h), h;
17283
17292
  }
17284
17293
  function a() {
@@ -17695,7 +17704,7 @@ function jh(n, t, e) {
17695
17704
  }
17696
17705
  function uv(n, t, e, i) {
17697
17706
  const s = i != null ? i : jh(n, t, e);
17698
- return li(n, t, e).multiplyScalar(s);
17707
+ return ci(n, t, e).multiplyScalar(s);
17699
17708
  }
17700
17709
  function HP(n) {
17701
17710
  var s;
@@ -17789,7 +17798,7 @@ class xc {
17789
17798
  this.points = this.points.concat(t);
17790
17799
  const e = this.points.at(-2), i = this.points.at(-1);
17791
17800
  if (e && i) {
17792
- const r = new mr(new pi(e), new pi(i), this.polyline.model);
17801
+ const r = new mr(new mi(e), new mi(i), this.polyline.model);
17793
17802
  this.polyline.addLine(r), this.meshContainer.add(r.mesh), this.five && (r.distanceItem.setCanSelect(!1), r.distanceItem.appendTo(this.domContainer), r.distanceItem.update(this.five));
17794
17803
  }
17795
17804
  (s = this.meshContainer) != null && s.children.includes(this.polygon) || this.meshContainer.add(this.polygon), this.polygon.updatePoints(this.points), this.areaItem.updateArea(this.five), this.points.length === 3 ? this.planeHelper = new y.Plane().setFromCoplanarPoints(this.points[0], this.points[1], this.points[2]) : this.points.length < 3 && (this.planeHelper = null);
@@ -17959,7 +17968,7 @@ class zn extends al {
17959
17968
  this.lastPoint = null, this.hasAppendDashed = !1, this.dashed.remove(), this.five.needsRender = !0, this.hook.emit("revoke", { isEmpty: !0 });
17960
17969
  return;
17961
17970
  } else
17962
- this.lastPoint = new pi(this.area.points[this.area.points.length - 1]), this.updateDashed();
17971
+ this.lastPoint = new mi(this.area.points[this.area.points.length - 1]), this.updateDashed();
17963
17972
  this.five.needsRender = !0;
17964
17973
  }
17965
17974
  });
@@ -18012,7 +18021,7 @@ class zn extends al {
18012
18021
  })();
18013
18022
  if (!e)
18014
18023
  return;
18015
- const i = new pi(e), s = this.lastPoint;
18024
+ const i = new mi(e), s = this.lastPoint;
18016
18025
  if (s != null && s.position && i.position.equals(s == null ? void 0 : s.position))
18017
18026
  return;
18018
18027
  this.lastPoint = i;
@@ -18608,7 +18617,7 @@ class $P {
18608
18617
  const t = this.getIntersection();
18609
18618
  if (t) {
18610
18619
  this.pieceChange(t), this.updateMouseGroup(t);
18611
- const e = new pi(this.mouseGroup.position);
18620
+ const e = new mi(this.mouseGroup.position);
18612
18621
  this.hook.emit("nowPointChange", e);
18613
18622
  }
18614
18623
  });
@@ -18616,7 +18625,7 @@ class $P {
18616
18625
  var s;
18617
18626
  this.dotAnimation();
18618
18627
  const i = (s = this.getIntersection()) == null ? void 0 : s.point;
18619
- i && (e === "editing" ? this.hook.emit("getStartPoint", new pi(i)) : this.hook.emit("getEndPoint", new pi(i)));
18628
+ i && (e === "editing" ? this.hook.emit("getStartPoint", new mi(i)) : this.hook.emit("getEndPoint", new mi(i)));
18620
18629
  });
18621
18630
  /** 计算目标中心点经纬度 */
18622
18631
  d(this, "computedCenterMouseXY", () => {
@@ -22905,7 +22914,7 @@ class YE extends Yn {
22905
22914
  d(this, "doorLabels");
22906
22915
  d(this, "roomObservers");
22907
22916
  d(this, "loadData", (e, i) => {
22908
- i && (this.MaxVisibledistance = i.MaxVisibledistance, this.MinVisibledistance = i.MinVisibledistance, this.OffsetHeight = i.OffsetHeight), this.labelItems = [], this.doorLabels = [], this.floorplanServerData = e, mi(this.five).then(() => {
22917
+ i && (this.MaxVisibledistance = i.MaxVisibledistance, this.MinVisibledistance = i.MinVisibledistance, this.OffsetHeight = i.OffsetHeight), this.labelItems = [], this.doorLabels = [], this.floorplanServerData = e, ai(this.five).then(() => {
22909
22918
  this.initData(), this.fixDoorVisibleAndPosition(), this.applyState();
22910
22919
  });
22911
22920
  });
@@ -23384,7 +23393,7 @@ function Oc(n) {
23384
23393
  }
23385
23394
  function jf(n) {
23386
23395
  const t = Oc(n);
23387
- return li(...Array.isArray(t) ? t : [t]);
23396
+ return ci(...Array.isArray(t) ? t : [t]);
23388
23397
  }
23389
23398
  function ca(n, t) {
23390
23399
  if (n === void 0)
@@ -23603,7 +23612,7 @@ class _l extends y.Mesh {
23603
23612
  constructor(e, i, s) {
23604
23613
  if (e.length !== 4)
23605
23614
  throw new Error("QuadrangleMesh: Invalid number of points, it's not a quadrangle");
23606
- const [r, o, a, l] = e, c = li(...e), h = [r.clone().sub(c), o.clone().sub(c), a.clone().sub(c), l.clone().sub(c)], u = new xv(h, s);
23615
+ const [r, o, a, l] = e, c = ci(...e), h = [r.clone().sub(c), o.clone().sub(c), a.clone().sub(c), l.clone().sub(c)], u = new xv(h, s);
23607
23616
  super(u, i);
23608
23617
  d(this, "name", "QuadrangleMesh");
23609
23618
  this.position.copy(c);
@@ -23774,7 +23783,7 @@ class zc extends kv {
23774
23783
  (v = s == null ? void 0 : s.objectFit) != null ? v : "contain",
23775
23784
  o,
23776
23785
  l.image.width / l.image.height
23777
- ), f = li(...u), p = u.map((m) => m.clone().sub(f)), g = new xv(p);
23786
+ ), f = ci(...u), p = u.map((m) => m.clone().sub(f)), g = new xv(p);
23778
23787
  this.position.copy(f), this.geometry = g, this.material = h;
23779
23788
  }).catch((l) => {
23780
23789
  console.error(`Imageplane error ${l == null ? void 0 : l.message}`);
@@ -23809,7 +23818,7 @@ class Dv extends kv {
23809
23818
  d(this, "buttonMesh");
23810
23819
  d(this, "videoTextureMap");
23811
23820
  d(this, "ImageTextureMap");
23812
- this.cornerPoints = i, this.src = e, this.buttonSrc = (() => a === "withText" ? _h : a === "withoutText" ? Tc : typeof a == "string" ? a : Tc)(), this.videoCoverSrc = r, this.objectFit = o, this.videoTextureMap = c, this.ImageTextureMap = h, this.domEvents = u, this.position.copy(li(...i)), this.videoCoverSrc && l ? this.addCoverMesh().then(() => this.addButtonMesh()) : this.addVideoMesh().then(() => {
23821
+ this.cornerPoints = i, this.src = e, this.buttonSrc = (() => a === "withText" ? _h : a === "withoutText" ? Tc : typeof a == "string" ? a : Tc)(), this.videoCoverSrc = r, this.objectFit = o, this.videoTextureMap = c, this.ImageTextureMap = h, this.domEvents = u, this.position.copy(ci(...i)), this.videoCoverSrc && l ? this.addCoverMesh().then(() => this.addButtonMesh()) : this.addVideoMesh().then(() => {
23813
23822
  l ? this.addButtonMesh() : this.play(!0);
23814
23823
  }), this.addEventListener("removed", () => {
23815
23824
  this.remove(...this.children);
@@ -24405,7 +24414,7 @@ class Nh {
24405
24414
  }
24406
24415
  get centerPosition() {
24407
24416
  const t = Oc(this);
24408
- return li(...Array.isArray(t) ? t : [t]);
24417
+ return ci(...Array.isArray(t) ? t : [t]);
24409
24418
  }
24410
24419
  get currentConfig() {
24411
24420
  var s, r;
@@ -25012,7 +25021,7 @@ function Sv(n) {
25012
25021
  const t = new fo("front");
25013
25022
  t.domElementWrapper.style.zIndex = "1";
25014
25023
  const e = new fo("behind");
25015
- mi(n).then(() => {
25024
+ ai(n).then(() => {
25016
25025
  var a;
25017
25026
  const r = (a = n.getElement()) == null ? void 0 : a.parentElement, o = ph(n);
25018
25027
  if (!r)
@@ -25042,7 +25051,7 @@ class Lv extends dn {
25042
25051
  ];
25043
25052
  })(), r = (_ = e.ratio) != null ? _ : U2, o = (H = e.dpr) != null ? H : 1, a = (J = e.pointerEvents) != null ? J : "auto", l = Math.max(Q2, r), c = s[0].distanceTo(s[1]), h = s[1].distanceTo(s[2]);
25044
25053
  let u = ar(c / r * o), f = ar(h / r * o);
25045
- const p = li(...s);
25054
+ const p = ci(...s);
25046
25055
  let g;
25047
25056
  if (l === r)
25048
25057
  i.style.width = `${u}px`, i.style.height = `${f}px`, g = i;
@@ -25069,7 +25078,7 @@ class Lv extends dn {
25069
25078
  d(this, "ratio");
25070
25079
  d(this, "_mode", "front");
25071
25080
  d(this, "_opacityMesh");
25072
- if (i.style.pointerEvents = a, Object.assign(i.style, e.style), this.scale.set(l, l, l), this.cornerPoints = s, this.ratio = r, this.container = i, e.mode && (this.mode = e.mode), l === r)
25081
+ if (g.id = this.id.toString(), i.style.pointerEvents = a, Object.assign(i.style, e.style), this.scale.set(l, l, l), this.cornerPoints = s, this.ratio = r, this.container = i, e.mode && (this.mode = e.mode), l === r)
25073
25082
  this.width = c, this.height = h, this.centerPosition = p;
25074
25083
  else {
25075
25084
  const A = r / l;
@@ -25359,20 +25368,20 @@ function Nf(n) {
25359
25368
  return {
25360
25369
  c() {
25361
25370
  t = N("div"), D(t, "class", "shadow svelte-faoauy"), D(t, "style", e = `
25362
- left: ${ui(
25371
+ left: ${di(
25363
25372
  /*left*/
25364
25373
  n[5]
25365
25374
  )};
25366
- bottom: ${ui(
25375
+ bottom: ${di(
25367
25376
  /*bottom*/
25368
25377
  n[6]
25369
25378
  )};
25370
25379
  border-radius: ${/*round*/
25371
25380
  n[10] ? "9999px" : "0"};
25372
- box-shadow: 0 0 ${ui(
25381
+ box-shadow: 0 0 ${di(
25373
25382
  /*blurRadius*/
25374
25383
  n[11]
25375
- )} ${ui(
25384
+ )} ${di(
25376
25385
  /*spreadRadius*/
25377
25386
  n[12]
25378
25387
  )} rgba(0, 0, 0, ${/*opacity*/
@@ -25383,10 +25392,10 @@ function Nf(n) {
25383
25392
  n[9] ? "transform: translateX(-50%); top: 50%" : ""}
25384
25393
  ${/*center*/
25385
25394
  n[7] ? "transform: translate(-50%, -50%); left: 50%; top: 50%;" : ""}
25386
- `), G(t, "width", ui(
25395
+ `), G(t, "width", di(
25387
25396
  /*width*/
25388
25397
  n[3]
25389
- )), G(t, "height", ui(
25398
+ )), G(t, "height", di(
25390
25399
  /*height*/
25391
25400
  n[4]
25392
25401
  )), G(
@@ -25402,20 +25411,20 @@ function Nf(n) {
25402
25411
  p(o, a) {
25403
25412
  n = o, (!r || a & /*left, bottom, round, blurRadius, spreadRadius, opacity, horizontalCenter, verticalCenter, center*/
25404
25413
  16352 && e !== (e = `
25405
- left: ${ui(
25414
+ left: ${di(
25406
25415
  /*left*/
25407
25416
  n[5]
25408
25417
  )};
25409
- bottom: ${ui(
25418
+ bottom: ${di(
25410
25419
  /*bottom*/
25411
25420
  n[6]
25412
25421
  )};
25413
25422
  border-radius: ${/*round*/
25414
25423
  n[10] ? "9999px" : "0"};
25415
- box-shadow: 0 0 ${ui(
25424
+ box-shadow: 0 0 ${di(
25416
25425
  /*blurRadius*/
25417
25426
  n[11]
25418
- )} ${ui(
25427
+ )} ${di(
25419
25428
  /*spreadRadius*/
25420
25429
  n[12]
25421
25430
  )} rgba(0, 0, 0, ${/*opacity*/
@@ -25430,11 +25439,11 @@ function Nf(n) {
25430
25439
  const l = a & /*left, bottom, round, blurRadius, spreadRadius, opacity, horizontalCenter, verticalCenter, center*/
25431
25440
  16352;
25432
25441
  (l || a & /*width, left, bottom, round, blurRadius, spreadRadius, opacity, horizontalCenter, verticalCenter, center*/
25433
- 16360) && G(t, "width", ui(
25442
+ 16360) && G(t, "width", di(
25434
25443
  /*width*/
25435
25444
  n[3]
25436
25445
  )), (l || a & /*height, left, bottom, round, blurRadius, spreadRadius, opacity, horizontalCenter, verticalCenter, center*/
25437
- 16368) && G(t, "height", ui(
25446
+ 16368) && G(t, "height", di(
25438
25447
  /*height*/
25439
25448
  n[4]
25440
25449
  )), (l || a & /*zIndex, left, bottom, round, blurRadius, spreadRadius, opacity, horizontalCenter, verticalCenter, center*/
@@ -25494,7 +25503,7 @@ function $2(n) {
25494
25503
  }
25495
25504
  };
25496
25505
  }
25497
- function ui(n) {
25506
+ function di(n) {
25498
25507
  return typeof n == "number" ? n / 16 + "rem" : n;
25499
25508
  }
25500
25509
  function eM(n, t, e) {
@@ -27610,7 +27619,7 @@ const co = (n, t, e) => {
27610
27619
  }, jc = (n) => (t) => {
27611
27620
  n[t] && n[t]();
27612
27621
  };
27613
- var Sx = "Expected a function", Vv = "__lodash_hash_undefined__", _v = 1 / 0, Tx = "[object Function]", Lx = "[object GeneratorFunction]", Ox = "[object Symbol]", zx = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, jx = /^\w*$/, Rx = /^\./, Bx = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, Vx = /[\\^$.*+?()[\]{}|]/g, _x = /\\(\\)?/g, Fx = /^\[object .+?Constructor\]$/, Hx = typeof fi == "object" && fi && fi.Object === Object && fi, Nx = typeof self == "object" && self && self.Object === Object && self, Uh = Hx || Nx || Function("return this")();
27622
+ var Sx = "Expected a function", Vv = "__lodash_hash_undefined__", _v = 1 / 0, Tx = "[object Function]", Lx = "[object GeneratorFunction]", Ox = "[object Symbol]", zx = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, jx = /^\w*$/, Rx = /^\./, Bx = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, Vx = /[\\^$.*+?()[\]{}|]/g, _x = /\\(\\)?/g, Fx = /^\[object .+?Constructor\]$/, Hx = typeof pi == "object" && pi && pi.Object === Object && pi, Nx = typeof self == "object" && self && self.Object === Object && self, Uh = Hx || Nx || Function("return this")();
27614
27623
  function Gx(n, t) {
27615
27624
  return n == null ? void 0 : n[t];
27616
27625
  }
@@ -27852,7 +27861,7 @@ var ua = E3, Wa = {}, M3 = {
27852
27861
  (function(n, t) {
27853
27862
  var e = 200, i = "__lodash_hash_undefined__", s = 9007199254740991, r = "[object Arguments]", o = "[object Array]", a = "[object Boolean]", l = "[object Date]", c = "[object Error]", h = "[object Function]", u = "[object GeneratorFunction]", f = "[object Map]", p = "[object Number]", g = "[object Object]", v = "[object Promise]", m = "[object RegExp]", b = "[object Set]", C = "[object String]", x = "[object Symbol]", E = "[object WeakMap]", T = "[object ArrayBuffer]", S = "[object DataView]", _ = "[object Float32Array]", H = "[object Float64Array]", J = "[object Int8Array]", A = "[object Int16Array]", I = "[object Int32Array]", w = "[object Uint8Array]", k = "[object Uint8ClampedArray]", M = "[object Uint16Array]", L = "[object Uint32Array]", j = /[\\^$.*+?()[\]{}|]/g, B = /\w*$/, U = /^\[object .+?Constructor\]$/, ee = /^(?:0|[1-9]\d*)$/, K = {};
27854
27863
  K[r] = K[o] = K[T] = K[S] = K[a] = K[l] = K[_] = K[H] = K[J] = K[A] = K[I] = K[f] = K[p] = K[g] = K[m] = K[b] = K[C] = K[x] = K[w] = K[k] = K[M] = K[L] = !0, K[c] = K[h] = K[E] = !1;
27855
- var re = typeof fi == "object" && fi && fi.Object === Object && fi, ne = typeof self == "object" && self && self.Object === Object && self, ae = re || ne || Function("return this")(), Se = t && !t.nodeType && t, Ae = Se && !0 && n && !n.nodeType && n, Re = Ae && Ae.exports === Se;
27864
+ var re = typeof pi == "object" && pi && pi.Object === Object && pi, ne = typeof self == "object" && self && self.Object === Object && self, ae = re || ne || Function("return this")(), Se = t && !t.nodeType && t, Ae = Se && !0 && n && !n.nodeType && n, Re = Ae && Ae.exports === Se;
27856
27865
  function ie(P, z) {
27857
27866
  return P.set(z[0], z[1]), P;
27858
27867
  }
@@ -27914,7 +27923,7 @@ var ua = E3, Wa = {}, M3 = {
27914
27923
  return P ? "Symbol(src)_1." + P : "";
27915
27924
  }(), ze = ct.toString, rt = nt.hasOwnProperty, Ct = nt.toString, Zn = RegExp(
27916
27925
  "^" + ze.call(rt).replace(j, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
27917
- ), ii = Re ? ae.Buffer : void 0, Ai = ae.Symbol, zi = ae.Uint8Array, Lt = xe(Object.getPrototypeOf, Object), bi = Object.create, ji = nt.propertyIsEnumerable, Or = Ze.splice, Jn = Object.getOwnPropertySymbols, gn = ii ? ii.isBuffer : void 0, xs = xe(Object.keys, Object), vn = R(ae, "DataView"), ci = R(ae, "Map"), ni = R(ae, "Promise"), An = R(ae, "Set"), bn = R(ae, "WeakMap"), Ri = R(Object, "create"), qi = Yt(vn), Ki = Yt(ci), qn = Yt(ni), Kn = Yt(An), yn = Yt(bn), Bi = Ai ? Ai.prototype : void 0, ks = Bi ? Bi.valueOf : void 0;
27926
+ ), ii = Re ? ae.Buffer : void 0, Ai = ae.Symbol, zi = ae.Uint8Array, Lt = xe(Object.getPrototypeOf, Object), bi = Object.create, ji = nt.propertyIsEnumerable, Or = Ze.splice, Jn = Object.getOwnPropertySymbols, gn = ii ? ii.isBuffer : void 0, xs = xe(Object.keys, Object), vn = R(ae, "DataView"), hi = R(ae, "Map"), ni = R(ae, "Promise"), An = R(ae, "Set"), bn = R(ae, "WeakMap"), Ri = R(Object, "create"), qi = Yt(vn), Ki = Yt(hi), qn = Yt(ni), Kn = Yt(An), yn = Yt(bn), Bi = Ai ? Ai.prototype : void 0, ks = Bi ? Bi.valueOf : void 0;
27918
27927
  function yi(P) {
27919
27928
  var z = -1, q = P ? P.length : 0;
27920
27929
  for (this.clear(); ++z < q; ) {
@@ -27956,21 +27965,21 @@ var ua = E3, Wa = {}, M3 = {
27956
27965
  this.__data__ = [];
27957
27966
  }
27958
27967
  function Rr(P) {
27959
- var z = this.__data__, q = hi(z, P);
27968
+ var z = this.__data__, q = ui(z, P);
27960
27969
  if (q < 0)
27961
27970
  return !1;
27962
27971
  var se = z.length - 1;
27963
27972
  return q == se ? z.pop() : Or.call(z, q, 1), !0;
27964
27973
  }
27965
27974
  function Ss(P) {
27966
- var z = this.__data__, q = hi(z, P);
27975
+ var z = this.__data__, q = ui(z, P);
27967
27976
  return q < 0 ? void 0 : z[q][1];
27968
27977
  }
27969
27978
  function Ts(P) {
27970
- return hi(this.__data__, P) > -1;
27979
+ return ui(this.__data__, P) > -1;
27971
27980
  }
27972
27981
  function Ls(P, z) {
27973
- var q = this.__data__, se = hi(q, P);
27982
+ var q = this.__data__, se = ui(q, P);
27974
27983
  return se < 0 ? q.push([P, z]) : q[se][1] = z, this;
27975
27984
  }
27976
27985
  Pt.prototype.clear = Ds, Pt.prototype.delete = Rr, Pt.prototype.get = Ss, Pt.prototype.has = Ts, Pt.prototype.set = Ls;
@@ -27984,7 +27993,7 @@ var ua = E3, Wa = {}, M3 = {
27984
27993
  function es() {
27985
27994
  this.__data__ = {
27986
27995
  hash: new yi(),
27987
- map: new (ci || Pt)(),
27996
+ map: new (hi || Pt)(),
27988
27997
  string: new yi()
27989
27998
  };
27990
27999
  }
@@ -28020,7 +28029,7 @@ var ua = E3, Wa = {}, M3 = {
28020
28029
  var q = this.__data__;
28021
28030
  if (q instanceof Pt) {
28022
28031
  var se = q.__data__;
28023
- if (!ci || se.length < e - 1)
28032
+ if (!hi || se.length < e - 1)
28024
28033
  return se.push([P, z]), this;
28025
28034
  q = this.__data__ = new It(se);
28026
28035
  }
@@ -28037,7 +28046,7 @@ var ua = E3, Wa = {}, M3 = {
28037
28046
  var se = P[z];
28038
28047
  (!(rt.call(P, z) && _o(se, q)) || q === void 0 && !(z in P)) && (P[z] = q);
28039
28048
  }
28040
- function hi(P, z) {
28049
+ function ui(P, z) {
28041
28050
  for (var q = P.length; q--; )
28042
28051
  if (_o(P[q][0], z))
28043
28052
  return q;
@@ -28167,7 +28176,7 @@ var ua = E3, Wa = {}, M3 = {
28167
28176
  return Qt(q) ? q : void 0;
28168
28177
  }
28169
28178
  var W = Jn ? xe(Jn, Object) : Al, te = In;
28170
- (vn && te(new vn(new ArrayBuffer(1))) != S || ci && te(new ci()) != f || ni && te(ni.resolve()) != v || An && te(new An()) != b || bn && te(new bn()) != E) && (te = function(P) {
28179
+ (vn && te(new vn(new ArrayBuffer(1))) != S || hi && te(new hi()) != f || ni && te(ni.resolve()) != v || An && te(new An()) != b || bn && te(new bn()) != E) && (te = function(P) {
28171
28180
  var z = Ct.call(P), q = z == g ? P.constructor : void 0, se = q ? Yt(q) : void 0;
28172
28181
  if (se)
28173
28182
  switch (se) {
@@ -28305,7 +28314,7 @@ var Qa = {}, k3 = {
28305
28314
  (function(n, t) {
28306
28315
  var e = 200, i = "__lodash_hash_undefined__", s = 1, r = 2, o = 9007199254740991, a = "[object Arguments]", l = "[object Array]", c = "[object AsyncFunction]", h = "[object Boolean]", u = "[object Date]", f = "[object Error]", p = "[object Function]", g = "[object GeneratorFunction]", v = "[object Map]", m = "[object Number]", b = "[object Null]", C = "[object Object]", x = "[object Promise]", E = "[object Proxy]", T = "[object RegExp]", S = "[object Set]", _ = "[object String]", H = "[object Symbol]", J = "[object Undefined]", A = "[object WeakMap]", I = "[object ArrayBuffer]", w = "[object DataView]", k = "[object Float32Array]", M = "[object Float64Array]", L = "[object Int8Array]", j = "[object Int16Array]", B = "[object Int32Array]", U = "[object Uint8Array]", ee = "[object Uint8ClampedArray]", K = "[object Uint16Array]", re = "[object Uint32Array]", ne = /[\\^$.*+?()[\]{}|]/g, ae = /^\[object .+?Constructor\]$/, Se = /^(?:0|[1-9]\d*)$/, Ae = {};
28307
28316
  Ae[k] = Ae[M] = Ae[L] = Ae[j] = Ae[B] = Ae[U] = Ae[ee] = Ae[K] = Ae[re] = !0, Ae[a] = Ae[l] = Ae[I] = Ae[h] = Ae[w] = Ae[u] = Ae[f] = Ae[p] = Ae[v] = Ae[m] = Ae[C] = Ae[T] = Ae[S] = Ae[_] = Ae[A] = !1;
28308
- var Re = typeof fi == "object" && fi && fi.Object === Object && fi, ie = typeof self == "object" && self && self.Object === Object && self, we = Re || ie || Function("return this")(), ke = t && !t.nodeType && t, pe = ke && !0 && n && !n.nodeType && n, Xe = pe && pe.exports === ke, je = Xe && Re.process, De = function() {
28317
+ var Re = typeof pi == "object" && pi && pi.Object === Object && pi, ie = typeof self == "object" && self && self.Object === Object && self, we = Re || ie || Function("return this")(), ke = t && !t.nodeType && t, pe = ke && !0 && n && !n.nodeType && n, Xe = pe && pe.exports === ke, je = Xe && Re.process, De = function() {
28309
28318
  try {
28310
28319
  return je && je.binding && je.binding("util");
28311
28320
  } catch (P) {
@@ -28367,7 +28376,7 @@ var Qa = {}, k3 = {
28367
28376
  return P ? "Symbol(src)_1." + P : "";
28368
28377
  }(), ji = ii.toString, Or = RegExp(
28369
28378
  "^" + zi.call(Lt).replace(ne, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
28370
- ), Jn = Xe ? we.Buffer : void 0, gn = we.Symbol, xs = we.Uint8Array, vn = ii.propertyIsEnumerable, ci = Ct.splice, ni = gn ? gn.toStringTag : void 0, An = Object.getOwnPropertySymbols, bn = Jn ? Jn.isBuffer : void 0, Ri = ze(Object.keys, Object), qi = W(we, "DataView"), Ki = W(we, "Map"), qn = W(we, "Promise"), Kn = W(we, "Set"), yn = W(we, "WeakMap"), Bi = W(Object, "create"), ks = Yt(qi), yi = Yt(Ki), wn = Yt(qn), zr = Yt(Kn), jr = Yt(yn), $n = gn ? gn.prototype : void 0, $i = $n ? $n.valueOf : void 0;
28379
+ ), Jn = Xe ? we.Buffer : void 0, gn = we.Symbol, xs = we.Uint8Array, vn = ii.propertyIsEnumerable, hi = Ct.splice, ni = gn ? gn.toStringTag : void 0, An = Object.getOwnPropertySymbols, bn = Jn ? Jn.isBuffer : void 0, Ri = ze(Object.keys, Object), qi = W(we, "DataView"), Ki = W(we, "Map"), qn = W(we, "Promise"), Kn = W(we, "Set"), yn = W(we, "WeakMap"), Bi = W(Object, "create"), ks = Yt(qi), yi = Yt(Ki), wn = Yt(qn), zr = Yt(Kn), jr = Yt(yn), $n = gn ? gn.prototype : void 0, $i = $n ? $n.valueOf : void 0;
28371
28380
  function Pt(P) {
28372
28381
  var z = -1, q = P == null ? 0 : P.length;
28373
28382
  for (this.clear(); ++z < q; ) {
@@ -28414,7 +28423,7 @@ var Qa = {}, k3 = {
28414
28423
  if (q < 0)
28415
28424
  return !1;
28416
28425
  var se = z.length - 1;
28417
- return q == se ? z.pop() : ci.call(z, q, 1), --this.size, !0;
28426
+ return q == se ? z.pop() : hi.call(z, q, 1), --this.size, !0;
28418
28427
  }
28419
28428
  function en(P) {
28420
28429
  var z = this.__data__, q = _i(z, P);
@@ -28465,10 +28474,10 @@ var Qa = {}, k3 = {
28465
28474
  function Jt(P) {
28466
28475
  return this.__data__.set(P, i), this;
28467
28476
  }
28468
- function hi(P) {
28477
+ function ui(P) {
28469
28478
  return this.__data__.has(P);
28470
28479
  }
28471
- Gt.prototype.add = Gt.prototype.push = Jt, Gt.prototype.has = hi;
28480
+ Gt.prototype.add = Gt.prototype.push = Jt, Gt.prototype.has = ui;
28472
28481
  function vt(P) {
28473
28482
  var z = this.__data__ = new It(P);
28474
28483
  this.size = z.size;
@@ -34156,7 +34165,7 @@ class Kv extends Nh {
34156
34165
  d(this, "loadModel", () => $(this, null, function* () {
34157
34166
  var o, a;
34158
34167
  const e = this.data.modelUrl;
34159
- if (!e || (this.loading = !0, yield mi(this.five), !this.plugin.tags.includes(this)))
34168
+ if (!e || (this.loading = !0, yield ai(this.five), !this.plugin.tags.includes(this)))
34160
34169
  return;
34161
34170
  const i = X2(e).then((l) => $(this, null, function* () {
34162
34171
  var u;
@@ -34251,7 +34260,7 @@ class zD extends Nh {
34251
34260
  this.computeRenderType() === "Mesh" ? ((i = (e = this.data.mediaData) == null ? void 0 : e[0]) == null ? void 0 : i.type) === "Video" ? this.renderVideoPlane() : ((r = (s = this.data.mediaData) == null ? void 0 : s[0]) == null ? void 0 : r.type) === "Image" && this.renderImagePlane() : ((o = this.tag3DContentSvelte) == null || o.svelteApp.$set({ tag: this, state: this.plugin.state, temporaryState: this.plugin.temporaryState }), (a = this.tag3DContentSvelte) != null && a.css3DInstance && (this.tag3DContentSvelte.css3DInstance.visible = this.visible, this.five.needsRender = !0));
34252
34261
  }
34253
34262
  set(t, e = !0) {
34254
- super.set(t, e), mi(this.five).then(() => {
34263
+ super.set(t, e), ai(this.five).then(() => {
34255
34264
  this.tag3DContentSvelte && (t.data ? this.tag3DContentSvelte.svelteApp.$set({ tag: this, state: this.plugin.state, temporaryState: this.plugin.temporaryState }) : t.position && this.loadModel());
34256
34265
  });
34257
34266
  }
@@ -34262,7 +34271,7 @@ class zD extends Nh {
34262
34271
  loadModel() {
34263
34272
  return $(this, null, function* () {
34264
34273
  var e, i, s, r, o, a;
34265
- if (yield mi(this.five), this.computeRenderType() === "Mesh")
34274
+ if (yield ai(this.five), this.computeRenderType() === "Mesh")
34266
34275
  ((i = (e = this.data.mediaData) == null ? void 0 : e[0]) == null ? void 0 : i.type) === "Video" ? this.renderVideoPlane() : ((r = (s = this.data.mediaData) == null ? void 0 : s[0]) == null ? void 0 : r.type) === "Image" && this.renderImagePlane();
34267
34276
  else {
34268
34277
  Sv(this.five);
@@ -35251,7 +35260,7 @@ class Rc extends R2 {
35251
35260
  if (o === "Plane")
35252
35261
  return new zD(this, r);
35253
35262
  });
35254
- return s.forEach(E2), this.tags.push(...s), this.tagsLengthWillUpdate = !0, mi(this.five).then(() => $(this, null, function* () {
35263
+ return s.forEach(E2), this.tags.push(...s), this.tagsLengthWillUpdate = !0, ai(this.five).then(() => $(this, null, function* () {
35255
35264
  var r, o;
35256
35265
  this.store.eventListenerDisposer && ((o = (r = this.store).eventListenerDisposer) == null || o.call(r)), this.state.enabled && this.handleEnable(), this.addResizeListener(), this.clearUnusedPanelTag(), this.tagsDo(s, (a) => {
35257
35266
  this.tags.includes(a) && (a.updateVisible(), a.updateZIndex());
@@ -35418,9 +35427,9 @@ class Rc extends R2 {
35418
35427
  clearTags() {
35419
35428
  var e;
35420
35429
  this.tags.length && (this.tags.forEach((i) => {
35421
- var s, r, o, a, l;
35422
- (r = (s = i.mediaPlane) == null ? void 0 : s.parent) == null || r.remove(i.mediaPlane), (l = (a = (o = i.model) == null ? void 0 : o.object) == null ? void 0 : a.parent) == null || l.remove(i.model.object);
35423
- }), this.tags = [], this.tagsLengthWillUpdate = !0, this.hooks.emit("tagsLengthChange"), (e = this.TagContainerSvelte) == null || e.$destroy(), this.TagContainerSvelte = void 0, this.disposeAllCSS3DContainer()), this.enabledModelTagSet.clear(), this.cache.clear();
35430
+ var s, r, o, a, l, c;
35431
+ (s = i.tag3DContentSvelte) == null || s.dispose(), (o = (r = i.mediaPlane) == null ? void 0 : r.parent) == null || o.remove(i.mediaPlane), (c = (l = (a = i.model) == null ? void 0 : a.object) == null ? void 0 : l.parent) == null || c.remove(i.model.object);
35432
+ }), this.tags = [], this.tagsLengthWillUpdate = !0, this.hooks.emit("tagsLengthChange"), (e = this.TagContainerSvelte) == null || e.$destroy(), this.TagContainerSvelte = void 0, this.disposeAllCSS3DContainer()), this.group.children.length = 0, this.enabledModelTagSet.clear(), this.cache.clear();
35424
35433
  }
35425
35434
  /**
35426
35435
  * @description 设置 unfolded
@@ -37087,7 +37096,7 @@ let hS = class extends mn {
37087
37096
  var S;
37088
37097
  return st({}, c, { id: (S = T.id) != null ? S : xt(), pano_group: T.panoIndexList });
37089
37098
  })) != null ? C : [], u = (E = (x = o.lines) == null ? void 0 : x.map((T) => st({}, c, T))) != null ? E : [], f = [...h, ...u];
37090
- yield mi(this.five), this.clear(), f.forEach((T) => {
37099
+ yield ai(this.five), this.clear(), f.forEach((T) => {
37091
37100
  this.addGuideLineItem(T);
37092
37101
  }), this.updateTagsEnable(), this.handleVisible(this.state.visible), this.handleEnable(this.state.enabled), i && this.setState(i, { userAction: s }), this.hooks.emit("dataLoaded", o), console.debug(`${rm} loaded`, o);
37093
37102
  });
@@ -39036,7 +39045,7 @@ class o0 extends Yn {
39036
39045
  g,
39037
39046
  v
39038
39047
  );
39039
- s.addControllers({ scaleController: E.helperController }), r.push(() => E.dispose()), mi(this.five).then(() => {
39048
+ s.addControllers({ scaleController: E.helperController }), r.push(() => E.dispose()), ai(this.five).then(() => {
39040
39049
  var T, S;
39041
39050
  if (e.isCSS3DObjectPlus) {
39042
39051
  const _ = e;
@@ -42013,7 +42022,7 @@ class WT extends su {
42013
42022
  return this.originObject.polyLineMesh.points;
42014
42023
  }
42015
42024
  }
42016
- function ai(n) {
42025
+ function li(n) {
42017
42026
  return Array.isArray(n) ? n.map((t) => [t.x, t.y, t.z]) : [n.x, n.y, n.z];
42018
42027
  }
42019
42028
  class mm extends Oi {
@@ -42030,7 +42039,7 @@ class mm extends Oi {
42030
42039
  }
42031
42040
  get data() {
42032
42041
  return ue(V({}, this.baseData), {
42033
- points: ai(this.applyObjectMatrixWorld(this.polyLineMesh.points)),
42042
+ points: li(this.applyObjectMatrixWorld(this.polyLineMesh.points)),
42034
42043
  style: {
42035
42044
  lineColor: new y.Color(this.polyLineMesh.lineColor).getHex(),
42036
42045
  lineWidth: this.polyLineMesh.lineWidth,
@@ -42142,7 +42151,7 @@ class gm extends Oi {
42142
42151
  }
42143
42152
  get data() {
42144
42153
  return ue(V({}, this.baseData), {
42145
- point: ai(this.applyObjectMatrixWorld(this.pointMesh.position)),
42154
+ point: li(this.applyObjectMatrixWorld(this.pointMesh.position)),
42146
42155
  style: {
42147
42156
  color: this.pointMesh.color.getHex(),
42148
42157
  size: this.pointMesh.size
@@ -42412,7 +42421,7 @@ class vm extends Oi {
42412
42421
  }
42413
42422
  get data() {
42414
42423
  return this.updateMatrixWorld(), ue(V({}, this.baseData), {
42415
- points: ai(this.applyObjectMatrixWorld(this.areaMesh.points)),
42424
+ points: li(this.applyObjectMatrixWorld(this.areaMesh.points)),
42416
42425
  style: {
42417
42426
  color: this.areaMesh.color.getHex(),
42418
42427
  lineColor: this.areaMesh.lineColor.getHex(),
@@ -42714,8 +42723,8 @@ class Am extends Oi {
42714
42723
  }
42715
42724
  get data() {
42716
42725
  return ue(V({}, this.baseData), {
42717
- points: ai(this.applyObjectMatrixWorld(this.prismMesh.bottomPositions, this.prismMesh)),
42718
- heightPoint: ai(this.applyObjectMatrixWorld(this.prismMesh.topPosition, this.prismMesh)),
42726
+ points: li(this.applyObjectMatrixWorld(this.prismMesh.bottomPositions, this.prismMesh)),
42727
+ heightPoint: li(this.applyObjectMatrixWorld(this.prismMesh.topPosition, this.prismMesh)),
42719
42728
  style: {
42720
42729
  color: this.prismMesh.color.getHex(),
42721
42730
  lineWidth: this.prismMesh.lineWidth,
@@ -42904,7 +42913,7 @@ class Ua extends C0 {
42904
42913
  }
42905
42914
  }
42906
42915
  function P0(n, t) {
42907
- const e = Is(n), i = li(...n), s = t.clone().sub(i);
42916
+ const e = Is(n), i = ci(...n), s = t.clone().sub(i);
42908
42917
  return e.dot(s) >= 0 ? n : n.slice().reverse();
42909
42918
  }
42910
42919
  class bm extends Oi {
@@ -42920,7 +42929,7 @@ class bm extends Oi {
42920
42929
  }
42921
42930
  get data() {
42922
42931
  return ue(V({}, this.baseData), {
42923
- points: ai(this.applyObjectMatrixWorld(this.rectangleMesh.points, this.rectangleMesh)),
42932
+ points: li(this.applyObjectMatrixWorld(this.rectangleMesh.points, this.rectangleMesh)),
42924
42933
  style: {
42925
42934
  color: this.rectangleMesh.color.getHex(),
42926
42935
  opacity: this.rectangleMesh.opacity,
@@ -43121,8 +43130,8 @@ class ym extends Oi {
43121
43130
  }
43122
43131
  get data() {
43123
43132
  return ue(V({}, this.baseData), {
43124
- center: ai(this.applyObjectMatrixWorld(this.circleMesh.center, this.circleMesh)),
43125
- normal: ai(this.circleMesh.normal.clone().applyQuaternion(this.circleMesh.quaternion)),
43133
+ center: li(this.applyObjectMatrixWorld(this.circleMesh.center, this.circleMesh)),
43134
+ normal: li(this.circleMesh.normal.clone().applyQuaternion(this.circleMesh.quaternion)),
43126
43135
  radius: this.circleMesh.radius,
43127
43136
  style: {
43128
43137
  color: this.circleMesh.color.getHex()
@@ -43306,8 +43315,8 @@ class wm extends Oi {
43306
43315
  }
43307
43316
  get data() {
43308
43317
  return ue(V({}, this.baseData), {
43309
- bottomCenter: ai(this.applyObjectMatrixWorld(this.cylinderMesh.bottomCenter, this.cylinderMesh)),
43310
- topCenter: ai(this.applyObjectMatrixWorld(this.cylinderMesh.topCenter, this.cylinderMesh)),
43318
+ bottomCenter: li(this.applyObjectMatrixWorld(this.cylinderMesh.bottomCenter, this.cylinderMesh)),
43319
+ topCenter: li(this.applyObjectMatrixWorld(this.cylinderMesh.topCenter, this.cylinderMesh)),
43311
43320
  radius: this.cylinderMesh.radius,
43312
43321
  style: {
43313
43322
  color: this.cylinderMesh.color.getHex()
@@ -43467,7 +43476,7 @@ class Qc extends wr {
43467
43476
  this._geometryInfoCache = void 0;
43468
43477
  return;
43469
43478
  }
43470
- const s = li(...e), r = i.clone().sub(e[0]), o = s.clone().add(r.clone().divideScalar(2));
43479
+ const s = ci(...e), r = i.clone().sub(e[0]), o = s.clone().add(r.clone().divideScalar(2));
43471
43480
  this._geometryInfoCache = { center: o };
43472
43481
  }
43473
43482
  return this._geometryInfoCache;
@@ -43486,8 +43495,8 @@ class Cm extends Oi {
43486
43495
  }
43487
43496
  get data() {
43488
43497
  return ue(V({}, this.baseData), {
43489
- points: ai(this.applyObjectMatrixWorld(this.boxMesh.bottomPositions, this.boxMesh)),
43490
- heightPoint: ai(this.applyObjectMatrixWorld(this.boxMesh.topPosition, this.boxMesh)),
43498
+ points: li(this.applyObjectMatrixWorld(this.boxMesh.bottomPositions, this.boxMesh)),
43499
+ heightPoint: li(this.applyObjectMatrixWorld(this.boxMesh.topPosition, this.boxMesh)),
43491
43500
  style: {
43492
43501
  color: this.boxMesh.color.getHex(),
43493
43502
  opacity: this.boxMesh.opacity,
@@ -43526,7 +43535,7 @@ function S0(n, t, e) {
43526
43535
  }
43527
43536
  const o = new Ua(n.style);
43528
43537
  r.add(o), yield lu(o, t, e), r.remove(o), n.setPoints({ points: o.points });
43529
- const a = new Di(), l = Is(n.bottomPositions), c = li(...n.bottomPositions), h = c.clone().add(l.clone().multiplyScalar(100)), u = c.clone().sub(l.clone().multiplyScalar(100));
43538
+ const a = new Di(), l = Is(n.bottomPositions), c = ci(...n.bottomPositions), h = c.clone().add(l.clone().multiplyScalar(100)), u = c.clone().sub(l.clone().multiplyScalar(100));
43530
43539
  a.setPoints([h, u]), r.add(a), t.enable();
43531
43540
  const f = (m) => {
43532
43541
  g(), i();
@@ -43568,7 +43577,7 @@ class Pm extends Oi {
43568
43577
  }
43569
43578
  get data() {
43570
43579
  return ue(V({}, this.baseData), {
43571
- points: ai(this.applyObjectMatrixWorld(this.lineMesh.points)),
43580
+ points: li(this.applyObjectMatrixWorld(this.lineMesh.points)),
43572
43581
  style: {
43573
43582
  lineColor: new y.Color(this.lineMesh.color).getHex(),
43574
43583
  lineWidth: this.lineMesh.lineWidth,
@@ -44120,7 +44129,7 @@ class c5 extends mn {
44120
44129
  load(e) {
44121
44130
  return $(this, null, function* () {
44122
44131
  var s;
44123
- if (this.clear(), this.data = e, yield mi(this.five), this.data !== e)
44132
+ if (this.clear(), this.data = e, yield ai(this.five), this.data !== e)
44124
44133
  return;
44125
44134
  this.clear();
44126
44135
  const i = (r) => {
@@ -44300,7 +44309,7 @@ const zL = (...n) => new c5(...n), h5 = /* @__PURE__ */ Object.freeze(/* @__PURE
44300
44309
  tag: jm,
44301
44310
  tweenProgress: Ao,
44302
44311
  uuid: xt,
44303
- waitFiveModelLoaded: mi,
44312
+ waitFiveModelLoaded: ai,
44304
44313
  worldBounding: qa,
44305
44314
  worldBoundingBox: Db,
44306
44315
  worldBoundingSphere: Um
@@ -44352,7 +44361,7 @@ export {
44352
44361
  K5 as PanoMeasurePlugin,
44353
44362
  mr as PanoMeasurePluginLine,
44354
44363
  dv as PanoMeasurePluginModel,
44355
- pi as PanoMeasurePluginPoint,
44364
+ mi as PanoMeasurePluginPoint,
44356
44365
  gr as PanoMeasurePluginPolyline,
44357
44366
  Q5 as PanoRulerPlugin,
44358
44367
  Y5 as PanoRulerProPlugin,