@realsee/dnalogel 2.6.7-dev.6 → 2.6.7-dev.8
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/README.md +0 -20
- package/dist/index.cjs.js +44 -43
- package/dist/index.js +3648 -3801
- package/dist/index.umd.js +45 -44
- package/docs/classes/CSS3DRender.html +31 -31
- package/docs/classes/CruisePluginController.html +24 -24
- package/docs/classes/Magnifier.html +20 -20
- package/docs/classes/ModelRoomLabelController.html +11 -11
- package/docs/classes/Object3DHelperController.html +24 -24
- package/docs/classes/PaintBrush.html +15 -15
- package/docs/classes/PanoMeasurePluginLine.html +23 -23
- package/docs/classes/PanoMeasurePluginModel.html +22 -22
- package/docs/classes/PanoMeasurePluginPoint.html +14 -14
- package/docs/classes/PanoMeasurePluginPolyline.html +26 -26
- package/docs/classes/PanoTagPluginController.html +46 -46
- 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 +18 -18
- 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/PaintBrushTypeEnum.html +8 -8
- package/docs/enums/PointType.html +7 -7
- package/docs/enums/Rotation.html +8 -8
- package/docs/functions/CSS3DRenderPlugin.html +4 -4
- package/docs/functions/CameraMovementPlugin.html +4 -4
- package/docs/functions/CruisePlugin.html +4 -4
- package/docs/functions/GuideLinePlugin.html +5 -5
- package/docs/functions/ItemLabelPlugin.html +4 -4
- package/docs/functions/MapviewFloorplanPlugin.html +4 -4
- package/docs/functions/ModelChassisCompassPlugin.html +4 -4
- package/docs/functions/ModelEntryDoorGuidePlugin.html +4 -4
- package/docs/functions/ModelFloorplanPlugin.html +4 -4
- package/docs/functions/ModelItemLabelPlugin.html +4 -4
- package/docs/functions/ModelRoomLabelPlugin.html +4 -4
- package/docs/functions/ModelTVVideoPlugin.html +4 -4
- package/docs/functions/ModelViewPlugin.html +4 -4
- package/docs/functions/Object3DHelperPlugin.html +4 -4
- package/docs/functions/PanoCompassPlugin.html +4 -4
- package/docs/functions/PanoCursorRaycasterPlugin.html +4 -4
- package/docs/functions/PanoDoorLabelPlugin.html +4 -4
- package/docs/functions/PanoFloorplanRadarPlugin.html +4 -4
- package/docs/functions/PanoMeasurePlugin.html +4 -4
- package/docs/functions/PanoRulerPlugin.html +4 -4
- package/docs/functions/PanoRulerProPlugin.html +4 -4
- package/docs/functions/PanoSpatialTagPlugin.html +4 -4
- package/docs/functions/PanoTagPlugin.html +4 -4
- package/docs/functions/TopviewFloorplanPlugin.html +4 -4
- 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 +5 -5
- package/docs/index.html +4 -12
- package/docs/interfaces/AddTagConfig.html +6 -6
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +11 -11
- package/docs/interfaces/CSS3DRenderPluginState.html +8 -8
- package/docs/interfaces/CameraMovementPluginExportType.html +7 -7
- package/docs/interfaces/EventMap.html +15 -15
- 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/HelperOffset.html +8 -8
- package/docs/interfaces/ItemLabelPluginData.html +6 -6
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +11 -11
- package/docs/interfaces/ItemLabelPluginParametersType.html +9 -9
- package/docs/interfaces/MinMax.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 +11 -11
- package/docs/interfaces/Object3DHelperState.html +8 -8
- package/docs/interfaces/ObjectHelperControllers.html +9 -9
- 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 +5 -5
- package/docs/interfaces/PanoMeasureParameterType.html +12 -12
- package/docs/interfaces/PanoMeasurePluginLineJson.html +8 -8
- package/docs/interfaces/PanoMeasurePluginOpenParameter.html +7 -7
- package/docs/interfaces/PanoMeasurePluginPointJson.html +7 -7
- package/docs/interfaces/PanoMeasurePluginPolylineJson.html +8 -8
- 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 +5 -5
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +5 -5
- 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/Room.html +9 -9
- package/docs/interfaces/RoomInfo.html +7 -7
- package/docs/interfaces/RoomLabel.html +14 -14
- package/docs/interfaces/RoomRules.html +5 -5
- package/docs/interfaces/Rooms.html +5 -5
- package/docs/interfaces/Scissor.html +9 -9
- package/docs/interfaces/State.html +8 -8
- package/docs/interfaces/TagCache.html +12 -12
- package/docs/interfaces/TagConfig.html +10 -10
- package/docs/interfaces/TagIconUrl.html +9 -9
- package/docs/interfaces/Tags.html +9 -9
- package/docs/interfaces/TemporaryState.html +6 -6
- 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 +4 -4
- package/docs/types/ArrayPosition.html +5 -5
- package/docs/types/AudioAppearance.html +5 -5
- package/docs/types/AudioTagTypeConfigKey.html +5 -5
- package/docs/types/CSS3DRenderExportType.html +5 -5
- package/docs/types/CSS3DRenderPluginExportType.html +5 -5
- package/docs/types/CSS3DRenderPluginParameterType.html +5 -5
- package/docs/types/ClassFunctionParameters.html +5 -5
- package/docs/types/Color.html +5 -5
- package/docs/types/ContentTypeConfigKey.html +5 -5
- package/docs/types/ContentTypeConfigKeySplit.html +5 -5
- package/docs/types/ContentTypeMap.html +5 -5
- package/docs/types/Create3DDomContainerReturnType.html +5 -5
- package/docs/types/Create3DElementReturnType.html +5 -5
- package/docs/types/CruisePluginExportType.html +5 -5
- package/docs/types/Direction-1.html +5 -5
- package/docs/types/Direction4.html +5 -5
- package/docs/types/FloorplanRuleLabels.html +5 -5
- package/docs/types/FloorplanServerRuleLabels.html +5 -5
- package/docs/types/GuideLinePluginExportType.html +5 -5
- package/docs/types/HelperEventMap.html +5 -5
- package/docs/types/LoadTagConfig.html +5 -5
- package/docs/types/MapviewFloorplanPluginParameterType.html +5 -5
- package/docs/types/MapviewFloorplanPluginReturnType.html +5 -5
- package/docs/types/MediaData.html +5 -5
- package/docs/types/MediaStore.html +5 -5
- package/docs/types/ModelElement.html +5 -5
- package/docs/types/ModelEntryDoorGuidePluginParameterType.html +5 -5
- package/docs/types/ModelFloorplanPluginParameterType.html +5 -5
- package/docs/types/ModelFloorplanPluginReturnType.html +5 -5
- package/docs/types/ModelRoomLabelPluginParameters.html +5 -5
- package/docs/types/ModelRoomLabelPluginReturnType.html +5 -5
- package/docs/types/MoveArgs.html +5 -5
- package/docs/types/MoveOpts.html +5 -5
- package/docs/types/Object3DHelperEventMap.html +5 -5
- package/docs/types/ObjectFit.html +5 -5
- package/docs/types/PaintBrushEventMap.html +5 -5
- package/docs/types/PanoCompassPluginData.html +5 -5
- package/docs/types/PanoCompassPluginExportType.html +5 -5
- package/docs/types/PanoCompassPluginParameterType.html +5 -5
- package/docs/types/PanoFloorplanRadarPluginParameterType.html +5 -5
- package/docs/types/PanoFloorplanRadarPluginReturnType.html +5 -5
- package/docs/types/PanoIndex.html +5 -5
- package/docs/types/PanoMeasurePluginEvent.html +5 -5
- package/docs/types/PanoMeasureReturnType.html +5 -5
- package/docs/types/PanoSpatialTagPluginId.html +5 -5
- package/docs/types/PanoTagPluginExportInterface.html +5 -5
- package/docs/types/PanoTagPluginParamsInterface.html +5 -5
- package/docs/types/PlaneTag.html +5 -5
- package/docs/types/PlaneTagElement.html +5 -5
- package/docs/types/Point2DElement.html +5 -5
- package/docs/types/Point2DTag.html +5 -5
- package/docs/types/Point3DElement.html +5 -5
- package/docs/types/Point3DTag.html +5 -5
- package/docs/types/PointTag.html +5 -5
- package/docs/types/PointTagElement.html +5 -5
- package/docs/types/Position.html +5 -5
- package/docs/types/RotateArgs.html +5 -5
- package/docs/types/RotateOpts.html +5 -5
- package/docs/types/RuleLabelsKey.html +5 -5
- package/docs/types/RuleLabelsValue.html +5 -5
- package/docs/types/StickType.html +5 -5
- package/docs/types/Tag.html +5 -5
- package/docs/types/Tag2D.html +5 -5
- package/docs/types/Tag3D.html +5 -5
- package/docs/types/TagContentType.html +5 -5
- package/docs/types/TagDimensionType.html +5 -5
- package/docs/types/TagElement.html +5 -5
- package/docs/types/TagEvents.html +5 -5
- package/docs/types/TagGLTFObject.html +5 -5
- package/docs/types/TagHooks.html +5 -5
- package/docs/types/TagIconSize.html +5 -5
- package/docs/types/TagId.html +5 -5
- package/docs/types/TagPointType.html +5 -5
- package/docs/types/TopviewFloorplanPluginParameterType.html +5 -5
- package/docs/types/TopviewFloorplanPluginReturnType.html +5 -5
- package/docs/types/WorkCode.html +5 -5
- package/docs/variables/FLOOR_TYPE_MAP.html +5 -5
- package/docs/variables/PLUGIN.html +5 -5
- package/docs/variables/ROOM_FETILE_TYPE_MAP.html +5 -5
- package/docs/variables/ROOM_TYPE_MAP.html +5 -5
- package/docs/variables/VERSION.html +5 -5
- package/docs/variables/itemLabelPluginServerParams.html +5 -5
- package/docs/variables/modelItemLabelPluginServerParams.html +5 -5
- package/docs/variables/modelRoomLabelPluginServerParams.html +5 -5
- package/libs/PanoTagPlugin/Components/Common/Media.js +177 -210
- package/libs/PanoTagPlugin/Components/Common/MediaItem.js +73 -73
- package/libs/PanoTagPlugin/Components/Tag/ImageTextTag.js +7 -7
- package/libs/PanoTagPlugin/Components/Tag/MediaPlane.js +9 -11
- package/libs/PanoTagPlugin/Components/Tag/index.js +9 -8
- package/libs/PanoTagPlugin/Components/TagContainer.js +10 -9
- package/libs/PanoTagPlugin/Components/TagItem.js +9 -8
- package/libs/PanoTagPlugin/controller/TagComputer.js +49 -48
- package/libs/PanoTagPlugin/controller/index.js +18 -17
- package/libs/PanoTagPlugin/index.js +19 -18
- package/libs/index.js +108 -107
- package/libs/vendor/simply-reactive/main.js +3 -0
- package/libs/vendor/simply-reactive/src/simply-reactive.js +44 -0
- package/libs/vendor/simply-reactive/src/utils/object.js +12 -0
- package/libs/vendor/simply-reactive/src/utils/subscription.js +28 -0
- package/libs/vendor/simply-reactive/src/utils/watcher.js +17 -0
- package/libs/vendor/svelte/internal/index.js +200 -221
- package/libs/vendor/svelte-carousel/src/components/Carousel/Carousel.js +1 -1
- package/libs/vendor/svelte-carousel/src/components/Carousel/createCarousel.js +1 -1
- package/package.json +4 -3
- package/libs/vendor/swiper/components-shared/get-changed-params.js +0 -1
- package/libs/vendor/swiper/components-shared/get-params.js +0 -1
- package/libs/vendor/swiper/components-shared/mount-swiper.js +0 -1
- package/libs/vendor/swiper/components-shared/params-list.js +0 -1
- package/libs/vendor/swiper/components-shared/update-swiper.js +0 -1
- package/libs/vendor/swiper/components-shared/utils.js +0 -9
- package/libs/vendor/swiper/svelte/swiper-slide.js +0 -181
- package/libs/vendor/swiper/svelte/swiper-svelte.js +0 -2
- package/libs/vendor/swiper/svelte/swiper.js +0 -2
|
@@ -1,146 +1,146 @@
|
|
|
1
|
-
import { SvelteComponent as O, init as W, safe_not_equal as H, append_styles as T, empty as M, insert as
|
|
1
|
+
import { SvelteComponent as O, init as W, safe_not_equal as H, append_styles as T, empty as M, insert as g, noop as w, detach as y, getContext as B, onMount as A, element as _, attr as a, binding_callbacks as J, space as R, set_style as P, toggle_class as v, append as C, listen as q, src_url_equal as p, run_all as X } from "../../../vendor/svelte/internal/index.js";
|
|
2
2
|
import { Image_Play_Icon_With_Text as D, Image_Play_Icon as G } from "../../Assets/Icon.js";
|
|
3
3
|
function K(n) {
|
|
4
|
-
T(n, "svelte-
|
|
4
|
+
T(n, "svelte-bh2qfj", ".media-item.svelte-bh2qfj.svelte-bh2qfj{position:relative;height:100%}.media-content.svelte-bh2qfj.svelte-bh2qfj{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-bh2qfj.svelte-bh2qfj{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-bh2qfj.svelte-bh2qfj{display:none;pointer-events:auto;position:absolute;width:100%;height:100%;top:0;left:0;transform:translate3d(0, 0, 0)}.video-play-button-container.showPlayButton.svelte-bh2qfj.svelte-bh2qfj{display:block}.video-icon.large.svelte-bh2qfj.svelte-bh2qfj{width:12.5rem;height:6.25rem}.video-icon.small.svelte-bh2qfj.svelte-bh2qfj{width:1.75rem;height:1.75rem}.video-icon.svelte-bh2qfj .video-icon-img.svelte-bh2qfj{width:100%;height:100%;background-position:center center;background-size:contain;background-repeat:no-repeat}.video-icon.svelte-bh2qfj .video-icon-img.canPlay.svelte-bh2qfj{cursor:pointer}");
|
|
5
5
|
}
|
|
6
|
-
function
|
|
6
|
+
function S(n) {
|
|
7
7
|
let e;
|
|
8
|
-
function t(
|
|
9
|
-
if (
|
|
8
|
+
function t(o, s) {
|
|
9
|
+
if (o[2].type === "Image")
|
|
10
10
|
return Y;
|
|
11
|
-
if (
|
|
11
|
+
if (o[2].type === "Video")
|
|
12
12
|
return Q;
|
|
13
13
|
}
|
|
14
|
-
let
|
|
14
|
+
let l = t(n), i = l && l(n);
|
|
15
15
|
return {
|
|
16
16
|
c() {
|
|
17
|
-
e =
|
|
17
|
+
e = _("div"), i && i.c(), a(e, "class", "media-item svelte-bh2qfj"), a(e, "draggable", "false");
|
|
18
18
|
},
|
|
19
|
-
m(
|
|
20
|
-
|
|
19
|
+
m(o, s) {
|
|
20
|
+
g(o, e, s), i && i.m(e, null);
|
|
21
21
|
},
|
|
22
|
-
p(
|
|
23
|
-
|
|
22
|
+
p(o, s) {
|
|
23
|
+
l === (l = t(o)) && i ? i.p(o, s) : (i && i.d(1), i = l && l(o), i && (i.c(), i.m(e, null)));
|
|
24
24
|
},
|
|
25
|
-
d(
|
|
26
|
-
|
|
25
|
+
d(o) {
|
|
26
|
+
o && y(e), i && i.d();
|
|
27
27
|
}
|
|
28
28
|
};
|
|
29
29
|
}
|
|
30
30
|
function Q(n) {
|
|
31
|
-
let e, t,
|
|
32
|
-
function
|
|
31
|
+
let e, t, l, i, o, s;
|
|
32
|
+
function b(u, m) {
|
|
33
33
|
return u[7] && u[2].videoCoverUrl ? x : Z;
|
|
34
34
|
}
|
|
35
|
-
let c =
|
|
35
|
+
let c = b(n), d = c(n);
|
|
36
36
|
return {
|
|
37
37
|
c() {
|
|
38
|
-
d.c(), e = R(), t =
|
|
38
|
+
d.c(), e = R(), t = _("div"), l = _("div"), i = _("div"), a(i, "class", "video-icon-img svelte-bh2qfj"), P(i, "background-image", "url(" + n[17]() + ")"), v(i, "canPlay", n[5]), a(l, "class", "video-icon svelte-bh2qfj"), v(l, "large", n[4] === "large"), v(l, "small", n[4] === "small"), a(t, "class", "video-play-button-container svelte-bh2qfj"), v(t, "showPlayButton", n[9]);
|
|
39
39
|
},
|
|
40
40
|
m(u, m) {
|
|
41
|
-
d.m(u, m),
|
|
41
|
+
d.m(u, m), g(u, e, m), g(u, t, m), C(t, l), C(l, i), o || (s = q(i, "click", n[18]), o = !0);
|
|
42
42
|
},
|
|
43
43
|
p(u, m) {
|
|
44
|
-
c === (c =
|
|
44
|
+
c === (c = b(u)) && d ? d.p(u, m) : (d.d(1), d = c(u), d && (d.c(), d.m(e.parentNode, e))), m & 8 && P(i, "background-image", "url(" + u[17]() + ")"), m & 32 && v(i, "canPlay", u[5]), m & 16 && v(l, "large", u[4] === "large"), m & 16 && v(l, "small", u[4] === "small"), m & 512 && v(t, "showPlayButton", u[9]);
|
|
45
45
|
},
|
|
46
46
|
d(u) {
|
|
47
|
-
d.d(u), u &&
|
|
47
|
+
d.d(u), u && y(e), u && y(t), o = !1, s();
|
|
48
48
|
}
|
|
49
49
|
};
|
|
50
50
|
}
|
|
51
51
|
function Y(n) {
|
|
52
|
-
let e, t,
|
|
52
|
+
let e, t, l, i;
|
|
53
53
|
return {
|
|
54
54
|
c() {
|
|
55
|
-
e =
|
|
55
|
+
e = _("img"), a(e, "class", "media-content svelte-bh2qfj"), a(e, "style", t = `object-fit: ${n[6]};`), p(e.src, l = n[2].url) || a(e, "src", l), a(e, "alt", i = n[2].name), a(e, "draggable", !1);
|
|
56
56
|
},
|
|
57
|
-
m(
|
|
58
|
-
|
|
57
|
+
m(o, s) {
|
|
58
|
+
g(o, e, s);
|
|
59
59
|
},
|
|
60
|
-
p(
|
|
61
|
-
|
|
60
|
+
p(o, s) {
|
|
61
|
+
s & 64 && t !== (t = `object-fit: ${o[6]};`) && a(e, "style", t), s & 4 && !p(e.src, l = o[2].url) && a(e, "src", l), s & 4 && i !== (i = o[2].name) && a(e, "alt", i);
|
|
62
62
|
},
|
|
63
|
-
d(
|
|
64
|
-
|
|
63
|
+
d(o) {
|
|
64
|
+
o && y(e);
|
|
65
65
|
}
|
|
66
66
|
};
|
|
67
67
|
}
|
|
68
68
|
function Z(n) {
|
|
69
|
-
let e, t,
|
|
69
|
+
let e, t, l, i, o, s, b;
|
|
70
70
|
return {
|
|
71
71
|
c() {
|
|
72
|
-
e =
|
|
72
|
+
e = _("video"), a(e, "class", "media-content svelte-bh2qfj"), a(e, "style", t = `object-fit: ${n[6]};`), p(e.src, l = n[2].videoCoverUrl ? n[2].url : n[2].url + "#t=0.1") || a(e, "src", l), a(e, "poster", i = n[2].videoCoverUrl), a(e, "preload", o = n[2].videoCoverUrl ? "none" : "auto"), a(e, "disablepictureinpicture", ""), e.playsInline = !0, a(e, "paused", ""), e.muted = !0, a(e, "draggable", !1), e.loop = !1, a(e, "crossorigin", ""), e.controls = !1, v(e, "showPlayButton", n[9]), P(e, "position", "relative");
|
|
73
73
|
},
|
|
74
74
|
m(c, d) {
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
],
|
|
75
|
+
g(c, e, d), n[16](e), s || (b = [
|
|
76
|
+
q(e, "play", n[13]),
|
|
77
|
+
q(e, "pause", n[14]),
|
|
78
|
+
q(e, "click", n[15])
|
|
79
|
+
], s = !0);
|
|
80
80
|
},
|
|
81
81
|
p(c, d) {
|
|
82
|
-
d & 64 && t !== (t = `object-fit: ${c[6]};`) &&
|
|
82
|
+
d & 64 && t !== (t = `object-fit: ${c[6]};`) && a(e, "style", t), d & 4 && !p(e.src, l = c[2].videoCoverUrl ? c[2].url : c[2].url + "#t=0.1") && a(e, "src", l), d & 4 && i !== (i = c[2].videoCoverUrl) && a(e, "poster", i), d & 4 && o !== (o = c[2].videoCoverUrl ? "none" : "auto") && a(e, "preload", o), d & 512 && v(e, "showPlayButton", c[9]);
|
|
83
83
|
},
|
|
84
84
|
d(c) {
|
|
85
|
-
c &&
|
|
85
|
+
c && y(e), n[16](null), s = !1, X(b);
|
|
86
86
|
}
|
|
87
87
|
};
|
|
88
88
|
}
|
|
89
89
|
function x(n) {
|
|
90
|
-
let e, t,
|
|
90
|
+
let e, t, l, i;
|
|
91
91
|
return {
|
|
92
92
|
c() {
|
|
93
|
-
e =
|
|
93
|
+
e = _("img"), a(e, "class", "media-content svelte-bh2qfj"), a(e, "style", t = `object-fit: ${n[6]};`), p(e.src, l = n[2].videoCoverUrl) || a(e, "src", l), a(e, "alt", i = n[2].name), a(e, "draggable", !1);
|
|
94
94
|
},
|
|
95
|
-
m(
|
|
96
|
-
|
|
95
|
+
m(o, s) {
|
|
96
|
+
g(o, e, s);
|
|
97
97
|
},
|
|
98
|
-
p(
|
|
99
|
-
|
|
98
|
+
p(o, s) {
|
|
99
|
+
s & 64 && t !== (t = `object-fit: ${o[6]};`) && a(e, "style", t), s & 4 && !p(e.src, l = o[2].videoCoverUrl) && a(e, "src", l), s & 4 && i !== (i = o[2].name) && a(e, "alt", i);
|
|
100
100
|
},
|
|
101
|
-
d(
|
|
102
|
-
|
|
101
|
+
d(o) {
|
|
102
|
+
o && y(e);
|
|
103
103
|
}
|
|
104
104
|
};
|
|
105
105
|
}
|
|
106
106
|
function $(n) {
|
|
107
|
-
let e, t = n[2] &&
|
|
107
|
+
let e, t = n[2] && S(n);
|
|
108
108
|
return {
|
|
109
109
|
c() {
|
|
110
110
|
t && t.c(), e = M();
|
|
111
111
|
},
|
|
112
|
-
m(
|
|
113
|
-
t && t.m(
|
|
112
|
+
m(l, i) {
|
|
113
|
+
t && t.m(l, i), g(l, e, i);
|
|
114
114
|
},
|
|
115
|
-
p(
|
|
116
|
-
|
|
115
|
+
p(l, [i]) {
|
|
116
|
+
l[2] ? t ? t.p(l, i) : (t = S(l), t.c(), t.m(e.parentNode, e)) : t && (t.d(1), t = null);
|
|
117
117
|
},
|
|
118
|
-
i:
|
|
119
|
-
o:
|
|
120
|
-
d(
|
|
121
|
-
t && t.d(
|
|
118
|
+
i: w,
|
|
119
|
+
o: w,
|
|
120
|
+
d(l) {
|
|
121
|
+
t && t.d(l), l && y(e);
|
|
122
122
|
}
|
|
123
123
|
};
|
|
124
124
|
}
|
|
125
125
|
function ee(n, e, t) {
|
|
126
|
-
let {
|
|
127
|
-
const
|
|
126
|
+
let { mediaInstance: l = { paused: !0 } } = e, { tag: i } = e, { media: o } = e, { playButtonIfNeed: s = "withoutText" } = e, { playButtonSizeIfNeed: b = "small" } = e, { canPlay: c = !0 } = e, { objectFit: d = "cover" } = e, { disableVideoIfHavePoster: u = !1 } = e, m = (o == null ? void 0 : o.type) === "Video" && Boolean(o == null ? void 0 : o.videoCoverUrl), f, j = !0;
|
|
127
|
+
const I = B("mediaStore"), k = B("hooks"), h = () => {
|
|
128
128
|
m || (f == null || f.play(), f == null || f.pause(), t(12, m = !0));
|
|
129
129
|
};
|
|
130
|
-
|
|
131
|
-
|
|
130
|
+
k.on("loadVideoFirstFrame", h), A(() => {
|
|
131
|
+
I.subscribe(({ currentMediaElement: r }) => {
|
|
132
132
|
r !== f && (f == null || f.pause());
|
|
133
133
|
});
|
|
134
134
|
});
|
|
135
135
|
const N = (r) => {
|
|
136
|
-
t(9,
|
|
136
|
+
t(9, j = !1), t(0, l.paused = !1, l), I.set({ currentMediaElement: f }), k.emit("playStateChange", {
|
|
137
137
|
event: r,
|
|
138
138
|
state: "playing",
|
|
139
139
|
tag: i,
|
|
140
140
|
mediaInstance: f
|
|
141
141
|
});
|
|
142
142
|
}, U = (r) => {
|
|
143
|
-
t(9,
|
|
143
|
+
t(9, j = !0), t(0, l.paused = !0, l), k.emit("playStateChange", {
|
|
144
144
|
event: r,
|
|
145
145
|
state: "paused",
|
|
146
146
|
tag: i,
|
|
@@ -154,29 +154,29 @@ function ee(n, e, t) {
|
|
|
154
154
|
f = r, t(8, f);
|
|
155
155
|
});
|
|
156
156
|
}
|
|
157
|
-
const E = () =>
|
|
157
|
+
const E = () => s === "withText" ? D : s === "withoutText" ? G : s, z = (r) => {
|
|
158
158
|
!c || f && (t(8, f.muted = !1, f), f.play());
|
|
159
159
|
};
|
|
160
160
|
return n.$$set = (r) => {
|
|
161
|
-
"
|
|
161
|
+
"mediaInstance" in r && t(0, l = r.mediaInstance), "tag" in r && t(1, i = r.tag), "media" in r && t(2, o = r.media), "playButtonIfNeed" in r && t(3, s = r.playButtonIfNeed), "playButtonSizeIfNeed" in r && t(4, b = r.playButtonSizeIfNeed), "canPlay" in r && t(5, c = r.canPlay), "objectFit" in r && t(6, d = r.objectFit), "disableVideoIfHavePoster" in r && t(7, u = r.disableVideoIfHavePoster);
|
|
162
162
|
}, n.$$.update = () => {
|
|
163
|
-
if (n.$$.dirty & 256 && f && t(9,
|
|
163
|
+
if (n.$$.dirty & 256 && f && t(9, j = f.paused), n.$$.dirty & 4356 && (o == null ? void 0 : o.type) === "Video" && !m) {
|
|
164
164
|
const r = navigator.userAgent.toLowerCase().indexOf("micromessenger") !== -1, F = navigator.userAgent.toLowerCase().indexOf("iphone") !== -1 && r;
|
|
165
|
-
f && F && f.paused && (document.removeEventListener("WeixinJSBridgeReady",
|
|
165
|
+
f && F && f.paused && (document.removeEventListener("WeixinJSBridgeReady", h), document.removeEventListener("touchstart", h), document.removeEventListener("click", h), document.addEventListener("WeixinJSBridgeReady", h), document.addEventListener("touchstart", h), document.addEventListener("click", h));
|
|
166
166
|
}
|
|
167
167
|
}, [
|
|
168
|
-
o,
|
|
169
|
-
i,
|
|
170
168
|
l,
|
|
171
|
-
|
|
172
|
-
|
|
169
|
+
i,
|
|
170
|
+
o,
|
|
171
|
+
s,
|
|
172
|
+
b,
|
|
173
173
|
c,
|
|
174
174
|
d,
|
|
175
175
|
u,
|
|
176
176
|
f,
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
177
|
+
j,
|
|
178
|
+
I,
|
|
179
|
+
k,
|
|
180
180
|
m,
|
|
181
181
|
N,
|
|
182
182
|
U,
|
|
@@ -195,7 +195,7 @@ class oe extends O {
|
|
|
195
195
|
$,
|
|
196
196
|
H,
|
|
197
197
|
{
|
|
198
|
-
|
|
198
|
+
mediaInstance: 0,
|
|
199
199
|
tag: 1,
|
|
200
200
|
media: 2,
|
|
201
201
|
playButtonIfNeed: 3,
|
|
@@ -31,16 +31,16 @@ import "../../../vendor/svelte-carousel/src/utils/page.js";
|
|
|
31
31
|
import "../../../vendor/svelte-carousel/src/utils/clones.js";
|
|
32
32
|
import "../../../vendor/svelte-carousel/src/utils/object.js";
|
|
33
33
|
import "../../../vendor/svelte-carousel/src/components/Carousel/createCarousel.js";
|
|
34
|
-
import "simply-reactive";
|
|
34
|
+
import "../../../vendor/simply-reactive/src/simply-reactive.js";
|
|
35
|
+
import "lodash.get";
|
|
36
|
+
import "lodash.clonedeep";
|
|
37
|
+
import "../../../vendor/simply-reactive/src/utils/subscription.js";
|
|
38
|
+
import "../../../vendor/simply-reactive/src/utils/object.js";
|
|
39
|
+
import "lodash.isequal";
|
|
40
|
+
import "../../../vendor/simply-reactive/src/utils/watcher.js";
|
|
35
41
|
import "../../../vendor/svelte-carousel/src/utils/lazy.js";
|
|
36
42
|
import "../../../vendor/svelte-carousel/src/utils/ProgressManager.js";
|
|
37
43
|
import "../../../vendor/svelte-carousel/src/utils/interval.js";
|
|
38
|
-
import "swiper";
|
|
39
|
-
import "../../../vendor/swiper/svelte/swiper-slide.js";
|
|
40
|
-
import "../../../vendor/swiper/components-shared/utils.js";
|
|
41
|
-
import "swiper/css";
|
|
42
|
-
import "swiper/css/autoplay";
|
|
43
|
-
import "../../utils/noTypecheck.js";
|
|
44
44
|
import "../Common/MediaItem.js";
|
|
45
45
|
import "../../Assets/Icon.js";
|
|
46
46
|
function V(l) {
|
|
@@ -19,20 +19,18 @@ import "../../../vendor/svelte-carousel/src/utils/page.js";
|
|
|
19
19
|
import "../../../vendor/svelte-carousel/src/utils/clones.js";
|
|
20
20
|
import "../../../vendor/svelte-carousel/src/utils/object.js";
|
|
21
21
|
import "../../../vendor/svelte-carousel/src/components/Carousel/createCarousel.js";
|
|
22
|
-
import "simply-reactive";
|
|
22
|
+
import "../../../vendor/simply-reactive/src/simply-reactive.js";
|
|
23
|
+
import "lodash.get";
|
|
24
|
+
import "lodash.clonedeep";
|
|
25
|
+
import "../../../vendor/simply-reactive/src/utils/subscription.js";
|
|
26
|
+
import "../../../vendor/simply-reactive/src/utils/object.js";
|
|
27
|
+
import "lodash.isequal";
|
|
28
|
+
import "../../../vendor/simply-reactive/src/utils/watcher.js";
|
|
23
29
|
import "../../../vendor/svelte-carousel/src/utils/lazy.js";
|
|
24
30
|
import "../../../vendor/svelte-carousel/src/utils/ProgressManager.js";
|
|
25
31
|
import "../../../vendor/svelte-carousel/src/utils/interval.js";
|
|
26
32
|
import "../../../vendor/svelte/transition/index.js";
|
|
27
33
|
import "../../../vendor/svelte/easing/index.js";
|
|
28
|
-
import "swiper";
|
|
29
|
-
import "../../../vendor/swiper/svelte/swiper-slide.js";
|
|
30
|
-
import "../../../vendor/swiper/components-shared/utils.js";
|
|
31
|
-
import "swiper/css";
|
|
32
|
-
import "swiper/css/autoplay";
|
|
33
|
-
import "three";
|
|
34
|
-
import "../../utils/noTypecheck.js";
|
|
35
|
-
import "@realsee/five/gltf-loader";
|
|
36
34
|
import "../Common/MediaItem.js";
|
|
37
35
|
import "../../Assets/Icon.js";
|
|
38
36
|
function M(o) {
|
|
@@ -124,11 +122,11 @@ function S(o, r, i) {
|
|
|
124
122
|
}), o.$$.dirty & 1 && i(2, l = (s = p.data.objectFit) != null ? s : (() => p.data.adaptationMode === "stretch" ? "cover" : p.data.adaptationMode === "proportional" ? "contain" : void 0)());
|
|
125
123
|
}, [p, t, l, m, n, a, e];
|
|
126
124
|
}
|
|
127
|
-
class
|
|
125
|
+
class ct extends _ {
|
|
128
126
|
constructor(r) {
|
|
129
127
|
super(), b(this, r, S, v, I, { tag: 0 }, M);
|
|
130
128
|
}
|
|
131
129
|
}
|
|
132
130
|
export {
|
|
133
|
-
|
|
131
|
+
ct as default
|
|
134
132
|
};
|
|
@@ -49,15 +49,16 @@ import "../../../vendor/svelte-carousel/src/utils/page.js";
|
|
|
49
49
|
import "../../../vendor/svelte-carousel/src/utils/clones.js";
|
|
50
50
|
import "../../../vendor/svelte-carousel/src/utils/object.js";
|
|
51
51
|
import "../../../vendor/svelte-carousel/src/components/Carousel/createCarousel.js";
|
|
52
|
-
import "simply-reactive";
|
|
52
|
+
import "../../../vendor/simply-reactive/src/simply-reactive.js";
|
|
53
|
+
import "lodash.get";
|
|
54
|
+
import "lodash.clonedeep";
|
|
55
|
+
import "../../../vendor/simply-reactive/src/utils/subscription.js";
|
|
56
|
+
import "../../../vendor/simply-reactive/src/utils/object.js";
|
|
57
|
+
import "lodash.isequal";
|
|
58
|
+
import "../../../vendor/simply-reactive/src/utils/watcher.js";
|
|
53
59
|
import "../../../vendor/svelte-carousel/src/utils/lazy.js";
|
|
54
60
|
import "../../../vendor/svelte-carousel/src/utils/ProgressManager.js";
|
|
55
61
|
import "../../../vendor/svelte-carousel/src/utils/interval.js";
|
|
56
|
-
import "swiper";
|
|
57
|
-
import "../../../vendor/swiper/svelte/swiper-slide.js";
|
|
58
|
-
import "../../../vendor/swiper/components-shared/utils.js";
|
|
59
|
-
import "swiper/css";
|
|
60
|
-
import "swiper/css/autoplay";
|
|
61
62
|
import "../Common/MediaItem.js";
|
|
62
63
|
import "hammerjs";
|
|
63
64
|
import "@realsee/five";
|
|
@@ -395,7 +396,7 @@ function CA(o, A, t) {
|
|
|
395
396
|
N
|
|
396
397
|
];
|
|
397
398
|
}
|
|
398
|
-
class
|
|
399
|
+
class it extends z {
|
|
399
400
|
constructor(A) {
|
|
400
401
|
super(), R(
|
|
401
402
|
this,
|
|
@@ -416,5 +417,5 @@ class tt extends z {
|
|
|
416
417
|
}
|
|
417
418
|
}
|
|
418
419
|
export {
|
|
419
|
-
|
|
420
|
+
it as default
|
|
420
421
|
};
|
|
@@ -44,16 +44,16 @@ import "../../vendor/svelte-carousel/src/utils/page.js";
|
|
|
44
44
|
import "../../vendor/svelte-carousel/src/utils/clones.js";
|
|
45
45
|
import "../../vendor/svelte-carousel/src/utils/object.js";
|
|
46
46
|
import "../../vendor/svelte-carousel/src/components/Carousel/createCarousel.js";
|
|
47
|
-
import "simply-reactive";
|
|
47
|
+
import "../../vendor/simply-reactive/src/simply-reactive.js";
|
|
48
|
+
import "lodash.get";
|
|
49
|
+
import "lodash.clonedeep";
|
|
50
|
+
import "../../vendor/simply-reactive/src/utils/subscription.js";
|
|
51
|
+
import "../../vendor/simply-reactive/src/utils/object.js";
|
|
52
|
+
import "lodash.isequal";
|
|
53
|
+
import "../../vendor/simply-reactive/src/utils/watcher.js";
|
|
48
54
|
import "../../vendor/svelte-carousel/src/utils/lazy.js";
|
|
49
55
|
import "../../vendor/svelte-carousel/src/utils/ProgressManager.js";
|
|
50
56
|
import "../../vendor/svelte-carousel/src/utils/interval.js";
|
|
51
|
-
import "swiper";
|
|
52
|
-
import "../../vendor/swiper/svelte/swiper-slide.js";
|
|
53
|
-
import "../../vendor/swiper/components-shared/utils.js";
|
|
54
|
-
import "swiper/css";
|
|
55
|
-
import "swiper/css/autoplay";
|
|
56
|
-
import "../utils/noTypecheck.js";
|
|
57
57
|
import "./Common/MediaItem.js";
|
|
58
58
|
import "./Tag/MarketingTag.js";
|
|
59
59
|
import "hammerjs";
|
|
@@ -75,6 +75,7 @@ import "../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
|
75
75
|
import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
76
76
|
import "../../shared-utils/animationFrame/BetterTween.js";
|
|
77
77
|
import "../../shared-utils/animationFrame/index.js";
|
|
78
|
+
import "../utils/noTypecheck.js";
|
|
78
79
|
import "../utils/tag/tagCheck.js";
|
|
79
80
|
import "./Tag/AudioTag/index.js";
|
|
80
81
|
import "./Tag/AudioTag/AudioTag.js";
|
|
@@ -205,7 +206,7 @@ function F(a, t, o) {
|
|
|
205
206
|
"withAnimation" in p && o(0, i = p.withAnimation), "tags" in p && o(1, m = p.tags), "hooks" in p && o(5, r = p.hooks), "mediaStore" in p && o(2, l = p.mediaStore), "state" in p && o(3, e = p.state), "temporaryState" in p && o(4, n = p.temporaryState);
|
|
206
207
|
}, [i, m, l, e, n, r];
|
|
207
208
|
}
|
|
208
|
-
class
|
|
209
|
+
class vi extends S {
|
|
209
210
|
constructor(t) {
|
|
210
211
|
super(), v(
|
|
211
212
|
this,
|
|
@@ -226,5 +227,5 @@ class Si extends S {
|
|
|
226
227
|
}
|
|
227
228
|
}
|
|
228
229
|
export {
|
|
229
|
-
|
|
230
|
+
vi as default
|
|
230
231
|
};
|
|
@@ -45,15 +45,16 @@ import "../../vendor/svelte-carousel/src/utils/page.js";
|
|
|
45
45
|
import "../../vendor/svelte-carousel/src/utils/clones.js";
|
|
46
46
|
import "../../vendor/svelte-carousel/src/utils/object.js";
|
|
47
47
|
import "../../vendor/svelte-carousel/src/components/Carousel/createCarousel.js";
|
|
48
|
-
import "simply-reactive";
|
|
48
|
+
import "../../vendor/simply-reactive/src/simply-reactive.js";
|
|
49
|
+
import "lodash.get";
|
|
50
|
+
import "lodash.clonedeep";
|
|
51
|
+
import "../../vendor/simply-reactive/src/utils/subscription.js";
|
|
52
|
+
import "../../vendor/simply-reactive/src/utils/object.js";
|
|
53
|
+
import "lodash.isequal";
|
|
54
|
+
import "../../vendor/simply-reactive/src/utils/watcher.js";
|
|
49
55
|
import "../../vendor/svelte-carousel/src/utils/lazy.js";
|
|
50
56
|
import "../../vendor/svelte-carousel/src/utils/ProgressManager.js";
|
|
51
57
|
import "../../vendor/svelte-carousel/src/utils/interval.js";
|
|
52
|
-
import "swiper";
|
|
53
|
-
import "../../vendor/swiper/svelte/swiper-slide.js";
|
|
54
|
-
import "../../vendor/swiper/components-shared/utils.js";
|
|
55
|
-
import "swiper/css";
|
|
56
|
-
import "swiper/css/autoplay";
|
|
57
58
|
import "./Common/MediaItem.js";
|
|
58
59
|
import "./Tag/MarketingTag.js";
|
|
59
60
|
import "hammerjs";
|
|
@@ -248,7 +249,7 @@ function it(o, e, t) {
|
|
|
248
249
|
a
|
|
249
250
|
];
|
|
250
251
|
}
|
|
251
|
-
class
|
|
252
|
+
class Je extends K {
|
|
252
253
|
constructor(e) {
|
|
253
254
|
super(), M(
|
|
254
255
|
this,
|
|
@@ -268,5 +269,5 @@ class He extends K {
|
|
|
268
269
|
}
|
|
269
270
|
}
|
|
270
271
|
export {
|
|
271
|
-
|
|
272
|
+
Je as default
|
|
272
273
|
};
|