@fluidattacks/design 1.2.9 → 1.2.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/design.js +141 -62
- package/dist/design.mjs +772 -685
- package/dist/node_modules/@cloudinary/react/index.d.ts +4 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/adjust/By3dLutAction.d.ts +16 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/adjust/FillLightAction.d.ts +23 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/adjust/ImproveAction.d.ts +28 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/adjust/OpacityAdjustAction.d.ts +15 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/adjust/RecolorAction.d.ts +12 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/adjust/ReplaceColorAction.d.ts +36 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/adjust/simple/ViesusCorrectAdjustAction.d.ts +22 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/adjust.d.ts +263 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/animated.d.ts +54 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/border.d.ts +101 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/customFunction/CustomFunctionAction.d.ts +30 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/customFunction/RemoteAction.d.ts +6 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/customFunction.d.ts +25 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/delivery/DeliveryAction.d.ts +19 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/delivery/DeliveryColorSpaceAction.d.ts +20 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/delivery/DeliveryColorSpaceFromICCAction.d.ts +18 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/delivery/DeliveryDPRAction.d.ts +19 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/delivery/DeliveryFormatAction.d.ts +29 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/delivery/DeliveryQualityAction.d.ts +28 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/delivery.d.ts +156 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/effect/AssistColorBlind.d.ts +27 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/effect/BackgroundRemoval.d.ts +19 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/effect/Blur.d.ts +29 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/effect/Cartoonify.d.ts +38 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/effect/Colorize.d.ts +19 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/effect/Dither.d.ts +20 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/effect/DropShadow.d.ts +40 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/effect/EffectActions/EffectActionWithBlend.d.ts +11 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/effect/EffectActions/EffectActionWithLevel.d.ts +11 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/effect/EffectActions/EffectActionWithStrength.d.ts +12 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/effect/EffectActions/LeveledEffectAction.d.ts +23 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/effect/EffectActions/SimpleEffectAction.d.ts +18 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/effect/Extract.d.ts +23 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/effect/GenerativeBackgroundReplace.d.ts +16 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/effect/GenerativeRecolor.d.ts +21 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/effect/GenerativeRemove.d.ts +25 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/effect/GenerativeReplace.d.ts +22 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/effect/GradientFade.d.ts +37 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/effect/Outline.d.ts +48 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/effect/RemoveBackgroundAction.d.ts +31 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/effect/Shadow.d.ts +42 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/effect/SimulateColorBlind.d.ts +23 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/effect/StyleTransfer.d.ts +43 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/effect/Theme.d.ts +24 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/effect/Vectorize.d.ts +51 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/effect/leveled/Accelerate.d.ts +17 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/effect/leveled/Blackwhite.d.ts +11 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/effect/leveled/Deshake.d.ts +21 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/effect/leveled/FadeIn.d.ts +21 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/effect/leveled/FadeOut.d.ts +21 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/effect/leveled/Loop.d.ts +13 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/effect/leveled/MakeTransparent.d.ts +26 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/effect/pixelate/Pixelate.d.ts +29 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/effect.d.ts +516 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/layer/LayerAction.d.ts +75 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/namedTransformation/NamedTransformationAction.d.ts +15 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/namedTransformation.d.ts +27 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/overlay.d.ts +48 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/psdTools/ClipAction.d.ts +31 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/psdTools/GetLayerAction.d.ts +31 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/psdTools/SmartObjectAction.d.ts +26 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/psdTools.d.ts +78 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/resize/ResizeAdvancedAction.d.ts +20 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/resize/ResizeAutoPadAction.d.ts +22 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/resize/ResizeCropAction.d.ts +27 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/resize/ResizeFillAction.d.ts +22 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/resize/ResizeLimitFillAction.d.ts +10 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/resize/ResizeLimitFitAction.d.ts +10 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/resize/ResizeLimitPadAction.d.ts +11 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/resize/ResizeMinimumPadAction.d.ts +11 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/resize/ResizePadAction.d.ts +31 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/resize/ResizeScaleAction.d.ts +16 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/resize/ResizeSimpleAction.d.ts +52 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/resize/ThumbnailAction.d.ts +17 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/resize.d.ts +234 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/rotate/RotateAction.d.ts +34 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/rotate.d.ts +26 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/roundCorners/RoundCornersAction.d.ts +29 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/roundCorners.d.ts +30 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/transcode/AudioCodecAction.d.ts +17 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/transcode/AudioFrequencyAction.d.ts +17 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/transcode/BitRateAction.d.ts +24 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/transcode/FPSAction.d.ts +20 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/transcode/FPSRangeAction.d.ts +20 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/transcode/KeyframeIntervalsAction.d.ts +15 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/transcode/StreamingProfile.d.ts +17 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/transcode/ToAnimatedAction.d.ts +29 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/transcode/VideoCodecAction.d.ts +16 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/transcode.d.ts +197 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/underlay.d.ts +50 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/videoEdit/ConcatenateAction.d.ts +56 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/videoEdit/PreviewAction.d.ts +37 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/videoEdit/TrimAction.d.ts +50 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/videoEdit/VolumeAction.d.ts +15 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/videoEdit.d.ts +117 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions.d.ts +15 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/backwards/createCloudinaryLegacyURL.d.ts +2 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/backwards/expression.d.ts +160 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/backwards/transformation.d.ts +191 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/index.d.ts +6 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/internal/Action.d.ts +45 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/internal/RawAction.d.ts +14 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/internal/models/ActionModel.d.ts +7 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/internal/models/IAudioSourceModel.d.ts +12 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/internal/models/IErrorObject.d.ts +9 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/internal/models/IFetchSourceModel.d.ts +13 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/internal/models/IImageSourceModel.d.ts +12 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/internal/models/IStrokeModel.d.ts +12 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/internal/models/ITextSourceModel.d.ts +19 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/internal/models/QualifierModel.d.ts +7 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/internal/models/actionToJson.d.ts +7 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/internal/models/createGravityModel.d.ts +28 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/internal/models/qualifierToJson.d.ts +7 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/internal/qualifier/Qualifier.d.ts +15 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/internal/qualifier/QualifierValue.d.ts +37 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/GradientFade.d.ts +24 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/animatedFormat/AnimatedFormatQualifierValue.d.ts +8 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/animatedFormat.d.ts +39 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/artisticFilter.d.ts +136 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/aspectRatio/AspectRatioQualifierValue.d.ts +7 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/aspectRatio.d.ts +68 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/audioCodec.d.ts +40 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/audioFrequency.d.ts +100 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/autoFocus.d.ts +58 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/background/shared/BackgroundGenerativeFillQualifier.d.ts +20 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/background/shared/BlurredBackgroundAction.d.ts +29 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/background/shared/auto/BackgroundAutoBorderQualifier.d.ts +16 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/background/shared/auto/BackgroundAutoPredominantQualifier.d.ts +16 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/background/shared/base/BackgroundQualifier.d.ts +10 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/background/shared/base/BaseCommonBackground.d.ts +24 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/background/shared/base/BaseGradientBackground.d.ts +27 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/background/shared/gradient/BackgroundBorderGradientQualifier.d.ts +16 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/background/shared/gradient/BackgroundPredominantGradientQualifier.d.ts +16 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/background.d.ts +85 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/blendMode/BlendModeQualifier.d.ts +16 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/chromaSubSampling.d.ts +23 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/color.d.ts +685 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/colorSpace.d.ts +33 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/dither.d.ts +123 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/dpr.d.ts +16 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/expression/ExpressionQualifier.d.ts +12 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/expression.d.ts +18 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/flag/FlagQualifier.d.ts +14 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/focusOn.d.ts +256 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/fontHinting.d.ts +35 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/fontStyle.d.ts +23 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/fontWeight.d.ts +35 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/format/FormatQualifier.d.ts +11 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/format.d.ts +522 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/gradientDirection/GradientDirectionQualifierValue.d.ts +8 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/gradientDirection.d.ts +41 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/gravity/GravityQualifier.d.ts +22 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/gravity/autoGravity/AutoGravity.d.ts +16 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/gravity/compassGravity/CompassGravity.d.ts +13 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/gravity/focusOnGravity/FocusOnGravity.d.ts +17 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/gravity/qualifiers/compass/CompassQualifier.d.ts +12 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/gravity/qualifiers/focusOn/FocusOnValue.d.ts +11 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/gravity/xyCenterGravity/XYCenterGravity.d.ts +10 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/gravity.d.ts +97 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/improveMode.d.ts +33 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/outlineMode.d.ts +33 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/position/PositionQualifier.d.ts +43 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/position.d.ts +13 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/progressive.d.ts +28 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/quality.d.ts +81 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/region/CustomRegion.d.ts +30 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/region/NamedRegion.d.ts +10 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/region/RectangleRegion.d.ts +17 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/region.d.ts +42 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/rotate/RotationModeQualifierValue.d.ts +12 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/rotationMode.d.ts +45 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/simulateColorBlind.d.ts +59 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/source/BaseSource.d.ts +32 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/source/sourceTypes/AudioSource.d.ts +21 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/source/sourceTypes/BaseTextSource.d.ts +32 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/source/sourceTypes/FetchSource.d.ts +43 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/source/sourceTypes/ImageSource.d.ts +43 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/source/sourceTypes/SubtitlesSource.d.ts +28 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/source/sourceTypes/TextSource.d.ts +14 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/source/sourceTypes/VideoSource.d.ts +32 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/source.d.ts +72 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/streamingProfile.d.ts +51 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/textAlignment.d.ts +47 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/textDecoration.d.ts +29 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/textStroke.d.ts +21 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/textStyle.d.ts +71 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/video/TimelinePosition.d.ts +29 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/videoCodecType/VideoCodecType.d.ts +43 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers.d.ts +31 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/transformation/ImageTransformation.d.ts +9 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/transformation/Transformation.d.ts +196 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/transformation/VideoTransformation.d.ts +9 -0
- package/dist/node_modules/@cloudinary/url-gen/actions/adjust.d.ts +3 -0
- package/dist/node_modules/@cloudinary/url-gen/actions/animated.d.ts +8 -0
- package/dist/node_modules/@cloudinary/url-gen/actions/border.d.ts +3 -0
- package/dist/node_modules/@cloudinary/url-gen/actions/customFunction.d.ts +2 -0
- package/dist/node_modules/@cloudinary/url-gen/actions/delivery.d.ts +2 -0
- package/dist/node_modules/@cloudinary/url-gen/actions/effect.d.ts +2 -0
- package/dist/node_modules/@cloudinary/url-gen/actions/namedTransformation.d.ts +2 -0
- package/dist/node_modules/@cloudinary/url-gen/actions/overlay.d.ts +2 -0
- package/dist/node_modules/@cloudinary/url-gen/actions/psdTools.d.ts +2 -0
- package/dist/node_modules/@cloudinary/url-gen/actions/resize.d.ts +3 -0
- package/dist/node_modules/@cloudinary/url-gen/actions/rotate.d.ts +2 -0
- package/dist/node_modules/@cloudinary/url-gen/actions/roundCorners.d.ts +2 -0
- package/dist/node_modules/@cloudinary/url-gen/actions/transcode.d.ts +2 -0
- package/dist/node_modules/@cloudinary/url-gen/actions/underlay.d.ts +2 -0
- package/dist/node_modules/@cloudinary/url-gen/actions/videoEdit.d.ts +2 -0
- package/dist/node_modules/@cloudinary/url-gen/actions.d.ts +15 -0
- package/dist/node_modules/@cloudinary/url-gen/assets/CloudinaryFile.d.ts +112 -0
- package/dist/node_modules/@cloudinary/url-gen/assets/CloudinaryImage.d.ts +12 -0
- package/dist/node_modules/@cloudinary/url-gen/assets/CloudinaryMedia.d.ts +33 -0
- package/dist/node_modules/@cloudinary/url-gen/assets/CloudinaryTransformable.d.ts +179 -0
- package/dist/node_modules/@cloudinary/url-gen/assets/CloudinaryVideo.d.ts +26 -0
- package/dist/node_modules/@cloudinary/url-gen/backwards/createCloudinaryLegacyURL.d.ts +2 -0
- package/dist/node_modules/@cloudinary/url-gen/backwards/expression.d.ts +160 -0
- package/dist/node_modules/@cloudinary/url-gen/backwards/generateTransformationString.d.ts +14 -0
- package/dist/node_modules/@cloudinary/url-gen/backwards/transformation.d.ts +191 -0
- package/dist/node_modules/@cloudinary/url-gen/config/BaseConfig.d.ts +4 -0
- package/dist/node_modules/@cloudinary/url-gen/config/CloudConfig.d.ts +26 -0
- package/dist/node_modules/@cloudinary/url-gen/config/CloudinaryConfig.d.ts +22 -0
- package/dist/node_modules/@cloudinary/url-gen/config/URLConfig.d.ts +61 -0
- package/dist/node_modules/@cloudinary/url-gen/index.d.ts +16 -0
- package/dist/node_modules/@cloudinary/url-gen/instance/Cloudinary.d.ts +13 -0
- package/dist/node_modules/@cloudinary/url-gen/qualifiers/GradientFade.d.ts +2 -0
- package/dist/node_modules/@cloudinary/url-gen/qualifiers/animatedFormat.d.ts +2 -0
- package/dist/node_modules/@cloudinary/url-gen/qualifiers/artisticFilter.d.ts +2 -0
- package/dist/node_modules/@cloudinary/url-gen/qualifiers/aspectRatio.d.ts +2 -0
- package/dist/node_modules/@cloudinary/url-gen/qualifiers/audioCodec.d.ts +2 -0
- package/dist/node_modules/@cloudinary/url-gen/qualifiers/audioFrequency.d.ts +2 -0
- package/dist/node_modules/@cloudinary/url-gen/qualifiers/background.d.ts +2 -0
- package/dist/node_modules/@cloudinary/url-gen/qualifiers/chromaSubSampling.d.ts +2 -0
- package/dist/node_modules/@cloudinary/url-gen/qualifiers/color.d.ts +3 -0
- package/dist/node_modules/@cloudinary/url-gen/qualifiers/colorSpace.d.ts +2 -0
- package/dist/node_modules/@cloudinary/url-gen/qualifiers/dither.d.ts +2 -0
- package/dist/node_modules/@cloudinary/url-gen/qualifiers/dpr.d.ts +2 -0
- package/dist/node_modules/@cloudinary/url-gen/qualifiers/expression.d.ts +2 -0
- package/dist/node_modules/@cloudinary/url-gen/qualifiers/fontHinting.d.ts +2 -0
- package/dist/node_modules/@cloudinary/url-gen/qualifiers/fontStyle.d.ts +2 -0
- package/dist/node_modules/@cloudinary/url-gen/qualifiers/fontWeight.d.ts +2 -0
- package/dist/node_modules/@cloudinary/url-gen/qualifiers/format.d.ts +2 -0
- package/dist/node_modules/@cloudinary/url-gen/qualifiers/gradientDirection.d.ts +2 -0
- package/dist/node_modules/@cloudinary/url-gen/qualifiers/gravity.d.ts +2 -0
- package/dist/node_modules/@cloudinary/url-gen/qualifiers/improveMode.d.ts +2 -0
- package/dist/node_modules/@cloudinary/url-gen/qualifiers/outlineMode.d.ts +2 -0
- package/dist/node_modules/@cloudinary/url-gen/qualifiers/position.d.ts +2 -0
- package/dist/node_modules/@cloudinary/url-gen/qualifiers/quality.d.ts +2 -0
- package/dist/node_modules/@cloudinary/url-gen/qualifiers/region.d.ts +2 -0
- package/dist/node_modules/@cloudinary/url-gen/qualifiers/rotationMode.d.ts +2 -0
- package/dist/node_modules/@cloudinary/url-gen/qualifiers/simulateColorBlind.d.ts +2 -0
- package/dist/node_modules/@cloudinary/url-gen/qualifiers/source.d.ts +2 -0
- package/dist/node_modules/@cloudinary/url-gen/qualifiers/streamingProfile.d.ts +2 -0
- package/dist/node_modules/@cloudinary/url-gen/qualifiers/textAlignment.d.ts +2 -0
- package/dist/node_modules/@cloudinary/url-gen/qualifiers/textDecoration.d.ts +2 -0
- package/dist/node_modules/@cloudinary/url-gen/qualifiers/textStroke.d.ts +2 -0
- package/dist/node_modules/@cloudinary/url-gen/qualifiers.d.ts +31 -0
- package/dist/node_modules/@cloudinary/url-gen/transformation/ImageTransformation.d.ts +2 -0
- package/dist/node_modules/@cloudinary/url-gen/transformation/Transformation.d.ts +2 -0
- package/dist/node_modules/@cloudinary/url-gen/transformation/VideoTransformation.d.ts +2 -0
- package/dist/src/components/accordion/styles.d.ts +6 -0
- package/dist/src/components/accordion/types.d.ts +29 -0
- package/dist/src/components/accordion/utils.d.ts +11 -0
- package/dist/src/components/button/styles.d.ts +1 -0
- package/dist/src/components/button/types.d.ts +7 -3
- package/dist/src/components/button/utils.d.ts +3 -0
- package/dist/src/components/cloud-image/index.d.ts +3 -3
- package/dist/src/components/cloud-image/types.d.ts +2 -2
- package/dist/src/components/grid-layout/styles.d.ts +8 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/dist/src/components/button/index.stories.d.ts +0 -10
- package/dist/src/components/container/index.stories.d.ts +0 -7
- package/dist/src/components/grid-layout/index.stories.d.ts +0 -5
- package/dist/src/components/tooltip/index.stories.d.ts +0 -8
package/dist/design.mjs
CHANGED
|
@@ -256,17 +256,17 @@ function jl(e) {
|
|
|
256
256
|
return Ol(En("", null, null, null, [""], e = Tl(e), 0, [0], e));
|
|
257
257
|
}
|
|
258
258
|
function En(e, t, r, n, o, i, s, l, u) {
|
|
259
|
-
for (var d = 0, h = 0, y = s, x = 0, b = 0, E = 0,
|
|
260
|
-
switch (E =
|
|
259
|
+
for (var d = 0, h = 0, y = s, x = 0, b = 0, E = 0, $ = 1, R = 1, A = 1, T = 0, C = "", j = o, I = i, L = n, k = C; R; )
|
|
260
|
+
switch (E = T, T = zt()) {
|
|
261
261
|
case 40:
|
|
262
262
|
if (E != 108 && et(k, y - 1) == 58) {
|
|
263
|
-
xn(k += X(To(
|
|
263
|
+
xn(k += X(To(T), "&", "&\f"), "&\f", pa(d ? l[d - 1] : 0)) != -1 && (A = -1);
|
|
264
264
|
break;
|
|
265
265
|
}
|
|
266
266
|
case 34:
|
|
267
267
|
case 39:
|
|
268
268
|
case 91:
|
|
269
|
-
k += To(
|
|
269
|
+
k += To(T);
|
|
270
270
|
break;
|
|
271
271
|
case 9:
|
|
272
272
|
case 10:
|
|
@@ -287,22 +287,22 @@ function En(e, t, r, n, o, i, s, l, u) {
|
|
|
287
287
|
k += "/";
|
|
288
288
|
}
|
|
289
289
|
break;
|
|
290
|
-
case 123 *
|
|
291
|
-
l[d++] = Ht(k) *
|
|
292
|
-
case 125 *
|
|
290
|
+
case 123 * $:
|
|
291
|
+
l[d++] = Ht(k) * A;
|
|
292
|
+
case 125 * $:
|
|
293
293
|
case 59:
|
|
294
294
|
case 0:
|
|
295
|
-
switch (
|
|
295
|
+
switch (T) {
|
|
296
296
|
case 0:
|
|
297
297
|
case 125:
|
|
298
298
|
R = 0;
|
|
299
299
|
case 59 + h:
|
|
300
|
-
|
|
300
|
+
A == -1 && (k = X(k, /\f/g, "")), b > 0 && Ht(k) - y && Yr(b > 32 ? ns(k + ";", n, r, y - 1, u) : ns(X(k, " ", "") + ";", n, r, y - 2, u), u);
|
|
301
301
|
break;
|
|
302
302
|
case 59:
|
|
303
303
|
k += ";";
|
|
304
304
|
default:
|
|
305
|
-
if (Yr(L = rs(k, t, r, d, h, o, l, C, j = [], I = [], y, i), i),
|
|
305
|
+
if (Yr(L = rs(k, t, r, d, h, o, l, C, j = [], I = [], y, i), i), T === 123)
|
|
306
306
|
if (h === 0)
|
|
307
307
|
En(k, t, L, L, j, i, y, l, I);
|
|
308
308
|
else
|
|
@@ -317,37 +317,37 @@ function En(e, t, r, n, o, i, s, l, u) {
|
|
|
317
317
|
En(k, L, L, L, [""], I, 0, l, I);
|
|
318
318
|
}
|
|
319
319
|
}
|
|
320
|
-
d = h = b = 0,
|
|
320
|
+
d = h = b = 0, $ = A = 1, C = k = "", y = s;
|
|
321
321
|
break;
|
|
322
322
|
case 58:
|
|
323
323
|
y = 1 + Ht(k), b = E;
|
|
324
324
|
default:
|
|
325
|
-
if (
|
|
326
|
-
if (
|
|
327
|
-
|
|
328
|
-
else if (
|
|
325
|
+
if ($ < 1) {
|
|
326
|
+
if (T == 123)
|
|
327
|
+
--$;
|
|
328
|
+
else if (T == 125 && $++ == 0 && Al() == 125)
|
|
329
329
|
continue;
|
|
330
330
|
}
|
|
331
|
-
switch (k += yi(
|
|
331
|
+
switch (k += yi(T), T * $) {
|
|
332
332
|
case 38:
|
|
333
|
-
|
|
333
|
+
A = h > 0 ? 1 : (k += "\f", -1);
|
|
334
334
|
break;
|
|
335
335
|
case 44:
|
|
336
|
-
l[d++] = (Ht(k) - 1) *
|
|
336
|
+
l[d++] = (Ht(k) - 1) * A, A = 1;
|
|
337
337
|
break;
|
|
338
338
|
case 64:
|
|
339
|
-
hr() === 45 && (k += To(zt())), x = hr(), h = y = Ht(C = k += Pl(Sn())),
|
|
339
|
+
hr() === 45 && (k += To(zt())), x = hr(), h = y = Ht(C = k += Pl(Sn())), T++;
|
|
340
340
|
break;
|
|
341
341
|
case 45:
|
|
342
|
-
E === 45 && Ht(k) == 2 && (
|
|
342
|
+
E === 45 && Ht(k) == 2 && ($ = 0);
|
|
343
343
|
}
|
|
344
344
|
}
|
|
345
345
|
return i;
|
|
346
346
|
}
|
|
347
347
|
function rs(e, t, r, n, o, i, s, l, u, d, h, y) {
|
|
348
|
-
for (var x = o - 1, b = o === 0 ? i : [""], E = ga(b),
|
|
349
|
-
for (var
|
|
350
|
-
(j = ha(R > 0 ? b[
|
|
348
|
+
for (var x = o - 1, b = o === 0 ? i : [""], E = ga(b), $ = 0, R = 0, A = 0; $ < n; ++$)
|
|
349
|
+
for (var T = 0, C = Cr(e, x + 1, x = pa(R = s[$])), j = e; T < E; ++T)
|
|
350
|
+
(j = ha(R > 0 ? b[T] + " " + C : X(C, /&\f/g, b[T]))) && (u[A++] = j);
|
|
351
351
|
return Un(e, t, r, o === 0 ? Bn : l, u, d, h, y);
|
|
352
352
|
}
|
|
353
353
|
function Il(e, t, r, n) {
|
|
@@ -881,16 +881,16 @@ var Ta = function(e) {
|
|
|
881
881
|
this.options = ft(ft({}, hu), t), this.gs = r, this.names = new Map(n), this.server = !!t.isServer, !this.server && On && ds && (ds = !1, fs(this)), wi(this, function() {
|
|
882
882
|
return function(i) {
|
|
883
883
|
for (var s = i.getTag(), l = s.length, u = "", d = function(y) {
|
|
884
|
-
var x = function(
|
|
885
|
-
return Cn.get(
|
|
884
|
+
var x = function(A) {
|
|
885
|
+
return Cn.get(A);
|
|
886
886
|
}(y);
|
|
887
887
|
if (x === void 0) return "continue";
|
|
888
888
|
var b = i.names.get(x), E = s.getGroup(y);
|
|
889
889
|
if (b === void 0 || !b.size || E.length === 0) return "continue";
|
|
890
|
-
var
|
|
891
|
-
b !== void 0 && b.forEach(function(
|
|
892
|
-
|
|
893
|
-
}), u += "".concat(E).concat(
|
|
890
|
+
var $ = "".concat(yr, ".g").concat(y, '[id="').concat(x, '"]'), R = "";
|
|
891
|
+
b !== void 0 && b.forEach(function(A) {
|
|
892
|
+
A.length > 0 && (R += "".concat(A, ","));
|
|
893
|
+
}), u += "".concat(E).concat($, '{content:"').concat(R, '"}').concat(vi);
|
|
894
894
|
}, h = 0; h < l; h++) d(h);
|
|
895
895
|
return u;
|
|
896
896
|
}(o);
|
|
@@ -942,14 +942,14 @@ function yu(e) {
|
|
|
942
942
|
h.push(function(x) {
|
|
943
943
|
x.type === Bn && x.value.includes("&") && (x.props[0] = x.props[0].replace(gu, r).replace(n, d));
|
|
944
944
|
}), s.prefix && h.push(Nl), h.push(Ml);
|
|
945
|
-
var y = function(x, b, E,
|
|
946
|
-
b === void 0 && (b = ""), E === void 0 && (E = ""),
|
|
947
|
-
var R = x.replace(mu, ""),
|
|
948
|
-
s.namespace && (
|
|
949
|
-
var
|
|
950
|
-
return Tn(
|
|
951
|
-
return
|
|
952
|
-
})))),
|
|
945
|
+
var y = function(x, b, E, $) {
|
|
946
|
+
b === void 0 && (b = ""), E === void 0 && (E = ""), $ === void 0 && ($ = "&"), t = $, r = b, n = new RegExp("\\".concat(r, "\\b"), "g");
|
|
947
|
+
var R = x.replace(mu, ""), A = jl(E || b ? "".concat(E, " ").concat(b, " { ").concat(R, " }") : R);
|
|
948
|
+
s.namespace && (A = Ca(A, s.namespace));
|
|
949
|
+
var T = [];
|
|
950
|
+
return Tn(A, Ll(h.concat(Dl(function(C) {
|
|
951
|
+
return T.push(C);
|
|
952
|
+
})))), T;
|
|
953
953
|
};
|
|
954
954
|
return y.hash = u.length ? u.reduce(function(x, b) {
|
|
955
955
|
return b.name || er(15), dr(x, b.name);
|
|
@@ -1075,16 +1075,16 @@ function Eu(e, t, r) {
|
|
|
1075
1075
|
return Co(j) ? "styled.".concat(j) : "Styled(".concat(xa(j), ")");
|
|
1076
1076
|
}(e) : h, x = t.displayName && t.componentId ? "".concat(is(t.displayName), "-").concat(t.componentId) : t.componentId || d, b = n && o.attrs ? o.attrs.concat(l).filter(Boolean) : l, E = t.shouldForwardProp;
|
|
1077
1077
|
if (n && o.shouldForwardProp) {
|
|
1078
|
-
var
|
|
1078
|
+
var $ = o.shouldForwardProp;
|
|
1079
1079
|
if (t.shouldForwardProp) {
|
|
1080
1080
|
var R = t.shouldForwardProp;
|
|
1081
1081
|
E = function(j, I) {
|
|
1082
|
-
return
|
|
1082
|
+
return $(j, I) && R(j, I);
|
|
1083
1083
|
};
|
|
1084
|
-
} else E =
|
|
1084
|
+
} else E = $;
|
|
1085
1085
|
}
|
|
1086
|
-
var
|
|
1087
|
-
function
|
|
1086
|
+
var A = new xu(r, x, n ? o.componentStyle : void 0);
|
|
1087
|
+
function T(j, I) {
|
|
1088
1088
|
return function(L, k, ge) {
|
|
1089
1089
|
var me = L.attrs, ue = L.componentStyle, Ne = L.defaultProps, je = L.foldedComponentIds, ye = L.styledComponentId, Y = L.target, _e = st.useContext(Rn), ne = ps(), oe = L.shouldForwardProp || ne.shouldForwardProp;
|
|
1090
1090
|
process.env.NODE_ENV !== "production" && es(ye);
|
|
@@ -1105,9 +1105,9 @@ function Eu(e, t, r) {
|
|
|
1105
1105
|
return q && (at += " " + q), ee.className && (at += " " + ee.className), se[Co(W) && !zo.has(W) ? "class" : "className"] = at, se.ref = ge, ul(W, se);
|
|
1106
1106
|
}(C, j, I);
|
|
1107
1107
|
}
|
|
1108
|
-
|
|
1109
|
-
var C = st.forwardRef(
|
|
1110
|
-
return C.attrs = b, C.componentStyle =
|
|
1108
|
+
T.displayName = y;
|
|
1109
|
+
var C = st.forwardRef(T);
|
|
1110
|
+
return C.attrs = b, C.componentStyle = A, C.displayName = y, C.shouldForwardProp = E, C.foldedComponentIds = n ? pr(o.foldedComponentIds, o.styledComponentId) : "", C.styledComponentId = x, C.target = n ? o.target : e, Object.defineProperty(C, "defaultProps", { get: function() {
|
|
1111
1111
|
return this._foldedDefaultProps;
|
|
1112
1112
|
}, set: function(j) {
|
|
1113
1113
|
this._foldedDefaultProps = n ? function(I) {
|
|
@@ -1211,15 +1211,15 @@ var Gr = {};
|
|
|
1211
1211
|
var ws;
|
|
1212
1212
|
function Tu() {
|
|
1213
1213
|
return ws || (ws = 1, process.env.NODE_ENV !== "production" && function() {
|
|
1214
|
-
var e = st, t = Symbol.for("react.element"), r = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), o = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), s = Symbol.for("react.provider"), l = Symbol.for("react.context"), u = Symbol.for("react.forward_ref"), d = Symbol.for("react.suspense"), h = Symbol.for("react.suspense_list"), y = Symbol.for("react.memo"), x = Symbol.for("react.lazy"), b = Symbol.for("react.offscreen"), E = Symbol.iterator,
|
|
1214
|
+
var e = st, t = Symbol.for("react.element"), r = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), o = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), s = Symbol.for("react.provider"), l = Symbol.for("react.context"), u = Symbol.for("react.forward_ref"), d = Symbol.for("react.suspense"), h = Symbol.for("react.suspense_list"), y = Symbol.for("react.memo"), x = Symbol.for("react.lazy"), b = Symbol.for("react.offscreen"), E = Symbol.iterator, $ = "@@iterator";
|
|
1215
1215
|
function R(f) {
|
|
1216
1216
|
if (f === null || typeof f != "object")
|
|
1217
1217
|
return null;
|
|
1218
|
-
var v = E && f[E] || f[
|
|
1218
|
+
var v = E && f[E] || f[$];
|
|
1219
1219
|
return typeof v == "function" ? v : null;
|
|
1220
1220
|
}
|
|
1221
|
-
var
|
|
1222
|
-
function
|
|
1221
|
+
var A = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
1222
|
+
function T(f) {
|
|
1223
1223
|
{
|
|
1224
1224
|
for (var v = arguments.length, S = new Array(v > 1 ? v - 1 : 0), N = 1; N < v; N++)
|
|
1225
1225
|
S[N - 1] = arguments[N];
|
|
@@ -1228,7 +1228,7 @@ function Tu() {
|
|
|
1228
1228
|
}
|
|
1229
1229
|
function C(f, v, S) {
|
|
1230
1230
|
{
|
|
1231
|
-
var N =
|
|
1231
|
+
var N = A.ReactDebugCurrentFrame, re = N.getStackAddendum();
|
|
1232
1232
|
re !== "" && (v += "%s", S = S.concat([re]));
|
|
1233
1233
|
var Z = S.map(function(Q) {
|
|
1234
1234
|
return String(Q);
|
|
@@ -1258,7 +1258,7 @@ function Tu() {
|
|
|
1258
1258
|
function ye(f) {
|
|
1259
1259
|
if (f == null)
|
|
1260
1260
|
return null;
|
|
1261
|
-
if (typeof f.tag == "number" &&
|
|
1261
|
+
if (typeof f.tag == "number" && T("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof f == "function")
|
|
1262
1262
|
return f.displayName || f.name || null;
|
|
1263
1263
|
if (typeof f == "string")
|
|
1264
1264
|
return f;
|
|
@@ -1359,10 +1359,10 @@ function Tu() {
|
|
|
1359
1359
|
})
|
|
1360
1360
|
});
|
|
1361
1361
|
}
|
|
1362
|
-
_e < 0 &&
|
|
1362
|
+
_e < 0 && T("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
1363
1363
|
}
|
|
1364
1364
|
}
|
|
1365
|
-
var qe =
|
|
1365
|
+
var qe = A.ReactCurrentDispatcher, Ge;
|
|
1366
1366
|
function ce(f, v, S) {
|
|
1367
1367
|
{
|
|
1368
1368
|
if (Ge === void 0)
|
|
@@ -1488,7 +1488,7 @@ function Tu() {
|
|
|
1488
1488
|
}
|
|
1489
1489
|
return "";
|
|
1490
1490
|
}
|
|
1491
|
-
var pt = Object.prototype.hasOwnProperty, Je = {}, ht =
|
|
1491
|
+
var pt = Object.prototype.hasOwnProperty, Je = {}, ht = A.ReactDebugCurrentFrame;
|
|
1492
1492
|
function le(f) {
|
|
1493
1493
|
if (f) {
|
|
1494
1494
|
var v = f._owner, S = Se(f.type, f._source, v ? v.type : null);
|
|
@@ -1511,7 +1511,7 @@ function Tu() {
|
|
|
1511
1511
|
} catch (V) {
|
|
1512
1512
|
H = V;
|
|
1513
1513
|
}
|
|
1514
|
-
H && !(H instanceof Error) && (le(re),
|
|
1514
|
+
H && !(H instanceof Error) && (le(re), T("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", N || "React class", S, Q, typeof H), le(null)), H instanceof Error && !(H.message in Je) && (Je[H.message] = !0, le(re), T("Failed %s type: %s", S, H.message), le(null));
|
|
1515
1515
|
}
|
|
1516
1516
|
}
|
|
1517
1517
|
}
|
|
@@ -1537,9 +1537,9 @@ function Tu() {
|
|
|
1537
1537
|
}
|
|
1538
1538
|
function vt(f) {
|
|
1539
1539
|
if (rt(f))
|
|
1540
|
-
return
|
|
1540
|
+
return T("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Rt(f)), ct(f);
|
|
1541
1541
|
}
|
|
1542
|
-
var Ke =
|
|
1542
|
+
var Ke = A.ReactCurrentOwner, St = {
|
|
1543
1543
|
key: !0,
|
|
1544
1544
|
ref: !0,
|
|
1545
1545
|
__self: !0,
|
|
@@ -1565,13 +1565,13 @@ function Tu() {
|
|
|
1565
1565
|
function be(f, v) {
|
|
1566
1566
|
if (typeof f.ref == "string" && Ke.current && v && Ke.current.stateNode !== v) {
|
|
1567
1567
|
var S = ye(Ke.current.type);
|
|
1568
|
-
He[S] || (
|
|
1568
|
+
He[S] || (T('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', ye(Ke.current.type), f.ref), He[S] = !0);
|
|
1569
1569
|
}
|
|
1570
1570
|
}
|
|
1571
1571
|
function Vt(f, v) {
|
|
1572
1572
|
{
|
|
1573
1573
|
var S = function() {
|
|
1574
|
-
Et || (Et = !0,
|
|
1574
|
+
Et || (Et = !0, T("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", v));
|
|
1575
1575
|
};
|
|
1576
1576
|
S.isReactWarning = !0, Object.defineProperty(f, "key", {
|
|
1577
1577
|
get: S,
|
|
@@ -1582,7 +1582,7 @@ function Tu() {
|
|
|
1582
1582
|
function Bt(f, v) {
|
|
1583
1583
|
{
|
|
1584
1584
|
var S = function() {
|
|
1585
|
-
It || (It = !0,
|
|
1585
|
+
It || (It = !0, T("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", v));
|
|
1586
1586
|
};
|
|
1587
1587
|
S.isReactWarning = !0, Object.defineProperty(f, "ref", {
|
|
1588
1588
|
get: S,
|
|
@@ -1637,7 +1637,7 @@ function Tu() {
|
|
|
1637
1637
|
return bt(f, H, Me, re, N, Ke.current, Q);
|
|
1638
1638
|
}
|
|
1639
1639
|
}
|
|
1640
|
-
var Ye =
|
|
1640
|
+
var Ye = A.ReactCurrentOwner, lt = A.ReactDebugCurrentFrame;
|
|
1641
1641
|
function ze(f) {
|
|
1642
1642
|
if (f) {
|
|
1643
1643
|
var v = f._owner, S = Se(f.type, f._source, v ? v.type : null);
|
|
@@ -1688,7 +1688,7 @@ Check the top-level render call using <` + S + ">.");
|
|
|
1688
1688
|
return;
|
|
1689
1689
|
D[S] = !0;
|
|
1690
1690
|
var N = "";
|
|
1691
|
-
f && f._owner && f._owner !== Ye.current && (N = " It was passed a child from " + ye(f._owner.type) + "."), ze(f),
|
|
1691
|
+
f && f._owner && f._owner !== Ye.current && (N = " It was passed a child from " + ye(f._owner.type) + "."), ze(f), T('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', S, N), ze(null);
|
|
1692
1692
|
}
|
|
1693
1693
|
}
|
|
1694
1694
|
function _t(f, v) {
|
|
@@ -1730,9 +1730,9 @@ Check the top-level render call using <` + S + ">.");
|
|
|
1730
1730
|
} else if (v.PropTypes !== void 0 && !Qe) {
|
|
1731
1731
|
Qe = !0;
|
|
1732
1732
|
var re = ye(v);
|
|
1733
|
-
|
|
1733
|
+
T("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", re || "Unknown");
|
|
1734
1734
|
}
|
|
1735
|
-
typeof v.getDefaultProps == "function" && !v.getDefaultProps.isReactClassApproved &&
|
|
1735
|
+
typeof v.getDefaultProps == "function" && !v.getDefaultProps.isReactClassApproved && T("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
1736
1736
|
}
|
|
1737
1737
|
}
|
|
1738
1738
|
function F(f) {
|
|
@@ -1740,11 +1740,11 @@ Check the top-level render call using <` + S + ">.");
|
|
|
1740
1740
|
for (var v = Object.keys(f.props), S = 0; S < v.length; S++) {
|
|
1741
1741
|
var N = v[S];
|
|
1742
1742
|
if (N !== "children" && N !== "key") {
|
|
1743
|
-
ze(f),
|
|
1743
|
+
ze(f), T("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", N), ze(null);
|
|
1744
1744
|
break;
|
|
1745
1745
|
}
|
|
1746
1746
|
}
|
|
1747
|
-
f.ref !== null && (ze(f),
|
|
1747
|
+
f.ref !== null && (ze(f), T("Invalid attribute `ref` supplied to `React.Fragment`."), ze(null));
|
|
1748
1748
|
}
|
|
1749
1749
|
}
|
|
1750
1750
|
function B(f, v, S, N, re, Z) {
|
|
@@ -1756,7 +1756,7 @@ Check the top-level render call using <` + S + ">.");
|
|
|
1756
1756
|
var Me = Xe();
|
|
1757
1757
|
Me ? H += Me : H += we();
|
|
1758
1758
|
var V;
|
|
1759
|
-
f === null ? V = "null" : yt(f) ? V = "array" : f !== void 0 && f.$$typeof === t ? (V = "<" + (ye(f.type) || "Unknown") + " />", H = " Did you accidentally export a JSX literal instead of a component?") : V = typeof f,
|
|
1759
|
+
f === null ? V = "null" : yt(f) ? V = "array" : f !== void 0 && f.$$typeof === t ? (V = "<" + (ye(f.type) || "Unknown") + " />", H = " Did you accidentally export a JSX literal instead of a component?") : V = typeof f, T("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", V, H);
|
|
1760
1760
|
}
|
|
1761
1761
|
var ae = wt(f, v, S, re, Z);
|
|
1762
1762
|
if (ae == null)
|
|
@@ -1770,7 +1770,7 @@ Check the top-level render call using <` + S + ">.");
|
|
|
1770
1770
|
_t(Ae[Ze], f);
|
|
1771
1771
|
Object.freeze && Object.freeze(Ae);
|
|
1772
1772
|
} else
|
|
1773
|
-
|
|
1773
|
+
T("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
1774
1774
|
else
|
|
1775
1775
|
_t(Ae, f);
|
|
1776
1776
|
}
|
|
@@ -1934,7 +1934,7 @@ const Ou = {
|
|
|
1934
1934
|
4.5: "4.5rem",
|
|
1935
1935
|
5: "5rem",
|
|
1936
1936
|
6: "6rem"
|
|
1937
|
-
},
|
|
1937
|
+
}, gv = [
|
|
1938
1938
|
"lock-keyhole",
|
|
1939
1939
|
"bolt",
|
|
1940
1940
|
"books",
|
|
@@ -1975,7 +1975,7 @@ const Ou = {
|
|
|
1975
1975
|
"user-group",
|
|
1976
1976
|
"user-hoodie",
|
|
1977
1977
|
"xmark"
|
|
1978
|
-
],
|
|
1978
|
+
], mv = [
|
|
1979
1979
|
["fal", "arrow-down"],
|
|
1980
1980
|
["fal", "arrow-left"],
|
|
1981
1981
|
["fal", "arrow-right"],
|
|
@@ -2001,7 +2001,7 @@ const Ou = {
|
|
|
2001
2001
|
gray: Ou,
|
|
2002
2002
|
gradients: Mu
|
|
2003
2003
|
}
|
|
2004
|
-
},
|
|
2004
|
+
}, yv = ({
|
|
2005
2005
|
children: e
|
|
2006
2006
|
}) => /* @__PURE__ */ Le.jsx(Su, { theme: De, children: e }), U = (e, t) => t === void 0 ? "" : `${e}: ${t};`, Hn = (e) => {
|
|
2007
2007
|
const t = e.py ?? e.pt ?? 0, r = e.px ?? e.pr ?? 0, n = e.py ?? e.pb ?? 0, o = e.px ?? e.pl ?? 0;
|
|
@@ -2048,7 +2048,7 @@ const Ou = {
|
|
|
2048
2048
|
), y = U(
|
|
2049
2049
|
"gap",
|
|
2050
2050
|
e.gap === void 0 ? void 0 : De.spacing[e.gap]
|
|
2051
|
-
), x = U("background-color", e.bgColor), b = U("background", e.bgGradient), E = U("flex-direction", e.flexDirection),
|
|
2051
|
+
), x = U("background-color", e.bgColor), b = U("background", e.bgGradient), E = U("flex-direction", e.flexDirection), $ = U("flex-grow", e.flexGrow), R = U("justify-content", e.justify), A = U("justify-self", e.justifySelf), T = U("align-items", e.alignItems), C = U("align-self", e.alignSelf), j = U("flex-wrap", e.wrap);
|
|
2052
2052
|
return `
|
|
2053
2053
|
${t}
|
|
2054
2054
|
${r}
|
|
@@ -2064,10 +2064,10 @@ const Ou = {
|
|
|
2064
2064
|
${b}
|
|
2065
2065
|
${y}
|
|
2066
2066
|
${E}
|
|
2067
|
-
${T}
|
|
2068
|
-
${R}
|
|
2069
2067
|
${$}
|
|
2068
|
+
${R}
|
|
2070
2069
|
${A}
|
|
2070
|
+
${T}
|
|
2071
2071
|
${C}
|
|
2072
2072
|
${j}
|
|
2073
2073
|
`;
|
|
@@ -2143,21 +2143,76 @@ const Ou = {
|
|
|
2143
2143
|
`, { getVariant: Wu } = ml(
|
|
2144
2144
|
(e) => ({
|
|
2145
2145
|
ghost: `
|
|
2146
|
+
background: ${e.palette.white};
|
|
2147
|
+
border: none;
|
|
2148
|
+
color: ${e.palette.gray[800]};
|
|
2149
|
+
--btn-padding: ${e.spacing[0.625]} ${e.spacing[0.5]};
|
|
2150
|
+
--btn-spacing: ${e.spacing[0.25]};
|
|
2151
|
+
|
|
2152
|
+
&:disabled {
|
|
2153
|
+
background: transparent;
|
|
2154
|
+
color: ${e.palette.gray[400]};
|
|
2155
|
+
cursor: not-allowed;
|
|
2156
|
+
}
|
|
2157
|
+
|
|
2158
|
+
&:hover:not([disabled]) {
|
|
2159
|
+
background-color: ${e.palette.gray[100]};
|
|
2160
|
+
}
|
|
2161
|
+
`,
|
|
2162
|
+
ghostWeb: `
|
|
2146
2163
|
background: transparent;
|
|
2147
2164
|
border: none;
|
|
2148
2165
|
color: ${e.palette.gray[800]};
|
|
2149
|
-
|
|
2166
|
+
|
|
2167
|
+
&.desktop {
|
|
2168
|
+
--btn-padding: ${e.spacing[0.5]};
|
|
2169
|
+
}
|
|
2170
|
+
&.mobile {
|
|
2171
|
+
--btn-padding: ${e.spacing[0.75]};
|
|
2172
|
+
}
|
|
2150
2173
|
|
|
2151
2174
|
&:disabled {
|
|
2152
2175
|
background: transparent;
|
|
2153
|
-
border: none;
|
|
2154
2176
|
color: ${e.palette.gray[300]};
|
|
2177
|
+
cursor: not-allowed;
|
|
2155
2178
|
}
|
|
2156
2179
|
|
|
2157
2180
|
&:hover:not([disabled]) {
|
|
2158
2181
|
background-color: ${e.palette.gray[100]};
|
|
2159
2182
|
}
|
|
2160
2183
|
`,
|
|
2184
|
+
link: `
|
|
2185
|
+
&.dark {
|
|
2186
|
+
color: ${e.palette.gray[200]};
|
|
2187
|
+
|
|
2188
|
+
&:hover {
|
|
2189
|
+
color: ${e.palette.gray[400]};
|
|
2190
|
+
}
|
|
2191
|
+
}
|
|
2192
|
+
&.light {
|
|
2193
|
+
color: ${e.palette.gray[800]};
|
|
2194
|
+
|
|
2195
|
+
&:hover {
|
|
2196
|
+
color: ${e.palette.gray[500]};
|
|
2197
|
+
}
|
|
2198
|
+
}
|
|
2199
|
+
`,
|
|
2200
|
+
primary: `
|
|
2201
|
+
background: ${e.palette.primary[500]};
|
|
2202
|
+
border: none;
|
|
2203
|
+
color: ${e.palette.white};
|
|
2204
|
+
--btn-spacing: ${e.spacing[0.25]};
|
|
2205
|
+
|
|
2206
|
+
&:disabled {
|
|
2207
|
+
background: ${e.palette.gray[200]};
|
|
2208
|
+
color: ${e.palette.gray[400]};
|
|
2209
|
+
cursor: not-allowed;
|
|
2210
|
+
}
|
|
2211
|
+
|
|
2212
|
+
&:hover:not([disabled]) {
|
|
2213
|
+
background-color: ${e.palette.primary[700]};
|
|
2214
|
+
}
|
|
2215
|
+
`,
|
|
2161
2216
|
primaryWeb: `
|
|
2162
2217
|
background:
|
|
2163
2218
|
linear-gradient(var(--animate-position), var(--color-1), var(--color-2));
|
|
@@ -2171,6 +2226,22 @@ const Ou = {
|
|
|
2171
2226
|
--color-2: ${e.palette.primary[700]};
|
|
2172
2227
|
}
|
|
2173
2228
|
`,
|
|
2229
|
+
secondary: `
|
|
2230
|
+
background: ${e.palette.gray[800]};
|
|
2231
|
+
border: none;
|
|
2232
|
+
color: ${e.palette.white};
|
|
2233
|
+
--btn-spacing: ${e.spacing[0.25]};
|
|
2234
|
+
|
|
2235
|
+
&:disabled {
|
|
2236
|
+
background: ${e.palette.gray[200]};
|
|
2237
|
+
color: ${e.palette.gray[400]};
|
|
2238
|
+
cursor: not-allowed;
|
|
2239
|
+
}
|
|
2240
|
+
|
|
2241
|
+
&:hover:not([disabled]) {
|
|
2242
|
+
background-color: ${e.palette.gray[600]};
|
|
2243
|
+
}
|
|
2244
|
+
`,
|
|
2174
2245
|
secondaryWeb: `
|
|
2175
2246
|
&.dark {
|
|
2176
2247
|
background: transparent;
|
|
@@ -2192,10 +2263,28 @@ const Ou = {
|
|
|
2192
2263
|
color: ${e.palette.white};
|
|
2193
2264
|
}
|
|
2194
2265
|
}
|
|
2266
|
+
`,
|
|
2267
|
+
tertiary: `
|
|
2268
|
+
background: transparent;
|
|
2269
|
+
border: 1px solid ${e.palette.primary[500]};
|
|
2270
|
+
color: ${e.palette.primary[500]};
|
|
2271
|
+
--btn-spacing: ${e.spacing[0.25]};
|
|
2272
|
+
|
|
2273
|
+
&:disabled {
|
|
2274
|
+
background: transparent;
|
|
2275
|
+
border: 1px solid ${e.palette.gray[200]};
|
|
2276
|
+
color: ${e.palette.gray[300]};
|
|
2277
|
+
cursor: not-allowed;
|
|
2278
|
+
}
|
|
2279
|
+
|
|
2280
|
+
&:hover:not([disabled]) {
|
|
2281
|
+
background-color: ${e.palette.primary[500]};
|
|
2282
|
+
color: ${e.palette.white};
|
|
2283
|
+
}
|
|
2195
2284
|
`
|
|
2196
2285
|
})
|
|
2197
2286
|
), qu = Ct.div.attrs({
|
|
2198
|
-
className: "max-w-min -z-1"
|
|
2287
|
+
className: "max-w-min max-h-min -z-1"
|
|
2199
2288
|
})`
|
|
2200
2289
|
${({ theme: e, $variant: t }) => `
|
|
2201
2290
|
&.dark {
|
|
@@ -2215,40 +2304,35 @@ const Ou = {
|
|
|
2215
2304
|
}
|
|
2216
2305
|
`}
|
|
2217
2306
|
`, Gu = Ct(zu)`
|
|
2218
|
-
${({ theme: e, $
|
|
2219
|
-
--btn-padding: ${
|
|
2307
|
+
${({ theme: e, $bold: t, $resolution: r, $variant: n }) => `
|
|
2308
|
+
--btn-padding: ${r === "desktop" || r === "platform" ? `${e.spacing[0.625]} ${e.spacing[1]}` : e.spacing[1]};
|
|
2220
2309
|
|
|
2221
2310
|
align-items: center;
|
|
2222
|
-
border-radius:
|
|
2311
|
+
border-radius: var(--btn-spacing);
|
|
2223
2312
|
cursor: pointer;
|
|
2224
2313
|
display: inline-flex;
|
|
2225
2314
|
font-family: ${e.typography.type.primary};
|
|
2226
|
-
font-size: ${
|
|
2227
|
-
font-weight: ${e.typography.weight.regular};
|
|
2228
|
-
gap:
|
|
2315
|
+
font-size: ${r === "desktop" ? e.typography.text.md : e.typography.text.sm};
|
|
2316
|
+
font-weight: ${t ? e.typography.weight.bold : e.typography.weight.regular};
|
|
2317
|
+
gap: var(--btn-spacing);
|
|
2229
2318
|
justify-content: center;
|
|
2230
|
-
line-height: ${e.spacing[1.5]};
|
|
2319
|
+
line-height: ${r === "platform" ? e.spacing[1.25] : e.spacing[1.5]};
|
|
2231
2320
|
padding: var(--btn-padding);
|
|
2232
2321
|
position: relative;
|
|
2233
2322
|
text-align: start;
|
|
2234
|
-
text-decoration: unset;
|
|
2235
2323
|
transition: all 0.5s ease;
|
|
2236
2324
|
white-space: nowrap;
|
|
2237
2325
|
|
|
2238
|
-
|
|
2239
|
-
cursor: not-allowed;
|
|
2240
|
-
}
|
|
2241
|
-
|
|
2242
|
-
${Wu(e, r ?? "primaryWeb")}
|
|
2326
|
+
${Wu(e, n ?? "primaryWeb")}
|
|
2243
2327
|
`}
|
|
2244
|
-
`, Hu = {
|
|
2328
|
+
`, Hu = ["primary", "secondary", "tertiary", "ghost"], Yu = (e) => Hu.includes(e ?? ""), Qu = {
|
|
2245
2329
|
xl: "96px",
|
|
2246
2330
|
lg: "64px",
|
|
2247
2331
|
md: "32px",
|
|
2248
2332
|
sm: "24px",
|
|
2249
2333
|
xs: "16px",
|
|
2250
2334
|
xxs: "12px"
|
|
2251
|
-
},
|
|
2335
|
+
}, Ju = Ct(Uu)`
|
|
2252
2336
|
${({
|
|
2253
2337
|
$clickable: e,
|
|
2254
2338
|
$color: t = "inherit",
|
|
@@ -2259,7 +2343,7 @@ const Ou = {
|
|
|
2259
2343
|
}) => `
|
|
2260
2344
|
color: ${t};
|
|
2261
2345
|
cursor: ${e ? "cursor" : "inherit"};
|
|
2262
|
-
font-size: ${
|
|
2346
|
+
font-size: ${Qu[i]};
|
|
2263
2347
|
line-height: 0;
|
|
2264
2348
|
vertical-align: middle;
|
|
2265
2349
|
pointer-events: inherit;
|
|
@@ -2301,7 +2385,7 @@ const Yo = Lr(function({
|
|
|
2301
2385
|
...y
|
|
2302
2386
|
}, x) {
|
|
2303
2387
|
return /* @__PURE__ */ Le.jsx(
|
|
2304
|
-
|
|
2388
|
+
Ju,
|
|
2305
2389
|
{
|
|
2306
2390
|
$clickable: t,
|
|
2307
2391
|
$color: s,
|
|
@@ -2320,12 +2404,12 @@ const Yo = Lr(function({
|
|
|
2320
2404
|
}), jr = Math.min, mr = Math.max, kn = Math.round, _n = Math.floor, sr = (e) => ({
|
|
2321
2405
|
x: e,
|
|
2322
2406
|
y: e
|
|
2323
|
-
}),
|
|
2407
|
+
}), Ku = {
|
|
2324
2408
|
left: "right",
|
|
2325
2409
|
right: "left",
|
|
2326
2410
|
bottom: "top",
|
|
2327
2411
|
top: "bottom"
|
|
2328
|
-
},
|
|
2412
|
+
}, Xu = {
|
|
2329
2413
|
start: "end",
|
|
2330
2414
|
end: "start"
|
|
2331
2415
|
};
|
|
@@ -2353,20 +2437,20 @@ function Ir(e) {
|
|
|
2353
2437
|
function xi(e) {
|
|
2354
2438
|
return La(Ir(e));
|
|
2355
2439
|
}
|
|
2356
|
-
function
|
|
2440
|
+
function Zu(e, t, r) {
|
|
2357
2441
|
r === void 0 && (r = !1);
|
|
2358
2442
|
const n = tn(e), o = xi(e), i = _i(o);
|
|
2359
2443
|
let s = o === "x" ? n === (r ? "end" : "start") ? "right" : "left" : n === "start" ? "bottom" : "top";
|
|
2360
2444
|
return t.reference[i] > t.floating[i] && (s = Pn(s)), [s, Pn(s)];
|
|
2361
2445
|
}
|
|
2362
|
-
function
|
|
2446
|
+
function ef(e) {
|
|
2363
2447
|
const t = Pn(e);
|
|
2364
2448
|
return [Jo(e), t, Jo(t)];
|
|
2365
2449
|
}
|
|
2366
2450
|
function Jo(e) {
|
|
2367
|
-
return e.replace(/start|end/g, (t) =>
|
|
2451
|
+
return e.replace(/start|end/g, (t) => Xu[t]);
|
|
2368
2452
|
}
|
|
2369
|
-
function
|
|
2453
|
+
function tf(e, t, r) {
|
|
2370
2454
|
const n = ["left", "right"], o = ["right", "left"], i = ["top", "bottom"], s = ["bottom", "top"];
|
|
2371
2455
|
switch (e) {
|
|
2372
2456
|
case "top":
|
|
@@ -2379,15 +2463,15 @@ function Zu(e, t, r) {
|
|
|
2379
2463
|
return [];
|
|
2380
2464
|
}
|
|
2381
2465
|
}
|
|
2382
|
-
function
|
|
2466
|
+
function rf(e, t, r, n) {
|
|
2383
2467
|
const o = tn(e);
|
|
2384
|
-
let i =
|
|
2468
|
+
let i = tf(br(e), r === "start", n);
|
|
2385
2469
|
return o && (i = i.map((s) => s + "-" + o), t && (i = i.concat(i.map(Jo)))), i;
|
|
2386
2470
|
}
|
|
2387
2471
|
function Pn(e) {
|
|
2388
|
-
return e.replace(/left|right|bottom|top/g, (t) =>
|
|
2472
|
+
return e.replace(/left|right|bottom|top/g, (t) => Ku[t]);
|
|
2389
2473
|
}
|
|
2390
|
-
function
|
|
2474
|
+
function nf(e) {
|
|
2391
2475
|
return {
|
|
2392
2476
|
top: 0,
|
|
2393
2477
|
right: 0,
|
|
@@ -2397,7 +2481,7 @@ function tf(e) {
|
|
|
2397
2481
|
};
|
|
2398
2482
|
}
|
|
2399
2483
|
function Da(e) {
|
|
2400
|
-
return typeof e != "number" ?
|
|
2484
|
+
return typeof e != "number" ? nf(e) : {
|
|
2401
2485
|
top: e,
|
|
2402
2486
|
right: e,
|
|
2403
2487
|
bottom: e,
|
|
@@ -2470,7 +2554,7 @@ function _s(e, t, r) {
|
|
|
2470
2554
|
}
|
|
2471
2555
|
return b;
|
|
2472
2556
|
}
|
|
2473
|
-
const
|
|
2557
|
+
const of = async (e, t, r) => {
|
|
2474
2558
|
const {
|
|
2475
2559
|
placement: n = "bottom",
|
|
2476
2560
|
strategy: o = "absolute",
|
|
@@ -2485,16 +2569,16 @@ const rf = async (e, t, r) => {
|
|
|
2485
2569
|
x: h,
|
|
2486
2570
|
y
|
|
2487
2571
|
} = _s(d, n, u), x = n, b = {}, E = 0;
|
|
2488
|
-
for (let
|
|
2572
|
+
for (let $ = 0; $ < l.length; $++) {
|
|
2489
2573
|
const {
|
|
2490
2574
|
name: R,
|
|
2491
|
-
fn:
|
|
2492
|
-
} = l[
|
|
2493
|
-
x:
|
|
2575
|
+
fn: A
|
|
2576
|
+
} = l[$], {
|
|
2577
|
+
x: T,
|
|
2494
2578
|
y: C,
|
|
2495
2579
|
data: j,
|
|
2496
2580
|
reset: I
|
|
2497
|
-
} = await
|
|
2581
|
+
} = await A({
|
|
2498
2582
|
x: h,
|
|
2499
2583
|
y,
|
|
2500
2584
|
initialPlacement: n,
|
|
@@ -2508,7 +2592,7 @@ const rf = async (e, t, r) => {
|
|
|
2508
2592
|
floating: t
|
|
2509
2593
|
}
|
|
2510
2594
|
});
|
|
2511
|
-
h =
|
|
2595
|
+
h = T ?? h, y = C ?? y, b = {
|
|
2512
2596
|
...b,
|
|
2513
2597
|
[R]: {
|
|
2514
2598
|
...b[R],
|
|
@@ -2521,7 +2605,7 @@ const rf = async (e, t, r) => {
|
|
|
2521
2605
|
}) : I.rects), {
|
|
2522
2606
|
x: h,
|
|
2523
2607
|
y
|
|
2524
|
-
} = _s(d, x, u)),
|
|
2608
|
+
} = _s(d, x, u)), $ = -1);
|
|
2525
2609
|
}
|
|
2526
2610
|
return {
|
|
2527
2611
|
x: h,
|
|
@@ -2547,12 +2631,12 @@ async function Na(e, t) {
|
|
|
2547
2631
|
elementContext: y = "floating",
|
|
2548
2632
|
altBoundary: x = !1,
|
|
2549
2633
|
padding: b = 0
|
|
2550
|
-
} = en(t, e), E = Da(b), R = l[x ? y === "floating" ? "reference" : "floating" : y],
|
|
2634
|
+
} = en(t, e), E = Da(b), R = l[x ? y === "floating" ? "reference" : "floating" : y], A = jn(await i.getClippingRect({
|
|
2551
2635
|
element: (r = await (i.isElement == null ? void 0 : i.isElement(R))) == null || r ? R : R.contextElement || await (i.getDocumentElement == null ? void 0 : i.getDocumentElement(l.floating)),
|
|
2552
2636
|
boundary: d,
|
|
2553
2637
|
rootBoundary: h,
|
|
2554
2638
|
strategy: u
|
|
2555
|
-
})),
|
|
2639
|
+
})), T = y === "floating" ? {
|
|
2556
2640
|
x: n,
|
|
2557
2641
|
y: o,
|
|
2558
2642
|
width: s.floating.width,
|
|
@@ -2565,18 +2649,18 @@ async function Na(e, t) {
|
|
|
2565
2649
|
y: 1
|
|
2566
2650
|
}, I = jn(i.convertOffsetParentRelativeRectToViewportRelativeRect ? await i.convertOffsetParentRelativeRectToViewportRelativeRect({
|
|
2567
2651
|
elements: l,
|
|
2568
|
-
rect:
|
|
2652
|
+
rect: T,
|
|
2569
2653
|
offsetParent: C,
|
|
2570
2654
|
strategy: u
|
|
2571
|
-
}) :
|
|
2655
|
+
}) : T);
|
|
2572
2656
|
return {
|
|
2573
|
-
top: (
|
|
2574
|
-
bottom: (I.bottom -
|
|
2575
|
-
left: (
|
|
2576
|
-
right: (I.right -
|
|
2657
|
+
top: (A.top - I.top + E.top) / j.y,
|
|
2658
|
+
bottom: (I.bottom - A.bottom + E.bottom) / j.y,
|
|
2659
|
+
left: (A.left - I.left + E.left) / j.x,
|
|
2660
|
+
right: (I.right - A.right + E.right) / j.x
|
|
2577
2661
|
};
|
|
2578
2662
|
}
|
|
2579
|
-
const
|
|
2663
|
+
const sf = (e) => ({
|
|
2580
2664
|
name: "arrow",
|
|
2581
2665
|
options: e,
|
|
2582
2666
|
async fn(t) {
|
|
@@ -2597,10 +2681,10 @@ const nf = (e) => ({
|
|
|
2597
2681
|
const y = Da(h), x = {
|
|
2598
2682
|
x: r,
|
|
2599
2683
|
y: n
|
|
2600
|
-
}, b = xi(o), E = _i(b),
|
|
2684
|
+
}, b = xi(o), E = _i(b), $ = await s.getDimensions(d), R = b === "y", A = R ? "top" : "left", T = R ? "bottom" : "right", C = R ? "clientHeight" : "clientWidth", j = i.reference[E] + i.reference[b] - x[b] - i.floating[E], I = x[b] - i.reference[b], L = await (s.getOffsetParent == null ? void 0 : s.getOffsetParent(d));
|
|
2601
2685
|
let k = L ? L[C] : 0;
|
|
2602
2686
|
(!k || !await (s.isElement == null ? void 0 : s.isElement(L))) && (k = l.floating[C] || i.floating[E]);
|
|
2603
|
-
const ge = j / 2 - I / 2, me = k / 2 -
|
|
2687
|
+
const ge = j / 2 - I / 2, me = k / 2 - $[E] / 2 - 1, ue = jr(y[A], me), Ne = jr(y[T], me), je = ue, ye = k - $[E] - Ne, Y = k / 2 - $[E] / 2 + ge, _e = Qo(je, Y, ye), ne = !u.arrow && tn(o) != null && Y !== _e && i.reference[E] / 2 - (Y < je ? ue : Ne) - $[E] / 2 < 0, oe = ne ? Y < je ? Y - je : Y - ye : 0;
|
|
2604
2688
|
return {
|
|
2605
2689
|
[b]: x[b] + oe,
|
|
2606
2690
|
data: {
|
|
@@ -2613,7 +2697,7 @@ const nf = (e) => ({
|
|
|
2613
2697
|
reset: ne
|
|
2614
2698
|
};
|
|
2615
2699
|
}
|
|
2616
|
-
}),
|
|
2700
|
+
}), af = function(e) {
|
|
2617
2701
|
return e === void 0 && (e = {}), {
|
|
2618
2702
|
name: "flip",
|
|
2619
2703
|
options: e,
|
|
@@ -2632,17 +2716,17 @@ const nf = (e) => ({
|
|
|
2632
2716
|
fallbackPlacements: x,
|
|
2633
2717
|
fallbackStrategy: b = "bestFit",
|
|
2634
2718
|
fallbackAxisSideDirection: E = "none",
|
|
2635
|
-
flipAlignment:
|
|
2719
|
+
flipAlignment: $ = !0,
|
|
2636
2720
|
...R
|
|
2637
2721
|
} = en(e, t);
|
|
2638
2722
|
if ((r = i.arrow) != null && r.alignmentOffset)
|
|
2639
2723
|
return {};
|
|
2640
|
-
const
|
|
2641
|
-
!x && L && I.push(...
|
|
2724
|
+
const A = br(o), T = Ir(l), C = br(l) === l, j = await (u.isRTL == null ? void 0 : u.isRTL(d.floating)), I = x || (C || !$ ? [Pn(l)] : ef(l)), L = E !== "none";
|
|
2725
|
+
!x && L && I.push(...rf(l, $, E, j));
|
|
2642
2726
|
const k = [l, ...I], ge = await Na(t, R), me = [];
|
|
2643
2727
|
let ue = ((n = i.flip) == null ? void 0 : n.overflows) || [];
|
|
2644
|
-
if (h && me.push(ge[
|
|
2645
|
-
const Y =
|
|
2728
|
+
if (h && me.push(ge[A]), y) {
|
|
2729
|
+
const Y = Zu(o, s, j);
|
|
2646
2730
|
me.push(ge[Y[0]], ge[Y[1]]);
|
|
2647
2731
|
}
|
|
2648
2732
|
if (ue = [...ue, {
|
|
@@ -2669,7 +2753,7 @@ const nf = (e) => ({
|
|
|
2669
2753
|
const oe = (ye = ue.filter((ie) => {
|
|
2670
2754
|
if (L) {
|
|
2671
2755
|
const ee = Ir(ie.placement);
|
|
2672
|
-
return ee ===
|
|
2756
|
+
return ee === T || // Create a bias to the `y` side axis due to horizontal
|
|
2673
2757
|
// reading directions favoring greater width.
|
|
2674
2758
|
ee === "y";
|
|
2675
2759
|
}
|
|
@@ -2693,7 +2777,7 @@ const nf = (e) => ({
|
|
|
2693
2777
|
}
|
|
2694
2778
|
};
|
|
2695
2779
|
};
|
|
2696
|
-
async function
|
|
2780
|
+
async function cf(e, t) {
|
|
2697
2781
|
const {
|
|
2698
2782
|
placement: r,
|
|
2699
2783
|
platform: n,
|
|
@@ -2720,7 +2804,7 @@ async function sf(e, t) {
|
|
|
2720
2804
|
y: b * h
|
|
2721
2805
|
};
|
|
2722
2806
|
}
|
|
2723
|
-
const
|
|
2807
|
+
const lf = function(e) {
|
|
2724
2808
|
return e === void 0 && (e = 0), {
|
|
2725
2809
|
name: "offset",
|
|
2726
2810
|
options: e,
|
|
@@ -2731,7 +2815,7 @@ const af = function(e) {
|
|
|
2731
2815
|
y: i,
|
|
2732
2816
|
placement: s,
|
|
2733
2817
|
middlewareData: l
|
|
2734
|
-
} = t, u = await
|
|
2818
|
+
} = t, u = await cf(t, e);
|
|
2735
2819
|
return s === ((r = l.offset) == null ? void 0 : r.placement) && (n = l.arrow) != null && n.alignmentOffset ? {} : {
|
|
2736
2820
|
x: o + u.x,
|
|
2737
2821
|
y: i + u.y,
|
|
@@ -2742,7 +2826,7 @@ const af = function(e) {
|
|
|
2742
2826
|
};
|
|
2743
2827
|
}
|
|
2744
2828
|
};
|
|
2745
|
-
},
|
|
2829
|
+
}, uf = function(e) {
|
|
2746
2830
|
return e === void 0 && (e = {}), {
|
|
2747
2831
|
name: "shift",
|
|
2748
2832
|
options: e,
|
|
@@ -2757,12 +2841,12 @@ const af = function(e) {
|
|
|
2757
2841
|
limiter: l = {
|
|
2758
2842
|
fn: (R) => {
|
|
2759
2843
|
let {
|
|
2760
|
-
x:
|
|
2761
|
-
y:
|
|
2844
|
+
x: A,
|
|
2845
|
+
y: T
|
|
2762
2846
|
} = R;
|
|
2763
2847
|
return {
|
|
2764
|
-
x:
|
|
2765
|
-
y:
|
|
2848
|
+
x: A,
|
|
2849
|
+
y: T
|
|
2766
2850
|
};
|
|
2767
2851
|
}
|
|
2768
2852
|
},
|
|
@@ -2773,23 +2857,23 @@ const af = function(e) {
|
|
|
2773
2857
|
}, h = await Na(t, u), y = Ir(br(o)), x = La(y);
|
|
2774
2858
|
let b = d[x], E = d[y];
|
|
2775
2859
|
if (i) {
|
|
2776
|
-
const R = x === "y" ? "top" : "left",
|
|
2777
|
-
b = Qo(
|
|
2860
|
+
const R = x === "y" ? "top" : "left", A = x === "y" ? "bottom" : "right", T = b + h[R], C = b - h[A];
|
|
2861
|
+
b = Qo(T, b, C);
|
|
2778
2862
|
}
|
|
2779
2863
|
if (s) {
|
|
2780
|
-
const R = y === "y" ? "top" : "left",
|
|
2781
|
-
E = Qo(
|
|
2864
|
+
const R = y === "y" ? "top" : "left", A = y === "y" ? "bottom" : "right", T = E + h[R], C = E - h[A];
|
|
2865
|
+
E = Qo(T, E, C);
|
|
2782
2866
|
}
|
|
2783
|
-
const
|
|
2867
|
+
const $ = l.fn({
|
|
2784
2868
|
...t,
|
|
2785
2869
|
[x]: b,
|
|
2786
2870
|
[y]: E
|
|
2787
2871
|
});
|
|
2788
2872
|
return {
|
|
2789
|
-
|
|
2873
|
+
...$,
|
|
2790
2874
|
data: {
|
|
2791
|
-
x:
|
|
2792
|
-
y:
|
|
2875
|
+
x: $.x - r,
|
|
2876
|
+
y: $.y - n,
|
|
2793
2877
|
enabled: {
|
|
2794
2878
|
[x]: i,
|
|
2795
2879
|
[y]: s
|
|
@@ -2834,7 +2918,7 @@ function rn(e) {
|
|
|
2834
2918
|
} = Wt(e);
|
|
2835
2919
|
return /auto|scroll|overlay|hidden|clip/.test(t + n + r) && !["inline", "contents"].includes(o);
|
|
2836
2920
|
}
|
|
2837
|
-
function
|
|
2921
|
+
function ff(e) {
|
|
2838
2922
|
return ["table", "td", "th"].includes(Nr(e));
|
|
2839
2923
|
}
|
|
2840
2924
|
function ro(e) {
|
|
@@ -2850,7 +2934,7 @@ function Si(e) {
|
|
|
2850
2934
|
const t = Ei(), r = Ut(e) ? Wt(e) : e;
|
|
2851
2935
|
return r.transform !== "none" || r.perspective !== "none" || (r.containerType ? r.containerType !== "normal" : !1) || !t && (r.backdropFilter ? r.backdropFilter !== "none" : !1) || !t && (r.filter ? r.filter !== "none" : !1) || ["transform", "perspective", "filter"].some((n) => (r.willChange || "").includes(n)) || ["paint", "layout", "strict", "content"].some((n) => (r.contain || "").includes(n));
|
|
2852
2936
|
}
|
|
2853
|
-
function
|
|
2937
|
+
function df(e) {
|
|
2854
2938
|
let t = ar(e);
|
|
2855
2939
|
for (; Yt(t) && !Mr(t); ) {
|
|
2856
2940
|
if (Si(t))
|
|
@@ -2936,15 +3020,15 @@ function Tr(e) {
|
|
|
2936
3020
|
y: l
|
|
2937
3021
|
};
|
|
2938
3022
|
}
|
|
2939
|
-
const
|
|
3023
|
+
const pf = /* @__PURE__ */ sr(0);
|
|
2940
3024
|
function za(e) {
|
|
2941
3025
|
const t = Pt(e);
|
|
2942
|
-
return !Ei() || !t.visualViewport ?
|
|
3026
|
+
return !Ei() || !t.visualViewport ? pf : {
|
|
2943
3027
|
x: t.visualViewport.offsetLeft,
|
|
2944
3028
|
y: t.visualViewport.offsetTop
|
|
2945
3029
|
};
|
|
2946
3030
|
}
|
|
2947
|
-
function
|
|
3031
|
+
function hf(e, t, r) {
|
|
2948
3032
|
return t === void 0 && (t = !1), !r || t && r !== Pt(e) ? !1 : t;
|
|
2949
3033
|
}
|
|
2950
3034
|
function wr(e, t, r, n) {
|
|
@@ -2952,14 +3036,14 @@ function wr(e, t, r, n) {
|
|
|
2952
3036
|
const o = e.getBoundingClientRect(), i = $i(e);
|
|
2953
3037
|
let s = sr(1);
|
|
2954
3038
|
t && (n ? Ut(n) && (s = Tr(n)) : s = Tr(e));
|
|
2955
|
-
const l =
|
|
3039
|
+
const l = hf(i, r, n) ? za(i) : sr(0);
|
|
2956
3040
|
let u = (o.left + l.x) / s.x, d = (o.top + l.y) / s.y, h = o.width / s.x, y = o.height / s.y;
|
|
2957
3041
|
if (i) {
|
|
2958
3042
|
const x = Pt(i), b = n && Ut(n) ? Pt(n) : n;
|
|
2959
|
-
let E = x,
|
|
2960
|
-
for (;
|
|
2961
|
-
const R = Tr(
|
|
2962
|
-
u *= R.x, d *= R.y, h *= R.x, y *= R.y, u += C, d += j, E = Pt(
|
|
3043
|
+
let E = x, $ = Ko(E);
|
|
3044
|
+
for (; $ && n && b !== E; ) {
|
|
3045
|
+
const R = Tr($), A = $.getBoundingClientRect(), T = Wt($), C = A.left + ($.clientLeft + parseFloat(T.paddingLeft)) * R.x, j = A.top + ($.clientTop + parseFloat(T.paddingTop)) * R.y;
|
|
3046
|
+
u *= R.x, d *= R.y, h *= R.x, y *= R.y, u += C, d += j, E = Pt($), $ = Ko(E);
|
|
2963
3047
|
}
|
|
2964
3048
|
}
|
|
2965
3049
|
return jn({
|
|
@@ -2969,7 +3053,7 @@ function wr(e, t, r, n) {
|
|
|
2969
3053
|
y: d
|
|
2970
3054
|
});
|
|
2971
3055
|
}
|
|
2972
|
-
function
|
|
3056
|
+
function gf(e) {
|
|
2973
3057
|
let {
|
|
2974
3058
|
elements: t,
|
|
2975
3059
|
rect: r,
|
|
@@ -2995,14 +3079,14 @@ function pf(e) {
|
|
|
2995
3079
|
y: r.y * d.y - u.scrollTop * d.y + h.y
|
|
2996
3080
|
};
|
|
2997
3081
|
}
|
|
2998
|
-
function
|
|
3082
|
+
function mf(e) {
|
|
2999
3083
|
return Array.from(e.getClientRects());
|
|
3000
3084
|
}
|
|
3001
3085
|
function Xo(e, t) {
|
|
3002
3086
|
const r = no(e).scrollLeft;
|
|
3003
3087
|
return t ? t.left + r : wr(Qt(e)).left + r;
|
|
3004
3088
|
}
|
|
3005
|
-
function
|
|
3089
|
+
function yf(e) {
|
|
3006
3090
|
const t = Qt(e), r = no(e), n = e.ownerDocument.body, o = mr(t.scrollWidth, t.clientWidth, n.scrollWidth, n.clientWidth), i = mr(t.scrollHeight, t.clientHeight, n.scrollHeight, n.clientHeight);
|
|
3007
3091
|
let s = -r.scrollLeft + Xo(e);
|
|
3008
3092
|
const l = -r.scrollTop;
|
|
@@ -3013,7 +3097,7 @@ function gf(e) {
|
|
|
3013
3097
|
y: l
|
|
3014
3098
|
};
|
|
3015
3099
|
}
|
|
3016
|
-
function
|
|
3100
|
+
function vf(e, t) {
|
|
3017
3101
|
const r = Pt(e), n = Qt(e), o = r.visualViewport;
|
|
3018
3102
|
let i = n.clientWidth, s = n.clientHeight, l = 0, u = 0;
|
|
3019
3103
|
if (o) {
|
|
@@ -3028,7 +3112,7 @@ function mf(e, t) {
|
|
|
3028
3112
|
y: u
|
|
3029
3113
|
};
|
|
3030
3114
|
}
|
|
3031
|
-
function
|
|
3115
|
+
function bf(e, t) {
|
|
3032
3116
|
const r = wr(e, !0, t === "fixed"), n = r.top + e.clientTop, o = r.left + e.clientLeft, i = Yt(e) ? Tr(e) : sr(1), s = e.clientWidth * i.x, l = e.clientHeight * i.y, u = o * i.x, d = n * i.y;
|
|
3033
3117
|
return {
|
|
3034
3118
|
width: s,
|
|
@@ -3040,11 +3124,11 @@ function yf(e, t) {
|
|
|
3040
3124
|
function Ss(e, t, r) {
|
|
3041
3125
|
let n;
|
|
3042
3126
|
if (t === "viewport")
|
|
3043
|
-
n =
|
|
3127
|
+
n = vf(e, r);
|
|
3044
3128
|
else if (t === "document")
|
|
3045
|
-
n =
|
|
3129
|
+
n = yf(Qt(e));
|
|
3046
3130
|
else if (Ut(t))
|
|
3047
|
-
n =
|
|
3131
|
+
n = bf(t, r);
|
|
3048
3132
|
else {
|
|
3049
3133
|
const o = za(e);
|
|
3050
3134
|
n = {
|
|
@@ -3059,7 +3143,7 @@ function Ua(e, t) {
|
|
|
3059
3143
|
const r = ar(e);
|
|
3060
3144
|
return r === t || !Ut(r) || Mr(r) ? !1 : Wt(r).position === "fixed" || Ua(r, t);
|
|
3061
3145
|
}
|
|
3062
|
-
function
|
|
3146
|
+
function wf(e, t) {
|
|
3063
3147
|
const r = t.get(e);
|
|
3064
3148
|
if (r)
|
|
3065
3149
|
return r;
|
|
@@ -3072,14 +3156,14 @@ function vf(e, t) {
|
|
|
3072
3156
|
}
|
|
3073
3157
|
return t.set(e, n), n;
|
|
3074
3158
|
}
|
|
3075
|
-
function
|
|
3159
|
+
function _f(e) {
|
|
3076
3160
|
let {
|
|
3077
3161
|
element: t,
|
|
3078
3162
|
boundary: r,
|
|
3079
3163
|
rootBoundary: n,
|
|
3080
3164
|
strategy: o
|
|
3081
3165
|
} = e;
|
|
3082
|
-
const s = [...r === "clippingAncestors" ? ro(t) ? [] :
|
|
3166
|
+
const s = [...r === "clippingAncestors" ? ro(t) ? [] : wf(t, this._c) : [].concat(r), n], l = s[0], u = s.reduce((d, h) => {
|
|
3083
3167
|
const y = Ss(t, h, o);
|
|
3084
3168
|
return d.top = mr(y.top, d.top), d.right = jr(y.right, d.right), d.bottom = jr(y.bottom, d.bottom), d.left = mr(y.left, d.left), d;
|
|
3085
3169
|
}, Ss(t, l, o));
|
|
@@ -3090,7 +3174,7 @@ function bf(e) {
|
|
|
3090
3174
|
y: u.top
|
|
3091
3175
|
};
|
|
3092
3176
|
}
|
|
3093
|
-
function
|
|
3177
|
+
function xf(e) {
|
|
3094
3178
|
const {
|
|
3095
3179
|
width: t,
|
|
3096
3180
|
height: r
|
|
@@ -3100,7 +3184,7 @@ function wf(e) {
|
|
|
3100
3184
|
height: r
|
|
3101
3185
|
};
|
|
3102
3186
|
}
|
|
3103
|
-
function
|
|
3187
|
+
function Sf(e, t, r) {
|
|
3104
3188
|
const n = Yt(t), o = Qt(t), i = r === "fixed", s = wr(e, !0, i, t);
|
|
3105
3189
|
let l = {
|
|
3106
3190
|
scrollLeft: 0,
|
|
@@ -3151,14 +3235,14 @@ function Wa(e, t) {
|
|
|
3151
3235
|
return r;
|
|
3152
3236
|
}
|
|
3153
3237
|
let n = Es(e, t);
|
|
3154
|
-
for (; n &&
|
|
3238
|
+
for (; n && ff(n) && ko(n); )
|
|
3155
3239
|
n = Es(n, t);
|
|
3156
|
-
return n && Mr(n) && ko(n) && !Si(n) ? r : n ||
|
|
3240
|
+
return n && Mr(n) && ko(n) && !Si(n) ? r : n || df(e) || r;
|
|
3157
3241
|
}
|
|
3158
|
-
const
|
|
3242
|
+
const Ef = async function(e) {
|
|
3159
3243
|
const t = this.getOffsetParent || Wa, r = this.getDimensions, n = await r(e.floating);
|
|
3160
3244
|
return {
|
|
3161
|
-
reference:
|
|
3245
|
+
reference: Sf(e.reference, await t(e.floating), e.strategy),
|
|
3162
3246
|
floating: {
|
|
3163
3247
|
x: 0,
|
|
3164
3248
|
y: 0,
|
|
@@ -3167,22 +3251,22 @@ const xf = async function(e) {
|
|
|
3167
3251
|
}
|
|
3168
3252
|
};
|
|
3169
3253
|
};
|
|
3170
|
-
function
|
|
3254
|
+
function $f(e) {
|
|
3171
3255
|
return Wt(e).direction === "rtl";
|
|
3172
3256
|
}
|
|
3173
|
-
const
|
|
3174
|
-
convertOffsetParentRelativeRectToViewportRelativeRect:
|
|
3257
|
+
const Af = {
|
|
3258
|
+
convertOffsetParentRelativeRectToViewportRelativeRect: gf,
|
|
3175
3259
|
getDocumentElement: Qt,
|
|
3176
|
-
getClippingRect:
|
|
3260
|
+
getClippingRect: _f,
|
|
3177
3261
|
getOffsetParent: Wa,
|
|
3178
|
-
getElementRects:
|
|
3179
|
-
getClientRects:
|
|
3180
|
-
getDimensions:
|
|
3262
|
+
getElementRects: Ef,
|
|
3263
|
+
getClientRects: mf,
|
|
3264
|
+
getDimensions: xf,
|
|
3181
3265
|
getScale: Tr,
|
|
3182
3266
|
isElement: Ut,
|
|
3183
|
-
isRTL:
|
|
3267
|
+
isRTL: $f
|
|
3184
3268
|
};
|
|
3185
|
-
function
|
|
3269
|
+
function Tf(e, t) {
|
|
3186
3270
|
let r = null, n;
|
|
3187
3271
|
const o = Qt(e);
|
|
3188
3272
|
function i() {
|
|
@@ -3199,8 +3283,8 @@ function $f(e, t) {
|
|
|
3199
3283
|
} = e.getBoundingClientRect();
|
|
3200
3284
|
if (l || t(), !y || !x)
|
|
3201
3285
|
return;
|
|
3202
|
-
const b = _n(h), E = _n(o.clientWidth - (d + y)),
|
|
3203
|
-
rootMargin: -b + "px " + -E + "px " +
|
|
3286
|
+
const b = _n(h), E = _n(o.clientWidth - (d + y)), $ = _n(o.clientHeight - (h + x)), R = _n(d), T = {
|
|
3287
|
+
rootMargin: -b + "px " + -E + "px " + -$ + "px " + -R + "px",
|
|
3204
3288
|
threshold: mr(0, jr(1, u)) || 1
|
|
3205
3289
|
};
|
|
3206
3290
|
let C = !0;
|
|
@@ -3217,18 +3301,18 @@ function $f(e, t) {
|
|
|
3217
3301
|
}
|
|
3218
3302
|
try {
|
|
3219
3303
|
r = new IntersectionObserver(j, {
|
|
3220
|
-
...
|
|
3304
|
+
...T,
|
|
3221
3305
|
// Handle <iframe>s
|
|
3222
3306
|
root: o.ownerDocument
|
|
3223
3307
|
});
|
|
3224
3308
|
} catch {
|
|
3225
|
-
r = new IntersectionObserver(j,
|
|
3309
|
+
r = new IntersectionObserver(j, T);
|
|
3226
3310
|
}
|
|
3227
3311
|
r.observe(e);
|
|
3228
3312
|
}
|
|
3229
3313
|
return s(!0), i;
|
|
3230
3314
|
}
|
|
3231
|
-
function
|
|
3315
|
+
function Of(e, t, r, n) {
|
|
3232
3316
|
n === void 0 && (n = {});
|
|
3233
3317
|
const {
|
|
3234
3318
|
ancestorScroll: o = !0,
|
|
@@ -3237,115 +3321,115 @@ function Af(e, t, r, n) {
|
|
|
3237
3321
|
layoutShift: l = typeof IntersectionObserver == "function",
|
|
3238
3322
|
animationFrame: u = !1
|
|
3239
3323
|
} = n, d = $i(e), h = o || i ? [...d ? Jr(d) : [], ...Jr(t)] : [];
|
|
3240
|
-
h.forEach((
|
|
3241
|
-
o &&
|
|
3324
|
+
h.forEach((A) => {
|
|
3325
|
+
o && A.addEventListener("scroll", r, {
|
|
3242
3326
|
passive: !0
|
|
3243
|
-
}), i &&
|
|
3327
|
+
}), i && A.addEventListener("resize", r);
|
|
3244
3328
|
});
|
|
3245
|
-
const y = d && l ?
|
|
3329
|
+
const y = d && l ? Tf(d, r) : null;
|
|
3246
3330
|
let x = -1, b = null;
|
|
3247
|
-
s && (b = new ResizeObserver((
|
|
3248
|
-
let [
|
|
3249
|
-
|
|
3331
|
+
s && (b = new ResizeObserver((A) => {
|
|
3332
|
+
let [T] = A;
|
|
3333
|
+
T && T.target === d && b && (b.unobserve(t), cancelAnimationFrame(x), x = requestAnimationFrame(() => {
|
|
3250
3334
|
var C;
|
|
3251
3335
|
(C = b) == null || C.observe(t);
|
|
3252
3336
|
})), r();
|
|
3253
3337
|
}), d && !u && b.observe(d), b.observe(t));
|
|
3254
|
-
let E,
|
|
3338
|
+
let E, $ = u ? wr(e) : null;
|
|
3255
3339
|
u && R();
|
|
3256
3340
|
function R() {
|
|
3257
|
-
const
|
|
3258
|
-
|
|
3341
|
+
const A = wr(e);
|
|
3342
|
+
$ && (A.x !== $.x || A.y !== $.y || A.width !== $.width || A.height !== $.height) && r(), $ = A, E = requestAnimationFrame(R);
|
|
3259
3343
|
}
|
|
3260
3344
|
return r(), () => {
|
|
3261
|
-
var
|
|
3262
|
-
h.forEach((
|
|
3263
|
-
o &&
|
|
3264
|
-
}), y == null || y(), (
|
|
3345
|
+
var A;
|
|
3346
|
+
h.forEach((T) => {
|
|
3347
|
+
o && T.removeEventListener("scroll", r), i && T.removeEventListener("resize", r);
|
|
3348
|
+
}), y == null || y(), (A = b) == null || A.disconnect(), b = null, u && cancelAnimationFrame(E);
|
|
3265
3349
|
};
|
|
3266
3350
|
}
|
|
3267
|
-
const qa =
|
|
3351
|
+
const qa = lf, Cf = uf, Ga = af, Rf = sf, $s = (e, t, r) => {
|
|
3268
3352
|
const n = /* @__PURE__ */ new Map(), o = {
|
|
3269
|
-
platform:
|
|
3353
|
+
platform: Af,
|
|
3270
3354
|
...r
|
|
3271
3355
|
}, i = {
|
|
3272
3356
|
...o.platform,
|
|
3273
3357
|
_c: n
|
|
3274
3358
|
};
|
|
3275
|
-
return
|
|
3359
|
+
return of(e, t, {
|
|
3276
3360
|
...o,
|
|
3277
3361
|
platform: i
|
|
3278
3362
|
});
|
|
3279
|
-
},
|
|
3363
|
+
}, kf = (e, t) => ({
|
|
3280
3364
|
...qa(e),
|
|
3281
3365
|
options: [e, t]
|
|
3282
|
-
}),
|
|
3366
|
+
}), Pf = (e, t) => ({
|
|
3283
3367
|
...Ga(e),
|
|
3284
3368
|
options: [e, t]
|
|
3285
3369
|
});
|
|
3286
|
-
var
|
|
3287
|
-
function
|
|
3288
|
-
var t = e && e.constructor, r = typeof t == "function" && t.prototype ||
|
|
3370
|
+
var jf = Object.prototype;
|
|
3371
|
+
function If(e) {
|
|
3372
|
+
var t = e && e.constructor, r = typeof t == "function" && t.prototype || jf;
|
|
3289
3373
|
return e === r;
|
|
3290
3374
|
}
|
|
3291
|
-
var Ha =
|
|
3292
|
-
function
|
|
3375
|
+
var Ha = If;
|
|
3376
|
+
function Mf(e, t) {
|
|
3293
3377
|
return function(r) {
|
|
3294
3378
|
return e(t(r));
|
|
3295
3379
|
};
|
|
3296
3380
|
}
|
|
3297
|
-
var
|
|
3298
|
-
function
|
|
3299
|
-
if (!
|
|
3300
|
-
return
|
|
3381
|
+
var Lf = Mf, Df = Lf, Nf = Df(Object.keys, Object), Ff = Nf, Vf = Ha, Bf = Ff, zf = Object.prototype, Uf = zf.hasOwnProperty;
|
|
3382
|
+
function Wf(e) {
|
|
3383
|
+
if (!Vf(e))
|
|
3384
|
+
return Bf(e);
|
|
3301
3385
|
var t = [];
|
|
3302
3386
|
for (var r in Object(e))
|
|
3303
|
-
|
|
3387
|
+
Uf.call(e, r) && r != "constructor" && t.push(r);
|
|
3304
3388
|
return t;
|
|
3305
3389
|
}
|
|
3306
|
-
var
|
|
3307
|
-
function
|
|
3308
|
-
var t =
|
|
3390
|
+
var qf = Wf, Gf = typeof mn == "object" && mn && mn.Object === Object && mn, Ya = Gf, Hf = Ya, Yf = typeof self == "object" && self && self.Object === Object && self, Qf = Hf || Yf || Function("return this")(), cr = Qf, Jf = cr, Kf = Jf.Symbol, Qa = Kf, As = Qa, Ja = Object.prototype, Xf = Ja.hasOwnProperty, Zf = Ja.toString, Hr = As ? As.toStringTag : void 0;
|
|
3391
|
+
function ed(e) {
|
|
3392
|
+
var t = Xf.call(e, Hr), r = e[Hr];
|
|
3309
3393
|
try {
|
|
3310
3394
|
e[Hr] = void 0;
|
|
3311
3395
|
var n = !0;
|
|
3312
3396
|
} catch {
|
|
3313
3397
|
}
|
|
3314
|
-
var o =
|
|
3398
|
+
var o = Zf.call(e);
|
|
3315
3399
|
return n && (t ? e[Hr] = r : delete e[Hr]), o;
|
|
3316
3400
|
}
|
|
3317
|
-
var
|
|
3318
|
-
function
|
|
3319
|
-
return
|
|
3401
|
+
var td = ed, rd = Object.prototype, nd = rd.toString;
|
|
3402
|
+
function od(e) {
|
|
3403
|
+
return nd.call(e);
|
|
3320
3404
|
}
|
|
3321
|
-
var
|
|
3322
|
-
function
|
|
3323
|
-
return e == null ? e === void 0 ?
|
|
3405
|
+
var id = od, Ts = Qa, sd = td, ad = id, cd = "[object Null]", ld = "[object Undefined]", Os = Ts ? Ts.toStringTag : void 0;
|
|
3406
|
+
function ud(e) {
|
|
3407
|
+
return e == null ? e === void 0 ? ld : cd : Os && Os in Object(e) ? sd(e) : ad(e);
|
|
3324
3408
|
}
|
|
3325
|
-
var oo =
|
|
3326
|
-
function
|
|
3409
|
+
var oo = ud;
|
|
3410
|
+
function fd(e) {
|
|
3327
3411
|
var t = typeof e;
|
|
3328
3412
|
return e != null && (t == "object" || t == "function");
|
|
3329
3413
|
}
|
|
3330
|
-
var Ka =
|
|
3331
|
-
function
|
|
3332
|
-
if (!
|
|
3414
|
+
var Ka = fd, dd = oo, pd = Ka, hd = "[object AsyncFunction]", gd = "[object Function]", md = "[object GeneratorFunction]", yd = "[object Proxy]";
|
|
3415
|
+
function vd(e) {
|
|
3416
|
+
if (!pd(e))
|
|
3333
3417
|
return !1;
|
|
3334
|
-
var t =
|
|
3335
|
-
return t ==
|
|
3418
|
+
var t = dd(e);
|
|
3419
|
+
return t == gd || t == md || t == hd || t == yd;
|
|
3336
3420
|
}
|
|
3337
|
-
var Xa =
|
|
3421
|
+
var Xa = vd, bd = cr, wd = bd["__core-js_shared__"], _d = wd, Po = _d, Cs = function() {
|
|
3338
3422
|
var e = /[^.]+$/.exec(Po && Po.keys && Po.keys.IE_PROTO || "");
|
|
3339
3423
|
return e ? "Symbol(src)_1." + e : "";
|
|
3340
3424
|
}();
|
|
3341
|
-
function
|
|
3425
|
+
function xd(e) {
|
|
3342
3426
|
return !!Cs && Cs in e;
|
|
3343
3427
|
}
|
|
3344
|
-
var
|
|
3345
|
-
function
|
|
3428
|
+
var Sd = xd, Ed = Function.prototype, $d = Ed.toString;
|
|
3429
|
+
function Ad(e) {
|
|
3346
3430
|
if (e != null) {
|
|
3347
3431
|
try {
|
|
3348
|
-
return
|
|
3432
|
+
return $d.call(e);
|
|
3349
3433
|
} catch {
|
|
3350
3434
|
}
|
|
3351
3435
|
try {
|
|
@@ -3355,85 +3439,85 @@ function Ed(e) {
|
|
|
3355
3439
|
}
|
|
3356
3440
|
return "";
|
|
3357
3441
|
}
|
|
3358
|
-
var Za =
|
|
3359
|
-
"^" +
|
|
3442
|
+
var Za = Ad, Td = Xa, Od = Sd, Cd = Ka, Rd = Za, kd = /[\\^$.*+?()[\]{}|]/g, Pd = /^\[object .+?Constructor\]$/, jd = Function.prototype, Id = Object.prototype, Md = jd.toString, Ld = Id.hasOwnProperty, Dd = RegExp(
|
|
3443
|
+
"^" + Md.call(Ld).replace(kd, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
3360
3444
|
);
|
|
3361
|
-
function
|
|
3362
|
-
if (!
|
|
3445
|
+
function Nd(e) {
|
|
3446
|
+
if (!Cd(e) || Od(e))
|
|
3363
3447
|
return !1;
|
|
3364
|
-
var t =
|
|
3365
|
-
return t.test(
|
|
3448
|
+
var t = Td(e) ? Dd : Pd;
|
|
3449
|
+
return t.test(Rd(e));
|
|
3366
3450
|
}
|
|
3367
|
-
var
|
|
3368
|
-
function
|
|
3451
|
+
var Fd = Nd;
|
|
3452
|
+
function Vd(e, t) {
|
|
3369
3453
|
return e == null ? void 0 : e[t];
|
|
3370
3454
|
}
|
|
3371
|
-
var
|
|
3372
|
-
function
|
|
3373
|
-
var r =
|
|
3374
|
-
return
|
|
3455
|
+
var Bd = Vd, zd = Fd, Ud = Bd;
|
|
3456
|
+
function Wd(e, t) {
|
|
3457
|
+
var r = Ud(e, t);
|
|
3458
|
+
return zd(r) ? r : void 0;
|
|
3375
3459
|
}
|
|
3376
|
-
var nn =
|
|
3460
|
+
var nn = Wd, qd = nn, Gd = cr, Hd = qd(Gd, "DataView"), Yd = Hd, Qd = nn, Jd = cr, Kd = Qd(Jd, "Map"), Xd = Kd, Zd = nn, ep = cr, tp = Zd(ep, "Promise"), rp = tp, np = nn, op = cr, ip = np(op, "Set"), sp = ip, ap = nn, cp = cr, lp = ap(cp, "WeakMap"), up = lp, Zo = Yd, ei = Xd, ti = rp, ri = sp, ni = up, ec = oo, Fr = Za, Rs = "[object Map]", fp = "[object Object]", ks = "[object Promise]", Ps = "[object Set]", js = "[object WeakMap]", Is = "[object DataView]", dp = Fr(Zo), pp = Fr(ei), hp = Fr(ti), gp = Fr(ri), mp = Fr(ni), fr = ec;
|
|
3377
3461
|
(Zo && fr(new Zo(new ArrayBuffer(1))) != Is || ei && fr(new ei()) != Rs || ti && fr(ti.resolve()) != ks || ri && fr(new ri()) != Ps || ni && fr(new ni()) != js) && (fr = function(e) {
|
|
3378
|
-
var t = ec(e), r = t ==
|
|
3462
|
+
var t = ec(e), r = t == fp ? e.constructor : void 0, n = r ? Fr(r) : "";
|
|
3379
3463
|
if (n)
|
|
3380
3464
|
switch (n) {
|
|
3381
|
-
case
|
|
3465
|
+
case dp:
|
|
3382
3466
|
return Is;
|
|
3383
|
-
case
|
|
3467
|
+
case pp:
|
|
3384
3468
|
return Rs;
|
|
3385
|
-
case
|
|
3469
|
+
case hp:
|
|
3386
3470
|
return ks;
|
|
3387
|
-
case
|
|
3471
|
+
case gp:
|
|
3388
3472
|
return Ps;
|
|
3389
|
-
case
|
|
3473
|
+
case mp:
|
|
3390
3474
|
return js;
|
|
3391
3475
|
}
|
|
3392
3476
|
return t;
|
|
3393
3477
|
});
|
|
3394
|
-
var
|
|
3395
|
-
function
|
|
3478
|
+
var yp = fr;
|
|
3479
|
+
function vp(e) {
|
|
3396
3480
|
return e != null && typeof e == "object";
|
|
3397
3481
|
}
|
|
3398
|
-
var Ai =
|
|
3399
|
-
function
|
|
3400
|
-
return
|
|
3482
|
+
var Ai = vp, bp = oo, wp = Ai, _p = "[object Arguments]";
|
|
3483
|
+
function xp(e) {
|
|
3484
|
+
return wp(e) && bp(e) == _p;
|
|
3401
3485
|
}
|
|
3402
|
-
var
|
|
3486
|
+
var Sp = xp, Ms = Sp, Ep = Ai, tc = Object.prototype, $p = tc.hasOwnProperty, Ap = tc.propertyIsEnumerable, Tp = Ms(/* @__PURE__ */ function() {
|
|
3403
3487
|
return arguments;
|
|
3404
3488
|
}()) ? Ms : function(e) {
|
|
3405
|
-
return
|
|
3406
|
-
},
|
|
3407
|
-
function
|
|
3408
|
-
return typeof e == "number" && e > -1 && e % 1 == 0 && e <=
|
|
3489
|
+
return Ep(e) && $p.call(e, "callee") && !Ap.call(e, "callee");
|
|
3490
|
+
}, Op = Tp, Cp = Array.isArray, Rp = Cp, kp = 9007199254740991;
|
|
3491
|
+
function Pp(e) {
|
|
3492
|
+
return typeof e == "number" && e > -1 && e % 1 == 0 && e <= kp;
|
|
3409
3493
|
}
|
|
3410
|
-
var rc =
|
|
3411
|
-
function
|
|
3412
|
-
return e != null &&
|
|
3494
|
+
var rc = Pp, jp = Xa, Ip = rc;
|
|
3495
|
+
function Mp(e) {
|
|
3496
|
+
return e != null && Ip(e.length) && !jp(e);
|
|
3413
3497
|
}
|
|
3414
|
-
var
|
|
3415
|
-
function
|
|
3498
|
+
var Lp = Mp, In = { exports: {} };
|
|
3499
|
+
function Dp() {
|
|
3416
3500
|
return !1;
|
|
3417
3501
|
}
|
|
3418
|
-
var
|
|
3502
|
+
var Np = Dp;
|
|
3419
3503
|
In.exports;
|
|
3420
3504
|
(function(e, t) {
|
|
3421
|
-
var r = cr, n =
|
|
3505
|
+
var r = cr, n = Np, o = t && !t.nodeType && t, i = o && !0 && e && !e.nodeType && e, s = i && i.exports === o, l = s ? r.Buffer : void 0, u = l ? l.isBuffer : void 0, d = u || n;
|
|
3422
3506
|
e.exports = d;
|
|
3423
3507
|
})(In, In.exports);
|
|
3424
|
-
var
|
|
3425
|
-
Oe[
|
|
3426
|
-
Oe[
|
|
3427
|
-
function fh(e) {
|
|
3428
|
-
return Vp(e) && Fp(e.length) && !!Oe[Np(e)];
|
|
3429
|
-
}
|
|
3430
|
-
var dh = fh;
|
|
3508
|
+
var Fp = In.exports, Vp = oo, Bp = rc, zp = Ai, Up = "[object Arguments]", Wp = "[object Array]", qp = "[object Boolean]", Gp = "[object Date]", Hp = "[object Error]", Yp = "[object Function]", Qp = "[object Map]", Jp = "[object Number]", Kp = "[object Object]", Xp = "[object RegExp]", Zp = "[object Set]", eh = "[object String]", th = "[object WeakMap]", rh = "[object ArrayBuffer]", nh = "[object DataView]", oh = "[object Float32Array]", ih = "[object Float64Array]", sh = "[object Int8Array]", ah = "[object Int16Array]", ch = "[object Int32Array]", lh = "[object Uint8Array]", uh = "[object Uint8ClampedArray]", fh = "[object Uint16Array]", dh = "[object Uint32Array]", Oe = {};
|
|
3509
|
+
Oe[oh] = Oe[ih] = Oe[sh] = Oe[ah] = Oe[ch] = Oe[lh] = Oe[uh] = Oe[fh] = Oe[dh] = !0;
|
|
3510
|
+
Oe[Up] = Oe[Wp] = Oe[rh] = Oe[qp] = Oe[nh] = Oe[Gp] = Oe[Hp] = Oe[Yp] = Oe[Qp] = Oe[Jp] = Oe[Kp] = Oe[Xp] = Oe[Zp] = Oe[eh] = Oe[th] = !1;
|
|
3431
3511
|
function ph(e) {
|
|
3512
|
+
return zp(e) && Bp(e.length) && !!Oe[Vp(e)];
|
|
3513
|
+
}
|
|
3514
|
+
var hh = ph;
|
|
3515
|
+
function gh(e) {
|
|
3432
3516
|
return function(t) {
|
|
3433
3517
|
return e(t);
|
|
3434
3518
|
};
|
|
3435
3519
|
}
|
|
3436
|
-
var
|
|
3520
|
+
var mh = gh, Mn = { exports: {} };
|
|
3437
3521
|
Mn.exports;
|
|
3438
3522
|
(function(e, t) {
|
|
3439
3523
|
var r = Ya, n = t && !t.nodeType && t, o = n && !0 && e && !e.nodeType && e, i = o && o.exports === n, s = i && r.process, l = function() {
|
|
@@ -3445,24 +3529,24 @@ Mn.exports;
|
|
|
3445
3529
|
}();
|
|
3446
3530
|
e.exports = l;
|
|
3447
3531
|
})(Mn, Mn.exports);
|
|
3448
|
-
var
|
|
3449
|
-
function
|
|
3532
|
+
var yh = Mn.exports, vh = hh, bh = mh, Ls = yh, Ds = Ls && Ls.isTypedArray, wh = Ds ? bh(Ds) : vh, _h = wh, xh = qf, Sh = yp, Eh = Op, $h = Rp, Ah = Lp, Th = Fp, Oh = Ha, Ch = _h, Rh = "[object Map]", kh = "[object Set]", Ph = Object.prototype, jh = Ph.hasOwnProperty;
|
|
3533
|
+
function Ih(e) {
|
|
3450
3534
|
if (e == null)
|
|
3451
3535
|
return !0;
|
|
3452
|
-
if (
|
|
3536
|
+
if (Ah(e) && ($h(e) || typeof e == "string" || typeof e.splice == "function" || Th(e) || Ch(e) || Eh(e)))
|
|
3453
3537
|
return !e.length;
|
|
3454
|
-
var t =
|
|
3455
|
-
if (t ==
|
|
3538
|
+
var t = Sh(e);
|
|
3539
|
+
if (t == Rh || t == kh)
|
|
3456
3540
|
return !e.size;
|
|
3457
|
-
if (
|
|
3458
|
-
return !
|
|
3541
|
+
if (Oh(e))
|
|
3542
|
+
return !xh(e).length;
|
|
3459
3543
|
for (var r in e)
|
|
3460
|
-
if (
|
|
3544
|
+
if (jh.call(e, r))
|
|
3461
3545
|
return !1;
|
|
3462
3546
|
return !0;
|
|
3463
3547
|
}
|
|
3464
|
-
var
|
|
3465
|
-
const jo = /* @__PURE__ */ ua(
|
|
3548
|
+
var Mh = Ih;
|
|
3549
|
+
const jo = /* @__PURE__ */ ua(Mh);
|
|
3466
3550
|
var nc = { exports: {} };
|
|
3467
3551
|
/*!
|
|
3468
3552
|
Copyright (c) 2018 Jed Watson.
|
|
@@ -3499,37 +3583,37 @@ var nc = { exports: {} };
|
|
|
3499
3583
|
e.exports ? (r.default = r, e.exports = r) : window.classNames = r;
|
|
3500
3584
|
})();
|
|
3501
3585
|
})(nc);
|
|
3502
|
-
var
|
|
3503
|
-
const oi = /* @__PURE__ */ ua(
|
|
3586
|
+
var Lh = nc.exports;
|
|
3587
|
+
const oi = /* @__PURE__ */ ua(Lh);
|
|
3504
3588
|
/*
|
|
3505
3589
|
* React Tooltip
|
|
3506
3590
|
* {@link https://github.com/ReactTooltip/react-tooltip}
|
|
3507
3591
|
* @copyright ReactTooltip Team
|
|
3508
3592
|
* @license MIT
|
|
3509
3593
|
*/
|
|
3510
|
-
const
|
|
3511
|
-
function Fs({ css: e, id: t =
|
|
3594
|
+
const Dh = "react-tooltip-core-styles", Nh = "react-tooltip-base-styles", Ns = { core: !1, base: !1 };
|
|
3595
|
+
function Fs({ css: e, id: t = Nh, type: r = "base", ref: n }) {
|
|
3512
3596
|
var o, i;
|
|
3513
3597
|
if (!e || typeof document > "u" || Ns[r] || r === "core" && typeof process < "u" && (!((o = process == null ? void 0 : process.env) === null || o === void 0) && o.REACT_TOOLTIP_DISABLE_CORE_STYLES) || r !== "base" && typeof process < "u" && (!((i = process == null ? void 0 : process.env) === null || i === void 0) && i.REACT_TOOLTIP_DISABLE_BASE_STYLES)) return;
|
|
3514
|
-
r === "core" && (t =
|
|
3598
|
+
r === "core" && (t = Dh), n || (n = {});
|
|
3515
3599
|
const { insertAt: s } = n;
|
|
3516
3600
|
if (document.getElementById(t)) return;
|
|
3517
3601
|
const l = document.head || document.getElementsByTagName("head")[0], u = document.createElement("style");
|
|
3518
3602
|
u.id = t, u.type = "text/css", s === "top" && l.firstChild ? l.insertBefore(u, l.firstChild) : l.appendChild(u), u.styleSheet ? u.styleSheet.cssText = e : u.appendChild(document.createTextNode(e)), Ns[r] = !0;
|
|
3519
3603
|
}
|
|
3520
|
-
const Vs = async ({ elementReference: e = null, tooltipReference: t = null, tooltipArrowReference: r = null, place: n = "top", offset: o = 10, strategy: i = "absolute", middlewares: s = [qa(Number(o)), Ga({ fallbackAxisSideDirection: "start" }),
|
|
3604
|
+
const Vs = async ({ elementReference: e = null, tooltipReference: t = null, tooltipArrowReference: r = null, place: n = "top", offset: o = 10, strategy: i = "absolute", middlewares: s = [qa(Number(o)), Ga({ fallbackAxisSideDirection: "start" }), Cf({ padding: 5 })], border: l }) => {
|
|
3521
3605
|
if (!e) return { tooltipStyles: {}, tooltipArrowStyles: {}, place: n };
|
|
3522
3606
|
if (t === null) return { tooltipStyles: {}, tooltipArrowStyles: {}, place: n };
|
|
3523
3607
|
const u = s;
|
|
3524
|
-
return r ? (u.push(
|
|
3608
|
+
return r ? (u.push(Rf({ element: r, padding: 5 })), $s(e, t, { placement: n, strategy: i, middleware: u }).then(({ x: d, y: h, placement: y, middlewareData: x }) => {
|
|
3525
3609
|
var b, E;
|
|
3526
|
-
const
|
|
3610
|
+
const $ = { left: `${d}px`, top: `${h}px`, border: l }, { x: R, y: A } = (b = x.arrow) !== null && b !== void 0 ? b : { x: 0, y: 0 }, T = (E = { top: "bottom", right: "left", bottom: "top", left: "right" }[y.split("-")[0]]) !== null && E !== void 0 ? E : "bottom", C = l && { borderBottom: l, borderRight: l };
|
|
3527
3611
|
let j = 0;
|
|
3528
3612
|
if (l) {
|
|
3529
3613
|
const I = `${l}`.match(/(\d+)px/);
|
|
3530
3614
|
j = I != null && I[1] ? Number(I[1]) : 1;
|
|
3531
3615
|
}
|
|
3532
|
-
return { tooltipStyles:
|
|
3616
|
+
return { tooltipStyles: $, tooltipArrowStyles: { left: R != null ? `${R}px` : "", top: A != null ? `${A}px` : "", right: "", bottom: "", ...C, [T]: `-${4 + j}px` }, place: y };
|
|
3533
3617
|
})) : $s(e, t, { placement: "bottom", strategy: i, middleware: u }).then(({ x: d, y: h, placement: y }) => ({ tooltipStyles: { left: `${d}px`, top: `${h}px` }, tooltipArrowStyles: {}, place: y }));
|
|
3534
3618
|
}, Bs = (e, t) => !("CSS" in window && "supports" in window.CSS) || window.CSS.supports(e, t), zs = (e, t, r) => {
|
|
3535
3619
|
let n = null;
|
|
@@ -3549,7 +3633,7 @@ const Vs = async ({ elementReference: e = null, tooltipReference: t = null, tool
|
|
|
3549
3633
|
if (!Us(e) || !Us(t)) return e === t;
|
|
3550
3634
|
const r = Object.keys(e), n = Object.keys(t);
|
|
3551
3635
|
return r.length === n.length && r.every((o) => ii(e[o], t[o]));
|
|
3552
|
-
},
|
|
3636
|
+
}, Fh = (e) => {
|
|
3553
3637
|
if (!(e instanceof HTMLElement || e instanceof SVGElement)) return !1;
|
|
3554
3638
|
const t = getComputedStyle(e);
|
|
3555
3639
|
return ["overflow", "overflow-x", "overflow-y"].some((r) => {
|
|
@@ -3560,28 +3644,28 @@ const Vs = async ({ elementReference: e = null, tooltipReference: t = null, tool
|
|
|
3560
3644
|
if (!e) return null;
|
|
3561
3645
|
let t = e.parentElement;
|
|
3562
3646
|
for (; t; ) {
|
|
3563
|
-
if (
|
|
3647
|
+
if (Fh(t)) return t;
|
|
3564
3648
|
t = t.parentElement;
|
|
3565
3649
|
}
|
|
3566
3650
|
return document.scrollingElement || document.documentElement;
|
|
3567
|
-
},
|
|
3651
|
+
}, Vh = typeof window < "u" ? pl : Ce, Dt = (e) => {
|
|
3568
3652
|
e.current && (clearTimeout(e.current), e.current = null);
|
|
3569
|
-
},
|
|
3653
|
+
}, Bh = "DEFAULT_TOOLTIP_ID", zh = { anchorRefs: /* @__PURE__ */ new Set(), activeAnchor: { current: null }, attach: () => {
|
|
3570
3654
|
}, detach: () => {
|
|
3571
3655
|
}, setActiveAnchor: () => {
|
|
3572
|
-
} },
|
|
3573
|
-
function oc(e =
|
|
3574
|
-
return la(
|
|
3656
|
+
} }, Uh = fl({ getTooltipData: () => zh });
|
|
3657
|
+
function oc(e = Bh) {
|
|
3658
|
+
return la(Uh).getTooltipData(e);
|
|
3575
3659
|
}
|
|
3576
3660
|
var $r = { tooltip: "core-styles-module_tooltip__3vRRp", fixed: "core-styles-module_fixed__pcSol", arrow: "core-styles-module_arrow__cvMwQ", noArrow: "core-styles-module_noArrow__xock6", clickable: "core-styles-module_clickable__ZuTTB", show: "core-styles-module_show__Nt9eE", closing: "core-styles-module_closing__sGnxF" }, Io = { tooltip: "styles-module_tooltip__mnnfp", arrow: "styles-module_arrow__K0L3T", dark: "styles-module_dark__xNqje", light: "styles-module_light__Z6W-X", success: "styles-module_success__A2AKt", warning: "styles-module_warning__SCK0X", error: "styles-module_error__JvumD", info: "styles-module_info__BWdHW" };
|
|
3577
|
-
const
|
|
3661
|
+
const Wh = ({ forwardRef: e, id: t, className: r, classNameArrow: n, variant: o = "dark", anchorId: i, anchorSelect: s, place: l = "top", offset: u = 10, events: d = ["hover"], openOnClick: h = !1, positionStrategy: y = "absolute", middlewares: x, wrapper: b, delayShow: E = 0, delayHide: $ = 0, float: R = !1, hidden: A = !1, noArrow: T = !1, clickable: C = !1, closeOnEsc: j = !1, closeOnScroll: I = !1, closeOnResize: L = !1, openEvents: k, closeEvents: ge, globalCloseEvents: me, imperativeModeOnly: ue, style: Ne, position: je, afterShow: ye, afterHide: Y, disableTooltip: _e, content: ne, contentWrapperRef: oe, isOpen: ie, defaultIsOpen: ee = !1, setIsOpen: W, activeAnchor: se, setActiveAnchor: de, border: q, opacity: at, arrowColor: tt, role: qe = "tooltip" }) => {
|
|
3578
3662
|
var Ge;
|
|
3579
3663
|
const ce = kt(null), ve = kt(null), xe = kt(null), Be = kt(null), Re = kt(null), [dt, jt] = Ue({ tooltipStyles: {}, tooltipArrowStyles: {}, place: l }), [Se, pt] = Ue(!1), [Je, ht] = Ue(!1), [le, gt] = Ue(null), mt = kt(!1), yt = kt(null), { anchorRefs: Rt, setActiveAnchor: rt } = oc(t), ct = kt(!1), [vt, Ke] = Ue([]), St = kt(!1), Et = h || d.includes("click"), It = Et || (k == null ? void 0 : k.click) || (k == null ? void 0 : k.dblclick) || (k == null ? void 0 : k.mousedown), He = k ? { ...k } : { mouseover: !0, focus: !0, mouseenter: !1, click: !1, dblclick: !1, mousedown: !1 };
|
|
3580
3664
|
!k && Et && Object.assign(He, { mouseenter: !1, focus: !1, mouseover: !1, click: !0 });
|
|
3581
3665
|
const Mt = ge ? { ...ge } : { mouseout: !0, blur: !0, mouseleave: !1, click: !1, dblclick: !1, mouseup: !1 };
|
|
3582
3666
|
!ge && Et && Object.assign(Mt, { mouseleave: !1, blur: !1, mouseout: !1 });
|
|
3583
3667
|
const nt = me ? { ...me } : { escape: j || !1, scroll: I || !1, resize: L || !1, clickOutsideAnchor: It || !1 };
|
|
3584
|
-
ue && (Object.assign(He, { mouseenter: !1, focus: !1, click: !1, dblclick: !1, mousedown: !1 }), Object.assign(Mt, { mouseleave: !1, blur: !1, click: !1, dblclick: !1, mouseup: !1 }), Object.assign(nt, { escape: !1, scroll: !1, resize: !1, clickOutsideAnchor: !1 })),
|
|
3668
|
+
ue && (Object.assign(He, { mouseenter: !1, focus: !1, click: !1, dblclick: !1, mousedown: !1 }), Object.assign(Mt, { mouseleave: !1, blur: !1, click: !1, dblclick: !1, mouseup: !1 }), Object.assign(nt, { escape: !1, scroll: !1, resize: !1, clickOutsideAnchor: !1 })), Vh(() => (St.current = !0, () => {
|
|
3585
3669
|
St.current = !1;
|
|
3586
3670
|
}), []);
|
|
3587
3671
|
const be = (O) => {
|
|
@@ -3618,7 +3702,7 @@ const zh = ({ forwardRef: e, id: t, className: r, classNameArrow: n, variant: o
|
|
|
3618
3702
|
Dt(xe), Je ? be(!0) : xe.current = setTimeout(() => {
|
|
3619
3703
|
be(!0);
|
|
3620
3704
|
}, O);
|
|
3621
|
-
}, bt = (O =
|
|
3705
|
+
}, bt = (O = $) => {
|
|
3622
3706
|
Dt(Be), Be.current = setTimeout(() => {
|
|
3623
3707
|
ct.current || be(!1);
|
|
3624
3708
|
}, O);
|
|
@@ -3629,7 +3713,7 @@ const zh = ({ forwardRef: e, id: t, className: r, classNameArrow: n, variant: o
|
|
|
3629
3713
|
if (!(B != null && B.isConnected)) return de(null), void rt({ current: null });
|
|
3630
3714
|
E ? Bt() : be(!0), de(B), rt({ current: B }), Dt(Be);
|
|
3631
3715
|
}, Ye = () => {
|
|
3632
|
-
C ? bt(
|
|
3716
|
+
C ? bt($ || 100) : $ ? bt() : be(!1), Dt(xe);
|
|
3633
3717
|
}, lt = ({ x: O, y: F }) => {
|
|
3634
3718
|
var B;
|
|
3635
3719
|
const Ee = { getBoundingClientRect: () => ({ x: O, y: F, width: 0, height: 0, top: F, left: O, right: O, bottom: F }) };
|
|
@@ -3669,7 +3753,7 @@ const zh = ({ forwardRef: e, id: t, className: r, classNameArrow: n, variant: o
|
|
|
3669
3753
|
}, ut = Ws(se), $e = Ws(ce.current);
|
|
3670
3754
|
nt.scroll && (window.addEventListener("scroll", Ie), ut == null || ut.addEventListener("scroll", Ie), $e == null || $e.addEventListener("scroll", Ie));
|
|
3671
3755
|
let f = null;
|
|
3672
|
-
nt.resize ? window.addEventListener("resize", Ie) : se && ce.current && (f =
|
|
3756
|
+
nt.resize ? window.addEventListener("resize", Ie) : se && ce.current && (f = Of(se, ce.current, K, { ancestorResize: !0, elementResize: !0, layoutShift: !0 }));
|
|
3673
3757
|
const v = (V) => {
|
|
3674
3758
|
V.key === "Escape" && be(!1);
|
|
3675
3759
|
};
|
|
@@ -3703,7 +3787,7 @@ const zh = ({ forwardRef: e, id: t, className: r, classNameArrow: n, variant: o
|
|
|
3703
3787
|
});
|
|
3704
3788
|
});
|
|
3705
3789
|
};
|
|
3706
|
-
}, [se, K, Je, Rt, vt, k, ge, me, Et, E,
|
|
3790
|
+
}, [se, K, Je, Rt, vt, k, ge, me, Et, E, $]), Ce(() => {
|
|
3707
3791
|
var O, F;
|
|
3708
3792
|
let B = (F = (O = le == null ? void 0 : le.anchorSelect) !== null && O !== void 0 ? O : s) !== null && F !== void 0 ? F : "";
|
|
3709
3793
|
!B && t && (B = `[data-tooltip-id='${t.replace(/'/g, "\\'")}']`);
|
|
@@ -3771,11 +3855,11 @@ const zh = ({ forwardRef: e, id: t, className: r, classNameArrow: n, variant: o
|
|
|
3771
3855
|
gt(O ?? null), O != null && O.delay ? Bt(O.delay) : be(!0);
|
|
3772
3856
|
}, close: (O) => {
|
|
3773
3857
|
O != null && O.delay ? bt(O.delay) : be(!1);
|
|
3774
|
-
}, activeAnchor: se, place: dt.place, isOpen: !!(Je &&
|
|
3858
|
+
}, activeAnchor: se, place: dt.place, isOpen: !!(Je && !A && ke && _t) })), Je && !A && ke ? st.createElement(b, { id: t, role: qe, className: oi("react-tooltip", $r.tooltip, Io.tooltip, Io[o], r, `react-tooltip__place-${dt.place}`, $r[_t ? "show" : "closing"], _t ? "react-tooltip__show" : "react-tooltip__closing", y === "fixed" && $r.fixed, C && $r.clickable), onTransitionEnd: (O) => {
|
|
3775
3859
|
Dt(Re), Se || O.propertyName !== "opacity" || (ht(!1), gt(null), Y == null || Y());
|
|
3776
|
-
}, style: { ...Ne, ...dt.tooltipStyles, opacity: at !== void 0 && _t ? at : void 0 }, ref: ce }, ke, st.createElement(b, { className: oi("react-tooltip-arrow", $r.arrow, Io.arrow, n,
|
|
3777
|
-
},
|
|
3778
|
-
const [ce, ve] = Ue(n), [xe, Be] = Ue(o), [Re, dt] = Ue(d), [jt, Se] = Ue(u), [pt, Je] = Ue(h), [ht, le] = Ue(
|
|
3860
|
+
}, style: { ...Ne, ...dt.tooltipStyles, opacity: at !== void 0 && _t ? at : void 0 }, ref: ce }, ke, st.createElement(b, { className: oi("react-tooltip-arrow", $r.arrow, Io.arrow, n, T && $r.noArrow), style: { ...dt.tooltipArrowStyles, background: tt ? `linear-gradient(to right bottom, transparent 50%, ${tt} 50%)` : void 0 }, ref: ve })) : null;
|
|
3861
|
+
}, qh = ({ content: e }) => st.createElement("span", { dangerouslySetInnerHTML: { __html: e } }), Gh = st.forwardRef(({ id: e, anchorId: t, anchorSelect: r, content: n, html: o, render: i, className: s, classNameArrow: l, variant: u = "dark", place: d = "top", offset: h = 10, wrapper: y = "div", children: x = null, events: b = ["hover"], openOnClick: E = !1, positionStrategy: $ = "absolute", middlewares: R, delayShow: A = 0, delayHide: T = 0, float: C = !1, hidden: j = !1, noArrow: I = !1, clickable: L = !1, closeOnEsc: k = !1, closeOnScroll: ge = !1, closeOnResize: me = !1, openEvents: ue, closeEvents: Ne, globalCloseEvents: je, imperativeModeOnly: ye = !1, style: Y, position: _e, isOpen: ne, defaultIsOpen: oe = !1, disableStyleInjection: ie = !1, border: ee, opacity: W, arrowColor: se, setIsOpen: de, afterShow: q, afterHide: at, disableTooltip: tt, role: qe = "tooltip" }, Ge) => {
|
|
3862
|
+
const [ce, ve] = Ue(n), [xe, Be] = Ue(o), [Re, dt] = Ue(d), [jt, Se] = Ue(u), [pt, Je] = Ue(h), [ht, le] = Ue(A), [gt, mt] = Ue(T), [yt, Rt] = Ue(C), [rt, ct] = Ue(j), [vt, Ke] = Ue(y), [St, Et] = Ue(b), [It, He] = Ue($), [Mt, nt] = Ue(null), [be, Vt] = Ue(null), Bt = kt(ie), { anchorRefs: bt, activeAnchor: wt } = oc(e), Ye = (we) => we == null ? void 0 : we.getAttributeNames().reduce((Xe, D) => {
|
|
3779
3863
|
var K;
|
|
3780
3864
|
return D.startsWith("data-tooltip-") && (Xe[D.replace(/^data-tooltip-/, "")] = (K = we == null ? void 0 : we.getAttribute(D)) !== null && K !== void 0 ? K : null), Xe;
|
|
3781
3865
|
}, {}), lt = (we) => {
|
|
@@ -3799,11 +3883,11 @@ const zh = ({ forwardRef: e, id: t, className: r, classNameArrow: n, variant: o
|
|
|
3799
3883
|
Et(K ?? b);
|
|
3800
3884
|
}, "position-strategy": (D) => {
|
|
3801
3885
|
var K;
|
|
3802
|
-
He((K = D) !== null && K !== void 0 ? K :
|
|
3886
|
+
He((K = D) !== null && K !== void 0 ? K : $);
|
|
3803
3887
|
}, "delay-show": (D) => {
|
|
3804
|
-
le(D === null ?
|
|
3888
|
+
le(D === null ? A : Number(D));
|
|
3805
3889
|
}, "delay-hide": (D) => {
|
|
3806
|
-
mt(D === null ?
|
|
3890
|
+
mt(D === null ? T : Number(D));
|
|
3807
3891
|
}, float: (D) => {
|
|
3808
3892
|
Rt(D === null ? C : D === "true");
|
|
3809
3893
|
}, hidden: (D) => {
|
|
@@ -3827,16 +3911,16 @@ const zh = ({ forwardRef: e, id: t, className: r, classNameArrow: n, variant: o
|
|
|
3827
3911
|
}, [u]), Ce(() => {
|
|
3828
3912
|
Je(h);
|
|
3829
3913
|
}, [h]), Ce(() => {
|
|
3830
|
-
le(
|
|
3831
|
-
}, [$]), Ce(() => {
|
|
3832
|
-
mt(A);
|
|
3914
|
+
le(A);
|
|
3833
3915
|
}, [A]), Ce(() => {
|
|
3916
|
+
mt(T);
|
|
3917
|
+
}, [T]), Ce(() => {
|
|
3834
3918
|
Rt(C);
|
|
3835
3919
|
}, [C]), Ce(() => {
|
|
3836
3920
|
ct(j);
|
|
3837
3921
|
}, [j]), Ce(() => {
|
|
3838
|
-
He(
|
|
3839
|
-
}, [
|
|
3922
|
+
He($);
|
|
3923
|
+
}, [$]), Ce(() => {
|
|
3840
3924
|
Bt.current !== ie && console.warn("[react-tooltip] Do not change `disableStyleInjection` dynamically.");
|
|
3841
3925
|
}, [ie]), Ce(() => {
|
|
3842
3926
|
typeof window < "u" && window.dispatchEvent(new CustomEvent("react-tooltip-inject-styles", { detail: { disableCore: ie === "core", disableBase: ie } }));
|
|
@@ -3877,15 +3961,15 @@ const zh = ({ forwardRef: e, id: t, className: r, classNameArrow: n, variant: o
|
|
|
3877
3961
|
const we = i({ content: (be == null ? void 0 : be.getAttribute("data-tooltip-content")) || ce || null, activeAnchor: be });
|
|
3878
3962
|
ze = we ? st.createElement("div", { ref: Qe, className: "react-tooltip-content-wrapper" }, we) : null;
|
|
3879
3963
|
} else ce && (ze = ce);
|
|
3880
|
-
xe && (ze = st.createElement(
|
|
3964
|
+
xe && (ze = st.createElement(qh, { content: xe }));
|
|
3881
3965
|
const $t = { forwardRef: Ge, id: e, anchorId: t, anchorSelect: r, className: oi(s, Mt), classNameArrow: l, content: ze, contentWrapperRef: Qe, place: Re, variant: jt, offset: pt, wrapper: vt, events: St, openOnClick: E, positionStrategy: It, middlewares: R, delayShow: ht, delayHide: gt, float: yt, hidden: rt, noArrow: I, clickable: L, closeOnEsc: k, closeOnScroll: ge, closeOnResize: me, openEvents: ue, closeEvents: Ne, globalCloseEvents: je, imperativeModeOnly: ye, style: Y, position: _e, isOpen: ne, defaultIsOpen: oe, border: ee, opacity: W, arrowColor: se, setIsOpen: de, afterShow: q, afterHide: at, disableTooltip: tt, activeAnchor: be, setActiveAnchor: (we) => Vt(we), role: qe };
|
|
3882
|
-
return st.createElement(
|
|
3966
|
+
return st.createElement(Wh, { ...$t });
|
|
3883
3967
|
});
|
|
3884
3968
|
typeof window < "u" && window.addEventListener("react-tooltip-inject-styles", (e) => {
|
|
3885
3969
|
e.detail.disableCore || Fs({ css: ":root{--rt-color-white:#fff;--rt-color-dark:#222;--rt-color-success:#8dc572;--rt-color-error:#be6464;--rt-color-warning:#f0ad4e;--rt-color-info:#337ab7;--rt-opacity:0.9;--rt-transition-show-delay:0.15s;--rt-transition-closing-delay:0.15s}.core-styles-module_tooltip__3vRRp{position:absolute;top:0;left:0;pointer-events:none;opacity:0;will-change:opacity}.core-styles-module_fixed__pcSol{position:fixed}.core-styles-module_arrow__cvMwQ{position:absolute;background:inherit}.core-styles-module_noArrow__xock6{display:none}.core-styles-module_clickable__ZuTTB{pointer-events:auto}.core-styles-module_show__Nt9eE{opacity:var(--rt-opacity);transition:opacity var(--rt-transition-show-delay)ease-out}.core-styles-module_closing__sGnxF{opacity:0;transition:opacity var(--rt-transition-closing-delay)ease-in}", type: "core" }), e.detail.disableBase || Fs({ css: `
|
|
3886
3970
|
.styles-module_tooltip__mnnfp{padding:8px 16px;border-radius:3px;font-size:90%;width:max-content}.styles-module_arrow__K0L3T{width:8px;height:8px}[class*='react-tooltip__place-top']>.styles-module_arrow__K0L3T{transform:rotate(45deg)}[class*='react-tooltip__place-right']>.styles-module_arrow__K0L3T{transform:rotate(135deg)}[class*='react-tooltip__place-bottom']>.styles-module_arrow__K0L3T{transform:rotate(225deg)}[class*='react-tooltip__place-left']>.styles-module_arrow__K0L3T{transform:rotate(315deg)}.styles-module_dark__xNqje{background:var(--rt-color-dark);color:var(--rt-color-white)}.styles-module_light__Z6W-X{background-color:var(--rt-color-white);color:var(--rt-color-dark)}.styles-module_success__A2AKt{background-color:var(--rt-color-success);color:var(--rt-color-white)}.styles-module_warning__SCK0X{background-color:var(--rt-color-warning);color:var(--rt-color-white)}.styles-module_error__JvumD{background-color:var(--rt-color-error);color:var(--rt-color-white)}.styles-module_info__BWdHW{background-color:var(--rt-color-info);color:var(--rt-color-white)}`, type: "base" });
|
|
3887
3971
|
});
|
|
3888
|
-
const
|
|
3972
|
+
const Hh = Ct(Ia)``, Yh = Ct.div`
|
|
3889
3973
|
${({ theme: e, $maxWidth: t = "320px" }) => `
|
|
3890
3974
|
> :is(.react-tooltip, .react-tooltip__show, .react-tooltip__closing) {
|
|
3891
3975
|
background-color: ${e.palette.gray[700]};
|
|
@@ -3898,7 +3982,7 @@ const qh = Ct(Ia)``, Gh = Ct.div`
|
|
|
3898
3982
|
--rt-opacity: 1;
|
|
3899
3983
|
}
|
|
3900
3984
|
`}
|
|
3901
|
-
`,
|
|
3985
|
+
`, Qh = Ct(Ia)`
|
|
3902
3986
|
${({ $center: e = !1 }) => `
|
|
3903
3987
|
${e ? "margin: auto;" : ""}
|
|
3904
3988
|
`}
|
|
@@ -3912,7 +3996,7 @@ const qh = Ct(Ia)``, Gh = Ct.div`
|
|
|
3912
3996
|
...l
|
|
3913
3997
|
}, u) {
|
|
3914
3998
|
return /* @__PURE__ */ Le.jsx(
|
|
3915
|
-
|
|
3999
|
+
Qh,
|
|
3916
4000
|
{
|
|
3917
4001
|
$center: r,
|
|
3918
4002
|
as: t,
|
|
@@ -3924,7 +4008,7 @@ const qh = Ct(Ia)``, Gh = Ct.div`
|
|
|
3924
4008
|
children: n
|
|
3925
4009
|
}
|
|
3926
4010
|
);
|
|
3927
|
-
}),
|
|
4011
|
+
}), Jh = Ct(Ma)`
|
|
3928
4012
|
${({
|
|
3929
4013
|
theme: e,
|
|
3930
4014
|
$color: t = e.palette.gray[800],
|
|
@@ -3946,7 +4030,7 @@ const qh = Ct(Ia)``, Gh = Ct.div`
|
|
|
3946
4030
|
width: ${r === "block" ? "100%" : "auto"};
|
|
3947
4031
|
word-break: ${u};
|
|
3948
4032
|
`}
|
|
3949
|
-
`,
|
|
4033
|
+
`, Kh = Ct(Ma)`
|
|
3950
4034
|
${({
|
|
3951
4035
|
theme: e,
|
|
3952
4036
|
$color: t = e.palette.gray[600],
|
|
@@ -3968,7 +4052,7 @@ const qh = Ct(Ia)``, Gh = Ct.div`
|
|
|
3968
4052
|
width: ${r === "block" ? "100%" : "auto"};
|
|
3969
4053
|
word-break: ${u};
|
|
3970
4054
|
`}
|
|
3971
|
-
`,
|
|
4055
|
+
`, vv = Lr(function({
|
|
3972
4056
|
children: t,
|
|
3973
4057
|
color: r,
|
|
3974
4058
|
display: n,
|
|
@@ -3981,7 +4065,7 @@ const qh = Ct(Ia)``, Gh = Ct.div`
|
|
|
3981
4065
|
...h
|
|
3982
4066
|
}, y) {
|
|
3983
4067
|
return /* @__PURE__ */ Le.jsx(
|
|
3984
|
-
|
|
4068
|
+
Jh,
|
|
3985
4069
|
{
|
|
3986
4070
|
$color: r,
|
|
3987
4071
|
$display: n,
|
|
@@ -4009,7 +4093,7 @@ const qh = Ct(Ia)``, Gh = Ct.div`
|
|
|
4009
4093
|
...h
|
|
4010
4094
|
}, y) {
|
|
4011
4095
|
return /* @__PURE__ */ Le.jsx(
|
|
4012
|
-
|
|
4096
|
+
Kh,
|
|
4013
4097
|
{
|
|
4014
4098
|
$color: r,
|
|
4015
4099
|
$display: n,
|
|
@@ -4024,7 +4108,7 @@ const qh = Ct(Ia)``, Gh = Ct.div`
|
|
|
4024
4108
|
children: t
|
|
4025
4109
|
}
|
|
4026
4110
|
);
|
|
4027
|
-
}),
|
|
4111
|
+
}), Xh = Lr(function({
|
|
4028
4112
|
children: t,
|
|
4029
4113
|
disabled: r = !1,
|
|
4030
4114
|
display: n = "inline-block",
|
|
@@ -4039,26 +4123,26 @@ const qh = Ct(Ia)``, Gh = Ct.div`
|
|
|
4039
4123
|
tip: x = "",
|
|
4040
4124
|
title: b = "",
|
|
4041
4125
|
hide: E = x === "" && b === "" && h === void 0,
|
|
4042
|
-
|
|
4126
|
+
...$
|
|
4043
4127
|
}, R) {
|
|
4044
|
-
const [
|
|
4128
|
+
const [A, T] = Ue(!1), C = kt(null), j = No(() => {
|
|
4045
4129
|
C.current !== null && clearTimeout(C.current), C.current = setTimeout(() => {
|
|
4046
|
-
|
|
4130
|
+
T(!0);
|
|
4047
4131
|
}, 100);
|
|
4048
4132
|
}, []), I = No(() => {
|
|
4049
4133
|
C.current !== null && clearTimeout(C.current), C.current = setTimeout(() => {
|
|
4050
|
-
|
|
4134
|
+
T(!1);
|
|
4051
4135
|
}, 100);
|
|
4052
4136
|
}, []);
|
|
4053
4137
|
return r ? /* @__PURE__ */ Le.jsx(hl, { children: t }) : /* @__PURE__ */ Le.jsxs(
|
|
4054
|
-
|
|
4138
|
+
Hh,
|
|
4055
4139
|
{
|
|
4056
4140
|
"data-tooltip-id": u,
|
|
4057
4141
|
display: n,
|
|
4058
4142
|
onMouseLeave: I,
|
|
4059
4143
|
onMouseMove: j,
|
|
4060
4144
|
ref: R,
|
|
4061
|
-
|
|
4145
|
+
...$,
|
|
4062
4146
|
children: [
|
|
4063
4147
|
i ? /* @__PURE__ */ Le.jsx(ic, { children: /* @__PURE__ */ Le.jsx(
|
|
4064
4148
|
Yo,
|
|
@@ -4068,23 +4152,23 @@ const qh = Ct(Ia)``, Gh = Ct.div`
|
|
|
4068
4152
|
icon: i,
|
|
4069
4153
|
iconColor: s,
|
|
4070
4154
|
iconSize: l ?? "xxs",
|
|
4071
|
-
iconType:
|
|
4155
|
+
iconType: A ? "fa-solid" : "fa-light"
|
|
4072
4156
|
}
|
|
4073
4157
|
) }) : t,
|
|
4074
4158
|
gl(
|
|
4075
|
-
/* @__PURE__ */ Le.jsx(
|
|
4076
|
-
|
|
4159
|
+
/* @__PURE__ */ Le.jsx(Yh, { $maxWidth: d, children: /* @__PURE__ */ Le.jsxs(
|
|
4160
|
+
Gh,
|
|
4077
4161
|
{
|
|
4078
4162
|
delayShow: 500,
|
|
4079
4163
|
float: o === "float" ? !0 : void 0,
|
|
4080
4164
|
globalCloseEvents: { resize: !0 },
|
|
4081
|
-
hidden: E ||
|
|
4165
|
+
hidden: E || !A,
|
|
4082
4166
|
id: u,
|
|
4083
4167
|
middlewares: [
|
|
4084
|
-
|
|
4168
|
+
Pf({
|
|
4085
4169
|
fallbackAxisSideDirection: "start"
|
|
4086
4170
|
}),
|
|
4087
|
-
|
|
4171
|
+
kf({ mainAxis: 10 })
|
|
4088
4172
|
],
|
|
4089
4173
|
noArrow: o === "float",
|
|
4090
4174
|
place: y,
|
|
@@ -4121,50 +4205,53 @@ const qh = Ct(Ia)``, Gh = Ct.div`
|
|
|
4121
4205
|
]
|
|
4122
4206
|
}
|
|
4123
4207
|
);
|
|
4124
|
-
}),
|
|
4125
|
-
|
|
4126
|
-
|
|
4127
|
-
|
|
4128
|
-
|
|
4129
|
-
|
|
4130
|
-
|
|
4131
|
-
|
|
4132
|
-
|
|
4133
|
-
showArrow: d,
|
|
4208
|
+
}), bv = Lr(function({
|
|
4209
|
+
bold: t = !1,
|
|
4210
|
+
children: r,
|
|
4211
|
+
disabled: n = !1,
|
|
4212
|
+
id: o,
|
|
4213
|
+
icon: i,
|
|
4214
|
+
mode: s,
|
|
4215
|
+
name: l,
|
|
4216
|
+
onClick: u,
|
|
4217
|
+
showArrow: d = !1,
|
|
4134
4218
|
type: h = "button",
|
|
4135
4219
|
tooltip: y,
|
|
4136
4220
|
tooltipPlace: x = "bottom",
|
|
4137
|
-
|
|
4138
|
-
|
|
4139
|
-
|
|
4140
|
-
|
|
4141
|
-
|
|
4221
|
+
underline: b = !1,
|
|
4222
|
+
value: E,
|
|
4223
|
+
variant: $,
|
|
4224
|
+
resolution: R = Yu($) ? "platform" : "desktop",
|
|
4225
|
+
...A
|
|
4226
|
+
}, T) {
|
|
4227
|
+
const C = y !== void 0, j = `${o}-tooltip`;
|
|
4142
4228
|
return /* @__PURE__ */ Le.jsx(
|
|
4143
|
-
|
|
4229
|
+
Xh,
|
|
4144
4230
|
{
|
|
4145
|
-
disabled:
|
|
4146
|
-
id:
|
|
4231
|
+
disabled: !C,
|
|
4232
|
+
id: j,
|
|
4147
4233
|
place: x,
|
|
4148
4234
|
tip: y,
|
|
4149
|
-
children: /* @__PURE__ */ Le.jsx(qu, { $variant:
|
|
4235
|
+
children: /* @__PURE__ */ Le.jsx(qu, { $variant: $, className: s, children: /* @__PURE__ */ Le.jsxs(
|
|
4150
4236
|
Gu,
|
|
4151
4237
|
{
|
|
4152
|
-
$
|
|
4153
|
-
$
|
|
4154
|
-
|
|
4155
|
-
|
|
4156
|
-
|
|
4157
|
-
|
|
4158
|
-
|
|
4159
|
-
|
|
4238
|
+
$bold: t,
|
|
4239
|
+
$resolution: R,
|
|
4240
|
+
$variant: $,
|
|
4241
|
+
className: `${s} ${R} ${b && "underline"}`,
|
|
4242
|
+
disabled: n,
|
|
4243
|
+
id: o,
|
|
4244
|
+
name: l,
|
|
4245
|
+
onClick: u,
|
|
4246
|
+
ref: T,
|
|
4160
4247
|
type: h,
|
|
4161
|
-
value:
|
|
4162
|
-
|
|
4163
|
-
...
|
|
4248
|
+
value: E,
|
|
4249
|
+
...C ? { "data-tooltip-id": j } : {},
|
|
4250
|
+
...A,
|
|
4164
4251
|
children: [
|
|
4165
|
-
|
|
4166
|
-
|
|
4167
|
-
d && /* @__PURE__ */ Le.jsx(Yo, { icon: "arrow-right", iconType: "fa-light", iconSize: "xs" })
|
|
4252
|
+
i !== void 0 && /* @__PURE__ */ Le.jsx(Yo, { icon: i, iconType: "fa-light", iconSize: "xs" }),
|
|
4253
|
+
r,
|
|
4254
|
+
(d || $ === "link") && /* @__PURE__ */ Le.jsx(Yo, { icon: "arrow-right", iconType: "fa-light", iconSize: "xs" })
|
|
4168
4255
|
]
|
|
4169
4256
|
}
|
|
4170
4257
|
) })
|
|
@@ -4173,8 +4260,8 @@ const qh = Ct(Ia)``, Gh = Ct.div`
|
|
|
4173
4260
|
});
|
|
4174
4261
|
var nr = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, si = { exports: {} };
|
|
4175
4262
|
(function(e, t) {
|
|
4176
|
-
var r = 200, n = "__lodash_hash_undefined__", o = 9007199254740991, i = "[object Arguments]", s = "[object Array]", l = "[object Boolean]", u = "[object Date]", d = "[object Error]", h = "[object Function]", y = "[object GeneratorFunction]", x = "[object Map]", b = "[object Number]", E = "[object Object]",
|
|
4177
|
-
W[i] = W[s] = W[I] = W[L] = W[l] = W[u] = W[k] = W[ge] = W[me] = W[ue] = W[Ne] = W[x] = W[b] = W[E] = W[R] = W[
|
|
4263
|
+
var r = 200, n = "__lodash_hash_undefined__", o = 9007199254740991, i = "[object Arguments]", s = "[object Array]", l = "[object Boolean]", u = "[object Date]", d = "[object Error]", h = "[object Function]", y = "[object GeneratorFunction]", x = "[object Map]", b = "[object Number]", E = "[object Object]", $ = "[object Promise]", R = "[object RegExp]", A = "[object Set]", T = "[object String]", C = "[object Symbol]", j = "[object WeakMap]", I = "[object ArrayBuffer]", L = "[object DataView]", k = "[object Float32Array]", ge = "[object Float64Array]", me = "[object Int8Array]", ue = "[object Int16Array]", Ne = "[object Int32Array]", je = "[object Uint8Array]", ye = "[object Uint8ClampedArray]", Y = "[object Uint16Array]", _e = "[object Uint32Array]", ne = /[\\^$.*+?()[\]{}|]/g, oe = /\w*$/, ie = /^\[object .+?Constructor\]$/, ee = /^(?:0|[1-9]\d*)$/, W = {};
|
|
4264
|
+
W[i] = W[s] = W[I] = W[L] = W[l] = W[u] = W[k] = W[ge] = W[me] = W[ue] = W[Ne] = W[x] = W[b] = W[E] = W[R] = W[A] = W[T] = W[C] = W[je] = W[ye] = W[Y] = W[_e] = !0, W[d] = W[h] = W[j] = !1;
|
|
4178
4265
|
var se = typeof nr == "object" && nr && nr.Object === Object && nr, de = typeof self == "object" && self && self.Object === Object && self, q = se || de || Function("return this")(), at = t && !t.nodeType && t, tt = at && !0 && e && !e.nodeType && e, qe = tt && tt.exports === at;
|
|
4179
4266
|
function Ge(c, g) {
|
|
4180
4267
|
return c.set(g[0], g[1]), c;
|
|
@@ -4489,7 +4576,7 @@ var nr = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
4489
4576
|
return yo(w) ? w : void 0;
|
|
4490
4577
|
}
|
|
4491
4578
|
var Fe = be ? pt(be, Object) : cl, Ve = mo;
|
|
4492
|
-
(bt && Ve(new bt(new ArrayBuffer(1))) != L || wt && Ve(new wt()) != x || Ye && Ve(Ye.resolve()) !=
|
|
4579
|
+
(bt && Ve(new bt(new ArrayBuffer(1))) != L || wt && Ve(new wt()) != x || Ye && Ve(Ye.resolve()) != $ || lt && Ve(new lt()) != A || ze && Ve(new ze()) != j) && (Ve = function(c) {
|
|
4493
4580
|
var g = ct.call(c), w = g == E ? c.constructor : void 0, M = w ? ur(w) : void 0;
|
|
4494
4581
|
if (M)
|
|
4495
4582
|
switch (M) {
|
|
@@ -4498,9 +4585,9 @@ var nr = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
4498
4585
|
case we:
|
|
4499
4586
|
return x;
|
|
4500
4587
|
case Xe:
|
|
4501
|
-
return T;
|
|
4502
|
-
case D:
|
|
4503
4588
|
return $;
|
|
4589
|
+
case D:
|
|
4590
|
+
return A;
|
|
4504
4591
|
case K:
|
|
4505
4592
|
return j;
|
|
4506
4593
|
}
|
|
@@ -4536,11 +4623,11 @@ var nr = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
4536
4623
|
case x:
|
|
4537
4624
|
return wo(c, M, w);
|
|
4538
4625
|
case b:
|
|
4539
|
-
case
|
|
4626
|
+
case T:
|
|
4540
4627
|
return new it(c);
|
|
4541
4628
|
case R:
|
|
4542
4629
|
return _o(c);
|
|
4543
|
-
case
|
|
4630
|
+
case A:
|
|
4544
4631
|
return xo(c, M, w);
|
|
4545
4632
|
case C:
|
|
4546
4633
|
return a(c);
|
|
@@ -4624,7 +4711,7 @@ var or = si.exports, ai = function() {
|
|
|
4624
4711
|
return t;
|
|
4625
4712
|
}, ai.apply(this, arguments);
|
|
4626
4713
|
};
|
|
4627
|
-
function
|
|
4714
|
+
function Zh(e, t, r, n) {
|
|
4628
4715
|
function o(i) {
|
|
4629
4716
|
return i instanceof r ? i : new r(function(s) {
|
|
4630
4717
|
s(i);
|
|
@@ -4651,7 +4738,7 @@ function Kh(e, t, r, n) {
|
|
|
4651
4738
|
d((n = n.apply(e, [])).next());
|
|
4652
4739
|
});
|
|
4653
4740
|
}
|
|
4654
|
-
function
|
|
4741
|
+
function eg(e, t) {
|
|
4655
4742
|
var r = { label: 0, sent: function() {
|
|
4656
4743
|
if (i[0] & 1) throw i[1];
|
|
4657
4744
|
return i[1];
|
|
@@ -4712,9 +4799,9 @@ function Xh(e, t) {
|
|
|
4712
4799
|
}
|
|
4713
4800
|
}
|
|
4714
4801
|
function Ln(e, t, r, n, o) {
|
|
4715
|
-
return
|
|
4802
|
+
return Zh(this, void 0, void 0, function() {
|
|
4716
4803
|
var i, s;
|
|
4717
|
-
return
|
|
4804
|
+
return eg(this, function(l) {
|
|
4718
4805
|
switch (l.label) {
|
|
4719
4806
|
case 0:
|
|
4720
4807
|
if (r === void 0)
|
|
@@ -4744,7 +4831,7 @@ var ci = function(e, t) {
|
|
|
4744
4831
|
return t === void 0 && (t = {}), e ? {
|
|
4745
4832
|
trackedAnalytics: ai({ sdkCode: e.sdkCode, sdkSemver: e.sdkSemver, techVersion: e.techVersion }, t)
|
|
4746
4833
|
} : null;
|
|
4747
|
-
},
|
|
4834
|
+
}, tg = (
|
|
4748
4835
|
/** @class */
|
|
4749
4836
|
function() {
|
|
4750
4837
|
function e(t, r, n, o) {
|
|
@@ -4812,25 +4899,25 @@ let Pe = class {
|
|
|
4812
4899
|
setDelimiter(t) {
|
|
4813
4900
|
return this.delimiter = t, this;
|
|
4814
4901
|
}
|
|
4815
|
-
},
|
|
4902
|
+
}, rg = class extends Error {
|
|
4816
4903
|
constructor(t = "Unsupported") {
|
|
4817
4904
|
super(t);
|
|
4818
4905
|
}
|
|
4819
4906
|
};
|
|
4820
4907
|
function Ti(e) {
|
|
4821
|
-
return new
|
|
4908
|
+
return new rg(e);
|
|
4822
4909
|
}
|
|
4823
|
-
function
|
|
4910
|
+
function ng() {
|
|
4824
4911
|
return this._qualifierModel || { error: Ti(`unsupported qualifier ${this.constructor.name}`) };
|
|
4825
4912
|
}
|
|
4826
|
-
let
|
|
4913
|
+
let og = class {
|
|
4827
4914
|
constructor() {
|
|
4828
4915
|
this._qualifierModel = {};
|
|
4829
4916
|
}
|
|
4830
4917
|
toJson() {
|
|
4831
|
-
return
|
|
4918
|
+
return ng.apply(this);
|
|
4832
4919
|
}
|
|
4833
|
-
}, J = class extends
|
|
4920
|
+
}, J = class extends og {
|
|
4834
4921
|
constructor(t, r) {
|
|
4835
4922
|
super(), this.delimiter = "_", this.key = t, r instanceof Pe ? this.qualifierValue = r : (this.qualifierValue = new Pe(), this.qualifierValue.addValue(r));
|
|
4836
4923
|
}
|
|
@@ -4853,25 +4940,25 @@ let rg = class {
|
|
|
4853
4940
|
return this.flagValue;
|
|
4854
4941
|
}
|
|
4855
4942
|
};
|
|
4856
|
-
function
|
|
4943
|
+
function ig(e, t) {
|
|
4857
4944
|
const r = Array.from(e.entries());
|
|
4858
4945
|
return t.forEach((n) => {
|
|
4859
4946
|
r.push(["fl", n]);
|
|
4860
4947
|
}), r.sort().map((n) => n[1]);
|
|
4861
4948
|
}
|
|
4862
|
-
function
|
|
4949
|
+
function sg() {
|
|
4863
4950
|
var e, t, r;
|
|
4864
4951
|
const n = this._actionModel && Object.keys(this._actionModel).length, o = (r = (t = (e = this._actionModel) === null || e === void 0 ? void 0 : e.source) === null || t === void 0 ? void 0 : t.transformation) === null || r === void 0 ? void 0 : r.error;
|
|
4865
4952
|
return o && o instanceof Error ? { error: o } : n ? this._actionModel : { error: Ti(`unsupported action ${this.constructor.name}`) };
|
|
4866
4953
|
}
|
|
4867
|
-
let
|
|
4954
|
+
let ag = class {
|
|
4868
4955
|
constructor() {
|
|
4869
4956
|
this._actionModel = {};
|
|
4870
4957
|
}
|
|
4871
4958
|
toJson() {
|
|
4872
|
-
return
|
|
4959
|
+
return sg.apply(this);
|
|
4873
4960
|
}
|
|
4874
|
-
}, qt = class extends
|
|
4961
|
+
}, qt = class extends ag {
|
|
4875
4962
|
constructor() {
|
|
4876
4963
|
super(...arguments), this.qualifiers = /* @__PURE__ */ new Map(), this.flags = [], this.delimiter = ",", this.actionTag = "";
|
|
4877
4964
|
}
|
|
@@ -4896,7 +4983,7 @@ let ig = class {
|
|
|
4896
4983
|
* @return {string}
|
|
4897
4984
|
*/
|
|
4898
4985
|
toString() {
|
|
4899
|
-
return this.prepareQualifiers(),
|
|
4986
|
+
return this.prepareQualifiers(), ig(this.qualifiers, this.flags).join(this.delimiter);
|
|
4900
4987
|
}
|
|
4901
4988
|
/**
|
|
4902
4989
|
* @description Adds the parameter to the action.
|
|
@@ -4965,16 +5052,16 @@ class io extends Oi {
|
|
|
4965
5052
|
return t.width && r.width(t.width), t.height && r.height(t.height), t.x && r.x(t.x), t.y && r.y(t.y), r;
|
|
4966
5053
|
}
|
|
4967
5054
|
}
|
|
4968
|
-
function
|
|
5055
|
+
function cg() {
|
|
4969
5056
|
return new io();
|
|
4970
5057
|
}
|
|
4971
5058
|
function sc() {
|
|
4972
5059
|
return new Oi("faces");
|
|
4973
5060
|
}
|
|
4974
|
-
function
|
|
5061
|
+
function lg() {
|
|
4975
5062
|
return new Oi("ocr_text");
|
|
4976
5063
|
}
|
|
4977
|
-
class
|
|
5064
|
+
class ug extends qt {
|
|
4978
5065
|
constructor(t) {
|
|
4979
5066
|
super(), this._actionModel = {}, this._strength = t, this._actionModel.actionType = "blur", this._actionModel.strength = t;
|
|
4980
5067
|
}
|
|
@@ -4998,7 +5085,7 @@ class cg extends qt {
|
|
|
4998
5085
|
}
|
|
4999
5086
|
static fromJson(t) {
|
|
5000
5087
|
const { strength: r, region: n } = t, o = new this(r);
|
|
5001
|
-
return r && o.strength(r), n && n.regionType === "faces" && o.region(sc()), n && n.regionType === "ocr_text" && o.region(
|
|
5088
|
+
return r && o.strength(r), n && n.regionType === "faces" && o.region(sc()), n && n.regionType === "ocr_text" && o.region(lg()), n && n.regionType === "custom" && o.region(io.fromJson(n)), o;
|
|
5002
5089
|
}
|
|
5003
5090
|
}
|
|
5004
5091
|
function _r(e) {
|
|
@@ -5014,7 +5101,7 @@ const ac = {
|
|
|
5014
5101
|
thumbnail: "thumb",
|
|
5015
5102
|
limitPad: "lpad",
|
|
5016
5103
|
minimumPad: "mpad"
|
|
5017
|
-
},
|
|
5104
|
+
}, fg = {
|
|
5018
5105
|
colorSpace: "cs",
|
|
5019
5106
|
dpr: "dpr",
|
|
5020
5107
|
density: "dn",
|
|
@@ -5037,7 +5124,7 @@ const ac = {
|
|
|
5037
5124
|
jpegminiHigh: "jpegmini:1",
|
|
5038
5125
|
jpegminiMedium: "jpegmini:2",
|
|
5039
5126
|
jpegminiBest: "jpegmini:0"
|
|
5040
|
-
},
|
|
5127
|
+
}, dg = {
|
|
5041
5128
|
fullHd: "full_hd",
|
|
5042
5129
|
fullHdWifi: "full_hd_wifi",
|
|
5043
5130
|
fullHdLean: "full_hd_lean",
|
|
@@ -5045,16 +5132,16 @@ const ac = {
|
|
|
5045
5132
|
}, uc = {
|
|
5046
5133
|
444: "CHROMA_444",
|
|
5047
5134
|
420: "CHROMA_420"
|
|
5048
|
-
},
|
|
5135
|
+
}, pg = {
|
|
5049
5136
|
noCmyk: "no_cmyk",
|
|
5050
5137
|
keepCmyk: "keep_cmyk",
|
|
5051
5138
|
tinySrgb: "tinysrgb",
|
|
5052
5139
|
srgbTrueColor: "srgb:truecolor"
|
|
5053
|
-
},
|
|
5054
|
-
_r(
|
|
5055
|
-
const
|
|
5140
|
+
}, hg = _r(uc);
|
|
5141
|
+
_r(pg);
|
|
5142
|
+
const gg = _r(ac), mg = _r(fg), fc = _r(cc);
|
|
5056
5143
|
_r(lc);
|
|
5057
|
-
_r(
|
|
5144
|
+
_r(dg);
|
|
5058
5145
|
class dc extends qt {
|
|
5059
5146
|
constructor(t, r) {
|
|
5060
5147
|
super(), this._actionModel = {}, this._actionModel.actionType = fc[t] || t;
|
|
@@ -5070,7 +5157,7 @@ class dc extends qt {
|
|
|
5070
5157
|
return new this(i, n || o);
|
|
5071
5158
|
}
|
|
5072
5159
|
}
|
|
5073
|
-
class
|
|
5160
|
+
class yg extends dc {
|
|
5074
5161
|
constructor(t, r) {
|
|
5075
5162
|
super(t, r), this.LEVEL_NAME = "level", this._actionModel = {}, this.effectType = t, this._actionModel.actionType = fc[t] || t, r && this.setLevel(r);
|
|
5076
5163
|
}
|
|
@@ -5089,7 +5176,7 @@ class gg extends dc {
|
|
|
5089
5176
|
function so(e) {
|
|
5090
5177
|
return e && (e.match(/^#/) ? `rgb:${e.substr(1)}` : e);
|
|
5091
5178
|
}
|
|
5092
|
-
class
|
|
5179
|
+
class vg extends qt {
|
|
5093
5180
|
constructor() {
|
|
5094
5181
|
super(), this._actionModel = {}, this._actionModel.actionType = "vectorize";
|
|
5095
5182
|
}
|
|
@@ -5142,12 +5229,12 @@ class mg extends qt {
|
|
|
5142
5229
|
return n && u.paths(n), o && u.cornersLevel(o), i && u.despeckleLevel(i), s && u.detailsLevel(s), l && u.numOfColors(l), u;
|
|
5143
5230
|
}
|
|
5144
5231
|
}
|
|
5145
|
-
class
|
|
5232
|
+
class bg extends yg {
|
|
5146
5233
|
level(t) {
|
|
5147
5234
|
return this._actionModel.level = t, this.setLevel(t);
|
|
5148
5235
|
}
|
|
5149
5236
|
}
|
|
5150
|
-
class
|
|
5237
|
+
class wg extends qt {
|
|
5151
5238
|
constructor() {
|
|
5152
5239
|
super(), this._actionModel = {}, this._actionModel.actionType = "assistColorblind", this.addQualifier(new J("e", new Pe("assist_colorblind")));
|
|
5153
5240
|
}
|
|
@@ -5171,7 +5258,7 @@ class vg extends qt {
|
|
|
5171
5258
|
return n === "xray" && i.xray(), n === "stripes" && o && i.stripesStrength(o), i;
|
|
5172
5259
|
}
|
|
5173
5260
|
}
|
|
5174
|
-
class
|
|
5261
|
+
class _g extends bg {
|
|
5175
5262
|
/**
|
|
5176
5263
|
* @description The color to use for colorization. Specify HTML name or RGB hex code. (Server default: gray)
|
|
5177
5264
|
* @param {string} color HTML name(red, green, etc.) or RGB hex code. (Server default: gray)
|
|
@@ -5185,7 +5272,7 @@ class bg extends yg {
|
|
|
5185
5272
|
return o && i.color(o), i;
|
|
5186
5273
|
}
|
|
5187
5274
|
}
|
|
5188
|
-
class
|
|
5275
|
+
class xg extends qt {
|
|
5189
5276
|
constructor(t) {
|
|
5190
5277
|
super(), this._actionModel = {}, this._squareSize = t, this._actionModel.actionType = "pixelate", this._actionModel.squareSize = t;
|
|
5191
5278
|
}
|
|
@@ -5209,28 +5296,28 @@ class wg extends qt {
|
|
|
5209
5296
|
}
|
|
5210
5297
|
static fromJson(t) {
|
|
5211
5298
|
const { region: r, squareSize: n } = t, o = new this(n);
|
|
5212
|
-
return n && o.squareSize(n), r && r.regionType === "faces" && o.region(sc()), r && r.regionType === "custom" && o.region(
|
|
5299
|
+
return n && o.squareSize(n), r && r.regionType === "faces" && o.region(sc()), r && r.regionType === "custom" && o.region(cg()), o;
|
|
5213
5300
|
}
|
|
5214
5301
|
}
|
|
5215
|
-
function
|
|
5216
|
-
return new
|
|
5302
|
+
function Sg(e) {
|
|
5303
|
+
return new ug(e);
|
|
5217
5304
|
}
|
|
5218
|
-
function
|
|
5305
|
+
function Eg() {
|
|
5219
5306
|
return new dc("grayscale");
|
|
5220
5307
|
}
|
|
5221
5308
|
function Gs(e) {
|
|
5222
|
-
return new
|
|
5223
|
-
}
|
|
5224
|
-
function Sg() {
|
|
5225
|
-
return new mg();
|
|
5309
|
+
return new _g("colorize", e);
|
|
5226
5310
|
}
|
|
5227
|
-
function
|
|
5311
|
+
function $g() {
|
|
5228
5312
|
return new vg();
|
|
5229
5313
|
}
|
|
5230
|
-
function
|
|
5231
|
-
return new wg(
|
|
5314
|
+
function Ag() {
|
|
5315
|
+
return new wg();
|
|
5232
5316
|
}
|
|
5233
|
-
|
|
5317
|
+
function Tg(e) {
|
|
5318
|
+
return new xg(e);
|
|
5319
|
+
}
|
|
5320
|
+
let Og = class extends qt {
|
|
5234
5321
|
constructor(t) {
|
|
5235
5322
|
super(), this._actionModel = {}, this.addQualifier(new J("b", new Pe(so(t)).setDelimiter("_"))), this._actionModel.color = t, this._actionModel.actionType = "backgroundColor";
|
|
5236
5323
|
}
|
|
@@ -5249,26 +5336,26 @@ let Ag = class extends qt {
|
|
|
5249
5336
|
return { error: Ti(`unsupported action ${this.constructor.name}`) };
|
|
5250
5337
|
}
|
|
5251
5338
|
};
|
|
5252
|
-
function
|
|
5339
|
+
function Cg(e) {
|
|
5253
5340
|
const t = e;
|
|
5254
5341
|
return "error" in t && !!t.error;
|
|
5255
5342
|
}
|
|
5256
|
-
function
|
|
5343
|
+
function Rg() {
|
|
5257
5344
|
return new Nt("ignore_aspect_ratio");
|
|
5258
5345
|
}
|
|
5259
|
-
function
|
|
5346
|
+
function kg() {
|
|
5260
5347
|
return new Nt("lossy");
|
|
5261
5348
|
}
|
|
5262
|
-
function
|
|
5349
|
+
function Pg() {
|
|
5263
5350
|
return new Nt("preserve_transparency");
|
|
5264
5351
|
}
|
|
5265
|
-
function
|
|
5352
|
+
function jg(e) {
|
|
5266
5353
|
return new Nt("progressive", e);
|
|
5267
5354
|
}
|
|
5268
|
-
function
|
|
5355
|
+
function Ig() {
|
|
5269
5356
|
return new Nt("region_relative");
|
|
5270
5357
|
}
|
|
5271
|
-
function
|
|
5358
|
+
function Mg() {
|
|
5272
5359
|
return new Nt("relative");
|
|
5273
5360
|
}
|
|
5274
5361
|
let Ci = class extends Pe {
|
|
@@ -5288,9 +5375,9 @@ let Ci = class extends Pe {
|
|
|
5288
5375
|
constructor(t, r, n) {
|
|
5289
5376
|
super(), this._actionModel = {};
|
|
5290
5377
|
let o;
|
|
5291
|
-
r instanceof Ci ? o = r.getValue() : o = r, this._actionModel.actionType =
|
|
5378
|
+
r instanceof Ci ? o = r.getValue() : o = r, this._actionModel.actionType = mg[t], this._actionModel[n] = o, this.addQualifier(new J(t, r));
|
|
5292
5379
|
}
|
|
5293
|
-
},
|
|
5380
|
+
}, Lg = class extends Nt {
|
|
5294
5381
|
constructor(t) {
|
|
5295
5382
|
super("progressive", t);
|
|
5296
5383
|
}
|
|
@@ -5303,20 +5390,20 @@ let Ci = class extends Pe {
|
|
|
5303
5390
|
* @return {this}
|
|
5304
5391
|
*/
|
|
5305
5392
|
lossy() {
|
|
5306
|
-
return this._actionModel.lossy = !0, this.addFlag(
|
|
5393
|
+
return this._actionModel.lossy = !0, this.addFlag(kg()), this;
|
|
5307
5394
|
}
|
|
5308
5395
|
/**
|
|
5309
5396
|
* @description Uses progressive compression when delivering JPG file format.
|
|
5310
5397
|
* @return {this}
|
|
5311
5398
|
*/
|
|
5312
5399
|
progressive(t) {
|
|
5313
|
-
return t instanceof
|
|
5400
|
+
return t instanceof Lg ? (this._actionModel.progressive = { mode: t.getFlagValue() }, this.addFlag(t)) : (this._actionModel.progressive = { mode: t }, this.addFlag(jg(t))), this;
|
|
5314
5401
|
}
|
|
5315
5402
|
/**
|
|
5316
5403
|
* @description Ensures that images with a transparency channel are delivered in PNG format.
|
|
5317
5404
|
*/
|
|
5318
5405
|
preserveTransparency() {
|
|
5319
|
-
return this._actionModel.preserveTransparency = !0, this.addFlag(
|
|
5406
|
+
return this._actionModel.preserveTransparency = !0, this.addFlag(Pg()), this;
|
|
5320
5407
|
}
|
|
5321
5408
|
static fromJson(t) {
|
|
5322
5409
|
const { formatType: r, lossy: n, progressive: o, preserveTransparency: i } = t;
|
|
@@ -5495,7 +5582,7 @@ let Ci = class extends Pe {
|
|
|
5495
5582
|
* @return {this}
|
|
5496
5583
|
*/
|
|
5497
5584
|
backgroundColor(t) {
|
|
5498
|
-
return this.addAction(new
|
|
5585
|
+
return this.addAction(new Og(t));
|
|
5499
5586
|
}
|
|
5500
5587
|
/**
|
|
5501
5588
|
* @description Adds a layer in a Photoshop document.
|
|
@@ -5551,7 +5638,7 @@ let Ci = class extends Pe {
|
|
|
5551
5638
|
const t = [];
|
|
5552
5639
|
for (const r of this.actions) {
|
|
5553
5640
|
const n = r.toJson();
|
|
5554
|
-
if (
|
|
5641
|
+
if (Cg(n))
|
|
5555
5642
|
return n;
|
|
5556
5643
|
t.push(n);
|
|
5557
5644
|
}
|
|
@@ -5562,16 +5649,16 @@ function Ys(e) {
|
|
|
5562
5649
|
const t = e.toString();
|
|
5563
5650
|
return t.match(/[A-Z]/gi) || t.length > 1 && t[0] === "0" ? t : !isNaN(parseFloat(t)) && t.indexOf(":") === -1 && t.indexOf(".") === -1 ? `${t}.0` : t;
|
|
5564
5651
|
}
|
|
5565
|
-
class
|
|
5652
|
+
class Dg extends Pe {
|
|
5566
5653
|
}
|
|
5567
|
-
class
|
|
5654
|
+
class Ng extends qt {
|
|
5568
5655
|
/**
|
|
5569
5656
|
* @param {string} cropType
|
|
5570
5657
|
* @param {number | string} cropWidth The required width of a transformed asset.
|
|
5571
5658
|
* @param {number | string} cropHeight The required height of a transformed asset.
|
|
5572
5659
|
*/
|
|
5573
5660
|
constructor(t, r, n) {
|
|
5574
|
-
super(), this._actionModel = { dimensions: {} }, this._actionModel.actionType =
|
|
5661
|
+
super(), this._actionModel = { dimensions: {} }, this._actionModel.actionType = gg[t] || t, this.addQualifier(new J("c", t)), r && this.width(r), n && this.height(n);
|
|
5575
5662
|
}
|
|
5576
5663
|
/**
|
|
5577
5664
|
* @description Sets the height of the resize
|
|
@@ -5595,7 +5682,7 @@ class Lg extends qt {
|
|
|
5595
5682
|
* @return {this}
|
|
5596
5683
|
*/
|
|
5597
5684
|
aspectRatio(t) {
|
|
5598
|
-
if (t instanceof
|
|
5685
|
+
if (t instanceof Dg)
|
|
5599
5686
|
return this._actionModel.dimensions.aspectRatio = `${t}`, this.addQualifier(new J("ar", t));
|
|
5600
5687
|
if (typeof t == "number" || typeof t == "string")
|
|
5601
5688
|
return this._actionModel.dimensions.aspectRatio = Ys(t), this.addQualifier(new J("ar", Ys(t)));
|
|
@@ -5607,18 +5694,18 @@ class Lg extends qt {
|
|
|
5607
5694
|
* @return {this}
|
|
5608
5695
|
*/
|
|
5609
5696
|
relative() {
|
|
5610
|
-
return this._actionModel.relative = !0, this.addFlag(
|
|
5697
|
+
return this._actionModel.relative = !0, this.addFlag(Mg());
|
|
5611
5698
|
}
|
|
5612
5699
|
/**
|
|
5613
5700
|
* @description Modifies percentage-based width & height parameters of overlays and underlays (e.g., 1.0) to be relative to the overlaid region
|
|
5614
5701
|
* @return {this}
|
|
5615
5702
|
*/
|
|
5616
5703
|
regionRelative() {
|
|
5617
|
-
return this._actionModel.regionRelative = !0, this.addFlag(
|
|
5704
|
+
return this._actionModel.regionRelative = !0, this.addFlag(Ig());
|
|
5618
5705
|
}
|
|
5619
5706
|
static fromJson(t) {
|
|
5620
5707
|
const { actionType: r, dimensions: n, relative: o, regionRelative: i } = t, { aspectRatio: s, width: l, height: u } = n, d = ac[r] || r, h = new this(d, l, u);
|
|
5621
|
-
return s && h.aspectRatio(s === "ignore_aspect_ratio" ?
|
|
5708
|
+
return s && h.aspectRatio(s === "ignore_aspect_ratio" ? Rg() : s), o && h.relative(), i && h.regionRelative(), h;
|
|
5622
5709
|
}
|
|
5623
5710
|
}
|
|
5624
5711
|
class Ri extends J {
|
|
@@ -5658,7 +5745,7 @@ class yc extends Ri {
|
|
|
5658
5745
|
super(t);
|
|
5659
5746
|
}
|
|
5660
5747
|
}
|
|
5661
|
-
function
|
|
5748
|
+
function Fg(e) {
|
|
5662
5749
|
return new yc(e);
|
|
5663
5750
|
}
|
|
5664
5751
|
function vc(...e) {
|
|
@@ -5676,37 +5763,37 @@ class co extends Pe {
|
|
|
5676
5763
|
return this.name;
|
|
5677
5764
|
}
|
|
5678
5765
|
}
|
|
5679
|
-
function
|
|
5766
|
+
function Vg() {
|
|
5680
5767
|
return new co("ocr_text");
|
|
5681
5768
|
}
|
|
5682
|
-
function
|
|
5769
|
+
function Bg(e) {
|
|
5683
5770
|
return e && `${e}`.split(":")[0] === "auto";
|
|
5684
5771
|
}
|
|
5685
|
-
function
|
|
5772
|
+
function zg(e) {
|
|
5686
5773
|
const t = ki(e);
|
|
5687
5774
|
return ["north", "center", "east", "west", "south", "north_west", "south_east", "south_west", "north_east"].includes(t);
|
|
5688
5775
|
}
|
|
5689
5776
|
function ki(e) {
|
|
5690
5777
|
return `${e}`.replace("g_", "");
|
|
5691
5778
|
}
|
|
5692
|
-
function
|
|
5779
|
+
function Ug(e) {
|
|
5693
5780
|
return {
|
|
5694
5781
|
compass: ki(e),
|
|
5695
5782
|
gravityType: "direction"
|
|
5696
5783
|
};
|
|
5697
5784
|
}
|
|
5698
|
-
function
|
|
5785
|
+
function Wg(e) {
|
|
5699
5786
|
return ki(e) === "ocr_text";
|
|
5700
5787
|
}
|
|
5701
|
-
function
|
|
5788
|
+
function qg() {
|
|
5702
5789
|
return {
|
|
5703
5790
|
gravityType: "ocr"
|
|
5704
5791
|
};
|
|
5705
5792
|
}
|
|
5706
|
-
function
|
|
5793
|
+
function Gg(e) {
|
|
5707
5794
|
return `${e.qualifierValue}`.split(":")[0] === "auto";
|
|
5708
5795
|
}
|
|
5709
|
-
function
|
|
5796
|
+
function Hg(e) {
|
|
5710
5797
|
const r = e.toString().split("_"), n = {
|
|
5711
5798
|
object: r[0]
|
|
5712
5799
|
};
|
|
@@ -5717,10 +5804,10 @@ function wc(e) {
|
|
|
5717
5804
|
const r = e === "auto" ? new gc() : e;
|
|
5718
5805
|
return `${e}`.startsWith("auto:") ? t = `${e}`.split(":").filter((o) => o !== "auto") : t = r.qualifierValue.values.filter((o) => o !== "auto"), {
|
|
5719
5806
|
gravityType: "auto",
|
|
5720
|
-
autoFocus: t.map(
|
|
5807
|
+
autoFocus: t.map(Hg)
|
|
5721
5808
|
};
|
|
5722
5809
|
}
|
|
5723
|
-
function
|
|
5810
|
+
function Yg(e) {
|
|
5724
5811
|
const t = `${e}`.split(":").includes("auto"), r = e.qualifierValue.values, o = {
|
|
5725
5812
|
gravityType: "object",
|
|
5726
5813
|
focusOnObjects: (t ? r.slice(0, r.length - 1) : r).map((i) => `${i}`)
|
|
@@ -5731,12 +5818,12 @@ function Gg(e) {
|
|
|
5731
5818
|
}
|
|
5732
5819
|
return o;
|
|
5733
5820
|
}
|
|
5734
|
-
function
|
|
5821
|
+
function Qg(e) {
|
|
5735
5822
|
const r = e.split(":").map((n) => new co(n));
|
|
5736
5823
|
return new mc(r);
|
|
5737
5824
|
}
|
|
5738
|
-
function
|
|
5739
|
-
return
|
|
5825
|
+
function Jg(e) {
|
|
5826
|
+
return zg(e) ? Ug(e) : Wg(e) ? qg() : Bg(e) || Gg(e) ? wc(e) : Yg(typeof e == "string" ? Qg(e) : e);
|
|
5740
5827
|
}
|
|
5741
5828
|
class Pi extends Pe {
|
|
5742
5829
|
constructor(t, r) {
|
|
@@ -5802,24 +5889,24 @@ class _c extends Pe {
|
|
|
5802
5889
|
return this.val;
|
|
5803
5890
|
}
|
|
5804
5891
|
}
|
|
5805
|
-
function
|
|
5892
|
+
function Kg(e) {
|
|
5806
5893
|
return e.gravityType === "direction";
|
|
5807
5894
|
}
|
|
5808
|
-
function
|
|
5895
|
+
function Xg(e) {
|
|
5809
5896
|
return e.gravityType === "ocr";
|
|
5810
5897
|
}
|
|
5811
|
-
function
|
|
5898
|
+
function Zg(e) {
|
|
5812
5899
|
return e.gravityType === "auto";
|
|
5813
5900
|
}
|
|
5814
|
-
function
|
|
5901
|
+
function em(e) {
|
|
5815
5902
|
const { object: t, weight: r, avoid: n } = e, o = new Pi(new co(t));
|
|
5816
5903
|
return (r || r === 0) && o.weight(r), n && o.avoid(), o;
|
|
5817
5904
|
}
|
|
5818
5905
|
function xc(e) {
|
|
5819
|
-
const r = (e.autoFocus || []).map(
|
|
5906
|
+
const r = (e.autoFocus || []).map(em);
|
|
5820
5907
|
return bc().autoFocus(...r);
|
|
5821
5908
|
}
|
|
5822
|
-
function
|
|
5909
|
+
function tm(e) {
|
|
5823
5910
|
const t = (e.focusOnObjects || []).map((n) => new co(n)), r = vc(...t);
|
|
5824
5911
|
if (e.fallbackGravity) {
|
|
5825
5912
|
const n = xc(e.fallbackGravity);
|
|
@@ -5827,22 +5914,22 @@ function Zg(e) {
|
|
|
5827
5914
|
}
|
|
5828
5915
|
return r;
|
|
5829
5916
|
}
|
|
5830
|
-
function
|
|
5831
|
-
return
|
|
5917
|
+
function rm(e) {
|
|
5918
|
+
return Kg(e) ? new yc(new _c(e.compass)) : Xg(e) ? vc(Vg()) : Zg(e) ? xc(e) : tm(e);
|
|
5832
5919
|
}
|
|
5833
|
-
class ji extends
|
|
5920
|
+
class ji extends Ng {
|
|
5834
5921
|
/**
|
|
5835
5922
|
* @description Which part of the original image to include.
|
|
5836
5923
|
* @param {Qualifiers.Gravity} gravity
|
|
5837
5924
|
*/
|
|
5838
5925
|
gravity(t) {
|
|
5839
|
-
this._actionModel.gravity =
|
|
5926
|
+
this._actionModel.gravity = Jg(t);
|
|
5840
5927
|
const r = typeof t == "string" ? new J("g", t) : t;
|
|
5841
5928
|
return this.addQualifier(r);
|
|
5842
5929
|
}
|
|
5843
5930
|
static fromJson(t) {
|
|
5844
5931
|
const r = super.fromJson.apply(this, [t]);
|
|
5845
|
-
return t.gravity && r.gravity(
|
|
5932
|
+
return t.gravity && r.gravity(rm(t.gravity)), r;
|
|
5846
5933
|
}
|
|
5847
5934
|
}
|
|
5848
5935
|
class on extends J {
|
|
@@ -5850,8 +5937,8 @@ class on extends J {
|
|
|
5850
5937
|
super("b"), t && this.addValue(t);
|
|
5851
5938
|
}
|
|
5852
5939
|
}
|
|
5853
|
-
const Sc = 100,
|
|
5854
|
-
class
|
|
5940
|
+
const Sc = 100, nm = 0;
|
|
5941
|
+
class om extends on {
|
|
5855
5942
|
/**
|
|
5856
5943
|
* @description Sets the intensity of the blur.
|
|
5857
5944
|
* @param {number} value - The intensity of the blur.
|
|
@@ -5876,7 +5963,7 @@ class rm extends on {
|
|
|
5876
5963
|
return `b_blurred${t}${r}`;
|
|
5877
5964
|
}
|
|
5878
5965
|
}
|
|
5879
|
-
var Ec =
|
|
5966
|
+
var Ec = om;
|
|
5880
5967
|
class Ii extends on {
|
|
5881
5968
|
constructor() {
|
|
5882
5969
|
super(), this._palette = [];
|
|
@@ -6001,10 +6088,10 @@ class Rc extends on {
|
|
|
6001
6088
|
function kc(e) {
|
|
6002
6089
|
return `${e}`.replace("b_", "");
|
|
6003
6090
|
}
|
|
6004
|
-
function
|
|
6091
|
+
function im() {
|
|
6005
6092
|
return { backgroundType: "auto" };
|
|
6006
6093
|
}
|
|
6007
|
-
function
|
|
6094
|
+
function sm(e) {
|
|
6008
6095
|
const { intensityLevel: t, brightnessLevel: r } = e, n = {
|
|
6009
6096
|
backgroundType: "blurred"
|
|
6010
6097
|
};
|
|
@@ -6016,35 +6103,35 @@ function Mi(e) {
|
|
|
6016
6103
|
};
|
|
6017
6104
|
return t && (n.contrast = !0), r && (n.palette = r), n;
|
|
6018
6105
|
}
|
|
6019
|
-
function
|
|
6106
|
+
function am(e) {
|
|
6020
6107
|
return Object.assign(Object.assign({}, Mi(e)), { backgroundType: "border" });
|
|
6021
6108
|
}
|
|
6022
6109
|
function Pc(e) {
|
|
6023
6110
|
const t = e._gradientColors, r = `${e._gradientDirection}`, n = Mi(e);
|
|
6024
6111
|
return t && (n.gradientColors = t), r && (n.gradientDirection = r), n;
|
|
6025
6112
|
}
|
|
6026
|
-
function
|
|
6113
|
+
function cm(e) {
|
|
6027
6114
|
return Object.assign(Object.assign({}, Pc(e)), { backgroundType: "borderGradient" });
|
|
6028
6115
|
}
|
|
6029
|
-
function
|
|
6116
|
+
function lm(e) {
|
|
6030
6117
|
return {
|
|
6031
6118
|
backgroundType: "color",
|
|
6032
6119
|
color: kc(e)
|
|
6033
6120
|
};
|
|
6034
6121
|
}
|
|
6035
|
-
function
|
|
6122
|
+
function um(e) {
|
|
6036
6123
|
return Object.assign(Object.assign({}, Mi(e)), { backgroundType: "predominant" });
|
|
6037
6124
|
}
|
|
6038
|
-
function
|
|
6125
|
+
function fm(e) {
|
|
6039
6126
|
return Object.assign(Object.assign({}, Pc(e)), { backgroundType: "predominantGradient" });
|
|
6040
6127
|
}
|
|
6041
|
-
function
|
|
6128
|
+
function dm(e) {
|
|
6042
6129
|
return Object.assign({ backgroundType: e.getBackgroundType() }, e.getPrompt() ? { prompt: e.getPrompt() } : {});
|
|
6043
6130
|
}
|
|
6044
|
-
function
|
|
6045
|
-
return kc(e) === "auto" ?
|
|
6131
|
+
function pm(e) {
|
|
6132
|
+
return kc(e) === "auto" ? im() : e instanceof Ec ? sm(e) : e instanceof $c ? am(e) : e instanceof Tc ? cm(e) : e instanceof Cc ? um(e) : e instanceof Oc ? fm(e) : e instanceof Rc ? dm(e) : lm(e);
|
|
6046
6133
|
}
|
|
6047
|
-
function
|
|
6134
|
+
function hm() {
|
|
6048
6135
|
return new Ci("svg");
|
|
6049
6136
|
}
|
|
6050
6137
|
function Li() {
|
|
@@ -6068,7 +6155,7 @@ function Dc() {
|
|
|
6068
6155
|
function Nc(e) {
|
|
6069
6156
|
return new on(so(e));
|
|
6070
6157
|
}
|
|
6071
|
-
function
|
|
6158
|
+
function gm() {
|
|
6072
6159
|
return new Ec();
|
|
6073
6160
|
}
|
|
6074
6161
|
function Fc() {
|
|
@@ -6081,12 +6168,12 @@ const Vc = {
|
|
|
6081
6168
|
predominantGradient: Lc,
|
|
6082
6169
|
predominant: Dc,
|
|
6083
6170
|
color: Nc,
|
|
6084
|
-
blurred:
|
|
6171
|
+
blurred: gm,
|
|
6085
6172
|
generativeFill: Fc
|
|
6086
6173
|
};
|
|
6087
|
-
function
|
|
6174
|
+
function mm(e) {
|
|
6088
6175
|
const { brightness: t, intensity: r } = e, n = Vc.blurred();
|
|
6089
|
-
return n.brightness(t ??
|
|
6176
|
+
return n.brightness(t ?? nm), n.intensity(r ?? Sc), n;
|
|
6090
6177
|
}
|
|
6091
6178
|
function Qs(e, t) {
|
|
6092
6179
|
const { gradientColors: r, gradientDirection: n, contrast: o, palette: i } = t;
|
|
@@ -6096,17 +6183,17 @@ function Js(e, t) {
|
|
|
6096
6183
|
const { contrast: r, palette: n } = t;
|
|
6097
6184
|
return r && e.contrast(), n && e.palette(...n), e;
|
|
6098
6185
|
}
|
|
6099
|
-
function
|
|
6186
|
+
function ym(e, t) {
|
|
6100
6187
|
const { prompt: r } = t;
|
|
6101
6188
|
return r && e.prompt(r), e;
|
|
6102
6189
|
}
|
|
6103
|
-
function
|
|
6190
|
+
function vm(e) {
|
|
6104
6191
|
const { backgroundType: t } = e;
|
|
6105
6192
|
switch (t) {
|
|
6106
6193
|
case "auto":
|
|
6107
6194
|
return Ic();
|
|
6108
6195
|
case "blurred":
|
|
6109
|
-
return
|
|
6196
|
+
return mm(e);
|
|
6110
6197
|
case "border":
|
|
6111
6198
|
return Js(jc(), e);
|
|
6112
6199
|
case "borderGradient":
|
|
@@ -6116,19 +6203,19 @@ function mm(e) {
|
|
|
6116
6203
|
case "predominantGradient":
|
|
6117
6204
|
return Qs(Lc(), e);
|
|
6118
6205
|
case "generativeFill":
|
|
6119
|
-
return
|
|
6206
|
+
return ym(Fc(), e);
|
|
6120
6207
|
default:
|
|
6121
6208
|
return Nc(e.color);
|
|
6122
6209
|
}
|
|
6123
6210
|
}
|
|
6124
|
-
class
|
|
6211
|
+
class bm extends ji {
|
|
6125
6212
|
/**
|
|
6126
6213
|
* @description Sets the background.
|
|
6127
6214
|
* @param {Qualifiers.Background} backgroundQualifier Defines the background color to use instead of
|
|
6128
6215
|
* transparent background areas or when resizing with padding.
|
|
6129
6216
|
*/
|
|
6130
6217
|
background(t) {
|
|
6131
|
-
return this._actionModel.background =
|
|
6218
|
+
return this._actionModel.background = pm(t), this.addQualifier(t);
|
|
6132
6219
|
}
|
|
6133
6220
|
/**
|
|
6134
6221
|
* @description Horizontal position for custom-coordinates based padding.
|
|
@@ -6146,10 +6233,10 @@ class ym extends ji {
|
|
|
6146
6233
|
}
|
|
6147
6234
|
static fromJson(t) {
|
|
6148
6235
|
const r = super.fromJson.apply(this, [t]);
|
|
6149
|
-
return t.background && r.background(
|
|
6236
|
+
return t.background && r.background(vm(t.background)), t.x && r.offsetX(t.x), t.y && r.offsetY(t.y), t.zoom && r.zoom(t.zoom), r;
|
|
6150
6237
|
}
|
|
6151
6238
|
}
|
|
6152
|
-
class
|
|
6239
|
+
class wm extends ji {
|
|
6153
6240
|
/**
|
|
6154
6241
|
* @description Horizontal position for custom-coordinates based cropping.
|
|
6155
6242
|
* @param {number} x The x position.
|
|
@@ -6176,7 +6263,7 @@ class vm extends ji {
|
|
|
6176
6263
|
return t.x && r.x(t.x), t.y && r.y(t.y), t.zoom && r.zoom(t.zoom), r;
|
|
6177
6264
|
}
|
|
6178
6265
|
}
|
|
6179
|
-
class
|
|
6266
|
+
class _m extends ji {
|
|
6180
6267
|
/**
|
|
6181
6268
|
* @description Absolute X position when used with Gravity.xyCenter {@link Qualifiers.Gravity.GravityQualifier}}
|
|
6182
6269
|
* @param {number} x The x position.
|
|
@@ -6196,16 +6283,16 @@ class bm extends ji {
|
|
|
6196
6283
|
return t.x && r.x(t.x), t.y && r.y(t.y), r;
|
|
6197
6284
|
}
|
|
6198
6285
|
}
|
|
6199
|
-
function
|
|
6200
|
-
return new
|
|
6286
|
+
function xm(e, t) {
|
|
6287
|
+
return new wm("crop", e, t);
|
|
6201
6288
|
}
|
|
6202
|
-
function
|
|
6203
|
-
return new
|
|
6289
|
+
function Sm(e, t) {
|
|
6290
|
+
return new _m("fill", e, t);
|
|
6204
6291
|
}
|
|
6205
|
-
function
|
|
6206
|
-
return new
|
|
6292
|
+
function Em(e, t) {
|
|
6293
|
+
return new bm("pad", e, t);
|
|
6207
6294
|
}
|
|
6208
|
-
class
|
|
6295
|
+
class $m extends pc {
|
|
6209
6296
|
/**
|
|
6210
6297
|
* @param {Qualifiers.Quality} qualityValue a Quality value
|
|
6211
6298
|
*/
|
|
@@ -6234,7 +6321,7 @@ class Sm extends pc {
|
|
|
6234
6321
|
static fromJson(t) {
|
|
6235
6322
|
const { level: r, chromaSubSampling: n, quantization: o } = t, i = lc[r] || r, s = new this(i);
|
|
6236
6323
|
if (n) {
|
|
6237
|
-
const l =
|
|
6324
|
+
const l = hg[n.toUpperCase()];
|
|
6238
6325
|
l && s.chromaSubSampling(+l);
|
|
6239
6326
|
}
|
|
6240
6327
|
return o && s.quantization(o), s;
|
|
@@ -6244,17 +6331,17 @@ function lo(e) {
|
|
|
6244
6331
|
return new li("f", e);
|
|
6245
6332
|
}
|
|
6246
6333
|
function uo(e) {
|
|
6247
|
-
return new
|
|
6334
|
+
return new $m(e);
|
|
6248
6335
|
}
|
|
6249
|
-
function
|
|
6336
|
+
function Am() {
|
|
6250
6337
|
return new _c("north_east");
|
|
6251
6338
|
}
|
|
6252
|
-
Gs(70).color("black"), Gs(40).color("white"),
|
|
6253
|
-
var
|
|
6254
|
-
vectorize:
|
|
6255
|
-
pixelate:
|
|
6256
|
-
blur:
|
|
6257
|
-
"predominant-color":
|
|
6339
|
+
Gs(70).color("black"), Gs(40).color("white"), Eg(), Ag();
|
|
6340
|
+
var Tm = new ao().effect($g()).delivery(uo("auto")).delivery(lo(hm())), Om = new ao().effect(Tg()).delivery(uo("auto")).delivery(lo(Li())), Cm = new ao().effect(Sg(2e3)).delivery(uo("auto")).delivery(lo(Li())), Rm = new ao().resize(Em("iw_div_2").aspectRatio(1).background(Vc.auto())).resize(xm(1, 1).gravity(Fg(Am()))).resize(Sm().height("ih").width("iw")).delivery(uo("auto")).delivery(lo(Li())), Ks = {
|
|
6341
|
+
vectorize: Tm,
|
|
6342
|
+
pixelate: Om,
|
|
6343
|
+
blur: Cm,
|
|
6344
|
+
"predominant-color": Rm
|
|
6258
6345
|
}, Xs = "data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==", Zs = {
|
|
6259
6346
|
flv: "x-flv",
|
|
6260
6347
|
"3gp": "3gpp",
|
|
@@ -6265,7 +6352,7 @@ var $m = new ao().effect(Sg()).delivery(uo("auto")).delivery(lo(dm())), Am = new
|
|
|
6265
6352
|
ogv: "ogg",
|
|
6266
6353
|
webm: "webm",
|
|
6267
6354
|
mp4: "mp4"
|
|
6268
|
-
}, ea = "?_a=",
|
|
6355
|
+
}, ea = "?_a=", km = (
|
|
6269
6356
|
/** @class */
|
|
6270
6357
|
function() {
|
|
6271
6358
|
function e(t, r, n, o, i, s, l) {
|
|
@@ -6323,34 +6410,34 @@ var $m = new ao().effect(Sg()).delivery(uo("auto")).delivery(lo(dm())), Am = new
|
|
|
6323
6410
|
}
|
|
6324
6411
|
}, e;
|
|
6325
6412
|
}()
|
|
6326
|
-
),
|
|
6327
|
-
|
|
6413
|
+
), Pm = typeof nr == "object" && nr && nr.Object === Object && nr, jm = typeof self == "object" && self && self.Object === Object && self;
|
|
6414
|
+
Pm || jm || Function("return this")();
|
|
6328
6415
|
function Di() {
|
|
6329
6416
|
return typeof window < "u";
|
|
6330
6417
|
}
|
|
6331
|
-
function
|
|
6418
|
+
function Im(e) {
|
|
6332
6419
|
return e instanceof HTMLImageElement;
|
|
6333
6420
|
}
|
|
6334
|
-
function
|
|
6421
|
+
function Mm(e) {
|
|
6335
6422
|
var t = {}, r = t.rootMargin, n = r === void 0 ? "0px" : r, o = t.threshold, i = o === void 0 ? 0.1 : o;
|
|
6336
|
-
return
|
|
6423
|
+
return Lm.bind(null, n, i);
|
|
6337
6424
|
}
|
|
6338
|
-
function
|
|
6425
|
+
function Lm(e, t, r, n, o, i) {
|
|
6339
6426
|
return e === void 0 && (e = "0px"), t === void 0 && (t = 0.1), Di() ? new Promise(function(s) {
|
|
6340
6427
|
var l = function() {
|
|
6341
6428
|
return s({ lazyload: !0 });
|
|
6342
|
-
}, u =
|
|
6429
|
+
}, u = Nm(r, l, e, t);
|
|
6343
6430
|
o.cleanupCallbacks.push(function() {
|
|
6344
6431
|
u(), s("canceled");
|
|
6345
6432
|
});
|
|
6346
6433
|
}) : !1;
|
|
6347
6434
|
}
|
|
6348
|
-
function
|
|
6435
|
+
function Dm() {
|
|
6349
6436
|
return window && "IntersectionObserver" in window;
|
|
6350
6437
|
}
|
|
6351
|
-
function
|
|
6438
|
+
function Nm(e, t, r, n) {
|
|
6352
6439
|
try {
|
|
6353
|
-
if (!
|
|
6440
|
+
if (!Dm())
|
|
6354
6441
|
return t(), function() {
|
|
6355
6442
|
};
|
|
6356
6443
|
var o = new IntersectionObserver(function(i) {
|
|
@@ -6365,18 +6452,18 @@ function Lm(e, t, r, n) {
|
|
|
6365
6452
|
t();
|
|
6366
6453
|
}
|
|
6367
6454
|
}
|
|
6368
|
-
function
|
|
6455
|
+
function Fm(e) {
|
|
6369
6456
|
var t = {}, r = t.mode, n = r === void 0 ? "vectorize" : r;
|
|
6370
|
-
return
|
|
6457
|
+
return Vm.bind(null, n);
|
|
6371
6458
|
}
|
|
6372
|
-
function
|
|
6459
|
+
function Vm(e, t, r, n, o, i) {
|
|
6373
6460
|
Ks[e] || (e = "vectorize");
|
|
6374
6461
|
var s = Ks[e].actions, l = or(r);
|
|
6375
6462
|
if (s.forEach(function(d) {
|
|
6376
6463
|
l.addAction(d);
|
|
6377
6464
|
}), !Di())
|
|
6378
6465
|
return r.transformation = l.transformation, !0;
|
|
6379
|
-
if (
|
|
6466
|
+
if (Im(t)) {
|
|
6380
6467
|
l.transformation.actions.forEach(function(d, h) {
|
|
6381
6468
|
d instanceof qt && d.getActionTag() === "responsive" && delete l.transformation.actions[h];
|
|
6382
6469
|
});
|
|
@@ -6402,7 +6489,7 @@ function Nm(e, t, r, n, o, i) {
|
|
|
6402
6489
|
});
|
|
6403
6490
|
}
|
|
6404
6491
|
}
|
|
6405
|
-
function
|
|
6492
|
+
function Bm(e, t, r) {
|
|
6406
6493
|
var n = or(t);
|
|
6407
6494
|
if (e)
|
|
6408
6495
|
for (var o = 0; o < e.length; o++) {
|
|
@@ -6456,13 +6543,13 @@ object-assign
|
|
|
6456
6543
|
(c) Sindre Sorhus
|
|
6457
6544
|
@license MIT
|
|
6458
6545
|
*/
|
|
6459
|
-
var ta = Object.getOwnPropertySymbols,
|
|
6460
|
-
function
|
|
6546
|
+
var ta = Object.getOwnPropertySymbols, zm = Object.prototype.hasOwnProperty, Um = Object.prototype.propertyIsEnumerable;
|
|
6547
|
+
function Wm(e) {
|
|
6461
6548
|
if (e == null)
|
|
6462
6549
|
throw new TypeError("Object.assign cannot be called with null or undefined");
|
|
6463
6550
|
return Object(e);
|
|
6464
6551
|
}
|
|
6465
|
-
function
|
|
6552
|
+
function qm() {
|
|
6466
6553
|
try {
|
|
6467
6554
|
if (!Object.assign)
|
|
6468
6555
|
return !1;
|
|
@@ -6484,15 +6571,15 @@ function Um() {
|
|
|
6484
6571
|
return !1;
|
|
6485
6572
|
}
|
|
6486
6573
|
}
|
|
6487
|
-
var Uc =
|
|
6488
|
-
for (var r, n =
|
|
6574
|
+
var Uc = qm() ? Object.assign : function(e, t) {
|
|
6575
|
+
for (var r, n = Wm(e), o, i = 1; i < arguments.length; i++) {
|
|
6489
6576
|
r = Object(arguments[i]);
|
|
6490
6577
|
for (var s in r)
|
|
6491
|
-
|
|
6578
|
+
zm.call(r, s) && (n[s] = r[s]);
|
|
6492
6579
|
if (ta) {
|
|
6493
6580
|
o = ta(r);
|
|
6494
6581
|
for (var l = 0; l < o.length; l++)
|
|
6495
|
-
|
|
6582
|
+
Um.call(r, o[l]) && (n[o[l]] = r[o[l]]);
|
|
6496
6583
|
}
|
|
6497
6584
|
}
|
|
6498
6585
|
return n;
|
|
@@ -6505,7 +6592,7 @@ var Uc = Um() ? Object.assign : function(e, t) {
|
|
|
6505
6592
|
* This source code is licensed under the MIT license found in the
|
|
6506
6593
|
* LICENSE file in the root directory of this source tree.
|
|
6507
6594
|
*/
|
|
6508
|
-
var Ni = Uc, Gt = typeof Symbol == "function" && Symbol.for, sn = Gt ? Symbol.for("react.element") : 60103,
|
|
6595
|
+
var Ni = Uc, Gt = typeof Symbol == "function" && Symbol.for, sn = Gt ? Symbol.for("react.element") : 60103, Gm = Gt ? Symbol.for("react.portal") : 60106, Hm = Gt ? Symbol.for("react.fragment") : 60107, Ym = Gt ? Symbol.for("react.strict_mode") : 60108, Qm = Gt ? Symbol.for("react.profiler") : 60114, Jm = Gt ? Symbol.for("react.provider") : 60109, Km = Gt ? Symbol.for("react.context") : 60110, Xm = Gt ? Symbol.for("react.forward_ref") : 60112, Zm = Gt ? Symbol.for("react.suspense") : 60113, ey = Gt ? Symbol.for("react.memo") : 60115, ty = Gt ? Symbol.for("react.lazy") : 60116, ra = typeof Symbol == "function" && Symbol.iterator;
|
|
6509
6596
|
function an(e) {
|
|
6510
6597
|
for (var t = "https://reactjs.org/docs/error-decoder.html?invariant=" + e, r = 1; r < arguments.length; r++) t += "&args[]=" + encodeURIComponent(arguments[r]);
|
|
6511
6598
|
return "Minified React error #" + e + "; visit " + t + " for the full message or use the non-minified dev environment for full errors and additional helpful warnings.";
|
|
@@ -6550,13 +6637,13 @@ function Qc(e, t, r) {
|
|
|
6550
6637
|
if (e && e.defaultProps) for (n in l = e.defaultProps, l) o[n] === void 0 && (o[n] = l[n]);
|
|
6551
6638
|
return { $$typeof: sn, type: e, key: i, ref: s, props: o, _owner: Bi.current };
|
|
6552
6639
|
}
|
|
6553
|
-
function
|
|
6640
|
+
function ry(e, t) {
|
|
6554
6641
|
return { $$typeof: sn, type: e.type, key: t, ref: e.ref, props: e.props, _owner: e._owner };
|
|
6555
6642
|
}
|
|
6556
6643
|
function zi(e) {
|
|
6557
6644
|
return typeof e == "object" && e !== null && e.$$typeof === sn;
|
|
6558
6645
|
}
|
|
6559
|
-
function
|
|
6646
|
+
function ny(e) {
|
|
6560
6647
|
var t = { "=": "=0", ":": "=2" };
|
|
6561
6648
|
return "$" + ("" + e).replace(/[=:]/g, function(r) {
|
|
6562
6649
|
return t[r];
|
|
@@ -6586,7 +6673,7 @@ function fi(e, t, r, n) {
|
|
|
6586
6673
|
case "object":
|
|
6587
6674
|
switch (e.$$typeof) {
|
|
6588
6675
|
case sn:
|
|
6589
|
-
case
|
|
6676
|
+
case Gm:
|
|
6590
6677
|
i = !0;
|
|
6591
6678
|
}
|
|
6592
6679
|
}
|
|
@@ -6604,20 +6691,20 @@ function di(e, t, r) {
|
|
|
6604
6691
|
return e == null ? 0 : fi(e, "", t, r);
|
|
6605
6692
|
}
|
|
6606
6693
|
function Mo(e, t) {
|
|
6607
|
-
return typeof e == "object" && e !== null && e.key != null ?
|
|
6694
|
+
return typeof e == "object" && e !== null && e.key != null ? ny(e.key) : t.toString(36);
|
|
6608
6695
|
}
|
|
6609
|
-
function
|
|
6696
|
+
function oy(e, t) {
|
|
6610
6697
|
e.func.call(e.context, t, e.count++);
|
|
6611
6698
|
}
|
|
6612
|
-
function
|
|
6699
|
+
function iy(e, t, r) {
|
|
6613
6700
|
var n = e.result, o = e.keyPrefix;
|
|
6614
6701
|
e = e.func.call(e.context, t, e.count++), Array.isArray(e) ? pi(e, n, r, function(i) {
|
|
6615
6702
|
return i;
|
|
6616
|
-
}) : e != null && (zi(e) && (e =
|
|
6703
|
+
}) : e != null && (zi(e) && (e = ry(e, o + (!e.key || t && t.key === e.key ? "" : ("" + e.key).replace(Jc, "$&/") + "/") + r)), n.push(e));
|
|
6617
6704
|
}
|
|
6618
6705
|
function pi(e, t, r, n, o) {
|
|
6619
6706
|
var i = "";
|
|
6620
|
-
r != null && (i = ("" + r).replace(Jc, "$&/") + "/"), t = Kc(t, i, n, o), di(e,
|
|
6707
|
+
r != null && (i = ("" + r).replace(Jc, "$&/") + "/"), t = Kc(t, i, n, o), di(e, iy, t), Xc(t);
|
|
6621
6708
|
}
|
|
6622
6709
|
var Zc = { current: null };
|
|
6623
6710
|
function tr() {
|
|
@@ -6625,14 +6712,14 @@ function tr() {
|
|
|
6625
6712
|
if (e === null) throw Error(an(321));
|
|
6626
6713
|
return e;
|
|
6627
6714
|
}
|
|
6628
|
-
var
|
|
6715
|
+
var sy = { ReactCurrentDispatcher: Zc, ReactCurrentBatchConfig: { suspense: null }, ReactCurrentOwner: Bi, IsSomeRendererActing: { current: !1 }, assign: Ni };
|
|
6629
6716
|
he.Children = { map: function(e, t, r) {
|
|
6630
6717
|
if (e == null) return e;
|
|
6631
6718
|
var n = [];
|
|
6632
6719
|
return pi(e, n, null, t, r), n;
|
|
6633
6720
|
}, forEach: function(e, t, r) {
|
|
6634
6721
|
if (e == null) return e;
|
|
6635
|
-
t = Kc(null, null, t, r), di(e,
|
|
6722
|
+
t = Kc(null, null, t, r), di(e, oy, t), Xc(t);
|
|
6636
6723
|
}, count: function(e) {
|
|
6637
6724
|
return di(e, function() {
|
|
6638
6725
|
return null;
|
|
@@ -6647,12 +6734,12 @@ he.Children = { map: function(e, t, r) {
|
|
|
6647
6734
|
return e;
|
|
6648
6735
|
} };
|
|
6649
6736
|
he.Component = Vr;
|
|
6650
|
-
he.Fragment =
|
|
6651
|
-
he.Profiler =
|
|
6737
|
+
he.Fragment = Hm;
|
|
6738
|
+
he.Profiler = Qm;
|
|
6652
6739
|
he.PureComponent = Fi;
|
|
6653
|
-
he.StrictMode =
|
|
6654
|
-
he.Suspense =
|
|
6655
|
-
he.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED =
|
|
6740
|
+
he.StrictMode = Ym;
|
|
6741
|
+
he.Suspense = Zm;
|
|
6742
|
+
he.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = sy;
|
|
6656
6743
|
he.cloneElement = function(e, t, r) {
|
|
6657
6744
|
if (e == null) throw Error(an(267, e));
|
|
6658
6745
|
var n = Ni({}, e.props), o = e.key, i = e.ref, s = e._owner;
|
|
@@ -6677,7 +6764,7 @@ he.cloneElement = function(e, t, r) {
|
|
|
6677
6764
|
};
|
|
6678
6765
|
};
|
|
6679
6766
|
he.createContext = function(e, t) {
|
|
6680
|
-
return t === void 0 && (t = null), e = { $$typeof:
|
|
6767
|
+
return t === void 0 && (t = null), e = { $$typeof: Km, _calculateChangedBits: t, _currentValue: e, _currentValue2: e, _threadCount: 0, Provider: null, Consumer: null }, e.Provider = { $$typeof: Jm, _context: e }, e.Consumer = e;
|
|
6681
6768
|
};
|
|
6682
6769
|
he.createElement = Qc;
|
|
6683
6770
|
he.createFactory = function(e) {
|
|
@@ -6688,14 +6775,14 @@ he.createRef = function() {
|
|
|
6688
6775
|
return { current: null };
|
|
6689
6776
|
};
|
|
6690
6777
|
he.forwardRef = function(e) {
|
|
6691
|
-
return { $$typeof:
|
|
6778
|
+
return { $$typeof: Xm, render: e };
|
|
6692
6779
|
};
|
|
6693
6780
|
he.isValidElement = zi;
|
|
6694
6781
|
he.lazy = function(e) {
|
|
6695
|
-
return { $$typeof:
|
|
6782
|
+
return { $$typeof: ty, _ctor: e, _status: -1, _result: null };
|
|
6696
6783
|
};
|
|
6697
6784
|
he.memo = function(e, t) {
|
|
6698
|
-
return { $$typeof:
|
|
6785
|
+
return { $$typeof: ey, type: e, compare: t === void 0 ? null : t };
|
|
6699
6786
|
};
|
|
6700
6787
|
he.useCallback = function(e, t) {
|
|
6701
6788
|
return tr().useCallback(e, t);
|
|
@@ -6727,10 +6814,10 @@ he.useState = function(e) {
|
|
|
6727
6814
|
return tr().useState(e);
|
|
6728
6815
|
};
|
|
6729
6816
|
he.version = "16.14.0";
|
|
6730
|
-
var pe = {},
|
|
6817
|
+
var pe = {}, ay = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED", cy = ay, ly = Function.call.bind(Object.prototype.hasOwnProperty), hi = function() {
|
|
6731
6818
|
};
|
|
6732
6819
|
if (process.env.NODE_ENV !== "production") {
|
|
6733
|
-
var
|
|
6820
|
+
var uy = cy, gi = {}, fy = ly;
|
|
6734
6821
|
hi = function(e) {
|
|
6735
6822
|
var t = "Warning: " + e;
|
|
6736
6823
|
typeof console < "u" && console.error(t);
|
|
@@ -6743,7 +6830,7 @@ if (process.env.NODE_ENV !== "production") {
|
|
|
6743
6830
|
function el(e, t, r, n, o) {
|
|
6744
6831
|
if (process.env.NODE_ENV !== "production") {
|
|
6745
6832
|
for (var i in e)
|
|
6746
|
-
if (
|
|
6833
|
+
if (fy(e, i)) {
|
|
6747
6834
|
var s;
|
|
6748
6835
|
try {
|
|
6749
6836
|
if (typeof e[i] != "function") {
|
|
@@ -6752,7 +6839,7 @@ function el(e, t, r, n, o) {
|
|
|
6752
6839
|
);
|
|
6753
6840
|
throw l.name = "Invariant Violation", l;
|
|
6754
6841
|
}
|
|
6755
|
-
s = e[i](t, i, n, r, null,
|
|
6842
|
+
s = e[i](t, i, n, r, null, uy);
|
|
6756
6843
|
} catch (d) {
|
|
6757
6844
|
s = d;
|
|
6758
6845
|
}
|
|
@@ -6771,7 +6858,7 @@ function el(e, t, r, n, o) {
|
|
|
6771
6858
|
el.resetWarningCache = function() {
|
|
6772
6859
|
process.env.NODE_ENV !== "production" && (gi = {});
|
|
6773
6860
|
};
|
|
6774
|
-
var
|
|
6861
|
+
var dy = el;
|
|
6775
6862
|
/** @license React v16.14.0
|
|
6776
6863
|
* react.development.js
|
|
6777
6864
|
*
|
|
@@ -6781,7 +6868,7 @@ var uy = el;
|
|
|
6781
6868
|
* LICENSE file in the root directory of this source tree.
|
|
6782
6869
|
*/
|
|
6783
6870
|
process.env.NODE_ENV !== "production" && function() {
|
|
6784
|
-
var e = Uc, t =
|
|
6871
|
+
var e = Uc, t = dy, r = "16.14.0", n = typeof Symbol == "function" && Symbol.for, o = n ? Symbol.for("react.element") : 60103, i = n ? Symbol.for("react.portal") : 60106, s = n ? Symbol.for("react.fragment") : 60107, l = n ? Symbol.for("react.strict_mode") : 60108, u = n ? Symbol.for("react.profiler") : 60114, d = n ? Symbol.for("react.provider") : 60109, h = n ? Symbol.for("react.context") : 60110, y = n ? Symbol.for("react.concurrent_mode") : 60111, x = n ? Symbol.for("react.forward_ref") : 60112, b = n ? Symbol.for("react.suspense") : 60113, E = n ? Symbol.for("react.suspense_list") : 60120, $ = n ? Symbol.for("react.memo") : 60115, R = n ? Symbol.for("react.lazy") : 60116, A = n ? Symbol.for("react.block") : 60121, T = n ? Symbol.for("react.fundamental") : 60117, C = n ? Symbol.for("react.responder") : 60118, j = n ? Symbol.for("react.scope") : 60119, I = typeof Symbol == "function" && Symbol.iterator, L = "@@iterator";
|
|
6785
6872
|
function k(a) {
|
|
6786
6873
|
if (a === null || typeof a != "object")
|
|
6787
6874
|
return null;
|
|
@@ -6859,9 +6946,9 @@ process.env.NODE_ENV !== "production" && function() {
|
|
|
6859
6946
|
return "Context.Provider";
|
|
6860
6947
|
case x:
|
|
6861
6948
|
return _e(a, a.render, "ForwardRef");
|
|
6862
|
-
case T:
|
|
6863
|
-
return ne(a.type);
|
|
6864
6949
|
case $:
|
|
6950
|
+
return ne(a.type);
|
|
6951
|
+
case A:
|
|
6865
6952
|
return ne(a.render);
|
|
6866
6953
|
case R: {
|
|
6867
6954
|
var p = a, m = Y(p);
|
|
@@ -7418,18 +7505,18 @@ process.env.NODE_ENV !== "production" && function() {
|
|
|
7418
7505
|
return p;
|
|
7419
7506
|
}
|
|
7420
7507
|
function ut(a) {
|
|
7421
|
-
return a != null && a.$$typeof ===
|
|
7508
|
+
return a != null && a.$$typeof === $ ? q("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...)).") : typeof a != "function" ? q("forwardRef requires a render function but was given %s.", a === null ? "null" : typeof a) : a.length !== 0 && a.length !== 2 && q("forwardRef render functions accept exactly two parameters: props and ref. %s", a.length === 1 ? "Did you forget to use the ref parameter?" : "Any additional parameter will be undefined."), a != null && (a.defaultProps != null || a.propTypes != null) && q("forwardRef render functions do not support propTypes or defaultProps. Did you accidentally pass a React component?"), {
|
|
7422
7509
|
$$typeof: x,
|
|
7423
7510
|
render: a
|
|
7424
7511
|
};
|
|
7425
7512
|
}
|
|
7426
7513
|
function $e(a) {
|
|
7427
7514
|
return typeof a == "string" || typeof a == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
7428
|
-
a === s || a === y || a === u || a === l || a === b || a === E || typeof a == "object" && a !== null && (a.$$typeof === R || a.$$typeof ===
|
|
7515
|
+
a === s || a === y || a === u || a === l || a === b || a === E || typeof a == "object" && a !== null && (a.$$typeof === R || a.$$typeof === $ || a.$$typeof === d || a.$$typeof === h || a.$$typeof === x || a.$$typeof === T || a.$$typeof === C || a.$$typeof === j || a.$$typeof === A);
|
|
7429
7516
|
}
|
|
7430
7517
|
function f(a, p) {
|
|
7431
7518
|
return $e(a) || q("memo: The first argument must be a component. Instead received: %s", a === null ? "null" : typeof a), {
|
|
7432
|
-
$$typeof:
|
|
7519
|
+
$$typeof: $,
|
|
7433
7520
|
type: a,
|
|
7434
7521
|
compare: p === void 0 ? null : p
|
|
7435
7522
|
};
|
|
@@ -7565,7 +7652,7 @@ Check the top-level render call using <` + m + ">.");
|
|
|
7565
7652
|
_ = p.propTypes;
|
|
7566
7653
|
else if (typeof p == "object" && (p.$$typeof === x || // Note: Memo only checks outer props here.
|
|
7567
7654
|
// Inner props are checked in the reconciler.
|
|
7568
|
-
p.$$typeof ===
|
|
7655
|
+
p.$$typeof === $))
|
|
7569
7656
|
_ = p.propTypes;
|
|
7570
7657
|
else
|
|
7571
7658
|
return;
|
|
@@ -7639,7 +7726,7 @@ var Ar = Xr.exports, Lo = {
|
|
|
7639
7726
|
sdkSemver: "1.13.0",
|
|
7640
7727
|
techVersion: Ar.version,
|
|
7641
7728
|
sdkCode: "J"
|
|
7642
|
-
},
|
|
7729
|
+
}, py = (
|
|
7643
7730
|
/** @class */
|
|
7644
7731
|
function(e) {
|
|
7645
7732
|
Bc(t, e);
|
|
@@ -7648,7 +7735,7 @@ var Ar = Xr.exports, Lo = {
|
|
|
7648
7735
|
return n.imageRef = Ar.createRef(), n;
|
|
7649
7736
|
}
|
|
7650
7737
|
return t.prototype.componentDidMount = function() {
|
|
7651
|
-
this.htmlLayerInstance = new
|
|
7738
|
+
this.htmlLayerInstance = new tg(this.imageRef.current, this.props.cldImg, this.props.plugins, Lo);
|
|
7652
7739
|
}, t.prototype.componentDidUpdate = function() {
|
|
7653
7740
|
Dn(this.htmlLayerInstance.htmlPluginState), this.htmlLayerInstance.update(this.props.cldImg, this.props.plugins, Lo);
|
|
7654
7741
|
}, t.prototype.componentWillUnmount = function() {
|
|
@@ -7659,11 +7746,11 @@ var Ar = Xr.exports, Lo = {
|
|
|
7659
7746
|
var n = zc(r, ["cldImg", "plugins"]);
|
|
7660
7747
|
if (Di())
|
|
7661
7748
|
return Ar.createElement("img", Kr({ suppressHydrationWarning: !0 }, n, { ref: this.imageRef }));
|
|
7662
|
-
var o =
|
|
7749
|
+
var o = Bm(this.props.plugins, this.props.cldImg, Lo);
|
|
7663
7750
|
return Ar.createElement("img", Kr({}, n, { src: o }));
|
|
7664
7751
|
}, t;
|
|
7665
7752
|
}(Ar.Component)
|
|
7666
|
-
),
|
|
7753
|
+
), hy = ["controls", "loop", "muted", "poster", "preload", "autoplay", "playsinline"];
|
|
7667
7754
|
(function(e) {
|
|
7668
7755
|
Bc(t, e);
|
|
7669
7756
|
function t(r) {
|
|
@@ -7671,7 +7758,7 @@ var Ar = Xr.exports, Lo = {
|
|
|
7671
7758
|
return n.videoRef = Xr.exports.createRef(), n.attachRef = n.attachRef.bind(n), n;
|
|
7672
7759
|
}
|
|
7673
7760
|
return t.prototype.componentDidMount = function() {
|
|
7674
|
-
this.htmlVideoLayerInstance = new
|
|
7761
|
+
this.htmlVideoLayerInstance = new km(this.videoRef && this.videoRef.current, this.props.cldVid, this.props.sources, this.props.plugins, this.getVideoAttributes(), this.props.cldPoster, {
|
|
7675
7762
|
useFetchFormat: this.props.useFetchFormat
|
|
7676
7763
|
});
|
|
7677
7764
|
}, t.prototype.componentDidUpdate = function() {
|
|
@@ -7680,7 +7767,7 @@ var Ar = Xr.exports, Lo = {
|
|
|
7680
7767
|
Dn(this.htmlVideoLayerInstance.htmlPluginState);
|
|
7681
7768
|
}, t.prototype.getVideoAttributes = function() {
|
|
7682
7769
|
var r = this, n = {};
|
|
7683
|
-
return
|
|
7770
|
+
return hy.forEach(function(o) {
|
|
7684
7771
|
o in r.props && (n[o] = r.props[o]);
|
|
7685
7772
|
}), n;
|
|
7686
7773
|
}, t.prototype.attachRef = function(r) {
|
|
@@ -7694,13 +7781,13 @@ var Ar = Xr.exports, Lo = {
|
|
|
7694
7781
|
return Ar.createElement("video", Kr({}, n, { ref: this.attachRef }));
|
|
7695
7782
|
}, t;
|
|
7696
7783
|
})(Xr.exports.Component);
|
|
7697
|
-
function
|
|
7784
|
+
function gy(e) {
|
|
7698
7785
|
return !(typeof e != "object" || e instanceof Array);
|
|
7699
7786
|
}
|
|
7700
|
-
class
|
|
7787
|
+
class my {
|
|
7701
7788
|
filterOutNonSupportedKeys(t, r) {
|
|
7702
7789
|
const n = /* @__PURE__ */ Object.create({});
|
|
7703
|
-
return
|
|
7790
|
+
return gy(t) ? (Object.keys(t).forEach((o) => {
|
|
7704
7791
|
r.indexOf(o) >= 0 ? n[o] = t[o] : console.warn("Warning - unsupported key provided to configuration: ", o);
|
|
7705
7792
|
}), n) : /* @__PURE__ */ Object.create({});
|
|
7706
7793
|
}
|
|
@@ -7718,7 +7805,7 @@ const na = [
|
|
|
7718
7805
|
"analytics",
|
|
7719
7806
|
"queryParams"
|
|
7720
7807
|
];
|
|
7721
|
-
class Ui extends
|
|
7808
|
+
class Ui extends my {
|
|
7722
7809
|
/**
|
|
7723
7810
|
* @param {IURLConfig} userURLConfig
|
|
7724
7811
|
*/
|
|
@@ -7833,26 +7920,26 @@ class Zr {
|
|
|
7833
7920
|
return this.delimiter = t, this;
|
|
7834
7921
|
}
|
|
7835
7922
|
}
|
|
7836
|
-
class
|
|
7923
|
+
class yy extends Error {
|
|
7837
7924
|
constructor(t = "Unsupported") {
|
|
7838
7925
|
super(t);
|
|
7839
7926
|
}
|
|
7840
7927
|
}
|
|
7841
7928
|
function Wi(e) {
|
|
7842
|
-
return new
|
|
7929
|
+
return new yy(e);
|
|
7843
7930
|
}
|
|
7844
|
-
function
|
|
7931
|
+
function vy() {
|
|
7845
7932
|
return this._qualifierModel || { error: Wi(`unsupported qualifier ${this.constructor.name}`) };
|
|
7846
7933
|
}
|
|
7847
|
-
class
|
|
7934
|
+
class by {
|
|
7848
7935
|
constructor() {
|
|
7849
7936
|
this._qualifierModel = {};
|
|
7850
7937
|
}
|
|
7851
7938
|
toJson() {
|
|
7852
|
-
return
|
|
7939
|
+
return vy.apply(this);
|
|
7853
7940
|
}
|
|
7854
7941
|
}
|
|
7855
|
-
class fo extends
|
|
7942
|
+
class fo extends by {
|
|
7856
7943
|
constructor(t, r) {
|
|
7857
7944
|
super(), this.delimiter = "_", this.key = t, r instanceof Zr ? this.qualifierValue = r : (this.qualifierValue = new Zr(), this.qualifierValue.addValue(r));
|
|
7858
7945
|
}
|
|
@@ -7876,26 +7963,26 @@ class ir extends fo {
|
|
|
7876
7963
|
return this.flagValue;
|
|
7877
7964
|
}
|
|
7878
7965
|
}
|
|
7879
|
-
function
|
|
7966
|
+
function wy(e, t) {
|
|
7880
7967
|
const r = Array.from(e.entries());
|
|
7881
7968
|
return t.forEach((n) => {
|
|
7882
7969
|
r.push(["fl", n]);
|
|
7883
7970
|
}), r.sort().map((n) => n[1]);
|
|
7884
7971
|
}
|
|
7885
|
-
function
|
|
7972
|
+
function _y() {
|
|
7886
7973
|
var e, t, r;
|
|
7887
7974
|
const n = this._actionModel && Object.keys(this._actionModel).length, o = (r = (t = (e = this._actionModel) === null || e === void 0 ? void 0 : e.source) === null || t === void 0 ? void 0 : t.transformation) === null || r === void 0 ? void 0 : r.error;
|
|
7888
7975
|
return o && o instanceof Error ? { error: o } : n ? this._actionModel : { error: Wi(`unsupported action ${this.constructor.name}`) };
|
|
7889
7976
|
}
|
|
7890
|
-
class
|
|
7977
|
+
class xy {
|
|
7891
7978
|
constructor() {
|
|
7892
7979
|
this._actionModel = {};
|
|
7893
7980
|
}
|
|
7894
7981
|
toJson() {
|
|
7895
|
-
return
|
|
7982
|
+
return _y.apply(this);
|
|
7896
7983
|
}
|
|
7897
7984
|
}
|
|
7898
|
-
class qi extends
|
|
7985
|
+
class qi extends xy {
|
|
7899
7986
|
constructor() {
|
|
7900
7987
|
super(...arguments), this.qualifiers = /* @__PURE__ */ new Map(), this.flags = [], this.delimiter = ",", this.actionTag = "";
|
|
7901
7988
|
}
|
|
@@ -7920,7 +8007,7 @@ class qi extends wy {
|
|
|
7920
8007
|
* @return {string}
|
|
7921
8008
|
*/
|
|
7922
8009
|
toString() {
|
|
7923
|
-
return this.prepareQualifiers(),
|
|
8010
|
+
return this.prepareQualifiers(), wy(this.qualifiers, this.flags).join(this.delimiter);
|
|
7924
8011
|
}
|
|
7925
8012
|
/**
|
|
7926
8013
|
* @description Adds the parameter to the action.
|
|
@@ -7947,12 +8034,12 @@ class qi extends wy {
|
|
|
7947
8034
|
return this.qualifiers.get(t).addValue(r), this;
|
|
7948
8035
|
}
|
|
7949
8036
|
}
|
|
7950
|
-
function
|
|
8037
|
+
function Sy(e) {
|
|
7951
8038
|
return e && (e.match(/^#/) ? `rgb:${e.substr(1)}` : e);
|
|
7952
8039
|
}
|
|
7953
|
-
class
|
|
8040
|
+
class Ey extends qi {
|
|
7954
8041
|
constructor(t) {
|
|
7955
|
-
super(), this._actionModel = {}, this.addQualifier(new fo("b", new Zr(
|
|
8042
|
+
super(), this._actionModel = {}, this.addQualifier(new fo("b", new Zr(Sy(t)).setDelimiter("_"))), this._actionModel.color = t, this._actionModel.actionType = "backgroundColor";
|
|
7956
8043
|
}
|
|
7957
8044
|
static fromJson(t) {
|
|
7958
8045
|
const { color: r } = t;
|
|
@@ -7970,20 +8057,20 @@ class oa {
|
|
|
7970
8057
|
return { error: Wi(`unsupported action ${this.constructor.name}`) };
|
|
7971
8058
|
}
|
|
7972
8059
|
}
|
|
7973
|
-
function
|
|
8060
|
+
function $y(e) {
|
|
7974
8061
|
const t = e;
|
|
7975
8062
|
return "error" in t && !!t.error;
|
|
7976
8063
|
}
|
|
7977
|
-
function
|
|
8064
|
+
function Ay() {
|
|
7978
8065
|
return new ir("lossy");
|
|
7979
8066
|
}
|
|
7980
|
-
function
|
|
8067
|
+
function Ty() {
|
|
7981
8068
|
return new ir("preserve_transparency");
|
|
7982
8069
|
}
|
|
7983
|
-
function
|
|
8070
|
+
function Oy(e) {
|
|
7984
8071
|
return new ir("progressive", e);
|
|
7985
8072
|
}
|
|
7986
|
-
class
|
|
8073
|
+
class Cy extends Zr {
|
|
7987
8074
|
constructor(t) {
|
|
7988
8075
|
super(t), this.val = t;
|
|
7989
8076
|
}
|
|
@@ -7997,7 +8084,7 @@ function xr(e) {
|
|
|
7997
8084
|
t[e[r]] = r;
|
|
7998
8085
|
}), t;
|
|
7999
8086
|
}
|
|
8000
|
-
const
|
|
8087
|
+
const Ry = {
|
|
8001
8088
|
limitFit: "limit",
|
|
8002
8089
|
limitFill: "lfill",
|
|
8003
8090
|
minimumFit: "mfit",
|
|
@@ -8005,14 +8092,14 @@ const Oy = {
|
|
|
8005
8092
|
limitPad: "lpad",
|
|
8006
8093
|
minimumPad: "mpad",
|
|
8007
8094
|
autoPad: "auto_pad"
|
|
8008
|
-
},
|
|
8095
|
+
}, ky = {
|
|
8009
8096
|
colorSpace: "cs",
|
|
8010
8097
|
dpr: "dpr",
|
|
8011
8098
|
density: "dn",
|
|
8012
8099
|
defaultImage: "d",
|
|
8013
8100
|
format: "f",
|
|
8014
8101
|
quality: "q"
|
|
8015
|
-
},
|
|
8102
|
+
}, Py = {
|
|
8016
8103
|
redEye: "redeye",
|
|
8017
8104
|
advancedRedEye: "adv_redeye",
|
|
8018
8105
|
oilPaint: "oil_paint",
|
|
@@ -8020,7 +8107,7 @@ const Oy = {
|
|
|
8020
8107
|
makeTransparent: "make_transparent",
|
|
8021
8108
|
generativeRestore: "gen_restore",
|
|
8022
8109
|
upscale: "upscale"
|
|
8023
|
-
},
|
|
8110
|
+
}, jy = {
|
|
8024
8111
|
autoBest: "auto:best",
|
|
8025
8112
|
autoEco: "auto:eco",
|
|
8026
8113
|
autoGood: "auto:good",
|
|
@@ -8028,28 +8115,28 @@ const Oy = {
|
|
|
8028
8115
|
jpegminiHigh: "jpegmini:1",
|
|
8029
8116
|
jpegminiMedium: "jpegmini:2",
|
|
8030
8117
|
jpegminiBest: "jpegmini:0"
|
|
8031
|
-
},
|
|
8118
|
+
}, Iy = {
|
|
8032
8119
|
fullHd: "full_hd",
|
|
8033
8120
|
fullHdWifi: "full_hd_wifi",
|
|
8034
8121
|
fullHdLean: "full_hd_lean",
|
|
8035
8122
|
hdLean: "hd_lean"
|
|
8036
|
-
},
|
|
8123
|
+
}, My = {
|
|
8037
8124
|
444: "CHROMA_444",
|
|
8038
8125
|
420: "CHROMA_420"
|
|
8039
|
-
},
|
|
8126
|
+
}, Ly = {
|
|
8040
8127
|
noCmyk: "no_cmyk",
|
|
8041
8128
|
keepCmyk: "keep_cmyk",
|
|
8042
8129
|
tinySrgb: "tinysrgb",
|
|
8043
8130
|
srgbTrueColor: "srgb:truecolor"
|
|
8044
8131
|
};
|
|
8045
|
-
xr(
|
|
8046
|
-
xr(
|
|
8047
|
-
xr(Oy);
|
|
8048
|
-
const My = xr(Cy);
|
|
8132
|
+
xr(My);
|
|
8133
|
+
xr(Ly);
|
|
8049
8134
|
xr(Ry);
|
|
8050
|
-
xr(ky);
|
|
8135
|
+
const Dy = xr(ky);
|
|
8051
8136
|
xr(Py);
|
|
8052
|
-
|
|
8137
|
+
xr(jy);
|
|
8138
|
+
xr(Iy);
|
|
8139
|
+
class Ny extends qi {
|
|
8053
8140
|
/**
|
|
8054
8141
|
* @param {string} deliveryKey A generic Delivery Action Key (such as q, f, dn, etc.)
|
|
8055
8142
|
* @param {string} deliveryType A Format Qualifiers for the action, such as Quality.auto()
|
|
@@ -8059,15 +8146,15 @@ class Ly extends qi {
|
|
|
8059
8146
|
constructor(t, r, n) {
|
|
8060
8147
|
super(), this._actionModel = {};
|
|
8061
8148
|
let o;
|
|
8062
|
-
r instanceof
|
|
8149
|
+
r instanceof Cy ? o = r.getValue() : o = r, this._actionModel.actionType = Dy[t], this._actionModel[n] = o, this.addQualifier(new fo(t, r));
|
|
8063
8150
|
}
|
|
8064
8151
|
}
|
|
8065
|
-
class
|
|
8152
|
+
class Fy extends ir {
|
|
8066
8153
|
constructor(t) {
|
|
8067
8154
|
super("progressive", t);
|
|
8068
8155
|
}
|
|
8069
8156
|
}
|
|
8070
|
-
class Fn extends
|
|
8157
|
+
class Fn extends Ny {
|
|
8071
8158
|
constructor(t, r) {
|
|
8072
8159
|
super(t, r, "formatType");
|
|
8073
8160
|
}
|
|
@@ -8076,20 +8163,20 @@ class Fn extends Ly {
|
|
|
8076
8163
|
* @return {this}
|
|
8077
8164
|
*/
|
|
8078
8165
|
lossy() {
|
|
8079
|
-
return this._actionModel.lossy = !0, this.addFlag(
|
|
8166
|
+
return this._actionModel.lossy = !0, this.addFlag(Ay()), this;
|
|
8080
8167
|
}
|
|
8081
8168
|
/**
|
|
8082
8169
|
* @description Uses progressive compression when delivering JPG file format.
|
|
8083
8170
|
* @return {this}
|
|
8084
8171
|
*/
|
|
8085
8172
|
progressive(t) {
|
|
8086
|
-
return t instanceof
|
|
8173
|
+
return t instanceof Fy ? (this._actionModel.progressive = { mode: t.getFlagValue() }, this.addFlag(t)) : (this._actionModel.progressive = { mode: t }, this.addFlag(Oy(t))), this;
|
|
8087
8174
|
}
|
|
8088
8175
|
/**
|
|
8089
8176
|
* @description Ensures that images with a transparency channel are delivered in PNG format.
|
|
8090
8177
|
*/
|
|
8091
8178
|
preserveTransparency() {
|
|
8092
|
-
return this._actionModel.preserveTransparency = !0, this.addFlag(
|
|
8179
|
+
return this._actionModel.preserveTransparency = !0, this.addFlag(Ty()), this;
|
|
8093
8180
|
}
|
|
8094
8181
|
static fromJson(t) {
|
|
8095
8182
|
const { formatType: r, lossy: n, progressive: o, preserveTransparency: i } = t;
|
|
@@ -8269,7 +8356,7 @@ class po {
|
|
|
8269
8356
|
* @return {this}
|
|
8270
8357
|
*/
|
|
8271
8358
|
backgroundColor(t) {
|
|
8272
|
-
return this.addAction(new
|
|
8359
|
+
return this.addAction(new Ey(t));
|
|
8273
8360
|
}
|
|
8274
8361
|
/**
|
|
8275
8362
|
* @description Adds a layer in a Photoshop document.
|
|
@@ -8325,62 +8412,62 @@ class po {
|
|
|
8325
8412
|
const t = [];
|
|
8326
8413
|
for (const r of this.actions) {
|
|
8327
8414
|
const n = r.toJson();
|
|
8328
|
-
if (
|
|
8415
|
+
if ($y(n))
|
|
8329
8416
|
return n;
|
|
8330
8417
|
t.push(n);
|
|
8331
8418
|
}
|
|
8332
8419
|
return { actions: t };
|
|
8333
8420
|
}
|
|
8334
8421
|
}
|
|
8335
|
-
class
|
|
8422
|
+
class Vy extends po {
|
|
8336
8423
|
}
|
|
8337
|
-
class
|
|
8424
|
+
class By extends po {
|
|
8338
8425
|
}
|
|
8339
|
-
function
|
|
8426
|
+
function zy(e) {
|
|
8340
8427
|
return e.match(/^https?:\//);
|
|
8341
8428
|
}
|
|
8342
|
-
function
|
|
8429
|
+
function Uy(e) {
|
|
8343
8430
|
return e.indexOf("/") < 0;
|
|
8344
8431
|
}
|
|
8345
|
-
function
|
|
8432
|
+
function Wy(e) {
|
|
8346
8433
|
return e.match(/^v[0-9]+/);
|
|
8347
8434
|
}
|
|
8348
|
-
function
|
|
8435
|
+
function qy(e, t) {
|
|
8349
8436
|
const r = t.secure, n = t.privateCdn, o = t.cname, i = t.secureDistribution;
|
|
8350
8437
|
return !r && !o ? `http://res.cloudinary.com/${e}` : r && !i && n ? `https://${e}-res.cloudinary.com` : r && !i ? `https://res.cloudinary.com/${e}` : r && i && n ? `https://${i}` : r && i ? `https://${i}/${e}` : !r && o ? `http://${o}/${e}` : "ERROR";
|
|
8351
8438
|
}
|
|
8352
|
-
function
|
|
8439
|
+
function Gy(e) {
|
|
8353
8440
|
return e || "image";
|
|
8354
8441
|
}
|
|
8355
|
-
function
|
|
8442
|
+
function Hy(e) {
|
|
8356
8443
|
return e || "upload";
|
|
8357
8444
|
}
|
|
8358
|
-
function
|
|
8445
|
+
function Yy(e, t, r) {
|
|
8359
8446
|
const n = r !== !1;
|
|
8360
|
-
return t ? `v${t}` :
|
|
8447
|
+
return t ? `v${t}` : Wy(e) || zy(e) || Uy(e) ? "" : n ? "v1" : "";
|
|
8361
8448
|
}
|
|
8362
8449
|
function Gi(e, t, r) {
|
|
8363
8450
|
let n = t >> 0, o = String(r);
|
|
8364
|
-
return e.length > n ? String(e) : (n = n - e.length, n > o.length && (o +=
|
|
8451
|
+
return e.length > n ? String(e) : (n = n - e.length, n > o.length && (o += Qy(o, n / o.length)), o.slice(0, n) + String(e));
|
|
8365
8452
|
}
|
|
8366
|
-
function
|
|
8453
|
+
function Qy(e, t) {
|
|
8367
8454
|
let r = t, n = "";
|
|
8368
8455
|
for (; r > 0; )
|
|
8369
8456
|
n += e, r--;
|
|
8370
8457
|
return n;
|
|
8371
8458
|
}
|
|
8372
|
-
const
|
|
8459
|
+
const Jy = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", Vn = {};
|
|
8373
8460
|
let ia = 0;
|
|
8374
|
-
|
|
8461
|
+
Jy.split("").forEach((e) => {
|
|
8375
8462
|
let t = ia.toString(2);
|
|
8376
8463
|
t = Gi(t, 6, "0"), Vn[t] = e, ia++;
|
|
8377
8464
|
});
|
|
8378
|
-
function
|
|
8465
|
+
function Ky(e) {
|
|
8379
8466
|
if (e.split(".").length < 2)
|
|
8380
8467
|
throw new Error("invalid semVer, must have at least two segments");
|
|
8381
8468
|
return e.split(".").reverse().join(".");
|
|
8382
8469
|
}
|
|
8383
|
-
function
|
|
8470
|
+
function Xy(e) {
|
|
8384
8471
|
if (e.split(".").length < 2)
|
|
8385
8472
|
throw new Error("invalid semVer, must have at least two segments");
|
|
8386
8473
|
return e.split(".").map((t) => {
|
|
@@ -8392,7 +8479,7 @@ function Jy(e) {
|
|
|
8392
8479
|
}
|
|
8393
8480
|
function sa(e) {
|
|
8394
8481
|
let t = "";
|
|
8395
|
-
const n = e.split(".").length * 6, o =
|
|
8482
|
+
const n = e.split(".").length * 6, o = Ky(e), i = Xy(o);
|
|
8396
8483
|
let l = parseInt(i.split(".").join("")).toString(2);
|
|
8397
8484
|
if (l = Gi(l, n, "0"), l.length % 6 !== 0)
|
|
8398
8485
|
throw "Version must be smaller than 43.21.26)";
|
|
@@ -8400,7 +8487,7 @@ function sa(e) {
|
|
|
8400
8487
|
t += Vn[u];
|
|
8401
8488
|
}), t;
|
|
8402
8489
|
}
|
|
8403
|
-
function
|
|
8490
|
+
function Zy(e) {
|
|
8404
8491
|
const t = {
|
|
8405
8492
|
sdkSemver: e.sdkSemver,
|
|
8406
8493
|
techVersion: e.techVersion,
|
|
@@ -8412,12 +8499,12 @@ function Ky(e) {
|
|
|
8412
8499
|
};
|
|
8413
8500
|
return e.accessibility && (t.feature = "D"), e.lazyload && (t.feature = "C"), e.responsive && (t.feature = "A"), e.placeholder && (t.feature = "B"), t;
|
|
8414
8501
|
}
|
|
8415
|
-
const
|
|
8416
|
-
function
|
|
8502
|
+
const ev = "1.21.0";
|
|
8503
|
+
function tv(e) {
|
|
8417
8504
|
const [t, r] = e.split("."), n = parseInt(t).toString(2), o = parseInt(r).toString(2), i = n.padStart(6, "0"), s = o.padStart(6, "0");
|
|
8418
8505
|
return Vn[i] + Vn[s];
|
|
8419
8506
|
}
|
|
8420
|
-
function
|
|
8507
|
+
function rv() {
|
|
8421
8508
|
const e = "0.0.0";
|
|
8422
8509
|
if (typeof window < "u")
|
|
8423
8510
|
return e;
|
|
@@ -8427,11 +8514,11 @@ function ev() {
|
|
|
8427
8514
|
return e;
|
|
8428
8515
|
}
|
|
8429
8516
|
}
|
|
8430
|
-
function
|
|
8517
|
+
function nv(e) {
|
|
8431
8518
|
const t = {
|
|
8432
|
-
techVersion:
|
|
8519
|
+
techVersion: rv(),
|
|
8433
8520
|
sdkCode: "T",
|
|
8434
|
-
sdkSemver:
|
|
8521
|
+
sdkSemver: ev.split("-")[0],
|
|
8435
8522
|
product: "A",
|
|
8436
8523
|
osType: "Z",
|
|
8437
8524
|
osVersion: "0.0",
|
|
@@ -8443,15 +8530,15 @@ function tv(e) {
|
|
|
8443
8530
|
return e ? Object.assign(Object.assign({}, t), e) : t;
|
|
8444
8531
|
}
|
|
8445
8532
|
function aa(e) {
|
|
8446
|
-
const t =
|
|
8533
|
+
const t = nv(e), r = Zy(t);
|
|
8447
8534
|
try {
|
|
8448
|
-
const n =
|
|
8535
|
+
const n = ov(r.techVersion), o = sa(r.sdkSemver), i = sa(n), s = tv(r.osVersion), l = r.feature, u = r.sdkCode, { product: d, osType: h } = r;
|
|
8449
8536
|
return `D${d}${u}${o}${i}${h}${s}${l}`;
|
|
8450
8537
|
} catch {
|
|
8451
8538
|
return "E";
|
|
8452
8539
|
}
|
|
8453
8540
|
}
|
|
8454
|
-
function
|
|
8541
|
+
function ov(e) {
|
|
8455
8542
|
const t = e.split(".");
|
|
8456
8543
|
return `${t[0]}.${t[1]}`;
|
|
8457
8544
|
}
|
|
@@ -8462,7 +8549,7 @@ const ca = {
|
|
|
8462
8549
|
"raw/upload": "files",
|
|
8463
8550
|
"video/upload": "videos"
|
|
8464
8551
|
};
|
|
8465
|
-
class
|
|
8552
|
+
class iv {
|
|
8466
8553
|
constructor(t, r = {}, n) {
|
|
8467
8554
|
this.setPublicID(t), this.setCloudConfig(r), this.setURLConfig(n);
|
|
8468
8555
|
}
|
|
@@ -8559,7 +8646,7 @@ class nv {
|
|
|
8559
8646
|
* If no match is found, return `{asset}/{delivery}`
|
|
8560
8647
|
*/
|
|
8561
8648
|
getResourceType() {
|
|
8562
|
-
const t =
|
|
8649
|
+
const t = Gy(this.assetType), r = Hy(this.deliveryType), n = !!this.suffix, o = `${t}/${r}`, i = ca[`${t}/${r}`], s = this.urlConfig.useRootPath, l = this.urlConfig.shorten;
|
|
8563
8650
|
if (s) {
|
|
8564
8651
|
if (o === "image/upload")
|
|
8565
8652
|
return "";
|
|
@@ -8587,7 +8674,7 @@ class nv {
|
|
|
8587
8674
|
if (!this.publicID)
|
|
8588
8675
|
return "";
|
|
8589
8676
|
this.validateAssetForURLCreation();
|
|
8590
|
-
const n =
|
|
8677
|
+
const n = qy(this.cloudName, this.urlConfig), o = t ? t.toString() : "", i = Yy(this.publicID, this.version, this.urlConfig.forceVersion), s = this.publicID;
|
|
8591
8678
|
if (typeof t == "string")
|
|
8592
8679
|
return [n, this.getResourceType(), this.getSignature(), o, i, s.replace(/,/g, "%2C"), this.suffix].filter((u) => u).join("/");
|
|
8593
8680
|
{
|
|
@@ -8614,7 +8701,7 @@ class nv {
|
|
|
8614
8701
|
}
|
|
8615
8702
|
}
|
|
8616
8703
|
}
|
|
8617
|
-
class tl extends
|
|
8704
|
+
class tl extends iv {
|
|
8618
8705
|
constructor(t, r, n, o) {
|
|
8619
8706
|
super(t, r, n), this.transformation = o;
|
|
8620
8707
|
}
|
|
@@ -8810,14 +8897,14 @@ class tl extends nv {
|
|
|
8810
8897
|
return this.createCloudinaryURL(this.transformation, t == null ? void 0 : t.trackedAnalytics);
|
|
8811
8898
|
}
|
|
8812
8899
|
}
|
|
8813
|
-
class
|
|
8900
|
+
class sv extends tl {
|
|
8814
8901
|
constructor(t, r, n) {
|
|
8815
|
-
super(t, r, n, new
|
|
8902
|
+
super(t, r, n, new Vy());
|
|
8816
8903
|
}
|
|
8817
8904
|
}
|
|
8818
|
-
class
|
|
8905
|
+
class av extends tl {
|
|
8819
8906
|
constructor(t, r, n) {
|
|
8820
|
-
super(t, r, n, new
|
|
8907
|
+
super(t, r, n, new By()), this.assetType = "video";
|
|
8821
8908
|
}
|
|
8822
8909
|
/**
|
|
8823
8910
|
* @desc A proxy to {@link SDK.Transformation| Transformation} - Calls the same method contained in this.transformation
|
|
@@ -8836,15 +8923,15 @@ class iv extends tl {
|
|
|
8836
8923
|
return this.transformation.videoEdit(t), this;
|
|
8837
8924
|
}
|
|
8838
8925
|
}
|
|
8839
|
-
class
|
|
8926
|
+
class cv {
|
|
8840
8927
|
constructor(t) {
|
|
8841
8928
|
t && (this.cloudinaryConfig = t);
|
|
8842
8929
|
}
|
|
8843
8930
|
image(t) {
|
|
8844
|
-
return new
|
|
8931
|
+
return new sv(t, this.cloudinaryConfig.cloud, this.cloudinaryConfig.url);
|
|
8845
8932
|
}
|
|
8846
8933
|
video(t) {
|
|
8847
|
-
return new
|
|
8934
|
+
return new av(t, this.cloudinaryConfig.cloud, this.cloudinaryConfig.url);
|
|
8848
8935
|
}
|
|
8849
8936
|
setConfig(t) {
|
|
8850
8937
|
return this.cloudinaryConfig = t, this;
|
|
@@ -8855,26 +8942,26 @@ class sv {
|
|
|
8855
8942
|
extendConfig() {
|
|
8856
8943
|
}
|
|
8857
8944
|
}
|
|
8858
|
-
const
|
|
8945
|
+
const lv = ({
|
|
8859
8946
|
publicId: e,
|
|
8860
8947
|
format: t = "webp"
|
|
8861
8948
|
}) => {
|
|
8862
|
-
const r = Do(() => new
|
|
8949
|
+
const r = Do(() => new cv({
|
|
8863
8950
|
cloud: {
|
|
8864
8951
|
cloudName: "fluid-attacks"
|
|
8865
8952
|
}
|
|
8866
8953
|
}), []);
|
|
8867
8954
|
return Do(() => r.image(e).format(t), [r, e, t]);
|
|
8868
|
-
},
|
|
8955
|
+
}, uv = ({
|
|
8869
8956
|
alt: e = "img",
|
|
8870
8957
|
height: t = "",
|
|
8871
8958
|
width: r = "",
|
|
8872
|
-
plugins: n = [
|
|
8959
|
+
plugins: n = [Mm(), Fm()],
|
|
8873
8960
|
publicId: o
|
|
8874
8961
|
}) => {
|
|
8875
|
-
const i =
|
|
8962
|
+
const i = lv({ publicId: o });
|
|
8876
8963
|
return /* @__PURE__ */ Le.jsx(
|
|
8877
|
-
|
|
8964
|
+
py,
|
|
8878
8965
|
{
|
|
8879
8966
|
alt: e,
|
|
8880
8967
|
cldImg: i,
|
|
@@ -8883,29 +8970,29 @@ const av = ({
|
|
|
8883
8970
|
width: r
|
|
8884
8971
|
}
|
|
8885
8972
|
);
|
|
8886
|
-
},
|
|
8973
|
+
}, fv = st.memo(uv), dv = {
|
|
8887
8974
|
company: { height: "83px", width: "460px" },
|
|
8888
8975
|
footer: { height: "57px", width: "315px" },
|
|
8889
8976
|
header: { height: "35px", width: "160px" },
|
|
8890
8977
|
icon: { height: "40px", width: "40px" }
|
|
8891
|
-
},
|
|
8978
|
+
}, jv = ({ publicId: e, variant: t }) => /* @__PURE__ */ Le.jsx(ic, { ...dv[t], children: /* @__PURE__ */ Le.jsx(fv, { alt: "logo", publicId: e }) });
|
|
8892
8979
|
export {
|
|
8893
8980
|
zu as BaseButtonComponent,
|
|
8894
8981
|
Ia as BaseComponent,
|
|
8895
8982
|
Uu as BaseSpanComponent,
|
|
8896
8983
|
Ma as BaseTextComponent,
|
|
8897
|
-
|
|
8898
|
-
|
|
8984
|
+
bv as Button,
|
|
8985
|
+
fv as CloudImage,
|
|
8899
8986
|
ic as Container,
|
|
8900
|
-
|
|
8901
|
-
|
|
8987
|
+
yv as CustomThemeProvider,
|
|
8988
|
+
vv as Heading,
|
|
8902
8989
|
Yo as Icon,
|
|
8903
|
-
|
|
8990
|
+
jv as Logo,
|
|
8904
8991
|
qs as Text,
|
|
8905
|
-
|
|
8992
|
+
Xh as Tooltip,
|
|
8906
8993
|
eo as getStyledConfig,
|
|
8907
8994
|
yl as hiddenProps,
|
|
8908
|
-
|
|
8995
|
+
gv as icons,
|
|
8909
8996
|
Jn as setBorder,
|
|
8910
8997
|
Kn as setDisplay,
|
|
8911
8998
|
Zn as setInteraction,
|
|
@@ -8914,6 +9001,6 @@ export {
|
|
|
8914
9001
|
Qn as setPosition,
|
|
8915
9002
|
Xn as setText,
|
|
8916
9003
|
De as theme,
|
|
8917
|
-
|
|
9004
|
+
mv as uniqueIcons,
|
|
8918
9005
|
ml as variantBuilder
|
|
8919
9006
|
};
|