@realsee/dnalogel 2.14.0-alpha.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/PanoTagPlugin/controller/TagUtil.d.ts +1 -1
- package/dist/index.cjs.js +18 -18
- package/dist/index.js +128 -108
- 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/Components/Common/Media.js +1 -1
- package/libs/PanoTagPlugin/controller/TagRender.js +13 -11
- package/libs/PanoTagPlugin/controller/TagUtil.d.ts +1 -1
- package/libs/PanoTagPlugin/controller/TagUtil.js +110 -92
- package/libs/base/BasePlugin.js +3 -3
- 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-
|
|
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(
|
|
@@ -12884,35 +12884,53 @@ class hg extends ug {
|
|
|
12884
12884
|
Je(n.normal)
|
|
12885
12885
|
);
|
|
12886
12886
|
}
|
|
12887
|
-
addObjectClickHandler(e, n) {
|
|
12888
|
-
if (!
|
|
12887
|
+
addObjectClickHandler(e, n, o) {
|
|
12888
|
+
if (!n || !this.domEvents)
|
|
12889
12889
|
return () => {
|
|
12890
12890
|
};
|
|
12891
|
-
const
|
|
12892
|
-
|
|
12891
|
+
const s = Ve(e) && !e.mediaVisible || !e.state.visible || !this.state.visible;
|
|
12892
|
+
console.log({ doNoting: s });
|
|
12893
|
+
const r = (u) => {
|
|
12894
|
+
if (s) {
|
|
12895
|
+
this.mouseInfo = void 0;
|
|
12896
|
+
return;
|
|
12897
|
+
}
|
|
12898
|
+
const d = u.origDomEvent;
|
|
12893
12899
|
this.mouseInfo = {
|
|
12894
|
-
x:
|
|
12895
|
-
y:
|
|
12900
|
+
x: d.clientX,
|
|
12901
|
+
y: d.clientY,
|
|
12896
12902
|
isDown: !0,
|
|
12897
12903
|
mouseDownTimestamp: Date.now()
|
|
12898
12904
|
};
|
|
12899
|
-
},
|
|
12900
|
-
|
|
12901
|
-
|
|
12902
|
-
|
|
12903
|
-
|
|
12905
|
+
}, a = (u) => {
|
|
12906
|
+
if (s) {
|
|
12907
|
+
this.mouseInfo = void 0;
|
|
12908
|
+
return;
|
|
12909
|
+
}
|
|
12910
|
+
const d = u.origDomEvent;
|
|
12911
|
+
!this.mouseInfo || (this.mouseInfo.isDown && this.mouseInfo.x === d.clientX && this.mouseInfo.y === d.clientY && Date.now() - this.mouseInfo.mouseDownTimestamp < 400 && o(d), this.mouseInfo = void 0);
|
|
12912
|
+
}, l = (u) => {
|
|
12913
|
+
if (s) {
|
|
12914
|
+
this.mouseInfo = void 0;
|
|
12915
|
+
return;
|
|
12916
|
+
}
|
|
12917
|
+
const d = u.origDomEvent;
|
|
12904
12918
|
this.mouseInfo = {
|
|
12905
|
-
x: Math.floor(
|
|
12906
|
-
y: Math.floor(
|
|
12919
|
+
x: Math.floor(d.touches[0].clientX),
|
|
12920
|
+
y: Math.floor(d.touches[0].clientY),
|
|
12907
12921
|
isDown: !0,
|
|
12908
12922
|
mouseDownTimestamp: Date.now()
|
|
12909
12923
|
};
|
|
12910
|
-
},
|
|
12911
|
-
|
|
12912
|
-
|
|
12924
|
+
}, c = (u) => {
|
|
12925
|
+
if (s) {
|
|
12926
|
+
this.mouseInfo = void 0;
|
|
12927
|
+
return;
|
|
12928
|
+
}
|
|
12929
|
+
const d = u.origDomEvent;
|
|
12930
|
+
!this.mouseInfo || (this.mouseInfo.isDown && this.mouseInfo.x === Math.floor(d.changedTouches[d.changedTouches.length - 1].clientX) && this.mouseInfo.y === Math.floor(d.changedTouches[d.changedTouches.length - 1].clientY) && Date.now() - this.mouseInfo.mouseDownTimestamp < 400 && o(d), this.mouseInfo = void 0);
|
|
12913
12931
|
};
|
|
12914
|
-
return this.domEvents.addEventListener(
|
|
12915
|
-
!this.domEvents || (this.mouseInfo = void 0, this.domEvents.removeEventListener(
|
|
12932
|
+
return this.domEvents.addEventListener(n, "mousedown", r, !1), this.domEvents.addEventListener(n, "mouseup", a, !1), this.domEvents.addEventListener(n, "touchstart", l, !1), this.domEvents.addEventListener(n, "touchend", c, !1), () => {
|
|
12933
|
+
!this.domEvents || (this.mouseInfo = void 0, this.domEvents.removeEventListener(n, "mousedown", r), this.domEvents.removeEventListener(n, "mouseup", a), this.domEvents.removeEventListener(n, "touchstart", l), this.domEvents.removeEventListener(n, "touchend", c));
|
|
12916
12934
|
};
|
|
12917
12935
|
}
|
|
12918
12936
|
getTagNormal(e) {
|
|
@@ -12958,7 +12976,7 @@ class fg extends hg {
|
|
|
12958
12976
|
getVisibleByPanoIndex(e, n) {
|
|
12959
12977
|
var r;
|
|
12960
12978
|
const o = this.getCache({ panoIndex: n, id: e.id }), s = (r = this.five.panoIndex) != null ? r : n;
|
|
12961
|
-
if (
|
|
12979
|
+
if (Ve(e))
|
|
12962
12980
|
return !0;
|
|
12963
12981
|
if (o.visible !== void 0)
|
|
12964
12982
|
return o.visible;
|
|
@@ -13036,7 +13054,7 @@ class fg extends hg {
|
|
|
13036
13054
|
return (n = this.state.visible && e.state.visible) != null ? n : !0;
|
|
13037
13055
|
}
|
|
13038
13056
|
getVisible(e) {
|
|
13039
|
-
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;
|
|
13040
13058
|
return o && r && s;
|
|
13041
13059
|
}
|
|
13042
13060
|
getModelMedialVisibleByPanoIndex(e) {
|
|
@@ -13148,7 +13166,7 @@ class fg extends hg {
|
|
|
13148
13166
|
const e = this.five.getCurrentState().mode;
|
|
13149
13167
|
this.tags.forEach((n) => {
|
|
13150
13168
|
var s;
|
|
13151
|
-
if (!
|
|
13169
|
+
if (!Ve(n))
|
|
13152
13170
|
return;
|
|
13153
13171
|
if (!((s = n.model) != null && s.object)) {
|
|
13154
13172
|
n.mediaVisible = !1;
|
|
@@ -13180,9 +13198,9 @@ class fg extends hg {
|
|
|
13180
13198
|
getTagEnableByIntersect(e, n) {
|
|
13181
13199
|
var u, d, h;
|
|
13182
13200
|
const o = (u = this.getTagConfig(e).visibleConfig) != null ? u : {}, s = this.getDistance(e), [r] = this.five.model.intersectRaycaster(n), a = (() => {
|
|
13183
|
-
if (!
|
|
13201
|
+
if (!Ve(e))
|
|
13184
13202
|
return;
|
|
13185
|
-
const f = this.tags.filter(
|
|
13203
|
+
const f = this.tags.filter(Ve).map((g) => {
|
|
13186
13204
|
var p;
|
|
13187
13205
|
return (p = g.model) == null ? void 0 : p.object;
|
|
13188
13206
|
}).filter(wt);
|
|
@@ -13244,7 +13262,7 @@ function hr(i) {
|
|
|
13244
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]);
|
|
13245
13263
|
},
|
|
13246
13264
|
i(r) {
|
|
13247
|
-
s || (r &&
|
|
13265
|
+
s || (r && Qe(() => {
|
|
13248
13266
|
o && o.end(1), n = Tt(t, pi, {
|
|
13249
13267
|
duration: i[2],
|
|
13250
13268
|
delay: i[0],
|
|
@@ -13358,7 +13376,7 @@ function fr(i) {
|
|
|
13358
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]);
|
|
13359
13377
|
},
|
|
13360
13378
|
i(r) {
|
|
13361
|
-
s || (r &&
|
|
13379
|
+
s || (r && Qe(() => {
|
|
13362
13380
|
o && o.end(1), n = Tt(t, St, { duration: i[0] }), n.start();
|
|
13363
13381
|
}), s = !0);
|
|
13364
13382
|
},
|
|
@@ -13591,12 +13609,12 @@ function Ig(i, t, e) {
|
|
|
13591
13609
|
}), a && f.seek(f.duration);
|
|
13592
13610
|
}
|
|
13593
13611
|
function w(L, P) {
|
|
13594
|
-
|
|
13612
|
+
Oe[L ? "unshift" : "push"](() => {
|
|
13595
13613
|
v[P] = L, e(1, v);
|
|
13596
13614
|
});
|
|
13597
13615
|
}
|
|
13598
13616
|
function E(L, P) {
|
|
13599
|
-
|
|
13617
|
+
Oe[L ? "unshift" : "push"](() => {
|
|
13600
13618
|
v[P] = L, e(1, v);
|
|
13601
13619
|
});
|
|
13602
13620
|
}
|
|
@@ -13659,7 +13677,7 @@ function gr(i) {
|
|
|
13659
13677
|
i = d, (!l || h & 1 && s !== (s = "arrow " + i[0] + " svelte-1ogmlqq")) && y(o, "class", s);
|
|
13660
13678
|
},
|
|
13661
13679
|
i(d) {
|
|
13662
|
-
l || (C(e.$$.fragment, d), d &&
|
|
13680
|
+
l || (C(e.$$.fragment, d), d && Qe(() => {
|
|
13663
13681
|
a && a.end(1), r = Tt(o, St, {
|
|
13664
13682
|
duration: i[2],
|
|
13665
13683
|
delay: i[3],
|
|
@@ -13836,7 +13854,7 @@ function Vg(i) {
|
|
|
13836
13854
|
function Og(i, t, e) {
|
|
13837
13855
|
let n, o, s, { visible: r = !1 } = t, { textUnfolded: a = !1 } = t, { content: l } = t, c, u = 0, d = 0, h = 0;
|
|
13838
13856
|
function f(v) {
|
|
13839
|
-
|
|
13857
|
+
Oe[v ? "unshift" : "push"](() => {
|
|
13840
13858
|
c = v, e(2, c);
|
|
13841
13859
|
});
|
|
13842
13860
|
}
|
|
@@ -14380,7 +14398,7 @@ function Pr(i) {
|
|
|
14380
14398
|
i = s;
|
|
14381
14399
|
},
|
|
14382
14400
|
i(s) {
|
|
14383
|
-
o || (s &&
|
|
14401
|
+
o || (s && Qe(() => {
|
|
14384
14402
|
n && n.end(1), e = Tt(t, pi, {
|
|
14385
14403
|
duration: i[1],
|
|
14386
14404
|
delay: i[0],
|
|
@@ -15772,12 +15790,12 @@ function bA(i, t, e) {
|
|
|
15772
15790
|
}
|
|
15773
15791
|
const Ue = () => G / 3;
|
|
15774
15792
|
function rt(te) {
|
|
15775
|
-
|
|
15793
|
+
Oe[te ? "unshift" : "push"](() => {
|
|
15776
15794
|
Y = te, e(13, Y);
|
|
15777
15795
|
});
|
|
15778
15796
|
}
|
|
15779
15797
|
function ye(te) {
|
|
15780
|
-
|
|
15798
|
+
Oe[te ? "unshift" : "push"](() => {
|
|
15781
15799
|
ee = te, e(12, ee);
|
|
15782
15800
|
});
|
|
15783
15801
|
}
|
|
@@ -16025,7 +16043,7 @@ function xA(i, t, e) {
|
|
|
16025
16043
|
n && n.pause();
|
|
16026
16044
|
};
|
|
16027
16045
|
function P(V) {
|
|
16028
|
-
|
|
16046
|
+
Oe[V ? "unshift" : "push"](() => {
|
|
16029
16047
|
s.videoInstance = V, e(0, s);
|
|
16030
16048
|
});
|
|
16031
16049
|
}
|
|
@@ -16112,7 +16130,7 @@ function Wr(i) {
|
|
|
16112
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]);
|
|
16113
16131
|
},
|
|
16114
16132
|
i(d) {
|
|
16115
|
-
a || (C(o), d &&
|
|
16133
|
+
a || (C(o), d && Qe(() => {
|
|
16116
16134
|
r && r.end(1), s = Tt(t, Zo, i[6] ? {
|
|
16117
16135
|
y: 4,
|
|
16118
16136
|
duration: i[4],
|
|
@@ -16152,7 +16170,7 @@ function LA(i) {
|
|
|
16152
16170
|
J(t, s, r), e = !0;
|
|
16153
16171
|
},
|
|
16154
16172
|
p(s, r) {
|
|
16155
|
-
const a = r & 131 ?
|
|
16173
|
+
const a = r & 131 ? Re(n, [
|
|
16156
16174
|
r & 2 && { media: s[1][0] },
|
|
16157
16175
|
r & 128 && Ja(s[7]),
|
|
16158
16176
|
r & 1 && { tag: s[0] }
|
|
@@ -16212,7 +16230,7 @@ function _r(i) {
|
|
|
16212
16230
|
let r = {};
|
|
16213
16231
|
for (let a = 0; a < o.length; a += 1)
|
|
16214
16232
|
r = ze(r, o[a]);
|
|
16215
|
-
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)), {
|
|
16216
16234
|
c() {
|
|
16217
16235
|
K(t.$$.fragment);
|
|
16218
16236
|
},
|
|
@@ -16221,7 +16239,7 @@ function _r(i) {
|
|
|
16221
16239
|
},
|
|
16222
16240
|
p(a, l) {
|
|
16223
16241
|
i = a;
|
|
16224
|
-
const c = l & 1153 ?
|
|
16242
|
+
const c = l & 1153 ? Re(o, [
|
|
16225
16243
|
l & 128 && Ja(i[7]),
|
|
16226
16244
|
l & 1024 && { media: i[24] },
|
|
16227
16245
|
l & 1 && { tag: i[0] }
|
|
@@ -16319,7 +16337,7 @@ function zA(i, t, e) {
|
|
|
16319
16337
|
function D() {
|
|
16320
16338
|
var F, B;
|
|
16321
16339
|
const O = A[b];
|
|
16322
|
-
O.paused ? (F = O.videoInstance) == null || F.play() : (B = O.videoInstance) == null || B.pause();
|
|
16340
|
+
!O || (O.paused ? (F = O.videoInstance) == null || F.play() : (B = O.videoInstance) == null || B.pause());
|
|
16323
16341
|
}
|
|
16324
16342
|
Ze(() => {
|
|
16325
16343
|
L.on("click", D), E = setInterval(
|
|
@@ -16335,7 +16353,7 @@ function zA(i, t, e) {
|
|
|
16335
16353
|
i.$$.not_equal(A[F], O) && (A[F] = O, e(8, A));
|
|
16336
16354
|
}
|
|
16337
16355
|
function V(O) {
|
|
16338
|
-
|
|
16356
|
+
Oe[O ? "unshift" : "push"](() => {
|
|
16339
16357
|
w = O, e(12, w);
|
|
16340
16358
|
});
|
|
16341
16359
|
}
|
|
@@ -16593,7 +16611,7 @@ function Zr(i) {
|
|
|
16593
16611
|
n = $();
|
|
16594
16612
|
for (let c = 0; c < l.length; c += 1)
|
|
16595
16613
|
l[c].c();
|
|
16596
|
-
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");
|
|
16597
16615
|
},
|
|
16598
16616
|
m(c, u) {
|
|
16599
16617
|
M(c, t, u), j(t, e);
|
|
@@ -17087,12 +17105,12 @@ function YA(i) {
|
|
|
17087
17105
|
function UA(i, t, e) {
|
|
17088
17106
|
let n, { playing: o } = t, { shadow: s = !1 } = t, { style: r = null } = t, { width: a = "100%" } = t, l, c;
|
|
17089
17107
|
function u(h) {
|
|
17090
|
-
|
|
17108
|
+
Oe[h ? "unshift" : "push"](() => {
|
|
17091
17109
|
c = h, e(4, c);
|
|
17092
17110
|
});
|
|
17093
17111
|
}
|
|
17094
17112
|
function d(h) {
|
|
17095
|
-
|
|
17113
|
+
Oe[h ? "unshift" : "push"](() => {
|
|
17096
17114
|
l = h, e(3, l);
|
|
17097
17115
|
});
|
|
17098
17116
|
}
|
|
@@ -17222,7 +17240,7 @@ function la(i) {
|
|
|
17222
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);
|
|
17223
17241
|
},
|
|
17224
17242
|
i(l) {
|
|
17225
|
-
a || (C(e.$$.fragment, l), C(o.$$.fragment, l), l &&
|
|
17243
|
+
a || (C(e.$$.fragment, l), C(o.$$.fragment, l), l && Qe(() => {
|
|
17226
17244
|
r && r.end(1), s = Tt(t, St, {
|
|
17227
17245
|
duration: 1e3,
|
|
17228
17246
|
delay: 0,
|
|
@@ -18159,7 +18177,7 @@ function Bv(i, t, e) {
|
|
|
18159
18177
|
s == null || s();
|
|
18160
18178
|
});
|
|
18161
18179
|
function r(a) {
|
|
18162
|
-
|
|
18180
|
+
Oe[a ? "unshift" : "push"](() => {
|
|
18163
18181
|
o = a, e(1, o);
|
|
18164
18182
|
});
|
|
18165
18183
|
}
|
|
@@ -18455,7 +18473,7 @@ function Yv(i, t, e) {
|
|
|
18455
18473
|
}
|
|
18456
18474
|
function b(E, L, P) {
|
|
18457
18475
|
var D, k;
|
|
18458
|
-
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);
|
|
18459
18477
|
}
|
|
18460
18478
|
const w = (E) => d.emit("click", { event: E, target: "TagContent", tag: u });
|
|
18461
18479
|
return i.$$set = (E) => {
|
|
@@ -19003,11 +19021,13 @@ class h1 extends fg {
|
|
|
19003
19021
|
if (!c)
|
|
19004
19022
|
return;
|
|
19005
19023
|
this.store.css3DRenderDisposer.set(n.id, [c.dispose]), this.css3DRenderPlugin.hooks.on("render", () => {
|
|
19006
|
-
var
|
|
19007
|
-
|
|
19008
|
-
this.
|
|
19009
|
-
|
|
19010
|
-
|
|
19024
|
+
var u;
|
|
19025
|
+
if (c.css3DObject.opacityMesh) {
|
|
19026
|
+
const d = this.addObjectClickHandler(n, c.css3DObject.opacityMesh, (h) => {
|
|
19027
|
+
this.hooks.emit("click", { event: h, target: "TagContent", tag: n });
|
|
19028
|
+
});
|
|
19029
|
+
(u = this.store.css3DRenderDisposer.get(n.id)) == null || u.push(d);
|
|
19030
|
+
}
|
|
19011
19031
|
}), n.tag3DContentSvelte = {
|
|
19012
19032
|
svelteApp: new ql({
|
|
19013
19033
|
target: c.container,
|
|
@@ -19028,7 +19048,7 @@ class h1 extends fg {
|
|
|
19028
19048
|
}
|
|
19029
19049
|
updateRenderModelTag() {
|
|
19030
19050
|
const e = (o) => !this.enabledModelTagSet.has(o.customID);
|
|
19031
|
-
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) => {
|
|
19032
19052
|
var s;
|
|
19033
19053
|
(s = o.model) == null || s.promise.then((r) => {
|
|
19034
19054
|
r.visible = this.getCurrentVisibleState(o);
|
|
@@ -19046,7 +19066,7 @@ class h1 extends fg {
|
|
|
19046
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;
|
|
19047
19067
|
if (!s)
|
|
19048
19068
|
return;
|
|
19049
|
-
const r =
|
|
19069
|
+
const r = Ve(e) ? e.data.mediaPosition : e.position;
|
|
19050
19070
|
n.updateWorldMatrix(!1, !1);
|
|
19051
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);
|
|
19052
19072
|
f.decompose(s.position, s.quaternion, s.scale);
|
|
@@ -19055,7 +19075,7 @@ class h1 extends fg {
|
|
|
19055
19075
|
}
|
|
19056
19076
|
addMediaModelTag(e) {
|
|
19057
19077
|
return H(this, null, function* () {
|
|
19058
|
-
const n = e.filter(
|
|
19078
|
+
const n = e.filter(Ve).map((o) => this.loadModel(o));
|
|
19059
19079
|
yield Promise.all(n), this.setModelMedialVisible(), this.updateRenderAllTags();
|
|
19060
19080
|
});
|
|
19061
19081
|
}
|
|
@@ -19118,12 +19138,12 @@ class f1 extends h1 {
|
|
|
19118
19138
|
m(this, "handleFiveInitAnimationEnded", () => {
|
|
19119
19139
|
const e = this.five.getCurrentState().mode;
|
|
19120
19140
|
this.tags.forEach((n) => {
|
|
19121
|
-
|
|
19141
|
+
Ve(n) && e === "Panorama" && this.changeTagMode(n, "front"), n.state.visible = this.getVisible(n);
|
|
19122
19142
|
}), this.updateRenderAllTags();
|
|
19123
19143
|
});
|
|
19124
19144
|
m(this, "handleFiveModelShownFloorChange", () => {
|
|
19125
19145
|
this.tags.forEach((e) => {
|
|
19126
|
-
!
|
|
19146
|
+
!Ve(e) || (e.state.visible = this.getVisible(e));
|
|
19127
19147
|
}), this.updateRenderAllTags();
|
|
19128
19148
|
});
|
|
19129
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 });
|
|
@@ -19324,7 +19344,7 @@ class f1 extends h1 {
|
|
|
19324
19344
|
}
|
|
19325
19345
|
handleFiveModeChange(e) {
|
|
19326
19346
|
this.setModelMedialVisible(), this.tags.forEach((n) => {
|
|
19327
|
-
|
|
19347
|
+
Ve(n) && e !== "Panorama" && this.changeTagMode(n, "behind"), n.state.visible = this.getVisible(n);
|
|
19328
19348
|
}), this.updateRenderAllTags();
|
|
19329
19349
|
}
|
|
19330
19350
|
handleFiveWantsMoveToPano() {
|