@realsee/dnalogel 3.31.1-dev.0 → 3.32.0-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/CHANGELOG.md +3 -0
- package/dist/PanoSpatialTagPlugin/store.d.ts +1 -0
- package/dist/PanoTagPlugin/controller/TagCache.d.ts +1 -1
- package/dist/PanoTagPlugin/controller/TagUtil.d.ts +4 -1
- package/dist/PanoTagPlugin/controller/index.d.ts +1 -0
- package/dist/PanoTagPlugin/typings/controller.d.ts +1 -0
- package/dist/index.cjs.js +66 -66
- package/dist/index.js +5849 -5666
- package/dist/index.umd.js +59 -59
- package/libs/AreaMakerPlugin/Controller.js +54 -44
- package/libs/AreaMakerPlugin/index.js +13 -3
- package/libs/AreaMakerPlugin/utils/Item.js +13 -3
- package/libs/CruisePlugin/Move.js +50 -37
- package/libs/CruisePlugin/Work.js +19 -6
- package/libs/CruisePlugin/index.js +23 -10
- package/libs/GuideLinePlugin/Components/Tag.js +58 -48
- package/libs/GuideLinePlugin/Controller.js +46 -33
- package/libs/GuideLinePlugin/GuideLineItem.js +19 -6
- package/libs/GuideLinePlugin/GuideLineModeItem.js +19 -6
- package/libs/GuideLinePlugin/index.js +23 -10
- package/libs/ItemLabelPlugin/ItemLabelComponent.js +152 -139
- package/libs/ItemLabelPlugin/ItemLabelItem.js +67 -57
- package/libs/ItemLabelPlugin/Plugin.js +37 -26
- package/libs/ItemLabelPlugin/index.js +16 -5
- package/libs/ModelItemLabelPlugin/ItemLabelComponent.js +116 -103
- package/libs/ModelItemLabelPlugin/ItemLabelItem.js +45 -35
- package/libs/ModelItemLabelPlugin/ModelItemLabelPlugin.js +35 -24
- package/libs/ModelItemLabelPlugin/index.js +16 -5
- package/libs/ModelMakerPlugin/Controller.js +33 -23
- package/libs/ModelMakerPlugin/index.js +13 -3
- package/libs/ModelMakerPlugin/utils/Text.js +43 -33
- package/libs/ModelMakerPlugin/utils/tagRenderer.js +28 -18
- package/libs/ModelRoomLabelPlugin/Controller.js +20 -8
- package/libs/ModelRoomLabelPlugin/RoomLabelItem.js +52 -42
- package/libs/ModelRoomLabelPlugin/RoomLabelItems.js +75 -61
- package/libs/ModelRoomLabelPlugin/index.js +17 -5
- package/libs/PanoDoorLabelPlugin/Controller.js +38 -28
- package/libs/PanoDoorLabelPlugin/DoorLabelItem.js +55 -45
- package/libs/PanoDoorLabelPlugin/index.js +14 -4
- package/libs/PanoMeasurePlugin/Components/Common/CircleButton.js +70 -60
- package/libs/PanoMeasurePlugin/Components/Common/Exit.js +32 -22
- package/libs/PanoMeasurePlugin/Components/Common/Switcher0.js +75 -62
- package/libs/PanoMeasurePlugin/Components/Common/Switcher1.js +110 -97
- package/libs/PanoMeasurePlugin/Components/Controller0.js +72 -61
- package/libs/PanoMeasurePlugin/Components/Controller1.js +33 -22
- package/libs/PanoMeasurePlugin/Components/Tip.js +76 -66
- package/libs/PanoMeasurePlugin/Controller/index.js +28 -17
- package/libs/PanoMeasurePlugin/Modules/GuideController.js +26 -16
- package/libs/PanoMeasurePlugin/Modules/UIController/index.js +34 -23
- package/libs/PanoMeasurePlugin/index.js +27 -16
- package/libs/PanoRulerProPlugin/Controller.js +38 -27
- package/libs/PanoRulerProPlugin/RulerItem.js +94 -79
- package/libs/PanoRulerProPlugin/RulerItems.js +95 -82
- package/libs/PanoRulerProPlugin/index.js +15 -4
- package/libs/PanoSpatialTagPlugin/Components/origins.js +51 -38
- package/libs/PanoSpatialTagPlugin/Components/tag.js +32 -22
- package/libs/PanoSpatialTagPlugin/Plugin.js +115 -104
- package/libs/PanoSpatialTagPlugin/index.js +13 -2
- package/libs/PanoSpatialTagPlugin/store.d.ts +1 -0
- package/libs/PanoSpatialTagPlugin/store.js +2 -2
- package/libs/PanoTagPlugin/Components/Common/Arrow.js +44 -34
- package/libs/PanoTagPlugin/Components/Common/Audio.js +99 -89
- package/libs/PanoTagPlugin/Components/Common/Icon/Icon.js +123 -112
- package/libs/PanoTagPlugin/Components/Common/Icon/audioIcon.js +55 -45
- package/libs/PanoTagPlugin/Components/Common/Line/Polyline.js +59 -49
- package/libs/PanoTagPlugin/Components/Common/Line/Straight.js +79 -69
- package/libs/PanoTagPlugin/Components/Common/Media.js +145 -131
- package/libs/PanoTagPlugin/Components/Common/MediaItem.js +35 -25
- package/libs/PanoTagPlugin/Components/Common/Shadow.js +58 -48
- package/libs/PanoTagPlugin/Components/Common/TagPoint.js +35 -24
- package/libs/PanoTagPlugin/Components/Common/Text/FlyMText.js +97 -86
- package/libs/PanoTagPlugin/Components/Common/Text/FlyText.js +109 -96
- package/libs/PanoTagPlugin/Components/Common/Text/MText.js +128 -118
- package/libs/PanoTagPlugin/Components/Common/TextItem.js +59 -49
- package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioPlaneTag.js +100 -90
- package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioTag.js +92 -81
- package/libs/PanoTagPlugin/Components/Tag/AudioTag/index.js +68 -57
- package/libs/PanoTagPlugin/Components/Tag/CustomTag.js +45 -35
- package/libs/PanoTagPlugin/Components/Tag/ImageTextTag.js +122 -110
- package/libs/PanoTagPlugin/Components/Tag/LinkTag.js +53 -42
- package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +130 -115
- package/libs/PanoTagPlugin/Components/Tag/MediaPlane.js +66 -54
- package/libs/PanoTagPlugin/Components/Tag/PanoramaTag.js +62 -52
- package/libs/PanoTagPlugin/Components/Tag/TextTag/TextPlaneTag.js +66 -56
- package/libs/PanoTagPlugin/Components/Tag/TextTag/TextTag.js +109 -98
- package/libs/PanoTagPlugin/Components/Tag/TextTag/index.js +54 -43
- package/libs/PanoTagPlugin/Components/Tag/index.js +161 -148
- package/libs/PanoTagPlugin/Components/TagContainer.js +77 -62
- package/libs/PanoTagPlugin/Components/TagItem.js +182 -169
- package/libs/PanoTagPlugin/controller/TagCache.d.ts +1 -1
- package/libs/PanoTagPlugin/controller/TagCache.js +5 -5
- package/libs/PanoTagPlugin/controller/TagComputer.js +2 -2
- package/libs/PanoTagPlugin/controller/TagRender.js +56 -43
- package/libs/PanoTagPlugin/controller/TagUtil.d.ts +4 -1
- package/libs/PanoTagPlugin/controller/TagUtil.js +78 -70
- package/libs/PanoTagPlugin/controller/index.d.ts +1 -0
- package/libs/PanoTagPlugin/controller/index.js +84 -65
- package/libs/PanoTagPlugin/index.js +28 -15
- package/libs/PanoTagPlugin/typings/controller.d.ts +1 -0
- package/libs/base/BasePlugin.js +1 -1
- package/libs/components/AreaLabel/LabelItem.js +56 -51
- package/libs/floorplan/Components/BaseImage.js +43 -39
- package/libs/floorplan/Components/Camera.js +41 -32
- package/libs/floorplan/Components/Compass.js +27 -24
- package/libs/floorplan/Components/CurrentFloor.js +167 -162
- package/libs/floorplan/Components/Main.js +85 -76
- package/libs/floorplan/Components/MissingFloor.js +24 -21
- package/libs/floorplan/Components/Normalmage.js +25 -22
- package/libs/floorplan/Components/RoomHighlight/Room.js +28 -25
- package/libs/floorplan/Components/RoomHighlight/RoomHighlight.js +69 -61
- package/libs/floorplan/Components/RoomLabels/RoomLabel.js +104 -101
- package/libs/floorplan/Components/RoomLabels/RoomLabels.js +65 -57
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial.js +125 -118
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial_0.js +25 -22
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial_1.js +43 -40
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial_2.js +32 -29
- package/libs/floorplan/Components/RuleLabels/RuleItem.js +49 -41
- package/libs/floorplan/Components/RuleLabels/RuleLabels.js +102 -94
- package/libs/floorplan/Components/SvgImage.js +30 -27
- package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +18 -6
- package/libs/floorplan/MapviewFloorplanPlugin/index.js +19 -7
- package/libs/floorplan/ModelFloorplanPlugin/Controller.js +58 -46
- package/libs/floorplan/ModelFloorplanPlugin/index.js +19 -7
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Camera.js +77 -65
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/CurrentFloor.js +95 -83
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/ExtraObjects.js +70 -53
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Main.js +112 -100
- package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +40 -28
- package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +16 -4
- package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +30 -18
- package/libs/floorplan/TopviewFloorplanPlugin/index.js +19 -7
- package/libs/floorplan/index.js +1 -0
- package/libs/index.js +143 -129
- package/libs/shared-utils/logger.js +1 -1
- package/libs/vendor/svelte/src/runtime/internal/Component.js +122 -0
- package/libs/vendor/svelte/src/runtime/internal/ResizeObserverSingleton.js +1 -0
- package/libs/vendor/svelte/src/runtime/internal/animations.js +1 -0
- package/libs/vendor/svelte/src/runtime/internal/await_block.js +47 -0
- package/libs/vendor/svelte/src/runtime/internal/dev.js +1 -0
- package/libs/vendor/svelte/src/runtime/internal/disclose-version/index.js +2 -0
- package/libs/vendor/svelte/src/runtime/internal/dom.js +214 -0
- package/libs/vendor/svelte/src/runtime/internal/each.js +46 -0
- package/libs/vendor/svelte/src/runtime/internal/environment.js +7 -0
- package/libs/vendor/svelte/src/runtime/internal/globals.js +7 -0
- package/libs/vendor/svelte/src/runtime/internal/index.js +1 -0
- package/libs/vendor/svelte/src/runtime/internal/lifecycle.js +63 -0
- package/libs/vendor/svelte/src/runtime/internal/loop.js +21 -0
- package/libs/vendor/svelte/src/runtime/internal/scheduler.js +66 -0
- package/libs/vendor/svelte/src/runtime/internal/spread.js +26 -0
- package/libs/vendor/svelte/src/runtime/internal/ssr.js +1 -0
- package/libs/vendor/svelte/src/runtime/internal/style_manager.js +48 -0
- package/libs/vendor/svelte/src/runtime/internal/transitions.js +192 -0
- package/libs/vendor/svelte/src/runtime/internal/utils.js +110 -0
- package/libs/vendor/svelte/{store → src/runtime/store}/index.js +5 -5
- package/libs/vendor/svelte/{transition → src/runtime/transition}/index.js +1 -1
- package/libs/vendor/svelte/src/shared/boolean_attributes.js +1 -0
- package/libs/vendor/svelte/src/shared/utils/names.js +1 -0
- package/libs/vendor/svelte/src/shared/version.js +4 -0
- package/libs/vendor/svelte-carousel/src/components/Arrow/Arrow.js +29 -25
- package/libs/vendor/svelte-carousel/src/components/Carousel/Carousel.js +197 -225
- package/libs/vendor/svelte-carousel/src/components/Dot/Dot.js +16 -12
- package/libs/vendor/svelte-carousel/src/components/Dots/Dots.js +65 -59
- package/libs/vendor/svelte-carousel/src/components/Progress/Progress.js +32 -29
- package/package.json +5 -6
- package/libs/vendor/svelte/internal/index.js +0 -749
- /package/libs/vendor/svelte/{easing → src/runtime/easing}/index.js +0 -0
- /package/libs/vendor/svelte/{index.js → src/runtime/index.js} +0 -0
|
@@ -1,198 +1,209 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { safe_not_equal as T } from "../../../../vendor/svelte/src/runtime/internal/utils.js";
|
|
2
|
+
import { append_styles as C, space as F, empty as Y, insert as c, detach as d, element as z, attr as H, set_style as h } from "../../../../vendor/svelte/src/runtime/internal/dom.js";
|
|
3
|
+
import { transition_in as u, transition_out as p, check_outros as v, group_outros as y } from "../../../../vendor/svelte/src/runtime/internal/transitions.js";
|
|
4
|
+
import { binding_callbacks as q } from "../../../../vendor/svelte/src/runtime/internal/scheduler.js";
|
|
5
|
+
import { SvelteComponent as A, init as B, create_component as D, mount_component as U, destroy_component as N } from "../../../../vendor/svelte/src/runtime/internal/Component.js";
|
|
6
|
+
import "../../../../vendor/svelte/src/runtime/internal/disclose-version/index.js";
|
|
2
7
|
import M from "./FlyText.js";
|
|
3
8
|
import j from "../Arrow.js";
|
|
4
9
|
import G from "../../../utils/doUtil.js";
|
|
10
|
+
import "../../../../vendor/svelte/src/runtime/internal/environment.js";
|
|
11
|
+
import "../../../../vendor/svelte/src/runtime/internal/loop.js";
|
|
12
|
+
import "../../../../vendor/svelte/src/runtime/internal/style_manager.js";
|
|
13
|
+
import "../../../../vendor/svelte/src/runtime/internal/lifecycle.js";
|
|
14
|
+
import "../../../../vendor/svelte/src/shared/version.js";
|
|
15
|
+
import "../../../../vendor/svelte/src/runtime/internal/each.js";
|
|
5
16
|
import "animejs";
|
|
6
17
|
import "../../../../shared-utils/uuid.js";
|
|
7
18
|
import "../../../../shared-utils/isNil.js";
|
|
8
19
|
import "three";
|
|
9
20
|
import "../../../utils/search.js";
|
|
10
21
|
import "../../../utils/constants.js";
|
|
11
|
-
import "../../../../vendor/svelte/transition/index.js";
|
|
12
|
-
import "../../../../vendor/svelte/easing/index.js";
|
|
22
|
+
import "../../../../vendor/svelte/src/runtime/transition/index.js";
|
|
23
|
+
import "../../../../vendor/svelte/src/runtime/easing/index.js";
|
|
13
24
|
import "../../../Assets/Icon.js";
|
|
14
25
|
import "../Shadow.js";
|
|
15
|
-
function I(
|
|
16
|
-
|
|
26
|
+
function I(r) {
|
|
27
|
+
C(r, "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}");
|
|
17
28
|
}
|
|
18
|
-
function w(
|
|
19
|
-
let
|
|
29
|
+
function w(r) {
|
|
30
|
+
let n, t, f;
|
|
20
31
|
return t = new M({
|
|
21
32
|
props: {
|
|
22
33
|
unfolded: (
|
|
23
34
|
/*visible*/
|
|
24
|
-
|
|
35
|
+
r[0]
|
|
25
36
|
),
|
|
26
37
|
content: (
|
|
27
38
|
/*content*/
|
|
28
|
-
|
|
39
|
+
r[1]
|
|
29
40
|
),
|
|
30
41
|
inDelay: 500,
|
|
31
42
|
outDelay: (
|
|
32
43
|
/*foldTextDelay*/
|
|
33
|
-
|
|
44
|
+
r[5]
|
|
34
45
|
)
|
|
35
46
|
}
|
|
36
47
|
}), {
|
|
37
48
|
c() {
|
|
38
|
-
|
|
39
|
-
|
|
49
|
+
n = z("div"), D(t.$$.fragment), H(n, "class", "text svelte-1fuzm7v"), h(
|
|
50
|
+
n,
|
|
40
51
|
"transform",
|
|
41
52
|
/*transform*/
|
|
42
|
-
|
|
53
|
+
r[7]
|
|
43
54
|
);
|
|
44
55
|
},
|
|
45
56
|
m(e, i) {
|
|
46
|
-
|
|
57
|
+
c(e, n, i), U(t, n, null), r[10](n), f = !0;
|
|
47
58
|
},
|
|
48
59
|
p(e, i) {
|
|
49
|
-
const
|
|
60
|
+
const o = {};
|
|
50
61
|
i & /*visible*/
|
|
51
|
-
1 && (
|
|
62
|
+
1 && (o.unfolded = /*visible*/
|
|
52
63
|
e[0]), i & /*content*/
|
|
53
|
-
2 && (
|
|
64
|
+
2 && (o.content = /*content*/
|
|
54
65
|
e[1]), i & /*foldTextDelay*/
|
|
55
|
-
32 && (
|
|
56
|
-
e[5]), t.$set(
|
|
57
|
-
128 &&
|
|
58
|
-
|
|
66
|
+
32 && (o.outDelay = /*foldTextDelay*/
|
|
67
|
+
e[5]), t.$set(o), i & /*transform*/
|
|
68
|
+
128 && h(
|
|
69
|
+
n,
|
|
59
70
|
"transform",
|
|
60
71
|
/*transform*/
|
|
61
72
|
e[7]
|
|
62
73
|
);
|
|
63
74
|
},
|
|
64
75
|
i(e) {
|
|
65
|
-
|
|
76
|
+
f || (u(t.$$.fragment, e), f = !0);
|
|
66
77
|
},
|
|
67
78
|
o(e) {
|
|
68
|
-
|
|
79
|
+
p(t.$$.fragment, e), f = !1;
|
|
69
80
|
},
|
|
70
81
|
d(e) {
|
|
71
|
-
e && d(
|
|
82
|
+
e && d(n), N(t), r[10](null);
|
|
72
83
|
}
|
|
73
84
|
};
|
|
74
85
|
}
|
|
75
|
-
function k(
|
|
76
|
-
let
|
|
86
|
+
function k(r) {
|
|
87
|
+
let n, t, f;
|
|
77
88
|
return t = new j({
|
|
78
89
|
props: {
|
|
79
90
|
direction: (
|
|
80
91
|
/*arrowDirection*/
|
|
81
|
-
|
|
92
|
+
r[6]
|
|
82
93
|
),
|
|
83
94
|
visible: (
|
|
84
95
|
/*visible*/
|
|
85
|
-
|
|
96
|
+
r[0]
|
|
86
97
|
),
|
|
87
98
|
inDelay: 600,
|
|
88
99
|
duration: 1e3
|
|
89
100
|
}
|
|
90
101
|
}), {
|
|
91
102
|
c() {
|
|
92
|
-
|
|
103
|
+
n = z("div"), D(t.$$.fragment), H(n, "class", "arrow svelte-1fuzm7v");
|
|
93
104
|
},
|
|
94
105
|
m(e, i) {
|
|
95
|
-
|
|
106
|
+
c(e, n, i), U(t, n, null), f = !0;
|
|
96
107
|
},
|
|
97
108
|
p(e, i) {
|
|
98
|
-
const
|
|
109
|
+
const o = {};
|
|
99
110
|
i & /*arrowDirection*/
|
|
100
|
-
64 && (
|
|
111
|
+
64 && (o.direction = /*arrowDirection*/
|
|
101
112
|
e[6]), i & /*visible*/
|
|
102
|
-
1 && (
|
|
103
|
-
e[0]), t.$set(
|
|
113
|
+
1 && (o.visible = /*visible*/
|
|
114
|
+
e[0]), t.$set(o);
|
|
104
115
|
},
|
|
105
116
|
i(e) {
|
|
106
|
-
|
|
117
|
+
f || (u(t.$$.fragment, e), f = !0);
|
|
107
118
|
},
|
|
108
119
|
o(e) {
|
|
109
|
-
|
|
120
|
+
p(t.$$.fragment, e), f = !1;
|
|
110
121
|
},
|
|
111
122
|
d(e) {
|
|
112
|
-
e && d(
|
|
123
|
+
e && d(n), N(t);
|
|
113
124
|
}
|
|
114
125
|
};
|
|
115
126
|
}
|
|
116
|
-
function J(
|
|
117
|
-
let
|
|
127
|
+
function J(r) {
|
|
128
|
+
let n, t, f, e = (
|
|
118
129
|
/*content*/
|
|
119
|
-
|
|
130
|
+
r[1] && w(r)
|
|
120
131
|
), i = (
|
|
121
132
|
/*lineHeight*/
|
|
122
|
-
|
|
123
|
-
|
|
133
|
+
r[3] < /*textHeight*/
|
|
134
|
+
r[4] && k(r)
|
|
124
135
|
);
|
|
125
136
|
return {
|
|
126
137
|
c() {
|
|
127
|
-
e && e.c(),
|
|
138
|
+
e && e.c(), n = F(), i && i.c(), t = Y();
|
|
128
139
|
},
|
|
129
|
-
m(
|
|
130
|
-
e && e.m(
|
|
140
|
+
m(o, l) {
|
|
141
|
+
e && e.m(o, l), c(o, n, l), i && i.m(o, l), c(o, t, l), f = !0;
|
|
131
142
|
},
|
|
132
|
-
p(
|
|
143
|
+
p(o, [l]) {
|
|
133
144
|
/*content*/
|
|
134
|
-
|
|
135
|
-
2 && u(e, 1)) : (e = w(
|
|
145
|
+
o[1] ? e ? (e.p(o, l), l & /*content*/
|
|
146
|
+
2 && u(e, 1)) : (e = w(o), e.c(), u(e, 1), e.m(n.parentNode, n)) : e && (y(), p(e, 1, 1, () => {
|
|
136
147
|
e = null;
|
|
137
|
-
}),
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
24 && u(i, 1)) : (i = k(
|
|
148
|
+
}), v()), /*lineHeight*/
|
|
149
|
+
o[3] < /*textHeight*/
|
|
150
|
+
o[4] ? i ? (i.p(o, l), l & /*lineHeight, textHeight*/
|
|
151
|
+
24 && u(i, 1)) : (i = k(o), i.c(), u(i, 1), i.m(t.parentNode, t)) : i && (y(), p(i, 1, 1, () => {
|
|
141
152
|
i = null;
|
|
142
|
-
}),
|
|
153
|
+
}), v());
|
|
143
154
|
},
|
|
144
|
-
i(
|
|
145
|
-
|
|
155
|
+
i(o) {
|
|
156
|
+
f || (u(e), u(i), f = !0);
|
|
146
157
|
},
|
|
147
|
-
o(
|
|
148
|
-
|
|
158
|
+
o(o) {
|
|
159
|
+
p(e), p(i), f = !1;
|
|
149
160
|
},
|
|
150
|
-
d(
|
|
151
|
-
|
|
161
|
+
d(o) {
|
|
162
|
+
o && (d(n), d(t)), e && e.d(o), i && i.d(o);
|
|
152
163
|
}
|
|
153
164
|
};
|
|
154
165
|
}
|
|
155
|
-
function K(
|
|
156
|
-
let
|
|
157
|
-
function S(
|
|
158
|
-
|
|
159
|
-
|
|
166
|
+
function K(r, n, t) {
|
|
167
|
+
let f, e, i, { visible: o = !1 } = n, { textUnfolded: l = !1 } = n, { content: _ } = n, s, g = 0, b = 0, a = 0;
|
|
168
|
+
function S(m) {
|
|
169
|
+
q[m ? "unshift" : "push"](() => {
|
|
170
|
+
s = m, t(2, s);
|
|
160
171
|
});
|
|
161
172
|
}
|
|
162
|
-
return
|
|
163
|
-
"visible" in
|
|
164
|
-
},
|
|
165
|
-
if (
|
|
166
|
-
7 &&
|
|
167
|
-
const { lineHeight:
|
|
168
|
-
t(4,
|
|
169
|
-
t(4,
|
|
170
|
-
}), t(3, b = Number(
|
|
173
|
+
return r.$$set = (m) => {
|
|
174
|
+
"visible" in m && t(0, o = m.visible), "textUnfolded" in m && t(8, l = m.textUnfolded), "content" in m && t(1, _ = m.content);
|
|
175
|
+
}, r.$$.update = () => {
|
|
176
|
+
if (r.$$.dirty & /*textElement, visible, content*/
|
|
177
|
+
7 && s && o && _) {
|
|
178
|
+
const { lineHeight: m } = getComputedStyle(s);
|
|
179
|
+
t(4, a = s.offsetHeight), G(() => s == null ? void 0 : s.offsetHeight, Boolean).then(() => {
|
|
180
|
+
t(4, a = s.offsetHeight);
|
|
181
|
+
}), t(3, b = Number(m.replace("px", "")));
|
|
171
182
|
}
|
|
172
|
-
|
|
173
|
-
280 && t(9, g =
|
|
174
|
-
512 && t(7,
|
|
175
|
-
256 && t(6, e =
|
|
176
|
-
256 && t(5, i =
|
|
183
|
+
r.$$.dirty & /*textUnfolded, lineHeight, textHeight*/
|
|
184
|
+
280 && t(9, g = l ? b - a : 0), r.$$.dirty & /*translateY*/
|
|
185
|
+
512 && t(7, f = `translateY(${g}px)`), r.$$.dirty & /*textUnfolded*/
|
|
186
|
+
256 && t(6, e = l ? "left" : "right"), r.$$.dirty & /*textUnfolded*/
|
|
187
|
+
256 && t(5, i = l ? 450 : 0);
|
|
177
188
|
}, [
|
|
178
|
-
|
|
189
|
+
o,
|
|
179
190
|
_,
|
|
180
|
-
|
|
191
|
+
s,
|
|
181
192
|
b,
|
|
182
|
-
|
|
193
|
+
a,
|
|
183
194
|
i,
|
|
184
195
|
e,
|
|
185
|
-
l,
|
|
186
196
|
f,
|
|
197
|
+
l,
|
|
187
198
|
g,
|
|
188
199
|
S
|
|
189
200
|
];
|
|
190
201
|
}
|
|
191
|
-
class
|
|
192
|
-
constructor(
|
|
193
|
-
super(),
|
|
202
|
+
class ce extends A {
|
|
203
|
+
constructor(n) {
|
|
204
|
+
super(), B(this, n, K, J, T, { visible: 0, textUnfolded: 8, content: 1 }, I);
|
|
194
205
|
}
|
|
195
206
|
}
|
|
196
207
|
export {
|
|
197
|
-
|
|
208
|
+
ce as default
|
|
198
209
|
};
|
|
@@ -1,197 +1,210 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
1
|
+
import { safe_not_equal as W, noop as k } from "../../../../vendor/svelte/src/runtime/internal/utils.js";
|
|
2
|
+
import { append_styles as q, empty as F, insert as m, detach as p, element as I, text as B, attr as C, append as G, set_data as X } from "../../../../vendor/svelte/src/runtime/internal/dom.js";
|
|
3
|
+
import { binding_callbacks as M } from "../../../../vendor/svelte/src/runtime/internal/scheduler.js";
|
|
4
|
+
import { ensure_array_like as N, update_keyed_each as Y, destroy_block as v } from "../../../../vendor/svelte/src/runtime/internal/each.js";
|
|
5
|
+
import { SvelteComponent as z, init as H } from "../../../../vendor/svelte/src/runtime/internal/Component.js";
|
|
6
|
+
import "../../../../vendor/svelte/src/runtime/internal/disclose-version/index.js";
|
|
7
|
+
import w from "animejs";
|
|
8
|
+
import { uuid as R } from "../../../../shared-utils/uuid.js";
|
|
9
|
+
import { notNil as K } from "../../../../shared-utils/isNil.js";
|
|
5
10
|
import "three";
|
|
6
|
-
import { searchFirstValueSmallThanLastValue as
|
|
11
|
+
import { searchFirstValueSmallThanLastValue as Q } from "../../../utils/search.js";
|
|
7
12
|
import { RANDON_STRING as y } from "../../../utils/constants.js";
|
|
8
|
-
|
|
9
|
-
|
|
13
|
+
import "../../../../vendor/svelte/src/runtime/internal/lifecycle.js";
|
|
14
|
+
import "../../../../vendor/svelte/src/runtime/internal/transitions.js";
|
|
15
|
+
import "../../../../vendor/svelte/src/runtime/internal/environment.js";
|
|
16
|
+
import "../../../../vendor/svelte/src/runtime/internal/loop.js";
|
|
17
|
+
import "../../../../vendor/svelte/src/runtime/internal/style_manager.js";
|
|
18
|
+
import "../../../../vendor/svelte/src/shared/version.js";
|
|
19
|
+
function Z(o) {
|
|
20
|
+
q(o, "svelte-1b2n9wi", ".text-char.svelte-1b2n9wi{display:inline-block;text-shadow:0.125rem 0rem 0.5rem rgba(0, 0, 0, 0.15)}");
|
|
10
21
|
}
|
|
11
|
-
function
|
|
12
|
-
const
|
|
13
|
-
return
|
|
22
|
+
function S(o, e, i) {
|
|
23
|
+
const r = o.slice();
|
|
24
|
+
return r[19] = e[i].id, r[0] = e[i].content, r[20] = e, r[21] = i, r;
|
|
14
25
|
}
|
|
15
|
-
function
|
|
26
|
+
function x(o) {
|
|
16
27
|
let e, i = (
|
|
17
28
|
/*content*/
|
|
18
29
|
o[0] + ""
|
|
19
|
-
),
|
|
30
|
+
), r, _ = (
|
|
20
31
|
/*index*/
|
|
21
32
|
o[21]
|
|
22
33
|
);
|
|
23
|
-
const
|
|
34
|
+
const a = () => (
|
|
24
35
|
/*span_binding_1*/
|
|
25
|
-
o[10](e,
|
|
36
|
+
o[10](e, _)
|
|
26
37
|
), t = () => (
|
|
27
38
|
/*span_binding_1*/
|
|
28
|
-
o[10](null,
|
|
39
|
+
o[10](null, _)
|
|
29
40
|
);
|
|
30
41
|
return {
|
|
31
42
|
c() {
|
|
32
|
-
e = I("span"),
|
|
43
|
+
e = I("span"), r = B(i), C(e, "class", "text-char svelte-1b2n9wi");
|
|
33
44
|
},
|
|
34
45
|
m(n, s) {
|
|
35
|
-
m(n, e, s),
|
|
46
|
+
m(n, e, s), G(e, r), a();
|
|
36
47
|
},
|
|
37
48
|
p(n, s) {
|
|
38
49
|
o = n, s & /*contentList*/
|
|
39
50
|
4 && i !== (i = /*content*/
|
|
40
|
-
o[0] + "") &&
|
|
41
|
-
o[21] && (t(),
|
|
42
|
-
o[21],
|
|
51
|
+
o[0] + "") && X(r, i), _ !== /*index*/
|
|
52
|
+
o[21] && (t(), _ = /*index*/
|
|
53
|
+
o[21], a());
|
|
43
54
|
},
|
|
44
55
|
d(n) {
|
|
45
56
|
n && p(e), t();
|
|
46
57
|
}
|
|
47
58
|
};
|
|
48
59
|
}
|
|
49
|
-
function
|
|
60
|
+
function $(o) {
|
|
50
61
|
let e;
|
|
51
62
|
return {
|
|
52
63
|
c() {
|
|
53
64
|
e = I("br");
|
|
54
65
|
},
|
|
55
|
-
m(i,
|
|
56
|
-
m(i, e,
|
|
66
|
+
m(i, r) {
|
|
67
|
+
m(i, e, r);
|
|
57
68
|
},
|
|
58
|
-
p:
|
|
69
|
+
p: k,
|
|
59
70
|
d(i) {
|
|
60
71
|
i && p(e);
|
|
61
72
|
}
|
|
62
73
|
};
|
|
63
74
|
}
|
|
64
|
-
function
|
|
75
|
+
function ee(o) {
|
|
65
76
|
let e, i = (
|
|
66
77
|
/*index*/
|
|
67
78
|
o[21]
|
|
68
79
|
);
|
|
69
|
-
const
|
|
80
|
+
const r = () => (
|
|
70
81
|
/*span_binding*/
|
|
71
82
|
o[9](e, i)
|
|
72
|
-
),
|
|
83
|
+
), _ = () => (
|
|
73
84
|
/*span_binding*/
|
|
74
85
|
o[9](null, i)
|
|
75
86
|
);
|
|
76
87
|
return {
|
|
77
88
|
c() {
|
|
78
|
-
e = I("span"), e.textContent = " ",
|
|
89
|
+
e = I("span"), e.textContent = " ", C(e, "class", "text-char svelte-1b2n9wi");
|
|
79
90
|
},
|
|
80
|
-
m(
|
|
81
|
-
m(
|
|
91
|
+
m(a, t) {
|
|
92
|
+
m(a, e, t), r();
|
|
82
93
|
},
|
|
83
|
-
p(
|
|
84
|
-
o =
|
|
85
|
-
o[21] && (
|
|
86
|
-
o[21],
|
|
94
|
+
p(a, t) {
|
|
95
|
+
o = a, i !== /*index*/
|
|
96
|
+
o[21] && (_(), i = /*index*/
|
|
97
|
+
o[21], r());
|
|
87
98
|
},
|
|
88
|
-
d(
|
|
89
|
-
|
|
99
|
+
d(a) {
|
|
100
|
+
a && p(e), _();
|
|
90
101
|
}
|
|
91
102
|
};
|
|
92
103
|
}
|
|
93
|
-
function
|
|
94
|
-
let i,
|
|
95
|
-
function
|
|
104
|
+
function A(o, e) {
|
|
105
|
+
let i, r;
|
|
106
|
+
function _(n, s) {
|
|
96
107
|
return (
|
|
97
108
|
/*content*/
|
|
98
109
|
n[0] === /*__SpaceFlag__*/
|
|
99
|
-
n[3] ?
|
|
110
|
+
n[3] ? ee : (
|
|
100
111
|
/*content*/
|
|
101
112
|
n[0] === /*__NewLineFlag__*/
|
|
102
|
-
n[4] ?
|
|
113
|
+
n[4] ? $ : x
|
|
103
114
|
)
|
|
104
115
|
);
|
|
105
116
|
}
|
|
106
|
-
let
|
|
117
|
+
let a = _(e), t = a(e);
|
|
107
118
|
return {
|
|
108
119
|
key: o,
|
|
109
120
|
first: null,
|
|
110
121
|
c() {
|
|
111
|
-
i =
|
|
122
|
+
i = F(), t.c(), r = F(), this.first = i;
|
|
112
123
|
},
|
|
113
124
|
m(n, s) {
|
|
114
|
-
m(n, i, s), t.m(n, s), m(n,
|
|
125
|
+
m(n, i, s), t.m(n, s), m(n, r, s);
|
|
115
126
|
},
|
|
116
127
|
p(n, s) {
|
|
117
|
-
e = n,
|
|
128
|
+
e = n, a === (a = _(e)) && t ? t.p(e, s) : (t.d(1), t = a(e), t && (t.c(), t.m(r.parentNode, r)));
|
|
118
129
|
},
|
|
119
130
|
d(n) {
|
|
120
|
-
n && p(i), t.d(n)
|
|
131
|
+
n && (p(i), p(r)), t.d(n);
|
|
121
132
|
}
|
|
122
133
|
};
|
|
123
134
|
}
|
|
124
|
-
function
|
|
125
|
-
let e = [], i = /* @__PURE__ */ new Map(),
|
|
135
|
+
function te(o) {
|
|
136
|
+
let e = [], i = /* @__PURE__ */ new Map(), r, _ = N(
|
|
126
137
|
/*contentList*/
|
|
127
138
|
o[2]
|
|
128
139
|
);
|
|
129
|
-
const
|
|
140
|
+
const a = (t) => (
|
|
130
141
|
/*id*/
|
|
131
142
|
t[19]
|
|
132
143
|
);
|
|
133
|
-
for (let t = 0; t <
|
|
134
|
-
let n =
|
|
135
|
-
i.set(s, e[t] =
|
|
144
|
+
for (let t = 0; t < _.length; t += 1) {
|
|
145
|
+
let n = S(o, _, t), s = a(n);
|
|
146
|
+
i.set(s, e[t] = A(s, n));
|
|
136
147
|
}
|
|
137
148
|
return {
|
|
138
149
|
c() {
|
|
139
150
|
for (let t = 0; t < e.length; t += 1)
|
|
140
151
|
e[t].c();
|
|
141
|
-
|
|
152
|
+
r = F();
|
|
142
153
|
},
|
|
143
154
|
m(t, n) {
|
|
144
155
|
for (let s = 0; s < e.length; s += 1)
|
|
145
156
|
e[s] && e[s].m(t, n);
|
|
146
|
-
m(t,
|
|
157
|
+
m(t, r, n);
|
|
147
158
|
},
|
|
148
159
|
p(t, [n]) {
|
|
149
160
|
n & /*spanEleList, contentList, __SpaceFlag__, __NewLineFlag__*/
|
|
150
|
-
30 && (
|
|
151
|
-
|
|
161
|
+
30 && (_ = N(
|
|
162
|
+
/*contentList*/
|
|
163
|
+
t[2]
|
|
164
|
+
), e = Y(e, n, a, 1, t, _, i, r.parentNode, v, A, r, S));
|
|
152
165
|
},
|
|
153
|
-
i:
|
|
154
|
-
o:
|
|
166
|
+
i: k,
|
|
167
|
+
o: k,
|
|
155
168
|
d(t) {
|
|
169
|
+
t && p(r);
|
|
156
170
|
for (let n = 0; n < e.length; n += 1)
|
|
157
171
|
e[n].d(t);
|
|
158
|
-
t && p(l);
|
|
159
172
|
}
|
|
160
173
|
};
|
|
161
174
|
}
|
|
162
|
-
function
|
|
163
|
-
let
|
|
175
|
+
function ne(o, e, i) {
|
|
176
|
+
let r, { inDelay: _ = 0 } = e, { outDelay: a = 0 } = e, { content: t } = e, { unfolded: n } = e, { isFistUnfoldedUpdate: s = !0 } = e;
|
|
164
177
|
const E = `__EMOJI_SPLIT_${y}__`, b = `__EMOJI_${y}__`, j = `__SPACE_${y}__`, D = `__NEW_LINE_${y}__`;
|
|
165
178
|
let U, f, d = [];
|
|
166
|
-
function
|
|
179
|
+
function L(l) {
|
|
167
180
|
const u = [], g = 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"));
|
|
168
|
-
return
|
|
169
|
-
id:
|
|
181
|
+
return l.slice().replace(g, (c) => `${E}${b}${c}${E}`).split(E).forEach((c) => c.startsWith(b) ? u.push({
|
|
182
|
+
id: R(),
|
|
170
183
|
content: c.slice(b.length)
|
|
171
184
|
}) : u.push(...c.split("").map((h) => h === " " ? j : h === `
|
|
172
|
-
` ? D : h).map((h) => ({ id:
|
|
185
|
+
` ? D : h).map((h) => ({ id: R(), content: h })))), u;
|
|
173
186
|
}
|
|
174
|
-
function
|
|
187
|
+
function T() {
|
|
175
188
|
if (!f)
|
|
176
189
|
return;
|
|
177
|
-
const
|
|
178
|
-
f.reversed !==
|
|
190
|
+
const l = !n;
|
|
191
|
+
f.reversed !== l && f.reverse(), f.play();
|
|
179
192
|
}
|
|
180
|
-
function
|
|
193
|
+
function O(l) {
|
|
181
194
|
if (s) {
|
|
182
195
|
i(5, s = !1);
|
|
183
196
|
return;
|
|
184
197
|
}
|
|
185
|
-
clearTimeout(U), U = setTimeout(
|
|
198
|
+
clearTimeout(U), U = setTimeout(T, l ? _ : a);
|
|
186
199
|
}
|
|
187
|
-
function
|
|
200
|
+
function P(l) {
|
|
188
201
|
const u = function() {
|
|
189
|
-
const g =
|
|
202
|
+
const g = Q((c) => l[c].getBoundingClientRect().x, [Math.min(l.length - 1, 10), Math.min(l.length - 1, 30)]);
|
|
190
203
|
if (g > 0)
|
|
191
204
|
return g;
|
|
192
205
|
}();
|
|
193
|
-
f =
|
|
194
|
-
targets:
|
|
206
|
+
f = w({
|
|
207
|
+
targets: l.slice(0, u).filter(K),
|
|
195
208
|
autoplay: !1,
|
|
196
209
|
duration: 400,
|
|
197
210
|
scale: [0.7, 1],
|
|
@@ -199,49 +212,49 @@ function te(o, e, i) {
|
|
|
199
212
|
opacity: [0, 1],
|
|
200
213
|
translateX: [4, 0],
|
|
201
214
|
translateY: [10, 0],
|
|
202
|
-
delay:
|
|
215
|
+
delay: w.stagger(50),
|
|
203
216
|
easing: "easeInOutCubic"
|
|
204
217
|
}), n && f.seek(f.duration);
|
|
205
218
|
}
|
|
206
|
-
function
|
|
207
|
-
M[
|
|
208
|
-
d[u] =
|
|
219
|
+
function J(l, u) {
|
|
220
|
+
M[l ? "unshift" : "push"](() => {
|
|
221
|
+
d[u] = l, i(1, d);
|
|
209
222
|
});
|
|
210
223
|
}
|
|
211
|
-
function
|
|
212
|
-
M[
|
|
213
|
-
d[u] =
|
|
224
|
+
function V(l, u) {
|
|
225
|
+
M[l ? "unshift" : "push"](() => {
|
|
226
|
+
d[u] = l, i(1, d);
|
|
214
227
|
});
|
|
215
228
|
}
|
|
216
|
-
return o.$$set = (
|
|
217
|
-
"inDelay" in
|
|
229
|
+
return o.$$set = (l) => {
|
|
230
|
+
"inDelay" in l && i(6, _ = l.inDelay), "outDelay" in l && i(7, a = l.outDelay), "content" in l && i(0, t = l.content), "unfolded" in l && i(8, n = l.unfolded), "isFistUnfoldedUpdate" in l && i(5, s = l.isFistUnfoldedUpdate);
|
|
218
231
|
}, o.$$.update = () => {
|
|
219
232
|
o.$$.dirty & /*content*/
|
|
220
|
-
1 && i(2,
|
|
221
|
-
256 &&
|
|
222
|
-
2 &&
|
|
233
|
+
1 && i(2, r = L(t)), o.$$.dirty & /*unfolded*/
|
|
234
|
+
256 && O(n), o.$$.dirty & /*spanEleList*/
|
|
235
|
+
2 && P(d.filter((l) => !!l));
|
|
223
236
|
}, [
|
|
224
237
|
t,
|
|
225
238
|
d,
|
|
226
|
-
|
|
239
|
+
r,
|
|
227
240
|
j,
|
|
228
241
|
D,
|
|
229
242
|
s,
|
|
230
|
-
a,
|
|
231
243
|
_,
|
|
244
|
+
a,
|
|
232
245
|
n,
|
|
233
|
-
|
|
234
|
-
|
|
246
|
+
J,
|
|
247
|
+
V
|
|
235
248
|
];
|
|
236
249
|
}
|
|
237
|
-
class
|
|
250
|
+
class ke extends z {
|
|
238
251
|
constructor(e) {
|
|
239
|
-
super(),
|
|
252
|
+
super(), H(
|
|
240
253
|
this,
|
|
241
254
|
e,
|
|
255
|
+
ne,
|
|
242
256
|
te,
|
|
243
|
-
|
|
244
|
-
q,
|
|
257
|
+
W,
|
|
245
258
|
{
|
|
246
259
|
inDelay: 6,
|
|
247
260
|
outDelay: 7,
|
|
@@ -249,10 +262,10 @@ class ae extends V {
|
|
|
249
262
|
unfolded: 8,
|
|
250
263
|
isFistUnfoldedUpdate: 5
|
|
251
264
|
},
|
|
252
|
-
|
|
265
|
+
Z
|
|
253
266
|
);
|
|
254
267
|
}
|
|
255
268
|
}
|
|
256
269
|
export {
|
|
257
|
-
|
|
270
|
+
ke as default
|
|
258
271
|
};
|