@realsee/dnalogel 2.1.2-alpha.0 → 2.1.2-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -12
- package/docs/classes/CruisePluginController.html +24 -24
- package/docs/classes/Magnifier.html +16 -16
- package/docs/classes/ModelRoomLabelController.html +11 -11
- package/docs/classes/Object3DHelperController.html +24 -24
- package/docs/classes/PaintBrush.html +15 -15
- package/docs/classes/PanoTagPluginController.html +39 -39
- 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 +12 -12
- 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/LinkType.html +7 -7
- package/docs/enums/PaintBrushTypeEnum.html +8 -8
- package/docs/enums/PointType.html +7 -7
- 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/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 +6 -11
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +11 -11
- package/docs/interfaces/CSS3DRenderPluginState.html +8 -8
- package/docs/interfaces/CameraMovementPluginExportType.html +7 -7
- package/docs/interfaces/ContentTypeMap.html +12 -12
- 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/ItemLabelPluginData.html +6 -6
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +11 -11
- package/docs/interfaces/ItemLabelPluginParametersType.html +9 -9
- package/docs/interfaces/LineJson.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 +8 -8
- package/docs/interfaces/Object3DHelperState.html +8 -8
- package/docs/interfaces/OpenParameter.html +7 -7
- 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 +11 -11
- 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/Point.html +8 -8
- package/docs/interfaces/PointJson.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/TagConfig.html +10 -10
- package/docs/interfaces/Tags.html +9 -9
- package/docs/interfaces/Util.MagnifierParameter.html +11 -11
- package/docs/interfaces/Util.MouseGroupParameter.html +8 -8
- package/docs/modules/Util.html +5 -5
- package/docs/modules.html +4 -4
- package/docs/types/ArrayPosition.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/Color.html +5 -5
- package/docs/types/ContentTypeConfigKey.html +5 -5
- package/docs/types/ContentTypeConfigKeyArray.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/MapviewFloorplanPluginParameterType.html +5 -5
- package/docs/types/MapviewFloorplanPluginReturnType.html +5 -5
- package/docs/types/MediaData.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/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/PlaneTag.html +5 -5
- package/docs/types/PointTag.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/Tag.html +5 -5
- package/docs/types/Tag2D.html +5 -5
- package/docs/types/Tag3D.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/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/VERSION.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/CSS3DRenderPlugin/CSS3DRender.js +1 -331
- package/libs/CSS3DRenderPlugin/Controller.js +1 -84
- package/libs/CSS3DRenderPlugin/index.js +1 -6
- package/libs/CSS3DRenderPlugin/typing.js +1 -0
- package/libs/CSS3DRenderPlugin/utils/CSS3DObjectPlus.js +1 -67
- package/libs/CSS3DRenderPlugin/utils/centerPoint.js +1 -10
- package/libs/CSS3DRenderPlugin/utils/evenNumber.js +1 -7
- package/libs/CSS3DRenderPlugin/utils/index.js +1 -0
- package/libs/CSS3DRenderPlugin/utils/positionToVector3.js +1 -7
- package/libs/CSS3DRenderPlugin/utils/random.js +1 -0
- package/libs/CameraMovementPlugin/CameraMovementPlugin.js +1 -88
- package/libs/CameraMovementPlugin/index.js +1 -0
- package/libs/CameraMovementPlugin/typing.js +1 -5
- package/libs/CruisePlugin/Controller.js +1 -484
- package/libs/CruisePlugin/index.js +1 -8
- package/libs/CruisePlugin/utils/coordinatesAngle.js +1 -8
- package/libs/CruisePlugin/utils/coordinatesToVector.js +1 -12
- package/libs/CruisePlugin/utils/formatRad.js +1 -7
- package/libs/CruisePlugin/utils/linerValue.js +1 -7
- package/libs/CruisePlugin/utils/safeCall.js +1 -28
- package/libs/CruisePlugin/utils/sleep.js +1 -10
- package/libs/CruisePlugin/utils/vectorToCoordinates.js +1 -10
- package/libs/GuideLinePlugin/Controller.js +1 -144
- package/libs/GuideLinePlugin/index.js +1 -6
- package/libs/GuideLinePlugin/utils/getArrowMaterial.js +1 -13
- package/libs/GuideLinePlugin/utils/getLineGeometries.js +1 -64
- package/libs/ItemLabelPlugin/ItemLabelComponent.js +1 -271
- package/libs/ItemLabelPlugin/ItemLabelItem.js +2 -133
- package/libs/ItemLabelPlugin/Plugin.js +2 -76
- package/libs/ItemLabelPlugin/index.js +1 -12
- package/libs/ItemLabelPlugin/typings.js +1 -4
- package/libs/ItemLabelPlugin/utils/getLabelTransform.js +1 -4
- package/libs/ItemLabelPlugin/utils/getStrokeLength.js +1 -16
- package/libs/ItemLabelPlugin/utils/isImpacted.js +1 -10
- package/libs/ItemLabelPlugin/utils/parseData.js +1 -21
- package/libs/ItemLabelPlugin/utils/transform2RenderData.js +1 -21
- package/libs/ModelChassisCompassPlugin/Plugin.js +1 -71
- package/libs/ModelChassisCompassPlugin/index.js +1 -0
- package/libs/ModelEntryDoorGuidePlugin/Plugin.js +1 -78
- package/libs/ModelEntryDoorGuidePlugin/index.js +1 -0
- package/libs/ModelItemLabelPlugin/ItemLabelComponent.js +1 -212
- package/libs/ModelItemLabelPlugin/ItemLabelItem.js +2 -42
- package/libs/ModelItemLabelPlugin/ModelItemLabelPlugin.js +2 -74
- package/libs/ModelItemLabelPlugin/events.type.js +1 -0
- package/libs/ModelItemLabelPlugin/index.js +1 -12
- package/libs/ModelItemLabelPlugin/typings.js +1 -4
- package/libs/ModelItemLabelPlugin/utils/parseData.js +1 -19
- package/libs/ModelRoomLabelPlugin/Assets/roomLabelBg.js +1 -4
- package/libs/ModelRoomLabelPlugin/Controller.js +1 -60
- package/libs/ModelRoomLabelPlugin/RoomLabelItem.js +1 -45
- package/libs/ModelRoomLabelPlugin/RoomLabelItems.js +1 -162
- package/libs/ModelRoomLabelPlugin/index.js +1 -10
- package/libs/ModelRoomLabelPlugin/utils/parseData.js +1 -16
- package/libs/ModelTVVideoPlugin/Plugin.js +1 -164
- package/libs/ModelTVVideoPlugin/index.js +1 -0
- package/libs/ModelTVVideoPlugin/typings.js +1 -4
- package/libs/ModelTVVideoPlugin/utils/parseData.js +1 -20
- package/libs/ModelViewPlugin/Plugin.js +1 -107
- package/libs/ModelViewPlugin/index.js +1 -0
- package/libs/Object3DHelperPlugin/Controller.js +1 -145
- package/libs/Object3DHelperPlugin/FiveControllerWrapper.js +1 -32
- package/libs/Object3DHelperPlugin/index.js +1 -10
- package/libs/PanoCompassPlugin/Assets/roomInfoIcon.js +1 -4
- package/libs/PanoCompassPlugin/Controller.js +1 -224
- package/libs/PanoCompassPlugin/getRoomInfoInstance.js +1 -24
- package/libs/PanoCompassPlugin/index.js +1 -6
- package/libs/PanoCursorRaycasterPlugin/index.js +1 -59
- package/libs/PanoDoorLabelPlugin/BaseController.js +1 -59
- package/libs/PanoDoorLabelPlugin/Controller.js +1 -219
- package/libs/PanoDoorLabelPlugin/DoorLabelItem.js +1 -65
- package/libs/PanoDoorLabelPlugin/index.js +1 -6
- package/libs/PanoDoorLabelPlugin/utils.js +1 -23
- package/libs/PanoMeasurePlugin/Controller/BaseController.js +1 -53
- package/libs/PanoMeasurePlugin/Controller/EditController.js +1 -102
- package/libs/PanoMeasurePlugin/Controller/MixedController.js +1 -125
- package/libs/PanoMeasurePlugin/Controller/ShortcutKeyController.js +1 -33
- package/libs/PanoMeasurePlugin/Controller/ViewController.js +1 -90
- package/libs/PanoMeasurePlugin/Controller/WatchController.js +1 -154
- package/libs/PanoMeasurePlugin/Controller/index.js +1 -140
- package/libs/PanoMeasurePlugin/Model/index.js +1 -92
- package/libs/PanoMeasurePlugin/Model/line.js +1 -56
- package/libs/PanoMeasurePlugin/Model/point.js +1 -30
- package/libs/PanoMeasurePlugin/Model/polyline.js +1 -47
- package/libs/PanoMeasurePlugin/Modules/DeleteDom/_Assets/delete.svg.js +2 -5
- package/libs/PanoMeasurePlugin/Modules/DeleteDom/_Assets/delete_bg.png.js +1 -4
- package/libs/PanoMeasurePlugin/Modules/DeleteDom/_Assets/delete_hover_bg.png.js +1 -4
- package/libs/PanoMeasurePlugin/Modules/DeleteDom/index.js +3 -67
- package/libs/PanoMeasurePlugin/Modules/FiveHelper.js +1 -28
- package/libs/PanoMeasurePlugin/Modules/GuideController.js +1 -41
- package/libs/PanoMeasurePlugin/Modules/Magnifier.js +1 -103
- package/libs/PanoMeasurePlugin/Modules/UIController/HTML.js +8 -12
- package/libs/PanoMeasurePlugin/Modules/UIController/MainBtnController.js +1 -50
- package/libs/PanoMeasurePlugin/Modules/UIController/Revoke/index.js +1 -36
- package/libs/PanoMeasurePlugin/Modules/UIController/index.js +1 -48
- package/libs/PanoMeasurePlugin/Modules/UIController/mobileHTML.js +3 -8
- package/libs/PanoMeasurePlugin/Modules/UIController/mobileMainBtnController.js +1 -39
- package/libs/PanoMeasurePlugin/Modules/UIController/style.js +1 -62
- package/libs/PanoMeasurePlugin/Modules/rangePiece/html.js +2 -7
- package/libs/PanoMeasurePlugin/Modules/rangePiece/index.js +1 -130
- package/libs/PanoMeasurePlugin/index.js +1 -11
- package/libs/PanoMeasurePlugin/utils/calculateThreeMouse.js +1 -12
- package/libs/PanoMeasurePlugin/utils/constants.js +1 -36
- package/libs/PanoMeasurePlugin/utils/distanceDom.js +1 -62
- package/libs/PanoMeasurePlugin/utils/findAssociatedLines.js +1 -13
- package/libs/PanoMeasurePlugin/utils/findClosestPoint.js +1 -15
- package/libs/PanoMeasurePlugin/utils/getIntersectionFromEvent.js +1 -9
- package/libs/PanoMeasurePlugin/utils/getPointFromHammerEvent.js +1 -8
- package/libs/PanoMeasurePlugin/utils/ironbox.js +1 -4
- package/libs/PanoMeasurePlugin/utils/isNDCPointInScreen.js +1 -7
- package/libs/PanoMeasurePlugin/utils/line.js +1 -18
- package/libs/PanoMeasurePlugin/utils/math.js +1 -13
- package/libs/PanoMeasurePlugin/utils/mouseGroup.js +3 -33
- package/libs/PanoMeasurePlugin/utils/ndc2Screen.js +1 -8
- package/libs/PanoRulerPlugin/Plugin.js +2 -263
- package/libs/PanoRulerPlugin/index.js +1 -0
- package/libs/PanoRulerPlugin/style.js +2 -5
- package/libs/PanoRulerProPlugin/Controller.js +1 -93
- package/libs/PanoRulerProPlugin/RulerItem.js +1 -128
- package/libs/PanoRulerProPlugin/RulerItems.js +1 -180
- package/libs/PanoRulerProPlugin/index.js +1 -6
- package/libs/PanoSpatialTagPlugin/Components/origins.js +1 -81
- package/libs/PanoSpatialTagPlugin/Components/tag.js +1 -124
- package/libs/PanoSpatialTagPlugin/Plugin.js +1 -247
- package/libs/PanoSpatialTagPlugin/index.js +1 -0
- package/libs/PanoSpatialTagPlugin/store.js +1 -5
- package/libs/PanoSpatialTagPlugin/style.js +1 -11
- package/libs/PanoSpatialTagPlugin/typings.js +1 -0
- package/libs/PanoTagPlugin/Assets/Icon.js +1 -6
- package/libs/PanoTagPlugin/Components/Common/Arrow.js +1 -103
- package/libs/PanoTagPlugin/Components/Common/Audio.js +1 -166
- package/libs/PanoTagPlugin/Components/Common/Line/Polyline.js +1 -93
- package/libs/PanoTagPlugin/Components/Common/Line/Straight.js +1 -90
- package/libs/PanoTagPlugin/Components/Common/Media.js +1 -393
- package/libs/PanoTagPlugin/Components/Common/MediaItem.js +1 -139
- package/libs/PanoTagPlugin/Components/Common/MultiLineText.js +1 -170
- package/libs/PanoTagPlugin/Components/Common/Point/CustomPoint.js +1 -51
- package/libs/PanoTagPlugin/Components/Common/Point/DefaultPoint.js +1 -51
- package/libs/PanoTagPlugin/Components/Common/Point/PointSwitch.js +1 -166
- package/libs/PanoTagPlugin/Components/Common/Shadow.js +15 -124
- package/libs/PanoTagPlugin/Components/Common/Text.js +1 -131
- package/libs/PanoTagPlugin/Components/Tag/AudioTag.js +1 -134
- package/libs/PanoTagPlugin/Components/Tag/CustomTag.js +1 -73
- package/libs/PanoTagPlugin/Components/Tag/ImageTextTag.js +1 -192
- package/libs/PanoTagPlugin/Components/Tag/LinkTag.js +1 -126
- package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +1 -258
- package/libs/PanoTagPlugin/Components/Tag/MediaPlane.js +1 -87
- package/libs/PanoTagPlugin/Components/Tag/TextTag.js +1 -122
- package/libs/PanoTagPlugin/Components/Tag/index.js +2 -289
- package/libs/PanoTagPlugin/Components/TagContainer.js +1 -156
- package/libs/PanoTagPlugin/Components/TagWrapper.js +1 -153
- package/libs/PanoTagPlugin/controller/TagCacheController.js +1 -31
- package/libs/PanoTagPlugin/controller/TagComputer.js +1 -264
- package/libs/PanoTagPlugin/controller/index.js +1 -377
- package/libs/PanoTagPlugin/index.js +1 -9
- package/libs/PanoTagPlugin/tag.config.js +1 -44
- package/libs/PanoTagPlugin/typings/controller.js +1 -0
- package/libs/PanoTagPlugin/typings/index.js +1 -0
- package/libs/PanoTagPlugin/typings/tag.js +1 -7
- package/libs/PanoTagPlugin/utils/actionAfterFiveModelLoad.js +1 -6
- package/libs/PanoTagPlugin/utils/addDebugPoints.js +1 -27
- package/libs/PanoTagPlugin/utils/checkRange.js +1 -10
- package/libs/PanoTagPlugin/utils/constants.js +1 -8
- package/libs/PanoTagPlugin/utils/debounce.js +1 -12
- package/libs/PanoTagPlugin/utils/doUtil.js +1 -12
- package/libs/PanoTagPlugin/utils/index.js +1 -0
- package/libs/PanoTagPlugin/utils/noTypecheck.js +1 -4
- package/libs/PanoTagPlugin/utils/normalPositionToPositions.js +1 -13
- package/libs/PanoTagPlugin/utils/planeNormal.js +1 -11
- package/libs/PanoTagPlugin/utils/resizeObserver.js +1 -17
- package/libs/PanoTagPlugin/utils/search.js +1 -15
- package/libs/PanoTagPlugin/utils/tagPosition.js +1 -13
- package/libs/PanoTagPlugin/utils/throttle.js +1 -11
- package/libs/base/BasePlugin.js +1 -18
- package/libs/base/BasePluginWithData.js +1 -6
- package/libs/components/PaintBrush/Controller.js +1 -308
- package/libs/components/PaintBrush/Subscribe.js +1 -47
- package/libs/components/PaintBrush/index.js +1 -45
- package/libs/components/PaintBrush/style.js +2 -5
- package/libs/components/PaintBrush/tween.js +1 -11
- package/libs/components/PaintBrush/typings.js +1 -4
- package/libs/components/PaintBrush/utils.js +1 -45
- package/libs/components/index.js +1 -0
- package/libs/floorplan/Assets/camera.js +1 -4
- package/libs/floorplan/Assets/compass.js +1 -4
- package/libs/floorplan/Assets/floorplanExtraObject.js +1 -4
- package/libs/floorplan/Components/BaseImage.js +1 -103
- package/libs/floorplan/Components/Camera.js +1 -62
- package/libs/floorplan/Components/Compass.js +1 -60
- package/libs/floorplan/Components/CurrentFloor.js +1 -246
- package/libs/floorplan/Components/Main.js +1 -264
- package/libs/floorplan/Components/Normalmage.js +1 -37
- package/libs/floorplan/Components/RoomHighlight/Room.js +1 -61
- package/libs/floorplan/Components/RoomHighlight/RoomHighlight.js +1 -121
- package/libs/floorplan/Components/RoomLabels/RoomLabel.js +1 -153
- package/libs/floorplan/Components/RoomLabels/RoomLabels.js +1 -174
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial.js +1 -196
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial_0.js +1 -37
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial_1.js +1 -39
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial_2.js +1 -37
- package/libs/floorplan/Components/RuleLabels/RuleItem.js +1 -134
- package/libs/floorplan/Components/RuleLabels/RuleLabels.js +1 -139
- package/libs/floorplan/Components/SvgImage.js +2 -39
- package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +1 -321
- package/libs/floorplan/MapviewFloorplanPlugin/index.js +1 -6
- package/libs/floorplan/ModelFloorplanPlugin/Controller.js +1 -316
- package/libs/floorplan/ModelFloorplanPlugin/index.js +1 -6
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Camera.js +1 -85
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/CurrentFloor.js +1 -129
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/ExtraObjects.js +1 -72
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Main.js +1 -183
- package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +1 -164
- package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +1 -6
- package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +1 -273
- package/libs/floorplan/TopviewFloorplanPlugin/index.js +1 -6
- package/libs/floorplan/constant.js +1 -4
- package/libs/floorplan/index.js +1 -0
- package/libs/floorplan/typings/floorplanData.js +1 -0
- package/libs/floorplan/typings/floorplanServerData.js +1 -101
- package/libs/floorplan/utils/constant.js +1 -7
- package/libs/floorplan/utils/correctFiveState.js +1 -54
- package/libs/floorplan/utils/formatData.js +1 -104
- package/libs/floorplan/utils/formatPosition.js +1 -35
- package/libs/index.js +1 -92
- package/libs/shared-utils/Object3DHelper/Base/BaseController.js +1 -152
- package/libs/shared-utils/Object3DHelper/Base/BaseHelper.js +1 -53
- package/libs/shared-utils/Object3DHelper/Constants/color.js +1 -21
- package/libs/shared-utils/Object3DHelper/Controller/CSS3DScaleController.js +1 -18
- package/libs/shared-utils/Object3DHelper/Controller/MoveController.js +1 -66
- package/libs/shared-utils/Object3DHelper/Controller/RectangleScaleController.js +1 -109
- package/libs/shared-utils/Object3DHelper/Controller/RotateController.js +1 -134
- package/libs/shared-utils/Object3DHelper/Helper/HTML/rectangleScaleDom.js +1 -79
- package/libs/shared-utils/Object3DHelper/Helper/HTML/tipsDom.js +1 -41
- package/libs/shared-utils/Object3DHelper/Helper/HTML/utils/createElement.js +1 -14
- package/libs/shared-utils/Object3DHelper/Helper/MoveHelper.js +1 -30
- package/libs/shared-utils/Object3DHelper/Helper/Objects/ArrowGroup.js +1 -35
- package/libs/shared-utils/Object3DHelper/Helper/OutlineHelper.js +1 -2
- package/libs/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.js +1 -137
- package/libs/shared-utils/Object3DHelper/Helper/RotateHelper.js +1 -136
- package/libs/shared-utils/Object3DHelper/Helper/index.js +1 -0
- package/libs/shared-utils/Object3DHelper/index.js +1 -169
- package/libs/shared-utils/Object3DHelper/typings/Direction.js +1 -0
- package/libs/shared-utils/Object3DHelper/typings/Hooks.js +1 -0
- package/libs/shared-utils/Object3DHelper/typings/Scissor.js +1 -0
- package/libs/shared-utils/Object3DHelper/typings/index.js +1 -0
- package/libs/shared-utils/Object3DHelper/utils/calculateThreeMouse.js +1 -11
- package/libs/shared-utils/Object3DHelper/utils/direction.js +1 -22
- package/libs/shared-utils/Object3DHelper/utils/filterNotColinearPoints.js +1 -0
- package/libs/shared-utils/Object3DHelper/utils/getMouseRaycaster.js +1 -14
- package/libs/shared-utils/Object3DHelper/utils/getPoint.js +1 -0
- package/libs/shared-utils/Object3DHelper/utils/index.js +1 -0
- package/libs/shared-utils/Object3DHelper/utils/normalPositionToPositions.js +1 -0
- package/libs/shared-utils/Object3DHelper/utils/object3DBoundingPosition.js +1 -0
- package/libs/shared-utils/Object3DHelper/utils/threex/domevents/index.js +1 -191
- package/libs/shared-utils/Object3DHelper/utils/vectorIsEqual.js +1 -6
- package/libs/shared-utils/Subscribe.js +1 -50
- package/libs/shared-utils/animationFrame/BetterTween.js +1 -26
- package/libs/shared-utils/animationFrame/calculateProgress.js +1 -6
- package/libs/shared-utils/animationFrame/formatRad.js +1 -11
- package/libs/shared-utils/animationFrame/index.js +1 -31
- package/libs/shared-utils/animationFrame/tween.js +1 -30
- package/libs/shared-utils/changeModelCanvasOpacity.js +1 -12
- package/libs/shared-utils/createCanvasTextTexture.js +1 -11
- package/libs/shared-utils/createLine/index.js +1 -9
- package/libs/shared-utils/debounce.js +1 -11
- package/libs/shared-utils/equal.js +1 -54
- package/libs/shared-utils/filter.js +1 -10
- package/libs/shared-utils/five/changeMode.js +1 -39
- package/libs/shared-utils/getPxmm.js +1 -21
- package/libs/shared-utils/index.js +1 -31
- package/libs/shared-utils/isNil.js +1 -10
- package/libs/shared-utils/isTruelyObject.js +1 -6
- package/libs/shared-utils/math/Interval.js +1 -23
- package/libs/shared-utils/math/Rectangle.js +1 -23
- package/libs/shared-utils/math/index.js +1 -0
- package/libs/shared-utils/math/planimetry.js +1 -48
- package/libs/shared-utils/math/rad2Deg.js +1 -6
- package/libs/shared-utils/nearlyEqual.js +1 -6
- package/libs/shared-utils/nextFrame.js +1 -6
- package/libs/shared-utils/noop.js +1 -5
- package/libs/shared-utils/object3d2LocalMatrix.js +1 -19
- package/libs/shared-utils/removeArrayItem.js +1 -8
- package/libs/shared-utils/tap.js +1 -6
- package/libs/shared-utils/three/Assets/index.js +1 -4
- package/libs/shared-utils/three/FivePointSelector.js +1 -49
- package/libs/shared-utils/three/Magnifier.js +1 -104
- package/libs/shared-utils/three/PointDomHelper.js +1 -60
- package/libs/shared-utils/three/PointHelper.js +3 -60
- package/libs/shared-utils/three/getCoords.js +1 -13
- package/libs/shared-utils/three/getIntersect.js +1 -8
- package/libs/shared-utils/three/getRaycaster.js +1 -12
- package/libs/shared-utils/three/index.js +1 -0
- package/libs/shared-utils/three/loadTexture.js +1 -28
- package/libs/shared-utils/three/transformPositionToVector3.js +1 -5
- package/libs/shared-utils/three/transfromToMeshBasicMaterial.js +1 -24
- package/libs/shared-utils/throttle.js +1 -11
- package/libs/shared-utils/tinyEJSrender.js +14 -138
- package/libs/shared-utils/to.js +1 -29
- package/libs/shared-utils/uuid.js +1 -10
- package/libs/vendor/swiper/components-shared/get-changed-params.js +1 -0
- package/libs/vendor/swiper/components-shared/get-params.js +1 -0
- package/libs/vendor/swiper/components-shared/mount-swiper.js +1 -0
- package/libs/vendor/swiper/components-shared/params-list.js +1 -0
- package/libs/vendor/swiper/components-shared/update-swiper.js +1 -0
- package/libs/vendor/swiper/components-shared/utils.js +1 -0
- package/libs/vendor/swiper/svelte/swiper-slide.js +1 -0
- package/libs/vendor/swiper/svelte/swiper-svelte.js +1 -0
- package/libs/vendor/swiper/svelte/swiper.js +1 -0
- package/package.json +187 -17
- package/libs/node_modules/.pnpm/swiper@8.4.4/node_modules/swiper/components-shared/get-changed-params.js +0 -29
- package/libs/node_modules/.pnpm/swiper@8.4.4/node_modules/swiper/components-shared/get-params.js +0 -23
- package/libs/node_modules/.pnpm/swiper@8.4.4/node_modules/swiper/components-shared/mount-swiper.js +0 -14
- package/libs/node_modules/.pnpm/swiper@8.4.4/node_modules/swiper/components-shared/params-list.js +0 -120
- package/libs/node_modules/.pnpm/swiper@8.4.4/node_modules/swiper/components-shared/update-swiper.js +0 -36
- package/libs/node_modules/.pnpm/swiper@8.4.4/node_modules/swiper/components-shared/utils.js +0 -32
- package/libs/node_modules/.pnpm/swiper@8.4.4/node_modules/swiper/svelte/swiper-slide.js +0 -182
- package/libs/node_modules/.pnpm/swiper@8.4.4/node_modules/swiper/svelte/swiper.js +0 -254
|
@@ -1,139 +1 @@
|
|
|
1
|
-
|
|
2
|
-
import { Image_Play_Large as j, Image_Play_Small as B } from "../../Assets/Icon.js";
|
|
3
|
-
function M(o) {
|
|
4
|
-
U(o, "svelte-cwtvzu", ".media-item.svelte-cwtvzu.svelte-cwtvzu{height:100%}.media-content.svelte-cwtvzu.svelte-cwtvzu{width:100%;height:100%;-webkit-user-select:none;-moz-user-select:none;user-select:none;-o-object-fit:inherit;object-fit:inherit}.video-icon.svelte-cwtvzu.svelte-cwtvzu{width:12.5rem;height:6.25rem;max-width:60%;max-height:60%;position:absolute;left:50%;top:50%;transform:translate(-50%, -50%)}.video-play-button-container.svelte-cwtvzu.svelte-cwtvzu{display:none;pointer-events:auto;position:absolute;width:100%;height:100%;top:0;left:0}.video-play-button-container.showPlayButton.svelte-cwtvzu.svelte-cwtvzu{display:block}.video-icon.large.svelte-cwtvzu.svelte-cwtvzu{width:12.5rem;height:6.25rem}.video-icon.small.svelte-cwtvzu.svelte-cwtvzu{width:1.75rem;height:1.75rem}.video-icon.svelte-cwtvzu .video-icon-img.svelte-cwtvzu{width:100%;height:100%;background-position:center center;background-size:contain;background-repeat:no-repeat}.video-icon.svelte-cwtvzu .video-icon-img.canPlay.svelte-cwtvzu{cursor:pointer}");
|
|
5
|
-
}
|
|
6
|
-
function I(o) {
|
|
7
|
-
let e;
|
|
8
|
-
function t(s, c) {
|
|
9
|
-
if (s[0].type === "Image")
|
|
10
|
-
return A;
|
|
11
|
-
if (s[0].type === "Video")
|
|
12
|
-
return V;
|
|
13
|
-
}
|
|
14
|
-
let n = t(o), i = n && n(o);
|
|
15
|
-
return {
|
|
16
|
-
c() {
|
|
17
|
-
e = m("div"), i && i.c(), a(e, "class", "media-item svelte-cwtvzu");
|
|
18
|
-
},
|
|
19
|
-
m(s, c) {
|
|
20
|
-
_(s, e, c), i && i.m(e, null);
|
|
21
|
-
},
|
|
22
|
-
p(s, c) {
|
|
23
|
-
n === (n = t(s)) && i ? i.p(s, c) : (i && i.d(1), i = n && n(s), i && (i.c(), i.m(e, null)));
|
|
24
|
-
},
|
|
25
|
-
d(s) {
|
|
26
|
-
s && w(e), i && i.d();
|
|
27
|
-
}
|
|
28
|
-
};
|
|
29
|
-
}
|
|
30
|
-
function V(o) {
|
|
31
|
-
let e, t, n, i, s, c, u, v, f, p, g;
|
|
32
|
-
return {
|
|
33
|
-
c() {
|
|
34
|
-
var l;
|
|
35
|
-
e = m("video"), c = E(), u = m("div"), v = m("div"), f = m("div"), a(e, "class", "media-content svelte-cwtvzu"), a(e, "style", t = `object-fit: ${o[3]};`), b(e.src, n = o[0].url + "#t=0.1") || a(e, "src", n), a(e, "poster", i = (l = o[0].videoCoverUrl) != null ? l : void 0), a(e, "preload", s = o[0].videoCoverUrl ? void 0 : "auto"), e.playsInline = !0, a(e, "paused", ""), e.loop = !1, a(e, "crossorigin", ""), e.controls = !1, d(e, "showPlayButton", o[5]), a(f, "class", "video-icon-img svelte-cwtvzu"), z(f, "background-image", "url(" + (o[1] === "large" ? j : B) + ")"), d(f, "canPlay", o[2]), a(v, "class", "video-icon svelte-cwtvzu"), d(v, "large", o[1] === "large"), d(v, "small", o[1] === "small"), a(u, "class", "video-play-button-container svelte-cwtvzu"), d(u, "showPlayButton", o[5]);
|
|
36
|
-
},
|
|
37
|
-
m(l, r) {
|
|
38
|
-
_(l, e, r), o[7](e), _(l, c, r), _(l, u, r), k(u, v), k(v, f), p || (g = [
|
|
39
|
-
P(e, "click", o[6]),
|
|
40
|
-
P(f, "click", o[8])
|
|
41
|
-
], p = !0);
|
|
42
|
-
},
|
|
43
|
-
p(l, r) {
|
|
44
|
-
var h;
|
|
45
|
-
r & 8 && t !== (t = `object-fit: ${l[3]};`) && a(e, "style", t), r & 1 && !b(e.src, n = l[0].url + "#t=0.1") && a(e, "src", n), r & 1 && i !== (i = (h = l[0].videoCoverUrl) != null ? h : void 0) && a(e, "poster", i), r & 1 && s !== (s = l[0].videoCoverUrl ? void 0 : "auto") && a(e, "preload", s), r & 32 && d(e, "showPlayButton", l[5]), r & 2 && z(f, "background-image", "url(" + (l[1] === "large" ? j : B) + ")"), r & 4 && d(f, "canPlay", l[2]), r & 2 && d(v, "large", l[1] === "large"), r & 2 && d(v, "small", l[1] === "small"), r & 32 && d(u, "showPlayButton", l[5]);
|
|
46
|
-
},
|
|
47
|
-
d(l) {
|
|
48
|
-
l && w(e), o[7](null), l && w(c), l && w(u), p = !1, S(g);
|
|
49
|
-
}
|
|
50
|
-
};
|
|
51
|
-
}
|
|
52
|
-
function A(o) {
|
|
53
|
-
let e, t, n, i;
|
|
54
|
-
return {
|
|
55
|
-
c() {
|
|
56
|
-
e = m("img"), a(e, "class", "media-content svelte-cwtvzu"), a(e, "style", t = `object-fit: ${o[3]};`), b(e.src, n = o[0].url) || a(e, "src", n), a(e, "alt", i = o[0].name);
|
|
57
|
-
},
|
|
58
|
-
m(s, c) {
|
|
59
|
-
_(s, e, c);
|
|
60
|
-
},
|
|
61
|
-
p(s, c) {
|
|
62
|
-
c & 8 && t !== (t = `object-fit: ${s[3]};`) && a(e, "style", t), c & 1 && !b(e.src, n = s[0].url) && a(e, "src", n), c & 1 && i !== (i = s[0].name) && a(e, "alt", i);
|
|
63
|
-
},
|
|
64
|
-
d(s) {
|
|
65
|
-
s && w(e);
|
|
66
|
-
}
|
|
67
|
-
};
|
|
68
|
-
}
|
|
69
|
-
function D(o) {
|
|
70
|
-
let e, t = o[0] && I(o);
|
|
71
|
-
return {
|
|
72
|
-
c() {
|
|
73
|
-
t && t.c(), e = L();
|
|
74
|
-
},
|
|
75
|
-
m(n, i) {
|
|
76
|
-
t && t.m(n, i), _(n, e, i);
|
|
77
|
-
},
|
|
78
|
-
p(n, [i]) {
|
|
79
|
-
n[0] ? t ? t.p(n, i) : (t = I(n), t.c(), t.m(e.parentNode, e)) : t && (t.d(1), t = null);
|
|
80
|
-
},
|
|
81
|
-
i: y,
|
|
82
|
-
o: y,
|
|
83
|
-
d(n) {
|
|
84
|
-
t && t.d(n), n && w(e);
|
|
85
|
-
}
|
|
86
|
-
};
|
|
87
|
-
}
|
|
88
|
-
function G(o, e, t) {
|
|
89
|
-
let { media: n } = e, { playButtonIfNeed: i = "small" } = e, { canPlay: s = !0 } = e, { objectFit: c = "cover" } = e, u, v = !1;
|
|
90
|
-
const f = () => u == null ? void 0 : u.pause();
|
|
91
|
-
function p(l) {
|
|
92
|
-
q[l ? "unshift" : "push"](() => {
|
|
93
|
-
u = l, t(4, u);
|
|
94
|
-
});
|
|
95
|
-
}
|
|
96
|
-
const g = () => {
|
|
97
|
-
!s || u && u.play();
|
|
98
|
-
};
|
|
99
|
-
return o.$$set = (l) => {
|
|
100
|
-
"media" in l && t(0, n = l.media), "playButtonIfNeed" in l && t(1, i = l.playButtonIfNeed), "canPlay" in l && t(2, s = l.canPlay), "objectFit" in l && t(3, c = l.objectFit);
|
|
101
|
-
}, o.$$.update = () => {
|
|
102
|
-
o.$$.dirty & 16 && u && (t(5, v = u.paused), u.addEventListener("play", () => {
|
|
103
|
-
t(5, v = !1);
|
|
104
|
-
}), u.addEventListener("pause", () => {
|
|
105
|
-
t(5, v = !0);
|
|
106
|
-
}));
|
|
107
|
-
}, [
|
|
108
|
-
n,
|
|
109
|
-
i,
|
|
110
|
-
s,
|
|
111
|
-
c,
|
|
112
|
-
u,
|
|
113
|
-
v,
|
|
114
|
-
f,
|
|
115
|
-
p,
|
|
116
|
-
g
|
|
117
|
-
];
|
|
118
|
-
}
|
|
119
|
-
class K extends C {
|
|
120
|
-
constructor(e) {
|
|
121
|
-
super(), N(
|
|
122
|
-
this,
|
|
123
|
-
e,
|
|
124
|
-
G,
|
|
125
|
-
D,
|
|
126
|
-
F,
|
|
127
|
-
{
|
|
128
|
-
media: 0,
|
|
129
|
-
playButtonIfNeed: 1,
|
|
130
|
-
canPlay: 2,
|
|
131
|
-
objectFit: 3
|
|
132
|
-
},
|
|
133
|
-
M
|
|
134
|
-
);
|
|
135
|
-
}
|
|
136
|
-
}
|
|
137
|
-
export {
|
|
138
|
-
K as default
|
|
139
|
-
};
|
|
1
|
+
"use strict";const e=require("svelte/internal"),m=require("../../Assets/Icon.js");function p(s){e.append_styles(s,"svelte-cwtvzu",".media-item.svelte-cwtvzu.svelte-cwtvzu{height:100%}.media-content.svelte-cwtvzu.svelte-cwtvzu{width:100%;height:100%;-webkit-user-select:none;-moz-user-select:none;user-select:none;-o-object-fit:inherit;object-fit:inherit}.video-icon.svelte-cwtvzu.svelte-cwtvzu{width:12.5rem;height:6.25rem;max-width:60%;max-height:60%;position:absolute;left:50%;top:50%;transform:translate(-50%, -50%)}.video-play-button-container.svelte-cwtvzu.svelte-cwtvzu{display:none;pointer-events:auto;position:absolute;width:100%;height:100%;top:0;left:0}.video-play-button-container.showPlayButton.svelte-cwtvzu.svelte-cwtvzu{display:block}.video-icon.large.svelte-cwtvzu.svelte-cwtvzu{width:12.5rem;height:6.25rem}.video-icon.small.svelte-cwtvzu.svelte-cwtvzu{width:1.75rem;height:1.75rem}.video-icon.svelte-cwtvzu .video-icon-img.svelte-cwtvzu{width:100%;height:100%;background-position:center center;background-size:contain;background-repeat:no-repeat}.video-icon.svelte-cwtvzu .video-icon-img.canPlay.svelte-cwtvzu{cursor:pointer}")}function w(s){let t;function l(o,c){if(o[0].type==="Image")return y;if(o[0].type==="Video")return h}let n=l(s),a=n&&n(s);return{c(){t=e.element("div"),a&&a.c(),e.attr(t,"class","media-item svelte-cwtvzu")},m(o,c){e.insert(o,t,c),a&&a.m(t,null)},p(o,c){n===(n=l(o))&&a?a.p(o,c):(a&&a.d(1),a=n&&n(o),a&&(a.c(),a.m(t,null)))},d(o){o&&e.detach(t),a&&a.d()}}}function h(s){let t,l,n,a,o,c,r,v,d,f,_;return{c(){var i;t=e.element("video"),c=e.space(),r=e.element("div"),v=e.element("div"),d=e.element("div"),e.attr(t,"class","media-content svelte-cwtvzu"),e.attr(t,"style",l=`object-fit: ${s[3]};`),e.src_url_equal(t.src,n=s[0].url+"#t=0.1")||e.attr(t,"src",n),e.attr(t,"poster",a=(i=s[0].videoCoverUrl)!=null?i:void 0),e.attr(t,"preload",o=s[0].videoCoverUrl?void 0:"auto"),t.playsInline=!0,e.attr(t,"paused",""),t.loop=!1,e.attr(t,"crossorigin",""),t.controls=!1,e.toggle_class(t,"showPlayButton",s[5]),e.attr(d,"class","video-icon-img svelte-cwtvzu"),e.set_style(d,"background-image","url("+(s[1]==="large"?m.Image_Play_Large:m.Image_Play_Small)+")"),e.toggle_class(d,"canPlay",s[2]),e.attr(v,"class","video-icon svelte-cwtvzu"),e.toggle_class(v,"large",s[1]==="large"),e.toggle_class(v,"small",s[1]==="small"),e.attr(r,"class","video-play-button-container svelte-cwtvzu"),e.toggle_class(r,"showPlayButton",s[5])},m(i,u){e.insert(i,t,u),s[7](t),e.insert(i,c,u),e.insert(i,r,u),e.append(r,v),e.append(v,d),f||(_=[e.listen(t,"click",s[6]),e.listen(d,"click",s[8])],f=!0)},p(i,u){var g;u&8&&l!==(l=`object-fit: ${i[3]};`)&&e.attr(t,"style",l),u&1&&!e.src_url_equal(t.src,n=i[0].url+"#t=0.1")&&e.attr(t,"src",n),u&1&&a!==(a=(g=i[0].videoCoverUrl)!=null?g:void 0)&&e.attr(t,"poster",a),u&1&&o!==(o=i[0].videoCoverUrl?void 0:"auto")&&e.attr(t,"preload",o),u&32&&e.toggle_class(t,"showPlayButton",i[5]),u&2&&e.set_style(d,"background-image","url("+(i[1]==="large"?m.Image_Play_Large:m.Image_Play_Small)+")"),u&4&&e.toggle_class(d,"canPlay",i[2]),u&2&&e.toggle_class(v,"large",i[1]==="large"),u&2&&e.toggle_class(v,"small",i[1]==="small"),u&32&&e.toggle_class(r,"showPlayButton",i[5])},d(i){i&&e.detach(t),s[7](null),i&&e.detach(c),i&&e.detach(r),f=!1,e.run_all(_)}}}function y(s){let t,l,n,a;return{c(){t=e.element("img"),e.attr(t,"class","media-content svelte-cwtvzu"),e.attr(t,"style",l=`object-fit: ${s[3]};`),e.src_url_equal(t.src,n=s[0].url)||e.attr(t,"src",n),e.attr(t,"alt",a=s[0].name)},m(o,c){e.insert(o,t,c)},p(o,c){c&8&&l!==(l=`object-fit: ${o[3]};`)&&e.attr(t,"style",l),c&1&&!e.src_url_equal(t.src,n=o[0].url)&&e.attr(t,"src",n),c&1&&a!==(a=o[0].name)&&e.attr(t,"alt",a)},d(o){o&&e.detach(t)}}}function b(s){let t,l=s[0]&&w(s);return{c(){l&&l.c(),t=e.empty()},m(n,a){l&&l.m(n,a),e.insert(n,t,a)},p(n,[a]){n[0]?l?l.p(n,a):(l=w(n),l.c(),l.m(t.parentNode,t)):l&&(l.d(1),l=null)},i:e.noop,o:e.noop,d(n){l&&l.d(n),n&&e.detach(t)}}}function z(s,t,l){let{media:n}=t,{playButtonIfNeed:a="small"}=t,{canPlay:o=!0}=t,{objectFit:c="cover"}=t,r,v=!1;const d=()=>r==null?void 0:r.pause();function f(i){e.binding_callbacks[i?"unshift":"push"](()=>{r=i,l(4,r)})}const _=()=>{!o||r&&r.play()};return s.$$set=i=>{"media"in i&&l(0,n=i.media),"playButtonIfNeed"in i&&l(1,a=i.playButtonIfNeed),"canPlay"in i&&l(2,o=i.canPlay),"objectFit"in i&&l(3,c=i.objectFit)},s.$$.update=()=>{s.$$.dirty&16&&r&&(l(5,v=r.paused),r.addEventListener("play",()=>{l(5,v=!1)}),r.addEventListener("pause",()=>{l(5,v=!0)}))},[n,a,o,c,r,v,d,f,_]}class k extends e.SvelteComponent{constructor(t){super(),e.init(this,t,z,b,e.safe_not_equal,{media:0,playButtonIfNeed:1,canPlay:2,objectFit:3},p)}}exports.MediaItem=k;
|
|
@@ -1,170 +1 @@
|
|
|
1
|
-
|
|
2
|
-
import j from "./Text.js";
|
|
3
|
-
import F from "./Arrow.js";
|
|
4
|
-
import G from "../../utils/doUtil.js";
|
|
5
|
-
function J(r) {
|
|
6
|
-
M(r, "svelte-1fuzm7v", ".text.svelte-1fuzm7v{pointer-events:auto;box-sizing:border-box;display:inline-block;max-width:7.5rem;transition:transform 400ms ease-in-out;font-size:0.75rem;line-height:1.125rem;white-space:initial;cursor:pointer}.arrow.svelte-1fuzm7v{pointer-events:auto;display:inline-block;vertical-align:top;width:0.875rem;height:0.875rem;margin-left:0.125rem;margin-top:0.125rem}");
|
|
7
|
-
}
|
|
8
|
-
function y(r, t, n) {
|
|
9
|
-
const o = r.slice();
|
|
10
|
-
return o[11] = t[n].id, o[12] = t[n].content, o;
|
|
11
|
-
}
|
|
12
|
-
function w(r, t) {
|
|
13
|
-
let n, o, l;
|
|
14
|
-
return o = new j({
|
|
15
|
-
props: {
|
|
16
|
-
unfolded: t[0],
|
|
17
|
-
content: t[12],
|
|
18
|
-
inDelay: 500,
|
|
19
|
-
outDelay: t[5]
|
|
20
|
-
}
|
|
21
|
-
}), {
|
|
22
|
-
key: r,
|
|
23
|
-
first: null,
|
|
24
|
-
c() {
|
|
25
|
-
n = H("div"), D(o.$$.fragment), U(n, "class", "text svelte-1fuzm7v"), v(n, "transform", t[7], !1), this.first = n;
|
|
26
|
-
},
|
|
27
|
-
m(f, u) {
|
|
28
|
-
g(f, n, u), x(o, n, null), t[10](n), l = !0;
|
|
29
|
-
},
|
|
30
|
-
p(f, u) {
|
|
31
|
-
t = f;
|
|
32
|
-
const a = {};
|
|
33
|
-
u & 1 && (a.unfolded = t[0]), u & 2 && (a.content = t[12]), u & 32 && (a.outDelay = t[5]), o.$set(a), u & 128 && v(n, "transform", t[7], !1);
|
|
34
|
-
},
|
|
35
|
-
i(f) {
|
|
36
|
-
l || (_(o.$$.fragment, f), l = !0);
|
|
37
|
-
},
|
|
38
|
-
o(f) {
|
|
39
|
-
d(o.$$.fragment, f), l = !1;
|
|
40
|
-
},
|
|
41
|
-
d(f) {
|
|
42
|
-
f && p(n), I(o), t[10](null);
|
|
43
|
-
}
|
|
44
|
-
};
|
|
45
|
-
}
|
|
46
|
-
function z(r) {
|
|
47
|
-
let t, n, o;
|
|
48
|
-
return n = new F({
|
|
49
|
-
props: {
|
|
50
|
-
direction: r[6],
|
|
51
|
-
visible: r[0],
|
|
52
|
-
inDelay: 600,
|
|
53
|
-
duration: 1e3
|
|
54
|
-
}
|
|
55
|
-
}), {
|
|
56
|
-
c() {
|
|
57
|
-
t = H("div"), D(n.$$.fragment), U(t, "class", "arrow svelte-1fuzm7v");
|
|
58
|
-
},
|
|
59
|
-
m(l, f) {
|
|
60
|
-
g(l, t, f), x(n, t, null), o = !0;
|
|
61
|
-
},
|
|
62
|
-
p(l, f) {
|
|
63
|
-
const u = {};
|
|
64
|
-
f & 64 && (u.direction = l[6]), f & 1 && (u.visible = l[0]), n.$set(u);
|
|
65
|
-
},
|
|
66
|
-
i(l) {
|
|
67
|
-
o || (_(n.$$.fragment, l), o = !0);
|
|
68
|
-
},
|
|
69
|
-
o(l) {
|
|
70
|
-
d(n.$$.fragment, l), o = !1;
|
|
71
|
-
},
|
|
72
|
-
d(l) {
|
|
73
|
-
l && p(t), I(n);
|
|
74
|
-
}
|
|
75
|
-
};
|
|
76
|
-
}
|
|
77
|
-
function K(r) {
|
|
78
|
-
let t = [], n = /* @__PURE__ */ new Map(), o, l, f, u = r[1];
|
|
79
|
-
const a = (e) => e[11];
|
|
80
|
-
for (let e = 0; e < u.length; e += 1) {
|
|
81
|
-
let i = y(r, u, e), c = a(i);
|
|
82
|
-
n.set(c, t[e] = w(c, i));
|
|
83
|
-
}
|
|
84
|
-
let s = r[3] < r[4] && z(r);
|
|
85
|
-
return {
|
|
86
|
-
c() {
|
|
87
|
-
for (let e = 0; e < t.length; e += 1)
|
|
88
|
-
t[e].c();
|
|
89
|
-
o = Y(), s && s.c(), l = q();
|
|
90
|
-
},
|
|
91
|
-
m(e, i) {
|
|
92
|
-
for (let c = 0; c < t.length; c += 1)
|
|
93
|
-
t[c].m(e, i);
|
|
94
|
-
g(e, o, i), s && s.m(e, i), g(e, l, i), f = !0;
|
|
95
|
-
},
|
|
96
|
-
p(e, [i]) {
|
|
97
|
-
i & 167 && (u = e[1], b(), t = A(t, i, a, 1, e, u, n, o.parentNode, B, w, o, y), k()), e[3] < e[4] ? s ? (s.p(e, i), i & 24 && _(s, 1)) : (s = z(e), s.c(), _(s, 1), s.m(l.parentNode, l)) : s && (b(), d(s, 1, 1, () => {
|
|
98
|
-
s = null;
|
|
99
|
-
}), k());
|
|
100
|
-
},
|
|
101
|
-
i(e) {
|
|
102
|
-
if (!f) {
|
|
103
|
-
for (let i = 0; i < u.length; i += 1)
|
|
104
|
-
_(t[i]);
|
|
105
|
-
_(s), f = !0;
|
|
106
|
-
}
|
|
107
|
-
},
|
|
108
|
-
o(e) {
|
|
109
|
-
for (let i = 0; i < t.length; i += 1)
|
|
110
|
-
d(t[i]);
|
|
111
|
-
d(s), f = !1;
|
|
112
|
-
},
|
|
113
|
-
d(e) {
|
|
114
|
-
for (let i = 0; i < t.length; i += 1)
|
|
115
|
-
t[i].d(e);
|
|
116
|
-
e && p(o), s && s.d(e), e && p(l);
|
|
117
|
-
}
|
|
118
|
-
};
|
|
119
|
-
}
|
|
120
|
-
function O(r, t, n) {
|
|
121
|
-
let o, l, f, { visible: u = !1 } = t, { textUnfolded: a = !1 } = t, { textItems: s } = t, e, i = 0, c = 0, h = 0;
|
|
122
|
-
function N(m) {
|
|
123
|
-
L[m ? "unshift" : "push"](() => {
|
|
124
|
-
e = m, n(2, e);
|
|
125
|
-
});
|
|
126
|
-
}
|
|
127
|
-
return r.$$set = (m) => {
|
|
128
|
-
"visible" in m && n(0, u = m.visible), "textUnfolded" in m && n(8, a = m.textUnfolded), "textItems" in m && n(1, s = m.textItems);
|
|
129
|
-
}, r.$$.update = () => {
|
|
130
|
-
if (r.$$.dirty & 5 && e && u) {
|
|
131
|
-
const { lineHeight: m } = getComputedStyle(e);
|
|
132
|
-
n(4, h = e.offsetHeight), G(() => e == null ? void 0 : e.offsetHeight, Boolean).then(() => {
|
|
133
|
-
n(4, h = e.offsetHeight);
|
|
134
|
-
}), n(3, c = Number(m.replace("px", "")));
|
|
135
|
-
}
|
|
136
|
-
r.$$.dirty & 280 && n(9, i = a ? c - h : 0), r.$$.dirty & 512 && n(7, o = `translateY(${i}px)`), r.$$.dirty & 256 && n(6, l = a ? "left" : "right"), r.$$.dirty & 256 && n(5, f = a ? 450 : 0);
|
|
137
|
-
}, [
|
|
138
|
-
u,
|
|
139
|
-
s,
|
|
140
|
-
e,
|
|
141
|
-
c,
|
|
142
|
-
h,
|
|
143
|
-
f,
|
|
144
|
-
l,
|
|
145
|
-
o,
|
|
146
|
-
a,
|
|
147
|
-
i,
|
|
148
|
-
N
|
|
149
|
-
];
|
|
150
|
-
}
|
|
151
|
-
class W extends S {
|
|
152
|
-
constructor(t) {
|
|
153
|
-
super(), T(
|
|
154
|
-
this,
|
|
155
|
-
t,
|
|
156
|
-
O,
|
|
157
|
-
K,
|
|
158
|
-
C,
|
|
159
|
-
{
|
|
160
|
-
visible: 0,
|
|
161
|
-
textUnfolded: 8,
|
|
162
|
-
textItems: 1
|
|
163
|
-
},
|
|
164
|
-
J
|
|
165
|
-
);
|
|
166
|
-
}
|
|
167
|
-
}
|
|
168
|
-
export {
|
|
169
|
-
W as default
|
|
170
|
-
};
|
|
1
|
+
"use strict";const e=require("svelte/internal"),y=require("./Text.js"),k=require("./Arrow.js"),v=require("../../utils/doUtil.js");function w(s){e.append_styles(s,"svelte-1fuzm7v",".text.svelte-1fuzm7v{pointer-events:auto;box-sizing:border-box;display:inline-block;max-width:7.5rem;transition:transform 400ms ease-in-out;font-size:0.75rem;line-height:1.125rem;white-space:initial;cursor:pointer}.arrow.svelte-1fuzm7v{pointer-events:auto;display:inline-block;vertical-align:top;width:0.875rem;height:0.875rem;margin-left:0.125rem;margin-top:0.125rem}")}function g(s,n,i){const r=s.slice();return r[11]=n[i].id,r[12]=n[i].content,r}function h(s,n){let i,r,l;return r=new y.Text({props:{unfolded:n[0],content:n[12],inDelay:500,outDelay:n[5]}}),{key:s,first:null,c(){i=e.element("div"),e.create_component(r.$$.fragment),e.attr(i,"class","text svelte-1fuzm7v"),e.set_style(i,"transform",n[7],!1),this.first=i},m(f,a){e.insert(f,i,a),e.mount_component(r,i,null),n[10](i),l=!0},p(f,a){n=f;const c={};a&1&&(c.unfolded=n[0]),a&2&&(c.content=n[12]),a&32&&(c.outDelay=n[5]),r.$set(c),a&128&&e.set_style(i,"transform",n[7],!1)},i(f){l||(e.transition_in(r.$$.fragment,f),l=!0)},o(f){e.transition_out(r.$$.fragment,f),l=!1},d(f){f&&e.detach(i),e.destroy_component(r),n[10](null)}}}function p(s){let n,i,r;return i=new k.Arrow({props:{direction:s[6],visible:s[0],inDelay:600,duration:1e3}}),{c(){n=e.element("div"),e.create_component(i.$$.fragment),e.attr(n,"class","arrow svelte-1fuzm7v")},m(l,f){e.insert(l,n,f),e.mount_component(i,n,null),r=!0},p(l,f){const a={};f&64&&(a.direction=l[6]),f&1&&(a.visible=l[0]),i.$set(a)},i(l){r||(e.transition_in(i.$$.fragment,l),r=!0)},o(l){e.transition_out(i.$$.fragment,l),r=!1},d(l){l&&e.detach(n),e.destroy_component(i)}}}function T(s){let n=[],i=new Map,r,l,f,a=s[1];const c=t=>t[11];for(let t=0;t<a.length;t+=1){let o=g(s,a,t),m=c(o);i.set(m,n[t]=h(m,o))}let u=s[3]<s[4]&&p(s);return{c(){for(let t=0;t<n.length;t+=1)n[t].c();r=e.space(),u&&u.c(),l=e.empty()},m(t,o){for(let m=0;m<n.length;m+=1)n[m].m(t,o);e.insert(t,r,o),u&&u.m(t,o),e.insert(t,l,o),f=!0},p(t,[o]){o&167&&(a=t[1],e.group_outros(),n=e.update_keyed_each(n,o,c,1,t,a,i,r.parentNode,e.outro_and_destroy_block,h,r,g),e.check_outros()),t[3]<t[4]?u?(u.p(t,o),o&24&&e.transition_in(u,1)):(u=p(t),u.c(),e.transition_in(u,1),u.m(l.parentNode,l)):u&&(e.group_outros(),e.transition_out(u,1,1,()=>{u=null}),e.check_outros())},i(t){if(!f){for(let o=0;o<a.length;o+=1)e.transition_in(n[o]);e.transition_in(u),f=!0}},o(t){for(let o=0;o<n.length;o+=1)e.transition_out(n[o]);e.transition_out(u),f=!1},d(t){for(let o=0;o<n.length;o+=1)n[o].d(t);t&&e.detach(r),u&&u.d(t),t&&e.detach(l)}}}function z(s,n,i){let r,l,f,{visible:a=!1}=n,{textUnfolded:c=!1}=n,{textItems:u}=n,t,o=0,m=0,d=0;function b(_){e.binding_callbacks[_?"unshift":"push"](()=>{t=_,i(2,t)})}return s.$$set=_=>{"visible"in _&&i(0,a=_.visible),"textUnfolded"in _&&i(8,c=_.textUnfolded),"textItems"in _&&i(1,u=_.textItems)},s.$$.update=()=>{if(s.$$.dirty&5&&t&&a){const{lineHeight:_}=getComputedStyle(t);i(4,d=t.offsetHeight),v.doUtil(()=>t==null?void 0:t.offsetHeight,Boolean).then(()=>{i(4,d=t.offsetHeight)}),i(3,m=Number(_.replace("px","")))}s.$$.dirty&280&&i(9,o=c?m-d:0),s.$$.dirty&512&&i(7,r=`translateY(${o}px)`),s.$$.dirty&256&&i(6,l=c?"left":"right"),s.$$.dirty&256&&i(5,f=c?450:0)},[a,u,t,m,d,f,l,r,c,o,b]}class H extends e.SvelteComponent{constructor(n){super(),e.init(this,n,z,T,e.safe_not_equal,{visible:0,textUnfolded:8,textItems:1},w)}}exports.MultiLineText=H;
|
|
@@ -1,51 +1 @@
|
|
|
1
|
-
|
|
2
|
-
import "svelte/easing";
|
|
3
|
-
import B from "../Shadow.js";
|
|
4
|
-
function I(t) {
|
|
5
|
-
h(t, "svelte-fuismw", ".point.svelte-fuismw.svelte-fuismw{pointer-events:none;width:1.5rem;height:1.5rem}.small-point.svelte-fuismw.svelte-fuismw,.big-point.svelte-fuismw.svelte-fuismw{position:absolute;width:100%;height:100%;display:flex;align-items:center;justify-content:center;border-radius:50%;transition:all 500ms}.big-point.svelte-fuismw.svelte-fuismw{background-color:rgba(0, 0, 0, 0.1)}.folded.point.svelte-fuismw.svelte-fuismw{animation:svelte-fuismw-breathing 2s linear infinite}.big-point.svelte-fuismw.svelte-fuismw::before,.big-point.svelte-fuismw.svelte-fuismw::after{content:'';display:block;position:absolute;background-size:contain;background-repeat:no-repeat;pointer-events:none}.big-point.svelte-fuismw.svelte-fuismw::before{width:100%;height:100%;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEgAAABICAMAAABiM0N1AAAAqFBMVEUAAAD///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////8j1z1tAAAAOHRSTlMABgoNFBsYIhEmHyksMoJ6RZ5aXzpnU03AtqaZjLuGN+zcifnW0cjEqnA+lOZzbWLhkH6i8rGuagnOwPMAAAQOSURBVFjDrZiHctpAEIYXYzvGOvXeUe+IYuD93ywrJAIhFJX8M8zoBHzz757utHvwTETJHJPfGQZfWJXILWCMPuqNbuu6vj+khrHjed40TWvFfQ2jvCl8nGha6lQCl7s07UqcUlfOZrOxVtKsN2a+0uJYK+ScEIqiFifhBSGSsnJ8f8u99cLMVnEUHTKXIOMX6vuk5gpphFYyhmHzHpzcDqNUJGgEER+oz5OaK8ShNcIdt+zx1ys7lhdqiDlRkPF+JaSdWIhasaz6lLPQ1qFDIwYpDeTr62veCS8bGLIQRSsVK78/5nDeOlYIYhovHeOtU0dDXw2KSGiKesQRyjJ10Q66QcyZMTvpTEMUumpMieyWvs9ZLZcmodAOYlorsysBflpjiEJTFBEY5+7sicul34T1iak5U25momN9Ya4wPCT57r8cteW0dk4YuKMTqjXVkgjciFr+8B3ngnmM6kii5X/efB0F+jUHnuiatLJY+Et84EnUNacfiaKZjQhX4oJAwPlqOB3mJaoh4dxxG5Nc3Q8DkywunP6kBalN53J7G3g0JqiNC3qpjQ7TRPvmn2U3L3/kU4JaTn/SKU0qb76dDf0kGNjHJbD+wX1gcMxO6fZVrzXUcQaROkvt3+pljIYugQ0LDi1ZBgeN9JK9MjTCkmgwgPou19I5QzBI5yy5RvqOw6xMMbKzoeGWmnQfBBwa6woj6wyNsYSx7R0chWuOwsjOqR6aboyNyvcpgOsl3ZzNhoNm3bztdAK1x5NuzmCwunkjjq4AEzKXFI1NUmVnwIfydJBoW7CPVAR1uR6XbVwlmgF2xF1yPTbbubYHLZamgyTNhiSmp4PoJIEk+R+gOAFb+x+hxRoctHw6iItsMLT/Mf3RHixbnP5AyhEPmZ1NB+E6A0V3pi9aPqyB6Pz0bSTxXID0kE/d2DgvxBFzEKdutdXawJGSMlM3/3Sd4fA93bnTXkfSuvwGFGOI016QbKm3VdbOn/bKjpd1e6Pg1SlFhPzjdXWNwjNTyprkhz33i4Wpji600FA5h05q4Ywv/bxge7mNRe7YYtQMwqt/kMLixpXHQhBwcCXBYukxBbvkBTv4S5V/HNNC6EF089tPxxGHNzV8sKTgRhSzVYa2Wf5yeadHphlWGdb4IUeEO5K2SHrUiqJuW9GiLFdwVzRbCXTf5tg11mvhYdufZbLUr11XEi/k4KHexUxWSY8DBCby7AU8E3eUhfzVkYZgR6H/agF8C3KNqCeHLIIRR7oEr0XXsixy9P1jH/doJLF2nPXbIlw5y1aC6t4eROW1pduaLs/7b6NEqFiWrWpBzaXuaOy4Nfe6bRfqGwzSXBJZhnF8y9oUhcnzOyM9pI7wCWP0LSkyy1iFWWwsFp8LeKLfd4doRyTLRacAAAAASUVORK5CYII=)}.folded.svelte-fuismw .big-point.svelte-fuismw::before{animation:svelte-fuismw-rotate 2s linear infinite}.big-point.svelte-fuismw.svelte-fuismw::after{position:absolute;width:1rem;height:1rem;background-image:var(--iconUrl)}.small-point.svelte-fuismw.svelte-fuismw::before{content:'';display:block;position:absolute;pointer-events:none;width:0.25rem;height:0.25rem;border-radius:100%;background-color:white}.folded.svelte-fuismw .big-point.svelte-fuismw{opacity:1;scale:1}.unfolded.svelte-fuismw .big-point.svelte-fuismw{opacity:0;scale:0}.folded.svelte-fuismw .small-point.svelte-fuismw{opacity:0;scale:6}.unfolded.svelte-fuismw .small-point.svelte-fuismw{opacity:1;scale:1}@keyframes svelte-fuismw-rotate{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}@keyframes svelte-fuismw-breathing{0%{transform:scale(1)}25%{transform:scale(0.9)}50%{transform:scale(1)}}");
|
|
6
|
-
}
|
|
7
|
-
function E(t) {
|
|
8
|
-
let e, n, u, o, r, l, s;
|
|
9
|
-
return n = new B({
|
|
10
|
-
props: {
|
|
11
|
-
center: !0,
|
|
12
|
-
blurRadius: 12,
|
|
13
|
-
spreadRadius: 5
|
|
14
|
-
}
|
|
15
|
-
}), {
|
|
16
|
-
c() {
|
|
17
|
-
e = w("div"), A(n.$$.fragment), u = v(), o = w("div"), r = v(), l = w("div"), c(o, "class", "small-point svelte-fuismw"), f(o, "transition-delay", t[3] ? t[2] + "ms" : "0ms", !1), c(l, "class", "big-point svelte-fuismw"), f(l, "--iconUrl", "url(" + t[1] + ")"), f(l, "transition-delay", t[3] ? t[2] + "ms" : "0ms", !1), c(e, "class", "point svelte-fuismw"), m(e, "folded", t[3]), m(e, "unfolded", t[0]);
|
|
18
|
-
},
|
|
19
|
-
m(i, a) {
|
|
20
|
-
y(i, e, a), k(n, e, null), d(e, u), d(e, o), d(e, r), d(e, l), s = !0;
|
|
21
|
-
},
|
|
22
|
-
p(i, [a]) {
|
|
23
|
-
a & 12 && f(o, "transition-delay", i[3] ? i[2] + "ms" : "0ms", !1), (!s || a & 2) && f(l, "--iconUrl", "url(" + i[1] + ")"), a & 12 && f(l, "transition-delay", i[3] ? i[2] + "ms" : "0ms", !1), a & 8 && m(e, "folded", i[3]), a & 1 && m(e, "unfolded", i[0]);
|
|
24
|
-
},
|
|
25
|
-
i(i) {
|
|
26
|
-
s || (U(n.$$.fragment, i), s = !0);
|
|
27
|
-
},
|
|
28
|
-
o(i) {
|
|
29
|
-
z(n.$$.fragment, i), s = !1;
|
|
30
|
-
},
|
|
31
|
-
d(i) {
|
|
32
|
-
i && N(e), R(n);
|
|
33
|
-
}
|
|
34
|
-
};
|
|
35
|
-
}
|
|
36
|
-
function F(t, e, n) {
|
|
37
|
-
let u, { unfolded: o } = e, { iconUrl: r } = e, { foldDelay: l = 800 } = e;
|
|
38
|
-
return t.$$set = (s) => {
|
|
39
|
-
"unfolded" in s && n(0, o = s.unfolded), "iconUrl" in s && n(1, r = s.iconUrl), "foldDelay" in s && n(2, l = s.foldDelay);
|
|
40
|
-
}, t.$$.update = () => {
|
|
41
|
-
t.$$.dirty & 1 && n(3, u = !o);
|
|
42
|
-
}, [o, r, l, u];
|
|
43
|
-
}
|
|
44
|
-
class j extends g {
|
|
45
|
-
constructor(e) {
|
|
46
|
-
super(), p(this, e, F, E, b, { unfolded: 0, iconUrl: 1, foldDelay: 2 }, I);
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
export {
|
|
50
|
-
j as default
|
|
51
|
-
};
|
|
1
|
+
"use strict";const e=require("svelte/internal");require("svelte/easing");const m=require("../Shadow.js");function d(i){e.append_styles(i,"svelte-fuismw",".point.svelte-fuismw.svelte-fuismw{pointer-events:none;width:1.5rem;height:1.5rem}.small-point.svelte-fuismw.svelte-fuismw,.big-point.svelte-fuismw.svelte-fuismw{position:absolute;width:100%;height:100%;display:flex;align-items:center;justify-content:center;border-radius:50%;transition:all 500ms}.big-point.svelte-fuismw.svelte-fuismw{background-color:rgba(0, 0, 0, 0.1)}.folded.point.svelte-fuismw.svelte-fuismw{animation:svelte-fuismw-breathing 2s linear infinite}.big-point.svelte-fuismw.svelte-fuismw::before,.big-point.svelte-fuismw.svelte-fuismw::after{content:'';display:block;position:absolute;background-size:contain;background-repeat:no-repeat;pointer-events:none}.big-point.svelte-fuismw.svelte-fuismw::before{width:100%;height:100%;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEgAAABICAMAAABiM0N1AAAAqFBMVEUAAAD///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////8j1z1tAAAAOHRSTlMABgoNFBsYIhEmHyksMoJ6RZ5aXzpnU03AtqaZjLuGN+zcifnW0cjEqnA+lOZzbWLhkH6i8rGuagnOwPMAAAQOSURBVFjDrZiHctpAEIYXYzvGOvXeUe+IYuD93ywrJAIhFJX8M8zoBHzz757utHvwTETJHJPfGQZfWJXILWCMPuqNbuu6vj+khrHjed40TWvFfQ2jvCl8nGha6lQCl7s07UqcUlfOZrOxVtKsN2a+0uJYK+ScEIqiFifhBSGSsnJ8f8u99cLMVnEUHTKXIOMX6vuk5gpphFYyhmHzHpzcDqNUJGgEER+oz5OaK8ShNcIdt+zx1ys7lhdqiDlRkPF+JaSdWIhasaz6lLPQ1qFDIwYpDeTr62veCS8bGLIQRSsVK78/5nDeOlYIYhovHeOtU0dDXw2KSGiKesQRyjJ10Q66QcyZMTvpTEMUumpMieyWvs9ZLZcmodAOYlorsysBflpjiEJTFBEY5+7sicul34T1iak5U25momN9Ya4wPCT57r8cteW0dk4YuKMTqjXVkgjciFr+8B3ngnmM6kii5X/efB0F+jUHnuiatLJY+Et84EnUNacfiaKZjQhX4oJAwPlqOB3mJaoh4dxxG5Nc3Q8DkywunP6kBalN53J7G3g0JqiNC3qpjQ7TRPvmn2U3L3/kU4JaTn/SKU0qb76dDf0kGNjHJbD+wX1gcMxO6fZVrzXUcQaROkvt3+pljIYugQ0LDi1ZBgeN9JK9MjTCkmgwgPou19I5QzBI5yy5RvqOw6xMMbKzoeGWmnQfBBwa6woj6wyNsYSx7R0chWuOwsjOqR6aboyNyvcpgOsl3ZzNhoNm3bztdAK1x5NuzmCwunkjjq4AEzKXFI1NUmVnwIfydJBoW7CPVAR1uR6XbVwlmgF2xF1yPTbbubYHLZamgyTNhiSmp4PoJIEk+R+gOAFb+x+hxRoctHw6iItsMLT/Mf3RHixbnP5AyhEPmZ1NB+E6A0V3pi9aPqyB6Pz0bSTxXID0kE/d2DgvxBFzEKdutdXawJGSMlM3/3Sd4fA93bnTXkfSuvwGFGOI016QbKm3VdbOn/bKjpd1e6Pg1SlFhPzjdXWNwjNTyprkhz33i4Wpji600FA5h05q4Ywv/bxge7mNRe7YYtQMwqt/kMLixpXHQhBwcCXBYukxBbvkBTv4S5V/HNNC6EF089tPxxGHNzV8sKTgRhSzVYa2Wf5yeadHphlWGdb4IUeEO5K2SHrUiqJuW9GiLFdwVzRbCXTf5tg11mvhYdufZbLUr11XEi/k4KHexUxWSY8DBCby7AU8E3eUhfzVkYZgR6H/agF8C3KNqCeHLIIRR7oEr0XXsixy9P1jH/doJLF2nPXbIlw5y1aC6t4eROW1pduaLs/7b6NEqFiWrWpBzaXuaOy4Nfe6bRfqGwzSXBJZhnF8y9oUhcnzOyM9pI7wCWP0LSkyy1iFWWwsFp8LeKLfd4doRyTLRacAAAAASUVORK5CYII=)}.folded.svelte-fuismw .big-point.svelte-fuismw::before{animation:svelte-fuismw-rotate 2s linear infinite}.big-point.svelte-fuismw.svelte-fuismw::after{position:absolute;width:1rem;height:1rem;background-image:var(--iconUrl)}.small-point.svelte-fuismw.svelte-fuismw::before{content:'';display:block;position:absolute;pointer-events:none;width:0.25rem;height:0.25rem;border-radius:100%;background-color:white}.folded.svelte-fuismw .big-point.svelte-fuismw{opacity:1;scale:1}.unfolded.svelte-fuismw .big-point.svelte-fuismw{opacity:0;scale:0}.folded.svelte-fuismw .small-point.svelte-fuismw{opacity:0;scale:6}.unfolded.svelte-fuismw .small-point.svelte-fuismw{opacity:1;scale:1}@keyframes svelte-fuismw-rotate{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}@keyframes svelte-fuismw-breathing{0%{transform:scale(1)}25%{transform:scale(0.9)}50%{transform:scale(1)}}")}function w(i){let t,l,u,a,r,o,n;return l=new m.Shadow({props:{center:!0,blurRadius:12,spreadRadius:5}}),{c(){t=e.element("div"),e.create_component(l.$$.fragment),u=e.space(),a=e.element("div"),r=e.space(),o=e.element("div"),e.attr(a,"class","small-point svelte-fuismw"),e.set_style(a,"transition-delay",i[3]?i[2]+"ms":"0ms",!1),e.attr(o,"class","big-point svelte-fuismw"),e.set_style(o,"--iconUrl","url("+i[1]+")"),e.set_style(o,"transition-delay",i[3]?i[2]+"ms":"0ms",!1),e.attr(t,"class","point svelte-fuismw"),e.toggle_class(t,"folded",i[3]),e.toggle_class(t,"unfolded",i[0])},m(s,f){e.insert(s,t,f),e.mount_component(l,t,null),e.append(t,u),e.append(t,a),e.append(t,r),e.append(t,o),n=!0},p(s,[f]){f&12&&e.set_style(a,"transition-delay",s[3]?s[2]+"ms":"0ms",!1),(!n||f&2)&&e.set_style(o,"--iconUrl","url("+s[1]+")"),f&12&&e.set_style(o,"transition-delay",s[3]?s[2]+"ms":"0ms",!1),f&8&&e.toggle_class(t,"folded",s[3]),f&1&&e.toggle_class(t,"unfolded",s[0])},i(s){n||(e.transition_in(l.$$.fragment,s),n=!0)},o(s){e.transition_out(l.$$.fragment,s),n=!1},d(s){s&&e.detach(t),e.destroy_component(l)}}}function c(i,t,l){let u,{unfolded:a}=t,{iconUrl:r}=t,{foldDelay:o=800}=t;return i.$$set=n=>{"unfolded"in n&&l(0,a=n.unfolded),"iconUrl"in n&&l(1,r=n.iconUrl),"foldDelay"in n&&l(2,o=n.foldDelay)},i.$$.update=()=>{i.$$.dirty&1&&l(3,u=!a)},[a,r,o,u]}class g extends e.SvelteComponent{constructor(t){super(),e.init(this,t,c,w,e.safe_not_equal,{unfolded:0,iconUrl:1,foldDelay:2},d)}}exports.CustomPoint=g;
|
|
@@ -1,51 +1 @@
|
|
|
1
|
-
|
|
2
|
-
import "svelte/easing";
|
|
3
|
-
import B from "../Shadow.js";
|
|
4
|
-
function I(n) {
|
|
5
|
-
j(n, "svelte-jzvcn0", ".point.svelte-jzvcn0.svelte-jzvcn0{pointer-events:none;width:1rem;height:1rem}.small-point.svelte-jzvcn0.svelte-jzvcn0,.big-point.svelte-jzvcn0.svelte-jzvcn0{position:absolute;width:100%;height:100%;display:flex;align-items:center;justify-content:center;border-radius:50%;transition:all 500ms}.big-point.svelte-jzvcn0.svelte-jzvcn0::before,.big-point.svelte-jzvcn0.svelte-jzvcn0::after{content:'';display:block;position:absolute;background-size:contain;background-repeat:no-repeat;pointer-events:none}.big-point.svelte-jzvcn0.svelte-jzvcn0::before{width:100%;height:100%;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEgAAABICAMAAABiM0N1AAAAqFBMVEUAAAD///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////8j1z1tAAAAOHRSTlMABgoNFBsYIhEmHyksMoJ6RZ5aXzpnU03AtqaZjLuGN+zcifnW0cjEqnA+lOZzbWLhkH6i8rGuagnOwPMAAAQOSURBVFjDrZiHctpAEIYXYzvGOvXeUe+IYuD93ywrJAIhFJX8M8zoBHzz757utHvwTETJHJPfGQZfWJXILWCMPuqNbuu6vj+khrHjed40TWvFfQ2jvCl8nGha6lQCl7s07UqcUlfOZrOxVtKsN2a+0uJYK+ScEIqiFifhBSGSsnJ8f8u99cLMVnEUHTKXIOMX6vuk5gpphFYyhmHzHpzcDqNUJGgEER+oz5OaK8ShNcIdt+zx1ys7lhdqiDlRkPF+JaSdWIhasaz6lLPQ1qFDIwYpDeTr62veCS8bGLIQRSsVK78/5nDeOlYIYhovHeOtU0dDXw2KSGiKesQRyjJ10Q66QcyZMTvpTEMUumpMieyWvs9ZLZcmodAOYlorsysBflpjiEJTFBEY5+7sicul34T1iak5U25momN9Ya4wPCT57r8cteW0dk4YuKMTqjXVkgjciFr+8B3ngnmM6kii5X/efB0F+jUHnuiatLJY+Et84EnUNacfiaKZjQhX4oJAwPlqOB3mJaoh4dxxG5Nc3Q8DkywunP6kBalN53J7G3g0JqiNC3qpjQ7TRPvmn2U3L3/kU4JaTn/SKU0qb76dDf0kGNjHJbD+wX1gcMxO6fZVrzXUcQaROkvt3+pljIYugQ0LDi1ZBgeN9JK9MjTCkmgwgPou19I5QzBI5yy5RvqOw6xMMbKzoeGWmnQfBBwa6woj6wyNsYSx7R0chWuOwsjOqR6aboyNyvcpgOsl3ZzNhoNm3bztdAK1x5NuzmCwunkjjq4AEzKXFI1NUmVnwIfydJBoW7CPVAR1uR6XbVwlmgF2xF1yPTbbubYHLZamgyTNhiSmp4PoJIEk+R+gOAFb+x+hxRoctHw6iItsMLT/Mf3RHixbnP5AyhEPmZ1NB+E6A0V3pi9aPqyB6Pz0bSTxXID0kE/d2DgvxBFzEKdutdXawJGSMlM3/3Sd4fA93bnTXkfSuvwGFGOI016QbKm3VdbOn/bKjpd1e6Pg1SlFhPzjdXWNwjNTyprkhz33i4Wpji600FA5h05q4Ywv/bxge7mNRe7YYtQMwqt/kMLixpXHQhBwcCXBYukxBbvkBTv4S5V/HNNC6EF089tPxxGHNzV8sKTgRhSzVYa2Wf5yeadHphlWGdb4IUeEO5K2SHrUiqJuW9GiLFdwVzRbCXTf5tg11mvhYdufZbLUr11XEi/k4KHexUxWSY8DBCby7AU8E3eUhfzVkYZgR6H/agF8C3KNqCeHLIIRR7oEr0XXsixy9P1jH/doJLF2nPXbIlw5y1aC6t4eROW1pduaLs/7b6NEqFiWrWpBzaXuaOy4Nfe6bRfqGwzSXBJZhnF8y9oUhcnzOyM9pI7wCWP0LSkyy1iFWWwsFp8LeKLfd4doRyTLRacAAAAASUVORK5CYII=);background-size:contain;background-repeat:no-repeat}.small-point.svelte-jzvcn0.svelte-jzvcn0::before{content:'';display:block;position:absolute;pointer-events:none;width:0.375rem;height:0.375rem;border-radius:100%;background-color:white}.unfolded.svelte-jzvcn0 .big-point.svelte-jzvcn0{opacity:0;transform:scale(0)}.folded.svelte-jzvcn0 .big-point.svelte-jzvcn0{opacity:1;transform:scale(1)}.unfolded.svelte-jzvcn0 .small-point.svelte-jzvcn0{transform:scale(0.6)}.folded.svelte-jzvcn0 .small-point.svelte-jzvcn0{transform:scale(1)}");
|
|
6
|
-
}
|
|
7
|
-
function E(n) {
|
|
8
|
-
let e, i, a, l, d, o, r;
|
|
9
|
-
return i = new B({
|
|
10
|
-
props: {
|
|
11
|
-
center: !0,
|
|
12
|
-
blurRadius: 12,
|
|
13
|
-
spreadRadius: 5
|
|
14
|
-
}
|
|
15
|
-
}), {
|
|
16
|
-
c() {
|
|
17
|
-
e = u("div"), A(i.$$.fragment), a = m(), l = u("div"), d = m(), o = u("div"), p(l, "class", "small-point svelte-jzvcn0"), c(l, "transition-delay", n[2] ? n[1] + "ms" : "0ms", !1), p(o, "class", "big-point svelte-jzvcn0"), c(o, "transition-delay", n[2] ? n[1] + "ms" : "0ms", !1), p(e, "class", "point svelte-jzvcn0"), v(e, "unfolded", n[0]), v(e, "folded", n[2]);
|
|
18
|
-
},
|
|
19
|
-
m(t, s) {
|
|
20
|
-
h(t, e, s), y(i, e, null), f(e, a), f(e, l), f(e, d), f(e, o), r = !0;
|
|
21
|
-
},
|
|
22
|
-
p(t, [s]) {
|
|
23
|
-
s & 6 && c(l, "transition-delay", t[2] ? t[1] + "ms" : "0ms", !1), s & 6 && c(o, "transition-delay", t[2] ? t[1] + "ms" : "0ms", !1), s & 1 && v(e, "unfolded", t[0]), s & 4 && v(e, "folded", t[2]);
|
|
24
|
-
},
|
|
25
|
-
i(t) {
|
|
26
|
-
r || (w(i.$$.fragment, t), r = !0);
|
|
27
|
-
},
|
|
28
|
-
o(t) {
|
|
29
|
-
k(i.$$.fragment, t), r = !1;
|
|
30
|
-
},
|
|
31
|
-
d(t) {
|
|
32
|
-
t && N(e), R(i);
|
|
33
|
-
}
|
|
34
|
-
};
|
|
35
|
-
}
|
|
36
|
-
function F(n, e, i) {
|
|
37
|
-
let a, { unfolded: l } = e, { foldDelay: d = 800 } = e;
|
|
38
|
-
return n.$$set = (o) => {
|
|
39
|
-
"unfolded" in o && i(0, l = o.unfolded), "foldDelay" in o && i(1, d = o.foldDelay);
|
|
40
|
-
}, n.$$.update = () => {
|
|
41
|
-
n.$$.dirty & 1 && i(2, a = !l);
|
|
42
|
-
}, [l, d, a];
|
|
43
|
-
}
|
|
44
|
-
class X extends z {
|
|
45
|
-
constructor(e) {
|
|
46
|
-
super(), b(this, e, F, E, g, { unfolded: 0, foldDelay: 1 }, I);
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
export {
|
|
50
|
-
X as default
|
|
51
|
-
};
|
|
1
|
+
"use strict";const e=require("svelte/internal");require("svelte/easing");const v=require("../Shadow.js");function u(s){e.append_styles(s,"svelte-jzvcn0",".point.svelte-jzvcn0.svelte-jzvcn0{pointer-events:none;width:1rem;height:1rem}.small-point.svelte-jzvcn0.svelte-jzvcn0,.big-point.svelte-jzvcn0.svelte-jzvcn0{position:absolute;width:100%;height:100%;display:flex;align-items:center;justify-content:center;border-radius:50%;transition:all 500ms}.big-point.svelte-jzvcn0.svelte-jzvcn0::before,.big-point.svelte-jzvcn0.svelte-jzvcn0::after{content:'';display:block;position:absolute;background-size:contain;background-repeat:no-repeat;pointer-events:none}.big-point.svelte-jzvcn0.svelte-jzvcn0::before{width:100%;height:100%;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEgAAABICAMAAABiM0N1AAAAqFBMVEUAAAD///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////8j1z1tAAAAOHRSTlMABgoNFBsYIhEmHyksMoJ6RZ5aXzpnU03AtqaZjLuGN+zcifnW0cjEqnA+lOZzbWLhkH6i8rGuagnOwPMAAAQOSURBVFjDrZiHctpAEIYXYzvGOvXeUe+IYuD93ywrJAIhFJX8M8zoBHzz757utHvwTETJHJPfGQZfWJXILWCMPuqNbuu6vj+khrHjed40TWvFfQ2jvCl8nGha6lQCl7s07UqcUlfOZrOxVtKsN2a+0uJYK+ScEIqiFifhBSGSsnJ8f8u99cLMVnEUHTKXIOMX6vuk5gpphFYyhmHzHpzcDqNUJGgEER+oz5OaK8ShNcIdt+zx1ys7lhdqiDlRkPF+JaSdWIhasaz6lLPQ1qFDIwYpDeTr62veCS8bGLIQRSsVK78/5nDeOlYIYhovHeOtU0dDXw2KSGiKesQRyjJ10Q66QcyZMTvpTEMUumpMieyWvs9ZLZcmodAOYlorsysBflpjiEJTFBEY5+7sicul34T1iak5U25momN9Ya4wPCT57r8cteW0dk4YuKMTqjXVkgjciFr+8B3ngnmM6kii5X/efB0F+jUHnuiatLJY+Et84EnUNacfiaKZjQhX4oJAwPlqOB3mJaoh4dxxG5Nc3Q8DkywunP6kBalN53J7G3g0JqiNC3qpjQ7TRPvmn2U3L3/kU4JaTn/SKU0qb76dDf0kGNjHJbD+wX1gcMxO6fZVrzXUcQaROkvt3+pljIYugQ0LDi1ZBgeN9JK9MjTCkmgwgPou19I5QzBI5yy5RvqOw6xMMbKzoeGWmnQfBBwa6woj6wyNsYSx7R0chWuOwsjOqR6aboyNyvcpgOsl3ZzNhoNm3bztdAK1x5NuzmCwunkjjq4AEzKXFI1NUmVnwIfydJBoW7CPVAR1uR6XbVwlmgF2xF1yPTbbubYHLZamgyTNhiSmp4PoJIEk+R+gOAFb+x+hxRoctHw6iItsMLT/Mf3RHixbnP5AyhEPmZ1NB+E6A0V3pi9aPqyB6Pz0bSTxXID0kE/d2DgvxBFzEKdutdXawJGSMlM3/3Sd4fA93bnTXkfSuvwGFGOI016QbKm3VdbOn/bKjpd1e6Pg1SlFhPzjdXWNwjNTyprkhz33i4Wpji600FA5h05q4Ywv/bxge7mNRe7YYtQMwqt/kMLixpXHQhBwcCXBYukxBbvkBTv4S5V/HNNC6EF089tPxxGHNzV8sKTgRhSzVYa2Wf5yeadHphlWGdb4IUeEO5K2SHrUiqJuW9GiLFdwVzRbCXTf5tg11mvhYdufZbLUr11XEi/k4KHexUxWSY8DBCby7AU8E3eUhfzVkYZgR6H/agF8C3KNqCeHLIIRR7oEr0XXsixy9P1jH/doJLF2nPXbIlw5y1aC6t4eROW1pduaLs/7b6NEqFiWrWpBzaXuaOy4Nfe6bRfqGwzSXBJZhnF8y9oUhcnzOyM9pI7wCWP0LSkyy1iFWWwsFp8LeKLfd4doRyTLRacAAAAASUVORK5CYII=);background-size:contain;background-repeat:no-repeat}.small-point.svelte-jzvcn0.svelte-jzvcn0::before{content:'';display:block;position:absolute;pointer-events:none;width:0.375rem;height:0.375rem;border-radius:100%;background-color:white}.unfolded.svelte-jzvcn0 .big-point.svelte-jzvcn0{opacity:0;transform:scale(0)}.folded.svelte-jzvcn0 .big-point.svelte-jzvcn0{opacity:1;transform:scale(1)}.unfolded.svelte-jzvcn0 .small-point.svelte-jzvcn0{transform:scale(0.6)}.folded.svelte-jzvcn0 .small-point.svelte-jzvcn0{transform:scale(1)}")}function f(s){let t,l,d,i,r,o,c;return l=new v.Shadow({props:{center:!0,blurRadius:12,spreadRadius:5}}),{c(){t=e.element("div"),e.create_component(l.$$.fragment),d=e.space(),i=e.element("div"),r=e.space(),o=e.element("div"),e.attr(i,"class","small-point svelte-jzvcn0"),e.set_style(i,"transition-delay",s[2]?s[1]+"ms":"0ms",!1),e.attr(o,"class","big-point svelte-jzvcn0"),e.set_style(o,"transition-delay",s[2]?s[1]+"ms":"0ms",!1),e.attr(t,"class","point svelte-jzvcn0"),e.toggle_class(t,"unfolded",s[0]),e.toggle_class(t,"folded",s[2])},m(n,a){e.insert(n,t,a),e.mount_component(l,t,null),e.append(t,d),e.append(t,i),e.append(t,r),e.append(t,o),c=!0},p(n,[a]){a&6&&e.set_style(i,"transition-delay",n[2]?n[1]+"ms":"0ms",!1),a&6&&e.set_style(o,"transition-delay",n[2]?n[1]+"ms":"0ms",!1),a&1&&e.toggle_class(t,"unfolded",n[0]),a&4&&e.toggle_class(t,"folded",n[2])},i(n){c||(e.transition_in(l.$$.fragment,n),c=!0)},o(n){e.transition_out(l.$$.fragment,n),c=!1},d(n){n&&e.detach(t),e.destroy_component(l)}}}function p(s,t,l){let d,{unfolded:i}=t,{foldDelay:r=800}=t;return s.$$set=o=>{"unfolded"in o&&l(0,i=o.unfolded),"foldDelay"in o&&l(1,r=o.foldDelay)},s.$$.update=()=>{s.$$.dirty&1&&l(2,d=!i)},[i,r,d]}class g extends e.SvelteComponent{constructor(t){super(),e.init(this,t,p,f,e.safe_not_equal,{unfolded:0,foldDelay:1},u)}}exports.DefaultPoint=g;
|
|
@@ -1,166 +1 @@
|
|
|
1
|
-
|
|
2
|
-
import { ContentType as k } from "../../../typings/tag.js";
|
|
3
|
-
import z from "./CustomPoint.js";
|
|
4
|
-
import A from "./DefaultPoint.js";
|
|
5
|
-
function B(o) {
|
|
6
|
-
L(o, "svelte-8en2lj", ".point-click-helper.svelte-8en2lj{position:absolute;width:2.5rem;height:2.5rem;left:50%;top:50%;transform:translate(-50%, -50%)}");
|
|
7
|
-
}
|
|
8
|
-
function T(o) {
|
|
9
|
-
let n, i, e = o[0].contentType !== k.Link && D(o);
|
|
10
|
-
return {
|
|
11
|
-
c() {
|
|
12
|
-
e && e.c(), n = b();
|
|
13
|
-
},
|
|
14
|
-
m(t, l) {
|
|
15
|
-
e && e.m(t, l), m(t, n, l), i = !0;
|
|
16
|
-
},
|
|
17
|
-
p(t, l) {
|
|
18
|
-
t[0].contentType !== k.Link ? e ? (e.p(t, l), l & 1 && c(e, 1)) : (e = D(t), e.c(), c(e, 1), e.m(n.parentNode, n)) : e && ($(), p(e, 1, 1, () => {
|
|
19
|
-
e = null;
|
|
20
|
-
}), g());
|
|
21
|
-
},
|
|
22
|
-
i(t) {
|
|
23
|
-
i || (c(e), i = !0);
|
|
24
|
-
},
|
|
25
|
-
o(t) {
|
|
26
|
-
p(e), i = !1;
|
|
27
|
-
},
|
|
28
|
-
d(t) {
|
|
29
|
-
e && e.d(t), t && y(n);
|
|
30
|
-
}
|
|
31
|
-
};
|
|
32
|
-
}
|
|
33
|
-
function D(o) {
|
|
34
|
-
let n, i, e, t, l, u;
|
|
35
|
-
const f = [F, E], s = [];
|
|
36
|
-
function _(r, a) {
|
|
37
|
-
var d, v, P, S;
|
|
38
|
-
return ((v = (d = r[0].style) == null ? void 0 : d.point) == null ? void 0 : v.style) === "CustomIcon" && ((S = (P = r[0].style) == null ? void 0 : P.point) == null ? void 0 : S.iconUrl) ? 0 : 1;
|
|
39
|
-
}
|
|
40
|
-
return e = _(o), t = s[e] = f[e](o), {
|
|
41
|
-
c() {
|
|
42
|
-
n = q("div"), i = I(), t.c(), l = b(), M(n, "class", "point-click-helper svelte-8en2lj");
|
|
43
|
-
},
|
|
44
|
-
m(r, a) {
|
|
45
|
-
m(r, n, a), m(r, i, a), s[e].m(r, a), m(r, l, a), u = !0;
|
|
46
|
-
},
|
|
47
|
-
p(r, a) {
|
|
48
|
-
let d = e;
|
|
49
|
-
e = _(r), e === d ? s[e].p(r, a) : ($(), p(s[d], 1, 1, () => {
|
|
50
|
-
s[d] = null;
|
|
51
|
-
}), g(), t = s[e], t ? t.p(r, a) : (t = s[e] = f[e](r), t.c()), c(t, 1), t.m(l.parentNode, l));
|
|
52
|
-
},
|
|
53
|
-
i(r) {
|
|
54
|
-
u || (c(t), u = !0);
|
|
55
|
-
},
|
|
56
|
-
o(r) {
|
|
57
|
-
p(t), u = !1;
|
|
58
|
-
},
|
|
59
|
-
d(r) {
|
|
60
|
-
r && y(n), r && y(i), s[e].d(r), r && y(l);
|
|
61
|
-
}
|
|
62
|
-
};
|
|
63
|
-
}
|
|
64
|
-
function E(o) {
|
|
65
|
-
let n, i;
|
|
66
|
-
return n = new A({
|
|
67
|
-
props: {
|
|
68
|
-
unfolded: o[0].state.unfolded,
|
|
69
|
-
foldDelay: o[1]
|
|
70
|
-
}
|
|
71
|
-
}), {
|
|
72
|
-
c() {
|
|
73
|
-
U(n.$$.fragment);
|
|
74
|
-
},
|
|
75
|
-
m(e, t) {
|
|
76
|
-
h(n, e, t), i = !0;
|
|
77
|
-
},
|
|
78
|
-
p(e, t) {
|
|
79
|
-
const l = {};
|
|
80
|
-
t & 1 && (l.unfolded = e[0].state.unfolded), t & 2 && (l.foldDelay = e[1]), n.$set(l);
|
|
81
|
-
},
|
|
82
|
-
i(e) {
|
|
83
|
-
i || (c(n.$$.fragment, e), i = !0);
|
|
84
|
-
},
|
|
85
|
-
o(e) {
|
|
86
|
-
p(n.$$.fragment, e), i = !1;
|
|
87
|
-
},
|
|
88
|
-
d(e) {
|
|
89
|
-
w(n, e);
|
|
90
|
-
}
|
|
91
|
-
};
|
|
92
|
-
}
|
|
93
|
-
function F(o) {
|
|
94
|
-
let n, i;
|
|
95
|
-
return n = new z({
|
|
96
|
-
props: {
|
|
97
|
-
iconUrl: o[0].style.point.iconUrl,
|
|
98
|
-
unfolded: o[0].state.unfolded,
|
|
99
|
-
foldDelay: o[1]
|
|
100
|
-
}
|
|
101
|
-
}), {
|
|
102
|
-
c() {
|
|
103
|
-
U(n.$$.fragment);
|
|
104
|
-
},
|
|
105
|
-
m(e, t) {
|
|
106
|
-
h(n, e, t), i = !0;
|
|
107
|
-
},
|
|
108
|
-
p(e, t) {
|
|
109
|
-
const l = {};
|
|
110
|
-
t & 1 && (l.iconUrl = e[0].style.point.iconUrl), t & 1 && (l.unfolded = e[0].state.unfolded), t & 2 && (l.foldDelay = e[1]), n.$set(l);
|
|
111
|
-
},
|
|
112
|
-
i(e) {
|
|
113
|
-
i || (c(n.$$.fragment, e), i = !0);
|
|
114
|
-
},
|
|
115
|
-
o(e) {
|
|
116
|
-
p(n.$$.fragment, e), i = !1;
|
|
117
|
-
},
|
|
118
|
-
d(e) {
|
|
119
|
-
w(n, e);
|
|
120
|
-
}
|
|
121
|
-
};
|
|
122
|
-
}
|
|
123
|
-
function G(o) {
|
|
124
|
-
var t, l, u;
|
|
125
|
-
let n, i, e = ((t = o[0].pointTagStyle) == null ? void 0 : t.leftPercent) && ((l = o[0].pointTagStyle) == null ? void 0 : l.topPercent) && o[0].enabled !== !1 && o[0].state && ((u = o[0].temporaryState) == null ? void 0 : u.visible) !== !1 && T(o);
|
|
126
|
-
return {
|
|
127
|
-
c() {
|
|
128
|
-
e && e.c(), n = b();
|
|
129
|
-
},
|
|
130
|
-
m(f, s) {
|
|
131
|
-
e && e.m(f, s), m(f, n, s), i = !0;
|
|
132
|
-
},
|
|
133
|
-
p(f, [s]) {
|
|
134
|
-
var _, r, a;
|
|
135
|
-
((_ = f[0].pointTagStyle) == null ? void 0 : _.leftPercent) && ((r = f[0].pointTagStyle) == null ? void 0 : r.topPercent) && f[0].enabled !== !1 && f[0].state && ((a = f[0].temporaryState) == null ? void 0 : a.visible) !== !1 ? e ? (e.p(f, s), s & 1 && c(e, 1)) : (e = T(f), e.c(), c(e, 1), e.m(n.parentNode, n)) : e && ($(), p(e, 1, 1, () => {
|
|
136
|
-
e = null;
|
|
137
|
-
}), g());
|
|
138
|
-
},
|
|
139
|
-
i(f) {
|
|
140
|
-
i || (c(e), i = !0);
|
|
141
|
-
},
|
|
142
|
-
o(f) {
|
|
143
|
-
p(e), i = !1;
|
|
144
|
-
},
|
|
145
|
-
d(f) {
|
|
146
|
-
e && e.d(f), f && y(n);
|
|
147
|
-
}
|
|
148
|
-
};
|
|
149
|
-
}
|
|
150
|
-
function H(o, n, i) {
|
|
151
|
-
let e, { tag: t } = n;
|
|
152
|
-
return o.$$set = (l) => {
|
|
153
|
-
"tag" in l && i(0, t = l.tag);
|
|
154
|
-
}, o.$$.update = () => {
|
|
155
|
-
var l, u;
|
|
156
|
-
o.$$.dirty & 1 && i(1, e = (u = (l = t.style) == null ? void 0 : l.foldedPointDelay) != null ? u : t.contentType === k.Marketing ? 600 : void 0);
|
|
157
|
-
}, [t, e];
|
|
158
|
-
}
|
|
159
|
-
class R extends C {
|
|
160
|
-
constructor(n) {
|
|
161
|
-
super(), j(this, n, H, G, N, { tag: 0 }, B);
|
|
162
|
-
}
|
|
163
|
-
}
|
|
164
|
-
export {
|
|
165
|
-
R as default
|
|
166
|
-
};
|
|
1
|
+
"use strict";const t=require("svelte/internal"),m=require("../../../typings/tag.js"),b=require("./CustomPoint.js"),T=require("./DefaultPoint.js");function C(l){t.append_styles(l,"svelte-8en2lj",".point-click-helper.svelte-8en2lj{position:absolute;width:2.5rem;height:2.5rem;left:50%;top:50%;transform:translate(-50%, -50%)}")}function g(l){let o,r,e=l[0].contentType!==m.ContentType.Link&&P(l);return{c(){e&&e.c(),o=t.empty()},m(n,i){e&&e.m(n,i),t.insert(n,o,i),r=!0},p(n,i){n[0].contentType!==m.ContentType.Link?e?(e.p(n,i),i&1&&t.transition_in(e,1)):(e=P(n),e.c(),t.transition_in(e,1),e.m(o.parentNode,o)):e&&(t.group_outros(),t.transition_out(e,1,1,()=>{e=null}),t.check_outros())},i(n){r||(t.transition_in(e),r=!0)},o(n){t.transition_out(e),r=!1},d(n){e&&e.d(n),n&&t.detach(o)}}}function P(l){let o,r,e,n,i,c;const a=[h,$],u=[];function p(s,f){var _,d,y,k;return((d=(_=s[0].style)==null?void 0:_.point)==null?void 0:d.style)==="CustomIcon"&&((k=(y=s[0].style)==null?void 0:y.point)==null?void 0:k.iconUrl)?0:1}return e=p(l),n=u[e]=a[e](l),{c(){o=t.element("div"),r=t.space(),n.c(),i=t.empty(),t.attr(o,"class","point-click-helper svelte-8en2lj")},m(s,f){t.insert(s,o,f),t.insert(s,r,f),u[e].m(s,f),t.insert(s,i,f),c=!0},p(s,f){let _=e;e=p(s),e===_?u[e].p(s,f):(t.group_outros(),t.transition_out(u[_],1,1,()=>{u[_]=null}),t.check_outros(),n=u[e],n?n.p(s,f):(n=u[e]=a[e](s),n.c()),t.transition_in(n,1),n.m(i.parentNode,i))},i(s){c||(t.transition_in(n),c=!0)},o(s){t.transition_out(n),c=!1},d(s){s&&t.detach(o),s&&t.detach(r),u[e].d(s),s&&t.detach(i)}}}function $(l){let o,r;return o=new T.DefaultPoint({props:{unfolded:l[0].state.unfolded,foldDelay:l[1]}}),{c(){t.create_component(o.$$.fragment)},m(e,n){t.mount_component(o,e,n),r=!0},p(e,n){const i={};n&1&&(i.unfolded=e[0].state.unfolded),n&2&&(i.foldDelay=e[1]),o.$set(i)},i(e){r||(t.transition_in(o.$$.fragment,e),r=!0)},o(e){t.transition_out(o.$$.fragment,e),r=!1},d(e){t.destroy_component(o,e)}}}function h(l){let o,r;return o=new b.CustomPoint({props:{iconUrl:l[0].style.point.iconUrl,unfolded:l[0].state.unfolded,foldDelay:l[1]}}),{c(){t.create_component(o.$$.fragment)},m(e,n){t.mount_component(o,e,n),r=!0},p(e,n){const i={};n&1&&(i.iconUrl=e[0].style.point.iconUrl),n&1&&(i.unfolded=e[0].state.unfolded),n&2&&(i.foldDelay=e[1]),o.$set(i)},i(e){r||(t.transition_in(o.$$.fragment,e),r=!0)},o(e){t.transition_out(o.$$.fragment,e),r=!1},d(e){t.destroy_component(o,e)}}}function v(l){var n,i,c;let o,r,e=((n=l[0].pointTagStyle)==null?void 0:n.leftPercent)&&((i=l[0].pointTagStyle)==null?void 0:i.topPercent)&&l[0].enabled!==!1&&l[0].state&&((c=l[0].temporaryState)==null?void 0:c.visible)!==!1&&g(l);return{c(){e&&e.c(),o=t.empty()},m(a,u){e&&e.m(a,u),t.insert(a,o,u),r=!0},p(a,[u]){var p,s,f;((p=a[0].pointTagStyle)==null?void 0:p.leftPercent)&&((s=a[0].pointTagStyle)==null?void 0:s.topPercent)&&a[0].enabled!==!1&&a[0].state&&((f=a[0].temporaryState)==null?void 0:f.visible)!==!1?e?(e.p(a,u),u&1&&t.transition_in(e,1)):(e=g(a),e.c(),t.transition_in(e,1),e.m(o.parentNode,o)):e&&(t.group_outros(),t.transition_out(e,1,1,()=>{e=null}),t.check_outros())},i(a){r||(t.transition_in(e),r=!0)},o(a){t.transition_out(e),r=!1},d(a){e&&e.d(a),a&&t.detach(o)}}}function D(l,o,r){let e,{tag:n}=o;return l.$$set=i=>{"tag"in i&&r(0,n=i.tag)},l.$$.update=()=>{var i,c;l.$$.dirty&1&&r(1,e=(c=(i=n.style)==null?void 0:i.foldedPointDelay)!=null?c:n.contentType===m.ContentType.Marketing?600:void 0)},[n,e]}class S extends t.SvelteComponent{constructor(o){super(),t.init(this,o,D,v,t.safe_not_equal,{tag:0},C)}}exports.PointSwitch=S;
|