@realsee/dnalogel 2.14.0-dev.0 → 2.14.0-dev.1
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/index.cjs.js +18 -18
- package/dist/index.js +87 -85
- package/dist/index.umd.js +15 -15
- package/docs/classes/CSS3DRender.html +4 -4
- package/docs/classes/CruisePluginController.html +4 -4
- package/docs/classes/Magnifier.html +4 -4
- package/docs/classes/ModelRoomLabelController.html +4 -4
- package/docs/classes/Object3DHelperController.html +4 -4
- package/docs/classes/PaintBrush.html +4 -4
- package/docs/classes/PanoMeasurePluginLine.html +4 -4
- package/docs/classes/PanoMeasurePluginModel.html +4 -4
- package/docs/classes/PanoMeasurePluginPoint.html +4 -4
- package/docs/classes/PanoMeasurePluginPolyline.html +4 -4
- package/docs/classes/PanoTagPluginController.html +4 -4
- package/docs/classes/Util.BetterTween.html +4 -4
- package/docs/classes/Util.FivePointSelector.html +4 -4
- package/docs/classes/Util.Interval.html +4 -4
- package/docs/classes/Util.Magnifier.html +4 -4
- package/docs/classes/Util.PointDomHelper.html +4 -4
- package/docs/classes/Util.PointHelper.html +4 -4
- package/docs/classes/Util.Rectangle.html +4 -4
- package/docs/enums/CameraMovementEffect.html +4 -4
- package/docs/enums/ContentType.html +4 -4
- package/docs/enums/DIRECTION.html +4 -4
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +4 -4
- package/docs/enums/DimensionType.html +4 -4
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +4 -4
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +4 -4
- package/docs/enums/PaintBrushTypeEnum.html +4 -4
- package/docs/enums/Rotation.html +4 -4
- package/docs/functions/CSS3DRenderPlugin.html +4 -4
- package/docs/functions/CameraMovementPlugin.html +4 -4
- package/docs/functions/CruisePlugin.html +4 -4
- package/docs/functions/GuideLinePlugin.html +4 -4
- package/docs/functions/ItemLabelPlugin.html +4 -4
- package/docs/functions/MapviewFloorplanPlugin.html +4 -4
- package/docs/functions/ModelChassisCompassPlugin.html +4 -4
- package/docs/functions/ModelEntryDoorGuidePlugin.html +4 -4
- package/docs/functions/ModelFloorplanPlugin.html +4 -4
- package/docs/functions/ModelItemLabelPlugin.html +4 -4
- package/docs/functions/ModelRoomLabelPlugin.html +4 -4
- package/docs/functions/ModelTVVideoPlugin.html +4 -4
- package/docs/functions/ModelViewPlugin.html +4 -4
- package/docs/functions/Object3DHelperPlugin.html +4 -4
- package/docs/functions/PanoCompassPlugin.html +4 -4
- package/docs/functions/PanoCursorRaycasterPlugin.html +4 -4
- package/docs/functions/PanoDoorLabelPlugin.html +4 -4
- package/docs/functions/PanoFloorplanRadarPlugin.html +4 -4
- package/docs/functions/PanoMeasurePlugin.html +4 -4
- package/docs/functions/PanoRulerPlugin.html +4 -4
- package/docs/functions/PanoRulerProPlugin.html +4 -4
- package/docs/functions/PanoSpatialTagPlugin.html +4 -4
- package/docs/functions/PanoTagPlugin.html +4 -4
- package/docs/functions/PanoVideoPlugin.html +4 -4
- package/docs/functions/TopviewFloorplanPlugin.html +4 -4
- package/docs/functions/Util.getCoordsFromClient.html +4 -4
- package/docs/functions/Util.getCoordsFromElement.html +4 -4
- package/docs/functions/Util.getFrameTime.html +4 -4
- package/docs/functions/Util.getIntersectFromRelativePosition.html +4 -4
- package/docs/functions/Util.getRaycasterFromFivePointer.html +4 -4
- package/docs/functions/Util.isNil.html +4 -4
- package/docs/functions/Util.nextFrame.html +4 -4
- package/docs/functions/Util.notNil.html +4 -4
- package/docs/functions/Util.requestAnimationFrameInterval.html +4 -4
- package/docs/functions/Util.tweenProgress.html +4 -4
- package/docs/functions/pluginFlag.html +4 -4
- package/docs/index.html +4 -4
- package/docs/interfaces/AddTagConfig.html +4 -4
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +4 -4
- package/docs/interfaces/CSS3DRenderPluginState.html +4 -4
- package/docs/interfaces/CameraMovementPluginExportType.html +4 -4
- package/docs/interfaces/EventMap.html +4 -4
- package/docs/interfaces/FloorplanBounding.html +4 -4
- package/docs/interfaces/FloorplanData.html +4 -4
- package/docs/interfaces/FloorplanEntrance.html +4 -4
- package/docs/interfaces/FloorplanExtraObject.html +4 -4
- package/docs/interfaces/FloorplanExtraObject3D.html +4 -4
- package/docs/interfaces/FloorplanFloorData.html +4 -4
- package/docs/interfaces/FloorplanImagePosition.html +4 -4
- package/docs/interfaces/FloorplanObserver.html +4 -4
- package/docs/interfaces/FloorplanOutlineItem.html +4 -4
- package/docs/interfaces/FloorplanPosition.html +4 -4
- package/docs/interfaces/FloorplanRoomItem.html +4 -4
- package/docs/interfaces/FloorplanRoomLabelItem.html +4 -4
- package/docs/interfaces/FloorplanServerBounding.html +4 -4
- package/docs/interfaces/FloorplanServerComputedData.html +4 -4
- package/docs/interfaces/FloorplanServerData.html +4 -4
- package/docs/interfaces/FloorplanServerDoorItem.html +4 -4
- package/docs/interfaces/FloorplanServerDoorPosition.html +4 -4
- package/docs/interfaces/FloorplanServerEntrance.html +4 -4
- package/docs/interfaces/FloorplanServerFloorData.html +4 -4
- package/docs/interfaces/FloorplanServerImagePosition.html +4 -4
- package/docs/interfaces/FloorplanServerObserver.html +4 -4
- package/docs/interfaces/FloorplanServerOutlineItem.html +4 -4
- package/docs/interfaces/FloorplanServerPosition.html +4 -4
- package/docs/interfaces/FloorplanServerRoomItem.html +4 -4
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +4 -4
- package/docs/interfaces/HelperOffset.html +4 -4
- package/docs/interfaces/ImagePlaneGroup.html +4 -4
- package/docs/interfaces/ItemLabelPluginData.html +4 -4
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +4 -4
- package/docs/interfaces/ItemLabelPluginParametersType.html +4 -4
- package/docs/interfaces/MinMax.html +4 -4
- package/docs/interfaces/ModelChassisCompassPluginData.html +4 -4
- package/docs/interfaces/ModelChassisCompassPluginExportType.html +4 -4
- package/docs/interfaces/ModelChassisCompassPluginParameterType.html +4 -4
- package/docs/interfaces/ModelEntryDoorGuidePluginData.html +4 -4
- package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +4 -4
- package/docs/interfaces/ModelItemLabelPluginData.html +4 -4
- package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +4 -4
- package/docs/interfaces/ModelItemLabelPluginParametersType.html +4 -4
- package/docs/interfaces/ModelRoomLabelPluginData.html +4 -4
- package/docs/interfaces/ModelTVVideoPluginData.html +4 -4
- package/docs/interfaces/ModelTVVideoPluginExportType.html +4 -4
- package/docs/interfaces/ModelTVVideoPluginParameterType.html +4 -4
- package/docs/interfaces/ModelViewPluginExportType.html +4 -4
- package/docs/interfaces/Object3DHelperState.html +4 -4
- package/docs/interfaces/ObjectHelperControllers.html +4 -4
- package/docs/interfaces/PaintBrushAction.html +4 -4
- package/docs/interfaces/PaintBrushConfigs.html +4 -4
- package/docs/interfaces/PaintBrushState.html +4 -4
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +4 -4
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +4 -4
- package/docs/interfaces/PanoMeasureParameterType.html +4 -4
- package/docs/interfaces/PanoMeasurePluginLineJson.html +4 -4
- package/docs/interfaces/PanoMeasurePluginOpenParameter.html +4 -4
- package/docs/interfaces/PanoMeasurePluginPointJson.html +4 -4
- package/docs/interfaces/PanoMeasurePluginPolylineJson.html +4 -4
- package/docs/interfaces/PanoRulerPluginExportType.html +4 -4
- package/docs/interfaces/PanoRulerPluginOptions.html +4 -4
- package/docs/interfaces/PanoRulerPluginParameterType.html +4 -4
- package/docs/interfaces/PanoRulerProPluginExportType.html +4 -4
- package/docs/interfaces/PanoRulerProPluginOptions.html +4 -4
- package/docs/interfaces/PanoRulerProPluginParameterType.html +4 -4
- package/docs/interfaces/PanoRulerProPluginState.html +4 -4
- package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +4 -4
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +4 -4
- package/docs/interfaces/PanoSpatialTagPluginData.html +4 -4
- package/docs/interfaces/PanoSpatialTagPluginDataElement.html +4 -4
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +4 -4
- package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +4 -4
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +4 -4
- package/docs/interfaces/PanoSpatialTagPluginPointElement.html +4 -4
- package/docs/interfaces/PanoSpatialTagPluginTagElement.html +4 -4
- package/docs/interfaces/PanoVideoPluginType.LoadParams.html +4 -4
- package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +4 -4
- package/docs/interfaces/PanoVideoPluginType.PluginData.html +4 -4
- package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +4 -4
- package/docs/interfaces/PanoVideoPluginType.PluginState.html +4 -4
- package/docs/interfaces/PanoVideoPluginType.VideoItem.html +4 -4
- package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +4 -4
- package/docs/interfaces/Point.html +4 -4
- package/docs/interfaces/Room.html +4 -4
- package/docs/interfaces/RoomInfo.html +4 -4
- package/docs/interfaces/RoomLabel.html +4 -4
- package/docs/interfaces/RoomRules.html +4 -4
- package/docs/interfaces/Rooms.html +4 -4
- package/docs/interfaces/Scissor.html +4 -4
- package/docs/interfaces/State.html +4 -4
- package/docs/interfaces/TagCacheInterface.html +4 -4
- package/docs/interfaces/TagConfig.html +4 -4
- package/docs/interfaces/TagGLTFObjectGroup.html +4 -4
- package/docs/interfaces/TagIconUrl.html +4 -4
- package/docs/interfaces/TagObjectGroup.html +4 -4
- package/docs/interfaces/TagStyle.html +4 -4
- package/docs/interfaces/Tags.html +4 -4
- package/docs/interfaces/TemporaryState.html +4 -4
- package/docs/interfaces/Util.MagnifierParameter.html +4 -4
- package/docs/interfaces/Util.MouseGroupParameter.html +4 -4
- package/docs/modules/PanoVideoPluginType.html +4 -4
- package/docs/modules/Util.html +4 -4
- package/docs/modules.html +4 -4
- package/docs/types/ArrayPosition.html +4 -4
- package/docs/types/AudioAppearance.html +4 -4
- package/docs/types/AudioTagTypeConfigKey.html +4 -4
- package/docs/types/CSS3DRenderExportType.html +4 -4
- package/docs/types/CSS3DRenderPluginExportType.html +4 -4
- package/docs/types/CSS3DRenderPluginParameterType.html +4 -4
- package/docs/types/ClassFunctionParameters.html +4 -4
- package/docs/types/Color.html +4 -4
- package/docs/types/ContentTypeConfigKey.html +4 -4
- package/docs/types/ContentTypeConfigKeySplit.html +4 -4
- package/docs/types/ContentTypeMap.html +4 -4
- package/docs/types/Create3DDomContainerReturnType.html +4 -4
- package/docs/types/Create3DElementReturnType.html +4 -4
- package/docs/types/CruisePluginExportType.html +4 -4
- package/docs/types/Direction-1.html +4 -4
- package/docs/types/Direction4.html +4 -4
- package/docs/types/FloorplanRuleLabels.html +4 -4
- package/docs/types/FloorplanServerRuleLabels.html +4 -4
- package/docs/types/GuideLinePluginExportType.html +4 -4
- package/docs/types/HelperEventMap.html +4 -4
- package/docs/types/LoadTagConfig.html +4 -4
- package/docs/types/MapviewFloorplanPluginParameterType.html +4 -4
- package/docs/types/MapviewFloorplanPluginReturnType.html +4 -4
- package/docs/types/MediaData.html +4 -4
- package/docs/types/MediaStore.html +4 -4
- package/docs/types/ModelElement.html +4 -4
- package/docs/types/ModelEntryDoorGuidePluginParameterType.html +4 -4
- package/docs/types/ModelFloorplanPluginParameterType.html +4 -4
- package/docs/types/ModelFloorplanPluginReturnType.html +4 -4
- package/docs/types/ModelRoomLabelPluginParameters.html +4 -4
- package/docs/types/ModelRoomLabelPluginReturnType.html +4 -4
- package/docs/types/MoveArgs.html +4 -4
- package/docs/types/MoveOpts.html +4 -4
- package/docs/types/Object3DHelperEventMap.html +4 -4
- package/docs/types/ObjectFit.html +4 -4
- package/docs/types/PaintBrushEventMap.html +4 -4
- package/docs/types/PanoCompassPluginData.html +4 -4
- package/docs/types/PanoCompassPluginExportType.html +4 -4
- package/docs/types/PanoCompassPluginParameterType.html +4 -4
- package/docs/types/PanoFloorplanRadarPluginParameterType.html +4 -4
- package/docs/types/PanoFloorplanRadarPluginReturnType.html +4 -4
- package/docs/types/PanoIndex.html +4 -4
- package/docs/types/PanoMeasurePluginEvent.html +4 -4
- package/docs/types/PanoMeasureReturnType.html +4 -4
- package/docs/types/PanoSpatialTagPluginId.html +4 -4
- package/docs/types/PanoTagPluginExportInterface.html +4 -4
- package/docs/types/PanoTagPluginParamsInterface.html +4 -4
- package/docs/types/PanoVideoPluginParameterType.html +4 -4
- package/docs/types/PanoVideoPluginReturnType.html +4 -4
- package/docs/types/PlaneTag.html +4 -4
- package/docs/types/PlaneTagElement.html +4 -4
- package/docs/types/Point2DElement.html +4 -4
- package/docs/types/Point2DTag.html +4 -4
- package/docs/types/Point3DElement.html +4 -4
- package/docs/types/Point3DTag.html +4 -4
- package/docs/types/PointTag.html +4 -4
- package/docs/types/PointTagElement.html +4 -4
- package/docs/types/Position.html +4 -4
- package/docs/types/RotateArgs.html +4 -4
- package/docs/types/RotateOpts.html +4 -4
- package/docs/types/RuleLabelsKey.html +4 -4
- package/docs/types/RuleLabelsValue.html +4 -4
- package/docs/types/StickType.html +4 -4
- package/docs/types/Tag.html +4 -4
- package/docs/types/Tag2D.html +4 -4
- package/docs/types/Tag3D.html +4 -4
- package/docs/types/TagContentType.html +4 -4
- package/docs/types/TagDimensionType.html +4 -4
- package/docs/types/TagElement.html +4 -4
- package/docs/types/TagEvents.html +4 -4
- package/docs/types/TagGLTFObject.html +4 -4
- package/docs/types/TagHooks.html +4 -4
- package/docs/types/TagIconSize.html +4 -4
- package/docs/types/TagId.html +4 -4
- package/docs/types/TopviewFloorplanPluginParameterType.html +4 -4
- package/docs/types/TopviewFloorplanPluginReturnType.html +4 -4
- package/docs/types/WorkCode.html +4 -4
- package/docs/variables/FLOOR_TYPE_MAP.html +4 -4
- package/docs/variables/PLUGIN.html +4 -4
- package/docs/variables/ROOM_FETILE_TYPE_MAP.html +4 -4
- package/docs/variables/ROOM_TYPE_MAP.html +4 -4
- package/docs/variables/itemLabelPluginServerParams.html +4 -4
- package/docs/variables/modelItemLabelPluginServerParams.html +4 -4
- package/docs/variables/modelRoomLabelPluginServerParams.html +4 -4
- package/libs/PanoTagPlugin/controller/TagUtil.js +3 -1
- package/libs/base/BasePlugin.js +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1667,7 +1667,7 @@ function on(i, t) {
|
|
|
1667
1667
|
const e = i.$$.callbacks[t.type];
|
|
1668
1668
|
e && e.slice().forEach((n) => n.call(this, t));
|
|
1669
1669
|
}
|
|
1670
|
-
const pn = [],
|
|
1670
|
+
const pn = [], Oe = [], ni = [], to = [], Na = Promise.resolve();
|
|
1671
1671
|
let no = !1;
|
|
1672
1672
|
function Xa() {
|
|
1673
1673
|
no || (no = !0, Na.then(Ao));
|
|
@@ -1675,7 +1675,7 @@ function Xa() {
|
|
|
1675
1675
|
function Yo() {
|
|
1676
1676
|
return Xa(), Na;
|
|
1677
1677
|
}
|
|
1678
|
-
function
|
|
1678
|
+
function Qe(i) {
|
|
1679
1679
|
ni.push(i);
|
|
1680
1680
|
}
|
|
1681
1681
|
function du(i) {
|
|
@@ -1690,8 +1690,8 @@ function Ao() {
|
|
|
1690
1690
|
const t = pn[_n];
|
|
1691
1691
|
_n++, lt(t), hu(t.$$);
|
|
1692
1692
|
}
|
|
1693
|
-
for (lt(null), pn.length = 0, _n = 0;
|
|
1694
|
-
|
|
1693
|
+
for (lt(null), pn.length = 0, _n = 0; Oe.length; )
|
|
1694
|
+
Oe.pop()();
|
|
1695
1695
|
for (let t = 0; t < ni.length; t += 1) {
|
|
1696
1696
|
const e = ni[t];
|
|
1697
1697
|
Bi.has(e) || (Bi.add(e), e());
|
|
@@ -1706,7 +1706,7 @@ function hu(i) {
|
|
|
1706
1706
|
if (i.fragment !== null) {
|
|
1707
1707
|
i.update(), He(i.before_update);
|
|
1708
1708
|
const t = i.dirty;
|
|
1709
|
-
i.dirty = [-1], i.fragment && i.fragment.p(i.ctx, t), i.after_update.forEach(
|
|
1709
|
+
i.dirty = [-1], i.fragment && i.fragment.p(i.ctx, t), i.after_update.forEach(Qe);
|
|
1710
1710
|
}
|
|
1711
1711
|
}
|
|
1712
1712
|
let cn;
|
|
@@ -1753,7 +1753,7 @@ function Tt(i, t, e) {
|
|
|
1753
1753
|
const { delay: d = 0, duration: h = 300, easing: f = At, tick: v = N, css: g } = n || Ua;
|
|
1754
1754
|
g && (s = Ga(i, 0, 1, h, d, f, g, a++)), v(0, 1);
|
|
1755
1755
|
const p = Va() + d, A = p + h;
|
|
1756
|
-
r && r.abort(), o = !0,
|
|
1756
|
+
r && r.abort(), o = !0, Qe(() => ci(i, !0, "start")), r = Qa((b) => {
|
|
1757
1757
|
if (o) {
|
|
1758
1758
|
if (b >= A)
|
|
1759
1759
|
return v(1, 0), ci(i, !0, "end"), l(), o = !1;
|
|
@@ -1786,7 +1786,7 @@ function sn(i, t, e) {
|
|
|
1786
1786
|
const { delay: l = 0, duration: c = 300, easing: u = At, tick: d = N, css: h } = n || Ua;
|
|
1787
1787
|
h && (s = Ga(i, 1, 0, c, l, u, h));
|
|
1788
1788
|
const f = Va() + l, v = f + c;
|
|
1789
|
-
|
|
1789
|
+
Qe(() => ci(i, !1, "start")), Qa((g) => {
|
|
1790
1790
|
if (o) {
|
|
1791
1791
|
if (g >= v)
|
|
1792
1792
|
return d(0, 1), ci(i, !1, "end"), --r.r || He(r.c), !1;
|
|
@@ -1877,7 +1877,7 @@ function Ke(i, t, e, n, o, s, r, a, l, c, u, d) {
|
|
|
1877
1877
|
L(p[f - 1]);
|
|
1878
1878
|
return p;
|
|
1879
1879
|
}
|
|
1880
|
-
function
|
|
1880
|
+
function Re(i, t) {
|
|
1881
1881
|
const e = {}, n = {}, o = { $$scope: 1 };
|
|
1882
1882
|
let s = i.length;
|
|
1883
1883
|
for (; s--; ) {
|
|
@@ -1908,10 +1908,10 @@ function K(i) {
|
|
|
1908
1908
|
}
|
|
1909
1909
|
function J(i, t, e, n) {
|
|
1910
1910
|
const { fragment: o, after_update: s } = i.$$;
|
|
1911
|
-
o && o.m(t, e), n ||
|
|
1911
|
+
o && o.m(t, e), n || Qe(() => {
|
|
1912
1912
|
const r = i.$$.on_mount.map(za).filter(Kt);
|
|
1913
1913
|
i.$$.on_destroy ? i.$$.on_destroy.push(...r) : He(r), i.$$.on_mount = [];
|
|
1914
|
-
}), s.forEach(
|
|
1914
|
+
}), s.forEach(Qe);
|
|
1915
1915
|
}
|
|
1916
1916
|
function Z(i, t) {
|
|
1917
1917
|
const e = i.$$;
|
|
@@ -3196,7 +3196,7 @@ function ns(i, t) {
|
|
|
3196
3196
|
},
|
|
3197
3197
|
p(a, l) {
|
|
3198
3198
|
t = a;
|
|
3199
|
-
const c = l & 447 ?
|
|
3199
|
+
const c = l & 447 ? Re(s, [
|
|
3200
3200
|
{
|
|
3201
3201
|
pxmm: t[7],
|
|
3202
3202
|
room: t[12],
|
|
@@ -3456,7 +3456,7 @@ function ls(i, t) {
|
|
|
3456
3456
|
},
|
|
3457
3457
|
p(a, l) {
|
|
3458
3458
|
t = a;
|
|
3459
|
-
const c = l & 19 ?
|
|
3459
|
+
const c = l & 19 ? Re(s, [
|
|
3460
3460
|
{
|
|
3461
3461
|
type: t[13],
|
|
3462
3462
|
data: t[14],
|
|
@@ -3966,7 +3966,7 @@ function ms(i, t) {
|
|
|
3966
3966
|
},
|
|
3967
3967
|
p(a, l) {
|
|
3968
3968
|
t = a;
|
|
3969
|
-
const c = l & 15 ?
|
|
3969
|
+
const c = l & 15 ? Re(s, [
|
|
3970
3970
|
{
|
|
3971
3971
|
room: t[6],
|
|
3972
3972
|
floorplanData: t[1],
|
|
@@ -4086,7 +4086,7 @@ function ps(i) {
|
|
|
4086
4086
|
J(t, s, r), e = !0;
|
|
4087
4087
|
},
|
|
4088
4088
|
p(s, r) {
|
|
4089
|
-
const a = r & 24834 ?
|
|
4089
|
+
const a = r & 24834 ? Re(n, [
|
|
4090
4090
|
{
|
|
4091
4091
|
floorIndex: s[1],
|
|
4092
4092
|
floorplanData: s[8],
|
|
@@ -4132,7 +4132,7 @@ function gs(i) {
|
|
|
4132
4132
|
J(t, s, r), e = !0;
|
|
4133
4133
|
},
|
|
4134
4134
|
p(s, r) {
|
|
4135
|
-
const a = r & 22370 ?
|
|
4135
|
+
const a = r & 22370 ? Re(n, [
|
|
4136
4136
|
{
|
|
4137
4137
|
floorplanData: s[8],
|
|
4138
4138
|
roomAreaEnable: s[5],
|
|
@@ -4177,7 +4177,7 @@ function As(i) {
|
|
|
4177
4177
|
J(t, s, r), e = !0;
|
|
4178
4178
|
},
|
|
4179
4179
|
p(s, r) {
|
|
4180
|
-
const a = r & 2306 ?
|
|
4180
|
+
const a = r & 2306 ? Re(n, [
|
|
4181
4181
|
{
|
|
4182
4182
|
floorplanData: s[8],
|
|
4183
4183
|
floorIndex: s[1],
|
|
@@ -4229,7 +4229,7 @@ function fh(i) {
|
|
|
4229
4229
|
M(A, t, b), J(e, t, null), j(t, n), h && h.m(t, null), j(t, o), J(s, t, null), j(t, r), g && g.m(t, null), j(t, a), p && p.m(t, null), c = !0;
|
|
4230
4230
|
},
|
|
4231
4231
|
p(A, [b]) {
|
|
4232
|
-
const w = b & 258 ?
|
|
4232
|
+
const w = b & 258 ? Re(u, [
|
|
4233
4233
|
{
|
|
4234
4234
|
floorIndex: A[1],
|
|
4235
4235
|
floorplanData: A[8]
|
|
@@ -4238,7 +4238,7 @@ function fh(i) {
|
|
|
4238
4238
|
e.$set(w), A[2] || A[3] ? h ? (h.p(A, b), b & 12 && C(h, 1)) : (h = ps(A), h.c(), C(h, 1), h.m(t, o)) : h && (se(), x(h, 1, 1, () => {
|
|
4239
4239
|
h = null;
|
|
4240
4240
|
}), re());
|
|
4241
|
-
const E = b & 258 ?
|
|
4241
|
+
const E = b & 258 ? Re(f, [
|
|
4242
4242
|
{
|
|
4243
4243
|
floorplanData: A[8],
|
|
4244
4244
|
floorIndex: A[1]
|
|
@@ -4362,7 +4362,7 @@ function bs(i) {
|
|
|
4362
4362
|
if (!s) {
|
|
4363
4363
|
for (let h = 0; h < r.length; h += 1)
|
|
4364
4364
|
C(a[h]);
|
|
4365
|
-
C(c), C(u), o ||
|
|
4365
|
+
C(c), C(u), o || Qe(() => {
|
|
4366
4366
|
o = Tt(t, St, {
|
|
4367
4367
|
duration: i[0],
|
|
4368
4368
|
easing: At
|
|
@@ -4416,7 +4416,7 @@ function ys(i) {
|
|
|
4416
4416
|
J(t, s, r), e = !0;
|
|
4417
4417
|
},
|
|
4418
4418
|
p(s, r) {
|
|
4419
|
-
const a = r & 2047696 ?
|
|
4419
|
+
const a = r & 2047696 ? Re(n, [
|
|
4420
4420
|
r & 2047680 && {
|
|
4421
4421
|
hoverEnable: s[6],
|
|
4422
4422
|
highlightEnable: s[7],
|
|
@@ -4472,7 +4472,7 @@ function ws(i) {
|
|
|
4472
4472
|
J(t, s, r), e = !0;
|
|
4473
4473
|
},
|
|
4474
4474
|
p(s, r) {
|
|
4475
|
-
const a = r & 57352 ?
|
|
4475
|
+
const a = r & 57352 ? Re(n, [
|
|
4476
4476
|
{
|
|
4477
4477
|
panoIndex: s[3],
|
|
4478
4478
|
floorplanData: s[13],
|
|
@@ -4718,7 +4718,7 @@ function Co(i, t, e, n) {
|
|
|
4718
4718
|
}
|
|
4719
4719
|
class zn {
|
|
4720
4720
|
constructor(t, e) {
|
|
4721
|
-
m(this, "VERSION", "2.14.0-dev.
|
|
4721
|
+
m(this, "VERSION", "2.14.0-dev.1");
|
|
4722
4722
|
m(this, "five");
|
|
4723
4723
|
m(this, "hooks", new Zt());
|
|
4724
4724
|
m(this, "staticPrefix", "//vrlab-static.ljcdn.com");
|
|
@@ -5786,7 +5786,7 @@ function ks(i) {
|
|
|
5786
5786
|
J(t, s, r), e = !0;
|
|
5787
5787
|
},
|
|
5788
5788
|
p(s, r) {
|
|
5789
|
-
const a = r & 87 ?
|
|
5789
|
+
const a = r & 87 ? Re(n, [
|
|
5790
5790
|
{
|
|
5791
5791
|
five: s[0],
|
|
5792
5792
|
pxmm: s[1],
|
|
@@ -5833,7 +5833,7 @@ function _h(i) {
|
|
|
5833
5833
|
J(t, u, d), M(u, e, d), J(n, u, d), M(u, o, d), c && c.m(u, d), M(u, s, d), r = !0;
|
|
5834
5834
|
},
|
|
5835
5835
|
p(u, [d]) {
|
|
5836
|
-
const h = d & 20 ?
|
|
5836
|
+
const h = d & 20 ? Re(a, [
|
|
5837
5837
|
{
|
|
5838
5838
|
floorIndex: u[2],
|
|
5839
5839
|
floorplanData: u[4]
|
|
@@ -5953,7 +5953,7 @@ function Ds(i) {
|
|
|
5953
5953
|
M(h, t, f), J(e, t, null), j(t, n), J(o, t, null), a = !0;
|
|
5954
5954
|
},
|
|
5955
5955
|
p(h, f) {
|
|
5956
|
-
const v = f & 1581 ?
|
|
5956
|
+
const v = f & 1581 ? Re(l, [
|
|
5957
5957
|
{
|
|
5958
5958
|
five: h[0],
|
|
5959
5959
|
pxmm: h[9],
|
|
@@ -5964,7 +5964,7 @@ function Ds(i) {
|
|
|
5964
5964
|
}
|
|
5965
5965
|
]) : {};
|
|
5966
5966
|
e.$set(v);
|
|
5967
|
-
const g = f & 537 ?
|
|
5967
|
+
const g = f & 537 ? Re(u, [
|
|
5968
5968
|
{
|
|
5969
5969
|
pxmm: h[9],
|
|
5970
5970
|
five: h[0],
|
|
@@ -7004,7 +7004,7 @@ function pf(i) {
|
|
|
7004
7004
|
let v = f(i), g = v(i);
|
|
7005
7005
|
return {
|
|
7006
7006
|
c() {
|
|
7007
|
-
t = z("div"), g.c(), e = $(), n = z("div"), o = z("div"), r = Ie(s), y(o, "class", "PanoRulerPlugin-rule-label-name svelte-1h27ktp"),
|
|
7007
|
+
t = z("div"), g.c(), e = $(), n = z("div"), o = z("div"), r = Ie(s), y(o, "class", "PanoRulerPlugin-rule-label-name svelte-1h27ktp"), Qe(() => i[4].call(o)), y(n, "class", "PanoRulerPlugin-rule-label svelte-1h27ktp"), T(n, "left", l), y(t, "class", "PanoRulerPlugin-rule-line svelte-1h27ktp"), T(t, "width", c), T(t, "left", u), T(t, "top", d), T(t, "transform", h), T(t, "display", i[0].visible && i[2] ? "block" : "none");
|
|
7008
7008
|
},
|
|
7009
7009
|
m(p, A) {
|
|
7010
7010
|
M(p, t, A), g.m(t, null), j(t, e), j(t, n), j(n, o), j(o, r), a = bi(o, i[4].bind(o));
|
|
@@ -9545,7 +9545,7 @@ function Dm(i, t, e) {
|
|
|
9545
9545
|
f.emit("destroyTag", { id: n }), E(), d();
|
|
9546
9546
|
});
|
|
9547
9547
|
function L(P) {
|
|
9548
|
-
|
|
9548
|
+
Oe[P ? "unshift" : "push"](() => {
|
|
9549
9549
|
p = P, e(9, p);
|
|
9550
9550
|
});
|
|
9551
9551
|
}
|
|
@@ -9609,7 +9609,7 @@ const Sm = {
|
|
|
9609
9609
|
">": ">",
|
|
9610
9610
|
'"': """,
|
|
9611
9611
|
"'": "'"
|
|
9612
|
-
},
|
|
9612
|
+
}, Fe = {
|
|
9613
9613
|
EVAL: "eval",
|
|
9614
9614
|
ESCAPED: "escaped",
|
|
9615
9615
|
RAW: "raw",
|
|
@@ -9679,56 +9679,56 @@ class Bm {
|
|
|
9679
9679
|
`).length - 1, t) {
|
|
9680
9680
|
case n + e:
|
|
9681
9681
|
case n + e + "_":
|
|
9682
|
-
this.mode =
|
|
9682
|
+
this.mode = Fe.EVAL;
|
|
9683
9683
|
break;
|
|
9684
9684
|
case n + e + "=":
|
|
9685
|
-
this.mode =
|
|
9685
|
+
this.mode = Fe.ESCAPED;
|
|
9686
9686
|
break;
|
|
9687
9687
|
case n + e + "-":
|
|
9688
|
-
this.mode =
|
|
9688
|
+
this.mode = Fe.RAW;
|
|
9689
9689
|
break;
|
|
9690
9690
|
case n + e + "#":
|
|
9691
|
-
this.mode =
|
|
9691
|
+
this.mode = Fe.COMMENT;
|
|
9692
9692
|
break;
|
|
9693
9693
|
case n + e + e:
|
|
9694
|
-
this.mode =
|
|
9694
|
+
this.mode = Fe.LITERAL, this.source += ' ; __append("' + t.replace(n + e + e, n + e) + `")
|
|
9695
9695
|
`;
|
|
9696
9696
|
break;
|
|
9697
9697
|
case e + e + o:
|
|
9698
|
-
this.mode =
|
|
9698
|
+
this.mode = Fe.LITERAL, this.source += ' ; __append("' + t.replace(e + e + o, e + o) + `")
|
|
9699
9699
|
`;
|
|
9700
9700
|
break;
|
|
9701
9701
|
case e + o:
|
|
9702
9702
|
case "-" + e + o:
|
|
9703
9703
|
case "_" + e + o:
|
|
9704
|
-
this.mode ==
|
|
9704
|
+
this.mode == Fe.LITERAL && this._addOutput(t), this.mode = null, this.truncate = t.indexOf("-") === 0 || t.indexOf("_") === 0;
|
|
9705
9705
|
break;
|
|
9706
9706
|
default:
|
|
9707
9707
|
if (this.mode) {
|
|
9708
9708
|
switch (this.mode) {
|
|
9709
|
-
case
|
|
9710
|
-
case
|
|
9711
|
-
case
|
|
9709
|
+
case Fe.EVAL:
|
|
9710
|
+
case Fe.ESCAPED:
|
|
9711
|
+
case Fe.RAW:
|
|
9712
9712
|
t.lastIndexOf("//") > t.lastIndexOf(`
|
|
9713
9713
|
`) && (t += `
|
|
9714
9714
|
`);
|
|
9715
9715
|
}
|
|
9716
9716
|
switch (this.mode) {
|
|
9717
|
-
case
|
|
9717
|
+
case Fe.EVAL:
|
|
9718
9718
|
this.source += " ; " + t + `
|
|
9719
9719
|
`;
|
|
9720
9720
|
break;
|
|
9721
|
-
case
|
|
9721
|
+
case Fe.ESCAPED:
|
|
9722
9722
|
this.source += " ; __append(escapeFn(" + Ys(t) + `))
|
|
9723
9723
|
`;
|
|
9724
9724
|
break;
|
|
9725
|
-
case
|
|
9725
|
+
case Fe.RAW:
|
|
9726
9726
|
this.source += " ; __append(" + Ys(t) + `)
|
|
9727
9727
|
`;
|
|
9728
9728
|
break;
|
|
9729
|
-
case
|
|
9729
|
+
case Fe.COMMENT:
|
|
9730
9730
|
break;
|
|
9731
|
-
case
|
|
9731
|
+
case Fe.LITERAL:
|
|
9732
9732
|
this._addOutput(t);
|
|
9733
9733
|
break;
|
|
9734
9734
|
}
|
|
@@ -10071,7 +10071,7 @@ function Hm(i) {
|
|
|
10071
10071
|
t = z("div");
|
|
10072
10072
|
for (let l = 0; l < e.length; l += 1)
|
|
10073
10073
|
e[l].c();
|
|
10074
|
-
y(t, "class", "item-labels-container svelte-gk8s47"),
|
|
10074
|
+
y(t, "class", "item-labels-container svelte-gk8s47"), Qe(() => i[9].call(t)), T(t, "opacity", i[4] ? 1 : 0);
|
|
10075
10075
|
},
|
|
10076
10076
|
m(l, c) {
|
|
10077
10077
|
M(l, t, c);
|
|
@@ -10537,7 +10537,7 @@ function Zm(i, t, e) {
|
|
|
10537
10537
|
}
|
|
10538
10538
|
let l;
|
|
10539
10539
|
function c(d) {
|
|
10540
|
-
|
|
10540
|
+
Oe[d ? "unshift" : "push"](() => {
|
|
10541
10541
|
l = d, e(3, l);
|
|
10542
10542
|
});
|
|
10543
10543
|
}
|
|
@@ -10681,7 +10681,7 @@ function ip(i) {
|
|
|
10681
10681
|
t = z("div");
|
|
10682
10682
|
for (let l = 0; l < e.length; l += 1)
|
|
10683
10683
|
e[l].c();
|
|
10684
|
-
y(t, "class", "item-labels-container svelte-gk8s47"),
|
|
10684
|
+
y(t, "class", "item-labels-container svelte-gk8s47"), Qe(() => i[12].call(t)), T(t, "opacity", i[5] ? 1 : 0);
|
|
10685
10685
|
},
|
|
10686
10686
|
m(l, c) {
|
|
10687
10687
|
M(l, t, c);
|
|
@@ -11007,7 +11007,7 @@ function hp(i, t, e) {
|
|
|
11007
11007
|
o && o();
|
|
11008
11008
|
};
|
|
11009
11009
|
function g(p) {
|
|
11010
|
-
|
|
11010
|
+
Oe[p ? "unshift" : "push"](() => {
|
|
11011
11011
|
s = p, e(2, s);
|
|
11012
11012
|
});
|
|
11013
11013
|
}
|
|
@@ -11981,7 +11981,7 @@ function Rp(i) {
|
|
|
11981
11981
|
function Fp(i) {
|
|
11982
11982
|
return i.stickType === "3DPoint" || i.stickType === "Plane";
|
|
11983
11983
|
}
|
|
11984
|
-
function
|
|
11984
|
+
function Ve(i) {
|
|
11985
11985
|
return i.stickType === "Model" && i.contentType === "MediaModel";
|
|
11986
11986
|
}
|
|
11987
11987
|
function Hp(i) {
|
|
@@ -11996,7 +11996,7 @@ function Ai(i) {
|
|
|
11996
11996
|
return Pn(i);
|
|
11997
11997
|
}
|
|
11998
11998
|
function Gp(i) {
|
|
11999
|
-
if (
|
|
11999
|
+
if (Ve(i) && i.matrix) {
|
|
12000
12000
|
const t = new fn().fromArray(i.matrix), e = i.data.mediaPosition.map((n) => new U().fromArray(n).applyMatrix4(t));
|
|
12001
12001
|
return Mn(e[0], e[2]);
|
|
12002
12002
|
} else
|
|
@@ -12824,7 +12824,7 @@ class hg extends ug {
|
|
|
12824
12824
|
return !1;
|
|
12825
12825
|
}
|
|
12826
12826
|
if (e === "renderByMesh")
|
|
12827
|
-
if (Hp(o) ||
|
|
12827
|
+
if (Hp(o) || Ve(o)) {
|
|
12828
12828
|
const r = o.data.mediaData;
|
|
12829
12829
|
return r.length === 1 && r[0].type === "Image" && s.renderType === "Mesh";
|
|
12830
12830
|
} else
|
|
@@ -12875,7 +12875,7 @@ class hg extends ug {
|
|
|
12875
12875
|
getPositions(e) {
|
|
12876
12876
|
if (Rp(e))
|
|
12877
12877
|
return e.position;
|
|
12878
|
-
if (
|
|
12878
|
+
if (Ve(e))
|
|
12879
12879
|
return e.data.mediaPosition;
|
|
12880
12880
|
const n = e;
|
|
12881
12881
|
return _p(
|
|
@@ -12888,7 +12888,9 @@ class hg extends ug {
|
|
|
12888
12888
|
if (!n || !this.domEvents)
|
|
12889
12889
|
return () => {
|
|
12890
12890
|
};
|
|
12891
|
-
const s = !e.mediaVisible || !e.state.visible || !this.state.visible
|
|
12891
|
+
const s = Ve(e) && !e.mediaVisible || !e.state.visible || !this.state.visible;
|
|
12892
|
+
console.log({ doNoting: s });
|
|
12893
|
+
const r = (u) => {
|
|
12892
12894
|
if (s) {
|
|
12893
12895
|
this.mouseInfo = void 0;
|
|
12894
12896
|
return;
|
|
@@ -12974,7 +12976,7 @@ class fg extends hg {
|
|
|
12974
12976
|
getVisibleByPanoIndex(e, n) {
|
|
12975
12977
|
var r;
|
|
12976
12978
|
const o = this.getCache({ panoIndex: n, id: e.id }), s = (r = this.five.panoIndex) != null ? r : n;
|
|
12977
|
-
if (
|
|
12979
|
+
if (Ve(e))
|
|
12978
12980
|
return !0;
|
|
12979
12981
|
if (o.visible !== void 0)
|
|
12980
12982
|
return o.visible;
|
|
@@ -13052,7 +13054,7 @@ class fg extends hg {
|
|
|
13052
13054
|
return (n = this.state.visible && e.state.visible) != null ? n : !0;
|
|
13053
13055
|
}
|
|
13054
13056
|
getVisible(e) {
|
|
13055
|
-
const n = this.five.getCurrentState(), o = this.getVisibleByFiveMode(e, n.mode), s =
|
|
13057
|
+
const n = this.five.getCurrentState(), o = this.getVisibleByFiveMode(e, n.mode), s = Ve(e) ? this.getVisibleByFloorIndex(e) : !0, r = n.mode === "Panorama" ? this.getVisibleByPanoIndex(e, n.panoIndex) : !0;
|
|
13056
13058
|
return o && r && s;
|
|
13057
13059
|
}
|
|
13058
13060
|
getModelMedialVisibleByPanoIndex(e) {
|
|
@@ -13164,7 +13166,7 @@ class fg extends hg {
|
|
|
13164
13166
|
const e = this.five.getCurrentState().mode;
|
|
13165
13167
|
this.tags.forEach((n) => {
|
|
13166
13168
|
var s;
|
|
13167
|
-
if (!
|
|
13169
|
+
if (!Ve(n))
|
|
13168
13170
|
return;
|
|
13169
13171
|
if (!((s = n.model) != null && s.object)) {
|
|
13170
13172
|
n.mediaVisible = !1;
|
|
@@ -13196,9 +13198,9 @@ class fg extends hg {
|
|
|
13196
13198
|
getTagEnableByIntersect(e, n) {
|
|
13197
13199
|
var u, d, h;
|
|
13198
13200
|
const o = (u = this.getTagConfig(e).visibleConfig) != null ? u : {}, s = this.getDistance(e), [r] = this.five.model.intersectRaycaster(n), a = (() => {
|
|
13199
|
-
if (!
|
|
13201
|
+
if (!Ve(e))
|
|
13200
13202
|
return;
|
|
13201
|
-
const f = this.tags.filter(
|
|
13203
|
+
const f = this.tags.filter(Ve).map((g) => {
|
|
13202
13204
|
var p;
|
|
13203
13205
|
return (p = g.model) == null ? void 0 : p.object;
|
|
13204
13206
|
}).filter(wt);
|
|
@@ -13260,7 +13262,7 @@ function hr(i) {
|
|
|
13260
13262
|
i = r, (!s || a & 48 && e !== (e = i[4] ? `url(#${i[10]})` : i[5])) && y(t, "stroke", e), (!s || a & 64) && y(t, "d", i[6]);
|
|
13261
13263
|
},
|
|
13262
13264
|
i(r) {
|
|
13263
|
-
s || (r &&
|
|
13265
|
+
s || (r && Qe(() => {
|
|
13264
13266
|
o && o.end(1), n = Tt(t, pi, {
|
|
13265
13267
|
duration: i[2],
|
|
13266
13268
|
delay: i[0],
|
|
@@ -13374,7 +13376,7 @@ function fr(i) {
|
|
|
13374
13376
|
`)) && y(t, "style", e), a & 8 && T(t, "width", Ne(i[3])), a & 16 && T(t, "height", Ne(i[4])), a & 8192 && T(t, "z-index", i[13]);
|
|
13375
13377
|
},
|
|
13376
13378
|
i(r) {
|
|
13377
|
-
s || (r &&
|
|
13379
|
+
s || (r && Qe(() => {
|
|
13378
13380
|
o && o.end(1), n = Tt(t, St, { duration: i[0] }), n.start();
|
|
13379
13381
|
}), s = !0);
|
|
13380
13382
|
},
|
|
@@ -13607,12 +13609,12 @@ function Ig(i, t, e) {
|
|
|
13607
13609
|
}), a && f.seek(f.duration);
|
|
13608
13610
|
}
|
|
13609
13611
|
function w(L, P) {
|
|
13610
|
-
|
|
13612
|
+
Oe[L ? "unshift" : "push"](() => {
|
|
13611
13613
|
v[P] = L, e(1, v);
|
|
13612
13614
|
});
|
|
13613
13615
|
}
|
|
13614
13616
|
function E(L, P) {
|
|
13615
|
-
|
|
13617
|
+
Oe[L ? "unshift" : "push"](() => {
|
|
13616
13618
|
v[P] = L, e(1, v);
|
|
13617
13619
|
});
|
|
13618
13620
|
}
|
|
@@ -13675,7 +13677,7 @@ function gr(i) {
|
|
|
13675
13677
|
i = d, (!l || h & 1 && s !== (s = "arrow " + i[0] + " svelte-1ogmlqq")) && y(o, "class", s);
|
|
13676
13678
|
},
|
|
13677
13679
|
i(d) {
|
|
13678
|
-
l || (C(e.$$.fragment, d), d &&
|
|
13680
|
+
l || (C(e.$$.fragment, d), d && Qe(() => {
|
|
13679
13681
|
a && a.end(1), r = Tt(o, St, {
|
|
13680
13682
|
duration: i[2],
|
|
13681
13683
|
delay: i[3],
|
|
@@ -13852,7 +13854,7 @@ function Vg(i) {
|
|
|
13852
13854
|
function Og(i, t, e) {
|
|
13853
13855
|
let n, o, s, { visible: r = !1 } = t, { textUnfolded: a = !1 } = t, { content: l } = t, c, u = 0, d = 0, h = 0;
|
|
13854
13856
|
function f(v) {
|
|
13855
|
-
|
|
13857
|
+
Oe[v ? "unshift" : "push"](() => {
|
|
13856
13858
|
c = v, e(2, c);
|
|
13857
13859
|
});
|
|
13858
13860
|
}
|
|
@@ -14396,7 +14398,7 @@ function Pr(i) {
|
|
|
14396
14398
|
i = s;
|
|
14397
14399
|
},
|
|
14398
14400
|
i(s) {
|
|
14399
|
-
o || (s &&
|
|
14401
|
+
o || (s && Qe(() => {
|
|
14400
14402
|
n && n.end(1), e = Tt(t, pi, {
|
|
14401
14403
|
duration: i[1],
|
|
14402
14404
|
delay: i[0],
|
|
@@ -15788,12 +15790,12 @@ function bA(i, t, e) {
|
|
|
15788
15790
|
}
|
|
15789
15791
|
const Ue = () => G / 3;
|
|
15790
15792
|
function rt(te) {
|
|
15791
|
-
|
|
15793
|
+
Oe[te ? "unshift" : "push"](() => {
|
|
15792
15794
|
Y = te, e(13, Y);
|
|
15793
15795
|
});
|
|
15794
15796
|
}
|
|
15795
15797
|
function ye(te) {
|
|
15796
|
-
|
|
15798
|
+
Oe[te ? "unshift" : "push"](() => {
|
|
15797
15799
|
ee = te, e(12, ee);
|
|
15798
15800
|
});
|
|
15799
15801
|
}
|
|
@@ -16041,7 +16043,7 @@ function xA(i, t, e) {
|
|
|
16041
16043
|
n && n.pause();
|
|
16042
16044
|
};
|
|
16043
16045
|
function P(V) {
|
|
16044
|
-
|
|
16046
|
+
Oe[V ? "unshift" : "push"](() => {
|
|
16045
16047
|
s.videoInstance = V, e(0, s);
|
|
16046
16048
|
});
|
|
16047
16049
|
}
|
|
@@ -16128,7 +16130,7 @@ function Wr(i) {
|
|
|
16128
16130
|
}), re(), o = c[n], o ? o.p(i, h) : (o = c[n] = l[n](i), o.c()), C(o, 1), o.m(e, null)), (!a || h & 8192) && q(e, "carouselEnabled", i[13]), (!a || h & 32) && q(t, "unfolded", i[5]);
|
|
16129
16131
|
},
|
|
16130
16132
|
i(d) {
|
|
16131
|
-
a || (C(o), d &&
|
|
16133
|
+
a || (C(o), d && Qe(() => {
|
|
16132
16134
|
r && r.end(1), s = Tt(t, Zo, i[6] ? {
|
|
16133
16135
|
y: 4,
|
|
16134
16136
|
duration: i[4],
|
|
@@ -16168,7 +16170,7 @@ function LA(i) {
|
|
|
16168
16170
|
J(t, s, r), e = !0;
|
|
16169
16171
|
},
|
|
16170
16172
|
p(s, r) {
|
|
16171
|
-
const a = r & 131 ?
|
|
16173
|
+
const a = r & 131 ? Re(n, [
|
|
16172
16174
|
r & 2 && { media: s[1][0] },
|
|
16173
16175
|
r & 128 && Ja(s[7]),
|
|
16174
16176
|
r & 1 && { tag: s[0] }
|
|
@@ -16228,7 +16230,7 @@ function _r(i) {
|
|
|
16228
16230
|
let r = {};
|
|
16229
16231
|
for (let a = 0; a < o.length; a += 1)
|
|
16230
16232
|
r = ze(r, o[a]);
|
|
16231
|
-
return i[8][i[26]] !== void 0 && (r.mediaInstance = i[8][i[26]]), t = new Wl({ props: r }),
|
|
16233
|
+
return i[8][i[26]] !== void 0 && (r.mediaInstance = i[8][i[26]]), t = new Wl({ props: r }), Oe.push(() => mu(t, "mediaInstance", s)), {
|
|
16232
16234
|
c() {
|
|
16233
16235
|
K(t.$$.fragment);
|
|
16234
16236
|
},
|
|
@@ -16237,7 +16239,7 @@ function _r(i) {
|
|
|
16237
16239
|
},
|
|
16238
16240
|
p(a, l) {
|
|
16239
16241
|
i = a;
|
|
16240
|
-
const c = l & 1153 ?
|
|
16242
|
+
const c = l & 1153 ? Re(o, [
|
|
16241
16243
|
l & 128 && Ja(i[7]),
|
|
16242
16244
|
l & 1024 && { media: i[24] },
|
|
16243
16245
|
l & 1 && { tag: i[0] }
|
|
@@ -16351,7 +16353,7 @@ function zA(i, t, e) {
|
|
|
16351
16353
|
i.$$.not_equal(A[F], O) && (A[F] = O, e(8, A));
|
|
16352
16354
|
}
|
|
16353
16355
|
function V(O) {
|
|
16354
|
-
|
|
16356
|
+
Oe[O ? "unshift" : "push"](() => {
|
|
16355
16357
|
w = O, e(12, w);
|
|
16356
16358
|
});
|
|
16357
16359
|
}
|
|
@@ -16609,7 +16611,7 @@ function Zr(i) {
|
|
|
16609
16611
|
n = $();
|
|
16610
16612
|
for (let c = 0; c < l.length; c += 1)
|
|
16611
16613
|
l[c].c();
|
|
16612
|
-
y(e, "class", "tags svelte-sezqcq"),
|
|
16614
|
+
y(e, "class", "tags svelte-sezqcq"), Qe(() => i[11].call(e)), y(t, "class", "tags-wrapper svelte-sezqcq");
|
|
16613
16615
|
},
|
|
16614
16616
|
m(c, u) {
|
|
16615
16617
|
M(c, t, u), j(t, e);
|
|
@@ -17103,12 +17105,12 @@ function YA(i) {
|
|
|
17103
17105
|
function UA(i, t, e) {
|
|
17104
17106
|
let n, { playing: o } = t, { shadow: s = !1 } = t, { style: r = null } = t, { width: a = "100%" } = t, l, c;
|
|
17105
17107
|
function u(h) {
|
|
17106
|
-
|
|
17108
|
+
Oe[h ? "unshift" : "push"](() => {
|
|
17107
17109
|
c = h, e(4, c);
|
|
17108
17110
|
});
|
|
17109
17111
|
}
|
|
17110
17112
|
function d(h) {
|
|
17111
|
-
|
|
17113
|
+
Oe[h ? "unshift" : "push"](() => {
|
|
17112
17114
|
l = h, e(3, l);
|
|
17113
17115
|
});
|
|
17114
17116
|
}
|
|
@@ -17238,7 +17240,7 @@ function la(i) {
|
|
|
17238
17240
|
c & 64 && (u.enable = i[6]), c & 1 && (u.url = i[0].data.audioUrl), c & 1 && (u.hooksInfo = { tag: i[0] }), c & 8196 && (u.$$scope = { dirty: c, ctx: i }), o.$set(u);
|
|
17239
17241
|
},
|
|
17240
17242
|
i(l) {
|
|
17241
|
-
a || (C(e.$$.fragment, l), C(o.$$.fragment, l), l &&
|
|
17243
|
+
a || (C(e.$$.fragment, l), C(o.$$.fragment, l), l && Qe(() => {
|
|
17242
17244
|
r && r.end(1), s = Tt(t, St, {
|
|
17243
17245
|
duration: 1e3,
|
|
17244
17246
|
delay: 0,
|
|
@@ -18175,7 +18177,7 @@ function Bv(i, t, e) {
|
|
|
18175
18177
|
s == null || s();
|
|
18176
18178
|
});
|
|
18177
18179
|
function r(a) {
|
|
18178
|
-
|
|
18180
|
+
Oe[a ? "unshift" : "push"](() => {
|
|
18179
18181
|
o = a, e(1, o);
|
|
18180
18182
|
});
|
|
18181
18183
|
}
|
|
@@ -18471,7 +18473,7 @@ function Yv(i, t, e) {
|
|
|
18471
18473
|
}
|
|
18472
18474
|
function b(E, L, P) {
|
|
18473
18475
|
var D, k;
|
|
18474
|
-
return !(!L.visible || !L.enabled || !P.visible || !((D = E.state) != null && D.visible) || ((k = E.temporaryState) == null ? void 0 : k.visible) === !1 ||
|
|
18476
|
+
return !(!L.visible || !L.enabled || !P.visible || !((D = E.state) != null && D.visible) || ((k = E.temporaryState) == null ? void 0 : k.visible) === !1 || Ve(E) && !E.mediaVisible);
|
|
18475
18477
|
}
|
|
18476
18478
|
const w = (E) => d.emit("click", { event: E, target: "TagContent", tag: u });
|
|
18477
18479
|
return i.$$set = (E) => {
|
|
@@ -19046,7 +19048,7 @@ class h1 extends fg {
|
|
|
19046
19048
|
}
|
|
19047
19049
|
updateRenderModelTag() {
|
|
19048
19050
|
const e = (o) => !this.enabledModelTagSet.has(o.customID);
|
|
19049
|
-
this.gltfObjectGroup.remove(...this.gltfObjectGroup.children.filter(e)), this.tags.filter(
|
|
19051
|
+
this.gltfObjectGroup.remove(...this.gltfObjectGroup.children.filter(e)), this.tags.filter(Ve).forEach((o) => {
|
|
19050
19052
|
var s;
|
|
19051
19053
|
(s = o.model) == null || s.promise.then((r) => {
|
|
19052
19054
|
r.visible = this.getCurrentVisibleState(o);
|
|
@@ -19064,7 +19066,7 @@ class h1 extends fg {
|
|
|
19064
19066
|
const o = (A = (p = (g = e.mergedConfig) == null ? void 0 : g.tag3DConfig) == null ? void 0 : p.ratio) != null ? A : 216e-5, s = (b = e.tag3DContentSvelte) == null ? void 0 : b.domContainer.css3DObject;
|
|
19065
19067
|
if (!s)
|
|
19066
19068
|
return;
|
|
19067
|
-
const r =
|
|
19069
|
+
const r = Ve(e) ? e.data.mediaPosition : e.position;
|
|
19068
19070
|
n.updateWorldMatrix(!1, !1);
|
|
19069
19071
|
const a = n.matrixWorld, l = new U().fromArray(r[0]), c = new U().fromArray(r[2]), u = Mn(l, c).add(new U(0, 0, 5e-4)), d = new fn().setPosition(u), h = new fn().makeScale(o, o, o), f = new fn().multiply(a).multiply(d).multiply(h);
|
|
19070
19072
|
f.decompose(s.position, s.quaternion, s.scale);
|
|
@@ -19073,7 +19075,7 @@ class h1 extends fg {
|
|
|
19073
19075
|
}
|
|
19074
19076
|
addMediaModelTag(e) {
|
|
19075
19077
|
return H(this, null, function* () {
|
|
19076
|
-
const n = e.filter(
|
|
19078
|
+
const n = e.filter(Ve).map((o) => this.loadModel(o));
|
|
19077
19079
|
yield Promise.all(n), this.setModelMedialVisible(), this.updateRenderAllTags();
|
|
19078
19080
|
});
|
|
19079
19081
|
}
|
|
@@ -19136,12 +19138,12 @@ class f1 extends h1 {
|
|
|
19136
19138
|
m(this, "handleFiveInitAnimationEnded", () => {
|
|
19137
19139
|
const e = this.five.getCurrentState().mode;
|
|
19138
19140
|
this.tags.forEach((n) => {
|
|
19139
|
-
|
|
19141
|
+
Ve(n) && e === "Panorama" && this.changeTagMode(n, "front"), n.state.visible = this.getVisible(n);
|
|
19140
19142
|
}), this.updateRenderAllTags();
|
|
19141
19143
|
});
|
|
19142
19144
|
m(this, "handleFiveModelShownFloorChange", () => {
|
|
19143
19145
|
this.tags.forEach((e) => {
|
|
19144
|
-
!
|
|
19146
|
+
!Ve(e) || (e.state.visible = this.getVisible(e));
|
|
19145
19147
|
}), this.updateRenderAllTags();
|
|
19146
19148
|
});
|
|
19147
19149
|
this.params = Q({ debug: !1, config: this.config }, n), this.debug = this.params.debug, this.config = this.params.config, qp(1, { namespace: Lo.PlayAudio });
|
|
@@ -19342,7 +19344,7 @@ class f1 extends h1 {
|
|
|
19342
19344
|
}
|
|
19343
19345
|
handleFiveModeChange(e) {
|
|
19344
19346
|
this.setModelMedialVisible(), this.tags.forEach((n) => {
|
|
19345
|
-
|
|
19347
|
+
Ve(n) && e !== "Panorama" && this.changeTagMode(n, "behind"), n.state.visible = this.getVisible(n);
|
|
19346
19348
|
}), this.updateRenderAllTags();
|
|
19347
19349
|
}
|
|
19348
19350
|
handleFiveWantsMoveToPano() {
|