@realsee/dnalogel 2.6.7-dev.5 → 2.6.7-dev.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (314) hide show
  1. package/dist/PanoTagPlugin/typings/tag/TagData.d.ts +4 -4
  2. package/dist/index.cjs.js +55 -56
  3. package/dist/index.js +5573 -6431
  4. package/dist/index.umd.js +48 -49
  5. package/docs/classes/CSS3DRender.html +31 -31
  6. package/docs/classes/CruisePluginController.html +24 -24
  7. package/docs/classes/Magnifier.html +20 -20
  8. package/docs/classes/ModelRoomLabelController.html +11 -11
  9. package/docs/classes/Object3DHelperController.html +24 -24
  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 +46 -46
  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 +18 -18
  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/TopviewFloorplanPlugin.html +5 -5
  57. package/docs/functions/Util.getCoordsFromClient.html +5 -5
  58. package/docs/functions/Util.getCoordsFromElement.html +5 -5
  59. package/docs/functions/Util.getFrameTime.html +5 -5
  60. package/docs/functions/Util.getIntersectFromRelativePosition.html +5 -5
  61. package/docs/functions/Util.getRaycasterFromFivePointer.html +5 -5
  62. package/docs/functions/Util.isNil.html +5 -5
  63. package/docs/functions/Util.nextFrame.html +5 -5
  64. package/docs/functions/Util.notNil.html +5 -5
  65. package/docs/functions/Util.requestAnimationFrameInterval.html +5 -5
  66. package/docs/functions/Util.tweenProgress.html +5 -5
  67. package/docs/functions/pluginFlag.html +5 -5
  68. package/docs/index.html +4 -4
  69. package/docs/interfaces/AddTagConfig.html +6 -6
  70. package/docs/interfaces/CSS3DRenderPluginEventMap.html +11 -11
  71. package/docs/interfaces/CSS3DRenderPluginState.html +8 -8
  72. package/docs/interfaces/CameraMovementPluginExportType.html +7 -7
  73. package/docs/interfaces/EventMap.html +15 -15
  74. package/docs/interfaces/FloorplanBounding.html +8 -8
  75. package/docs/interfaces/FloorplanData.html +10 -10
  76. package/docs/interfaces/FloorplanEntrance.html +11 -11
  77. package/docs/interfaces/FloorplanExtraObject.html +10 -10
  78. package/docs/interfaces/FloorplanExtraObject3D.html +8 -8
  79. package/docs/interfaces/FloorplanFloorData.html +9 -9
  80. package/docs/interfaces/FloorplanImagePosition.html +7 -7
  81. package/docs/interfaces/FloorplanObserver.html +9 -9
  82. package/docs/interfaces/FloorplanOutlineItem.html +9 -9
  83. package/docs/interfaces/FloorplanPosition.html +7 -7
  84. package/docs/interfaces/FloorplanRoomItem.html +13 -13
  85. package/docs/interfaces/FloorplanRoomLabelItem.html +7 -7
  86. package/docs/interfaces/FloorplanServerBounding.html +8 -8
  87. package/docs/interfaces/FloorplanServerComputedData.html +10 -10
  88. package/docs/interfaces/FloorplanServerData.html +7 -7
  89. package/docs/interfaces/FloorplanServerDoorItem.html +10 -10
  90. package/docs/interfaces/FloorplanServerDoorPosition.html +8 -8
  91. package/docs/interfaces/FloorplanServerEntrance.html +11 -11
  92. package/docs/interfaces/FloorplanServerFloorData.html +9 -9
  93. package/docs/interfaces/FloorplanServerImagePosition.html +7 -7
  94. package/docs/interfaces/FloorplanServerObserver.html +9 -9
  95. package/docs/interfaces/FloorplanServerOutlineItem.html +9 -9
  96. package/docs/interfaces/FloorplanServerPosition.html +7 -7
  97. package/docs/interfaces/FloorplanServerRoomItem.html +14 -14
  98. package/docs/interfaces/FloorplanServerRoomLabelItem.html +7 -7
  99. package/docs/interfaces/HelperOffset.html +8 -8
  100. package/docs/interfaces/ItemLabelPluginData.html +6 -6
  101. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +11 -11
  102. package/docs/interfaces/ItemLabelPluginParametersType.html +9 -9
  103. package/docs/interfaces/MinMax.html +7 -7
  104. package/docs/interfaces/ModelChassisCompassPluginData.html +7 -7
  105. package/docs/interfaces/ModelChassisCompassPluginExportType.html +8 -8
  106. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +7 -7
  107. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +8 -8
  108. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +8 -8
  109. package/docs/interfaces/ModelItemLabelPluginData.html +6 -6
  110. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +11 -11
  111. package/docs/interfaces/ModelItemLabelPluginParametersType.html +7 -7
  112. package/docs/interfaces/ModelRoomLabelPluginData.html +6 -6
  113. package/docs/interfaces/ModelTVVideoPluginData.html +9 -9
  114. package/docs/interfaces/ModelTVVideoPluginExportType.html +8 -8
  115. package/docs/interfaces/ModelTVVideoPluginParameterType.html +6 -6
  116. package/docs/interfaces/ModelViewPluginExportType.html +11 -11
  117. package/docs/interfaces/Object3DHelperState.html +8 -8
  118. package/docs/interfaces/ObjectHelperControllers.html +9 -9
  119. package/docs/interfaces/PaintBrushAction.html +12 -12
  120. package/docs/interfaces/PaintBrushConfigs.html +12 -12
  121. package/docs/interfaces/PaintBrushState.html +10 -10
  122. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +10 -10
  123. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +5 -5
  124. package/docs/interfaces/PanoMeasureParameterType.html +12 -12
  125. package/docs/interfaces/PanoMeasurePluginLineJson.html +8 -8
  126. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +7 -7
  127. package/docs/interfaces/PanoMeasurePluginPointJson.html +7 -7
  128. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +8 -8
  129. package/docs/interfaces/PanoRulerPluginExportType.html +10 -10
  130. package/docs/interfaces/PanoRulerPluginOptions.html +7 -7
  131. package/docs/interfaces/PanoRulerPluginParameterType.html +8 -8
  132. package/docs/interfaces/PanoRulerProPluginExportType.html +9 -9
  133. package/docs/interfaces/PanoRulerProPluginOptions.html +7 -7
  134. package/docs/interfaces/PanoRulerProPluginParameterType.html +7 -7
  135. package/docs/interfaces/PanoRulerProPluginState.html +8 -8
  136. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +5 -5
  137. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +5 -5
  138. package/docs/interfaces/PanoSpatialTagPluginData.html +11 -11
  139. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +10 -10
  140. package/docs/interfaces/PanoSpatialTagPluginExportType.html +13 -13
  141. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +10 -10
  142. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +13 -13
  143. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +11 -11
  144. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +10 -10
  145. package/docs/interfaces/Point.html +8 -8
  146. package/docs/interfaces/Room.html +9 -9
  147. package/docs/interfaces/RoomInfo.html +7 -7
  148. package/docs/interfaces/RoomLabel.html +14 -14
  149. package/docs/interfaces/RoomRules.html +5 -5
  150. package/docs/interfaces/Rooms.html +5 -5
  151. package/docs/interfaces/Scissor.html +9 -9
  152. package/docs/interfaces/State.html +8 -8
  153. package/docs/interfaces/TagCache.html +12 -12
  154. package/docs/interfaces/TagConfig.html +10 -10
  155. package/docs/interfaces/TagIconUrl.html +9 -9
  156. package/docs/interfaces/Tags.html +9 -9
  157. package/docs/interfaces/TemporaryState.html +6 -6
  158. package/docs/interfaces/Util.MagnifierParameter.html +11 -11
  159. package/docs/interfaces/Util.MouseGroupParameter.html +8 -8
  160. package/docs/modules/Util.html +5 -5
  161. package/docs/modules.html +4 -4
  162. package/docs/types/ArrayPosition.html +5 -5
  163. package/docs/types/AudioAppearance.html +5 -5
  164. package/docs/types/AudioTagTypeConfigKey.html +5 -5
  165. package/docs/types/CSS3DRenderExportType.html +5 -5
  166. package/docs/types/CSS3DRenderPluginExportType.html +5 -5
  167. package/docs/types/CSS3DRenderPluginParameterType.html +5 -5
  168. package/docs/types/ClassFunctionParameters.html +5 -5
  169. package/docs/types/Color.html +5 -5
  170. package/docs/types/ContentTypeConfigKey.html +5 -5
  171. package/docs/types/ContentTypeConfigKeySplit.html +5 -5
  172. package/docs/types/ContentTypeMap.html +5 -5
  173. package/docs/types/Create3DDomContainerReturnType.html +5 -5
  174. package/docs/types/Create3DElementReturnType.html +5 -5
  175. package/docs/types/CruisePluginExportType.html +5 -5
  176. package/docs/types/Direction-1.html +5 -5
  177. package/docs/types/Direction4.html +5 -5
  178. package/docs/types/FloorplanRuleLabels.html +5 -5
  179. package/docs/types/FloorplanServerRuleLabels.html +5 -5
  180. package/docs/types/GuideLinePluginExportType.html +5 -5
  181. package/docs/types/HelperEventMap.html +5 -5
  182. package/docs/types/LoadTagConfig.html +5 -5
  183. package/docs/types/MapviewFloorplanPluginParameterType.html +5 -5
  184. package/docs/types/MapviewFloorplanPluginReturnType.html +5 -5
  185. package/docs/types/MediaData.html +5 -5
  186. package/docs/types/MediaStore.html +5 -5
  187. package/docs/types/ModelElement.html +5 -5
  188. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +5 -5
  189. package/docs/types/ModelFloorplanPluginParameterType.html +5 -5
  190. package/docs/types/ModelFloorplanPluginReturnType.html +5 -5
  191. package/docs/types/ModelRoomLabelPluginParameters.html +5 -5
  192. package/docs/types/ModelRoomLabelPluginReturnType.html +5 -5
  193. package/docs/types/MoveArgs.html +5 -5
  194. package/docs/types/MoveOpts.html +5 -5
  195. package/docs/types/Object3DHelperEventMap.html +5 -5
  196. package/docs/types/ObjectFit.html +5 -5
  197. package/docs/types/PaintBrushEventMap.html +5 -5
  198. package/docs/types/PanoCompassPluginData.html +5 -5
  199. package/docs/types/PanoCompassPluginExportType.html +5 -5
  200. package/docs/types/PanoCompassPluginParameterType.html +5 -5
  201. package/docs/types/PanoFloorplanRadarPluginParameterType.html +5 -5
  202. package/docs/types/PanoFloorplanRadarPluginReturnType.html +5 -5
  203. package/docs/types/PanoIndex.html +5 -5
  204. package/docs/types/PanoMeasurePluginEvent.html +5 -5
  205. package/docs/types/PanoMeasureReturnType.html +5 -5
  206. package/docs/types/PanoSpatialTagPluginId.html +5 -5
  207. package/docs/types/PanoTagPluginExportInterface.html +5 -5
  208. package/docs/types/PanoTagPluginParamsInterface.html +5 -5
  209. package/docs/types/PlaneTag.html +5 -5
  210. package/docs/types/PlaneTagElement.html +5 -5
  211. package/docs/types/Point2DElement.html +5 -5
  212. package/docs/types/Point2DTag.html +5 -5
  213. package/docs/types/Point3DElement.html +5 -5
  214. package/docs/types/Point3DTag.html +5 -5
  215. package/docs/types/PointTag.html +5 -5
  216. package/docs/types/PointTagElement.html +5 -5
  217. package/docs/types/Position.html +5 -5
  218. package/docs/types/RotateArgs.html +5 -5
  219. package/docs/types/RotateOpts.html +5 -5
  220. package/docs/types/RuleLabelsKey.html +5 -5
  221. package/docs/types/RuleLabelsValue.html +5 -5
  222. package/docs/types/StickType.html +5 -5
  223. package/docs/types/Tag.html +5 -5
  224. package/docs/types/Tag2D.html +5 -5
  225. package/docs/types/Tag3D.html +5 -5
  226. package/docs/types/TagContentType.html +5 -5
  227. package/docs/types/TagDimensionType.html +5 -5
  228. package/docs/types/TagElement.html +5 -5
  229. package/docs/types/TagEvents.html +5 -5
  230. package/docs/types/TagGLTFObject.html +5 -5
  231. package/docs/types/TagHooks.html +5 -5
  232. package/docs/types/TagIconSize.html +5 -5
  233. package/docs/types/TagId.html +5 -5
  234. package/docs/types/TagPointType.html +5 -5
  235. package/docs/types/TopviewFloorplanPluginParameterType.html +5 -5
  236. package/docs/types/TopviewFloorplanPluginReturnType.html +5 -5
  237. package/docs/types/WorkCode.html +5 -5
  238. package/docs/variables/FLOOR_TYPE_MAP.html +5 -5
  239. package/docs/variables/PLUGIN.html +5 -5
  240. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +5 -5
  241. package/docs/variables/ROOM_TYPE_MAP.html +5 -5
  242. package/docs/variables/VERSION.html +5 -5
  243. package/docs/variables/itemLabelPluginServerParams.html +5 -5
  244. package/docs/variables/modelItemLabelPluginServerParams.html +5 -5
  245. package/docs/variables/modelRoomLabelPluginServerParams.html +5 -5
  246. package/libs/CruisePlugin/Controller.js +26 -26
  247. package/libs/GuideLinePlugin/Controller.js +43 -43
  248. package/libs/PanoTagPlugin/Components/Common/Media.js +299 -254
  249. package/libs/PanoTagPlugin/Components/Common/MediaItem.js +122 -132
  250. package/libs/PanoTagPlugin/Components/Tag/ImageTextTag.js +67 -84
  251. package/libs/PanoTagPlugin/Components/Tag/MediaPlane.js +64 -80
  252. package/libs/PanoTagPlugin/Components/Tag/index.js +62 -79
  253. package/libs/PanoTagPlugin/Components/TagContainer.js +75 -92
  254. package/libs/PanoTagPlugin/Components/TagItem.js +47 -64
  255. package/libs/PanoTagPlugin/controller/TagComputer.js +49 -48
  256. package/libs/PanoTagPlugin/controller/index.js +37 -54
  257. package/libs/PanoTagPlugin/index.js +18 -35
  258. package/libs/PanoTagPlugin/typings/tag/TagData.d.ts +4 -4
  259. package/libs/index.js +107 -124
  260. package/libs/shared-utils/Object3DHelper/Helper/RotateHelper.js +12 -12
  261. package/libs/vendor/svelte/internal/index.js +162 -176
  262. package/libs/vendor/swiper/components-shared/get-changed-params.js +29 -1
  263. package/libs/vendor/swiper/components-shared/get-params.js +23 -1
  264. package/libs/vendor/swiper/components-shared/mount-swiper.js +14 -1
  265. package/libs/vendor/swiper/components-shared/params-list.js +120 -1
  266. package/libs/vendor/swiper/components-shared/update-swiper.js +36 -1
  267. package/libs/vendor/swiper/components-shared/utils.js +28 -5
  268. package/libs/vendor/swiper/svelte/swiper.js +253 -2
  269. package/package.json +1 -3
  270. package/libs/PanoTagPlugin/mocks/v1/mock-80P6A03eQRQKY3oqLj.d.ts +0 -4
  271. package/libs/PanoTagPlugin/mocks/v1/mock-80P6A03eQRQKY3oqLj.js +0 -6
  272. package/libs/PanoTagPlugin/mocks/v1/mock-80QG2vMPboNv5DWrom.d.ts +0 -93
  273. package/libs/PanoTagPlugin/mocks/v1/mock-80QG2vMPboNv5DWrom.js +0 -5622
  274. package/libs/PanoTagPlugin/mocks/v1/mock-test3-realsee-cn-4zr0A5.js +0 -1325
  275. package/libs/PanoTagPlugin/mocks/v1/mock1.d.ts +0 -173
  276. package/libs/PanoTagPlugin/mocks/v1/mock1.js +0 -122
  277. package/libs/PanoTagPlugin/mocks/v1/mock2.d.ts +0 -233
  278. package/libs/PanoTagPlugin/mocks/v1/mock2.js +0 -296
  279. package/libs/PanoTagPlugin/mocks/v1/mock3.d.ts +0 -22
  280. package/libs/PanoTagPlugin/mocks/v1/mock3.js +0 -32
  281. package/libs/PanoTagPlugin/mocks/v1/mock4.d.ts +0 -56
  282. package/libs/PanoTagPlugin/mocks/v1/mock4.js +0 -60
  283. package/libs/PanoTagPlugin/mocks/v1/mock5.d.ts +0 -13
  284. package/libs/PanoTagPlugin/mocks/v1/mock5.js +0 -17
  285. package/libs/PanoTagPlugin/mocks/v1/mock6.d.ts +0 -16
  286. package/libs/PanoTagPlugin/mocks/v1/mock6.js +0 -27
  287. package/libs/PanoTagPlugin/mocks/v1/mock7.d.ts +0 -22
  288. package/libs/PanoTagPlugin/mocks/v1/mock7.js +0 -228
  289. package/libs/vendor/svelte-carousel/src/actions/hoverable/event.js +0 -18
  290. package/libs/vendor/svelte-carousel/src/actions/hoverable/hoverable.js +0 -19
  291. package/libs/vendor/svelte-carousel/src/actions/hoverable/index.js +0 -1
  292. package/libs/vendor/svelte-carousel/src/actions/swipeable/event.js +0 -26
  293. package/libs/vendor/svelte-carousel/src/actions/swipeable/index.js +0 -1
  294. package/libs/vendor/svelte-carousel/src/actions/swipeable/swipeable.js +0 -51
  295. package/libs/vendor/svelte-carousel/src/actions/tappable/event.js +0 -18
  296. package/libs/vendor/svelte-carousel/src/actions/tappable/index.js +0 -1
  297. package/libs/vendor/svelte-carousel/src/actions/tappable/tappable.js +0 -36
  298. package/libs/vendor/svelte-carousel/src/components/Arrow/Arrow.js +0 -41
  299. package/libs/vendor/svelte-carousel/src/components/Carousel/Carousel.js +0 -522
  300. package/libs/vendor/svelte-carousel/src/components/Carousel/createCarousel.js +0 -255
  301. package/libs/vendor/svelte-carousel/src/components/Dot/Dot.js +0 -42
  302. package/libs/vendor/svelte-carousel/src/components/Dots/Dots.js +0 -104
  303. package/libs/vendor/svelte-carousel/src/components/Progress/Progress.js +0 -40
  304. package/libs/vendor/svelte-carousel/src/direction.js +0 -5
  305. package/libs/vendor/svelte-carousel/src/main.js +0 -1
  306. package/libs/vendor/svelte-carousel/src/units.js +0 -7
  307. package/libs/vendor/svelte-carousel/src/utils/ProgressManager.js +0 -52
  308. package/libs/vendor/svelte-carousel/src/utils/clones.js +0 -59
  309. package/libs/vendor/svelte-carousel/src/utils/event.js +0 -12
  310. package/libs/vendor/svelte-carousel/src/utils/interval.js +0 -4
  311. package/libs/vendor/svelte-carousel/src/utils/lazy.js +0 -45
  312. package/libs/vendor/svelte-carousel/src/utils/math.js +0 -11
  313. package/libs/vendor/svelte-carousel/src/utils/object.js +0 -13
  314. package/libs/vendor/svelte-carousel/src/utils/page.js +0 -154
@@ -1,357 +1,402 @@
1
- import { SvelteComponent as X, init as Y, safe_not_equal as Z, append_styles as x, empty as G, insert as b, transition_in as d, transition_out as c, check_outros as q, detach as k, getContext as $, onMount as ee, onDestroy as te, element as T, attr as E, toggle_class as j, append as ie, group_outros as S, add_render_callback as ne, create_in_transition as le, identity as B, create_out_transition as oe, binding_callbacks as H, assign as J, create_component as C, mount_component as w, get_spread_update as K, get_spread_object as O, destroy_component as D, destroy_each as re, bind as ae, space as ue, add_flush_callback as fe } from "../../../vendor/svelte/internal/index.js";
2
- import { Carousel as me } from "../../../vendor/svelte-carousel/src/components/Carousel/Carousel.js";
3
- import { fly as L } from "../../../vendor/svelte/transition/index.js";
4
- import "swiper";
5
- import { Swiper_slide as se } from "../../../vendor/swiper/svelte/swiper-slide.js";
1
+ var G = (l, t, n) => new Promise((e, i) => {
2
+ var o = (r) => {
3
+ try {
4
+ s(n.next(r));
5
+ } catch (m) {
6
+ i(m);
7
+ }
8
+ }, a = (r) => {
9
+ try {
10
+ s(n.throw(r));
11
+ } catch (m) {
12
+ i(m);
13
+ }
14
+ }, s = (r) => r.done ? e(r.value) : Promise.resolve(r.value).then(o, a);
15
+ s((n = n.apply(l, t)).next());
16
+ });
17
+ import { SvelteComponent as ae, init as le, safe_not_equal as oe, append_styles as re, empty as Y, insert as E, transition_in as _, transition_out as g, check_outros as N, detach as I, getContext as J, element as se, attr as ue, toggle_class as K, group_outros as O, add_render_callback as fe, create_in_transition as de, identity as Q, create_out_transition as ce, assign as Z, create_component as L, mount_component as S, get_spread_update as x, get_spread_object as $, destroy_component as D, destroy_each as me, space as _e } from "../../../vendor/svelte/internal/index.js";
18
+ import { fly as R } from "../../../vendor/svelte/transition/index.js";
19
+ import { Swiper_1 as pe } from "../../../vendor/swiper/svelte/swiper.js";
20
+ import { Swiper_slide as ge } from "../../../vendor/swiper/svelte/swiper-slide.js";
21
+ import { Autoplay as ye } from "swiper";
6
22
  import "swiper/css";
7
23
  import "swiper/css/autoplay";
8
24
  import "three";
9
- import { noTypecheck as de } from "../../utils/noTypecheck.js";
25
+ import { noTypecheck as M } from "../../utils/noTypecheck.js";
10
26
  import "@realsee/five/gltf-loader";
11
- import P from "./MediaItem.js";
12
- import "../../../vendor/svelte-carousel/src/components/Dots/Dots.js";
13
- import "../../../vendor/svelte-carousel/src/components/Dot/Dot.js";
14
- import "../../../vendor/svelte-carousel/src/components/Arrow/Arrow.js";
15
- import "../../../vendor/svelte-carousel/src/direction.js";
16
- import "../../../vendor/svelte-carousel/src/components/Progress/Progress.js";
17
- import "../../../vendor/svelte-carousel/src/actions/swipeable/swipeable.js";
18
- import "../../../vendor/svelte-carousel/src/actions/swipeable/event.js";
19
- import "../../../vendor/svelte-carousel/src/utils/event.js";
20
- import "../../../vendor/svelte-carousel/src/units.js";
21
- import "../../../vendor/svelte-carousel/src/actions/hoverable/hoverable.js";
22
- import "../../../vendor/svelte-carousel/src/actions/hoverable/event.js";
23
- import "../../../vendor/svelte-carousel/src/actions/tappable/tappable.js";
24
- import "../../../vendor/svelte-carousel/src/utils/math.js";
25
- import "../../../vendor/svelte-carousel/src/actions/tappable/event.js";
26
- import "../../../vendor/svelte-carousel/src/utils/page.js";
27
- import "../../../vendor/svelte-carousel/src/utils/clones.js";
28
- import "../../../vendor/svelte-carousel/src/utils/object.js";
29
- import "../../../vendor/svelte-carousel/src/components/Carousel/createCarousel.js";
30
- import "simply-reactive";
31
- import "../../../vendor/svelte-carousel/src/utils/lazy.js";
32
- import "../../../vendor/svelte-carousel/src/utils/ProgressManager.js";
33
- import "../../../vendor/svelte-carousel/src/utils/interval.js";
27
+ import ee from "./MediaItem.js";
28
+ import { notNil as he } from "../../../shared-utils/isNil.js";
34
29
  import "../../../vendor/svelte/easing/index.js";
30
+ import "../../../vendor/swiper/components-shared/get-params.js";
35
31
  import "../../../vendor/swiper/components-shared/utils.js";
32
+ import "../../../vendor/swiper/components-shared/params-list.js";
33
+ import "../../../vendor/swiper/components-shared/mount-swiper.js";
34
+ import "../../../vendor/swiper/components-shared/get-changed-params.js";
35
+ import "../../../vendor/swiper/components-shared/update-swiper.js";
36
36
  import "../../Assets/Icon.js";
37
- function ce(n) {
38
- x(n, "svelte-1qmy6tz", ".media-list-wrapper.svelte-1qmy6tz{width:100%;height:100%;position:relative;overflow:hidden;border-radius:0.125rem}.media-list.svelte-1qmy6tz{position:relative;left:50%;top:50%;transform:translate(-50%, -50%)}");
37
+ function be(l) {
38
+ re(l, "svelte-ai0lv9", ".media.svelte-ai0lv9{width:100%;height:100%;position:relative;overflow:hidden;border-radius:0.125rem}");
39
39
  }
40
- function V(n, t, l) {
41
- const i = n.slice();
42
- return i[21] = t[l], i;
40
+ function U(l, t, n) {
41
+ const e = l.slice();
42
+ return e[22] = t[n], e;
43
43
  }
44
- function A(n) {
45
- let t, l, i, e, r, a, u;
46
- const o = [pe, _e], m = [];
47
- function p(s, _) {
48
- return s[11] ? 0 : 1;
44
+ function W(l) {
45
+ let t, n, e, i, o, a;
46
+ const s = [ke, ve], r = [];
47
+ function m(d, y) {
48
+ return d[12] ? 0 : 1;
49
49
  }
50
- return i = p(n), e = m[i] = o[i](n), {
50
+ return n = m(l), e = r[n] = s[n](l), {
51
51
  c() {
52
- t = T("div"), l = T("div"), e.c(), E(l, "class", "media-list svelte-1qmy6tz"), E(t, "class", "media-list-wrapper svelte-1qmy6tz"), j(t, "unfolded", n[5]);
52
+ t = se("div"), e.c(), ue(t, "class", "media svelte-ai0lv9"), K(t, "unfolded", l[5]);
53
53
  },
54
- m(s, _) {
55
- b(s, t, _), ie(t, l), m[i].m(l, null), u = !0;
54
+ m(d, y) {
55
+ E(d, t, y), r[n].m(t, null), a = !0;
56
56
  },
57
- p(s, _) {
58
- n = s;
59
- let g = i;
60
- i = p(n), i === g ? m[i].p(n, _) : (S(), c(m[g], 1, 1, () => {
61
- m[g] = null;
62
- }), q(), e = m[i], e ? e.p(n, _) : (e = m[i] = o[i](n), e.c()), d(e, 1), e.m(l, null)), (!u || _ & 32) && j(t, "unfolded", n[5]);
57
+ p(d, y) {
58
+ l = d;
59
+ let b = n;
60
+ n = m(l), n === b ? r[n].p(l, y) : (O(), g(r[b], 1, 1, () => {
61
+ r[b] = null;
62
+ }), N(), e = r[n], e ? e.p(l, y) : (e = r[n] = s[n](l), e.c()), _(e, 1), e.m(t, null)), (!a || y & 32) && K(t, "unfolded", l[5]);
63
63
  },
64
- i(s) {
65
- u || (d(e), s && ne(() => {
66
- a && a.end(1), r = le(t, L, n[6] ? {
64
+ i(d) {
65
+ a || (_(e), d && fe(() => {
66
+ o && o.end(1), i = de(t, R, l[6] ? {
67
67
  y: 4,
68
- duration: n[4],
69
- delay: n[2],
70
- easing: B
71
- } : void 0), r.start();
72
- }), u = !0);
73
- },
74
- o(s) {
75
- c(e), r && r.invalidate(), s && (a = oe(t, L, n[6] ? {
68
+ duration: l[4],
69
+ delay: l[2],
70
+ easing: Q
71
+ } : void 0), i.start();
72
+ }), a = !0);
73
+ },
74
+ o(d) {
75
+ g(e), i && i.invalidate(), d && (o = ce(t, R, l[6] ? {
76
76
  y: 4,
77
- duration: n[4],
78
- delay: n[3],
79
- easing: B
80
- } : void 0)), u = !1;
77
+ duration: l[4],
78
+ delay: l[3],
79
+ easing: Q
80
+ } : void 0)), a = !1;
81
81
  },
82
- d(s) {
83
- s && k(t), m[i].d(), s && a && a.end();
82
+ d(d) {
83
+ d && I(t), r[n].d(), d && o && o.end();
84
84
  }
85
85
  };
86
86
  }
87
- function _e(n) {
88
- let t, l;
89
- const i = [
90
- { media: n[1][0] },
91
- n[7],
92
- { tag: n[0] }
87
+ function ve(l) {
88
+ let t, n;
89
+ const e = [
90
+ { media: l[1][0] },
91
+ l[7],
92
+ { tag: l[0] }
93
93
  ];
94
- let e = {};
95
- for (let r = 0; r < i.length; r += 1)
96
- e = J(e, i[r]);
97
- return t = new P({ props: e }), {
94
+ let i = {};
95
+ for (let o = 0; o < e.length; o += 1)
96
+ i = Z(i, e[o]);
97
+ return t = new ee({ props: i }), {
98
98
  c() {
99
- C(t.$$.fragment);
99
+ L(t.$$.fragment);
100
100
  },
101
- m(r, a) {
102
- w(t, r, a), l = !0;
101
+ m(o, a) {
102
+ S(t, o, a), n = !0;
103
103
  },
104
- p(r, a) {
105
- const u = a & 131 ? K(i, [
106
- a & 2 && { media: r[1][0] },
107
- a & 128 && O(r[7]),
108
- a & 1 && { tag: r[0] }
104
+ p(o, a) {
105
+ const s = a & 131 ? x(e, [
106
+ a & 2 && { media: o[1][0] },
107
+ a & 128 && $(o[7]),
108
+ a & 1 && { tag: o[0] }
109
109
  ]) : {};
110
- t.$set(u);
110
+ t.$set(s);
111
111
  },
112
- i(r) {
113
- l || (d(t.$$.fragment, r), l = !0);
112
+ i(o) {
113
+ n || (_(t.$$.fragment, o), n = !0);
114
114
  },
115
- o(r) {
116
- c(t.$$.fragment, r), l = !1;
115
+ o(o) {
116
+ g(t.$$.fragment, o), n = !1;
117
117
  },
118
- d(r) {
119
- D(t, r);
118
+ d(o) {
119
+ D(t, o);
120
120
  }
121
121
  };
122
122
  }
123
- function pe(n) {
124
- let t, l, i = {
125
- dots: !1,
126
- arrows: !1,
127
- $$slots: { default: [he] },
128
- $$scope: { ctx: n }
129
- };
130
- return t = new me({ props: i }), n[17](t), t.$on("pageChange", n[18]), {
123
+ function ke(l) {
124
+ let t, n;
125
+ return t = new pe({
126
+ props: {
127
+ style: "height: 100%",
128
+ modules: [ye],
129
+ spaceBetween: 30,
130
+ autoplay: l[13] ? M({
131
+ delay: 4e3,
132
+ stopOnLastSlide: !1,
133
+ disableOnInteraction: !1
134
+ }) : !1,
135
+ loop: !0,
136
+ $$slots: { default: [Ce] },
137
+ $$scope: { ctx: l }
138
+ }
139
+ }), t.$on("init", l[20]), t.$on("slideChange", l[21]), {
131
140
  c() {
132
- C(t.$$.fragment);
141
+ L(t.$$.fragment);
133
142
  },
134
- m(e, r) {
135
- w(t, e, r), l = !0;
143
+ m(e, i) {
144
+ S(t, e, i), n = !0;
136
145
  },
137
- p(e, r) {
138
- const a = {};
139
- r & 16778113 && (a.$$scope = { dirty: r, ctx: e }), t.$set(a);
146
+ p(e, i) {
147
+ const o = {};
148
+ i & 8192 && (o.autoplay = e[13] ? M({
149
+ delay: 4e3,
150
+ stopOnLastSlide: !1,
151
+ disableOnInteraction: !1
152
+ }) : !1), i & 33555585 && (o.$$scope = { dirty: i, ctx: e }), t.$set(o);
140
153
  },
141
154
  i(e) {
142
- l || (d(t.$$.fragment, e), l = !0);
155
+ n || (_(t.$$.fragment, e), n = !0);
143
156
  },
144
157
  o(e) {
145
- c(t.$$.fragment, e), l = !1;
158
+ g(t.$$.fragment, e), n = !1;
146
159
  },
147
160
  d(e) {
148
- n[17](null), D(t, e);
161
+ D(t, e);
149
162
  }
150
163
  };
151
164
  }
152
- function ge(n) {
153
- let t, l, i, e;
154
- const r = [
155
- n[7],
156
- { media: n[21] },
157
- { tag: n[0] }
165
+ function we(l) {
166
+ let t, n, e;
167
+ const i = [
168
+ l[7],
169
+ { media: l[22] },
170
+ { tag: l[0] }
158
171
  ];
159
- function a(o) {
160
- n[16](o);
161
- }
162
- let u = {};
163
- for (let o = 0; o < r.length; o += 1)
164
- u = J(u, r[o]);
165
- return n[8] !== void 0 && (u.paused = n[8]), t = new P({ props: u }), H.push(() => ae(t, "paused", a)), {
172
+ let o = {};
173
+ for (let a = 0; a < i.length; a += 1)
174
+ o = Z(o, i[a]);
175
+ return t = new ee({ props: o }), {
166
176
  c() {
167
- C(t.$$.fragment), i = ue();
177
+ L(t.$$.fragment), n = _e();
168
178
  },
169
- m(o, m) {
170
- w(t, o, m), b(o, i, m), e = !0;
179
+ m(a, s) {
180
+ S(t, a, s), E(a, n, s), e = !0;
171
181
  },
172
- p(o, m) {
173
- const p = m & 641 ? K(r, [
174
- m & 128 && O(o[7]),
175
- m & 512 && { media: o[21] },
176
- m & 1 && { tag: o[0] }
182
+ p(a, s) {
183
+ const r = s & 1153 ? x(i, [
184
+ s & 128 && $(a[7]),
185
+ s & 1024 && { media: a[22] },
186
+ s & 1 && { tag: a[0] }
177
187
  ]) : {};
178
- !l && m & 256 && (l = !0, p.paused = o[8], fe(() => l = !1)), t.$set(p);
188
+ t.$set(r);
179
189
  },
180
- i(o) {
181
- e || (d(t.$$.fragment, o), e = !0);
190
+ i(a) {
191
+ e || (_(t.$$.fragment, a), e = !0);
182
192
  },
183
- o(o) {
184
- c(t.$$.fragment, o), e = !1;
193
+ o(a) {
194
+ g(t.$$.fragment, a), e = !1;
185
195
  },
186
- d(o) {
187
- D(t, o), o && k(i);
196
+ d(a) {
197
+ D(t, a), a && I(n);
188
198
  }
189
199
  };
190
200
  }
191
- function F(n) {
192
- let t, l;
193
- return t = new n[12]({
201
+ function X(l) {
202
+ let t, n;
203
+ return t = new l[14]({
194
204
  props: {
195
- $$slots: { default: [ge] },
196
- $$scope: { ctx: n }
205
+ $$slots: { default: [we] },
206
+ $$scope: { ctx: l }
197
207
  }
198
208
  }), {
199
209
  c() {
200
- C(t.$$.fragment);
210
+ L(t.$$.fragment);
201
211
  },
202
- m(i, e) {
203
- w(t, i, e), l = !0;
212
+ m(e, i) {
213
+ S(t, e, i), n = !0;
204
214
  },
205
- p(i, e) {
206
- const r = {};
207
- e & 16778113 && (r.$$scope = { dirty: e, ctx: i }), t.$set(r);
215
+ p(e, i) {
216
+ const o = {};
217
+ i & 33555585 && (o.$$scope = { dirty: i, ctx: e }), t.$set(o);
208
218
  },
209
- i(i) {
210
- l || (d(t.$$.fragment, i), l = !0);
219
+ i(e) {
220
+ n || (_(t.$$.fragment, e), n = !0);
211
221
  },
212
- o(i) {
213
- c(t.$$.fragment, i), l = !1;
222
+ o(e) {
223
+ g(t.$$.fragment, e), n = !1;
214
224
  },
215
- d(i) {
216
- D(t, i);
225
+ d(e) {
226
+ D(t, e);
217
227
  }
218
228
  };
219
229
  }
220
- function he(n) {
221
- let t, l, i = n[9], e = [];
222
- for (let a = 0; a < i.length; a += 1)
223
- e[a] = F(V(n, i, a));
224
- const r = (a) => c(e[a], 1, 1, () => {
225
- e[a] = null;
230
+ function Ce(l) {
231
+ let t, n, e = l[10], i = [];
232
+ for (let a = 0; a < e.length; a += 1)
233
+ i[a] = X(U(l, e, a));
234
+ const o = (a) => g(i[a], 1, 1, () => {
235
+ i[a] = null;
226
236
  });
227
237
  return {
228
238
  c() {
229
- for (let a = 0; a < e.length; a += 1)
230
- e[a].c();
231
- t = G();
232
- },
233
- m(a, u) {
234
- for (let o = 0; o < e.length; o += 1)
235
- e[o].m(a, u);
236
- b(a, t, u), l = !0;
237
- },
238
- p(a, u) {
239
- if (u & 897) {
240
- i = a[9];
241
- let o;
242
- for (o = 0; o < i.length; o += 1) {
243
- const m = V(a, i, o);
244
- e[o] ? (e[o].p(m, u), d(e[o], 1)) : (e[o] = F(m), e[o].c(), d(e[o], 1), e[o].m(t.parentNode, t));
239
+ for (let a = 0; a < i.length; a += 1)
240
+ i[a].c();
241
+ t = Y();
242
+ },
243
+ m(a, s) {
244
+ for (let r = 0; r < i.length; r += 1)
245
+ i[r].m(a, s);
246
+ E(a, t, s), n = !0;
247
+ },
248
+ p(a, s) {
249
+ if (s & 1153) {
250
+ e = a[10];
251
+ let r;
252
+ for (r = 0; r < e.length; r += 1) {
253
+ const m = U(a, e, r);
254
+ i[r] ? (i[r].p(m, s), _(i[r], 1)) : (i[r] = X(m), i[r].c(), _(i[r], 1), i[r].m(t.parentNode, t));
245
255
  }
246
- for (S(), o = i.length; o < e.length; o += 1)
247
- r(o);
248
- q();
256
+ for (O(), r = e.length; r < i.length; r += 1)
257
+ o(r);
258
+ N();
249
259
  }
250
260
  },
251
261
  i(a) {
252
- if (!l) {
253
- for (let u = 0; u < i.length; u += 1)
254
- d(e[u]);
255
- l = !0;
262
+ if (!n) {
263
+ for (let s = 0; s < e.length; s += 1)
264
+ _(i[s]);
265
+ n = !0;
256
266
  }
257
267
  },
258
268
  o(a) {
259
- e = e.filter(Boolean);
260
- for (let u = 0; u < e.length; u += 1)
261
- c(e[u]);
262
- l = !1;
269
+ i = i.filter(Boolean);
270
+ for (let s = 0; s < i.length; s += 1)
271
+ g(i[s]);
272
+ n = !1;
263
273
  },
264
274
  d(a) {
265
- re(e, a), a && k(t);
275
+ me(i, a), a && I(t);
266
276
  }
267
277
  };
268
278
  }
269
- function ye(n) {
270
- let t, l, i = n[5] && A(n);
279
+ function Ee(l) {
280
+ let t, n, e = l[5] && W(l);
271
281
  return {
272
282
  c() {
273
- i && i.c(), t = G();
283
+ e && e.c(), t = Y();
274
284
  },
275
- m(e, r) {
276
- i && i.m(e, r), b(e, t, r), l = !0;
285
+ m(i, o) {
286
+ e && e.m(i, o), E(i, t, o), n = !0;
277
287
  },
278
- p(e, [r]) {
279
- e[5] ? i ? (i.p(e, r), r & 32 && d(i, 1)) : (i = A(e), i.c(), d(i, 1), i.m(t.parentNode, t)) : i && (S(), c(i, 1, 1, () => {
280
- i = null;
281
- }), q());
288
+ p(i, [o]) {
289
+ i[5] ? e ? (e.p(i, o), o & 32 && _(e, 1)) : (e = W(i), e.c(), _(e, 1), e.m(t.parentNode, t)) : e && (O(), g(e, 1, 1, () => {
290
+ e = null;
291
+ }), N());
282
292
  },
283
- i(e) {
284
- l || (d(i), l = !0);
293
+ i(i) {
294
+ n || (_(e), n = !0);
285
295
  },
286
- o(e) {
287
- c(i), l = !1;
296
+ o(i) {
297
+ g(e), n = !1;
288
298
  },
289
- d(e) {
290
- i && i.d(e), e && k(t);
299
+ d(i) {
300
+ e && e.d(i), i && I(t);
291
301
  }
292
302
  };
293
303
  }
294
- function be(n, t, l) {
295
- let i, e, r;
296
- const a = de(se);
297
- let { tag: u } = t, { mediaData: o } = t, { inDelay: m = 0 } = t, { outDelay: p = 0 } = t, { duration: s = 0 } = t, { unfolded: _ = !0 } = t, { animation: g = !0 } = t, { mediaItemConfig: z } = t, { enableCarousel: v = !0 } = t, { autoplayConfig: I = { autoplay: !0, autoplayVideo: !1 } } = t, y = !0, h, M = null;
298
- const N = $("mediaStore");
299
- ee(() => {
300
- M = setInterval(
301
- () => {
302
- r && (h == null || h.goToNext());
303
- },
304
- 3e3
305
- );
306
- }), te(() => {
307
- clearInterval(M);
308
- });
309
- function Q(f) {
310
- y = f, l(8, y);
304
+ function Ie(l, t, n) {
305
+ let e, i, o;
306
+ const a = M(ge);
307
+ let { tag: s } = t, { mediaData: r } = t, { inDelay: m = 0 } = t, { outDelay: d = 0 } = t, { duration: y = 0 } = t, { unfolded: b = !0 } = t, { animation: A = !0 } = t, { mediaItemConfig: H } = t, { enableCarousel: P = !0 } = t, { autoplayConfig: k = { autoplay: !0, autoplayVideo: !1 } } = t;
308
+ const w = J("mediaStore"), C = J("hooks");
309
+ let h;
310
+ function V(u) {
311
+ !e || !h || (w.set({ currentMediaElement: this }), C.emit("playStateChange", {
312
+ event: u,
313
+ state: "playing",
314
+ tag: s,
315
+ mediaInstance: this
316
+ }), h.autoplay.stop());
311
317
  }
312
- function R(f) {
313
- H[f ? "unshift" : "push"](() => {
314
- h = f, l(10, h);
315
- });
318
+ function q(u) {
319
+ !e || !h || (C.emit("playStateChange", {
320
+ event: u,
321
+ state: "paused",
322
+ tag: s,
323
+ mediaInstance: this
324
+ }), h.autoplay.running || h.autoplay.start());
316
325
  }
317
- const U = (f) => {
318
- const W = f.detail;
319
- e[W], N.set({ currentMediaElement: null });
320
- };
321
- return n.$$set = (f) => {
322
- "tag" in f && l(0, u = f.tag), "mediaData" in f && l(1, o = f.mediaData), "inDelay" in f && l(2, m = f.inDelay), "outDelay" in f && l(3, p = f.outDelay), "duration" in f && l(4, s = f.duration), "unfolded" in f && l(5, _ = f.unfolded), "animation" in f && l(6, g = f.animation), "mediaItemConfig" in f && l(7, z = f.mediaItemConfig), "enableCarousel" in f && l(14, v = f.enableCarousel), "autoplayConfig" in f && l(15, I = f.autoplayConfig);
323
- }, n.$$.update = () => {
324
- n.$$.dirty & 16386 && l(11, i = v && (o == null ? void 0 : o.length) > 1), n.$$.dirty & 2 && l(9, e = o), n.$$.dirty & 33536 && (r = e.length > 1 && I.autoplay && y);
326
+ let B = null;
327
+ const te = (u) => {
328
+ n(9, h = u.detail[0]);
329
+ }, ie = (u) => G(this, null, function* () {
330
+ var j, z, F;
331
+ if (!o || !k.autoplayVideo)
332
+ return;
333
+ const p = u.detail[0];
334
+ if (!p)
335
+ return;
336
+ const v = p.realIndex;
337
+ if (v === B)
338
+ return;
339
+ n(11, B = v);
340
+ const T = i[v];
341
+ if (!T || T.type !== "Video")
342
+ return;
343
+ p.autoplay.stop(), p.slides.map((c) => c.querySelector("video")).filter(he).forEach((c) => c.pause());
344
+ const f = (j = p.slides[p.activeIndex]) == null ? void 0 : j.querySelector("video");
345
+ if (f && (f.removeEventListener("play", V), f.removeEventListener("pause", q), f.addEventListener("play", V), f.addEventListener("pause", q)), f) {
346
+ f.addEventListener("click", () => f.pause());
347
+ const c = (F = (z = f.parentElement) == null ? void 0 : z.getElementsByClassName("video-play-button-container")) == null ? void 0 : F[0];
348
+ f.addEventListener("play", () => c == null ? void 0 : c.classList.remove("showPlayButton")), f.addEventListener("pause", () => c == null ? void 0 : c.classList.add("showPlayButton")), c && (f.paused ? c.classList.add("showPlayButton") : c.classList.remove("showPlayButton"), c.addEventListener("click", (ne) => {
349
+ f.muted = !1, f.play(), w.set({ currentMediaElement: f }), C.emit("playStateChange", {
350
+ event: ne,
351
+ state: "playing",
352
+ tag: s,
353
+ mediaInstance: f
354
+ });
355
+ }));
356
+ }
357
+ });
358
+ return l.$$set = (u) => {
359
+ "tag" in u && n(0, s = u.tag), "mediaData" in u && n(1, r = u.mediaData), "inDelay" in u && n(2, m = u.inDelay), "outDelay" in u && n(3, d = u.outDelay), "duration" in u && n(4, y = u.duration), "unfolded" in u && n(5, b = u.unfolded), "animation" in u && n(6, A = u.animation), "mediaItemConfig" in u && n(7, H = u.mediaItemConfig), "enableCarousel" in u && n(19, P = u.enableCarousel), "autoplayConfig" in u && n(8, k = u.autoplayConfig);
360
+ }, l.$$.update = () => {
361
+ l.$$.dirty & 524290 && n(12, e = P && (r == null ? void 0 : r.length) > 1), l.$$.dirty & 2 && n(10, i = r), l.$$.dirty & 1280 && n(13, o = i.length > 1 && k.autoplay), l.$$.dirty & 512 && h && h.slides.forEach((u) => {
362
+ const p = u.querySelector("video");
363
+ p && w.subscribe(({ currentMediaElement: v }) => {
364
+ v !== p && p.pause();
365
+ });
366
+ });
325
367
  }, [
326
- u,
327
- o,
328
- m,
329
- p,
330
368
  s,
331
- _,
332
- g,
333
- z,
369
+ r,
370
+ m,
371
+ d,
334
372
  y,
335
- e,
373
+ b,
374
+ A,
375
+ H,
376
+ k,
336
377
  h,
337
378
  i,
379
+ B,
380
+ e,
381
+ o,
338
382
  a,
339
- N,
340
- v,
341
- I,
342
- Q,
343
- R,
344
- U
383
+ w,
384
+ C,
385
+ V,
386
+ q,
387
+ P,
388
+ te,
389
+ ie
345
390
  ];
346
391
  }
347
- class it extends X {
392
+ class We extends ae {
348
393
  constructor(t) {
349
- super(), Y(
394
+ super(), le(
350
395
  this,
351
396
  t,
352
- be,
353
- ye,
354
- Z,
397
+ Ie,
398
+ Ee,
399
+ oe,
355
400
  {
356
401
  tag: 0,
357
402
  mediaData: 1,
@@ -361,13 +406,13 @@ class it extends X {
361
406
  unfolded: 5,
362
407
  animation: 6,
363
408
  mediaItemConfig: 7,
364
- enableCarousel: 14,
365
- autoplayConfig: 15
409
+ enableCarousel: 19,
410
+ autoplayConfig: 8
366
411
  },
367
- ce
412
+ be
368
413
  );
369
414
  }
370
415
  }
371
416
  export {
372
- it as default
417
+ We as default
373
418
  };