@realsee/dnalogel 2.10.4 → 2.11.0-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/Controller.d.ts +1 -0
- package/dist/PanoTagPlugin/controller/index.d.ts +0 -2
- package/dist/PanoTagPlugin/typings/tag/Tag.d.ts +2 -7
- package/dist/PanoTagPlugin/typings/tag/Utils.d.ts +11 -0
- package/dist/PanoTagPlugin/utils/getImageInfo.d.ts +8 -10
- package/dist/PanoTagPlugin/utils/px2rem.d.ts +3 -1
- package/dist/base/BasePlugin.d.ts +4 -0
- package/dist/index.cjs.js +57 -57
- package/dist/index.js +4157 -3912
- package/dist/index.umd.js +50 -50
- package/docs/assets/search.js +1 -1
- package/docs/classes/CSS3DRender.html +31 -31
- package/docs/classes/CruisePluginController.html +35 -25
- package/docs/classes/Magnifier.html +20 -20
- package/docs/classes/ModelRoomLabelController.html +11 -11
- package/docs/classes/Object3DHelperController.html +39 -29
- 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 +99 -143
- 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 +19 -19
- 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 +5 -4
- package/docs/functions/CameraMovementPlugin.html +5 -4
- package/docs/functions/CruisePlugin.html +5 -4
- package/docs/functions/GuideLinePlugin.html +6 -5
- package/docs/functions/ItemLabelPlugin.html +5 -4
- package/docs/functions/MapviewFloorplanPlugin.html +5 -4
- package/docs/functions/ModelChassisCompassPlugin.html +5 -4
- package/docs/functions/ModelEntryDoorGuidePlugin.html +5 -4
- package/docs/functions/ModelFloorplanPlugin.html +5 -4
- package/docs/functions/ModelItemLabelPlugin.html +5 -4
- package/docs/functions/ModelRoomLabelPlugin.html +5 -4
- package/docs/functions/ModelTVVideoPlugin.html +5 -4
- package/docs/functions/ModelViewPlugin.html +5 -4
- package/docs/functions/Object3DHelperPlugin.html +5 -4
- package/docs/functions/PanoCompassPlugin.html +5 -4
- package/docs/functions/PanoCursorRaycasterPlugin.html +5 -4
- package/docs/functions/PanoDoorLabelPlugin.html +5 -4
- package/docs/functions/PanoFloorplanRadarPlugin.html +5 -4
- package/docs/functions/PanoMeasurePlugin.html +5 -4
- package/docs/functions/PanoRulerPlugin.html +5 -4
- package/docs/functions/PanoRulerProPlugin.html +5 -4
- package/docs/functions/PanoSpatialTagPlugin.html +5 -4
- package/docs/functions/PanoTagPlugin.html +5 -4
- package/docs/functions/PanoVideoPlugin.html +5 -4
- package/docs/functions/TopviewFloorplanPlugin.html +5 -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 +6 -5
- package/docs/index.html +5 -4
- 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 +6 -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 +6 -5
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +6 -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/PanoVideoPluginType.LoadParams.html +6 -6
- package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +8 -8
- package/docs/interfaces/PanoVideoPluginType.PluginData.html +6 -6
- package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +9 -9
- package/docs/interfaces/PanoVideoPluginType.PluginState.html +6 -6
- package/docs/interfaces/PanoVideoPluginType.VideoItem.html +8 -8
- package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.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 +6 -5
- package/docs/interfaces/Rooms.html +6 -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 +28 -10
- package/docs/interfaces/TagStyle.html +67 -0
- package/docs/interfaces/Tags.html +10 -10
- 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/PanoVideoPluginType.html +5 -5
- package/docs/modules/Util.html +5 -5
- package/docs/modules.html +6 -4
- package/docs/types/ArrayPosition.html +6 -5
- package/docs/types/AudioAppearance.html +6 -5
- package/docs/types/AudioTagTypeConfigKey.html +6 -5
- package/docs/types/CSS3DRenderExportType.html +6 -5
- package/docs/types/CSS3DRenderPluginExportType.html +6 -5
- package/docs/types/CSS3DRenderPluginParameterType.html +6 -5
- package/docs/types/ClassFunctionParameters.html +6 -5
- package/docs/types/Color.html +6 -5
- package/docs/types/ContentTypeConfigKey.html +6 -5
- package/docs/types/ContentTypeConfigKeySplit.html +6 -5
- package/docs/types/ContentTypeMap.html +6 -5
- package/docs/types/Create3DDomContainerReturnType.html +6 -5
- package/docs/types/Create3DElementReturnType.html +6 -5
- package/docs/types/CruisePluginExportType.html +6 -5
- package/docs/types/Direction-1.html +6 -5
- package/docs/types/Direction4.html +6 -5
- package/docs/types/FloorplanRuleLabels.html +6 -5
- package/docs/types/FloorplanServerRuleLabels.html +6 -5
- package/docs/types/GuideLinePluginExportType.html +6 -5
- package/docs/types/HelperEventMap.html +6 -5
- package/docs/types/LoadTagConfig.html +6 -5
- package/docs/types/MapviewFloorplanPluginParameterType.html +6 -5
- package/docs/types/MapviewFloorplanPluginReturnType.html +6 -5
- package/docs/types/MediaData.html +6 -5
- package/docs/types/MediaStore.html +6 -5
- package/docs/types/ModelElement.html +6 -5
- package/docs/types/ModelEntryDoorGuidePluginParameterType.html +6 -5
- package/docs/types/ModelFloorplanPluginParameterType.html +6 -5
- package/docs/types/ModelFloorplanPluginReturnType.html +6 -5
- package/docs/types/ModelRoomLabelPluginParameters.html +6 -5
- package/docs/types/ModelRoomLabelPluginReturnType.html +6 -5
- package/docs/types/MoveArgs.html +6 -5
- package/docs/types/MoveOpts.html +6 -5
- package/docs/types/Object3DHelperEventMap.html +6 -5
- package/docs/types/ObjectFit.html +6 -5
- package/docs/types/PaintBrushEventMap.html +6 -5
- package/docs/types/PanoCompassPluginData.html +6 -5
- package/docs/types/PanoCompassPluginExportType.html +6 -5
- package/docs/types/PanoCompassPluginParameterType.html +6 -5
- package/docs/types/PanoFloorplanRadarPluginParameterType.html +6 -5
- package/docs/types/PanoFloorplanRadarPluginReturnType.html +6 -5
- package/docs/types/PanoIndex.html +6 -5
- package/docs/types/PanoMeasurePluginEvent.html +6 -5
- package/docs/types/PanoMeasureReturnType.html +6 -5
- package/docs/types/PanoSpatialTagPluginId.html +6 -5
- package/docs/types/PanoTagPluginExportInterface.html +6 -5
- package/docs/types/PanoTagPluginParamsInterface.html +6 -5
- package/docs/types/PanoVideoPluginParameterType.html +6 -5
- package/docs/types/PanoVideoPluginReturnType.html +6 -5
- package/docs/types/PlaneTag.html +6 -5
- package/docs/types/PlaneTagElement.html +6 -5
- package/docs/types/Point2DElement.html +6 -5
- package/docs/types/Point2DTag.html +6 -5
- package/docs/types/Point3DElement.html +6 -5
- package/docs/types/Point3DTag.html +6 -5
- package/docs/types/PointTag.html +6 -5
- package/docs/types/PointTagElement.html +6 -5
- package/docs/types/Position.html +6 -5
- package/docs/types/RotateArgs.html +6 -5
- package/docs/types/RotateOpts.html +6 -5
- package/docs/types/RuleLabelsKey.html +6 -5
- package/docs/types/RuleLabelsValue.html +6 -5
- package/docs/types/StickType.html +6 -5
- package/docs/types/Tag.html +7 -6
- package/docs/types/Tag2D.html +6 -5
- package/docs/types/Tag3D.html +6 -5
- package/docs/types/TagContentType.html +6 -5
- package/docs/types/TagDimensionType.html +6 -5
- package/docs/types/TagElement.html +6 -5
- package/docs/types/TagEvents.html +6 -5
- package/docs/types/TagGLTFObject.html +6 -5
- package/docs/types/TagHooks.html +6 -5
- package/docs/types/TagIconSize.html +6 -5
- package/docs/types/TagId.html +6 -5
- package/docs/types/TagPointType.html +6 -5
- package/docs/types/TopviewFloorplanPluginParameterType.html +6 -5
- package/docs/types/TopviewFloorplanPluginReturnType.html +6 -5
- package/docs/types/WorkCode.html +6 -5
- package/docs/variables/FLOOR_TYPE_MAP.html +6 -5
- package/docs/variables/PLUGIN.html +6 -5
- package/docs/variables/ROOM_FETILE_TYPE_MAP.html +6 -5
- package/docs/variables/ROOM_TYPE_MAP.html +6 -5
- package/docs/variables/VERSION.html +6 -5
- package/docs/variables/itemLabelPluginServerParams.html +6 -5
- package/docs/variables/modelItemLabelPluginServerParams.html +6 -5
- package/docs/variables/modelRoomLabelPluginServerParams.html +6 -5
- package/libs/CSS3DRenderPlugin/Controller.d.ts +1 -0
- package/libs/CSS3DRenderPlugin/Controller.js +24 -23
- package/libs/PanoTagPlugin/Components/Common/Audio.js +84 -83
- package/libs/PanoTagPlugin/Components/Common/Icon/Icon.js +261 -121
- package/libs/PanoTagPlugin/Components/Common/Media.js +28 -28
- package/libs/PanoTagPlugin/Components/Common/MediaItem.js +61 -61
- package/libs/PanoTagPlugin/Components/Common/TagPoint.js +79 -49
- package/libs/PanoTagPlugin/Components/Common/Text/FlyMText.js +15 -13
- package/libs/PanoTagPlugin/Components/Common/Text/FlyText.js +2 -3
- package/libs/PanoTagPlugin/Components/Common/Text/MText.js +45 -45
- package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioPlaneTag.js +72 -68
- package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioTag.js +88 -85
- package/libs/PanoTagPlugin/Components/Tag/AudioTag/index.js +60 -60
- package/libs/PanoTagPlugin/Components/Tag/CustomTag.js +13 -13
- package/libs/PanoTagPlugin/Components/Tag/ImageTextTag.js +48 -48
- package/libs/PanoTagPlugin/Components/Tag/LinkTag.js +44 -55
- package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +114 -107
- package/libs/PanoTagPlugin/Components/Tag/MediaPlane.js +36 -25
- package/libs/PanoTagPlugin/Components/Tag/TextTag/TextPlaneTag.js +50 -49
- package/libs/PanoTagPlugin/Components/Tag/TextTag/TextTag.js +53 -50
- package/libs/PanoTagPlugin/Components/Tag/TextTag/index.js +49 -49
- package/libs/PanoTagPlugin/Components/Tag/index.js +164 -153
- package/libs/PanoTagPlugin/Components/TagContainer.js +2 -3
- package/libs/PanoTagPlugin/Components/TagItem.js +85 -77
- package/libs/PanoTagPlugin/controller/TagComputer.js +2 -3
- package/libs/PanoTagPlugin/controller/index.d.ts +0 -2
- package/libs/PanoTagPlugin/controller/index.js +48 -49
- package/libs/PanoTagPlugin/index.js +1 -1
- package/libs/PanoTagPlugin/mocks/v1/mock-80P6A03eQRQKY3oqLj.d.ts +4 -0
- package/libs/PanoTagPlugin/mocks/v1/mock-80P6A03eQRQKY3oqLj.js +6 -0
- package/libs/PanoTagPlugin/mocks/v1/mock-80QG2vMPboNv5DWrom.d.ts +93 -0
- package/libs/PanoTagPlugin/mocks/v1/mock-80QG2vMPboNv5DWrom.js +5622 -0
- package/libs/PanoTagPlugin/mocks/v1/mock-test3-realsee-cn-4zr0A5.js +1325 -0
- package/libs/PanoTagPlugin/mocks/v1/mock1.d.ts +173 -0
- package/libs/PanoTagPlugin/mocks/v1/mock1.js +121 -0
- package/libs/PanoTagPlugin/mocks/v1/mock2.d.ts +233 -0
- package/libs/PanoTagPlugin/mocks/v1/mock2.js +296 -0
- package/libs/PanoTagPlugin/mocks/v1/mock3.d.ts +22 -0
- package/libs/PanoTagPlugin/mocks/v1/mock3.js +32 -0
- package/libs/PanoTagPlugin/mocks/v1/mock4.d.ts +56 -0
- package/libs/PanoTagPlugin/mocks/v1/mock4.js +60 -0
- package/libs/PanoTagPlugin/mocks/v1/mock5.d.ts +13 -0
- package/libs/PanoTagPlugin/mocks/v1/mock5.js +17 -0
- package/libs/PanoTagPlugin/mocks/v1/mock6.d.ts +16 -0
- package/libs/PanoTagPlugin/mocks/v1/mock6.js +27 -0
- package/libs/PanoTagPlugin/mocks/v1/mock7.d.ts +22 -0
- package/libs/PanoTagPlugin/mocks/v1/mock7.js +228 -0
- package/libs/PanoTagPlugin/tsconfig.js +9 -0
- package/libs/PanoTagPlugin/typings/controller.js +1 -1
- package/libs/PanoTagPlugin/typings/index.js +5 -6
- package/libs/PanoTagPlugin/typings/tag/Tag.d.ts +2 -7
- package/libs/PanoTagPlugin/typings/tag/Utils.d.ts +11 -0
- package/libs/PanoTagPlugin/utils/addDebugPoints.js +4 -5
- package/libs/PanoTagPlugin/utils/getImageInfo.d.ts +8 -10
- package/libs/PanoTagPlugin/utils/getImageInfo.js +54 -36
- package/libs/PanoTagPlugin/utils/index.js +35 -36
- package/libs/PanoTagPlugin/utils/planeNormal.js +2 -3
- package/libs/PanoTagPlugin/utils/px2rem.d.ts +3 -1
- package/libs/PanoTagPlugin/utils/tagPosition.js +7 -8
- package/libs/base/BasePlugin.d.ts +4 -0
- package/libs/base/BasePlugin.js +3 -2
- package/libs/index.js +1 -1
- package/package.json +2 -2
|
@@ -5,10 +5,10 @@ function Y(l) {
|
|
|
5
5
|
}
|
|
6
6
|
function L(l) {
|
|
7
7
|
let e;
|
|
8
|
-
function t(
|
|
9
|
-
if (
|
|
8
|
+
function t(n, s) {
|
|
9
|
+
if (n[2].type === "Image")
|
|
10
10
|
return x;
|
|
11
|
-
if (
|
|
11
|
+
if (n[2].type === "Video")
|
|
12
12
|
return Z;
|
|
13
13
|
}
|
|
14
14
|
let o = t(l), i = o && o(l);
|
|
@@ -16,35 +16,35 @@ function L(l) {
|
|
|
16
16
|
c() {
|
|
17
17
|
e = k("div"), i && i.c(), a(e, "class", "media-item svelte-159ski6"), a(e, "draggable", "false");
|
|
18
18
|
},
|
|
19
|
-
m(
|
|
20
|
-
y(
|
|
19
|
+
m(n, s) {
|
|
20
|
+
y(n, e, s), i && i.m(e, null);
|
|
21
21
|
},
|
|
22
|
-
p(
|
|
23
|
-
o === (o = t(
|
|
22
|
+
p(n, s) {
|
|
23
|
+
o === (o = t(n)) && i ? i.p(n, s) : (i && i.d(1), i = o && o(n), i && (i.c(), i.m(e, null)));
|
|
24
24
|
},
|
|
25
|
-
d(
|
|
26
|
-
|
|
25
|
+
d(n) {
|
|
26
|
+
n && b(e), i && i.d();
|
|
27
27
|
}
|
|
28
28
|
};
|
|
29
29
|
}
|
|
30
30
|
function Z(l) {
|
|
31
|
-
let e, t, o, i,
|
|
32
|
-
function
|
|
31
|
+
let e, t, o, i, n, s;
|
|
32
|
+
function m(f, v) {
|
|
33
33
|
return f[7] && f[2].videoCoverUrl ? ee : $;
|
|
34
34
|
}
|
|
35
|
-
let c =
|
|
35
|
+
let c = m(l), u = c(l);
|
|
36
36
|
return {
|
|
37
37
|
c() {
|
|
38
|
-
|
|
38
|
+
u.c(), e = D(), t = k("div"), o = k("div"), i = k("div"), a(i, "class", "video-icon-img svelte-159ski6"), j(i, "background-image", "url(" + l[18]() + ")"), _(i, "canPlay", l[5]), a(o, "class", "video-icon svelte-159ski6"), _(o, "large", l[4] === "large"), _(o, "small", l[4] === "small"), a(t, "class", "video-play-button-container svelte-159ski6"), _(t, "showPlayButton", l[9]);
|
|
39
39
|
},
|
|
40
|
-
m(f,
|
|
41
|
-
|
|
40
|
+
m(f, v) {
|
|
41
|
+
u.m(f, v), y(f, e, v), y(f, t, v), U(t, o), U(o, i), n || (s = w(i, "click", l[19]), n = !0);
|
|
42
42
|
},
|
|
43
|
-
p(f,
|
|
44
|
-
c === (c =
|
|
43
|
+
p(f, v) {
|
|
44
|
+
c === (c = m(f)) && u ? u.p(f, v) : (u.d(1), u = c(f), u && (u.c(), u.m(e.parentNode, e))), v & 8 && j(i, "background-image", "url(" + f[18]() + ")"), v & 32 && _(i, "canPlay", f[5]), v & 16 && _(o, "large", f[4] === "large"), v & 16 && _(o, "small", f[4] === "small"), v & 512 && _(t, "showPlayButton", f[9]);
|
|
45
45
|
},
|
|
46
46
|
d(f) {
|
|
47
|
-
|
|
47
|
+
u.d(f), f && b(e), f && b(t), n = !1, s();
|
|
48
48
|
}
|
|
49
49
|
};
|
|
50
50
|
}
|
|
@@ -54,35 +54,35 @@ function x(l) {
|
|
|
54
54
|
c() {
|
|
55
55
|
e = k("img"), a(e, "class", "media-content svelte-159ski6"), a(e, "style", t = `object-fit: ${l[6]};`), h(e.src, o = l[2].url) || a(e, "src", o), a(e, "alt", i = l[2].name), a(e, "draggable", !1);
|
|
56
56
|
},
|
|
57
|
-
m(
|
|
58
|
-
y(
|
|
57
|
+
m(n, s) {
|
|
58
|
+
y(n, e, s);
|
|
59
59
|
},
|
|
60
|
-
p(
|
|
61
|
-
|
|
60
|
+
p(n, s) {
|
|
61
|
+
s & 64 && t !== (t = `object-fit: ${n[6]};`) && a(e, "style", t), s & 4 && !h(e.src, o = n[2].url) && a(e, "src", o), s & 4 && i !== (i = n[2].name) && a(e, "alt", i);
|
|
62
62
|
},
|
|
63
|
-
d(
|
|
64
|
-
|
|
63
|
+
d(n) {
|
|
64
|
+
n && b(e);
|
|
65
65
|
}
|
|
66
66
|
};
|
|
67
67
|
}
|
|
68
68
|
function $(l) {
|
|
69
|
-
let e, t, o, i,
|
|
69
|
+
let e, t, o, i, n, s, m;
|
|
70
70
|
return {
|
|
71
71
|
c() {
|
|
72
|
-
e = k("video"), a(e, "class", "media-content svelte-159ski6"), a(e, "style", t = `object-fit: ${l[6]};`), h(e.src, o = l[2].videoCoverUrl ? l[2].url : l[2].url + "#t=0.1") || a(e, "src", o), a(e, "poster", i = l[2].videoCoverUrl), a(e, "preload",
|
|
72
|
+
e = k("video"), a(e, "class", "media-content svelte-159ski6"), a(e, "style", t = `object-fit: ${l[6]};`), h(e.src, o = l[2].videoCoverUrl ? l[2].url : l[2].url + "#t=0.1") || a(e, "src", o), a(e, "poster", i = l[2].videoCoverUrl), a(e, "preload", n = l[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, _(e, "showPlayButton", l[9]);
|
|
73
73
|
},
|
|
74
|
-
m(c,
|
|
75
|
-
y(c, e,
|
|
74
|
+
m(c, u) {
|
|
75
|
+
y(c, e, u), l[17](e), s || (m = [
|
|
76
76
|
w(e, "play", l[14]),
|
|
77
77
|
w(e, "pause", l[15]),
|
|
78
78
|
w(e, "click", l[16])
|
|
79
|
-
],
|
|
79
|
+
], s = !0);
|
|
80
80
|
},
|
|
81
|
-
p(c,
|
|
82
|
-
|
|
81
|
+
p(c, u) {
|
|
82
|
+
u & 64 && t !== (t = `object-fit: ${c[6]};`) && a(e, "style", t), u & 4 && !h(e.src, o = c[2].videoCoverUrl ? c[2].url : c[2].url + "#t=0.1") && a(e, "src", o), u & 4 && i !== (i = c[2].videoCoverUrl) && a(e, "poster", i), u & 4 && n !== (n = c[2].videoCoverUrl ? "none" : "auto") && a(e, "preload", n), u & 512 && _(e, "showPlayButton", c[9]);
|
|
83
83
|
},
|
|
84
84
|
d(c) {
|
|
85
|
-
c && b(e), l[17](null),
|
|
85
|
+
c && b(e), l[17](null), s = !1, G(m);
|
|
86
86
|
}
|
|
87
87
|
};
|
|
88
88
|
}
|
|
@@ -92,14 +92,14 @@ function ee(l) {
|
|
|
92
92
|
c() {
|
|
93
93
|
e = k("img"), a(e, "class", "media-content svelte-159ski6"), a(e, "style", t = `object-fit: ${l[6]};`), h(e.src, o = l[2].videoCoverUrl) || a(e, "src", o), a(e, "alt", i = l[2].name), a(e, "draggable", !1);
|
|
94
94
|
},
|
|
95
|
-
m(
|
|
96
|
-
y(
|
|
95
|
+
m(n, s) {
|
|
96
|
+
y(n, e, s);
|
|
97
97
|
},
|
|
98
|
-
p(
|
|
99
|
-
|
|
98
|
+
p(n, s) {
|
|
99
|
+
s & 64 && t !== (t = `object-fit: ${n[6]};`) && a(e, "style", t), s & 4 && !h(e.src, o = n[2].videoCoverUrl) && a(e, "src", o), s & 4 && i !== (i = n[2].name) && a(e, "alt", i);
|
|
100
100
|
},
|
|
101
|
-
d(
|
|
102
|
-
|
|
101
|
+
d(n) {
|
|
102
|
+
n && b(e);
|
|
103
103
|
}
|
|
104
104
|
};
|
|
105
105
|
}
|
|
@@ -123,60 +123,60 @@ function te(l) {
|
|
|
123
123
|
};
|
|
124
124
|
}
|
|
125
125
|
function ie(l, e, t) {
|
|
126
|
-
let o, { mediaInstance: i = { paused: !0 } } = e, { tag:
|
|
126
|
+
let o, { mediaInstance: i = { paused: !0 } } = e, { tag: n } = e, { media: s } = e, { playButtonIfNeed: m = "withoutText" } = e, { playButtonSizeIfNeed: c = "small" } = e, { canPlay: u = !0 } = e, { objectFit: f = "fill" } = e, { disableVideoIfHavePoster: v = !1 } = e, d, I = !0, p = !1;
|
|
127
127
|
function N() {
|
|
128
|
-
t(12, p = (
|
|
128
|
+
t(12, p = (s == null ? void 0 : s.type) === "Video" && Boolean(s.videoCoverUrl));
|
|
129
129
|
}
|
|
130
130
|
const B = S("mediaStore"), P = S("hooks"), g = () => {
|
|
131
|
-
p || (
|
|
131
|
+
p || (d == null || d.play(), d == null || d.pause(), t(12, p = !0));
|
|
132
132
|
};
|
|
133
133
|
P.on("loadVideoFirstFrame", g), R(() => {
|
|
134
134
|
B.subscribe(({ currentMediaElement: r }) => {
|
|
135
|
-
r !==
|
|
135
|
+
r !== d && (d == null || d.pause());
|
|
136
136
|
});
|
|
137
137
|
});
|
|
138
138
|
const V = (r) => {
|
|
139
|
-
t(9, I = !1), t(0, i.paused = !1, i), B.set({ currentMediaElement:
|
|
139
|
+
t(9, I = !1), t(0, i.paused = !1, i), B.set({ currentMediaElement: d }), P.emit("playStateChange", {
|
|
140
140
|
event: r,
|
|
141
141
|
state: "playing",
|
|
142
|
-
tag:
|
|
143
|
-
mediaInstance:
|
|
142
|
+
tag: n,
|
|
143
|
+
mediaInstance: d
|
|
144
144
|
});
|
|
145
145
|
}, E = (r) => {
|
|
146
146
|
t(9, I = !0), t(0, i.paused = !0, i), P.emit("playStateChange", {
|
|
147
147
|
event: r,
|
|
148
148
|
state: "paused",
|
|
149
|
-
tag:
|
|
150
|
-
mediaInstance:
|
|
149
|
+
tag: n,
|
|
150
|
+
mediaInstance: d
|
|
151
151
|
});
|
|
152
152
|
}, z = (r) => {
|
|
153
|
-
|
|
153
|
+
d && d.pause();
|
|
154
154
|
};
|
|
155
155
|
function F(r) {
|
|
156
156
|
X[r ? "unshift" : "push"](() => {
|
|
157
|
-
|
|
157
|
+
d = r, t(8, d);
|
|
158
158
|
});
|
|
159
159
|
}
|
|
160
|
-
const O = () =>
|
|
161
|
-
!
|
|
160
|
+
const O = () => m === "withText" ? K : m === "withoutText" ? Q : m, W = (r) => {
|
|
161
|
+
!u || d && (t(8, d.muted = !1, d), d.play());
|
|
162
162
|
};
|
|
163
163
|
return l.$$set = (r) => {
|
|
164
|
-
"mediaInstance" in r && t(0, i = r.mediaInstance), "tag" in r && t(1,
|
|
164
|
+
"mediaInstance" in r && t(0, i = r.mediaInstance), "tag" in r && t(1, n = r.tag), "media" in r && t(2, s = r.media), "playButtonIfNeed" in r && t(3, m = r.playButtonIfNeed), "playButtonSizeIfNeed" in r && t(4, c = r.playButtonSizeIfNeed), "canPlay" in r && t(5, u = r.canPlay), "objectFit" in r && t(6, f = r.objectFit), "disableVideoIfHavePoster" in r && t(7, v = r.disableVideoIfHavePoster);
|
|
165
165
|
}, l.$$.update = () => {
|
|
166
|
-
if (l.$$.dirty & 4 && t(13, o =
|
|
166
|
+
if (l.$$.dirty & 4 && t(13, o = s == null ? void 0 : s.url), l.$$.dirty & 8192 && Boolean(o) && N(), l.$$.dirty & 256 && d && t(9, I = d.paused), l.$$.dirty & 4356 && (s == null ? void 0 : s.type) === "Video" && !p) {
|
|
167
167
|
const r = navigator.userAgent.toLowerCase().indexOf("micromessenger") !== -1, H = navigator.userAgent.toLowerCase().indexOf("iphone") !== -1 && r;
|
|
168
|
-
|
|
168
|
+
d && H && d.paused && (document.removeEventListener("WeixinJSBridgeReady", g), document.removeEventListener("touchstart", g), document.removeEventListener("click", g), document.addEventListener("WeixinJSBridgeReady", g), document.addEventListener("touchstart", g), document.addEventListener("click", g));
|
|
169
169
|
}
|
|
170
170
|
}, [
|
|
171
171
|
i,
|
|
172
|
-
s,
|
|
173
172
|
n,
|
|
174
|
-
|
|
175
|
-
c,
|
|
176
|
-
d,
|
|
177
|
-
f,
|
|
173
|
+
s,
|
|
178
174
|
m,
|
|
175
|
+
c,
|
|
179
176
|
u,
|
|
177
|
+
f,
|
|
178
|
+
v,
|
|
179
|
+
d,
|
|
180
180
|
I,
|
|
181
181
|
B,
|
|
182
182
|
P,
|
|
@@ -190,7 +190,7 @@ function ie(l, e, t) {
|
|
|
190
190
|
W
|
|
191
191
|
];
|
|
192
192
|
}
|
|
193
|
-
class
|
|
193
|
+
class se extends T {
|
|
194
194
|
constructor(e) {
|
|
195
195
|
super(), M(
|
|
196
196
|
this,
|
|
@@ -213,5 +213,5 @@ class ne extends T {
|
|
|
213
213
|
}
|
|
214
214
|
}
|
|
215
215
|
export {
|
|
216
|
-
|
|
216
|
+
se as default
|
|
217
217
|
};
|
|
@@ -1,81 +1,111 @@
|
|
|
1
|
-
import { SvelteComponent as
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import { Image_Default_Point as
|
|
5
|
-
import _ from "../../utils/px2rem.js";
|
|
1
|
+
import { SvelteComponent as M, init as U, safe_not_equal as W, append_styles as X, element as h, space as P, create_component as C, attr as j, set_style as _, toggle_class as y, insert as B, append as g, mount_component as S, listen as E, transition_in as D, transition_out as I, detach as G, destroy_component as R, getContext as H, bubble as J } from "../../../vendor/svelte/internal/index.js";
|
|
2
|
+
import K from "./Shadow.js";
|
|
3
|
+
import N from "./Icon/Icon.js";
|
|
4
|
+
import { Image_Default_Point as O } from "../../Assets/Icon.js";
|
|
6
5
|
import "../../../vendor/svelte/transition/index.js";
|
|
7
6
|
import "../../../vendor/svelte/easing/index.js";
|
|
7
|
+
import "three";
|
|
8
|
+
import "../../utils/noTypecheck.js";
|
|
8
9
|
import "../../utils/getImageInfo.js";
|
|
9
|
-
|
|
10
|
-
|
|
10
|
+
import "../../utils/px2rem.js";
|
|
11
|
+
function Q(e) {
|
|
12
|
+
X(e, "svelte-1jkrwn7", '@charset "UTF-8";.tag-point-click-helper.svelte-1jkrwn7.svelte-1jkrwn7{position:absolute;pointer-events:auto;cursor:pointer;width:calc(100% + 0.75rem);height:calc(100% + 0.75rem);left:50%;top:50%;transform:translate(-50%, -50%)}.tag-point-wrapper.svelte-1jkrwn7.svelte-1jkrwn7{pointer-events:none;position:absolute;left:50%;top:50%;transform:translate(-50%, -50%);z-index:-1}.tag-folded-point.svelte-1jkrwn7.svelte-1jkrwn7,.tag-unfolded-point.svelte-1jkrwn7.svelte-1jkrwn7{transition:all 0.5s}.tag-point-wrapper.svelte-1jkrwn7 .tag-unfolded-point.svelte-1jkrwn7{display:flex;justify-content:center;align-items:center;position:absolute;width:100%;height:100%;border-radius:50%}.tag-point-wrapper.svelte-1jkrwn7 .tag-unfolded-point.svelte-1jkrwn7:after{content:"";position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);width:0.3125rem;height:0.3125rem;border-radius:50%;background-color:white}.tag-point-wrapper.svelte-1jkrwn7 .tag-unfolded-point.svelte-1jkrwn7:before{content:"";position:absolute;width:0.875rem;height:0.875rem;border-radius:50%;background-color:rgba(0, 0, 0, 0.2)}.tag-point-wrapper.folded.svelte-1jkrwn7 .tag-folded-point.svelte-1jkrwn7{opacity:1;scale:1}.tag-point-wrapper.folded.svelte-1jkrwn7 .tag-unfolded-point.svelte-1jkrwn7{opacity:0;scale:1}.tag-point-wrapper.unfolded.svelte-1jkrwn7 .tag-folded-point.svelte-1jkrwn7{opacity:0;scale:0.2}.tag-point-wrapper.unfolded.svelte-1jkrwn7 .tag-unfolded-point.svelte-1jkrwn7{opacity:1;scale:1}');
|
|
11
13
|
}
|
|
12
|
-
function
|
|
13
|
-
let
|
|
14
|
-
return p = new
|
|
14
|
+
function V(e) {
|
|
15
|
+
let n, o, c, p, w, u, f, a, r, s, v, i;
|
|
16
|
+
return p = new K({
|
|
15
17
|
props: {
|
|
16
18
|
center: !0,
|
|
17
19
|
blurRadius: 15,
|
|
18
20
|
spreadRadius: 5,
|
|
19
21
|
opacity: 0.3
|
|
20
22
|
}
|
|
21
|
-
}),
|
|
23
|
+
}), r = new N({
|
|
22
24
|
props: {
|
|
23
|
-
icon:
|
|
24
|
-
width:
|
|
25
|
+
icon: e[2],
|
|
26
|
+
width: e[1]
|
|
25
27
|
}
|
|
26
|
-
}), {
|
|
28
|
+
}), r.$on("iconLoaded", e[11]), {
|
|
27
29
|
c() {
|
|
28
|
-
|
|
30
|
+
n = h("div"), o = h("div"), c = P(), C(p.$$.fragment), w = P(), u = h("div"), f = P(), a = h("div"), C(r.$$.fragment), j(o, "class", "tag-point-click-helper svelte-1jkrwn7"), j(u, "class", "tag-unfolded-point svelte-1jkrwn7"), _(u, "transition-delay", (e[3] ? e[5] : 0) + "ms"), j(a, "class", "tag-folded-point svelte-1jkrwn7"), _(a, "transition-delay", (e[3] ? e[5] : 0) + "ms"), j(n, "class", "tag-point-wrapper svelte-1jkrwn7"), y(n, "unfolded", e[0]), y(n, "folded", e[3]);
|
|
29
31
|
},
|
|
30
|
-
m(
|
|
31
|
-
|
|
32
|
+
m(t, l) {
|
|
33
|
+
B(t, n, l), g(n, o), g(n, c), S(p, n, null), g(n, w), g(n, u), g(n, f), g(n, a), S(r, a, null), s = !0, v || (i = E(o, "click", e[4]), v = !0);
|
|
32
34
|
},
|
|
33
|
-
p(
|
|
34
|
-
|
|
35
|
-
const
|
|
36
|
-
|
|
35
|
+
p(t, [l]) {
|
|
36
|
+
l & 8 && _(u, "transition-delay", (t[3] ? t[5] : 0) + "ms");
|
|
37
|
+
const k = {};
|
|
38
|
+
l & 4 && (k.icon = t[2]), l & 2 && (k.width = t[1]), r.$set(k), l & 8 && _(a, "transition-delay", (t[3] ? t[5] : 0) + "ms"), (!s || l & 1) && y(n, "unfolded", t[0]), (!s || l & 8) && y(n, "folded", t[3]);
|
|
37
39
|
},
|
|
38
|
-
i(
|
|
39
|
-
|
|
40
|
+
i(t) {
|
|
41
|
+
s || (D(p.$$.fragment, t), D(r.$$.fragment, t), s = !0);
|
|
40
42
|
},
|
|
41
|
-
o(
|
|
42
|
-
|
|
43
|
+
o(t) {
|
|
44
|
+
I(p.$$.fragment, t), I(r.$$.fragment, t), s = !1;
|
|
43
45
|
},
|
|
44
|
-
d(
|
|
45
|
-
|
|
46
|
+
d(t) {
|
|
47
|
+
t && G(n), R(p), R(r), v = !1, i();
|
|
46
48
|
}
|
|
47
49
|
};
|
|
48
50
|
}
|
|
49
|
-
function
|
|
50
|
-
let
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
51
|
+
function Y(e, n, o) {
|
|
52
|
+
let c, p, w, u;
|
|
53
|
+
var f, a, r, s;
|
|
54
|
+
const v = H("hooks");
|
|
55
|
+
let { tag: i } = n, t, l = !1;
|
|
56
|
+
const k = () => {
|
|
57
|
+
t !== void 0 && clearTimeout(t), l = !0, t = setTimeout(
|
|
55
58
|
() => {
|
|
56
59
|
l = !1;
|
|
57
60
|
},
|
|
58
61
|
800
|
|
59
62
|
);
|
|
60
|
-
},
|
|
61
|
-
l ||
|
|
62
|
-
},
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
63
|
+
}, q = (d) => {
|
|
64
|
+
l || v.emit("click", { event: d, target: "TagPoint", tag: i });
|
|
65
|
+
}, A = (() => i.contentType === "Text" && i.data.appearance === "plane" ? 500 : 800)();
|
|
66
|
+
function F(d) {
|
|
67
|
+
J.call(this, e, d);
|
|
68
|
+
}
|
|
69
|
+
return e.$$set = (d) => {
|
|
70
|
+
"tag" in d && o(6, i = d.tag);
|
|
71
|
+
}, e.$$.update = () => {
|
|
72
|
+
e.$$.dirty & 192 && o(0, c = o(7, f = i.state) === null || f === void 0 ? void 0 : f.unfolded), e.$$.dirty & 1 && o(3, p = !c), e.$$.dirty & 1856 && o(2, w = !(o(9, r = o(8, a = i.style) === null || a === void 0 ? void 0 : a.point) === null || r === void 0) && r.url ? o(10, s = i.style) === null || s === void 0 ? void 0 : s.point : { url: O }), e.$$.dirty & 64 && o(1, u = (() => {
|
|
73
|
+
var d, b, T, L;
|
|
74
|
+
const z = (b = (d = i.style) === null || d === void 0 ? void 0 : d.point) === null || b === void 0 ? void 0 : b.width;
|
|
75
|
+
if (typeof z == "number")
|
|
76
|
+
return z;
|
|
77
|
+
const m = (L = (T = i.style) === null || T === void 0 ? void 0 : T.point) === null || L === void 0 ? void 0 : L.size;
|
|
78
|
+
if (typeof m == "number")
|
|
79
|
+
return m;
|
|
80
|
+
if (m === "S")
|
|
81
|
+
return 18;
|
|
82
|
+
if (m === "M")
|
|
83
|
+
return 20;
|
|
84
|
+
if (m === "L")
|
|
85
|
+
return 24;
|
|
86
|
+
if (m === "XL")
|
|
87
|
+
return 28;
|
|
71
88
|
})());
|
|
72
|
-
},
|
|
89
|
+
}, k(), [
|
|
90
|
+
c,
|
|
91
|
+
u,
|
|
92
|
+
w,
|
|
93
|
+
p,
|
|
94
|
+
q,
|
|
95
|
+
A,
|
|
96
|
+
i,
|
|
97
|
+
f,
|
|
98
|
+
a,
|
|
99
|
+
r,
|
|
100
|
+
s,
|
|
101
|
+
F
|
|
102
|
+
];
|
|
73
103
|
}
|
|
74
|
-
class
|
|
75
|
-
constructor(
|
|
76
|
-
super(),
|
|
104
|
+
class at extends M {
|
|
105
|
+
constructor(n) {
|
|
106
|
+
super(), U(this, n, Y, V, W, { tag: 6 }, Q);
|
|
77
107
|
}
|
|
78
108
|
}
|
|
79
109
|
export {
|
|
80
|
-
|
|
110
|
+
at as default
|
|
81
111
|
};
|
|
@@ -1,24 +1,23 @@
|
|
|
1
1
|
import { SvelteComponent as T, init as C, safe_not_equal as F, append_styles as Y, space as q, empty as A, insert as p, transition_in as u, transition_out as a, check_outros as h, detach as d, element as z, create_component as H, attr as D, set_style as v, mount_component as U, destroy_component as N, group_outros as y, binding_callbacks as B } from "../../../../vendor/svelte/internal/index.js";
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
2
|
+
import E from "./FlyText.js";
|
|
3
|
+
import M from "../Arrow.js";
|
|
4
|
+
import j from "../../../utils/doUtil.js";
|
|
5
5
|
import "animejs";
|
|
6
6
|
import "../../../../shared-utils/uuid.js";
|
|
7
7
|
import "../../../../shared-utils/isNil.js";
|
|
8
8
|
import "three";
|
|
9
|
-
import "@realsee/five/gltf-loader";
|
|
10
9
|
import "../../../utils/search.js";
|
|
11
10
|
import "../../../utils/constants.js";
|
|
12
11
|
import "../../../../vendor/svelte/transition/index.js";
|
|
13
12
|
import "../../../../vendor/svelte/easing/index.js";
|
|
14
13
|
import "../../../Assets/Icon.js";
|
|
15
14
|
import "../Shadow.js";
|
|
16
|
-
function
|
|
15
|
+
function x(o) {
|
|
17
16
|
Y(o, "svelte-1fuzm7v", ".text.svelte-1fuzm7v{pointer-events:auto;box-sizing:border-box;display:inline-block;max-width:7.5rem;transition:transform 400ms ease-in-out;font-size:0.75rem;line-height:1.125rem;white-space:initial;cursor:pointer}.arrow.svelte-1fuzm7v{pointer-events:auto;display:inline-block;vertical-align:top;width:0.875rem;height:0.875rem;margin-left:0.125rem;margin-top:0.125rem}");
|
|
18
17
|
}
|
|
19
18
|
function w(o) {
|
|
20
19
|
let r, t, l;
|
|
21
|
-
return t = new
|
|
20
|
+
return t = new E({
|
|
22
21
|
props: {
|
|
23
22
|
unfolded: o[0],
|
|
24
23
|
content: o[1],
|
|
@@ -49,7 +48,7 @@ function w(o) {
|
|
|
49
48
|
}
|
|
50
49
|
function k(o) {
|
|
51
50
|
let r, t, l;
|
|
52
|
-
return t = new
|
|
51
|
+
return t = new M({
|
|
53
52
|
props: {
|
|
54
53
|
direction: o[6],
|
|
55
54
|
visible: o[0],
|
|
@@ -78,7 +77,7 @@ function k(o) {
|
|
|
78
77
|
}
|
|
79
78
|
};
|
|
80
79
|
}
|
|
81
|
-
function
|
|
80
|
+
function G(o) {
|
|
82
81
|
let r, t, l, e = o[1] && w(o), i = o[3] < o[4] && k(o);
|
|
83
82
|
return {
|
|
84
83
|
c() {
|
|
@@ -105,7 +104,7 @@ function J(o) {
|
|
|
105
104
|
}
|
|
106
105
|
};
|
|
107
106
|
}
|
|
108
|
-
function
|
|
107
|
+
function I(o, r, t) {
|
|
109
108
|
let l, e, i, { visible: n = !1 } = r, { textUnfolded: f = !1 } = r, { content: _ } = r, m, g = 0, b = 0, c = 0;
|
|
110
109
|
function S(s) {
|
|
111
110
|
B[s ? "unshift" : "push"](() => {
|
|
@@ -117,7 +116,10 @@ function K(o, r, t) {
|
|
|
117
116
|
}, o.$$.update = () => {
|
|
118
117
|
if (o.$$.dirty & 7 && m && n && _) {
|
|
119
118
|
const { lineHeight: s } = getComputedStyle(m);
|
|
120
|
-
t(4, c = m.offsetHeight),
|
|
119
|
+
t(4, c = m.offsetHeight), j(
|
|
120
|
+
() => m == null ? void 0 : m.offsetHeight,
|
|
121
|
+
Boolean
|
|
122
|
+
).then(() => {
|
|
121
123
|
t(4, c = m.offsetHeight);
|
|
122
124
|
}), t(3, b = Number(s.replace("px", "")));
|
|
123
125
|
}
|
|
@@ -136,11 +138,11 @@ function K(o, r, t) {
|
|
|
136
138
|
S
|
|
137
139
|
];
|
|
138
140
|
}
|
|
139
|
-
class
|
|
141
|
+
class ie extends T {
|
|
140
142
|
constructor(r) {
|
|
141
|
-
super(), C(this, r,
|
|
143
|
+
super(), C(this, r, I, G, F, { visible: 0, textUnfolded: 8, content: 1 }, x);
|
|
142
144
|
}
|
|
143
145
|
}
|
|
144
146
|
export {
|
|
145
|
-
|
|
147
|
+
ie as default
|
|
146
148
|
};
|
|
@@ -3,7 +3,6 @@ import U from "animejs";
|
|
|
3
3
|
import { uuid as M } from "../../../../shared-utils/uuid.js";
|
|
4
4
|
import { notNil as z } from "../../../../shared-utils/isNil.js";
|
|
5
5
|
import "three";
|
|
6
|
-
import "@realsee/five/gltf-loader";
|
|
7
6
|
import { searchFirstValueSmallThanLastValue as H } from "../../../utils/search.js";
|
|
8
7
|
import { RANDON_STRING as b } from "../../../utils/constants.js";
|
|
9
8
|
function K(i) {
|
|
@@ -172,7 +171,7 @@ function $(i, e, o) {
|
|
|
172
171
|
P
|
|
173
172
|
];
|
|
174
173
|
}
|
|
175
|
-
class
|
|
174
|
+
class re extends J {
|
|
176
175
|
constructor(e) {
|
|
177
176
|
super(), V(
|
|
178
177
|
this,
|
|
@@ -192,5 +191,5 @@ class ae extends J {
|
|
|
192
191
|
}
|
|
193
192
|
}
|
|
194
193
|
export {
|
|
195
|
-
|
|
194
|
+
re as default
|
|
196
195
|
};
|