@realsee/dnalogel 2.13.1 → 2.13.2-dev.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (291) hide show
  1. package/dist/index.cjs.js +51 -51
  2. package/dist/index.js +5485 -5179
  3. package/dist/index.umd.js +46 -46
  4. package/dist/shared-utils/svelte/resizeObserver.d.ts +10 -0
  5. package/docs/classes/CSS3DRender.html +31 -31
  6. package/docs/classes/CruisePluginController.html +25 -25
  7. package/docs/classes/Magnifier.html +20 -20
  8. package/docs/classes/ModelRoomLabelController.html +11 -11
  9. package/docs/classes/Object3DHelperController.html +25 -25
  10. package/docs/classes/PaintBrush.html +15 -15
  11. package/docs/classes/PanoMeasurePluginLine.html +23 -23
  12. package/docs/classes/PanoMeasurePluginModel.html +22 -22
  13. package/docs/classes/PanoMeasurePluginPoint.html +14 -14
  14. package/docs/classes/PanoMeasurePluginPolyline.html +26 -26
  15. package/docs/classes/PanoTagPluginController.html +45 -45
  16. package/docs/classes/Util.BetterTween.html +8 -8
  17. package/docs/classes/Util.FivePointSelector.html +12 -12
  18. package/docs/classes/Util.Interval.html +12 -12
  19. package/docs/classes/Util.Magnifier.html +17 -17
  20. package/docs/classes/Util.PointDomHelper.html +11 -11
  21. package/docs/classes/Util.PointHelper.html +11 -11
  22. package/docs/classes/Util.Rectangle.html +13 -13
  23. package/docs/enums/CameraMovementEffect.html +7 -7
  24. package/docs/enums/ContentType.html +19 -19
  25. package/docs/enums/DIRECTION.html +9 -9
  26. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +9 -9
  27. package/docs/enums/DimensionType.html +7 -7
  28. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +8 -8
  29. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +9 -9
  30. package/docs/enums/PaintBrushTypeEnum.html +8 -8
  31. package/docs/enums/PointType.html +7 -7
  32. package/docs/enums/Rotation.html +8 -8
  33. package/docs/functions/CSS3DRenderPlugin.html +5 -5
  34. package/docs/functions/CameraMovementPlugin.html +5 -5
  35. package/docs/functions/CruisePlugin.html +5 -5
  36. package/docs/functions/GuideLinePlugin.html +5 -5
  37. package/docs/functions/ItemLabelPlugin.html +5 -5
  38. package/docs/functions/MapviewFloorplanPlugin.html +5 -5
  39. package/docs/functions/ModelChassisCompassPlugin.html +5 -5
  40. package/docs/functions/ModelEntryDoorGuidePlugin.html +5 -5
  41. package/docs/functions/ModelFloorplanPlugin.html +5 -5
  42. package/docs/functions/ModelItemLabelPlugin.html +5 -5
  43. package/docs/functions/ModelRoomLabelPlugin.html +5 -5
  44. package/docs/functions/ModelTVVideoPlugin.html +5 -5
  45. package/docs/functions/ModelViewPlugin.html +5 -5
  46. package/docs/functions/Object3DHelperPlugin.html +5 -5
  47. package/docs/functions/PanoCompassPlugin.html +5 -5
  48. package/docs/functions/PanoCursorRaycasterPlugin.html +5 -5
  49. package/docs/functions/PanoDoorLabelPlugin.html +5 -5
  50. package/docs/functions/PanoFloorplanRadarPlugin.html +5 -5
  51. package/docs/functions/PanoMeasurePlugin.html +5 -5
  52. package/docs/functions/PanoRulerPlugin.html +5 -5
  53. package/docs/functions/PanoRulerProPlugin.html +5 -5
  54. package/docs/functions/PanoSpatialTagPlugin.html +5 -5
  55. package/docs/functions/PanoTagPlugin.html +5 -5
  56. package/docs/functions/PanoVideoPlugin.html +5 -5
  57. package/docs/functions/TopviewFloorplanPlugin.html +5 -5
  58. package/docs/functions/Util.getCoordsFromClient.html +5 -5
  59. package/docs/functions/Util.getCoordsFromElement.html +5 -5
  60. package/docs/functions/Util.getFrameTime.html +5 -5
  61. package/docs/functions/Util.getIntersectFromRelativePosition.html +5 -5
  62. package/docs/functions/Util.getRaycasterFromFivePointer.html +5 -5
  63. package/docs/functions/Util.isNil.html +5 -5
  64. package/docs/functions/Util.nextFrame.html +5 -5
  65. package/docs/functions/Util.notNil.html +5 -5
  66. package/docs/functions/Util.requestAnimationFrameInterval.html +5 -5
  67. package/docs/functions/Util.tweenProgress.html +5 -5
  68. package/docs/functions/pluginFlag.html +5 -5
  69. package/docs/index.html +4 -4
  70. package/docs/interfaces/AddTagConfig.html +6 -6
  71. package/docs/interfaces/CSS3DRenderPluginEventMap.html +11 -11
  72. package/docs/interfaces/CSS3DRenderPluginState.html +8 -8
  73. package/docs/interfaces/CameraMovementPluginExportType.html +7 -7
  74. package/docs/interfaces/EventMap.html +15 -15
  75. package/docs/interfaces/FloorplanBounding.html +8 -8
  76. package/docs/interfaces/FloorplanData.html +10 -10
  77. package/docs/interfaces/FloorplanEntrance.html +11 -11
  78. package/docs/interfaces/FloorplanExtraObject.html +10 -10
  79. package/docs/interfaces/FloorplanExtraObject3D.html +8 -8
  80. package/docs/interfaces/FloorplanFloorData.html +9 -9
  81. package/docs/interfaces/FloorplanImagePosition.html +7 -7
  82. package/docs/interfaces/FloorplanObserver.html +9 -9
  83. package/docs/interfaces/FloorplanOutlineItem.html +9 -9
  84. package/docs/interfaces/FloorplanPosition.html +7 -7
  85. package/docs/interfaces/FloorplanRoomItem.html +13 -13
  86. package/docs/interfaces/FloorplanRoomLabelItem.html +7 -7
  87. package/docs/interfaces/FloorplanServerBounding.html +8 -8
  88. package/docs/interfaces/FloorplanServerComputedData.html +10 -10
  89. package/docs/interfaces/FloorplanServerData.html +7 -7
  90. package/docs/interfaces/FloorplanServerDoorItem.html +10 -10
  91. package/docs/interfaces/FloorplanServerDoorPosition.html +8 -8
  92. package/docs/interfaces/FloorplanServerEntrance.html +11 -11
  93. package/docs/interfaces/FloorplanServerFloorData.html +9 -9
  94. package/docs/interfaces/FloorplanServerImagePosition.html +7 -7
  95. package/docs/interfaces/FloorplanServerObserver.html +9 -9
  96. package/docs/interfaces/FloorplanServerOutlineItem.html +9 -9
  97. package/docs/interfaces/FloorplanServerPosition.html +7 -7
  98. package/docs/interfaces/FloorplanServerRoomItem.html +14 -14
  99. package/docs/interfaces/FloorplanServerRoomLabelItem.html +7 -7
  100. package/docs/interfaces/HelperOffset.html +8 -8
  101. package/docs/interfaces/ImagePlaneGroup.html +6 -6
  102. package/docs/interfaces/ItemLabelPluginData.html +6 -6
  103. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +11 -11
  104. package/docs/interfaces/ItemLabelPluginParametersType.html +9 -9
  105. package/docs/interfaces/MinMax.html +7 -7
  106. package/docs/interfaces/ModelChassisCompassPluginData.html +7 -7
  107. package/docs/interfaces/ModelChassisCompassPluginExportType.html +8 -8
  108. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +7 -7
  109. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +8 -8
  110. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +8 -8
  111. package/docs/interfaces/ModelItemLabelPluginData.html +6 -6
  112. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +11 -11
  113. package/docs/interfaces/ModelItemLabelPluginParametersType.html +7 -7
  114. package/docs/interfaces/ModelRoomLabelPluginData.html +6 -6
  115. package/docs/interfaces/ModelTVVideoPluginData.html +9 -9
  116. package/docs/interfaces/ModelTVVideoPluginExportType.html +8 -8
  117. package/docs/interfaces/ModelTVVideoPluginParameterType.html +6 -6
  118. package/docs/interfaces/ModelViewPluginExportType.html +11 -11
  119. package/docs/interfaces/Object3DHelperState.html +8 -8
  120. package/docs/interfaces/ObjectHelperControllers.html +9 -9
  121. package/docs/interfaces/PaintBrushAction.html +12 -12
  122. package/docs/interfaces/PaintBrushConfigs.html +12 -12
  123. package/docs/interfaces/PaintBrushState.html +10 -10
  124. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +10 -10
  125. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +5 -5
  126. package/docs/interfaces/PanoMeasureParameterType.html +14 -14
  127. package/docs/interfaces/PanoMeasurePluginLineJson.html +8 -8
  128. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +7 -7
  129. package/docs/interfaces/PanoMeasurePluginPointJson.html +7 -7
  130. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +8 -8
  131. package/docs/interfaces/PanoRulerPluginExportType.html +10 -10
  132. package/docs/interfaces/PanoRulerPluginOptions.html +7 -7
  133. package/docs/interfaces/PanoRulerPluginParameterType.html +8 -8
  134. package/docs/interfaces/PanoRulerProPluginExportType.html +9 -9
  135. package/docs/interfaces/PanoRulerProPluginOptions.html +7 -7
  136. package/docs/interfaces/PanoRulerProPluginParameterType.html +7 -7
  137. package/docs/interfaces/PanoRulerProPluginState.html +8 -8
  138. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +5 -5
  139. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +5 -5
  140. package/docs/interfaces/PanoSpatialTagPluginData.html +11 -11
  141. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +10 -10
  142. package/docs/interfaces/PanoSpatialTagPluginExportType.html +13 -13
  143. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +10 -10
  144. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +13 -13
  145. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +11 -11
  146. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +10 -10
  147. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +6 -6
  148. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +8 -8
  149. package/docs/interfaces/PanoVideoPluginType.PluginData.html +6 -6
  150. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +9 -9
  151. package/docs/interfaces/PanoVideoPluginType.PluginState.html +6 -6
  152. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +8 -8
  153. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +10 -10
  154. package/docs/interfaces/Point.html +8 -8
  155. package/docs/interfaces/Room.html +9 -9
  156. package/docs/interfaces/RoomInfo.html +7 -7
  157. package/docs/interfaces/RoomLabel.html +14 -14
  158. package/docs/interfaces/RoomRules.html +5 -5
  159. package/docs/interfaces/Rooms.html +5 -5
  160. package/docs/interfaces/Scissor.html +9 -9
  161. package/docs/interfaces/State.html +8 -8
  162. package/docs/interfaces/TagCacheInterface.html +12 -12
  163. package/docs/interfaces/TagConfig.html +11 -11
  164. package/docs/interfaces/TagGLTFObjectGroup.html +6 -6
  165. package/docs/interfaces/TagIconUrl.html +11 -11
  166. package/docs/interfaces/TagObjectGroup.html +6 -6
  167. package/docs/interfaces/TagStyle.html +6 -6
  168. package/docs/interfaces/Tags.html +9 -9
  169. package/docs/interfaces/TemporaryState.html +6 -6
  170. package/docs/interfaces/Util.MagnifierParameter.html +11 -11
  171. package/docs/interfaces/Util.MouseGroupParameter.html +8 -8
  172. package/docs/modules/PanoVideoPluginType.html +5 -5
  173. package/docs/modules/Util.html +5 -5
  174. package/docs/modules.html +4 -4
  175. package/docs/types/ArrayPosition.html +5 -5
  176. package/docs/types/AudioAppearance.html +5 -5
  177. package/docs/types/AudioTagTypeConfigKey.html +5 -5
  178. package/docs/types/CSS3DRenderExportType.html +5 -5
  179. package/docs/types/CSS3DRenderPluginExportType.html +5 -5
  180. package/docs/types/CSS3DRenderPluginParameterType.html +5 -5
  181. package/docs/types/ClassFunctionParameters.html +5 -5
  182. package/docs/types/Color.html +5 -5
  183. package/docs/types/ContentTypeConfigKey.html +5 -5
  184. package/docs/types/ContentTypeConfigKeySplit.html +5 -5
  185. package/docs/types/ContentTypeMap.html +5 -5
  186. package/docs/types/Create3DDomContainerReturnType.html +5 -5
  187. package/docs/types/Create3DElementReturnType.html +5 -5
  188. package/docs/types/CruisePluginExportType.html +5 -5
  189. package/docs/types/Direction-1.html +5 -5
  190. package/docs/types/Direction4.html +5 -5
  191. package/docs/types/FloorplanRuleLabels.html +5 -5
  192. package/docs/types/FloorplanServerRuleLabels.html +5 -5
  193. package/docs/types/GuideLinePluginExportType.html +5 -5
  194. package/docs/types/HelperEventMap.html +5 -5
  195. package/docs/types/LoadTagConfig.html +5 -5
  196. package/docs/types/MapviewFloorplanPluginParameterType.html +5 -5
  197. package/docs/types/MapviewFloorplanPluginReturnType.html +5 -5
  198. package/docs/types/MediaData.html +5 -5
  199. package/docs/types/MediaStore.html +5 -5
  200. package/docs/types/ModelElement.html +5 -5
  201. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +5 -5
  202. package/docs/types/ModelFloorplanPluginParameterType.html +5 -5
  203. package/docs/types/ModelFloorplanPluginReturnType.html +5 -5
  204. package/docs/types/ModelRoomLabelPluginParameters.html +5 -5
  205. package/docs/types/ModelRoomLabelPluginReturnType.html +5 -5
  206. package/docs/types/MoveArgs.html +5 -5
  207. package/docs/types/MoveOpts.html +5 -5
  208. package/docs/types/Object3DHelperEventMap.html +5 -5
  209. package/docs/types/ObjectFit.html +5 -5
  210. package/docs/types/PaintBrushEventMap.html +5 -5
  211. package/docs/types/PanoCompassPluginData.html +5 -5
  212. package/docs/types/PanoCompassPluginExportType.html +5 -5
  213. package/docs/types/PanoCompassPluginParameterType.html +5 -5
  214. package/docs/types/PanoFloorplanRadarPluginParameterType.html +5 -5
  215. package/docs/types/PanoFloorplanRadarPluginReturnType.html +5 -5
  216. package/docs/types/PanoIndex.html +5 -5
  217. package/docs/types/PanoMeasurePluginEvent.html +5 -5
  218. package/docs/types/PanoMeasureReturnType.html +5 -5
  219. package/docs/types/PanoSpatialTagPluginId.html +5 -5
  220. package/docs/types/PanoTagPluginExportInterface.html +5 -5
  221. package/docs/types/PanoTagPluginParamsInterface.html +5 -5
  222. package/docs/types/PanoVideoPluginParameterType.html +5 -5
  223. package/docs/types/PanoVideoPluginReturnType.html +5 -5
  224. package/docs/types/PlaneTag.html +5 -5
  225. package/docs/types/PlaneTagElement.html +5 -5
  226. package/docs/types/Point2DElement.html +5 -5
  227. package/docs/types/Point2DTag.html +5 -5
  228. package/docs/types/Point3DElement.html +5 -5
  229. package/docs/types/Point3DTag.html +5 -5
  230. package/docs/types/PointTag.html +5 -5
  231. package/docs/types/PointTagElement.html +5 -5
  232. package/docs/types/Position.html +5 -5
  233. package/docs/types/RotateArgs.html +5 -5
  234. package/docs/types/RotateOpts.html +5 -5
  235. package/docs/types/RuleLabelsKey.html +5 -5
  236. package/docs/types/RuleLabelsValue.html +5 -5
  237. package/docs/types/StickType.html +5 -5
  238. package/docs/types/Tag.html +5 -5
  239. package/docs/types/Tag2D.html +5 -5
  240. package/docs/types/Tag3D.html +5 -5
  241. package/docs/types/TagContentType.html +5 -5
  242. package/docs/types/TagDimensionType.html +5 -5
  243. package/docs/types/TagElement.html +5 -5
  244. package/docs/types/TagEvents.html +5 -5
  245. package/docs/types/TagGLTFObject.html +5 -5
  246. package/docs/types/TagHooks.html +5 -5
  247. package/docs/types/TagIconSize.html +5 -5
  248. package/docs/types/TagId.html +5 -5
  249. package/docs/types/TagPointType.html +5 -5
  250. package/docs/types/TopviewFloorplanPluginParameterType.html +5 -5
  251. package/docs/types/TopviewFloorplanPluginReturnType.html +5 -5
  252. package/docs/types/WorkCode.html +5 -5
  253. package/docs/variables/FLOOR_TYPE_MAP.html +5 -5
  254. package/docs/variables/PLUGIN.html +5 -5
  255. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +5 -5
  256. package/docs/variables/ROOM_TYPE_MAP.html +5 -5
  257. package/docs/variables/VERSION.html +5 -5
  258. package/docs/variables/itemLabelPluginServerParams.html +5 -5
  259. package/docs/variables/modelItemLabelPluginServerParams.html +5 -5
  260. package/docs/variables/modelRoomLabelPluginServerParams.html +5 -5
  261. package/libs/ModelRoomLabelPlugin/Controller.js +4 -2
  262. package/libs/ModelRoomLabelPlugin/RoomLabelItems.js +118 -109
  263. package/libs/ModelRoomLabelPlugin/index.js +7 -5
  264. package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioTag.js +99 -93
  265. package/libs/PanoTagPlugin/Components/Tag/AudioTag/index.js +4 -2
  266. package/libs/PanoTagPlugin/Components/Tag/TextTag/TextTag.js +72 -66
  267. package/libs/PanoTagPlugin/Components/Tag/TextTag/index.js +4 -2
  268. package/libs/PanoTagPlugin/Components/Tag/index.js +4 -2
  269. package/libs/PanoTagPlugin/Components/TagContainer.js +4 -2
  270. package/libs/PanoTagPlugin/Components/TagItem.js +4 -2
  271. package/libs/PanoTagPlugin/controller/TagRender.js +4 -2
  272. package/libs/PanoTagPlugin/controller/index.js +7 -5
  273. package/libs/PanoTagPlugin/index.js +13 -11
  274. package/libs/base/BasePlugin.js +1 -1
  275. package/libs/floorplan/Components/RoomLabels/RoomLabel.js +108 -100
  276. package/libs/floorplan/Components/RoomLabels/RoomLabels.js +96 -92
  277. package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +33 -31
  278. package/libs/floorplan/MapviewFloorplanPlugin/index.js +5 -3
  279. package/libs/floorplan/ModelFloorplanPlugin/Controller.js +4 -2
  280. package/libs/floorplan/ModelFloorplanPlugin/index.js +5 -3
  281. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Main.js +109 -100
  282. package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +4 -2
  283. package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +5 -3
  284. package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +4 -2
  285. package/libs/floorplan/TopviewFloorplanPlugin/index.js +5 -3
  286. package/libs/floorplan/index.js +1 -0
  287. package/libs/index.js +106 -104
  288. package/libs/shared-utils/svelte/resizeObserver.d.ts +10 -0
  289. package/libs/shared-utils/svelte/resizeObserver.js +12 -0
  290. package/libs/vendor/resize-observer-polyfill/dist/ResizeObserver.es.js +269 -0
  291. package/package.json +2 -1
@@ -1,11 +1,12 @@
1
- import { SvelteComponent as K, init as P, safe_not_equal as Q, append_styles as V, empty as X, insert as S, transition_in as g, transition_out as h, check_outros as E, detach as T, element as w, create_component as k, space as D, attr as $, add_render_callback as G, set_style as Y, toggle_class as L, mount_component as y, append as c, add_resize_listener as Z, listen as x, group_outros as H, destroy_component as z, create_in_transition as ee, create_out_transition as te, bubble as ie } from "../../../../vendor/svelte/internal/index.js";
2
- import { cubicInOut as N } from "../../../../vendor/svelte/easing/index.js";
3
- import { fade as O } from "../../../../vendor/svelte/transition/index.js";
1
+ import { SvelteComponent as J, init as K, safe_not_equal as P, append_styles as Q, empty as V, insert as D, transition_in as h, transition_out as c, check_outros as E, detach as S, element as b, create_component as $, space as C, attr as w, set_style as X, toggle_class as q, mount_component as k, append as v, listen as F, action_destroyer as Y, group_outros as G, destroy_component as y, run_all as Z, add_render_callback as x, create_in_transition as ee, create_out_transition as te, bubble as ie } from "../../../../vendor/svelte/internal/index.js";
2
+ import { cubicInOut as L } from "../../../../vendor/svelte/easing/index.js";
3
+ import { fade as N } from "../../../../vendor/svelte/transition/index.js";
4
4
  import ne from "../../Common/Audio.js";
5
5
  import oe from "../../Common/Line/Straight.js";
6
- import J from "../../Common/Shadow.js";
6
+ import H from "../../Common/Shadow.js";
7
7
  import le from "../../Common/Text/FlyMText.js";
8
8
  import re from "../../Common/Icon/audioIcon.js";
9
+ import { svelteResizeObserver as ae } from "../../../../shared-utils/svelte/resizeObserver.js";
9
10
  import "../../../utils/audio/SharedAudio.js";
10
11
  import "../../../../shared-utils/audio.js";
11
12
  import "../../../../shared-utils/uuid.js";
@@ -19,13 +20,14 @@ import "../../Common/Arrow.js";
19
20
  import "../../../Assets/Icon.js";
20
21
  import "../../../utils/doUtil.js";
21
22
  import "../../../utils/px2rem.js";
22
- function ae(e) {
23
- V(e, "svelte-1s6gk4a", ".audio-tag.svelte-1s6gk4a{position:absolute;left:0;top:0;width:0;height:0;overflow:visible}.audio-icon__wrapper.svelte-1s6gk4a{position:relative;vertical-align:top;width:100%;height:100%}.content.svelte-1s6gk4a{width:-moz-max-content;width:max-content;height:3.375rem;padding:2.25rem 0.25rem 0 1rem;position:absolute;left:0;bottom:0.125rem;overflow:hidden;box-sizing:border-box;font-size:0;white-space:nowrap;font-weight:600}.wrapper.svelte-1s6gk4a{position:relative;width:100%;height:100%}.audio-icon.svelte-1s6gk4a{pointer-events:none;vertical-align:top;display:inline-block;width:1rem;height:1rem;margin-right:0.25rem;margin-top:0.0625rem}.audio.svelte-1s6gk4a{position:relative;width:100%;height:100%}");
23
+ import "../../../../vendor/resize-observer-polyfill/dist/ResizeObserver.es.js";
24
+ function se(e) {
25
+ Q(e, "svelte-1s6gk4a", ".audio-tag.svelte-1s6gk4a{position:absolute;left:0;top:0;width:0;height:0;overflow:visible}.audio-icon__wrapper.svelte-1s6gk4a{position:relative;vertical-align:top;width:100%;height:100%}.content.svelte-1s6gk4a{width:-moz-max-content;width:max-content;height:3.375rem;padding:2.25rem 0.25rem 0 1rem;position:absolute;left:0;bottom:0.125rem;overflow:hidden;box-sizing:border-box;font-size:0;white-space:nowrap;font-weight:600}.wrapper.svelte-1s6gk4a{position:relative;width:100%;height:100%}.audio-icon.svelte-1s6gk4a{pointer-events:none;vertical-align:top;display:inline-block;width:1rem;height:1rem;margin-right:0.25rem;margin-top:0.0625rem}.audio.svelte-1s6gk4a{position:relative;width:100%;height:100%}");
24
26
  }
25
27
  function j(e) {
26
- var I, M;
27
- let n, i, o, t, a, u, m, r, s, d, v, _, b, R, U;
28
- i = new J({
28
+ var z, I;
29
+ let n, i, o, t, a, d, m, l, s, p, g, _, R, U;
30
+ i = new H({
29
31
  props: {
30
32
  visible: e[6],
31
33
  left: e[3] / 2 + "px",
@@ -42,45 +44,49 @@ function j(e) {
42
44
  textUnfolded: e[1],
43
45
  content: e[5]
44
46
  }
45
- }), _ = new oe({
47
+ }), g = new oe({
46
48
  props: {
47
49
  unfolded: e[6],
48
50
  length: e[3],
49
- outDelay: e[4] + 20 * Math.min((M = (I = e[5]) == null ? void 0 : I.length) != null ? M : 10, 15),
51
+ outDelay: e[4] + 20 * Math.min((I = (z = e[5]) == null ? void 0 : z.length) != null ? I : 10, 15),
50
52
  useLinearColor: !0
51
53
  }
52
54
  }), {
53
55
  c() {
54
- n = w("div"), k(i.$$.fragment), o = D(), t = w("div"), a = w("div"), u = w("div"), f && f.c(), m = D(), r = w("div"), k(s.$$.fragment), v = D(), k(_.$$.fragment), $(u, "class", "audio-icon svelte-1s6gk4a"), G(() => e[15].call(r)), Y(r, "display", "inline-block"), $(a, "class", "wrapper svelte-1s6gk4a"), $(t, "class", "content svelte-1s6gk4a"), $(n, "class", "audio-tag svelte-1s6gk4a"), L(n, "unfolded", e[6]);
55
- },
56
- m(l, p) {
57
- S(l, n, p), y(i, n, null), c(n, o), c(n, t), c(t, a), c(a, u), f && f.m(u, null), c(a, m), c(a, r), y(s, r, null), d = Z(r, e[15].bind(r)), c(n, v), y(_, n, null), b = !0, R || (U = x(r, "click", e[7]), R = !0);
58
- },
59
- p(l, p) {
60
- var q, F;
61
- const W = {};
62
- p & 64 && (W.visible = l[6]), p & 8 && (W.left = l[3] / 2 + "px"), i.$set(W), l[6] ? f ? (f.p(l, p), p & 64 && g(f, 1)) : (f = B(l), f.c(), g(f, 1), f.m(u, null)) : f && (H(), h(f, 1, 1, () => {
56
+ n = b("div"), $(i.$$.fragment), o = C(), t = b("div"), a = b("div"), d = b("div"), f && f.c(), m = C(), l = b("div"), $(s.$$.fragment), p = C(), $(g.$$.fragment), w(d, "class", "audio-icon svelte-1s6gk4a"), X(l, "display", "inline-block"), w(a, "class", "wrapper svelte-1s6gk4a"), w(t, "class", "content svelte-1s6gk4a"), w(n, "class", "audio-tag svelte-1s6gk4a"), q(n, "unfolded", e[6]);
57
+ },
58
+ m(r, u) {
59
+ D(r, n, u), k(i, n, null), v(n, o), v(n, t), v(t, a), v(a, d), f && f.m(d, null), v(a, m), v(a, l), k(s, l, null), v(n, p), k(g, n, null), _ = !0, R || (U = [
60
+ F(l, "click", e[7]),
61
+ Y(ae.call(null, l)),
62
+ F(l, "clientWidth", e[15])
63
+ ], R = !0);
64
+ },
65
+ p(r, u) {
66
+ var W, O;
67
+ const T = {};
68
+ u & 64 && (T.visible = r[6]), u & 8 && (T.left = r[3] / 2 + "px"), i.$set(T), r[6] ? f ? (f.p(r, u), u & 64 && h(f, 1)) : (f = B(r), f.c(), h(f, 1), f.m(d, null)) : f && (G(), c(f, 1, 1, () => {
63
69
  f = null;
64
70
  }), E());
71
+ const M = {};
72
+ u & 64 && (M.visible = r[6]), u & 2 && (M.textUnfolded = r[1]), u & 32 && (M.content = r[5]), s.$set(M);
65
73
  const A = {};
66
- p & 64 && (A.visible = l[6]), p & 2 && (A.textUnfolded = l[1]), p & 32 && (A.content = l[5]), s.$set(A);
67
- const C = {};
68
- p & 64 && (C.unfolded = l[6]), p & 8 && (C.length = l[3]), p & 48 && (C.outDelay = l[4] + 20 * Math.min((F = (q = l[5]) == null ? void 0 : q.length) != null ? F : 10, 15)), _.$set(C), (!b || p & 64) && L(n, "unfolded", l[6]);
74
+ u & 64 && (A.unfolded = r[6]), u & 8 && (A.length = r[3]), u & 48 && (A.outDelay = r[4] + 20 * Math.min((O = (W = r[5]) == null ? void 0 : W.length) != null ? O : 10, 15)), g.$set(A), (!_ || u & 64) && q(n, "unfolded", r[6]);
69
75
  },
70
- i(l) {
71
- b || (g(i.$$.fragment, l), g(f), g(s.$$.fragment, l), g(_.$$.fragment, l), b = !0);
76
+ i(r) {
77
+ _ || (h(i.$$.fragment, r), h(f), h(s.$$.fragment, r), h(g.$$.fragment, r), _ = !0);
72
78
  },
73
- o(l) {
74
- h(i.$$.fragment, l), h(f), h(s.$$.fragment, l), h(_.$$.fragment, l), b = !1;
79
+ o(r) {
80
+ c(i.$$.fragment, r), c(f), c(s.$$.fragment, r), c(g.$$.fragment, r), _ = !1;
75
81
  },
76
- d(l) {
77
- l && T(n), z(i), f && f.d(), z(s), d(), z(_), R = !1, U();
82
+ d(r) {
83
+ r && S(n), y(i), f && f.d(), y(s), y(g), R = !1, Z(U);
78
84
  }
79
85
  };
80
86
  }
81
87
  function B(e) {
82
- let n, i, o, t, a, u, m;
83
- return i = new J({
88
+ let n, i, o, t, a, d, m;
89
+ return i = new H({
84
90
  props: {
85
91
  center: !0,
86
92
  blurRadius: 15,
@@ -91,140 +97,140 @@ function B(e) {
91
97
  enable: e[6],
92
98
  url: e[0].data.audioUrl,
93
99
  hooksInfo: { tag: e[0] },
94
- $$slots: { default: [se] },
100
+ $$slots: { default: [fe] },
95
101
  $$scope: { ctx: e }
96
102
  }
97
103
  }), t.$on("play", e[11]), t.$on("pause", e[12]), t.$on("error", e[13]), t.$on("audioRef", e[14]), {
98
104
  c() {
99
- n = w("div"), k(i.$$.fragment), o = D(), k(t.$$.fragment), $(n, "class", "audio svelte-1s6gk4a");
105
+ n = b("div"), $(i.$$.fragment), o = C(), $(t.$$.fragment), w(n, "class", "audio svelte-1s6gk4a");
100
106
  },
101
- m(r, s) {
102
- S(r, n, s), y(i, n, null), c(n, o), y(t, n, null), m = !0;
107
+ m(l, s) {
108
+ D(l, n, s), k(i, n, null), v(n, o), k(t, n, null), m = !0;
103
109
  },
104
- p(r, s) {
105
- e = r;
106
- const d = {};
107
- s & 64 && (d.enable = e[6]), s & 1 && (d.url = e[0].data.audioUrl), s & 1 && (d.hooksInfo = { tag: e[0] }), s & 65540 && (d.$$scope = { dirty: s, ctx: e }), t.$set(d);
110
+ p(l, s) {
111
+ e = l;
112
+ const p = {};
113
+ s & 64 && (p.enable = e[6]), s & 1 && (p.url = e[0].data.audioUrl), s & 1 && (p.hooksInfo = { tag: e[0] }), s & 65540 && (p.$$scope = { dirty: s, ctx: e }), t.$set(p);
108
114
  },
109
- i(r) {
110
- m || (g(i.$$.fragment, r), g(t.$$.fragment, r), r && G(() => {
111
- u && u.end(1), a = ee(n, O, {
115
+ i(l) {
116
+ m || (h(i.$$.fragment, l), h(t.$$.fragment, l), l && x(() => {
117
+ d && d.end(1), a = ee(n, N, {
112
118
  duration: 1e3,
113
119
  delay: 0,
114
- easing: N
120
+ easing: L
115
121
  }), a.start();
116
122
  }), m = !0);
117
123
  },
118
- o(r) {
119
- var s, d;
120
- h(i.$$.fragment, r), h(t.$$.fragment, r), a && a.invalidate(), r && (u = te(n, O, {
124
+ o(l) {
125
+ var s, p;
126
+ c(i.$$.fragment, l), c(t.$$.fragment, l), a && a.invalidate(), l && (d = te(n, N, {
121
127
  duration: 1e3,
122
- delay: 20 * Math.min((d = (s = e[5]) == null ? void 0 : s.length) != null ? d : 10, 15),
123
- easing: N
128
+ delay: 20 * Math.min((p = (s = e[5]) == null ? void 0 : s.length) != null ? p : 10, 15),
129
+ easing: L
124
130
  })), m = !1;
125
131
  },
126
- d(r) {
127
- r && T(n), z(i), z(t), r && u && u.end();
132
+ d(l) {
133
+ l && S(n), y(i), y(t), l && d && d.end();
128
134
  }
129
135
  };
130
136
  }
131
- function se(e) {
137
+ function fe(e) {
132
138
  let n, i, o;
133
139
  return i = new re({ props: { playing: e[2] } }), {
134
140
  c() {
135
- n = w("div"), k(i.$$.fragment), $(n, "class", "audio-icon__wrapper svelte-1s6gk4a");
141
+ n = b("div"), $(i.$$.fragment), w(n, "class", "audio-icon__wrapper svelte-1s6gk4a");
136
142
  },
137
143
  m(t, a) {
138
- S(t, n, a), y(i, n, null), o = !0;
144
+ D(t, n, a), k(i, n, null), o = !0;
139
145
  },
140
146
  p(t, a) {
141
- const u = {};
142
- a & 4 && (u.playing = t[2]), i.$set(u);
147
+ const d = {};
148
+ a & 4 && (d.playing = t[2]), i.$set(d);
143
149
  },
144
150
  i(t) {
145
- o || (g(i.$$.fragment, t), o = !0);
151
+ o || (h(i.$$.fragment, t), o = !0);
146
152
  },
147
153
  o(t) {
148
- h(i.$$.fragment, t), o = !1;
154
+ c(i.$$.fragment, t), o = !1;
149
155
  },
150
156
  d(t) {
151
- t && T(n), z(i);
157
+ t && S(n), y(i);
152
158
  }
153
159
  };
154
160
  }
155
- function fe(e) {
161
+ function ue(e) {
156
162
  let n, i, o = e[0].state && j(e);
157
163
  return {
158
164
  c() {
159
- o && o.c(), n = X();
165
+ o && o.c(), n = V();
160
166
  },
161
167
  m(t, a) {
162
- o && o.m(t, a), S(t, n, a), i = !0;
168
+ o && o.m(t, a), D(t, n, a), i = !0;
163
169
  },
164
170
  p(t, [a]) {
165
- t[0].state ? o ? (o.p(t, a), a & 1 && g(o, 1)) : (o = j(t), o.c(), g(o, 1), o.m(n.parentNode, n)) : o && (H(), h(o, 1, 1, () => {
171
+ t[0].state ? o ? (o.p(t, a), a & 1 && h(o, 1)) : (o = j(t), o.c(), h(o, 1), o.m(n.parentNode, n)) : o && (G(), c(o, 1, 1, () => {
166
172
  o = null;
167
173
  }), E());
168
174
  },
169
175
  i(t) {
170
- i || (g(o), i = !0);
176
+ i || (h(o), i = !0);
171
177
  },
172
178
  o(t) {
173
- h(o), i = !1;
179
+ c(o), i = !1;
174
180
  },
175
181
  d(t) {
176
- o && o.d(t), t && T(n);
182
+ o && o.d(t), t && S(n);
177
183
  }
178
184
  };
179
185
  }
180
- function ue(e, n, i) {
186
+ function de(e, n, i) {
181
187
  let o, t, a;
182
- var u, m, r;
183
- let { tag: s } = n, d = !1, v = !1, _;
184
- function b() {
185
- i(1, d = !d);
188
+ var d, m, l;
189
+ let { tag: s } = n, p = !1, g = !1, _;
190
+ function R() {
191
+ i(1, p = !p);
186
192
  }
187
- const R = () => {
188
- i(2, v = !0);
189
- }, U = () => {
190
- i(2, v = !1);
193
+ const U = () => {
194
+ i(2, g = !0);
191
195
  }, f = () => {
192
- i(2, v = !1);
196
+ i(2, g = !1);
197
+ }, z = () => {
198
+ i(2, g = !1);
193
199
  };
194
- function I(l) {
195
- ie.call(this, e, l);
200
+ function I(u) {
201
+ ie.call(this, e, u);
196
202
  }
197
- function M() {
198
- _ = this.clientWidth, i(3, _);
199
- }
200
- return e.$$set = (l) => {
201
- "tag" in l && i(0, s = l.tag);
203
+ const r = (u) => {
204
+ i(3, _ = u.detail);
205
+ };
206
+ return e.$$set = (u) => {
207
+ "tag" in u && i(0, s = u.tag);
202
208
  }, e.$$.update = () => {
203
- e.$$.dirty & 257 && i(6, o = !!(!(i(8, u = s.state) === null || u === void 0) && u.unfolded)), e.$$.dirty & 1537 && i(5, t = i(10, r = i(9, m = s.data.title) !== null && m !== void 0 ? m : s.data.text) !== null && r !== void 0 ? r : ""), e.$$.dirty & 2 && i(4, a = d ? 450 : 0);
209
+ e.$$.dirty & 257 && i(6, o = !!(!(i(8, d = s.state) === null || d === void 0) && d.unfolded)), e.$$.dirty & 1537 && i(5, t = i(10, l = i(9, m = s.data.title) !== null && m !== void 0 ? m : s.data.text) !== null && l !== void 0 ? l : ""), e.$$.dirty & 2 && i(4, a = p ? 450 : 0);
204
210
  }, [
205
211
  s,
206
- d,
207
- v,
212
+ p,
213
+ g,
208
214
  _,
209
215
  a,
210
216
  t,
211
217
  o,
212
- b,
213
- u,
214
- m,
215
- r,
216
218
  R,
219
+ d,
220
+ m,
221
+ l,
217
222
  U,
218
223
  f,
224
+ z,
219
225
  I,
220
- M
226
+ r
221
227
  ];
222
228
  }
223
- class Se extends K {
229
+ class Oe extends J {
224
230
  constructor(n) {
225
- super(), P(this, n, ue, fe, Q, { tag: 0 }, ae);
231
+ super(), K(this, n, de, ue, P, { tag: 0 }, se);
226
232
  }
227
233
  }
228
234
  export {
229
- Se as default
235
+ Oe as default
230
236
  };
@@ -21,6 +21,8 @@ import "../../../Assets/Icon.js";
21
21
  import "../../../utils/doUtil.js";
22
22
  import "../../Common/Icon/audioIcon.js";
23
23
  import "../../../utils/px2rem.js";
24
+ import "../../../../shared-utils/svelte/resizeObserver.js";
25
+ import "../../../../vendor/resize-observer-polyfill/dist/ResizeObserver.es.js";
24
26
  import "../../Common/Text/MText.js";
25
27
  function w(a) {
26
28
  let t, e;
@@ -113,11 +115,11 @@ function N(a, t, e) {
113
115
  a.$$.dirty & 9 && e(1, o = e(3, i = n.data.appearance) !== null && i !== void 0 ? i : "line");
114
116
  }, [n, o, f, i];
115
117
  }
116
- class tt extends g {
118
+ class ot extends g {
117
119
  constructor(t) {
118
120
  super(), $(this, t, N, C, k, { tag: 0 });
119
121
  }
120
122
  }
121
123
  export {
122
- tt as default
124
+ ot as default
123
125
  };
@@ -1,7 +1,8 @@
1
- import { SvelteComponent as $, init as C, safe_not_equal as R, append_styles as W, empty as q, insert as w, transition_in as c, transition_out as g, check_outros as F, detach as k, create_component as z, space as M, element as I, attr as L, add_render_callback as N, mount_component as T, add_resize_listener as j, listen as x, destroy_component as y, group_outros as A } from "../../../../vendor/svelte/internal/index.js";
2
- import B from "../../Common/Line/Straight.js";
3
- import E from "../../Common/Shadow.js";
4
- import G from "../../Common/Text/FlyMText.js";
1
+ import { SvelteComponent as S, init as W, safe_not_equal as $, append_styles as C, empty as q, insert as v, transition_in as _, transition_out as h, check_outros as x, detach as w, create_component as y, space as D, element as F, attr as I, mount_component as T, action_destroyer as L, listen as M, destroy_component as k, run_all as N, group_outros as O } from "../../../../vendor/svelte/internal/index.js";
2
+ import j from "../../Common/Line/Straight.js";
3
+ import A from "../../Common/Shadow.js";
4
+ import B from "../../Common/Text/FlyMText.js";
5
+ import { svelteResizeObserver as E } from "../../../../shared-utils/svelte/resizeObserver.js";
5
6
  import "../../../../vendor/svelte/transition/index.js";
6
7
  import "../../../../vendor/svelte/easing/index.js";
7
8
  import "../../../../shared-utils/uuid.js";
@@ -14,125 +15,130 @@ import "../../../utils/constants.js";
14
15
  import "../../Common/Arrow.js";
15
16
  import "../../../Assets/Icon.js";
16
17
  import "../../../utils/doUtil.js";
17
- function H(n) {
18
- W(n, "svelte-nlvd3x", ".content.svelte-nlvd3x{width:-moz-max-content;width:max-content;height:3.375rem;padding:2.25rem 0.25rem 0 1rem;position:absolute;left:0;bottom:0;overflow:hidden;box-sizing:border-box;font-size:0;pointer-events:none;white-space:nowrap;font-weight:600}");
18
+ import "../../../../vendor/resize-observer-polyfill/dist/ResizeObserver.es.js";
19
+ function G(o) {
20
+ C(o, "svelte-nlvd3x", ".content.svelte-nlvd3x{width:-moz-max-content;width:max-content;height:3.375rem;padding:2.25rem 0.25rem 0 1rem;position:absolute;left:0;bottom:0;overflow:hidden;box-sizing:border-box;font-size:0;pointer-events:none;white-space:nowrap;font-weight:600}");
19
21
  }
20
- function S(n) {
21
- var u, h;
22
- let r, o, t, i, l, s, p, m, d, a;
23
- return r = new E({
22
+ function R(o) {
23
+ var c, a;
24
+ let l, n, t, i, r, s, m, p, d;
25
+ return l = new A({
24
26
  props: {
25
- visible: n[2],
26
- left: n[3] / 2 + "px",
27
+ visible: o[2],
28
+ left: o[3] / 2 + "px",
27
29
  bottom: 12,
28
30
  width: 2,
29
31
  blurRadius: 120,
30
32
  spreadRadius: 60
31
33
  }
32
- }), t = new B({
34
+ }), t = new j({
33
35
  props: {
34
- unfolded: n[2],
35
- length: n[3],
36
- outDelay: n[4] + 40 * Math.min((h = (u = n[6][0]) == null ? void 0 : u.content.length) != null ? h : 10, 15),
36
+ unfolded: o[2],
37
+ length: o[3],
38
+ outDelay: o[4] + 40 * Math.min((a = (c = o[6][0]) == null ? void 0 : c.content.length) != null ? a : 10, 15),
37
39
  useLinearColor: !0
38
40
  }
39
- }), s = new G({
41
+ }), s = new B({
40
42
  props: {
41
- visible: n[2],
42
- textUnfolded: n[1],
43
- content: n[5]
43
+ visible: o[2],
44
+ textUnfolded: o[1],
45
+ content: o[5]
44
46
  }
45
47
  }), {
46
48
  c() {
47
- z(r.$$.fragment), o = M(), z(t.$$.fragment), i = M(), l = I("div"), z(s.$$.fragment), L(l, "class", "content svelte-nlvd3x"), N(() => n[11].call(l));
49
+ y(l.$$.fragment), n = D(), y(t.$$.fragment), i = D(), r = F("div"), y(s.$$.fragment), I(r, "class", "content svelte-nlvd3x");
48
50
  },
49
51
  m(e, f) {
50
- T(r, e, f), w(e, o, f), T(t, e, f), w(e, i, f), w(e, l, f), T(s, l, null), p = j(l, n[11].bind(l)), m = !0, d || (a = x(l, "click", n[7]), d = !0);
52
+ T(l, e, f), v(e, n, f), T(t, e, f), v(e, i, f), v(e, r, f), T(s, r, null), m = !0, p || (d = [
53
+ L(E.call(null, r)),
54
+ M(r, "clientWidth", o[11]),
55
+ M(r, "click", o[7])
56
+ ], p = !0);
51
57
  },
52
58
  p(e, f) {
53
- var U, D;
54
- const _ = {};
55
- f & 4 && (_.visible = e[2]), f & 8 && (_.left = e[3] / 2 + "px"), r.$set(_);
59
+ var z, U;
60
+ const g = {};
61
+ f & 4 && (g.visible = e[2]), f & 8 && (g.left = e[3] / 2 + "px"), l.$set(g);
62
+ const u = {};
63
+ f & 4 && (u.unfolded = e[2]), f & 8 && (u.length = e[3]), f & 16 && (u.outDelay = e[4] + 40 * Math.min((U = (z = e[6][0]) == null ? void 0 : z.content.length) != null ? U : 10, 15)), t.$set(u);
56
64
  const b = {};
57
- f & 4 && (b.unfolded = e[2]), f & 8 && (b.length = e[3]), f & 16 && (b.outDelay = e[4] + 40 * Math.min((D = (U = e[6][0]) == null ? void 0 : U.content.length) != null ? D : 10, 15)), t.$set(b);
58
- const v = {};
59
- f & 4 && (v.visible = e[2]), f & 2 && (v.textUnfolded = e[1]), f & 32 && (v.content = e[5]), s.$set(v);
65
+ f & 4 && (b.visible = e[2]), f & 2 && (b.textUnfolded = e[1]), f & 32 && (b.content = e[5]), s.$set(b);
60
66
  },
61
67
  i(e) {
62
- m || (c(r.$$.fragment, e), c(t.$$.fragment, e), c(s.$$.fragment, e), m = !0);
68
+ m || (_(l.$$.fragment, e), _(t.$$.fragment, e), _(s.$$.fragment, e), m = !0);
63
69
  },
64
70
  o(e) {
65
- g(r.$$.fragment, e), g(t.$$.fragment, e), g(s.$$.fragment, e), m = !1;
71
+ h(l.$$.fragment, e), h(t.$$.fragment, e), h(s.$$.fragment, e), m = !1;
66
72
  },
67
73
  d(e) {
68
- y(r, e), e && k(o), y(t, e), e && k(i), e && k(l), y(s), p(), d = !1, a();
74
+ k(l, e), e && w(n), k(t, e), e && w(i), e && w(r), k(s), p = !1, N(d);
69
75
  }
70
76
  };
71
77
  }
72
- function J(n) {
73
- let r, o, t = n[0].state && S(n);
78
+ function H(o) {
79
+ let l, n, t = o[0].state && R(o);
74
80
  return {
75
81
  c() {
76
- t && t.c(), r = q();
82
+ t && t.c(), l = q();
77
83
  },
78
- m(i, l) {
79
- t && t.m(i, l), w(i, r, l), o = !0;
84
+ m(i, r) {
85
+ t && t.m(i, r), v(i, l, r), n = !0;
80
86
  },
81
- p(i, [l]) {
82
- i[0].state ? t ? (t.p(i, l), l & 1 && c(t, 1)) : (t = S(i), t.c(), c(t, 1), t.m(r.parentNode, r)) : t && (A(), g(t, 1, 1, () => {
87
+ p(i, [r]) {
88
+ i[0].state ? t ? (t.p(i, r), r & 1 && _(t, 1)) : (t = R(i), t.c(), _(t, 1), t.m(l.parentNode, l)) : t && (O(), h(t, 1, 1, () => {
83
89
  t = null;
84
- }), F());
90
+ }), x());
85
91
  },
86
92
  i(i) {
87
- o || (c(t), o = !0);
93
+ n || (_(t), n = !0);
88
94
  },
89
95
  o(i) {
90
- g(t), o = !1;
96
+ h(t), n = !1;
91
97
  },
92
98
  d(i) {
93
- t && t.d(i), i && k(r);
99
+ t && t.d(i), i && w(l);
94
100
  }
95
101
  };
96
102
  }
97
- function K(n, r, o) {
98
- let t, i, l;
99
- var s, p, m;
100
- let { tag: d } = r, a, u = !1, h = [];
101
- function e() {
102
- o(1, u = !u);
103
- }
103
+ function J(o, l, n) {
104
+ let t, i, r;
105
+ var s, m, p;
106
+ let { tag: d } = l, c, a = !1, e = [];
104
107
  function f() {
105
- a = this.clientWidth, o(3, a);
108
+ n(1, a = !a);
106
109
  }
107
- return n.$$set = (_) => {
108
- "tag" in _ && o(0, d = _.tag);
109
- }, n.$$.update = () => {
110
- n.$$.dirty & 257 && o(2, t = !!(!(o(8, s = d.state) === null || s === void 0) && s.unfolded)), n.$$.dirty & 1537 && o(5, i = o(10, m = o(9, p = d.data.title) !== null && p !== void 0 ? p : d.data.text) !== null && m !== void 0 ? m : ""), n.$$.dirty & 4 && (t || setTimeout(
110
+ const g = (u) => {
111
+ n(3, c = u.detail);
112
+ };
113
+ return o.$$set = (u) => {
114
+ "tag" in u && n(0, d = u.tag);
115
+ }, o.$$.update = () => {
116
+ o.$$.dirty & 257 && n(2, t = !!(!(n(8, s = d.state) === null || s === void 0) && s.unfolded)), o.$$.dirty & 1537 && n(5, i = n(10, p = n(9, m = d.data.title) !== null && m !== void 0 ? m : d.data.text) !== null && p !== void 0 ? p : ""), o.$$.dirty & 4 && (t || setTimeout(
111
117
  () => {
112
- o(1, u = !1);
118
+ n(1, a = !1);
113
119
  },
114
120
  20
115
- )), n.$$.dirty & 2 && o(4, l = u ? 450 : 0);
121
+ )), o.$$.dirty & 2 && n(4, r = a ? 450 : 0);
116
122
  }, [
117
123
  d,
118
- u,
119
- t,
120
124
  a,
121
- l,
125
+ t,
126
+ c,
127
+ r,
122
128
  i,
123
- h,
124
129
  e,
130
+ f,
125
131
  s,
126
- p,
127
132
  m,
128
- f
133
+ p,
134
+ g
129
135
  ];
130
136
  }
131
- class me extends $ {
132
- constructor(r) {
133
- super(), C(this, r, K, J, R, { tag: 0 }, H);
137
+ class pe extends S {
138
+ constructor(l) {
139
+ super(), W(this, l, J, H, $, { tag: 0 }, G);
134
140
  }
135
141
  }
136
142
  export {
137
- me as default
143
+ pe as default
138
144
  };
@@ -16,6 +16,8 @@ import "../../../utils/constants.js";
16
16
  import "../../Common/Arrow.js";
17
17
  import "../../../Assets/Icon.js";
18
18
  import "../../../utils/doUtil.js";
19
+ import "../../../../shared-utils/svelte/resizeObserver.js";
20
+ import "../../../../vendor/resize-observer-polyfill/dist/ResizeObserver.es.js";
19
21
  import "../../Common/Text/MText.js";
20
22
  import "../../../utils/px2rem.js";
21
23
  function q(a) {
@@ -106,11 +108,11 @@ function P(a, t, e) {
106
108
  a.$$.dirty & 5 && e(1, r = e(2, o = i.data.appearance) !== null && o !== void 0 ? o : "line");
107
109
  }, [i, r, o];
108
110
  }
109
- class W extends d {
111
+ class Y extends d {
110
112
  constructor(t) {
111
113
  super(), k(this, t, P, N, $, { tag: 0 });
112
114
  }
113
115
  }
114
116
  export {
115
- W as default
117
+ Y as default
116
118
  };
@@ -24,6 +24,8 @@ import "../../utils/constants.js";
24
24
  import "../Common/Arrow.js";
25
25
  import "../../Assets/Icon.js";
26
26
  import "../../utils/doUtil.js";
27
+ import "../../../shared-utils/svelte/resizeObserver.js";
28
+ import "../../../vendor/resize-observer-polyfill/dist/ResizeObserver.es.js";
27
29
  import "./TextTag/TextPlaneTag.js";
28
30
  import "../Common/Text/MText.js";
29
31
  import "../../utils/px2rem.js";
@@ -406,7 +408,7 @@ function DA(o, A, t) {
406
408
  j
407
409
  ];
408
410
  }
409
- class nt extends $ {
411
+ class at extends $ {
410
412
  constructor(A) {
411
413
  super(), AA(
412
414
  this,
@@ -427,5 +429,5 @@ class nt extends $ {
427
429
  }
428
430
  }
429
431
  export {
430
- nt as default
432
+ at as default
431
433
  };
@@ -18,6 +18,8 @@ import "../utils/constants.js";
18
18
  import "./Common/Arrow.js";
19
19
  import "../Assets/Icon.js";
20
20
  import "../utils/doUtil.js";
21
+ import "../../shared-utils/svelte/resizeObserver.js";
22
+ import "../../vendor/resize-observer-polyfill/dist/ResizeObserver.es.js";
21
23
  import "./Tag/TextTag/TextPlaneTag.js";
22
24
  import "./Common/Text/MText.js";
23
25
  import "../utils/px2rem.js";
@@ -204,7 +206,7 @@ function F(a, t, o) {
204
206
  "withAnimation" in p && o(0, i = p.withAnimation), "tags" in p && o(1, m = p.tags), "hooks" in p && o(5, r = p.hooks), "mediaStore" in p && o(2, l = p.mediaStore), "state" in p && o(3, e = p.state), "temporaryState" in p && o(4, n = p.temporaryState);
205
207
  }, [i, m, l, e, n, r];
206
208
  }
207
- class wi extends S {
209
+ class vi extends S {
208
210
  constructor(t) {
209
211
  super(), v(
210
212
  this,
@@ -225,5 +227,5 @@ class wi extends S {
225
227
  }
226
228
  }
227
229
  export {
228
- wi as default
230
+ vi as default
229
231
  };
@@ -19,6 +19,8 @@ import "../utils/constants.js";
19
19
  import "./Common/Arrow.js";
20
20
  import "../Assets/Icon.js";
21
21
  import "../utils/doUtil.js";
22
+ import "../../shared-utils/svelte/resizeObserver.js";
23
+ import "../../vendor/resize-observer-polyfill/dist/ResizeObserver.es.js";
22
24
  import "./Tag/TextTag/TextPlaneTag.js";
23
25
  import "./Common/Text/MText.js";
24
26
  import "../utils/px2rem.js";
@@ -256,7 +258,7 @@ function ot(o, e, t) {
256
258
  w
257
259
  ];
258
260
  }
259
- class He extends M {
261
+ class Ke extends M {
260
262
  constructor(e) {
261
263
  super(), N(
262
264
  this,
@@ -276,5 +278,5 @@ class He extends M {
276
278
  }
277
279
  }
278
280
  export {
279
- He as default
281
+ Ke as default
280
282
  };