@realsee/dnalogel 2.3.3 → 2.3.5-dev.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/utils/positionToVector3.d.ts +2 -2
- package/dist/ModelViewPlugin/Plugin.d.ts +8 -0
- package/dist/PanoTagPlugin/Assets/Icon.d.ts +3 -2
- package/dist/PanoTagPlugin/controller/TagCacheController.d.ts +1 -2
- package/dist/PanoTagPlugin/controller/TagComputer.d.ts +15 -14
- package/dist/PanoTagPlugin/controller/index.d.ts +14 -12
- package/dist/PanoTagPlugin/index.d.ts +1 -1
- package/dist/PanoTagPlugin/typings/controller.d.ts +12 -11
- package/dist/PanoTagPlugin/typings/index.d.ts +5 -1
- package/dist/PanoTagPlugin/typings/tag/Tag.d.ts +53 -0
- package/dist/PanoTagPlugin/typings/tag/TagConfig.d.ts +88 -0
- package/dist/PanoTagPlugin/typings/tag/TagData.d.ts +155 -0
- package/dist/PanoTagPlugin/typings/tag/Utils.d.ts +50 -0
- package/dist/PanoTagPlugin/utils/color.d.ts +7 -0
- package/dist/PanoTagPlugin/utils/getImageInfo.d.ts +16 -0
- package/dist/PanoTagPlugin/utils/px2rem.d.ts +1 -0
- package/dist/PanoTagPlugin/utils/tag/format.d.ts +2 -0
- package/dist/PanoTagPlugin/utils/tag/tagCheck.d.ts +7 -0
- package/dist/PanoTagPlugin/utils/timeToString.d.ts +1 -0
- package/dist/index.cjs.js +51 -51
- package/dist/index.js +7181 -6311
- package/dist/index.umd.js +43 -43
- package/docs/assets/search.js +1 -1
- package/docs/classes/CSS3DRender.html +31 -31
- 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 +196 -164
- 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 +75 -35
- package/docs/enums/DIRECTION.html +9 -9
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +9 -9
- package/docs/enums/DimensionType.html +19 -15
- 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 +19 -15
- package/docs/enums/Rotation.html +8 -8
- package/docs/functions/CSS3DRenderPlugin.html +35 -13
- package/docs/functions/CameraMovementPlugin.html +35 -13
- package/docs/functions/CruisePlugin.html +35 -13
- package/docs/functions/GuideLinePlugin.html +36 -14
- package/docs/functions/ItemLabelPlugin.html +35 -13
- package/docs/functions/MapviewFloorplanPlugin.html +35 -13
- package/docs/functions/ModelChassisCompassPlugin.html +35 -13
- package/docs/functions/ModelEntryDoorGuidePlugin.html +35 -13
- package/docs/functions/ModelFloorplanPlugin.html +35 -13
- package/docs/functions/ModelItemLabelPlugin.html +35 -13
- package/docs/functions/ModelRoomLabelPlugin.html +35 -13
- package/docs/functions/ModelTVVideoPlugin.html +35 -13
- package/docs/functions/ModelViewPlugin.html +35 -13
- package/docs/functions/Object3DHelperPlugin.html +35 -13
- package/docs/functions/PanoCompassPlugin.html +35 -13
- package/docs/functions/PanoCursorRaycasterPlugin.html +35 -13
- package/docs/functions/PanoDoorLabelPlugin.html +35 -13
- package/docs/functions/PanoFloorplanRadarPlugin.html +35 -13
- package/docs/functions/PanoMeasurePlugin.html +35 -13
- package/docs/functions/PanoRulerPlugin.html +35 -13
- package/docs/functions/PanoRulerProPlugin.html +35 -13
- package/docs/functions/PanoSpatialTagPlugin.html +35 -13
- package/docs/functions/PanoTagPlugin.html +41 -23
- package/docs/functions/TopviewFloorplanPlugin.html +35 -13
- 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 +36 -14
- package/docs/index.html +35 -13
- package/docs/interfaces/AddTagConfig.html +64 -0
- 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 +298 -0
- 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/MinMax.html +71 -0
- 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 +57 -9
- 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 +36 -14
- 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 +36 -14
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +36 -14
- 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 +36 -14
- package/docs/interfaces/Rooms.html +36 -14
- package/docs/interfaces/Scissor.html +9 -9
- package/docs/interfaces/State.html +89 -0
- package/docs/interfaces/TagCache.html +92 -0
- package/docs/interfaces/TagConfig.html +15 -19
- package/docs/interfaces/TagIconUrl.html +91 -0
- package/docs/interfaces/Tags.html +14 -12
- package/docs/interfaces/TemporaryState.html +64 -0
- 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 +65 -21
- package/docs/types/ArrayPosition.html +37 -15
- package/docs/types/CSS3DRenderExportType.html +36 -14
- package/docs/types/CSS3DRenderPluginExportType.html +36 -14
- package/docs/types/CSS3DRenderPluginParameterType.html +36 -14
- package/docs/types/Color.html +36 -14
- package/docs/types/ContentTypeConfigKey.html +37 -15
- package/docs/types/ContentTypeMap.html +247 -0
- package/docs/types/Create3DDomContainerReturnType.html +36 -14
- package/docs/types/Create3DElementReturnType.html +36 -14
- package/docs/types/CruisePluginExportType.html +36 -14
- package/docs/types/Direction-1.html +36 -14
- package/docs/types/Direction4.html +36 -14
- package/docs/types/FloorplanRuleLabels.html +36 -14
- package/docs/types/FloorplanServerRuleLabels.html +36 -14
- package/docs/types/GuideLinePluginExportType.html +36 -14
- package/docs/types/HelperEventMap.html +36 -14
- package/docs/types/MapviewFloorplanPluginParameterType.html +36 -14
- package/docs/types/MapviewFloorplanPluginReturnType.html +36 -14
- package/docs/types/MediaData.html +36 -14
- package/docs/types/MediaStore.html +247 -0
- package/docs/types/ModelEntryDoorGuidePluginParameterType.html +36 -14
- package/docs/types/ModelFloorplanPluginParameterType.html +36 -14
- package/docs/types/ModelFloorplanPluginReturnType.html +36 -14
- package/docs/types/ModelRoomLabelPluginParameters.html +36 -14
- package/docs/types/ModelRoomLabelPluginReturnType.html +36 -14
- package/docs/types/MoveArgs.html +36 -14
- package/docs/types/MoveOpts.html +36 -14
- package/docs/types/Object3DHelperEventMap.html +36 -14
- package/docs/types/ObjectFit.html +36 -14
- package/docs/types/PaintBrushEventMap.html +36 -14
- package/docs/types/PanoCompassPluginData.html +36 -14
- package/docs/types/PanoCompassPluginExportType.html +36 -14
- package/docs/types/PanoCompassPluginParameterType.html +36 -14
- package/docs/types/PanoFloorplanRadarPluginParameterType.html +36 -14
- package/docs/types/PanoFloorplanRadarPluginReturnType.html +36 -14
- package/docs/types/PanoIndex.html +247 -0
- package/docs/types/PanoMeasurePluginEvent.html +36 -14
- package/docs/types/PanoMeasureReturnType.html +36 -14
- package/docs/types/PanoSpatialTagPluginId.html +36 -14
- package/docs/types/PanoTagPluginExportInterface.html +36 -14
- package/docs/types/PanoTagPluginParamsInterface.html +36 -14
- package/docs/types/PlaneTag.html +39 -19
- package/docs/types/PlaneTagElement.html +252 -0
- package/docs/types/Point2DElement.html +252 -0
- package/docs/types/Point2DTag.html +254 -0
- package/docs/types/Point3DElement.html +252 -0
- package/docs/types/Point3DTag.html +254 -0
- package/docs/types/PointTag.html +39 -23
- package/docs/types/PointTagElement.html +252 -0
- package/docs/types/Position.html +36 -14
- package/docs/types/RotateArgs.html +36 -14
- package/docs/types/RotateOpts.html +36 -14
- package/docs/types/RuleLabelsKey.html +36 -14
- package/docs/types/RuleLabelsValue.html +36 -14
- package/docs/types/StickType.html +247 -0
- package/docs/types/Tag.html +40 -22
- package/docs/types/Tag2D.html +41 -20
- package/docs/types/Tag3D.html +41 -20
- package/docs/types/TagContentType.html +247 -0
- package/docs/types/TagDimensionType.html +247 -0
- package/docs/types/TagElement.html +254 -0
- package/docs/types/TagEvents.html +282 -0
- package/docs/types/TagHooks.html +247 -0
- package/docs/types/TagIconSize.html +250 -0
- package/docs/types/TagId.html +36 -14
- package/docs/types/TagPointType.html +250 -0
- package/docs/types/TopviewFloorplanPluginParameterType.html +36 -14
- package/docs/types/TopviewFloorplanPluginReturnType.html +36 -14
- package/docs/types/{ContentTypeConfigKeyArray.html → WorkCode.html} +39 -17
- package/docs/variables/FLOOR_TYPE_MAP.html +36 -14
- package/docs/variables/PLUGIN.html +36 -14
- package/docs/variables/ROOM_FETILE_TYPE_MAP.html +36 -14
- package/docs/variables/ROOM_TYPE_MAP.html +36 -14
- package/docs/variables/VERSION.html +36 -14
- package/docs/variables/itemLabelPluginServerParams.html +36 -14
- package/docs/variables/modelItemLabelPluginServerParams.html +36 -14
- package/docs/variables/modelRoomLabelPluginServerParams.html +36 -14
- package/libs/CSS3DRenderPlugin/utils/positionToVector3.d.ts +2 -2
- package/libs/CSS3DRenderPlugin/utils/positionToVector3.js +2 -2
- package/libs/ModelViewPlugin/Plugin.d.ts +8 -0
- package/libs/ModelViewPlugin/Plugin.js +83 -73
- package/libs/PanoTagPlugin/Assets/Icon.d.ts +3 -2
- package/libs/PanoTagPlugin/Assets/Icon.js +4 -3
- package/libs/PanoTagPlugin/Components/Common/Audio.js +138 -133
- package/libs/PanoTagPlugin/Components/Common/Icon/Icon.js +173 -0
- package/libs/PanoTagPlugin/Components/Common/Icon/audioIcon.js +108 -0
- package/libs/PanoTagPlugin/Components/Common/Line/Polyline.js +32 -32
- package/libs/PanoTagPlugin/Components/Common/Line/Straight.js +79 -57
- package/libs/PanoTagPlugin/Components/Common/Media.js +212 -194
- package/libs/PanoTagPlugin/Components/Common/MediaItem.js +109 -80
- package/libs/PanoTagPlugin/Components/Common/TagPoint.js +78 -0
- package/libs/PanoTagPlugin/Components/Common/Text/FlyMText.js +135 -0
- package/libs/PanoTagPlugin/Components/Common/Text/FlyText.js +147 -0
- package/libs/PanoTagPlugin/Components/Common/Text/MText.js +166 -0
- package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioPlaneTag.js +209 -0
- package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioTag.js +204 -0
- package/libs/PanoTagPlugin/Components/Tag/AudioTag/index.js +98 -0
- package/libs/PanoTagPlugin/Components/Tag/ImageTextTag.js +100 -130
- package/libs/PanoTagPlugin/Components/Tag/LinkTag.js +49 -98
- package/libs/PanoTagPlugin/Components/Tag/MediaPlane.js +47 -44
- package/libs/PanoTagPlugin/Components/Tag/TextTag/TextPlaneTag.js +98 -0
- package/libs/PanoTagPlugin/Components/Tag/TextTag/TextTag.js +122 -0
- package/libs/PanoTagPlugin/Components/Tag/TextTag/index.js +98 -0
- package/libs/PanoTagPlugin/Components/Tag/index.js +130 -133
- package/libs/PanoTagPlugin/Components/TagContainer.js +89 -105
- package/libs/PanoTagPlugin/Components/TagItem.js +139 -0
- package/libs/PanoTagPlugin/controller/TagCacheController.d.ts +1 -2
- package/libs/PanoTagPlugin/controller/TagComputer.d.ts +15 -14
- package/libs/PanoTagPlugin/controller/TagComputer.js +168 -151
- package/libs/PanoTagPlugin/controller/index.d.ts +14 -12
- package/libs/PanoTagPlugin/controller/index.js +128 -133
- package/libs/PanoTagPlugin/index.d.ts +1 -1
- package/libs/PanoTagPlugin/index.js +31 -20
- package/libs/PanoTagPlugin/tag.config.js +23 -16
- package/libs/PanoTagPlugin/typings/controller.d.ts +12 -11
- package/libs/PanoTagPlugin/typings/index.d.ts +5 -1
- package/libs/PanoTagPlugin/typings/tag/Tag.d.ts +53 -0
- package/libs/PanoTagPlugin/typings/tag/Tag.js +1 -0
- package/libs/PanoTagPlugin/typings/tag/TagConfig.d.ts +88 -0
- package/libs/PanoTagPlugin/typings/tag/TagConfig.js +1 -0
- package/libs/PanoTagPlugin/typings/tag/TagData.d.ts +155 -0
- package/libs/PanoTagPlugin/typings/tag/TagData.js +4 -0
- package/libs/PanoTagPlugin/typings/tag/Utils.d.ts +50 -0
- package/libs/PanoTagPlugin/typings/tag/Utils.js +5 -0
- package/libs/PanoTagPlugin/utils/color.d.ts +7 -0
- package/libs/PanoTagPlugin/utils/color.js +17 -0
- package/libs/PanoTagPlugin/utils/getImageInfo.d.ts +16 -0
- package/libs/PanoTagPlugin/utils/getImageInfo.js +50 -0
- package/libs/PanoTagPlugin/utils/px2rem.d.ts +1 -0
- package/libs/PanoTagPlugin/utils/px2rem.js +6 -0
- package/libs/PanoTagPlugin/utils/tag/format.d.ts +2 -0
- package/libs/PanoTagPlugin/utils/tag/format.js +10 -0
- package/libs/PanoTagPlugin/utils/tag/tagCheck.d.ts +7 -0
- package/libs/PanoTagPlugin/utils/tag/tagCheck.js +10 -0
- package/libs/PanoTagPlugin/utils/tagPosition.js +2 -2
- package/libs/PanoTagPlugin/utils/timeToString.d.ts +1 -0
- package/libs/PanoTagPlugin/utils/timeToString.js +7 -0
- package/libs/index.js +112 -101
- package/libs/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.js +17 -20
- package/libs/vendor/svelte/internal/index.js +381 -341
- package/package.json +17 -16
- package/dist/PanoTagPlugin/typings/tag.d.ts +0 -247
- package/docs/enums/LinkType.html +0 -67
- package/docs/interfaces/ContentTypeMap.html +0 -212
- package/libs/PanoTagPlugin/Components/Common/MultiLineText.js +0 -170
- package/libs/PanoTagPlugin/Components/Common/Point/CustomPoint.js +0 -50
- package/libs/PanoTagPlugin/Components/Common/Point/DefaultPoint.js +0 -50
- package/libs/PanoTagPlugin/Components/Common/Point/PointSwitch.js +0 -166
- package/libs/PanoTagPlugin/Components/Common/Text.js +0 -130
- package/libs/PanoTagPlugin/Components/Tag/AudioTag.js +0 -131
- package/libs/PanoTagPlugin/Components/Tag/TextTag.js +0 -122
- package/libs/PanoTagPlugin/Components/TagWrapper.js +0 -152
- package/libs/PanoTagPlugin/typings/tag.d.ts +0 -247
- package/libs/PanoTagPlugin/typings/tag.js +0 -7
|
@@ -1,166 +0,0 @@
|
|
|
1
|
-
import { SvelteComponent as C, init as j, safe_not_equal as N, append_styles as L, empty as b, insert as m, transition_in as c, group_outros as $, transition_out as p, check_outros as g, detach as y, element as q, space as I, attr as M, create_component as U, mount_component as h, destroy_component as w } from "../../../../vendor/svelte/internal/index.js";
|
|
2
|
-
import { ContentType as k } from "../../../typings/tag.js";
|
|
3
|
-
import { CustomPoint as z } from "./CustomPoint.js";
|
|
4
|
-
import { DefaultPoint as A } from "./DefaultPoint.js";
|
|
5
|
-
function B(o) {
|
|
6
|
-
L(o, "svelte-8en2lj", ".point-click-helper.svelte-8en2lj{position:absolute;width:2.5rem;height:2.5rem;left:50%;top:50%;transform:translate(-50%, -50%)}");
|
|
7
|
-
}
|
|
8
|
-
function T(o) {
|
|
9
|
-
let n, i, e = o[0].contentType !== k.Link && D(o);
|
|
10
|
-
return {
|
|
11
|
-
c() {
|
|
12
|
-
e && e.c(), n = b();
|
|
13
|
-
},
|
|
14
|
-
m(t, l) {
|
|
15
|
-
e && e.m(t, l), m(t, n, l), i = !0;
|
|
16
|
-
},
|
|
17
|
-
p(t, l) {
|
|
18
|
-
t[0].contentType !== k.Link ? e ? (e.p(t, l), l & 1 && c(e, 1)) : (e = D(t), e.c(), c(e, 1), e.m(n.parentNode, n)) : e && ($(), p(e, 1, 1, () => {
|
|
19
|
-
e = null;
|
|
20
|
-
}), g());
|
|
21
|
-
},
|
|
22
|
-
i(t) {
|
|
23
|
-
i || (c(e), i = !0);
|
|
24
|
-
},
|
|
25
|
-
o(t) {
|
|
26
|
-
p(e), i = !1;
|
|
27
|
-
},
|
|
28
|
-
d(t) {
|
|
29
|
-
e && e.d(t), t && y(n);
|
|
30
|
-
}
|
|
31
|
-
};
|
|
32
|
-
}
|
|
33
|
-
function D(o) {
|
|
34
|
-
let n, i, e, t, l, u;
|
|
35
|
-
const f = [F, E], s = [];
|
|
36
|
-
function d(r, a) {
|
|
37
|
-
var _, v, P, S;
|
|
38
|
-
return ((v = (_ = r[0].style) == null ? void 0 : _.point) == null ? void 0 : v.style) === "CustomIcon" && ((S = (P = r[0].style) == null ? void 0 : P.point) == null ? void 0 : S.iconUrl) ? 0 : 1;
|
|
39
|
-
}
|
|
40
|
-
return e = d(o), t = s[e] = f[e](o), {
|
|
41
|
-
c() {
|
|
42
|
-
n = q("div"), i = I(), t.c(), l = b(), M(n, "class", "point-click-helper svelte-8en2lj");
|
|
43
|
-
},
|
|
44
|
-
m(r, a) {
|
|
45
|
-
m(r, n, a), m(r, i, a), s[e].m(r, a), m(r, l, a), u = !0;
|
|
46
|
-
},
|
|
47
|
-
p(r, a) {
|
|
48
|
-
let _ = e;
|
|
49
|
-
e = d(r), e === _ ? s[e].p(r, a) : ($(), p(s[_], 1, 1, () => {
|
|
50
|
-
s[_] = null;
|
|
51
|
-
}), g(), t = s[e], t ? t.p(r, a) : (t = s[e] = f[e](r), t.c()), c(t, 1), t.m(l.parentNode, l));
|
|
52
|
-
},
|
|
53
|
-
i(r) {
|
|
54
|
-
u || (c(t), u = !0);
|
|
55
|
-
},
|
|
56
|
-
o(r) {
|
|
57
|
-
p(t), u = !1;
|
|
58
|
-
},
|
|
59
|
-
d(r) {
|
|
60
|
-
r && y(n), r && y(i), s[e].d(r), r && y(l);
|
|
61
|
-
}
|
|
62
|
-
};
|
|
63
|
-
}
|
|
64
|
-
function E(o) {
|
|
65
|
-
let n, i;
|
|
66
|
-
return n = new A({
|
|
67
|
-
props: {
|
|
68
|
-
unfolded: o[0].state.unfolded,
|
|
69
|
-
foldDelay: o[1]
|
|
70
|
-
}
|
|
71
|
-
}), {
|
|
72
|
-
c() {
|
|
73
|
-
U(n.$$.fragment);
|
|
74
|
-
},
|
|
75
|
-
m(e, t) {
|
|
76
|
-
h(n, e, t), i = !0;
|
|
77
|
-
},
|
|
78
|
-
p(e, t) {
|
|
79
|
-
const l = {};
|
|
80
|
-
t & 1 && (l.unfolded = e[0].state.unfolded), t & 2 && (l.foldDelay = e[1]), n.$set(l);
|
|
81
|
-
},
|
|
82
|
-
i(e) {
|
|
83
|
-
i || (c(n.$$.fragment, e), i = !0);
|
|
84
|
-
},
|
|
85
|
-
o(e) {
|
|
86
|
-
p(n.$$.fragment, e), i = !1;
|
|
87
|
-
},
|
|
88
|
-
d(e) {
|
|
89
|
-
w(n, e);
|
|
90
|
-
}
|
|
91
|
-
};
|
|
92
|
-
}
|
|
93
|
-
function F(o) {
|
|
94
|
-
let n, i;
|
|
95
|
-
return n = new z({
|
|
96
|
-
props: {
|
|
97
|
-
iconUrl: o[0].style.point.iconUrl,
|
|
98
|
-
unfolded: o[0].state.unfolded,
|
|
99
|
-
foldDelay: o[1]
|
|
100
|
-
}
|
|
101
|
-
}), {
|
|
102
|
-
c() {
|
|
103
|
-
U(n.$$.fragment);
|
|
104
|
-
},
|
|
105
|
-
m(e, t) {
|
|
106
|
-
h(n, e, t), i = !0;
|
|
107
|
-
},
|
|
108
|
-
p(e, t) {
|
|
109
|
-
const l = {};
|
|
110
|
-
t & 1 && (l.iconUrl = e[0].style.point.iconUrl), t & 1 && (l.unfolded = e[0].state.unfolded), t & 2 && (l.foldDelay = e[1]), n.$set(l);
|
|
111
|
-
},
|
|
112
|
-
i(e) {
|
|
113
|
-
i || (c(n.$$.fragment, e), i = !0);
|
|
114
|
-
},
|
|
115
|
-
o(e) {
|
|
116
|
-
p(n.$$.fragment, e), i = !1;
|
|
117
|
-
},
|
|
118
|
-
d(e) {
|
|
119
|
-
w(n, e);
|
|
120
|
-
}
|
|
121
|
-
};
|
|
122
|
-
}
|
|
123
|
-
function G(o) {
|
|
124
|
-
var t, l, u;
|
|
125
|
-
let n, i, e = ((t = o[0].pointTagStyle) == null ? void 0 : t.leftPercent) && ((l = o[0].pointTagStyle) == null ? void 0 : l.topPercent) && o[0].enabled !== !1 && o[0].state && ((u = o[0].temporaryState) == null ? void 0 : u.visible) !== !1 && T(o);
|
|
126
|
-
return {
|
|
127
|
-
c() {
|
|
128
|
-
e && e.c(), n = b();
|
|
129
|
-
},
|
|
130
|
-
m(f, s) {
|
|
131
|
-
e && e.m(f, s), m(f, n, s), i = !0;
|
|
132
|
-
},
|
|
133
|
-
p(f, [s]) {
|
|
134
|
-
var d, r, a;
|
|
135
|
-
((d = f[0].pointTagStyle) == null ? void 0 : d.leftPercent) && ((r = f[0].pointTagStyle) == null ? void 0 : r.topPercent) && f[0].enabled !== !1 && f[0].state && ((a = f[0].temporaryState) == null ? void 0 : a.visible) !== !1 ? e ? (e.p(f, s), s & 1 && c(e, 1)) : (e = T(f), e.c(), c(e, 1), e.m(n.parentNode, n)) : e && ($(), p(e, 1, 1, () => {
|
|
136
|
-
e = null;
|
|
137
|
-
}), g());
|
|
138
|
-
},
|
|
139
|
-
i(f) {
|
|
140
|
-
i || (c(e), i = !0);
|
|
141
|
-
},
|
|
142
|
-
o(f) {
|
|
143
|
-
p(e), i = !1;
|
|
144
|
-
},
|
|
145
|
-
d(f) {
|
|
146
|
-
e && e.d(f), f && y(n);
|
|
147
|
-
}
|
|
148
|
-
};
|
|
149
|
-
}
|
|
150
|
-
function H(o, n, i) {
|
|
151
|
-
let e, { tag: t } = n;
|
|
152
|
-
return o.$$set = (l) => {
|
|
153
|
-
"tag" in l && i(0, t = l.tag);
|
|
154
|
-
}, o.$$.update = () => {
|
|
155
|
-
var l, u;
|
|
156
|
-
o.$$.dirty & 1 && i(1, e = (u = (l = t.style) == null ? void 0 : l.foldedPointDelay) != null ? u : t.contentType === k.Marketing ? 600 : void 0);
|
|
157
|
-
}, [t, e];
|
|
158
|
-
}
|
|
159
|
-
class R extends C {
|
|
160
|
-
constructor(n) {
|
|
161
|
-
super(), j(this, n, H, G, N, { tag: 0 }, B);
|
|
162
|
-
}
|
|
163
|
-
}
|
|
164
|
-
export {
|
|
165
|
-
R as PointSwitch
|
|
166
|
-
};
|
|
@@ -1,130 +0,0 @@
|
|
|
1
|
-
import { SvelteComponent as M, init as x, safe_not_equal as R, append_styles as L, empty as T, insert as j, noop as p, destroy_each as k, detach as D, onMount as w, element as N, text as S, attr as O, append as v, set_data as C, binding_callbacks as A } from "../../../vendor/svelte/internal/index.js";
|
|
2
|
-
import g from "animejs";
|
|
3
|
-
import { notNil as B } from "../../../shared-utils/isNil.js";
|
|
4
|
-
import "three";
|
|
5
|
-
import { searchFirstValueSmallThanLastValue as J } from "../../utils/search.js";
|
|
6
|
-
import { RANDON_STRING as E } from "../../utils/constants.js";
|
|
7
|
-
function P(o) {
|
|
8
|
-
L(o, "svelte-1b2n9wi", ".text-char.svelte-1b2n9wi{display:inline-block;text-shadow:0.125rem 0rem 0.5rem rgba(0, 0, 0, 0.15)}");
|
|
9
|
-
}
|
|
10
|
-
function y(o, i, l) {
|
|
11
|
-
const e = o.slice();
|
|
12
|
-
return e[10] = i[l], e[11] = i, e[12] = l, e;
|
|
13
|
-
}
|
|
14
|
-
function b(o) {
|
|
15
|
-
let i, l = o[10] + "", e, t = o[12];
|
|
16
|
-
const s = () => o[6](i, t), n = () => o[6](null, t);
|
|
17
|
-
return {
|
|
18
|
-
c() {
|
|
19
|
-
i = N("span"), e = S(l), O(i, "class", "text-char svelte-1b2n9wi");
|
|
20
|
-
},
|
|
21
|
-
m(r, f) {
|
|
22
|
-
j(r, i, f), v(i, e), s();
|
|
23
|
-
},
|
|
24
|
-
p(r, f) {
|
|
25
|
-
o = r, f & 2 && l !== (l = o[10] + "") && C(e, l), t !== o[12] && (n(), t = o[12], s());
|
|
26
|
-
},
|
|
27
|
-
d(r) {
|
|
28
|
-
r && D(i), n();
|
|
29
|
-
}
|
|
30
|
-
};
|
|
31
|
-
}
|
|
32
|
-
function U(o) {
|
|
33
|
-
let i, l = o[1], e = [];
|
|
34
|
-
for (let t = 0; t < l.length; t += 1)
|
|
35
|
-
e[t] = b(y(o, l, t));
|
|
36
|
-
return {
|
|
37
|
-
c() {
|
|
38
|
-
for (let t = 0; t < e.length; t += 1)
|
|
39
|
-
e[t].c();
|
|
40
|
-
i = T();
|
|
41
|
-
},
|
|
42
|
-
m(t, s) {
|
|
43
|
-
for (let n = 0; n < e.length; n += 1)
|
|
44
|
-
e[n].m(t, s);
|
|
45
|
-
j(t, i, s);
|
|
46
|
-
},
|
|
47
|
-
p(t, [s]) {
|
|
48
|
-
if (s & 3) {
|
|
49
|
-
l = t[1];
|
|
50
|
-
let n;
|
|
51
|
-
for (n = 0; n < l.length; n += 1) {
|
|
52
|
-
const r = y(t, l, n);
|
|
53
|
-
e[n] ? e[n].p(r, s) : (e[n] = b(r), e[n].c(), e[n].m(i.parentNode, i));
|
|
54
|
-
}
|
|
55
|
-
for (; n < e.length; n += 1)
|
|
56
|
-
e[n].d(1);
|
|
57
|
-
e.length = l.length;
|
|
58
|
-
}
|
|
59
|
-
},
|
|
60
|
-
i: p,
|
|
61
|
-
o: p,
|
|
62
|
-
d(t) {
|
|
63
|
-
k(e, t), t && D(i);
|
|
64
|
-
}
|
|
65
|
-
};
|
|
66
|
-
}
|
|
67
|
-
function V(o, i, l) {
|
|
68
|
-
let e, { inDelay: t = 0 } = i, { outDelay: s = 0 } = i, { content: n } = i, { unfolded: r } = i, f, u = [], c;
|
|
69
|
-
function F(a) {
|
|
70
|
-
clearTimeout(f), f = setTimeout(
|
|
71
|
-
function() {
|
|
72
|
-
!c || (a && c.reversed || !a && !c.reversed) && (c.reverse(), c.play());
|
|
73
|
-
},
|
|
74
|
-
a ? t : s
|
|
75
|
-
);
|
|
76
|
-
}
|
|
77
|
-
w(function() {
|
|
78
|
-
const a = (() => {
|
|
79
|
-
const _ = J((m) => u[m].getBoundingClientRect().x, [Math.min(u.length - 1, 10), Math.min(u.length - 1, 30)]);
|
|
80
|
-
if (_ > 0)
|
|
81
|
-
return _;
|
|
82
|
-
})();
|
|
83
|
-
c = g({
|
|
84
|
-
targets: u.filter(B).slice(0, a),
|
|
85
|
-
autoplay: !1,
|
|
86
|
-
duration: 400,
|
|
87
|
-
scale: [0.7, 1],
|
|
88
|
-
rotate: [20, 0],
|
|
89
|
-
opacity: [0, 1],
|
|
90
|
-
translateX: [4, 0],
|
|
91
|
-
translateY: [10, 0],
|
|
92
|
-
delay: g.stagger(50),
|
|
93
|
-
easing: "easeInOutCubic"
|
|
94
|
-
}), r && c.seek(c.duration);
|
|
95
|
-
});
|
|
96
|
-
function I(a, _) {
|
|
97
|
-
A[a ? "unshift" : "push"](() => {
|
|
98
|
-
u[_] = a, l(0, u);
|
|
99
|
-
});
|
|
100
|
-
}
|
|
101
|
-
return o.$$set = (a) => {
|
|
102
|
-
"inDelay" in a && l(2, t = a.inDelay), "outDelay" in a && l(3, s = a.outDelay), "content" in a && l(4, n = a.content), "unfolded" in a && l(5, r = a.unfolded);
|
|
103
|
-
}, o.$$.update = () => {
|
|
104
|
-
o.$$.dirty & 16 && l(1, e = (() => {
|
|
105
|
-
const a = [], _ = new RegExp(new RegExp("\\p{Regional_Indicator}\\p{Regional_Indicator}|\\p{Emoji}(\\p{Emoji_Modifier}+|\\uFE0F\\u20E3?)?(\\u200D\\p{Emoji}(\\p{Emoji_Modifier}+|\\uFE0F\\u20E3?)?)+|\\p{Emoji_Presentation}(\\p{Emoji_Modifier}+|\\uFE0F\\u20E3?)?|\\p{Emoji}(\\p{Emoji_Modifier}+|\\uFE0F\\u20E3?)", "gu")), m = `__EMOJI_SPLIT_${E}__`, h = `__EMOJI_${E}__`;
|
|
106
|
-
return n.slice().replace(_, (d) => `${m}${h}${d}${m}`).split(m).forEach((d) => d.startsWith(h) ? a.push(d.slice(h.length)) : a.push(...d.split(""))), a.filter(Boolean);
|
|
107
|
-
})()), o.$$.dirty & 32 && F(r);
|
|
108
|
-
}, [u, e, t, s, n, r, I];
|
|
109
|
-
}
|
|
110
|
-
class H extends M {
|
|
111
|
-
constructor(i) {
|
|
112
|
-
super(), x(
|
|
113
|
-
this,
|
|
114
|
-
i,
|
|
115
|
-
V,
|
|
116
|
-
U,
|
|
117
|
-
R,
|
|
118
|
-
{
|
|
119
|
-
inDelay: 2,
|
|
120
|
-
outDelay: 3,
|
|
121
|
-
content: 4,
|
|
122
|
-
unfolded: 5
|
|
123
|
-
},
|
|
124
|
-
P
|
|
125
|
-
);
|
|
126
|
-
}
|
|
127
|
-
}
|
|
128
|
-
export {
|
|
129
|
-
H as Text
|
|
130
|
-
};
|
|
@@ -1,131 +0,0 @@
|
|
|
1
|
-
import { SvelteComponent as O, init as P, safe_not_equal as Q, append_styles as V, empty as X, insert as J, transition_in as v, group_outros as Y, transition_out as _, check_outros as Z, detach as K, element as c, create_component as D, space as T, attr as $, set_style as A, add_render_callback as x, toggle_class as G, mount_component as I, append as m, add_resize_listener as ee, listen as te, destroy_component as M } from "../../../vendor/svelte/internal/index.js";
|
|
2
|
-
import { uuid as ie } from "../../../shared-utils/uuid.js";
|
|
3
|
-
import "animejs";
|
|
4
|
-
import "three";
|
|
5
|
-
import "../../utils/constants.js";
|
|
6
|
-
import { Shadow as ne } from "../Common/Shadow.js";
|
|
7
|
-
import { Audio as oe } from "../Common/Audio.js";
|
|
8
|
-
import { Straight as le } from "../Common/Line/Straight.js";
|
|
9
|
-
import { MultiLineText as se } from "../Common/MultiLineText.js";
|
|
10
|
-
function re(e) {
|
|
11
|
-
V(e, "svelte-4r8s18", ".audio-tag.svelte-4r8s18.svelte-4r8s18{position:absolute;left:0;top:0;width:0;height:0;overflow:visible}.line.svelte-4r8s18.svelte-4r8s18{display:flex;position:absolute;top:0;left:0;width:10.125rem;height:0.0625rem;transform:translate3d(0, -50%, 0.625rem)}.content.svelte-4r8s18.svelte-4r8s18{width:-moz-max-content;width:max-content;height:3.375rem;padding:2.25rem 0.25rem 0 1rem;position:absolute;left:0;bottom:0.125rem;overflow:hidden;box-sizing:border-box;font-size:0;white-space:nowrap;font-weight:600}.wrapper.svelte-4r8s18.svelte-4r8s18{position:relative;width:100%;height:100%}.audio-icon.svelte-4r8s18.svelte-4r8s18{vertical-align:top;display:inline-block;width:1rem;height:1rem;margin-right:0.25rem;margin-top:0.0625rem}.unfolded.svelte-4r8s18 .audio-icon.svelte-4r8s18{pointer-events:auto}");
|
|
12
|
-
}
|
|
13
|
-
function H(e) {
|
|
14
|
-
var W, q, L, N;
|
|
15
|
-
let o, l, i, n, s, p, a, f, h, u, k, d, g, C, w, U, R;
|
|
16
|
-
return l = new ne({
|
|
17
|
-
props: {
|
|
18
|
-
visible: e[5],
|
|
19
|
-
left: e[2] / 2 + "px",
|
|
20
|
-
bottom: 12,
|
|
21
|
-
width: 2,
|
|
22
|
-
blurRadius: 120,
|
|
23
|
-
spreadRadius: 60
|
|
24
|
-
}
|
|
25
|
-
}), s = new le({
|
|
26
|
-
props: {
|
|
27
|
-
unfolded: e[5],
|
|
28
|
-
duration: 1e3,
|
|
29
|
-
outDelay: e[4] + 20 * Math.min((q = (W = e[3][0]) == null ? void 0 : W.content.length) != null ? q : 10, 15)
|
|
30
|
-
}
|
|
31
|
-
}), u = new oe({
|
|
32
|
-
props: {
|
|
33
|
-
unfolded: e[5],
|
|
34
|
-
url: e[0].data.audioUrl,
|
|
35
|
-
duration: 1e3,
|
|
36
|
-
outDelay: 20 * Math.min((N = (L = e[3][0]) == null ? void 0 : L.content.length) != null ? N : 10, 15),
|
|
37
|
-
hooksInfo: { tag: e[0] }
|
|
38
|
-
}
|
|
39
|
-
}), g = new se({
|
|
40
|
-
props: {
|
|
41
|
-
visible: e[5],
|
|
42
|
-
textUnfolded: e[1],
|
|
43
|
-
textItems: e[3]
|
|
44
|
-
}
|
|
45
|
-
}), {
|
|
46
|
-
c() {
|
|
47
|
-
o = c("div"), D(l.$$.fragment), i = T(), n = c("div"), D(s.$$.fragment), p = T(), a = c("div"), f = c("div"), h = c("div"), D(u.$$.fragment), k = T(), d = c("div"), D(g.$$.fragment), $(n, "class", "line svelte-4r8s18"), A(n, "width", e[2] + "px"), $(h, "class", "audio-icon svelte-4r8s18"), A(d, "display", "inline-block"), $(f, "class", "wrapper svelte-4r8s18"), $(a, "class", "content svelte-4r8s18"), x(() => e[8].call(a)), $(o, "class", "audio-tag svelte-4r8s18"), G(o, "unfolded", e[5]);
|
|
48
|
-
},
|
|
49
|
-
m(t, r) {
|
|
50
|
-
J(t, o, r), I(l, o, null), m(o, i), m(o, n), I(s, n, null), m(o, p), m(o, a), m(a, f), m(f, h), I(u, h, null), m(f, k), m(f, d), I(g, d, null), C = ee(a, e[8].bind(a)), w = !0, U || (R = te(d, "click", e[6]), U = !0);
|
|
51
|
-
},
|
|
52
|
-
p(t, r) {
|
|
53
|
-
var j, B, E, F;
|
|
54
|
-
const y = {};
|
|
55
|
-
r & 32 && (y.visible = t[5]), r & 4 && (y.left = t[2] / 2 + "px"), l.$set(y);
|
|
56
|
-
const S = {};
|
|
57
|
-
r & 32 && (S.unfolded = t[5]), r & 24 && (S.outDelay = t[4] + 20 * Math.min((B = (j = t[3][0]) == null ? void 0 : j.content.length) != null ? B : 10, 15)), s.$set(S), r & 4 && A(n, "width", t[2] + "px");
|
|
58
|
-
const b = {};
|
|
59
|
-
r & 32 && (b.unfolded = t[5]), r & 1 && (b.url = t[0].data.audioUrl), r & 8 && (b.outDelay = 20 * Math.min((F = (E = t[3][0]) == null ? void 0 : E.content.length) != null ? F : 10, 15)), r & 1 && (b.hooksInfo = { tag: t[0] }), u.$set(b);
|
|
60
|
-
const z = {};
|
|
61
|
-
r & 32 && (z.visible = t[5]), r & 2 && (z.textUnfolded = t[1]), r & 8 && (z.textItems = t[3]), g.$set(z), (!w || r & 32) && G(o, "unfolded", t[5]);
|
|
62
|
-
},
|
|
63
|
-
i(t) {
|
|
64
|
-
w || (v(l.$$.fragment, t), v(s.$$.fragment, t), v(u.$$.fragment, t), v(g.$$.fragment, t), w = !0);
|
|
65
|
-
},
|
|
66
|
-
o(t) {
|
|
67
|
-
_(l.$$.fragment, t), _(s.$$.fragment, t), _(u.$$.fragment, t), _(g.$$.fragment, t), w = !1;
|
|
68
|
-
},
|
|
69
|
-
d(t) {
|
|
70
|
-
t && K(o), M(l), M(s), M(u), M(g), C(), U = !1, R();
|
|
71
|
-
}
|
|
72
|
-
};
|
|
73
|
-
}
|
|
74
|
-
function ae(e) {
|
|
75
|
-
let o, l, i = e[0].state && H(e);
|
|
76
|
-
return {
|
|
77
|
-
c() {
|
|
78
|
-
i && i.c(), o = X();
|
|
79
|
-
},
|
|
80
|
-
m(n, s) {
|
|
81
|
-
i && i.m(n, s), J(n, o, s), l = !0;
|
|
82
|
-
},
|
|
83
|
-
p(n, [s]) {
|
|
84
|
-
n[0].state ? i ? (i.p(n, s), s & 1 && v(i, 1)) : (i = H(n), i.c(), v(i, 1), i.m(o.parentNode, o)) : i && (Y(), _(i, 1, 1, () => {
|
|
85
|
-
i = null;
|
|
86
|
-
}), Z());
|
|
87
|
-
},
|
|
88
|
-
i(n) {
|
|
89
|
-
l || (v(i), l = !0);
|
|
90
|
-
},
|
|
91
|
-
o(n) {
|
|
92
|
-
_(i), l = !1;
|
|
93
|
-
},
|
|
94
|
-
d(n) {
|
|
95
|
-
i && i.d(n), n && K(o);
|
|
96
|
-
}
|
|
97
|
-
};
|
|
98
|
-
}
|
|
99
|
-
function de(e, o, l) {
|
|
100
|
-
let i, n, s, { tag: p } = o, a = !1, f, h = [];
|
|
101
|
-
function u() {
|
|
102
|
-
l(1, a = !a);
|
|
103
|
-
}
|
|
104
|
-
function k() {
|
|
105
|
-
f = this.clientWidth, l(2, f);
|
|
106
|
-
}
|
|
107
|
-
return e.$$set = (d) => {
|
|
108
|
-
"tag" in d && l(0, p = d.tag);
|
|
109
|
-
}, e.$$.update = () => {
|
|
110
|
-
var d;
|
|
111
|
-
e.$$.dirty & 1 && l(5, i = !!((d = p.state) != null && d.unfolded)), e.$$.dirty & 1 && l(7, n = p.data.text), e.$$.dirty & 128 && l(3, h = [{ id: ie(), content: n }]), e.$$.dirty & 2 && l(4, s = a ? 450 : 0);
|
|
112
|
-
}, [
|
|
113
|
-
p,
|
|
114
|
-
a,
|
|
115
|
-
f,
|
|
116
|
-
h,
|
|
117
|
-
s,
|
|
118
|
-
i,
|
|
119
|
-
u,
|
|
120
|
-
n,
|
|
121
|
-
k
|
|
122
|
-
];
|
|
123
|
-
}
|
|
124
|
-
class we extends O {
|
|
125
|
-
constructor(o) {
|
|
126
|
-
super(), P(this, o, de, ae, Q, { tag: 0 }, re);
|
|
127
|
-
}
|
|
128
|
-
}
|
|
129
|
-
export {
|
|
130
|
-
we as AudioTag
|
|
131
|
-
};
|
|
@@ -1,122 +0,0 @@
|
|
|
1
|
-
import { SvelteComponent as W, init as q, safe_not_equal as C, append_styles as L, empty as N, insert as h, transition_in as p, group_outros as j, transition_out as g, check_outros as A, detach as c, create_component as x, space as D, element as I, attr as M, set_style as S, add_render_callback as B, mount_component as $, add_resize_listener as E, listen as F, destroy_component as k } from "../../../vendor/svelte/internal/index.js";
|
|
2
|
-
import { Straight as G } from "../Common/Line/Straight.js";
|
|
3
|
-
import { uuid as H } from "../../../shared-utils/uuid.js";
|
|
4
|
-
import { Shadow as J } from "../Common/Shadow.js";
|
|
5
|
-
import { MultiLineText as K } from "../Common/MultiLineText.js";
|
|
6
|
-
function O(n) {
|
|
7
|
-
L(n, "svelte-18yy5x8", ".line.svelte-18yy5x8{position:absolute;top:0;left:0;width:10.125rem;height:0.0625rem;transform:translate3d(0, -50%, 0.625rem)}.content.svelte-18yy5x8{width:-moz-max-content;width:max-content;height:3.375rem;padding:2.25rem 0.25rem 0 1rem;position:absolute;left:0;bottom:0;overflow:hidden;box-sizing:border-box;font-size:0;pointer-events:none;white-space:nowrap;font-weight:600}");
|
|
8
|
-
}
|
|
9
|
-
function R(n) {
|
|
10
|
-
var u, z;
|
|
11
|
-
let o, l, e, i, f, s, m, d, a, _, b;
|
|
12
|
-
return o = new J({
|
|
13
|
-
props: {
|
|
14
|
-
visible: n[2],
|
|
15
|
-
left: n[3] / 2 + "px",
|
|
16
|
-
bottom: 12,
|
|
17
|
-
width: 2,
|
|
18
|
-
blurRadius: 120,
|
|
19
|
-
spreadRadius: 60
|
|
20
|
-
}
|
|
21
|
-
}), i = new G({
|
|
22
|
-
props: {
|
|
23
|
-
unfolded: n[2],
|
|
24
|
-
duration: 1e3,
|
|
25
|
-
outDelay: n[5] + 40 * Math.min((z = (u = n[4][0]) == null ? void 0 : u.content.length) != null ? z : 10, 15)
|
|
26
|
-
}
|
|
27
|
-
}), m = new K({
|
|
28
|
-
props: {
|
|
29
|
-
visible: n[2],
|
|
30
|
-
textUnfolded: n[1],
|
|
31
|
-
textItems: n[4]
|
|
32
|
-
}
|
|
33
|
-
}), {
|
|
34
|
-
c() {
|
|
35
|
-
x(o.$$.fragment), l = D(), e = I("div"), x(i.$$.fragment), f = D(), s = I("div"), x(m.$$.fragment), M(e, "class", "line svelte-18yy5x8"), S(e, "width", n[3] + "px"), M(s, "class", "content svelte-18yy5x8"), B(() => n[8].call(s));
|
|
36
|
-
},
|
|
37
|
-
m(t, r) {
|
|
38
|
-
$(o, t, r), h(t, l, r), h(t, e, r), $(i, e, null), h(t, f, r), h(t, s, r), $(m, s, null), d = E(s, n[8].bind(s)), a = !0, _ || (b = F(s, "click", n[6]), _ = !0);
|
|
39
|
-
},
|
|
40
|
-
p(t, r) {
|
|
41
|
-
var T, U;
|
|
42
|
-
const y = {};
|
|
43
|
-
r & 4 && (y.visible = t[2]), r & 8 && (y.left = t[3] / 2 + "px"), o.$set(y);
|
|
44
|
-
const v = {};
|
|
45
|
-
r & 4 && (v.unfolded = t[2]), r & 48 && (v.outDelay = t[5] + 40 * Math.min((U = (T = t[4][0]) == null ? void 0 : T.content.length) != null ? U : 10, 15)), i.$set(v), r & 8 && S(e, "width", t[3] + "px");
|
|
46
|
-
const w = {};
|
|
47
|
-
r & 4 && (w.visible = t[2]), r & 2 && (w.textUnfolded = t[1]), r & 16 && (w.textItems = t[4]), m.$set(w);
|
|
48
|
-
},
|
|
49
|
-
i(t) {
|
|
50
|
-
a || (p(o.$$.fragment, t), p(i.$$.fragment, t), p(m.$$.fragment, t), a = !0);
|
|
51
|
-
},
|
|
52
|
-
o(t) {
|
|
53
|
-
g(o.$$.fragment, t), g(i.$$.fragment, t), g(m.$$.fragment, t), a = !1;
|
|
54
|
-
},
|
|
55
|
-
d(t) {
|
|
56
|
-
k(o, t), t && c(l), t && c(e), k(i), t && c(f), t && c(s), k(m), d(), _ = !1, b();
|
|
57
|
-
}
|
|
58
|
-
};
|
|
59
|
-
}
|
|
60
|
-
function P(n) {
|
|
61
|
-
let o, l, e = n[0].state && R(n);
|
|
62
|
-
return {
|
|
63
|
-
c() {
|
|
64
|
-
e && e.c(), o = N();
|
|
65
|
-
},
|
|
66
|
-
m(i, f) {
|
|
67
|
-
e && e.m(i, f), h(i, o, f), l = !0;
|
|
68
|
-
},
|
|
69
|
-
p(i, [f]) {
|
|
70
|
-
i[0].state ? e ? (e.p(i, f), f & 1 && p(e, 1)) : (e = R(i), e.c(), p(e, 1), e.m(o.parentNode, o)) : e && (j(), g(e, 1, 1, () => {
|
|
71
|
-
e = null;
|
|
72
|
-
}), A());
|
|
73
|
-
},
|
|
74
|
-
i(i) {
|
|
75
|
-
l || (p(e), l = !0);
|
|
76
|
-
},
|
|
77
|
-
o(i) {
|
|
78
|
-
g(e), l = !1;
|
|
79
|
-
},
|
|
80
|
-
d(i) {
|
|
81
|
-
e && e.d(i), i && c(o);
|
|
82
|
-
}
|
|
83
|
-
};
|
|
84
|
-
}
|
|
85
|
-
function Q(n, o, l) {
|
|
86
|
-
let e, i, f, { tag: s } = o, m, d = !1, a = [];
|
|
87
|
-
function _() {
|
|
88
|
-
l(1, d = !d);
|
|
89
|
-
}
|
|
90
|
-
function b() {
|
|
91
|
-
m = this.clientWidth, l(3, m);
|
|
92
|
-
}
|
|
93
|
-
return n.$$set = (u) => {
|
|
94
|
-
"tag" in u && l(0, s = u.tag);
|
|
95
|
-
}, n.$$.update = () => {
|
|
96
|
-
var u;
|
|
97
|
-
n.$$.dirty & 1 && l(2, e = !!((u = s.state) != null && u.unfolded)), n.$$.dirty & 1 && l(7, i = s.data.text), n.$$.dirty & 128 && l(4, a = [{ id: H(), content: i }]), n.$$.dirty & 4 && (e || setTimeout(
|
|
98
|
-
() => {
|
|
99
|
-
l(1, d = !1);
|
|
100
|
-
},
|
|
101
|
-
20
|
|
102
|
-
)), n.$$.dirty & 2 && l(5, f = d ? 450 : 0);
|
|
103
|
-
}, [
|
|
104
|
-
s,
|
|
105
|
-
d,
|
|
106
|
-
e,
|
|
107
|
-
m,
|
|
108
|
-
a,
|
|
109
|
-
f,
|
|
110
|
-
_,
|
|
111
|
-
i,
|
|
112
|
-
b
|
|
113
|
-
];
|
|
114
|
-
}
|
|
115
|
-
class te extends W {
|
|
116
|
-
constructor(o) {
|
|
117
|
-
super(), q(this, o, Q, P, C, { tag: 0 }, O);
|
|
118
|
-
}
|
|
119
|
-
}
|
|
120
|
-
export {
|
|
121
|
-
te as TextTag
|
|
122
|
-
};
|
|
@@ -1,152 +0,0 @@
|
|
|
1
|
-
import { SvelteComponent as K, init as M, safe_not_equal as N, append_styles as O, element as W, space as Q, attr as T, toggle_class as _, set_style as d, insert as j, append as R, transition_in as p, group_outros as z, transition_out as h, check_outros as A, detach as B, create_component as E, mount_component as F, destroy_component as G, listen as U, stop_propagation as V } from "../../vendor/svelte/internal/index.js";
|
|
2
|
-
import "three";
|
|
3
|
-
import { noTypecheck as C } from "../utils/noTypecheck.js";
|
|
4
|
-
import { DimensionType as q, PointType as D, ContentType as X } from "../typings/tag.js";
|
|
5
|
-
import { Tag as Y } from "./Tag/index.js";
|
|
6
|
-
import { PointSwitch as Z } from "./Common/Point/PointSwitch.js";
|
|
7
|
-
function x(t) {
|
|
8
|
-
O(t, "svelte-1vzhbu2", ".wrapper.svelte-1vzhbu2{position:absolute;width:0rem;height:0rem;overflow:visible;pointer-events:auto}.point.svelte-1vzhbu2{-webkit-tap-highlight-color:transparent;position:absolute;transform:translate(-50%, -50%);left:50%;top:50%}");
|
|
9
|
-
}
|
|
10
|
-
function I(t) {
|
|
11
|
-
let e, o;
|
|
12
|
-
return e = new Y({
|
|
13
|
-
props: {
|
|
14
|
-
mediaStore: t[4],
|
|
15
|
-
withAnimation: t[0],
|
|
16
|
-
tag: C(t[1]),
|
|
17
|
-
hooks: t[2],
|
|
18
|
-
state: t[3],
|
|
19
|
-
temporaryState: t[5]
|
|
20
|
-
}
|
|
21
|
-
}), {
|
|
22
|
-
c() {
|
|
23
|
-
E(e.$$.fragment);
|
|
24
|
-
},
|
|
25
|
-
m(a, l) {
|
|
26
|
-
F(e, a, l), o = !0;
|
|
27
|
-
},
|
|
28
|
-
p(a, l) {
|
|
29
|
-
const i = {};
|
|
30
|
-
l & 16 && (i.mediaStore = a[4]), l & 1 && (i.withAnimation = a[0]), l & 2 && (i.tag = C(a[1])), l & 4 && (i.hooks = a[2]), l & 8 && (i.state = a[3]), l & 32 && (i.temporaryState = a[5]), e.$set(i);
|
|
31
|
-
},
|
|
32
|
-
i(a) {
|
|
33
|
-
o || (p(e.$$.fragment, a), o = !0);
|
|
34
|
-
},
|
|
35
|
-
o(a) {
|
|
36
|
-
h(e.$$.fragment, a), o = !1;
|
|
37
|
-
},
|
|
38
|
-
d(a) {
|
|
39
|
-
G(e, a);
|
|
40
|
-
}
|
|
41
|
-
};
|
|
42
|
-
}
|
|
43
|
-
function L(t) {
|
|
44
|
-
let e, o, a, l, i;
|
|
45
|
-
return o = new Z({ props: { tag: t[1] } }), {
|
|
46
|
-
c() {
|
|
47
|
-
e = W("div"), E(o.$$.fragment), T(e, "class", "point svelte-1vzhbu2");
|
|
48
|
-
},
|
|
49
|
-
m(n, m) {
|
|
50
|
-
j(n, e, m), F(o, e, null), a = !0, l || (i = U(e, "click", V(t[11])), l = !0);
|
|
51
|
-
},
|
|
52
|
-
p(n, m) {
|
|
53
|
-
const u = {};
|
|
54
|
-
m & 2 && (u.tag = n[1]), o.$set(u);
|
|
55
|
-
},
|
|
56
|
-
i(n) {
|
|
57
|
-
a || (p(o.$$.fragment, n), a = !0);
|
|
58
|
-
},
|
|
59
|
-
o(n) {
|
|
60
|
-
h(o.$$.fragment, n), a = !1;
|
|
61
|
-
},
|
|
62
|
-
d(n) {
|
|
63
|
-
n && B(e), G(o), l = !1, i();
|
|
64
|
-
}
|
|
65
|
-
};
|
|
66
|
-
}
|
|
67
|
-
function $(t) {
|
|
68
|
-
var m, u;
|
|
69
|
-
let e, o, a, l, i = t[1].dimensionType === q.Two && I(t), n = t[1].pointType === D.PointTag && ((u = (m = t[1].style) == null ? void 0 : m.point) == null ? void 0 : u.style) !== "noPoint" && L(t);
|
|
70
|
-
return {
|
|
71
|
-
c() {
|
|
72
|
-
e = W("div"), i && i.c(), o = Q(), n && n.c(), T(e, "class", "wrapper svelte-1vzhbu2"), T(e, "data-id", a = t[1].id), _(e, "hide", t[10]), _(e, "unfolded", t[6]), d(e, "left", t[9]), d(e, "top", t[8]), d(e, "z-index", t[7]);
|
|
73
|
-
},
|
|
74
|
-
m(r, f) {
|
|
75
|
-
j(r, e, f), i && i.m(e, null), R(e, o), n && n.m(e, null), l = !0;
|
|
76
|
-
},
|
|
77
|
-
p(r, [f]) {
|
|
78
|
-
var g, c;
|
|
79
|
-
r[1].dimensionType === q.Two ? i ? (i.p(r, f), f & 2 && p(i, 1)) : (i = I(r), i.c(), p(i, 1), i.m(e, o)) : i && (z(), h(i, 1, 1, () => {
|
|
80
|
-
i = null;
|
|
81
|
-
}), A()), r[1].pointType === D.PointTag && ((c = (g = r[1].style) == null ? void 0 : g.point) == null ? void 0 : c.style) !== "noPoint" ? n ? (n.p(r, f), f & 2 && p(n, 1)) : (n = L(r), n.c(), p(n, 1), n.m(e, null)) : n && (z(), h(n, 1, 1, () => {
|
|
82
|
-
n = null;
|
|
83
|
-
}), A()), (!l || f & 2 && a !== (a = r[1].id)) && T(e, "data-id", a), (!l || f & 1024) && _(e, "hide", r[10]), (!l || f & 64) && _(e, "unfolded", r[6]), f & 512 && d(e, "left", r[9]), f & 256 && d(e, "top", r[8]), f & 128 && d(e, "z-index", r[7]);
|
|
84
|
-
},
|
|
85
|
-
i(r) {
|
|
86
|
-
l || (p(i), p(n), l = !0);
|
|
87
|
-
},
|
|
88
|
-
o(r) {
|
|
89
|
-
h(i), h(n), l = !1;
|
|
90
|
-
},
|
|
91
|
-
d(r) {
|
|
92
|
-
r && B(e), i && i.d(), n && n.d();
|
|
93
|
-
}
|
|
94
|
-
};
|
|
95
|
-
}
|
|
96
|
-
function ee(t, e, o) {
|
|
97
|
-
let a, l, i, n, m, u, { withAnimation: r = !1 } = e, { tag: f } = e, { hooks: g } = e, { state: c } = e, { mediaStore: y } = e, { temporaryState: S } = e, k, w = !1;
|
|
98
|
-
function H(s) {
|
|
99
|
-
k !== void 0 && clearTimeout(k), w = !0, k = setTimeout(
|
|
100
|
-
() => {
|
|
101
|
-
w = !1;
|
|
102
|
-
},
|
|
103
|
-
800
|
|
104
|
-
);
|
|
105
|
-
}
|
|
106
|
-
const J = (s) => {
|
|
107
|
-
w || g.emit("click", { event: s, target: "TagPoint", tag: f });
|
|
108
|
-
};
|
|
109
|
-
return t.$$set = (s) => {
|
|
110
|
-
"withAnimation" in s && o(0, r = s.withAnimation), "tag" in s && o(1, f = s.tag), "hooks" in s && o(2, g = s.hooks), "state" in s && o(3, c = s.state), "mediaStore" in s && o(4, y = s.mediaStore), "temporaryState" in s && o(5, S = s.temporaryState);
|
|
111
|
-
}, t.$$.update = () => {
|
|
112
|
-
var s, b, v, P;
|
|
113
|
-
t.$$.dirty & 2 && o(12, a = (s = f.state) == null ? void 0 : s.visible), t.$$.dirty & 4096 && o(10, l = !a), t.$$.dirty & 2 && o(6, i = (b = f.state) == null ? void 0 : b.unfolded), t.$$.dirty & 2 && o(9, n = ((v = f.pointTagStyle) == null ? void 0 : v.leftPercent) + "%"), t.$$.dirty & 2 && o(8, m = ((P = f.pointTagStyle) == null ? void 0 : P.topPercent) + "%"), t.$$.dirty & 2 && o(7, u = f.contentType === X.Link ? 1 : 0), t.$$.dirty & 64 && H();
|
|
114
|
-
}, [
|
|
115
|
-
r,
|
|
116
|
-
f,
|
|
117
|
-
g,
|
|
118
|
-
c,
|
|
119
|
-
y,
|
|
120
|
-
S,
|
|
121
|
-
i,
|
|
122
|
-
u,
|
|
123
|
-
m,
|
|
124
|
-
n,
|
|
125
|
-
l,
|
|
126
|
-
J,
|
|
127
|
-
a
|
|
128
|
-
];
|
|
129
|
-
}
|
|
130
|
-
class re extends K {
|
|
131
|
-
constructor(e) {
|
|
132
|
-
super(), M(
|
|
133
|
-
this,
|
|
134
|
-
e,
|
|
135
|
-
ee,
|
|
136
|
-
$,
|
|
137
|
-
N,
|
|
138
|
-
{
|
|
139
|
-
withAnimation: 0,
|
|
140
|
-
tag: 1,
|
|
141
|
-
hooks: 2,
|
|
142
|
-
state: 3,
|
|
143
|
-
mediaStore: 4,
|
|
144
|
-
temporaryState: 5
|
|
145
|
-
},
|
|
146
|
-
x
|
|
147
|
-
);
|
|
148
|
-
}
|
|
149
|
-
}
|
|
150
|
-
export {
|
|
151
|
-
re as TagWrapper
|
|
152
|
-
};
|