@hua-labs/ui 2.1.0 → 2.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +55 -67
- package/dist/{ComponentLayout-btJq4TjA.d.mts → ComponentLayout-BhM4VSoq.d.mts} +1 -1
- package/dist/Section-BWzyshgX.d.mts +67 -0
- package/dist/advanced/dashboard.d.ts.map +1 -1
- package/dist/advanced-dashboard.d.mts +1 -1
- package/dist/advanced-dashboard.mjs +3 -3
- package/dist/advanced-dashboard.mjs.map +1 -1
- package/dist/advanced-emotion.mjs +1 -1
- package/dist/advanced-motion.d.mts +74 -7
- package/dist/advanced-motion.mjs +1 -1
- package/dist/advanced.d.mts +4 -4
- package/dist/advanced.mjs +3 -3
- package/dist/advanced.mjs.map +1 -1
- package/dist/{chunk-GLZKT7JN.mjs → chunk-5DPW7SVD.mjs} +3 -3
- package/dist/{chunk-GLZKT7JN.mjs.map → chunk-5DPW7SVD.mjs.map} +1 -1
- package/dist/{chunk-X7ZIWYRC.mjs → chunk-5L5HIPKA.mjs} +2 -2
- package/dist/{chunk-X7ZIWYRC.mjs.map → chunk-5L5HIPKA.mjs.map} +1 -1
- package/dist/chunk-A5YOVVM5.mjs +3 -0
- package/dist/chunk-A5YOVVM5.mjs.map +1 -0
- package/dist/chunk-CNW22G24.mjs +13 -0
- package/dist/chunk-CNW22G24.mjs.map +1 -0
- package/dist/chunk-CW66UBQG.mjs +3 -0
- package/dist/chunk-CW66UBQG.mjs.map +1 -0
- package/dist/chunk-EAZEI74V.mjs +3 -0
- package/dist/chunk-EAZEI74V.mjs.map +1 -0
- package/dist/{chunk-LH77I6HO.mjs → chunk-EPY3432E.mjs} +2 -2
- package/dist/{chunk-LH77I6HO.mjs.map → chunk-EPY3432E.mjs.map} +1 -1
- package/dist/{chunk-SGEP3CQE.mjs → chunk-F2M4YDDQ.mjs} +2 -2
- package/dist/{chunk-SGEP3CQE.mjs.map → chunk-F2M4YDDQ.mjs.map} +1 -1
- package/dist/chunk-FHMFDCX2.mjs +3 -0
- package/dist/chunk-FHMFDCX2.mjs.map +1 -0
- package/dist/chunk-HBIUCLFL.mjs +3 -0
- package/dist/chunk-HBIUCLFL.mjs.map +1 -0
- package/dist/{chunk-LOYAJIWO.mjs → chunk-HEBXAFRY.mjs} +2 -2
- package/dist/{chunk-LOYAJIWO.mjs.map → chunk-HEBXAFRY.mjs.map} +1 -1
- package/dist/chunk-IG47LMOD.mjs +3 -0
- package/dist/chunk-IG47LMOD.mjs.map +1 -0
- package/dist/{chunk-IFSEJVOR.mjs → chunk-J47ZEXEL.mjs} +2 -2
- package/dist/{chunk-IFSEJVOR.mjs.map → chunk-J47ZEXEL.mjs.map} +1 -1
- package/dist/{chunk-IN7RWQCJ.mjs → chunk-K2FOFIST.mjs} +2 -2
- package/dist/{chunk-IN7RWQCJ.mjs.map → chunk-K2FOFIST.mjs.map} +1 -1
- package/dist/{chunk-UWHCM3S6.mjs → chunk-LL6QPRD7.mjs} +2 -2
- package/dist/{chunk-UWHCM3S6.mjs.map → chunk-LL6QPRD7.mjs.map} +1 -1
- package/dist/{chunk-PAEKNQWW.mjs → chunk-NMJLOK6M.mjs} +2 -2
- package/dist/{chunk-PAEKNQWW.mjs.map → chunk-NMJLOK6M.mjs.map} +1 -1
- package/dist/chunk-O24K56OS.mjs +3 -0
- package/dist/chunk-O24K56OS.mjs.map +1 -0
- package/dist/chunk-OIWG3IJ7.mjs +3 -0
- package/dist/chunk-OIWG3IJ7.mjs.map +1 -0
- package/dist/{chunk-VWSBJUNI.mjs → chunk-OLLU7ZFH.mjs} +2 -2
- package/dist/{chunk-VWSBJUNI.mjs.map → chunk-OLLU7ZFH.mjs.map} +1 -1
- package/dist/chunk-Q76JW7X5.mjs +73 -0
- package/dist/chunk-Q76JW7X5.mjs.map +1 -0
- package/dist/chunk-QEMPERUK.mjs +3 -0
- package/dist/chunk-QEMPERUK.mjs.map +1 -0
- package/dist/{chunk-XV3Y7QVU.mjs → chunk-QRM66RQG.mjs} +2 -2
- package/dist/{chunk-XV3Y7QVU.mjs.map → chunk-QRM66RQG.mjs.map} +1 -1
- package/dist/{chunk-6KTHJ3EL.mjs → chunk-QRRP7TGF.mjs} +3 -3
- package/dist/{chunk-6KTHJ3EL.mjs.map → chunk-QRRP7TGF.mjs.map} +1 -1
- package/dist/chunk-SD6XGDAC.mjs +3 -0
- package/dist/chunk-SD6XGDAC.mjs.map +1 -0
- package/dist/chunk-SDFVGFXT.mjs +3 -0
- package/dist/chunk-SDFVGFXT.mjs.map +1 -0
- package/dist/{chunk-N7M6RIN4.mjs → chunk-SMLDNOV3.mjs} +3 -3
- package/dist/{chunk-N7M6RIN4.mjs.map → chunk-SMLDNOV3.mjs.map} +1 -1
- package/dist/{chunk-NBJUE7NR.mjs → chunk-TAP6MYDW.mjs} +2 -2
- package/dist/{chunk-NBJUE7NR.mjs.map → chunk-TAP6MYDW.mjs.map} +1 -1
- package/dist/{chunk-PYBYZVSL.mjs → chunk-TBZ645BI.mjs} +2 -2
- package/dist/{chunk-PYBYZVSL.mjs.map → chunk-TBZ645BI.mjs.map} +1 -1
- package/dist/{chunk-C4OACMTB.mjs → chunk-V2DNYJR6.mjs} +2 -2
- package/dist/{chunk-C4OACMTB.mjs.map → chunk-V2DNYJR6.mjs.map} +1 -1
- package/dist/chunk-VBABZXL7.mjs +3 -0
- package/dist/chunk-VBABZXL7.mjs.map +1 -0
- package/dist/{chunk-OSCMSA2Q.mjs → chunk-WYBSHTGY.mjs} +2 -2
- package/dist/{chunk-OSCMSA2Q.mjs.map → chunk-WYBSHTGY.mjs.map} +1 -1
- package/dist/chunk-ZQUMJQYV.mjs +3 -0
- package/dist/chunk-ZQUMJQYV.mjs.map +1 -0
- package/dist/chunk-ZY23NOT4.mjs +3 -0
- package/dist/chunk-ZY23NOT4.mjs.map +1 -0
- package/dist/components/Action.d.ts.map +1 -1
- package/dist/components/Badge.d.ts +1 -1
- package/dist/components/Button.d.ts.map +1 -1
- package/dist/components/Card.d.ts.map +1 -1
- package/dist/components/DatePicker.d.ts.map +1 -1
- package/dist/components/Dropdown.d.ts +0 -50
- package/dist/components/Dropdown.d.ts.map +1 -1
- package/dist/components/Icon/Icon.d.ts.map +1 -1
- package/dist/components/Modal.d.ts.map +1 -1
- package/dist/components/Popover.d.ts +2 -0
- package/dist/components/Popover.d.ts.map +1 -1
- package/dist/components/Progress.d.ts +3 -2
- package/dist/components/Progress.d.ts.map +1 -1
- package/dist/components/Section.d.ts +44 -0
- package/dist/components/Section.d.ts.map +1 -0
- package/dist/components/advanced/AnimatedGradient.d.ts.map +1 -1
- package/dist/components/advanced/Carousel.d.ts.map +1 -1
- package/dist/components/advanced/DotNav.d.ts +26 -0
- package/dist/components/advanced/DotNav.d.ts.map +1 -0
- package/dist/components/advanced/HorizontalScroll.d.ts +20 -0
- package/dist/components/advanced/HorizontalScroll.d.ts.map +1 -0
- package/dist/components/advanced/ImageReveal.d.ts +24 -0
- package/dist/components/advanced/ImageReveal.d.ts.map +1 -0
- package/dist/components/advanced/Parallax.d.ts +9 -6
- package/dist/components/advanced/Parallax.d.ts.map +1 -1
- package/dist/components/advanced/TextReveal.d.ts.map +1 -1
- package/dist/components/advanced/index.d.ts +6 -0
- package/dist/components/advanced/index.d.ts.map +1 -1
- package/dist/data.mjs +1 -1
- package/dist/data.mjs.map +1 -1
- package/dist/feedback.mjs +1 -1
- package/dist/form.mjs +3 -3
- package/dist/form.mjs.map +1 -1
- package/dist/{icons-Bj_nr8Ba.d.mts → icons-DcOBy9Hf.d.mts} +10 -1
- package/dist/iconsax-extended.mjs +2 -2
- package/dist/iconsax-extended.mjs.map +1 -1
- package/dist/index.d.mts +10 -109
- package/dist/index.d.ts +4 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.mjs +14 -14
- package/dist/index.mjs.map +1 -1
- package/dist/interactive.mjs +1 -1
- package/dist/interactive.mjs.map +1 -1
- package/dist/landing/LandingAbout.d.ts +3 -0
- package/dist/landing/LandingAbout.d.ts.map +1 -0
- package/dist/landing/LandingCTA.d.ts +3 -0
- package/dist/landing/LandingCTA.d.ts.map +1 -0
- package/dist/landing/LandingContact.d.ts +3 -0
- package/dist/landing/LandingContact.d.ts.map +1 -0
- package/dist/landing/LandingExperience.d.ts +3 -0
- package/dist/landing/LandingExperience.d.ts.map +1 -0
- package/dist/landing/LandingFeatures.d.ts +3 -0
- package/dist/landing/LandingFeatures.d.ts.map +1 -0
- package/dist/landing/LandingHero.d.ts +3 -0
- package/dist/landing/LandingHero.d.ts.map +1 -0
- package/dist/landing/LandingLogoCloud.d.ts +3 -0
- package/dist/landing/LandingLogoCloud.d.ts.map +1 -0
- package/dist/landing/LandingMetrics.d.ts +3 -0
- package/dist/landing/LandingMetrics.d.ts.map +1 -0
- package/dist/landing/LandingProjects.d.ts +3 -0
- package/dist/landing/LandingProjects.d.ts.map +1 -0
- package/dist/landing/LandingProvider.d.ts +4 -0
- package/dist/landing/LandingProvider.d.ts.map +1 -0
- package/dist/landing/LandingShowcase.d.ts +3 -0
- package/dist/landing/LandingShowcase.d.ts.map +1 -0
- package/dist/landing/LandingSkills.d.ts +3 -0
- package/dist/landing/LandingSkills.d.ts.map +1 -0
- package/dist/landing/LandingStats.d.ts +3 -0
- package/dist/landing/LandingStats.d.ts.map +1 -0
- package/dist/landing/LandingTestimonials.d.ts +3 -0
- package/dist/landing/LandingTestimonials.d.ts.map +1 -0
- package/dist/landing/index.d.ts +47 -0
- package/dist/landing/index.d.ts.map +1 -0
- package/dist/landing/themes/app.d.ts +3 -0
- package/dist/landing/themes/app.d.ts.map +1 -0
- package/dist/landing/themes/corporate.d.ts +3 -0
- package/dist/landing/themes/corporate.d.ts.map +1 -0
- package/dist/landing/themes/dashboard.d.ts +3 -0
- package/dist/landing/themes/dashboard.d.ts.map +1 -0
- package/dist/landing/themes/immersive.d.ts +3 -0
- package/dist/landing/themes/immersive.d.ts.map +1 -0
- package/dist/landing/themes/index.d.ts +15 -0
- package/dist/landing/themes/index.d.ts.map +1 -0
- package/dist/landing/themes/marketing.d.ts +3 -0
- package/dist/landing/themes/marketing.d.ts.map +1 -0
- package/dist/landing/themes/portfolio.d.ts +3 -0
- package/dist/landing/themes/portfolio.d.ts.map +1 -0
- package/dist/landing/themes/product.d.ts +3 -0
- package/dist/landing/themes/product.d.ts.map +1 -0
- package/dist/landing/types.d.ts +346 -0
- package/dist/landing/types.d.ts.map +1 -0
- package/dist/landing.d.mts +417 -0
- package/dist/landing.mjs +31 -0
- package/dist/landing.mjs.map +1 -0
- package/dist/lib/icon-providers.d.ts +9 -25
- package/dist/lib/icon-providers.d.ts.map +1 -1
- package/dist/lib/icons.d.ts +10 -1
- package/dist/lib/icons.d.ts.map +1 -1
- package/dist/lib/utils.d.ts.map +1 -1
- package/dist/navigation.d.mts +1 -1
- package/dist/navigation.mjs +1 -1
- package/dist/navigation.mjs.map +1 -1
- package/dist/overlay.d.mts +2 -50
- package/dist/overlay.mjs +1 -1
- package/dist/overlay.mjs.map +1 -1
- package/dist/sdui.mjs +1 -1
- package/dist/sdui.mjs.map +1 -1
- package/dist/theme.d.mts +85 -0
- package/dist/theme.d.ts +14 -0
- package/dist/theme.d.ts.map +1 -0
- package/dist/theme.mjs +3 -0
- package/dist/theme.mjs.map +1 -0
- package/package.json +30 -20
- package/src/styles/landing.css +107 -0
- package/src/styles/utilities.css +58 -0
- package/dist/advanced-dashboard.js +0 -39
- package/dist/advanced-dashboard.js.map +0 -1
- package/dist/advanced-emotion.js +0 -2
- package/dist/advanced-emotion.js.map +0 -1
- package/dist/advanced-motion.js +0 -82
- package/dist/advanced-motion.js.map +0 -1
- package/dist/advanced.js +0 -112
- package/dist/advanced.js.map +0 -1
- package/dist/chunk-BXX2TZUB.mjs +0 -3
- package/dist/chunk-BXX2TZUB.mjs.map +0 -1
- package/dist/chunk-COR6CDMA.mjs +0 -83
- package/dist/chunk-COR6CDMA.mjs.map +0 -1
- package/dist/chunk-FFH4ZFKS.mjs +0 -3
- package/dist/chunk-FFH4ZFKS.mjs.map +0 -1
- package/dist/chunk-HN5LSP6L.mjs +0 -3
- package/dist/chunk-HN5LSP6L.mjs.map +0 -1
- package/dist/chunk-LPAG7DCA.mjs +0 -3
- package/dist/chunk-LPAG7DCA.mjs.map +0 -1
- package/dist/chunk-QQCELXFD.mjs +0 -3
- package/dist/chunk-QQCELXFD.mjs.map +0 -1
- package/dist/chunk-RPUS7G7Q.mjs +0 -3
- package/dist/chunk-RPUS7G7Q.mjs.map +0 -1
- package/dist/chunk-SDFHJ4GB.mjs +0 -3
- package/dist/chunk-SDFHJ4GB.mjs.map +0 -1
- package/dist/chunk-UUHAXGMO.mjs +0 -3
- package/dist/chunk-UUHAXGMO.mjs.map +0 -1
- package/dist/data.js +0 -3
- package/dist/data.js.map +0 -1
- package/dist/feedback.js +0 -12
- package/dist/feedback.js.map +0 -1
- package/dist/form.js +0 -8
- package/dist/form.js.map +0 -1
- package/dist/iconsax-extended.js +0 -3
- package/dist/iconsax-extended.js.map +0 -1
- package/dist/iconsax.js +0 -3
- package/dist/iconsax.js.map +0 -1
- package/dist/index.js +0 -51
- package/dist/index.js.map +0 -1
- package/dist/interactive.js +0 -2
- package/dist/interactive.js.map +0 -1
- package/dist/lib/phosphor-icons.d.ts +0 -6
- package/dist/lib/phosphor-icons.d.ts.map +0 -1
- package/dist/navigation.js +0 -12
- package/dist/navigation.js.map +0 -1
- package/dist/overlay.js +0 -3
- package/dist/overlay.js.map +0 -1
- package/dist/sdui.js +0 -9
- package/dist/sdui.js.map +0 -1
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
export{d as EmotionAnalysis,b as EmotionButton,a as EmotionMeter,c as EmotionSelector}from'./chunk-
|
|
2
|
+
export{d as EmotionAnalysis,b as EmotionButton,a as EmotionMeter,c as EmotionSelector}from'./chunk-TBZ645BI.mjs';import'./chunk-CW66UBQG.mjs';import'./chunk-J47ZEXEL.mjs';import'./chunk-QEMPERUK.mjs';import'./chunk-EAZEI74V.mjs';//# sourceMappingURL=advanced-emotion.mjs.map
|
|
3
3
|
//# sourceMappingURL=advanced-emotion.mjs.map
|
|
@@ -102,6 +102,7 @@ declare const usePageTransitionManager: (config?: PageTransitionManagerConfig) =
|
|
|
102
102
|
* @property {boolean} [scale=false] - 스케일 효과 추가 / Add scale effect
|
|
103
103
|
* @property {boolean} [opacity=false] - 투명도 효과 추가 / Add opacity effect
|
|
104
104
|
* @property {boolean} [rotate=false] - 회전 효과 추가 / Add rotation effect
|
|
105
|
+
* @property {boolean} [disableOnMobile=false] - 모바일(768px 미만)에서 자동 비활성화
|
|
105
106
|
*/
|
|
106
107
|
interface ParallaxProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
107
108
|
speed?: number;
|
|
@@ -112,6 +113,7 @@ interface ParallaxProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
|
112
113
|
opacity?: boolean;
|
|
113
114
|
rotate?: boolean;
|
|
114
115
|
rotateDirection?: "cw" | "ccw";
|
|
116
|
+
disableOnMobile?: boolean;
|
|
115
117
|
}
|
|
116
118
|
/**
|
|
117
119
|
* Parallax 컴포넌트 / Parallax component
|
|
@@ -119,20 +121,21 @@ interface ParallaxProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
|
119
121
|
* 스크롤에 반응하여 패럴렉스 효과를 제공하는 컴포넌트입니다.
|
|
120
122
|
* 다양한 방향과 속도, 추가 효과(스케일, 투명도, 회전)를 지원합니다.
|
|
121
123
|
*
|
|
122
|
-
*
|
|
123
|
-
*
|
|
124
|
+
* 성능 최적화:
|
|
125
|
+
* - 모든 인스턴스가 하나의 scroll/resize 리스너 공유
|
|
126
|
+
* - IntersectionObserver로 뷰포트 밖 요소 업데이트 건너뛰기
|
|
127
|
+
* - ref 기반 직접 DOM 조작 (React 리렌더 없음)
|
|
124
128
|
*
|
|
125
129
|
* @component
|
|
126
130
|
* @example
|
|
127
|
-
* // 기본 사용 / Basic usage
|
|
128
131
|
* <Parallax speed={0.3}>
|
|
129
132
|
* <img src="/background.jpg" alt="background" />
|
|
130
133
|
* </Parallax>
|
|
131
134
|
*
|
|
132
135
|
* @example
|
|
133
|
-
* //
|
|
134
|
-
* <Parallax speed={0.5}
|
|
135
|
-
* <div className="
|
|
136
|
+
* // 모바일에서 비활성화
|
|
137
|
+
* <Parallax speed={0.5} disableOnMobile>
|
|
138
|
+
* <div className="decorative-blob" />
|
|
136
139
|
* </Parallax>
|
|
137
140
|
*/
|
|
138
141
|
declare const Parallax: React.ForwardRefExoticComponent<ParallaxProps & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -485,6 +488,70 @@ interface CarouselProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'chil
|
|
|
485
488
|
*/
|
|
486
489
|
declare const Carousel: React.ForwardRefExoticComponent<CarouselProps & React.RefAttributes<HTMLDivElement>>;
|
|
487
490
|
|
|
491
|
+
interface ImageRevealProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
492
|
+
/** 이미지 src */
|
|
493
|
+
src: string;
|
|
494
|
+
/** 이미지 alt */
|
|
495
|
+
alt: string;
|
|
496
|
+
/** 공개 방향 @default 'left' */
|
|
497
|
+
direction?: "left" | "right" | "up" | "down";
|
|
498
|
+
/** 공개 시작 임계값 (0-1) @default 0.3 */
|
|
499
|
+
threshold?: number;
|
|
500
|
+
/** 이미지 높이 @default '400px' */
|
|
501
|
+
height?: string;
|
|
502
|
+
/** 오버레이 색상 */
|
|
503
|
+
overlayColor?: string;
|
|
504
|
+
}
|
|
505
|
+
/**
|
|
506
|
+
* ImageReveal - 스크롤 기반 이미지 공개 컴포넌트
|
|
507
|
+
*
|
|
508
|
+
* TextReveal에서 영감 받은 이미지 공개 효과.
|
|
509
|
+
* clip-path를 사용하여 스크롤에 따라 이미지가 점진적으로 드러남.
|
|
510
|
+
*/
|
|
511
|
+
declare const ImageReveal: React.ForwardRefExoticComponent<ImageRevealProps & React.RefAttributes<HTMLDivElement>>;
|
|
512
|
+
|
|
513
|
+
interface DotNavItem {
|
|
514
|
+
/** 섹션 ID (scroll target) */
|
|
515
|
+
id: string;
|
|
516
|
+
/** 라벨 (호버 시 표시) */
|
|
517
|
+
label?: string;
|
|
518
|
+
}
|
|
519
|
+
interface DotNavProps extends React.HTMLAttributes<HTMLElement> {
|
|
520
|
+
/** 섹션 목록 */
|
|
521
|
+
items: DotNavItem[];
|
|
522
|
+
/** 위치 @default 'right' */
|
|
523
|
+
position?: "left" | "right";
|
|
524
|
+
/** 활성 색상 @default 'bg-primary' */
|
|
525
|
+
activeColor?: string;
|
|
526
|
+
/** 비활성 색상 @default 'bg-muted-foreground/30' */
|
|
527
|
+
inactiveColor?: string;
|
|
528
|
+
}
|
|
529
|
+
/**
|
|
530
|
+
* DotNav - 섹션 도트 네비게이터
|
|
531
|
+
*
|
|
532
|
+
* 포트폴리오/immersive 테마용 고정 위치 네비게이션.
|
|
533
|
+
* 스크롤 위치에 따라 활성 섹션 자동 추적.
|
|
534
|
+
*/
|
|
535
|
+
declare const DotNav: React.ForwardRefExoticComponent<DotNavProps & React.RefAttributes<HTMLElement>>;
|
|
536
|
+
|
|
537
|
+
interface HorizontalScrollProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'onProgress'> {
|
|
538
|
+
/** 가로 스크롤 컨텐츠 */
|
|
539
|
+
children: React.ReactNode;
|
|
540
|
+
/** 스크롤 높이 배율 (패널 수 × 이 값 = 총 스크롤 높이) @default 1 */
|
|
541
|
+
heightMultiplier?: number;
|
|
542
|
+
/** 스냅 여부 @default false */
|
|
543
|
+
snap?: boolean;
|
|
544
|
+
/** 진행률 콜백 */
|
|
545
|
+
onProgress?: (progress: number) => void;
|
|
546
|
+
}
|
|
547
|
+
/**
|
|
548
|
+
* HorizontalScroll - 세로 스크롤을 가로 스크롤로 변환
|
|
549
|
+
*
|
|
550
|
+
* sticky positioning + translateX로 구현.
|
|
551
|
+
* 세로 스크롤 입력을 가로 이동으로 매핑합니다.
|
|
552
|
+
*/
|
|
553
|
+
declare const HorizontalScroll: React.ForwardRefExoticComponent<HorizontalScrollProps & React.RefAttributes<HTMLDivElement>>;
|
|
554
|
+
|
|
488
555
|
/**
|
|
489
556
|
* BlogEditorHeader Props
|
|
490
557
|
*/
|
|
@@ -973,4 +1040,4 @@ declare function isValidSlug(slug: string): boolean;
|
|
|
973
1040
|
*/
|
|
974
1041
|
declare function normalizeSlug(input: string): string;
|
|
975
1042
|
|
|
976
|
-
export { AdvancedPageTransition, type AdvancedPageTransitionProps, AnimatedGradient, type AnimatedGradientProps, BlogEditorCompound as BlogEditor, BlogEditorActions, type BlogEditorActionsProps, type BlogEditorCallbacks, BlogEditorContent, type BlogEditorContentProps, type BlogEditorContextValue, type BlogEditorData, type BlogEditorFeatures, BlogEditorHeader, type BlogEditorHeaderProps, type BlogEditorLabels, BlogEditorLanguageTabs, type BlogEditorLanguageTabsProps, BlogEditorMetadata, type BlogEditorMetadataProps, BlogEditorPreview, type BlogEditorPreviewProps, type BlogEditorProps, BlogEditorProvider, BlogEditorToolbar, type BlogEditorToolbarProps, BlogEditorTranslate, type BlogEditorTranslateProps, Carousel, type CarouselProps, CubePageTransition, FadePageTransition, FlipPageTransition, GlowCard, type GlowCardProps, type LanguageConfig, Marquee, type MarqueeProps, MorphPageTransition, type MultilingualField, Parallax, type ParallaxProps, ScalePageTransition, SlidePageTransition, SpotlightCard, type SpotlightCardProps, TextReveal, type TextRevealProps, TiltCard, type TiltCardProps, type ToolbarItem, type TransitionEasing$1 as TransitionEasing, type TransitionType$1 as TransitionType, type TranslateParams, VideoBackground, type VideoBackgroundProps, ZoomPageTransition, generateSlug, getMarkdownPreview, insertMarkdown, isValidSlug, normalizeSlug, parseMarkdown, stripMarkdown, useBlogEditor, usePageTransition, usePageTransitionManager };
|
|
1043
|
+
export { AdvancedPageTransition, type AdvancedPageTransitionProps, AnimatedGradient, type AnimatedGradientProps, BlogEditorCompound as BlogEditor, BlogEditorActions, type BlogEditorActionsProps, type BlogEditorCallbacks, BlogEditorContent, type BlogEditorContentProps, type BlogEditorContextValue, type BlogEditorData, type BlogEditorFeatures, BlogEditorHeader, type BlogEditorHeaderProps, type BlogEditorLabels, BlogEditorLanguageTabs, type BlogEditorLanguageTabsProps, BlogEditorMetadata, type BlogEditorMetadataProps, BlogEditorPreview, type BlogEditorPreviewProps, type BlogEditorProps, BlogEditorProvider, BlogEditorToolbar, type BlogEditorToolbarProps, BlogEditorTranslate, type BlogEditorTranslateProps, Carousel, type CarouselProps, CubePageTransition, DotNav, type DotNavItem, type DotNavProps, FadePageTransition, FlipPageTransition, GlowCard, type GlowCardProps, HorizontalScroll, type HorizontalScrollProps, ImageReveal, type ImageRevealProps, type LanguageConfig, Marquee, type MarqueeProps, MorphPageTransition, type MultilingualField, Parallax, type ParallaxProps, ScalePageTransition, SlidePageTransition, SpotlightCard, type SpotlightCardProps, TextReveal, type TextRevealProps, TiltCard, type TiltCardProps, type ToolbarItem, type TransitionEasing$1 as TransitionEasing, type TransitionType$1 as TransitionType, type TranslateParams, VideoBackground, type VideoBackgroundProps, ZoomPageTransition, generateSlug, getMarkdownPreview, insertMarkdown, isValidSlug, normalizeSlug, parseMarkdown, stripMarkdown, useBlogEditor, usePageTransition, usePageTransitionManager };
|
package/dist/advanced-motion.mjs
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
export{a as AdvancedPageTransition,
|
|
2
|
+
export{a as AdvancedPageTransition,I as BlogEditor,G as BlogEditorActions,z as BlogEditorContent,w as BlogEditorHeader,y as BlogEditorLanguageTabs,x as BlogEditorMetadata,F as BlogEditorPreview,v as BlogEditorProvider,E as BlogEditorToolbar,H as BlogEditorTranslate,g as CubePageTransition,p as DotNav,b as FadePageTransition,e as FlipPageTransition,q as HorizontalScroll,o as ImageReveal,f as MorphPageTransition,k as Parallax,d as ScalePageTransition,c as SlidePageTransition,l as TextReveal,m as TiltCard,n as VideoBackground,h as ZoomPageTransition,r as generateSlug,C as getMarkdownPreview,D as insertMarkdown,s as isValidSlug,t as normalizeSlug,A as parseMarkdown,B as stripMarkdown,u as useBlogEditor,i as usePageTransition,j as usePageTransitionManager}from'./chunk-CNW22G24.mjs';export{d as AnimatedGradient,e as Carousel,b as GlowCard,a as Marquee,c as SpotlightCard}from'./chunk-Q76JW7X5.mjs';export{d as EmotionAnalysis,b as EmotionButton,a as EmotionMeter,c as EmotionSelector}from'./chunk-TBZ645BI.mjs';import'./chunk-CW66UBQG.mjs';import'./chunk-J47ZEXEL.mjs';import'./chunk-SD6XGDAC.mjs';import'./chunk-ZQUMJQYV.mjs';import'./chunk-QEMPERUK.mjs';import'./chunk-EAZEI74V.mjs';//# sourceMappingURL=advanced-motion.mjs.map
|
|
3
3
|
//# sourceMappingURL=advanced-motion.mjs.map
|
package/dist/advanced.d.mts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export { AdvancedPageTransition, AdvancedPageTransitionProps, AnimatedGradient, AnimatedGradientProps, BlogEditor, BlogEditorActions, BlogEditorActionsProps, BlogEditorCallbacks, BlogEditorContent, BlogEditorContentProps, BlogEditorContextValue, BlogEditorData, BlogEditorFeatures, BlogEditorHeader, BlogEditorHeaderProps, BlogEditorLabels, BlogEditorLanguageTabs, BlogEditorLanguageTabsProps, BlogEditorMetadata, BlogEditorMetadataProps, BlogEditorPreview, BlogEditorPreviewProps, BlogEditorProps, BlogEditorProvider, BlogEditorToolbar, BlogEditorToolbarProps, BlogEditorTranslate, BlogEditorTranslateProps, Carousel, CarouselProps, CubePageTransition, FadePageTransition, FlipPageTransition, GlowCard, GlowCardProps, LanguageConfig, Marquee, MarqueeProps, MorphPageTransition, MultilingualField, Parallax, ParallaxProps, ScalePageTransition, SlidePageTransition, SpotlightCard, SpotlightCardProps, TextReveal, TextRevealProps, TiltCard, TiltCardProps, ToolbarItem, TransitionEasing, TransitionType, TranslateParams, VideoBackground, VideoBackgroundProps, ZoomPageTransition, generateSlug, getMarkdownPreview, insertMarkdown, isValidSlug, normalizeSlug, parseMarkdown, stripMarkdown, useBlogEditor, usePageTransition, usePageTransitionManager } from './advanced-motion.mjs';
|
|
1
|
+
export { AdvancedPageTransition, AdvancedPageTransitionProps, AnimatedGradient, AnimatedGradientProps, BlogEditor, BlogEditorActions, BlogEditorActionsProps, BlogEditorCallbacks, BlogEditorContent, BlogEditorContentProps, BlogEditorContextValue, BlogEditorData, BlogEditorFeatures, BlogEditorHeader, BlogEditorHeaderProps, BlogEditorLabels, BlogEditorLanguageTabs, BlogEditorLanguageTabsProps, BlogEditorMetadata, BlogEditorMetadataProps, BlogEditorPreview, BlogEditorPreviewProps, BlogEditorProps, BlogEditorProvider, BlogEditorToolbar, BlogEditorToolbarProps, BlogEditorTranslate, BlogEditorTranslateProps, Carousel, CarouselProps, CubePageTransition, DotNav, DotNavItem, DotNavProps, FadePageTransition, FlipPageTransition, GlowCard, GlowCardProps, HorizontalScroll, HorizontalScrollProps, ImageReveal, ImageRevealProps, LanguageConfig, Marquee, MarqueeProps, MorphPageTransition, MultilingualField, Parallax, ParallaxProps, ScalePageTransition, SlidePageTransition, SpotlightCard, SpotlightCardProps, TextReveal, TextRevealProps, TiltCard, TiltCardProps, ToolbarItem, TransitionEasing, TransitionType, TranslateParams, VideoBackground, VideoBackgroundProps, ZoomPageTransition, generateSlug, getMarkdownPreview, insertMarkdown, isValidSlug, normalizeSlug, parseMarkdown, stripMarkdown, useBlogEditor, usePageTransition, usePageTransitionManager } from './advanced-motion.mjs';
|
|
2
2
|
export { EmotionAnalysisProps, EmotionButtonProps, EmotionMeterProps, EmotionSelectorProps } from './advanced-emotion.mjs';
|
|
3
3
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
4
4
|
import React from 'react';
|
|
5
|
-
import { A as AllIconName } from './ComponentLayout-
|
|
6
|
-
export { C as ComponentLayout } from './ComponentLayout-
|
|
5
|
+
import { A as AllIconName } from './ComponentLayout-BhM4VSoq.mjs';
|
|
6
|
+
export { C as ComponentLayout } from './ComponentLayout-BhM4VSoq.mjs';
|
|
7
7
|
import { C as Color } from './common-YLvZxA_K.mjs';
|
|
8
|
-
import { I as IconName } from './icons-
|
|
8
|
+
import { I as IconName } from './icons-DcOBy9Hf.mjs';
|
|
9
9
|
import '@phosphor-icons/react';
|
|
10
10
|
|
|
11
11
|
/**
|
package/dist/advanced.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
export{b as HeroSection,a as ScrollProgress}from'./chunk-GLZKT7JN.mjs';export{a as ComponentLayout}from'./chunk-NBJUE7NR.mjs';import {a as a$1,b,c}from'./chunk-IN7RWQCJ.mjs';export{a as AdvancedPageTransition,p as AnimatedGradient,K as BlogEditor,I as BlogEditorActions,B as BlogEditorContent,y as BlogEditorHeader,A as BlogEditorLanguageTabs,z as BlogEditorMetadata,H as BlogEditorPreview,x as BlogEditorProvider,G as BlogEditorToolbar,J as BlogEditorTranslate,s as Carousel,g as CubePageTransition,b as FadePageTransition,e as FlipPageTransition,m as GlowCard,l as Marquee,f as MorphPageTransition,k as Parallax,d as ScalePageTransition,c as SlidePageTransition,n as SpotlightCard,o as TextReveal,q as TiltCard,r as VideoBackground,h as ZoomPageTransition,t as generateSlug,E as getMarkdownPreview,F as insertMarkdown,u as isValidSlug,v as normalizeSlug,C as parseMarkdown,D as stripMarkdown,w as useBlogEditor,i as usePageTransition,j as usePageTransitionManager}from'./chunk-COR6CDMA.mjs';import'./chunk-PYBYZVSL.mjs';import {a as a$3,e,b as b$1,c as c$1,d}from'./chunk-BXX2TZUB.mjs';import {a as a$2}from'./chunk-IFSEJVOR.mjs';import {d as d$1}from'./chunk-FFH4ZFKS.mjs';import'./chunk-LOYAJIWO.mjs';import {l}from'./chunk-HN5LSP6L.mjs';import {a}from'./chunk-UUHAXGMO.mjs';import V,{useState,useEffect}from'react';import {jsx,jsxs,Fragment}from'react/jsx-runtime';var Z={spacing:{md:"1rem",lg:"1.5rem",xl:"2rem"}};var X="M1.83795 0.0849609C3.16041 -0.269391 4.51968 0.515459 4.87408 1.83789L11.7335 27.4395L17.8184 21.3545L13.9464 6.90332C13.5921 5.58102 14.3771 4.22171 15.6993 3.86719C16.2369 3.72314 16.78 3.76987 17.2598 3.96191C17.3834 3.97561 17.5081 3.99515 17.6319 4.02832L38.1182 9.51855C39.4407 9.87293 40.2255 11.2322 39.8712 12.5547C39.5166 13.8769 38.1574 14.6619 36.835 14.3076L32.9249 13.2598L23.3487 22.8359L24.4893 27.0908C24.8437 28.4133 24.0588 29.7735 22.7364 30.1279C21.4141 30.4822 20.0548 29.6972 19.7003 28.375L19.3008 26.8838L13.3506 32.835C13.3068 32.8789 13.2592 32.9181 13.213 32.958L14.2637 36.8789C14.6179 38.2012 13.8331 39.5606 12.5108 39.915C11.1884 40.2694 9.82913 39.4845 9.47467 38.1621L0.085022 3.12109C-0.269246 1.79868 0.515578 0.439365 1.83795 0.0849609ZM21.8672 17.3057L27.3946 11.7773L19.8438 9.75488L21.8672 17.3057Z",_e="M40.8865 0.0761719C41.2577 0.0762268 41.5614 0.211458 41.7976 0.481445C42.0507 0.751482 42.1605 1.08058 42.1267 1.46875L39.823 23.165C39.5361 25.933 40.042 28.0937 41.3416 29.6465C42.658 31.1823 44.5825 31.9502 47.114 31.9502C49.8482 31.9502 51.9919 31.1984 53.5447 29.6963C55.1142 28.1942 56.059 25.9832 56.3796 23.0635L58.6833 1.19043C58.7171 0.886659 58.8524 0.624671 59.0886 0.405273C59.3418 0.185863 59.6293 0.0761719 59.95 0.0761719H62.6589C63.0132 0.0762861 63.3085 0.211518 63.5447 0.481445C63.7978 0.751463 63.899 1.07211 63.8484 1.44336L61.4685 24.0254C61.0466 28.0084 59.5278 31.1565 56.9119 33.4688C54.2958 35.7641 50.9029 36.9121 46.7341 36.9121C42.6667 36.9121 39.5025 35.7215 37.241 33.3418C34.9794 30.962 34.0593 27.7639 34.4812 23.7471L36.8865 1.21582C36.9034 0.912022 37.0301 0.650074 37.2664 0.430664C37.5195 0.194523 37.8061 0.0761804 38.1267 0.0761719H40.8865ZM157.419 0.0761719C157.756 0.0762579 158.026 0.203032 158.228 0.456055C158.448 0.709181 158.532 1.01283 158.481 1.36719L156.502 12.4541C157.226 11.6092 158.164 10.9091 159.317 10.3545C160.667 9.71319 162.127 9.39258 163.697 9.39258C166.279 9.39262 168.355 10.3468 169.925 12.2539C171.494 14.1611 172.01 16.6756 171.469 19.7979L170.33 26.2539C169.756 29.5448 168.439 32.1437 166.381 34.0508C164.322 35.958 161.941 36.9121 159.241 36.9121C157.553 36.9121 156.102 36.5404 154.886 35.7979C153.815 35.1281 153.052 34.2874 152.597 33.2764L152.127 35.7979C152.093 36.0004 151.983 36.1857 151.798 36.3545C151.612 36.5063 151.393 36.583 151.139 36.583H148.861C148.524 36.5829 148.245 36.4561 148.026 36.2031C147.824 35.9501 147.756 35.6547 147.823 35.3174L153.899 1.0127C153.933 0.75964 154.06 0.540084 154.279 0.354492C154.498 0.168895 154.735 0.0761719 154.988 0.0761719H157.419ZM139.621 9.39258C142.203 9.39258 144.178 10.135 145.545 11.6201C146.929 13.1053 147.401 15.0885 146.963 17.5693L143.748 35.6455C143.714 35.8986 143.587 36.1181 143.368 36.3037C143.165 36.4894 142.92 36.582 142.634 36.582H140.33C140.026 36.582 139.773 36.4723 139.57 36.2529C139.368 36.0336 139.292 35.7723 139.343 35.4688L139.753 33.2568C138.858 34.4755 137.845 35.3911 136.71 36C135.562 36.6076 134.279 36.9111 132.861 36.9111C130.684 36.9111 128.987 36.27 127.772 34.9873C126.574 33.7047 126.161 31.9917 126.532 29.8486L127.09 26.6582C127.478 24.4306 128.515 22.6923 130.203 21.4434C131.891 20.1945 133.992 19.5694 136.507 19.5693C137.452 19.5693 138.389 19.6961 139.317 19.9492C140.245 20.1855 141.047 20.5316 141.722 20.9873L142.304 17.5947C142.541 16.2448 142.296 15.2156 141.57 14.5068C140.844 13.798 139.883 13.4434 138.684 13.4434C137.959 13.4434 137.3 13.5616 136.71 13.7979C136.136 14.0341 135.603 14.3547 135.114 14.7598C134.625 15.1479 134.161 15.6209 133.722 16.1777C133.301 16.7174 132.98 17.004 132.76 17.0381C132.541 17.0718 132.329 17.0293 132.127 16.9111L130.456 15.8486C130.27 15.7305 130.144 15.5527 130.077 15.3164C130.026 15.0801 130.254 14.5742 130.76 13.7979C131.284 13.0046 131.983 12.2613 132.861 11.5693C133.739 10.8605 134.726 10.3205 135.823 9.94922C136.937 9.57791 138.203 9.39258 139.621 9.39258ZM184.457 9.39258C185.587 9.39262 186.592 9.57795 187.469 9.94922C188.347 10.3205 189.064 10.8862 189.621 11.6455C190.195 12.405 190.566 13.1142 190.735 13.7725C190.921 14.4305 190.962 14.878 190.861 15.1143C190.76 15.3503 190.6 15.5104 190.381 15.5947L188.431 16.4307C188.178 16.5319 187.942 16.5489 187.722 16.4814C187.52 16.3971 187.318 16.1181 187.115 15.6455C186.912 15.173 186.659 14.7512 186.355 14.3799C186.068 13.9917 185.714 13.7127 185.292 13.5439C184.87 13.3584 184.355 13.2656 183.748 13.2656C182.803 13.2656 181.975 13.5105 181.266 14C180.574 14.4726 180.144 15.1818 179.975 16.127L179.899 16.5312C179.747 17.4931 179.866 18.2782 180.254 18.8857C180.659 19.4764 181.882 20.3124 183.925 21.3926C186.22 22.5065 187.74 23.6375 188.482 24.7852C189.225 25.9328 189.41 27.5113 189.039 29.5195L189.013 29.6963C188.558 32.2279 187.478 34.0681 185.773 35.2158C184.085 36.3466 182.119 36.9111 179.874 36.9111C178.406 36.9111 177.132 36.6671 176.052 36.1777C174.988 35.6714 174.169 34.9962 173.595 34.1523C173.038 33.3085 172.692 32.4981 172.557 31.7217C172.422 30.9453 172.422 30.4555 172.557 30.2529C172.692 30.0336 172.879 29.8822 173.115 29.7979L175.14 29.0381C175.377 28.9707 175.596 28.9791 175.799 29.0635C176.018 29.1481 176.22 29.4943 176.406 30.1016C176.609 30.6922 176.853 31.2067 177.14 31.6455C177.444 32.0843 177.857 32.4304 178.381 32.6836C178.921 32.9199 179.604 33.0381 180.431 33.0381C181.427 33.038 182.296 32.7761 183.039 32.2529C183.798 31.7297 184.263 30.9788 184.431 30L184.507 29.6709C184.692 28.6584 184.625 27.8232 184.304 27.165C183.984 26.4899 182.954 25.671 181.216 24.709C178.684 23.477 177.004 22.2532 176.177 21.0381C175.367 19.8061 175.115 18.3884 175.419 16.7852L175.545 16.1523C175.916 13.9751 176.879 12.3042 178.431 11.1396C180.001 9.97511 182.01 9.39258 184.457 9.39258ZM7.92456 0.0507812C8.3294 0.0508971 8.6588 0.202195 8.91187 0.505859C9.16494 0.792681 9.26609 1.13054 9.21558 1.51855L7.72632 15.5439H25.7742L27.2917 1.24023C27.3255 0.936656 27.4685 0.666822 27.7214 0.430664C27.9746 0.177499 28.2706 0.0507812 28.6082 0.0507812H31.4685C31.8566 0.0507849 32.1773 0.202255 32.4304 0.505859C32.7004 0.792695 32.81 1.13051 32.7595 1.51855L29.1648 35.418C29.131 35.7217 28.9872 35.9998 28.7341 36.2529C28.481 36.4892 28.1859 36.6074 27.8484 36.6074H24.9871C24.5822 36.6073 24.2528 36.4645 23.9998 36.1777C23.7467 35.874 23.6455 35.5277 23.696 35.1396L25.2371 20.6074H7.18921L5.61987 35.3926C5.60297 35.7131 5.46 35.9999 5.19019 36.2529C4.93702 36.4892 4.64953 36.6074 4.32886 36.6074H1.44312C1.05506 36.6074 0.725803 36.4645 0.455811 36.1777C0.202712 35.874 0.10156 35.5277 0.1521 35.1396L3.74683 1.26562C3.7806 0.945022 3.92439 0.666913 4.17749 0.430664C4.43063 0.177522 4.72572 0.0508046 5.06323 0.0507812H7.92456ZM81.2156 0.0507812C81.57 0.050791 81.8821 0.168994 82.1521 0.405273C82.4389 0.624614 82.6328 0.902832 82.7341 1.24023L92.4304 34.9111C92.5654 35.3837 92.5068 35.7894 92.2537 36.127C92.0005 36.4475 91.6458 36.6074 91.1902 36.6074H88.2283C87.9414 36.6074 87.6709 36.5148 87.4177 36.3291C87.1816 36.1266 87.0301 35.8986 86.9626 35.6455L84.6492 27.3418H69.4958L65.3171 35.8232C65.2159 36.0426 65.055 36.228 64.8357 36.3799C64.6163 36.5149 64.3799 36.582 64.1267 36.582H61.1394C60.6838 36.582 60.3376 36.3967 60.1013 36.0254C59.8651 35.6542 59.8652 35.2407 60.1013 34.7852L77.0632 1.0127C77.2151 0.708897 77.4185 0.472488 77.6716 0.303711C77.9416 0.135061 78.2453 0.0507812 78.5828 0.0507812H81.2156ZM111.368 0.0507812C111.773 0.050882 112.102 0.210697 112.355 0.53125C112.608 0.835009 112.692 1.18973 112.608 1.59473L107.368 31.3672H122.634C123.039 31.3672 123.359 31.511 123.595 31.7979C123.832 32.0847 123.916 32.4139 123.848 32.7852L123.368 35.418C123.334 35.7048 123.19 35.9498 122.937 36.1523C122.701 36.3548 122.439 36.4561 122.152 36.4561H102.405C102.017 36.456 101.696 36.3207 101.443 36.0508C101.207 35.7639 101.123 35.4177 101.19 35.0127L107.19 1.13965C107.241 0.869608 107.393 0.624683 107.646 0.405273C107.899 0.169049 108.177 0.0508458 108.481 0.0507812H111.368ZM136.81 23.0889C135.41 23.0889 134.254 23.384 133.343 23.9746C132.431 24.5653 131.883 25.4346 131.697 26.582L131.165 29.5947C130.979 30.6747 131.182 31.4938 131.772 32.0508C132.363 32.6077 133.283 32.8867 134.532 32.8867C136.085 32.8867 137.418 32.3295 138.532 31.2158C139.663 30.085 140.304 28.9115 140.456 27.6963L141.013 24.6328C140.676 24.1266 140.127 23.7473 139.368 23.4941C138.608 23.2241 137.755 23.0889 136.81 23.0889ZM162.052 13.8232C160.364 13.8232 158.853 14.3972 157.519 15.5449C156.186 16.6757 155.351 18.1946 155.013 20.1016L153.925 26.2793C153.604 28.085 153.857 29.5784 154.684 30.7598C155.511 31.9243 156.836 32.5068 158.659 32.5068C160.296 32.5068 161.782 31.9584 163.115 30.8613C164.465 29.7475 165.3 28.2115 165.621 26.2539L166.71 20.0762C167.047 18.1353 166.785 16.608 165.925 15.4941C165.064 14.3803 163.773 13.8233 162.052 13.8232ZM79.0134 8.02539L71.5916 23.0889H83.4636L79.2664 8.02539L79.1902 7.64551L79.0134 8.02539Z";function Fe(d){return typeof d=="number"?`${d}rem`:{sm:Z.spacing.md,md:Z.spacing.lg,lg:Z.spacing.xl}[d]}function Oe({variant:d="symbol",size:e="md",animated:t=false,className:m,...c}){let l=Fe(e);if(useEffect(()=>{if(!t)return;let p="hua-logo-animation";if(document.getElementById(p))return;let x=document.createElement("style");return x.id=p,x.textContent=`
|
|
2
|
+
export{b as HeroSection,a as ScrollProgress}from'./chunk-5DPW7SVD.mjs';export{a as FeatureCard}from'./chunk-FHMFDCX2.mjs';export{a as ComponentLayout}from'./chunk-TAP6MYDW.mjs';import {a as a$1,b,c}from'./chunk-K2FOFIST.mjs';export{a as AdvancedPageTransition,I as BlogEditor,G as BlogEditorActions,z as BlogEditorContent,w as BlogEditorHeader,y as BlogEditorLanguageTabs,x as BlogEditorMetadata,F as BlogEditorPreview,v as BlogEditorProvider,E as BlogEditorToolbar,H as BlogEditorTranslate,g as CubePageTransition,p as DotNav,b as FadePageTransition,e as FlipPageTransition,q as HorizontalScroll,o as ImageReveal,f as MorphPageTransition,k as Parallax,d as ScalePageTransition,c as SlidePageTransition,l as TextReveal,m as TiltCard,n as VideoBackground,h as ZoomPageTransition,r as generateSlug,C as getMarkdownPreview,D as insertMarkdown,s as isValidSlug,t as normalizeSlug,A as parseMarkdown,B as stripMarkdown,u as useBlogEditor,i as usePageTransition,j as usePageTransitionManager}from'./chunk-CNW22G24.mjs';export{d as AnimatedGradient,e as Carousel,b as GlowCard,a as Marquee,c as SpotlightCard}from'./chunk-Q76JW7X5.mjs';import'./chunk-TBZ645BI.mjs';import {a as a$3,e,b as b$1,c as c$1,d}from'./chunk-CW66UBQG.mjs';import {a as a$2}from'./chunk-J47ZEXEL.mjs';import {d as d$1}from'./chunk-O24K56OS.mjs';import'./chunk-SD6XGDAC.mjs';import'./chunk-HEBXAFRY.mjs';import {l}from'./chunk-ZQUMJQYV.mjs';import {a}from'./chunk-QEMPERUK.mjs';import'./chunk-EAZEI74V.mjs';import V,{useState,useEffect}from'react';import {jsx,jsxs,Fragment}from'react/jsx-runtime';var Z={spacing:{md:"1rem",lg:"1.5rem",xl:"2rem"}};var Q="M1.83795 0.0849609C3.16041 -0.269391 4.51968 0.515459 4.87408 1.83789L11.7335 27.4395L17.8184 21.3545L13.9464 6.90332C13.5921 5.58102 14.3771 4.22171 15.6993 3.86719C16.2369 3.72314 16.78 3.76987 17.2598 3.96191C17.3834 3.97561 17.5081 3.99515 17.6319 4.02832L38.1182 9.51855C39.4407 9.87293 40.2255 11.2322 39.8712 12.5547C39.5166 13.8769 38.1574 14.6619 36.835 14.3076L32.9249 13.2598L23.3487 22.8359L24.4893 27.0908C24.8437 28.4133 24.0588 29.7735 22.7364 30.1279C21.4141 30.4822 20.0548 29.6972 19.7003 28.375L19.3008 26.8838L13.3506 32.835C13.3068 32.8789 13.2592 32.9181 13.213 32.958L14.2637 36.8789C14.6179 38.2012 13.8331 39.5606 12.5108 39.915C11.1884 40.2694 9.82913 39.4845 9.47467 38.1621L0.085022 3.12109C-0.269246 1.79868 0.515578 0.439365 1.83795 0.0849609ZM21.8672 17.3057L27.3946 11.7773L19.8438 9.75488L21.8672 17.3057Z",Ae="M40.8865 0.0761719C41.2577 0.0762268 41.5614 0.211458 41.7976 0.481445C42.0507 0.751482 42.1605 1.08058 42.1267 1.46875L39.823 23.165C39.5361 25.933 40.042 28.0937 41.3416 29.6465C42.658 31.1823 44.5825 31.9502 47.114 31.9502C49.8482 31.9502 51.9919 31.1984 53.5447 29.6963C55.1142 28.1942 56.059 25.9832 56.3796 23.0635L58.6833 1.19043C58.7171 0.886659 58.8524 0.624671 59.0886 0.405273C59.3418 0.185863 59.6293 0.0761719 59.95 0.0761719H62.6589C63.0132 0.0762861 63.3085 0.211518 63.5447 0.481445C63.7978 0.751463 63.899 1.07211 63.8484 1.44336L61.4685 24.0254C61.0466 28.0084 59.5278 31.1565 56.9119 33.4688C54.2958 35.7641 50.9029 36.9121 46.7341 36.9121C42.6667 36.9121 39.5025 35.7215 37.241 33.3418C34.9794 30.962 34.0593 27.7639 34.4812 23.7471L36.8865 1.21582C36.9034 0.912022 37.0301 0.650074 37.2664 0.430664C37.5195 0.194523 37.8061 0.0761804 38.1267 0.0761719H40.8865ZM157.419 0.0761719C157.756 0.0762579 158.026 0.203032 158.228 0.456055C158.448 0.709181 158.532 1.01283 158.481 1.36719L156.502 12.4541C157.226 11.6092 158.164 10.9091 159.317 10.3545C160.667 9.71319 162.127 9.39258 163.697 9.39258C166.279 9.39262 168.355 10.3468 169.925 12.2539C171.494 14.1611 172.01 16.6756 171.469 19.7979L170.33 26.2539C169.756 29.5448 168.439 32.1437 166.381 34.0508C164.322 35.958 161.941 36.9121 159.241 36.9121C157.553 36.9121 156.102 36.5404 154.886 35.7979C153.815 35.1281 153.052 34.2874 152.597 33.2764L152.127 35.7979C152.093 36.0004 151.983 36.1857 151.798 36.3545C151.612 36.5063 151.393 36.583 151.139 36.583H148.861C148.524 36.5829 148.245 36.4561 148.026 36.2031C147.824 35.9501 147.756 35.6547 147.823 35.3174L153.899 1.0127C153.933 0.75964 154.06 0.540084 154.279 0.354492C154.498 0.168895 154.735 0.0761719 154.988 0.0761719H157.419ZM139.621 9.39258C142.203 9.39258 144.178 10.135 145.545 11.6201C146.929 13.1053 147.401 15.0885 146.963 17.5693L143.748 35.6455C143.714 35.8986 143.587 36.1181 143.368 36.3037C143.165 36.4894 142.92 36.582 142.634 36.582H140.33C140.026 36.582 139.773 36.4723 139.57 36.2529C139.368 36.0336 139.292 35.7723 139.343 35.4688L139.753 33.2568C138.858 34.4755 137.845 35.3911 136.71 36C135.562 36.6076 134.279 36.9111 132.861 36.9111C130.684 36.9111 128.987 36.27 127.772 34.9873C126.574 33.7047 126.161 31.9917 126.532 29.8486L127.09 26.6582C127.478 24.4306 128.515 22.6923 130.203 21.4434C131.891 20.1945 133.992 19.5694 136.507 19.5693C137.452 19.5693 138.389 19.6961 139.317 19.9492C140.245 20.1855 141.047 20.5316 141.722 20.9873L142.304 17.5947C142.541 16.2448 142.296 15.2156 141.57 14.5068C140.844 13.798 139.883 13.4434 138.684 13.4434C137.959 13.4434 137.3 13.5616 136.71 13.7979C136.136 14.0341 135.603 14.3547 135.114 14.7598C134.625 15.1479 134.161 15.6209 133.722 16.1777C133.301 16.7174 132.98 17.004 132.76 17.0381C132.541 17.0718 132.329 17.0293 132.127 16.9111L130.456 15.8486C130.27 15.7305 130.144 15.5527 130.077 15.3164C130.026 15.0801 130.254 14.5742 130.76 13.7979C131.284 13.0046 131.983 12.2613 132.861 11.5693C133.739 10.8605 134.726 10.3205 135.823 9.94922C136.937 9.57791 138.203 9.39258 139.621 9.39258ZM184.457 9.39258C185.587 9.39262 186.592 9.57795 187.469 9.94922C188.347 10.3205 189.064 10.8862 189.621 11.6455C190.195 12.405 190.566 13.1142 190.735 13.7725C190.921 14.4305 190.962 14.878 190.861 15.1143C190.76 15.3503 190.6 15.5104 190.381 15.5947L188.431 16.4307C188.178 16.5319 187.942 16.5489 187.722 16.4814C187.52 16.3971 187.318 16.1181 187.115 15.6455C186.912 15.173 186.659 14.7512 186.355 14.3799C186.068 13.9917 185.714 13.7127 185.292 13.5439C184.87 13.3584 184.355 13.2656 183.748 13.2656C182.803 13.2656 181.975 13.5105 181.266 14C180.574 14.4726 180.144 15.1818 179.975 16.127L179.899 16.5312C179.747 17.4931 179.866 18.2782 180.254 18.8857C180.659 19.4764 181.882 20.3124 183.925 21.3926C186.22 22.5065 187.74 23.6375 188.482 24.7852C189.225 25.9328 189.41 27.5113 189.039 29.5195L189.013 29.6963C188.558 32.2279 187.478 34.0681 185.773 35.2158C184.085 36.3466 182.119 36.9111 179.874 36.9111C178.406 36.9111 177.132 36.6671 176.052 36.1777C174.988 35.6714 174.169 34.9962 173.595 34.1523C173.038 33.3085 172.692 32.4981 172.557 31.7217C172.422 30.9453 172.422 30.4555 172.557 30.2529C172.692 30.0336 172.879 29.8822 173.115 29.7979L175.14 29.0381C175.377 28.9707 175.596 28.9791 175.799 29.0635C176.018 29.1481 176.22 29.4943 176.406 30.1016C176.609 30.6922 176.853 31.2067 177.14 31.6455C177.444 32.0843 177.857 32.4304 178.381 32.6836C178.921 32.9199 179.604 33.0381 180.431 33.0381C181.427 33.038 182.296 32.7761 183.039 32.2529C183.798 31.7297 184.263 30.9788 184.431 30L184.507 29.6709C184.692 28.6584 184.625 27.8232 184.304 27.165C183.984 26.4899 182.954 25.671 181.216 24.709C178.684 23.477 177.004 22.2532 176.177 21.0381C175.367 19.8061 175.115 18.3884 175.419 16.7852L175.545 16.1523C175.916 13.9751 176.879 12.3042 178.431 11.1396C180.001 9.97511 182.01 9.39258 184.457 9.39258ZM7.92456 0.0507812C8.3294 0.0508971 8.6588 0.202195 8.91187 0.505859C9.16494 0.792681 9.26609 1.13054 9.21558 1.51855L7.72632 15.5439H25.7742L27.2917 1.24023C27.3255 0.936656 27.4685 0.666822 27.7214 0.430664C27.9746 0.177499 28.2706 0.0507812 28.6082 0.0507812H31.4685C31.8566 0.0507849 32.1773 0.202255 32.4304 0.505859C32.7004 0.792695 32.81 1.13051 32.7595 1.51855L29.1648 35.418C29.131 35.7217 28.9872 35.9998 28.7341 36.2529C28.481 36.4892 28.1859 36.6074 27.8484 36.6074H24.9871C24.5822 36.6073 24.2528 36.4645 23.9998 36.1777C23.7467 35.874 23.6455 35.5277 23.696 35.1396L25.2371 20.6074H7.18921L5.61987 35.3926C5.60297 35.7131 5.46 35.9999 5.19019 36.2529C4.93702 36.4892 4.64953 36.6074 4.32886 36.6074H1.44312C1.05506 36.6074 0.725803 36.4645 0.455811 36.1777C0.202712 35.874 0.10156 35.5277 0.1521 35.1396L3.74683 1.26562C3.7806 0.945022 3.92439 0.666913 4.17749 0.430664C4.43063 0.177522 4.72572 0.0508046 5.06323 0.0507812H7.92456ZM81.2156 0.0507812C81.57 0.050791 81.8821 0.168994 82.1521 0.405273C82.4389 0.624614 82.6328 0.902832 82.7341 1.24023L92.4304 34.9111C92.5654 35.3837 92.5068 35.7894 92.2537 36.127C92.0005 36.4475 91.6458 36.6074 91.1902 36.6074H88.2283C87.9414 36.6074 87.6709 36.5148 87.4177 36.3291C87.1816 36.1266 87.0301 35.8986 86.9626 35.6455L84.6492 27.3418H69.4958L65.3171 35.8232C65.2159 36.0426 65.055 36.228 64.8357 36.3799C64.6163 36.5149 64.3799 36.582 64.1267 36.582H61.1394C60.6838 36.582 60.3376 36.3967 60.1013 36.0254C59.8651 35.6542 59.8652 35.2407 60.1013 34.7852L77.0632 1.0127C77.2151 0.708897 77.4185 0.472488 77.6716 0.303711C77.9416 0.135061 78.2453 0.0507812 78.5828 0.0507812H81.2156ZM111.368 0.0507812C111.773 0.050882 112.102 0.210697 112.355 0.53125C112.608 0.835009 112.692 1.18973 112.608 1.59473L107.368 31.3672H122.634C123.039 31.3672 123.359 31.511 123.595 31.7979C123.832 32.0847 123.916 32.4139 123.848 32.7852L123.368 35.418C123.334 35.7048 123.19 35.9498 122.937 36.1523C122.701 36.3548 122.439 36.4561 122.152 36.4561H102.405C102.017 36.456 101.696 36.3207 101.443 36.0508C101.207 35.7639 101.123 35.4177 101.19 35.0127L107.19 1.13965C107.241 0.869608 107.393 0.624683 107.646 0.405273C107.899 0.169049 108.177 0.0508458 108.481 0.0507812H111.368ZM136.81 23.0889C135.41 23.0889 134.254 23.384 133.343 23.9746C132.431 24.5653 131.883 25.4346 131.697 26.582L131.165 29.5947C130.979 30.6747 131.182 31.4938 131.772 32.0508C132.363 32.6077 133.283 32.8867 134.532 32.8867C136.085 32.8867 137.418 32.3295 138.532 31.2158C139.663 30.085 140.304 28.9115 140.456 27.6963L141.013 24.6328C140.676 24.1266 140.127 23.7473 139.368 23.4941C138.608 23.2241 137.755 23.0889 136.81 23.0889ZM162.052 13.8232C160.364 13.8232 158.853 14.3972 157.519 15.5449C156.186 16.6757 155.351 18.1946 155.013 20.1016L153.925 26.2793C153.604 28.085 153.857 29.5784 154.684 30.7598C155.511 31.9243 156.836 32.5068 158.659 32.5068C160.296 32.5068 161.782 31.9584 163.115 30.8613C164.465 29.7475 165.3 28.2115 165.621 26.2539L166.71 20.0762C167.047 18.1353 166.785 16.608 165.925 15.4941C165.064 14.3803 163.773 13.8233 162.052 13.8232ZM79.0134 8.02539L71.5916 23.0889H83.4636L79.2664 8.02539L79.1902 7.64551L79.0134 8.02539Z";function _e(d){return typeof d=="number"?`${d}rem`:{sm:Z.spacing.md,md:Z.spacing.lg,lg:Z.spacing.xl}[d]}function Oe({variant:d="symbol",size:e="md",animated:t=false,className:i,...c}){let m=_e(e);if(useEffect(()=>{if(!t)return;let p="hua-logo-animation";if(document.getElementById(p))return;let v=document.createElement("style");return v.id=p,v.textContent=`
|
|
3
3
|
@keyframes hua-logo-draw {
|
|
4
4
|
from {
|
|
5
5
|
stroke-dashoffset: 1000;
|
|
@@ -28,6 +28,6 @@ export{b as HeroSection,a as ScrollProgress}from'./chunk-GLZKT7JN.mjs';export{a
|
|
|
28
28
|
fill: none;
|
|
29
29
|
animation: hua-logo-draw-wordmark 2s ease-in-out 0.5s forwards;
|
|
30
30
|
}
|
|
31
|
-
`,document.head.appendChild(x),()=>{let u=document.getElementById(p);u&&u.remove();}},[t]),d==="symbol")return jsx("svg",{width:l,height:l,viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:a("text-foreground",m),children:jsx("path",{d:X,fill:t?"none":"currentColor",stroke:t?"currentColor":"none",strokeWidth:t?"0.5":void 0,strokeLinecap:"round",strokeLinejoin:"round",className:t?"hua-logo-path":void 0})});let g=152/37;return jsxs("div",{className:a("inline-flex items-center gap-1 flex-shrink-0 min-w-max",m),...c,children:[jsx("svg",{viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"flex-shrink-0",style:{width:l,height:l},children:jsx("path",{d:X,fill:t?"none":"currentColor",stroke:t?"currentColor":"none",strokeWidth:t?"0.5":void 0,strokeLinecap:"round",strokeLinejoin:"round",className:t?"hua-logo-path":void 0})}),jsx("svg",{viewBox:"40 0 152 37",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"flex-shrink-0",style:{height:l,width:`calc(${l} * ${g})`},children:jsx("path",{d:_e,fill:t?"none":"currentColor",stroke:t?"currentColor":"none",strokeWidth:t?"0.5":void 0,strokeLinecap:"round",strokeLinejoin:"round",className:t?"hua-logo-wordmark":void 0})})]})}var te=V.forwardRef(({className:d,id:e,storageKey:t="bookmarks",defaultBookmarked:m=false,onBookmarkChange:c,size:l$1="md",variant:g="default",...p},x)=>{let[u,h]=useState(m);useEffect(()=>{let C=localStorage.getItem(t);if(C){let n=JSON.parse(C);h(n.includes(e));}},[e,t]);let i=()=>{let C=!u;h(C);let n=localStorage.getItem(t),v=n?JSON.parse(n):[];if(C)v.includes(e)||v.push(e);else {let o=v.indexOf(e);o>-1&&v.splice(o,1);}localStorage.setItem(t,JSON.stringify(v)),c==null||c(C);},a$1={sm:"w-6 h-6",md:"w-8 h-8",lg:"w-10 h-10"},k={default:"text-muted-foreground hover:text-yellow-500 transition-colors",filled:"text-yellow-500 hover:text-yellow-600 transition-colors",outline:"border border-border text-muted-foreground hover:text-yellow-500 hover:border-yellow-500 transition-colors rounded"};return jsx("button",{ref:x,onClick:i,className:a("flex items-center justify-center transition-colors duration-200 ease-in-out focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-yellow-500 focus-visible:ring-offset-2",a$1[l$1],k[g],d),...p,children:jsx(l,{name:"star",className:a("transition-all duration-200",u&&"fill-current")})})});te.displayName="Bookmark";var re=V.forwardRef(({className:d,message:e$1,user:t={name:"\uC0AC\uC6A9\uC790",color:"#3b82f6"},assistant:m={name:"AI",color:"#10b981"},showAvatar:c$1=true,showTimestamp:l=true,showEmotion:g=true,variant:p="default",theme:x={userBubbleBg:"#3b82f6",userBubbleText:"#ffffff",aiBubbleBg:"#f3f4f6",aiBubbleText:"#1f2937"},...u},h)=>{var v,o,T;let i=e$1.role==="user";e$1.role==="assistant";e$1.role==="system";let C=N=>N?{joy:"bg-yellow-100 text-yellow-800",sadness:"bg-indigo-100 text-cyan-800",anger:"bg-red-100 text-red-800",calm:"bg-green-100 text-green-800",excitement:"bg-pink-100 text-pink-800",worry:"bg-gray-100 text-gray-800",gratitude:"bg-purple-100 text-purple-800",loneliness:"bg-indigo-100 text-indigo-800"}[N]||"bg-gray-100 text-gray-800":"bg-gray-100",n=N=>N.toLocaleTimeString("ko-KR",{hour:"2-digit",minute:"2-digit"});return p==="bubble"?jsx("div",{ref:h,className:a("flex w-full",i?"justify-end":"justify-start",d),...u,children:jsxs("div",{className:a("flex max-w-[80%] space-x-2",i?"flex-row-reverse space-x-reverse":"flex-row"),children:[c$1&&jsxs(a$1,{className:"w-8 h-8 flex-shrink-0",children:[jsx(b,{src:i?t.avatar:m.avatar,alt:i?t.name:m.name}),jsx(c,{style:{backgroundColor:i?t.color:m.color},children:(v=i?t.name:m.name)==null?void 0:v.charAt(0)})]}),jsxs("div",{className:"space-y-1",children:[jsx("div",{className:a("px-4 py-2 rounded-2xl max-w-full break-words",i?"rounded-br-md":"rounded-bl-md"),style:{backgroundColor:i?x.userBubbleBg:x.aiBubbleBg,color:i?x.userBubbleText:x.aiBubbleText},children:e$1.isTyping?jsxs("div",{className:"flex space-x-1",children:[jsx("div",{className:"w-2 h-2 bg-current rounded-full animate-bounce"}),jsx("div",{className:"w-2 h-2 bg-current rounded-full animate-bounce delay-100"}),jsx("div",{className:"w-2 h-2 bg-current rounded-full animate-bounce delay-200"})]}):jsx("div",{className:"whitespace-pre-wrap",children:e$1.content})}),jsxs("div",{className:a("flex items-center space-x-2 text-xs text-muted-foreground",i?"justify-end":"justify-start"),children:[l&&jsx("span",{children:n(e$1.timestamp)}),g&&e$1.emotion&&jsx(a$2,{variant:"secondary",className:a("text-xs",C(e$1.emotion)),children:e$1.emotion})]})]})]})}):p==="compact"?jsxs("div",{ref:h,className:a("flex items-start space-x-3 py-2",d),...u,children:[c$1&&jsxs(a$1,{className:"w-6 h-6 flex-shrink-0",children:[jsx(b,{src:i?t.avatar:m.avatar,alt:i?t.name:m.name}),jsx(c,{style:{backgroundColor:i?t.color:m.color},children:(o=i?t.name:m.name)==null?void 0:o.charAt(0)})]}),jsxs("div",{className:"flex-1 min-w-0",children:[jsxs("div",{className:"flex items-center space-x-2 mb-1",children:[jsx("span",{className:"text-sm font-medium",children:i?t.name:m.name}),l&&jsx("span",{className:"text-xs text-muted-foreground",children:n(e$1.timestamp)}),g&&e$1.emotion&&jsx(a$2,{variant:"secondary",className:a("text-xs",C(e$1.emotion)),children:e$1.emotion})]}),jsx("div",{className:"text-sm",children:e$1.isTyping?jsxs("div",{className:"flex space-x-1",children:[jsx("div",{className:"w-1.5 h-1.5 bg-muted-foreground rounded-full animate-bounce"}),jsx("div",{className:"w-1.5 h-1.5 bg-muted-foreground rounded-full animate-bounce delay-100"}),jsx("div",{className:"w-1.5 h-1.5 bg-muted-foreground rounded-full animate-bounce delay-200"})]}):jsx("div",{className:"whitespace-pre-wrap",children:e$1.content})})]})]}):jsxs("div",{ref:h,className:a("flex items-start space-x-3 py-4",d),...u,children:[c$1&&jsxs(a$1,{className:"w-10 h-10 flex-shrink-0",children:[jsx(b,{src:i?t.avatar:m.avatar,alt:i?t.name:m.name}),jsx(c,{style:{backgroundColor:i?t.color:m.color},children:(T=i?t.name:m.name)==null?void 0:T.charAt(0)})]}),jsxs("div",{className:"flex-1 min-w-0",children:[jsxs("div",{className:"flex items-center space-x-2 mb-2",children:[jsx("span",{className:"font-medium",children:i?t.name:m.name}),l&&jsx("span",{className:"text-sm text-muted-foreground",children:n(e$1.timestamp)}),g&&e$1.emotion&&jsx(a$2,{variant:"secondary",className:a("text-xs",C(e$1.emotion)),children:e$1.emotion})]}),jsx(a$3,{className:a("inline-block",i?"bg-primary text-primary-foreground":"bg-muted"),children:jsx(e,{className:"p-3",children:e$1.isTyping?jsxs("div",{className:"flex space-x-1",children:[jsx("div",{className:"w-2 h-2 bg-current rounded-full animate-bounce"}),jsx("div",{className:"w-2 h-2 bg-current rounded-full animate-bounce delay-100"}),jsx("div",{className:"w-2 h-2 bg-current rounded-full animate-bounce delay-200"})]}):jsx("div",{className:"whitespace-pre-wrap",children:e$1.content})})})]})]})});re.displayName="ChatMessage";var H=V.forwardRef(({className:d,value:e,max:t=100,size:m="md",color:c="blue",...l},g)=>{let p={sm:"h-2",md:"h-3",lg:"h-4"},x={blue:"bg-indigo-500",green:"bg-green-500",yellow:"bg-yellow-500",red:"bg-red-500",purple:"bg-purple-500",orange:"bg-orange-500",indigo:"bg-indigo-500",pink:"bg-pink-500",gray:"bg-gray-500"},u=Math.min(Math.max(e/t*100,0),100);return jsx("div",{ref:g,className:a("w-full bg-gray-200 rounded-full dark:bg-gray-700",p[m],d),...l,children:jsx("div",{className:a("h-full rounded-full transition-all duration-300",x[c]||x.blue),style:{width:`${u}%`}})})});H.displayName="EmotionMeter";var ne=V.forwardRef(({className:d$1,primaryEmotion:e$1,emotionDistribution:t=[],keywords:m=[],intensity:c=50,positivity:l=70,energy:g=60,showMeter:p=true,showDistribution:x=true,showKeywords:u=true,showMetrics:h=true,layout:i="detailed",...a$1},k)=>{let C=o=>o<30?"\uC57D\uD568":o<70?"\uBCF4\uD1B5":"\uAC15\uD568",n=o=>o<30?"\uBD80\uC815\uC801":o<70?"\uC911\uB9BD\uC801":"\uAE0D\uC815\uC801",v=o=>o<30?"\uB0AE\uC74C":o<70?"\uBCF4\uD1B5":"\uB192\uC74C";return i==="compact"?jsxs("div",{ref:k,className:a("space-y-3",d$1),...a$1,children:[e$1&&jsxs("div",{className:"flex items-center justify-between",children:[jsx("span",{className:"text-sm font-medium",children:"\uC8FC\uC694 \uAC10\uC815:"}),jsxs("div",{className:"flex items-center space-x-2",children:[jsxs("span",{className:"text-sm text-muted-foreground",children:[e$1.name," (",e$1.intensity,"%)"]}),p&&jsx(H,{value:e$1.intensity,size:"sm",color:"blue"})]})]}),h&&jsxs(Fragment,{children:[jsxs("div",{className:"flex items-center justify-between",children:[jsx("span",{className:"text-sm font-medium",children:"\uAC10\uC815 \uAC15\uB3C4:"}),jsx("span",{className:"text-sm text-muted-foreground",children:C(c)})]}),jsxs("div",{className:"flex items-center justify-between",children:[jsx("span",{className:"text-sm font-medium",children:"\uAE0D\uC815\uC131:"}),jsx("span",{className:"text-sm text-muted-foreground",children:n(l)})]}),jsxs("div",{className:"flex items-center justify-between",children:[jsx("span",{className:"text-sm font-medium",children:"\uC5D0\uB108\uC9C0:"}),jsx("span",{className:"text-sm text-muted-foreground",children:v(g)})]})]}),u&&m.length>0&&jsxs("div",{children:[jsx("span",{className:"text-sm font-medium",children:"\uD0A4\uC6CC\uB4DC:"}),jsx("div",{className:"flex flex-wrap gap-1 mt-1",children:m.map(o=>jsx(a$2,{variant:"secondary",className:"text-xs",children:o},o))})]})]}):i==="card"?jsxs(a$3,{ref:k,className:a("",d$1),...a$1,children:[jsxs(b$1,{children:[jsxs(c$1,{className:"flex items-center",children:[jsx("span",{className:"text-2xl mr-2",children:"\u2728"}),"AI \uBD84\uC11D"]}),jsx(d,{children:"\uAC10\uC815 \uBD84\uC11D \uACB0\uACFC"})]}),jsxs(e,{className:"space-y-4",children:[e$1&&jsxs("div",{className:"space-y-3",children:[jsxs("div",{className:"text-sm",children:[jsx("span",{className:"font-medium",children:"\uC8FC\uC694 \uAC10\uC815:"}),jsxs("span",{className:"ml-2 text-muted-foreground",children:[e$1.name," (",e$1.intensity,"%)"]})]}),p&&jsx("div",{className:"flex justify-center",children:jsx(H,{value:e$1.intensity,size:"md",color:"blue"})})]}),h&&jsxs(Fragment,{children:[jsxs("div",{className:"text-sm",children:[jsx("span",{className:"font-medium",children:"\uAC10\uC815 \uAC15\uB3C4:"}),jsx("span",{className:"ml-2 text-muted-foreground",children:C(c)})]}),jsxs("div",{className:"text-sm",children:[jsx("span",{className:"font-medium",children:"\uAE0D\uC815\uC131:"}),jsx("span",{className:"ml-2 text-muted-foreground",children:n(l)})]}),jsxs("div",{className:"text-sm",children:[jsx("span",{className:"font-medium",children:"\uC5D0\uB108\uC9C0:"}),jsx("span",{className:"ml-2 text-muted-foreground",children:v(g)})]})]}),u&&m.length>0&&jsxs("div",{className:"text-sm",children:[jsx("span",{className:"font-medium",children:"\uD0A4\uC6CC\uB4DC:"}),jsx("div",{className:"flex flex-wrap gap-1 mt-1",children:m.map(o=>jsx(a$2,{variant:"secondary",className:"text-xs",children:o},o))})]})]})]}):jsxs("div",{ref:k,className:a("space-y-6",d$1),...a$1,children:[e$1&&jsxs("div",{className:"space-y-4",children:[jsx("h3",{className:"text-lg font-semibold",children:"\uC8FC\uC694 \uAC10\uC815"}),jsxs("div",{className:"flex items-center space-x-4",children:[jsxs("div",{className:"text-center",children:[jsx("div",{className:"text-2xl font-bold text-primary",children:e$1.name}),jsxs("div",{className:"text-sm text-muted-foreground",children:[e$1.intensity,"% \uAC15\uB3C4"]})]}),p&&jsx(H,{value:e$1.intensity,size:"lg",color:"blue"})]})]}),x&&t.length>0&&jsxs("div",{className:"space-y-4",children:[jsx("h3",{className:"text-lg font-semibold",children:"\uAC10\uC815 \uBD84\uD3EC"}),jsx("div",{className:"space-y-3",children:t.map((o,T)=>jsxs("div",{className:"space-y-2",children:[jsxs("div",{className:"flex items-center justify-between",children:[jsx("span",{className:"text-sm font-medium",children:o.emotion}),jsxs("span",{className:"text-sm text-muted-foreground",children:[o.percentage,"%"]})]}),jsx("div",{className:"w-full bg-muted rounded-full h-2",children:jsx("div",{className:`${o.color} h-2 rounded-full transition-all duration-300`,style:{width:`${o.percentage}%`}})})]},T))})]}),h&&jsxs("div",{className:"space-y-4",children:[jsx("h3",{className:"text-lg font-semibold",children:"\uBD84\uC11D \uC9C0\uD45C"}),jsxs("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-4",children:[jsxs("div",{className:"space-y-2",children:[jsx("div",{className:"text-sm font-medium",children:"\uAC10\uC815 \uAC15\uB3C4"}),jsx("div",{className:"text-2xl font-bold text-primary",children:C(c)}),jsx("div",{className:"w-full bg-muted rounded-full h-2",children:jsx("div",{className:"bg-primary h-2 rounded-full transition-all duration-300",style:{width:`${c}%`}})})]}),jsxs("div",{className:"space-y-2",children:[jsx("div",{className:"text-sm font-medium",children:"\uAE0D\uC815\uC131"}),jsx("div",{className:"text-2xl font-bold text-green-600",children:n(l)}),jsx("div",{className:"w-full bg-muted rounded-full h-2",children:jsx("div",{className:"bg-green-500 h-2 rounded-full transition-all duration-300",style:{width:`${l}%`}})})]}),jsxs("div",{className:"space-y-2",children:[jsx("div",{className:"text-sm font-medium",children:"\uC5D0\uB108\uC9C0"}),jsx("div",{className:"text-2xl font-bold text-orange-600",children:v(g)}),jsx("div",{className:"w-full bg-muted rounded-full h-2",children:jsx("div",{className:"bg-orange-500 h-2 rounded-full transition-all duration-300",style:{width:`${g}%`}})})]})]})]}),u&&m.length>0&&jsxs("div",{className:"space-y-4",children:[jsx("h3",{className:"text-lg font-semibold",children:"\uAC10\uC815 \uD0A4\uC6CC\uB4DC"}),jsx("div",{className:"flex flex-wrap gap-2",children:m.map(o=>jsx(a$2,{variant:"outline",className:"text-sm",children:o},o))})]})]})});ne.displayName="EmotionAnalysis";var $=V.forwardRef(({className:d,emotion:e,isSelected:t=false,size:m="md",...c},l)=>jsx("button",{ref:l,className:a("rounded-full border-2 transition-all duration-200 hover:scale-105 focus:outline-none focus:ring-1 focus:ring-ring",{sm:"w-8 h-8 text-sm",md:"w-12 h-12 text-lg",lg:"w-16 h-16 text-xl"}[m],t?"border-indigo-500 bg-indigo-50 dark:bg-indigo-900/20":"border-gray-200 bg-white dark:border-gray-700 dark:bg-gray-800",d),...c,children:e}));$.displayName="EmotionButton";var qe=[{key:"joy",label:"\uAE30\uC068",icon:"smile",color:"yellow"},{key:"sadness",label:"\uC2AC\uD514",icon:"frown",color:"blue"},{key:"anger",label:"\uD654\uB0A8",icon:"angry",color:"red"},{key:"calm",label:"\uD3C9\uC628",icon:"heart",color:"green"},{key:"excitement",label:"\uC124\uB818",icon:"star",color:"pink"},{key:"worry",label:"\uAC71\uC815",icon:"meh",color:"gray"},{key:"gratitude",label:"\uAC10\uC0AC",icon:"heart",color:"purple"},{key:"loneliness",label:"\uC678\uB85C\uC6C0",icon:"user",color:"indigo"}],se=V.forwardRef(({className:d,selectedEmotion:e,onEmotionSelect:t,layout:m="grid",showIntensity:c=false,intensity:l=50,onIntensityChange:g,emotions:p=qe,size:x="md",variant:u="button",...h},i)=>{let a$1=n=>{t==null||t(n);},k=n=>{let v=e===n.key;return u==="button"?jsx($,{emotion:n.key,isSelected:v,size:x,onClick:()=>a$1(n.key),className:a("transition-all duration-200",v&&"ring-1 ring-offset-2 ring-primary"),children:n.label},n.key):u==="card"?jsx("div",{className:a("p-4 rounded-lg border-2 cursor-pointer transition-all duration-200 hover:shadow-md",v?"border-primary bg-primary/5":"border-border hover:border-primary/50"),onClick:()=>a$1(n.key),children:jsxs("div",{className:"flex items-center space-x-3",children:[jsx("div",{className:a("w-8 h-8 rounded-full flex items-center justify-center",v?"bg-primary text-primary-foreground":"bg-muted"),children:n.icon&&jsxs("span",{className:"text-lg",children:[n.icon==="smile"&&"\u{1F60A}",n.icon==="frown"&&"\u{1F622}",n.icon==="angry"&&"\u{1F620}",n.icon==="heart"&&"\u2764\uFE0F",n.icon==="star"&&"\u2B50",n.icon==="meh"&&"\u{1F610}",n.icon==="user"&&"\u{1F464}"]})}),jsx("span",{className:"font-medium truncate max-w-[120px]",children:n.label})]})},n.key):u==="chip"?jsx("div",{className:a("px-3 py-1 rounded-full cursor-pointer transition-all duration-200 text-sm font-medium",v?"bg-primary text-primary-foreground":"bg-muted hover:bg-muted/80"),onClick:()=>a$1(n.key),children:jsx("span",{className:"truncate max-w-[100px]",children:n.label})},n.key):null},C={grid:"grid grid-cols-2 sm:grid-cols-3 md:grid-cols-4 gap-2 md:gap-3",list:"space-y-2",compact:"flex flex-wrap gap-1"};return jsxs("div",{ref:i,className:a("space-y-4",d),...h,children:[jsx("div",{className:C[m],children:p.map(k)}),c&&e&&jsxs("div",{className:"space-y-3",children:[jsxs("div",{className:"flex items-center justify-between",children:[jsx("span",{className:"text-sm font-medium",children:"\uAC10\uC815 \uAC15\uB3C4"}),jsxs("span",{className:"text-sm text-muted-foreground",children:[l,"%"]})]}),jsx("input",{type:"range",min:"0",max:"100",value:l,onChange:n=>g==null?void 0:g(Number(n.target.value)),className:"w-full h-2 bg-muted rounded-lg appearance-none cursor-pointer slider"}),jsxs("div",{className:"flex justify-between text-xs text-muted-foreground",children:[jsx("span",{children:"\uC57D\uD568"}),jsx("span",{children:"\uBCF4\uD1B5"}),jsx("span",{children:"\uAC15\uD568"})]})]}),e&&c&&jsx("div",{className:"flex justify-center",children:jsx(H,{value:l,size:"md",color:"blue"})})]})});se.displayName="EmotionSelector";var le=V.forwardRef(({className:d,size:e="md",variant:t="button",showLabel:m=false,languages:c=[{code:"ko",name:"\uD55C\uAD6D\uC5B4",flag:"\u{1F1F0}\u{1F1F7}"},{code:"en",name:"English",flag:"\u{1F1FA}\u{1F1F8}"},{code:"ja",name:"\u65E5\u672C\u8A9E",flag:"\u{1F1EF}\u{1F1F5}"},{code:"zh",name:"\u4E2D\u6587",flag:"\u{1F1E8}\u{1F1F3}"}],currentLanguage:l="ko",onLanguageChange:g,...p},x)=>{let [u,h]=V.useState(false),i=V.useRef(null),a$1=c.find(o=>o.code===l)||c[0],k={sm:"h-10 w-10",md:"h-12 w-12",lg:"h-14 w-14"};V.useEffect(()=>{let o=T=>{i.current&&!i.current.contains(T.target)&&h(false);};return u&&document.addEventListener("mousedown",o),()=>{document.removeEventListener("mousedown",o);}},[u]);let n=o=>{g==null||g(o),h(false);},v=()=>jsx("div",{className:"flex items-center justify-center",children:jsx("span",{className:"text-lg",children:a$1.flag})});return t==="icon"?jsxs("div",{ref:i,className:"relative",children:[jsx("button",{onClick:()=>h(!u),className:a("inline-flex items-center justify-center rounded-lg transition-all duration-300 hover:bg-muted focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring/50 focus-visible:ring-offset-2",k[e],d),...p,children:v()}),u&&jsx("div",{className:"absolute top-full right-0 mt-2 w-48 bg-background rounded-lg shadow-lg border border-border py-2 z-50",children:c.map(o=>jsxs("button",{onClick:()=>n(o.code),className:a("w-full px-4 py-3 text-left hover:bg-muted transition-colors duration-200 flex items-center gap-3",l===o.code&&"bg-indigo-50 dark:bg-indigo-900/20 text-indigo-600 dark:text-indigo-400"),children:[jsx("span",{className:"text-lg",children:o.flag}),jsx("span",{className:"text-sm font-medium",children:o.name})]},o.code))})]}):t==="dropdown"?jsxs("div",{ref:i,className:"relative",children:[jsxs("button",{onClick:()=>h(!u),className:a("inline-flex items-center gap-3 rounded-lg px-4 py-3 text-sm font-medium transition-all duration-300 hover:bg-muted focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring/50 focus-visible:ring-offset-2",d),...p,children:[jsx("span",{className:"text-lg",children:a$1.flag}),m&&jsx("span",{className:"text-foreground",children:a$1.name}),jsx("svg",{className:a("w-4 h-4 transition-transform duration-200",u&&"rotate-180"),fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M19 9l-7 7-7-7"})})]}),u&&jsx("div",{className:"absolute top-full right-0 mt-2 w-48 bg-background rounded-lg shadow-lg border border-border py-2 z-50",children:c.map(o=>jsxs("button",{onClick:()=>n(o.code),className:a("w-full px-4 py-3 text-left hover:bg-muted transition-colors duration-200 flex items-center gap-3",l===o.code&&"bg-indigo-50 dark:bg-indigo-900/20 text-indigo-600 dark:text-indigo-400"),children:[jsx("span",{className:"text-lg",children:o.flag}),jsx("span",{className:"text-sm font-medium",children:o.name})]},o.code))})]}):jsxs("button",{onClick:()=>{let T=(c.findIndex(N=>N.code===l)+1)%c.length;g==null||g(c[T].code);},className:a("inline-flex items-center gap-3 rounded-lg px-4 py-3 text-sm font-medium transition-all duration-300 hover:bg-muted focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring/50 focus-visible:ring-offset-2",d),...p,children:[jsx("span",{className:"text-lg",children:a$1.flag}),m&&jsx("span",{className:"text-foreground",children:a$1.name})]})});le.displayName="LanguageToggle";var ie=V.forwardRef(({className:d,targetId:e,text:t="Scroll down",iconName:m="arrowDown",iconSize:c=20,position:l$1="bottom-center",variant:g="default",size:p="md",animated:x=true,autoHide:u=true,hideThreshold:h=100,...i},a$1)=>{let[k,C]=useState(true);useEffect(()=>{if(!u)return;let N=()=>{let R=window.scrollY;C(R<h);};return N(),window.addEventListener("scroll",N,{passive:true}),()=>window.removeEventListener("scroll",N)},[u,h]);let n=()=>{if(e){let N=document.getElementById(e);N&&N.scrollIntoView({behavior:"smooth"});}else {let N=a$1;if(N.current){let R=N.current.nextElementSibling;R&&R.scrollIntoView({behavior:"smooth"});}}},v={"bottom-center":"bottom-8 left-1/2 transform -translate-x-1/2","bottom-left":"bottom-8 left-8","bottom-right":"bottom-8 right-8"},o={sm:"text-sm",md:"text-base",lg:"text-lg"},T={default:"text-muted-foreground hover:text-foreground",primary:"text-primary hover:text-primary/80",secondary:"text-secondary-foreground hover:text-secondary-foreground/80",outline:"text-foreground hover:text-foreground"};return k?jsx("div",{ref:a$1,className:a("absolute z-10",v[l$1],d),...i,children:jsxs(d$1,{onClick:n,variant:"ghost",size:"sm",className:a("flex flex-col items-center space-y-2 transition-all duration-300",o[p],T[g],x&&"animate-in fade-in-0 slide-in-from-bottom-2 duration-500"),"aria-label":t,children:[jsx("span",{className:"text-xs opacity-80",children:t}),jsx(l,{name:m,size:c,className:a(x&&"animate-bounce")})]})}):null});ie.displayName="ScrollIndicator";var de=V.forwardRef(({className:d,variant:e="default",size:t="md",orientation:m="both",autoHide:c=true,smooth:l=true,children:g,...p},x)=>{let u=()=>{switch(e){case "glass":return "scrollbar-thumb-white/20 hover:scrollbar-thumb-white/30 backdrop-blur-sm";case "colorful":return "scrollbar-thumb-gradient-to-b scrollbar-thumb-from-indigo-500 scrollbar-thumb-to-purple-500 hover:scrollbar-thumb-from-cyan-600 hover:scrollbar-thumb-to-purple-600";case "minimal":return "scrollbar-thumb-slate-200/50 hover:scrollbar-thumb-slate-300/70 dark:scrollbar-thumb-slate-700/50 dark:hover:scrollbar-thumb-slate-600/70";case "neon":return "scrollbar-thumb-cyan-400/60 hover:scrollbar-thumb-cyan-300/80 scrollbar-thumb-shadow-lg scrollbar-thumb-shadow-cyan-500/25";default:return "scrollbar-thumb-slate-300 hover:scrollbar-thumb-slate-400 dark:scrollbar-thumb-slate-600 dark:hover:scrollbar-thumb-slate-500"}},h=()=>{switch(t){case "sm":return "scrollbar-w-1";case "lg":return "scrollbar-w-3";case "xl":return "scrollbar-w-4";default:return "scrollbar-w-2"}},i=()=>{switch(m){case "vertical":return "overflow-y-auto overflow-x-hidden";case "horizontal":return "overflow-x-auto overflow-y-hidden";default:return "overflow-auto"}},a$1=a("scrollbar-thin scrollbar-track-transparent scrollbar-thumb-rounded-full transition-all duration-200",u(),h(),i(),c&&"scrollbar-hide",l&&"scroll-smooth",d);return jsx("div",{className:a$1,ref:x,...p,children:g})});de.displayName="Scrollbar";var me=V.forwardRef(({className:d,icon:e,title:t,description:m,variant:c="default",size:l$1="md",hover:g="scale",gradient:p="blue",customGradient:x,...u},h)=>{let i={sm:"p-4",md:"p-6",lg:"p-8"},a$1={default:"bg-background/90 backdrop-blur-sm border border-border/50",gradient:`bg-gradient-to-br ${x||nt(p)}`,glass:"bg-white/10 dark:bg-gray-800/10 backdrop-blur-md border border-white/20 dark:border-gray-700/20",neon:"bg-gray-900/90 dark:bg-gray-900/90 border border-cyan-400/30 dark:border-cyan-400/30 shadow-lg shadow-cyan-400/20"},k={scale:"hover:scale-105 transition-transform duration-300",glow:"hover:shadow-2xl hover:shadow-cyan-500/25 dark:hover:shadow-cyan-400/25 transition-shadow duration-300",slide:"hover:-translate-y-2 transition-transform duration-300",none:""},C=l$1==="lg"?"text-5xl":l$1==="md"?"text-4xl":"text-3xl";return jsxs("div",{ref:h,className:a("rounded-2xl shadow-lg transition-all duration-300 flex flex-col items-center text-center",i[l$1],a$1[c],k[g],d),...u,children:[e&&jsx("div",{className:`mb-4 ${C} ${c==="neon"?"text-cyan-400":""}`,children:typeof e=="string"&&e.startsWith("http")?jsx("img",{src:e,alt:t,className:"w-full h-full object-contain"}):jsx(l,{name:e,className:"w-full h-full"})}),jsx("h3",{className:a("font-bold mb-2",l$1==="lg"?"text-2xl":l$1==="md"?"text-xl":"text-lg",c==="gradient"?"text-white":"text-foreground"),children:t}),jsx("p",{className:a(l$1==="lg"?"text-base":"text-sm",c==="gradient"?"text-white/90":"text-muted-foreground"),children:m})]})});me.displayName="FeatureCard";function nt(d){let e={blue:"from-indigo-500 via-cyan-500 to-cyan-600",purple:"from-purple-500 via-pink-500 to-purple-600",green:"from-green-500 via-emerald-500 to-green-600",orange:"from-orange-500 via-red-500 to-orange-600",pink:"from-pink-500 via-rose-500 to-pink-600"};return e[d]||e.blue}var it={blue:{container:"bg-gradient-to-r from-indigo-50 to-indigo-50 dark:from-indigo-900/20 dark:to-indigo-900/20 rounded-lg p-4 border border-indigo-200 dark:border-indigo-700",icon:"h-5 w-5 text-indigo-600 dark:text-indigo-400 mr-3 mt-0.5 flex-shrink-0",title:"text-sm font-medium text-indigo-900 dark:text-indigo-100 mb-2 block",body:"text-foreground text-sm leading-relaxed"},purple:{container:"bg-gradient-to-r from-purple-50 to-pink-50 dark:from-purple-900/20 dark:to-pink-900/20 rounded-lg p-4 border border-purple-200 dark:border-purple-700",icon:"h-5 w-5 text-purple-600 dark:text-purple-400 mr-3 mt-0.5 flex-shrink-0",title:"text-sm font-medium text-purple-900 dark:text-purple-100 mb-2 block",body:"text-foreground text-sm leading-relaxed"},green:{container:"bg-gradient-to-r from-green-50 to-emerald-50 dark:from-green-900/20 dark:to-emerald-900/20 rounded-lg p-4 border border-green-200 dark:border-green-700",icon:"h-5 w-5 text-green-600 dark:text-green-400 mr-3 mt-0.5 flex-shrink-0",title:"text-sm font-medium text-green-900 dark:text-green-100 mb-2 block",body:"text-foreground text-sm leading-relaxed"},orange:{container:"bg-gradient-to-r from-orange-50 to-rose-50 dark:from-orange-900/20 dark:to-rose-900/20 rounded-lg p-4 border border-orange-200 dark:border-orange-700",icon:"h-5 w-5 text-orange-600 dark:text-orange-400 mr-3 mt-0.5 flex-shrink-0",title:"text-sm font-medium text-orange-900 dark:text-orange-100 mb-2 block",body:"text-foreground text-sm leading-relaxed"}},ue=V.forwardRef(({className:d,title:e,icon:t,tone:m="blue",children:c,...l$1},g)=>{let p=it[m];return jsx("div",{ref:g,className:a(p.container,d),...l$1,children:jsxs("div",{className:"flex items-start mb-2",children:[jsx(l,{name:t,className:p.icon}),jsxs("div",{className:"flex-1",children:[jsx("span",{className:p.title,children:e}),jsx("div",{className:p.body,children:c})]})]})})});ue.displayName="InfoCard";var ge={completed:{dot:"bg-emerald-500 border-emerald-500 shadow-[0_0_8px_rgba(16,185,129,0.4)]",border:"border-emerald-200 dark:border-emerald-500/40",text:"text-emerald-700 dark:text-emerald-300 bg-emerald-50 dark:bg-emerald-500/10",label:"\uC644\uB8CC",labelEn:"Completed"},active:{dot:"bg-sky-500 border-sky-500 shadow-[0_0_8px_rgba(14,165,233,0.4)] animate-pulse",border:"border-sky-200 dark:border-sky-500/40",text:"text-sky-700 dark:text-sky-200 bg-sky-50 dark:bg-sky-500/10",label:"\uC9C4\uD589 \uC911",labelEn:"Active"},pending:{dot:"bg-muted-foreground/40 border-muted-foreground/40",border:"border-border",text:"text-muted-foreground bg-muted",label:"\uB300\uAE30",labelEn:"Pending"},error:{dot:"bg-rose-500 border-rose-500 shadow-[0_0_8px_rgba(244,63,94,0.4)]",border:"border-rose-200 dark:border-rose-500/40",text:"text-rose-700 dark:text-rose-300 bg-rose-50 dark:bg-rose-500/10",label:"\uC624\uB958",labelEn:"Error"},warning:{dot:"bg-amber-500 border-amber-500 shadow-[0_0_8px_rgba(245,158,11,0.4)]",border:"border-amber-200 dark:border-amber-500/40",text:"text-amber-700 dark:text-amber-300 bg-amber-50 dark:bg-amber-500/10",label:"\uACBD\uACE0",labelEn:"Warning"},info:{dot:"bg-violet-500 border-violet-500 shadow-[0_0_8px_rgba(139,92,246,0.4)]",border:"border-violet-200 dark:border-violet-500/40",text:"text-violet-700 dark:text-violet-300 bg-violet-50 dark:bg-violet-500/10",label:"\uC815\uBCF4",labelEn:"Info"}},dt={sm:{dot:"h-2.5 w-2.5",gap:"gap-3",padding:"p-3",text:"text-xs"},md:{dot:"h-3.5 w-3.5",gap:"gap-4",padding:"p-4",text:"text-sm"},lg:{dot:"h-4 w-4",gap:"gap-5",padding:"p-5",text:"text-base"}},fe=(d,e="ko-KR")=>{if(!d)return;let t=d instanceof Date?d:new Date(d);if(!Number.isNaN(t.getTime()))return t.toLocaleString(e,{dateStyle:"medium",timeStyle:"short"})},pe=({items:d,orientation:e="vertical",align:t="left",highlightedId:m,locale:c="ko-KR",emptyState:l$1,showConnector:g=true,size:p="md",className:x,...u})=>{let h=d.length>0,i=dt[p];return h?e==="horizontal"?jsx("div",{className:a("overflow-x-auto",x),...u,children:jsx("ol",{className:"flex min-w-max",role:"list","aria-label":"\uD0C0\uC784\uB77C\uC778",children:d.map((a$1,k)=>{var N;let C=(N=a$1.status)!=null?N:"pending",n=ge[C],v=fe(a$1.date,c),o=m===a$1.id,T=g&&k!==d.length-1;return jsxs("li",{className:"flex items-start",role:"listitem",children:[jsxs("div",{className:"flex flex-col items-center",children:[jsx("span",{className:a("rounded-full border-2 shrink-0",i.dot,n.dot,o&&"scale-125 ring-1 ring-offset-2 ring-border"),"aria-label":n.label}),jsxs("div",{className:a("mt-3 text-center max-w-[160px]",i.text),children:[jsx("p",{className:"font-semibold text-foreground truncate",children:a$1.title}),a$1.description&&jsx("p",{className:"text-muted-foreground mt-0.5 line-clamp-2",children:a$1.description}),v&&jsx("time",{className:"text-xs text-muted-foreground mt-1 block",dateTime:a$1.date instanceof Date?a$1.date.toISOString():a$1.date,children:v})]})]}),T&&jsx("span",{className:"h-0.5 w-16 bg-border mt-[0.4375rem] mx-2","aria-hidden":"true"})]},a$1.id)})})}):jsx("div",{className:a("",x),...u,children:jsx("ol",{className:"space-y-4",role:"list","aria-label":"\uD0C0\uC784\uB77C\uC778",children:d.map((a$1,k)=>{var U;let C=(U=a$1.status)!=null?U:"pending",n=ge[C],v=fe(a$1.date,c),o=m===a$1.id,T=g&&k!==d.length-1,N=t==="alternate"&&k%2===1,R=t==="right"||N,J=()=>a$1.icon?typeof a$1.icon=="string"?jsx(l,{name:a$1.icon,className:"h-4 w-4"}):a$1.icon:null,be=jsxs("div",{className:a("flex-1 rounded-xl border transition-all",i.padding,n.border,o&&"border-2 shadow-md ring-1 ring-border"),children:[jsxs("div",{className:"flex flex-wrap items-center gap-2",children:[J()&&jsx("span",{className:"text-muted-foreground",children:J()}),jsx("span",{className:a("font-semibold text-foreground",i.text),children:a$1.title}),jsx("span",{className:a("text-xs font-medium rounded-full px-2 py-0.5",n.text),children:n.label}),a$1.meta&&jsx("span",{className:"text-xs text-muted-foreground",children:a$1.meta})]}),a$1.description&&jsx("p",{className:a("mt-1 text-muted-foreground",i.text),children:a$1.description}),a$1.content&&jsx("div",{className:"mt-3",children:a$1.content}),v&&jsxs("div",{className:"mt-3 flex items-center gap-1 text-xs text-muted-foreground",children:[jsx(l,{name:"clock",className:"h-3 w-3","aria-hidden":true}),jsx("time",{dateTime:a$1.date instanceof Date?a$1.date.toISOString():a$1.date,children:v})]})]});return jsxs("li",{role:"listitem",className:a("relative flex",i.gap,R&&"flex-row-reverse"),children:[jsxs("div",{className:"flex flex-col items-center",children:[jsx("span",{className:a("z-10 rounded-full border-2 shrink-0",i.dot,n.dot,o&&"scale-110"),"aria-label":n.label}),T&&jsx("span",{className:"mt-1 flex-1 w-px bg-border","aria-hidden":"true"})]}),be]},a$1.id)})})}):jsx("div",{className:a("",x),...u,children:l$1!=null?l$1:jsxs("div",{className:"flex flex-col items-center justify-center py-8 text-center",children:[jsx(l,{name:"clock",className:"h-10 w-10 text-muted-foreground/50 mb-3"}),jsx("p",{className:"text-sm font-medium text-muted-foreground",children:"\uD0C0\uC784\uB77C\uC778\uC774 \uBE44\uC5B4 \uC788\uC2B5\uB2C8\uB2E4"}),jsx("p",{className:"text-xs text-muted-foreground mt-1",children:"\uC774\uBCA4\uD2B8\uAC00 \uCD94\uAC00\uB418\uBA74 \uC5EC\uAE30\uC5D0 \uD45C\uC2DC\uB429\uB2C8\uB2E4."})]})})};pe.displayName="Timeline";
|
|
32
|
-
export{
|
|
31
|
+
`,document.head.appendChild(v),()=>{let u=document.getElementById(p);u&&u.remove();}},[t]),d==="symbol")return jsx("svg",{width:m,height:m,viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:a("text-foreground",i),children:jsx("path",{d:Q,fill:t?"none":"currentColor",stroke:t?"currentColor":"none",strokeWidth:t?"0.5":void 0,strokeLinecap:"round",strokeLinejoin:"round",className:t?"hua-logo-path":void 0})});let f=152/37;return jsxs("div",{className:a("inline-flex items-center gap-1 flex-shrink-0 min-w-max",i),...c,children:[jsx("svg",{viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"flex-shrink-0",style:{width:m,height:m},children:jsx("path",{d:Q,fill:t?"none":"currentColor",stroke:t?"currentColor":"none",strokeWidth:t?"0.5":void 0,strokeLinecap:"round",strokeLinejoin:"round",className:t?"hua-logo-path":void 0})}),jsx("svg",{viewBox:"40 0 152 37",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"flex-shrink-0",style:{height:m,width:`calc(${m} * ${f})`},children:jsx("path",{d:Ae,fill:t?"none":"currentColor",stroke:t?"currentColor":"none",strokeWidth:t?"0.5":void 0,strokeLinecap:"round",strokeLinejoin:"round",className:t?"hua-logo-wordmark":void 0})})]})}var ee=V.forwardRef(({className:d,id:e,storageKey:t="bookmarks",defaultBookmarked:i=false,onBookmarkChange:c,size:m="md",variant:f="default",...p},v)=>{let[u,h]=useState(i);useEffect(()=>{let N=localStorage.getItem(t);if(N){let s=JSON.parse(N);h(s.includes(e));}},[e,t]);let l$1=()=>{let N=!u;h(N);let s=localStorage.getItem(t),x=s?JSON.parse(s):[];if(N)x.includes(e)||x.push(e);else {let o=x.indexOf(e);o>-1&&x.splice(o,1);}localStorage.setItem(t,JSON.stringify(x)),c==null||c(N);},a$1={sm:"w-6 h-6",md:"w-8 h-8",lg:"w-10 h-10"},k={default:"text-muted-foreground hover:text-yellow-500 transition-colors",filled:"text-yellow-500 hover:text-yellow-600 transition-colors",outline:"border border-border text-muted-foreground hover:text-yellow-500 hover:border-yellow-500 transition-colors rounded"};return jsx("button",{ref:v,onClick:l$1,className:a("flex items-center justify-center transition-colors duration-200 ease-in-out focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-yellow-500 focus-visible:ring-offset-2",a$1[m],k[f],d),...p,children:jsx(l,{name:"star",className:a("transition-all duration-200",u&&"fill-current")})})});ee.displayName="Bookmark";var te=V.forwardRef(({className:d,message:e$1,user:t={name:"\uC0AC\uC6A9\uC790",color:"#3b82f6"},assistant:i={name:"AI",color:"#10b981"},showAvatar:c$1=true,showTimestamp:m=true,showEmotion:f=true,variant:p="default",theme:v={userBubbleBg:"#3b82f6",userBubbleText:"#ffffff",aiBubbleBg:"#f3f4f6",aiBubbleText:"#1f2937"},...u},h)=>{var x,o,T;let l=e$1.role==="user";e$1.role==="assistant";e$1.role==="system";let N=y=>y?{joy:"bg-yellow-100 text-yellow-800",sadness:"bg-indigo-100 text-cyan-800",anger:"bg-red-100 text-red-800",calm:"bg-green-100 text-green-800",excitement:"bg-pink-100 text-pink-800",worry:"bg-gray-100 text-gray-800",gratitude:"bg-purple-100 text-purple-800",loneliness:"bg-indigo-100 text-indigo-800"}[y]||"bg-gray-100 text-gray-800":"bg-gray-100",s=y=>y.toLocaleTimeString("ko-KR",{hour:"2-digit",minute:"2-digit"});return p==="bubble"?jsx("div",{ref:h,className:a("flex w-full",l?"justify-end":"justify-start",d),...u,children:jsxs("div",{className:a("flex max-w-[80%] space-x-2",l?"flex-row-reverse space-x-reverse":"flex-row"),children:[c$1&&jsxs(a$1,{className:"w-8 h-8 flex-shrink-0",children:[jsx(b,{src:l?t.avatar:i.avatar,alt:l?t.name:i.name}),jsx(c,{style:{backgroundColor:l?t.color:i.color},children:(x=l?t.name:i.name)==null?void 0:x.charAt(0)})]}),jsxs("div",{className:"space-y-1",children:[jsx("div",{className:a("px-4 py-2 rounded-2xl max-w-full break-words",l?"rounded-br-md":"rounded-bl-md"),style:{backgroundColor:l?v.userBubbleBg:v.aiBubbleBg,color:l?v.userBubbleText:v.aiBubbleText},children:e$1.isTyping?jsxs("div",{className:"flex space-x-1",children:[jsx("div",{className:"w-2 h-2 bg-current rounded-full animate-bounce"}),jsx("div",{className:"w-2 h-2 bg-current rounded-full animate-bounce delay-100"}),jsx("div",{className:"w-2 h-2 bg-current rounded-full animate-bounce delay-200"})]}):jsx("div",{className:"whitespace-pre-wrap",children:e$1.content})}),jsxs("div",{className:a("flex items-center space-x-2 text-xs text-muted-foreground",l?"justify-end":"justify-start"),children:[m&&jsx("span",{children:s(e$1.timestamp)}),f&&e$1.emotion&&jsx(a$2,{variant:"secondary",className:a("text-xs",N(e$1.emotion)),children:e$1.emotion})]})]})]})}):p==="compact"?jsxs("div",{ref:h,className:a("flex items-start space-x-3 py-2",d),...u,children:[c$1&&jsxs(a$1,{className:"w-6 h-6 flex-shrink-0",children:[jsx(b,{src:l?t.avatar:i.avatar,alt:l?t.name:i.name}),jsx(c,{style:{backgroundColor:l?t.color:i.color},children:(o=l?t.name:i.name)==null?void 0:o.charAt(0)})]}),jsxs("div",{className:"flex-1 min-w-0",children:[jsxs("div",{className:"flex items-center space-x-2 mb-1",children:[jsx("span",{className:"text-sm font-medium",children:l?t.name:i.name}),m&&jsx("span",{className:"text-xs text-muted-foreground",children:s(e$1.timestamp)}),f&&e$1.emotion&&jsx(a$2,{variant:"secondary",className:a("text-xs",N(e$1.emotion)),children:e$1.emotion})]}),jsx("div",{className:"text-sm",children:e$1.isTyping?jsxs("div",{className:"flex space-x-1",children:[jsx("div",{className:"w-1.5 h-1.5 bg-muted-foreground rounded-full animate-bounce"}),jsx("div",{className:"w-1.5 h-1.5 bg-muted-foreground rounded-full animate-bounce delay-100"}),jsx("div",{className:"w-1.5 h-1.5 bg-muted-foreground rounded-full animate-bounce delay-200"})]}):jsx("div",{className:"whitespace-pre-wrap",children:e$1.content})})]})]}):jsxs("div",{ref:h,className:a("flex items-start space-x-3 py-4",d),...u,children:[c$1&&jsxs(a$1,{className:"w-10 h-10 flex-shrink-0",children:[jsx(b,{src:l?t.avatar:i.avatar,alt:l?t.name:i.name}),jsx(c,{style:{backgroundColor:l?t.color:i.color},children:(T=l?t.name:i.name)==null?void 0:T.charAt(0)})]}),jsxs("div",{className:"flex-1 min-w-0",children:[jsxs("div",{className:"flex items-center space-x-2 mb-2",children:[jsx("span",{className:"font-medium",children:l?t.name:i.name}),m&&jsx("span",{className:"text-sm text-muted-foreground",children:s(e$1.timestamp)}),f&&e$1.emotion&&jsx(a$2,{variant:"secondary",className:a("text-xs",N(e$1.emotion)),children:e$1.emotion})]}),jsx(a$3,{className:a("inline-block",l?"bg-primary text-primary-foreground":"bg-muted"),children:jsx(e,{className:"p-3",children:e$1.isTyping?jsxs("div",{className:"flex space-x-1",children:[jsx("div",{className:"w-2 h-2 bg-current rounded-full animate-bounce"}),jsx("div",{className:"w-2 h-2 bg-current rounded-full animate-bounce delay-100"}),jsx("div",{className:"w-2 h-2 bg-current rounded-full animate-bounce delay-200"})]}):jsx("div",{className:"whitespace-pre-wrap",children:e$1.content})})})]})]})});te.displayName="ChatMessage";var H=V.forwardRef(({className:d,value:e,max:t=100,size:i="md",color:c="blue",...m},f)=>{let p={sm:"h-2",md:"h-3",lg:"h-4"},v={blue:"bg-indigo-500",green:"bg-green-500",yellow:"bg-yellow-500",red:"bg-red-500",purple:"bg-purple-500",orange:"bg-orange-500",indigo:"bg-indigo-500",pink:"bg-pink-500",gray:"bg-gray-500"},u=Math.min(Math.max(e/t*100,0),100);return jsx("div",{ref:f,className:a("w-full bg-gray-200 rounded-full dark:bg-gray-700",p[i],d),...m,children:jsx("div",{className:a("h-full rounded-full transition-all duration-300",v[c]||v.blue),style:{width:`${u}%`}})})});H.displayName="EmotionMeter";var ae=V.forwardRef(({className:d$1,primaryEmotion:e$1,emotionDistribution:t=[],keywords:i=[],intensity:c=50,positivity:m=70,energy:f=60,showMeter:p=true,showDistribution:v=true,showKeywords:u=true,showMetrics:h=true,layout:l="detailed",...a$1},k)=>{let N=o=>o<30?"\uC57D\uD568":o<70?"\uBCF4\uD1B5":"\uAC15\uD568",s=o=>o<30?"\uBD80\uC815\uC801":o<70?"\uC911\uB9BD\uC801":"\uAE0D\uC815\uC801",x=o=>o<30?"\uB0AE\uC74C":o<70?"\uBCF4\uD1B5":"\uB192\uC74C";return l==="compact"?jsxs("div",{ref:k,className:a("space-y-3",d$1),...a$1,children:[e$1&&jsxs("div",{className:"flex items-center justify-between",children:[jsx("span",{className:"text-sm font-medium",children:"\uC8FC\uC694 \uAC10\uC815:"}),jsxs("div",{className:"flex items-center space-x-2",children:[jsxs("span",{className:"text-sm text-muted-foreground",children:[e$1.name," (",e$1.intensity,"%)"]}),p&&jsx(H,{value:e$1.intensity,size:"sm",color:"blue"})]})]}),h&&jsxs(Fragment,{children:[jsxs("div",{className:"flex items-center justify-between",children:[jsx("span",{className:"text-sm font-medium",children:"\uAC10\uC815 \uAC15\uB3C4:"}),jsx("span",{className:"text-sm text-muted-foreground",children:N(c)})]}),jsxs("div",{className:"flex items-center justify-between",children:[jsx("span",{className:"text-sm font-medium",children:"\uAE0D\uC815\uC131:"}),jsx("span",{className:"text-sm text-muted-foreground",children:s(m)})]}),jsxs("div",{className:"flex items-center justify-between",children:[jsx("span",{className:"text-sm font-medium",children:"\uC5D0\uB108\uC9C0:"}),jsx("span",{className:"text-sm text-muted-foreground",children:x(f)})]})]}),u&&i.length>0&&jsxs("div",{children:[jsx("span",{className:"text-sm font-medium",children:"\uD0A4\uC6CC\uB4DC:"}),jsx("div",{className:"flex flex-wrap gap-1 mt-1",children:i.map(o=>jsx(a$2,{variant:"secondary",className:"text-xs",children:o},o))})]})]}):l==="card"?jsxs(a$3,{ref:k,className:a("",d$1),...a$1,children:[jsxs(b$1,{children:[jsxs(c$1,{className:"flex items-center",children:[jsx("span",{className:"text-2xl mr-2",children:"\u2728"}),"AI \uBD84\uC11D"]}),jsx(d,{children:"\uAC10\uC815 \uBD84\uC11D \uACB0\uACFC"})]}),jsxs(e,{className:"space-y-4",children:[e$1&&jsxs("div",{className:"space-y-3",children:[jsxs("div",{className:"text-sm",children:[jsx("span",{className:"font-medium",children:"\uC8FC\uC694 \uAC10\uC815:"}),jsxs("span",{className:"ml-2 text-muted-foreground",children:[e$1.name," (",e$1.intensity,"%)"]})]}),p&&jsx("div",{className:"flex justify-center",children:jsx(H,{value:e$1.intensity,size:"md",color:"blue"})})]}),h&&jsxs(Fragment,{children:[jsxs("div",{className:"text-sm",children:[jsx("span",{className:"font-medium",children:"\uAC10\uC815 \uAC15\uB3C4:"}),jsx("span",{className:"ml-2 text-muted-foreground",children:N(c)})]}),jsxs("div",{className:"text-sm",children:[jsx("span",{className:"font-medium",children:"\uAE0D\uC815\uC131:"}),jsx("span",{className:"ml-2 text-muted-foreground",children:s(m)})]}),jsxs("div",{className:"text-sm",children:[jsx("span",{className:"font-medium",children:"\uC5D0\uB108\uC9C0:"}),jsx("span",{className:"ml-2 text-muted-foreground",children:x(f)})]})]}),u&&i.length>0&&jsxs("div",{className:"text-sm",children:[jsx("span",{className:"font-medium",children:"\uD0A4\uC6CC\uB4DC:"}),jsx("div",{className:"flex flex-wrap gap-1 mt-1",children:i.map(o=>jsx(a$2,{variant:"secondary",className:"text-xs",children:o},o))})]})]})]}):jsxs("div",{ref:k,className:a("space-y-6",d$1),...a$1,children:[e$1&&jsxs("div",{className:"space-y-4",children:[jsx("h3",{className:"text-lg font-semibold",children:"\uC8FC\uC694 \uAC10\uC815"}),jsxs("div",{className:"flex items-center space-x-4",children:[jsxs("div",{className:"text-center",children:[jsx("div",{className:"text-2xl font-bold text-primary",children:e$1.name}),jsxs("div",{className:"text-sm text-muted-foreground",children:[e$1.intensity,"% \uAC15\uB3C4"]})]}),p&&jsx(H,{value:e$1.intensity,size:"lg",color:"blue"})]})]}),v&&t.length>0&&jsxs("div",{className:"space-y-4",children:[jsx("h3",{className:"text-lg font-semibold",children:"\uAC10\uC815 \uBD84\uD3EC"}),jsx("div",{className:"space-y-3",children:t.map((o,T)=>jsxs("div",{className:"space-y-2",children:[jsxs("div",{className:"flex items-center justify-between",children:[jsx("span",{className:"text-sm font-medium",children:o.emotion}),jsxs("span",{className:"text-sm text-muted-foreground",children:[o.percentage,"%"]})]}),jsx("div",{className:"w-full bg-muted rounded-full h-2",children:jsx("div",{className:`${o.color} h-2 rounded-full transition-all duration-300`,style:{width:`${o.percentage}%`}})})]},T))})]}),h&&jsxs("div",{className:"space-y-4",children:[jsx("h3",{className:"text-lg font-semibold",children:"\uBD84\uC11D \uC9C0\uD45C"}),jsxs("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-4",children:[jsxs("div",{className:"space-y-2",children:[jsx("div",{className:"text-sm font-medium",children:"\uAC10\uC815 \uAC15\uB3C4"}),jsx("div",{className:"text-2xl font-bold text-primary",children:N(c)}),jsx("div",{className:"w-full bg-muted rounded-full h-2",children:jsx("div",{className:"bg-primary h-2 rounded-full transition-all duration-300",style:{width:`${c}%`}})})]}),jsxs("div",{className:"space-y-2",children:[jsx("div",{className:"text-sm font-medium",children:"\uAE0D\uC815\uC131"}),jsx("div",{className:"text-2xl font-bold text-green-600",children:s(m)}),jsx("div",{className:"w-full bg-muted rounded-full h-2",children:jsx("div",{className:"bg-green-500 h-2 rounded-full transition-all duration-300",style:{width:`${m}%`}})})]}),jsxs("div",{className:"space-y-2",children:[jsx("div",{className:"text-sm font-medium",children:"\uC5D0\uB108\uC9C0"}),jsx("div",{className:"text-2xl font-bold text-orange-600",children:x(f)}),jsx("div",{className:"w-full bg-muted rounded-full h-2",children:jsx("div",{className:"bg-orange-500 h-2 rounded-full transition-all duration-300",style:{width:`${f}%`}})})]})]})]}),u&&i.length>0&&jsxs("div",{className:"space-y-4",children:[jsx("h3",{className:"text-lg font-semibold",children:"\uAC10\uC815 \uD0A4\uC6CC\uB4DC"}),jsx("div",{className:"flex flex-wrap gap-2",children:i.map(o=>jsx(a$2,{variant:"outline",className:"text-sm",children:o},o))})]})]})});ae.displayName="EmotionAnalysis";var F=V.forwardRef(({className:d,emotion:e,isSelected:t=false,size:i="md",...c},m)=>jsx("button",{ref:m,className:a("rounded-full border-2 transition-all duration-200 hover:scale-105 focus:outline-none focus:ring-1 focus:ring-ring",{sm:"w-8 h-8 text-sm",md:"w-12 h-12 text-lg",lg:"w-16 h-16 text-xl"}[i],t?"border-indigo-500 bg-indigo-50 dark:bg-indigo-900/20":"border-gray-200 bg-white dark:border-gray-700 dark:bg-gray-800",d),...c,children:e}));F.displayName="EmotionButton";var Ye=[{key:"joy",label:"\uAE30\uC068",icon:"smile",color:"yellow"},{key:"sadness",label:"\uC2AC\uD514",icon:"frown",color:"blue"},{key:"anger",label:"\uD654\uB0A8",icon:"angry",color:"red"},{key:"calm",label:"\uD3C9\uC628",icon:"heart",color:"green"},{key:"excitement",label:"\uC124\uB818",icon:"star",color:"pink"},{key:"worry",label:"\uAC71\uC815",icon:"meh",color:"gray"},{key:"gratitude",label:"\uAC10\uC0AC",icon:"heart",color:"purple"},{key:"loneliness",label:"\uC678\uB85C\uC6C0",icon:"user",color:"indigo"}],se=V.forwardRef(({className:d,selectedEmotion:e,onEmotionSelect:t,layout:i="grid",showIntensity:c=false,intensity:m=50,onIntensityChange:f,emotions:p=Ye,size:v="md",variant:u="button",...h},l)=>{let a$1=s=>{t==null||t(s);},k=s=>{let x=e===s.key;return u==="button"?jsx(F,{emotion:s.key,isSelected:x,size:v,onClick:()=>a$1(s.key),className:a("transition-all duration-200",x&&"ring-1 ring-offset-2 ring-primary"),children:s.label},s.key):u==="card"?jsx("div",{className:a("p-4 rounded-lg border-2 cursor-pointer transition-all duration-200 hover:shadow-md",x?"border-primary bg-primary/5":"border-border hover:border-primary/50"),onClick:()=>a$1(s.key),children:jsxs("div",{className:"flex items-center space-x-3",children:[jsx("div",{className:a("w-8 h-8 rounded-full flex items-center justify-center",x?"bg-primary text-primary-foreground":"bg-muted"),children:s.icon&&jsxs("span",{className:"text-lg",children:[s.icon==="smile"&&"\u{1F60A}",s.icon==="frown"&&"\u{1F622}",s.icon==="angry"&&"\u{1F620}",s.icon==="heart"&&"\u2764\uFE0F",s.icon==="star"&&"\u2B50",s.icon==="meh"&&"\u{1F610}",s.icon==="user"&&"\u{1F464}"]})}),jsx("span",{className:"font-medium truncate max-w-[120px]",children:s.label})]})},s.key):u==="chip"?jsx("div",{className:a("px-3 py-1 rounded-full cursor-pointer transition-all duration-200 text-sm font-medium",x?"bg-primary text-primary-foreground":"bg-muted hover:bg-muted/80"),onClick:()=>a$1(s.key),children:jsx("span",{className:"truncate max-w-[100px]",children:s.label})},s.key):null},N={grid:"grid grid-cols-2 sm:grid-cols-3 md:grid-cols-4 gap-2 md:gap-3",list:"space-y-2",compact:"flex flex-wrap gap-1"};return jsxs("div",{ref:l,className:a("space-y-4",d),...h,children:[jsx("div",{className:N[i],children:p.map(k)}),c&&e&&jsxs("div",{className:"space-y-3",children:[jsxs("div",{className:"flex items-center justify-between",children:[jsx("span",{className:"text-sm font-medium",children:"\uAC10\uC815 \uAC15\uB3C4"}),jsxs("span",{className:"text-sm text-muted-foreground",children:[m,"%"]})]}),jsx("input",{type:"range",min:"0",max:"100",value:m,onChange:s=>f==null?void 0:f(Number(s.target.value)),className:"w-full h-2 bg-muted rounded-lg appearance-none cursor-pointer slider"}),jsxs("div",{className:"flex justify-between text-xs text-muted-foreground",children:[jsx("span",{children:"\uC57D\uD568"}),jsx("span",{children:"\uBCF4\uD1B5"}),jsx("span",{children:"\uAC15\uD568"})]})]}),e&&c&&jsx("div",{className:"flex justify-center",children:jsx(H,{value:m,size:"md",color:"blue"})})]})});se.displayName="EmotionSelector";var ne=V.forwardRef(({className:d,size:e="md",variant:t="button",showLabel:i=false,languages:c=[{code:"ko",name:"\uD55C\uAD6D\uC5B4",flag:"\u{1F1F0}\u{1F1F7}"},{code:"en",name:"English",flag:"\u{1F1FA}\u{1F1F8}"},{code:"ja",name:"\u65E5\u672C\u8A9E",flag:"\u{1F1EF}\u{1F1F5}"},{code:"zh",name:"\u4E2D\u6587",flag:"\u{1F1E8}\u{1F1F3}"}],currentLanguage:m="ko",onLanguageChange:f,...p},v)=>{let [u,h]=V.useState(false),l=V.useRef(null),a$1=c.find(o=>o.code===m)||c[0],k={sm:"h-10 w-10",md:"h-12 w-12",lg:"h-14 w-14"};V.useEffect(()=>{let o=T=>{l.current&&!l.current.contains(T.target)&&h(false);};return u&&document.addEventListener("mousedown",o),()=>{document.removeEventListener("mousedown",o);}},[u]);let s=o=>{f==null||f(o),h(false);},x=()=>jsx("div",{className:"flex items-center justify-center",children:jsx("span",{className:"text-lg",children:a$1.flag})});return t==="icon"?jsxs("div",{ref:l,className:"relative",children:[jsx("button",{onClick:()=>h(!u),className:a("inline-flex items-center justify-center rounded-lg transition-all duration-300 hover:bg-muted focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring/50 focus-visible:ring-offset-2",k[e],d),...p,children:x()}),u&&jsx("div",{className:"absolute top-full right-0 mt-2 w-48 bg-background rounded-lg shadow-lg border border-border py-2 z-50",children:c.map(o=>jsxs("button",{onClick:()=>s(o.code),className:a("w-full px-4 py-3 text-left hover:bg-muted transition-colors duration-200 flex items-center gap-3",m===o.code&&"bg-indigo-50 dark:bg-indigo-900/20 text-indigo-600 dark:text-indigo-400"),children:[jsx("span",{className:"text-lg",children:o.flag}),jsx("span",{className:"text-sm font-medium",children:o.name})]},o.code))})]}):t==="dropdown"?jsxs("div",{ref:l,className:"relative",children:[jsxs("button",{onClick:()=>h(!u),className:a("inline-flex items-center gap-3 rounded-lg px-4 py-3 text-sm font-medium transition-all duration-300 hover:bg-muted focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring/50 focus-visible:ring-offset-2",d),...p,children:[jsx("span",{className:"text-lg",children:a$1.flag}),i&&jsx("span",{className:"text-foreground",children:a$1.name}),jsx("svg",{className:a("w-4 h-4 transition-transform duration-200",u&&"rotate-180"),fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M19 9l-7 7-7-7"})})]}),u&&jsx("div",{className:"absolute top-full right-0 mt-2 w-48 bg-background rounded-lg shadow-lg border border-border py-2 z-50",children:c.map(o=>jsxs("button",{onClick:()=>s(o.code),className:a("w-full px-4 py-3 text-left hover:bg-muted transition-colors duration-200 flex items-center gap-3",m===o.code&&"bg-indigo-50 dark:bg-indigo-900/20 text-indigo-600 dark:text-indigo-400"),children:[jsx("span",{className:"text-lg",children:o.flag}),jsx("span",{className:"text-sm font-medium",children:o.name})]},o.code))})]}):jsxs("button",{onClick:()=>{let T=(c.findIndex(y=>y.code===m)+1)%c.length;f==null||f(c[T].code);},className:a("inline-flex items-center gap-3 rounded-lg px-4 py-3 text-sm font-medium transition-all duration-300 hover:bg-muted focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring/50 focus-visible:ring-offset-2",d),...p,children:[jsx("span",{className:"text-lg",children:a$1.flag}),i&&jsx("span",{className:"text-foreground",children:a$1.name})]})});ne.displayName="LanguageToggle";var le=V.forwardRef(({className:d,targetId:e,text:t="Scroll down",iconName:i="arrowDown",iconSize:c=20,position:m="bottom-center",variant:f="default",size:p="md",animated:v=true,autoHide:u=true,hideThreshold:h=100,...l$1},a$1)=>{let[k,N]=useState(true);useEffect(()=>{if(!u)return;let y=()=>{let R=window.scrollY;N(R<h);};return y(),window.addEventListener("scroll",y,{passive:true}),()=>window.removeEventListener("scroll",y)},[u,h]);let s=()=>{if(e){let y=document.getElementById(e);y&&y.scrollIntoView({behavior:"smooth"});}else {let y=a$1;if(y.current){let R=y.current.nextElementSibling;R&&R.scrollIntoView({behavior:"smooth"});}}},x={"bottom-center":"bottom-8 left-1/2 transform -translate-x-1/2","bottom-left":"bottom-8 left-8","bottom-right":"bottom-8 right-8"},o={sm:"text-sm",md:"text-base",lg:"text-lg"},T={default:"text-muted-foreground hover:text-foreground",primary:"text-primary hover:text-primary/80",secondary:"text-secondary-foreground hover:text-secondary-foreground/80",outline:"text-foreground hover:text-foreground"};return k?jsx("div",{ref:a$1,className:a("absolute z-10",x[m],d),...l$1,children:jsxs(d$1,{onClick:s,variant:"ghost",size:"sm",className:a("flex flex-col items-center space-y-2 transition-all duration-300",o[p],T[f],v&&"animate-in fade-in-0 slide-in-from-bottom-2 duration-500"),"aria-label":t,children:[jsx("span",{className:"text-xs opacity-80",children:t}),jsx(l,{name:i,size:c,className:a(v&&"animate-bounce")})]})}):null});le.displayName="ScrollIndicator";var ie=V.forwardRef(({className:d,variant:e="default",size:t="md",orientation:i="both",autoHide:c=true,smooth:m=true,children:f,...p},v)=>{let u=()=>{switch(e){case "glass":return "scrollbar-thumb-white/20 hover:scrollbar-thumb-white/30 backdrop-blur-sm";case "colorful":return "scrollbar-thumb-gradient-to-b scrollbar-thumb-from-indigo-500 scrollbar-thumb-to-purple-500 hover:scrollbar-thumb-from-cyan-600 hover:scrollbar-thumb-to-purple-600";case "minimal":return "scrollbar-thumb-slate-200/50 hover:scrollbar-thumb-slate-300/70 dark:scrollbar-thumb-slate-700/50 dark:hover:scrollbar-thumb-slate-600/70";case "neon":return "scrollbar-thumb-cyan-400/60 hover:scrollbar-thumb-cyan-300/80 scrollbar-thumb-shadow-lg scrollbar-thumb-shadow-cyan-500/25";default:return "scrollbar-thumb-slate-300 hover:scrollbar-thumb-slate-400 dark:scrollbar-thumb-slate-600 dark:hover:scrollbar-thumb-slate-500"}},h=()=>{switch(t){case "sm":return "scrollbar-w-1";case "lg":return "scrollbar-w-3";case "xl":return "scrollbar-w-4";default:return "scrollbar-w-2"}},l=()=>{switch(i){case "vertical":return "overflow-y-auto overflow-x-hidden";case "horizontal":return "overflow-x-auto overflow-y-hidden";default:return "overflow-auto"}},a$1=a("scrollbar-thin scrollbar-track-transparent scrollbar-thumb-rounded-full transition-all duration-200",u(),h(),l(),c&&"scrollbar-hide",m&&"scroll-smooth",d);return jsx("div",{className:a$1,ref:v,...p,children:f})});ie.displayName="Scrollbar";var at={blue:{container:"bg-gradient-to-r from-indigo-50 to-indigo-50 dark:from-indigo-900/20 dark:to-indigo-900/20 rounded-lg p-4 border border-indigo-200 dark:border-indigo-700",icon:"h-5 w-5 text-indigo-600 dark:text-indigo-400 mr-3 mt-0.5 flex-shrink-0",title:"text-sm font-medium text-indigo-900 dark:text-indigo-100 mb-2 block",body:"text-foreground text-sm leading-relaxed"},purple:{container:"bg-gradient-to-r from-purple-50 to-pink-50 dark:from-purple-900/20 dark:to-pink-900/20 rounded-lg p-4 border border-purple-200 dark:border-purple-700",icon:"h-5 w-5 text-purple-600 dark:text-purple-400 mr-3 mt-0.5 flex-shrink-0",title:"text-sm font-medium text-purple-900 dark:text-purple-100 mb-2 block",body:"text-foreground text-sm leading-relaxed"},green:{container:"bg-gradient-to-r from-green-50 to-emerald-50 dark:from-green-900/20 dark:to-emerald-900/20 rounded-lg p-4 border border-green-200 dark:border-green-700",icon:"h-5 w-5 text-green-600 dark:text-green-400 mr-3 mt-0.5 flex-shrink-0",title:"text-sm font-medium text-green-900 dark:text-green-100 mb-2 block",body:"text-foreground text-sm leading-relaxed"},orange:{container:"bg-gradient-to-r from-orange-50 to-rose-50 dark:from-orange-900/20 dark:to-rose-900/20 rounded-lg p-4 border border-orange-200 dark:border-orange-700",icon:"h-5 w-5 text-orange-600 dark:text-orange-400 mr-3 mt-0.5 flex-shrink-0",title:"text-sm font-medium text-orange-900 dark:text-orange-100 mb-2 block",body:"text-foreground text-sm leading-relaxed"}},me=V.forwardRef(({className:d,title:e,icon:t,tone:i="blue",children:c,...m},f)=>{let p=at[i];return jsx("div",{ref:f,className:a(p.container,d),...m,children:jsxs("div",{className:"flex items-start mb-2",children:[jsx(l,{name:t,className:p.icon}),jsxs("div",{className:"flex-1",children:[jsx("span",{className:p.title,children:e}),jsx("div",{className:p.body,children:c})]})]})})});me.displayName="InfoCard";var ce={completed:{dot:"bg-emerald-500 border-emerald-500 shadow-[0_0_8px_rgba(16,185,129,0.4)]",border:"border-emerald-200 dark:border-emerald-500/40",text:"text-emerald-700 dark:text-emerald-300 bg-emerald-50 dark:bg-emerald-500/10",label:"\uC644\uB8CC",labelEn:"Completed"},active:{dot:"bg-sky-500 border-sky-500 shadow-[0_0_8px_rgba(14,165,233,0.4)] animate-pulse",border:"border-sky-200 dark:border-sky-500/40",text:"text-sky-700 dark:text-sky-200 bg-sky-50 dark:bg-sky-500/10",label:"\uC9C4\uD589 \uC911",labelEn:"Active"},pending:{dot:"bg-muted-foreground/40 border-muted-foreground/40",border:"border-border",text:"text-muted-foreground bg-muted",label:"\uB300\uAE30",labelEn:"Pending"},error:{dot:"bg-rose-500 border-rose-500 shadow-[0_0_8px_rgba(244,63,94,0.4)]",border:"border-rose-200 dark:border-rose-500/40",text:"text-rose-700 dark:text-rose-300 bg-rose-50 dark:bg-rose-500/10",label:"\uC624\uB958",labelEn:"Error"},warning:{dot:"bg-amber-500 border-amber-500 shadow-[0_0_8px_rgba(245,158,11,0.4)]",border:"border-amber-200 dark:border-amber-500/40",text:"text-amber-700 dark:text-amber-300 bg-amber-50 dark:bg-amber-500/10",label:"\uACBD\uACE0",labelEn:"Warning"},info:{dot:"bg-violet-500 border-violet-500 shadow-[0_0_8px_rgba(139,92,246,0.4)]",border:"border-violet-200 dark:border-violet-500/40",text:"text-violet-700 dark:text-violet-300 bg-violet-50 dark:bg-violet-500/10",label:"\uC815\uBCF4",labelEn:"Info"}},st={sm:{dot:"h-2.5 w-2.5",gap:"gap-3",padding:"p-3",text:"text-xs"},md:{dot:"h-3.5 w-3.5",gap:"gap-4",padding:"p-4",text:"text-sm"},lg:{dot:"h-4 w-4",gap:"gap-5",padding:"p-5",text:"text-base"}},ue=(d,e="ko-KR")=>{if(!d)return;let t=d instanceof Date?d:new Date(d);if(!Number.isNaN(t.getTime()))return t.toLocaleString(e,{dateStyle:"medium",timeStyle:"short"})},ge=({items:d,orientation:e="vertical",align:t="left",highlightedId:i,locale:c="ko-KR",emptyState:m,showConnector:f=true,size:p="md",className:v,...u})=>{let h=d.length>0,l$1=st[p];return h?e==="horizontal"?jsx("div",{className:a("overflow-x-auto",v),...u,children:jsx("ol",{className:"flex min-w-max",role:"list","aria-label":"\uD0C0\uC784\uB77C\uC778",children:d.map((a$1,k)=>{var y;let N=(y=a$1.status)!=null?y:"pending",s=ce[N],x=ue(a$1.date,c),o=i===a$1.id,T=f&&k!==d.length-1;return jsxs("li",{className:"flex items-start",role:"listitem",children:[jsxs("div",{className:"flex flex-col items-center",children:[jsx("span",{className:a("rounded-full border-2 shrink-0",l$1.dot,s.dot,o&&"scale-125 ring-1 ring-offset-2 ring-border"),"aria-label":s.label}),jsxs("div",{className:a("mt-3 text-center max-w-[160px]",l$1.text),children:[jsx("p",{className:"font-semibold text-foreground truncate",children:a$1.title}),a$1.description&&jsx("p",{className:"text-muted-foreground mt-0.5 line-clamp-2",children:a$1.description}),x&&jsx("time",{className:"text-xs text-muted-foreground mt-1 block",dateTime:a$1.date instanceof Date?a$1.date.toISOString():a$1.date,children:x})]})]}),T&&jsx("span",{className:"h-0.5 w-16 bg-border mt-[0.4375rem] mx-2","aria-hidden":"true"})]},a$1.id)})})}):jsx("div",{className:a("",v),...u,children:jsx("ol",{className:"space-y-4",role:"list","aria-label":"\uD0C0\uC784\uB77C\uC778",children:d.map((a$1,k)=>{var G;let N=(G=a$1.status)!=null?G:"pending",s=ce[N],x=ue(a$1.date,c),o=i===a$1.id,T=f&&k!==d.length-1,y=t==="alternate"&&k%2===1,R=t==="right"||y,J=()=>a$1.icon?typeof a$1.icon=="string"?jsx(l,{name:a$1.icon,className:"h-4 w-4"}):a$1.icon:null,fe=jsxs("div",{className:a("flex-1 rounded-xl border transition-all",l$1.padding,s.border,o&&"border-2 shadow-md ring-1 ring-border"),children:[jsxs("div",{className:"flex flex-wrap items-center gap-2",children:[J()&&jsx("span",{className:"text-muted-foreground",children:J()}),jsx("span",{className:a("font-semibold text-foreground",l$1.text),children:a$1.title}),jsx("span",{className:a("text-xs font-medium rounded-full px-2 py-0.5",s.text),children:s.label}),a$1.meta&&jsx("span",{className:"text-xs text-muted-foreground",children:a$1.meta})]}),a$1.description&&jsx("p",{className:a("mt-1 text-muted-foreground",l$1.text),children:a$1.description}),a$1.content&&jsx("div",{className:"mt-3",children:a$1.content}),x&&jsxs("div",{className:"mt-3 flex items-center gap-1 text-xs text-muted-foreground",children:[jsx(l,{name:"clock",className:"h-3 w-3","aria-hidden":true}),jsx("time",{dateTime:a$1.date instanceof Date?a$1.date.toISOString():a$1.date,children:x})]})]});return jsxs("li",{role:"listitem",className:a("relative flex",l$1.gap,R&&"flex-row-reverse"),children:[jsxs("div",{className:"flex flex-col items-center",children:[jsx("span",{className:a("z-10 rounded-full border-2 shrink-0",l$1.dot,s.dot,o&&"scale-110"),"aria-label":s.label}),T&&jsx("span",{className:"mt-1 flex-1 w-px bg-border","aria-hidden":"true"})]}),fe]},a$1.id)})})}):jsx("div",{className:a("",v),...u,children:m!=null?m:jsxs("div",{className:"flex flex-col items-center justify-center py-8 text-center",children:[jsx(l,{name:"clock",className:"h-10 w-10 text-muted-foreground/50 mb-3"}),jsx("p",{className:"text-sm font-medium text-muted-foreground",children:"\uD0C0\uC784\uB77C\uC778\uC774 \uBE44\uC5B4 \uC788\uC2B5\uB2C8\uB2E4"}),jsx("p",{className:"text-xs text-muted-foreground mt-1",children:"\uC774\uBCA4\uD2B8\uAC00 \uCD94\uAC00\uB418\uBA74 \uC5EC\uAE30\uC5D0 \uD45C\uC2DC\uB429\uB2C8\uB2E4."})]})})};ge.displayName="Timeline";
|
|
32
|
+
export{ee as Bookmark,te as ChatMessage,ae as EmotionAnalysis,F as EmotionButton,H as EmotionMeter,se as EmotionSelector,me as InfoCard,ne as LanguageToggle,Oe as Logo,le as ScrollIndicator,ie as Scrollbar,ge as Timeline};//# sourceMappingURL=advanced.mjs.map
|
|
33
33
|
//# sourceMappingURL=advanced.mjs.map
|