@realsee/dnalogel 3.31.1 → 3.32.0-dev.0

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 (540) hide show
  1. package/dist/PanoSpatialTagPlugin/store.d.ts +1 -0
  2. package/dist/PanoTagPlugin/controller/TagCache.d.ts +1 -1
  3. package/dist/PanoTagPlugin/controller/TagUtil.d.ts +4 -1
  4. package/dist/PanoTagPlugin/controller/index.d.ts +1 -0
  5. package/dist/PanoTagPlugin/typings/controller.d.ts +1 -0
  6. package/dist/index.cjs.js +66 -66
  7. package/dist/index.js +5849 -5666
  8. package/dist/index.umd.js +59 -59
  9. package/docs/assets/search.js +1 -1
  10. package/docs/classes/AreaMakerPluginType.AreaMakerController.html +34 -44
  11. package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +34 -44
  12. package/docs/classes/CSS3DRender.html +33 -43
  13. package/docs/classes/GuideLineItem.GuideLineItem.html +21 -31
  14. package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +45 -55
  15. package/docs/classes/{ModelMakerPluginInstance.html → Magnifier.html} +113 -200
  16. package/docs/classes/ModelRoomLabelController.html +13 -23
  17. package/docs/classes/MoveController.html +33 -43
  18. package/docs/classes/Object3DHelperController.html +47 -39
  19. package/docs/classes/PaintBrush.html +17 -27
  20. package/docs/classes/PanoMeasurePluginLine.html +36 -56
  21. package/docs/classes/PanoMeasurePluginModel.html +32 -42
  22. package/docs/classes/PanoMeasurePluginPoint.html +13 -23
  23. package/docs/classes/PanoMeasurePluginPolyline.html +34 -54
  24. package/docs/classes/PanoTagPluginController.html +110 -198
  25. package/docs/classes/Util.BetterTween.html +13 -27
  26. package/docs/classes/Util.Interval.html +15 -29
  27. package/docs/classes/Util.LineSegments.html +11 -25
  28. package/docs/classes/Util.Magnifier.html +60 -93
  29. package/docs/classes/Util.Object3D.html +12 -26
  30. package/docs/classes/Util.PointDomHelper.html +14 -28
  31. package/docs/classes/Util.PointHelper.html +14 -28
  32. package/docs/classes/Util.PointSelectorHelper.html +20 -34
  33. package/docs/classes/Util.Rectangle.html +16 -30
  34. package/docs/classes/WalkController.html +29 -39
  35. package/docs/enums/CameraMovementEffect.html +9 -19
  36. package/docs/enums/ContentType.html +23 -33
  37. package/docs/enums/DIRECTION.html +11 -21
  38. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +11 -21
  39. package/docs/enums/DimensionType.html +9 -19
  40. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +10 -20
  41. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +11 -21
  42. package/docs/enums/PaintBrushTypeEnum.html +10 -20
  43. package/docs/enums/PointType.html +9 -19
  44. package/docs/enums/Rotation.html +10 -20
  45. package/docs/functions/AreaMakerPlugin.html +7 -17
  46. package/docs/functions/CSS3DRenderPlugin.html +7 -17
  47. package/docs/functions/CameraMovementPlugin.html +7 -17
  48. package/docs/functions/CruisePlugin.html +7 -17
  49. package/docs/functions/CurrentPanoImagePlugin.html +7 -17
  50. package/docs/functions/GuideLinePlugin.html +7 -17
  51. package/docs/functions/ItemLabelPlugin.html +7 -17
  52. package/docs/functions/MapviewFloorplanPlugin.html +7 -17
  53. package/docs/functions/ModelChassisCompassPlugin.html +7 -17
  54. package/docs/functions/ModelEntryDoorGuidePlugin.html +7 -17
  55. package/docs/functions/ModelFloorplanPlugin.html +7 -17
  56. package/docs/functions/ModelItemLabelPlugin.html +7 -17
  57. package/docs/functions/ModelRoomLabelPlugin.html +7 -17
  58. package/docs/functions/ModelTVVideoPlugin.html +7 -17
  59. package/docs/functions/ModelViewPlugin.html +7 -17
  60. package/docs/functions/MovePlugin.html +8 -18
  61. package/docs/functions/Object3DHelperPlugin.html +7 -17
  62. package/docs/functions/PanoCompassPlugin.html +7 -17
  63. package/docs/functions/PanoCursorRaycasterPlugin.html +7 -17
  64. package/docs/functions/PanoDoorLabelPlugin.html +7 -17
  65. package/docs/functions/PanoFloorplanRadarPlugin.html +7 -17
  66. package/docs/functions/PanoMeasurePlugin.html +7 -17
  67. package/docs/functions/PanoRulerPlugin.html +7 -17
  68. package/docs/functions/PanoRulerProPlugin.html +7 -17
  69. package/docs/functions/PanoSpatialTagPlugin.html +7 -17
  70. package/docs/functions/PanoTagPlugin.html +7 -17
  71. package/docs/functions/PanoVideoPlugin.html +7 -17
  72. package/docs/functions/PipelinePlugin.html +7 -17
  73. package/docs/functions/TopviewFloorplanPlugin.html +7 -17
  74. package/docs/functions/Util.absoluteUrl.html +8 -22
  75. package/docs/functions/Util.checkFiveModelLoaded.html +8 -22
  76. package/docs/functions/Util.equal.html +8 -22
  77. package/docs/functions/Util.getCoordsFromClient.html +8 -22
  78. package/docs/functions/Util.getCoordsFromElement.html +8 -22
  79. package/docs/functions/Util.getFrameTime.html +8 -22
  80. package/docs/functions/Util.getIntersectFromRelativePosition.html +10 -29
  81. package/docs/functions/Util.getRaycasterFromFivePointer.html +8 -22
  82. package/docs/functions/Util.isAbsoluteURL.html +8 -22
  83. package/docs/functions/Util.isModelLike.html +8 -22
  84. package/docs/functions/Util.isNil.html +8 -22
  85. package/docs/functions/Util.isPanoramaLike.html +8 -22
  86. package/docs/functions/Util.nextFrame.html +8 -22
  87. package/docs/functions/Util.notNil.html +8 -22
  88. package/docs/functions/Util.requestAnimationFrameInterval.html +8 -22
  89. package/docs/functions/Util.tweenProgress.html +8 -22
  90. package/docs/functions/Util.uuid.html +8 -22
  91. package/docs/functions/pluginFlag.html +7 -17
  92. package/docs/index.html +7 -18
  93. package/docs/interfaces/AddTagConfig.html +8 -18
  94. package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +7 -17
  95. package/docs/interfaces/AreaMakerPluginType.Config.html +7 -17
  96. package/docs/interfaces/AreaMakerPluginType.EventMap.html +20 -30
  97. package/docs/interfaces/AreaMakerPluginType.Params.html +8 -18
  98. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +10 -20
  99. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +9 -19
  100. package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +7 -17
  101. package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +7 -17
  102. package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +7 -17
  103. package/docs/interfaces/AreaMakerPluginType.State.html +9 -19
  104. package/docs/interfaces/CSS3DRenderPluginEventMap.html +13 -23
  105. package/docs/interfaces/CSS3DRenderPluginState.html +10 -20
  106. package/docs/interfaces/CameraMovementPluginExportType.html +9 -19
  107. package/docs/interfaces/CruisePluginTypes.Config.html +10 -21
  108. package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +13 -24
  109. package/docs/interfaces/CruisePluginTypes.EventMap.html +22 -33
  110. package/docs/interfaces/CruisePluginTypes.MoveAction.html +23 -39
  111. package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +18 -30
  112. package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +18 -30
  113. package/docs/interfaces/CruisePluginTypes.PluginData.html +30 -41
  114. package/docs/interfaces/CruisePluginTypes.PluginServerData.html +7 -18
  115. package/docs/interfaces/CruisePluginTypes.PluginState.html +14 -25
  116. package/docs/interfaces/CurrentPanoImagePluginType.Config.html +13 -23
  117. package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +14 -24
  118. package/docs/interfaces/CurrentPanoImagePluginType.Params.html +9 -19
  119. package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +8 -18
  120. package/docs/interfaces/CurrentPanoImagePluginType.State.html +10 -20
  121. package/docs/interfaces/EventMap.html +17 -27
  122. package/docs/interfaces/FloorplanBounding.html +10 -20
  123. package/docs/interfaces/FloorplanData.html +12 -22
  124. package/docs/interfaces/FloorplanEntrance.html +13 -23
  125. package/docs/interfaces/FloorplanExtraObject.html +12 -22
  126. package/docs/interfaces/FloorplanExtraObject3D.html +10 -20
  127. package/docs/interfaces/FloorplanFloorData.html +11 -21
  128. package/docs/interfaces/FloorplanImagePosition.html +9 -19
  129. package/docs/interfaces/FloorplanObserver.html +11 -21
  130. package/docs/interfaces/FloorplanOutlineItem.html +11 -21
  131. package/docs/interfaces/FloorplanPosition.html +9 -19
  132. package/docs/interfaces/FloorplanRoomItem.html +16 -26
  133. package/docs/interfaces/FloorplanRoomLabelItem.html +9 -19
  134. package/docs/interfaces/FloorplanServerBounding.html +10 -20
  135. package/docs/interfaces/FloorplanServerComputedData.html +12 -22
  136. package/docs/interfaces/FloorplanServerData.html +9 -19
  137. package/docs/interfaces/FloorplanServerDoorItem.html +12 -22
  138. package/docs/interfaces/FloorplanServerDoorPosition.html +10 -20
  139. package/docs/interfaces/FloorplanServerEntrance.html +13 -23
  140. package/docs/interfaces/FloorplanServerFloorData.html +11 -21
  141. package/docs/interfaces/FloorplanServerImagePosition.html +9 -19
  142. package/docs/interfaces/FloorplanServerObserver.html +11 -21
  143. package/docs/interfaces/FloorplanServerOutlineItem.html +11 -21
  144. package/docs/interfaces/FloorplanServerPosition.html +9 -19
  145. package/docs/interfaces/FloorplanServerRoomItem.html +17 -27
  146. package/docs/interfaces/FloorplanServerRoomLabelItem.html +9 -19
  147. package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +10 -20
  148. package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +11 -21
  149. package/docs/interfaces/GuideLinePluginType.EventMap.html +14 -24
  150. package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +9 -19
  151. package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +7 -17
  152. package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +16 -26
  153. package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +7 -17
  154. package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +9 -19
  155. package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +22 -32
  156. package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +8 -18
  157. package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +23 -33
  158. package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +6 -16
  159. package/docs/interfaces/GuideLinePluginType.PluginServerData.html +7 -17
  160. package/docs/interfaces/GuideLinePluginType.PluginState.html +9 -19
  161. package/docs/interfaces/GuideLinePluginType.Route.html +12 -22
  162. package/docs/interfaces/GuideLinePluginType.RouteConfig.html +10 -20
  163. package/docs/interfaces/HelperOffset.html +10 -20
  164. package/docs/interfaces/ImagePlaneGroup.html +8 -18
  165. package/docs/interfaces/ItemLabelPluginData.html +8 -18
  166. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +13 -23
  167. package/docs/interfaces/ItemLabelPluginParametersType.html +11 -21
  168. package/docs/interfaces/MinMax.html +9 -19
  169. package/docs/interfaces/ModelChassisCompassPluginData.html +9 -19
  170. package/docs/interfaces/ModelChassisCompassPluginExportType.html +10 -20
  171. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +9 -19
  172. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +10 -20
  173. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +10 -20
  174. package/docs/interfaces/ModelItemLabelPluginData.html +8 -18
  175. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +13 -23
  176. package/docs/interfaces/ModelItemLabelPluginParametersType.html +9 -19
  177. package/docs/interfaces/ModelRoomLabelPluginData.html +8 -18
  178. package/docs/interfaces/ModelTVVideoPluginData.html +11 -21
  179. package/docs/interfaces/ModelTVVideoPluginExportType.html +10 -20
  180. package/docs/interfaces/ModelTVVideoPluginParameterType.html +8 -18
  181. package/docs/interfaces/ModelViewPluginExportType.html +13 -23
  182. package/docs/interfaces/Object3DHelperState.html +10 -20
  183. package/docs/interfaces/ObjectHelperControllers.html +12 -22
  184. package/docs/interfaces/PaintBrushAction.html +14 -24
  185. package/docs/interfaces/PaintBrushConfigs.html +14 -24
  186. package/docs/interfaces/PaintBrushState.html +12 -22
  187. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +12 -22
  188. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +7 -17
  189. package/docs/interfaces/PanoMeasureParameterType.html +18 -28
  190. package/docs/interfaces/PanoMeasurePluginLineJson.html +10 -20
  191. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +9 -19
  192. package/docs/interfaces/PanoMeasurePluginPointJson.html +9 -19
  193. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +10 -20
  194. package/docs/interfaces/PanoRulerPluginExportType.html +12 -22
  195. package/docs/interfaces/PanoRulerPluginOptions.html +9 -19
  196. package/docs/interfaces/PanoRulerPluginParameterType.html +10 -20
  197. package/docs/interfaces/PanoRulerProPluginExportType.html +11 -21
  198. package/docs/interfaces/PanoRulerProPluginOptions.html +9 -19
  199. package/docs/interfaces/PanoRulerProPluginParameterType.html +9 -19
  200. package/docs/interfaces/PanoRulerProPluginState.html +10 -20
  201. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +7 -17
  202. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +7 -17
  203. package/docs/interfaces/PanoSpatialTagPluginData.html +13 -23
  204. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +12 -22
  205. package/docs/interfaces/PanoSpatialTagPluginExportType.html +15 -25
  206. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +12 -22
  207. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +15 -25
  208. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +13 -23
  209. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +12 -22
  210. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +8 -18
  211. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +10 -20
  212. package/docs/interfaces/PanoVideoPluginType.PluginData.html +8 -18
  213. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +11 -21
  214. package/docs/interfaces/PanoVideoPluginType.PluginState.html +8 -18
  215. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +10 -20
  216. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +12 -22
  217. package/docs/interfaces/Point.html +10 -20
  218. package/docs/interfaces/Room.html +11 -21
  219. package/docs/interfaces/RoomInfo.html +9 -19
  220. package/docs/interfaces/RoomLabel.html +16 -26
  221. package/docs/interfaces/RoomRules.html +7 -17
  222. package/docs/interfaces/Rooms.html +7 -17
  223. package/docs/interfaces/Scissor.html +11 -21
  224. package/docs/interfaces/State.html +10 -20
  225. package/docs/interfaces/TagCacheInterface.html +14 -24
  226. package/docs/interfaces/TagConfig.html +49 -65
  227. package/docs/interfaces/TagGLTFObjectGroup.html +8 -18
  228. package/docs/interfaces/TagIconUrl.html +14 -24
  229. package/docs/interfaces/TagObjectGroup.html +8 -18
  230. package/docs/interfaces/TagStyle.html +8 -18
  231. package/docs/interfaces/Tags.html +437 -61
  232. package/docs/interfaces/TemporaryState.html +8 -18
  233. package/docs/interfaces/Util.MagnifierParameter.html +24 -43
  234. package/docs/interfaces/Util.MouseGroupParameter.html +11 -25
  235. package/docs/interfaces/Util.PointIntersection.html +12 -33
  236. package/docs/modules/AreaMakerPluginType.html +6 -16
  237. package/docs/modules/CruisePluginTypes.html +6 -18
  238. package/docs/modules/CurrentPanoImagePluginType.html +7 -17
  239. package/docs/modules/GuideLineItem.html +7 -17
  240. package/docs/modules/GuideLineModeItem.html +7 -17
  241. package/docs/modules/GuideLinePluginType.html +6 -16
  242. package/docs/modules/PanoVideoPluginType.html +7 -17
  243. package/docs/modules/Util.html +8 -26
  244. package/docs/modules.html +11 -34
  245. package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +6 -16
  246. package/docs/types/AreaMakerPluginType.ItemRenderer.html +6 -16
  247. package/docs/types/AreaMakerPluginType.PluginData.html +6 -16
  248. package/docs/types/AreaMakerPluginType.ServerData.html +6 -16
  249. package/docs/types/ArrayPosition.html +7 -17
  250. package/docs/types/AudioAppearance.html +7 -17
  251. package/docs/types/{PositionFrom.html → AudioTagTypeConfigKey.html} +10 -28
  252. package/docs/types/CSS3DRenderExportType.html +7 -17
  253. package/docs/types/CSS3DRenderPluginExportType.html +7 -17
  254. package/docs/types/CSS3DRenderPluginParameterType.html +7 -17
  255. package/docs/types/ClassFunctionParameters.html +7 -17
  256. package/docs/types/Color.html +7 -17
  257. package/docs/types/ContentTypeConfigKey.html +7 -17
  258. package/docs/types/ContentTypeConfigKeySplit.html +8 -18
  259. package/docs/types/ContentTypeMap.html +7 -17
  260. package/docs/types/Create3DDomContainerReturnType.html +7 -17
  261. package/docs/types/Create3DElementReturnType.html +7 -17
  262. package/docs/types/CruisePluginExportType.html +7 -17
  263. package/docs/types/CruisePluginTypes.CruiseData.html +6 -17
  264. package/docs/types/CruisePluginTypes.MoveEffect.html +6 -17
  265. package/docs/types/CurrentPanoImagePluginExportType.html +7 -17
  266. package/docs/types/DeprecatedMediaPlaneProperty.html +7 -17
  267. package/docs/types/DeprecatedTagProperty.html +7 -17
  268. package/docs/types/Direction-1.html +7 -17
  269. package/docs/types/Direction4.html +7 -17
  270. package/docs/types/ElementRenderer.html +7 -17
  271. package/docs/types/FloorplanRuleLabels.html +7 -17
  272. package/docs/types/FloorplanServerRuleLabels.html +7 -17
  273. package/docs/types/GuideLinePluginExportType.html +7 -17
  274. package/docs/types/GuideLinePluginType.GuideLineItem.html +8 -18
  275. package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +6 -16
  276. package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +6 -16
  277. package/docs/types/GuideLinePluginType.GuideLineStyle.html +6 -16
  278. package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +6 -16
  279. package/docs/types/GuideLinePluginType.PathItem.html +6 -16
  280. package/docs/types/GuideLinePluginType.PluginData.html +6 -16
  281. package/docs/types/HelperEventMap.html +7 -17
  282. package/docs/types/InternalHelperEventMap.html +11 -29
  283. package/docs/types/LoadTagConfig.html +7 -17
  284. package/docs/types/MapviewFloorplanPluginParameterType.html +7 -17
  285. package/docs/types/MapviewFloorplanPluginReturnType.html +7 -17
  286. package/docs/types/MediaData.html +10 -20
  287. package/docs/types/MediaStore.html +7 -17
  288. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +7 -17
  289. package/docs/types/ModelFloorplanPluginParameterType.html +7 -17
  290. package/docs/types/ModelFloorplanPluginReturnType.html +7 -17
  291. package/docs/types/ModelId.html +7 -17
  292. package/docs/types/ModelRoomLabelPluginParameters.html +7 -17
  293. package/docs/types/ModelRoomLabelPluginReturnType.html +7 -17
  294. package/docs/types/MoveArgs.html +7 -17
  295. package/docs/types/MoveOpts.html +7 -17
  296. package/docs/types/Object3DHelperEventMap.html +7 -17
  297. package/docs/types/ObjectFit.html +7 -17
  298. package/docs/types/PaintBrushEventMap.html +7 -17
  299. package/docs/types/PanoCompassPluginData.html +7 -17
  300. package/docs/types/PanoCompassPluginExportType.html +7 -17
  301. package/docs/types/PanoCompassPluginParameterType.html +7 -17
  302. package/docs/types/PanoFloorplanRadarPluginParameterType.html +7 -17
  303. package/docs/types/PanoFloorplanRadarPluginReturnType.html +7 -17
  304. package/docs/types/PanoIndex.html +7 -17
  305. package/docs/types/PanoMeasurePluginEvent.html +7 -17
  306. package/docs/types/PanoMeasureReturnType.html +7 -17
  307. package/docs/types/PanoSpatialTagPluginId.html +7 -17
  308. package/docs/types/PanoTagPluginExportInterface.html +7 -17
  309. package/docs/types/PanoTagPluginParamsInterface.html +7 -17
  310. package/docs/types/PanoVideoPluginParameterType.html +7 -17
  311. package/docs/types/PanoVideoPluginReturnType.html +7 -17
  312. package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +12 -22
  313. package/docs/types/PipelinePluginParameterType.html +7 -17
  314. package/docs/types/PipelinePluginReturnType.html +7 -17
  315. package/docs/types/PlaneTag.html +7 -17
  316. package/docs/types/Point2DTag.html +7 -17
  317. package/docs/types/Point3DTag.html +7 -17
  318. package/docs/types/PointTag.html +7 -17
  319. package/docs/types/PointTagInstance.html +7 -17
  320. package/docs/types/Position.html +7 -17
  321. package/docs/types/RotateArgs.html +7 -17
  322. package/docs/types/RotateOpts.html +7 -17
  323. package/docs/types/RuleLabelsKey.html +7 -17
  324. package/docs/types/RuleLabelsValue.html +7 -17
  325. package/docs/types/StickType.html +7 -17
  326. package/docs/types/Tag.html +13 -35
  327. package/docs/types/Tag2D.html +7 -17
  328. package/docs/types/Tag3D.html +7 -17
  329. package/docs/types/TagConfigByKey.html +8 -18
  330. package/docs/types/TagContentType.html +7 -17
  331. package/docs/types/TagContentTypeMapping.html +7 -17
  332. package/docs/types/TagDimensionType.html +7 -17
  333. package/docs/types/TagElement.html +7 -17
  334. package/docs/types/TagEvents.html +12 -38
  335. package/docs/types/TagGLTFObject.html +7 -17
  336. package/docs/types/TagHooks.html +7 -17
  337. package/docs/types/TagId.html +7 -17
  338. package/docs/types/TagInstance.html +8 -44
  339. package/docs/types/TagPointType.html +7 -17
  340. package/docs/types/TagRendererMap.html +7 -17
  341. package/docs/types/TopviewFloorplanPluginParameterType.html +7 -17
  342. package/docs/types/TopviewFloorplanPluginReturnType.html +7 -17
  343. package/docs/types/WorkCode.html +7 -17
  344. package/docs/variables/FLOOR_TYPE_MAP.html +7 -17
  345. package/docs/variables/PLUGIN.html +7 -17
  346. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +7 -17
  347. package/docs/variables/ROOM_TYPE_MAP.html +7 -17
  348. package/docs/variables/defaultGlobalConfig.html +7 -17
  349. package/docs/variables/itemLabelPluginServerParams.html +7 -17
  350. package/docs/variables/modelItemLabelPluginServerParams.html +7 -17
  351. package/docs/variables/modelRoomLabelPluginServerParams.html +7 -17
  352. package/libs/AreaMakerPlugin/Controller.js +54 -44
  353. package/libs/AreaMakerPlugin/index.js +13 -3
  354. package/libs/AreaMakerPlugin/utils/Item.js +13 -3
  355. package/libs/CruisePlugin/Move.js +50 -37
  356. package/libs/CruisePlugin/Work.js +19 -6
  357. package/libs/CruisePlugin/index.js +23 -10
  358. package/libs/GuideLinePlugin/Components/Tag.js +58 -48
  359. package/libs/GuideLinePlugin/Controller.js +46 -33
  360. package/libs/GuideLinePlugin/GuideLineItem.js +19 -6
  361. package/libs/GuideLinePlugin/GuideLineModeItem.js +19 -6
  362. package/libs/GuideLinePlugin/index.js +23 -10
  363. package/libs/ItemLabelPlugin/ItemLabelComponent.js +152 -139
  364. package/libs/ItemLabelPlugin/ItemLabelItem.js +67 -57
  365. package/libs/ItemLabelPlugin/Plugin.js +37 -26
  366. package/libs/ItemLabelPlugin/index.js +16 -5
  367. package/libs/ModelItemLabelPlugin/ItemLabelComponent.js +116 -103
  368. package/libs/ModelItemLabelPlugin/ItemLabelItem.js +45 -35
  369. package/libs/ModelItemLabelPlugin/ModelItemLabelPlugin.js +35 -24
  370. package/libs/ModelItemLabelPlugin/index.js +16 -5
  371. package/libs/ModelMakerPlugin/Controller.js +33 -23
  372. package/libs/ModelMakerPlugin/index.js +13 -3
  373. package/libs/ModelMakerPlugin/utils/Text.js +43 -33
  374. package/libs/ModelMakerPlugin/utils/tagRenderer.js +28 -18
  375. package/libs/ModelRoomLabelPlugin/Controller.js +20 -8
  376. package/libs/ModelRoomLabelPlugin/RoomLabelItem.js +52 -42
  377. package/libs/ModelRoomLabelPlugin/RoomLabelItems.js +75 -61
  378. package/libs/ModelRoomLabelPlugin/index.js +17 -5
  379. package/libs/PanoDoorLabelPlugin/Controller.js +38 -28
  380. package/libs/PanoDoorLabelPlugin/DoorLabelItem.js +55 -45
  381. package/libs/PanoDoorLabelPlugin/index.js +14 -4
  382. package/libs/PanoMeasurePlugin/Components/Common/CircleButton.js +70 -60
  383. package/libs/PanoMeasurePlugin/Components/Common/Exit.js +32 -22
  384. package/libs/PanoMeasurePlugin/Components/Common/Switcher0.js +75 -62
  385. package/libs/PanoMeasurePlugin/Components/Common/Switcher1.js +110 -97
  386. package/libs/PanoMeasurePlugin/Components/Controller0.js +72 -61
  387. package/libs/PanoMeasurePlugin/Components/Controller1.js +33 -22
  388. package/libs/PanoMeasurePlugin/Components/Tip.js +76 -66
  389. package/libs/PanoMeasurePlugin/Controller/index.js +28 -17
  390. package/libs/PanoMeasurePlugin/Modules/GuideController.js +26 -16
  391. package/libs/PanoMeasurePlugin/Modules/UIController/index.js +34 -23
  392. package/libs/PanoMeasurePlugin/index.js +27 -16
  393. package/libs/PanoRulerProPlugin/Controller.js +38 -27
  394. package/libs/PanoRulerProPlugin/RulerItem.js +94 -79
  395. package/libs/PanoRulerProPlugin/RulerItems.js +95 -82
  396. package/libs/PanoRulerProPlugin/index.js +15 -4
  397. package/libs/PanoSpatialTagPlugin/Components/origins.js +51 -38
  398. package/libs/PanoSpatialTagPlugin/Components/tag.js +32 -22
  399. package/libs/PanoSpatialTagPlugin/Plugin.js +115 -104
  400. package/libs/PanoSpatialTagPlugin/index.js +13 -2
  401. package/libs/PanoSpatialTagPlugin/store.d.ts +1 -0
  402. package/libs/PanoSpatialTagPlugin/store.js +2 -2
  403. package/libs/PanoTagPlugin/Components/Common/Arrow.js +44 -34
  404. package/libs/PanoTagPlugin/Components/Common/Audio.js +99 -89
  405. package/libs/PanoTagPlugin/Components/Common/Icon/Icon.js +123 -112
  406. package/libs/PanoTagPlugin/Components/Common/Icon/audioIcon.js +55 -45
  407. package/libs/PanoTagPlugin/Components/Common/Line/Polyline.js +59 -49
  408. package/libs/PanoTagPlugin/Components/Common/Line/Straight.js +79 -69
  409. package/libs/PanoTagPlugin/Components/Common/Media.js +145 -131
  410. package/libs/PanoTagPlugin/Components/Common/MediaItem.js +35 -25
  411. package/libs/PanoTagPlugin/Components/Common/Shadow.js +58 -48
  412. package/libs/PanoTagPlugin/Components/Common/TagPoint.js +35 -24
  413. package/libs/PanoTagPlugin/Components/Common/Text/FlyMText.js +97 -86
  414. package/libs/PanoTagPlugin/Components/Common/Text/FlyText.js +109 -96
  415. package/libs/PanoTagPlugin/Components/Common/Text/MText.js +128 -118
  416. package/libs/PanoTagPlugin/Components/Common/TextItem.js +59 -49
  417. package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioPlaneTag.js +100 -90
  418. package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioTag.js +92 -81
  419. package/libs/PanoTagPlugin/Components/Tag/AudioTag/index.js +68 -57
  420. package/libs/PanoTagPlugin/Components/Tag/CustomTag.js +45 -35
  421. package/libs/PanoTagPlugin/Components/Tag/ImageTextTag.js +122 -110
  422. package/libs/PanoTagPlugin/Components/Tag/LinkTag.js +53 -42
  423. package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +130 -115
  424. package/libs/PanoTagPlugin/Components/Tag/MediaPlane.js +66 -54
  425. package/libs/PanoTagPlugin/Components/Tag/PanoramaTag.js +62 -52
  426. package/libs/PanoTagPlugin/Components/Tag/TextTag/TextPlaneTag.js +66 -56
  427. package/libs/PanoTagPlugin/Components/Tag/TextTag/TextTag.js +109 -98
  428. package/libs/PanoTagPlugin/Components/Tag/TextTag/index.js +54 -43
  429. package/libs/PanoTagPlugin/Components/Tag/index.js +161 -148
  430. package/libs/PanoTagPlugin/Components/TagContainer.js +77 -62
  431. package/libs/PanoTagPlugin/Components/TagItem.js +182 -169
  432. package/libs/PanoTagPlugin/controller/TagCache.d.ts +1 -1
  433. package/libs/PanoTagPlugin/controller/TagCache.js +5 -5
  434. package/libs/PanoTagPlugin/controller/TagComputer.js +2 -2
  435. package/libs/PanoTagPlugin/controller/TagRender.js +56 -43
  436. package/libs/PanoTagPlugin/controller/TagUtil.d.ts +4 -1
  437. package/libs/PanoTagPlugin/controller/TagUtil.js +78 -70
  438. package/libs/PanoTagPlugin/controller/index.d.ts +1 -0
  439. package/libs/PanoTagPlugin/controller/index.js +84 -65
  440. package/libs/PanoTagPlugin/index.js +28 -15
  441. package/libs/PanoTagPlugin/typings/controller.d.ts +1 -0
  442. package/libs/base/BasePlugin.js +3 -3
  443. package/libs/components/AreaLabel/LabelItem.js +56 -51
  444. package/libs/floorplan/Components/BaseImage.js +43 -39
  445. package/libs/floorplan/Components/Camera.js +41 -32
  446. package/libs/floorplan/Components/Compass.js +27 -24
  447. package/libs/floorplan/Components/CurrentFloor.js +167 -162
  448. package/libs/floorplan/Components/Main.js +85 -76
  449. package/libs/floorplan/Components/MissingFloor.js +24 -21
  450. package/libs/floorplan/Components/Normalmage.js +25 -22
  451. package/libs/floorplan/Components/RoomHighlight/Room.js +28 -25
  452. package/libs/floorplan/Components/RoomHighlight/RoomHighlight.js +69 -61
  453. package/libs/floorplan/Components/RoomLabels/RoomLabel.js +104 -101
  454. package/libs/floorplan/Components/RoomLabels/RoomLabels.js +65 -57
  455. package/libs/floorplan/Components/RoomMaterials/RoomMaterial.js +125 -118
  456. package/libs/floorplan/Components/RoomMaterials/RoomMaterial_0.js +25 -22
  457. package/libs/floorplan/Components/RoomMaterials/RoomMaterial_1.js +43 -40
  458. package/libs/floorplan/Components/RoomMaterials/RoomMaterial_2.js +32 -29
  459. package/libs/floorplan/Components/RuleLabels/RuleItem.js +49 -41
  460. package/libs/floorplan/Components/RuleLabels/RuleLabels.js +102 -94
  461. package/libs/floorplan/Components/SvgImage.js +30 -27
  462. package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +18 -6
  463. package/libs/floorplan/MapviewFloorplanPlugin/index.js +19 -7
  464. package/libs/floorplan/ModelFloorplanPlugin/Controller.js +58 -46
  465. package/libs/floorplan/ModelFloorplanPlugin/index.js +19 -7
  466. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Camera.js +77 -65
  467. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/CurrentFloor.js +95 -83
  468. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/ExtraObjects.js +70 -53
  469. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Main.js +112 -100
  470. package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +40 -28
  471. package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +16 -4
  472. package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +30 -18
  473. package/libs/floorplan/TopviewFloorplanPlugin/index.js +19 -7
  474. package/libs/floorplan/index.js +1 -0
  475. package/libs/index.js +143 -129
  476. package/libs/shared-utils/logger.js +1 -1
  477. package/libs/vendor/svelte/src/runtime/internal/Component.js +122 -0
  478. package/libs/vendor/svelte/src/runtime/internal/ResizeObserverSingleton.js +1 -0
  479. package/libs/vendor/svelte/src/runtime/internal/animations.js +1 -0
  480. package/libs/vendor/svelte/src/runtime/internal/await_block.js +47 -0
  481. package/libs/vendor/svelte/src/runtime/internal/dev.js +1 -0
  482. package/libs/vendor/svelte/src/runtime/internal/disclose-version/index.js +2 -0
  483. package/libs/vendor/svelte/src/runtime/internal/dom.js +214 -0
  484. package/libs/vendor/svelte/src/runtime/internal/each.js +46 -0
  485. package/libs/vendor/svelte/src/runtime/internal/environment.js +7 -0
  486. package/libs/vendor/svelte/src/runtime/internal/globals.js +7 -0
  487. package/libs/vendor/svelte/src/runtime/internal/index.js +1 -0
  488. package/libs/vendor/svelte/src/runtime/internal/lifecycle.js +63 -0
  489. package/libs/vendor/svelte/src/runtime/internal/loop.js +21 -0
  490. package/libs/vendor/svelte/src/runtime/internal/scheduler.js +66 -0
  491. package/libs/vendor/svelte/src/runtime/internal/spread.js +26 -0
  492. package/libs/vendor/svelte/src/runtime/internal/ssr.js +1 -0
  493. package/libs/vendor/svelte/src/runtime/internal/style_manager.js +48 -0
  494. package/libs/vendor/svelte/src/runtime/internal/transitions.js +192 -0
  495. package/libs/vendor/svelte/src/runtime/internal/utils.js +110 -0
  496. package/libs/vendor/svelte/{store → src/runtime/store}/index.js +5 -5
  497. package/libs/vendor/svelte/{transition → src/runtime/transition}/index.js +1 -1
  498. package/libs/vendor/svelte/src/shared/boolean_attributes.js +1 -0
  499. package/libs/vendor/svelte/src/shared/utils/names.js +1 -0
  500. package/libs/vendor/svelte/src/shared/version.js +4 -0
  501. package/libs/vendor/svelte-carousel/src/components/Arrow/Arrow.js +29 -25
  502. package/libs/vendor/svelte-carousel/src/components/Carousel/Carousel.js +197 -225
  503. package/libs/vendor/svelte-carousel/src/components/Dot/Dot.js +16 -12
  504. package/libs/vendor/svelte-carousel/src/components/Dots/Dots.js +65 -59
  505. package/libs/vendor/svelte-carousel/src/components/Progress/Progress.js +32 -29
  506. package/package.json +5 -6
  507. package/docs/classes/Sculpt.html +0 -852
  508. package/docs/functions/ModelMakerPlugin.html +0 -303
  509. package/docs/functions/SculptPlugin.html +0 -306
  510. package/docs/functions/Util.blink.html +0 -351
  511. package/docs/functions/Util.reblink.html +0 -349
  512. package/docs/interfaces/ContentTypeMapInterface.html +0 -773
  513. package/docs/interfaces/CruisePluginTypes.GuildLineConfig.html +0 -352
  514. package/docs/interfaces/ModelMakerPluginType.EventMap.html +0 -556
  515. package/docs/interfaces/ModelMakerPluginType.ServerBaseItem.html +0 -349
  516. package/docs/interfaces/ModelMakerPluginType.ServerBoxItem.html +0 -391
  517. package/docs/interfaces/ModelMakerPluginType.ServerData.html +0 -332
  518. package/docs/interfaces/ModelMakerPluginType.ServerPrismItem.html +0 -401
  519. package/docs/interfaces/ModelMakerPluginType.ServerTrianglesItem.html +0 -381
  520. package/docs/interfaces/ModelMakerPluginType.State.html +0 -364
  521. package/docs/interfaces/Util.BlinkAnimeOptions.html +0 -380
  522. package/docs/interfaces/Util.ReBlinkAnimeOptions.html +0 -387
  523. package/docs/modules/ModelMakerPluginType.html +0 -339
  524. package/docs/modules/SculptData.html +0 -318
  525. package/docs/types/AddObject3DHelperConfig.html +0 -315
  526. package/docs/types/ModelMakerPluginType.ElementRenderer.html +0 -329
  527. package/docs/types/ModelMakerPluginType.ItemType.html +0 -308
  528. package/docs/types/ScaleCallback.html +0 -314
  529. package/docs/types/ScalePosition.html +0 -303
  530. package/docs/types/SculptData.BoxData.html +0 -306
  531. package/docs/types/SculptData.CircleData.html +0 -306
  532. package/docs/types/SculptData.CylinderData.html +0 -306
  533. package/docs/types/SculptData.PointData.html +0 -306
  534. package/docs/types/SculptData.PolygonData.html +0 -306
  535. package/docs/types/SculptData.PolylineData.html +0 -306
  536. package/docs/types/SculptData.PrismData.html +0 -306
  537. package/docs/types/SculptData.RectangleData.html +0 -306
  538. package/libs/vendor/svelte/internal/index.js +0 -749
  539. /package/libs/vendor/svelte/{easing → src/runtime/easing}/index.js +0 -0
  540. /package/libs/vendor/svelte/{index.js → src/runtime/index.js} +0 -0
@@ -1,107 +1,120 @@
1
- import { SvelteComponent as Q, init as X, safe_not_equal as Z, element as $, insert as tt, transition_in as C, check_outros as et, transition_out as k, detach as nt, destroy_each as ot, onMount as rt, onDestroy as st, create_component as at, mount_component as ct, destroy_component as it, group_outros as lt } from "../vendor/svelte/internal/index.js";
2
- import { Five as ft } from "@realsee/five";
3
- import { nextFrame as mt } from "../shared-utils/animationFrame/index.js";
4
- import { equal as z } from "../shared-utils/equal.js";
5
- import { intersectionOfLine as ut } from "../shared-utils/math/planimetry.js";
6
- import { throttle as ht } from "../shared-utils/throttle.js";
7
- import { Vector3 as M } from "three";
1
+ import { safe_not_equal as X } from "../vendor/svelte/src/runtime/internal/utils.js";
2
+ import { element as Z, insert as $, detach as tt, destroy_each as et } from "../vendor/svelte/src/runtime/internal/dom.js";
3
+ import { transition_in as z, check_outros as nt, transition_out as Y, group_outros as ot } from "../vendor/svelte/src/runtime/internal/transitions.js";
4
+ import { onMount as rt, onDestroy as st } from "../vendor/svelte/src/runtime/internal/lifecycle.js";
5
+ import { ensure_array_like as J } from "../vendor/svelte/src/runtime/internal/each.js";
6
+ import { SvelteComponent as at, init as it, create_component as ct, mount_component as lt, destroy_component as ft } from "../vendor/svelte/src/runtime/internal/Component.js";
7
+ import "../vendor/svelte/src/runtime/internal/disclose-version/index.js";
8
+ import { Five as mt } from "@realsee/five";
9
+ import { nextFrame as ut } from "../shared-utils/animationFrame/index.js";
10
+ import { equal as k } from "../shared-utils/equal.js";
11
+ import { intersectionOfLine as ht } from "../shared-utils/math/planimetry.js";
12
+ import { throttle as pt } from "../shared-utils/throttle.js";
13
+ import { Vector3 as _ } from "three";
8
14
  import dt from "./RulerItem.js";
15
+ import "../vendor/svelte/src/runtime/internal/environment.js";
16
+ import "../vendor/svelte/src/runtime/internal/loop.js";
17
+ import "../vendor/svelte/src/runtime/internal/style_manager.js";
18
+ import "../vendor/svelte/src/runtime/internal/scheduler.js";
19
+ import "../vendor/svelte/src/shared/version.js";
9
20
  import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
10
21
  import "../shared-utils/isTruelyObject.js";
11
- function J(p, r, i) {
12
- const t = p.slice();
13
- return t[12] = r[i], t;
22
+ function K(d, r, c) {
23
+ const t = d.slice();
24
+ return t[12] = r[c], t;
14
25
  }
15
- function K(p) {
16
- let r, i;
26
+ function N(d) {
27
+ let r, c;
17
28
  return r = new dt({
18
29
  props: { rulerItemProp: (
19
30
  /*itemData*/
20
- p[12]
31
+ d[12]
21
32
  ) }
22
33
  }), {
23
34
  c() {
24
- at(r.$$.fragment);
35
+ ct(r.$$.fragment);
25
36
  },
26
37
  m(t, e) {
27
- ct(r, t, e), i = !0;
38
+ lt(r, t, e), c = !0;
28
39
  },
29
40
  p(t, e) {
30
- const w = {};
41
+ const y = {};
31
42
  e & /*rulerItemProp*/
32
- 1 && (w.rulerItemProp = /*itemData*/
33
- t[12]), r.$set(w);
43
+ 1 && (y.rulerItemProp = /*itemData*/
44
+ t[12]), r.$set(y);
34
45
  },
35
46
  i(t) {
36
- i || (C(r.$$.fragment, t), i = !0);
47
+ c || (z(r.$$.fragment, t), c = !0);
37
48
  },
38
49
  o(t) {
39
- k(r.$$.fragment, t), i = !1;
50
+ Y(r.$$.fragment, t), c = !1;
40
51
  },
41
52
  d(t) {
42
- it(r, t);
53
+ ft(r, t);
43
54
  }
44
55
  };
45
56
  }
46
- function pt(p) {
47
- let r, i, t = (
57
+ function gt(d) {
58
+ let r, c, t = J(
48
59
  /*rulerItemProp*/
49
- p[0]
60
+ d[0]
50
61
  ), e = [];
51
62
  for (let o = 0; o < t.length; o += 1)
52
- e[o] = K(J(p, t, o));
53
- const w = (o) => k(e[o], 1, 1, () => {
63
+ e[o] = N(K(d, t, o));
64
+ const y = (o) => Y(e[o], 1, 1, () => {
54
65
  e[o] = null;
55
66
  });
56
67
  return {
57
68
  c() {
58
- r = $("div");
69
+ r = Z("div");
59
70
  for (let o = 0; o < e.length; o += 1)
60
71
  e[o].c();
61
72
  },
62
73
  m(o, a) {
63
- tt(o, r, a);
74
+ $(o, r, a);
64
75
  for (let n = 0; n < e.length; n += 1)
65
76
  e[n] && e[n].m(r, null);
66
- i = !0;
77
+ c = !0;
67
78
  },
68
79
  p(o, [a]) {
69
80
  if (a & /*rulerItemProp*/
70
81
  1) {
71
- t = /*rulerItemProp*/
72
- o[0];
82
+ t = J(
83
+ /*rulerItemProp*/
84
+ o[0]
85
+ );
73
86
  let n;
74
87
  for (n = 0; n < t.length; n += 1) {
75
- const A = J(o, t, n);
76
- e[n] ? (e[n].p(A, a), C(e[n], 1)) : (e[n] = K(A), e[n].c(), C(e[n], 1), e[n].m(r, null));
88
+ const A = K(o, t, n);
89
+ e[n] ? (e[n].p(A, a), z(e[n], 1)) : (e[n] = N(A), e[n].c(), z(e[n], 1), e[n].m(r, null));
77
90
  }
78
- for (lt(), n = t.length; n < e.length; n += 1)
79
- w(n);
80
- et();
91
+ for (ot(), n = t.length; n < e.length; n += 1)
92
+ y(n);
93
+ nt();
81
94
  }
82
95
  },
83
96
  i(o) {
84
- if (!i) {
97
+ if (!c) {
85
98
  for (let a = 0; a < t.length; a += 1)
86
- C(e[a]);
87
- i = !0;
99
+ z(e[a]);
100
+ c = !0;
88
101
  }
89
102
  },
90
103
  o(o) {
91
104
  e = e.filter(Boolean);
92
105
  for (let a = 0; a < e.length; a += 1)
93
- k(e[a]);
94
- i = !1;
106
+ Y(e[a]);
107
+ c = !1;
95
108
  },
96
109
  d(o) {
97
- o && nt(r), ot(e, o);
110
+ o && tt(r), et(e, o);
98
111
  }
99
112
  };
100
113
  }
101
- function gt(p, r, i) {
114
+ function xt(d, r, c) {
102
115
  var B, G, H, U;
103
- let { five: t } = r, { rulerDatas: e } = r, { options: w } = r, o = [];
104
- const a = ((G = (B = t.getElement()) == null ? void 0 : B.parentElement) == null ? void 0 : G.clientWidth) || 0, n = ((U = (H = t.getElement()) == null ? void 0 : H.parentElement) == null ? void 0 : U.clientHeight) || 0, A = (c, l) => {
116
+ let { five: t } = r, { rulerDatas: e } = r, { options: y } = r, o = [];
117
+ const a = ((G = (B = t.getElement()) == null ? void 0 : B.parentElement) == null ? void 0 : G.clientWidth) || 0, n = ((U = (H = t.getElement()) == null ? void 0 : H.parentElement) == null ? void 0 : U.clientHeight) || 0, A = (i, l) => {
105
118
  const f = [
106
119
  [{ x: 0, y: 0 }, { x: a, y: 0 }],
107
120
  [{ x: 0, y: 0 }, { x: 0, y: n }],
@@ -109,56 +122,56 @@ function gt(p, r, i) {
109
122
  [{ x: 0, y: n }, { x: a, y: n }]
110
123
  ], u = [];
111
124
  for (let h = 0; h < f.length; h++) {
112
- const g = ut([c, l], [f[h][0], f[h][1]], !0);
125
+ const g = ht([i, l], [f[h][0], f[h][1]], !0);
113
126
  g && u.push(g);
114
127
  }
115
128
  return u.length === 0 ? !1 : u;
116
- }, j = (c, l) => {
117
- const f = c.clone().project(t.camera), u = (f.x + 1) / 2 * a, h = (-f.y + 1) / 2 * n, g = l.clone().project(t.camera), L = (g.x + 1) / 2 * a, y = (-g.y + 1) / 2 * n, s = Math.sqrt(Math.pow(L - u, 2) + Math.pow(y - h, 2));
129
+ }, j = (i, l) => {
130
+ const f = i.clone().project(t.camera), u = (f.x + 1) / 2 * a, h = (-f.y + 1) / 2 * n, g = l.clone().project(t.camera), L = (g.x + 1) / 2 * a, M = (-g.y + 1) / 2 * n, s = Math.sqrt(Math.pow(L - u, 2) + Math.pow(M - h, 2));
118
131
  return {
119
132
  startLeft: u,
120
133
  startTop: h,
121
134
  endLeft: L,
122
- endTop: y,
135
+ endTop: M,
123
136
  distance: s
124
137
  };
125
- }, N = (c, l, f) => {
126
- const u = t.camera.position, h = t.camera.getWorldDirection(new M()), g = c.clone().sub(u).normalize().angleTo(h), L = l.clone().sub(u).normalize().angleTo(h), y = c.distanceTo(l), T = l.clone().sub(l.clone().sub(c).divide(new M(2, 2, 2))).distanceTo(u), { startLeft: d, startTop: x, endLeft: v, endTop: q, distance: D } = j(c, l), S = -((Math.PI / 2 - Math.atan2(v - d, x - q)) / Math.PI) * 180;
138
+ }, O = (i, l, f) => {
139
+ const u = t.camera.position, h = t.camera.getWorldDirection(new _()), g = i.clone().sub(u).normalize().angleTo(h), L = l.clone().sub(u).normalize().angleTo(h), M = i.distanceTo(l), T = l.clone().sub(l.clone().sub(i).divide(new _(2, 2, 2))).distanceTo(u), { startLeft: p, startTop: x, endLeft: v, endTop: q, distance: D } = j(i, l), C = -((Math.PI / 2 - Math.atan2(v - p, x - q)) / Math.PI) * 180;
127
140
  let P = !0;
128
- f || (P = !1), !z(c, f) && !z(l, f) && (P = !1), y < 0.3 && (P = !1), g > Math.PI / 2 && (P = !1), L > Math.PI / 2 && (P = !1), T / y > 8 && (P = !1);
141
+ f || (P = !1), !k(i, f) && !k(l, f) && (P = !1), M < 0.3 && (P = !1), g > Math.PI / 2 && (P = !1), L > Math.PI / 2 && (P = !1), T / M > 8 && (P = !1);
129
142
  let I = 50, b = D;
130
- const m = A({ x: ~~d, y: ~~x }, { x: ~~v, y: ~~q });
131
- if (m && m.length === 1 && (z(c, f) ? (b = Math.sqrt(Math.pow(m[0].x - d, 2) + Math.pow(m[0].y - x, 2)), I = b / D * 50) : z(l, f) && (b = Math.sqrt(Math.pow(m[0].x - v, 2) + Math.pow(m[0].y - q, 2)), I = 100 - b / D * 50)), m && m.length === 2) {
143
+ const m = A({ x: ~~p, y: ~~x }, { x: ~~v, y: ~~q });
144
+ if (m && m.length === 1 && (k(i, f) ? (b = Math.sqrt(Math.pow(m[0].x - p, 2) + Math.pow(m[0].y - x, 2)), I = b / D * 50) : k(l, f) && (b = Math.sqrt(Math.pow(m[0].x - v, 2) + Math.pow(m[0].y - q, 2)), I = 100 - b / D * 50)), m && m.length === 2) {
132
145
  const F = {
133
146
  x: (m[0].x + m[1].x) / 2,
134
147
  y: (m[0].y + m[1].y) / 2
135
148
  };
136
- I = Math.sqrt(Math.pow(F.x - d, 2) + Math.pow(F.y - x, 2)) / D * 100;
149
+ I = Math.sqrt(Math.pow(F.x - p, 2) + Math.pow(F.y - x, 2)) / D * 100;
137
150
  }
138
151
  return {
139
- startLeft: d,
152
+ startLeft: p,
140
153
  startTop: x,
141
154
  distance: D,
142
- deg: S,
155
+ deg: C,
143
156
  visible: P,
144
157
  labelOffset: I,
145
- ruleLength: y
158
+ ruleLength: M
146
159
  };
147
- }, _ = () => {
148
- const c = t.panoIndex, l = e.find((s) => s.panoIndex === c);
160
+ }, w = () => {
161
+ const i = t.panoIndex, l = e.find((s) => s.panoIndex === i);
149
162
  if (!l)
150
- return i(0, o = []);
151
- if (t.currentMode !== ft.Mode.Panorama)
152
- return i(0, o = []);
153
- const f = t.camera.position, u = t.camera.getWorldDirection(new M()), h = l.lines.map((s) => new M(s.start[0], -s.start[1], -s.start[2])), g = l.lines.map((s) => new M(s.end[0], -s.end[1], -s.end[2])), [L] = h.concat(g).sort((s, T) => {
154
- const d = s.clone().setY(0).sub(f).normalize().angleTo(u.clone().setY(0)), x = T.clone().setY(0).sub(f).normalize().angleTo(u.clone().setY(0));
155
- return d - x;
156
- }), y = l.lines.map((s) => {
163
+ return c(0, o = []);
164
+ if (t.currentMode !== mt.Mode.Panorama)
165
+ return c(0, o = []);
166
+ const f = t.camera.position, u = t.camera.getWorldDirection(new _()), h = l.lines.map((s) => new _(s.start[0], -s.start[1], -s.start[2])), g = l.lines.map((s) => new _(s.end[0], -s.end[1], -s.end[2])), [L] = h.concat(g).sort((s, T) => {
167
+ const p = s.clone().setY(0).sub(f).normalize().angleTo(u.clone().setY(0)), x = T.clone().setY(0).sub(f).normalize().angleTo(u.clone().setY(0));
168
+ return p - x;
169
+ }), M = l.lines.map((s) => {
157
170
  var b, m;
158
- const T = s.start, d = s.end, { startLeft: x, startTop: v, distance: q, deg: D, visible: V, labelOffset: S, ruleLength: P } = N(new M(T[0], -T[1], -T[2]), new M(d[0], -d[1], -d[2]), L), I = [];
171
+ const T = s.start, p = s.end, { startLeft: x, startTop: v, distance: q, deg: D, visible: V, labelOffset: C, ruleLength: P } = O(new _(T[0], -T[1], -T[2]), new _(p[0], -p[1], -p[2]), L), I = [];
159
172
  return s.children && ((b = s.children) == null ? void 0 : b.length) > 0 && ((m = s.children) == null || m.forEach((F) => {
160
- const W = F.start, Y = F.end, { distance: O } = j(new M(W[0], -W[1], -W[2]), new M(Y[0], -Y[1], -Y[2]));
161
- I.push({ width: O, state: F.state });
173
+ const W = F.start, S = F.end, { distance: Q } = j(new _(W[0], -W[1], -W[2]), new _(S[0], -S[1], -S[2]));
174
+ I.push({ width: Q, state: F.state });
162
175
  })), {
163
176
  width: q,
164
177
  left: x,
@@ -166,26 +179,26 @@ function gt(p, r, i) {
166
179
  rotateDeg: D,
167
180
  state: s.state,
168
181
  children: I,
169
- labelOffset: S,
182
+ labelOffset: C,
170
183
  visible: V,
171
- labelElement: w.distanceText(P)
184
+ labelElement: y.distanceText(P)
172
185
  };
173
186
  });
174
- i(0, o = y);
175
- }, E = () => mt(_), R = ht(_, 80);
187
+ c(0, o = M);
188
+ }, E = () => ut(w), R = pt(w, 80);
176
189
  return rt(() => {
177
- _(), t.on("panoArrived", _), t.on("modeChange", _), t.on("cameraDirectionUpdate", E), t.on("movingToPano", E), t.on("mouseWheel", () => R()), t.on("pinchGesture", () => R());
190
+ w(), t.on("panoArrived", w), t.on("modeChange", w), t.on("cameraDirectionUpdate", E), t.on("movingToPano", E), t.on("mouseWheel", () => R()), t.on("pinchGesture", () => R());
178
191
  }), st(() => {
179
- t.off("panoArrived", _), t.off("modeChange", _), t.off("cameraDirectionUpdate", E), t.off("movingToPano", E), t.off("mouseWheel", () => R()), t.off("pinchGesture", () => R());
180
- }), p.$$set = (c) => {
181
- "five" in c && i(1, t = c.five), "rulerDatas" in c && i(2, e = c.rulerDatas), "options" in c && i(3, w = c.options);
182
- }, [o, t, e, w];
192
+ t.off("panoArrived", w), t.off("modeChange", w), t.off("cameraDirectionUpdate", E), t.off("movingToPano", E), t.off("mouseWheel", () => R()), t.off("pinchGesture", () => R());
193
+ }), d.$$set = (i) => {
194
+ "five" in i && c(1, t = i.five), "rulerDatas" in i && c(2, e = i.rulerDatas), "options" in i && c(3, y = i.options);
195
+ }, [o, t, e, y];
183
196
  }
184
- class Lt extends Q {
197
+ class Yt extends at {
185
198
  constructor(r) {
186
- super(), X(this, r, gt, pt, Z, { five: 1, rulerDatas: 2, options: 3 });
199
+ super(), it(this, r, xt, gt, X, { five: 1, rulerDatas: 2, options: 3 });
187
200
  }
188
201
  }
189
202
  export {
190
- Lt as default
203
+ Yt as default
191
204
  };
@@ -1,6 +1,17 @@
1
1
  import t from "./Controller.js";
2
2
  import "./RulerItems.js";
3
- import "../vendor/svelte/internal/index.js";
3
+ import "../vendor/svelte/src/runtime/internal/utils.js";
4
+ import "../vendor/svelte/src/runtime/internal/dom.js";
5
+ import "../vendor/svelte/src/runtime/internal/transitions.js";
6
+ import "../vendor/svelte/src/runtime/internal/environment.js";
7
+ import "../vendor/svelte/src/runtime/internal/loop.js";
8
+ import "../vendor/svelte/src/runtime/internal/style_manager.js";
9
+ import "../vendor/svelte/src/runtime/internal/scheduler.js";
10
+ import "../vendor/svelte/src/runtime/internal/lifecycle.js";
11
+ import "../vendor/svelte/src/runtime/internal/each.js";
12
+ import "../vendor/svelte/src/runtime/internal/Component.js";
13
+ import "../vendor/svelte/src/runtime/internal/disclose-version/index.js";
14
+ import "../vendor/svelte/src/shared/version.js";
4
15
  import "@realsee/five";
5
16
  import "../shared-utils/animationFrame/index.js";
6
17
  import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
@@ -10,8 +21,8 @@ import "../shared-utils/math/planimetry.js";
10
21
  import "../shared-utils/throttle.js";
11
22
  import "three";
12
23
  import "./RulerItem.js";
13
- const d = (r, o) => new t(r, o);
24
+ const v = (r, o) => new t(r, o);
14
25
  export {
15
- d as PanoRulerProPlugin,
16
- d as default
26
+ v as PanoRulerProPlugin,
27
+ v as default
17
28
  };
@@ -1,17 +1,28 @@
1
- import { SvelteComponent as d, init as h, safe_not_equal as P, append_styles as y, empty as v, insert as p, noop as c, destroy_each as S, detach as u, element as T, attr as b, toggle_class as f, set_style as g, listen as k } from "../../vendor/svelte/internal/index.js";
2
- import { currentTarget as z } from "../store.js";
3
- import "../../vendor/svelte/store/index.js";
4
- function w(n) {
5
- y(n, "svelte-19zi46m", ".PanoSpatialTagPlugin__tag-origin.svelte-19zi46m{position:absolute;width:0.5rem;height:0.5rem;border-radius:50%;background:#fff;box-shadow:0 0 .6rem #fff;transform:translate(-50%, -50%) scale(1);transform-origin:center center;animation:svelte-19zi46m-PanoSpatialTagPlugin__tag-origin 1.2s forwards;pointer-events:auto}.PanoSpatialTagPlugin__tag-origin.svelte-19zi46m:after{content:'';position:absolute;top:50%;height:50%;width:2rem;height:2rem;transform:translate(-50%, -50%)}.PanoSpatialTagPlugin__tag-origin-destroy.svelte-19zi46m{transform:translate(-50%, -50%) scale(0.6);animation:svelte-19zi46m-PanoSpatialTagPlugin__tag-origin-destroy 1.2s forwards .7s}@keyframes svelte-19zi46m-PanoSpatialTagPlugin__tag-origin{0%{transform:translate(-50%, -50%) scale(1);opacity:0}100%{transform:translate(-50%, -50%) scale(0.6);opacity:1 }}@keyframes svelte-19zi46m-PanoSpatialTagPlugin__tag-origin-destroy{0%{transform:translate(-50%, -50%) scale(0.6);opacity:1}10%{transform:translate(-50%, -50%) scale(1);opacity:0.9}100%{transform:translate(-50%, -50%) scale(1);opacity:0}}");
1
+ import { safe_not_equal as h, noop as m } from "../../vendor/svelte/src/runtime/internal/utils.js";
2
+ import { append_styles as P, empty as y, insert as u, detach as d, destroy_each as v, element as S, attr as T, toggle_class as f, set_style as g, listen as b } from "../../vendor/svelte/src/runtime/internal/dom.js";
3
+ import { ensure_array_like as p } from "../../vendor/svelte/src/runtime/internal/each.js";
4
+ import { SvelteComponent as k, init as z } from "../../vendor/svelte/src/runtime/internal/Component.js";
5
+ import "../../vendor/svelte/src/runtime/internal/disclose-version/index.js";
6
+ import { currentTarget as w } from "../store.js";
7
+ import "../../vendor/svelte/src/runtime/internal/transitions.js";
8
+ import "../../vendor/svelte/src/runtime/internal/environment.js";
9
+ import "../../vendor/svelte/src/runtime/internal/loop.js";
10
+ import "../../vendor/svelte/src/runtime/internal/style_manager.js";
11
+ import "../../vendor/svelte/src/runtime/internal/scheduler.js";
12
+ import "../../vendor/svelte/src/runtime/internal/lifecycle.js";
13
+ import "../../vendor/svelte/src/shared/version.js";
14
+ import "../../vendor/svelte/src/runtime/store/index.js";
15
+ function $(n) {
16
+ P(n, "svelte-19zi46m", ".PanoSpatialTagPlugin__tag-origin.svelte-19zi46m{position:absolute;width:0.5rem;height:0.5rem;border-radius:50%;background:#fff;box-shadow:0 0 .6rem #fff;transform:translate(-50%, -50%) scale(1);transform-origin:center center;animation:svelte-19zi46m-PanoSpatialTagPlugin__tag-origin 1.2s forwards;pointer-events:auto}.PanoSpatialTagPlugin__tag-origin.svelte-19zi46m:after{content:'';position:absolute;top:50%;height:50%;width:2rem;height:2rem;transform:translate(-50%, -50%)}.PanoSpatialTagPlugin__tag-origin-destroy.svelte-19zi46m{transform:translate(-50%, -50%) scale(0.6);animation:svelte-19zi46m-PanoSpatialTagPlugin__tag-origin-destroy 1.2s forwards .7s}@keyframes svelte-19zi46m-PanoSpatialTagPlugin__tag-origin{0%{transform:translate(-50%, -50%) scale(1);opacity:0}100%{transform:translate(-50%, -50%) scale(0.6);opacity:1 }}@keyframes svelte-19zi46m-PanoSpatialTagPlugin__tag-origin-destroy{0%{transform:translate(-50%, -50%) scale(0.6);opacity:1}10%{transform:translate(-50%, -50%) scale(1);opacity:0.9}100%{transform:translate(-50%, -50%) scale(1);opacity:0}}");
6
17
  }
7
- function _(n, t, o) {
18
+ function c(n, t, o) {
8
19
  const e = n.slice();
9
20
  return e[3] = t[o], e;
10
21
  }
11
- function m(n) {
22
+ function _(n) {
12
23
  let t, o = `${/*origin*/
13
24
  n[3].top}%`, e = `${/*origin*/
14
- n[3].left}%`, a, l;
25
+ n[3].left}%`, a, r;
15
26
  function i() {
16
27
  return (
17
28
  /*click_handler*/
@@ -23,7 +34,7 @@ function m(n) {
23
34
  }
24
35
  return {
25
36
  c() {
26
- t = T("i"), b(t, "class", "svelte-19zi46m"), f(t, "PanoSpatialTagPlugin__tag-origin", !0), f(
37
+ t = S("i"), T(t, "class", "svelte-19zi46m"), f(t, "PanoSpatialTagPlugin__tag-origin", !0), f(
27
38
  t,
28
39
  "PanoSpatialTagPlugin__tag-origin-destroy",
29
40
  /*origin*/
@@ -35,11 +46,11 @@ function m(n) {
35
46
  n[3].front ? "visible" : "hidden"
36
47
  );
37
48
  },
38
- m(r, s) {
39
- p(r, t, s), a || (l = k(t, "click", i), a = !0);
49
+ m(l, s) {
50
+ u(l, t, s), a || (r = b(t, "click", i), a = !0);
40
51
  },
41
- p(r, s) {
42
- n = r, s & /*origins*/
52
+ p(l, s) {
53
+ n = l, s & /*origins*/
43
54
  1 && f(
44
55
  t,
45
56
  "PanoSpatialTagPlugin__tag-origin-destroy",
@@ -57,65 +68,67 @@ function m(n) {
57
68
  n[3].front ? "visible" : "hidden"
58
69
  );
59
70
  },
60
- d(r) {
61
- r && u(t), a = !1, l();
71
+ d(l) {
72
+ l && d(t), a = !1, r();
62
73
  }
63
74
  };
64
75
  }
65
- function $(n) {
66
- let t, o = (
76
+ function C(n) {
77
+ let t, o = p(
67
78
  /*origins*/
68
79
  n[0]
69
80
  ), e = [];
70
81
  for (let a = 0; a < o.length; a += 1)
71
- e[a] = m(_(n, o, a));
82
+ e[a] = _(c(n, o, a));
72
83
  return {
73
84
  c() {
74
85
  for (let a = 0; a < e.length; a += 1)
75
86
  e[a].c();
76
- t = v();
87
+ t = y();
77
88
  },
78
- m(a, l) {
89
+ m(a, r) {
79
90
  for (let i = 0; i < e.length; i += 1)
80
- e[i] && e[i].m(a, l);
81
- p(a, t, l);
91
+ e[i] && e[i].m(a, r);
92
+ u(a, t, r);
82
93
  },
83
- p(a, [l]) {
84
- if (l & /*origins, handleClick*/
94
+ p(a, [r]) {
95
+ if (r & /*origins, handleClick*/
85
96
  3) {
86
- o = /*origins*/
87
- a[0];
97
+ o = p(
98
+ /*origins*/
99
+ a[0]
100
+ );
88
101
  let i;
89
102
  for (i = 0; i < o.length; i += 1) {
90
- const r = _(a, o, i);
91
- e[i] ? e[i].p(r, l) : (e[i] = m(r), e[i].c(), e[i].m(t.parentNode, t));
103
+ const l = c(a, o, i);
104
+ e[i] ? e[i].p(l, r) : (e[i] = _(l), e[i].c(), e[i].m(t.parentNode, t));
92
105
  }
93
106
  for (; i < e.length; i += 1)
94
107
  e[i].d(1);
95
108
  e.length = o.length;
96
109
  }
97
110
  },
98
- i: c,
99
- o: c,
111
+ i: m,
112
+ o: m,
100
113
  d(a) {
101
- S(e, a), a && u(t);
114
+ a && d(t), v(e, a);
102
115
  }
103
116
  };
104
117
  }
105
- function C(n, t, o) {
118
+ function q(n, t, o) {
106
119
  let { origins: e } = t;
107
120
  const a = (i) => {
108
- z.update(() => `${i}-PanoSpatialTagPlugin-${Date.now()}`);
109
- }, l = (i) => a(i.id);
121
+ w.update(() => `${i}-PanoSpatialTagPlugin-${Date.now()}`);
122
+ }, r = (i) => a(i.id);
110
123
  return n.$$set = (i) => {
111
124
  "origins" in i && o(0, e = i.origins);
112
- }, [e, a, l];
125
+ }, [e, a, r];
113
126
  }
114
- class O extends d {
127
+ class M extends k {
115
128
  constructor(t) {
116
- super(), h(this, t, C, $, P, { origins: 0 }, w);
129
+ super(), z(this, t, q, C, h, { origins: 0 }, $);
117
130
  }
118
131
  }
119
132
  export {
120
- O as default
133
+ M as default
121
134
  };
@@ -1,28 +1,38 @@
1
- import { SvelteComponent as M, init as j, safe_not_equal as I, append_styles as L, element as c, space as Y, attr as P, set_style as p, toggle_class as h, insert as O, append as r, listen as q, noop as D, detach as A, onMount as E, afterUpdate as U, onDestroy as B, binding_callbacks as F } from "../../vendor/svelte/internal/index.js";
1
+ import { safe_not_equal as M, noop as D } from "../../vendor/svelte/src/runtime/internal/utils.js";
2
+ import { append_styles as j, element as p, space as Y, attr as P, set_style as c, toggle_class as h, insert as I, append as r, listen as L, detach as O } from "../../vendor/svelte/src/runtime/internal/dom.js";
3
+ import { binding_callbacks as q } from "../../vendor/svelte/src/runtime/internal/scheduler.js";
4
+ import { onMount as A, afterUpdate as E, onDestroy as U } from "../../vendor/svelte/src/runtime/internal/lifecycle.js";
5
+ import { SvelteComponent as B, init as F } from "../../vendor/svelte/src/runtime/internal/Component.js";
6
+ import "../../vendor/svelte/src/runtime/internal/disclose-version/index.js";
2
7
  import { currentTarget as G } from "../store.js";
3
- import "../../vendor/svelte/store/index.js";
8
+ import "../../vendor/svelte/src/runtime/internal/transitions.js";
9
+ import "../../vendor/svelte/src/runtime/internal/environment.js";
10
+ import "../../vendor/svelte/src/runtime/internal/loop.js";
11
+ import "../../vendor/svelte/src/runtime/internal/style_manager.js";
12
+ import "../../vendor/svelte/src/shared/version.js";
13
+ import "../../vendor/svelte/src/runtime/store/index.js";
4
14
  function J(i) {
5
- L(i, "svelte-9m6drd", `.PanoSpatialTagPlugin__tag-x.svelte-9m6drd.svelte-9m6drd{position:absolute;top:0;left:0;display:block;white-space:nowrap;box-sizing:border-box;width:25rem;height:14rem;color:#fff;transform:translate(0, -100%);transition:height 0.5s linear}.PanoSpatialTagPlugin__tag-shadow.svelte-9m6drd.svelte-9m6drd{content:'';position:absolute;width:30rem;height:30rem;top:-15rem;left:-15rem;z-index:-1;opacity:0;transition:opacity 0.8s 0.6s;background:url('https://vrlab-image4.ljcdn.com/release/web/PanoSpatialTagPlugin__blur.png');background-size:30rem 30rem}.PanoSpatialTagPlugin__tag-line.svelte-9m6drd.svelte-9m6drd{position:absolute;left:-1rem;width:2rem;height:100%;overflow:hidden}.PanoSpatialTagPlugin__tag-flagpole.svelte-9m6drd.svelte-9m6drd{position:absolute;top:0;left:1rem;height:calc(100% - 1.5rem);width:0.15rem;background:linear-gradient(to bottom, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0.1));box-shadow:0 0.1rem 0.5rem rgba(0, 0, 0, 0.2);opacity:0;transform:translate(-50%, 60%) scaleY(0);transition:transform 0.4s cubic-bezier(0.44, 0.44, 0.74, 0.98), opacity 0.4s cubic-bezier(0.44, 0.44, 0.74, 0.98), width 0.5s linear,
15
+ j(i, "svelte-9m6drd", `.PanoSpatialTagPlugin__tag-x.svelte-9m6drd.svelte-9m6drd{position:absolute;top:0;left:0;display:block;white-space:nowrap;box-sizing:border-box;width:25rem;height:14rem;color:#fff;transform:translate(0, -100%);transition:height 0.5s linear}.PanoSpatialTagPlugin__tag-shadow.svelte-9m6drd.svelte-9m6drd{content:'';position:absolute;width:30rem;height:30rem;top:-15rem;left:-15rem;z-index:-1;opacity:0;transition:opacity 0.8s 0.6s;background:url('https://vrlab-image4.ljcdn.com/release/web/PanoSpatialTagPlugin__blur.png');background-size:30rem 30rem}.PanoSpatialTagPlugin__tag-line.svelte-9m6drd.svelte-9m6drd{position:absolute;left:-1rem;width:2rem;height:100%;overflow:hidden}.PanoSpatialTagPlugin__tag-flagpole.svelte-9m6drd.svelte-9m6drd{position:absolute;top:0;left:1rem;height:calc(100% - 1.5rem);width:0.15rem;background:linear-gradient(to bottom, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0.1));box-shadow:0 0.1rem 0.5rem rgba(0, 0, 0, 0.2);opacity:0;transform:translate(-50%, 60%) scaleY(0);transition:transform 0.4s cubic-bezier(0.44, 0.44, 0.74, 0.98), opacity 0.4s cubic-bezier(0.44, 0.44, 0.74, 0.98), width 0.5s linear,
6
16
  height 0.5s linear;transform-origin:center bottom}.PanoSpatialTagPlugin__tag-line1.svelte-9m6drd.svelte-9m6drd{position:absolute;top:0;left:0.3rem;height:1.8rem;width:0.1rem;background:#fff;opacity:0;transform:translate(-50%, 200%) scaleY(0);transform-origin:center top}.PanoSpatialTagPlugin__tag-line2.svelte-9m6drd.svelte-9m6drd{position:absolute;top:0;left:0.5rem;height:1.8rem;width:0.1rem;background:#fff;opacity:0;transform:translate(-50%, 200%) scaleY(0);transform-origin:center top}.PanoSpatialTagPlugin__tag-show.svelte-9m6drd .PanoSpatialTagPlugin__tag-line1.svelte-9m6drd{animation:svelte-9m6drd-PanoSpatialTagPlugin__tag-line1 linear 0.5s forwards 0.45s}.PanoSpatialTagPlugin__tag-show.svelte-9m6drd .PanoSpatialTagPlugin__tag-line2.svelte-9m6drd{animation:svelte-9m6drd-PanoSpatialTagPlugin__tag-line2 linear 0.5s forwards 0.65s}.PanoSpatialTagPlugin__tag-x.PanoSpatialTagPlugin__tag-upside-down.svelte-9m6drd.svelte-9m6drd{transform:translate(0, 0)}.PanoSpatialTagPlugin__tag-upside-down.svelte-9m6drd .PanoSpatialTagPlugin__tag-line.svelte-9m6drd{transform:scaleY(-1)}.PanoSpatialTagPlugin__tag-animate.svelte-9m6drd.svelte-9m6drd{position:relative;height:100%;overflow:hidden;transform-origin:left top;transition:transform 0.5s linear}.PanoSpatialTagPlugin__tag-upside-down.svelte-9m6drd .PanoSpatialTagPlugin__tag-animate.svelte-9m6drd{transform-origin:left bottom}.PanoSpatialTagPlugin__tag-content.svelte-9m6drd.svelte-9m6drd{position:absolute;display:inline-block;transform:translate(-100%, 0);transition:transform 0.9s cubic-bezier(0, 0.65, 0.16, 1.08) 0.6s;padding-left:0.5rem;font-size:1rem}.PanoSpatialTagPlugin__tag-upside-down.svelte-9m6drd .PanoSpatialTagPlugin__tag-content.svelte-9m6drd{bottom:0}.PanoSpatialTagPlugin__tag-show.svelte-9m6drd .PanoSpatialTagPlugin__tag-flagpole.svelte-9m6drd{opacity:1;transform:translate(-50%, 0) scaleY(1)}.PanoSpatialTagPlugin__tag-upside-down.svelte-9m6drd .PanoSpatialTagPlugin__tag-shadow.svelte-9m6drd{top:unset;bottom:-15rem}.PanoSpatialTagPlugin__tag-show.svelte-9m6drd .PanoSpatialTagPlugin__tag-shadow.svelte-9m6drd{opacity:0.32}.PanoSpatialTagPlugin__tag-show.svelte-9m6drd .PanoSpatialTagPlugin__tag-content.svelte-9m6drd{transform:translate(0, 0)}.PanoSpatialTagPlugin__tag-hide.svelte-9m6drd .PanoSpatialTagPlugin__tag-flagpole.svelte-9m6drd{opacity:0;transform:translate(-50%, 60%) scaleY(0);transition:transform 0.5s 0.55s, opacity 0.4s 0.55s}.PanoSpatialTagPlugin__tag-hide.svelte-9m6drd .PanoSpatialTagPlugin__tag-shadow.svelte-9m6drd{opacity:0;transition:opacity 0.8s}.PanoSpatialTagPlugin__tag-hide.svelte-9m6drd .PanoSpatialTagPlugin__tag-content.svelte-9m6drd{transform:translate(-100%, 0);transition:transform 0.6s cubic-bezier(0.53, 0.06, 0.88, 0.59)}.PanoSpatialTagPlugin__tag-hide.svelte-9m6drd .PanoSpatialTagPlugin__tag-content .svelte-9m6drd{pointer-events:none}.PanoSpatialTagPlugin__tag-hide.svelte-9m6drd .PanoSpatialTagPlugin__tag-line1.svelte-9m6drd{opacity:0.5;transform:translate(-50%, 10%) scaleY(0);animation:svelte-9m6drd-PanoSpatialTagPlugin__tag-line1-hide linear 0.28s forwards 0.3s}.PanoSpatialTagPlugin__tag-hide.svelte-9m6drd .PanoSpatialTagPlugin__tag-line2.svelte-9m6drd{opacity:0.5;transform:translate(-50%, 0) scaleY(0);animation:svelte-9m6drd-PanoSpatialTagPlugin__tag-line2-hide linear 0.28s forwards 0.45s}@keyframes svelte-9m6drd-PanoSpatialTagPlugin__tag-line1{0%{opacity:0;transform:translate(-50%, 250%) scaleY(1)}50%{opacity:0.5;transform:translate(-50%, 135%) scaleY(1)}100%{opacity:0.5;transform:translate(-50%, 20%) scaleY(0)}}@keyframes svelte-9m6drd-PanoSpatialTagPlugin__tag-line2{0%{opacity:0;transform:translate(-50%, 250%) scaleY(1)}50%{opacity:0.5;transform:translate(-50%, 125%) scaleY(1)}100%{opacity:0.5;transform:translate(-50%, 0) scaleY(0)}}@keyframes svelte-9m6drd-PanoSpatialTagPlugin__tag-line1-hide{0%{opacity:0.5;transform:translate(-50%, 10%) scaleY(0)}50%{opacity:0.2;transform:translate(-50%, 105%) scaleY(1)}100%{opacity:0;transform:translate(-50%, 200%) scaleY(0)}}@keyframes svelte-9m6drd-PanoSpatialTagPlugin__tag-line2-hide{0%{opacity:0.5;transform:translate(-50%, 0) scaleY(0)}50%{opacity:0.2;transform:translate(-50%, 100%) scaleY(1)}100%{opacity:0;transform:translate(-50%, 200%) scaleY(0)}}`);
7
17
  }
8
18
  function K(i) {
9
19
  let a, n, g, s, u, b, T, w, v, d, m, o, _, S, y;
10
20
  return {
11
21
  c() {
12
- a = c("div"), n = c("div"), g = Y(), s = c("div"), u = c("i"), b = Y(), T = c("i"), w = Y(), v = c("i"), d = Y(), m = c("div"), o = c("div"), P(n, "class", "PanoSpatialTagPlugin__tag-shadow svelte-9m6drd"), p(n, "transform", "translate(" + /*contentWidth*/
22
+ a = p("div"), n = p("div"), g = Y(), s = p("div"), u = p("i"), b = Y(), T = p("i"), w = Y(), v = p("i"), d = Y(), m = p("div"), o = p("div"), P(n, "class", "PanoSpatialTagPlugin__tag-shadow svelte-9m6drd"), c(n, "transform", "translate(" + /*contentWidth*/
13
23
  i[7] / 2 * /*contentZoom*/
14
24
  i[3] * 3 + "px, " + /*contentHeight*/
15
25
  i[8] / 2 * /*upsideDown*/
16
26
  (i[1] ? -1 : 1) * /*contentZoom*/
17
27
  i[3] * 3 + "px) scale(" + 1 / /*contentZoom*/
18
- i[3] + ")"), P(u, "class", "PanoSpatialTagPlugin__tag-flagpole svelte-9m6drd"), p(
28
+ i[3] + ")"), P(u, "class", "PanoSpatialTagPlugin__tag-flagpole svelte-9m6drd"), c(
19
29
  u,
20
30
  "width",
21
31
  /*lineWidthZoom*/
22
32
  i[4] + "rem"
23
- ), P(T, "class", "PanoSpatialTagPlugin__tag-line1 svelte-9m6drd"), P(v, "class", "PanoSpatialTagPlugin__tag-line2 svelte-9m6drd"), P(s, "class", "PanoSpatialTagPlugin__tag-line svelte-9m6drd"), P(o, "class", "PanoSpatialTagPlugin__tag-content svelte-9m6drd"), P(m, "class", "PanoSpatialTagPlugin__tag-animate svelte-9m6drd"), p(m, "transform", "scale(" + /*contentZoom*/
33
+ ), P(T, "class", "PanoSpatialTagPlugin__tag-line1 svelte-9m6drd"), P(v, "class", "PanoSpatialTagPlugin__tag-line2 svelte-9m6drd"), P(s, "class", "PanoSpatialTagPlugin__tag-line svelte-9m6drd"), P(o, "class", "PanoSpatialTagPlugin__tag-content svelte-9m6drd"), P(m, "class", "PanoSpatialTagPlugin__tag-animate svelte-9m6drd"), c(m, "transform", "scale(" + /*contentZoom*/
24
34
  i[3] * 3 + ")"), P(a, "id", _ = "PanoSpatialTagPlugin__" + /*id*/
25
- i[0]), p(a, "height", 20 * /*lineHeightZoom*/
35
+ i[0]), c(a, "height", 20 * /*lineHeightZoom*/
26
36
  i[5] + "rem"), P(a, "class", "svelte-9m6drd"), h(a, "PanoSpatialTagPlugin__tag-x", !0), h(
27
37
  a,
28
38
  "PanoSpatialTagPlugin__tag-upside-down",
@@ -42,8 +52,8 @@ function K(i) {
42
52
  );
43
53
  },
44
54
  m(e, l) {
45
- O(e, a, l), r(a, n), r(a, g), r(a, s), r(s, u), r(s, b), r(s, T), r(s, w), r(s, v), r(a, d), r(a, m), r(m, o), o.innerHTML = /*content*/
46
- i[2], i[16](o), S || (y = q(
55
+ I(e, a, l), r(a, n), r(a, g), r(a, s), r(s, u), r(s, b), r(s, T), r(s, w), r(s, v), r(a, d), r(a, m), r(m, o), o.innerHTML = /*content*/
56
+ i[2], i[16](o), S || (y = L(
47
57
  o,
48
58
  "click",
49
59
  /*handleClickContent*/
@@ -52,14 +62,14 @@ function K(i) {
52
62
  },
53
63
  p(e, [l]) {
54
64
  l & /*contentWidth, contentZoom, contentHeight, upsideDown*/
55
- 394 && p(n, "transform", "translate(" + /*contentWidth*/
65
+ 394 && c(n, "transform", "translate(" + /*contentWidth*/
56
66
  e[7] / 2 * /*contentZoom*/
57
67
  e[3] * 3 + "px, " + /*contentHeight*/
58
68
  e[8] / 2 * /*upsideDown*/
59
69
  (e[1] ? -1 : 1) * /*contentZoom*/
60
70
  e[3] * 3 + "px) scale(" + 1 / /*contentZoom*/
61
71
  e[3] + ")"), l & /*lineWidthZoom*/
62
- 16 && p(
72
+ 16 && c(
63
73
  u,
64
74
  "width",
65
75
  /*lineWidthZoom*/
@@ -67,11 +77,11 @@ function K(i) {
67
77
  ), l & /*content*/
68
78
  4 && (o.innerHTML = /*content*/
69
79
  e[2]), l & /*contentZoom*/
70
- 8 && p(m, "transform", "scale(" + /*contentZoom*/
80
+ 8 && c(m, "transform", "scale(" + /*contentZoom*/
71
81
  e[3] * 3 + ")"), l & /*id*/
72
82
  1 && _ !== (_ = "PanoSpatialTagPlugin__" + /*id*/
73
83
  e[0]) && P(a, "id", _), l & /*lineHeightZoom*/
74
- 32 && p(a, "height", 20 * /*lineHeightZoom*/
84
+ 32 && c(a, "height", 20 * /*lineHeightZoom*/
75
85
  e[5] + "rem"), l & /*upsideDown*/
76
86
  2 && h(
77
87
  a,
@@ -96,7 +106,7 @@ function K(i) {
96
106
  i: D,
97
107
  o: D,
98
108
  d(e) {
99
- e && A(a), i[16](null), S = !1, y();
109
+ e && O(a), i[16](null), S = !1, y();
100
110
  }
101
111
  };
102
112
  }
@@ -125,7 +135,7 @@ function Q(i, a, n) {
125
135
  }), f = f.parentNode;
126
136
  }
127
137
  };
128
- E(() => {
138
+ A(() => {
129
139
  _.emit("initTag", { id: g });
130
140
  });
131
141
  const N = G.subscribe((t) => {
@@ -139,13 +149,13 @@ function Q(i, a, n) {
139
149
  1500
140
150
  )));
141
151
  });
142
- U(() => {
152
+ E(() => {
143
153
  n(7, S = e.offsetWidth), n(8, y = e.offsetHeight), !k && n(10, l = !d);
144
- }), B(() => {
154
+ }), U(() => {
145
155
  _.emit("destroyTag", { id: g }), N(), m();
146
156
  });
147
157
  function C(t) {
148
- F[t ? "unshift" : "push"](() => {
158
+ q[t ? "unshift" : "push"](() => {
149
159
  e = t, n(9, e);
150
160
  });
151
161
  }
@@ -171,14 +181,14 @@ function Q(i, a, n) {
171
181
  C
172
182
  ];
173
183
  }
174
- class x extends M {
184
+ class ra extends B {
175
185
  constructor(a) {
176
- super(), j(
186
+ super(), F(
177
187
  this,
178
188
  a,
179
189
  Q,
180
190
  K,
181
- I,
191
+ M,
182
192
  {
183
193
  id: 0,
184
194
  upsideDown: 1,
@@ -197,5 +207,5 @@ class x extends M {
197
207
  }
198
208
  }
199
209
  export {
200
- x as default
210
+ ra as default
201
211
  };