@realsee/dnalogel 2.14.2-alpha.2 → 2.14.3-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/floorplan/PanoFloorplanRadarPlugin/Controller.d.ts +4 -0
- package/dist/floorplan/PanoFloorplanRadarPlugin/typing.d.ts +2 -0
- package/dist/index.cjs.js +27 -27
- package/dist/index.js +548 -531
- package/dist/index.umd.js +23 -23
- package/docs/classes/CSS3DRender.html +31 -31
- package/docs/classes/CruisePluginController.html +25 -25
- package/docs/classes/Magnifier.html +20 -20
- package/docs/classes/ModelRoomLabelController.html +11 -11
- package/docs/classes/Object3DHelperController.html +24 -24
- package/docs/classes/PaintBrush.html +15 -15
- package/docs/classes/PanoMeasurePluginLine.html +23 -23
- package/docs/classes/PanoMeasurePluginModel.html +22 -22
- package/docs/classes/PanoMeasurePluginPoint.html +14 -14
- package/docs/classes/PanoMeasurePluginPolyline.html +26 -26
- package/docs/classes/PanoTagPluginController.html +46 -46
- package/docs/classes/Util.BetterTween.html +8 -8
- package/docs/classes/Util.FivePointSelector.html +12 -12
- package/docs/classes/Util.Interval.html +12 -12
- package/docs/classes/Util.Magnifier.html +17 -17
- package/docs/classes/Util.PointDomHelper.html +11 -11
- package/docs/classes/Util.PointHelper.html +11 -11
- package/docs/classes/Util.Rectangle.html +13 -13
- package/docs/enums/CameraMovementEffect.html +7 -7
- package/docs/enums/ContentType.html +19 -19
- package/docs/enums/DIRECTION.html +9 -9
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +9 -9
- package/docs/enums/DimensionType.html +7 -7
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +8 -8
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +9 -9
- package/docs/enums/PaintBrushTypeEnum.html +8 -8
- package/docs/enums/Rotation.html +8 -8
- 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 +5 -5
- 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 +5 -5
- package/docs/functions/Util.getCoordsFromElement.html +5 -5
- package/docs/functions/Util.getFrameTime.html +5 -5
- package/docs/functions/Util.getIntersectFromRelativePosition.html +5 -5
- package/docs/functions/Util.getRaycasterFromFivePointer.html +5 -5
- package/docs/functions/Util.isNil.html +5 -5
- package/docs/functions/Util.nextFrame.html +5 -5
- package/docs/functions/Util.notNil.html +5 -5
- package/docs/functions/Util.requestAnimationFrameInterval.html +5 -5
- package/docs/functions/Util.tweenProgress.html +5 -5
- package/docs/functions/pluginFlag.html +5 -5
- package/docs/index.html +4 -4
- package/docs/interfaces/AddTagConfig.html +6 -6
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +11 -11
- package/docs/interfaces/CSS3DRenderPluginState.html +8 -8
- package/docs/interfaces/CameraMovementPluginExportType.html +7 -7
- package/docs/interfaces/EventMap.html +15 -15
- package/docs/interfaces/FloorplanBounding.html +8 -8
- package/docs/interfaces/FloorplanData.html +10 -10
- package/docs/interfaces/FloorplanEntrance.html +11 -11
- package/docs/interfaces/FloorplanExtraObject.html +10 -10
- package/docs/interfaces/FloorplanExtraObject3D.html +8 -8
- package/docs/interfaces/FloorplanFloorData.html +9 -9
- package/docs/interfaces/FloorplanImagePosition.html +7 -7
- package/docs/interfaces/FloorplanObserver.html +9 -9
- package/docs/interfaces/FloorplanOutlineItem.html +9 -9
- package/docs/interfaces/FloorplanPosition.html +7 -7
- package/docs/interfaces/FloorplanRoomItem.html +13 -13
- package/docs/interfaces/FloorplanRoomLabelItem.html +7 -7
- package/docs/interfaces/FloorplanServerBounding.html +8 -8
- package/docs/interfaces/FloorplanServerComputedData.html +10 -10
- package/docs/interfaces/FloorplanServerData.html +7 -7
- package/docs/interfaces/FloorplanServerDoorItem.html +10 -10
- package/docs/interfaces/FloorplanServerDoorPosition.html +8 -8
- package/docs/interfaces/FloorplanServerEntrance.html +11 -11
- package/docs/interfaces/FloorplanServerFloorData.html +9 -9
- package/docs/interfaces/FloorplanServerImagePosition.html +7 -7
- package/docs/interfaces/FloorplanServerObserver.html +9 -9
- package/docs/interfaces/FloorplanServerOutlineItem.html +9 -9
- package/docs/interfaces/FloorplanServerPosition.html +7 -7
- package/docs/interfaces/FloorplanServerRoomItem.html +14 -14
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +7 -7
- package/docs/interfaces/HelperOffset.html +8 -8
- package/docs/interfaces/ImagePlaneGroup.html +6 -6
- package/docs/interfaces/ItemLabelPluginData.html +6 -6
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +11 -11
- package/docs/interfaces/ItemLabelPluginParametersType.html +9 -9
- package/docs/interfaces/MinMax.html +7 -7
- package/docs/interfaces/ModelChassisCompassPluginData.html +7 -7
- package/docs/interfaces/ModelChassisCompassPluginExportType.html +8 -8
- package/docs/interfaces/ModelChassisCompassPluginParameterType.html +7 -7
- package/docs/interfaces/ModelEntryDoorGuidePluginData.html +8 -8
- package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +8 -8
- package/docs/interfaces/ModelItemLabelPluginData.html +6 -6
- package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +11 -11
- package/docs/interfaces/ModelItemLabelPluginParametersType.html +7 -7
- package/docs/interfaces/ModelRoomLabelPluginData.html +6 -6
- package/docs/interfaces/ModelTVVideoPluginData.html +9 -9
- package/docs/interfaces/ModelTVVideoPluginExportType.html +8 -8
- package/docs/interfaces/ModelTVVideoPluginParameterType.html +6 -6
- package/docs/interfaces/ModelViewPluginExportType.html +11 -11
- package/docs/interfaces/Object3DHelperState.html +8 -8
- package/docs/interfaces/ObjectHelperControllers.html +9 -9
- package/docs/interfaces/PaintBrushAction.html +12 -12
- package/docs/interfaces/PaintBrushConfigs.html +12 -12
- package/docs/interfaces/PaintBrushState.html +10 -10
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +10 -10
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +5 -5
- package/docs/interfaces/PanoMeasureParameterType.html +14 -14
- package/docs/interfaces/PanoMeasurePluginLineJson.html +8 -8
- package/docs/interfaces/PanoMeasurePluginOpenParameter.html +7 -7
- package/docs/interfaces/PanoMeasurePluginPointJson.html +7 -7
- package/docs/interfaces/PanoMeasurePluginPolylineJson.html +8 -8
- package/docs/interfaces/PanoRulerPluginExportType.html +10 -10
- package/docs/interfaces/PanoRulerPluginOptions.html +7 -7
- package/docs/interfaces/PanoRulerPluginParameterType.html +8 -8
- package/docs/interfaces/PanoRulerProPluginExportType.html +9 -9
- package/docs/interfaces/PanoRulerProPluginOptions.html +7 -7
- package/docs/interfaces/PanoRulerProPluginParameterType.html +7 -7
- package/docs/interfaces/PanoRulerProPluginState.html +8 -8
- package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +5 -5
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +5 -5
- package/docs/interfaces/PanoSpatialTagPluginData.html +11 -11
- package/docs/interfaces/PanoSpatialTagPluginDataElement.html +10 -10
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +13 -13
- package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +10 -10
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +13 -13
- package/docs/interfaces/PanoSpatialTagPluginPointElement.html +11 -11
- package/docs/interfaces/PanoSpatialTagPluginTagElement.html +10 -10
- package/docs/interfaces/PanoVideoPluginType.LoadParams.html +6 -6
- package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +8 -8
- package/docs/interfaces/PanoVideoPluginType.PluginData.html +6 -6
- package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +9 -9
- package/docs/interfaces/PanoVideoPluginType.PluginState.html +6 -6
- package/docs/interfaces/PanoVideoPluginType.VideoItem.html +8 -8
- package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +10 -10
- package/docs/interfaces/Point.html +8 -8
- package/docs/interfaces/Room.html +9 -9
- package/docs/interfaces/RoomInfo.html +7 -7
- package/docs/interfaces/RoomLabel.html +14 -14
- package/docs/interfaces/RoomRules.html +5 -5
- package/docs/interfaces/Rooms.html +5 -5
- package/docs/interfaces/Scissor.html +9 -9
- package/docs/interfaces/State.html +8 -8
- package/docs/interfaces/TagCacheInterface.html +12 -12
- package/docs/interfaces/TagConfig.html +11 -11
- package/docs/interfaces/TagGLTFObjectGroup.html +6 -6
- package/docs/interfaces/TagIconUrl.html +11 -11
- package/docs/interfaces/TagObjectGroup.html +6 -6
- package/docs/interfaces/TagStyle.html +6 -6
- package/docs/interfaces/Tags.html +9 -9
- package/docs/interfaces/TemporaryState.html +6 -6
- package/docs/interfaces/Util.MagnifierParameter.html +11 -11
- package/docs/interfaces/Util.MouseGroupParameter.html +8 -8
- package/docs/modules/PanoVideoPluginType.html +5 -5
- package/docs/modules/Util.html +5 -5
- package/docs/modules.html +4 -4
- package/docs/types/ArrayPosition.html +5 -5
- package/docs/types/AudioAppearance.html +5 -5
- package/docs/types/AudioTagTypeConfigKey.html +5 -5
- package/docs/types/CSS3DRenderExportType.html +5 -5
- package/docs/types/CSS3DRenderPluginExportType.html +5 -5
- package/docs/types/CSS3DRenderPluginParameterType.html +5 -5
- package/docs/types/ClassFunctionParameters.html +5 -5
- package/docs/types/Color.html +5 -5
- package/docs/types/ContentTypeConfigKey.html +5 -5
- package/docs/types/ContentTypeConfigKeySplit.html +5 -5
- package/docs/types/ContentTypeMap.html +5 -5
- package/docs/types/Create3DDomContainerReturnType.html +5 -5
- package/docs/types/Create3DElementReturnType.html +5 -5
- package/docs/types/CruisePluginExportType.html +5 -5
- package/docs/types/Direction-1.html +5 -5
- package/docs/types/Direction4.html +5 -5
- package/docs/types/FloorplanRuleLabels.html +5 -5
- package/docs/types/FloorplanServerRuleLabels.html +5 -5
- package/docs/types/GuideLinePluginExportType.html +5 -5
- package/docs/types/HelperEventMap.html +5 -5
- package/docs/types/LoadTagConfig.html +5 -5
- package/docs/types/MapviewFloorplanPluginParameterType.html +5 -5
- package/docs/types/MapviewFloorplanPluginReturnType.html +5 -5
- package/docs/types/MediaData.html +5 -5
- package/docs/types/MediaStore.html +5 -5
- package/docs/types/ModelElement.html +5 -5
- package/docs/types/ModelEntryDoorGuidePluginParameterType.html +5 -5
- package/docs/types/ModelFloorplanPluginParameterType.html +5 -5
- package/docs/types/ModelFloorplanPluginReturnType.html +5 -5
- package/docs/types/ModelRoomLabelPluginParameters.html +5 -5
- package/docs/types/ModelRoomLabelPluginReturnType.html +5 -5
- package/docs/types/MoveArgs.html +5 -5
- package/docs/types/MoveOpts.html +5 -5
- package/docs/types/Object3DHelperEventMap.html +5 -5
- package/docs/types/ObjectFit.html +5 -5
- package/docs/types/PaintBrushEventMap.html +5 -5
- package/docs/types/PanoCompassPluginData.html +5 -5
- package/docs/types/PanoCompassPluginExportType.html +5 -5
- package/docs/types/PanoCompassPluginParameterType.html +5 -5
- package/docs/types/PanoFloorplanRadarPluginParameterType.html +5 -5
- package/docs/types/PanoFloorplanRadarPluginReturnType.html +5 -5
- package/docs/types/PanoIndex.html +5 -5
- package/docs/types/PanoMeasurePluginEvent.html +5 -5
- package/docs/types/PanoMeasureReturnType.html +5 -5
- package/docs/types/PanoSpatialTagPluginId.html +5 -5
- package/docs/types/PanoTagPluginExportInterface.html +5 -5
- package/docs/types/PanoTagPluginParamsInterface.html +5 -5
- package/docs/types/PanoVideoPluginParameterType.html +5 -5
- package/docs/types/PanoVideoPluginReturnType.html +5 -5
- package/docs/types/PlaneTag.html +5 -5
- package/docs/types/PlaneTagElement.html +5 -5
- package/docs/types/Point2DElement.html +5 -5
- package/docs/types/Point2DTag.html +5 -5
- package/docs/types/Point3DElement.html +5 -5
- package/docs/types/Point3DTag.html +5 -5
- package/docs/types/PointTag.html +5 -5
- package/docs/types/PointTagElement.html +5 -5
- package/docs/types/Position.html +5 -5
- package/docs/types/RotateArgs.html +5 -5
- package/docs/types/RotateOpts.html +5 -5
- package/docs/types/RuleLabelsKey.html +5 -5
- package/docs/types/RuleLabelsValue.html +5 -5
- package/docs/types/StickType.html +5 -5
- package/docs/types/Tag.html +5 -5
- package/docs/types/Tag2D.html +5 -5
- package/docs/types/Tag3D.html +5 -5
- package/docs/types/TagContentType.html +5 -5
- package/docs/types/TagDimensionType.html +5 -5
- package/docs/types/TagElement.html +5 -5
- package/docs/types/TagEvents.html +5 -5
- package/docs/types/TagGLTFObject.html +5 -5
- package/docs/types/TagHooks.html +5 -5
- package/docs/types/TagIconSize.html +5 -5
- package/docs/types/TagId.html +5 -5
- package/docs/types/TopviewFloorplanPluginParameterType.html +5 -5
- package/docs/types/TopviewFloorplanPluginReturnType.html +5 -5
- package/docs/types/WorkCode.html +5 -5
- package/docs/variables/FLOOR_TYPE_MAP.html +5 -5
- package/docs/variables/PLUGIN.html +5 -5
- package/docs/variables/ROOM_FETILE_TYPE_MAP.html +5 -5
- package/docs/variables/ROOM_TYPE_MAP.html +5 -5
- package/docs/variables/itemLabelPluginServerParams.html +5 -5
- package/docs/variables/modelItemLabelPluginServerParams.html +5 -5
- package/docs/variables/modelRoomLabelPluginServerParams.html +5 -5
- package/libs/CruisePlugin/Controller.js +4 -4
- package/libs/base/BasePlugin.js +1 -1
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/CurrentFloor.js +64 -60
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Main.js +104 -100
- package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.d.ts +4 -0
- package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +60 -51
- package/libs/floorplan/PanoFloorplanRadarPlugin/typing.d.ts +2 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -599,7 +599,7 @@ const gb = (i, t) => {
|
|
|
599
599
|
const f = () => {
|
|
600
600
|
if (n)
|
|
601
601
|
return;
|
|
602
|
-
d =
|
|
602
|
+
d = x(i.model, c.fov, c.aspect), h = i.model.bounding.getCenter(new C.Vector3()), l.remove(u), u = G(i.model), l.add(u), n = !0, L();
|
|
603
603
|
function R(X) {
|
|
604
604
|
const H = X.clone();
|
|
605
605
|
return H.uniforms.modelAlpha.value = 1, H.uniforms.map.value && (H.uniforms.map.value.needsUpdate = !0), H;
|
|
@@ -622,11 +622,11 @@ const gb = (i, t) => {
|
|
|
622
622
|
}, g = () => {
|
|
623
623
|
u.traverse((R) => {
|
|
624
624
|
R instanceof C.Mesh && [].concat(R.material).forEach((X) => X.dispose());
|
|
625
|
-
}), l.remove(u), u = new C.Object3D(), l.add(u), n = !1,
|
|
625
|
+
}), l.remove(u), u = new C.Object3D(), l.add(u), n = !1, L();
|
|
626
626
|
}, p = () => {
|
|
627
627
|
!e || n || f();
|
|
628
628
|
}, A = () => {
|
|
629
|
-
e || (e = !0, l.add(u), !n && i.model.loaded && f(),
|
|
629
|
+
e || (e = !0, l.add(u), !n && i.model.loaded && f(), L());
|
|
630
630
|
}, b = () => {
|
|
631
631
|
!e || (l.remove(u), o = !0, k(), e = !1);
|
|
632
632
|
}, w = (R, G = {}) => {
|
|
@@ -644,9 +644,9 @@ const gb = (i, t) => {
|
|
|
644
644
|
const { width: H = X.offsetWidth, height: ee = X.offsetHeight } = R;
|
|
645
645
|
s.setSize(H, ee), c.aspect = H / ee, c.updateProjectionMatrix();
|
|
646
646
|
}
|
|
647
|
-
|
|
647
|
+
L();
|
|
648
648
|
};
|
|
649
|
-
function
|
|
649
|
+
function x(R, G, X) {
|
|
650
650
|
const H = R.bounding, ee = Math.pow(
|
|
651
651
|
Math.pow(H.max.x - H.min.x + 1, 2) + Math.pow(H.max.y - H.min.y + 1, 2) + Math.pow(H.max.z - H.min.z + 1, 2),
|
|
652
652
|
1 / 2
|
|
@@ -657,7 +657,7 @@ const gb = (i, t) => {
|
|
|
657
657
|
function I(R) {
|
|
658
658
|
return i.work.observers[R].standingPosition.clone();
|
|
659
659
|
}
|
|
660
|
-
const
|
|
660
|
+
const L = () => {
|
|
661
661
|
if (!e || !d || !h)
|
|
662
662
|
return;
|
|
663
663
|
const R = i.getPose();
|
|
@@ -666,12 +666,12 @@ const gb = (i, t) => {
|
|
|
666
666
|
!e || o !== !0 || !s || !s.domElement.parentNode || s.domElement.parentNode.offsetWidth === 0 || (s.render(l, c), o = !1);
|
|
667
667
|
}, O = () => {
|
|
668
668
|
s && s.dispose(), s = null;
|
|
669
|
-
},
|
|
670
|
-
Object.assign(a, R),
|
|
671
|
-
},
|
|
669
|
+
}, W = (R) => {
|
|
670
|
+
Object.assign(a, R), L();
|
|
671
|
+
}, _ = () => ({
|
|
672
672
|
enabled: e
|
|
673
673
|
});
|
|
674
|
-
return Object.assign(window, { camera: c }), i.on("modelLoaded", p), i.on("modelWillLoad", g), i.on("cameraDirectionUpdate",
|
|
674
|
+
return Object.assign(window, { camera: c }), i.on("modelLoaded", p), i.on("modelWillLoad", g), i.on("cameraDirectionUpdate", L), i.on("dispose", O), i.on("renderFrame", k), i.on("cameraPositionUpdate", L), { appendTo: w, refresh: E, changeConfigs: W, enable: A, disable: b, getCurrentState: _ };
|
|
675
675
|
};
|
|
676
676
|
function gt(...i) {
|
|
677
677
|
const t = [];
|
|
@@ -806,8 +806,8 @@ function Mn(...i) {
|
|
|
806
806
|
const Da = 1, Yc = `CSS3DObjectPlus@${Da}`, Uc = 216e-5, qc = 3e-3;
|
|
807
807
|
class Jc extends Zi {
|
|
808
808
|
constructor(e) {
|
|
809
|
-
var
|
|
810
|
-
const n = e.container, o = e.cornerPoints, s = (
|
|
809
|
+
var x, I, L;
|
|
810
|
+
const n = e.container, o = e.cornerPoints, s = (x = e.ratio) != null ? x : qc, r = (I = e.dpr) != null ? I : 1, a = (L = e.pointerEvents) != null ? L : "auto", l = Math.max(Uc, s), c = o[0].distanceTo(o[1]), u = o[1].distanceTo(o[2]), d = si(c / s * r), h = si(u / s * r), f = Mn(...o);
|
|
811
811
|
let v;
|
|
812
812
|
if (l === s)
|
|
813
813
|
n.style.width = `${d}px`, n.style.height = `${h}px`, v = n;
|
|
@@ -1733,7 +1733,7 @@ function re() {
|
|
|
1733
1733
|
function P(i, t) {
|
|
1734
1734
|
i && i.i && (ii.delete(i), i.i(t));
|
|
1735
1735
|
}
|
|
1736
|
-
function
|
|
1736
|
+
function D(i, t, e, n) {
|
|
1737
1737
|
if (i && i.o) {
|
|
1738
1738
|
if (ii.has(i))
|
|
1739
1739
|
return;
|
|
@@ -1817,7 +1817,7 @@ function ui(i, t) {
|
|
|
1817
1817
|
const c = o && (t.current = o)(l);
|
|
1818
1818
|
let u = !1;
|
|
1819
1819
|
t.block && (t.blocks ? t.blocks.forEach((d, h) => {
|
|
1820
|
-
h !== s && d && (se(),
|
|
1820
|
+
h !== s && d && (se(), D(d, 1, 1, () => {
|
|
1821
1821
|
t.blocks[h] === d && (t.blocks[h] = null);
|
|
1822
1822
|
}), re());
|
|
1823
1823
|
}) : t.block.d(1), c.c(), P(c, 1), c.m(t.mount(), t.anchor), u = !0), t.block = c, t.blocks && (t.blocks[s] = c), u && Ao();
|
|
@@ -1846,7 +1846,7 @@ function vo(i, t) {
|
|
|
1846
1846
|
i.d(1), t.delete(i.key);
|
|
1847
1847
|
}
|
|
1848
1848
|
function It(i, t) {
|
|
1849
|
-
|
|
1849
|
+
D(i, 1, 1, () => {
|
|
1850
1850
|
t.delete(i.key);
|
|
1851
1851
|
});
|
|
1852
1852
|
}
|
|
@@ -1857,24 +1857,24 @@ function Ke(i, t, e, n, o, s, r, a, l, c, u, d) {
|
|
|
1857
1857
|
g[i[v].key] = v;
|
|
1858
1858
|
const p = [], A = /* @__PURE__ */ new Map(), b = /* @__PURE__ */ new Map();
|
|
1859
1859
|
for (v = f; v--; ) {
|
|
1860
|
-
const I = d(o, s, v),
|
|
1861
|
-
let k = r.get(
|
|
1862
|
-
k ? n && k.p(I, t) : (k = c(
|
|
1860
|
+
const I = d(o, s, v), L = e(I);
|
|
1861
|
+
let k = r.get(L);
|
|
1862
|
+
k ? n && k.p(I, t) : (k = c(L, I), k.c()), A.set(L, p[v] = k), L in g && b.set(L, Math.abs(v - g[L]));
|
|
1863
1863
|
}
|
|
1864
1864
|
const w = /* @__PURE__ */ new Set(), E = /* @__PURE__ */ new Set();
|
|
1865
|
-
function
|
|
1865
|
+
function x(I) {
|
|
1866
1866
|
P(I, 1), I.m(a, u), r.set(I.key, I), u = I.first, f--;
|
|
1867
1867
|
}
|
|
1868
1868
|
for (; h && f; ) {
|
|
1869
|
-
const I = p[f - 1],
|
|
1870
|
-
I ===
|
|
1869
|
+
const I = p[f - 1], L = i[h - 1], k = I.key, O = L.key;
|
|
1870
|
+
I === L ? (u = I.first, h--, f--) : A.has(O) ? !r.has(k) || w.has(k) ? x(I) : E.has(O) ? h-- : b.get(k) > b.get(O) ? (E.add(k), x(I)) : (w.add(O), h--) : (l(L, r), h--);
|
|
1871
1871
|
}
|
|
1872
1872
|
for (; h--; ) {
|
|
1873
1873
|
const I = i[h];
|
|
1874
1874
|
A.has(I.key) || l(I, r);
|
|
1875
1875
|
}
|
|
1876
1876
|
for (; f; )
|
|
1877
|
-
|
|
1877
|
+
x(p[f - 1]);
|
|
1878
1878
|
return p;
|
|
1879
1879
|
}
|
|
1880
1880
|
function Re(i, t) {
|
|
@@ -2322,7 +2322,7 @@ function Jo(i, t) {
|
|
|
2322
2322
|
o || (P(n.$$.fragment, s), o = !0);
|
|
2323
2323
|
},
|
|
2324
2324
|
o(s) {
|
|
2325
|
-
|
|
2325
|
+
D(n.$$.fragment, s), o = !1;
|
|
2326
2326
|
},
|
|
2327
2327
|
d(s) {
|
|
2328
2328
|
s && S(e), Z(n, s);
|
|
@@ -2365,7 +2365,7 @@ function Hu(i) {
|
|
|
2365
2365
|
},
|
|
2366
2366
|
o(c) {
|
|
2367
2367
|
for (let u = 0; u < e.length; u += 1)
|
|
2368
|
-
|
|
2368
|
+
D(e[u]);
|
|
2369
2369
|
o = !1;
|
|
2370
2370
|
},
|
|
2371
2371
|
d(c) {
|
|
@@ -2382,27 +2382,27 @@ function Gu(i, t, e) {
|
|
|
2382
2382
|
function c(A) {
|
|
2383
2383
|
if (!(l === null || A.floorIndex === l))
|
|
2384
2384
|
return !1;
|
|
2385
|
-
const w = new Mt(), E = o.camera.position.clone(),
|
|
2386
|
-
w.set(E.clone(),
|
|
2387
|
-
const [
|
|
2388
|
-
return !(
|
|
2385
|
+
const w = new Mt(), E = o.camera.position.clone(), x = new U(A.position.x, A.position.y, A.position.z), I = x.distanceTo(E);
|
|
2386
|
+
w.set(E.clone(), x.clone().sub(E).normalize());
|
|
2387
|
+
const [L] = o.model.intersectRaycaster(w);
|
|
2388
|
+
return !(L && L.distance + 1 < I);
|
|
2389
2389
|
}
|
|
2390
2390
|
function u(A, b) {
|
|
2391
|
-
const E = new U(A.position.x, A.position.y, A.position.z).clone().project(o.camera),
|
|
2392
|
-
return `translate(${
|
|
2391
|
+
const E = new U(A.position.x, A.position.y, A.position.z).clone().project(o.camera), x = Math.ceil((E.x + 1) / 2 * b.x), I = Math.ceil((-E.y + 1) / 2 * b.y);
|
|
2392
|
+
return `translate(${x}px, ${I}px)`;
|
|
2393
2393
|
}
|
|
2394
2394
|
function d(A) {
|
|
2395
2395
|
const { rendererSize: b, shownFloor: w } = A, E = /* @__PURE__ */ new Map();
|
|
2396
|
-
function L
|
|
2397
|
-
const k = E.get(
|
|
2396
|
+
function x(L) {
|
|
2397
|
+
const k = E.get(L.id);
|
|
2398
2398
|
if (k)
|
|
2399
2399
|
return k;
|
|
2400
|
-
const { x: O, y:
|
|
2401
|
-
return E.set(
|
|
2400
|
+
const { x: O, y: W, z: _ } = L.position, V = new U(O, W, _).clone().distanceTo(o.camera.position);
|
|
2401
|
+
return E.set(L.id, V), V;
|
|
2402
2402
|
}
|
|
2403
|
-
return s.map((
|
|
2404
|
-
const k = c(
|
|
2405
|
-
return fe(Q({},
|
|
2403
|
+
return s.map((L) => {
|
|
2404
|
+
const k = c(L), O = k ? u(L, b) : L.transform, W = x(L), V = s.filter((B) => B.visible && x(B) < W).length * 10;
|
|
2405
|
+
return fe(Q({}, L), { visible: k, transform: O, zIndex: V });
|
|
2406
2406
|
});
|
|
2407
2407
|
}
|
|
2408
2408
|
function h() {
|
|
@@ -2852,7 +2852,7 @@ function Ad(i) {
|
|
|
2852
2852
|
e || (P(t.$$.fragment, n), e = !0);
|
|
2853
2853
|
},
|
|
2854
2854
|
o(n) {
|
|
2855
|
-
|
|
2855
|
+
D(t.$$.fragment, n), e = !1;
|
|
2856
2856
|
},
|
|
2857
2857
|
d(n) {
|
|
2858
2858
|
Z(t, n);
|
|
@@ -2878,7 +2878,7 @@ function vd(i) {
|
|
|
2878
2878
|
e || (P(t.$$.fragment, n), e = !0);
|
|
2879
2879
|
},
|
|
2880
2880
|
o(n) {
|
|
2881
|
-
|
|
2881
|
+
D(t.$$.fragment, n), e = !1;
|
|
2882
2882
|
},
|
|
2883
2883
|
d(n) {
|
|
2884
2884
|
Z(t, n);
|
|
@@ -2900,7 +2900,7 @@ function bd(i) {
|
|
|
2900
2900
|
},
|
|
2901
2901
|
p(l, [c]) {
|
|
2902
2902
|
let u = e;
|
|
2903
|
-
e = a(l), e === u ? ~e && r[e].p(l, c) : (n && (se(),
|
|
2903
|
+
e = a(l), e === u ? ~e && r[e].p(l, c) : (n && (se(), D(r[u], 1, 1, () => {
|
|
2904
2904
|
r[u] = null;
|
|
2905
2905
|
}), re()), ~e ? (n = r[e], n ? n.p(l, c) : (n = r[e] = s[e](l), n.c()), P(n, 1), n.m(t, null)) : n = null);
|
|
2906
2906
|
},
|
|
@@ -2908,7 +2908,7 @@ function bd(i) {
|
|
|
2908
2908
|
o || (P(n), o = !0);
|
|
2909
2909
|
},
|
|
2910
2910
|
o(l) {
|
|
2911
|
-
|
|
2911
|
+
D(n), o = !1;
|
|
2912
2912
|
},
|
|
2913
2913
|
d(l) {
|
|
2914
2914
|
l && S(t), ~e && r[e].d();
|
|
@@ -3055,32 +3055,32 @@ function kd(i, t, e) {
|
|
|
3055
3055
|
].every((Ae) => Id(Ae, Se));
|
|
3056
3056
|
};
|
|
3057
3057
|
}
|
|
3058
|
-
const A = document.body.clientWidth, b = document.body.clientHeight, w = d.roomLabel, E = w.positionInImage.x * 100 + "%",
|
|
3059
|
-
let
|
|
3058
|
+
const A = document.body.clientWidth, b = document.body.clientHeight, w = d.roomLabel, E = w.positionInImage.x * 100 + "%", x = w.positionInImage.y * 100 + "%", I = (A < 500 || b < 500 ? 10 : 14) + "px";
|
|
3059
|
+
let L = 0, k = 0, O = !1;
|
|
3060
3060
|
h.subscribe(function(B) {
|
|
3061
3061
|
e(16, O = !!B && B.id === d.id);
|
|
3062
3062
|
});
|
|
3063
|
-
const
|
|
3064
|
-
e(4,
|
|
3065
|
-
},
|
|
3063
|
+
const W = (V) => {
|
|
3064
|
+
e(4, L = V.detail);
|
|
3065
|
+
}, _ = (V) => {
|
|
3066
3066
|
e(5, k = V.detail);
|
|
3067
3067
|
};
|
|
3068
3068
|
return i.$$set = (V) => {
|
|
3069
3069
|
"pxmm" in V && e(12, l = V.pxmm), "roomAreaEnable" in V && e(0, c = V.roomAreaEnable), "roomNameEnable" in V && e(1, u = V.roomNameEnable), "room" in V && e(2, d = V.room), "hoveredRoom" in V && e(13, h = V.hoveredRoom), "getRoomAreaText" in V && e(14, f = V.getRoomAreaText), "getLabelElement" in V && e(3, v = V.getLabelElement), "adaptiveRoomLabelVisibleEnable" in V && e(15, g = V.adaptiveRoomLabelVisibleEnable);
|
|
3070
3070
|
}, i.$$.update = () => {
|
|
3071
|
-
i.$$.dirty & 12 && e(8, n = v == null ? void 0 : v(d)), i.$$.dirty & 16388 && e(7, o = d.size ? f(d.size) : ""), i.$$.dirty & 48 && e(18, s = { width:
|
|
3071
|
+
i.$$.dirty & 12 && e(8, n = v == null ? void 0 : v(d)), i.$$.dirty & 16388 && e(7, o = d.size ? f(d.size) : ""), i.$$.dirty & 48 && e(18, s = { width: L, height: k }), i.$$.dirty & 262148 && e(17, r = s ? p(d, s) : void 0), i.$$.dirty & 233472 && e(6, a = g ? O ? !0 : !!(r != null && r(l)) : !0);
|
|
3072
3072
|
}, [
|
|
3073
3073
|
c,
|
|
3074
3074
|
u,
|
|
3075
3075
|
d,
|
|
3076
3076
|
v,
|
|
3077
|
-
|
|
3077
|
+
L,
|
|
3078
3078
|
k,
|
|
3079
3079
|
a,
|
|
3080
3080
|
o,
|
|
3081
3081
|
n,
|
|
3082
3082
|
E,
|
|
3083
|
-
|
|
3083
|
+
x,
|
|
3084
3084
|
I,
|
|
3085
3085
|
l,
|
|
3086
3086
|
h,
|
|
@@ -3089,8 +3089,8 @@ function kd(i, t, e) {
|
|
|
3089
3089
|
O,
|
|
3090
3090
|
r,
|
|
3091
3091
|
s,
|
|
3092
|
-
|
|
3093
|
-
|
|
3092
|
+
W,
|
|
3093
|
+
_
|
|
3094
3094
|
];
|
|
3095
3095
|
}
|
|
3096
3096
|
class xd extends oe {
|
|
@@ -3157,7 +3157,7 @@ function ts(i) {
|
|
|
3157
3157
|
},
|
|
3158
3158
|
o(c) {
|
|
3159
3159
|
for (let u = 0; u < e.length; u += 1)
|
|
3160
|
-
|
|
3160
|
+
D(e[u]);
|
|
3161
3161
|
o = !1;
|
|
3162
3162
|
},
|
|
3163
3163
|
d(c) {
|
|
@@ -3214,7 +3214,7 @@ function ns(i, t) {
|
|
|
3214
3214
|
o || (P(n.$$.fragment, a), o = !0);
|
|
3215
3215
|
},
|
|
3216
3216
|
o(a) {
|
|
3217
|
-
|
|
3217
|
+
D(n.$$.fragment, a), o = !1;
|
|
3218
3218
|
},
|
|
3219
3219
|
d(a) {
|
|
3220
3220
|
a && S(e), Z(n, a);
|
|
@@ -3231,7 +3231,7 @@ function Ld(i) {
|
|
|
3231
3231
|
n && n.m(o, s), M(o, t, s), e = !0;
|
|
3232
3232
|
},
|
|
3233
3233
|
p(o, [s]) {
|
|
3234
|
-
o[8] ? n ? (n.p(o, s), s & 256 && P(n, 1)) : (n = ts(o), n.c(), P(n, 1), n.m(t.parentNode, t)) : n && (se(),
|
|
3234
|
+
o[8] ? n ? (n.p(o, s), s & 256 && P(n, 1)) : (n = ts(o), n.c(), P(n, 1), n.m(t.parentNode, t)) : n && (se(), D(n, 1, 1, () => {
|
|
3235
3235
|
n = null;
|
|
3236
3236
|
}), re());
|
|
3237
3237
|
},
|
|
@@ -3239,7 +3239,7 @@ function Ld(i) {
|
|
|
3239
3239
|
e || (P(n), e = !0);
|
|
3240
3240
|
},
|
|
3241
3241
|
o(o) {
|
|
3242
|
-
|
|
3242
|
+
D(n), e = !1;
|
|
3243
3243
|
},
|
|
3244
3244
|
d(o) {
|
|
3245
3245
|
n && n.d(o), o && S(t);
|
|
@@ -3470,7 +3470,7 @@ function ls(i, t) {
|
|
|
3470
3470
|
o || (P(n.$$.fragment, a), o = !0);
|
|
3471
3471
|
},
|
|
3472
3472
|
o(a) {
|
|
3473
|
-
|
|
3473
|
+
D(n.$$.fragment, a), o = !1;
|
|
3474
3474
|
},
|
|
3475
3475
|
d(a) {
|
|
3476
3476
|
a && S(e), Z(n, a);
|
|
@@ -3509,7 +3509,7 @@ function Od(i) {
|
|
|
3509
3509
|
},
|
|
3510
3510
|
o(a) {
|
|
3511
3511
|
for (let l = 0; l < e.length; l += 1)
|
|
3512
|
-
|
|
3512
|
+
D(e[l]);
|
|
3513
3513
|
o = !1;
|
|
3514
3514
|
},
|
|
3515
3515
|
d(a) {
|
|
@@ -3709,7 +3709,7 @@ function $d(i) {
|
|
|
3709
3709
|
e || (P(t.$$.fragment, n), e = !0);
|
|
3710
3710
|
},
|
|
3711
3711
|
o(n) {
|
|
3712
|
-
|
|
3712
|
+
D(t.$$.fragment, n), e = !1;
|
|
3713
3713
|
},
|
|
3714
3714
|
d(n) {
|
|
3715
3715
|
Z(t, n);
|
|
@@ -3733,7 +3733,7 @@ function eh(i) {
|
|
|
3733
3733
|
e || (P(t.$$.fragment, n), e = !0);
|
|
3734
3734
|
},
|
|
3735
3735
|
o(n) {
|
|
3736
|
-
|
|
3736
|
+
D(t.$$.fragment, n), e = !1;
|
|
3737
3737
|
},
|
|
3738
3738
|
d(n) {
|
|
3739
3739
|
Z(t, n);
|
|
@@ -3757,7 +3757,7 @@ function th(i) {
|
|
|
3757
3757
|
e || (P(t.$$.fragment, n), e = !0);
|
|
3758
3758
|
},
|
|
3759
3759
|
o(n) {
|
|
3760
|
-
|
|
3760
|
+
D(t.$$.fragment, n), e = !1;
|
|
3761
3761
|
},
|
|
3762
3762
|
d(n) {
|
|
3763
3763
|
Z(t, n);
|
|
@@ -3779,7 +3779,7 @@ function hs(i) {
|
|
|
3779
3779
|
},
|
|
3780
3780
|
p(l, c) {
|
|
3781
3781
|
let u = e;
|
|
3782
|
-
e = a(l), e === u ? r[e].p(l, c) : (se(),
|
|
3782
|
+
e = a(l), e === u ? r[e].p(l, c) : (se(), D(r[u], 1, 1, () => {
|
|
3783
3783
|
r[u] = null;
|
|
3784
3784
|
}), re(), n = r[e], n ? n.p(l, c) : (n = r[e] = s[e](l), n.c()), P(n, 1), n.m(t, null));
|
|
3785
3785
|
},
|
|
@@ -3787,7 +3787,7 @@ function hs(i) {
|
|
|
3787
3787
|
o || (P(n), o = !0);
|
|
3788
3788
|
},
|
|
3789
3789
|
o(l) {
|
|
3790
|
-
|
|
3790
|
+
D(n), o = !1;
|
|
3791
3791
|
},
|
|
3792
3792
|
d(l) {
|
|
3793
3793
|
l && S(t), r[e].d();
|
|
@@ -3798,7 +3798,7 @@ function nh(i) {
|
|
|
3798
3798
|
let t, e, n = i[0], o = [];
|
|
3799
3799
|
for (let r = 0; r < n.length; r += 1)
|
|
3800
3800
|
o[r] = hs(ds(i, n, r));
|
|
3801
|
-
const s = (r) =>
|
|
3801
|
+
const s = (r) => D(o[r], 1, 1, () => {
|
|
3802
3802
|
o[r] = null;
|
|
3803
3803
|
});
|
|
3804
3804
|
return {
|
|
@@ -3837,7 +3837,7 @@ function nh(i) {
|
|
|
3837
3837
|
o(r) {
|
|
3838
3838
|
o = o.filter(Boolean);
|
|
3839
3839
|
for (let a = 0; a < o.length; a += 1)
|
|
3840
|
-
|
|
3840
|
+
D(o[a]);
|
|
3841
3841
|
e = !1;
|
|
3842
3842
|
},
|
|
3843
3843
|
d(r) {
|
|
@@ -3981,7 +3981,7 @@ function ms(i, t) {
|
|
|
3981
3981
|
o || (P(n.$$.fragment, a), o = !0);
|
|
3982
3982
|
},
|
|
3983
3983
|
o(a) {
|
|
3984
|
-
|
|
3984
|
+
D(n.$$.fragment, a), o = !1;
|
|
3985
3985
|
},
|
|
3986
3986
|
d(a) {
|
|
3987
3987
|
a && S(e), Z(n, a);
|
|
@@ -4020,7 +4020,7 @@ function uh(i) {
|
|
|
4020
4020
|
},
|
|
4021
4021
|
o(l) {
|
|
4022
4022
|
for (let c = 0; c < n.length; c += 1)
|
|
4023
|
-
|
|
4023
|
+
D(n[c]);
|
|
4024
4024
|
s = !1;
|
|
4025
4025
|
},
|
|
4026
4026
|
d(l) {
|
|
@@ -4100,7 +4100,7 @@ function ps(i) {
|
|
|
4100
4100
|
e || (P(t.$$.fragment, s), e = !0);
|
|
4101
4101
|
},
|
|
4102
4102
|
o(s) {
|
|
4103
|
-
|
|
4103
|
+
D(t.$$.fragment, s), e = !1;
|
|
4104
4104
|
},
|
|
4105
4105
|
d(s) {
|
|
4106
4106
|
Z(t, s);
|
|
@@ -4150,7 +4150,7 @@ function gs(i) {
|
|
|
4150
4150
|
e || (P(t.$$.fragment, s), e = !0);
|
|
4151
4151
|
},
|
|
4152
4152
|
o(s) {
|
|
4153
|
-
|
|
4153
|
+
D(t.$$.fragment, s), e = !1;
|
|
4154
4154
|
},
|
|
4155
4155
|
d(s) {
|
|
4156
4156
|
Z(t, s);
|
|
@@ -4190,7 +4190,7 @@ function As(i) {
|
|
|
4190
4190
|
e || (P(t.$$.fragment, s), e = !0);
|
|
4191
4191
|
},
|
|
4192
4192
|
o(s) {
|
|
4193
|
-
|
|
4193
|
+
D(t.$$.fragment, s), e = !1;
|
|
4194
4194
|
},
|
|
4195
4195
|
d(s) {
|
|
4196
4196
|
Z(t, s);
|
|
@@ -4235,7 +4235,7 @@ function fh(i) {
|
|
|
4235
4235
|
floorplanData: A[8]
|
|
4236
4236
|
}
|
|
4237
4237
|
]) : {};
|
|
4238
|
-
e.$set(w), A[2] || A[3] ? h ? (h.p(A, b), b & 12 && P(h, 1)) : (h = ps(A), h.c(), P(h, 1), h.m(t, o)) : h && (se(),
|
|
4238
|
+
e.$set(w), A[2] || A[3] ? h ? (h.p(A, b), b & 12 && P(h, 1)) : (h = ps(A), h.c(), P(h, 1), h.m(t, o)) : h && (se(), D(h, 1, 1, () => {
|
|
4239
4239
|
h = null;
|
|
4240
4240
|
}), re());
|
|
4241
4241
|
const E = b & 258 ? Re(f, [
|
|
@@ -4244,9 +4244,9 @@ function fh(i) {
|
|
|
4244
4244
|
floorIndex: A[1]
|
|
4245
4245
|
}
|
|
4246
4246
|
]) : {};
|
|
4247
|
-
s.$set(E), A[4] ? g ? (g.p(A, b), b & 16 && P(g, 1)) : (g = gs(A), g.c(), P(g, 1), g.m(t, a)) : g && (se(),
|
|
4247
|
+
s.$set(E), A[4] ? g ? (g.p(A, b), b & 16 && P(g, 1)) : (g = gs(A), g.c(), P(g, 1), g.m(t, a)) : g && (se(), D(g, 1, 1, () => {
|
|
4248
4248
|
g = null;
|
|
4249
|
-
}), re()), A[7] ? p ? (p.p(A, b), b & 128 && P(p, 1)) : (p = As(A), p.c(), P(p, 1), p.m(t, null)) : p && (se(),
|
|
4249
|
+
}), re()), A[7] ? p ? (p.p(A, b), b & 128 && P(p, 1)) : (p = As(A), p.c(), P(p, 1), p.m(t, null)) : p && (se(), D(p, 1, 1, () => {
|
|
4250
4250
|
p = null;
|
|
4251
4251
|
}), re()), (!c || b & 1 && l !== (l = Me(`floorplan-plugin__floor${A[0] ? " floorplan-plugin__floor--is-current" : ""}`) + " svelte-bl8zrz")) && y(t, "class", l);
|
|
4252
4252
|
},
|
|
@@ -4254,7 +4254,7 @@ function fh(i) {
|
|
|
4254
4254
|
c || (P(e.$$.fragment, A), P(h), P(s.$$.fragment, A), P(g), P(p), c = !0);
|
|
4255
4255
|
},
|
|
4256
4256
|
o(A) {
|
|
4257
|
-
|
|
4257
|
+
D(e.$$.fragment, A), D(h), D(s.$$.fragment, A), D(g), D(p), c = !1;
|
|
4258
4258
|
},
|
|
4259
4259
|
d(A) {
|
|
4260
4260
|
A && S(t), Z(e), h && h.d(), Z(s), g && g.d(), p && p.d();
|
|
@@ -4323,7 +4323,7 @@ function bs(i) {
|
|
|
4323
4323
|
let t, e, n, o, s, r = i[13].floorDatas, a = [];
|
|
4324
4324
|
for (let d = 0; d < r.length; d += 1)
|
|
4325
4325
|
a[d] = ys(vs(i, r, d));
|
|
4326
|
-
const l = (d) =>
|
|
4326
|
+
const l = (d) => D(a[d], 1, 1, () => {
|
|
4327
4327
|
a[d] = null;
|
|
4328
4328
|
});
|
|
4329
4329
|
let c = i[5] && ws(i), u = i[8] && Es(i);
|
|
@@ -4352,9 +4352,9 @@ function bs(i) {
|
|
|
4352
4352
|
l(f);
|
|
4353
4353
|
re();
|
|
4354
4354
|
}
|
|
4355
|
-
i[5] ? c ? (c.p(i, h), h & 32 && P(c, 1)) : (c = ws(i), c.c(), P(c, 1), c.m(t, n)) : c && (se(),
|
|
4355
|
+
i[5] ? c ? (c.p(i, h), h & 32 && P(c, 1)) : (c = ws(i), c.c(), P(c, 1), c.m(t, n)) : c && (se(), D(c, 1, 1, () => {
|
|
4356
4356
|
c = null;
|
|
4357
|
-
}), re()), i[8] ? u ? (u.p(i, h), h & 256 && P(u, 1)) : (u = Es(i), u.c(), P(u, 1), u.m(t, null)) : u && (se(),
|
|
4357
|
+
}), re()), i[8] ? u ? (u.p(i, h), h & 256 && P(u, 1)) : (u = Es(i), u.c(), P(u, 1), u.m(t, null)) : u && (se(), D(u, 1, 1, () => {
|
|
4358
4358
|
u = null;
|
|
4359
4359
|
}), re());
|
|
4360
4360
|
},
|
|
@@ -4373,8 +4373,8 @@ function bs(i) {
|
|
|
4373
4373
|
o(d) {
|
|
4374
4374
|
a = a.filter(Boolean);
|
|
4375
4375
|
for (let h = 0; h < a.length; h += 1)
|
|
4376
|
-
|
|
4377
|
-
|
|
4376
|
+
D(a[h]);
|
|
4377
|
+
D(c), D(u), s = !1;
|
|
4378
4378
|
},
|
|
4379
4379
|
d(d) {
|
|
4380
4380
|
d && S(t), ut(a, d), c && c.d(), u && u.d();
|
|
@@ -4444,7 +4444,7 @@ function ys(i) {
|
|
|
4444
4444
|
e || (P(t.$$.fragment, s), e = !0);
|
|
4445
4445
|
},
|
|
4446
4446
|
o(s) {
|
|
4447
|
-
|
|
4447
|
+
D(t.$$.fragment, s), e = !1;
|
|
4448
4448
|
},
|
|
4449
4449
|
d(s) {
|
|
4450
4450
|
Z(t, s);
|
|
@@ -4486,7 +4486,7 @@ function ws(i) {
|
|
|
4486
4486
|
e || (P(t.$$.fragment, s), e = !0);
|
|
4487
4487
|
},
|
|
4488
4488
|
o(s) {
|
|
4489
|
-
|
|
4489
|
+
D(t.$$.fragment, s), e = !1;
|
|
4490
4490
|
},
|
|
4491
4491
|
d(s) {
|
|
4492
4492
|
Z(t, s);
|
|
@@ -4515,7 +4515,7 @@ function Es(i) {
|
|
|
4515
4515
|
e || (P(t.$$.fragment, n), e = !0);
|
|
4516
4516
|
},
|
|
4517
4517
|
o(n) {
|
|
4518
|
-
|
|
4518
|
+
D(t.$$.fragment, n), e = !1;
|
|
4519
4519
|
},
|
|
4520
4520
|
d(n) {
|
|
4521
4521
|
Z(t, n);
|
|
@@ -4532,7 +4532,7 @@ function Ah(i) {
|
|
|
4532
4532
|
n && n.m(o, s), M(o, t, s), e = !0;
|
|
4533
4533
|
},
|
|
4534
4534
|
p(o, [s]) {
|
|
4535
|
-
o[1] ? n ? (n.p(o, s), s & 2 && P(n, 1)) : (n = bs(o), n.c(), P(n, 1), n.m(t.parentNode, t)) : n && (se(),
|
|
4535
|
+
o[1] ? n ? (n.p(o, s), s & 2 && P(n, 1)) : (n = bs(o), n.c(), P(n, 1), n.m(t.parentNode, t)) : n && (se(), D(n, 1, 1, () => {
|
|
4536
4536
|
n = null;
|
|
4537
4537
|
}), re());
|
|
4538
4538
|
},
|
|
@@ -4540,7 +4540,7 @@ function Ah(i) {
|
|
|
4540
4540
|
e || (P(n), e = !0);
|
|
4541
4541
|
},
|
|
4542
4542
|
o(o) {
|
|
4543
|
-
|
|
4543
|
+
D(n), e = !1;
|
|
4544
4544
|
},
|
|
4545
4545
|
d(o) {
|
|
4546
4546
|
n && n.d(o), o && S(t);
|
|
@@ -4548,9 +4548,9 @@ function Ah(i) {
|
|
|
4548
4548
|
};
|
|
4549
4549
|
}
|
|
4550
4550
|
function vh(i, t, e) {
|
|
4551
|
-
let { duration: n = 0 } = t, { visible: o } = t, { northDesc: s } = t, { panoIndex: r } = t, { floorIndex: a } = t, { cameraEnable: l } = t, { hoverEnable: c } = t, { highlightEnable: u } = t, { compassEnable: d } = t, { roomLabelsEnable: h } = t, { roomAreaEnable: f } = t, { roomNameEnable: v } = t, { ruleLabelsEnable: g } = t, { floorplanData: p } = t, { lastPanoramaLongitude: A } = t, { cameraImageUrl: b } = t, { getRoomAreaText: w } = t, { getLabelElement: E } = t, { getRuleDistanceText:
|
|
4551
|
+
let { duration: n = 0 } = t, { visible: o } = t, { northDesc: s } = t, { panoIndex: r } = t, { floorIndex: a } = t, { cameraEnable: l } = t, { hoverEnable: c } = t, { highlightEnable: u } = t, { compassEnable: d } = t, { roomLabelsEnable: h } = t, { roomAreaEnable: f } = t, { roomNameEnable: v } = t, { ruleLabelsEnable: g } = t, { floorplanData: p } = t, { lastPanoramaLongitude: A } = t, { cameraImageUrl: b } = t, { getRoomAreaText: w } = t, { getLabelElement: E } = t, { getRuleDistanceText: x } = t, { adaptiveRoomLabelVisibleEnable: I } = t, { highlightData: L } = t;
|
|
4552
4552
|
return i.$$set = (k) => {
|
|
4553
|
-
"duration" in k && e(0, n = k.duration), "visible" in k && e(1, o = k.visible), "northDesc" in k && e(2, s = k.northDesc), "panoIndex" in k && e(3, r = k.panoIndex), "floorIndex" in k && e(4, a = k.floorIndex), "cameraEnable" in k && e(5, l = k.cameraEnable), "hoverEnable" in k && e(6, c = k.hoverEnable), "highlightEnable" in k && e(7, u = k.highlightEnable), "compassEnable" in k && e(8, d = k.compassEnable), "roomLabelsEnable" in k && e(9, h = k.roomLabelsEnable), "roomAreaEnable" in k && e(10, f = k.roomAreaEnable), "roomNameEnable" in k && e(11, v = k.roomNameEnable), "ruleLabelsEnable" in k && e(12, g = k.ruleLabelsEnable), "floorplanData" in k && e(13, p = k.floorplanData), "lastPanoramaLongitude" in k && e(14, A = k.lastPanoramaLongitude), "cameraImageUrl" in k && e(15, b = k.cameraImageUrl), "getRoomAreaText" in k && e(16, w = k.getRoomAreaText), "getLabelElement" in k && e(17, E = k.getLabelElement), "getRuleDistanceText" in k && e(18,
|
|
4553
|
+
"duration" in k && e(0, n = k.duration), "visible" in k && e(1, o = k.visible), "northDesc" in k && e(2, s = k.northDesc), "panoIndex" in k && e(3, r = k.panoIndex), "floorIndex" in k && e(4, a = k.floorIndex), "cameraEnable" in k && e(5, l = k.cameraEnable), "hoverEnable" in k && e(6, c = k.hoverEnable), "highlightEnable" in k && e(7, u = k.highlightEnable), "compassEnable" in k && e(8, d = k.compassEnable), "roomLabelsEnable" in k && e(9, h = k.roomLabelsEnable), "roomAreaEnable" in k && e(10, f = k.roomAreaEnable), "roomNameEnable" in k && e(11, v = k.roomNameEnable), "ruleLabelsEnable" in k && e(12, g = k.ruleLabelsEnable), "floorplanData" in k && e(13, p = k.floorplanData), "lastPanoramaLongitude" in k && e(14, A = k.lastPanoramaLongitude), "cameraImageUrl" in k && e(15, b = k.cameraImageUrl), "getRoomAreaText" in k && e(16, w = k.getRoomAreaText), "getLabelElement" in k && e(17, E = k.getLabelElement), "getRuleDistanceText" in k && e(18, x = k.getRuleDistanceText), "adaptiveRoomLabelVisibleEnable" in k && e(19, I = k.adaptiveRoomLabelVisibleEnable), "highlightData" in k && e(20, L = k.highlightData);
|
|
4554
4554
|
}, [
|
|
4555
4555
|
n,
|
|
4556
4556
|
o,
|
|
@@ -4570,9 +4570,9 @@ function vh(i, t, e) {
|
|
|
4570
4570
|
b,
|
|
4571
4571
|
w,
|
|
4572
4572
|
E,
|
|
4573
|
-
|
|
4573
|
+
x,
|
|
4574
4574
|
I,
|
|
4575
|
-
|
|
4575
|
+
L
|
|
4576
4576
|
];
|
|
4577
4577
|
}
|
|
4578
4578
|
class wo extends oe {
|
|
@@ -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.
|
|
4721
|
+
m(this, "VERSION", "2.14.3-alpha.0");
|
|
4722
4722
|
m(this, "five");
|
|
4723
4723
|
m(this, "hooks", new Zt());
|
|
4724
4724
|
m(this, "staticPrefix", "//vrlab-static.ljcdn.com");
|
|
@@ -5649,8 +5649,8 @@ function Qh(i, t, e) {
|
|
|
5649
5649
|
const p = v.bounding, A = v.observers[g];
|
|
5650
5650
|
if (!A)
|
|
5651
5651
|
return "";
|
|
5652
|
-
const b = (p.max.x - p.min.x) * r, w = (p.max.y - p.min.y) * r, E = Math.floor(A.positionInImage.x * b),
|
|
5653
|
-
return `translate(${E}px, ${
|
|
5652
|
+
const b = (p.max.x - p.min.x) * r, w = (p.max.y - p.min.y) * r, E = Math.floor(A.positionInImage.x * b), x = Math.floor(A.positionInImage.y * w);
|
|
5653
|
+
return `translate(${E}px, ${x}px)`;
|
|
5654
5654
|
}
|
|
5655
5655
|
function h(v) {
|
|
5656
5656
|
e(6, c = v);
|
|
@@ -5772,7 +5772,8 @@ function ks(i) {
|
|
|
5772
5772
|
pxmm: i[1],
|
|
5773
5773
|
floorIndex: i[2],
|
|
5774
5774
|
floorplanData: i[4],
|
|
5775
|
-
onRoomHeightClick: i[
|
|
5775
|
+
onRoomHeightClick: i[7],
|
|
5776
|
+
highlightData: i[5]
|
|
5776
5777
|
}
|
|
5777
5778
|
];
|
|
5778
5779
|
let o = {};
|
|
@@ -5786,13 +5787,14 @@ function ks(i) {
|
|
|
5786
5787
|
J(t, s, r), e = !0;
|
|
5787
5788
|
},
|
|
5788
5789
|
p(s, r) {
|
|
5789
|
-
const a = r &
|
|
5790
|
+
const a = r & 183 ? Re(n, [
|
|
5790
5791
|
{
|
|
5791
5792
|
five: s[0],
|
|
5792
5793
|
pxmm: s[1],
|
|
5793
5794
|
floorIndex: s[2],
|
|
5794
5795
|
floorplanData: s[4],
|
|
5795
|
-
onRoomHeightClick: s[
|
|
5796
|
+
onRoomHeightClick: s[7],
|
|
5797
|
+
highlightData: s[5]
|
|
5796
5798
|
}
|
|
5797
5799
|
]) : {};
|
|
5798
5800
|
t.$set(a);
|
|
@@ -5801,7 +5803,7 @@ function ks(i) {
|
|
|
5801
5803
|
e || (P(t.$$.fragment, s), e = !0);
|
|
5802
5804
|
},
|
|
5803
5805
|
o(s) {
|
|
5804
|
-
|
|
5806
|
+
D(t.$$.fragment, s), e = !1;
|
|
5805
5807
|
},
|
|
5806
5808
|
d(s) {
|
|
5807
5809
|
Z(t, s);
|
|
@@ -5821,7 +5823,7 @@ function _h(i) {
|
|
|
5821
5823
|
l = ze(l, a[u]);
|
|
5822
5824
|
t = new rl({ props: l }), n = new Wh({
|
|
5823
5825
|
props: {
|
|
5824
|
-
extraObjects: i[
|
|
5826
|
+
extraObjects: i[6]
|
|
5825
5827
|
}
|
|
5826
5828
|
});
|
|
5827
5829
|
let c = i[3] && ks(i);
|
|
@@ -5841,7 +5843,7 @@ function _h(i) {
|
|
|
5841
5843
|
]) : {};
|
|
5842
5844
|
t.$set(h);
|
|
5843
5845
|
const f = {};
|
|
5844
|
-
d &
|
|
5846
|
+
d & 64 && (f.extraObjects = u[6]), n.$set(f), u[3] ? c ? (c.p(u, d), d & 8 && P(c, 1)) : (c = ks(u), c.c(), P(c, 1), c.m(s.parentNode, s)) : c && (se(), D(c, 1, 1, () => {
|
|
5845
5847
|
c = null;
|
|
5846
5848
|
}), re());
|
|
5847
5849
|
},
|
|
@@ -5849,7 +5851,7 @@ function _h(i) {
|
|
|
5849
5851
|
r || (P(t.$$.fragment, u), P(n.$$.fragment, u), P(c), r = !0);
|
|
5850
5852
|
},
|
|
5851
5853
|
o(u) {
|
|
5852
|
-
|
|
5854
|
+
D(t.$$.fragment, u), D(n.$$.fragment, u), D(c), r = !1;
|
|
5853
5855
|
},
|
|
5854
5856
|
d(u) {
|
|
5855
5857
|
Z(t, u), u && S(e), Z(n, u), u && S(o), c && c.d(u), u && S(s);
|
|
@@ -5857,20 +5859,21 @@ function _h(i) {
|
|
|
5857
5859
|
};
|
|
5858
5860
|
}
|
|
5859
5861
|
function Nh(i, t, e) {
|
|
5860
|
-
let n, { five: o } = t, { pxmm: s } = t, { floorIndex: r } = t, { hoverEnable: a } = t, { floorplanData: l } = t, { extraObjects: c = [] } = t;
|
|
5861
|
-
const
|
|
5862
|
-
return i.$$set = (
|
|
5863
|
-
"five" in
|
|
5862
|
+
let n, { five: o } = t, { pxmm: s } = t, { floorIndex: r } = t, { hoverEnable: a } = t, { floorplanData: l } = t, { extraObjects: c = [] } = t, { highlightData: u } = t;
|
|
5863
|
+
const d = void 0;
|
|
5864
|
+
return i.$$set = (h) => {
|
|
5865
|
+
"five" in h && e(0, o = h.five), "pxmm" in h && e(1, s = h.pxmm), "floorIndex" in h && e(2, r = h.floorIndex), "hoverEnable" in h && e(3, a = h.hoverEnable), "floorplanData" in h && e(4, l = h.floorplanData), "extraObjects" in h && e(8, c = h.extraObjects), "highlightData" in h && e(5, u = h.highlightData);
|
|
5864
5866
|
}, i.$$.update = () => {
|
|
5865
|
-
i.$$.dirty &
|
|
5867
|
+
i.$$.dirty & 260 && e(6, n = c == null ? void 0 : c.filter((h) => h.floorIndex === r));
|
|
5866
5868
|
}, [
|
|
5867
5869
|
o,
|
|
5868
5870
|
s,
|
|
5869
5871
|
r,
|
|
5870
5872
|
a,
|
|
5871
5873
|
l,
|
|
5872
|
-
n,
|
|
5873
5874
|
u,
|
|
5875
|
+
n,
|
|
5876
|
+
d,
|
|
5874
5877
|
c
|
|
5875
5878
|
];
|
|
5876
5879
|
}
|
|
@@ -5882,7 +5885,8 @@ class Xh extends oe {
|
|
|
5882
5885
|
floorIndex: 2,
|
|
5883
5886
|
hoverEnable: 3,
|
|
5884
5887
|
floorplanData: 4,
|
|
5885
|
-
extraObjects:
|
|
5888
|
+
extraObjects: 8,
|
|
5889
|
+
highlightData: 5
|
|
5886
5890
|
});
|
|
5887
5891
|
}
|
|
5888
5892
|
}
|
|
@@ -5890,7 +5894,7 @@ function Yh(i) {
|
|
|
5890
5894
|
le(i, "svelte-1mvqyqq", ".plugin-floorplan-radar.svelte-1mvqyqq{width:100%;height:100%;display:flex;justify-content:center;align-items:center}.plugin-floorplan-radar-container.svelte-1mvqyqq{position:relative}");
|
|
5891
5895
|
}
|
|
5892
5896
|
function xs(i) {
|
|
5893
|
-
let t, e, n, o, s = i[
|
|
5897
|
+
let t, e, n, o, s = i[7] !== 0 && Ds(i);
|
|
5894
5898
|
return {
|
|
5895
5899
|
c() {
|
|
5896
5900
|
t = z("div"), s && s.c(), y(t, "class", "plugin-floorplan-radar svelte-1mvqyqq");
|
|
@@ -5898,12 +5902,12 @@ function xs(i) {
|
|
|
5898
5902
|
m(r, a) {
|
|
5899
5903
|
M(r, t, a), s && s.m(t, null), e = !0, n || (o = [
|
|
5900
5904
|
ct(rn.call(null, t)),
|
|
5901
|
-
ge(t, "clientWidth", i[
|
|
5902
|
-
ge(t, "clientHeight", i[
|
|
5905
|
+
ge(t, "clientWidth", i[13]),
|
|
5906
|
+
ge(t, "clientHeight", i[14])
|
|
5903
5907
|
], n = !0);
|
|
5904
5908
|
},
|
|
5905
5909
|
p(r, a) {
|
|
5906
|
-
r[
|
|
5910
|
+
r[7] !== 0 ? s ? (s.p(r, a), a & 128 && P(s, 1)) : (s = Ds(r), s.c(), P(s, 1), s.m(t, null)) : s && (se(), D(s, 1, 1, () => {
|
|
5907
5911
|
s = null;
|
|
5908
5912
|
}), re());
|
|
5909
5913
|
},
|
|
@@ -5911,7 +5915,7 @@ function xs(i) {
|
|
|
5911
5915
|
e || (P(s), e = !0);
|
|
5912
5916
|
},
|
|
5913
5917
|
o(r) {
|
|
5914
|
-
|
|
5918
|
+
D(s), e = !1;
|
|
5915
5919
|
},
|
|
5916
5920
|
d(r) {
|
|
5917
5921
|
r && S(t), s && s.d(), n = !1, He(o);
|
|
@@ -5919,15 +5923,16 @@ function xs(i) {
|
|
|
5919
5923
|
};
|
|
5920
5924
|
}
|
|
5921
5925
|
function Ds(i) {
|
|
5922
|
-
let t, e, n, o, s = `${i[
|
|
5926
|
+
let t, e, n, o, s = `${i[9]}px`, r = `${i[12]}px`, a;
|
|
5923
5927
|
const l = [
|
|
5924
5928
|
{
|
|
5925
5929
|
five: i[0],
|
|
5926
|
-
pxmm: i[
|
|
5927
|
-
floorIndex: i[
|
|
5930
|
+
pxmm: i[10],
|
|
5931
|
+
floorIndex: i[11],
|
|
5928
5932
|
floorplanData: i[3],
|
|
5929
5933
|
hoverEnable: i[2],
|
|
5930
|
-
extraObjects: i[5]
|
|
5934
|
+
extraObjects: i[5],
|
|
5935
|
+
highlightData: i[6]
|
|
5931
5936
|
}
|
|
5932
5937
|
];
|
|
5933
5938
|
let c = {};
|
|
@@ -5936,7 +5941,7 @@ function Ds(i) {
|
|
|
5936
5941
|
e = new Xh({ props: c });
|
|
5937
5942
|
const u = [
|
|
5938
5943
|
{
|
|
5939
|
-
pxmm: i[
|
|
5944
|
+
pxmm: i[10],
|
|
5940
5945
|
five: i[0],
|
|
5941
5946
|
floorplanData: i[3],
|
|
5942
5947
|
cameraImageUrl: i[4]
|
|
@@ -5953,32 +5958,33 @@ function Ds(i) {
|
|
|
5953
5958
|
M(h, t, f), J(e, t, null), j(t, n), J(o, t, null), a = !0;
|
|
5954
5959
|
},
|
|
5955
5960
|
p(h, f) {
|
|
5956
|
-
const v = f &
|
|
5961
|
+
const v = f & 3181 ? Re(l, [
|
|
5957
5962
|
{
|
|
5958
5963
|
five: h[0],
|
|
5959
|
-
pxmm: h[
|
|
5960
|
-
floorIndex: h[
|
|
5964
|
+
pxmm: h[10],
|
|
5965
|
+
floorIndex: h[11],
|
|
5961
5966
|
floorplanData: h[3],
|
|
5962
5967
|
hoverEnable: h[2],
|
|
5963
|
-
extraObjects: h[5]
|
|
5968
|
+
extraObjects: h[5],
|
|
5969
|
+
highlightData: h[6]
|
|
5964
5970
|
}
|
|
5965
5971
|
]) : {};
|
|
5966
5972
|
e.$set(v);
|
|
5967
|
-
const g = f &
|
|
5973
|
+
const g = f & 1049 ? Re(u, [
|
|
5968
5974
|
{
|
|
5969
|
-
pxmm: h[
|
|
5975
|
+
pxmm: h[10],
|
|
5970
5976
|
five: h[0],
|
|
5971
5977
|
floorplanData: h[3],
|
|
5972
5978
|
cameraImageUrl: h[4]
|
|
5973
5979
|
}
|
|
5974
5980
|
]) : {};
|
|
5975
|
-
o.$set(g), f &
|
|
5981
|
+
o.$set(g), f & 512 && s !== (s = `${h[9]}px`) && T(t, "width", s), f & 4096 && r !== (r = `${h[12]}px`) && T(t, "height", r);
|
|
5976
5982
|
},
|
|
5977
5983
|
i(h) {
|
|
5978
5984
|
a || (P(e.$$.fragment, h), P(o.$$.fragment, h), a = !0);
|
|
5979
5985
|
},
|
|
5980
5986
|
o(h) {
|
|
5981
|
-
|
|
5987
|
+
D(e.$$.fragment, h), D(o.$$.fragment, h), a = !1;
|
|
5982
5988
|
},
|
|
5983
5989
|
d(h) {
|
|
5984
5990
|
h && S(t), Z(e), Z(o);
|
|
@@ -5995,7 +6001,7 @@ function Uh(i) {
|
|
|
5995
6001
|
n && n.m(o, s), M(o, t, s), e = !0;
|
|
5996
6002
|
},
|
|
5997
6003
|
p(o, [s]) {
|
|
5998
|
-
o[1] ? n ? (n.p(o, s), s & 2 && P(n, 1)) : (n = xs(o), n.c(), P(n, 1), n.m(t.parentNode, t)) : n && (se(),
|
|
6004
|
+
o[1] ? n ? (n.p(o, s), s & 2 && P(n, 1)) : (n = xs(o), n.c(), P(n, 1), n.m(t.parentNode, t)) : n && (se(), D(n, 1, 1, () => {
|
|
5999
6005
|
n = null;
|
|
6000
6006
|
}), re());
|
|
6001
6007
|
},
|
|
@@ -6003,7 +6009,7 @@ function Uh(i) {
|
|
|
6003
6009
|
e || (P(n), e = !0);
|
|
6004
6010
|
},
|
|
6005
6011
|
o(o) {
|
|
6006
|
-
|
|
6012
|
+
D(n), e = !1;
|
|
6007
6013
|
},
|
|
6008
6014
|
d(o) {
|
|
6009
6015
|
n && n.d(o), o && S(t);
|
|
@@ -6011,27 +6017,27 @@ function Uh(i) {
|
|
|
6011
6017
|
};
|
|
6012
6018
|
}
|
|
6013
6019
|
function qh(i, t, e) {
|
|
6014
|
-
var
|
|
6015
|
-
let { five: n } = t, { visible: o } = t, { hoverEnable: s } = t, { floorplanData: r } = t, { cameraImageUrl: a } = t, { extraObjects: l = [] } = t, c =
|
|
6016
|
-
function
|
|
6017
|
-
e(
|
|
6020
|
+
var w, E;
|
|
6021
|
+
let { five: n } = t, { visible: o } = t, { hoverEnable: s } = t, { floorplanData: r } = t, { cameraImageUrl: a } = t, { extraObjects: l = [] } = t, { highlightData: c } = t, u = 0, d = (E = (w = n.work.observers[n.getCurrentState().panoIndex]) == null ? void 0 : w.floorIndex) != null ? E : 0, h = 0, f = 0, v = 0, g = 0;
|
|
6022
|
+
function p(x) {
|
|
6023
|
+
e(11, d = n.work.observers[x].floorIndex);
|
|
6018
6024
|
}
|
|
6019
|
-
Ze(() => (n.on("panoArrived",
|
|
6020
|
-
n.off("panoArrived",
|
|
6025
|
+
Ze(() => (n.on("panoArrived", p), () => {
|
|
6026
|
+
n.off("panoArrived", p);
|
|
6021
6027
|
}));
|
|
6022
|
-
const
|
|
6023
|
-
e(
|
|
6024
|
-
},
|
|
6025
|
-
e(
|
|
6028
|
+
const A = (x) => {
|
|
6029
|
+
e(7, h = x.detail);
|
|
6030
|
+
}, b = (x) => {
|
|
6031
|
+
e(8, f = x.detail);
|
|
6026
6032
|
};
|
|
6027
|
-
return i.$$set = (
|
|
6028
|
-
"five" in
|
|
6033
|
+
return i.$$set = (x) => {
|
|
6034
|
+
"five" in x && e(0, n = x.five), "visible" in x && e(1, o = x.visible), "hoverEnable" in x && e(2, s = x.hoverEnable), "floorplanData" in x && e(3, r = x.floorplanData), "cameraImageUrl" in x && e(4, a = x.cameraImageUrl), "extraObjects" in x && e(5, l = x.extraObjects), "highlightData" in x && e(6, c = x.highlightData);
|
|
6029
6035
|
}, i.$$.update = () => {
|
|
6030
|
-
if (i.$$.dirty &
|
|
6031
|
-
const
|
|
6032
|
-
return
|
|
6036
|
+
if (i.$$.dirty & 904) {
|
|
6037
|
+
const x = Math.min(h, f), { max: I, min: L } = r.bounding, k = I.x - L.x, O = I.y - L.y, W = function() {
|
|
6038
|
+
return k > O ? [x, x / k * O] : [x / O * k, x];
|
|
6033
6039
|
}();
|
|
6034
|
-
e(
|
|
6040
|
+
e(9, v = W[0]), e(12, g = W[1]), e(10, u = v / k);
|
|
6035
6041
|
}
|
|
6036
6042
|
}, [
|
|
6037
6043
|
n,
|
|
@@ -6040,14 +6046,15 @@ function qh(i, t, e) {
|
|
|
6040
6046
|
r,
|
|
6041
6047
|
a,
|
|
6042
6048
|
l,
|
|
6043
|
-
|
|
6049
|
+
c,
|
|
6044
6050
|
h,
|
|
6045
6051
|
f,
|
|
6046
|
-
c,
|
|
6047
|
-
u,
|
|
6048
6052
|
v,
|
|
6049
|
-
|
|
6050
|
-
|
|
6053
|
+
u,
|
|
6054
|
+
d,
|
|
6055
|
+
g,
|
|
6056
|
+
A,
|
|
6057
|
+
b
|
|
6051
6058
|
];
|
|
6052
6059
|
}
|
|
6053
6060
|
class Jh extends oe {
|
|
@@ -6064,7 +6071,8 @@ class Jh extends oe {
|
|
|
6064
6071
|
hoverEnable: 2,
|
|
6065
6072
|
floorplanData: 3,
|
|
6066
6073
|
cameraImageUrl: 4,
|
|
6067
|
-
extraObjects: 5
|
|
6074
|
+
extraObjects: 5,
|
|
6075
|
+
highlightData: 6
|
|
6068
6076
|
},
|
|
6069
6077
|
Yh
|
|
6070
6078
|
);
|
|
@@ -6081,10 +6089,17 @@ class Zh extends zt {
|
|
|
6081
6089
|
m(this, "wrapper", null);
|
|
6082
6090
|
m(this, "disposed", !1);
|
|
6083
6091
|
m(this, "extraObjects", []);
|
|
6092
|
+
m(this, "highlightData", {});
|
|
6084
6093
|
m(this, "dispose", () => {
|
|
6085
6094
|
var e;
|
|
6086
6095
|
this.disposed = !0, (e = this.app) == null || e.$destroy(), this.wrapper = null, this.wrapperSelector = "", this.hooks.emit("dispose");
|
|
6087
6096
|
});
|
|
6097
|
+
m(this, "highlight", (e) => {
|
|
6098
|
+
!this.state.config.highlightEnable || (this.highlightData = e, this.render());
|
|
6099
|
+
});
|
|
6100
|
+
m(this, "unhighlight", () => {
|
|
6101
|
+
this.highlightData = {}, this.render();
|
|
6102
|
+
});
|
|
6088
6103
|
m(this, "_disable", (e) => {
|
|
6089
6104
|
var o;
|
|
6090
6105
|
const { userAction: n } = e;
|
|
@@ -6092,7 +6107,8 @@ class Zh extends zt {
|
|
|
6092
6107
|
});
|
|
6093
6108
|
this.five = e;
|
|
6094
6109
|
const o = {
|
|
6095
|
-
hoverEnable: !
|
|
6110
|
+
hoverEnable: !0,
|
|
6111
|
+
highlightEnable: !0,
|
|
6096
6112
|
cameraImageUrl: bt
|
|
6097
6113
|
}, s = n != null && n.configs ? n.configs : {}, r = Q(Q({}, o), s);
|
|
6098
6114
|
this.state = { enabled: !0, visible: !0, config: r }, n != null && n.wrapper && console.warn("\u4E0D\u63A8\u8350\u7EE7\u7EED\u4F7F\u7528 params.selector \u914D\u7F6E\u7236\u5BB9\u5668\uFF0C\u8BF7\u4F7F\u7528 appendTo \u65B9\u6CD5"), typeof (n == null ? void 0 : n.wrapper) == "string" ? this.wrapperSelector = n.wrapper : (n == null ? void 0 : n.wrapper) instanceof Element && (this.wrapper = n.wrapper), e.once("dispose", this.dispose);
|
|
@@ -6192,7 +6208,8 @@ class Zh extends zt {
|
|
|
6192
6208
|
five: this.five,
|
|
6193
6209
|
floorplanData: this.data,
|
|
6194
6210
|
visible: this.state.visible,
|
|
6195
|
-
extraObjects: this.extraObjects
|
|
6211
|
+
extraObjects: this.extraObjects,
|
|
6212
|
+
highlightData: this.highlightData
|
|
6196
6213
|
});
|
|
6197
6214
|
this.app ? this.app.$set(e) : this.app = new Jh({ target: this.wrapper, props: e });
|
|
6198
6215
|
}
|
|
@@ -6331,14 +6348,14 @@ const xb = (i, t) => {
|
|
|
6331
6348
|
const E = [0, f - Math.PI / 2, 0], {
|
|
6332
6349
|
model: {
|
|
6333
6350
|
bounding: {
|
|
6334
|
-
max: { x
|
|
6335
|
-
min: { x:
|
|
6351
|
+
max: { x, z: I },
|
|
6352
|
+
min: { x: L, y: k, z: O }
|
|
6336
6353
|
}
|
|
6337
6354
|
}
|
|
6338
6355
|
} = i;
|
|
6339
6356
|
o.yBase = k;
|
|
6340
|
-
const
|
|
6341
|
-
return Kh(w, { position:
|
|
6357
|
+
const W = { x: (x + L) / 2, y: k - 1.6, z: (I + O) / 2 }, _ = 45e-4 * A;
|
|
6358
|
+
return Kh(w, { position: W, rotation: E, scale: _ }), o.object = w, !0;
|
|
6342
6359
|
}), r = ({ latitude: d }) => {
|
|
6343
6360
|
if (!o.object)
|
|
6344
6361
|
return;
|
|
@@ -6372,20 +6389,20 @@ function $h(i, t) {
|
|
|
6372
6389
|
const ef = ({ x: i, y: t, z: e }) => new U(i, t, e), Db = (i, t) => {
|
|
6373
6390
|
var g, p, A;
|
|
6374
6391
|
const e = {}, n = (g = t.animationEnabled) != null ? g : !0, o = (p = t.position) != null ? p : void 0, s = (A = t.rad) != null ? A : void 0, r = t.fbx_url || "//vrlab-image4.ljcdn.com/release/web/entryDoorMini/Anim_Door1.fbx", a = [], l = (b) => F(void 0, null, function* () {
|
|
6375
|
-
var
|
|
6376
|
-
const w = (
|
|
6392
|
+
var W, _, V, B, R, G, X, H;
|
|
6393
|
+
const w = (W = b == null ? void 0 : b.position) != null ? W : o;
|
|
6377
6394
|
if (!w)
|
|
6378
6395
|
return Promise.reject(new Error("ModelEntryDoorGuidePlugin.load(): position is undefined"));
|
|
6379
|
-
const E = ef(w),
|
|
6380
|
-
if (e.rad =
|
|
6381
|
-
return Promise.reject(new Error(`ModelEntryDoorGuidePlugin.load(): rad is ${
|
|
6382
|
-
const
|
|
6383
|
-
|
|
6384
|
-
const k = (X = (G = (R = (B =
|
|
6396
|
+
const E = ef(w), x = (_ = b == null ? void 0 : b.rad) != null ? _ : s, I = (V = b == null ? void 0 : b.fbx_url) != null ? V : r;
|
|
6397
|
+
if (e.rad = x, x === void 0)
|
|
6398
|
+
return Promise.reject(new Error(`ModelEntryDoorGuidePlugin.load(): rad is ${x}`));
|
|
6399
|
+
const L = yield new ka().loadAsync(I);
|
|
6400
|
+
L.position.copy(E), L.rotation.z = x, L.scale.set(0.8, 0.8, 0.8), hl(L, { transparent: !0, side: C.DoubleSide });
|
|
6401
|
+
const k = (X = (G = (R = (B = L.children) == null ? void 0 : B[0]) == null ? void 0 : R.children) == null ? void 0 : G[3]) == null ? void 0 : X.clone();
|
|
6385
6402
|
if (!k)
|
|
6386
6403
|
return Promise.reject(new Error(`ModelEntryDoorGuidePlugin.load(): textMesh is ${k}`));
|
|
6387
6404
|
const O = (H = t.name) != null ? H : "\u5165\u6237\u95E8";
|
|
6388
|
-
return k.material = new Cn({ transparent: !0, map: $h(O) }), k.renderOrder = 3,
|
|
6405
|
+
return k.material = new Cn({ transparent: !0, map: $h(O) }), k.renderOrder = 3, L.children[0].add(k), e.object = L, !0;
|
|
6389
6406
|
}), c = () => {
|
|
6390
6407
|
if (e.animation)
|
|
6391
6408
|
return;
|
|
@@ -6395,23 +6412,23 @@ const ef = ({ x: i, y: t, z: e }) => new U(i, t, e), Db = (i, t) => {
|
|
|
6395
6412
|
a.push(w);
|
|
6396
6413
|
const E = w.clipAction(e.object.animations[0]);
|
|
6397
6414
|
E.timeScale = b;
|
|
6398
|
-
let
|
|
6415
|
+
let x;
|
|
6399
6416
|
const I = () => {
|
|
6400
|
-
let
|
|
6417
|
+
let W = 0, _ = 0;
|
|
6401
6418
|
const V = 1e3 / 30, B = (R) => {
|
|
6402
|
-
|
|
6403
|
-
const G = R -
|
|
6404
|
-
G < V || (
|
|
6419
|
+
W = requestAnimationFrame(B);
|
|
6420
|
+
const G = R - _;
|
|
6421
|
+
G < V || (_ = R, a.forEach((X) => X.update(G / 1e3)), i.needsRender = !0);
|
|
6405
6422
|
};
|
|
6406
|
-
return
|
|
6407
|
-
cancelAnimationFrame(
|
|
6423
|
+
return W = requestAnimationFrame(B), () => {
|
|
6424
|
+
cancelAnimationFrame(W);
|
|
6408
6425
|
};
|
|
6409
6426
|
}, O = { play: () => {
|
|
6410
|
-
|
|
6427
|
+
x || (E.play(), x = I(), requestAnimationFrame(() => {
|
|
6411
6428
|
e.object && e.object.rotation.z !== e.rad && (e.object.rotation.z = e.rad);
|
|
6412
6429
|
}));
|
|
6413
6430
|
}, stop: () => {
|
|
6414
|
-
E.stop(),
|
|
6431
|
+
E.stop(), x == null || x(), x = void 0;
|
|
6415
6432
|
} };
|
|
6416
6433
|
e.animation = O;
|
|
6417
6434
|
}, u = (b) => {
|
|
@@ -6741,13 +6758,13 @@ const cf = `<style type="text/css">
|
|
|
6741
6758
|
if (!b)
|
|
6742
6759
|
return !1;
|
|
6743
6760
|
for (const w in p) {
|
|
6744
|
-
const E = p[w], { standingPosition:
|
|
6745
|
-
const
|
|
6761
|
+
const E = p[w], { standingPosition: x } = b.observers[0], I = E.map(({ x: L, z: k, observers: O }) => {
|
|
6762
|
+
const W = O.length > 0 ? g.rooms[g.observers[O[0]]].name : "", _ = A[W] ? A[W].floor : null;
|
|
6746
6763
|
let V = 1 / 0, B = {
|
|
6747
6764
|
index: 0,
|
|
6748
|
-
x:
|
|
6749
|
-
y:
|
|
6750
|
-
z:
|
|
6765
|
+
x: x.x,
|
|
6766
|
+
y: x.y,
|
|
6767
|
+
z: x.z
|
|
6751
6768
|
};
|
|
6752
6769
|
O.forEach((Y) => {
|
|
6753
6770
|
if (!b.observers[Y])
|
|
@@ -6757,29 +6774,29 @@ const cf = `<style type="text/css">
|
|
|
6757
6774
|
x: ae.x,
|
|
6758
6775
|
y: ae.y,
|
|
6759
6776
|
z: ae.z
|
|
6760
|
-
}, de = uf({ x:
|
|
6761
|
-
|
|
6777
|
+
}, de = uf({ x: L, z: k }, he);
|
|
6778
|
+
_ ? de < V && Math.abs(he.y - _) < 0.3 && (V = de, B = he) : de < V && (V = de, B = he);
|
|
6762
6779
|
});
|
|
6763
|
-
const R = new U(
|
|
6780
|
+
const R = new U(L, B.y, k);
|
|
6764
6781
|
Object.assign(R, { observers: O });
|
|
6765
|
-
const G = A[
|
|
6782
|
+
const G = A[W] ? A[W].roof : null, X = G ? new U(L, G, k) : null;
|
|
6766
6783
|
return X && Object.assign(X, { observers: O }), { origin: R, vertical: X };
|
|
6767
6784
|
});
|
|
6768
6785
|
r[w] = {
|
|
6769
|
-
origins: I.map((
|
|
6786
|
+
origins: I.map((L) => L.origin),
|
|
6770
6787
|
rules: []
|
|
6771
6788
|
};
|
|
6772
|
-
for (const { origin:
|
|
6789
|
+
for (const { origin: L, vertical: k } of I) {
|
|
6773
6790
|
if (!k)
|
|
6774
6791
|
continue;
|
|
6775
|
-
const O = n(w,
|
|
6776
|
-
o.append(O), r[w].rules.push({ vertical: !0, rule: [
|
|
6792
|
+
const O = n(w, L.distanceTo(k));
|
|
6793
|
+
o.append(O), r[w].rules.push({ vertical: !0, rule: [L, k], $element: O });
|
|
6777
6794
|
}
|
|
6778
|
-
for (let
|
|
6779
|
-
let k =
|
|
6795
|
+
for (let L = 0; L < I.length; L++) {
|
|
6796
|
+
let k = L + 1;
|
|
6780
6797
|
k >= I.length && (k = 0);
|
|
6781
|
-
const { origin: O } = I[
|
|
6782
|
-
o.append(
|
|
6798
|
+
const { origin: O } = I[L], { origin: W } = I[k], _ = n(w, O.distanceTo(W));
|
|
6799
|
+
o.append(_), r[w].rules.push({ vertical: !1, rule: [O, W], $element: _ });
|
|
6783
6800
|
}
|
|
6784
6801
|
}
|
|
6785
6802
|
return e.loaded = !0, !0;
|
|
@@ -6811,8 +6828,8 @@ const cf = `<style type="text/css">
|
|
|
6811
6828
|
{ x: A, y: b }
|
|
6812
6829
|
]
|
|
6813
6830
|
], E = [];
|
|
6814
|
-
for (let
|
|
6815
|
-
const I = pl([g, p], [w[
|
|
6831
|
+
for (let x = 0; x < w.length; x++) {
|
|
6832
|
+
const I = pl([g, p], [w[x][0], w[x][1]], !0);
|
|
6816
6833
|
I && E.push(I);
|
|
6817
6834
|
}
|
|
6818
6835
|
return E.length === 0 ? !1 : E;
|
|
@@ -6825,30 +6842,30 @@ const cf = `<style type="text/css">
|
|
|
6825
6842
|
if (p === void 0)
|
|
6826
6843
|
return;
|
|
6827
6844
|
let w;
|
|
6828
|
-
for (const
|
|
6829
|
-
|
|
6845
|
+
for (const W in r)
|
|
6846
|
+
W.split(",").indexOf(p.toString()) >= 0 && (w = W);
|
|
6830
6847
|
if (!w) {
|
|
6831
|
-
for (const
|
|
6832
|
-
for (const { $element:
|
|
6833
|
-
|
|
6848
|
+
for (const W in r)
|
|
6849
|
+
for (const { $element: _ } of r[W].rules)
|
|
6850
|
+
_.style.display = "none";
|
|
6834
6851
|
return;
|
|
6835
6852
|
}
|
|
6836
|
-
const E = A.position,
|
|
6853
|
+
const E = A.position, x = A.getWorldDirection(new U()), I = g.clientWidth, L = g.clientHeight;
|
|
6837
6854
|
if (b !== Ve.Mode.Panorama) {
|
|
6838
|
-
for (const
|
|
6839
|
-
for (const { $element:
|
|
6840
|
-
|
|
6855
|
+
for (const W in r)
|
|
6856
|
+
for (const { $element: _ } of r[W].rules)
|
|
6857
|
+
_.style.display = "none";
|
|
6841
6858
|
return;
|
|
6842
6859
|
}
|
|
6843
|
-
for (const
|
|
6844
|
-
for (const { $element:
|
|
6845
|
-
|
|
6846
|
-
const [k] = r[w].origins.slice().filter((
|
|
6847
|
-
const V =
|
|
6860
|
+
for (const W in r)
|
|
6861
|
+
for (const { $element: _ } of r[W].rules)
|
|
6862
|
+
_.style.display = W === w ? "block" : "none";
|
|
6863
|
+
const [k] = r[w].origins.slice().filter((W) => W.observers.indexOf(p) >= 0).sort((W, _) => {
|
|
6864
|
+
const V = W.clone().setY(0).sub(E).normalize().angleTo(x.clone().setY(0)), B = _.clone().setY(0).sub(E).normalize().angleTo(x.clone().setY(0));
|
|
6848
6865
|
return V - B;
|
|
6849
6866
|
});
|
|
6850
|
-
for (const { rule:
|
|
6851
|
-
const [B, R] =
|
|
6867
|
+
for (const { rule: W, vertical: _, $element: V } of r[w].rules) {
|
|
6868
|
+
const [B, R] = W, G = V.querySelector(".PanoRulerPlugin-rule-line");
|
|
6852
6869
|
if (!G)
|
|
6853
6870
|
return;
|
|
6854
6871
|
if (!k) {
|
|
@@ -6867,11 +6884,11 @@ const cf = `<style type="text/css">
|
|
|
6867
6884
|
V.style.display = "none";
|
|
6868
6885
|
continue;
|
|
6869
6886
|
}
|
|
6870
|
-
if (B.clone().sub(E).normalize().angleTo(
|
|
6887
|
+
if (B.clone().sub(E).normalize().angleTo(x) > Math.PI / 2) {
|
|
6871
6888
|
V.style.display = "none";
|
|
6872
6889
|
continue;
|
|
6873
6890
|
}
|
|
6874
|
-
if (R.clone().sub(E).normalize().angleTo(
|
|
6891
|
+
if (R.clone().sub(E).normalize().angleTo(x) > Math.PI / 2) {
|
|
6875
6892
|
V.style.display = "none";
|
|
6876
6893
|
continue;
|
|
6877
6894
|
}
|
|
@@ -6880,12 +6897,12 @@ const cf = `<style type="text/css">
|
|
|
6880
6897
|
V.style.display = "none";
|
|
6881
6898
|
continue;
|
|
6882
6899
|
}
|
|
6883
|
-
const he = B.clone().project(A), de = (he.x + 1) / 2 * I, pe = (-he.y + 1) / 2 *
|
|
6900
|
+
const he = B.clone().project(A), de = (he.x + 1) / 2 * I, pe = (-he.y + 1) / 2 * L, Ce = R.clone().project(A), Pe = (Ce.x + 1) / 2 * I, Se = (-Ce.y + 1) / 2 * L, ce = Math.sqrt(Math.pow(Pe - de, 2) + Math.pow(Se - pe, 2));
|
|
6884
6901
|
let Ae = ce, Ee = 50;
|
|
6885
6902
|
const ue = c({ x: ~~de, y: ~~pe }, {
|
|
6886
6903
|
x: ~~Pe,
|
|
6887
6904
|
y: ~~Se
|
|
6888
|
-
}, I,
|
|
6905
|
+
}, I, L);
|
|
6889
6906
|
if (ue && ue.length === 1 && (k === B ? (Ae = Math.sqrt(Math.pow(ue[0].x - de, 2) + Math.pow(ue[0].y - pe, 2)), Ee = Ae / ce * 50) : k === R && (Ae = Math.sqrt(Math.pow(ue[0].x - Pe, 2) + Math.pow(ue[0].y - Se, 2)), Ee = 100 - Ae / ce * 50)), ue && ue.length === 2) {
|
|
6890
6907
|
const te = {
|
|
6891
6908
|
x: (ue[0].x + ue[1].x) / 2,
|
|
@@ -6907,8 +6924,8 @@ const cf = `<style type="text/css">
|
|
|
6907
6924
|
const p = g.distanceText;
|
|
6908
6925
|
e.options.distanceText = p, Object.values(r).forEach((A) => {
|
|
6909
6926
|
A.rules.forEach((b) => {
|
|
6910
|
-
const [w, E] = b.rule,
|
|
6911
|
-
!I || (I.innerText = p(
|
|
6927
|
+
const [w, E] = b.rule, x = w.distanceTo(E), I = b.$element.querySelector(".PanoRulerPlugin-rule-label-name");
|
|
6928
|
+
!I || (I.innerText = p(x));
|
|
6912
6929
|
});
|
|
6913
6930
|
});
|
|
6914
6931
|
}
|
|
@@ -7058,7 +7075,7 @@ function js(i) {
|
|
|
7058
7075
|
e || (P(t.$$.fragment, n), e = !0);
|
|
7059
7076
|
},
|
|
7060
7077
|
o(n) {
|
|
7061
|
-
|
|
7078
|
+
D(t.$$.fragment, n), e = !1;
|
|
7062
7079
|
},
|
|
7063
7080
|
d(n) {
|
|
7064
7081
|
Z(t, n);
|
|
@@ -7069,7 +7086,7 @@ function vf(i) {
|
|
|
7069
7086
|
let t, e, n = i[0], o = [];
|
|
7070
7087
|
for (let r = 0; r < n.length; r += 1)
|
|
7071
7088
|
o[r] = js(Bs(i, n, r));
|
|
7072
|
-
const s = (r) =>
|
|
7089
|
+
const s = (r) => D(o[r], 1, 1, () => {
|
|
7073
7090
|
o[r] = null;
|
|
7074
7091
|
});
|
|
7075
7092
|
return {
|
|
@@ -7107,7 +7124,7 @@ function vf(i) {
|
|
|
7107
7124
|
o(r) {
|
|
7108
7125
|
o = o.filter(Boolean);
|
|
7109
7126
|
for (let a = 0; a < o.length; a += 1)
|
|
7110
|
-
|
|
7127
|
+
D(o[a]);
|
|
7111
7128
|
e = !1;
|
|
7112
7129
|
},
|
|
7113
7130
|
d(r) {
|
|
@@ -7119,33 +7136,33 @@ function bf(i, t, e) {
|
|
|
7119
7136
|
var g, p, A, b;
|
|
7120
7137
|
let { five: n } = t, { rulerDatas: o } = t, { options: s } = t, r = [];
|
|
7121
7138
|
const a = ((p = (g = n.getElement()) == null ? void 0 : g.parentElement) == null ? void 0 : p.clientWidth) || 0, l = ((b = (A = n.getElement()) == null ? void 0 : A.parentElement) == null ? void 0 : b.clientHeight) || 0, c = (w, E) => {
|
|
7122
|
-
const
|
|
7139
|
+
const x = [
|
|
7123
7140
|
[{ x: 0, y: 0 }, { x: a, y: 0 }],
|
|
7124
7141
|
[{ x: 0, y: 0 }, { x: 0, y: l }],
|
|
7125
7142
|
[{ x: a, y: 0 }, { x: a, y: l }],
|
|
7126
7143
|
[{ x: 0, y: l }, { x: a, y: l }]
|
|
7127
7144
|
], I = [];
|
|
7128
|
-
for (let
|
|
7129
|
-
const k = pl([w, E], [L
|
|
7145
|
+
for (let L = 0; L < x.length; L++) {
|
|
7146
|
+
const k = pl([w, E], [x[L][0], x[L][1]], !0);
|
|
7130
7147
|
k && I.push(k);
|
|
7131
7148
|
}
|
|
7132
7149
|
return I.length === 0 ? !1 : I;
|
|
7133
7150
|
}, u = (w, E) => {
|
|
7134
|
-
const
|
|
7151
|
+
const x = w.clone().project(n.camera), I = (x.x + 1) / 2 * a, L = (-x.y + 1) / 2 * l, k = E.clone().project(n.camera), O = (k.x + 1) / 2 * a, W = (-k.y + 1) / 2 * l, _ = Math.sqrt(Math.pow(O - I, 2) + Math.pow(W - L, 2));
|
|
7135
7152
|
return {
|
|
7136
7153
|
startLeft: I,
|
|
7137
|
-
startTop:
|
|
7154
|
+
startTop: L,
|
|
7138
7155
|
endLeft: O,
|
|
7139
|
-
endTop:
|
|
7140
|
-
distance:
|
|
7156
|
+
endTop: W,
|
|
7157
|
+
distance: _
|
|
7141
7158
|
};
|
|
7142
|
-
}, d = (w, E,
|
|
7143
|
-
const I = n.camera.position,
|
|
7159
|
+
}, d = (w, E, x) => {
|
|
7160
|
+
const I = n.camera.position, L = n.camera.getWorldDirection(new U()), k = w.clone().sub(I).normalize().angleTo(L), O = E.clone().sub(I).normalize().angleTo(L), W = w.distanceTo(E), V = E.clone().sub(E.clone().sub(w).divide(new U(2, 2, 2))).distanceTo(I), { startLeft: B, startTop: R, endLeft: G, endTop: X, distance: H } = u(w, E), Y = -((Math.PI / 2 - Math.atan2(G - B, R - X)) / Math.PI) * 180;
|
|
7144
7161
|
let ae = !0;
|
|
7145
|
-
|
|
7162
|
+
x || (ae = !1), !nt(w, x) && !nt(E, x) && (ae = !1), W < 0.3 && (ae = !1), k > Math.PI / 2 && (ae = !1), O > Math.PI / 2 && (ae = !1), V / W > 8 && (ae = !1);
|
|
7146
7163
|
let he = 50, de = H;
|
|
7147
7164
|
const pe = c({ x: ~~B, y: ~~R }, { x: ~~G, y: ~~X });
|
|
7148
|
-
if (pe && pe.length === 1 && (nt(w,
|
|
7165
|
+
if (pe && pe.length === 1 && (nt(w, x) ? (de = Math.sqrt(Math.pow(pe[0].x - B, 2) + Math.pow(pe[0].y - R, 2)), he = de / H * 50) : nt(E, x) && (de = Math.sqrt(Math.pow(pe[0].x - G, 2) + Math.pow(pe[0].y - X, 2)), he = 100 - de / H * 50)), pe && pe.length === 2) {
|
|
7149
7166
|
const Ce = {
|
|
7150
7167
|
x: (pe[0].x + pe[1].x) / 2,
|
|
7151
7168
|
y: (pe[0].y + pe[1].y) / 2
|
|
@@ -7159,21 +7176,21 @@ function bf(i, t, e) {
|
|
|
7159
7176
|
deg: Y,
|
|
7160
7177
|
visible: ae,
|
|
7161
7178
|
labelOffset: he,
|
|
7162
|
-
ruleLength:
|
|
7179
|
+
ruleLength: W
|
|
7163
7180
|
};
|
|
7164
7181
|
}, h = () => {
|
|
7165
|
-
const w = n.panoIndex, E = o.find((
|
|
7182
|
+
const w = n.panoIndex, E = o.find((_) => _.panoIndex === w);
|
|
7166
7183
|
if (!E)
|
|
7167
7184
|
return e(0, r = []);
|
|
7168
7185
|
if (n.currentMode !== Ve.Mode.Panorama)
|
|
7169
7186
|
return e(0, r = []);
|
|
7170
|
-
const
|
|
7171
|
-
const B =
|
|
7187
|
+
const x = n.camera.position, I = n.camera.getWorldDirection(new U()), L = E.lines.map((_) => new U(_.start[0], -_.start[1], -_.start[2])), k = E.lines.map((_) => new U(_.end[0], -_.end[1], -_.end[2])), [O] = L.concat(k).sort((_, V) => {
|
|
7188
|
+
const B = _.clone().setY(0).sub(x).normalize().angleTo(I.clone().setY(0)), R = V.clone().setY(0).sub(x).normalize().angleTo(I.clone().setY(0));
|
|
7172
7189
|
return B - R;
|
|
7173
|
-
}),
|
|
7190
|
+
}), W = E.lines.map((_) => {
|
|
7174
7191
|
var de, pe;
|
|
7175
|
-
const V =
|
|
7176
|
-
return
|
|
7192
|
+
const V = _.start, B = _.end, { startLeft: R, startTop: G, distance: X, deg: H, visible: ee, labelOffset: Y, ruleLength: ae } = d(new U(V[0], -V[1], -V[2]), new U(B[0], -B[1], -B[2]), O), he = [];
|
|
7193
|
+
return _.children && ((de = _.children) == null ? void 0 : de.length) > 0 && ((pe = _.children) == null || pe.forEach((Ce) => {
|
|
7177
7194
|
const Pe = Ce.start, Se = Ce.end, { distance: ce } = u(new U(Pe[0], -Pe[1], -Pe[2]), new U(Se[0], -Se[1], -Se[2]));
|
|
7178
7195
|
he.push({ width: ce, state: Ce.state });
|
|
7179
7196
|
})), {
|
|
@@ -7181,14 +7198,14 @@ function bf(i, t, e) {
|
|
|
7181
7198
|
left: R,
|
|
7182
7199
|
top: G,
|
|
7183
7200
|
rotateDeg: H,
|
|
7184
|
-
state:
|
|
7201
|
+
state: _.state,
|
|
7185
7202
|
children: he,
|
|
7186
7203
|
labelOffset: Y,
|
|
7187
7204
|
visible: ee,
|
|
7188
7205
|
labelElement: s.distanceText(ae)
|
|
7189
7206
|
};
|
|
7190
7207
|
});
|
|
7191
|
-
e(0, r =
|
|
7208
|
+
e(0, r = W);
|
|
7192
7209
|
}, f = () => Ii(h), v = Io(h, 80);
|
|
7193
7210
|
return Ze(() => {
|
|
7194
7211
|
h(), n.on("panoArrived", h), n.on("modeChange", h), n.on("cameraDirectionUpdate", f), n.on("movingToPano", f), n.on("mouseWheel", () => v()), n.on("pinchGesture", () => v());
|
|
@@ -7844,15 +7861,15 @@ function Wf(i) {
|
|
|
7844
7861
|
const b = A.getElement();
|
|
7845
7862
|
if (!b)
|
|
7846
7863
|
return;
|
|
7847
|
-
const w = b.clientWidth, E = b.clientHeight,
|
|
7864
|
+
const w = b.clientWidth, E = b.clientHeight, x = w / 2, I = E / 2;
|
|
7848
7865
|
if (e.points.length < 2)
|
|
7849
7866
|
return;
|
|
7850
|
-
const [
|
|
7851
|
-
if ((() => !(Math.abs(O.z) > 1 || Math.abs(
|
|
7867
|
+
const [L, k] = e.points, O = L.position.clone().project(A.camera), W = k.position.clone().project(A.camera), _ = O.clone().lerp(W, 0.5), V = new _e(O.x * x, O.y * I), B = new _e(W.x * x, W.y * I), R = V.distanceTo(B);
|
|
7868
|
+
if ((() => !(Math.abs(O.z) > 1 || Math.abs(W.z) > 1 || !Qi(O) && !Qi(W) || !Qi(_) || R === 0))() === !1) {
|
|
7852
7869
|
s.style.opacity = "0", s.style.pointerEvents = "none";
|
|
7853
7870
|
return;
|
|
7854
7871
|
}
|
|
7855
|
-
const X = (
|
|
7872
|
+
const X = (_.x + 1) / 2 * w, H = -(_.y - 1) / 2 * E, Y = -(Math.atan((V.y - B.y) / (V.x - B.x)) * 180) / Math.PI, ae = s.parentElement && o.clientWidth > R ? -20 : 0;
|
|
7856
7873
|
s.style.transform = `translate(${X}px, ${H}px) rotate(${Y}deg) translateY(${ae}px)`, s.style.opacity = "1", s.style.pointerEvents = t ? "all" : "none", r && r.update({ line: e, polyline: e.getPolyline() });
|
|
7857
7874
|
const he = g();
|
|
7858
7875
|
o.innerText = he;
|
|
@@ -7864,10 +7881,10 @@ function Wf(i) {
|
|
|
7864
7881
|
o.removeEventListener("click", c), s.remove();
|
|
7865
7882
|
}
|
|
7866
7883
|
function g() {
|
|
7867
|
-
var
|
|
7884
|
+
var L, k, O;
|
|
7868
7885
|
if (e.points.length < 2)
|
|
7869
7886
|
return "";
|
|
7870
|
-
const [A, b] = e.points, w = A.position.clone().distanceTo(b.position), E = (
|
|
7887
|
+
const [A, b] = e.points, w = A.position.clone().distanceTo(b.position), E = (L = i.line.text) != null ? L : i.line.model.config.defaultText, x = (O = (k = i.line.model.config) == null ? void 0 : k.getDistanceText) == null ? void 0 : O.call(k, w), I = E != null ? E : x;
|
|
7871
7888
|
return I != null ? I : w.toFixed(2) + "m";
|
|
7872
7889
|
}
|
|
7873
7890
|
function p(A) {
|
|
@@ -9510,7 +9527,7 @@ function Dm(i, t, e) {
|
|
|
9510
9527
|
100
|
|
9511
9528
|
);
|
|
9512
9529
|
const w = (I) => {
|
|
9513
|
-
const
|
|
9530
|
+
const L = Object.keys(h);
|
|
9514
9531
|
let k = I.target;
|
|
9515
9532
|
for (; k; ) {
|
|
9516
9533
|
const O = k.getAttribute("class");
|
|
@@ -9522,8 +9539,8 @@ function Dm(i, t, e) {
|
|
|
9522
9539
|
k = null;
|
|
9523
9540
|
break;
|
|
9524
9541
|
}
|
|
9525
|
-
|
|
9526
|
-
O.includes(
|
|
9542
|
+
L.forEach((W) => {
|
|
9543
|
+
O.includes(W) && h[W](n);
|
|
9527
9544
|
}), k = k.parentNode;
|
|
9528
9545
|
}
|
|
9529
9546
|
};
|
|
@@ -9533,8 +9550,8 @@ function Dm(i, t, e) {
|
|
|
9533
9550
|
const E = xl.subscribe((I) => {
|
|
9534
9551
|
if (I === null)
|
|
9535
9552
|
return;
|
|
9536
|
-
const [
|
|
9537
|
-
n ===
|
|
9553
|
+
const [L, k] = I.split("-PanoSpatialTagPlugin-");
|
|
9554
|
+
n === L && (f.emit("clickOrigin", { id: n, show: A }), b || (e(10, A = u), e(12, u = !u), b = setTimeout(
|
|
9538
9555
|
() => {
|
|
9539
9556
|
b = void 0;
|
|
9540
9557
|
},
|
|
@@ -9546,7 +9563,7 @@ function Dm(i, t, e) {
|
|
|
9546
9563
|
}), Pt(() => {
|
|
9547
9564
|
f.emit("destroyTag", { id: n }), E(), d();
|
|
9548
9565
|
});
|
|
9549
|
-
function
|
|
9566
|
+
function x(I) {
|
|
9550
9567
|
Be[I ? "unshift" : "push"](() => {
|
|
9551
9568
|
p = I, e(9, p);
|
|
9552
9569
|
});
|
|
@@ -9570,7 +9587,7 @@ function Dm(i, t, e) {
|
|
|
9570
9587
|
d,
|
|
9571
9588
|
h,
|
|
9572
9589
|
f,
|
|
9573
|
-
|
|
9590
|
+
x
|
|
9574
9591
|
];
|
|
9575
9592
|
}
|
|
9576
9593
|
class Lm extends oe {
|
|
@@ -9761,7 +9778,7 @@ const Fi = 1e-3, Us = 0.01, jm = "https://vrlab-image4.ljcdn.com/release/web/Pan
|
|
|
9761
9778
|
target: h,
|
|
9762
9779
|
props: { origins: g.origins }
|
|
9763
9780
|
}), A = (ce, Ae) => {
|
|
9764
|
-
|
|
9781
|
+
x(), Ae && I();
|
|
9765
9782
|
}, b = () => {
|
|
9766
9783
|
g.forbidden && (g.forbidden = !1, I());
|
|
9767
9784
|
}, w = (ce, Ae) => {
|
|
@@ -9793,13 +9810,13 @@ const Fi = 1e-3, Us = 0.01, jm = "https://vrlab-image4.ljcdn.com/release/web/Pan
|
|
|
9793
9810
|
}), setTimeout(() => {
|
|
9794
9811
|
g.tags.forEach((ye) => {
|
|
9795
9812
|
ye.destroying && (ye.app.$destroy(), ye = null);
|
|
9796
|
-
}), g.tags = g.tags.filter((ye) => !ye.destroying),
|
|
9813
|
+
}), g.tags = g.tags.filter((ye) => !ye.destroying), x();
|
|
9797
9814
|
}, 1900);
|
|
9798
9815
|
}, E = (ce) => {
|
|
9799
9816
|
ce !== Ve.Mode.Panorama && !g.forbidden && (p.$set({ origins: [] }), g.tags.forEach((Ae) => {
|
|
9800
9817
|
Ae.app.$destroy(), Ae = null;
|
|
9801
9818
|
}), g.origins = [], g.tags = [], g.forbidden = !0);
|
|
9802
|
-
},
|
|
9819
|
+
}, x = () => {
|
|
9803
9820
|
if (g.forbidden || !g.enabled)
|
|
9804
9821
|
return;
|
|
9805
9822
|
const ce = i.camera, Ae = ce.getWorldDirection(new C.Vector3());
|
|
@@ -9816,10 +9833,10 @@ const Fi = 1e-3, Us = 0.01, jm = "https://vrlab-image4.ljcdn.com/release/web/Pan
|
|
|
9816
9833
|
}, I = () => {
|
|
9817
9834
|
g.forbidden || !g.enabled || (g.timeoutId && clearTimeout(g.timeoutId), g.timeoutId = setTimeout(() => {
|
|
9818
9835
|
g.timeoutId = void 0;
|
|
9819
|
-
const ce =
|
|
9820
|
-
ce.length && (g.tags = g.tags.concat(ce),
|
|
9836
|
+
const ce = L();
|
|
9837
|
+
ce.length && (g.tags = g.tags.concat(ce), x());
|
|
9821
9838
|
}, o));
|
|
9822
|
-
},
|
|
9839
|
+
}, L = () => {
|
|
9823
9840
|
const { clientWidth: ce, clientHeight: Ae } = i.getElement(), Ee = [], ue = i.camera, Ue = new C.Frustum(), rt = new C.Matrix4(), ye = ue.getWorldDirection(new C.Vector3());
|
|
9824
9841
|
rt.multiplyMatrices(
|
|
9825
9842
|
ue.projectionMatrix,
|
|
@@ -9931,9 +9948,9 @@ const Fi = 1e-3, Us = 0.01, jm = "https://vrlab-image4.ljcdn.com/release/web/Pan
|
|
|
9931
9948
|
}), ce.render && (g.render = ce.render), ce.template && (g.template = ce.template), ce.events && (g.events = ce.events), ce.enabled === !1 && (g.enabled = ce.enabled), ce.folded === !0 && (g.folded = ce.folded);
|
|
9932
9949
|
}, O = (ce) => {
|
|
9933
9950
|
g.intersectObjects = ce, I();
|
|
9934
|
-
}, _ = () => {
|
|
9935
|
-
g.enabled = !0, I();
|
|
9936
9951
|
}, W = () => {
|
|
9952
|
+
g.enabled = !0, I();
|
|
9953
|
+
}, _ = () => {
|
|
9937
9954
|
g.enabled = !1, p.$set({ origins: [] }), g.tags.forEach((ce) => {
|
|
9938
9955
|
ce.app.$destroy(), ce = null;
|
|
9939
9956
|
}), g.origins = [], g.tags = [];
|
|
@@ -9954,13 +9971,13 @@ const Fi = 1e-3, Us = 0.01, jm = "https://vrlab-image4.ljcdn.com/release/web/Pan
|
|
|
9954
9971
|
Ae.id === ce && Ae.app.$set({ folded: !0 });
|
|
9955
9972
|
});
|
|
9956
9973
|
}, X = () => {
|
|
9957
|
-
i.once("renderFrame",
|
|
9974
|
+
i.once("renderFrame", x);
|
|
9958
9975
|
}, H = () => {
|
|
9959
9976
|
e || (e = i.getElement().parentElement), e && e.appendChild(h), g.forbidden = !1, n = i.model.bounding.getCenter(new C.Vector3()).y, I(), i.on("panoWillArrive", w), i.on("panoArrived", b), i.on("modeChange", E), i.on("cameraUpdate", A);
|
|
9960
9977
|
}, ee = () => {
|
|
9961
9978
|
v = null, d.disposeAll(), p.$destroy(), g.tags.forEach((ce) => {
|
|
9962
9979
|
ce.app.$destroy(), ce = null;
|
|
9963
|
-
}), g.origins = [], g.tags = [], i.off("modelLoaded", H), i.off("renderFrame",
|
|
9980
|
+
}), g.origins = [], g.tags = [], i.off("modelLoaded", H), i.off("renderFrame", x), i.off("panoWillArrive", w), i.off("panoArrived", b), i.off("modeChange", E), i.off("cameraUpdate", A), i.off("dispose", ee), window.removeEventListener("resize", X, !1);
|
|
9964
9981
|
};
|
|
9965
9982
|
return window.addEventListener("resize", X, !1), (Se = i == null ? void 0 : i.model) != null && Se.loaded ? H() : i.once("modelLoaded", H), i.on("dispose", ee), {
|
|
9966
9983
|
load: k,
|
|
@@ -9969,8 +9986,8 @@ const Fi = 1e-3, Us = 0.01, jm = "https://vrlab-image4.ljcdn.com/release/web/Pan
|
|
|
9969
9986
|
foldAll: B,
|
|
9970
9987
|
unfold: R,
|
|
9971
9988
|
fold: G,
|
|
9972
|
-
enable:
|
|
9973
|
-
disable:
|
|
9989
|
+
enable: W,
|
|
9990
|
+
disable: _,
|
|
9974
9991
|
hooks: f,
|
|
9975
9992
|
dispose: ee
|
|
9976
9993
|
};
|
|
@@ -10054,7 +10071,7 @@ function Js(i, t) {
|
|
|
10054
10071
|
o || (P(n.$$.fragment, s), o = !0);
|
|
10055
10072
|
},
|
|
10056
10073
|
o(s) {
|
|
10057
|
-
|
|
10074
|
+
D(n.$$.fragment, s), o = !1;
|
|
10058
10075
|
},
|
|
10059
10076
|
d(s) {
|
|
10060
10077
|
s && S(e), Z(n, s);
|
|
@@ -10093,7 +10110,7 @@ function Hm(i) {
|
|
|
10093
10110
|
},
|
|
10094
10111
|
o(l) {
|
|
10095
10112
|
for (let c = 0; c < e.length; c += 1)
|
|
10096
|
-
|
|
10113
|
+
D(e[c]);
|
|
10097
10114
|
s = !1;
|
|
10098
10115
|
},
|
|
10099
10116
|
d(l) {
|
|
@@ -10129,7 +10146,7 @@ function Wm(i, t, e) {
|
|
|
10129
10146
|
return Math.ceil(-92.59 * B + 300);
|
|
10130
10147
|
}
|
|
10131
10148
|
}
|
|
10132
|
-
const
|
|
10149
|
+
const x = (B, R) => {
|
|
10133
10150
|
const G = R.map((H) => {
|
|
10134
10151
|
const ee = A(B, H), Y = H.name.length * Gm, ae = E(H.modelPosition[1], c), de = (r ? p(B, H) : !0) && !w([ee[0], ee[1] + ae], Y);
|
|
10135
10152
|
if (!de)
|
|
@@ -10150,16 +10167,16 @@ function Wm(i, t, e) {
|
|
|
10150
10167
|
return ee !== void 0 ? fe(Q({}, H), { zIndex: ee * 10 }) : H;
|
|
10151
10168
|
});
|
|
10152
10169
|
}, I = () => {
|
|
10153
|
-
v = [], e(1, d =
|
|
10170
|
+
v = [], e(1, d = x(s, d));
|
|
10154
10171
|
};
|
|
10155
10172
|
Wa(() => {
|
|
10156
|
-
|
|
10173
|
+
W();
|
|
10157
10174
|
});
|
|
10158
|
-
const
|
|
10175
|
+
const L = () => {
|
|
10159
10176
|
e(4, g = !1), k();
|
|
10160
10177
|
};
|
|
10161
10178
|
Ze(() => {
|
|
10162
|
-
e(1, d = a), u = a, I(), O(), s.on("cameraUpdate",
|
|
10179
|
+
e(1, d = a), u = a, I(), O(), s.on("cameraUpdate", L);
|
|
10163
10180
|
});
|
|
10164
10181
|
const k = Dl(
|
|
10165
10182
|
() => {
|
|
@@ -10167,14 +10184,14 @@ function Wm(i, t, e) {
|
|
|
10167
10184
|
},
|
|
10168
10185
|
300
|
|
10169
10186
|
), O = () => {
|
|
10170
|
-
window.addEventListener("resize",
|
|
10171
|
-
}, _ = () => {
|
|
10172
|
-
u !== a && (e(1, d = a), u = a, I());
|
|
10187
|
+
window.addEventListener("resize", _, !1);
|
|
10173
10188
|
}, W = () => {
|
|
10189
|
+
u !== a && (e(1, d = a), u = a, I());
|
|
10190
|
+
}, _ = () => {
|
|
10174
10191
|
s.once("renderFrame", I);
|
|
10175
10192
|
};
|
|
10176
10193
|
Pt(() => {
|
|
10177
|
-
s.off("cameraUpdate",
|
|
10194
|
+
s.off("cameraUpdate", L), window.removeEventListener("resize", _, !1);
|
|
10178
10195
|
});
|
|
10179
10196
|
function V() {
|
|
10180
10197
|
h = this.clientWidth, f = this.clientHeight, e(2, h), e(3, f);
|
|
@@ -10350,22 +10367,22 @@ const Ob = (i, { videoElement: t }) => {
|
|
|
10350
10367
|
A.geometry.dispose(), A.material.dispose(), i.scene.remove(A), e.videoTexture && e.videoTexture.image.pause();
|
|
10351
10368
|
}), e.videoMeshes = [], i.needsRender = !0);
|
|
10352
10369
|
}, c = () => e.rectPoints.map((A, b) => {
|
|
10353
|
-
const w = new C.BufferGeometry(), E = 128,
|
|
10354
|
-
|
|
10370
|
+
const w = new C.BufferGeometry(), E = 128, x = [];
|
|
10371
|
+
x.push(...A[0].toArray());
|
|
10355
10372
|
for (let B = 1; B < E; B++)
|
|
10356
|
-
|
|
10373
|
+
x.push(
|
|
10357
10374
|
A[0].x + (A[1].x - A[0].x) * B / E,
|
|
10358
10375
|
A[0].y + (A[1].y - A[0].y) * B / E,
|
|
10359
10376
|
A[0].z + (A[1].z - A[0].z) * B / E
|
|
10360
10377
|
);
|
|
10361
|
-
|
|
10378
|
+
x.push(...A[1].toArray()), x.push(...A[2].toArray());
|
|
10362
10379
|
for (let B = 1; B < E; B++)
|
|
10363
|
-
|
|
10380
|
+
x.push(
|
|
10364
10381
|
A[2].x + (A[3].x - A[2].x) * B / E,
|
|
10365
10382
|
A[2].y + (A[3].y - A[2].y) * B / E,
|
|
10366
10383
|
A[2].z + (A[3].z - A[2].z) * B / E
|
|
10367
10384
|
);
|
|
10368
|
-
|
|
10385
|
+
x.push(...A[3].toArray());
|
|
10369
10386
|
const I = [];
|
|
10370
10387
|
I.push(0, 1);
|
|
10371
10388
|
for (let B = 1; B < E; B++)
|
|
@@ -10374,45 +10391,45 @@ const Ob = (i, { videoElement: t }) => {
|
|
|
10374
10391
|
for (let B = 1; B < E; B++)
|
|
10375
10392
|
I.push(1, B / E);
|
|
10376
10393
|
I.push(1, 1);
|
|
10377
|
-
const
|
|
10394
|
+
const L = [];
|
|
10378
10395
|
for (let B = 0; B < E; B++)
|
|
10379
|
-
|
|
10380
|
-
w.setAttribute("position", new C.BufferAttribute(new Float32Array(
|
|
10396
|
+
L.push(B, B + 1, E * 2 - B, B, E * 2 - B, E * 2 + 1 - B);
|
|
10397
|
+
w.setAttribute("position", new C.BufferAttribute(new Float32Array(x), 3)), w.setAttribute("uv", new C.BufferAttribute(new Float32Array(I), 2)), w.setIndex(new C.BufferAttribute(new Uint32Array(L), 1));
|
|
10381
10398
|
const k = new C.AxesHelper(10);
|
|
10382
10399
|
i.scene.add(k);
|
|
10383
10400
|
const O = new C.MeshBasicMaterial({
|
|
10384
10401
|
map: e.videoTextureEnabled ? e.videoTexture : e.imageTexture,
|
|
10385
10402
|
side: C.DoubleSide
|
|
10386
|
-
}),
|
|
10387
|
-
|
|
10388
|
-
const
|
|
10403
|
+
}), W = new C.Mesh(w, O);
|
|
10404
|
+
W.renderOrder = 1, W.name = `ModelTVVideoPlugin-${b}-${performance.now()}`;
|
|
10405
|
+
const _ = [A[1], A[2], A[3], A[0]], V = n.create3DDomContainer(_);
|
|
10389
10406
|
if (V != null && V.container) {
|
|
10390
10407
|
const B = document.createElement("div");
|
|
10391
10408
|
B.classList.add("play-icon"), B.style.width = "100%", B.style.height = "100%", B.style.display = "flex", B.style.justifyContent = "center", B.style.alignItems = "center", B.style.pointerEvents = "none", V.container.appendChild(B);
|
|
10392
10409
|
const R = document.createElement("img");
|
|
10393
10410
|
R.src = "//vrlab-static.ljcdn.com/release/web/play.2ada5b6f.png", R.style.width = "200px", R.style.pointerEvents = "auto", R.onclick = () => {
|
|
10394
10411
|
e.videoTexture.image.muted = !1, e.videoTexture.image.play();
|
|
10395
|
-
}, B.appendChild(R), o.set(
|
|
10412
|
+
}, B.appendChild(R), o.set(W, V);
|
|
10396
10413
|
}
|
|
10397
|
-
return
|
|
10414
|
+
return W;
|
|
10398
10415
|
}), u = (A) => {
|
|
10399
10416
|
const b = new C.TextureLoader().load(A);
|
|
10400
10417
|
return b.minFilter = C.LinearFilter, b.magFilter = C.LinearFilter, b.format = C.RGBFormat, b;
|
|
10401
10418
|
}, d = (A, b) => new Promise((w, E) => {
|
|
10402
|
-
const
|
|
10403
|
-
|
|
10404
|
-
if (
|
|
10405
|
-
if (
|
|
10419
|
+
const x = new XMLHttpRequest();
|
|
10420
|
+
x.onreadystatechange = () => {
|
|
10421
|
+
if (x.readyState == 4)
|
|
10422
|
+
if (x.status == 200) {
|
|
10406
10423
|
const I = window.URL || window.webkitURL;
|
|
10407
|
-
b = b || document.createElement("video"), b.crossOrigin = "anonymous", b.muted = !0, b.loop = !0, b.playsInline = !0, b.src = I.createObjectURL(
|
|
10408
|
-
const
|
|
10409
|
-
|
|
10424
|
+
b = b || document.createElement("video"), b.crossOrigin = "anonymous", b.muted = !0, b.loop = !0, b.playsInline = !0, b.src = I.createObjectURL(x.response);
|
|
10425
|
+
const L = new C.VideoTexture(b);
|
|
10426
|
+
L.minFilter = C.LinearFilter, L.magFilter = C.LinearFilter, L.format = C.RGBFormat, w(Object.assign(L, { videoSource: A }));
|
|
10410
10427
|
} else
|
|
10411
|
-
E(new Error("Video download Error: " +
|
|
10412
|
-
},
|
|
10428
|
+
E(new Error("Video download Error: " + x.status));
|
|
10429
|
+
}, x.onerror = (I) => E(I), x.open("GET", A), x.responseType = "blob", x.send();
|
|
10413
10430
|
}), h = (A, b) => F(void 0, null, function* () {
|
|
10414
|
-
const { video_src: w, video_poster_src: E, points:
|
|
10415
|
-
e.videoSource = w, e.rectPoints = Xm(
|
|
10431
|
+
const { video_src: w, video_poster_src: E, points: x } = A;
|
|
10432
|
+
e.videoSource = w, e.rectPoints = Xm(x).map((I) => I.map(({ x: L, y: k, z: O }) => new C.Vector3(L, k, O))), e.imageTexture = u(E), b && (e.videoElement = b), e.videoTexture = yield d(e.videoSource, e.videoElement), e.enabled = !!A.enable, e.enabled && a();
|
|
10416
10433
|
}), f = (A) => {
|
|
10417
10434
|
if (!e.enabled)
|
|
10418
10435
|
return;
|
|
@@ -10426,13 +10443,13 @@ const Ob = (i, { videoElement: t }) => {
|
|
|
10426
10443
|
return;
|
|
10427
10444
|
const A = i.camera.position;
|
|
10428
10445
|
if (o.forEach((b, w) => {
|
|
10429
|
-
const E = b.css3DObject.position.clone(),
|
|
10430
|
-
|
|
10446
|
+
const E = b.css3DObject.position.clone(), x = E.clone().sub(A).normalize(), I = new C.Raycaster(A, x), L = i.model.intersectRaycaster(I)[0], k = E.distanceTo(A), O = 0.01;
|
|
10447
|
+
L && L.distance + O < k ? b.hide() : b.show();
|
|
10431
10448
|
}), !r()) {
|
|
10432
10449
|
const b = e.rectPoints.find((w) => {
|
|
10433
10450
|
const E = w[0].clone().add(w[1]).add(w[2]).add(w[3]).divideScalar(4);
|
|
10434
|
-
return w.map((
|
|
10435
|
-
const I =
|
|
10451
|
+
return w.map((x) => x.clone().add(E).divideScalar(2)).filter((x) => {
|
|
10452
|
+
const I = x.distanceTo(A), L = new C.Raycaster(A, x.clone().sub(A).normalize()), k = i.model.intersectRaycaster(L)[0], O = 0.01;
|
|
10436
10453
|
return !(k && k.distance + O < I);
|
|
10437
10454
|
}).length >= 2;
|
|
10438
10455
|
});
|
|
@@ -10637,7 +10654,7 @@ function nr(i) {
|
|
|
10637
10654
|
e || (P(t.$$.fragment, n), e = !0);
|
|
10638
10655
|
},
|
|
10639
10656
|
o(n) {
|
|
10640
|
-
|
|
10657
|
+
D(t.$$.fragment, n), e = !1;
|
|
10641
10658
|
},
|
|
10642
10659
|
d(n) {
|
|
10643
10660
|
Z(t, n);
|
|
@@ -10656,7 +10673,7 @@ function ir(i, t) {
|
|
|
10656
10673
|
M(r, e, a), s && s.m(r, a), M(r, n, a), o = !0;
|
|
10657
10674
|
},
|
|
10658
10675
|
p(r, a) {
|
|
10659
|
-
t = r, t[30].visible ? s ? (s.p(t, a), a[0] & 2 && P(s, 1)) : (s = nr(t), s.c(), P(s, 1), s.m(n.parentNode, n)) : s && (se(),
|
|
10676
|
+
t = r, t[30].visible ? s ? (s.p(t, a), a[0] & 2 && P(s, 1)) : (s = nr(t), s.c(), P(s, 1), s.m(n.parentNode, n)) : s && (se(), D(s, 1, 1, () => {
|
|
10660
10677
|
s = null;
|
|
10661
10678
|
}), re());
|
|
10662
10679
|
},
|
|
@@ -10664,7 +10681,7 @@ function ir(i, t) {
|
|
|
10664
10681
|
o || (P(s), o = !0);
|
|
10665
10682
|
},
|
|
10666
10683
|
o(r) {
|
|
10667
|
-
|
|
10684
|
+
D(s), o = !1;
|
|
10668
10685
|
},
|
|
10669
10686
|
d(r) {
|
|
10670
10687
|
r && S(e), s && s.d(r), r && S(n);
|
|
@@ -10703,7 +10720,7 @@ function ip(i) {
|
|
|
10703
10720
|
},
|
|
10704
10721
|
o(l) {
|
|
10705
10722
|
for (let c = 0; c < e.length; c += 1)
|
|
10706
|
-
|
|
10723
|
+
D(e[c]);
|
|
10707
10724
|
s = !1;
|
|
10708
10725
|
},
|
|
10709
10726
|
d(l) {
|
|
@@ -10727,7 +10744,7 @@ function sp(i, t, e) {
|
|
|
10727
10744
|
}, E = (G, X) => {
|
|
10728
10745
|
const H = new o(X.modelPosition[0], X.modelPosition[1], X.modelPosition[2]), ee = G.project2d(H), Y = ee == null ? void 0 : ee.x, ae = ee == null ? void 0 : ee.y;
|
|
10729
10746
|
return [Y, ae];
|
|
10730
|
-
},
|
|
10747
|
+
}, x = (G, X) => {
|
|
10731
10748
|
const H = X.map((Y) => {
|
|
10732
10749
|
if (G.state.panoIndex !== Y.panoIndex)
|
|
10733
10750
|
return fe(Q({}, Y), { visible: !1 });
|
|
@@ -10752,8 +10769,8 @@ function sp(i, t, e) {
|
|
|
10752
10769
|
return ae !== void 0 ? fe(Q({}, Y), { zIndex: ae * 10 }) : Y;
|
|
10753
10770
|
});
|
|
10754
10771
|
}, I = () => {
|
|
10755
|
-
p = [], e(1, h =
|
|
10756
|
-
},
|
|
10772
|
+
p = [], e(1, h = x(s, h));
|
|
10773
|
+
}, L = () => {
|
|
10757
10774
|
e(5, A = !1), k();
|
|
10758
10775
|
}, k = Dl(
|
|
10759
10776
|
() => {
|
|
@@ -10762,9 +10779,9 @@ function sp(i, t, e) {
|
|
|
10762
10779
|
300
|
|
10763
10780
|
), O = () => {
|
|
10764
10781
|
s.once("renderFrame", I);
|
|
10765
|
-
}, _ = () => {
|
|
10766
|
-
window.addEventListener("resize", O, !1);
|
|
10767
10782
|
}, W = () => {
|
|
10783
|
+
window.addEventListener("resize", O, !1);
|
|
10784
|
+
}, _ = () => {
|
|
10768
10785
|
d !== a && (e(1, h = er(a)), d = a, I());
|
|
10769
10786
|
}, V = (G, X) => {
|
|
10770
10787
|
let H = [];
|
|
@@ -10804,11 +10821,11 @@ function sp(i, t, e) {
|
|
|
10804
10821
|
}
|
|
10805
10822
|
};
|
|
10806
10823
|
Wa(() => {
|
|
10807
|
-
|
|
10824
|
+
_();
|
|
10808
10825
|
}), Ze(() => {
|
|
10809
|
-
e(1, h = er(a)), d = a, I(),
|
|
10826
|
+
e(1, h = er(a)), d = a, I(), W(), s.on("cameraUpdate", L);
|
|
10810
10827
|
}), Pt(() => {
|
|
10811
|
-
s.off("cameraUpdate",
|
|
10828
|
+
s.off("cameraUpdate", L), window.removeEventListener("resize", O, !1);
|
|
10812
10829
|
});
|
|
10813
10830
|
function R() {
|
|
10814
10831
|
v = this.clientWidth, g = this.clientHeight, e(3, v), e(4, g);
|
|
@@ -11116,38 +11133,38 @@ class bp extends cp {
|
|
|
11116
11133
|
}), this.fixDoorPosition();
|
|
11117
11134
|
});
|
|
11118
11135
|
m(this, "fixDoorPosition", () => {
|
|
11119
|
-
var u, d, h, f, v, g, p, A, b, w, E,
|
|
11136
|
+
var u, d, h, f, v, g, p, A, b, w, E, x;
|
|
11120
11137
|
const { panoIndex: e, camera: n } = this.five;
|
|
11121
11138
|
if (e === null)
|
|
11122
11139
|
return;
|
|
11123
11140
|
if (this.five.currentMode !== "Panorama")
|
|
11124
11141
|
return this.hideAllLabels();
|
|
11125
11142
|
const o = this.five.getElement(), s = o.clientWidth, r = o.clientHeight, a = n.getWorldDirection(new U()), l = [], c = [...this.labelItems];
|
|
11126
|
-
if (c.forEach((I,
|
|
11143
|
+
if (c.forEach((I, L) => {
|
|
11127
11144
|
if (I.visible) {
|
|
11128
|
-
const k = n.position.distanceTo(I.position), O = I.position.clone().add(new U(0, this.OffsetHeight, 0)),
|
|
11129
|
-
I.left = B, I.top = R, I.inSight = G &&
|
|
11145
|
+
const k = n.position.distanceTo(I.position), O = I.position.clone().add(new U(0, this.OffsetHeight, 0)), _ = O.clone().sub(n.position).normalize().angleTo(a), V = O.clone().project(n), B = (V.x + 1) / 2.2 * 100, R = (-V.y + 1) / 2.2 * 100, G = B >= 0 && B <= 100 && R >= 0 && R <= 100 && k > this.MinVisibledistance && k <= this.MaxVisibledistance;
|
|
11146
|
+
I.left = B, I.top = R, I.inSight = G && _ < Math.PI / 2, I.cameraToward = pp(this.five), G ? l.push({ disFromCameraToLabel: k, left: B, top: R, index: L }) : I.transform = "translate(-50%, -50%)";
|
|
11130
11147
|
} else
|
|
11131
11148
|
I.inSight = !1;
|
|
11132
11149
|
}), l.length > 1) {
|
|
11133
11150
|
let I = 0;
|
|
11134
|
-
l.sort((
|
|
11135
|
-
for (let
|
|
11136
|
-
const { index: k, left: O, top:
|
|
11151
|
+
l.sort((L, k) => k.disFromCameraToLabel - L.disFromCameraToLabel);
|
|
11152
|
+
for (let L = 1; L < l.length; L++) {
|
|
11153
|
+
const { index: k, left: O, top: W } = l[L - 1], { index: _, left: V, top: B } = l[L], R = this.container.children[k], G = this.container.children[_];
|
|
11137
11154
|
if (!R || !G)
|
|
11138
11155
|
return;
|
|
11139
11156
|
const X = {
|
|
11140
11157
|
left: s * O / 100,
|
|
11141
|
-
top: r *
|
|
11158
|
+
top: r * W / 100,
|
|
11142
11159
|
width: (h = (d = (u = R.children) == null ? void 0 : u[0]) == null ? void 0 : d.clientWidth) != null ? h : 0,
|
|
11143
11160
|
height: (g = (v = (f = R.children) == null ? void 0 : f[0]) == null ? void 0 : v.clientHeight) != null ? g : 0
|
|
11144
11161
|
}, H = {
|
|
11145
11162
|
left: s * V / 100,
|
|
11146
11163
|
top: r * B / 100,
|
|
11147
11164
|
width: (b = (A = (p = G.children) == null ? void 0 : p[0]) == null ? void 0 : A.clientWidth) != null ? b : 0,
|
|
11148
|
-
height: (
|
|
11165
|
+
height: (x = (E = (w = G.children) == null ? void 0 : w[0]) == null ? void 0 : E.clientHeight) != null ? x : 0
|
|
11149
11166
|
};
|
|
11150
|
-
mp(X, H) && (I++, c[k].transform = `translate(-50%, ${(I - 1) * 100 - 50}%)`, c[
|
|
11167
|
+
mp(X, H) && (I++, c[k].transform = `translate(-50%, ${(I - 1) * 100 - 50}%)`, c[_].transform = `translate(-50%, ${I * 100 - 50}%)`);
|
|
11151
11168
|
}
|
|
11152
11169
|
}
|
|
11153
11170
|
this.labelItems = c, this.render();
|
|
@@ -11261,28 +11278,28 @@ function Pp(i, t) {
|
|
|
11261
11278
|
const f = i;
|
|
11262
11279
|
return f.forEach((v, g) => {
|
|
11263
11280
|
let p = 0, A = 99999999;
|
|
11264
|
-
u.forEach((I,
|
|
11281
|
+
u.forEach((I, L) => {
|
|
11265
11282
|
const k = I.distanceTo(v);
|
|
11266
|
-
k < A && (p =
|
|
11283
|
+
k < A && (p = L, A = k);
|
|
11267
11284
|
});
|
|
11268
|
-
const b = u[p + 1], w = b == null ? void 0 : b.distanceTo(v), E = u[p - 1],
|
|
11285
|
+
const b = u[p + 1], w = b == null ? void 0 : b.distanceTo(v), E = u[p - 1], x = E == null ? void 0 : E.distanceTo(v);
|
|
11269
11286
|
if (p > h && p - h > 1) {
|
|
11270
11287
|
let I = p;
|
|
11271
|
-
E !== void 0 &&
|
|
11272
|
-
let
|
|
11273
|
-
if (b !== void 0 && w > 0.2 && w < 0.3 ?
|
|
11274
|
-
const
|
|
11275
|
-
if (
|
|
11276
|
-
if (
|
|
11277
|
-
|
|
11288
|
+
E !== void 0 && x > 0.8 && (I = p + 1), E !== void 0 && x > 0.2 && x < 0.3 ? I = p : A > 0.2 && A < 0.3 && (I = p + 1);
|
|
11289
|
+
let L = h;
|
|
11290
|
+
if (b !== void 0 && w > 0.2 && w < 0.3 ? L = h + 1 : A > 0.2 && A < 0.3 && (L = h), u[L] && u[L + 1]) {
|
|
11291
|
+
const W = f[g - 1];
|
|
11292
|
+
if (W)
|
|
11293
|
+
if (W.equals(u[L]))
|
|
11294
|
+
L += 1;
|
|
11278
11295
|
else {
|
|
11279
|
-
const
|
|
11280
|
-
|
|
11296
|
+
const _ = new U().subVectors(u[L + 1], u[L]), V = new U().subVectors(W, u[L]);
|
|
11297
|
+
_.angleTo(V) < Math.PI / 2 && (L += 1);
|
|
11281
11298
|
}
|
|
11282
11299
|
}
|
|
11283
|
-
if (I <
|
|
11300
|
+
if (I < L || I - L <= 1)
|
|
11284
11301
|
return;
|
|
11285
|
-
const k = u.slice(
|
|
11302
|
+
const k = u.slice(L, I), O = or(k, e, n);
|
|
11286
11303
|
d.push(O), h = p;
|
|
11287
11304
|
}
|
|
11288
11305
|
}), d;
|
|
@@ -11297,12 +11314,12 @@ function or(i, t, e) {
|
|
|
11297
11314
|
});
|
|
11298
11315
|
let g = 0;
|
|
11299
11316
|
for (let A = 0; A < i.length; A++) {
|
|
11300
|
-
const [b, w] = r[A][0], E = i[A], { x
|
|
11317
|
+
const [b, w] = r[A][0], E = i[A], { x, y: I, z: L } = E, k = new U(x + b * n, I + 0.05, L + w * n);
|
|
11301
11318
|
f[A * 6 + 0] = k.x, f[A * 6 + 1] = k.y, f[A * 6 + 2] = k.z;
|
|
11302
|
-
const O = new U(
|
|
11319
|
+
const O = new U(x - b * n, I + 0.05, L - w * n);
|
|
11303
11320
|
f[A * 6 + 3] = O.x, f[A * 6 + 4] = O.y, f[A * 6 + 5] = O.z, g += A > 0 ? i[A - 1].clone().sub(i[A]).length() : 0;
|
|
11304
|
-
const
|
|
11305
|
-
v[A * 4 + 0] = 0, v[A * 4 + 1] =
|
|
11321
|
+
const W = g / t / o;
|
|
11322
|
+
v[A * 4 + 0] = 0, v[A * 4 + 1] = W, v[A * 4 + 2] = 1, v[A * 4 + 3] = W, A !== i.length - 1 && (h[A * 6 + 0] = A * 2 + 0, h[A * 6 + 1] = A * 2 + 2, h[A * 6 + 2] = A * 2 + 1, h[A * 6 + 3] = A * 2 + 2, h[A * 6 + 4] = A * 2 + 3, h[A * 6 + 5] = A * 2 + 1);
|
|
11306
11323
|
}
|
|
11307
11324
|
const p = new C.BufferGeometry();
|
|
11308
11325
|
return p.setAttribute("position", new C.BufferAttribute(f, 3)), p.setAttribute("uv", new C.BufferAttribute(v, 2)), p.setIndex(new C.BufferAttribute(h, 1)), p;
|
|
@@ -11612,7 +11629,7 @@ class Bl extends zt {
|
|
|
11612
11629
|
if (!v || !f || ((b = n[c]) == null ? void 0 : b.floorIndex) !== ((w = n[h]) == null ? void 0 : w.floorIndex))
|
|
11613
11630
|
return;
|
|
11614
11631
|
const g = new C.Vector3().subVectors(v, f);
|
|
11615
|
-
return Mp(g);
|
|
11632
|
+
return Mp(g.normalize());
|
|
11616
11633
|
})();
|
|
11617
11634
|
o.moveType === void 0 || o.moveType === "justMove" ? s.push({
|
|
11618
11635
|
moveIndex: u,
|
|
@@ -13258,7 +13275,7 @@ function dr(i) {
|
|
|
13258
13275
|
M(c, t, u), j(t, e), j(e, n), j(n, o), j(o, s), j(o, r), l && l.m(e, null);
|
|
13259
13276
|
},
|
|
13260
13277
|
p(c, u) {
|
|
13261
|
-
u & 32 && y(s, "stop-color", c[5]), u & 32 && y(r, "stop-color", c[5]), u & 256 && y(o, "x2", c[8]), c[3] ? l ? (l.p(c, u), u & 8 && P(l, 1)) : (l = hr(c), l.c(), P(l, 1), l.m(e, null)) : l && (se(),
|
|
13278
|
+
u & 32 && y(s, "stop-color", c[5]), u & 32 && y(r, "stop-color", c[5]), u & 256 && y(o, "x2", c[8]), c[3] ? l ? (l.p(c, u), u & 8 && P(l, 1)) : (l = hr(c), l.c(), P(l, 1), l.m(e, null)) : l && (se(), D(l, 1, 1, () => {
|
|
13262
13279
|
l = null;
|
|
13263
13280
|
}), re()), u & 384 && a !== (a = "0 0 " + c[8] + " " + c[7]) && y(e, "viewBox", a), u & 512 && q(t, "vertical", c[9]), u & 512 && q(t, "horizontal", !c[9]), u & 256 && T(t, "width", c[8] + "px"), u & 128 && T(t, "height", c[7] + "px");
|
|
13264
13281
|
},
|
|
@@ -13416,7 +13433,7 @@ function vg(i) {
|
|
|
13416
13433
|
e && e.m(n, o), M(n, t, o);
|
|
13417
13434
|
},
|
|
13418
13435
|
p(n, [o]) {
|
|
13419
|
-
n[2] ? e ? (e.p(n, o), o & 4 && P(e, 1)) : (e = fr(n), e.c(), P(e, 1), e.m(t.parentNode, t)) : e && (se(),
|
|
13436
|
+
n[2] ? e ? (e.p(n, o), o & 4 && P(e, 1)) : (e = fr(n), e.c(), P(e, 1), e.m(t.parentNode, t)) : e && (se(), D(e, 1, 1, () => {
|
|
13420
13437
|
e = null;
|
|
13421
13438
|
}), re());
|
|
13422
13439
|
},
|
|
@@ -13424,7 +13441,7 @@ function vg(i) {
|
|
|
13424
13441
|
P(e);
|
|
13425
13442
|
},
|
|
13426
13443
|
o(n) {
|
|
13427
|
-
|
|
13444
|
+
D(e);
|
|
13428
13445
|
},
|
|
13429
13446
|
d(n) {
|
|
13430
13447
|
e && e.d(n), n && S(t);
|
|
@@ -13587,9 +13604,9 @@ function Ig(i, t, e) {
|
|
|
13587
13604
|
let n, { inDelay: o = 0 } = t, { outDelay: s = 0 } = t, { content: r } = t, { unfolded: a } = t, { isFistUnfoldedUpdate: l = !0 } = t;
|
|
13588
13605
|
const c = `__EMOJI_SPLIT_${Wi}__`, u = `__EMOJI_${Wi}__`, d = `__SPACE_${Wi}__`;
|
|
13589
13606
|
let h, f, v = [];
|
|
13590
|
-
function g(
|
|
13591
|
-
const I = [],
|
|
13592
|
-
return
|
|
13607
|
+
function g(x) {
|
|
13608
|
+
const I = [], L = new RegExp(new RegExp("\\p{Regional_Indicator}\\p{Regional_Indicator}|\\p{Emoji}(\\p{Emoji_Modifier}+|\\uFE0F\\u20E3?)?(\\u200D\\p{Emoji}(\\p{Emoji_Modifier}+|\\uFE0F\\u20E3?)?)+|\\p{Emoji_Presentation}(\\p{Emoji_Modifier}+|\\uFE0F\\u20E3?)?|\\p{Emoji}(\\p{Emoji_Modifier}+|\\uFE0F\\u20E3?)", "gu"));
|
|
13609
|
+
return x.slice().replace(L, (k) => `${c}${u}${k}${c}`).split(c).forEach((k) => k.startsWith(u) ? I.push({
|
|
13593
13610
|
id: Ge(),
|
|
13594
13611
|
content: k.slice(u.length)
|
|
13595
13612
|
}) : I.push(...k.split("").map((O) => O === " " ? d : O).map((O) => ({ id: Ge(), content: O })))), I;
|
|
@@ -13597,24 +13614,24 @@ function Ig(i, t, e) {
|
|
|
13597
13614
|
function p() {
|
|
13598
13615
|
if (!f)
|
|
13599
13616
|
return;
|
|
13600
|
-
const
|
|
13601
|
-
f.reversed !==
|
|
13617
|
+
const x = !a;
|
|
13618
|
+
f.reversed !== x && f.reverse(), f.play();
|
|
13602
13619
|
}
|
|
13603
|
-
function A(
|
|
13620
|
+
function A(x) {
|
|
13604
13621
|
if (l) {
|
|
13605
13622
|
e(4, l = !1);
|
|
13606
13623
|
return;
|
|
13607
13624
|
}
|
|
13608
|
-
clearTimeout(h), h = setTimeout(p,
|
|
13625
|
+
clearTimeout(h), h = setTimeout(p, x ? o : s);
|
|
13609
13626
|
}
|
|
13610
|
-
function b(
|
|
13627
|
+
function b(x) {
|
|
13611
13628
|
const I = function() {
|
|
13612
|
-
const
|
|
13613
|
-
if (
|
|
13614
|
-
return
|
|
13629
|
+
const L = Xp((k) => x[k].getBoundingClientRect().x, [Math.min(x.length - 1, 10), Math.min(x.length - 1, 30)]);
|
|
13630
|
+
if (L > 0)
|
|
13631
|
+
return L;
|
|
13615
13632
|
}();
|
|
13616
13633
|
f = Fo({
|
|
13617
|
-
targets:
|
|
13634
|
+
targets: x.slice(0, I).filter(wt),
|
|
13618
13635
|
autoplay: !1,
|
|
13619
13636
|
duration: 400,
|
|
13620
13637
|
scale: [0.7, 1],
|
|
@@ -13626,20 +13643,20 @@ function Ig(i, t, e) {
|
|
|
13626
13643
|
easing: "easeInOutCubic"
|
|
13627
13644
|
}), a && f.seek(f.duration);
|
|
13628
13645
|
}
|
|
13629
|
-
function w(
|
|
13630
|
-
Be[
|
|
13631
|
-
v[I] =
|
|
13646
|
+
function w(x, I) {
|
|
13647
|
+
Be[x ? "unshift" : "push"](() => {
|
|
13648
|
+
v[I] = x, e(1, v);
|
|
13632
13649
|
});
|
|
13633
13650
|
}
|
|
13634
|
-
function E(
|
|
13635
|
-
Be[
|
|
13636
|
-
v[I] =
|
|
13651
|
+
function E(x, I) {
|
|
13652
|
+
Be[x ? "unshift" : "push"](() => {
|
|
13653
|
+
v[I] = x, e(1, v);
|
|
13637
13654
|
});
|
|
13638
13655
|
}
|
|
13639
|
-
return i.$$set = (
|
|
13640
|
-
"inDelay" in
|
|
13656
|
+
return i.$$set = (x) => {
|
|
13657
|
+
"inDelay" in x && e(5, o = x.inDelay), "outDelay" in x && e(6, s = x.outDelay), "content" in x && e(0, r = x.content), "unfolded" in x && e(7, a = x.unfolded), "isFistUnfoldedUpdate" in x && e(4, l = x.isFistUnfoldedUpdate);
|
|
13641
13658
|
}, i.$$.update = () => {
|
|
13642
|
-
i.$$.dirty & 1 && e(2, n = g(r)), i.$$.dirty & 128 && A(a), i.$$.dirty & 2 && b(v.filter((
|
|
13659
|
+
i.$$.dirty & 1 && e(2, n = g(r)), i.$$.dirty & 128 && A(a), i.$$.dirty & 2 && b(v.filter((x) => !!x));
|
|
13643
13660
|
}, [
|
|
13644
13661
|
r,
|
|
13645
13662
|
v,
|
|
@@ -13704,7 +13721,7 @@ function gr(i) {
|
|
|
13704
13721
|
}), l = !0);
|
|
13705
13722
|
},
|
|
13706
13723
|
o(d) {
|
|
13707
|
-
|
|
13724
|
+
D(e.$$.fragment, d), r && r.invalidate(), d && (a = sn(o, St, {
|
|
13708
13725
|
duration: i[2],
|
|
13709
13726
|
delay: i[4],
|
|
13710
13727
|
easing: Yt
|
|
@@ -13725,7 +13742,7 @@ function Mg(i) {
|
|
|
13725
13742
|
n && n.m(o, s), M(o, t, s), e = !0;
|
|
13726
13743
|
},
|
|
13727
13744
|
p(o, [s]) {
|
|
13728
|
-
o[1] ? n ? (n.p(o, s), s & 2 && P(n, 1)) : (n = gr(o), n.c(), P(n, 1), n.m(t.parentNode, t)) : n && (se(),
|
|
13745
|
+
o[1] ? n ? (n.p(o, s), s & 2 && P(n, 1)) : (n = gr(o), n.c(), P(n, 1), n.m(t.parentNode, t)) : n && (se(), D(n, 1, 1, () => {
|
|
13729
13746
|
n = null;
|
|
13730
13747
|
}), re());
|
|
13731
13748
|
},
|
|
@@ -13733,7 +13750,7 @@ function Mg(i) {
|
|
|
13733
13750
|
e || (P(n), e = !0);
|
|
13734
13751
|
},
|
|
13735
13752
|
o(o) {
|
|
13736
|
-
|
|
13753
|
+
D(n), e = !1;
|
|
13737
13754
|
},
|
|
13738
13755
|
d(o) {
|
|
13739
13756
|
n && n.d(o), o && S(t);
|
|
@@ -13804,7 +13821,7 @@ function Ar(i) {
|
|
|
13804
13821
|
n || (P(e.$$.fragment, o), n = !0);
|
|
13805
13822
|
},
|
|
13806
13823
|
o(o) {
|
|
13807
|
-
|
|
13824
|
+
D(e.$$.fragment, o), n = !1;
|
|
13808
13825
|
},
|
|
13809
13826
|
d(o) {
|
|
13810
13827
|
o && S(t), Z(e), i[10](null);
|
|
@@ -13835,7 +13852,7 @@ function vr(i) {
|
|
|
13835
13852
|
n || (P(e.$$.fragment, o), n = !0);
|
|
13836
13853
|
},
|
|
13837
13854
|
o(o) {
|
|
13838
|
-
|
|
13855
|
+
D(e.$$.fragment, o), n = !1;
|
|
13839
13856
|
},
|
|
13840
13857
|
d(o) {
|
|
13841
13858
|
o && S(t), Z(e);
|
|
@@ -13852,9 +13869,9 @@ function Vg(i) {
|
|
|
13852
13869
|
o && o.m(r, a), M(r, t, a), s && s.m(r, a), M(r, e, a), n = !0;
|
|
13853
13870
|
},
|
|
13854
13871
|
p(r, [a]) {
|
|
13855
|
-
r[1] ? o ? (o.p(r, a), a & 2 && P(o, 1)) : (o = Ar(r), o.c(), P(o, 1), o.m(t.parentNode, t)) : o && (se(),
|
|
13872
|
+
r[1] ? o ? (o.p(r, a), a & 2 && P(o, 1)) : (o = Ar(r), o.c(), P(o, 1), o.m(t.parentNode, t)) : o && (se(), D(o, 1, 1, () => {
|
|
13856
13873
|
o = null;
|
|
13857
|
-
}), re()), r[3] < r[4] ? s ? (s.p(r, a), a & 24 && P(s, 1)) : (s = vr(r), s.c(), P(s, 1), s.m(e.parentNode, e)) : s && (se(),
|
|
13874
|
+
}), re()), r[3] < r[4] ? s ? (s.p(r, a), a & 24 && P(s, 1)) : (s = vr(r), s.c(), P(s, 1), s.m(e.parentNode, e)) : s && (se(), D(s, 1, 1, () => {
|
|
13858
13875
|
s = null;
|
|
13859
13876
|
}), re());
|
|
13860
13877
|
},
|
|
@@ -13862,7 +13879,7 @@ function Vg(i) {
|
|
|
13862
13879
|
n || (P(o), P(s), n = !0);
|
|
13863
13880
|
},
|
|
13864
13881
|
o(r) {
|
|
13865
|
-
|
|
13882
|
+
D(o), D(s), n = !1;
|
|
13866
13883
|
},
|
|
13867
13884
|
d(r) {
|
|
13868
13885
|
o && o.d(r), r && S(t), s && s.d(r), r && S(e);
|
|
@@ -13957,7 +13974,7 @@ function br(i) {
|
|
|
13957
13974
|
a || (P(t.$$.fragment, h), P(n.$$.fragment, h), P(r.$$.fragment, h), a = !0);
|
|
13958
13975
|
},
|
|
13959
13976
|
o(h) {
|
|
13960
|
-
|
|
13977
|
+
D(t.$$.fragment, h), D(n.$$.fragment, h), D(r.$$.fragment, h), a = !1;
|
|
13961
13978
|
},
|
|
13962
13979
|
d(h) {
|
|
13963
13980
|
Z(t, h), h && S(e), Z(n, h), h && S(o), h && S(s), Z(r), l = !1, He(c);
|
|
@@ -13974,7 +13991,7 @@ function Rg(i) {
|
|
|
13974
13991
|
n && n.m(o, s), M(o, t, s), e = !0;
|
|
13975
13992
|
},
|
|
13976
13993
|
p(o, [s]) {
|
|
13977
|
-
o[0].state ? n ? (n.p(o, s), s & 1 && P(n, 1)) : (n = br(o), n.c(), P(n, 1), n.m(t.parentNode, t)) : n && (se(),
|
|
13994
|
+
o[0].state ? n ? (n.p(o, s), s & 1 && P(n, 1)) : (n = br(o), n.c(), P(n, 1), n.m(t.parentNode, t)) : n && (se(), D(n, 1, 1, () => {
|
|
13978
13995
|
n = null;
|
|
13979
13996
|
}), re());
|
|
13980
13997
|
},
|
|
@@ -13982,7 +13999,7 @@ function Rg(i) {
|
|
|
13982
13999
|
e || (P(n), e = !0);
|
|
13983
14000
|
},
|
|
13984
14001
|
o(o) {
|
|
13985
|
-
|
|
14002
|
+
D(n), e = !1;
|
|
13986
14003
|
},
|
|
13987
14004
|
d(o) {
|
|
13988
14005
|
n && n.d(o), o && S(t);
|
|
@@ -14054,7 +14071,7 @@ function Wg(i) {
|
|
|
14054
14071
|
t || (P(n, o), t = !0);
|
|
14055
14072
|
},
|
|
14056
14073
|
o(o) {
|
|
14057
|
-
|
|
14074
|
+
D(n, o), t = !1;
|
|
14058
14075
|
},
|
|
14059
14076
|
d(o) {
|
|
14060
14077
|
n && n.d(o);
|
|
@@ -14147,7 +14164,7 @@ function Xg(i) {
|
|
|
14147
14164
|
},
|
|
14148
14165
|
p(l, [c]) {
|
|
14149
14166
|
let u = e;
|
|
14150
|
-
e = a(l), e === u ? r[e].p(l, c) : (se(),
|
|
14167
|
+
e = a(l), e === u ? r[e].p(l, c) : (se(), D(r[u], 1, 1, () => {
|
|
14151
14168
|
r[u] = null;
|
|
14152
14169
|
}), re(), n = r[e], n ? n.p(l, c) : (n = r[e] = s[e](l), n.c()), P(n, 1), n.m(t, null)), c & 2 && T(t, "max-width", typeof l[1] == "number" ? it(l[1]) : l[1]), c & 1 && T(t, "-webkit-line-clamp", l[0]);
|
|
14153
14170
|
},
|
|
@@ -14155,7 +14172,7 @@ function Xg(i) {
|
|
|
14155
14172
|
o || (P(n), o = !0);
|
|
14156
14173
|
},
|
|
14157
14174
|
o(l) {
|
|
14158
|
-
|
|
14175
|
+
D(n), o = !1;
|
|
14159
14176
|
},
|
|
14160
14177
|
d(l) {
|
|
14161
14178
|
l && S(t), r[e].d();
|
|
@@ -14222,7 +14239,7 @@ function Er(i) {
|
|
|
14222
14239
|
const g = {};
|
|
14223
14240
|
v & 2 && (g.unfolded = f[1]), t.$set(g);
|
|
14224
14241
|
const p = {};
|
|
14225
|
-
v & 4 && (p.text = f[2]), v & 1 && (p.edit = (A = f[0].data.edit) == null ? void 0 : A.title), a.$set(p), f[0].data.description || ((b = f[0].data.edit) == null ? void 0 : b.description) ? u ? (u.p(f, v), v & 1 && P(u, 1)) : (u = Cr(f), u.c(), P(u, 1), u.m(s, null)) : u && (se(),
|
|
14242
|
+
v & 4 && (p.text = f[2]), v & 1 && (p.edit = (A = f[0].data.edit) == null ? void 0 : A.title), a.$set(p), f[0].data.description || ((b = f[0].data.edit) == null ? void 0 : b.description) ? u ? (u.p(f, v), v & 1 && P(u, 1)) : (u = Cr(f), u.c(), P(u, 1), u.m(s, null)) : u && (se(), D(u, 1, 1, () => {
|
|
14226
14243
|
u = null;
|
|
14227
14244
|
}), re()), v & 2 && T(o, "transform", f[1] ? "translateY(-15px)" : "translateY(0)"), (!c || v & 2) && q(n, "unfolded", f[1]), (!c || v & 8) && q(n, "folded", f[3]);
|
|
14228
14245
|
},
|
|
@@ -14230,7 +14247,7 @@ function Er(i) {
|
|
|
14230
14247
|
c || (P(t.$$.fragment, f), P(a.$$.fragment, f), P(u), c = !0);
|
|
14231
14248
|
},
|
|
14232
14249
|
o(f) {
|
|
14233
|
-
|
|
14250
|
+
D(t.$$.fragment, f), D(a.$$.fragment, f), D(u), c = !1;
|
|
14234
14251
|
},
|
|
14235
14252
|
d(f) {
|
|
14236
14253
|
Z(t, f), f && S(e), f && S(n), Z(a), u && u.d();
|
|
@@ -14262,7 +14279,7 @@ function Cr(i) {
|
|
|
14262
14279
|
n || (P(e.$$.fragment, s), n = !0);
|
|
14263
14280
|
},
|
|
14264
14281
|
o(s) {
|
|
14265
|
-
|
|
14282
|
+
D(e.$$.fragment, s), n = !1;
|
|
14266
14283
|
},
|
|
14267
14284
|
d(s) {
|
|
14268
14285
|
s && S(t), Z(e);
|
|
@@ -14279,7 +14296,7 @@ function qg(i) {
|
|
|
14279
14296
|
n && n.m(o, s), M(o, t, s), e = !0;
|
|
14280
14297
|
},
|
|
14281
14298
|
p(o, [s]) {
|
|
14282
|
-
o[0].state ? n ? (n.p(o, s), s & 1 && P(n, 1)) : (n = Er(o), n.c(), P(n, 1), n.m(t.parentNode, t)) : n && (se(),
|
|
14299
|
+
o[0].state ? n ? (n.p(o, s), s & 1 && P(n, 1)) : (n = Er(o), n.c(), P(n, 1), n.m(t.parentNode, t)) : n && (se(), D(n, 1, 1, () => {
|
|
14283
14300
|
n = null;
|
|
14284
14301
|
}), re());
|
|
14285
14302
|
},
|
|
@@ -14287,7 +14304,7 @@ function qg(i) {
|
|
|
14287
14304
|
e || (P(n), e = !0);
|
|
14288
14305
|
},
|
|
14289
14306
|
o(o) {
|
|
14290
|
-
|
|
14307
|
+
D(n), e = !1;
|
|
14291
14308
|
},
|
|
14292
14309
|
d(o) {
|
|
14293
14310
|
n && n.d(o), o && S(t);
|
|
@@ -14325,7 +14342,7 @@ function Kg(i) {
|
|
|
14325
14342
|
e || (P(t.$$.fragment, n), e = !0);
|
|
14326
14343
|
},
|
|
14327
14344
|
o(n) {
|
|
14328
|
-
|
|
14345
|
+
D(t.$$.fragment, n), e = !1;
|
|
14329
14346
|
},
|
|
14330
14347
|
d(n) {
|
|
14331
14348
|
Z(t, n);
|
|
@@ -14349,7 +14366,7 @@ function $g(i) {
|
|
|
14349
14366
|
e || (P(t.$$.fragment, n), e = !0);
|
|
14350
14367
|
},
|
|
14351
14368
|
o(n) {
|
|
14352
|
-
|
|
14369
|
+
D(t.$$.fragment, n), e = !1;
|
|
14353
14370
|
},
|
|
14354
14371
|
d(n) {
|
|
14355
14372
|
Z(t, n);
|
|
@@ -14371,7 +14388,7 @@ function e0(i) {
|
|
|
14371
14388
|
},
|
|
14372
14389
|
p(l, [c]) {
|
|
14373
14390
|
let u = t;
|
|
14374
|
-
t = a(l), t === u ? ~t && r[t].p(l, c) : (e && (se(),
|
|
14391
|
+
t = a(l), t === u ? ~t && r[t].p(l, c) : (e && (se(), D(r[u], 1, 1, () => {
|
|
14375
14392
|
r[u] = null;
|
|
14376
14393
|
}), re()), ~t ? (e = r[t], e ? e.p(l, c) : (e = r[t] = s[t](l), e.c()), P(e, 1), e.m(n.parentNode, n)) : e = null);
|
|
14377
14394
|
},
|
|
@@ -14379,7 +14396,7 @@ function e0(i) {
|
|
|
14379
14396
|
o || (P(e), o = !0);
|
|
14380
14397
|
},
|
|
14381
14398
|
o(l) {
|
|
14382
|
-
|
|
14399
|
+
D(e), o = !1;
|
|
14383
14400
|
},
|
|
14384
14401
|
d(l) {
|
|
14385
14402
|
~t && r[t].d(l), l && S(n);
|
|
@@ -14446,7 +14463,7 @@ function o0(i) {
|
|
|
14446
14463
|
M(a, t, l), j(t, e), j(e, n), j(n, o), j(n, s), r && r.m(t, null);
|
|
14447
14464
|
},
|
|
14448
14465
|
p(a, [l]) {
|
|
14449
|
-
a[3] ? r ? (r.p(a, l), l & 8 && P(r, 1)) : (r = Pr(a), r.c(), P(r, 1), r.m(t, null)) : r && (se(),
|
|
14466
|
+
a[3] ? r ? (r.p(a, l), l & 8 && P(r, 1)) : (r = Pr(a), r.c(), P(r, 1), r.m(t, null)) : r && (se(), D(r, 1, 1, () => {
|
|
14450
14467
|
r = null;
|
|
14451
14468
|
}), re());
|
|
14452
14469
|
},
|
|
@@ -14454,7 +14471,7 @@ function o0(i) {
|
|
|
14454
14471
|
P(r);
|
|
14455
14472
|
},
|
|
14456
14473
|
o(a) {
|
|
14457
|
-
|
|
14474
|
+
D(r);
|
|
14458
14475
|
},
|
|
14459
14476
|
d(a) {
|
|
14460
14477
|
a && S(t), r && r.d();
|
|
@@ -14558,7 +14575,7 @@ function kr(i, t) {
|
|
|
14558
14575
|
s || (P(n.$$.fragment, a), s = !0);
|
|
14559
14576
|
},
|
|
14560
14577
|
o(a) {
|
|
14561
|
-
|
|
14578
|
+
D(n.$$.fragment, a), s = !1;
|
|
14562
14579
|
},
|
|
14563
14580
|
d(a) {
|
|
14564
14581
|
a && S(e), Z(n);
|
|
@@ -14597,7 +14614,7 @@ function h0(i) {
|
|
|
14597
14614
|
},
|
|
14598
14615
|
o(a) {
|
|
14599
14616
|
for (let l = 0; l < e.length; l += 1)
|
|
14600
|
-
|
|
14617
|
+
D(e[l]);
|
|
14601
14618
|
o = !1;
|
|
14602
14619
|
},
|
|
14603
14620
|
d(a) {
|
|
@@ -15474,7 +15491,7 @@ function Or(i) {
|
|
|
15474
15491
|
t || (P(o, s), t = !0);
|
|
15475
15492
|
},
|
|
15476
15493
|
o(s) {
|
|
15477
|
-
|
|
15494
|
+
D(o, s), t = !1;
|
|
15478
15495
|
},
|
|
15479
15496
|
d(s) {
|
|
15480
15497
|
o && o.d(s);
|
|
@@ -15503,7 +15520,7 @@ function pA(i) {
|
|
|
15503
15520
|
n || (P(e.$$.fragment, o), n = !0);
|
|
15504
15521
|
},
|
|
15505
15522
|
o(o) {
|
|
15506
|
-
|
|
15523
|
+
D(e.$$.fragment, o), n = !1;
|
|
15507
15524
|
},
|
|
15508
15525
|
d(o) {
|
|
15509
15526
|
o && S(t), Z(e);
|
|
@@ -15529,7 +15546,7 @@ function Qr(i) {
|
|
|
15529
15546
|
n || (P(e.$$.fragment, o), n = !0);
|
|
15530
15547
|
},
|
|
15531
15548
|
o(o) {
|
|
15532
|
-
|
|
15549
|
+
D(e.$$.fragment, o), n = !1;
|
|
15533
15550
|
},
|
|
15534
15551
|
d(o) {
|
|
15535
15552
|
o && S(t), Z(e);
|
|
@@ -15560,7 +15577,7 @@ function Rr(i) {
|
|
|
15560
15577
|
t || (P(o, s), t = !0);
|
|
15561
15578
|
},
|
|
15562
15579
|
o(s) {
|
|
15563
|
-
|
|
15580
|
+
D(o, s), t = !1;
|
|
15564
15581
|
},
|
|
15565
15582
|
d(s) {
|
|
15566
15583
|
o && o.d(s);
|
|
@@ -15589,7 +15606,7 @@ function gA(i) {
|
|
|
15589
15606
|
n || (P(e.$$.fragment, o), n = !0);
|
|
15590
15607
|
},
|
|
15591
15608
|
o(o) {
|
|
15592
|
-
|
|
15609
|
+
D(e.$$.fragment, o), n = !1;
|
|
15593
15610
|
},
|
|
15594
15611
|
d(o) {
|
|
15595
15612
|
o && S(t), Z(e);
|
|
@@ -15620,7 +15637,7 @@ function Fr(i) {
|
|
|
15620
15637
|
t || (P(o, s), t = !0);
|
|
15621
15638
|
},
|
|
15622
15639
|
o(s) {
|
|
15623
|
-
|
|
15640
|
+
D(o, s), t = !1;
|
|
15624
15641
|
},
|
|
15625
15642
|
d(s) {
|
|
15626
15643
|
o && o.d(s);
|
|
@@ -15649,7 +15666,7 @@ function AA(i) {
|
|
|
15649
15666
|
e || (P(t.$$.fragment, n), e = !0);
|
|
15650
15667
|
},
|
|
15651
15668
|
o(n) {
|
|
15652
|
-
|
|
15669
|
+
D(t.$$.fragment, n), e = !1;
|
|
15653
15670
|
},
|
|
15654
15671
|
d(n) {
|
|
15655
15672
|
Z(t, n);
|
|
@@ -15681,7 +15698,7 @@ function vA(i) {
|
|
|
15681
15698
|
], d = !0);
|
|
15682
15699
|
},
|
|
15683
15700
|
p(w, E) {
|
|
15684
|
-
w[1] ? f ? (f.p(w, E), E[0] & 2 && P(f, 1)) : (f = Or(w), f.c(), P(f, 1), f.m(e, n)) : f && (se(),
|
|
15701
|
+
w[1] ? f ? (f.p(w, E), E[0] & 2 && P(f, 1)) : (f = Or(w), f.c(), P(f, 1), f.m(e, n)) : f && (se(), D(f, 1, 1, () => {
|
|
15685
15702
|
f = null;
|
|
15686
15703
|
}), re()), g && g.p && (!u || E[0] & 96 | E[1] & 32) && tn(
|
|
15687
15704
|
g,
|
|
@@ -15692,11 +15709,11 @@ function vA(i) {
|
|
|
15692
15709
|
jr
|
|
15693
15710
|
), (!u || E[0] & 256) && T(s, "transform", "translateX(" + w[8] + "px)"), (!u || E[0] & 512) && T(s, "transition-duration", w[9] + "ms"), (!u || E[0] & 1) && T(s, "transition-timing-function", w[0]), r && Kt(r.update) && E[0] & 2048 && r.update.call(null, {
|
|
15694
15711
|
thresholdProvider: w[38]
|
|
15695
|
-
}), w[3] ? p ? (p.p(w, E), E[0] & 8 && P(p, 1)) : (p = Qr(w), p.c(), P(p, 1), p.m(o, null)) : p && (se(),
|
|
15712
|
+
}), w[3] ? p ? (p.p(w, E), E[0] & 8 && P(p, 1)) : (p = Qr(w), p.c(), P(p, 1), p.m(o, null)) : p && (se(), D(p, 1, 1, () => {
|
|
15696
15713
|
p = null;
|
|
15697
|
-
}), re()), w[1] ? A ? (A.p(w, E), E[0] & 2 && P(A, 1)) : (A = Rr(w), A.c(), P(A, 1), A.m(e, null)) : A && (se(),
|
|
15714
|
+
}), re()), w[1] ? A ? (A.p(w, E), E[0] & 2 && P(A, 1)) : (A = Rr(w), A.c(), P(A, 1), A.m(e, null)) : A && (se(), D(A, 1, 1, () => {
|
|
15698
15715
|
A = null;
|
|
15699
|
-
}), re()), w[4] ? b ? (b.p(w, E), E[0] & 16 && P(b, 1)) : (b = Fr(w), b.c(), P(b, 1), b.m(t, null)) : b && (se(),
|
|
15716
|
+
}), re()), w[4] ? b ? (b.p(w, E), E[0] & 16 && P(b, 1)) : (b = Fr(w), b.c(), P(b, 1), b.m(t, null)) : b && (se(), D(b, 1, 1, () => {
|
|
15700
15717
|
b = null;
|
|
15701
15718
|
}), re());
|
|
15702
15719
|
},
|
|
@@ -15704,7 +15721,7 @@ function vA(i) {
|
|
|
15704
15721
|
u || (P(f), P(g, w), P(p), P(A), P(b), u = !0);
|
|
15705
15722
|
},
|
|
15706
15723
|
o(w) {
|
|
15707
|
-
|
|
15724
|
+
D(f), D(g, w), D(p), D(A), D(b), u = !1;
|
|
15708
15725
|
},
|
|
15709
15726
|
d(w) {
|
|
15710
15727
|
w && S(t), f && f.d(), g && g.d(w), i[39](null), p && p.d(), i[40](null), A && A.d(), b && b.d(), d = !1, He(h);
|
|
@@ -15723,7 +15740,7 @@ function bA(i, t, e) {
|
|
|
15723
15740
|
loaded: () => e(6, s = ve)
|
|
15724
15741
|
})(te);
|
|
15725
15742
|
}), g = yi();
|
|
15726
|
-
let { timingFunction: p = "ease-in-out" } = t, { arrows: A = !0 } = t, { infinite: b = !0 } = t, { initialPageIndex: w = 0 } = t, { duration: E = 500 } = t, { autoplay:
|
|
15743
|
+
let { timingFunction: p = "ease-in-out" } = t, { arrows: A = !0 } = t, { infinite: b = !0 } = t, { initialPageIndex: w = 0 } = t, { duration: E = 500 } = t, { autoplay: x = !1 } = t, { autoplayDuration: I = 3e3 } = t, { autoplayDirection: L = Et } = t, { pauseOnFocus: k = !1 } = t, { autoplayProgressVisible: O = !1 } = t, { dots: W = !0 } = t, { swiping: _ = !0 } = t, { particlesToShow: V = 1 } = t, { particlesToScroll: B = 1 } = t;
|
|
15727
15744
|
function R(te, ve) {
|
|
15728
15745
|
return F(this, null, function* () {
|
|
15729
15746
|
const je = wn(ve, "animated", !0);
|
|
@@ -15776,25 +15793,25 @@ function bA(i, t, e) {
|
|
|
15776
15793
|
});
|
|
15777
15794
|
}
|
|
15778
15795
|
function pe() {
|
|
15779
|
-
!
|
|
15796
|
+
!_ || (d.durationMs = 0);
|
|
15780
15797
|
}
|
|
15781
15798
|
function Ce(te) {
|
|
15782
15799
|
return F(this, null, function* () {
|
|
15783
|
-
!
|
|
15800
|
+
!_ || (yield ho({
|
|
15784
15801
|
[Et]: f.showNextPage,
|
|
15785
15802
|
[Jt]: f.showPrevPage
|
|
15786
15803
|
})(te.detail.direction));
|
|
15787
15804
|
});
|
|
15788
15805
|
}
|
|
15789
15806
|
function Pe(te) {
|
|
15790
|
-
!
|
|
15807
|
+
!_ || (d.offset += te.detail.dx);
|
|
15791
15808
|
}
|
|
15792
15809
|
function Se() {
|
|
15793
|
-
!
|
|
15810
|
+
!_ || f.showParticle(d.currentParticleIndex);
|
|
15794
15811
|
}
|
|
15795
15812
|
function ce() {
|
|
15796
15813
|
return F(this, null, function* () {
|
|
15797
|
-
!
|
|
15814
|
+
!_ || (yield f.offsetPage({ animated: !0 }));
|
|
15798
15815
|
});
|
|
15799
15816
|
}
|
|
15800
15817
|
function Ae(te) {
|
|
@@ -15819,15 +15836,15 @@ function bA(i, t, e) {
|
|
|
15819
15836
|
}
|
|
15820
15837
|
const $e = (te) => de(te.detail);
|
|
15821
15838
|
return i.$$set = (te) => {
|
|
15822
|
-
"timingFunction" in te && e(0, p = te.timingFunction), "arrows" in te && e(1, A = te.arrows), "infinite" in te && e(2, b = te.infinite), "initialPageIndex" in te && e(24, w = te.initialPageIndex), "duration" in te && e(25, E = te.duration), "autoplay" in te && e(26,
|
|
15839
|
+
"timingFunction" in te && e(0, p = te.timingFunction), "arrows" in te && e(1, A = te.arrows), "infinite" in te && e(2, b = te.infinite), "initialPageIndex" in te && e(24, w = te.initialPageIndex), "duration" in te && e(25, E = te.duration), "autoplay" in te && e(26, x = te.autoplay), "autoplayDuration" in te && e(27, I = te.autoplayDuration), "autoplayDirection" in te && e(28, L = te.autoplayDirection), "pauseOnFocus" in te && e(29, k = te.pauseOnFocus), "autoplayProgressVisible" in te && e(3, O = te.autoplayProgressVisible), "dots" in te && e(4, W = te.dots), "swiping" in te && e(30, _ = te.swiping), "particlesToShow" in te && e(31, V = te.particlesToShow), "particlesToScroll" in te && e(32, B = te.particlesToScroll), "$$scope" in te && e(36, o = te.$$scope);
|
|
15823
15840
|
}, i.$$.update = () => {
|
|
15824
|
-
i.$$.dirty[0] & 32 && g("pageChange", r), i.$$.dirty[0] & 4 && (d.infinite = b), i.$$.dirty[0] & 33554432 && (d.durationMsInit = E), i.$$.dirty[0] & 67108864 && (d.autoplay =
|
|
15841
|
+
i.$$.dirty[0] & 32 && g("pageChange", r), i.$$.dirty[0] & 4 && (d.infinite = b), i.$$.dirty[0] & 33554432 && (d.durationMsInit = E), i.$$.dirty[0] & 67108864 && (d.autoplay = x), i.$$.dirty[0] & 134217728 && (d.autoplayDuration = I), i.$$.dirty[0] & 268435456 && (d.autoplayDirection = L), i.$$.dirty[0] & 536870912 && (d.pauseOnFocus = k), i.$$.dirty[1] & 1 && (d.particlesToShowInit = V), i.$$.dirty[1] & 2 && (d.particlesToScrollInit = B);
|
|
15825
15842
|
}, [
|
|
15826
15843
|
p,
|
|
15827
15844
|
A,
|
|
15828
15845
|
b,
|
|
15829
15846
|
O,
|
|
15830
|
-
|
|
15847
|
+
W,
|
|
15831
15848
|
r,
|
|
15832
15849
|
s,
|
|
15833
15850
|
a,
|
|
@@ -15849,11 +15866,11 @@ function bA(i, t, e) {
|
|
|
15849
15866
|
ue,
|
|
15850
15867
|
w,
|
|
15851
15868
|
E,
|
|
15852
|
-
|
|
15869
|
+
x,
|
|
15853
15870
|
I,
|
|
15854
|
-
|
|
15871
|
+
L,
|
|
15855
15872
|
k,
|
|
15856
|
-
|
|
15873
|
+
_,
|
|
15857
15874
|
V,
|
|
15858
15875
|
B,
|
|
15859
15876
|
R,
|
|
@@ -16057,7 +16074,7 @@ function xA(i, t, e) {
|
|
|
16057
16074
|
tag: r,
|
|
16058
16075
|
mediaInstance: n
|
|
16059
16076
|
});
|
|
16060
|
-
},
|
|
16077
|
+
}, x = (O) => {
|
|
16061
16078
|
n && n.pause();
|
|
16062
16079
|
};
|
|
16063
16080
|
function I(O) {
|
|
@@ -16065,15 +16082,15 @@ function xA(i, t, e) {
|
|
|
16065
16082
|
s.videoInstance = O, e(0, s);
|
|
16066
16083
|
});
|
|
16067
16084
|
}
|
|
16068
|
-
const
|
|
16085
|
+
const L = () => l === "withText" ? xg : l === "withoutText" ? Dg : l, k = (O) => {
|
|
16069
16086
|
!u || n && (e(8, n.muted = !1, n), n.play());
|
|
16070
16087
|
};
|
|
16071
16088
|
return i.$$set = (O) => {
|
|
16072
16089
|
"mediaInstance" in O && e(0, s = O.mediaInstance), "tag" in O && e(1, r = O.tag), "media" in O && e(2, a = O.media), "playButtonIfNeed" in O && e(3, l = O.playButtonIfNeed), "playButtonSizeIfNeed" in O && e(4, c = O.playButtonSizeIfNeed), "canPlay" in O && e(5, u = O.canPlay), "objectFit" in O && e(6, d = O.objectFit), "disableVideoIfHavePoster" in O && e(7, h = O.disableVideoIfHavePoster);
|
|
16073
16090
|
}, i.$$.update = () => {
|
|
16074
16091
|
if (i.$$.dirty & 1 && e(8, n = s.videoInstance), i.$$.dirty & 4 && e(13, o = a == null ? void 0 : a.url), i.$$.dirty & 8192 && Boolean(o) && g(), i.$$.dirty & 256 && n && e(9, f = n.paused), i.$$.dirty & 4356 && (a == null ? void 0 : a.type) === "Video" && !v) {
|
|
16075
|
-
const O = navigator.userAgent.toLowerCase().indexOf("micromessenger") !== -1,
|
|
16076
|
-
n &&
|
|
16092
|
+
const O = navigator.userAgent.toLowerCase().indexOf("micromessenger") !== -1, _ = navigator.userAgent.toLowerCase().indexOf("iphone") !== -1 && O;
|
|
16093
|
+
n && _ && n.paused && (document.removeEventListener("WeixinJSBridgeReady", b), document.removeEventListener("touchstart", b), document.removeEventListener("click", b), document.addEventListener("WeixinJSBridgeReady", b), document.addEventListener("touchstart", b), document.addEventListener("click", b));
|
|
16077
16094
|
}
|
|
16078
16095
|
}, [
|
|
16079
16096
|
s,
|
|
@@ -16092,9 +16109,9 @@ function xA(i, t, e) {
|
|
|
16092
16109
|
o,
|
|
16093
16110
|
w,
|
|
16094
16111
|
E,
|
|
16095
|
-
|
|
16112
|
+
x,
|
|
16096
16113
|
I,
|
|
16097
|
-
|
|
16114
|
+
L,
|
|
16098
16115
|
k
|
|
16099
16116
|
];
|
|
16100
16117
|
}
|
|
@@ -16143,7 +16160,7 @@ function Wr(i) {
|
|
|
16143
16160
|
p(d, h) {
|
|
16144
16161
|
i = d;
|
|
16145
16162
|
let f = n;
|
|
16146
|
-
n = u(i), n === f ? c[n].p(i, h) : (se(),
|
|
16163
|
+
n = u(i), n === f ? c[n].p(i, h) : (se(), D(c[f], 1, 1, () => {
|
|
16147
16164
|
c[f] = null;
|
|
16148
16165
|
}), re(), o = c[n], o ? o.p(i, h) : (o = c[n] = l[n](i), o.c()), P(o, 1), o.m(e, null)), (!a || h & 8192) && q(e, "carouselEnabled", i[13]), (!a || h & 32) && q(t, "unfolded", i[5]);
|
|
16149
16166
|
},
|
|
@@ -16158,7 +16175,7 @@ function Wr(i) {
|
|
|
16158
16175
|
}), a = !0);
|
|
16159
16176
|
},
|
|
16160
16177
|
o(d) {
|
|
16161
|
-
|
|
16178
|
+
D(o), s && s.invalidate(), d && (r = sn(t, Zo, i[6] ? {
|
|
16162
16179
|
y: 4,
|
|
16163
16180
|
duration: i[4],
|
|
16164
16181
|
delay: i[3],
|
|
@@ -16202,7 +16219,7 @@ function LA(i) {
|
|
|
16202
16219
|
n || (P(t.$$.fragment, a), n = !0);
|
|
16203
16220
|
},
|
|
16204
16221
|
o(a) {
|
|
16205
|
-
|
|
16222
|
+
D(t.$$.fragment, a), n = !1;
|
|
16206
16223
|
},
|
|
16207
16224
|
d(a) {
|
|
16208
16225
|
Z(t, a);
|
|
@@ -16231,7 +16248,7 @@ function SA(i) {
|
|
|
16231
16248
|
e || (P(t.$$.fragment, o), e = !0);
|
|
16232
16249
|
},
|
|
16233
16250
|
o(o) {
|
|
16234
|
-
|
|
16251
|
+
D(t.$$.fragment, o), e = !1;
|
|
16235
16252
|
},
|
|
16236
16253
|
d(o) {
|
|
16237
16254
|
i[18](null), Z(t, o);
|
|
@@ -16271,7 +16288,7 @@ function _r(i) {
|
|
|
16271
16288
|
n || (P(t.$$.fragment, a), n = !0);
|
|
16272
16289
|
},
|
|
16273
16290
|
o(a) {
|
|
16274
|
-
|
|
16291
|
+
D(t.$$.fragment, a), n = !1;
|
|
16275
16292
|
},
|
|
16276
16293
|
d(a) {
|
|
16277
16294
|
Z(t, a);
|
|
@@ -16282,7 +16299,7 @@ function MA(i) {
|
|
|
16282
16299
|
let t, e, n = i[10], o = [];
|
|
16283
16300
|
for (let r = 0; r < n.length; r += 1)
|
|
16284
16301
|
o[r] = _r(Gr(i, n, r));
|
|
16285
|
-
const s = (r) =>
|
|
16302
|
+
const s = (r) => D(o[r], 1, 1, () => {
|
|
16286
16303
|
o[r] = null;
|
|
16287
16304
|
});
|
|
16288
16305
|
return {
|
|
@@ -16319,7 +16336,7 @@ function MA(i) {
|
|
|
16319
16336
|
o(r) {
|
|
16320
16337
|
o = o.filter(Boolean);
|
|
16321
16338
|
for (let a = 0; a < o.length; a += 1)
|
|
16322
|
-
|
|
16339
|
+
D(o[a]);
|
|
16323
16340
|
e = !1;
|
|
16324
16341
|
},
|
|
16325
16342
|
d(r) {
|
|
@@ -16337,7 +16354,7 @@ function TA(i) {
|
|
|
16337
16354
|
n && n.m(o, s), M(o, t, s), e = !0;
|
|
16338
16355
|
},
|
|
16339
16356
|
p(o, [s]) {
|
|
16340
|
-
o[5] ? n ? (n.p(o, s), s & 32 && P(n, 1)) : (n = Wr(o), n.c(), P(n, 1), n.m(t.parentNode, t)) : n && (se(),
|
|
16357
|
+
o[5] ? n ? (n.p(o, s), s & 32 && P(n, 1)) : (n = Wr(o), n.c(), P(n, 1), n.m(t.parentNode, t)) : n && (se(), D(n, 1, 1, () => {
|
|
16341
16358
|
n = null;
|
|
16342
16359
|
}), re());
|
|
16343
16360
|
},
|
|
@@ -16345,7 +16362,7 @@ function TA(i) {
|
|
|
16345
16362
|
e || (P(n), e = !0);
|
|
16346
16363
|
},
|
|
16347
16364
|
o(o) {
|
|
16348
|
-
|
|
16365
|
+
D(n), e = !1;
|
|
16349
16366
|
},
|
|
16350
16367
|
d(o) {
|
|
16351
16368
|
n && n.d(o), o && S(t);
|
|
@@ -16354,15 +16371,15 @@ function TA(i) {
|
|
|
16354
16371
|
}
|
|
16355
16372
|
function zA(i, t, e) {
|
|
16356
16373
|
let n, o, s, r, { tag: a } = t, { mediaData: l } = t, { inDelay: c = 0 } = t, { outDelay: u = 0 } = t, { duration: d = 0 } = t, { unfolded: h = !0 } = t, { animation: f = !0 } = t, { mediaItemConfig: v } = t, { enableCarousel: g = !0 } = t, { autoplayConfig: p = { autoplay: !0, autoplayVideo: !1 } } = t, A = [], b = 0, w, E = null;
|
|
16357
|
-
const
|
|
16358
|
-
function
|
|
16374
|
+
const x = vt("hooks"), I = vt("mediaStore");
|
|
16375
|
+
function L() {
|
|
16359
16376
|
var B, R;
|
|
16360
16377
|
const V = A[b];
|
|
16361
16378
|
!V || (V.paused ? (B = V.videoInstance) == null || B.play() : (R = V.videoInstance) == null || R.pause());
|
|
16362
16379
|
}
|
|
16363
16380
|
Ze(() => {
|
|
16364
|
-
|
|
16365
|
-
V.tag.id === a.id &&
|
|
16381
|
+
x.on("click", (V) => {
|
|
16382
|
+
V.tag.id === a.id && L();
|
|
16366
16383
|
}), E = setInterval(
|
|
16367
16384
|
() => {
|
|
16368
16385
|
r && (w == null || w.goToNext());
|
|
@@ -16370,7 +16387,7 @@ function zA(i, t, e) {
|
|
|
16370
16387
|
3e3
|
|
16371
16388
|
);
|
|
16372
16389
|
}), Pt(() => {
|
|
16373
|
-
clearInterval(E),
|
|
16390
|
+
clearInterval(E), x.off("click", L);
|
|
16374
16391
|
});
|
|
16375
16392
|
function k(V, B) {
|
|
16376
16393
|
i.$$.not_equal(A[B], V) && (A[B] = V, e(8, A));
|
|
@@ -16380,10 +16397,10 @@ function zA(i, t, e) {
|
|
|
16380
16397
|
w = V, e(12, w);
|
|
16381
16398
|
});
|
|
16382
16399
|
}
|
|
16383
|
-
const
|
|
16400
|
+
const W = (V) => {
|
|
16384
16401
|
n || I.set({ currentMediaElement: null }), e(11, b = V.detail);
|
|
16385
16402
|
};
|
|
16386
|
-
function
|
|
16403
|
+
function _(V) {
|
|
16387
16404
|
i.$$.not_equal(A[0], V) && (A[0] = V, e(8, A));
|
|
16388
16405
|
}
|
|
16389
16406
|
return i.$$set = (V) => {
|
|
@@ -16410,8 +16427,8 @@ function zA(i, t, e) {
|
|
|
16410
16427
|
p,
|
|
16411
16428
|
k,
|
|
16412
16429
|
O,
|
|
16413
|
-
|
|
16414
|
-
|
|
16430
|
+
W,
|
|
16431
|
+
_
|
|
16415
16432
|
];
|
|
16416
16433
|
}
|
|
16417
16434
|
class Xl extends oe {
|
|
@@ -16470,9 +16487,9 @@ function Nr(i) {
|
|
|
16470
16487
|
const f = {};
|
|
16471
16488
|
h & 8 && (f.visible = d[3]), t.$set(f);
|
|
16472
16489
|
const v = {};
|
|
16473
|
-
h & 8 && (v.unfolded = d[3]), o.$set(v), d[2] ? c ? (c.p(d, h), h & 4 && P(c, 1)) : (c = Xr(d), c.c(), P(c, 1), c.m(r.parentNode, r)) : c && (se(),
|
|
16490
|
+
h & 8 && (v.unfolded = d[3]), o.$set(v), d[2] ? c ? (c.p(d, h), h & 4 && P(c, 1)) : (c = Xr(d), c.c(), P(c, 1), c.m(r.parentNode, r)) : c && (se(), D(c, 1, 1, () => {
|
|
16474
16491
|
c = null;
|
|
16475
|
-
}), re()), d[1] ? u ? (u.p(d, h), h & 2 && P(u, 1)) : (u = Yr(d), u.c(), P(u, 1), u.m(a.parentNode, a)) : u && (se(),
|
|
16492
|
+
}), re()), d[1] ? u ? (u.p(d, h), h & 2 && P(u, 1)) : (u = Yr(d), u.c(), P(u, 1), u.m(a.parentNode, a)) : u && (se(), D(u, 1, 1, () => {
|
|
16476
16493
|
u = null;
|
|
16477
16494
|
}), re());
|
|
16478
16495
|
},
|
|
@@ -16480,7 +16497,7 @@ function Nr(i) {
|
|
|
16480
16497
|
l || (P(t.$$.fragment, d), P(o.$$.fragment, d), P(c), P(u), l = !0);
|
|
16481
16498
|
},
|
|
16482
16499
|
o(d) {
|
|
16483
|
-
|
|
16500
|
+
D(t.$$.fragment, d), D(o.$$.fragment, d), D(c), D(u), l = !1;
|
|
16484
16501
|
},
|
|
16485
16502
|
d(d) {
|
|
16486
16503
|
Z(t, d), d && S(e), d && S(n), Z(o), d && S(s), c && c.d(d), d && S(r), u && u.d(d), d && S(a);
|
|
@@ -16510,7 +16527,7 @@ function Xr(i) {
|
|
|
16510
16527
|
n || (P(e.$$.fragment, o), n = !0);
|
|
16511
16528
|
},
|
|
16512
16529
|
o(o) {
|
|
16513
|
-
|
|
16530
|
+
D(e.$$.fragment, o), n = !1;
|
|
16514
16531
|
},
|
|
16515
16532
|
d(o) {
|
|
16516
16533
|
o && S(t), Z(e);
|
|
@@ -16549,7 +16566,7 @@ function Yr(i) {
|
|
|
16549
16566
|
n || (P(e.$$.fragment, o), n = !0);
|
|
16550
16567
|
},
|
|
16551
16568
|
o(o) {
|
|
16552
|
-
|
|
16569
|
+
D(e.$$.fragment, o), n = !1;
|
|
16553
16570
|
},
|
|
16554
16571
|
d(o) {
|
|
16555
16572
|
o && S(t), Z(e);
|
|
@@ -16566,7 +16583,7 @@ function jA(i) {
|
|
|
16566
16583
|
n && n.m(o, s), M(o, t, s), e = !0;
|
|
16567
16584
|
},
|
|
16568
16585
|
p(o, [s]) {
|
|
16569
|
-
o[0].state ? n ? (n.p(o, s), s & 1 && P(n, 1)) : (n = Nr(o), n.c(), P(n, 1), n.m(t.parentNode, t)) : n && (se(),
|
|
16586
|
+
o[0].state ? n ? (n.p(o, s), s & 1 && P(n, 1)) : (n = Nr(o), n.c(), P(n, 1), n.m(t.parentNode, t)) : n && (se(), D(n, 1, 1, () => {
|
|
16570
16587
|
n = null;
|
|
16571
16588
|
}), re());
|
|
16572
16589
|
},
|
|
@@ -16574,7 +16591,7 @@ function jA(i) {
|
|
|
16574
16591
|
e || (P(n), e = !0);
|
|
16575
16592
|
},
|
|
16576
16593
|
o(o) {
|
|
16577
|
-
|
|
16594
|
+
D(n), e = !1;
|
|
16578
16595
|
},
|
|
16579
16596
|
d(o) {
|
|
16580
16597
|
n && n.d(o), o && S(t);
|
|
@@ -16781,7 +16798,7 @@ function ia(i) {
|
|
|
16781
16798
|
};
|
|
16782
16799
|
}
|
|
16783
16800
|
function RA(i) {
|
|
16784
|
-
var E,
|
|
16801
|
+
var E, x;
|
|
16785
16802
|
let t, e, n, o, s, r, a, l, c, u, d = i[3].title + "", h, f, v, g, p;
|
|
16786
16803
|
e = new st({
|
|
16787
16804
|
props: {
|
|
@@ -16793,24 +16810,24 @@ function RA(i) {
|
|
|
16793
16810
|
spreadRadius: 75
|
|
16794
16811
|
}
|
|
16795
16812
|
});
|
|
16796
|
-
let A = i[3].headerPictureUrl && Jr(i), b = ((E = i[2].length) != null ? E : 0) + ((
|
|
16813
|
+
let A = i[3].headerPictureUrl && Jr(i), b = ((E = i[2].length) != null ? E : 0) + ((x = i[5].length) != null ? x : 0) > 0 && Zr(i), w = (i[7] || i[3].highlightText) && ea(i);
|
|
16797
16814
|
return {
|
|
16798
16815
|
c() {
|
|
16799
16816
|
t = z("div"), K(e.$$.fragment), n = $(), o = z("div"), s = $(), r = z("div"), A && A.c(), a = $(), l = z("div"), c = z("div"), u = z("div"), h = Ie(d), f = $(), b && b.c(), v = $(), w && w.c(), y(o, "class", "line svelte-sezqcq"), T(o, "transition-delay", i[4] ? $n + "ms" : ei + sa - oa - 40 + "ms"), y(u, "class", "text svelte-sezqcq"), y(c, "class", "title svelte-sezqcq"), y(l, "class", "title-wrapper svelte-sezqcq"), y(r, "class", "content svelte-sezqcq"), T(r, "max-width", it(i[9])), T(r, "transition-delay", i[4] ? $n + ei + "ms" : "0ms"), y(t, "class", g = Me(`marketing ${i[6]}`) + " svelte-sezqcq"), q(t, "unfolded", i[4]), q(t, "folded", i[8]);
|
|
16800
16817
|
},
|
|
16801
|
-
m(I,
|
|
16802
|
-
M(I, t,
|
|
16818
|
+
m(I, L) {
|
|
16819
|
+
M(I, t, L), J(e, t, null), j(t, n), j(t, o), j(t, s), j(t, r), A && A.m(r, null), j(r, a), j(r, l), j(l, c), j(c, u), j(u, h), j(r, f), b && b.m(r, null), j(r, v), w && w.m(r, null), p = !0;
|
|
16803
16820
|
},
|
|
16804
|
-
p(I, [
|
|
16805
|
-
var O,
|
|
16821
|
+
p(I, [L]) {
|
|
16822
|
+
var O, W;
|
|
16806
16823
|
const k = {};
|
|
16807
|
-
|
|
16824
|
+
L & 16 && (k.visible = I[4]), e.$set(k), L & 16 && T(o, "transition-delay", I[4] ? $n + "ms" : ei + sa - oa - 40 + "ms"), I[3].headerPictureUrl ? A ? A.p(I, L) : (A = Jr(I), A.c(), A.m(r, a)) : A && (A.d(1), A = null), (!p || L & 8) && d !== (d = I[3].title + "") && Le(h, d), ((O = I[2].length) != null ? O : 0) + ((W = I[5].length) != null ? W : 0) > 0 ? b ? b.p(I, L) : (b = Zr(I), b.c(), b.m(r, v)) : b && (b.d(1), b = null), I[7] || I[3].highlightText ? w ? w.p(I, L) : (w = ea(I), w.c(), w.m(r, null)) : w && (w.d(1), w = null), L & 16 && T(r, "transition-delay", I[4] ? $n + ei + "ms" : "0ms"), (!p || L & 64 && g !== (g = Me(`marketing ${I[6]}`) + " svelte-sezqcq")) && y(t, "class", g), (!p || L & 80) && q(t, "unfolded", I[4]), (!p || L & 320) && q(t, "folded", I[8]);
|
|
16808
16825
|
},
|
|
16809
16826
|
i(I) {
|
|
16810
16827
|
p || (P(e.$$.fragment, I), p = !0);
|
|
16811
16828
|
},
|
|
16812
16829
|
o(I) {
|
|
16813
|
-
|
|
16830
|
+
D(e.$$.fragment, I), p = !1;
|
|
16814
16831
|
},
|
|
16815
16832
|
d(I) {
|
|
16816
16833
|
I && S(t), Z(e), A && A.d(), b && b.d(), w && w.d();
|
|
@@ -16975,7 +16992,7 @@ function _A(i) {
|
|
|
16975
16992
|
e || (P(r, a), e = !0);
|
|
16976
16993
|
},
|
|
16977
16994
|
o(a) {
|
|
16978
|
-
|
|
16995
|
+
D(r, a), e = !1;
|
|
16979
16996
|
},
|
|
16980
16997
|
d(a) {
|
|
16981
16998
|
a && S(t), r && r.d(a), n = !1, o();
|
|
@@ -17097,7 +17114,7 @@ function ra(i) {
|
|
|
17097
17114
|
e || (P(t.$$.fragment, n), e = !0);
|
|
17098
17115
|
},
|
|
17099
17116
|
o(n) {
|
|
17100
|
-
|
|
17117
|
+
D(t.$$.fragment, n), e = !1;
|
|
17101
17118
|
},
|
|
17102
17119
|
d(n) {
|
|
17103
17120
|
Z(t, n);
|
|
@@ -17114,7 +17131,7 @@ function YA(i) {
|
|
|
17114
17131
|
M(a, t, l), r && r.m(t, null), j(t, e), j(t, n), j(n, o), i[7](o), i[8](t), s = !0;
|
|
17115
17132
|
},
|
|
17116
17133
|
p(a, [l]) {
|
|
17117
|
-
a[1] ? r ? l & 2 && P(r, 1) : (r = ra(), r.c(), P(r, 1), r.m(t, e)) : r && (se(),
|
|
17134
|
+
a[1] ? r ? l & 2 && P(r, 1) : (r = ra(), r.c(), P(r, 1), r.m(t, e)) : r && (se(), D(r, 1, 1, () => {
|
|
17118
17135
|
r = null;
|
|
17119
17136
|
}), re()), (!s || l & 1) && q(n, "playing", a[0]), (!s || l & 4) && y(t, "style", a[2]), l & 32 && T(t, "width", a[5]), l & 32 && T(t, "height", a[5]);
|
|
17120
17137
|
},
|
|
@@ -17122,7 +17139,7 @@ function YA(i) {
|
|
|
17122
17139
|
s || (P(r), s = !0);
|
|
17123
17140
|
},
|
|
17124
17141
|
o(a) {
|
|
17125
|
-
|
|
17142
|
+
D(r), s = !1;
|
|
17126
17143
|
},
|
|
17127
17144
|
d(a) {
|
|
17128
17145
|
a && S(t), r && r.d(), i[7](null), i[8](null);
|
|
@@ -17217,21 +17234,21 @@ function aa(i) {
|
|
|
17217
17234
|
], f = !0);
|
|
17218
17235
|
},
|
|
17219
17236
|
p(b, w) {
|
|
17220
|
-
var
|
|
17237
|
+
var L, k;
|
|
17221
17238
|
const E = {};
|
|
17222
|
-
w & 64 && (E.visible = b[6]), w & 8 && (E.left = b[3] / 2 + "px"), e.$set(E), b[6] ? g ? (g.p(b, w), w & 64 && P(g, 1)) : (g = la(b), g.c(), P(g, 1), g.m(r, null)) : g && (se(),
|
|
17239
|
+
w & 64 && (E.visible = b[6]), w & 8 && (E.left = b[3] / 2 + "px"), e.$set(E), b[6] ? g ? (g.p(b, w), w & 64 && P(g, 1)) : (g = la(b), g.c(), P(g, 1), g.m(r, null)) : g && (se(), D(g, 1, 1, () => {
|
|
17223
17240
|
g = null;
|
|
17224
17241
|
}), re());
|
|
17225
|
-
const
|
|
17226
|
-
w & 64 && (
|
|
17242
|
+
const x = {};
|
|
17243
|
+
w & 64 && (x.visible = b[6]), w & 2 && (x.textUnfolded = b[1]), w & 32 && (x.content = b[5]), c.$set(x);
|
|
17227
17244
|
const I = {};
|
|
17228
|
-
w & 64 && (I.unfolded = b[6]), w & 8 && (I.length = b[3]), w & 48 && (I.outDelay = b[4] + 20 * Math.min((k = (
|
|
17245
|
+
w & 64 && (I.unfolded = b[6]), w & 8 && (I.length = b[3]), w & 48 && (I.outDelay = b[4] + 20 * Math.min((k = (L = b[5]) == null ? void 0 : L.length) != null ? k : 10, 15)), d.$set(I), (!h || w & 64) && q(t, "unfolded", b[6]);
|
|
17229
17246
|
},
|
|
17230
17247
|
i(b) {
|
|
17231
17248
|
h || (P(e.$$.fragment, b), P(g), P(c.$$.fragment, b), P(d.$$.fragment, b), h = !0);
|
|
17232
17249
|
},
|
|
17233
17250
|
o(b) {
|
|
17234
|
-
|
|
17251
|
+
D(e.$$.fragment, b), D(g), D(c.$$.fragment, b), D(d.$$.fragment, b), h = !1;
|
|
17235
17252
|
},
|
|
17236
17253
|
d(b) {
|
|
17237
17254
|
b && S(t), Z(e), g && g.d(), Z(c), Z(d), f = !1, He(v);
|
|
@@ -17277,7 +17294,7 @@ function la(i) {
|
|
|
17277
17294
|
},
|
|
17278
17295
|
o(l) {
|
|
17279
17296
|
var c, u;
|
|
17280
|
-
|
|
17297
|
+
D(e.$$.fragment, l), D(o.$$.fragment, l), s && s.invalidate(), l && (r = sn(t, St, {
|
|
17281
17298
|
duration: 1e3,
|
|
17282
17299
|
delay: 20 * Math.min((u = (c = i[5]) == null ? void 0 : c.length) != null ? u : 10, 15),
|
|
17283
17300
|
easing: Yt
|
|
@@ -17305,7 +17322,7 @@ function JA(i) {
|
|
|
17305
17322
|
n || (P(e.$$.fragment, o), n = !0);
|
|
17306
17323
|
},
|
|
17307
17324
|
o(o) {
|
|
17308
|
-
|
|
17325
|
+
D(e.$$.fragment, o), n = !1;
|
|
17309
17326
|
},
|
|
17310
17327
|
d(o) {
|
|
17311
17328
|
o && S(t), Z(e);
|
|
@@ -17322,7 +17339,7 @@ function ZA(i) {
|
|
|
17322
17339
|
n && n.m(o, s), M(o, t, s), e = !0;
|
|
17323
17340
|
},
|
|
17324
17341
|
p(o, [s]) {
|
|
17325
|
-
o[0].state ? n ? (n.p(o, s), s & 1 && P(n, 1)) : (n = aa(o), n.c(), P(n, 1), n.m(t.parentNode, t)) : n && (se(),
|
|
17342
|
+
o[0].state ? n ? (n.p(o, s), s & 1 && P(n, 1)) : (n = aa(o), n.c(), P(n, 1), n.m(t.parentNode, t)) : n && (se(), D(n, 1, 1, () => {
|
|
17326
17343
|
n = null;
|
|
17327
17344
|
}), re());
|
|
17328
17345
|
},
|
|
@@ -17330,7 +17347,7 @@ function ZA(i) {
|
|
|
17330
17347
|
e || (P(n), e = !0);
|
|
17331
17348
|
},
|
|
17332
17349
|
o(o) {
|
|
17333
|
-
|
|
17350
|
+
D(n), e = !1;
|
|
17334
17351
|
},
|
|
17335
17352
|
d(o) {
|
|
17336
17353
|
n && n.d(o), o && S(t);
|
|
@@ -17410,7 +17427,7 @@ function ca(i) {
|
|
|
17410
17427
|
o || (P(n.$$.fragment, s), o = !0);
|
|
17411
17428
|
},
|
|
17412
17429
|
o(s) {
|
|
17413
|
-
|
|
17430
|
+
D(n.$$.fragment, s), o = !1;
|
|
17414
17431
|
},
|
|
17415
17432
|
d(s) {
|
|
17416
17433
|
s && S(t), Z(n);
|
|
@@ -17459,7 +17476,7 @@ function nv(i) {
|
|
|
17459
17476
|
a || (P(n.$$.fragment, l), P(r.$$.fragment, l), a = !0);
|
|
17460
17477
|
},
|
|
17461
17478
|
o(l) {
|
|
17462
|
-
|
|
17479
|
+
D(n.$$.fragment, l), D(r.$$.fragment, l), a = !1;
|
|
17463
17480
|
},
|
|
17464
17481
|
d(l) {
|
|
17465
17482
|
l && S(t), Z(n), Z(r);
|
|
@@ -17476,7 +17493,7 @@ function iv(i) {
|
|
|
17476
17493
|
n && n.m(o, s), M(o, t, s), e = !0;
|
|
17477
17494
|
},
|
|
17478
17495
|
p(o, [s]) {
|
|
17479
|
-
o[0].state ? n ? (n.p(o, s), s & 1 && P(n, 1)) : (n = ca(o), n.c(), P(n, 1), n.m(t.parentNode, t)) : n && (se(),
|
|
17496
|
+
o[0].state ? n ? (n.p(o, s), s & 1 && P(n, 1)) : (n = ca(o), n.c(), P(n, 1), n.m(t.parentNode, t)) : n && (se(), D(n, 1, 1, () => {
|
|
17480
17497
|
n = null;
|
|
17481
17498
|
}), re());
|
|
17482
17499
|
},
|
|
@@ -17484,7 +17501,7 @@ function iv(i) {
|
|
|
17484
17501
|
e || (P(n), e = !0);
|
|
17485
17502
|
},
|
|
17486
17503
|
o(o) {
|
|
17487
|
-
|
|
17504
|
+
D(n), e = !1;
|
|
17488
17505
|
},
|
|
17489
17506
|
d(o) {
|
|
17490
17507
|
n && n.d(o), o && S(t);
|
|
@@ -17560,7 +17577,7 @@ function rv(i) {
|
|
|
17560
17577
|
e || (P(t.$$.fragment, n), e = !0);
|
|
17561
17578
|
},
|
|
17562
17579
|
o(n) {
|
|
17563
|
-
|
|
17580
|
+
D(t.$$.fragment, n), e = !1;
|
|
17564
17581
|
},
|
|
17565
17582
|
d(n) {
|
|
17566
17583
|
Z(t, n);
|
|
@@ -17584,7 +17601,7 @@ function av(i) {
|
|
|
17584
17601
|
e || (P(t.$$.fragment, n), e = !0);
|
|
17585
17602
|
},
|
|
17586
17603
|
o(n) {
|
|
17587
|
-
|
|
17604
|
+
D(t.$$.fragment, n), e = !1;
|
|
17588
17605
|
},
|
|
17589
17606
|
d(n) {
|
|
17590
17607
|
Z(t, n);
|
|
@@ -17606,7 +17623,7 @@ function lv(i) {
|
|
|
17606
17623
|
},
|
|
17607
17624
|
p(l, [c]) {
|
|
17608
17625
|
let u = t;
|
|
17609
|
-
t = a(l), t === u ? ~t && r[t].p(l, c) : (e && (se(),
|
|
17626
|
+
t = a(l), t === u ? ~t && r[t].p(l, c) : (e && (se(), D(r[u], 1, 1, () => {
|
|
17610
17627
|
r[u] = null;
|
|
17611
17628
|
}), re()), ~t ? (e = r[t], e ? e.p(l, c) : (e = r[t] = s[t](l), e.c()), P(e, 1), e.m(n.parentNode, n)) : e = null);
|
|
17612
17629
|
},
|
|
@@ -17614,7 +17631,7 @@ function lv(i) {
|
|
|
17614
17631
|
o || (P(e), o = !0);
|
|
17615
17632
|
},
|
|
17616
17633
|
o(l) {
|
|
17617
|
-
|
|
17634
|
+
D(e), o = !1;
|
|
17618
17635
|
},
|
|
17619
17636
|
d(l) {
|
|
17620
17637
|
~t && r[t].d(l), l && S(n);
|
|
@@ -17683,7 +17700,7 @@ function ua(i) {
|
|
|
17683
17700
|
n || (P(e.$$.fragment, s), n = !0);
|
|
17684
17701
|
},
|
|
17685
17702
|
o(s) {
|
|
17686
|
-
|
|
17703
|
+
D(e.$$.fragment, s), n = !1;
|
|
17687
17704
|
},
|
|
17688
17705
|
d(s) {
|
|
17689
17706
|
s && S(t), Z(e);
|
|
@@ -17700,7 +17717,7 @@ function hv(i) {
|
|
|
17700
17717
|
n && n.m(o, s), M(o, t, s), e = !0;
|
|
17701
17718
|
},
|
|
17702
17719
|
p(o, [s]) {
|
|
17703
|
-
o[0].state && o[5] ? n ? (n.p(o, s), s & 33 && P(n, 1)) : (n = ua(o), n.c(), P(n, 1), n.m(t.parentNode, t)) : n && (se(),
|
|
17720
|
+
o[0].state && o[5] ? n ? (n.p(o, s), s & 33 && P(n, 1)) : (n = ua(o), n.c(), P(n, 1), n.m(t.parentNode, t)) : n && (se(), D(n, 1, 1, () => {
|
|
17704
17721
|
n = null;
|
|
17705
17722
|
}), re());
|
|
17706
17723
|
},
|
|
@@ -17708,7 +17725,7 @@ function hv(i) {
|
|
|
17708
17725
|
e || (P(n), e = !0);
|
|
17709
17726
|
},
|
|
17710
17727
|
o(o) {
|
|
17711
|
-
|
|
17728
|
+
D(n), e = !1;
|
|
17712
17729
|
},
|
|
17713
17730
|
d(o) {
|
|
17714
17731
|
n && n.d(o), o && S(t);
|
|
@@ -17791,7 +17808,7 @@ function fa(i) {
|
|
|
17791
17808
|
M(l, t, c), o && o.m(t, null), j(t, e), a.m(t, null), n = !0;
|
|
17792
17809
|
},
|
|
17793
17810
|
p(l, c) {
|
|
17794
|
-
l[0] ? o ? c & 1 && P(o, 1) : (o = ma(), o.c(), P(o, 1), o.m(t, e)) : o && (se(),
|
|
17811
|
+
l[0] ? o ? c & 1 && P(o, 1) : (o = ma(), o.c(), P(o, 1), o.m(t, e)) : o && (se(), D(o, 1, 1, () => {
|
|
17795
17812
|
o = null;
|
|
17796
17813
|
}), re()), r === (r = s(l)) && a ? a.p(l, c) : (a.d(1), a = r(l), a && (a.c(), a.m(t, null))), c & 2 && T(t, "width", l[1]);
|
|
17797
17814
|
},
|
|
@@ -17799,7 +17816,7 @@ function fa(i) {
|
|
|
17799
17816
|
n || (P(o), n = !0);
|
|
17800
17817
|
},
|
|
17801
17818
|
o(l) {
|
|
17802
|
-
|
|
17819
|
+
D(o), n = !1;
|
|
17803
17820
|
},
|
|
17804
17821
|
d(l) {
|
|
17805
17822
|
l && S(t), o && o.d(), a.d();
|
|
@@ -17825,7 +17842,7 @@ function ma(i) {
|
|
|
17825
17842
|
e || (P(t.$$.fragment, n), e = !0);
|
|
17826
17843
|
},
|
|
17827
17844
|
o(n) {
|
|
17828
|
-
|
|
17845
|
+
D(t.$$.fragment, n), e = !1;
|
|
17829
17846
|
},
|
|
17830
17847
|
d(n) {
|
|
17831
17848
|
Z(t, n);
|
|
@@ -17992,7 +18009,7 @@ function kv(i) {
|
|
|
17992
18009
|
n && n.m(o, s), M(o, t, s), e = !0;
|
|
17993
18010
|
},
|
|
17994
18011
|
p(o, [s]) {
|
|
17995
|
-
o[9] ? n ? (n.p(o, s), s & 512 && P(n, 1)) : (n = fa(o), n.c(), P(n, 1), n.m(t.parentNode, t)) : n && (se(),
|
|
18012
|
+
o[9] ? n ? (n.p(o, s), s & 512 && P(n, 1)) : (n = fa(o), n.c(), P(n, 1), n.m(t.parentNode, t)) : n && (se(), D(n, 1, 1, () => {
|
|
17996
18013
|
n = null;
|
|
17997
18014
|
}), re());
|
|
17998
18015
|
},
|
|
@@ -18000,7 +18017,7 @@ function kv(i) {
|
|
|
18000
18017
|
e || (P(n), e = !0);
|
|
18001
18018
|
},
|
|
18002
18019
|
o(o) {
|
|
18003
|
-
|
|
18020
|
+
D(n), e = !1;
|
|
18004
18021
|
},
|
|
18005
18022
|
d(o) {
|
|
18006
18023
|
n && n.d(o), o && S(t);
|
|
@@ -18095,7 +18112,7 @@ function pa(i) {
|
|
|
18095
18112
|
r || (P(e.$$.fragment, a), r = !0);
|
|
18096
18113
|
},
|
|
18097
18114
|
o(a) {
|
|
18098
|
-
|
|
18115
|
+
D(e.$$.fragment, a), r = !1;
|
|
18099
18116
|
},
|
|
18100
18117
|
d(a) {
|
|
18101
18118
|
a && S(t), Z(e);
|
|
@@ -18117,7 +18134,7 @@ function Lv(i) {
|
|
|
18117
18134
|
},
|
|
18118
18135
|
p(r, [a]) {
|
|
18119
18136
|
const l = {};
|
|
18120
|
-
a & 1 && (l.icon = r[0]), e.$set(l), r[1] && r[2] ? s ? (s.p(r, a), a & 6 && P(s, 1)) : (s = pa(r), s.c(), P(s, 1), s.m(t, null)) : s && (se(),
|
|
18137
|
+
a & 1 && (l.icon = r[0]), e.$set(l), r[1] && r[2] ? s ? (s.p(r, a), a & 6 && P(s, 1)) : (s = pa(r), s.c(), P(s, 1), s.m(t, null)) : s && (se(), D(s, 1, 1, () => {
|
|
18121
18138
|
s = null;
|
|
18122
18139
|
}), re());
|
|
18123
18140
|
},
|
|
@@ -18125,7 +18142,7 @@ function Lv(i) {
|
|
|
18125
18142
|
o || (P(e.$$.fragment, r), P(s), o = !0);
|
|
18126
18143
|
},
|
|
18127
18144
|
o(r) {
|
|
18128
|
-
|
|
18145
|
+
D(e.$$.fragment, r), D(s), o = !1;
|
|
18129
18146
|
},
|
|
18130
18147
|
d(r) {
|
|
18131
18148
|
r && S(t), Z(e), s && s.d();
|
|
@@ -18264,7 +18281,7 @@ function Qv(i) {
|
|
|
18264
18281
|
p(f, v) {
|
|
18265
18282
|
var p;
|
|
18266
18283
|
let g = o;
|
|
18267
|
-
o = h(f), o === g ? ~o && d[o].p(f, v) : (s && (se(),
|
|
18284
|
+
o = h(f), o === g ? ~o && d[o].p(f, v) : (s && (se(), D(d[g], 1, 1, () => {
|
|
18268
18285
|
d[g] = null;
|
|
18269
18286
|
}), re()), ~o ? (s = d[o], s ? s.p(f, v) : (s = d[o] = u[o](f), s.c()), P(s, 1), s.m(n, null)) : s = null), (!a || v & 2) && q(n, "unfolded", (p = f[1].state) == null ? void 0 : p.unfolded), (!a || v & 2 && r !== (r = f[1].id)) && y(t, "data-id", r), (!a || v & 2) && q(t, "disable", f[1].enabled === !1), (!a || v & 16) && q(t, "hide", f[4]), (!a || v & 1) && q(t, "withAnimation", f[0]), (!a || v & 2) && q(t, "unClickable", f[1].mergedConfig.clickable === !1), v & 2 && T(t, "width", f[1].stickType === "Plane" || f[1].contentType === "MediaModel" ? "100%" : 0), v & 2 && T(t, "height", f[1].stickType === "Plane" || f[1].contentType === "MediaModel" ? "100%" : 0);
|
|
18270
18287
|
},
|
|
@@ -18272,7 +18289,7 @@ function Qv(i) {
|
|
|
18272
18289
|
a || (P(s), a = !0);
|
|
18273
18290
|
},
|
|
18274
18291
|
o(f) {
|
|
18275
|
-
|
|
18292
|
+
D(s), a = !1;
|
|
18276
18293
|
},
|
|
18277
18294
|
d(f) {
|
|
18278
18295
|
f && S(t), ~o && d[o].d(), l = !1, c();
|
|
@@ -18298,7 +18315,7 @@ function Rv(i) {
|
|
|
18298
18315
|
e || (P(t.$$.fragment, n), e = !0);
|
|
18299
18316
|
},
|
|
18300
18317
|
o(n) {
|
|
18301
|
-
|
|
18318
|
+
D(t.$$.fragment, n), e = !1;
|
|
18302
18319
|
},
|
|
18303
18320
|
d(n) {
|
|
18304
18321
|
Z(t, n);
|
|
@@ -18324,7 +18341,7 @@ function Fv(i) {
|
|
|
18324
18341
|
e || (P(t.$$.fragment, n), e = !0);
|
|
18325
18342
|
},
|
|
18326
18343
|
o(n) {
|
|
18327
|
-
|
|
18344
|
+
D(t.$$.fragment, n), e = !1;
|
|
18328
18345
|
},
|
|
18329
18346
|
d(n) {
|
|
18330
18347
|
Z(t, n);
|
|
@@ -18350,7 +18367,7 @@ function Hv(i) {
|
|
|
18350
18367
|
e || (P(t.$$.fragment, n), e = !0);
|
|
18351
18368
|
},
|
|
18352
18369
|
o(n) {
|
|
18353
|
-
|
|
18370
|
+
D(t.$$.fragment, n), e = !1;
|
|
18354
18371
|
},
|
|
18355
18372
|
d(n) {
|
|
18356
18373
|
Z(t, n);
|
|
@@ -18376,7 +18393,7 @@ function Gv(i) {
|
|
|
18376
18393
|
e || (P(t.$$.fragment, n), e = !0);
|
|
18377
18394
|
},
|
|
18378
18395
|
o(n) {
|
|
18379
|
-
|
|
18396
|
+
D(t.$$.fragment, n), e = !1;
|
|
18380
18397
|
},
|
|
18381
18398
|
d(n) {
|
|
18382
18399
|
Z(t, n);
|
|
@@ -18402,7 +18419,7 @@ function Wv(i) {
|
|
|
18402
18419
|
e || (P(t.$$.fragment, n), e = !0);
|
|
18403
18420
|
},
|
|
18404
18421
|
o(n) {
|
|
18405
|
-
|
|
18422
|
+
D(t.$$.fragment, n), e = !1;
|
|
18406
18423
|
},
|
|
18407
18424
|
d(n) {
|
|
18408
18425
|
Z(t, n);
|
|
@@ -18428,7 +18445,7 @@ function _v(i) {
|
|
|
18428
18445
|
e || (P(t.$$.fragment, n), e = !0);
|
|
18429
18446
|
},
|
|
18430
18447
|
o(n) {
|
|
18431
|
-
|
|
18448
|
+
D(t.$$.fragment, n), e = !1;
|
|
18432
18449
|
},
|
|
18433
18450
|
d(n) {
|
|
18434
18451
|
Z(t, n);
|
|
@@ -18454,7 +18471,7 @@ function Nv(i) {
|
|
|
18454
18471
|
e || (P(t.$$.fragment, n), e = !0);
|
|
18455
18472
|
},
|
|
18456
18473
|
o(n) {
|
|
18457
|
-
|
|
18474
|
+
D(t.$$.fragment, n), e = !1;
|
|
18458
18475
|
},
|
|
18459
18476
|
d(n) {
|
|
18460
18477
|
Z(t, n);
|
|
@@ -18476,7 +18493,7 @@ function Xv(i) {
|
|
|
18476
18493
|
},
|
|
18477
18494
|
p(l, [c]) {
|
|
18478
18495
|
let u = t;
|
|
18479
|
-
t = a(l), t === u ? r[t].p(l, c) : (se(),
|
|
18496
|
+
t = a(l), t === u ? r[t].p(l, c) : (se(), D(r[u], 1, 1, () => {
|
|
18480
18497
|
r[u] = null;
|
|
18481
18498
|
}), re(), e = r[t], e ? e.p(l, c) : (e = r[t] = s[t](l), e.c()), P(e, 1), e.m(n.parentNode, n));
|
|
18482
18499
|
},
|
|
@@ -18484,7 +18501,7 @@ function Xv(i) {
|
|
|
18484
18501
|
o || (P(e), o = !0);
|
|
18485
18502
|
},
|
|
18486
18503
|
o(l) {
|
|
18487
|
-
|
|
18504
|
+
D(e), o = !1;
|
|
18488
18505
|
},
|
|
18489
18506
|
d(l) {
|
|
18490
18507
|
r[t].d(l), l && S(n);
|
|
@@ -18498,16 +18515,16 @@ function Yv(i, t, e) {
|
|
|
18498
18515
|
function A(E) {
|
|
18499
18516
|
E ? d.emit("exposure", { id: r, type: "start" }) : d.emit("exposure", { id: r, type: "end" });
|
|
18500
18517
|
}
|
|
18501
|
-
function b(E,
|
|
18502
|
-
var
|
|
18503
|
-
return !(!
|
|
18518
|
+
function b(E, x, I) {
|
|
18519
|
+
var L, k;
|
|
18520
|
+
return !(!x.visible || !x.enabled || !I.visible || !((L = E.state) != null && L.visible) || ((k = E.temporaryState) == null ? void 0 : k.visible) === !1 || Oe(E) && !E.mediaVisible);
|
|
18504
18521
|
}
|
|
18505
18522
|
const w = (E) => d.emit("click", { event: E, target: "TagContent", tag: u });
|
|
18506
18523
|
return i.$$set = (E) => {
|
|
18507
18524
|
"withAnimation" in E && e(0, c = E.withAnimation), "tag" in E && e(1, u = E.tag), "hooks" in E && e(2, d = E.hooks), "state" in E && e(5, h = E.state), "mediaStore" in E && e(6, f = E.mediaStore), "temporaryState" in E && e(7, v = E.temporaryState);
|
|
18508
18525
|
}, i.$$.update = () => {
|
|
18509
|
-
var E,
|
|
18510
|
-
i.$$.dirty & 2 && e(11, n = (E = u.state) == null ? void 0 : E.unfolded), i.$$.dirty & 2 && e(10, o = (
|
|
18526
|
+
var E, x, I, L, k, O, W, _, V, B, R;
|
|
18527
|
+
i.$$.dirty & 2 && e(11, n = (E = u.state) == null ? void 0 : E.unfolded), i.$$.dirty & 2 && e(10, o = (x = u.state) == null ? void 0 : x.visible), i.$$.dirty & 162 && e(12, s = h.visible && v.visible && ((I = u.state) == null ? void 0 : I.visible)), i.$$.dirty & 2 && (r = u.id), i.$$.dirty & 162 && e(4, a = !b(u, h, v)), i.$$.dirty & 4096 && A(s), i.$$.dirty & 3842 && u.hooks && (n !== void 0 && n !== p && (e(9, p = n), n ? (k = (L = u.hooks).emit) == null || k.call(L, "unfolded") : (W = u == null ? void 0 : (O = u.hooks).emit) == null || W.call(O, "folded")), o !== void 0 && o !== g && (e(8, g = o), o ? (V = (_ = u.hooks).emit) == null || V.call(_, "show") : (R = (B = u.hooks).emit) == null || R.call(B, "hide"))), i.$$.dirty & 2 && e(3, l = (() => !(typeof u.mergedConfig.unfoldedConfig == "object" && u.mergedConfig.unfoldedConfig.keep === "folded"))());
|
|
18511
18528
|
}, [
|
|
18512
18529
|
c,
|
|
18513
18530
|
u,
|
|
@@ -18578,7 +18595,7 @@ function qv(i) {
|
|
|
18578
18595
|
u || (P(o.$$.fragment, f), P(c.$$.fragment, f), u = !0);
|
|
18579
18596
|
},
|
|
18580
18597
|
o(f) {
|
|
18581
|
-
|
|
18598
|
+
D(o.$$.fragment, f), D(c.$$.fragment, f), u = !1;
|
|
18582
18599
|
},
|
|
18583
18600
|
d(f) {
|
|
18584
18601
|
f && S(t), Z(o), Z(c), d = !1, h();
|
|
@@ -18607,11 +18624,11 @@ function Jv(i, t, e) {
|
|
|
18607
18624
|
}, i.$$.update = () => {
|
|
18608
18625
|
var g, p, A, b;
|
|
18609
18626
|
i.$$.dirty & 64 && e(0, n = (g = l.state) == null ? void 0 : g.unfolded), i.$$.dirty & 1 && e(3, o = !n), i.$$.dirty & 64 && e(2, s = (A = (p = l.style) == null ? void 0 : p.point) != null && A.url ? (b = l.style) == null ? void 0 : b.point : { url: Lg }), i.$$.dirty & 64 && e(1, r = (() => {
|
|
18610
|
-
var
|
|
18611
|
-
const w = (I = (
|
|
18627
|
+
var x, I, L, k;
|
|
18628
|
+
const w = (I = (x = l.style) == null ? void 0 : x.point) == null ? void 0 : I.width;
|
|
18612
18629
|
if (typeof w == "number")
|
|
18613
18630
|
return w;
|
|
18614
|
-
const E = (k = (
|
|
18631
|
+
const E = (k = (L = l.style) == null ? void 0 : L.point) == null ? void 0 : k.size;
|
|
18615
18632
|
if (typeof E == "number")
|
|
18616
18633
|
return E;
|
|
18617
18634
|
if (E === "S")
|
|
@@ -18685,7 +18702,7 @@ function e1(i) {
|
|
|
18685
18702
|
e || (P(t.$$.fragment, n), e = !0);
|
|
18686
18703
|
},
|
|
18687
18704
|
o(n) {
|
|
18688
|
-
|
|
18705
|
+
D(t.$$.fragment, n), e = !1;
|
|
18689
18706
|
},
|
|
18690
18707
|
d(n) {
|
|
18691
18708
|
Z(t, n);
|
|
@@ -18726,7 +18743,7 @@ function n1(i) {
|
|
|
18726
18743
|
e || (P(t.$$.fragment, n), e = !0);
|
|
18727
18744
|
},
|
|
18728
18745
|
o(n) {
|
|
18729
|
-
|
|
18746
|
+
D(t.$$.fragment, n), e = !1;
|
|
18730
18747
|
},
|
|
18731
18748
|
d(n) {
|
|
18732
18749
|
Z(t, n);
|
|
@@ -18753,11 +18770,11 @@ function i1(i) {
|
|
|
18753
18770
|
},
|
|
18754
18771
|
p(p, [A]) {
|
|
18755
18772
|
let b = n;
|
|
18756
|
-
n = h(p), n === b ? d[n].p(p, A) : (se(),
|
|
18773
|
+
n = h(p), n === b ? d[n].p(p, A) : (se(), D(d[b], 1, 1, () => {
|
|
18757
18774
|
d[b] = null;
|
|
18758
18775
|
}), re(), o = d[n], o ? o.p(p, A) : (o = d[n] = u[n](p), o.c()), P(o, 1), o.m(e, s));
|
|
18759
18776
|
let w = r;
|
|
18760
|
-
r = g(p), r === w ? v[r].p(p, A) : (se(),
|
|
18777
|
+
r = g(p), r === w ? v[r].p(p, A) : (se(), D(v[w], 1, 1, () => {
|
|
18761
18778
|
v[w] = null;
|
|
18762
18779
|
}), re(), a = v[r], a ? a.p(p, A) : (a = v[r] = f[r](p), a.c()), P(a, 1), a.m(e, null)), (!c || A & 256) && y(e, "data-tag-unfolded", p[8]), (!c || A & 2048) && y(e, "data-tag-id", p[11]), (!c || A & 2 && l !== (l = p[1].contentType)) && y(e, "data-content-type", l), A & 128 && T(e, "left", p[7]), A & 64 && T(e, "top", p[6]), A & 32 && T(e, "z-index", p[5]), (!c || A & 2048) && y(t, "data-tag-id", p[11]), (!c || A & 2) && q(t, "unClickable", p[1].mergedConfig.clickable === !1), (!c || A & 1024) && q(t, "disable", p[10]), (!c || A & 512) && q(t, "hide", p[9]), (!c || A & 1) && q(t, "withAnimation", p[0]);
|
|
18763
18780
|
},
|
|
@@ -18765,7 +18782,7 @@ function i1(i) {
|
|
|
18765
18782
|
c || (P(o), P(a), c = !0);
|
|
18766
18783
|
},
|
|
18767
18784
|
o(p) {
|
|
18768
|
-
|
|
18785
|
+
D(o), D(a), c = !1;
|
|
18769
18786
|
},
|
|
18770
18787
|
d(p) {
|
|
18771
18788
|
p && S(t), d[n].d(), v[r].d();
|
|
@@ -18778,8 +18795,8 @@ function o1(i, t, e) {
|
|
|
18778
18795
|
return i.$$set = (b) => {
|
|
18779
18796
|
"withAnimation" in b && e(0, h = b.withAnimation), "tag" in b && e(1, f = b.tag), "mediaStore" in b && e(2, v = b.mediaStore), "state" in b && e(3, g = b.state), "temporaryState" in b && e(4, p = b.temporaryState);
|
|
18780
18797
|
}, i.$$.update = () => {
|
|
18781
|
-
var b, w, E,
|
|
18782
|
-
i.$$.dirty & 2 && e(13, n = (() => !(f.contentType === "Sticker" || f.contentType === "Link" || f.contentType === "VRLink" || f.contentType === "PanoLink" || f.contentType === "Audio" && f.data.appearance === "plane"))()), i.$$.dirty & 2 && e(12, o = (() => f.stickType === "2DPoint")()), i.$$.dirty & 2 && e(11, s = f.id), i.$$.dirty & 2 && e(10, r = !((b = f.pointTagStyle) != null && b.leftPercent) || !((w = f.pointTagStyle) != null && w.topPercent) || f.enabled === !1 || !f.state), i.$$.dirty & 2 && e(9, a = !((E = f.state) != null && E.visible) || ((
|
|
18798
|
+
var b, w, E, x, I, L, k, O;
|
|
18799
|
+
i.$$.dirty & 2 && e(13, n = (() => !(f.contentType === "Sticker" || f.contentType === "Link" || f.contentType === "VRLink" || f.contentType === "PanoLink" || f.contentType === "Audio" && f.data.appearance === "plane"))()), i.$$.dirty & 2 && e(12, o = (() => f.stickType === "2DPoint")()), i.$$.dirty & 2 && e(11, s = f.id), i.$$.dirty & 2 && e(10, r = !((b = f.pointTagStyle) != null && b.leftPercent) || !((w = f.pointTagStyle) != null && w.topPercent) || f.enabled === !1 || !f.state), i.$$.dirty & 2 && e(9, a = !((E = f.state) != null && E.visible) || ((x = f.temporaryState) == null ? void 0 : x.visible) === !1), i.$$.dirty & 2 && e(8, l = (I = f.state) == null ? void 0 : I.unfolded), i.$$.dirty & 2 && e(7, c = ((L = f.pointTagStyle) == null ? void 0 : L.leftPercent) + "%"), i.$$.dirty & 2 && e(6, u = ((k = f.pointTagStyle) == null ? void 0 : k.topPercent) + "%"), i.$$.dirty & 2 && e(5, d = (O = f.state) != null && O.unfolded ? 1 : 0);
|
|
18783
18800
|
}, [
|
|
18784
18801
|
h,
|
|
18785
18802
|
f,
|
|
@@ -18856,7 +18873,7 @@ function va(i) {
|
|
|
18856
18873
|
},
|
|
18857
18874
|
o(a) {
|
|
18858
18875
|
for (let l = 0; l < e.length; l += 1)
|
|
18859
|
-
|
|
18876
|
+
D(e[l]);
|
|
18860
18877
|
o = !1;
|
|
18861
18878
|
},
|
|
18862
18879
|
d(a) {
|
|
@@ -18894,7 +18911,7 @@ function ba(i, t) {
|
|
|
18894
18911
|
o || (P(n.$$.fragment, s), o = !0);
|
|
18895
18912
|
},
|
|
18896
18913
|
o(s) {
|
|
18897
|
-
|
|
18914
|
+
D(n.$$.fragment, s), o = !1;
|
|
18898
18915
|
},
|
|
18899
18916
|
d(s) {
|
|
18900
18917
|
s && S(e), Z(n, s);
|
|
@@ -18911,7 +18928,7 @@ function a1(i) {
|
|
|
18911
18928
|
n && n.m(o, s), M(o, t, s), e = !0;
|
|
18912
18929
|
},
|
|
18913
18930
|
p(o, [s]) {
|
|
18914
|
-
o[3].enabled ? n ? (n.p(o, s), s & 8 && P(n, 1)) : (n = va(o), n.c(), P(n, 1), n.m(t.parentNode, t)) : n && (se(),
|
|
18931
|
+
o[3].enabled ? n ? (n.p(o, s), s & 8 && P(n, 1)) : (n = va(o), n.c(), P(n, 1), n.m(t.parentNode, t)) : n && (se(), D(n, 1, 1, () => {
|
|
18915
18932
|
n = null;
|
|
18916
18933
|
}), re());
|
|
18917
18934
|
},
|
|
@@ -18919,7 +18936,7 @@ function a1(i) {
|
|
|
18919
18936
|
e || (P(n), e = !0);
|
|
18920
18937
|
},
|
|
18921
18938
|
o(o) {
|
|
18922
|
-
|
|
18939
|
+
D(n), e = !1;
|
|
18923
18940
|
},
|
|
18924
18941
|
d(o) {
|
|
18925
18942
|
n && n.d(o), o && S(t);
|
|
@@ -20612,7 +20629,7 @@ class H1 extends jn {
|
|
|
20612
20629
|
this.scale(n);
|
|
20613
20630
|
}
|
|
20614
20631
|
scale(e) {
|
|
20615
|
-
var O,
|
|
20632
|
+
var O, W;
|
|
20616
20633
|
if (!this.startInfo)
|
|
20617
20634
|
return;
|
|
20618
20635
|
const n = this.originObject3D, { startPoint: o, plane: s } = this.startInfo, r = this.helperObject3D.cornerPositions;
|
|
@@ -20621,34 +20638,34 @@ class H1 extends jn {
|
|
|
20621
20638
|
const a = e.ray.intersectPlane(s, new U());
|
|
20622
20639
|
if (!a || E1(a, this.camera.position))
|
|
20623
20640
|
return;
|
|
20624
|
-
const l = new U().addVectors(r[0], r[2]).divideScalar(2), { position: c, direction: u } = o, d = new U().subVectors(r[1], r[0]), h = new U().subVectors(r[3], r[0]), f = (
|
|
20641
|
+
const l = new U().addVectors(r[0], r[2]).divideScalar(2), { position: c, direction: u } = o, d = new U().subVectors(r[1], r[0]), h = new U().subVectors(r[3], r[0]), f = (_) => {
|
|
20625
20642
|
const V = new U(0, 0, 0);
|
|
20626
20643
|
if (!this.startInfo)
|
|
20627
20644
|
return V;
|
|
20628
|
-
const B = (
|
|
20645
|
+
const B = (_ === "ew" ? d : h).clone(), R = c.clone().projectOnVector(B), G = a.clone().projectOnVector(B), X = l.clone().projectOnVector(B);
|
|
20629
20646
|
if (G.equals(R))
|
|
20630
20647
|
return V;
|
|
20631
|
-
if (
|
|
20648
|
+
if (_ === "ns" && typeof this.startInfo.dragPointInCenterBottom != "boolean") {
|
|
20632
20649
|
const Y = new U().subVectors(G, X), ae = Y.x < 0 && B.x >= 0, he = Y.y < 0 && B.y >= 0, de = Y.z < 0 && B.z >= 0;
|
|
20633
20650
|
this.startInfo.dragPointInCenterBottom = ae || he || de;
|
|
20634
20651
|
}
|
|
20635
|
-
if (
|
|
20652
|
+
if (_ === "ew" && typeof this.startInfo.dragPointInCenterLeft != "boolean") {
|
|
20636
20653
|
const Y = new U().subVectors(G, X), ae = Y.x < 0 && B.x >= 0, he = Y.y < 0 && B.y >= 0, de = Y.z < 0 && B.z >= 0;
|
|
20637
20654
|
this.startInfo.dragPointInCenterLeft = ae || he || de;
|
|
20638
20655
|
}
|
|
20639
20656
|
const H = new U().subVectors(G, R), ee = H.length();
|
|
20640
20657
|
return ee > 0.3 ? (console.warn("offset.length() > 0.3, skipped", ee), V) : H;
|
|
20641
20658
|
}, v = f("ew"), g = f("ns"), p = () => {
|
|
20642
|
-
const
|
|
20659
|
+
const _ = v;
|
|
20643
20660
|
this.helperObject3D.cornerPositions.forEach((V, B) => {
|
|
20644
20661
|
var R;
|
|
20645
|
-
(R = this.startInfo) != null && R.dragPointInCenterLeft ? (B === 0 || B === 3) && V.add(
|
|
20662
|
+
(R = this.startInfo) != null && R.dragPointInCenterLeft ? (B === 0 || B === 3) && V.add(_) : (B === 1 || B === 2) && V.add(_);
|
|
20646
20663
|
});
|
|
20647
20664
|
}, A = () => {
|
|
20648
|
-
const
|
|
20665
|
+
const _ = g;
|
|
20649
20666
|
this.helperObject3D.cornerPositions.forEach((V, B) => {
|
|
20650
20667
|
var R;
|
|
20651
|
-
(R = this.startInfo) != null && R.dragPointInCenterBottom ? (B === 0 || B === 1) && V.add(
|
|
20668
|
+
(R = this.startInfo) != null && R.dragPointInCenterBottom ? (B === 0 || B === 1) && V.add(_) : (B === 2 || B === 3) && V.add(_);
|
|
20652
20669
|
});
|
|
20653
20670
|
};
|
|
20654
20671
|
switch (u) {
|
|
@@ -20662,10 +20679,10 @@ class H1 extends jn {
|
|
|
20662
20679
|
case "nwse":
|
|
20663
20680
|
p(), A();
|
|
20664
20681
|
}
|
|
20665
|
-
const b = new U().subVectors(r[1], r[0]).length() / d.length(), w = new U().subVectors(r[3], r[0]).length() / h.length(), E = new U(b, w, 1),
|
|
20666
|
-
n.isCSS3DObjectPlus ? n.applyScaleMatrix4(
|
|
20667
|
-
const I = new U().addVectors(r[0], r[2]).divideScalar(2),
|
|
20668
|
-
n.applyMatrix4(k), (O = this.helperObject3D.css3DInstance) == null || O.css3DObject.applyMatrix4(k), (
|
|
20682
|
+
const b = new U().subVectors(r[1], r[0]).length() / d.length(), w = new U().subVectors(r[3], r[0]).length() / h.length(), E = new U(b, w, 1), x = new C.Matrix4().scale(E);
|
|
20683
|
+
n.isCSS3DObjectPlus ? n.applyScaleMatrix4(x) : n.scale.applyMatrix4(x), o.position.copy(a);
|
|
20684
|
+
const I = new U().addVectors(r[0], r[2]).divideScalar(2), L = new U().subVectors(I, l), k = new C.Matrix4().setPosition(L);
|
|
20685
|
+
n.applyMatrix4(k), (O = this.helperObject3D.css3DInstance) == null || O.css3DObject.applyMatrix4(k), (W = this.helperObject3D.plane) == null || W.applyMatrix4(k), this.hooks.emit("applyObjectScale", { matrix: x }), this.hooks.emit("applyObjectPosition", { matrix: k }), this.render();
|
|
20669
20686
|
}
|
|
20670
20687
|
dragEnd() {
|
|
20671
20688
|
!this.isDragging || (this.startInfo = void 0, this.isDragging = !1, this.hooks.emit("scaleEnd"), this.render());
|