@q9labsai/chalk-react 4.1.15 → 4.1.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +23 -1
- package/THIRD_PARTY_NOTICES.md +29 -0
- package/dist/bindings/hooks.d.ts +4 -1
- package/dist/bindings/hooks.d.ts.map +1 -1
- package/dist/{chunk-4X3NFZGL.js → chunk-C7PNVYDZ.js} +9679 -10020
- package/dist/chunk-FFPNO2MY.js +131 -0
- package/dist/chunk-HZ43I4OS.js +138 -0
- package/dist/chunk-RMOJ5DLX.js +1421 -0
- package/dist/chunk-S6OVGZD5.js +3164 -0
- package/dist/chunk-VLAZKVNN.js +182 -0
- package/dist/components/atomic/Avatar.d.ts +4 -0
- package/dist/components/atomic/Avatar.d.ts.map +1 -1
- package/dist/components/atomic/ClassicAvatar.d.ts +1 -1
- package/dist/components/atomic/ClassicAvatar.d.ts.map +1 -1
- package/dist/components/atomic/ClassicReactionBubble.d.ts +2 -1
- package/dist/components/atomic/ClassicReactionBubble.d.ts.map +1 -1
- package/dist/components/atomic/ReactionBubble.d.ts +5 -2
- package/dist/components/atomic/ReactionBubble.d.ts.map +1 -1
- package/dist/components/audio-output/AudioOutput.d.ts +3 -1
- package/dist/components/audio-output/AudioOutput.d.ts.map +1 -1
- package/dist/components/chalk/Chalk.d.ts +3 -1
- package/dist/components/chalk/Chalk.d.ts.map +1 -1
- package/dist/components/composite/ChatPanel.d.ts +24 -1
- package/dist/components/composite/ChatPanel.d.ts.map +1 -1
- package/dist/components/composite/ClassicChatPanel.d.ts +23 -0
- package/dist/components/composite/ClassicChatPanel.d.ts.map +1 -1
- package/dist/components/composite/ClassicMessageBubble.d.ts.map +1 -1
- package/dist/components/composite/ClassicSettingsDialog.d.ts +1 -35
- package/dist/components/composite/ClassicSettingsDialog.d.ts.map +1 -1
- package/dist/components/composite/MessageBubble.d.ts +7 -1
- package/dist/components/composite/MessageBubble.d.ts.map +1 -1
- package/dist/components/composite/ReactionsOverlay.d.ts +13 -0
- package/dist/components/composite/ReactionsOverlay.d.ts.map +1 -1
- package/dist/components/composite/ScreenShareView.d.ts +8 -0
- package/dist/components/composite/ScreenShareView.d.ts.map +1 -1
- package/dist/components/composite/SettingsDialog.d.ts +2 -84
- package/dist/components/composite/SettingsDialog.d.ts.map +1 -1
- package/dist/components/composite/chat-panel-model.d.ts +17 -0
- package/dist/components/composite/chat-panel-model.d.ts.map +1 -1
- package/dist/components/composite/chat-upload-file.d.ts +8 -0
- package/dist/components/composite/chat-upload-file.d.ts.map +1 -0
- package/dist/components/composite/reaction-float.d.ts +2 -0
- package/dist/components/composite/reaction-float.d.ts.map +1 -1
- package/dist/components/composite/settings-dialog-behavior.d.ts +645 -0
- package/dist/components/composite/settings-dialog-behavior.d.ts.map +1 -0
- package/dist/components/composite/use-chat-attachment-previews.d.ts +10 -0
- package/dist/components/composite/use-chat-attachment-previews.d.ts.map +1 -0
- package/dist/components/control-bar/ClassicControlBar.d.ts +2 -1
- package/dist/components/control-bar/ClassicControlBar.d.ts.map +1 -1
- package/dist/components/control-bar/ControlBar.d.ts +8 -26
- package/dist/components/control-bar/ControlBar.d.ts.map +1 -1
- package/dist/components/control-bar/control-bar-behavior.d.ts +123 -0
- package/dist/components/control-bar/control-bar-behavior.d.ts.map +1 -0
- package/dist/components/device-popover/ClassicDevicePopover.d.ts +1 -1
- package/dist/components/device-popover/ClassicDevicePopover.d.ts.map +1 -1
- package/dist/components/device-popover/DevicePopover.d.ts +1 -0
- package/dist/components/device-popover/DevicePopover.d.ts.map +1 -1
- package/dist/components/entrance/Entrance.d.ts +2 -1
- package/dist/components/entrance/Entrance.d.ts.map +1 -1
- package/dist/components/entrance/EntranceDeviceControls.d.ts.map +1 -1
- package/dist/components/feedback/FeedbackDialog.d.ts +12 -0
- package/dist/components/feedback/FeedbackDialog.d.ts.map +1 -0
- package/dist/components/index.d.ts +8 -0
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/index.js +31 -6
- package/dist/components/invite-dialog/ClassicInviteDialog.d.ts.map +1 -1
- package/dist/components/invite-dialog/InviteDialog.d.ts.map +1 -1
- package/dist/components/lazy.d.ts +2 -2
- package/dist/components/lazy.d.ts.map +1 -1
- package/dist/components/offline-actions/OfflineActions.d.ts +17 -0
- package/dist/components/offline-actions/OfflineActions.d.ts.map +1 -0
- package/dist/components/offline-actions/OfflineActionsSetting.d.ts +4 -0
- package/dist/components/offline-actions/OfflineActionsSetting.d.ts.map +1 -0
- package/dist/components/offline-actions/offline-actions-policy.d.ts +4 -0
- package/dist/components/offline-actions/offline-actions-policy.d.ts.map +1 -0
- package/dist/components/participant-tile/ParticipantTile.d.ts +7 -1
- package/dist/components/participant-tile/ParticipantTile.d.ts.map +1 -1
- package/dist/components/participant-tile/TileShell.d.ts +3 -1
- package/dist/components/participant-tile/TileShell.d.ts.map +1 -1
- package/dist/components/participants-panel/ParticipantsPanel.d.ts.map +1 -1
- package/dist/components/reconnecting-overlay/ClassicReconnectingOverlay.d.ts.map +1 -1
- package/dist/components/reconnecting-overlay/ReconnectingNotice.d.ts +6 -0
- package/dist/components/reconnecting-overlay/ReconnectingNotice.d.ts.map +1 -0
- package/dist/components/reconnecting-overlay/ReconnectingOverlay.d.ts +3 -0
- package/dist/components/reconnecting-overlay/ReconnectingOverlay.d.ts.map +1 -1
- package/dist/components/recording-history/RecordingHistoryPanel.d.ts +62 -0
- package/dist/components/recording-history/RecordingHistoryPanel.d.ts.map +1 -0
- package/dist/components/space-header/LayoutMenu.d.ts +1 -499
- package/dist/components/space-header/LayoutMenu.d.ts.map +1 -1
- package/dist/components/space-info-dialog/SpaceInfoContent.d.ts.map +1 -1
- package/dist/components/space-view/ClassicSpaceView.d.ts +1 -1
- package/dist/components/space-view/ClassicSpaceView.d.ts.map +1 -1
- package/dist/components/space-view/RecordingSpaceView.d.ts +26 -0
- package/dist/components/space-view/RecordingSpaceView.d.ts.map +1 -0
- package/dist/components/space-view/SpaceDrawer.d.ts +3 -2
- package/dist/components/space-view/SpaceDrawer.d.ts.map +1 -1
- package/dist/components/space-view/SpacePresentation.d.ts +27 -0
- package/dist/components/space-view/SpacePresentation.d.ts.map +1 -0
- package/dist/components/space-view/SpaceStage.d.ts.map +1 -1
- package/dist/components/space-view/SpaceView.d.ts +2 -0
- package/dist/components/space-view/SpaceView.d.ts.map +1 -1
- package/dist/components/stage/Stage.d.ts +22 -2
- package/dist/components/stage/Stage.d.ts.map +1 -1
- package/dist/components/stage/StageContentTile.d.ts +5 -0
- package/dist/components/stage/StageContentTile.d.ts.map +1 -1
- package/dist/components/stage/StagePager.d.ts +2 -1
- package/dist/components/stage/StagePager.d.ts.map +1 -1
- package/dist/components/stage/stage-items.d.ts +0 -1
- package/dist/components/stage/stage-items.d.ts.map +1 -1
- package/dist/components/transcript-panel/ClassicTranscriptPanel.d.ts +1 -1
- package/dist/components/transcript-panel/ClassicTranscriptPanel.d.ts.map +1 -1
- package/dist/components/transcript-panel/TranscriptPanel.d.ts +2 -25
- package/dist/components/transcript-panel/TranscriptPanel.d.ts.map +1 -1
- package/dist/components/transcript-panel/transcript-panel-behavior.d.ts +84 -0
- package/dist/components/transcript-panel/transcript-panel-behavior.d.ts.map +1 -0
- package/dist/components/whiteboard-view/RecordingWhiteboardView.d.ts +23 -0
- package/dist/components/whiteboard-view/RecordingWhiteboardView.d.ts.map +1 -0
- package/dist/components/whiteboard-view/recording-whiteboard-state.d.ts +31 -0
- package/dist/components/whiteboard-view/recording-whiteboard-state.d.ts.map +1 -0
- package/dist/headless.d.ts +8 -0
- package/dist/headless.d.ts.map +1 -0
- package/dist/headless.js +28 -0
- package/dist/index.d.ts +9 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +32 -4
- package/dist/internal/useWhiteboardSceneSubscription.d.ts.map +1 -1
- package/dist/public-surface.contract.d.ts +2 -2
- package/dist/public-surface.contract.d.ts.map +1 -1
- package/dist/selectors/space-selectors.d.ts.map +1 -1
- package/dist/test-support/index.d.ts +20 -0
- package/dist/test-support/index.d.ts.map +1 -0
- package/dist/test-support/index.js +508 -0
- package/dist/test-support/preview-client.d.ts +5 -0
- package/dist/test-support/preview-client.d.ts.map +1 -1
- package/dist/test-support/preview-feedback.d.ts +3 -0
- package/dist/test-support/preview-feedback.d.ts.map +1 -0
- package/dist/utils/animated-icon-renderer.d.ts +6 -0
- package/dist/utils/animated-icon-renderer.d.ts.map +1 -0
- package/dist/utils/animated-icon-runtime.d.ts +19 -0
- package/dist/utils/animated-icon-runtime.d.ts.map +1 -0
- package/dist/utils/animated-icons/arrow-left-02.d.ts +11 -0
- package/dist/utils/animated-icons/arrow-left-02.d.ts.map +1 -0
- package/dist/utils/animated-icons/cancel-01.d.ts +11 -0
- package/dist/utils/animated-icons/cancel-01.d.ts.map +1 -0
- package/dist/utils/animated-icons/clock-01.d.ts +11 -0
- package/dist/utils/animated-icons/clock-01.d.ts.map +1 -0
- package/dist/utils/animated-icons/copy-01.d.ts +13 -0
- package/dist/utils/animated-icons/copy-01.d.ts.map +1 -0
- package/dist/utils/animated-icons/crown.d.ts +11 -0
- package/dist/utils/animated-icons/crown.d.ts.map +1 -0
- package/dist/utils/animated-icons/download-01.d.ts +11 -0
- package/dist/utils/animated-icons/download-01.d.ts.map +1 -0
- package/dist/utils/animated-icons/edit-02.d.ts +11 -0
- package/dist/utils/animated-icons/edit-02.d.ts.map +1 -0
- package/dist/utils/animated-icons/home-01.d.ts +11 -0
- package/dist/utils/animated-icons/home-01.d.ts.map +1 -0
- package/dist/utils/animated-icons/image-01.d.ts +13 -0
- package/dist/utils/animated-icons/image-01.d.ts.map +1 -0
- package/dist/utils/animated-icons/index.d.ts +85 -0
- package/dist/utils/animated-icons/index.d.ts.map +1 -0
- package/dist/utils/animated-icons/information-circle.d.ts +11 -0
- package/dist/utils/animated-icons/information-circle.d.ts.map +1 -0
- package/dist/utils/animated-icons/link-01.d.ts +11 -0
- package/dist/utils/animated-icons/link-01.d.ts.map +1 -0
- package/dist/utils/animated-icons/mail-01.d.ts +11 -0
- package/dist/utils/animated-icons/mail-01.d.ts.map +1 -0
- package/dist/utils/animated-icons/maximize-screen.d.ts +11 -0
- package/dist/utils/animated-icons/maximize-screen.d.ts.map +1 -0
- package/dist/utils/animated-icons/message-01.d.ts +11 -0
- package/dist/utils/animated-icons/message-01.d.ts.map +1 -0
- package/dist/utils/animated-icons/mic-01.d.ts +11 -0
- package/dist/utils/animated-icons/mic-01.d.ts.map +1 -0
- package/dist/utils/animated-icons/moon-02.d.ts +11 -0
- package/dist/utils/animated-icons/moon-02.d.ts.map +1 -0
- package/dist/utils/animated-icons/more-horizontal.d.ts +11 -0
- package/dist/utils/animated-icons/more-horizontal.d.ts.map +1 -0
- package/dist/utils/animated-icons/more-vertical.d.ts +11 -0
- package/dist/utils/animated-icons/more-vertical.d.ts.map +1 -0
- package/dist/utils/animated-icons/pause.d.ts +11 -0
- package/dist/utils/animated-icons/pause.d.ts.map +1 -0
- package/dist/utils/animated-icons/pin.d.ts +11 -0
- package/dist/utils/animated-icons/pin.d.ts.map +1 -0
- package/dist/utils/animated-icons/play.d.ts +11 -0
- package/dist/utils/animated-icons/play.d.ts.map +1 -0
- package/dist/utils/animated-icons/plus-sign.d.ts +11 -0
- package/dist/utils/animated-icons/plus-sign.d.ts.map +1 -0
- package/dist/utils/animated-icons/qr-code-01.d.ts +11 -0
- package/dist/utils/animated-icons/qr-code-01.d.ts.map +1 -0
- package/dist/utils/animated-icons/refresh.d.ts +11 -0
- package/dist/utils/animated-icons/refresh.d.ts.map +1 -0
- package/dist/utils/animated-icons/search-01.d.ts +11 -0
- package/dist/utils/animated-icons/search-01.d.ts.map +1 -0
- package/dist/utils/animated-icons/sent.d.ts +11 -0
- package/dist/utils/animated-icons/sent.d.ts.map +1 -0
- package/dist/utils/animated-icons/settings-01.d.ts +11 -0
- package/dist/utils/animated-icons/settings-01.d.ts.map +1 -0
- package/dist/utils/animated-icons/share-08.d.ts +11 -0
- package/dist/utils/animated-icons/share-08.d.ts.map +1 -0
- package/dist/utils/animated-icons/shield-02.d.ts +11 -0
- package/dist/utils/animated-icons/shield-02.d.ts.map +1 -0
- package/dist/utils/animated-icons/smile.d.ts +11 -0
- package/dist/utils/animated-icons/smile.d.ts.map +1 -0
- package/dist/utils/animated-icons/sparkles.d.ts +11 -0
- package/dist/utils/animated-icons/sparkles.d.ts.map +1 -0
- package/dist/utils/animated-icons/star.d.ts +11 -0
- package/dist/utils/animated-icons/star.d.ts.map +1 -0
- package/dist/utils/animated-icons/thumbs-up.d.ts +11 -0
- package/dist/utils/animated-icons/thumbs-up.d.ts.map +1 -0
- package/dist/utils/animated-icons/upload-01.d.ts +11 -0
- package/dist/utils/animated-icons/upload-01.d.ts.map +1 -0
- package/dist/utils/animated-icons/user-add-01.d.ts +11 -0
- package/dist/utils/animated-icons/user-add-01.d.ts.map +1 -0
- package/dist/utils/animated-icons/user-group.d.ts +11 -0
- package/dist/utils/animated-icons/user-group.d.ts.map +1 -0
- package/dist/utils/animated-icons/user-remove-01.d.ts +11 -0
- package/dist/utils/animated-icons/user-remove-01.d.ts.map +1 -0
- package/dist/utils/animated-icons/video-01.d.ts +11 -0
- package/dist/utils/animated-icons/video-01.d.ts.map +1 -0
- package/dist/utils/animated-icons/volume-high.d.ts +11 -0
- package/dist/utils/animated-icons/volume-high.d.ts.map +1 -0
- package/dist/utils/animated-icons/volume-mute-01.d.ts +11 -0
- package/dist/utils/animated-icons/volume-mute-01.d.ts.map +1 -0
- package/dist/utils/animated-icons/zoom-in-area.d.ts +11 -0
- package/dist/utils/animated-icons/zoom-in-area.d.ts.map +1 -0
- package/dist/utils/animated-icons/zoom-out-area.d.ts +11 -0
- package/dist/utils/animated-icons/zoom-out-area.d.ts.map +1 -0
- package/dist/utils/feedback.d.ts +5 -0
- package/dist/utils/feedback.d.ts.map +1 -0
- package/dist/utils/icons.d.ts +42 -42
- package/dist/utils/icons.d.ts.map +1 -1
- package/dist/utils/index.d.ts +5 -0
- package/dist/utils/index.d.ts.map +1 -1
- package/dist/utils/index.js +297 -1
- package/package.json +25 -8
- package/dist/chunk-A3L7BOCE.js +0 -210
|
@@ -0,0 +1,3164 @@
|
|
|
1
|
+
// src/utils/cn.ts
|
|
2
|
+
import { clsx } from "clsx";
|
|
3
|
+
import { twMerge } from "tailwind-merge";
|
|
4
|
+
function cn(...inputs) {
|
|
5
|
+
return twMerge(clsx(inputs));
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
// src/utils/animated-icons/copy-01.tsx
|
|
9
|
+
import { motion, useAnimation } from "motion/react";
|
|
10
|
+
import { forwardRef, useId } from "react";
|
|
11
|
+
|
|
12
|
+
// src/utils/animated-icon-runtime.ts
|
|
13
|
+
import { useReducedMotion } from "motion/react";
|
|
14
|
+
import { useCallback, useEffect, useImperativeHandle, useRef } from "react";
|
|
15
|
+
var INTERACTIVE_CONTROL_SELECTOR = 'button, a, [role="button"], [role="link"]';
|
|
16
|
+
var ANIMATED_ICON_SELECTOR = '[data-hugeicons-animated="true"]';
|
|
17
|
+
var parentHoverBridgeInstalled = false;
|
|
18
|
+
var dispatchingParentHover = false;
|
|
19
|
+
function dispatchAnimatedIconEvent(control, type) {
|
|
20
|
+
const animatedIcons = control.querySelectorAll(ANIMATED_ICON_SELECTOR);
|
|
21
|
+
if (animatedIcons.length === 0) return;
|
|
22
|
+
dispatchingParentHover = true;
|
|
23
|
+
try {
|
|
24
|
+
animatedIcons.forEach((icon) => {
|
|
25
|
+
icon.dispatchEvent(new MouseEvent(type, { bubbles: true, view: window }));
|
|
26
|
+
icon.querySelectorAll("svg").forEach((svg) => {
|
|
27
|
+
svg.dispatchEvent(new MouseEvent(type, { bubbles: true, view: window }));
|
|
28
|
+
});
|
|
29
|
+
});
|
|
30
|
+
} finally {
|
|
31
|
+
dispatchingParentHover = false;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
function installParentHoverBridge() {
|
|
35
|
+
if (parentHoverBridgeInstalled || typeof document === "undefined") return;
|
|
36
|
+
parentHoverBridgeInstalled = true;
|
|
37
|
+
document.addEventListener(
|
|
38
|
+
"mouseover",
|
|
39
|
+
(event) => {
|
|
40
|
+
if (dispatchingParentHover || !(event.target instanceof Element)) return;
|
|
41
|
+
const control = event.target.closest(INTERACTIVE_CONTROL_SELECTOR);
|
|
42
|
+
if (!control || event.relatedTarget instanceof Node && control.contains(event.relatedTarget)) return;
|
|
43
|
+
dispatchAnimatedIconEvent(control, "mouseover");
|
|
44
|
+
},
|
|
45
|
+
true
|
|
46
|
+
);
|
|
47
|
+
document.addEventListener(
|
|
48
|
+
"mouseout",
|
|
49
|
+
(event) => {
|
|
50
|
+
if (dispatchingParentHover || !(event.target instanceof Element)) return;
|
|
51
|
+
const control = event.target.closest(INTERACTIVE_CONTROL_SELECTOR);
|
|
52
|
+
if (!control || event.relatedTarget instanceof Node && control.contains(event.relatedTarget)) return;
|
|
53
|
+
dispatchAnimatedIconEvent(control, "mouseout");
|
|
54
|
+
},
|
|
55
|
+
true
|
|
56
|
+
);
|
|
57
|
+
document.addEventListener(
|
|
58
|
+
"focusin",
|
|
59
|
+
(event) => {
|
|
60
|
+
if (dispatchingParentHover || !(event.target instanceof Element)) return;
|
|
61
|
+
const control = event.target.closest(INTERACTIVE_CONTROL_SELECTOR);
|
|
62
|
+
if (control) dispatchAnimatedIconEvent(control, "mouseover");
|
|
63
|
+
},
|
|
64
|
+
true
|
|
65
|
+
);
|
|
66
|
+
document.addEventListener(
|
|
67
|
+
"focusout",
|
|
68
|
+
(event) => {
|
|
69
|
+
if (dispatchingParentHover || !(event.target instanceof Element)) return;
|
|
70
|
+
const control = event.target.closest(INTERACTIVE_CONTROL_SELECTOR);
|
|
71
|
+
if (!control || event.relatedTarget instanceof Node && control.contains(event.relatedTarget)) return;
|
|
72
|
+
dispatchAnimatedIconEvent(control, "mouseout");
|
|
73
|
+
},
|
|
74
|
+
true
|
|
75
|
+
);
|
|
76
|
+
}
|
|
77
|
+
function useIconAnimation({ controls, loops = false, onMouseEnter, onMouseLeave, ref }) {
|
|
78
|
+
useEffect(() => {
|
|
79
|
+
installParentHoverBridge();
|
|
80
|
+
}, []);
|
|
81
|
+
const shouldReduceMotion = useReducedMotion();
|
|
82
|
+
const isControlledRef = useRef(false);
|
|
83
|
+
const isPlayingRef = useRef(false);
|
|
84
|
+
const runRef = useRef(0);
|
|
85
|
+
const startAnimation = useCallback(() => {
|
|
86
|
+
if (shouldReduceMotion || isPlayingRef.current) return;
|
|
87
|
+
isPlayingRef.current = true;
|
|
88
|
+
const run = ++runRef.current;
|
|
89
|
+
controls.set("normal");
|
|
90
|
+
void controls.start("animate").then(() => {
|
|
91
|
+
if (runRef.current === run) isPlayingRef.current = false;
|
|
92
|
+
});
|
|
93
|
+
}, [controls, shouldReduceMotion]);
|
|
94
|
+
const stopAnimation = useCallback(() => {
|
|
95
|
+
if (!loops) return;
|
|
96
|
+
runRef.current++;
|
|
97
|
+
isPlayingRef.current = false;
|
|
98
|
+
void controls.start("normal");
|
|
99
|
+
}, [controls, loops]);
|
|
100
|
+
useImperativeHandle(ref, () => {
|
|
101
|
+
isControlledRef.current = true;
|
|
102
|
+
return { startAnimation, stopAnimation };
|
|
103
|
+
}, [startAnimation, stopAnimation]);
|
|
104
|
+
const handleMouseEnter = useCallback(
|
|
105
|
+
(event) => {
|
|
106
|
+
onMouseEnter?.(event);
|
|
107
|
+
if (!isControlledRef.current) startAnimation();
|
|
108
|
+
},
|
|
109
|
+
[onMouseEnter, startAnimation]
|
|
110
|
+
);
|
|
111
|
+
const handleMouseLeave = useCallback(
|
|
112
|
+
(event) => {
|
|
113
|
+
onMouseLeave?.(event);
|
|
114
|
+
if (!isControlledRef.current) stopAnimation();
|
|
115
|
+
},
|
|
116
|
+
[onMouseLeave, stopAnimation]
|
|
117
|
+
);
|
|
118
|
+
return { handleMouseEnter, handleMouseLeave };
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
// src/utils/animated-icons/copy-01.tsx
|
|
122
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
123
|
+
var FRONT_PATH = "M9 15C9 12.1716 9 10.7574 9.87868 9.87868C10.7574 9 12.1716 9 15 9L16 9C18.8284 9 20.2426 9 21.1213 9.87868C22 10.7574 22 12.1716 22 15V16C22 18.8284 22 20.2426 21.1213 21.1213C20.2426 22 18.8284 22 16 22H15C12.1716 22 10.7574 22 9.87868 21.1213C9 20.2426 9 18.8284 9 16L9 15Z";
|
|
124
|
+
var COPY_DURATION = 0.86;
|
|
125
|
+
var COPY_TIMES = [0, 0.1, 0.34, 0.46, 0.56, 0.76, 0.88, 1];
|
|
126
|
+
var COPY_EASING = [[0.23, 1, 0.32, 1], [0.77, 0, 0.175, 1], [0.23, 1, 0.32, 1], "linear", [0.77, 0, 0.175, 1], [0.23, 1, 0.32, 1], [0.23, 1, 0.32, 1]];
|
|
127
|
+
var frontVariants = {
|
|
128
|
+
normal: {
|
|
129
|
+
transform: "translate(0px, 0px) scale(1)",
|
|
130
|
+
strokeWidth: 1.5,
|
|
131
|
+
visibility: "visible"
|
|
132
|
+
},
|
|
133
|
+
animate: {
|
|
134
|
+
transform: [
|
|
135
|
+
"translate(0px, 0px) scale(1)",
|
|
136
|
+
"translate(0.45px, 0.45px) scale(0.97)",
|
|
137
|
+
"translate(-6.2px, -6.2px) scale(1.2)",
|
|
138
|
+
"translate(-6px, -6px) scale(1.14)",
|
|
139
|
+
"translate(-6px, -6px) scale(1.14)",
|
|
140
|
+
"translate(0.65px, 0.65px) scale(0.96)",
|
|
141
|
+
"translate(-0.25px, -0.25px) scale(1.03)",
|
|
142
|
+
"translate(0px, 0px) scale(1)"
|
|
143
|
+
],
|
|
144
|
+
strokeWidth: [1.5, 1.5 / 0.97, 1.5 / 1.2, 1.5 / 1.14, 1.5 / 1.14, 1.5 / 0.96, 1.5 / 1.03, 1.5],
|
|
145
|
+
visibility: "visible",
|
|
146
|
+
transition: {
|
|
147
|
+
duration: COPY_DURATION,
|
|
148
|
+
ease: COPY_EASING,
|
|
149
|
+
times: COPY_TIMES
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
};
|
|
153
|
+
var occlusionVariants = {
|
|
154
|
+
normal: { transform: "translate(0px, 0px) scale(1)" },
|
|
155
|
+
animate: {
|
|
156
|
+
transform: [
|
|
157
|
+
"translate(0px, 0px) scale(1)",
|
|
158
|
+
"translate(0.45px, 0.45px) scale(0.97)",
|
|
159
|
+
"translate(-6.2px, -6.2px) scale(1.24)",
|
|
160
|
+
"translate(-6px, -6px) scale(1.18)",
|
|
161
|
+
"translate(-6px, -6px) scale(1.18)",
|
|
162
|
+
"translate(0.65px, 0.65px) scale(1.06)",
|
|
163
|
+
"translate(-0.25px, -0.25px) scale(1.03)",
|
|
164
|
+
"translate(0px, 0px) scale(1)"
|
|
165
|
+
],
|
|
166
|
+
transition: {
|
|
167
|
+
duration: COPY_DURATION,
|
|
168
|
+
ease: COPY_EASING,
|
|
169
|
+
times: COPY_TIMES
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
};
|
|
173
|
+
var generatedGeometryVariants = {
|
|
174
|
+
normal: { visibility: "hidden", transition: { duration: 0.08 } },
|
|
175
|
+
animate: { visibility: "visible", transition: { duration: 0 } }
|
|
176
|
+
};
|
|
177
|
+
var Copy01Icon = forwardRef(({ onMouseEnter, onMouseLeave, className, size = 24, ...props }, ref) => {
|
|
178
|
+
const occlusionMaskId = useId();
|
|
179
|
+
const controls = useAnimation();
|
|
180
|
+
const { handleMouseEnter, handleMouseLeave } = useIconAnimation({
|
|
181
|
+
controls,
|
|
182
|
+
loops: false,
|
|
183
|
+
onMouseEnter,
|
|
184
|
+
onMouseLeave,
|
|
185
|
+
ref
|
|
186
|
+
});
|
|
187
|
+
return /* @__PURE__ */ jsx("div", { "data-hugeicons-animated": "true", className: cn("inline-flex", className), style: { strokeWidth: 1.5 }, children: /* @__PURE__ */ jsxs("svg", { className: "h-full w-full", onMouseEnter: handleMouseEnter, onMouseLeave: handleMouseLeave, ...props, xmlns: "http://www.w3.org/2000/svg", width: size, height: size, viewBox: "0 0 24 24", fill: "none", overflow: "visible", children: [
|
|
188
|
+
/* @__PURE__ */ jsx("defs", { children: /* @__PURE__ */ jsxs("mask", { id: occlusionMaskId, maskUnits: "userSpaceOnUse", x: "-4", y: "-4", width: "32", height: "32", children: [
|
|
189
|
+
/* @__PURE__ */ jsx("rect", { x: "-4", y: "-4", width: "32", height: "32", fill: "white" }),
|
|
190
|
+
/* @__PURE__ */ jsx(motion.g, { variants: generatedGeometryVariants, animate: controls, initial: "normal", children: /* @__PURE__ */ jsx(motion.path, { d: FRONT_PATH, fill: "black", stroke: "black", strokeLinejoin: "round", strokeWidth: "2.5", variants: occlusionVariants, animate: controls, initial: "normal", style: { transformOrigin: "15.5px 15.5px" } }) })
|
|
191
|
+
] }) }),
|
|
192
|
+
/* @__PURE__ */ jsx(motion.path, { d: FRONT_PATH, stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "inherit", variants: frontVariants, animate: controls, initial: "normal", style: { transformOrigin: "15.5px 15.5px" } }),
|
|
193
|
+
/* @__PURE__ */ jsx(
|
|
194
|
+
motion.path,
|
|
195
|
+
{
|
|
196
|
+
d: "M16.9999 9C16.9975 6.04291 16.9528 4.51121 16.092 3.46243C15.9258 3.25989 15.7401 3.07418 15.5376 2.90796C14.4312 2 12.7875 2 9.5 2C6.21252 2 4.56878 2 3.46243 2.90796C3.25989 3.07417 3.07418 3.25989 2.90796 3.46243C2 4.56878 2 6.21252 2 9.5C2 12.7875 2 14.4312 2.90796 15.5376C3.07417 15.7401 3.25989 15.9258 3.46243 16.092C4.51121 16.9528 6.04291 16.9975 9 16.9999",
|
|
197
|
+
stroke: "currentColor",
|
|
198
|
+
strokeLinecap: "round",
|
|
199
|
+
strokeLinejoin: "round",
|
|
200
|
+
strokeWidth: "inherit",
|
|
201
|
+
mask: `url(#${occlusionMaskId})`
|
|
202
|
+
}
|
|
203
|
+
)
|
|
204
|
+
] }) });
|
|
205
|
+
});
|
|
206
|
+
Copy01Icon.displayName = "Copy01Icon";
|
|
207
|
+
|
|
208
|
+
// src/utils/animated-icons/arrow-left-02.tsx
|
|
209
|
+
import { motion as motion2, useAnimation as useAnimation2 } from "motion/react";
|
|
210
|
+
import { forwardRef as forwardRef2 } from "react";
|
|
211
|
+
import { jsx as jsx2, jsxs as jsxs2 } from "react/jsx-runtime";
|
|
212
|
+
var arrowVariants = {
|
|
213
|
+
normal: { transform: "translateX(0px) scaleY(1)" },
|
|
214
|
+
animate: {
|
|
215
|
+
transform: ["translateX(0px) scaleY(1)", "translateX(-2.6px) scaleY(0.94)", "translateX(0.3px) scaleY(1.02)", "translateX(-0.45px) scaleY(0.99)", "translateX(0px) scaleY(1)"],
|
|
216
|
+
transition: { duration: 0.5, ease: [0.23, 1, 0.32, 1] }
|
|
217
|
+
}
|
|
218
|
+
};
|
|
219
|
+
var ArrowLeft02Icon = forwardRef2(({ onMouseEnter, onMouseLeave, className, size = 24, ...props }, ref) => {
|
|
220
|
+
const controls = useAnimation2();
|
|
221
|
+
const { handleMouseEnter, handleMouseLeave } = useIconAnimation({
|
|
222
|
+
controls,
|
|
223
|
+
loops: false,
|
|
224
|
+
onMouseEnter,
|
|
225
|
+
onMouseLeave,
|
|
226
|
+
ref
|
|
227
|
+
});
|
|
228
|
+
return /* @__PURE__ */ jsx2("div", { "data-hugeicons-animated": "true", className: cn("inline-flex", className), style: { strokeWidth: 1.5 }, children: /* @__PURE__ */ jsx2("svg", { className: "h-full w-full", onMouseEnter: handleMouseEnter, onMouseLeave: handleMouseLeave, ...props, xmlns: "http://www.w3.org/2000/svg", width: size, height: size, viewBox: "0 0 24 24", fill: "none", overflow: "visible", children: /* @__PURE__ */ jsxs2(motion2.g, { variants: arrowVariants, animate: controls, initial: "normal", style: { transformOrigin: "12px 12px" }, children: [
|
|
229
|
+
/* @__PURE__ */ jsx2("path", { d: "M5.5 12.002H19", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "inherit" }),
|
|
230
|
+
/* @__PURE__ */ jsx2("path", { d: "M10.9999 18.002C10.9999 18.002 4.99998 13.583 4.99997 12.0019C4.99996 10.4208 11 6.00195 11 6.00195", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "inherit" })
|
|
231
|
+
] }) }) });
|
|
232
|
+
});
|
|
233
|
+
ArrowLeft02Icon.displayName = "ArrowLeft02Icon";
|
|
234
|
+
|
|
235
|
+
// src/utils/animated-icons/cancel-01.tsx
|
|
236
|
+
import { motion as motion3, useAnimation as useAnimation3 } from "motion/react";
|
|
237
|
+
import { forwardRef as forwardRef3 } from "react";
|
|
238
|
+
import { jsx as jsx3, jsxs as jsxs3 } from "react/jsx-runtime";
|
|
239
|
+
var FIRST_PATH = "M18 6L6.00081 17.9992";
|
|
240
|
+
var SECOND_PATH = "M6 6.00085L17.9992 18";
|
|
241
|
+
var impactVariants = {
|
|
242
|
+
normal: { transform: "translateY(0px) rotate(0deg) scale(1)" },
|
|
243
|
+
animate: {
|
|
244
|
+
transform: ["translateY(0px) rotate(0deg) scale(1)", "translateY(0px) rotate(0deg) scale(1)", "translateY(-0.35px) rotate(0.8deg) scale(1.08)", "translateY(0px) rotate(0deg) scale(1)"],
|
|
245
|
+
transition: {
|
|
246
|
+
duration: 1.04,
|
|
247
|
+
ease: ["linear", [0.23, 1, 0.32, 1], [0.23, 1, 0.32, 1]],
|
|
248
|
+
times: [0, 0.78, 0.9, 1]
|
|
249
|
+
}
|
|
250
|
+
}
|
|
251
|
+
};
|
|
252
|
+
var firstEndFlourishVariants = {
|
|
253
|
+
normal: {
|
|
254
|
+
pathLength: 0,
|
|
255
|
+
opacity: 0,
|
|
256
|
+
visibility: "hidden"
|
|
257
|
+
},
|
|
258
|
+
animate: {
|
|
259
|
+
pathLength: [0, 0, 1, 1],
|
|
260
|
+
opacity: [0, 0, 1, 0],
|
|
261
|
+
visibility: ["hidden", "hidden", "visible", "hidden"],
|
|
262
|
+
transition: {
|
|
263
|
+
duration: 0.76,
|
|
264
|
+
ease: ["linear", [0.23, 1, 0.32, 1], [0.23, 1, 0.32, 1]],
|
|
265
|
+
times: [0, 0.69, 0.84, 1]
|
|
266
|
+
}
|
|
267
|
+
}
|
|
268
|
+
};
|
|
269
|
+
var secondEndFlourishVariants = {
|
|
270
|
+
normal: {
|
|
271
|
+
pathLength: 0,
|
|
272
|
+
opacity: 0,
|
|
273
|
+
visibility: "hidden"
|
|
274
|
+
},
|
|
275
|
+
animate: {
|
|
276
|
+
pathLength: [0, 0, 1, 1],
|
|
277
|
+
opacity: [0, 0, 1, 0],
|
|
278
|
+
visibility: ["hidden", "hidden", "visible", "hidden"],
|
|
279
|
+
transition: {
|
|
280
|
+
duration: 1.06,
|
|
281
|
+
ease: ["linear", [0.23, 1, 0.32, 1], [0.23, 1, 0.32, 1]],
|
|
282
|
+
times: [0, 0.77, 0.88, 1]
|
|
283
|
+
}
|
|
284
|
+
}
|
|
285
|
+
};
|
|
286
|
+
var generatedGeometryVariants2 = {
|
|
287
|
+
normal: { visibility: "hidden", transition: { duration: 0.08 } },
|
|
288
|
+
animate: { visibility: "visible", transition: { duration: 0 } }
|
|
289
|
+
};
|
|
290
|
+
var firstStrikeVariants = {
|
|
291
|
+
normal: { pathLength: 1, pathOffset: 0, visibility: "visible" },
|
|
292
|
+
animate: {
|
|
293
|
+
pathLength: [1, 1, 0.12, 0, 0, 0.12, 1, 1],
|
|
294
|
+
pathOffset: [0, 0, 0.88, 1, 0, 0, 0, 0],
|
|
295
|
+
visibility: ["visible", "visible", "hidden", "hidden", "hidden", "hidden", "visible", "visible"],
|
|
296
|
+
transition: {
|
|
297
|
+
duration: 0.9,
|
|
298
|
+
ease: ["linear", [0.77, 0, 0.175, 1], "linear", "linear", "linear", [0.77, 0, 0.175, 1], "linear"],
|
|
299
|
+
times: [0, 0.05, 0.22, 0.25, 0.34, 0.38, 0.58, 1]
|
|
300
|
+
}
|
|
301
|
+
}
|
|
302
|
+
};
|
|
303
|
+
var secondStrikeVariants = {
|
|
304
|
+
normal: { pathLength: 1, pathOffset: 0, visibility: "visible" },
|
|
305
|
+
animate: {
|
|
306
|
+
pathLength: [1, 1, 0.12, 0, 0, 0.12, 1, 1],
|
|
307
|
+
pathOffset: [0, 0, 0.88, 1, 0, 0, 0, 0],
|
|
308
|
+
visibility: ["visible", "visible", "hidden", "hidden", "hidden", "hidden", "visible", "visible"],
|
|
309
|
+
transition: {
|
|
310
|
+
duration: 0.9,
|
|
311
|
+
ease: ["linear", [0.77, 0, 0.175, 1], "linear", "linear", "linear", [0.77, 0, 0.175, 1], "linear"],
|
|
312
|
+
times: [0, 0.1, 0.27, 0.3, 0.64, 0.7, 0.9, 1]
|
|
313
|
+
}
|
|
314
|
+
}
|
|
315
|
+
};
|
|
316
|
+
var Cancel01Icon = forwardRef3(({ onMouseEnter, onMouseLeave, className, size = 24, ...props }, ref) => {
|
|
317
|
+
const controls = useAnimation3();
|
|
318
|
+
const { handleMouseEnter, handleMouseLeave } = useIconAnimation({
|
|
319
|
+
controls,
|
|
320
|
+
loops: false,
|
|
321
|
+
onMouseEnter,
|
|
322
|
+
onMouseLeave,
|
|
323
|
+
ref
|
|
324
|
+
});
|
|
325
|
+
return /* @__PURE__ */ jsx3("div", { className: cn("inline-flex", className), style: { strokeWidth: 1.5 }, "data-hugeicons-animated": "true", children: /* @__PURE__ */ jsx3("svg", { onMouseEnter: handleMouseEnter, onMouseLeave: handleMouseLeave, ...props, className: "h-full w-full", xmlns: "http://www.w3.org/2000/svg", width: size, height: size, viewBox: "0 0 24 24", fill: "none", overflow: "visible", children: /* @__PURE__ */ jsxs3(motion3.g, { variants: impactVariants, animate: controls, initial: "normal", style: { transformOrigin: "12px 12px" }, children: [
|
|
326
|
+
/* @__PURE__ */ jsx3(motion3.path, { d: FIRST_PATH, stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "inherit", variants: firstStrikeVariants, animate: controls, initial: "normal" }),
|
|
327
|
+
/* @__PURE__ */ jsx3(motion3.path, { d: SECOND_PATH, stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "inherit", variants: secondStrikeVariants, animate: controls, initial: "normal" }),
|
|
328
|
+
/* @__PURE__ */ jsxs3(motion3.g, { variants: generatedGeometryVariants2, animate: controls, initial: "normal", children: [
|
|
329
|
+
/* @__PURE__ */ jsx3(motion3.path, { d: "M6.00081 17.9992L5.1 18.9", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "inherit", variants: firstEndFlourishVariants, animate: controls, initial: "normal" }),
|
|
330
|
+
/* @__PURE__ */ jsx3(motion3.path, { d: "M17.9992 18L18.9 18.9008", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "inherit", variants: secondEndFlourishVariants, animate: controls, initial: "normal" })
|
|
331
|
+
] })
|
|
332
|
+
] }) }) });
|
|
333
|
+
});
|
|
334
|
+
Cancel01Icon.displayName = "Cancel01Icon";
|
|
335
|
+
|
|
336
|
+
// src/utils/animated-icons/clock-01.tsx
|
|
337
|
+
import { motion as motion4, useAnimation as useAnimation4 } from "motion/react";
|
|
338
|
+
import { forwardRef as forwardRef4 } from "react";
|
|
339
|
+
import { jsx as jsx4, jsxs as jsxs4 } from "react/jsx-runtime";
|
|
340
|
+
var CLOCK_REST = "M12 8L12 12L14 14";
|
|
341
|
+
var handsVariants = {
|
|
342
|
+
normal: { d: CLOCK_REST },
|
|
343
|
+
animate: {
|
|
344
|
+
d: [
|
|
345
|
+
CLOCK_REST,
|
|
346
|
+
"M15.464 10L12 12L12.732 14.732",
|
|
347
|
+
"M15.464 14L12 12L11.268 14.732",
|
|
348
|
+
"M12 16L12 12L10 14",
|
|
349
|
+
"M8.536 14L12 12L9.268 12.732",
|
|
350
|
+
"M8.536 10L12 12L9.268 11.268",
|
|
351
|
+
"M12 8L12 12L10 10",
|
|
352
|
+
"M15.464 10L12 12L11.268 9.268",
|
|
353
|
+
"M15.464 14L12 12L12.732 9.268",
|
|
354
|
+
"M12 16L12 12L14 10",
|
|
355
|
+
"M8.536 14L12 12L14.732 11.268",
|
|
356
|
+
"M8.536 10L12 12L14.732 12.732",
|
|
357
|
+
CLOCK_REST
|
|
358
|
+
],
|
|
359
|
+
transition: {
|
|
360
|
+
duration: 1.04,
|
|
361
|
+
ease: "linear",
|
|
362
|
+
times: [0, 0.12, 0.22, 0.3, 0.37, 0.43, 0.49, 0.55, 0.61, 0.68, 0.76, 0.86, 1]
|
|
363
|
+
}
|
|
364
|
+
}
|
|
365
|
+
};
|
|
366
|
+
var Clock01Icon = forwardRef4(({ onMouseEnter, onMouseLeave, className, size = 24, ...props }, ref) => {
|
|
367
|
+
const controls = useAnimation4();
|
|
368
|
+
const { handleMouseEnter, handleMouseLeave } = useIconAnimation({
|
|
369
|
+
controls,
|
|
370
|
+
loops: false,
|
|
371
|
+
onMouseEnter,
|
|
372
|
+
onMouseLeave,
|
|
373
|
+
ref
|
|
374
|
+
});
|
|
375
|
+
return /* @__PURE__ */ jsx4("div", { "data-hugeicons-animated": "true", className: cn("inline-flex", className), style: { strokeWidth: 1.5 }, children: /* @__PURE__ */ jsxs4("svg", { className: "h-full w-full", onMouseEnter: handleMouseEnter, onMouseLeave: handleMouseLeave, ...props, xmlns: "http://www.w3.org/2000/svg", width: size, height: size, viewBox: "0 0 24 24", fill: "none", overflow: "visible", children: [
|
|
376
|
+
/* @__PURE__ */ jsx4("circle", { cx: "12", cy: "12", r: "10", stroke: "currentColor", strokeWidth: "inherit" }),
|
|
377
|
+
/* @__PURE__ */ jsx4(motion4.path, { d: "M12 8V12L14 14", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "inherit", variants: handsVariants, animate: controls, initial: "normal" })
|
|
378
|
+
] }) });
|
|
379
|
+
});
|
|
380
|
+
Clock01Icon.displayName = "Clock01Icon";
|
|
381
|
+
|
|
382
|
+
// src/utils/animated-icons/crown.tsx
|
|
383
|
+
import { motion as motion5, useAnimation as useAnimation5 } from "motion/react";
|
|
384
|
+
import { forwardRef as forwardRef5 } from "react";
|
|
385
|
+
import { jsx as jsx5, jsxs as jsxs5 } from "react/jsx-runtime";
|
|
386
|
+
var crownBodyVariants = {
|
|
387
|
+
normal: {
|
|
388
|
+
transform: "translateY(0px) scale(1)",
|
|
389
|
+
transition: { duration: 0.18, ease: [0.23, 1, 0.32, 1] }
|
|
390
|
+
},
|
|
391
|
+
animate: {
|
|
392
|
+
transform: ["translateY(0px) scale(1)", "translateY(0.35px) scale(0.992)", "translateY(-0.45px) scale(1.018)", "translateY(-0.1px) scale(1.006)", "translateY(0px) scale(1)"],
|
|
393
|
+
transition: {
|
|
394
|
+
duration: 0.78,
|
|
395
|
+
ease: [0.77, 0, 0.175, 1],
|
|
396
|
+
times: [0, 0.2, 0.52, 0.78, 1]
|
|
397
|
+
}
|
|
398
|
+
}
|
|
399
|
+
};
|
|
400
|
+
var glintVariants = {
|
|
401
|
+
normal: {
|
|
402
|
+
opacity: 0,
|
|
403
|
+
visibility: "hidden",
|
|
404
|
+
transform: "scale(0.75)",
|
|
405
|
+
transition: { duration: 0.12, ease: [0.23, 1, 0.32, 1] }
|
|
406
|
+
},
|
|
407
|
+
animate: (i) => ({
|
|
408
|
+
opacity: [0, 0, 1, 0.7, 0],
|
|
409
|
+
visibility: ["hidden", "hidden", "visible", "visible", "hidden"],
|
|
410
|
+
transform: ["scale(0.75)", "scale(0.75)", "scale(1)", "scale(0.94)", "scale(0.8)"],
|
|
411
|
+
transition: {
|
|
412
|
+
duration: 0.82,
|
|
413
|
+
ease: [0.23, 1, 0.32, 1],
|
|
414
|
+
repeat: Infinity,
|
|
415
|
+
repeatDelay: 0.28,
|
|
416
|
+
delay: 0.16 + i * 0.34,
|
|
417
|
+
times: [0, 0.2, 0.42, 0.7, 1]
|
|
418
|
+
}
|
|
419
|
+
})
|
|
420
|
+
};
|
|
421
|
+
var generatedGeometryVariants3 = {
|
|
422
|
+
normal: { visibility: "hidden", transition: { duration: 0.08 } },
|
|
423
|
+
animate: { visibility: "visible", transition: { duration: 0.08 } }
|
|
424
|
+
};
|
|
425
|
+
var CrownIcon = forwardRef5(({ onMouseEnter, onMouseLeave, className, size = 24, ...props }, ref) => {
|
|
426
|
+
const controls = useAnimation5();
|
|
427
|
+
const { handleMouseEnter, handleMouseLeave } = useIconAnimation({
|
|
428
|
+
controls,
|
|
429
|
+
loops: true,
|
|
430
|
+
onMouseEnter,
|
|
431
|
+
onMouseLeave,
|
|
432
|
+
ref
|
|
433
|
+
});
|
|
434
|
+
return /* @__PURE__ */ jsx5("div", { "data-hugeicons-animated": "true", className: cn("inline-flex", className), style: { strokeWidth: 1.5 }, children: /* @__PURE__ */ jsxs5("svg", { className: "h-full w-full", onMouseEnter: handleMouseEnter, onMouseLeave: handleMouseLeave, ...props, xmlns: "http://www.w3.org/2000/svg", width: size, height: size, viewBox: "0 0 24 24", fill: "none", overflow: "visible", children: [
|
|
435
|
+
/* @__PURE__ */ jsx5("path", { d: "M5 21H19", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "inherit" }),
|
|
436
|
+
/* @__PURE__ */ jsx5("path", { d: "M12.125 12.75H12M12.25 12.75C12.25 12.8881 12.1381 13 12 13C11.8619 13 11.75 12.8881 11.75 12.75C11.75 12.6119 11.8619 12.5 12 12.5C12.1381 12.5 12.25 12.6119 12.25 12.75Z", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "inherit" }),
|
|
437
|
+
/* @__PURE__ */ jsx5(
|
|
438
|
+
motion5.path,
|
|
439
|
+
{
|
|
440
|
+
d: "M14.9152 7.61089L13.8078 5.38179C13.019 3.79393 12.6246 3 12 3C11.3754 3 10.981 3.79393 10.1922 5.38179L9.08483 7.61089C8.58107 8.62494 8.32919 9.13197 7.87976 9.24608C7.8485 9.25401 7.81689 9.26043 7.78503 9.26533C7.32682 9.3357 6.89919 8.96678 6.04393 8.22895C4.0124 6.47635 2.99663 5.60004 2.38034 5.94899C2.34045 5.97157 2.30213 5.99686 2.26565 6.02467C1.70197 6.45439 2.09541 7.74136 2.88229 10.3153L4.04783 14.1279C4.47098 15.5121 4.68255 16.2042 5.21787 16.6021C5.75318 17 6.47261 17 7.91147 17L16.0886 16.9999C17.5274 16.9999 18.2468 16.9999 18.7821 16.602C19.3175 16.2041 19.529 15.512 19.9522 14.1279L21.1177 10.3153C21.9046 7.74137 22.298 6.4544 21.7344 6.02468C21.6979 5.99687 21.6595 5.97158 21.6197 5.94899C21.0034 5.60006 19.9876 6.47636 17.9561 8.22896C17.1008 8.96679 16.6732 9.3357 16.215 9.26533C16.1831 9.26043 16.1515 9.25401 16.1202 9.24607C15.6708 9.13197 15.4189 8.62494 14.9152 7.61089Z",
|
|
441
|
+
stroke: "currentColor",
|
|
442
|
+
strokeLinecap: "round",
|
|
443
|
+
strokeLinejoin: "round",
|
|
444
|
+
strokeWidth: "inherit",
|
|
445
|
+
variants: crownBodyVariants,
|
|
446
|
+
animate: controls,
|
|
447
|
+
initial: "normal",
|
|
448
|
+
style: { transformOrigin: "12px 12.75px" }
|
|
449
|
+
}
|
|
450
|
+
),
|
|
451
|
+
/* @__PURE__ */ jsxs5(motion5.g, { variants: generatedGeometryVariants3, animate: controls, initial: "normal", children: [
|
|
452
|
+
/* @__PURE__ */ jsx5(motion5.path, { d: "M7.3 11.6V12.8M6.7 12.2H7.9", stroke: "currentColor", strokeLinecap: "round", strokeWidth: "inherit", variants: glintVariants, custom: 0, animate: controls, initial: "normal", style: { transformOrigin: "7.3px 12.2px" } }),
|
|
453
|
+
/* @__PURE__ */ jsx5(motion5.path, { d: "M16.7 11.2V12.4M16.1 11.8H17.3", stroke: "currentColor", strokeLinecap: "round", strokeWidth: "inherit", variants: glintVariants, custom: 1, animate: controls, initial: "normal", style: { transformOrigin: "16.7px 11.8px" } })
|
|
454
|
+
] })
|
|
455
|
+
] }) });
|
|
456
|
+
});
|
|
457
|
+
CrownIcon.displayName = "CrownIcon";
|
|
458
|
+
|
|
459
|
+
// src/utils/animated-icons/download-01.tsx
|
|
460
|
+
import { motion as motion6, useAnimation as useAnimation6 } from "motion/react";
|
|
461
|
+
import { forwardRef as forwardRef6 } from "react";
|
|
462
|
+
import { jsx as jsx6, jsxs as jsxs6 } from "react/jsx-runtime";
|
|
463
|
+
var arrowVariants2 = {
|
|
464
|
+
normal: { translateY: 0, visibility: "visible" },
|
|
465
|
+
animate: {
|
|
466
|
+
translateY: [0, 5, -5, 0],
|
|
467
|
+
visibility: ["visible", "hidden", "hidden", "visible"],
|
|
468
|
+
transition: {
|
|
469
|
+
duration: 0.7,
|
|
470
|
+
times: [0, 0.42, 0.5, 1],
|
|
471
|
+
ease: ["easeIn", "linear", "easeOut"]
|
|
472
|
+
}
|
|
473
|
+
}
|
|
474
|
+
};
|
|
475
|
+
var trayVariants = {
|
|
476
|
+
normal: { translateY: 0 },
|
|
477
|
+
animate: {
|
|
478
|
+
translateY: [0, 1.2, 0],
|
|
479
|
+
transition: { duration: 0.3, ease: "easeOut", delay: 0.32 }
|
|
480
|
+
}
|
|
481
|
+
};
|
|
482
|
+
var Download01Icon = forwardRef6(({ onMouseEnter, onMouseLeave, className, size = 24, ...props }, ref) => {
|
|
483
|
+
const controls = useAnimation6();
|
|
484
|
+
const { handleMouseEnter, handleMouseLeave } = useIconAnimation({
|
|
485
|
+
controls,
|
|
486
|
+
loops: false,
|
|
487
|
+
onMouseEnter,
|
|
488
|
+
onMouseLeave,
|
|
489
|
+
ref
|
|
490
|
+
});
|
|
491
|
+
return /* @__PURE__ */ jsx6("div", { "data-hugeicons-animated": "true", className: cn("inline-flex", className), style: { strokeWidth: 1.5 }, children: /* @__PURE__ */ jsxs6("svg", { className: "h-full w-full", onMouseEnter: handleMouseEnter, onMouseLeave: handleMouseLeave, ...props, xmlns: "http://www.w3.org/2000/svg", width: size, height: size, viewBox: "0 0 24 24", fill: "none", overflow: "visible", children: [
|
|
492
|
+
/* @__PURE__ */ jsx6(
|
|
493
|
+
motion6.path,
|
|
494
|
+
{
|
|
495
|
+
d: "M2.99969 17.0002C2.99969 17.9302 2.99969 18.3952 3.10192 18.7767C3.37932 19.8119 4.18796 20.6206 5.22324 20.898C5.60474 21.0002 6.06972 21.0002 6.99969 21.0002L16.9997 21.0002C17.9297 21.0002 18.3947 21.0002 18.7762 20.898C19.8114 20.6206 20.6201 19.8119 20.8975 18.7767C20.9997 18.3952 20.9997 17.9302 20.9997 17.0002",
|
|
496
|
+
stroke: "currentColor",
|
|
497
|
+
strokeLinecap: "round",
|
|
498
|
+
strokeLinejoin: "round",
|
|
499
|
+
strokeWidth: "inherit",
|
|
500
|
+
variants: trayVariants,
|
|
501
|
+
animate: controls,
|
|
502
|
+
initial: "normal"
|
|
503
|
+
}
|
|
504
|
+
),
|
|
505
|
+
/* @__PURE__ */ jsx6(
|
|
506
|
+
motion6.path,
|
|
507
|
+
{
|
|
508
|
+
d: "M16.4998 11.5002C16.4998 11.5002 13.1856 16.0002 11.9997 16.0002C10.8139 16.0002 7.49976 11.5002 7.49976 11.5002M11.9997 15.0002V3.00016",
|
|
509
|
+
stroke: "currentColor",
|
|
510
|
+
strokeLinecap: "round",
|
|
511
|
+
strokeLinejoin: "round",
|
|
512
|
+
strokeWidth: "inherit",
|
|
513
|
+
variants: arrowVariants2,
|
|
514
|
+
animate: controls,
|
|
515
|
+
initial: "normal"
|
|
516
|
+
}
|
|
517
|
+
)
|
|
518
|
+
] }) });
|
|
519
|
+
});
|
|
520
|
+
Download01Icon.displayName = "Download01Icon";
|
|
521
|
+
|
|
522
|
+
// src/utils/animated-icons/edit-02.tsx
|
|
523
|
+
import { motion as motion7, useAnimation as useAnimation7 } from "motion/react";
|
|
524
|
+
import { forwardRef as forwardRef7 } from "react";
|
|
525
|
+
import { jsx as jsx7, jsxs as jsxs7 } from "react/jsx-runtime";
|
|
526
|
+
var pencilVariants = {
|
|
527
|
+
normal: { rotate: 0, translateX: 0 },
|
|
528
|
+
animate: {
|
|
529
|
+
rotate: [0, -5, 3, -2, 0],
|
|
530
|
+
translateX: [0, -1.5, 1, -0.5, 0],
|
|
531
|
+
transition: { duration: 0.65, ease: "easeInOut" }
|
|
532
|
+
}
|
|
533
|
+
};
|
|
534
|
+
var lineVariants = {
|
|
535
|
+
normal: { pathLength: 1, visibility: "visible" },
|
|
536
|
+
animate: {
|
|
537
|
+
pathLength: [0, 1],
|
|
538
|
+
visibility: "visible",
|
|
539
|
+
transition: { duration: 0.5, ease: "easeOut", delay: 0.1 }
|
|
540
|
+
}
|
|
541
|
+
};
|
|
542
|
+
var Edit02Icon = forwardRef7(({ onMouseEnter, onMouseLeave, className, size = 24, ...props }, ref) => {
|
|
543
|
+
const controls = useAnimation7();
|
|
544
|
+
const { handleMouseEnter, handleMouseLeave } = useIconAnimation({
|
|
545
|
+
controls,
|
|
546
|
+
loops: false,
|
|
547
|
+
onMouseEnter,
|
|
548
|
+
onMouseLeave,
|
|
549
|
+
ref
|
|
550
|
+
});
|
|
551
|
+
return /* @__PURE__ */ jsx7("div", { "data-hugeicons-animated": "true", className: cn("inline-flex", className), style: { strokeWidth: 1.5 }, children: /* @__PURE__ */ jsxs7("svg", { className: "h-full w-full", onMouseEnter: handleMouseEnter, onMouseLeave: handleMouseLeave, ...props, xmlns: "http://www.w3.org/2000/svg", width: size, height: size, viewBox: "0 0 24 24", fill: "none", overflow: "visible", children: [
|
|
552
|
+
/* @__PURE__ */ jsx7(
|
|
553
|
+
motion7.path,
|
|
554
|
+
{
|
|
555
|
+
d: "M14.0737 3.88545C14.8189 3.07808 15.1915 2.6744 15.5874 2.43893C16.5427 1.87076 17.7191 1.85309 18.6904 2.39232C19.0929 2.6158 19.4769 3.00812 20.245 3.79276C21.0131 4.5774 21.3972 4.96972 21.6159 5.38093C22.1438 6.37312 22.1265 7.57479 21.5703 8.5507C21.3398 8.95516 20.9446 9.33578 20.1543 10.097L10.7506 19.1543C9.25288 20.5969 8.504 21.3182 7.56806 21.6837C6.63212 22.0493 5.6032 22.0224 3.54536 21.9686L3.26538 21.9613C2.63891 21.9449 2.32567 21.9367 2.14359 21.73C1.9615 21.5234 1.98636 21.2043 2.03608 20.5662L2.06308 20.2197C2.20301 18.4235 2.27297 17.5255 2.62371 16.7182C2.97444 15.9109 3.57944 15.2555 4.78943 13.9445L14.0737 3.88545Z",
|
|
556
|
+
stroke: "currentColor",
|
|
557
|
+
strokeLinejoin: "round",
|
|
558
|
+
strokeWidth: "inherit",
|
|
559
|
+
variants: pencilVariants,
|
|
560
|
+
animate: controls,
|
|
561
|
+
initial: "normal",
|
|
562
|
+
style: { transformBox: "view-box", transformOrigin: "2px 21px" }
|
|
563
|
+
}
|
|
564
|
+
),
|
|
565
|
+
/* @__PURE__ */ jsx7(motion7.path, { d: "M13 4L20 11", stroke: "currentColor", strokeLinejoin: "round", strokeWidth: "inherit", variants: pencilVariants, animate: controls, initial: "normal", style: { transformBox: "view-box", transformOrigin: "2px 21px" } }),
|
|
566
|
+
/* @__PURE__ */ jsx7(motion7.path, { d: "M14 22L22 22", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "inherit", variants: lineVariants, animate: controls, initial: "normal" })
|
|
567
|
+
] }) });
|
|
568
|
+
});
|
|
569
|
+
Edit02Icon.displayName = "Edit02Icon";
|
|
570
|
+
|
|
571
|
+
// src/utils/animated-icons/home-01.tsx
|
|
572
|
+
import { motion as motion8, useAnimation as useAnimation8 } from "motion/react";
|
|
573
|
+
import { forwardRef as forwardRef8 } from "react";
|
|
574
|
+
import { jsx as jsx8, jsxs as jsxs8 } from "react/jsx-runtime";
|
|
575
|
+
var svgVariants = {
|
|
576
|
+
normal: { translateY: 0 },
|
|
577
|
+
animate: {
|
|
578
|
+
translateY: [0, -2, 0],
|
|
579
|
+
transition: { duration: 0.5, ease: "easeInOut", times: [0, 0.35, 1] }
|
|
580
|
+
}
|
|
581
|
+
};
|
|
582
|
+
var smileVariants = {
|
|
583
|
+
normal: { pathLength: 1, visibility: "visible" },
|
|
584
|
+
animate: {
|
|
585
|
+
pathLength: [0, 1],
|
|
586
|
+
visibility: ["hidden", "visible"],
|
|
587
|
+
transition: { duration: 0.4, ease: "easeOut", delay: 0.2 }
|
|
588
|
+
}
|
|
589
|
+
};
|
|
590
|
+
var Home01Icon = forwardRef8(({ onMouseEnter, onMouseLeave, className, size = 24, ...props }, ref) => {
|
|
591
|
+
const controls = useAnimation8();
|
|
592
|
+
const { handleMouseEnter, handleMouseLeave } = useIconAnimation({
|
|
593
|
+
controls,
|
|
594
|
+
loops: false,
|
|
595
|
+
onMouseEnter,
|
|
596
|
+
onMouseLeave,
|
|
597
|
+
ref
|
|
598
|
+
});
|
|
599
|
+
return /* @__PURE__ */ jsx8("div", { className: cn("inline-flex", className), style: { strokeWidth: 1.5 }, "data-hugeicons-animated": "true", children: /* @__PURE__ */ jsx8("svg", { onMouseEnter: handleMouseEnter, onMouseLeave: handleMouseLeave, ...props, className: "h-full w-full", xmlns: "http://www.w3.org/2000/svg", width: size, height: size, viewBox: "0 0 24 24", fill: "none", overflow: "visible", children: /* @__PURE__ */ jsxs8(motion8.g, { variants: svgVariants, animate: controls, initial: "normal", children: [
|
|
600
|
+
/* @__PURE__ */ jsx8(
|
|
601
|
+
"path",
|
|
602
|
+
{
|
|
603
|
+
d: "M3 11.9896V14.5C3 17.7998 3 19.4497 4.02513 20.4749C5.05025 21.5 6.70017 21.5 10 21.5H14C17.2998 21.5 18.9497 21.5 19.9749 20.4749C21 19.4497 21 17.7998 21 14.5V11.9896C21 10.3083 21 9.46773 20.6441 8.74005C20.2882 8.01237 19.6247 7.49628 18.2976 6.46411L16.2976 4.90855C14.2331 3.30285 13.2009 2.5 12 2.5C10.7991 2.5 9.76689 3.30285 7.70242 4.90855L5.70241 6.46411C4.37533 7.49628 3.71179 8.01237 3.3559 8.74005C3 9.46773 3 10.3083 3 11.9896Z",
|
|
604
|
+
stroke: "currentColor",
|
|
605
|
+
strokeLinecap: "round",
|
|
606
|
+
strokeLinejoin: "round",
|
|
607
|
+
strokeWidth: "inherit"
|
|
608
|
+
}
|
|
609
|
+
),
|
|
610
|
+
/* @__PURE__ */ jsx8(motion8.path, { d: "M15.0002 17C14.2007 17.6224 13.1504 18 12.0002 18C10.8499 18 9.79971 17.6224 9.00018 17", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "inherit", variants: smileVariants, animate: controls, initial: "normal" })
|
|
611
|
+
] }) }) });
|
|
612
|
+
});
|
|
613
|
+
Home01Icon.displayName = "Home01Icon";
|
|
614
|
+
|
|
615
|
+
// src/utils/animated-icons/image-01.tsx
|
|
616
|
+
import { motion as motion9, useAnimation as useAnimation9 } from "motion/react";
|
|
617
|
+
import { forwardRef as forwardRef9 } from "react";
|
|
618
|
+
import { jsx as jsx9, jsxs as jsxs9 } from "react/jsx-runtime";
|
|
619
|
+
var PHOTO_DURATION = 0.58;
|
|
620
|
+
var PHOTO_TIMES = [0, 0.28, 0.68, 1];
|
|
621
|
+
var PHOTO_EASE = [0.23, 1, 0.32, 1];
|
|
622
|
+
var photoVariants = {
|
|
623
|
+
normal: { transform: "translateY(0px) rotate(0deg) scale(1)" },
|
|
624
|
+
animate: {
|
|
625
|
+
transform: ["translateY(0px) rotate(0deg) scale(1)", "translateY(-0.75px) rotate(-2deg) scale(1.03)", "translateY(0.2px) rotate(0.55deg) scale(0.992)", "translateY(0px) rotate(0deg) scale(1)"],
|
|
626
|
+
transition: {
|
|
627
|
+
duration: PHOTO_DURATION,
|
|
628
|
+
ease: PHOTO_EASE,
|
|
629
|
+
times: PHOTO_TIMES
|
|
630
|
+
}
|
|
631
|
+
}
|
|
632
|
+
};
|
|
633
|
+
var sunVariants = {
|
|
634
|
+
normal: { transform: "translate(0px, 0px) scale(1)" },
|
|
635
|
+
animate: {
|
|
636
|
+
transform: ["translate(0px, 0px) scale(1)", "translate(0.75px, -0.9px) scale(0.96)", "translate(-0.15px, 0.2px) scale(1.06)", "translate(0px, 0px) scale(1)"],
|
|
637
|
+
transition: {
|
|
638
|
+
duration: PHOTO_DURATION,
|
|
639
|
+
ease: PHOTO_EASE,
|
|
640
|
+
times: [0, 0.34, 0.74, 1]
|
|
641
|
+
}
|
|
642
|
+
}
|
|
643
|
+
};
|
|
644
|
+
var landscapeVariants = {
|
|
645
|
+
normal: { transform: "translateY(0px) scaleY(1)" },
|
|
646
|
+
animate: {
|
|
647
|
+
transform: ["translateY(0px) scaleY(1)", "translateY(1.05px) scaleY(0.97)", "translateY(-0.3px) scaleY(1.015)", "translateY(0px) scaleY(1)"],
|
|
648
|
+
transition: {
|
|
649
|
+
duration: PHOTO_DURATION,
|
|
650
|
+
ease: PHOTO_EASE,
|
|
651
|
+
times: [0, 0.38, 0.76, 1]
|
|
652
|
+
}
|
|
653
|
+
}
|
|
654
|
+
};
|
|
655
|
+
var Image01Icon = forwardRef9(({ onMouseEnter, onMouseLeave, className, size = 24, ...props }, ref) => {
|
|
656
|
+
const controls = useAnimation9();
|
|
657
|
+
const { handleMouseEnter, handleMouseLeave } = useIconAnimation({
|
|
658
|
+
controls,
|
|
659
|
+
onMouseEnter,
|
|
660
|
+
onMouseLeave,
|
|
661
|
+
ref
|
|
662
|
+
});
|
|
663
|
+
return /* @__PURE__ */ jsx9("div", { className: cn("inline-flex", className), style: { strokeWidth: 1.5 }, "data-hugeicons-animated": "true", children: /* @__PURE__ */ jsx9("svg", { onMouseEnter: handleMouseEnter, onMouseLeave: handleMouseLeave, ...props, className: "h-full w-full", xmlns: "http://www.w3.org/2000/svg", width: size, height: size, viewBox: "0 0 24 24", fill: "none", overflow: "visible", children: /* @__PURE__ */ jsxs9(motion9.g, { variants: photoVariants, animate: controls, initial: "normal", style: { transformOrigin: "50% 50%" }, children: [
|
|
664
|
+
/* @__PURE__ */ jsx9(
|
|
665
|
+
motion9.circle,
|
|
666
|
+
{
|
|
667
|
+
cx: "7.5",
|
|
668
|
+
cy: "7.5",
|
|
669
|
+
r: "1.5",
|
|
670
|
+
stroke: "currentColor",
|
|
671
|
+
strokeLinecap: "round",
|
|
672
|
+
strokeLinejoin: "round",
|
|
673
|
+
strokeWidth: "inherit",
|
|
674
|
+
variants: sunVariants,
|
|
675
|
+
animate: controls,
|
|
676
|
+
initial: "normal",
|
|
677
|
+
style: {
|
|
678
|
+
transformBox: "view-box",
|
|
679
|
+
transformOrigin: "7.5px 7.5px"
|
|
680
|
+
}
|
|
681
|
+
}
|
|
682
|
+
),
|
|
683
|
+
/* @__PURE__ */ jsx9(
|
|
684
|
+
"path",
|
|
685
|
+
{
|
|
686
|
+
d: "M2.5 12C2.5 7.52166 2.5 5.28249 3.89124 3.89124C5.28249 2.5 7.52166 2.5 12 2.5C16.4783 2.5 18.7175 2.5 20.1088 3.89124C21.5 5.28249 21.5 7.52166 21.5 12C21.5 16.4783 21.5 18.7175 20.1088 20.1088C18.7175 21.5 16.4783 21.5 12 21.5C7.52166 21.5 5.28249 21.5 3.89124 20.1088C2.5 18.7175 2.5 16.4783 2.5 12Z",
|
|
687
|
+
stroke: "currentColor",
|
|
688
|
+
strokeWidth: "inherit"
|
|
689
|
+
}
|
|
690
|
+
),
|
|
691
|
+
/* @__PURE__ */ jsx9(motion9.path, { d: "M5 21C9.37246 15.775 14.2741 8.88406 21.4975 13.5424", stroke: "currentColor", strokeWidth: "inherit", variants: landscapeVariants, animate: controls, initial: "normal" })
|
|
692
|
+
] }) }) });
|
|
693
|
+
});
|
|
694
|
+
Image01Icon.displayName = "Image01Icon";
|
|
695
|
+
|
|
696
|
+
// src/utils/animated-icons/information-circle.tsx
|
|
697
|
+
import { motion as motion10, useAnimation as useAnimation10 } from "motion/react";
|
|
698
|
+
import { forwardRef as forwardRef10 } from "react";
|
|
699
|
+
import { jsx as jsx10, jsxs as jsxs10 } from "react/jsx-runtime";
|
|
700
|
+
var circleVariants = {
|
|
701
|
+
normal: { transform: "scale(1)" },
|
|
702
|
+
animate: {
|
|
703
|
+
transform: ["scale(1)", "scale(0.975)", "scale(1.02)", "scale(0.996)", "scale(1)"],
|
|
704
|
+
transition: {
|
|
705
|
+
duration: 0.56,
|
|
706
|
+
ease: [0.23, 1, 0.32, 1],
|
|
707
|
+
times: [0, 0.2, 0.5, 0.76, 1]
|
|
708
|
+
}
|
|
709
|
+
}
|
|
710
|
+
};
|
|
711
|
+
var stemVariants = {
|
|
712
|
+
normal: { transform: "translateY(0px) scaleY(1)" },
|
|
713
|
+
animate: {
|
|
714
|
+
transform: ["translateY(0px) scaleY(1)", "translateY(0.5px) scaleY(0.78)", "translateY(-0.7px) scaleY(1.08)", "translateY(0.18px) scaleY(0.98)", "translateY(0px) scaleY(1)"],
|
|
715
|
+
transition: {
|
|
716
|
+
duration: 0.56,
|
|
717
|
+
ease: [0.23, 1, 0.32, 1],
|
|
718
|
+
times: [0, 0.2, 0.5, 0.76, 1]
|
|
719
|
+
}
|
|
720
|
+
}
|
|
721
|
+
};
|
|
722
|
+
var dotVariants = {
|
|
723
|
+
normal: { transform: "scale(1)" },
|
|
724
|
+
animate: {
|
|
725
|
+
transform: ["translateY(0px) scale(1)", "translateY(0.6px) scale(0.9)", "translateY(-1.4px) scale(1.16)", "translateY(0.2px) scale(0.94)", "translateY(0px) scale(1)"],
|
|
726
|
+
transition: {
|
|
727
|
+
duration: 0.56,
|
|
728
|
+
ease: [0.23, 1, 0.32, 1],
|
|
729
|
+
times: [0, 0.2, 0.5, 0.76, 1]
|
|
730
|
+
}
|
|
731
|
+
}
|
|
732
|
+
};
|
|
733
|
+
var InformationCircleIcon = forwardRef10(({ onMouseEnter, onMouseLeave, className, size = 24, ...props }, ref) => {
|
|
734
|
+
const controls = useAnimation10();
|
|
735
|
+
const { handleMouseEnter, handleMouseLeave } = useIconAnimation({
|
|
736
|
+
controls,
|
|
737
|
+
onMouseEnter,
|
|
738
|
+
onMouseLeave,
|
|
739
|
+
ref
|
|
740
|
+
});
|
|
741
|
+
return /* @__PURE__ */ jsx10("div", { "data-hugeicons-animated": "true", className: cn("inline-flex", className), style: { strokeWidth: 1.5 }, children: /* @__PURE__ */ jsxs10("svg", { className: "h-full w-full", onMouseEnter: handleMouseEnter, onMouseLeave: handleMouseLeave, ...props, xmlns: "http://www.w3.org/2000/svg", width: size, height: size, viewBox: "0 0 24 24", fill: "none", overflow: "visible", children: [
|
|
742
|
+
/* @__PURE__ */ jsx10(motion10.circle, { cx: "12", cy: "12", r: "10", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "inherit", variants: circleVariants, style: { transformOrigin: "12px 12px" }, animate: controls, initial: "normal" }),
|
|
743
|
+
/* @__PURE__ */ jsx10(motion10.path, { d: "M12 12V16", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "inherit", variants: stemVariants, style: { transformOrigin: "12px 16px" }, animate: controls, initial: "normal" }),
|
|
744
|
+
/* @__PURE__ */ jsx10(
|
|
745
|
+
motion10.path,
|
|
746
|
+
{
|
|
747
|
+
d: "M12.125 8.25H12M12.25 8.25C12.25 8.11193 12.1381 8 12 8C11.8619 8 11.75 8.11193 11.75 8.25C11.75 8.38807 11.8619 8.5 12 8.5C12.1381 8.5 12.25 8.38807 12.25 8.25Z",
|
|
748
|
+
stroke: "currentColor",
|
|
749
|
+
strokeLinecap: "round",
|
|
750
|
+
strokeLinejoin: "round",
|
|
751
|
+
strokeWidth: "inherit",
|
|
752
|
+
variants: dotVariants,
|
|
753
|
+
style: { transformOrigin: "12px 8.25px" },
|
|
754
|
+
animate: controls,
|
|
755
|
+
initial: "normal"
|
|
756
|
+
}
|
|
757
|
+
)
|
|
758
|
+
] }) });
|
|
759
|
+
});
|
|
760
|
+
InformationCircleIcon.displayName = "InformationCircleIcon";
|
|
761
|
+
|
|
762
|
+
// src/utils/animated-icons/link-01.tsx
|
|
763
|
+
import { motion as motion11, useAnimation as useAnimation11 } from "motion/react";
|
|
764
|
+
import { forwardRef as forwardRef11 } from "react";
|
|
765
|
+
import { jsx as jsx11, jsxs as jsxs11 } from "react/jsx-runtime";
|
|
766
|
+
var linkVariants = {
|
|
767
|
+
normal: { transform: "rotate(0deg) scale(1)" },
|
|
768
|
+
animate: {
|
|
769
|
+
transform: ["rotate(0deg) scale(1)", "rotate(-3deg) scale(0.97)", "rotate(2deg) scale(1.02)", "rotate(0deg) scale(1)"],
|
|
770
|
+
transition: { duration: 0.5, ease: [0.23, 1, 0.32, 1] }
|
|
771
|
+
}
|
|
772
|
+
};
|
|
773
|
+
var Link01Icon = forwardRef11(({ onMouseEnter, onMouseLeave, className, size = 24, ...props }, ref) => {
|
|
774
|
+
const controls = useAnimation11();
|
|
775
|
+
const { handleMouseEnter, handleMouseLeave } = useIconAnimation({
|
|
776
|
+
controls,
|
|
777
|
+
loops: false,
|
|
778
|
+
onMouseEnter,
|
|
779
|
+
onMouseLeave,
|
|
780
|
+
ref
|
|
781
|
+
});
|
|
782
|
+
return /* @__PURE__ */ jsx11("div", { className: cn("inline-flex", className), style: { strokeWidth: 1.5 }, "data-hugeicons-animated": "true", children: /* @__PURE__ */ jsx11("svg", { onMouseEnter: handleMouseEnter, onMouseLeave: handleMouseLeave, ...props, className: "h-full w-full", xmlns: "http://www.w3.org/2000/svg", width: size, height: size, viewBox: "0 0 24 24", fill: "none", overflow: "visible", children: /* @__PURE__ */ jsxs11(motion11.g, { variants: linkVariants, animate: controls, initial: "normal", style: { transformOrigin: "12px 12px" }, children: [
|
|
783
|
+
/* @__PURE__ */ jsx11(
|
|
784
|
+
"path",
|
|
785
|
+
{
|
|
786
|
+
d: "M9.14339 10.691L9.35031 10.4841C11.329 8.50532 14.5372 8.50532 16.5159 10.4841C18.4947 12.4628 18.4947 15.671 16.5159 17.6497L13.6497 20.5159C11.671 22.4947 8.46279 22.4947 6.48405 20.5159C4.50532 18.5372 4.50532 15.329 6.48405 13.3503L6.9484 12.886",
|
|
787
|
+
stroke: "currentColor",
|
|
788
|
+
strokeLinecap: "round",
|
|
789
|
+
strokeWidth: "inherit"
|
|
790
|
+
}
|
|
791
|
+
),
|
|
792
|
+
/* @__PURE__ */ jsx11(
|
|
793
|
+
"path",
|
|
794
|
+
{
|
|
795
|
+
d: "M17.0516 11.114L17.5159 10.6497C19.4947 8.67095 19.4947 5.46279 17.5159 3.48405C15.5372 1.50532 12.329 1.50532 10.3503 3.48405L7.48405 6.35031C5.50532 8.32904 5.50532 11.5372 7.48405 13.5159C9.46279 15.4947 12.671 15.4947 14.6497 13.5159L14.8566 13.309",
|
|
796
|
+
stroke: "currentColor",
|
|
797
|
+
strokeLinecap: "round",
|
|
798
|
+
strokeWidth: "inherit"
|
|
799
|
+
}
|
|
800
|
+
)
|
|
801
|
+
] }) }) });
|
|
802
|
+
});
|
|
803
|
+
Link01Icon.displayName = "Link01Icon";
|
|
804
|
+
|
|
805
|
+
// src/utils/animated-icons/mail-01.tsx
|
|
806
|
+
import { motion as motion12, useAnimation as useAnimation12 } from "motion/react";
|
|
807
|
+
import { forwardRef as forwardRef12, useId as useId2 } from "react";
|
|
808
|
+
import { jsx as jsx12, jsxs as jsxs12 } from "react/jsx-runtime";
|
|
809
|
+
var MAIL_CLOSED = "M2 6L8.91302 9.91697C11.4616 11.361 12.5384 11.361 15.087 9.91697L22 6";
|
|
810
|
+
var MAIL_EDGE_ON = "M2 6L8.91302 6.55C11.4616 6.8 12.5384 6.8 15.087 6.55L22 6";
|
|
811
|
+
var MAIL_OPEN = "M2 6L8.91302 1.6C11.4616 -0.05 12.5384 -0.05 15.087 1.6L22 6";
|
|
812
|
+
var MAIL_OPEN_OVERSHOOT = "M2 6L8.91302 1.25C11.4616 -0.45 12.5384 -0.45 15.087 1.25L22 6";
|
|
813
|
+
var MAIL_CLOSED_OVERSHOOT = "M2 6L8.91302 10.15C11.4616 11.65 12.5384 11.65 15.087 10.15L22 6";
|
|
814
|
+
var MAIL_REAR_EDGE = "M3.24496 4.79066C4.37608 3.65523 5.95033 3.61568 9.09882 3.53656C11.0393 3.48781 12.9607 3.48781 14.9012 3.53657C18.0497 3.61568 19.6239 3.65523 20.7551 4.79066";
|
|
815
|
+
var MAIL_ENTRY_LINE = "M5.2 7.4C8.7 9.1 15.3 9.1 18.8 7.4";
|
|
816
|
+
var flapVariants = {
|
|
817
|
+
normal: { d: MAIL_CLOSED },
|
|
818
|
+
animate: {
|
|
819
|
+
d: [MAIL_CLOSED, MAIL_EDGE_ON, MAIL_OPEN, MAIL_OPEN_OVERSHOOT, MAIL_OPEN, MAIL_OPEN, MAIL_EDGE_ON, MAIL_CLOSED_OVERSHOOT, MAIL_CLOSED],
|
|
820
|
+
transition: {
|
|
821
|
+
duration: 0.94,
|
|
822
|
+
ease: [0.77, 0, 0.175, 1],
|
|
823
|
+
times: [0, 0.13, 0.28, 0.38, 0.5, 0.62, 0.76, 0.9, 1]
|
|
824
|
+
}
|
|
825
|
+
}
|
|
826
|
+
};
|
|
827
|
+
var bodyVariants = {
|
|
828
|
+
normal: { transform: "translateY(0px) scaleX(1) scaleY(1)" },
|
|
829
|
+
animate: {
|
|
830
|
+
transform: [
|
|
831
|
+
"translateY(0px) scaleX(1) scaleY(1)",
|
|
832
|
+
"translateY(0px) scaleX(1) scaleY(1)",
|
|
833
|
+
"translateY(0.12px) scaleX(1.008) scaleY(0.992)",
|
|
834
|
+
"translateY(0.45px) scaleX(1.035) scaleY(0.958)",
|
|
835
|
+
"translateY(-0.32px) scaleX(0.985) scaleY(1.022)",
|
|
836
|
+
"translateY(0.12px) scaleX(1.008) scaleY(0.994)",
|
|
837
|
+
"translateY(0px) scaleX(1) scaleY(1)"
|
|
838
|
+
],
|
|
839
|
+
transition: {
|
|
840
|
+
duration: 0.94,
|
|
841
|
+
ease: [0.23, 1, 0.32, 1],
|
|
842
|
+
times: [0, 0.28, 0.38, 0.5, 0.68, 0.84, 1]
|
|
843
|
+
}
|
|
844
|
+
}
|
|
845
|
+
};
|
|
846
|
+
var generatedGeometryVariants4 = {
|
|
847
|
+
normal: { visibility: "hidden" },
|
|
848
|
+
animate: {
|
|
849
|
+
visibility: ["hidden", "hidden", "visible", "visible", "hidden", "hidden"],
|
|
850
|
+
transition: {
|
|
851
|
+
duration: 0.94,
|
|
852
|
+
ease: "linear",
|
|
853
|
+
times: [0, 0.26, 0.27, 0.66, 0.67, 1]
|
|
854
|
+
}
|
|
855
|
+
}
|
|
856
|
+
};
|
|
857
|
+
var Mail01Icon = forwardRef12(({ onMouseEnter, onMouseLeave, className, size = 24, ...props }, ref) => {
|
|
858
|
+
const controls = useAnimation12();
|
|
859
|
+
const maskId = `mail-rear-edge-${useId2().replaceAll(":", "")}`;
|
|
860
|
+
const flapMaskId = `mail-flap-${useId2().replaceAll(":", "")}`;
|
|
861
|
+
const { handleMouseEnter, handleMouseLeave } = useIconAnimation({
|
|
862
|
+
controls,
|
|
863
|
+
loops: false,
|
|
864
|
+
onMouseEnter,
|
|
865
|
+
onMouseLeave,
|
|
866
|
+
ref
|
|
867
|
+
});
|
|
868
|
+
return /* @__PURE__ */ jsx12("div", { "data-hugeicons-animated": "true", className: cn("inline-flex", className), style: { strokeWidth: 1.5 }, children: /* @__PURE__ */ jsxs12("svg", { className: "h-full w-full", onMouseEnter: handleMouseEnter, onMouseLeave: handleMouseLeave, ...props, xmlns: "http://www.w3.org/2000/svg", width: size, height: size, viewBox: "0 0 24 24", fill: "none", overflow: "visible", children: [
|
|
869
|
+
/* @__PURE__ */ jsxs12("defs", { children: [
|
|
870
|
+
/* @__PURE__ */ jsxs12("mask", { id: maskId, x: "0", y: "0", width: "24", height: "24", maskUnits: "userSpaceOnUse", children: [
|
|
871
|
+
/* @__PURE__ */ jsx12("rect", { width: "24", height: "24", fill: "white" }),
|
|
872
|
+
/* @__PURE__ */ jsx12(motion12.g, { variants: generatedGeometryVariants4, animate: controls, initial: "normal", children: /* @__PURE__ */ jsx12("path", { d: MAIL_REAR_EDGE, stroke: "black", strokeLinecap: "round", strokeWidth: "2.2" }) })
|
|
873
|
+
] }),
|
|
874
|
+
/* @__PURE__ */ jsxs12("mask", { id: flapMaskId, x: "0", y: "0", width: "24", height: "24", maskUnits: "userSpaceOnUse", children: [
|
|
875
|
+
/* @__PURE__ */ jsx12("rect", { width: "24", height: "24", fill: "white" }),
|
|
876
|
+
/* @__PURE__ */ jsx12(motion12.path, { d: MAIL_CLOSED, fill: "black", variants: flapVariants, animate: controls, initial: "normal" })
|
|
877
|
+
] })
|
|
878
|
+
] }),
|
|
879
|
+
/* @__PURE__ */ jsx12(motion12.path, { d: "M2 6L8.91302 9.91697C11.4616 11.361 12.5384 11.361 15.087 9.91697L22 6", stroke: "currentColor", strokeLinejoin: "round", strokeWidth: "inherit", variants: flapVariants, animate: controls, initial: "normal" }),
|
|
880
|
+
/* @__PURE__ */ jsxs12(motion12.g, { variants: bodyVariants, animate: controls, initial: "normal", style: { transformOrigin: "12px 12px" }, children: [
|
|
881
|
+
/* @__PURE__ */ jsx12(
|
|
882
|
+
"path",
|
|
883
|
+
{
|
|
884
|
+
d: "M2.01577 13.4756C2.08114 16.5412 2.11383 18.0739 3.24496 19.2094C4.37608 20.3448 5.95033 20.3843 9.09883 20.4634C11.0393 20.5122 12.9607 20.5122 14.9012 20.4634C18.0497 20.3843 19.6239 20.3448 20.7551 19.2094C21.8862 18.0739 21.9189 16.5412 21.9842 13.4756C22.0053 12.4899 22.0053 11.5101 21.9842 10.5244C21.9189 7.45886 21.8862 5.92609 20.7551 4.79066C19.6239 3.65523 18.0497 3.61568 14.9012 3.53657C12.9607 3.48781 11.0393 3.48781 9.09882 3.53656C5.95033 3.61566 4.37608 3.65521 3.24495 4.79065C2.11382 5.92608 2.08114 7.45885 2.01576 10.5244C1.99474 11.5101 1.99475 12.4899 2.01577 13.4756Z",
|
|
885
|
+
stroke: "currentColor",
|
|
886
|
+
strokeLinecap: "round",
|
|
887
|
+
strokeLinejoin: "round",
|
|
888
|
+
strokeWidth: "inherit",
|
|
889
|
+
mask: `url(#${maskId})`
|
|
890
|
+
}
|
|
891
|
+
),
|
|
892
|
+
/* @__PURE__ */ jsx12("path", { d: MAIL_ENTRY_LINE, stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "inherit", mask: `url(#${flapMaskId})` })
|
|
893
|
+
] })
|
|
894
|
+
] }) });
|
|
895
|
+
});
|
|
896
|
+
Mail01Icon.displayName = "Mail01Icon";
|
|
897
|
+
|
|
898
|
+
// src/utils/animated-icons/message-01.tsx
|
|
899
|
+
import { motion as motion13, useAnimation as useAnimation13 } from "motion/react";
|
|
900
|
+
import { forwardRef as forwardRef13 } from "react";
|
|
901
|
+
import { jsx as jsx13, jsxs as jsxs13 } from "react/jsx-runtime";
|
|
902
|
+
var bubbleVariants = {
|
|
903
|
+
normal: { scale: 1, transition: { duration: 0.3, ease: "easeOut" } },
|
|
904
|
+
animate: {
|
|
905
|
+
scale: [0.85, 1.04, 1],
|
|
906
|
+
transition: { duration: 0.4, ease: "easeOut", times: [0, 0.7, 1] }
|
|
907
|
+
}
|
|
908
|
+
};
|
|
909
|
+
var textVariants = {
|
|
910
|
+
normal: { pathLength: 1, visibility: "visible" },
|
|
911
|
+
animate: {
|
|
912
|
+
pathLength: [0, 1],
|
|
913
|
+
visibility: "visible",
|
|
914
|
+
transition: { duration: 0.4, ease: "easeOut", delay: 0.3 }
|
|
915
|
+
}
|
|
916
|
+
};
|
|
917
|
+
var Message01Icon = forwardRef13(({ onMouseEnter, onMouseLeave, className, size = 24, ...props }, ref) => {
|
|
918
|
+
const controls = useAnimation13();
|
|
919
|
+
const { handleMouseEnter, handleMouseLeave } = useIconAnimation({
|
|
920
|
+
controls,
|
|
921
|
+
loops: false,
|
|
922
|
+
onMouseEnter,
|
|
923
|
+
onMouseLeave,
|
|
924
|
+
ref
|
|
925
|
+
});
|
|
926
|
+
return /* @__PURE__ */ jsx13("div", { "data-hugeicons-animated": "true", className: cn("inline-flex", className), style: { strokeWidth: 1.5 }, children: /* @__PURE__ */ jsxs13("svg", { className: "h-full w-full", onMouseEnter: handleMouseEnter, onMouseLeave: handleMouseLeave, ...props, xmlns: "http://www.w3.org/2000/svg", width: size, height: size, viewBox: "0 0 24 24", fill: "none", overflow: "visible", children: [
|
|
927
|
+
/* @__PURE__ */ jsx13(motion13.path, { d: "M8.5 14.5H15.5M8.5 9.5H12", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "inherit", variants: textVariants, animate: controls, initial: "normal" }),
|
|
928
|
+
/* @__PURE__ */ jsx13(
|
|
929
|
+
motion13.path,
|
|
930
|
+
{
|
|
931
|
+
d: "M14.1706 20.8905C18.3536 20.6125 21.6856 17.2332 21.9598 12.9909C22.0134 12.1607 22.0134 11.3009 21.9598 10.4707C21.6856 6.22838 18.3536 2.84913 14.1706 2.57107C12.7435 2.47621 11.2536 2.47641 9.8294 2.57107C5.64639 2.84913 2.31441 6.22838 2.04024 10.4707C1.98659 11.3009 1.98659 12.1607 2.04024 12.9909C2.1401 14.536 2.82343 15.9666 3.62791 17.1746C4.09501 18.0203 3.78674 19.0758 3.30021 19.9978C2.94941 20.6626 2.77401 20.995 2.91484 21.2351C3.05568 21.4752 3.37026 21.4829 3.99943 21.4982C5.24367 21.5285 6.08268 21.1757 6.74868 20.6846C7.1264 20.4061 7.31527 20.2668 7.44544 20.2508C7.5756 20.2348 7.83177 20.3403 8.34401 20.5513C8.8044 20.7409 9.33896 20.8579 9.8294 20.8905C11.2536 20.9852 12.7435 20.9854 14.1706 20.8905Z",
|
|
932
|
+
stroke: "currentColor",
|
|
933
|
+
strokeLinejoin: "round",
|
|
934
|
+
strokeWidth: "inherit",
|
|
935
|
+
variants: bubbleVariants,
|
|
936
|
+
animate: controls,
|
|
937
|
+
initial: "normal",
|
|
938
|
+
style: { transformBox: "fill-box", transformOrigin: "10% 97%" }
|
|
939
|
+
}
|
|
940
|
+
)
|
|
941
|
+
] }) });
|
|
942
|
+
});
|
|
943
|
+
Message01Icon.displayName = "Message01Icon";
|
|
944
|
+
|
|
945
|
+
// src/utils/animated-icons/mic-01.tsx
|
|
946
|
+
import { motion as motion14, useAnimation as useAnimation14 } from "motion/react";
|
|
947
|
+
import { forwardRef as forwardRef14 } from "react";
|
|
948
|
+
import { jsx as jsx14, jsxs as jsxs14 } from "react/jsx-runtime";
|
|
949
|
+
var grilleBaseVariants = {
|
|
950
|
+
normal: { visibility: "visible", transition: { duration: 0.3, delay: 0.1 } },
|
|
951
|
+
animate: { visibility: "hidden", transition: { duration: 0.15 } }
|
|
952
|
+
};
|
|
953
|
+
var grilleBarVariants = {
|
|
954
|
+
normal: { pathLength: 1, visibility: "hidden", transition: { duration: 0.15 } },
|
|
955
|
+
animate: (i) => ({
|
|
956
|
+
visibility: "visible",
|
|
957
|
+
pathLength: [1, 0.3, 1],
|
|
958
|
+
transition: {
|
|
959
|
+
duration: 1 + i * 0.2,
|
|
960
|
+
ease: "easeInOut",
|
|
961
|
+
repeat: Infinity,
|
|
962
|
+
delay: i * 0.25
|
|
963
|
+
}
|
|
964
|
+
})
|
|
965
|
+
};
|
|
966
|
+
var waveVariants = {
|
|
967
|
+
normal: { visibility: "hidden", transition: { duration: 0.15 } },
|
|
968
|
+
animate: (c) => ({
|
|
969
|
+
visibility: ["hidden", "visible", "hidden"],
|
|
970
|
+
translateX: [0, c[0] * 1.6],
|
|
971
|
+
transition: {
|
|
972
|
+
duration: 1.2,
|
|
973
|
+
ease: "easeOut",
|
|
974
|
+
repeat: Infinity,
|
|
975
|
+
delay: c[1]
|
|
976
|
+
}
|
|
977
|
+
})
|
|
978
|
+
};
|
|
979
|
+
var generatedGeometryVariants5 = {
|
|
980
|
+
normal: { visibility: "hidden", transition: { duration: 0.08 } },
|
|
981
|
+
animate: { visibility: "visible", transition: { duration: 0.08 } }
|
|
982
|
+
};
|
|
983
|
+
var Mic01Icon = forwardRef14(({ onMouseEnter, onMouseLeave, className, size = 24, ...props }, ref) => {
|
|
984
|
+
const controls = useAnimation14();
|
|
985
|
+
const { handleMouseEnter, handleMouseLeave } = useIconAnimation({
|
|
986
|
+
controls,
|
|
987
|
+
loops: true,
|
|
988
|
+
onMouseEnter,
|
|
989
|
+
onMouseLeave,
|
|
990
|
+
ref
|
|
991
|
+
});
|
|
992
|
+
return /* @__PURE__ */ jsx14("div", { "data-hugeicons-animated": "true", className: cn("inline-flex", className), style: { strokeWidth: 1.5 }, children: /* @__PURE__ */ jsxs14("svg", { className: "h-full w-full", onMouseEnter: handleMouseEnter, onMouseLeave: handleMouseLeave, ...props, xmlns: "http://www.w3.org/2000/svg", width: size, height: size, viewBox: "0 0 24 24", fill: "none", overflow: "visible", children: [
|
|
993
|
+
/* @__PURE__ */ jsx14("path", { d: "M17 7V11C17 13.7614 14.7614 16 12 16C9.23858 16 7 13.7614 7 11V7C7 4.23858 9.23858 2 12 2C14.7614 2 17 4.23858 17 7Z", stroke: "currentColor", strokeWidth: "inherit" }),
|
|
994
|
+
/* @__PURE__ */ jsx14(motion14.path, { d: "M17 7H14M17 11H14", stroke: "currentColor", strokeLinecap: "round", strokeWidth: "inherit", variants: grilleBaseVariants, animate: controls, initial: "normal" }),
|
|
995
|
+
/* @__PURE__ */ jsx14("path", { d: "M20 11C20 15.4183 16.4183 19 12 19M12 19C7.58172 19 4 15.4183 4 11M12 19V22M12 22H15M12 22H9", stroke: "currentColor", strokeLinecap: "round", strokeWidth: "inherit" }),
|
|
996
|
+
/* @__PURE__ */ jsxs14(motion14.g, { variants: generatedGeometryVariants5, animate: controls, initial: "normal", children: [
|
|
997
|
+
/* @__PURE__ */ jsx14(motion14.path, { d: "M17 7H14", stroke: "currentColor", strokeLinecap: "round", strokeWidth: "inherit", variants: grilleBarVariants, custom: 0, animate: controls, initial: "normal" }),
|
|
998
|
+
/* @__PURE__ */ jsx14(motion14.path, { d: "M17 11H14", stroke: "currentColor", strokeLinecap: "round", strokeWidth: "inherit", variants: grilleBarVariants, custom: 1, animate: controls, initial: "normal" }),
|
|
999
|
+
/* @__PURE__ */ jsx14(motion14.path, { d: "M4.8 3.2C3.9 4.4 3.4 5.9 3.4 7.5", stroke: "currentColor", strokeLinecap: "round", strokeWidth: "inherit", variants: waveVariants, custom: [-1, 0], animate: controls, initial: "normal" }),
|
|
1000
|
+
/* @__PURE__ */ jsx14(motion14.path, { d: "M19.2 3.2C20.1 4.4 20.6 5.9 20.6 7.5", stroke: "currentColor", strokeLinecap: "round", strokeWidth: "inherit", variants: waveVariants, custom: [1, 0], animate: controls, initial: "normal" }),
|
|
1001
|
+
/* @__PURE__ */ jsx14(motion14.path, { d: "M2.6 1.4C1.5 2.9 0.9 4.9 0.9 7", stroke: "currentColor", strokeLinecap: "round", strokeWidth: "inherit", variants: waveVariants, custom: [-1, 0.35], animate: controls, initial: "normal" }),
|
|
1002
|
+
/* @__PURE__ */ jsx14(motion14.path, { d: "M21.4 1.4C22.5 2.9 23.1 4.9 23.1 7", stroke: "currentColor", strokeLinecap: "round", strokeWidth: "inherit", variants: waveVariants, custom: [1, 0.35], animate: controls, initial: "normal" })
|
|
1003
|
+
] })
|
|
1004
|
+
] }) });
|
|
1005
|
+
});
|
|
1006
|
+
Mic01Icon.displayName = "Mic01Icon";
|
|
1007
|
+
|
|
1008
|
+
// src/utils/animated-icons/moon-02.tsx
|
|
1009
|
+
import { motion as motion15, useAnimation as useAnimation15 } from "motion/react";
|
|
1010
|
+
import { forwardRef as forwardRef15 } from "react";
|
|
1011
|
+
import { jsx as jsx15, jsxs as jsxs15 } from "react/jsx-runtime";
|
|
1012
|
+
var starVariants = {
|
|
1013
|
+
normal: {
|
|
1014
|
+
visibility: "hidden",
|
|
1015
|
+
transform: "scale(0.55)",
|
|
1016
|
+
transition: { duration: 0.12, ease: [0.23, 1, 0.32, 1] }
|
|
1017
|
+
},
|
|
1018
|
+
animate: (i) => ({
|
|
1019
|
+
visibility: ["hidden", "visible", "visible", "visible", "hidden"],
|
|
1020
|
+
transform: ["scale(0.55)", "scale(1)", "scale(0.78)", "scale(1)", "scale(0.55)"],
|
|
1021
|
+
transition: {
|
|
1022
|
+
duration: 1.3,
|
|
1023
|
+
ease: [0.77, 0, 0.175, 1],
|
|
1024
|
+
repeat: Infinity,
|
|
1025
|
+
delay: i * 0.24
|
|
1026
|
+
}
|
|
1027
|
+
})
|
|
1028
|
+
};
|
|
1029
|
+
var generatedGeometryVariants6 = {
|
|
1030
|
+
normal: { visibility: "hidden", transition: { duration: 0.08 } },
|
|
1031
|
+
animate: { visibility: "visible", transition: { duration: 0.08 } }
|
|
1032
|
+
};
|
|
1033
|
+
var Moon02Icon = forwardRef15(({ onMouseEnter, onMouseLeave, className, size = 24, ...props }, ref) => {
|
|
1034
|
+
const controls = useAnimation15();
|
|
1035
|
+
const { handleMouseEnter, handleMouseLeave } = useIconAnimation({
|
|
1036
|
+
controls,
|
|
1037
|
+
loops: true,
|
|
1038
|
+
onMouseEnter,
|
|
1039
|
+
onMouseLeave,
|
|
1040
|
+
ref
|
|
1041
|
+
});
|
|
1042
|
+
return /* @__PURE__ */ jsx15("div", { "data-hugeicons-animated": "true", className: cn("inline-flex", className), style: { strokeWidth: 1.5 }, children: /* @__PURE__ */ jsxs15("svg", { className: "h-full w-full", onMouseEnter: handleMouseEnter, onMouseLeave: handleMouseLeave, ...props, xmlns: "http://www.w3.org/2000/svg", width: size, height: size, viewBox: "0 0 24 24", fill: "none", overflow: "visible", children: [
|
|
1043
|
+
/* @__PURE__ */ jsx15(
|
|
1044
|
+
"path",
|
|
1045
|
+
{
|
|
1046
|
+
d: "M21.5 14.0784C20.3003 14.7189 18.9301 15.0821 17.4751 15.0821C12.7491 15.0821 8.91792 11.2509 8.91792 6.52485C8.91792 5.06986 9.28105 3.69968 9.92163 2.5C5.66765 3.49698 2.5 7.31513 2.5 11.8731C2.5 17.1899 6.8101 21.5 12.1269 21.5C16.6849 21.5 20.503 18.3324 21.5 14.0784Z",
|
|
1047
|
+
stroke: "currentColor",
|
|
1048
|
+
strokeLinecap: "round",
|
|
1049
|
+
strokeLinejoin: "round",
|
|
1050
|
+
strokeWidth: "inherit"
|
|
1051
|
+
}
|
|
1052
|
+
),
|
|
1053
|
+
/* @__PURE__ */ jsxs15(motion15.g, { variants: generatedGeometryVariants6, animate: controls, initial: "normal", children: [
|
|
1054
|
+
/* @__PURE__ */ jsx15(motion15.path, { d: "M17.5 4.2V6.2M16.5 5.2H18.5", stroke: "currentColor", strokeLinecap: "round", strokeWidth: "1", variants: starVariants, custom: 0, animate: controls, initial: "normal", style: { transformOrigin: "17.5px 5.2px" } }),
|
|
1055
|
+
/* @__PURE__ */ jsx15(motion15.circle, { cx: "14.5", cy: "8.5", r: "0.6", fill: "currentColor", variants: starVariants, custom: 1, animate: controls, initial: "normal", style: { transformOrigin: "14.5px 8.5px" } }),
|
|
1056
|
+
/* @__PURE__ */ jsx15(motion15.path, { d: "M19.3 8.25V9.75M18.55 9H20.05", stroke: "currentColor", strokeLinecap: "round", strokeWidth: "0.9", variants: starVariants, custom: 2, animate: controls, initial: "normal", style: { transformOrigin: "19.3px 9px" } })
|
|
1057
|
+
] })
|
|
1058
|
+
] }) });
|
|
1059
|
+
});
|
|
1060
|
+
Moon02Icon.displayName = "Moon02Icon";
|
|
1061
|
+
|
|
1062
|
+
// src/utils/animated-icons/more-horizontal.tsx
|
|
1063
|
+
import { motion as motion16, useAnimation as useAnimation16 } from "motion/react";
|
|
1064
|
+
import { forwardRef as forwardRef16 } from "react";
|
|
1065
|
+
import { jsx as jsx16 } from "react/jsx-runtime";
|
|
1066
|
+
var dotVariants2 = {
|
|
1067
|
+
normal: { translateY: 0, scale: 1 },
|
|
1068
|
+
animate: (i) => ({
|
|
1069
|
+
translateY: [0, -1.5, 0.35, 0],
|
|
1070
|
+
scale: [1, 1.2, 0.95, 1],
|
|
1071
|
+
transition: { duration: 0.42, ease: "easeOut", delay: i * 0.08 }
|
|
1072
|
+
})
|
|
1073
|
+
};
|
|
1074
|
+
var DOT_CENTERS = [6, 12, 18];
|
|
1075
|
+
var MoreHorizontalIcon = forwardRef16(({ onMouseEnter, onMouseLeave, className, size = 24, ...props }, ref) => {
|
|
1076
|
+
const controls = useAnimation16();
|
|
1077
|
+
const { handleMouseEnter, handleMouseLeave } = useIconAnimation({
|
|
1078
|
+
controls,
|
|
1079
|
+
onMouseEnter,
|
|
1080
|
+
onMouseLeave,
|
|
1081
|
+
ref
|
|
1082
|
+
});
|
|
1083
|
+
return /* @__PURE__ */ jsx16("div", { "data-hugeicons-animated": "true", className: cn("inline-flex", className), style: { strokeWidth: 1.5 }, children: /* @__PURE__ */ jsx16("svg", { className: "h-full w-full", onMouseEnter: handleMouseEnter, onMouseLeave: handleMouseLeave, ...props, xmlns: "http://www.w3.org/2000/svg", width: size, height: size, viewBox: "0 0 24 24", fill: "none", overflow: "visible", children: DOT_CENTERS.map((cx, index) => /* @__PURE__ */ jsx16(motion16.circle, { cx, cy: "12", r: "1.25", fill: "currentColor", variants: dotVariants2, custom: index, animate: controls, initial: "normal", style: { transformOrigin: `${cx}px 12px` } }, cx)) }) });
|
|
1084
|
+
});
|
|
1085
|
+
MoreHorizontalIcon.displayName = "MoreHorizontalIcon";
|
|
1086
|
+
|
|
1087
|
+
// src/utils/animated-icons/more-vertical.tsx
|
|
1088
|
+
import { motion as motion17, useAnimation as useAnimation17 } from "motion/react";
|
|
1089
|
+
import { forwardRef as forwardRef17 } from "react";
|
|
1090
|
+
import { jsx as jsx17 } from "react/jsx-runtime";
|
|
1091
|
+
var dotVariants3 = {
|
|
1092
|
+
normal: { translateX: 0, scale: 1 },
|
|
1093
|
+
animate: (i) => ({
|
|
1094
|
+
translateX: [0, 1.5, -0.35, 0],
|
|
1095
|
+
scale: [1, 1.2, 0.95, 1],
|
|
1096
|
+
transition: { duration: 0.42, ease: "easeOut", delay: i * 0.08 }
|
|
1097
|
+
})
|
|
1098
|
+
};
|
|
1099
|
+
var DOT_CENTERS2 = [6, 12, 18];
|
|
1100
|
+
var MoreVerticalIcon = forwardRef17(({ onMouseEnter, onMouseLeave, className, size = 24, ...props }, ref) => {
|
|
1101
|
+
const controls = useAnimation17();
|
|
1102
|
+
const { handleMouseEnter, handleMouseLeave } = useIconAnimation({
|
|
1103
|
+
controls,
|
|
1104
|
+
onMouseEnter,
|
|
1105
|
+
onMouseLeave,
|
|
1106
|
+
ref
|
|
1107
|
+
});
|
|
1108
|
+
return /* @__PURE__ */ jsx17("div", { "data-hugeicons-animated": "true", className: cn("inline-flex", className), style: { strokeWidth: 1.5 }, children: /* @__PURE__ */ jsx17("svg", { className: "h-full w-full", onMouseEnter: handleMouseEnter, onMouseLeave: handleMouseLeave, ...props, xmlns: "http://www.w3.org/2000/svg", width: size, height: size, viewBox: "0 0 24 24", fill: "none", overflow: "visible", children: DOT_CENTERS2.map((cy, index) => /* @__PURE__ */ jsx17(motion17.circle, { cx: "12", cy, r: "1.25", fill: "currentColor", variants: dotVariants3, custom: index, animate: controls, initial: "normal", style: { transformOrigin: `12px ${cy}px` } }, cy)) }) });
|
|
1109
|
+
});
|
|
1110
|
+
MoreVerticalIcon.displayName = "MoreVerticalIcon";
|
|
1111
|
+
|
|
1112
|
+
// src/utils/animated-icons/pause.tsx
|
|
1113
|
+
import { motion as motion18, useAnimation as useAnimation18 } from "motion/react";
|
|
1114
|
+
import { forwardRef as forwardRef18 } from "react";
|
|
1115
|
+
import { jsx as jsx18, jsxs as jsxs16 } from "react/jsx-runtime";
|
|
1116
|
+
var PAUSE_DURATION = 0.52;
|
|
1117
|
+
var PAUSE_TIMES = [0, 0.22, 0.5, 0.76, 1];
|
|
1118
|
+
var pauseBarVariants = {
|
|
1119
|
+
normal: {
|
|
1120
|
+
transform: "translate(0px, 0px) scaleY(1)",
|
|
1121
|
+
transition: { duration: 0.18, ease: [0.23, 1, 0.32, 1] }
|
|
1122
|
+
},
|
|
1123
|
+
animate: (i) => {
|
|
1124
|
+
const direction = i === 0 ? 1 : -1;
|
|
1125
|
+
return {
|
|
1126
|
+
transform: ["translate(0px, 0px) scaleY(1)", `translate(${direction * 0.8}px, 0.65px) scaleY(0.91)`, `translate(${direction * -0.55}px, -0.35px) scaleY(1.045)`, `translate(${direction * 0.14}px, 0px) scaleY(0.99)`, "translate(0px, 0px) scaleY(1)"],
|
|
1127
|
+
transition: {
|
|
1128
|
+
duration: PAUSE_DURATION,
|
|
1129
|
+
times: PAUSE_TIMES,
|
|
1130
|
+
ease: [0.77, 0, 0.175, 1]
|
|
1131
|
+
}
|
|
1132
|
+
};
|
|
1133
|
+
}
|
|
1134
|
+
};
|
|
1135
|
+
var PauseIcon = forwardRef18(({ onMouseEnter, onMouseLeave, className, size = 24, ...props }, ref) => {
|
|
1136
|
+
const controls = useAnimation18();
|
|
1137
|
+
const { handleMouseEnter, handleMouseLeave } = useIconAnimation({
|
|
1138
|
+
controls,
|
|
1139
|
+
loops: false,
|
|
1140
|
+
onMouseEnter,
|
|
1141
|
+
onMouseLeave,
|
|
1142
|
+
ref
|
|
1143
|
+
});
|
|
1144
|
+
return /* @__PURE__ */ jsx18("div", { "data-hugeicons-animated": "true", className: cn("inline-flex", className), style: { strokeWidth: 1.5 }, children: /* @__PURE__ */ jsxs16("svg", { className: "h-full w-full", onMouseEnter: handleMouseEnter, onMouseLeave: handleMouseLeave, ...props, xmlns: "http://www.w3.org/2000/svg", width: size, height: size, viewBox: "0 0 24 24", fill: "none", overflow: "visible", children: [
|
|
1145
|
+
/* @__PURE__ */ jsx18(
|
|
1146
|
+
motion18.path,
|
|
1147
|
+
{
|
|
1148
|
+
d: "M4 7C4 5.58579 4 4.87868 4.43934 4.43934C4.87868 4 5.58579 4 7 4C8.41421 4 9.12132 4 9.56066 4.43934C10 4.87868 10 5.58579 10 7V17C10 18.4142 10 19.1213 9.56066 19.5607C9.12132 20 8.41421 20 7 20C5.58579 20 4.87868 20 4.43934 19.5607C4 19.1213 4 18.4142 4 17V7Z",
|
|
1149
|
+
stroke: "currentColor",
|
|
1150
|
+
strokeWidth: "inherit",
|
|
1151
|
+
variants: pauseBarVariants,
|
|
1152
|
+
custom: 0,
|
|
1153
|
+
animate: controls,
|
|
1154
|
+
initial: "normal",
|
|
1155
|
+
style: { transformOrigin: "7px 12px" }
|
|
1156
|
+
}
|
|
1157
|
+
),
|
|
1158
|
+
/* @__PURE__ */ jsx18(
|
|
1159
|
+
motion18.path,
|
|
1160
|
+
{
|
|
1161
|
+
d: "M14 7C14 5.58579 14 4.87868 14.4393 4.43934C14.8787 4 15.5858 4 17 4C18.4142 4 19.1213 4 19.5607 4.43934C20 4.87868 20 5.58579 20 7V17C20 18.4142 20 19.1213 19.5607 19.5607C19.1213 20 18.4142 20 17 20C15.5858 20 14.8787 20 14.4393 19.5607C14 19.1213 14 18.4142 14 17V7Z",
|
|
1162
|
+
stroke: "currentColor",
|
|
1163
|
+
strokeWidth: "inherit",
|
|
1164
|
+
variants: pauseBarVariants,
|
|
1165
|
+
custom: 1,
|
|
1166
|
+
animate: controls,
|
|
1167
|
+
initial: "normal",
|
|
1168
|
+
style: { transformOrigin: "17px 12px" }
|
|
1169
|
+
}
|
|
1170
|
+
)
|
|
1171
|
+
] }) });
|
|
1172
|
+
});
|
|
1173
|
+
PauseIcon.displayName = "PauseIcon";
|
|
1174
|
+
|
|
1175
|
+
// src/utils/animated-icons/pin.tsx
|
|
1176
|
+
import { motion as motion19, useAnimation as useAnimation19 } from "motion/react";
|
|
1177
|
+
import { forwardRef as forwardRef19 } from "react";
|
|
1178
|
+
import { jsx as jsx19, jsxs as jsxs17 } from "react/jsx-runtime";
|
|
1179
|
+
var pinVariants = {
|
|
1180
|
+
normal: { transform: "translate(0px, 0px) rotate(0deg)" },
|
|
1181
|
+
animate: {
|
|
1182
|
+
transform: ["translate(0px, 0px) rotate(0deg)", "translate(-0.8px, 0.8px) rotate(-2deg)", "translate(0.3px, -0.3px) rotate(0.8deg)", "translate(0px, 0px) rotate(0deg)"],
|
|
1183
|
+
transition: { duration: 0.5, ease: [0.23, 1, 0.32, 1] }
|
|
1184
|
+
}
|
|
1185
|
+
};
|
|
1186
|
+
var PinIcon = forwardRef19(({ onMouseEnter, onMouseLeave, className, size = 24, ...props }, ref) => {
|
|
1187
|
+
const controls = useAnimation19();
|
|
1188
|
+
const { handleMouseEnter, handleMouseLeave } = useIconAnimation({
|
|
1189
|
+
controls,
|
|
1190
|
+
onMouseEnter,
|
|
1191
|
+
onMouseLeave,
|
|
1192
|
+
ref
|
|
1193
|
+
});
|
|
1194
|
+
return /* @__PURE__ */ jsx19("div", { "data-hugeicons-animated": "true", className: cn("inline-flex", className), style: { strokeWidth: 1.5 }, children: /* @__PURE__ */ jsx19("svg", { className: "h-full w-full", onMouseEnter: handleMouseEnter, onMouseLeave: handleMouseLeave, ...props, xmlns: "http://www.w3.org/2000/svg", width: size, height: size, viewBox: "0 0 24 24", fill: "none", overflow: "visible", children: /* @__PURE__ */ jsxs17(motion19.g, { variants: pinVariants, animate: controls, initial: "normal", style: { transformOrigin: "12px 12px" }, children: [
|
|
1195
|
+
/* @__PURE__ */ jsx19("path", { d: "M3 21L8 16", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "inherit" }),
|
|
1196
|
+
/* @__PURE__ */ jsx19(
|
|
1197
|
+
"path",
|
|
1198
|
+
{
|
|
1199
|
+
d: "M13.2585 18.8714C9.51516 18.0215 5.97844 14.4848 5.12853 10.7415C4.99399 10.1489 4.92672 9.85266 5.12161 9.37197C5.3165 8.89129 5.55457 8.74255 6.03071 8.44509C7.10705 7.77265 8.27254 7.55888 9.48209 7.66586C11.1793 7.81598 12.0279 7.89104 12.4512 7.67048C12.8746 7.44991 13.1622 6.93417 13.7376 5.90269L14.4664 4.59604C14.9465 3.73528 15.1866 3.3049 15.7513 3.10202C16.316 2.89913 16.6558 3.02199 17.3355 3.26771C18.9249 3.84236 20.1576 5.07505 20.7323 6.66449C20.978 7.34417 21.1009 7.68401 20.898 8.2487C20.6951 8.8134 20.2647 9.05346 19.4039 9.53358L18.0672 10.2792C17.0376 10.8534 16.5229 11.1406 16.3024 11.568C16.0819 11.9955 16.162 12.8256 16.3221 14.4859C16.4399 15.7068 16.2369 16.88 15.5555 17.9697C15.2577 18.4458 15.1088 18.6839 14.6283 18.8786C14.1477 19.0733 13.8513 19.006 13.2585 18.8714Z",
|
|
1200
|
+
stroke: "currentColor",
|
|
1201
|
+
strokeLinecap: "round",
|
|
1202
|
+
strokeLinejoin: "round",
|
|
1203
|
+
strokeWidth: "inherit"
|
|
1204
|
+
}
|
|
1205
|
+
)
|
|
1206
|
+
] }) }) });
|
|
1207
|
+
});
|
|
1208
|
+
PinIcon.displayName = "PinIcon";
|
|
1209
|
+
|
|
1210
|
+
// src/utils/animated-icons/play.tsx
|
|
1211
|
+
import { motion as motion20, useAnimation as useAnimation20 } from "motion/react";
|
|
1212
|
+
import { forwardRef as forwardRef20 } from "react";
|
|
1213
|
+
import { jsx as jsx20 } from "react/jsx-runtime";
|
|
1214
|
+
var playVariants = {
|
|
1215
|
+
normal: { transform: "translateX(0px) scaleX(1) scaleY(1)" },
|
|
1216
|
+
animate: {
|
|
1217
|
+
transform: ["translateX(0px) scaleX(1) scaleY(1)", "translateX(-0.8px) scaleX(0.9) scaleY(1.04)", "translateX(2px) scaleX(1.1) scaleY(0.97)", "translateX(-0.2px) scaleX(0.99) scaleY(1.005)", "translateX(0px) scaleX(1) scaleY(1)"],
|
|
1218
|
+
transition: { duration: 0.52, times: [0, 0.2, 0.52, 0.78, 1], ease: [0.23, 1, 0.32, 1] }
|
|
1219
|
+
}
|
|
1220
|
+
};
|
|
1221
|
+
var PlayIcon = forwardRef20(({ onMouseEnter, onMouseLeave, className, size = 24, ...props }, ref) => {
|
|
1222
|
+
const controls = useAnimation20();
|
|
1223
|
+
const { handleMouseEnter, handleMouseLeave } = useIconAnimation({
|
|
1224
|
+
controls,
|
|
1225
|
+
loops: false,
|
|
1226
|
+
onMouseEnter,
|
|
1227
|
+
onMouseLeave,
|
|
1228
|
+
ref
|
|
1229
|
+
});
|
|
1230
|
+
return /* @__PURE__ */ jsx20("div", { "data-hugeicons-animated": "true", className: cn("inline-flex", className), style: { strokeWidth: 1.5 }, children: /* @__PURE__ */ jsx20("svg", { className: "h-full w-full", onMouseEnter: handleMouseEnter, onMouseLeave: handleMouseLeave, ...props, xmlns: "http://www.w3.org/2000/svg", width: size, height: size, viewBox: "0 0 24 24", fill: "none", overflow: "visible", children: /* @__PURE__ */ jsx20(
|
|
1231
|
+
motion20.path,
|
|
1232
|
+
{
|
|
1233
|
+
d: "M18.8906 12.846C18.5371 14.189 16.8667 15.138 13.5257 17.0361C10.296 18.8709 8.6812 19.7884 7.37983 19.4196C6.8418 19.2671 6.35159 18.9776 5.95624 18.5787C5 17.6139 5 15.7426 5 12C5 8.2574 5 6.3861 5.95624 5.42132C6.35159 5.02245 6.8418 4.73288 7.37983 4.58042C8.6812 4.21165 10.296 5.12907 13.5257 6.96393C16.8667 8.86197 18.5371 9.811 18.8906 11.154C19.0365 11.7084 19.0365 12.2916 18.8906 12.846Z",
|
|
1234
|
+
stroke: "currentColor",
|
|
1235
|
+
strokeLinejoin: "round",
|
|
1236
|
+
strokeWidth: "inherit",
|
|
1237
|
+
variants: playVariants,
|
|
1238
|
+
animate: controls,
|
|
1239
|
+
initial: "normal",
|
|
1240
|
+
style: { transformOrigin: "10px 12px" }
|
|
1241
|
+
}
|
|
1242
|
+
) }) });
|
|
1243
|
+
});
|
|
1244
|
+
PlayIcon.displayName = "PlayIcon";
|
|
1245
|
+
|
|
1246
|
+
// src/utils/animated-icons/plus-sign.tsx
|
|
1247
|
+
import { motion as motion21, useAnimation as useAnimation21 } from "motion/react";
|
|
1248
|
+
import { forwardRef as forwardRef21 } from "react";
|
|
1249
|
+
import { jsx as jsx21, jsxs as jsxs18 } from "react/jsx-runtime";
|
|
1250
|
+
var plusBaseVariants = {
|
|
1251
|
+
normal: { visibility: "visible", transition: { duration: 0.2, delay: 0.05 } },
|
|
1252
|
+
animate: { visibility: "hidden", transition: { duration: 0.08 } }
|
|
1253
|
+
};
|
|
1254
|
+
var stemVariants2 = {
|
|
1255
|
+
normal: { d: "M12 4V20", visibility: "hidden", transition: { duration: 0.15 } },
|
|
1256
|
+
animate: {
|
|
1257
|
+
d: ["M12 4V20", "M12 2.6V21.4", "M12 4.6V19.4", "M12 4V20"],
|
|
1258
|
+
visibility: "visible",
|
|
1259
|
+
transition: {
|
|
1260
|
+
d: { duration: 0.5, ease: "easeInOut", times: [0, 0.32, 0.68, 1] }
|
|
1261
|
+
}
|
|
1262
|
+
}
|
|
1263
|
+
};
|
|
1264
|
+
var armVariants = {
|
|
1265
|
+
normal: { d: "M20 12H4", visibility: "hidden", transition: { duration: 0.15 } },
|
|
1266
|
+
animate: {
|
|
1267
|
+
d: ["M20 12H4", "M21.4 12H2.6", "M19.4 12H4.6", "M20 12H4"],
|
|
1268
|
+
visibility: "visible",
|
|
1269
|
+
transition: {
|
|
1270
|
+
d: { duration: 0.5, ease: "easeInOut", times: [0, 0.32, 0.68, 1], delay: 0.05 }
|
|
1271
|
+
}
|
|
1272
|
+
}
|
|
1273
|
+
};
|
|
1274
|
+
var generatedGeometryVariants7 = {
|
|
1275
|
+
normal: { visibility: "hidden", transition: { duration: 0.08 } },
|
|
1276
|
+
animate: { visibility: "visible", transition: { duration: 0.08 } }
|
|
1277
|
+
};
|
|
1278
|
+
var PlusSignIcon = forwardRef21(({ onMouseEnter, onMouseLeave, className, size = 24, ...props }, ref) => {
|
|
1279
|
+
const controls = useAnimation21();
|
|
1280
|
+
const { handleMouseEnter, handleMouseLeave } = useIconAnimation({
|
|
1281
|
+
controls,
|
|
1282
|
+
loops: false,
|
|
1283
|
+
onMouseEnter,
|
|
1284
|
+
onMouseLeave,
|
|
1285
|
+
ref
|
|
1286
|
+
});
|
|
1287
|
+
return /* @__PURE__ */ jsx21("div", { "data-hugeicons-animated": "true", className: cn("inline-flex", className), style: { strokeWidth: 1.5 }, children: /* @__PURE__ */ jsxs18("svg", { className: "h-full w-full", onMouseEnter: handleMouseEnter, onMouseLeave: handleMouseLeave, ...props, xmlns: "http://www.w3.org/2000/svg", width: size, height: size, viewBox: "0 0 24 24", fill: "none", overflow: "visible", children: [
|
|
1288
|
+
/* @__PURE__ */ jsx21(motion21.path, { d: "M12 4V20M20 12H4", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "inherit", variants: plusBaseVariants, animate: controls, initial: "normal" }),
|
|
1289
|
+
/* @__PURE__ */ jsxs18(motion21.g, { variants: generatedGeometryVariants7, animate: controls, initial: "normal", children: [
|
|
1290
|
+
/* @__PURE__ */ jsx21(motion21.path, { d: "M12 4V20", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "inherit", variants: stemVariants2, animate: controls, initial: "normal" }),
|
|
1291
|
+
/* @__PURE__ */ jsx21(motion21.path, { d: "M20 12H4", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "inherit", variants: armVariants, animate: controls, initial: "normal" })
|
|
1292
|
+
] })
|
|
1293
|
+
] }) });
|
|
1294
|
+
});
|
|
1295
|
+
PlusSignIcon.displayName = "PlusSignIcon";
|
|
1296
|
+
|
|
1297
|
+
// src/utils/animated-icons/qr-code-01.tsx
|
|
1298
|
+
import { motion as motion22, useAnimation as useAnimation22 } from "motion/react";
|
|
1299
|
+
import { forwardRef as forwardRef22 } from "react";
|
|
1300
|
+
import { jsx as jsx22, jsxs as jsxs19 } from "react/jsx-runtime";
|
|
1301
|
+
var qrCellVariants = {
|
|
1302
|
+
normal: { visibility: "visible", scale: 1 },
|
|
1303
|
+
animate: (i) => ({
|
|
1304
|
+
visibility: ["visible", "visible", "visible"],
|
|
1305
|
+
scale: [1, 0.82, 1],
|
|
1306
|
+
transition: { duration: 0.42, delay: 0.12 + i * 0.07, ease: "easeOut" }
|
|
1307
|
+
})
|
|
1308
|
+
};
|
|
1309
|
+
var qrFrameVariants = {
|
|
1310
|
+
normal: { scale: 1, transition: { type: "spring", duration: 0.4, bounce: 0 } },
|
|
1311
|
+
animate: {
|
|
1312
|
+
scale: [1, 1.03, 1],
|
|
1313
|
+
transition: { duration: 0.75, ease: "easeOut" }
|
|
1314
|
+
}
|
|
1315
|
+
};
|
|
1316
|
+
var scannerVariants = {
|
|
1317
|
+
normal: { visibility: "hidden", translateY: -7 },
|
|
1318
|
+
animate: {
|
|
1319
|
+
visibility: ["hidden", "visible", "visible", "hidden"],
|
|
1320
|
+
translateY: [-7, 7],
|
|
1321
|
+
transition: { duration: 1, times: [0, 0.12, 0.88, 1], ease: "easeInOut" }
|
|
1322
|
+
}
|
|
1323
|
+
};
|
|
1324
|
+
var generatedGeometryVariants8 = {
|
|
1325
|
+
normal: { visibility: "hidden", transition: { duration: 0.08 } },
|
|
1326
|
+
animate: { visibility: "visible", transition: { duration: 0.08 } }
|
|
1327
|
+
};
|
|
1328
|
+
var QrCode01Icon = forwardRef22(({ onMouseEnter, onMouseLeave, className, size = 24, ...props }, ref) => {
|
|
1329
|
+
const controls = useAnimation22();
|
|
1330
|
+
const { handleMouseEnter, handleMouseLeave } = useIconAnimation({
|
|
1331
|
+
controls,
|
|
1332
|
+
loops: false,
|
|
1333
|
+
onMouseEnter,
|
|
1334
|
+
onMouseLeave,
|
|
1335
|
+
ref
|
|
1336
|
+
});
|
|
1337
|
+
return /* @__PURE__ */ jsx22("div", { "data-hugeicons-animated": "true", className: cn("inline-flex", className), style: { strokeWidth: 1.5 }, children: /* @__PURE__ */ jsxs19("svg", { className: "h-full w-full", onMouseEnter: handleMouseEnter, onMouseLeave: handleMouseLeave, ...props, xmlns: "http://www.w3.org/2000/svg", width: size, height: size, viewBox: "0 0 24 24", fill: "none", overflow: "visible", children: [
|
|
1338
|
+
/* @__PURE__ */ jsx22(
|
|
1339
|
+
motion22.path,
|
|
1340
|
+
{
|
|
1341
|
+
d: "M6.79289 6.79289C6.5 7.08579 6.5 7.55719 6.5 8.5C6.5 9.44281 6.5 9.91421 6.79289 10.2071C7.08579 10.5 7.55719 10.5 8.5 10.5C9.44281 10.5 9.91421 10.5 10.2071 10.2071C10.5 9.91421 10.5 9.44281 10.5 8.5C10.5 7.55719 10.5 7.08579 10.2071 6.79289C9.91421 6.5 9.44281 6.5 8.5 6.5C7.55719 6.5 7.08579 6.5 6.79289 6.79289Z",
|
|
1342
|
+
stroke: "currentColor",
|
|
1343
|
+
strokeLinecap: "round",
|
|
1344
|
+
strokeLinejoin: "round",
|
|
1345
|
+
strokeWidth: "inherit",
|
|
1346
|
+
variants: qrCellVariants,
|
|
1347
|
+
custom: 0,
|
|
1348
|
+
animate: controls,
|
|
1349
|
+
initial: "normal",
|
|
1350
|
+
style: { transformOrigin: "8.5px 8.5px" }
|
|
1351
|
+
}
|
|
1352
|
+
),
|
|
1353
|
+
/* @__PURE__ */ jsx22(
|
|
1354
|
+
motion22.path,
|
|
1355
|
+
{
|
|
1356
|
+
d: "M13.5 10.5C14.4428 10.5 14.9142 10.5 15.2071 10.2071C15.5 9.91421 15.5 9.44281 15.5 8.5C15.5 7.55719 15.5 7.08579 15.7929 6.79289C16.0858 6.5 16.5572 6.5 17.5 6.5",
|
|
1357
|
+
stroke: "currentColor",
|
|
1358
|
+
strokeLinecap: "round",
|
|
1359
|
+
strokeLinejoin: "round",
|
|
1360
|
+
strokeWidth: "inherit",
|
|
1361
|
+
variants: qrCellVariants,
|
|
1362
|
+
custom: 1,
|
|
1363
|
+
animate: controls,
|
|
1364
|
+
initial: "normal"
|
|
1365
|
+
}
|
|
1366
|
+
),
|
|
1367
|
+
/* @__PURE__ */ jsx22(motion22.path, { d: "M6.5 13.5H8.5C9.44281 13.5 9.91421 13.5 10.2071 13.7929C10.5 14.0858 10.5 14.5572 10.5 15.5V17.5", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "inherit", variants: qrCellVariants, custom: 2, animate: controls, initial: "normal" }),
|
|
1368
|
+
/* @__PURE__ */ jsx22(
|
|
1369
|
+
motion22.path,
|
|
1370
|
+
{
|
|
1371
|
+
d: "M6.875 17.25H6.75M7 17.25C7 17.3881 6.88807 17.5 6.75 17.5C6.61193 17.5 6.5 17.3881 6.5 17.25C6.5 17.1119 6.61193 17 6.75 17C6.88807 17 7 17.1119 7 17.25Z",
|
|
1372
|
+
stroke: "currentColor",
|
|
1373
|
+
strokeLinecap: "round",
|
|
1374
|
+
strokeLinejoin: "round",
|
|
1375
|
+
strokeWidth: "inherit",
|
|
1376
|
+
variants: qrCellVariants,
|
|
1377
|
+
custom: 3,
|
|
1378
|
+
animate: controls,
|
|
1379
|
+
initial: "normal"
|
|
1380
|
+
}
|
|
1381
|
+
),
|
|
1382
|
+
/* @__PURE__ */ jsx22(
|
|
1383
|
+
motion22.path,
|
|
1384
|
+
{
|
|
1385
|
+
d: "M13.7929 13.7929C13.5 14.0858 13.5 14.5572 13.5 15.5C13.5 16.4428 13.5 16.9142 13.7929 17.2071C14.0858 17.5 14.5572 17.5 15.5 17.5C16.4428 17.5 16.9142 17.5 17.2071 17.2071C17.5 16.9142 17.5 16.4428 17.5 15.5C17.5 14.5572 17.5 14.0858 17.2071 13.7929C16.9142 13.5 16.4428 13.5 15.5 13.5C14.5572 13.5 14.0858 13.5 13.7929 13.7929Z",
|
|
1386
|
+
stroke: "currentColor",
|
|
1387
|
+
strokeLinecap: "round",
|
|
1388
|
+
strokeLinejoin: "round",
|
|
1389
|
+
strokeWidth: "inherit",
|
|
1390
|
+
variants: qrCellVariants,
|
|
1391
|
+
custom: 4,
|
|
1392
|
+
animate: controls,
|
|
1393
|
+
initial: "normal",
|
|
1394
|
+
style: { transformOrigin: "15.5px 15.5px" }
|
|
1395
|
+
}
|
|
1396
|
+
),
|
|
1397
|
+
/* @__PURE__ */ jsx22(
|
|
1398
|
+
motion22.path,
|
|
1399
|
+
{
|
|
1400
|
+
d: "M6.5 21.5C6.03563 21.5 5.80344 21.5 5.60812 21.478C3.98545 21.2952 2.70484 20.0145 2.52201 18.3919C2.5 18.1966 2.5 17.9644 2.5 17.5M17.5 21.5C17.9644 21.5 18.1966 21.5 18.3919 21.478C20.0145 21.2952 21.2952 20.0145 21.478 18.3919C21.5 18.1966 21.5 17.9644 21.5 17.5M6.5 2.5C6.03563 2.5 5.80344 2.5 5.60812 2.52201C3.98545 2.70484 2.70484 3.98545 2.52201 5.60812C2.5 5.80344 2.5 6.03563 2.5 6.5M17.5 2.5C17.9644 2.5 18.1966 2.5 18.3919 2.52201C20.0145 2.70484 21.2952 3.98545 21.478 5.60812C21.5 5.80344 21.5 6.03563 21.5 6.5",
|
|
1401
|
+
stroke: "currentColor",
|
|
1402
|
+
strokeLinecap: "round",
|
|
1403
|
+
strokeLinejoin: "round",
|
|
1404
|
+
strokeWidth: "inherit",
|
|
1405
|
+
variants: qrFrameVariants,
|
|
1406
|
+
animate: controls,
|
|
1407
|
+
initial: "normal",
|
|
1408
|
+
style: { transformOrigin: "12px 12px" }
|
|
1409
|
+
}
|
|
1410
|
+
),
|
|
1411
|
+
/* @__PURE__ */ jsx22(motion22.g, { variants: generatedGeometryVariants8, animate: controls, initial: "normal", children: /* @__PURE__ */ jsx22(motion22.path, { d: "M4 12H20", stroke: "currentColor", strokeLinecap: "round", strokeWidth: "1", variants: scannerVariants, animate: controls, initial: "normal" }) })
|
|
1412
|
+
] }) });
|
|
1413
|
+
});
|
|
1414
|
+
QrCode01Icon.displayName = "QrCode01Icon";
|
|
1415
|
+
|
|
1416
|
+
// src/utils/animated-icons/refresh.tsx
|
|
1417
|
+
import { motion as motion23, useAnimation as useAnimation23 } from "motion/react";
|
|
1418
|
+
import { forwardRef as forwardRef23 } from "react";
|
|
1419
|
+
import { jsx as jsx23 } from "react/jsx-runtime";
|
|
1420
|
+
var svgVariants2 = {
|
|
1421
|
+
normal: { rotate: 0, transition: { duration: 0.15, ease: "easeOut" } },
|
|
1422
|
+
animate: {
|
|
1423
|
+
rotate: [0, -25, 360],
|
|
1424
|
+
transition: { duration: 0.9, times: [0, 0.2, 1], ease: ["easeIn", "easeOut"] }
|
|
1425
|
+
}
|
|
1426
|
+
};
|
|
1427
|
+
var RefreshIcon = forwardRef23(({ onMouseEnter, onMouseLeave, className, size = 24, ...props }, ref) => {
|
|
1428
|
+
const controls = useAnimation23();
|
|
1429
|
+
const { handleMouseEnter, handleMouseLeave } = useIconAnimation({
|
|
1430
|
+
controls,
|
|
1431
|
+
loops: false,
|
|
1432
|
+
onMouseEnter,
|
|
1433
|
+
onMouseLeave,
|
|
1434
|
+
ref
|
|
1435
|
+
});
|
|
1436
|
+
return /* @__PURE__ */ jsx23("div", { className: cn("inline-flex", className), style: { strokeWidth: 1.5 }, "data-hugeicons-animated": "true", children: /* @__PURE__ */ jsx23("svg", { onMouseEnter: handleMouseEnter, onMouseLeave: handleMouseLeave, ...props, className: "h-full w-full", xmlns: "http://www.w3.org/2000/svg", width: size, height: size, viewBox: "0 0 24 24", fill: "none", overflow: "visible", children: /* @__PURE__ */ jsx23(motion23.g, { variants: svgVariants2, animate: controls, initial: "normal", children: /* @__PURE__ */ jsx23("path", { d: "M20.0092 2V5.13219C20.0092 5.42605 19.6418 5.55908 19.4537 5.33333C17.6226 3.2875 14.9617 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22C17.5228 22 22 17.5228 22 12", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "inherit" }) }) }) });
|
|
1437
|
+
});
|
|
1438
|
+
RefreshIcon.displayName = "RefreshIcon";
|
|
1439
|
+
|
|
1440
|
+
// src/utils/animated-icons/search-01.tsx
|
|
1441
|
+
import { useAnimate, useReducedMotion as useReducedMotion2 } from "motion/react";
|
|
1442
|
+
import { forwardRef as forwardRef24, useCallback as useCallback2, useImperativeHandle as useImperativeHandle2, useRef as useRef2 } from "react";
|
|
1443
|
+
import { jsx as jsx24, jsxs as jsxs20 } from "react/jsx-runtime";
|
|
1444
|
+
var Search01Icon = forwardRef24(({ onMouseEnter, onMouseLeave, className, size = 24, ...props }, ref) => {
|
|
1445
|
+
const [scope, animate] = useAnimate();
|
|
1446
|
+
const shouldReduceMotion = useReducedMotion2();
|
|
1447
|
+
const isControlledRef = useRef2(false);
|
|
1448
|
+
const isPlayingRef = useRef2(false);
|
|
1449
|
+
const startAnimation = useCallback2(() => {
|
|
1450
|
+
if (shouldReduceMotion || isPlayingRef.current) return;
|
|
1451
|
+
const target = scope.current?.querySelector("[data-search-icon]");
|
|
1452
|
+
if (!target) return;
|
|
1453
|
+
isPlayingRef.current = true;
|
|
1454
|
+
void (async () => {
|
|
1455
|
+
await animate(
|
|
1456
|
+
target,
|
|
1457
|
+
{
|
|
1458
|
+
transform: [
|
|
1459
|
+
"translate(0px, 0px) rotate(0deg) scale(1)",
|
|
1460
|
+
"translate(1.25px, -0.55px) rotate(14deg) scale(0.78)",
|
|
1461
|
+
"translate(0.4px, -0.8px) rotate(6deg) scale(0.76)",
|
|
1462
|
+
"translate(-0.65px, 0.25px) rotate(-8deg) scale(0.8)",
|
|
1463
|
+
"translate(-0.15px, 0.1px) rotate(-2.5deg) scale(1.08)",
|
|
1464
|
+
"translate(0px, 0px) rotate(0deg) scale(1)"
|
|
1465
|
+
]
|
|
1466
|
+
},
|
|
1467
|
+
{
|
|
1468
|
+
duration: 1.24,
|
|
1469
|
+
times: [0, 0.32, 0.48, 0.64, 0.84, 1],
|
|
1470
|
+
ease: [[0.77, 0, 0.175, 1], "linear", "linear", [0.77, 0, 0.175, 1], [0.23, 1, 0.32, 1]]
|
|
1471
|
+
}
|
|
1472
|
+
);
|
|
1473
|
+
isPlayingRef.current = false;
|
|
1474
|
+
})();
|
|
1475
|
+
}, [animate, scope, shouldReduceMotion]);
|
|
1476
|
+
const stopAnimation = useCallback2(() => {
|
|
1477
|
+
}, []);
|
|
1478
|
+
useImperativeHandle2(ref, () => {
|
|
1479
|
+
isControlledRef.current = true;
|
|
1480
|
+
return { startAnimation, stopAnimation };
|
|
1481
|
+
}, [startAnimation, stopAnimation]);
|
|
1482
|
+
const handleMouseEnter = useCallback2(
|
|
1483
|
+
(event) => {
|
|
1484
|
+
onMouseEnter?.(event);
|
|
1485
|
+
if (!isControlledRef.current) startAnimation();
|
|
1486
|
+
},
|
|
1487
|
+
[onMouseEnter, startAnimation]
|
|
1488
|
+
);
|
|
1489
|
+
const handleMouseLeave = useCallback2(
|
|
1490
|
+
(event) => {
|
|
1491
|
+
onMouseLeave?.(event);
|
|
1492
|
+
},
|
|
1493
|
+
[onMouseLeave]
|
|
1494
|
+
);
|
|
1495
|
+
return /* @__PURE__ */ jsx24("div", { ref: scope, "data-hugeicons-animated": "true", className: cn("inline-flex", className), style: { strokeWidth: 1.5 }, children: /* @__PURE__ */ jsx24("span", { "data-search-icon": true, className: "h-full w-full", style: { display: "inline-flex", transformOrigin: "11px 11px" }, children: /* @__PURE__ */ jsxs20("svg", { className: "h-full w-full", onMouseEnter: handleMouseEnter, onMouseLeave: handleMouseLeave, ...props, xmlns: "http://www.w3.org/2000/svg", width: size, height: size, viewBox: "0 0 24 24", fill: "none", overflow: "visible", children: [
|
|
1496
|
+
/* @__PURE__ */ jsx24("path", { d: "M17 17L21 21", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "inherit" }),
|
|
1497
|
+
/* @__PURE__ */ jsx24("path", { d: "M19 11C19 6.58172 15.4183 3 11 3C6.58172 3 3 6.58172 3 11C3 15.4183 6.58172 19 11 19C15.4183 19 19 15.4183 19 11Z", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "inherit" })
|
|
1498
|
+
] }) }) });
|
|
1499
|
+
});
|
|
1500
|
+
Search01Icon.displayName = "Search01Icon";
|
|
1501
|
+
|
|
1502
|
+
// src/utils/animated-icons/sent.tsx
|
|
1503
|
+
import { motion as motion24, useAnimation as useAnimation24 } from "motion/react";
|
|
1504
|
+
import { forwardRef as forwardRef25 } from "react";
|
|
1505
|
+
import { Fragment, jsx as jsx25, jsxs as jsxs21 } from "react/jsx-runtime";
|
|
1506
|
+
var SENT_PLANE = "M21.0477 3.05293C18.8697 0.707363 2.48648 6.4532 2.50001 8.551C2.51535 10.9299 8.89809 11.6617 10.6672 12.1581C11.7311 12.4565 12.016 12.7625 12.2613 13.8781C13.3723 18.9305 13.9301 21.4435 15.2014 21.4996C17.2278 21.5892 23.1733 5.342 21.0477 3.05293Z";
|
|
1507
|
+
var SENT_DURATION = 0.92;
|
|
1508
|
+
var SENT_TIMES = [0, 0.07, 0.14, 0.22, 0.32, 0.43, 0.5, 0.54, 0.62, 0.71, 0.8, 0.88, 0.95, 1];
|
|
1509
|
+
var departingPlaneVariants = {
|
|
1510
|
+
normal: {
|
|
1511
|
+
transform: "translate(0%, 0%) rotate(0deg)",
|
|
1512
|
+
transition: { duration: 0.16, ease: [0.23, 1, 0.32, 1] }
|
|
1513
|
+
},
|
|
1514
|
+
animate: {
|
|
1515
|
+
transform: [
|
|
1516
|
+
"translate(0%, 0%) rotate(0deg)",
|
|
1517
|
+
"translate(-3%, 3%) rotate(2.2deg)",
|
|
1518
|
+
"translate(-1%, 1.5%) rotate(1.2deg)",
|
|
1519
|
+
"translate(7%, -5%) rotate(-1deg)",
|
|
1520
|
+
"translate(22%, -16%) rotate(-3.2deg)",
|
|
1521
|
+
"translate(48%, -38%) rotate(-5.5deg)",
|
|
1522
|
+
"translate(82%, -68%) rotate(-5deg)",
|
|
1523
|
+
"translate(118%, -100%) rotate(-3.5deg)",
|
|
1524
|
+
"translate(145%, -125%) rotate(-2deg)",
|
|
1525
|
+
"translate(145%, -125%) rotate(-2deg)",
|
|
1526
|
+
"translate(145%, -125%) rotate(-2deg)",
|
|
1527
|
+
"translate(145%, -125%) rotate(-2deg)",
|
|
1528
|
+
"translate(145%, -125%) rotate(-2deg)",
|
|
1529
|
+
"translate(145%, -125%) rotate(-2deg)"
|
|
1530
|
+
],
|
|
1531
|
+
transition: {
|
|
1532
|
+
duration: SENT_DURATION,
|
|
1533
|
+
ease: "linear",
|
|
1534
|
+
times: SENT_TIMES
|
|
1535
|
+
}
|
|
1536
|
+
}
|
|
1537
|
+
};
|
|
1538
|
+
var arrivingPlaneVariants = {
|
|
1539
|
+
normal: {
|
|
1540
|
+
transform: "translate(-145%, 125%) rotate(-6deg)",
|
|
1541
|
+
transition: { duration: 0.16, ease: [0.23, 1, 0.32, 1] }
|
|
1542
|
+
},
|
|
1543
|
+
animate: {
|
|
1544
|
+
transform: [
|
|
1545
|
+
"translate(-145%, 125%) rotate(-6deg)",
|
|
1546
|
+
"translate(-145%, 125%) rotate(-6deg)",
|
|
1547
|
+
"translate(-145%, 125%) rotate(-6deg)",
|
|
1548
|
+
"translate(-145%, 125%) rotate(-6deg)",
|
|
1549
|
+
"translate(-145%, 125%) rotate(-6deg)",
|
|
1550
|
+
"translate(-145%, 125%) rotate(-6deg)",
|
|
1551
|
+
"translate(-145%, 125%) rotate(-6deg)",
|
|
1552
|
+
"translate(-118%, 102%) rotate(-6deg)",
|
|
1553
|
+
"translate(-82%, 70%) rotate(-5deg)",
|
|
1554
|
+
"translate(-50%, 41%) rotate(-4deg)",
|
|
1555
|
+
"translate(-24%, 19%) rotate(-2.5deg)",
|
|
1556
|
+
"translate(-7%, 4%) rotate(-0.8deg)",
|
|
1557
|
+
"translate(-1%, 1%) rotate(0.8deg)",
|
|
1558
|
+
"translate(0%, 0%) rotate(0deg)"
|
|
1559
|
+
],
|
|
1560
|
+
transition: {
|
|
1561
|
+
duration: SENT_DURATION,
|
|
1562
|
+
ease: "linear",
|
|
1563
|
+
times: SENT_TIMES
|
|
1564
|
+
}
|
|
1565
|
+
}
|
|
1566
|
+
};
|
|
1567
|
+
var generatedGeometryVariants9 = {
|
|
1568
|
+
normal: { visibility: "hidden", transition: { duration: 0 } },
|
|
1569
|
+
animate: { visibility: "visible", transition: { duration: 0 } }
|
|
1570
|
+
};
|
|
1571
|
+
var trailVariants = {
|
|
1572
|
+
normal: { pathLength: 0, pathOffset: 0, visibility: "hidden" },
|
|
1573
|
+
animate: (i) => ({
|
|
1574
|
+
pathLength: [0, 0.25, 1, 0.34, 0, 0],
|
|
1575
|
+
pathOffset: [0, 0, 0, 0.66, 1, 1],
|
|
1576
|
+
visibility: ["hidden", "visible", "visible", "visible", "hidden", "hidden"],
|
|
1577
|
+
transition: {
|
|
1578
|
+
duration: 0.38,
|
|
1579
|
+
delay: 0.06 + i * 0.028,
|
|
1580
|
+
ease: "linear",
|
|
1581
|
+
times: [0, 0.14, 0.34, 0.58, 0.8, 1]
|
|
1582
|
+
}
|
|
1583
|
+
})
|
|
1584
|
+
};
|
|
1585
|
+
function PlaneGeometry() {
|
|
1586
|
+
return /* @__PURE__ */ jsxs21(Fragment, { children: [
|
|
1587
|
+
/* @__PURE__ */ jsx25("path", { d: SENT_PLANE, stroke: "currentColor", strokeWidth: "inherit" }),
|
|
1588
|
+
/* @__PURE__ */ jsx25("path", { d: "M11.4999 12.5L14.9999 9", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "inherit" })
|
|
1589
|
+
] });
|
|
1590
|
+
}
|
|
1591
|
+
var SentIcon = forwardRef25(({ onMouseEnter, onMouseLeave, className, size = 24, ...props }, ref) => {
|
|
1592
|
+
const controls = useAnimation24();
|
|
1593
|
+
const { handleMouseEnter, handleMouseLeave } = useIconAnimation({
|
|
1594
|
+
controls,
|
|
1595
|
+
loops: false,
|
|
1596
|
+
onMouseEnter,
|
|
1597
|
+
onMouseLeave,
|
|
1598
|
+
ref
|
|
1599
|
+
});
|
|
1600
|
+
return /* @__PURE__ */ jsx25("div", { "data-hugeicons-animated": "true", className: cn("inline-flex", className), style: { strokeWidth: 1.5 }, children: /* @__PURE__ */ jsxs21("svg", { className: "h-full w-full", onMouseEnter: handleMouseEnter, onMouseLeave: handleMouseLeave, ...props, xmlns: "http://www.w3.org/2000/svg", width: size, height: size, viewBox: "0 0 24 24", fill: "none", overflow: "hidden", children: [
|
|
1601
|
+
/* @__PURE__ */ jsxs21(motion24.g, { variants: generatedGeometryVariants9, animate: controls, initial: "normal", children: [
|
|
1602
|
+
/* @__PURE__ */ jsx25(motion24.path, { d: "M7.2 14.8L2.2 19.8", stroke: "currentColor", strokeLinecap: "round", strokeWidth: "inherit", variants: trailVariants, custom: 0, animate: controls, initial: "normal" }),
|
|
1603
|
+
/* @__PURE__ */ jsx25(motion24.path, { d: "M10.2 17.6L6.6 21.2", stroke: "currentColor", strokeLinecap: "round", strokeWidth: "inherit", variants: trailVariants, custom: 1, animate: controls, initial: "normal" }),
|
|
1604
|
+
/* @__PURE__ */ jsx25(motion24.path, { d: "M5.2 12.6L2 15.8", stroke: "currentColor", strokeLinecap: "round", strokeWidth: "inherit", variants: trailVariants, custom: 2, animate: controls, initial: "normal" })
|
|
1605
|
+
] }),
|
|
1606
|
+
/* @__PURE__ */ jsx25(motion24.g, { variants: departingPlaneVariants, animate: controls, initial: "normal", style: { transformOrigin: "12px 12px" }, children: /* @__PURE__ */ jsx25(PlaneGeometry, {}) }),
|
|
1607
|
+
/* @__PURE__ */ jsx25(motion24.g, { variants: generatedGeometryVariants9, animate: controls, initial: "normal", children: /* @__PURE__ */ jsx25(motion24.g, { variants: arrivingPlaneVariants, animate: controls, initial: "normal", style: { transformOrigin: "12px 12px" }, children: /* @__PURE__ */ jsx25(PlaneGeometry, {}) }) })
|
|
1608
|
+
] }) });
|
|
1609
|
+
});
|
|
1610
|
+
SentIcon.displayName = "SentIcon";
|
|
1611
|
+
|
|
1612
|
+
// src/utils/animated-icons/settings-01.tsx
|
|
1613
|
+
import { motion as motion25, useAnimation as useAnimation25 } from "motion/react";
|
|
1614
|
+
import { forwardRef as forwardRef26 } from "react";
|
|
1615
|
+
import { jsx as jsx26, jsxs as jsxs22 } from "react/jsx-runtime";
|
|
1616
|
+
var gearVariants = {
|
|
1617
|
+
normal: {
|
|
1618
|
+
transform: "rotate(0deg)",
|
|
1619
|
+
transition: { type: "spring", duration: 0.6, bounce: 0 }
|
|
1620
|
+
},
|
|
1621
|
+
animate: {
|
|
1622
|
+
transform: ["rotate(0deg)", "rotate(202deg)", "rotate(177.5deg)", "rotate(180deg)"],
|
|
1623
|
+
transition: {
|
|
1624
|
+
duration: 0.92,
|
|
1625
|
+
times: [0, 0.72, 0.9, 1],
|
|
1626
|
+
ease: [
|
|
1627
|
+
[0.77, 0, 0.175, 1],
|
|
1628
|
+
[0.23, 1, 0.32, 1],
|
|
1629
|
+
[0.23, 1, 0.32, 1]
|
|
1630
|
+
]
|
|
1631
|
+
}
|
|
1632
|
+
}
|
|
1633
|
+
};
|
|
1634
|
+
var Settings01Icon = forwardRef26(({ onMouseEnter, onMouseLeave, className, size = 24, ...props }, ref) => {
|
|
1635
|
+
const controls = useAnimation25();
|
|
1636
|
+
const { handleMouseEnter, handleMouseLeave } = useIconAnimation({
|
|
1637
|
+
controls,
|
|
1638
|
+
loops: false,
|
|
1639
|
+
onMouseEnter,
|
|
1640
|
+
onMouseLeave,
|
|
1641
|
+
ref
|
|
1642
|
+
});
|
|
1643
|
+
return /* @__PURE__ */ jsx26("div", { "data-hugeicons-animated": "true", className: cn("inline-flex", className), style: { strokeWidth: 1.5 }, children: /* @__PURE__ */ jsxs22("svg", { className: "h-full w-full", onMouseEnter: handleMouseEnter, onMouseLeave: handleMouseLeave, ...props, xmlns: "http://www.w3.org/2000/svg", width: size, height: size, viewBox: "0 0 24 24", fill: "none", overflow: "visible", children: [
|
|
1644
|
+
/* @__PURE__ */ jsx26(
|
|
1645
|
+
motion25.path,
|
|
1646
|
+
{
|
|
1647
|
+
d: "M21.3175 7.14139L20.8239 6.28479C20.4506 5.63696 20.264 5.31305 19.9464 5.18388C19.6288 5.05472 19.2696 5.15664 18.5513 5.36048L17.3311 5.70418C16.8725 5.80994 16.3913 5.74994 15.9726 5.53479L15.6357 5.34042C15.2766 5.11043 15.0004 4.77133 14.8475 4.37274L14.5136 3.37536C14.294 2.71534 14.1842 2.38533 13.9228 2.19657C13.6615 2.00781 13.3143 2.00781 12.6199 2.00781H11.5051C10.8108 2.00781 10.4636 2.00781 10.2022 2.19657C9.94085 2.38533 9.83106 2.71534 9.61149 3.37536L9.27753 4.37274C9.12465 4.77133 8.84845 5.11043 8.48937 5.34042L8.15249 5.53479C7.73374 5.74994 7.25259 5.80994 6.79398 5.70418L5.57375 5.36048C4.85541 5.15664 4.49625 5.05472 4.17867 5.18388C3.86109 5.31305 3.67445 5.63696 3.30115 6.28479L2.80757 7.14139C2.45766 7.74864 2.2827 8.05227 2.31666 8.37549C2.35061 8.69871 2.58483 8.95918 3.05326 9.48012L4.0843 10.6328C4.3363 10.9518 4.51521 11.5078 4.51521 12.0077C4.51521 12.5078 4.33636 13.0636 4.08433 13.3827L3.05326 14.5354C2.58483 15.0564 2.35062 15.3168 2.31666 15.6401C2.2827 15.9633 2.45766 16.2669 2.80757 16.8741L3.30114 17.7307C3.67443 18.3785 3.86109 18.7025 4.17867 18.8316C4.49625 18.9608 4.85542 18.8589 5.57377 18.655L6.79394 18.3113C7.25263 18.2055 7.73387 18.2656 8.15267 18.4808L8.4895 18.6752C8.84851 18.9052 9.12464 19.2442 9.2775 19.6428L9.61149 20.6403C9.83106 21.3003 9.94085 21.6303 10.2022 21.8191C10.4636 22.0078 10.8108 22.0078 11.5051 22.0078H12.6199C13.3143 22.0078 13.6615 22.0078 13.9228 21.8191C14.1842 21.6303 14.294 21.3003 14.5136 20.6403L14.8476 19.6428C15.0004 19.2442 15.2765 18.9052 15.6356 18.6752L15.9724 18.4808C16.3912 18.2656 16.8724 18.2055 17.3311 18.3113L18.5513 18.655C19.2696 18.8589 19.6288 18.9608 19.9464 18.8316C20.264 18.7025 20.4506 18.3785 20.8239 17.7307L21.3175 16.8741C21.6674 16.2669 21.8423 15.9633 21.8084 15.6401C21.7744 15.3168 21.5402 15.0564 21.0718 14.5354L20.0407 13.3827C19.7887 13.0636 19.6098 12.5078 19.6098 12.0077C19.6098 11.5078 19.7888 10.9518 20.0407 10.6328L21.0718 9.48012C21.5402 8.95918 21.7744 8.69871 21.8084 8.37549C21.8423 8.05227 21.6674 7.74864 21.3175 7.14139Z",
|
|
1648
|
+
stroke: "currentColor",
|
|
1649
|
+
strokeLinecap: "round",
|
|
1650
|
+
strokeWidth: "inherit",
|
|
1651
|
+
variants: gearVariants,
|
|
1652
|
+
animate: controls,
|
|
1653
|
+
initial: "normal",
|
|
1654
|
+
style: { transformBox: "view-box", transformOrigin: "12px 12px" }
|
|
1655
|
+
}
|
|
1656
|
+
),
|
|
1657
|
+
/* @__PURE__ */ jsx26("path", { d: "M15.5195 12C15.5195 13.933 13.9525 15.5 12.0195 15.5C10.0865 15.5 8.51953 13.933 8.51953 12C8.51953 10.067 10.0865 8.5 12.0195 8.5C13.9525 8.5 15.5195 10.067 15.5195 12Z", stroke: "currentColor", strokeWidth: "inherit" })
|
|
1658
|
+
] }) });
|
|
1659
|
+
});
|
|
1660
|
+
Settings01Icon.displayName = "Settings01Icon";
|
|
1661
|
+
|
|
1662
|
+
// src/utils/animated-icons/share-08.tsx
|
|
1663
|
+
import { motion as motion26, useAnimation as useAnimation26 } from "motion/react";
|
|
1664
|
+
import { forwardRef as forwardRef27 } from "react";
|
|
1665
|
+
import { jsx as jsx27, jsxs as jsxs23 } from "react/jsx-runtime";
|
|
1666
|
+
var nodeVariants = {
|
|
1667
|
+
normal: { scale: 1 },
|
|
1668
|
+
animate: (i) => ({
|
|
1669
|
+
scale: [1, 1.25, 1],
|
|
1670
|
+
transition: { duration: 0.45, ease: "easeInOut", delay: i * 0.12 }
|
|
1671
|
+
})
|
|
1672
|
+
};
|
|
1673
|
+
var wireVariants = {
|
|
1674
|
+
normal: { pathLength: 1, visibility: "visible" },
|
|
1675
|
+
animate: {
|
|
1676
|
+
pathLength: [0, 1],
|
|
1677
|
+
visibility: "visible",
|
|
1678
|
+
transition: { duration: 0.45, ease: "easeOut" }
|
|
1679
|
+
}
|
|
1680
|
+
};
|
|
1681
|
+
var Share08Icon = forwardRef27(({ onMouseEnter, onMouseLeave, className, size = 24, ...props }, ref) => {
|
|
1682
|
+
const controls = useAnimation26();
|
|
1683
|
+
const { handleMouseEnter, handleMouseLeave } = useIconAnimation({
|
|
1684
|
+
controls,
|
|
1685
|
+
loops: false,
|
|
1686
|
+
onMouseEnter,
|
|
1687
|
+
onMouseLeave,
|
|
1688
|
+
ref
|
|
1689
|
+
});
|
|
1690
|
+
return /* @__PURE__ */ jsx27("div", { "data-hugeicons-animated": "true", className: cn("inline-flex", className), style: { strokeWidth: 1.5 }, children: /* @__PURE__ */ jsxs23("svg", { className: "h-full w-full", onMouseEnter: handleMouseEnter, onMouseLeave: handleMouseLeave, ...props, xmlns: "http://www.w3.org/2000/svg", width: size, height: size, viewBox: "0 0 24 24", fill: "none", overflow: "visible", children: [
|
|
1691
|
+
/* @__PURE__ */ jsx27(motion26.path, { d: "M21 6.5C21 8.15685 19.6569 9.5 18 9.5C16.3431 9.5 15 8.15685 15 6.5C15 4.84315 16.3431 3.5 18 3.5C19.6569 3.5 21 4.84315 21 6.5Z", stroke: "currentColor", strokeWidth: "inherit", variants: nodeVariants, custom: 1, animate: controls, initial: "normal" }),
|
|
1692
|
+
/* @__PURE__ */ jsx27(motion26.path, { d: "M9 12C9 13.6569 7.65685 15 6 15C4.34315 15 3 13.6569 3 12C3 10.3431 4.34315 9 6 9C7.65685 9 9 10.3431 9 12Z", stroke: "currentColor", strokeWidth: "inherit", variants: nodeVariants, custom: 0, animate: controls, initial: "normal" }),
|
|
1693
|
+
/* @__PURE__ */ jsx27(motion26.path, { d: "M21 17.5C21 19.1569 19.6569 20.5 18 20.5C16.3431 20.5 15 19.1569 15 17.5C15 15.8431 16.3431 14.5 18 14.5C19.6569 14.5 21 15.8431 21 17.5Z", stroke: "currentColor", strokeWidth: "inherit", variants: nodeVariants, custom: 2, animate: controls, initial: "normal" }),
|
|
1694
|
+
/* @__PURE__ */ jsx27(motion26.path, { d: "M8.72852 10.7495L15.2285 7.75M8.72852 13.25L15.2285 16.2495", stroke: "currentColor", strokeWidth: "inherit", variants: wireVariants, animate: controls, initial: "normal" })
|
|
1695
|
+
] }) });
|
|
1696
|
+
});
|
|
1697
|
+
Share08Icon.displayName = "Share08Icon";
|
|
1698
|
+
|
|
1699
|
+
// src/utils/animated-icons/shield-02.tsx
|
|
1700
|
+
import { motion as motion27, useAnimation as useAnimation27 } from "motion/react";
|
|
1701
|
+
import { forwardRef as forwardRef28 } from "react";
|
|
1702
|
+
import { jsx as jsx28, jsxs as jsxs24 } from "react/jsx-runtime";
|
|
1703
|
+
var shieldVariants = {
|
|
1704
|
+
normal: { transform: "translateY(0px) scale(1)" },
|
|
1705
|
+
animate: {
|
|
1706
|
+
transform: ["translateY(0px) scale(1)", "translateY(0.7px) scale(0.94)", "translateY(-0.25px) scale(1.05)", "translateY(0px) scale(1)"],
|
|
1707
|
+
transition: { duration: 0.54, ease: [0.23, 1, 0.32, 1] }
|
|
1708
|
+
}
|
|
1709
|
+
};
|
|
1710
|
+
var shieldCoreVariants = {
|
|
1711
|
+
normal: { transform: "scale(1)" },
|
|
1712
|
+
animate: {
|
|
1713
|
+
transform: ["scale(1)", "scale(0.72)", "scale(1.2)", "scale(1)"],
|
|
1714
|
+
transition: { duration: 0.5, delay: 0.05, ease: [0.23, 1, 0.32, 1] }
|
|
1715
|
+
}
|
|
1716
|
+
};
|
|
1717
|
+
var Shield02Icon = forwardRef28(({ onMouseEnter, onMouseLeave, className, size = 24, ...props }, ref) => {
|
|
1718
|
+
const controls = useAnimation27();
|
|
1719
|
+
const { handleMouseEnter, handleMouseLeave } = useIconAnimation({
|
|
1720
|
+
controls,
|
|
1721
|
+
loops: false,
|
|
1722
|
+
onMouseEnter,
|
|
1723
|
+
onMouseLeave,
|
|
1724
|
+
ref
|
|
1725
|
+
});
|
|
1726
|
+
return /* @__PURE__ */ jsx28("div", { "data-hugeicons-animated": "true", className: cn("inline-flex", className), style: { strokeWidth: 1.5 }, children: /* @__PURE__ */ jsxs24("svg", { className: "h-full w-full", onMouseEnter: handleMouseEnter, onMouseLeave: handleMouseLeave, ...props, xmlns: "http://www.w3.org/2000/svg", width: size, height: size, viewBox: "0 0 24 24", fill: "none", overflow: "visible", children: [
|
|
1727
|
+
/* @__PURE__ */ jsx28(
|
|
1728
|
+
motion27.path,
|
|
1729
|
+
{
|
|
1730
|
+
d: "M18.7088 3.49534C16.8165 2.55382 14.5009 2 12 2C9.4991 2 7.1835 2.55382 5.29116 3.49534C4.36318 3.95706 3.89919 4.18792 3.4496 4.91378C3 5.63965 3 6.34248 3 7.74814V11.2371C3 16.9205 7.54236 20.0804 10.173 21.4338C10.9067 21.8113 11.2735 22 12 22C12.7265 22 13.0933 21.8113 13.8269 21.4338C16.4576 20.0804 21 16.9205 21 11.2371L21 7.74814C21 6.34249 21 5.63966 20.5504 4.91378C20.1008 4.18791 19.6368 3.95706 18.7088 3.49534Z",
|
|
1731
|
+
stroke: "currentColor",
|
|
1732
|
+
strokeLinecap: "round",
|
|
1733
|
+
strokeLinejoin: "round",
|
|
1734
|
+
strokeWidth: "inherit",
|
|
1735
|
+
variants: shieldVariants,
|
|
1736
|
+
animate: controls,
|
|
1737
|
+
initial: "normal",
|
|
1738
|
+
style: { transformOrigin: "12px 12px" }
|
|
1739
|
+
}
|
|
1740
|
+
),
|
|
1741
|
+
/* @__PURE__ */ jsx28(
|
|
1742
|
+
motion27.path,
|
|
1743
|
+
{
|
|
1744
|
+
d: "M15 11C15 12.6568 13.6569 14 12 14C10.3431 14 9 12.6568 9 11C9 9.34314 10.3431 8 12 8C13.6569 8 15 9.34314 15 11Z",
|
|
1745
|
+
stroke: "currentColor",
|
|
1746
|
+
strokeLinecap: "round",
|
|
1747
|
+
strokeLinejoin: "round",
|
|
1748
|
+
strokeWidth: "inherit",
|
|
1749
|
+
variants: shieldCoreVariants,
|
|
1750
|
+
animate: controls,
|
|
1751
|
+
initial: "normal",
|
|
1752
|
+
style: { transformOrigin: "12px 11px" }
|
|
1753
|
+
}
|
|
1754
|
+
)
|
|
1755
|
+
] }) });
|
|
1756
|
+
});
|
|
1757
|
+
Shield02Icon.displayName = "Shield02Icon";
|
|
1758
|
+
|
|
1759
|
+
// src/utils/animated-icons/smile.tsx
|
|
1760
|
+
import { motion as motion28, useAnimation as useAnimation28 } from "motion/react";
|
|
1761
|
+
import { forwardRef as forwardRef29 } from "react";
|
|
1762
|
+
import { jsx as jsx29, jsxs as jsxs25 } from "react/jsx-runtime";
|
|
1763
|
+
var svgVariants3 = {
|
|
1764
|
+
normal: { rotate: 0, transition: { duration: 0.3 } },
|
|
1765
|
+
animate: {
|
|
1766
|
+
rotate: [0, -6, -6, 0],
|
|
1767
|
+
transition: { duration: 1.1, ease: "easeInOut", times: [0, 0.25, 0.75, 1] }
|
|
1768
|
+
}
|
|
1769
|
+
};
|
|
1770
|
+
var mouthVariants = {
|
|
1771
|
+
normal: {
|
|
1772
|
+
d: "M8 15C8.91212 16.2144 10.3643 17 12 17C13.6357 17 15.0879 16.2144 16 15",
|
|
1773
|
+
transition: { duration: 0.3, ease: "easeOut" }
|
|
1774
|
+
},
|
|
1775
|
+
animate: {
|
|
1776
|
+
d: [
|
|
1777
|
+
"M8 15C8.91212 16.2144 10.3643 17 12 17C13.6357 17 15.0879 16.2144 16 15",
|
|
1778
|
+
"M7.6 14.6C8.7 16.6 10.3 17.7 12 17.7C13.7 17.7 15.3 16.6 16.4 14.6",
|
|
1779
|
+
"M7.8 14.8C8.8 16.45 10.35 17.35 12 17.35C13.65 17.35 15.2 16.45 16.2 14.8",
|
|
1780
|
+
"M8 15C8.91212 16.2144 10.3643 17 12 17C13.6357 17 15.0879 16.2144 16 15"
|
|
1781
|
+
],
|
|
1782
|
+
transition: {
|
|
1783
|
+
duration: 1.1,
|
|
1784
|
+
times: [0, 0.36, 0.76, 1],
|
|
1785
|
+
ease: [0.23, 1, 0.32, 1]
|
|
1786
|
+
}
|
|
1787
|
+
}
|
|
1788
|
+
};
|
|
1789
|
+
var eyeVariants = {
|
|
1790
|
+
normal: { scaleY: 1, transition: { duration: 0.2 } },
|
|
1791
|
+
animate: {
|
|
1792
|
+
scaleY: [1, 0.15, 1, 1, 0.15, 1],
|
|
1793
|
+
transition: {
|
|
1794
|
+
duration: 1.1,
|
|
1795
|
+
times: [0, 0.12, 0.24, 0.5, 0.62, 0.74],
|
|
1796
|
+
ease: "easeInOut"
|
|
1797
|
+
}
|
|
1798
|
+
}
|
|
1799
|
+
};
|
|
1800
|
+
var SmileIcon = forwardRef29(({ onMouseEnter, onMouseLeave, className, size = 24, ...props }, ref) => {
|
|
1801
|
+
const controls = useAnimation28();
|
|
1802
|
+
const { handleMouseEnter, handleMouseLeave } = useIconAnimation({
|
|
1803
|
+
controls,
|
|
1804
|
+
loops: false,
|
|
1805
|
+
onMouseEnter,
|
|
1806
|
+
onMouseLeave,
|
|
1807
|
+
ref
|
|
1808
|
+
});
|
|
1809
|
+
return /* @__PURE__ */ jsx29("div", { className: cn("inline-flex", className), style: { strokeWidth: 1.5 }, "data-hugeicons-animated": "true", children: /* @__PURE__ */ jsx29("svg", { onMouseEnter: handleMouseEnter, onMouseLeave: handleMouseLeave, ...props, className: "h-full w-full", xmlns: "http://www.w3.org/2000/svg", width: size, height: size, viewBox: "0 0 24 24", fill: "none", overflow: "visible", children: /* @__PURE__ */ jsxs25(motion28.g, { variants: svgVariants3, animate: controls, initial: "normal", style: { transformOrigin: "12px 12px" }, children: [
|
|
1810
|
+
/* @__PURE__ */ jsx29("circle", { cx: "12", cy: "12", r: "10", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "inherit" }),
|
|
1811
|
+
/* @__PURE__ */ jsx29(motion28.path, { d: "M8 15C8.91212 16.2144 10.3643 17 12 17C13.6357 17 15.0879 16.2144 16 15", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "inherit", variants: mouthVariants, animate: controls, initial: "normal" }),
|
|
1812
|
+
/* @__PURE__ */ jsx29(
|
|
1813
|
+
motion28.path,
|
|
1814
|
+
{
|
|
1815
|
+
d: "M15.625 8.387V8.91649M8.375 8.387V8.91649M8.75 8.75C8.75 8.33579 8.58211 8 8.375 8C8.16789 8 8 8.33579 8 8.75C8 9.16421 8.16789 9.5 8.375 9.5C8.58211 9.5 8.75 9.16421 8.75 8.75ZM16 8.75C16 8.33579 15.8321 8 15.625 8C15.4179 8 15.25 8.33579 15.25 8.75C15.25 9.16421 15.4179 9.5 15.625 9.5C15.8321 9.5 16 9.16421 16 8.75Z",
|
|
1816
|
+
stroke: "currentColor",
|
|
1817
|
+
strokeLinecap: "round",
|
|
1818
|
+
strokeLinejoin: "round",
|
|
1819
|
+
strokeWidth: "inherit",
|
|
1820
|
+
variants: eyeVariants,
|
|
1821
|
+
animate: controls,
|
|
1822
|
+
initial: "normal",
|
|
1823
|
+
style: { transformOrigin: "12px 8.7px" }
|
|
1824
|
+
}
|
|
1825
|
+
)
|
|
1826
|
+
] }) }) });
|
|
1827
|
+
});
|
|
1828
|
+
SmileIcon.displayName = "SmileIcon";
|
|
1829
|
+
|
|
1830
|
+
// src/utils/animated-icons/sparkles.tsx
|
|
1831
|
+
import { motion as motion29, useAnimation as useAnimation29 } from "motion/react";
|
|
1832
|
+
import { forwardRef as forwardRef30 } from "react";
|
|
1833
|
+
import { jsx as jsx30, jsxs as jsxs26 } from "react/jsx-runtime";
|
|
1834
|
+
var sparkleVariants = {
|
|
1835
|
+
normal: { scale: 1, rotate: 0, visibility: "visible", transition: { type: "spring", duration: 0.45, bounce: 0 } },
|
|
1836
|
+
animate: (i) => ({
|
|
1837
|
+
scale: [1, i === 0 ? 1.18 : 0.72, i === 0 ? 0.78 : 1.2, 1],
|
|
1838
|
+
rotate: [0, i === 0 ? 8 : -10, 0],
|
|
1839
|
+
transition: { duration: 1, times: [0, 0.32, 0.7, 1], ease: "easeInOut" }
|
|
1840
|
+
})
|
|
1841
|
+
};
|
|
1842
|
+
var glintVariants2 = {
|
|
1843
|
+
normal: { visibility: "hidden", scale: 0.25 },
|
|
1844
|
+
animate: (i) => ({
|
|
1845
|
+
visibility: ["hidden", "visible", "hidden"],
|
|
1846
|
+
scale: [0.25, 1.1],
|
|
1847
|
+
transition: { duration: 0.45, delay: 0.18 + i * 0.16, ease: "easeOut" }
|
|
1848
|
+
})
|
|
1849
|
+
};
|
|
1850
|
+
var generatedGeometryVariants10 = {
|
|
1851
|
+
normal: { visibility: "hidden", transition: { duration: 0.08 } },
|
|
1852
|
+
animate: { visibility: "visible", transition: { duration: 0.08 } }
|
|
1853
|
+
};
|
|
1854
|
+
var SparklesIcon = forwardRef30(({ onMouseEnter, onMouseLeave, className, size = 24, ...props }, ref) => {
|
|
1855
|
+
const controls = useAnimation29();
|
|
1856
|
+
const { handleMouseEnter, handleMouseLeave } = useIconAnimation({
|
|
1857
|
+
controls,
|
|
1858
|
+
loops: false,
|
|
1859
|
+
onMouseEnter,
|
|
1860
|
+
onMouseLeave,
|
|
1861
|
+
ref
|
|
1862
|
+
});
|
|
1863
|
+
return /* @__PURE__ */ jsx30("div", { "data-hugeicons-animated": "true", className: cn("inline-flex", className), style: { strokeWidth: 1.5 }, children: /* @__PURE__ */ jsxs26("svg", { className: "h-full w-full", onMouseEnter: handleMouseEnter, onMouseLeave: handleMouseLeave, ...props, xmlns: "http://www.w3.org/2000/svg", width: size, height: size, viewBox: "0 0 24 24", fill: "none", overflow: "visible", children: [
|
|
1864
|
+
/* @__PURE__ */ jsx30(
|
|
1865
|
+
motion29.path,
|
|
1866
|
+
{
|
|
1867
|
+
d: "M15 2L15.5387 4.39157C15.9957 6.42015 17.5798 8.00431 19.6084 8.46127L22 9L19.6084 9.53873C17.5798 9.99569 15.9957 11.5798 15.5387 13.6084L15 16L14.4613 13.6084C14.0043 11.5798 12.4202 9.99569 10.3916 9.53873L8 9L10.3916 8.46127C12.4201 8.00431 14.0043 6.42015 14.4613 4.39158L15 2Z",
|
|
1868
|
+
stroke: "currentColor",
|
|
1869
|
+
strokeLinejoin: "round",
|
|
1870
|
+
strokeWidth: "inherit",
|
|
1871
|
+
variants: sparkleVariants,
|
|
1872
|
+
custom: 0,
|
|
1873
|
+
animate: controls,
|
|
1874
|
+
initial: "normal",
|
|
1875
|
+
style: { transformOrigin: "15px 9px" }
|
|
1876
|
+
}
|
|
1877
|
+
),
|
|
1878
|
+
/* @__PURE__ */ jsx30(
|
|
1879
|
+
motion29.path,
|
|
1880
|
+
{
|
|
1881
|
+
d: "M7 12L7.38481 13.7083C7.71121 15.1572 8.84275 16.2888 10.2917 16.6152L12 17L10.2917 17.3848C8.84275 17.7112 7.71121 18.8427 7.38481 20.2917L7 22L6.61519 20.2917C6.28879 18.8427 5.15725 17.7112 3.70827 17.3848L2 17L3.70827 16.6152C5.15725 16.2888 6.28879 15.1573 6.61519 13.7083L7 12Z",
|
|
1882
|
+
stroke: "currentColor",
|
|
1883
|
+
strokeLinejoin: "round",
|
|
1884
|
+
strokeWidth: "inherit",
|
|
1885
|
+
variants: sparkleVariants,
|
|
1886
|
+
custom: 1,
|
|
1887
|
+
animate: controls,
|
|
1888
|
+
initial: "normal",
|
|
1889
|
+
style: { transformOrigin: "7px 17px" }
|
|
1890
|
+
}
|
|
1891
|
+
),
|
|
1892
|
+
/* @__PURE__ */ jsxs26(motion29.g, { variants: generatedGeometryVariants10, animate: controls, initial: "normal", children: [
|
|
1893
|
+
/* @__PURE__ */ jsx30(motion29.path, { d: "M5 4V2.4M4.2 3.2H5.8", stroke: "currentColor", strokeLinecap: "round", strokeWidth: "1.1", variants: glintVariants2, custom: 0, animate: controls, initial: "normal", style: { transformOrigin: "5px 3.2px" } }),
|
|
1894
|
+
/* @__PURE__ */ jsx30(motion29.path, { d: "M19.5 19.5V17.9M18.7 18.7H20.3", stroke: "currentColor", strokeLinecap: "round", strokeWidth: "1.1", variants: glintVariants2, custom: 1, animate: controls, initial: "normal", style: { transformOrigin: "19.5px 18.7px" } })
|
|
1895
|
+
] })
|
|
1896
|
+
] }) });
|
|
1897
|
+
});
|
|
1898
|
+
SparklesIcon.displayName = "SparklesIcon";
|
|
1899
|
+
|
|
1900
|
+
// src/utils/animated-icons/star.tsx
|
|
1901
|
+
import { motion as motion30, useAnimation as useAnimation30 } from "motion/react";
|
|
1902
|
+
import { forwardRef as forwardRef31 } from "react";
|
|
1903
|
+
import { jsx as jsx31 } from "react/jsx-runtime";
|
|
1904
|
+
var STAR_REST = "M13.7276 3.44418L15.4874 6.99288C15.7274 7.48687 16.3673 7.9607 16.9073 8.05143L20.0969 8.58575C22.1367 8.92853 22.6167 10.4206 21.1468 11.8925L18.6671 14.3927C18.2471 14.8161 18.0172 15.6327 18.1471 16.2175L18.8571 19.3125C19.417 21.7623 18.1271 22.71 15.9774 21.4296L12.9877 19.6452C12.4478 19.3226 11.5579 19.3226 11.0079 19.6452L8.01827 21.4296C5.8785 22.71 4.57865 21.7522 5.13859 19.3125L5.84851 16.2175C5.97849 15.6327 5.74852 14.8161 5.32856 14.3927L2.84884 11.8925C1.389 10.4206 1.85895 8.92853 3.89872 8.58575L7.08837 8.05143C7.61831 7.9607 8.25824 7.48687 8.49821 6.99288L10.258 3.44418C11.2179 1.51861 12.7777 1.51861 13.7276 3.44418Z";
|
|
1905
|
+
var STAR_STRETCH = "M13.745 3.356L15.204 7.409C15.392 7.903 15.987 8.322 16.538 8.357L20.176 8.551C22.877 8.696 23.439 10.289 21.339 11.888L18.321 14.274C17.871 14.653 17.689 15.441 17.901 16.053L19.192 19.665C20.362 22.993 18.923 24.087 16.198 21.947L12.955 19.397C12.427 18.992 11.578 18.992 11.041 19.397L7.796 21.949C5.082 24.087 3.632 22.980 4.801 19.666L6.093 16.054C6.306 15.442 6.123 14.654 5.673 14.275L2.654 11.888C0.567 10.289 1.115 8.695 3.817 8.550L7.457 8.356C7.998 8.320 8.594 7.901 8.782 7.407L10.240 3.355C11.161 0.744 12.834 0.744 13.745 3.356Z";
|
|
1906
|
+
var STAR_GLIMMER = "M13.735 3.407L15.377 7.155C15.597 7.649 16.220 8.101 16.764 8.170L20.130 8.571C22.450 8.830 22.964 10.365 21.228 11.891L18.532 14.347C18.101 14.753 17.890 15.558 18.051 16.154L18.999 19.462C19.817 22.283 18.464 23.293 16.071 21.649L12.975 19.549C12.440 19.194 11.566 19.194 11.021 19.549L7.924 21.649C5.542 23.293 4.178 22.272 4.996 19.462L5.944 16.154C6.106 15.558 5.894 14.753 5.463 14.347L2.766 11.890C1.041 10.365 1.544 8.830 3.864 8.571L7.232 8.170C7.766 8.101 8.389 7.648 8.608 7.154L10.250 3.406C11.194 1.191 12.802 1.191 13.735 3.407Z";
|
|
1907
|
+
var starVariants2 = {
|
|
1908
|
+
normal: { d: STAR_REST, transition: { duration: 0.25, ease: "easeOut" } },
|
|
1909
|
+
animate: {
|
|
1910
|
+
d: [STAR_REST, STAR_STRETCH, STAR_REST, STAR_GLIMMER, STAR_REST],
|
|
1911
|
+
transition: { duration: 0.6, ease: "easeInOut", times: [0, 0.28, 0.55, 0.8, 1] }
|
|
1912
|
+
}
|
|
1913
|
+
};
|
|
1914
|
+
var StarIcon = forwardRef31(({ onMouseEnter, onMouseLeave, className, size = 24, ...props }, ref) => {
|
|
1915
|
+
const controls = useAnimation30();
|
|
1916
|
+
const { handleMouseEnter, handleMouseLeave } = useIconAnimation({
|
|
1917
|
+
controls,
|
|
1918
|
+
loops: false,
|
|
1919
|
+
onMouseEnter,
|
|
1920
|
+
onMouseLeave,
|
|
1921
|
+
ref
|
|
1922
|
+
});
|
|
1923
|
+
return /* @__PURE__ */ jsx31("div", { "data-hugeicons-animated": "true", className: cn("inline-flex", className), style: { strokeWidth: 1.5 }, children: /* @__PURE__ */ jsx31("svg", { className: "h-full w-full", onMouseEnter: handleMouseEnter, onMouseLeave: handleMouseLeave, ...props, xmlns: "http://www.w3.org/2000/svg", width: size, height: size, viewBox: "0 0 24 24", fill: "none", overflow: "visible", children: /* @__PURE__ */ jsx31(
|
|
1924
|
+
motion30.path,
|
|
1925
|
+
{
|
|
1926
|
+
d: "M13.7276 3.44418L15.4874 6.99288C15.7274 7.48687 16.3673 7.9607 16.9073 8.05143L20.0969 8.58575C22.1367 8.92853 22.6167 10.4206 21.1468 11.8925L18.6671 14.3927C18.2471 14.8161 18.0172 15.6327 18.1471 16.2175L18.8571 19.3125C19.417 21.7623 18.1271 22.71 15.9774 21.4296L12.9877 19.6452C12.4478 19.3226 11.5579 19.3226 11.0079 19.6452L8.01827 21.4296C5.8785 22.71 4.57865 21.7522 5.13859 19.3125L5.84851 16.2175C5.97849 15.6327 5.74852 14.8161 5.32856 14.3927L2.84884 11.8925C1.389 10.4206 1.85895 8.92853 3.89872 8.58575L7.08837 8.05143C7.61831 7.9607 8.25824 7.48687 8.49821 6.99288L10.258 3.44418C11.2179 1.51861 12.7777 1.51861 13.7276 3.44418Z",
|
|
1927
|
+
stroke: "currentColor",
|
|
1928
|
+
strokeLinecap: "round",
|
|
1929
|
+
strokeLinejoin: "round",
|
|
1930
|
+
strokeWidth: "inherit",
|
|
1931
|
+
variants: starVariants2,
|
|
1932
|
+
animate: controls,
|
|
1933
|
+
initial: "normal"
|
|
1934
|
+
}
|
|
1935
|
+
) }) });
|
|
1936
|
+
});
|
|
1937
|
+
StarIcon.displayName = "StarIcon";
|
|
1938
|
+
|
|
1939
|
+
// src/utils/animated-icons/thumbs-up.tsx
|
|
1940
|
+
import { motion as motion31, useAnimation as useAnimation31 } from "motion/react";
|
|
1941
|
+
import { forwardRef as forwardRef32 } from "react";
|
|
1942
|
+
import { jsx as jsx32, jsxs as jsxs27 } from "react/jsx-runtime";
|
|
1943
|
+
var handVariants = {
|
|
1944
|
+
normal: { transform: "translateY(0px) rotate(0deg) scale(1)" },
|
|
1945
|
+
animate: {
|
|
1946
|
+
transform: ["translateY(0px) rotate(0deg) scale(1)", "translateY(-1.4px) rotate(-5deg) scale(1.035)", "translateY(0.25px) rotate(1.2deg) scale(0.995)", "translateY(0px) rotate(0deg) scale(1)"],
|
|
1947
|
+
transition: { duration: 0.56, ease: [0.23, 1, 0.32, 1] }
|
|
1948
|
+
}
|
|
1949
|
+
};
|
|
1950
|
+
var ThumbsUpIcon = forwardRef32(({ onMouseEnter, onMouseLeave, className, size = 24, ...props }, ref) => {
|
|
1951
|
+
const controls = useAnimation31();
|
|
1952
|
+
const { handleMouseEnter, handleMouseLeave } = useIconAnimation({
|
|
1953
|
+
controls,
|
|
1954
|
+
loops: false,
|
|
1955
|
+
onMouseEnter,
|
|
1956
|
+
onMouseLeave,
|
|
1957
|
+
ref
|
|
1958
|
+
});
|
|
1959
|
+
return /* @__PURE__ */ jsx32("div", { className: cn("inline-flex", className), style: { strokeWidth: 1.5 }, "data-hugeicons-animated": "true", children: /* @__PURE__ */ jsx32("svg", { onMouseEnter: handleMouseEnter, onMouseLeave: handleMouseLeave, ...props, className: "h-full w-full", xmlns: "http://www.w3.org/2000/svg", width: size, height: size, viewBox: "0 0 24 24", fill: "none", overflow: "visible", children: /* @__PURE__ */ jsxs27(motion31.g, { variants: handVariants, animate: controls, initial: "normal", style: { transformOrigin: "7px 18px" }, children: [
|
|
1960
|
+
/* @__PURE__ */ jsx32("path", { d: "M2 12.5C2 11.3954 2.89543 10.5 4 10.5C5.65685 10.5 7 11.8431 7 13.5V17.5C7 19.1569 5.65685 20.5 4 20.5C2.89543 20.5 2 19.6046 2 18.5V12.5Z", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "inherit" }),
|
|
1961
|
+
/* @__PURE__ */ jsx32(
|
|
1962
|
+
"path",
|
|
1963
|
+
{
|
|
1964
|
+
d: "M15.4787 7.80626L15.2124 8.66634C14.9942 9.37111 14.8851 9.72349 14.969 10.0018C15.0369 10.2269 15.1859 10.421 15.389 10.5487C15.64 10.7065 16.0197 10.7065 16.7791 10.7065H17.1831C19.7532 10.7065 21.0382 10.7065 21.6452 11.4673C21.7145 11.5542 21.7762 11.6467 21.8296 11.7437C22.2965 12.5921 21.7657 13.7351 20.704 16.0211C19.7297 18.1189 19.2425 19.1678 18.338 19.7852C18.2505 19.8449 18.1605 19.9013 18.0683 19.9541C17.116 20.5 15.9362 20.5 13.5764 20.5H13.0646C10.2057 20.5 8.77628 20.5 7.88814 19.6395C7 18.7789 7 17.3939 7 14.6239V13.6503C7 12.1946 7 11.4668 7.25834 10.8006C7.51668 10.1344 8.01135 9.58664 9.00069 8.49112L13.0921 3.96056C13.1947 3.84694 13.246 3.79012 13.2913 3.75075C13.7135 3.38328 14.3652 3.42464 14.7344 3.84235C14.774 3.8871 14.8172 3.94991 14.9036 4.07554C15.0388 4.27205 15.1064 4.37031 15.1654 4.46765C15.6928 5.33913 15.8524 6.37436 15.6108 7.35715C15.5838 7.46692 15.5488 7.5801 15.4787 7.80626Z",
|
|
1965
|
+
stroke: "currentColor",
|
|
1966
|
+
strokeLinecap: "round",
|
|
1967
|
+
strokeLinejoin: "round",
|
|
1968
|
+
strokeWidth: "inherit"
|
|
1969
|
+
}
|
|
1970
|
+
)
|
|
1971
|
+
] }) }) });
|
|
1972
|
+
});
|
|
1973
|
+
ThumbsUpIcon.displayName = "ThumbsUpIcon";
|
|
1974
|
+
|
|
1975
|
+
// src/utils/animated-icons/upload-01.tsx
|
|
1976
|
+
import { motion as motion32, useAnimation as useAnimation32 } from "motion/react";
|
|
1977
|
+
import { forwardRef as forwardRef33 } from "react";
|
|
1978
|
+
import { jsx as jsx33, jsxs as jsxs28 } from "react/jsx-runtime";
|
|
1979
|
+
var arrowVariants3 = {
|
|
1980
|
+
normal: { translateY: 0, visibility: "visible" },
|
|
1981
|
+
animate: {
|
|
1982
|
+
translateY: [0, -5, 5, 0],
|
|
1983
|
+
visibility: ["visible", "hidden", "hidden", "visible"],
|
|
1984
|
+
transition: {
|
|
1985
|
+
duration: 0.7,
|
|
1986
|
+
times: [0, 0.42, 0.5, 1],
|
|
1987
|
+
ease: ["easeIn", "linear", "easeOut"]
|
|
1988
|
+
}
|
|
1989
|
+
}
|
|
1990
|
+
};
|
|
1991
|
+
var trayVariants2 = {
|
|
1992
|
+
normal: { translateY: 0 },
|
|
1993
|
+
animate: {
|
|
1994
|
+
translateY: [0, 0.9, 0],
|
|
1995
|
+
transition: { duration: 0.3, ease: "easeOut", delay: 0.08 }
|
|
1996
|
+
}
|
|
1997
|
+
};
|
|
1998
|
+
var Upload01Icon = forwardRef33(({ onMouseEnter, onMouseLeave, className, size = 24, ...props }, ref) => {
|
|
1999
|
+
const controls = useAnimation32();
|
|
2000
|
+
const { handleMouseEnter, handleMouseLeave } = useIconAnimation({
|
|
2001
|
+
controls,
|
|
2002
|
+
loops: false,
|
|
2003
|
+
onMouseEnter,
|
|
2004
|
+
onMouseLeave,
|
|
2005
|
+
ref
|
|
2006
|
+
});
|
|
2007
|
+
return /* @__PURE__ */ jsx33("div", { "data-hugeicons-animated": "true", className: cn("inline-flex", className), style: { strokeWidth: 1.5 }, children: /* @__PURE__ */ jsxs28("svg", { className: "h-full w-full", onMouseEnter: handleMouseEnter, onMouseLeave: handleMouseLeave, ...props, xmlns: "http://www.w3.org/2000/svg", width: size, height: size, viewBox: "0 0 24 24", fill: "none", overflow: "visible", children: [
|
|
2008
|
+
/* @__PURE__ */ jsx33(
|
|
2009
|
+
motion32.path,
|
|
2010
|
+
{
|
|
2011
|
+
d: "M2.99994 17C2.99994 17.93 2.99994 18.395 3.10216 18.7765C3.37956 19.8117 4.18821 20.6204 5.22348 20.8978C5.60498 21 6.06997 21 6.99994 21L16.9999 21C17.9299 21 18.3949 21 18.7764 20.8978C19.8117 20.6204 20.6203 19.8117 20.8977 18.7765C20.9999 18.395 20.9999 17.93 20.9999 17",
|
|
2012
|
+
stroke: "currentColor",
|
|
2013
|
+
strokeLinecap: "round",
|
|
2014
|
+
strokeLinejoin: "round",
|
|
2015
|
+
strokeWidth: "inherit",
|
|
2016
|
+
variants: trayVariants2,
|
|
2017
|
+
animate: controls,
|
|
2018
|
+
initial: "normal"
|
|
2019
|
+
}
|
|
2020
|
+
),
|
|
2021
|
+
/* @__PURE__ */ jsx33(motion32.path, { d: "M16.5 7.49993C16.5 7.49993 13.1858 2.99997 12 2.99996C10.8141 2.99995 7.50002 7.49996 7.50002 7.49996M12 3.99996V16", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "inherit", variants: arrowVariants3, animate: controls, initial: "normal" })
|
|
2022
|
+
] }) });
|
|
2023
|
+
});
|
|
2024
|
+
Upload01Icon.displayName = "Upload01Icon";
|
|
2025
|
+
|
|
2026
|
+
// src/utils/animated-icons/user-add-01.tsx
|
|
2027
|
+
import { motion as motion33, useAnimation as useAnimation33 } from "motion/react";
|
|
2028
|
+
import { forwardRef as forwardRef34 } from "react";
|
|
2029
|
+
import { jsx as jsx34, jsxs as jsxs29 } from "react/jsx-runtime";
|
|
2030
|
+
var personVariants = {
|
|
2031
|
+
normal: { transform: "translateY(0px)" },
|
|
2032
|
+
animate: {
|
|
2033
|
+
transform: ["translateY(0px) scale(1)", "translateY(-1.5px) scale(1.03)", "translateY(0.5px) scale(0.98)", "translateY(0px) scale(1)"],
|
|
2034
|
+
transition: { duration: 0.56, ease: [0.23, 1, 0.32, 1] }
|
|
2035
|
+
}
|
|
2036
|
+
};
|
|
2037
|
+
var plusVariants = {
|
|
2038
|
+
normal: { transform: "rotate(0deg) scale(1)" },
|
|
2039
|
+
animate: {
|
|
2040
|
+
transform: ["rotate(-16deg) scale(0.5)", "rotate(5deg) scale(1.2)", "rotate(-2deg) scale(0.98)", "rotate(0deg) scale(1)"],
|
|
2041
|
+
transition: { duration: 0.5, delay: 0.08, ease: [0.23, 1, 0.32, 1] }
|
|
2042
|
+
}
|
|
2043
|
+
};
|
|
2044
|
+
var UserAdd01Icon = forwardRef34(({ onMouseEnter, onMouseLeave, className, size = 24, ...props }, ref) => {
|
|
2045
|
+
const controls = useAnimation33();
|
|
2046
|
+
const { handleMouseEnter, handleMouseLeave } = useIconAnimation({
|
|
2047
|
+
controls,
|
|
2048
|
+
loops: false,
|
|
2049
|
+
onMouseEnter,
|
|
2050
|
+
onMouseLeave,
|
|
2051
|
+
ref
|
|
2052
|
+
});
|
|
2053
|
+
return /* @__PURE__ */ jsx34("div", { "data-hugeicons-animated": "true", className: cn("inline-flex", className), style: { strokeWidth: 1.5 }, children: /* @__PURE__ */ jsxs29("svg", { className: "h-full w-full", onMouseEnter: handleMouseEnter, onMouseLeave: handleMouseLeave, ...props, xmlns: "http://www.w3.org/2000/svg", width: size, height: size, viewBox: "0 0 24 24", fill: "none", overflow: "visible", children: [
|
|
2054
|
+
/* @__PURE__ */ jsx34(
|
|
2055
|
+
motion33.path,
|
|
2056
|
+
{
|
|
2057
|
+
d: "M15 8C15 5.23858 12.7614 3 10 3C7.23858 3 5 5.23858 5 8C5 10.7614 7.23858 13 10 13C12.7614 13 15 10.7614 15 8Z",
|
|
2058
|
+
stroke: "currentColor",
|
|
2059
|
+
strokeLinecap: "round",
|
|
2060
|
+
strokeLinejoin: "round",
|
|
2061
|
+
strokeWidth: "inherit",
|
|
2062
|
+
variants: personVariants,
|
|
2063
|
+
animate: controls,
|
|
2064
|
+
initial: "normal",
|
|
2065
|
+
style: { transformOrigin: "10px 10px" }
|
|
2066
|
+
}
|
|
2067
|
+
),
|
|
2068
|
+
/* @__PURE__ */ jsx34(motion33.path, { d: "M17.5 21L17.5 14M14 17.5H21", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "inherit", variants: plusVariants, animate: controls, initial: "normal", style: { transformOrigin: "17.5px 17.5px" } }),
|
|
2069
|
+
/* @__PURE__ */ jsx34(motion33.path, { d: "M3 20C3 16.134 6.13401 13 10 13C11.4872 13 12.8662 13.4638 14 14.2547", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "inherit", variants: personVariants, animate: controls, initial: "normal", style: { transformOrigin: "10px 18px" } })
|
|
2070
|
+
] }) });
|
|
2071
|
+
});
|
|
2072
|
+
UserAdd01Icon.displayName = "UserAdd01Icon";
|
|
2073
|
+
|
|
2074
|
+
// src/utils/animated-icons/user-group.tsx
|
|
2075
|
+
import { motion as motion34, useAnimation as useAnimation34 } from "motion/react";
|
|
2076
|
+
import { forwardRef as forwardRef35 } from "react";
|
|
2077
|
+
import { jsx as jsx35, jsxs as jsxs30 } from "react/jsx-runtime";
|
|
2078
|
+
var centerUserVariants = {
|
|
2079
|
+
normal: { transform: "translateY(0px) scale(1)" },
|
|
2080
|
+
animate: {
|
|
2081
|
+
transform: ["translateY(0px) scale(1)", "translateY(-0.65px) scale(1.04)", "translateY(0px) scale(1)"],
|
|
2082
|
+
transition: { duration: 0.5, delay: 0.08, ease: [0.23, 1, 0.32, 1] }
|
|
2083
|
+
}
|
|
2084
|
+
};
|
|
2085
|
+
var sideUserVariants = {
|
|
2086
|
+
normal: { transform: "translateX(0px)" },
|
|
2087
|
+
animate: (direction) => ({
|
|
2088
|
+
transform: [`translateX(${direction * 0.9}px)`, `translateX(${direction * -0.2}px)`, "translateX(0px)"],
|
|
2089
|
+
transition: { duration: 0.5, ease: [0.23, 1, 0.32, 1] }
|
|
2090
|
+
})
|
|
2091
|
+
};
|
|
2092
|
+
var UserGroupIcon = forwardRef35(({ onMouseEnter, onMouseLeave, className, size = 24, ...props }, ref) => {
|
|
2093
|
+
const controls = useAnimation34();
|
|
2094
|
+
const { handleMouseEnter, handleMouseLeave } = useIconAnimation({
|
|
2095
|
+
controls,
|
|
2096
|
+
onMouseEnter,
|
|
2097
|
+
onMouseLeave,
|
|
2098
|
+
ref
|
|
2099
|
+
});
|
|
2100
|
+
return /* @__PURE__ */ jsx35("div", { "data-hugeicons-animated": "true", className: cn("inline-flex", className), style: { strokeWidth: 1.5 }, children: /* @__PURE__ */ jsxs30("svg", { className: "h-full w-full", onMouseEnter: handleMouseEnter, onMouseLeave: handleMouseLeave, ...props, xmlns: "http://www.w3.org/2000/svg", width: size, height: size, viewBox: "0 0 24 24", fill: "none", overflow: "visible", children: [
|
|
2101
|
+
/* @__PURE__ */ jsx35(
|
|
2102
|
+
motion34.path,
|
|
2103
|
+
{
|
|
2104
|
+
d: "M15.5 11C15.5 9.067 13.933 7.5 12 7.5C10.067 7.5 8.5 9.067 8.5 11C8.5 12.933 10.067 14.5 12 14.5C13.933 14.5 15.5 12.933 15.5 11Z",
|
|
2105
|
+
stroke: "currentColor",
|
|
2106
|
+
strokeLinecap: "round",
|
|
2107
|
+
strokeLinejoin: "round",
|
|
2108
|
+
strokeWidth: "inherit",
|
|
2109
|
+
variants: centerUserVariants,
|
|
2110
|
+
style: { transformOrigin: "12px 11px" },
|
|
2111
|
+
animate: controls,
|
|
2112
|
+
initial: "normal"
|
|
2113
|
+
}
|
|
2114
|
+
),
|
|
2115
|
+
/* @__PURE__ */ jsx35(
|
|
2116
|
+
motion34.path,
|
|
2117
|
+
{
|
|
2118
|
+
d: "M15.4827 11.3499C15.8047 11.4475 16.1462 11.5 16.5 11.5C18.433 11.5 20 9.933 20 8C20 6.067 18.433 4.5 16.5 4.5C14.6851 4.5 13.1928 5.8814 13.0173 7.65013",
|
|
2119
|
+
stroke: "currentColor",
|
|
2120
|
+
strokeLinecap: "round",
|
|
2121
|
+
strokeLinejoin: "round",
|
|
2122
|
+
strokeWidth: "inherit",
|
|
2123
|
+
variants: sideUserVariants,
|
|
2124
|
+
custom: 1,
|
|
2125
|
+
animate: controls,
|
|
2126
|
+
initial: "normal"
|
|
2127
|
+
}
|
|
2128
|
+
),
|
|
2129
|
+
/* @__PURE__ */ jsx35(
|
|
2130
|
+
motion34.path,
|
|
2131
|
+
{
|
|
2132
|
+
d: "M10.9827 7.65013C10.8072 5.8814 9.31492 4.5 7.5 4.5C5.567 4.5 4 6.067 4 8C4 9.933 5.567 11.5 7.5 11.5C7.85381 11.5 8.19535 11.4475 8.51727 11.3499",
|
|
2133
|
+
stroke: "currentColor",
|
|
2134
|
+
strokeLinecap: "round",
|
|
2135
|
+
strokeLinejoin: "round",
|
|
2136
|
+
strokeWidth: "inherit",
|
|
2137
|
+
variants: sideUserVariants,
|
|
2138
|
+
custom: -1,
|
|
2139
|
+
animate: controls,
|
|
2140
|
+
initial: "normal"
|
|
2141
|
+
}
|
|
2142
|
+
),
|
|
2143
|
+
/* @__PURE__ */ jsx35(motion34.path, { d: "M22 16.5C22 13.7386 19.5376 11.5 16.5 11.5", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "inherit", variants: sideUserVariants, custom: 1, animate: controls, initial: "normal" }),
|
|
2144
|
+
/* @__PURE__ */ jsx35(
|
|
2145
|
+
motion34.path,
|
|
2146
|
+
{
|
|
2147
|
+
d: "M17.5 19.5C17.5 16.7386 15.0376 14.5 12 14.5C8.96243 14.5 6.5 16.7386 6.5 19.5",
|
|
2148
|
+
stroke: "currentColor",
|
|
2149
|
+
strokeLinecap: "round",
|
|
2150
|
+
strokeLinejoin: "round",
|
|
2151
|
+
strokeWidth: "inherit",
|
|
2152
|
+
variants: centerUserVariants,
|
|
2153
|
+
style: { transformOrigin: "12px 15px" },
|
|
2154
|
+
animate: controls,
|
|
2155
|
+
initial: "normal"
|
|
2156
|
+
}
|
|
2157
|
+
),
|
|
2158
|
+
/* @__PURE__ */ jsx35(motion34.path, { d: "M7.5 11.5C4.46243 11.5 2 13.7386 2 16.5", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "inherit", variants: sideUserVariants, custom: -1, animate: controls, initial: "normal" })
|
|
2159
|
+
] }) });
|
|
2160
|
+
});
|
|
2161
|
+
UserGroupIcon.displayName = "UserGroupIcon";
|
|
2162
|
+
|
|
2163
|
+
// src/utils/animated-icons/user-remove-01.tsx
|
|
2164
|
+
import { motion as motion35, useAnimation as useAnimation35 } from "motion/react";
|
|
2165
|
+
import { forwardRef as forwardRef36 } from "react";
|
|
2166
|
+
import { jsx as jsx36, jsxs as jsxs31 } from "react/jsx-runtime";
|
|
2167
|
+
var personVariants2 = {
|
|
2168
|
+
normal: { transform: "translateX(0px)" },
|
|
2169
|
+
animate: {
|
|
2170
|
+
transform: ["translateX(0px) scale(1)", "translateX(-1.5px) scale(0.97)", "translateX(0.35px) scale(1.01)", "translateX(0px) scale(1)"],
|
|
2171
|
+
transition: { duration: 0.54, ease: [0.23, 1, 0.32, 1] }
|
|
2172
|
+
}
|
|
2173
|
+
};
|
|
2174
|
+
var removeVariants = {
|
|
2175
|
+
normal: { transform: "rotate(0deg) scale(1)" },
|
|
2176
|
+
animate: {
|
|
2177
|
+
transform: ["rotate(-10deg) scale(0.58)", "rotate(12deg) scale(1.2)", "rotate(-3deg) scale(0.98)", "rotate(0deg) scale(1)"],
|
|
2178
|
+
transition: { duration: 0.5, delay: 0.06, ease: [0.23, 1, 0.32, 1] }
|
|
2179
|
+
}
|
|
2180
|
+
};
|
|
2181
|
+
var UserRemove01Icon = forwardRef36(({ onMouseEnter, onMouseLeave, className, size = 24, ...props }, ref) => {
|
|
2182
|
+
const controls = useAnimation35();
|
|
2183
|
+
const { handleMouseEnter, handleMouseLeave } = useIconAnimation({
|
|
2184
|
+
controls,
|
|
2185
|
+
loops: false,
|
|
2186
|
+
onMouseEnter,
|
|
2187
|
+
onMouseLeave,
|
|
2188
|
+
ref
|
|
2189
|
+
});
|
|
2190
|
+
return /* @__PURE__ */ jsx36("div", { "data-hugeicons-animated": "true", className: cn("inline-flex", className), style: { strokeWidth: 1.5 }, children: /* @__PURE__ */ jsxs31("svg", { className: "h-full w-full", onMouseEnter: handleMouseEnter, onMouseLeave: handleMouseLeave, ...props, xmlns: "http://www.w3.org/2000/svg", width: size, height: size, viewBox: "0 0 24 24", fill: "none", overflow: "visible", children: [
|
|
2191
|
+
/* @__PURE__ */ jsx36(
|
|
2192
|
+
motion35.path,
|
|
2193
|
+
{
|
|
2194
|
+
d: "M14.5 8C14.5 5.23858 12.2614 3 9.5 3C6.73858 3 4.5 5.23858 4.5 8C4.5 10.7614 6.73858 13 9.5 13C12.2614 13 14.5 10.7614 14.5 8Z",
|
|
2195
|
+
stroke: "currentColor",
|
|
2196
|
+
strokeLinecap: "round",
|
|
2197
|
+
strokeLinejoin: "round",
|
|
2198
|
+
strokeWidth: "inherit",
|
|
2199
|
+
variants: personVariants2,
|
|
2200
|
+
animate: controls,
|
|
2201
|
+
initial: "normal",
|
|
2202
|
+
style: { transformOrigin: "9.5px 8px" }
|
|
2203
|
+
}
|
|
2204
|
+
),
|
|
2205
|
+
/* @__PURE__ */ jsx36(motion35.path, { d: "M15.5 21L18.5 18M18.5 18L21.5 15M18.5 18L15.5 15M18.5 18L21.5 21", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "inherit", variants: removeVariants, animate: controls, initial: "normal", style: { transformOrigin: "18.5px 18px" } }),
|
|
2206
|
+
/* @__PURE__ */ jsx36(motion35.path, { d: "M2.5 20C2.5 16.134 5.63401 13 9.5 13C10.775 13 11.9704 13.3409 13 13.9365", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "inherit", variants: personVariants2, animate: controls, initial: "normal", style: { transformOrigin: "9.5px 18px" } })
|
|
2207
|
+
] }) });
|
|
2208
|
+
});
|
|
2209
|
+
UserRemove01Icon.displayName = "UserRemove01Icon";
|
|
2210
|
+
|
|
2211
|
+
// src/utils/animated-icons/video-01.tsx
|
|
2212
|
+
import { motion as motion36, useAnimation as useAnimation36 } from "motion/react";
|
|
2213
|
+
import { forwardRef as forwardRef37 } from "react";
|
|
2214
|
+
import { jsx as jsx37, jsxs as jsxs32 } from "react/jsx-runtime";
|
|
2215
|
+
var cameraBodyVariants = {
|
|
2216
|
+
normal: { transform: "scale(1)" },
|
|
2217
|
+
animate: {
|
|
2218
|
+
transform: ["scale(1)", "scale(0.985)", "scale(1.015)", "scale(1)"],
|
|
2219
|
+
transition: { duration: 0.48, ease: [0.23, 1, 0.32, 1] }
|
|
2220
|
+
}
|
|
2221
|
+
};
|
|
2222
|
+
var cameraWingVariants = {
|
|
2223
|
+
normal: { transform: "translateX(0px) scaleX(1)" },
|
|
2224
|
+
animate: {
|
|
2225
|
+
transform: ["translateX(0px) scaleX(1)", "translateX(0.8px) scaleX(1.08)", "translateX(-0.12px) scaleX(0.99)", "translateX(0px) scaleX(1)"],
|
|
2226
|
+
transition: { duration: 0.5, ease: [0.23, 1, 0.32, 1] }
|
|
2227
|
+
}
|
|
2228
|
+
};
|
|
2229
|
+
var recordDotVariants = {
|
|
2230
|
+
normal: { scale: 1, visibility: "visible" },
|
|
2231
|
+
animate: {
|
|
2232
|
+
scale: [1, 0.72, 1.16, 1],
|
|
2233
|
+
visibility: ["visible", "visible", "visible", "visible"],
|
|
2234
|
+
transition: { duration: 0.45, ease: [0.23, 1, 0.32, 1] }
|
|
2235
|
+
}
|
|
2236
|
+
};
|
|
2237
|
+
var Video01Icon = forwardRef37(({ onMouseEnter, onMouseLeave, className, size = 24, ...props }, ref) => {
|
|
2238
|
+
const controls = useAnimation36();
|
|
2239
|
+
const { handleMouseEnter, handleMouseLeave } = useIconAnimation({
|
|
2240
|
+
controls,
|
|
2241
|
+
loops: false,
|
|
2242
|
+
onMouseEnter,
|
|
2243
|
+
onMouseLeave,
|
|
2244
|
+
ref
|
|
2245
|
+
});
|
|
2246
|
+
return /* @__PURE__ */ jsx37("div", { "data-hugeicons-animated": "true", className: cn("inline-flex", className), style: { strokeWidth: 1.5 }, children: /* @__PURE__ */ jsxs32("svg", { className: "h-full w-full", onMouseEnter: handleMouseEnter, onMouseLeave: handleMouseLeave, ...props, xmlns: "http://www.w3.org/2000/svg", width: size, height: size, viewBox: "0 0 24 24", fill: "none", overflow: "visible", children: [
|
|
2247
|
+
/* @__PURE__ */ jsx37(
|
|
2248
|
+
motion36.path,
|
|
2249
|
+
{
|
|
2250
|
+
d: "M2 11C2 7.70017 2 6.05025 3.02513 5.02513C4.05025 4 5.70017 4 9 4H10C13.2998 4 14.9497 4 15.9749 5.02513C17 6.05025 17 7.70017 17 11V13C17 16.2998 17 17.9497 15.9749 18.9749C14.9497 20 13.2998 20 10 20H9C5.70017 20 4.05025 20 3.02513 18.9749C2 17.9497 2 16.2998 2 13V11Z",
|
|
2251
|
+
stroke: "currentColor",
|
|
2252
|
+
strokeWidth: "inherit",
|
|
2253
|
+
variants: cameraBodyVariants,
|
|
2254
|
+
animate: controls,
|
|
2255
|
+
initial: "normal",
|
|
2256
|
+
style: { transformOrigin: "9.5px 12px" }
|
|
2257
|
+
}
|
|
2258
|
+
),
|
|
2259
|
+
/* @__PURE__ */ jsx37(
|
|
2260
|
+
motion36.path,
|
|
2261
|
+
{
|
|
2262
|
+
d: "M17 8.90585L17.1259 8.80196C19.2417 7.05623 20.2996 6.18336 21.1498 6.60482C22 7.02628 22 8.42355 22 11.2181V12.7819C22 15.5765 22 16.9737 21.1498 17.3952C20.2996 17.8166 19.2417 16.9438 17.1259 15.198L17 15.0941",
|
|
2263
|
+
stroke: "currentColor",
|
|
2264
|
+
strokeLinecap: "round",
|
|
2265
|
+
strokeWidth: "inherit",
|
|
2266
|
+
variants: cameraWingVariants,
|
|
2267
|
+
animate: controls,
|
|
2268
|
+
initial: "normal",
|
|
2269
|
+
style: { transformOrigin: "17px 12px" }
|
|
2270
|
+
}
|
|
2271
|
+
),
|
|
2272
|
+
/* @__PURE__ */ jsx37(motion36.circle, { cx: "11.5", cy: "9.5", r: "1.5", stroke: "currentColor", strokeWidth: "inherit", variants: recordDotVariants, animate: controls, initial: "normal", style: { transformOrigin: "11.5px 9.5px" } })
|
|
2273
|
+
] }) });
|
|
2274
|
+
});
|
|
2275
|
+
Video01Icon.displayName = "Video01Icon";
|
|
2276
|
+
|
|
2277
|
+
// src/utils/animated-icons/volume-high.tsx
|
|
2278
|
+
import { motion as motion37, useAnimation as useAnimation37 } from "motion/react";
|
|
2279
|
+
import { forwardRef as forwardRef38 } from "react";
|
|
2280
|
+
import { jsx as jsx38, jsxs as jsxs33 } from "react/jsx-runtime";
|
|
2281
|
+
var speakerVariants = {
|
|
2282
|
+
normal: { transform: "scale(1)", transition: { duration: 0.22 } },
|
|
2283
|
+
animate: {
|
|
2284
|
+
transform: ["scale(1)", "scale(0.97)", "scale(1.055)", "scale(1)"],
|
|
2285
|
+
transition: { duration: 0.9, ease: [0.23, 1, 0.32, 1], repeat: Infinity, repeatDelay: 0.08 }
|
|
2286
|
+
}
|
|
2287
|
+
};
|
|
2288
|
+
var waveVariants2 = {
|
|
2289
|
+
normal: { visibility: "visible", transform: "translateX(0px) scale(1)", transition: { duration: 0.22 } },
|
|
2290
|
+
animate: (i) => ({
|
|
2291
|
+
visibility: ["visible", "visible", "visible"],
|
|
2292
|
+
transform: ["translateX(-0.6px) scale(0.82)", "translateX(0px) scale(1.06)", "translateX(0px) scale(1)"],
|
|
2293
|
+
transition: {
|
|
2294
|
+
duration: 0.9,
|
|
2295
|
+
ease: [0.23, 1, 0.32, 1],
|
|
2296
|
+
repeat: Infinity,
|
|
2297
|
+
repeatDelay: 0.08,
|
|
2298
|
+
delay: i * 0.14
|
|
2299
|
+
}
|
|
2300
|
+
})
|
|
2301
|
+
};
|
|
2302
|
+
var VolumeHighIcon = forwardRef38(({ onMouseEnter, onMouseLeave, className, size = 24, ...props }, ref) => {
|
|
2303
|
+
const controls = useAnimation37();
|
|
2304
|
+
const { handleMouseEnter, handleMouseLeave } = useIconAnimation({
|
|
2305
|
+
controls,
|
|
2306
|
+
loops: true,
|
|
2307
|
+
onMouseEnter,
|
|
2308
|
+
onMouseLeave,
|
|
2309
|
+
ref
|
|
2310
|
+
});
|
|
2311
|
+
return /* @__PURE__ */ jsx38("div", { "data-hugeicons-animated": "true", className: cn("inline-flex", className), style: { strokeWidth: 1.5 }, children: /* @__PURE__ */ jsxs33("svg", { className: "h-full w-full", onMouseEnter: handleMouseEnter, onMouseLeave: handleMouseLeave, ...props, xmlns: "http://www.w3.org/2000/svg", width: size, height: size, viewBox: "0 0 24 24", fill: "none", overflow: "visible", children: [
|
|
2312
|
+
/* @__PURE__ */ jsx38(
|
|
2313
|
+
motion37.path,
|
|
2314
|
+
{
|
|
2315
|
+
d: "M14 14.8135V9.18646C14 6.04126 14 4.46866 13.0747 4.0773C12.1494 3.68593 11.0603 4.79793 8.88232 7.02192C7.75439 8.17365 7.11085 8.42869 5.50604 8.42869C4.10257 8.42869 3.40084 8.42869 2.89675 8.77262C1.85035 9.48655 2.00852 10.882 2.00852 12C2.00852 13.118 1.85035 14.5134 2.89675 15.2274C3.40084 15.5713 4.10257 15.5713 5.50604 15.5713C7.11085 15.5713 7.75439 15.8264 8.88232 16.9781C11.0603 19.2021 12.1494 20.3141 13.0747 19.9227C14 19.5313 14 17.9587 14 14.8135Z",
|
|
2316
|
+
stroke: "currentColor",
|
|
2317
|
+
strokeLinecap: "round",
|
|
2318
|
+
strokeLinejoin: "round",
|
|
2319
|
+
strokeWidth: "inherit",
|
|
2320
|
+
variants: speakerVariants,
|
|
2321
|
+
animate: controls,
|
|
2322
|
+
initial: "normal",
|
|
2323
|
+
style: { transformOrigin: "8px 12px" }
|
|
2324
|
+
}
|
|
2325
|
+
),
|
|
2326
|
+
/* @__PURE__ */ jsx38(motion37.path, { d: "M17 9C17.6254 9.81968 18 10.8634 18 12C18 13.1366 17.6254 14.1803 17 15", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "inherit", variants: waveVariants2, custom: 0, animate: controls, initial: "normal", style: { transformOrigin: "14px 12px" } }),
|
|
2327
|
+
/* @__PURE__ */ jsx38(motion37.path, { d: "M20 7C21.2508 8.36613 22 10.1057 22 12C22 13.8943 21.2508 15.6339 20 17", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "inherit", variants: waveVariants2, custom: 1, animate: controls, initial: "normal", style: { transformOrigin: "14px 12px" } })
|
|
2328
|
+
] }) });
|
|
2329
|
+
});
|
|
2330
|
+
VolumeHighIcon.displayName = "VolumeHighIcon";
|
|
2331
|
+
|
|
2332
|
+
// src/utils/animated-icons/volume-mute-01.tsx
|
|
2333
|
+
import { motion as motion38, useAnimation as useAnimation38 } from "motion/react";
|
|
2334
|
+
import { forwardRef as forwardRef39 } from "react";
|
|
2335
|
+
import { jsx as jsx39, jsxs as jsxs34 } from "react/jsx-runtime";
|
|
2336
|
+
var MUTE_MARK = "M20 9.75L23 14.25M23 9.75L20 14.25";
|
|
2337
|
+
var SOUND_WAVE = "M20 9C20.6254 9.81968 21 10.8634 21 12C21 13.1366 20.6254 14.1803 20 15";
|
|
2338
|
+
var MUTE_DURATION = 1.12;
|
|
2339
|
+
var MUTE_TIMES = [0, 0.05, 0.1, 0.16, 0.24, 0.34, 0.44, 0.56, 0.68, 0.76, 0.82, 0.87, 0.92, 0.97, 1];
|
|
2340
|
+
var departingMuteVariants = {
|
|
2341
|
+
normal: {
|
|
2342
|
+
transform: "translate(0px, 0px)",
|
|
2343
|
+
transition: { duration: 0.18, ease: [0.23, 1, 0.32, 1] }
|
|
2344
|
+
},
|
|
2345
|
+
animate: {
|
|
2346
|
+
transform: [
|
|
2347
|
+
"translate(0px, 0px)",
|
|
2348
|
+
"translate(0.8px, 0.8px)",
|
|
2349
|
+
"translate(4px, 4px)",
|
|
2350
|
+
"translate(24px, 24px)",
|
|
2351
|
+
"translate(24px, 24px)",
|
|
2352
|
+
"translate(24px, 24px)",
|
|
2353
|
+
"translate(24px, 24px)",
|
|
2354
|
+
"translate(24px, 24px)",
|
|
2355
|
+
"translate(24px, 24px)",
|
|
2356
|
+
"translate(24px, 24px)",
|
|
2357
|
+
"translate(24px, 24px)",
|
|
2358
|
+
"translate(24px, 24px)",
|
|
2359
|
+
"translate(24px, 24px)",
|
|
2360
|
+
"translate(24px, 24px)",
|
|
2361
|
+
"translate(24px, 24px)"
|
|
2362
|
+
],
|
|
2363
|
+
transition: {
|
|
2364
|
+
duration: MUTE_DURATION,
|
|
2365
|
+
ease: "linear",
|
|
2366
|
+
times: MUTE_TIMES
|
|
2367
|
+
}
|
|
2368
|
+
}
|
|
2369
|
+
};
|
|
2370
|
+
var soundWaveVariants = {
|
|
2371
|
+
normal: {
|
|
2372
|
+
pathLength: 0,
|
|
2373
|
+
transition: { duration: 0.18, ease: [0.23, 1, 0.32, 1] }
|
|
2374
|
+
},
|
|
2375
|
+
animate: {
|
|
2376
|
+
pathLength: [0, 0, 0, 0, 0.25, 0.7, 1, 1, 1, 1, 1, 1, 0.8, 0.3, 0],
|
|
2377
|
+
transition: {
|
|
2378
|
+
duration: MUTE_DURATION,
|
|
2379
|
+
ease: "linear",
|
|
2380
|
+
times: MUTE_TIMES
|
|
2381
|
+
}
|
|
2382
|
+
}
|
|
2383
|
+
};
|
|
2384
|
+
var arrivingMuteVariants = {
|
|
2385
|
+
normal: {
|
|
2386
|
+
transform: "translate(-24px, -24px)",
|
|
2387
|
+
transition: { duration: 0.18, ease: [0.23, 1, 0.32, 1] }
|
|
2388
|
+
},
|
|
2389
|
+
animate: {
|
|
2390
|
+
transform: [
|
|
2391
|
+
"translate(-24px, -24px)",
|
|
2392
|
+
"translate(-24px, -24px)",
|
|
2393
|
+
"translate(-24px, -24px)",
|
|
2394
|
+
"translate(-24px, -24px)",
|
|
2395
|
+
"translate(-24px, -24px)",
|
|
2396
|
+
"translate(-24px, -24px)",
|
|
2397
|
+
"translate(-24px, -24px)",
|
|
2398
|
+
"translate(-24px, -24px)",
|
|
2399
|
+
"translate(-24px, -24px)",
|
|
2400
|
+
"translate(-24px, -24px)",
|
|
2401
|
+
"translate(-18px, -18px)",
|
|
2402
|
+
"translate(-9px, -9px)",
|
|
2403
|
+
"translate(-3px, -3px)",
|
|
2404
|
+
"translate(-0.6px, -0.6px)",
|
|
2405
|
+
"translate(0px, 0px)"
|
|
2406
|
+
],
|
|
2407
|
+
transition: {
|
|
2408
|
+
duration: MUTE_DURATION,
|
|
2409
|
+
ease: "linear",
|
|
2410
|
+
times: MUTE_TIMES
|
|
2411
|
+
}
|
|
2412
|
+
}
|
|
2413
|
+
};
|
|
2414
|
+
var generatedGeometryVariants11 = {
|
|
2415
|
+
normal: { visibility: "hidden", transition: { duration: 0 } },
|
|
2416
|
+
animate: { visibility: "visible", transition: { duration: 0 } }
|
|
2417
|
+
};
|
|
2418
|
+
var VolumeMute01Icon = forwardRef39(({ onMouseEnter, onMouseLeave, className, size = 24, ...props }, ref) => {
|
|
2419
|
+
const controls = useAnimation38();
|
|
2420
|
+
const { handleMouseEnter, handleMouseLeave } = useIconAnimation({
|
|
2421
|
+
controls,
|
|
2422
|
+
loops: false,
|
|
2423
|
+
onMouseEnter,
|
|
2424
|
+
onMouseLeave,
|
|
2425
|
+
ref
|
|
2426
|
+
});
|
|
2427
|
+
return /* @__PURE__ */ jsx39("div", { "data-hugeicons-animated": "true", className: cn("inline-flex", className), style: { strokeWidth: 1.5 }, children: /* @__PURE__ */ jsxs34("svg", { className: "h-full w-full", onMouseEnter: handleMouseEnter, onMouseLeave: handleMouseLeave, ...props, xmlns: "http://www.w3.org/2000/svg", width: size, height: size, viewBox: "0 0 24 24", fill: "none", overflow: "hidden", children: [
|
|
2428
|
+
/* @__PURE__ */ jsx39(
|
|
2429
|
+
"path",
|
|
2430
|
+
{
|
|
2431
|
+
d: "M18 14.8135V9.18646C18 6.04126 18 4.46866 17.074 4.0773C16.1481 3.68593 15.0583 4.79793 12.8787 7.02192C11.7499 8.17365 11.1059 8.42869 9.5 8.42869C8.3879 8.42869 7.02749 8.28131 6.33706 9.33566C6 9.85038 6 10.5669 6 12C6 13.4331 6 14.1496 6.33706 14.6643C7.02749 15.7187 8.3879 15.5713 9.5 15.5713C11.106 15.5713 11.7499 15.8264 12.8787 16.9781C15.0583 19.2021 16.1481 20.3141 17.074 19.9227C18 19.5313 18 17.9587 18 14.8135Z",
|
|
2432
|
+
stroke: "currentColor",
|
|
2433
|
+
strokeLinecap: "round",
|
|
2434
|
+
strokeLinejoin: "round",
|
|
2435
|
+
strokeWidth: "inherit"
|
|
2436
|
+
}
|
|
2437
|
+
),
|
|
2438
|
+
/* @__PURE__ */ jsx39(motion38.path, { d: MUTE_MARK, stroke: "currentColor", strokeLinecap: "round", strokeWidth: "inherit", variants: departingMuteVariants, animate: controls, initial: "normal" }),
|
|
2439
|
+
/* @__PURE__ */ jsxs34(motion38.g, { variants: generatedGeometryVariants11, animate: controls, initial: "normal", children: [
|
|
2440
|
+
/* @__PURE__ */ jsx39(motion38.path, { d: SOUND_WAVE, stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "inherit", variants: soundWaveVariants, animate: controls, initial: "normal" }),
|
|
2441
|
+
/* @__PURE__ */ jsx39(motion38.path, { d: MUTE_MARK, stroke: "currentColor", strokeLinecap: "round", strokeWidth: "inherit", variants: arrivingMuteVariants, animate: controls, initial: "normal" })
|
|
2442
|
+
] })
|
|
2443
|
+
] }) });
|
|
2444
|
+
});
|
|
2445
|
+
VolumeMute01Icon.displayName = "VolumeMute01Icon";
|
|
2446
|
+
|
|
2447
|
+
// src/utils/animated-icons/zoom-in-area.tsx
|
|
2448
|
+
import { motion as motion39, useAnimation as useAnimation39 } from "motion/react";
|
|
2449
|
+
import { forwardRef as forwardRef40 } from "react";
|
|
2450
|
+
import { jsx as jsx40, jsxs as jsxs35 } from "react/jsx-runtime";
|
|
2451
|
+
var lensVariants = {
|
|
2452
|
+
normal: { transform: "scale(1)" },
|
|
2453
|
+
animate: {
|
|
2454
|
+
transform: ["scale(1)", "scale(1.075)", "scale(0.99)", "scale(1)"],
|
|
2455
|
+
transition: {
|
|
2456
|
+
duration: 0.5,
|
|
2457
|
+
ease: [0.23, 1, 0.32, 1],
|
|
2458
|
+
times: [0, 0.42, 0.76, 1]
|
|
2459
|
+
}
|
|
2460
|
+
}
|
|
2461
|
+
};
|
|
2462
|
+
var plusVariants2 = {
|
|
2463
|
+
normal: { transform: "scale(1)" },
|
|
2464
|
+
animate: {
|
|
2465
|
+
transform: ["scale(1)", "scale(0.7)", "scale(1.1)", "scale(1)"],
|
|
2466
|
+
transition: {
|
|
2467
|
+
duration: 0.46,
|
|
2468
|
+
delay: 0.03,
|
|
2469
|
+
ease: [0.23, 1, 0.32, 1],
|
|
2470
|
+
times: [0, 0.42, 0.75, 1]
|
|
2471
|
+
}
|
|
2472
|
+
}
|
|
2473
|
+
};
|
|
2474
|
+
var ZoomInAreaIcon = forwardRef40(({ onMouseEnter, onMouseLeave, className, size = 24, ...props }, ref) => {
|
|
2475
|
+
const controls = useAnimation39();
|
|
2476
|
+
const { handleMouseEnter, handleMouseLeave } = useIconAnimation({
|
|
2477
|
+
controls,
|
|
2478
|
+
onMouseEnter,
|
|
2479
|
+
onMouseLeave,
|
|
2480
|
+
ref
|
|
2481
|
+
});
|
|
2482
|
+
return /* @__PURE__ */ jsx40("div", { "data-hugeicons-animated": "true", className: cn("inline-flex", className), style: { strokeWidth: 1.5 }, children: /* @__PURE__ */ jsxs35("svg", { className: "h-full w-full", onMouseEnter: handleMouseEnter, onMouseLeave: handleMouseLeave, ...props, xmlns: "http://www.w3.org/2000/svg", width: size, height: size, viewBox: "0 0 24 24", fill: "none", overflow: "visible", children: [
|
|
2483
|
+
/* @__PURE__ */ jsx40(
|
|
2484
|
+
motion39.path,
|
|
2485
|
+
{
|
|
2486
|
+
d: "M18.5016 19.1217L21 21.6217M20 15.1217C20 12.0842 17.5376 9.62173 14.5 9.62173C11.4624 9.62173 9 12.0842 9 15.1217C9 18.1593 11.4624 20.6217 14.5 20.6217C17.5376 20.6217 20 18.1593 20 15.1217Z",
|
|
2487
|
+
stroke: "currentColor",
|
|
2488
|
+
strokeLinecap: "round",
|
|
2489
|
+
strokeLinejoin: "round",
|
|
2490
|
+
strokeWidth: "inherit",
|
|
2491
|
+
variants: lensVariants,
|
|
2492
|
+
animate: controls,
|
|
2493
|
+
initial: "normal",
|
|
2494
|
+
style: { transformOrigin: "14.5px 15.1217px" }
|
|
2495
|
+
}
|
|
2496
|
+
),
|
|
2497
|
+
/* @__PURE__ */ jsx40(motion39.path, { d: "M14.5 13.1217V17.1217M16.5 15.1217H12.5", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "inherit", variants: plusVariants2, animate: controls, initial: "normal", style: { transformOrigin: "14.5px 15.1217px" } }),
|
|
2498
|
+
/* @__PURE__ */ jsx40("path", { d: "M10 3.62173H14M3 10.6217V14.6217M6.5 21.6217C4.567 21.6217 3 20.0547 3 18.1217M17.5 3.62173C19.433 3.62173 21 5.18873 21 7.12173M3 7.12173C3 5.18873 4.567 3.62173 6.5 3.62173", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "inherit" })
|
|
2499
|
+
] }) });
|
|
2500
|
+
});
|
|
2501
|
+
ZoomInAreaIcon.displayName = "ZoomInAreaIcon";
|
|
2502
|
+
|
|
2503
|
+
// src/utils/animated-icons/zoom-out-area.tsx
|
|
2504
|
+
import { motion as motion40, useAnimation as useAnimation40 } from "motion/react";
|
|
2505
|
+
import { forwardRef as forwardRef41 } from "react";
|
|
2506
|
+
import { jsx as jsx41, jsxs as jsxs36 } from "react/jsx-runtime";
|
|
2507
|
+
var lensVariants2 = {
|
|
2508
|
+
normal: { transform: "scale(1)" },
|
|
2509
|
+
animate: {
|
|
2510
|
+
transform: ["scale(1)", "scale(0.91)", "scale(1.015)", "scale(1)"],
|
|
2511
|
+
transition: {
|
|
2512
|
+
duration: 0.5,
|
|
2513
|
+
ease: [0.23, 1, 0.32, 1],
|
|
2514
|
+
times: [0, 0.42, 0.75, 1]
|
|
2515
|
+
}
|
|
2516
|
+
}
|
|
2517
|
+
};
|
|
2518
|
+
var minusVariants = {
|
|
2519
|
+
normal: { d: "M16.5 14.5H12.5" },
|
|
2520
|
+
animate: {
|
|
2521
|
+
d: ["M16.5 14.5H12.5", "M15.3 14.5H13.7", "M16.65 14.5H12.35", "M16.5 14.5H12.5"],
|
|
2522
|
+
transition: {
|
|
2523
|
+
duration: 0.46,
|
|
2524
|
+
delay: 0.03,
|
|
2525
|
+
ease: [0.23, 1, 0.32, 1],
|
|
2526
|
+
times: [0, 0.46, 0.76, 1]
|
|
2527
|
+
}
|
|
2528
|
+
}
|
|
2529
|
+
};
|
|
2530
|
+
var ZoomOutAreaIcon = forwardRef41(({ onMouseEnter, onMouseLeave, className, size = 24, ...props }, ref) => {
|
|
2531
|
+
const controls = useAnimation40();
|
|
2532
|
+
const { handleMouseEnter, handleMouseLeave } = useIconAnimation({
|
|
2533
|
+
controls,
|
|
2534
|
+
onMouseEnter,
|
|
2535
|
+
onMouseLeave,
|
|
2536
|
+
ref
|
|
2537
|
+
});
|
|
2538
|
+
return /* @__PURE__ */ jsx41("div", { "data-hugeicons-animated": "true", className: cn("inline-flex", className), style: { strokeWidth: 1.5 }, children: /* @__PURE__ */ jsxs36("svg", { className: "h-full w-full", onMouseEnter: handleMouseEnter, onMouseLeave: handleMouseLeave, ...props, xmlns: "http://www.w3.org/2000/svg", width: size, height: size, viewBox: "0 0 24 24", fill: "none", overflow: "visible", children: [
|
|
2539
|
+
/* @__PURE__ */ jsx41(
|
|
2540
|
+
motion40.path,
|
|
2541
|
+
{
|
|
2542
|
+
d: "M18.5016 18.5L21 21M20 14.5C20 11.4624 17.5376 9 14.5 9C11.4624 9 9 11.4624 9 14.5C9 17.5376 11.4624 20 14.5 20C17.5376 20 20 17.5376 20 14.5Z",
|
|
2543
|
+
stroke: "currentColor",
|
|
2544
|
+
strokeLinecap: "round",
|
|
2545
|
+
strokeLinejoin: "round",
|
|
2546
|
+
strokeWidth: "inherit",
|
|
2547
|
+
variants: lensVariants2,
|
|
2548
|
+
animate: controls,
|
|
2549
|
+
initial: "normal",
|
|
2550
|
+
style: { transformOrigin: "14.5px 14.5px" }
|
|
2551
|
+
}
|
|
2552
|
+
),
|
|
2553
|
+
/* @__PURE__ */ jsx41(motion40.path, { d: "M16.5 14.5H12.5", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "inherit", variants: minusVariants, animate: controls, initial: "normal" }),
|
|
2554
|
+
/* @__PURE__ */ jsx41("path", { d: "M10 3H14M3 10V14M6.5 21C4.567 21 3 19.433 3 17.5M17.5 3C19.433 3 21 4.567 21 6.5M3 6.5C3 4.567 4.567 3 6.5 3", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "inherit" })
|
|
2555
|
+
] }) });
|
|
2556
|
+
});
|
|
2557
|
+
ZoomOutAreaIcon.displayName = "ZoomOutAreaIcon";
|
|
2558
|
+
|
|
2559
|
+
// src/utils/animated-icons/maximize-screen.tsx
|
|
2560
|
+
import { motion as motion41, useAnimation as useAnimation41 } from "motion/react";
|
|
2561
|
+
import { forwardRef as forwardRef42, useId as useId3 } from "react";
|
|
2562
|
+
import { jsx as jsx42, jsxs as jsxs37 } from "react/jsx-runtime";
|
|
2563
|
+
var MAXIMIZE_WINDOW = "M2 17C2 15.1144 2 14.1716 2.58579 13.5858C3.17157 13 4.11438 13 6 13H7C8.88562 13 9.82843 13 10.4142 13.5858C11 14.1716 11 15.1144 11 17V18C11 19.8856 11 20.8284 10.4142 21.4142C9.82843 22 8.88562 22 7 22H6C4.11438 22 3.17157 22 2.58579 21.4142C2 20.8284 2 19.8856 2 18V17Z";
|
|
2564
|
+
var MAXIMIZE_OUTER_SOURCE = "M2 8.5V10.5M14 2H10M22 14V10M13.5 22H15.5M2.05986 5.5C2.21387 4.43442 2.51347 3.67903 3.09625 3.09625C3.67903 2.51347 4.43442 2.21387 5.5 2.05986M18.5 2.05986C19.5656 2.21387 20.321 2.51347 20.9037 3.09625C21.4865 3.67903 21.7861 4.43442 21.9401 5.5M21.9401 18.5C21.7861 19.5656 21.4865 20.321 20.9037 20.9037C20.321 21.4865 19.5656 21.7861 18.5 21.9401";
|
|
2565
|
+
var MAXIMIZE_DURATION = 0.86;
|
|
2566
|
+
var MAXIMIZE_TIMES = [0, 0.07, 0.14, 0.23, 0.34, 0.46, 0.58, 0.68, 0.76, 0.82, 0.88, 0.94, 1];
|
|
2567
|
+
function createExpandedWindowPath({ right, top }) {
|
|
2568
|
+
return `M2 ${top + 4}C2 ${top + 2.1144} 2 ${top + 1.1716} 2.58579 ${top + 0.5858}C3.17157 ${top} 4.11438 ${top} 6 ${top}H${right - 4}C${right - 2.11438} ${top} ${right - 1.17157} ${top} ${right - 0.5858} ${top + 0.5858}C${right} ${top + 1.1716} ${right} ${top + 2.1144} ${right} ${top + 4}V18C${right} 19.8856 ${right} 20.8284 ${right - 0.5858} 21.4142C${right - 1.17157} 22 ${right - 2.11438} 22 ${right - 4} 22H6C4.11438 22 3.17157 22 2.58579 21.4142C2 20.8284 2 19.8856 2 18V${top + 4}Z`;
|
|
2569
|
+
}
|
|
2570
|
+
var EXPANDING_WINDOW_FRAMES = [
|
|
2571
|
+
MAXIMIZE_WINDOW,
|
|
2572
|
+
MAXIMIZE_WINDOW,
|
|
2573
|
+
createExpandedWindowPath({ right: 11.66, top: 12.34 }),
|
|
2574
|
+
createExpandedWindowPath({ right: 12.98, top: 11.02 }),
|
|
2575
|
+
createExpandedWindowPath({ right: 15.18, top: 8.82 }),
|
|
2576
|
+
createExpandedWindowPath({ right: 17.82, top: 6.18 }),
|
|
2577
|
+
createExpandedWindowPath({ right: 20.02, top: 3.98 }),
|
|
2578
|
+
createExpandedWindowPath({ right: 21.45, top: 2.55 }),
|
|
2579
|
+
createExpandedWindowPath({ right: 22, top: 2 }),
|
|
2580
|
+
createExpandedWindowPath({ right: 22, top: 2 }),
|
|
2581
|
+
createExpandedWindowPath({ right: 20.02, top: 3.98 }),
|
|
2582
|
+
createExpandedWindowPath({ right: 15.18, top: 8.82 }),
|
|
2583
|
+
MAXIMIZE_WINDOW
|
|
2584
|
+
];
|
|
2585
|
+
var arrowVariants4 = {
|
|
2586
|
+
normal: { transform: "translate(0px, 0px)" },
|
|
2587
|
+
animate: {
|
|
2588
|
+
transform: [
|
|
2589
|
+
"translate(0px, 0px)",
|
|
2590
|
+
"translate(0.2px, -0.2px)",
|
|
2591
|
+
"translate(0.55px, -0.55px)",
|
|
2592
|
+
"translate(1.1px, -1.1px)",
|
|
2593
|
+
"translate(1.45px, -1.45px)",
|
|
2594
|
+
"translate(0.9px, -0.9px)",
|
|
2595
|
+
"translate(0.35px, -0.35px)",
|
|
2596
|
+
"translate(0px, 0px)",
|
|
2597
|
+
"translate(0px, 0px)",
|
|
2598
|
+
"translate(0px, 0px)",
|
|
2599
|
+
"translate(0.35px, -0.35px)",
|
|
2600
|
+
"translate(0.15px, -0.15px)",
|
|
2601
|
+
"translate(0px, 0px)"
|
|
2602
|
+
],
|
|
2603
|
+
transition: {
|
|
2604
|
+
duration: MAXIMIZE_DURATION,
|
|
2605
|
+
ease: [0.77, 0, 0.175, 1],
|
|
2606
|
+
times: MAXIMIZE_TIMES
|
|
2607
|
+
}
|
|
2608
|
+
}
|
|
2609
|
+
};
|
|
2610
|
+
var sourceWindowVariants = {
|
|
2611
|
+
normal: {
|
|
2612
|
+
d: MAXIMIZE_WINDOW,
|
|
2613
|
+
strokeDasharray: "100 0",
|
|
2614
|
+
strokeDashoffset: 0,
|
|
2615
|
+
visibility: "visible"
|
|
2616
|
+
},
|
|
2617
|
+
animate: {
|
|
2618
|
+
d: EXPANDING_WINDOW_FRAMES,
|
|
2619
|
+
strokeDasharray: ["100 0", "100 0", "100 0", "100 0", "100 0", "100 0", "36 0.4", "12 1", "5 1.8", "2.6 2.2", "5 1.8", "36 0.4", "100 0"],
|
|
2620
|
+
strokeDashoffset: [0, 0, 0, 0, 0, 0, 0.5, 1.5, 3, 4, 3, 0.5, 0],
|
|
2621
|
+
visibility: ["visible", "visible", "visible", "visible", "visible", "visible", "visible", "visible", "visible", "visible", "hidden", "hidden", "visible"],
|
|
2622
|
+
transition: {
|
|
2623
|
+
duration: MAXIMIZE_DURATION,
|
|
2624
|
+
ease: "linear",
|
|
2625
|
+
times: MAXIMIZE_TIMES
|
|
2626
|
+
}
|
|
2627
|
+
}
|
|
2628
|
+
};
|
|
2629
|
+
var sourceOuterFrameVariants = {
|
|
2630
|
+
normal: { pathLength: 1 },
|
|
2631
|
+
animate: {
|
|
2632
|
+
pathLength: [1, 1, 1, 0.92, 0.72, 0.42, 0.15, 0, 0, 0, 0.18, 0.55, 1],
|
|
2633
|
+
transition: {
|
|
2634
|
+
duration: MAXIMIZE_DURATION,
|
|
2635
|
+
ease: "linear",
|
|
2636
|
+
times: MAXIMIZE_TIMES
|
|
2637
|
+
}
|
|
2638
|
+
}
|
|
2639
|
+
};
|
|
2640
|
+
var arrivingWindowVariants = {
|
|
2641
|
+
normal: { transform: "translate(-12px, 12px)" },
|
|
2642
|
+
animate: {
|
|
2643
|
+
transform: [
|
|
2644
|
+
"translate(-12px, 12px)",
|
|
2645
|
+
"translate(-12px, 12px)",
|
|
2646
|
+
"translate(-12px, 12px)",
|
|
2647
|
+
"translate(-12px, 12px)",
|
|
2648
|
+
"translate(-12px, 12px)",
|
|
2649
|
+
"translate(-9px, 9px)",
|
|
2650
|
+
"translate(-4.5px, 4.5px)",
|
|
2651
|
+
"translate(-1px, 1px)",
|
|
2652
|
+
"translate(0px, 0px)",
|
|
2653
|
+
"translate(0px, 0px)",
|
|
2654
|
+
"translate(0px, 0px)",
|
|
2655
|
+
"translate(0px, 0px)",
|
|
2656
|
+
"translate(0px, 0px)"
|
|
2657
|
+
],
|
|
2658
|
+
transition: {
|
|
2659
|
+
duration: MAXIMIZE_DURATION,
|
|
2660
|
+
ease: "linear",
|
|
2661
|
+
times: MAXIMIZE_TIMES
|
|
2662
|
+
}
|
|
2663
|
+
}
|
|
2664
|
+
};
|
|
2665
|
+
var generatedGeometryVariants12 = {
|
|
2666
|
+
normal: { visibility: "hidden", transition: { duration: 0 } },
|
|
2667
|
+
animate: {
|
|
2668
|
+
visibility: ["hidden", "hidden", "hidden", "hidden", "visible", "visible", "visible", "visible", "visible", "visible", "visible", "visible", "hidden"],
|
|
2669
|
+
transition: {
|
|
2670
|
+
duration: MAXIMIZE_DURATION,
|
|
2671
|
+
ease: "linear",
|
|
2672
|
+
times: MAXIMIZE_TIMES
|
|
2673
|
+
}
|
|
2674
|
+
}
|
|
2675
|
+
};
|
|
2676
|
+
var occlusionMaskVariants = {
|
|
2677
|
+
normal: { transform: "translate(-12px, 12px)" },
|
|
2678
|
+
animate: {
|
|
2679
|
+
transform: [
|
|
2680
|
+
"translate(-12px, 12px)",
|
|
2681
|
+
"translate(-12px, 12px)",
|
|
2682
|
+
"translate(-12px, 12px)",
|
|
2683
|
+
"translate(-12px, 12px)",
|
|
2684
|
+
"translate(-12px, 12px)",
|
|
2685
|
+
"translate(-9px, 9px)",
|
|
2686
|
+
"translate(-4.5px, 4.5px)",
|
|
2687
|
+
"translate(-1px, 1px)",
|
|
2688
|
+
"translate(0px, 0px)",
|
|
2689
|
+
"translate(0px, 0px)",
|
|
2690
|
+
"translate(0px, 0px)",
|
|
2691
|
+
"translate(0px, 0px)",
|
|
2692
|
+
"translate(0px, 0px)"
|
|
2693
|
+
],
|
|
2694
|
+
transition: {
|
|
2695
|
+
duration: MAXIMIZE_DURATION,
|
|
2696
|
+
ease: "linear",
|
|
2697
|
+
times: MAXIMIZE_TIMES
|
|
2698
|
+
}
|
|
2699
|
+
}
|
|
2700
|
+
};
|
|
2701
|
+
var MaximizeScreenIcon = forwardRef42(({ onMouseEnter, onMouseLeave, className, size = 24, ...props }, ref) => {
|
|
2702
|
+
const controls = useAnimation41();
|
|
2703
|
+
const occlusionMaskId = useId3();
|
|
2704
|
+
const { handleMouseEnter, handleMouseLeave } = useIconAnimation({
|
|
2705
|
+
controls,
|
|
2706
|
+
loops: false,
|
|
2707
|
+
onMouseEnter,
|
|
2708
|
+
onMouseLeave,
|
|
2709
|
+
ref
|
|
2710
|
+
});
|
|
2711
|
+
return /* @__PURE__ */ jsx42("div", { "data-hugeicons-animated": "true", className: cn("inline-flex", className), style: { strokeWidth: 1.5 }, children: /* @__PURE__ */ jsxs37("svg", { className: "h-full w-full", onMouseEnter: handleMouseEnter, onMouseLeave: handleMouseLeave, ...props, xmlns: "http://www.w3.org/2000/svg", width: size, height: size, viewBox: "0 0 24 24", fill: "none", overflow: "hidden", children: [
|
|
2712
|
+
/* @__PURE__ */ jsx42("defs", { children: /* @__PURE__ */ jsxs37("mask", { id: occlusionMaskId, x: "0", y: "0", width: "24", height: "24", maskUnits: "userSpaceOnUse", children: [
|
|
2713
|
+
/* @__PURE__ */ jsx42("rect", { x: "0", y: "0", width: "24", height: "24", fill: "white" }),
|
|
2714
|
+
/* @__PURE__ */ jsx42(motion41.g, { variants: generatedGeometryVariants12, animate: controls, initial: "normal", children: /* @__PURE__ */ jsx42(motion41.path, { d: MAXIMIZE_WINDOW, fill: "black", stroke: "black", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "3", variants: occlusionMaskVariants, animate: controls, initial: "normal" }) })
|
|
2715
|
+
] }) }),
|
|
2716
|
+
/* @__PURE__ */ jsx42(
|
|
2717
|
+
motion41.path,
|
|
2718
|
+
{
|
|
2719
|
+
d: "M12.5667 7.93408L15.3088 8.03416C15.7163 8.04903 16.0391 8.38374 16.0391 8.79156V11.4064M10.5391 13.4341L15.5828 8.41565",
|
|
2720
|
+
stroke: "currentColor",
|
|
2721
|
+
strokeLinecap: "round",
|
|
2722
|
+
strokeLinejoin: "round",
|
|
2723
|
+
strokeWidth: "inherit",
|
|
2724
|
+
variants: arrowVariants4,
|
|
2725
|
+
animate: controls,
|
|
2726
|
+
initial: "normal",
|
|
2727
|
+
style: { transformOrigin: "13px 11px" }
|
|
2728
|
+
}
|
|
2729
|
+
),
|
|
2730
|
+
/* @__PURE__ */ jsx42(motion41.path, { d: MAXIMIZE_WINDOW, stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "inherit", mask: `url(#${occlusionMaskId})`, variants: sourceWindowVariants, animate: controls, initial: "normal" }),
|
|
2731
|
+
/* @__PURE__ */ jsx42(motion41.path, { d: MAXIMIZE_OUTER_SOURCE, stroke: "currentColor", strokeLinecap: "round", strokeWidth: "inherit", variants: sourceOuterFrameVariants, animate: controls, initial: "normal" }),
|
|
2732
|
+
/* @__PURE__ */ jsx42(motion41.g, { variants: generatedGeometryVariants12, animate: controls, initial: "normal", children: /* @__PURE__ */ jsx42(motion41.path, { d: MAXIMIZE_WINDOW, stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "inherit", variants: arrivingWindowVariants, animate: controls, initial: "normal" }) })
|
|
2733
|
+
] }) });
|
|
2734
|
+
});
|
|
2735
|
+
MaximizeScreenIcon.displayName = "MaximizeScreenIcon";
|
|
2736
|
+
|
|
2737
|
+
// src/utils/icons.tsx
|
|
2738
|
+
import {
|
|
2739
|
+
Alert02Icon as Alert02IconSvg,
|
|
2740
|
+
ArrowDown01Icon as ArrowDown01IconSvg,
|
|
2741
|
+
ArrowLeft01Icon as ArrowLeft01IconSvg,
|
|
2742
|
+
ArrowRight01Icon as ArrowRight01IconSvg,
|
|
2743
|
+
ArrowUp01Icon as ArrowUp01IconSvg,
|
|
2744
|
+
Calendar01Icon as Calendar01IconSvg,
|
|
2745
|
+
CallEnd01Icon as CallEnd01IconSvg,
|
|
2746
|
+
CancelCircleIcon as CancelCircleIconSvg,
|
|
2747
|
+
CheckmarkCircle02Icon as CheckmarkCircle02IconSvg,
|
|
2748
|
+
CircleIcon as CircleIconSvg,
|
|
2749
|
+
FileIcon as FileTextIconSvg,
|
|
2750
|
+
GridIcon as GridIconSvg,
|
|
2751
|
+
WavingHand01Icon as HandIconSvg,
|
|
2752
|
+
LayoutTwoColumnIcon as LayoutTwoColumnIconSvg,
|
|
2753
|
+
LayoutGridIcon as LayoutGridIconSvg,
|
|
2754
|
+
LayoutTableIcon as LayoutTableIconSvg,
|
|
2755
|
+
Loading01Icon as Loading01IconSvg,
|
|
2756
|
+
MicOff01Icon as MicrophoneOff01IconSvg,
|
|
2757
|
+
ComputerVideoIcon as Monitor01IconSvg,
|
|
2758
|
+
ComputerRemoveIcon as MonitorOffIconSvg,
|
|
2759
|
+
Radio01Icon as Radio01IconSvg,
|
|
2760
|
+
SignalFull02Icon as SignalFull02IconSvg,
|
|
2761
|
+
SquareIcon as SquareIconSvg,
|
|
2762
|
+
Sun02Icon as Sun02IconSvg,
|
|
2763
|
+
TextIcon as TextIconSvg,
|
|
2764
|
+
Tick01Icon as Tick01IconSvg,
|
|
2765
|
+
TickDouble01Icon as TickDouble01IconSvg,
|
|
2766
|
+
VideoOffIcon as VideoOffIconSvg,
|
|
2767
|
+
WifiOffIcon as WifiOffIconSvg
|
|
2768
|
+
} from "@hugeicons/core-free-icons";
|
|
2769
|
+
import { HugeiconsIcon } from "@hugeicons/react";
|
|
2770
|
+
import { jsx as jsx43 } from "react/jsx-runtime";
|
|
2771
|
+
var createIcon = (iconSvg) => {
|
|
2772
|
+
const Icon = (props) => /* @__PURE__ */ jsx43(HugeiconsIcon, { icon: iconSvg, ...props });
|
|
2773
|
+
return Icon;
|
|
2774
|
+
};
|
|
2775
|
+
var Alert02Icon = createIcon(Alert02IconSvg);
|
|
2776
|
+
var ArrowDown01Icon = createIcon(ArrowDown01IconSvg);
|
|
2777
|
+
var ArrowLeft01Icon = createIcon(ArrowLeft01IconSvg);
|
|
2778
|
+
var ArrowLeft02Icon2 = ArrowLeft02Icon;
|
|
2779
|
+
var ArrowRight01Icon = createIcon(ArrowRight01IconSvg);
|
|
2780
|
+
var ArrowUp01Icon = createIcon(ArrowUp01IconSvg);
|
|
2781
|
+
var Calendar01Icon = createIcon(Calendar01IconSvg);
|
|
2782
|
+
var CallEnd01Icon = createIcon(CallEnd01IconSvg);
|
|
2783
|
+
var Cancel01Icon2 = Cancel01Icon;
|
|
2784
|
+
var CancelCircleIcon = createIcon(CancelCircleIconSvg);
|
|
2785
|
+
var CheckmarkCircle02Icon = createIcon(CheckmarkCircle02IconSvg);
|
|
2786
|
+
var CircleIcon = createIcon(CircleIconSvg);
|
|
2787
|
+
var Clock01Icon2 = Clock01Icon;
|
|
2788
|
+
var ColumnIcon = createIcon(LayoutTwoColumnIconSvg);
|
|
2789
|
+
var Copy01Icon2 = Copy01Icon;
|
|
2790
|
+
var Crown01Icon = CrownIcon;
|
|
2791
|
+
var Download01Icon2 = Download01Icon;
|
|
2792
|
+
var Edit02Icon2 = Edit02Icon;
|
|
2793
|
+
var FileTextIcon = createIcon(FileTextIconSvg);
|
|
2794
|
+
var GridIcon = createIcon(GridIconSvg);
|
|
2795
|
+
var HandIcon = createIcon(HandIconSvg);
|
|
2796
|
+
var Home01Icon2 = Home01Icon;
|
|
2797
|
+
var Image01Icon2 = Image01Icon;
|
|
2798
|
+
var InformationCircleIcon2 = InformationCircleIcon;
|
|
2799
|
+
var LayoutGridIcon = createIcon(LayoutGridIconSvg);
|
|
2800
|
+
var LayoutTableIcon = createIcon(LayoutTableIconSvg);
|
|
2801
|
+
var Link01Icon2 = Link01Icon;
|
|
2802
|
+
var Loading01Icon = createIcon(Loading01IconSvg);
|
|
2803
|
+
var Mail01Icon2 = Mail01Icon;
|
|
2804
|
+
var Maximize01Icon = MaximizeScreenIcon;
|
|
2805
|
+
var Message01Icon2 = Message01Icon;
|
|
2806
|
+
var Microphone01Icon = Mic01Icon;
|
|
2807
|
+
var MicrophoneOff01Icon = createIcon(MicrophoneOff01IconSvg);
|
|
2808
|
+
var Moon02Icon2 = Moon02Icon;
|
|
2809
|
+
var Monitor01Icon = createIcon(Monitor01IconSvg);
|
|
2810
|
+
var MonitorOffIcon = createIcon(MonitorOffIconSvg);
|
|
2811
|
+
var MoreHorizontalIcon2 = MoreHorizontalIcon;
|
|
2812
|
+
var MoreVerticalIcon2 = MoreVerticalIcon;
|
|
2813
|
+
var PauseIcon2 = PauseIcon;
|
|
2814
|
+
var PictureInPictureIcon = createIcon(LayoutTableIconSvg);
|
|
2815
|
+
var Pin01Icon = PinIcon;
|
|
2816
|
+
var PlayIcon2 = PlayIcon;
|
|
2817
|
+
var PlusSignIcon2 = PlusSignIcon;
|
|
2818
|
+
var QrCode01Icon2 = QrCode01Icon;
|
|
2819
|
+
var Radio01Icon = createIcon(Radio01IconSvg);
|
|
2820
|
+
var RefreshIcon2 = RefreshIcon;
|
|
2821
|
+
var Search01Icon2 = Search01Icon;
|
|
2822
|
+
var SentIcon2 = SentIcon;
|
|
2823
|
+
var Settings01Icon2 = Settings01Icon;
|
|
2824
|
+
var Share01Icon = Share08Icon;
|
|
2825
|
+
var Shield01Icon = Shield02Icon;
|
|
2826
|
+
var SignalFull02Icon = createIcon(SignalFull02IconSvg);
|
|
2827
|
+
var SmileIcon2 = SmileIcon;
|
|
2828
|
+
var SparklesIcon2 = SparklesIcon;
|
|
2829
|
+
var SquareIcon = createIcon(SquareIconSvg);
|
|
2830
|
+
var StarIcon2 = StarIcon;
|
|
2831
|
+
var Sun02Icon = createIcon(Sun02IconSvg);
|
|
2832
|
+
var TextIcon = createIcon(TextIconSvg);
|
|
2833
|
+
var ThumbsUpIcon2 = ThumbsUpIcon;
|
|
2834
|
+
var Tick01Icon = createIcon(Tick01IconSvg);
|
|
2835
|
+
var TickDouble01Icon = createIcon(TickDouble01IconSvg);
|
|
2836
|
+
var Upload01Icon2 = Upload01Icon;
|
|
2837
|
+
var UserAdd01Icon2 = UserAdd01Icon;
|
|
2838
|
+
var UserGroupIcon2 = UserGroupIcon;
|
|
2839
|
+
var UserRemove01Icon2 = UserRemove01Icon;
|
|
2840
|
+
var Video01Icon2 = Video01Icon;
|
|
2841
|
+
var VideoOffIcon = createIcon(VideoOffIconSvg);
|
|
2842
|
+
var VolumeHighIcon2 = VolumeHighIcon;
|
|
2843
|
+
var VolumeMute01Icon2 = VolumeMute01Icon;
|
|
2844
|
+
var WifiOffIcon = createIcon(WifiOffIconSvg);
|
|
2845
|
+
var ZoomInIcon = ZoomInAreaIcon;
|
|
2846
|
+
var ZoomOutIcon = ZoomOutAreaIcon;
|
|
2847
|
+
|
|
2848
|
+
// src/utils/colorGenerator.ts
|
|
2849
|
+
var PARTICIPANT_GRADIENT_PRESETS = [
|
|
2850
|
+
{ id: "aurora", label: "Aurora", from: "#0ea5e9", to: "#22c55e" },
|
|
2851
|
+
{ id: "ember", label: "Ember", from: "#f97316", to: "#ef4444" },
|
|
2852
|
+
{ id: "orchid", label: "Orchid", from: "#a855f7", to: "#ec4899" },
|
|
2853
|
+
{ id: "cobalt", label: "Cobalt", from: "#2563eb", to: "#14b8a6" },
|
|
2854
|
+
{ id: "gold", label: "Gold", from: "#eab308", to: "#f97316" },
|
|
2855
|
+
{ id: "slate", label: "Slate", from: "#64748b", to: "#94a3b8" }
|
|
2856
|
+
];
|
|
2857
|
+
var AUTO_PALETTE = [
|
|
2858
|
+
["#315f72", "#dcebef"],
|
|
2859
|
+
["#5c6650", "#e3eadf"],
|
|
2860
|
+
["#6b5b4f", "#ece3dc"],
|
|
2861
|
+
["#64576b", "#e8e0ea"],
|
|
2862
|
+
["#49645d", "#dfeae6"],
|
|
2863
|
+
["#665d42", "#ebe6d6"],
|
|
2864
|
+
["#4d5d73", "#e1e6ec"],
|
|
2865
|
+
["#6d5158", "#eee0e3"]
|
|
2866
|
+
];
|
|
2867
|
+
function hashIdentity(identity) {
|
|
2868
|
+
let hash = 2166136261;
|
|
2869
|
+
for (const char of identity.trim().toLowerCase() || "chalk") {
|
|
2870
|
+
hash ^= char.charCodeAt(0);
|
|
2871
|
+
hash = Math.imul(hash, 16777619);
|
|
2872
|
+
}
|
|
2873
|
+
return hash >>> 0;
|
|
2874
|
+
}
|
|
2875
|
+
function resolveGradient(identity = "chalk", preference) {
|
|
2876
|
+
if (preference?.mode === "custom" && preference.from && preference.to) {
|
|
2877
|
+
return [preference.from, preference.to];
|
|
2878
|
+
}
|
|
2879
|
+
return AUTO_PALETTE[hashIdentity(identity) % AUTO_PALETTE.length] ?? ["#64748b", "#94a3b8"];
|
|
2880
|
+
}
|
|
2881
|
+
function getParticipantInitial(name) {
|
|
2882
|
+
return (name?.trim()?.[0] ?? "?").toUpperCase();
|
|
2883
|
+
}
|
|
2884
|
+
function getParticipantInitials(name) {
|
|
2885
|
+
const parts = (name ?? "").trim().split(/\s+/).filter(Boolean);
|
|
2886
|
+
const first = parts[0]?.[0] ?? getParticipantInitial(name);
|
|
2887
|
+
const second = parts[1]?.[0] ?? "";
|
|
2888
|
+
return (parts.length > 1 ? first + second : first).toUpperCase();
|
|
2889
|
+
}
|
|
2890
|
+
function getParticipantColor(identity = "chalk", preference) {
|
|
2891
|
+
const [primary, secondary] = resolveGradient(identity, preference);
|
|
2892
|
+
return {
|
|
2893
|
+
primary,
|
|
2894
|
+
secondary,
|
|
2895
|
+
text: "#ffffff",
|
|
2896
|
+
gradientEnd: secondary
|
|
2897
|
+
};
|
|
2898
|
+
}
|
|
2899
|
+
function getParticipantGradient(identity = "chalk", preference) {
|
|
2900
|
+
const [primary, secondary] = resolveGradient(identity, preference);
|
|
2901
|
+
return `linear-gradient(135deg, ${primary}, ${secondary})`;
|
|
2902
|
+
}
|
|
2903
|
+
function getParticipantAvatarGradient(identity = "chalk", preference) {
|
|
2904
|
+
return getParticipantGradient(identity, preference);
|
|
2905
|
+
}
|
|
2906
|
+
function getParticipantBorder(identity = "chalk", preference) {
|
|
2907
|
+
return getParticipantColor(identity, preference).primary;
|
|
2908
|
+
}
|
|
2909
|
+
function getParticipantThemeVariables(identity = "chalk", preference) {
|
|
2910
|
+
const colors = getParticipantColor(identity, preference);
|
|
2911
|
+
return {
|
|
2912
|
+
"--primary": colors.primary,
|
|
2913
|
+
"--ring": colors.primary,
|
|
2914
|
+
"--chalk-accent": colors.primary,
|
|
2915
|
+
"--chalk-accent-2": colors.secondary
|
|
2916
|
+
};
|
|
2917
|
+
}
|
|
2918
|
+
function getParticipantAvatarRecipe(identity = "chalk", preference) {
|
|
2919
|
+
const colors = getParticipantColor(identity, preference);
|
|
2920
|
+
const avatarGradient = getParticipantGradient(identity, preference);
|
|
2921
|
+
return {
|
|
2922
|
+
initials: getParticipantInitials(identity),
|
|
2923
|
+
gradient: avatarGradient,
|
|
2924
|
+
avatarGradient,
|
|
2925
|
+
darkerAvatarGradient: `linear-gradient(135deg, ${colors.primary}, #111827)`,
|
|
2926
|
+
color: colors.primary,
|
|
2927
|
+
border: colors.primary,
|
|
2928
|
+
facehashColors: [colors.primary]
|
|
2929
|
+
};
|
|
2930
|
+
}
|
|
2931
|
+
|
|
2932
|
+
// src/utils/theme.ts
|
|
2933
|
+
var THEME_ATTRIBUTE_NAMES = ["data-chalk-theme", "data-theme"];
|
|
2934
|
+
var SYSTEM_DARK_QUERY = "(prefers-color-scheme: dark)";
|
|
2935
|
+
var normalizeTheme = (value) => {
|
|
2936
|
+
if (value === "dark" || value === "light") {
|
|
2937
|
+
return value;
|
|
2938
|
+
}
|
|
2939
|
+
return null;
|
|
2940
|
+
};
|
|
2941
|
+
var resolveThemeFromElement = (element) => {
|
|
2942
|
+
if (!element) return null;
|
|
2943
|
+
for (const attributeName of THEME_ATTRIBUTE_NAMES) {
|
|
2944
|
+
const attributeTheme = normalizeTheme(element.getAttribute(attributeName));
|
|
2945
|
+
if (attributeTheme) return attributeTheme;
|
|
2946
|
+
}
|
|
2947
|
+
const classList = element.classList;
|
|
2948
|
+
if (classList.contains("dark")) return "dark";
|
|
2949
|
+
if (classList.contains("light")) return "light";
|
|
2950
|
+
return null;
|
|
2951
|
+
};
|
|
2952
|
+
var resolveThemeFromDocument = ({ defaultTheme = "light", allowSystem = true } = {}) => {
|
|
2953
|
+
if (typeof document === "undefined") return defaultTheme;
|
|
2954
|
+
const explicitTheme = resolveThemeFromElement(document.documentElement) ?? resolveThemeFromElement(document.body);
|
|
2955
|
+
if (explicitTheme) return explicitTheme;
|
|
2956
|
+
if (allowSystem && typeof window !== "undefined" && typeof window.matchMedia === "function") {
|
|
2957
|
+
return window.matchMedia(SYSTEM_DARK_QUERY).matches ? "dark" : "light";
|
|
2958
|
+
}
|
|
2959
|
+
return defaultTheme;
|
|
2960
|
+
};
|
|
2961
|
+
var resolvePortalThemeFromDocument = ({ defaultTheme = "light", allowSystem = true } = {}) => {
|
|
2962
|
+
if (typeof document === "undefined") return defaultTheme;
|
|
2963
|
+
const portalTheme = normalizeTheme(document.querySelector("[data-chalk-theme]")?.getAttribute("data-chalk-theme"));
|
|
2964
|
+
if (portalTheme) return portalTheme;
|
|
2965
|
+
return resolveThemeFromDocument({ defaultTheme, allowSystem });
|
|
2966
|
+
};
|
|
2967
|
+
var applyThemeToDocument = (theme) => {
|
|
2968
|
+
if (typeof document === "undefined") return;
|
|
2969
|
+
const root = document.documentElement;
|
|
2970
|
+
root.classList.remove("light", "dark");
|
|
2971
|
+
root.classList.add(theme);
|
|
2972
|
+
for (const element of [root, document.body]) {
|
|
2973
|
+
if (!element) continue;
|
|
2974
|
+
for (const attributeName of THEME_ATTRIBUTE_NAMES) {
|
|
2975
|
+
if (element.hasAttribute(attributeName)) {
|
|
2976
|
+
element.setAttribute(attributeName, theme);
|
|
2977
|
+
}
|
|
2978
|
+
}
|
|
2979
|
+
}
|
|
2980
|
+
};
|
|
2981
|
+
var subscribeToThemeChanges = (onThemeChange, { defaultTheme = "light", allowSystem = true, attributes = ["class", ...THEME_ATTRIBUTE_NAMES] } = {}) => {
|
|
2982
|
+
if (typeof document === "undefined") return () => {
|
|
2983
|
+
};
|
|
2984
|
+
let lastTheme = resolveThemeFromDocument({ defaultTheme, allowSystem });
|
|
2985
|
+
const emitTheme = () => {
|
|
2986
|
+
lastTheme = resolveThemeFromDocument({ defaultTheme, allowSystem });
|
|
2987
|
+
onThemeChange(lastTheme);
|
|
2988
|
+
};
|
|
2989
|
+
const emitThemeIfChanged = () => {
|
|
2990
|
+
const nextTheme = resolveThemeFromDocument({ defaultTheme, allowSystem });
|
|
2991
|
+
if (nextTheme !== lastTheme) {
|
|
2992
|
+
lastTheme = nextTheme;
|
|
2993
|
+
onThemeChange(nextTheme);
|
|
2994
|
+
}
|
|
2995
|
+
};
|
|
2996
|
+
emitTheme();
|
|
2997
|
+
const observer = new MutationObserver((mutations) => {
|
|
2998
|
+
for (const mutation of mutations) {
|
|
2999
|
+
if (mutation.type === "attributes" && attributes.includes(mutation.attributeName ?? "")) {
|
|
3000
|
+
emitTheme();
|
|
3001
|
+
return;
|
|
3002
|
+
}
|
|
3003
|
+
}
|
|
3004
|
+
});
|
|
3005
|
+
const observerOptions = {
|
|
3006
|
+
attributes: true,
|
|
3007
|
+
attributeFilter: [...attributes]
|
|
3008
|
+
};
|
|
3009
|
+
observer.observe(document.documentElement, observerOptions);
|
|
3010
|
+
if (document.body) {
|
|
3011
|
+
observer.observe(document.body, observerOptions);
|
|
3012
|
+
}
|
|
3013
|
+
const intervalId = window.setInterval(emitThemeIfChanged, 250);
|
|
3014
|
+
let mediaQueryList = null;
|
|
3015
|
+
let removeSystemListener = () => {
|
|
3016
|
+
};
|
|
3017
|
+
if (allowSystem && typeof window !== "undefined" && typeof window.matchMedia === "function") {
|
|
3018
|
+
mediaQueryList = window.matchMedia(SYSTEM_DARK_QUERY);
|
|
3019
|
+
const handleChange = () => emitTheme();
|
|
3020
|
+
if (typeof mediaQueryList.addEventListener === "function") {
|
|
3021
|
+
mediaQueryList.addEventListener("change", handleChange);
|
|
3022
|
+
removeSystemListener = () => mediaQueryList?.removeEventListener("change", handleChange);
|
|
3023
|
+
} else if (typeof mediaQueryList.addListener === "function") {
|
|
3024
|
+
mediaQueryList.addListener(handleChange);
|
|
3025
|
+
removeSystemListener = () => mediaQueryList?.removeListener(handleChange);
|
|
3026
|
+
}
|
|
3027
|
+
}
|
|
3028
|
+
return () => {
|
|
3029
|
+
observer.disconnect();
|
|
3030
|
+
removeSystemListener();
|
|
3031
|
+
window.clearInterval(intervalId);
|
|
3032
|
+
};
|
|
3033
|
+
};
|
|
3034
|
+
|
|
3035
|
+
export {
|
|
3036
|
+
cn,
|
|
3037
|
+
ArrowLeft02Icon,
|
|
3038
|
+
Cancel01Icon,
|
|
3039
|
+
Clock01Icon,
|
|
3040
|
+
Copy01Icon,
|
|
3041
|
+
CrownIcon,
|
|
3042
|
+
Download01Icon,
|
|
3043
|
+
Edit02Icon,
|
|
3044
|
+
Home01Icon,
|
|
3045
|
+
Image01Icon,
|
|
3046
|
+
InformationCircleIcon,
|
|
3047
|
+
Link01Icon,
|
|
3048
|
+
Mail01Icon,
|
|
3049
|
+
Message01Icon,
|
|
3050
|
+
Mic01Icon,
|
|
3051
|
+
Moon02Icon,
|
|
3052
|
+
MoreHorizontalIcon,
|
|
3053
|
+
MoreVerticalIcon,
|
|
3054
|
+
PauseIcon,
|
|
3055
|
+
PinIcon,
|
|
3056
|
+
PlayIcon,
|
|
3057
|
+
PlusSignIcon,
|
|
3058
|
+
QrCode01Icon,
|
|
3059
|
+
RefreshIcon,
|
|
3060
|
+
Search01Icon,
|
|
3061
|
+
SentIcon,
|
|
3062
|
+
Settings01Icon,
|
|
3063
|
+
Share08Icon,
|
|
3064
|
+
Shield02Icon,
|
|
3065
|
+
SmileIcon,
|
|
3066
|
+
SparklesIcon,
|
|
3067
|
+
StarIcon,
|
|
3068
|
+
ThumbsUpIcon,
|
|
3069
|
+
Upload01Icon,
|
|
3070
|
+
UserAdd01Icon,
|
|
3071
|
+
UserGroupIcon,
|
|
3072
|
+
UserRemove01Icon,
|
|
3073
|
+
Video01Icon,
|
|
3074
|
+
VolumeHighIcon,
|
|
3075
|
+
VolumeMute01Icon,
|
|
3076
|
+
ZoomInAreaIcon,
|
|
3077
|
+
ZoomOutAreaIcon,
|
|
3078
|
+
MaximizeScreenIcon,
|
|
3079
|
+
Alert02Icon,
|
|
3080
|
+
ArrowDown01Icon,
|
|
3081
|
+
ArrowLeft01Icon,
|
|
3082
|
+
ArrowLeft02Icon2,
|
|
3083
|
+
ArrowRight01Icon,
|
|
3084
|
+
ArrowUp01Icon,
|
|
3085
|
+
Calendar01Icon,
|
|
3086
|
+
CallEnd01Icon,
|
|
3087
|
+
Cancel01Icon2,
|
|
3088
|
+
CancelCircleIcon,
|
|
3089
|
+
CheckmarkCircle02Icon,
|
|
3090
|
+
CircleIcon,
|
|
3091
|
+
Clock01Icon2,
|
|
3092
|
+
ColumnIcon,
|
|
3093
|
+
Copy01Icon2,
|
|
3094
|
+
Crown01Icon,
|
|
3095
|
+
Download01Icon2,
|
|
3096
|
+
Edit02Icon2,
|
|
3097
|
+
FileTextIcon,
|
|
3098
|
+
GridIcon,
|
|
3099
|
+
HandIcon,
|
|
3100
|
+
Home01Icon2,
|
|
3101
|
+
Image01Icon2,
|
|
3102
|
+
InformationCircleIcon2,
|
|
3103
|
+
LayoutGridIcon,
|
|
3104
|
+
LayoutTableIcon,
|
|
3105
|
+
Link01Icon2,
|
|
3106
|
+
Loading01Icon,
|
|
3107
|
+
Mail01Icon2,
|
|
3108
|
+
Maximize01Icon,
|
|
3109
|
+
Message01Icon2,
|
|
3110
|
+
Microphone01Icon,
|
|
3111
|
+
MicrophoneOff01Icon,
|
|
3112
|
+
Moon02Icon2,
|
|
3113
|
+
Monitor01Icon,
|
|
3114
|
+
MonitorOffIcon,
|
|
3115
|
+
MoreHorizontalIcon2,
|
|
3116
|
+
MoreVerticalIcon2,
|
|
3117
|
+
PauseIcon2,
|
|
3118
|
+
PictureInPictureIcon,
|
|
3119
|
+
Pin01Icon,
|
|
3120
|
+
PlayIcon2,
|
|
3121
|
+
PlusSignIcon2,
|
|
3122
|
+
QrCode01Icon2,
|
|
3123
|
+
Radio01Icon,
|
|
3124
|
+
RefreshIcon2,
|
|
3125
|
+
Search01Icon2,
|
|
3126
|
+
SentIcon2,
|
|
3127
|
+
Settings01Icon2,
|
|
3128
|
+
Share01Icon,
|
|
3129
|
+
Shield01Icon,
|
|
3130
|
+
SignalFull02Icon,
|
|
3131
|
+
SmileIcon2,
|
|
3132
|
+
SparklesIcon2,
|
|
3133
|
+
SquareIcon,
|
|
3134
|
+
StarIcon2,
|
|
3135
|
+
Sun02Icon,
|
|
3136
|
+
TextIcon,
|
|
3137
|
+
ThumbsUpIcon2,
|
|
3138
|
+
Tick01Icon,
|
|
3139
|
+
TickDouble01Icon,
|
|
3140
|
+
Upload01Icon2,
|
|
3141
|
+
UserAdd01Icon2,
|
|
3142
|
+
UserGroupIcon2,
|
|
3143
|
+
UserRemove01Icon2,
|
|
3144
|
+
Video01Icon2,
|
|
3145
|
+
VideoOffIcon,
|
|
3146
|
+
VolumeHighIcon2,
|
|
3147
|
+
VolumeMute01Icon2,
|
|
3148
|
+
WifiOffIcon,
|
|
3149
|
+
ZoomInIcon,
|
|
3150
|
+
ZoomOutIcon,
|
|
3151
|
+
PARTICIPANT_GRADIENT_PRESETS,
|
|
3152
|
+
getParticipantInitial,
|
|
3153
|
+
getParticipantInitials,
|
|
3154
|
+
getParticipantColor,
|
|
3155
|
+
getParticipantGradient,
|
|
3156
|
+
getParticipantAvatarGradient,
|
|
3157
|
+
getParticipantBorder,
|
|
3158
|
+
getParticipantThemeVariables,
|
|
3159
|
+
getParticipantAvatarRecipe,
|
|
3160
|
+
resolveThemeFromDocument,
|
|
3161
|
+
resolvePortalThemeFromDocument,
|
|
3162
|
+
applyThemeToDocument,
|
|
3163
|
+
subscribeToThemeChanges
|
|
3164
|
+
};
|