@realsee/dnalogel 2.1.1 → 2.1.2-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -12
- package/components/index.js +242 -569
- package/dist/index.cjs.js +58 -73
- package/dist/index.es.js +7842 -12958
- package/dist/index.js +7842 -12958
- package/dist/index.umd.js +46 -61
- package/docs/assets/highlight.css +3 -3
- package/docs/assets/main.js +4 -2
- package/docs/assets/search.js +1 -1
- package/docs/assets/style.css +462 -619
- package/docs/classes/CruisePluginController.html +397 -23
- package/docs/classes/Magnifier.html +187 -9
- package/docs/classes/ModelRoomLabelController.html +149 -11
- package/docs/classes/Object3DHelperController.html +356 -0
- package/docs/classes/PaintBrush.html +260 -0
- package/docs/classes/PanoTagPluginController.html +940 -0
- package/docs/classes/Util.BetterTween.html +134 -0
- package/docs/classes/Util.FivePointSelector.html +144 -0
- package/docs/classes/Util.Interval.html +158 -0
- package/docs/classes/Util.Magnifier.html +196 -0
- package/docs/classes/Util.PointDomHelper.html +135 -0
- package/docs/classes/Util.PointHelper.html +127 -0
- package/docs/classes/Util.Rectangle.html +181 -0
- package/docs/enums/CameraMovementEffect.html +70 -3
- package/docs/enums/ContentType.html +116 -0
- package/docs/enums/DIRECTION.html +81 -1
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +81 -1
- package/docs/enums/DimensionType.html +67 -0
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +74 -1
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +81 -1
- package/docs/enums/LinkType.html +67 -0
- package/docs/enums/PaintBrushTypeEnum.html +74 -0
- package/docs/enums/PointType.html +67 -0
- package/docs/enums/Rotation.html +77 -3
- package/docs/functions/CSS3DRenderPlugin.html +233 -0
- package/docs/functions/CameraMovementPlugin.html +237 -0
- package/docs/functions/CruisePlugin.html +233 -0
- package/docs/functions/GuideLinePlugin.html +235 -0
- package/docs/functions/ItemLabelPlugin.html +235 -0
- package/docs/functions/MapviewFloorplanPlugin.html +235 -0
- package/docs/functions/ModelChassisCompassPlugin.html +237 -0
- package/docs/functions/ModelEntryDoorGuidePlugin.html +237 -0
- package/docs/functions/ModelFloorplanPlugin.html +235 -0
- package/docs/functions/ModelItemLabelPlugin.html +235 -0
- package/docs/functions/ModelRoomLabelPlugin.html +233 -0
- package/docs/functions/ModelTVVideoPlugin.html +235 -0
- package/docs/functions/ModelViewPlugin.html +237 -0
- package/docs/functions/Object3DHelperPlugin.html +233 -0
- package/docs/functions/PanoCompassPlugin.html +235 -0
- package/docs/functions/PanoCursorRaycasterPlugin.html +238 -0
- package/docs/functions/PanoDoorLabelPlugin.html +235 -0
- package/docs/functions/PanoFloorplanRadarPlugin.html +235 -0
- package/docs/functions/PanoMeasurePlugin.html +235 -0
- package/docs/functions/PanoRulerPlugin.html +237 -0
- package/docs/functions/PanoRulerProPlugin.html +237 -0
- package/docs/functions/PanoSpatialTagPlugin.html +237 -0
- package/docs/functions/PanoTagPlugin.html +249 -0
- package/docs/functions/TopviewFloorplanPlugin.html +235 -0
- package/docs/functions/Util.getCoordsFromClient.html +78 -0
- package/docs/functions/Util.getCoordsFromElement.html +78 -0
- package/docs/functions/Util.getFrameTime.html +70 -0
- package/docs/functions/Util.getIntersectFromRelativePosition.html +78 -0
- package/docs/functions/Util.getRaycasterFromFivePointer.html +78 -0
- package/docs/functions/Util.isNil.html +79 -0
- package/docs/functions/Util.nextFrame.html +73 -0
- package/docs/functions/Util.notNil.html +78 -0
- package/docs/functions/Util.requestAnimationFrameInterval.html +98 -0
- package/docs/functions/Util.tweenProgress.html +84 -0
- package/docs/functions/pluginFlag.html +233 -0
- package/docs/index.html +222 -9
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +205 -0
- package/docs/interfaces/CSS3DRenderPluginState.html +85 -0
- package/docs/interfaces/CameraMovementPluginExportType.html +111 -17
- package/docs/interfaces/ContentTypeMap.html +212 -0
- package/docs/interfaces/FloorplanBounding.html +89 -10
- package/docs/interfaces/FloorplanData.html +95 -3
- package/docs/interfaces/FloorplanEntrance.html +114 -15
- package/docs/interfaces/FloorplanExtraObject.html +108 -7
- package/docs/interfaces/FloorplanExtraObject3D.html +99 -3
- package/docs/interfaces/FloorplanFloorData.html +88 -3
- package/docs/interfaces/FloorplanImagePosition.html +74 -3
- package/docs/interfaces/FloorplanObserver.html +92 -5
- package/docs/interfaces/FloorplanOutlineItem.html +88 -3
- package/docs/interfaces/FloorplanPosition.html +74 -3
- package/docs/interfaces/FloorplanRoomItem.html +134 -17
- package/docs/interfaces/FloorplanRoomLabelItem.html +78 -7
- package/docs/interfaces/FloorplanServerBounding.html +89 -10
- package/docs/interfaces/FloorplanServerComputedData.html +92 -1
- package/docs/interfaces/FloorplanServerData.html +74 -3
- package/docs/interfaces/FloorplanServerDoorItem.html +92 -1
- package/docs/interfaces/FloorplanServerDoorPosition.html +78 -1
- package/docs/interfaces/FloorplanServerEntrance.html +114 -15
- package/docs/interfaces/FloorplanServerFloorData.html +88 -3
- package/docs/interfaces/FloorplanServerImagePosition.html +74 -3
- package/docs/interfaces/FloorplanServerObserver.html +92 -5
- package/docs/interfaces/FloorplanServerOutlineItem.html +88 -3
- package/docs/interfaces/FloorplanServerPosition.html +74 -3
- package/docs/interfaces/FloorplanServerRoomItem.html +145 -20
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +78 -7
- package/docs/interfaces/ItemLabelPluginData.html +64 -1
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +149 -1
- package/docs/interfaces/ItemLabelPluginParametersType.html +85 -1
- package/docs/interfaces/LineJson.html +71 -1
- package/docs/interfaces/ModelChassisCompassPluginData.html +71 -1
- package/docs/interfaces/ModelChassisCompassPluginExportType.html +107 -1
- package/docs/interfaces/ModelChassisCompassPluginParameterType.html +71 -1
- package/docs/interfaces/ModelEntryDoorGuidePluginData.html +78 -1
- package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +115 -1
- package/docs/interfaces/ModelItemLabelPluginData.html +64 -1
- package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +149 -1
- package/docs/interfaces/ModelItemLabelPluginParametersType.html +71 -1
- package/docs/interfaces/ModelRoomLabelPluginData.html +64 -1
- package/docs/interfaces/ModelTVVideoPluginData.html +85 -1
- package/docs/interfaces/ModelTVVideoPluginExportType.html +109 -1
- package/docs/interfaces/ModelTVVideoPluginParameterType.html +64 -1
- package/docs/interfaces/ModelViewPluginExportType.html +129 -1
- package/docs/interfaces/Object3DHelperState.html +78 -0
- package/docs/interfaces/OpenParameter.html +74 -3
- package/docs/interfaces/PaintBrushAction.html +118 -0
- package/docs/interfaces/PaintBrushConfigs.html +122 -0
- package/docs/interfaces/PaintBrushState.html +99 -0
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +186 -11
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +227 -1
- package/docs/interfaces/PanoMeasureParameterType.html +128 -5
- package/docs/interfaces/PanoRulerPluginExportType.html +138 -1
- package/docs/interfaces/PanoRulerPluginOptions.html +87 -1
- package/docs/interfaces/PanoRulerPluginParameterType.html +78 -1
- package/docs/interfaces/PanoRulerProPluginExportType.html +114 -1
- package/docs/interfaces/PanoRulerProPluginOptions.html +84 -1
- package/docs/interfaces/PanoRulerProPluginParameterType.html +71 -1
- package/docs/interfaces/PanoRulerProPluginState.html +78 -1
- package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +241 -1
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +230 -1
- package/docs/interfaces/PanoSpatialTagPluginData.html +114 -1
- package/docs/interfaces/PanoSpatialTagPluginDataElement.html +96 -1
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +192 -1
- package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +92 -1
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +113 -1
- package/docs/interfaces/PanoSpatialTagPluginPointElement.html +99 -1
- package/docs/interfaces/PanoSpatialTagPluginTagElement.html +92 -1
- package/docs/interfaces/Point.html +78 -1
- package/docs/interfaces/PointJson.html +78 -1
- package/docs/interfaces/Room.html +85 -1
- package/docs/interfaces/RoomInfo.html +71 -1
- package/docs/interfaces/RoomLabel.html +141 -13
- package/docs/interfaces/RoomRules.html +230 -1
- package/docs/interfaces/Rooms.html +230 -1
- package/docs/interfaces/Scissor.html +100 -0
- package/docs/interfaces/TagConfig.html +120 -0
- package/docs/interfaces/Tags.html +89 -0
- package/docs/interfaces/Util.MagnifierParameter.html +116 -0
- package/docs/interfaces/Util.MouseGroupParameter.html +79 -0
- package/docs/modules/Util.html +91 -0
- package/docs/modules.html +425 -36
- package/docs/types/ArrayPosition.html +224 -0
- package/docs/types/CSS3DRenderExportType.html +224 -0
- package/docs/types/CSS3DRenderPluginExportType.html +224 -0
- package/docs/types/CSS3DRenderPluginParameterType.html +224 -0
- package/docs/types/Color.html +224 -0
- package/docs/types/ContentTypeConfigKey.html +224 -0
- package/docs/types/ContentTypeConfigKeyArray.html +224 -0
- package/docs/types/Create3DDomContainerReturnType.html +224 -0
- package/docs/types/Create3DElementReturnType.html +224 -0
- package/docs/types/CruisePluginExportType.html +224 -0
- package/docs/types/Direction-1.html +224 -0
- package/docs/types/Direction4.html +224 -0
- package/docs/types/FloorplanRuleLabels.html +226 -0
- package/docs/types/FloorplanServerRuleLabels.html +224 -0
- package/docs/types/GuideLinePluginExportType.html +224 -0
- package/docs/types/HelperEventMap.html +314 -0
- package/docs/types/MapviewFloorplanPluginParameterType.html +224 -0
- package/docs/types/MapviewFloorplanPluginReturnType.html +224 -0
- package/docs/types/MediaData.html +224 -0
- package/docs/types/ModelEntryDoorGuidePluginParameterType.html +224 -0
- package/docs/types/ModelFloorplanPluginParameterType.html +224 -0
- package/docs/types/ModelFloorplanPluginReturnType.html +224 -0
- package/docs/types/ModelRoomLabelPluginParameters.html +224 -0
- package/docs/types/ModelRoomLabelPluginReturnType.html +224 -0
- package/docs/types/MoveArgs.html +226 -0
- package/docs/types/MoveOpts.html +226 -0
- package/docs/types/Object3DHelperEventMap.html +317 -0
- package/docs/types/ObjectFit.html +224 -0
- package/docs/types/PaintBrushEventMap.html +255 -0
- package/docs/types/PanoCompassPluginData.html +224 -0
- package/docs/types/PanoCompassPluginExportType.html +224 -0
- package/docs/types/PanoCompassPluginParameterType.html +224 -0
- package/docs/types/PanoFloorplanRadarPluginParameterType.html +224 -0
- package/docs/types/PanoFloorplanRadarPluginReturnType.html +224 -0
- package/docs/types/PanoMeasurePluginEvent.html +224 -0
- package/docs/types/PanoMeasureReturnType.html +224 -0
- package/docs/types/PanoSpatialTagPluginId.html +224 -0
- package/docs/types/PanoTagPluginExportInterface.html +224 -0
- package/docs/types/PanoTagPluginParamsInterface.html +224 -0
- package/docs/types/PlaneTag.html +233 -0
- package/docs/types/PointTag.html +235 -0
- package/docs/types/Position.html +224 -0
- package/docs/types/RotateArgs.html +226 -0
- package/docs/types/RotateOpts.html +226 -0
- package/docs/types/RuleLabelsKey.html +224 -0
- package/docs/types/RuleLabelsValue.html +224 -0
- package/docs/types/Tag.html +235 -0
- package/docs/types/Tag2D.html +233 -0
- package/docs/types/Tag3D.html +233 -0
- package/docs/types/TagId.html +224 -0
- package/docs/types/TopviewFloorplanPluginParameterType.html +224 -0
- package/docs/types/TopviewFloorplanPluginReturnType.html +224 -0
- package/docs/variables/FLOOR_TYPE_MAP.html +226 -0
- package/docs/variables/PLUGIN.html +224 -0
- package/docs/variables/ROOM_FETILE_TYPE_MAP.html +226 -0
- package/docs/variables/ROOM_TYPE_MAP.html +226 -0
- package/docs/variables/VERSION.html +224 -0
- package/docs/variables/itemLabelPluginServerParams.html +231 -0
- package/docs/variables/modelItemLabelPluginServerParams.html +231 -0
- package/docs/variables/modelRoomLabelPluginServerParams.html +231 -0
- package/libs/CSS3DRenderPlugin/CSS3DRender.d.ts +2 -2
- package/libs/CSS3DRenderPlugin/CSS3DRender.js +1 -300
- package/libs/CSS3DRenderPlugin/Controller.d.ts +3 -3
- package/libs/CSS3DRenderPlugin/Controller.js +1 -81
- package/libs/CSS3DRenderPlugin/index.js +1 -14
- package/libs/CSS3DRenderPlugin/typing.js +1 -1
- 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 -13
- package/libs/CSS3DRenderPlugin/utils/positionToVector3.js +1 -7
- package/libs/CSS3DRenderPlugin/utils/random.js +1 -6
- package/libs/CameraMovementPlugin/CameraMovementPlugin.js +1 -71
- package/libs/CameraMovementPlugin/index.js +1 -15
- package/libs/CameraMovementPlugin/typing.js +1 -5
- package/libs/CruisePlugin/Controller.js +1 -440
- package/libs/CruisePlugin/index.js +1 -27
- package/libs/CruisePlugin/utils/coordinatesAngle.js +1 -9
- 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 -12
- package/libs/CruisePlugin/utils/sleep.js +1 -10
- package/libs/CruisePlugin/utils/vectorToCoordinates.js +1 -10
- package/libs/GuideLinePlugin/Controller.js +1 -112
- package/libs/GuideLinePlugin/index.js +1 -15
- package/libs/GuideLinePlugin/utils/getArrowMaterial.js +1 -13
- package/libs/GuideLinePlugin/utils/getLineGeometries.js +1 -118
- package/libs/GuideLinePlugin/utils/polyline-normals.d.ts +3 -0
- package/libs/ItemLabelPlugin/ItemLabelComponent.js +1 -254
- package/libs/ItemLabelPlugin/ItemLabelItem.js +2 -133
- package/libs/ItemLabelPlugin/Plugin.js +2 -85
- package/libs/ItemLabelPlugin/index.js +1 -25
- 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 -10
- package/libs/ItemLabelPlugin/utils/transform2RenderData.js +1 -11
- package/libs/ModelChassisCompassPlugin/Plugin.js +1 -55
- package/libs/ModelChassisCompassPlugin/index.js +1 -10
- package/libs/ModelEntryDoorGuidePlugin/Plugin.js +1 -66
- package/libs/ModelEntryDoorGuidePlugin/index.js +1 -11
- package/libs/ModelItemLabelPlugin/ItemLabelComponent.js +1 -196
- package/libs/ModelItemLabelPlugin/ItemLabelItem.js +2 -42
- package/libs/ModelItemLabelPlugin/ModelItemLabelPlugin.js +2 -79
- package/libs/ModelItemLabelPlugin/events.type.js +1 -1
- package/libs/ModelItemLabelPlugin/index.js +1 -21
- package/libs/ModelItemLabelPlugin/typings.js +1 -4
- package/libs/ModelItemLabelPlugin/utils/parseData.js +1 -9
- package/libs/ModelRoomLabelPlugin/Assets/roomLabelBg.js +1 -4
- package/libs/ModelRoomLabelPlugin/Controller.js +1 -64
- package/libs/ModelRoomLabelPlugin/RoomLabelItem.js +1 -45
- package/libs/ModelRoomLabelPlugin/RoomLabelItems.js +1 -151
- package/libs/ModelRoomLabelPlugin/index.js +1 -16
- package/libs/ModelRoomLabelPlugin/utils/parseData.js +1 -16
- package/libs/ModelTVVideoPlugin/Plugin.js +1 -157
- package/libs/ModelTVVideoPlugin/index.js +1 -19
- package/libs/ModelTVVideoPlugin/typings.js +1 -4
- package/libs/ModelTVVideoPlugin/utils/parseData.js +1 -20
- package/libs/ModelViewPlugin/Plugin.js +1 -96
- package/libs/ModelViewPlugin/index.js +1 -8
- package/libs/Object3DHelperPlugin/Controller.d.ts +1 -1
- package/libs/Object3DHelperPlugin/Controller.js +1 -137
- package/libs/Object3DHelperPlugin/FiveControllerWrapper.d.ts +1 -1
- package/libs/Object3DHelperPlugin/FiveControllerWrapper.js +1 -35
- package/libs/Object3DHelperPlugin/index.js +1 -42
- package/libs/PanoCompassPlugin/Assets/roomInfoIcon.js +1 -4
- package/libs/PanoCompassPlugin/Controller.js +1 -205
- package/libs/PanoCompassPlugin/getRoomInfoInstance.js +1 -24
- package/libs/PanoCompassPlugin/index.js +1 -24
- package/libs/PanoCursorRaycasterPlugin/index.js +1 -60
- package/libs/PanoDoorLabelPlugin/BaseController.js +1 -50
- package/libs/PanoDoorLabelPlugin/Controller.js +1 -215
- package/libs/PanoDoorLabelPlugin/DoorLabelItem.js +1 -65
- package/libs/PanoDoorLabelPlugin/index.d.ts +1 -1
- package/libs/PanoDoorLabelPlugin/index.js +1 -15
- package/libs/PanoDoorLabelPlugin/utils.d.ts +2 -2
- package/libs/PanoDoorLabelPlugin/utils.js +1 -23
- package/libs/PanoMeasurePlugin/Controller/BaseController.js +1 -63
- package/libs/PanoMeasurePlugin/Controller/EditController.js +1 -114
- package/libs/PanoMeasurePlugin/Controller/MixedController.js +1 -138
- package/libs/PanoMeasurePlugin/Controller/ShortcutKeyController.js +1 -33
- package/libs/PanoMeasurePlugin/Controller/ViewController.js +1 -101
- package/libs/PanoMeasurePlugin/Controller/WatchController.js +1 -169
- package/libs/PanoMeasurePlugin/Controller/index.d.ts +1 -1
- package/libs/PanoMeasurePlugin/Controller/index.js +1 -167
- package/libs/PanoMeasurePlugin/Model/index.d.ts +4 -4
- package/libs/PanoMeasurePlugin/Model/index.js +1 -99
- package/libs/PanoMeasurePlugin/Model/line.d.ts +1 -1
- package/libs/PanoMeasurePlugin/Model/line.js +1 -60
- package/libs/PanoMeasurePlugin/Model/point.js +1 -30
- package/libs/PanoMeasurePlugin/Model/polyline.d.ts +2 -2
- 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 -70
- package/libs/PanoMeasurePlugin/Modules/rangePiece/html.js +2 -7
- package/libs/PanoMeasurePlugin/Modules/rangePiece/index.js +1 -123
- package/libs/PanoMeasurePlugin/index.js +1 -60
- package/libs/PanoMeasurePlugin/utils/calculateThreeMouse.js +1 -12
- package/libs/PanoMeasurePlugin/utils/constants.js +1 -23
- package/libs/PanoMeasurePlugin/utils/distanceDom.js +1 -62
- package/libs/PanoMeasurePlugin/utils/findAssociatedLines.js +1 -13
- package/libs/PanoMeasurePlugin/utils/findClosestPoint.d.ts +1 -1
- package/libs/PanoMeasurePlugin/utils/findClosestPoint.js +1 -16
- 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 +3 -241
- package/libs/PanoRulerPlugin/index.js +1 -11
- package/libs/PanoRulerPlugin/style.js +2 -5
- package/libs/PanoRulerProPlugin/Controller.js +1 -74
- package/libs/PanoRulerProPlugin/RulerItem.js +1 -118
- package/libs/PanoRulerProPlugin/RulerItems.js +1 -181
- package/libs/PanoRulerProPlugin/index.js +1 -17
- package/libs/PanoSpatialTagPlugin/Components/origins.js +1 -82
- package/libs/PanoSpatialTagPlugin/Components/tag.js +1 -124
- package/libs/PanoSpatialTagPlugin/Plugin.js +1 -258
- package/libs/PanoSpatialTagPlugin/index.js +1 -24
- package/libs/PanoSpatialTagPlugin/store.d.ts +1 -1
- package/libs/PanoSpatialTagPlugin/store.js +1 -6
- package/libs/PanoSpatialTagPlugin/style.js +1 -11
- package/libs/PanoSpatialTagPlugin/typings.js +1 -1
- 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 -163
- package/libs/PanoTagPlugin/Components/Common/Line/Polyline.js +1 -93
- package/libs/PanoTagPlugin/Components/Common/Line/Straight.js +1 -91
- package/libs/PanoTagPlugin/Components/Common/Media.js +1 -3438
- package/libs/PanoTagPlugin/Components/Common/MediaItem.js +1 -139
- package/libs/PanoTagPlugin/Components/Common/MultiLineText.js +1 -181
- package/libs/PanoTagPlugin/Components/Common/Point/CustomPoint.js +1 -52
- package/libs/PanoTagPlugin/Components/Common/Point/DefaultPoint.js +1 -52
- package/libs/PanoTagPlugin/Components/Common/Point/PointSwitch.js +1 -170
- package/libs/PanoTagPlugin/Components/Common/Shadow.js +15 -125
- package/libs/PanoTagPlugin/Components/Common/Text.js +1 -984
- package/libs/PanoTagPlugin/Components/Tag/AudioTag.js +1 -140
- package/libs/PanoTagPlugin/Components/Tag/CustomTag.js +1 -72
- package/libs/PanoTagPlugin/Components/Tag/ImageTextTag.js +1 -202
- package/libs/PanoTagPlugin/Components/Tag/LinkTag.js +1 -128
- package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +1 -231
- package/libs/PanoTagPlugin/Components/Tag/MediaPlane.js +1 -95
- package/libs/PanoTagPlugin/Components/Tag/TextTag.js +1 -134
- package/libs/PanoTagPlugin/Components/Tag/index.js +2 -308
- package/libs/PanoTagPlugin/Components/TagContainer.js +1 -187
- package/libs/PanoTagPlugin/Components/TagWrapper.js +1 -183
- package/libs/PanoTagPlugin/controller/TagCacheController.js +1 -32
- package/libs/PanoTagPlugin/controller/TagComputer.d.ts +5 -5
- package/libs/PanoTagPlugin/controller/TagComputer.js +1 -15
- package/libs/PanoTagPlugin/controller/index.js +1 -386
- package/libs/PanoTagPlugin/index.js +1 -71
- package/libs/PanoTagPlugin/tag.config.js +1 -44
- package/libs/PanoTagPlugin/typings/controller.js +1 -1
- package/libs/PanoTagPlugin/typings/index.js +1 -7
- 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.d.ts +1 -1
- 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 -36
- 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 -33
- 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 -7
- package/libs/components/PaintBrush/Controller.d.ts +2 -2
- package/libs/components/PaintBrush/Controller.js +1 -309
- package/libs/components/PaintBrush/Subscribe.js +1 -47
- package/libs/components/PaintBrush/index.js +1 -52
- package/libs/components/PaintBrush/style.js +2 -5
- package/libs/components/PaintBrush/tween.js +1 -15
- package/libs/components/PaintBrush/typings.js +1 -4
- package/libs/components/PaintBrush/utils.d.ts +1 -1
- package/libs/components/PaintBrush/utils.js +1 -45
- package/libs/components/index.js +1 -13
- package/libs/env.d.ts +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 -104
- package/libs/floorplan/Components/Camera.js +1 -62
- package/libs/floorplan/Components/Compass.js +1 -60
- package/libs/floorplan/Components/CurrentFloor.js +1 -255
- package/libs/floorplan/Components/Main.js +1 -282
- 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 -122
- package/libs/floorplan/Components/RoomLabels/RoomLabel.js +1 -152
- package/libs/floorplan/Components/RoomLabels/RoomLabels.js +1 -174
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial.js +1 -184
- 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.d.ts +1 -1
- package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +1 -322
- package/libs/floorplan/MapviewFloorplanPlugin/index.js +1 -49
- package/libs/floorplan/ModelFloorplanPlugin/Controller.d.ts +1 -1
- package/libs/floorplan/ModelFloorplanPlugin/Controller.js +1 -318
- package/libs/floorplan/ModelFloorplanPlugin/index.js +1 -49
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Camera.js +1 -84
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/CurrentFloor.js +1 -133
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/ExtraObjects.js +1 -72
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Main.js +1 -191
- package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +1 -146
- package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +1 -26
- package/libs/floorplan/TopviewFloorplanPlugin/Controller.d.ts +1 -1
- package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +1 -265
- package/libs/floorplan/TopviewFloorplanPlugin/index.js +1 -46
- package/libs/floorplan/constant.js +1 -4
- package/libs/floorplan/index.js +1 -67
- package/libs/floorplan/typings/floorplanData.js +1 -1
- package/libs/floorplan/typings/floorplanServerData.js +1 -101
- package/libs/floorplan/utils/constant.js +1 -8
- package/libs/floorplan/utils/correctFiveState.js +1 -36
- package/libs/floorplan/utils/formatData.js +1 -82
- package/libs/floorplan/utils/formatPosition.js +1 -35
- package/libs/index.js +1 -330
- package/libs/shared-utils/Object3DHelper/Base/BaseController.js +1 -155
- 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 -29
- package/libs/shared-utils/Object3DHelper/Controller/MoveController.js +1 -74
- package/libs/shared-utils/Object3DHelper/Controller/RectangleScaleController.d.ts +1 -1
- package/libs/shared-utils/Object3DHelper/Controller/RectangleScaleController.js +1 -117
- package/libs/shared-utils/Object3DHelper/Controller/RotateController.js +1 -142
- package/libs/shared-utils/Object3DHelper/Helper/HTML/rectangleScaleDom.js +1 -81
- package/libs/shared-utils/Object3DHelper/Helper/HTML/tipsDom.js +1 -31
- package/libs/shared-utils/Object3DHelper/Helper/HTML/utils/createElement.js +1 -14
- package/libs/shared-utils/Object3DHelper/Helper/MoveHelper.js +1 -31
- package/libs/shared-utils/Object3DHelper/Helper/Objects/ArrowGroup.js +1 -35
- package/libs/shared-utils/Object3DHelper/Helper/OutlineHelper.js +1 -103
- package/libs/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.js +1 -143
- package/libs/shared-utils/Object3DHelper/Helper/RotateHelper.js +1 -137
- package/libs/shared-utils/Object3DHelper/Helper/index.js +1 -30
- package/libs/shared-utils/Object3DHelper/index.js +1 -140
- package/libs/shared-utils/Object3DHelper/typings/Direction.js +1 -1
- package/libs/shared-utils/Object3DHelper/typings/Hooks.js +1 -1
- package/libs/shared-utils/Object3DHelper/typings/Scissor.js +1 -1
- package/libs/shared-utils/Object3DHelper/typings/index.js +1 -1
- package/libs/shared-utils/Object3DHelper/utils/calculateThreeMouse.js +1 -11
- package/libs/shared-utils/Object3DHelper/utils/direction.js +1 -30
- package/libs/shared-utils/Object3DHelper/utils/filterNotColinearPoints.js +1 -18
- package/libs/shared-utils/Object3DHelper/utils/getMouseRaycaster.d.ts +1 -1
- package/libs/shared-utils/Object3DHelper/utils/getMouseRaycaster.js +1 -14
- package/libs/shared-utils/Object3DHelper/utils/getPoint.js +1 -18
- package/libs/shared-utils/Object3DHelper/utils/index.js +1 -29
- package/libs/shared-utils/Object3DHelper/utils/normalPositionToPositions.js +1 -13
- package/libs/shared-utils/Object3DHelper/utils/object3DBoundingPosition.js +1 -5
- package/libs/shared-utils/Object3DHelper/utils/threex/domevents/index.d.ts +34 -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 -6
- package/libs/shared-utils/animationFrame/calculateProgress.js +1 -12
- package/libs/shared-utils/animationFrame/formatRad.js +1 -13
- package/libs/shared-utils/animationFrame/index.js +1 -51
- 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 -30
- package/libs/shared-utils/five/changeMode.js +1 -21
- package/libs/shared-utils/getPxmm.js +1 -21
- package/libs/shared-utils/index.js +1 -45
- 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 -6
- package/libs/shared-utils/math/planimetry.d.ts +5 -5
- package/libs/shared-utils/math/planimetry.js +1 -135
- 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.d.ts +1 -1
- 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 -5
- package/libs/shared-utils/three/FivePointSelector.d.ts +1 -1
- package/libs/shared-utils/three/FivePointSelector.js +1 -63
- package/libs/shared-utils/three/Magnifier.d.ts +2 -2
- package/libs/shared-utils/three/Magnifier.js +1 -104
- package/libs/shared-utils/three/PointDomHelper.js +1 -68
- package/libs/shared-utils/three/PointHelper.js +3 -60
- package/libs/shared-utils/three/getCoords.js +1 -13
- package/libs/shared-utils/three/getIntersect.d.ts +1 -1
- package/libs/shared-utils/three/getIntersect.js +1 -8
- package/libs/shared-utils/three/getRaycaster.d.ts +1 -1
- package/libs/shared-utils/three/getRaycaster.js +1 -12
- package/libs/shared-utils/three/index.js +1 -33
- package/libs/shared-utils/three/loadTexture.js +1 -10
- package/libs/shared-utils/three/transformPositionToVector3.js +1 -5
- package/libs/shared-utils/three/transfromToMeshBasicMaterial.js +1 -13
- package/libs/shared-utils/throttle.js +1 -11
- package/libs/shared-utils/tinyEJSrender.js +14 -138
- package/libs/shared-utils/to.js +1 -11
- 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 +218 -31
- package/dist/style.css +0 -1
- package/docs/assets/icons.css +0 -1043
- package/docs/assets/icons.png +0 -0
- package/docs/assets/icons@2x.png +0 -0
- package/docs/assets/widgets.png +0 -0
- package/docs/assets/widgets@2x.png +0 -0
- package/docs/interfaces/CSS3DRenderPluginExportType.html +0 -4
- package/libs/CruisePlugin/typing.js +0 -1
- package/libs/GuideLinePlugin/typing.js +0 -1
- package/libs/GuideLinePlugin/utils/getPoint.d.ts +0 -3
- package/libs/GuideLinePlugin/utils/getPoint.js +0 -18
- package/libs/GuideLinePlugin/utils/polyline-normals.d.js +0 -1
- package/libs/ItemLabelPlugin/events.type.js +0 -1
- package/libs/ModelRoomLabelPlugin/typings.js +0 -1
- package/libs/Object3DHelperPlugin/mocks/addObject3D.d.ts +0 -2
- package/libs/Object3DHelperPlugin/mocks/addObject3D.js +0 -1377
- package/libs/Object3DHelperPlugin/mocks/objects.d.ts +0 -7
- package/libs/Object3DHelperPlugin/mocks/objects.js +0 -47
- package/libs/Object3DHelperPlugin/typings.js +0 -1
- package/libs/PanoCompassPlugin/typings.js +0 -1
- package/libs/PanoDoorLabelPlugin/typings.js +0 -1
- package/libs/PanoMeasurePlugin/typings/data.js +0 -1
- package/libs/PanoMeasurePlugin/typings/event.type.js +0 -1
- package/libs/PanoMeasurePlugin/typings/index.js +0 -1
- package/libs/PanoMeasurePlugin/typings/utils.type.d.ts +0 -1
- package/libs/PanoMeasurePlugin/typings/utils.type.js +0 -1
- package/libs/PanoMeasurePlugin/utils/clearGroup.d.ts +0 -2
- package/libs/PanoMeasurePlugin/utils/clearGroup.js +0 -6
- package/libs/PanoRulerPlugin/typings.js +0 -1
- package/libs/PanoRulerProPlugin/typings.js +0 -1
- package/libs/PanoTagPlugin/Components/Common/TextItem.js +0 -106
- package/libs/TagComputer.2bc444dc.js +0 -315
- package/libs/floorplan/MapviewFloorplanPlugin/typing.js +0 -1
- package/libs/floorplan/ModelFloorplanPlugin/typing.js +0 -1
- package/libs/floorplan/PanoFloorplanRadarPlugin/typing.js +0 -1
- package/libs/floorplan/TopviewFloorplanPlugin/style.d.ts +0 -1
- package/libs/floorplan/TopviewFloorplanPlugin/style.js +0 -11
- package/libs/floorplan/TopviewFloorplanPlugin/typing.js +0 -1
- package/libs/floorplan/typings/index.js +0 -1
- package/libs/floorplan/typings/utility.js +0 -1
- package/libs/hammer.b5b6115e.js +0 -882
- package/libs/index.164f1850.js +0 -641
- package/libs/index.5d5d1089.js +0 -34
- package/libs/index.6a0eead1.js +0 -12
- package/libs/index.ad783a2f.js +0 -31
- package/libs/index.dca207cb.js +0 -37
- package/libs/index.f2f85d71.js +0 -40
- package/libs/shared-utils/Object3DHelper/utils/finiteNumber.d.ts +0 -1
- package/libs/shared-utils/Object3DHelper/utils/finiteNumber.js +0 -6
- package/libs/shared-utils/Object3DHelper/utils/negateScale.d.ts +0 -2
- package/libs/shared-utils/Object3DHelper/utils/negateScale.js +0 -7
- package/libs/shared-utils/Object3DHelper/utils/threex/domevents/index.d.js +0 -4
- package/libs/shared-utils/Preloader.d.ts +0 -6
- package/libs/shared-utils/Preloader.js +0 -18
- package/libs/shared-utils/formatRad.d.ts +0 -7
- package/libs/shared-utils/formatRad.js +0 -7
- package/libs/shared-utils/getRandomColor.d.ts +0 -1
- package/libs/shared-utils/getRandomColor.js +0 -6
- package/libs/shared-utils/logger.d.ts +0 -16
- package/libs/shared-utils/logger.js +0 -27
- package/libs/shared-utils/math/evenNumber.d.ts +0 -3
- package/libs/shared-utils/math/evenNumber.js +0 -7
- package/libs/shared-utils/px2rem.d.ts +0 -1
- package/libs/shared-utils/px2rem.js +0 -6
- package/libs/shared-utils/three/getExtraModelLoader.d.ts +0 -6
- package/libs/shared-utils/three/getExtraModelLoader.js +0 -18
- package/libs/shared-utils/three/getNormal.d.ts +0 -2
- package/libs/shared-utils/three/getNormal.js +0 -7
- package/libs/shared-utils/three/getTextureLoader.d.ts +0 -6
- package/libs/shared-utils/three/getTextureLoader.js +0 -16
- package/libs/shared-utils/three/loadFbxObj.d.ts +0 -2
- package/libs/shared-utils/three/loadFbxObj.js +0 -16
- package/libs/shared-utils/vectorTocoordinates.d.ts +0 -7
- package/libs/shared-utils/vectorTocoordinates.js +0 -10
- package/libs/style.css +0 -1
- package/libs/tween.esm.bad2b2b4.js +0 -340
- package/libs/typings/math.type.js +0 -1
- package/libs/typings/utils.type.d.ts +0 -2
- package/libs/typings/utils.type.js +0 -1
|
@@ -1,139 +1 @@
|
|
|
1
|
-
|
|
2
|
-
import { Image_Play_Large as j, Image_Play_Small as B } from "../../Assets/Icon.js";
|
|
3
|
-
function G(s) {
|
|
4
|
-
L(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}");
|
|
5
|
-
}
|
|
6
|
-
function I(s) {
|
|
7
|
-
let e;
|
|
8
|
-
function t(a, c) {
|
|
9
|
-
if (a[0].type === "Image")
|
|
10
|
-
return M;
|
|
11
|
-
if (a[0].type === "Video")
|
|
12
|
-
return K;
|
|
13
|
-
}
|
|
14
|
-
let o = t(s), i = o && o(s);
|
|
15
|
-
return {
|
|
16
|
-
c() {
|
|
17
|
-
e = m("div"), i && i.c(), n(e, "class", "media-item svelte-cwtvzu");
|
|
18
|
-
},
|
|
19
|
-
m(a, c) {
|
|
20
|
-
_(a, e, c), i && i.m(e, null);
|
|
21
|
-
},
|
|
22
|
-
p(a, c) {
|
|
23
|
-
o === (o = t(a)) && i ? i.p(a, c) : (i && i.d(1), i = o && o(a), i && (i.c(), i.m(e, null)));
|
|
24
|
-
},
|
|
25
|
-
d(a) {
|
|
26
|
-
a && p(e), i && i.d();
|
|
27
|
-
}
|
|
28
|
-
};
|
|
29
|
-
}
|
|
30
|
-
function K(s) {
|
|
31
|
-
let e, t, o, i, a, c, u, v, f, w, g;
|
|
32
|
-
return {
|
|
33
|
-
c() {
|
|
34
|
-
var l;
|
|
35
|
-
e = m("video"), c = S(), u = m("div"), v = m("div"), f = m("div"), n(e, "class", "media-content svelte-cwtvzu"), n(e, "style", t = `object-fit: ${s[3]};`), b(e.src, o = s[0].url + "#t=0.1") || n(e, "src", o), n(e, "poster", i = (l = s[0].videoCoverUrl) != null ? l : void 0), n(e, "preload", a = s[0].videoCoverUrl ? void 0 : "auto"), e.playsInline = !0, n(e, "paused", ""), e.loop = !1, n(e, "crossorigin", ""), e.controls = !1, d(e, "showPlayButton", s[5]), n(f, "class", "video-icon-img svelte-cwtvzu"), z(f, "background-image", "url(" + (s[1] === "large" ? j : B) + ")"), d(f, "canPlay", s[2]), n(v, "class", "video-icon svelte-cwtvzu"), d(v, "large", s[1] === "large"), d(v, "small", s[1] === "small"), n(u, "class", "video-play-button-container svelte-cwtvzu"), d(u, "showPlayButton", s[5]);
|
|
36
|
-
},
|
|
37
|
-
m(l, r) {
|
|
38
|
-
_(l, e, r), s[7](e), _(l, c, r), _(l, u, r), k(u, v), k(v, f), w || (g = [
|
|
39
|
-
P(e, "click", s[6]),
|
|
40
|
-
P(f, "click", s[8])
|
|
41
|
-
], w = !0);
|
|
42
|
-
},
|
|
43
|
-
p(l, r) {
|
|
44
|
-
var h;
|
|
45
|
-
r & 8 && t !== (t = `object-fit: ${l[3]};`) && n(e, "style", t), r & 1 && !b(e.src, o = l[0].url + "#t=0.1") && n(e, "src", o), r & 1 && i !== (i = (h = l[0].videoCoverUrl) != null ? h : void 0) && n(e, "poster", i), r & 1 && a !== (a = l[0].videoCoverUrl ? void 0 : "auto") && n(e, "preload", a), 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 && p(e), s[7](null), l && p(c), l && p(u), w = !1, E(g);
|
|
49
|
-
}
|
|
50
|
-
};
|
|
51
|
-
}
|
|
52
|
-
function M(s) {
|
|
53
|
-
let e, t, o, i;
|
|
54
|
-
return {
|
|
55
|
-
c() {
|
|
56
|
-
e = m("img"), n(e, "class", "media-content svelte-cwtvzu"), n(e, "style", t = `object-fit: ${s[3]};`), b(e.src, o = s[0].url) || n(e, "src", o), n(e, "alt", i = s[0].name);
|
|
57
|
-
},
|
|
58
|
-
m(a, c) {
|
|
59
|
-
_(a, e, c);
|
|
60
|
-
},
|
|
61
|
-
p(a, c) {
|
|
62
|
-
c & 8 && t !== (t = `object-fit: ${a[3]};`) && n(e, "style", t), c & 1 && !b(e.src, o = a[0].url) && n(e, "src", o), c & 1 && i !== (i = a[0].name) && n(e, "alt", i);
|
|
63
|
-
},
|
|
64
|
-
d(a) {
|
|
65
|
-
a && p(e);
|
|
66
|
-
}
|
|
67
|
-
};
|
|
68
|
-
}
|
|
69
|
-
function V(s) {
|
|
70
|
-
let e, t = s[0] && I(s);
|
|
71
|
-
return {
|
|
72
|
-
c() {
|
|
73
|
-
t && t.c(), e = U();
|
|
74
|
-
},
|
|
75
|
-
m(o, i) {
|
|
76
|
-
t && t.m(o, i), _(o, e, i);
|
|
77
|
-
},
|
|
78
|
-
p(o, [i]) {
|
|
79
|
-
o[0] ? t ? t.p(o, i) : (t = I(o), t.c(), t.m(e.parentNode, e)) : t && (t.d(1), t = null);
|
|
80
|
-
},
|
|
81
|
-
i: y,
|
|
82
|
-
o: y,
|
|
83
|
-
d(o) {
|
|
84
|
-
t && t.d(o), o && p(e);
|
|
85
|
-
}
|
|
86
|
-
};
|
|
87
|
-
}
|
|
88
|
-
function A(s, e, t) {
|
|
89
|
-
let { media: o } = e, { playButtonIfNeed: i = "small" } = e, { canPlay: a = !0 } = e, { objectFit: c = "cover" } = e, u, v = !1;
|
|
90
|
-
const f = () => u == null ? void 0 : u.pause();
|
|
91
|
-
function w(l) {
|
|
92
|
-
q[l ? "unshift" : "push"](() => {
|
|
93
|
-
u = l, t(4, u);
|
|
94
|
-
});
|
|
95
|
-
}
|
|
96
|
-
const g = () => {
|
|
97
|
-
!a || u && u.play();
|
|
98
|
-
};
|
|
99
|
-
return s.$$set = (l) => {
|
|
100
|
-
"media" in l && t(0, o = l.media), "playButtonIfNeed" in l && t(1, i = l.playButtonIfNeed), "canPlay" in l && t(2, a = l.canPlay), "objectFit" in l && t(3, c = l.objectFit);
|
|
101
|
-
}, s.$$.update = () => {
|
|
102
|
-
s.$$.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
|
-
o,
|
|
109
|
-
i,
|
|
110
|
-
a,
|
|
111
|
-
c,
|
|
112
|
-
u,
|
|
113
|
-
v,
|
|
114
|
-
f,
|
|
115
|
-
w,
|
|
116
|
-
g
|
|
117
|
-
];
|
|
118
|
-
}
|
|
119
|
-
class J extends C {
|
|
120
|
-
constructor(e) {
|
|
121
|
-
super(), N(
|
|
122
|
-
this,
|
|
123
|
-
e,
|
|
124
|
-
A,
|
|
125
|
-
V,
|
|
126
|
-
F,
|
|
127
|
-
{
|
|
128
|
-
media: 0,
|
|
129
|
-
playButtonIfNeed: 1,
|
|
130
|
-
canPlay: 2,
|
|
131
|
-
objectFit: 3
|
|
132
|
-
},
|
|
133
|
-
G
|
|
134
|
-
);
|
|
135
|
-
}
|
|
136
|
-
}
|
|
137
|
-
export {
|
|
138
|
-
J 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,181 +1 @@
|
|
|
1
|
-
|
|
2
|
-
import E from "./Text.js";
|
|
3
|
-
import G from "./Arrow.js";
|
|
4
|
-
import L from "../../utils/doUtil.js";
|
|
5
|
-
import "../../../shared-utils/isNil.js";
|
|
6
|
-
import "three";
|
|
7
|
-
import "../../utils/search.js";
|
|
8
|
-
import "../../utils/constants.js";
|
|
9
|
-
import "../../../index.dca207cb.js";
|
|
10
|
-
import "../../../index.6a0eead1.js";
|
|
11
|
-
import "../../Assets/Icon.js";
|
|
12
|
-
import "./Shadow.js";
|
|
13
|
-
function F(l) {
|
|
14
|
-
q(l, "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}");
|
|
15
|
-
}
|
|
16
|
-
function y(l, t, i) {
|
|
17
|
-
const o = l.slice();
|
|
18
|
-
return o[11] = t[i].id, o[12] = t[i].content, o;
|
|
19
|
-
}
|
|
20
|
-
function w(l, t) {
|
|
21
|
-
let i, o, r;
|
|
22
|
-
return o = new E({
|
|
23
|
-
props: {
|
|
24
|
-
unfolded: t[0],
|
|
25
|
-
content: t[12],
|
|
26
|
-
inDelay: 500,
|
|
27
|
-
outDelay: t[5]
|
|
28
|
-
}
|
|
29
|
-
}), {
|
|
30
|
-
key: l,
|
|
31
|
-
first: null,
|
|
32
|
-
c() {
|
|
33
|
-
i = H("div"), x(o.$$.fragment), D(i, "class", "text svelte-1fuzm7v"), v(i, "transform", t[7]), this.first = i;
|
|
34
|
-
},
|
|
35
|
-
m(s, a) {
|
|
36
|
-
h(s, i, a), U(o, i, null), t[10](i), r = !0;
|
|
37
|
-
},
|
|
38
|
-
p(s, a) {
|
|
39
|
-
t = s;
|
|
40
|
-
const m = {};
|
|
41
|
-
a & 1 && (m.unfolded = t[0]), a & 2 && (m.content = t[12]), a & 32 && (m.outDelay = t[5]), o.$set(m), a & 128 && v(i, "transform", t[7]);
|
|
42
|
-
},
|
|
43
|
-
i(s) {
|
|
44
|
-
r || (d(o.$$.fragment, s), r = !0);
|
|
45
|
-
},
|
|
46
|
-
o(s) {
|
|
47
|
-
_(o.$$.fragment, s), r = !1;
|
|
48
|
-
},
|
|
49
|
-
d(s) {
|
|
50
|
-
s && g(i), I(o), t[10](null);
|
|
51
|
-
}
|
|
52
|
-
};
|
|
53
|
-
}
|
|
54
|
-
function z(l) {
|
|
55
|
-
let t, i, o;
|
|
56
|
-
return i = new G({
|
|
57
|
-
props: {
|
|
58
|
-
direction: l[6],
|
|
59
|
-
visible: l[0],
|
|
60
|
-
inDelay: 600,
|
|
61
|
-
duration: 1e3
|
|
62
|
-
}
|
|
63
|
-
}), {
|
|
64
|
-
c() {
|
|
65
|
-
t = H("div"), x(i.$$.fragment), D(t, "class", "arrow svelte-1fuzm7v");
|
|
66
|
-
},
|
|
67
|
-
m(r, s) {
|
|
68
|
-
h(r, t, s), U(i, t, null), o = !0;
|
|
69
|
-
},
|
|
70
|
-
p(r, s) {
|
|
71
|
-
const a = {};
|
|
72
|
-
s & 64 && (a.direction = r[6]), s & 1 && (a.visible = r[0]), i.$set(a);
|
|
73
|
-
},
|
|
74
|
-
i(r) {
|
|
75
|
-
o || (d(i.$$.fragment, r), o = !0);
|
|
76
|
-
},
|
|
77
|
-
o(r) {
|
|
78
|
-
_(i.$$.fragment, r), o = !1;
|
|
79
|
-
},
|
|
80
|
-
d(r) {
|
|
81
|
-
r && g(t), I(i);
|
|
82
|
-
}
|
|
83
|
-
};
|
|
84
|
-
}
|
|
85
|
-
function J(l) {
|
|
86
|
-
let t = [], i = /* @__PURE__ */ new Map(), o, r, s, a = l[1];
|
|
87
|
-
const m = (e) => e[11];
|
|
88
|
-
for (let e = 0; e < a.length; e += 1) {
|
|
89
|
-
let n = y(l, a, e), c = m(n);
|
|
90
|
-
i.set(c, t[e] = w(c, n));
|
|
91
|
-
}
|
|
92
|
-
let f = l[3] < l[4] && z(l);
|
|
93
|
-
return {
|
|
94
|
-
c() {
|
|
95
|
-
for (let e = 0; e < t.length; e += 1)
|
|
96
|
-
t[e].c();
|
|
97
|
-
o = B(), f && f.c(), r = M();
|
|
98
|
-
},
|
|
99
|
-
m(e, n) {
|
|
100
|
-
for (let c = 0; c < t.length; c += 1)
|
|
101
|
-
t[c].m(e, n);
|
|
102
|
-
h(e, o, n), f && f.m(e, n), h(e, r, n), s = !0;
|
|
103
|
-
},
|
|
104
|
-
p(e, [n]) {
|
|
105
|
-
n & 167 && (a = e[1], k(), t = Y(t, n, m, 1, e, a, i, o.parentNode, j, w, o, y), b()), e[3] < e[4] ? f ? (f.p(e, n), n & 24 && d(f, 1)) : (f = z(e), f.c(), d(f, 1), f.m(r.parentNode, r)) : f && (k(), _(f, 1, 1, () => {
|
|
106
|
-
f = null;
|
|
107
|
-
}), b());
|
|
108
|
-
},
|
|
109
|
-
i(e) {
|
|
110
|
-
if (!s) {
|
|
111
|
-
for (let n = 0; n < a.length; n += 1)
|
|
112
|
-
d(t[n]);
|
|
113
|
-
d(f), s = !0;
|
|
114
|
-
}
|
|
115
|
-
},
|
|
116
|
-
o(e) {
|
|
117
|
-
for (let n = 0; n < t.length; n += 1)
|
|
118
|
-
_(t[n]);
|
|
119
|
-
_(f), s = !1;
|
|
120
|
-
},
|
|
121
|
-
d(e) {
|
|
122
|
-
for (let n = 0; n < t.length; n += 1)
|
|
123
|
-
t[n].d(e);
|
|
124
|
-
e && g(o), f && f.d(e), e && g(r);
|
|
125
|
-
}
|
|
126
|
-
};
|
|
127
|
-
}
|
|
128
|
-
function K(l, t, i) {
|
|
129
|
-
let o, r, s, { visible: a = !1 } = t, { textUnfolded: m = !1 } = t, { textItems: f } = t, e, n = 0, c = 0, p = 0;
|
|
130
|
-
function S(u) {
|
|
131
|
-
A[u ? "unshift" : "push"](() => {
|
|
132
|
-
e = u, i(2, e);
|
|
133
|
-
});
|
|
134
|
-
}
|
|
135
|
-
return l.$$set = (u) => {
|
|
136
|
-
"visible" in u && i(0, a = u.visible), "textUnfolded" in u && i(8, m = u.textUnfolded), "textItems" in u && i(1, f = u.textItems);
|
|
137
|
-
}, l.$$.update = () => {
|
|
138
|
-
if (l.$$.dirty & 5 && e && a) {
|
|
139
|
-
const { lineHeight: u } = getComputedStyle(e);
|
|
140
|
-
i(4, p = e.offsetHeight), L(
|
|
141
|
-
() => e == null ? void 0 : e.offsetHeight,
|
|
142
|
-
Boolean
|
|
143
|
-
).then(() => {
|
|
144
|
-
i(4, p = e.offsetHeight);
|
|
145
|
-
}), i(3, c = Number(u.replace("px", "")));
|
|
146
|
-
}
|
|
147
|
-
l.$$.dirty & 280 && i(9, n = m ? c - p : 0), l.$$.dirty & 512 && i(7, o = `translateY(${n}px)`), l.$$.dirty & 256 && i(6, r = m ? "left" : "right"), l.$$.dirty & 256 && i(5, s = m ? 450 : 0);
|
|
148
|
-
}, [
|
|
149
|
-
a,
|
|
150
|
-
f,
|
|
151
|
-
e,
|
|
152
|
-
c,
|
|
153
|
-
p,
|
|
154
|
-
s,
|
|
155
|
-
r,
|
|
156
|
-
o,
|
|
157
|
-
m,
|
|
158
|
-
n,
|
|
159
|
-
S
|
|
160
|
-
];
|
|
161
|
-
}
|
|
162
|
-
class ne extends C {
|
|
163
|
-
constructor(t) {
|
|
164
|
-
super(), N(
|
|
165
|
-
this,
|
|
166
|
-
t,
|
|
167
|
-
K,
|
|
168
|
-
J,
|
|
169
|
-
T,
|
|
170
|
-
{
|
|
171
|
-
visible: 0,
|
|
172
|
-
textUnfolded: 8,
|
|
173
|
-
textItems: 1
|
|
174
|
-
},
|
|
175
|
-
F
|
|
176
|
-
);
|
|
177
|
-
}
|
|
178
|
-
}
|
|
179
|
-
export {
|
|
180
|
-
ne as default
|
|
181
|
-
};
|
|
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,52 +1 @@
|
|
|
1
|
-
|
|
2
|
-
import B from "../Shadow.js";
|
|
3
|
-
import "../../../../index.dca207cb.js";
|
|
4
|
-
import "../../../../index.6a0eead1.js";
|
|
5
|
-
function I(t) {
|
|
6
|
-
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)}}");
|
|
7
|
-
}
|
|
8
|
-
function S(t) {
|
|
9
|
-
let e, n, u, l, m, o, s;
|
|
10
|
-
return n = new B({
|
|
11
|
-
props: {
|
|
12
|
-
center: !0,
|
|
13
|
-
blurRadius: 12,
|
|
14
|
-
spreadRadius: 5
|
|
15
|
-
}
|
|
16
|
-
}), {
|
|
17
|
-
c() {
|
|
18
|
-
e = w("div"), A(n.$$.fragment), u = v(), l = w("div"), m = v(), o = w("div"), c(l, "class", "small-point svelte-fuismw"), f(l, "transition-delay", t[3] ? t[2] + "ms" : "0ms"), c(o, "class", "big-point svelte-fuismw"), f(o, "--iconUrl", "url(" + t[1] + ")"), f(o, "transition-delay", t[3] ? t[2] + "ms" : "0ms"), c(e, "class", "point svelte-fuismw"), r(e, "folded", t[3]), r(e, "unfolded", t[0]);
|
|
19
|
-
},
|
|
20
|
-
m(i, a) {
|
|
21
|
-
y(i, e, a), k(n, e, null), d(e, u), d(e, l), d(e, m), d(e, o), s = !0;
|
|
22
|
-
},
|
|
23
|
-
p(i, [a]) {
|
|
24
|
-
a & 12 && f(l, "transition-delay", i[3] ? i[2] + "ms" : "0ms"), (!s || a & 2) && f(o, "--iconUrl", "url(" + i[1] + ")"), a & 12 && f(o, "transition-delay", i[3] ? i[2] + "ms" : "0ms"), (!s || a & 8) && r(e, "folded", i[3]), (!s || a & 1) && r(e, "unfolded", i[0]);
|
|
25
|
-
},
|
|
26
|
-
i(i) {
|
|
27
|
-
s || (U(n.$$.fragment, i), s = !0);
|
|
28
|
-
},
|
|
29
|
-
o(i) {
|
|
30
|
-
z(n.$$.fragment, i), s = !1;
|
|
31
|
-
},
|
|
32
|
-
d(i) {
|
|
33
|
-
i && N(e), R(n);
|
|
34
|
-
}
|
|
35
|
-
};
|
|
36
|
-
}
|
|
37
|
-
function j(t, e, n) {
|
|
38
|
-
let u, { unfolded: l } = e, { iconUrl: m } = e, { foldDelay: o = 800 } = e;
|
|
39
|
-
return t.$$set = (s) => {
|
|
40
|
-
"unfolded" in s && n(0, l = s.unfolded), "iconUrl" in s && n(1, m = s.iconUrl), "foldDelay" in s && n(2, o = s.foldDelay);
|
|
41
|
-
}, t.$$.update = () => {
|
|
42
|
-
t.$$.dirty & 1 && n(3, u = !l);
|
|
43
|
-
}, [l, m, o, u];
|
|
44
|
-
}
|
|
45
|
-
class q extends p {
|
|
46
|
-
constructor(e) {
|
|
47
|
-
super(), g(this, e, j, S, b, { unfolded: 0, iconUrl: 1, foldDelay: 2 }, I);
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
export {
|
|
51
|
-
q as default
|
|
52
|
-
};
|
|
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,52 +1 @@
|
|
|
1
|
-
|
|
2
|
-
import B from "../Shadow.js";
|
|
3
|
-
import "../../../../index.dca207cb.js";
|
|
4
|
-
import "../../../../index.6a0eead1.js";
|
|
5
|
-
function I(n) {
|
|
6
|
-
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)}");
|
|
7
|
-
}
|
|
8
|
-
function S(n) {
|
|
9
|
-
let e, s, d, i, r, a, o;
|
|
10
|
-
return s = new B({
|
|
11
|
-
props: {
|
|
12
|
-
center: !0,
|
|
13
|
-
blurRadius: 12,
|
|
14
|
-
spreadRadius: 5
|
|
15
|
-
}
|
|
16
|
-
}), {
|
|
17
|
-
c() {
|
|
18
|
-
e = u("div"), A(s.$$.fragment), d = m(), i = u("div"), r = m(), a = u("div"), p(i, "class", "small-point svelte-jzvcn0"), c(i, "transition-delay", n[2] ? n[1] + "ms" : "0ms"), p(a, "class", "big-point svelte-jzvcn0"), c(a, "transition-delay", n[2] ? n[1] + "ms" : "0ms"), p(e, "class", "point svelte-jzvcn0"), v(e, "unfolded", n[0]), v(e, "folded", n[2]);
|
|
19
|
-
},
|
|
20
|
-
m(t, l) {
|
|
21
|
-
h(t, e, l), y(s, e, null), f(e, d), f(e, i), f(e, r), f(e, a), o = !0;
|
|
22
|
-
},
|
|
23
|
-
p(t, [l]) {
|
|
24
|
-
l & 6 && c(i, "transition-delay", t[2] ? t[1] + "ms" : "0ms"), l & 6 && c(a, "transition-delay", t[2] ? t[1] + "ms" : "0ms"), (!o || l & 1) && v(e, "unfolded", t[0]), (!o || l & 4) && v(e, "folded", t[2]);
|
|
25
|
-
},
|
|
26
|
-
i(t) {
|
|
27
|
-
o || (w(s.$$.fragment, t), o = !0);
|
|
28
|
-
},
|
|
29
|
-
o(t) {
|
|
30
|
-
k(s.$$.fragment, t), o = !1;
|
|
31
|
-
},
|
|
32
|
-
d(t) {
|
|
33
|
-
t && N(e), R(s);
|
|
34
|
-
}
|
|
35
|
-
};
|
|
36
|
-
}
|
|
37
|
-
function E(n, e, s) {
|
|
38
|
-
let d, { unfolded: i } = e, { foldDelay: r = 800 } = e;
|
|
39
|
-
return n.$$set = (a) => {
|
|
40
|
-
"unfolded" in a && s(0, i = a.unfolded), "foldDelay" in a && s(1, r = a.foldDelay);
|
|
41
|
-
}, n.$$.update = () => {
|
|
42
|
-
n.$$.dirty & 1 && s(2, d = !i);
|
|
43
|
-
}, [i, r, d];
|
|
44
|
-
}
|
|
45
|
-
class q extends z {
|
|
46
|
-
constructor(e) {
|
|
47
|
-
super(), b(this, e, E, S, g, { unfolded: 0, foldDelay: 1 }, I);
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
export {
|
|
51
|
-
q as default
|
|
52
|
-
};
|
|
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;
|