@realsee/dnalogel 2.2.5 → 2.2.7

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 (337) hide show
  1. package/dist/ModelEntryDoorGuidePlugin/Plugin.d.ts +1 -0
  2. package/dist/index.cjs.js +17 -17
  3. package/dist/index.js +849 -887
  4. package/dist/index.umd.js +17 -17
  5. package/dist/shared-utils/three/{transfromToMeshBasicMaterial.d.ts → transformToMeshBasicMaterial.d.ts} +0 -0
  6. package/docs/assets/main.js +1 -1
  7. package/docs/classes/CruisePluginController.html +24 -24
  8. package/docs/classes/Magnifier.html +16 -16
  9. package/docs/classes/ModelRoomLabelController.html +11 -11
  10. package/docs/classes/Object3DHelperController.html +24 -24
  11. package/docs/classes/PaintBrush.html +15 -15
  12. package/docs/classes/PanoTagPluginController.html +39 -39
  13. package/docs/classes/Util.BetterTween.html +8 -8
  14. package/docs/classes/Util.FivePointSelector.html +12 -12
  15. package/docs/classes/Util.Interval.html +12 -12
  16. package/docs/classes/Util.Magnifier.html +17 -17
  17. package/docs/classes/Util.PointDomHelper.html +11 -11
  18. package/docs/classes/Util.PointHelper.html +11 -11
  19. package/docs/classes/Util.Rectangle.html +13 -13
  20. package/docs/enums/CameraMovementEffect.html +7 -7
  21. package/docs/enums/ContentType.html +12 -12
  22. package/docs/enums/DIRECTION.html +9 -9
  23. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +9 -9
  24. package/docs/enums/DimensionType.html +7 -7
  25. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +8 -8
  26. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +9 -9
  27. package/docs/enums/LinkType.html +7 -7
  28. package/docs/enums/PaintBrushTypeEnum.html +8 -8
  29. package/docs/enums/PointType.html +7 -7
  30. package/docs/enums/Rotation.html +8 -8
  31. package/docs/functions/CSS3DRenderPlugin.html +4 -4
  32. package/docs/functions/CameraMovementPlugin.html +4 -4
  33. package/docs/functions/CruisePlugin.html +4 -4
  34. package/docs/functions/GuideLinePlugin.html +5 -5
  35. package/docs/functions/ItemLabelPlugin.html +4 -4
  36. package/docs/functions/MapviewFloorplanPlugin.html +4 -4
  37. package/docs/functions/ModelChassisCompassPlugin.html +4 -4
  38. package/docs/functions/ModelEntryDoorGuidePlugin.html +4 -4
  39. package/docs/functions/ModelFloorplanPlugin.html +4 -4
  40. package/docs/functions/ModelItemLabelPlugin.html +4 -4
  41. package/docs/functions/ModelRoomLabelPlugin.html +4 -4
  42. package/docs/functions/ModelTVVideoPlugin.html +4 -4
  43. package/docs/functions/ModelViewPlugin.html +4 -4
  44. package/docs/functions/Object3DHelperPlugin.html +4 -4
  45. package/docs/functions/PanoCompassPlugin.html +4 -4
  46. package/docs/functions/PanoCursorRaycasterPlugin.html +4 -4
  47. package/docs/functions/PanoDoorLabelPlugin.html +4 -4
  48. package/docs/functions/PanoFloorplanRadarPlugin.html +4 -4
  49. package/docs/functions/PanoMeasurePlugin.html +4 -4
  50. package/docs/functions/PanoRulerPlugin.html +4 -4
  51. package/docs/functions/PanoRulerProPlugin.html +4 -4
  52. package/docs/functions/PanoSpatialTagPlugin.html +4 -4
  53. package/docs/functions/PanoTagPlugin.html +4 -4
  54. package/docs/functions/TopviewFloorplanPlugin.html +4 -4
  55. package/docs/functions/Util.getCoordsFromClient.html +5 -5
  56. package/docs/functions/Util.getCoordsFromElement.html +5 -5
  57. package/docs/functions/Util.getFrameTime.html +5 -5
  58. package/docs/functions/Util.getIntersectFromRelativePosition.html +5 -5
  59. package/docs/functions/Util.getRaycasterFromFivePointer.html +5 -5
  60. package/docs/functions/Util.isNil.html +5 -5
  61. package/docs/functions/Util.nextFrame.html +5 -5
  62. package/docs/functions/Util.notNil.html +5 -5
  63. package/docs/functions/Util.requestAnimationFrameInterval.html +5 -5
  64. package/docs/functions/Util.tweenProgress.html +5 -5
  65. package/docs/functions/pluginFlag.html +5 -5
  66. package/docs/index.html +4 -4
  67. package/docs/interfaces/CSS3DRenderPluginEventMap.html +11 -11
  68. package/docs/interfaces/CSS3DRenderPluginState.html +8 -8
  69. package/docs/interfaces/CameraMovementPluginExportType.html +7 -7
  70. package/docs/interfaces/ContentTypeMap.html +12 -12
  71. package/docs/interfaces/FloorplanBounding.html +8 -8
  72. package/docs/interfaces/FloorplanData.html +10 -10
  73. package/docs/interfaces/FloorplanEntrance.html +11 -11
  74. package/docs/interfaces/FloorplanExtraObject.html +10 -10
  75. package/docs/interfaces/FloorplanExtraObject3D.html +8 -8
  76. package/docs/interfaces/FloorplanFloorData.html +9 -9
  77. package/docs/interfaces/FloorplanImagePosition.html +7 -7
  78. package/docs/interfaces/FloorplanObserver.html +9 -9
  79. package/docs/interfaces/FloorplanOutlineItem.html +9 -9
  80. package/docs/interfaces/FloorplanPosition.html +7 -7
  81. package/docs/interfaces/FloorplanRoomItem.html +13 -13
  82. package/docs/interfaces/FloorplanRoomLabelItem.html +7 -7
  83. package/docs/interfaces/FloorplanServerBounding.html +8 -8
  84. package/docs/interfaces/FloorplanServerComputedData.html +10 -10
  85. package/docs/interfaces/FloorplanServerData.html +7 -7
  86. package/docs/interfaces/FloorplanServerDoorItem.html +10 -10
  87. package/docs/interfaces/FloorplanServerDoorPosition.html +8 -8
  88. package/docs/interfaces/FloorplanServerEntrance.html +11 -11
  89. package/docs/interfaces/FloorplanServerFloorData.html +9 -9
  90. package/docs/interfaces/FloorplanServerImagePosition.html +7 -7
  91. package/docs/interfaces/FloorplanServerObserver.html +9 -9
  92. package/docs/interfaces/FloorplanServerOutlineItem.html +9 -9
  93. package/docs/interfaces/FloorplanServerPosition.html +7 -7
  94. package/docs/interfaces/FloorplanServerRoomItem.html +14 -14
  95. package/docs/interfaces/FloorplanServerRoomLabelItem.html +7 -7
  96. package/docs/interfaces/ItemLabelPluginData.html +6 -6
  97. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +11 -11
  98. package/docs/interfaces/ItemLabelPluginParametersType.html +9 -9
  99. package/docs/interfaces/LineJson.html +7 -7
  100. package/docs/interfaces/ModelChassisCompassPluginData.html +7 -7
  101. package/docs/interfaces/ModelChassisCompassPluginExportType.html +8 -8
  102. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +7 -7
  103. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +8 -8
  104. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +8 -8
  105. package/docs/interfaces/ModelItemLabelPluginData.html +6 -6
  106. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +11 -11
  107. package/docs/interfaces/ModelItemLabelPluginParametersType.html +7 -7
  108. package/docs/interfaces/ModelRoomLabelPluginData.html +6 -6
  109. package/docs/interfaces/ModelTVVideoPluginData.html +9 -9
  110. package/docs/interfaces/ModelTVVideoPluginExportType.html +8 -8
  111. package/docs/interfaces/ModelTVVideoPluginParameterType.html +6 -6
  112. package/docs/interfaces/ModelViewPluginExportType.html +8 -8
  113. package/docs/interfaces/Object3DHelperState.html +8 -8
  114. package/docs/interfaces/OpenParameter.html +7 -7
  115. package/docs/interfaces/PaintBrushAction.html +12 -12
  116. package/docs/interfaces/PaintBrushConfigs.html +12 -12
  117. package/docs/interfaces/PaintBrushState.html +10 -10
  118. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +10 -10
  119. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +5 -5
  120. package/docs/interfaces/PanoMeasureParameterType.html +11 -11
  121. package/docs/interfaces/PanoRulerPluginExportType.html +10 -10
  122. package/docs/interfaces/PanoRulerPluginOptions.html +7 -7
  123. package/docs/interfaces/PanoRulerPluginParameterType.html +8 -8
  124. package/docs/interfaces/PanoRulerProPluginExportType.html +9 -9
  125. package/docs/interfaces/PanoRulerProPluginOptions.html +7 -7
  126. package/docs/interfaces/PanoRulerProPluginParameterType.html +7 -7
  127. package/docs/interfaces/PanoRulerProPluginState.html +8 -8
  128. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +5 -5
  129. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +5 -5
  130. package/docs/interfaces/PanoSpatialTagPluginData.html +11 -11
  131. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +10 -10
  132. package/docs/interfaces/PanoSpatialTagPluginExportType.html +13 -13
  133. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +10 -10
  134. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +13 -13
  135. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +11 -11
  136. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +10 -10
  137. package/docs/interfaces/Point.html +8 -8
  138. package/docs/interfaces/PointJson.html +8 -8
  139. package/docs/interfaces/Room.html +9 -9
  140. package/docs/interfaces/RoomInfo.html +7 -7
  141. package/docs/interfaces/RoomLabel.html +14 -14
  142. package/docs/interfaces/RoomRules.html +5 -5
  143. package/docs/interfaces/Rooms.html +5 -5
  144. package/docs/interfaces/Scissor.html +9 -9
  145. package/docs/interfaces/TagConfig.html +10 -10
  146. package/docs/interfaces/Tags.html +9 -9
  147. package/docs/interfaces/Util.MagnifierParameter.html +11 -11
  148. package/docs/interfaces/Util.MouseGroupParameter.html +8 -8
  149. package/docs/modules/Util.html +5 -5
  150. package/docs/modules.html +4 -4
  151. package/docs/types/ArrayPosition.html +5 -5
  152. package/docs/types/CSS3DRenderExportType.html +5 -5
  153. package/docs/types/CSS3DRenderPluginExportType.html +5 -5
  154. package/docs/types/CSS3DRenderPluginParameterType.html +5 -5
  155. package/docs/types/Color.html +5 -5
  156. package/docs/types/ContentTypeConfigKey.html +5 -5
  157. package/docs/types/ContentTypeConfigKeyArray.html +5 -5
  158. package/docs/types/Create3DDomContainerReturnType.html +5 -5
  159. package/docs/types/Create3DElementReturnType.html +5 -5
  160. package/docs/types/CruisePluginExportType.html +5 -5
  161. package/docs/types/Direction-1.html +5 -5
  162. package/docs/types/Direction4.html +5 -5
  163. package/docs/types/FloorplanRuleLabels.html +5 -5
  164. package/docs/types/FloorplanServerRuleLabels.html +5 -5
  165. package/docs/types/GuideLinePluginExportType.html +5 -5
  166. package/docs/types/HelperEventMap.html +5 -5
  167. package/docs/types/MapviewFloorplanPluginParameterType.html +5 -5
  168. package/docs/types/MapviewFloorplanPluginReturnType.html +5 -5
  169. package/docs/types/MediaData.html +5 -5
  170. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +6 -6
  171. package/docs/types/ModelFloorplanPluginParameterType.html +5 -5
  172. package/docs/types/ModelFloorplanPluginReturnType.html +5 -5
  173. package/docs/types/ModelRoomLabelPluginParameters.html +5 -5
  174. package/docs/types/ModelRoomLabelPluginReturnType.html +5 -5
  175. package/docs/types/MoveArgs.html +5 -5
  176. package/docs/types/MoveOpts.html +5 -5
  177. package/docs/types/Object3DHelperEventMap.html +5 -5
  178. package/docs/types/ObjectFit.html +5 -5
  179. package/docs/types/PaintBrushEventMap.html +5 -5
  180. package/docs/types/PanoCompassPluginData.html +5 -5
  181. package/docs/types/PanoCompassPluginExportType.html +5 -5
  182. package/docs/types/PanoCompassPluginParameterType.html +5 -5
  183. package/docs/types/PanoFloorplanRadarPluginParameterType.html +5 -5
  184. package/docs/types/PanoFloorplanRadarPluginReturnType.html +5 -5
  185. package/docs/types/PanoMeasurePluginEvent.html +5 -5
  186. package/docs/types/PanoMeasureReturnType.html +5 -5
  187. package/docs/types/PanoSpatialTagPluginId.html +5 -5
  188. package/docs/types/PanoTagPluginExportInterface.html +5 -5
  189. package/docs/types/PanoTagPluginParamsInterface.html +5 -5
  190. package/docs/types/PlaneTag.html +5 -5
  191. package/docs/types/PointTag.html +5 -5
  192. package/docs/types/Position.html +5 -5
  193. package/docs/types/RotateArgs.html +5 -5
  194. package/docs/types/RotateOpts.html +5 -5
  195. package/docs/types/RuleLabelsKey.html +5 -5
  196. package/docs/types/RuleLabelsValue.html +5 -5
  197. package/docs/types/Tag.html +5 -5
  198. package/docs/types/Tag2D.html +5 -5
  199. package/docs/types/Tag3D.html +5 -5
  200. package/docs/types/TagId.html +5 -5
  201. package/docs/types/TopviewFloorplanPluginParameterType.html +5 -5
  202. package/docs/types/TopviewFloorplanPluginReturnType.html +5 -5
  203. package/docs/variables/FLOOR_TYPE_MAP.html +5 -5
  204. package/docs/variables/PLUGIN.html +5 -5
  205. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +5 -5
  206. package/docs/variables/ROOM_TYPE_MAP.html +5 -5
  207. package/docs/variables/VERSION.html +5 -5
  208. package/docs/variables/itemLabelPluginServerParams.html +5 -5
  209. package/docs/variables/modelItemLabelPluginServerParams.html +5 -5
  210. package/docs/variables/modelRoomLabelPluginServerParams.html +5 -5
  211. package/libs/CSS3DRenderPlugin/CSS3DRender.js +39 -33
  212. package/libs/CSS3DRenderPlugin/Controller.js +30 -22
  213. package/libs/CSS3DRenderPlugin/index.js +12 -3
  214. package/libs/CSS3DRenderPlugin/utils/CSS3DObjectPlus.js +2 -1
  215. package/libs/CameraMovementPlugin/CameraMovementPlugin.js +28 -25
  216. package/libs/CameraMovementPlugin/index.js +13 -0
  217. package/libs/CruisePlugin/Controller.js +52 -41
  218. package/libs/CruisePlugin/index.js +26 -3
  219. package/libs/CruisePlugin/typing.js +1 -0
  220. package/libs/GuideLinePlugin/Controller.js +14 -9
  221. package/libs/GuideLinePlugin/index.js +14 -3
  222. package/libs/GuideLinePlugin/typing.js +1 -0
  223. package/libs/ItemLabelPlugin/ItemLabelComponent.js +2 -2
  224. package/libs/ItemLabelPlugin/ItemLabelItem.js +11 -11
  225. package/libs/ItemLabelPlugin/Plugin.js +33 -23
  226. package/libs/ItemLabelPlugin/events.type.js +1 -0
  227. package/libs/ItemLabelPlugin/index.js +16 -2
  228. package/libs/ModelChassisCompassPlugin/Plugin.js +3 -2
  229. package/libs/ModelChassisCompassPlugin/index.js +8 -0
  230. package/libs/ModelEntryDoorGuidePlugin/Plugin.d.ts +1 -0
  231. package/libs/ModelEntryDoorGuidePlugin/Plugin.js +52 -44
  232. package/libs/ModelEntryDoorGuidePlugin/index.js +9 -0
  233. package/libs/ModelItemLabelPlugin/ItemLabelComponent.js +2 -2
  234. package/libs/ModelItemLabelPlugin/ItemLabelItem.js +12 -12
  235. package/libs/ModelItemLabelPlugin/ModelItemLabelPlugin.js +28 -22
  236. package/libs/ModelItemLabelPlugin/index.js +12 -2
  237. package/libs/ModelRoomLabelPlugin/Controller.js +6 -2
  238. package/libs/ModelRoomLabelPlugin/RoomLabelItem.js +13 -13
  239. package/libs/ModelRoomLabelPlugin/index.js +10 -3
  240. package/libs/ModelRoomLabelPlugin/typings.js +1 -0
  241. package/libs/ModelTVVideoPlugin/Plugin.js +35 -25
  242. package/libs/ModelTVVideoPlugin/index.js +17 -0
  243. package/libs/ModelViewPlugin/Plugin.js +2 -1
  244. package/libs/ModelViewPlugin/index.js +6 -0
  245. package/libs/Object3DHelperPlugin/Controller.js +48 -27
  246. package/libs/Object3DHelperPlugin/FiveControllerWrapper.js +13 -9
  247. package/libs/Object3DHelperPlugin/index.js +40 -3
  248. package/libs/Object3DHelperPlugin/typings.js +1 -0
  249. package/libs/PanoCompassPlugin/Controller.js +25 -13
  250. package/libs/PanoCompassPlugin/index.js +23 -3
  251. package/libs/PanoCompassPlugin/typings.js +1 -0
  252. package/libs/PanoCursorRaycasterPlugin/index.js +4 -2
  253. package/libs/PanoDoorLabelPlugin/BaseController.js +27 -26
  254. package/libs/PanoDoorLabelPlugin/Controller.js +7 -2
  255. package/libs/PanoDoorLabelPlugin/index.js +12 -2
  256. package/libs/PanoDoorLabelPlugin/typings.js +1 -0
  257. package/libs/PanoMeasurePlugin/index.js +56 -5
  258. package/libs/PanoRulerPlugin/Plugin.js +22 -17
  259. package/libs/PanoRulerPlugin/index.js +9 -0
  260. package/libs/PanoRulerPlugin/style.js +1 -1
  261. package/libs/PanoRulerPlugin/typings.js +1 -0
  262. package/libs/PanoRulerProPlugin/Controller.js +38 -27
  263. package/libs/PanoRulerProPlugin/RulerItem.js +59 -69
  264. package/libs/PanoRulerProPlugin/index.js +16 -3
  265. package/libs/PanoRulerProPlugin/typings.js +1 -0
  266. package/libs/PanoSpatialTagPlugin/Components/origins.js +41 -42
  267. package/libs/PanoSpatialTagPlugin/Components/tag.js +2 -3
  268. package/libs/PanoSpatialTagPlugin/Plugin.js +74 -62
  269. package/libs/PanoSpatialTagPlugin/index.js +20 -0
  270. package/libs/PanoSpatialTagPlugin/store.js +1 -0
  271. package/libs/PanoTagPlugin/Components/Common/Arrow.js +11 -11
  272. package/libs/PanoTagPlugin/Components/Common/Audio.js +43 -43
  273. package/libs/PanoTagPlugin/Components/Common/Line/Polyline.js +7 -7
  274. package/libs/PanoTagPlugin/Components/Common/Line/Straight.js +28 -29
  275. package/libs/PanoTagPlugin/Components/Common/Media.js +92 -100
  276. package/libs/PanoTagPlugin/Components/Common/MediaItem.js +1 -1
  277. package/libs/PanoTagPlugin/Components/Common/MultiLineText.js +59 -68
  278. package/libs/PanoTagPlugin/Components/Common/Point/CustomPoint.js +13 -15
  279. package/libs/PanoTagPlugin/Components/Common/Point/DefaultPoint.js +26 -28
  280. package/libs/PanoTagPlugin/Components/Common/Point/PointSwitch.js +28 -31
  281. package/libs/PanoTagPlugin/Components/Common/Shadow.js +12 -13
  282. package/libs/PanoTagPlugin/Components/Common/Text.js +9 -9
  283. package/libs/PanoTagPlugin/Components/Tag/AudioTag.js +24 -32
  284. package/libs/PanoTagPlugin/Components/Tag/CustomTag.js +22 -22
  285. package/libs/PanoTagPlugin/Components/Tag/ImageTextTag.js +97 -118
  286. package/libs/PanoTagPlugin/Components/Tag/LinkTag.js +6 -8
  287. package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +51 -83
  288. package/libs/PanoTagPlugin/Components/Tag/MediaPlane.js +54 -72
  289. package/libs/PanoTagPlugin/Components/Tag/TextTag.js +48 -59
  290. package/libs/PanoTagPlugin/Components/Tag/index.js +75 -104
  291. package/libs/PanoTagPlugin/Components/TagContainer.js +65 -108
  292. package/libs/PanoTagPlugin/Components/TagWrapper.js +78 -116
  293. package/libs/PanoTagPlugin/controller/index.js +2 -2
  294. package/libs/PanoTagPlugin/index.js +82 -3
  295. package/libs/PanoTagPlugin/tag.config.js +2 -1
  296. package/libs/floorplan/Components/BaseImage.js +7 -7
  297. package/libs/floorplan/Components/Camera.js +24 -24
  298. package/libs/floorplan/Components/Compass.js +3 -3
  299. package/libs/floorplan/Components/CurrentFloor.js +47 -56
  300. package/libs/floorplan/Components/Main.js +80 -99
  301. package/libs/floorplan/Components/Normalmage.js +5 -5
  302. package/libs/floorplan/Components/RoomHighlight/Room.js +11 -11
  303. package/libs/floorplan/Components/RoomHighlight/RoomHighlight.js +13 -14
  304. package/libs/floorplan/Components/RoomLabels/RoomLabel.js +32 -32
  305. package/libs/floorplan/Components/RoomLabels/RoomLabels.js +47 -47
  306. package/libs/floorplan/Components/RoomMaterials/RoomMaterial.js +23 -23
  307. package/libs/floorplan/Components/RoomMaterials/RoomMaterial_0.js +14 -14
  308. package/libs/floorplan/Components/RoomMaterials/RoomMaterial_1.js +13 -13
  309. package/libs/floorplan/Components/RoomMaterials/RoomMaterial_2.js +13 -13
  310. package/libs/floorplan/Components/RuleLabels/RuleItem.js +54 -54
  311. package/libs/floorplan/Components/RuleLabels/RuleLabels.js +15 -15
  312. package/libs/floorplan/Components/SvgImage.js +12 -12
  313. package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +111 -81
  314. package/libs/floorplan/MapviewFloorplanPlugin/index.js +47 -3
  315. package/libs/floorplan/MapviewFloorplanPlugin/typing.js +1 -0
  316. package/libs/floorplan/ModelFloorplanPlugin/Controller.js +166 -135
  317. package/libs/floorplan/ModelFloorplanPlugin/index.js +47 -3
  318. package/libs/floorplan/ModelFloorplanPlugin/typing.js +1 -0
  319. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Camera.js +3 -3
  320. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/CurrentFloor.js +8 -12
  321. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/ExtraObjects.js +38 -38
  322. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Main.js +71 -80
  323. package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +51 -36
  324. package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +24 -3
  325. package/libs/floorplan/PanoFloorplanRadarPlugin/typing.js +1 -0
  326. package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +155 -126
  327. package/libs/floorplan/TopviewFloorplanPlugin/index.js +44 -3
  328. package/libs/floorplan/TopviewFloorplanPlugin/style.d.ts +1 -0
  329. package/libs/floorplan/TopviewFloorplanPlugin/style.js +11 -0
  330. package/libs/floorplan/TopviewFloorplanPlugin/typing.js +1 -0
  331. package/libs/floorplan/typings/index.js +1 -0
  332. package/libs/index.js +34 -34
  333. package/libs/shared-utils/three/{transfromToMeshBasicMaterial.d.ts → transformToMeshBasicMaterial.d.ts} +0 -0
  334. package/libs/shared-utils/three/{transfromToMeshBasicMaterial.js → transformToMeshBasicMaterial.js} +0 -0
  335. package/libs/vendor/svelte/internal/index.js +151 -152
  336. package/package.json +17 -18
  337. package/libs/PanoTagPlugin/Components/Common/TextItem.js +0 -106
@@ -1,14 +1,25 @@
1
1
  import * as a from "three";
2
2
  import { Subscribe as we, Five as ye } from "@realsee/five";
3
3
  import { CSS3DRenderPlugin as Te } from "../CSS3DRenderPlugin/index.js";
4
- import Me from "./Components/origins.js";
5
- import Pe from "./Components/tag.js";
4
+ import { Origins as Me } from "./Components/origins.js";
5
+ import { Tag as Pe } from "./Components/tag.js";
6
6
  import { pluginStyle as xe } from "./style.js";
7
7
  import { render as Ee } from "../shared-utils/tinyEJSrender.js";
8
- const D = 1e-3, v = 0.01, je = "https://vrlab-image4.ljcdn.com/release/web/PanoSpatialTagPlugin__blur.png", Re = (t, s) => {
8
+ import "../CSS3DRenderPlugin/Controller.js";
9
+ import "../CSS3DRenderPlugin/CSS3DRender.js";
10
+ import "three/examples/jsm/renderers/CSS3DRenderer";
11
+ import "../shared-utils/Subscribe.js";
12
+ import "../CSS3DRenderPlugin/utils/evenNumber.js";
13
+ import "../CSS3DRenderPlugin/utils/positionToVector3.js";
14
+ import "../CSS3DRenderPlugin/utils/CSS3DObjectPlus.js";
15
+ import "../CSS3DRenderPlugin/utils/centerPoint.js";
16
+ import "../vendor/svelte/internal/index.js";
17
+ import "./store.js";
18
+ import "../vendor/svelte/store/index.js";
19
+ const D = 1e-3, v = 0.01, je = "https://vrlab-image4.ljcdn.com/release/web/PanoSpatialTagPlugin__blur.png", Ue = (n, s) => {
9
20
  var k, z, q, B, G, J, K, Q;
10
21
  let j = s == null ? void 0 : s.container, y = 1.4;
11
- const ee = (k = s == null ? void 0 : s.wait) != null ? k : 200, oe = (z = s == null ? void 0 : s.maxNumberOnScreen) != null ? z : 3, I = (q = s == null ? void 0 : s.minRad) != null ? q : Math.PI / 4, L = (B = s == null ? void 0 : s.nearTolerance) != null ? B : 100, ne = (G = s == null ? void 0 : s.upsideHeight) != null ? G : 1.6, A = (J = s == null ? void 0 : s.minDistance) != null ? J : 1.2, u = (K = s == null ? void 0 : s.maxDistance) != null ? K : 3.5, C = Te(t), S = document.createElement("div");
22
+ const ee = (k = s == null ? void 0 : s.wait) != null ? k : 200, oe = (z = s == null ? void 0 : s.maxNumberOnScreen) != null ? z : 3, I = (q = s == null ? void 0 : s.minRad) != null ? q : Math.PI / 4, L = (B = s == null ? void 0 : s.nearTolerance) != null ? B : 100, te = (G = s == null ? void 0 : s.upsideHeight) != null ? G : 1.6, A = (J = s == null ? void 0 : s.minDistance) != null ? J : 1.2, u = (K = s == null ? void 0 : s.maxDistance) != null ? K : 3.5, C = Te(n), S = document.createElement("div");
12
23
  S.classList.add("PanoSpatialTagPlugin"), Object.assign(S.style, xe);
13
24
  const V = new we();
14
25
  let Z = new Image();
@@ -33,28 +44,28 @@ const D = 1e-3, v = 0.01, je = "https://vrlab-image4.ljcdn.com/release/web/PanoS
33
44
  }, H = (o, r) => {
34
45
  if (e.tags.length === 0)
35
46
  return;
36
- const p = r.longitude - t.state.longitude, n = t.camera.clone();
37
- n.position.copy(r.offset), n.rotateOnWorldAxis(new a.Vector3(0, 1, 0), p), n.updateProjectionMatrix(), n.updateMatrixWorld(!0);
38
- const m = new a.Frustum(), P = new a.Matrix4();
47
+ const p = r.longitude - n.state.longitude, t = n.camera.clone();
48
+ t.position.copy(r.offset), t.rotateOnWorldAxis(new a.Vector3(0, 1, 0), p), t.updateProjectionMatrix(), t.updateMatrixWorld(!0);
49
+ const g = new a.Frustum(), P = new a.Matrix4();
39
50
  P.multiplyMatrices(
40
- n.projectionMatrix,
41
- n.matrixWorldInverse
42
- ), m.setFromProjectionMatrix(P), e.tags.forEach((i) => {
43
- const $ = n.position.clone().setY(y).distanceTo(i.position);
44
- if ($ < A || $ > u || !m.containsPoint(i.position))
51
+ t.projectionMatrix,
52
+ t.matrixWorldInverse
53
+ ), g.setFromProjectionMatrix(P), e.tags.forEach((i) => {
54
+ const $ = t.position.clone().setY(y).distanceTo(i.position);
55
+ if ($ < A || $ > u || !g.containsPoint(i.position))
45
56
  return i.destroying = !0;
46
- const x = i.position.clone().sub(n.position).setY(0);
57
+ const x = i.position.clone().sub(t.position).setY(0);
47
58
  if (x.angleTo(i.normal) > Math.PI / 2 - I && x.angleTo(i.normal) < Math.PI / 2 + I)
48
59
  return i.destroying = !0;
49
60
  }), e.tags.forEach((i) => {
50
61
  i.destroying ? i.app.$set({
51
- contentZoom: 0.1 + n.position.distanceTo(i.position) / u,
52
- lineWidthZoom: 0.38 * (0.01 + n.position.distanceTo(i.position) / u),
62
+ contentZoom: 0.1 + t.position.distanceTo(i.position) / u,
63
+ lineWidthZoom: 0.38 * (0.01 + t.position.distanceTo(i.position) / u),
53
64
  destroying: i.destroying
54
65
  }) : i.app.$set({
55
- lineWidthZoom: 0.38 * (0.01 + n.position.distanceTo(i.position) / u),
56
- lineHeightZoom: 0.4 + (n.position.distanceTo(i.position) - A) / u * 0.6,
57
- contentZoom: 0.1 + n.position.distanceTo(i.position) / u
66
+ lineWidthZoom: 0.38 * (0.01 + t.position.distanceTo(i.position) / u),
67
+ lineHeightZoom: 0.4 + (t.position.distanceTo(i.position) - A) / u * 0.6,
68
+ contentZoom: 0.1 + t.position.distanceTo(i.position) / u
58
69
  });
59
70
  }), setTimeout(() => {
60
71
  e.tags.forEach((i) => {
@@ -68,45 +79,45 @@ const D = 1e-3, v = 0.01, je = "https://vrlab-image4.ljcdn.com/release/web/PanoS
68
79
  }, T = () => {
69
80
  if (e.forbidden || !e.enabled)
70
81
  return;
71
- const o = t.camera, r = o.getWorldDirection(new a.Vector3());
82
+ const o = n.camera, r = o.getWorldDirection(new a.Vector3());
72
83
  e.origins = e.tags.map((p) => {
73
- const n = p.position.clone().project(o), m = p.position.clone().sub(o.position).setY(0).angleTo(r.setY(0)) < Math.PI / 2;
84
+ const t = p.position.clone().project(o), g = p.position.clone().sub(o.position).setY(0).angleTo(r.setY(0)) < Math.PI / 2;
74
85
  return {
75
86
  id: p.id,
76
- front: m,
77
- left: (n.x + 1) / 2 * 100,
78
- top: (-n.y + 1) / 2 * 100,
87
+ front: g,
88
+ left: (t.x + 1) / 2 * 100,
89
+ top: (-t.y + 1) / 2 * 100,
79
90
  destroying: p.destroying
80
91
  };
81
92
  }), Y.$set({ origins: e.origins });
82
93
  }, M = () => {
83
94
  e.forbidden || !e.enabled || (e.timeoutId && clearTimeout(e.timeoutId), e.timeoutId = setTimeout(() => {
84
95
  e.timeoutId = void 0;
85
- const o = te();
96
+ const o = ne();
86
97
  o.length && (e.tags = e.tags.concat(o), T());
87
98
  }, ee));
88
- }, te = () => {
89
- const { clientWidth: o, clientHeight: r } = t.getElement(), p = [], n = t.camera, m = new a.Frustum(), P = new a.Matrix4(), i = n.getWorldDirection(new a.Vector3());
99
+ }, ne = () => {
100
+ const { clientWidth: o, clientHeight: r } = n.getElement(), p = [], t = n.camera, g = new a.Frustum(), P = new a.Matrix4(), i = t.getWorldDirection(new a.Vector3());
90
101
  P.multiplyMatrices(
91
- n.projectionMatrix,
92
- n.matrixWorldInverse
93
- ), m.setFromProjectionMatrix(P);
102
+ t.projectionMatrix,
103
+ t.matrixWorldInverse
104
+ ), g.setFromProjectionMatrix(P);
94
105
  const $ = e.tags.filter(
95
- (d) => m.containsPoint(d.position) && !d.destroying
106
+ (d) => g.containsPoint(d.position) && !d.destroying
96
107
  ).length, x = e.points.reduce((d, f) => {
97
108
  if (e.tags.find((l) => f.id === l.id && !l.destroying))
98
109
  return d;
99
- const g = n.position.clone().setY(y).distanceTo(f.position);
100
- if (g < A || g > u || !m.containsPoint(f.position))
110
+ const m = t.position.clone().setY(y).distanceTo(f.position);
111
+ if (m < A || m > u || !g.containsPoint(f.position))
101
112
  return d;
102
- const E = f.position.clone().sub(n.position).setY(0);
113
+ const E = f.position.clone().sub(t.position).setY(0);
103
114
  if (E.angleTo(f.normal) > Math.PI / 2 - I && E.angleTo(f.normal) < Math.PI / 2 + I)
104
115
  return d;
105
- const w = f.position.clone().project(n);
116
+ const w = f.position.clone().project(t);
106
117
  if (!e.tags.every((l) => {
107
- if (l.position.clone().sub(n.position).setY(0).angleTo(i.setY(0)) > Math.PI / 2)
118
+ if (l.position.clone().sub(t.position).setY(0).angleTo(i.setY(0)) > Math.PI / 2)
108
119
  return !0;
109
- const b = l.position.clone().project(n);
120
+ const b = l.position.clone().project(t);
110
121
  return Math.sqrt(
111
122
  Math.pow((w.x - b.x) / 2 * o, 2) + Math.pow((w.y - b.y) / 2 * r, 2)
112
123
  ) > L;
@@ -118,7 +129,7 @@ const D = 1e-3, v = 0.01, je = "https://vrlab-image4.ljcdn.com/release/web/PanoS
118
129
  normal: f.normal,
119
130
  replacement: f.replacement,
120
131
  weight: f.weight,
121
- distance: g
132
+ distance: m
122
133
  };
123
134
  let c;
124
135
  for (let l = 0, b = d.length; l < b; l++) {
@@ -135,44 +146,44 @@ const D = 1e-3, v = 0.01, je = "https://vrlab-image4.ljcdn.com/release/web/PanoS
135
146
  return c !== void 0 ? d.splice(c, 0, h) : d.push(h), d;
136
147
  }, []);
137
148
  for (let d = 0, f = x.length; d < f && !($ + p.length >= oe); d++) {
138
- const g = x[d];
139
- if (p.find((c) => g.id === c.id))
149
+ const m = x[d];
150
+ if (p.find((c) => m.id === c.id))
140
151
  continue;
141
- const E = g.position.clone().project(n);
152
+ const E = m.position.clone().project(t);
142
153
  if (!e.tags.concat(p).every((c) => {
143
- if (c.position.clone().sub(n.position).setY(0).angleTo(i.setY(0)) > Math.PI / 2)
154
+ if (c.position.clone().sub(t.position).setY(0).angleTo(i.setY(0)) > Math.PI / 2)
144
155
  return !0;
145
- const l = c.position.clone().project(n);
156
+ const l = c.position.clone().project(t);
146
157
  return Math.sqrt(
147
158
  Math.pow((E.x - l.x) / 2 * o, 2) + Math.pow((E.y - l.y) / 2 * r, 2)
148
159
  ) > L;
149
160
  }))
150
161
  continue;
151
162
  const w = new a.Raycaster(
152
- n.position.clone().setY(y),
153
- g.position.clone().sub(n.position.clone().setY(y)).normalize(),
163
+ t.position.clone().setY(y),
164
+ m.position.clone().sub(t.position.clone().setY(y)).normalize(),
154
165
  0,
155
- g.distance + v
156
- ), [h] = e.intersectObjects ? w.intersectObjects(e.intersectObjects, !0) : t.model.bvhs.loaded ? t.model.intersectRaycaster(w) : w.intersectObjects(t.model.children, !0);
157
- if (!!h && g.distance - h.distance < v) {
158
- const { position: c, normal: l, id: b, replacement: O } = g, fe = new a.Plane().setFromNormalAndCoplanarPoint(l, c), X = c.clone().sub(n.position).cross(new a.Vector3(0, 1, 0)).setLength(D), ue = [
166
+ m.distance + v
167
+ ), [h] = e.intersectObjects ? w.intersectObjects(e.intersectObjects, !0) : n.model.bvhs.loaded ? n.model.intersectRaycaster(w) : w.intersectObjects(n.model.children, !0);
168
+ if (!!h && m.distance - h.distance < v) {
169
+ const { position: c, normal: l, id: b, replacement: O } = m, fe = new a.Plane().setFromNormalAndCoplanarPoint(l, c), X = c.clone().sub(t.position).cross(new a.Vector3(0, 1, 0)).setLength(D), ue = [
159
170
  c.clone(),
160
171
  c.clone().add(X),
161
172
  c.clone().add(new a.Vector3(0, D, 0)).add(X),
162
173
  c.clone().add(new a.Vector3(0, D, 0))
163
- ].map((be) => fe.projectPoint(be, new a.Vector3())), { container: ge, dispose: me } = C.create3DDomContainer(ue) || {}, he = new Pe({
164
- target: ge,
174
+ ].map((be) => fe.projectPoint(be, new a.Vector3())), { container: me, dispose: ge } = C.create3DDomContainer(ue) || {}, he = new Pe({
175
+ target: me,
165
176
  props: {
166
177
  id: b,
167
178
  content: e.render(e.template, O),
168
- lineWidthZoom: 0.38 * (0.01 + n.position.distanceTo(c) / u),
169
- lineHeightZoom: 0.4 + (n.position.distanceTo(c) - A) / u * 0.6,
170
- contentZoom: 0.1 + n.position.distanceTo(c) / u,
171
- upsideDown: c.y > ne,
179
+ lineWidthZoom: 0.38 * (0.01 + t.position.distanceTo(c) / u),
180
+ lineHeightZoom: 0.4 + (t.position.distanceTo(c) - A) / u * 0.6,
181
+ contentZoom: 0.1 + t.position.distanceTo(c) / u,
182
+ upsideDown: c.y > te,
172
183
  folded: e.folded,
173
184
  events: e.events,
174
185
  hooks: V,
175
- dispose: me
186
+ dispose: ge
176
187
  }
177
188
  });
178
189
  p.push({
@@ -186,13 +197,13 @@ const D = 1e-3, v = 0.01, je = "https://vrlab-image4.ljcdn.com/release/web/PanoS
186
197
  return p;
187
198
  }, ie = (o) => {
188
199
  e.points = o.points.map((r) => {
189
- var p, n;
200
+ var p, t;
190
201
  return {
191
202
  id: r.id,
192
203
  position: new a.Vector3().fromArray(r.position),
193
204
  normal: new a.Vector3().fromArray(r.normal),
194
205
  replacement: (p = r.replacement) != null ? p : {},
195
- weight: (n = r.weight) != null ? n : -1
206
+ weight: (t = r.weight) != null ? t : -1
196
207
  };
197
208
  }), o.render && (e.render = o.render), o.template && (e.template = o.template), o.events && (e.events = o.events), o.enabled === !1 && (e.enabled = o.enabled), o.folded === !0 && (e.folded = o.folded);
198
209
  }, se = (o) => {
@@ -220,15 +231,15 @@ const D = 1e-3, v = 0.01, je = "https://vrlab-image4.ljcdn.com/release/web/PanoS
220
231
  r.id === o && r.app.$set({ folded: !0 });
221
232
  });
222
233
  }, U = () => {
223
- t.once("renderFrame", T);
234
+ n.once("renderFrame", T);
224
235
  }, R = () => {
225
- j || (j = t.getElement().parentElement), j && j.appendChild(S), e.forbidden = !1, y = t.model.bounding.getCenter(new a.Vector3()).y, M(), t.on("panoWillArrive", H), t.on("panoArrived", F), t.on("modeChange", N), t.on("cameraUpdate", _);
236
+ j || (j = n.getElement().parentElement), j && j.appendChild(S), e.forbidden = !1, y = n.model.bounding.getCenter(new a.Vector3()).y, M(), n.on("panoWillArrive", H), n.on("panoArrived", F), n.on("modeChange", N), n.on("cameraUpdate", _);
226
237
  }, W = () => {
227
238
  Z = null, C.disposeAll(), Y.$destroy(), e.tags.forEach((o) => {
228
239
  o.app.$destroy(), o = null;
229
- }), e.origins = [], e.tags = [], t.off("modelLoaded", R), t.off("renderFrame", T), t.off("panoWillArrive", H), t.off("panoArrived", F), t.off("modeChange", N), t.off("cameraUpdate", _), t.off("dispose", W), window.removeEventListener("resize", U, !1);
240
+ }), e.origins = [], e.tags = [], n.off("modelLoaded", R), n.off("renderFrame", T), n.off("panoWillArrive", H), n.off("panoArrived", F), n.off("modeChange", N), n.off("cameraUpdate", _), n.off("dispose", W), window.removeEventListener("resize", U, !1);
230
241
  };
231
- return window.addEventListener("resize", U, !1), (Q = t == null ? void 0 : t.model) != null && Q.loaded ? R() : t.once("modelLoaded", R), t.on("dispose", W), {
242
+ return window.addEventListener("resize", U, !1), (Q = n == null ? void 0 : n.model) != null && Q.loaded ? R() : n.once("modelLoaded", R), n.on("dispose", W), {
232
243
  load: ie,
233
244
  setIntersectObjects: se,
234
245
  unfoldAll: de,
@@ -242,5 +253,6 @@ const D = 1e-3, v = 0.01, je = "https://vrlab-image4.ljcdn.com/release/web/PanoS
242
253
  };
243
254
  };
244
255
  export {
245
- Re as PanoSpatialTagPlugin
256
+ Ue as PanoSpatialTagPlugin,
257
+ Ue as default
246
258
  };
@@ -1,4 +1,24 @@
1
+ import "./Plugin.js";
2
+ import { PanoSpatialTagPlugin as j, PanoSpatialTagPlugin as k } from "./Plugin.js";
1
3
  import "three";
2
4
  import "@realsee/five";
5
+ import "../CSS3DRenderPlugin/index.js";
6
+ import "../CSS3DRenderPlugin/Controller.js";
7
+ import "../CSS3DRenderPlugin/CSS3DRender.js";
3
8
  import "three/examples/jsm/renderers/CSS3DRenderer";
9
+ import "../shared-utils/Subscribe.js";
10
+ import "../CSS3DRenderPlugin/utils/evenNumber.js";
11
+ import "../CSS3DRenderPlugin/utils/positionToVector3.js";
12
+ import "../CSS3DRenderPlugin/utils/CSS3DObjectPlus.js";
13
+ import "../CSS3DRenderPlugin/utils/centerPoint.js";
14
+ import "./Components/origins.js";
4
15
  import "../vendor/svelte/internal/index.js";
16
+ import "./store.js";
17
+ import "../vendor/svelte/store/index.js";
18
+ import "./Components/tag.js";
19
+ import "./style.js";
20
+ import "../shared-utils/tinyEJSrender.js";
21
+ export {
22
+ j as PanoSpatialTagPlugin,
23
+ k as default
24
+ };
@@ -1,4 +1,5 @@
1
1
  import { writable as r } from "../vendor/svelte/store/index.js";
2
+ import "../vendor/svelte/internal/index.js";
2
3
  const e = r(null);
3
4
  export {
4
5
  e as currentTarget
@@ -1,8 +1,8 @@
1
- import { SvelteComponent as p, init as D, safe_not_equal as A, append_styles as I, empty as R, insert as y, transition_in as d, transition_out as _, check_outros as S, detach as k, element as v, create_component as z, space as C, attr as c, set_style as N, mount_component as O, append as q, listen as j, add_render_callback as B, create_in_transition as E, create_out_transition as F, destroy_component as G, group_outros as H, bubble as J } from "../../../vendor/svelte/internal/index.js";
1
+ import { SvelteComponent as p, init as D, safe_not_equal as A, append_styles as I, empty as R, insert as y, transition_in as d, group_outros as S, transition_out as _, check_outros as z, detach as k, element as v, create_component as C, space as N, attr as c, set_style as O, mount_component as j, append as q, listen as B, add_render_callback as E, create_in_transition as F, create_out_transition as G, destroy_component as H, bubble as J } from "../../../vendor/svelte/internal/index.js";
2
2
  import { fade as w } from "../../../vendor/svelte/transition/index.js";
3
3
  import { Image_Arrow as K } from "../../Assets/Icon.js";
4
4
  import { cubicInOut as b } from "../../../vendor/svelte/easing/index.js";
5
- import L from "./Shadow.js";
5
+ import { Shadow as L } from "./Shadow.js";
6
6
  function M(i) {
7
7
  I(i, "svelte-1ogmlqq", ".arrow.svelte-1ogmlqq{width:100%;height:100%;background-size:100%;transition:transform 400ms ease-in-out;cursor:pointer;pointer-events:auto}.arrow-wrapper.svelte-1ogmlqq{position:relative;width:100%;height:100%}.arrow.left.svelte-1ogmlqq{transform:rotate(0deg)}.arrow.right.svelte-1ogmlqq{transform:rotate(-180deg)}.arrow.top.svelte-1ogmlqq{transform:rotate(90deg)}.arrow.bottom.svelte-1ogmlqq{transform:rotate(-90deg)}");
8
8
  }
@@ -16,17 +16,17 @@ function h(i) {
16
16
  }
17
17
  }), {
18
18
  c() {
19
- r = v("div"), z(o.$$.fragment), e = C(), t = v("div"), c(t, "class", l = "arrow " + i[0] + " svelte-1ogmlqq"), N(t, "background-image", "url(" + K + ")"), c(r, "class", "arrow-wrapper svelte-1ogmlqq");
19
+ r = v("div"), C(o.$$.fragment), e = N(), t = v("div"), c(t, "class", l = "arrow " + i[0] + " svelte-1ogmlqq"), O(t, "background-image", "url(" + K + ")"), c(r, "class", "arrow-wrapper svelte-1ogmlqq");
20
20
  },
21
21
  m(a, m) {
22
- y(a, r, m), O(o, r, null), q(r, e), q(r, t), f = !0, n || (g = j(t, "click", i[5]), n = !0);
22
+ y(a, r, m), j(o, r, null), q(r, e), q(r, t), f = !0, n || (g = B(t, "click", i[5]), n = !0);
23
23
  },
24
24
  p(a, m) {
25
25
  i = a, (!f || m & 1 && l !== (l = "arrow " + i[0] + " svelte-1ogmlqq")) && c(t, "class", l);
26
26
  },
27
27
  i(a) {
28
- f || (d(o.$$.fragment, a), a && B(() => {
29
- s && s.end(1), u = E(t, w, {
28
+ f || (d(o.$$.fragment, a), a && E(() => {
29
+ s && s.end(1), u = F(t, w, {
30
30
  duration: i[2],
31
31
  delay: i[3],
32
32
  easing: b
@@ -34,14 +34,14 @@ function h(i) {
34
34
  }), f = !0);
35
35
  },
36
36
  o(a) {
37
- _(o.$$.fragment, a), u && u.invalidate(), a && (s = F(t, w, {
37
+ _(o.$$.fragment, a), u && u.invalidate(), a && (s = G(t, w, {
38
38
  duration: i[2],
39
39
  delay: i[4],
40
40
  easing: b
41
41
  })), f = !1;
42
42
  },
43
43
  d(a) {
44
- a && k(r), G(o), a && s && s.end(), n = !1, g();
44
+ a && k(r), H(o), a && s && s.end(), n = !1, g();
45
45
  }
46
46
  };
47
47
  }
@@ -55,9 +55,9 @@ function P(i) {
55
55
  e && e.m(t, l), y(t, r, l), o = !0;
56
56
  },
57
57
  p(t, [l]) {
58
- t[1] ? e ? (e.p(t, l), l & 2 && d(e, 1)) : (e = h(t), e.c(), d(e, 1), e.m(r.parentNode, r)) : e && (H(), _(e, 1, 1, () => {
58
+ t[1] ? e ? (e.p(t, l), l & 2 && d(e, 1)) : (e = h(t), e.c(), d(e, 1), e.m(r.parentNode, r)) : e && (S(), _(e, 1, 1, () => {
59
59
  e = null;
60
- }), S());
60
+ }), z());
61
61
  },
62
62
  i(t) {
63
63
  o || (d(e), o = !0);
@@ -99,5 +99,5 @@ class Y extends p {
99
99
  }
100
100
  }
101
101
  export {
102
- Y as default
102
+ Y as Arrow
103
103
  };
@@ -9,15 +9,15 @@ var F = (t, e, i) => e in t ? N(t, e, { enumerable: !0, configurable: !0, writab
9
9
  P.call(e, i) && F(t, i, e[i]);
10
10
  return t;
11
11
  };
12
- import { SvelteComponent as T, init as U, safe_not_equal as j, append_styles as G, empty as H, insert as q, transition_in as v, transition_out as z, check_outros as J, detach as R, getContext as A, element as b, create_component as K, space as I, attr as h, src_url_equal as D, toggle_class as M, mount_component as Q, append as k, listen as C, stop_propagation as V, add_render_callback as W, create_in_transition as X, create_out_transition as Y, destroy_component as Z, run_all as x, group_outros as $, binding_callbacks as ee } from "../../../vendor/svelte/internal/index.js";
12
+ import { SvelteComponent as T, init as U, safe_not_equal as j, append_styles as G, empty as H, insert as q, transition_in as v, group_outros as J, transition_out as z, check_outros as K, detach as R, getContext as A, element as b, create_component as Q, space as I, attr as h, src_url_equal as D, toggle_class as M, mount_component as V, append as k, listen as C, stop_propagation as W, add_render_callback as X, create_in_transition as Y, create_out_transition as Z, destroy_component as x, run_all as $, binding_callbacks as ee } from "../../../vendor/svelte/internal/index.js";
13
13
  import { fade as S } from "../../../vendor/svelte/transition/index.js";
14
14
  import { cubicInOut as B } from "../../../vendor/svelte/easing/index.js";
15
- import te from "./Shadow.js";
15
+ import { Shadow as te } from "./Shadow.js";
16
16
  function ie(t) {
17
17
  G(t, "svelte-1ku3wt4", `.audio.svelte-1ku3wt4.svelte-1ku3wt4{position:relative;width:100%;height:100%;cursor:pointer}@keyframes svelte-1ku3wt4-playing{25%{background-image:url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='9' cy='9' r='8' transform='translate(-1 -1)' fill='%23FFF' fill-rule='nonzero'/%3E%3C/svg%3E")}50%{background-image:url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8 0a8 8 0 1 1 0 16A8 8 0 0 1 8 0zM5.533 6.685L4.169 8.049l1.414 1.413a2.078 2.078 0 0 0-.05-2.777z' fill='%23FFF' fill-rule='nonzero'/%3E%3C/svg%3E")}75%{background-image:url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8 0a8 8 0 1 1 0 16A8 8 0 0 1 8 0zm-.656 4.874l-.906.905A3.35 3.35 0 0 1 7.369 8.1c0 .875-.333 1.67-.88 2.268l.906.906A4.628 4.628 0 0 0 8.65 8.101a4.627 4.627 0 0 0-1.306-3.227zm-1.811 1.81L4.169 8.05l1.414 1.413a2.078 2.078 0 0 0-.05-2.777z' fill='%23FFF' fill-rule='nonzero'/%3E%3C/svg%3E")}}.paused.svelte-1ku3wt4 .audio-icon.svelte-1ku3wt4{animation:none}.audio-icon.svelte-1ku3wt4.svelte-1ku3wt4{width:100%;height:100%;border-radius:50%;background-size:100%;animation:svelte-1ku3wt4-playing 2s steps(1) infinite;background-image:url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8 0a8 8 0 1 1 0 16A8 8 0 0 1 8 0zm1.428 2.79l-.953.952a6.222 6.222 0 0 1 1.775 4.36c0 1.571-.58 3.006-1.538 4.103l-.184.202.793.794a7.344 7.344 0 0 0 2.21-5.26A7.341 7.341 0 0 0 9.428 2.79zM7.344 4.873l-.906.905A3.35 3.35 0 0 1 7.369 8.1c0 .802-.28 1.537-.748 2.115l-.132.153.906.906A4.628 4.628 0 0 0 8.65 8.101a4.627 4.627 0 0 0-1.306-3.227zm-1.811 1.81L4.169 8.05l1.414 1.413a2.078 2.078 0 0 0-.05-2.777z' fill='%23FFF' fill-rule='nonzero'/%3E%3C/svg%3E")}`);
18
18
  }
19
19
  function L(t) {
20
- let e, i, n, o, r, u, f, d = !0, c, g, a, m, w;
20
+ let e, i, a, o, r, u, f, d = !0, c, g, n, m, w;
21
21
  return i = new te({
22
22
  props: {
23
23
  center: !0,
@@ -26,113 +26,113 @@ function L(t) {
26
26
  }
27
27
  }), {
28
28
  c() {
29
- e = b("div"), K(i.$$.fragment), n = I(), o = b("div"), r = I(), u = b("audio"), h(o, "class", "audio-icon svelte-1ku3wt4"), u.controls = !1, h(u, "playsinline", ""), D(u.src, f = t[3]) || h(u, "src", f), h(e, "class", "audio svelte-1ku3wt4"), M(e, "paused", t[6]);
29
+ e = b("div"), Q(i.$$.fragment), a = I(), o = b("div"), r = I(), u = b("audio"), h(o, "class", "audio-icon svelte-1ku3wt4"), u.controls = !1, h(u, "playsinline", ""), D(u.src, f = t[3]) || h(u, "src", f), h(e, "class", "audio svelte-1ku3wt4"), M(e, "paused", t[6]);
30
30
  },
31
31
  m(s, _) {
32
- q(s, e, _), Q(i, e, null), k(e, n), k(e, o), k(e, r), k(e, u), t[9](u), a = !0, m || (w = [
32
+ q(s, e, _), V(i, e, null), k(e, a), k(e, o), k(e, r), k(e, u), t[9](u), n = !0, m || (w = [
33
33
  C(u, "play", t[10]),
34
34
  C(u, "pause", t[10]),
35
- C(e, "click", V(t[7]))
35
+ C(e, "click", W(t[7]))
36
36
  ], m = !0);
37
37
  },
38
38
  p(s, _) {
39
- t = s, (!a || _ & 8 && !D(u.src, f = t[3])) && h(u, "src", f), _ & 64 && d !== (d = t[6]) && u[d ? "pause" : "play"](), _ & 64 && M(e, "paused", t[6]);
39
+ t = s, (!n || _ & 8 && !D(u.src, f = t[3])) && h(u, "src", f), _ & 64 && d !== (d = t[6]) && u[d ? "pause" : "play"](), (!n || _ & 64) && M(e, "paused", t[6]);
40
40
  },
41
41
  i(s) {
42
- a || (v(i.$$.fragment, s), s && W(() => {
43
- g && g.end(1), c = X(e, S, {
42
+ n || (v(i.$$.fragment, s), s && X(() => {
43
+ g && g.end(1), c = Y(e, S, {
44
44
  duration: t[2],
45
45
  delay: t[0],
46
46
  easing: B
47
47
  }), c.start();
48
- }), a = !0);
48
+ }), n = !0);
49
49
  },
50
50
  o(s) {
51
- z(i.$$.fragment, s), c && c.invalidate(), s && (g = Y(e, S, {
51
+ z(i.$$.fragment, s), c && c.invalidate(), s && (g = Z(e, S, {
52
52
  duration: t[2],
53
53
  delay: t[1],
54
54
  easing: B
55
- })), a = !1;
55
+ })), n = !1;
56
56
  },
57
57
  d(s) {
58
- s && R(e), Z(i), t[9](null), s && g && g.end(), m = !1, x(w);
58
+ s && R(e), x(i), t[9](null), s && g && g.end(), m = !1, $(w);
59
59
  }
60
60
  };
61
61
  }
62
- function ae(t) {
63
- let e, i, n = t[4] && L(t);
62
+ function ne(t) {
63
+ let e, i, a = t[4] && L(t);
64
64
  return {
65
65
  c() {
66
- n && n.c(), e = H();
66
+ a && a.c(), e = H();
67
67
  },
68
68
  m(o, r) {
69
- n && n.m(o, r), q(o, e, r), i = !0;
69
+ a && a.m(o, r), q(o, e, r), i = !0;
70
70
  },
71
71
  p(o, [r]) {
72
- o[4] ? n ? (n.p(o, r), r & 16 && v(n, 1)) : (n = L(o), n.c(), v(n, 1), n.m(e.parentNode, e)) : n && ($(), z(n, 1, 1, () => {
73
- n = null;
74
- }), J());
72
+ o[4] ? a ? (a.p(o, r), r & 16 && v(a, 1)) : (a = L(o), a.c(), v(a, 1), a.m(e.parentNode, e)) : a && (J(), z(a, 1, 1, () => {
73
+ a = null;
74
+ }), K());
75
75
  },
76
76
  i(o) {
77
- i || (v(n), i = !0);
77
+ i || (v(a), i = !0);
78
78
  },
79
79
  o(o) {
80
- z(n), i = !1;
80
+ z(a), i = !1;
81
81
  },
82
82
  d(o) {
83
- n && n.d(o), o && R(e);
83
+ a && a.d(o), o && R(e);
84
84
  }
85
85
  };
86
86
  }
87
- function ne(t, e, i) {
88
- let { inDelay: n = 0 } = e, { outDelay: o = 0 } = e, { duration: r = 0 } = e, { url: u } = e, { unfolded: f } = e, { hooksInfo: d = {} } = e;
87
+ function ae(t, e, i) {
88
+ let { inDelay: a = 0 } = e, { outDelay: o = 0 } = e, { duration: r = 0 } = e, { url: u } = e, { unfolded: f } = e, { hooksInfo: d = {} } = e;
89
89
  const c = A("hooks"), g = A("mediaStore");
90
- let a, m = !0;
90
+ let n, m = !0;
91
91
  g.subscribe(({ currentMediaUrl: l }) => {
92
- l !== u && (a == null || a.pause());
92
+ l !== u && (n == null || n.pause());
93
93
  });
94
94
  function w(l) {
95
- g.set({ currentMediaUrl: u }), a && (c.emit("click", p({
95
+ g.set({ currentMediaUrl: u }), n && (c.emit("click", p({
96
96
  event: l,
97
97
  target: "AudioTagPlayIcon",
98
- audioInstance: a
99
- }, d)), a.paused ? a.play() : a.pause(), i(
98
+ audioInstance: n
99
+ }, d)), n.paused ? n.play() : n.pause(), i(
100
100
  5,
101
- a.onplay = (y) => c.emit("playStateChange", p({
101
+ n.onplay = (y) => c.emit("playStateChange", p({
102
102
  event: y,
103
103
  state: "playing",
104
- mediaInstance: a
104
+ mediaInstance: n
105
105
  }, d)),
106
- a
106
+ n
107
107
  ), i(
108
108
  5,
109
- a.onpause = (y) => c.emit("playStateChange", p({
109
+ n.onpause = (y) => c.emit("playStateChange", p({
110
110
  event: y,
111
111
  state: "paused",
112
- mediaInstance: a
112
+ mediaInstance: n
113
113
  }, d)),
114
- a
114
+ n
115
115
  ));
116
116
  }
117
117
  function s(l) {
118
118
  ee[l ? "unshift" : "push"](() => {
119
- a = l, i(5, a);
119
+ n = l, i(5, n);
120
120
  });
121
121
  }
122
122
  function _() {
123
123
  m = this.paused, i(6, m);
124
124
  }
125
125
  return t.$$set = (l) => {
126
- "inDelay" in l && i(0, n = l.inDelay), "outDelay" in l && i(1, o = l.outDelay), "duration" in l && i(2, r = l.duration), "url" in l && i(3, u = l.url), "unfolded" in l && i(4, f = l.unfolded), "hooksInfo" in l && i(8, d = l.hooksInfo);
126
+ "inDelay" in l && i(0, a = l.inDelay), "outDelay" in l && i(1, o = l.outDelay), "duration" in l && i(2, r = l.duration), "url" in l && i(3, u = l.url), "unfolded" in l && i(4, f = l.unfolded), "hooksInfo" in l && i(8, d = l.hooksInfo);
127
127
  }, t.$$.update = () => {
128
- t.$$.dirty & 48 && (f || a == null || a.pause());
128
+ t.$$.dirty & 48 && (f || n == null || n.pause());
129
129
  }, [
130
- n,
130
+ a,
131
131
  o,
132
132
  r,
133
133
  u,
134
134
  f,
135
- a,
135
+ n,
136
136
  m,
137
137
  w,
138
138
  d,
@@ -145,8 +145,8 @@ class de extends T {
145
145
  super(), U(
146
146
  this,
147
147
  e,
148
- ne,
149
148
  ae,
149
+ ne,
150
150
  j,
151
151
  {
152
152
  inDelay: 0,
@@ -161,5 +161,5 @@ class de extends T {
161
161
  }
162
162
  }
163
163
  export {
164
- de as default
164
+ de as Audio
165
165
  };
@@ -1,4 +1,4 @@
1
- import { SvelteComponent as D, init as g, safe_not_equal as v, append_styles as w, svg_element as s, attr as l, insert as y, append as d, transition_in as c, transition_out as _, check_outros as b, detach as p, add_render_callback as k, create_in_transition as O, create_out_transition as G, group_outros as I } from "../../../../vendor/svelte/internal/index.js";
1
+ import { SvelteComponent as D, init as g, safe_not_equal as v, append_styles as w, svg_element as s, attr as l, insert as y, append as d, transition_in as c, group_outros as b, transition_out as _, check_outros as k, detach as p, add_render_callback as O, create_in_transition as G, create_out_transition as I } from "../../../../vendor/svelte/internal/index.js";
2
2
  import { uuid as L } from "../../../../shared-utils/uuid.js";
3
3
  import { draw as h } from "../../../../vendor/svelte/transition/index.js";
4
4
  import { cubicOut as S, cubicInOut as U } from "../../../../vendor/svelte/easing/index.js";
@@ -18,8 +18,8 @@ function m(n) {
18
18
  n = i;
19
19
  },
20
20
  i(i) {
21
- r || (i && k(() => {
22
- o && o.end(1), a = O(e, h, {
21
+ r || (i && O(() => {
22
+ o && o.end(1), a = G(e, h, {
23
23
  duration: n[1],
24
24
  delay: n[0],
25
25
  easing: S
@@ -27,7 +27,7 @@ function m(n) {
27
27
  }), r = !0);
28
28
  },
29
29
  o(i) {
30
- a && a.invalidate(), i && (o = G(e, h, {
30
+ a && a.invalidate(), i && (o = I(e, h, {
31
31
  duration: n[1],
32
32
  delay: n[2],
33
33
  easing: U
@@ -48,9 +48,9 @@ function B(n) {
48
48
  y(f, e, u), d(e, a), d(a, o), d(o, r), d(o, i), t && t.m(e, null);
49
49
  },
50
50
  p(f, [u]) {
51
- f[3] ? t ? (t.p(f, u), u & 8 && c(t, 1)) : (t = m(f), t.c(), c(t, 1), t.m(e, null)) : t && (I(), _(t, 1, 1, () => {
51
+ f[3] ? t ? (t.p(f, u), u & 8 && c(t, 1)) : (t = m(f), t.c(), c(t, 1), t.m(e, null)) : t && (b(), _(t, 1, 1, () => {
52
52
  t = null;
53
- }), b());
53
+ }), k());
54
54
  },
55
55
  i(f) {
56
56
  c(t);
@@ -89,5 +89,5 @@ class A extends D {
89
89
  }
90
90
  }
91
91
  export {
92
- A as default
92
+ A as Polyline
93
93
  };