@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.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const E=require("react"),cu=require("react-dom"),ia=e=>({getVariant:(t,r)=>e(t)[r]}),sa=["padding","px","py","pl","pr","pt","pb","margin","mx","my","ml","mr","mt","mb","zIndex","position","top","right","bottom","left","border","borderTop","borderRight","borderBottom","borderLeft","borderColor","borderRadius","scroll","visibility","display","height","width","maxHeight","maxWidth","minHeight","minWidth","shadow","bgColor","bgGradient","gap","flexDirection","flexGrow","justify","alignItems","wrap","color","fontFamily","fontSize","fontWeight","textAlign","whiteSpace","letterSpacing","lineSpacing","textDecoration","textOverflow","whiteSpace","wordBreak","wordWrap","cursor","transition","borderColorHover","bgColorHover","shadowHover"];var ut=function(){return ut=Object.assign||function(t){for(var r,n=1,o=arguments.length;n<o;n++){r=arguments[n];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(t[i]=r[i])}return t},ut.apply(this,arguments)};function $r(e,t,r){if(r||arguments.length===2)for(var n=0,o=t.length,i;n<o;n++)(i||!(n in t))&&(i||(i=Array.prototype.slice.call(t,0,n)),i[n]=t[n]);return e.concat(i||Array.prototype.slice.call(t))}function uu(e){var t=Object.create(null);return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}var lu=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,fu=uu(function(e){return lu.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),wn=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function aa(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Oe="-ms-",qr="-moz-",de="-webkit-",ca="comm",Gn="rule",fi="decl",du="@import",ua="@keyframes",pu="@layer",la=Math.abs,di=String.fromCharCode,Io=Object.assign;function hu(e,t){return Ze(e,0)^45?(((t<<2^Ze(e,0))<<2^Ze(e,1))<<2^Ze(e,2))<<2^Ze(e,3):0}function fa(e){return e.trim()}function Jt(e,t){return(e=t.exec(e))?e[0]:e}function Z(e,t,r){return e.replace(t,r)}function Tn(e,t,r){return e.indexOf(t,r)}function Ze(e,t){return e.charCodeAt(t)|0}function Tr(e,t,r){return e.slice(t,r)}function Wt(e){return e.length}function da(e){return e.length}function Wr(e,t){return t.push(e),e}function gu(e,t){return e.map(t).join("")}function Xi(e,t){return e.filter(function(r){return!Jt(r,t)})}var Hn=1,Ar=1,pa=0,Lt=0,Ue=0,jr="";function Yn(e,t,r,n,o,i,s,u){return{value:e,root:t,parent:r,type:n,props:o,children:i,line:Hn,column:Ar,length:s,return:"",siblings:u}}function Zt(e,t){return Io(Yn("",null,null,"",null,null,0,e.siblings),e,{length:-e.length},t)}function _r(e){for(;e.root;)e=Zt(e.root,{children:[e]});Wr(e,e.siblings)}function mu(){return Ue}function yu(){return Ue=Lt>0?Ze(jr,--Lt):0,Ar--,Ue===10&&(Ar=1,Hn--),Ue}function Ft(){return Ue=Lt<pa?Ze(jr,Lt++):0,Ar++,Ue===10&&(Ar=1,Hn++),Ue}function fr(){return Ze(jr,Lt)}function An(){return Lt}function Qn(e,t){return Tr(jr,e,t)}function Mo(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function vu(e){return Hn=Ar=1,pa=Wt(jr=e),Lt=0,[]}function bu(e){return jr="",e}function Eo(e){return fa(Qn(Lt-1,Lo(e===91?e+2:e===40?e+1:e)))}function wu(e){for(;(Ue=fr())&&Ue<33;)Ft();return Mo(e)>2||Mo(Ue)>3?"":" "}function _u(e,t){for(;--t&&Ft()&&!(Ue<48||Ue>102||Ue>57&&Ue<65||Ue>70&&Ue<97););return Qn(e,An()+(t<6&&fr()==32&&Ft()==32))}function Lo(e){for(;Ft();)switch(Ue){case e:return Lt;case 34:case 39:e!==34&&e!==39&&Lo(Ue);break;case 40:e===41&&Lo(e);break;case 92:Ft();break}return Lt}function Su(e,t){for(;Ft()&&e+Ue!==57;)if(e+Ue===84&&fr()===47)break;return"/*"+Qn(t,Lt-1)+"*"+di(e===47?e:Ft())}function xu(e){for(;!Mo(fr());)Ft();return Qn(e,Lt)}function Eu(e){return bu(On("",null,null,null,[""],e=vu(e),0,[0],e))}function On(e,t,r,n,o,i,s,u,l){for(var d=0,h=0,y=s,S=0,b=0,$=0,O=1,k=1,T=1,A=0,R="",I=o,M=i,D=n,P=R;k;)switch($=A,A=Ft()){case 40:if($!=108&&Ze(P,y-1)==58){Tn(P+=Z(Eo(A),"&","&\f"),"&\f",la(d?u[d-1]:0))!=-1&&(T=-1);break}case 34:case 39:case 91:P+=Eo(A);break;case 9:case 10:case 13:case 32:P+=wu($);break;case 92:P+=_u(An()-1,7);continue;case 47:switch(fr()){case 42:case 47:Wr($u(Su(Ft(),An()),t,r,l),l);break;default:P+="/"}break;case 123*O:u[d++]=Wt(P)*T;case 125*O:case 59:case 0:switch(A){case 0:case 125:k=0;case 59+h:T==-1&&(P=Z(P,/\f/g,"")),b>0&&Wt(P)-y&&Wr(b>32?es(P+";",n,r,y-1,l):es(Z(P," ","")+";",n,r,y-2,l),l);break;case 59:P+=";";default:if(Wr(D=Zi(P,t,r,d,h,o,u,R,I=[],M=[],y,i),i),A===123)if(h===0)On(P,t,D,D,I,i,y,u,M);else switch(S===99&&Ze(P,3)===110?100:S){case 100:case 108:case 109:case 115:On(e,D,D,n&&Wr(Zi(e,D,D,0,0,o,u,R,o,I=[],y,M),M),o,M,y,u,n?I:M);break;default:On(P,D,D,D,[""],M,0,u,M)}}d=h=b=0,O=T=1,R=P="",y=s;break;case 58:y=1+Wt(P),b=$;default:if(O<1){if(A==123)--O;else if(A==125&&O++==0&&yu()==125)continue}switch(P+=di(A),A*O){case 38:T=h>0?1:(P+="\f",-1);break;case 44:u[d++]=(Wt(P)-1)*T,T=1;break;case 64:fr()===45&&(P+=Eo(Ft())),S=fr(),h=y=Wt(R=P+=xu(An())),A++;break;case 45:$===45&&Wt(P)==2&&(O=0)}}return i}function Zi(e,t,r,n,o,i,s,u,l,d,h,y){for(var S=o-1,b=o===0?i:[""],$=da(b),O=0,k=0,T=0;O<n;++O)for(var A=0,R=Tr(e,S+1,S=la(k=s[O])),I=e;A<$;++A)(I=fa(k>0?b[A]+" "+R:Z(R,/&\f/g,b[A])))&&(l[T++]=I);return Yn(e,t,r,o===0?Gn:u,l,d,h,y)}function $u(e,t,r,n){return Yn(e,t,r,ca,di(mu()),Tr(e,2,-2),0,n)}function es(e,t,r,n,o){return Yn(e,t,r,fi,Tr(e,0,n),Tr(e,n+1,-1),n,o)}function ha(e,t,r){switch(hu(e,t)){case 5103:return de+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return de+e+e;case 4789:return qr+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return de+e+qr+e+Oe+e+e;case 5936:switch(Ze(e,t+11)){case 114:return de+e+Oe+Z(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return de+e+Oe+Z(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return de+e+Oe+Z(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return de+e+Oe+e+e;case 6165:return de+e+Oe+"flex-"+e+e;case 5187:return de+e+Z(e,/(\w+).+(:[^]+)/,de+"box-$1$2"+Oe+"flex-$1$2")+e;case 5443:return de+e+Oe+"flex-item-"+Z(e,/flex-|-self/g,"")+(Jt(e,/flex-|baseline/)?"":Oe+"grid-row-"+Z(e,/flex-|-self/g,""))+e;case 4675:return de+e+Oe+"flex-line-pack"+Z(e,/align-content|flex-|-self/g,"")+e;case 5548:return de+e+Oe+Z(e,"shrink","negative")+e;case 5292:return de+e+Oe+Z(e,"basis","preferred-size")+e;case 6060:return de+"box-"+Z(e,"-grow","")+de+e+Oe+Z(e,"grow","positive")+e;case 4554:return de+Z(e,/([^-])(transform)/g,"$1"+de+"$2")+e;case 6187:return Z(Z(Z(e,/(zoom-|grab)/,de+"$1"),/(image-set)/,de+"$1"),e,"")+e;case 5495:case 3959:return Z(e,/(image-set\([^]*)/,de+"$1$`$1");case 4968:return Z(Z(e,/(.+:)(flex-)?(.*)/,de+"box-pack:$3"+Oe+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+de+e+e;case 4200:if(!Jt(e,/flex-|baseline/))return Oe+"grid-column-align"+Tr(e,t)+e;break;case 2592:case 3360:return Oe+Z(e,"template-","")+e;case 4384:case 3616:return r&&r.some(function(n,o){return t=o,Jt(n.props,/grid-\w+-end/)})?~Tn(e+(r=r[t].value),"span",0)?e:Oe+Z(e,"-start","")+e+Oe+"grid-row-span:"+(~Tn(r,"span",0)?Jt(r,/\d+/):+Jt(r,/\d+/)-+Jt(e,/\d+/))+";":Oe+Z(e,"-start","")+e;case 4896:case 4128:return r&&r.some(function(n){return Jt(n.props,/grid-\w+-start/)})?e:Oe+Z(Z(e,"-end","-span"),"span ","")+e;case 4095:case 3583:case 4068:case 2532:return Z(e,/(.+)-inline(.+)/,de+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(Wt(e)-1-t>6)switch(Ze(e,t+1)){case 109:if(Ze(e,t+4)!==45)break;case 102:return Z(e,/(.+:)(.+)-([^]+)/,"$1"+de+"$2-$3$1"+qr+(Ze(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Tn(e,"stretch",0)?ha(Z(e,"stretch","fill-available"),t,r)+e:e}break;case 5152:case 5920:return Z(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(n,o,i,s,u,l,d){return Oe+o+":"+i+d+(s?Oe+o+"-span:"+(u?l:+l-+i)+d:"")+e});case 4949:if(Ze(e,t+6)===121)return Z(e,":",":"+de)+e;break;case 6444:switch(Ze(e,Ze(e,14)===45?18:11)){case 120:return Z(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+de+(Ze(e,14)===45?"inline-":"")+"box$3$1"+de+"$2$3$1"+Oe+"$2box$3")+e;case 100:return Z(e,":",":"+Oe)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return Z(e,"scroll-","scroll-snap-")+e}return e}function kn(e,t){for(var r="",n=0;n<e.length;n++)r+=t(e[n],n,e,t)||"";return r}function Tu(e,t,r,n){switch(e.type){case pu:if(e.children.length)break;case du:case fi:return e.return=e.return||e.value;case ca:return"";case ua:return e.return=e.value+"{"+kn(e.children,n)+"}";case Gn:if(!Wt(e.value=e.props.join(",")))return""}return Wt(r=kn(e.children,n))?e.return=e.value+"{"+r+"}":""}function Au(e){var t=da(e);return function(r,n,o,i){for(var s="",u=0;u<t;u++)s+=e[u](r,n,o,i)||"";return s}}function Ou(e){return function(t){t.root||(t=t.return)&&e(t)}}function Cu(e,t,r,n){if(e.length>-1&&!e.return)switch(e.type){case fi:e.return=ha(e.value,e.length,r);return;case ua:return kn([Zt(e,{value:Z(e.value,"@","@"+de)})],n);case Gn:if(e.length)return gu(r=e.props,function(o){switch(Jt(o,n=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":_r(Zt(e,{props:[Z(o,/:(read-\w+)/,":"+qr+"$1")]})),_r(Zt(e,{props:[o]})),Io(e,{props:Xi(r,n)});break;case"::placeholder":_r(Zt(e,{props:[Z(o,/:(plac\w+)/,":"+de+"input-$1")]})),_r(Zt(e,{props:[Z(o,/:(plac\w+)/,":"+qr+"$1")]})),_r(Zt(e,{props:[Z(o,/:(plac\w+)/,Oe+"input-$1")]})),_r(Zt(e,{props:[o]})),Io(e,{props:Xi(r,n)});break}return""})}}var Ru={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},hr=typeof process<"u"&&process.env!==void 0&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",ga="active",ma="data-styled-version",Jn="6.1.13",pi=`/*!sc*/
|
|
2
|
-
`,Pn=typeof window<"u"&&"HTMLElement"in window,
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const E=require("react"),cl=require("react-dom"),ia=e=>({getVariant:(t,r)=>e(t)[r]}),sa=["padding","px","py","pl","pr","pt","pb","margin","mx","my","ml","mr","mt","mb","zIndex","position","top","right","bottom","left","border","borderTop","borderRight","borderBottom","borderLeft","borderColor","borderRadius","scroll","visibility","display","height","width","maxHeight","maxWidth","minHeight","minWidth","shadow","bgColor","bgGradient","gap","flexDirection","flexGrow","justify","alignItems","wrap","color","fontFamily","fontSize","fontWeight","textAlign","whiteSpace","letterSpacing","lineSpacing","textDecoration","textOverflow","whiteSpace","wordBreak","wordWrap","cursor","transition","borderColorHover","bgColorHover","shadowHover"];var lt=function(){return lt=Object.assign||function(t){for(var r,n=1,o=arguments.length;n<o;n++){r=arguments[n];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(t[i]=r[i])}return t},lt.apply(this,arguments)};function $r(e,t,r){if(r||arguments.length===2)for(var n=0,o=t.length,i;n<o;n++)(i||!(n in t))&&(i||(i=Array.prototype.slice.call(t,0,n)),i[n]=t[n]);return e.concat(i||Array.prototype.slice.call(t))}function ll(e){var t=Object.create(null);return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}var ul=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,fl=ll(function(e){return ul.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),wn=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function aa(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Oe="-ms-",qr="-moz-",de="-webkit-",ca="comm",Gn="rule",fi="decl",dl="@import",la="@keyframes",pl="@layer",ua=Math.abs,di=String.fromCharCode,Io=Object.assign;function hl(e,t){return Ze(e,0)^45?(((t<<2^Ze(e,0))<<2^Ze(e,1))<<2^Ze(e,2))<<2^Ze(e,3):0}function fa(e){return e.trim()}function Jt(e,t){return(e=t.exec(e))?e[0]:e}function Z(e,t,r){return e.replace(t,r)}function Tn(e,t,r){return e.indexOf(t,r)}function Ze(e,t){return e.charCodeAt(t)|0}function Tr(e,t,r){return e.slice(t,r)}function Wt(e){return e.length}function da(e){return e.length}function Wr(e,t){return t.push(e),e}function gl(e,t){return e.map(t).join("")}function Xi(e,t){return e.filter(function(r){return!Jt(r,t)})}var Hn=1,Ar=1,pa=0,Lt=0,Ue=0,jr="";function Yn(e,t,r,n,o,i,s,l){return{value:e,root:t,parent:r,type:n,props:o,children:i,line:Hn,column:Ar,length:s,return:"",siblings:l}}function Zt(e,t){return Io(Yn("",null,null,"",null,null,0,e.siblings),e,{length:-e.length},t)}function _r(e){for(;e.root;)e=Zt(e.root,{children:[e]});Wr(e,e.siblings)}function ml(){return Ue}function yl(){return Ue=Lt>0?Ze(jr,--Lt):0,Ar--,Ue===10&&(Ar=1,Hn--),Ue}function Ft(){return Ue=Lt<pa?Ze(jr,Lt++):0,Ar++,Ue===10&&(Ar=1,Hn++),Ue}function fr(){return Ze(jr,Lt)}function An(){return Lt}function Qn(e,t){return Tr(jr,e,t)}function Mo(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function vl(e){return Hn=Ar=1,pa=Wt(jr=e),Lt=0,[]}function bl(e){return jr="",e}function Eo(e){return fa(Qn(Lt-1,Lo(e===91?e+2:e===40?e+1:e)))}function wl(e){for(;(Ue=fr())&&Ue<33;)Ft();return Mo(e)>2||Mo(Ue)>3?"":" "}function _l(e,t){for(;--t&&Ft()&&!(Ue<48||Ue>102||Ue>57&&Ue<65||Ue>70&&Ue<97););return Qn(e,An()+(t<6&&fr()==32&&Ft()==32))}function Lo(e){for(;Ft();)switch(Ue){case e:return Lt;case 34:case 39:e!==34&&e!==39&&Lo(Ue);break;case 40:e===41&&Lo(e);break;case 92:Ft();break}return Lt}function Sl(e,t){for(;Ft()&&e+Ue!==57;)if(e+Ue===84&&fr()===47)break;return"/*"+Qn(t,Lt-1)+"*"+di(e===47?e:Ft())}function xl(e){for(;!Mo(fr());)Ft();return Qn(e,Lt)}function El(e){return bl(On("",null,null,null,[""],e=vl(e),0,[0],e))}function On(e,t,r,n,o,i,s,l,u){for(var d=0,h=0,y=s,S=0,b=0,$=0,T=1,k=1,A=1,O=0,R="",I=o,M=i,D=n,P=R;k;)switch($=O,O=Ft()){case 40:if($!=108&&Ze(P,y-1)==58){Tn(P+=Z(Eo(O),"&","&\f"),"&\f",ua(d?l[d-1]:0))!=-1&&(A=-1);break}case 34:case 39:case 91:P+=Eo(O);break;case 9:case 10:case 13:case 32:P+=wl($);break;case 92:P+=_l(An()-1,7);continue;case 47:switch(fr()){case 42:case 47:Wr($l(Sl(Ft(),An()),t,r,u),u);break;default:P+="/"}break;case 123*T:l[d++]=Wt(P)*A;case 125*T:case 59:case 0:switch(O){case 0:case 125:k=0;case 59+h:A==-1&&(P=Z(P,/\f/g,"")),b>0&&Wt(P)-y&&Wr(b>32?es(P+";",n,r,y-1,u):es(Z(P," ","")+";",n,r,y-2,u),u);break;case 59:P+=";";default:if(Wr(D=Zi(P,t,r,d,h,o,l,R,I=[],M=[],y,i),i),O===123)if(h===0)On(P,t,D,D,I,i,y,l,M);else switch(S===99&&Ze(P,3)===110?100:S){case 100:case 108:case 109:case 115:On(e,D,D,n&&Wr(Zi(e,D,D,0,0,o,l,R,o,I=[],y,M),M),o,M,y,l,n?I:M);break;default:On(P,D,D,D,[""],M,0,l,M)}}d=h=b=0,T=A=1,R=P="",y=s;break;case 58:y=1+Wt(P),b=$;default:if(T<1){if(O==123)--T;else if(O==125&&T++==0&&yl()==125)continue}switch(P+=di(O),O*T){case 38:A=h>0?1:(P+="\f",-1);break;case 44:l[d++]=(Wt(P)-1)*A,A=1;break;case 64:fr()===45&&(P+=Eo(Ft())),S=fr(),h=y=Wt(R=P+=xl(An())),O++;break;case 45:$===45&&Wt(P)==2&&(T=0)}}return i}function Zi(e,t,r,n,o,i,s,l,u,d,h,y){for(var S=o-1,b=o===0?i:[""],$=da(b),T=0,k=0,A=0;T<n;++T)for(var O=0,R=Tr(e,S+1,S=ua(k=s[T])),I=e;O<$;++O)(I=fa(k>0?b[O]+" "+R:Z(R,/&\f/g,b[O])))&&(u[A++]=I);return Yn(e,t,r,o===0?Gn:l,u,d,h,y)}function $l(e,t,r,n){return Yn(e,t,r,ca,di(ml()),Tr(e,2,-2),0,n)}function es(e,t,r,n,o){return Yn(e,t,r,fi,Tr(e,0,n),Tr(e,n+1,-1),n,o)}function ha(e,t,r){switch(hl(e,t)){case 5103:return de+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return de+e+e;case 4789:return qr+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return de+e+qr+e+Oe+e+e;case 5936:switch(Ze(e,t+11)){case 114:return de+e+Oe+Z(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return de+e+Oe+Z(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return de+e+Oe+Z(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return de+e+Oe+e+e;case 6165:return de+e+Oe+"flex-"+e+e;case 5187:return de+e+Z(e,/(\w+).+(:[^]+)/,de+"box-$1$2"+Oe+"flex-$1$2")+e;case 5443:return de+e+Oe+"flex-item-"+Z(e,/flex-|-self/g,"")+(Jt(e,/flex-|baseline/)?"":Oe+"grid-row-"+Z(e,/flex-|-self/g,""))+e;case 4675:return de+e+Oe+"flex-line-pack"+Z(e,/align-content|flex-|-self/g,"")+e;case 5548:return de+e+Oe+Z(e,"shrink","negative")+e;case 5292:return de+e+Oe+Z(e,"basis","preferred-size")+e;case 6060:return de+"box-"+Z(e,"-grow","")+de+e+Oe+Z(e,"grow","positive")+e;case 4554:return de+Z(e,/([^-])(transform)/g,"$1"+de+"$2")+e;case 6187:return Z(Z(Z(e,/(zoom-|grab)/,de+"$1"),/(image-set)/,de+"$1"),e,"")+e;case 5495:case 3959:return Z(e,/(image-set\([^]*)/,de+"$1$`$1");case 4968:return Z(Z(e,/(.+:)(flex-)?(.*)/,de+"box-pack:$3"+Oe+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+de+e+e;case 4200:if(!Jt(e,/flex-|baseline/))return Oe+"grid-column-align"+Tr(e,t)+e;break;case 2592:case 3360:return Oe+Z(e,"template-","")+e;case 4384:case 3616:return r&&r.some(function(n,o){return t=o,Jt(n.props,/grid-\w+-end/)})?~Tn(e+(r=r[t].value),"span",0)?e:Oe+Z(e,"-start","")+e+Oe+"grid-row-span:"+(~Tn(r,"span",0)?Jt(r,/\d+/):+Jt(r,/\d+/)-+Jt(e,/\d+/))+";":Oe+Z(e,"-start","")+e;case 4896:case 4128:return r&&r.some(function(n){return Jt(n.props,/grid-\w+-start/)})?e:Oe+Z(Z(e,"-end","-span"),"span ","")+e;case 4095:case 3583:case 4068:case 2532:return Z(e,/(.+)-inline(.+)/,de+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(Wt(e)-1-t>6)switch(Ze(e,t+1)){case 109:if(Ze(e,t+4)!==45)break;case 102:return Z(e,/(.+:)(.+)-([^]+)/,"$1"+de+"$2-$3$1"+qr+(Ze(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Tn(e,"stretch",0)?ha(Z(e,"stretch","fill-available"),t,r)+e:e}break;case 5152:case 5920:return Z(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(n,o,i,s,l,u,d){return Oe+o+":"+i+d+(s?Oe+o+"-span:"+(l?u:+u-+i)+d:"")+e});case 4949:if(Ze(e,t+6)===121)return Z(e,":",":"+de)+e;break;case 6444:switch(Ze(e,Ze(e,14)===45?18:11)){case 120:return Z(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+de+(Ze(e,14)===45?"inline-":"")+"box$3$1"+de+"$2$3$1"+Oe+"$2box$3")+e;case 100:return Z(e,":",":"+Oe)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return Z(e,"scroll-","scroll-snap-")+e}return e}function kn(e,t){for(var r="",n=0;n<e.length;n++)r+=t(e[n],n,e,t)||"";return r}function Tl(e,t,r,n){switch(e.type){case pl:if(e.children.length)break;case dl:case fi:return e.return=e.return||e.value;case ca:return"";case la:return e.return=e.value+"{"+kn(e.children,n)+"}";case Gn:if(!Wt(e.value=e.props.join(",")))return""}return Wt(r=kn(e.children,n))?e.return=e.value+"{"+r+"}":""}function Al(e){var t=da(e);return function(r,n,o,i){for(var s="",l=0;l<t;l++)s+=e[l](r,n,o,i)||"";return s}}function Ol(e){return function(t){t.root||(t=t.return)&&e(t)}}function Cl(e,t,r,n){if(e.length>-1&&!e.return)switch(e.type){case fi:e.return=ha(e.value,e.length,r);return;case la:return kn([Zt(e,{value:Z(e.value,"@","@"+de)})],n);case Gn:if(e.length)return gl(r=e.props,function(o){switch(Jt(o,n=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":_r(Zt(e,{props:[Z(o,/:(read-\w+)/,":"+qr+"$1")]})),_r(Zt(e,{props:[o]})),Io(e,{props:Xi(r,n)});break;case"::placeholder":_r(Zt(e,{props:[Z(o,/:(plac\w+)/,":"+de+"input-$1")]})),_r(Zt(e,{props:[Z(o,/:(plac\w+)/,":"+qr+"$1")]})),_r(Zt(e,{props:[Z(o,/:(plac\w+)/,Oe+"input-$1")]})),_r(Zt(e,{props:[o]})),Io(e,{props:Xi(r,n)});break}return""})}}var Rl={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},hr=typeof process<"u"&&process.env!==void 0&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",ga="active",ma="data-styled-version",Jn="6.1.13",pi=`/*!sc*/
|
|
2
|
+
`,Pn=typeof window<"u"&&"HTMLElement"in window,kl=!!(typeof SC_DISABLE_SPEEDY=="boolean"?SC_DISABLE_SPEEDY:typeof process<"u"&&process.env!==void 0&&process.env.REACT_APP_SC_DISABLE_SPEEDY!==void 0&&process.env.REACT_APP_SC_DISABLE_SPEEDY!==""?process.env.REACT_APP_SC_DISABLE_SPEEDY!=="false"&&process.env.REACT_APP_SC_DISABLE_SPEEDY:typeof process<"u"&&process.env!==void 0&&process.env.SC_DISABLE_SPEEDY!==void 0&&process.env.SC_DISABLE_SPEEDY!==""?process.env.SC_DISABLE_SPEEDY!=="false"&&process.env.SC_DISABLE_SPEEDY:process.env.NODE_ENV!=="production"),ts=/invalid hook call/i,_n=new Set,Pl=function(e,t){if(process.env.NODE_ENV!=="production"){var r=t?' with the id of "'.concat(t,'"'):"",n="The component ".concat(e).concat(r,` has been created dynamically.
|
|
3
3
|
`)+`You may see this warning because you've called styled inside another component.
|
|
4
|
-
To resolve this only create new StyledComponents outside of any render method and function component.`,o=console.error;try{var i=!0;console.error=function(s){for(var
|
|
4
|
+
To resolve this only create new StyledComponents outside of any render method and function component.`,o=console.error;try{var i=!0;console.error=function(s){for(var l=[],u=1;u<arguments.length;u++)l[u-1]=arguments[u];ts.test(s)?(i=!1,_n.delete(n)):o.apply(void 0,$r([s],l,!1))},E.useRef(),i&&!_n.has(n)&&(console.warn(n),_n.add(n))}catch(s){ts.test(s.message)&&_n.delete(n)}finally{console.error=o}}},Kn=Object.freeze([]),Or=Object.freeze({});function jl(e,t,r){return r===void 0&&(r=Or),e.theme!==r.theme&&e.theme||t||r.theme}var Do=new Set(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","track","u","ul","use","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]),Il=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,Ml=/(^-|-$)/g;function rs(e){return e.replace(Il,"-").replace(Ml,"")}var Ll=/(a)(d)/gi,Sn=52,ns=function(e){return String.fromCharCode(e+(e>25?39:97))};function No(e){var t,r="";for(t=Math.abs(e);t>Sn;t=t/Sn|0)r=ns(t%Sn)+r;return(ns(t%Sn)+r).replace(Ll,"$1-$2")}var $o,ya=5381,lr=function(e,t){for(var r=t.length;r;)e=33*e^t.charCodeAt(--r);return e},va=function(e){return lr(ya,e)};function Dl(e){return No(va(e)>>>0)}function ba(e){return process.env.NODE_ENV!=="production"&&typeof e=="string"&&e||e.displayName||e.name||"Component"}function To(e){return typeof e=="string"&&(process.env.NODE_ENV==="production"||e.charAt(0)===e.charAt(0).toLowerCase())}var wa=typeof Symbol=="function"&&Symbol.for,_a=wa?Symbol.for("react.memo"):60115,Nl=wa?Symbol.for("react.forward_ref"):60112,Fl={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},Vl={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},Sa={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Bl=(($o={})[Nl]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},$o[_a]=Sa,$o);function os(e){return("type"in(t=e)&&t.type.$$typeof)===_a?Sa:"$$typeof"in e?Bl[e.$$typeof]:Fl;var t}var zl=Object.defineProperty,Ul=Object.getOwnPropertyNames,is=Object.getOwnPropertySymbols,Wl=Object.getOwnPropertyDescriptor,ql=Object.getPrototypeOf,ss=Object.prototype;function xa(e,t,r){if(typeof t!="string"){if(ss){var n=ql(t);n&&n!==ss&&xa(e,n,r)}var o=Ul(t);is&&(o=o.concat(is(t)));for(var i=os(e),s=os(t),l=0;l<o.length;++l){var u=o[l];if(!(u in Vl||r&&r[u]||s&&u in s||i&&u in i)){var d=Wl(t,u);try{zl(e,u,d)}catch{}}}}return e}function gr(e){return typeof e=="function"}function hi(e){return typeof e=="object"&&"styledComponentId"in e}function ur(e,t){return e&&t?"".concat(e," ").concat(t):e||t||""}function as(e,t){if(e.length===0)return"";for(var r=e[0],n=1;n<e.length;n++)r+=e[n];return r}function Cr(e){return e!==null&&typeof e=="object"&&e.constructor.name===Object.name&&!("props"in e&&e.$$typeof)}function Fo(e,t,r){if(r===void 0&&(r=!1),!r&&!Cr(e)&&!Array.isArray(e))return t;if(Array.isArray(t))for(var n=0;n<t.length;n++)e[n]=Fo(e[n],t[n]);else if(Cr(t))for(var n in t)e[n]=Fo(e[n],t[n]);return e}function gi(e,t){Object.defineProperty(e,"toString",{value:t})}var Gl=process.env.NODE_ENV!=="production"?{1:`Cannot create styled-component for component: %s.
|
|
5
5
|
|
|
6
6
|
`,2:`Can't collect styles once you've consumed a \`ServerStyleSheet\`'s styles! \`ServerStyleSheet\` is a one off instance for each server-side render cycle.
|
|
7
7
|
|
|
@@ -42,7 +42,7 @@ as for instance in your render method then you may be running into this limitati
|
|
|
42
42
|
|
|
43
43
|
`,17:`CSSStyleSheet could not be found on HTMLStyleElement.
|
|
44
44
|
Has styled-components' style tag been unmounted or altered by another script?
|
|
45
|
-
`,18:"ThemeProvider: Please make sure your useTheme hook is within a `<ThemeProvider>`"}:{};function Hu(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r=e[0],n=[],o=1,i=e.length;o<i;o+=1)n.push(e[o]);return n.forEach(function(s){r=r.replace(/%[a-z]/,s)}),r}function Kt(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return process.env.NODE_ENV==="production"?new Error("An error occurred. See https://github.com/styled-components/styled-components/blob/main/packages/styled-components/src/utils/errors.md#".concat(e," for more information.").concat(t.length>0?" Args: ".concat(t.join(", ")):"")):new Error(Hu.apply(void 0,$r([Gu[e]],t,!1)).trim())}var Yu=function(){function e(t){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=t}return e.prototype.indexOfGroup=function(t){for(var r=0,n=0;n<t;n++)r+=this.groupSizes[n];return r},e.prototype.insertRules=function(t,r){if(t>=this.groupSizes.length){for(var n=this.groupSizes,o=n.length,i=o;t>=i;)if((i<<=1)<0)throw Kt(16,"".concat(t));this.groupSizes=new Uint32Array(i),this.groupSizes.set(n),this.length=i;for(var s=o;s<i;s++)this.groupSizes[s]=0}for(var u=this.indexOfGroup(t+1),l=(s=0,r.length);s<l;s++)this.tag.insertRule(u,r[s])&&(this.groupSizes[t]++,u++)},e.prototype.clearGroup=function(t){if(t<this.length){var r=this.groupSizes[t],n=this.indexOfGroup(t),o=n+r;this.groupSizes[t]=0;for(var i=n;i<o;i++)this.tag.deleteRule(n)}},e.prototype.getGroup=function(t){var r="";if(t>=this.length||this.groupSizes[t]===0)return r;for(var n=this.groupSizes[t],o=this.indexOfGroup(t),i=o+n,s=o;s<i;s++)r+="".concat(this.tag.getRule(s)).concat(pi);return r},e}(),Qu=1<<30,Cn=new Map,jn=new Map,Rn=1,xn=function(e){if(Cn.has(e))return Cn.get(e);for(;jn.has(Rn);)Rn++;var t=Rn++;if(process.env.NODE_ENV!=="production"&&((0|t)<0||t>Qu))throw Kt(16,"".concat(t));return Cn.set(e,t),jn.set(t,e),t},Ju=function(e,t){Rn=t+1,Cn.set(e,t),jn.set(t,e)},Ku="style[".concat(hr,"][").concat(ma,'="').concat(Jn,'"]'),Xu=new RegExp("^".concat(hr,'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')),Zu=function(e,t,r){for(var n,o=r.split(","),i=0,s=o.length;i<s;i++)(n=o[i])&&e.registerName(t,n)},el=function(e,t){for(var r,n=((r=t.textContent)!==null&&r!==void 0?r:"").split(pi),o=[],i=0,s=n.length;i<s;i++){var u=n[i].trim();if(u){var l=u.match(Xu);if(l){var d=0|parseInt(l[1],10),h=l[2];d!==0&&(Ju(h,d),Zu(e,h,l[3]),e.getTag().insertRules(d,o)),o.length=0}else o.push(u)}}},cs=function(e){for(var t=document.querySelectorAll(Ku),r=0,n=t.length;r<n;r++){var o=t[r];o&&o.getAttribute(hr)!==ga&&(el(e,o),o.parentNode&&o.parentNode.removeChild(o))}};function tl(){return typeof __webpack_nonce__<"u"?__webpack_nonce__:null}var Ea=function(e){var t=document.head,r=e||t,n=document.createElement("style"),o=function(u){var l=Array.from(u.querySelectorAll("style[".concat(hr,"]")));return l[l.length-1]}(r),i=o!==void 0?o.nextSibling:null;n.setAttribute(hr,ga),n.setAttribute(ma,Jn);var s=tl();return s&&n.setAttribute("nonce",s),r.insertBefore(n,i),n},rl=function(){function e(t){this.element=Ea(t),this.element.appendChild(document.createTextNode("")),this.sheet=function(r){if(r.sheet)return r.sheet;for(var n=document.styleSheets,o=0,i=n.length;o<i;o++){var s=n[o];if(s.ownerNode===r)return s}throw Kt(17)}(this.element),this.length=0}return e.prototype.insertRule=function(t,r){try{return this.sheet.insertRule(r,t),this.length++,!0}catch{return!1}},e.prototype.deleteRule=function(t){this.sheet.deleteRule(t),this.length--},e.prototype.getRule=function(t){var r=this.sheet.cssRules[t];return r&&r.cssText?r.cssText:""},e}(),nl=function(){function e(t){this.element=Ea(t),this.nodes=this.element.childNodes,this.length=0}return e.prototype.insertRule=function(t,r){if(t<=this.length&&t>=0){var n=document.createTextNode(r);return this.element.insertBefore(n,this.nodes[t]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(t){this.element.removeChild(this.nodes[t]),this.length--},e.prototype.getRule=function(t){return t<this.length?this.nodes[t].textContent:""},e}(),ol=function(){function e(t){this.rules=[],this.length=0}return e.prototype.insertRule=function(t,r){return t<=this.length&&(this.rules.splice(t,0,r),this.length++,!0)},e.prototype.deleteRule=function(t){this.rules.splice(t,1),this.length--},e.prototype.getRule=function(t){return t<this.length?this.rules[t]:""},e}(),us=Pn,il={isServer:!Pn,useCSSOMInjection:!ku},$a=function(){function e(t,r,n){t===void 0&&(t=Or),r===void 0&&(r={});var o=this;this.options=ut(ut({},il),t),this.gs=r,this.names=new Map(n),this.server=!!t.isServer,!this.server&&Pn&&us&&(us=!1,cs(this)),gi(this,function(){return function(i){for(var s=i.getTag(),u=s.length,l="",d=function(y){var S=function(T){return jn.get(T)}(y);if(S===void 0)return"continue";var b=i.names.get(S),$=s.getGroup(y);if(b===void 0||!b.size||$.length===0)return"continue";var O="".concat(hr,".g").concat(y,'[id="').concat(S,'"]'),k="";b!==void 0&&b.forEach(function(T){T.length>0&&(k+="".concat(T,","))}),l+="".concat($).concat(O,'{content:"').concat(k,'"}').concat(pi)},h=0;h<u;h++)d(h);return l}(o)})}return e.registerId=function(t){return xn(t)},e.prototype.rehydrate=function(){!this.server&&Pn&&cs(this)},e.prototype.reconstructWithOptions=function(t,r){return r===void 0&&(r=!0),new e(ut(ut({},this.options),t),this.gs,r&&this.names||void 0)},e.prototype.allocateGSInstance=function(t){return this.gs[t]=(this.gs[t]||0)+1},e.prototype.getTag=function(){return this.tag||(this.tag=(t=function(r){var n=r.useCSSOMInjection,o=r.target;return r.isServer?new ol(o):n?new rl(o):new nl(o)}(this.options),new Yu(t)));var t},e.prototype.hasNameForId=function(t,r){return this.names.has(t)&&this.names.get(t).has(r)},e.prototype.registerName=function(t,r){if(xn(t),this.names.has(t))this.names.get(t).add(r);else{var n=new Set;n.add(r),this.names.set(t,n)}},e.prototype.insertRules=function(t,r,n){this.registerName(t,r),this.getTag().insertRules(xn(t),n)},e.prototype.clearNames=function(t){this.names.has(t)&&this.names.get(t).clear()},e.prototype.clearRules=function(t){this.getTag().clearGroup(xn(t)),this.clearNames(t)},e.prototype.clearTag=function(){this.tag=void 0},e}(),sl=/&/g,al=/^\s*\/\/.*$/gm;function Ta(e,t){return e.map(function(r){return r.type==="rule"&&(r.value="".concat(t," ").concat(r.value),r.value=r.value.replaceAll(",",",".concat(t," ")),r.props=r.props.map(function(n){return"".concat(t," ").concat(n)})),Array.isArray(r.children)&&r.type!=="@keyframes"&&(r.children=Ta(r.children,t)),r})}function cl(e){var t,r,n,o=Or,i=o.options,s=i===void 0?Or:i,u=o.plugins,l=u===void 0?Kn:u,d=function(S,b,$){return $.startsWith(r)&&$.endsWith(r)&&$.replaceAll(r,"").length>0?".".concat(t):S},h=l.slice();h.push(function(S){S.type===Gn&&S.value.includes("&")&&(S.props[0]=S.props[0].replace(sl,r).replace(n,d))}),s.prefix&&h.push(Cu),h.push(Tu);var y=function(S,b,$,O){b===void 0&&(b=""),$===void 0&&($=""),O===void 0&&(O="&"),t=O,r=b,n=new RegExp("\\".concat(r,"\\b"),"g");var k=S.replace(al,""),T=Eu($||b?"".concat($," ").concat(b," { ").concat(k," }"):k);s.namespace&&(T=Ta(T,s.namespace));var A=[];return kn(T,Au(h.concat(Ou(function(R){return A.push(R)})))),A};return y.hash=l.length?l.reduce(function(S,b){return b.name||Kt(15),ur(S,b.name)},ya).toString():"",y}var ul=new $a,Vo=cl(),Aa=E.createContext({shouldForwardProp:void 0,styleSheet:ul,stylis:Vo});Aa.Consumer;E.createContext(void 0);function ls(){return E.useContext(Aa)}var fs=function(){function e(t,r){var n=this;this.inject=function(o,i){i===void 0&&(i=Vo);var s=n.name+i.hash;o.hasNameForId(n.id,s)||o.insertRules(n.id,s,i(n.rules,s,"@keyframes"))},this.name=t,this.id="sc-keyframes-".concat(t),this.rules=r,gi(this,function(){throw Kt(12,String(n.name))})}return e.prototype.getName=function(t){return t===void 0&&(t=Vo),this.name+t.hash},e}(),ll=function(e){return e>="A"&&e<="Z"};function ds(e){for(var t="",r=0;r<e.length;r++){var n=e[r];if(r===1&&n==="-"&&e[0]==="-")return e;ll(n)?t+="-"+n.toLowerCase():t+=n}return t.startsWith("ms-")?"-"+t:t}var Oa=function(e){return e==null||e===!1||e===""},Ca=function(e){var t,r,n=[];for(var o in e){var i=e[o];e.hasOwnProperty(o)&&!Oa(i)&&(Array.isArray(i)&&i.isCss||gr(i)?n.push("".concat(ds(o),":"),i,";"):Cr(i)?n.push.apply(n,$r($r(["".concat(o," {")],Ca(i),!1),["}"],!1)):n.push("".concat(ds(o),": ").concat((t=o,(r=i)==null||typeof r=="boolean"||r===""?"":typeof r!="number"||r===0||t in Ru||t.startsWith("--")?String(r).trim():"".concat(r,"px")),";")))}return n};function dr(e,t,r,n){if(Oa(e))return[];if(hi(e))return[".".concat(e.styledComponentId)];if(gr(e)){if(!gr(i=e)||i.prototype&&i.prototype.isReactComponent||!t)return[e];var o=e(t);return process.env.NODE_ENV==="production"||typeof o!="object"||Array.isArray(o)||o instanceof fs||Cr(o)||o===null||console.error("".concat(ba(e)," is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details.")),dr(o,t,r,n)}var i;return e instanceof fs?r?(e.inject(r,n),[e.getName(n)]):[e]:Cr(e)?Ca(e):Array.isArray(e)?Array.prototype.concat.apply(Kn,e.map(function(s){return dr(s,t,r,n)})):[e.toString()]}function fl(e){for(var t=0;t<e.length;t+=1){var r=e[t];if(gr(r)&&!hi(r))return!1}return!0}var dl=va(Jn),pl=function(){function e(t,r,n){this.rules=t,this.staticRulesId="",this.isStatic=process.env.NODE_ENV==="production"&&(n===void 0||n.isStatic)&&fl(t),this.componentId=r,this.baseHash=ur(dl,r),this.baseStyle=n,$a.registerId(r)}return e.prototype.generateAndInjectStyles=function(t,r,n){var o=this.baseStyle?this.baseStyle.generateAndInjectStyles(t,r,n):"";if(this.isStatic&&!n.hash)if(this.staticRulesId&&r.hasNameForId(this.componentId,this.staticRulesId))o=lr(o,this.staticRulesId);else{var i=as(dr(this.rules,t,r,n)),s=No(ur(this.baseHash,i)>>>0);if(!r.hasNameForId(this.componentId,s)){var u=n(i,".".concat(s),void 0,this.componentId);r.insertRules(this.componentId,s,u)}o=lr(o,s),this.staticRulesId=s}else{for(var l=ur(this.baseHash,n.hash),d="",h=0;h<this.rules.length;h++){var y=this.rules[h];if(typeof y=="string")d+=y,process.env.NODE_ENV!=="production"&&(l=ur(l,y));else if(y){var S=as(dr(y,t,r,n));l=ur(l,S+h),d+=S}}if(d){var b=No(l>>>0);r.hasNameForId(this.componentId,b)||r.insertRules(this.componentId,b,n(d,".".concat(b),void 0,this.componentId)),o=lr(o,b)}}return o},e}(),In=E.createContext(void 0);In.Consumer;function hl(e){var t=E.useContext(In),r=E.useMemo(function(){return function(n,o){if(!n)throw Kt(14);if(gr(n)){var i=n(o);if(process.env.NODE_ENV!=="production"&&(i===null||Array.isArray(i)||typeof i!="object"))throw Kt(7);return i}if(Array.isArray(n)||typeof n!="object")throw Kt(8);return o?ut(ut({},o),n):n}(e.theme,t)},[e.theme,t]);return e.children?E.createElement(In.Provider,{value:r},e.children):null}var Ao={},ps=new Set;function gl(e,t,r){var n=hi(e),o=e,i=!To(e),s=t.attrs,u=s===void 0?Kn:s,l=t.componentId,d=l===void 0?function(I,M){var D=typeof I!="string"?"sc":rs(I);Ao[D]=(Ao[D]||0)+1;var P="".concat(D,"-").concat(Du(Jn+D+Ao[D]));return M?"".concat(M,"-").concat(P):P}(t.displayName,t.parentComponentId):l,h=t.displayName,y=h===void 0?function(I){return To(I)?"styled.".concat(I):"Styled(".concat(ba(I),")")}(e):h,S=t.displayName&&t.componentId?"".concat(rs(t.displayName),"-").concat(t.componentId):t.componentId||d,b=n&&o.attrs?o.attrs.concat(u).filter(Boolean):u,$=t.shouldForwardProp;if(n&&o.shouldForwardProp){var O=o.shouldForwardProp;if(t.shouldForwardProp){var k=t.shouldForwardProp;$=function(I,M){return O(I,M)&&k(I,M)}}else $=O}var T=new pl(r,S,n?o.componentStyle:void 0);function A(I,M){return function(D,P,me){var ye=D.attrs,fe=D.componentStyle,Ne=D.defaultProps,Ie=D.foldedComponentIds,ve=D.styledComponentId,Q=D.target,Se=E.useContext(In),oe=ls(),ie=D.shouldForwardProp||oe.shouldForwardProp;process.env.NODE_ENV!=="production"&&E.useDebugValue(ve);var se=ju(P,Se,Ne)||Or,te=function(et,We,qe){for(var ue,be=ut(ut({},We),{className:void 0,theme:qe}),xe=0;xe<et.length;xe+=1){var Be=gr(ue=et[xe])?ue(be):ue;for(var Re in Be)be[Re]=Re==="className"?lr(be[Re],Be[Re]):Re==="style"?ut(ut({},be[Re]),Be[Re]):Be[Re]}return We.className&&(be.className=lr(be.className,We.className)),be}(ye,P,se),q=te.as||Q,ae={};for(var pe in te)te[pe]===void 0||pe[0]==="$"||pe==="as"||pe==="theme"&&te.theme===se||(pe==="forwardedAs"?ae.as=te.forwardedAs:ie&&!ie(pe,q)||(ae[pe]=te[pe],ie||process.env.NODE_ENV!=="development"||fu(pe)||ps.has(pe)||!Do.has(q)||(ps.add(pe),console.warn('styled-components: it looks like an unknown prop "'.concat(pe,'" is being sent through to the DOM, which will likely trigger a React console error. If you would like automatic filtering of unknown props, you can opt-into that behavior via `<StyleSheetManager shouldForwardProp={...}>` (connect an API like `@emotion/is-prop-valid`) or consider using transient props (`$` prefix for automatic filtering.)')))));var G=function(et,We){var qe=ls(),ue=et.generateAndInjectStyles(We,qe.styleSheet,qe.stylis);return process.env.NODE_ENV!=="production"&&E.useDebugValue(ue),ue}(fe,te);process.env.NODE_ENV!=="production"&&D.warnTooManyClasses&&D.warnTooManyClasses(G);var it=lr(Ie,ve);return G&&(it+=" "+G),te.className&&(it+=" "+te.className),ae[To(q)&&!Do.has(q)?"class":"className"]=it,ae.ref=me,E.createElement(q,ae)}(R,I,M)}A.displayName=y;var R=E.forwardRef(A);return R.attrs=b,R.componentStyle=T,R.displayName=y,R.shouldForwardProp=$,R.foldedComponentIds=n?lr(o.foldedComponentIds,o.styledComponentId):"",R.styledComponentId=S,R.target=n?o.target:e,Object.defineProperty(R,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(I){this._foldedDefaultProps=n?function(M){for(var D=[],P=1;P<arguments.length;P++)D[P-1]=arguments[P];for(var me=0,ye=D;me<ye.length;me++)Fo(M,ye[me],!0);return M}({},o.defaultProps,I):I}}),process.env.NODE_ENV!=="production"&&(Pu(y,S),R.warnTooManyClasses=function(I,M){var D={},P=!1;return function(me){if(!P&&(D[me]=!0,Object.keys(D).length>=200)){var ye=M?' with the id of "'.concat(M,'"'):"";console.warn("Over ".concat(200," classes were generated for component ").concat(I).concat(ye,`.
|
|
45
|
+
`,18:"ThemeProvider: Please make sure your useTheme hook is within a `<ThemeProvider>`"}:{};function Hl(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r=e[0],n=[],o=1,i=e.length;o<i;o+=1)n.push(e[o]);return n.forEach(function(s){r=r.replace(/%[a-z]/,s)}),r}function Kt(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return process.env.NODE_ENV==="production"?new Error("An error occurred. See https://github.com/styled-components/styled-components/blob/main/packages/styled-components/src/utils/errors.md#".concat(e," for more information.").concat(t.length>0?" Args: ".concat(t.join(", ")):"")):new Error(Hl.apply(void 0,$r([Gl[e]],t,!1)).trim())}var Yl=function(){function e(t){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=t}return e.prototype.indexOfGroup=function(t){for(var r=0,n=0;n<t;n++)r+=this.groupSizes[n];return r},e.prototype.insertRules=function(t,r){if(t>=this.groupSizes.length){for(var n=this.groupSizes,o=n.length,i=o;t>=i;)if((i<<=1)<0)throw Kt(16,"".concat(t));this.groupSizes=new Uint32Array(i),this.groupSizes.set(n),this.length=i;for(var s=o;s<i;s++)this.groupSizes[s]=0}for(var l=this.indexOfGroup(t+1),u=(s=0,r.length);s<u;s++)this.tag.insertRule(l,r[s])&&(this.groupSizes[t]++,l++)},e.prototype.clearGroup=function(t){if(t<this.length){var r=this.groupSizes[t],n=this.indexOfGroup(t),o=n+r;this.groupSizes[t]=0;for(var i=n;i<o;i++)this.tag.deleteRule(n)}},e.prototype.getGroup=function(t){var r="";if(t>=this.length||this.groupSizes[t]===0)return r;for(var n=this.groupSizes[t],o=this.indexOfGroup(t),i=o+n,s=o;s<i;s++)r+="".concat(this.tag.getRule(s)).concat(pi);return r},e}(),Ql=1<<30,Cn=new Map,jn=new Map,Rn=1,xn=function(e){if(Cn.has(e))return Cn.get(e);for(;jn.has(Rn);)Rn++;var t=Rn++;if(process.env.NODE_ENV!=="production"&&((0|t)<0||t>Ql))throw Kt(16,"".concat(t));return Cn.set(e,t),jn.set(t,e),t},Jl=function(e,t){Rn=t+1,Cn.set(e,t),jn.set(t,e)},Kl="style[".concat(hr,"][").concat(ma,'="').concat(Jn,'"]'),Xl=new RegExp("^".concat(hr,'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')),Zl=function(e,t,r){for(var n,o=r.split(","),i=0,s=o.length;i<s;i++)(n=o[i])&&e.registerName(t,n)},eu=function(e,t){for(var r,n=((r=t.textContent)!==null&&r!==void 0?r:"").split(pi),o=[],i=0,s=n.length;i<s;i++){var l=n[i].trim();if(l){var u=l.match(Xl);if(u){var d=0|parseInt(u[1],10),h=u[2];d!==0&&(Jl(h,d),Zl(e,h,u[3]),e.getTag().insertRules(d,o)),o.length=0}else o.push(l)}}},cs=function(e){for(var t=document.querySelectorAll(Kl),r=0,n=t.length;r<n;r++){var o=t[r];o&&o.getAttribute(hr)!==ga&&(eu(e,o),o.parentNode&&o.parentNode.removeChild(o))}};function tu(){return typeof __webpack_nonce__<"u"?__webpack_nonce__:null}var Ea=function(e){var t=document.head,r=e||t,n=document.createElement("style"),o=function(l){var u=Array.from(l.querySelectorAll("style[".concat(hr,"]")));return u[u.length-1]}(r),i=o!==void 0?o.nextSibling:null;n.setAttribute(hr,ga),n.setAttribute(ma,Jn);var s=tu();return s&&n.setAttribute("nonce",s),r.insertBefore(n,i),n},ru=function(){function e(t){this.element=Ea(t),this.element.appendChild(document.createTextNode("")),this.sheet=function(r){if(r.sheet)return r.sheet;for(var n=document.styleSheets,o=0,i=n.length;o<i;o++){var s=n[o];if(s.ownerNode===r)return s}throw Kt(17)}(this.element),this.length=0}return e.prototype.insertRule=function(t,r){try{return this.sheet.insertRule(r,t),this.length++,!0}catch{return!1}},e.prototype.deleteRule=function(t){this.sheet.deleteRule(t),this.length--},e.prototype.getRule=function(t){var r=this.sheet.cssRules[t];return r&&r.cssText?r.cssText:""},e}(),nu=function(){function e(t){this.element=Ea(t),this.nodes=this.element.childNodes,this.length=0}return e.prototype.insertRule=function(t,r){if(t<=this.length&&t>=0){var n=document.createTextNode(r);return this.element.insertBefore(n,this.nodes[t]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(t){this.element.removeChild(this.nodes[t]),this.length--},e.prototype.getRule=function(t){return t<this.length?this.nodes[t].textContent:""},e}(),ou=function(){function e(t){this.rules=[],this.length=0}return e.prototype.insertRule=function(t,r){return t<=this.length&&(this.rules.splice(t,0,r),this.length++,!0)},e.prototype.deleteRule=function(t){this.rules.splice(t,1),this.length--},e.prototype.getRule=function(t){return t<this.length?this.rules[t]:""},e}(),ls=Pn,iu={isServer:!Pn,useCSSOMInjection:!kl},$a=function(){function e(t,r,n){t===void 0&&(t=Or),r===void 0&&(r={});var o=this;this.options=lt(lt({},iu),t),this.gs=r,this.names=new Map(n),this.server=!!t.isServer,!this.server&&Pn&&ls&&(ls=!1,cs(this)),gi(this,function(){return function(i){for(var s=i.getTag(),l=s.length,u="",d=function(y){var S=function(A){return jn.get(A)}(y);if(S===void 0)return"continue";var b=i.names.get(S),$=s.getGroup(y);if(b===void 0||!b.size||$.length===0)return"continue";var T="".concat(hr,".g").concat(y,'[id="').concat(S,'"]'),k="";b!==void 0&&b.forEach(function(A){A.length>0&&(k+="".concat(A,","))}),u+="".concat($).concat(T,'{content:"').concat(k,'"}').concat(pi)},h=0;h<l;h++)d(h);return u}(o)})}return e.registerId=function(t){return xn(t)},e.prototype.rehydrate=function(){!this.server&&Pn&&cs(this)},e.prototype.reconstructWithOptions=function(t,r){return r===void 0&&(r=!0),new e(lt(lt({},this.options),t),this.gs,r&&this.names||void 0)},e.prototype.allocateGSInstance=function(t){return this.gs[t]=(this.gs[t]||0)+1},e.prototype.getTag=function(){return this.tag||(this.tag=(t=function(r){var n=r.useCSSOMInjection,o=r.target;return r.isServer?new ou(o):n?new ru(o):new nu(o)}(this.options),new Yl(t)));var t},e.prototype.hasNameForId=function(t,r){return this.names.has(t)&&this.names.get(t).has(r)},e.prototype.registerName=function(t,r){if(xn(t),this.names.has(t))this.names.get(t).add(r);else{var n=new Set;n.add(r),this.names.set(t,n)}},e.prototype.insertRules=function(t,r,n){this.registerName(t,r),this.getTag().insertRules(xn(t),n)},e.prototype.clearNames=function(t){this.names.has(t)&&this.names.get(t).clear()},e.prototype.clearRules=function(t){this.getTag().clearGroup(xn(t)),this.clearNames(t)},e.prototype.clearTag=function(){this.tag=void 0},e}(),su=/&/g,au=/^\s*\/\/.*$/gm;function Ta(e,t){return e.map(function(r){return r.type==="rule"&&(r.value="".concat(t," ").concat(r.value),r.value=r.value.replaceAll(",",",".concat(t," ")),r.props=r.props.map(function(n){return"".concat(t," ").concat(n)})),Array.isArray(r.children)&&r.type!=="@keyframes"&&(r.children=Ta(r.children,t)),r})}function cu(e){var t,r,n,o=Or,i=o.options,s=i===void 0?Or:i,l=o.plugins,u=l===void 0?Kn:l,d=function(S,b,$){return $.startsWith(r)&&$.endsWith(r)&&$.replaceAll(r,"").length>0?".".concat(t):S},h=u.slice();h.push(function(S){S.type===Gn&&S.value.includes("&")&&(S.props[0]=S.props[0].replace(su,r).replace(n,d))}),s.prefix&&h.push(Cl),h.push(Tl);var y=function(S,b,$,T){b===void 0&&(b=""),$===void 0&&($=""),T===void 0&&(T="&"),t=T,r=b,n=new RegExp("\\".concat(r,"\\b"),"g");var k=S.replace(au,""),A=El($||b?"".concat($," ").concat(b," { ").concat(k," }"):k);s.namespace&&(A=Ta(A,s.namespace));var O=[];return kn(A,Al(h.concat(Ol(function(R){return O.push(R)})))),O};return y.hash=u.length?u.reduce(function(S,b){return b.name||Kt(15),lr(S,b.name)},ya).toString():"",y}var lu=new $a,Vo=cu(),Aa=E.createContext({shouldForwardProp:void 0,styleSheet:lu,stylis:Vo});Aa.Consumer;E.createContext(void 0);function us(){return E.useContext(Aa)}var fs=function(){function e(t,r){var n=this;this.inject=function(o,i){i===void 0&&(i=Vo);var s=n.name+i.hash;o.hasNameForId(n.id,s)||o.insertRules(n.id,s,i(n.rules,s,"@keyframes"))},this.name=t,this.id="sc-keyframes-".concat(t),this.rules=r,gi(this,function(){throw Kt(12,String(n.name))})}return e.prototype.getName=function(t){return t===void 0&&(t=Vo),this.name+t.hash},e}(),uu=function(e){return e>="A"&&e<="Z"};function ds(e){for(var t="",r=0;r<e.length;r++){var n=e[r];if(r===1&&n==="-"&&e[0]==="-")return e;uu(n)?t+="-"+n.toLowerCase():t+=n}return t.startsWith("ms-")?"-"+t:t}var Oa=function(e){return e==null||e===!1||e===""},Ca=function(e){var t,r,n=[];for(var o in e){var i=e[o];e.hasOwnProperty(o)&&!Oa(i)&&(Array.isArray(i)&&i.isCss||gr(i)?n.push("".concat(ds(o),":"),i,";"):Cr(i)?n.push.apply(n,$r($r(["".concat(o," {")],Ca(i),!1),["}"],!1)):n.push("".concat(ds(o),": ").concat((t=o,(r=i)==null||typeof r=="boolean"||r===""?"":typeof r!="number"||r===0||t in Rl||t.startsWith("--")?String(r).trim():"".concat(r,"px")),";")))}return n};function dr(e,t,r,n){if(Oa(e))return[];if(hi(e))return[".".concat(e.styledComponentId)];if(gr(e)){if(!gr(i=e)||i.prototype&&i.prototype.isReactComponent||!t)return[e];var o=e(t);return process.env.NODE_ENV==="production"||typeof o!="object"||Array.isArray(o)||o instanceof fs||Cr(o)||o===null||console.error("".concat(ba(e)," is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details.")),dr(o,t,r,n)}var i;return e instanceof fs?r?(e.inject(r,n),[e.getName(n)]):[e]:Cr(e)?Ca(e):Array.isArray(e)?Array.prototype.concat.apply(Kn,e.map(function(s){return dr(s,t,r,n)})):[e.toString()]}function fu(e){for(var t=0;t<e.length;t+=1){var r=e[t];if(gr(r)&&!hi(r))return!1}return!0}var du=va(Jn),pu=function(){function e(t,r,n){this.rules=t,this.staticRulesId="",this.isStatic=process.env.NODE_ENV==="production"&&(n===void 0||n.isStatic)&&fu(t),this.componentId=r,this.baseHash=lr(du,r),this.baseStyle=n,$a.registerId(r)}return e.prototype.generateAndInjectStyles=function(t,r,n){var o=this.baseStyle?this.baseStyle.generateAndInjectStyles(t,r,n):"";if(this.isStatic&&!n.hash)if(this.staticRulesId&&r.hasNameForId(this.componentId,this.staticRulesId))o=ur(o,this.staticRulesId);else{var i=as(dr(this.rules,t,r,n)),s=No(lr(this.baseHash,i)>>>0);if(!r.hasNameForId(this.componentId,s)){var l=n(i,".".concat(s),void 0,this.componentId);r.insertRules(this.componentId,s,l)}o=ur(o,s),this.staticRulesId=s}else{for(var u=lr(this.baseHash,n.hash),d="",h=0;h<this.rules.length;h++){var y=this.rules[h];if(typeof y=="string")d+=y,process.env.NODE_ENV!=="production"&&(u=lr(u,y));else if(y){var S=as(dr(y,t,r,n));u=lr(u,S+h),d+=S}}if(d){var b=No(u>>>0);r.hasNameForId(this.componentId,b)||r.insertRules(this.componentId,b,n(d,".".concat(b),void 0,this.componentId)),o=ur(o,b)}}return o},e}(),In=E.createContext(void 0);In.Consumer;function hu(e){var t=E.useContext(In),r=E.useMemo(function(){return function(n,o){if(!n)throw Kt(14);if(gr(n)){var i=n(o);if(process.env.NODE_ENV!=="production"&&(i===null||Array.isArray(i)||typeof i!="object"))throw Kt(7);return i}if(Array.isArray(n)||typeof n!="object")throw Kt(8);return o?lt(lt({},o),n):n}(e.theme,t)},[e.theme,t]);return e.children?E.createElement(In.Provider,{value:r},e.children):null}var Ao={},ps=new Set;function gu(e,t,r){var n=hi(e),o=e,i=!To(e),s=t.attrs,l=s===void 0?Kn:s,u=t.componentId,d=u===void 0?function(I,M){var D=typeof I!="string"?"sc":rs(I);Ao[D]=(Ao[D]||0)+1;var P="".concat(D,"-").concat(Dl(Jn+D+Ao[D]));return M?"".concat(M,"-").concat(P):P}(t.displayName,t.parentComponentId):u,h=t.displayName,y=h===void 0?function(I){return To(I)?"styled.".concat(I):"Styled(".concat(ba(I),")")}(e):h,S=t.displayName&&t.componentId?"".concat(rs(t.displayName),"-").concat(t.componentId):t.componentId||d,b=n&&o.attrs?o.attrs.concat(l).filter(Boolean):l,$=t.shouldForwardProp;if(n&&o.shouldForwardProp){var T=o.shouldForwardProp;if(t.shouldForwardProp){var k=t.shouldForwardProp;$=function(I,M){return T(I,M)&&k(I,M)}}else $=T}var A=new pu(r,S,n?o.componentStyle:void 0);function O(I,M){return function(D,P,me){var ye=D.attrs,fe=D.componentStyle,Ne=D.defaultProps,Ie=D.foldedComponentIds,ve=D.styledComponentId,Q=D.target,Se=E.useContext(In),oe=us(),ie=D.shouldForwardProp||oe.shouldForwardProp;process.env.NODE_ENV!=="production"&&E.useDebugValue(ve);var se=jl(P,Se,Ne)||Or,te=function(et,We,qe){for(var le,be=lt(lt({},We),{className:void 0,theme:qe}),xe=0;xe<et.length;xe+=1){var Be=gr(le=et[xe])?le(be):le;for(var Re in Be)be[Re]=Re==="className"?ur(be[Re],Be[Re]):Re==="style"?lt(lt({},be[Re]),Be[Re]):Be[Re]}return We.className&&(be.className=ur(be.className,We.className)),be}(ye,P,se),q=te.as||Q,ae={};for(var pe in te)te[pe]===void 0||pe[0]==="$"||pe==="as"||pe==="theme"&&te.theme===se||(pe==="forwardedAs"?ae.as=te.forwardedAs:ie&&!ie(pe,q)||(ae[pe]=te[pe],ie||process.env.NODE_ENV!=="development"||fl(pe)||ps.has(pe)||!Do.has(q)||(ps.add(pe),console.warn('styled-components: it looks like an unknown prop "'.concat(pe,'" is being sent through to the DOM, which will likely trigger a React console error. If you would like automatic filtering of unknown props, you can opt-into that behavior via `<StyleSheetManager shouldForwardProp={...}>` (connect an API like `@emotion/is-prop-valid`) or consider using transient props (`$` prefix for automatic filtering.)')))));var G=function(et,We){var qe=us(),le=et.generateAndInjectStyles(We,qe.styleSheet,qe.stylis);return process.env.NODE_ENV!=="production"&&E.useDebugValue(le),le}(fe,te);process.env.NODE_ENV!=="production"&&D.warnTooManyClasses&&D.warnTooManyClasses(G);var it=ur(Ie,ve);return G&&(it+=" "+G),te.className&&(it+=" "+te.className),ae[To(q)&&!Do.has(q)?"class":"className"]=it,ae.ref=me,E.createElement(q,ae)}(R,I,M)}O.displayName=y;var R=E.forwardRef(O);return R.attrs=b,R.componentStyle=A,R.displayName=y,R.shouldForwardProp=$,R.foldedComponentIds=n?ur(o.foldedComponentIds,o.styledComponentId):"",R.styledComponentId=S,R.target=n?o.target:e,Object.defineProperty(R,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(I){this._foldedDefaultProps=n?function(M){for(var D=[],P=1;P<arguments.length;P++)D[P-1]=arguments[P];for(var me=0,ye=D;me<ye.length;me++)Fo(M,ye[me],!0);return M}({},o.defaultProps,I):I}}),process.env.NODE_ENV!=="production"&&(Pl(y,S),R.warnTooManyClasses=function(I,M){var D={},P=!1;return function(me){if(!P&&(D[me]=!0,Object.keys(D).length>=200)){var ye=M?' with the id of "'.concat(M,'"'):"";console.warn("Over ".concat(200," classes were generated for component ").concat(I).concat(ye,`.
|
|
46
46
|
`)+`Consider using the attrs method, together with a style object for frequently changed styles.
|
|
47
47
|
Example:
|
|
48
48
|
const Component = styled.div.attrs(props => ({
|
|
@@ -51,7 +51,7 @@ Example:
|
|
|
51
51
|
},
|
|
52
52
|
}))\`width: 100%;\`
|
|
53
53
|
|
|
54
|
-
<Component />`),P=!0,D={}}}}(y,S)),gi(R,function(){return".".concat(R.styledComponentId)}),i&&xa(R,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0}),R}function hs(e,t){for(var r=[e[0]],n=0,o=t.length;n<o;n+=1)r.push(t[n],e[n+1]);return r}var gs=function(e){return Object.assign(e,{isCss:!0})};function
|
|
54
|
+
<Component />`),P=!0,D={}}}}(y,S)),gi(R,function(){return".".concat(R.styledComponentId)}),i&&xa(R,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0}),R}function hs(e,t){for(var r=[e[0]],n=0,o=t.length;n<o;n+=1)r.push(t[n],e[n+1]);return r}var gs=function(e){return Object.assign(e,{isCss:!0})};function mu(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];if(gr(e)||Cr(e))return gs(dr(hs(Kn,$r([e],t,!0))));var n=e;return t.length===0&&n.length===1&&typeof n[0]=="string"?dr(n):gs(dr(hs(n,t)))}function Bo(e,t,r){if(r===void 0&&(r=Or),!t)throw Kt(1,t);var n=function(o){for(var i=[],s=1;s<arguments.length;s++)i[s-1]=arguments[s];return e(t,r,mu.apply(void 0,$r([o],i,!1)))};return n.attrs=function(o){return Bo(e,t,lt(lt({},r),{attrs:Array.prototype.concat(r.attrs,o).filter(Boolean)}))},n.withConfig=function(o){return Bo(e,t,lt(lt({},r),o))},n}var Ra=function(e){return Bo(gu,e)},At=Ra;Do.forEach(function(e){At[e]=Ra(e)});process.env.NODE_ENV!=="production"&&typeof navigator<"u"&&navigator.product==="ReactNative"&&console.warn(`It looks like you've imported 'styled-components' on React Native.
|
|
55
55
|
Perhaps you're looking to import 'styled-components/native'?
|
|
56
56
|
Read more about this at https://www.styled-components.com/docs/basics#react-native`);var En="__sc-".concat(hr,"__");process.env.NODE_ENV!=="production"&&process.env.NODE_ENV!=="test"&&typeof window<"u"&&(window[En]||(window[En]=0),window[En]===1&&console.warn(`It looks like there are several instances of 'styled-components' initialized in this application. This may cause dynamic styles to not render properly, errors during the rehydration process, a missing theme prop, and makes your application bigger without good reason.
|
|
57
57
|
|
|
@@ -63,7 +63,7 @@ See https://s-c.sh/2BAXzed for more info.`),window[En]+=1);var zo={exports:{}},B
|
|
|
63
63
|
*
|
|
64
64
|
* This source code is licensed under the MIT license found in the
|
|
65
65
|
* LICENSE file in the root directory of this source tree.
|
|
66
|
-
*/var ms;function
|
|
66
|
+
*/var ms;function yu(){if(ms)return Br;ms=1;var e=E,t=Symbol.for("react.element"),r=Symbol.for("react.fragment"),n=Object.prototype.hasOwnProperty,o=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,i={key:!0,ref:!0,__self:!0,__source:!0};function s(l,u,d){var h,y={},S=null,b=null;d!==void 0&&(S=""+d),u.key!==void 0&&(S=""+u.key),u.ref!==void 0&&(b=u.ref);for(h in u)n.call(u,h)&&!i.hasOwnProperty(h)&&(y[h]=u[h]);if(l&&l.defaultProps)for(h in u=l.defaultProps,u)y[h]===void 0&&(y[h]=u[h]);return{$$typeof:t,type:l,key:S,ref:b,props:y,_owner:o.current}}return Br.Fragment=r,Br.jsx=s,Br.jsxs=s,Br}var zr={};/**
|
|
67
67
|
* @license React
|
|
68
68
|
* react-jsx-runtime.development.js
|
|
69
69
|
*
|
|
@@ -71,62 +71,62 @@ See https://s-c.sh/2BAXzed for more info.`),window[En]+=1);var zo={exports:{}},B
|
|
|
71
71
|
*
|
|
72
72
|
* This source code is licensed under the MIT license found in the
|
|
73
73
|
* LICENSE file in the root directory of this source tree.
|
|
74
|
-
*/var ys;function
|
|
74
|
+
*/var ys;function vu(){return ys||(ys=1,process.env.NODE_ENV!=="production"&&function(){var e=E,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"),S=Symbol.for("react.lazy"),b=Symbol.for("react.offscreen"),$=Symbol.iterator,T="@@iterator";function k(f){if(f===null||typeof f!="object")return null;var v=$&&f[$]||f[T];return typeof v=="function"?v:null}var A=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function O(f){{for(var v=arguments.length,x=new Array(v>1?v-1:0),F=1;F<v;F++)x[F-1]=arguments[F];R("error",f,x)}}function R(f,v,x){{var F=A.ReactDebugCurrentFrame,ne=F.getStackAddendum();ne!==""&&(v+="%s",x=x.concat([ne]));var ee=x.map(function(J){return String(J)});ee.unshift("Warning: "+v),Function.prototype.apply.call(console[f],console,ee)}}var I=!1,M=!1,D=!1,P=!1,me=!1,ye;ye=Symbol.for("react.module.reference");function fe(f){return!!(typeof f=="string"||typeof f=="function"||f===n||f===i||me||f===o||f===d||f===h||P||f===b||I||M||D||typeof f=="object"&&f!==null&&(f.$$typeof===S||f.$$typeof===y||f.$$typeof===s||f.$$typeof===l||f.$$typeof===u||f.$$typeof===ye||f.getModuleId!==void 0))}function Ne(f,v,x){var F=f.displayName;if(F)return F;var ne=v.displayName||v.name||"";return ne!==""?x+"("+ne+")":x}function Ie(f){return f.displayName||"Context"}function ve(f){if(f==null)return null;if(typeof f.tag=="number"&&O("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof f=="function")return f.displayName||f.name||null;if(typeof f=="string")return f;switch(f){case n:return"Fragment";case r:return"Portal";case i:return"Profiler";case o:return"StrictMode";case d:return"Suspense";case h:return"SuspenseList"}if(typeof f=="object")switch(f.$$typeof){case l:var v=f;return Ie(v)+".Consumer";case s:var x=f;return Ie(x._context)+".Provider";case u:return Ne(f,f.render,"ForwardRef");case y:var F=f.displayName||null;return F!==null?F:ve(f.type)||"Memo";case S:{var ne=f,ee=ne._payload,J=ne._init;try{return ve(J(ee))}catch{return null}}}return null}var Q=Object.assign,Se=0,oe,ie,se,te,q,ae,pe;function G(){}G.__reactDisabledLog=!0;function it(){{if(Se===0){oe=console.log,ie=console.info,se=console.warn,te=console.error,q=console.group,ae=console.groupCollapsed,pe=console.groupEnd;var f={configurable:!0,enumerable:!0,value:G,writable:!0};Object.defineProperties(console,{info:f,log:f,warn:f,error:f,group:f,groupCollapsed:f,groupEnd:f})}Se++}}function et(){{if(Se--,Se===0){var f={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Q({},f,{value:oe}),info:Q({},f,{value:ie}),warn:Q({},f,{value:se}),error:Q({},f,{value:te}),group:Q({},f,{value:q}),groupCollapsed:Q({},f,{value:ae}),groupEnd:Q({},f,{value:pe})})}Se<0&&O("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var We=A.ReactCurrentDispatcher,qe;function le(f,v,x){{if(qe===void 0)try{throw Error()}catch(ne){var F=ne.stack.trim().match(/\n( *(at )?)/);qe=F&&F[1]||""}return`
|
|
75
75
|
`+qe+f}}var be=!1,xe;{var Be=typeof WeakMap=="function"?WeakMap:Map;xe=new Be}function Re(f,v){if(!f||be)return"";{var x=xe.get(f);if(x!==void 0)return x}var F;be=!0;var ne=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var ee;ee=We.current,We.current=null,it();try{if(v){var J=function(){throw Error()};if(Object.defineProperty(J.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(J,[])}catch(nt){F=nt}Reflect.construct(f,[],J)}else{try{J.call()}catch(nt){F=nt}f.call(J.prototype)}}else{try{throw Error()}catch(nt){F=nt}f()}}catch(nt){if(nt&&F&&typeof nt.stack=="string"){for(var Y=nt.stack.split(`
|
|
76
76
|
`),Le=F.stack.split(`
|
|
77
77
|
`),B=Y.length-1,ce=Le.length-1;B>=1&&ce>=0&&Y[B]!==Le[ce];)ce--;for(;B>=1&&ce>=0;B--,ce--)if(Y[B]!==Le[ce]){if(B!==1||ce!==1)do if(B--,ce--,ce<0||Y[B]!==Le[ce]){var Ae=`
|
|
78
|
-
`+Y[B].replace(" at new "," at ");return f.displayName&&Ae.includes("<anonymous>")&&(Ae=Ae.replace("<anonymous>",f.displayName)),typeof f=="function"&&xe.set(f,Ae),Ae}while(B>=1&&ce>=0);break}}}finally{be=!1,We.current=ee,et(),Error.prepareStackTrace=ne}var Xe=f?f.displayName||f.name:"",Ht=Xe?
|
|
78
|
+
`+Y[B].replace(" at new "," at ");return f.displayName&&Ae.includes("<anonymous>")&&(Ae=Ae.replace("<anonymous>",f.displayName)),typeof f=="function"&&xe.set(f,Ae),Ae}while(B>=1&&ce>=0);break}}}finally{be=!1,We.current=ee,et(),Error.prepareStackTrace=ne}var Xe=f?f.displayName||f.name:"",Ht=Xe?le(Xe):"";return typeof f=="function"&&xe.set(f,Ht),Ht}function ut(f,v,x){return Re(f,!1)}function Rt(f){var v=f.prototype;return!!(v&&v.isReactComponent)}function Ee(f,v,x){if(f==null)return"";if(typeof f=="function")return Re(f,Rt(f));if(typeof f=="string")return le(f);switch(f){case d:return le("Suspense");case h:return le("SuspenseList")}if(typeof f=="object")switch(f.$$typeof){case u:return ut(f.render);case y:return Ee(f.type,v,x);case S:{var F=f,ne=F._payload,ee=F._init;try{return Ee(ee(ne),v,x)}catch{}}}return""}var ft=Object.prototype.hasOwnProperty,Qe={},dt=A.ReactDebugCurrentFrame;function ue(f){if(f){var v=f._owner,x=Ee(f.type,f._source,v?v.type:null);dt.setExtraStackFrame(x)}else dt.setExtraStackFrame(null)}function pt(f,v,x,F,ne){{var ee=Function.call.bind(ft);for(var J in f)if(ee(f,J)){var Y=void 0;try{if(typeof f[J]!="function"){var Le=Error((F||"React class")+": "+x+" type `"+J+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof f[J]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw Le.name="Invariant Violation",Le}Y=f[J](v,J,F,x,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(B){Y=B}Y&&!(Y instanceof Error)&&(ue(ne),O("%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).",F||"React class",x,J,typeof Y),ue(null)),Y instanceof Error&&!(Y.message in Qe)&&(Qe[Y.message]=!0,ue(ne),O("Failed %s type: %s",x,Y.message),ue(null))}}}var ht=Array.isArray;function gt(f){return ht(f)}function Ot(f){{var v=typeof Symbol=="function"&&Symbol.toStringTag,x=v&&f[Symbol.toStringTag]||f.constructor.name||"Object";return x}}function tt(f){try{return st(f),!1}catch{return!0}}function st(f){return""+f}function mt(f){if(tt(f))return O("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Ot(f)),st(f)}var Je=A.ReactCurrentOwner,_t={key:!0,ref:!0,__self:!0,__source:!0},St,kt,Ge;Ge={};function Pt(f){if(ft.call(f,"ref")){var v=Object.getOwnPropertyDescriptor(f,"ref").get;if(v&&v.isReactWarning)return!1}return f.ref!==void 0}function rt(f){if(ft.call(f,"key")){var v=Object.getOwnPropertyDescriptor(f,"key").get;if(v&&v.isReactWarning)return!1}return f.key!==void 0}function we(f,v){if(typeof f.ref=="string"&&Je.current&&v&&Je.current.stateNode!==v){var x=ve(Je.current.type);Ge[x]||(O('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',ve(Je.current.type),f.ref),Ge[x]=!0)}}function Dt(f,v){{var x=function(){St||(St=!0,O("%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))};x.isReactWarning=!0,Object.defineProperty(f,"key",{get:x,configurable:!0})}}function Nt(f,v){{var x=function(){kt||(kt=!0,O("%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))};x.isReactWarning=!0,Object.defineProperty(f,"ref",{get:x,configurable:!0})}}var yt=function(f,v,x,F,ne,ee,J){var Y={$$typeof:t,type:f,key:v,ref:x,props:J,_owner:ee};return Y._store={},Object.defineProperty(Y._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(Y,"_self",{configurable:!1,enumerable:!1,writable:!1,value:F}),Object.defineProperty(Y,"_source",{configurable:!1,enumerable:!1,writable:!1,value:ne}),Object.freeze&&(Object.freeze(Y.props),Object.freeze(Y)),Y};function vt(f,v,x,F,ne){{var ee,J={},Y=null,Le=null;x!==void 0&&(mt(x),Y=""+x),rt(v)&&(mt(v.key),Y=""+v.key),Pt(v)&&(Le=v.ref,we(v,ne));for(ee in v)ft.call(v,ee)&&!_t.hasOwnProperty(ee)&&(J[ee]=v[ee]);if(f&&f.defaultProps){var B=f.defaultProps;for(ee in B)J[ee]===void 0&&(J[ee]=B[ee])}if(Y||Le){var ce=typeof f=="function"?f.displayName||f.name||"Unknown":f;Y&&Dt(J,ce),Le&&Nt(J,ce)}return yt(f,Y,Le,ne,F,Je.current,J)}}var He=A.ReactCurrentOwner,at=A.ReactDebugCurrentFrame;function ze(f){if(f){var v=f._owner,x=Ee(f.type,f._source,v?v.type:null);at.setExtraStackFrame(x)}else at.setExtraStackFrame(null)}var Ye;Ye=!1;function xt(f){return typeof f=="object"&&f!==null&&f.$$typeof===t}function _e(){{if(He.current){var f=ve(He.current.type);if(f)return`
|
|
79
79
|
|
|
80
80
|
Check the render method of \``+f+"`."}return""}}function Ke(f){return""}var N={};function X(f){{var v=_e();if(!v){var x=typeof f=="string"?f:f.displayName||f.name;x&&(v=`
|
|
81
81
|
|
|
82
|
-
Check the top-level render call using <`+x+">.")}return v}}function ke(f,v){{if(!f._store||f._store.validated||f.key!=null)return;f._store.validated=!0;var x=X(v);if(N[x])return;N[x]=!0;var F="";f&&f._owner&&f._owner!==He.current&&(F=" It was passed a child from "+ve(f._owner.type)+"."),ze(f),
|
|
82
|
+
Check the top-level render call using <`+x+">.")}return v}}function ke(f,v){{if(!f._store||f._store.validated||f.key!=null)return;f._store.validated=!0;var x=X(v);if(N[x])return;N[x]=!0;var F="";f&&f._owner&&f._owner!==He.current&&(F=" It was passed a child from "+ve(f._owner.type)+"."),ze(f),O('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',x,F),ze(null)}}function bt(f,v){{if(typeof f!="object")return;if(gt(f))for(var x=0;x<f.length;x++){var F=f[x];xt(F)&&ke(F,v)}else if(xt(f))f._store&&(f._store.validated=!0);else if(f){var ne=k(f);if(typeof ne=="function"&&ne!==f.entries)for(var ee=ne.call(f),J;!(J=ee.next()).done;)xt(J.value)&&ke(J.value,v)}}}function C(f){{var v=f.type;if(v==null||typeof v=="string")return;var x;if(typeof v=="function")x=v.propTypes;else if(typeof v=="object"&&(v.$$typeof===u||v.$$typeof===y))x=v.propTypes;else return;if(x){var F=ve(v);pt(x,f.props,"prop",F,f)}else if(v.PropTypes!==void 0&&!Ye){Ye=!0;var ne=ve(v);O("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",ne||"Unknown")}typeof v.getDefaultProps=="function"&&!v.getDefaultProps.isReactClassApproved&&O("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function V(f){{for(var v=Object.keys(f.props),x=0;x<v.length;x++){var F=v[x];if(F!=="children"&&F!=="key"){ze(f),O("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",F),ze(null);break}}f.ref!==null&&(ze(f),O("Invalid attribute `ref` supplied to `React.Fragment`."),ze(null))}}function z(f,v,x,F,ne,ee){{var J=fe(f);if(!J){var Y="";(f===void 0||typeof f=="object"&&f!==null&&Object.keys(f).length===0)&&(Y+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var Le=Ke();Le?Y+=Le:Y+=_e();var B;f===null?B="null":gt(f)?B="array":f!==void 0&&f.$$typeof===t?(B="<"+(ve(f.type)||"Unknown")+" />",Y=" Did you accidentally export a JSX literal instead of a component?"):B=typeof f,O("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",B,Y)}var ce=vt(f,v,x,ne,ee);if(ce==null)return ce;if(J){var Ae=v.children;if(Ae!==void 0)if(F)if(gt(Ae)){for(var Xe=0;Xe<Ae.length;Xe++)bt(Ae[Xe],f);Object.freeze&&Object.freeze(Ae)}else O("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else bt(Ae,f)}return f===n?V(ce):C(ce),ce}}function $e(f,v,x){return z(f,v,x,!0)}function Me(f,v,x){return z(f,v,x,!1)}var ct=Me,Te=$e;zr.Fragment=n,zr.jsx=ct,zr.jsxs=Te}()),zr}process.env.NODE_ENV==="production"?zo.exports=yu():zo.exports=vu();var De=zo.exports;const bu={25:"#fcfcfd",50:"#f9fafb",100:"#f2f4f7",200:"#eaecf0",300:"#d0d5dd",400:"#98a2b3",500:"#667085",600:"#475467",700:"#2f394b",800:"#212a36",900:"#161b25"},wu={25:"#fef2f3",50:"#fddfe2",100:"#fbbac0",200:"#f9959e",300:"#f65e6a",400:"#f32637",500:"#bf0b1a",600:"#ac0a17",700:"#9a0915",800:"#870812",900:"#750710"},_u={25:"",50:"",100:"#ffe6ff",200:"",300:"#b8075d",400:"",500:"#7f0540",600:"",700:"#59042d",800:"",900:"#460323"},Su={25:"",50:"#fef3f2",100:"",200:"#fecdca",300:"",400:"",500:"#f04438",600:"",700:"#b42318",800:"",900:""},xu={25:"",50:"#fffaeb",100:"",200:"#fef0c7",300:"",400:"#ffd562",500:"#fdb022",600:"#dc6803",700:"#b54708",800:"",900:""},Eu={25:"",50:"#f6fef9",100:"",200:"#a6f4c5",300:"",400:"",500:"#12b76a",600:"",700:"#027a48",800:"",900:""},$u={25:"",50:"#eff8ff",100:"",200:"#b2ddff",300:"",400:"",500:"#2e90fa",600:"",700:"#175cd3",800:"",900:""},Tu={"01":"linear-gradient(45deg, #f32637 0%, #b8075d 100%)","02":"linear-gradient(45deg, #fcfcfd 0%, #667085 100%)"},Au={type:{primary:"Roboto, sans-serif",poppins:"'Poppins', sans-serif",mono:"'Space Mono', monospace"},heading:{xxl:"64px",xl:"48px",lg:"32px",md:"24px",sm:"20px",xs:"16px"},text:{xl:"20px",lg:"18px",md:"16px",sm:"14px",xs:"12px"},weight:{bold:"700",semibold:"600",regular:"400"}},Ou={none:"none",sm:"0px 1px 2px 0px rgba(16, 24, 40, 0.15)",md:"0px 4px 6px 0px rgba(16, 24, 40, 0.15)",lg:"0px 8px 24px 0px rgba(16, 24, 40, 0.15)"},Cu={mobile:"360px",tablet:"960px",sm:"1024px",md:"1440px",lg:"1920px"},Ru={0:"0rem",.125:"0.125rem",.25:"0.25rem",.5:"0.5rem",.625:"0.625rem",.75:"0.75rem",1:"1rem",1.25:"1.25rem",1.5:"1.5rem",1.75:"1.75rem",2:"2rem",2.25:"2.25rem",2.5:"2.5rem",3:"3rem",3.5:"3.5rem",4:"4rem",4.5:"4.5rem",5:"5rem",6:"6rem"},ku=["lock-keyhole","bolt","books","brain-circuit","briefcase","bug","buildings","bullseye-pointer","calendar-clock","calendar-xmark","chart-network","clipboard-check","clouds","comment","envelope","eye","file","flag","globe","hand-holding-dollar","hands-clapping","headset","hexagon-exclamation","light-emergency-on","magnifying-glass","pen-line","plane-departure","screwdriver-wrench","sensor-triangle-exclamation","shield-check","shield","skull","sliders","star-christmas","telescope","trash","unlock","user-group","user-hoodie","xmark"],Pu=[["fal","arrow-down"],["fal","arrow-left"],["fal","arrow-right"],["fal","arrow-up"],["fal","plus"],["fal","minus"],["fas","check"],["fas","circle-question"]],Pe={typography:Au,shadows:Ou,breakpoints:Cu,spacing:Ru,palette:{primary:wu,complementary:_u,error:Su,info:$u,warning:xu,success:Eu,black:"#0c111d",white:"#ffffff",gray:bu,gradients:Tu}},ju=({children:e})=>De.jsx(hu,{theme:Pe,children:e}),W=(e,t)=>t===void 0?"":`${e}: ${t};`,Jr=e=>{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;if(e.padding){const[i,s,l,u]=e.padding;return`padding: ${Pe.spacing[i]} ${Pe.spacing[s]} ${Pe.spacing[l]} ${Pe.spacing[u]};`}return`padding: ${Pe.spacing[t]} ${Pe.spacing[r]} ${Pe.spacing[n]} ${Pe.spacing[o]};`},Kr=e=>{const t=e.my??e.mt??0,r=e.mx??e.mr??0,n=e.my??e.mb??0,o=e.mx??e.ml??0;if(e.margin){const[i,s,l,u]=e.margin;return`margin: ${Pe.spacing[i]} ${Pe.spacing[s]} ${Pe.spacing[l]} ${Pe.spacing[u]};`}return`margin: ${Pe.spacing[t]} ${Pe.spacing[r]} ${Pe.spacing[n]} ${Pe.spacing[o]};`},Xr=e=>{const t=W("position",e.position),r=W("top",e.top),n=W("right",e.right),o=W("bottom",e.bottom),i=W("left",e.left),s=W("z-index",e.zIndex);return`
|
|
83
83
|
${t}
|
|
84
84
|
${r}
|
|
85
85
|
${n}
|
|
86
86
|
${o}
|
|
87
87
|
${i}
|
|
88
88
|
${s}
|
|
89
|
-
`},Zr=e=>{const t=W("border",e.border),r=W("border-top",e.borderTop),n=W("border-right",e.borderRight),o=W("border-bottom",e.borderBottom),i=W("border-left",e.borderLeft),s=W("border-color",e.borderColor),
|
|
89
|
+
`},Zr=e=>{const t=W("border",e.border),r=W("border-top",e.borderTop),n=W("border-right",e.borderRight),o=W("border-bottom",e.borderBottom),i=W("border-left",e.borderLeft),s=W("border-color",e.borderColor),l=W("border-radius",e.borderRadius);return`
|
|
90
90
|
${t}
|
|
91
91
|
${r}
|
|
92
92
|
${n}
|
|
93
93
|
${o}
|
|
94
94
|
${i}
|
|
95
95
|
${s}
|
|
96
|
-
${
|
|
97
|
-
`},
|
|
98
|
-
${
|
|
99
|
-
${
|
|
100
|
-
`:"",r=W("visibility",e.visibility),n=W("display",e.display),o=W("height",e.height),i=W("width",e.width),s=W("max-height",e.maxHeight),
|
|
96
|
+
${l}
|
|
97
|
+
`},Iu=e=>e.includes("x")?"overflow-x: auto;":"",Mu=e=>e.includes("y")?"overflow-y: auto;":"",en=e=>{const t=e.scroll?`
|
|
98
|
+
${Iu(e.scroll)}
|
|
99
|
+
${Mu(e.scroll)}
|
|
100
|
+
`:"",r=W("visibility",e.visibility),n=W("display",e.display),o=W("height",e.height),i=W("width",e.width),s=W("max-height",e.maxHeight),l=W("max-width",e.maxWidth),u=W("min-height",e.minHeight),d=W("min-width",e.minWidth),h=W("box-shadow",e.shadow?Pe.shadows[e.shadow]:void 0),y=W("gap",e.gap===void 0?void 0:Pe.spacing[e.gap]),S=W("background-color",e.bgColor),b=W("background",e.bgGradient),$=W("flex-direction",e.flexDirection),T=W("flex-grow",e.flexGrow),k=W("justify-content",e.justify),A=W("justify-self",e.justifySelf),O=W("align-items",e.alignItems),R=W("align-self",e.alignSelf),I=W("flex-wrap",e.wrap);return`
|
|
101
101
|
${t}
|
|
102
102
|
${r}
|
|
103
103
|
${n}
|
|
104
104
|
${o}
|
|
105
105
|
${i}
|
|
106
106
|
${s}
|
|
107
|
-
${u}
|
|
108
107
|
${l}
|
|
108
|
+
${u}
|
|
109
109
|
${d}
|
|
110
110
|
${h}
|
|
111
111
|
${S}
|
|
112
112
|
${b}
|
|
113
113
|
${y}
|
|
114
114
|
${$}
|
|
115
|
-
${O}
|
|
116
|
-
${k}
|
|
117
115
|
${T}
|
|
116
|
+
${k}
|
|
118
117
|
${A}
|
|
118
|
+
${O}
|
|
119
119
|
${R}
|
|
120
120
|
${I}
|
|
121
|
-
`},tn=e=>{const t=W("color",e.color),r=W("font-family",e.fontFamily),n=W("font-size",e.fontSize),o=W("font-weight",e.fontWeight),i=W("line-spacing",e.letterSpacing),s=W("line-height",e.lineSpacing),
|
|
121
|
+
`},tn=e=>{const t=W("color",e.color),r=W("font-family",e.fontFamily),n=W("font-size",e.fontSize),o=W("font-weight",e.fontWeight),i=W("line-spacing",e.letterSpacing),s=W("line-height",e.lineSpacing),l=W("text-align",e.textAlign),u=W("text-decoration",e.textDecoration),d=W("text-overflow",e.textOverflow),h=W("white-space",e.whiteSpace),y=W("word-break",e.wordBreak),S=W("word-wrap",e.wordWrap);return`
|
|
122
122
|
${t}
|
|
123
123
|
${r}
|
|
124
124
|
${n}
|
|
125
125
|
${o}
|
|
126
126
|
${i}
|
|
127
127
|
${s}
|
|
128
|
-
${u}
|
|
129
128
|
${l}
|
|
129
|
+
${u}
|
|
130
130
|
${d}
|
|
131
131
|
${h}
|
|
132
132
|
${y}
|
|
@@ -172,21 +172,73 @@ Check the top-level render call using <`+x+">.")}return v}}function ke(f,v){{if(
|
|
|
172
172
|
${tn}
|
|
173
173
|
${Zr}
|
|
174
174
|
${rn}
|
|
175
|
-
`,{getVariant:
|
|
175
|
+
`,{getVariant:Lu}=ia(e=>({ghost:`
|
|
176
|
+
background: ${e.palette.white};
|
|
177
|
+
border: none;
|
|
178
|
+
color: ${e.palette.gray[800]};
|
|
179
|
+
--btn-padding: ${e.spacing[.625]} ${e.spacing[.5]};
|
|
180
|
+
--btn-spacing: ${e.spacing[.25]};
|
|
181
|
+
|
|
182
|
+
&:disabled {
|
|
183
|
+
background: transparent;
|
|
184
|
+
color: ${e.palette.gray[400]};
|
|
185
|
+
cursor: not-allowed;
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
&:hover:not([disabled]) {
|
|
189
|
+
background-color: ${e.palette.gray[100]};
|
|
190
|
+
}
|
|
191
|
+
`,ghostWeb:`
|
|
176
192
|
background: transparent;
|
|
177
193
|
border: none;
|
|
178
194
|
color: ${e.palette.gray[800]};
|
|
179
|
-
|
|
195
|
+
|
|
196
|
+
&.desktop {
|
|
197
|
+
--btn-padding: ${e.spacing[.5]};
|
|
198
|
+
}
|
|
199
|
+
&.mobile {
|
|
200
|
+
--btn-padding: ${e.spacing[.75]};
|
|
201
|
+
}
|
|
180
202
|
|
|
181
203
|
&:disabled {
|
|
182
204
|
background: transparent;
|
|
183
|
-
border: none;
|
|
184
205
|
color: ${e.palette.gray[300]};
|
|
206
|
+
cursor: not-allowed;
|
|
185
207
|
}
|
|
186
208
|
|
|
187
209
|
&:hover:not([disabled]) {
|
|
188
210
|
background-color: ${e.palette.gray[100]};
|
|
189
211
|
}
|
|
212
|
+
`,link:`
|
|
213
|
+
&.dark {
|
|
214
|
+
color: ${e.palette.gray[200]};
|
|
215
|
+
|
|
216
|
+
&:hover {
|
|
217
|
+
color: ${e.palette.gray[400]};
|
|
218
|
+
}
|
|
219
|
+
}
|
|
220
|
+
&.light {
|
|
221
|
+
color: ${e.palette.gray[800]};
|
|
222
|
+
|
|
223
|
+
&:hover {
|
|
224
|
+
color: ${e.palette.gray[500]};
|
|
225
|
+
}
|
|
226
|
+
}
|
|
227
|
+
`,primary:`
|
|
228
|
+
background: ${e.palette.primary[500]};
|
|
229
|
+
border: none;
|
|
230
|
+
color: ${e.palette.white};
|
|
231
|
+
--btn-spacing: ${e.spacing[.25]};
|
|
232
|
+
|
|
233
|
+
&:disabled {
|
|
234
|
+
background: ${e.palette.gray[200]};
|
|
235
|
+
color: ${e.palette.gray[400]};
|
|
236
|
+
cursor: not-allowed;
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
&:hover:not([disabled]) {
|
|
240
|
+
background-color: ${e.palette.primary[700]};
|
|
241
|
+
}
|
|
190
242
|
`,primaryWeb:`
|
|
191
243
|
background:
|
|
192
244
|
linear-gradient(var(--animate-position), var(--color-1), var(--color-2));
|
|
@@ -199,6 +251,21 @@ Check the top-level render call using <`+x+">.")}return v}}function ke(f,v){{if(
|
|
|
199
251
|
--color-1: ${e.palette.primary[700]};
|
|
200
252
|
--color-2: ${e.palette.primary[700]};
|
|
201
253
|
}
|
|
254
|
+
`,secondary:`
|
|
255
|
+
background: ${e.palette.gray[800]};
|
|
256
|
+
border: none;
|
|
257
|
+
color: ${e.palette.white};
|
|
258
|
+
--btn-spacing: ${e.spacing[.25]};
|
|
259
|
+
|
|
260
|
+
&:disabled {
|
|
261
|
+
background: ${e.palette.gray[200]};
|
|
262
|
+
color: ${e.palette.gray[400]};
|
|
263
|
+
cursor: not-allowed;
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
&:hover:not([disabled]) {
|
|
267
|
+
background-color: ${e.palette.gray[600]};
|
|
268
|
+
}
|
|
202
269
|
`,secondaryWeb:`
|
|
203
270
|
&.dark {
|
|
204
271
|
background: transparent;
|
|
@@ -220,7 +287,24 @@ Check the top-level render call using <`+x+">.")}return v}}function ke(f,v){{if(
|
|
|
220
287
|
color: ${e.palette.white};
|
|
221
288
|
}
|
|
222
289
|
}
|
|
223
|
-
|
|
290
|
+
`,tertiary:`
|
|
291
|
+
background: transparent;
|
|
292
|
+
border: 1px solid ${e.palette.primary[500]};
|
|
293
|
+
color: ${e.palette.primary[500]};
|
|
294
|
+
--btn-spacing: ${e.spacing[.25]};
|
|
295
|
+
|
|
296
|
+
&:disabled {
|
|
297
|
+
background: transparent;
|
|
298
|
+
border: 1px solid ${e.palette.gray[200]};
|
|
299
|
+
color: ${e.palette.gray[300]};
|
|
300
|
+
cursor: not-allowed;
|
|
301
|
+
}
|
|
302
|
+
|
|
303
|
+
&:hover:not([disabled]) {
|
|
304
|
+
background-color: ${e.palette.primary[500]};
|
|
305
|
+
color: ${e.palette.white};
|
|
306
|
+
}
|
|
307
|
+
`})),Du=At.div.attrs({className:"max-w-min max-h-min -z-1"})`
|
|
224
308
|
${({theme:e,$variant:t})=>`
|
|
225
309
|
&.dark {
|
|
226
310
|
background: none;
|
|
@@ -238,38 +322,33 @@ Check the top-level render call using <`+x+">.")}return v}}function ke(f,v){{if(
|
|
|
238
322
|
}
|
|
239
323
|
}
|
|
240
324
|
`}
|
|
241
|
-
`,
|
|
242
|
-
${({theme:e,$
|
|
243
|
-
--btn-padding: ${
|
|
325
|
+
`,Nu=At(ka)`
|
|
326
|
+
${({theme:e,$bold:t,$resolution:r,$variant:n})=>`
|
|
327
|
+
--btn-padding: ${r==="desktop"||r==="platform"?`${e.spacing[.625]} ${e.spacing[1]}`:e.spacing[1]};
|
|
244
328
|
|
|
245
329
|
align-items: center;
|
|
246
|
-
border-radius:
|
|
330
|
+
border-radius: var(--btn-spacing);
|
|
247
331
|
cursor: pointer;
|
|
248
332
|
display: inline-flex;
|
|
249
333
|
font-family: ${e.typography.type.primary};
|
|
250
|
-
font-size: ${
|
|
251
|
-
font-weight: ${e.typography.weight.regular};
|
|
252
|
-
gap:
|
|
334
|
+
font-size: ${r==="desktop"?e.typography.text.md:e.typography.text.sm};
|
|
335
|
+
font-weight: ${t?e.typography.weight.bold:e.typography.weight.regular};
|
|
336
|
+
gap: var(--btn-spacing);
|
|
253
337
|
justify-content: center;
|
|
254
|
-
line-height: ${e.spacing[1.5]};
|
|
338
|
+
line-height: ${r==="platform"?e.spacing[1.25]:e.spacing[1.5]};
|
|
255
339
|
padding: var(--btn-padding);
|
|
256
340
|
position: relative;
|
|
257
341
|
text-align: start;
|
|
258
|
-
text-decoration: unset;
|
|
259
342
|
transition: all 0.5s ease;
|
|
260
343
|
white-space: nowrap;
|
|
261
344
|
|
|
262
|
-
|
|
263
|
-
cursor: not-allowed;
|
|
264
|
-
}
|
|
265
|
-
|
|
266
|
-
${Ll(e,r??"primaryWeb")}
|
|
345
|
+
${Lu(e,n??"primaryWeb")}
|
|
267
346
|
`}
|
|
268
|
-
`,
|
|
347
|
+
`,Fu=["primary","secondary","tertiary","ghost"],Vu=e=>Fu.includes(e??""),Bu={xl:"96px",lg:"64px",md:"32px",sm:"24px",xs:"16px",xxs:"12px"},zu=At(Pa)`
|
|
269
348
|
${({$clickable:e,$color:t="inherit",$disabled:r=!1,$hoverColor:n,$rotation:o,$size:i})=>`
|
|
270
349
|
color: ${t};
|
|
271
350
|
cursor: ${e?"cursor":"inherit"};
|
|
272
|
-
font-size: ${
|
|
351
|
+
font-size: ${Bu[i]};
|
|
273
352
|
line-height: 0;
|
|
274
353
|
vertical-align: middle;
|
|
275
354
|
pointer-events: inherit;
|
|
@@ -292,17 +371,17 @@ Check the top-level render call using <`+x+">.")}return v}}function ke(f,v){{if(
|
|
|
292
371
|
&:hover:not([disabled]) {
|
|
293
372
|
transform: scale(1.2);
|
|
294
373
|
}
|
|
295
|
-
`;const Mn=E.forwardRef(function({clickable:t,disabled:r,hoverColor:n,icon:o,iconClass:i="",iconColor:s,iconSize:u,iconType:l="fa-solid",onClick:d,rotation:h,...y},S){return De.jsx(Vl,{$clickable:t,$color:s,$disabled:r,$hoverColor:n,$rotation:h,$size:u,"data-testid":`${o}-icon`,onClick:d,ref:S,...y,children:De.jsx("i",{className:`${l} fa-${o} ${i}`})},`${l}-${o}`)}),Rr=Math.min,pr=Math.max,Ln=Math.round,$n=Math.floor,nr=e=>({x:e,y:e}),Bl={left:"right",right:"left",bottom:"top",top:"bottom"},zl={start:"end",end:"start"};function Uo(e,t,r){return pr(e,Rr(t,r))}function on(e,t){return typeof e=="function"?e(t):e}function mr(e){return e.split("-")[0]}function sn(e){return e.split("-")[1]}function ja(e){return e==="x"?"y":"x"}function vi(e){return e==="y"?"height":"width"}function kr(e){return["top","bottom"].includes(mr(e))?"y":"x"}function bi(e){return ja(kr(e))}function Ul(e,t,r){r===void 0&&(r=!1);const n=sn(e),o=bi(e),i=vi(o);let s=o==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(s=Dn(s)),[s,Dn(s)]}function Wl(e){const t=Dn(e);return[Wo(e),t,Wo(t)]}function Wo(e){return e.replace(/start|end/g,t=>zl[t])}function ql(e,t,r){const n=["left","right"],o=["right","left"],i=["top","bottom"],s=["bottom","top"];switch(e){case"top":case"bottom":return r?t?o:n:t?n:o;case"left":case"right":return t?i:s;default:return[]}}function Gl(e,t,r,n){const o=sn(e);let i=ql(mr(e),r==="start",n);return o&&(i=i.map(s=>s+"-"+o),t&&(i=i.concat(i.map(Wo)))),i}function Dn(e){return e.replace(/left|right|bottom|top/g,t=>Bl[t])}function Hl(e){return{top:0,right:0,bottom:0,left:0,...e}}function Ia(e){return typeof e!="number"?Hl(e):{top:e,right:e,bottom:e,left:e}}function Nn(e){const{x:t,y:r,width:n,height:o}=e;return{width:n,height:o,top:r,left:t,right:t+n,bottom:r+o,x:t,y:r}}function vs(e,t,r){let{reference:n,floating:o}=e;const i=kr(t),s=bi(t),u=vi(s),l=mr(t),d=i==="y",h=n.x+n.width/2-o.width/2,y=n.y+n.height/2-o.height/2,S=n[u]/2-o[u]/2;let b;switch(l){case"top":b={x:h,y:n.y-o.height};break;case"bottom":b={x:h,y:n.y+n.height};break;case"right":b={x:n.x+n.width,y};break;case"left":b={x:n.x-o.width,y};break;default:b={x:n.x,y:n.y}}switch(sn(t)){case"start":b[s]-=S*(r&&d?-1:1);break;case"end":b[s]+=S*(r&&d?-1:1);break}return b}const Yl=async(e,t,r)=>{const{placement:n="bottom",strategy:o="absolute",middleware:i=[],platform:s}=r,u=i.filter(Boolean),l=await(s.isRTL==null?void 0:s.isRTL(t));let d=await s.getElementRects({reference:e,floating:t,strategy:o}),{x:h,y}=vs(d,n,l),S=n,b={},$=0;for(let O=0;O<u.length;O++){const{name:k,fn:T}=u[O],{x:A,y:R,data:I,reset:M}=await T({x:h,y,initialPlacement:n,placement:S,strategy:o,middlewareData:b,rects:d,platform:s,elements:{reference:e,floating:t}});h=A??h,y=R??y,b={...b,[k]:{...b[k],...I}},M&&$<=50&&($++,typeof M=="object"&&(M.placement&&(S=M.placement),M.rects&&(d=M.rects===!0?await s.getElementRects({reference:e,floating:t,strategy:o}):M.rects),{x:h,y}=vs(d,S,l)),O=-1)}return{x:h,y,placement:S,strategy:o,middlewareData:b}};async function Ma(e,t){var r;t===void 0&&(t={});const{x:n,y:o,platform:i,rects:s,elements:u,strategy:l}=e,{boundary:d="clippingAncestors",rootBoundary:h="viewport",elementContext:y="floating",altBoundary:S=!1,padding:b=0}=on(t,e),$=Ia(b),k=u[S?y==="floating"?"reference":"floating":y],T=Nn(await i.getClippingRect({element:(r=await(i.isElement==null?void 0:i.isElement(k)))==null||r?k:k.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(u.floating)),boundary:d,rootBoundary:h,strategy:l})),A=y==="floating"?{x:n,y:o,width:s.floating.width,height:s.floating.height}:s.reference,R=await(i.getOffsetParent==null?void 0:i.getOffsetParent(u.floating)),I=await(i.isElement==null?void 0:i.isElement(R))?await(i.getScale==null?void 0:i.getScale(R))||{x:1,y:1}:{x:1,y:1},M=Nn(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:u,rect:A,offsetParent:R,strategy:l}):A);return{top:(T.top-M.top+$.top)/I.y,bottom:(M.bottom-T.bottom+$.bottom)/I.y,left:(T.left-M.left+$.left)/I.x,right:(M.right-T.right+$.right)/I.x}}const Ql=e=>({name:"arrow",options:e,async fn(t){const{x:r,y:n,placement:o,rects:i,platform:s,elements:u,middlewareData:l}=t,{element:d,padding:h=0}=on(e,t)||{};if(d==null)return{};const y=Ia(h),S={x:r,y:n},b=bi(o),$=vi(b),O=await s.getDimensions(d),k=b==="y",T=k?"top":"left",A=k?"bottom":"right",R=k?"clientHeight":"clientWidth",I=i.reference[$]+i.reference[b]-S[b]-i.floating[$],M=S[b]-i.reference[b],D=await(s.getOffsetParent==null?void 0:s.getOffsetParent(d));let P=D?D[R]:0;(!P||!await(s.isElement==null?void 0:s.isElement(D)))&&(P=u.floating[R]||i.floating[$]);const me=I/2-M/2,ye=P/2-O[$]/2-1,fe=Rr(y[T],ye),Ne=Rr(y[A],ye),Ie=fe,ve=P-O[$]-Ne,Q=P/2-O[$]/2+me,Se=Uo(Ie,Q,ve),oe=!l.arrow&&sn(o)!=null&&Q!==Se&&i.reference[$]/2-(Q<Ie?fe:Ne)-O[$]/2<0,ie=oe?Q<Ie?Q-Ie:Q-ve:0;return{[b]:S[b]+ie,data:{[b]:Se,centerOffset:Q-Se-ie,...oe&&{alignmentOffset:ie}},reset:oe}}}),Jl=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var r,n;const{placement:o,middlewareData:i,rects:s,initialPlacement:u,platform:l,elements:d}=t,{mainAxis:h=!0,crossAxis:y=!0,fallbackPlacements:S,fallbackStrategy:b="bestFit",fallbackAxisSideDirection:$="none",flipAlignment:O=!0,...k}=on(e,t);if((r=i.arrow)!=null&&r.alignmentOffset)return{};const T=mr(o),A=kr(u),R=mr(u)===u,I=await(l.isRTL==null?void 0:l.isRTL(d.floating)),M=S||(R||!O?[Dn(u)]:Wl(u)),D=$!=="none";!S&&D&&M.push(...Gl(u,O,$,I));const P=[u,...M],me=await Ma(t,k),ye=[];let fe=((n=i.flip)==null?void 0:n.overflows)||[];if(h&&ye.push(me[T]),y){const Q=Ul(o,s,I);ye.push(me[Q[0]],me[Q[1]])}if(fe=[...fe,{placement:o,overflows:ye}],!ye.every(Q=>Q<=0)){var Ne,Ie;const Q=(((Ne=i.flip)==null?void 0:Ne.index)||0)+1,Se=P[Q];if(Se)return{data:{index:Q,overflows:fe},reset:{placement:Se}};let oe=(Ie=fe.filter(ie=>ie.overflows[0]<=0).sort((ie,se)=>ie.overflows[1]-se.overflows[1])[0])==null?void 0:Ie.placement;if(!oe)switch(b){case"bestFit":{var ve;const ie=(ve=fe.filter(se=>{if(D){const te=kr(se.placement);return te===A||te==="y"}return!0}).map(se=>[se.placement,se.overflows.filter(te=>te>0).reduce((te,q)=>te+q,0)]).sort((se,te)=>se[1]-te[1])[0])==null?void 0:ve[0];ie&&(oe=ie);break}case"initialPlacement":oe=u;break}if(o!==oe)return{reset:{placement:oe}}}return{}}}};async function Kl(e,t){const{placement:r,platform:n,elements:o}=e,i=await(n.isRTL==null?void 0:n.isRTL(o.floating)),s=mr(r),u=sn(r),l=kr(r)==="y",d=["left","top"].includes(s)?-1:1,h=i&&l?-1:1,y=on(t,e);let{mainAxis:S,crossAxis:b,alignmentAxis:$}=typeof y=="number"?{mainAxis:y,crossAxis:0,alignmentAxis:null}:{mainAxis:y.mainAxis||0,crossAxis:y.crossAxis||0,alignmentAxis:y.alignmentAxis};return u&&typeof $=="number"&&(b=u==="end"?$*-1:$),l?{x:b*h,y:S*d}:{x:S*d,y:b*h}}const Xl=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var r,n;const{x:o,y:i,placement:s,middlewareData:u}=t,l=await Kl(t,e);return s===((r=u.offset)==null?void 0:r.placement)&&(n=u.arrow)!=null&&n.alignmentOffset?{}:{x:o+l.x,y:i+l.y,data:{...l,placement:s}}}}},Zl=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:r,y:n,placement:o}=t,{mainAxis:i=!0,crossAxis:s=!1,limiter:u={fn:k=>{let{x:T,y:A}=k;return{x:T,y:A}}},...l}=on(e,t),d={x:r,y:n},h=await Ma(t,l),y=kr(mr(o)),S=ja(y);let b=d[S],$=d[y];if(i){const k=S==="y"?"top":"left",T=S==="y"?"bottom":"right",A=b+h[k],R=b-h[T];b=Uo(A,b,R)}if(s){const k=y==="y"?"top":"left",T=y==="y"?"bottom":"right",A=$+h[k],R=$-h[T];$=Uo(A,$,R)}const O=u.fn({...t,[S]:b,[y]:$});return{...O,data:{x:O.x-r,y:O.y-n,enabled:{[S]:i,[y]:s}}}}}};function Xn(){return typeof window<"u"}function Ir(e){return La(e)?(e.nodeName||"").toLowerCase():"#document"}function Ct(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Gt(e){var t;return(t=(La(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function La(e){return Xn()?e instanceof Node||e instanceof Ct(e).Node:!1}function Vt(e){return Xn()?e instanceof Element||e instanceof Ct(e).Element:!1}function qt(e){return Xn()?e instanceof HTMLElement||e instanceof Ct(e).HTMLElement:!1}function bs(e){return!Xn()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof Ct(e).ShadowRoot}function an(e){const{overflow:t,overflowX:r,overflowY:n,display:o}=Bt(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+r)&&!["inline","contents"].includes(o)}function ef(e){return["table","td","th"].includes(Ir(e))}function Zn(e){return[":popover-open",":modal"].some(t=>{try{return e.matches(t)}catch{return!1}})}function wi(e){const t=_i(),r=Vt(e)?Bt(e):e;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))}function tf(e){let t=or(e);for(;qt(t)&&!Pr(t);){if(wi(t))return t;if(Zn(t))return null;t=or(t)}return null}function _i(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Pr(e){return["html","body","#document"].includes(Ir(e))}function Bt(e){return Ct(e).getComputedStyle(e)}function eo(e){return Vt(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function or(e){if(Ir(e)==="html")return e;const t=e.assignedSlot||e.parentNode||bs(e)&&e.host||Gt(e);return bs(t)?t.host:t}function Da(e){const t=or(e);return Pr(t)?e.ownerDocument?e.ownerDocument.body:e.body:qt(t)&&an(t)?t:Da(t)}function Gr(e,t,r){var n;t===void 0&&(t=[]),r===void 0&&(r=!0);const o=Da(e),i=o===((n=e.ownerDocument)==null?void 0:n.body),s=Ct(o);if(i){const u=qo(s);return t.concat(s,s.visualViewport||[],an(o)?o:[],u&&r?Gr(u):[])}return t.concat(o,Gr(o,[],r))}function qo(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Na(e){const t=Bt(e);let r=parseFloat(t.width)||0,n=parseFloat(t.height)||0;const o=qt(e),i=o?e.offsetWidth:r,s=o?e.offsetHeight:n,u=Ln(r)!==i||Ln(n)!==s;return u&&(r=i,n=s),{width:r,height:n,$:u}}function Si(e){return Vt(e)?e:e.contextElement}function Er(e){const t=Si(e);if(!qt(t))return nr(1);const r=t.getBoundingClientRect(),{width:n,height:o,$:i}=Na(t);let s=(i?Ln(r.width):r.width)/n,u=(i?Ln(r.height):r.height)/o;return(!s||!Number.isFinite(s))&&(s=1),(!u||!Number.isFinite(u))&&(u=1),{x:s,y:u}}const rf=nr(0);function Fa(e){const t=Ct(e);return!_i()||!t.visualViewport?rf:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function nf(e,t,r){return t===void 0&&(t=!1),!r||t&&r!==Ct(e)?!1:t}function yr(e,t,r,n){t===void 0&&(t=!1),r===void 0&&(r=!1);const o=e.getBoundingClientRect(),i=Si(e);let s=nr(1);t&&(n?Vt(n)&&(s=Er(n)):s=Er(e));const u=nf(i,r,n)?Fa(i):nr(0);let l=(o.left+u.x)/s.x,d=(o.top+u.y)/s.y,h=o.width/s.x,y=o.height/s.y;if(i){const S=Ct(i),b=n&&Vt(n)?Ct(n):n;let $=S,O=qo($);for(;O&&n&&b!==$;){const k=Er(O),T=O.getBoundingClientRect(),A=Bt(O),R=T.left+(O.clientLeft+parseFloat(A.paddingLeft))*k.x,I=T.top+(O.clientTop+parseFloat(A.paddingTop))*k.y;l*=k.x,d*=k.y,h*=k.x,y*=k.y,l+=R,d+=I,$=Ct(O),O=qo($)}}return Nn({width:h,height:y,x:l,y:d})}function of(e){let{elements:t,rect:r,offsetParent:n,strategy:o}=e;const i=o==="fixed",s=Gt(n),u=t?Zn(t.floating):!1;if(n===s||u&&i)return r;let l={scrollLeft:0,scrollTop:0},d=nr(1);const h=nr(0),y=qt(n);if((y||!y&&!i)&&((Ir(n)!=="body"||an(s))&&(l=eo(n)),qt(n))){const S=yr(n);d=Er(n),h.x=S.x+n.clientLeft,h.y=S.y+n.clientTop}return{width:r.width*d.x,height:r.height*d.y,x:r.x*d.x-l.scrollLeft*d.x+h.x,y:r.y*d.y-l.scrollTop*d.y+h.y}}function sf(e){return Array.from(e.getClientRects())}function Go(e,t){const r=eo(e).scrollLeft;return t?t.left+r:yr(Gt(e)).left+r}function af(e){const t=Gt(e),r=eo(e),n=e.ownerDocument.body,o=pr(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),i=pr(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight);let s=-r.scrollLeft+Go(e);const u=-r.scrollTop;return Bt(n).direction==="rtl"&&(s+=pr(t.clientWidth,n.clientWidth)-o),{width:o,height:i,x:s,y:u}}function cf(e,t){const r=Ct(e),n=Gt(e),o=r.visualViewport;let i=n.clientWidth,s=n.clientHeight,u=0,l=0;if(o){i=o.width,s=o.height;const d=_i();(!d||d&&t==="fixed")&&(u=o.offsetLeft,l=o.offsetTop)}return{width:i,height:s,x:u,y:l}}function uf(e,t){const r=yr(e,!0,t==="fixed"),n=r.top+e.clientTop,o=r.left+e.clientLeft,i=qt(e)?Er(e):nr(1),s=e.clientWidth*i.x,u=e.clientHeight*i.y,l=o*i.x,d=n*i.y;return{width:s,height:u,x:l,y:d}}function ws(e,t,r){let n;if(t==="viewport")n=cf(e,r);else if(t==="document")n=af(Gt(e));else if(Vt(t))n=uf(t,r);else{const o=Fa(e);n={...t,x:t.x-o.x,y:t.y-o.y}}return Nn(n)}function Va(e,t){const r=or(e);return r===t||!Vt(r)||Pr(r)?!1:Bt(r).position==="fixed"||Va(r,t)}function lf(e,t){const r=t.get(e);if(r)return r;let n=Gr(e,[],!1).filter(u=>Vt(u)&&Ir(u)!=="body"),o=null;const i=Bt(e).position==="fixed";let s=i?or(e):e;for(;Vt(s)&&!Pr(s);){const u=Bt(s),l=wi(s);!l&&u.position==="fixed"&&(o=null),(i?!l&&!o:!l&&u.position==="static"&&!!o&&["absolute","fixed"].includes(o.position)||an(s)&&!l&&Va(e,s))?n=n.filter(h=>h!==s):o=u,s=or(s)}return t.set(e,n),n}function ff(e){let{element:t,boundary:r,rootBoundary:n,strategy:o}=e;const s=[...r==="clippingAncestors"?Zn(t)?[]:lf(t,this._c):[].concat(r),n],u=s[0],l=s.reduce((d,h)=>{const y=ws(t,h,o);return d.top=pr(y.top,d.top),d.right=Rr(y.right,d.right),d.bottom=Rr(y.bottom,d.bottom),d.left=pr(y.left,d.left),d},ws(t,u,o));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}function df(e){const{width:t,height:r}=Na(e);return{width:t,height:r}}function pf(e,t,r){const n=qt(t),o=Gt(t),i=r==="fixed",s=yr(e,!0,i,t);let u={scrollLeft:0,scrollTop:0};const l=nr(0);if(n||!n&&!i)if((Ir(t)!=="body"||an(o))&&(u=eo(t)),n){const b=yr(t,!0,i,t);l.x=b.x+t.clientLeft,l.y=b.y+t.clientTop}else o&&(l.x=Go(o));let d=0,h=0;if(o&&!n&&!i){const b=o.getBoundingClientRect();h=b.top+u.scrollTop,d=b.left+u.scrollLeft-Go(o,b)}const y=s.left+u.scrollLeft-l.x-d,S=s.top+u.scrollTop-l.y-h;return{x:y,y:S,width:s.width,height:s.height}}function Oo(e){return Bt(e).position==="static"}function _s(e,t){if(!qt(e)||Bt(e).position==="fixed")return null;if(t)return t(e);let r=e.offsetParent;return Gt(e)===r&&(r=r.ownerDocument.body),r}function Ba(e,t){const r=Ct(e);if(Zn(e))return r;if(!qt(e)){let o=or(e);for(;o&&!Pr(o);){if(Vt(o)&&!Oo(o))return o;o=or(o)}return r}let n=_s(e,t);for(;n&&ef(n)&&Oo(n);)n=_s(n,t);return n&&Pr(n)&&Oo(n)&&!wi(n)?r:n||tf(e)||r}const hf=async function(e){const t=this.getOffsetParent||Ba,r=this.getDimensions,n=await r(e.floating);return{reference:pf(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}};function gf(e){return Bt(e).direction==="rtl"}const mf={convertOffsetParentRelativeRectToViewportRelativeRect:of,getDocumentElement:Gt,getClippingRect:ff,getOffsetParent:Ba,getElementRects:hf,getClientRects:sf,getDimensions:df,getScale:Er,isElement:Vt,isRTL:gf};function yf(e,t){let r=null,n;const o=Gt(e);function i(){var u;clearTimeout(n),(u=r)==null||u.disconnect(),r=null}function s(u,l){u===void 0&&(u=!1),l===void 0&&(l=1),i();const{left:d,top:h,width:y,height:S}=e.getBoundingClientRect();if(u||t(),!y||!S)return;const b=$n(h),$=$n(o.clientWidth-(d+y)),O=$n(o.clientHeight-(h+S)),k=$n(d),A={rootMargin:-b+"px "+-$+"px "+-O+"px "+-k+"px",threshold:pr(0,Rr(1,l))||1};let R=!0;function I(M){const D=M[0].intersectionRatio;if(D!==l){if(!R)return s();D?s(!1,D):n=setTimeout(()=>{s(!1,1e-7)},1e3)}R=!1}try{r=new IntersectionObserver(I,{...A,root:o.ownerDocument})}catch{r=new IntersectionObserver(I,A)}r.observe(e)}return s(!0),i}function vf(e,t,r,n){n===void 0&&(n={});const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:s=typeof ResizeObserver=="function",layoutShift:u=typeof IntersectionObserver=="function",animationFrame:l=!1}=n,d=Si(e),h=o||i?[...d?Gr(d):[],...Gr(t)]:[];h.forEach(T=>{o&&T.addEventListener("scroll",r,{passive:!0}),i&&T.addEventListener("resize",r)});const y=d&&u?yf(d,r):null;let S=-1,b=null;s&&(b=new ResizeObserver(T=>{let[A]=T;A&&A.target===d&&b&&(b.unobserve(t),cancelAnimationFrame(S),S=requestAnimationFrame(()=>{var R;(R=b)==null||R.observe(t)})),r()}),d&&!l&&b.observe(d),b.observe(t));let $,O=l?yr(e):null;l&&k();function k(){const T=yr(e);O&&(T.x!==O.x||T.y!==O.y||T.width!==O.width||T.height!==O.height)&&r(),O=T,$=requestAnimationFrame(k)}return r(),()=>{var T;h.forEach(A=>{o&&A.removeEventListener("scroll",r),i&&A.removeEventListener("resize",r)}),y==null||y(),(T=b)==null||T.disconnect(),b=null,l&&cancelAnimationFrame($)}}const za=Xl,bf=Zl,Ua=Jl,wf=Ql,Ss=(e,t,r)=>{const n=new Map,o={platform:mf,...r},i={...o.platform,_c:n};return Yl(e,t,{...o,platform:i})},_f=(e,t)=>({...za(e),options:[e,t]}),Sf=(e,t)=>({...Ua(e),options:[e,t]});var xf=Object.prototype;function Ef(e){var t=e&&e.constructor,r=typeof t=="function"&&t.prototype||xf;return e===r}var Wa=Ef;function $f(e,t){return function(r){return e(t(r))}}var Tf=$f,Af=Tf,Of=Af(Object.keys,Object),Cf=Of,Rf=Wa,kf=Cf,Pf=Object.prototype,jf=Pf.hasOwnProperty;function If(e){if(!Rf(e))return kf(e);var t=[];for(var r in Object(e))jf.call(e,r)&&r!="constructor"&&t.push(r);return t}var Mf=If,Lf=typeof wn=="object"&&wn&&wn.Object===Object&&wn,qa=Lf,Df=qa,Nf=typeof self=="object"&&self&&self.Object===Object&&self,Ff=Df||Nf||Function("return this")(),ir=Ff,Vf=ir,Bf=Vf.Symbol,Ga=Bf,xs=Ga,Ha=Object.prototype,zf=Ha.hasOwnProperty,Uf=Ha.toString,Ur=xs?xs.toStringTag:void 0;function Wf(e){var t=zf.call(e,Ur),r=e[Ur];try{e[Ur]=void 0;var n=!0}catch{}var o=Uf.call(e);return n&&(t?e[Ur]=r:delete e[Ur]),o}var qf=Wf,Gf=Object.prototype,Hf=Gf.toString;function Yf(e){return Hf.call(e)}var Qf=Yf,Es=Ga,Jf=qf,Kf=Qf,Xf="[object Null]",Zf="[object Undefined]",$s=Es?Es.toStringTag:void 0;function ed(e){return e==null?e===void 0?Zf:Xf:$s&&$s in Object(e)?Jf(e):Kf(e)}var to=ed;function td(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var Ya=td,rd=to,nd=Ya,od="[object AsyncFunction]",id="[object Function]",sd="[object GeneratorFunction]",ad="[object Proxy]";function cd(e){if(!nd(e))return!1;var t=rd(e);return t==id||t==sd||t==od||t==ad}var Qa=cd,ud=ir,ld=ud["__core-js_shared__"],fd=ld,Co=fd,Ts=function(){var e=/[^.]+$/.exec(Co&&Co.keys&&Co.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function dd(e){return!!Ts&&Ts in e}var pd=dd,hd=Function.prototype,gd=hd.toString;function md(e){if(e!=null){try{return gd.call(e)}catch{}try{return e+""}catch{}}return""}var Ja=md,yd=Qa,vd=pd,bd=Ya,wd=Ja,_d=/[\\^$.*+?()[\]{}|]/g,Sd=/^\[object .+?Constructor\]$/,xd=Function.prototype,Ed=Object.prototype,$d=xd.toString,Td=Ed.hasOwnProperty,Ad=RegExp("^"+$d.call(Td).replace(_d,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function Od(e){if(!bd(e)||vd(e))return!1;var t=yd(e)?Ad:Sd;return t.test(wd(e))}var Cd=Od;function Rd(e,t){return e==null?void 0:e[t]}var kd=Rd,Pd=Cd,jd=kd;function Id(e,t){var r=jd(e,t);return Pd(r)?r:void 0}var cn=Id,Md=cn,Ld=ir,Dd=Md(Ld,"DataView"),Nd=Dd,Fd=cn,Vd=ir,Bd=Fd(Vd,"Map"),zd=Bd,Ud=cn,Wd=ir,qd=Ud(Wd,"Promise"),Gd=qd,Hd=cn,Yd=ir,Qd=Hd(Yd,"Set"),Jd=Qd,Kd=cn,Xd=ir,Zd=Kd(Xd,"WeakMap"),ep=Zd,Ho=Nd,Yo=zd,Qo=Gd,Jo=Jd,Ko=ep,Ka=to,Mr=Ja,As="[object Map]",tp="[object Object]",Os="[object Promise]",Cs="[object Set]",Rs="[object WeakMap]",ks="[object DataView]",rp=Mr(Ho),np=Mr(Yo),op=Mr(Qo),ip=Mr(Jo),sp=Mr(Ko),cr=Ka;(Ho&&cr(new Ho(new ArrayBuffer(1)))!=ks||Yo&&cr(new Yo)!=As||Qo&&cr(Qo.resolve())!=Os||Jo&&cr(new Jo)!=Cs||Ko&&cr(new Ko)!=Rs)&&(cr=function(e){var t=Ka(e),r=t==tp?e.constructor:void 0,n=r?Mr(r):"";if(n)switch(n){case rp:return ks;case np:return As;case op:return Os;case ip:return Cs;case sp:return Rs}return t});var ap=cr;function cp(e){return e!=null&&typeof e=="object"}var xi=cp,up=to,lp=xi,fp="[object Arguments]";function dp(e){return lp(e)&&up(e)==fp}var pp=dp,Ps=pp,hp=xi,Xa=Object.prototype,gp=Xa.hasOwnProperty,mp=Xa.propertyIsEnumerable,yp=Ps(function(){return arguments}())?Ps:function(e){return hp(e)&&gp.call(e,"callee")&&!mp.call(e,"callee")},vp=yp,bp=Array.isArray,wp=bp,_p=9007199254740991;function Sp(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=_p}var Za=Sp,xp=Qa,Ep=Za;function $p(e){return e!=null&&Ep(e.length)&&!xp(e)}var Tp=$p,Fn={exports:{}};function Ap(){return!1}var Op=Ap;Fn.exports;(function(e,t){var r=ir,n=Op,o=t&&!t.nodeType&&t,i=o&&!0&&e&&!e.nodeType&&e,s=i&&i.exports===o,u=s?r.Buffer:void 0,l=u?u.isBuffer:void 0,d=l||n;e.exports=d})(Fn,Fn.exports);var Cp=Fn.exports,Rp=to,kp=Za,Pp=xi,jp="[object Arguments]",Ip="[object Array]",Mp="[object Boolean]",Lp="[object Date]",Dp="[object Error]",Np="[object Function]",Fp="[object Map]",Vp="[object Number]",Bp="[object Object]",zp="[object RegExp]",Up="[object Set]",Wp="[object String]",qp="[object WeakMap]",Gp="[object ArrayBuffer]",Hp="[object DataView]",Yp="[object Float32Array]",Qp="[object Float64Array]",Jp="[object Int8Array]",Kp="[object Int16Array]",Xp="[object Int32Array]",Zp="[object Uint8Array]",eh="[object Uint8ClampedArray]",th="[object Uint16Array]",rh="[object Uint32Array]",Ce={};Ce[Yp]=Ce[Qp]=Ce[Jp]=Ce[Kp]=Ce[Xp]=Ce[Zp]=Ce[eh]=Ce[th]=Ce[rh]=!0;Ce[jp]=Ce[Ip]=Ce[Gp]=Ce[Mp]=Ce[Hp]=Ce[Lp]=Ce[Dp]=Ce[Np]=Ce[Fp]=Ce[Vp]=Ce[Bp]=Ce[zp]=Ce[Up]=Ce[Wp]=Ce[qp]=!1;function nh(e){return Pp(e)&&kp(e.length)&&!!Ce[Rp(e)]}var oh=nh;function ih(e){return function(t){return e(t)}}var sh=ih,Vn={exports:{}};Vn.exports;(function(e,t){var r=qa,n=t&&!t.nodeType&&t,o=n&&!0&&e&&!e.nodeType&&e,i=o&&o.exports===n,s=i&&r.process,u=function(){try{var l=o&&o.require&&o.require("util").types;return l||s&&s.binding&&s.binding("util")}catch{}}();e.exports=u})(Vn,Vn.exports);var ah=Vn.exports,ch=oh,uh=sh,js=ah,Is=js&&js.isTypedArray,lh=Is?uh(Is):ch,fh=lh,dh=Mf,ph=ap,hh=vp,gh=wp,mh=Tp,yh=Cp,vh=Wa,bh=fh,wh="[object Map]",_h="[object Set]",Sh=Object.prototype,xh=Sh.hasOwnProperty;function Eh(e){if(e==null)return!0;if(mh(e)&&(gh(e)||typeof e=="string"||typeof e.splice=="function"||yh(e)||bh(e)||hh(e)))return!e.length;var t=ph(e);if(t==wh||t==_h)return!e.size;if(vh(e))return!dh(e).length;for(var r in e)if(xh.call(e,r))return!1;return!0}var $h=Eh;const Ro=aa($h);var ec={exports:{}};/*!
|
|
374
|
+
`;const Mn=E.forwardRef(function({clickable:t,disabled:r,hoverColor:n,icon:o,iconClass:i="",iconColor:s,iconSize:l,iconType:u="fa-solid",onClick:d,rotation:h,...y},S){return De.jsx(zu,{$clickable:t,$color:s,$disabled:r,$hoverColor:n,$rotation:h,$size:l,"data-testid":`${o}-icon`,onClick:d,ref:S,...y,children:De.jsx("i",{className:`${u} fa-${o} ${i}`})},`${u}-${o}`)}),Rr=Math.min,pr=Math.max,Ln=Math.round,$n=Math.floor,nr=e=>({x:e,y:e}),Uu={left:"right",right:"left",bottom:"top",top:"bottom"},Wu={start:"end",end:"start"};function Uo(e,t,r){return pr(e,Rr(t,r))}function on(e,t){return typeof e=="function"?e(t):e}function mr(e){return e.split("-")[0]}function sn(e){return e.split("-")[1]}function ja(e){return e==="x"?"y":"x"}function vi(e){return e==="y"?"height":"width"}function kr(e){return["top","bottom"].includes(mr(e))?"y":"x"}function bi(e){return ja(kr(e))}function qu(e,t,r){r===void 0&&(r=!1);const n=sn(e),o=bi(e),i=vi(o);let s=o==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(s=Dn(s)),[s,Dn(s)]}function Gu(e){const t=Dn(e);return[Wo(e),t,Wo(t)]}function Wo(e){return e.replace(/start|end/g,t=>Wu[t])}function Hu(e,t,r){const n=["left","right"],o=["right","left"],i=["top","bottom"],s=["bottom","top"];switch(e){case"top":case"bottom":return r?t?o:n:t?n:o;case"left":case"right":return t?i:s;default:return[]}}function Yu(e,t,r,n){const o=sn(e);let i=Hu(mr(e),r==="start",n);return o&&(i=i.map(s=>s+"-"+o),t&&(i=i.concat(i.map(Wo)))),i}function Dn(e){return e.replace(/left|right|bottom|top/g,t=>Uu[t])}function Qu(e){return{top:0,right:0,bottom:0,left:0,...e}}function Ia(e){return typeof e!="number"?Qu(e):{top:e,right:e,bottom:e,left:e}}function Nn(e){const{x:t,y:r,width:n,height:o}=e;return{width:n,height:o,top:r,left:t,right:t+n,bottom:r+o,x:t,y:r}}function vs(e,t,r){let{reference:n,floating:o}=e;const i=kr(t),s=bi(t),l=vi(s),u=mr(t),d=i==="y",h=n.x+n.width/2-o.width/2,y=n.y+n.height/2-o.height/2,S=n[l]/2-o[l]/2;let b;switch(u){case"top":b={x:h,y:n.y-o.height};break;case"bottom":b={x:h,y:n.y+n.height};break;case"right":b={x:n.x+n.width,y};break;case"left":b={x:n.x-o.width,y};break;default:b={x:n.x,y:n.y}}switch(sn(t)){case"start":b[s]-=S*(r&&d?-1:1);break;case"end":b[s]+=S*(r&&d?-1:1);break}return b}const Ju=async(e,t,r)=>{const{placement:n="bottom",strategy:o="absolute",middleware:i=[],platform:s}=r,l=i.filter(Boolean),u=await(s.isRTL==null?void 0:s.isRTL(t));let d=await s.getElementRects({reference:e,floating:t,strategy:o}),{x:h,y}=vs(d,n,u),S=n,b={},$=0;for(let T=0;T<l.length;T++){const{name:k,fn:A}=l[T],{x:O,y:R,data:I,reset:M}=await A({x:h,y,initialPlacement:n,placement:S,strategy:o,middlewareData:b,rects:d,platform:s,elements:{reference:e,floating:t}});h=O??h,y=R??y,b={...b,[k]:{...b[k],...I}},M&&$<=50&&($++,typeof M=="object"&&(M.placement&&(S=M.placement),M.rects&&(d=M.rects===!0?await s.getElementRects({reference:e,floating:t,strategy:o}):M.rects),{x:h,y}=vs(d,S,u)),T=-1)}return{x:h,y,placement:S,strategy:o,middlewareData:b}};async function Ma(e,t){var r;t===void 0&&(t={});const{x:n,y:o,platform:i,rects:s,elements:l,strategy:u}=e,{boundary:d="clippingAncestors",rootBoundary:h="viewport",elementContext:y="floating",altBoundary:S=!1,padding:b=0}=on(t,e),$=Ia(b),k=l[S?y==="floating"?"reference":"floating":y],A=Nn(await i.getClippingRect({element:(r=await(i.isElement==null?void 0:i.isElement(k)))==null||r?k:k.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(l.floating)),boundary:d,rootBoundary:h,strategy:u})),O=y==="floating"?{x:n,y:o,width:s.floating.width,height:s.floating.height}:s.reference,R=await(i.getOffsetParent==null?void 0:i.getOffsetParent(l.floating)),I=await(i.isElement==null?void 0:i.isElement(R))?await(i.getScale==null?void 0:i.getScale(R))||{x:1,y:1}:{x:1,y:1},M=Nn(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:O,offsetParent:R,strategy:u}):O);return{top:(A.top-M.top+$.top)/I.y,bottom:(M.bottom-A.bottom+$.bottom)/I.y,left:(A.left-M.left+$.left)/I.x,right:(M.right-A.right+$.right)/I.x}}const Ku=e=>({name:"arrow",options:e,async fn(t){const{x:r,y:n,placement:o,rects:i,platform:s,elements:l,middlewareData:u}=t,{element:d,padding:h=0}=on(e,t)||{};if(d==null)return{};const y=Ia(h),S={x:r,y:n},b=bi(o),$=vi(b),T=await s.getDimensions(d),k=b==="y",A=k?"top":"left",O=k?"bottom":"right",R=k?"clientHeight":"clientWidth",I=i.reference[$]+i.reference[b]-S[b]-i.floating[$],M=S[b]-i.reference[b],D=await(s.getOffsetParent==null?void 0:s.getOffsetParent(d));let P=D?D[R]:0;(!P||!await(s.isElement==null?void 0:s.isElement(D)))&&(P=l.floating[R]||i.floating[$]);const me=I/2-M/2,ye=P/2-T[$]/2-1,fe=Rr(y[A],ye),Ne=Rr(y[O],ye),Ie=fe,ve=P-T[$]-Ne,Q=P/2-T[$]/2+me,Se=Uo(Ie,Q,ve),oe=!u.arrow&&sn(o)!=null&&Q!==Se&&i.reference[$]/2-(Q<Ie?fe:Ne)-T[$]/2<0,ie=oe?Q<Ie?Q-Ie:Q-ve:0;return{[b]:S[b]+ie,data:{[b]:Se,centerOffset:Q-Se-ie,...oe&&{alignmentOffset:ie}},reset:oe}}}),Xu=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var r,n;const{placement:o,middlewareData:i,rects:s,initialPlacement:l,platform:u,elements:d}=t,{mainAxis:h=!0,crossAxis:y=!0,fallbackPlacements:S,fallbackStrategy:b="bestFit",fallbackAxisSideDirection:$="none",flipAlignment:T=!0,...k}=on(e,t);if((r=i.arrow)!=null&&r.alignmentOffset)return{};const A=mr(o),O=kr(l),R=mr(l)===l,I=await(u.isRTL==null?void 0:u.isRTL(d.floating)),M=S||(R||!T?[Dn(l)]:Gu(l)),D=$!=="none";!S&&D&&M.push(...Yu(l,T,$,I));const P=[l,...M],me=await Ma(t,k),ye=[];let fe=((n=i.flip)==null?void 0:n.overflows)||[];if(h&&ye.push(me[A]),y){const Q=qu(o,s,I);ye.push(me[Q[0]],me[Q[1]])}if(fe=[...fe,{placement:o,overflows:ye}],!ye.every(Q=>Q<=0)){var Ne,Ie;const Q=(((Ne=i.flip)==null?void 0:Ne.index)||0)+1,Se=P[Q];if(Se)return{data:{index:Q,overflows:fe},reset:{placement:Se}};let oe=(Ie=fe.filter(ie=>ie.overflows[0]<=0).sort((ie,se)=>ie.overflows[1]-se.overflows[1])[0])==null?void 0:Ie.placement;if(!oe)switch(b){case"bestFit":{var ve;const ie=(ve=fe.filter(se=>{if(D){const te=kr(se.placement);return te===O||te==="y"}return!0}).map(se=>[se.placement,se.overflows.filter(te=>te>0).reduce((te,q)=>te+q,0)]).sort((se,te)=>se[1]-te[1])[0])==null?void 0:ve[0];ie&&(oe=ie);break}case"initialPlacement":oe=l;break}if(o!==oe)return{reset:{placement:oe}}}return{}}}};async function Zu(e,t){const{placement:r,platform:n,elements:o}=e,i=await(n.isRTL==null?void 0:n.isRTL(o.floating)),s=mr(r),l=sn(r),u=kr(r)==="y",d=["left","top"].includes(s)?-1:1,h=i&&u?-1:1,y=on(t,e);let{mainAxis:S,crossAxis:b,alignmentAxis:$}=typeof y=="number"?{mainAxis:y,crossAxis:0,alignmentAxis:null}:{mainAxis:y.mainAxis||0,crossAxis:y.crossAxis||0,alignmentAxis:y.alignmentAxis};return l&&typeof $=="number"&&(b=l==="end"?$*-1:$),u?{x:b*h,y:S*d}:{x:S*d,y:b*h}}const ef=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var r,n;const{x:o,y:i,placement:s,middlewareData:l}=t,u=await Zu(t,e);return s===((r=l.offset)==null?void 0:r.placement)&&(n=l.arrow)!=null&&n.alignmentOffset?{}:{x:o+u.x,y:i+u.y,data:{...u,placement:s}}}}},tf=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:r,y:n,placement:o}=t,{mainAxis:i=!0,crossAxis:s=!1,limiter:l={fn:k=>{let{x:A,y:O}=k;return{x:A,y:O}}},...u}=on(e,t),d={x:r,y:n},h=await Ma(t,u),y=kr(mr(o)),S=ja(y);let b=d[S],$=d[y];if(i){const k=S==="y"?"top":"left",A=S==="y"?"bottom":"right",O=b+h[k],R=b-h[A];b=Uo(O,b,R)}if(s){const k=y==="y"?"top":"left",A=y==="y"?"bottom":"right",O=$+h[k],R=$-h[A];$=Uo(O,$,R)}const T=l.fn({...t,[S]:b,[y]:$});return{...T,data:{x:T.x-r,y:T.y-n,enabled:{[S]:i,[y]:s}}}}}};function Xn(){return typeof window<"u"}function Ir(e){return La(e)?(e.nodeName||"").toLowerCase():"#document"}function Ct(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Gt(e){var t;return(t=(La(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function La(e){return Xn()?e instanceof Node||e instanceof Ct(e).Node:!1}function Vt(e){return Xn()?e instanceof Element||e instanceof Ct(e).Element:!1}function qt(e){return Xn()?e instanceof HTMLElement||e instanceof Ct(e).HTMLElement:!1}function bs(e){return!Xn()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof Ct(e).ShadowRoot}function an(e){const{overflow:t,overflowX:r,overflowY:n,display:o}=Bt(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+r)&&!["inline","contents"].includes(o)}function rf(e){return["table","td","th"].includes(Ir(e))}function Zn(e){return[":popover-open",":modal"].some(t=>{try{return e.matches(t)}catch{return!1}})}function wi(e){const t=_i(),r=Vt(e)?Bt(e):e;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))}function nf(e){let t=or(e);for(;qt(t)&&!Pr(t);){if(wi(t))return t;if(Zn(t))return null;t=or(t)}return null}function _i(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Pr(e){return["html","body","#document"].includes(Ir(e))}function Bt(e){return Ct(e).getComputedStyle(e)}function eo(e){return Vt(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function or(e){if(Ir(e)==="html")return e;const t=e.assignedSlot||e.parentNode||bs(e)&&e.host||Gt(e);return bs(t)?t.host:t}function Da(e){const t=or(e);return Pr(t)?e.ownerDocument?e.ownerDocument.body:e.body:qt(t)&&an(t)?t:Da(t)}function Gr(e,t,r){var n;t===void 0&&(t=[]),r===void 0&&(r=!0);const o=Da(e),i=o===((n=e.ownerDocument)==null?void 0:n.body),s=Ct(o);if(i){const l=qo(s);return t.concat(s,s.visualViewport||[],an(o)?o:[],l&&r?Gr(l):[])}return t.concat(o,Gr(o,[],r))}function qo(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Na(e){const t=Bt(e);let r=parseFloat(t.width)||0,n=parseFloat(t.height)||0;const o=qt(e),i=o?e.offsetWidth:r,s=o?e.offsetHeight:n,l=Ln(r)!==i||Ln(n)!==s;return l&&(r=i,n=s),{width:r,height:n,$:l}}function Si(e){return Vt(e)?e:e.contextElement}function Er(e){const t=Si(e);if(!qt(t))return nr(1);const r=t.getBoundingClientRect(),{width:n,height:o,$:i}=Na(t);let s=(i?Ln(r.width):r.width)/n,l=(i?Ln(r.height):r.height)/o;return(!s||!Number.isFinite(s))&&(s=1),(!l||!Number.isFinite(l))&&(l=1),{x:s,y:l}}const of=nr(0);function Fa(e){const t=Ct(e);return!_i()||!t.visualViewport?of:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function sf(e,t,r){return t===void 0&&(t=!1),!r||t&&r!==Ct(e)?!1:t}function yr(e,t,r,n){t===void 0&&(t=!1),r===void 0&&(r=!1);const o=e.getBoundingClientRect(),i=Si(e);let s=nr(1);t&&(n?Vt(n)&&(s=Er(n)):s=Er(e));const l=sf(i,r,n)?Fa(i):nr(0);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;if(i){const S=Ct(i),b=n&&Vt(n)?Ct(n):n;let $=S,T=qo($);for(;T&&n&&b!==$;){const k=Er(T),A=T.getBoundingClientRect(),O=Bt(T),R=A.left+(T.clientLeft+parseFloat(O.paddingLeft))*k.x,I=A.top+(T.clientTop+parseFloat(O.paddingTop))*k.y;u*=k.x,d*=k.y,h*=k.x,y*=k.y,u+=R,d+=I,$=Ct(T),T=qo($)}}return Nn({width:h,height:y,x:u,y:d})}function af(e){let{elements:t,rect:r,offsetParent:n,strategy:o}=e;const i=o==="fixed",s=Gt(n),l=t?Zn(t.floating):!1;if(n===s||l&&i)return r;let u={scrollLeft:0,scrollTop:0},d=nr(1);const h=nr(0),y=qt(n);if((y||!y&&!i)&&((Ir(n)!=="body"||an(s))&&(u=eo(n)),qt(n))){const S=yr(n);d=Er(n),h.x=S.x+n.clientLeft,h.y=S.y+n.clientTop}return{width:r.width*d.x,height:r.height*d.y,x:r.x*d.x-u.scrollLeft*d.x+h.x,y:r.y*d.y-u.scrollTop*d.y+h.y}}function cf(e){return Array.from(e.getClientRects())}function Go(e,t){const r=eo(e).scrollLeft;return t?t.left+r:yr(Gt(e)).left+r}function lf(e){const t=Gt(e),r=eo(e),n=e.ownerDocument.body,o=pr(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),i=pr(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight);let s=-r.scrollLeft+Go(e);const l=-r.scrollTop;return Bt(n).direction==="rtl"&&(s+=pr(t.clientWidth,n.clientWidth)-o),{width:o,height:i,x:s,y:l}}function uf(e,t){const r=Ct(e),n=Gt(e),o=r.visualViewport;let i=n.clientWidth,s=n.clientHeight,l=0,u=0;if(o){i=o.width,s=o.height;const d=_i();(!d||d&&t==="fixed")&&(l=o.offsetLeft,u=o.offsetTop)}return{width:i,height:s,x:l,y:u}}function ff(e,t){const r=yr(e,!0,t==="fixed"),n=r.top+e.clientTop,o=r.left+e.clientLeft,i=qt(e)?Er(e):nr(1),s=e.clientWidth*i.x,l=e.clientHeight*i.y,u=o*i.x,d=n*i.y;return{width:s,height:l,x:u,y:d}}function ws(e,t,r){let n;if(t==="viewport")n=uf(e,r);else if(t==="document")n=lf(Gt(e));else if(Vt(t))n=ff(t,r);else{const o=Fa(e);n={...t,x:t.x-o.x,y:t.y-o.y}}return Nn(n)}function Va(e,t){const r=or(e);return r===t||!Vt(r)||Pr(r)?!1:Bt(r).position==="fixed"||Va(r,t)}function df(e,t){const r=t.get(e);if(r)return r;let n=Gr(e,[],!1).filter(l=>Vt(l)&&Ir(l)!=="body"),o=null;const i=Bt(e).position==="fixed";let s=i?or(e):e;for(;Vt(s)&&!Pr(s);){const l=Bt(s),u=wi(s);!u&&l.position==="fixed"&&(o=null),(i?!u&&!o:!u&&l.position==="static"&&!!o&&["absolute","fixed"].includes(o.position)||an(s)&&!u&&Va(e,s))?n=n.filter(h=>h!==s):o=l,s=or(s)}return t.set(e,n),n}function pf(e){let{element:t,boundary:r,rootBoundary:n,strategy:o}=e;const s=[...r==="clippingAncestors"?Zn(t)?[]:df(t,this._c):[].concat(r),n],l=s[0],u=s.reduce((d,h)=>{const y=ws(t,h,o);return d.top=pr(y.top,d.top),d.right=Rr(y.right,d.right),d.bottom=Rr(y.bottom,d.bottom),d.left=pr(y.left,d.left),d},ws(t,l,o));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}}function hf(e){const{width:t,height:r}=Na(e);return{width:t,height:r}}function gf(e,t,r){const n=qt(t),o=Gt(t),i=r==="fixed",s=yr(e,!0,i,t);let l={scrollLeft:0,scrollTop:0};const u=nr(0);if(n||!n&&!i)if((Ir(t)!=="body"||an(o))&&(l=eo(t)),n){const b=yr(t,!0,i,t);u.x=b.x+t.clientLeft,u.y=b.y+t.clientTop}else o&&(u.x=Go(o));let d=0,h=0;if(o&&!n&&!i){const b=o.getBoundingClientRect();h=b.top+l.scrollTop,d=b.left+l.scrollLeft-Go(o,b)}const y=s.left+l.scrollLeft-u.x-d,S=s.top+l.scrollTop-u.y-h;return{x:y,y:S,width:s.width,height:s.height}}function Oo(e){return Bt(e).position==="static"}function _s(e,t){if(!qt(e)||Bt(e).position==="fixed")return null;if(t)return t(e);let r=e.offsetParent;return Gt(e)===r&&(r=r.ownerDocument.body),r}function Ba(e,t){const r=Ct(e);if(Zn(e))return r;if(!qt(e)){let o=or(e);for(;o&&!Pr(o);){if(Vt(o)&&!Oo(o))return o;o=or(o)}return r}let n=_s(e,t);for(;n&&rf(n)&&Oo(n);)n=_s(n,t);return n&&Pr(n)&&Oo(n)&&!wi(n)?r:n||nf(e)||r}const mf=async function(e){const t=this.getOffsetParent||Ba,r=this.getDimensions,n=await r(e.floating);return{reference:gf(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}};function yf(e){return Bt(e).direction==="rtl"}const vf={convertOffsetParentRelativeRectToViewportRelativeRect:af,getDocumentElement:Gt,getClippingRect:pf,getOffsetParent:Ba,getElementRects:mf,getClientRects:cf,getDimensions:hf,getScale:Er,isElement:Vt,isRTL:yf};function bf(e,t){let r=null,n;const o=Gt(e);function i(){var l;clearTimeout(n),(l=r)==null||l.disconnect(),r=null}function s(l,u){l===void 0&&(l=!1),u===void 0&&(u=1),i();const{left:d,top:h,width:y,height:S}=e.getBoundingClientRect();if(l||t(),!y||!S)return;const b=$n(h),$=$n(o.clientWidth-(d+y)),T=$n(o.clientHeight-(h+S)),k=$n(d),O={rootMargin:-b+"px "+-$+"px "+-T+"px "+-k+"px",threshold:pr(0,Rr(1,u))||1};let R=!0;function I(M){const D=M[0].intersectionRatio;if(D!==u){if(!R)return s();D?s(!1,D):n=setTimeout(()=>{s(!1,1e-7)},1e3)}R=!1}try{r=new IntersectionObserver(I,{...O,root:o.ownerDocument})}catch{r=new IntersectionObserver(I,O)}r.observe(e)}return s(!0),i}function wf(e,t,r,n){n===void 0&&(n={});const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:s=typeof ResizeObserver=="function",layoutShift:l=typeof IntersectionObserver=="function",animationFrame:u=!1}=n,d=Si(e),h=o||i?[...d?Gr(d):[],...Gr(t)]:[];h.forEach(A=>{o&&A.addEventListener("scroll",r,{passive:!0}),i&&A.addEventListener("resize",r)});const y=d&&l?bf(d,r):null;let S=-1,b=null;s&&(b=new ResizeObserver(A=>{let[O]=A;O&&O.target===d&&b&&(b.unobserve(t),cancelAnimationFrame(S),S=requestAnimationFrame(()=>{var R;(R=b)==null||R.observe(t)})),r()}),d&&!u&&b.observe(d),b.observe(t));let $,T=u?yr(e):null;u&&k();function k(){const A=yr(e);T&&(A.x!==T.x||A.y!==T.y||A.width!==T.width||A.height!==T.height)&&r(),T=A,$=requestAnimationFrame(k)}return r(),()=>{var A;h.forEach(O=>{o&&O.removeEventListener("scroll",r),i&&O.removeEventListener("resize",r)}),y==null||y(),(A=b)==null||A.disconnect(),b=null,u&&cancelAnimationFrame($)}}const za=ef,_f=tf,Ua=Xu,Sf=Ku,Ss=(e,t,r)=>{const n=new Map,o={platform:vf,...r},i={...o.platform,_c:n};return Ju(e,t,{...o,platform:i})},xf=(e,t)=>({...za(e),options:[e,t]}),Ef=(e,t)=>({...Ua(e),options:[e,t]});var $f=Object.prototype;function Tf(e){var t=e&&e.constructor,r=typeof t=="function"&&t.prototype||$f;return e===r}var Wa=Tf;function Af(e,t){return function(r){return e(t(r))}}var Of=Af,Cf=Of,Rf=Cf(Object.keys,Object),kf=Rf,Pf=Wa,jf=kf,If=Object.prototype,Mf=If.hasOwnProperty;function Lf(e){if(!Pf(e))return jf(e);var t=[];for(var r in Object(e))Mf.call(e,r)&&r!="constructor"&&t.push(r);return t}var Df=Lf,Nf=typeof wn=="object"&&wn&&wn.Object===Object&&wn,qa=Nf,Ff=qa,Vf=typeof self=="object"&&self&&self.Object===Object&&self,Bf=Ff||Vf||Function("return this")(),ir=Bf,zf=ir,Uf=zf.Symbol,Ga=Uf,xs=Ga,Ha=Object.prototype,Wf=Ha.hasOwnProperty,qf=Ha.toString,Ur=xs?xs.toStringTag:void 0;function Gf(e){var t=Wf.call(e,Ur),r=e[Ur];try{e[Ur]=void 0;var n=!0}catch{}var o=qf.call(e);return n&&(t?e[Ur]=r:delete e[Ur]),o}var Hf=Gf,Yf=Object.prototype,Qf=Yf.toString;function Jf(e){return Qf.call(e)}var Kf=Jf,Es=Ga,Xf=Hf,Zf=Kf,ed="[object Null]",td="[object Undefined]",$s=Es?Es.toStringTag:void 0;function rd(e){return e==null?e===void 0?td:ed:$s&&$s in Object(e)?Xf(e):Zf(e)}var to=rd;function nd(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var Ya=nd,od=to,id=Ya,sd="[object AsyncFunction]",ad="[object Function]",cd="[object GeneratorFunction]",ld="[object Proxy]";function ud(e){if(!id(e))return!1;var t=od(e);return t==ad||t==cd||t==sd||t==ld}var Qa=ud,fd=ir,dd=fd["__core-js_shared__"],pd=dd,Co=pd,Ts=function(){var e=/[^.]+$/.exec(Co&&Co.keys&&Co.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function hd(e){return!!Ts&&Ts in e}var gd=hd,md=Function.prototype,yd=md.toString;function vd(e){if(e!=null){try{return yd.call(e)}catch{}try{return e+""}catch{}}return""}var Ja=vd,bd=Qa,wd=gd,_d=Ya,Sd=Ja,xd=/[\\^$.*+?()[\]{}|]/g,Ed=/^\[object .+?Constructor\]$/,$d=Function.prototype,Td=Object.prototype,Ad=$d.toString,Od=Td.hasOwnProperty,Cd=RegExp("^"+Ad.call(Od).replace(xd,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function Rd(e){if(!_d(e)||wd(e))return!1;var t=bd(e)?Cd:Ed;return t.test(Sd(e))}var kd=Rd;function Pd(e,t){return e==null?void 0:e[t]}var jd=Pd,Id=kd,Md=jd;function Ld(e,t){var r=Md(e,t);return Id(r)?r:void 0}var cn=Ld,Dd=cn,Nd=ir,Fd=Dd(Nd,"DataView"),Vd=Fd,Bd=cn,zd=ir,Ud=Bd(zd,"Map"),Wd=Ud,qd=cn,Gd=ir,Hd=qd(Gd,"Promise"),Yd=Hd,Qd=cn,Jd=ir,Kd=Qd(Jd,"Set"),Xd=Kd,Zd=cn,ep=ir,tp=Zd(ep,"WeakMap"),rp=tp,Ho=Vd,Yo=Wd,Qo=Yd,Jo=Xd,Ko=rp,Ka=to,Mr=Ja,As="[object Map]",np="[object Object]",Os="[object Promise]",Cs="[object Set]",Rs="[object WeakMap]",ks="[object DataView]",op=Mr(Ho),ip=Mr(Yo),sp=Mr(Qo),ap=Mr(Jo),cp=Mr(Ko),cr=Ka;(Ho&&cr(new Ho(new ArrayBuffer(1)))!=ks||Yo&&cr(new Yo)!=As||Qo&&cr(Qo.resolve())!=Os||Jo&&cr(new Jo)!=Cs||Ko&&cr(new Ko)!=Rs)&&(cr=function(e){var t=Ka(e),r=t==np?e.constructor:void 0,n=r?Mr(r):"";if(n)switch(n){case op:return ks;case ip:return As;case sp:return Os;case ap:return Cs;case cp:return Rs}return t});var lp=cr;function up(e){return e!=null&&typeof e=="object"}var xi=up,fp=to,dp=xi,pp="[object Arguments]";function hp(e){return dp(e)&&fp(e)==pp}var gp=hp,Ps=gp,mp=xi,Xa=Object.prototype,yp=Xa.hasOwnProperty,vp=Xa.propertyIsEnumerable,bp=Ps(function(){return arguments}())?Ps:function(e){return mp(e)&&yp.call(e,"callee")&&!vp.call(e,"callee")},wp=bp,_p=Array.isArray,Sp=_p,xp=9007199254740991;function Ep(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=xp}var Za=Ep,$p=Qa,Tp=Za;function Ap(e){return e!=null&&Tp(e.length)&&!$p(e)}var Op=Ap,Fn={exports:{}};function Cp(){return!1}var Rp=Cp;Fn.exports;(function(e,t){var r=ir,n=Rp,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;e.exports=d})(Fn,Fn.exports);var kp=Fn.exports,Pp=to,jp=Za,Ip=xi,Mp="[object Arguments]",Lp="[object Array]",Dp="[object Boolean]",Np="[object Date]",Fp="[object Error]",Vp="[object Function]",Bp="[object Map]",zp="[object Number]",Up="[object Object]",Wp="[object RegExp]",qp="[object Set]",Gp="[object String]",Hp="[object WeakMap]",Yp="[object ArrayBuffer]",Qp="[object DataView]",Jp="[object Float32Array]",Kp="[object Float64Array]",Xp="[object Int8Array]",Zp="[object Int16Array]",eh="[object Int32Array]",th="[object Uint8Array]",rh="[object Uint8ClampedArray]",nh="[object Uint16Array]",oh="[object Uint32Array]",Ce={};Ce[Jp]=Ce[Kp]=Ce[Xp]=Ce[Zp]=Ce[eh]=Ce[th]=Ce[rh]=Ce[nh]=Ce[oh]=!0;Ce[Mp]=Ce[Lp]=Ce[Yp]=Ce[Dp]=Ce[Qp]=Ce[Np]=Ce[Fp]=Ce[Vp]=Ce[Bp]=Ce[zp]=Ce[Up]=Ce[Wp]=Ce[qp]=Ce[Gp]=Ce[Hp]=!1;function ih(e){return Ip(e)&&jp(e.length)&&!!Ce[Pp(e)]}var sh=ih;function ah(e){return function(t){return e(t)}}var ch=ah,Vn={exports:{}};Vn.exports;(function(e,t){var r=qa,n=t&&!t.nodeType&&t,o=n&&!0&&e&&!e.nodeType&&e,i=o&&o.exports===n,s=i&&r.process,l=function(){try{var u=o&&o.require&&o.require("util").types;return u||s&&s.binding&&s.binding("util")}catch{}}();e.exports=l})(Vn,Vn.exports);var lh=Vn.exports,uh=sh,fh=ch,js=lh,Is=js&&js.isTypedArray,dh=Is?fh(Is):uh,ph=dh,hh=Df,gh=lp,mh=wp,yh=Sp,vh=Op,bh=kp,wh=Wa,_h=ph,Sh="[object Map]",xh="[object Set]",Eh=Object.prototype,$h=Eh.hasOwnProperty;function Th(e){if(e==null)return!0;if(vh(e)&&(yh(e)||typeof e=="string"||typeof e.splice=="function"||bh(e)||_h(e)||mh(e)))return!e.length;var t=gh(e);if(t==Sh||t==xh)return!e.size;if(wh(e))return!hh(e).length;for(var r in e)if($h.call(e,r))return!1;return!0}var Ah=Th;const Ro=aa(Ah);var ec={exports:{}};/*!
|
|
296
375
|
Copyright (c) 2018 Jed Watson.
|
|
297
376
|
Licensed under the MIT License (MIT), see
|
|
298
377
|
http://jedwatson.github.io/classnames
|
|
299
|
-
*/(function(e){(function(){var t={}.hasOwnProperty;function r(){for(var i="",s=0;s<arguments.length;s++){var
|
|
378
|
+
*/(function(e){(function(){var t={}.hasOwnProperty;function r(){for(var i="",s=0;s<arguments.length;s++){var l=arguments[s];l&&(i=o(i,n(l)))}return i}function n(i){if(typeof i=="string"||typeof i=="number")return i;if(typeof i!="object")return"";if(Array.isArray(i))return r.apply(null,i);if(i.toString!==Object.prototype.toString&&!i.toString.toString().includes("[native code]"))return i.toString();var s="";for(var l in i)t.call(i,l)&&i[l]&&(s=o(s,l));return s}function o(i,s){return s?i?i+" "+s:i+s:i}e.exports?(r.default=r,e.exports=r):window.classNames=r})()})(ec);var Oh=ec.exports;const Xo=aa(Oh);/*
|
|
300
379
|
* React Tooltip
|
|
301
380
|
* {@link https://github.com/ReactTooltip/react-tooltip}
|
|
302
381
|
* @copyright ReactTooltip Team
|
|
303
382
|
* @license MIT
|
|
304
|
-
*/const Ah="react-tooltip-core-styles",Oh="react-tooltip-base-styles",Ms={core:!1,base:!1};function Ls({css:e,id:t=Oh,type:r="base",ref:n}){var o,i;if(!e||typeof document>"u"||Ms[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;r==="core"&&(t=Ah),n||(n={});const{insertAt:s}=n;if(document.getElementById(t))return;const u=document.head||document.getElementsByTagName("head")[0],l=document.createElement("style");l.id=t,l.type="text/css",s==="top"&&u.firstChild?u.insertBefore(l,u.firstChild):u.appendChild(l),l.styleSheet?l.styleSheet.cssText=e:l.appendChild(document.createTextNode(e)),Ms[r]=!0}const Ds=async({elementReference:e=null,tooltipReference:t=null,tooltipArrowReference:r=null,place:n="top",offset:o=10,strategy:i="absolute",middlewares:s=[za(Number(o)),Ua({fallbackAxisSideDirection:"start"}),bf({padding:5})],border:u})=>{if(!e)return{tooltipStyles:{},tooltipArrowStyles:{},place:n};if(t===null)return{tooltipStyles:{},tooltipArrowStyles:{},place:n};const l=s;return r?(l.push(wf({element:r,padding:5})),Ss(e,t,{placement:n,strategy:i,middleware:l}).then(({x:d,y:h,placement:y,middlewareData:S})=>{var b,$;const O={left:`${d}px`,top:`${h}px`,border:u},{x:k,y:T}=(b=S.arrow)!==null&&b!==void 0?b:{x:0,y:0},A=($={top:"bottom",right:"left",bottom:"top",left:"right"}[y.split("-")[0]])!==null&&$!==void 0?$:"bottom",R=u&&{borderBottom:u,borderRight:u};let I=0;if(u){const M=`${u}`.match(/(\d+)px/);I=M!=null&&M[1]?Number(M[1]):1}return{tooltipStyles:O,tooltipArrowStyles:{left:k!=null?`${k}px`:"",top:T!=null?`${T}px`:"",right:"",bottom:"",...R,[A]:`-${4+I}px`},place:y}})):Ss(e,t,{placement:"bottom",strategy:i,middleware:l}).then(({x:d,y:h,placement:y})=>({tooltipStyles:{left:`${d}px`,top:`${h}px`},tooltipArrowStyles:{},place:y}))},Ns=(e,t)=>!("CSS"in window&&"supports"in window.CSS)||window.CSS.supports(e,t),Fs=(e,t,r)=>{let n=null;const o=function(...i){const s=()=>{n=null};!n&&(e.apply(this,i),n=setTimeout(s,t))};return o.cancel=()=>{n&&(clearTimeout(n),n=null)},o},Vs=e=>e!==null&&!Array.isArray(e)&&typeof e=="object",Zo=(e,t)=>{if(e===t)return!0;if(Array.isArray(e)&&Array.isArray(t))return e.length===t.length&&e.every((o,i)=>Zo(o,t[i]));if(Array.isArray(e)!==Array.isArray(t))return!1;if(!Vs(e)||!Vs(t))return e===t;const r=Object.keys(e),n=Object.keys(t);return r.length===n.length&&r.every(o=>Zo(e[o],t[o]))},Ch=e=>{if(!(e instanceof HTMLElement||e instanceof SVGElement))return!1;const t=getComputedStyle(e);return["overflow","overflow-x","overflow-y"].some(r=>{const n=t.getPropertyValue(r);return n==="auto"||n==="scroll"})},Bs=e=>{if(!e)return null;let t=e.parentElement;for(;t;){if(Ch(t))return t;t=t.parentElement}return document.scrollingElement||document.documentElement},Rh=typeof window<"u"?E.useLayoutEffect:E.useEffect,It=e=>{e.current&&(clearTimeout(e.current),e.current=null)},kh="DEFAULT_TOOLTIP_ID",Ph={anchorRefs:new Set,activeAnchor:{current:null},attach:()=>{},detach:()=>{},setActiveAnchor:()=>{}},jh=E.createContext({getTooltipData:()=>Ph});function tc(e=kh){return E.useContext(jh).getTooltipData(e)}var Sr={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"},ko={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"};const Ih=({forwardRef:e,id:t,className:r,classNameArrow:n,variant:o="dark",anchorId:i,anchorSelect:s,place:u="top",offset:l=10,events:d=["hover"],openOnClick:h=!1,positionStrategy:y="absolute",middlewares:S,wrapper:b,delayShow:$=0,delayHide:O=0,float:k=!1,hidden:T=!1,noArrow:A=!1,clickable:R=!1,closeOnEsc:I=!1,closeOnScroll:M=!1,closeOnResize:D=!1,openEvents:P,closeEvents:me,globalCloseEvents:ye,imperativeModeOnly:fe,style:Ne,position:Ie,afterShow:ve,afterHide:Q,disableTooltip:Se,content:oe,contentWrapperRef:ie,isOpen:se,defaultIsOpen:te=!1,setIsOpen:q,activeAnchor:ae,setActiveAnchor:pe,border:G,opacity:it,arrowColor:et,role:We="tooltip"})=>{var qe;const ue=E.useRef(null),be=E.useRef(null),xe=E.useRef(null),Be=E.useRef(null),Re=E.useRef(null),[lt,Rt]=E.useState({tooltipStyles:{},tooltipArrowStyles:{},place:u}),[Ee,ft]=E.useState(!1),[Qe,dt]=E.useState(!1),[le,pt]=E.useState(null),ht=E.useRef(!1),gt=E.useRef(null),{anchorRefs:Ot,setActiveAnchor:tt}=tc(t),st=E.useRef(!1),[mt,Je]=E.useState([]),_t=E.useRef(!1),St=h||d.includes("click"),kt=St||(P==null?void 0:P.click)||(P==null?void 0:P.dblclick)||(P==null?void 0:P.mousedown),Ge=P?{...P}:{mouseover:!0,focus:!0,mouseenter:!1,click:!1,dblclick:!1,mousedown:!1};!P&&St&&Object.assign(Ge,{mouseenter:!1,focus:!1,mouseover:!1,click:!0});const Pt=me?{...me}:{mouseout:!0,blur:!0,mouseleave:!1,click:!1,dblclick:!1,mouseup:!1};!me&&St&&Object.assign(Pt,{mouseleave:!1,blur:!1,mouseout:!1});const rt=ye?{...ye}:{escape:I||!1,scroll:M||!1,resize:D||!1,clickOutsideAnchor:kt||!1};fe&&(Object.assign(Ge,{mouseenter:!1,focus:!1,click:!1,dblclick:!1,mousedown:!1}),Object.assign(Pt,{mouseleave:!1,blur:!1,click:!1,dblclick:!1,mouseup:!1}),Object.assign(rt,{escape:!1,scroll:!1,resize:!1,clickOutsideAnchor:!1})),Rh(()=>(_t.current=!0,()=>{_t.current=!1}),[]);const we=C=>{_t.current&&(C&&dt(!0),setTimeout(()=>{_t.current&&(q==null||q(C),se===void 0&&ft(C))},10))};E.useEffect(()=>{if(se===void 0)return()=>null;se&&dt(!0);const C=setTimeout(()=>{ft(se)},10);return()=>{clearTimeout(C)}},[se]),E.useEffect(()=>{if(Ee!==ht.current)if(It(Re),ht.current=Ee,Ee)ve==null||ve();else{const C=(V=>{const z=V.match(/^([\d.]+)(ms|s)$/);if(!z)return 0;const[,$e,Me]=z;return Number($e)*(Me==="ms"?1:1e3)})(getComputedStyle(document.body).getPropertyValue("--rt-transition-show-delay"));Re.current=setTimeout(()=>{dt(!1),pt(null),Q==null||Q()},C+25)}},[Ee]);const Dt=C=>{Rt(V=>Zo(V,C)?V:C)},Nt=(C=$)=>{It(xe),Qe?we(!0):xe.current=setTimeout(()=>{we(!0)},C)},yt=(C=O)=>{It(Be),Be.current=setTimeout(()=>{st.current||we(!1)},C)},vt=C=>{var V;if(!C)return;const z=(V=C.currentTarget)!==null&&V!==void 0?V:C.target;if(!(z!=null&&z.isConnected))return pe(null),void tt({current:null});$?Nt():we(!0),pe(z),tt({current:z}),It(Be)},He=()=>{R?yt(O||100):O?yt():we(!1),It(xe)},at=({x:C,y:V})=>{var z;const $e={getBoundingClientRect:()=>({x:C,y:V,width:0,height:0,top:V,left:C,right:C,bottom:V})};Ds({place:(z=le==null?void 0:le.place)!==null&&z!==void 0?z:u,offset:l,elementReference:$e,tooltipReference:ue.current,tooltipArrowReference:be.current,strategy:y,middlewares:S,border:G}).then(Me=>{Dt(Me)})},ze=C=>{if(!C)return;const V=C,z={x:V.clientX,y:V.clientY};at(z),gt.current=z},Ye=C=>{var V;if(!Ee)return;const z=C.target;z.isConnected&&(!((V=ue.current)===null||V===void 0)&&V.contains(z)||[document.querySelector(`[id='${i}']`),...mt].some($e=>$e==null?void 0:$e.contains(z))||(we(!1),It(xe)))},xt=Fs(vt,50),_e=Fs(He,50),Ke=C=>{_e.cancel(),xt(C)},N=()=>{xt.cancel(),_e()},X=E.useCallback(()=>{var C,V;const z=(C=le==null?void 0:le.position)!==null&&C!==void 0?C:Ie;z?at(z):k?gt.current&&at(gt.current):ae!=null&&ae.isConnected&&Ds({place:(V=le==null?void 0:le.place)!==null&&V!==void 0?V:u,offset:l,elementReference:ae,tooltipReference:ue.current,tooltipArrowReference:be.current,strategy:y,middlewares:S,border:G}).then($e=>{_t.current&&Dt($e)})},[Ee,ae,oe,Ne,u,le==null?void 0:le.place,l,y,Ie,le==null?void 0:le.position,k]);E.useEffect(()=>{var C,V;const z=new Set(Ot);mt.forEach(B=>{Se!=null&&Se(B)||z.add({current:B})});const $e=document.querySelector(`[id='${i}']`);$e&&!(Se!=null&&Se($e))&&z.add({current:$e});const Me=()=>{we(!1)},ct=Bs(ae),Te=Bs(ue.current);rt.scroll&&(window.addEventListener("scroll",Me),ct==null||ct.addEventListener("scroll",Me),Te==null||Te.addEventListener("scroll",Me));let f=null;rt.resize?window.addEventListener("resize",Me):ae&&ue.current&&(f=vf(ae,ue.current,X,{ancestorResize:!0,elementResize:!0,layoutShift:!0}));const v=B=>{B.key==="Escape"&&we(!1)};rt.escape&&window.addEventListener("keydown",v),rt.clickOutsideAnchor&&window.addEventListener("click",Ye);const x=[],F=B=>{Ee&&(B==null?void 0:B.target)===ae||vt(B)},ne=B=>{Ee&&(B==null?void 0:B.target)===ae&&He()},ee=["mouseover","mouseout","mouseenter","mouseleave","focus","blur"],J=["click","dblclick","mousedown","mouseup"];Object.entries(Ge).forEach(([B,ce])=>{ce&&(ee.includes(B)?x.push({event:B,listener:Ke}):J.includes(B)&&x.push({event:B,listener:F}))}),Object.entries(Pt).forEach(([B,ce])=>{ce&&(ee.includes(B)?x.push({event:B,listener:N}):J.includes(B)&&x.push({event:B,listener:ne}))}),k&&x.push({event:"pointermove",listener:ze});const Y=()=>{st.current=!0},Le=()=>{st.current=!1,He()};return R&&!kt&&((C=ue.current)===null||C===void 0||C.addEventListener("mouseenter",Y),(V=ue.current)===null||V===void 0||V.addEventListener("mouseleave",Le)),x.forEach(({event:B,listener:ce})=>{z.forEach(Ae=>{var Xe;(Xe=Ae.current)===null||Xe===void 0||Xe.addEventListener(B,ce)})}),()=>{var B,ce;rt.scroll&&(window.removeEventListener("scroll",Me),ct==null||ct.removeEventListener("scroll",Me),Te==null||Te.removeEventListener("scroll",Me)),rt.resize?window.removeEventListener("resize",Me):f==null||f(),rt.clickOutsideAnchor&&window.removeEventListener("click",Ye),rt.escape&&window.removeEventListener("keydown",v),R&&!kt&&((B=ue.current)===null||B===void 0||B.removeEventListener("mouseenter",Y),(ce=ue.current)===null||ce===void 0||ce.removeEventListener("mouseleave",Le)),x.forEach(({event:Ae,listener:Xe})=>{z.forEach(Ht=>{var nt;(nt=Ht.current)===null||nt===void 0||nt.removeEventListener(Ae,Xe)})})}},[ae,X,Qe,Ot,mt,P,me,ye,St,$,O]),E.useEffect(()=>{var C,V;let z=(V=(C=le==null?void 0:le.anchorSelect)!==null&&C!==void 0?C:s)!==null&&V!==void 0?V:"";!z&&t&&(z=`[data-tooltip-id='${t.replace(/'/g,"\\'")}']`);const $e=new MutationObserver(Me=>{const ct=[],Te=[];Me.forEach(f=>{if(f.type==="attributes"&&f.attributeName==="data-tooltip-id"&&(f.target.getAttribute("data-tooltip-id")===t?ct.push(f.target):f.oldValue===t&&Te.push(f.target)),f.type==="childList"){if(ae){const v=[...f.removedNodes].filter(x=>x.nodeType===1);if(z)try{Te.push(...v.filter(x=>x.matches(z))),Te.push(...v.flatMap(x=>[...x.querySelectorAll(z)]))}catch{}v.some(x=>{var F;return!!(!((F=x==null?void 0:x.contains)===null||F===void 0)&&F.call(x,ae))&&(dt(!1),we(!1),pe(null),It(xe),It(Be),!0)})}if(z)try{const v=[...f.addedNodes].filter(x=>x.nodeType===1);ct.push(...v.filter(x=>x.matches(z))),ct.push(...v.flatMap(x=>[...x.querySelectorAll(z)]))}catch{}}}),(ct.length||Te.length)&&Je(f=>[...f.filter(v=>!Te.includes(v)),...ct])});return $e.observe(document.body,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["data-tooltip-id"],attributeOldValue:!0}),()=>{$e.disconnect()}},[t,s,le==null?void 0:le.anchorSelect,ae]),E.useEffect(()=>{X()},[X]),E.useEffect(()=>{if(!(ie!=null&&ie.current))return()=>null;const C=new ResizeObserver(()=>{setTimeout(()=>X())});return C.observe(ie.current),()=>{C.disconnect()}},[oe,ie==null?void 0:ie.current]),E.useEffect(()=>{var C;const V=document.querySelector(`[id='${i}']`),z=[...mt,V];ae&&z.includes(ae)||pe((C=mt[0])!==null&&C!==void 0?C:V)},[i,mt,ae]),E.useEffect(()=>(te&&we(!0),()=>{It(xe),It(Be)}),[]),E.useEffect(()=>{var C;let V=(C=le==null?void 0:le.anchorSelect)!==null&&C!==void 0?C:s;if(!V&&t&&(V=`[data-tooltip-id='${t.replace(/'/g,"\\'")}']`),V)try{const z=Array.from(document.querySelectorAll(V));Je(z)}catch{Je([])}},[t,s,le==null?void 0:le.anchorSelect]),E.useEffect(()=>{xe.current&&(It(xe),Nt($))},[$]);const ke=(qe=le==null?void 0:le.content)!==null&&qe!==void 0?qe:oe,bt=Ee&&Object.keys(lt.tooltipStyles).length>0;return E.useImperativeHandle(e,()=>({open:C=>{if(C!=null&&C.anchorSelect)try{document.querySelector(C.anchorSelect)}catch{return void console.warn(`[react-tooltip] "${C.anchorSelect}" is not a valid CSS selector`)}pt(C??null),C!=null&&C.delay?Nt(C.delay):we(!0)},close:C=>{C!=null&&C.delay?yt(C.delay):we(!1)},activeAnchor:ae,place:lt.place,isOpen:!!(Qe&&!T&&ke&&bt)})),Qe&&!T&&ke?E.createElement(b,{id:t,role:We,className:Xo("react-tooltip",Sr.tooltip,ko.tooltip,ko[o],r,`react-tooltip__place-${lt.place}`,Sr[bt?"show":"closing"],bt?"react-tooltip__show":"react-tooltip__closing",y==="fixed"&&Sr.fixed,R&&Sr.clickable),onTransitionEnd:C=>{It(Re),Ee||C.propertyName!=="opacity"||(dt(!1),pt(null),Q==null||Q())},style:{...Ne,...lt.tooltipStyles,opacity:it!==void 0&&bt?it:void 0},ref:ue},ke,E.createElement(b,{className:Xo("react-tooltip-arrow",Sr.arrow,ko.arrow,n,A&&Sr.noArrow),style:{...lt.tooltipArrowStyles,background:et?`linear-gradient(to right bottom, transparent 50%, ${et} 50%)`:void 0},ref:be})):null},Mh=({content:e})=>E.createElement("span",{dangerouslySetInnerHTML:{__html:e}}),Lh=E.forwardRef(({id:e,anchorId:t,anchorSelect:r,content:n,html:o,render:i,className:s,classNameArrow:u,variant:l="dark",place:d="top",offset:h=10,wrapper:y="div",children:S=null,events:b=["hover"],openOnClick:$=!1,positionStrategy:O="absolute",middlewares:k,delayShow:T=0,delayHide:A=0,float:R=!1,hidden:I=!1,noArrow:M=!1,clickable:D=!1,closeOnEsc:P=!1,closeOnScroll:me=!1,closeOnResize:ye=!1,openEvents:fe,closeEvents:Ne,globalCloseEvents:Ie,imperativeModeOnly:ve=!1,style:Q,position:Se,isOpen:oe,defaultIsOpen:ie=!1,disableStyleInjection:se=!1,border:te,opacity:q,arrowColor:ae,setIsOpen:pe,afterShow:G,afterHide:it,disableTooltip:et,role:We="tooltip"},qe)=>{const[ue,be]=E.useState(n),[xe,Be]=E.useState(o),[Re,lt]=E.useState(d),[Rt,Ee]=E.useState(l),[ft,Qe]=E.useState(h),[dt,le]=E.useState(T),[pt,ht]=E.useState(A),[gt,Ot]=E.useState(R),[tt,st]=E.useState(I),[mt,Je]=E.useState(y),[_t,St]=E.useState(b),[kt,Ge]=E.useState(O),[Pt,rt]=E.useState(null),[we,Dt]=E.useState(null),Nt=E.useRef(se),{anchorRefs:yt,activeAnchor:vt}=tc(e),He=_e=>_e==null?void 0:_e.getAttributeNames().reduce((Ke,N)=>{var X;return N.startsWith("data-tooltip-")&&(Ke[N.replace(/^data-tooltip-/,"")]=(X=_e==null?void 0:_e.getAttribute(N))!==null&&X!==void 0?X:null),Ke},{}),at=_e=>{const Ke={place:N=>{var X;lt((X=N)!==null&&X!==void 0?X:d)},content:N=>{be(N??n)},html:N=>{Be(N??o)},variant:N=>{var X;Ee((X=N)!==null&&X!==void 0?X:l)},offset:N=>{Qe(N===null?h:Number(N))},wrapper:N=>{var X;Je((X=N)!==null&&X!==void 0?X:y)},events:N=>{const X=N==null?void 0:N.split(" ");St(X??b)},"position-strategy":N=>{var X;Ge((X=N)!==null&&X!==void 0?X:O)},"delay-show":N=>{le(N===null?T:Number(N))},"delay-hide":N=>{ht(N===null?A:Number(N))},float:N=>{Ot(N===null?R:N==="true")},hidden:N=>{st(N===null?I:N==="true")},"class-name":N=>{rt(N)}};Object.values(Ke).forEach(N=>N(null)),Object.entries(_e).forEach(([N,X])=>{var ke;(ke=Ke[N])===null||ke===void 0||ke.call(Ke,X)})};E.useEffect(()=>{be(n)},[n]),E.useEffect(()=>{Be(o)},[o]),E.useEffect(()=>{lt(d)},[d]),E.useEffect(()=>{Ee(l)},[l]),E.useEffect(()=>{Qe(h)},[h]),E.useEffect(()=>{le(T)},[T]),E.useEffect(()=>{ht(A)},[A]),E.useEffect(()=>{Ot(R)},[R]),E.useEffect(()=>{st(I)},[I]),E.useEffect(()=>{Ge(O)},[O]),E.useEffect(()=>{Nt.current!==se&&console.warn("[react-tooltip] Do not change `disableStyleInjection` dynamically.")},[se]),E.useEffect(()=>{typeof window<"u"&&window.dispatchEvent(new CustomEvent("react-tooltip-inject-styles",{detail:{disableCore:se==="core",disableBase:se}}))},[]),E.useEffect(()=>{var _e;const Ke=new Set(yt);let N=r;if(!N&&e&&(N=`[data-tooltip-id='${e.replace(/'/g,"\\'")}']`),N)try{document.querySelectorAll(N).forEach(V=>{Ke.add({current:V})})}catch{console.warn(`[react-tooltip] "${N}" is not a valid CSS selector`)}const X=document.querySelector(`[id='${t}']`);if(X&&Ke.add({current:X}),!Ke.size)return()=>null;const ke=(_e=we??X)!==null&&_e!==void 0?_e:vt.current,bt=new MutationObserver(V=>{V.forEach(z=>{var $e;if(!ke||z.type!=="attributes"||!(!(($e=z.attributeName)===null||$e===void 0)&&$e.startsWith("data-tooltip-")))return;const Me=He(ke);at(Me)})}),C={attributes:!0,childList:!1,subtree:!1};if(ke){const V=He(ke);at(V),bt.observe(ke,C)}return()=>{bt.disconnect()}},[yt,vt,we,t,r]),E.useEffect(()=>{Q!=null&&Q.border&&console.warn("[react-tooltip] Do not set `style.border`. Use `border` prop instead."),te&&!Ns("border",`${te}`)&&console.warn(`[react-tooltip] "${te}" is not a valid \`border\`.`),Q!=null&&Q.opacity&&console.warn("[react-tooltip] Do not set `style.opacity`. Use `opacity` prop instead."),q&&!Ns("opacity",`${q}`)&&console.warn(`[react-tooltip] "${q}" is not a valid \`opacity\`.`)},[]);let ze=S;const Ye=E.useRef(null);if(i){const _e=i({content:(we==null?void 0:we.getAttribute("data-tooltip-content"))||ue||null,activeAnchor:we});ze=_e?E.createElement("div",{ref:Ye,className:"react-tooltip-content-wrapper"},_e):null}else ue&&(ze=ue);xe&&(ze=E.createElement(Mh,{content:xe}));const xt={forwardRef:qe,id:e,anchorId:t,anchorSelect:r,className:Xo(s,Pt),classNameArrow:u,content:ze,contentWrapperRef:Ye,place:Re,variant:Rt,offset:ft,wrapper:mt,events:_t,openOnClick:$,positionStrategy:kt,middlewares:k,delayShow:dt,delayHide:pt,float:gt,hidden:tt,noArrow:M,clickable:D,closeOnEsc:P,closeOnScroll:me,closeOnResize:ye,openEvents:fe,closeEvents:Ne,globalCloseEvents:Ie,imperativeModeOnly:ve,style:Q,position:Se,isOpen:oe,defaultIsOpen:ie,border:te,opacity:q,arrowColor:ae,setIsOpen:pe,afterShow:G,afterHide:it,disableTooltip:et,activeAnchor:we,setActiveAnchor:_e=>Dt(_e),role:We};return E.createElement(Ih,{...xt})});typeof window<"u"&&window.addEventListener("react-tooltip-inject-styles",e=>{e.detail.disableCore||Ls({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||Ls({css:`
|
|
305
|
-
.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"})});const
|
|
383
|
+
*/const Ch="react-tooltip-core-styles",Rh="react-tooltip-base-styles",Ms={core:!1,base:!1};function Ls({css:e,id:t=Rh,type:r="base",ref:n}){var o,i;if(!e||typeof document>"u"||Ms[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;r==="core"&&(t=Ch),n||(n={});const{insertAt:s}=n;if(document.getElementById(t))return;const l=document.head||document.getElementsByTagName("head")[0],u=document.createElement("style");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)),Ms[r]=!0}const Ds=async({elementReference:e=null,tooltipReference:t=null,tooltipArrowReference:r=null,place:n="top",offset:o=10,strategy:i="absolute",middlewares:s=[za(Number(o)),Ua({fallbackAxisSideDirection:"start"}),_f({padding:5})],border:l})=>{if(!e)return{tooltipStyles:{},tooltipArrowStyles:{},place:n};if(t===null)return{tooltipStyles:{},tooltipArrowStyles:{},place:n};const u=s;return r?(u.push(Sf({element:r,padding:5})),Ss(e,t,{placement:n,strategy:i,middleware:u}).then(({x:d,y:h,placement:y,middlewareData:S})=>{var b,$;const T={left:`${d}px`,top:`${h}px`,border:l},{x:k,y:A}=(b=S.arrow)!==null&&b!==void 0?b:{x:0,y:0},O=($={top:"bottom",right:"left",bottom:"top",left:"right"}[y.split("-")[0]])!==null&&$!==void 0?$:"bottom",R=l&&{borderBottom:l,borderRight:l};let I=0;if(l){const M=`${l}`.match(/(\d+)px/);I=M!=null&&M[1]?Number(M[1]):1}return{tooltipStyles:T,tooltipArrowStyles:{left:k!=null?`${k}px`:"",top:A!=null?`${A}px`:"",right:"",bottom:"",...R,[O]:`-${4+I}px`},place:y}})):Ss(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}))},Ns=(e,t)=>!("CSS"in window&&"supports"in window.CSS)||window.CSS.supports(e,t),Fs=(e,t,r)=>{let n=null;const o=function(...i){const s=()=>{n=null};!n&&(e.apply(this,i),n=setTimeout(s,t))};return o.cancel=()=>{n&&(clearTimeout(n),n=null)},o},Vs=e=>e!==null&&!Array.isArray(e)&&typeof e=="object",Zo=(e,t)=>{if(e===t)return!0;if(Array.isArray(e)&&Array.isArray(t))return e.length===t.length&&e.every((o,i)=>Zo(o,t[i]));if(Array.isArray(e)!==Array.isArray(t))return!1;if(!Vs(e)||!Vs(t))return e===t;const r=Object.keys(e),n=Object.keys(t);return r.length===n.length&&r.every(o=>Zo(e[o],t[o]))},kh=e=>{if(!(e instanceof HTMLElement||e instanceof SVGElement))return!1;const t=getComputedStyle(e);return["overflow","overflow-x","overflow-y"].some(r=>{const n=t.getPropertyValue(r);return n==="auto"||n==="scroll"})},Bs=e=>{if(!e)return null;let t=e.parentElement;for(;t;){if(kh(t))return t;t=t.parentElement}return document.scrollingElement||document.documentElement},Ph=typeof window<"u"?E.useLayoutEffect:E.useEffect,It=e=>{e.current&&(clearTimeout(e.current),e.current=null)},jh="DEFAULT_TOOLTIP_ID",Ih={anchorRefs:new Set,activeAnchor:{current:null},attach:()=>{},detach:()=>{},setActiveAnchor:()=>{}},Mh=E.createContext({getTooltipData:()=>Ih});function tc(e=jh){return E.useContext(Mh).getTooltipData(e)}var Sr={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"},ko={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"};const Lh=({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:S,wrapper:b,delayShow:$=0,delayHide:T=0,float:k=!1,hidden:A=!1,noArrow:O=!1,clickable:R=!1,closeOnEsc:I=!1,closeOnScroll:M=!1,closeOnResize:D=!1,openEvents:P,closeEvents:me,globalCloseEvents:ye,imperativeModeOnly:fe,style:Ne,position:Ie,afterShow:ve,afterHide:Q,disableTooltip:Se,content:oe,contentWrapperRef:ie,isOpen:se,defaultIsOpen:te=!1,setIsOpen:q,activeAnchor:ae,setActiveAnchor:pe,border:G,opacity:it,arrowColor:et,role:We="tooltip"})=>{var qe;const le=E.useRef(null),be=E.useRef(null),xe=E.useRef(null),Be=E.useRef(null),Re=E.useRef(null),[ut,Rt]=E.useState({tooltipStyles:{},tooltipArrowStyles:{},place:l}),[Ee,ft]=E.useState(!1),[Qe,dt]=E.useState(!1),[ue,pt]=E.useState(null),ht=E.useRef(!1),gt=E.useRef(null),{anchorRefs:Ot,setActiveAnchor:tt}=tc(t),st=E.useRef(!1),[mt,Je]=E.useState([]),_t=E.useRef(!1),St=h||d.includes("click"),kt=St||(P==null?void 0:P.click)||(P==null?void 0:P.dblclick)||(P==null?void 0:P.mousedown),Ge=P?{...P}:{mouseover:!0,focus:!0,mouseenter:!1,click:!1,dblclick:!1,mousedown:!1};!P&&St&&Object.assign(Ge,{mouseenter:!1,focus:!1,mouseover:!1,click:!0});const Pt=me?{...me}:{mouseout:!0,blur:!0,mouseleave:!1,click:!1,dblclick:!1,mouseup:!1};!me&&St&&Object.assign(Pt,{mouseleave:!1,blur:!1,mouseout:!1});const rt=ye?{...ye}:{escape:I||!1,scroll:M||!1,resize:D||!1,clickOutsideAnchor:kt||!1};fe&&(Object.assign(Ge,{mouseenter:!1,focus:!1,click:!1,dblclick:!1,mousedown:!1}),Object.assign(Pt,{mouseleave:!1,blur:!1,click:!1,dblclick:!1,mouseup:!1}),Object.assign(rt,{escape:!1,scroll:!1,resize:!1,clickOutsideAnchor:!1})),Ph(()=>(_t.current=!0,()=>{_t.current=!1}),[]);const we=C=>{_t.current&&(C&&dt(!0),setTimeout(()=>{_t.current&&(q==null||q(C),se===void 0&&ft(C))},10))};E.useEffect(()=>{if(se===void 0)return()=>null;se&&dt(!0);const C=setTimeout(()=>{ft(se)},10);return()=>{clearTimeout(C)}},[se]),E.useEffect(()=>{if(Ee!==ht.current)if(It(Re),ht.current=Ee,Ee)ve==null||ve();else{const C=(V=>{const z=V.match(/^([\d.]+)(ms|s)$/);if(!z)return 0;const[,$e,Me]=z;return Number($e)*(Me==="ms"?1:1e3)})(getComputedStyle(document.body).getPropertyValue("--rt-transition-show-delay"));Re.current=setTimeout(()=>{dt(!1),pt(null),Q==null||Q()},C+25)}},[Ee]);const Dt=C=>{Rt(V=>Zo(V,C)?V:C)},Nt=(C=$)=>{It(xe),Qe?we(!0):xe.current=setTimeout(()=>{we(!0)},C)},yt=(C=T)=>{It(Be),Be.current=setTimeout(()=>{st.current||we(!1)},C)},vt=C=>{var V;if(!C)return;const z=(V=C.currentTarget)!==null&&V!==void 0?V:C.target;if(!(z!=null&&z.isConnected))return pe(null),void tt({current:null});$?Nt():we(!0),pe(z),tt({current:z}),It(Be)},He=()=>{R?yt(T||100):T?yt():we(!1),It(xe)},at=({x:C,y:V})=>{var z;const $e={getBoundingClientRect:()=>({x:C,y:V,width:0,height:0,top:V,left:C,right:C,bottom:V})};Ds({place:(z=ue==null?void 0:ue.place)!==null&&z!==void 0?z:l,offset:u,elementReference:$e,tooltipReference:le.current,tooltipArrowReference:be.current,strategy:y,middlewares:S,border:G}).then(Me=>{Dt(Me)})},ze=C=>{if(!C)return;const V=C,z={x:V.clientX,y:V.clientY};at(z),gt.current=z},Ye=C=>{var V;if(!Ee)return;const z=C.target;z.isConnected&&(!((V=le.current)===null||V===void 0)&&V.contains(z)||[document.querySelector(`[id='${i}']`),...mt].some($e=>$e==null?void 0:$e.contains(z))||(we(!1),It(xe)))},xt=Fs(vt,50),_e=Fs(He,50),Ke=C=>{_e.cancel(),xt(C)},N=()=>{xt.cancel(),_e()},X=E.useCallback(()=>{var C,V;const z=(C=ue==null?void 0:ue.position)!==null&&C!==void 0?C:Ie;z?at(z):k?gt.current&&at(gt.current):ae!=null&&ae.isConnected&&Ds({place:(V=ue==null?void 0:ue.place)!==null&&V!==void 0?V:l,offset:u,elementReference:ae,tooltipReference:le.current,tooltipArrowReference:be.current,strategy:y,middlewares:S,border:G}).then($e=>{_t.current&&Dt($e)})},[Ee,ae,oe,Ne,l,ue==null?void 0:ue.place,u,y,Ie,ue==null?void 0:ue.position,k]);E.useEffect(()=>{var C,V;const z=new Set(Ot);mt.forEach(B=>{Se!=null&&Se(B)||z.add({current:B})});const $e=document.querySelector(`[id='${i}']`);$e&&!(Se!=null&&Se($e))&&z.add({current:$e});const Me=()=>{we(!1)},ct=Bs(ae),Te=Bs(le.current);rt.scroll&&(window.addEventListener("scroll",Me),ct==null||ct.addEventListener("scroll",Me),Te==null||Te.addEventListener("scroll",Me));let f=null;rt.resize?window.addEventListener("resize",Me):ae&&le.current&&(f=wf(ae,le.current,X,{ancestorResize:!0,elementResize:!0,layoutShift:!0}));const v=B=>{B.key==="Escape"&&we(!1)};rt.escape&&window.addEventListener("keydown",v),rt.clickOutsideAnchor&&window.addEventListener("click",Ye);const x=[],F=B=>{Ee&&(B==null?void 0:B.target)===ae||vt(B)},ne=B=>{Ee&&(B==null?void 0:B.target)===ae&&He()},ee=["mouseover","mouseout","mouseenter","mouseleave","focus","blur"],J=["click","dblclick","mousedown","mouseup"];Object.entries(Ge).forEach(([B,ce])=>{ce&&(ee.includes(B)?x.push({event:B,listener:Ke}):J.includes(B)&&x.push({event:B,listener:F}))}),Object.entries(Pt).forEach(([B,ce])=>{ce&&(ee.includes(B)?x.push({event:B,listener:N}):J.includes(B)&&x.push({event:B,listener:ne}))}),k&&x.push({event:"pointermove",listener:ze});const Y=()=>{st.current=!0},Le=()=>{st.current=!1,He()};return R&&!kt&&((C=le.current)===null||C===void 0||C.addEventListener("mouseenter",Y),(V=le.current)===null||V===void 0||V.addEventListener("mouseleave",Le)),x.forEach(({event:B,listener:ce})=>{z.forEach(Ae=>{var Xe;(Xe=Ae.current)===null||Xe===void 0||Xe.addEventListener(B,ce)})}),()=>{var B,ce;rt.scroll&&(window.removeEventListener("scroll",Me),ct==null||ct.removeEventListener("scroll",Me),Te==null||Te.removeEventListener("scroll",Me)),rt.resize?window.removeEventListener("resize",Me):f==null||f(),rt.clickOutsideAnchor&&window.removeEventListener("click",Ye),rt.escape&&window.removeEventListener("keydown",v),R&&!kt&&((B=le.current)===null||B===void 0||B.removeEventListener("mouseenter",Y),(ce=le.current)===null||ce===void 0||ce.removeEventListener("mouseleave",Le)),x.forEach(({event:Ae,listener:Xe})=>{z.forEach(Ht=>{var nt;(nt=Ht.current)===null||nt===void 0||nt.removeEventListener(Ae,Xe)})})}},[ae,X,Qe,Ot,mt,P,me,ye,St,$,T]),E.useEffect(()=>{var C,V;let z=(V=(C=ue==null?void 0:ue.anchorSelect)!==null&&C!==void 0?C:s)!==null&&V!==void 0?V:"";!z&&t&&(z=`[data-tooltip-id='${t.replace(/'/g,"\\'")}']`);const $e=new MutationObserver(Me=>{const ct=[],Te=[];Me.forEach(f=>{if(f.type==="attributes"&&f.attributeName==="data-tooltip-id"&&(f.target.getAttribute("data-tooltip-id")===t?ct.push(f.target):f.oldValue===t&&Te.push(f.target)),f.type==="childList"){if(ae){const v=[...f.removedNodes].filter(x=>x.nodeType===1);if(z)try{Te.push(...v.filter(x=>x.matches(z))),Te.push(...v.flatMap(x=>[...x.querySelectorAll(z)]))}catch{}v.some(x=>{var F;return!!(!((F=x==null?void 0:x.contains)===null||F===void 0)&&F.call(x,ae))&&(dt(!1),we(!1),pe(null),It(xe),It(Be),!0)})}if(z)try{const v=[...f.addedNodes].filter(x=>x.nodeType===1);ct.push(...v.filter(x=>x.matches(z))),ct.push(...v.flatMap(x=>[...x.querySelectorAll(z)]))}catch{}}}),(ct.length||Te.length)&&Je(f=>[...f.filter(v=>!Te.includes(v)),...ct])});return $e.observe(document.body,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["data-tooltip-id"],attributeOldValue:!0}),()=>{$e.disconnect()}},[t,s,ue==null?void 0:ue.anchorSelect,ae]),E.useEffect(()=>{X()},[X]),E.useEffect(()=>{if(!(ie!=null&&ie.current))return()=>null;const C=new ResizeObserver(()=>{setTimeout(()=>X())});return C.observe(ie.current),()=>{C.disconnect()}},[oe,ie==null?void 0:ie.current]),E.useEffect(()=>{var C;const V=document.querySelector(`[id='${i}']`),z=[...mt,V];ae&&z.includes(ae)||pe((C=mt[0])!==null&&C!==void 0?C:V)},[i,mt,ae]),E.useEffect(()=>(te&&we(!0),()=>{It(xe),It(Be)}),[]),E.useEffect(()=>{var C;let V=(C=ue==null?void 0:ue.anchorSelect)!==null&&C!==void 0?C:s;if(!V&&t&&(V=`[data-tooltip-id='${t.replace(/'/g,"\\'")}']`),V)try{const z=Array.from(document.querySelectorAll(V));Je(z)}catch{Je([])}},[t,s,ue==null?void 0:ue.anchorSelect]),E.useEffect(()=>{xe.current&&(It(xe),Nt($))},[$]);const ke=(qe=ue==null?void 0:ue.content)!==null&&qe!==void 0?qe:oe,bt=Ee&&Object.keys(ut.tooltipStyles).length>0;return E.useImperativeHandle(e,()=>({open:C=>{if(C!=null&&C.anchorSelect)try{document.querySelector(C.anchorSelect)}catch{return void console.warn(`[react-tooltip] "${C.anchorSelect}" is not a valid CSS selector`)}pt(C??null),C!=null&&C.delay?Nt(C.delay):we(!0)},close:C=>{C!=null&&C.delay?yt(C.delay):we(!1)},activeAnchor:ae,place:ut.place,isOpen:!!(Qe&&!A&&ke&&bt)})),Qe&&!A&&ke?E.createElement(b,{id:t,role:We,className:Xo("react-tooltip",Sr.tooltip,ko.tooltip,ko[o],r,`react-tooltip__place-${ut.place}`,Sr[bt?"show":"closing"],bt?"react-tooltip__show":"react-tooltip__closing",y==="fixed"&&Sr.fixed,R&&Sr.clickable),onTransitionEnd:C=>{It(Re),Ee||C.propertyName!=="opacity"||(dt(!1),pt(null),Q==null||Q())},style:{...Ne,...ut.tooltipStyles,opacity:it!==void 0&&bt?it:void 0},ref:le},ke,E.createElement(b,{className:Xo("react-tooltip-arrow",Sr.arrow,ko.arrow,n,O&&Sr.noArrow),style:{...ut.tooltipArrowStyles,background:et?`linear-gradient(to right bottom, transparent 50%, ${et} 50%)`:void 0},ref:be})):null},Dh=({content:e})=>E.createElement("span",{dangerouslySetInnerHTML:{__html:e}}),Nh=E.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:S=null,events:b=["hover"],openOnClick:$=!1,positionStrategy:T="absolute",middlewares:k,delayShow:A=0,delayHide:O=0,float:R=!1,hidden:I=!1,noArrow:M=!1,clickable:D=!1,closeOnEsc:P=!1,closeOnScroll:me=!1,closeOnResize:ye=!1,openEvents:fe,closeEvents:Ne,globalCloseEvents:Ie,imperativeModeOnly:ve=!1,style:Q,position:Se,isOpen:oe,defaultIsOpen:ie=!1,disableStyleInjection:se=!1,border:te,opacity:q,arrowColor:ae,setIsOpen:pe,afterShow:G,afterHide:it,disableTooltip:et,role:We="tooltip"},qe)=>{const[le,be]=E.useState(n),[xe,Be]=E.useState(o),[Re,ut]=E.useState(d),[Rt,Ee]=E.useState(u),[ft,Qe]=E.useState(h),[dt,ue]=E.useState(A),[pt,ht]=E.useState(O),[gt,Ot]=E.useState(R),[tt,st]=E.useState(I),[mt,Je]=E.useState(y),[_t,St]=E.useState(b),[kt,Ge]=E.useState(T),[Pt,rt]=E.useState(null),[we,Dt]=E.useState(null),Nt=E.useRef(se),{anchorRefs:yt,activeAnchor:vt}=tc(e),He=_e=>_e==null?void 0:_e.getAttributeNames().reduce((Ke,N)=>{var X;return N.startsWith("data-tooltip-")&&(Ke[N.replace(/^data-tooltip-/,"")]=(X=_e==null?void 0:_e.getAttribute(N))!==null&&X!==void 0?X:null),Ke},{}),at=_e=>{const Ke={place:N=>{var X;ut((X=N)!==null&&X!==void 0?X:d)},content:N=>{be(N??n)},html:N=>{Be(N??o)},variant:N=>{var X;Ee((X=N)!==null&&X!==void 0?X:u)},offset:N=>{Qe(N===null?h:Number(N))},wrapper:N=>{var X;Je((X=N)!==null&&X!==void 0?X:y)},events:N=>{const X=N==null?void 0:N.split(" ");St(X??b)},"position-strategy":N=>{var X;Ge((X=N)!==null&&X!==void 0?X:T)},"delay-show":N=>{ue(N===null?A:Number(N))},"delay-hide":N=>{ht(N===null?O:Number(N))},float:N=>{Ot(N===null?R:N==="true")},hidden:N=>{st(N===null?I:N==="true")},"class-name":N=>{rt(N)}};Object.values(Ke).forEach(N=>N(null)),Object.entries(_e).forEach(([N,X])=>{var ke;(ke=Ke[N])===null||ke===void 0||ke.call(Ke,X)})};E.useEffect(()=>{be(n)},[n]),E.useEffect(()=>{Be(o)},[o]),E.useEffect(()=>{ut(d)},[d]),E.useEffect(()=>{Ee(u)},[u]),E.useEffect(()=>{Qe(h)},[h]),E.useEffect(()=>{ue(A)},[A]),E.useEffect(()=>{ht(O)},[O]),E.useEffect(()=>{Ot(R)},[R]),E.useEffect(()=>{st(I)},[I]),E.useEffect(()=>{Ge(T)},[T]),E.useEffect(()=>{Nt.current!==se&&console.warn("[react-tooltip] Do not change `disableStyleInjection` dynamically.")},[se]),E.useEffect(()=>{typeof window<"u"&&window.dispatchEvent(new CustomEvent("react-tooltip-inject-styles",{detail:{disableCore:se==="core",disableBase:se}}))},[]),E.useEffect(()=>{var _e;const Ke=new Set(yt);let N=r;if(!N&&e&&(N=`[data-tooltip-id='${e.replace(/'/g,"\\'")}']`),N)try{document.querySelectorAll(N).forEach(V=>{Ke.add({current:V})})}catch{console.warn(`[react-tooltip] "${N}" is not a valid CSS selector`)}const X=document.querySelector(`[id='${t}']`);if(X&&Ke.add({current:X}),!Ke.size)return()=>null;const ke=(_e=we??X)!==null&&_e!==void 0?_e:vt.current,bt=new MutationObserver(V=>{V.forEach(z=>{var $e;if(!ke||z.type!=="attributes"||!(!(($e=z.attributeName)===null||$e===void 0)&&$e.startsWith("data-tooltip-")))return;const Me=He(ke);at(Me)})}),C={attributes:!0,childList:!1,subtree:!1};if(ke){const V=He(ke);at(V),bt.observe(ke,C)}return()=>{bt.disconnect()}},[yt,vt,we,t,r]),E.useEffect(()=>{Q!=null&&Q.border&&console.warn("[react-tooltip] Do not set `style.border`. Use `border` prop instead."),te&&!Ns("border",`${te}`)&&console.warn(`[react-tooltip] "${te}" is not a valid \`border\`.`),Q!=null&&Q.opacity&&console.warn("[react-tooltip] Do not set `style.opacity`. Use `opacity` prop instead."),q&&!Ns("opacity",`${q}`)&&console.warn(`[react-tooltip] "${q}" is not a valid \`opacity\`.`)},[]);let ze=S;const Ye=E.useRef(null);if(i){const _e=i({content:(we==null?void 0:we.getAttribute("data-tooltip-content"))||le||null,activeAnchor:we});ze=_e?E.createElement("div",{ref:Ye,className:"react-tooltip-content-wrapper"},_e):null}else le&&(ze=le);xe&&(ze=E.createElement(Dh,{content:xe}));const xt={forwardRef:qe,id:e,anchorId:t,anchorSelect:r,className:Xo(s,Pt),classNameArrow:l,content:ze,contentWrapperRef:Ye,place:Re,variant:Rt,offset:ft,wrapper:mt,events:_t,openOnClick:$,positionStrategy:kt,middlewares:k,delayShow:dt,delayHide:pt,float:gt,hidden:tt,noArrow:M,clickable:D,closeOnEsc:P,closeOnScroll:me,closeOnResize:ye,openEvents:fe,closeEvents:Ne,globalCloseEvents:Ie,imperativeModeOnly:ve,style:Q,position:Se,isOpen:oe,defaultIsOpen:ie,border:te,opacity:q,arrowColor:ae,setIsOpen:pe,afterShow:G,afterHide:it,disableTooltip:et,activeAnchor:we,setActiveAnchor:_e=>Dt(_e),role:We};return E.createElement(Lh,{...xt})});typeof window<"u"&&window.addEventListener("react-tooltip-inject-styles",e=>{e.detail.disableCore||Ls({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||Ls({css:`
|
|
384
|
+
.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"})});const Fh=At(mi)``,Vh=At.div`
|
|
306
385
|
${({theme:e,$maxWidth:t="320px"})=>`
|
|
307
386
|
> :is(.react-tooltip, .react-tooltip__show, .react-tooltip__closing) {
|
|
308
387
|
background-color: ${e.palette.gray[700]};
|
|
@@ -315,35 +394,35 @@ Check the top-level render call using <`+x+">.")}return v}}function ke(f,v){{if(
|
|
|
315
394
|
--rt-opacity: 1;
|
|
316
395
|
}
|
|
317
396
|
`}
|
|
318
|
-
`,
|
|
397
|
+
`,Bh=At(mi)`
|
|
319
398
|
${({$center:e=!1})=>`
|
|
320
399
|
${e?"margin: auto;":""}
|
|
321
400
|
`}
|
|
322
|
-
`,Ei=E.forwardRef(function({as:t="div",center:r,children:n,id:o,onHover:i,onLeave:s,...
|
|
323
|
-
${({theme:e,$color:t=e.palette.gray[800],$display:r="block",$fontFamily:n=e.typography.type.poppins,$fontWeight:o="bold",$letterSpacing:i=0,$lineSpacing:s=1.5,$size:
|
|
401
|
+
`,Ei=E.forwardRef(function({as:t="div",center:r,children:n,id:o,onHover:i,onLeave:s,...l},u){return De.jsx(Bh,{$center:r,as:t,id:o,onMouseLeave:s,onMouseOver:i,ref:u,...l,children:n})}),zh=At(yi)`
|
|
402
|
+
${({theme:e,$color:t=e.palette.gray[800],$display:r="block",$fontFamily:n=e.typography.type.poppins,$fontWeight:o="bold",$letterSpacing:i=0,$lineSpacing:s=1.5,$size:l,$wordBreak:u="normal"})=>`
|
|
324
403
|
color: ${t};
|
|
325
404
|
display: ${r};
|
|
326
405
|
font-family: ${n};
|
|
327
|
-
font-size: ${e.typography.heading[
|
|
406
|
+
font-size: ${e.typography.heading[l]};
|
|
328
407
|
font-weight: ${e.typography.weight[o]};
|
|
329
408
|
letter-spacing: ${i};
|
|
330
409
|
line-height: ${e.spacing[s]};
|
|
331
410
|
width: ${r==="block"?"100%":"auto"};
|
|
332
|
-
word-break: ${
|
|
411
|
+
word-break: ${u};
|
|
333
412
|
`}
|
|
334
|
-
`,
|
|
335
|
-
${({theme:e,$color:t=e.palette.gray[600],$display:r="block",$fontFamily:n=e.typography.type.primary,$fontWeight:o="regular",$letterSpacing:i=0,$lineSpacing:s=1.25,$size:
|
|
413
|
+
`,Uh=At(yi)`
|
|
414
|
+
${({theme:e,$color:t=e.palette.gray[600],$display:r="block",$fontFamily:n=e.typography.type.primary,$fontWeight:o="regular",$letterSpacing:i=0,$lineSpacing:s=1.25,$size:l,$wordBreak:u="normal"})=>`
|
|
336
415
|
color: ${t};
|
|
337
416
|
display: ${r};
|
|
338
417
|
font-family: ${n};
|
|
339
|
-
font-size: ${e.typography.text[
|
|
418
|
+
font-size: ${e.typography.text[l]};
|
|
340
419
|
font-weight: ${e.typography.weight[o]};
|
|
341
420
|
letter-spacing: ${i};
|
|
342
421
|
line-height: ${e.spacing[s]};
|
|
343
422
|
width: ${r==="block"?"100%":"auto"};
|
|
344
|
-
word-break: ${
|
|
423
|
+
word-break: ${u};
|
|
345
424
|
`}
|
|
346
|
-
`,zh=E.forwardRef(function({children:t,color:r,display:n,fontFamily:o,fontWeight:i,letterSpacing:s,lineSpacing:u,size:l,wordBreak:d,...h},y){return De.jsx(Vh,{$color:r,$display:n,$fontFamily:o,$fontWeight:i,$letterSpacing:s,lineSpacing:u,$size:l,$wordBreak:d,ref:y,...h,children:t})}),ei=E.forwardRef(function({children:t,color:r,display:n,fontFamily:o,fontWeight:i,letterSpacing:s,lineSpacing:u,size:l,wordBreak:d,...h},y){return De.jsx(Bh,{$color:r,$display:n,$fontFamily:o,$fontWeight:i,$letterSpacing:s,lineSpacing:u,$size:l,$wordBreak:d,ref:y,...h,children:t})}),rc=E.forwardRef(function({children:t,disabled:r=!1,display:n="inline-block",effect:o="solid",icon:i,iconColor:s,iconSize:u,id:l,maxWidth:d,nodeTip:h,place:y="bottom",tip:S="",title:b="",hide:$=S===""&&b===""&&h===void 0,...O},k){const[T,A]=E.useState(!1),R=E.useRef(null),I=E.useCallback(()=>{R.current!==null&&clearTimeout(R.current),R.current=setTimeout(()=>{A(!0)},100)},[]),M=E.useCallback(()=>{R.current!==null&&clearTimeout(R.current),R.current=setTimeout(()=>{A(!1)},100)},[]);return r?De.jsx(E.StrictMode,{children:t}):De.jsxs(Dh,{"data-tooltip-id":l,display:n,onMouseLeave:M,onMouseMove:I,ref:k,...O,children:[i?De.jsx(Ei,{children:De.jsx(Mn,{clickable:!0,disabled:r,icon:i,iconColor:s,iconSize:u??"xxs",iconType:T?"fa-solid":"fa-light"})}):t,cu.createPortal(De.jsx(Nh,{$maxWidth:d,children:De.jsxs(Lh,{delayShow:500,float:o==="float"?!0:void 0,globalCloseEvents:{resize:!0},hidden:$||!T,id:l,middlewares:[Sf({fallbackAxisSideDirection:"start"}),_f({mainAxis:10})],noArrow:o==="float",place:y,children:[Ro(b)?void 0:De.jsx(ei,{color:Pe.palette.white,fontWeight:"bold",lineSpacing:1.5,size:"xs",textAlign:"start",wordWrap:"break-word",children:b}),Ro(S)?void 0:De.jsx(ei,{color:Pe.palette.gray[100],lineSpacing:1.5,size:"xs",textAlign:"start",wordWrap:"break-word",children:S}),Ro(h)?void 0:h]})}),document.getElementById("root")??document.body)]})}),Uh=E.forwardRef(function({children:t,disabled:r=!1,id:n,icon:o,mode:i,name:s,onClick:u,resolution:l="desktop",showArrow:d,type:h="button",tooltip:y,tooltipPlace:S="bottom",value:b,variant:$,...O},k){const T=y!==void 0,A=`${n}-tooltip`;return De.jsx(rc,{disabled:!T,id:A,place:S,tip:y,children:De.jsx(Dl,{$variant:$,className:i,children:De.jsxs(Nl,{$resolution:l,$variant:$,className:i,disabled:r,id:n,name:s,onClick:u,ref:k,type:h,value:b,...T?{"data-tooltip-id":A}:{},...O,children:[o!==void 0&&De.jsx(Mn,{icon:o,iconType:"fa-light",iconSize:"xs"}),t,d&&De.jsx(Mn,{icon:"arrow-right",iconType:"fa-light",iconSize:"xs"})]})})})});var er=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},ti={exports:{}};(function(e,t){var r=200,n="__lodash_hash_undefined__",o=9007199254740991,i="[object Arguments]",s="[object Array]",u="[object Boolean]",l="[object Date]",d="[object Error]",h="[object Function]",y="[object GeneratorFunction]",S="[object Map]",b="[object Number]",$="[object Object]",O="[object Promise]",k="[object RegExp]",T="[object Set]",A="[object String]",R="[object Symbol]",I="[object WeakMap]",M="[object ArrayBuffer]",D="[object DataView]",P="[object Float32Array]",me="[object Float64Array]",ye="[object Int8Array]",fe="[object Int16Array]",Ne="[object Int32Array]",Ie="[object Uint8Array]",ve="[object Uint8ClampedArray]",Q="[object Uint16Array]",Se="[object Uint32Array]",oe=/[\\^$.*+?()[\]{}|]/g,ie=/\w*$/,se=/^\[object .+?Constructor\]$/,te=/^(?:0|[1-9]\d*)$/,q={};q[i]=q[s]=q[M]=q[D]=q[u]=q[l]=q[P]=q[me]=q[ye]=q[fe]=q[Ne]=q[S]=q[b]=q[$]=q[k]=q[T]=q[A]=q[R]=q[Ie]=q[ve]=q[Q]=q[Se]=!0,q[d]=q[h]=q[I]=!1;var ae=typeof er=="object"&&er&&er.Object===Object&&er,pe=typeof self=="object"&&self&&self.Object===Object&&self,G=ae||pe||Function("return this")(),it=t&&!t.nodeType&&t,et=it&&!0&&e&&!e.nodeType&&e,We=et&&et.exports===it;function qe(c,g){return c.set(g[0],g[1]),c}function ue(c,g){return c.add(g),c}function be(c,g){for(var w=-1,L=c?c.length:0;++w<L&&g(c[w],w,c)!==!1;);return c}function xe(c,g){for(var w=-1,L=g.length,ot=c.length;++w<L;)c[ot+w]=g[w];return c}function Be(c,g,w,L){for(var ot=-1,$t=c?c.length:0;++ot<$t;)w=g(w,c[ot],ot,c);return w}function Re(c,g){for(var w=-1,L=Array(c);++w<c;)L[w]=g(w);return L}function lt(c,g){return c==null?void 0:c[g]}function Rt(c){var g=!1;if(c!=null&&typeof c.toString!="function")try{g=!!(c+"")}catch{}return g}function Ee(c){var g=-1,w=Array(c.size);return c.forEach(function(L,ot){w[++g]=[ot,L]}),w}function ft(c,g){return function(w){return c(g(w))}}function Qe(c){var g=-1,w=Array(c.size);return c.forEach(function(L){w[++g]=L}),w}var dt=Array.prototype,le=Function.prototype,pt=Object.prototype,ht=G["__core-js_shared__"],gt=function(){var c=/[^.]+$/.exec(ht&&ht.keys&&ht.keys.IE_PROTO||"");return c?"Symbol(src)_1."+c:""}(),Ot=le.toString,tt=pt.hasOwnProperty,st=pt.toString,mt=RegExp("^"+Ot.call(tt).replace(oe,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Je=We?G.Buffer:void 0,_t=G.Symbol,St=G.Uint8Array,kt=ft(Object.getPrototypeOf,Object),Ge=Object.create,Pt=pt.propertyIsEnumerable,rt=dt.splice,we=Object.getOwnPropertySymbols,Dt=Je?Je.isBuffer:void 0,Nt=ft(Object.keys,Object),yt=H(G,"DataView"),vt=H(G,"Map"),He=H(G,"Promise"),at=H(G,"Set"),ze=H(G,"WeakMap"),Ye=H(Object,"create"),xt=ar(yt),_e=ar(vt),Ke=ar(He),N=ar(at),X=ar(ze),ke=_t?_t.prototype:void 0,bt=ke?ke.valueOf:void 0;function C(c){var g=-1,w=c?c.length:0;for(this.clear();++g<w;){var L=c[g];this.set(L[0],L[1])}}function V(){this.__data__=Ye?Ye(null):{}}function z(c){return this.has(c)&&delete this.__data__[c]}function $e(c){var g=this.__data__;if(Ye){var w=g[c];return w===n?void 0:w}return tt.call(g,c)?g[c]:void 0}function Me(c){var g=this.__data__;return Ye?g[c]!==void 0:tt.call(g,c)}function ct(c,g){var w=this.__data__;return w[c]=Ye&&g===void 0?n:g,this}C.prototype.clear=V,C.prototype.delete=z,C.prototype.get=$e,C.prototype.has=Me,C.prototype.set=ct;function Te(c){var g=-1,w=c?c.length:0;for(this.clear();++g<w;){var L=c[g];this.set(L[0],L[1])}}function f(){this.__data__=[]}function v(c){var g=this.__data__,w=sr(g,c);if(w<0)return!1;var L=g.length-1;return w==L?g.pop():rt.call(g,w,1),!0}function x(c){var g=this.__data__,w=sr(g,c);return w<0?void 0:g[w][1]}function F(c){return sr(this.__data__,c)>-1}function ne(c,g){var w=this.__data__,L=sr(w,c);return L<0?w.push([c,g]):w[L][1]=g,this}Te.prototype.clear=f,Te.prototype.delete=v,Te.prototype.get=x,Te.prototype.has=F,Te.prototype.set=ne;function ee(c){var g=-1,w=c?c.length:0;for(this.clear();++g<w;){var L=c[g];this.set(L[0],L[1])}}function J(){this.__data__={hash:new C,map:new(vt||Te),string:new C}}function Y(c){return U(this,c).delete(c)}function Le(c){return U(this,c).get(c)}function B(c){return U(this,c).has(c)}function ce(c,g){return U(this,c).set(c,g),this}ee.prototype.clear=J,ee.prototype.delete=Y,ee.prototype.get=Le,ee.prototype.has=B,ee.prototype.set=ce;function Ae(c){this.__data__=new Te(c)}function Xe(){this.__data__=new Te}function Ht(c){return this.__data__.delete(c)}function nt(c){return this.__data__.get(c)}function lo(c){return this.__data__.has(c)}function dn(c,g){var w=this.__data__;if(w instanceof Te){var L=w.__data__;if(!vt||L.length<r-1)return L.push([c,g]),this;w=this.__data__=new ee(L)}return w.set(c,g),this}Ae.prototype.clear=Xe,Ae.prototype.delete=Ht,Ae.prototype.get=nt,Ae.prototype.has=lo,Ae.prototype.set=dn;function fo(c,g){var w=_o(c)||tu(c)?Re(c.length,String):[],L=w.length,ot=!!L;for(var $t in c)tt.call(c,$t)&&!(ot&&($t=="length"||jt($t,L)))&&w.push($t);return w}function Dr(c,g,w){var L=c[g];(!(tt.call(c,g)&&qi(L,w))||w===void 0&&!(g in c))&&(c[g]=w)}function sr(c,g){for(var w=c.length;w--;)if(qi(c[w][0],g))return w;return-1}function pn(c,g){return c&&_(g,So(g),c)}function Nr(c,g,w,L,ot,$t,Qt){var Tt;if(L&&(Tt=$t?L(c,ot,$t,Qt):L(c)),Tt!==void 0)return Tt;if(!vn(c))return c;var Yi=_o(c);if(Yi){if(Tt=Et(c),!g)return m(c,Tt)}else{var wr=Ve(c),Qi=wr==h||wr==y;if(nu(c))return go(c,g);if(wr==$||wr==i||Qi&&!$t){if(Rt(c))return $t?c:{};if(Tt=wt(Qi?{}:c),!g)return j(c,pn(Tt,c))}else{if(!q[wr])return $t?c:{};Tt=Yt(c,wr,Nr,g)}}Qt||(Qt=new Ae);var Ji=Qt.get(c);if(Ji)return Ji;if(Qt.set(c,Tt),!Yi)var Ki=w?re(c):So(c);return be(Ki||c,function(xo,bn){Ki&&(bn=xo,xo=c[bn]),Dr(Tt,bn,Nr(xo,g,w,L,bn,c,Qt))}),Tt}function hn(c){return vn(c)?Ge(c):{}}function gn(c,g,w){var L=g(c);return _o(c)?L:xe(L,w(c))}function po(c){return st.call(c)}function ho(c){if(!vn(c)||yn(c))return!1;var g=Hi(c)||Rt(c)?mt:se;return g.test(ar(c))}function mn(c){if(!Vr(c))return Nt(c);var g=[];for(var w in Object(c))tt.call(c,w)&&w!="constructor"&&g.push(w);return g}function go(c,g){if(g)return c.slice();var w=new c.constructor(c.length);return c.copy(w),w}function Fr(c){var g=new c.constructor(c.byteLength);return new St(g).set(new St(c)),g}function mo(c,g){var w=g?Fr(c.buffer):c.buffer;return new c.constructor(w,c.byteOffset,c.byteLength)}function yo(c,g,w){var L=g?w(Ee(c),!0):Ee(c);return Be(L,qe,new c.constructor)}function vo(c){var g=new c.constructor(c.source,ie.exec(c));return g.lastIndex=c.lastIndex,g}function bo(c,g,w){var L=g?w(Qe(c),!0):Qe(c);return Be(L,ue,new c.constructor)}function a(c){return bt?Object(bt.call(c)):{}}function p(c,g){var w=g?Fr(c.buffer):c.buffer;return new c.constructor(w,c.byteOffset,c.length)}function m(c,g){var w=-1,L=c.length;for(g||(g=Array(L));++w<L;)g[w]=c[w];return g}function _(c,g,w,L){w||(w={});for(var ot=-1,$t=g.length;++ot<$t;){var Qt=g[ot],Tt=void 0;Dr(w,Qt,Tt===void 0?c[Qt]:Tt)}return w}function j(c,g){return _(c,Fe(c),g)}function re(c){return gn(c,So,Fe)}function U(c,g){var w=c.__data__;return wo(g)?w[typeof g=="string"?"string":"hash"]:w.map}function H(c,g){var w=lt(c,g);return ho(w)?w:void 0}var Fe=we?ft(we,Object):su,Ve=po;(yt&&Ve(new yt(new ArrayBuffer(1)))!=D||vt&&Ve(new vt)!=S||He&&Ve(He.resolve())!=O||at&&Ve(new at)!=T||ze&&Ve(new ze)!=I)&&(Ve=function(c){var g=st.call(c),w=g==$?c.constructor:void 0,L=w?ar(w):void 0;if(L)switch(L){case xt:return D;case _e:return S;case Ke:return O;case N:return T;case X:return I}return g});function Et(c){var g=c.length,w=c.constructor(g);return g&&typeof c[0]=="string"&&tt.call(c,"index")&&(w.index=c.index,w.input=c.input),w}function wt(c){return typeof c.constructor=="function"&&!Vr(c)?hn(kt(c)):{}}function Yt(c,g,w,L){var ot=c.constructor;switch(g){case M:return Fr(c);case u:case l:return new ot(+c);case D:return mo(c,L);case P:case me:case ye:case fe:case Ne:case Ie:case ve:case Q:case Se:return p(c,L);case S:return yo(c,L,w);case b:case A:return new ot(c);case k:return vo(c);case T:return bo(c,L,w);case R:return a(c)}}function jt(c,g){return g=g??o,!!g&&(typeof c=="number"||te.test(c))&&c>-1&&c%1==0&&c<g}function wo(c){var g=typeof c;return g=="string"||g=="number"||g=="symbol"||g=="boolean"?c!=="__proto__":c===null}function yn(c){return!!gt&> in c}function Vr(c){var g=c&&c.constructor,w=typeof g=="function"&&g.prototype||pt;return c===w}function ar(c){if(c!=null){try{return Ot.call(c)}catch{}try{return c+""}catch{}}return""}function eu(c){return Nr(c,!0,!0)}function qi(c,g){return c===g||c!==c&&g!==g}function tu(c){return ru(c)&&tt.call(c,"callee")&&(!Pt.call(c,"callee")||st.call(c)==i)}var _o=Array.isArray;function Gi(c){return c!=null&&ou(c.length)&&!Hi(c)}function ru(c){return iu(c)&&Gi(c)}var nu=Dt||au;function Hi(c){var g=vn(c)?st.call(c):"";return g==h||g==y}function ou(c){return typeof c=="number"&&c>-1&&c%1==0&&c<=o}function vn(c){var g=typeof c;return!!c&&(g=="object"||g=="function")}function iu(c){return!!c&&typeof c=="object"}function So(c){return Gi(c)?fo(c):mn(c)}function su(){return[]}function au(){return!1}e.exports=eu})(ti,ti.exports);var tr=ti.exports,ri=function(){return ri=Object.assign||function(t){for(var r,n=1,o=arguments.length;n<o;n++){r=arguments[n];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(t[i]=r[i])}return t},ri.apply(this,arguments)};function Wh(e,t,r,n){function o(i){return i instanceof r?i:new r(function(s){s(i)})}return new(r||(r=Promise))(function(i,s){function u(h){try{d(n.next(h))}catch(y){s(y)}}function l(h){try{d(n.throw(h))}catch(y){s(y)}}function d(h){h.done?i(h.value):o(h.value).then(u,l)}d((n=n.apply(e,[])).next())})}function qh(e,t){var r={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},n,o,i,s;return s={next:u(0),throw:u(1),return:u(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function u(d){return function(h){return l([d,h])}}function l(d){if(n)throw new TypeError("Generator is already executing.");for(;s&&(s=0,d[0]&&(r=0)),r;)try{if(n=1,o&&(i=d[0]&2?o.return:d[0]?o.throw||((i=o.return)&&i.call(o),0):o.next)&&!(i=i.call(o,d[1])).done)return i;switch(o=0,i&&(d=[d[0]&2,i.value]),d[0]){case 0:case 1:i=d;break;case 4:return r.label++,{value:d[1],done:!1};case 5:r.label++,o=d[1],d=[0];continue;case 7:d=r.ops.pop(),r.trys.pop();continue;default:if(i=r.trys,!(i=i.length>0&&i[i.length-1])&&(d[0]===6||d[0]===2)){r=0;continue}if(d[0]===3&&(!i||d[1]>i[0]&&d[1]<i[3])){r.label=d[1];break}if(d[0]===6&&r.label<i[1]){r.label=i[1],i=d;break}if(i&&r.label<i[2]){r.label=i[2],r.ops.push(d);break}i[2]&&r.ops.pop(),r.trys.pop();continue}d=t.call(e,r)}catch(h){d=[6,h],o=0}finally{n=i=0}if(d[0]&5)throw d[1];return{value:d[0]?d[1]:void 0,done:!0}}}function Bn(e,t,r,n,o){return Wh(this,void 0,void 0,function(){var i,s;return qh(this,function(u){switch(u.label){case 0:if(r===void 0)return[2];s=0,u.label=1;case 1:return s<r.length?[4,r[s](e,t,n,o,r)]:[3,4];case 2:if(i=u.sent(),i==="canceled")return[3,4];u.label=3;case 3:return s++,[3,1];case 4:return i!=="canceled"?[2,i]:[2]}})})}var ni=function(e,t){return t===void 0&&(t={}),e?{trackedAnalytics:ri({sdkCode:e.sdkCode,sdkSemver:e.sdkSemver,techVersion:e.techVersion},t)}:null},Gh=function(){function e(t,r,n,o){var i=this;this.isMounted=!0,this.imgElement=t,this.htmlPluginState={cleanupCallbacks:[],pluginEventSubscription:[]};var s=tr(r);Bn(t,s,n,this.htmlPluginState,o).then(function(u){if(i.isMounted){i.htmlPluginState.pluginEventSubscription.forEach(function(d){d()});var l=ni(o,u);i.imgElement.setAttribute("src",s.toURL(l))}})}return e.prototype.update=function(t,r,n){var o=this,i=tr(t);Bn(this.imgElement,i,r,this.htmlPluginState).then(function(s){if(o.isMounted){var u=ni(n,s);o.imgElement.setAttribute("src",i.toURL(u))}})},e.prototype.unmount=function(){this.isMounted=!1},e}();let je=class{constructor(t){this.values=[],this.delimiter=":",this.hasValue(t)&&this.addValue(t)}toString(){return this.values.join(this.delimiter)}hasValue(t){return typeof t<"u"&&t!==null&&t!==""}addValue(t){return Array.isArray(t)?this.values=this.values.concat(t):this.values.push(t),this.values=this.values.filter(r=>this.hasValue(r)),this}setDelimiter(t){return this.delimiter=t,this}},Hh=class extends Error{constructor(t="Unsupported"){super(t)}};function $i(e){return new Hh(e)}function Yh(){return this._qualifierModel||{error:$i(`unsupported qualifier ${this.constructor.name}`)}}let Qh=class{constructor(){this._qualifierModel={}}toJson(){return Yh.apply(this)}},K=class extends Qh{constructor(t,r){super(),this.delimiter="_",this.key=t,r instanceof je?this.qualifierValue=r:(this.qualifierValue=new je,this.qualifierValue.addValue(r))}toString(){const{key:t,delimiter:r,qualifierValue:n}=this;return`${t}${r}${n.toString()}`}addValue(t){return this.qualifierValue.addValue(t),this}},Mt=class extends K{constructor(t,r){let n;r?n=new je([t,`${r}`]).setDelimiter(":"):n=t,super("fl",n),this.flagValue=r}toString(){return super.toString().replace(/\./,"%2E")}getFlagValue(){return this.flagValue}};function Jh(e,t){const r=Array.from(e.entries());return t.forEach(n=>{r.push(["fl",n])}),r.sort().map(n=>n[1])}function Kh(){var e,t,r;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;return o&&o instanceof Error?{error:o}:n?this._actionModel:{error:$i(`unsupported action ${this.constructor.name}`)}}let Xh=class{constructor(){this._actionModel={}}toJson(){return Kh.apply(this)}},zt=class extends Xh{constructor(){super(...arguments),this.qualifiers=new Map,this.flags=[],this.delimiter=",",this.actionTag=""}prepareQualifiers(){}getActionTag(){return this.actionTag}setActionTag(t){return this.actionTag=t,this}toString(){return this.prepareQualifiers(),Jh(this.qualifiers,this.flags).join(this.delimiter)}addQualifier(t){if(typeof t=="string"){const[r,n]=t.toLowerCase().split("_");r==="fl"?this.flags.push(new Mt(n)):this.qualifiers.set(r,new K(r,n))}else this.qualifiers.set(t.key,t);return this}addFlag(t){return typeof t=="string"?this.flags.push(new Mt(t)):t instanceof Mt&&this.flags.push(t),this}addValueToQualifier(t,r){return this.qualifiers.get(t).addValue(r),this}};class Ti extends zt{constructor(t){super(),this.regionType=t,this._actionModel.regionType=t}}class ro extends Ti{constructor(){super("custom")}x(t){return this._actionModel.x=t,this.addQualifier(new K("x",t)),this}y(t){return this._actionModel.y=t,this.addQualifier(new K("y",t)),this}width(t){return this._actionModel.width=t,this.addQualifier(new K("w",t)),this}height(t){return this._actionModel.height=t,this.addQualifier(new K("h",t)),this}static fromJson(t){const r=new ro;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}}function Zh(){return new ro}function nc(){return new Ti("faces")}function eg(){return new Ti("ocr_text")}class tg extends zt{constructor(t){super(),this._actionModel={},this._strength=t,this._actionModel.actionType="blur",this._actionModel.strength=t}region(t){return this._region=t,this._actionModel.region=t.toJson(),this}strength(t){return this._strength=t,this._actionModel.strength=t,this}prepareQualifiers(){const t=this._strength?`:${this._strength}`:"";"_region"in this?(this._region.qualifiers.forEach(n=>this.addQualifier(n)),this._region.regionType==="custom"&&this.addQualifier(new K("e",`blur_region${t}`)),this._region.regionType==="ocr_text"&&(this.addQualifier(new K("e",`blur_region${t}`)),this.addQualifier(new K("g","ocr_text"))),this._region.regionType==="faces"&&this.addQualifier(new K("e",`blur_faces${t}`))):this.addQualifier(new K("e",`blur${t}`))}static fromJson(t){const{strength:r,region:n}=t,o=new this(r);return r&&o.strength(r),n&&n.regionType==="faces"&&o.region(nc()),n&&n.regionType==="ocr_text"&&o.region(eg()),n&&n.regionType==="custom"&&o.region(ro.fromJson(n)),o}}function vr(e){const t={};return Object.keys(e).forEach(r=>{t[e[r]]=r}),t}const oc={limitFit:"limit",limitFill:"lfill",minimumFit:"mfit",thumbnail:"thumb",limitPad:"lpad",minimumPad:"mpad"},rg={colorSpace:"cs",dpr:"dpr",density:"dn",defaultImage:"d",format:"f",quality:"q"},ic={redEye:"redeye",advancedRedEye:"adv_redeye",oilPaint:"oil_paint",unsharpMask:"unsharp_mask",makeTransparent:"make_transparent",generativeRestore:"gen_restore",upscale:"upscale"},sc={autoBest:"auto:best",autoEco:"auto:eco",autoGood:"auto:good",autoLow:"auto:low",jpegminiHigh:"jpegmini:1",jpegminiMedium:"jpegmini:2",jpegminiBest:"jpegmini:0"},ng={fullHd:"full_hd",fullHdWifi:"full_hd_wifi",fullHdLean:"full_hd_lean",hdLean:"hd_lean"},ac={444:"CHROMA_444",420:"CHROMA_420"},og={noCmyk:"no_cmyk",keepCmyk:"keep_cmyk",tinySrgb:"tinysrgb",srgbTrueColor:"srgb:truecolor"},ig=vr(ac);vr(og);const sg=vr(oc),ag=vr(rg),cc=vr(ic);vr(sc);vr(ng);class uc extends zt{constructor(t,r){super(),this._actionModel={},this._actionModel.actionType=cc[t]||t;const n=this.createEffectQualifier(t,r);this.addQualifier(n)}createEffectQualifier(t,r){let n;return r?n=new je([t,`${r}`]).setDelimiter(":"):n=new je(t),new K("e",n)}static fromJson(t){const{actionType:r,level:n,strength:o}=t,i=ic[r]||r;return new this(i,n||o)}}class cg extends uc{constructor(t,r){super(t,r),this.LEVEL_NAME="level",this._actionModel={},this.effectType=t,this._actionModel.actionType=cc[t]||t,r&&this.setLevel(r)}setLevel(t){this._actionModel[this.LEVEL_NAME]=t;const r=this.createEffectQualifier(this.effectType,t);return this.addQualifier(r),this}}function no(e){return e&&(e.match(/^#/)?`rgb:${e.substr(1)}`:e)}class ug extends zt{constructor(){super(),this._actionModel={},this._actionModel.actionType="vectorize"}numOfColors(t){return this._actionModel.numOfColors=t,this._numOfColors=t,this}detailsLevel(t){return this._actionModel.detailLevel=t,this._detailsLevel=t,this}despeckleLevel(t){return this._actionModel.despeckleLevel=t,this._despeckleLevel=t,this}cornersLevel(t){return this._actionModel.cornersLevel=t,this._cornersLevel=t,this}paths(t){return this._actionModel.paths=t,this._paths=t,this}prepareQualifiers(){let t="vectorize";this._numOfColors&&(t+=`:${new je(`colors:${this._numOfColors}`).toString()}`),this._detailsLevel&&(t+=`:${new je(`detail:${this._detailsLevel}`).toString()}`),this._despeckleLevel&&(t+=`:${new je(`despeckle:${this._despeckleLevel}`).toString()}`),this._paths&&(t+=`:${new je(`paths:${this._paths}`).toString()}`),this._cornersLevel&&(t+=`:${new je(`corners:${this._cornersLevel}`).toString()}`),this.addQualifier(new K("e",t))}static fromJson(t){const{actionType:r,paths:n,cornersLevel:o,despeckleLevel:i,detailLevel:s,numOfColors:u}=t,l=new this;return n&&l.paths(n),o&&l.cornersLevel(o),i&&l.despeckleLevel(i),s&&l.detailsLevel(s),u&&l.numOfColors(u),l}}class lg extends cg{level(t){return this._actionModel.level=t,this.setLevel(t)}}class fg extends zt{constructor(){super(),this._actionModel={},this._actionModel.actionType="assistColorblind",this.addQualifier(new K("e",new je("assist_colorblind")))}xray(){return this._actionModel.type="xray",this.addQualifier(new K("e",new je(["assist_colorblind","xray"]).setDelimiter(":")))}stripesStrength(t){return this._actionModel.type="stripes",this._actionModel.stripesStrength=t,this.addQualifier(new K("e",new je(["assist_colorblind",t]).setDelimiter(":")))}static fromJson(t){const{actionType:r,type:n,stripesStrength:o}=t,i=new this;return n==="xray"&&i.xray(),n==="stripes"&&o&&i.stripesStrength(o),i}}class dg extends lg{color(t){return this._actionModel.color=t,this.addQualifier(new K("co",new je(no(t))))}static fromJson(t){const{actionType:r,level:n,color:o}=t,i=new this(r,n);return o&&i.color(o),i}}class pg extends zt{constructor(t){super(),this._actionModel={},this._squareSize=t,this._actionModel.actionType="pixelate",this._actionModel.squareSize=t}region(t){return this._region=t,this._actionModel.region={regionType:this._region.regionType},this}squareSize(t){return this._squareSize=t,this._actionModel.squareSize=t,this}prepareQualifiers(){const t=this._squareSize?`:${this._squareSize}`:"";"_region"in this?(this._region.qualifiers.forEach(n=>this.addQualifier(n)),this._region.regionType==="custom"&&this.addQualifier(new K("e",`pixelate_region${t}`)),this._region.regionType==="ocr_text"&&(this.addQualifier(new K("e",`pixelate_region${t}`)),this.addQualifier(new K("g","ocr_text"))),this._region.regionType==="faces"&&this.addQualifier(new K("e",`pixelate_faces${t}`))):this.addQualifier(new K("e",`pixelate${t}`))}static fromJson(t){const{region:r,squareSize:n}=t,o=new this(n);return n&&o.squareSize(n),r&&r.regionType==="faces"&&o.region(nc()),r&&r.regionType==="custom"&&o.region(Zh()),o}}function hg(e){return new tg(e)}function gg(){return new uc("grayscale")}function zs(e){return new dg("colorize",e)}function mg(){return new ug}function yg(){return new fg}function vg(e){return new pg(e)}let bg=class extends zt{constructor(t){super(),this._actionModel={},this.addQualifier(new K("b",new je(no(t)).setDelimiter("_"))),this._actionModel.color=t,this._actionModel.actionType="backgroundColor"}static fromJson(t){const{color:r}=t;return new this(r)}},Us=class{constructor(t){this.raw=t}toString(){return this.raw}toJson(){return{error:$i(`unsupported action ${this.constructor.name}`)}}};function wg(e){const t=e;return"error"in t&&!!t.error}function _g(){return new Mt("ignore_aspect_ratio")}function Sg(){return new Mt("lossy")}function xg(){return new Mt("preserve_transparency")}function Eg(e){return new Mt("progressive",e)}function $g(){return new Mt("region_relative")}function Tg(){return new Mt("relative")}let Ai=class extends je{constructor(t){super(t),this.val=t}getValue(){return this.val}},lc=class extends zt{constructor(t,r,n){super(),this._actionModel={};let o;r instanceof Ai?o=r.getValue():o=r,this._actionModel.actionType=ag[t],this._actionModel[n]=o,this.addQualifier(new K(t,r))}},Ag=class extends Mt{constructor(t){super("progressive",t)}},oi=class extends lc{constructor(t,r){super(t,r,"formatType")}lossy(){return this._actionModel.lossy=!0,this.addFlag(Sg()),this}progressive(t){return t instanceof Ag?(this._actionModel.progressive={mode:t.getFlagValue()},this.addFlag(t)):(this._actionModel.progressive={mode:t},this.addFlag(Eg(t))),this}preserveTransparency(){return this._actionModel.preserveTransparency=!0,this.addFlag(xg()),this}static fromJson(t){const{formatType:r,lossy:n,progressive:o,preserveTransparency:i}=t;let s;return r?s=new this("f",r):s=new this("f"),o&&(o.mode?s.progressive(o.mode):s.progressive()),n&&s.lossy(),i&&s.preserveTransparency(),s}},oo=class fc{constructor(){this.actions=[]}addAction(t){let r;if(typeof t=="string"){if(t.indexOf("/")>=0)throw"addAction cannot accept a string with a forward slash in it - /, use .addTransformation() instead";r=new Us(t)}else r=t;return this.actions.push(r),this}addTransformation(t){return t instanceof fc?this.actions=this.actions.concat(t.actions):this.actions.push(new Us(t)),this}toString(){return this.actions.map(t=>t.toString()).filter(t=>t).join("/")}animated(t){return this.addAction(t)}border(t){return this.addAction(t)}reshape(t){return this.addAction(t)}resize(t){return this.addAction(t)}quality(t){return this.addAction(new oi("q",t)),this}format(t){return this.addAction(new oi("f",t)),this}roundCorners(t){return this.addAction(t)}overlay(t){return this.addAction(t)}underlay(t){return t.setLayerType("u"),this.addAction(t)}addVariable(t){return this.addAction(t)}conditional(t){return this.addAction(t)}effect(t){return this.addAction(t)}adjust(t){return this.addAction(t)}rotate(t){return this.addAction(t)}namedTransformation(t){return this.addAction(t)}delivery(t){return this.addAction(t)}backgroundColor(t){return this.addAction(new bg(t))}psdTools(t){return this.addAction(t)}extract(t){return this.addAction(t)}addFlag(t){const r=new zt;let n=t;return typeof t=="string"&&(n=new Mt(t)),r.addQualifier(n),this.addAction(r)}customFunction(t){return this.addAction(t)}transcode(t){return this.addAction(t)}videoEdit(t){return this.addAction(t)}toJson(){const t=[];for(const r of this.actions){const n=r.toJson();if(wg(n))return n;t.push(n)}return{actions:t}}};function Ws(e){const t=e.toString();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}class Og extends je{}class Cg extends zt{constructor(t,r,n){super(),this._actionModel={dimensions:{}},this._actionModel.actionType=sg[t]||t,this.addQualifier(new K("c",t)),r&&this.width(r),n&&this.height(n)}height(t){return this._actionModel.dimensions.height=t,this.addQualifier(new K("h",t))}width(t){return this._actionModel.dimensions.width=t,this.addQualifier(new K("w",t))}aspectRatio(t){if(t instanceof Og)return this._actionModel.dimensions.aspectRatio=`${t}`,this.addQualifier(new K("ar",t));if(typeof t=="number"||typeof t=="string")return this._actionModel.dimensions.aspectRatio=Ws(t),this.addQualifier(new K("ar",Ws(t)));if(t instanceof Mt)return this._actionModel.dimensions.aspectRatio=`${t.qualifierValue}`,this.addFlag(t)}relative(){return this._actionModel.relative=!0,this.addFlag(Tg())}regionRelative(){return this._actionModel.regionRelative=!0,this.addFlag($g())}static fromJson(t){const{actionType:r,dimensions:n,relative:o,regionRelative:i}=t,{aspectRatio:s,width:u,height:l}=n,d=oc[r]||r,h=new this(d,u,l);return s&&h.aspectRatio(s==="ignore_aspect_ratio"?_g():s),o&&h.relative(),i&&h.regionRelative(),h}}class Oi extends K{constructor(t){super("g",new je(t))}}class dc extends Oi{constructor(){super("auto")}autoFocus(...t){return this.addValue(t),this}}class pc extends Oi{constructor(t){super(t)}fallbackGravity(t){return this.addValue(t.qualifierValue),this}}class hc extends Oi{constructor(t){super(t)}}function Rg(e){return new hc(e)}function gc(...e){const t=[...e];return new pc(t)}function mc(){return new dc}class io extends je{constructor(t){super(),this.name=t}toString(){return this.name}}function kg(){return new io("ocr_text")}function Pg(e){return e&&`${e}`.split(":")[0]==="auto"}function jg(e){const t=Ci(e);return["north","center","east","west","south","north_west","south_east","south_west","north_east"].includes(t)}function Ci(e){return`${e}`.replace("g_","")}function Ig(e){return{compass:Ci(e),gravityType:"direction"}}function Mg(e){return Ci(e)==="ocr_text"}function Lg(){return{gravityType:"ocr"}}function Dg(e){return`${e.qualifierValue}`.split(":")[0]==="auto"}function Ng(e){const r=e.toString().split("_"),n={object:r[0]};return r.length>1&&(r[1]==="avoid"?n.avoid=!0:n.weight=+r[1]),n}function yc(e){let t;const r=e==="auto"?new dc:e;return`${e}`.startsWith("auto:")?t=`${e}`.split(":").filter(o=>o!=="auto"):t=r.qualifierValue.values.filter(o=>o!=="auto"),{gravityType:"auto",autoFocus:t.map(Ng)}}function Fg(e){const t=`${e}`.split(":").includes("auto"),r=e.qualifierValue.values,o={gravityType:"object",focusOnObjects:(t?r.slice(0,r.length-1):r).map(i=>`${i}`)};if(t){const i=r[r.length-1].values.slice(1),s=mc().autoFocus(...i);o.fallbackGravity=yc(s)}return o}function Vg(e){const r=e.split(":").map(n=>new io(n));return new pc(r)}function Bg(e){return jg(e)?Ig(e):Mg(e)?Lg():Pg(e)||Dg(e)?yc(e):Fg(typeof e=="string"?Vg(e):e)}class Ri extends je{constructor(t,r){super(),this._weight=r,this.focusOn=t,this.shouldAvoid=!1}static focusOn(t,r){return new Ri(t,r)}shouldAddWeight(){return typeof this._weight=="number"||typeof this._weight=="string"||this.shouldAvoid}getName(){return this.focusOn.name}getWeight(){return this.shouldAvoid?"avoid":this._weight}toString(){return this.shouldAddWeight()?`${this.getName()}_${this.getWeight()}`:`${this.getName()}`}weight(t){return this._weight=t,this}avoid(){return this.shouldAvoid=!0,this}}class vc extends je{constructor(t){super(),this.val=t}toString(){return this.val}}function zg(e){return e.gravityType==="direction"}function Ug(e){return e.gravityType==="ocr"}function Wg(e){return e.gravityType==="auto"}function qg(e){const{object:t,weight:r,avoid:n}=e,o=new Ri(new io(t));return(r||r===0)&&o.weight(r),n&&o.avoid(),o}function bc(e){const r=(e.autoFocus||[]).map(qg);return mc().autoFocus(...r)}function Gg(e){const t=(e.focusOnObjects||[]).map(n=>new io(n)),r=gc(...t);if(e.fallbackGravity){const n=bc(e.fallbackGravity);r.fallbackGravity(n)}return r}function Hg(e){return zg(e)?new hc(new vc(e.compass)):Ug(e)?gc(kg()):Wg(e)?bc(e):Gg(e)}class ki extends Cg{gravity(t){this._actionModel.gravity=Bg(t);const r=typeof t=="string"?new K("g",t):t;return this.addQualifier(r)}static fromJson(t){const r=super.fromJson.apply(this,[t]);return t.gravity&&r.gravity(Hg(t.gravity)),r}}class un extends K{constructor(t){super("b"),t&&this.addValue(t)}}const wc=100,Yg=0;class Qg extends un{intensity(t){return this.intensityLevel=t,this}brightness(t){return this.brightnessLevel=t,this}toString(){const t=this.intensityLevel!==void 0?`:${this.intensityLevel}`:"",r=this.brightnessLevel!==void 0?this.intensityLevel!==void 0?`:${this.brightnessLevel}`:`:${wc}:${this.brightnessLevel}`:"";return`b_blurred${t}${r}`}}var _c=Qg;class Pi extends un{constructor(){super(),this._palette=[]}contrast(){return this._contrast=!0,this}palette(...t){return this._palette=t.map(r=>no(r)),this}}class Sc extends Pi{toString(){return`
|
|
425
|
+
`,Wh=E.forwardRef(function({children:t,color:r,display:n,fontFamily:o,fontWeight:i,letterSpacing:s,lineSpacing:l,size:u,wordBreak:d,...h},y){return De.jsx(zh,{$color:r,$display:n,$fontFamily:o,$fontWeight:i,$letterSpacing:s,lineSpacing:l,$size:u,$wordBreak:d,ref:y,...h,children:t})}),ei=E.forwardRef(function({children:t,color:r,display:n,fontFamily:o,fontWeight:i,letterSpacing:s,lineSpacing:l,size:u,wordBreak:d,...h},y){return De.jsx(Uh,{$color:r,$display:n,$fontFamily:o,$fontWeight:i,$letterSpacing:s,lineSpacing:l,$size:u,$wordBreak:d,ref:y,...h,children:t})}),rc=E.forwardRef(function({children:t,disabled:r=!1,display:n="inline-block",effect:o="solid",icon:i,iconColor:s,iconSize:l,id:u,maxWidth:d,nodeTip:h,place:y="bottom",tip:S="",title:b="",hide:$=S===""&&b===""&&h===void 0,...T},k){const[A,O]=E.useState(!1),R=E.useRef(null),I=E.useCallback(()=>{R.current!==null&&clearTimeout(R.current),R.current=setTimeout(()=>{O(!0)},100)},[]),M=E.useCallback(()=>{R.current!==null&&clearTimeout(R.current),R.current=setTimeout(()=>{O(!1)},100)},[]);return r?De.jsx(E.StrictMode,{children:t}):De.jsxs(Fh,{"data-tooltip-id":u,display:n,onMouseLeave:M,onMouseMove:I,ref:k,...T,children:[i?De.jsx(Ei,{children:De.jsx(Mn,{clickable:!0,disabled:r,icon:i,iconColor:s,iconSize:l??"xxs",iconType:A?"fa-solid":"fa-light"})}):t,cl.createPortal(De.jsx(Vh,{$maxWidth:d,children:De.jsxs(Nh,{delayShow:500,float:o==="float"?!0:void 0,globalCloseEvents:{resize:!0},hidden:$||!A,id:u,middlewares:[Ef({fallbackAxisSideDirection:"start"}),xf({mainAxis:10})],noArrow:o==="float",place:y,children:[Ro(b)?void 0:De.jsx(ei,{color:Pe.palette.white,fontWeight:"bold",lineSpacing:1.5,size:"xs",textAlign:"start",wordWrap:"break-word",children:b}),Ro(S)?void 0:De.jsx(ei,{color:Pe.palette.gray[100],lineSpacing:1.5,size:"xs",textAlign:"start",wordWrap:"break-word",children:S}),Ro(h)?void 0:h]})}),document.getElementById("root")??document.body)]})}),qh=E.forwardRef(function({bold:t=!1,children:r,disabled:n=!1,id:o,icon:i,mode:s,name:l,onClick:u,showArrow:d=!1,type:h="button",tooltip:y,tooltipPlace:S="bottom",underline:b=!1,value:$,variant:T,resolution:k=Vu(T)?"platform":"desktop",...A},O){const R=y!==void 0,I=`${o}-tooltip`;return De.jsx(rc,{disabled:!R,id:I,place:S,tip:y,children:De.jsx(Du,{$variant:T,className:s,children:De.jsxs(Nu,{$bold:t,$resolution:k,$variant:T,className:`${s} ${k} ${b&&"underline"}`,disabled:n,id:o,name:l,onClick:u,ref:O,type:h,value:$,...R?{"data-tooltip-id":I}:{},...A,children:[i!==void 0&&De.jsx(Mn,{icon:i,iconType:"fa-light",iconSize:"xs"}),r,(d||T==="link")&&De.jsx(Mn,{icon:"arrow-right",iconType:"fa-light",iconSize:"xs"})]})})})});var er=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},ti={exports:{}};(function(e,t){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]",S="[object Map]",b="[object Number]",$="[object Object]",T="[object Promise]",k="[object RegExp]",A="[object Set]",O="[object String]",R="[object Symbol]",I="[object WeakMap]",M="[object ArrayBuffer]",D="[object DataView]",P="[object Float32Array]",me="[object Float64Array]",ye="[object Int8Array]",fe="[object Int16Array]",Ne="[object Int32Array]",Ie="[object Uint8Array]",ve="[object Uint8ClampedArray]",Q="[object Uint16Array]",Se="[object Uint32Array]",oe=/[\\^$.*+?()[\]{}|]/g,ie=/\w*$/,se=/^\[object .+?Constructor\]$/,te=/^(?:0|[1-9]\d*)$/,q={};q[i]=q[s]=q[M]=q[D]=q[l]=q[u]=q[P]=q[me]=q[ye]=q[fe]=q[Ne]=q[S]=q[b]=q[$]=q[k]=q[A]=q[O]=q[R]=q[Ie]=q[ve]=q[Q]=q[Se]=!0,q[d]=q[h]=q[I]=!1;var ae=typeof er=="object"&&er&&er.Object===Object&&er,pe=typeof self=="object"&&self&&self.Object===Object&&self,G=ae||pe||Function("return this")(),it=t&&!t.nodeType&&t,et=it&&!0&&e&&!e.nodeType&&e,We=et&&et.exports===it;function qe(c,g){return c.set(g[0],g[1]),c}function le(c,g){return c.add(g),c}function be(c,g){for(var w=-1,L=c?c.length:0;++w<L&&g(c[w],w,c)!==!1;);return c}function xe(c,g){for(var w=-1,L=g.length,ot=c.length;++w<L;)c[ot+w]=g[w];return c}function Be(c,g,w,L){for(var ot=-1,$t=c?c.length:0;++ot<$t;)w=g(w,c[ot],ot,c);return w}function Re(c,g){for(var w=-1,L=Array(c);++w<c;)L[w]=g(w);return L}function ut(c,g){return c==null?void 0:c[g]}function Rt(c){var g=!1;if(c!=null&&typeof c.toString!="function")try{g=!!(c+"")}catch{}return g}function Ee(c){var g=-1,w=Array(c.size);return c.forEach(function(L,ot){w[++g]=[ot,L]}),w}function ft(c,g){return function(w){return c(g(w))}}function Qe(c){var g=-1,w=Array(c.size);return c.forEach(function(L){w[++g]=L}),w}var dt=Array.prototype,ue=Function.prototype,pt=Object.prototype,ht=G["__core-js_shared__"],gt=function(){var c=/[^.]+$/.exec(ht&&ht.keys&&ht.keys.IE_PROTO||"");return c?"Symbol(src)_1."+c:""}(),Ot=ue.toString,tt=pt.hasOwnProperty,st=pt.toString,mt=RegExp("^"+Ot.call(tt).replace(oe,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Je=We?G.Buffer:void 0,_t=G.Symbol,St=G.Uint8Array,kt=ft(Object.getPrototypeOf,Object),Ge=Object.create,Pt=pt.propertyIsEnumerable,rt=dt.splice,we=Object.getOwnPropertySymbols,Dt=Je?Je.isBuffer:void 0,Nt=ft(Object.keys,Object),yt=H(G,"DataView"),vt=H(G,"Map"),He=H(G,"Promise"),at=H(G,"Set"),ze=H(G,"WeakMap"),Ye=H(Object,"create"),xt=ar(yt),_e=ar(vt),Ke=ar(He),N=ar(at),X=ar(ze),ke=_t?_t.prototype:void 0,bt=ke?ke.valueOf:void 0;function C(c){var g=-1,w=c?c.length:0;for(this.clear();++g<w;){var L=c[g];this.set(L[0],L[1])}}function V(){this.__data__=Ye?Ye(null):{}}function z(c){return this.has(c)&&delete this.__data__[c]}function $e(c){var g=this.__data__;if(Ye){var w=g[c];return w===n?void 0:w}return tt.call(g,c)?g[c]:void 0}function Me(c){var g=this.__data__;return Ye?g[c]!==void 0:tt.call(g,c)}function ct(c,g){var w=this.__data__;return w[c]=Ye&&g===void 0?n:g,this}C.prototype.clear=V,C.prototype.delete=z,C.prototype.get=$e,C.prototype.has=Me,C.prototype.set=ct;function Te(c){var g=-1,w=c?c.length:0;for(this.clear();++g<w;){var L=c[g];this.set(L[0],L[1])}}function f(){this.__data__=[]}function v(c){var g=this.__data__,w=sr(g,c);if(w<0)return!1;var L=g.length-1;return w==L?g.pop():rt.call(g,w,1),!0}function x(c){var g=this.__data__,w=sr(g,c);return w<0?void 0:g[w][1]}function F(c){return sr(this.__data__,c)>-1}function ne(c,g){var w=this.__data__,L=sr(w,c);return L<0?w.push([c,g]):w[L][1]=g,this}Te.prototype.clear=f,Te.prototype.delete=v,Te.prototype.get=x,Te.prototype.has=F,Te.prototype.set=ne;function ee(c){var g=-1,w=c?c.length:0;for(this.clear();++g<w;){var L=c[g];this.set(L[0],L[1])}}function J(){this.__data__={hash:new C,map:new(vt||Te),string:new C}}function Y(c){return U(this,c).delete(c)}function Le(c){return U(this,c).get(c)}function B(c){return U(this,c).has(c)}function ce(c,g){return U(this,c).set(c,g),this}ee.prototype.clear=J,ee.prototype.delete=Y,ee.prototype.get=Le,ee.prototype.has=B,ee.prototype.set=ce;function Ae(c){this.__data__=new Te(c)}function Xe(){this.__data__=new Te}function Ht(c){return this.__data__.delete(c)}function nt(c){return this.__data__.get(c)}function uo(c){return this.__data__.has(c)}function dn(c,g){var w=this.__data__;if(w instanceof Te){var L=w.__data__;if(!vt||L.length<r-1)return L.push([c,g]),this;w=this.__data__=new ee(L)}return w.set(c,g),this}Ae.prototype.clear=Xe,Ae.prototype.delete=Ht,Ae.prototype.get=nt,Ae.prototype.has=uo,Ae.prototype.set=dn;function fo(c,g){var w=_o(c)||tl(c)?Re(c.length,String):[],L=w.length,ot=!!L;for(var $t in c)tt.call(c,$t)&&!(ot&&($t=="length"||jt($t,L)))&&w.push($t);return w}function Dr(c,g,w){var L=c[g];(!(tt.call(c,g)&&qi(L,w))||w===void 0&&!(g in c))&&(c[g]=w)}function sr(c,g){for(var w=c.length;w--;)if(qi(c[w][0],g))return w;return-1}function pn(c,g){return c&&_(g,So(g),c)}function Nr(c,g,w,L,ot,$t,Qt){var Tt;if(L&&(Tt=$t?L(c,ot,$t,Qt):L(c)),Tt!==void 0)return Tt;if(!vn(c))return c;var Yi=_o(c);if(Yi){if(Tt=Et(c),!g)return m(c,Tt)}else{var wr=Ve(c),Qi=wr==h||wr==y;if(nl(c))return go(c,g);if(wr==$||wr==i||Qi&&!$t){if(Rt(c))return $t?c:{};if(Tt=wt(Qi?{}:c),!g)return j(c,pn(Tt,c))}else{if(!q[wr])return $t?c:{};Tt=Yt(c,wr,Nr,g)}}Qt||(Qt=new Ae);var Ji=Qt.get(c);if(Ji)return Ji;if(Qt.set(c,Tt),!Yi)var Ki=w?re(c):So(c);return be(Ki||c,function(xo,bn){Ki&&(bn=xo,xo=c[bn]),Dr(Tt,bn,Nr(xo,g,w,L,bn,c,Qt))}),Tt}function hn(c){return vn(c)?Ge(c):{}}function gn(c,g,w){var L=g(c);return _o(c)?L:xe(L,w(c))}function po(c){return st.call(c)}function ho(c){if(!vn(c)||yn(c))return!1;var g=Hi(c)||Rt(c)?mt:se;return g.test(ar(c))}function mn(c){if(!Vr(c))return Nt(c);var g=[];for(var w in Object(c))tt.call(c,w)&&w!="constructor"&&g.push(w);return g}function go(c,g){if(g)return c.slice();var w=new c.constructor(c.length);return c.copy(w),w}function Fr(c){var g=new c.constructor(c.byteLength);return new St(g).set(new St(c)),g}function mo(c,g){var w=g?Fr(c.buffer):c.buffer;return new c.constructor(w,c.byteOffset,c.byteLength)}function yo(c,g,w){var L=g?w(Ee(c),!0):Ee(c);return Be(L,qe,new c.constructor)}function vo(c){var g=new c.constructor(c.source,ie.exec(c));return g.lastIndex=c.lastIndex,g}function bo(c,g,w){var L=g?w(Qe(c),!0):Qe(c);return Be(L,le,new c.constructor)}function a(c){return bt?Object(bt.call(c)):{}}function p(c,g){var w=g?Fr(c.buffer):c.buffer;return new c.constructor(w,c.byteOffset,c.length)}function m(c,g){var w=-1,L=c.length;for(g||(g=Array(L));++w<L;)g[w]=c[w];return g}function _(c,g,w,L){w||(w={});for(var ot=-1,$t=g.length;++ot<$t;){var Qt=g[ot],Tt=void 0;Dr(w,Qt,Tt===void 0?c[Qt]:Tt)}return w}function j(c,g){return _(c,Fe(c),g)}function re(c){return gn(c,So,Fe)}function U(c,g){var w=c.__data__;return wo(g)?w[typeof g=="string"?"string":"hash"]:w.map}function H(c,g){var w=ut(c,g);return ho(w)?w:void 0}var Fe=we?ft(we,Object):sl,Ve=po;(yt&&Ve(new yt(new ArrayBuffer(1)))!=D||vt&&Ve(new vt)!=S||He&&Ve(He.resolve())!=T||at&&Ve(new at)!=A||ze&&Ve(new ze)!=I)&&(Ve=function(c){var g=st.call(c),w=g==$?c.constructor:void 0,L=w?ar(w):void 0;if(L)switch(L){case xt:return D;case _e:return S;case Ke:return T;case N:return A;case X:return I}return g});function Et(c){var g=c.length,w=c.constructor(g);return g&&typeof c[0]=="string"&&tt.call(c,"index")&&(w.index=c.index,w.input=c.input),w}function wt(c){return typeof c.constructor=="function"&&!Vr(c)?hn(kt(c)):{}}function Yt(c,g,w,L){var ot=c.constructor;switch(g){case M:return Fr(c);case l:case u:return new ot(+c);case D:return mo(c,L);case P:case me:case ye:case fe:case Ne:case Ie:case ve:case Q:case Se:return p(c,L);case S:return yo(c,L,w);case b:case O:return new ot(c);case k:return vo(c);case A:return bo(c,L,w);case R:return a(c)}}function jt(c,g){return g=g??o,!!g&&(typeof c=="number"||te.test(c))&&c>-1&&c%1==0&&c<g}function wo(c){var g=typeof c;return g=="string"||g=="number"||g=="symbol"||g=="boolean"?c!=="__proto__":c===null}function yn(c){return!!gt&> in c}function Vr(c){var g=c&&c.constructor,w=typeof g=="function"&&g.prototype||pt;return c===w}function ar(c){if(c!=null){try{return Ot.call(c)}catch{}try{return c+""}catch{}}return""}function el(c){return Nr(c,!0,!0)}function qi(c,g){return c===g||c!==c&&g!==g}function tl(c){return rl(c)&&tt.call(c,"callee")&&(!Pt.call(c,"callee")||st.call(c)==i)}var _o=Array.isArray;function Gi(c){return c!=null&&ol(c.length)&&!Hi(c)}function rl(c){return il(c)&&Gi(c)}var nl=Dt||al;function Hi(c){var g=vn(c)?st.call(c):"";return g==h||g==y}function ol(c){return typeof c=="number"&&c>-1&&c%1==0&&c<=o}function vn(c){var g=typeof c;return!!c&&(g=="object"||g=="function")}function il(c){return!!c&&typeof c=="object"}function So(c){return Gi(c)?fo(c):mn(c)}function sl(){return[]}function al(){return!1}e.exports=el})(ti,ti.exports);var tr=ti.exports,ri=function(){return ri=Object.assign||function(t){for(var r,n=1,o=arguments.length;n<o;n++){r=arguments[n];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(t[i]=r[i])}return t},ri.apply(this,arguments)};function Gh(e,t,r,n){function o(i){return i instanceof r?i:new r(function(s){s(i)})}return new(r||(r=Promise))(function(i,s){function l(h){try{d(n.next(h))}catch(y){s(y)}}function u(h){try{d(n.throw(h))}catch(y){s(y)}}function d(h){h.done?i(h.value):o(h.value).then(l,u)}d((n=n.apply(e,[])).next())})}function Hh(e,t){var r={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},n,o,i,s;return s={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function l(d){return function(h){return u([d,h])}}function u(d){if(n)throw new TypeError("Generator is already executing.");for(;s&&(s=0,d[0]&&(r=0)),r;)try{if(n=1,o&&(i=d[0]&2?o.return:d[0]?o.throw||((i=o.return)&&i.call(o),0):o.next)&&!(i=i.call(o,d[1])).done)return i;switch(o=0,i&&(d=[d[0]&2,i.value]),d[0]){case 0:case 1:i=d;break;case 4:return r.label++,{value:d[1],done:!1};case 5:r.label++,o=d[1],d=[0];continue;case 7:d=r.ops.pop(),r.trys.pop();continue;default:if(i=r.trys,!(i=i.length>0&&i[i.length-1])&&(d[0]===6||d[0]===2)){r=0;continue}if(d[0]===3&&(!i||d[1]>i[0]&&d[1]<i[3])){r.label=d[1];break}if(d[0]===6&&r.label<i[1]){r.label=i[1],i=d;break}if(i&&r.label<i[2]){r.label=i[2],r.ops.push(d);break}i[2]&&r.ops.pop(),r.trys.pop();continue}d=t.call(e,r)}catch(h){d=[6,h],o=0}finally{n=i=0}if(d[0]&5)throw d[1];return{value:d[0]?d[1]:void 0,done:!0}}}function Bn(e,t,r,n,o){return Gh(this,void 0,void 0,function(){var i,s;return Hh(this,function(l){switch(l.label){case 0:if(r===void 0)return[2];s=0,l.label=1;case 1:return s<r.length?[4,r[s](e,t,n,o,r)]:[3,4];case 2:if(i=l.sent(),i==="canceled")return[3,4];l.label=3;case 3:return s++,[3,1];case 4:return i!=="canceled"?[2,i]:[2]}})})}var ni=function(e,t){return t===void 0&&(t={}),e?{trackedAnalytics:ri({sdkCode:e.sdkCode,sdkSemver:e.sdkSemver,techVersion:e.techVersion},t)}:null},Yh=function(){function e(t,r,n,o){var i=this;this.isMounted=!0,this.imgElement=t,this.htmlPluginState={cleanupCallbacks:[],pluginEventSubscription:[]};var s=tr(r);Bn(t,s,n,this.htmlPluginState,o).then(function(l){if(i.isMounted){i.htmlPluginState.pluginEventSubscription.forEach(function(d){d()});var u=ni(o,l);i.imgElement.setAttribute("src",s.toURL(u))}})}return e.prototype.update=function(t,r,n){var o=this,i=tr(t);Bn(this.imgElement,i,r,this.htmlPluginState).then(function(s){if(o.isMounted){var l=ni(n,s);o.imgElement.setAttribute("src",i.toURL(l))}})},e.prototype.unmount=function(){this.isMounted=!1},e}();let je=class{constructor(t){this.values=[],this.delimiter=":",this.hasValue(t)&&this.addValue(t)}toString(){return this.values.join(this.delimiter)}hasValue(t){return typeof t<"u"&&t!==null&&t!==""}addValue(t){return Array.isArray(t)?this.values=this.values.concat(t):this.values.push(t),this.values=this.values.filter(r=>this.hasValue(r)),this}setDelimiter(t){return this.delimiter=t,this}},Qh=class extends Error{constructor(t="Unsupported"){super(t)}};function $i(e){return new Qh(e)}function Jh(){return this._qualifierModel||{error:$i(`unsupported qualifier ${this.constructor.name}`)}}let Kh=class{constructor(){this._qualifierModel={}}toJson(){return Jh.apply(this)}},K=class extends Kh{constructor(t,r){super(),this.delimiter="_",this.key=t,r instanceof je?this.qualifierValue=r:(this.qualifierValue=new je,this.qualifierValue.addValue(r))}toString(){const{key:t,delimiter:r,qualifierValue:n}=this;return`${t}${r}${n.toString()}`}addValue(t){return this.qualifierValue.addValue(t),this}},Mt=class extends K{constructor(t,r){let n;r?n=new je([t,`${r}`]).setDelimiter(":"):n=t,super("fl",n),this.flagValue=r}toString(){return super.toString().replace(/\./,"%2E")}getFlagValue(){return this.flagValue}};function Xh(e,t){const r=Array.from(e.entries());return t.forEach(n=>{r.push(["fl",n])}),r.sort().map(n=>n[1])}function Zh(){var e,t,r;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;return o&&o instanceof Error?{error:o}:n?this._actionModel:{error:$i(`unsupported action ${this.constructor.name}`)}}let eg=class{constructor(){this._actionModel={}}toJson(){return Zh.apply(this)}},zt=class extends eg{constructor(){super(...arguments),this.qualifiers=new Map,this.flags=[],this.delimiter=",",this.actionTag=""}prepareQualifiers(){}getActionTag(){return this.actionTag}setActionTag(t){return this.actionTag=t,this}toString(){return this.prepareQualifiers(),Xh(this.qualifiers,this.flags).join(this.delimiter)}addQualifier(t){if(typeof t=="string"){const[r,n]=t.toLowerCase().split("_");r==="fl"?this.flags.push(new Mt(n)):this.qualifiers.set(r,new K(r,n))}else this.qualifiers.set(t.key,t);return this}addFlag(t){return typeof t=="string"?this.flags.push(new Mt(t)):t instanceof Mt&&this.flags.push(t),this}addValueToQualifier(t,r){return this.qualifiers.get(t).addValue(r),this}};class Ti extends zt{constructor(t){super(),this.regionType=t,this._actionModel.regionType=t}}class ro extends Ti{constructor(){super("custom")}x(t){return this._actionModel.x=t,this.addQualifier(new K("x",t)),this}y(t){return this._actionModel.y=t,this.addQualifier(new K("y",t)),this}width(t){return this._actionModel.width=t,this.addQualifier(new K("w",t)),this}height(t){return this._actionModel.height=t,this.addQualifier(new K("h",t)),this}static fromJson(t){const r=new ro;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}}function tg(){return new ro}function nc(){return new Ti("faces")}function rg(){return new Ti("ocr_text")}class ng extends zt{constructor(t){super(),this._actionModel={},this._strength=t,this._actionModel.actionType="blur",this._actionModel.strength=t}region(t){return this._region=t,this._actionModel.region=t.toJson(),this}strength(t){return this._strength=t,this._actionModel.strength=t,this}prepareQualifiers(){const t=this._strength?`:${this._strength}`:"";"_region"in this?(this._region.qualifiers.forEach(n=>this.addQualifier(n)),this._region.regionType==="custom"&&this.addQualifier(new K("e",`blur_region${t}`)),this._region.regionType==="ocr_text"&&(this.addQualifier(new K("e",`blur_region${t}`)),this.addQualifier(new K("g","ocr_text"))),this._region.regionType==="faces"&&this.addQualifier(new K("e",`blur_faces${t}`))):this.addQualifier(new K("e",`blur${t}`))}static fromJson(t){const{strength:r,region:n}=t,o=new this(r);return r&&o.strength(r),n&&n.regionType==="faces"&&o.region(nc()),n&&n.regionType==="ocr_text"&&o.region(rg()),n&&n.regionType==="custom"&&o.region(ro.fromJson(n)),o}}function vr(e){const t={};return Object.keys(e).forEach(r=>{t[e[r]]=r}),t}const oc={limitFit:"limit",limitFill:"lfill",minimumFit:"mfit",thumbnail:"thumb",limitPad:"lpad",minimumPad:"mpad"},og={colorSpace:"cs",dpr:"dpr",density:"dn",defaultImage:"d",format:"f",quality:"q"},ic={redEye:"redeye",advancedRedEye:"adv_redeye",oilPaint:"oil_paint",unsharpMask:"unsharp_mask",makeTransparent:"make_transparent",generativeRestore:"gen_restore",upscale:"upscale"},sc={autoBest:"auto:best",autoEco:"auto:eco",autoGood:"auto:good",autoLow:"auto:low",jpegminiHigh:"jpegmini:1",jpegminiMedium:"jpegmini:2",jpegminiBest:"jpegmini:0"},ig={fullHd:"full_hd",fullHdWifi:"full_hd_wifi",fullHdLean:"full_hd_lean",hdLean:"hd_lean"},ac={444:"CHROMA_444",420:"CHROMA_420"},sg={noCmyk:"no_cmyk",keepCmyk:"keep_cmyk",tinySrgb:"tinysrgb",srgbTrueColor:"srgb:truecolor"},ag=vr(ac);vr(sg);const cg=vr(oc),lg=vr(og),cc=vr(ic);vr(sc);vr(ig);class lc extends zt{constructor(t,r){super(),this._actionModel={},this._actionModel.actionType=cc[t]||t;const n=this.createEffectQualifier(t,r);this.addQualifier(n)}createEffectQualifier(t,r){let n;return r?n=new je([t,`${r}`]).setDelimiter(":"):n=new je(t),new K("e",n)}static fromJson(t){const{actionType:r,level:n,strength:o}=t,i=ic[r]||r;return new this(i,n||o)}}class ug extends lc{constructor(t,r){super(t,r),this.LEVEL_NAME="level",this._actionModel={},this.effectType=t,this._actionModel.actionType=cc[t]||t,r&&this.setLevel(r)}setLevel(t){this._actionModel[this.LEVEL_NAME]=t;const r=this.createEffectQualifier(this.effectType,t);return this.addQualifier(r),this}}function no(e){return e&&(e.match(/^#/)?`rgb:${e.substr(1)}`:e)}class fg extends zt{constructor(){super(),this._actionModel={},this._actionModel.actionType="vectorize"}numOfColors(t){return this._actionModel.numOfColors=t,this._numOfColors=t,this}detailsLevel(t){return this._actionModel.detailLevel=t,this._detailsLevel=t,this}despeckleLevel(t){return this._actionModel.despeckleLevel=t,this._despeckleLevel=t,this}cornersLevel(t){return this._actionModel.cornersLevel=t,this._cornersLevel=t,this}paths(t){return this._actionModel.paths=t,this._paths=t,this}prepareQualifiers(){let t="vectorize";this._numOfColors&&(t+=`:${new je(`colors:${this._numOfColors}`).toString()}`),this._detailsLevel&&(t+=`:${new je(`detail:${this._detailsLevel}`).toString()}`),this._despeckleLevel&&(t+=`:${new je(`despeckle:${this._despeckleLevel}`).toString()}`),this._paths&&(t+=`:${new je(`paths:${this._paths}`).toString()}`),this._cornersLevel&&(t+=`:${new je(`corners:${this._cornersLevel}`).toString()}`),this.addQualifier(new K("e",t))}static fromJson(t){const{actionType:r,paths:n,cornersLevel:o,despeckleLevel:i,detailLevel:s,numOfColors:l}=t,u=new this;return n&&u.paths(n),o&&u.cornersLevel(o),i&&u.despeckleLevel(i),s&&u.detailsLevel(s),l&&u.numOfColors(l),u}}class dg extends ug{level(t){return this._actionModel.level=t,this.setLevel(t)}}class pg extends zt{constructor(){super(),this._actionModel={},this._actionModel.actionType="assistColorblind",this.addQualifier(new K("e",new je("assist_colorblind")))}xray(){return this._actionModel.type="xray",this.addQualifier(new K("e",new je(["assist_colorblind","xray"]).setDelimiter(":")))}stripesStrength(t){return this._actionModel.type="stripes",this._actionModel.stripesStrength=t,this.addQualifier(new K("e",new je(["assist_colorblind",t]).setDelimiter(":")))}static fromJson(t){const{actionType:r,type:n,stripesStrength:o}=t,i=new this;return n==="xray"&&i.xray(),n==="stripes"&&o&&i.stripesStrength(o),i}}class hg extends dg{color(t){return this._actionModel.color=t,this.addQualifier(new K("co",new je(no(t))))}static fromJson(t){const{actionType:r,level:n,color:o}=t,i=new this(r,n);return o&&i.color(o),i}}class gg extends zt{constructor(t){super(),this._actionModel={},this._squareSize=t,this._actionModel.actionType="pixelate",this._actionModel.squareSize=t}region(t){return this._region=t,this._actionModel.region={regionType:this._region.regionType},this}squareSize(t){return this._squareSize=t,this._actionModel.squareSize=t,this}prepareQualifiers(){const t=this._squareSize?`:${this._squareSize}`:"";"_region"in this?(this._region.qualifiers.forEach(n=>this.addQualifier(n)),this._region.regionType==="custom"&&this.addQualifier(new K("e",`pixelate_region${t}`)),this._region.regionType==="ocr_text"&&(this.addQualifier(new K("e",`pixelate_region${t}`)),this.addQualifier(new K("g","ocr_text"))),this._region.regionType==="faces"&&this.addQualifier(new K("e",`pixelate_faces${t}`))):this.addQualifier(new K("e",`pixelate${t}`))}static fromJson(t){const{region:r,squareSize:n}=t,o=new this(n);return n&&o.squareSize(n),r&&r.regionType==="faces"&&o.region(nc()),r&&r.regionType==="custom"&&o.region(tg()),o}}function mg(e){return new ng(e)}function yg(){return new lc("grayscale")}function zs(e){return new hg("colorize",e)}function vg(){return new fg}function bg(){return new pg}function wg(e){return new gg(e)}let _g=class extends zt{constructor(t){super(),this._actionModel={},this.addQualifier(new K("b",new je(no(t)).setDelimiter("_"))),this._actionModel.color=t,this._actionModel.actionType="backgroundColor"}static fromJson(t){const{color:r}=t;return new this(r)}},Us=class{constructor(t){this.raw=t}toString(){return this.raw}toJson(){return{error:$i(`unsupported action ${this.constructor.name}`)}}};function Sg(e){const t=e;return"error"in t&&!!t.error}function xg(){return new Mt("ignore_aspect_ratio")}function Eg(){return new Mt("lossy")}function $g(){return new Mt("preserve_transparency")}function Tg(e){return new Mt("progressive",e)}function Ag(){return new Mt("region_relative")}function Og(){return new Mt("relative")}let Ai=class extends je{constructor(t){super(t),this.val=t}getValue(){return this.val}},uc=class extends zt{constructor(t,r,n){super(),this._actionModel={};let o;r instanceof Ai?o=r.getValue():o=r,this._actionModel.actionType=lg[t],this._actionModel[n]=o,this.addQualifier(new K(t,r))}},Cg=class extends Mt{constructor(t){super("progressive",t)}},oi=class extends uc{constructor(t,r){super(t,r,"formatType")}lossy(){return this._actionModel.lossy=!0,this.addFlag(Eg()),this}progressive(t){return t instanceof Cg?(this._actionModel.progressive={mode:t.getFlagValue()},this.addFlag(t)):(this._actionModel.progressive={mode:t},this.addFlag(Tg(t))),this}preserveTransparency(){return this._actionModel.preserveTransparency=!0,this.addFlag($g()),this}static fromJson(t){const{formatType:r,lossy:n,progressive:o,preserveTransparency:i}=t;let s;return r?s=new this("f",r):s=new this("f"),o&&(o.mode?s.progressive(o.mode):s.progressive()),n&&s.lossy(),i&&s.preserveTransparency(),s}},oo=class fc{constructor(){this.actions=[]}addAction(t){let r;if(typeof t=="string"){if(t.indexOf("/")>=0)throw"addAction cannot accept a string with a forward slash in it - /, use .addTransformation() instead";r=new Us(t)}else r=t;return this.actions.push(r),this}addTransformation(t){return t instanceof fc?this.actions=this.actions.concat(t.actions):this.actions.push(new Us(t)),this}toString(){return this.actions.map(t=>t.toString()).filter(t=>t).join("/")}animated(t){return this.addAction(t)}border(t){return this.addAction(t)}reshape(t){return this.addAction(t)}resize(t){return this.addAction(t)}quality(t){return this.addAction(new oi("q",t)),this}format(t){return this.addAction(new oi("f",t)),this}roundCorners(t){return this.addAction(t)}overlay(t){return this.addAction(t)}underlay(t){return t.setLayerType("u"),this.addAction(t)}addVariable(t){return this.addAction(t)}conditional(t){return this.addAction(t)}effect(t){return this.addAction(t)}adjust(t){return this.addAction(t)}rotate(t){return this.addAction(t)}namedTransformation(t){return this.addAction(t)}delivery(t){return this.addAction(t)}backgroundColor(t){return this.addAction(new _g(t))}psdTools(t){return this.addAction(t)}extract(t){return this.addAction(t)}addFlag(t){const r=new zt;let n=t;return typeof t=="string"&&(n=new Mt(t)),r.addQualifier(n),this.addAction(r)}customFunction(t){return this.addAction(t)}transcode(t){return this.addAction(t)}videoEdit(t){return this.addAction(t)}toJson(){const t=[];for(const r of this.actions){const n=r.toJson();if(Sg(n))return n;t.push(n)}return{actions:t}}};function Ws(e){const t=e.toString();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}class Rg extends je{}class kg extends zt{constructor(t,r,n){super(),this._actionModel={dimensions:{}},this._actionModel.actionType=cg[t]||t,this.addQualifier(new K("c",t)),r&&this.width(r),n&&this.height(n)}height(t){return this._actionModel.dimensions.height=t,this.addQualifier(new K("h",t))}width(t){return this._actionModel.dimensions.width=t,this.addQualifier(new K("w",t))}aspectRatio(t){if(t instanceof Rg)return this._actionModel.dimensions.aspectRatio=`${t}`,this.addQualifier(new K("ar",t));if(typeof t=="number"||typeof t=="string")return this._actionModel.dimensions.aspectRatio=Ws(t),this.addQualifier(new K("ar",Ws(t)));if(t instanceof Mt)return this._actionModel.dimensions.aspectRatio=`${t.qualifierValue}`,this.addFlag(t)}relative(){return this._actionModel.relative=!0,this.addFlag(Og())}regionRelative(){return this._actionModel.regionRelative=!0,this.addFlag(Ag())}static fromJson(t){const{actionType:r,dimensions:n,relative:o,regionRelative:i}=t,{aspectRatio:s,width:l,height:u}=n,d=oc[r]||r,h=new this(d,l,u);return s&&h.aspectRatio(s==="ignore_aspect_ratio"?xg():s),o&&h.relative(),i&&h.regionRelative(),h}}class Oi extends K{constructor(t){super("g",new je(t))}}class dc extends Oi{constructor(){super("auto")}autoFocus(...t){return this.addValue(t),this}}class pc extends Oi{constructor(t){super(t)}fallbackGravity(t){return this.addValue(t.qualifierValue),this}}class hc extends Oi{constructor(t){super(t)}}function Pg(e){return new hc(e)}function gc(...e){const t=[...e];return new pc(t)}function mc(){return new dc}class io extends je{constructor(t){super(),this.name=t}toString(){return this.name}}function jg(){return new io("ocr_text")}function Ig(e){return e&&`${e}`.split(":")[0]==="auto"}function Mg(e){const t=Ci(e);return["north","center","east","west","south","north_west","south_east","south_west","north_east"].includes(t)}function Ci(e){return`${e}`.replace("g_","")}function Lg(e){return{compass:Ci(e),gravityType:"direction"}}function Dg(e){return Ci(e)==="ocr_text"}function Ng(){return{gravityType:"ocr"}}function Fg(e){return`${e.qualifierValue}`.split(":")[0]==="auto"}function Vg(e){const r=e.toString().split("_"),n={object:r[0]};return r.length>1&&(r[1]==="avoid"?n.avoid=!0:n.weight=+r[1]),n}function yc(e){let t;const r=e==="auto"?new dc:e;return`${e}`.startsWith("auto:")?t=`${e}`.split(":").filter(o=>o!=="auto"):t=r.qualifierValue.values.filter(o=>o!=="auto"),{gravityType:"auto",autoFocus:t.map(Vg)}}function Bg(e){const t=`${e}`.split(":").includes("auto"),r=e.qualifierValue.values,o={gravityType:"object",focusOnObjects:(t?r.slice(0,r.length-1):r).map(i=>`${i}`)};if(t){const i=r[r.length-1].values.slice(1),s=mc().autoFocus(...i);o.fallbackGravity=yc(s)}return o}function zg(e){const r=e.split(":").map(n=>new io(n));return new pc(r)}function Ug(e){return Mg(e)?Lg(e):Dg(e)?Ng():Ig(e)||Fg(e)?yc(e):Bg(typeof e=="string"?zg(e):e)}class Ri extends je{constructor(t,r){super(),this._weight=r,this.focusOn=t,this.shouldAvoid=!1}static focusOn(t,r){return new Ri(t,r)}shouldAddWeight(){return typeof this._weight=="number"||typeof this._weight=="string"||this.shouldAvoid}getName(){return this.focusOn.name}getWeight(){return this.shouldAvoid?"avoid":this._weight}toString(){return this.shouldAddWeight()?`${this.getName()}_${this.getWeight()}`:`${this.getName()}`}weight(t){return this._weight=t,this}avoid(){return this.shouldAvoid=!0,this}}class vc extends je{constructor(t){super(),this.val=t}toString(){return this.val}}function Wg(e){return e.gravityType==="direction"}function qg(e){return e.gravityType==="ocr"}function Gg(e){return e.gravityType==="auto"}function Hg(e){const{object:t,weight:r,avoid:n}=e,o=new Ri(new io(t));return(r||r===0)&&o.weight(r),n&&o.avoid(),o}function bc(e){const r=(e.autoFocus||[]).map(Hg);return mc().autoFocus(...r)}function Yg(e){const t=(e.focusOnObjects||[]).map(n=>new io(n)),r=gc(...t);if(e.fallbackGravity){const n=bc(e.fallbackGravity);r.fallbackGravity(n)}return r}function Qg(e){return Wg(e)?new hc(new vc(e.compass)):qg(e)?gc(jg()):Gg(e)?bc(e):Yg(e)}class ki extends kg{gravity(t){this._actionModel.gravity=Ug(t);const r=typeof t=="string"?new K("g",t):t;return this.addQualifier(r)}static fromJson(t){const r=super.fromJson.apply(this,[t]);return t.gravity&&r.gravity(Qg(t.gravity)),r}}class ln extends K{constructor(t){super("b"),t&&this.addValue(t)}}const wc=100,Jg=0;class Kg extends ln{intensity(t){return this.intensityLevel=t,this}brightness(t){return this.brightnessLevel=t,this}toString(){const t=this.intensityLevel!==void 0?`:${this.intensityLevel}`:"",r=this.brightnessLevel!==void 0?this.intensityLevel!==void 0?`:${this.brightnessLevel}`:`:${wc}:${this.brightnessLevel}`:"";return`b_blurred${t}${r}`}}var _c=Kg;class Pi extends ln{constructor(){super(),this._palette=[]}contrast(){return this._contrast=!0,this}palette(...t){return this._palette=t.map(r=>no(r)),this}}class Sc extends Pi{toString(){return`
|
|
347
426
|
b_auto:border
|
|
348
427
|
${this._contrast?"_contrast":""}
|
|
349
428
|
${this._palette.length?`:palette_${this._palette.join("_")}`:""}
|
|
@@ -363,27 +442,27 @@ Check the top-level render call using <`+x+">.")}return v}}function ke(f,v){{if(
|
|
|
363
442
|
b_auto:predominant
|
|
364
443
|
${this._contrast?"_contrast":""}
|
|
365
444
|
${this._palette.length?`:palette_${this._palette.join("_")}`:""}
|
|
366
|
-
`.replace(/\s+/g,"")}}class Ac extends un{constructor(){super("gen_fill"),this._backgroundType="generativeFill"}prompt(t){return this._prompt=t,this}getPrompt(){return this._prompt}getBackgroundType(){return this._backgroundType}toString(){return`b_gen_fill${this._prompt?`:prompt_${this._prompt}`:""}`}}function Oc(e){return`${e}`.replace("b_","")}function Jg(){return{backgroundType:"auto"}}function Kg(e){const{intensityLevel:t,brightnessLevel:r}=e,n={backgroundType:"blurred"};return(t||t===0)&&(n.intensity=t),(r||r===0)&&(n.brightness=r),n}function ji(e){const t=e._contrast,r=e._palette,n={backgroundType:""};return t&&(n.contrast=!0),r&&(n.palette=r),n}function Xg(e){return Object.assign(Object.assign({},ji(e)),{backgroundType:"border"})}function Cc(e){const t=e._gradientColors,r=`${e._gradientDirection}`,n=ji(e);return t&&(n.gradientColors=t),r&&(n.gradientDirection=r),n}function Zg(e){return Object.assign(Object.assign({},Cc(e)),{backgroundType:"borderGradient"})}function em(e){return{backgroundType:"color",color:Oc(e)}}function tm(e){return Object.assign(Object.assign({},ji(e)),{backgroundType:"predominant"})}function rm(e){return Object.assign(Object.assign({},Cc(e)),{backgroundType:"predominantGradient"})}function nm(e){return Object.assign({backgroundType:e.getBackgroundType()},e.getPrompt()?{prompt:e.getPrompt()}:{})}function om(e){return Oc(e)==="auto"?Jg():e instanceof _c?Kg(e):e instanceof Sc?Xg(e):e instanceof Ec?Zg(e):e instanceof Tc?tm(e):e instanceof $c?rm(e):e instanceof Ac?nm(e):em(e)}function im(){return new Ai("svg")}function Ii(){return new Ai("auto")}function Rc(){return new Sc}function kc(){return new un("auto")}function Pc(){return new Ec}function jc(){return new $c}function Ic(){return new Tc}function Mc(e){return new un(no(e))}function sm(){return new _c}function Lc(){return new Ac}const Dc={auto:kc,border:Rc,borderGradient:Pc,predominantGradient:jc,predominant:Ic,color:Mc,blurred:sm,generativeFill:Lc};function am(e){const{brightness:t,intensity:r}=e,n=Dc.blurred();return n.brightness(t??Yg),n.intensity(r??wc),n}function qs(e,t){const{gradientColors:r,gradientDirection:n,contrast:o,palette:i}=t;return o&&e.contrast(),i&&e.palette(...i),r&&e.gradientColors(+r),n&&e.gradientDirection(n),e}function Gs(e,t){const{contrast:r,palette:n}=t;return r&&e.contrast(),n&&e.palette(...n),e}function cm(e,t){const{prompt:r}=t;return r&&e.prompt(r),e}function um(e){const{backgroundType:t}=e;switch(t){case"auto":return kc();case"blurred":return am(e);case"border":return Gs(Rc(),e);case"borderGradient":return qs(Pc(),e);case"predominant":return Gs(Ic(),e);case"predominantGradient":return qs(jc(),e);case"generativeFill":return cm(Lc(),e);default:return Mc(e.color)}}class lm extends ki{background(t){return this._actionModel.background=om(t),this.addQualifier(t)}offsetX(t){return this._actionModel.x=t,this.addQualifier(new K("x",t))}offsetY(t){return this._actionModel.y=t,this.addQualifier(new K("y",t))}static fromJson(t){const r=super.fromJson.apply(this,[t]);return t.background&&r.background(um(t.background)),t.x&&r.offsetX(t.x),t.y&&r.offsetY(t.y),t.zoom&&r.zoom(t.zoom),r}}class fm extends ki{x(t){return this._actionModel.x=t,this.addQualifier(new K("x",t))}y(t){return this._actionModel.y=t,this.addQualifier(new K("y",t))}zoom(t){return this._actionModel.zoom=t,this.addQualifier(new K("z",t))}static fromJson(t){const r=super.fromJson.apply(this,[t]);return t.x&&r.x(t.x),t.y&&r.y(t.y),t.zoom&&r.zoom(t.zoom),r}}class dm extends ki{x(t){return this._actionModel.x=t,this.addQualifier(new K("x",t))}y(t){return this._actionModel.y=t,this.addQualifier(new K("y",t))}static fromJson(t){const r=super.fromJson.apply(this,[t]);return t.x&&r.x(t.x),t.y&&r.y(t.y),r}}function pm(e,t){return new fm("crop",e,t)}function hm(e,t){return new dm("fill",e,t)}function gm(e,t){return new lm("pad",e,t)}class mm extends lc{constructor(t){super("q",t.toString(),"level")}chromaSubSampling(t){this._actionModel.chromaSubSampling=ac[t];const r=new je([this._actionModel.level,t]);return r.setDelimiter(":"),this.addQualifier(new K("q",r))}quantization(t){this._actionModel.quantization=t;const r=new je([this._actionModel.level,`qmax_${t}`]).setDelimiter(":");return this.addQualifier(new K("q",r))}static fromJson(t){const{level:r,chromaSubSampling:n,quantization:o}=t,i=sc[r]||r,s=new this(i);if(n){const u=ig[n.toUpperCase()];u&&s.chromaSubSampling(+u)}return o&&s.quantization(o),s}}function so(e){return new oi("f",e)}function ao(e){return new mm(e)}function ym(){return new vc("north_east")}zs(70).color("black"),zs(40).color("white"),gg(),yg();var vm=new oo().effect(mg()).delivery(ao("auto")).delivery(so(im())),bm=new oo().effect(vg()).delivery(ao("auto")).delivery(so(Ii())),wm=new oo().effect(hg(2e3)).delivery(ao("auto")).delivery(so(Ii())),_m=new oo().resize(gm("iw_div_2").aspectRatio(1).background(Dc.auto())).resize(pm(1,1).gravity(Rg(ym()))).resize(hm().height("ih").width("iw")).delivery(ao("auto")).delivery(so(Ii())),Hs={vectorize:vm,pixelate:bm,blur:wm,"predominant-color":_m},Ys="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",Qs={flv:"x-flv","3gp":"3gpp",mov:"quicktime",mpg:"mpeg",avi:"x-msvideo",wmv:"x-ms-wmv",ogv:"ogg",webm:"webm",mp4:"mp4"},Js="?_a=",Sm=function(){function e(t,r,n,o,i,s,u){var l=this;this.mimeType="video",this.mimeSubTypes=Qs,this.videoElement=t,this.originalVideo=r,this.videoOptions=u,this.htmlPluginState={cleanupCallbacks:[],pluginEventSubscription:[]};var d=tr(r);Bn(t,r,o,this.htmlPluginState).then(function(){l.htmlPluginState.pluginEventSubscription.forEach(function(h){h()}),l.setVideoAttributes(i,s),l.handleSourceToVideo(d,n)})}return e.prototype.handleSourceToVideo=function(t,r){var n=this;if(r)this.generateUserSources(t,r);else{var o=["webm","mp4","ogv"];o.forEach(function(i){n.appendSourceTag(tr(t),i)})}},e.prototype.generateUserSources=function(t,r){var n=this;r.map(function(o){var i=o.type,s=o.codecs,u=o.transcode;return n.appendSourceTag(tr(t).transcode(u),i,n.buildMimeType(i,s))})},e.prototype.appendSourceTag=function(t,r,n){var o,i=document.createElement("source"),s=(o=this.videoOptions)===null||o===void 0?void 0:o.useFetchFormat;s&&t.format(r);var u=t.toURL(),l=u.split(Js),d=l[1]?"".concat(Js).concat(l[1]):"",h=s?"":".".concat(r);i.src="".concat(l[0]).concat(h).concat(d),i.type=n||"video/".concat(Qs[r]||r),this.videoElement.appendChild(i)},e.prototype.buildMimeType=function(t,r){var n="".concat(this.mimeType,"/").concat(this.mimeSubTypes[t]||t);return r&&(n+="; codecs="+(Array.isArray(r)?r.join(", "):r)),n},e.prototype.setVideoAttributes=function(t,r){var n;if(t===void 0&&(t={}),r==="auto"){var o=tr(this.originalVideo);t.poster=o.quality("auto").format("jpg").addTransformation("so_auto").toURL()}else r&&(t.poster=(n=r.toURL)===null||n===void 0?void 0:n.call(r));for(var i=0,s=Object.entries(t);i<s.length;i++){var u=s[i],l=u[0],d=u[1];d&&this.videoElement.setAttribute(l,l==="poster"?d:"")}},e.prototype.update=function(t,r,n,o,i){var s=this;if(t!==this.originalVideo){for(var u=this.videoElement.getElementsByTagName("SOURCE");u[0];)u[0].parentNode.removeChild(u[0]);Bn(this.videoElement,t,n,this.htmlPluginState).then(function(){s.setVideoAttributes(o,i),s.handleSourceToVideo(t,r),s.videoElement.load()})}},e}(),xm=typeof er=="object"&&er&&er.Object===Object&&er,Em=typeof self=="object"&&self&&self.Object===Object&&self;xm||Em||Function("return this")();function Mi(){return typeof window<"u"}function $m(e){return e instanceof HTMLImageElement}function Tm(e){var t={},r=t.rootMargin,n=r===void 0?"0px":r,o=t.threshold,i=o===void 0?.1:o;return Am.bind(null,n,i)}function Am(e,t,r,n,o,i){return e===void 0&&(e="0px"),t===void 0&&(t=.1),Mi()?new Promise(function(s){var u=function(){return s({lazyload:!0})},l=Cm(r,u,e,t);o.cleanupCallbacks.push(function(){l(),s("canceled")})}):!1}function Om(){return window&&"IntersectionObserver"in window}function Cm(e,t,r,n){try{if(!Om())return t(),function(){};var o=new IntersectionObserver(function(i){i.forEach(function(s){s.isIntersecting&&(o.unobserve(s.target),t())})},{rootMargin:r,threshold:n});return o.observe(e),function(){e&&o.observe(e)}}catch{t()}}function Rm(e){var t={},r=t.mode,n=r===void 0?"vectorize":r;return km.bind(null,n)}function km(e,t,r,n,o,i){Hs[e]||(e="vectorize");var s=Hs[e].actions,u=tr(r);if(s.forEach(function(d){u.addAction(d)}),!Mi())return r.transformation=u.transformation,!0;if($m(t)){u.transformation.actions.forEach(function(d,h){d instanceof zt&&d.getActionTag()==="responsive"&&delete u.transformation.actions[h]});var l=ni(o,{placeholder:!0});return t.src=u.toURL(l),t.onerror=function(){t.src=Ys},new Promise(function(d){t.onload=function(){d()}}).then(function(){return new Promise(function(d){n.cleanupCallbacks.push(function(){t.src=Ys,d("canceled")});var h=new Image;h.src=r.toURL(l),h.onload=function(){d({placeholder:!0})},h.onerror=function(){d({placeholder:!0})}})})}}function Pm(e,t,r){var n=tr(t);if(e)for(var o=0;o<e.length;o++){var i=e[o](null,n);if(!i)break}return n.toURL(r?{trackedAnalytics:r}:null)}function zn(e){e.cleanupCallbacks.forEach(function(t){t()})}var ii=function(e,t){return ii=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(r[o]=n[o])},ii(e,t)};function Nc(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");ii(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}var Hr=function(){return Hr=Object.assign||function(t){for(var r,n=1,o=arguments.length;n<o;n++){r=arguments[n];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(t[i]=r[i])}return t},Hr.apply(this,arguments)};function Fc(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r}var Yr={exports:{}},ge={};/*
|
|
445
|
+
`.replace(/\s+/g,"")}}class Ac extends ln{constructor(){super("gen_fill"),this._backgroundType="generativeFill"}prompt(t){return this._prompt=t,this}getPrompt(){return this._prompt}getBackgroundType(){return this._backgroundType}toString(){return`b_gen_fill${this._prompt?`:prompt_${this._prompt}`:""}`}}function Oc(e){return`${e}`.replace("b_","")}function Xg(){return{backgroundType:"auto"}}function Zg(e){const{intensityLevel:t,brightnessLevel:r}=e,n={backgroundType:"blurred"};return(t||t===0)&&(n.intensity=t),(r||r===0)&&(n.brightness=r),n}function ji(e){const t=e._contrast,r=e._palette,n={backgroundType:""};return t&&(n.contrast=!0),r&&(n.palette=r),n}function em(e){return Object.assign(Object.assign({},ji(e)),{backgroundType:"border"})}function Cc(e){const t=e._gradientColors,r=`${e._gradientDirection}`,n=ji(e);return t&&(n.gradientColors=t),r&&(n.gradientDirection=r),n}function tm(e){return Object.assign(Object.assign({},Cc(e)),{backgroundType:"borderGradient"})}function rm(e){return{backgroundType:"color",color:Oc(e)}}function nm(e){return Object.assign(Object.assign({},ji(e)),{backgroundType:"predominant"})}function om(e){return Object.assign(Object.assign({},Cc(e)),{backgroundType:"predominantGradient"})}function im(e){return Object.assign({backgroundType:e.getBackgroundType()},e.getPrompt()?{prompt:e.getPrompt()}:{})}function sm(e){return Oc(e)==="auto"?Xg():e instanceof _c?Zg(e):e instanceof Sc?em(e):e instanceof Ec?tm(e):e instanceof Tc?nm(e):e instanceof $c?om(e):e instanceof Ac?im(e):rm(e)}function am(){return new Ai("svg")}function Ii(){return new Ai("auto")}function Rc(){return new Sc}function kc(){return new ln("auto")}function Pc(){return new Ec}function jc(){return new $c}function Ic(){return new Tc}function Mc(e){return new ln(no(e))}function cm(){return new _c}function Lc(){return new Ac}const Dc={auto:kc,border:Rc,borderGradient:Pc,predominantGradient:jc,predominant:Ic,color:Mc,blurred:cm,generativeFill:Lc};function lm(e){const{brightness:t,intensity:r}=e,n=Dc.blurred();return n.brightness(t??Jg),n.intensity(r??wc),n}function qs(e,t){const{gradientColors:r,gradientDirection:n,contrast:o,palette:i}=t;return o&&e.contrast(),i&&e.palette(...i),r&&e.gradientColors(+r),n&&e.gradientDirection(n),e}function Gs(e,t){const{contrast:r,palette:n}=t;return r&&e.contrast(),n&&e.palette(...n),e}function um(e,t){const{prompt:r}=t;return r&&e.prompt(r),e}function fm(e){const{backgroundType:t}=e;switch(t){case"auto":return kc();case"blurred":return lm(e);case"border":return Gs(Rc(),e);case"borderGradient":return qs(Pc(),e);case"predominant":return Gs(Ic(),e);case"predominantGradient":return qs(jc(),e);case"generativeFill":return um(Lc(),e);default:return Mc(e.color)}}class dm extends ki{background(t){return this._actionModel.background=sm(t),this.addQualifier(t)}offsetX(t){return this._actionModel.x=t,this.addQualifier(new K("x",t))}offsetY(t){return this._actionModel.y=t,this.addQualifier(new K("y",t))}static fromJson(t){const r=super.fromJson.apply(this,[t]);return t.background&&r.background(fm(t.background)),t.x&&r.offsetX(t.x),t.y&&r.offsetY(t.y),t.zoom&&r.zoom(t.zoom),r}}class pm extends ki{x(t){return this._actionModel.x=t,this.addQualifier(new K("x",t))}y(t){return this._actionModel.y=t,this.addQualifier(new K("y",t))}zoom(t){return this._actionModel.zoom=t,this.addQualifier(new K("z",t))}static fromJson(t){const r=super.fromJson.apply(this,[t]);return t.x&&r.x(t.x),t.y&&r.y(t.y),t.zoom&&r.zoom(t.zoom),r}}class hm extends ki{x(t){return this._actionModel.x=t,this.addQualifier(new K("x",t))}y(t){return this._actionModel.y=t,this.addQualifier(new K("y",t))}static fromJson(t){const r=super.fromJson.apply(this,[t]);return t.x&&r.x(t.x),t.y&&r.y(t.y),r}}function gm(e,t){return new pm("crop",e,t)}function mm(e,t){return new hm("fill",e,t)}function ym(e,t){return new dm("pad",e,t)}class vm extends uc{constructor(t){super("q",t.toString(),"level")}chromaSubSampling(t){this._actionModel.chromaSubSampling=ac[t];const r=new je([this._actionModel.level,t]);return r.setDelimiter(":"),this.addQualifier(new K("q",r))}quantization(t){this._actionModel.quantization=t;const r=new je([this._actionModel.level,`qmax_${t}`]).setDelimiter(":");return this.addQualifier(new K("q",r))}static fromJson(t){const{level:r,chromaSubSampling:n,quantization:o}=t,i=sc[r]||r,s=new this(i);if(n){const l=ag[n.toUpperCase()];l&&s.chromaSubSampling(+l)}return o&&s.quantization(o),s}}function so(e){return new oi("f",e)}function ao(e){return new vm(e)}function bm(){return new vc("north_east")}zs(70).color("black"),zs(40).color("white"),yg(),bg();var wm=new oo().effect(vg()).delivery(ao("auto")).delivery(so(am())),_m=new oo().effect(wg()).delivery(ao("auto")).delivery(so(Ii())),Sm=new oo().effect(mg(2e3)).delivery(ao("auto")).delivery(so(Ii())),xm=new oo().resize(ym("iw_div_2").aspectRatio(1).background(Dc.auto())).resize(gm(1,1).gravity(Pg(bm()))).resize(mm().height("ih").width("iw")).delivery(ao("auto")).delivery(so(Ii())),Hs={vectorize:wm,pixelate:_m,blur:Sm,"predominant-color":xm},Ys="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",Qs={flv:"x-flv","3gp":"3gpp",mov:"quicktime",mpg:"mpeg",avi:"x-msvideo",wmv:"x-ms-wmv",ogv:"ogg",webm:"webm",mp4:"mp4"},Js="?_a=",Em=function(){function e(t,r,n,o,i,s,l){var u=this;this.mimeType="video",this.mimeSubTypes=Qs,this.videoElement=t,this.originalVideo=r,this.videoOptions=l,this.htmlPluginState={cleanupCallbacks:[],pluginEventSubscription:[]};var d=tr(r);Bn(t,r,o,this.htmlPluginState).then(function(){u.htmlPluginState.pluginEventSubscription.forEach(function(h){h()}),u.setVideoAttributes(i,s),u.handleSourceToVideo(d,n)})}return e.prototype.handleSourceToVideo=function(t,r){var n=this;if(r)this.generateUserSources(t,r);else{var o=["webm","mp4","ogv"];o.forEach(function(i){n.appendSourceTag(tr(t),i)})}},e.prototype.generateUserSources=function(t,r){var n=this;r.map(function(o){var i=o.type,s=o.codecs,l=o.transcode;return n.appendSourceTag(tr(t).transcode(l),i,n.buildMimeType(i,s))})},e.prototype.appendSourceTag=function(t,r,n){var o,i=document.createElement("source"),s=(o=this.videoOptions)===null||o===void 0?void 0:o.useFetchFormat;s&&t.format(r);var l=t.toURL(),u=l.split(Js),d=u[1]?"".concat(Js).concat(u[1]):"",h=s?"":".".concat(r);i.src="".concat(u[0]).concat(h).concat(d),i.type=n||"video/".concat(Qs[r]||r),this.videoElement.appendChild(i)},e.prototype.buildMimeType=function(t,r){var n="".concat(this.mimeType,"/").concat(this.mimeSubTypes[t]||t);return r&&(n+="; codecs="+(Array.isArray(r)?r.join(", "):r)),n},e.prototype.setVideoAttributes=function(t,r){var n;if(t===void 0&&(t={}),r==="auto"){var o=tr(this.originalVideo);t.poster=o.quality("auto").format("jpg").addTransformation("so_auto").toURL()}else r&&(t.poster=(n=r.toURL)===null||n===void 0?void 0:n.call(r));for(var i=0,s=Object.entries(t);i<s.length;i++){var l=s[i],u=l[0],d=l[1];d&&this.videoElement.setAttribute(u,u==="poster"?d:"")}},e.prototype.update=function(t,r,n,o,i){var s=this;if(t!==this.originalVideo){for(var l=this.videoElement.getElementsByTagName("SOURCE");l[0];)l[0].parentNode.removeChild(l[0]);Bn(this.videoElement,t,n,this.htmlPluginState).then(function(){s.setVideoAttributes(o,i),s.handleSourceToVideo(t,r),s.videoElement.load()})}},e}(),$m=typeof er=="object"&&er&&er.Object===Object&&er,Tm=typeof self=="object"&&self&&self.Object===Object&&self;$m||Tm||Function("return this")();function Mi(){return typeof window<"u"}function Am(e){return e instanceof HTMLImageElement}function Om(e){var t={},r=t.rootMargin,n=r===void 0?"0px":r,o=t.threshold,i=o===void 0?.1:o;return Cm.bind(null,n,i)}function Cm(e,t,r,n,o,i){return e===void 0&&(e="0px"),t===void 0&&(t=.1),Mi()?new Promise(function(s){var l=function(){return s({lazyload:!0})},u=km(r,l,e,t);o.cleanupCallbacks.push(function(){u(),s("canceled")})}):!1}function Rm(){return window&&"IntersectionObserver"in window}function km(e,t,r,n){try{if(!Rm())return t(),function(){};var o=new IntersectionObserver(function(i){i.forEach(function(s){s.isIntersecting&&(o.unobserve(s.target),t())})},{rootMargin:r,threshold:n});return o.observe(e),function(){e&&o.observe(e)}}catch{t()}}function Pm(e){var t={},r=t.mode,n=r===void 0?"vectorize":r;return jm.bind(null,n)}function jm(e,t,r,n,o,i){Hs[e]||(e="vectorize");var s=Hs[e].actions,l=tr(r);if(s.forEach(function(d){l.addAction(d)}),!Mi())return r.transformation=l.transformation,!0;if(Am(t)){l.transformation.actions.forEach(function(d,h){d instanceof zt&&d.getActionTag()==="responsive"&&delete l.transformation.actions[h]});var u=ni(o,{placeholder:!0});return t.src=l.toURL(u),t.onerror=function(){t.src=Ys},new Promise(function(d){t.onload=function(){d()}}).then(function(){return new Promise(function(d){n.cleanupCallbacks.push(function(){t.src=Ys,d("canceled")});var h=new Image;h.src=r.toURL(u),h.onload=function(){d({placeholder:!0})},h.onerror=function(){d({placeholder:!0})}})})}}function Im(e,t,r){var n=tr(t);if(e)for(var o=0;o<e.length;o++){var i=e[o](null,n);if(!i)break}return n.toURL(r?{trackedAnalytics:r}:null)}function zn(e){e.cleanupCallbacks.forEach(function(t){t()})}var ii=function(e,t){return ii=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(r[o]=n[o])},ii(e,t)};function Nc(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");ii(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}var Hr=function(){return Hr=Object.assign||function(t){for(var r,n=1,o=arguments.length;n<o;n++){r=arguments[n];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(t[i]=r[i])}return t},Hr.apply(this,arguments)};function Fc(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r}var Yr={exports:{}},ge={};/*
|
|
367
446
|
object-assign
|
|
368
447
|
(c) Sindre Sorhus
|
|
369
448
|
@license MIT
|
|
370
|
-
*/var Ks=Object.getOwnPropertySymbols,
|
|
449
|
+
*/var Ks=Object.getOwnPropertySymbols,Mm=Object.prototype.hasOwnProperty,Lm=Object.prototype.propertyIsEnumerable;function Dm(e){if(e==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}function Nm(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de",Object.getOwnPropertyNames(e)[0]==="5")return!1;for(var t={},r=0;r<10;r++)t["_"+String.fromCharCode(r)]=r;var n=Object.getOwnPropertyNames(t).map(function(i){return t[i]});if(n.join("")!=="0123456789")return!1;var o={};return"abcdefghijklmnopqrst".split("").forEach(function(i){o[i]=i}),Object.keys(Object.assign({},o)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}var Vc=Nm()?Object.assign:function(e,t){for(var r,n=Dm(e),o,i=1;i<arguments.length;i++){r=Object(arguments[i]);for(var s in r)Mm.call(r,s)&&(n[s]=r[s]);if(Ks){o=Ks(r);for(var l=0;l<o.length;l++)Lm.call(r,o[l])&&(n[o[l]]=r[o[l]])}}return n};/** @license React v16.14.0
|
|
371
450
|
* react.production.min.js
|
|
372
451
|
*
|
|
373
452
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
374
453
|
*
|
|
375
454
|
* This source code is licensed under the MIT license found in the
|
|
376
455
|
* LICENSE file in the root directory of this source tree.
|
|
377
|
-
*/var Li=Vc,Ut=typeof Symbol=="function"&&Symbol.for,
|
|
456
|
+
*/var Li=Vc,Ut=typeof Symbol=="function"&&Symbol.for,un=Ut?Symbol.for("react.element"):60103,Fm=Ut?Symbol.for("react.portal"):60106,Vm=Ut?Symbol.for("react.fragment"):60107,Bm=Ut?Symbol.for("react.strict_mode"):60108,zm=Ut?Symbol.for("react.profiler"):60114,Um=Ut?Symbol.for("react.provider"):60109,Wm=Ut?Symbol.for("react.context"):60110,qm=Ut?Symbol.for("react.forward_ref"):60112,Gm=Ut?Symbol.for("react.suspense"):60113,Hm=Ut?Symbol.for("react.memo"):60115,Ym=Ut?Symbol.for("react.lazy"):60116,Xs=typeof Symbol=="function"&&Symbol.iterator;function fn(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=1;r<arguments.length;r++)t+="&args[]="+encodeURIComponent(arguments[r]);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."}var Bc={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},zc={};function Lr(e,t,r){this.props=e,this.context=t,this.refs=zc,this.updater=r||Bc}Lr.prototype.isReactComponent={};Lr.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error(fn(85));this.updater.enqueueSetState(this,e,t,"setState")};Lr.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function Uc(){}Uc.prototype=Lr.prototype;function Di(e,t,r){this.props=e,this.context=t,this.refs=zc,this.updater=r||Bc}var Ni=Di.prototype=new Uc;Ni.constructor=Di;Li(Ni,Lr.prototype);Ni.isPureReactComponent=!0;var Fi={current:null},Wc=Object.prototype.hasOwnProperty,qc={key:!0,ref:!0,__self:!0,__source:!0};function Gc(e,t,r){var n,o={},i=null,s=null;if(t!=null)for(n in t.ref!==void 0&&(s=t.ref),t.key!==void 0&&(i=""+t.key),t)Wc.call(t,n)&&!qc.hasOwnProperty(n)&&(o[n]=t[n]);var l=arguments.length-2;if(l===1)o.children=r;else if(1<l){for(var u=Array(l),d=0;d<l;d++)u[d]=arguments[d+2];o.children=u}if(e&&e.defaultProps)for(n in l=e.defaultProps,l)o[n]===void 0&&(o[n]=l[n]);return{$$typeof:un,type:e,key:i,ref:s,props:o,_owner:Fi.current}}function Qm(e,t){return{$$typeof:un,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function Vi(e){return typeof e=="object"&&e!==null&&e.$$typeof===un}function Jm(e){var t={"=":"=0",":":"=2"};return"$"+(""+e).replace(/[=:]/g,function(r){return t[r]})}var Hc=/\/+/g,Un=[];function Yc(e,t,r,n){if(Un.length){var o=Un.pop();return o.result=e,o.keyPrefix=t,o.func=r,o.context=n,o.count=0,o}return{result:e,keyPrefix:t,func:r,context:n,count:0}}function Qc(e){e.result=null,e.keyPrefix=null,e.func=null,e.context=null,e.count=0,10>Un.length&&Un.push(e)}function si(e,t,r,n){var o=typeof e;(o==="undefined"||o==="boolean")&&(e=null);var i=!1;if(e===null)i=!0;else switch(o){case"string":case"number":i=!0;break;case"object":switch(e.$$typeof){case un:case Fm:i=!0}}if(i)return r(n,e,t===""?"."+Po(e,0):t),1;if(i=0,t=t===""?".":t+":",Array.isArray(e))for(var s=0;s<e.length;s++){o=e[s];var l=t+Po(o,s);i+=si(o,l,r,n)}else if(e===null||typeof e!="object"?l=null:(l=Xs&&e[Xs]||e["@@iterator"],l=typeof l=="function"?l:null),typeof l=="function")for(e=l.call(e),s=0;!(o=e.next()).done;)o=o.value,l=t+Po(o,s++),i+=si(o,l,r,n);else if(o==="object")throw r=""+e,Error(fn(31,r==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":r,""));return i}function ai(e,t,r){return e==null?0:si(e,"",t,r)}function Po(e,t){return typeof e=="object"&&e!==null&&e.key!=null?Jm(e.key):t.toString(36)}function Km(e,t){e.func.call(e.context,t,e.count++)}function Xm(e,t,r){var n=e.result,o=e.keyPrefix;e=e.func.call(e.context,t,e.count++),Array.isArray(e)?ci(e,n,r,function(i){return i}):e!=null&&(Vi(e)&&(e=Qm(e,o+(!e.key||t&&t.key===e.key?"":(""+e.key).replace(Hc,"$&/")+"/")+r)),n.push(e))}function ci(e,t,r,n,o){var i="";r!=null&&(i=(""+r).replace(Hc,"$&/")+"/"),t=Yc(t,i,n,o),ai(e,Xm,t),Qc(t)}var Jc={current:null};function Xt(){var e=Jc.current;if(e===null)throw Error(fn(321));return e}var Zm={ReactCurrentDispatcher:Jc,ReactCurrentBatchConfig:{suspense:null},ReactCurrentOwner:Fi,IsSomeRendererActing:{current:!1},assign:Li};ge.Children={map:function(e,t,r){if(e==null)return e;var n=[];return ci(e,n,null,t,r),n},forEach:function(e,t,r){if(e==null)return e;t=Yc(null,null,t,r),ai(e,Km,t),Qc(t)},count:function(e){return ai(e,function(){return null},null)},toArray:function(e){var t=[];return ci(e,t,null,function(r){return r}),t},only:function(e){if(!Vi(e))throw Error(fn(143));return e}};ge.Component=Lr;ge.Fragment=Vm;ge.Profiler=zm;ge.PureComponent=Di;ge.StrictMode=Bm;ge.Suspense=Gm;ge.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Zm;ge.cloneElement=function(e,t,r){if(e==null)throw Error(fn(267,e));var n=Li({},e.props),o=e.key,i=e.ref,s=e._owner;if(t!=null){if(t.ref!==void 0&&(i=t.ref,s=Fi.current),t.key!==void 0&&(o=""+t.key),e.type&&e.type.defaultProps)var l=e.type.defaultProps;for(u in t)Wc.call(t,u)&&!qc.hasOwnProperty(u)&&(n[u]=t[u]===void 0&&l!==void 0?l[u]:t[u])}var u=arguments.length-2;if(u===1)n.children=r;else if(1<u){l=Array(u);for(var d=0;d<u;d++)l[d]=arguments[d+2];n.children=l}return{$$typeof:un,type:e.type,key:o,ref:i,props:n,_owner:s}};ge.createContext=function(e,t){return t===void 0&&(t=null),e={$$typeof:Wm,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null},e.Provider={$$typeof:Um,_context:e},e.Consumer=e};ge.createElement=Gc;ge.createFactory=function(e){var t=Gc.bind(null,e);return t.type=e,t};ge.createRef=function(){return{current:null}};ge.forwardRef=function(e){return{$$typeof:qm,render:e}};ge.isValidElement=Vi;ge.lazy=function(e){return{$$typeof:Ym,_ctor:e,_status:-1,_result:null}};ge.memo=function(e,t){return{$$typeof:Hm,type:e,compare:t===void 0?null:t}};ge.useCallback=function(e,t){return Xt().useCallback(e,t)};ge.useContext=function(e,t){return Xt().useContext(e,t)};ge.useDebugValue=function(){};ge.useEffect=function(e,t){return Xt().useEffect(e,t)};ge.useImperativeHandle=function(e,t,r){return Xt().useImperativeHandle(e,t,r)};ge.useLayoutEffect=function(e,t){return Xt().useLayoutEffect(e,t)};ge.useMemo=function(e,t){return Xt().useMemo(e,t)};ge.useReducer=function(e,t,r){return Xt().useReducer(e,t,r)};ge.useRef=function(e){return Xt().useRef(e)};ge.useState=function(e){return Xt().useState(e)};ge.version="16.14.0";var he={},ey="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",ty=ey,ry=Function.call.bind(Object.prototype.hasOwnProperty),li=function(){};if(process.env.NODE_ENV!=="production"){var ny=ty,ui={},oy=ry;li=function(e){var t="Warning: "+e;typeof console<"u"&&console.error(t);try{throw new Error(t)}catch{}}}function Kc(e,t,r,n,o){if(process.env.NODE_ENV!=="production"){for(var i in e)if(oy(e,i)){var s;try{if(typeof e[i]!="function"){var l=Error((n||"React class")+": "+r+" type `"+i+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[i]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw l.name="Invariant Violation",l}s=e[i](t,i,n,r,null,ny)}catch(d){s=d}if(s&&!(s instanceof Error)&&li((n||"React class")+": type specification of "+r+" `"+i+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof 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)."),s instanceof Error&&!(s.message in ui)){ui[s.message]=!0;var u=o?o():"";li("Failed "+r+" type: "+s.message+(u??""))}}}}Kc.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(ui={})};var iy=Kc;/** @license React v16.14.0
|
|
378
457
|
* react.development.js
|
|
379
458
|
*
|
|
380
459
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
381
460
|
*
|
|
382
461
|
* This source code is licensed under the MIT license found in the
|
|
383
462
|
* LICENSE file in the root directory of this source tree.
|
|
384
|
-
*/process.env.NODE_ENV!=="production"&&function(){var e=Vc,t=
|
|
385
|
-
in `+(a||"Unknown")+_}var ve=1;function Q(a){return a._status===ve?a._result:null}function Se(a,p,m){var _=p.displayName||p.name||"";return a.displayName||(_!==""?m+"("+_+")":m)}function oe(a){if(a==null)return null;if(typeof a.tag=="number"&&G("Received an unexpected object in getComponentName(). This is likely a bug in React. Please file an issue."),typeof a=="function")return a.displayName||a.name||null;if(typeof a=="string")return a;switch(a){case s:return"Fragment";case i:return"Portal";case
|
|
386
|
-
in`)===0;if(!_){var j=ae.ReactDebugCurrentFrame,re=j.getStackAddendum();re!==""&&(p+="%s",m=m.concat([re]))}var U=m.map(function(Ve){return""+Ve});U.unshift("Warning: "+p),Function.prototype.apply.call(console[a],console,U);try{var H=0,Fe="Warning: "+p.replace(/%s/g,function(){return m[H++]});throw new Error(Fe)}catch{}}}var et={};function We(a,p){{var m=a.constructor,_=m&&(m.displayName||m.name)||"ReactClass",j=_+"."+p;if(et[j])return;G("Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.",p,_),et[j]=!0}}var qe={isMounted:function(a){return!1},enqueueForceUpdate:function(a,p,m){We(a,"forceUpdate")},enqueueReplaceState:function(a,p,m,_){We(a,"replaceState")},enqueueSetState:function(a,p,m,_){We(a,"setState")}},ue={};Object.freeze(ue);function be(a,p,m){this.props=a,this.context=p,this.refs=ue,this.updater=m||qe}be.prototype.isReactComponent={},be.prototype.setState=function(a,p){if(!(typeof a=="object"||typeof a=="function"||a==null))throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,a,p,"setState")},be.prototype.forceUpdate=function(a){this.updater.enqueueForceUpdate(this,a,"forceUpdate")};{var xe={isMounted:["isMounted","Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."],replaceState:["replaceState","Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."]},Be=function(a,p){Object.defineProperty(be.prototype,a,{get:function(){pe("%s(...) is deprecated in plain JavaScript React classes. %s",p[0],p[1])}})};for(var Re in xe)xe.hasOwnProperty(Re)&&Be(Re,xe[Re])}function lt(){}lt.prototype=be.prototype;function Rt(a,p,m){this.props=a,this.context=p,this.refs=ue,this.updater=m||qe}var Ee=Rt.prototype=new lt;Ee.constructor=Rt,e(Ee,be.prototype),Ee.isPureReactComponent=!0;function ft(){var a={current:null};return Object.seal(a),a}var Qe=Object.prototype.hasOwnProperty,dt={key:!0,ref:!0,__self:!0,__source:!0},le,pt,ht;ht={};function gt(a){if(Qe.call(a,"ref")){var p=Object.getOwnPropertyDescriptor(a,"ref").get;if(p&&p.isReactWarning)return!1}return a.ref!==void 0}function Ot(a){if(Qe.call(a,"key")){var p=Object.getOwnPropertyDescriptor(a,"key").get;if(p&&p.isReactWarning)return!1}return a.key!==void 0}function tt(a,p){var m=function(){le||(le=!0,G("%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://fb.me/react-special-props)",p))};m.isReactWarning=!0,Object.defineProperty(a,"key",{get:m,configurable:!0})}function st(a,p){var m=function(){pt||(pt=!0,G("%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://fb.me/react-special-props)",p))};m.isReactWarning=!0,Object.defineProperty(a,"ref",{get:m,configurable:!0})}function mt(a){if(typeof a.ref=="string"&&fe.current&&a.__self&&fe.current.stateNode!==a.__self){var p=oe(fe.current.type);ht[p]||(G('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://fb.me/react-strict-mode-string-ref',oe(fe.current.type),a.ref),ht[p]=!0)}}var Je=function(a,p,m,_,j,re,U){var H={$$typeof:o,type:a,key:p,ref:m,props:U,_owner:re};return H._store={},Object.defineProperty(H._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(H,"_self",{configurable:!1,enumerable:!1,writable:!1,value:_}),Object.defineProperty(H,"_source",{configurable:!1,enumerable:!1,writable:!1,value:j}),Object.freeze&&(Object.freeze(H.props),Object.freeze(H)),H};function _t(a,p,m){var _,j={},re=null,U=null,H=null,Fe=null;if(p!=null){gt(p)&&(U=p.ref,mt(p)),Ot(p)&&(re=""+p.key),H=p.__self===void 0?null:p.__self,Fe=p.__source===void 0?null:p.__source;for(_ in p)Qe.call(p,_)&&!dt.hasOwnProperty(_)&&(j[_]=p[_])}var Ve=arguments.length-2;if(Ve===1)j.children=m;else if(Ve>1){for(var Et=Array(Ve),wt=0;wt<Ve;wt++)Et[wt]=arguments[wt+2];Object.freeze&&Object.freeze(Et),j.children=Et}if(a&&a.defaultProps){var Yt=a.defaultProps;for(_ in Yt)j[_]===void 0&&(j[_]=Yt[_])}if(re||U){var jt=typeof a=="function"?a.displayName||a.name||"Unknown":a;re&&tt(j,jt),U&&st(j,jt)}return Je(a,re,U,H,Fe,fe.current,j)}function St(a,p){var m=Je(a.type,p,a.ref,a._self,a._source,a._owner,a.props);return m}function kt(a,p,m){if(a==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+a+".");var _,j=e({},a.props),re=a.key,U=a.ref,H=a._self,Fe=a._source,Ve=a._owner;if(p!=null){gt(p)&&(U=p.ref,Ve=fe.current),Ot(p)&&(re=""+p.key);var Et;a.type&&a.type.defaultProps&&(Et=a.type.defaultProps);for(_ in p)Qe.call(p,_)&&!dt.hasOwnProperty(_)&&(p[_]===void 0&&Et!==void 0?j[_]=Et[_]:j[_]=p[_])}var wt=arguments.length-2;if(wt===1)j.children=m;else if(wt>1){for(var Yt=Array(wt),jt=0;jt<wt;jt++)Yt[jt]=arguments[jt+2];j.children=Yt}return Je(a.type,re,U,H,Fe,Ve,j)}function Ge(a){return typeof a=="object"&&a!==null&&a.$$typeof===o}var Pt=".",rt=":";function we(a){var p=/[=:]/g,m={"=":"=0",":":"=2"},_=(""+a).replace(p,function(j){return m[j]});return"$"+_}var Dt=!1,Nt=/\/+/g;function yt(a){return(""+a).replace(Nt,"$&/")}var vt=10,He=[];function at(a,p,m,_){if(He.length){var j=He.pop();return j.result=a,j.keyPrefix=p,j.func=m,j.context=_,j.count=0,j}else return{result:a,keyPrefix:p,func:m,context:_,count:0}}function ze(a){a.result=null,a.keyPrefix=null,a.func=null,a.context=null,a.count=0,He.length<vt&&He.push(a)}function Ye(a,p,m,_){var j=typeof a;(j==="undefined"||j==="boolean")&&(a=null);var re=!1;if(a===null)re=!0;else switch(j){case"string":case"number":re=!0;break;case"object":switch(a.$$typeof){case o:case i:re=!0}}if(re)return m(_,a,p===""?Pt+_e(a,0):p),1;var U,H,Fe=0,Ve=p===""?Pt:p+rt;if(Array.isArray(a))for(var Et=0;Et<a.length;Et++)U=a[Et],H=Ve+_e(U,Et),Fe+=Ye(U,H,m,_);else{var wt=P(a);if(typeof wt=="function"){wt===a.entries&&(Dt||pe("Using Maps as children is deprecated and will be removed in a future major release. Consider converting children to an array of keyed ReactElements instead."),Dt=!0);for(var Yt=wt.call(a),jt,wo=0;!(jt=Yt.next()).done;)U=jt.value,H=Ve+_e(U,wo++),Fe+=Ye(U,H,m,_)}else if(j==="object"){var yn="";yn=" If you meant to render a collection of children, use an array instead."+ie.getStackAddendum();var Vr=""+a;throw Error("Objects are not valid as a React child (found: "+(Vr==="[object Object]"?"object with keys {"+Object.keys(a).join(", ")+"}":Vr)+")."+yn)}}return Fe}function xt(a,p,m){return a==null?0:Ye(a,"",p,m)}function _e(a,p){return typeof a=="object"&&a!==null&&a.key!=null?we(a.key):p.toString(36)}function Ke(a,p,m){var _=a.func,j=a.context;_.call(j,p,a.count++)}function N(a,p,m){if(a==null)return a;var _=at(null,null,p,m);xt(a,Ke,_),ze(_)}function X(a,p,m){var _=a.result,j=a.keyPrefix,re=a.func,U=a.context,H=re.call(U,p,a.count++);Array.isArray(H)?ke(H,_,m,function(Fe){return Fe}):H!=null&&(Ge(H)&&(H=St(H,j+(H.key&&(!p||p.key!==H.key)?yt(H.key)+"/":"")+m)),_.push(H))}function ke(a,p,m,_,j){var re="";m!=null&&(re=yt(m)+"/");var U=at(p,re,_,j);xt(a,X,U),ze(U)}function bt(a,p,m){if(a==null)return a;var _=[];return ke(a,_,null,p,m),_}function C(a){return xt(a,function(){return null},null)}function V(a){var p=[];return ke(a,p,null,function(m){return m}),p}function z(a){if(!Ge(a))throw Error("React.Children.only expected to receive a single React element child.");return a}function $e(a,p){p===void 0?p=null:p!==null&&typeof p!="function"&&G("createContext: Expected the optional second argument to be a function. Instead received: %s",p);var m={$$typeof:h,_calculateChangedBits:p,_currentValue:a,_currentValue2:a,_threadCount:0,Provider:null,Consumer:null};m.Provider={$$typeof:d,_context:m};var _=!1,j=!1;{var re={$$typeof:h,_context:m,_calculateChangedBits:m._calculateChangedBits};Object.defineProperties(re,{Provider:{get:function(){return j||(j=!0,G("Rendering <Context.Consumer.Provider> is not supported and will be removed in a future major release. Did you mean to render <Context.Provider> instead?")),m.Provider},set:function(U){m.Provider=U}},_currentValue:{get:function(){return m._currentValue},set:function(U){m._currentValue=U}},_currentValue2:{get:function(){return m._currentValue2},set:function(U){m._currentValue2=U}},_threadCount:{get:function(){return m._threadCount},set:function(U){m._threadCount=U}},Consumer:{get:function(){return _||(_=!0,G("Rendering <Context.Consumer.Consumer> is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?")),m.Consumer}}}),m.Consumer=re}return m._currentRenderer=null,m._currentRenderer2=null,m}function Me(a){var p={$$typeof:k,_ctor:a,_status:-1,_result:null};{var m,_;Object.defineProperties(p,{defaultProps:{configurable:!0,get:function(){return m},set:function(j){G("React.lazy(...): It is not supported to assign `defaultProps` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."),m=j,Object.defineProperty(p,"defaultProps",{enumerable:!0})}},propTypes:{configurable:!0,get:function(){return _},set:function(j){G("React.lazy(...): It is not supported to assign `propTypes` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."),_=j,Object.defineProperty(p,"propTypes",{enumerable:!0})}}})}return p}function ct(a){return a!=null&&a.$$typeof===O?G("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof a!="function"?G("forwardRef requires a render function but was given %s.",a===null?"null":typeof a):a.length!==0&&a.length!==2&&G("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)&&G("forwardRef render functions do not support propTypes or defaultProps. Did you accidentally pass a React component?"),{$$typeof:S,render:a}}function Te(a){return typeof a=="string"||typeof a=="function"||a===s||a===y||a===l||a===u||a===b||a===$||typeof a=="object"&&a!==null&&(a.$$typeof===k||a.$$typeof===O||a.$$typeof===d||a.$$typeof===h||a.$$typeof===S||a.$$typeof===A||a.$$typeof===R||a.$$typeof===I||a.$$typeof===T)}function f(a,p){return Te(a)||G("memo: The first argument must be a component. Instead received: %s",a===null?"null":typeof a),{$$typeof:O,type:a,compare:p===void 0?null:p}}function v(){var a=me.current;if(a===null)throw Error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
|
|
463
|
+
*/process.env.NODE_ENV!=="production"&&function(){var e=Vc,t=iy,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,S=n?Symbol.for("react.forward_ref"):60112,b=n?Symbol.for("react.suspense"):60113,$=n?Symbol.for("react.suspense_list"):60120,T=n?Symbol.for("react.memo"):60115,k=n?Symbol.for("react.lazy"):60116,A=n?Symbol.for("react.block"):60121,O=n?Symbol.for("react.fundamental"):60117,R=n?Symbol.for("react.responder"):60118,I=n?Symbol.for("react.scope"):60119,M=typeof Symbol=="function"&&Symbol.iterator,D="@@iterator";function P(a){if(a===null||typeof a!="object")return null;var p=M&&a[M]||a[D];return typeof p=="function"?p:null}var me={current:null},ye={suspense:null},fe={current:null},Ne=/^(.*)[\\\/]/;function Ie(a,p,m){var _="";if(p){var j=p.fileName,re=j.replace(Ne,"");if(/^index\./.test(re)){var U=j.match(Ne);if(U){var H=U[1];if(H){var Fe=H.replace(Ne,"");re=Fe+"/"+re}}}_=" (at "+re+":"+p.lineNumber+")"}else m&&(_=" (created by "+m+")");return`
|
|
464
|
+
in `+(a||"Unknown")+_}var ve=1;function Q(a){return a._status===ve?a._result:null}function Se(a,p,m){var _=p.displayName||p.name||"";return a.displayName||(_!==""?m+"("+_+")":m)}function oe(a){if(a==null)return null;if(typeof a.tag=="number"&&G("Received an unexpected object in getComponentName(). This is likely a bug in React. Please file an issue."),typeof a=="function")return a.displayName||a.name||null;if(typeof a=="string")return a;switch(a){case s:return"Fragment";case i:return"Portal";case u:return"Profiler";case l:return"StrictMode";case b:return"Suspense";case $:return"SuspenseList"}if(typeof a=="object")switch(a.$$typeof){case h:return"Context.Consumer";case d:return"Context.Provider";case S:return Se(a,a.render,"ForwardRef");case T:return oe(a.type);case A:return oe(a.render);case k:{var p=a,m=Q(p);if(m)return oe(m);break}}return null}var ie={},se=null;function te(a){se=a}ie.getCurrentStack=null,ie.getStackAddendum=function(){var a="";if(se){var p=oe(se.type),m=se._owner;a+=Ie(p,se._source,m&&oe(m.type))}var _=ie.getCurrentStack;return _&&(a+=_()||""),a};var q={current:!1},ae={ReactCurrentDispatcher:me,ReactCurrentBatchConfig:ye,ReactCurrentOwner:fe,IsSomeRendererActing:q,assign:e};e(ae,{ReactDebugCurrentFrame:ie,ReactComponentTreeHook:{}});function pe(a){{for(var p=arguments.length,m=new Array(p>1?p-1:0),_=1;_<p;_++)m[_-1]=arguments[_];it("warn",a,m)}}function G(a){{for(var p=arguments.length,m=new Array(p>1?p-1:0),_=1;_<p;_++)m[_-1]=arguments[_];it("error",a,m)}}function it(a,p,m){{var _=m.length>0&&typeof m[m.length-1]=="string"&&m[m.length-1].indexOf(`
|
|
465
|
+
in`)===0;if(!_){var j=ae.ReactDebugCurrentFrame,re=j.getStackAddendum();re!==""&&(p+="%s",m=m.concat([re]))}var U=m.map(function(Ve){return""+Ve});U.unshift("Warning: "+p),Function.prototype.apply.call(console[a],console,U);try{var H=0,Fe="Warning: "+p.replace(/%s/g,function(){return m[H++]});throw new Error(Fe)}catch{}}}var et={};function We(a,p){{var m=a.constructor,_=m&&(m.displayName||m.name)||"ReactClass",j=_+"."+p;if(et[j])return;G("Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.",p,_),et[j]=!0}}var qe={isMounted:function(a){return!1},enqueueForceUpdate:function(a,p,m){We(a,"forceUpdate")},enqueueReplaceState:function(a,p,m,_){We(a,"replaceState")},enqueueSetState:function(a,p,m,_){We(a,"setState")}},le={};Object.freeze(le);function be(a,p,m){this.props=a,this.context=p,this.refs=le,this.updater=m||qe}be.prototype.isReactComponent={},be.prototype.setState=function(a,p){if(!(typeof a=="object"||typeof a=="function"||a==null))throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,a,p,"setState")},be.prototype.forceUpdate=function(a){this.updater.enqueueForceUpdate(this,a,"forceUpdate")};{var xe={isMounted:["isMounted","Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."],replaceState:["replaceState","Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."]},Be=function(a,p){Object.defineProperty(be.prototype,a,{get:function(){pe("%s(...) is deprecated in plain JavaScript React classes. %s",p[0],p[1])}})};for(var Re in xe)xe.hasOwnProperty(Re)&&Be(Re,xe[Re])}function ut(){}ut.prototype=be.prototype;function Rt(a,p,m){this.props=a,this.context=p,this.refs=le,this.updater=m||qe}var Ee=Rt.prototype=new ut;Ee.constructor=Rt,e(Ee,be.prototype),Ee.isPureReactComponent=!0;function ft(){var a={current:null};return Object.seal(a),a}var Qe=Object.prototype.hasOwnProperty,dt={key:!0,ref:!0,__self:!0,__source:!0},ue,pt,ht;ht={};function gt(a){if(Qe.call(a,"ref")){var p=Object.getOwnPropertyDescriptor(a,"ref").get;if(p&&p.isReactWarning)return!1}return a.ref!==void 0}function Ot(a){if(Qe.call(a,"key")){var p=Object.getOwnPropertyDescriptor(a,"key").get;if(p&&p.isReactWarning)return!1}return a.key!==void 0}function tt(a,p){var m=function(){ue||(ue=!0,G("%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://fb.me/react-special-props)",p))};m.isReactWarning=!0,Object.defineProperty(a,"key",{get:m,configurable:!0})}function st(a,p){var m=function(){pt||(pt=!0,G("%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://fb.me/react-special-props)",p))};m.isReactWarning=!0,Object.defineProperty(a,"ref",{get:m,configurable:!0})}function mt(a){if(typeof a.ref=="string"&&fe.current&&a.__self&&fe.current.stateNode!==a.__self){var p=oe(fe.current.type);ht[p]||(G('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://fb.me/react-strict-mode-string-ref',oe(fe.current.type),a.ref),ht[p]=!0)}}var Je=function(a,p,m,_,j,re,U){var H={$$typeof:o,type:a,key:p,ref:m,props:U,_owner:re};return H._store={},Object.defineProperty(H._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(H,"_self",{configurable:!1,enumerable:!1,writable:!1,value:_}),Object.defineProperty(H,"_source",{configurable:!1,enumerable:!1,writable:!1,value:j}),Object.freeze&&(Object.freeze(H.props),Object.freeze(H)),H};function _t(a,p,m){var _,j={},re=null,U=null,H=null,Fe=null;if(p!=null){gt(p)&&(U=p.ref,mt(p)),Ot(p)&&(re=""+p.key),H=p.__self===void 0?null:p.__self,Fe=p.__source===void 0?null:p.__source;for(_ in p)Qe.call(p,_)&&!dt.hasOwnProperty(_)&&(j[_]=p[_])}var Ve=arguments.length-2;if(Ve===1)j.children=m;else if(Ve>1){for(var Et=Array(Ve),wt=0;wt<Ve;wt++)Et[wt]=arguments[wt+2];Object.freeze&&Object.freeze(Et),j.children=Et}if(a&&a.defaultProps){var Yt=a.defaultProps;for(_ in Yt)j[_]===void 0&&(j[_]=Yt[_])}if(re||U){var jt=typeof a=="function"?a.displayName||a.name||"Unknown":a;re&&tt(j,jt),U&&st(j,jt)}return Je(a,re,U,H,Fe,fe.current,j)}function St(a,p){var m=Je(a.type,p,a.ref,a._self,a._source,a._owner,a.props);return m}function kt(a,p,m){if(a==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+a+".");var _,j=e({},a.props),re=a.key,U=a.ref,H=a._self,Fe=a._source,Ve=a._owner;if(p!=null){gt(p)&&(U=p.ref,Ve=fe.current),Ot(p)&&(re=""+p.key);var Et;a.type&&a.type.defaultProps&&(Et=a.type.defaultProps);for(_ in p)Qe.call(p,_)&&!dt.hasOwnProperty(_)&&(p[_]===void 0&&Et!==void 0?j[_]=Et[_]:j[_]=p[_])}var wt=arguments.length-2;if(wt===1)j.children=m;else if(wt>1){for(var Yt=Array(wt),jt=0;jt<wt;jt++)Yt[jt]=arguments[jt+2];j.children=Yt}return Je(a.type,re,U,H,Fe,Ve,j)}function Ge(a){return typeof a=="object"&&a!==null&&a.$$typeof===o}var Pt=".",rt=":";function we(a){var p=/[=:]/g,m={"=":"=0",":":"=2"},_=(""+a).replace(p,function(j){return m[j]});return"$"+_}var Dt=!1,Nt=/\/+/g;function yt(a){return(""+a).replace(Nt,"$&/")}var vt=10,He=[];function at(a,p,m,_){if(He.length){var j=He.pop();return j.result=a,j.keyPrefix=p,j.func=m,j.context=_,j.count=0,j}else return{result:a,keyPrefix:p,func:m,context:_,count:0}}function ze(a){a.result=null,a.keyPrefix=null,a.func=null,a.context=null,a.count=0,He.length<vt&&He.push(a)}function Ye(a,p,m,_){var j=typeof a;(j==="undefined"||j==="boolean")&&(a=null);var re=!1;if(a===null)re=!0;else switch(j){case"string":case"number":re=!0;break;case"object":switch(a.$$typeof){case o:case i:re=!0}}if(re)return m(_,a,p===""?Pt+_e(a,0):p),1;var U,H,Fe=0,Ve=p===""?Pt:p+rt;if(Array.isArray(a))for(var Et=0;Et<a.length;Et++)U=a[Et],H=Ve+_e(U,Et),Fe+=Ye(U,H,m,_);else{var wt=P(a);if(typeof wt=="function"){wt===a.entries&&(Dt||pe("Using Maps as children is deprecated and will be removed in a future major release. Consider converting children to an array of keyed ReactElements instead."),Dt=!0);for(var Yt=wt.call(a),jt,wo=0;!(jt=Yt.next()).done;)U=jt.value,H=Ve+_e(U,wo++),Fe+=Ye(U,H,m,_)}else if(j==="object"){var yn="";yn=" If you meant to render a collection of children, use an array instead."+ie.getStackAddendum();var Vr=""+a;throw Error("Objects are not valid as a React child (found: "+(Vr==="[object Object]"?"object with keys {"+Object.keys(a).join(", ")+"}":Vr)+")."+yn)}}return Fe}function xt(a,p,m){return a==null?0:Ye(a,"",p,m)}function _e(a,p){return typeof a=="object"&&a!==null&&a.key!=null?we(a.key):p.toString(36)}function Ke(a,p,m){var _=a.func,j=a.context;_.call(j,p,a.count++)}function N(a,p,m){if(a==null)return a;var _=at(null,null,p,m);xt(a,Ke,_),ze(_)}function X(a,p,m){var _=a.result,j=a.keyPrefix,re=a.func,U=a.context,H=re.call(U,p,a.count++);Array.isArray(H)?ke(H,_,m,function(Fe){return Fe}):H!=null&&(Ge(H)&&(H=St(H,j+(H.key&&(!p||p.key!==H.key)?yt(H.key)+"/":"")+m)),_.push(H))}function ke(a,p,m,_,j){var re="";m!=null&&(re=yt(m)+"/");var U=at(p,re,_,j);xt(a,X,U),ze(U)}function bt(a,p,m){if(a==null)return a;var _=[];return ke(a,_,null,p,m),_}function C(a){return xt(a,function(){return null},null)}function V(a){var p=[];return ke(a,p,null,function(m){return m}),p}function z(a){if(!Ge(a))throw Error("React.Children.only expected to receive a single React element child.");return a}function $e(a,p){p===void 0?p=null:p!==null&&typeof p!="function"&&G("createContext: Expected the optional second argument to be a function. Instead received: %s",p);var m={$$typeof:h,_calculateChangedBits:p,_currentValue:a,_currentValue2:a,_threadCount:0,Provider:null,Consumer:null};m.Provider={$$typeof:d,_context:m};var _=!1,j=!1;{var re={$$typeof:h,_context:m,_calculateChangedBits:m._calculateChangedBits};Object.defineProperties(re,{Provider:{get:function(){return j||(j=!0,G("Rendering <Context.Consumer.Provider> is not supported and will be removed in a future major release. Did you mean to render <Context.Provider> instead?")),m.Provider},set:function(U){m.Provider=U}},_currentValue:{get:function(){return m._currentValue},set:function(U){m._currentValue=U}},_currentValue2:{get:function(){return m._currentValue2},set:function(U){m._currentValue2=U}},_threadCount:{get:function(){return m._threadCount},set:function(U){m._threadCount=U}},Consumer:{get:function(){return _||(_=!0,G("Rendering <Context.Consumer.Consumer> is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?")),m.Consumer}}}),m.Consumer=re}return m._currentRenderer=null,m._currentRenderer2=null,m}function Me(a){var p={$$typeof:k,_ctor:a,_status:-1,_result:null};{var m,_;Object.defineProperties(p,{defaultProps:{configurable:!0,get:function(){return m},set:function(j){G("React.lazy(...): It is not supported to assign `defaultProps` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."),m=j,Object.defineProperty(p,"defaultProps",{enumerable:!0})}},propTypes:{configurable:!0,get:function(){return _},set:function(j){G("React.lazy(...): It is not supported to assign `propTypes` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."),_=j,Object.defineProperty(p,"propTypes",{enumerable:!0})}}})}return p}function ct(a){return a!=null&&a.$$typeof===T?G("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof a!="function"?G("forwardRef requires a render function but was given %s.",a===null?"null":typeof a):a.length!==0&&a.length!==2&&G("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)&&G("forwardRef render functions do not support propTypes or defaultProps. Did you accidentally pass a React component?"),{$$typeof:S,render:a}}function Te(a){return typeof a=="string"||typeof a=="function"||a===s||a===y||a===u||a===l||a===b||a===$||typeof a=="object"&&a!==null&&(a.$$typeof===k||a.$$typeof===T||a.$$typeof===d||a.$$typeof===h||a.$$typeof===S||a.$$typeof===O||a.$$typeof===R||a.$$typeof===I||a.$$typeof===A)}function f(a,p){return Te(a)||G("memo: The first argument must be a component. Instead received: %s",a===null?"null":typeof a),{$$typeof:T,type:a,compare:p===void 0?null:p}}function v(){var a=me.current;if(a===null)throw Error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
|
|
387
466
|
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
388
467
|
2. You might be breaking the Rules of Hooks
|
|
389
468
|
3. You might have more than one copy of React in the same app
|
|
@@ -393,6 +472,6 @@ Did you call array.map(useContext)? Calling Hooks inside a loop is not supported
|
|
|
393
472
|
|
|
394
473
|
Check the render method of \``+a+"`."}return""}function nt(a){if(a!==void 0){var p=a.fileName.replace(/^.*[\\\/]/,""),m=a.lineNumber;return`
|
|
395
474
|
|
|
396
|
-
Check your code at `+p+":"+m+"."}return""}function
|
|
475
|
+
Check your code at `+p+":"+m+"."}return""}function uo(a){return a!=null?nt(a.__source):""}var dn={};function fo(a){var p=Ht();if(!p){var m=typeof a=="string"?a:a.displayName||a.name;m&&(p=`
|
|
397
476
|
|
|
398
|
-
Check the top-level render call using <`+m+">.")}return p}function Dr(a,p){if(!(!a._store||a._store.validated||a.key!=null)){a._store.validated=!0;var m=fo(p);if(!dn[m]){dn[m]=!0;var _="";a&&a._owner&&a._owner!==fe.current&&(_=" It was passed a child from "+oe(a._owner.type)+"."),te(a),G('Each child in a list should have a unique "key" prop.%s%s See https://fb.me/react-warning-keys for more information.',m,_),te(null)}}}function sr(a,p){if(typeof a=="object"){if(Array.isArray(a))for(var m=0;m<a.length;m++){var _=a[m];Ge(_)&&Dr(_,p)}else if(Ge(a))a._store&&(a._store.validated=!0);else if(a){var j=P(a);if(typeof j=="function"&&j!==a.entries)for(var re=j.call(a),U;!(U=re.next()).done;)Ge(U.value)&&Dr(U.value,p)}}}function pn(a){{var p=a.type;if(p==null||typeof p=="string")return;var m=oe(p),_;if(typeof p=="function")_=p.propTypes;else if(typeof p=="object"&&(p.$$typeof===S||p.$$typeof===O))_=p.propTypes;else return;_?(te(a),t(_,a.props,"prop",m,ie.getStackAddendum),te(null)):p.PropTypes!==void 0&&!Xe&&(Xe=!0,G("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",m||"Unknown")),typeof p.getDefaultProps=="function"&&!p.getDefaultProps.isReactClassApproved&&G("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Nr(a){{te(a);for(var p=Object.keys(a.props),m=0;m<p.length;m++){var _=p[m];if(_!=="children"&&_!=="key"){G("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",_);break}}a.ref!==null&&G("Invalid attribute `ref` supplied to `React.Fragment`."),te(null)}}function hn(a,p,m){var _=Te(a);if(!_){var j="";(a===void 0||typeof a=="object"&&a!==null&&Object.keys(a).length===0)&&(j+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var re=lo(p);re?j+=re:j+=Ht();var U;a===null?U="null":Array.isArray(a)?U="array":a!==void 0&&a.$$typeof===o?(U="<"+(oe(a.type)||"Unknown")+" />",j=" Did you accidentally export a JSX literal instead of a component?"):U=typeof a,G("React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",U,j)}var H=_t.apply(this,arguments);if(H==null)return H;if(_)for(var Fe=2;Fe<arguments.length;Fe++)sr(arguments[Fe],a);return a===s?Nr(H):pn(H),H}var gn=!1;function po(a){var p=hn.bind(null,a);return p.type=a,gn||(gn=!0,pe("React.createFactory() is deprecated and will be removed in a future major release. Consider using JSX or use React.createElement() directly instead.")),Object.defineProperty(p,"type",{enumerable:!1,get:function(){return pe("Factory.type is deprecated. Access the class directly before passing it to createFactory."),Object.defineProperty(this,"type",{value:a}),a}}),p}function ho(a,p,m){for(var _=kt.apply(this,arguments),j=2;j<arguments.length;j++)sr(arguments[j],_.type);return pn(_),_}try{var mn=Object.freeze({}),go=new Map([[mn,null]]),Fr=new Set([mn]);go.set(0,0),Fr.add(0)}catch{}var mo=hn,yo=ho,vo=po,bo={map:bt,forEach:N,count:C,toArray:V,only:z};he.Children=bo,he.Component=be,he.Fragment=s,he.Profiler=l,he.PureComponent=Rt,he.StrictMode=u,he.Suspense=b,he.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=ae,he.cloneElement=yo,he.createContext=$e,he.createElement=mo,he.createFactory=vo,he.createRef=ft,he.forwardRef=ct,he.isValidElement=Ge,he.lazy=Me,he.memo=f,he.useCallback=Le,he.useContext=x,he.useDebugValue=Ae,he.useEffect=J,he.useImperativeHandle=ce,he.useLayoutEffect=Y,he.useMemo=B,he.useReducer=ne,he.useRef=ee,he.useState=F,he.version=r}();process.env.NODE_ENV==="production"?Yr.exports=ge:Yr.exports=he;var xr=Yr.exports,jo={sdkSemver:"1.13.0",techVersion:xr.version,sdkCode:"J"},oy=function(e){Nc(t,e);function t(r){var n=e.call(this,r)||this;return n.imageRef=xr.createRef(),n}return t.prototype.componentDidMount=function(){this.htmlLayerInstance=new Gh(this.imageRef.current,this.props.cldImg,this.props.plugins,jo)},t.prototype.componentDidUpdate=function(){zn(this.htmlLayerInstance.htmlPluginState),this.htmlLayerInstance.update(this.props.cldImg,this.props.plugins,jo)},t.prototype.componentWillUnmount=function(){zn(this.htmlLayerInstance.htmlPluginState),this.htmlLayerInstance.unmount()},t.prototype.render=function(){var r=this.props;r.cldImg,r.plugins;var n=Fc(r,["cldImg","plugins"]);if(Mi())return xr.createElement("img",Hr({suppressHydrationWarning:!0},n,{ref:this.imageRef}));var o=Pm(this.props.plugins,this.props.cldImg,jo);return xr.createElement("img",Hr({},n,{src:o}))},t}(xr.Component),iy=["controls","loop","muted","poster","preload","autoplay","playsinline"];(function(e){Nc(t,e);function t(r){var n=e.call(this,r)||this;return n.videoRef=Yr.exports.createRef(),n.attachRef=n.attachRef.bind(n),n}return t.prototype.componentDidMount=function(){this.htmlVideoLayerInstance=new Sm(this.videoRef&&this.videoRef.current,this.props.cldVid,this.props.sources,this.props.plugins,this.getVideoAttributes(),this.props.cldPoster,{useFetchFormat:this.props.useFetchFormat})},t.prototype.componentDidUpdate=function(){zn(this.htmlVideoLayerInstance.htmlPluginState),this.htmlVideoLayerInstance.update(this.props.cldVid,this.props.sources,this.props.plugins,this.getVideoAttributes(),this.props.cldPoster)},t.prototype.componentWillUnmount=function(){zn(this.htmlVideoLayerInstance.htmlPluginState)},t.prototype.getVideoAttributes=function(){var r=this,n={};return iy.forEach(function(o){o in r.props&&(n[o]=r.props[o])}),n},t.prototype.attachRef=function(r){this.videoRef.current=r;var n=this.props.innerRef;n&&(n instanceof Function?n(r):n.current=r)},t.prototype.render=function(){var r=this.props;r.cldVid,r.cldPoster,r.plugins,r.sources,r.innerRef,r.useFetchFormat;var n=Fc(r,["cldVid","cldPoster","plugins","sources","innerRef","useFetchFormat"]);return xr.createElement("video",Hr({},n,{ref:this.attachRef}))},t})(Yr.exports.Component);function sy(e){return!(typeof e!="object"||e instanceof Array)}class ay{filterOutNonSupportedKeys(t,r){const n=Object.create({});return sy(t)?(Object.keys(t).forEach(o=>{r.indexOf(o)>=0?n[o]=t[o]:console.warn("Warning - unsupported key provided to configuration: ",o)}),n):Object.create({})}}const Zs=["cname","secureDistribution","privateCdn","signUrl","longUrlSignature","shorten","useRootPath","secure","forceVersion","analytics","queryParams"];class Bi extends ay{constructor(t){super();const r=this.filterOutNonSupportedKeys(t,Zs);Object.assign(this,{secure:!0},r)}extend(t){const r=this.filterOutNonSupportedKeys(t,Zs);return new Bi(Object.assign({},this,r))}setCname(t){return this.cname=t,this}setSecureDistribution(t){return this.secureDistribution=t,this}setPrivateCdn(t){return this.privateCdn=t,this}setSignUrl(t){return this.signUrl=t,this}setLongUrlSignature(t){return this.longUrlSignature=t,this}setShorten(t){return this.shorten=t,this}setUseRootPath(t){return this.useRootPath=t,this}setSecure(t){return this.secure=t,this}setForceVersion(t){return this.forceVersion=t,this}setQueryParams(t){return this.queryParams=t,this}}class Qr{constructor(t){this.values=[],this.delimiter=":",this.hasValue(t)&&this.addValue(t)}toString(){return this.values.join(this.delimiter)}hasValue(t){return typeof t<"u"&&t!==null&&t!==""}addValue(t){return Array.isArray(t)?this.values=this.values.concat(t):this.values.push(t),this.values=this.values.filter(r=>this.hasValue(r)),this}setDelimiter(t){return this.delimiter=t,this}}class cy extends Error{constructor(t="Unsupported"){super(t)}}function zi(e){return new cy(e)}function uy(){return this._qualifierModel||{error:zi(`unsupported qualifier ${this.constructor.name}`)}}class ly{constructor(){this._qualifierModel={}}toJson(){return uy.apply(this)}}class co extends ly{constructor(t,r){super(),this.delimiter="_",this.key=t,r instanceof Qr?this.qualifierValue=r:(this.qualifierValue=new Qr,this.qualifierValue.addValue(r))}toString(){const{key:t,delimiter:r,qualifierValue:n}=this;return`${t}${r}${n.toString()}`}addValue(t){return this.qualifierValue.addValue(t),this}}class rr extends co{constructor(t,r){let n;r?n=new Qr([t,`${r}`]).setDelimiter(":"):n=t,super("fl",n),this.flagValue=r}toString(){return super.toString().replace(/\./g,"%2E")}getFlagValue(){return this.flagValue}}function fy(e,t){const r=Array.from(e.entries());return t.forEach(n=>{r.push(["fl",n])}),r.sort().map(n=>n[1])}function dy(){var e,t,r;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;return o&&o instanceof Error?{error:o}:n?this._actionModel:{error:zi(`unsupported action ${this.constructor.name}`)}}class py{constructor(){this._actionModel={}}toJson(){return dy.apply(this)}}class Ui extends py{constructor(){super(...arguments),this.qualifiers=new Map,this.flags=[],this.delimiter=",",this.actionTag=""}prepareQualifiers(){}getActionTag(){return this.actionTag}setActionTag(t){return this.actionTag=t,this}toString(){return this.prepareQualifiers(),fy(this.qualifiers,this.flags).join(this.delimiter)}addQualifier(t){if(typeof t=="string"){const[r,n]=t.toLowerCase().split("_");r==="fl"?this.flags.push(new rr(n)):this.qualifiers.set(r,new co(r,n))}else this.qualifiers.set(t.key,t);return this}addFlag(t){return typeof t=="string"?this.flags.push(new rr(t)):t instanceof rr&&this.flags.push(t),this}addValueToQualifier(t,r){return this.qualifiers.get(t).addValue(r),this}}function hy(e){return e&&(e.match(/^#/)?`rgb:${e.substr(1)}`:e)}class gy extends Ui{constructor(t){super(),this._actionModel={},this.addQualifier(new co("b",new Qr(hy(t)).setDelimiter("_"))),this._actionModel.color=t,this._actionModel.actionType="backgroundColor"}static fromJson(t){const{color:r}=t;return new this(r)}}class ea{constructor(t){this.raw=t}toString(){return this.raw}toJson(){return{error:zi(`unsupported action ${this.constructor.name}`)}}}function my(e){const t=e;return"error"in t&&!!t.error}function yy(){return new rr("lossy")}function vy(){return new rr("preserve_transparency")}function by(e){return new rr("progressive",e)}class wy extends Qr{constructor(t){super(t),this.val=t}getValue(){return this.val}}function br(e){const t={};return Object.keys(e).forEach(r=>{t[e[r]]=r}),t}const _y={limitFit:"limit",limitFill:"lfill",minimumFit:"mfit",thumbnail:"thumb",limitPad:"lpad",minimumPad:"mpad",autoPad:"auto_pad"},Sy={colorSpace:"cs",dpr:"dpr",density:"dn",defaultImage:"d",format:"f",quality:"q"},xy={redEye:"redeye",advancedRedEye:"adv_redeye",oilPaint:"oil_paint",unsharpMask:"unsharp_mask",makeTransparent:"make_transparent",generativeRestore:"gen_restore",upscale:"upscale"},Ey={autoBest:"auto:best",autoEco:"auto:eco",autoGood:"auto:good",autoLow:"auto:low",jpegminiHigh:"jpegmini:1",jpegminiMedium:"jpegmini:2",jpegminiBest:"jpegmini:0"},$y={fullHd:"full_hd",fullHdWifi:"full_hd_wifi",fullHdLean:"full_hd_lean",hdLean:"hd_lean"},Ty={444:"CHROMA_444",420:"CHROMA_420"},Ay={noCmyk:"no_cmyk",keepCmyk:"keep_cmyk",tinySrgb:"tinysrgb",srgbTrueColor:"srgb:truecolor"};br(Ty);br(Ay);br(_y);const Oy=br(Sy);br(xy);br(Ey);br($y);class Cy extends Ui{constructor(t,r,n){super(),this._actionModel={};let o;r instanceof wy?o=r.getValue():o=r,this._actionModel.actionType=Oy[t],this._actionModel[n]=o,this.addQualifier(new co(t,r))}}class Ry extends rr{constructor(t){super("progressive",t)}}class Wn extends Cy{constructor(t,r){super(t,r,"formatType")}lossy(){return this._actionModel.lossy=!0,this.addFlag(yy()),this}progressive(t){return t instanceof Ry?(this._actionModel.progressive={mode:t.getFlagValue()},this.addFlag(t)):(this._actionModel.progressive={mode:t},this.addFlag(by(t))),this}preserveTransparency(){return this._actionModel.preserveTransparency=!0,this.addFlag(vy()),this}static fromJson(t){const{formatType:r,lossy:n,progressive:o,preserveTransparency:i}=t;let s;return r?s=new this("f",r):s=new this("f"),o&&(o.mode?s.progressive(o.mode):s.progressive()),n&&s.lossy(),i&&s.preserveTransparency(),s}}class uo{constructor(){this.actions=[]}addAction(t){let r;if(typeof t=="string"){if(t.indexOf("/")>=0)throw"addAction cannot accept a string with a forward slash in it - /, use .addTransformation() instead";r=new ea(t)}else r=t;return this.actions.push(r),this}addTransformation(t){return t instanceof uo?this.actions=this.actions.concat(t.actions):this.actions.push(new ea(t)),this}toString(){return this.actions.map(t=>t.toString()).filter(t=>t).join("/")}animated(t){return this.addAction(t)}border(t){return this.addAction(t)}reshape(t){return this.addAction(t)}resize(t){return this.addAction(t)}quality(t){return this.addAction(new Wn("q",t)),this}format(t){return this.addAction(new Wn("f",t)),this}roundCorners(t){return this.addAction(t)}overlay(t){return this.addAction(t)}underlay(t){return t.setLayerType("u"),this.addAction(t)}addVariable(t){return this.addAction(t)}conditional(t){return this.addAction(t)}effect(t){return this.addAction(t)}adjust(t){return this.addAction(t)}rotate(t){return this.addAction(t)}namedTransformation(t){return this.addAction(t)}delivery(t){return this.addAction(t)}backgroundColor(t){return this.addAction(new gy(t))}psdTools(t){return this.addAction(t)}extract(t){return this.addAction(t)}addFlag(t){const r=new Ui;let n=t;return typeof t=="string"&&(n=new rr(t)),r.addQualifier(n),this.addAction(r)}customFunction(t){return this.addAction(t)}transcode(t){return this.addAction(t)}videoEdit(t){return this.addAction(t)}toJson(){const t=[];for(const r of this.actions){const n=r.toJson();if(my(n))return n;t.push(n)}return{actions:t}}}class ky extends uo{}class Py extends uo{}function jy(e){return e.match(/^https?:\//)}function Iy(e){return e.indexOf("/")<0}function My(e){return e.match(/^v[0-9]+/)}function Ly(e,t){const r=t.secure,n=t.privateCdn,o=t.cname,i=t.secureDistribution;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"}function Dy(e){return e||"image"}function Ny(e){return e||"upload"}function Fy(e,t,r){const n=r!==!1;return t?`v${t}`:My(e)||jy(e)||Iy(e)?"":n?"v1":""}function Wi(e,t,r){let n=t>>0,o=String(r);return e.length>n?String(e):(n=n-e.length,n>o.length&&(o+=Vy(o,n/o.length)),o.slice(0,n)+String(e))}function Vy(e,t){let r=t,n="";for(;r>0;)n+=e,r--;return n}const By="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",qn={};let ta=0;By.split("").forEach(e=>{let t=ta.toString(2);t=Wi(t,6,"0"),qn[t]=e,ta++});function zy(e){if(e.split(".").length<2)throw new Error("invalid semVer, must have at least two segments");return e.split(".").reverse().join(".")}function Uy(e){if(e.split(".").length<2)throw new Error("invalid semVer, must have at least two segments");return e.split(".").map(t=>{const r=+t;if(isNaN(r)||r<0)throw"Invalid version number provided";return Wi(t,2,"0")}).join(".")}function ra(e){let t="";const n=e.split(".").length*6,o=zy(e),i=Uy(o);let u=parseInt(i.split(".").join("")).toString(2);if(u=Wi(u,n,"0"),u.length%6!==0)throw"Version must be smaller than 43.21.26)";return u.match(/.{1,6}/g).forEach(l=>{t+=qn[l]}),t}function Wy(e){const t={sdkSemver:e.sdkSemver,techVersion:e.techVersion,sdkCode:e.sdkCode,product:e.product,feature:"0",osType:e.osType,osVersion:e.osVersion};return e.accessibility&&(t.feature="D"),e.lazyload&&(t.feature="C"),e.responsive&&(t.feature="A"),e.placeholder&&(t.feature="B"),t}const qy="1.21.0";function Gy(e){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");return qn[i]+qn[s]}function Hy(){const e="0.0.0";if(typeof window<"u")return e;try{return process.versions.node||e}catch{return e}}function Yy(e){const t={techVersion:Hy(),sdkCode:"T",sdkSemver:qy.split("-")[0],product:"A",osType:"Z",osVersion:"0.0",responsive:!1,placeholder:!1,lazyload:!1,accessibility:!1};return e?Object.assign(Object.assign({},t),e):t}function na(e){const t=Yy(e),r=Wy(t);try{const n=Qy(r.techVersion),o=ra(r.sdkSemver),i=ra(n),s=Gy(r.osVersion),u=r.feature,l=r.sdkCode,{product:d,osType:h}=r;return`D${d}${l}${o}${i}${h}${s}${u}`}catch{return"E"}}function Qy(e){const t=e.split(".");return`${t[0]}.${t[1]}`}const oa={"image/upload":"images","image/private":"private_images","image/authenticated":"authenticated_images","raw/upload":"files","video/upload":"videos"};class Jy{constructor(t,r={},n){this.setPublicID(t),this.setCloudConfig(r),this.setURLConfig(n)}setURLConfig(t){return this.urlConfig=new Bi(t),this}setCloudConfig(t){return this.cloudName=t.cloudName,this.apiKey=t.apiKey,this.apiSecret=t.apiSecret,this.authToken=t.authToken,this}setPublicID(t){return this.publicID=t?t.toString():"",this}setDeliveryType(t){return this.deliveryType=t,this}setSuffix(t){return this.suffix=t,this}setSignature(t){return this.signature=t,this}setVersion(t){return t&&(this.version=t),this}setAssetType(t){return t&&(this.assetType=t),this}sign(){return this}toURL(t={}){return this.createCloudinaryURL(null,t.trackedAnalytics)}validateAssetForURLCreation(){if(typeof this.cloudName>"u")throw"You must supply a cloudName when initializing the asset";const t=this.suffix&&this.suffix.indexOf(".")>=0,r=this.suffix&&this.suffix.indexOf("/")>=0;if(t||r)throw"`suffix`` should not include . or /"}getResourceType(){const t=Dy(this.assetType),r=Ny(this.deliveryType),n=!!this.suffix,o=`${t}/${r}`,i=oa[`${t}/${r}`],s=this.urlConfig.useRootPath,u=this.urlConfig.shorten;if(s){if(o==="image/upload")return"";throw new Error(`useRootPath can only be used with assetType: 'image' and deliveryType: 'upload'. Provided: ${o} instead`)}if(u&&o==="image/upload")return"iu";if(n){if(i)return i;throw new Error(`URL Suffix only supported for ${Object.keys(oa).join(", ")}, Provided: ${o} instead`)}return o}getSignature(){return this.signature?`s--${this.signature}--`:""}createCloudinaryURL(t,r){if(!this.publicID)return"";this.validateAssetForURLCreation();const n=Ly(this.cloudName,this.urlConfig),o=t?t.toString():"",i=Fy(this.publicID,this.version,this.urlConfig.forceVersion),s=this.publicID;if(typeof t=="string")return[n,this.getResourceType(),this.getSignature(),o,i,s.replace(/,/g,"%2C"),this.suffix].filter(l=>l).join("/");{const u=[encodeURI(n),this.getResourceType(),this.getSignature(),encodeURI(o),i,encodeURI(s).replace(/,/g,"%2C"),this.suffix&&encodeURI(this.suffix)].filter(h=>h).join("/").replace(/\?/g,"%3F").replace(/=/g,"%3D"),l=this.urlConfig.analytics!==!1&&!s.includes("?");let d="";if(typeof this.urlConfig.queryParams=="object")try{const h=new URLSearchParams(this.urlConfig.queryParams);l&&h.set("_a",na(r)),d=h.toString()}catch{console.error("Error: URLSearchParams is not available so the queryParams object cannot be parsed, please try passing as an already parsed string")}else d=this.urlConfig.queryParams||"",l&&(d+=`${d.length>0?"&":""}_a=${na(r)}`);return d?`${u}?${d}`:u}}}class Xc extends Jy{constructor(t,r,n,o){super(t,r,n),this.transformation=o}animated(t){return this.transformation.animated(t),this}border(t){return this.transformation.border(t),this}reshape(t){return this.transformation.reshape(t),this}resize(t){return this.transformation.resize(t),this}quality(t){return this.addAction(new Wn("q",t)),this}format(t){return this.addAction(new Wn("f",t)),this}roundCorners(t){return this.transformation.roundCorners(t),this}overlay(t){return this.transformation.overlay(t),this}addVariable(t){return this.transformation.addVariable(t),this}conditional(t){return this.transformation.conditional(t),this}effect(t){return this.transformation.effect(t),this}adjust(t){return this.transformation.adjust(t),this}rotate(t){return this.transformation.rotate(t),this}namedTransformation(t){return this.transformation.namedTransformation(t),this}delivery(t){return this.transformation.delivery(t),this}backgroundColor(t){return this.transformation.backgroundColor(t),this}psdTools(t){return this.transformation.psdTools(t),this}extract(t){return this.transformation.extract(t),this}addFlag(t){return this.transformation.addFlag(t),this}customFunction(t){return this.transformation.customFunction(t),this}addAction(t){return this.transformation.addAction(t),this}addTransformation(t){return this.transformation.addTransformation(t),this}toString(){return this.transformation.toString()}underlay(t){return this.transformation.underlay(t),this}toURL(t={}){return this.createCloudinaryURL(this.transformation,t==null?void 0:t.trackedAnalytics)}}class Ky extends Xc{constructor(t,r,n){super(t,r,n,new ky)}}class Xy extends Xc{constructor(t,r,n){super(t,r,n,new Py),this.assetType="video"}transcode(t){return this.transformation.transcode(t),this}videoEdit(t){return this.transformation.videoEdit(t),this}}class Zy{constructor(t){t&&(this.cloudinaryConfig=t)}image(t){return new Ky(t,this.cloudinaryConfig.cloud,this.cloudinaryConfig.url)}video(t){return new Xy(t,this.cloudinaryConfig.cloud,this.cloudinaryConfig.url)}setConfig(t){return this.cloudinaryConfig=t,this}getConfig(){return this.cloudinaryConfig}extendConfig(){}}const ev=({publicId:e,format:t="webp"})=>{const r=E.useMemo(()=>new Zy({cloud:{cloudName:"fluid-attacks"}}),[]);return E.useMemo(()=>r.image(e).format(t),[r,e,t])},tv=({alt:e="img",height:t="",width:r="",plugins:n=[Tm(),Rm()],publicId:o})=>{const i=ev({publicId:o});return De.jsx(oy,{alt:e,cldImg:i,height:t,plugins:n,width:r})},Zc=E.memo(tv),rv={company:{height:"83px",width:"460px"},footer:{height:"57px",width:"315px"},header:{height:"35px",width:"160px"},icon:{height:"40px",width:"40px"}},nv=({publicId:e,variant:t})=>De.jsx(Ei,{...rv[t],children:De.jsx(Zc,{alt:"logo",publicId:e})});exports.BaseButtonComponent=ka;exports.BaseComponent=mi;exports.BaseSpanComponent=Pa;exports.BaseTextComponent=yi;exports.Button=Uh;exports.CloudImage=Zc;exports.Container=Ei;exports.CustomThemeProvider=jl;exports.Heading=zh;exports.Icon=Mn;exports.Logo=nv;exports.Text=ei;exports.Tooltip=rc;exports.getStyledConfig=nn;exports.hiddenProps=sa;exports.icons=kl;exports.setBorder=Zr;exports.setDisplay=en;exports.setInteraction=rn;exports.setMargin=Kr;exports.setPadding=Jr;exports.setPosition=Xr;exports.setText=tn;exports.theme=Pe;exports.uniqueIcons=Pl;exports.variantBuilder=ia;
|
|
477
|
+
Check the top-level render call using <`+m+">.")}return p}function Dr(a,p){if(!(!a._store||a._store.validated||a.key!=null)){a._store.validated=!0;var m=fo(p);if(!dn[m]){dn[m]=!0;var _="";a&&a._owner&&a._owner!==fe.current&&(_=" It was passed a child from "+oe(a._owner.type)+"."),te(a),G('Each child in a list should have a unique "key" prop.%s%s See https://fb.me/react-warning-keys for more information.',m,_),te(null)}}}function sr(a,p){if(typeof a=="object"){if(Array.isArray(a))for(var m=0;m<a.length;m++){var _=a[m];Ge(_)&&Dr(_,p)}else if(Ge(a))a._store&&(a._store.validated=!0);else if(a){var j=P(a);if(typeof j=="function"&&j!==a.entries)for(var re=j.call(a),U;!(U=re.next()).done;)Ge(U.value)&&Dr(U.value,p)}}}function pn(a){{var p=a.type;if(p==null||typeof p=="string")return;var m=oe(p),_;if(typeof p=="function")_=p.propTypes;else if(typeof p=="object"&&(p.$$typeof===S||p.$$typeof===T))_=p.propTypes;else return;_?(te(a),t(_,a.props,"prop",m,ie.getStackAddendum),te(null)):p.PropTypes!==void 0&&!Xe&&(Xe=!0,G("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",m||"Unknown")),typeof p.getDefaultProps=="function"&&!p.getDefaultProps.isReactClassApproved&&G("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Nr(a){{te(a);for(var p=Object.keys(a.props),m=0;m<p.length;m++){var _=p[m];if(_!=="children"&&_!=="key"){G("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",_);break}}a.ref!==null&&G("Invalid attribute `ref` supplied to `React.Fragment`."),te(null)}}function hn(a,p,m){var _=Te(a);if(!_){var j="";(a===void 0||typeof a=="object"&&a!==null&&Object.keys(a).length===0)&&(j+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var re=uo(p);re?j+=re:j+=Ht();var U;a===null?U="null":Array.isArray(a)?U="array":a!==void 0&&a.$$typeof===o?(U="<"+(oe(a.type)||"Unknown")+" />",j=" Did you accidentally export a JSX literal instead of a component?"):U=typeof a,G("React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",U,j)}var H=_t.apply(this,arguments);if(H==null)return H;if(_)for(var Fe=2;Fe<arguments.length;Fe++)sr(arguments[Fe],a);return a===s?Nr(H):pn(H),H}var gn=!1;function po(a){var p=hn.bind(null,a);return p.type=a,gn||(gn=!0,pe("React.createFactory() is deprecated and will be removed in a future major release. Consider using JSX or use React.createElement() directly instead.")),Object.defineProperty(p,"type",{enumerable:!1,get:function(){return pe("Factory.type is deprecated. Access the class directly before passing it to createFactory."),Object.defineProperty(this,"type",{value:a}),a}}),p}function ho(a,p,m){for(var _=kt.apply(this,arguments),j=2;j<arguments.length;j++)sr(arguments[j],_.type);return pn(_),_}try{var mn=Object.freeze({}),go=new Map([[mn,null]]),Fr=new Set([mn]);go.set(0,0),Fr.add(0)}catch{}var mo=hn,yo=ho,vo=po,bo={map:bt,forEach:N,count:C,toArray:V,only:z};he.Children=bo,he.Component=be,he.Fragment=s,he.Profiler=u,he.PureComponent=Rt,he.StrictMode=l,he.Suspense=b,he.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=ae,he.cloneElement=yo,he.createContext=$e,he.createElement=mo,he.createFactory=vo,he.createRef=ft,he.forwardRef=ct,he.isValidElement=Ge,he.lazy=Me,he.memo=f,he.useCallback=Le,he.useContext=x,he.useDebugValue=Ae,he.useEffect=J,he.useImperativeHandle=ce,he.useLayoutEffect=Y,he.useMemo=B,he.useReducer=ne,he.useRef=ee,he.useState=F,he.version=r}();process.env.NODE_ENV==="production"?Yr.exports=ge:Yr.exports=he;var xr=Yr.exports,jo={sdkSemver:"1.13.0",techVersion:xr.version,sdkCode:"J"},sy=function(e){Nc(t,e);function t(r){var n=e.call(this,r)||this;return n.imageRef=xr.createRef(),n}return t.prototype.componentDidMount=function(){this.htmlLayerInstance=new Yh(this.imageRef.current,this.props.cldImg,this.props.plugins,jo)},t.prototype.componentDidUpdate=function(){zn(this.htmlLayerInstance.htmlPluginState),this.htmlLayerInstance.update(this.props.cldImg,this.props.plugins,jo)},t.prototype.componentWillUnmount=function(){zn(this.htmlLayerInstance.htmlPluginState),this.htmlLayerInstance.unmount()},t.prototype.render=function(){var r=this.props;r.cldImg,r.plugins;var n=Fc(r,["cldImg","plugins"]);if(Mi())return xr.createElement("img",Hr({suppressHydrationWarning:!0},n,{ref:this.imageRef}));var o=Im(this.props.plugins,this.props.cldImg,jo);return xr.createElement("img",Hr({},n,{src:o}))},t}(xr.Component),ay=["controls","loop","muted","poster","preload","autoplay","playsinline"];(function(e){Nc(t,e);function t(r){var n=e.call(this,r)||this;return n.videoRef=Yr.exports.createRef(),n.attachRef=n.attachRef.bind(n),n}return t.prototype.componentDidMount=function(){this.htmlVideoLayerInstance=new Em(this.videoRef&&this.videoRef.current,this.props.cldVid,this.props.sources,this.props.plugins,this.getVideoAttributes(),this.props.cldPoster,{useFetchFormat:this.props.useFetchFormat})},t.prototype.componentDidUpdate=function(){zn(this.htmlVideoLayerInstance.htmlPluginState),this.htmlVideoLayerInstance.update(this.props.cldVid,this.props.sources,this.props.plugins,this.getVideoAttributes(),this.props.cldPoster)},t.prototype.componentWillUnmount=function(){zn(this.htmlVideoLayerInstance.htmlPluginState)},t.prototype.getVideoAttributes=function(){var r=this,n={};return ay.forEach(function(o){o in r.props&&(n[o]=r.props[o])}),n},t.prototype.attachRef=function(r){this.videoRef.current=r;var n=this.props.innerRef;n&&(n instanceof Function?n(r):n.current=r)},t.prototype.render=function(){var r=this.props;r.cldVid,r.cldPoster,r.plugins,r.sources,r.innerRef,r.useFetchFormat;var n=Fc(r,["cldVid","cldPoster","plugins","sources","innerRef","useFetchFormat"]);return xr.createElement("video",Hr({},n,{ref:this.attachRef}))},t})(Yr.exports.Component);function cy(e){return!(typeof e!="object"||e instanceof Array)}class ly{filterOutNonSupportedKeys(t,r){const n=Object.create({});return cy(t)?(Object.keys(t).forEach(o=>{r.indexOf(o)>=0?n[o]=t[o]:console.warn("Warning - unsupported key provided to configuration: ",o)}),n):Object.create({})}}const Zs=["cname","secureDistribution","privateCdn","signUrl","longUrlSignature","shorten","useRootPath","secure","forceVersion","analytics","queryParams"];class Bi extends ly{constructor(t){super();const r=this.filterOutNonSupportedKeys(t,Zs);Object.assign(this,{secure:!0},r)}extend(t){const r=this.filterOutNonSupportedKeys(t,Zs);return new Bi(Object.assign({},this,r))}setCname(t){return this.cname=t,this}setSecureDistribution(t){return this.secureDistribution=t,this}setPrivateCdn(t){return this.privateCdn=t,this}setSignUrl(t){return this.signUrl=t,this}setLongUrlSignature(t){return this.longUrlSignature=t,this}setShorten(t){return this.shorten=t,this}setUseRootPath(t){return this.useRootPath=t,this}setSecure(t){return this.secure=t,this}setForceVersion(t){return this.forceVersion=t,this}setQueryParams(t){return this.queryParams=t,this}}class Qr{constructor(t){this.values=[],this.delimiter=":",this.hasValue(t)&&this.addValue(t)}toString(){return this.values.join(this.delimiter)}hasValue(t){return typeof t<"u"&&t!==null&&t!==""}addValue(t){return Array.isArray(t)?this.values=this.values.concat(t):this.values.push(t),this.values=this.values.filter(r=>this.hasValue(r)),this}setDelimiter(t){return this.delimiter=t,this}}class uy extends Error{constructor(t="Unsupported"){super(t)}}function zi(e){return new uy(e)}function fy(){return this._qualifierModel||{error:zi(`unsupported qualifier ${this.constructor.name}`)}}class dy{constructor(){this._qualifierModel={}}toJson(){return fy.apply(this)}}class co extends dy{constructor(t,r){super(),this.delimiter="_",this.key=t,r instanceof Qr?this.qualifierValue=r:(this.qualifierValue=new Qr,this.qualifierValue.addValue(r))}toString(){const{key:t,delimiter:r,qualifierValue:n}=this;return`${t}${r}${n.toString()}`}addValue(t){return this.qualifierValue.addValue(t),this}}class rr extends co{constructor(t,r){let n;r?n=new Qr([t,`${r}`]).setDelimiter(":"):n=t,super("fl",n),this.flagValue=r}toString(){return super.toString().replace(/\./g,"%2E")}getFlagValue(){return this.flagValue}}function py(e,t){const r=Array.from(e.entries());return t.forEach(n=>{r.push(["fl",n])}),r.sort().map(n=>n[1])}function hy(){var e,t,r;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;return o&&o instanceof Error?{error:o}:n?this._actionModel:{error:zi(`unsupported action ${this.constructor.name}`)}}class gy{constructor(){this._actionModel={}}toJson(){return hy.apply(this)}}class Ui extends gy{constructor(){super(...arguments),this.qualifiers=new Map,this.flags=[],this.delimiter=",",this.actionTag=""}prepareQualifiers(){}getActionTag(){return this.actionTag}setActionTag(t){return this.actionTag=t,this}toString(){return this.prepareQualifiers(),py(this.qualifiers,this.flags).join(this.delimiter)}addQualifier(t){if(typeof t=="string"){const[r,n]=t.toLowerCase().split("_");r==="fl"?this.flags.push(new rr(n)):this.qualifiers.set(r,new co(r,n))}else this.qualifiers.set(t.key,t);return this}addFlag(t){return typeof t=="string"?this.flags.push(new rr(t)):t instanceof rr&&this.flags.push(t),this}addValueToQualifier(t,r){return this.qualifiers.get(t).addValue(r),this}}function my(e){return e&&(e.match(/^#/)?`rgb:${e.substr(1)}`:e)}class yy extends Ui{constructor(t){super(),this._actionModel={},this.addQualifier(new co("b",new Qr(my(t)).setDelimiter("_"))),this._actionModel.color=t,this._actionModel.actionType="backgroundColor"}static fromJson(t){const{color:r}=t;return new this(r)}}class ea{constructor(t){this.raw=t}toString(){return this.raw}toJson(){return{error:zi(`unsupported action ${this.constructor.name}`)}}}function vy(e){const t=e;return"error"in t&&!!t.error}function by(){return new rr("lossy")}function wy(){return new rr("preserve_transparency")}function _y(e){return new rr("progressive",e)}class Sy extends Qr{constructor(t){super(t),this.val=t}getValue(){return this.val}}function br(e){const t={};return Object.keys(e).forEach(r=>{t[e[r]]=r}),t}const xy={limitFit:"limit",limitFill:"lfill",minimumFit:"mfit",thumbnail:"thumb",limitPad:"lpad",minimumPad:"mpad",autoPad:"auto_pad"},Ey={colorSpace:"cs",dpr:"dpr",density:"dn",defaultImage:"d",format:"f",quality:"q"},$y={redEye:"redeye",advancedRedEye:"adv_redeye",oilPaint:"oil_paint",unsharpMask:"unsharp_mask",makeTransparent:"make_transparent",generativeRestore:"gen_restore",upscale:"upscale"},Ty={autoBest:"auto:best",autoEco:"auto:eco",autoGood:"auto:good",autoLow:"auto:low",jpegminiHigh:"jpegmini:1",jpegminiMedium:"jpegmini:2",jpegminiBest:"jpegmini:0"},Ay={fullHd:"full_hd",fullHdWifi:"full_hd_wifi",fullHdLean:"full_hd_lean",hdLean:"hd_lean"},Oy={444:"CHROMA_444",420:"CHROMA_420"},Cy={noCmyk:"no_cmyk",keepCmyk:"keep_cmyk",tinySrgb:"tinysrgb",srgbTrueColor:"srgb:truecolor"};br(Oy);br(Cy);br(xy);const Ry=br(Ey);br($y);br(Ty);br(Ay);class ky extends Ui{constructor(t,r,n){super(),this._actionModel={};let o;r instanceof Sy?o=r.getValue():o=r,this._actionModel.actionType=Ry[t],this._actionModel[n]=o,this.addQualifier(new co(t,r))}}class Py extends rr{constructor(t){super("progressive",t)}}class Wn extends ky{constructor(t,r){super(t,r,"formatType")}lossy(){return this._actionModel.lossy=!0,this.addFlag(by()),this}progressive(t){return t instanceof Py?(this._actionModel.progressive={mode:t.getFlagValue()},this.addFlag(t)):(this._actionModel.progressive={mode:t},this.addFlag(_y(t))),this}preserveTransparency(){return this._actionModel.preserveTransparency=!0,this.addFlag(wy()),this}static fromJson(t){const{formatType:r,lossy:n,progressive:o,preserveTransparency:i}=t;let s;return r?s=new this("f",r):s=new this("f"),o&&(o.mode?s.progressive(o.mode):s.progressive()),n&&s.lossy(),i&&s.preserveTransparency(),s}}class lo{constructor(){this.actions=[]}addAction(t){let r;if(typeof t=="string"){if(t.indexOf("/")>=0)throw"addAction cannot accept a string with a forward slash in it - /, use .addTransformation() instead";r=new ea(t)}else r=t;return this.actions.push(r),this}addTransformation(t){return t instanceof lo?this.actions=this.actions.concat(t.actions):this.actions.push(new ea(t)),this}toString(){return this.actions.map(t=>t.toString()).filter(t=>t).join("/")}animated(t){return this.addAction(t)}border(t){return this.addAction(t)}reshape(t){return this.addAction(t)}resize(t){return this.addAction(t)}quality(t){return this.addAction(new Wn("q",t)),this}format(t){return this.addAction(new Wn("f",t)),this}roundCorners(t){return this.addAction(t)}overlay(t){return this.addAction(t)}underlay(t){return t.setLayerType("u"),this.addAction(t)}addVariable(t){return this.addAction(t)}conditional(t){return this.addAction(t)}effect(t){return this.addAction(t)}adjust(t){return this.addAction(t)}rotate(t){return this.addAction(t)}namedTransformation(t){return this.addAction(t)}delivery(t){return this.addAction(t)}backgroundColor(t){return this.addAction(new yy(t))}psdTools(t){return this.addAction(t)}extract(t){return this.addAction(t)}addFlag(t){const r=new Ui;let n=t;return typeof t=="string"&&(n=new rr(t)),r.addQualifier(n),this.addAction(r)}customFunction(t){return this.addAction(t)}transcode(t){return this.addAction(t)}videoEdit(t){return this.addAction(t)}toJson(){const t=[];for(const r of this.actions){const n=r.toJson();if(vy(n))return n;t.push(n)}return{actions:t}}}class jy extends lo{}class Iy extends lo{}function My(e){return e.match(/^https?:\//)}function Ly(e){return e.indexOf("/")<0}function Dy(e){return e.match(/^v[0-9]+/)}function Ny(e,t){const r=t.secure,n=t.privateCdn,o=t.cname,i=t.secureDistribution;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"}function Fy(e){return e||"image"}function Vy(e){return e||"upload"}function By(e,t,r){const n=r!==!1;return t?`v${t}`:Dy(e)||My(e)||Ly(e)?"":n?"v1":""}function Wi(e,t,r){let n=t>>0,o=String(r);return e.length>n?String(e):(n=n-e.length,n>o.length&&(o+=zy(o,n/o.length)),o.slice(0,n)+String(e))}function zy(e,t){let r=t,n="";for(;r>0;)n+=e,r--;return n}const Uy="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",qn={};let ta=0;Uy.split("").forEach(e=>{let t=ta.toString(2);t=Wi(t,6,"0"),qn[t]=e,ta++});function Wy(e){if(e.split(".").length<2)throw new Error("invalid semVer, must have at least two segments");return e.split(".").reverse().join(".")}function qy(e){if(e.split(".").length<2)throw new Error("invalid semVer, must have at least two segments");return e.split(".").map(t=>{const r=+t;if(isNaN(r)||r<0)throw"Invalid version number provided";return Wi(t,2,"0")}).join(".")}function ra(e){let t="";const n=e.split(".").length*6,o=Wy(e),i=qy(o);let l=parseInt(i.split(".").join("")).toString(2);if(l=Wi(l,n,"0"),l.length%6!==0)throw"Version must be smaller than 43.21.26)";return l.match(/.{1,6}/g).forEach(u=>{t+=qn[u]}),t}function Gy(e){const t={sdkSemver:e.sdkSemver,techVersion:e.techVersion,sdkCode:e.sdkCode,product:e.product,feature:"0",osType:e.osType,osVersion:e.osVersion};return e.accessibility&&(t.feature="D"),e.lazyload&&(t.feature="C"),e.responsive&&(t.feature="A"),e.placeholder&&(t.feature="B"),t}const Hy="1.21.0";function Yy(e){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");return qn[i]+qn[s]}function Qy(){const e="0.0.0";if(typeof window<"u")return e;try{return process.versions.node||e}catch{return e}}function Jy(e){const t={techVersion:Qy(),sdkCode:"T",sdkSemver:Hy.split("-")[0],product:"A",osType:"Z",osVersion:"0.0",responsive:!1,placeholder:!1,lazyload:!1,accessibility:!1};return e?Object.assign(Object.assign({},t),e):t}function na(e){const t=Jy(e),r=Gy(t);try{const n=Ky(r.techVersion),o=ra(r.sdkSemver),i=ra(n),s=Yy(r.osVersion),l=r.feature,u=r.sdkCode,{product:d,osType:h}=r;return`D${d}${u}${o}${i}${h}${s}${l}`}catch{return"E"}}function Ky(e){const t=e.split(".");return`${t[0]}.${t[1]}`}const oa={"image/upload":"images","image/private":"private_images","image/authenticated":"authenticated_images","raw/upload":"files","video/upload":"videos"};class Xy{constructor(t,r={},n){this.setPublicID(t),this.setCloudConfig(r),this.setURLConfig(n)}setURLConfig(t){return this.urlConfig=new Bi(t),this}setCloudConfig(t){return this.cloudName=t.cloudName,this.apiKey=t.apiKey,this.apiSecret=t.apiSecret,this.authToken=t.authToken,this}setPublicID(t){return this.publicID=t?t.toString():"",this}setDeliveryType(t){return this.deliveryType=t,this}setSuffix(t){return this.suffix=t,this}setSignature(t){return this.signature=t,this}setVersion(t){return t&&(this.version=t),this}setAssetType(t){return t&&(this.assetType=t),this}sign(){return this}toURL(t={}){return this.createCloudinaryURL(null,t.trackedAnalytics)}validateAssetForURLCreation(){if(typeof this.cloudName>"u")throw"You must supply a cloudName when initializing the asset";const t=this.suffix&&this.suffix.indexOf(".")>=0,r=this.suffix&&this.suffix.indexOf("/")>=0;if(t||r)throw"`suffix`` should not include . or /"}getResourceType(){const t=Fy(this.assetType),r=Vy(this.deliveryType),n=!!this.suffix,o=`${t}/${r}`,i=oa[`${t}/${r}`],s=this.urlConfig.useRootPath,l=this.urlConfig.shorten;if(s){if(o==="image/upload")return"";throw new Error(`useRootPath can only be used with assetType: 'image' and deliveryType: 'upload'. Provided: ${o} instead`)}if(l&&o==="image/upload")return"iu";if(n){if(i)return i;throw new Error(`URL Suffix only supported for ${Object.keys(oa).join(", ")}, Provided: ${o} instead`)}return o}getSignature(){return this.signature?`s--${this.signature}--`:""}createCloudinaryURL(t,r){if(!this.publicID)return"";this.validateAssetForURLCreation();const n=Ny(this.cloudName,this.urlConfig),o=t?t.toString():"",i=By(this.publicID,this.version,this.urlConfig.forceVersion),s=this.publicID;if(typeof t=="string")return[n,this.getResourceType(),this.getSignature(),o,i,s.replace(/,/g,"%2C"),this.suffix].filter(u=>u).join("/");{const l=[encodeURI(n),this.getResourceType(),this.getSignature(),encodeURI(o),i,encodeURI(s).replace(/,/g,"%2C"),this.suffix&&encodeURI(this.suffix)].filter(h=>h).join("/").replace(/\?/g,"%3F").replace(/=/g,"%3D"),u=this.urlConfig.analytics!==!1&&!s.includes("?");let d="";if(typeof this.urlConfig.queryParams=="object")try{const h=new URLSearchParams(this.urlConfig.queryParams);u&&h.set("_a",na(r)),d=h.toString()}catch{console.error("Error: URLSearchParams is not available so the queryParams object cannot be parsed, please try passing as an already parsed string")}else d=this.urlConfig.queryParams||"",u&&(d+=`${d.length>0?"&":""}_a=${na(r)}`);return d?`${l}?${d}`:l}}}class Xc extends Xy{constructor(t,r,n,o){super(t,r,n),this.transformation=o}animated(t){return this.transformation.animated(t),this}border(t){return this.transformation.border(t),this}reshape(t){return this.transformation.reshape(t),this}resize(t){return this.transformation.resize(t),this}quality(t){return this.addAction(new Wn("q",t)),this}format(t){return this.addAction(new Wn("f",t)),this}roundCorners(t){return this.transformation.roundCorners(t),this}overlay(t){return this.transformation.overlay(t),this}addVariable(t){return this.transformation.addVariable(t),this}conditional(t){return this.transformation.conditional(t),this}effect(t){return this.transformation.effect(t),this}adjust(t){return this.transformation.adjust(t),this}rotate(t){return this.transformation.rotate(t),this}namedTransformation(t){return this.transformation.namedTransformation(t),this}delivery(t){return this.transformation.delivery(t),this}backgroundColor(t){return this.transformation.backgroundColor(t),this}psdTools(t){return this.transformation.psdTools(t),this}extract(t){return this.transformation.extract(t),this}addFlag(t){return this.transformation.addFlag(t),this}customFunction(t){return this.transformation.customFunction(t),this}addAction(t){return this.transformation.addAction(t),this}addTransformation(t){return this.transformation.addTransformation(t),this}toString(){return this.transformation.toString()}underlay(t){return this.transformation.underlay(t),this}toURL(t={}){return this.createCloudinaryURL(this.transformation,t==null?void 0:t.trackedAnalytics)}}class Zy extends Xc{constructor(t,r,n){super(t,r,n,new jy)}}class ev extends Xc{constructor(t,r,n){super(t,r,n,new Iy),this.assetType="video"}transcode(t){return this.transformation.transcode(t),this}videoEdit(t){return this.transformation.videoEdit(t),this}}class tv{constructor(t){t&&(this.cloudinaryConfig=t)}image(t){return new Zy(t,this.cloudinaryConfig.cloud,this.cloudinaryConfig.url)}video(t){return new ev(t,this.cloudinaryConfig.cloud,this.cloudinaryConfig.url)}setConfig(t){return this.cloudinaryConfig=t,this}getConfig(){return this.cloudinaryConfig}extendConfig(){}}const rv=({publicId:e,format:t="webp"})=>{const r=E.useMemo(()=>new tv({cloud:{cloudName:"fluid-attacks"}}),[]);return E.useMemo(()=>r.image(e).format(t),[r,e,t])},nv=({alt:e="img",height:t="",width:r="",plugins:n=[Om(),Pm()],publicId:o})=>{const i=rv({publicId:o});return De.jsx(sy,{alt:e,cldImg:i,height:t,plugins:n,width:r})},Zc=E.memo(nv),ov={company:{height:"83px",width:"460px"},footer:{height:"57px",width:"315px"},header:{height:"35px",width:"160px"},icon:{height:"40px",width:"40px"}},iv=({publicId:e,variant:t})=>De.jsx(Ei,{...ov[t],children:De.jsx(Zc,{alt:"logo",publicId:e})});exports.BaseButtonComponent=ka;exports.BaseComponent=mi;exports.BaseSpanComponent=Pa;exports.BaseTextComponent=yi;exports.Button=qh;exports.CloudImage=Zc;exports.Container=Ei;exports.CustomThemeProvider=ju;exports.Heading=Wh;exports.Icon=Mn;exports.Logo=iv;exports.Text=ei;exports.Tooltip=rc;exports.getStyledConfig=nn;exports.hiddenProps=sa;exports.icons=ku;exports.setBorder=Zr;exports.setDisplay=en;exports.setInteraction=rn;exports.setMargin=Kr;exports.setPadding=Jr;exports.setPosition=Xr;exports.setText=tn;exports.theme=Pe;exports.uniqueIcons=Pu;exports.variantBuilder=ia;
|