@realsee/dnalogel 2.9.0-0 → 2.9.0-2

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 (290) hide show
  1. package/dist/PanoMeasurePlugin/utils/isNDCPointInScreen.d.ts +1 -0
  2. package/dist/PanoTagPlugin/controller/TagComputer.d.ts +2 -2
  3. package/dist/PanoTagPlugin/typings/tag/TagData.d.ts +6 -6
  4. package/dist/PanoTagPlugin/utils/px2rem.d.ts +1 -1
  5. package/dist/PanoVideoPlugin/Controller.d.ts +31 -0
  6. package/dist/PanoVideoPlugin/VideoMeshController.d.ts +85 -0
  7. package/dist/PanoVideoPlugin/index.d.ts +16 -0
  8. package/dist/PanoVideoPlugin/typings.d.ts +64 -0
  9. package/dist/PanoVideoPlugin/utils/shader.d.ts +2 -0
  10. package/dist/index.cjs.js +70 -50
  11. package/dist/index.d.ts +1 -0
  12. package/dist/index.js +4997 -4730
  13. package/dist/index.umd.js +61 -41
  14. package/docs/assets/search.js +1 -1
  15. package/docs/classes/CSS3DRender.html +32 -31
  16. package/docs/classes/CruisePluginController.html +25 -24
  17. package/docs/classes/Magnifier.html +21 -20
  18. package/docs/classes/ModelRoomLabelController.html +12 -11
  19. package/docs/classes/Object3DHelperController.html +25 -24
  20. package/docs/classes/PaintBrush.html +16 -15
  21. package/docs/classes/PanoMeasurePluginLine.html +24 -23
  22. package/docs/classes/PanoMeasurePluginModel.html +23 -22
  23. package/docs/classes/PanoMeasurePluginPoint.html +15 -14
  24. package/docs/classes/PanoMeasurePluginPolyline.html +27 -26
  25. package/docs/classes/PanoTagPluginController.html +52 -51
  26. package/docs/classes/Util.BetterTween.html +9 -8
  27. package/docs/classes/Util.FivePointSelector.html +13 -12
  28. package/docs/classes/Util.Interval.html +13 -12
  29. package/docs/classes/Util.Magnifier.html +18 -17
  30. package/docs/classes/Util.PointDomHelper.html +12 -11
  31. package/docs/classes/Util.PointHelper.html +12 -11
  32. package/docs/classes/Util.Rectangle.html +14 -13
  33. package/docs/enums/CameraMovementEffect.html +8 -7
  34. package/docs/enums/ContentType.html +20 -19
  35. package/docs/enums/DIRECTION.html +10 -9
  36. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +10 -9
  37. package/docs/enums/DimensionType.html +8 -7
  38. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +9 -8
  39. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +10 -9
  40. package/docs/enums/PaintBrushTypeEnum.html +9 -8
  41. package/docs/enums/PointType.html +8 -7
  42. package/docs/enums/Rotation.html +9 -8
  43. package/docs/functions/CSS3DRenderPlugin.html +9 -5
  44. package/docs/functions/CameraMovementPlugin.html +9 -5
  45. package/docs/functions/CruisePlugin.html +9 -5
  46. package/docs/functions/GuideLinePlugin.html +9 -5
  47. package/docs/functions/ItemLabelPlugin.html +9 -5
  48. package/docs/functions/MapviewFloorplanPlugin.html +9 -5
  49. package/docs/functions/ModelChassisCompassPlugin.html +9 -5
  50. package/docs/functions/ModelEntryDoorGuidePlugin.html +9 -5
  51. package/docs/functions/ModelFloorplanPlugin.html +9 -5
  52. package/docs/functions/ModelItemLabelPlugin.html +9 -5
  53. package/docs/functions/ModelRoomLabelPlugin.html +9 -5
  54. package/docs/functions/ModelTVVideoPlugin.html +9 -5
  55. package/docs/functions/ModelViewPlugin.html +9 -5
  56. package/docs/functions/Object3DHelperPlugin.html +9 -5
  57. package/docs/functions/PanoCompassPlugin.html +9 -5
  58. package/docs/functions/PanoCursorRaycasterPlugin.html +9 -5
  59. package/docs/functions/PanoDoorLabelPlugin.html +9 -5
  60. package/docs/functions/PanoFloorplanRadarPlugin.html +9 -5
  61. package/docs/functions/PanoMeasurePlugin.html +9 -5
  62. package/docs/functions/PanoRulerPlugin.html +9 -5
  63. package/docs/functions/PanoRulerProPlugin.html +9 -5
  64. package/docs/functions/PanoSpatialTagPlugin.html +9 -5
  65. package/docs/functions/PanoTagPlugin.html +9 -5
  66. package/docs/functions/PanoVideoPlugin.html +284 -0
  67. package/docs/functions/TopviewFloorplanPlugin.html +9 -5
  68. package/docs/functions/Util.getCoordsFromClient.html +6 -5
  69. package/docs/functions/Util.getCoordsFromElement.html +6 -5
  70. package/docs/functions/Util.getFrameTime.html +6 -5
  71. package/docs/functions/Util.getIntersectFromRelativePosition.html +6 -5
  72. package/docs/functions/Util.getRaycasterFromFivePointer.html +6 -5
  73. package/docs/functions/Util.isNil.html +6 -5
  74. package/docs/functions/Util.nextFrame.html +6 -5
  75. package/docs/functions/Util.notNil.html +6 -5
  76. package/docs/functions/Util.requestAnimationFrameInterval.html +6 -5
  77. package/docs/functions/Util.tweenProgress.html +6 -5
  78. package/docs/functions/pluginFlag.html +9 -5
  79. package/docs/index.html +8 -4
  80. package/docs/interfaces/AddTagConfig.html +7 -6
  81. package/docs/interfaces/CSS3DRenderPluginEventMap.html +12 -11
  82. package/docs/interfaces/CSS3DRenderPluginState.html +9 -8
  83. package/docs/interfaces/CameraMovementPluginExportType.html +8 -7
  84. package/docs/interfaces/EventMap.html +16 -15
  85. package/docs/interfaces/FloorplanBounding.html +9 -8
  86. package/docs/interfaces/FloorplanData.html +11 -10
  87. package/docs/interfaces/FloorplanEntrance.html +12 -11
  88. package/docs/interfaces/FloorplanExtraObject.html +11 -10
  89. package/docs/interfaces/FloorplanExtraObject3D.html +9 -8
  90. package/docs/interfaces/FloorplanFloorData.html +10 -9
  91. package/docs/interfaces/FloorplanImagePosition.html +8 -7
  92. package/docs/interfaces/FloorplanObserver.html +10 -9
  93. package/docs/interfaces/FloorplanOutlineItem.html +10 -9
  94. package/docs/interfaces/FloorplanPosition.html +8 -7
  95. package/docs/interfaces/FloorplanRoomItem.html +14 -13
  96. package/docs/interfaces/FloorplanRoomLabelItem.html +8 -7
  97. package/docs/interfaces/FloorplanServerBounding.html +9 -8
  98. package/docs/interfaces/FloorplanServerComputedData.html +11 -10
  99. package/docs/interfaces/FloorplanServerData.html +8 -7
  100. package/docs/interfaces/FloorplanServerDoorItem.html +11 -10
  101. package/docs/interfaces/FloorplanServerDoorPosition.html +9 -8
  102. package/docs/interfaces/FloorplanServerEntrance.html +12 -11
  103. package/docs/interfaces/FloorplanServerFloorData.html +10 -9
  104. package/docs/interfaces/FloorplanServerImagePosition.html +8 -7
  105. package/docs/interfaces/FloorplanServerObserver.html +10 -9
  106. package/docs/interfaces/FloorplanServerOutlineItem.html +10 -9
  107. package/docs/interfaces/FloorplanServerPosition.html +8 -7
  108. package/docs/interfaces/FloorplanServerRoomItem.html +15 -14
  109. package/docs/interfaces/FloorplanServerRoomLabelItem.html +8 -7
  110. package/docs/interfaces/HelperOffset.html +9 -8
  111. package/docs/interfaces/ItemLabelPluginData.html +7 -6
  112. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +12 -11
  113. package/docs/interfaces/ItemLabelPluginParametersType.html +10 -9
  114. package/docs/interfaces/MinMax.html +8 -7
  115. package/docs/interfaces/ModelChassisCompassPluginData.html +8 -7
  116. package/docs/interfaces/ModelChassisCompassPluginExportType.html +9 -8
  117. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +8 -7
  118. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +9 -8
  119. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +9 -8
  120. package/docs/interfaces/ModelItemLabelPluginData.html +7 -6
  121. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +12 -11
  122. package/docs/interfaces/ModelItemLabelPluginParametersType.html +8 -7
  123. package/docs/interfaces/ModelRoomLabelPluginData.html +7 -6
  124. package/docs/interfaces/ModelTVVideoPluginData.html +10 -9
  125. package/docs/interfaces/ModelTVVideoPluginExportType.html +9 -8
  126. package/docs/interfaces/ModelTVVideoPluginParameterType.html +7 -6
  127. package/docs/interfaces/ModelViewPluginExportType.html +12 -11
  128. package/docs/interfaces/Object3DHelperState.html +9 -8
  129. package/docs/interfaces/ObjectHelperControllers.html +10 -9
  130. package/docs/interfaces/PaintBrushAction.html +13 -12
  131. package/docs/interfaces/PaintBrushConfigs.html +13 -12
  132. package/docs/interfaces/PaintBrushState.html +11 -10
  133. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +11 -10
  134. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +9 -5
  135. package/docs/interfaces/PanoMeasureParameterType.html +13 -12
  136. package/docs/interfaces/PanoMeasurePluginLineJson.html +9 -8
  137. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +8 -7
  138. package/docs/interfaces/PanoMeasurePluginPointJson.html +8 -7
  139. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +9 -8
  140. package/docs/interfaces/PanoRulerPluginExportType.html +11 -10
  141. package/docs/interfaces/PanoRulerPluginOptions.html +8 -7
  142. package/docs/interfaces/PanoRulerPluginParameterType.html +9 -8
  143. package/docs/interfaces/PanoRulerProPluginExportType.html +10 -9
  144. package/docs/interfaces/PanoRulerProPluginOptions.html +8 -7
  145. package/docs/interfaces/PanoRulerProPluginParameterType.html +8 -7
  146. package/docs/interfaces/PanoRulerProPluginState.html +9 -8
  147. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +9 -5
  148. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +9 -5
  149. package/docs/interfaces/PanoSpatialTagPluginData.html +12 -11
  150. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +11 -10
  151. package/docs/interfaces/PanoSpatialTagPluginExportType.html +14 -13
  152. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +11 -10
  153. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +14 -13
  154. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +12 -11
  155. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +11 -10
  156. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +74 -0
  157. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +89 -0
  158. package/docs/interfaces/PanoVideoPluginType.PluginData.html +66 -0
  159. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +165 -0
  160. package/docs/interfaces/PanoVideoPluginType.PluginState.html +66 -0
  161. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +97 -0
  162. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +114 -0
  163. package/docs/interfaces/Point.html +9 -8
  164. package/docs/interfaces/Room.html +10 -9
  165. package/docs/interfaces/RoomInfo.html +8 -7
  166. package/docs/interfaces/RoomLabel.html +15 -14
  167. package/docs/interfaces/RoomRules.html +9 -5
  168. package/docs/interfaces/Rooms.html +9 -5
  169. package/docs/interfaces/Scissor.html +10 -9
  170. package/docs/interfaces/State.html +9 -8
  171. package/docs/interfaces/TagCache.html +13 -12
  172. package/docs/interfaces/TagConfig.html +11 -10
  173. package/docs/interfaces/TagIconUrl.html +10 -9
  174. package/docs/interfaces/Tags.html +10 -9
  175. package/docs/interfaces/TemporaryState.html +7 -6
  176. package/docs/interfaces/Util.MagnifierParameter.html +12 -11
  177. package/docs/interfaces/Util.MouseGroupParameter.html +9 -8
  178. package/docs/modules/PanoVideoPluginType.html +62 -0
  179. package/docs/modules/Util.html +6 -5
  180. package/docs/modules.html +13 -5
  181. package/docs/types/ArrayPosition.html +9 -5
  182. package/docs/types/AudioAppearance.html +9 -5
  183. package/docs/types/AudioTagTypeConfigKey.html +9 -5
  184. package/docs/types/CSS3DRenderExportType.html +9 -5
  185. package/docs/types/CSS3DRenderPluginExportType.html +9 -5
  186. package/docs/types/CSS3DRenderPluginParameterType.html +9 -5
  187. package/docs/types/ClassFunctionParameters.html +9 -5
  188. package/docs/types/Color.html +9 -5
  189. package/docs/types/ContentTypeConfigKey.html +9 -5
  190. package/docs/types/ContentTypeConfigKeySplit.html +9 -5
  191. package/docs/types/ContentTypeMap.html +9 -5
  192. package/docs/types/Create3DDomContainerReturnType.html +9 -5
  193. package/docs/types/Create3DElementReturnType.html +9 -5
  194. package/docs/types/CruisePluginExportType.html +9 -5
  195. package/docs/types/Direction-1.html +9 -5
  196. package/docs/types/Direction4.html +9 -5
  197. package/docs/types/FloorplanRuleLabels.html +9 -5
  198. package/docs/types/FloorplanServerRuleLabels.html +9 -5
  199. package/docs/types/GuideLinePluginExportType.html +9 -5
  200. package/docs/types/HelperEventMap.html +9 -5
  201. package/docs/types/LoadTagConfig.html +9 -5
  202. package/docs/types/MapviewFloorplanPluginParameterType.html +9 -5
  203. package/docs/types/MapviewFloorplanPluginReturnType.html +9 -5
  204. package/docs/types/MediaData.html +9 -5
  205. package/docs/types/MediaStore.html +9 -5
  206. package/docs/types/ModelElement.html +9 -5
  207. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +9 -5
  208. package/docs/types/ModelFloorplanPluginParameterType.html +9 -5
  209. package/docs/types/ModelFloorplanPluginReturnType.html +9 -5
  210. package/docs/types/ModelRoomLabelPluginParameters.html +9 -5
  211. package/docs/types/ModelRoomLabelPluginReturnType.html +9 -5
  212. package/docs/types/MoveArgs.html +9 -5
  213. package/docs/types/MoveOpts.html +9 -5
  214. package/docs/types/Object3DHelperEventMap.html +9 -5
  215. package/docs/types/ObjectFit.html +9 -5
  216. package/docs/types/PaintBrushEventMap.html +9 -5
  217. package/docs/types/PanoCompassPluginData.html +9 -5
  218. package/docs/types/PanoCompassPluginExportType.html +9 -5
  219. package/docs/types/PanoCompassPluginParameterType.html +9 -5
  220. package/docs/types/PanoFloorplanRadarPluginParameterType.html +9 -5
  221. package/docs/types/PanoFloorplanRadarPluginReturnType.html +9 -5
  222. package/docs/types/PanoIndex.html +9 -5
  223. package/docs/types/PanoMeasurePluginEvent.html +9 -5
  224. package/docs/types/PanoMeasureReturnType.html +9 -5
  225. package/docs/types/PanoSpatialTagPluginId.html +9 -5
  226. package/docs/types/PanoTagPluginExportInterface.html +9 -5
  227. package/docs/types/PanoTagPluginParamsInterface.html +9 -5
  228. package/docs/types/PanoVideoPluginParameterType.html +265 -0
  229. package/docs/types/PanoVideoPluginReturnType.html +265 -0
  230. package/docs/types/PlaneTag.html +9 -5
  231. package/docs/types/PlaneTagElement.html +9 -5
  232. package/docs/types/Point2DElement.html +9 -5
  233. package/docs/types/Point2DTag.html +9 -5
  234. package/docs/types/Point3DElement.html +9 -5
  235. package/docs/types/Point3DTag.html +9 -5
  236. package/docs/types/PointTag.html +9 -5
  237. package/docs/types/PointTagElement.html +9 -5
  238. package/docs/types/Position.html +9 -5
  239. package/docs/types/RotateArgs.html +9 -5
  240. package/docs/types/RotateOpts.html +9 -5
  241. package/docs/types/RuleLabelsKey.html +9 -5
  242. package/docs/types/RuleLabelsValue.html +9 -5
  243. package/docs/types/StickType.html +9 -5
  244. package/docs/types/Tag.html +9 -5
  245. package/docs/types/Tag2D.html +9 -5
  246. package/docs/types/Tag3D.html +9 -5
  247. package/docs/types/TagContentType.html +9 -5
  248. package/docs/types/TagDimensionType.html +9 -5
  249. package/docs/types/TagElement.html +9 -5
  250. package/docs/types/TagEvents.html +9 -5
  251. package/docs/types/TagGLTFObject.html +9 -5
  252. package/docs/types/TagHooks.html +9 -5
  253. package/docs/types/TagIconSize.html +9 -5
  254. package/docs/types/TagId.html +9 -5
  255. package/docs/types/TagPointType.html +9 -5
  256. package/docs/types/TopviewFloorplanPluginParameterType.html +9 -5
  257. package/docs/types/TopviewFloorplanPluginReturnType.html +9 -5
  258. package/docs/types/WorkCode.html +9 -5
  259. package/docs/variables/FLOOR_TYPE_MAP.html +9 -5
  260. package/docs/variables/PLUGIN.html +9 -5
  261. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +9 -5
  262. package/docs/variables/ROOM_TYPE_MAP.html +9 -5
  263. package/docs/variables/VERSION.html +9 -5
  264. package/docs/variables/itemLabelPluginServerParams.html +9 -5
  265. package/docs/variables/modelItemLabelPluginServerParams.html +9 -5
  266. package/docs/variables/modelRoomLabelPluginServerParams.html +9 -5
  267. package/libs/PanoMeasurePlugin/utils/distanceDom.js +13 -13
  268. package/libs/PanoMeasurePlugin/utils/isNDCPointInScreen.d.ts +1 -0
  269. package/libs/PanoMeasurePlugin/utils/isNDCPointInScreen.js +9 -4
  270. package/libs/PanoTagPlugin/Components/Common/Media.js +23 -23
  271. package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioPlaneTag.js +90 -90
  272. package/libs/PanoTagPlugin/Components/Tag/AudioTag/index.js +11 -12
  273. package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +183 -145
  274. package/libs/PanoTagPlugin/Components/Tag/index.js +111 -112
  275. package/libs/PanoTagPlugin/Components/TagContainer.js +2 -3
  276. package/libs/PanoTagPlugin/Components/TagItem.js +2 -3
  277. package/libs/PanoTagPlugin/controller/TagComputer.d.ts +2 -2
  278. package/libs/PanoTagPlugin/controller/TagComputer.js +10 -7
  279. package/libs/PanoTagPlugin/controller/index.js +5 -6
  280. package/libs/PanoTagPlugin/index.js +11 -12
  281. package/libs/PanoTagPlugin/typings/tag/TagData.d.ts +6 -6
  282. package/libs/PanoTagPlugin/utils/px2rem.d.ts +1 -1
  283. package/libs/PanoTagPlugin/utils/px2rem.js +3 -3
  284. package/libs/PanoTagPlugin/utils/tagPosition.js +16 -17
  285. package/libs/PanoVideoPlugin/VideoMeshController.js +1 -1
  286. package/libs/index.d.ts +1 -0
  287. package/libs/index.js +107 -101
  288. package/package.json +5 -3
  289. package/dist/PanoTagPlugin/utils/color.d.ts +0 -7
  290. package/dist/PanoTagPlugin/utils/timeToString.d.ts +0 -1
@@ -1,173 +1,173 @@
1
- import { SvelteComponent as q, init as D, safe_not_equal as E, append_styles as M, empty as N, insert as $, transition_in as d, transition_out as c, check_outros as P, detach as w, createEventDispatcher as S, element as p, create_component as k, attr as m, set_style as b, append as v, mount_component as j, destroy_component as y, space as W, group_outros as B, bubble as F, text as G, set_data as H } from "../../../../vendor/svelte/internal/index.js";
2
- import J from "../../Common/Icon/audioIcon.js";
3
- import K from "../../Common/Text/MText.js";
4
- import L from "../../Common/Audio.js";
5
- import "three";
6
- import "@realsee/five/gltf-loader";
7
- import { name2Rgba as O } from "../../../utils/color.js";
1
+ import { SvelteComponent as U, init as q, safe_not_equal as M, append_styles as N, empty as P, insert as v, transition_in as m, transition_out as g, check_outros as S, detach as $, element as p, create_component as w, attr as c, set_style as _, append as b, mount_component as j, destroy_component as k, space as W, group_outros as B, bubble as D, text as E, set_data as F } from "../../../../vendor/svelte/internal/index.js";
2
+ import G from "../../Common/Icon/audioIcon.js";
3
+ import H from "../../Common/Text/MText.js";
4
+ import J from "../../Common/Audio.js";
8
5
  import "../../../utils/px2rem.js";
9
6
  import "../../Common/Shadow.js";
10
7
  import "../../../../vendor/svelte/transition/index.js";
11
8
  import "../../../../vendor/svelte/easing/index.js";
12
9
  import "../../../../shared-utils/audio.js";
13
10
  import "../../../utils/audio/SharedAudio.js";
14
- function Q(o) {
15
- M(o, "svelte-58hfjf", ".audio-tag__wrapper.svelte-58hfjf{position:absolute;left:50%;top:50%;transform:translate(-50%, -50%)}.audio-tag.svelte-58hfjf{position:relative;width:-moz-max-content;width:max-content;height:-moz-max-content;height:max-content;padding:0.1875rem;padding-right:0.625rem;border-radius:624999.9375rem;border:0.03125rem solid rgba(255, 255, 255, 0.2)}.audio__inner.svelte-58hfjf{display:flex;align-items:center;justify-content:center;width:100%;height:100%}.text.svelte-58hfjf{font-weight:bold;font-size:0.75rem;margin-left:0.25rem}.audio-icon__wrapper.svelte-58hfjf{position:relative;vertical-align:top;pointer-events:none;width:1.375rem;height:1.375rem}");
11
+ function K(o) {
12
+ N(o, "svelte-58hfjf", ".audio-tag__wrapper.svelte-58hfjf{position:absolute;left:50%;top:50%;transform:translate(-50%, -50%)}.audio-tag.svelte-58hfjf{position:relative;width:-moz-max-content;width:max-content;height:-moz-max-content;height:max-content;padding:0.1875rem;padding-right:0.625rem;border-radius:624999.9375rem;border:0.03125rem solid rgba(255, 255, 255, 0.2)}.audio__inner.svelte-58hfjf{display:flex;align-items:center;justify-content:center;width:100%;height:100%}.text.svelte-58hfjf{font-weight:bold;font-size:0.75rem;margin-left:0.25rem}.audio-icon__wrapper.svelte-58hfjf{position:relative;vertical-align:top;pointer-events:none;width:1.375rem;height:1.375rem}");
16
13
  }
17
- function z(o) {
18
- let r, t, e, i;
19
- return e = new L({
14
+ function A(o) {
15
+ let n, t, e, i;
16
+ return e = new J({
20
17
  props: {
21
18
  style: "width: max-content; height: max-content;",
22
19
  enable: o[0].state.visible,
23
20
  url: o[0].data.audioUrl,
24
21
  hooksInfo: { tag: o[0] },
25
- $$slots: { default: [X] },
22
+ $$slots: { default: [O] },
26
23
  $$scope: { ctx: o }
27
24
  }
28
- }), e.$on("play", o[7]), e.$on("pause", o[8]), e.$on("timeupdate", o[9]), e.$on("duration", o[10]), e.$on("audioRef", o[11]), {
25
+ }), e.$on("play", o[8]), e.$on("pause", o[9]), e.$on("timeupdate", o[10]), e.$on("duration", o[11]), e.$on("audioRef", o[12]), {
29
26
  c() {
30
- r = p("div"), t = p("div"), k(e.$$.fragment), m(t, "class", "audio-tag svelte-58hfjf"), b(t, "background-color", o[1]), b(t, "color", o[5]), m(r, "class", "audio-tag__wrapper svelte-58hfjf");
27
+ n = p("div"), t = p("div"), w(e.$$.fragment), c(t, "class", "audio-tag svelte-58hfjf"), _(t, "background-color", o[5]), _(t, "color", o[4]), c(n, "class", "audio-tag__wrapper svelte-58hfjf");
31
28
  },
32
- m(n, a) {
33
- $(n, r, a), v(r, t), j(e, t, null), i = !0;
29
+ m(r, a) {
30
+ v(r, n, a), b(n, t), j(e, t, null), i = !0;
34
31
  },
35
- p(n, a) {
36
- const s = {};
37
- a & 1 && (s.enable = n[0].state.visible), a & 1 && (s.url = n[0].data.audioUrl), a & 1 && (s.hooksInfo = { tag: n[0] }), a & 8260 && (s.$$scope = { dirty: a, ctx: n }), e.$set(s), a & 2 && b(t, "background-color", n[1]), a & 32 && b(t, "color", n[5]);
32
+ p(r, a) {
33
+ const l = {};
34
+ a & 1 && (l.enable = r[0].state.visible), a & 1 && (l.url = r[0].data.audioUrl), a & 1 && (l.hooksInfo = { tag: r[0] }), a & 8264 && (l.$$scope = { dirty: a, ctx: r }), e.$set(l), a & 32 && _(t, "background-color", r[5]), a & 16 && _(t, "color", r[4]);
38
35
  },
39
- i(n) {
40
- i || (d(e.$$.fragment, n), i = !0);
36
+ i(r) {
37
+ i || (m(e.$$.fragment, r), i = !0);
41
38
  },
42
- o(n) {
43
- c(e.$$.fragment, n), i = !1;
39
+ o(r) {
40
+ g(e.$$.fragment, r), i = !1;
44
41
  },
45
- d(n) {
46
- n && w(r), y(e);
42
+ d(r) {
43
+ r && $(n), k(e);
47
44
  }
48
45
  };
49
46
  }
50
- function V(o) {
51
- let r;
47
+ function L(o) {
48
+ let n;
52
49
  return {
53
50
  c() {
54
- r = G(o[6]);
51
+ n = E(o[6]);
55
52
  },
56
53
  m(t, e) {
57
- $(t, r, e);
54
+ v(t, n, e);
58
55
  },
59
56
  p(t, e) {
60
- e & 64 && H(r, t[6]);
57
+ e & 64 && F(n, t[6]);
61
58
  },
62
59
  d(t) {
63
- t && w(r);
60
+ t && $(n);
64
61
  }
65
62
  };
66
63
  }
67
- function X(o) {
68
- let r, t, e, i, n, a, s;
69
- return e = new J({ props: { playing: o[2] } }), a = new K({
64
+ function O(o) {
65
+ let n, t, e, i, r, a, l;
66
+ return e = new G({ props: { playing: o[3] } }), a = new H({
70
67
  props: {
71
68
  maxWidth: 72,
72
- $$slots: { default: [V] },
69
+ $$slots: { default: [L] },
73
70
  $$scope: { ctx: o }
74
71
  }
75
72
  }), {
76
73
  c() {
77
- r = p("div"), t = p("div"), k(e.$$.fragment), i = W(), n = p("div"), k(a.$$.fragment), m(t, "class", "audio-icon__wrapper svelte-58hfjf"), m(n, "class", "text svelte-58hfjf"), m(r, "class", "audio__inner svelte-58hfjf");
74
+ n = p("div"), t = p("div"), w(e.$$.fragment), i = W(), r = p("div"), w(a.$$.fragment), c(t, "class", "audio-icon__wrapper svelte-58hfjf"), c(r, "class", "text svelte-58hfjf"), c(n, "class", "audio__inner svelte-58hfjf");
78
75
  },
79
- m(l, u) {
80
- $(l, r, u), v(r, t), j(e, t, null), v(r, i), v(r, n), j(a, n, null), s = !0;
76
+ m(s, u) {
77
+ v(s, n, u), b(n, t), j(e, t, null), b(n, i), b(n, r), j(a, r, null), l = !0;
81
78
  },
82
- p(l, u) {
83
- const g = {};
84
- u & 4 && (g.playing = l[2]), e.$set(g);
79
+ p(s, u) {
80
+ const d = {};
81
+ u & 8 && (d.playing = s[3]), e.$set(d);
85
82
  const h = {};
86
- u & 8256 && (h.$$scope = { dirty: u, ctx: l }), a.$set(h);
83
+ u & 8256 && (h.$$scope = { dirty: u, ctx: s }), a.$set(h);
87
84
  },
88
- i(l) {
89
- s || (d(e.$$.fragment, l), d(a.$$.fragment, l), s = !0);
85
+ i(s) {
86
+ l || (m(e.$$.fragment, s), m(a.$$.fragment, s), l = !0);
90
87
  },
91
- o(l) {
92
- c(e.$$.fragment, l), c(a.$$.fragment, l), s = !1;
88
+ o(s) {
89
+ g(e.$$.fragment, s), g(a.$$.fragment, s), l = !1;
93
90
  },
94
- d(l) {
95
- l && w(r), y(e), y(a);
91
+ d(s) {
92
+ s && $(n), k(e), k(a);
96
93
  }
97
94
  };
98
95
  }
99
- function Y(o) {
100
- let r, t, e = o[0].state && z(o);
96
+ function Q(o) {
97
+ let n, t, e = o[0].state && A(o);
101
98
  return {
102
99
  c() {
103
- e && e.c(), r = N();
100
+ e && e.c(), n = P();
104
101
  },
105
- m(i, n) {
106
- e && e.m(i, n), $(i, r, n), t = !0;
102
+ m(i, r) {
103
+ e && e.m(i, r), v(i, n, r), t = !0;
107
104
  },
108
- p(i, [n]) {
109
- i[0].state ? e ? (e.p(i, n), n & 1 && d(e, 1)) : (e = z(i), e.c(), d(e, 1), e.m(r.parentNode, r)) : e && (B(), c(e, 1, 1, () => {
105
+ p(i, [r]) {
106
+ i[0].state ? e ? (e.p(i, r), r & 1 && m(e, 1)) : (e = A(i), e.c(), m(e, 1), e.m(n.parentNode, n)) : e && (B(), g(e, 1, 1, () => {
110
107
  e = null;
111
- }), P());
108
+ }), S());
112
109
  },
113
110
  i(i) {
114
- t || (d(e), t = !0);
111
+ t || (m(e), t = !0);
115
112
  },
116
113
  o(i) {
117
- c(e), t = !1;
114
+ g(e), t = !1;
118
115
  },
119
116
  d(i) {
120
- e && e.d(i), i && w(r);
117
+ e && e.d(i), i && $(n);
121
118
  }
122
119
  };
123
120
  }
124
- function Z(o, r, t) {
125
- let e, i, n, { tag: a } = r;
126
- S();
127
- let s = !1, l = 0, u = 0;
128
- const g = () => {
129
- t(2, s = !0);
130
- }, h = () => {
131
- t(2, s = !1);
132
- }, A = (f) => {
133
- t(3, l = f.detail);
121
+ function V(o, n, t) {
122
+ let e, i, r, a, { tag: l } = n, s = 0, u = 0, d = !1;
123
+ const h = () => {
124
+ t(3, d = !0);
125
+ }, C = () => {
126
+ t(3, d = !1);
134
127
  }, I = (f) => {
135
- t(4, u = f.detail);
128
+ t(1, s = f.detail);
129
+ }, T = (f) => {
130
+ t(2, u = f.detail);
136
131
  };
137
132
  function R(f) {
138
- F.call(this, o, f);
133
+ D.call(this, o, f);
139
134
  }
140
135
  return o.$$set = (f) => {
141
- "tag" in f && t(0, a = f.tag);
136
+ "tag" in f && t(0, l = f.tag);
142
137
  }, o.$$.update = () => {
143
- var f, C;
144
- o.$$.dirty & 1 && t(6, e = (C = (f = a.data.title) != null ? f : a.data.text) != null ? C : ""), o.$$.dirty & 1 && t(1, i = (() => {
145
- var _;
146
- return a.data.backgroundColor === "dark" ? "rgba(0, 0, 0, 0.3)" : a.data.backgroundColor === "light" ? "rgba(255, 255, 255, 0.3)" : (_ = a.data.backgroundColor) != null ? _ : "rgba(0, 0, 0, 0.3)";
147
- })()), o.$$.dirty & 2 && t(5, n = (() => {
148
- const { r: _, g: T, b: U } = O(i);
149
- return (_ * 299 + T * 587 + U * 114) / 1e3 >= 128 ? "rgba(0, 0, 0, 0.6)" : "white";
138
+ var f, y, z;
139
+ o.$$.dirty & 1 && t(6, e = (y = (f = l.data.title) != null ? f : l.data.text) != null ? y : ""), o.$$.dirty & 1 && t(7, i = (z = l.data.theme) != null ? z : "light"), o.$$.dirty & 128 && t(5, r = (() => {
140
+ if (i === "dark")
141
+ return "rgba(0, 0, 0, 0.3)";
142
+ if (i === "light")
143
+ return "rgba(255, 255, 255, 0.3)";
144
+ })()), o.$$.dirty & 128 && t(4, a = (() => {
145
+ if (i === "dark")
146
+ return "white";
147
+ if (i === "light")
148
+ return "rgba(0, 0, 0, 0.6)";
150
149
  })());
151
150
  }, [
152
- a,
153
- i,
154
- s,
155
151
  l,
152
+ s,
156
153
  u,
157
- n,
154
+ d,
155
+ a,
156
+ r,
158
157
  e,
159
- g,
158
+ i,
160
159
  h,
161
- A,
160
+ C,
162
161
  I,
162
+ T,
163
163
  R
164
164
  ];
165
165
  }
166
- class me extends q {
167
- constructor(r) {
168
- super(), D(this, r, Z, Y, E, { tag: 0 }, Q);
166
+ class ae extends U {
167
+ constructor(n) {
168
+ super(), q(this, n, V, Q, M, { tag: 0 }, K);
169
169
  }
170
170
  }
171
171
  export {
172
- me as default
172
+ ae as default
173
173
  };
@@ -1,4 +1,4 @@
1
- import { SvelteComponent as g, init as $, safe_not_equal as k, empty as b, insert as y, transition_out as m, check_outros as h, transition_in as l, detach as A, group_outros as R, create_component as s, mount_component as _, destroy_component as d } from "../../../../vendor/svelte/internal/index.js";
1
+ import { SvelteComponent as g, init as $, safe_not_equal as k, empty as b, insert as y, transition_out as l, check_outros as h, transition_in as m, detach as A, group_outros as R, create_component as s, mount_component as _, destroy_component as d } from "../../../../vendor/svelte/internal/index.js";
2
2
  import T from "./AudioTag.js";
3
3
  import w from "./AudioPlaneTag.js";
4
4
  import "../../../../vendor/svelte/easing/index.js";
@@ -23,7 +23,6 @@ import "../../../utils/doUtil.js";
23
23
  import "../../Common/Icon/audioIcon.js";
24
24
  import "../../../utils/px2rem.js";
25
25
  import "../../Common/Text/MText.js";
26
- import "../../../utils/color.js";
27
26
  function q(n) {
28
27
  let t, o;
29
28
  return t = new w({ props: { tag: n[0] } }), t.$on("audioRef", n[2]), {
@@ -38,10 +37,10 @@ function q(n) {
38
37
  r & 1 && (a.tag = e[0]), t.$set(a);
39
38
  },
40
39
  i(e) {
41
- o || (l(t.$$.fragment, e), o = !0);
40
+ o || (m(t.$$.fragment, e), o = !0);
42
41
  },
43
42
  o(e) {
44
- m(t.$$.fragment, e), o = !1;
43
+ l(t.$$.fragment, e), o = !1;
45
44
  },
46
45
  d(e) {
47
46
  d(t, e);
@@ -62,10 +61,10 @@ function v(n) {
62
61
  r & 1 && (a.tag = e[0]), t.$set(a);
63
62
  },
64
63
  i(e) {
65
- o || (l(t.$$.fragment, e), o = !0);
64
+ o || (m(t.$$.fragment, e), o = !0);
66
65
  },
67
66
  o(e) {
68
- m(t.$$.fragment, e), o = !1;
67
+ l(t.$$.fragment, e), o = !1;
69
68
  },
70
69
  d(e) {
71
70
  d(t, e);
@@ -87,15 +86,15 @@ function C(n) {
87
86
  },
88
87
  p(i, [f]) {
89
88
  let c = t;
90
- t = u(i), t === c ? ~t && p[t].p(i, f) : (o && (R(), m(p[c], 1, 1, () => {
89
+ t = u(i), t === c ? ~t && p[t].p(i, f) : (o && (R(), l(p[c], 1, 1, () => {
91
90
  p[c] = null;
92
- }), h()), ~t ? (o = p[t], o ? o.p(i, f) : (o = p[t] = a[t](i), o.c()), l(o, 1), o.m(e.parentNode, e)) : o = null);
91
+ }), h()), ~t ? (o = p[t], o ? o.p(i, f) : (o = p[t] = a[t](i), o.c()), m(o, 1), o.m(e.parentNode, e)) : o = null);
93
92
  },
94
93
  i(i) {
95
- r || (l(o), r = !0);
94
+ r || (m(o), r = !0);
96
95
  },
97
96
  o(i) {
98
- m(o), r = !1;
97
+ l(o), r = !1;
99
98
  },
100
99
  d(i) {
101
100
  ~t && p[t].d(i), i && A(e);
@@ -114,11 +113,11 @@ function N(n, t, o) {
114
113
  n.$$.dirty & 1 && o(1, e = (u = r.data.appearance) != null ? u : "line");
115
114
  }, [r, e, p];
116
115
  }
117
- class ot extends g {
116
+ class et extends g {
118
117
  constructor(t) {
119
118
  super(), $(this, t, N, C, k, { tag: 0 });
120
119
  }
121
120
  }
122
121
  export {
123
- ot as default
122
+ et as default
124
123
  };