@realsee/dnalogel 2.15.1-alpha.0 → 2.16.0-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 (365) hide show
  1. package/dist/CSS3DRenderPlugin/Controller.d.ts +1 -0
  2. package/dist/CruisePlugin/Controller.d.ts +1 -2
  3. package/dist/CruisePlugin/typing.d.ts +12 -2
  4. package/dist/GuideLinePlugin/Controller.d.ts +17 -11
  5. package/dist/GuideLinePlugin/GuideLineItem.d.ts +26 -0
  6. package/dist/GuideLinePlugin/GuideLineModeItem.d.ts +61 -0
  7. package/dist/GuideLinePlugin/index.d.ts +3 -0
  8. package/dist/GuideLinePlugin/typing.d.ts +78 -1
  9. package/dist/GuideLinePlugin/utils/createLineGeometry.d.ts +19 -0
  10. package/dist/GuideLinePlugin/utils/index.d.ts +7 -0
  11. package/dist/PanoTagPlugin/typings/controller.d.ts +0 -3
  12. package/dist/PanoTagPlugin/typings/tag/Utils.d.ts +0 -1
  13. package/dist/base/BasePlugin.d.ts +1 -0
  14. package/dist/index.cjs.js +118 -118
  15. package/dist/index.js +4429 -4314
  16. package/dist/index.umd.js +117 -117
  17. package/dist/shared-utils/five/index.d.ts +1 -0
  18. package/dist/shared-utils/five/mode.d.ts +3 -0
  19. package/dist/shared-utils/index.d.ts +3 -0
  20. package/dist/shared-utils/isAbsoluteURL.d.ts +1 -0
  21. package/dist/shared-utils/log.d.ts +2 -0
  22. package/docs/assets/search.js +1 -1
  23. package/docs/classes/CSS3DRender.html +33 -31
  24. package/docs/classes/CruisePluginController.html +43 -25
  25. package/docs/classes/GuideLineItem.GuideLineItem.html +168 -0
  26. package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +283 -0
  27. package/docs/classes/Magnifier.html +22 -20
  28. package/docs/classes/ModelRoomLabelController.html +13 -11
  29. package/docs/classes/Object3DHelperController.html +42 -24
  30. package/docs/classes/PaintBrush.html +17 -15
  31. package/docs/classes/PanoMeasurePluginLine.html +25 -23
  32. package/docs/classes/PanoMeasurePluginModel.html +24 -22
  33. package/docs/classes/PanoMeasurePluginPoint.html +16 -14
  34. package/docs/classes/PanoMeasurePluginPolyline.html +28 -26
  35. package/docs/classes/PanoTagPluginController.html +64 -46
  36. package/docs/classes/Util.BetterTween.html +10 -8
  37. package/docs/classes/Util.FivePointSelector.html +14 -12
  38. package/docs/classes/Util.Interval.html +14 -12
  39. package/docs/classes/Util.Magnifier.html +19 -17
  40. package/docs/classes/Util.PointDomHelper.html +13 -11
  41. package/docs/classes/Util.PointHelper.html +13 -11
  42. package/docs/classes/Util.Rectangle.html +15 -13
  43. package/docs/enums/CameraMovementEffect.html +9 -7
  44. package/docs/enums/ContentType.html +21 -19
  45. package/docs/enums/DIRECTION.html +11 -9
  46. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +11 -9
  47. package/docs/enums/DimensionType.html +9 -7
  48. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +10 -8
  49. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +11 -9
  50. package/docs/enums/PaintBrushTypeEnum.html +10 -8
  51. package/docs/enums/Rotation.html +10 -8
  52. package/docs/functions/CSS3DRenderPlugin.html +6 -4
  53. package/docs/functions/CameraMovementPlugin.html +6 -4
  54. package/docs/functions/CruisePlugin.html +6 -4
  55. package/docs/functions/GuideLinePlugin.html +7 -5
  56. package/docs/functions/ItemLabelPlugin.html +6 -4
  57. package/docs/functions/MapviewFloorplanPlugin.html +6 -4
  58. package/docs/functions/ModelChassisCompassPlugin.html +6 -4
  59. package/docs/functions/ModelEntryDoorGuidePlugin.html +6 -4
  60. package/docs/functions/ModelFloorplanPlugin.html +6 -4
  61. package/docs/functions/ModelItemLabelPlugin.html +6 -4
  62. package/docs/functions/ModelRoomLabelPlugin.html +6 -4
  63. package/docs/functions/ModelTVVideoPlugin.html +6 -4
  64. package/docs/functions/ModelViewPlugin.html +6 -4
  65. package/docs/functions/Object3DHelperPlugin.html +6 -4
  66. package/docs/functions/PanoCompassPlugin.html +6 -4
  67. package/docs/functions/PanoCursorRaycasterPlugin.html +6 -4
  68. package/docs/functions/PanoDoorLabelPlugin.html +6 -4
  69. package/docs/functions/PanoFloorplanRadarPlugin.html +6 -4
  70. package/docs/functions/PanoMeasurePlugin.html +6 -4
  71. package/docs/functions/PanoRulerPlugin.html +6 -4
  72. package/docs/functions/PanoRulerProPlugin.html +6 -4
  73. package/docs/functions/PanoSpatialTagPlugin.html +6 -4
  74. package/docs/functions/PanoTagPlugin.html +6 -4
  75. package/docs/functions/PanoVideoPlugin.html +6 -4
  76. package/docs/functions/TopviewFloorplanPlugin.html +6 -4
  77. package/docs/functions/Util.getCoordsFromClient.html +12 -6
  78. package/docs/functions/Util.getCoordsFromElement.html +12 -6
  79. package/docs/functions/Util.getFrameTime.html +12 -6
  80. package/docs/functions/Util.getIntersectFromRelativePosition.html +12 -6
  81. package/docs/functions/Util.getRaycasterFromFivePointer.html +12 -6
  82. package/docs/functions/Util.isAbsoluteURL.html +78 -0
  83. package/docs/functions/Util.isModelLike.html +78 -0
  84. package/docs/functions/Util.isNil.html +12 -6
  85. package/docs/functions/Util.isPanoramaLike.html +78 -0
  86. package/docs/functions/Util.nextFrame.html +12 -6
  87. package/docs/functions/Util.notNil.html +12 -6
  88. package/docs/functions/Util.requestAnimationFrameInterval.html +12 -6
  89. package/docs/functions/Util.tweenProgress.html +12 -6
  90. package/docs/functions/Util.uuid.html +75 -0
  91. package/docs/functions/pluginFlag.html +7 -5
  92. package/docs/index.html +6 -4
  93. package/docs/interfaces/AddTagConfig.html +8 -6
  94. package/docs/interfaces/CSS3DRenderPluginEventMap.html +13 -11
  95. package/docs/interfaces/CSS3DRenderPluginState.html +10 -8
  96. package/docs/interfaces/CameraMovementPluginExportType.html +9 -7
  97. package/docs/interfaces/EventMap.html +17 -15
  98. package/docs/interfaces/FloorplanBounding.html +10 -8
  99. package/docs/interfaces/FloorplanData.html +12 -10
  100. package/docs/interfaces/FloorplanEntrance.html +13 -11
  101. package/docs/interfaces/FloorplanExtraObject.html +12 -10
  102. package/docs/interfaces/FloorplanExtraObject3D.html +10 -8
  103. package/docs/interfaces/FloorplanFloorData.html +11 -9
  104. package/docs/interfaces/FloorplanImagePosition.html +9 -7
  105. package/docs/interfaces/FloorplanObserver.html +11 -9
  106. package/docs/interfaces/FloorplanOutlineItem.html +11 -9
  107. package/docs/interfaces/FloorplanPosition.html +9 -7
  108. package/docs/interfaces/FloorplanRoomItem.html +15 -13
  109. package/docs/interfaces/FloorplanRoomLabelItem.html +9 -7
  110. package/docs/interfaces/FloorplanServerBounding.html +10 -8
  111. package/docs/interfaces/FloorplanServerComputedData.html +12 -10
  112. package/docs/interfaces/FloorplanServerData.html +9 -7
  113. package/docs/interfaces/FloorplanServerDoorItem.html +12 -10
  114. package/docs/interfaces/FloorplanServerDoorPosition.html +10 -8
  115. package/docs/interfaces/FloorplanServerEntrance.html +13 -11
  116. package/docs/interfaces/FloorplanServerFloorData.html +11 -9
  117. package/docs/interfaces/FloorplanServerImagePosition.html +9 -7
  118. package/docs/interfaces/FloorplanServerObserver.html +11 -9
  119. package/docs/interfaces/FloorplanServerOutlineItem.html +11 -9
  120. package/docs/interfaces/FloorplanServerPosition.html +9 -7
  121. package/docs/interfaces/FloorplanServerRoomItem.html +16 -14
  122. package/docs/interfaces/FloorplanServerRoomLabelItem.html +9 -7
  123. package/docs/interfaces/HelperOffset.html +10 -8
  124. package/docs/interfaces/ImagePlaneGroup.html +8 -6
  125. package/docs/interfaces/ItemLabelPluginData.html +8 -6
  126. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +13 -11
  127. package/docs/interfaces/ItemLabelPluginParametersType.html +11 -9
  128. package/docs/interfaces/MinMax.html +9 -7
  129. package/docs/interfaces/ModelChassisCompassPluginData.html +9 -7
  130. package/docs/interfaces/ModelChassisCompassPluginExportType.html +10 -8
  131. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +9 -7
  132. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +10 -8
  133. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +10 -8
  134. package/docs/interfaces/ModelItemLabelPluginData.html +8 -6
  135. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +13 -11
  136. package/docs/interfaces/ModelItemLabelPluginParametersType.html +9 -7
  137. package/docs/interfaces/ModelRoomLabelPluginData.html +8 -6
  138. package/docs/interfaces/ModelTVVideoPluginData.html +11 -9
  139. package/docs/interfaces/ModelTVVideoPluginExportType.html +10 -8
  140. package/docs/interfaces/ModelTVVideoPluginParameterType.html +8 -6
  141. package/docs/interfaces/ModelViewPluginExportType.html +13 -11
  142. package/docs/interfaces/Object3DHelperState.html +10 -8
  143. package/docs/interfaces/ObjectHelperControllers.html +11 -9
  144. package/docs/interfaces/PaintBrushAction.html +14 -12
  145. package/docs/interfaces/PaintBrushConfigs.html +14 -12
  146. package/docs/interfaces/PaintBrushState.html +12 -10
  147. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +12 -10
  148. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +7 -5
  149. package/docs/interfaces/PanoMeasureParameterType.html +16 -14
  150. package/docs/interfaces/PanoMeasurePluginLineJson.html +10 -8
  151. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +9 -7
  152. package/docs/interfaces/PanoMeasurePluginPointJson.html +9 -7
  153. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +10 -8
  154. package/docs/interfaces/PanoRulerPluginExportType.html +12 -10
  155. package/docs/interfaces/PanoRulerPluginOptions.html +9 -7
  156. package/docs/interfaces/PanoRulerPluginParameterType.html +10 -8
  157. package/docs/interfaces/PanoRulerProPluginExportType.html +11 -9
  158. package/docs/interfaces/PanoRulerProPluginOptions.html +9 -7
  159. package/docs/interfaces/PanoRulerProPluginParameterType.html +9 -7
  160. package/docs/interfaces/PanoRulerProPluginState.html +10 -8
  161. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +7 -5
  162. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +7 -5
  163. package/docs/interfaces/PanoSpatialTagPluginData.html +13 -11
  164. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +12 -10
  165. package/docs/interfaces/PanoSpatialTagPluginExportType.html +15 -13
  166. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +12 -10
  167. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +15 -13
  168. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +13 -11
  169. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +12 -10
  170. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +8 -6
  171. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +10 -8
  172. package/docs/interfaces/PanoVideoPluginType.PluginData.html +8 -6
  173. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +11 -9
  174. package/docs/interfaces/PanoVideoPluginType.PluginState.html +8 -6
  175. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +10 -8
  176. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +12 -10
  177. package/docs/interfaces/Point.html +10 -8
  178. package/docs/interfaces/Room.html +11 -9
  179. package/docs/interfaces/RoomInfo.html +9 -7
  180. package/docs/interfaces/RoomLabel.html +16 -14
  181. package/docs/interfaces/RoomRules.html +7 -5
  182. package/docs/interfaces/Rooms.html +7 -5
  183. package/docs/interfaces/Scissor.html +11 -9
  184. package/docs/interfaces/State.html +10 -8
  185. package/docs/interfaces/TagCacheInterface.html +14 -12
  186. package/docs/interfaces/TagConfig.html +13 -11
  187. package/docs/interfaces/TagGLTFObjectGroup.html +8 -6
  188. package/docs/interfaces/TagIconUrl.html +13 -11
  189. package/docs/interfaces/TagObjectGroup.html +8 -6
  190. package/docs/interfaces/TagStyle.html +8 -6
  191. package/docs/interfaces/Tags.html +11 -9
  192. package/docs/interfaces/TemporaryState.html +8 -6
  193. package/docs/interfaces/Util.MagnifierParameter.html +13 -11
  194. package/docs/interfaces/Util.MouseGroupParameter.html +10 -8
  195. package/docs/modules/GuideLineItem.html +52 -0
  196. package/docs/modules/GuideLineModeItem.html +52 -0
  197. package/docs/modules/PanoVideoPluginType.html +7 -5
  198. package/docs/modules/Util.html +16 -6
  199. package/docs/modules.html +9 -5
  200. package/docs/types/ArrayPosition.html +7 -5
  201. package/docs/types/AudioAppearance.html +7 -5
  202. package/docs/types/AudioTagTypeConfigKey.html +7 -5
  203. package/docs/types/CSS3DRenderExportType.html +7 -5
  204. package/docs/types/CSS3DRenderPluginExportType.html +7 -5
  205. package/docs/types/CSS3DRenderPluginParameterType.html +7 -5
  206. package/docs/types/ClassFunctionParameters.html +7 -5
  207. package/docs/types/Color.html +7 -5
  208. package/docs/types/ContentTypeConfigKey.html +7 -5
  209. package/docs/types/ContentTypeConfigKeySplit.html +7 -5
  210. package/docs/types/ContentTypeMap.html +7 -5
  211. package/docs/types/Create3DDomContainerReturnType.html +7 -5
  212. package/docs/types/Create3DElementReturnType.html +7 -5
  213. package/docs/types/CruisePluginExportType.html +7 -5
  214. package/docs/types/Direction-1.html +7 -5
  215. package/docs/types/Direction4.html +7 -5
  216. package/docs/types/FloorplanRuleLabels.html +7 -5
  217. package/docs/types/FloorplanServerRuleLabels.html +7 -5
  218. package/docs/types/GuideLinePluginExportType.html +7 -5
  219. package/docs/types/HelperEventMap.html +7 -5
  220. package/docs/types/LoadTagConfig.html +7 -5
  221. package/docs/types/MapviewFloorplanPluginParameterType.html +7 -5
  222. package/docs/types/MapviewFloorplanPluginReturnType.html +7 -5
  223. package/docs/types/MediaData.html +7 -5
  224. package/docs/types/MediaStore.html +7 -5
  225. package/docs/types/ModelElement.html +7 -5
  226. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +7 -5
  227. package/docs/types/ModelFloorplanPluginParameterType.html +7 -5
  228. package/docs/types/ModelFloorplanPluginReturnType.html +7 -5
  229. package/docs/types/ModelRoomLabelPluginParameters.html +7 -5
  230. package/docs/types/ModelRoomLabelPluginReturnType.html +7 -5
  231. package/docs/types/MoveArgs.html +7 -5
  232. package/docs/types/MoveOpts.html +7 -5
  233. package/docs/types/Object3DHelperEventMap.html +7 -5
  234. package/docs/types/ObjectFit.html +7 -5
  235. package/docs/types/PaintBrushEventMap.html +7 -5
  236. package/docs/types/PanoCompassPluginData.html +7 -5
  237. package/docs/types/PanoCompassPluginExportType.html +7 -5
  238. package/docs/types/PanoCompassPluginParameterType.html +7 -5
  239. package/docs/types/PanoFloorplanRadarPluginParameterType.html +7 -5
  240. package/docs/types/PanoFloorplanRadarPluginReturnType.html +7 -5
  241. package/docs/types/PanoIndex.html +7 -5
  242. package/docs/types/PanoMeasurePluginEvent.html +7 -5
  243. package/docs/types/PanoMeasureReturnType.html +7 -5
  244. package/docs/types/PanoSpatialTagPluginId.html +7 -5
  245. package/docs/types/PanoTagPluginExportInterface.html +7 -5
  246. package/docs/types/PanoTagPluginParamsInterface.html +7 -5
  247. package/docs/types/PanoVideoPluginParameterType.html +7 -5
  248. package/docs/types/PanoVideoPluginReturnType.html +7 -5
  249. package/docs/types/PlaneTag.html +7 -5
  250. package/docs/types/PlaneTagElement.html +7 -5
  251. package/docs/types/Point2DElement.html +7 -5
  252. package/docs/types/Point2DTag.html +7 -5
  253. package/docs/types/Point3DElement.html +7 -5
  254. package/docs/types/Point3DTag.html +7 -5
  255. package/docs/types/PointTag.html +7 -5
  256. package/docs/types/PointTagElement.html +7 -5
  257. package/docs/types/Position.html +7 -5
  258. package/docs/types/RotateArgs.html +7 -5
  259. package/docs/types/RotateOpts.html +7 -5
  260. package/docs/types/RuleLabelsKey.html +7 -5
  261. package/docs/types/RuleLabelsValue.html +7 -5
  262. package/docs/types/StickType.html +7 -5
  263. package/docs/types/Tag.html +7 -5
  264. package/docs/types/Tag2D.html +7 -5
  265. package/docs/types/Tag3D.html +7 -5
  266. package/docs/types/TagContentType.html +7 -5
  267. package/docs/types/TagDimensionType.html +7 -5
  268. package/docs/types/TagElement.html +8 -6
  269. package/docs/types/TagEvents.html +7 -5
  270. package/docs/types/TagGLTFObject.html +8 -6
  271. package/docs/types/TagHooks.html +7 -5
  272. package/docs/types/TagIconSize.html +7 -5
  273. package/docs/types/TagId.html +7 -5
  274. package/docs/types/TopviewFloorplanPluginParameterType.html +7 -5
  275. package/docs/types/TopviewFloorplanPluginReturnType.html +7 -5
  276. package/docs/types/WorkCode.html +7 -5
  277. package/docs/variables/FLOOR_TYPE_MAP.html +7 -5
  278. package/docs/variables/PLUGIN.html +7 -5
  279. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +7 -5
  280. package/docs/variables/ROOM_TYPE_MAP.html +7 -5
  281. package/docs/variables/itemLabelPluginServerParams.html +7 -5
  282. package/docs/variables/modelItemLabelPluginServerParams.html +7 -5
  283. package/docs/variables/modelRoomLabelPluginServerParams.html +7 -5
  284. package/libs/CSS3DRenderPlugin/Controller.d.ts +1 -0
  285. package/libs/CSS3DRenderPlugin/Controller.js +40 -31
  286. package/libs/CSS3DRenderPlugin/index.js +12 -6
  287. package/libs/CruisePlugin/Controller.d.ts +1 -2
  288. package/libs/CruisePlugin/Controller.js +197 -174
  289. package/libs/CruisePlugin/index.js +33 -10
  290. package/libs/CruisePlugin/typing.d.ts +12 -2
  291. package/libs/GuideLinePlugin/Controller.d.ts +17 -11
  292. package/libs/GuideLinePlugin/Controller.js +111 -85
  293. package/libs/GuideLinePlugin/GuideLineItem/index.js +35 -0
  294. package/libs/GuideLinePlugin/GuideLineItem.d.ts +26 -0
  295. package/libs/GuideLinePlugin/GuideLineItem.js +31 -0
  296. package/libs/GuideLinePlugin/GuideLineModeItem/index.js +148 -0
  297. package/libs/GuideLinePlugin/GuideLineModeItem.d.ts +61 -0
  298. package/libs/GuideLinePlugin/GuideLineModeItem.js +29 -0
  299. package/libs/GuideLinePlugin/index.d.ts +3 -0
  300. package/libs/GuideLinePlugin/index.js +33 -7
  301. package/libs/GuideLinePlugin/typing.d.ts +78 -1
  302. package/libs/GuideLinePlugin/utils/createLineGeometry.d.ts +19 -0
  303. package/libs/GuideLinePlugin/utils/createLineGeometry.js +35 -0
  304. package/libs/GuideLinePlugin/utils/dataFormatter.d.ts +2 -0
  305. package/libs/GuideLinePlugin/utils/dataFormatter.js +6 -0
  306. package/libs/GuideLinePlugin/utils/index.d.ts +7 -0
  307. package/libs/GuideLinePlugin/utils/index.js +32 -0
  308. package/libs/ModelTVVideoPlugin/Plugin.js +37 -31
  309. package/libs/ModelTVVideoPlugin/index.js +11 -5
  310. package/libs/Object3DHelperPlugin/Controller.js +33 -28
  311. package/libs/Object3DHelperPlugin/index.js +18 -13
  312. package/libs/PanoCompassPlugin/Controller.js +8 -6
  313. package/libs/PanoCompassPlugin/index.js +12 -10
  314. package/libs/PanoDoorLabelPlugin/BaseController.js +47 -28
  315. package/libs/PanoDoorLabelPlugin/Controller.js +40 -22
  316. package/libs/PanoDoorLabelPlugin/index.js +21 -3
  317. package/libs/PanoMeasurePlugin/typings/index.js +20 -1
  318. package/libs/PanoSpatialTagPlugin/Plugin.js +8 -3
  319. package/libs/PanoSpatialTagPlugin/index.js +8 -3
  320. package/libs/PanoTagPlugin/Components/Common/Media.js +49 -49
  321. package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +1 -1
  322. package/libs/PanoTagPlugin/Components/Tag/index.js +1 -1
  323. package/libs/PanoTagPlugin/Components/TagContainer.js +1 -1
  324. package/libs/PanoTagPlugin/Components/TagItem.js +1 -1
  325. package/libs/PanoTagPlugin/controller/TagCache.js +42 -22
  326. package/libs/PanoTagPlugin/controller/TagComputer.js +4 -3
  327. package/libs/PanoTagPlugin/controller/TagRender.js +53 -58
  328. package/libs/PanoTagPlugin/controller/TagUtil.js +8 -3
  329. package/libs/PanoTagPlugin/controller/index.js +13 -15
  330. package/libs/PanoTagPlugin/index.js +11 -10
  331. package/libs/PanoTagPlugin/typings/controller.d.ts +0 -3
  332. package/libs/PanoTagPlugin/typings/tag/Utils.d.ts +0 -1
  333. package/libs/PanoVideoPlugin/Controller.js +4 -3
  334. package/libs/PanoVideoPlugin/VideoMeshController.js +1 -1
  335. package/libs/PanoVideoPlugin/index.js +7 -6
  336. package/libs/base/BasePlugin.d.ts +1 -0
  337. package/libs/base/BasePlugin.js +21 -10
  338. package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +57 -38
  339. package/libs/floorplan/MapviewFloorplanPlugin/index.js +22 -3
  340. package/libs/floorplan/ModelFloorplanPlugin/Controller.js +48 -29
  341. package/libs/floorplan/ModelFloorplanPlugin/index.js +22 -3
  342. package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +31 -11
  343. package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +23 -3
  344. package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +59 -40
  345. package/libs/floorplan/TopviewFloorplanPlugin/index.js +22 -3
  346. package/libs/floorplan/index.js +6 -0
  347. package/libs/index.js +77 -72
  348. package/libs/shared-utils/five/index.d.ts +1 -0
  349. package/libs/shared-utils/five/index.js +1 -0
  350. package/libs/shared-utils/five/mode.d.ts +3 -0
  351. package/libs/shared-utils/five/mode.js +11 -0
  352. package/libs/shared-utils/index.d.ts +3 -0
  353. package/libs/shared-utils/index.js +36 -29
  354. package/libs/shared-utils/isAbsoluteURL.d.ts +1 -0
  355. package/libs/shared-utils/isAbsoluteURL.js +6 -0
  356. package/libs/shared-utils/log.d.ts +2 -0
  357. package/libs/shared-utils/log.js +10 -0
  358. package/libs/shared-utils/three/PointDomHelper.js +1 -1
  359. package/package.json +2 -2
  360. package/dist/GuideLinePlugin/utils/getLineGeometries.d.ts +0 -16
  361. package/dist/shared-utils/logger.d.ts +0 -17
  362. package/libs/GuideLinePlugin/utils/getLineGeometries.d.ts +0 -16
  363. package/libs/GuideLinePlugin/utils/getLineGeometries.js +0 -64
  364. package/libs/shared-utils/logger.d.ts +0 -17
  365. package/libs/shared-utils/logger.js +0 -16
@@ -1,4 +1,4 @@
1
- import { SvelteComponent as ae, init as le, safe_not_equal as oe, append_styles as re, empty as U, insert as D, transition_in as c, transition_out as p, check_outros as q, detach as w, getContext as F, onMount as me, onDestroy as se, element as G, attr as H, toggle_class as y, append as ue, group_outros as M, add_render_callback as fe, create_in_transition as de, identity as J, create_out_transition as ce, binding_callbacks as E, assign as W, bind as X, create_component as S, mount_component as N, get_spread_update as Y, get_spread_object as Z, add_flush_callback as x, destroy_component as j, destroy_each as _e } from "../../../vendor/svelte/internal/index.js";
1
+ import { SvelteComponent as ae, init as le, safe_not_equal as oe, append_styles as re, empty as U, insert as q, transition_in as c, transition_out as p, check_outros as D, detach as w, getContext as F, onMount as me, onDestroy as ue, element as G, attr as H, toggle_class as I, append as se, group_outros as M, add_render_callback as fe, create_in_transition as de, identity as J, create_out_transition as ce, binding_callbacks as E, assign as W, bind as X, create_component as S, mount_component as N, get_spread_update as Y, get_spread_object as Z, add_flush_callback as x, destroy_component as j, destroy_each as _e } from "../../../vendor/svelte/internal/index.js";
2
2
  import { Carousel as ge } from "../../../vendor/svelte-carousel/src/components/Carousel/Carousel.js";
3
3
  import { fly as K } from "../../../vendor/svelte/transition/index.js";
4
4
  import $ from "./MediaItem.js";
@@ -40,37 +40,37 @@ function P(t, i, l) {
40
40
  return n[25] = i[l], n[26] = i, n[27] = l, n;
41
41
  }
42
42
  function Q(t) {
43
- let i, l, n, e, s, r, a;
44
- const o = [he, be], u = [];
45
- function I(f, _) {
43
+ let i, l, n, e, u, r, a;
44
+ const o = [he, be], s = [];
45
+ function y(f, _) {
46
46
  return f[13] && f[10].length > 1 ? 0 : 1;
47
47
  }
48
- return n = I(t), e = u[n] = o[n](t), {
48
+ return n = y(t), e = s[n] = o[n](t), {
49
49
  c() {
50
- i = G("div"), l = G("div"), e.c(), H(l, "class", "media-list svelte-1mrbqlg"), y(l, "carouselEnabled", t[13]), H(i, "class", "media-list-wrapper svelte-1mrbqlg"), y(i, "unfolded", t[5]);
50
+ i = G("div"), l = G("div"), e.c(), H(l, "class", "media-list svelte-1mrbqlg"), I(l, "carouselEnabled", t[13]), H(i, "class", "media-list-wrapper svelte-1mrbqlg"), I(i, "unfolded", t[5]);
51
51
  },
52
52
  m(f, _) {
53
- D(f, i, _), ue(i, l), u[n].m(l, null), a = !0;
53
+ q(f, i, _), se(i, l), s[n].m(l, null), a = !0;
54
54
  },
55
55
  p(f, _) {
56
56
  t = f;
57
57
  let b = n;
58
- n = I(t), n === b ? u[n].p(t, _) : (M(), p(u[b], 1, 1, () => {
59
- u[b] = null;
60
- }), q(), e = u[n], e ? e.p(t, _) : (e = u[n] = o[n](t), e.c()), c(e, 1), e.m(l, null)), (!a || _ & 8192) && y(l, "carouselEnabled", t[13]), (!a || _ & 32) && y(i, "unfolded", t[5]);
58
+ n = y(t), n === b ? s[n].p(t, _) : (M(), p(s[b], 1, 1, () => {
59
+ s[b] = null;
60
+ }), D(), e = s[n], e ? e.p(t, _) : (e = s[n] = o[n](t), e.c()), c(e, 1), e.m(l, null)), (!a || _ & 8192) && I(l, "carouselEnabled", t[13]), (!a || _ & 32) && I(i, "unfolded", t[5]);
61
61
  },
62
62
  i(f) {
63
63
  a || (c(e), f && fe(() => {
64
- r && r.end(1), s = de(i, K, t[6] ? {
64
+ r && r.end(1), u = de(i, K, t[6] ? {
65
65
  y: 4,
66
66
  duration: t[4],
67
67
  delay: t[2],
68
68
  easing: J
69
- } : void 0), s.start();
69
+ } : void 0), u.start();
70
70
  }), a = !0);
71
71
  },
72
72
  o(f) {
73
- p(e), s && s.invalidate(), f && (r = ce(i, K, t[6] ? {
73
+ p(e), u && u.invalidate(), f && (r = ce(i, K, t[6] ? {
74
74
  y: 4,
75
75
  duration: t[4],
76
76
  delay: t[3],
@@ -78,7 +78,7 @@ function Q(t) {
78
78
  } : void 0)), a = !1;
79
79
  },
80
80
  d(f) {
81
- f && w(i), u[n].d(), f && r && r.end();
81
+ f && w(i), s[n].d(), f && r && r.end();
82
82
  }
83
83
  };
84
84
  }
@@ -89,13 +89,13 @@ function be(t) {
89
89
  t[7],
90
90
  { tag: t[0] }
91
91
  ];
92
- function s(a) {
92
+ function u(a) {
93
93
  t[20](a);
94
94
  }
95
95
  let r = {};
96
96
  for (let a = 0; a < e.length; a += 1)
97
97
  r = W(r, e[a]);
98
- return t[8][0] !== void 0 && (r.mediaInstance = t[8][0]), i = new $({ props: r }), E.push(() => X(i, "mediaInstance", s)), {
98
+ return t[8][0] !== void 0 && (r.mediaInstance = t[8][0]), i = new $({ props: r }), E.push(() => X(i, "mediaInstance", u)), {
99
99
  c() {
100
100
  S(i.$$.fragment);
101
101
  },
@@ -103,12 +103,12 @@ function be(t) {
103
103
  N(i, a, o), n = !0;
104
104
  },
105
105
  p(a, o) {
106
- const u = o & 131 ? Y(e, [
106
+ const s = o & 131 ? Y(e, [
107
107
  o & 2 && { media: a[1][0] },
108
108
  o & 128 && Z(a[7]),
109
109
  o & 1 && { tag: a[0] }
110
110
  ]) : {};
111
- !l && o & 256 && (l = !0, u.mediaInstance = a[8][0], x(() => l = !1)), i.$set(u);
111
+ !l && o & 256 && (l = !0, s.mediaInstance = a[8][0], x(() => l = !1)), i.$set(s);
112
112
  },
113
113
  i(a) {
114
114
  n || (c(i.$$.fragment, a), n = !0);
@@ -125,19 +125,19 @@ function he(t) {
125
125
  let i, l, n = {
126
126
  dots: !1,
127
127
  arrows: !1,
128
- $$slots: { default: [Ie] },
128
+ $$slots: { default: [ye] },
129
129
  $$scope: { ctx: t }
130
130
  };
131
131
  return i = new ge({ props: n }), t[18](i), i.$on("pageChange", t[19]), {
132
132
  c() {
133
133
  S(i.$$.fragment);
134
134
  },
135
- m(e, s) {
136
- N(i, e, s), l = !0;
135
+ m(e, u) {
136
+ N(i, e, u), l = !0;
137
137
  },
138
- p(e, s) {
138
+ p(e, u) {
139
139
  const r = {};
140
- s & 268436865 && (r.$$scope = { dirty: s, ctx: e }), i.$set(r);
140
+ u & 268436865 && (r.$$scope = { dirty: u, ctx: e }), i.$set(r);
141
141
  },
142
142
  i(e) {
143
143
  l || (c(i.$$.fragment, e), l = !0);
@@ -157,13 +157,13 @@ function R(t) {
157
157
  { media: t[25] },
158
158
  { tag: t[0] }
159
159
  ];
160
- function s(a) {
160
+ function u(a) {
161
161
  t[17](a, t[27]);
162
162
  }
163
163
  let r = {};
164
164
  for (let a = 0; a < e.length; a += 1)
165
165
  r = W(r, e[a]);
166
- return t[8][t[27]] !== void 0 && (r.mediaInstance = t[8][t[27]]), i = new $({ props: r }), E.push(() => X(i, "mediaInstance", s)), {
166
+ return t[8][t[27]] !== void 0 && (r.mediaInstance = t[8][t[27]]), i = new $({ props: r }), E.push(() => X(i, "mediaInstance", u)), {
167
167
  c() {
168
168
  S(i.$$.fragment);
169
169
  },
@@ -172,12 +172,12 @@ function R(t) {
172
172
  },
173
173
  p(a, o) {
174
174
  t = a;
175
- const u = o & 1153 ? Y(e, [
175
+ const s = o & 1153 ? Y(e, [
176
176
  o & 128 && Z(t[7]),
177
177
  o & 1024 && { media: t[25] },
178
178
  o & 1 && { tag: t[0] }
179
179
  ]) : {};
180
- !l && o & 256 && (l = !0, u.mediaInstance = t[8][t[27]], x(() => l = !1)), i.$set(u);
180
+ !l && o & 256 && (l = !0, s.mediaInstance = t[8][t[27]], x(() => l = !1)), i.$set(s);
181
181
  },
182
182
  i(a) {
183
183
  n || (c(i.$$.fragment, a), n = !0);
@@ -190,11 +190,11 @@ function R(t) {
190
190
  }
191
191
  };
192
192
  }
193
- function Ie(t) {
193
+ function ye(t) {
194
194
  let i, l, n = t[10], e = [];
195
195
  for (let r = 0; r < n.length; r += 1)
196
196
  e[r] = R(P(t, n, r));
197
- const s = (r) => p(e[r], 1, 1, () => {
197
+ const u = (r) => p(e[r], 1, 1, () => {
198
198
  e[r] = null;
199
199
  });
200
200
  return {
@@ -206,19 +206,19 @@ function Ie(t) {
206
206
  m(r, a) {
207
207
  for (let o = 0; o < e.length; o += 1)
208
208
  e[o].m(r, a);
209
- D(r, i, a), l = !0;
209
+ q(r, i, a), l = !0;
210
210
  },
211
211
  p(r, a) {
212
212
  if (a & 1409) {
213
213
  n = r[10];
214
214
  let o;
215
215
  for (o = 0; o < n.length; o += 1) {
216
- const u = P(r, n, o);
217
- e[o] ? (e[o].p(u, a), c(e[o], 1)) : (e[o] = R(u), e[o].c(), c(e[o], 1), e[o].m(i.parentNode, i));
216
+ const s = P(r, n, o);
217
+ e[o] ? (e[o].p(s, a), c(e[o], 1)) : (e[o] = R(s), e[o].c(), c(e[o], 1), e[o].m(i.parentNode, i));
218
218
  }
219
219
  for (M(), o = n.length; o < e.length; o += 1)
220
- s(o);
221
- q();
220
+ u(o);
221
+ D();
222
222
  }
223
223
  },
224
224
  i(r) {
@@ -239,19 +239,19 @@ function Ie(t) {
239
239
  }
240
240
  };
241
241
  }
242
- function ye(t) {
242
+ function Ie(t) {
243
243
  let i, l, n = t[5] && Q(t);
244
244
  return {
245
245
  c() {
246
246
  n && n.c(), i = U();
247
247
  },
248
- m(e, s) {
249
- n && n.m(e, s), D(e, i, s), l = !0;
248
+ m(e, u) {
249
+ n && n.m(e, u), q(e, i, u), l = !0;
250
250
  },
251
- p(e, [s]) {
252
- e[5] ? n ? (n.p(e, s), s & 32 && c(n, 1)) : (n = Q(e), n.c(), c(n, 1), n.m(i.parentNode, i)) : n && (M(), p(n, 1, 1, () => {
251
+ p(e, [u]) {
252
+ e[5] ? n ? (n.p(e, u), u & 32 && c(n, 1)) : (n = Q(e), n.c(), c(n, 1), n.m(i.parentNode, i)) : n && (M(), p(n, 1, 1, () => {
253
253
  n = null;
254
- }), q());
254
+ }), D());
255
255
  },
256
256
  i(e) {
257
257
  l || (c(n), l = !0);
@@ -265,7 +265,7 @@ function ye(t) {
265
265
  };
266
266
  }
267
267
  function ke(t, i, l) {
268
- let n, e, s, r, { tag: a } = i, { mediaData: o } = i, { inDelay: u = 0 } = i, { outDelay: I = 0 } = i, { duration: f = 0 } = i, { unfolded: _ = !0 } = i, { animation: b = !0 } = i, { mediaItemConfig: L } = i, { enableCarousel: k = !0 } = i, { autoplayConfig: C = { autoplay: !0, autoplayVideo: !1 } } = i, g = [], v = 0, h, B = null;
268
+ let n, e, u, r, { tag: a } = i, { mediaData: o } = i, { inDelay: s = 0 } = i, { outDelay: y = 0 } = i, { duration: f = 0 } = i, { unfolded: _ = !0 } = i, { animation: b = !0 } = i, { mediaItemConfig: L } = i, { enableCarousel: k = !0 } = i, { autoplayConfig: C = { autoplay: !0, autoplayVideo: !1 } } = i, g = [], v = 0, h, B = null;
269
269
  const O = F("hooks"), T = F("mediaStore");
270
270
  function V() {
271
271
  const m = g[v], d = m == null ? void 0 : m.videoInstance;
@@ -274,14 +274,14 @@ function ke(t, i, l) {
274
274
  me(() => {
275
275
  O.on("click", (m) => {
276
276
  var d, z, A;
277
- !((A = (z = (d = a.tag3DContentSvelte) == null ? void 0 : d.css3DInstance) == null ? void 0 : z.css3DObject) != null && A.opacityMesh) || m.tag.id === a.id && V();
277
+ !((A = (z = (d = a.tag3DContentSvelte) == null ? void 0 : d.domContainer) == null ? void 0 : z.css3DObject) != null && A.opacityMesh) || m.tag.id === a.id && V();
278
278
  }), B = setInterval(
279
279
  () => {
280
280
  r && (h == null || h.goToNext());
281
281
  },
282
282
  3e3
283
283
  );
284
- }), se(() => {
284
+ }), ue(() => {
285
285
  clearInterval(B), O.off("click", V);
286
286
  });
287
287
  function ee(m, d) {
@@ -299,21 +299,21 @@ function ke(t, i, l) {
299
299
  t.$$.not_equal(g[0], m) && (g[0] = m, l(8, g));
300
300
  }
301
301
  return t.$$set = (m) => {
302
- "tag" in m && l(0, a = m.tag), "mediaData" in m && l(1, o = m.mediaData), "inDelay" in m && l(2, u = m.inDelay), "outDelay" in m && l(3, I = m.outDelay), "duration" in m && l(4, f = m.duration), "unfolded" in m && l(5, _ = m.unfolded), "animation" in m && l(6, b = m.animation), "mediaItemConfig" in m && l(7, L = m.mediaItemConfig), "enableCarousel" in m && l(15, k = m.enableCarousel), "autoplayConfig" in m && l(16, C = m.autoplayConfig);
302
+ "tag" in m && l(0, a = m.tag), "mediaData" in m && l(1, o = m.mediaData), "inDelay" in m && l(2, s = m.inDelay), "outDelay" in m && l(3, y = m.outDelay), "duration" in m && l(4, f = m.duration), "unfolded" in m && l(5, _ = m.unfolded), "animation" in m && l(6, b = m.animation), "mediaItemConfig" in m && l(7, L = m.mediaItemConfig), "enableCarousel" in m && l(15, k = m.enableCarousel), "autoplayConfig" in m && l(16, C = m.autoplayConfig);
303
303
  }, t.$$.update = () => {
304
- t.$$.dirty & 256 && l(9, n = g.every((m) => m.paused)), t.$$.dirty & 32770 && l(13, e = k && (o == null ? void 0 : o.length) > 1), t.$$.dirty & 2 && l(10, s = o), t.$$.dirty & 67072 && (r = s.length > 1 && C.autoplay && n);
304
+ t.$$.dirty & 256 && l(9, n = g.every((m) => m.paused)), t.$$.dirty & 32770 && l(13, e = k && (o == null ? void 0 : o.length) > 1), t.$$.dirty & 2 && l(10, u = o), t.$$.dirty & 67072 && (r = u.length > 1 && C.autoplay && n);
305
305
  }, [
306
306
  a,
307
307
  o,
308
- u,
309
- I,
308
+ s,
309
+ y,
310
310
  f,
311
311
  _,
312
312
  b,
313
313
  L,
314
314
  g,
315
315
  n,
316
- s,
316
+ u,
317
317
  v,
318
318
  h,
319
319
  e,
@@ -332,7 +332,7 @@ class it extends ae {
332
332
  this,
333
333
  i,
334
334
  ke,
335
- ye,
335
+ Ie,
336
336
  oe,
337
337
  {
338
338
  tag: 0,
@@ -1,7 +1,7 @@
1
1
  import { SvelteComponent as te, init as le, safe_not_equal as ie, append_styles as se, element as p, create_component as re, space as T, text as L, attr as g, set_style as C, null_to_empty as D, toggle_class as Y, insert as k, mount_component as ne, append as d, set_data as S, transition_in as ae, transition_out as oe, detach as y, destroy_component as ce, src_url_equal as F, add_render_callback as fe, add_resize_listener as me, destroy_each as j } from "../../../vendor/svelte/internal/index.js";
2
+ import "@realsee/five";
2
3
  import "hammerjs";
3
4
  import "three";
4
- import "@realsee/five";
5
5
  import "@tweenjs/tween.js";
6
6
  import "../../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
7
7
  import "../../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
@@ -64,8 +64,8 @@ import "../../../vendor/svelte-carousel/src/utils/lazy.js";
64
64
  import "../../../vendor/svelte-carousel/src/utils/ProgressManager.js";
65
65
  import "../../../vendor/svelte-carousel/src/utils/interval.js";
66
66
  import "../Common/MediaItem.js";
67
- import "hammerjs";
68
67
  import "@realsee/five";
68
+ import "hammerjs";
69
69
  import "@tweenjs/tween.js";
70
70
  import "../../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
71
71
  import "../../../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
@@ -59,8 +59,8 @@ import "../../vendor/svelte-carousel/src/utils/ProgressManager.js";
59
59
  import "../../vendor/svelte-carousel/src/utils/interval.js";
60
60
  import "./Common/MediaItem.js";
61
61
  import "./Tag/MarketingTag.js";
62
- import "hammerjs";
63
62
  import "@realsee/five";
63
+ import "hammerjs";
64
64
  import "@tweenjs/tween.js";
65
65
  import "../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
66
66
  import "../../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
@@ -61,8 +61,8 @@ import "../../vendor/svelte-carousel/src/utils/ProgressManager.js";
61
61
  import "../../vendor/svelte-carousel/src/utils/interval.js";
62
62
  import "./Common/MediaItem.js";
63
63
  import "./Tag/MarketingTag.js";
64
- import "hammerjs";
65
64
  import "@realsee/five";
65
+ import "hammerjs";
66
66
  import "@tweenjs/tween.js";
67
67
  import "../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
68
68
  import "../../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
@@ -1,27 +1,47 @@
1
- var x = Object.defineProperty;
2
- var u = (a, t, e) => t in a ? x(a, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : a[t] = e;
3
- var l = (a, t, e) => (u(a, typeof t != "symbol" ? t + "" : t, e), e);
4
- import { Controller as v } from "../../base/BasePlugin.js";
1
+ var f = Object.defineProperty;
2
+ var l = (r, o, t) => o in r ? f(r, o, { enumerable: !0, configurable: !0, writable: !0, value: t }) : r[o] = t;
3
+ var d = (r, o, t) => (l(r, typeof o != "symbol" ? o + "" : o, t), t);
4
+ import { Controller as x } from "../../base/BasePlugin.js";
5
5
  import "../../shared-utils/Subscribe.js";
6
- class m extends v {
7
- constructor(e) {
8
- super(e);
9
- l(this, "tagCacheByPanoIndex", {});
6
+ import "@realsee/five";
7
+ import "hammerjs";
8
+ import "three";
9
+ import "@tweenjs/tween.js";
10
+ import "../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
11
+ import "../../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
12
+ import "three/examples/jsm/renderers/CSS3DRenderer";
13
+ import "../../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
14
+ import "../../CSS3DRenderPlugin/utils/createResizeObserver.js";
15
+ import "../../CSS3DRenderPlugin/utils/even.js";
16
+ import "../../CSS3DRenderPlugin/utils/positionToVector3.js";
17
+ import "../../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
18
+ import "../../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
19
+ import "../../shared-utils/three/centerPoint.js";
20
+ import "../../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
21
+ import "../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
22
+ import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
23
+ import "../../shared-utils/isAbsoluteURL.js";
24
+ import "../../shared-utils/animationFrame/BetterTween.js";
25
+ import "../../shared-utils/animationFrame/index.js";
26
+ class L extends x {
27
+ constructor(t) {
28
+ super(t);
29
+ d(this, "tagCacheByPanoIndex", {});
10
30
  }
11
- getCache({ panoIndex: e, id: n, key: h }) {
12
- var i, C, g, d;
13
- const { five: r } = this, c = (i = r.panoIndex) != null ? i : e;
14
- if (c === void 0)
15
- throw new Error(`TagCacheController getCache(): fivePanoIndex is ${c}`);
16
- const s = `${(g = (C = r.work) == null ? void 0 : C.workCode) != null ? g : r.model.uuid}-${c}`;
17
- let o = this.tagCacheByPanoIndex[s];
18
- if (o || (o = /* @__PURE__ */ new Map(), this.tagCacheByPanoIndex[s] = o), n === void 0)
19
- return o;
20
- if (h === void 0) {
21
- const f = o.get(n);
22
- return f || (o.set(n, {}), o.get(n));
31
+ getCache({ panoIndex: t, id: i, key: p }) {
32
+ var c, h, s, C;
33
+ const { five: a } = this, n = (c = a.panoIndex) != null ? c : t;
34
+ if (n === void 0)
35
+ throw new Error(`TagCacheController getCache(): fivePanoIndex is ${n}`);
36
+ const m = `${(s = (h = a.work) == null ? void 0 : h.workCode) != null ? s : a.model.uuid}-${n}`;
37
+ let e = this.tagCacheByPanoIndex[m];
38
+ if (e || (e = /* @__PURE__ */ new Map(), this.tagCacheByPanoIndex[m] = e), i === void 0)
39
+ return e;
40
+ if (p === void 0) {
41
+ const g = e.get(i);
42
+ return g || (e.set(i, {}), e.get(i));
23
43
  }
24
- return (d = o.get(n)) == null ? void 0 : d[h];
44
+ return (C = e.get(i)) == null ? void 0 : C[p];
25
45
  }
26
46
  clearCache() {
27
47
  this.tagCacheByPanoIndex = {};
@@ -30,5 +50,5 @@ class m extends v {
30
50
  }
31
51
  }
32
52
  export {
33
- m as TagCache
53
+ L as TagCache
34
54
  };
@@ -15,8 +15,8 @@ import * as C from "three";
15
15
  import { isMediaModelTag as h, is3DTag as j } from "../utils/tag/tagCheck.js";
16
16
  import { tagPosition as V } from "../utils/tagPosition.js";
17
17
  import { checkRange as g } from "../utils/checkRange.js";
18
- import "hammerjs";
19
18
  import "@realsee/five";
19
+ import "hammerjs";
20
20
  import "@tweenjs/tween.js";
21
21
  import "../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
22
22
  import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
@@ -44,11 +44,12 @@ import "../utils/planeNormal.js";
44
44
  import "../utils/normalPositionToPositions.js";
45
45
  import "./TagCache.js";
46
46
  import "../../base/BasePlugin.js";
47
+ import "../../shared-utils/isAbsoluteURL.js";
47
48
  import "../../vendor/svelte/store/index.js";
48
49
  import "../../vendor/svelte/internal/index.js";
49
50
  import "../utils/device.js";
50
51
  import "../../shared-utils/threex/domevents/index.js";
51
- class he extends S {
52
+ class ge extends S {
52
53
  constructor(e) {
53
54
  super(e);
54
55
  T(this, "raycaster", new C.Raycaster());
@@ -308,5 +309,5 @@ class he extends S {
308
309
  }
309
310
  }
310
311
  export {
311
- he as TagComputer
312
+ ge as TagComputer
312
313
  };