@realsee/dnalogel 2.16.0-10 → 2.16.0-11

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 (541) hide show
  1. package/components/index.js +688 -240
  2. package/dist/GuideLinePlugin/Controller.d.ts +4 -3
  3. package/dist/GuideLinePlugin/GuideLineModeItem.d.ts +6 -0
  4. package/dist/GuideLinePlugin/typing.d.ts +0 -1
  5. package/dist/index.cjs.js +100 -86
  6. package/dist/index.js +14560 -7717
  7. package/dist/index.umd.js +93 -79
  8. package/dist/shared-utils/animationFrame/BetterTween.d.ts +3 -2
  9. package/dist/shared-utils/animationFrame/index.d.ts +1 -1
  10. package/dist/shared-utils/animationFrame/tween.d.ts +32 -23
  11. package/dist/shared-utils/svelte/resizeObserver.d.ts +2 -10
  12. package/dist/shared-utils/svelte/resizeObserverGlobal.d.ts +10 -0
  13. package/docs/assets/search.js +1 -1
  14. package/docs/classes/CSS3DRender.html +31 -31
  15. package/docs/classes/CruisePluginController.html +26 -26
  16. package/docs/classes/GuideLineItem.GuideLineItem.html +16 -16
  17. package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +38 -26
  18. package/docs/classes/Magnifier.html +20 -20
  19. package/docs/classes/ModelRoomLabelController.html +11 -11
  20. package/docs/classes/Object3DHelperController.html +25 -25
  21. package/docs/classes/PaintBrush.html +15 -15
  22. package/docs/classes/PanoMeasurePluginLine.html +23 -23
  23. package/docs/classes/PanoMeasurePluginModel.html +22 -22
  24. package/docs/classes/PanoMeasurePluginPoint.html +14 -14
  25. package/docs/classes/PanoMeasurePluginPolyline.html +26 -26
  26. package/docs/classes/PanoTagPluginController.html +47 -47
  27. package/docs/classes/Util.BetterTween.html +29 -18
  28. package/docs/classes/Util.FivePointSelector.html +12 -12
  29. package/docs/classes/Util.Interval.html +12 -12
  30. package/docs/classes/Util.Magnifier.html +17 -17
  31. package/docs/classes/Util.PointDomHelper.html +11 -11
  32. package/docs/classes/Util.PointHelper.html +11 -11
  33. package/docs/classes/Util.Rectangle.html +13 -13
  34. package/docs/enums/CameraMovementEffect.html +7 -7
  35. package/docs/enums/ContentType.html +19 -19
  36. package/docs/enums/DIRECTION.html +9 -9
  37. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +9 -9
  38. package/docs/enums/DimensionType.html +7 -7
  39. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +8 -8
  40. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +9 -9
  41. package/docs/enums/PaintBrushTypeEnum.html +8 -8
  42. package/docs/enums/Rotation.html +8 -8
  43. package/docs/functions/CSS3DRenderPlugin.html +4 -4
  44. package/docs/functions/CameraMovementPlugin.html +4 -4
  45. package/docs/functions/CruisePlugin.html +4 -4
  46. package/docs/functions/GuideLinePlugin.html +5 -5
  47. package/docs/functions/ItemLabelPlugin.html +4 -4
  48. package/docs/functions/MapviewFloorplanPlugin.html +4 -4
  49. package/docs/functions/ModelChassisCompassPlugin.html +4 -4
  50. package/docs/functions/ModelEntryDoorGuidePlugin.html +4 -4
  51. package/docs/functions/ModelFloorplanPlugin.html +4 -4
  52. package/docs/functions/ModelItemLabelPlugin.html +4 -4
  53. package/docs/functions/ModelRoomLabelPlugin.html +4 -4
  54. package/docs/functions/ModelTVVideoPlugin.html +4 -4
  55. package/docs/functions/ModelViewPlugin.html +4 -4
  56. package/docs/functions/Object3DHelperPlugin.html +4 -4
  57. package/docs/functions/PanoCompassPlugin.html +4 -4
  58. package/docs/functions/PanoCursorRaycasterPlugin.html +4 -4
  59. package/docs/functions/PanoDoorLabelPlugin.html +4 -4
  60. package/docs/functions/PanoFloorplanRadarPlugin.html +4 -4
  61. package/docs/functions/PanoMeasurePlugin.html +4 -4
  62. package/docs/functions/PanoRulerPlugin.html +4 -4
  63. package/docs/functions/PanoRulerProPlugin.html +4 -4
  64. package/docs/functions/PanoSpatialTagPlugin.html +4 -4
  65. package/docs/functions/PanoTagPlugin.html +4 -4
  66. package/docs/functions/PanoVideoPlugin.html +4 -4
  67. package/docs/functions/TopviewFloorplanPlugin.html +4 -4
  68. package/docs/functions/Util.getCoordsFromClient.html +5 -5
  69. package/docs/functions/Util.getCoordsFromElement.html +5 -5
  70. package/docs/functions/Util.getFrameTime.html +5 -5
  71. package/docs/functions/Util.getIntersectFromRelativePosition.html +5 -5
  72. package/docs/functions/Util.getRaycasterFromFivePointer.html +5 -5
  73. package/docs/functions/Util.isAbsoluteURL.html +5 -5
  74. package/docs/functions/Util.isModelLike.html +5 -5
  75. package/docs/functions/Util.isNil.html +5 -5
  76. package/docs/functions/Util.isPanoramaLike.html +5 -5
  77. package/docs/functions/Util.nextFrame.html +18 -7
  78. package/docs/functions/Util.notNil.html +5 -5
  79. package/docs/functions/Util.requestAnimationFrameInterval.html +5 -5
  80. package/docs/functions/Util.tweenProgress.html +7 -18
  81. package/docs/functions/Util.uuid.html +5 -5
  82. package/docs/functions/pluginFlag.html +5 -5
  83. package/docs/index.html +4 -4
  84. package/docs/interfaces/AddTagConfig.html +6 -6
  85. package/docs/interfaces/CSS3DRenderPluginEventMap.html +11 -11
  86. package/docs/interfaces/CSS3DRenderPluginState.html +8 -8
  87. package/docs/interfaces/CameraMovementPluginExportType.html +7 -7
  88. package/docs/interfaces/CruisePluginTypes.Config.html +8 -8
  89. package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +12 -12
  90. package/docs/interfaces/CruisePluginTypes.EventMap.html +20 -20
  91. package/docs/interfaces/CruisePluginTypes.MoveAction.html +12 -12
  92. package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +14 -14
  93. package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +14 -14
  94. package/docs/interfaces/CruisePluginTypes.PluginData.html +9 -9
  95. package/docs/interfaces/CruisePluginTypes.PluginServerData.html +7 -7
  96. package/docs/interfaces/CruisePluginTypes.PluginState.html +11 -11
  97. package/docs/interfaces/EventMap.html +15 -15
  98. package/docs/interfaces/FloorplanBounding.html +8 -8
  99. package/docs/interfaces/FloorplanData.html +10 -10
  100. package/docs/interfaces/FloorplanEntrance.html +11 -11
  101. package/docs/interfaces/FloorplanExtraObject.html +10 -10
  102. package/docs/interfaces/FloorplanExtraObject3D.html +8 -8
  103. package/docs/interfaces/FloorplanFloorData.html +9 -9
  104. package/docs/interfaces/FloorplanImagePosition.html +7 -7
  105. package/docs/interfaces/FloorplanObserver.html +9 -9
  106. package/docs/interfaces/FloorplanOutlineItem.html +9 -9
  107. package/docs/interfaces/FloorplanPosition.html +7 -7
  108. package/docs/interfaces/FloorplanRoomItem.html +13 -13
  109. package/docs/interfaces/FloorplanRoomLabelItem.html +7 -7
  110. package/docs/interfaces/FloorplanServerBounding.html +8 -8
  111. package/docs/interfaces/FloorplanServerComputedData.html +10 -10
  112. package/docs/interfaces/FloorplanServerData.html +7 -7
  113. package/docs/interfaces/FloorplanServerDoorItem.html +10 -10
  114. package/docs/interfaces/FloorplanServerDoorPosition.html +8 -8
  115. package/docs/interfaces/FloorplanServerEntrance.html +11 -11
  116. package/docs/interfaces/FloorplanServerFloorData.html +9 -9
  117. package/docs/interfaces/FloorplanServerImagePosition.html +7 -7
  118. package/docs/interfaces/FloorplanServerObserver.html +9 -9
  119. package/docs/interfaces/FloorplanServerOutlineItem.html +9 -9
  120. package/docs/interfaces/FloorplanServerPosition.html +7 -7
  121. package/docs/interfaces/FloorplanServerRoomItem.html +14 -14
  122. package/docs/interfaces/FloorplanServerRoomLabelItem.html +7 -7
  123. package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +10 -10
  124. package/docs/interfaces/GuideLinePluginType.EventMap.html +13 -13
  125. package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +8 -8
  126. package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +6 -6
  127. package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +11 -11
  128. package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +8 -8
  129. package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +16 -16
  130. package/docs/interfaces/GuideLinePluginType.ModelGuideLineTag.html +19 -19
  131. package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +16 -16
  132. package/docs/interfaces/GuideLinePluginType.PluginDataV1.html +7 -7
  133. package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +6 -6
  134. package/docs/interfaces/GuideLinePluginType.PluginServerData.html +7 -7
  135. package/docs/interfaces/GuideLinePluginType.PluginState.html +8 -15
  136. package/docs/interfaces/GuideLinePluginType.Route.html +10 -10
  137. package/docs/interfaces/GuideLinePluginType.RouteConfig.html +9 -9
  138. package/docs/interfaces/HelperOffset.html +8 -8
  139. package/docs/interfaces/ImagePlaneGroup.html +6 -6
  140. package/docs/interfaces/ItemLabelPluginData.html +6 -6
  141. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +11 -11
  142. package/docs/interfaces/ItemLabelPluginParametersType.html +9 -9
  143. package/docs/interfaces/MinMax.html +7 -7
  144. package/docs/interfaces/ModelChassisCompassPluginData.html +7 -7
  145. package/docs/interfaces/ModelChassisCompassPluginExportType.html +8 -8
  146. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +7 -7
  147. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +8 -8
  148. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +8 -8
  149. package/docs/interfaces/ModelItemLabelPluginData.html +6 -6
  150. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +11 -11
  151. package/docs/interfaces/ModelItemLabelPluginParametersType.html +7 -7
  152. package/docs/interfaces/ModelRoomLabelPluginData.html +6 -6
  153. package/docs/interfaces/ModelTVVideoPluginData.html +9 -9
  154. package/docs/interfaces/ModelTVVideoPluginExportType.html +8 -8
  155. package/docs/interfaces/ModelTVVideoPluginParameterType.html +6 -6
  156. package/docs/interfaces/ModelViewPluginExportType.html +11 -11
  157. package/docs/interfaces/Object3DHelperState.html +8 -8
  158. package/docs/interfaces/ObjectHelperControllers.html +9 -9
  159. package/docs/interfaces/PaintBrushAction.html +12 -12
  160. package/docs/interfaces/PaintBrushConfigs.html +12 -12
  161. package/docs/interfaces/PaintBrushState.html +10 -10
  162. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +10 -10
  163. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +5 -5
  164. package/docs/interfaces/PanoMeasureParameterType.html +14 -14
  165. package/docs/interfaces/PanoMeasurePluginLineJson.html +8 -8
  166. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +7 -7
  167. package/docs/interfaces/PanoMeasurePluginPointJson.html +7 -7
  168. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +8 -8
  169. package/docs/interfaces/PanoRulerPluginExportType.html +10 -10
  170. package/docs/interfaces/PanoRulerPluginOptions.html +7 -7
  171. package/docs/interfaces/PanoRulerPluginParameterType.html +8 -8
  172. package/docs/interfaces/PanoRulerProPluginExportType.html +9 -9
  173. package/docs/interfaces/PanoRulerProPluginOptions.html +7 -7
  174. package/docs/interfaces/PanoRulerProPluginParameterType.html +7 -7
  175. package/docs/interfaces/PanoRulerProPluginState.html +8 -8
  176. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +5 -5
  177. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +5 -5
  178. package/docs/interfaces/PanoSpatialTagPluginData.html +11 -11
  179. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +10 -10
  180. package/docs/interfaces/PanoSpatialTagPluginExportType.html +13 -13
  181. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +10 -10
  182. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +13 -13
  183. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +11 -11
  184. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +10 -10
  185. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +6 -6
  186. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +8 -8
  187. package/docs/interfaces/PanoVideoPluginType.PluginData.html +6 -6
  188. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +9 -9
  189. package/docs/interfaces/PanoVideoPluginType.PluginState.html +6 -6
  190. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +8 -8
  191. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +10 -10
  192. package/docs/interfaces/Point.html +8 -8
  193. package/docs/interfaces/Room.html +9 -9
  194. package/docs/interfaces/RoomInfo.html +7 -7
  195. package/docs/interfaces/RoomLabel.html +14 -14
  196. package/docs/interfaces/RoomRules.html +5 -5
  197. package/docs/interfaces/Rooms.html +5 -5
  198. package/docs/interfaces/Scissor.html +9 -9
  199. package/docs/interfaces/State.html +8 -8
  200. package/docs/interfaces/TagCacheInterface.html +12 -12
  201. package/docs/interfaces/TagConfig.html +11 -11
  202. package/docs/interfaces/TagGLTFObjectGroup.html +6 -6
  203. package/docs/interfaces/TagIconUrl.html +12 -12
  204. package/docs/interfaces/TagObjectGroup.html +6 -6
  205. package/docs/interfaces/TagStyle.html +6 -6
  206. package/docs/interfaces/Tags.html +9 -9
  207. package/docs/interfaces/TemporaryState.html +6 -6
  208. package/docs/interfaces/Util.MagnifierParameter.html +11 -11
  209. package/docs/interfaces/Util.MouseGroupParameter.html +8 -8
  210. package/docs/modules/CruisePluginTypes.html +5 -5
  211. package/docs/modules/GuideLineItem.html +5 -5
  212. package/docs/modules/GuideLineModeItem.html +5 -5
  213. package/docs/modules/GuideLinePluginType.html +5 -5
  214. package/docs/modules/PanoVideoPluginType.html +5 -5
  215. package/docs/modules/Util.html +5 -5
  216. package/docs/modules.html +4 -4
  217. package/docs/types/ArrayPosition.html +5 -5
  218. package/docs/types/AudioAppearance.html +5 -5
  219. package/docs/types/AudioTagTypeConfigKey.html +5 -5
  220. package/docs/types/CSS3DRenderExportType.html +5 -5
  221. package/docs/types/CSS3DRenderPluginExportType.html +5 -5
  222. package/docs/types/CSS3DRenderPluginParameterType.html +5 -5
  223. package/docs/types/ClassFunctionParameters.html +5 -5
  224. package/docs/types/Color.html +5 -5
  225. package/docs/types/ContentTypeConfigKey.html +5 -5
  226. package/docs/types/ContentTypeConfigKeySplit.html +5 -5
  227. package/docs/types/ContentTypeMap.html +5 -5
  228. package/docs/types/Create3DDomContainerReturnType.html +5 -5
  229. package/docs/types/Create3DElementReturnType.html +5 -5
  230. package/docs/types/CruisePluginExportType.html +5 -5
  231. package/docs/types/CruisePluginTypes.CruiseData.html +5 -5
  232. package/docs/types/CruisePluginTypes.MoveEffect.html +5 -5
  233. package/docs/types/Direction-1.html +5 -5
  234. package/docs/types/Direction4.html +5 -5
  235. package/docs/types/FloorplanRuleLabels.html +5 -5
  236. package/docs/types/FloorplanServerRuleLabels.html +5 -5
  237. package/docs/types/GuideLinePluginExportType.html +5 -5
  238. package/docs/types/GuideLinePluginType.GuideLineItem.html +5 -5
  239. package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +5 -5
  240. package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +5 -5
  241. package/docs/types/GuideLinePluginType.GuideLineStyle.html +5 -5
  242. package/docs/types/GuideLinePluginType.PathItem.html +5 -5
  243. package/docs/types/GuideLinePluginType.PluginData.html +5 -5
  244. package/docs/types/HelperEventMap.html +5 -5
  245. package/docs/types/LoadTagConfig.html +5 -5
  246. package/docs/types/MapviewFloorplanPluginParameterType.html +5 -5
  247. package/docs/types/MapviewFloorplanPluginReturnType.html +5 -5
  248. package/docs/types/MediaData.html +5 -5
  249. package/docs/types/MediaStore.html +5 -5
  250. package/docs/types/ModelElement.html +5 -5
  251. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +5 -5
  252. package/docs/types/ModelFloorplanPluginParameterType.html +5 -5
  253. package/docs/types/ModelFloorplanPluginReturnType.html +5 -5
  254. package/docs/types/ModelRoomLabelPluginParameters.html +5 -5
  255. package/docs/types/ModelRoomLabelPluginReturnType.html +5 -5
  256. package/docs/types/MoveArgs.html +5 -5
  257. package/docs/types/MoveOpts.html +5 -5
  258. package/docs/types/Object3DHelperEventMap.html +5 -5
  259. package/docs/types/ObjectFit.html +5 -5
  260. package/docs/types/PaintBrushEventMap.html +5 -5
  261. package/docs/types/PanoCompassPluginData.html +5 -5
  262. package/docs/types/PanoCompassPluginExportType.html +5 -5
  263. package/docs/types/PanoCompassPluginParameterType.html +5 -5
  264. package/docs/types/PanoFloorplanRadarPluginParameterType.html +5 -5
  265. package/docs/types/PanoFloorplanRadarPluginReturnType.html +5 -5
  266. package/docs/types/PanoIndex.html +5 -5
  267. package/docs/types/PanoMeasurePluginEvent.html +5 -5
  268. package/docs/types/PanoMeasureReturnType.html +5 -5
  269. package/docs/types/PanoSpatialTagPluginId.html +5 -5
  270. package/docs/types/PanoTagPluginExportInterface.html +5 -5
  271. package/docs/types/PanoTagPluginParamsInterface.html +5 -5
  272. package/docs/types/PanoVideoPluginParameterType.html +5 -5
  273. package/docs/types/PanoVideoPluginReturnType.html +5 -5
  274. package/docs/types/PlaneTag.html +5 -5
  275. package/docs/types/PlaneTagElement.html +5 -5
  276. package/docs/types/Point2DElement.html +5 -5
  277. package/docs/types/Point2DTag.html +5 -5
  278. package/docs/types/Point3DElement.html +5 -5
  279. package/docs/types/Point3DTag.html +5 -5
  280. package/docs/types/PointTag.html +5 -5
  281. package/docs/types/PointTagElement.html +5 -5
  282. package/docs/types/Position.html +5 -5
  283. package/docs/types/RotateArgs.html +5 -5
  284. package/docs/types/RotateOpts.html +5 -5
  285. package/docs/types/RuleLabelsKey.html +5 -5
  286. package/docs/types/RuleLabelsValue.html +5 -5
  287. package/docs/types/StickType.html +5 -5
  288. package/docs/types/Tag.html +5 -5
  289. package/docs/types/Tag2D.html +5 -5
  290. package/docs/types/Tag3D.html +5 -5
  291. package/docs/types/TagContentType.html +5 -5
  292. package/docs/types/TagDimensionType.html +5 -5
  293. package/docs/types/TagElement.html +5 -5
  294. package/docs/types/TagEvents.html +5 -5
  295. package/docs/types/TagGLTFObject.html +5 -5
  296. package/docs/types/TagHooks.html +5 -5
  297. package/docs/types/TagIconSize.html +5 -5
  298. package/docs/types/TagId.html +5 -5
  299. package/docs/types/TopviewFloorplanPluginParameterType.html +5 -5
  300. package/docs/types/TopviewFloorplanPluginReturnType.html +5 -5
  301. package/docs/types/WorkCode.html +5 -5
  302. package/docs/variables/FLOOR_TYPE_MAP.html +5 -5
  303. package/docs/variables/PLUGIN.html +5 -5
  304. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +5 -5
  305. package/docs/variables/ROOM_TYPE_MAP.html +5 -5
  306. package/docs/variables/itemLabelPluginServerParams.html +5 -5
  307. package/docs/variables/modelItemLabelPluginServerParams.html +5 -5
  308. package/docs/variables/modelRoomLabelPluginServerParams.html +5 -5
  309. package/libs/CSS3DRenderPlugin/Controller.js +47 -13
  310. package/libs/CSS3DRenderPlugin/index.js +6 -8
  311. package/libs/CSS3DRenderPlugin/utils/even.js +1 -1
  312. package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.js +3 -0
  313. package/libs/CSS3DRenderPlugin/utils/three/CSS3DRender.js +37 -2
  314. package/libs/CSS3DRenderPlugin/utils/three/CSS3DRenderer.js +1 -1
  315. package/libs/CameraMovementPlugin/CameraMovementPlugin.js +22 -18
  316. package/libs/CameraMovementPlugin/index.js +7 -9
  317. package/libs/CruisePlugin/Controller.js +161 -52
  318. package/libs/CruisePlugin/index.js +36 -30
  319. package/libs/CruisePlugin/utils/coordinatesToVector.js +3 -0
  320. package/libs/GuideLinePlugin/Components/Tag.js +14 -2
  321. package/libs/GuideLinePlugin/Controller.d.ts +4 -3
  322. package/libs/GuideLinePlugin/Controller.js +119 -100
  323. package/libs/GuideLinePlugin/GuideLineItem/index.js +6 -6
  324. package/libs/GuideLinePlugin/GuideLineItem.js +29 -22
  325. package/libs/GuideLinePlugin/GuideLineModeItem/index.js +129 -73
  326. package/libs/GuideLinePlugin/GuideLineModeItem.d.ts +6 -0
  327. package/libs/GuideLinePlugin/GuideLineModeItem.js +28 -21
  328. package/libs/GuideLinePlugin/index.js +37 -30
  329. package/libs/GuideLinePlugin/typing.d.ts +0 -1
  330. package/libs/GuideLinePlugin/typing.js +7 -9
  331. package/libs/GuideLinePlugin/utils/createLineGeometry.js +24 -18
  332. package/libs/GuideLinePlugin/utils/getPoint.js +4 -0
  333. package/libs/GuideLinePlugin/utils/index.js +17 -14
  334. package/libs/ItemLabelPlugin/ItemLabelComponent.js +83 -34
  335. package/libs/ItemLabelPlugin/ItemLabelItem.js +91 -14
  336. package/libs/ItemLabelPlugin/Plugin.js +2 -2
  337. package/libs/ItemLabelPlugin/index.js +8 -9
  338. package/libs/ModelChassisCompassPlugin/Plugin.js +25 -25
  339. package/libs/ModelChassisCompassPlugin/index.js +3 -4
  340. package/libs/ModelEntryDoorGuidePlugin/Plugin.js +14 -14
  341. package/libs/ModelEntryDoorGuidePlugin/index.js +3 -4
  342. package/libs/ModelItemLabelPlugin/ItemLabelComponent.js +46 -10
  343. package/libs/ModelItemLabelPlugin/ItemLabelItem.js +60 -7
  344. package/libs/ModelItemLabelPlugin/ModelItemLabelPlugin.js +3 -3
  345. package/libs/ModelItemLabelPlugin/index.js +6 -7
  346. package/libs/ModelRoomLabelPlugin/Controller.js +18 -1
  347. package/libs/ModelRoomLabelPlugin/RoomLabelItem.js +58 -4
  348. package/libs/ModelRoomLabelPlugin/RoomLabelItems.js +50 -20
  349. package/libs/ModelTVVideoPlugin/Plugin.js +6 -8
  350. package/libs/ModelTVVideoPlugin/index.js +6 -9
  351. package/libs/ModelViewPlugin/Plugin.js +3 -3
  352. package/libs/ModelViewPlugin/index.js +3 -4
  353. package/libs/Object3DHelperPlugin/Controller.js +62 -42
  354. package/libs/Object3DHelperPlugin/FiveControllerWrapper.js +2 -1
  355. package/libs/Object3DHelperPlugin/index.js +7 -9
  356. package/libs/PanoCompassPlugin/Controller.js +54 -4
  357. package/libs/PanoCompassPlugin/getRoomInfoInstance.js +1 -1
  358. package/libs/PanoCompassPlugin/index.js +3 -3
  359. package/libs/PanoDoorLabelPlugin/BaseController.js +37 -12
  360. package/libs/PanoDoorLabelPlugin/Controller.js +9 -6
  361. package/libs/PanoDoorLabelPlugin/DoorLabelItem.js +39 -13
  362. package/libs/PanoDoorLabelPlugin/index.js +5 -7
  363. package/libs/PanoMeasurePlugin/Controller/EditController.js +22 -4
  364. package/libs/PanoMeasurePlugin/Controller/MixedController.js +9 -5
  365. package/libs/PanoMeasurePlugin/Controller/ShortcutKeyController.js +2 -2
  366. package/libs/PanoMeasurePlugin/Controller/ViewController.js +3 -3
  367. package/libs/PanoMeasurePlugin/Controller/WatchController.js +5 -5
  368. package/libs/PanoMeasurePlugin/Controller/index.js +42 -12
  369. package/libs/PanoMeasurePlugin/Model/index.js +4 -4
  370. package/libs/PanoMeasurePlugin/Model/line.js +8 -8
  371. package/libs/PanoMeasurePlugin/Model/polyline.js +25 -24
  372. package/libs/PanoMeasurePlugin/Modules/DeleteDom/index.js +2 -2
  373. package/libs/PanoMeasurePlugin/Modules/FiveHelper.js +2 -1
  374. package/libs/PanoMeasurePlugin/Modules/GuideController.js +21 -20
  375. package/libs/PanoMeasurePlugin/Modules/Magnifier.js +14 -10
  376. package/libs/PanoMeasurePlugin/Modules/UIController/MainBtnController.js +6 -4
  377. package/libs/PanoMeasurePlugin/Modules/UIController/Revoke/index.js +1 -1
  378. package/libs/PanoMeasurePlugin/Modules/UIController/mobileHTML.js +1 -1
  379. package/libs/PanoMeasurePlugin/Modules/UIController/mobileMainBtnController.js +3 -3
  380. package/libs/PanoMeasurePlugin/Modules/rangePiece/index.js +15 -12
  381. package/libs/PanoMeasurePlugin/index.js +14 -15
  382. package/libs/PanoMeasurePlugin/typings/index.js +1 -3
  383. package/libs/PanoRulerPlugin/Plugin.js +54 -54
  384. package/libs/PanoRulerPlugin/index.js +3 -4
  385. package/libs/PanoRulerProPlugin/Controller.js +14 -15
  386. package/libs/PanoRulerProPlugin/RulerItem.js +134 -45
  387. package/libs/PanoRulerProPlugin/RulerItems.js +49 -40
  388. package/libs/PanoRulerProPlugin/index.js +4 -5
  389. package/libs/PanoSpatialTagPlugin/Components/origins.js +47 -8
  390. package/libs/PanoSpatialTagPlugin/Components/tag.js +79 -3
  391. package/libs/PanoSpatialTagPlugin/Plugin.js +5 -7
  392. package/libs/PanoSpatialTagPlugin/index.js +4 -7
  393. package/libs/PanoTagPlugin/Components/Common/Arrow.js +45 -20
  394. package/libs/PanoTagPlugin/Components/Common/Audio.js +46 -8
  395. package/libs/PanoTagPlugin/Components/Common/Icon/Icon.js +218 -54
  396. package/libs/PanoTagPlugin/Components/Common/Icon/audioIcon.js +64 -11
  397. package/libs/PanoTagPlugin/Components/Common/Line/Polyline.js +50 -27
  398. package/libs/PanoTagPlugin/Components/Common/Line/Straight.js +151 -26
  399. package/libs/PanoTagPlugin/Components/Common/Media.js +222 -89
  400. package/libs/PanoTagPlugin/Components/Common/MediaItem.js +171 -22
  401. package/libs/PanoTagPlugin/Components/Common/Shadow.js +100 -28
  402. package/libs/PanoTagPlugin/Components/Common/TagPoint.js +87 -8
  403. package/libs/PanoTagPlugin/Components/Common/Text/FlyMText.js +66 -13
  404. package/libs/PanoTagPlugin/Components/Common/Text/FlyText.js +69 -27
  405. package/libs/PanoTagPlugin/Components/Common/Text/MText.js +87 -13
  406. package/libs/PanoTagPlugin/Components/Common/TextItem.js +29 -6
  407. package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioPlaneTag.js +99 -14
  408. package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioTag.js +169 -44
  409. package/libs/PanoTagPlugin/Components/Tag/AudioTag/index.js +31 -6
  410. package/libs/PanoTagPlugin/Components/Tag/CustomTag.js +11 -4
  411. package/libs/PanoTagPlugin/Components/Tag/ImageTextTag.js +90 -35
  412. package/libs/PanoTagPlugin/Components/Tag/LinkTag.js +33 -7
  413. package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +174 -35
  414. package/libs/PanoTagPlugin/Components/Tag/MediaPlane.js +76 -24
  415. package/libs/PanoTagPlugin/Components/Tag/TextTag/TextPlaneTag.js +87 -14
  416. package/libs/PanoTagPlugin/Components/Tag/TextTag/TextTag.js +84 -17
  417. package/libs/PanoTagPlugin/Components/Tag/TextTag/index.js +23 -6
  418. package/libs/PanoTagPlugin/Components/Tag/index.js +265 -41
  419. package/libs/PanoTagPlugin/Components/TagContainer.js +111 -58
  420. package/libs/PanoTagPlugin/Components/TagItem.js +201 -28
  421. package/libs/PanoTagPlugin/controller/TagCache.js +21 -19
  422. package/libs/PanoTagPlugin/controller/TagComputer.js +39 -18
  423. package/libs/PanoTagPlugin/controller/TagRender.js +46 -15
  424. package/libs/PanoTagPlugin/controller/TagUtil.js +25 -9
  425. package/libs/PanoTagPlugin/controller/index.js +90 -28
  426. package/libs/PanoTagPlugin/index.js +18 -19
  427. package/libs/PanoTagPlugin/tag.config.js +4 -0
  428. package/libs/PanoTagPlugin/utils/addDebugPoints.js +4 -0
  429. package/libs/PanoTagPlugin/utils/audio/SharedAudio.js +7 -7
  430. package/libs/PanoTagPlugin/utils/normalPositionToPositions.js +4 -0
  431. package/libs/PanoTagPlugin/utils/tagPosition.js +1 -1
  432. package/libs/PanoVideoPlugin/Controller.js +53 -39
  433. package/libs/PanoVideoPlugin/VideoMeshController.js +89 -43
  434. package/libs/PanoVideoPlugin/index.js +6 -7
  435. package/libs/_commonjsHelpers.js +4 -0
  436. package/libs/base/BasePlugin.js +23 -15
  437. package/libs/base/BasePluginWithData.js +2 -2
  438. package/libs/components/PaintBrush/Controller.js +15 -4
  439. package/libs/components/PaintBrush/Subscribe.js +37 -0
  440. package/libs/components/PaintBrush/index.js +17 -4
  441. package/libs/components/PaintBrush/tween.js +2 -2
  442. package/libs/components/index.js +1 -1
  443. package/libs/floorplan/Components/BaseImage.js +24 -6
  444. package/libs/floorplan/Components/Camera.js +73 -27
  445. package/libs/floorplan/Components/Compass.js +20 -3
  446. package/libs/floorplan/Components/CurrentFloor.js +189 -50
  447. package/libs/floorplan/Components/Main.js +202 -54
  448. package/libs/floorplan/Components/Normalmage.js +5 -2
  449. package/libs/floorplan/Components/RoomHighlight/Room.js +38 -5
  450. package/libs/floorplan/Components/RoomHighlight/RoomHighlight.js +105 -58
  451. package/libs/floorplan/Components/RoomLabels/RoomLabel.js +91 -18
  452. package/libs/floorplan/Components/RoomLabels/RoomLabels.js +106 -37
  453. package/libs/floorplan/Components/RoomMaterials/RoomMaterial.js +42 -13
  454. package/libs/floorplan/Components/RoomMaterials/RoomMaterial_0.js +15 -3
  455. package/libs/floorplan/Components/RoomMaterials/RoomMaterial_1.js +40 -3
  456. package/libs/floorplan/Components/RoomMaterials/RoomMaterial_2.js +37 -3
  457. package/libs/floorplan/Components/RuleLabels/RuleItem.js +125 -51
  458. package/libs/floorplan/Components/RuleLabels/RuleLabels.js +80 -15
  459. package/libs/floorplan/Components/SvgImage.js +18 -6
  460. package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +117 -75
  461. package/libs/floorplan/MapviewFloorplanPlugin/index.js +4 -6
  462. package/libs/floorplan/ModelFloorplanPlugin/Controller.js +96 -53
  463. package/libs/floorplan/ModelFloorplanPlugin/index.js +4 -6
  464. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Camera.js +43 -15
  465. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/CurrentFloor.js +83 -22
  466. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/ExtraObjects.js +61 -39
  467. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Main.js +128 -33
  468. package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +39 -36
  469. package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +4 -6
  470. package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +83 -64
  471. package/libs/floorplan/TopviewFloorplanPlugin/index.js +4 -6
  472. package/libs/floorplan/index.js +1 -3
  473. package/libs/floorplan/typings/floorplanServerData.js +80 -80
  474. package/libs/index.js +136 -129
  475. package/libs/shared-utils/Object3DHelper/Base/BaseController.js +29 -1
  476. package/libs/shared-utils/Object3DHelper/Controller/MoveController.js +10 -1
  477. package/libs/shared-utils/Object3DHelper/Controller/RectangleScaleController.js +1 -1
  478. package/libs/shared-utils/Object3DHelper/Controller/RotateController.js +5 -2
  479. package/libs/shared-utils/Object3DHelper/Helper/CSS3DScaleHelper.js +9 -8
  480. package/libs/shared-utils/Object3DHelper/Helper/HTML/rectangleScaleDom.js +1 -0
  481. package/libs/shared-utils/Object3DHelper/Helper/HTML/tipsDom.js +1 -1
  482. package/libs/shared-utils/Object3DHelper/Helper/RotateHelper.js +4 -1
  483. package/libs/shared-utils/Object3DHelper/index.js +15 -0
  484. package/libs/shared-utils/Subscribe.js +38 -1
  485. package/libs/shared-utils/animationFrame/BetterTween.d.ts +3 -2
  486. package/libs/shared-utils/animationFrame/BetterTween.js +19 -12
  487. package/libs/shared-utils/animationFrame/index.d.ts +1 -1
  488. package/libs/shared-utils/animationFrame/index.js +14 -14
  489. package/libs/shared-utils/animationFrame/tween.d.ts +32 -23
  490. package/libs/shared-utils/animationFrame/tween.js +15 -15
  491. package/libs/shared-utils/audio.js +9 -9
  492. package/libs/shared-utils/changeModelCanvasOpacity.js +1 -1
  493. package/libs/shared-utils/createCanvasTextTexture.js +3 -3
  494. package/libs/shared-utils/five/changeMode.js +11 -11
  495. package/libs/shared-utils/index.js +15 -15
  496. package/libs/shared-utils/log.js +2 -2
  497. package/libs/shared-utils/math/Interval.js +2 -0
  498. package/libs/shared-utils/math/Rectangle.js +2 -0
  499. package/libs/shared-utils/svelte/resizeObserver.d.ts +2 -10
  500. package/libs/shared-utils/svelte/resizeObserverGlobal.d.ts +10 -0
  501. package/libs/shared-utils/three/FivePointSelector.js +1 -1
  502. package/libs/shared-utils/three/Magnifier.js +10 -7
  503. package/libs/shared-utils/three/PointDomHelper.js +11 -10
  504. package/libs/shared-utils/three/index.js +1 -2
  505. package/libs/shared-utils/three/loadTexture.js +10 -10
  506. package/libs/shared-utils/threex/domevents/index.js +2 -2
  507. package/libs/vendor/@tweenjs/tween/dist/tween.esm.js.js +403 -0
  508. package/libs/vendor/classnames/index.js +47 -0
  509. package/libs/vendor/easy-reactive/main.js +3 -0
  510. package/libs/vendor/{simply-reactive → easy-reactive}/src/simply-reactive.js +8 -8
  511. package/libs/vendor/{simply-reactive → easy-reactive}/src/utils/object.js +1 -1
  512. package/libs/vendor/gl-vec2/add.js +7 -0
  513. package/libs/vendor/gl-vec2/dot.js +7 -0
  514. package/libs/vendor/gl-vec2/normalize.js +8 -0
  515. package/libs/vendor/gl-vec2/set.js +7 -0
  516. package/libs/vendor/gl-vec2/subtract.js +7 -0
  517. package/libs/vendor/lodash.clonedeep/index.js +457 -0
  518. package/libs/vendor/lodash.get/index.js +236 -0
  519. package/libs/vendor/lodash.isequal/index.js +489 -0
  520. package/libs/vendor/object-assign-deep/objectAssignDeep.js +62 -0
  521. package/libs/vendor/polyline-miter-util/index.js +18 -0
  522. package/libs/vendor/polyline-normals/index.js +28 -0
  523. package/libs/vendor/resize-observer-polyfill/dist/ResizeObserver.es.js +155 -134
  524. package/libs/vendor/svelte/easing/index.js +4 -5
  525. package/libs/vendor/svelte/index.js +1 -1
  526. package/libs/vendor/svelte/internal/index.js +412 -388
  527. package/libs/vendor/svelte/store/index.js +6 -6
  528. package/libs/vendor/svelte/transition/index.js +23 -20
  529. package/libs/vendor/svelte-carousel/src/components/Arrow/Arrow.js +41 -3
  530. package/libs/vendor/svelte-carousel/src/components/Carousel/Carousel.js +338 -71
  531. package/libs/vendor/svelte-carousel/src/components/Carousel/createCarousel.js +7 -1
  532. package/libs/vendor/svelte-carousel/src/components/Dot/Dot.js +19 -3
  533. package/libs/vendor/svelte-carousel/src/components/Dots/Dots.js +30 -7
  534. package/libs/vendor/svelte-carousel/src/components/Progress/Progress.js +15 -3
  535. package/libs/vendor/svelte-carousel/src/utils/clones.js +1 -0
  536. package/libs/vendor/svelte-carousel/src/utils/lazy.js +3 -0
  537. package/package.json +11 -13
  538. package/dist/GuideLinePlugin/utils/getArrowMaterial.d.ts +0 -4
  539. package/libs/vendor/simply-reactive/main.js +0 -3
  540. /package/libs/vendor/{simply-reactive → easy-reactive}/src/utils/subscription.js +0 -0
  541. /package/libs/vendor/{simply-reactive → easy-reactive}/src/utils/watcher.js +0 -0
@@ -16,22 +16,86 @@ function z(n) {
16
16
  return e = new J({
17
17
  props: {
18
18
  style: "width: max-content; height: max-content;",
19
- enable: n[0].state.visible,
20
- url: n[0].data.audioUrl,
21
- hooksInfo: { tag: n[0] },
19
+ enable: (
20
+ /*tag*/
21
+ n[0].state.visible
22
+ ),
23
+ url: (
24
+ /*tag*/
25
+ n[0].data.audioUrl
26
+ ),
27
+ hooksInfo: { tag: (
28
+ /*tag*/
29
+ n[0]
30
+ ) },
22
31
  $$slots: { default: [O] },
23
32
  $$scope: { ctx: n }
24
33
  }
25
- }), e.$on("play", n[6]), e.$on("pause", n[7]), e.$on("error", n[8]), e.$on("timeupdate", n[9]), e.$on("duration", n[10]), e.$on("audioRef", n[11]), {
34
+ }), e.$on(
35
+ "play",
36
+ /*play_handler*/
37
+ n[6]
38
+ ), e.$on(
39
+ "pause",
40
+ /*pause_handler*/
41
+ n[7]
42
+ ), e.$on(
43
+ "error",
44
+ /*error_handler*/
45
+ n[8]
46
+ ), e.$on(
47
+ "timeupdate",
48
+ /*timeupdate_handler*/
49
+ n[9]
50
+ ), e.$on(
51
+ "duration",
52
+ /*duration_handler*/
53
+ n[10]
54
+ ), e.$on(
55
+ "audioRef",
56
+ /*audioRef_handler*/
57
+ n[11]
58
+ ), {
26
59
  c() {
27
- r = m("div"), t = m("div"), w(e.$$.fragment), p(t, "class", "audio-tag svelte-58hfjf"), _(t, "background-color", n[4].bgColor), _(t, "color", n[4].fontColor), p(r, "class", "audio-tag__wrapper svelte-58hfjf");
60
+ r = m("div"), t = m("div"), w(e.$$.fragment), p(t, "class", "audio-tag svelte-58hfjf"), _(
61
+ t,
62
+ "background-color",
63
+ /*theme*/
64
+ n[4].bgColor
65
+ ), _(
66
+ t,
67
+ "color",
68
+ /*theme*/
69
+ n[4].fontColor
70
+ ), p(r, "class", "audio-tag__wrapper svelte-58hfjf");
28
71
  },
29
72
  m(o, i) {
30
73
  $(o, r, i), b(r, t), j(e, t, null), a = !0;
31
74
  },
32
75
  p(o, i) {
33
76
  const s = {};
34
- i & 1 && (s.enable = o[0].state.visible), i & 1 && (s.url = o[0].data.audioUrl), i & 1 && (s.hooksInfo = { tag: o[0] }), i & 8232 && (s.$$scope = { dirty: i, ctx: o }), e.$set(s), i & 16 && _(t, "background-color", o[4].bgColor), i & 16 && _(t, "color", o[4].fontColor);
77
+ i & /*tag*/
78
+ 1 && (s.enable = /*tag*/
79
+ o[0].state.visible), i & /*tag*/
80
+ 1 && (s.url = /*tag*/
81
+ o[0].data.audioUrl), i & /*tag*/
82
+ 1 && (s.hooksInfo = { tag: (
83
+ /*tag*/
84
+ o[0]
85
+ ) }), i & /*$$scope, title, playing*/
86
+ 8232 && (s.$$scope = { dirty: i, ctx: o }), e.$set(s), i & /*theme*/
87
+ 16 && _(
88
+ t,
89
+ "background-color",
90
+ /*theme*/
91
+ o[4].bgColor
92
+ ), i & /*theme*/
93
+ 16 && _(
94
+ t,
95
+ "color",
96
+ /*theme*/
97
+ o[4].fontColor
98
+ );
35
99
  },
36
100
  i(o) {
37
101
  a || (d(e.$$.fragment, o), a = !0);
@@ -48,13 +112,21 @@ function L(n) {
48
112
  let r;
49
113
  return {
50
114
  c() {
51
- r = E(n[5]);
115
+ r = E(
116
+ /*title*/
117
+ n[5]
118
+ );
52
119
  },
53
120
  m(t, e) {
54
121
  $(t, r, e);
55
122
  },
56
123
  p(t, e) {
57
- e & 32 && F(r, t[5]);
124
+ e & /*title*/
125
+ 32 && F(
126
+ r,
127
+ /*title*/
128
+ t[5]
129
+ );
58
130
  },
59
131
  d(t) {
60
132
  t && v(r);
@@ -63,7 +135,10 @@ function L(n) {
63
135
  }
64
136
  function O(n) {
65
137
  let r, t, e, a, o, i, s;
66
- return e = new G({ props: { playing: n[3] } }), i = new H({
138
+ return e = new G({ props: { playing: (
139
+ /*playing*/
140
+ n[3]
141
+ ) } }), i = new H({
67
142
  props: {
68
143
  maxWidth: 72,
69
144
  $$slots: { default: [L] },
@@ -78,9 +153,12 @@ function O(n) {
78
153
  },
79
154
  p(l, u) {
80
155
  const g = {};
81
- u & 8 && (g.playing = l[3]), e.$set(g);
156
+ u & /*playing*/
157
+ 8 && (g.playing = /*playing*/
158
+ l[3]), e.$set(g);
82
159
  const h = {};
83
- u & 8224 && (h.$$scope = { dirty: u, ctx: l }), i.$set(h);
160
+ u & /*$$scope, title*/
161
+ 8224 && (h.$$scope = { dirty: u, ctx: l }), i.$set(h);
84
162
  },
85
163
  i(l) {
86
164
  s || (d(e.$$.fragment, l), d(i.$$.fragment, l), s = !0);
@@ -94,7 +172,10 @@ function O(n) {
94
172
  };
95
173
  }
96
174
  function Q(n) {
97
- let r, t, e = n[0].state && z(n);
175
+ let r, t, e = (
176
+ /*tag*/
177
+ n[0].state && z(n)
178
+ );
98
179
  return {
99
180
  c() {
100
181
  e && e.c(), r = P();
@@ -103,7 +184,9 @@ function Q(n) {
103
184
  e && e.m(a, o), $(a, r, o), t = !0;
104
185
  },
105
186
  p(a, [o]) {
106
- a[0].state ? e ? (e.p(a, o), o & 1 && d(e, 1)) : (e = z(a), e.c(), d(e, 1), e.m(r.parentNode, r)) : e && (B(), c(e, 1, 1, () => {
187
+ /*tag*/
188
+ a[0].state ? e ? (e.p(a, o), o & /*tag*/
189
+ 1 && d(e, 1)) : (e = z(a), e.c(), d(e, 1), e.m(r.parentNode, r)) : e && (B(), c(e, 1, 1, () => {
107
190
  e = null;
108
191
  }), S());
109
192
  },
@@ -149,7 +232,9 @@ function V(n, r, t) {
149
232
  "tag" in f && t(0, o = f.tag);
150
233
  }, n.$$.update = () => {
151
234
  var f, C, y;
152
- n.$$.dirty & 1 && t(5, e = (C = (f = o.data.title) != null ? f : o.data.text) != null ? C : ""), n.$$.dirty & 1 && t(4, a = (y = i[o.data.theme || "light"]) != null ? y : i.light);
235
+ n.$$.dirty & /*tag*/
236
+ 1 && t(5, e = (C = (f = o.data.title) != null ? f : o.data.text) != null ? C : ""), n.$$.dirty & /*tag*/
237
+ 1 && t(4, a = (y = i[o.data.theme || "light"]) != null ? y : i.light);
153
238
  }, [
154
239
  o,
155
240
  s,
@@ -28,52 +28,126 @@ function se(e) {
28
28
  }
29
29
  function j(e) {
30
30
  var g, z;
31
- let i, n, o, t, a, f, m, l, s, d, _, $, U, I;
31
+ let i, n, o, t, a, f, d, l, s, p, _, $, U, I;
32
32
  n = new H({
33
33
  props: {
34
- visible: e[6],
35
- left: e[3] / 2 + "px",
34
+ visible: (
35
+ /*unfolded*/
36
+ e[6]
37
+ ),
38
+ left: (
39
+ /*contentWidth*/
40
+ e[3] / 2 + "px"
41
+ ),
36
42
  bottom: 12,
37
43
  width: 2,
38
44
  blurRadius: 120,
39
45
  spreadRadius: 60
40
46
  }
41
47
  });
42
- let u = e[6] && B(e);
48
+ let u = (
49
+ /*unfolded*/
50
+ e[6] && B(e)
51
+ );
43
52
  return s = new re({
44
53
  props: {
45
- visible: e[6],
46
- textUnfolded: e[1],
47
- content: e[5]
54
+ visible: (
55
+ /*unfolded*/
56
+ e[6]
57
+ ),
58
+ textUnfolded: (
59
+ /*textUnfolded*/
60
+ e[1]
61
+ ),
62
+ content: (
63
+ /*content*/
64
+ e[5]
65
+ )
48
66
  }
49
67
  }), _ = new oe({
50
68
  props: {
51
- unfolded: e[6],
52
- length: e[3],
53
- outDelay: e[4] + 20 * Math.min((z = (g = e[5]) == null ? void 0 : g.length) != null ? z : 10, 15),
69
+ unfolded: (
70
+ /*unfolded*/
71
+ e[6]
72
+ ),
73
+ length: (
74
+ /*contentWidth*/
75
+ e[3]
76
+ ),
77
+ outDelay: (
78
+ /*foldTextDelay*/
79
+ e[4] + 20 * Math.min(
80
+ /*content*/
81
+ (z = (g = e[5]) == null ? void 0 : g.length) != null ? z : 10,
82
+ 15
83
+ )
84
+ ),
54
85
  useLinearColor: !0
55
86
  }
56
87
  }), {
57
88
  c() {
58
- i = b("div"), k(n.$$.fragment), o = C(), t = b("div"), a = b("div"), f = b("div"), u && u.c(), m = C(), l = b("div"), k(s.$$.fragment), d = C(), k(_.$$.fragment), w(f, "class", "audio-icon svelte-1s6gk4a"), X(l, "display", "inline-block"), w(a, "class", "wrapper svelte-1s6gk4a"), w(t, "class", "content svelte-1s6gk4a"), w(i, "class", "audio-tag svelte-1s6gk4a"), q(i, "unfolded", e[6]);
89
+ i = b("div"), k(n.$$.fragment), o = C(), t = b("div"), a = b("div"), f = b("div"), u && u.c(), d = C(), l = b("div"), k(s.$$.fragment), p = C(), k(_.$$.fragment), w(f, "class", "audio-icon svelte-1s6gk4a"), X(l, "display", "inline-block"), w(a, "class", "wrapper svelte-1s6gk4a"), w(t, "class", "content svelte-1s6gk4a"), w(i, "class", "audio-tag svelte-1s6gk4a"), q(
90
+ i,
91
+ "unfolded",
92
+ /*unfolded*/
93
+ e[6]
94
+ );
59
95
  },
60
- m(r, p) {
61
- D(r, i, p), y(n, i, null), v(i, o), v(i, t), v(t, a), v(a, f), u && u.m(f, null), v(a, m), v(a, l), y(s, l, null), v(i, d), y(_, i, null), $ = !0, U || (I = [
62
- F(l, "click", e[7]),
96
+ m(r, m) {
97
+ D(r, i, m), y(n, i, null), v(i, o), v(i, t), v(t, a), v(a, f), u && u.m(f, null), v(a, d), v(a, l), y(s, l, null), v(i, p), y(_, i, null), $ = !0, U || (I = [
98
+ F(
99
+ l,
100
+ "click",
101
+ /*clickContent*/
102
+ e[7]
103
+ ),
63
104
  Y(ae.call(null, l)),
64
- F(l, "clientWidth", e[12])
105
+ F(
106
+ l,
107
+ "clientWidth",
108
+ /*clientWidth_handler*/
109
+ e[12]
110
+ )
65
111
  ], U = !0);
66
112
  },
67
- p(r, p) {
113
+ p(r, m) {
68
114
  var W, O;
69
115
  const T = {};
70
- p & 64 && (T.visible = r[6]), p & 8 && (T.left = r[3] / 2 + "px"), n.$set(T), r[6] ? u ? (u.p(r, p), p & 64 && h(u, 1)) : (u = B(r), u.c(), h(u, 1), u.m(f, null)) : u && (G(), c(u, 1, 1, () => {
116
+ m & /*unfolded*/
117
+ 64 && (T.visible = /*unfolded*/
118
+ r[6]), m & /*contentWidth*/
119
+ 8 && (T.left = /*contentWidth*/
120
+ r[3] / 2 + "px"), n.$set(T), /*unfolded*/
121
+ r[6] ? u ? (u.p(r, m), m & /*unfolded*/
122
+ 64 && h(u, 1)) : (u = B(r), u.c(), h(u, 1), u.m(f, null)) : u && (G(), c(u, 1, 1, () => {
71
123
  u = null;
72
124
  }), E());
73
125
  const M = {};
74
- p & 64 && (M.visible = r[6]), p & 2 && (M.textUnfolded = r[1]), p & 32 && (M.content = r[5]), s.$set(M);
126
+ m & /*unfolded*/
127
+ 64 && (M.visible = /*unfolded*/
128
+ r[6]), m & /*textUnfolded*/
129
+ 2 && (M.textUnfolded = /*textUnfolded*/
130
+ r[1]), m & /*content*/
131
+ 32 && (M.content = /*content*/
132
+ r[5]), s.$set(M);
75
133
  const A = {};
76
- p & 64 && (A.unfolded = r[6]), p & 8 && (A.length = r[3]), p & 48 && (A.outDelay = r[4] + 20 * Math.min((O = (W = r[5]) == null ? void 0 : W.length) != null ? O : 10, 15)), _.$set(A), (!$ || p & 64) && q(i, "unfolded", r[6]);
134
+ m & /*unfolded*/
135
+ 64 && (A.unfolded = /*unfolded*/
136
+ r[6]), m & /*contentWidth*/
137
+ 8 && (A.length = /*contentWidth*/
138
+ r[3]), m & /*foldTextDelay, content*/
139
+ 48 && (A.outDelay = /*foldTextDelay*/
140
+ r[4] + 20 * Math.min(
141
+ /*content*/
142
+ (O = (W = r[5]) == null ? void 0 : W.length) != null ? O : 10,
143
+ 15
144
+ )), _.$set(A), (!$ || m & /*unfolded*/
145
+ 64) && q(
146
+ i,
147
+ "unfolded",
148
+ /*unfolded*/
149
+ r[6]
150
+ );
77
151
  },
78
152
  i(r) {
79
153
  $ || (h(n.$$.fragment, r), h(u), h(s.$$.fragment, r), h(_.$$.fragment, r), $ = !0);
@@ -87,7 +161,7 @@ function j(e) {
87
161
  };
88
162
  }
89
163
  function B(e) {
90
- let i, n, o, t, a, f, m;
164
+ let i, n, o, t, a, f, d;
91
165
  return n = new H({
92
166
  props: {
93
167
  center: !0,
@@ -96,40 +170,78 @@ function B(e) {
96
170
  }
97
171
  }), t = new ne({
98
172
  props: {
99
- enable: e[6],
100
- url: e[0].data.audioUrl,
101
- hooksInfo: { tag: e[0] },
173
+ enable: (
174
+ /*unfolded*/
175
+ e[6]
176
+ ),
177
+ url: (
178
+ /*tag*/
179
+ e[0].data.audioUrl
180
+ ),
181
+ hooksInfo: { tag: (
182
+ /*tag*/
183
+ e[0]
184
+ ) },
102
185
  $$slots: { default: [fe] },
103
186
  $$scope: { ctx: e }
104
187
  }
105
- }), t.$on("play", e[8]), t.$on("pause", e[9]), t.$on("error", e[10]), t.$on("audioRef", e[11]), {
188
+ }), t.$on(
189
+ "play",
190
+ /*play_handler*/
191
+ e[8]
192
+ ), t.$on(
193
+ "pause",
194
+ /*pause_handler*/
195
+ e[9]
196
+ ), t.$on(
197
+ "error",
198
+ /*error_handler*/
199
+ e[10]
200
+ ), t.$on(
201
+ "audioRef",
202
+ /*audioRef_handler*/
203
+ e[11]
204
+ ), {
106
205
  c() {
107
206
  i = b("div"), k(n.$$.fragment), o = C(), k(t.$$.fragment), w(i, "class", "audio svelte-1s6gk4a");
108
207
  },
109
208
  m(l, s) {
110
- D(l, i, s), y(n, i, null), v(i, o), y(t, i, null), m = !0;
209
+ D(l, i, s), y(n, i, null), v(i, o), y(t, i, null), d = !0;
111
210
  },
112
211
  p(l, s) {
113
212
  e = l;
114
- const d = {};
115
- s & 64 && (d.enable = e[6]), s & 1 && (d.url = e[0].data.audioUrl), s & 1 && (d.hooksInfo = { tag: e[0] }), s & 8196 && (d.$$scope = { dirty: s, ctx: e }), t.$set(d);
213
+ const p = {};
214
+ s & /*unfolded*/
215
+ 64 && (p.enable = /*unfolded*/
216
+ e[6]), s & /*tag*/
217
+ 1 && (p.url = /*tag*/
218
+ e[0].data.audioUrl), s & /*tag*/
219
+ 1 && (p.hooksInfo = { tag: (
220
+ /*tag*/
221
+ e[0]
222
+ ) }), s & /*$$scope, playing*/
223
+ 8196 && (p.$$scope = { dirty: s, ctx: e }), t.$set(p);
116
224
  },
117
225
  i(l) {
118
- m || (h(n.$$.fragment, l), h(t.$$.fragment, l), l && x(() => {
119
- f && f.end(1), a = ee(i, N, {
226
+ d || (h(n.$$.fragment, l), h(t.$$.fragment, l), l && x(() => {
227
+ d && (f && f.end(1), a = ee(i, N, {
120
228
  duration: 1e3,
121
229
  delay: 0,
122
230
  easing: L
123
- }), a.start();
124
- }), m = !0);
231
+ }), a.start());
232
+ }), d = !0);
125
233
  },
126
234
  o(l) {
127
- var s, d;
235
+ var s, p;
128
236
  c(n.$$.fragment, l), c(t.$$.fragment, l), a && a.invalidate(), l && (f = te(i, N, {
129
237
  duration: 1e3,
130
- delay: 20 * Math.min((d = (s = e[5]) == null ? void 0 : s.length) != null ? d : 10, 15),
238
+ delay: 20 * Math.min(
239
+ /*content*/
240
+ (p = (s = e[5]) == null ? void 0 : s.length) != null ? p : 10,
241
+ 15
242
+ ),
131
243
  easing: L
132
- })), m = !1;
244
+ })), d = !1;
133
245
  },
134
246
  d(l) {
135
247
  l && S(i), R(n), R(t), l && f && f.end();
@@ -138,7 +250,10 @@ function B(e) {
138
250
  }
139
251
  function fe(e) {
140
252
  let i, n, o;
141
- return n = new le({ props: { playing: e[2] } }), {
253
+ return n = new le({ props: { playing: (
254
+ /*playing*/
255
+ e[2]
256
+ ) } }), {
142
257
  c() {
143
258
  i = b("div"), k(n.$$.fragment), w(i, "class", "audio-icon__wrapper svelte-1s6gk4a");
144
259
  },
@@ -147,7 +262,9 @@ function fe(e) {
147
262
  },
148
263
  p(t, a) {
149
264
  const f = {};
150
- a & 4 && (f.playing = t[2]), n.$set(f);
265
+ a & /*playing*/
266
+ 4 && (f.playing = /*playing*/
267
+ t[2]), n.$set(f);
151
268
  },
152
269
  i(t) {
153
270
  o || (h(n.$$.fragment, t), o = !0);
@@ -161,7 +278,10 @@ function fe(e) {
161
278
  };
162
279
  }
163
280
  function ue(e) {
164
- let i, n, o = e[0].state && j(e);
281
+ let i, n, o = (
282
+ /*tag*/
283
+ e[0].state && j(e)
284
+ );
165
285
  return {
166
286
  c() {
167
287
  o && o.c(), i = V();
@@ -170,7 +290,9 @@ function ue(e) {
170
290
  o && o.m(t, a), D(t, i, a), n = !0;
171
291
  },
172
292
  p(t, [a]) {
173
- t[0].state ? o ? (o.p(t, a), a & 1 && h(o, 1)) : (o = j(t), o.c(), h(o, 1), o.m(i.parentNode, i)) : o && (G(), c(o, 1, 1, () => {
293
+ /*tag*/
294
+ t[0].state ? o ? (o.p(t, a), a & /*tag*/
295
+ 1 && h(o, 1)) : (o = j(t), o.c(), h(o, 1), o.m(i.parentNode, i)) : o && (G(), c(o, 1, 1, () => {
174
296
  o = null;
175
297
  }), E());
176
298
  },
@@ -186,9 +308,9 @@ function ue(e) {
186
308
  };
187
309
  }
188
310
  function de(e, i, n) {
189
- let o, t, a, { tag: f } = i, m = !1, l = !1, s;
190
- function d() {
191
- n(1, m = !m);
311
+ let o, t, a, { tag: f } = i, d = !1, l = !1, s;
312
+ function p() {
313
+ n(1, d = !d);
192
314
  }
193
315
  const _ = () => {
194
316
  n(2, l = !0);
@@ -207,16 +329,19 @@ function de(e, i, n) {
207
329
  "tag" in g && n(0, f = g.tag);
208
330
  }, e.$$.update = () => {
209
331
  var g, z, r;
210
- e.$$.dirty & 1 && n(6, o = !!((g = f.state) != null && g.unfolded)), e.$$.dirty & 1 && n(5, t = (r = (z = f.data.title) != null ? z : f.data.text) != null ? r : ""), e.$$.dirty & 2 && n(4, a = m ? 450 : 0);
332
+ e.$$.dirty & /*tag*/
333
+ 1 && n(6, o = !!((g = f.state) != null && g.unfolded)), e.$$.dirty & /*tag*/
334
+ 1 && n(5, t = (r = (z = f.data.title) != null ? z : f.data.text) != null ? r : ""), e.$$.dirty & /*textUnfolded*/
335
+ 2 && n(4, a = d ? 450 : 0);
211
336
  }, [
212
337
  f,
213
- m,
338
+ d,
214
339
  l,
215
340
  s,
216
341
  a,
217
342
  t,
218
343
  o,
219
- d,
344
+ p,
220
345
  _,
221
346
  $,
222
347
  U,
@@ -28,7 +28,14 @@ import "../../../../vendor/resize-observer-polyfill/dist/ResizeObserver.es.js";
28
28
  import "../../Common/Text/MText.js";
29
29
  function q(n) {
30
30
  let t, o;
31
- return t = new w({ props: { tag: n[0] } }), t.$on("audioRef", n[2]), {
31
+ return t = new w({ props: { tag: (
32
+ /*tag*/
33
+ n[0]
34
+ ) } }), t.$on(
35
+ "audioRef",
36
+ /*audioRef*/
37
+ n[2]
38
+ ), {
32
39
  c() {
33
40
  s(t.$$.fragment);
34
41
  },
@@ -37,7 +44,9 @@ function q(n) {
37
44
  },
38
45
  p(e, r) {
39
46
  const a = {};
40
- r & 1 && (a.tag = e[0]), t.$set(a);
47
+ r & /*tag*/
48
+ 1 && (a.tag = /*tag*/
49
+ e[0]), t.$set(a);
41
50
  },
42
51
  i(e) {
43
52
  o || (l(t.$$.fragment, e), o = !0);
@@ -52,7 +61,14 @@ function q(n) {
52
61
  }
53
62
  function v(n) {
54
63
  let t, o;
55
- return t = new T({ props: { tag: n[0] } }), t.$on("audioRef", n[2]), {
64
+ return t = new T({ props: { tag: (
65
+ /*tag*/
66
+ n[0]
67
+ ) } }), t.$on(
68
+ "audioRef",
69
+ /*audioRef*/
70
+ n[2]
71
+ ), {
56
72
  c() {
57
73
  s(t.$$.fragment);
58
74
  },
@@ -61,7 +77,9 @@ function v(n) {
61
77
  },
62
78
  p(e, r) {
63
79
  const a = {};
64
- r & 1 && (a.tag = e[0]), t.$set(a);
80
+ r & /*tag*/
81
+ 1 && (a.tag = /*tag*/
82
+ e[0]), t.$set(a);
65
83
  },
66
84
  i(e) {
67
85
  o || (l(t.$$.fragment, e), o = !0);
@@ -78,7 +96,13 @@ function C(n) {
78
96
  let t, o, e, r;
79
97
  const a = [v, q], p = [];
80
98
  function u(i, m) {
81
- return i[1] === "line" ? 0 : i[1] === "plane" ? 1 : -1;
99
+ return (
100
+ /*appearance*/
101
+ i[1] === "line" ? 0 : (
102
+ /*appearance*/
103
+ i[1] === "plane" ? 1 : -1
104
+ )
105
+ );
82
106
  }
83
107
  return ~(t = u(n)) && (o = p[t] = a[t](n)), {
84
108
  c() {
@@ -113,7 +137,8 @@ function N(n, t, o) {
113
137
  "tag" in u && o(0, r = u.tag);
114
138
  }, n.$$.update = () => {
115
139
  var u;
116
- n.$$.dirty & 1 && o(1, e = (u = r.data.appearance) != null ? u : "line");
140
+ n.$$.dirty & /*tag*/
141
+ 1 && o(1, e = (u = r.data.appearance) != null ? u : "line");
117
142
  }, [r, e, p];
118
143
  }
119
144
  class it extends g {
@@ -3,7 +3,10 @@ function z(i) {
3
3
  p(i, "svelte-kzl2aj", ".customElement__container.svelte-kzl2aj{position:relative}");
4
4
  }
5
5
  function a(i) {
6
- let l, e = i[0].element + "", t;
6
+ let l, e = (
7
+ /*tag*/
8
+ i[0].element + ""
9
+ ), t;
7
10
  return {
8
11
  c() {
9
12
  l = new j(!1), t = b(), l.a = t;
@@ -12,7 +15,9 @@ function a(i) {
12
15
  l.m(e, n, o), m(n, t, o);
13
16
  },
14
17
  p(n, o) {
15
- o & 1 && e !== (e = n[0].element + "") && l.p(e);
18
+ o & /*tag*/
19
+ 1 && e !== (e = /*tag*/
20
+ n[0].element + "") && l.p(e);
16
21
  },
17
22
  d(n) {
18
23
  n && c(t), n && l.d();
@@ -20,7 +25,8 @@ function a(i) {
20
25
  };
21
26
  }
22
27
  function C(i) {
23
- let l, e = typeof i[0].element == "string" && a(i);
28
+ let l, e = typeof /*tag*/
29
+ i[0].element == "string" && a(i);
24
30
  return {
25
31
  c() {
26
32
  l = g("div"), e && e.c(), v(l, "class", "customElement__container svelte-kzl2aj");
@@ -29,7 +35,8 @@ function C(i) {
29
35
  m(t, l, n), e && e.m(l, null), i[2](l);
30
36
  },
31
37
  p(t, [n]) {
32
- typeof t[0].element == "string" ? e ? e.p(t, n) : (e = a(t), e.c(), e.m(l, null)) : e && (e.d(1), e = null);
38
+ typeof /*tag*/
39
+ t[0].element == "string" ? e ? e.p(t, n) : (e = a(t), e.c(), e.m(l, null)) : e && (e.d(1), e = null);
33
40
  },
34
41
  i: f,
35
42
  o: f,