@realsee/dnalogel 2.2.6 → 2.3.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 (377) hide show
  1. package/dist/CSS3DRenderPlugin/CSS3DRender.d.ts +48 -34
  2. package/dist/CSS3DRenderPlugin/Controller.d.ts +5 -5
  3. package/dist/CSS3DRenderPlugin/index.d.ts +2 -1
  4. package/dist/CSS3DRenderPlugin/utils/createResizeObserver.d.ts +4 -0
  5. package/dist/CSS3DRenderPlugin/utils/even.d.ts +9 -0
  6. package/dist/CSS3DRenderPlugin/utils/generateBehindFiveElement.d.ts +2 -0
  7. package/dist/CSS3DRenderPlugin/utils/getAllCSS3DObject.d.ts +3 -0
  8. package/dist/CSS3DRenderPlugin/utils/index.d.ts +1 -1
  9. package/dist/CSS3DRenderPlugin/utils/three/CSS3DGroup.d.ts +25 -0
  10. package/dist/CSS3DRenderPlugin/utils/{CSS3DObjectPlus.d.ts → three/CSS3DObject.d.ts} +31 -11
  11. package/dist/CSS3DRenderPlugin/utils/three/CSS3DRenderer.d.ts +14 -0
  12. package/dist/CSS3DRenderPlugin/utils/three/CSS3DScene.d.ts +12 -0
  13. package/dist/CSS3DRenderPlugin/utils/three/OpacityMesh.d.ts +6 -0
  14. package/dist/CSS3DRenderPlugin/utils/waitFiveModelLoaded.d.ts +2 -0
  15. package/dist/Object3DHelperPlugin/Controller.d.ts +2 -0
  16. package/dist/index.cjs.js +46 -46
  17. package/dist/index.js +4987 -4817
  18. package/dist/index.umd.js +39 -39
  19. package/dist/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +2 -2
  20. package/docs/assets/highlight.css +7 -0
  21. package/docs/assets/main.js +1 -1
  22. package/docs/assets/search.js +1 -1
  23. package/docs/classes/CSS3DRender.html +533 -0
  24. package/docs/classes/CruisePluginController.html +24 -24
  25. package/docs/classes/Magnifier.html +16 -16
  26. package/docs/classes/ModelRoomLabelController.html +11 -11
  27. package/docs/classes/Object3DHelperController.html +24 -24
  28. package/docs/classes/PaintBrush.html +15 -15
  29. package/docs/classes/PanoTagPluginController.html +39 -39
  30. package/docs/classes/Util.BetterTween.html +8 -8
  31. package/docs/classes/Util.FivePointSelector.html +12 -12
  32. package/docs/classes/Util.Interval.html +12 -12
  33. package/docs/classes/Util.Magnifier.html +17 -17
  34. package/docs/classes/Util.PointDomHelper.html +11 -11
  35. package/docs/classes/Util.PointHelper.html +11 -11
  36. package/docs/classes/Util.Rectangle.html +13 -13
  37. package/docs/enums/CameraMovementEffect.html +7 -7
  38. package/docs/enums/ContentType.html +12 -12
  39. package/docs/enums/DIRECTION.html +9 -9
  40. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +9 -9
  41. package/docs/enums/DimensionType.html +7 -7
  42. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +8 -8
  43. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +9 -9
  44. package/docs/enums/LinkType.html +7 -7
  45. package/docs/enums/PaintBrushTypeEnum.html +8 -8
  46. package/docs/enums/PointType.html +7 -7
  47. package/docs/enums/Rotation.html +8 -8
  48. package/docs/functions/CSS3DRenderPlugin.html +6 -5
  49. package/docs/functions/CameraMovementPlugin.html +6 -5
  50. package/docs/functions/CruisePlugin.html +6 -5
  51. package/docs/functions/GuideLinePlugin.html +7 -6
  52. package/docs/functions/ItemLabelPlugin.html +6 -5
  53. package/docs/functions/MapviewFloorplanPlugin.html +6 -5
  54. package/docs/functions/ModelChassisCompassPlugin.html +6 -5
  55. package/docs/functions/ModelEntryDoorGuidePlugin.html +6 -5
  56. package/docs/functions/ModelFloorplanPlugin.html +6 -5
  57. package/docs/functions/ModelItemLabelPlugin.html +6 -5
  58. package/docs/functions/ModelRoomLabelPlugin.html +6 -5
  59. package/docs/functions/ModelTVVideoPlugin.html +6 -5
  60. package/docs/functions/ModelViewPlugin.html +6 -5
  61. package/docs/functions/Object3DHelperPlugin.html +6 -5
  62. package/docs/functions/PanoCompassPlugin.html +6 -5
  63. package/docs/functions/PanoCursorRaycasterPlugin.html +6 -5
  64. package/docs/functions/PanoDoorLabelPlugin.html +6 -5
  65. package/docs/functions/PanoFloorplanRadarPlugin.html +6 -5
  66. package/docs/functions/PanoMeasurePlugin.html +6 -5
  67. package/docs/functions/PanoRulerPlugin.html +6 -5
  68. package/docs/functions/PanoRulerProPlugin.html +6 -5
  69. package/docs/functions/PanoSpatialTagPlugin.html +6 -5
  70. package/docs/functions/PanoTagPlugin.html +6 -5
  71. package/docs/functions/TopviewFloorplanPlugin.html +6 -5
  72. package/docs/functions/Util.getCoordsFromClient.html +5 -5
  73. package/docs/functions/Util.getCoordsFromElement.html +5 -5
  74. package/docs/functions/Util.getFrameTime.html +5 -5
  75. package/docs/functions/Util.getIntersectFromRelativePosition.html +5 -5
  76. package/docs/functions/Util.getRaycasterFromFivePointer.html +5 -5
  77. package/docs/functions/Util.isNil.html +5 -5
  78. package/docs/functions/Util.nextFrame.html +5 -5
  79. package/docs/functions/Util.notNil.html +5 -5
  80. package/docs/functions/Util.requestAnimationFrameInterval.html +5 -5
  81. package/docs/functions/Util.tweenProgress.html +5 -5
  82. package/docs/functions/pluginFlag.html +7 -6
  83. package/docs/index.html +6 -5
  84. package/docs/interfaces/CSS3DRenderPluginEventMap.html +11 -11
  85. package/docs/interfaces/CSS3DRenderPluginState.html +8 -8
  86. package/docs/interfaces/CameraMovementPluginExportType.html +7 -7
  87. package/docs/interfaces/ContentTypeMap.html +12 -12
  88. package/docs/interfaces/FloorplanBounding.html +8 -8
  89. package/docs/interfaces/FloorplanData.html +10 -10
  90. package/docs/interfaces/FloorplanEntrance.html +11 -11
  91. package/docs/interfaces/FloorplanExtraObject.html +10 -10
  92. package/docs/interfaces/FloorplanExtraObject3D.html +8 -8
  93. package/docs/interfaces/FloorplanFloorData.html +9 -9
  94. package/docs/interfaces/FloorplanImagePosition.html +7 -7
  95. package/docs/interfaces/FloorplanObserver.html +9 -9
  96. package/docs/interfaces/FloorplanOutlineItem.html +9 -9
  97. package/docs/interfaces/FloorplanPosition.html +7 -7
  98. package/docs/interfaces/FloorplanRoomItem.html +13 -13
  99. package/docs/interfaces/FloorplanRoomLabelItem.html +7 -7
  100. package/docs/interfaces/FloorplanServerBounding.html +8 -8
  101. package/docs/interfaces/FloorplanServerComputedData.html +10 -10
  102. package/docs/interfaces/FloorplanServerData.html +7 -7
  103. package/docs/interfaces/FloorplanServerDoorItem.html +10 -10
  104. package/docs/interfaces/FloorplanServerDoorPosition.html +8 -8
  105. package/docs/interfaces/FloorplanServerEntrance.html +11 -11
  106. package/docs/interfaces/FloorplanServerFloorData.html +9 -9
  107. package/docs/interfaces/FloorplanServerImagePosition.html +7 -7
  108. package/docs/interfaces/FloorplanServerObserver.html +9 -9
  109. package/docs/interfaces/FloorplanServerOutlineItem.html +9 -9
  110. package/docs/interfaces/FloorplanServerPosition.html +7 -7
  111. package/docs/interfaces/FloorplanServerRoomItem.html +14 -14
  112. package/docs/interfaces/FloorplanServerRoomLabelItem.html +7 -7
  113. package/docs/interfaces/ItemLabelPluginData.html +6 -6
  114. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +11 -11
  115. package/docs/interfaces/ItemLabelPluginParametersType.html +9 -9
  116. package/docs/interfaces/LineJson.html +7 -7
  117. package/docs/interfaces/ModelChassisCompassPluginData.html +7 -7
  118. package/docs/interfaces/ModelChassisCompassPluginExportType.html +8 -8
  119. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +7 -7
  120. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +8 -8
  121. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +8 -8
  122. package/docs/interfaces/ModelItemLabelPluginData.html +6 -6
  123. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +11 -11
  124. package/docs/interfaces/ModelItemLabelPluginParametersType.html +7 -7
  125. package/docs/interfaces/ModelRoomLabelPluginData.html +6 -6
  126. package/docs/interfaces/ModelTVVideoPluginData.html +9 -9
  127. package/docs/interfaces/ModelTVVideoPluginExportType.html +8 -8
  128. package/docs/interfaces/ModelTVVideoPluginParameterType.html +6 -6
  129. package/docs/interfaces/ModelViewPluginExportType.html +8 -8
  130. package/docs/interfaces/Object3DHelperState.html +8 -8
  131. package/docs/interfaces/OpenParameter.html +7 -7
  132. package/docs/interfaces/PaintBrushAction.html +12 -12
  133. package/docs/interfaces/PaintBrushConfigs.html +12 -12
  134. package/docs/interfaces/PaintBrushState.html +10 -10
  135. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +10 -10
  136. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +7 -6
  137. package/docs/interfaces/PanoMeasureParameterType.html +11 -11
  138. package/docs/interfaces/PanoRulerPluginExportType.html +10 -10
  139. package/docs/interfaces/PanoRulerPluginOptions.html +7 -7
  140. package/docs/interfaces/PanoRulerPluginParameterType.html +8 -8
  141. package/docs/interfaces/PanoRulerProPluginExportType.html +9 -9
  142. package/docs/interfaces/PanoRulerProPluginOptions.html +7 -7
  143. package/docs/interfaces/PanoRulerProPluginParameterType.html +7 -7
  144. package/docs/interfaces/PanoRulerProPluginState.html +8 -8
  145. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +7 -6
  146. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +7 -6
  147. package/docs/interfaces/PanoSpatialTagPluginData.html +11 -11
  148. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +10 -10
  149. package/docs/interfaces/PanoSpatialTagPluginExportType.html +13 -13
  150. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +10 -10
  151. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +13 -13
  152. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +11 -11
  153. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +10 -10
  154. package/docs/interfaces/Point.html +8 -8
  155. package/docs/interfaces/PointJson.html +8 -8
  156. package/docs/interfaces/Room.html +9 -9
  157. package/docs/interfaces/RoomInfo.html +7 -7
  158. package/docs/interfaces/RoomLabel.html +14 -14
  159. package/docs/interfaces/RoomRules.html +7 -6
  160. package/docs/interfaces/Rooms.html +7 -6
  161. package/docs/interfaces/Scissor.html +9 -9
  162. package/docs/interfaces/TagConfig.html +10 -10
  163. package/docs/interfaces/Tags.html +9 -9
  164. package/docs/interfaces/Util.MagnifierParameter.html +11 -11
  165. package/docs/interfaces/Util.MouseGroupParameter.html +8 -8
  166. package/docs/modules/Util.html +5 -5
  167. package/docs/modules.html +7 -5
  168. package/docs/types/ArrayPosition.html +7 -6
  169. package/docs/types/CSS3DRenderExportType.html +8 -7
  170. package/docs/types/CSS3DRenderPluginExportType.html +7 -6
  171. package/docs/types/CSS3DRenderPluginParameterType.html +7 -6
  172. package/docs/types/Color.html +7 -6
  173. package/docs/types/ContentTypeConfigKey.html +7 -6
  174. package/docs/types/ContentTypeConfigKeyArray.html +7 -6
  175. package/docs/types/Create3DDomContainerReturnType.html +7 -6
  176. package/docs/types/Create3DElementReturnType.html +8 -7
  177. package/docs/types/CruisePluginExportType.html +7 -6
  178. package/docs/types/Direction-1.html +7 -6
  179. package/docs/types/Direction4.html +7 -6
  180. package/docs/types/FloorplanRuleLabels.html +7 -6
  181. package/docs/types/FloorplanServerRuleLabels.html +7 -6
  182. package/docs/types/GuideLinePluginExportType.html +7 -6
  183. package/docs/types/HelperEventMap.html +7 -6
  184. package/docs/types/MapviewFloorplanPluginParameterType.html +7 -6
  185. package/docs/types/MapviewFloorplanPluginReturnType.html +7 -6
  186. package/docs/types/MediaData.html +7 -6
  187. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +7 -6
  188. package/docs/types/ModelFloorplanPluginParameterType.html +7 -6
  189. package/docs/types/ModelFloorplanPluginReturnType.html +7 -6
  190. package/docs/types/ModelRoomLabelPluginParameters.html +7 -6
  191. package/docs/types/ModelRoomLabelPluginReturnType.html +7 -6
  192. package/docs/types/MoveArgs.html +7 -6
  193. package/docs/types/MoveOpts.html +7 -6
  194. package/docs/types/Object3DHelperEventMap.html +7 -6
  195. package/docs/types/ObjectFit.html +7 -6
  196. package/docs/types/PaintBrushEventMap.html +7 -6
  197. package/docs/types/PanoCompassPluginData.html +7 -6
  198. package/docs/types/PanoCompassPluginExportType.html +7 -6
  199. package/docs/types/PanoCompassPluginParameterType.html +7 -6
  200. package/docs/types/PanoFloorplanRadarPluginParameterType.html +7 -6
  201. package/docs/types/PanoFloorplanRadarPluginReturnType.html +7 -6
  202. package/docs/types/PanoMeasurePluginEvent.html +7 -6
  203. package/docs/types/PanoMeasureReturnType.html +7 -6
  204. package/docs/types/PanoSpatialTagPluginId.html +7 -6
  205. package/docs/types/PanoTagPluginExportInterface.html +7 -6
  206. package/docs/types/PanoTagPluginParamsInterface.html +7 -6
  207. package/docs/types/PlaneTag.html +7 -6
  208. package/docs/types/PointTag.html +7 -6
  209. package/docs/types/Position.html +7 -6
  210. package/docs/types/RotateArgs.html +7 -6
  211. package/docs/types/RotateOpts.html +7 -6
  212. package/docs/types/RuleLabelsKey.html +7 -6
  213. package/docs/types/RuleLabelsValue.html +7 -6
  214. package/docs/types/Tag.html +7 -6
  215. package/docs/types/Tag2D.html +7 -6
  216. package/docs/types/Tag3D.html +7 -6
  217. package/docs/types/TagId.html +7 -6
  218. package/docs/types/TopviewFloorplanPluginParameterType.html +7 -6
  219. package/docs/types/TopviewFloorplanPluginReturnType.html +7 -6
  220. package/docs/variables/FLOOR_TYPE_MAP.html +7 -6
  221. package/docs/variables/PLUGIN.html +7 -6
  222. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +7 -6
  223. package/docs/variables/ROOM_TYPE_MAP.html +7 -6
  224. package/docs/variables/VERSION.html +7 -6
  225. package/docs/variables/itemLabelPluginServerParams.html +7 -6
  226. package/docs/variables/modelItemLabelPluginServerParams.html +7 -6
  227. package/docs/variables/modelRoomLabelPluginServerParams.html +7 -6
  228. package/libs/CSS3DRenderPlugin/CSS3DRender.d.ts +48 -34
  229. package/libs/CSS3DRenderPlugin/CSS3DRender.js +198 -251
  230. package/libs/CSS3DRenderPlugin/Controller.d.ts +5 -5
  231. package/libs/CSS3DRenderPlugin/Controller.js +63 -58
  232. package/libs/CSS3DRenderPlugin/index.d.ts +2 -1
  233. package/libs/CSS3DRenderPlugin/index.js +21 -3
  234. package/libs/CSS3DRenderPlugin/utils/createResizeObserver.d.ts +4 -0
  235. package/libs/CSS3DRenderPlugin/utils/createResizeObserver.js +22 -0
  236. package/libs/CSS3DRenderPlugin/utils/even.d.ts +9 -0
  237. package/libs/CSS3DRenderPlugin/utils/even.js +7 -0
  238. package/libs/CSS3DRenderPlugin/utils/generateBehindFiveElement.d.ts +2 -0
  239. package/libs/CSS3DRenderPlugin/utils/generateBehindFiveElement.js +29 -0
  240. package/libs/CSS3DRenderPlugin/utils/getAllCSS3DObject.d.ts +3 -0
  241. package/libs/CSS3DRenderPlugin/utils/getAllCSS3DObject.js +9 -0
  242. package/libs/CSS3DRenderPlugin/utils/index.d.ts +1 -1
  243. package/libs/CSS3DRenderPlugin/utils/three/CSS3DGroup.d.ts +25 -0
  244. package/libs/CSS3DRenderPlugin/utils/three/CSS3DGroup.js +53 -0
  245. package/libs/CSS3DRenderPlugin/utils/{CSS3DObjectPlus.d.ts → three/CSS3DObject.d.ts} +31 -11
  246. package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.js +115 -0
  247. package/libs/CSS3DRenderPlugin/utils/three/CSS3DRenderer.d.ts +14 -0
  248. package/libs/CSS3DRenderPlugin/utils/three/CSS3DRenderer.js +46 -0
  249. package/libs/CSS3DRenderPlugin/utils/three/CSS3DScene.d.ts +12 -0
  250. package/libs/CSS3DRenderPlugin/utils/three/CSS3DScene.js +39 -0
  251. package/libs/CSS3DRenderPlugin/utils/three/OpacityMesh.d.ts +6 -0
  252. package/libs/CSS3DRenderPlugin/utils/three/OpacityMesh.js +18 -0
  253. package/libs/CSS3DRenderPlugin/utils/waitFiveModelLoaded.d.ts +2 -0
  254. package/libs/CSS3DRenderPlugin/utils/waitFiveModelLoaded.js +31 -0
  255. package/libs/CameraMovementPlugin/CameraMovementPlugin.js +28 -25
  256. package/libs/CameraMovementPlugin/index.js +13 -0
  257. package/libs/CruisePlugin/Controller.js +65 -54
  258. package/libs/CruisePlugin/index.js +26 -3
  259. package/libs/CruisePlugin/typing.js +1 -0
  260. package/libs/GuideLinePlugin/Controller.js +14 -9
  261. package/libs/GuideLinePlugin/index.js +14 -3
  262. package/libs/GuideLinePlugin/typing.js +1 -0
  263. package/libs/ItemLabelPlugin/Plugin.js +33 -23
  264. package/libs/ItemLabelPlugin/events.type.js +1 -0
  265. package/libs/ItemLabelPlugin/index.js +16 -2
  266. package/libs/ModelChassisCompassPlugin/Plugin.js +2 -1
  267. package/libs/ModelChassisCompassPlugin/index.js +8 -0
  268. package/libs/ModelEntryDoorGuidePlugin/Plugin.js +44 -39
  269. package/libs/ModelEntryDoorGuidePlugin/index.js +9 -0
  270. package/libs/ModelItemLabelPlugin/ModelItemLabelPlugin.js +28 -22
  271. package/libs/ModelItemLabelPlugin/index.js +12 -2
  272. package/libs/ModelRoomLabelPlugin/Controller.js +6 -2
  273. package/libs/ModelRoomLabelPlugin/index.js +10 -3
  274. package/libs/ModelRoomLabelPlugin/typings.js +1 -0
  275. package/libs/ModelTVVideoPlugin/Plugin.js +80 -62
  276. package/libs/ModelTVVideoPlugin/index.js +25 -0
  277. package/libs/ModelViewPlugin/Plugin.js +2 -1
  278. package/libs/ModelViewPlugin/index.js +6 -0
  279. package/libs/Object3DHelperPlugin/Controller.d.ts +2 -0
  280. package/libs/Object3DHelperPlugin/Controller.js +114 -73
  281. package/libs/Object3DHelperPlugin/FiveControllerWrapper.js +13 -9
  282. package/libs/Object3DHelperPlugin/index.js +48 -3
  283. package/libs/Object3DHelperPlugin/typings.js +1 -0
  284. package/libs/PanoCompassPlugin/Controller.js +60 -40
  285. package/libs/PanoCompassPlugin/index.js +31 -3
  286. package/libs/PanoCompassPlugin/typings.js +1 -0
  287. package/libs/PanoCursorRaycasterPlugin/index.js +4 -2
  288. package/libs/PanoDoorLabelPlugin/BaseController.js +27 -26
  289. package/libs/PanoDoorLabelPlugin/Controller.js +7 -2
  290. package/libs/PanoDoorLabelPlugin/index.js +12 -2
  291. package/libs/PanoDoorLabelPlugin/typings.js +1 -0
  292. package/libs/PanoMeasurePlugin/index.js +56 -5
  293. package/libs/PanoRulerPlugin/Plugin.js +22 -17
  294. package/libs/PanoRulerPlugin/index.js +9 -0
  295. package/libs/PanoRulerPlugin/style.js +1 -1
  296. package/libs/PanoRulerPlugin/typings.js +1 -0
  297. package/libs/PanoRulerProPlugin/Controller.js +38 -27
  298. package/libs/PanoRulerProPlugin/index.js +16 -3
  299. package/libs/PanoRulerProPlugin/typings.js +1 -0
  300. package/libs/PanoSpatialTagPlugin/Components/origins.js +2 -3
  301. package/libs/PanoSpatialTagPlugin/Components/tag.js +2 -3
  302. package/libs/PanoSpatialTagPlugin/Plugin.js +91 -71
  303. package/libs/PanoSpatialTagPlugin/index.js +28 -0
  304. package/libs/PanoSpatialTagPlugin/store.js +1 -0
  305. package/libs/PanoTagPlugin/Components/Common/Arrow.js +11 -11
  306. package/libs/PanoTagPlugin/Components/Common/Audio.js +43 -43
  307. package/libs/PanoTagPlugin/Components/Common/Line/Polyline.js +7 -7
  308. package/libs/PanoTagPlugin/Components/Common/Line/Straight.js +28 -29
  309. package/libs/PanoTagPlugin/Components/Common/Media.js +47 -55
  310. package/libs/PanoTagPlugin/Components/Common/MediaItem.js +1 -1
  311. package/libs/PanoTagPlugin/Components/Common/MultiLineText.js +59 -68
  312. package/libs/PanoTagPlugin/Components/Common/Point/CustomPoint.js +5 -7
  313. package/libs/PanoTagPlugin/Components/Common/Point/DefaultPoint.js +21 -23
  314. package/libs/PanoTagPlugin/Components/Common/Point/PointSwitch.js +28 -31
  315. package/libs/PanoTagPlugin/Components/Common/Shadow.js +9 -10
  316. package/libs/PanoTagPlugin/Components/Common/Text.js +9 -9
  317. package/libs/PanoTagPlugin/Components/Tag/AudioTag.js +19 -27
  318. package/libs/PanoTagPlugin/Components/Tag/CustomTag.js +22 -22
  319. package/libs/PanoTagPlugin/Components/Tag/ImageTextTag.js +97 -118
  320. package/libs/PanoTagPlugin/Components/Tag/LinkTag.js +6 -8
  321. package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +3 -5
  322. package/libs/PanoTagPlugin/Components/Tag/MediaPlane.js +54 -72
  323. package/libs/PanoTagPlugin/Components/Tag/TextTag.js +54 -65
  324. package/libs/PanoTagPlugin/Components/Tag/index.js +74 -103
  325. package/libs/PanoTagPlugin/Components/TagContainer.js +65 -108
  326. package/libs/PanoTagPlugin/Components/TagWrapper.js +78 -116
  327. package/libs/PanoTagPlugin/controller/index.js +2 -2
  328. package/libs/PanoTagPlugin/index.js +90 -3
  329. package/libs/PanoTagPlugin/tag.config.js +2 -1
  330. package/libs/floorplan/Components/BaseImage.js +7 -7
  331. package/libs/floorplan/Components/Camera.js +10 -10
  332. package/libs/floorplan/Components/Compass.js +1 -1
  333. package/libs/floorplan/Components/CurrentFloor.js +47 -56
  334. package/libs/floorplan/Components/Main.js +80 -99
  335. package/libs/floorplan/Components/Normalmage.js +5 -5
  336. package/libs/floorplan/Components/RoomHighlight/Room.js +11 -11
  337. package/libs/floorplan/Components/RoomHighlight/RoomHighlight.js +13 -14
  338. package/libs/floorplan/Components/RoomLabels/RoomLabel.js +1 -1
  339. package/libs/floorplan/Components/RoomLabels/RoomLabels.js +47 -47
  340. package/libs/floorplan/Components/RoomMaterials/RoomMaterial.js +23 -23
  341. package/libs/floorplan/Components/RoomMaterials/RoomMaterial_0.js +14 -14
  342. package/libs/floorplan/Components/RoomMaterials/RoomMaterial_1.js +13 -13
  343. package/libs/floorplan/Components/RoomMaterials/RoomMaterial_2.js +13 -13
  344. package/libs/floorplan/Components/RuleLabels/RuleItem.js +6 -6
  345. package/libs/floorplan/Components/RuleLabels/RuleLabels.js +14 -14
  346. package/libs/floorplan/Components/SvgImage.js +12 -12
  347. package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +111 -81
  348. package/libs/floorplan/MapviewFloorplanPlugin/index.js +47 -3
  349. package/libs/floorplan/MapviewFloorplanPlugin/typing.js +1 -0
  350. package/libs/floorplan/ModelFloorplanPlugin/Controller.js +166 -135
  351. package/libs/floorplan/ModelFloorplanPlugin/index.js +47 -3
  352. package/libs/floorplan/ModelFloorplanPlugin/typing.js +1 -0
  353. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Camera.js +1 -1
  354. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/CurrentFloor.js +8 -12
  355. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/ExtraObjects.js +20 -20
  356. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Main.js +74 -83
  357. package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +51 -36
  358. package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +24 -3
  359. package/libs/floorplan/PanoFloorplanRadarPlugin/typing.js +1 -0
  360. package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +155 -126
  361. package/libs/floorplan/TopviewFloorplanPlugin/index.js +44 -3
  362. package/libs/floorplan/TopviewFloorplanPlugin/style.d.ts +1 -0
  363. package/libs/floorplan/TopviewFloorplanPlugin/style.js +11 -0
  364. package/libs/floorplan/TopviewFloorplanPlugin/typing.js +1 -0
  365. package/libs/floorplan/typings/index.js +1 -0
  366. package/libs/index.js +123 -114
  367. package/libs/shared-utils/Object3DHelper/Base/BaseController.js +1 -1
  368. package/libs/shared-utils/Object3DHelper/Helper/MoveHelper.js +8 -7
  369. package/libs/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +2 -2
  370. package/libs/shared-utils/Object3DHelper/Helper/index.js +1 -0
  371. package/libs/shared-utils/three/index.js +2 -1
  372. package/package.json +31 -30
  373. package/dist/CSS3DRenderPlugin/utils/evenNumber.d.ts +0 -3
  374. package/libs/CSS3DRenderPlugin/utils/CSS3DObjectPlus.js +0 -65
  375. package/libs/CSS3DRenderPlugin/utils/evenNumber.d.ts +0 -3
  376. package/libs/CSS3DRenderPlugin/utils/evenNumber.js +0 -7
  377. package/libs/PanoTagPlugin/Components/Common/TextItem.js +0 -106
@@ -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"](), (!a || _ & 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
  };
@@ -1,54 +1,53 @@
1
- import { SvelteComponent as g, init as v, safe_not_equal as D, append_styles as k, svg_element as u, attr as l, insert as y, append as d, transition_in as c, transition_out as _, check_outros as w, detach as p, add_render_callback as b, create_in_transition as z, create_out_transition as S, group_outros as G } from "../../../../vendor/svelte/internal/index.js";
1
+ import { SvelteComponent as g, init as v, safe_not_equal as D, append_styles as k, svg_element as u, attr as l, insert as y, append as d, transition_in as c, group_outros as w, transition_out as _, check_outros as b, detach as p, add_render_callback as z, create_in_transition as S, create_out_transition as G } from "../../../../vendor/svelte/internal/index.js";
2
2
  import { draw as h } from "../../../../vendor/svelte/transition/index.js";
3
3
  import { uuid as U } from "../../../../shared-utils/uuid.js";
4
- import "../../../../vendor/svelte/easing/index.js";
5
- function q(o) {
6
- k(o, "svelte-1omzoh4", ".straight-line.svelte-1omzoh4{display:block;width:100%;height:100%;overflow:visible}");
4
+ function q(n) {
5
+ k(n, "svelte-1omzoh4", ".straight-line.svelte-1omzoh4{display:block;width:100%;height:100%;overflow:visible}");
7
6
  }
8
- function m(o) {
9
- let e, a, n, r;
7
+ function m(n) {
8
+ let e, a, o, r;
10
9
  return {
11
10
  c() {
12
- e = u("path"), l(e, "fill", "none"), l(e, "stroke", "url(#" + o[4] + ")"), l(e, "stroke-width", "1"), l(e, "d", "M0 0.5 L 148 0.5");
11
+ e = u("path"), l(e, "fill", "none"), l(e, "stroke", "url(#" + n[4] + ")"), l(e, "stroke-width", "1"), l(e, "d", "M0 0.5 L 148 0.5");
13
12
  },
14
13
  m(i, t) {
15
14
  y(i, e, t), r = !0;
16
15
  },
17
16
  p(i, t) {
18
- o = i;
17
+ n = i;
19
18
  },
20
19
  i(i) {
21
- r || (i && b(() => {
22
- n && n.end(1), a = z(e, h, {
23
- duration: o[1],
24
- delay: o[0]
20
+ r || (i && z(() => {
21
+ o && o.end(1), a = S(e, h, {
22
+ duration: n[1],
23
+ delay: n[0]
25
24
  }), a.start();
26
25
  }), r = !0);
27
26
  },
28
27
  o(i) {
29
- a && a.invalidate(), i && (n = S(e, h, {
30
- duration: o[1],
31
- delay: o[2]
28
+ a && a.invalidate(), i && (o = G(e, h, {
29
+ duration: n[1],
30
+ delay: n[2]
32
31
  })), r = !1;
33
32
  },
34
33
  d(i) {
35
- i && p(e), i && n && n.end();
34
+ i && p(e), i && o && o.end();
36
35
  }
37
36
  };
38
37
  }
39
- function A(o) {
40
- let e, a, n, r, i, t = o[3] && m(o);
38
+ function A(n) {
39
+ let e, a, o, r, i, t = n[3] && m(n);
41
40
  return {
42
41
  c() {
43
- e = u("svg"), a = u("defs"), n = u("linearGradient"), r = u("stop"), i = u("stop"), t && t.c(), l(r, "offset", "25%"), l(r, "stop-color", "white"), l(r, "stop-opacity", "1"), l(i, "offset", "100%"), l(i, "stop-color", "white"), l(i, "stop-opacity", "0.5"), l(n, "id", o[4]), l(n, "gradientUnits", "userSpaceOnUse"), l(e, "class", "straight-line svelte-1omzoh4"), l(e, "viewBox", "0 0 148 1"), l(e, "preserveAspectRatio", "none");
42
+ e = u("svg"), a = u("defs"), o = u("linearGradient"), r = u("stop"), i = u("stop"), t && t.c(), l(r, "offset", "25%"), l(r, "stop-color", "white"), l(r, "stop-opacity", "1"), l(i, "offset", "100%"), l(i, "stop-color", "white"), l(i, "stop-opacity", "0.5"), l(o, "id", n[4]), l(o, "gradientUnits", "userSpaceOnUse"), l(e, "class", "straight-line svelte-1omzoh4"), l(e, "viewBox", "0 0 148 1"), l(e, "preserveAspectRatio", "none");
44
43
  },
45
44
  m(f, s) {
46
- y(f, e, s), d(e, a), d(a, n), d(n, r), d(n, i), t && t.m(e, null);
45
+ y(f, e, s), d(e, a), d(a, o), d(o, r), d(o, i), t && t.m(e, null);
47
46
  },
48
47
  p(f, [s]) {
49
- f[3] ? t ? (t.p(f, s), s & 8 && c(t, 1)) : (t = m(f), t.c(), c(t, 1), t.m(e, null)) : t && (G(), _(t, 1, 1, () => {
48
+ f[3] ? t ? (t.p(f, s), s & 8 && c(t, 1)) : (t = m(f), t.c(), c(t, 1), t.m(e, null)) : t && (w(), _(t, 1, 1, () => {
50
49
  t = null;
51
- }), w());
50
+ }), b());
52
51
  },
53
52
  i(f) {
54
53
  c(t);
@@ -61,14 +60,14 @@ function A(o) {
61
60
  }
62
61
  };
63
62
  }
64
- function B(o, e, a) {
65
- let { inDelay: n = 0 } = e, { duration: r = 0 } = e, { outDelay: i = 0 } = e, { unfolded: t } = e;
63
+ function B(n, e, a) {
64
+ let { inDelay: o = 0 } = e, { duration: r = 0 } = e, { outDelay: i = 0 } = e, { unfolded: t } = e;
66
65
  const f = U();
67
- return o.$$set = (s) => {
68
- "inDelay" in s && a(0, n = s.inDelay), "duration" in s && a(1, r = s.duration), "outDelay" in s && a(2, i = s.outDelay), "unfolded" in s && a(3, t = s.unfolded);
69
- }, [n, r, i, t, f];
66
+ return n.$$set = (s) => {
67
+ "inDelay" in s && a(0, o = s.inDelay), "duration" in s && a(1, r = s.duration), "outDelay" in s && a(2, i = s.outDelay), "unfolded" in s && a(3, t = s.unfolded);
68
+ }, [o, r, i, t, f];
70
69
  }
71
- class O extends g {
70
+ class M extends g {
72
71
  constructor(e) {
73
72
  super(), v(
74
73
  this,
@@ -87,5 +86,5 @@ class O extends g {
87
86
  }
88
87
  }
89
88
  export {
90
- O as default
89
+ M as Straight
91
90
  };
@@ -14,26 +14,18 @@ var z = (a, n, i) => new Promise((e, t) => {
14
14
  }, u = (r) => r.done ? e(r.value) : Promise.resolve(r.value).then(o, l);
15
15
  u((i = i.apply(a, n)).next());
16
16
  });
17
- import { SvelteComponent as te, init as ne, safe_not_equal as ie, append_styles as ae, empty as Z, insert as w, transition_in as _, transition_out as p, check_outros as D, detach as I, getContext as G, element as le, attr as oe, toggle_class as J, group_outros as j, add_render_callback as re, create_in_transition as fe, identity as K, create_out_transition as ue, create_component as C, mount_component as L, destroy_component as P, destroy_each as se, space as de } from "../../../vendor/svelte/internal/index.js";
17
+ import { SvelteComponent as te, init as ne, safe_not_equal as ie, append_styles as ae, empty as Z, insert as w, transition_in as _, group_outros as D, transition_out as g, check_outros as j, detach as I, getContext as G, element as le, attr as oe, toggle_class as J, add_render_callback as re, create_in_transition as fe, identity as K, create_out_transition as ue, create_component as C, mount_component as L, destroy_component as P, destroy_each as se, space as ce } from "../../../vendor/svelte/internal/index.js";
18
18
  import { fly as Q } from "../../../vendor/svelte/transition/index.js";
19
- import { Swiper_1 as ce } from "../../../vendor/swiper/svelte/swiper.js";
19
+ import { Swiper_1 as de } from "../../../vendor/swiper/svelte/swiper.js";
20
20
  import { Swiper_slide as me } from "../../../vendor/swiper/svelte/swiper-slide.js";
21
21
  import { Autoplay as _e } from "swiper";
22
22
  import "swiper/css";
23
23
  import "swiper/css/autoplay";
24
24
  import "three";
25
25
  import { noTypecheck as R } from "../../utils/noTypecheck.js";
26
- import x from "./MediaItem.js";
26
+ import { MediaItem as x } from "./MediaItem.js";
27
27
  import { notNil as ye } from "../../../shared-utils/isNil.js";
28
- import "../../../vendor/svelte/easing/index.js";
29
- import "../../../vendor/swiper/components-shared/get-params.js";
30
- import "../../../vendor/swiper/components-shared/utils.js";
31
- import "../../../vendor/swiper/components-shared/params-list.js";
32
- import "../../../vendor/swiper/components-shared/mount-swiper.js";
33
- import "../../../vendor/swiper/components-shared/get-changed-params.js";
34
- import "../../../vendor/swiper/components-shared/update-swiper.js";
35
- import "../../Assets/Icon.js";
36
- function pe(a) {
28
+ function ge(a) {
37
29
  ae(a, "svelte-ai0lv9", ".media.svelte-ai0lv9{width:100%;height:100%;position:relative;overflow:hidden;border-radius:0.125rem}");
38
30
  }
39
31
  function W(a, n, i) {
@@ -42,23 +34,23 @@ function W(a, n, i) {
42
34
  }
43
35
  function X(a) {
44
36
  let n, i, e, t, o, l;
45
- const u = [he, ge], r = [];
46
- function m(s, g) {
37
+ const u = [pe, he], r = [];
38
+ function m(s, h) {
47
39
  return s[13] ? 0 : 1;
48
40
  }
49
41
  return i = m(a), e = r[i] = u[i](a), {
50
42
  c() {
51
43
  n = le("div"), e.c(), oe(n, "class", "media svelte-ai0lv9"), J(n, "unfolded", a[4]);
52
44
  },
53
- m(s, g) {
54
- w(s, n, g), r[i].m(n, null), l = !0;
45
+ m(s, h) {
46
+ w(s, n, h), r[i].m(n, null), l = !0;
55
47
  },
56
- p(s, g) {
48
+ p(s, h) {
57
49
  a = s;
58
50
  let b = i;
59
- i = m(a), i === b ? r[i].p(a, g) : (j(), p(r[b], 1, 1, () => {
51
+ i = m(a), i === b ? r[i].p(a, h) : (D(), g(r[b], 1, 1, () => {
60
52
  r[b] = null;
61
- }), D(), e = r[i], e ? e.p(a, g) : (e = r[i] = u[i](a), e.c()), _(e, 1), e.m(n, null)), (!l || g & 16) && J(n, "unfolded", a[4]);
53
+ }), j(), e = r[i], e ? e.p(a, h) : (e = r[i] = u[i](a), e.c()), _(e, 1), e.m(n, null)), (!l || h & 16) && J(n, "unfolded", a[4]);
62
54
  },
63
55
  i(s) {
64
56
  l || (_(e), s && re(() => {
@@ -71,7 +63,7 @@ function X(a) {
71
63
  }), l = !0);
72
64
  },
73
65
  o(s) {
74
- p(e), t && t.invalidate(), s && (o = ue(n, Q, a[5] ? {
66
+ g(e), t && t.invalidate(), s && (o = ue(n, Q, a[5] ? {
75
67
  y: 4,
76
68
  duration: a[3],
77
69
  delay: a[2],
@@ -83,7 +75,7 @@ function X(a) {
83
75
  }
84
76
  };
85
77
  }
86
- function ge(a) {
78
+ function he(a) {
87
79
  let n, i;
88
80
  return n = new x({
89
81
  props: {
@@ -107,16 +99,16 @@ function ge(a) {
107
99
  i || (_(n.$$.fragment, e), i = !0);
108
100
  },
109
101
  o(e) {
110
- p(n.$$.fragment, e), i = !1;
102
+ g(n.$$.fragment, e), i = !1;
111
103
  },
112
104
  d(e) {
113
105
  P(n, e);
114
106
  }
115
107
  };
116
108
  }
117
- function he(a) {
109
+ function pe(a) {
118
110
  let n, i;
119
- return n = new ce({
111
+ return n = new de({
120
112
  props: {
121
113
  style: "height: 100%",
122
114
  modules: [_e],
@@ -149,7 +141,7 @@ function he(a) {
149
141
  i || (_(n.$$.fragment, e), i = !0);
150
142
  },
151
143
  o(e) {
152
- p(n.$$.fragment, e), i = !1;
144
+ g(n.$$.fragment, e), i = !1;
153
145
  },
154
146
  d(e) {
155
147
  P(n, e);
@@ -167,7 +159,7 @@ function be(a) {
167
159
  }
168
160
  }), {
169
161
  c() {
170
- C(n.$$.fragment), i = de();
162
+ C(n.$$.fragment), i = ce();
171
163
  },
172
164
  m(t, o) {
173
165
  L(n, t, o), w(t, i, o), e = !0;
@@ -180,7 +172,7 @@ function be(a) {
180
172
  e || (_(n.$$.fragment, t), e = !0);
181
173
  },
182
174
  o(t) {
183
- p(n.$$.fragment, t), e = !1;
175
+ g(n.$$.fragment, t), e = !1;
184
176
  },
185
177
  d(t) {
186
178
  P(n, t), t && I(i);
@@ -209,7 +201,7 @@ function Y(a) {
209
201
  i || (_(n.$$.fragment, e), i = !0);
210
202
  },
211
203
  o(e) {
212
- p(n.$$.fragment, e), i = !1;
204
+ g(n.$$.fragment, e), i = !1;
213
205
  },
214
206
  d(e) {
215
207
  P(n, e);
@@ -220,7 +212,7 @@ function ve(a) {
220
212
  let n, i, e = a[11], t = [];
221
213
  for (let l = 0; l < e.length; l += 1)
222
214
  t[l] = Y(W(a, e, l));
223
- const o = (l) => p(t[l], 1, 1, () => {
215
+ const o = (l) => g(t[l], 1, 1, () => {
224
216
  t[l] = null;
225
217
  });
226
218
  return {
@@ -242,9 +234,9 @@ function ve(a) {
242
234
  const m = W(l, e, r);
243
235
  t[r] ? (t[r].p(m, u), _(t[r], 1)) : (t[r] = Y(m), t[r].c(), _(t[r], 1), t[r].m(n.parentNode, n));
244
236
  }
245
- for (j(), r = e.length; r < t.length; r += 1)
237
+ for (D(), r = e.length; r < t.length; r += 1)
246
238
  o(r);
247
- D();
239
+ j();
248
240
  }
249
241
  },
250
242
  i(l) {
@@ -257,7 +249,7 @@ function ve(a) {
257
249
  o(l) {
258
250
  t = t.filter(Boolean);
259
251
  for (let u = 0; u < t.length; u += 1)
260
- p(t[u]);
252
+ g(t[u]);
261
253
  i = !1;
262
254
  },
263
255
  d(l) {
@@ -275,15 +267,15 @@ function ke(a) {
275
267
  e && e.m(t, o), w(t, n, o), i = !0;
276
268
  },
277
269
  p(t, [o]) {
278
- t[4] ? e ? (e.p(t, o), o & 16 && _(e, 1)) : (e = X(t), e.c(), _(e, 1), e.m(n.parentNode, n)) : e && (j(), p(e, 1, 1, () => {
270
+ t[4] ? e ? (e.p(t, o), o & 16 && _(e, 1)) : (e = X(t), e.c(), _(e, 1), e.m(n.parentNode, n)) : e && (D(), g(e, 1, 1, () => {
279
271
  e = null;
280
- }), D());
272
+ }), j());
281
273
  },
282
274
  i(t) {
283
275
  i || (_(e), i = !0);
284
276
  },
285
277
  o(t) {
286
- p(e), i = !1;
278
+ g(e), i = !1;
287
279
  },
288
280
  d(t) {
289
281
  e && e.d(t), t && I(n);
@@ -291,28 +283,28 @@ function ke(a) {
291
283
  };
292
284
  }
293
285
  function we(a, n, i) {
294
- let e, t, o, { tag: l } = n, { mediaData: u } = n, { inDelay: r = 0 } = n, { outDelay: m = 0 } = n, { duration: s = 0 } = n, { unfolded: g = !0 } = n, { animation: b = !0 } = n, { playButtonIfNeed: F = "small" } = n, { canPlay: V = !0 } = n, { objectFit: q = "cover" } = n, { enableCarousel: E = !0 } = n, { autoplayConfig: k = { autoplay: !0, autoplayVideo: !1 } } = n;
286
+ let e, t, o, { tag: l } = n, { mediaData: u } = n, { inDelay: r = 0 } = n, { outDelay: m = 0 } = n, { duration: s = 0 } = n, { unfolded: h = !0 } = n, { animation: b = !0 } = n, { playButtonIfNeed: F = "small" } = n, { canPlay: V = !0 } = n, { objectFit: q = "cover" } = n, { enableCarousel: E = !0 } = n, { autoplayConfig: k = { autoplay: !0, autoplayVideo: !1 } } = n;
295
287
  const O = G("mediaStore"), M = G("hooks");
296
- let h;
288
+ let p;
297
289
  function B(f) {
298
- !e || !h || (O.set({ currentMediaUrl: this.src }), M.emit("playStateChange", {
290
+ !e || !p || (O.set({ currentMediaUrl: this.src }), M.emit("playStateChange", {
299
291
  event: f,
300
292
  state: "playing",
301
293
  tag: l,
302
294
  mediaInstance: this
303
- }), h.autoplay.stop());
295
+ }), p.autoplay.stop());
304
296
  }
305
297
  function N(f) {
306
- !e || !h || (M.emit("playStateChange", {
298
+ !e || !p || (M.emit("playStateChange", {
307
299
  event: f,
308
300
  state: "paused",
309
301
  tag: l,
310
302
  mediaInstance: this
311
- }), h.autoplay.running || h.autoplay.start());
303
+ }), p.autoplay.running || p.autoplay.start());
312
304
  }
313
305
  let S = null;
314
306
  const $ = (f) => {
315
- i(10, h = f.detail[0]);
307
+ i(10, p = f.detail[0]);
316
308
  }, ee = (f) => z(this, null, function* () {
317
309
  var H, T, U;
318
310
  if (!o || !k.autoplayVideo)
@@ -327,18 +319,18 @@ function we(a, n, i) {
327
319
  const A = t[v];
328
320
  if (!A || A.type !== "Video")
329
321
  return;
330
- y.autoplay.stop(), y.slides.map((d) => d.querySelector("video")).filter(ye).forEach((d) => d.pause());
331
- const c = (H = y.slides[y.activeIndex]) == null ? void 0 : H.querySelector("video");
332
- if (c && (c.removeEventListener("play", B), c.removeEventListener("pause", N), c.addEventListener("play", B), c.addEventListener("pause", N)), c) {
333
- c.addEventListener("click", () => c.pause());
334
- const d = (U = (T = c.parentElement) == null ? void 0 : T.getElementsByClassName("video-play-button-container")) == null ? void 0 : U[0];
335
- c.addEventListener("play", () => d == null ? void 0 : d.classList.remove("showPlayButton")), c.addEventListener("pause", () => d == null ? void 0 : d.classList.add("showPlayButton")), d && (c.paused ? d.classList.add("showPlayButton") : d.classList.remove("showPlayButton"), d.addEventListener("click", () => c.play()));
322
+ y.autoplay.stop(), y.slides.map((c) => c.querySelector("video")).filter(ye).forEach((c) => c.pause());
323
+ const d = (H = y.slides[y.activeIndex]) == null ? void 0 : H.querySelector("video");
324
+ if (d && (d.removeEventListener("play", B), d.removeEventListener("pause", N), d.addEventListener("play", B), d.addEventListener("pause", N)), d) {
325
+ d.addEventListener("click", () => d.pause());
326
+ const c = (U = (T = d.parentElement) == null ? void 0 : T.getElementsByClassName("video-play-button-container")) == null ? void 0 : U[0];
327
+ d.addEventListener("play", () => c == null ? void 0 : c.classList.remove("showPlayButton")), d.addEventListener("pause", () => c == null ? void 0 : c.classList.add("showPlayButton")), c && (d.paused ? c.classList.add("showPlayButton") : c.classList.remove("showPlayButton"), c.addEventListener("click", () => d.play()));
336
328
  }
337
329
  });
338
330
  return a.$$set = (f) => {
339
- "tag" in f && i(17, l = f.tag), "mediaData" in f && i(0, u = f.mediaData), "inDelay" in f && i(1, r = f.inDelay), "outDelay" in f && i(2, m = f.outDelay), "duration" in f && i(3, s = f.duration), "unfolded" in f && i(4, g = f.unfolded), "animation" in f && i(5, b = f.animation), "playButtonIfNeed" in f && i(6, F = f.playButtonIfNeed), "canPlay" in f && i(7, V = f.canPlay), "objectFit" in f && i(8, q = f.objectFit), "enableCarousel" in f && i(18, E = f.enableCarousel), "autoplayConfig" in f && i(9, k = f.autoplayConfig);
331
+ "tag" in f && i(17, l = f.tag), "mediaData" in f && i(0, u = f.mediaData), "inDelay" in f && i(1, r = f.inDelay), "outDelay" in f && i(2, m = f.outDelay), "duration" in f && i(3, s = f.duration), "unfolded" in f && i(4, h = f.unfolded), "animation" in f && i(5, b = f.animation), "playButtonIfNeed" in f && i(6, F = f.playButtonIfNeed), "canPlay" in f && i(7, V = f.canPlay), "objectFit" in f && i(8, q = f.objectFit), "enableCarousel" in f && i(18, E = f.enableCarousel), "autoplayConfig" in f && i(9, k = f.autoplayConfig);
340
332
  }, a.$$.update = () => {
341
- a.$$.dirty & 262145 && i(13, e = E && (u == null ? void 0 : u.length) > 1), a.$$.dirty & 1 && i(11, t = u), a.$$.dirty & 2560 && i(14, o = t.length > 1 && k.autoplay), a.$$.dirty & 1024 && h && h.slides.forEach((f) => {
333
+ a.$$.dirty & 262145 && i(13, e = E && (u == null ? void 0 : u.length) > 1), a.$$.dirty & 1 && i(11, t = u), a.$$.dirty & 2560 && i(14, o = t.length > 1 && k.autoplay), a.$$.dirty & 1024 && p && p.slides.forEach((f) => {
342
334
  const y = f.querySelector("video");
343
335
  y && O.subscribe(({ currentMediaUrl: v }) => {
344
336
  v !== y.src && y.pause();
@@ -349,13 +341,13 @@ function we(a, n, i) {
349
341
  r,
350
342
  m,
351
343
  s,
352
- g,
344
+ h,
353
345
  b,
354
346
  F,
355
347
  V,
356
348
  q,
357
349
  k,
358
- h,
350
+ p,
359
351
  t,
360
352
  S,
361
353
  e,
@@ -368,7 +360,7 @@ function we(a, n, i) {
368
360
  ee
369
361
  ];
370
362
  }
371
- class Je extends te {
363
+ class Oe extends te {
372
364
  constructor(n) {
373
365
  super(), ne(
374
366
  this,
@@ -390,10 +382,10 @@ class Je extends te {
390
382
  enableCarousel: 18,
391
383
  autoplayConfig: 9
392
384
  },
393
- pe
385
+ ge
394
386
  );
395
387
  }
396
388
  }
397
389
  export {
398
- Je as default
390
+ Oe as Media
399
391
  };
@@ -135,5 +135,5 @@ class K extends C {
135
135
  }
136
136
  }
137
137
  export {
138
- K as default
138
+ K as MediaItem
139
139
  };