@realsee/dnalogel 3.50.14 → 3.50.15-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/README.md +116 -0
- package/dist/Sculpt/Objects/Base/index.d.ts +1 -1
- package/dist/Sculpt/index.d.ts +2 -2
- package/dist/index.cjs.js +255 -255
- package/dist/index.js +2733 -2732
- package/dist/index.umd.js +251 -251
- package/dist/shared-utils/tag.d.ts +1 -1
- package/dist/shared-utils/three/index.d.ts +1 -0
- package/libs/AreaMakerPlugin/Controller.js +104 -74
- package/libs/AreaMakerPlugin/index.js +33 -3
- package/libs/AreaMakerPlugin/utils/Item.js +66 -36
- package/libs/CSS3DRenderPlugin/Controller.js +35 -15
- package/libs/CSS3DRenderPlugin/index.js +34 -14
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.js +60 -35
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DRender.js +98 -78
- package/libs/CruisePlugin/BaseController.js +59 -29
- package/libs/CruisePlugin/Move.js +32 -13
- package/libs/CruisePlugin/Work.js +65 -46
- package/libs/CruisePlugin/index.js +37 -18
- package/libs/CurrentPanoImagePlugin/Controller.js +68 -38
- package/libs/CurrentPanoImagePlugin/index.js +34 -4
- package/libs/GuideLinePlugin/Controller.js +59 -40
- package/libs/GuideLinePlugin/GuideLineItem.js +33 -14
- package/libs/GuideLinePlugin/GuideLineModeItem/index.js +3 -2
- package/libs/GuideLinePlugin/GuideLineModeItem.js +33 -14
- package/libs/GuideLinePlugin/index.js +37 -18
- package/libs/ModelMakerPlugin/Controller.js +50 -32
- package/libs/ModelMakerPlugin/index.js +33 -15
- package/libs/ModelTVVideoPlugin/Plugin.js +47 -27
- package/libs/ModelTVVideoPlugin/index.js +23 -3
- package/libs/Object3DHelperPlugin/Controller.js +49 -30
- package/libs/Object3DHelperPlugin/index.js +36 -17
- package/libs/PanoCompassPlugin/Controller.js +33 -13
- package/libs/PanoCompassPlugin/index.js +34 -14
- package/libs/PanoDoorLabelPlugin/BaseController.js +55 -25
- package/libs/PanoDoorLabelPlugin/Controller.js +99 -69
- package/libs/PanoDoorLabelPlugin/index.js +34 -4
- package/libs/PanoMeasurePlugin/Components/Controller0.js +8 -8
- package/libs/PanoMeasurePlugin/Components/Controller1.js +8 -8
- package/libs/PanoMeasurePlugin/Controller/WatchController.js +75 -49
- package/libs/PanoMeasurePlugin/Controller/index.js +15 -15
- package/libs/PanoMeasurePlugin/Model/area.js +41 -15
- package/libs/PanoMeasurePlugin/Modules/Magnifier.js +29 -0
- package/libs/PanoMeasurePlugin/Modules/UIController/index.js +8 -8
- package/libs/PanoMeasurePlugin/index.js +3 -3
- package/libs/PanoMeasurePlugin/utils/dom/areaDom.js +43 -15
- package/libs/PanoRulerProPlugin/Controller.js +60 -30
- package/libs/PanoRulerProPlugin/RulerItems.js +85 -55
- package/libs/PanoRulerProPlugin/index.js +33 -3
- package/libs/PanoSpatialTagPlugin/Plugin.js +53 -33
- package/libs/PanoSpatialTagPlugin/index.js +21 -1
- package/libs/PanoTagPlugin/Components/Common/TagPoint.js +79 -49
- package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +235 -206
- package/libs/PanoTagPlugin/Components/Tag/index.js +152 -125
- package/libs/PanoTagPlugin/Components/TagContainer.js +97 -70
- package/libs/PanoTagPlugin/Components/TagItem.js +31 -4
- package/libs/PanoTagPlugin/controller/Tag/BaseTag.js +29 -2
- package/libs/PanoTagPlugin/controller/Tag/ModelTag.js +55 -28
- package/libs/PanoTagPlugin/controller/Tag/PlaneTag.js +53 -26
- package/libs/PanoTagPlugin/controller/Tag/PointTag.js +54 -27
- package/libs/PanoTagPlugin/controller/TagRender.js +47 -28
- package/libs/PanoTagPlugin/controller/TagUtil.js +32 -13
- package/libs/PanoTagPlugin/controller/index.js +45 -26
- package/libs/PanoTagPlugin/index.js +40 -21
- package/libs/PanoTagPlugin/utils/tag/calculateTagConfig.js +59 -29
- package/libs/PanoVideoPlugin/Controller.js +91 -61
- package/libs/PanoVideoPlugin/VideoMeshController.js +56 -26
- package/libs/PanoVideoPlugin/index.js +36 -6
- package/libs/PipelinePlugin/Controller.js +80 -51
- package/libs/PipelinePlugin/index.js +34 -5
- package/libs/PipelinePlugin/utils/Objects/FlowPipe.js +44 -14
- package/libs/PipelinePlugin/utils/Objects/HighlightPipe.js +43 -13
- package/libs/PipelinePlugin/utils/Objects/Pipe.js +61 -31
- package/libs/Sculpt/Meshes/Box.js +3 -2
- package/libs/Sculpt/Meshes/Cylinder.js +3 -2
- package/libs/Sculpt/Meshes/Line.js +9 -8
- package/libs/Sculpt/Meshes/LineWithDots.js +8 -7
- package/libs/Sculpt/Meshes/Point.js +3 -2
- package/libs/Sculpt/Meshes/Polygon.js +3 -2
- package/libs/Sculpt/Meshes/Prism.js +8 -7
- package/libs/Sculpt/Meshes/Rectangle.js +3 -2
- package/libs/Sculpt/Objects/Base/index.d.ts +1 -1
- package/libs/Sculpt/Objects/Line/Editor.js +7 -6
- package/libs/Sculpt/index.d.ts +2 -2
- package/libs/Sculpt/index.js +3 -2
- package/libs/Sculpt/utils/three/ColoredMesh.js +6 -5
- package/libs/base/BasePlugin.js +4 -3
- package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +88 -59
- package/libs/floorplan/MapviewFloorplanPlugin/index.js +34 -5
- package/libs/floorplan/ModelFloorplanPlugin/Controller.js +79 -50
- package/libs/floorplan/ModelFloorplanPlugin/index.js +34 -5
- package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +68 -38
- package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +34 -4
- package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +104 -75
- package/libs/floorplan/TopviewFloorplanPlugin/index.js +34 -5
- package/libs/floorplan/index.js +1 -0
- package/libs/index.js +28 -28
- package/libs/shared-utils/five/index.js +3 -2
- package/libs/shared-utils/five/lookObject.js +3 -2
- package/libs/shared-utils/index.js +44 -42
- package/libs/shared-utils/logger.js +1 -1
- package/libs/shared-utils/tag.d.ts +1 -1
- package/libs/shared-utils/tag.js +41 -41
- package/libs/shared-utils/three/PointSelector/utils/PointSelectorHelper.js +3 -2
- package/libs/shared-utils/three/index.d.ts +1 -0
- package/libs/shared-utils/three/index.js +1 -0
- package/package.json +1 -1
|
@@ -1,16 +1,17 @@
|
|
|
1
|
-
import { SvelteComponent as te, init as
|
|
1
|
+
import { SvelteComponent as te, init as ie, safe_not_equal as le, append_styles as re, element as d, create_component as se, space as C, text as S, attr as q, set_style as L, null_to_empty as D, toggle_class as H, insert as y, mount_component as oe, append as g, set_data as P, transition_in as ne, transition_out as ae, detach as T, destroy_component as ce, src_url_equal as F, action_destroyer as me, listen as fe, destroy_each as O, run_all as pe } from "../../../vendor/svelte/internal/index.js";
|
|
2
2
|
import "../../../shared-utils/tag.js";
|
|
3
3
|
import "three";
|
|
4
4
|
import "hammerjs";
|
|
5
|
+
import "../../../shared-utils/three/PointSelector/index.js";
|
|
5
6
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
6
7
|
import "@realsee/five/line";
|
|
7
8
|
import "../../../vendor/three/examples/jsm/lines/LineGeometry.js";
|
|
8
9
|
import "../../../shared-utils/three/core/Sphere.js";
|
|
9
10
|
import "animejs";
|
|
10
|
-
import { notNil as
|
|
11
|
+
import { notNil as ge } from "../../../shared-utils/isNil.js";
|
|
11
12
|
import "../../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
12
|
-
import
|
|
13
|
-
import
|
|
13
|
+
import qe from "../../utils/px2rem.js";
|
|
14
|
+
import de from "../Common/Shadow.js";
|
|
14
15
|
import { svelteResizeObserver as ve } from "../../../shared-utils/svelte/resizeObserver.js";
|
|
15
16
|
import "../../../shared-utils/positionToVector3.js";
|
|
16
17
|
import "../../../shared-utils/five/vector3ToScreen.js";
|
|
@@ -22,265 +23,293 @@ import "../../../shared-utils/Utils/WorkUtil.js";
|
|
|
22
23
|
import "../../../shared-utils/five/transformPosition.js";
|
|
23
24
|
import "../../../shared-utils/three/temp.js";
|
|
24
25
|
import "../../../shared-utils/dom/resizeObserver.js";
|
|
26
|
+
import "../../../shared-utils/three/PointSelector/utils/PointSelectorHelper.js";
|
|
27
|
+
import "../../../shared-utils/three/Magnifier.js";
|
|
28
|
+
import "../../../shared-utils/three/PointSelector/utils/PointHelper.js";
|
|
29
|
+
import "../../../shared-utils/three/Assets/index.js";
|
|
30
|
+
import "../../../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
|
|
31
|
+
import "../../../CSS3DRenderPlugin/utils/even.js";
|
|
32
|
+
import "../../../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
|
|
33
|
+
import "../../../shared-utils/three/centerPoint.js";
|
|
34
|
+
import "../../../shared-utils/three/getObjectVisible.js";
|
|
35
|
+
import "../../../shared-utils/three/PointSelector/utils/html.js";
|
|
36
|
+
import "../../../shared-utils/five/initialCSS3DRender.js";
|
|
37
|
+
import "../../../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
38
|
+
import "../../../CSS3DRenderPlugin/utils/three/THREEJS_CSS3DRenderer.js";
|
|
39
|
+
import "../../../CSS3DRenderPlugin/utils/createResizeObserver.js";
|
|
40
|
+
import "../../../shared-utils/three/PointSelector/utils/PointHelper2.js";
|
|
41
|
+
import "../../../Sculpt/Meshes/Line.js";
|
|
42
|
+
import "../../../Sculpt/typings/style.js";
|
|
43
|
+
import "../../../shared-utils/five/FiveLine.js";
|
|
44
|
+
import "../../../shared-utils/three/IObject3D.js";
|
|
45
|
+
import "../../../Sculpt/utils/removeAllTag.js";
|
|
46
|
+
import "../../../Sculpt/utils/Meshes/getLengthHTML.js";
|
|
47
|
+
import "../../../shared-utils/three/applyObjectMatrixWorld.js";
|
|
48
|
+
import "../../../shared-utils/util.js";
|
|
49
|
+
import "../../../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
|
|
50
|
+
import "../../../shared-utils/isTouchDevice.js";
|
|
51
|
+
import "../../../shared-utils/five/getPosition.js";
|
|
52
|
+
import "../../../shared-utils/five/getRaycasterByNdcPosition.js";
|
|
53
|
+
import "../../../shared-utils/three/PointSelector/utils/contents.js";
|
|
25
54
|
import "../../../vendor/three/examples/jsm/lines/LineSegmentsGeometry.js";
|
|
26
55
|
import "../../../vendor/three/build/three.module.js";
|
|
27
56
|
import "../../../vendor/svelte/transition/index.js";
|
|
28
57
|
import "../../../vendor/svelte/easing/index.js";
|
|
29
58
|
import "../../../vendor/resize-observer-polyfill/dist/ResizeObserver.es.js";
|
|
30
|
-
function he(
|
|
31
|
-
|
|
59
|
+
function he(i) {
|
|
60
|
+
re(i, "svelte-sezqcq", '@charset "UTF-8";.svelte-sezqcq.svelte-sezqcq{box-sizing:border-box}.marketing.svelte-sezqcq.svelte-sezqcq{transform:translateY(-100%)}.marketing.svelte-sezqcq .line.svelte-sezqcq{position:absolute;height:1.875rem;width:0.0625rem;left:50%;transform:translateX(-50%);background-color:white;bottom:0;transform-origin:bottom;transition:all 500ms}.marketing.svelte-sezqcq .content.svelte-sezqcq{position:relative;min-width:7.5rem;width:-moz-max-content;width:max-content;height:-moz-max-content;height:max-content;border-radius:0.25rem;top:-1.875rem;left:-1rem;padding:0.5rem 0rem 0.5625rem;transition-property:opacity, transform;transition-duration:500ms}.marketing.svelte-sezqcq .content .headerImage.svelte-sezqcq{position:absolute;width:100%;top:0.25rem;transform:translateY(-100%);border-top-left-radius:0.25rem;border-top-right-radius:0.25rem}.title-wrapper.svelte-sezqcq.svelte-sezqcq{position:relative;width:100%;height:1.125rem}.title-wrapper.svelte-sezqcq .title.svelte-sezqcq{border-radius:0.25rem;width:100%;padding-left:0.625rem;padding-right:0.625rem}.title-wrapper.svelte-sezqcq .title .text.svelte-sezqcq{display:block;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:0.75rem;font-weight:bold;line-height:1.125rem}.footer.svelte-sezqcq.svelte-sezqcq{position:relative;padding:0.5rem 0.625rem 0 0;width:100%;display:flex;align-items:center}.footer.svelte-sezqcq .goto-button.svelte-sezqcq{display:flex;align-self:flex-end;flex-wrap:wrap;align-items:center;overflow:hidden;height:0.875rem}.footer.svelte-sezqcq .goto-button .gap.svelte-sezqcq{height:100%;width:0.625rem}.footer.svelte-sezqcq .goto-button .text.svelte-sezqcq{display:block;height:100%;font-size:0.625rem}.footer.svelte-sezqcq .arrow-wrapper.svelte-sezqcq{height:0.875rem;display:flex;align-self:flex-end;flex-grow:0;flex-shrink:0;align-items:center;margin-left:0.25rem}.footer.svelte-sezqcq .arrow-wrapper svg.arrow.svelte-sezqcq{width:0.375rem;height:0.625rem}.footer.svelte-sezqcq .price.svelte-sezqcq{flex-shrink:0;margin-right:auto;white-space:nowrap;display:flex;align-items:baseline;margin-left:0.625rem}.footer.svelte-sezqcq .price .value.svelte-sezqcq{position:relative;font-size:0.875rem;line-height:1rem;font-family:TG-TYPE, PingFangSC, Segoe UI, Rototo, sans-serif;letter-spacing:0rem}.footer.svelte-sezqcq .price .unit.svelte-sezqcq{padding-left:0.125rem;font-size:0.625rem}.tags-wrapper.svelte-sezqcq.svelte-sezqcq{position:relative;overflow:hidden;height:1rem;margin-top:0.25rem}.tags-wrapper.svelte-sezqcq .tags.svelte-sezqcq{position:relative;display:inline-flex;max-width:100%;flex-wrap:wrap;padding-left:0.625rem;padding-right:0.375rem}.tags-wrapper.svelte-sezqcq .tags .tag.svelte-sezqcq{display:flex;align-items:center;justify-content:center;flex-shrink:0;flex-grow:0;font-size:0.625rem;height:1rem;margin-right:0.25rem;margin-bottom:0.625rem;padding:0 0.25rem;border-radius:0.125rem;max-width:100%;text-overflow:ellipsis;overflow:hidden}.marketing.light.svelte-sezqcq .content.svelte-sezqcq{background-color:white}.marketing.light.svelte-sezqcq .content .title-wrapper .title .text.svelte-sezqcq{color:rgba(0, 0, 0, 0.8)}.marketing.light.svelte-sezqcq .content .tags-wrapper .tags .primary-tag.svelte-sezqcq{background:rgba(234, 208, 154, 0.5);color:#946700}.marketing.light.svelte-sezqcq .content .tags-wrapper .tags .secondary-tag.svelte-sezqcq{background:rgba(0, 0, 0, 0.06);color:rgba(0, 0, 0, 0.5)}.marketing.light.svelte-sezqcq .content .footer.svelte-sezqcq{color:#946700;fill:#946700}.marketing.dark.svelte-sezqcq .content.svelte-sezqcq{background-color:rgba(0, 0, 0, 0.5)}.marketing.dark.svelte-sezqcq .content .title-wrapper .title .text.svelte-sezqcq{color:white}.marketing.dark.svelte-sezqcq .content .tags-wrapper .tags .primary-tag.svelte-sezqcq{background:rgba(234, 208, 154, 0.5);color:white}.marketing.dark.svelte-sezqcq .content .tags-wrapper .tags .secondary-tag.svelte-sezqcq{background:rgba(255, 255, 255, 0.15);color:rgba(255, 255, 255, 0.85)}.marketing.dark.svelte-sezqcq .content .footer.svelte-sezqcq{color:#ead09a;fill:#ead09a}.marketing.unfolded.svelte-sezqcq .line.svelte-sezqcq{transform:translateX(-50%) scale(1, 1)}.marketing.folded.svelte-sezqcq .line.svelte-sezqcq{transform:translateX(-50%) scale(1, 0);transition-timing-function:ease-in}.marketing.unfolded.svelte-sezqcq .content.svelte-sezqcq{opacity:1}.marketing.folded.svelte-sezqcq .content.svelte-sezqcq{opacity:0;transform:translateY(0.425rem);transition-timing-function:ease-in}');
|
|
32
61
|
}
|
|
33
|
-
function j(
|
|
34
|
-
const
|
|
35
|
-
return
|
|
62
|
+
function j(i, e, t) {
|
|
63
|
+
const r = i.slice();
|
|
64
|
+
return r[0] = e[t], r;
|
|
36
65
|
}
|
|
37
|
-
function E(
|
|
38
|
-
const
|
|
39
|
-
return
|
|
66
|
+
function E(i, e, t) {
|
|
67
|
+
const r = i.slice();
|
|
68
|
+
return r[0] = e[t], r;
|
|
40
69
|
}
|
|
41
|
-
function N(
|
|
70
|
+
function N(i) {
|
|
42
71
|
let e, t;
|
|
43
72
|
return {
|
|
44
73
|
c() {
|
|
45
|
-
e =
|
|
46
|
-
|
|
74
|
+
e = d("img"), q(e, "class", "headerImage svelte-sezqcq"), F(e.src, t = /*data*/
|
|
75
|
+
i[3].headerPictureUrl) || q(e, "src", t), q(e, "alt", "");
|
|
47
76
|
},
|
|
48
|
-
m(
|
|
49
|
-
y(
|
|
77
|
+
m(r, l) {
|
|
78
|
+
y(r, e, l);
|
|
50
79
|
},
|
|
51
|
-
p(
|
|
52
|
-
|
|
80
|
+
p(r, l) {
|
|
81
|
+
l & /*data*/
|
|
53
82
|
8 && !F(e.src, t = /*data*/
|
|
54
|
-
|
|
83
|
+
r[3].headerPictureUrl) && q(e, "src", t);
|
|
55
84
|
},
|
|
56
|
-
d(
|
|
57
|
-
|
|
85
|
+
d(r) {
|
|
86
|
+
r && T(e);
|
|
58
87
|
}
|
|
59
88
|
};
|
|
60
89
|
}
|
|
61
|
-
function Z(
|
|
62
|
-
let e, t,
|
|
90
|
+
function Z(i) {
|
|
91
|
+
let e, t, r, l, o, s = (
|
|
63
92
|
/*primaryTags*/
|
|
64
|
-
|
|
93
|
+
i[2] || []
|
|
65
94
|
), c = [];
|
|
66
|
-
for (let a = 0; a <
|
|
67
|
-
c[a] = A(E(
|
|
68
|
-
let
|
|
95
|
+
for (let a = 0; a < s.length; a += 1)
|
|
96
|
+
c[a] = A(E(i, s, a));
|
|
97
|
+
let f = (
|
|
69
98
|
/*secondaryTags*/
|
|
70
|
-
|
|
71
|
-
),
|
|
72
|
-
for (let a = 0; a <
|
|
73
|
-
|
|
99
|
+
i[5] || []
|
|
100
|
+
), m = [];
|
|
101
|
+
for (let a = 0; a < f.length; a += 1)
|
|
102
|
+
m[a] = J(j(i, f, a));
|
|
74
103
|
return {
|
|
75
104
|
c() {
|
|
76
|
-
e =
|
|
105
|
+
e = d("div"), t = d("div");
|
|
77
106
|
for (let a = 0; a < c.length; a += 1)
|
|
78
107
|
c[a].c();
|
|
79
|
-
|
|
80
|
-
for (let a = 0; a <
|
|
81
|
-
|
|
82
|
-
|
|
108
|
+
r = C();
|
|
109
|
+
for (let a = 0; a < m.length; a += 1)
|
|
110
|
+
m[a].c();
|
|
111
|
+
q(t, "class", "tags svelte-sezqcq"), q(e, "class", "tags-wrapper svelte-sezqcq");
|
|
83
112
|
},
|
|
84
113
|
m(a, v) {
|
|
85
|
-
y(a, e, v),
|
|
86
|
-
for (let
|
|
87
|
-
c[
|
|
88
|
-
|
|
89
|
-
for (let
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
114
|
+
y(a, e, v), g(e, t);
|
|
115
|
+
for (let n = 0; n < c.length; n += 1)
|
|
116
|
+
c[n] && c[n].m(t, null);
|
|
117
|
+
g(t, r);
|
|
118
|
+
for (let n = 0; n < m.length; n += 1)
|
|
119
|
+
m[n] && m[n].m(t, null);
|
|
120
|
+
l || (o = [
|
|
121
|
+
me(ve.call(null, t)),
|
|
122
|
+
fe(
|
|
94
123
|
t,
|
|
95
124
|
"clientHeight",
|
|
96
125
|
/*clientHeight_handler*/
|
|
97
|
-
|
|
126
|
+
i[11]
|
|
98
127
|
)
|
|
99
|
-
],
|
|
128
|
+
], l = !0);
|
|
100
129
|
},
|
|
101
130
|
p(a, v) {
|
|
102
131
|
if (v & /*minTagWidth, primaryTags*/
|
|
103
132
|
4) {
|
|
104
|
-
|
|
133
|
+
s = /*primaryTags*/
|
|
105
134
|
a[2] || [];
|
|
106
|
-
let
|
|
107
|
-
for (
|
|
108
|
-
const k = E(a,
|
|
109
|
-
c[
|
|
135
|
+
let n;
|
|
136
|
+
for (n = 0; n < s.length; n += 1) {
|
|
137
|
+
const k = E(a, s, n);
|
|
138
|
+
c[n] ? c[n].p(k, v) : (c[n] = A(k), c[n].c(), c[n].m(t, r));
|
|
110
139
|
}
|
|
111
|
-
for (;
|
|
112
|
-
c[
|
|
113
|
-
c.length =
|
|
140
|
+
for (; n < c.length; n += 1)
|
|
141
|
+
c[n].d(1);
|
|
142
|
+
c.length = s.length;
|
|
114
143
|
}
|
|
115
144
|
if (v & /*minTagWidth, secondaryTags*/
|
|
116
145
|
32) {
|
|
117
|
-
|
|
146
|
+
f = /*secondaryTags*/
|
|
118
147
|
a[5] || [];
|
|
119
|
-
let
|
|
120
|
-
for (
|
|
121
|
-
const k = j(a,
|
|
122
|
-
|
|
148
|
+
let n;
|
|
149
|
+
for (n = 0; n < f.length; n += 1) {
|
|
150
|
+
const k = j(a, f, n);
|
|
151
|
+
m[n] ? m[n].p(k, v) : (m[n] = J(k), m[n].c(), m[n].m(t, null));
|
|
123
152
|
}
|
|
124
|
-
for (;
|
|
125
|
-
|
|
126
|
-
|
|
153
|
+
for (; n < m.length; n += 1)
|
|
154
|
+
m[n].d(1);
|
|
155
|
+
m.length = f.length;
|
|
127
156
|
}
|
|
128
157
|
},
|
|
129
158
|
d(a) {
|
|
130
|
-
a && T(e), O(c, a), O(
|
|
159
|
+
a && T(e), O(c, a), O(m, a), l = !1, pe(o);
|
|
131
160
|
}
|
|
132
161
|
};
|
|
133
162
|
}
|
|
134
|
-
function A(
|
|
163
|
+
function A(i) {
|
|
135
164
|
let e, t = (
|
|
136
165
|
/*tag*/
|
|
137
|
-
|
|
138
|
-
),
|
|
166
|
+
i[0] + ""
|
|
167
|
+
), r;
|
|
139
168
|
return {
|
|
140
169
|
c() {
|
|
141
|
-
e =
|
|
170
|
+
e = d("div"), r = S(t), q(e, "class", "tag primary-tag svelte-sezqcq"), L(e, "min-width", B);
|
|
142
171
|
},
|
|
143
|
-
m(
|
|
144
|
-
y(
|
|
172
|
+
m(l, o) {
|
|
173
|
+
y(l, e, o), g(e, r);
|
|
145
174
|
},
|
|
146
|
-
p(
|
|
147
|
-
|
|
175
|
+
p(l, o) {
|
|
176
|
+
o & /*primaryTags*/
|
|
148
177
|
4 && t !== (t = /*tag*/
|
|
149
|
-
|
|
178
|
+
l[0] + "") && P(r, t);
|
|
150
179
|
},
|
|
151
|
-
d(
|
|
152
|
-
|
|
180
|
+
d(l) {
|
|
181
|
+
l && T(e);
|
|
153
182
|
}
|
|
154
183
|
};
|
|
155
184
|
}
|
|
156
|
-
function J(
|
|
185
|
+
function J(i) {
|
|
157
186
|
let e, t = (
|
|
158
187
|
/*tag*/
|
|
159
|
-
|
|
160
|
-
),
|
|
188
|
+
i[0] + ""
|
|
189
|
+
), r;
|
|
161
190
|
return {
|
|
162
191
|
c() {
|
|
163
|
-
e =
|
|
192
|
+
e = d("div"), r = S(t), q(e, "class", "tag secondary-tag svelte-sezqcq"), L(e, "min-width", B);
|
|
164
193
|
},
|
|
165
|
-
m(
|
|
166
|
-
y(
|
|
194
|
+
m(l, o) {
|
|
195
|
+
y(l, e, o), g(e, r);
|
|
167
196
|
},
|
|
168
|
-
p(
|
|
169
|
-
|
|
197
|
+
p(l, o) {
|
|
198
|
+
o & /*secondaryTags*/
|
|
170
199
|
32 && t !== (t = /*tag*/
|
|
171
|
-
|
|
200
|
+
l[0] + "") && P(r, t);
|
|
172
201
|
},
|
|
173
|
-
d(
|
|
174
|
-
|
|
202
|
+
d(l) {
|
|
203
|
+
l && T(e);
|
|
175
204
|
}
|
|
176
205
|
};
|
|
177
206
|
}
|
|
178
|
-
function K(
|
|
179
|
-
let e, t,
|
|
207
|
+
function K(i) {
|
|
208
|
+
let e, t, r = (
|
|
180
209
|
/*havePrice*/
|
|
181
|
-
|
|
182
|
-
),
|
|
210
|
+
i[7] && Q(i)
|
|
211
|
+
), l = (
|
|
183
212
|
/*data*/
|
|
184
|
-
|
|
213
|
+
i[3].highlightText && x(i)
|
|
185
214
|
);
|
|
186
215
|
return {
|
|
187
216
|
c() {
|
|
188
|
-
e =
|
|
217
|
+
e = d("div"), r && r.c(), t = C(), l && l.c(), q(e, "class", "footer svelte-sezqcq");
|
|
189
218
|
},
|
|
190
|
-
m(
|
|
191
|
-
y(
|
|
219
|
+
m(o, s) {
|
|
220
|
+
y(o, e, s), r && r.m(e, null), g(e, t), l && l.m(e, null);
|
|
192
221
|
},
|
|
193
|
-
p(
|
|
222
|
+
p(o, s) {
|
|
194
223
|
/*havePrice*/
|
|
195
|
-
|
|
196
|
-
|
|
224
|
+
o[7] ? r ? r.p(o, s) : (r = Q(o), r.c(), r.m(e, t)) : r && (r.d(1), r = null), /*data*/
|
|
225
|
+
o[3].highlightText ? l ? l.p(o, s) : (l = x(o), l.c(), l.m(e, null)) : l && (l.d(1), l = null);
|
|
197
226
|
},
|
|
198
|
-
d(
|
|
199
|
-
|
|
227
|
+
d(o) {
|
|
228
|
+
o && T(e), r && r.d(), l && l.d();
|
|
200
229
|
}
|
|
201
230
|
};
|
|
202
231
|
}
|
|
203
|
-
function Q(
|
|
204
|
-
let e, t,
|
|
232
|
+
function Q(i) {
|
|
233
|
+
let e, t, r = (
|
|
205
234
|
/*data*/
|
|
206
|
-
|
|
207
|
-
),
|
|
235
|
+
i[3].price.value + ""
|
|
236
|
+
), l, o, s = (
|
|
208
237
|
/*data*/
|
|
209
|
-
|
|
238
|
+
i[3].price.unit && V(i)
|
|
210
239
|
);
|
|
211
240
|
return {
|
|
212
241
|
c() {
|
|
213
|
-
e =
|
|
242
|
+
e = d("div"), t = d("span"), l = S(r), o = C(), s && s.c(), q(t, "class", "value svelte-sezqcq"), q(e, "class", "price svelte-sezqcq");
|
|
214
243
|
},
|
|
215
|
-
m(c,
|
|
216
|
-
y(c, e,
|
|
244
|
+
m(c, f) {
|
|
245
|
+
y(c, e, f), g(e, t), g(t, l), g(e, o), s && s.m(e, null);
|
|
217
246
|
},
|
|
218
|
-
p(c,
|
|
219
|
-
|
|
220
|
-
8 &&
|
|
221
|
-
c[3].price.value + "") && P(
|
|
222
|
-
c[3].price.unit ?
|
|
247
|
+
p(c, f) {
|
|
248
|
+
f & /*data*/
|
|
249
|
+
8 && r !== (r = /*data*/
|
|
250
|
+
c[3].price.value + "") && P(l, r), /*data*/
|
|
251
|
+
c[3].price.unit ? s ? s.p(c, f) : (s = V(c), s.c(), s.m(e, null)) : s && (s.d(1), s = null);
|
|
223
252
|
},
|
|
224
253
|
d(c) {
|
|
225
|
-
c && T(e),
|
|
254
|
+
c && T(e), s && s.d();
|
|
226
255
|
}
|
|
227
256
|
};
|
|
228
257
|
}
|
|
229
|
-
function V(
|
|
258
|
+
function V(i) {
|
|
230
259
|
let e, t = (
|
|
231
260
|
/*data*/
|
|
232
|
-
|
|
233
|
-
),
|
|
261
|
+
i[3].price.unit + ""
|
|
262
|
+
), r;
|
|
234
263
|
return {
|
|
235
264
|
c() {
|
|
236
|
-
e =
|
|
265
|
+
e = d("span"), r = S(t), q(e, "class", "unit svelte-sezqcq");
|
|
237
266
|
},
|
|
238
|
-
m(
|
|
239
|
-
y(
|
|
267
|
+
m(l, o) {
|
|
268
|
+
y(l, e, o), g(e, r);
|
|
240
269
|
},
|
|
241
|
-
p(
|
|
242
|
-
|
|
270
|
+
p(l, o) {
|
|
271
|
+
o & /*data*/
|
|
243
272
|
8 && t !== (t = /*data*/
|
|
244
|
-
|
|
273
|
+
l[3].price.unit + "") && P(r, t);
|
|
245
274
|
},
|
|
246
|
-
d(
|
|
247
|
-
|
|
275
|
+
d(l) {
|
|
276
|
+
l && T(e);
|
|
248
277
|
}
|
|
249
278
|
};
|
|
250
279
|
}
|
|
251
|
-
function x(
|
|
252
|
-
let e, t,
|
|
280
|
+
function x(i) {
|
|
281
|
+
let e, t, r, l, o = (
|
|
253
282
|
/*data*/
|
|
254
|
-
|
|
255
|
-
),
|
|
283
|
+
i[3].highlightText + ""
|
|
284
|
+
), s, c, f;
|
|
256
285
|
return {
|
|
257
286
|
c() {
|
|
258
|
-
e =
|
|
287
|
+
e = d("div"), t = d("div"), r = C(), l = d("span"), s = S(o), c = C(), f = d("div"), f.innerHTML = '<svg class="arrow svelte-sezqcq" viewBox="0 0 6 9"><g transform="translate(-3, -2)" fill-rule="nonzero" class="svelte-sezqcq"><path d="M4.43868724,2.12056563 C4.28121824,1.95989074 4.02582143,1.95979988 3.86824251,2.1203627 C3.72498894,2.26632889 3.71189225,2.49481723 3.82900374,2.65587166 L6.57092402,5.92894326 C6.72651763,6.11470411 6.72651763,6.38529589 6.57092402,6.57105674 L3.86804348,9.79798499 C3.72488984,9.94405307 3.71194952,10.1725507 3.8291712,10.3335217 L3.86824251,10.3796373 C4.01149607,10.5256035 4.23559087,10.5387981 4.39346025,10.4192733 L4.43868724,10.3794344 L8.1144599,6.5985342 C8.30312347,6.40447482 8.30312347,6.09552518 8.1144599,5.9014658 L4.43868724,2.12056563 Z" class="svelte-sezqcq"></path></g></svg>', q(t, "class", "gap svelte-sezqcq"), q(l, "class", "text svelte-sezqcq"), q(e, "class", "goto-button goto-icon svelte-sezqcq"), q(f, "class", "arrow-wrapper svelte-sezqcq");
|
|
259
288
|
},
|
|
260
|
-
m(
|
|
261
|
-
y(
|
|
289
|
+
m(m, a) {
|
|
290
|
+
y(m, e, a), g(e, t), g(e, r), g(e, l), g(l, s), y(m, c, a), y(m, f, a);
|
|
262
291
|
},
|
|
263
|
-
p(
|
|
292
|
+
p(m, a) {
|
|
264
293
|
a & /*data*/
|
|
265
|
-
8 &&
|
|
266
|
-
|
|
294
|
+
8 && o !== (o = /*data*/
|
|
295
|
+
m[3].highlightText + "") && P(s, o);
|
|
267
296
|
},
|
|
268
|
-
d(
|
|
269
|
-
|
|
297
|
+
d(m) {
|
|
298
|
+
m && T(e), m && T(c), m && T(f);
|
|
270
299
|
}
|
|
271
300
|
};
|
|
272
301
|
}
|
|
273
|
-
function ue(
|
|
302
|
+
function ue(i) {
|
|
274
303
|
var W, G;
|
|
275
|
-
let e, t,
|
|
304
|
+
let e, t, r, l, o, s, c, f, m, a, v = (
|
|
276
305
|
/*data*/
|
|
277
|
-
|
|
278
|
-
),
|
|
279
|
-
t = new
|
|
306
|
+
i[3].title + ""
|
|
307
|
+
), n, k, U, _, w;
|
|
308
|
+
t = new de({
|
|
280
309
|
props: {
|
|
281
310
|
visible: (
|
|
282
311
|
/*unfolded*/
|
|
283
|
-
|
|
312
|
+
i[4]
|
|
284
313
|
),
|
|
285
314
|
outDelay: 500,
|
|
286
315
|
left: 61,
|
|
@@ -291,101 +320,101 @@ function ue(l) {
|
|
|
291
320
|
});
|
|
292
321
|
let h = (
|
|
293
322
|
/*data*/
|
|
294
|
-
|
|
323
|
+
i[3].headerPictureUrl && N(i)
|
|
295
324
|
), u = (
|
|
296
325
|
/*primaryTags*/
|
|
297
|
-
((W =
|
|
298
|
-
((G =
|
|
326
|
+
((W = i[2].length) != null ? W : 0) + /*secondaryTags*/
|
|
327
|
+
((G = i[5].length) != null ? G : 0) > 0 && Z(i)
|
|
299
328
|
), z = (
|
|
300
329
|
/*havePrice*/
|
|
301
|
-
(
|
|
302
|
-
|
|
330
|
+
(i[7] || /*data*/
|
|
331
|
+
i[3].highlightText) && K(i)
|
|
303
332
|
);
|
|
304
333
|
return {
|
|
305
334
|
c() {
|
|
306
|
-
e =
|
|
307
|
-
|
|
335
|
+
e = d("div"), se(t.$$.fragment), r = C(), l = d("div"), o = C(), s = d("div"), h && h.c(), c = C(), f = d("div"), m = d("div"), a = d("div"), n = S(v), k = C(), u && u.c(), U = C(), z && z.c(), q(l, "class", "line svelte-sezqcq"), L(
|
|
336
|
+
l,
|
|
308
337
|
"transition-delay",
|
|
309
338
|
/*unfolded*/
|
|
310
|
-
|
|
311
|
-
),
|
|
339
|
+
i[4] ? R + "ms" : Y + ee - $ - 40 + "ms"
|
|
340
|
+
), q(a, "class", "text svelte-sezqcq"), q(m, "class", "title svelte-sezqcq"), q(f, "class", "title-wrapper svelte-sezqcq"), q(s, "class", "content svelte-sezqcq"), L(s, "max-width", qe(
|
|
312
341
|
/*maxWidth*/
|
|
313
|
-
|
|
342
|
+
i[9]
|
|
314
343
|
)), L(
|
|
315
|
-
|
|
344
|
+
s,
|
|
316
345
|
"transition-delay",
|
|
317
346
|
/*unfolded*/
|
|
318
|
-
|
|
319
|
-
),
|
|
320
|
-
|
|
347
|
+
i[4] ? R + Y + "ms" : "0ms"
|
|
348
|
+
), q(e, "class", _ = D(`marketing ${/*theme*/
|
|
349
|
+
i[6]}`) + " svelte-sezqcq"), H(
|
|
321
350
|
e,
|
|
322
351
|
"unfolded",
|
|
323
352
|
/*unfolded*/
|
|
324
|
-
|
|
353
|
+
i[4]
|
|
325
354
|
), H(
|
|
326
355
|
e,
|
|
327
356
|
"folded",
|
|
328
357
|
/*folded*/
|
|
329
|
-
|
|
358
|
+
i[8]
|
|
330
359
|
);
|
|
331
360
|
},
|
|
332
|
-
m(
|
|
333
|
-
y(
|
|
361
|
+
m(p, b) {
|
|
362
|
+
y(p, e, b), oe(t, e, null), g(e, r), g(e, l), g(e, o), g(e, s), h && h.m(s, null), g(s, c), g(s, f), g(f, m), g(m, a), g(a, n), g(s, k), u && u.m(s, null), g(s, U), z && z.m(s, null), w = !0;
|
|
334
363
|
},
|
|
335
|
-
p(
|
|
364
|
+
p(p, [b]) {
|
|
336
365
|
var M, X;
|
|
337
366
|
const I = {};
|
|
338
367
|
b & /*unfolded*/
|
|
339
368
|
16 && (I.visible = /*unfolded*/
|
|
340
|
-
|
|
369
|
+
p[4]), t.$set(I), b & /*unfolded*/
|
|
341
370
|
16 && L(
|
|
342
|
-
|
|
371
|
+
l,
|
|
343
372
|
"transition-delay",
|
|
344
373
|
/*unfolded*/
|
|
345
|
-
|
|
374
|
+
p[4] ? R + "ms" : Y + ee - $ - 40 + "ms"
|
|
346
375
|
), /*data*/
|
|
347
|
-
|
|
376
|
+
p[3].headerPictureUrl ? h ? h.p(p, b) : (h = N(p), h.c(), h.m(s, c)) : h && (h.d(1), h = null), (!w || b & /*data*/
|
|
348
377
|
8) && v !== (v = /*data*/
|
|
349
|
-
|
|
350
|
-
((M =
|
|
351
|
-
((X =
|
|
352
|
-
|
|
353
|
-
|
|
378
|
+
p[3].title + "") && P(n, v), /*primaryTags*/
|
|
379
|
+
((M = p[2].length) != null ? M : 0) + /*secondaryTags*/
|
|
380
|
+
((X = p[5].length) != null ? X : 0) > 0 ? u ? u.p(p, b) : (u = Z(p), u.c(), u.m(s, U)) : u && (u.d(1), u = null), /*havePrice*/
|
|
381
|
+
p[7] || /*data*/
|
|
382
|
+
p[3].highlightText ? z ? z.p(p, b) : (z = K(p), z.c(), z.m(s, null)) : z && (z.d(1), z = null), b & /*unfolded*/
|
|
354
383
|
16 && L(
|
|
355
|
-
|
|
384
|
+
s,
|
|
356
385
|
"transition-delay",
|
|
357
386
|
/*unfolded*/
|
|
358
|
-
|
|
387
|
+
p[4] ? R + Y + "ms" : "0ms"
|
|
359
388
|
), (!w || b & /*theme*/
|
|
360
389
|
64 && _ !== (_ = D(`marketing ${/*theme*/
|
|
361
|
-
|
|
390
|
+
p[6]}`) + " svelte-sezqcq")) && q(e, "class", _), (!w || b & /*theme, unfolded*/
|
|
362
391
|
80) && H(
|
|
363
392
|
e,
|
|
364
393
|
"unfolded",
|
|
365
394
|
/*unfolded*/
|
|
366
|
-
|
|
395
|
+
p[4]
|
|
367
396
|
), (!w || b & /*theme, folded*/
|
|
368
397
|
320) && H(
|
|
369
398
|
e,
|
|
370
399
|
"folded",
|
|
371
400
|
/*folded*/
|
|
372
|
-
|
|
401
|
+
p[8]
|
|
373
402
|
);
|
|
374
403
|
},
|
|
375
|
-
i(
|
|
376
|
-
w || (
|
|
404
|
+
i(p) {
|
|
405
|
+
w || (ne(t.$$.fragment, p), w = !0);
|
|
377
406
|
},
|
|
378
|
-
o(
|
|
379
|
-
ae(t.$$.fragment,
|
|
407
|
+
o(p) {
|
|
408
|
+
ae(t.$$.fragment, p), w = !1;
|
|
380
409
|
},
|
|
381
|
-
d(
|
|
382
|
-
|
|
410
|
+
d(p) {
|
|
411
|
+
p && T(e), ce(t), h && h.d(), u && u.d(), z && z.d();
|
|
383
412
|
}
|
|
384
413
|
};
|
|
385
414
|
}
|
|
386
415
|
const B = 40, R = 400, $ = 500, Y = 180, ee = 500;
|
|
387
|
-
function ze(
|
|
388
|
-
let
|
|
416
|
+
function ze(i, e, t) {
|
|
417
|
+
let r, l, o, s, c, f, m, a, { tag: v } = e, n, k = (() => {
|
|
389
418
|
var w;
|
|
390
419
|
const _ = (w = v.data.limitWidth) != null ? w : !0;
|
|
391
420
|
if (typeof _ == "number")
|
|
@@ -394,41 +423,41 @@ function ze(l, e, t) {
|
|
|
394
423
|
return 172;
|
|
395
424
|
})();
|
|
396
425
|
const U = (_) => {
|
|
397
|
-
t(1,
|
|
426
|
+
t(1, n = _.detail);
|
|
398
427
|
};
|
|
399
|
-
return
|
|
428
|
+
return i.$$set = (_) => {
|
|
400
429
|
"tag" in _ && t(0, v = _.tag);
|
|
401
|
-
},
|
|
430
|
+
}, i.$$.update = () => {
|
|
402
431
|
var _, w, h, u, z, W;
|
|
403
|
-
|
|
404
|
-
1 && t(4,
|
|
405
|
-
16 && t(8,
|
|
406
|
-
1 && t(3,
|
|
407
|
-
8 && t(7,
|
|
408
|
-
1 && t(6, c = v.data.theme || "light"),
|
|
409
|
-
1026 &&
|
|
410
|
-
1032 && t(2,
|
|
411
|
-
1036 && t(5, a = ((W =
|
|
412
|
-
}, t(10,
|
|
432
|
+
i.$$.dirty & /*tag*/
|
|
433
|
+
1 && t(4, r = (w = (_ = v.state) == null ? void 0 : _.unfolded) != null ? w : !1), i.$$.dirty & /*unfolded*/
|
|
434
|
+
16 && t(8, l = !r), i.$$.dirty & /*tag*/
|
|
435
|
+
1 && t(3, o = v.data), i.$$.dirty & /*data*/
|
|
436
|
+
8 && t(7, s = ge((h = o.price) == null ? void 0 : h.value) && ((u = o.price) == null ? void 0 : u.value) !== ""), i.$$.dirty & /*tag*/
|
|
437
|
+
1 && t(6, c = v.data.theme || "light"), i.$$.dirty & /*tagsOffsetHeight, maxTagsLength*/
|
|
438
|
+
1026 && n > 40 && t(10, f = f - 1), i.$$.dirty & /*data, maxTagsLength*/
|
|
439
|
+
1032 && t(2, m = ((z = o.brandTags) == null ? void 0 : z.slice(0, f).filter(Boolean)) || []), i.$$.dirty & /*data, maxTagsLength, primaryTags*/
|
|
440
|
+
1036 && t(5, a = ((W = o.tags) == null ? void 0 : W.slice(0, f - m.length).filter(Boolean)) || []);
|
|
441
|
+
}, t(10, f = (k - 20) / B), [
|
|
413
442
|
v,
|
|
414
|
-
o,
|
|
415
|
-
f,
|
|
416
443
|
n,
|
|
417
|
-
|
|
444
|
+
m,
|
|
445
|
+
o,
|
|
446
|
+
r,
|
|
418
447
|
a,
|
|
419
448
|
c,
|
|
420
|
-
|
|
421
|
-
|
|
449
|
+
s,
|
|
450
|
+
l,
|
|
422
451
|
k,
|
|
423
|
-
|
|
452
|
+
f,
|
|
424
453
|
U
|
|
425
454
|
];
|
|
426
455
|
}
|
|
427
|
-
class
|
|
456
|
+
class yt extends te {
|
|
428
457
|
constructor(e) {
|
|
429
|
-
super(),
|
|
458
|
+
super(), ie(this, e, ze, ue, le, { tag: 0 }, he);
|
|
430
459
|
}
|
|
431
460
|
}
|
|
432
461
|
export {
|
|
433
|
-
|
|
462
|
+
yt as default
|
|
434
463
|
};
|