@realsee/dnalogel 3.47.13 → 3.47.15
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 +8 -0
- package/dist/PanoTagPlugin/utils/requestIdleCallback.d.ts +1 -1
- package/dist/Sculpt/Meshes/Line.d.ts +1 -0
- package/dist/Sculpt/Meshes/Polygon.d.ts +2 -1
- package/dist/index.cjs.js +53 -53
- package/dist/index.js +18650 -18640
- package/dist/index.umd.js +47 -47
- package/libs/AreaMakerPlugin/Controller.js +78 -150
- package/libs/AreaMakerPlugin/index.js +3 -75
- package/libs/AreaMakerPlugin/utils/Item.js +111 -185
- package/libs/CSS3DRenderPlugin/Controller.js +29 -86
- package/libs/CSS3DRenderPlugin/index.js +12 -69
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.js +58 -127
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DRender.js +113 -174
- package/libs/CruisePlugin/BaseController.js +50 -122
- package/libs/CruisePlugin/Move.js +21 -74
- package/libs/CruisePlugin/Work.js +46 -99
- package/libs/CruisePlugin/index.js +26 -79
- package/libs/CurrentPanoImagePlugin/Controller.js +104 -176
- package/libs/CurrentPanoImagePlugin/index.js +4 -76
- package/libs/GuideLinePlugin/Controller.js +26 -79
- package/libs/GuideLinePlugin/GuideLineItem.js +24 -77
- package/libs/GuideLinePlugin/GuideLineModeItem/index.js +2 -3
- package/libs/GuideLinePlugin/GuideLineModeItem.js +22 -75
- package/libs/GuideLinePlugin/index.js +26 -79
- package/libs/ModelMakerPlugin/Controller.js +83 -139
- package/libs/ModelMakerPlugin/index.js +16 -72
- package/libs/ModelTVVideoPlugin/Plugin.js +48 -105
- package/libs/ModelTVVideoPlugin/index.js +7 -64
- package/libs/Object3DHelperPlugin/Controller.js +32 -56
- package/libs/Object3DHelperPlugin/index.js +12 -35
- package/libs/PanoCompassPlugin/Controller.js +37 -93
- package/libs/PanoCompassPlugin/index.js +11 -67
- package/libs/PanoDoorLabelPlugin/BaseController.js +25 -97
- package/libs/PanoDoorLabelPlugin/Controller.js +115 -187
- package/libs/PanoDoorLabelPlugin/index.js +4 -76
- package/libs/PanoMeasurePlugin/Components/Controller0.js +83 -128
- package/libs/PanoMeasurePlugin/Components/Controller1.js +96 -141
- package/libs/PanoMeasurePlugin/Controller/EditController.js +66 -111
- package/libs/PanoMeasurePlugin/Controller/WatchController.js +51 -121
- package/libs/PanoMeasurePlugin/Controller/index.js +59 -101
- package/libs/PanoMeasurePlugin/Model/area.js +21 -91
- package/libs/PanoMeasurePlugin/Modules/Magnifier.js +0 -73
- package/libs/PanoMeasurePlugin/Modules/UIController/index.js +27 -72
- package/libs/PanoMeasurePlugin/index.js +25 -67
- package/libs/PanoMeasurePlugin/utils/dom/areaDom.js +17 -89
- package/libs/PanoSpatialTagPlugin/Plugin.js +106 -163
- package/libs/PanoSpatialTagPlugin/index.js +5 -62
- package/libs/PanoTagPlugin/Components/Common/TagPoint.js +67 -141
- package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +208 -281
- package/libs/PanoTagPlugin/Components/Tag/index.js +180 -251
- package/libs/PanoTagPlugin/Components/TagContainer.js +80 -151
- package/libs/PanoTagPlugin/Components/TagItem.js +67 -138
- package/libs/PanoTagPlugin/controller/Tag/BaseTag.js +61 -132
- package/libs/PanoTagPlugin/controller/Tag/ModelTag.js +28 -99
- package/libs/PanoTagPlugin/controller/Tag/PlaneTag.js +30 -101
- package/libs/PanoTagPlugin/controller/Tag/PointTag.js +36 -107
- package/libs/PanoTagPlugin/controller/TagRender.js +68 -121
- package/libs/PanoTagPlugin/controller/TagUtil.js +79 -132
- package/libs/PanoTagPlugin/controller/index.js +55 -108
- package/libs/PanoTagPlugin/index.js +31 -84
- package/libs/PanoTagPlugin/utils/requestIdleCallback.d.ts +1 -1
- package/libs/PanoTagPlugin/utils/requestIdleCallback.js +5 -13
- package/libs/PanoTagPlugin/utils/tag/calculateTagConfig.js +30 -104
- package/libs/PanoVideoPlugin/Controller.js +64 -136
- package/libs/PanoVideoPlugin/VideoMeshController.js +74 -148
- package/libs/PanoVideoPlugin/index.js +8 -80
- package/libs/PipelinePlugin/Controller.js +128 -199
- package/libs/PipelinePlugin/index.js +5 -76
- package/libs/PipelinePlugin/utils/Objects/FlowPipe.js +17 -91
- package/libs/PipelinePlugin/utils/Objects/HighlightPipe.js +14 -88
- package/libs/PipelinePlugin/utils/Objects/Pipe.js +56 -130
- package/libs/Sculpt/Meshes/Box.js +5 -6
- package/libs/Sculpt/Meshes/Cylinder.js +2 -3
- package/libs/Sculpt/Meshes/Line.d.ts +1 -0
- package/libs/Sculpt/Meshes/Line.js +50 -41
- package/libs/Sculpt/Meshes/Point.js +9 -10
- package/libs/Sculpt/Meshes/Polygon.d.ts +2 -1
- package/libs/Sculpt/Meshes/Polygon.js +47 -37
- package/libs/Sculpt/Meshes/Polyline.js +18 -16
- package/libs/Sculpt/Meshes/Rectangle.js +3 -4
- package/libs/Sculpt/Objects/Line/Editor.js +2 -3
- package/libs/Sculpt/Objects/Rectangle/index.js +1 -1
- package/libs/Sculpt/utils/removeAllTag.js +4 -4
- package/libs/Sculpt/utils/three/ColoredMesh.js +3 -4
- package/libs/base/BasePlugin.js +3 -4
- package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +59 -128
- package/libs/floorplan/MapviewFloorplanPlugin/index.js +6 -75
- package/libs/floorplan/ModelFloorplanPlugin/Controller.js +59 -129
- package/libs/floorplan/ModelFloorplanPlugin/index.js +5 -75
- package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +62 -134
- package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +4 -76
- package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +81 -151
- package/libs/floorplan/TopviewFloorplanPlugin/index.js +5 -75
- package/libs/floorplan/index.js +0 -1
- package/libs/index.js +62 -62
- package/libs/shared-utils/five/index.js +2 -3
- package/libs/shared-utils/five/lookObject.js +17 -18
- package/libs/shared-utils/logger.js +1 -1
- package/libs/shared-utils/three/index.js +0 -1
- package/package.json +1 -1
|
@@ -8,7 +8,6 @@ import "hammerjs";
|
|
|
8
8
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
9
9
|
import "@realsee/five/line";
|
|
10
10
|
import "../../shared-utils/tag.js";
|
|
11
|
-
import "../../Sculpt/utils/Modules/Global.js";
|
|
12
11
|
import "../../shared-utils/three/THREESphere.js";
|
|
13
12
|
import "animejs";
|
|
14
13
|
import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
@@ -76,78 +75,6 @@ import "../../shared-utils/Subscribe.js";
|
|
|
76
75
|
import "../../shared-utils/Utils/WorkUtil.js";
|
|
77
76
|
import "../../shared-utils/five/transformPosition.js";
|
|
78
77
|
import "../../shared-utils/three/temp.js";
|
|
79
|
-
import "../../Sculpt/utils/Modules/Cursor.js";
|
|
80
|
-
import "../../Object3DHelperPlugin/Controller.js";
|
|
81
|
-
import "../../base/BasePlugin.js";
|
|
82
|
-
import "../../shared-utils/url/absoluteUrl.js";
|
|
83
|
-
import "../../shared-utils/Object3DHelper/Helper/MoveHelper.js";
|
|
84
|
-
import "../../shared-utils/Object3DHelper/Base/BaseHelper.js";
|
|
85
|
-
import "../../shared-utils/Object3DHelper/utils/setObjectQuaternion.js";
|
|
86
|
-
import "../../shared-utils/three/IObject3D.js";
|
|
87
|
-
import "../../shared-utils/three/boundingBox.js";
|
|
88
|
-
import "../../shared-utils/Object3DHelper/Helper/Objects/ArrowGroup.js";
|
|
89
|
-
import "../../shared-utils/Object3DHelper/utils/direction.js";
|
|
90
|
-
import "../../shared-utils/Object3DHelper/Constants/color.js";
|
|
91
|
-
import "../../shared-utils/Object3DHelper/utils/calculateScaleByCamera.js";
|
|
92
|
-
import "../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
93
|
-
import "../../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
94
|
-
import "../../CSS3DRenderPlugin/utils/three/THREEJS_CSS3DRenderer.js";
|
|
95
|
-
import "../../CSS3DRenderPlugin/utils/createResizeObserver.js";
|
|
96
|
-
import "../../CSS3DRenderPlugin/utils/even.js";
|
|
97
|
-
import "../../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
|
|
98
|
-
import "../../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
|
|
99
|
-
import "../../shared-utils/three/centerPoint.js";
|
|
100
|
-
import "../../shared-utils/three/getObjectVisible.js";
|
|
101
|
-
import "../../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
102
|
-
import "../../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
103
|
-
import "../../shared-utils/util.js";
|
|
104
|
-
import "../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
105
|
-
import "../../shared-utils/Object3DHelper/Helper/RotateHelper.js";
|
|
106
|
-
import "../../shared-utils/Object3DHelper/Helper/HTML/tipsDom.js";
|
|
107
|
-
import "../../shared-utils/Object3DHelper/Helper/HTML/utils/createElement.js";
|
|
108
|
-
import "../../shared-utils/Object3DHelper/Helper/CSS3DScaleHelper.js";
|
|
109
|
-
import "../../shared-utils/Object3DHelper/Helper/HTML/rectangleScaleDom.js";
|
|
110
|
-
import "../../shared-utils/Object3DHelper/Helper/BoundingBoxHelper.js";
|
|
111
|
-
import "../../shared-utils/Object3DHelper/Controller/MoveController.js";
|
|
112
|
-
import "../../shared-utils/Object3DHelper/Base/BaseController.js";
|
|
113
|
-
import "../../shared-utils/threex/domevents/index.js";
|
|
114
|
-
import "../../shared-utils/Object3DHelper/utils/getMouseRaycaster.js";
|
|
115
|
-
import "../../shared-utils/Object3DHelper/utils/calculateThreeMouse.js";
|
|
116
|
-
import "../../Sculpt/utils/three/rayOnLine.js";
|
|
117
|
-
import "../../Object3DHelperPlugin/FiveControllerWrapper.js";
|
|
118
|
-
import "../../shared-utils/Object3DHelper/index.js";
|
|
119
|
-
import "../../shared-utils/Object3DHelper/Controller/RotateController.js";
|
|
120
|
-
import "../../shared-utils/math/rad2Deg.js";
|
|
121
|
-
import "../../shared-utils/math/deg2Rad.js";
|
|
122
|
-
import "../../shared-utils/Object3DHelper/Controller/CSS3DScaleController.js";
|
|
123
|
-
import "../../shared-utils/Object3DHelper/Controller/RectangleScaleController.js";
|
|
124
|
-
import "../../shared-utils/Object3DHelper/utils/vectorIsEqual.js";
|
|
125
|
-
import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
126
|
-
import "../../shared-utils/Object3DHelper/Controller/BoundingBoxController.js";
|
|
127
|
-
import "../../shared-utils/Object3DHelper/Helper/ScaleHelper.js";
|
|
128
|
-
import "../../shared-utils/Object3DHelper/Controller/ScaleController.js";
|
|
129
|
-
import "../../shared-utils/five/fiveModelLoad.js";
|
|
130
|
-
import "../../shared-utils/five/FiveDomEvents.js";
|
|
131
|
-
import "../../shared-utils/five/calculateThreeMouse.js";
|
|
132
|
-
import "../../shared-utils/three/THREERaycaster.js";
|
|
133
|
-
import "../../shared-utils/three/PointSelector/index.js";
|
|
134
|
-
import "../../shared-utils/three/PointSelector/utils/PointSelectorHelper.js";
|
|
135
|
-
import "../../shared-utils/three/Magnifier.js";
|
|
136
|
-
import "../../shared-utils/three/PointSelector/utils/PointHelper.js";
|
|
137
|
-
import "../../shared-utils/three/Assets/index.js";
|
|
138
|
-
import "../../shared-utils/three/PointSelector/utils/html.js";
|
|
139
|
-
import "../../shared-utils/five/initialCSS3DRender.js";
|
|
140
|
-
import "../../shared-utils/three/PointSelector/utils/PointHelper2.js";
|
|
141
|
-
import "../../Sculpt/Meshes/Line.js";
|
|
142
|
-
import "../../Sculpt/typings/style.js";
|
|
143
|
-
import "../../shared-utils/five/FiveLine.js";
|
|
144
|
-
import "../../Sculpt/utils/removeAllTag.js";
|
|
145
|
-
import "../../Sculpt/utils/Meshes/getLengthHTML.js";
|
|
146
|
-
import "../../shared-utils/three/applyObjectMatrixWorld.js";
|
|
147
|
-
import "../../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
|
|
148
|
-
import "../../shared-utils/isTouchDevice.js";
|
|
149
|
-
import "../../shared-utils/five/getPosition.js";
|
|
150
|
-
import "../../shared-utils/five/getRaycasterByNdcPosition.js";
|
|
151
78
|
import "./Tag/AudioTag/index.js";
|
|
152
79
|
import "./Tag/AudioTag/AudioTag.js";
|
|
153
80
|
import "./Common/Audio.js";
|
|
@@ -168,6 +95,7 @@ import "@realsee/five/gltf-loader";
|
|
|
168
95
|
import "../utils/planeNormal.js";
|
|
169
96
|
import "../utils/tag/tagCheck.js";
|
|
170
97
|
import "../utils/model/mediaPlane.js";
|
|
98
|
+
import "../../shared-utils/three/centerPoint.js";
|
|
171
99
|
import "../../shared-utils/three/loadTexture.js";
|
|
172
100
|
import "../../shared-utils/three/Quadrangle.js";
|
|
173
101
|
import "../../shared-utils/math/pointsIsRectangle.js";
|
|
@@ -184,6 +112,7 @@ import "../utils/tag/adaptConfig.js";
|
|
|
184
112
|
import "../typings/tag/TagConfig.js";
|
|
185
113
|
import "@realsee/five";
|
|
186
114
|
import "../utils/tag/format.js";
|
|
115
|
+
import "../../shared-utils/util.js";
|
|
187
116
|
import "../../shared-utils/three/blink.js";
|
|
188
117
|
import "../../shared-utils/vectorToCoordinate.js";
|
|
189
118
|
import "../../shared-utils/formatRad.js";
|
|
@@ -199,23 +128,23 @@ function it(o) {
|
|
|
199
128
|
Q(o, "svelte-2g2g8a", ".tag.svelte-2g2g8a{position:absolute;width:0rem;height:0rem;overflow:visible;pointer-events:auto;will-change:opacity;transition:opacity 0.2s linear}.tag.enableZIndex.svelte-2g2g8a{position:absolute}.tag.hide.svelte-2g2g8a{opacity:0;pointer-events:none}.tag.hide.svelte-2g2g8a *{pointer-events:none !important}.tag.unClickable.svelte-2g2g8a{pointer-events:none !important}.tag.unClickable.svelte-2g2g8a *{pointer-events:none !important}");
|
|
200
129
|
}
|
|
201
130
|
function j(o) {
|
|
202
|
-
let t, i, e, r,
|
|
131
|
+
let t, i, e, r, n, a, b, k, s;
|
|
203
132
|
const M = [rt, ot], u = [];
|
|
204
|
-
function S(
|
|
133
|
+
function S(p, l) {
|
|
205
134
|
return (
|
|
206
135
|
/*havePoint*/
|
|
207
|
-
|
|
136
|
+
p[8] ? 0 : 1
|
|
208
137
|
);
|
|
209
138
|
}
|
|
210
139
|
i = S(o), e = u[i] = M[i](o);
|
|
211
|
-
const
|
|
212
|
-
function y(
|
|
140
|
+
const m = [pt, nt], c = [];
|
|
141
|
+
function y(p, l) {
|
|
213
142
|
return (
|
|
214
143
|
/*haveContent*/
|
|
215
|
-
|
|
144
|
+
p[15] ? 0 : 1
|
|
216
145
|
);
|
|
217
146
|
}
|
|
218
|
-
return
|
|
147
|
+
return n = y(o), a = c[n] = m[n](o), {
|
|
219
148
|
c() {
|
|
220
149
|
t = Z("div"), e.c(), r = X(), a.c(), d(t, "class", "tag svelte-2g2g8a"), d(
|
|
221
150
|
t,
|
|
@@ -254,71 +183,71 @@ function j(o) {
|
|
|
254
183
|
o[10]}, 0) scale(${/*screenPosition*/
|
|
255
184
|
o[7].scale})`);
|
|
256
185
|
},
|
|
257
|
-
m(
|
|
258
|
-
I(
|
|
186
|
+
m(p, l) {
|
|
187
|
+
I(p, t, l), u[i].m(t, null), Y(t, r), c[n].m(t, null), o[17](t), s = !0;
|
|
259
188
|
},
|
|
260
|
-
p(
|
|
189
|
+
p(p, l) {
|
|
261
190
|
let h = i;
|
|
262
|
-
i = S(
|
|
191
|
+
i = S(p), i === h ? u[i].p(p, l) : (L(), g(u[h], 1, 1, () => {
|
|
263
192
|
u[h] = null;
|
|
264
|
-
}), z(), e = u[i], e ? e.p(
|
|
265
|
-
let w =
|
|
266
|
-
|
|
193
|
+
}), z(), e = u[i], e ? e.p(p, l) : (e = u[i] = M[i](p), e.c()), _(e, 1), e.m(t, r));
|
|
194
|
+
let w = n;
|
|
195
|
+
n = y(p), n === w ? c[n].p(p, l) : (L(), g(c[w], 1, 1, () => {
|
|
267
196
|
c[w] = null;
|
|
268
|
-
}), z(), a = c[
|
|
197
|
+
}), z(), a = c[n], a ? a.p(p, l) : (a = c[n] = m[n](p), a.c()), _(a, 1), a.m(t, null)), (!s || l & /*id*/
|
|
269
198
|
16384) && d(
|
|
270
199
|
t,
|
|
271
200
|
"data-tag-id",
|
|
272
201
|
/*id*/
|
|
273
|
-
|
|
202
|
+
p[14]
|
|
274
203
|
), (!s || l & /*unfolded*/
|
|
275
204
|
64) && d(
|
|
276
205
|
t,
|
|
277
206
|
"data-tag-unfolded",
|
|
278
207
|
/*unfolded*/
|
|
279
|
-
|
|
208
|
+
p[6]
|
|
280
209
|
), (!s || l & /*tag*/
|
|
281
210
|
1 && b !== (b = /*tag*/
|
|
282
|
-
|
|
211
|
+
p[0].contentType)) && d(t, "data-content-type", b), (!s || l & /*id*/
|
|
283
212
|
16384 && k !== (k = `tag-${/*id*/
|
|
284
|
-
|
|
213
|
+
p[14]}`)) && d(t, "id", k), (!s || l & /*tag*/
|
|
285
214
|
1) && T(
|
|
286
215
|
t,
|
|
287
216
|
"unClickable",
|
|
288
217
|
/*tag*/
|
|
289
|
-
|
|
218
|
+
p[0].config.clickable === !1
|
|
290
219
|
), (!s || l & /*hide*/
|
|
291
220
|
4096) && T(
|
|
292
221
|
t,
|
|
293
222
|
"hide",
|
|
294
223
|
/*hide*/
|
|
295
|
-
|
|
224
|
+
p[12]
|
|
296
225
|
), (!s || l & /*zIndex*/
|
|
297
226
|
512) && T(
|
|
298
227
|
t,
|
|
299
228
|
"enableZIndex",
|
|
300
229
|
/*zIndex*/
|
|
301
|
-
|
|
230
|
+
p[9]
|
|
302
231
|
), l & /*zIndex*/
|
|
303
232
|
512 && C(
|
|
304
233
|
t,
|
|
305
234
|
"z-index",
|
|
306
235
|
/*zIndex*/
|
|
307
|
-
|
|
236
|
+
p[9]
|
|
308
237
|
), l & /*left, top, screenPosition*/
|
|
309
238
|
3200 && C(t, "transform", `translate3d(${/*left*/
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
239
|
+
p[11]}, ${/*top*/
|
|
240
|
+
p[10]}, 0) scale(${/*screenPosition*/
|
|
241
|
+
p[7].scale})`);
|
|
313
242
|
},
|
|
314
|
-
i(
|
|
243
|
+
i(p) {
|
|
315
244
|
s || (_(e), _(a), s = !0);
|
|
316
245
|
},
|
|
317
|
-
o(
|
|
246
|
+
o(p) {
|
|
318
247
|
g(e), g(a), s = !1;
|
|
319
248
|
},
|
|
320
|
-
d(
|
|
321
|
-
|
|
249
|
+
d(p) {
|
|
250
|
+
p && P(t), u[i].d(), c[n].d(), o[17](null);
|
|
322
251
|
}
|
|
323
252
|
};
|
|
324
253
|
}
|
|
@@ -352,10 +281,10 @@ function rt(o) {
|
|
|
352
281
|
E(t, e, r), i = !0;
|
|
353
282
|
},
|
|
354
283
|
p(e, r) {
|
|
355
|
-
const
|
|
284
|
+
const n = {};
|
|
356
285
|
r & /*tag*/
|
|
357
|
-
1 && (
|
|
358
|
-
e[0]), t.$set(
|
|
286
|
+
1 && (n.tag = /*tag*/
|
|
287
|
+
e[0]), t.$set(n);
|
|
359
288
|
},
|
|
360
289
|
i(e) {
|
|
361
290
|
i || (_(t.$$.fragment, e), i = !0);
|
|
@@ -368,7 +297,7 @@ function rt(o) {
|
|
|
368
297
|
}
|
|
369
298
|
};
|
|
370
299
|
}
|
|
371
|
-
function
|
|
300
|
+
function nt(o) {
|
|
372
301
|
let t;
|
|
373
302
|
return {
|
|
374
303
|
c() {
|
|
@@ -385,7 +314,7 @@ function pt(o) {
|
|
|
385
314
|
}
|
|
386
315
|
};
|
|
387
316
|
}
|
|
388
|
-
function
|
|
317
|
+
function pt(o) {
|
|
389
318
|
let t, i;
|
|
390
319
|
return t = new $({
|
|
391
320
|
props: {
|
|
@@ -426,22 +355,22 @@ function mt(o) {
|
|
|
426
355
|
E(t, e, r), i = !0;
|
|
427
356
|
},
|
|
428
357
|
p(e, r) {
|
|
429
|
-
const
|
|
358
|
+
const n = {};
|
|
430
359
|
r & /*mediaStore*/
|
|
431
|
-
2 && (
|
|
360
|
+
2 && (n.mediaStore = /*mediaStore*/
|
|
432
361
|
e[1]), r & /*tag*/
|
|
433
|
-
1 && (
|
|
362
|
+
1 && (n.tag = V(
|
|
434
363
|
/*tag*/
|
|
435
364
|
e[0]
|
|
436
365
|
)), r & /*state*/
|
|
437
|
-
16 && (
|
|
366
|
+
16 && (n.state = /*state*/
|
|
438
367
|
e[4]), r & /*temporaryState*/
|
|
439
|
-
32 && (
|
|
368
|
+
32 && (n.temporaryState = /*temporaryState*/
|
|
440
369
|
e[5]), r & /*rendererMap*/
|
|
441
|
-
4 && (
|
|
370
|
+
4 && (n.rendererMap = /*rendererMap*/
|
|
442
371
|
e[2]), r & /*contentTypeMap*/
|
|
443
|
-
8 && (
|
|
444
|
-
e[3]), t.$set(
|
|
372
|
+
8 && (n.contentTypeMap = /*contentTypeMap*/
|
|
373
|
+
e[3]), t.$set(n);
|
|
445
374
|
},
|
|
446
375
|
i(e) {
|
|
447
376
|
i || (_(t.$$.fragment, e), i = !0);
|
|
@@ -454,7 +383,7 @@ function mt(o) {
|
|
|
454
383
|
}
|
|
455
384
|
};
|
|
456
385
|
}
|
|
457
|
-
function
|
|
386
|
+
function mt(o) {
|
|
458
387
|
let t, i, e = (
|
|
459
388
|
/*screenPosition*/
|
|
460
389
|
o[7] && !/*disable*/
|
|
@@ -464,13 +393,13 @@ function nt(o) {
|
|
|
464
393
|
c() {
|
|
465
394
|
e && e.c(), t = U();
|
|
466
395
|
},
|
|
467
|
-
m(r,
|
|
468
|
-
e && e.m(r,
|
|
396
|
+
m(r, n) {
|
|
397
|
+
e && e.m(r, n), I(r, t, n), i = !0;
|
|
469
398
|
},
|
|
470
|
-
p(r, [
|
|
399
|
+
p(r, [n]) {
|
|
471
400
|
/*screenPosition*/
|
|
472
401
|
r[7] && !/*disable*/
|
|
473
|
-
r[13] ? e ? (e.p(r,
|
|
402
|
+
r[13] ? e ? (e.p(r, n), n & /*screenPosition, disable*/
|
|
474
403
|
8320 && _(e, 1)) : (e = j(r), e.c(), _(e, 1), e.m(t.parentNode, t)) : e && (L(), g(e, 1, 1, () => {
|
|
475
404
|
e = null;
|
|
476
405
|
}), z());
|
|
@@ -487,36 +416,36 @@ function nt(o) {
|
|
|
487
416
|
};
|
|
488
417
|
}
|
|
489
418
|
function at(o, t, i) {
|
|
490
|
-
let e, r,
|
|
419
|
+
let e, r, n, a, b, k, s, M, u, S, { tag: m } = t, { mediaStore: c } = t, { rendererMap: y = /* @__PURE__ */ new Map() } = t, { contentTypeMap: p = /* @__PURE__ */ new Map() } = t, { state: l } = t, { temporaryState: h } = t;
|
|
491
420
|
const w = W("hooks");
|
|
492
421
|
function H(f) {
|
|
493
422
|
x[f ? "unshift" : "push"](() => {
|
|
494
|
-
|
|
423
|
+
m.dom = f, i(0, m);
|
|
495
424
|
});
|
|
496
425
|
}
|
|
497
426
|
return o.$$set = (f) => {
|
|
498
|
-
"tag" in f && i(0,
|
|
427
|
+
"tag" in f && i(0, m = f.tag), "mediaStore" in f && i(1, c = f.mediaStore), "rendererMap" in f && i(2, y = f.rendererMap), "contentTypeMap" in f && i(3, p = f.contentTypeMap), "state" in f && i(4, l = f.state), "temporaryState" in f && i(5, h = f.temporaryState);
|
|
499
428
|
}, o.$$.update = () => {
|
|
500
429
|
var f, q, A, D;
|
|
501
430
|
o.$$.dirty & /*tag, rendererMap*/
|
|
502
431
|
5 && i(8, e = (() => {
|
|
503
432
|
var F, N, R;
|
|
504
|
-
return !(((N = (F =
|
|
433
|
+
return !(((N = (F = m.style) == null ? void 0 : F.point) == null ? void 0 : N.enabled) === !1 || ((R = y.get(m.contentType)) == null ? void 0 : R.usePoint) === !1 || m.contentType === "Sticker" || m.contentType === "Link" || m.contentType === "VRLink" || m.contentType === "PanoLink" || m.contentType === "Panorama" || m.contentType === "Audio" && m.data.appearance === "plane");
|
|
505
434
|
})()), o.$$.dirty & /*tag, havePoint*/
|
|
506
|
-
257 && i(15, r = (() => !(
|
|
507
|
-
1 && i(14,
|
|
508
|
-
1 && i(7, a =
|
|
509
|
-
1 && i(13, b =
|
|
510
|
-
129 && i(12, k = !((f =
|
|
511
|
-
1 && i(6, s = (A =
|
|
435
|
+
257 && i(15, r = (() => !(m.stickType !== "2DPoint" || m.entryFromModel && et(m.five.state.mode) && e))()), o.$$.dirty & /*tag*/
|
|
436
|
+
1 && i(14, n = m.id), o.$$.dirty & /*tag*/
|
|
437
|
+
1 && i(7, a = m.screenPosition), o.$$.dirty & /*tag*/
|
|
438
|
+
1 && i(13, b = m.enabled === !1 || !m.state), o.$$.dirty & /*tag, screenPosition*/
|
|
439
|
+
129 && i(12, k = !((f = m.state) != null && f.visible) || ((q = m.temporaryState) == null ? void 0 : q.visible) === !1 || !a), o.$$.dirty & /*tag*/
|
|
440
|
+
1 && i(6, s = (A = m.state) == null ? void 0 : A.unfolded), o.$$.dirty & /*screenPosition*/
|
|
512
441
|
128 && i(11, M = (a == null ? void 0 : a.leftPx) + "px"), o.$$.dirty & /*screenPosition*/
|
|
513
442
|
128 && i(10, u = (a == null ? void 0 : a.topPx) + "px"), o.$$.dirty & /*unfolded, tag*/
|
|
514
|
-
65 && i(9, S = s ? ((D =
|
|
443
|
+
65 && i(9, S = s ? ((D = m.zIndex) != null ? D : 0) + (s ? 1e6 : 0) : void 0);
|
|
515
444
|
}, [
|
|
516
|
-
|
|
445
|
+
m,
|
|
517
446
|
c,
|
|
518
447
|
y,
|
|
519
|
-
|
|
448
|
+
p,
|
|
520
449
|
l,
|
|
521
450
|
h,
|
|
522
451
|
s,
|
|
@@ -527,19 +456,19 @@ function at(o, t, i) {
|
|
|
527
456
|
M,
|
|
528
457
|
k,
|
|
529
458
|
b,
|
|
530
|
-
|
|
459
|
+
n,
|
|
531
460
|
r,
|
|
532
461
|
w,
|
|
533
462
|
H
|
|
534
463
|
];
|
|
535
464
|
}
|
|
536
|
-
class
|
|
465
|
+
class Ii extends J {
|
|
537
466
|
constructor(t) {
|
|
538
467
|
super(), K(
|
|
539
468
|
this,
|
|
540
469
|
t,
|
|
541
470
|
at,
|
|
542
|
-
|
|
471
|
+
mt,
|
|
543
472
|
O,
|
|
544
473
|
{
|
|
545
474
|
tag: 0,
|
|
@@ -554,5 +483,5 @@ class Ko extends J {
|
|
|
554
483
|
}
|
|
555
484
|
}
|
|
556
485
|
export {
|
|
557
|
-
|
|
486
|
+
Ii as default
|
|
558
487
|
};
|