@realsee/dnalogel 2.2.3 → 2.2.5-alpha.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.
- package/dist/CSS3DRenderPlugin/CSS3DRender.d.ts +47 -34
- package/dist/CSS3DRenderPlugin/Controller.d.ts +5 -5
- package/dist/CSS3DRenderPlugin/index.d.ts +2 -1
- package/dist/CSS3DRenderPlugin/utils/createResizeObserver.d.ts +4 -0
- package/dist/CSS3DRenderPlugin/utils/even.d.ts +9 -0
- package/dist/CSS3DRenderPlugin/utils/generateBehindFiveElement.d.ts +2 -0
- package/dist/CSS3DRenderPlugin/utils/getAllCSS3DObject.d.ts +3 -0
- package/dist/CSS3DRenderPlugin/utils/index.d.ts +1 -1
- package/dist/CSS3DRenderPlugin/utils/three/CSS3DGroup.d.ts +12 -0
- package/dist/CSS3DRenderPlugin/utils/{CSS3DObjectPlus.d.ts → three/CSS3DObject.d.ts} +25 -11
- package/dist/CSS3DRenderPlugin/utils/three/CSS3DRenderer.d.ts +14 -0
- package/dist/CSS3DRenderPlugin/utils/three/CSS3DScene.d.ts +12 -0
- package/dist/CSS3DRenderPlugin/utils/three/OpacityMesh.d.ts +6 -0
- package/dist/CSS3DRenderPlugin/utils/waitFiveModelLoaded.d.ts +2 -0
- package/dist/Object3DHelperPlugin/Controller.d.ts +2 -0
- package/dist/index.cjs.js +63 -58
- package/dist/index.js +5827 -5094
- package/dist/index.umd.js +51 -46
- package/dist/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +2 -2
- package/docs/assets/highlight.css +7 -0
- package/docs/assets/search.js +1 -1
- package/docs/classes/CSS3DRender.html +533 -0
- package/docs/classes/CruisePluginController.html +24 -24
- package/docs/classes/Magnifier.html +16 -16
- package/docs/classes/ModelRoomLabelController.html +11 -11
- package/docs/classes/Object3DHelperController.html +24 -24
- package/docs/classes/PaintBrush.html +15 -15
- package/docs/classes/PanoTagPluginController.html +39 -39
- package/docs/classes/Util.BetterTween.html +8 -8
- package/docs/classes/Util.FivePointSelector.html +12 -12
- package/docs/classes/Util.Interval.html +12 -12
- package/docs/classes/Util.Magnifier.html +17 -17
- package/docs/classes/Util.PointDomHelper.html +11 -11
- package/docs/classes/Util.PointHelper.html +11 -11
- package/docs/classes/Util.Rectangle.html +13 -13
- package/docs/enums/CameraMovementEffect.html +7 -7
- package/docs/enums/ContentType.html +12 -12
- package/docs/enums/DIRECTION.html +9 -9
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +9 -9
- package/docs/enums/DimensionType.html +7 -7
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +8 -8
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +9 -9
- package/docs/enums/LinkType.html +7 -7
- package/docs/enums/PaintBrushTypeEnum.html +8 -8
- package/docs/enums/PointType.html +7 -7
- package/docs/enums/Rotation.html +8 -8
- package/docs/functions/CSS3DRenderPlugin.html +6 -5
- package/docs/functions/CameraMovementPlugin.html +6 -5
- package/docs/functions/CruisePlugin.html +6 -5
- package/docs/functions/GuideLinePlugin.html +7 -6
- package/docs/functions/ItemLabelPlugin.html +6 -5
- package/docs/functions/MapviewFloorplanPlugin.html +6 -5
- package/docs/functions/ModelChassisCompassPlugin.html +6 -5
- package/docs/functions/ModelEntryDoorGuidePlugin.html +6 -5
- package/docs/functions/ModelFloorplanPlugin.html +6 -5
- package/docs/functions/ModelItemLabelPlugin.html +6 -5
- package/docs/functions/ModelRoomLabelPlugin.html +6 -5
- package/docs/functions/ModelTVVideoPlugin.html +6 -5
- package/docs/functions/ModelViewPlugin.html +6 -5
- package/docs/functions/Object3DHelperPlugin.html +6 -5
- package/docs/functions/PanoCompassPlugin.html +6 -5
- package/docs/functions/PanoCursorRaycasterPlugin.html +6 -5
- package/docs/functions/PanoDoorLabelPlugin.html +6 -5
- package/docs/functions/PanoFloorplanRadarPlugin.html +6 -5
- package/docs/functions/PanoMeasurePlugin.html +6 -5
- package/docs/functions/PanoRulerPlugin.html +6 -5
- package/docs/functions/PanoRulerProPlugin.html +6 -5
- package/docs/functions/PanoSpatialTagPlugin.html +6 -5
- package/docs/functions/PanoTagPlugin.html +6 -5
- package/docs/functions/TopviewFloorplanPlugin.html +6 -5
- package/docs/functions/Util.getCoordsFromClient.html +5 -5
- package/docs/functions/Util.getCoordsFromElement.html +5 -5
- package/docs/functions/Util.getFrameTime.html +5 -5
- package/docs/functions/Util.getIntersectFromRelativePosition.html +5 -5
- package/docs/functions/Util.getRaycasterFromFivePointer.html +5 -5
- package/docs/functions/Util.isNil.html +5 -5
- package/docs/functions/Util.nextFrame.html +5 -5
- package/docs/functions/Util.notNil.html +5 -5
- package/docs/functions/Util.requestAnimationFrameInterval.html +5 -5
- package/docs/functions/Util.tweenProgress.html +5 -5
- package/docs/functions/pluginFlag.html +7 -6
- package/docs/index.html +6 -5
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +11 -11
- package/docs/interfaces/CSS3DRenderPluginState.html +8 -8
- package/docs/interfaces/CameraMovementPluginExportType.html +7 -7
- package/docs/interfaces/ContentTypeMap.html +12 -12
- package/docs/interfaces/FloorplanBounding.html +8 -8
- package/docs/interfaces/FloorplanData.html +10 -10
- package/docs/interfaces/FloorplanEntrance.html +11 -11
- package/docs/interfaces/FloorplanExtraObject.html +10 -10
- package/docs/interfaces/FloorplanExtraObject3D.html +8 -8
- package/docs/interfaces/FloorplanFloorData.html +9 -9
- package/docs/interfaces/FloorplanImagePosition.html +7 -7
- package/docs/interfaces/FloorplanObserver.html +9 -9
- package/docs/interfaces/FloorplanOutlineItem.html +9 -9
- package/docs/interfaces/FloorplanPosition.html +7 -7
- package/docs/interfaces/FloorplanRoomItem.html +13 -13
- package/docs/interfaces/FloorplanRoomLabelItem.html +7 -7
- package/docs/interfaces/FloorplanServerBounding.html +8 -8
- package/docs/interfaces/FloorplanServerComputedData.html +10 -10
- package/docs/interfaces/FloorplanServerData.html +7 -7
- package/docs/interfaces/FloorplanServerDoorItem.html +10 -10
- package/docs/interfaces/FloorplanServerDoorPosition.html +8 -8
- package/docs/interfaces/FloorplanServerEntrance.html +11 -11
- package/docs/interfaces/FloorplanServerFloorData.html +9 -9
- package/docs/interfaces/FloorplanServerImagePosition.html +7 -7
- package/docs/interfaces/FloorplanServerObserver.html +9 -9
- package/docs/interfaces/FloorplanServerOutlineItem.html +9 -9
- package/docs/interfaces/FloorplanServerPosition.html +7 -7
- package/docs/interfaces/FloorplanServerRoomItem.html +14 -14
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +7 -7
- package/docs/interfaces/ItemLabelPluginData.html +6 -6
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +11 -11
- package/docs/interfaces/ItemLabelPluginParametersType.html +9 -9
- package/docs/interfaces/LineJson.html +7 -7
- package/docs/interfaces/ModelChassisCompassPluginData.html +7 -7
- package/docs/interfaces/ModelChassisCompassPluginExportType.html +8 -8
- package/docs/interfaces/ModelChassisCompassPluginParameterType.html +7 -7
- package/docs/interfaces/ModelEntryDoorGuidePluginData.html +8 -8
- package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +8 -8
- package/docs/interfaces/ModelItemLabelPluginData.html +6 -6
- package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +11 -11
- package/docs/interfaces/ModelItemLabelPluginParametersType.html +7 -7
- package/docs/interfaces/ModelRoomLabelPluginData.html +6 -6
- package/docs/interfaces/ModelTVVideoPluginData.html +9 -9
- package/docs/interfaces/ModelTVVideoPluginExportType.html +8 -8
- package/docs/interfaces/ModelTVVideoPluginParameterType.html +6 -6
- package/docs/interfaces/ModelViewPluginExportType.html +8 -8
- package/docs/interfaces/Object3DHelperState.html +8 -8
- package/docs/interfaces/OpenParameter.html +7 -7
- package/docs/interfaces/PaintBrushAction.html +12 -12
- package/docs/interfaces/PaintBrushConfigs.html +12 -12
- package/docs/interfaces/PaintBrushState.html +10 -10
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +10 -10
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +7 -6
- package/docs/interfaces/PanoMeasureParameterType.html +11 -11
- package/docs/interfaces/PanoRulerPluginExportType.html +10 -10
- package/docs/interfaces/PanoRulerPluginOptions.html +7 -7
- package/docs/interfaces/PanoRulerPluginParameterType.html +8 -8
- package/docs/interfaces/PanoRulerProPluginExportType.html +9 -9
- package/docs/interfaces/PanoRulerProPluginOptions.html +7 -7
- package/docs/interfaces/PanoRulerProPluginParameterType.html +7 -7
- package/docs/interfaces/PanoRulerProPluginState.html +8 -8
- package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +7 -6
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +7 -6
- package/docs/interfaces/PanoSpatialTagPluginData.html +11 -11
- package/docs/interfaces/PanoSpatialTagPluginDataElement.html +10 -10
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +13 -13
- package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +10 -10
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +13 -13
- package/docs/interfaces/PanoSpatialTagPluginPointElement.html +11 -11
- package/docs/interfaces/PanoSpatialTagPluginTagElement.html +10 -10
- package/docs/interfaces/Point.html +8 -8
- package/docs/interfaces/PointJson.html +8 -8
- package/docs/interfaces/Room.html +9 -9
- package/docs/interfaces/RoomInfo.html +7 -7
- package/docs/interfaces/RoomLabel.html +14 -14
- package/docs/interfaces/RoomRules.html +7 -6
- package/docs/interfaces/Rooms.html +7 -6
- package/docs/interfaces/Scissor.html +9 -9
- package/docs/interfaces/TagConfig.html +10 -10
- package/docs/interfaces/Tags.html +9 -9
- package/docs/interfaces/Util.MagnifierParameter.html +11 -11
- package/docs/interfaces/Util.MouseGroupParameter.html +8 -8
- package/docs/modules/Util.html +5 -5
- package/docs/modules.html +7 -5
- package/docs/types/ArrayPosition.html +7 -6
- package/docs/types/CSS3DRenderExportType.html +8 -7
- package/docs/types/CSS3DRenderPluginExportType.html +7 -6
- package/docs/types/CSS3DRenderPluginParameterType.html +7 -6
- package/docs/types/Color.html +7 -6
- package/docs/types/ContentTypeConfigKey.html +7 -6
- package/docs/types/ContentTypeConfigKeyArray.html +7 -6
- package/docs/types/Create3DDomContainerReturnType.html +7 -6
- package/docs/types/Create3DElementReturnType.html +8 -7
- package/docs/types/CruisePluginExportType.html +7 -6
- package/docs/types/Direction-1.html +7 -6
- package/docs/types/Direction4.html +7 -6
- package/docs/types/FloorplanRuleLabels.html +7 -6
- package/docs/types/FloorplanServerRuleLabels.html +7 -6
- package/docs/types/GuideLinePluginExportType.html +7 -6
- package/docs/types/HelperEventMap.html +7 -6
- package/docs/types/MapviewFloorplanPluginParameterType.html +7 -6
- package/docs/types/MapviewFloorplanPluginReturnType.html +7 -6
- package/docs/types/MediaData.html +7 -6
- package/docs/types/ModelEntryDoorGuidePluginParameterType.html +7 -6
- package/docs/types/ModelFloorplanPluginParameterType.html +7 -6
- package/docs/types/ModelFloorplanPluginReturnType.html +7 -6
- package/docs/types/ModelRoomLabelPluginParameters.html +7 -6
- package/docs/types/ModelRoomLabelPluginReturnType.html +7 -6
- package/docs/types/MoveArgs.html +7 -6
- package/docs/types/MoveOpts.html +7 -6
- package/docs/types/Object3DHelperEventMap.html +7 -6
- package/docs/types/ObjectFit.html +7 -6
- package/docs/types/PaintBrushEventMap.html +7 -6
- package/docs/types/PanoCompassPluginData.html +7 -6
- package/docs/types/PanoCompassPluginExportType.html +7 -6
- package/docs/types/PanoCompassPluginParameterType.html +7 -6
- package/docs/types/PanoFloorplanRadarPluginParameterType.html +7 -6
- package/docs/types/PanoFloorplanRadarPluginReturnType.html +7 -6
- package/docs/types/PanoMeasurePluginEvent.html +7 -6
- package/docs/types/PanoMeasureReturnType.html +7 -6
- package/docs/types/PanoSpatialTagPluginId.html +7 -6
- package/docs/types/PanoTagPluginExportInterface.html +7 -6
- package/docs/types/PanoTagPluginParamsInterface.html +7 -6
- package/docs/types/PlaneTag.html +7 -6
- package/docs/types/PointTag.html +7 -6
- package/docs/types/Position.html +7 -6
- package/docs/types/RotateArgs.html +7 -6
- package/docs/types/RotateOpts.html +7 -6
- package/docs/types/RuleLabelsKey.html +7 -6
- package/docs/types/RuleLabelsValue.html +7 -6
- package/docs/types/Tag.html +7 -6
- package/docs/types/Tag2D.html +7 -6
- package/docs/types/Tag3D.html +7 -6
- package/docs/types/TagId.html +7 -6
- package/docs/types/TopviewFloorplanPluginParameterType.html +7 -6
- package/docs/types/TopviewFloorplanPluginReturnType.html +7 -6
- package/docs/variables/FLOOR_TYPE_MAP.html +7 -6
- package/docs/variables/PLUGIN.html +7 -6
- package/docs/variables/ROOM_FETILE_TYPE_MAP.html +7 -6
- package/docs/variables/ROOM_TYPE_MAP.html +7 -6
- package/docs/variables/VERSION.html +7 -6
- package/docs/variables/itemLabelPluginServerParams.html +7 -6
- package/docs/variables/modelItemLabelPluginServerParams.html +7 -6
- package/docs/variables/modelRoomLabelPluginServerParams.html +7 -6
- package/libs/CSS3DRenderPlugin/CSS3DRender.d.ts +47 -34
- package/libs/CSS3DRenderPlugin/CSS3DRender.js +187 -251
- package/libs/CSS3DRenderPlugin/Controller.d.ts +5 -5
- package/libs/CSS3DRenderPlugin/Controller.js +48 -57
- package/libs/CSS3DRenderPlugin/index.d.ts +2 -1
- package/libs/CSS3DRenderPlugin/index.js +3 -2
- package/libs/CSS3DRenderPlugin/utils/createResizeObserver.d.ts +4 -0
- package/libs/CSS3DRenderPlugin/utils/createResizeObserver.js +22 -0
- package/libs/CSS3DRenderPlugin/utils/even.d.ts +9 -0
- package/libs/CSS3DRenderPlugin/utils/even.js +7 -0
- package/libs/CSS3DRenderPlugin/utils/generateBehindFiveElement.d.ts +2 -0
- package/libs/CSS3DRenderPlugin/utils/generateBehindFiveElement.js +29 -0
- package/libs/CSS3DRenderPlugin/utils/getAllCSS3DObject.d.ts +3 -0
- package/libs/CSS3DRenderPlugin/utils/getAllCSS3DObject.js +9 -0
- package/libs/CSS3DRenderPlugin/utils/index.d.ts +1 -1
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DGroup.d.ts +12 -0
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DGroup.js +39 -0
- package/libs/CSS3DRenderPlugin/utils/{CSS3DObjectPlus.d.ts → three/CSS3DObject.d.ts} +25 -11
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.js +93 -0
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DRenderer.d.ts +14 -0
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DRenderer.js +46 -0
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DScene.d.ts +12 -0
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DScene.js +39 -0
- package/libs/CSS3DRenderPlugin/utils/three/OpacityMesh.d.ts +6 -0
- package/libs/CSS3DRenderPlugin/utils/three/OpacityMesh.js +18 -0
- package/libs/CSS3DRenderPlugin/utils/waitFiveModelLoaded.d.ts +2 -0
- package/libs/CSS3DRenderPlugin/utils/waitFiveModelLoaded.js +31 -0
- package/libs/CruisePlugin/Controller.js +16 -16
- package/libs/ItemLabelPlugin/ItemLabelComponent.js +13 -14
- package/libs/ItemLabelPlugin/ItemLabelItem.js +12 -12
- package/libs/ItemLabelPlugin/index.js +3 -4
- package/libs/ModelItemLabelPlugin/ItemLabelComponent.js +11 -12
- package/libs/ModelItemLabelPlugin/ItemLabelItem.js +12 -12
- package/libs/ModelItemLabelPlugin/index.js +3 -4
- package/libs/ModelRoomLabelPlugin/RoomLabelItem.js +13 -13
- package/libs/ModelRoomLabelPlugin/RoomLabelItems.js +17 -18
- package/libs/ModelTVVideoPlugin/index.js +2 -1
- package/libs/Object3DHelperPlugin/Controller.d.ts +2 -0
- package/libs/Object3DHelperPlugin/Controller.js +89 -74
- package/libs/PanoDoorLabelPlugin/Controller.js +72 -73
- package/libs/PanoDoorLabelPlugin/DoorLabelItem.js +1 -1
- package/libs/PanoRulerProPlugin/RulerItem.js +59 -69
- package/libs/PanoRulerProPlugin/RulerItems.js +18 -19
- package/libs/PanoSpatialTagPlugin/Components/origins.js +41 -41
- package/libs/PanoSpatialTagPlugin/Components/tag.js +8 -9
- package/libs/PanoSpatialTagPlugin/index.js +3 -4
- package/libs/PanoSpatialTagPlugin/store.js +1 -1
- package/libs/PanoTagPlugin/Components/Common/Arrow.js +11 -11
- package/libs/PanoTagPlugin/Components/Common/Audio.js +25 -26
- package/libs/PanoTagPlugin/Components/Common/Line/Polyline.js +8 -8
- package/libs/PanoTagPlugin/Components/Common/Line/Straight.js +30 -29
- package/libs/PanoTagPlugin/Components/Common/Media.js +75 -76
- package/libs/PanoTagPlugin/Components/Common/MediaItem.js +1 -1
- package/libs/PanoTagPlugin/Components/Common/MultiLineText.js +18 -19
- package/libs/PanoTagPlugin/Components/Common/Point/CustomPoint.js +11 -11
- package/libs/PanoTagPlugin/Components/Common/Point/DefaultPoint.js +15 -15
- package/libs/PanoTagPlugin/Components/Common/Point/PointSwitch.js +9 -9
- package/libs/PanoTagPlugin/Components/Common/Shadow.js +14 -13
- package/libs/PanoTagPlugin/Components/Common/Text.js +15 -16
- package/libs/PanoTagPlugin/Components/Common/TextItem.js +10 -10
- package/libs/PanoTagPlugin/Components/Tag/AudioTag.js +18 -19
- package/libs/PanoTagPlugin/Components/Tag/CustomTag.js +27 -28
- package/libs/PanoTagPlugin/Components/Tag/ImageTextTag.js +9 -10
- package/libs/PanoTagPlugin/Components/Tag/LinkTag.js +7 -6
- package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +52 -81
- package/libs/PanoTagPlugin/Components/Tag/MediaPlane.js +10 -11
- package/libs/PanoTagPlugin/Components/Tag/TextTag.js +32 -33
- package/libs/PanoTagPlugin/Components/Tag/index.js +39 -40
- package/libs/PanoTagPlugin/Components/TagContainer.js +12 -13
- package/libs/PanoTagPlugin/Components/TagWrapper.js +9 -10
- package/libs/PanoTagPlugin/controller/index.js +1 -1
- package/libs/floorplan/Components/BaseImage.js +4 -4
- package/libs/floorplan/Components/Camera.js +23 -23
- package/libs/floorplan/Components/Compass.js +2 -2
- package/libs/floorplan/Components/CurrentFloor.js +9 -10
- package/libs/floorplan/Components/Main.js +24 -25
- package/libs/floorplan/Components/Normalmage.js +1 -1
- package/libs/floorplan/Components/RoomHighlight/Room.js +1 -1
- package/libs/floorplan/Components/RoomHighlight/RoomHighlight.js +7 -7
- package/libs/floorplan/Components/RoomLabels/RoomLabel.js +37 -38
- package/libs/floorplan/Components/RoomLabels/RoomLabels.js +39 -40
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial.js +7 -7
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial_0.js +1 -1
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial_1.js +1 -1
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial_2.js +1 -1
- package/libs/floorplan/Components/RuleLabels/RuleItem.js +53 -53
- package/libs/floorplan/Components/RuleLabels/RuleLabels.js +8 -8
- package/libs/floorplan/Components/SvgImage.js +4 -4
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Camera.js +5 -6
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/CurrentFloor.js +3 -3
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/ExtraObjects.js +27 -27
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Main.js +34 -35
- package/libs/floorplan/index.js +1 -5
- package/libs/index.js +110 -102
- package/libs/shared-utils/Object3DHelper/Base/BaseController.js +1 -1
- package/libs/shared-utils/Object3DHelper/Helper/MoveHelper.js +8 -7
- package/libs/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +2 -2
- package/libs/shared-utils/Object3DHelper/Helper/index.js +1 -0
- package/libs/shared-utils/three/index.js +2 -1
- package/libs/vendor/svelte/easing/index.js +12 -0
- package/libs/vendor/svelte/index.js +1 -0
- package/libs/vendor/svelte/internal/index.js +641 -0
- package/libs/vendor/svelte/store/index.js +31 -0
- package/libs/vendor/svelte/transition/index.js +37 -0
- package/libs/vendor/swiper/svelte/swiper-slide.js +10 -11
- package/libs/vendor/swiper/svelte/swiper-svelte.js +1 -2
- package/libs/vendor/swiper/svelte/swiper.js +9 -10
- package/package.json +15 -15
- package/dist/CSS3DRenderPlugin/utils/evenNumber.d.ts +0 -3
- package/libs/CSS3DRenderPlugin/utils/CSS3DObjectPlus.js +0 -65
- package/libs/CSS3DRenderPlugin/utils/evenNumber.d.ts +0 -3
- package/libs/CSS3DRenderPlugin/utils/evenNumber.js +0 -7
|
@@ -9,16 +9,15 @@ var F = (t, e, i) => e in t ? N(t, e, { enumerable: !0, configurable: !0, writab
|
|
|
9
9
|
P.call(e, i) && F(t, i, e[i]);
|
|
10
10
|
return t;
|
|
11
11
|
};
|
|
12
|
-
import { SvelteComponent as T, init as U, safe_not_equal as j, append_styles as G, empty as H, insert as q, transition_in as v,
|
|
13
|
-
import { fade as
|
|
14
|
-
import { cubicInOut as
|
|
12
|
+
import { SvelteComponent as T, init as U, safe_not_equal as j, append_styles as G, empty as H, insert as q, transition_in as v, transition_out as z, check_outros as J, detach as R, getContext as A, element as b, create_component as K, space as I, attr as h, src_url_equal as D, toggle_class as M, mount_component as Q, append as k, listen as C, stop_propagation as V, add_render_callback as W, create_in_transition as X, create_out_transition as Y, destroy_component as Z, run_all as x, group_outros as $, binding_callbacks as ee } from "../../../vendor/svelte/internal/index.js";
|
|
13
|
+
import { fade as S } from "../../../vendor/svelte/transition/index.js";
|
|
14
|
+
import { cubicInOut as B } from "../../../vendor/svelte/easing/index.js";
|
|
15
15
|
import te from "./Shadow.js";
|
|
16
|
-
import { getContext as B } from "svelte";
|
|
17
16
|
function ie(t) {
|
|
18
17
|
G(t, "svelte-1ku3wt4", `.audio.svelte-1ku3wt4.svelte-1ku3wt4{position:relative;width:100%;height:100%;cursor:pointer}@keyframes svelte-1ku3wt4-playing{25%{background-image:url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='9' cy='9' r='8' transform='translate(-1 -1)' fill='%23FFF' fill-rule='nonzero'/%3E%3C/svg%3E")}50%{background-image:url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8 0a8 8 0 1 1 0 16A8 8 0 0 1 8 0zM5.533 6.685L4.169 8.049l1.414 1.413a2.078 2.078 0 0 0-.05-2.777z' fill='%23FFF' fill-rule='nonzero'/%3E%3C/svg%3E")}75%{background-image:url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8 0a8 8 0 1 1 0 16A8 8 0 0 1 8 0zm-.656 4.874l-.906.905A3.35 3.35 0 0 1 7.369 8.1c0 .875-.333 1.67-.88 2.268l.906.906A4.628 4.628 0 0 0 8.65 8.101a4.627 4.627 0 0 0-1.306-3.227zm-1.811 1.81L4.169 8.05l1.414 1.413a2.078 2.078 0 0 0-.05-2.777z' fill='%23FFF' fill-rule='nonzero'/%3E%3C/svg%3E")}}.paused.svelte-1ku3wt4 .audio-icon.svelte-1ku3wt4{animation:none}.audio-icon.svelte-1ku3wt4.svelte-1ku3wt4{width:100%;height:100%;border-radius:50%;background-size:100%;animation:svelte-1ku3wt4-playing 2s steps(1) infinite;background-image:url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8 0a8 8 0 1 1 0 16A8 8 0 0 1 8 0zm1.428 2.79l-.953.952a6.222 6.222 0 0 1 1.775 4.36c0 1.571-.58 3.006-1.538 4.103l-.184.202.793.794a7.344 7.344 0 0 0 2.21-5.26A7.341 7.341 0 0 0 9.428 2.79zM7.344 4.873l-.906.905A3.35 3.35 0 0 1 7.369 8.1c0 .802-.28 1.537-.748 2.115l-.132.153.906.906A4.628 4.628 0 0 0 8.65 8.101a4.627 4.627 0 0 0-1.306-3.227zm-1.811 1.81L4.169 8.05l1.414 1.413a2.078 2.078 0 0 0-.05-2.777z' fill='%23FFF' fill-rule='nonzero'/%3E%3C/svg%3E")}`);
|
|
19
18
|
}
|
|
20
19
|
function L(t) {
|
|
21
|
-
let e, i, n, o, r, u, f, d = !0, c,
|
|
20
|
+
let e, i, n, o, r, u, f, d = !0, c, g, a, m, w;
|
|
22
21
|
return i = new te({
|
|
23
22
|
props: {
|
|
24
23
|
center: !0,
|
|
@@ -27,36 +26,36 @@ function L(t) {
|
|
|
27
26
|
}
|
|
28
27
|
}), {
|
|
29
28
|
c() {
|
|
30
|
-
e = b("div"),
|
|
29
|
+
e = b("div"), K(i.$$.fragment), n = I(), o = b("div"), r = I(), u = b("audio"), h(o, "class", "audio-icon svelte-1ku3wt4"), u.controls = !1, h(u, "playsinline", ""), D(u.src, f = t[3]) || h(u, "src", f), h(e, "class", "audio svelte-1ku3wt4"), M(e, "paused", t[6]);
|
|
31
30
|
},
|
|
32
31
|
m(s, _) {
|
|
33
|
-
q(s, e, _),
|
|
32
|
+
q(s, e, _), Q(i, e, null), k(e, n), k(e, o), k(e, r), k(e, u), t[9](u), a = !0, m || (w = [
|
|
34
33
|
C(u, "play", t[10]),
|
|
35
34
|
C(u, "pause", t[10]),
|
|
36
|
-
C(e, "click",
|
|
37
|
-
],
|
|
35
|
+
C(e, "click", V(t[7]))
|
|
36
|
+
], m = !0);
|
|
38
37
|
},
|
|
39
38
|
p(s, _) {
|
|
40
|
-
t = s, (!a || _ & 8 && !
|
|
39
|
+
t = s, (!a || _ & 8 && !D(u.src, f = t[3])) && h(u, "src", f), _ & 64 && d !== (d = t[6]) && u[d ? "pause" : "play"](), (!a || _ & 64) && M(e, "paused", t[6]);
|
|
41
40
|
},
|
|
42
41
|
i(s) {
|
|
43
|
-
a || (v(i.$$.fragment, s), s &&
|
|
44
|
-
|
|
42
|
+
a || (v(i.$$.fragment, s), s && W(() => {
|
|
43
|
+
g && g.end(1), c = X(e, S, {
|
|
45
44
|
duration: t[2],
|
|
46
45
|
delay: t[0],
|
|
47
|
-
easing:
|
|
46
|
+
easing: B
|
|
48
47
|
}), c.start();
|
|
49
48
|
}), a = !0);
|
|
50
49
|
},
|
|
51
50
|
o(s) {
|
|
52
|
-
z(i.$$.fragment, s), c && c.invalidate(), s && (
|
|
51
|
+
z(i.$$.fragment, s), c && c.invalidate(), s && (g = Y(e, S, {
|
|
53
52
|
duration: t[2],
|
|
54
53
|
delay: t[1],
|
|
55
|
-
easing:
|
|
54
|
+
easing: B
|
|
56
55
|
})), a = !1;
|
|
57
56
|
},
|
|
58
57
|
d(s) {
|
|
59
|
-
s && R(e),
|
|
58
|
+
s && R(e), Z(i), t[9](null), s && g && g.end(), m = !1, x(w);
|
|
60
59
|
}
|
|
61
60
|
};
|
|
62
61
|
}
|
|
@@ -70,9 +69,9 @@ function ae(t) {
|
|
|
70
69
|
n && n.m(o, r), q(o, e, r), i = !0;
|
|
71
70
|
},
|
|
72
71
|
p(o, [r]) {
|
|
73
|
-
o[4] ? n ? (n.p(o, r), r & 16 && v(n, 1)) : (n = L(o), n.c(), v(n, 1), n.m(e.parentNode, e)) : n && (
|
|
72
|
+
o[4] ? n ? (n.p(o, r), r & 16 && v(n, 1)) : (n = L(o), n.c(), v(n, 1), n.m(e.parentNode, e)) : n && ($(), z(n, 1, 1, () => {
|
|
74
73
|
n = null;
|
|
75
|
-
}),
|
|
74
|
+
}), J());
|
|
76
75
|
},
|
|
77
76
|
i(o) {
|
|
78
77
|
i || (v(n), i = !0);
|
|
@@ -87,13 +86,13 @@ function ae(t) {
|
|
|
87
86
|
}
|
|
88
87
|
function ne(t, e, i) {
|
|
89
88
|
let { inDelay: n = 0 } = e, { outDelay: o = 0 } = e, { duration: r = 0 } = e, { url: u } = e, { unfolded: f } = e, { hooksInfo: d = {} } = e;
|
|
90
|
-
const c =
|
|
91
|
-
let a,
|
|
92
|
-
|
|
89
|
+
const c = A("hooks"), g = A("mediaStore");
|
|
90
|
+
let a, m = !0;
|
|
91
|
+
g.subscribe(({ currentMediaUrl: l }) => {
|
|
93
92
|
l !== u && (a == null || a.pause());
|
|
94
93
|
});
|
|
95
94
|
function w(l) {
|
|
96
|
-
|
|
95
|
+
g.set({ currentMediaUrl: u }), a && (c.emit("click", p({
|
|
97
96
|
event: l,
|
|
98
97
|
target: "AudioTagPlayIcon",
|
|
99
98
|
audioInstance: a
|
|
@@ -121,7 +120,7 @@ function ne(t, e, i) {
|
|
|
121
120
|
});
|
|
122
121
|
}
|
|
123
122
|
function _() {
|
|
124
|
-
|
|
123
|
+
m = this.paused, i(6, m);
|
|
125
124
|
}
|
|
126
125
|
return t.$$set = (l) => {
|
|
127
126
|
"inDelay" in l && i(0, n = l.inDelay), "outDelay" in l && i(1, o = l.outDelay), "duration" in l && i(2, r = l.duration), "url" in l && i(3, u = l.url), "unfolded" in l && i(4, f = l.unfolded), "hooksInfo" in l && i(8, d = l.hooksInfo);
|
|
@@ -134,14 +133,14 @@ function ne(t, e, i) {
|
|
|
134
133
|
u,
|
|
135
134
|
f,
|
|
136
135
|
a,
|
|
137
|
-
|
|
136
|
+
m,
|
|
138
137
|
w,
|
|
139
138
|
d,
|
|
140
139
|
s,
|
|
141
140
|
_
|
|
142
141
|
];
|
|
143
142
|
}
|
|
144
|
-
class
|
|
143
|
+
class de extends T {
|
|
145
144
|
constructor(e) {
|
|
146
145
|
super(), U(
|
|
147
146
|
this,
|
|
@@ -162,5 +161,5 @@ class fe extends T {
|
|
|
162
161
|
}
|
|
163
162
|
}
|
|
164
163
|
export {
|
|
165
|
-
|
|
164
|
+
de as default
|
|
166
165
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { SvelteComponent as D, init as g, safe_not_equal as v, append_styles as w, svg_element as s, attr as l, insert as y, append as d, transition_in as c,
|
|
1
|
+
import { SvelteComponent as D, init as g, safe_not_equal as v, append_styles as w, svg_element as s, attr as l, insert as y, append as d, transition_in as c, transition_out as _, check_outros as b, detach as p, add_render_callback as k, create_in_transition as O, create_out_transition as G, group_outros as I } from "../../../../vendor/svelte/internal/index.js";
|
|
2
2
|
import { uuid as L } from "../../../../shared-utils/uuid.js";
|
|
3
|
-
import { draw as h } from "svelte/transition";
|
|
4
|
-
import { cubicOut as S, cubicInOut as U } from "svelte/easing";
|
|
3
|
+
import { draw as h } from "../../../../vendor/svelte/transition/index.js";
|
|
4
|
+
import { cubicOut as S, cubicInOut as U } from "../../../../vendor/svelte/easing/index.js";
|
|
5
5
|
function q(n) {
|
|
6
6
|
w(n, "svelte-e72ouh", ".line.svelte-e72ouh{width:100%;height:100%;overflow:visible}");
|
|
7
7
|
}
|
|
@@ -18,8 +18,8 @@ function m(n) {
|
|
|
18
18
|
n = i;
|
|
19
19
|
},
|
|
20
20
|
i(i) {
|
|
21
|
-
r || (i &&
|
|
22
|
-
o && o.end(1), a =
|
|
21
|
+
r || (i && k(() => {
|
|
22
|
+
o && o.end(1), a = O(e, h, {
|
|
23
23
|
duration: n[1],
|
|
24
24
|
delay: n[0],
|
|
25
25
|
easing: S
|
|
@@ -27,7 +27,7 @@ function m(n) {
|
|
|
27
27
|
}), r = !0);
|
|
28
28
|
},
|
|
29
29
|
o(i) {
|
|
30
|
-
a && a.invalidate(), i && (o =
|
|
30
|
+
a && a.invalidate(), i && (o = G(e, h, {
|
|
31
31
|
duration: n[1],
|
|
32
32
|
delay: n[2],
|
|
33
33
|
easing: U
|
|
@@ -48,9 +48,9 @@ function B(n) {
|
|
|
48
48
|
y(f, e, u), d(e, a), d(a, o), d(o, r), d(o, i), t && t.m(e, null);
|
|
49
49
|
},
|
|
50
50
|
p(f, [u]) {
|
|
51
|
-
f[3] ? t ? (t.p(f, u), u & 8 && c(t, 1)) : (t = m(f), t.c(), c(t, 1), t.m(e, null)) : t && (
|
|
51
|
+
f[3] ? t ? (t.p(f, u), u & 8 && c(t, 1)) : (t = m(f), t.c(), c(t, 1), t.m(e, null)) : t && (I(), _(t, 1, 1, () => {
|
|
52
52
|
t = null;
|
|
53
|
-
}),
|
|
53
|
+
}), b());
|
|
54
54
|
},
|
|
55
55
|
i(f) {
|
|
56
56
|
c(t);
|
|
@@ -1,53 +1,54 @@
|
|
|
1
|
-
import { SvelteComponent as g, init as v, safe_not_equal as D, append_styles as k, svg_element as u, attr as l, insert as y, append as d, transition_in as c,
|
|
2
|
-
import { draw as h } from "svelte/transition";
|
|
1
|
+
import { SvelteComponent as g, init as v, safe_not_equal as D, append_styles as k, svg_element as u, attr as l, insert as y, append as d, transition_in as c, transition_out as _, check_outros as w, detach as p, add_render_callback as b, create_in_transition as z, create_out_transition as S, group_outros as G } from "../../../../vendor/svelte/internal/index.js";
|
|
2
|
+
import { draw as h } from "../../../../vendor/svelte/transition/index.js";
|
|
3
3
|
import { uuid as U } from "../../../../shared-utils/uuid.js";
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
import "../../../../vendor/svelte/easing/index.js";
|
|
5
|
+
function q(o) {
|
|
6
|
+
k(o, "svelte-1omzoh4", ".straight-line.svelte-1omzoh4{display:block;width:100%;height:100%;overflow:visible}");
|
|
6
7
|
}
|
|
7
|
-
function m(
|
|
8
|
-
let e, a,
|
|
8
|
+
function m(o) {
|
|
9
|
+
let e, a, n, r;
|
|
9
10
|
return {
|
|
10
11
|
c() {
|
|
11
|
-
e = u("path"), l(e, "fill", "none"), l(e, "stroke", "url(#" +
|
|
12
|
+
e = u("path"), l(e, "fill", "none"), l(e, "stroke", "url(#" + o[4] + ")"), l(e, "stroke-width", "1"), l(e, "d", "M0 0.5 L 148 0.5");
|
|
12
13
|
},
|
|
13
14
|
m(i, t) {
|
|
14
15
|
y(i, e, t), r = !0;
|
|
15
16
|
},
|
|
16
17
|
p(i, t) {
|
|
17
|
-
|
|
18
|
+
o = i;
|
|
18
19
|
},
|
|
19
20
|
i(i) {
|
|
20
|
-
r || (i &&
|
|
21
|
-
|
|
22
|
-
duration:
|
|
23
|
-
delay:
|
|
21
|
+
r || (i && b(() => {
|
|
22
|
+
n && n.end(1), a = z(e, h, {
|
|
23
|
+
duration: o[1],
|
|
24
|
+
delay: o[0]
|
|
24
25
|
}), a.start();
|
|
25
26
|
}), r = !0);
|
|
26
27
|
},
|
|
27
28
|
o(i) {
|
|
28
|
-
a && a.invalidate(), i && (
|
|
29
|
-
duration:
|
|
30
|
-
delay:
|
|
29
|
+
a && a.invalidate(), i && (n = S(e, h, {
|
|
30
|
+
duration: o[1],
|
|
31
|
+
delay: o[2]
|
|
31
32
|
})), r = !1;
|
|
32
33
|
},
|
|
33
34
|
d(i) {
|
|
34
|
-
i && p(e), i &&
|
|
35
|
+
i && p(e), i && n && n.end();
|
|
35
36
|
}
|
|
36
37
|
};
|
|
37
38
|
}
|
|
38
|
-
function A(
|
|
39
|
-
let e, a,
|
|
39
|
+
function A(o) {
|
|
40
|
+
let e, a, n, r, i, t = o[3] && m(o);
|
|
40
41
|
return {
|
|
41
42
|
c() {
|
|
42
|
-
e = u("svg"), a = u("defs"),
|
|
43
|
+
e = u("svg"), a = u("defs"), n = u("linearGradient"), r = u("stop"), i = u("stop"), t && t.c(), l(r, "offset", "25%"), l(r, "stop-color", "white"), l(r, "stop-opacity", "1"), l(i, "offset", "100%"), l(i, "stop-color", "white"), l(i, "stop-opacity", "0.5"), l(n, "id", o[4]), l(n, "gradientUnits", "userSpaceOnUse"), l(e, "class", "straight-line svelte-1omzoh4"), l(e, "viewBox", "0 0 148 1"), l(e, "preserveAspectRatio", "none");
|
|
43
44
|
},
|
|
44
45
|
m(f, s) {
|
|
45
|
-
y(f, e, s), d(e, a), d(a,
|
|
46
|
+
y(f, e, s), d(e, a), d(a, n), d(n, r), d(n, i), t && t.m(e, null);
|
|
46
47
|
},
|
|
47
48
|
p(f, [s]) {
|
|
48
|
-
f[3] ? t ? (t.p(f, s), s & 8 && c(t, 1)) : (t = m(f), t.c(), c(t, 1), t.m(e, null)) : t && (
|
|
49
|
+
f[3] ? t ? (t.p(f, s), s & 8 && c(t, 1)) : (t = m(f), t.c(), c(t, 1), t.m(e, null)) : t && (G(), _(t, 1, 1, () => {
|
|
49
50
|
t = null;
|
|
50
|
-
}),
|
|
51
|
+
}), w());
|
|
51
52
|
},
|
|
52
53
|
i(f) {
|
|
53
54
|
c(t);
|
|
@@ -60,14 +61,14 @@ function A(n) {
|
|
|
60
61
|
}
|
|
61
62
|
};
|
|
62
63
|
}
|
|
63
|
-
function B(
|
|
64
|
-
let { inDelay:
|
|
64
|
+
function B(o, e, a) {
|
|
65
|
+
let { inDelay: n = 0 } = e, { duration: r = 0 } = e, { outDelay: i = 0 } = e, { unfolded: t } = e;
|
|
65
66
|
const f = U();
|
|
66
|
-
return
|
|
67
|
-
"inDelay" in s && a(0,
|
|
68
|
-
}, [
|
|
67
|
+
return o.$$set = (s) => {
|
|
68
|
+
"inDelay" in s && a(0, n = s.inDelay), "duration" in s && a(1, r = s.duration), "outDelay" in s && a(2, i = s.outDelay), "unfolded" in s && a(3, t = s.unfolded);
|
|
69
|
+
}, [n, r, i, t, f];
|
|
69
70
|
}
|
|
70
|
-
class
|
|
71
|
+
class O extends g {
|
|
71
72
|
constructor(e) {
|
|
72
73
|
super(), v(
|
|
73
74
|
this,
|
|
@@ -86,5 +87,5 @@ class M extends g {
|
|
|
86
87
|
}
|
|
87
88
|
}
|
|
88
89
|
export {
|
|
89
|
-
|
|
90
|
+
O as default
|
|
90
91
|
};
|
|
@@ -1,32 +1,31 @@
|
|
|
1
1
|
var z = (a, n, i) => new Promise((e, t) => {
|
|
2
|
-
var
|
|
2
|
+
var o = (r) => {
|
|
3
3
|
try {
|
|
4
4
|
u(i.next(r));
|
|
5
5
|
} catch (m) {
|
|
6
6
|
t(m);
|
|
7
7
|
}
|
|
8
|
-
},
|
|
8
|
+
}, l = (r) => {
|
|
9
9
|
try {
|
|
10
10
|
u(i.throw(r));
|
|
11
11
|
} catch (m) {
|
|
12
12
|
t(m);
|
|
13
13
|
}
|
|
14
|
-
}, u = (r) => r.done ? e(r.value) : Promise.resolve(r.value).then(
|
|
14
|
+
}, u = (r) => r.done ? e(r.value) : Promise.resolve(r.value).then(o, l);
|
|
15
15
|
u((i = i.apply(a, n)).next());
|
|
16
16
|
});
|
|
17
|
-
import { SvelteComponent as te, init as ne, safe_not_equal as ie, append_styles as ae, empty as Z, insert as w, transition_in as _,
|
|
18
|
-
import { fly as
|
|
19
|
-
import {
|
|
20
|
-
import { Swiper_1 as de } from "../../../vendor/swiper/svelte/swiper.js";
|
|
17
|
+
import { SvelteComponent as te, init as ne, safe_not_equal as ie, append_styles as ae, empty as Z, insert as w, transition_in as _, transition_out as p, check_outros as D, detach as I, getContext as G, element as le, attr as oe, toggle_class as J, group_outros as j, add_render_callback as re, create_in_transition as fe, identity as K, create_out_transition as ue, create_component as C, mount_component as L, destroy_component as P, destroy_each as se, space as de } from "../../../vendor/svelte/internal/index.js";
|
|
18
|
+
import { fly as Q } from "../../../vendor/svelte/transition/index.js";
|
|
19
|
+
import { Swiper_1 as ce } from "../../../vendor/swiper/svelte/swiper.js";
|
|
21
20
|
import { Swiper_slide as me } from "../../../vendor/swiper/svelte/swiper-slide.js";
|
|
22
21
|
import { Autoplay as _e } from "swiper";
|
|
23
22
|
import "swiper/css";
|
|
24
23
|
import "swiper/css/autoplay";
|
|
25
24
|
import "three";
|
|
26
|
-
import { noTypecheck as
|
|
25
|
+
import { noTypecheck as R } from "../../utils/noTypecheck.js";
|
|
27
26
|
import x from "./MediaItem.js";
|
|
28
27
|
import { notNil as ye } from "../../../shared-utils/isNil.js";
|
|
29
|
-
import
|
|
28
|
+
import "../../../vendor/svelte/easing/index.js";
|
|
30
29
|
import "../../../vendor/swiper/components-shared/get-params.js";
|
|
31
30
|
import "../../../vendor/swiper/components-shared/utils.js";
|
|
32
31
|
import "../../../vendor/swiper/components-shared/params-list.js";
|
|
@@ -42,45 +41,45 @@ function W(a, n, i) {
|
|
|
42
41
|
return e[23] = n[i], e;
|
|
43
42
|
}
|
|
44
43
|
function X(a) {
|
|
45
|
-
let n, i, e, t,
|
|
44
|
+
let n, i, e, t, o, l;
|
|
46
45
|
const u = [he, ge], r = [];
|
|
47
46
|
function m(s, g) {
|
|
48
47
|
return s[13] ? 0 : 1;
|
|
49
48
|
}
|
|
50
49
|
return i = m(a), e = r[i] = u[i](a), {
|
|
51
50
|
c() {
|
|
52
|
-
n = le("div"), e.c(), oe(n, "class", "media svelte-ai0lv9"),
|
|
51
|
+
n = le("div"), e.c(), oe(n, "class", "media svelte-ai0lv9"), J(n, "unfolded", a[4]);
|
|
53
52
|
},
|
|
54
53
|
m(s, g) {
|
|
55
|
-
w(s, n, g), r[i].m(n, null),
|
|
54
|
+
w(s, n, g), r[i].m(n, null), l = !0;
|
|
56
55
|
},
|
|
57
56
|
p(s, g) {
|
|
58
57
|
a = s;
|
|
59
58
|
let b = i;
|
|
60
|
-
i = m(a), i === b ? r[i].p(a, g) : (
|
|
59
|
+
i = m(a), i === b ? r[i].p(a, g) : (j(), p(r[b], 1, 1, () => {
|
|
61
60
|
r[b] = null;
|
|
62
|
-
}),
|
|
61
|
+
}), D(), e = r[i], e ? e.p(a, g) : (e = r[i] = u[i](a), e.c()), _(e, 1), e.m(n, null)), (!l || g & 16) && J(n, "unfolded", a[4]);
|
|
63
62
|
},
|
|
64
63
|
i(s) {
|
|
65
|
-
|
|
66
|
-
|
|
64
|
+
l || (_(e), s && re(() => {
|
|
65
|
+
o && o.end(1), t = fe(n, Q, a[5] ? {
|
|
67
66
|
y: 4,
|
|
68
67
|
duration: a[3],
|
|
69
68
|
delay: a[1],
|
|
70
69
|
easing: K
|
|
71
70
|
} : void 0), t.start();
|
|
72
|
-
}),
|
|
71
|
+
}), l = !0);
|
|
73
72
|
},
|
|
74
73
|
o(s) {
|
|
75
|
-
p(e), t && t.invalidate(), s && (
|
|
74
|
+
p(e), t && t.invalidate(), s && (o = ue(n, Q, a[5] ? {
|
|
76
75
|
y: 4,
|
|
77
76
|
duration: a[3],
|
|
78
77
|
delay: a[2],
|
|
79
78
|
easing: K
|
|
80
|
-
} : void 0)),
|
|
79
|
+
} : void 0)), l = !1;
|
|
81
80
|
},
|
|
82
81
|
d(s) {
|
|
83
|
-
s && I(n), r[i].d(), s &&
|
|
82
|
+
s && I(n), r[i].d(), s && o && o.end();
|
|
84
83
|
}
|
|
85
84
|
};
|
|
86
85
|
}
|
|
@@ -101,8 +100,8 @@ function ge(a) {
|
|
|
101
100
|
L(n, e, t), i = !0;
|
|
102
101
|
},
|
|
103
102
|
p(e, t) {
|
|
104
|
-
const
|
|
105
|
-
t & 1 && (
|
|
103
|
+
const o = {};
|
|
104
|
+
t & 1 && (o.media = e[0][0]), t & 256 && (o.objectFit = e[8]), t & 64 && (o.playButtonIfNeed = e[6]), t & 128 && (o.canPlay = e[7]), n.$set(o);
|
|
106
105
|
},
|
|
107
106
|
i(e) {
|
|
108
107
|
i || (_(n.$$.fragment, e), i = !0);
|
|
@@ -117,12 +116,12 @@ function ge(a) {
|
|
|
117
116
|
}
|
|
118
117
|
function he(a) {
|
|
119
118
|
let n, i;
|
|
120
|
-
return n = new
|
|
119
|
+
return n = new ce({
|
|
121
120
|
props: {
|
|
122
121
|
style: "height: 100%",
|
|
123
122
|
modules: [_e],
|
|
124
123
|
spaceBetween: 30,
|
|
125
|
-
autoplay: a[14] ?
|
|
124
|
+
autoplay: a[14] ? R({
|
|
126
125
|
delay: 4e3,
|
|
127
126
|
stopOnLastSlide: !1,
|
|
128
127
|
disableOnInteraction: !1
|
|
@@ -139,12 +138,12 @@ function he(a) {
|
|
|
139
138
|
L(n, e, t), i = !0;
|
|
140
139
|
},
|
|
141
140
|
p(e, t) {
|
|
142
|
-
const
|
|
143
|
-
t & 16384 && (
|
|
141
|
+
const o = {};
|
|
142
|
+
t & 16384 && (o.autoplay = e[14] ? R({
|
|
144
143
|
delay: 4e3,
|
|
145
144
|
stopOnLastSlide: !1,
|
|
146
145
|
disableOnInteraction: !1
|
|
147
|
-
}) : !1), t & 67111360 && (
|
|
146
|
+
}) : !1), t & 67111360 && (o.$$scope = { dirty: t, ctx: e }), n.$set(o);
|
|
148
147
|
},
|
|
149
148
|
i(e) {
|
|
150
149
|
i || (_(n.$$.fragment, e), i = !0);
|
|
@@ -168,14 +167,14 @@ function be(a) {
|
|
|
168
167
|
}
|
|
169
168
|
}), {
|
|
170
169
|
c() {
|
|
171
|
-
C(n.$$.fragment), i =
|
|
170
|
+
C(n.$$.fragment), i = de();
|
|
172
171
|
},
|
|
173
|
-
m(t,
|
|
174
|
-
L(n, t,
|
|
172
|
+
m(t, o) {
|
|
173
|
+
L(n, t, o), w(t, i, o), e = !0;
|
|
175
174
|
},
|
|
176
|
-
p(t,
|
|
177
|
-
const
|
|
178
|
-
|
|
175
|
+
p(t, o) {
|
|
176
|
+
const l = {};
|
|
177
|
+
o & 2048 && (l.media = t[23]), o & 256 && (l.objectFit = t[8]), o & 64 && (l.playButtonIfNeed = t[6]), o & 128 && (l.canPlay = t[7]), n.$set(l);
|
|
179
178
|
},
|
|
180
179
|
i(t) {
|
|
181
180
|
e || (_(n.$$.fragment, t), e = !0);
|
|
@@ -203,8 +202,8 @@ function Y(a) {
|
|
|
203
202
|
L(n, e, t), i = !0;
|
|
204
203
|
},
|
|
205
204
|
p(e, t) {
|
|
206
|
-
const
|
|
207
|
-
t & 67111360 && (
|
|
205
|
+
const o = {};
|
|
206
|
+
t & 67111360 && (o.$$scope = { dirty: t, ctx: e }), n.$set(o);
|
|
208
207
|
},
|
|
209
208
|
i(e) {
|
|
210
209
|
i || (_(n.$$.fragment, e), i = !0);
|
|
@@ -219,50 +218,50 @@ function Y(a) {
|
|
|
219
218
|
}
|
|
220
219
|
function ve(a) {
|
|
221
220
|
let n, i, e = a[11], t = [];
|
|
222
|
-
for (let
|
|
223
|
-
t[
|
|
224
|
-
const
|
|
225
|
-
t[
|
|
221
|
+
for (let l = 0; l < e.length; l += 1)
|
|
222
|
+
t[l] = Y(W(a, e, l));
|
|
223
|
+
const o = (l) => p(t[l], 1, 1, () => {
|
|
224
|
+
t[l] = null;
|
|
226
225
|
});
|
|
227
226
|
return {
|
|
228
227
|
c() {
|
|
229
|
-
for (let
|
|
230
|
-
t[
|
|
228
|
+
for (let l = 0; l < t.length; l += 1)
|
|
229
|
+
t[l].c();
|
|
231
230
|
n = Z();
|
|
232
231
|
},
|
|
233
|
-
m(
|
|
232
|
+
m(l, u) {
|
|
234
233
|
for (let r = 0; r < t.length; r += 1)
|
|
235
|
-
t[r].m(
|
|
236
|
-
w(
|
|
234
|
+
t[r].m(l, u);
|
|
235
|
+
w(l, n, u), i = !0;
|
|
237
236
|
},
|
|
238
|
-
p(
|
|
237
|
+
p(l, u) {
|
|
239
238
|
if (u & 2496) {
|
|
240
|
-
e =
|
|
239
|
+
e = l[11];
|
|
241
240
|
let r;
|
|
242
241
|
for (r = 0; r < e.length; r += 1) {
|
|
243
|
-
const m = W(
|
|
242
|
+
const m = W(l, e, r);
|
|
244
243
|
t[r] ? (t[r].p(m, u), _(t[r], 1)) : (t[r] = Y(m), t[r].c(), _(t[r], 1), t[r].m(n.parentNode, n));
|
|
245
244
|
}
|
|
246
|
-
for (
|
|
247
|
-
|
|
248
|
-
|
|
245
|
+
for (j(), r = e.length; r < t.length; r += 1)
|
|
246
|
+
o(r);
|
|
247
|
+
D();
|
|
249
248
|
}
|
|
250
249
|
},
|
|
251
|
-
i(
|
|
250
|
+
i(l) {
|
|
252
251
|
if (!i) {
|
|
253
252
|
for (let u = 0; u < e.length; u += 1)
|
|
254
253
|
_(t[u]);
|
|
255
254
|
i = !0;
|
|
256
255
|
}
|
|
257
256
|
},
|
|
258
|
-
o(
|
|
257
|
+
o(l) {
|
|
259
258
|
t = t.filter(Boolean);
|
|
260
259
|
for (let u = 0; u < t.length; u += 1)
|
|
261
260
|
p(t[u]);
|
|
262
261
|
i = !1;
|
|
263
262
|
},
|
|
264
|
-
d(
|
|
265
|
-
se(t,
|
|
263
|
+
d(l) {
|
|
264
|
+
se(t, l), l && I(n);
|
|
266
265
|
}
|
|
267
266
|
};
|
|
268
267
|
}
|
|
@@ -272,13 +271,13 @@ function ke(a) {
|
|
|
272
271
|
c() {
|
|
273
272
|
e && e.c(), n = Z();
|
|
274
273
|
},
|
|
275
|
-
m(t,
|
|
276
|
-
e && e.m(t,
|
|
274
|
+
m(t, o) {
|
|
275
|
+
e && e.m(t, o), w(t, n, o), i = !0;
|
|
277
276
|
},
|
|
278
|
-
p(t, [
|
|
279
|
-
t[4] ? e ? (e.p(t,
|
|
277
|
+
p(t, [o]) {
|
|
278
|
+
t[4] ? e ? (e.p(t, o), o & 16 && _(e, 1)) : (e = X(t), e.c(), _(e, 1), e.m(n.parentNode, n)) : e && (j(), p(e, 1, 1, () => {
|
|
280
279
|
e = null;
|
|
281
|
-
}),
|
|
280
|
+
}), D());
|
|
282
281
|
},
|
|
283
282
|
i(t) {
|
|
284
283
|
i || (_(e), i = !0);
|
|
@@ -292,14 +291,14 @@ function ke(a) {
|
|
|
292
291
|
};
|
|
293
292
|
}
|
|
294
293
|
function we(a, n, i) {
|
|
295
|
-
let e, t,
|
|
296
|
-
const O =
|
|
294
|
+
let e, t, o, { tag: l } = n, { mediaData: u } = n, { inDelay: r = 0 } = n, { outDelay: m = 0 } = n, { duration: s = 0 } = n, { unfolded: g = !0 } = n, { animation: b = !0 } = n, { playButtonIfNeed: F = "small" } = n, { canPlay: V = !0 } = n, { objectFit: q = "cover" } = n, { enableCarousel: E = !0 } = n, { autoplayConfig: k = { autoplay: !0, autoplayVideo: !1 } } = n;
|
|
295
|
+
const O = G("mediaStore"), M = G("hooks");
|
|
297
296
|
let h;
|
|
298
297
|
function B(f) {
|
|
299
298
|
!e || !h || (O.set({ currentMediaUrl: this.src }), M.emit("playStateChange", {
|
|
300
299
|
event: f,
|
|
301
300
|
state: "playing",
|
|
302
|
-
tag:
|
|
301
|
+
tag: l,
|
|
303
302
|
mediaInstance: this
|
|
304
303
|
}), h.autoplay.stop());
|
|
305
304
|
}
|
|
@@ -307,7 +306,7 @@ function we(a, n, i) {
|
|
|
307
306
|
!e || !h || (M.emit("playStateChange", {
|
|
308
307
|
event: f,
|
|
309
308
|
state: "paused",
|
|
310
|
-
tag:
|
|
309
|
+
tag: l,
|
|
311
310
|
mediaInstance: this
|
|
312
311
|
}), h.autoplay.running || h.autoplay.start());
|
|
313
312
|
}
|
|
@@ -316,7 +315,7 @@ function we(a, n, i) {
|
|
|
316
315
|
i(10, h = f.detail[0]);
|
|
317
316
|
}, ee = (f) => z(this, null, function* () {
|
|
318
317
|
var H, T, U;
|
|
319
|
-
if (!
|
|
318
|
+
if (!o || !k.autoplayVideo)
|
|
320
319
|
return;
|
|
321
320
|
const y = f.detail[0];
|
|
322
321
|
if (!y)
|
|
@@ -328,18 +327,18 @@ function we(a, n, i) {
|
|
|
328
327
|
const A = t[v];
|
|
329
328
|
if (!A || A.type !== "Video")
|
|
330
329
|
return;
|
|
331
|
-
y.autoplay.stop(), y.slides.map((
|
|
332
|
-
const
|
|
333
|
-
if (
|
|
334
|
-
|
|
335
|
-
const
|
|
336
|
-
|
|
330
|
+
y.autoplay.stop(), y.slides.map((d) => d.querySelector("video")).filter(ye).forEach((d) => d.pause());
|
|
331
|
+
const c = (H = y.slides[y.activeIndex]) == null ? void 0 : H.querySelector("video");
|
|
332
|
+
if (c && (c.removeEventListener("play", B), c.removeEventListener("pause", N), c.addEventListener("play", B), c.addEventListener("pause", N)), c) {
|
|
333
|
+
c.addEventListener("click", () => c.pause());
|
|
334
|
+
const d = (U = (T = c.parentElement) == null ? void 0 : T.getElementsByClassName("video-play-button-container")) == null ? void 0 : U[0];
|
|
335
|
+
c.addEventListener("play", () => d == null ? void 0 : d.classList.remove("showPlayButton")), c.addEventListener("pause", () => d == null ? void 0 : d.classList.add("showPlayButton")), d && (c.paused ? d.classList.add("showPlayButton") : d.classList.remove("showPlayButton"), d.addEventListener("click", () => c.play()));
|
|
337
336
|
}
|
|
338
337
|
});
|
|
339
338
|
return a.$$set = (f) => {
|
|
340
|
-
"tag" in f && i(17,
|
|
339
|
+
"tag" in f && i(17, l = f.tag), "mediaData" in f && i(0, u = f.mediaData), "inDelay" in f && i(1, r = f.inDelay), "outDelay" in f && i(2, m = f.outDelay), "duration" in f && i(3, s = f.duration), "unfolded" in f && i(4, g = f.unfolded), "animation" in f && i(5, b = f.animation), "playButtonIfNeed" in f && i(6, F = f.playButtonIfNeed), "canPlay" in f && i(7, V = f.canPlay), "objectFit" in f && i(8, q = f.objectFit), "enableCarousel" in f && i(18, E = f.enableCarousel), "autoplayConfig" in f && i(9, k = f.autoplayConfig);
|
|
341
340
|
}, a.$$.update = () => {
|
|
342
|
-
a.$$.dirty & 262145 && i(13, e = E && (u == null ? void 0 : u.length) > 1), a.$$.dirty & 1 && i(11, t = u), a.$$.dirty & 2560 && i(14,
|
|
341
|
+
a.$$.dirty & 262145 && i(13, e = E && (u == null ? void 0 : u.length) > 1), a.$$.dirty & 1 && i(11, t = u), a.$$.dirty & 2560 && i(14, o = t.length > 1 && k.autoplay), a.$$.dirty & 1024 && h && h.slides.forEach((f) => {
|
|
343
342
|
const y = f.querySelector("video");
|
|
344
343
|
y && O.subscribe(({ currentMediaUrl: v }) => {
|
|
345
344
|
v !== y.src && y.pause();
|
|
@@ -360,16 +359,16 @@ function we(a, n, i) {
|
|
|
360
359
|
t,
|
|
361
360
|
S,
|
|
362
361
|
e,
|
|
363
|
-
|
|
362
|
+
o,
|
|
364
363
|
B,
|
|
365
364
|
N,
|
|
366
|
-
|
|
365
|
+
l,
|
|
367
366
|
E,
|
|
368
367
|
$,
|
|
369
368
|
ee
|
|
370
369
|
];
|
|
371
370
|
}
|
|
372
|
-
class
|
|
371
|
+
class Je extends te {
|
|
373
372
|
constructor(n) {
|
|
374
373
|
super(), ne(
|
|
375
374
|
this,
|
|
@@ -396,5 +395,5 @@ class Ke extends te {
|
|
|
396
395
|
}
|
|
397
396
|
}
|
|
398
397
|
export {
|
|
399
|
-
|
|
398
|
+
Je as default
|
|
400
399
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { SvelteComponent as C, init as N, safe_not_equal as F, append_styles as U, empty as L, insert as _, noop as y, detach as w, element as m, attr as a, binding_callbacks as q, space as E, src_url_equal as b, toggle_class as d, set_style as z, append as k, listen as P, run_all as S } from "svelte/internal";
|
|
1
|
+
import { SvelteComponent as C, init as N, safe_not_equal as F, append_styles as U, empty as L, insert as _, noop as y, detach as w, element as m, attr as a, binding_callbacks as q, space as E, src_url_equal as b, toggle_class as d, set_style as z, append as k, listen as P, run_all as S } from "../../../vendor/svelte/internal/index.js";
|
|
2
2
|
import { Image_Play_Large as j, Image_Play_Small as B } from "../../Assets/Icon.js";
|
|
3
3
|
function M(o) {
|
|
4
4
|
U(o, "svelte-cwtvzu", ".media-item.svelte-cwtvzu.svelte-cwtvzu{height:100%}.media-content.svelte-cwtvzu.svelte-cwtvzu{width:100%;height:100%;-webkit-user-select:none;-moz-user-select:none;user-select:none;-o-object-fit:inherit;object-fit:inherit}.video-icon.svelte-cwtvzu.svelte-cwtvzu{width:12.5rem;height:6.25rem;max-width:60%;max-height:60%;position:absolute;left:50%;top:50%;transform:translate(-50%, -50%)}.video-play-button-container.svelte-cwtvzu.svelte-cwtvzu{display:none;pointer-events:auto;position:absolute;width:100%;height:100%;top:0;left:0}.video-play-button-container.showPlayButton.svelte-cwtvzu.svelte-cwtvzu{display:block}.video-icon.large.svelte-cwtvzu.svelte-cwtvzu{width:12.5rem;height:6.25rem}.video-icon.small.svelte-cwtvzu.svelte-cwtvzu{width:1.75rem;height:1.75rem}.video-icon.svelte-cwtvzu .video-icon-img.svelte-cwtvzu{width:100%;height:100%;background-position:center center;background-size:contain;background-repeat:no-repeat}.video-icon.svelte-cwtvzu .video-icon-img.canPlay.svelte-cwtvzu{cursor:pointer}");
|