@realsee/dnalogel 3.59.13 → 3.60.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +4 -0
- package/dist/CSS3DRenderPlugin/utils/three/CSS3DObject.d.ts +1 -1
- package/dist/CSS3DRenderPlugin/utils/three/CSS3DSprite.d.ts +1 -1
- package/dist/index.cjs.js +82 -76
- package/dist/index.js +17048 -12726
- package/dist/index.umd.js +75 -69
- package/dist/shared-utils/CSS3DRender/CSS3DObject.d.ts +1 -1
- package/dist/shared-utils/CSS3DRender/CSS3DRenderer.d.ts +1 -1
- package/dist/shared-utils/Object3DHelper/Controller/CSS3DScaleController.d.ts +1 -1
- package/docs/classes/AreaMakerPluginType.AreaMakerController.html +2 -2
- package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +2 -2
- package/docs/classes/CSS3DRender.html +2 -2
- package/docs/classes/GuideLineItem.GuideLineItem.html +2 -2
- package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +2 -2
- package/docs/classes/ModelMakerPluginInstance.html +2 -2
- package/docs/classes/ModelRoomLabelController.html +2 -2
- package/docs/classes/MoveController.html +2 -2
- package/docs/classes/Object3DHelperController.html +2 -2
- package/docs/classes/PaintBrush.html +2 -2
- package/docs/classes/PanoMeasurePluginLine.html +2 -2
- package/docs/classes/PanoMeasurePluginModel.html +2 -2
- package/docs/classes/PanoMeasurePluginPoint.html +2 -2
- package/docs/classes/PanoMeasurePluginPolyline.html +2 -2
- package/docs/classes/PanoTagPluginController.html +2 -2
- package/docs/classes/Sculpt.html +2 -2
- package/docs/classes/Util.BetterTween.html +2 -2
- package/docs/classes/Util.FiveDomEvents.html +2 -2
- package/docs/classes/Util.FivePuppet.html +2 -2
- package/docs/classes/Util.Interval.html +2 -2
- package/docs/classes/Util.LightTag.html +2 -2
- package/docs/classes/Util.LineSegments.html +2 -2
- package/docs/classes/Util.Magnifier.html +2 -2
- package/docs/classes/Util.Object3D.html +2 -2
- package/docs/classes/Util.PointHelper.html +2 -2
- package/docs/classes/Util.PointSelector.html +2 -2
- package/docs/classes/Util.PointSelectorHelper.html +2 -2
- package/docs/classes/Util.Rectangle.html +2 -2
- package/docs/classes/Util.sculpt.BaseEditor.html +2 -2
- package/docs/classes/Util.sculpt.BoxMesh.html +2 -2
- package/docs/classes/Util.sculpt.BoxMeshEditor.html +2 -2
- package/docs/classes/Util.sculpt.CircleMesh.html +2 -2
- package/docs/classes/Util.sculpt.CircleMeshEditor.html +2 -2
- package/docs/classes/Util.sculpt.CircleWithEdgeMesh.html +2 -2
- package/docs/classes/Util.sculpt.CylinderMesh.html +2 -2
- package/docs/classes/Util.sculpt.CylinderMeshEditor.html +2 -2
- package/docs/classes/Util.sculpt.LineMesh.html +2 -2
- package/docs/classes/Util.sculpt.PointMesh.html +2 -2
- package/docs/classes/Util.sculpt.PolygonMesh.html +2 -2
- package/docs/classes/Util.sculpt.PrismMesh.html +2 -2
- package/docs/classes/Util.sculpt.PrismMeshEditor.html +2 -2
- package/docs/classes/Util.sculpt.RectangleMesh.html +2 -2
- package/docs/classes/Util.sculpt.RectangleMeshEditor.html +2 -2
- package/docs/classes/Util.sculpt.RectangleWithEdgeMesh.html +2 -2
- package/docs/classes/WalkController.html +2 -2
- package/docs/enums/CameraMovementEffect.html +2 -2
- package/docs/enums/ContentType.html +2 -2
- package/docs/enums/DIRECTION.html +2 -2
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +2 -2
- package/docs/enums/DimensionType.html +2 -2
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +2 -2
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +2 -2
- package/docs/enums/PaintBrushTypeEnum.html +2 -2
- package/docs/enums/PointType.html +2 -2
- package/docs/enums/Rotation.html +2 -2
- package/docs/functions/AreaMakerPlugin.html +1 -1
- package/docs/functions/CSS3DRenderPlugin.html +1 -1
- package/docs/functions/CameraMovementPlugin.html +2 -2
- package/docs/functions/CruisePlugin.html +1 -1
- package/docs/functions/CurrentPanoImagePlugin.html +1 -1
- package/docs/functions/GuideLinePlugin.html +1 -1
- package/docs/functions/ItemLabelPlugin.html +1 -1
- package/docs/functions/MapviewFloorplanPlugin.html +1 -1
- package/docs/functions/ModelChassisCompassPlugin.html +2 -2
- package/docs/functions/ModelEntryDoorGuidePlugin.html +2 -2
- package/docs/functions/ModelFloorplanPlugin.html +1 -1
- package/docs/functions/ModelItemLabelPlugin.html +1 -1
- package/docs/functions/ModelMakerPlugin.html +1 -1
- package/docs/functions/ModelRoomLabelPlugin.html +1 -1
- package/docs/functions/ModelTVVideoPlugin.html +1 -1
- package/docs/functions/ModelViewPlugin.html +2 -2
- package/docs/functions/MovePlugin.html +1 -1
- package/docs/functions/Object3DHelperPlugin.html +1 -1
- package/docs/functions/PanoCompassPlugin.html +1 -1
- package/docs/functions/PanoCursorRaycasterPlugin.html +2 -2
- package/docs/functions/PanoDoorLabelPlugin.html +1 -1
- package/docs/functions/PanoFloorplanRadarPlugin.html +1 -1
- package/docs/functions/PanoMeasurePlugin.html +1 -1
- package/docs/functions/PanoRulerPlugin.html +2 -2
- package/docs/functions/PanoRulerProPlugin.html +2 -2
- package/docs/functions/PanoSpatialTagPlugin.html +2 -2
- package/docs/functions/PanoTagPlugin.html +1 -1
- package/docs/functions/PanoVideoPlugin.html +2 -2
- package/docs/functions/PipelinePlugin.html +1 -1
- package/docs/functions/SculptPlugin.html +2 -2
- package/docs/functions/TopviewFloorplanPlugin.html +1 -1
- package/docs/functions/Util.absoluteUrl.html +2 -2
- package/docs/functions/Util.awaitNextFrame.html +1 -1
- package/docs/functions/Util.blink.html +2 -2
- package/docs/functions/Util.bounding.html +1 -1
- package/docs/functions/Util.boundingBox.html +1 -1
- package/docs/functions/Util.boundingSphere.html +1 -1
- package/docs/functions/Util.boxVertex.html +2 -2
- package/docs/functions/Util.boxVertexes.html +1 -1
- package/docs/functions/Util.checkFiveModelLoaded.html +2 -2
- package/docs/functions/Util.convexHull.html +2 -2
- package/docs/functions/Util.equal.html +2 -2
- package/docs/functions/Util.fiveModelIsLoaded.html +2 -2
- package/docs/functions/Util.getCoordsFromClient.html +1 -1
- package/docs/functions/Util.getCoordsFromElement.html +1 -1
- package/docs/functions/Util.getFrameTime.html +2 -2
- package/docs/functions/Util.inside.html +1 -1
- package/docs/functions/Util.isAbsoluteURL.html +1 -1
- package/docs/functions/Util.isModelLike.html +1 -1
- package/docs/functions/Util.isNil.html +2 -2
- package/docs/functions/Util.isPanoramaLike.html +1 -1
- package/docs/functions/Util.lookObject.html +2 -2
- package/docs/functions/Util.lookPoint.html +2 -2
- package/docs/functions/Util.nextFrame.html +1 -1
- package/docs/functions/Util.notNil.html +2 -2
- package/docs/functions/Util.reblink.html +2 -2
- package/docs/functions/Util.requestAnimationFrameInterval.html +2 -2
- package/docs/functions/Util.sculpt.createBox.html +1 -1
- package/docs/functions/Util.sculpt.createCircle.html +1 -1
- package/docs/functions/Util.sculpt.createCylinder.html +1 -1
- package/docs/functions/Util.sculpt.createLine.html +2 -2
- package/docs/functions/Util.sculpt.createPoint.html +1 -1
- package/docs/functions/Util.sculpt.createPolygon.html +1 -1
- package/docs/functions/Util.sculpt.createPrism.html +1 -1
- package/docs/functions/Util.sculpt.createRectangle.html +2 -2
- package/docs/functions/Util.tag.html +1 -1
- package/docs/functions/Util.tweenProgress.html +1 -1
- package/docs/functions/Util.uuid.html +2 -2
- package/docs/functions/Util.waitFiveModelLoaded.html +2 -2
- package/docs/functions/Util.worldBounding.html +1 -1
- package/docs/functions/Util.worldBoundingBox.html +1 -1
- package/docs/functions/Util.worldBoundingSphere.html +1 -1
- package/docs/functions/createPolyline.html +2 -2
- package/docs/functions/pluginFlag.html +1 -1
- package/docs/hierarchy.html +1 -1
- package/docs/index.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.Config.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.EventMap.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.Params.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.State.html +2 -2
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +2 -2
- package/docs/interfaces/CSS3DRenderPluginState.html +2 -2
- package/docs/interfaces/CameraMovementPluginExportType.html +2 -2
- package/docs/interfaces/ContentTypeMapInterface.html +2 -2
- package/docs/interfaces/CruisePluginTypes.Config.html +2 -2
- package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +2 -2
- package/docs/interfaces/CruisePluginTypes.EventMap.html +2 -2
- package/docs/interfaces/CruisePluginTypes.GuildLineConfig.html +2 -2
- package/docs/interfaces/CruisePluginTypes.MoveAction.html +2 -2
- package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +2 -2
- package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +2 -2
- package/docs/interfaces/CruisePluginTypes.PluginData.html +2 -2
- package/docs/interfaces/CruisePluginTypes.PluginServerData.html +2 -2
- package/docs/interfaces/CruisePluginTypes.PluginState.html +2 -2
- package/docs/interfaces/CurrentPanoImagePluginType.Config.html +2 -2
- package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +2 -2
- package/docs/interfaces/CurrentPanoImagePluginType.Params.html +2 -2
- package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +2 -2
- package/docs/interfaces/CurrentPanoImagePluginType.State.html +2 -2
- package/docs/interfaces/FloorplanBounding.html +2 -2
- package/docs/interfaces/FloorplanData.html +2 -2
- package/docs/interfaces/FloorplanEntrance.html +2 -2
- package/docs/interfaces/FloorplanExtraObject.html +2 -2
- package/docs/interfaces/FloorplanExtraObject3D.html +2 -2
- package/docs/interfaces/FloorplanFloorData.html +2 -2
- package/docs/interfaces/FloorplanImagePosition.html +2 -2
- package/docs/interfaces/FloorplanObserver.html +2 -2
- package/docs/interfaces/FloorplanOutlineItem.html +2 -2
- package/docs/interfaces/FloorplanPosition.html +2 -2
- package/docs/interfaces/FloorplanRoomItem.html +2 -2
- package/docs/interfaces/FloorplanRoomLabelItem.html +2 -2
- package/docs/interfaces/FloorplanServerBounding.html +2 -2
- package/docs/interfaces/FloorplanServerComputedData.html +2 -2
- package/docs/interfaces/FloorplanServerData.html +2 -2
- package/docs/interfaces/FloorplanServerDoorItem.html +2 -2
- package/docs/interfaces/FloorplanServerDoorPosition.html +2 -2
- package/docs/interfaces/FloorplanServerEntrance.html +2 -2
- package/docs/interfaces/FloorplanServerFloorData.html +2 -2
- package/docs/interfaces/FloorplanServerImagePosition.html +2 -2
- package/docs/interfaces/FloorplanServerObserver.html +2 -2
- package/docs/interfaces/FloorplanServerOutlineItem.html +2 -2
- package/docs/interfaces/FloorplanServerPosition.html +2 -2
- package/docs/interfaces/FloorplanServerRoomItem.html +2 -2
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +2 -2
- package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +2 -2
- package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +2 -2
- package/docs/interfaces/GuideLinePluginType.EventMap.html +2 -2
- package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +2 -2
- package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +2 -2
- package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +2 -2
- package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +2 -2
- package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +2 -2
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +2 -2
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +2 -2
- package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +2 -2
- package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +1 -1
- package/docs/interfaces/GuideLinePluginType.PluginServerData.html +2 -2
- package/docs/interfaces/GuideLinePluginType.PluginState.html +2 -2
- package/docs/interfaces/GuideLinePluginType.Route.html +2 -2
- package/docs/interfaces/GuideLinePluginType.RouteConfig.html +2 -2
- package/docs/interfaces/HelperOffset.html +2 -2
- package/docs/interfaces/ImagePlaneGroup.html +2 -2
- package/docs/interfaces/ItemLabelPluginData.html +2 -2
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +2 -2
- package/docs/interfaces/ItemLabelPluginParametersType.html +2 -2
- package/docs/interfaces/MinMax.html +2 -2
- package/docs/interfaces/ModelChassisCompassPluginData.html +2 -2
- package/docs/interfaces/ModelChassisCompassPluginExportType.html +2 -2
- package/docs/interfaces/ModelChassisCompassPluginParameterType.html +2 -2
- package/docs/interfaces/ModelEntryDoorGuidePluginData.html +2 -2
- package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +2 -2
- package/docs/interfaces/ModelItemLabelPluginData.html +2 -2
- package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +2 -2
- package/docs/interfaces/ModelItemLabelPluginParametersType.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.EventMap.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.ServerBaseItem.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.ServerBoxItem.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.ServerData.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.ServerPrismItem.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.ServerTrianglesItem.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.State.html +2 -2
- package/docs/interfaces/ModelRoomLabelPluginData.html +2 -2
- package/docs/interfaces/ModelTVVideoPluginData.html +2 -2
- package/docs/interfaces/ModelTVVideoPluginExportType.html +2 -2
- package/docs/interfaces/ModelTVVideoPluginParameterType.html +2 -2
- package/docs/interfaces/ModelViewPluginExportType.html +2 -2
- package/docs/interfaces/Object3DHelperState.html +2 -2
- package/docs/interfaces/ObjectHelperControllers.html +2 -2
- package/docs/interfaces/PaintBrushAction.html +2 -2
- package/docs/interfaces/PaintBrushConfigs.html +2 -2
- package/docs/interfaces/PaintBrushState.html +2 -2
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +2 -2
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +1 -1
- package/docs/interfaces/PanoMeasureParameterType.html +2 -2
- package/docs/interfaces/PanoMeasurePluginLineJson.html +2 -2
- package/docs/interfaces/PanoMeasurePluginOpenParameter.html +2 -2
- package/docs/interfaces/PanoMeasurePluginPointJson.html +2 -2
- package/docs/interfaces/PanoMeasurePluginPolylineJson.html +2 -2
- package/docs/interfaces/PanoRulerPluginExportType.html +2 -2
- package/docs/interfaces/PanoRulerPluginOptions.html +2 -2
- package/docs/interfaces/PanoRulerPluginParameterType.html +2 -2
- package/docs/interfaces/PanoRulerProPluginExportType.html +2 -2
- package/docs/interfaces/PanoRulerProPluginOptions.html +2 -2
- package/docs/interfaces/PanoRulerProPluginParameterType.html +2 -2
- package/docs/interfaces/PanoRulerProPluginState.html +2 -2
- package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +1 -1
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +1 -1
- package/docs/interfaces/PanoSpatialTagPluginData.html +2 -2
- package/docs/interfaces/PanoSpatialTagPluginDataElement.html +2 -2
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +2 -2
- package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +2 -2
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +2 -2
- package/docs/interfaces/PanoSpatialTagPluginPointElement.html +2 -2
- package/docs/interfaces/PanoSpatialTagPluginTagElement.html +2 -2
- package/docs/interfaces/PanoVideoPluginType.LoadParams.html +2 -2
- package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +2 -2
- package/docs/interfaces/PanoVideoPluginType.PluginData.html +2 -2
- package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +2 -2
- package/docs/interfaces/PanoVideoPluginType.PluginState.html +2 -2
- package/docs/interfaces/PanoVideoPluginType.VideoItem.html +2 -2
- package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +2 -2
- package/docs/interfaces/PluginEventMap.html +2 -2
- package/docs/interfaces/Point.html +2 -2
- package/docs/interfaces/Room.html +2 -2
- package/docs/interfaces/RoomInfo.html +2 -2
- package/docs/interfaces/RoomLabel.html +2 -2
- package/docs/interfaces/RoomRules.html +1 -1
- package/docs/interfaces/Rooms.html +1 -1
- package/docs/interfaces/Scissor.html +2 -2
- package/docs/interfaces/State.html +2 -2
- package/docs/interfaces/TagCacheInterface.html +2 -2
- package/docs/interfaces/TagConfig.html +2 -2
- package/docs/interfaces/TagGLTFObjectGroup.html +2 -2
- package/docs/interfaces/TagIconUrl.html +2 -2
- package/docs/interfaces/TagObjectGroup.html +2 -2
- package/docs/interfaces/TagStyle.html +2 -2
- package/docs/interfaces/Tags.html +2 -2
- package/docs/interfaces/TemporaryState.html +2 -2
- package/docs/interfaces/Util.AnimeInstance.html +2 -2
- package/docs/interfaces/Util.BlinkAnimeOptions.html +2 -2
- package/docs/interfaces/Util.EventHandlerConfig.html +2 -2
- package/docs/interfaces/Util.FiveDomEvent.html +2 -2
- package/docs/interfaces/Util.FiveDomEventMap.html +2 -2
- package/docs/interfaces/Util.MagnifierParameter.html +2 -2
- package/docs/interfaces/Util.MouseGroupParameter.html +2 -2
- package/docs/interfaces/Util.PointIntersection.html +2 -2
- package/docs/interfaces/Util.PointSelectorHelperConfig.html +2 -2
- package/docs/interfaces/Util.ReBlinkAnimeOptions.html +2 -2
- package/docs/modules/AreaMakerPluginType.html +2 -2
- package/docs/modules/CruisePluginTypes.html +2 -2
- package/docs/modules/CurrentPanoImagePluginType.html +2 -2
- package/docs/modules/GuideLineItem.html +2 -2
- package/docs/modules/GuideLineModeItem.html +2 -2
- package/docs/modules/GuideLinePluginType.html +2 -2
- package/docs/modules/ModelMakerPluginType.html +2 -2
- package/docs/modules/PanoVideoPluginType.html +2 -2
- package/docs/modules/SculptData.html +2 -2
- package/docs/modules/Util.html +2 -2
- package/docs/modules/Util.sculpt.html +2 -2
- package/docs/modules.html +2 -2
- package/docs/types/AddObject3DHelperConfig.html +2 -2
- package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +2 -2
- package/docs/types/AreaMakerPluginType.ItemRenderer.html +1 -1
- package/docs/types/AreaMakerPluginType.PluginData.html +2 -2
- package/docs/types/AreaMakerPluginType.ServerData.html +2 -2
- package/docs/types/ArrayPosition.html +1 -1
- package/docs/types/AudioAppearance.html +1 -1
- package/docs/types/CSS3DRenderExportType.html +1 -1
- package/docs/types/CSS3DRenderPluginExportType.html +1 -1
- package/docs/types/CSS3DRenderPluginParameterType.html +1 -1
- package/docs/types/ClassFunctionParameters.html +1 -1
- package/docs/types/Color.html +1 -1
- package/docs/types/ContentTypeConfigKey.html +1 -1
- package/docs/types/ContentTypeConfigKeySplit.html +1 -1
- package/docs/types/ContentTypeMap.html +1 -1
- package/docs/types/Create3DDomContainerReturnType.html +1 -1
- package/docs/types/Create3DElementReturnType.html +1 -1
- package/docs/types/CruisePluginExportType.html +1 -1
- package/docs/types/CruisePluginTypes.CruiseData.html +2 -2
- package/docs/types/CruisePluginTypes.MoveEffect.html +1 -1
- package/docs/types/CurrentPanoImagePluginExportType.html +1 -1
- package/docs/types/DeprecatedMediaPlaneProperty.html +2 -2
- package/docs/types/DeprecatedTagProperty.html +2 -2
- package/docs/types/Direction-1.html +1 -1
- package/docs/types/Direction4.html +1 -1
- package/docs/types/ElementRenderer.html +2 -2
- package/docs/types/FloorplanRuleLabels.html +2 -2
- package/docs/types/FloorplanServerRuleLabels.html +1 -1
- package/docs/types/GuideLinePluginExportType.html +1 -1
- package/docs/types/GuideLinePluginType.GuideLineItem.html +2 -2
- package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +1 -1
- package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +1 -1
- package/docs/types/GuideLinePluginType.GuideLineStyle.html +2 -2
- package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +2 -2
- package/docs/types/GuideLinePluginType.PathItem.html +2 -2
- package/docs/types/GuideLinePluginType.PluginData.html +2 -2
- package/docs/types/HelperEventMap.html +1 -1
- package/docs/types/InternalHelperEventMap.html +1 -1
- package/docs/types/MapviewFloorplanPluginParameterType.html +1 -1
- package/docs/types/MapviewFloorplanPluginReturnType.html +1 -1
- package/docs/types/MediaData.html +2 -2
- package/docs/types/MediaStore.html +1 -1
- package/docs/types/ModelEntryDoorGuidePluginParameterType.html +1 -1
- package/docs/types/ModelFloorplanPluginParameterType.html +1 -1
- package/docs/types/ModelFloorplanPluginReturnType.html +1 -1
- package/docs/types/ModelId.html +1 -1
- package/docs/types/ModelMakerPluginType.ElementRenderer.html +1 -1
- package/docs/types/ModelMakerPluginType.ItemType.html +1 -1
- package/docs/types/ModelRoomLabelPluginParameters.html +1 -1
- package/docs/types/ModelRoomLabelPluginReturnType.html +1 -1
- package/docs/types/MoveArgs.html +2 -2
- package/docs/types/MoveOpts.html +2 -2
- package/docs/types/Object3DHelperEventMap.html +1 -1
- package/docs/types/ObjectFit.html +1 -1
- package/docs/types/PaintBrushEventMap.html +1 -1
- package/docs/types/PanoCompassPluginData.html +1 -1
- package/docs/types/PanoCompassPluginExportType.html +1 -1
- package/docs/types/PanoCompassPluginParameterType.html +1 -1
- package/docs/types/PanoFloorplanRadarPluginParameterType.html +1 -1
- package/docs/types/PanoFloorplanRadarPluginReturnType.html +1 -1
- package/docs/types/PanoIndex.html +1 -1
- package/docs/types/PanoMeasurePluginEvent.html +1 -1
- package/docs/types/PanoMeasureReturnType.html +1 -1
- package/docs/types/PanoSpatialTagPluginId.html +1 -1
- package/docs/types/PanoTagPluginExportInterface.html +1 -1
- package/docs/types/PanoTagPluginParamsInterface.html +1 -1
- package/docs/types/PanoVideoPluginParameterType.html +1 -1
- package/docs/types/PanoVideoPluginReturnType.html +1 -1
- package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +2 -2
- package/docs/types/PipelinePluginParameterType.html +1 -1
- package/docs/types/PipelinePluginReturnType.html +1 -1
- package/docs/types/PlaneTag.html +2 -2
- package/docs/types/Point2DTag.html +2 -2
- package/docs/types/Point3DTag.html +2 -2
- package/docs/types/PointTagInstance.html +1 -1
- package/docs/types/Position.html +1 -1
- package/docs/types/PositionFrom.html +1 -1
- package/docs/types/RotateArgs.html +2 -2
- package/docs/types/RotateOpts.html +2 -2
- package/docs/types/RuleLabelsKey.html +1 -1
- package/docs/types/RuleLabelsValue.html +1 -1
- package/docs/types/ScaleCallback.html +1 -1
- package/docs/types/ScalePosition.html +2 -2
- package/docs/types/SculptData.BoxData.html +1 -1
- package/docs/types/SculptData.CircleData.html +1 -1
- package/docs/types/SculptData.CylinderData.html +1 -1
- package/docs/types/SculptData.PointData.html +1 -1
- package/docs/types/SculptData.PolygonData.html +1 -1
- package/docs/types/SculptData.PolylineData.html +1 -1
- package/docs/types/SculptData.PrismData.html +1 -1
- package/docs/types/SculptData.RectangleData.html +1 -1
- package/docs/types/StickType.html +1 -1
- package/docs/types/Tag.html +2 -2
- package/docs/types/Tag2D.html +2 -2
- package/docs/types/Tag3D.html +2 -2
- package/docs/types/TagClickParams.html +1 -1
- package/docs/types/TagConfigByKey.html +1 -1
- package/docs/types/TagContentType.html +1 -1
- package/docs/types/TagContentTypeMapping.html +1 -1
- package/docs/types/TagDimensionType.html +1 -1
- package/docs/types/TagElement.html +2 -2
- package/docs/types/TagEvents.html +1 -1
- package/docs/types/TagGLTFObject.html +1 -1
- package/docs/types/TagHooks.html +1 -1
- package/docs/types/TagId.html +1 -1
- package/docs/types/TagInstance.html +1 -1
- package/docs/types/TagPointType.html +2 -2
- package/docs/types/TagRendererMap.html +1 -1
- package/docs/types/TopviewFloorplanPluginParameterType.html +1 -1
- package/docs/types/TopviewFloorplanPluginReturnType.html +1 -1
- package/docs/types/Util.ActionIfNoModelUnderMouse.html +1 -1
- package/docs/types/Util.PointSelectorConfig.html +1 -1
- package/docs/types/WorkCode.html +1 -1
- package/docs/variables/FLOOR_TYPE_MAP.html +2 -2
- package/docs/variables/PLUGIN.html +1 -1
- package/docs/variables/ROOM_FETILE_TYPE_MAP.html +2 -2
- package/docs/variables/ROOM_TYPE_MAP.html +2 -2
- package/docs/variables/Util.animeMap.html +1 -1
- package/docs/variables/defaultGlobalConfig.html +1 -1
- package/docs/variables/itemLabelPluginServerParams.html +1 -1
- package/docs/variables/modelItemLabelPluginServerParams.html +1 -1
- package/docs/variables/modelRoomLabelPluginServerParams.html +1 -1
- package/libs/AreaMakerPlugin/Controller.js +5 -6
- package/libs/AreaMakerPlugin/index.js +5 -6
- package/libs/AreaMakerPlugin/utils/Item.js +5 -6
- package/libs/CSS3DRenderPlugin/Controller.js +5 -6
- package/libs/CSS3DRenderPlugin/index.js +8 -9
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.d.ts +1 -1
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.js +13 -14
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DRender.js +5 -6
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DRenderer.js +1 -1
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DSprite.d.ts +1 -1
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DSprite.js +6 -5
- package/libs/CruisePlugin/BaseController.js +7 -8
- package/libs/CruisePlugin/Move.js +5 -6
- package/libs/CruisePlugin/Work.js +5 -6
- package/libs/CruisePlugin/index.js +9 -10
- package/libs/CurrentPanoImagePlugin/Controller.js +5 -6
- package/libs/CurrentPanoImagePlugin/index.js +6 -7
- package/libs/GuideLinePlugin/Controller.js +7 -8
- package/libs/GuideLinePlugin/GuideLineItem.js +5 -6
- package/libs/GuideLinePlugin/GuideLineModeItem/index.js +2 -2
- package/libs/GuideLinePlugin/GuideLineModeItem.js +5 -6
- package/libs/GuideLinePlugin/index.js +9 -10
- package/libs/ModelChassisCompassPlugin/Plugin.js +45 -42
- package/libs/ModelChassisCompassPlugin/index.js +4 -1
- package/libs/ModelEntryDoorGuidePlugin/Plugin.js +23 -20
- package/libs/ModelEntryDoorGuidePlugin/index.js +4 -1
- package/libs/ModelMakerPlugin/Controller.js +6 -7
- package/libs/ModelMakerPlugin/index.js +6 -7
- package/libs/ModelMakerPlugin/item/prismItem.js +5 -6
- package/libs/ModelTVVideoPlugin/Plugin.js +6 -7
- package/libs/ModelTVVideoPlugin/index.js +5 -6
- package/libs/Object3DHelperPlugin/Controller.js +18 -19
- package/libs/Object3DHelperPlugin/index.js +8 -9
- package/libs/PanoCompassPlugin/Controller.js +5 -6
- package/libs/PanoCompassPlugin/index.js +6 -7
- package/libs/PanoDoorLabelPlugin/Controller.js +5 -6
- package/libs/PanoDoorLabelPlugin/index.js +6 -7
- package/libs/PanoMeasurePlugin/Components/Controller0.js +6 -7
- package/libs/PanoMeasurePlugin/Components/Controller1.js +6 -7
- package/libs/PanoMeasurePlugin/Controller/EditController.js +6 -7
- package/libs/PanoMeasurePlugin/Controller/ViewController.js +1 -1
- package/libs/PanoMeasurePlugin/Controller/WatchController.js +16 -17
- package/libs/PanoMeasurePlugin/Controller/index.js +6 -7
- package/libs/PanoMeasurePlugin/Model/area.js +6 -7
- package/libs/PanoMeasurePlugin/Model/polygon.js +1 -1
- package/libs/PanoMeasurePlugin/Modules/Magnifier.js +3 -4
- package/libs/PanoMeasurePlugin/Modules/UIController/index.js +13 -14
- package/libs/PanoMeasurePlugin/index.js +17 -18
- package/libs/PanoMeasurePlugin/utils/dom/areaDom.js +5 -6
- package/libs/PanoRulerProPlugin/Controller.js +16 -17
- package/libs/PanoRulerProPlugin/RulerItems.js +5 -6
- package/libs/PanoRulerProPlugin/index.js +6 -7
- package/libs/PanoSpatialTagPlugin/Plugin.js +66 -67
- package/libs/PanoSpatialTagPlugin/index.js +3 -4
- package/libs/PanoTagPlugin/Components/Common/TagPoint.js +5 -6
- package/libs/PanoTagPlugin/Components/Common/Text/FlyMText.js +1 -1
- package/libs/PanoTagPlugin/Components/Common/Text/FlyText.js +1 -1
- package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioTag.js +1 -1
- package/libs/PanoTagPlugin/Components/Tag/AudioTag/index.js +1 -1
- package/libs/PanoTagPlugin/Components/Tag/ImageTextTag.js +1 -1
- package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +5 -6
- package/libs/PanoTagPlugin/Components/Tag/TextTag/TextTag.js +1 -1
- package/libs/PanoTagPlugin/Components/Tag/TextTag/index.js +1 -1
- package/libs/PanoTagPlugin/Components/Tag/index.js +60 -61
- package/libs/PanoTagPlugin/Components/TagContainer.js +5 -6
- package/libs/PanoTagPlugin/Components/TagItem.js +5 -6
- package/libs/PanoTagPlugin/controller/Tag/BaseTag.js +5 -6
- package/libs/PanoTagPlugin/controller/Tag/ModelTag.js +5 -6
- package/libs/PanoTagPlugin/controller/Tag/PlaneTag.js +18 -19
- package/libs/PanoTagPlugin/controller/Tag/PointTag.js +5 -6
- package/libs/PanoTagPlugin/controller/TagRender.js +5 -6
- package/libs/PanoTagPlugin/controller/TagUtil.js +5 -6
- package/libs/PanoTagPlugin/controller/index.js +43 -44
- package/libs/PanoTagPlugin/index.js +14 -15
- package/libs/PanoTagPlugin/utils/tag/calculateTagConfig.js +5 -6
- package/libs/PanoVideoPlugin/Controller.js +5 -6
- package/libs/PanoVideoPlugin/VideoMeshController.js +9 -10
- package/libs/PanoVideoPlugin/index.js +8 -9
- package/libs/PipelinePlugin/Controller.js +19 -20
- package/libs/PipelinePlugin/index.js +6 -7
- package/libs/PipelinePlugin/utils/Objects/FlowPipe.js +5 -6
- package/libs/PipelinePlugin/utils/Objects/HighlightPipe.js +5 -6
- package/libs/PipelinePlugin/utils/Objects/Pipe.js +3 -4
- package/libs/Sculpt/Meshes/Circle.js +3 -3
- package/libs/Sculpt/Meshes/Cylinder.js +3 -3
- package/libs/Sculpt/Meshes/Line.js +3 -3
- package/libs/Sculpt/Meshes/LineWithDots.js +3 -3
- package/libs/Sculpt/Meshes/Point.js +3 -3
- package/libs/Sculpt/Meshes/Polygon.js +3 -3
- package/libs/Sculpt/Meshes/Rectangle.js +3 -3
- package/libs/Sculpt/Objects/Line/Editor.js +3 -3
- package/libs/Sculpt/index.js +3 -3
- package/libs/Sculpt/utils/three/ColoredMesh.js +3 -3
- package/libs/base/BasePlugin.js +4 -4
- package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +5 -6
- package/libs/floorplan/MapviewFloorplanPlugin/index.js +6 -7
- package/libs/floorplan/ModelFloorplanPlugin/Controller.js +18 -19
- package/libs/floorplan/ModelFloorplanPlugin/index.js +6 -7
- package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +14 -15
- package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +6 -7
- package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +5 -6
- package/libs/floorplan/TopviewFloorplanPlugin/index.js +6 -7
- package/libs/floorplan/index.js +3 -3
- package/libs/index.js +151 -149
- package/libs/shared-utils/CSS3DRender/CSS3DObject.d.ts +1 -1
- package/libs/shared-utils/CSS3DRender/CSS3DObject.js +8 -8
- package/libs/shared-utils/CSS3DRender/CSS3DRenderer.d.ts +1 -1
- package/libs/shared-utils/CSS3DRender/CSS3DRenderer.js +1 -1
- package/libs/shared-utils/Object3DHelper/Controller/CSS3DScaleController.d.ts +1 -1
- package/libs/shared-utils/five/index.js +3 -3
- package/libs/shared-utils/five/lookObject.js +3 -3
- package/libs/shared-utils/index.js +3 -3
- package/libs/shared-utils/logger.js +1 -1
- package/libs/shared-utils/three/CSS3DRenderer/index.js +90 -0
- package/libs/shared-utils/three/FBXLoader/index.js +1493 -0
- package/libs/shared-utils/three/Magnifier.js +5 -5
- package/libs/shared-utils/three/PointSelector/utils/PointSelectorHelper.js +1 -1
- package/libs/shared-utils/three/blink.js +1 -1
- package/libs/shared-utils/three/earcut3D.js +3 -3
- package/libs/shared-utils/three/index.js +3 -3
- package/libs/shared-utils/three/libs/NURBSCurve.js +22 -0
- package/libs/shared-utils/three/libs/NURBSUtils.js +212 -0
- package/libs/shared-utils/three/libs/inflate.js +282 -0
- package/libs/vendor/animejs/lib/anime.es.js +863 -0
- package/libs/vendor/earcut/src/earcut.js +280 -0
- package/libs/vendor/hammerjs/hammer.js +1189 -0
- package/package.json +5 -5
- package/libs/shared-utils/CSS3DRender/THREEJS_CSS3DRenderer/index.js +0 -74
|
@@ -0,0 +1,863 @@
|
|
|
1
|
+
var pr = {
|
|
2
|
+
update: null,
|
|
3
|
+
begin: null,
|
|
4
|
+
loopBegin: null,
|
|
5
|
+
changeBegin: null,
|
|
6
|
+
change: null,
|
|
7
|
+
changeComplete: null,
|
|
8
|
+
loopComplete: null,
|
|
9
|
+
complete: null,
|
|
10
|
+
loop: 1,
|
|
11
|
+
direction: "normal",
|
|
12
|
+
autoplay: !0,
|
|
13
|
+
timelineOffset: 0
|
|
14
|
+
}, Y = {
|
|
15
|
+
duration: 1e3,
|
|
16
|
+
delay: 0,
|
|
17
|
+
endDelay: 0,
|
|
18
|
+
easing: "easeOutElastic(1, .5)",
|
|
19
|
+
round: 0
|
|
20
|
+
}, Fr = ["translateX", "translateY", "translateZ", "rotate", "rotateX", "rotateY", "rotateZ", "scale", "scaleX", "scaleY", "scaleZ", "skew", "skewX", "skewY", "perspective", "matrix", "matrix3d"], U = {
|
|
21
|
+
CSS: {},
|
|
22
|
+
springs: {}
|
|
23
|
+
};
|
|
24
|
+
function D(r, e, n) {
|
|
25
|
+
return Math.min(Math.max(r, e), n);
|
|
26
|
+
}
|
|
27
|
+
function R(r, e) {
|
|
28
|
+
return r.indexOf(e) > -1;
|
|
29
|
+
}
|
|
30
|
+
function K(r, e) {
|
|
31
|
+
return r.apply(null, e);
|
|
32
|
+
}
|
|
33
|
+
var c = {
|
|
34
|
+
arr: function(r) {
|
|
35
|
+
return Array.isArray(r);
|
|
36
|
+
},
|
|
37
|
+
obj: function(r) {
|
|
38
|
+
return R(Object.prototype.toString.call(r), "Object");
|
|
39
|
+
},
|
|
40
|
+
pth: function(r) {
|
|
41
|
+
return c.obj(r) && r.hasOwnProperty("totalLength");
|
|
42
|
+
},
|
|
43
|
+
svg: function(r) {
|
|
44
|
+
return r instanceof SVGElement;
|
|
45
|
+
},
|
|
46
|
+
inp: function(r) {
|
|
47
|
+
return r instanceof HTMLInputElement;
|
|
48
|
+
},
|
|
49
|
+
dom: function(r) {
|
|
50
|
+
return r.nodeType || c.svg(r);
|
|
51
|
+
},
|
|
52
|
+
str: function(r) {
|
|
53
|
+
return typeof r == "string";
|
|
54
|
+
},
|
|
55
|
+
fnc: function(r) {
|
|
56
|
+
return typeof r == "function";
|
|
57
|
+
},
|
|
58
|
+
und: function(r) {
|
|
59
|
+
return typeof r == "undefined";
|
|
60
|
+
},
|
|
61
|
+
nil: function(r) {
|
|
62
|
+
return c.und(r) || r === null;
|
|
63
|
+
},
|
|
64
|
+
hex: function(r) {
|
|
65
|
+
return /(^#[0-9A-F]{6}$)|(^#[0-9A-F]{3}$)/i.test(r);
|
|
66
|
+
},
|
|
67
|
+
rgb: function(r) {
|
|
68
|
+
return /^rgb/.test(r);
|
|
69
|
+
},
|
|
70
|
+
hsl: function(r) {
|
|
71
|
+
return /^hsl/.test(r);
|
|
72
|
+
},
|
|
73
|
+
col: function(r) {
|
|
74
|
+
return c.hex(r) || c.rgb(r) || c.hsl(r);
|
|
75
|
+
},
|
|
76
|
+
key: function(r) {
|
|
77
|
+
return !pr.hasOwnProperty(r) && !Y.hasOwnProperty(r) && r !== "targets" && r !== "keyframes";
|
|
78
|
+
}
|
|
79
|
+
};
|
|
80
|
+
function mr(r) {
|
|
81
|
+
var e = /\(([^)]+)\)/.exec(r);
|
|
82
|
+
return e ? e[1].split(",").map(function(n) {
|
|
83
|
+
return parseFloat(n);
|
|
84
|
+
}) : [];
|
|
85
|
+
}
|
|
86
|
+
function yr(r, e) {
|
|
87
|
+
var n = mr(r), a = D(c.und(n[0]) ? 1 : n[0], 0.1, 100), t = D(c.und(n[1]) ? 100 : n[1], 0.1, 100), u = D(c.und(n[2]) ? 10 : n[2], 0.1, 100), o = D(c.und(n[3]) ? 0 : n[3], 0.1, 100), f = Math.sqrt(t / a), i = u / (2 * Math.sqrt(t * a)), p = i < 1 ? f * Math.sqrt(1 - i * i) : 0, s = 1, l = i < 1 ? (i * f + -o) / p : -o + f;
|
|
88
|
+
function h(m) {
|
|
89
|
+
var v = e ? e * m / 1e3 : m;
|
|
90
|
+
return i < 1 ? v = Math.exp(-v * i * f) * (s * Math.cos(p * v) + l * Math.sin(p * v)) : v = (s + l * v) * Math.exp(-v * f), m === 0 || m === 1 ? m : 1 - v;
|
|
91
|
+
}
|
|
92
|
+
function w() {
|
|
93
|
+
var m = U.springs[r];
|
|
94
|
+
if (m)
|
|
95
|
+
return m;
|
|
96
|
+
for (var v = 1 / 6, y = 0, M = 0; ; )
|
|
97
|
+
if (y += v, h(y) === 1) {
|
|
98
|
+
if (M++, M >= 16)
|
|
99
|
+
break;
|
|
100
|
+
} else
|
|
101
|
+
M = 0;
|
|
102
|
+
var g = y * v * 1e3;
|
|
103
|
+
return U.springs[r] = g, g;
|
|
104
|
+
}
|
|
105
|
+
return e ? h : w;
|
|
106
|
+
}
|
|
107
|
+
function Vr(r) {
|
|
108
|
+
return r === void 0 && (r = 10), function(e) {
|
|
109
|
+
return Math.ceil(D(e, 1e-6, 1) * r) * (1 / r);
|
|
110
|
+
};
|
|
111
|
+
}
|
|
112
|
+
var jr = function() {
|
|
113
|
+
var r = 11, e = 1 / (r - 1);
|
|
114
|
+
function n(s, l) {
|
|
115
|
+
return 1 - 3 * l + 3 * s;
|
|
116
|
+
}
|
|
117
|
+
function a(s, l) {
|
|
118
|
+
return 3 * l - 6 * s;
|
|
119
|
+
}
|
|
120
|
+
function t(s) {
|
|
121
|
+
return 3 * s;
|
|
122
|
+
}
|
|
123
|
+
function u(s, l, h) {
|
|
124
|
+
return ((n(l, h) * s + a(l, h)) * s + t(l)) * s;
|
|
125
|
+
}
|
|
126
|
+
function o(s, l, h) {
|
|
127
|
+
return 3 * n(l, h) * s * s + 2 * a(l, h) * s + t(l);
|
|
128
|
+
}
|
|
129
|
+
function f(s, l, h, w, m) {
|
|
130
|
+
var v, y, M = 0;
|
|
131
|
+
do
|
|
132
|
+
y = l + (h - l) / 2, v = u(y, w, m) - s, v > 0 ? h = y : l = y;
|
|
133
|
+
while (Math.abs(v) > 1e-7 && ++M < 10);
|
|
134
|
+
return y;
|
|
135
|
+
}
|
|
136
|
+
function i(s, l, h, w) {
|
|
137
|
+
for (var m = 0; m < 4; ++m) {
|
|
138
|
+
var v = o(l, h, w);
|
|
139
|
+
if (v === 0)
|
|
140
|
+
return l;
|
|
141
|
+
var y = u(l, h, w) - s;
|
|
142
|
+
l -= y / v;
|
|
143
|
+
}
|
|
144
|
+
return l;
|
|
145
|
+
}
|
|
146
|
+
function p(s, l, h, w) {
|
|
147
|
+
if (!(0 <= s && s <= 1 && 0 <= h && h <= 1))
|
|
148
|
+
return;
|
|
149
|
+
var m = new Float32Array(r);
|
|
150
|
+
if (s !== l || h !== w)
|
|
151
|
+
for (var v = 0; v < r; ++v)
|
|
152
|
+
m[v] = u(v * e, s, h);
|
|
153
|
+
function y(M) {
|
|
154
|
+
for (var g = 0, d = 1, P = r - 1; d !== P && m[d] <= M; ++d)
|
|
155
|
+
g += e;
|
|
156
|
+
--d;
|
|
157
|
+
var E = (M - m[d]) / (m[d + 1] - m[d]), b = g + E * e, S = o(b, s, h);
|
|
158
|
+
return S >= 1e-3 ? i(M, b, s, h) : S === 0 ? b : f(M, g, g + e, s, h);
|
|
159
|
+
}
|
|
160
|
+
return function(M) {
|
|
161
|
+
return s === l && h === w || M === 0 || M === 1 ? M : u(y(M), l, w);
|
|
162
|
+
};
|
|
163
|
+
}
|
|
164
|
+
return p;
|
|
165
|
+
}(), br = function() {
|
|
166
|
+
var r = { linear: function() {
|
|
167
|
+
return function(a) {
|
|
168
|
+
return a;
|
|
169
|
+
};
|
|
170
|
+
} }, e = {
|
|
171
|
+
Sine: function() {
|
|
172
|
+
return function(a) {
|
|
173
|
+
return 1 - Math.cos(a * Math.PI / 2);
|
|
174
|
+
};
|
|
175
|
+
},
|
|
176
|
+
Expo: function() {
|
|
177
|
+
return function(a) {
|
|
178
|
+
return a ? Math.pow(2, 10 * a - 10) : 0;
|
|
179
|
+
};
|
|
180
|
+
},
|
|
181
|
+
Circ: function() {
|
|
182
|
+
return function(a) {
|
|
183
|
+
return 1 - Math.sqrt(1 - a * a);
|
|
184
|
+
};
|
|
185
|
+
},
|
|
186
|
+
Back: function() {
|
|
187
|
+
return function(a) {
|
|
188
|
+
return a * a * (3 * a - 2);
|
|
189
|
+
};
|
|
190
|
+
},
|
|
191
|
+
Bounce: function() {
|
|
192
|
+
return function(a) {
|
|
193
|
+
for (var t, u = 4; a < ((t = Math.pow(2, --u)) - 1) / 11; )
|
|
194
|
+
;
|
|
195
|
+
return 1 / Math.pow(4, 3 - u) - 7.5625 * Math.pow((t * 3 - 2) / 22 - a, 2);
|
|
196
|
+
};
|
|
197
|
+
},
|
|
198
|
+
Elastic: function(a, t) {
|
|
199
|
+
a === void 0 && (a = 1), t === void 0 && (t = 0.5);
|
|
200
|
+
var u = D(a, 1, 10), o = D(t, 0.1, 2);
|
|
201
|
+
return function(f) {
|
|
202
|
+
return f === 0 || f === 1 ? f : -u * Math.pow(2, 10 * (f - 1)) * Math.sin((f - 1 - o / (Math.PI * 2) * Math.asin(1 / u)) * (Math.PI * 2) / o);
|
|
203
|
+
};
|
|
204
|
+
}
|
|
205
|
+
}, n = ["Quad", "Cubic", "Quart", "Quint"];
|
|
206
|
+
return n.forEach(function(a, t) {
|
|
207
|
+
e[a] = function() {
|
|
208
|
+
return function(u) {
|
|
209
|
+
return Math.pow(u, t + 2);
|
|
210
|
+
};
|
|
211
|
+
};
|
|
212
|
+
}), Object.keys(e).forEach(function(a) {
|
|
213
|
+
var t = e[a];
|
|
214
|
+
r["easeIn" + a] = t, r["easeOut" + a] = function(u, o) {
|
|
215
|
+
return function(f) {
|
|
216
|
+
return 1 - t(u, o)(1 - f);
|
|
217
|
+
};
|
|
218
|
+
}, r["easeInOut" + a] = function(u, o) {
|
|
219
|
+
return function(f) {
|
|
220
|
+
return f < 0.5 ? t(u, o)(f * 2) / 2 : 1 - t(u, o)(f * -2 + 2) / 2;
|
|
221
|
+
};
|
|
222
|
+
}, r["easeOutIn" + a] = function(u, o) {
|
|
223
|
+
return function(f) {
|
|
224
|
+
return f < 0.5 ? (1 - t(u, o)(1 - f * 2)) / 2 : (t(u, o)(f * 2 - 1) + 1) / 2;
|
|
225
|
+
};
|
|
226
|
+
};
|
|
227
|
+
}), r;
|
|
228
|
+
}();
|
|
229
|
+
function G(r, e) {
|
|
230
|
+
if (c.fnc(r))
|
|
231
|
+
return r;
|
|
232
|
+
var n = r.split("(")[0], a = br[n], t = mr(r);
|
|
233
|
+
switch (n) {
|
|
234
|
+
case "spring":
|
|
235
|
+
return yr(r, e);
|
|
236
|
+
case "cubicBezier":
|
|
237
|
+
return K(jr, t);
|
|
238
|
+
case "steps":
|
|
239
|
+
return K(Vr, t);
|
|
240
|
+
default:
|
|
241
|
+
return K(a, t);
|
|
242
|
+
}
|
|
243
|
+
}
|
|
244
|
+
function xr(r) {
|
|
245
|
+
try {
|
|
246
|
+
var e = document.querySelectorAll(r);
|
|
247
|
+
return e;
|
|
248
|
+
} catch (n) {
|
|
249
|
+
return;
|
|
250
|
+
}
|
|
251
|
+
}
|
|
252
|
+
function W(r, e) {
|
|
253
|
+
for (var n = r.length, a = arguments.length >= 2 ? arguments[1] : void 0, t = [], u = 0; u < n; u++)
|
|
254
|
+
if (u in r) {
|
|
255
|
+
var o = r[u];
|
|
256
|
+
e.call(a, o, u, r) && t.push(o);
|
|
257
|
+
}
|
|
258
|
+
return t;
|
|
259
|
+
}
|
|
260
|
+
function q(r) {
|
|
261
|
+
return r.reduce(function(e, n) {
|
|
262
|
+
return e.concat(c.arr(n) ? q(n) : n);
|
|
263
|
+
}, []);
|
|
264
|
+
}
|
|
265
|
+
function lr(r) {
|
|
266
|
+
return c.arr(r) ? r : (c.str(r) && (r = xr(r) || r), r instanceof NodeList || r instanceof HTMLCollection ? [].slice.call(r) : [r]);
|
|
267
|
+
}
|
|
268
|
+
function X(r, e) {
|
|
269
|
+
return r.some(function(n) {
|
|
270
|
+
return n === e;
|
|
271
|
+
});
|
|
272
|
+
}
|
|
273
|
+
function rr(r) {
|
|
274
|
+
var e = {};
|
|
275
|
+
for (var n in r)
|
|
276
|
+
e[n] = r[n];
|
|
277
|
+
return e;
|
|
278
|
+
}
|
|
279
|
+
function _(r, e) {
|
|
280
|
+
var n = rr(r);
|
|
281
|
+
for (var a in r)
|
|
282
|
+
n[a] = e.hasOwnProperty(a) ? e[a] : r[a];
|
|
283
|
+
return n;
|
|
284
|
+
}
|
|
285
|
+
function N(r, e) {
|
|
286
|
+
var n = rr(r);
|
|
287
|
+
for (var a in e)
|
|
288
|
+
n[a] = c.und(r[a]) ? e[a] : r[a];
|
|
289
|
+
return n;
|
|
290
|
+
}
|
|
291
|
+
function zr(r) {
|
|
292
|
+
var e = /rgb\((\d+,\s*[\d]+,\s*[\d]+)\)/g.exec(r);
|
|
293
|
+
return e ? "rgba(" + e[1] + ",1)" : r;
|
|
294
|
+
}
|
|
295
|
+
function Rr(r) {
|
|
296
|
+
var e = /^#?([a-f\d])([a-f\d])([a-f\d])$/i, n = r.replace(e, function(f, i, p, s) {
|
|
297
|
+
return i + i + p + p + s + s;
|
|
298
|
+
}), a = /^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(n), t = parseInt(a[1], 16), u = parseInt(a[2], 16), o = parseInt(a[3], 16);
|
|
299
|
+
return "rgba(" + t + "," + u + "," + o + ",1)";
|
|
300
|
+
}
|
|
301
|
+
function Hr(r) {
|
|
302
|
+
var e = /hsl\((\d+),\s*([\d.]+)%,\s*([\d.]+)%\)/g.exec(r) || /hsla\((\d+),\s*([\d.]+)%,\s*([\d.]+)%,\s*([\d.]+)\)/g.exec(r), n = parseInt(e[1], 10) / 360, a = parseInt(e[2], 10) / 100, t = parseInt(e[3], 10) / 100, u = e[4] || 1;
|
|
303
|
+
function o(h, w, m) {
|
|
304
|
+
return m < 0 && (m += 1), m > 1 && (m -= 1), m < 1 / 6 ? h + (w - h) * 6 * m : m < 1 / 2 ? w : m < 2 / 3 ? h + (w - h) * (2 / 3 - m) * 6 : h;
|
|
305
|
+
}
|
|
306
|
+
var f, i, p;
|
|
307
|
+
if (a == 0)
|
|
308
|
+
f = i = p = t;
|
|
309
|
+
else {
|
|
310
|
+
var s = t < 0.5 ? t * (1 + a) : t + a - t * a, l = 2 * t - s;
|
|
311
|
+
f = o(l, s, n + 1 / 3), i = o(l, s, n), p = o(l, s, n - 1 / 3);
|
|
312
|
+
}
|
|
313
|
+
return "rgba(" + f * 255 + "," + i * 255 + "," + p * 255 + "," + u + ")";
|
|
314
|
+
}
|
|
315
|
+
function Ur(r) {
|
|
316
|
+
if (c.rgb(r))
|
|
317
|
+
return zr(r);
|
|
318
|
+
if (c.hex(r))
|
|
319
|
+
return Rr(r);
|
|
320
|
+
if (c.hsl(r))
|
|
321
|
+
return Hr(r);
|
|
322
|
+
}
|
|
323
|
+
function O(r) {
|
|
324
|
+
var e = /[+-]?\d*\.?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?(%|px|pt|em|rem|in|cm|mm|ex|ch|pc|vw|vh|vmin|vmax|deg|rad|turn)?$/.exec(r);
|
|
325
|
+
if (e)
|
|
326
|
+
return e[1];
|
|
327
|
+
}
|
|
328
|
+
function Wr(r) {
|
|
329
|
+
if (R(r, "translate") || r === "perspective")
|
|
330
|
+
return "px";
|
|
331
|
+
if (R(r, "rotate") || R(r, "skew"))
|
|
332
|
+
return "deg";
|
|
333
|
+
}
|
|
334
|
+
function J(r, e) {
|
|
335
|
+
return c.fnc(r) ? r(e.target, e.id, e.total) : r;
|
|
336
|
+
}
|
|
337
|
+
function k(r, e) {
|
|
338
|
+
return r.getAttribute(e);
|
|
339
|
+
}
|
|
340
|
+
function er(r, e, n) {
|
|
341
|
+
var a = O(e);
|
|
342
|
+
if (X([n, "deg", "rad", "turn"], a))
|
|
343
|
+
return e;
|
|
344
|
+
var t = U.CSS[e + n];
|
|
345
|
+
if (!c.und(t))
|
|
346
|
+
return t;
|
|
347
|
+
var u = 100, o = document.createElement(r.tagName), f = r.parentNode && r.parentNode !== document ? r.parentNode : document.body;
|
|
348
|
+
f.appendChild(o), o.style.position = "absolute", o.style.width = u + n;
|
|
349
|
+
var i = u / o.offsetWidth;
|
|
350
|
+
f.removeChild(o);
|
|
351
|
+
var p = i * parseFloat(e);
|
|
352
|
+
return U.CSS[e + n] = p, p;
|
|
353
|
+
}
|
|
354
|
+
function Mr(r, e, n) {
|
|
355
|
+
if (e in r.style) {
|
|
356
|
+
var a = e.replace(/([a-z])([A-Z])/g, "$1-$2").toLowerCase(), t = r.style[e] || getComputedStyle(r).getPropertyValue(a) || "0";
|
|
357
|
+
return n ? er(r, t, n) : t;
|
|
358
|
+
}
|
|
359
|
+
}
|
|
360
|
+
function nr(r, e) {
|
|
361
|
+
if (c.dom(r) && !c.inp(r) && (!c.nil(k(r, e)) || c.svg(r) && r[e]))
|
|
362
|
+
return "attribute";
|
|
363
|
+
if (c.dom(r) && X(Fr, e))
|
|
364
|
+
return "transform";
|
|
365
|
+
if (c.dom(r) && e !== "transform" && Mr(r, e))
|
|
366
|
+
return "css";
|
|
367
|
+
if (r[e] != null)
|
|
368
|
+
return "object";
|
|
369
|
+
}
|
|
370
|
+
function Tr(r) {
|
|
371
|
+
if (c.dom(r)) {
|
|
372
|
+
for (var e = r.style.transform || "", n = /(\w+)\(([^)]*)\)/g, a = /* @__PURE__ */ new Map(), t; t = n.exec(e); )
|
|
373
|
+
a.set(t[1], t[2]);
|
|
374
|
+
return a;
|
|
375
|
+
}
|
|
376
|
+
}
|
|
377
|
+
function qr(r, e, n, a) {
|
|
378
|
+
var t = R(e, "scale") ? 1 : 0 + Wr(e), u = Tr(r).get(e) || t;
|
|
379
|
+
return n && (n.transforms.list.set(e, u), n.transforms.last = e), a ? er(r, u, a) : u;
|
|
380
|
+
}
|
|
381
|
+
function tr(r, e, n, a) {
|
|
382
|
+
switch (nr(r, e)) {
|
|
383
|
+
case "transform":
|
|
384
|
+
return qr(r, e, a, n);
|
|
385
|
+
case "css":
|
|
386
|
+
return Mr(r, e, n);
|
|
387
|
+
case "attribute":
|
|
388
|
+
return k(r, e);
|
|
389
|
+
default:
|
|
390
|
+
return r[e] || 0;
|
|
391
|
+
}
|
|
392
|
+
}
|
|
393
|
+
function ar(r, e) {
|
|
394
|
+
var n = /^(\*=|\+=|-=)/.exec(r);
|
|
395
|
+
if (!n)
|
|
396
|
+
return r;
|
|
397
|
+
var a = O(r) || 0, t = parseFloat(e), u = parseFloat(r.replace(n[0], ""));
|
|
398
|
+
switch (n[0][0]) {
|
|
399
|
+
case "+":
|
|
400
|
+
return t + u + a;
|
|
401
|
+
case "-":
|
|
402
|
+
return t - u + a;
|
|
403
|
+
case "*":
|
|
404
|
+
return t * u + a;
|
|
405
|
+
}
|
|
406
|
+
}
|
|
407
|
+
function wr(r, e) {
|
|
408
|
+
if (c.col(r))
|
|
409
|
+
return Ur(r);
|
|
410
|
+
if (/\s/g.test(r))
|
|
411
|
+
return r;
|
|
412
|
+
var n = O(r), a = n ? r.substr(0, r.length - n.length) : r;
|
|
413
|
+
return e ? a + e : a;
|
|
414
|
+
}
|
|
415
|
+
function ir(r, e) {
|
|
416
|
+
return Math.sqrt(Math.pow(e.x - r.x, 2) + Math.pow(e.y - r.y, 2));
|
|
417
|
+
}
|
|
418
|
+
function Nr(r) {
|
|
419
|
+
return Math.PI * 2 * k(r, "r");
|
|
420
|
+
}
|
|
421
|
+
function Zr(r) {
|
|
422
|
+
return k(r, "width") * 2 + k(r, "height") * 2;
|
|
423
|
+
}
|
|
424
|
+
function $r(r) {
|
|
425
|
+
return ir(
|
|
426
|
+
{ x: k(r, "x1"), y: k(r, "y1") },
|
|
427
|
+
{ x: k(r, "x2"), y: k(r, "y2") }
|
|
428
|
+
);
|
|
429
|
+
}
|
|
430
|
+
function Pr(r) {
|
|
431
|
+
for (var e = r.points, n = 0, a, t = 0; t < e.numberOfItems; t++) {
|
|
432
|
+
var u = e.getItem(t);
|
|
433
|
+
t > 0 && (n += ir(a, u)), a = u;
|
|
434
|
+
}
|
|
435
|
+
return n;
|
|
436
|
+
}
|
|
437
|
+
function Qr(r) {
|
|
438
|
+
var e = r.points;
|
|
439
|
+
return Pr(r) + ir(e.getItem(e.numberOfItems - 1), e.getItem(0));
|
|
440
|
+
}
|
|
441
|
+
function Ir(r) {
|
|
442
|
+
if (r.getTotalLength)
|
|
443
|
+
return r.getTotalLength();
|
|
444
|
+
switch (r.tagName.toLowerCase()) {
|
|
445
|
+
case "circle":
|
|
446
|
+
return Nr(r);
|
|
447
|
+
case "rect":
|
|
448
|
+
return Zr(r);
|
|
449
|
+
case "line":
|
|
450
|
+
return $r(r);
|
|
451
|
+
case "polyline":
|
|
452
|
+
return Pr(r);
|
|
453
|
+
case "polygon":
|
|
454
|
+
return Qr(r);
|
|
455
|
+
}
|
|
456
|
+
}
|
|
457
|
+
function Kr(r) {
|
|
458
|
+
var e = Ir(r);
|
|
459
|
+
return r.setAttribute("stroke-dasharray", e), e;
|
|
460
|
+
}
|
|
461
|
+
function _r(r) {
|
|
462
|
+
for (var e = r.parentNode; c.svg(e) && c.svg(e.parentNode); )
|
|
463
|
+
e = e.parentNode;
|
|
464
|
+
return e;
|
|
465
|
+
}
|
|
466
|
+
function Cr(r, e) {
|
|
467
|
+
var n = e || {}, a = n.el || _r(r), t = a.getBoundingClientRect(), u = k(a, "viewBox"), o = t.width, f = t.height, i = n.viewBox || (u ? u.split(" ") : [0, 0, o, f]);
|
|
468
|
+
return {
|
|
469
|
+
el: a,
|
|
470
|
+
viewBox: i,
|
|
471
|
+
x: i[0] / 1,
|
|
472
|
+
y: i[1] / 1,
|
|
473
|
+
w: o,
|
|
474
|
+
h: f,
|
|
475
|
+
vW: i[2],
|
|
476
|
+
vH: i[3]
|
|
477
|
+
};
|
|
478
|
+
}
|
|
479
|
+
function Jr(r, e) {
|
|
480
|
+
var n = c.str(r) ? xr(r)[0] : r, a = e || 100;
|
|
481
|
+
return function(t) {
|
|
482
|
+
return {
|
|
483
|
+
property: t,
|
|
484
|
+
el: n,
|
|
485
|
+
svg: Cr(n),
|
|
486
|
+
totalLength: Ir(n) * (a / 100)
|
|
487
|
+
};
|
|
488
|
+
};
|
|
489
|
+
}
|
|
490
|
+
function Yr(r, e, n) {
|
|
491
|
+
function a(s) {
|
|
492
|
+
s === void 0 && (s = 0);
|
|
493
|
+
var l = e + s >= 1 ? e + s : 0;
|
|
494
|
+
return r.el.getPointAtLength(l);
|
|
495
|
+
}
|
|
496
|
+
var t = Cr(r.el, r.svg), u = a(), o = a(-1), f = a(1), i = n ? 1 : t.w / t.vW, p = n ? 1 : t.h / t.vH;
|
|
497
|
+
switch (r.property) {
|
|
498
|
+
case "x":
|
|
499
|
+
return (u.x - t.x) * i;
|
|
500
|
+
case "y":
|
|
501
|
+
return (u.y - t.y) * p;
|
|
502
|
+
case "angle":
|
|
503
|
+
return Math.atan2(f.y - o.y, f.x - o.x) * 180 / Math.PI;
|
|
504
|
+
}
|
|
505
|
+
}
|
|
506
|
+
function vr(r, e) {
|
|
507
|
+
var n = /[+-]?\d*\.?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?/g, a = wr(c.pth(r) ? r.totalLength : r, e) + "";
|
|
508
|
+
return {
|
|
509
|
+
original: a,
|
|
510
|
+
numbers: a.match(n) ? a.match(n).map(Number) : [0],
|
|
511
|
+
strings: c.str(r) || e ? a.split(n) : []
|
|
512
|
+
};
|
|
513
|
+
}
|
|
514
|
+
function ur(r) {
|
|
515
|
+
var e = r ? q(c.arr(r) ? r.map(lr) : lr(r)) : [];
|
|
516
|
+
return W(e, function(n, a, t) {
|
|
517
|
+
return t.indexOf(n) === a;
|
|
518
|
+
});
|
|
519
|
+
}
|
|
520
|
+
function Dr(r) {
|
|
521
|
+
var e = ur(r);
|
|
522
|
+
return e.map(function(n, a) {
|
|
523
|
+
return { target: n, id: a, total: e.length, transforms: { list: Tr(n) } };
|
|
524
|
+
});
|
|
525
|
+
}
|
|
526
|
+
function Gr(r, e) {
|
|
527
|
+
var n = rr(e);
|
|
528
|
+
if (/^spring/.test(n.easing) && (n.duration = yr(n.easing)), c.arr(r)) {
|
|
529
|
+
var a = r.length, t = a === 2 && !c.obj(r[0]);
|
|
530
|
+
t ? r = { value: r } : c.fnc(e.duration) || (n.duration = e.duration / a);
|
|
531
|
+
}
|
|
532
|
+
var u = c.arr(r) ? r : [r];
|
|
533
|
+
return u.map(function(o, f) {
|
|
534
|
+
var i = c.obj(o) && !c.pth(o) ? o : { value: o };
|
|
535
|
+
return c.und(i.delay) && (i.delay = f ? 0 : e.delay), c.und(i.endDelay) && (i.endDelay = f === u.length - 1 ? e.endDelay : 0), i;
|
|
536
|
+
}).map(function(o) {
|
|
537
|
+
return N(o, n);
|
|
538
|
+
});
|
|
539
|
+
}
|
|
540
|
+
function Xr(r) {
|
|
541
|
+
for (var e = W(q(r.map(function(u) {
|
|
542
|
+
return Object.keys(u);
|
|
543
|
+
})), function(u) {
|
|
544
|
+
return c.key(u);
|
|
545
|
+
}).reduce(function(u, o) {
|
|
546
|
+
return u.indexOf(o) < 0 && u.push(o), u;
|
|
547
|
+
}, []), n = {}, a = function(u) {
|
|
548
|
+
var o = e[u];
|
|
549
|
+
n[o] = r.map(function(f) {
|
|
550
|
+
var i = {};
|
|
551
|
+
for (var p in f)
|
|
552
|
+
c.key(p) ? p == o && (i.value = f[p]) : i[p] = f[p];
|
|
553
|
+
return i;
|
|
554
|
+
});
|
|
555
|
+
}, t = 0; t < e.length; t++)
|
|
556
|
+
a(t);
|
|
557
|
+
return n;
|
|
558
|
+
}
|
|
559
|
+
function re(r, e) {
|
|
560
|
+
var n = [], a = e.keyframes;
|
|
561
|
+
a && (e = N(Xr(a), e));
|
|
562
|
+
for (var t in e)
|
|
563
|
+
c.key(t) && n.push({
|
|
564
|
+
name: t,
|
|
565
|
+
tweens: Gr(e[t], r)
|
|
566
|
+
});
|
|
567
|
+
return n;
|
|
568
|
+
}
|
|
569
|
+
function ee(r, e) {
|
|
570
|
+
var n = {};
|
|
571
|
+
for (var a in r) {
|
|
572
|
+
var t = J(r[a], e);
|
|
573
|
+
c.arr(t) && (t = t.map(function(u) {
|
|
574
|
+
return J(u, e);
|
|
575
|
+
}), t.length === 1 && (t = t[0])), n[a] = t;
|
|
576
|
+
}
|
|
577
|
+
return n.duration = parseFloat(n.duration), n.delay = parseFloat(n.delay), n;
|
|
578
|
+
}
|
|
579
|
+
function ne(r, e) {
|
|
580
|
+
var n;
|
|
581
|
+
return r.tweens.map(function(a) {
|
|
582
|
+
var t = ee(a, e), u = t.value, o = c.arr(u) ? u[1] : u, f = O(o), i = tr(e.target, r.name, f, e), p = n ? n.to.original : i, s = c.arr(u) ? u[0] : p, l = O(s) || O(i), h = f || l;
|
|
583
|
+
return c.und(o) && (o = p), t.from = vr(s, h), t.to = vr(ar(o, s), h), t.start = n ? n.end : 0, t.end = t.start + t.delay + t.duration + t.endDelay, t.easing = G(t.easing, t.duration), t.isPath = c.pth(u), t.isPathTargetInsideSVG = t.isPath && c.svg(e.target), t.isColor = c.col(t.from.original), t.isColor && (t.round = 1), n = t, t;
|
|
584
|
+
});
|
|
585
|
+
}
|
|
586
|
+
var kr = {
|
|
587
|
+
css: function(r, e, n) {
|
|
588
|
+
return r.style[e] = n;
|
|
589
|
+
},
|
|
590
|
+
attribute: function(r, e, n) {
|
|
591
|
+
return r.setAttribute(e, n);
|
|
592
|
+
},
|
|
593
|
+
object: function(r, e, n) {
|
|
594
|
+
return r[e] = n;
|
|
595
|
+
},
|
|
596
|
+
transform: function(r, e, n, a, t) {
|
|
597
|
+
if (a.list.set(e, n), e === a.last || t) {
|
|
598
|
+
var u = "";
|
|
599
|
+
a.list.forEach(function(o, f) {
|
|
600
|
+
u += f + "(" + o + ") ";
|
|
601
|
+
}), r.style.transform = u;
|
|
602
|
+
}
|
|
603
|
+
}
|
|
604
|
+
};
|
|
605
|
+
function Or(r, e) {
|
|
606
|
+
var n = Dr(r);
|
|
607
|
+
n.forEach(function(a) {
|
|
608
|
+
for (var t in e) {
|
|
609
|
+
var u = J(e[t], a), o = a.target, f = O(u), i = tr(o, t, f, a), p = f || O(i), s = ar(wr(u, p), i), l = nr(o, t);
|
|
610
|
+
kr[l](o, t, s, a.transforms, !0);
|
|
611
|
+
}
|
|
612
|
+
});
|
|
613
|
+
}
|
|
614
|
+
function te(r, e) {
|
|
615
|
+
var n = nr(r.target, e.name);
|
|
616
|
+
if (n) {
|
|
617
|
+
var a = ne(e, r), t = a[a.length - 1];
|
|
618
|
+
return {
|
|
619
|
+
type: n,
|
|
620
|
+
property: e.name,
|
|
621
|
+
animatable: r,
|
|
622
|
+
tweens: a,
|
|
623
|
+
duration: t.end,
|
|
624
|
+
delay: a[0].delay,
|
|
625
|
+
endDelay: t.endDelay
|
|
626
|
+
};
|
|
627
|
+
}
|
|
628
|
+
}
|
|
629
|
+
function ae(r, e) {
|
|
630
|
+
return W(q(r.map(function(n) {
|
|
631
|
+
return e.map(function(a) {
|
|
632
|
+
return te(n, a);
|
|
633
|
+
});
|
|
634
|
+
})), function(n) {
|
|
635
|
+
return !c.und(n);
|
|
636
|
+
});
|
|
637
|
+
}
|
|
638
|
+
function Er(r, e) {
|
|
639
|
+
var n = r.length, a = function(u) {
|
|
640
|
+
return u.timelineOffset ? u.timelineOffset : 0;
|
|
641
|
+
}, t = {};
|
|
642
|
+
return t.duration = n ? Math.max.apply(Math, r.map(function(u) {
|
|
643
|
+
return a(u) + u.duration;
|
|
644
|
+
})) : e.duration, t.delay = n ? Math.min.apply(Math, r.map(function(u) {
|
|
645
|
+
return a(u) + u.delay;
|
|
646
|
+
})) : e.delay, t.endDelay = n ? t.duration - Math.max.apply(Math, r.map(function(u) {
|
|
647
|
+
return a(u) + u.duration - u.endDelay;
|
|
648
|
+
})) : e.endDelay, t;
|
|
649
|
+
}
|
|
650
|
+
var dr = 0;
|
|
651
|
+
function ie(r) {
|
|
652
|
+
var e = _(pr, r), n = _(Y, r), a = re(n, r), t = Dr(r.targets), u = ae(t, a), o = Er(u, n), f = dr;
|
|
653
|
+
return dr++, N(e, {
|
|
654
|
+
id: f,
|
|
655
|
+
children: [],
|
|
656
|
+
animatables: t,
|
|
657
|
+
animations: u,
|
|
658
|
+
duration: o.duration,
|
|
659
|
+
delay: o.delay,
|
|
660
|
+
endDelay: o.endDelay
|
|
661
|
+
});
|
|
662
|
+
}
|
|
663
|
+
var C = [], Sr = function() {
|
|
664
|
+
var r;
|
|
665
|
+
function e() {
|
|
666
|
+
!r && (!gr() || !x.suspendWhenDocumentHidden) && C.length > 0 && (r = requestAnimationFrame(n));
|
|
667
|
+
}
|
|
668
|
+
function n(t) {
|
|
669
|
+
for (var u = C.length, o = 0; o < u; ) {
|
|
670
|
+
var f = C[o];
|
|
671
|
+
f.paused ? (C.splice(o, 1), u--) : (f.tick(t), o++);
|
|
672
|
+
}
|
|
673
|
+
r = o > 0 ? requestAnimationFrame(n) : void 0;
|
|
674
|
+
}
|
|
675
|
+
function a() {
|
|
676
|
+
x.suspendWhenDocumentHidden && (gr() ? r = cancelAnimationFrame(r) : (C.forEach(
|
|
677
|
+
function(t) {
|
|
678
|
+
return t._onDocumentVisibility();
|
|
679
|
+
}
|
|
680
|
+
), Sr()));
|
|
681
|
+
}
|
|
682
|
+
return typeof document != "undefined" && document.addEventListener("visibilitychange", a), e;
|
|
683
|
+
}();
|
|
684
|
+
function gr() {
|
|
685
|
+
return !!document && document.hidden;
|
|
686
|
+
}
|
|
687
|
+
function x(r) {
|
|
688
|
+
r === void 0 && (r = {});
|
|
689
|
+
var e = 0, n = 0, a = 0, t, u = 0, o = null;
|
|
690
|
+
function f(g) {
|
|
691
|
+
var d = window.Promise && new Promise(function(P) {
|
|
692
|
+
return o = P;
|
|
693
|
+
});
|
|
694
|
+
return g.finished = d, d;
|
|
695
|
+
}
|
|
696
|
+
var i = ie(r);
|
|
697
|
+
f(i);
|
|
698
|
+
function p() {
|
|
699
|
+
var g = i.direction;
|
|
700
|
+
g !== "alternate" && (i.direction = g !== "normal" ? "normal" : "reverse"), i.reversed = !i.reversed, t.forEach(function(d) {
|
|
701
|
+
return d.reversed = i.reversed;
|
|
702
|
+
});
|
|
703
|
+
}
|
|
704
|
+
function s(g) {
|
|
705
|
+
return i.reversed ? i.duration - g : g;
|
|
706
|
+
}
|
|
707
|
+
function l() {
|
|
708
|
+
e = 0, n = s(i.currentTime) * (1 / x.speed);
|
|
709
|
+
}
|
|
710
|
+
function h(g, d) {
|
|
711
|
+
d && d.seek(g - d.timelineOffset);
|
|
712
|
+
}
|
|
713
|
+
function w(g) {
|
|
714
|
+
if (i.reversePlayback)
|
|
715
|
+
for (var P = u; P--; )
|
|
716
|
+
h(g, t[P]);
|
|
717
|
+
else
|
|
718
|
+
for (var d = 0; d < u; d++)
|
|
719
|
+
h(g, t[d]);
|
|
720
|
+
}
|
|
721
|
+
function m(g) {
|
|
722
|
+
for (var d = 0, P = i.animations, E = P.length; d < E; ) {
|
|
723
|
+
var b = P[d], S = b.animatable, F = b.tweens, L = F.length - 1, T = F[L];
|
|
724
|
+
L && (T = W(F, function(Br) {
|
|
725
|
+
return g < Br.end;
|
|
726
|
+
})[0] || T);
|
|
727
|
+
for (var A = D(g - T.start - T.delay, 0, T.duration) / T.duration, H = isNaN(A) ? 1 : T.easing(A), I = T.to.strings, Z = T.round, $ = [], Ar = T.to.numbers.length, B = void 0, V = 0; V < Ar; V++) {
|
|
728
|
+
var j = void 0, or = T.to.numbers[V], fr = T.from.numbers[V] || 0;
|
|
729
|
+
T.isPath ? j = Yr(T.value, H * or, T.isPathTargetInsideSVG) : j = fr + H * (or - fr), Z && (T.isColor && V > 2 || (j = Math.round(j * Z) / Z)), $.push(j);
|
|
730
|
+
}
|
|
731
|
+
var sr = I.length;
|
|
732
|
+
if (!sr)
|
|
733
|
+
B = $[0];
|
|
734
|
+
else {
|
|
735
|
+
B = I[0];
|
|
736
|
+
for (var z = 0; z < sr; z++) {
|
|
737
|
+
I[z];
|
|
738
|
+
var cr = I[z + 1], Q = $[z];
|
|
739
|
+
isNaN(Q) || (cr ? B += Q + cr : B += Q + " ");
|
|
740
|
+
}
|
|
741
|
+
}
|
|
742
|
+
kr[b.type](S.target, b.property, B, S.transforms), b.currentValue = B, d++;
|
|
743
|
+
}
|
|
744
|
+
}
|
|
745
|
+
function v(g) {
|
|
746
|
+
i[g] && !i.passThrough && i[g](i);
|
|
747
|
+
}
|
|
748
|
+
function y() {
|
|
749
|
+
i.remaining && i.remaining !== !0 && i.remaining--;
|
|
750
|
+
}
|
|
751
|
+
function M(g) {
|
|
752
|
+
var d = i.duration, P = i.delay, E = d - i.endDelay, b = s(g);
|
|
753
|
+
i.progress = D(b / d * 100, 0, 100), i.reversePlayback = b < i.currentTime, t && w(b), !i.began && i.currentTime > 0 && (i.began = !0, v("begin")), !i.loopBegan && i.currentTime > 0 && (i.loopBegan = !0, v("loopBegin")), b <= P && i.currentTime !== 0 && m(0), (b >= E && i.currentTime !== d || !d) && m(d), b > P && b < E ? (i.changeBegan || (i.changeBegan = !0, i.changeCompleted = !1, v("changeBegin")), v("change"), m(b)) : i.changeBegan && (i.changeCompleted = !0, i.changeBegan = !1, v("changeComplete")), i.currentTime = D(b, 0, d), i.began && v("update"), g >= d && (n = 0, y(), i.remaining ? (e = a, v("loopComplete"), i.loopBegan = !1, i.direction === "alternate" && p()) : (i.paused = !0, i.completed || (i.completed = !0, v("loopComplete"), v("complete"), !i.passThrough && "Promise" in window && (o(), f(i)))));
|
|
754
|
+
}
|
|
755
|
+
return i.reset = function() {
|
|
756
|
+
var g = i.direction;
|
|
757
|
+
i.passThrough = !1, i.currentTime = 0, i.progress = 0, i.paused = !0, i.began = !1, i.loopBegan = !1, i.changeBegan = !1, i.completed = !1, i.changeCompleted = !1, i.reversePlayback = !1, i.reversed = g === "reverse", i.remaining = i.loop, t = i.children, u = t.length;
|
|
758
|
+
for (var d = u; d--; )
|
|
759
|
+
i.children[d].reset();
|
|
760
|
+
(i.reversed && i.loop !== !0 || g === "alternate" && i.loop === 1) && i.remaining++, m(i.reversed ? i.duration : 0);
|
|
761
|
+
}, i._onDocumentVisibility = l, i.set = function(g, d) {
|
|
762
|
+
return Or(g, d), i;
|
|
763
|
+
}, i.tick = function(g) {
|
|
764
|
+
a = g, e || (e = a), M((a + (n - e)) * x.speed);
|
|
765
|
+
}, i.seek = function(g) {
|
|
766
|
+
M(s(g));
|
|
767
|
+
}, i.pause = function() {
|
|
768
|
+
i.paused = !0, l();
|
|
769
|
+
}, i.play = function() {
|
|
770
|
+
i.paused && (i.completed && i.reset(), i.paused = !1, C.push(i), l(), Sr());
|
|
771
|
+
}, i.reverse = function() {
|
|
772
|
+
p(), i.completed = !i.reversed, l();
|
|
773
|
+
}, i.restart = function() {
|
|
774
|
+
i.reset(), i.play();
|
|
775
|
+
}, i.remove = function(g) {
|
|
776
|
+
var d = ur(g);
|
|
777
|
+
Lr(d, i);
|
|
778
|
+
}, i.reset(), i.autoplay && i.play(), i;
|
|
779
|
+
}
|
|
780
|
+
function hr(r, e) {
|
|
781
|
+
for (var n = e.length; n--; )
|
|
782
|
+
X(r, e[n].animatable.target) && e.splice(n, 1);
|
|
783
|
+
}
|
|
784
|
+
function Lr(r, e) {
|
|
785
|
+
var n = e.animations, a = e.children;
|
|
786
|
+
hr(r, n);
|
|
787
|
+
for (var t = a.length; t--; ) {
|
|
788
|
+
var u = a[t], o = u.animations;
|
|
789
|
+
hr(r, o), !o.length && !u.children.length && a.splice(t, 1);
|
|
790
|
+
}
|
|
791
|
+
!n.length && !a.length && e.pause();
|
|
792
|
+
}
|
|
793
|
+
function ue(r) {
|
|
794
|
+
for (var e = ur(r), n = C.length; n--; ) {
|
|
795
|
+
var a = C[n];
|
|
796
|
+
Lr(e, a);
|
|
797
|
+
}
|
|
798
|
+
}
|
|
799
|
+
function oe(r, e) {
|
|
800
|
+
e === void 0 && (e = {});
|
|
801
|
+
var n = e.direction || "normal", a = e.easing ? G(e.easing) : null, t = e.grid, u = e.axis, o = e.from || 0, f = o === "first", i = o === "center", p = o === "last", s = c.arr(r), l = parseFloat(s ? r[0] : r), h = s ? parseFloat(r[1]) : 0, w = O(s ? r[1] : r) || 0, m = e.start || 0 + (s ? l : 0), v = [], y = 0;
|
|
802
|
+
return function(M, g, d) {
|
|
803
|
+
if (f && (o = 0), i && (o = (d - 1) / 2), p && (o = d - 1), !v.length) {
|
|
804
|
+
for (var P = 0; P < d; P++) {
|
|
805
|
+
if (!t)
|
|
806
|
+
v.push(Math.abs(o - P));
|
|
807
|
+
else {
|
|
808
|
+
var E = i ? (t[0] - 1) / 2 : o % t[0], b = i ? (t[1] - 1) / 2 : Math.floor(o / t[0]), S = P % t[0], F = Math.floor(P / t[0]), L = E - S, T = b - F, A = Math.sqrt(L * L + T * T);
|
|
809
|
+
u === "x" && (A = -L), u === "y" && (A = -T), v.push(A);
|
|
810
|
+
}
|
|
811
|
+
y = Math.max.apply(Math, v);
|
|
812
|
+
}
|
|
813
|
+
a && (v = v.map(function(I) {
|
|
814
|
+
return a(I / y) * y;
|
|
815
|
+
})), n === "reverse" && (v = v.map(function(I) {
|
|
816
|
+
return u ? I < 0 ? I * -1 : -I : Math.abs(y - I);
|
|
817
|
+
}));
|
|
818
|
+
}
|
|
819
|
+
var H = s ? (h - l) / y : l;
|
|
820
|
+
return m + H * (Math.round(v[g] * 100) / 100) + w;
|
|
821
|
+
};
|
|
822
|
+
}
|
|
823
|
+
function fe(r) {
|
|
824
|
+
r === void 0 && (r = {});
|
|
825
|
+
var e = x(r);
|
|
826
|
+
return e.duration = 0, e.add = function(n, a) {
|
|
827
|
+
var t = C.indexOf(e), u = e.children;
|
|
828
|
+
t > -1 && C.splice(t, 1);
|
|
829
|
+
function o(h) {
|
|
830
|
+
h.passThrough = !0;
|
|
831
|
+
}
|
|
832
|
+
for (var f = 0; f < u.length; f++)
|
|
833
|
+
o(u[f]);
|
|
834
|
+
var i = N(n, _(Y, r));
|
|
835
|
+
i.targets = i.targets || r.targets;
|
|
836
|
+
var p = e.duration;
|
|
837
|
+
i.autoplay = !1, i.direction = e.direction, i.timelineOffset = c.und(a) ? p : ar(a, p), o(e), e.seek(i.timelineOffset);
|
|
838
|
+
var s = x(i);
|
|
839
|
+
o(s), u.push(s);
|
|
840
|
+
var l = Er(u, r);
|
|
841
|
+
return e.delay = l.delay, e.endDelay = l.endDelay, e.duration = l.duration, e.seek(0), e.reset(), e.autoplay && e.play(), e;
|
|
842
|
+
}, e;
|
|
843
|
+
}
|
|
844
|
+
x.version = "3.2.1";
|
|
845
|
+
x.speed = 1;
|
|
846
|
+
x.suspendWhenDocumentHidden = !0;
|
|
847
|
+
x.running = C;
|
|
848
|
+
x.remove = ue;
|
|
849
|
+
x.get = tr;
|
|
850
|
+
x.set = Or;
|
|
851
|
+
x.convertPx = er;
|
|
852
|
+
x.path = Jr;
|
|
853
|
+
x.setDashoffset = Kr;
|
|
854
|
+
x.stagger = oe;
|
|
855
|
+
x.timeline = fe;
|
|
856
|
+
x.easing = G;
|
|
857
|
+
x.penner = br;
|
|
858
|
+
x.random = function(r, e) {
|
|
859
|
+
return Math.floor(Math.random() * (e - r + 1)) + r;
|
|
860
|
+
};
|
|
861
|
+
export {
|
|
862
|
+
x as anime
|
|
863
|
+
};
|