@realsee/dnalogel 3.71.5-alpha.0 → 3.71.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 (483) hide show
  1. package/dist/PanoTagPlugin/controller/Tag/BaseTag.d.ts +0 -1
  2. package/dist/PanoTagPlugin/typings/tag/TagConfig.d.ts +0 -8
  3. package/dist/index.cjs.js +41 -41
  4. package/dist/index.js +1797 -1827
  5. package/dist/index.umd.js +46 -46
  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/ModelMakerPluginType.ModelMakerBoxItem.html +2 -2
  13. package/docs/classes/ModelMakerPluginType.ModelMakerPolygonItem.html +2 -2
  14. package/docs/classes/ModelMakerPluginType.ModelMakerPrismItem.html +2 -2
  15. package/docs/classes/ModelRoomLabelController.html +2 -2
  16. package/docs/classes/MoveController.html +2 -2
  17. package/docs/classes/Object3DHelperController.html +2 -2
  18. package/docs/classes/PaintBrush.html +2 -2
  19. package/docs/classes/PanoMeasurePluginLine.html +2 -2
  20. package/docs/classes/PanoMeasurePluginModel.html +2 -2
  21. package/docs/classes/PanoMeasurePluginPoint.html +2 -2
  22. package/docs/classes/PanoMeasurePluginPolyline.html +2 -2
  23. package/docs/classes/PanoTagPluginController.html +2 -2
  24. package/docs/classes/Sculpt.html +2 -2
  25. package/docs/classes/Util.BetterTween.html +2 -2
  26. package/docs/classes/Util.FiveDomEvents.html +2 -2
  27. package/docs/classes/Util.FivePuppet.html +2 -2
  28. package/docs/classes/Util.Interval.html +2 -2
  29. package/docs/classes/Util.LegacyPointHelper.html +2 -2
  30. package/docs/classes/Util.LightTag.html +2 -2
  31. package/docs/classes/Util.LineSegments.html +2 -2
  32. package/docs/classes/Util.Magnifier.html +2 -2
  33. package/docs/classes/Util.Object3D.html +2 -2
  34. package/docs/classes/Util.PointDomHelper.html +2 -2
  35. package/docs/classes/Util.PointHelper.html +2 -2
  36. package/docs/classes/Util.PointSelector.html +2 -2
  37. package/docs/classes/Util.PointSelectorHelper.html +2 -2
  38. package/docs/classes/Util.Rectangle.html +2 -2
  39. package/docs/classes/Util.sculpt.BaseEditor.html +2 -2
  40. package/docs/classes/Util.sculpt.BoxMesh.html +2 -2
  41. package/docs/classes/Util.sculpt.BoxMeshEditor.html +2 -2
  42. package/docs/classes/Util.sculpt.CircleMesh.html +2 -2
  43. package/docs/classes/Util.sculpt.CircleMeshEditor.html +2 -2
  44. package/docs/classes/Util.sculpt.CircleWithEdgeMesh.html +2 -2
  45. package/docs/classes/Util.sculpt.CylinderMesh.html +2 -2
  46. package/docs/classes/Util.sculpt.CylinderMeshEditor.html +2 -2
  47. package/docs/classes/Util.sculpt.LineMesh.html +2 -2
  48. package/docs/classes/Util.sculpt.PointMesh.html +2 -2
  49. package/docs/classes/Util.sculpt.PolygonMesh.html +2 -2
  50. package/docs/classes/Util.sculpt.PrismMesh.html +2 -2
  51. package/docs/classes/Util.sculpt.PrismMeshEditor.html +2 -2
  52. package/docs/classes/Util.sculpt.RectangleMesh.html +2 -2
  53. package/docs/classes/Util.sculpt.RectangleMeshEditor.html +2 -2
  54. package/docs/classes/Util.sculpt.RectangleWithEdgeMesh.html +2 -2
  55. package/docs/classes/WalkController.html +2 -2
  56. package/docs/enums/CameraMovementEffect.html +2 -2
  57. package/docs/enums/ContentType.html +2 -2
  58. package/docs/enums/DIRECTION.html +2 -2
  59. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +2 -2
  60. package/docs/enums/DimensionType.html +2 -2
  61. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +2 -2
  62. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +2 -2
  63. package/docs/enums/PaintBrushTypeEnum.html +2 -2
  64. package/docs/enums/PointType.html +2 -2
  65. package/docs/enums/Rotation.html +2 -2
  66. package/docs/functions/AreaMakerPlugin.html +1 -1
  67. package/docs/functions/CSS3DRenderPlugin.html +1 -1
  68. package/docs/functions/CameraMovementPlugin.html +2 -2
  69. package/docs/functions/CruisePlugin.html +1 -1
  70. package/docs/functions/CurrentPanoImagePlugin.html +1 -1
  71. package/docs/functions/FloorplanGuidePlugin.html +1 -1
  72. package/docs/functions/GuideLinePlugin.html +1 -1
  73. package/docs/functions/ItemLabelPlugin.html +1 -1
  74. package/docs/functions/MapviewFloorplanPlugin.html +1 -1
  75. package/docs/functions/MeasurePlugin.html +1 -1
  76. package/docs/functions/ModelChassisCompassPlugin.html +2 -2
  77. package/docs/functions/ModelEntryDoorGuidePlugin.html +2 -2
  78. package/docs/functions/ModelFloorplanPlugin.html +1 -1
  79. package/docs/functions/ModelItemLabelPlugin.html +1 -1
  80. package/docs/functions/ModelMakerPlugin.html +1 -1
  81. package/docs/functions/ModelRoomLabelPlugin.html +1 -1
  82. package/docs/functions/ModelTVVideoPlugin.html +1 -1
  83. package/docs/functions/ModelViewPlugin.html +2 -2
  84. package/docs/functions/MovePlugin.html +1 -1
  85. package/docs/functions/Object3DHelperPlugin.html +1 -1
  86. package/docs/functions/PanoCompassPlugin.html +1 -1
  87. package/docs/functions/PanoCursorRaycasterPlugin.html +2 -2
  88. package/docs/functions/PanoDoorLabelPlugin.html +1 -1
  89. package/docs/functions/PanoFloorplanRadarPlugin.html +1 -1
  90. package/docs/functions/PanoMeasurePlugin.html +1 -1
  91. package/docs/functions/PanoRulerPlugin.html +2 -2
  92. package/docs/functions/PanoRulerProPlugin.html +2 -2
  93. package/docs/functions/PanoSpatialTagPlugin.html +2 -2
  94. package/docs/functions/PanoTagPlugin.html +1 -1
  95. package/docs/functions/PanoVideoPlugin.html +2 -2
  96. package/docs/functions/PipelinePlugin.html +1 -1
  97. package/docs/functions/SculptPlugin.html +2 -2
  98. package/docs/functions/SculptPluginForFive.html +2 -2
  99. package/docs/functions/TopviewFloorplanPlugin.html +1 -1
  100. package/docs/functions/Util.awaitNextFrame.html +1 -1
  101. package/docs/functions/Util.blink.html +2 -2
  102. package/docs/functions/Util.blinkWithPreset.html +2 -2
  103. package/docs/functions/Util.bounding.html +1 -1
  104. package/docs/functions/Util.boundingBox.html +1 -1
  105. package/docs/functions/Util.boundingSphere.html +1 -1
  106. package/docs/functions/Util.boxVertex.html +2 -2
  107. package/docs/functions/Util.boxVertexes.html +1 -1
  108. package/docs/functions/Util.checkFiveModelLoaded.html +2 -2
  109. package/docs/functions/Util.cleanup.html +2 -2
  110. package/docs/functions/Util.convexHull.html +2 -2
  111. package/docs/functions/Util.equal.html +2 -2
  112. package/docs/functions/Util.fiveModelIsLoaded.html +2 -2
  113. package/docs/functions/Util.getCoordsFromClient.html +1 -1
  114. package/docs/functions/Util.getCoordsFromElement.html +1 -1
  115. package/docs/functions/Util.getFrameTime.html +2 -2
  116. package/docs/functions/Util.getIntersectFromRelativePosition.html +1 -1
  117. package/docs/functions/Util.getRaycasterFromFivePointer.html +1 -1
  118. package/docs/functions/Util.initialCSS3DRender.html +1 -1
  119. package/docs/functions/Util.inside.html +1 -1
  120. package/docs/functions/Util.isModelLike.html +1 -1
  121. package/docs/functions/Util.isNil.html +2 -2
  122. package/docs/functions/Util.isPanoramaLike.html +1 -1
  123. package/docs/functions/Util.lookObject.html +2 -2
  124. package/docs/functions/Util.lookPoint.html +2 -2
  125. package/docs/functions/Util.nextFrame.html +1 -1
  126. package/docs/functions/Util.notNil.html +2 -2
  127. package/docs/functions/Util.reblink.html +2 -2
  128. package/docs/functions/Util.replaceStaticPrefix.html +2 -2
  129. package/docs/functions/Util.requestAnimationFrameInterval.html +2 -2
  130. package/docs/functions/Util.sculpt.createBox.html +1 -1
  131. package/docs/functions/Util.sculpt.createCircle.html +1 -1
  132. package/docs/functions/Util.sculpt.createCylinder.html +1 -1
  133. package/docs/functions/Util.sculpt.createLine.html +2 -2
  134. package/docs/functions/Util.sculpt.createPoint.html +1 -1
  135. package/docs/functions/Util.sculpt.createPolygon.html +1 -1
  136. package/docs/functions/Util.sculpt.createPrism.html +1 -1
  137. package/docs/functions/Util.sculpt.createRectangle.html +2 -2
  138. package/docs/functions/Util.tag.html +1 -1
  139. package/docs/functions/Util.tweenProgress.html +1 -1
  140. package/docs/functions/Util.uuid.html +2 -2
  141. package/docs/functions/Util.waitFiveModelLoaded.html +2 -2
  142. package/docs/functions/Util.worldBounding.html +1 -1
  143. package/docs/functions/Util.worldBoundingBox.html +1 -1
  144. package/docs/functions/Util.worldBoundingSphere.html +1 -1
  145. package/docs/functions/createPolyline.html +2 -2
  146. package/docs/functions/pluginFlag.html +1 -1
  147. package/docs/hierarchy.html +1 -1
  148. package/docs/index.html +2 -2
  149. package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +2 -2
  150. package/docs/interfaces/AreaMakerPluginType.Config.html +2 -2
  151. package/docs/interfaces/AreaMakerPluginType.EventMap.html +2 -2
  152. package/docs/interfaces/AreaMakerPluginType.Params.html +2 -2
  153. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +2 -2
  154. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +2 -2
  155. package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +2 -2
  156. package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +2 -2
  157. package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +2 -2
  158. package/docs/interfaces/AreaMakerPluginType.State.html +2 -2
  159. package/docs/interfaces/BoxAnimationConfig.html +2 -2
  160. package/docs/interfaces/CSS3DRenderPluginEventMap.html +2 -2
  161. package/docs/interfaces/CSS3DRenderPluginState.html +2 -2
  162. package/docs/interfaces/CameraMovementPluginExportType.html +2 -2
  163. package/docs/interfaces/ContentTypeMapInterface.html +2 -2
  164. package/docs/interfaces/CruisePluginTypes.Config.html +2 -2
  165. package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +2 -2
  166. package/docs/interfaces/CruisePluginTypes.EventMap.html +2 -2
  167. package/docs/interfaces/CruisePluginTypes.GuildLineConfig.html +2 -2
  168. package/docs/interfaces/CruisePluginTypes.MoveAction.html +2 -2
  169. package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +2 -2
  170. package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +2 -2
  171. package/docs/interfaces/CruisePluginTypes.PluginData.html +2 -2
  172. package/docs/interfaces/CruisePluginTypes.PluginServerData.html +2 -2
  173. package/docs/interfaces/CruisePluginTypes.PluginState.html +2 -2
  174. package/docs/interfaces/CurrentPanoImagePluginType.Config.html +2 -2
  175. package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +2 -2
  176. package/docs/interfaces/CurrentPanoImagePluginType.Params.html +2 -2
  177. package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +2 -2
  178. package/docs/interfaces/CurrentPanoImagePluginType.State.html +2 -2
  179. package/docs/interfaces/FloorplanBounding.html +2 -2
  180. package/docs/interfaces/FloorplanData.html +2 -2
  181. package/docs/interfaces/FloorplanEntrance.html +2 -2
  182. package/docs/interfaces/FloorplanExtraObject.html +2 -2
  183. package/docs/interfaces/FloorplanExtraObject3D.html +2 -2
  184. package/docs/interfaces/FloorplanFloorData.html +2 -2
  185. package/docs/interfaces/FloorplanImagePosition.html +2 -2
  186. package/docs/interfaces/FloorplanObserver.html +2 -2
  187. package/docs/interfaces/FloorplanOutlineItem.html +2 -2
  188. package/docs/interfaces/FloorplanPosition.html +2 -2
  189. package/docs/interfaces/FloorplanRoomItem.html +2 -2
  190. package/docs/interfaces/FloorplanRoomLabelItem.html +2 -2
  191. package/docs/interfaces/FloorplanServerBounding.html +2 -2
  192. package/docs/interfaces/FloorplanServerComputedData.html +2 -2
  193. package/docs/interfaces/FloorplanServerData.html +2 -2
  194. package/docs/interfaces/FloorplanServerDoorItem.html +2 -2
  195. package/docs/interfaces/FloorplanServerDoorPosition.html +2 -2
  196. package/docs/interfaces/FloorplanServerEntrance.html +2 -2
  197. package/docs/interfaces/FloorplanServerFloorData.html +2 -2
  198. package/docs/interfaces/FloorplanServerImagePosition.html +2 -2
  199. package/docs/interfaces/FloorplanServerObserver.html +2 -2
  200. package/docs/interfaces/FloorplanServerOutlineItem.html +2 -2
  201. package/docs/interfaces/FloorplanServerPosition.html +2 -2
  202. package/docs/interfaces/FloorplanServerRoomItem.html +2 -2
  203. package/docs/interfaces/FloorplanServerRoomLabelItem.html +2 -2
  204. package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +2 -2
  205. package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +2 -2
  206. package/docs/interfaces/GuideLinePluginType.EventMap.html +2 -2
  207. package/docs/interfaces/GuideLinePluginType.ExtraRouteData.html +2 -2
  208. package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +2 -2
  209. package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +2 -2
  210. package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +2 -2
  211. package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +2 -2
  212. package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +2 -2
  213. package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +2 -2
  214. package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +2 -2
  215. package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +2 -2
  216. package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +1 -1
  217. package/docs/interfaces/GuideLinePluginType.PluginServerData.html +2 -2
  218. package/docs/interfaces/GuideLinePluginType.PluginState.html +2 -2
  219. package/docs/interfaces/GuideLinePluginType.Route.html +2 -2
  220. package/docs/interfaces/HelperOffset.html +2 -2
  221. package/docs/interfaces/ImagePlaneGroup.html +2 -2
  222. package/docs/interfaces/ItemLabelPluginData.html +2 -2
  223. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +2 -2
  224. package/docs/interfaces/ItemLabelPluginParametersType.html +2 -2
  225. package/docs/interfaces/MinMax.html +2 -2
  226. package/docs/interfaces/ModelChassisCompassPluginData.html +2 -2
  227. package/docs/interfaces/ModelChassisCompassPluginExportType.html +2 -2
  228. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +2 -2
  229. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +2 -2
  230. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +2 -2
  231. package/docs/interfaces/ModelItemLabelPluginData.html +2 -2
  232. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +2 -2
  233. package/docs/interfaces/ModelItemLabelPluginParametersType.html +2 -2
  234. package/docs/interfaces/ModelMakerPluginType.BoxItemObjectData.html +2 -2
  235. package/docs/interfaces/ModelMakerPluginType.EventMap.html +2 -2
  236. package/docs/interfaces/ModelMakerPluginType.PrismItemObjectData.html +2 -2
  237. package/docs/interfaces/ModelMakerPluginType.ServerBaseItem.html +2 -2
  238. package/docs/interfaces/ModelMakerPluginType.ServerBoxItem.html +2 -2
  239. package/docs/interfaces/ModelMakerPluginType.ServerData.html +2 -2
  240. package/docs/interfaces/ModelMakerPluginType.ServerPrismItem.html +2 -2
  241. package/docs/interfaces/ModelMakerPluginType.ServerTrianglesItem.html +2 -2
  242. package/docs/interfaces/ModelMakerPluginType.State.html +2 -2
  243. package/docs/interfaces/ModelMakerPluginType.TrianglesItemObjectData.html +2 -2
  244. package/docs/interfaces/ModelRoomLabelPluginData.html +2 -2
  245. package/docs/interfaces/ModelTVVideoPluginData.html +2 -2
  246. package/docs/interfaces/ModelTVVideoPluginExportType.html +2 -2
  247. package/docs/interfaces/ModelTVVideoPluginParameterType.html +2 -2
  248. package/docs/interfaces/ModelViewPluginExportType.html +2 -2
  249. package/docs/interfaces/Object3DHelperState.html +2 -2
  250. package/docs/interfaces/ObjectHelperControllers.html +2 -2
  251. package/docs/interfaces/PaintBrushAction.html +2 -2
  252. package/docs/interfaces/PaintBrushConfigs.html +2 -2
  253. package/docs/interfaces/PaintBrushState.html +2 -2
  254. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +2 -2
  255. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +1 -1
  256. package/docs/interfaces/PanoMeasureParameterType.html +2 -2
  257. package/docs/interfaces/PanoMeasurePluginLineJson.html +2 -2
  258. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +2 -2
  259. package/docs/interfaces/PanoMeasurePluginPointJson.html +2 -2
  260. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +2 -2
  261. package/docs/interfaces/PanoRulerPluginExportType.html +2 -2
  262. package/docs/interfaces/PanoRulerPluginOptions.html +2 -2
  263. package/docs/interfaces/PanoRulerPluginParameterType.html +2 -2
  264. package/docs/interfaces/PanoRulerProPluginExportType.html +2 -2
  265. package/docs/interfaces/PanoRulerProPluginOptions.html +2 -2
  266. package/docs/interfaces/PanoRulerProPluginParameterType.html +2 -2
  267. package/docs/interfaces/PanoRulerProPluginState.html +2 -2
  268. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +1 -1
  269. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +1 -1
  270. package/docs/interfaces/PanoSpatialTagPluginData.html +2 -2
  271. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +2 -2
  272. package/docs/interfaces/PanoSpatialTagPluginExportType.html +2 -2
  273. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +2 -2
  274. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +2 -2
  275. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +2 -2
  276. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +2 -2
  277. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +2 -2
  278. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +2 -2
  279. package/docs/interfaces/PanoVideoPluginType.PluginData.html +2 -2
  280. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +2 -2
  281. package/docs/interfaces/PanoVideoPluginType.PluginState.html +2 -2
  282. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +2 -2
  283. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +2 -2
  284. package/docs/interfaces/PluginEventMap.html +2 -2
  285. package/docs/interfaces/Point.html +2 -2
  286. package/docs/interfaces/Room.html +2 -2
  287. package/docs/interfaces/RoomInfo.html +2 -2
  288. package/docs/interfaces/RoomLabel.html +2 -2
  289. package/docs/interfaces/RoomRules.html +1 -1
  290. package/docs/interfaces/Rooms.html +1 -1
  291. package/docs/interfaces/Scissor.html +2 -2
  292. package/docs/interfaces/SculptConfig.html +2 -2
  293. package/docs/interfaces/State.html +2 -2
  294. package/docs/interfaces/TagCacheInterface.html +2 -2
  295. package/docs/interfaces/TagConfig.html +11 -11
  296. package/docs/interfaces/TagGLTFObjectGroup.html +2 -2
  297. package/docs/interfaces/TagIconAnimationConfig.html +2 -2
  298. package/docs/interfaces/TagIconUrl.html +2 -2
  299. package/docs/interfaces/TagObjectGroup.html +2 -2
  300. package/docs/interfaces/TagState.html +2 -2
  301. package/docs/interfaces/TagStyle.html +2 -2
  302. package/docs/interfaces/Tags.html +2 -2
  303. package/docs/interfaces/TemporaryState.html +2 -2
  304. package/docs/interfaces/Util.AnimeInstance.html +2 -2
  305. package/docs/interfaces/Util.BlinkAnimeOptions.html +2 -2
  306. package/docs/interfaces/Util.EventHandlerConfig.html +2 -2
  307. package/docs/interfaces/Util.FiveDomEvent.html +2 -2
  308. package/docs/interfaces/Util.FiveDomEventMap.html +2 -2
  309. package/docs/interfaces/Util.LegacyMouseGroupParameter.html +2 -2
  310. package/docs/interfaces/Util.MagnifierParameter.html +2 -2
  311. package/docs/interfaces/Util.MouseGroupParameter.html +2 -2
  312. package/docs/interfaces/Util.ObjectInitialState.html +2 -2
  313. package/docs/interfaces/Util.PointIntersection.html +2 -2
  314. package/docs/interfaces/Util.PointSelectorHelperConfig.html +2 -2
  315. package/docs/interfaces/Util.ReBlinkAnimeOptions.html +2 -2
  316. package/docs/modules/AreaMakerPluginType.html +2 -2
  317. package/docs/modules/CruisePluginTypes.html +2 -2
  318. package/docs/modules/CurrentPanoImagePluginType.html +2 -2
  319. package/docs/modules/GuideLineItem.html +2 -2
  320. package/docs/modules/GuideLineModeItem.html +2 -2
  321. package/docs/modules/GuideLinePluginType.html +2 -2
  322. package/docs/modules/ModelMakerPluginType.html +2 -2
  323. package/docs/modules/PanoVideoPluginType.html +2 -2
  324. package/docs/modules/SculptData.html +2 -2
  325. package/docs/modules/SculptType.html +2 -2
  326. package/docs/modules/Util.html +2 -2
  327. package/docs/modules/Util.sculpt.html +2 -2
  328. package/docs/modules.html +2 -2
  329. package/docs/types/AddObject3DHelperConfig.html +2 -2
  330. package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +2 -2
  331. package/docs/types/AreaMakerPluginType.ItemRenderer.html +1 -1
  332. package/docs/types/AreaMakerPluginType.PluginData.html +2 -2
  333. package/docs/types/AreaMakerPluginType.ServerData.html +2 -2
  334. package/docs/types/ArrayPosition.html +1 -1
  335. package/docs/types/AudioAppearance.html +1 -1
  336. package/docs/types/CSS3DRenderExportType.html +1 -1
  337. package/docs/types/CSS3DRenderPluginExportType.html +1 -1
  338. package/docs/types/CSS3DRenderPluginParameterType.html +1 -1
  339. package/docs/types/ClassFunctionParameters.html +1 -1
  340. package/docs/types/Color.html +1 -1
  341. package/docs/types/ContentTypeConfigKey.html +1 -1
  342. package/docs/types/ContentTypeConfigKeySplit.html +1 -1
  343. package/docs/types/ContentTypeMap.html +1 -1
  344. package/docs/types/Create3DDomContainerReturnType.html +1 -1
  345. package/docs/types/Create3DElementReturnType.html +1 -1
  346. package/docs/types/CruisePluginExportType.html +1 -1
  347. package/docs/types/CruisePluginTypes.CruiseData.html +2 -2
  348. package/docs/types/CruisePluginTypes.MoveEffect.html +1 -1
  349. package/docs/types/CurrentPanoImagePluginExportType.html +1 -1
  350. package/docs/types/DeprecatedMediaPlaneProperty.html +2 -2
  351. package/docs/types/DeprecatedTagProperty.html +2 -2
  352. package/docs/types/Direction-1.html +1 -1
  353. package/docs/types/Direction4.html +1 -1
  354. package/docs/types/ElementRenderer.html +2 -2
  355. package/docs/types/FloorplanGuidePluginParameterType.html +1 -1
  356. package/docs/types/FloorplanGuidePluginReturnType.html +1 -1
  357. package/docs/types/FloorplanRuleLabels.html +2 -2
  358. package/docs/types/FloorplanServerRuleLabels.html +1 -1
  359. package/docs/types/GuideLinePluginExportType.html +1 -1
  360. package/docs/types/GuideLinePluginType.GuideLineItem.html +2 -2
  361. package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +1 -1
  362. package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +1 -1
  363. package/docs/types/GuideLinePluginType.GuideLineStyle.html +2 -2
  364. package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +2 -2
  365. package/docs/types/GuideLinePluginType.PathItem.html +2 -2
  366. package/docs/types/GuideLinePluginType.PluginData.html +2 -2
  367. package/docs/types/GuideLinePluginType.RouteConfig.html +2 -2
  368. package/docs/types/HelperEventMap.html +1 -1
  369. package/docs/types/InternalHelperEventMap.html +1 -1
  370. package/docs/types/MapviewFloorplanPluginParameterType.html +1 -1
  371. package/docs/types/MapviewFloorplanPluginReturnType.html +1 -1
  372. package/docs/types/MeasureEndReason.html +1 -1
  373. package/docs/types/MeasurePluginConfig.html +2 -2
  374. package/docs/types/MediaData.html +2 -2
  375. package/docs/types/MediaStore.html +1 -1
  376. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +1 -1
  377. package/docs/types/ModelFloorplanPluginParameterType.html +1 -1
  378. package/docs/types/ModelFloorplanPluginReturnType.html +1 -1
  379. package/docs/types/ModelId.html +1 -1
  380. package/docs/types/ModelMakerPluginType.ElementRenderer.html +1 -1
  381. package/docs/types/ModelMakerPluginType.ItemType.html +2 -2
  382. package/docs/types/ModelMakerPluginType.MarkerItem.html +1 -1
  383. package/docs/types/ModelMakerPluginType.ServerItem.html +2 -2
  384. package/docs/types/ModelRoomLabelPluginParameters.html +1 -1
  385. package/docs/types/ModelRoomLabelPluginReturnType.html +1 -1
  386. package/docs/types/MoveArgs.html +2 -2
  387. package/docs/types/MoveOpts.html +2 -2
  388. package/docs/types/Object3DHelperEventMap.html +1 -1
  389. package/docs/types/ObjectFit.html +1 -1
  390. package/docs/types/PaintBrushEventMap.html +1 -1
  391. package/docs/types/PanoCompassPluginData.html +1 -1
  392. package/docs/types/PanoCompassPluginExportType.html +1 -1
  393. package/docs/types/PanoCompassPluginParameterType.html +1 -1
  394. package/docs/types/PanoFloorplanRadarPluginParameterType.html +1 -1
  395. package/docs/types/PanoFloorplanRadarPluginReturnType.html +1 -1
  396. package/docs/types/PanoIndex.html +1 -1
  397. package/docs/types/PanoMeasurePluginEvent.html +1 -1
  398. package/docs/types/PanoMeasureReturnType.html +1 -1
  399. package/docs/types/PanoSpatialTagPluginId.html +1 -1
  400. package/docs/types/PanoTagPluginExportInterface.html +1 -1
  401. package/docs/types/PanoTagPluginParamsInterface.html +1 -1
  402. package/docs/types/PanoVideoPluginParameterType.html +1 -1
  403. package/docs/types/PanoVideoPluginReturnType.html +1 -1
  404. package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +2 -2
  405. package/docs/types/PipelinePluginParameterType.html +1 -1
  406. package/docs/types/PipelinePluginReturnType.html +1 -1
  407. package/docs/types/PlaneTag.html +2 -2
  408. package/docs/types/Point2DTag.html +2 -2
  409. package/docs/types/Point3DTag.html +2 -2
  410. package/docs/types/PointTagInstance.html +1 -1
  411. package/docs/types/Position.html +1 -1
  412. package/docs/types/PositionFrom.html +1 -1
  413. package/docs/types/RotateArgs.html +2 -2
  414. package/docs/types/RotateOpts.html +2 -2
  415. package/docs/types/RuleLabelsKey.html +1 -1
  416. package/docs/types/RuleLabelsValue.html +1 -1
  417. package/docs/types/ScaleCallback.html +1 -1
  418. package/docs/types/ScalePosition.html +2 -2
  419. package/docs/types/SculptData.BoxData.html +1 -1
  420. package/docs/types/SculptData.CircleData.html +1 -1
  421. package/docs/types/SculptData.CylinderData.html +1 -1
  422. package/docs/types/SculptData.PointData.html +1 -1
  423. package/docs/types/SculptData.PolygonData.html +1 -1
  424. package/docs/types/SculptData.PolylineData.html +1 -1
  425. package/docs/types/SculptData.PrismData.html +1 -1
  426. package/docs/types/SculptData.RectangleData.html +1 -1
  427. package/docs/types/SculptType.Theme.html +2 -2
  428. package/docs/types/StickType.html +1 -1
  429. package/docs/types/Tag.html +2 -2
  430. package/docs/types/Tag2D.html +2 -2
  431. package/docs/types/Tag3D.html +2 -2
  432. package/docs/types/TagClickParams.html +1 -1
  433. package/docs/types/TagConfigByKey.html +1 -1
  434. package/docs/types/TagContentType.html +1 -1
  435. package/docs/types/TagContentTypeMapping.html +1 -1
  436. package/docs/types/TagDimensionType.html +1 -1
  437. package/docs/types/TagElement.html +2 -2
  438. package/docs/types/TagEvents.html +1 -1
  439. package/docs/types/TagGLTFObject.html +1 -1
  440. package/docs/types/TagHooks.html +1 -1
  441. package/docs/types/TagId.html +1 -1
  442. package/docs/types/TagInstance.html +1 -1
  443. package/docs/types/TagPlacement.html +2 -2
  444. package/docs/types/TagPointType.html +2 -2
  445. package/docs/types/TagRendererMap.html +1 -1
  446. package/docs/types/TopviewFloorplanPluginParameterType.html +1 -1
  447. package/docs/types/TopviewFloorplanPluginReturnType.html +1 -1
  448. package/docs/types/Util.ActionIfNoIntersection.html +1 -1
  449. package/docs/types/Util.AdherePoint.html +2 -2
  450. package/docs/types/Util.PointSelectorConfig.html +1 -1
  451. package/docs/types/Util.SupportedTarget.html +2 -2
  452. package/docs/types/Util.Target.html +2 -2
  453. package/docs/types/Util.ThreeObject.html +2 -2
  454. package/docs/types/WorkCode.html +1 -1
  455. package/docs/variables/FLOOR_TYPE_MAP.html +2 -2
  456. package/docs/variables/PLUGIN.html +1 -1
  457. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +2 -2
  458. package/docs/variables/ROOM_TYPE_MAP.html +2 -2
  459. package/docs/variables/Util.ANIME_PRESETS.html +2 -2
  460. package/docs/variables/Util.CURRENT_PANO_IMAGE_DEFAULT_IMAGE.html +2 -2
  461. package/docs/variables/Util.DEFAULT_ANIME_CONFIG.html +2 -2
  462. package/docs/variables/Util.DEFAULT_STATIC_PREFIX.html +2 -2
  463. package/docs/variables/Util.DNALOGEL_DEFAULT_ASSETS.html +2 -2
  464. package/docs/variables/Util.ENTRY_DOOR_DEFAULT_IMAGE.html +2 -2
  465. package/docs/variables/Util.FLOORPLAN_DEFAULT_IMAGE.html +2 -2
  466. package/docs/variables/Util.GUIDELINE_DEFAULT_ARROW_TEXTURE.html +2 -2
  467. package/docs/variables/Util.GUIDELINE_WHITE_ARROW_TEXTURE.html +2 -2
  468. package/docs/variables/Util.MODEL_CHASSIS_COMPASS_DEFAULT_MODEL.html +2 -2
  469. package/docs/variables/Util.MODEL_ENTRY_DOOR_GUIDE_PLUGIN_DEFAULT_MODEL.html +2 -2
  470. package/docs/variables/Util.PANO_COMPASS_DEFAULT_IMAGE.html +2 -2
  471. package/docs/variables/Util.PANO_SPATIAL_TAG_BLUR_IMAGE.html +2 -2
  472. package/docs/variables/Util.PANO_TAG_DEFAULT_LINK_ICON.html +2 -2
  473. package/docs/variables/defaultGlobalConfig.html +1 -1
  474. package/docs/variables/itemLabelPluginServerParams.html +1 -1
  475. package/docs/variables/modelItemLabelPluginServerParams.html +1 -1
  476. package/docs/variables/modelRoomLabelPluginServerParams.html +1 -1
  477. package/libs/PanoTagPlugin/controller/Tag/BaseTag.d.ts +0 -1
  478. package/libs/PanoTagPlugin/controller/Tag/BaseTag.js +262 -292
  479. package/libs/PanoTagPlugin/controller/Tag/PointTag.js +1 -1
  480. package/libs/PanoTagPlugin/typings/tag/TagConfig.d.ts +0 -8
  481. package/libs/base/BasePlugin.js +1 -1
  482. package/libs/shared-utils/logger.js +1 -1
  483. package/package.json +1 -1
@@ -1,76 +1,76 @@
1
1
  var K = Object.defineProperty, Q = Object.defineProperties;
2
2
  var Y = Object.getOwnPropertyDescriptors;
3
- var x = Object.getOwnPropertySymbols;
4
- var A = Object.prototype.hasOwnProperty, E = Object.prototype.propertyIsEnumerable;
5
- var I = Math.pow, w = (g, e, i) => e in g ? K(g, e, { enumerable: !0, configurable: !0, writable: !0, value: i }) : g[e] = i, b = (g, e) => {
3
+ var C = Object.getOwnPropertySymbols;
4
+ var D = Object.prototype.hasOwnProperty, j = Object.prototype.propertyIsEnumerable;
5
+ var k = Math.pow, M = (u, e, i) => e in u ? K(u, e, { enumerable: !0, configurable: !0, writable: !0, value: i }) : u[e] = i, g = (u, e) => {
6
6
  for (var i in e || (e = {}))
7
- A.call(e, i) && w(g, i, e[i]);
8
- if (x)
9
- for (var i of x(e))
10
- E.call(e, i) && w(g, i, e[i]);
11
- return g;
12
- }, U = (g, e) => Q(g, Y(e));
13
- var O = (g, e) => {
7
+ D.call(e, i) && M(u, i, e[i]);
8
+ if (C)
9
+ for (var i of C(e))
10
+ j.call(e, i) && M(u, i, e[i]);
11
+ return u;
12
+ }, w = (u, e) => Q(u, Y(e));
13
+ var A = (u, e) => {
14
14
  var i = {};
15
- for (var t in g)
16
- A.call(g, t) && e.indexOf(t) < 0 && (i[t] = g[t]);
17
- if (g != null && x)
18
- for (var t of x(g))
19
- e.indexOf(t) < 0 && E.call(g, t) && (i[t] = g[t]);
15
+ for (var t in u)
16
+ D.call(u, t) && e.indexOf(t) < 0 && (i[t] = u[t]);
17
+ if (u != null && C)
18
+ for (var t of C(u))
19
+ e.indexOf(t) < 0 && j.call(u, t) && (i[t] = u[t]);
20
20
  return i;
21
21
  };
22
- var l = (g, e, i) => (w(g, typeof e != "symbol" ? e + "" : e, i), i);
23
- var T = (g, e, i) => new Promise((t, o) => {
24
- var s = (n) => {
22
+ var a = (u, e, i) => (M(u, typeof e != "symbol" ? e + "" : e, i), i);
23
+ var U = (u, e, i) => new Promise((t, r) => {
24
+ var n = (s) => {
25
25
  try {
26
- a(i.next(n));
27
- } catch (f) {
28
- o(f);
26
+ o(i.next(s));
27
+ } catch (d) {
28
+ r(d);
29
29
  }
30
- }, r = (n) => {
30
+ }, l = (s) => {
31
31
  try {
32
- a(i.throw(n));
33
- } catch (f) {
34
- o(f);
32
+ o(i.throw(s));
33
+ } catch (d) {
34
+ r(d);
35
35
  }
36
- }, a = (n) => n.done ? t(n.value) : Promise.resolve(n.value).then(s, r);
37
- a((i = i.apply(g, e)).next());
36
+ }, o = (s) => s.done ? t(s.value) : Promise.resolve(s.value).then(n, l);
37
+ o((i = i.apply(u, e)).next());
38
38
  });
39
39
  import { Subscribe as ee } from "../../../shared-utils/Subscribe.js";
40
- import { calculateTagConfig as S } from "../../utils/tag/calculateTagConfig.js";
40
+ import { calculateTagConfig as T } from "../../utils/tag/calculateTagConfig.js";
41
41
  import { getTagStickType as ie } from "../../utils/tag/format.js";
42
42
  import "../../../shared-utils/tag.js";
43
- import { isPanoramaLike as V, isModelLike as M } from "../../../shared-utils/five/mode.js";
44
- import * as y from "three";
43
+ import { isPanoramaLike as S, isModelLike as P } from "../../../shared-utils/five/mode.js";
44
+ import * as E from "three";
45
45
  import "../../../vendor/hammerjs/hammer.js";
46
46
  import "../../../shared-utils/three/PointSelector/index.js";
47
47
  import { centerPoint as te } from "../../../shared-utils/three/centerPoint.js";
48
48
  import "../../../shared-utils/three/CSS3DRenderer/index.js";
49
49
  import "../../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
50
- import { anyPositionToVector3 as R } from "../../../shared-utils/positionToVector3.js";
50
+ import { anyPositionToVector3 as O } from "../../../shared-utils/positionToVector3.js";
51
51
  import { toArray as ne } from "../../../shared-utils/util.js";
52
52
  import "@realsee/five/line";
53
- import { isNil as _, notNil as L } from "../../../shared-utils/isNil.js";
53
+ import { isNil as R, notNil as _ } from "../../../shared-utils/isNil.js";
54
54
  import "../../../shared-utils/three/core/Five_LineMaterial2.js";
55
55
  import "../../../shared-utils/three/core/Sphere.js";
56
56
  import { blink as se, reblink as oe } from "../../../shared-utils/three/blink.js";
57
57
  import "../../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
58
58
  import "../../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
59
59
  import { vectorToCoordinates as re } from "../../../shared-utils/vectorToCoordinate.js";
60
- import { transformPosition as $ } from "../../../shared-utils/five/transformPosition.js";
61
- import { lookPoint as ae } from "../../../shared-utils/five/lookPoint.js";
62
- import { uuid as le } from "../../../shared-utils/uuid.js";
60
+ import { transformPosition as L } from "../../../shared-utils/five/transformPosition.js";
61
+ import { lookPoint as le } from "../../../shared-utils/five/lookPoint.js";
62
+ import { uuid as ae } from "../../../shared-utils/uuid.js";
63
63
  import "../../../shared-utils/five/FivePuppet.js";
64
- import { objectAssignDeepExports as P } from "../../../vendor/object-assign-deep/objectAssignDeep.js";
65
- import { getTagPosition as N, getTagCenterPosition as z } from "../../utils/tagPosition.js";
66
- import { checkRange as k } from "../../utils/checkRange.js";
67
- import { isMediaPlaneTag as W, isMediaModelTag as B } from "../../utils/tag/tagCheck.js";
64
+ import { objectAssignDeepExports as y } from "../../../vendor/object-assign-deep/objectAssignDeep.js";
65
+ import { getTagPosition as $, getTagCenterPosition as z } from "../../utils/tagPosition.js";
66
+ import { checkRange as I } from "../../utils/checkRange.js";
67
+ import { isMediaPlaneTag as N, isMediaModelTag as V } from "../../utils/tag/tagCheck.js";
68
68
  import { getUrlExt as J } from "../../../shared-utils/url/getUrl.js";
69
69
  import { getFloorIndex as fe } from "../../../shared-utils/five/getFloorIndex.js";
70
70
  import { safeObj as H } from "../../../shared-utils/safeObj.js";
71
- import { Cache as ce } from "../../utils/Cache.js";
72
- import { _raycaster as D } from "../../../shared-utils/three/temp.js";
73
- import { withResolvers as de } from "../../../shared-utils/promise/withResolvers.js";
71
+ import { Cache as de } from "../../utils/Cache.js";
72
+ import { _raycaster as B } from "../../../shared-utils/three/temp.js";
73
+ import { withResolvers as ce } from "../../../shared-utils/promise/withResolvers.js";
74
74
  import "../../../shared-utils/typescript/entries.js";
75
75
  import "../../utils/tag/adaptConfig.js";
76
76
  import "../../typings/tag/TagConfig.js";
@@ -121,50 +121,49 @@ import "../../../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
121
121
  import "../../../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
122
122
  import "../../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
123
123
  import "../../../shared-utils/formatRad.js";
124
- class Wi {
124
+ class Ji {
125
125
  constructor(e, i) {
126
- l(this, "plugin");
127
- l(this, "id");
128
- l(this, "contentType");
129
- l(this, "stickType");
130
- l(this, "enabled");
131
- l(this, "config");
132
- l(this, "data");
133
- l(this, "state");
134
- l(this, "temporaryState", { visible: !0 });
135
- l(this, "originPosition");
136
- l(this, "position");
137
- l(this, "fiveState");
138
- l(this, "model");
139
- l(this, "matrix");
140
- l(this, "screenPosition");
141
- l(this, "normal");
142
- l(this, "mediaPlane");
143
- l(this, "hooks");
144
- l(this, "zIndex");
145
- l(this, "manuallyOperated", !1);
146
- l(this, "play");
147
- l(this, "pause");
148
- l(this, "tag3DContentSvelte");
149
- l(this, "rectanglePlane");
150
- l(this, "dom");
151
- l(this, "contentDom");
152
- l(this, "initialConfig");
153
- l(this, "computedConfig");
126
+ a(this, "plugin");
127
+ a(this, "id");
128
+ a(this, "contentType");
129
+ a(this, "stickType");
130
+ a(this, "enabled");
131
+ a(this, "config");
132
+ a(this, "data");
133
+ a(this, "state");
134
+ a(this, "temporaryState", { visible: !0 });
135
+ a(this, "originPosition");
136
+ a(this, "position");
137
+ a(this, "fiveState");
138
+ a(this, "model");
139
+ a(this, "matrix");
140
+ a(this, "screenPosition");
141
+ a(this, "normal");
142
+ a(this, "mediaPlane");
143
+ a(this, "hooks");
144
+ a(this, "zIndex");
145
+ a(this, "play");
146
+ a(this, "pause");
147
+ a(this, "tag3DContentSvelte");
148
+ a(this, "rectanglePlane");
149
+ a(this, "dom");
150
+ a(this, "contentDom");
151
+ a(this, "initialConfig");
152
+ a(this, "computedConfig");
154
153
  /**
155
154
  * 存储当前的闪烁动画实例
156
155
  * @private
157
156
  */
158
- l(this, "_currentBlinkInstance");
159
- l(this, "cache");
160
- l(this, "entryFromModel");
161
- l(this, "_updating", !1);
157
+ a(this, "_currentBlinkInstance");
158
+ a(this, "cache");
159
+ a(this, "entryFromModel");
160
+ a(this, "_updating", !1);
162
161
  /**
163
162
  * 是否启用 hover 行为,默认 为config.popoverConfig.enabled
164
163
  */
165
- l(this, "hoverEnabled");
166
- l(this, "ready", () => {
167
- const { promise: e, resolve: i } = de();
164
+ a(this, "hoverEnabled");
165
+ a(this, "ready", () => {
166
+ const { promise: e, resolve: i } = ce();
168
167
  if (!this._updating)
169
168
  i();
170
169
  else {
@@ -177,29 +176,29 @@ class Wi {
177
176
  }
178
177
  return e;
179
178
  });
180
- var f, m, p, c, u, h;
179
+ var d, p, v, m, c, h;
181
180
  this.plugin = e;
182
181
  const t = ie(i);
183
182
  i.stickType = t;
184
- const o = JSON.parse(JSON.stringify(i.data)), s = (f = i.initialConfig) != null ? f : i.config ? JSON.parse(JSON.stringify(i.config)) : {};
185
- i.initialConfig = s;
186
- const r = S(i, e.config), a = this.getConfig(i);
187
- i.config = a, this.id = (m = i.id) != null ? m : le(), this.enabled = (p = i.enabled) != null ? p : !0, this.contentType = i.contentType, this.hoverEnabled = (u = (c = a.popoverConfig) == null ? void 0 : c.enabled) != null ? u : !0, this.data = (h = a.initialData) != null && h.important ? P(i.data, o, a.initialData) : P(i.data, a.initialData, o);
188
- let n;
189
- typeof a.unfoldedConfig == "object" ? a.unfoldedConfig.keep === "unfolded" ? n = !0 : a.unfoldedConfig.keep === "folded" ? n = !1 : n = !this.can("fold") : n = !this.can("fold"), this.state = b({
183
+ const r = JSON.parse(JSON.stringify(i.data)), n = (d = i.initialConfig) != null ? d : i.config ? JSON.parse(JSON.stringify(i.config)) : {};
184
+ i.initialConfig = n;
185
+ const l = T(i, e.config), o = this.getConfig(i);
186
+ i.config = o, this.id = (p = i.id) != null ? p : ae(), this.enabled = (v = i.enabled) != null ? v : !0, this.contentType = i.contentType, this.hoverEnabled = (c = (m = o.popoverConfig) == null ? void 0 : m.enabled) != null ? c : !0, this.data = (h = o.initialData) != null && h.important ? y(i.data, r, o.initialData) : y(i.data, o.initialData, r);
187
+ let s;
188
+ typeof o.unfoldedConfig == "object" ? o.unfoldedConfig.keep === "unfolded" ? s = !0 : o.unfoldedConfig.keep === "folded" ? s = !1 : s = !this.can("fold") : s = !this.can("fold"), this.state = g({
190
189
  visible: void 0,
191
- unfolded: n
192
- }, a.initialState), this.isPopoverConfigEnabled() && (this.state.unfolded = !1), this.originPosition = i.position, i.originPosition = this.originPosition, this.position = (() => {
193
- const d = i.originPosition;
194
- if (!d)
190
+ unfolded: s
191
+ }, o.initialState), this.isPopoverConfigEnabled() && (this.state.unfolded = !1), this.originPosition = i.position, i.originPosition = this.originPosition, this.position = (() => {
192
+ const f = i.originPosition;
193
+ if (!f)
195
194
  return;
196
- const v = e.workUtil.transform;
197
- return Array.isArray(d) && d.length === 4 ? d.map(R).map((C) => $(C, v).toArray()) : $(R(d), v).toArray();
195
+ const b = e.workUtil.transform;
196
+ return Array.isArray(f) && f.length === 4 ? f.map(O).map((x) => L(x, b).toArray()) : L(O(f), b).toArray();
198
197
  })(), this.matrix = i.matrix ? (() => {
199
- const d = new y.Matrix4().fromArray(i.matrix);
200
- return d.premultiply(e.workUtil.transform), d.elements;
201
- })() : i.matrix, this.initialConfig = s, this.computedConfig = r, this.stickType = t, this.config = i.config, this.fiveState = i.fiveState, this.normal = i.normal, this.cache = new ce(), this.hooks = new ee(), Object.keys(i).forEach((d) => {
202
- this[d] === void 0 && i[d] !== void 0 && (this[d] = i[d]);
198
+ const f = new E.Matrix4().fromArray(i.matrix);
199
+ return f.premultiply(e.workUtil.transform), f.elements;
200
+ })() : i.matrix, this.initialConfig = n, this.computedConfig = l, this.stickType = t, this.config = i.config, this.fiveState = i.fiveState, this.normal = i.normal, this.cache = new de(), this.hooks = new ee(), Object.keys(i).forEach((f) => {
201
+ this[f] === void 0 && i[f] !== void 0 && (this[f] = i[f]);
203
202
  });
204
203
  }
205
204
  get visible() {
@@ -216,13 +215,13 @@ class Wi {
216
215
  return this.plugin.workUtil;
217
216
  }
218
217
  get centerPosition() {
219
- const e = N(this);
218
+ const e = $(this);
220
219
  return te(...Array.isArray(e) ? e : [e]);
221
220
  }
222
221
  get currentConfig() {
223
- var o, s;
224
- const e = S(this, this.plugin.config, { useCache: !0 }), i = this.five.getCurrentState().mode, t = (o = e.configWithFiveMode) == null ? void 0 : o[i];
225
- return (s = t != null ? t : e) != null ? s : {};
222
+ var r, n;
223
+ const e = T(this, this.plugin.config, { useCache: !0 }), i = this.five.getCurrentState().mode, t = (r = e.configWithFiveMode) == null ? void 0 : r[i];
224
+ return (n = t != null ? t : e) != null ? n : {};
226
225
  }
227
226
  get currentVisible() {
228
227
  return !(!this.plugin.state.enabled || !this.plugin.state.visible || !this.enabled || !this.state.visible);
@@ -240,24 +239,24 @@ class Wi {
240
239
  * @description 找到标签
241
240
  */
242
241
  find(e) {
243
- return T(this, null, function* () {
244
- var o;
242
+ return U(this, null, function* () {
243
+ var r;
245
244
  const i = this.fiveState;
246
245
  if (!this.fiveState)
247
246
  return this;
248
- const t = (o = e == null ? void 0 : e.targetMode) != null ? o : this.five.state.mode;
247
+ const t = (r = e == null ? void 0 : e.targetMode) != null ? r : this.five.state.mode;
249
248
  if (t === "Panorama") {
250
- const s = i == null ? void 0 : i.panoIndex;
251
- if (_(s))
249
+ const n = i == null ? void 0 : i.panoIndex;
250
+ if (R(n))
252
251
  return this;
253
- const r = this.workUtil.getObserverPosition(s), a = this.centerPosition.clone().sub(r).normalize();
254
- this.five.setState(b({
252
+ const l = this.workUtil.getObserverPosition(n), o = this.centerPosition.clone().sub(l).normalize();
253
+ this.five.setState(g({
255
254
  mode: "Panorama",
256
255
  workCode: this.workUtil.workCode,
257
- panoIndex: s
258
- }, re(a))), yield this.five.ready();
256
+ panoIndex: n
257
+ }, re(o))), yield this.five.ready();
259
258
  } else
260
- t === "Mapview" && (yield ae(this.five, this.centerPosition, e == null ? void 0 : e.pointConfig));
259
+ t === "Mapview" && (yield le(this.five, this.centerPosition, e == null ? void 0 : e.pointConfig));
261
260
  return this;
262
261
  });
263
262
  }
@@ -265,40 +264,40 @@ class Wi {
265
264
  * @description 闪烁
266
265
  */
267
266
  blink(e) {
268
- return T(this, null, function* () {
269
- var a, n, f, m, p, c;
270
- yield this.ready(), this._currentBlinkInstance && !this._currentBlinkInstance.completed && ((n = (a = this._currentBlinkInstance).preComplete) == null || n.call(a), this._currentBlinkInstance = void 0);
271
- const i = (f = this.enabled) != null ? f : !0, t = (m = this.state) == null ? void 0 : m.visible, o = i && t;
272
- o === !1 && (this.state.visible = !0, this.enabled = !0, this.applyVisible(), this.plugin.render(), this.computeRenderType() !== "Mesh" ? yield new Promise((u) => {
267
+ return U(this, null, function* () {
268
+ var o, s, d, p, v, m;
269
+ yield this.ready(), this._currentBlinkInstance && !this._currentBlinkInstance.completed && ((s = (o = this._currentBlinkInstance).preComplete) == null || s.call(o), this._currentBlinkInstance = void 0);
270
+ const i = (d = this.enabled) != null ? d : !0, t = (p = this.state) == null ? void 0 : p.visible, r = i && t;
271
+ r === !1 && (this.state.visible = !0, this.enabled = !0, this.applyVisible(), this.plugin.render(), this.computeRenderType() !== "Mesh" ? yield new Promise((c) => {
273
272
  if (this.dom || this.contentDom) {
274
- u();
273
+ c();
275
274
  return;
276
275
  }
277
276
  const h = setInterval(() => {
278
- (this.dom || this.contentDom) && (u(), clearInterval(h));
277
+ (this.dom || this.contentDom) && (c(), clearInterval(h));
279
278
  }, 16.7);
280
- }) : this.stickType === "Model" && !((p = this.model) != null && p.object) ? yield (c = this.model) == null ? void 0 : c.promise : this.stickType === "Plane" && (yield new Promise((u) => {
279
+ }) : this.stickType === "Model" && !((v = this.model) != null && v.object) ? yield (m = this.model) == null ? void 0 : m.promise : this.stickType === "Plane" && (yield new Promise((c) => {
281
280
  if (this.mediaPlane) {
282
- u();
281
+ c();
283
282
  return;
284
283
  }
285
284
  const h = setInterval(() => {
286
- this.mediaPlane && (u(), clearInterval(h));
285
+ this.mediaPlane && (c(), clearInterval(h));
287
286
  }, 16.7);
288
287
  })), this.dom && (this.dom.style.visibility = "hidden"), this.contentDom && (this.contentDom.style.visibility = "hidden"));
289
- const s = (() => {
290
- var h, d, v;
291
- const u = [];
292
- return u.push(this.dom), u.push((d = (h = this.tag3DContentSvelte) == null ? void 0 : h.css3DInstance) == null ? void 0 : d.container), u.push((v = this.model) == null ? void 0 : v.object), u.push(this.mediaPlane), u.filter(Boolean);
288
+ const n = (() => {
289
+ var h, f, b;
290
+ const c = [];
291
+ return c.push(this.dom), c.push((f = (h = this.tag3DContentSvelte) == null ? void 0 : h.css3DInstance) == null ? void 0 : f.container), c.push((b = this.model) == null ? void 0 : b.object), c.push(this.mediaPlane), c.filter(Boolean);
293
292
  })();
294
- if (!s.length) {
293
+ if (!n.length) {
295
294
  console.warn("tagDom is empty");
296
295
  return;
297
296
  }
298
- const r = o ? se : oe;
299
- this._currentBlinkInstance = r(s, b({
297
+ const l = r ? se : oe;
298
+ this._currentBlinkInstance = l(n, g({
300
299
  begin: () => {
301
- o === !1 && (this.dom && (this.dom.style.visibility = ""), this.contentDom && (this.contentDom.style.visibility = ""));
300
+ r === !1 && (this.dom && (this.dom.style.visibility = ""), this.contentDom && (this.contentDom.style.visibility = ""));
302
301
  },
303
302
  updateRender: () => {
304
303
  this.five.needsRender = !0;
@@ -306,12 +305,12 @@ class Wi {
306
305
  }, e));
307
306
  try {
308
307
  yield this._currentBlinkInstance.finished;
309
- } catch (u) {
310
- console.debug("Blink animation interrupted:", u);
308
+ } catch (c) {
309
+ console.debug("Blink animation interrupted:", c);
311
310
  } finally {
312
311
  this._currentBlinkInstance = void 0;
313
312
  }
314
- i === !1 && (this.enabled = !1, this.updateVisible()), t === !1 && this.updateVisible(), o === !1 && (this.dom && (this.dom.style.visibility = ""), this.contentDom && (this.contentDom.style.visibility = ""));
313
+ i === !1 && (this.enabled = !1, this.updateVisible()), t === !1 && this.updateVisible(), r === !1 && (this.dom && (this.dom.style.visibility = ""), this.contentDom && (this.contentDom.style.visibility = ""));
315
314
  });
316
315
  }
317
316
  /**
@@ -359,7 +358,7 @@ class Wi {
359
358
  * @param deepMerge 是否深度合并 data,默认为 true
360
359
  */
361
360
  setData(e, i = !0) {
362
- i ? this.data = P(this.data, e) : this.data = b(b({}, this.data), e), this.hooks.emit("dataChanged", this.data);
361
+ i ? this.data = y(this.data, e) : this.data = g(g({}, this.data), e), this.hooks.emit("dataChanged", this.data);
363
362
  }
364
363
  /**
365
364
  * @description 修改标签位置
@@ -372,7 +371,7 @@ class Wi {
372
371
  * @param deepMerge 是否深度合并 data,默认为 true
373
372
  */
374
373
  set(e, i = !0) {
375
- this.plugin.tagsLengthWillUpdate = !0, i ? P(this, e) : Object.assign(this, e), this.cache.clear();
374
+ this.plugin.tagsLengthWillUpdate = !0, i ? y(this, e) : Object.assign(this, e), this.cache.clear();
376
375
  }
377
376
  updateConfig() {
378
377
  var t;
@@ -380,8 +379,8 @@ class Wi {
380
379
  this.computedConfig = e;
381
380
  const i = this.getConfig();
382
381
  if (this.config = i, this.config.initialData) {
383
- const o = JSON.parse(JSON.stringify(this.data));
384
- this.data = (t = i.initialData) != null && t.important ? P(this.data, o, i.initialData) : P(this.data, i.initialData, o);
382
+ const r = JSON.parse(JSON.stringify(this.data));
383
+ this.data = (t = i.initialData) != null && t.important ? y(this.data, r, i.initialData) : y(this.data, i.initialData, r);
385
384
  }
386
385
  this.cache.clear();
387
386
  }
@@ -393,13 +392,13 @@ class Wi {
393
392
  this.zIndex = Math.round((1e4 - (e != null ? e : 0)) * 100);
394
393
  }
395
394
  getConfig(e, i) {
396
- var r, a, n;
397
- const t = S(e != null ? e : this, this.plugin.config, { useCache: i == null ? void 0 : i.useCache }), o = (r = i == null ? void 0 : i.fiveMode) != null ? r : this.five.getCurrentState().mode, s = (a = t.configWithFiveMode) == null ? void 0 : a[o];
398
- return (n = s != null ? s : t) != null ? n : {};
395
+ var l, o, s;
396
+ const t = T(e != null ? e : this, this.plugin.config, { useCache: i == null ? void 0 : i.useCache }), r = (l = i == null ? void 0 : i.fiveMode) != null ? l : this.five.getCurrentState().mode, n = (o = t.configWithFiveMode) == null ? void 0 : o[r];
397
+ return (s = n != null ? n : t) != null ? s : {};
399
398
  }
400
399
  getDistance(e, i = 3) {
401
- const t = b(b({}, this.five.getCurrentState()), e), { panoIndex: o, mode: s } = t, r = s === "Panorama" ? this.workUtil.getObserverPosition(o) : this.five.camera.position, a = this.centerPosition;
402
- return !r || !a ? -1 : r.distanceTo(a);
400
+ const t = g(g({}, this.five.getCurrentState()), e), { panoIndex: r, mode: n } = t, l = n === "Panorama" ? this.workUtil.getObserverPosition(r) : this.five.camera.position, o = this.centerPosition;
401
+ return !l || !o ? -1 : l.distanceTo(o);
403
402
  }
404
403
  /**
405
404
  * @description 用于排序的距离,性能更好
@@ -407,14 +406,14 @@ class Wi {
407
406
  getSquaredDistance() {
408
407
  const e = this.five.camera.position;
409
408
  let i;
410
- return Array.isArray(this.position[0]) ? i = this.position[0] : i = this.position, I(i[0] - e.x, 2) + I(i[1] - e.y, 2) + I(i[2] - e.z, 2);
409
+ return Array.isArray(this.position[0]) ? i = this.position[0] : i = this.position, k(i[0] - e.x, 2) + k(i[1] - e.y, 2) + k(i[2] - e.z, 2);
411
410
  }
412
411
  getVisible(e) {
413
412
  if (!this.enabled || !this.plugin.state.enabled || !this.fiveUtil.model)
414
413
  return !1;
415
- const i = b(b({}, this.five.getCurrentState()), e);
414
+ const i = g(g({}, this.five.getCurrentState()), e);
416
415
  let t = this.cache.getVisible(this, i);
417
- return _(t) && (t = this.computeVisible(i).value, this.cache.setVisible(this, i, t)), t;
416
+ return R(t) && (t = this.computeVisible(i).value, this.cache.setVisible(this, i, t)), t;
418
417
  }
419
418
  getUnfoldedByPanoIndex(e) {
420
419
  if (!this.currentVisible)
@@ -426,8 +425,8 @@ class Wi {
426
425
  return this.currentVisible ? this.computeUnfoldedByCamera() : void 0;
427
426
  }
428
427
  can(e) {
429
- var t, o;
430
- if ((e === "fold" || e === "unfold") && ((o = (t = this.currentConfig) == null ? void 0 : t.popoverConfig) == null ? void 0 : o.enabled) === !0)
428
+ var t, r;
429
+ if ((e === "fold" || e === "unfold") && ((r = (t = this.currentConfig) == null ? void 0 : t.popoverConfig) == null ? void 0 : r.enabled) === !0)
431
430
  return !1;
432
431
  const i = this.currentConfig;
433
432
  if (!i || typeof i != "object")
@@ -456,89 +455,89 @@ class Wi {
456
455
  if (!i || typeof i != "object" || !i.renderType)
457
456
  return;
458
457
  const t = this.data.mediaData;
459
- if ((!t || t.length === 0) && W(this))
458
+ if ((!t || t.length === 0) && N(this))
460
459
  return i.renderType;
461
460
  if (i.renderType === "Mesh") {
462
- if (W(this)) {
461
+ if (N(this)) {
463
462
  if (t.length === 1) {
464
463
  if (t[0].type === "Video")
465
464
  return navigator.userAgent.toLowerCase().indexOf("firefox") > -1 && navigator.userAgent.toLowerCase().indexOf("mobile") > -1 ? "Dom" : "Mesh";
466
465
  if (t[0].type === "Image")
467
466
  return J(t[0].url) === "gif" ? "Dom" : "Mesh";
468
467
  }
469
- } else if (B(this))
468
+ } else if (V(this))
470
469
  return t.length === 1 && t[0].type === "Image" ? J(t[0].url) === "gif" ? "Dom" : "Mesh" : "BehindDom";
471
470
  }
472
471
  })();
473
472
  return e != null ? e : "Dom";
474
473
  }
475
474
  computeVisible(e) {
476
- const i = b(b({}, this.five.getCurrentState()), e), { panoIndex: t, mode: o } = i, s = [];
475
+ const i = g(g({}, this.five.getCurrentState()), e), { panoIndex: t, mode: r } = i, n = [];
477
476
  return (() => {
478
- var f, p, c, u;
479
- const n = (f = this.getConfig().visibleConfig) != null ? f : {};
480
- if (typeof n == "function")
477
+ var d, v, m, c;
478
+ const s = (d = this.getConfig().visibleConfig) != null ? d : {};
479
+ if (typeof s == "function")
481
480
  return {
482
- value: n(this.five, { tag: this, distance: this.getDistance(i, void 0) }),
483
- checkedList: s,
481
+ value: s(this.five, { tag: this, distance: this.getDistance(i, void 0) }),
482
+ checkedList: n,
484
483
  reason: "config function result"
485
484
  };
486
485
  {
487
- if (n.keep === "hidden")
488
- return { value: !1, checkedList: s, reason: "config.keep is hidden" };
489
- if (n.keep === "visible")
490
- return { value: !0, checkedList: s, reason: "config.keep is visible" };
491
- const h = this.computeVisibleByFiveMode(n, o);
486
+ if (s.keep === "hidden")
487
+ return { value: !1, checkedList: n, reason: "config.keep is hidden" };
488
+ if (s.keep === "visible")
489
+ return { value: !0, checkedList: n, reason: "config.keep is visible" };
490
+ const h = this.computeVisibleByFiveMode(s, r);
492
491
  if ((h == null ? void 0 : h.value) === !1)
493
492
  return h;
494
- if (n.followModelVisibility === !0 && ["poincare", "aerophoto", "sand"].includes(this.workUtil.fromType) && (o === "Floorplan" || o === "Mapview")) {
495
- const m = this.computeVisibleByFloorIndex(), { value: d } = m, v = O(m, ["value"]);
496
- if (d === !1)
497
- return b({ value: !1, checkedList: s, reason: "followModelVisibility check failed" }, v);
493
+ if (s.followModelVisibility === !0 && ["poincare", "aerophoto", "sand"].includes(this.workUtil.fromType) && (r === "Floorplan" || r === "Mapview")) {
494
+ const p = this.computeVisibleByFloorIndex(), { value: f } = p, b = A(p, ["value"]);
495
+ if (f === !1)
496
+ return g({ value: !1, checkedList: n, reason: "followModelVisibility check failed" }, b);
498
497
  }
499
- if (V(o) && n.visiblePanoIndex !== void 0 && n.visiblePanoIndex !== "all" && t !== void 0) {
500
- if (s.push("visiblePanoIndex"), Array.isArray(n.visiblePanoIndex) && !n.visiblePanoIndex.includes(t))
498
+ if (S(r) && s.visiblePanoIndex !== void 0 && s.visiblePanoIndex !== "all" && t !== void 0) {
499
+ if (n.push("visiblePanoIndex"), Array.isArray(s.visiblePanoIndex) && !s.visiblePanoIndex.includes(t))
501
500
  return {
502
501
  value: !1,
503
- checkedList: s,
504
- reason: `current panoIndex is not included in visiblePano. currentPanoIndex: ${t}, visiblePanoIndex: ${n.visiblePanoIndex}`
502
+ checkedList: n,
503
+ reason: `current panoIndex is not included in visiblePano. currentPanoIndex: ${t}, visiblePanoIndex: ${s.visiblePanoIndex}`
505
504
  };
506
- if (n.visiblePanoIndex === "current" && t !== ((p = this.fiveState) == null ? void 0 : p.panoIndex))
505
+ if (s.visiblePanoIndex === "current" && t !== ((v = this.fiveState) == null ? void 0 : v.panoIndex))
507
506
  return {
508
507
  value: !1,
509
- checkedList: s,
510
- reason: `current panoIndex is not equal to tag.panoIndex. currentPanoIndex: ${t}, tag.panoIndex: ${(c = this.fiveState) == null ? void 0 : c.panoIndex}`
508
+ checkedList: n,
509
+ reason: `current panoIndex is not equal to tag.panoIndex. currentPanoIndex: ${t}, tag.panoIndex: ${(m = this.fiveState) == null ? void 0 : m.panoIndex}`
511
510
  };
512
511
  }
513
- if (n.visibleDistance !== void 0 && (s.push("visibleDistance"), n.visibleDistance !== "unLimited")) {
514
- const d = this.getDistance(i, 1);
515
- if (k(d, n.visibleDistance) === !1)
512
+ if (s.visibleDistance !== void 0 && (n.push("visibleDistance"), s.visibleDistance !== "unLimited")) {
513
+ const f = this.getDistance(i, 1);
514
+ if (I(f, s.visibleDistance) === !1)
516
515
  return {
517
516
  value: !1,
518
- checkedList: s,
517
+ checkedList: n,
519
518
  panoIndex: t,
520
- visibleDistance: n.visibleDistance,
521
- reason: `distance is not in visibleDistance. distance: ${d}, visibleDistance: ${n.visibleDistance.min} - ${n.visibleDistance.max}`
519
+ visibleDistance: s.visibleDistance,
520
+ reason: `distance is not in visibleDistance. distance: ${f}, visibleDistance: ${s.visibleDistance.min} - ${s.visibleDistance.max}`
522
521
  };
523
522
  }
524
- if (n.intersectRaycaster !== !1 && (typeof n.intersectRaycaster != "object" || n.intersectRaycaster.enabled !== !1)) {
525
- if (s.push("intersectRaycaster"), t === void 0)
523
+ if (s.intersectRaycaster !== !1 && (typeof s.intersectRaycaster != "object" || s.intersectRaycaster.enabled !== !1)) {
524
+ if (n.push("intersectRaycaster"), t === void 0)
526
525
  return {
527
526
  value: !1,
528
- checkedList: s,
527
+ checkedList: n,
529
528
  reason: `intersectRaycaster check failed: panoIndex is ${t}`
530
529
  };
531
- if (t === ((u = this.fiveState) == null ? void 0 : u.panoIndex))
532
- s.push("intersectCheckSkiped");
530
+ if (t === ((c = this.fiveState) == null ? void 0 : c.panoIndex))
531
+ n.push("intersectCheckSkiped");
533
532
  else {
534
- const d = this.computeVisibleByIntersect(t);
535
- if (d.value === !1)
536
- return Object.assign(d, { checkedList: s });
533
+ const f = this.computeVisibleByIntersect(t);
534
+ if (f.value === !1)
535
+ return Object.assign(f, { checkedList: n });
537
536
  }
538
537
  }
539
538
  return {
540
539
  value: !0,
541
- checkedList: s,
540
+ checkedList: n,
542
541
  reason: "all check passed"
543
542
  };
544
543
  }
@@ -549,28 +548,28 @@ class Wi {
549
548
  */
550
549
  computeVisibleByFiveMode(e, i) {
551
550
  const t = () => {
552
- var r, a;
553
- let s = typeof e.visibleFiveMode == "function" ? e.visibleFiveMode(this) : e.visibleFiveMode;
554
- if (s || (s = (a = (r = this.fiveState) == null ? void 0 : r.mode) != null ? a : this.workUtil.observers.length ? "Panorama" : "ModelLike"), Array.isArray(s))
555
- return s.includes(i);
556
- if (s === "ModelLike")
557
- return M(i);
558
- if (s === "PanoramaLike")
559
- return !V(i);
560
- if (s === "all")
551
+ var l, o;
552
+ let n = typeof e.visibleFiveMode == "function" ? e.visibleFiveMode(this) : e.visibleFiveMode;
553
+ if (n || (n = (o = (l = this.fiveState) == null ? void 0 : l.mode) != null ? o : this.workUtil.observers.length ? "Panorama" : "ModelLike"), Array.isArray(n))
554
+ return n.includes(i);
555
+ if (n === "ModelLike")
556
+ return P(i);
557
+ if (n === "PanoramaLike")
558
+ return !S(i);
559
+ if (n === "all")
561
560
  return !0;
562
- if (typeof s == "string")
563
- return s === i;
561
+ if (typeof n == "string")
562
+ return n === i;
564
563
  };
565
564
  if ((() => {
566
- var r;
567
- const s = t();
568
- if (L((r = this.fiveState) == null ? void 0 : r.panoIndex) && e.entryFromModel) {
569
- if (M(i) && s ? this.entryFromModel = !1 : this.entryFromModel = !0, M(i))
565
+ var l;
566
+ const n = t();
567
+ if (_((l = this.fiveState) == null ? void 0 : l.panoIndex) && e.entryFromModel) {
568
+ if (P(i) && n ? this.entryFromModel = !1 : this.entryFromModel = !0, P(i))
570
569
  return !0;
571
570
  } else
572
571
  this.entryFromModel = !1;
573
- return s;
572
+ return n;
574
573
  })() === !1)
575
574
  return {
576
575
  value: !1,
@@ -581,55 +580,55 @@ class Wi {
581
580
  }
582
581
  /** 通过射线检测标签可用性 */
583
582
  computeVisibleByIntersect(e) {
584
- var n, f, m, p;
585
- const i = H(H((n = this.getConfig().visibleConfig) != null ? n : {}).intersectRaycaster), t = e != null ? e : this.five.getCurrentState().panoIndex, o = V(this.five.getCurrentState().mode) ? this.workUtil.getObserverPosition(t) : this.five.camera.position;
586
- if (o === void 0)
583
+ var s, d, p, v;
584
+ const i = H(H((s = this.getConfig().visibleConfig) != null ? s : {}).intersectRaycaster), t = e != null ? e : this.five.getCurrentState().panoIndex, r = S(this.five.getCurrentState().mode) ? this.workUtil.getObserverPosition(t) : this.five.camera.position;
585
+ if (r === void 0)
587
586
  return { value: !1, reason: { type: "startPosition is undefined", fivePanoIndex: t } };
588
- const s = ne(
587
+ const n = ne(
589
588
  (() => {
590
- var u;
591
- const c = (u = i.checkPoints) != null ? u : "center";
592
- return c === "center" ? z(this) : c === "corner" ? N(this) : Array.isArray(c) ? c : [];
589
+ var c;
590
+ const m = (c = i.checkPoints) != null ? c : "center";
591
+ return m === "center" ? z(this) : m === "corner" ? $(this) : Array.isArray(m) ? m : [];
593
592
  })()
594
593
  );
595
- let r = 0, a = 0;
596
- for (const c of s) {
597
- const u = new y.Vector3().subVectors(c, o).normalize();
594
+ let l = 0, o = 0;
595
+ for (const m of n) {
596
+ const c = new E.Vector3().subVectors(m, r).normalize();
598
597
  let h;
599
- D.set(o, u);
600
- const [d] = this.fiveUtil.model.intersectRaycaster(D);
601
- h = d == null ? void 0 : d.distance;
602
- const v = (() => {
603
- if (!B(this))
598
+ B.set(r, c);
599
+ const [f] = this.fiveUtil.model.intersectRaycaster(B);
600
+ h = f == null ? void 0 : f.distance;
601
+ const b = (() => {
602
+ if (!V(this))
604
603
  return;
605
- const X = this.plugin.tags.filter(B).map((G) => {
606
- var j;
607
- return (j = G.model) == null ? void 0 : j.object;
608
- }).filter(L), [Z] = D.intersectObjects(X, !0);
604
+ const X = this.plugin.tags.filter(V).map((G) => {
605
+ var F;
606
+ return (F = G.model) == null ? void 0 : F.object;
607
+ }).filter(_), [Z] = B.intersectObjects(X, !0);
609
608
  return Z;
610
- })(), C = o.distanceTo(c), F = (f = i.distanceAccuracy) != null ? f : 0.01;
611
- h = Math.min(h != null ? h : 1 / 0, (m = v == null ? void 0 : v.distance) != null ? m : 1 / 0), h + F >= C ? r++ : a++;
612
- const q = (p = i.needPassed) != null ? p : 1;
613
- if (r >= q)
609
+ })(), x = r.distanceTo(m), W = (d = i.distanceAccuracy) != null ? d : 0.01;
610
+ h = Math.min(h != null ? h : 1 / 0, (p = b == null ? void 0 : b.distance) != null ? p : 1 / 0), h + W >= x ? l++ : o++;
611
+ const q = (v = i.needPassed) != null ? v : 1;
612
+ if (l >= q)
614
613
  return { value: !0 };
615
614
  }
616
- return a === 0 ? { value: !0 } : {
615
+ return o === 0 ? { value: !0 } : {
617
616
  value: !1,
618
617
  reason: {
619
618
  type: "intersectRaycaster check failed",
620
- passedCount: r,
619
+ passedCount: l,
621
620
  needPassed: i.needPassed,
622
621
  model: this.fiveUtil.model.name
623
622
  }
624
623
  };
625
624
  }
626
625
  computeVisibleByFloorIndex() {
627
- var o, s, r, a, n, f, m;
626
+ var r, n, l, o, s, d, p;
628
627
  let e = 0;
629
- const i = (o = this.fiveState) == null ? void 0 : o.panoIndex;
630
- i !== void 0 ? e = (s = this.workUtil.getObserver(i)) == null ? void 0 : s.floorIndex : e = fe(
628
+ const i = (r = this.fiveState) == null ? void 0 : r.panoIndex;
629
+ i !== void 0 ? e = (n = this.workUtil.getObserver(i)) == null ? void 0 : n.floorIndex : e = fe(
631
630
  this.workUtil.work,
632
- (m = (f = (a = (r = this.model) == null ? void 0 : r.object) == null ? void 0 : a.position) != null ? f : (n = this.mediaPlane) == null ? void 0 : n.position) != null ? m : z(this)
631
+ (p = (d = (o = (l = this.model) == null ? void 0 : l.object) == null ? void 0 : o.position) != null ? d : (s = this.mediaPlane) == null ? void 0 : s.position) != null ? p : z(this)
633
632
  );
634
633
  const t = this.fiveUtil.model.shownFloor;
635
634
  return {
@@ -650,14 +649,13 @@ class Wi {
650
649
  return !1;
651
650
  if (i.keep === "unfolded")
652
651
  return !0;
653
- if (i.unfoldDistance && k(this.getDistance({ panoIndex: e }), i.unfoldDistance) === !1)
652
+ if (i.unfoldDistance && I(this.getDistance({ panoIndex: e }), i.unfoldDistance) === !1)
654
653
  return !1;
655
654
  }
656
655
  }
657
- // 该方法有很大优化空间,这个检测显示方法不应该挂在tagBase下,做了多次不必要计算(MinimumDistance,ScreenCenter)。
658
656
  computeUnfoldedByCamera() {
659
- var i, t;
660
- if (this.entryFromModel && M(this.five.state.mode))
657
+ var i;
658
+ if (this.entryFromModel && P(this.five.state.mode))
661
659
  return !1;
662
660
  const e = this.getConfig().unfoldedConfig;
663
661
  if (e) {
@@ -667,81 +665,53 @@ class Wi {
667
665
  return !1;
668
666
  if (e.keep === "unfolded")
669
667
  return !0;
670
- if (typeof e != "object" || e.autoUnfold === void 0 || e.autoUnfold === !1 || e.autoUnfold.enable === !1 || !e.autoUnfold.strategy)
668
+ if (e.autoUnfold === void 0 || e.autoUnfold === !1 || e.autoUnfold.enable === !1 || !e.autoUnfold.strategy)
671
669
  return;
672
670
  if (e.autoUnfold.strategy === "ScreenPostion") {
673
- const o = this.computeTagProject();
674
- if (o && k(o.x, e.autoUnfold.autoUnfoldProjectX) === !1)
671
+ const t = this.computeTagProject();
672
+ if (t && I(t.x, e.autoUnfold.autoUnfoldProjectX) === !1)
675
673
  return !1;
676
674
  }
677
675
  if (e.autoUnfold.strategy === "MinimumDistance") {
678
- const r = this.plugin.filterPointTag.filter((n) => n.currentVisible).filter((n) => {
679
- const f = this.computeTagProject();
680
- if (!f)
681
- return !1;
682
- const { x: m, y: p, z: c } = f;
683
- return !(Math.abs(c) > 1 || Math.abs(m) > 1 || Math.abs(p) > 1);
684
- }).map((n) => ({ tag: n, id: n.id, tagConfig: n.getConfig().unfoldedConfig })).filter(({ tagConfig: n }) => {
685
- var f, m;
686
- return !(typeof n == "function" || n.keep || n.autoUnfold === !1 || ((f = n.autoUnfold) == null ? void 0 : f.enable) === !1 || ((m = n.autoUnfold) == null ? void 0 : m.strategy) !== "MinimumDistance");
687
- }).map((n) => U(b({}, n), { distance: n.tag.getDistance() })).filter(({ distance: n, tagConfig: f }) => {
688
- const m = f.autoUnfold.distance;
689
- return !(m && k(n, m) === !1);
690
- }).sort((n, f) => n.distance - f.distance).findIndex((n) => n.id === this.id);
691
- if (r === -1 || r <= ((i = e.autoUnfold.maxNumber) != null ? i : 1) - 1 === !1)
692
- return !1;
693
- }
694
- if (e.autoUnfold.strategy === "FoldWhenMove")
695
- return !1;
696
- if (e.autoUnfold.strategy === "ScreenCenter") {
697
- const o = this.plugin.filterPointTag, s = new y.Matrix4();
698
- s.multiplyMatrices(this.five.camera.projectionMatrix, this.five.camera.matrixWorldInverse);
699
- const r = new y.Frustum();
700
- r.setFromProjectionMatrix(s);
701
- const a = this.five.camera.getWorldDirection(new y.Vector3()), f = o.filter((p) => {
702
- var d, v;
703
- if (!p.currentVisible)
704
- return !1;
705
- const c = p.getConfig().unfoldedConfig;
706
- if (p.manuallyOperated || typeof c != "object" || (c == null ? void 0 : c.autoUnfold) === !1 || ((d = c == null ? void 0 : c.autoUnfold) == null ? void 0 : d.strategy) !== "ScreenCenter" || c.keep || ((v = c.autoUnfold) == null ? void 0 : v.enable) === !1 || !r.containsPoint(new y.Vector3().fromArray(p.position)))
676
+ const n = this.plugin.filterPointTag.filter((o) => o.currentVisible).filter((o) => {
677
+ const s = this.computeTagProject();
678
+ if (!s)
707
679
  return !1;
708
- const h = c.autoUnfold.distance;
709
- if (h) {
710
- const C = p.getDistance();
711
- if (k(C, h) === !1)
712
- return !1;
713
- }
714
- return !0;
715
- }).sort((p, c) => {
716
- const u = new y.Vector3().fromArray(p.position), h = new y.Vector3().fromArray(c.position);
717
- return a.angleTo(u.sub(this.five.camera.position)) - a.angleTo(h.sub(this.five.camera.position));
718
- }).findIndex((p) => p.id === this.id);
719
- if (f === -1 || f <= ((t = e.autoUnfold.maxNumber) != null ? t : 1) - 1 === !1)
680
+ const { x: d, y: p, z: v } = s;
681
+ return !(Math.abs(v) > 1 || Math.abs(d) > 1 || Math.abs(p) > 1);
682
+ }).map((o) => ({ tag: o, id: o.id, tagConfig: o.getConfig().unfoldedConfig })).filter(({ tagConfig: o }) => {
683
+ var s, d;
684
+ return !(typeof o == "function" || o.keep || o.autoUnfold === !1 || ((s = o.autoUnfold) == null ? void 0 : s.enable) === !1 || ((d = o.autoUnfold) == null ? void 0 : d.strategy) !== "MinimumDistance");
685
+ }).map((o) => w(g({}, o), { distance: o.tag.getDistance() })).filter(({ distance: o, tagConfig: s }) => {
686
+ const d = s.autoUnfold.distance;
687
+ return !(d && I(o, d) === !1);
688
+ }).sort((o, s) => o.distance - s.distance).findIndex((o) => o.id === this.id);
689
+ if (n === -1 || n <= ((i = e.autoUnfold.maxNumber) != null ? i : 1) - 1 === !1)
720
690
  return !1;
721
691
  }
722
- return !0;
692
+ return e.autoUnfold.strategy !== "FoldWhenMove";
723
693
  }
724
694
  }
725
695
  computeTagProject() {
726
696
  const e = this.centerPosition;
727
697
  if (!e)
728
698
  return;
729
- const { x: i, y: t, z: o } = e.project(this.five.camera);
730
- if (!(o > 1))
731
- return { x: i, y: t, z: o };
699
+ const { x: i, y: t, z: r } = e.project(this.five.camera);
700
+ if (!(r > 1))
701
+ return { x: i, y: t, z: r };
732
702
  }
733
703
  addObjectClickHandler(e, i, t) {
734
704
  if (!i || !this.plugin.domEvents)
735
705
  return () => {
736
706
  };
737
- const o = () => !(!e.currentVisible || e.loading), s = (r) => {
738
- if (!o())
707
+ const r = () => !(!e.currentVisible || e.loading), n = (l) => {
708
+ if (!r())
739
709
  return !1;
740
- t(r.origDomEvent);
710
+ t(l.origDomEvent);
741
711
  };
742
- return this.plugin.domEvents.addEventListener(i, "click", s), () => {
743
- var r;
744
- (r = this.plugin.domEvents) == null || r.removeEventListener(i, "click", s);
712
+ return this.plugin.domEvents.addEventListener(i, "click", n), () => {
713
+ var l;
714
+ (l = this.plugin.domEvents) == null || l.removeEventListener(i, "click", n);
745
715
  };
746
716
  }
747
717
  whyHide() {
@@ -752,7 +722,7 @@ class Wi {
752
722
  return { reason: `plugin.state.visible is ${this.plugin.state.visible}` };
753
723
  if (!this.enabled)
754
724
  return { reason: `tag ${this.id} enabled is: ${this.enabled}` };
755
- const e = U(b({}, this.computeVisible()), {
725
+ const e = w(g({}, this.computeVisible()), {
756
726
  tagInstance: this
757
727
  });
758
728
  return e.value !== this.state.visible ? { reason: "插件故障,请联系维护人员, err: 0", info: e } : this.state.visible ? { reason: "应该是能看见才对", info: e } : e.value === !0 ? { reason: "插件故障,请联系维护人员, err: 1", info: e } : { reason: (i = e.reason.type) != null ? i : e.reason, info: e };
@@ -761,13 +731,13 @@ class Wi {
761
731
  * @description 销毁并移除
762
732
  */
763
733
  destroy() {
764
- var i, t, o, s;
765
- const e = this.plugin.tags.findIndex((r) => r.id === this.id);
734
+ var i, t, r, n;
735
+ const e = this.plugin.tags.findIndex((l) => l.id === this.id);
766
736
  if (e === -1) {
767
737
  console.warn(`Destroy failed: tag ${this.id} not found`);
768
738
  return;
769
739
  }
770
- this._currentBlinkInstance && !this._currentBlinkInstance.completed && ((t = (i = this._currentBlinkInstance).preComplete) == null || t.call(i), this._currentBlinkInstance = void 0), this.disable(), (s = (o = this.tag3DContentSvelte) == null ? void 0 : o.dispose) == null || s.call(o), this.hooks.off(), this.cache.clear(), this.plugin.tags.splice(e, 1), this.plugin.tagsLengthWillUpdate = !0, this.plugin.hooks.emit("tagsLengthChange");
740
+ this._currentBlinkInstance && !this._currentBlinkInstance.completed && ((t = (i = this._currentBlinkInstance).preComplete) == null || t.call(i), this._currentBlinkInstance = void 0), this.disable(), (n = (r = this.tag3DContentSvelte) == null ? void 0 : r.dispose) == null || n.call(r), this.hooks.off(), this.cache.clear(), this.plugin.tags.splice(e, 1), this.plugin.tagsLengthWillUpdate = !0, this.plugin.hooks.emit("tagsLengthChange");
771
741
  }
772
742
  /**
773
743
  * @description 判断 popover 是否在配置上启用(永久配置)
@@ -785,5 +755,5 @@ class Wi {
785
755
  }
786
756
  }
787
757
  export {
788
- Wi as BaseTag
758
+ Ji as BaseTag
789
759
  };