bynana-ui 1.7.0 → 1.9.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.
Files changed (65) hide show
  1. package/dist/ai-text-loading/index.js +2 -0
  2. package/dist/ai-text-loading/index.js.map +1 -0
  3. package/dist/ai-text-loading/index.mjs +2 -0
  4. package/dist/ai-text-loading/index.mjs.map +1 -0
  5. package/dist/ai-voice/index.js +3 -0
  6. package/dist/ai-voice/index.js.map +1 -0
  7. package/dist/ai-voice/index.mjs +3 -0
  8. package/dist/ai-voice/index.mjs.map +1 -0
  9. package/dist/background-paths/index.js +2 -0
  10. package/dist/background-paths/index.js.map +1 -0
  11. package/dist/background-paths/index.mjs +2 -0
  12. package/dist/background-paths/index.mjs.map +1 -0
  13. package/dist/floating-paths/index.js +2 -0
  14. package/dist/floating-paths/index.js.map +1 -0
  15. package/dist/floating-paths/index.mjs +2 -0
  16. package/dist/floating-paths/index.mjs.map +1 -0
  17. package/dist/folder/index.js +2 -0
  18. package/dist/folder/index.js.map +1 -0
  19. package/dist/folder/index.mjs +2 -0
  20. package/dist/folder/index.mjs.map +1 -0
  21. package/dist/glare-hover/index.js +32 -0
  22. package/dist/glare-hover/index.js.map +1 -0
  23. package/dist/glare-hover/index.mjs +32 -0
  24. package/dist/glare-hover/index.mjs.map +1 -0
  25. package/dist/index.js +44 -14
  26. package/dist/index.js.map +1 -1
  27. package/dist/index.mjs +44 -14
  28. package/dist/index.mjs.map +1 -1
  29. package/dist/logo-loop/index.js +2 -0
  30. package/dist/logo-loop/index.js.map +1 -0
  31. package/dist/logo-loop/index.mjs +2 -0
  32. package/dist/logo-loop/index.mjs.map +1 -0
  33. package/dist/magnet/index.js +2 -0
  34. package/dist/magnet/index.js.map +1 -0
  35. package/dist/magnet/index.mjs +2 -0
  36. package/dist/magnet/index.mjs.map +1 -0
  37. package/dist/magnet-lines/index.js +2 -0
  38. package/dist/magnet-lines/index.js.map +1 -0
  39. package/dist/magnet-lines/index.mjs +2 -0
  40. package/dist/magnet-lines/index.mjs.map +1 -0
  41. package/dist/team-selector/index.js +3 -0
  42. package/dist/team-selector/index.js.map +1 -0
  43. package/dist/team-selector/index.mjs +3 -0
  44. package/dist/team-selector/index.mjs.map +1 -0
  45. package/dist/testimonials-stars/index.js +3 -0
  46. package/dist/testimonials-stars/index.js.map +1 -0
  47. package/dist/testimonials-stars/index.mjs +3 -0
  48. package/dist/testimonials-stars/index.mjs.map +1 -0
  49. package/dist/text-type/index.js +2 -0
  50. package/dist/text-type/index.js.map +1 -0
  51. package/dist/text-type/index.mjs +2 -0
  52. package/dist/text-type/index.mjs.map +1 -0
  53. package/dist/tooltip-interactive/index.js +2 -0
  54. package/dist/tooltip-interactive/index.js.map +1 -0
  55. package/dist/tooltip-interactive/index.mjs +2 -0
  56. package/dist/tooltip-interactive/index.mjs.map +1 -0
  57. package/dist/tooltip-magnetic/index.js +2 -0
  58. package/dist/tooltip-magnetic/index.js.map +1 -0
  59. package/dist/tooltip-magnetic/index.mjs +2 -0
  60. package/dist/tooltip-magnetic/index.mjs.map +1 -0
  61. package/dist/tooltip-rich/index.js +2 -0
  62. package/dist/tooltip-rich/index.js.map +1 -0
  63. package/dist/tooltip-rich/index.mjs +2 -0
  64. package/dist/tooltip-rich/index.mjs.map +1 -0
  65. package/package.json +17 -2
package/dist/index.js CHANGED
@@ -1,35 +1,35 @@
1
- 'use strict';var clsx=require('clsx'),tailwindMerge=require('tailwind-merge'),jsxRuntime=require('react/jsx-runtime'),Cn=require('react'),framerMotion=require('framer-motion');function _interopDefault(e){return e&&e.__esModule?e:{default:e}}var Cn__default=/*#__PURE__*/_interopDefault(Cn);function i(...e){return tailwindMerge.twMerge(clsx.clsx(e))}function _s({children:e,className:t,...a}){return jsxRuntime.jsxs("button",{className:i("relative overflow-hidden px-6 py-3 rounded-xl font-medium","bg-zinc-900 text-white hover:bg-zinc-800","dark:bg-zinc-800 dark:hover:bg-zinc-700 dark:text-white","transition-colors duration-200",t),...a,children:[jsxRuntime.jsx("span",{className:i("absolute inset-0 overflow-hidden rounded-[inherit]","before:absolute before:inset-0","before:-translate-x-full","before:animate-shimmer","before:bg-gradient-to-r","before:from-transparent before:via-white/40 before:to-transparent","before:skew-x-[-20deg]")}),jsxRuntime.jsx("span",{className:"relative z-10",children:e})]})}function Js({children:e,className:t,onClick:a,...o}){let[l,r]=Cn.useState([]);function s(n){let u=n.currentTarget.getBoundingClientRect(),f=n.clientX-u.left,m=n.clientY-u.top,x={x:f,y:m,id:Date.now()};r(c=>[...c,x]),setTimeout(()=>{r(c=>c.filter(p=>p.id!==x.id));},1e3),a?.(n);}return jsxRuntime.jsxs("button",{className:i("relative overflow-hidden px-6 py-3 rounded-xl font-medium","bg-zinc-900 text-white hover:bg-zinc-800","dark:bg-zinc-100 dark:text-black dark:hover:bg-zinc-200","transition-colors duration-200",t),onClick:s,...o,children:[jsxRuntime.jsx(framerMotion.AnimatePresence,{children:l.map(n=>jsxRuntime.jsx(framerMotion.motion.span,{className:"absolute rounded-full pointer-events-none border-2 border-white/50 dark:border-black/50",style:{left:n.x,top:n.y,transform:"translate(-50%, -50%)"},initial:{width:0,height:0,opacity:.9},animate:{width:500,height:500,opacity:0},exit:{opacity:0},transition:{duration:1,ease:[.4,0,.2,1]}},n.id))}),jsxRuntime.jsx("span",{className:"relative z-10",children:e})]})}function al({children:e,className:t,strength:a=.5,radius:o=200,...l}){let r=Cn.useRef(null),[s,n]=Cn.useState(false),d=framerMotion.useMotionValue(0),u=framerMotion.useMotionValue(0),f={damping:20,stiffness:300,mass:.5},m=framerMotion.useSpring(d,f),x=framerMotion.useSpring(u,f);return jsxRuntime.jsx("div",{ref:r,className:"relative inline-flex items-center justify-center",onMouseMove:g=>{if(!r.current)return;let h=r.current.getBoundingClientRect(),b=h.left+h.width/2,I=h.top+h.height/2,L=g.clientX-b,v=g.clientY-I,C=Math.sqrt(L*L+v*v);if(C<o){let y=1-C/o;d.set(L*a*y),u.set(v*a*y);}},onMouseLeave:()=>{n(false),d.set(0),u.set(0);},onMouseEnter:()=>n(true),style:{padding:o/2,margin:-o/2},children:jsxRuntime.jsx(framerMotion.motion.div,{style:{x:m,y:x},children:jsxRuntime.jsx("button",{className:i("px-6 py-3 rounded-xl font-medium","bg-zinc-900 text-white hover:bg-zinc-800","dark:bg-zinc-100 dark:text-black dark:hover:bg-zinc-200","transition-shadow duration-300",s&&"shadow-lg",t),...l,children:e})})})}function ol({children:e,className:t,onClick:a,...o}){let[l,r]=Cn.useState(false);function s(n){r(true),setTimeout(()=>r(false),1500),a?.(n);}return jsxRuntime.jsxs("div",{className:"relative inline-block",children:[jsxRuntime.jsx(framerMotion.motion.div,{className:"absolute -bottom-2 left-1/2 w-16 h-2 bg-black/20 rounded-full blur-sm",animate:l?{scaleX:[1,.8,1.2,.9,1.1,.95,1],opacity:[.3,.6,.2,.5,.3,.4,.3]}:{},style:{x:"-50%"},transition:{duration:1.5,ease:"easeOut"}}),jsxRuntime.jsx(framerMotion.motion.div,{animate:l?{y:[0,-40,-20,-35,-10,-25,-5,-15,0],rotate:[0,-5,2,-3,1,-2,.5,-1,0]}:{},transition:{duration:1.5,ease:"easeOut",times:[0,.2,.35,.5,.65,.75,.85,.95,1]},whileHover:l?{}:{y:[0,-8,0]},children:jsxRuntime.jsx("button",{className:i("px-6 py-3 rounded-xl font-medium","bg-orange-500 hover:bg-orange-600 text-white","transition-colors duration-200",t),onClick:s,disabled:l,...o,children:e})})]})}function ll({children:e,className:t,glowColor:a="rgba(59, 130, 246, 0.8)",...o}){let[l,r]=Cn.useState(false);return jsxRuntime.jsxs(framerMotion.motion.div,{className:"relative inline-block",onMouseEnter:()=>r(true),onMouseLeave:()=>r(false),animate:{filter:l?[`drop-shadow(0 0 10px ${a})`,`drop-shadow(0 0 25px ${a})`,`drop-shadow(0 0 10px ${a})`]:"drop-shadow(0 0 0px transparent)"},transition:{duration:l?1.5:.3,repeat:l?1/0:0},children:[jsxRuntime.jsx(framerMotion.motion.div,{className:"absolute inset-0 rounded-xl",animate:l?{boxShadow:[`0 0 20px ${a}`,`0 0 40px ${a}`,`0 0 20px ${a}`],scale:[1,1.05,1]}:{boxShadow:"0 0 0px transparent",scale:1},transition:{duration:2,repeat:l?1/0:0,ease:"easeInOut"}}),jsxRuntime.jsx("button",{className:i("relative px-6 py-3 rounded-xl font-medium","bg-blue-600 hover:bg-blue-700 text-white","transition-all duration-300",l&&"bg-blue-500",t),...o,children:e})]})}function il({children:e,className:t,pulseColor:a="rgba(239, 68, 68, 0.5)",...o}){return jsxRuntime.jsxs("div",{className:"relative inline-block",children:[jsxRuntime.jsx(framerMotion.motion.div,{className:"absolute inset-0 rounded-xl",style:{backgroundColor:a},animate:{scale:[1,1.3,1,1.2,1],opacity:[.6,0,.6,0,.6]},transition:{duration:1.2,repeat:1/0,ease:"easeInOut",times:[0,.2,.4,.6,1]}}),jsxRuntime.jsx(framerMotion.motion.div,{className:"absolute inset-0 rounded-xl",style:{backgroundColor:a},animate:{scale:[1,1.5,1,1.4,1],opacity:[.4,0,.4,0,.4]},transition:{duration:1.2,delay:.1,repeat:1/0,ease:"easeInOut",times:[0,.2,.4,.6,1]}}),jsxRuntime.jsx(framerMotion.motion.div,{animate:{scale:[1,1.05,1,1.03,1]},transition:{duration:1.2,repeat:1/0,ease:"easeInOut",times:[0,.2,.4,.6,1]},children:jsxRuntime.jsx("button",{className:i("relative px-6 py-3 rounded-xl font-medium","bg-red-500 hover:bg-red-600 text-white","transition-colors duration-200",t),...o,children:e})})]})}var ul={pink:{border:"border-pink-500",text:"text-pink-400",shadow:"shadow-pink-500/50",glow:"rgba(236, 72, 153, 0.6)",bg:"hover:bg-pink-500/10"},cyan:{border:"border-cyan-500",text:"text-cyan-400",shadow:"shadow-cyan-500/50",glow:"rgba(6, 182, 212, 0.6)",bg:"hover:bg-cyan-500/10"},green:{border:"border-green-500",text:"text-green-400",shadow:"shadow-green-500/50",glow:"rgba(34, 197, 94, 0.6)",bg:"hover:bg-green-500/10"},purple:{border:"border-purple-500",text:"text-purple-400",shadow:"shadow-purple-500/50",glow:"rgba(168, 85, 247, 0.6)",bg:"hover:bg-purple-500/10"},orange:{border:"border-orange-500",text:"text-orange-400",shadow:"shadow-orange-500/50",glow:"rgba(249, 115, 22, 0.6)",bg:"hover:bg-orange-500/10"}},fl={sm:"h-8 px-3 text-xs",default:"h-10 px-6 text-sm",lg:"h-12 px-8 text-base"};function cl({children:e,className:t,color:a="cyan",size:o="default",...l}){let r=ul[a];return jsxRuntime.jsxs(framerMotion.motion.button,{className:i("relative inline-flex items-center justify-center","font-semibold tracking-wide uppercase","border-2 rounded-lg","bg-transparent","transition-colors duration-200",r.border,r.text,r.bg,fl[o],t),whileHover:{boxShadow:`0 0 20px ${r.glow}, 0 0 40px ${r.glow}, 0 0 60px ${r.glow}`},whileTap:{scale:.98},transition:{duration:.2},...l,children:[jsxRuntime.jsx(framerMotion.motion.span,{className:i("absolute inset-0 rounded-lg opacity-0",r.border),animate:{opacity:[.5,1,.5]},transition:{duration:2,repeat:1/0,ease:"easeInOut"},style:{boxShadow:`inset 0 0 10px ${r.glow}`}}),jsxRuntime.jsx("span",{className:"relative z-10",children:e})]})}function xl({children:e,className:t,variant:a="primary",size:o="md",onClick:l,...r}){let[s,n]=Cn.useState(false);function d(m){m.preventDefault(),m.stopPropagation(),n(true),setTimeout(()=>n(false),800),l&&l(m);}let u={sm:"px-4 py-2 text-sm",md:"px-6 py-3 text-base",lg:"px-8 py-4 text-lg"},f={primary:"bg-zinc-900 text-white border-zinc-900 dark:bg-white dark:text-zinc-900 dark:border-white",secondary:"bg-zinc-100 text-zinc-900 border-zinc-200 dark:bg-zinc-800 dark:text-white dark:border-zinc-700",outline:"bg-transparent text-zinc-900 border-zinc-300 dark:text-white dark:border-zinc-600"};return jsxRuntime.jsxs("button",{className:i("relative overflow-hidden rounded-lg font-medium border-2 transition-colors",u[o],f[a],t),onClick:d,...r,children:[jsxRuntime.jsx(framerMotion.AnimatePresence,{children:s&&jsxRuntime.jsx(framerMotion.motion.div,{className:i("absolute inset-0 origin-bottom",a==="primary"?"bg-blue-500 dark:bg-blue-400":"bg-zinc-900 dark:bg-white"),initial:{scaleY:0},animate:{scaleY:1},exit:{scaleY:0,transition:{duration:.3}},transition:{duration:.5,ease:[.4,0,.2,1]},style:{transformOrigin:"bottom"}},"liquid-fill")}),jsxRuntime.jsx(framerMotion.AnimatePresence,{children:s&&jsxRuntime.jsx(jsxRuntime.Fragment,{children:[...Array(5)].map((m,x)=>jsxRuntime.jsx(framerMotion.motion.div,{className:"absolute w-1.5 h-1.5 bg-white/60 rounded-full",style:{left:`${20+x*15}%`,bottom:"10%"},initial:{y:0,opacity:0,scale:0},animate:{y:-60,opacity:[0,1,0],scale:[0,1,.5]},transition:{duration:.6,delay:x*.08,ease:"easeOut"}},x))})}),jsxRuntime.jsx("span",{className:i("relative flex items-center justify-center gap-2 transition-colors duration-200 z-10",s&&(a==="outline"||a==="secondary"?"text-white dark:text-zinc-900":"text-white")),children:e})]})}function bl({children:e,className:t,variant:a="primary",size:o="md",slideText:l="Go!",onClick:r,...s}){let[n,d]=Cn.useState(false),u={sm:"px-4 py-2 text-sm",md:"px-6 py-3 text-base",lg:"px-8 py-4 text-lg"},f={primary:"bg-zinc-900 text-white dark:bg-white dark:text-zinc-900",secondary:"bg-zinc-100 text-zinc-900 dark:bg-zinc-800 dark:text-white",outline:"bg-transparent text-zinc-900 border-2 border-zinc-300 dark:text-white dark:border-zinc-600"};return jsxRuntime.jsxs("button",{className:i("relative overflow-hidden rounded-lg font-medium transition-all",u[o],f[a],t),onMouseEnter:()=>d(true),onMouseLeave:()=>d(false),onClick:r,...s,children:[jsxRuntime.jsx(framerMotion.motion.div,{className:i("absolute inset-0",a==="primary"?"bg-blue-600 dark:bg-blue-500":"bg-zinc-900 dark:bg-white"),initial:{x:"-100%"},animate:{x:n?"0%":"-100%"},transition:{duration:.3,ease:"easeInOut"}}),jsxRuntime.jsx(framerMotion.motion.span,{className:"relative flex items-center justify-center gap-2 z-10",animate:{x:n?20:0,opacity:n?0:1},transition:{duration:.2},children:e}),jsxRuntime.jsxs(framerMotion.motion.span,{className:i("absolute inset-0 flex items-center justify-center gap-2 z-10",a==="outline"||a==="secondary"?"text-white dark:text-zinc-900":"text-white"),initial:{x:-20,opacity:0},animate:{x:n?0:-20,opacity:n?1:0},transition:{duration:.2},children:[l,jsxRuntime.jsx("svg",{className:"w-4 h-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:jsxRuntime.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M14 5l7 7m0 0l-7 7m7-7H3"})})]})]})}var Il={sunset:"from-orange-500 via-pink-500 to-purple-500",ocean:"from-cyan-500 via-blue-500 to-purple-500",forest:"from-green-500 via-emerald-500 to-teal-500",purple:"from-purple-500 via-violet-500 to-indigo-500",fire:"from-yellow-500 via-orange-500 to-red-500"},vl={sm:"px-4 py-2 text-sm",md:"px-6 py-3 text-base",lg:"px-8 py-4 text-lg"};function Cl({children:e,className:t,variant:a="ocean",size:o="md",...l}){return jsxRuntime.jsxs(framerMotion.motion.button,{className:i("relative overflow-hidden rounded-lg font-semibold text-white","bg-gradient-to-r",Il[a],vl[o],t),whileHover:{scale:1.02},whileTap:{scale:.98},...l,children:[jsxRuntime.jsx(framerMotion.motion.div,{className:"absolute inset-0 bg-gradient-to-r from-white/0 via-white/25 to-white/0",initial:{x:"-100%"},whileHover:{x:"100%"},transition:{duration:.5}}),jsxRuntime.jsx("span",{className:"relative z-10",children:e})]})}function Sl({children:e,className:t,holdDuration:a=1e3,onHoldComplete:o,variant:l="primary",...r}){let[s,n]=Cn.useState(0),[d,u]=Cn.useState(false),f=Cn.useRef(null),m={primary:"bg-zinc-900 dark:bg-white",danger:"bg-red-500",success:"bg-green-500"},x={primary:"bg-blue-500",danger:"bg-red-700",success:"bg-green-700"},c=()=>{u(true);let g=Date.now();f.current=setInterval(()=>{let h=Date.now()-g,b=Math.min(h/a*100,100);n(b),b>=100&&(p(),o?.());},16);},p=()=>{u(false),n(0),f.current&&(clearInterval(f.current),f.current=null);};return jsxRuntime.jsxs(framerMotion.motion.button,{className:i("relative overflow-hidden rounded-lg px-6 py-3 font-medium text-white dark:text-zinc-900",m[l],t),onMouseDown:c,onMouseUp:p,onMouseLeave:p,onTouchStart:c,onTouchEnd:p,whileTap:{scale:.98},...r,children:[jsxRuntime.jsx(framerMotion.motion.div,{className:i("absolute inset-0 origin-left",x[l]),style:{scaleX:s/100},transition:{duration:0}}),jsxRuntime.jsx("span",{className:"relative z-10",children:e})]})}var Nl={primary:{bg:"bg-blue-500",shadow:"shadow-blue-700",hover:"hover:bg-blue-600"},secondary:{bg:"bg-zinc-700",shadow:"shadow-zinc-900",hover:"hover:bg-zinc-800"},danger:{bg:"bg-red-500",shadow:"shadow-red-700",hover:"hover:bg-red-600"}},Ml={sm:"px-4 py-2 text-sm",md:"px-6 py-3 text-base",lg:"px-8 py-4 text-lg"};function Tl({children:e,className:t,variant:a="primary",size:o="md",...l}){let r=Nl[a];return jsxRuntime.jsx(framerMotion.motion.button,{className:i("relative rounded-lg font-semibold text-white","shadow-[0_6px_0_0]",r.bg,r.shadow,r.hover,Ml[o],t),whileHover:{y:-2},whileTap:{y:4,boxShadow:"0 2px 0 0"},transition:{duration:.1},...l,children:e})}function Bl({text:e="Copy",value:t,onCopy:a,className:o}){let[l,r]=Cn.useState(false);return jsxRuntime.jsx("button",{onClick:async()=>{try{t&&await navigator.clipboard.writeText(t),a?.(),r(!0),setTimeout(()=>r(!1),2e3);}catch(n){console.error("Failed to copy:",n);}},className:i("inline-flex items-center gap-2 px-4 py-2","bg-transparent hover:bg-zinc-100 dark:hover:bg-zinc-800","text-zinc-900 dark:text-zinc-100","border border-zinc-300 dark:border-zinc-700","rounded-md transition-all duration-200 font-medium text-sm",o),children:l?jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[jsxRuntime.jsx("svg",{className:"w-4 h-4 text-green-600",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:jsxRuntime.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M5 13l4 4L19 7"})}),"Copied!"]}):jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[jsxRuntime.jsx("svg",{className:"w-4 h-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:jsxRuntime.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M8 16H6a2 2 0 01-2-2V6a2 2 0 012-2h8a2 2 0 012 2v2m-6 12h8a2 2 0 002-2v-8a2 2 0 00-2-2h-8a2 2 0 00-2 2v8a2 2 0 002 2z"})}),e]})})}function ql({buttonRef:e}){let t=e.current?.getBoundingClientRect();if(!t)return null;let a=t.left+t.width/2,o=t.top+t.height/2;return jsxRuntime.jsx(framerMotion.AnimatePresence,{children:[...Array(6)].map((l,r)=>jsxRuntime.jsx(framerMotion.motion.div,{className:"fixed w-1 h-1 bg-black dark:bg-white rounded-full",style:{left:a,top:o},initial:{scale:0,x:0,y:0},animate:{scale:[0,1,0],x:[0,(r%2?1:-1)*(Math.random()*50+20)],y:[0,-Math.random()*50-20]},transition:{duration:.6,delay:r*.1,ease:"easeOut"}},r))})}function El({children:e,onClick:t,onSuccess:a,successDuration:o=1e3,className:l,...r}){let[s,n]=Cn.useState(false),d=Cn.useRef(null);return jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[s&&jsxRuntime.jsx(ql,{buttonRef:d}),jsxRuntime.jsx("button",{ref:d,onClick:f=>{n(true),t?.(f),a?.(),setTimeout(()=>n(false),o);},className:i("relative px-4 py-2 rounded-md bg-primary text-primary-foreground",s&&"scale-95","transition-transform duration-100",l),...r,children:e})]})}function _l({className:e,particleCount:t=12,children:a,...o}){let[l,r]=Cn.useState(false),[s,n]=Cn.useState([]),d=framerMotion.useAnimation();Cn.useEffect(()=>{let m=Array.from({length:t},(x,c)=>({id:c,x:Math.random()*360-180,y:Math.random()*360-180}));n(m);},[t]);let u=Cn.useCallback(async()=>{r(true),await d.start({x:0,y:0,transition:{type:"spring",stiffness:50,damping:10}});},[d]),f=Cn.useCallback(async()=>{r(false),await d.start(m=>({x:s[m].x,y:s[m].y,transition:{type:"spring",stiffness:100,damping:15}}));},[d,s]);return jsxRuntime.jsxs("button",{className:i("min-w-40 relative touch-none px-4 py-2 rounded-md","bg-violet-100 dark:bg-violet-900","hover:bg-violet-200 dark:hover:bg-violet-800","text-violet-600 dark:text-violet-300","border border-violet-300 dark:border-violet-700","transition-all duration-300",e),onMouseEnter:u,onMouseLeave:f,onTouchStart:u,onTouchEnd:f,...o,children:[s.map((m,x)=>jsxRuntime.jsx(framerMotion.motion.div,{custom:x,initial:{x:s[x].x,y:s[x].y},animate:d,className:i("absolute w-1.5 h-1.5 rounded-full bg-violet-400 dark:bg-violet-300 transition-opacity duration-300",l?"opacity-100":"opacity-40")},x)),jsxRuntime.jsx("span",{className:"relative w-full flex items-center justify-center gap-2",children:a||(l?"Attracting":"Hover me")})]})}function $l({className:e,children:t,shortcut:a="CMD + K",...o}){return jsxRuntime.jsxs("button",{...o,className:i("relative p-2 rounded-lg overflow-hidden","bg-gradient-to-b from-zinc-50 to-zinc-100 dark:from-zinc-800 dark:to-zinc-900","border border-zinc-200 dark:border-zinc-800","hover:border-zinc-300 dark:hover:border-zinc-700","transition-all duration-300 ease-out group","inline-flex items-center justify-center gap-2",e),children:[jsxRuntime.jsx("svg",{className:i("w-4 h-4 text-zinc-600 dark:text-zinc-400","transition-all duration-300","group-hover:scale-110 group-hover:rotate-[-4deg] group-active:scale-95"),fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:jsxRuntime.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M18 3a3 3 0 0 0-3 3v12a3 3 0 0 0 3 3 3 3 0 0 0 3-3 3 3 0 0 0-3-3H6a3 3 0 0 0-3 3 3 3 0 0 0 3 3 3 3 0 0 0 3-3V6a3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3h12a3 3 0 0 0 3-3 3 3 0 0 0-3-3z"})}),jsxRuntime.jsx("span",{className:"text-sm text-zinc-600 dark:text-zinc-400",children:t||a}),jsxRuntime.jsx("span",{className:"absolute inset-0 bg-gradient-to-r from-indigo-500/0 via-indigo-500/10 to-indigo-500/0 translate-x-[-100%] group-hover:translate-x-[100%] transition-transform duration-500 ease-out"})]})}function Yl({children:e,className:t="",colors:a=["#40ffaa","#4079ff","#40ffaa","#4079ff","#40ffaa"],animationSpeed:o=8}){return jsxRuntime.jsx("span",{className:i("bg-clip-text text-transparent bg-[length:200%_auto] animate-gradient",t),style:{backgroundImage:`linear-gradient(to right, ${a.join(", ")})`,animationDuration:`${o}s`},children:e})}function Ql({text:e="Text Shimmer",className:t}){return jsxRuntime.jsx("div",{className:"flex items-center justify-center p-8",children:jsxRuntime.jsx(framerMotion.motion.div,{className:"relative px-4 py-2 overflow-hidden",initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.5},children:jsxRuntime.jsx(framerMotion.motion.h1,{className:i("text-3xl font-bold bg-gradient-to-r from-neutral-950 via-neutral-400 to-neutral-950 dark:from-white dark:via-neutral-600 dark:to-white bg-[length:200%_100%] bg-clip-text text-transparent",t),animate:{backgroundPosition:["200% center","-200% center"]},transition:{duration:2.5,ease:"linear",repeat:1/0},children:e})})})}function Zl({text:e="Glitch Text",className:t,glitchIntensity:a="medium",color:o="orange",isStatic:l=false,size:r="md"}){let n={rainbow:{primary:"#a855f7",before:"#22d3ee",after:"#f472b6"},blue:{primary:"#3b82f6",before:"#60a5fa",after:"#1d4ed8"},purple:{primary:"#8b5cf6",before:"#a78bfa",after:"#6d28d9"},cyan:{primary:"#06b6d4",before:"#22d3ee",after:"#0891b2"},pink:{primary:"#ec4899",before:"#f472b6",after:"#db2777"},orange:{primary:"#f97316",before:"#fb923c",after:"#ea580c"}}[o],u={light:{translateRange:2,skewRange:.5},medium:{translateRange:3,skewRange:1},heavy:{translateRange:5,skewRange:2},extreme:{translateRange:8,skewRange:3}}[a],f={sm:"text-2xl",md:"text-4xl",lg:"text-5xl",xl:"text-6xl","2xl":"text-7xl","3xl":"text-8xl"},m={animate:{x:[0,u.translateRange,-u.translateRange,0],y:[0,-u.translateRange,u.translateRange,0],skewX:[0,u.skewRange,-u.skewRange,0]},transition:{duration:.5,repeat:1/0,ease:"easeInOut"}};return jsxRuntime.jsx("div",{className:i("relative flex items-center justify-center p-8",t),children:jsxRuntime.jsxs(framerMotion.motion.div,{className:i("relative font-bold tracking-wider",f[r]),style:{color:n.primary},animate:l?void 0:m.animate,transition:m.transition,children:[e,jsxRuntime.jsx(framerMotion.motion.span,{className:"absolute inset-0 pointer-events-none",style:{color:n.before,opacity:.8},animate:l?void 0:{x:[-u.translateRange,u.translateRange,0],y:[u.translateRange,-u.translateRange,0]},transition:{duration:.5,repeat:1/0},children:e}),jsxRuntime.jsx(framerMotion.motion.span,{className:"absolute inset-0 pointer-events-none",style:{color:n.after,opacity:.8},animate:l?void 0:{x:[u.translateRange,-u.translateRange,0],y:[-u.translateRange,u.translateRange,0]},transition:{duration:.5,repeat:1/0},children:e})]})})}function an({text:e,className:t,delay:a=0,duration:o=.4}){let l=Array.from(e);return jsxRuntime.jsx("div",{className:i("flex",t),children:l.map((r,s)=>jsxRuntime.jsx(framerMotion.motion.span,{className:"inline-block",style:{whiteSpace:r===" "?"pre":"normal"},animate:{y:[0,-20,0]},transition:{delay:a+s*.03,duration:o,ease:"easeInOut",repeat:1/0,repeatDelay:.5},children:r},`${r}-${s}`))})}function nn({text:e="",delay:t=200,className:a="",animateBy:o="words",direction:l="top"}){let r=o==="words"?e.split(" "):e.split(""),[s,n]=Cn.useState(false),d=Cn.useRef(null);Cn.useEffect(()=>{if(!d.current)return;let m=new IntersectionObserver(([x])=>{x.isIntersecting&&(n(true),m.unobserve(d.current));},{threshold:.1});return m.observe(d.current),()=>m.disconnect()},[]);let u=Cn.useMemo(()=>l==="top"?{filter:"blur(10px)",opacity:0,y:-50}:{filter:"blur(10px)",opacity:0,y:50},[l]),f={filter:"blur(0px)",opacity:1,y:0};return jsxRuntime.jsx("p",{ref:d,className:i("flex flex-wrap",a),children:r.map((m,x)=>jsxRuntime.jsxs(framerMotion.motion.span,{initial:u,animate:s?f:u,transition:{duration:.5,delay:x*t/1e3,ease:"easeOut"},className:"inline-block",style:{willChange:"transform, filter, opacity"},children:[m===" "?"\xA0":m,o==="words"&&x<r.length-1&&"\xA0"]},x))})}function cn({text:e="Hello World",className:t,speed:a=50,delay:o=0,cursor:l=true,loop:r=false}){let[s,n]=Cn.useState(""),[d,u]=Cn.useState(false);return Cn.useEffect(()=>{let f,m=0,x=false,c=()=>{u(true),x?m>0?(n(e.slice(0,m-1)),m--,f=setTimeout(c,a/2)):(x=false,f=setTimeout(c,500)):m<e.length?(n(e.slice(0,m+1)),m++,f=setTimeout(c,a)):(u(false),r&&(f=setTimeout(()=>{x=true,c();},2e3)));};return f=setTimeout(c,o),()=>clearTimeout(f)},[e,a,o,r]),jsxRuntime.jsxs("span",{className:i("inline-block font-mono",t),children:[s,l&&jsxRuntime.jsx("span",{className:i("ml-0.5 inline-block w-[2px] h-[1em] bg-current",d?"animate-blink":"")})]})}function gn({text:e,className:t,amplitude:a=10,frequency:o=1.5}){let l=Array.from(e);return jsxRuntime.jsx("div",{className:i("flex",t),children:l.map((r,s)=>jsxRuntime.jsx(framerMotion.motion.span,{className:"inline-block",style:{whiteSpace:r===" "?"pre":"normal"},animate:{y:[0,-a,0,a,0]},transition:{duration:o,repeat:1/0,delay:s*.08,ease:"easeInOut"},children:r},`${r}-${s}`))})}function Ln({text:e,className:t,delay:a=0}){let o=Array.from(e);return jsxRuntime.jsx("div",{className:i("flex",t),style:{perspective:"1000px"},children:o.map((l,r)=>jsxRuntime.jsx(framerMotion.motion.span,{className:"inline-block origin-center",style:{whiteSpace:l===" "?"pre":"normal"},animate:{rotateX:[0,360]},transition:{duration:1.5,repeat:1/0,delay:a+r*.08,ease:"easeInOut",repeatDelay:.8},children:l},`${l}-${r}`))})}function bn({text:e,disabled:t=false,speed:a=5,className:o=""}){return jsxRuntime.jsxs("span",{className:i("inline-block bg-gradient-to-r from-gray-900 via-gray-100 to-gray-900 bg-clip-text text-transparent bg-[length:200%_100%]",!t&&"animate-[shine_var(--shine-speed)_linear_infinite]",o),style:{"--shine-speed":`${a}s`,backgroundImage:"linear-gradient(90deg, #374151 25%, #f3f4f6 50%, #374151 75%)"},children:[e,jsxRuntime.jsx("style",{children:`
1
+ 'use strict';var clsx=require('clsx'),tailwindMerge=require('tailwind-merge'),jsxRuntime=require('react/jsx-runtime'),bi=require('react'),framerMotion=require('framer-motion');function _interopDefault(e){return e&&e.__esModule?e:{default:e}}var bi__default=/*#__PURE__*/_interopDefault(bi);function i(...e){return tailwindMerge.twMerge(clsx.clsx(e))}function Gn({children:e,className:t,...a}){return jsxRuntime.jsxs("button",{className:i("relative overflow-hidden px-6 py-3 rounded-xl font-medium","bg-zinc-900 text-white hover:bg-zinc-800","dark:bg-zinc-800 dark:hover:bg-zinc-700 dark:text-white","transition-colors duration-200",t),...a,children:[jsxRuntime.jsx("span",{className:i("absolute inset-0 overflow-hidden rounded-[inherit]","before:absolute before:inset-0","before:-translate-x-full","before:animate-shimmer","before:bg-gradient-to-r","before:from-transparent before:via-white/40 before:to-transparent","before:skew-x-[-20deg]")}),jsxRuntime.jsx("span",{className:"relative z-10",children:e})]})}function $n({children:e,className:t,onClick:a,...r}){let[n,o]=bi.useState([]);function s(l){let u=l.currentTarget.getBoundingClientRect(),c=l.clientX-u.left,p=l.clientY-u.top,x={x:c,y:p,id:Date.now()};o(f=>[...f,x]),setTimeout(()=>{o(f=>f.filter(m=>m.id!==x.id));},1e3),a?.(l);}return jsxRuntime.jsxs("button",{className:i("relative overflow-hidden px-6 py-3 rounded-xl font-medium","bg-zinc-900 text-white hover:bg-zinc-800","dark:bg-zinc-100 dark:text-black dark:hover:bg-zinc-200","transition-colors duration-200",t),onClick:s,...r,children:[jsxRuntime.jsx(framerMotion.AnimatePresence,{children:n.map(l=>jsxRuntime.jsx(framerMotion.motion.span,{className:"absolute rounded-full pointer-events-none border-2 border-white/50 dark:border-black/50",style:{left:l.x,top:l.y,transform:"translate(-50%, -50%)"},initial:{width:0,height:0,opacity:.9},animate:{width:500,height:500,opacity:0},exit:{opacity:0},transition:{duration:1,ease:[.4,0,.2,1]}},l.id))}),jsxRuntime.jsx("span",{className:"relative z-10",children:e})]})}function Zn({children:e,className:t,strength:a=.5,radius:r=200,...n}){let o=bi.useRef(null),[s,l]=bi.useState(false),d=framerMotion.useMotionValue(0),u=framerMotion.useMotionValue(0),c={damping:20,stiffness:300,mass:.5},p=framerMotion.useSpring(d,c),x=framerMotion.useSpring(u,c);return jsxRuntime.jsx("div",{ref:o,className:"relative inline-flex items-center justify-center",onMouseMove:g=>{if(!o.current)return;let h=o.current.getBoundingClientRect(),L=h.left+h.width/2,v=h.top+h.height/2,b=g.clientX-L,I=g.clientY-v,y=Math.sqrt(b*b+I*I);if(y<r){let w=1-y/r;d.set(b*a*w),u.set(I*a*w);}},onMouseLeave:()=>{l(false),d.set(0),u.set(0);},onMouseEnter:()=>l(true),style:{padding:r/2,margin:-r/2},children:jsxRuntime.jsx(framerMotion.motion.div,{style:{x:p,y:x},children:jsxRuntime.jsx("button",{className:i("px-6 py-3 rounded-xl font-medium","bg-zinc-900 text-white hover:bg-zinc-800","dark:bg-zinc-100 dark:text-black dark:hover:bg-zinc-200","transition-shadow duration-300",s&&"shadow-lg",t),...n,children:e})})})}function el({children:e,className:t,onClick:a,...r}){let[n,o]=bi.useState(false);function s(l){o(true),setTimeout(()=>o(false),1500),a?.(l);}return jsxRuntime.jsxs("div",{className:"relative inline-block",children:[jsxRuntime.jsx(framerMotion.motion.div,{className:"absolute -bottom-2 left-1/2 w-16 h-2 bg-black/20 rounded-full blur-sm",animate:n?{scaleX:[1,.8,1.2,.9,1.1,.95,1],opacity:[.3,.6,.2,.5,.3,.4,.3]}:{},style:{x:"-50%"},transition:{duration:1.5,ease:"easeOut"}}),jsxRuntime.jsx(framerMotion.motion.div,{animate:n?{y:[0,-40,-20,-35,-10,-25,-5,-15,0],rotate:[0,-5,2,-3,1,-2,.5,-1,0]}:{},transition:{duration:1.5,ease:"easeOut",times:[0,.2,.35,.5,.65,.75,.85,.95,1]},whileHover:n?{}:{y:[0,-8,0]},children:jsxRuntime.jsx("button",{className:i("px-6 py-3 rounded-xl font-medium","bg-orange-500 hover:bg-orange-600 text-white","transition-colors duration-200",t),onClick:s,disabled:n,...r,children:e})})]})}function rl({children:e,className:t,glowColor:a="rgba(59, 130, 246, 0.8)",...r}){let[n,o]=bi.useState(false);return jsxRuntime.jsxs(framerMotion.motion.div,{className:"relative inline-block",onMouseEnter:()=>o(true),onMouseLeave:()=>o(false),animate:{filter:n?[`drop-shadow(0 0 10px ${a})`,`drop-shadow(0 0 25px ${a})`,`drop-shadow(0 0 10px ${a})`]:"drop-shadow(0 0 0px transparent)"},transition:{duration:n?1.5:.3,repeat:n?1/0:0},children:[jsxRuntime.jsx(framerMotion.motion.div,{className:"absolute inset-0 rounded-xl",animate:n?{boxShadow:[`0 0 20px ${a}`,`0 0 40px ${a}`,`0 0 20px ${a}`],scale:[1,1.05,1]}:{boxShadow:"0 0 0px transparent",scale:1},transition:{duration:2,repeat:n?1/0:0,ease:"easeInOut"}}),jsxRuntime.jsx("button",{className:i("relative px-6 py-3 rounded-xl font-medium","bg-blue-600 hover:bg-blue-700 text-white","transition-all duration-300",n&&"bg-blue-500",t),...r,children:e})]})}function sl({children:e,className:t,pulseColor:a="rgba(239, 68, 68, 0.5)",...r}){return jsxRuntime.jsxs("div",{className:"relative inline-block",children:[jsxRuntime.jsx(framerMotion.motion.div,{className:"absolute inset-0 rounded-xl",style:{backgroundColor:a},animate:{scale:[1,1.3,1,1.2,1],opacity:[.6,0,.6,0,.6]},transition:{duration:1.2,repeat:1/0,ease:"easeInOut",times:[0,.2,.4,.6,1]}}),jsxRuntime.jsx(framerMotion.motion.div,{className:"absolute inset-0 rounded-xl",style:{backgroundColor:a},animate:{scale:[1,1.5,1,1.4,1],opacity:[.4,0,.4,0,.4]},transition:{duration:1.2,delay:.1,repeat:1/0,ease:"easeInOut",times:[0,.2,.4,.6,1]}}),jsxRuntime.jsx(framerMotion.motion.div,{animate:{scale:[1,1.05,1,1.03,1]},transition:{duration:1.2,repeat:1/0,ease:"easeInOut",times:[0,.2,.4,.6,1]},children:jsxRuntime.jsx("button",{className:i("relative px-6 py-3 rounded-xl font-medium","bg-red-500 hover:bg-red-600 text-white","transition-colors duration-200",t),...r,children:e})})]})}var ll={pink:{border:"border-pink-500",text:"text-pink-400",shadow:"shadow-pink-500/50",glow:"rgba(236, 72, 153, 0.6)",bg:"hover:bg-pink-500/10"},cyan:{border:"border-cyan-500",text:"text-cyan-400",shadow:"shadow-cyan-500/50",glow:"rgba(6, 182, 212, 0.6)",bg:"hover:bg-cyan-500/10"},green:{border:"border-green-500",text:"text-green-400",shadow:"shadow-green-500/50",glow:"rgba(34, 197, 94, 0.6)",bg:"hover:bg-green-500/10"},purple:{border:"border-purple-500",text:"text-purple-400",shadow:"shadow-purple-500/50",glow:"rgba(168, 85, 247, 0.6)",bg:"hover:bg-purple-500/10"},orange:{border:"border-orange-500",text:"text-orange-400",shadow:"shadow-orange-500/50",glow:"rgba(249, 115, 22, 0.6)",bg:"hover:bg-orange-500/10"}},il={sm:"h-8 px-3 text-xs",default:"h-10 px-6 text-sm",lg:"h-12 px-8 text-base"};function dl({children:e,className:t,color:a="cyan",size:r="default",...n}){let o=ll[a];return jsxRuntime.jsxs(framerMotion.motion.button,{className:i("relative inline-flex items-center justify-center","font-semibold tracking-wide uppercase","border-2 rounded-lg","bg-transparent","transition-colors duration-200",o.border,o.text,o.bg,il[r],t),whileHover:{boxShadow:`0 0 20px ${o.glow}, 0 0 40px ${o.glow}, 0 0 60px ${o.glow}`},whileTap:{scale:.98},transition:{duration:.2},...n,children:[jsxRuntime.jsx(framerMotion.motion.span,{className:i("absolute inset-0 rounded-lg opacity-0",o.border),animate:{opacity:[.5,1,.5]},transition:{duration:2,repeat:1/0,ease:"easeInOut"},style:{boxShadow:`inset 0 0 10px ${o.glow}`}}),jsxRuntime.jsx("span",{className:"relative z-10",children:e})]})}function fl({children:e,className:t,variant:a="primary",size:r="md",onClick:n,...o}){let[s,l]=bi.useState(false);function d(p){p.preventDefault(),p.stopPropagation(),l(true),setTimeout(()=>l(false),800),n&&n(p);}let u={sm:"px-4 py-2 text-sm",md:"px-6 py-3 text-base",lg:"px-8 py-4 text-lg"},c={primary:"bg-zinc-900 text-white border-zinc-900 dark:bg-white dark:text-zinc-900 dark:border-white",secondary:"bg-zinc-100 text-zinc-900 border-zinc-200 dark:bg-zinc-800 dark:text-white dark:border-zinc-700",outline:"bg-transparent text-zinc-900 border-zinc-300 dark:text-white dark:border-zinc-600"};return jsxRuntime.jsxs("button",{className:i("relative overflow-hidden rounded-lg font-medium border-2 transition-colors",u[r],c[a],t),onClick:d,...o,children:[jsxRuntime.jsx(framerMotion.AnimatePresence,{children:s&&jsxRuntime.jsx(framerMotion.motion.div,{className:i("absolute inset-0 origin-bottom",a==="primary"?"bg-blue-500 dark:bg-blue-400":"bg-zinc-900 dark:bg-white"),initial:{scaleY:0},animate:{scaleY:1},exit:{scaleY:0,transition:{duration:.3}},transition:{duration:.5,ease:[.4,0,.2,1]},style:{transformOrigin:"bottom"}},"liquid-fill")}),jsxRuntime.jsx(framerMotion.AnimatePresence,{children:s&&jsxRuntime.jsx(jsxRuntime.Fragment,{children:[...Array(5)].map((p,x)=>jsxRuntime.jsx(framerMotion.motion.div,{className:"absolute w-1.5 h-1.5 bg-white/60 rounded-full",style:{left:`${20+x*15}%`,bottom:"10%"},initial:{y:0,opacity:0,scale:0},animate:{y:-60,opacity:[0,1,0],scale:[0,1,.5]},transition:{duration:.6,delay:x*.08,ease:"easeOut"}},x))})}),jsxRuntime.jsx("span",{className:i("relative flex items-center justify-center gap-2 transition-colors duration-200 z-10",s&&(a==="outline"||a==="secondary"?"text-white dark:text-zinc-900":"text-white")),children:e})]})}function gl({children:e,className:t,variant:a="primary",size:r="md",slideText:n="Go!",onClick:o,...s}){let[l,d]=bi.useState(false),u={sm:"px-4 py-2 text-sm",md:"px-6 py-3 text-base",lg:"px-8 py-4 text-lg"},c={primary:"bg-zinc-900 text-white dark:bg-white dark:text-zinc-900",secondary:"bg-zinc-100 text-zinc-900 dark:bg-zinc-800 dark:text-white",outline:"bg-transparent text-zinc-900 border-2 border-zinc-300 dark:text-white dark:border-zinc-600"};return jsxRuntime.jsxs("button",{className:i("relative overflow-hidden rounded-lg font-medium transition-all",u[r],c[a],t),onMouseEnter:()=>d(true),onMouseLeave:()=>d(false),onClick:o,...s,children:[jsxRuntime.jsx(framerMotion.motion.div,{className:i("absolute inset-0",a==="primary"?"bg-blue-600 dark:bg-blue-500":"bg-zinc-900 dark:bg-white"),initial:{x:"-100%"},animate:{x:l?"0%":"-100%"},transition:{duration:.3,ease:"easeInOut"}}),jsxRuntime.jsx(framerMotion.motion.span,{className:"relative flex items-center justify-center gap-2 z-10",animate:{x:l?20:0,opacity:l?0:1},transition:{duration:.2},children:e}),jsxRuntime.jsxs(framerMotion.motion.span,{className:i("absolute inset-0 flex items-center justify-center gap-2 z-10",a==="outline"||a==="secondary"?"text-white dark:text-zinc-900":"text-white"),initial:{x:-20,opacity:0},animate:{x:l?0:-20,opacity:l?1:0},transition:{duration:.2},children:[n,jsxRuntime.jsx("svg",{className:"w-4 h-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:jsxRuntime.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M14 5l7 7m0 0l-7 7m7-7H3"})})]})]})}var hl={sunset:"from-orange-500 via-pink-500 to-purple-500",ocean:"from-cyan-500 via-blue-500 to-purple-500",forest:"from-green-500 via-emerald-500 to-teal-500",purple:"from-purple-500 via-violet-500 to-indigo-500",fire:"from-yellow-500 via-orange-500 to-red-500"},bl={sm:"px-4 py-2 text-sm",md:"px-6 py-3 text-base",lg:"px-8 py-4 text-lg"};function Ll({children:e,className:t,variant:a="ocean",size:r="md",...n}){return jsxRuntime.jsxs(framerMotion.motion.button,{className:i("relative overflow-hidden rounded-lg font-semibold text-white","bg-gradient-to-r",hl[a],bl[r],t),whileHover:{scale:1.02},whileTap:{scale:.98},...n,children:[jsxRuntime.jsx(framerMotion.motion.div,{className:"absolute inset-0 bg-gradient-to-r from-white/0 via-white/25 to-white/0",initial:{x:"-100%"},whileHover:{x:"100%"},transition:{duration:.5}}),jsxRuntime.jsx("span",{className:"relative z-10",children:e})]})}function yl({children:e,className:t,holdDuration:a=1e3,onHoldComplete:r,variant:n="primary",...o}){let[s,l]=bi.useState(0),[d,u]=bi.useState(false),c=bi.useRef(null),p={primary:"bg-zinc-900 dark:bg-white",danger:"bg-red-500",success:"bg-green-500"},x={primary:"bg-blue-500",danger:"bg-red-700",success:"bg-green-700"},f=()=>{u(true);let g=Date.now();c.current=setInterval(()=>{let h=Date.now()-g,L=Math.min(h/a*100,100);l(L),L>=100&&(m(),r?.());},16);},m=()=>{u(false),l(0),c.current&&(clearInterval(c.current),c.current=null);};return jsxRuntime.jsxs(framerMotion.motion.button,{className:i("relative overflow-hidden rounded-lg px-6 py-3 font-medium text-white dark:text-zinc-900",p[n],t),onMouseDown:f,onMouseUp:m,onMouseLeave:m,onTouchStart:f,onTouchEnd:m,whileTap:{scale:.98},...o,children:[jsxRuntime.jsx(framerMotion.motion.div,{className:i("absolute inset-0 origin-left",x[n]),style:{scaleX:s/100},transition:{duration:0}}),jsxRuntime.jsx("span",{className:"relative z-10",children:e})]})}var kl={primary:{bg:"bg-blue-500",shadow:"shadow-blue-700",hover:"hover:bg-blue-600"},secondary:{bg:"bg-zinc-700",shadow:"shadow-zinc-900",hover:"hover:bg-zinc-800"},danger:{bg:"bg-red-500",shadow:"shadow-red-700",hover:"hover:bg-red-600"}},Sl={sm:"px-4 py-2 text-sm",md:"px-6 py-3 text-base",lg:"px-8 py-4 text-lg"};function Pl({children:e,className:t,variant:a="primary",size:r="md",...n}){let o=kl[a];return jsxRuntime.jsx(framerMotion.motion.button,{className:i("relative rounded-lg font-semibold text-white","shadow-[0_6px_0_0]",o.bg,o.shadow,o.hover,Sl[r],t),whileHover:{y:-2},whileTap:{y:4,boxShadow:"0 2px 0 0"},transition:{duration:.1},...n,children:e})}function Tl({text:e="Copy",value:t,onCopy:a,className:r}){let[n,o]=bi.useState(false);return jsxRuntime.jsx("button",{onClick:async()=>{try{t&&await navigator.clipboard.writeText(t),a?.(),o(!0),setTimeout(()=>o(!1),2e3);}catch(l){console.error("Failed to copy:",l);}},className:i("inline-flex items-center gap-2 px-4 py-2","bg-transparent hover:bg-zinc-100 dark:hover:bg-zinc-800","text-zinc-900 dark:text-zinc-100","border border-zinc-300 dark:border-zinc-700","rounded-md transition-all duration-200 font-medium text-sm",r),children:n?jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[jsxRuntime.jsx("svg",{className:"w-4 h-4 text-green-600",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:jsxRuntime.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M5 13l4 4L19 7"})}),"Copied!"]}):jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[jsxRuntime.jsx("svg",{className:"w-4 h-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:jsxRuntime.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M8 16H6a2 2 0 01-2-2V6a2 2 0 012-2h8a2 2 0 012 2v2m-6 12h8a2 2 0 002-2v-8a2 2 0 00-2-2h-8a2 2 0 00-2 2v8a2 2 0 002 2z"})}),e]})})}function Fl({buttonRef:e}){let t=e.current?.getBoundingClientRect();if(!t)return null;let a=t.left+t.width/2,r=t.top+t.height/2;return jsxRuntime.jsx(framerMotion.AnimatePresence,{children:[...Array(6)].map((n,o)=>jsxRuntime.jsx(framerMotion.motion.div,{className:"fixed w-1 h-1 bg-black dark:bg-white rounded-full",style:{left:a,top:r},initial:{scale:0,x:0,y:0},animate:{scale:[0,1,0],x:[0,(o%2?1:-1)*(Math.random()*50+20)],y:[0,-Math.random()*50-20]},transition:{duration:.6,delay:o*.1,ease:"easeOut"}},o))})}function zl({children:e,onClick:t,onSuccess:a,successDuration:r=1e3,className:n,...o}){let[s,l]=bi.useState(false),d=bi.useRef(null);return jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[s&&jsxRuntime.jsx(Fl,{buttonRef:d}),jsxRuntime.jsx("button",{ref:d,onClick:c=>{l(true),t?.(c),a?.(),setTimeout(()=>l(false),r);},className:i("relative px-4 py-2 rounded-md bg-primary text-primary-foreground",s&&"scale-95","transition-transform duration-100",n),...o,children:e})]})}function Gl({className:e,particleCount:t=12,children:a,...r}){let[n,o]=bi.useState(false),[s,l]=bi.useState([]),d=framerMotion.useAnimation();bi.useEffect(()=>{let p=Array.from({length:t},(x,f)=>({id:f,x:Math.random()*360-180,y:Math.random()*360-180}));l(p);},[t]);let u=bi.useCallback(async()=>{o(true),await d.start({x:0,y:0,transition:{type:"spring",stiffness:50,damping:10}});},[d]),c=bi.useCallback(async()=>{o(false),await d.start(p=>({x:s[p].x,y:s[p].y,transition:{type:"spring",stiffness:100,damping:15}}));},[d,s]);return jsxRuntime.jsxs("button",{className:i("min-w-40 relative touch-none px-4 py-2 rounded-md","bg-violet-100 dark:bg-violet-900","hover:bg-violet-200 dark:hover:bg-violet-800","text-violet-600 dark:text-violet-300","border border-violet-300 dark:border-violet-700","transition-all duration-300",e),onMouseEnter:u,onMouseLeave:c,onTouchStart:u,onTouchEnd:c,...r,children:[s.map((p,x)=>jsxRuntime.jsx(framerMotion.motion.div,{custom:x,initial:{x:s[x].x,y:s[x].y},animate:d,className:i("absolute w-1.5 h-1.5 rounded-full bg-violet-400 dark:bg-violet-300 transition-opacity duration-300",n?"opacity-100":"opacity-40")},x)),jsxRuntime.jsx("span",{className:"relative w-full flex items-center justify-center gap-2",children:a||(n?"Attracting":"Hover me")})]})}function Wl({className:e,children:t,shortcut:a="CMD + K",...r}){return jsxRuntime.jsxs("button",{...r,className:i("relative p-2 rounded-lg overflow-hidden","bg-gradient-to-b from-zinc-50 to-zinc-100 dark:from-zinc-800 dark:to-zinc-900","border border-zinc-200 dark:border-zinc-800","hover:border-zinc-300 dark:hover:border-zinc-700","transition-all duration-300 ease-out group","inline-flex items-center justify-center gap-2",e),children:[jsxRuntime.jsx("svg",{className:i("w-4 h-4 text-zinc-600 dark:text-zinc-400","transition-all duration-300","group-hover:scale-110 group-hover:rotate-[-4deg] group-active:scale-95"),fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:jsxRuntime.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M18 3a3 3 0 0 0-3 3v12a3 3 0 0 0 3 3 3 3 0 0 0 3-3 3 3 0 0 0-3-3H6a3 3 0 0 0-3 3 3 3 0 0 0 3 3 3 3 0 0 0 3-3V6a3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3h12a3 3 0 0 0 3-3 3 3 0 0 0-3-3z"})}),jsxRuntime.jsx("span",{className:"text-sm text-zinc-600 dark:text-zinc-400",children:t||a}),jsxRuntime.jsx("span",{className:"absolute inset-0 bg-gradient-to-r from-indigo-500/0 via-indigo-500/10 to-indigo-500/0 translate-x-[-100%] group-hover:translate-x-[100%] transition-transform duration-500 ease-out"})]})}function Xl({children:e,className:t="",colors:a=["#40ffaa","#4079ff","#40ffaa","#4079ff","#40ffaa"],animationSpeed:r=8}){return jsxRuntime.jsx("span",{className:i("bg-clip-text text-transparent bg-[length:200%_auto] animate-gradient",t),style:{backgroundImage:`linear-gradient(to right, ${a.join(", ")})`,animationDuration:`${r}s`},children:e})}function Yl({text:e="Text Shimmer",className:t}){return jsxRuntime.jsx("div",{className:"flex items-center justify-center p-8",children:jsxRuntime.jsx(framerMotion.motion.div,{className:"relative px-4 py-2 overflow-hidden",initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.5},children:jsxRuntime.jsx(framerMotion.motion.h1,{className:i("text-3xl font-bold bg-gradient-to-r from-neutral-950 via-neutral-400 to-neutral-950 dark:from-white dark:via-neutral-600 dark:to-white bg-[length:200%_100%] bg-clip-text text-transparent",t),animate:{backgroundPosition:["200% center","-200% center"]},transition:{duration:2.5,ease:"linear",repeat:1/0},children:e})})})}function Kl({text:e="Glitch Text",className:t,glitchIntensity:a="medium",color:r="orange",isStatic:n=false,size:o="md"}){let l={rainbow:{primary:"#a855f7",before:"#22d3ee",after:"#f472b6"},blue:{primary:"#3b82f6",before:"#60a5fa",after:"#1d4ed8"},purple:{primary:"#8b5cf6",before:"#a78bfa",after:"#6d28d9"},cyan:{primary:"#06b6d4",before:"#22d3ee",after:"#0891b2"},pink:{primary:"#ec4899",before:"#f472b6",after:"#db2777"},orange:{primary:"#f97316",before:"#fb923c",after:"#ea580c"}}[r],u={light:{translateRange:2,skewRange:.5},medium:{translateRange:3,skewRange:1},heavy:{translateRange:5,skewRange:2},extreme:{translateRange:8,skewRange:3}}[a],c={sm:"text-2xl",md:"text-4xl",lg:"text-5xl",xl:"text-6xl","2xl":"text-7xl","3xl":"text-8xl"},p={animate:{x:[0,u.translateRange,-u.translateRange,0],y:[0,-u.translateRange,u.translateRange,0],skewX:[0,u.skewRange,-u.skewRange,0]},transition:{duration:.5,repeat:1/0,ease:"easeInOut"}};return jsxRuntime.jsx("div",{className:i("relative flex items-center justify-center p-8",t),children:jsxRuntime.jsxs(framerMotion.motion.div,{className:i("relative font-bold tracking-wider",c[o]),style:{color:l.primary},animate:n?void 0:p.animate,transition:p.transition,children:[e,jsxRuntime.jsx(framerMotion.motion.span,{className:"absolute inset-0 pointer-events-none",style:{color:l.before,opacity:.8},animate:n?void 0:{x:[-u.translateRange,u.translateRange,0],y:[u.translateRange,-u.translateRange,0]},transition:{duration:.5,repeat:1/0},children:e}),jsxRuntime.jsx(framerMotion.motion.span,{className:"absolute inset-0 pointer-events-none",style:{color:l.after,opacity:.8},animate:n?void 0:{x:[u.translateRange,-u.translateRange,0],y:[-u.translateRange,u.translateRange,0]},transition:{duration:.5,repeat:1/0},children:e})]})})}function Zl({text:e,className:t,delay:a=0,duration:r=.4}){let n=Array.from(e);return jsxRuntime.jsx("div",{className:i("flex",t),children:n.map((o,s)=>jsxRuntime.jsx(framerMotion.motion.span,{className:"inline-block",style:{whiteSpace:o===" "?"pre":"normal"},animate:{y:[0,-20,0]},transition:{delay:a+s*.03,duration:r,ease:"easeInOut",repeat:1/0,repeatDelay:.5},children:o},`${o}-${s}`))})}function oi({text:e="",delay:t=200,className:a="",animateBy:r="words",direction:n="top"}){let o=r==="words"?e.split(" "):e.split(""),[s,l]=bi.useState(false),d=bi.useRef(null);bi.useEffect(()=>{if(!d.current)return;let p=new IntersectionObserver(([x])=>{x.isIntersecting&&(l(true),p.unobserve(d.current));},{threshold:.1});return p.observe(d.current),()=>p.disconnect()},[]);let u=bi.useMemo(()=>n==="top"?{filter:"blur(10px)",opacity:0,y:-50}:{filter:"blur(10px)",opacity:0,y:50},[n]),c={filter:"blur(0px)",opacity:1,y:0};return jsxRuntime.jsx("p",{ref:d,className:i("flex flex-wrap",a),children:o.map((p,x)=>jsxRuntime.jsxs(framerMotion.motion.span,{initial:u,animate:s?c:u,transition:{duration:.5,delay:x*t/1e3,ease:"easeOut"},className:"inline-block",style:{willChange:"transform, filter, opacity"},children:[p===" "?"\xA0":p,r==="words"&&x<o.length-1&&"\xA0"]},x))})}function ii({text:e="Hello World",className:t,speed:a=50,delay:r=0,cursor:n=true,loop:o=false}){let[s,l]=bi.useState(""),[d,u]=bi.useState(false);return bi.useEffect(()=>{let c,p=0,x=false,f=()=>{u(true),x?p>0?(l(e.slice(0,p-1)),p--,c=setTimeout(f,a/2)):(x=false,c=setTimeout(f,500)):p<e.length?(l(e.slice(0,p+1)),p++,c=setTimeout(f,a)):(u(false),o&&(c=setTimeout(()=>{x=true,f();},2e3)));};return c=setTimeout(f,r),()=>clearTimeout(c)},[e,a,r,o]),jsxRuntime.jsxs("span",{className:i("inline-block font-mono",t),children:[s,n&&jsxRuntime.jsx("span",{className:i("ml-0.5 inline-block w-[2px] h-[1em] bg-current",d?"animate-blink":"")})]})}function fi({text:e,className:t,amplitude:a=10,frequency:r=1.5}){let n=Array.from(e);return jsxRuntime.jsx("div",{className:i("flex",t),children:n.map((o,s)=>jsxRuntime.jsx(framerMotion.motion.span,{className:"inline-block",style:{whiteSpace:o===" "?"pre":"normal"},animate:{y:[0,-a,0,a,0]},transition:{duration:r,repeat:1/0,delay:s*.08,ease:"easeInOut"},children:o},`${o}-${s}`))})}function pi({text:e,className:t,delay:a=0}){let r=Array.from(e);return jsxRuntime.jsx("div",{className:i("flex",t),style:{perspective:"1000px"},children:r.map((n,o)=>jsxRuntime.jsx(framerMotion.motion.span,{className:"inline-block origin-center",style:{whiteSpace:n===" "?"pre":"normal"},animate:{rotateX:[0,360]},transition:{duration:1.5,repeat:1/0,delay:a+o*.08,ease:"easeInOut",repeatDelay:.8},children:n},`${n}-${o}`))})}function xi({text:e,disabled:t=false,speed:a=5,className:r=""}){return jsxRuntime.jsxs("span",{className:i("inline-block bg-gradient-to-r from-gray-900 via-gray-100 to-gray-900 bg-clip-text text-transparent bg-[length:200%_100%]",!t&&"animate-[shine_var(--shine-speed)_linear_infinite]",r),style:{"--shine-speed":`${a}s`,backgroundImage:"linear-gradient(90deg, #374151 25%, #f3f4f6 50%, #374151 75%)"},children:[e,jsxRuntime.jsx("style",{children:`
2
2
  @keyframes shine {
3
3
  0% { background-position: -200% 0; }
4
4
  100% { background-position: 200% 0; }
5
5
  }
6
- `})]})}function Sn({children:e,fontSize:t="clamp(2rem, 8vw, 8rem)",fontWeight:a=900,fontFamily:o="inherit",color:l="#fff",enableHover:r=true,baseIntensity:s=.18,hoverIntensity:n=.5}){let d=Cn.useRef(null);return Cn.useEffect(()=>{let u,f=false,m=d.current;return m?((async()=>{if(document.fonts?.ready&&await document.fonts.ready,f)return;let c=m.getContext("2d");if(!c)return;let p=o==="inherit"?window.getComputedStyle(m).fontFamily||"sans-serif":o,g=typeof t=="number"?`${t}px`:t,h;if(typeof t=="number")h=t;else {let X=document.createElement("span");X.style.fontSize=t,document.body.appendChild(X),h=parseFloat(window.getComputedStyle(X).fontSize),document.body.removeChild(X);}let b=Cn__default.default.Children.toArray(e).join(""),I=document.createElement("canvas"),L=I.getContext("2d");if(!L)return;L.font=`${a} ${g} ${p}`,L.textBaseline="alphabetic";let v=L.measureText(b),C=v.actualBoundingBoxLeft??0,y=v.actualBoundingBoxRight??v.width,w=v.actualBoundingBoxAscent??h,k=v.actualBoundingBoxDescent??h*.2,S=Math.ceil(C+y),P=Math.ceil(w+k),T=10,A=S+T;I.width=A,I.height=P;let M=T/2;L.font=`${a} ${g} ${p}`,L.textBaseline="alphabetic",L.fillStyle=l,L.fillText(b,M-C,w);let H=50,F=0;m.width=A+H*2,m.height=P+F*2,c.translate(H,F);let R=H+M,U=F,B=R+S,j=U+P,qe=false,Ie=30,wa=()=>{if(f)return;c.clearRect(-Ie,-Ie,A+2*Ie,P+2*Ie);let X=qe?n:s;for(let ee=0;ee<P;ee++){let Gs=Math.floor(X*(Math.random()-.5)*Ie);c.drawImage(I,0,ee,A,1,Gs,ee,A,1);}u=window.requestAnimationFrame(wa);};wa();let Us=(X,ee)=>X>=R&&X<=B&&ee>=U&&ee<=j,Lo=X=>{if(!r)return;let ee=m.getBoundingClientRect();qe=Us(X.clientX-ee.left,X.clientY-ee.top);},bo=()=>{qe=false;};r&&(m.addEventListener("mousemove",Lo),m.addEventListener("mouseleave",bo)),m.cleanupFuzzyText=()=>{window.cancelAnimationFrame(u),r&&(m.removeEventListener("mousemove",Lo),m.removeEventListener("mouseleave",bo));};})(),()=>{f=true,window.cancelAnimationFrame(u),m?.cleanupFuzzyText&&m.cleanupFuzzyText();}):void 0},[e,t,a,o,l,r,s,n]),jsxRuntime.jsx("canvas",{ref:d,className:"max-w-full"})}function Nn({text:e,className:t,speed:a=50,color:o="#22c55e"}){let l=Cn.useRef(null),r=Cn.useRef(null);return Cn.useEffect(()=>{let s=l.current;if(!s)return;let n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789@#$%^&*",d=e,u=0,f=()=>{if(s.innerText=d.split("").map((m,x)=>x<u?d[x]:n[Math.floor(Math.random()*n.length)]).join(""),u>=d.length){r.current&&clearInterval(r.current);return}u+=1/3;};return r.current=setInterval(f,a),()=>{r.current&&clearInterval(r.current);}},[e,a]),jsxRuntime.jsx("div",{ref:l,className:i("font-mono",t),style:{color:o},children:e})}function Tn({text:e,className:t,delay:a=0}){let o=e.split(" "),l={hidden:{opacity:0},visible:(s=1)=>({opacity:1,transition:{staggerChildren:.12,delayChildren:a*s}})},r={visible:{opacity:1,y:0,filter:"blur(0px)",transition:{type:"spring",damping:12,stiffness:100}},hidden:{opacity:0,y:20,filter:"blur(10px)",transition:{type:"spring",damping:12,stiffness:100}}};return jsxRuntime.jsx(framerMotion.motion.div,{className:i("flex flex-wrap",t),variants:l,initial:"hidden",animate:"visible",children:o.map((s,n)=>jsxRuntime.jsx(framerMotion.motion.span,{variants:r,className:"mr-2",children:s},n))})}function An({text:e,className:t,delay:a=0}){let o=e.split(""),l={hidden:{opacity:0},visible:{opacity:1,transition:{staggerChildren:.03,delayChildren:a}}},r={hidden:{opacity:0,x:-20,y:10,rotate:-10},visible:{opacity:1,x:0,y:0,rotate:0,transition:{type:"spring",damping:12,stiffness:200}}};return jsxRuntime.jsx(framerMotion.motion.span,{className:i("inline-flex",t),variants:l,initial:"hidden",animate:"visible",children:o.map((s,n)=>jsxRuntime.jsx(framerMotion.motion.span,{variants:r,className:"inline-block",style:{whiteSpace:s===" "?"pre":"normal"},children:s===" "?"\xA0":s},n))})}function Dn({text:e,className:t,speed:a=50,scrambleChars:o="!<>-_\\/[]{}\u2014=+*^?#________"}){let[l,r]=Cn.useState(e);return Cn.useEffect(()=>{let s=0,n=setInterval(()=>{r(e.split("").map((d,u)=>u<s?e[u]:o[Math.floor(Math.random()*o.length)]).join("")),s>=e.length&&clearInterval(n),s+=1/3;},a);return ()=>clearInterval(n)},[e,a,o]),jsxRuntime.jsx("span",{className:i("font-mono",t),children:l})}function En({children:e,className:t,strength:a=.5}){let o=Cn.useRef(null),[l,r]=Cn.useState({x:0,y:0}),s=f=>{let{clientX:m,clientY:x}=f,{height:c,width:p,left:g,top:h}=o.current.getBoundingClientRect(),b=m-(g+p/2),I=x-(h+c/2);r({x:b*a,y:I*a});},n=()=>{r({x:0,y:0});},{x:d,y:u}=l;return jsxRuntime.jsx(framerMotion.motion.div,{ref:o,onMouseMove:s,onMouseLeave:n,animate:{x:d,y:u},transition:{type:"spring",stiffness:150,damping:15,mass:.1},className:i("inline-block cursor-pointer",t),children:e})}function _n({words:e,className:t,interval:a=3e3}){let[o,l]=Cn.useState(0);return Cn.useEffect(()=>{let r=setInterval(()=>{l(s=>(s+1)%e.length);},a);return ()=>clearInterval(r)},[e.length,a]),jsxRuntime.jsx("div",{className:i("relative inline-block overflow-hidden",t),children:jsxRuntime.jsx(framerMotion.AnimatePresence,{mode:"wait",children:jsxRuntime.jsx(framerMotion.motion.span,{initial:{y:20,opacity:0},animate:{y:0,opacity:1},exit:{y:-20,opacity:0},transition:{duration:.3},className:"inline-block",children:e[o]},e[o])})})}function Jn({words:e,className:t,interval:a=2e3}){let[o,l]=Cn.useState(0);return Cn.useEffect(()=>{let r=setInterval(()=>{l(s=>(s+1)%e.length);},a);return ()=>clearInterval(r)},[e.length,a]),jsxRuntime.jsx("span",{className:i("inline-block relative",t),children:jsxRuntime.jsx(framerMotion.AnimatePresence,{mode:"wait",children:jsxRuntime.jsx(framerMotion.motion.span,{initial:{rotateX:-90,opacity:0},animate:{rotateX:0,opacity:1},exit:{rotateX:90,opacity:0},transition:{duration:.4},className:"inline-block",style:{transformStyle:"preserve-3d"},children:e[o]},e[o])})})}function Qn({text:e,className:t,delay:a=0,staggerDelay:o=.05}){let l=e.split(""),r={hidden:{opacity:0},visible:{opacity:1,transition:{staggerChildren:o,delayChildren:a}}},s={hidden:{opacity:0,y:20},visible:{opacity:1,y:0,transition:{type:"spring",damping:12,stiffness:200}}};return jsxRuntime.jsx(framerMotion.motion.span,{className:i("inline-flex",t),variants:r,initial:"hidden",animate:"visible",children:l.map((n,d)=>jsxRuntime.jsx(framerMotion.motion.span,{variants:s,className:"inline-block",style:{whiteSpace:n===" "?"pre":"normal"},children:n===" "?"\xA0":n},d))})}function Zn({children:e,className:t,speed:a=3}){return jsxRuntime.jsxs("span",{className:i("inline-block bg-gradient-to-r from-red-500 via-yellow-500 via-green-500 via-blue-500 to-purple-500 bg-clip-text text-transparent bg-[length:200%_auto] animate-[rainbow_var(--rainbow-speed)_linear_infinite]",t),style:{"--rainbow-speed":`${a}s`},children:[e,jsxRuntime.jsx("style",{children:`
6
+ `})]})}function Ii({children:e,fontSize:t="clamp(2rem, 8vw, 8rem)",fontWeight:a=900,fontFamily:r="inherit",color:n="#fff",enableHover:o=true,baseIntensity:s=.18,hoverIntensity:l=.5}){let d=bi.useRef(null);return bi.useEffect(()=>{let u,c=false,p=d.current;return p?((async()=>{if(document.fonts?.ready&&await document.fonts.ready,c)return;let f=p.getContext("2d");if(!f)return;let m=r==="inherit"?window.getComputedStyle(p).fontFamily||"sans-serif":r,g=typeof t=="number"?`${t}px`:t,h;if(typeof t=="number")h=t;else {let Z=document.createElement("span");Z.style.fontSize=t,document.body.appendChild(Z),h=parseFloat(window.getComputedStyle(Z).fontSize),document.body.removeChild(Z);}let L=bi__default.default.Children.toArray(e).join(""),v=document.createElement("canvas"),b=v.getContext("2d");if(!b)return;b.font=`${a} ${g} ${m}`,b.textBaseline="alphabetic";let I=b.measureText(L),y=I.actualBoundingBoxLeft??0,w=I.actualBoundingBoxRight??I.width,C=I.actualBoundingBoxAscent??h,N=I.actualBoundingBoxDescent??h*.2,S=Math.ceil(y+w),R=Math.ceil(C+N),A=10,D=S+A;v.width=D,v.height=R;let k=A/2;b.font=`${a} ${g} ${m}`,b.textBaseline="alphabetic",b.fillStyle=n,b.fillText(L,k-y,C);let P=50,T=0;p.width=D+P*2,p.height=R+T*2,f.translate(P,T);let M=P+k,z=T,F=M+S,_=z+R,E=false,O=30,ae=()=>{if(c)return;f.clearRect(-O,-O,D+2*O,R+2*O);let Z=E?l:s;for(let ie=0;ie<R;ie++){let qn=Math.floor(Z*(Math.random()-.5)*O);f.drawImage(v,0,ie,D,1,qn,ie,D,1);}u=window.requestAnimationFrame(ae);};ae();let ye=(Z,ie)=>Z>=M&&Z<=F&&ie>=z&&ie<=_,Q=Z=>{if(!o)return;let ie=p.getBoundingClientRect();E=ye(Z.clientX-ie.left,Z.clientY-ie.top);},jr=()=>{E=false;};o&&(p.addEventListener("mousemove",Q),p.addEventListener("mouseleave",jr)),p.cleanupFuzzyText=()=>{window.cancelAnimationFrame(u),o&&(p.removeEventListener("mousemove",Q),p.removeEventListener("mouseleave",jr));};})(),()=>{c=true,window.cancelAnimationFrame(u),p?.cleanupFuzzyText&&p.cleanupFuzzyText();}):void 0},[e,t,a,r,n,o,s,l]),jsxRuntime.jsx("canvas",{ref:d,className:"max-w-full"})}function wi({text:e,className:t,speed:a=50,color:r="#22c55e"}){let n=bi.useRef(null),o=bi.useRef(null);return bi.useEffect(()=>{let s=n.current;if(!s)return;let l="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789@#$%^&*",d=e,u=0,c=()=>{if(s.innerText=d.split("").map((p,x)=>x<u?d[x]:l[Math.floor(Math.random()*l.length)]).join(""),u>=d.length){o.current&&clearInterval(o.current);return}u+=1/3;};return o.current=setInterval(c,a),()=>{o.current&&clearInterval(o.current);}},[e,a]),jsxRuntime.jsx("div",{ref:n,className:i("font-mono",t),style:{color:r},children:e})}function Si({text:e,className:t,delay:a=0}){let r=e.split(" "),n={hidden:{opacity:0},visible:(s=1)=>({opacity:1,transition:{staggerChildren:.12,delayChildren:a*s}})},o={visible:{opacity:1,y:0,filter:"blur(0px)",transition:{type:"spring",damping:12,stiffness:100}},hidden:{opacity:0,y:20,filter:"blur(10px)",transition:{type:"spring",damping:12,stiffness:100}}};return jsxRuntime.jsx(framerMotion.motion.div,{className:i("flex flex-wrap",t),variants:n,initial:"hidden",animate:"visible",children:r.map((s,l)=>jsxRuntime.jsx(framerMotion.motion.span,{variants:o,className:"mr-2",children:s},l))})}function Pi({text:e,className:t,delay:a=0}){let r=e.split(""),n={hidden:{opacity:0},visible:{opacity:1,transition:{staggerChildren:.03,delayChildren:a}}},o={hidden:{opacity:0,x:-20,y:10,rotate:-10},visible:{opacity:1,x:0,y:0,rotate:0,transition:{type:"spring",damping:12,stiffness:200}}};return jsxRuntime.jsx(framerMotion.motion.span,{className:i("inline-flex",t),variants:n,initial:"hidden",animate:"visible",children:r.map((s,l)=>jsxRuntime.jsx(framerMotion.motion.span,{variants:o,className:"inline-block",style:{whiteSpace:s===" "?"pre":"normal"},children:s===" "?"\xA0":s},l))})}function Ti({text:e,className:t,speed:a=50,scrambleChars:r="!<>-_\\/[]{}\u2014=+*^?#________"}){let[n,o]=bi.useState(e);return bi.useEffect(()=>{let s=0,l=setInterval(()=>{o(e.split("").map((d,u)=>u<s?e[u]:r[Math.floor(Math.random()*r.length)]).join("")),s>=e.length&&clearInterval(l),s+=1/3;},a);return ()=>clearInterval(l)},[e,a,r]),jsxRuntime.jsx("span",{className:i("font-mono",t),children:n})}function Fi({children:e,className:t,strength:a=.5}){let r=bi.useRef(null),[n,o]=bi.useState({x:0,y:0}),s=c=>{let{clientX:p,clientY:x}=c,{height:f,width:m,left:g,top:h}=r.current.getBoundingClientRect(),L=p-(g+m/2),v=x-(h+f/2);o({x:L*a,y:v*a});},l=()=>{o({x:0,y:0});},{x:d,y:u}=n;return jsxRuntime.jsx(framerMotion.motion.div,{ref:r,onMouseMove:s,onMouseLeave:l,animate:{x:d,y:u},transition:{type:"spring",stiffness:150,damping:15,mass:.1},className:i("inline-block cursor-pointer",t),children:e})}function Ui({words:e,className:t,interval:a=3e3}){let[r,n]=bi.useState(0);return bi.useEffect(()=>{let o=setInterval(()=>{n(s=>(s+1)%e.length);},a);return ()=>clearInterval(o)},[e.length,a]),jsxRuntime.jsx("div",{className:i("relative inline-block overflow-hidden",t),children:jsxRuntime.jsx(framerMotion.AnimatePresence,{mode:"wait",children:jsxRuntime.jsx(framerMotion.motion.span,{initial:{y:20,opacity:0},animate:{y:0,opacity:1},exit:{y:-20,opacity:0},transition:{duration:.3},className:"inline-block",children:e[r]},e[r])})})}function Xi({words:e,className:t,interval:a=2e3}){let[r,n]=bi.useState(0);return bi.useEffect(()=>{let o=setInterval(()=>{n(s=>(s+1)%e.length);},a);return ()=>clearInterval(o)},[e.length,a]),jsxRuntime.jsx("span",{className:i("inline-block relative",t),children:jsxRuntime.jsx(framerMotion.AnimatePresence,{mode:"wait",children:jsxRuntime.jsx(framerMotion.motion.span,{initial:{rotateX:-90,opacity:0},animate:{rotateX:0,opacity:1},exit:{rotateX:90,opacity:0},transition:{duration:.4},className:"inline-block",style:{transformStyle:"preserve-3d"},children:e[r]},e[r])})})}function $i({text:e,className:t,delay:a=0,staggerDelay:r=.05}){let n=e.split(""),o={hidden:{opacity:0},visible:{opacity:1,transition:{staggerChildren:r,delayChildren:a}}},s={hidden:{opacity:0,y:20},visible:{opacity:1,y:0,transition:{type:"spring",damping:12,stiffness:200}}};return jsxRuntime.jsx(framerMotion.motion.span,{className:i("inline-flex",t),variants:o,initial:"hidden",animate:"visible",children:n.map((l,d)=>jsxRuntime.jsx(framerMotion.motion.span,{variants:s,className:"inline-block",style:{whiteSpace:l===" "?"pre":"normal"},children:l===" "?"\xA0":l},d))})}function Yi({children:e,className:t,speed:a=3}){return jsxRuntime.jsxs("span",{className:i("inline-block bg-gradient-to-r from-red-500 via-yellow-500 via-green-500 via-blue-500 to-purple-500 bg-clip-text text-transparent bg-[length:200%_auto] animate-[rainbow_var(--rainbow-speed)_linear_infinite]",t),style:{"--rainbow-speed":`${a}s`},children:[e,jsxRuntime.jsx("style",{children:`
7
7
  @keyframes rainbow {
8
8
  0% { background-position: 0% center; }
9
9
  100% { background-position: 200% center; }
10
10
  }
11
- `})]})}function oi({end:e,start:t=0,duration:a=2e3,className:o,prefix:l="",suffix:r="",decimals:s=0}){let[n,d]=Cn.useState(t);return Cn.useEffect(()=>{let u=null,f,m=x=>{u||(u=x);let c=Math.min((x-u)/a,1),p=1-Math.pow(1-c,4),g=t+(e-t)*p;d(g),c<1&&(f=requestAnimationFrame(m));};return f=requestAnimationFrame(m),()=>cancelAnimationFrame(f)},[t,e,a]),jsxRuntime.jsxs("span",{className:i("tabular-nums",o),children:[l,n.toFixed(s),r]})}function si({text:e,className:t,stagger:a=.04}){let o=Array.from(e),l={hidden:{opacity:0},visible:{opacity:1,transition:{staggerChildren:a,delayChildren:.02}}},r={hidden:{opacity:0,y:20},visible:{opacity:1,y:0,transition:{type:"spring",damping:12,stiffness:100}}};return jsxRuntime.jsx(framerMotion.motion.div,{className:i("flex overflow-hidden",t),variants:l,initial:"hidden",animate:"visible",children:o.map((s,n)=>jsxRuntime.jsx(framerMotion.motion.span,{variants:r,className:"inline-block",style:{whiteSpace:s===" "?"pre":"normal"},children:s===" "?"\xA0":s},`${s}-${n}`))})}function ui({text:e,className:t="",delay:a=100,duration:o=.6,splitType:l="chars",textAlign:r="center"}){let[s,n]=Cn.useState(false),d=Cn.useRef(null);Cn.useEffect(()=>{if(!d.current)return;let f=new IntersectionObserver(([m])=>{m.isIntersecting&&(n(true),f.unobserve(d.current));},{threshold:.1,rootMargin:"-100px"});return f.observe(d.current),()=>f.disconnect()},[]);let u=l==="words"?e.split(" "):e.split("");return jsxRuntime.jsx("div",{ref:d,className:i("overflow-hidden",t),style:{textAlign:r},children:u.map((f,m)=>jsxRuntime.jsx(framerMotion.motion.span,{initial:{opacity:0,y:40},animate:s?{opacity:1,y:0}:{opacity:0,y:40},transition:{duration:o,delay:m*a/1e3,ease:"easeOut"},className:"inline-block",style:{marginRight:l==="words"?"0.25em":"0"},children:f===" "?"\xA0":f},m))})}function ci({text:e,className:t}){let a=Array.from(e);return jsxRuntime.jsx("div",{className:i("flex",t),children:a.map((o,l)=>jsxRuntime.jsx(framerMotion.motion.span,{className:"inline-block",style:{whiteSpace:o===" "?"pre":"normal"},animate:{scaleY:[1,.5,1.5,.8,1],scaleX:[1,1.5,.5,1.2,1]},transition:{duration:1.5,repeat:1/0,delay:l*.08,ease:"easeInOut",repeatDelay:.3},children:o===" "?"\xA0":o},`${o}-${l}`))})}function pi({text:e,className:t}){let a=Array.from(e);return jsxRuntime.jsx("div",{className:i("flex",t),style:{perspective:"500px"},children:a.map((o,l)=>jsxRuntime.jsx(framerMotion.motion.span,{className:"inline-block",style:{whiteSpace:o===" "?"pre":"normal"},initial:{rotateY:90,opacity:0},animate:{rotateY:0,opacity:1},transition:{delay:l*.04,duration:.5,type:"spring",stiffness:120},whileHover:{rotateY:180,transition:{duration:.3}},children:o===" "?"\xA0":o},`${o}-${l}`))})}function gi({text:e,className:t}){let a=Array.from(e);return jsxRuntime.jsx("div",{className:i("flex",t),children:a.map((o,l)=>jsxRuntime.jsx(framerMotion.motion.span,{className:"inline-block cursor-pointer",style:{whiteSpace:o===" "?"pre":"normal"},whileHover:{scale:[1,1.5,.8,1.2,1],rotate:[0,10,-10,0],transition:{duration:.6,ease:"easeInOut"}},children:o===" "?"\xA0":o},`${o}-${l}`))})}function vi({text:e,spinDuration:t=20,onHover:a="speedUp",className:o=""}){let l=Array.from(e),r=framerMotion.useAnimation(),s=framerMotion.useMotionValue(0);Cn.useEffect(()=>{let u=s.get();r.start({rotate:u+360,scale:1,transition:{rotate:{from:u,to:u+360,ease:"linear",duration:t,repeat:1/0},scale:{type:"spring",damping:20,stiffness:300}}});},[t,r,s]);let n=()=>{let u=s.get(),f=t,m=1;switch(a){case "slowDown":f=t*2;break;case "speedUp":f=t/4;break;case "pause":f=0;break;case "goBonkers":f=t/20,m=.8;break}a==="pause"?r.stop():r.start({rotate:u+360,scale:m,transition:{rotate:{from:u,to:u+360,ease:"linear",duration:f,repeat:1/0},scale:{type:"spring",damping:20,stiffness:300}}});},d=()=>{let u=s.get();r.start({rotate:u+360,scale:1,transition:{rotate:{from:u,to:u+360,ease:"linear",duration:t,repeat:1/0},scale:{type:"spring",damping:20,stiffness:300}}});};return jsxRuntime.jsx(framerMotion.motion.div,{className:i("relative w-32 h-32 cursor-pointer",o),style:{rotate:s},initial:{rotate:0},animate:r,onMouseEnter:n,onMouseLeave:d,children:l.map((u,f)=>{let m=360/l.length*f,x=60,c=m*Math.PI/180,p=Math.cos(c)*x,g=Math.sin(c)*x;return jsxRuntime.jsx("span",{className:"absolute text-lg font-bold",style:{transform:`translate(-50%, -50%) translate(${p}px, ${g}px) rotate(${m+90}deg)`,left:"50%",top:"50%"},children:u},f)})})}function wi({text:e,className:t,glowColor:a="#3b82f6",hoverColor:o="#ec4899"}){let[l,r]=Cn.useState(false),s=l?o:a;return jsxRuntime.jsx(framerMotion.motion.div,{className:i("font-bold cursor-pointer select-none",t),onMouseEnter:()=>r(true),onMouseLeave:()=>r(false),animate:{color:s,textShadow:`0 0 10px ${s}, 0 0 20px ${s}, 0 0 30px ${s}, 0 0 50px ${s}`},transition:{duration:.4,ease:"easeInOut"},children:e})}function ki({text:e="Sliced Text",className:t="",containerClassName:a="",splitSpacing:o=2}){return jsxRuntime.jsxs(framerMotion.motion.div,{className:i("w-full text-center relative inline-block",a),whileHover:"hover",initial:"default",children:[jsxRuntime.jsx(framerMotion.motion.div,{className:i("absolute w-full text-4xl -ml-0.5",t),variants:{default:{clipPath:"inset(0 0 50% 0)",y:-o/2,opacity:1},hover:{clipPath:"inset(0 0 0 0)",y:0,opacity:0}},transition:{duration:.1},children:e}),jsxRuntime.jsx(framerMotion.motion.div,{className:i("absolute w-full text-4xl",t),variants:{default:{clipPath:"inset(50% 0 0 0)",y:o/2,opacity:1},hover:{clipPath:"inset(0 0 0 0)",y:0,opacity:1}},transition:{duration:.1},children:e}),jsxRuntime.jsx("div",{className:i("invisible text-4xl",t),children:e})]})}function Ti({text:e,speed:t=50,maxIterations:a=10,sequential:o=false,revealDirection:l="start",useOriginalCharsOnly:r=false,characters:s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz!@#$%^&*()_+",className:n="",parentClassName:d="",encryptedClassName:u="",animateOn:f="hover",...m}){let[x,c]=Cn.useState(e),[p,g]=Cn.useState(false),[h,b]=Cn.useState(false),[I,L]=Cn.useState(new Set),[v,C]=Cn.useState(false),y=Cn.useRef(null);Cn.useEffect(()=>{let k,S=0,P=M=>{let H=e.length;switch(l){case "start":return M.size;case "end":return H-1-M.size;case "center":{let F=Math.floor(H/2),R=Math.floor(M.size/2),U=M.size%2===0?F+R:F-R-1;if(U>=0&&U<H&&!M.has(U))return U;for(let B=0;B<H;B++)if(!M.has(B))return B;return 0}default:return M.size}},T=r?Array.from(new Set(e.split(""))).filter(M=>M!==" "):s.split(""),A=(M,H)=>{if(r){let F=M.split("").map((B,j)=>({char:B,isSpace:B===" ",index:j,isRevealed:H.has(j)})),R=F.filter(B=>!B.isSpace&&!B.isRevealed).map(B=>B.char);for(let B=R.length-1;B>0;B--){let j=Math.floor(Math.random()*(B+1));[R[B],R[j]]=[R[j],R[B]];}let U=0;return F.map(B=>B.isSpace?" ":B.isRevealed?M[B.index]:R[U++]).join("")}else return M.split("").map((F,R)=>F===" "?" ":H.has(R)?M[R]:T[Math.floor(Math.random()*T.length)]).join("")};return p?(b(true),k=setInterval(()=>{L(M=>{if(o)if(M.size<e.length){let H=P(M),F=new Set(M);return F.add(H),c(A(e,F)),F}else return clearInterval(k),b(false),M;else return c(A(e,M)),S++,S>=a&&(clearInterval(k),b(false),c(e)),M});},t)):(c(e),L(new Set),b(false)),()=>{k&&clearInterval(k);}},[p,e,t,a,o,l,s,r]),Cn.useEffect(()=>{if(f!=="view"&&f!=="both")return;let k=T=>{T.forEach(A=>{A.isIntersecting&&!v&&(g(true),C(true));});},S=new IntersectionObserver(k,{threshold:.1}),P=y.current;return P&&S.observe(P),()=>{P&&S.unobserve(P);}},[f,v]);let w=f==="hover"||f==="both"?{onMouseEnter:()=>g(true),onMouseLeave:()=>g(false)}:{};return jsxRuntime.jsxs(framerMotion.motion.span,{className:d,ref:y,style:{display:"inline-block",whiteSpace:"pre-wrap"},...w,...m,children:[jsxRuntime.jsx("span",{className:"sr-only",children:x}),jsxRuntime.jsx("span",{"aria-hidden":"true",children:x.split("").map((k,S)=>{let P=I.has(S)||!h||!p;return jsxRuntime.jsx("span",{className:P?n:u,children:k},S)})})]})}function Bi({sentence:e="True Focus",manualMode:t=false,blurAmount:a=5,borderColor:o="green",glowColor:l="rgba(0, 255, 0, 0.6)",animationDuration:r=.5,pauseBetweenAnimations:s=1,className:n}){let d=e.split(" "),[u,f]=Cn.useState(0),[m,x]=Cn.useState(null),c=Cn.useRef(null),p=Cn.useRef([]),[g,h]=Cn.useState({x:0,y:0,width:0,height:0});return Cn.useEffect(()=>{if(!t){let b=setInterval(()=>{f(I=>(I+1)%d.length);},(r+s)*1e3);return ()=>clearInterval(b)}},[t,r,s,d.length]),Cn.useEffect(()=>{let b=()=>{if(u===null||u===-1||!p.current[u]||!c.current)return;let I=c.current.getBoundingClientRect(),L=p.current[u].getBoundingClientRect();h({x:L.left-I.left,y:L.top-I.top,width:L.width,height:L.height});};return b(),window.addEventListener("resize",b),()=>window.removeEventListener("resize",b)},[u,d.length]),jsxRuntime.jsxs("div",{ref:c,className:i("relative flex flex-wrap gap-3 p-12 items-center justify-center",n),children:[d.map((b,I)=>{let L=I===u;return jsxRuntime.jsx("span",{ref:v=>{p.current[I]=v;},className:"text-4xl font-bold relative z-10",style:{filter:L?"blur(0px)":`blur(${a}px)`,transition:`all ${r}s ease`,color:L?"#000":"#666",transform:L?"scale(1.05)":"scale(1)"},onMouseEnter:()=>t&&(x(I),f(I)),onMouseLeave:()=>t&&f(m??0),children:b},I)}),jsxRuntime.jsx(framerMotion.motion.div,{className:"absolute pointer-events-none",animate:{x:g.x,y:g.y,width:g.width,height:g.height,opacity:u>=0?1:0},transition:{duration:r},style:{border:`2px solid ${o}`,boxShadow:`0 0 10px ${l}`,borderRadius:4}})]})}function Fi({children:e,className:t,...a}){return jsxRuntime.jsx("div",{className:i("rounded-2xl p-6","bg-white/10 dark:bg-black/10","backdrop-blur-xl","border border-white/20 dark:border-white/10","shadow-xl",t),...a,children:e})}function Hi({children:e,className:t,...a}){return jsxRuntime.jsx("div",{className:i("rounded-2xl p-6","bg-white dark:bg-zinc-900","border border-zinc-200 dark:border-zinc-800","shadow-lg","transition-all duration-300 ease-out","hover:shadow-2xl hover:-translate-y-1","hover:border-zinc-300 dark:hover:border-zinc-700",t),...a,children:e})}function Oi({frontContent:e,backContent:t,className:a}){let[o,l]=Cn.useState(false);return jsxRuntime.jsx("div",{className:i("relative w-full h-full [perspective:1000px]",a),onMouseEnter:()=>l(true),onMouseLeave:()=>l(false),children:jsxRuntime.jsxs("div",{className:i("relative w-full h-full [transform-style:preserve-3d] transition-transform duration-700",o?"[transform:rotateY(180deg)]":""),children:[jsxRuntime.jsx("div",{className:i("absolute inset-0 w-full h-full [backface-visibility:hidden]","rounded-2xl bg-white dark:bg-zinc-900","border border-zinc-200 dark:border-zinc-800","shadow-lg p-6"),children:e}),jsxRuntime.jsx("div",{className:i("absolute inset-0 w-full h-full [backface-visibility:hidden] [transform:rotateY(180deg)]","rounded-2xl bg-zinc-100 dark:bg-zinc-800","border border-zinc-200 dark:border-zinc-700","shadow-lg p-6"),children:t})]})})}function Gi({children:e,className:t,hover:a=false}){return jsxRuntime.jsx("div",{className:i("rounded-xl p-6","bg-white dark:bg-zinc-900","border border-zinc-200 dark:border-zinc-800",a&&"transition-all duration-200 hover:shadow-lg hover:-translate-y-1",t),children:e})}function Vi({children:e,className:t}){return jsxRuntime.jsx("div",{className:i("mb-4",t),children:e})}function Wi({children:e,className:t}){return jsxRuntime.jsx("h3",{className:i("text-lg font-semibold",t),children:e})}function _i({children:e,className:t}){return jsxRuntime.jsx("p",{className:i("text-sm text-zinc-500 dark:text-zinc-400",t),children:e})}function Xi({children:e,className:t}){return jsxRuntime.jsx("div",{className:i("",t),children:e})}function $i({children:e,className:t}){return jsxRuntime.jsx("div",{className:i("mt-4 pt-4 border-t border-zinc-200 dark:border-zinc-800",t),children:e})}function Ki({className:e,size:t="md"}){let a={sm:"w-1.5 h-1.5",md:"w-2.5 h-2.5",lg:"w-4 h-4"};return jsxRuntime.jsx("div",{className:i("flex items-center justify-center gap-1",e),children:[0,1,2].map(o=>jsxRuntime.jsx("div",{className:i(a[t],"rounded-full bg-current animate-bounce"),style:{animationDelay:`${o*.15}s`}},o))})}function Yi({className:e,size:t="md"}){return jsxRuntime.jsx("div",{className:i({sm:"w-4 h-4 border-2",md:"w-8 h-8 border-3",lg:"w-12 h-12 border-4"}[t],"rounded-full border-current border-t-transparent animate-spin",e)})}function Zi({className:e,color:t="bg-blue-500"}){return jsxRuntime.jsx("div",{className:i("h-1 w-full overflow-hidden rounded-full bg-zinc-200 dark:bg-zinc-800",e),children:jsxRuntime.jsx(framerMotion.motion.div,{className:i("h-full rounded-full",t),initial:{x:"-100%"},animate:{x:"100%"},transition:{repeat:1/0,duration:1.5,ease:"easeInOut"},style:{width:"50%"}})})}var ed={sm:"w-8 h-8",md:"w-12 h-12",lg:"w-16 h-16"};function ad({className:e,size:t="md",color:a="bg-blue-500"}){return jsxRuntime.jsxs("div",{className:i("relative",ed[t],e),children:[jsxRuntime.jsx(framerMotion.motion.div,{className:i("absolute inset-0 rounded-full",a),animate:{scale:[1,1.5,1],opacity:[.5,0,.5]},transition:{duration:1.5,repeat:1/0,ease:"easeInOut"}}),jsxRuntime.jsx("div",{className:i("absolute inset-2 rounded-full",a)})]})}function rd({className:e,color:t="bg-zinc-900 dark:bg-white"}){return jsxRuntime.jsx("div",{className:i("flex gap-1",e),children:[0,1,2].map(a=>jsxRuntime.jsx(framerMotion.motion.div,{className:i("w-3 h-3 rounded-full",t),animate:{y:[0,-10,0]},transition:{duration:.6,repeat:1/0,delay:a*.1,ease:"easeInOut"}},a))})}function sd({className:e=""}){return jsxRuntime.jsxs("div",{className:i("w-full h-full min-h-[400px] flex items-center justify-center",e),children:[jsxRuntime.jsx("div",{className:"relative",children:jsxRuntime.jsxs("div",{className:"flex items-center justify-center",children:[[...Array(8)].map((t,a)=>jsxRuntime.jsx("div",{className:"absolute w-3 h-3 rounded-full bg-black dark:bg-white",style:{transform:`rotate(${a*45}deg) translateY(-20px)`,animation:"flower-pulse 1.5s ease-in-out infinite",animationDelay:`${a*.1}s`}},a)),jsxRuntime.jsx("div",{className:"w-4 h-4 rounded-full bg-zinc-400"})]})}),jsxRuntime.jsx("style",{jsx:true,children:`
11
+ `})]})}function ji({end:e,start:t=0,duration:a=2e3,className:r,prefix:n="",suffix:o="",decimals:s=0}){let[l,d]=bi.useState(t);return bi.useEffect(()=>{let u=null,c,p=x=>{u||(u=x);let f=Math.min((x-u)/a,1),m=1-Math.pow(1-f,4),g=t+(e-t)*m;d(g),f<1&&(c=requestAnimationFrame(p));};return c=requestAnimationFrame(p),()=>cancelAnimationFrame(c)},[t,e,a]),jsxRuntime.jsxs("span",{className:i("tabular-nums",r),children:[n,l.toFixed(s),o]})}function ad({text:e,className:t,stagger:a=.04}){let r=Array.from(e),n={hidden:{opacity:0},visible:{opacity:1,transition:{staggerChildren:a,delayChildren:.02}}},o={hidden:{opacity:0,y:20},visible:{opacity:1,y:0,transition:{type:"spring",damping:12,stiffness:100}}};return jsxRuntime.jsx(framerMotion.motion.div,{className:i("flex overflow-hidden",t),variants:n,initial:"hidden",animate:"visible",children:r.map((s,l)=>jsxRuntime.jsx(framerMotion.motion.span,{variants:o,className:"inline-block",style:{whiteSpace:s===" "?"pre":"normal"},children:s===" "?"\xA0":s},`${s}-${l}`))})}function nd({text:e,className:t="",delay:a=100,duration:r=.6,splitType:n="chars",textAlign:o="center"}){let[s,l]=bi.useState(false),d=bi.useRef(null);bi.useEffect(()=>{if(!d.current)return;let c=new IntersectionObserver(([p])=>{p.isIntersecting&&(l(true),c.unobserve(d.current));},{threshold:.1,rootMargin:"-100px"});return c.observe(d.current),()=>c.disconnect()},[]);let u=n==="words"?e.split(" "):e.split("");return jsxRuntime.jsx("div",{ref:d,className:i("overflow-hidden",t),style:{textAlign:o},children:u.map((c,p)=>jsxRuntime.jsx(framerMotion.motion.span,{initial:{opacity:0,y:40},animate:s?{opacity:1,y:0}:{opacity:0,y:40},transition:{duration:r,delay:p*a/1e3,ease:"easeOut"},className:"inline-block",style:{marginRight:n==="words"?"0.25em":"0"},children:c===" "?"\xA0":c},p))})}function id({text:e,className:t}){let a=Array.from(e);return jsxRuntime.jsx("div",{className:i("flex",t),children:a.map((r,n)=>jsxRuntime.jsx(framerMotion.motion.span,{className:"inline-block",style:{whiteSpace:r===" "?"pre":"normal"},animate:{scaleY:[1,.5,1.5,.8,1],scaleX:[1,1.5,.5,1.2,1]},transition:{duration:1.5,repeat:1/0,delay:n*.08,ease:"easeInOut",repeatDelay:.3},children:r===" "?"\xA0":r},`${r}-${n}`))})}function ud({text:e,className:t}){let a=Array.from(e);return jsxRuntime.jsx("div",{className:i("flex",t),style:{perspective:"500px"},children:a.map((r,n)=>jsxRuntime.jsx(framerMotion.motion.span,{className:"inline-block",style:{whiteSpace:r===" "?"pre":"normal"},initial:{rotateY:90,opacity:0},animate:{rotateY:0,opacity:1},transition:{delay:n*.04,duration:.5,type:"spring",stiffness:120},whileHover:{rotateY:180,transition:{duration:.3}},children:r===" "?"\xA0":r},`${r}-${n}`))})}function fd({text:e,className:t}){let a=Array.from(e);return jsxRuntime.jsx("div",{className:i("flex",t),children:a.map((r,n)=>jsxRuntime.jsx(framerMotion.motion.span,{className:"inline-block cursor-pointer",style:{whiteSpace:r===" "?"pre":"normal"},whileHover:{scale:[1,1.5,.8,1.2,1],rotate:[0,10,-10,0],transition:{duration:.6,ease:"easeInOut"}},children:r===" "?"\xA0":r},`${r}-${n}`))})}function hd({text:e,spinDuration:t=20,onHover:a="speedUp",className:r=""}){let n=Array.from(e),o=framerMotion.useAnimation(),s=framerMotion.useMotionValue(0);bi.useEffect(()=>{let u=s.get();o.start({rotate:u+360,scale:1,transition:{rotate:{from:u,to:u+360,ease:"linear",duration:t,repeat:1/0},scale:{type:"spring",damping:20,stiffness:300}}});},[t,o,s]);let l=()=>{let u=s.get(),c=t,p=1;switch(a){case "slowDown":c=t*2;break;case "speedUp":c=t/4;break;case "pause":c=0;break;case "goBonkers":c=t/20,p=.8;break}a==="pause"?o.stop():o.start({rotate:u+360,scale:p,transition:{rotate:{from:u,to:u+360,ease:"linear",duration:c,repeat:1/0},scale:{type:"spring",damping:20,stiffness:300}}});},d=()=>{let u=s.get();o.start({rotate:u+360,scale:1,transition:{rotate:{from:u,to:u+360,ease:"linear",duration:t,repeat:1/0},scale:{type:"spring",damping:20,stiffness:300}}});};return jsxRuntime.jsx(framerMotion.motion.div,{className:i("relative w-32 h-32 cursor-pointer",r),style:{rotate:s},initial:{rotate:0},animate:o,onMouseEnter:l,onMouseLeave:d,children:n.map((u,c)=>{let p=360/n.length*c,x=60,f=p*Math.PI/180,m=Math.cos(f)*x,g=Math.sin(f)*x;return jsxRuntime.jsx("span",{className:"absolute text-lg font-bold",style:{transform:`translate(-50%, -50%) translate(${m}px, ${g}px) rotate(${p+90}deg)`,left:"50%",top:"50%"},children:u},c)})})}function vd({text:e,className:t,glowColor:a="#3b82f6",hoverColor:r="#ec4899"}){let[n,o]=bi.useState(false),s=n?r:a;return jsxRuntime.jsx(framerMotion.motion.div,{className:i("font-bold cursor-pointer select-none",t),onMouseEnter:()=>o(true),onMouseLeave:()=>o(false),animate:{color:s,textShadow:`0 0 10px ${s}, 0 0 20px ${s}, 0 0 30px ${s}, 0 0 50px ${s}`},transition:{duration:.4,ease:"easeInOut"},children:e})}function yd({text:e="Sliced Text",className:t="",containerClassName:a="",splitSpacing:r=2}){return jsxRuntime.jsxs(framerMotion.motion.div,{className:i("w-full text-center relative inline-block",a),whileHover:"hover",initial:"default",children:[jsxRuntime.jsx(framerMotion.motion.div,{className:i("absolute w-full text-4xl -ml-0.5",t),variants:{default:{clipPath:"inset(0 0 50% 0)",y:-r/2,opacity:1},hover:{clipPath:"inset(0 0 0 0)",y:0,opacity:0}},transition:{duration:.1},children:e}),jsxRuntime.jsx(framerMotion.motion.div,{className:i("absolute w-full text-4xl",t),variants:{default:{clipPath:"inset(50% 0 0 0)",y:r/2,opacity:1},hover:{clipPath:"inset(0 0 0 0)",y:0,opacity:1}},transition:{duration:.1},children:e}),jsxRuntime.jsx("div",{className:i("invisible text-4xl",t),children:e})]})}function Sd({text:e,speed:t=50,maxIterations:a=10,sequential:r=false,revealDirection:n="start",useOriginalCharsOnly:o=false,characters:s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz!@#$%^&*()_+",className:l="",parentClassName:d="",encryptedClassName:u="",animateOn:c="hover",...p}){let[x,f]=bi.useState(e),[m,g]=bi.useState(false),[h,L]=bi.useState(false),[v,b]=bi.useState(new Set),[I,y]=bi.useState(false),w=bi.useRef(null);bi.useEffect(()=>{let N,S=0,R=k=>{let P=e.length;switch(n){case "start":return k.size;case "end":return P-1-k.size;case "center":{let T=Math.floor(P/2),M=Math.floor(k.size/2),z=k.size%2===0?T+M:T-M-1;if(z>=0&&z<P&&!k.has(z))return z;for(let F=0;F<P;F++)if(!k.has(F))return F;return 0}default:return k.size}},A=o?Array.from(new Set(e.split(""))).filter(k=>k!==" "):s.split(""),D=(k,P)=>{if(o){let T=k.split("").map((F,_)=>({char:F,isSpace:F===" ",index:_,isRevealed:P.has(_)})),M=T.filter(F=>!F.isSpace&&!F.isRevealed).map(F=>F.char);for(let F=M.length-1;F>0;F--){let _=Math.floor(Math.random()*(F+1));[M[F],M[_]]=[M[_],M[F]];}let z=0;return T.map(F=>F.isSpace?" ":F.isRevealed?k[F.index]:M[z++]).join("")}else return k.split("").map((T,M)=>T===" "?" ":P.has(M)?k[M]:A[Math.floor(Math.random()*A.length)]).join("")};return m?(L(true),N=setInterval(()=>{b(k=>{if(r)if(k.size<e.length){let P=R(k),T=new Set(k);return T.add(P),f(D(e,T)),T}else return clearInterval(N),L(false),k;else return f(D(e,k)),S++,S>=a&&(clearInterval(N),L(false),f(e)),k});},t)):(f(e),b(new Set),L(false)),()=>{N&&clearInterval(N);}},[m,e,t,a,r,n,s,o]),bi.useEffect(()=>{if(c!=="view"&&c!=="both")return;let N=A=>{A.forEach(D=>{D.isIntersecting&&!I&&(g(true),y(true));});},S=new IntersectionObserver(N,{threshold:.1}),R=w.current;return R&&S.observe(R),()=>{R&&S.unobserve(R);}},[c,I]);let C=c==="hover"||c==="both"?{onMouseEnter:()=>g(true),onMouseLeave:()=>g(false)}:{};return jsxRuntime.jsxs(framerMotion.motion.span,{className:d,ref:w,style:{display:"inline-block",whiteSpace:"pre-wrap"},...C,...p,children:[jsxRuntime.jsx("span",{className:"sr-only",children:x}),jsxRuntime.jsx("span",{"aria-hidden":"true",children:x.split("").map((N,S)=>{let R=v.has(S)||!h||!m;return jsxRuntime.jsx("span",{className:R?l:u,children:N},S)})})]})}function Md({sentence:e="True Focus",manualMode:t=false,blurAmount:a=5,borderColor:r="green",glowColor:n="rgba(0, 255, 0, 0.6)",animationDuration:o=.5,pauseBetweenAnimations:s=1,className:l}){let d=e.split(" "),[u,c]=bi.useState(0),[p,x]=bi.useState(null),f=bi.useRef(null),m=bi.useRef([]),[g,h]=bi.useState({x:0,y:0,width:0,height:0});return bi.useEffect(()=>{if(!t){let L=setInterval(()=>{c(v=>(v+1)%d.length);},(o+s)*1e3);return ()=>clearInterval(L)}},[t,o,s,d.length]),bi.useEffect(()=>{let L=()=>{if(u===null||u===-1||!m.current[u]||!f.current)return;let v=f.current.getBoundingClientRect(),b=m.current[u].getBoundingClientRect();h({x:b.left-v.left,y:b.top-v.top,width:b.width,height:b.height});};return L(),window.addEventListener("resize",L),()=>window.removeEventListener("resize",L)},[u,d.length]),jsxRuntime.jsxs("div",{ref:f,className:i("relative flex flex-wrap gap-3 p-12 items-center justify-center",l),children:[d.map((L,v)=>{let b=v===u;return jsxRuntime.jsx("span",{ref:I=>{m.current[v]=I;},className:"text-4xl font-bold relative z-10",style:{filter:b?"blur(0px)":`blur(${a}px)`,transition:`all ${o}s ease`,color:b?"#000":"#666",transform:b?"scale(1.05)":"scale(1)"},onMouseEnter:()=>t&&(x(v),c(v)),onMouseLeave:()=>t&&c(p??0),children:L},v)}),jsxRuntime.jsx(framerMotion.motion.div,{className:"absolute pointer-events-none",animate:{x:g.x,y:g.y,width:g.width,height:g.height,opacity:u>=0?1:0},transition:{duration:o},style:{border:`2px solid ${r}`,boxShadow:`0 0 10px ${n}`,borderRadius:4}})]})}function Rd({children:e,className:t,...a}){return jsxRuntime.jsx("div",{className:i("rounded-2xl p-6","bg-white/10 dark:bg-black/10","backdrop-blur-xl","border border-white/20 dark:border-white/10","shadow-xl",t),...a,children:e})}function Bd({children:e,className:t,...a}){return jsxRuntime.jsx("div",{className:i("rounded-2xl p-6","bg-white dark:bg-zinc-900","border border-zinc-200 dark:border-zinc-800","shadow-lg","transition-all duration-300 ease-out","hover:shadow-2xl hover:-translate-y-1","hover:border-zinc-300 dark:hover:border-zinc-700",t),...a,children:e})}function zd({frontContent:e,backContent:t,className:a}){let[r,n]=bi.useState(false);return jsxRuntime.jsx("div",{className:i("relative w-full h-full [perspective:1000px]",a),onMouseEnter:()=>n(true),onMouseLeave:()=>n(false),children:jsxRuntime.jsxs("div",{className:i("relative w-full h-full [transform-style:preserve-3d] transition-transform duration-700",r?"[transform:rotateY(180deg)]":""),children:[jsxRuntime.jsx("div",{className:i("absolute inset-0 w-full h-full [backface-visibility:hidden]","rounded-2xl bg-white dark:bg-zinc-900","border border-zinc-200 dark:border-zinc-800","shadow-lg p-6"),children:e}),jsxRuntime.jsx("div",{className:i("absolute inset-0 w-full h-full [backface-visibility:hidden] [transform:rotateY(180deg)]","rounded-2xl bg-zinc-100 dark:bg-zinc-800","border border-zinc-200 dark:border-zinc-700","shadow-lg p-6"),children:t})]})})}function Ed({children:e,className:t,hover:a=false}){return jsxRuntime.jsx("div",{className:i("rounded-xl p-6","bg-white dark:bg-zinc-900","border border-zinc-200 dark:border-zinc-800",a&&"transition-all duration-200 hover:shadow-lg hover:-translate-y-1",t),children:e})}function qd({children:e,className:t}){return jsxRuntime.jsx("div",{className:i("mb-4",t),children:e})}function Od({children:e,className:t}){return jsxRuntime.jsx("h3",{className:i("text-lg font-semibold",t),children:e})}function Ud({children:e,className:t}){return jsxRuntime.jsx("p",{className:i("text-sm text-zinc-500 dark:text-zinc-400",t),children:e})}function Gd({children:e,className:t}){return jsxRuntime.jsx("div",{className:i("",t),children:e})}function Vd({children:e,className:t}){return jsxRuntime.jsx("div",{className:i("mt-4 pt-4 border-t border-zinc-200 dark:border-zinc-800",t),children:e})}function Wd({className:e,size:t="md"}){let a={sm:"w-1.5 h-1.5",md:"w-2.5 h-2.5",lg:"w-4 h-4"};return jsxRuntime.jsx("div",{className:i("flex items-center justify-center gap-1",e),children:[0,1,2].map(r=>jsxRuntime.jsx("div",{className:i(a[t],"rounded-full bg-current animate-bounce"),style:{animationDelay:`${r*.15}s`}},r))})}function _d({className:e,size:t="md"}){return jsxRuntime.jsx("div",{className:i({sm:"w-4 h-4 border-2",md:"w-8 h-8 border-3",lg:"w-12 h-12 border-4"}[t],"rounded-full border-current border-t-transparent animate-spin",e)})}function Yd({className:e,color:t="bg-blue-500"}){return jsxRuntime.jsx("div",{className:i("h-1 w-full overflow-hidden rounded-full bg-zinc-200 dark:bg-zinc-800",e),children:jsxRuntime.jsx(framerMotion.motion.div,{className:i("h-full rounded-full",t),initial:{x:"-100%"},animate:{x:"100%"},transition:{repeat:1/0,duration:1.5,ease:"easeInOut"},style:{width:"50%"}})})}var Jd={sm:"w-8 h-8",md:"w-12 h-12",lg:"w-16 h-16"};function Qd({className:e,size:t="md",color:a="bg-blue-500"}){return jsxRuntime.jsxs("div",{className:i("relative",Jd[t],e),children:[jsxRuntime.jsx(framerMotion.motion.div,{className:i("absolute inset-0 rounded-full",a),animate:{scale:[1,1.5,1],opacity:[.5,0,.5]},transition:{duration:1.5,repeat:1/0,ease:"easeInOut"}}),jsxRuntime.jsx("div",{className:i("absolute inset-2 rounded-full",a)})]})}function eu({className:e,color:t="bg-zinc-900 dark:bg-white"}){return jsxRuntime.jsx("div",{className:i("flex gap-1",e),children:[0,1,2].map(a=>jsxRuntime.jsx(framerMotion.motion.div,{className:i("w-3 h-3 rounded-full",t),animate:{y:[0,-10,0]},transition:{duration:.6,repeat:1/0,delay:a*.1,ease:"easeInOut"}},a))})}function au({className:e=""}){return jsxRuntime.jsxs("div",{className:i("w-full h-full min-h-[400px] flex items-center justify-center",e),children:[jsxRuntime.jsx("div",{className:"relative",children:jsxRuntime.jsxs("div",{className:"flex items-center justify-center",children:[[...Array(8)].map((t,a)=>jsxRuntime.jsx("div",{className:"absolute w-3 h-3 rounded-full bg-black dark:bg-white",style:{transform:`rotate(${a*45}deg) translateY(-20px)`,animation:"flower-pulse 1.5s ease-in-out infinite",animationDelay:`${a*.1}s`}},a)),jsxRuntime.jsx("div",{className:"w-4 h-4 rounded-full bg-zinc-400"})]})}),jsxRuntime.jsx("style",{jsx:true,children:`
12
12
  @keyframes flower-pulse {
13
13
  0%, 100% { opacity: 0.3; scale: 0.8; }
14
14
  50% { opacity: 1; scale: 1.2; }
15
15
  }
16
- `})]})}function ld({className:e=""}){return jsxRuntime.jsxs("div",{className:i("w-full h-full min-h-[400px] flex items-center justify-center",e),children:[jsxRuntime.jsx("div",{className:"flex justify-center items-center",children:jsxRuntime.jsxs("div",{className:"w-36 h-36 flex justify-center items-center relative",children:[jsxRuntime.jsx("div",{className:"w-4 h-16 absolute bg-zinc-600 dark:bg-zinc-400 animate-[move-h_1.2s_infinite_cubic-bezier(0.65,0.05,0.36,1)]"}),jsxRuntime.jsx("div",{className:"w-4 h-16 absolute bg-zinc-800 dark:bg-zinc-200 rotate-90 animate-[move-v_1.2s_infinite_cubic-bezier(0.65,0.05,0.36,1)]"}),jsxRuntime.jsx("div",{className:"absolute top-4 left-5 font-black text-lg text-black dark:text-white animate-[rot_0.8s_infinite_cubic-bezier(0.65,0.05,0.36,1)]",children:"X"}),jsxRuntime.jsx("div",{className:"absolute bottom-0 right-0 font-black text-3xl text-black dark:text-white animate-[scale_0.8s_infinite_cubic-bezier(0.65,0.05,0.36,1)]",children:"*"})]})}),jsxRuntime.jsx("style",{jsx:true,children:`
16
+ `})]})}function tu({className:e=""}){return jsxRuntime.jsxs("div",{className:i("w-full h-full min-h-[400px] flex items-center justify-center",e),children:[jsxRuntime.jsx("div",{className:"flex justify-center items-center",children:jsxRuntime.jsxs("div",{className:"w-36 h-36 flex justify-center items-center relative",children:[jsxRuntime.jsx("div",{className:"w-4 h-16 absolute bg-zinc-600 dark:bg-zinc-400 animate-[move-h_1.2s_infinite_cubic-bezier(0.65,0.05,0.36,1)]"}),jsxRuntime.jsx("div",{className:"w-4 h-16 absolute bg-zinc-800 dark:bg-zinc-200 rotate-90 animate-[move-v_1.2s_infinite_cubic-bezier(0.65,0.05,0.36,1)]"}),jsxRuntime.jsx("div",{className:"absolute top-4 left-5 font-black text-lg text-black dark:text-white animate-[rot_0.8s_infinite_cubic-bezier(0.65,0.05,0.36,1)]",children:"X"}),jsxRuntime.jsx("div",{className:"absolute bottom-0 right-0 font-black text-3xl text-black dark:text-white animate-[scale_0.8s_infinite_cubic-bezier(0.65,0.05,0.36,1)]",children:"*"})]})}),jsxRuntime.jsx("style",{jsx:true,children:`
17
17
  @keyframes move-h { 0% { top: 0; opacity: 0; } 25% { opacity: 1; } 50% { top: 30%; opacity: 1; } 75% { opacity: 1; } 100% { top: 100%; opacity: 0; } }
18
18
  @keyframes move-v { 0% { left: 0; opacity: 0; } 25% { opacity: 1; } 50% { left: 45%; opacity: 1; } 75% { opacity: 1; } 100% { left: 100%; opacity: 0; } }
19
19
  @keyframes rot { 0% { transform: rotate(0deg); } 50% { transform: rotate(180deg); } 100% { transform: rotate(360deg); } }
20
20
  @keyframes scale { 0% { scale: 1; } 50% { scale: 1.9; } 100% { scale: 1; } }
21
- `})]})}function nd({className:e=""}){return jsxRuntime.jsx("div",{className:i("w-full h-full min-h-[400px] flex items-center justify-center",e),children:jsxRuntime.jsx("div",{className:"w-20 h-20 rounded-full border-8 border-transparent border-t-black dark:border-t-white border-r-zinc-600 dark:border-r-zinc-400 border-b-zinc-400 dark:border-b-zinc-600 border-l-zinc-200 dark:border-l-zinc-800 animate-[morph_2s_ease-in-out_infinite,rotate-color_2s_linear_infinite]",children:jsxRuntime.jsx("style",{jsx:true,children:`
21
+ `})]})}function ru({className:e=""}){return jsxRuntime.jsx("div",{className:i("w-full h-full min-h-[400px] flex items-center justify-center",e),children:jsxRuntime.jsx("div",{className:"w-20 h-20 rounded-full border-8 border-transparent border-t-black dark:border-t-white border-r-zinc-600 dark:border-r-zinc-400 border-b-zinc-400 dark:border-b-zinc-600 border-l-zinc-200 dark:border-l-zinc-800 animate-[morph_2s_ease-in-out_infinite,rotate-color_2s_linear_infinite]",children:jsxRuntime.jsx("style",{jsx:true,children:`
22
22
  @keyframes rotate-color { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
23
23
  @keyframes morph { 0%, 100% { border-radius: 50%; width: 80px; height: 80px; } 50% { border-radius: 10%; width: 100px; height: 100px; } }
24
- `})})})}function id({className:e=""}){return jsxRuntime.jsx("div",{className:i("w-full h-full min-h-[400px] flex items-center justify-center",e),children:jsxRuntime.jsxs("div",{className:"w-16 h-16",children:[jsxRuntime.jsx("div",{className:"box-border w-full h-full border-[10px] border-zinc-300 dark:border-zinc-800 border-t-zinc-700 dark:border-t-zinc-200 border-b-zinc-500 rounded-full animate-[rotate_5s_linear_infinite]",children:jsxRuntime.jsx("div",{className:"box-border w-full h-full border-[10px] border-zinc-300 dark:border-zinc-800 border-t-zinc-600 dark:border-t-zinc-400 border-b-black dark:border-b-white rounded-full animate-[rotate_2.5s_linear_infinite]"})}),jsxRuntime.jsx("style",{jsx:true,children:`
24
+ `})})})}function ou({className:e=""}){return jsxRuntime.jsx("div",{className:i("w-full h-full min-h-[400px] flex items-center justify-center",e),children:jsxRuntime.jsxs("div",{className:"w-16 h-16",children:[jsxRuntime.jsx("div",{className:"box-border w-full h-full border-[10px] border-zinc-300 dark:border-zinc-800 border-t-zinc-700 dark:border-t-zinc-200 border-b-zinc-500 rounded-full animate-[rotate_5s_linear_infinite]",children:jsxRuntime.jsx("div",{className:"box-border w-full h-full border-[10px] border-zinc-300 dark:border-zinc-800 border-t-zinc-600 dark:border-t-zinc-400 border-b-black dark:border-b-white rounded-full animate-[rotate_2.5s_linear_infinite]"})}),jsxRuntime.jsx("style",{jsx:true,children:`
25
25
  @keyframes rotate { 0% { transform: scale(1) rotate(360deg); } 50% { transform: scale(0.8) rotate(-360deg); } 100% { transform: scale(1) rotate(360deg); } }
26
- `})]})})}function ud({text:e="loading",className:t=""}){return jsxRuntime.jsx("div",{className:i("w-full h-full min-h-[400px] flex items-center justify-center",t),children:jsxRuntime.jsxs("div",{className:"relative w-20 h-12",children:[jsxRuntime.jsx("span",{className:"absolute top-0 left-0 m-0 p-0 text-black dark:text-white text-sm tracking-wider animate-[loading-text_3.5s_ease_both_infinite]",children:e}),jsxRuntime.jsx("span",{className:"absolute bottom-0 left-0 block h-4 w-4 rounded-full bg-black dark:bg-white animate-[loading-bar_3.5s_ease_both_infinite]",children:jsxRuntime.jsx("span",{className:"absolute inset-0 rounded-full bg-zinc-400 dark:bg-zinc-500 animate-[loading-bar-before_3.5s_ease_both_infinite]"})}),jsxRuntime.jsx("style",{jsx:true,children:`
26
+ `})]})})}function nu({text:e="loading",className:t=""}){return jsxRuntime.jsx("div",{className:i("w-full h-full min-h-[400px] flex items-center justify-center",t),children:jsxRuntime.jsxs("div",{className:"relative w-20 h-12",children:[jsxRuntime.jsx("span",{className:"absolute top-0 left-0 m-0 p-0 text-black dark:text-white text-sm tracking-wider animate-[loading-text_3.5s_ease_both_infinite]",children:e}),jsxRuntime.jsx("span",{className:"absolute bottom-0 left-0 block h-4 w-4 rounded-full bg-black dark:bg-white animate-[loading-bar_3.5s_ease_both_infinite]",children:jsxRuntime.jsx("span",{className:"absolute inset-0 rounded-full bg-zinc-400 dark:bg-zinc-500 animate-[loading-bar-before_3.5s_ease_both_infinite]"})}),jsxRuntime.jsx("style",{jsx:true,children:`
27
27
  @keyframes loading-text { 0% { letter-spacing: 1px; transform: translateX(0px); } 40% { letter-spacing: 2px; transform: translateX(26px); } 80% { letter-spacing: 1px; transform: translateX(32px); } 90% { letter-spacing: 2px; transform: translateX(0px); } 100% { letter-spacing: 1px; transform: translateX(0px); } }
28
28
  @keyframes loading-bar { 0% { width: 16px; transform: translateX(0px); } 40% { width: 100%; transform: translateX(0px); } 80% { width: 16px; transform: translateX(64px); } 90% { width: 100%; transform: translateX(0px); } 100% { width: 16px; transform: translateX(0px); } }
29
29
  @keyframes loading-bar-before { 0% { transform: translateX(0px); width: 16px; } 40% { transform: translateX(0%); width: 80%; } 80% { width: 100%; transform: translateX(0px); } 90% { width: 80%; transform: translateX(15px); } 100% { transform: translateX(0px); width: 16px; } }
30
- `})]})})}function cd({words:e=["buttons","forms","switches","cards","loaders"],className:t=""}){return jsxRuntime.jsxs("div",{className:i("w-full h-full min-h-[400px] flex items-center justify-center",t),children:[jsxRuntime.jsxs("div",{className:"text-zinc-400 dark:text-zinc-500 font-medium text-2xl box-border h-10 px-2.5 py-2 flex items-center rounded-lg",children:[jsxRuntime.jsx("span",{className:"mr-2",children:"loading"}),jsxRuntime.jsxs("div",{className:"overflow-hidden relative h-full",children:[jsxRuntime.jsx("div",{className:"absolute inset-0 bg-gradient-to-b from-white via-transparent to-white dark:from-zinc-950 dark:via-transparent dark:to-zinc-950 z-10"}),e.map((a,o)=>jsxRuntime.jsx("span",{className:"block h-full pl-1.5 text-black dark:text-white animate-[spin-words_4s_infinite]",style:{animationDelay:`${o*.8}s`},children:a},o))]})]}),jsxRuntime.jsx("style",{jsx:true,children:`
30
+ `})]})})}function iu({words:e=["buttons","forms","switches","cards","loaders"],className:t=""}){return jsxRuntime.jsxs("div",{className:i("w-full h-full min-h-[400px] flex items-center justify-center",t),children:[jsxRuntime.jsxs("div",{className:"text-zinc-400 dark:text-zinc-500 font-medium text-2xl box-border h-10 px-2.5 py-2 flex items-center rounded-lg",children:[jsxRuntime.jsx("span",{className:"mr-2",children:"loading"}),jsxRuntime.jsxs("div",{className:"overflow-hidden relative h-full",children:[jsxRuntime.jsx("div",{className:"absolute inset-0 bg-gradient-to-b from-white via-transparent to-white dark:from-zinc-950 dark:via-transparent dark:to-zinc-950 z-10"}),e.map((a,r)=>jsxRuntime.jsx("span",{className:"block h-full pl-1.5 text-black dark:text-white animate-[spin-words_4s_infinite]",style:{animationDelay:`${r*.8}s`},children:a},r))]})]}),jsxRuntime.jsx("style",{jsx:true,children:`
31
31
  @keyframes spin-words { 10% { transform: translateY(-102%); } 25% { transform: translateY(-100%); } 35% { transform: translateY(-202%); } 50% { transform: translateY(-200%); } 60% { transform: translateY(-302%); } 75% { transform: translateY(-300%); } 85% { transform: translateY(-402%); } 100% { transform: translateY(-400%); } }
32
- `})]})}function bd({className:e,children:t,delay:a=1e3}){let[o,l]=Cn.useState(0),r=Cn__default.default.Children.toArray(t);Cn.useEffect(()=>{let n=setInterval(()=>{l(d=>(d+1)%r.length);},a);return ()=>clearInterval(n)},[r.length,a]);let s=Cn.useMemo(()=>r.slice(0,o+1).reverse(),[o,r]);return jsxRuntime.jsx("div",{className:i("flex flex-col items-center gap-4",e),children:jsxRuntime.jsx(framerMotion.AnimatePresence,{children:s.map((n,d)=>jsxRuntime.jsx(gr,{children:n},d))})})}function gr({children:e}){return jsxRuntime.jsx(framerMotion.motion.div,{initial:{scale:0,opacity:0},animate:{scale:1,opacity:1},exit:{scale:0,opacity:0},transition:{type:"spring",stiffness:350,damping:40},layout:true,className:"mx-auto w-full",children:e})}function Id({className:e,variant:t="text",width:a,height:o}){return jsxRuntime.jsx("div",{className:i("animate-pulse bg-zinc-200 dark:bg-zinc-800",{text:"h-4 rounded",circular:"rounded-full",rectangular:"rounded-lg"}[t],e),style:{width:a,height:o}})}function Sd({children:e,content:t,position:a="top",className:o}){let[l,r]=Cn.useState(false),s={top:"bottom-full left-1/2 -translate-x-1/2 mb-2",bottom:"top-full left-1/2 -translate-x-1/2 mt-2",left:"right-full top-1/2 -translate-y-1/2 mr-2",right:"left-full top-1/2 -translate-y-1/2 ml-2"},n={top:{initial:{opacity:0,y:5},animate:{opacity:1,y:0}},bottom:{initial:{opacity:0,y:-5},animate:{opacity:1,y:0}},left:{initial:{opacity:0,x:5},animate:{opacity:1,x:0}},right:{initial:{opacity:0,x:-5},animate:{opacity:1,x:0}}};return jsxRuntime.jsxs("div",{className:"relative inline-block",onMouseEnter:()=>r(true),onMouseLeave:()=>r(false),children:[e,jsxRuntime.jsx(framerMotion.AnimatePresence,{children:l&&jsxRuntime.jsx(framerMotion.motion.div,{className:i("absolute z-50 px-2 py-1 text-sm text-white bg-zinc-900 dark:bg-zinc-100 dark:text-zinc-900 rounded whitespace-nowrap",s[a],o),initial:n[a].initial,animate:n[a].animate,exit:n[a].initial,transition:{duration:.15},children:t})})]})}function Ad({content:e,children:t,position:a="top",delay:o=300,className:l}){let[r,s]=Cn.useState(false),n=Cn.useRef(void 0),d=()=>{n.current=setTimeout(()=>s(true),o);},u=()=>{n.current&&clearTimeout(n.current),s(false);},f=()=>({top:"bottom-full left-1/2 -translate-x-1/2 mb-2",bottom:"top-full left-1/2 -translate-x-1/2 mt-2",left:"right-full top-1/2 -translate-y-1/2 mr-2",right:"left-full top-1/2 -translate-y-1/2 ml-2"})[a];return jsxRuntime.jsxs("div",{className:i("relative inline-block",l),onMouseEnter:d,onMouseLeave:u,children:[t,jsxRuntime.jsx(framerMotion.AnimatePresence,{children:r&&jsxRuntime.jsx(framerMotion.motion.div,{initial:{opacity:0,scale:.95},animate:{opacity:1,scale:1},exit:{opacity:0,scale:.95},transition:{duration:.15},className:i("absolute z-50 px-3 py-2 text-sm bg-popover border border-border rounded-lg shadow-md whitespace-nowrap",f()),children:e})})]})}function Hd({content:e,children:t,position:a="top",delay:o=200,animation:l="slide",className:r}){let[s,n]=Cn.useState(false),d=Cn.useRef(void 0),u=()=>{d.current=setTimeout(()=>n(true),o);},f=()=>{d.current&&clearTimeout(d.current),n(false);},m=()=>({top:"bottom-full left-1/2 -translate-x-1/2 mb-3",bottom:"top-full left-1/2 -translate-x-1/2 mt-3",left:"right-full top-1/2 -translate-y-1/2 mr-3",right:"left-full top-1/2 -translate-y-1/2 ml-3"})[a],x=()=>{let p={top:{y:10},bottom:{y:-10},left:{x:10},right:{x:-10}},{x:g=0,y:h=0}=p[a];return {...{fade:{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0}},scale:{initial:{opacity:0,scale:.8},animate:{opacity:1,scale:1},exit:{opacity:0,scale:.8}},bounce:{initial:{opacity:0,scale:.3,y:a==="top"?10:-10},animate:{opacity:1,scale:1,y:0},exit:{opacity:0,scale:.3,y:a==="top"?10:-10}},slide:{initial:{opacity:0,x:g,y:h},animate:{opacity:1,x:0,y:0},exit:{opacity:0,x:g,y:h}}}[l],transition:{type:"spring",stiffness:300,damping:25}}};return jsxRuntime.jsxs("div",{className:i("relative inline-block",r),onMouseEnter:u,onMouseLeave:f,children:[t,jsxRuntime.jsx(framerMotion.AnimatePresence,{children:s&&jsxRuntime.jsx(framerMotion.motion.div,{...x(),className:i("absolute z-50 px-4 py-2 text-sm bg-popover border border-border rounded-xl shadow-lg whitespace-nowrap backdrop-blur-sm",m()),children:e})})]})}var Ed={default:"bg-zinc-100 text-zinc-900 dark:bg-zinc-800 dark:text-zinc-100",success:"bg-green-100 text-green-800 dark:bg-green-900/30 dark:text-green-400",warning:"bg-yellow-100 text-yellow-800 dark:bg-yellow-900/30 dark:text-yellow-400",danger:"bg-red-100 text-red-800 dark:bg-red-900/30 dark:text-red-400",info:"bg-blue-100 text-blue-800 dark:bg-blue-900/30 dark:text-blue-400"},Od={sm:"px-2 py-0.5 text-xs",md:"px-2.5 py-1 text-sm",lg:"px-3 py-1.5 text-base"};function Ud({children:e,variant:t="default",size:a="md",className:o}){return jsxRuntime.jsx("span",{className:i("inline-flex items-center font-medium rounded-full",Ed[t],Od[a],o),children:e})}var Vd={sm:"w-8 h-8 text-xs",md:"w-10 h-10 text-sm",lg:"w-12 h-12 text-base",xl:"w-16 h-16 text-lg"};function Wd({src:e,alt:t="",fallback:a,size:o="md",className:l}){let r=a||t.split(" ").map(s=>s[0]).join("").slice(0,2).toUpperCase();return jsxRuntime.jsx("div",{className:i("relative inline-flex items-center justify-center rounded-full bg-zinc-200 dark:bg-zinc-800 overflow-hidden",Vd[o],l),children:e?jsxRuntime.jsx("img",{src:e,alt:t,className:"w-full h-full object-cover"}):jsxRuntime.jsx("span",{className:"font-medium text-zinc-600 dark:text-zinc-400",children:r})})}function Xd({value:e,max:t=100,className:a,color:o="bg-blue-500",showLabel:l=false}){let r=Math.min(Math.max(e/t*100,0),100);return jsxRuntime.jsxs("div",{className:i("w-full",a),children:[jsxRuntime.jsx("div",{className:"h-2 w-full overflow-hidden rounded-full bg-zinc-200 dark:bg-zinc-800",children:jsxRuntime.jsx(framerMotion.motion.div,{className:i("h-full rounded-full",o),initial:{width:0},animate:{width:`${r}%`},transition:{duration:.5,ease:"easeOut"}})}),l&&jsxRuntime.jsxs("span",{className:"mt-1 text-sm text-zinc-600 dark:text-zinc-400",children:[Math.round(r),"%"]})]})}var Kd={sm:{track:"w-8 h-4",thumb:"w-3 h-3",translate:16},md:{track:"w-11 h-6",thumb:"w-5 h-5",translate:20},lg:{track:"w-14 h-7",thumb:"w-6 h-6",translate:28}};function Yd({checked:e=false,onChange:t,disabled:a=false,size:o="md",className:l}){let r=Kd[o];return jsxRuntime.jsx("button",{type:"button",role:"switch","aria-checked":e,disabled:a,onClick:()=>t?.(!e),className:i("relative inline-flex shrink-0 cursor-pointer rounded-full transition-colors",e?"bg-blue-500":"bg-zinc-300 dark:bg-zinc-700",a&&"opacity-50 cursor-not-allowed",r.track,l),children:jsxRuntime.jsx(framerMotion.motion.span,{className:i("pointer-events-none inline-block rounded-full bg-white shadow-lg",r.thumb),animate:{x:e?r.translate:2},transition:{type:"spring",stiffness:500,damping:30},style:{marginTop:2}})})}function Zd({items:e,className:t,allowMultiple:a=false}){let[o,l]=Cn.useState([]),r=s=>{l(a?n=>n.includes(s)?n.filter(d=>d!==s):[...n,s]:n=>n.includes(s)?[]:[s]);};return jsxRuntime.jsx("div",{className:i("w-full space-y-2",t),children:e.map((s,n)=>jsxRuntime.jsxs("div",{className:"border border-zinc-200 dark:border-zinc-800 rounded-lg overflow-hidden",children:[jsxRuntime.jsxs("button",{onClick:()=>r(n),className:"w-full px-4 py-3 flex items-center justify-between text-left bg-zinc-50 dark:bg-zinc-900 hover:bg-zinc-100 dark:hover:bg-zinc-800 transition-colors",children:[jsxRuntime.jsx("span",{className:"font-medium",children:s.title}),jsxRuntime.jsx(framerMotion.motion.svg,{animate:{rotate:o.includes(n)?180:0},transition:{duration:.2},className:"w-5 h-5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:jsxRuntime.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M19 9l-7 7-7-7"})})]}),jsxRuntime.jsx(framerMotion.AnimatePresence,{children:o.includes(n)&&jsxRuntime.jsx(framerMotion.motion.div,{initial:{height:0,opacity:0},animate:{height:"auto",opacity:1},exit:{height:0,opacity:0},transition:{duration:.2},children:jsxRuntime.jsx("div",{className:"px-4 py-3 bg-white dark:bg-zinc-950",children:s.content})})})]},n))})}function eu({tabs:e,className:t,defaultIndex:a=0}){let[o,l]=Cn.useState(a);return jsxRuntime.jsxs("div",{className:i("w-full",t),children:[jsxRuntime.jsx("div",{className:"relative flex border-b border-zinc-200 dark:border-zinc-800",children:e.map((r,s)=>jsxRuntime.jsxs("button",{onClick:()=>l(s),className:i("px-4 py-2 text-sm font-medium transition-colors relative",o===s?"text-zinc-900 dark:text-white":"text-zinc-500 hover:text-zinc-700 dark:text-zinc-400 dark:hover:text-zinc-200"),children:[r.label,o===s&&jsxRuntime.jsx(framerMotion.motion.div,{layoutId:"activeTab",className:"absolute bottom-0 left-0 right-0 h-0.5 bg-zinc-900 dark:bg-white",transition:{type:"spring",stiffness:500,damping:30}})]},s))}),jsxRuntime.jsx(framerMotion.motion.div,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},transition:{duration:.2},className:"py-4",children:e[o].content},o)]})}function ou({isOpen:e,onClose:t,children:a,className:o,title:l}){return Cn.useEffect(()=>{let r=s=>{s.key==="Escape"&&t();};return e&&(document.addEventListener("keydown",r),document.body.style.overflow="hidden"),()=>{document.removeEventListener("keydown",r),document.body.style.overflow="unset";}},[e,t]),jsxRuntime.jsx(framerMotion.AnimatePresence,{children:e&&jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[jsxRuntime.jsx(framerMotion.motion.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},onClick:t,className:"fixed inset-0 bg-black/50 z-50"}),jsxRuntime.jsxs(framerMotion.motion.div,{initial:{opacity:0,scale:.95,y:20},animate:{opacity:1,scale:1,y:0},exit:{opacity:0,scale:.95,y:20},transition:{type:"spring",damping:25,stiffness:300},className:i("fixed left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2 z-50","w-full max-w-md p-6 rounded-xl","bg-white dark:bg-zinc-900","shadow-xl",o),children:[l&&jsxRuntime.jsxs("div",{className:"flex items-center justify-between mb-4",children:[jsxRuntime.jsx("h2",{className:"text-lg font-semibold",children:l}),jsxRuntime.jsx("button",{onClick:t,className:"p-1 rounded-lg hover:bg-zinc-100 dark:hover:bg-zinc-800 transition-colors",children:jsxRuntime.jsx("svg",{className:"w-5 h-5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:jsxRuntime.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M6 18L18 6M6 6l12 12"})})})]}),a]})]})})}function nu({isOpen:e,onClose:t,children:a,className:o,position:l="right"}){Cn.useEffect(()=>{let n=d=>{d.key==="Escape"&&t();};return e&&(document.addEventListener("keydown",n),document.body.style.overflow="hidden"),()=>{document.removeEventListener("keydown",n),document.body.style.overflow="unset";}},[e,t]);let r={left:{initial:{x:"-100%"},animate:{x:0},exit:{x:"-100%"}},right:{initial:{x:"100%"},animate:{x:0},exit:{x:"100%"}},bottom:{initial:{y:"100%"},animate:{y:0},exit:{y:"100%"}}},s={left:"left-0 top-0 h-full w-80",right:"right-0 top-0 h-full w-80",bottom:"bottom-0 left-0 right-0 h-auto max-h-[80vh]"};return jsxRuntime.jsx(framerMotion.AnimatePresence,{children:e&&jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[jsxRuntime.jsx(framerMotion.motion.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},onClick:t,className:"fixed inset-0 bg-black/50 z-50"}),jsxRuntime.jsxs(framerMotion.motion.div,{initial:r[l].initial,animate:r[l].animate,exit:r[l].exit,transition:{type:"spring",damping:25,stiffness:300},className:i("fixed z-50 p-6","bg-white dark:bg-zinc-900","shadow-xl",s[l],o),children:[jsxRuntime.jsx("button",{onClick:t,className:"absolute top-4 right-4 p-1 rounded-lg hover:bg-zinc-100 dark:hover:bg-zinc-800 transition-colors",children:jsxRuntime.jsx("svg",{className:"w-5 h-5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:jsxRuntime.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M6 18L18 6M6 6l12 12"})})}),a]})]})})}function uu({className:e="",close:t=false,children:a,onClose:o}){let[l,r]=Cn__default.default.useState(true);if(!l)return null;let s=()=>{r(false),o?.();};return jsxRuntime.jsx("div",{className:i("min-h-[400px] w-full flex items-center justify-center p-4",e),children:jsxRuntime.jsx("div",{className:"flex flex-col items-center w-full lg:max-w-[75%] gap-6",children:jsxRuntime.jsxs("div",{className:"relative flex items-center gap-3 rounded-lg border border-zinc-300 dark:border-zinc-700 bg-transparent px-4 py-3 shadow-sm w-full max-w-md transition-all duration-200",children:[a,t&&jsxRuntime.jsx("button",{onClick:s,className:"absolute top-2 right-2 text-gray-500 hover:text-gray-700 dark:text-white/60 dark:hover:text-white transition-colors",children:jsxRuntime.jsx("svg",{className:"h-4 w-4",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:jsxRuntime.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M6 18L18 6M6 6l12 12"})})})]})})})}function fu({children:e,className:t}){return jsxRuntime.jsx("div",{className:i("text-primary flex-shrink-0",t),children:e})}function cu({children:e,className:t}){return jsxRuntime.jsx("span",{className:i("text-foreground font-medium text-sm flex-1",t),children:e})}function mu({children:e,className:t}){return jsxRuntime.jsx("div",{className:i("flex items-center gap-2",t),children:e})}function xu({children:e,className:t,title:a="Terminal"}){return jsxRuntime.jsxs("div",{className:i("relative w-full max-w-2xl mx-auto bg-zinc-100 dark:bg-black rounded-lg overflow-hidden shadow-2xl","border border-zinc-300 dark:border-gray-800",t),children:[jsxRuntime.jsxs("div",{className:"flex items-center justify-between px-4 py-3 bg-zinc-200 dark:bg-gray-800 border-b border-zinc-300 dark:border-gray-700",children:[jsxRuntime.jsxs("div",{className:"flex items-center space-x-2",children:[jsxRuntime.jsx("div",{className:"w-3 h-3 bg-red-500 rounded-full"}),jsxRuntime.jsx("div",{className:"w-3 h-3 bg-yellow-500 rounded-full"}),jsxRuntime.jsx("div",{className:"w-3 h-3 bg-green-500 rounded-full"})]}),jsxRuntime.jsx("div",{className:"text-zinc-600 dark:text-gray-400 text-sm font-mono",children:a}),jsxRuntime.jsx("div",{className:"w-16"})]}),jsxRuntime.jsx("div",{className:"p-4 font-mono text-sm leading-relaxed space-y-2 min-h-[300px] bg-zinc-100 dark:bg-black text-zinc-900 dark:text-white",children:e})]})}function gu({children:e,className:t,delay:a=0,speed:o=50}){let[l,r]=Cn.useState(""),[s,n]=Cn.useState(false);return Cn.useEffect(()=>{let d=setTimeout(()=>{let u=0,f=setInterval(()=>{u<=e.length?(r(e.slice(0,u)),u++):(n(true),clearInterval(f));},o);return ()=>clearInterval(f)},a);return ()=>clearTimeout(d)},[e,a,o]),jsxRuntime.jsxs("div",{className:i("flex items-center",t),children:[jsxRuntime.jsx("span",{children:l}),!s&&jsxRuntime.jsx("span",{className:"ml-1 animate-pulse bg-white w-2 h-4 inline-block"})]})}function hu({children:e,className:t,delay:a=0}){let[o,l]=Cn.useState(false);return Cn.useEffect(()=>{let r=setTimeout(()=>{l(true);},a);return ()=>clearTimeout(r)},[a]),jsxRuntime.jsx("div",{className:i("transition-all duration-500 transform",o?"opacity-100 translate-y-0":"opacity-0 translate-y-2",t),children:e})}function yu({children:e,initialStep:t=1,onStepChange:a=()=>{},onFinalStepCompleted:o=()=>{},backButtonText:l="Back",nextButtonText:r="Continue",disableStepIndicators:s=false,className:n,...d}){let[u,f]=Cn.useState(t),[m,x]=Cn.useState(0),c=Cn.Children.toArray(e),p=c.length,g=u>p,h=u===p,b=C=>{f(C),C>p?o():a(C);},I=()=>{u>1&&(x(-1),b(u-1));},L=()=>{h||(x(1),b(u+1));},v=()=>{x(1),b(p+1);};return jsxRuntime.jsxs("div",{className:i("w-full max-w-md mx-auto",n),...d,children:[jsxRuntime.jsx("div",{className:"flex items-center justify-between mb-8",children:c.map((C,y)=>{let w=y+1,k=y<p-1;return jsxRuntime.jsxs(Cn__default.default.Fragment,{children:[jsxRuntime.jsx(Pu,{step:w,disableStepIndicators:s,currentStep:u,onClickStep:S=>{x(S>u?1:-1),b(S);}}),k&&jsxRuntime.jsx(Nu,{isComplete:u>w})]},w)})}),jsxRuntime.jsx(wu,{isCompleted:g,currentStep:u,direction:m,children:c[u-1]}),!g&&jsxRuntime.jsxs("div",{className:i("flex mt-8",u!==1?"justify-between":"justify-end"),children:[u!==1&&jsxRuntime.jsx("button",{onClick:I,className:"px-4 py-2 text-sm font-medium text-zinc-400 hover:text-white transition-colors rounded-lg hover:bg-zinc-800",children:l}),jsxRuntime.jsx("button",{onClick:h?v:L,className:"px-4 py-2 text-sm font-medium bg-white text-black rounded-lg hover:bg-zinc-200 transition-colors",children:h?"Complete":r})]})]})}function wu({isCompleted:e,currentStep:t,direction:a,children:o}){let[l,r]=Cn.useState(0);return jsxRuntime.jsx(framerMotion.motion.div,{className:"relative overflow-hidden",animate:{height:e?0:l},transition:{type:"spring",duration:.4},children:jsxRuntime.jsx(framerMotion.AnimatePresence,{initial:false,mode:"sync",custom:a,children:!e&&jsxRuntime.jsx(Su,{direction:a,onHeightReady:s=>r(s),children:o},t)})})}function Su({children:e,direction:t,onHeightReady:a}){let o=Cn.useRef(null);Cn.useLayoutEffect(()=>{o.current&&a(o.current.offsetHeight);},[e,a]);let l={enter:r=>({x:r>=0?"-100%":"100%",opacity:0}),center:{x:"0%",opacity:1},exit:r=>({x:r>=0?"50%":"-50%",opacity:0})};return jsxRuntime.jsx(framerMotion.motion.div,{ref:o,custom:t,variants:l,initial:"enter",animate:"center",exit:"exit",transition:{duration:.4},className:"absolute left-0 right-0 top-0",children:e})}function ku({children:e}){return jsxRuntime.jsx("div",{className:"p-4 rounded-lg bg-zinc-900 border border-zinc-800",children:e})}function Pu({step:e,currentStep:t,onClickStep:a,disableStepIndicators:o}){let l=t===e?"active":t<e?"inactive":"complete",r=()=>{e!==t&&!o&&a(e);};return jsxRuntime.jsx(framerMotion.motion.button,{onClick:r,disabled:o,className:i("relative flex items-center justify-center w-10 h-10 rounded-full text-sm font-medium transition-all",l==="inactive"&&"bg-zinc-800 text-zinc-500 border border-zinc-700",l==="active"&&"bg-white text-black border-2 border-white",l==="complete"&&"bg-white text-black border-2 border-white",!o&&"cursor-pointer hover:opacity-80"),animate:l,initial:false,children:l==="complete"?jsxRuntime.jsx("svg",{className:"w-5 h-5",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:2.5,children:jsxRuntime.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M5 13l4 4L19 7"})}):jsxRuntime.jsx("span",{children:e})})}function Nu({isComplete:e}){return jsxRuntime.jsx("div",{className:"flex-1 h-[2px] mx-2 bg-zinc-800 rounded-full overflow-hidden",children:jsxRuntime.jsx(framerMotion.motion.div,{className:"h-full bg-white rounded-full",initial:{width:0},animate:{width:e?"100%":"0%"},transition:{duration:.4}})})}var Br=Cn.createContext(null),Dr=()=>{let e=Cn.useContext(Br);if(!e)throw new Error("useTree must be used within a TreeProvider");return e},Fr=Cn.forwardRef(({data:e,initialSelectedId:t,onSelectChange:a,initialExpandedItems:o=[],elements:l,className:r,...s},n)=>{let[d,u]=Cn.useState(t),[f,m]=Cn.useState(o),x=Cn.useCallback(g=>{m(h=>h.includes(g)?h.filter(b=>b!==g):[...h,g]);},[]),c=Cn.useCallback(g=>{let h=e||l||[],b=Array.isArray(h)?h:[h],I=v=>{for(let C of v){if(C.id===g)return C;if(C.children){let y=I(C.children);if(y)return y}}},L=I(b);L?.isSelectable&&(u(g),a?.(L));},[e,l,a]),p={selectedId:d,expandedItems:f,handleExpand:x,handleSelect:c,data:e||l||[]};return jsxRuntime.jsx(Br.Provider,{value:p,children:jsxRuntime.jsx("div",{className:i("relative overflow-hidden",r),ref:n,...s,children:Cn__default.default.Children.map(s.children,g=>g)})})});Fr.displayName="Tree";var zr=Cn.forwardRef(({className:e,element:t,value:a,isSelectable:o=true,children:l,...r},s)=>{let{selectedId:n,expandedItems:d,handleExpand:u,handleSelect:f}=Dr();return jsxRuntime.jsxs("div",{ref:s,className:"relative",...r,children:[jsxRuntime.jsxs("div",{className:i("flex cursor-pointer items-center gap-1 rounded-md px-2 py-1 text-sm hover:bg-muted",n===a&&"bg-muted",e),onClick:()=>{u(a),o&&f(a);},children:[jsxRuntime.jsx("svg",{className:i("h-4 w-4 shrink-0 transition-transform duration-200",d.includes(a)&&"rotate-90"),fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:jsxRuntime.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M9 5l7 7-7 7"})}),jsxRuntime.jsx("svg",{className:"h-4 w-4 shrink-0",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:jsxRuntime.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M3 7v10a2 2 0 002 2h14a2 2 0 002-2V9a2 2 0 00-2-2h-6l-2-2H5a2 2 0 00-2 2z"})}),jsxRuntime.jsx("span",{className:"truncate",children:t})]}),d.includes(a)&&jsxRuntime.jsx("div",{className:"ml-4 border-l border-muted pl-2",children:l})]})});zr.displayName="Folder";var Hr=Cn.forwardRef(({className:e,value:t,isSelectable:a=true,children:o,...l},r)=>{let{selectedId:s,handleSelect:n}=Dr();return jsxRuntime.jsxs("div",{ref:r,className:i("flex cursor-pointer items-center gap-1 rounded-md px-2 py-1 text-sm hover:bg-muted",s===t&&"bg-muted",e),onClick:()=>a&&n(t),...l,children:[jsxRuntime.jsx("svg",{className:"h-4 w-4 shrink-0",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:jsxRuntime.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M9 12h6m-6 4h6m2 5H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z"})}),jsxRuntime.jsx("div",{className:"truncate",children:o})]})});Hr.displayName="File";function zu({mv:e,number:t,height:a}){let o=framerMotion.useTransform(e,l=>{let r=l%10,s=(10+t-r)%10,n=s*a;return s>5&&(n-=10*a),n});return jsxRuntime.jsx(framerMotion.motion.span,{style:{y:o,position:"absolute",inset:0,display:"flex",justifyContent:"center"},children:t})}function Hu({place:e,value:t,height:a,digitStyle:o}){let l=Math.floor(t/e),r=framerMotion.useSpring(l,{stiffness:200,damping:25});return Cn.useEffect(()=>{r.set(l);},[r,l]),jsxRuntime.jsx("div",{style:{height:a,position:"relative",overflow:"hidden",...o},children:Array.from({length:10},(s,n)=>jsxRuntime.jsx(zu,{mv:r,number:n,height:a},n))})}function qu({value:e,fontSize:t=100,padding:a=0,places:o=[100,10,1],gap:l=8,textColor:r="#000000",fontWeight:s=900,containerStyle:n,digitStyle:d}){let u=t+a;return jsxRuntime.jsx("div",{style:{display:"flex",gap:l,fontSize:t,color:r,fontWeight:s,...n},children:o.map(f=>jsxRuntime.jsx(Hu,{place:f,value:e,height:u,digitStyle:d},f))})}var Uu={initial:{gap:0,paddingLeft:".5rem",paddingRight:".5rem"},animate:e=>({gap:e?".5rem":0,paddingLeft:e?"1rem":".5rem",paddingRight:e?"1rem":".5rem"})},Gu={initial:{width:0,opacity:0},animate:{width:"auto",opacity:1},exit:{width:0,opacity:0}},Er={type:"spring",bounce:0,duration:.4};function Vu({className:e,items:t,defaultSelected:a,onItemClick:o}){let[l,r]=Cn.useState(a||null),s=n=>{r(l===n?null:n),o?.(n);};return jsxRuntime.jsx("div",{className:i("flex items-center gap-3 p-2 relative","bg-background border rounded-xl transition-all duration-200",e),children:jsxRuntime.jsx("div",{className:"flex items-center gap-2",children:t.map(n=>jsxRuntime.jsxs(framerMotion.motion.button,{variants:Uu,initial:false,animate:"animate",custom:l===n.id,onClick:()=>s(n.id),transition:Er,className:i("relative flex items-center rounded-none px-3 py-2","text-sm font-medium transition-colors duration-300",l===n.id?"bg-[#1F9CFE] text-white rounded-lg":"text-muted-foreground hover:bg-muted hover:text-foreground"),children:[n.icon,jsxRuntime.jsx(framerMotion.AnimatePresence,{initial:false,children:l===n.id&&jsxRuntime.jsx(framerMotion.motion.span,{variants:Gu,initial:"initial",animate:"animate",exit:"exit",transition:Er,className:"overflow-hidden",children:n.title})})]},n.id))})})}function Yu({className:e,children:t,direction:a="middle"}){let o={top:"items-start",middle:"items-center",bottom:"items-end"};return jsxRuntime.jsx(framerMotion.motion.div,{className:i("mx-auto w-max mt-8 h-[58px] p-2 flex gap-2 rounded-2xl border","supports-backdrop-blur:bg-white/10 supports-backdrop-blur:dark:bg-black/10 backdrop-blur-md","border-gray-200 bg-gray-50/80 dark:border-gray-800 dark:bg-gray-900/80",o[a],e),children:t})}function Ju({size:e=40,magnification:t=60,distance:a=140,children:o,className:l}){let r=Cn.useRef(null),s=framerMotion.useMotionValue(1/0),n=framerMotion.useSpring(framerMotion.useTransform(s,[-a,0,a],[e,t,e]),{mass:.1,stiffness:150,damping:12});return jsxRuntime.jsx(framerMotion.motion.div,{ref:r,style:{width:n},onMouseMove:d=>s.set(d.pageX-r.current.offsetLeft-n.get()/2),onMouseLeave:()=>s.set(1/0),className:i("flex aspect-square cursor-pointer items-center justify-center rounded-full",l),children:o})}var Vr=Cn.forwardRef(({className:e,label:t,error:a,icon:o,...l},r)=>jsxRuntime.jsxs("div",{className:"w-full",children:[t&&jsxRuntime.jsx("label",{className:"block text-sm font-medium text-zinc-700 dark:text-zinc-300 mb-1",children:t}),jsxRuntime.jsxs("div",{className:"relative",children:[o&&jsxRuntime.jsx("div",{className:"absolute left-3 top-1/2 -translate-y-1/2 text-zinc-400",children:o}),jsxRuntime.jsx("input",{ref:r,className:i("w-full px-4 py-2 rounded-lg","bg-white dark:bg-zinc-900","border border-zinc-300 dark:border-zinc-700","text-zinc-900 dark:text-zinc-100","placeholder:text-zinc-400 dark:placeholder:text-zinc-500","focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-transparent","transition-all duration-200",o&&"pl-10",a&&"border-red-500 focus:ring-red-500",e),...l})]}),a&&jsxRuntime.jsx("p",{className:"mt-1 text-sm text-red-500",children:a})]}));Vr.displayName="Input";var Wr=Cn.forwardRef(({className:e,label:t,error:a,...o},l)=>jsxRuntime.jsxs("div",{className:"w-full",children:[t&&jsxRuntime.jsx("label",{className:"block text-sm font-medium text-zinc-700 dark:text-zinc-300 mb-1",children:t}),jsxRuntime.jsx("textarea",{ref:l,className:i("w-full px-4 py-2 rounded-lg min-h-[100px] resize-y","bg-white dark:bg-zinc-900","border border-zinc-300 dark:border-zinc-700","text-zinc-900 dark:text-zinc-100","placeholder:text-zinc-400 dark:placeholder:text-zinc-500","focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-transparent","transition-all duration-200",a&&"border-red-500 focus:ring-red-500",e),...o}),a&&jsxRuntime.jsx("p",{className:"mt-1 text-sm text-red-500",children:a})]}));Wr.displayName="Textarea";function af({checked:e=false,onChange:t,label:a,disabled:o=false,className:l}){return jsxRuntime.jsxs("label",{className:i("inline-flex items-center gap-2 cursor-pointer",o&&"opacity-50 cursor-not-allowed",l),children:[jsxRuntime.jsx("button",{type:"button",role:"checkbox","aria-checked":e,disabled:o,onClick:()=>t?.(!e),className:i("w-5 h-5 rounded border-2 flex items-center justify-center transition-colors",e?"bg-blue-500 border-blue-500":"bg-transparent border-zinc-300 dark:border-zinc-600"),children:jsxRuntime.jsx(framerMotion.motion.svg,{initial:false,animate:{scale:e?1:0,opacity:e?1:0},transition:{duration:.15},className:"w-3 h-3 text-white",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:jsxRuntime.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:3,d:"M5 13l4 4L19 7"})})}),a&&jsxRuntime.jsx("span",{className:"text-sm",children:a})]})}function rf({options:e,value:t,onChange:a,name:o,className:l,direction:r="vertical"}){return jsxRuntime.jsx("div",{className:i("flex gap-3",r==="vertical"?"flex-col":"flex-row flex-wrap",l),children:e.map(s=>jsxRuntime.jsxs("label",{className:"inline-flex items-center gap-2 cursor-pointer",children:[jsxRuntime.jsx("button",{type:"button",role:"radio","aria-checked":t===s.value,onClick:()=>a?.(s.value),className:i("w-5 h-5 rounded-full border-2 flex items-center justify-center transition-colors",t===s.value?"border-blue-500":"border-zinc-300 dark:border-zinc-600"),children:jsxRuntime.jsx(framerMotion.motion.div,{initial:false,animate:{scale:t===s.value?1:0,opacity:t===s.value?1:0},transition:{duration:.15},className:"w-2.5 h-2.5 rounded-full bg-blue-500"})}),jsxRuntime.jsx("span",{className:"text-sm",children:s.label})]},s.value))})}function ff({options:e,value:t,onChange:a,placeholder:o="Select...",className:l,label:r}){let[s,n]=Cn.useState(false),d=Cn.useRef(null),u=e.find(f=>f.value===t);return Cn.useEffect(()=>{let f=m=>{d.current&&!d.current.contains(m.target)&&n(false);};return document.addEventListener("mousedown",f),()=>document.removeEventListener("mousedown",f)},[]),jsxRuntime.jsxs("div",{className:"w-full",children:[r&&jsxRuntime.jsx("label",{className:"block text-sm font-medium text-zinc-700 dark:text-zinc-300 mb-1",children:r}),jsxRuntime.jsxs("div",{ref:d,className:i("relative",l),children:[jsxRuntime.jsxs("button",{type:"button",onClick:()=>n(!s),className:i("w-full px-4 py-2 rounded-lg text-left","bg-white dark:bg-zinc-900","border border-zinc-300 dark:border-zinc-700","flex items-center justify-between","focus:outline-none focus:ring-2 focus:ring-blue-500","transition-all duration-200"),children:[jsxRuntime.jsx("span",{className:u?"":"text-zinc-400",children:u?.label||o}),jsxRuntime.jsx(framerMotion.motion.svg,{animate:{rotate:s?180:0},transition:{duration:.2},className:"w-5 h-5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:jsxRuntime.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M19 9l-7 7-7-7"})})]}),jsxRuntime.jsx(framerMotion.AnimatePresence,{children:s&&jsxRuntime.jsx(framerMotion.motion.div,{initial:{opacity:0,y:-10},animate:{opacity:1,y:0},exit:{opacity:0,y:-10},transition:{duration:.15},className:i("absolute z-50 w-full mt-1 rounded-lg overflow-hidden","bg-white dark:bg-zinc-900","border border-zinc-300 dark:border-zinc-700","shadow-lg"),children:e.map(f=>jsxRuntime.jsx("button",{type:"button",onClick:()=>{a?.(f.value),n(false);},className:i("w-full px-4 py-2 text-left","hover:bg-zinc-100 dark:hover:bg-zinc-800","transition-colors",t===f.value&&"bg-blue-50 dark:bg-blue-900/20 text-blue-600"),children:f.label},f.value))})})]})]})}function xf({maxLength:e=6,onComplete:t,onChange:a,className:o=""}){let[l,r]=Cn.useState(new Array(e).fill("")),s=Cn.useRef([]);Cn.useEffect(()=>{let f=l.join("");a?.(f),f.length===e&&t?.(f);},[l,e,a,t]);let n=(f,m)=>{if(m.length>1){let x=m.slice(0,e).split(""),c=[...l];x.forEach((g,h)=>{f+h<e&&(c[f+h]=g);}),r(c);let p=Math.min(f+x.length,e-1);s.current[p]?.focus();return}if(/^\d*$/.test(m)){let x=[...l];x[f]=m,r(x),m&&f<e-1&&s.current[f+1]?.focus();}},d=(f,m)=>{if(m.key==="Backspace")if(!l[f]&&f>0)s.current[f-1]?.focus();else {let x=[...l];x[f]="",r(x);}else m.key==="ArrowLeft"&&f>0?s.current[f-1]?.focus():m.key==="ArrowRight"&&f<e-1&&s.current[f+1]?.focus();},u=f=>{s.current[f]?.select();};return jsxRuntime.jsx("div",{className:i("flex items-center gap-2",o),children:l.map((f,m)=>jsxRuntime.jsx("input",{ref:x=>{s.current[m]=x;},type:"text",inputMode:"numeric",maxLength:1,value:f,onChange:x=>n(m,x.target.value),onKeyDown:x=>d(m,x),onFocus:()=>u(m),className:i("w-12 h-12 text-center text-lg font-semibold","border-2 border-zinc-300 dark:border-zinc-600 rounded-md","focus:border-zinc-900 dark:focus:border-white focus:outline-none","bg-white dark:bg-zinc-800 text-zinc-900 dark:text-white","transition-colors")},m))})}function hf({className:e,onChange:t}){let[a,o]=Cn.useState(false),l=()=>{let r=!a;o(r),t?.(r);};return jsxRuntime.jsxs("label",{className:i("relative w-10 h-8 bg-transparent cursor-pointer block",e),htmlFor:"burger-basic",children:[jsxRuntime.jsx("input",{type:"checkbox",id:"burger-basic",className:"hidden",checked:a,onChange:l}),jsxRuntime.jsx("span",{className:i("block absolute h-1 w-full bg-black dark:bg-white rounded-lg opacity-100 left-0 transition-all duration-250 ease-in-out","top-0 origin-left",a&&"rotate-45 top-0 left-1.5")}),jsxRuntime.jsx("span",{className:i("block absolute h-1 w-full bg-black dark:bg-white rounded-lg opacity-100 left-0 transition-all duration-250 ease-in-out","top-1/2 -translate-y-1/2 origin-left",a&&"w-0 opacity-0")}),jsxRuntime.jsx("span",{className:i("block absolute h-1 w-full bg-black dark:bg-white rounded-lg opacity-100 left-0 transition-all duration-250 ease-in-out","top-full -translate-y-full origin-left",a&&"-rotate-45 top-7 left-1.5")})]})}function If({className:e,onChange:t}){let[a,o]=Cn.useState(false),l=()=>{let r=!a;o(r),t?.(r);};return jsxRuntime.jsxs("div",{className:i("inline-block",e),children:[jsxRuntime.jsx("input",{type:"checkbox",id:"checkbox-spin",className:"hidden",checked:a,onChange:l}),jsxRuntime.jsxs("label",{htmlFor:"checkbox-spin",className:i("relative w-10 h-10 cursor-pointer flex flex-col items-center justify-center gap-2.5 transition-all duration-500",a&&"rotate-180"),children:[jsxRuntime.jsx("div",{className:i("w-full h-1 bg-black dark:bg-white rounded-md transition-all duration-500 origin-center",a&&"scale-x-[0.6] translate-y-[1px]")}),jsxRuntime.jsx("div",{className:i("w-full h-1 bg-black dark:bg-white rounded-md transition-all duration-500 origin-center",a&&"rotate-90 scale-x-[1.2]")}),jsxRuntime.jsx("div",{className:i("w-full h-1 bg-black dark:bg-white rounded-md transition-all duration-500 origin-center",a&&"scale-x-[0.6] -translate-y-[1px]")})]})]})}function Cf(...e){return e.filter(Boolean).join(" ")}function yf({className:e,onChange:t}){let[a,o]=Cn.useState(false);return jsxRuntime.jsxs("button",{onClick:()=>{let r=!a;o(r),t?.(r);},className:Cf("relative w-12 h-12 bg-transparent cursor-pointer flex flex-col items-center justify-center gap-2",e),"aria-label":"Toggle menu",children:[jsxRuntime.jsx(framerMotion.motion.div,{className:"w-full h-1 bg-black dark:bg-white rounded-full origin-center",animate:a?{scaleX:0}:{scaleX:1},transition:{duration:.3,type:"spring",stiffness:400,damping:30}}),jsxRuntime.jsx(framerMotion.motion.div,{className:"w-full h-1 bg-black dark:bg-white rounded-full origin-center",animate:a?{scaleX:1.2}:{scaleX:1},transition:{duration:.4,type:"spring",stiffness:200,damping:20}}),jsxRuntime.jsx(framerMotion.motion.div,{className:"w-full h-1 bg-black dark:bg-white rounded-full origin-center",animate:a?{scaleX:0}:{scaleX:1},transition:{duration:.3,delay:.05,type:"spring",stiffness:400,damping:30}})]})}function kf(...e){return e.filter(Boolean).join(" ")}function Pf({className:e,onChange:t}){let[a,o]=Cn.useState(false);return jsxRuntime.jsxs("button",{onClick:()=>{let r=!a;o(r),t?.(r);},className:kf("relative w-12 h-12 bg-transparent cursor-pointer flex flex-col items-center justify-center gap-2 p-2",e),"aria-label":"Toggle menu",children:[jsxRuntime.jsx(framerMotion.motion.div,{className:"w-full h-1 bg-black dark:bg-white rounded-full origin-center",animate:a?{y:-12,rotation:90,scaleX:.8}:{y:0,rotation:0,scaleX:1},transition:{duration:.5,type:"spring",stiffness:200,damping:15}}),jsxRuntime.jsx(framerMotion.motion.div,{className:"w-full h-1 bg-black dark:bg-white rounded-full origin-center",animate:a?{rotation:90,scaleX:.8}:{rotation:0,scaleX:1},transition:{duration:.5,type:"spring",stiffness:200,damping:15}}),jsxRuntime.jsx(framerMotion.motion.div,{className:"w-full h-1 bg-black dark:bg-white rounded-full origin-center",animate:a?{y:12,rotation:90,scaleX:.8}:{y:0,rotation:0,scaleX:1},transition:{duration:.5,type:"spring",stiffness:200,damping:15}})]})}function Ua(...e){return e.filter(Boolean).join(" ")}function Tf({className:e,onChange:t}){let[a,o]=Cn.useState(false);return jsxRuntime.jsx("button",{onClick:()=>{let r=!a;o(r),t?.(r);},className:Ua("relative w-12 h-12 bg-transparent cursor-pointer flex items-center justify-center",e),"aria-label":"Toggle menu",children:jsxRuntime.jsxs("div",{className:"relative w-8 h-8",children:[jsxRuntime.jsx("span",{className:Ua("absolute w-2 h-2 bg-black dark:bg-white rounded-sm transition-all duration-300 ease-out",a?"top-0 left-0":"top-0 left-1/2 -translate-x-1/2 w-8 h-0.5 rounded-full")}),jsxRuntime.jsx("span",{className:Ua("absolute w-2 h-2 bg-black dark:bg-white rounded-sm transition-all duration-300 ease-out delay-75",a?"top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2":"top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 w-8 h-0.5 rounded-full")}),jsxRuntime.jsx("span",{className:Ua("absolute w-2 h-2 bg-black dark:bg-white rounded-sm transition-all duration-300 ease-out delay-150",a?"bottom-0 right-0":"bottom-0 left-1/2 -translate-x-1/2 w-8 h-0.5 rounded-full")})]})})}function Va(...e){return e.filter(Boolean).join(" ")}function Bf({className:e,onChange:t}){let[a,o]=Cn.useState(false),l=()=>{let r=!a;o(r),t?.(r);};return jsxRuntime.jsxs("label",{className:Va("w-12 h-8 cursor-pointer relative block",e),htmlFor:"burger-stagger",children:[jsxRuntime.jsx("input",{type:"checkbox",id:"burger-stagger",className:"hidden w-full h-full",checked:a,onChange:l}),jsxRuntime.jsx("span",{className:Va("block absolute w-full rounded-lg border-[3px] border-black dark:border-white bg-black dark:bg-white transition-all duration-150 ease-in-out","top-0 right-0 origin-right",a&&"w-1/2 top-1/2 -translate-y-[30%] rotate-[40deg]")}),jsxRuntime.jsx("span",{className:Va("block absolute w-full rounded-lg border-[3px] border-black dark:border-white bg-black dark:bg-white transition-all duration-150 ease-in-out","top-1/2 -translate-y-1/2")}),jsxRuntime.jsx("span",{className:Va("block absolute w-full rounded-lg border-[3px] border-black dark:border-white bg-black dark:bg-white transition-all duration-150 ease-in-out","top-full right-0 origin-right -translate-y-full",a&&"w-1/2 top-1/2 -translate-y-[70%] -rotate-[40deg]")})]})}function zf(...e){return e.filter(Boolean).join(" ")}function Hf({className:e,onChange:t}){let[a,o]=Cn.useState(false);return jsxRuntime.jsxs("button",{onClick:()=>{let r=!a;o(r),t?.(r);},className:zf("relative w-12 h-12 bg-transparent cursor-pointer flex flex-col items-center justify-center gap-2 p-2",e),style:{transformStyle:"preserve-3d",perspective:"800px"},"aria-label":"Toggle menu",children:[jsxRuntime.jsx(framerMotion.motion.div,{className:"w-8 h-0.5 bg-black dark:bg-white rounded",animate:a?{width:10,height:10,borderRadius:"50%",y:-6}:{width:32,height:2,borderRadius:"4px",y:0},transition:{duration:.3,ease:"easeInOut"}}),jsxRuntime.jsx(framerMotion.motion.div,{className:"w-8 h-0.5 bg-black dark:bg-white rounded",animate:a?{width:10,height:10,borderRadius:"50%",x:-8,y:6}:{width:32,height:2,borderRadius:"4px",x:0,y:0},transition:{duration:.35,ease:"easeInOut"}}),jsxRuntime.jsx(framerMotion.motion.div,{className:"w-8 h-0.5 bg-black dark:bg-white rounded",animate:a?{width:10,height:10,borderRadius:"50%",x:8,y:6}:{width:32,height:2,borderRadius:"4px",x:0,y:0},transition:{duration:.4,ease:"easeInOut"}})]})}function Of(...e){return e.filter(Boolean).join(" ")}function Uf({className:e,onChange:t}){let[a,o]=Cn.useState(false);return jsxRuntime.jsxs("button",{onClick:()=>{let r=!a;o(r),t?.(r);},className:Of("relative w-12 h-12 bg-transparent cursor-pointer flex flex-col items-center justify-center gap-2",e),"aria-label":"Toggle menu",children:[jsxRuntime.jsx(framerMotion.motion.div,{className:"w-full h-1 bg-black dark:bg-white rounded-full origin-center",animate:a?{rotateX:90,y:0,opacity:0}:{rotateX:0,y:0,opacity:1},transition:{duration:.3,type:"spring",stiffness:300,damping:30}}),jsxRuntime.jsx(framerMotion.motion.div,{className:"w-full h-1 bg-black dark:bg-white rounded-full origin-center",animate:a?{scaleY:3}:{scaleY:1},transition:{duration:.6,type:"spring",stiffness:200,damping:15}}),jsxRuntime.jsx(framerMotion.motion.div,{className:"w-full h-1 bg-black dark:bg-white rounded-full origin-center",animate:a?{rotateX:90,y:0,opacity:0}:{rotateX:0,y:0,opacity:1},transition:{duration:.3,type:"spring",stiffness:300,damping:30}})]})}function Wf({sparkColor:e="#000000",sparkSize:t=10,sparkRadius:a=15,sparkCount:o=8,duration:l=400,easing:r="ease-out",extraScale:s=1,children:n}){let d=Cn.useRef(null),u=Cn.useRef([]),f=Cn.useRef(null);Cn.useEffect(()=>{let c=d.current;if(!c)return;let p=c.parentElement;if(!p)return;let g,h=()=>{let{width:L,height:v}=p.getBoundingClientRect();(c.width!==L||c.height!==v)&&(c.width=L,c.height=v);},b=()=>{clearTimeout(g),g=setTimeout(h,100);},I=new ResizeObserver(b);return I.observe(p),h(),()=>{I.disconnect(),clearTimeout(g);}},[]);let m=Cn.useCallback(c=>{switch(r){case "linear":return c;case "ease-in":return c*c;case "ease-in-out":return c<.5?2*c*c:-1+(4-2*c)*c;default:return c*(2-c)}},[r]);return Cn.useEffect(()=>{let c=d.current;if(!c)return;let p=c.getContext("2d");if(!p)return;let g,h=b=>{f.current||(f.current=b),p.clearRect(0,0,c.width,c.height),u.current=u.current.filter(I=>{let L=b-I.startTime;if(L>=l)return false;let v=L/l,C=m(v),y=C*a*s,w=t*(1-C),k=I.x+y*Math.cos(I.angle),S=I.y+y*Math.sin(I.angle),P=I.x+(y+w)*Math.cos(I.angle),T=I.y+(y+w)*Math.sin(I.angle);return p.strokeStyle=e,p.lineWidth=2,p.beginPath(),p.moveTo(k,S),p.lineTo(P,T),p.stroke(),true}),g=requestAnimationFrame(h);};return g=requestAnimationFrame(h),()=>{cancelAnimationFrame(g);}},[e,t,a,l,m,s]),jsxRuntime.jsxs("div",{style:{position:"relative",width:"100%",height:"100%"},onClick:c=>{let p=d.current;if(!p)return;let g=p.getBoundingClientRect(),h=c.clientX-g.left,b=c.clientY-g.top,I=performance.now(),L=Array.from({length:o},(v,C)=>({x:h,y:b,angle:2*Math.PI*C/o,startTime:I}));u.current.push(...L);},children:[jsxRuntime.jsx("canvas",{ref:d,style:{width:"100%",height:"100%",display:"block",userSelect:"none",position:"absolute",top:0,left:0,pointerEvents:"none"}}),n]})}function Jf({className:e}){let[t,a]=Cn.useState(false),o=framerMotion.useMotionValue(-100),l=framerMotion.useMotionValue(-100),r={damping:25,stiffness:700},s=framerMotion.useSpring(o,r),n=framerMotion.useSpring(l,r);return Cn.useEffect(()=>{let d=f=>{o.set(f.clientX-16),l.set(f.clientY-16),a(true);},u=()=>{a(false);};return window.addEventListener("mousemove",d),window.addEventListener("mouseleave",u),()=>{window.removeEventListener("mousemove",d),window.removeEventListener("mouseleave",u);}},[o,l]),jsxRuntime.jsx(framerMotion.motion.div,{className:i("pointer-events-none fixed left-0 top-0 z-50 h-8 w-8 rounded-full bg-zinc-400 mix-blend-difference",t?"opacity-100":"opacity-0",e),style:{x:s,y:n},transition:{type:"spring",stiffness:500,damping:28}})}function jf({children:e,className:t,duration:a=5,distance:o=50}){return jsxRuntime.jsx(framerMotion.motion.div,{className:i("relative",t),animate:{y:[0,-o,0]},transition:{duration:a,repeat:1/0,ease:"easeInOut"},children:e})}function tc({children:e,className:t,glowColor:a="rgba(255, 255, 255, 0.4)",duration:o=3}){return jsxRuntime.jsx(framerMotion.motion.div,{className:i("relative p-8 rounded-3xl border-2 border-white/30",t),style:{background:"radial-gradient(circle at center, rgba(255,255,255,0.05) 0%, transparent 70%)"},animate:{boxShadow:[`0 0 40px ${a}, 0 0 80px ${a.replace("0.4","0.2")}`,`0 0 80px ${a.replace("0.4","0.8")}, 0 0 160px ${a.replace("0.4","0.5")}`,`0 0 40px ${a}, 0 0 80px ${a.replace("0.4","0.2")}`],borderColor:["rgba(255, 255, 255, 0.3)","rgba(255, 255, 255, 0.6)","rgba(255, 255, 255, 0.3)"]},transition:{duration:o,repeat:1/0,ease:"easeInOut"},children:e})}function sc({children:e,className:t,delay:a=0,duration:o=.8,blur:l=10,inView:r=false,inViewMargin:s="-50px",yOffset:n=6}){let d={hidden:{opacity:0,filter:`blur(${l}px)`,y:n},visible:{opacity:1,filter:"blur(0px)",y:0}};return jsxRuntime.jsx(framerMotion.motion.div,{className:i(t),initial:"hidden",animate:r?void 0:"visible",whileInView:r?"visible":void 0,viewport:{once:true,margin:s},variants:d,transition:{duration:o,delay:a,ease:[.25,.1,.25,1]},children:e})}var Xt=class{constructor(t,a,o,l,r,s,n){this.width=t.width,this.height=t.height,this.ctx=a,this.x=o,this.y=l,this.color=r,this.speed=this.getRandomValue(.1,.9)*s,this.size=0,this.sizeStep=Math.random()*.4,this.minSize=.5,this.maxSizeInteger=2,this.maxSize=this.getRandomValue(this.minSize,this.maxSizeInteger),this.delay=n,this.counter=0,this.counterStep=Math.random()*4+(this.width+this.height)*.01,this.isIdle=false,this.isReverse=false,this.isShimmer=false;}getRandomValue(t,a){return Math.random()*(a-t)+t}draw(){let t=this.maxSizeInteger*.5-this.size*.5;this.ctx.fillStyle=this.color,this.ctx.fillRect(this.x+t,this.y+t,this.size,this.size);}appear(){if(this.isIdle=false,this.counter<=this.delay){this.counter+=this.counterStep;return}this.size>=this.maxSize&&(this.isShimmer=true),this.isShimmer?this.shimmer():this.size+=this.sizeStep,this.draw();}disappear(){if(this.isShimmer=false,this.counter=0,this.size<=0){this.isIdle=true;return}else this.size-=.1;this.draw();}shimmer(){this.size>=this.maxSize?this.isReverse=true:this.size<=this.minSize&&(this.isReverse=false),this.isReverse?this.size-=this.speed:this.size+=this.speed;}},Qr={default:{gap:5,speed:35,colors:"#71717a,#a1a1aa,#d4d4d8",noFocus:false},blue:{gap:10,speed:25,colors:"#0ea5e9,#38bdf8,#7dd3fc",noFocus:false},yellow:{gap:3,speed:20,colors:"#ca8a04,#eab308,#facc15",noFocus:false},pink:{gap:6,speed:80,colors:"#be123c,#e11d48,#f43f5e",noFocus:true}};function ic(e,t){return e<=0||t?0:e>=100?100*.001:e*.001}function dc({variant:e="default",gap:t,speed:a,colors:o,noFocus:l,className:r="",children:s}){let n=Cn.useRef(null),d=Cn.useRef(null),u=Cn.useRef([]),f=Cn.useRef(null),m=Cn.useRef(typeof performance<"u"?performance.now():0),x=Cn.useRef(typeof window<"u"?window.matchMedia("(prefers-reduced-motion: reduce)").matches:false).current,c=Qr[e]||Qr.default,p=t??c.gap,g=a??c.speed,h=o??c.colors,b=l??c.noFocus,I=()=>{if(!n.current||!d.current)return;let S=n.current.getBoundingClientRect(),P=Math.floor(S.width)||300,T=Math.floor(S.height)||400,A=d.current.getContext("2d");if(!A)return;d.current.width=P,d.current.height=T,d.current.style.width=`${P}px`,d.current.style.height=`${T}px`;let M=h.split(",").map(R=>R.trim()),H=[],F=Math.max(parseInt(p.toString(),10),3);for(let R=0;R<P;R+=F)for(let U=0;U<T;U+=F){let B=M[Math.floor(Math.random()*M.length)],j=R-P/2,qe=U-T/2,Ie=Math.sqrt(j*j+qe*qe),wa=x?0:Ie;H.push(new Xt(d.current,A,R,U,B,ic(g,x),wa));}u.current=H;},L=S=>{f.current=requestAnimationFrame(()=>L(S));let P=performance.now(),T=P-m.current,A=1e3/60;if(T<A)return;m.current=P-T%A;let M=d.current?.getContext("2d");if(!M||!d.current)return;M.clearRect(0,0,d.current.width,d.current.height);let H=true;for(let F=0;F<u.current.length;F++){let R=u.current[F];R[S](),R.isIdle||(H=false);}H&&f.current&&cancelAnimationFrame(f.current);},v=S=>{f.current!==null&&cancelAnimationFrame(f.current),f.current=requestAnimationFrame(()=>L(S));},C=()=>v("appear"),y=()=>v("disappear"),w=S=>{S.currentTarget.contains(S.relatedTarget)||v("appear");},k=S=>{S.currentTarget.contains(S.relatedTarget)||v("disappear");};return Cn.useEffect(()=>{I();let S=new ResizeObserver(()=>{I();});return n.current&&S.observe(n.current),()=>{S.disconnect(),f.current!==null&&cancelAnimationFrame(f.current);}},[p,g,h,b]),jsxRuntime.jsxs("div",{ref:n,className:i("relative overflow-hidden rounded-xl border border-zinc-200 dark:border-zinc-800 bg-zinc-100 dark:bg-zinc-900",r),onMouseEnter:C,onMouseLeave:y,onFocus:b?void 0:w,onBlur:b?void 0:k,tabIndex:b?-1:0,children:[jsxRuntime.jsx("canvas",{className:"absolute inset-0 w-full h-full pointer-events-none",ref:d}),jsxRuntime.jsx("div",{className:"relative z-10",children:s})]})}var $t={damping:30,stiffness:100,mass:2};function mc({imageSrc:e,altText:t="Tilted card image",captionText:a="",containerHeight:o="300px",containerWidth:l="100%",imageHeight:r="300px",imageWidth:s="300px",scaleOnHover:n=1.1,rotateAmplitude:d=14,showMobileWarning:u=false,showTooltip:f=true,overlayContent:m=null,displayOverlayContent:x=false,className:c}){let p=Cn.useRef(null),g=framerMotion.useMotionValue(0),h=framerMotion.useMotionValue(0),b=framerMotion.useSpring(framerMotion.useMotionValue(0),$t),I=framerMotion.useSpring(framerMotion.useMotionValue(0),$t),L=framerMotion.useSpring(1,$t),v=framerMotion.useSpring(0),C=framerMotion.useSpring(0,{stiffness:350,damping:30,mass:1}),[y,w]=Cn.useState(0);function k(T){if(!p.current)return;let A=p.current.getBoundingClientRect(),M=T.clientX-A.left-A.width/2,H=T.clientY-A.top-A.height/2,F=H/(A.height/2)*-d,R=M/(A.width/2)*d;b.set(F),I.set(R),g.set(T.clientX-A.left),h.set(T.clientY-A.top);let U=H-y;C.set(-U*.6),w(H);}function S(){L.set(n),v.set(1);}function P(){v.set(0),L.set(1),b.set(0),I.set(0),C.set(0);}return jsxRuntime.jsxs("figure",{ref:p,className:i("relative flex items-center justify-center [perspective:800px]",c),style:{height:o,width:l},onMouseMove:k,onMouseEnter:S,onMouseLeave:P,children:[u&&jsxRuntime.jsx("div",{className:"absolute top-2 left-2 text-xs text-muted-foreground md:hidden",children:"Best viewed on desktop"}),jsxRuntime.jsxs(framerMotion.motion.div,{className:"relative [transform-style:preserve-3d]",style:{width:s,height:r,rotateX:b,rotateY:I,scale:L},children:[jsxRuntime.jsx(framerMotion.motion.img,{src:e,alt:t,className:"absolute inset-0 w-full h-full object-cover rounded-lg",style:{width:s,height:r}}),x&&m&&jsxRuntime.jsx(framerMotion.motion.div,{className:"absolute inset-0 flex items-center justify-center bg-black/50 rounded-lg",children:m})]}),f&&a&&jsxRuntime.jsx(framerMotion.motion.figcaption,{className:"pointer-events-none absolute px-3 py-1.5 text-sm bg-white dark:bg-zinc-900 rounded-full shadow-lg whitespace-nowrap",style:{x:g,y:h,opacity:v,rotate:C},children:a})]})}function xc({children:e,speed:t=30,direction:a="left",pauseOnHover:o=true,className:l}){let r=Cn.useRef(null),s=Cn.useRef(null);return Cn.useEffect(()=>{if(!r.current||!s.current)return;Array.from(s.current.children).forEach(d=>{let u=d.cloneNode(true);s.current&&s.current.appendChild(u);}),r.current.style.setProperty("--animation-duration",`${t}s`),r.current.style.setProperty("--animation-direction",a==="left"?"forwards":"reverse");},[t,a]),jsxRuntime.jsxs("div",{ref:r,className:i("group relative flex overflow-hidden [mask-image:linear-gradient(to_right,transparent,white_20%,white_80%,transparent)]",l),children:[jsxRuntime.jsx("div",{ref:s,className:i("flex min-w-full shrink-0 gap-4 py-4 w-max flex-nowrap","animate-scroll",o&&"group-hover:[animation-play-state:paused]"),style:{animation:"scroll var(--animation-duration, 30s) var(--animation-direction, forwards) linear infinite"},children:e}),jsxRuntime.jsx("style",{jsx:true,children:`
32
+ `})]})}function xu({className:e,children:t,delay:a=1e3}){let[r,n]=bi.useState(0),o=bi__default.default.Children.toArray(t);bi.useEffect(()=>{let l=setInterval(()=>{n(d=>(d+1)%o.length);},a);return ()=>clearInterval(l)},[o.length,a]);let s=bi.useMemo(()=>o.slice(0,r+1).reverse(),[r,o]);return jsxRuntime.jsx("div",{className:i("flex flex-col items-center gap-4",e),children:jsxRuntime.jsx(framerMotion.AnimatePresence,{children:s.map((l,d)=>jsxRuntime.jsx(Qo,{children:l},d))})})}function Qo({children:e}){return jsxRuntime.jsx(framerMotion.motion.div,{initial:{scale:0,opacity:0},animate:{scale:1,opacity:1},exit:{scale:0,opacity:0},transition:{type:"spring",stiffness:350,damping:40},layout:true,className:"mx-auto w-full",children:e})}function gu({className:e,variant:t="text",width:a,height:r}){return jsxRuntime.jsx("div",{className:i("animate-pulse bg-zinc-200 dark:bg-zinc-800",{text:"h-4 rounded",circular:"rounded-full",rectangular:"rounded-lg"}[t],e),style:{width:a,height:r}})}function Iu({children:e,content:t,position:a="top",className:r}){let[n,o]=bi.useState(false),s={top:"bottom-full left-1/2 -translate-x-1/2 mb-2",bottom:"top-full left-1/2 -translate-x-1/2 mt-2",left:"right-full top-1/2 -translate-y-1/2 mr-2",right:"left-full top-1/2 -translate-y-1/2 ml-2"},l={top:{initial:{opacity:0,y:5},animate:{opacity:1,y:0}},bottom:{initial:{opacity:0,y:-5},animate:{opacity:1,y:0}},left:{initial:{opacity:0,x:5},animate:{opacity:1,x:0}},right:{initial:{opacity:0,x:-5},animate:{opacity:1,x:0}}};return jsxRuntime.jsxs("div",{className:"relative inline-block",onMouseEnter:()=>o(true),onMouseLeave:()=>o(false),children:[e,jsxRuntime.jsx(framerMotion.AnimatePresence,{children:n&&jsxRuntime.jsx(framerMotion.motion.div,{className:i("absolute z-50 px-2 py-1 text-sm text-white bg-zinc-900 dark:bg-zinc-100 dark:text-zinc-900 rounded whitespace-nowrap",s[a],r),initial:l[a].initial,animate:l[a].animate,exit:l[a].initial,transition:{duration:.15},children:t})})]})}function Pu({content:e,children:t,position:a="top",delay:r=300,className:n}){let[o,s]=bi.useState(false),l=bi.useRef(void 0),d=()=>{l.current=setTimeout(()=>s(true),r);},u=()=>{l.current&&clearTimeout(l.current),s(false);},c=()=>({top:"bottom-full left-1/2 -translate-x-1/2 mb-2",bottom:"top-full left-1/2 -translate-x-1/2 mt-2",left:"right-full top-1/2 -translate-y-1/2 mr-2",right:"left-full top-1/2 -translate-y-1/2 ml-2"})[a];return jsxRuntime.jsxs("div",{className:i("relative inline-block",n),onMouseEnter:d,onMouseLeave:u,children:[t,jsxRuntime.jsx(framerMotion.AnimatePresence,{children:o&&jsxRuntime.jsx(framerMotion.motion.div,{initial:{opacity:0,scale:.95},animate:{opacity:1,scale:1},exit:{opacity:0,scale:.95},transition:{duration:.15},className:i("absolute z-50 px-3 py-2 text-sm bg-popover border border-border rounded-lg shadow-md whitespace-nowrap",c()),children:e})})]})}function Bu({content:e,children:t,position:a="top",delay:r=200,animation:n="slide",className:o}){let[s,l]=bi.useState(false),d=bi.useRef(void 0),u=()=>{d.current=setTimeout(()=>l(true),r);},c=()=>{d.current&&clearTimeout(d.current),l(false);},p=()=>({top:"bottom-full left-1/2 -translate-x-1/2 mb-3",bottom:"top-full left-1/2 -translate-x-1/2 mt-3",left:"right-full top-1/2 -translate-y-1/2 mr-3",right:"left-full top-1/2 -translate-y-1/2 ml-3"})[a],x=()=>{let m={top:{y:10},bottom:{y:-10},left:{x:10},right:{x:-10}},{x:g=0,y:h=0}=m[a];return {...{fade:{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0}},scale:{initial:{opacity:0,scale:.8},animate:{opacity:1,scale:1},exit:{opacity:0,scale:.8}},bounce:{initial:{opacity:0,scale:.3,y:a==="top"?10:-10},animate:{opacity:1,scale:1,y:0},exit:{opacity:0,scale:.3,y:a==="top"?10:-10}},slide:{initial:{opacity:0,x:g,y:h},animate:{opacity:1,x:0,y:0},exit:{opacity:0,x:g,y:h}}}[n],transition:{type:"spring",stiffness:300,damping:25}}};return jsxRuntime.jsxs("div",{className:i("relative inline-block",o),onMouseEnter:u,onMouseLeave:c,children:[t,jsxRuntime.jsx(framerMotion.AnimatePresence,{children:s&&jsxRuntime.jsx(framerMotion.motion.div,{...x(),className:i("absolute z-50 px-4 py-2 text-sm bg-popover border border-border rounded-xl shadow-lg whitespace-nowrap backdrop-blur-sm",p()),children:e})})]})}var Fu={default:"bg-zinc-100 text-zinc-900 dark:bg-zinc-800 dark:text-zinc-100",success:"bg-green-100 text-green-800 dark:bg-green-900/30 dark:text-green-400",warning:"bg-yellow-100 text-yellow-800 dark:bg-yellow-900/30 dark:text-yellow-400",danger:"bg-red-100 text-red-800 dark:bg-red-900/30 dark:text-red-400",info:"bg-blue-100 text-blue-800 dark:bg-blue-900/30 dark:text-blue-400"},zu={sm:"px-2 py-0.5 text-xs",md:"px-2.5 py-1 text-sm",lg:"px-3 py-1.5 text-base"};function Hu({children:e,variant:t="default",size:a="md",className:r}){return jsxRuntime.jsx("span",{className:i("inline-flex items-center font-medium rounded-full",Fu[t],zu[a],r),children:e})}var qu={sm:"w-8 h-8 text-xs",md:"w-10 h-10 text-sm",lg:"w-12 h-12 text-base",xl:"w-16 h-16 text-lg"};function Ou({src:e,alt:t="",fallback:a,size:r="md",className:n}){let o=a||t.split(" ").map(s=>s[0]).join("").slice(0,2).toUpperCase();return jsxRuntime.jsx("div",{className:i("relative inline-flex items-center justify-center rounded-full bg-zinc-200 dark:bg-zinc-800 overflow-hidden",qu[r],n),children:e?jsxRuntime.jsx("img",{src:e,alt:t,className:"w-full h-full object-cover"}):jsxRuntime.jsx("span",{className:"font-medium text-zinc-600 dark:text-zinc-400",children:o})})}function Gu({value:e,max:t=100,className:a,color:r="bg-blue-500",showLabel:n=false}){let o=Math.min(Math.max(e/t*100,0),100);return jsxRuntime.jsxs("div",{className:i("w-full",a),children:[jsxRuntime.jsx("div",{className:"h-2 w-full overflow-hidden rounded-full bg-zinc-200 dark:bg-zinc-800",children:jsxRuntime.jsx(framerMotion.motion.div,{className:i("h-full rounded-full",r),initial:{width:0},animate:{width:`${o}%`},transition:{duration:.5,ease:"easeOut"}})}),n&&jsxRuntime.jsxs("span",{className:"mt-1 text-sm text-zinc-600 dark:text-zinc-400",children:[Math.round(o),"%"]})]})}var Wu={sm:{track:"w-8 h-4",thumb:"w-3 h-3",translate:16},md:{track:"w-11 h-6",thumb:"w-5 h-5",translate:20},lg:{track:"w-14 h-7",thumb:"w-6 h-6",translate:28}};function _u({checked:e=false,onChange:t,disabled:a=false,size:r="md",className:n}){let o=Wu[r];return jsxRuntime.jsx("button",{type:"button",role:"switch","aria-checked":e,disabled:a,onClick:()=>t?.(!e),className:i("relative inline-flex shrink-0 cursor-pointer rounded-full transition-colors",e?"bg-blue-500":"bg-zinc-300 dark:bg-zinc-700",a&&"opacity-50 cursor-not-allowed",o.track,n),children:jsxRuntime.jsx(framerMotion.motion.span,{className:i("pointer-events-none inline-block rounded-full bg-white shadow-lg",o.thumb),animate:{x:e?o.translate:2},transition:{type:"spring",stiffness:500,damping:30},style:{marginTop:2}})})}function Yu({items:e,className:t,allowMultiple:a=false}){let[r,n]=bi.useState([]),o=s=>{n(a?l=>l.includes(s)?l.filter(d=>d!==s):[...l,s]:l=>l.includes(s)?[]:[s]);};return jsxRuntime.jsx("div",{className:i("w-full space-y-2",t),children:e.map((s,l)=>jsxRuntime.jsxs("div",{className:"border border-zinc-200 dark:border-zinc-800 rounded-lg overflow-hidden",children:[jsxRuntime.jsxs("button",{onClick:()=>o(l),className:"w-full px-4 py-3 flex items-center justify-between text-left bg-zinc-50 dark:bg-zinc-900 hover:bg-zinc-100 dark:hover:bg-zinc-800 transition-colors",children:[jsxRuntime.jsx("span",{className:"font-medium",children:s.title}),jsxRuntime.jsx(framerMotion.motion.svg,{animate:{rotate:r.includes(l)?180:0},transition:{duration:.2},className:"w-5 h-5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:jsxRuntime.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M19 9l-7 7-7-7"})})]}),jsxRuntime.jsx(framerMotion.AnimatePresence,{children:r.includes(l)&&jsxRuntime.jsx(framerMotion.motion.div,{initial:{height:0,opacity:0},animate:{height:"auto",opacity:1},exit:{height:0,opacity:0},transition:{duration:.2},children:jsxRuntime.jsx("div",{className:"px-4 py-3 bg-white dark:bg-zinc-950",children:s.content})})})]},l))})}function Ju({tabs:e,className:t,defaultIndex:a=0}){let[r,n]=bi.useState(a);return jsxRuntime.jsxs("div",{className:i("w-full",t),children:[jsxRuntime.jsx("div",{className:"relative flex border-b border-zinc-200 dark:border-zinc-800",children:e.map((o,s)=>jsxRuntime.jsxs("button",{onClick:()=>n(s),className:i("px-4 py-2 text-sm font-medium transition-colors relative",r===s?"text-zinc-900 dark:text-white":"text-zinc-500 hover:text-zinc-700 dark:text-zinc-400 dark:hover:text-zinc-200"),children:[o.label,r===s&&jsxRuntime.jsx(framerMotion.motion.div,{layoutId:"activeTab",className:"absolute bottom-0 left-0 right-0 h-0.5 bg-zinc-900 dark:bg-white",transition:{type:"spring",stiffness:500,damping:30}})]},s))}),jsxRuntime.jsx(framerMotion.motion.div,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},transition:{duration:.2},className:"py-4",children:e[r].content},r)]})}function ju({isOpen:e,onClose:t,children:a,className:r,title:n}){return bi.useEffect(()=>{let o=s=>{s.key==="Escape"&&t();};return e&&(document.addEventListener("keydown",o),document.body.style.overflow="hidden"),()=>{document.removeEventListener("keydown",o),document.body.style.overflow="unset";}},[e,t]),jsxRuntime.jsx(framerMotion.AnimatePresence,{children:e&&jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[jsxRuntime.jsx(framerMotion.motion.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},onClick:t,className:"fixed inset-0 bg-black/50 z-50"}),jsxRuntime.jsxs(framerMotion.motion.div,{initial:{opacity:0,scale:.95,y:20},animate:{opacity:1,scale:1,y:0},exit:{opacity:0,scale:.95,y:20},transition:{type:"spring",damping:25,stiffness:300},className:i("fixed left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2 z-50","w-full max-w-md p-6 rounded-xl","bg-white dark:bg-zinc-900","shadow-xl",r),children:[n&&jsxRuntime.jsxs("div",{className:"flex items-center justify-between mb-4",children:[jsxRuntime.jsx("h2",{className:"text-lg font-semibold",children:n}),jsxRuntime.jsx("button",{onClick:t,className:"p-1 rounded-lg hover:bg-zinc-100 dark:hover:bg-zinc-800 transition-colors",children:jsxRuntime.jsx("svg",{className:"w-5 h-5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:jsxRuntime.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M6 18L18 6M6 6l12 12"})})})]}),a]})]})})}function rc({isOpen:e,onClose:t,children:a,className:r,position:n="right"}){bi.useEffect(()=>{let l=d=>{d.key==="Escape"&&t();};return e&&(document.addEventListener("keydown",l),document.body.style.overflow="hidden"),()=>{document.removeEventListener("keydown",l),document.body.style.overflow="unset";}},[e,t]);let o={left:{initial:{x:"-100%"},animate:{x:0},exit:{x:"-100%"}},right:{initial:{x:"100%"},animate:{x:0},exit:{x:"100%"}},bottom:{initial:{y:"100%"},animate:{y:0},exit:{y:"100%"}}},s={left:"left-0 top-0 h-full w-80",right:"right-0 top-0 h-full w-80",bottom:"bottom-0 left-0 right-0 h-auto max-h-[80vh]"};return jsxRuntime.jsx(framerMotion.AnimatePresence,{children:e&&jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[jsxRuntime.jsx(framerMotion.motion.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},onClick:t,className:"fixed inset-0 bg-black/50 z-50"}),jsxRuntime.jsxs(framerMotion.motion.div,{initial:o[n].initial,animate:o[n].animate,exit:o[n].exit,transition:{type:"spring",damping:25,stiffness:300},className:i("fixed z-50 p-6","bg-white dark:bg-zinc-900","shadow-xl",s[n],r),children:[jsxRuntime.jsx("button",{onClick:t,className:"absolute top-4 right-4 p-1 rounded-lg hover:bg-zinc-100 dark:hover:bg-zinc-800 transition-colors",children:jsxRuntime.jsx("svg",{className:"w-5 h-5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:jsxRuntime.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M6 18L18 6M6 6l12 12"})})}),a]})]})})}function nc({className:e="",close:t=false,children:a,onClose:r}){let[n,o]=bi__default.default.useState(true);if(!n)return null;let s=()=>{o(false),r?.();};return jsxRuntime.jsx("div",{className:i("min-h-[400px] w-full flex items-center justify-center p-4",e),children:jsxRuntime.jsx("div",{className:"flex flex-col items-center w-full lg:max-w-[75%] gap-6",children:jsxRuntime.jsxs("div",{className:"relative flex items-center gap-3 rounded-lg border border-zinc-300 dark:border-zinc-700 bg-transparent px-4 py-3 shadow-sm w-full max-w-md transition-all duration-200",children:[a,t&&jsxRuntime.jsx("button",{onClick:s,className:"absolute top-2 right-2 text-gray-500 hover:text-gray-700 dark:text-white/60 dark:hover:text-white transition-colors",children:jsxRuntime.jsx("svg",{className:"h-4 w-4",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:jsxRuntime.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M6 18L18 6M6 6l12 12"})})})]})})})}function lc({children:e,className:t}){return jsxRuntime.jsx("div",{className:i("text-primary flex-shrink-0",t),children:e})}function ic({children:e,className:t}){return jsxRuntime.jsx("span",{className:i("text-foreground font-medium text-sm flex-1",t),children:e})}function dc({children:e,className:t}){return jsxRuntime.jsx("div",{className:i("flex items-center gap-2",t),children:e})}function cc({children:e,className:t,title:a="Terminal"}){return jsxRuntime.jsxs("div",{className:i("relative w-full max-w-2xl mx-auto bg-zinc-100 dark:bg-black rounded-lg overflow-hidden shadow-2xl","border border-zinc-300 dark:border-gray-800",t),children:[jsxRuntime.jsxs("div",{className:"flex items-center justify-between px-4 py-3 bg-zinc-200 dark:bg-gray-800 border-b border-zinc-300 dark:border-gray-700",children:[jsxRuntime.jsxs("div",{className:"flex items-center space-x-2",children:[jsxRuntime.jsx("div",{className:"w-3 h-3 bg-red-500 rounded-full"}),jsxRuntime.jsx("div",{className:"w-3 h-3 bg-yellow-500 rounded-full"}),jsxRuntime.jsx("div",{className:"w-3 h-3 bg-green-500 rounded-full"})]}),jsxRuntime.jsx("div",{className:"text-zinc-600 dark:text-gray-400 text-sm font-mono",children:a}),jsxRuntime.jsx("div",{className:"w-16"})]}),jsxRuntime.jsx("div",{className:"p-4 font-mono text-sm leading-relaxed space-y-2 min-h-[300px] bg-zinc-100 dark:bg-black text-zinc-900 dark:text-white",children:e})]})}function fc({children:e,className:t,delay:a=0,speed:r=50}){let[n,o]=bi.useState(""),[s,l]=bi.useState(false);return bi.useEffect(()=>{let d=setTimeout(()=>{let u=0,c=setInterval(()=>{u<=e.length?(o(e.slice(0,u)),u++):(l(true),clearInterval(c));},r);return ()=>clearInterval(c)},a);return ()=>clearTimeout(d)},[e,a,r]),jsxRuntime.jsxs("div",{className:i("flex items-center",t),children:[jsxRuntime.jsx("span",{children:n}),!s&&jsxRuntime.jsx("span",{className:"ml-1 animate-pulse bg-white w-2 h-4 inline-block"})]})}function mc({children:e,className:t,delay:a=0}){let[r,n]=bi.useState(false);return bi.useEffect(()=>{let o=setTimeout(()=>{n(true);},a);return ()=>clearTimeout(o)},[a]),jsxRuntime.jsx("div",{className:i("transition-all duration-500 transform",r?"opacity-100 translate-y-0":"opacity-0 translate-y-2",t),children:e})}function Lc({children:e,initialStep:t=1,onStepChange:a=()=>{},onFinalStepCompleted:r=()=>{},backButtonText:n="Back",nextButtonText:o="Continue",disableStepIndicators:s=false,className:l,...d}){let[u,c]=bi.useState(t),[p,x]=bi.useState(0),f=bi.Children.toArray(e),m=f.length,g=u>m,h=u===m,L=y=>{c(y),y>m?r():a(y);},v=()=>{u>1&&(x(-1),L(u-1));},b=()=>{h||(x(1),L(u+1));},I=()=>{x(1),L(m+1);};return jsxRuntime.jsxs("div",{className:i("w-full max-w-md mx-auto",l),...d,children:[jsxRuntime.jsx("div",{className:"flex items-center justify-between mb-8",children:f.map((y,w)=>{let C=w+1,N=w<m-1;return jsxRuntime.jsxs(bi__default.default.Fragment,{children:[jsxRuntime.jsx(Cc,{step:C,disableStepIndicators:s,currentStep:u,onClickStep:S=>{x(S>u?1:-1),L(S);}}),N&&jsxRuntime.jsx(wc,{isComplete:u>C})]},C)})}),jsxRuntime.jsx(vc,{isCompleted:g,currentStep:u,direction:p,children:f[u-1]}),!g&&jsxRuntime.jsxs("div",{className:i("flex mt-8",u!==1?"justify-between":"justify-end"),children:[u!==1&&jsxRuntime.jsx("button",{onClick:v,className:"px-4 py-2 text-sm font-medium text-zinc-400 hover:text-white transition-colors rounded-lg hover:bg-zinc-800",children:n}),jsxRuntime.jsx("button",{onClick:h?I:b,className:"px-4 py-2 text-sm font-medium bg-white text-black rounded-lg hover:bg-zinc-200 transition-colors",children:h?"Complete":o})]})]})}function vc({isCompleted:e,currentStep:t,direction:a,children:r}){let[n,o]=bi.useState(0);return jsxRuntime.jsx(framerMotion.motion.div,{className:"relative overflow-hidden",animate:{height:e?0:n},transition:{type:"spring",duration:.4},children:jsxRuntime.jsx(framerMotion.AnimatePresence,{initial:false,mode:"sync",custom:a,children:!e&&jsxRuntime.jsx(Ic,{direction:a,onHeightReady:s=>o(s),children:r},t)})})}function Ic({children:e,direction:t,onHeightReady:a}){let r=bi.useRef(null);bi.useLayoutEffect(()=>{r.current&&a(r.current.offsetHeight);},[e,a]);let n={enter:o=>({x:o>=0?"-100%":"100%",opacity:0}),center:{x:"0%",opacity:1},exit:o=>({x:o>=0?"50%":"-50%",opacity:0})};return jsxRuntime.jsx(framerMotion.motion.div,{ref:r,custom:t,variants:n,initial:"enter",animate:"center",exit:"exit",transition:{duration:.4},className:"absolute left-0 right-0 top-0",children:e})}function yc({children:e}){return jsxRuntime.jsx("div",{className:"p-4 rounded-lg bg-zinc-900 border border-zinc-800",children:e})}function Cc({step:e,currentStep:t,onClickStep:a,disableStepIndicators:r}){let n=t===e?"active":t<e?"inactive":"complete",o=()=>{e!==t&&!r&&a(e);};return jsxRuntime.jsx(framerMotion.motion.button,{onClick:o,disabled:r,className:i("relative flex items-center justify-center w-10 h-10 rounded-full text-sm font-medium transition-all",n==="inactive"&&"bg-zinc-800 text-zinc-500 border border-zinc-700",n==="active"&&"bg-white text-black border-2 border-white",n==="complete"&&"bg-white text-black border-2 border-white",!r&&"cursor-pointer hover:opacity-80"),animate:n,initial:false,children:n==="complete"?jsxRuntime.jsx("svg",{className:"w-5 h-5",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:2.5,children:jsxRuntime.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M5 13l4 4L19 7"})}):jsxRuntime.jsx("span",{children:e})})}function wc({isComplete:e}){return jsxRuntime.jsx("div",{className:"flex-1 h-[2px] mx-2 bg-zinc-800 rounded-full overflow-hidden",children:jsxRuntime.jsx(framerMotion.motion.div,{className:"h-full bg-white rounded-full",initial:{width:0},animate:{width:e?"100%":"0%"},transition:{duration:.4}})})}var ps=bi.createContext(null),xs=()=>{let e=bi.useContext(ps);if(!e)throw new Error("useTree must be used within a TreeProvider");return e},gs=bi.forwardRef(({data:e,initialSelectedId:t,onSelectChange:a,initialExpandedItems:r=[],elements:n,className:o,...s},l)=>{let[d,u]=bi.useState(t),[c,p]=bi.useState(r),x=bi.useCallback(g=>{p(h=>h.includes(g)?h.filter(L=>L!==g):[...h,g]);},[]),f=bi.useCallback(g=>{let h=e||n||[],L=Array.isArray(h)?h:[h],v=I=>{for(let y of I){if(y.id===g)return y;if(y.children){let w=v(y.children);if(w)return w}}},b=v(L);b?.isSelectable&&(u(g),a?.(b));},[e,n,a]),m={selectedId:d,expandedItems:c,handleExpand:x,handleSelect:f,data:e||n||[]};return jsxRuntime.jsx(ps.Provider,{value:m,children:jsxRuntime.jsx("div",{className:i("relative overflow-hidden",o),ref:l,...s,children:bi__default.default.Children.map(s.children,g=>g)})})});gs.displayName="Tree";var hs=bi.forwardRef(({className:e,element:t,value:a,isSelectable:r=true,children:n,...o},s)=>{let{selectedId:l,expandedItems:d,handleExpand:u,handleSelect:c}=xs();return jsxRuntime.jsxs("div",{ref:s,className:"relative",...o,children:[jsxRuntime.jsxs("div",{className:i("flex cursor-pointer items-center gap-1 rounded-md px-2 py-1 text-sm hover:bg-muted",l===a&&"bg-muted",e),onClick:()=>{u(a),r&&c(a);},children:[jsxRuntime.jsx("svg",{className:i("h-4 w-4 shrink-0 transition-transform duration-200",d.includes(a)&&"rotate-90"),fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:jsxRuntime.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M9 5l7 7-7 7"})}),jsxRuntime.jsx("svg",{className:"h-4 w-4 shrink-0",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:jsxRuntime.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M3 7v10a2 2 0 002 2h14a2 2 0 002-2V9a2 2 0 00-2-2h-6l-2-2H5a2 2 0 00-2 2z"})}),jsxRuntime.jsx("span",{className:"truncate",children:t})]}),d.includes(a)&&jsxRuntime.jsx("div",{className:"ml-4 border-l border-muted pl-2",children:n})]})});hs.displayName="Folder";var bs=bi.forwardRef(({className:e,value:t,isSelectable:a=true,children:r,...n},o)=>{let{selectedId:s,handleSelect:l}=xs();return jsxRuntime.jsxs("div",{ref:o,className:i("flex cursor-pointer items-center gap-1 rounded-md px-2 py-1 text-sm hover:bg-muted",s===t&&"bg-muted",e),onClick:()=>a&&l(t),...n,children:[jsxRuntime.jsx("svg",{className:"h-4 w-4 shrink-0",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:jsxRuntime.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M9 12h6m-6 4h6m2 5H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z"})}),jsxRuntime.jsx("div",{className:"truncate",children:r})]})});bs.displayName="File";function Ac({mv:e,number:t,height:a}){let r=framerMotion.useTransform(e,n=>{let o=n%10,s=(10+t-o)%10,l=s*a;return s>5&&(l-=10*a),l});return jsxRuntime.jsx(framerMotion.motion.span,{style:{y:r,position:"absolute",inset:0,display:"flex",justifyContent:"center"},children:t})}function Bc({place:e,value:t,height:a,digitStyle:r}){let n=Math.floor(t/e),o=framerMotion.useSpring(n,{stiffness:200,damping:25});return bi.useEffect(()=>{o.set(n);},[o,n]),jsxRuntime.jsx("div",{style:{height:a,position:"relative",overflow:"hidden",...r},children:Array.from({length:10},(s,l)=>jsxRuntime.jsx(Ac,{mv:o,number:l,height:a},l))})}function Dc({value:e,fontSize:t=100,padding:a=0,places:r=[100,10,1],gap:n=8,textColor:o="#000000",fontWeight:s=900,containerStyle:l,digitStyle:d}){let u=t+a;return jsxRuntime.jsx("div",{style:{display:"flex",gap:n,fontSize:t,color:o,fontWeight:s,...l},children:r.map(c=>jsxRuntime.jsx(Bc,{place:c,value:e,height:u,digitStyle:d},c))})}var Hc={initial:{gap:0,paddingLeft:".5rem",paddingRight:".5rem"},animate:e=>({gap:e?".5rem":0,paddingLeft:e?"1rem":".5rem",paddingRight:e?"1rem":".5rem"})},Ec={initial:{width:0,opacity:0},animate:{width:"auto",opacity:1},exit:{width:0,opacity:0}},vs={type:"spring",bounce:0,duration:.4};function qc({className:e,items:t,defaultSelected:a,onItemClick:r}){let[n,o]=bi.useState(a||null),s=l=>{o(n===l?null:l),r?.(l);};return jsxRuntime.jsx("div",{className:i("flex items-center gap-3 p-2 relative","bg-background border rounded-xl transition-all duration-200",e),children:jsxRuntime.jsx("div",{className:"flex items-center gap-2",children:t.map(l=>jsxRuntime.jsxs(framerMotion.motion.button,{variants:Hc,initial:false,animate:"animate",custom:n===l.id,onClick:()=>s(l.id),transition:vs,className:i("relative flex items-center rounded-none px-3 py-2","text-sm font-medium transition-colors duration-300",n===l.id?"bg-[#1F9CFE] text-white rounded-lg":"text-muted-foreground hover:bg-muted hover:text-foreground"),children:[l.icon,jsxRuntime.jsx(framerMotion.AnimatePresence,{initial:false,children:n===l.id&&jsxRuntime.jsx(framerMotion.motion.span,{variants:Ec,initial:"initial",animate:"animate",exit:"exit",transition:vs,className:"overflow-hidden",children:l.title})})]},l.id))})})}function _c({className:e,children:t,direction:a="middle"}){let r={top:"items-start",middle:"items-center",bottom:"items-end"};return jsxRuntime.jsx(framerMotion.motion.div,{className:i("mx-auto w-max mt-8 h-[58px] p-2 flex gap-2 rounded-2xl border","supports-backdrop-blur:bg-white/10 supports-backdrop-blur:dark:bg-black/10 backdrop-blur-md","border-gray-200 bg-gray-50/80 dark:border-gray-800 dark:bg-gray-900/80",r[a],e),children:t})}function Xc({size:e=40,magnification:t=60,distance:a=140,children:r,className:n}){let o=bi.useRef(null),s=framerMotion.useMotionValue(1/0),l=framerMotion.useSpring(framerMotion.useTransform(s,[-a,0,a],[e,t,e]),{mass:.1,stiffness:150,damping:12});return jsxRuntime.jsx(framerMotion.motion.div,{ref:o,style:{width:l},onMouseMove:d=>s.set(d.pageX-o.current.offsetLeft-l.get()/2),onMouseLeave:()=>s.set(1/0),className:i("flex aspect-square cursor-pointer items-center justify-center rounded-full",n),children:r})}var ws=bi.forwardRef(({className:e,label:t,error:a,icon:r,...n},o)=>jsxRuntime.jsxs("div",{className:"w-full",children:[t&&jsxRuntime.jsx("label",{className:"block text-sm font-medium text-zinc-700 dark:text-zinc-300 mb-1",children:t}),jsxRuntime.jsxs("div",{className:"relative",children:[r&&jsxRuntime.jsx("div",{className:"absolute left-3 top-1/2 -translate-y-1/2 text-zinc-400",children:r}),jsxRuntime.jsx("input",{ref:o,className:i("w-full px-4 py-2 rounded-lg","bg-white dark:bg-zinc-900","border border-zinc-300 dark:border-zinc-700","text-zinc-900 dark:text-zinc-100","placeholder:text-zinc-400 dark:placeholder:text-zinc-500","focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-transparent","transition-all duration-200",r&&"pl-10",a&&"border-red-500 focus:ring-red-500",e),...n})]}),a&&jsxRuntime.jsx("p",{className:"mt-1 text-sm text-red-500",children:a})]}));ws.displayName="Input";var ks=bi.forwardRef(({className:e,label:t,error:a,...r},n)=>jsxRuntime.jsxs("div",{className:"w-full",children:[t&&jsxRuntime.jsx("label",{className:"block text-sm font-medium text-zinc-700 dark:text-zinc-300 mb-1",children:t}),jsxRuntime.jsx("textarea",{ref:n,className:i("w-full px-4 py-2 rounded-lg min-h-[100px] resize-y","bg-white dark:bg-zinc-900","border border-zinc-300 dark:border-zinc-700","text-zinc-900 dark:text-zinc-100","placeholder:text-zinc-400 dark:placeholder:text-zinc-500","focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-transparent","transition-all duration-200",a&&"border-red-500 focus:ring-red-500",e),...r}),a&&jsxRuntime.jsx("p",{className:"mt-1 text-sm text-red-500",children:a})]}));ks.displayName="Textarea";function Qc({checked:e=false,onChange:t,label:a,disabled:r=false,className:n}){return jsxRuntime.jsxs("label",{className:i("inline-flex items-center gap-2 cursor-pointer",r&&"opacity-50 cursor-not-allowed",n),children:[jsxRuntime.jsx("button",{type:"button",role:"checkbox","aria-checked":e,disabled:r,onClick:()=>t?.(!e),className:i("w-5 h-5 rounded border-2 flex items-center justify-center transition-colors",e?"bg-blue-500 border-blue-500":"bg-transparent border-zinc-300 dark:border-zinc-600"),children:jsxRuntime.jsx(framerMotion.motion.svg,{initial:false,animate:{scale:e?1:0,opacity:e?1:0},transition:{duration:.15},className:"w-3 h-3 text-white",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:jsxRuntime.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:3,d:"M5 13l4 4L19 7"})})}),a&&jsxRuntime.jsx("span",{className:"text-sm",children:a})]})}function ef({options:e,value:t,onChange:a,name:r,className:n,direction:o="vertical"}){return jsxRuntime.jsx("div",{className:i("flex gap-3",o==="vertical"?"flex-col":"flex-row flex-wrap",n),children:e.map(s=>jsxRuntime.jsxs("label",{className:"inline-flex items-center gap-2 cursor-pointer",children:[jsxRuntime.jsx("button",{type:"button",role:"radio","aria-checked":t===s.value,onClick:()=>a?.(s.value),className:i("w-5 h-5 rounded-full border-2 flex items-center justify-center transition-colors",t===s.value?"border-blue-500":"border-zinc-300 dark:border-zinc-600"),children:jsxRuntime.jsx(framerMotion.motion.div,{initial:false,animate:{scale:t===s.value?1:0,opacity:t===s.value?1:0},transition:{duration:.15},className:"w-2.5 h-2.5 rounded-full bg-blue-500"})}),jsxRuntime.jsx("span",{className:"text-sm",children:s.label})]},s.value))})}function nf({options:e,value:t,onChange:a,placeholder:r="Select...",className:n,label:o}){let[s,l]=bi.useState(false),d=bi.useRef(null),u=e.find(c=>c.value===t);return bi.useEffect(()=>{let c=p=>{d.current&&!d.current.contains(p.target)&&l(false);};return document.addEventListener("mousedown",c),()=>document.removeEventListener("mousedown",c)},[]),jsxRuntime.jsxs("div",{className:"w-full",children:[o&&jsxRuntime.jsx("label",{className:"block text-sm font-medium text-zinc-700 dark:text-zinc-300 mb-1",children:o}),jsxRuntime.jsxs("div",{ref:d,className:i("relative",n),children:[jsxRuntime.jsxs("button",{type:"button",onClick:()=>l(!s),className:i("w-full px-4 py-2 rounded-lg text-left","bg-white dark:bg-zinc-900","border border-zinc-300 dark:border-zinc-700","flex items-center justify-between","focus:outline-none focus:ring-2 focus:ring-blue-500","transition-all duration-200"),children:[jsxRuntime.jsx("span",{className:u?"":"text-zinc-400",children:u?.label||r}),jsxRuntime.jsx(framerMotion.motion.svg,{animate:{rotate:s?180:0},transition:{duration:.2},className:"w-5 h-5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:jsxRuntime.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M19 9l-7 7-7-7"})})]}),jsxRuntime.jsx(framerMotion.AnimatePresence,{children:s&&jsxRuntime.jsx(framerMotion.motion.div,{initial:{opacity:0,y:-10},animate:{opacity:1,y:0},exit:{opacity:0,y:-10},transition:{duration:.15},className:i("absolute z-50 w-full mt-1 rounded-lg overflow-hidden","bg-white dark:bg-zinc-900","border border-zinc-300 dark:border-zinc-700","shadow-lg"),children:e.map(c=>jsxRuntime.jsx("button",{type:"button",onClick:()=>{a?.(c.value),l(false);},className:i("w-full px-4 py-2 text-left","hover:bg-zinc-100 dark:hover:bg-zinc-800","transition-colors",t===c.value&&"bg-blue-50 dark:bg-blue-900/20 text-blue-600"),children:c.label},c.value))})})]})]})}function cf({maxLength:e=6,onComplete:t,onChange:a,className:r=""}){let[n,o]=bi.useState(new Array(e).fill("")),s=bi.useRef([]);bi.useEffect(()=>{let c=n.join("");a?.(c),c.length===e&&t?.(c);},[n,e,a,t]);let l=(c,p)=>{if(p.length>1){let x=p.slice(0,e).split(""),f=[...n];x.forEach((g,h)=>{c+h<e&&(f[c+h]=g);}),o(f);let m=Math.min(c+x.length,e-1);s.current[m]?.focus();return}if(/^\d*$/.test(p)){let x=[...n];x[c]=p,o(x),p&&c<e-1&&s.current[c+1]?.focus();}},d=(c,p)=>{if(p.key==="Backspace")if(!n[c]&&c>0)s.current[c-1]?.focus();else {let x=[...n];x[c]="",o(x);}else p.key==="ArrowLeft"&&c>0?s.current[c-1]?.focus():p.key==="ArrowRight"&&c<e-1&&s.current[c+1]?.focus();},u=c=>{s.current[c]?.select();};return jsxRuntime.jsx("div",{className:i("flex items-center gap-2",r),children:n.map((c,p)=>jsxRuntime.jsx("input",{ref:x=>{s.current[p]=x;},type:"text",inputMode:"numeric",maxLength:1,value:c,onChange:x=>l(p,x.target.value),onKeyDown:x=>d(p,x),onFocus:()=>u(p),className:i("w-12 h-12 text-center text-lg font-semibold","border-2 border-zinc-300 dark:border-zinc-600 rounded-md","focus:border-zinc-900 dark:focus:border-white focus:outline-none","bg-white dark:bg-zinc-800 text-zinc-900 dark:text-white","transition-colors")},p))})}function mf({className:e,onChange:t}){let[a,r]=bi.useState(false),n=()=>{let o=!a;r(o),t?.(o);};return jsxRuntime.jsxs("label",{className:i("relative w-10 h-8 bg-transparent cursor-pointer block",e),htmlFor:"burger-basic",children:[jsxRuntime.jsx("input",{type:"checkbox",id:"burger-basic",className:"hidden",checked:a,onChange:n}),jsxRuntime.jsx("span",{className:i("block absolute h-1 w-full bg-black dark:bg-white rounded-lg opacity-100 left-0 transition-all duration-250 ease-in-out","top-0 origin-left",a&&"rotate-45 top-0 left-1.5")}),jsxRuntime.jsx("span",{className:i("block absolute h-1 w-full bg-black dark:bg-white rounded-lg opacity-100 left-0 transition-all duration-250 ease-in-out","top-1/2 -translate-y-1/2 origin-left",a&&"w-0 opacity-0")}),jsxRuntime.jsx("span",{className:i("block absolute h-1 w-full bg-black dark:bg-white rounded-lg opacity-100 left-0 transition-all duration-250 ease-in-out","top-full -translate-y-full origin-left",a&&"-rotate-45 top-7 left-1.5")})]})}function gf({className:e,onChange:t}){let[a,r]=bi.useState(false),n=()=>{let o=!a;r(o),t?.(o);};return jsxRuntime.jsxs("div",{className:i("inline-block",e),children:[jsxRuntime.jsx("input",{type:"checkbox",id:"checkbox-spin",className:"hidden",checked:a,onChange:n}),jsxRuntime.jsxs("label",{htmlFor:"checkbox-spin",className:i("relative w-10 h-10 cursor-pointer flex flex-col items-center justify-center gap-2.5 transition-all duration-500",a&&"rotate-180"),children:[jsxRuntime.jsx("div",{className:i("w-full h-1 bg-black dark:bg-white rounded-md transition-all duration-500 origin-center",a&&"scale-x-[0.6] translate-y-[1px]")}),jsxRuntime.jsx("div",{className:i("w-full h-1 bg-black dark:bg-white rounded-md transition-all duration-500 origin-center",a&&"rotate-90 scale-x-[1.2]")}),jsxRuntime.jsx("div",{className:i("w-full h-1 bg-black dark:bg-white rounded-md transition-all duration-500 origin-center",a&&"scale-x-[0.6] -translate-y-[1px]")})]})]})}function bf(...e){return e.filter(Boolean).join(" ")}function Lf({className:e,onChange:t}){let[a,r]=bi.useState(false);return jsxRuntime.jsxs("button",{onClick:()=>{let o=!a;r(o),t?.(o);},className:bf("relative w-12 h-12 bg-transparent cursor-pointer flex flex-col items-center justify-center gap-2",e),"aria-label":"Toggle menu",children:[jsxRuntime.jsx(framerMotion.motion.div,{className:"w-full h-1 bg-black dark:bg-white rounded-full origin-center",animate:a?{scaleX:0}:{scaleX:1},transition:{duration:.3,type:"spring",stiffness:400,damping:30}}),jsxRuntime.jsx(framerMotion.motion.div,{className:"w-full h-1 bg-black dark:bg-white rounded-full origin-center",animate:a?{scaleX:1.2}:{scaleX:1},transition:{duration:.4,type:"spring",stiffness:200,damping:20}}),jsxRuntime.jsx(framerMotion.motion.div,{className:"w-full h-1 bg-black dark:bg-white rounded-full origin-center",animate:a?{scaleX:0}:{scaleX:1},transition:{duration:.3,delay:.05,type:"spring",stiffness:400,damping:30}})]})}function yf(...e){return e.filter(Boolean).join(" ")}function Cf({className:e,onChange:t}){let[a,r]=bi.useState(false);return jsxRuntime.jsxs("button",{onClick:()=>{let o=!a;r(o),t?.(o);},className:yf("relative w-12 h-12 bg-transparent cursor-pointer flex flex-col items-center justify-center gap-2 p-2",e),"aria-label":"Toggle menu",children:[jsxRuntime.jsx(framerMotion.motion.div,{className:"w-full h-1 bg-black dark:bg-white rounded-full origin-center",animate:a?{y:-12,rotation:90,scaleX:.8}:{y:0,rotation:0,scaleX:1},transition:{duration:.5,type:"spring",stiffness:200,damping:15}}),jsxRuntime.jsx(framerMotion.motion.div,{className:"w-full h-1 bg-black dark:bg-white rounded-full origin-center",animate:a?{rotation:90,scaleX:.8}:{rotation:0,scaleX:1},transition:{duration:.5,type:"spring",stiffness:200,damping:15}}),jsxRuntime.jsx(framerMotion.motion.div,{className:"w-full h-1 bg-black dark:bg-white rounded-full origin-center",animate:a?{y:12,rotation:90,scaleX:.8}:{y:0,rotation:0,scaleX:1},transition:{duration:.5,type:"spring",stiffness:200,damping:15}})]})}function tt(...e){return e.filter(Boolean).join(" ")}function Sf({className:e,onChange:t}){let[a,r]=bi.useState(false);return jsxRuntime.jsx("button",{onClick:()=>{let o=!a;r(o),t?.(o);},className:tt("relative w-12 h-12 bg-transparent cursor-pointer flex items-center justify-center",e),"aria-label":"Toggle menu",children:jsxRuntime.jsxs("div",{className:"relative w-8 h-8",children:[jsxRuntime.jsx("span",{className:tt("absolute w-2 h-2 bg-black dark:bg-white rounded-sm transition-all duration-300 ease-out",a?"top-0 left-0":"top-0 left-1/2 -translate-x-1/2 w-8 h-0.5 rounded-full")}),jsxRuntime.jsx("span",{className:tt("absolute w-2 h-2 bg-black dark:bg-white rounded-sm transition-all duration-300 ease-out delay-75",a?"top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2":"top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 w-8 h-0.5 rounded-full")}),jsxRuntime.jsx("span",{className:tt("absolute w-2 h-2 bg-black dark:bg-white rounded-sm transition-all duration-300 ease-out delay-150",a?"bottom-0 right-0":"bottom-0 left-1/2 -translate-x-1/2 w-8 h-0.5 rounded-full")})]})})}function ot(...e){return e.filter(Boolean).join(" ")}function Mf({className:e,onChange:t}){let[a,r]=bi.useState(false),n=()=>{let o=!a;r(o),t?.(o);};return jsxRuntime.jsxs("label",{className:ot("w-12 h-8 cursor-pointer relative block",e),htmlFor:"burger-stagger",children:[jsxRuntime.jsx("input",{type:"checkbox",id:"burger-stagger",className:"hidden w-full h-full",checked:a,onChange:n}),jsxRuntime.jsx("span",{className:ot("block absolute w-full rounded-lg border-[3px] border-black dark:border-white bg-black dark:bg-white transition-all duration-150 ease-in-out","top-0 right-0 origin-right",a&&"w-1/2 top-1/2 -translate-y-[30%] rotate-[40deg]")}),jsxRuntime.jsx("span",{className:ot("block absolute w-full rounded-lg border-[3px] border-black dark:border-white bg-black dark:bg-white transition-all duration-150 ease-in-out","top-1/2 -translate-y-1/2")}),jsxRuntime.jsx("span",{className:ot("block absolute w-full rounded-lg border-[3px] border-black dark:border-white bg-black dark:bg-white transition-all duration-150 ease-in-out","top-full right-0 origin-right -translate-y-full",a&&"w-1/2 top-1/2 -translate-y-[70%] -rotate-[40deg]")})]})}function Af(...e){return e.filter(Boolean).join(" ")}function Bf({className:e,onChange:t}){let[a,r]=bi.useState(false);return jsxRuntime.jsxs("button",{onClick:()=>{let o=!a;r(o),t?.(o);},className:Af("relative w-12 h-12 bg-transparent cursor-pointer flex flex-col items-center justify-center gap-2 p-2",e),style:{transformStyle:"preserve-3d",perspective:"800px"},"aria-label":"Toggle menu",children:[jsxRuntime.jsx(framerMotion.motion.div,{className:"w-8 h-0.5 bg-black dark:bg-white rounded",animate:a?{width:10,height:10,borderRadius:"50%",y:-6}:{width:32,height:2,borderRadius:"4px",y:0},transition:{duration:.3,ease:"easeInOut"}}),jsxRuntime.jsx(framerMotion.motion.div,{className:"w-8 h-0.5 bg-black dark:bg-white rounded",animate:a?{width:10,height:10,borderRadius:"50%",x:-8,y:6}:{width:32,height:2,borderRadius:"4px",x:0,y:0},transition:{duration:.35,ease:"easeInOut"}}),jsxRuntime.jsx(framerMotion.motion.div,{className:"w-8 h-0.5 bg-black dark:bg-white rounded",animate:a?{width:10,height:10,borderRadius:"50%",x:8,y:6}:{width:32,height:2,borderRadius:"4px",x:0,y:0},transition:{duration:.4,ease:"easeInOut"}})]})}function zf(...e){return e.filter(Boolean).join(" ")}function Hf({className:e,onChange:t}){let[a,r]=bi.useState(false);return jsxRuntime.jsxs("button",{onClick:()=>{let o=!a;r(o),t?.(o);},className:zf("relative w-12 h-12 bg-transparent cursor-pointer flex flex-col items-center justify-center gap-2",e),"aria-label":"Toggle menu",children:[jsxRuntime.jsx(framerMotion.motion.div,{className:"w-full h-1 bg-black dark:bg-white rounded-full origin-center",animate:a?{rotateX:90,y:0,opacity:0}:{rotateX:0,y:0,opacity:1},transition:{duration:.3,type:"spring",stiffness:300,damping:30}}),jsxRuntime.jsx(framerMotion.motion.div,{className:"w-full h-1 bg-black dark:bg-white rounded-full origin-center",animate:a?{scaleY:3}:{scaleY:1},transition:{duration:.6,type:"spring",stiffness:200,damping:15}}),jsxRuntime.jsx(framerMotion.motion.div,{className:"w-full h-1 bg-black dark:bg-white rounded-full origin-center",animate:a?{rotateX:90,y:0,opacity:0}:{rotateX:0,y:0,opacity:1},transition:{duration:.3,type:"spring",stiffness:300,damping:30}})]})}function Of({sparkColor:e="#000000",sparkSize:t=10,sparkRadius:a=15,sparkCount:r=8,duration:n=400,easing:o="ease-out",extraScale:s=1,children:l}){let d=bi.useRef(null),u=bi.useRef([]),c=bi.useRef(null);bi.useEffect(()=>{let f=d.current;if(!f)return;let m=f.parentElement;if(!m)return;let g,h=()=>{let{width:b,height:I}=m.getBoundingClientRect();(f.width!==b||f.height!==I)&&(f.width=b,f.height=I);},L=()=>{clearTimeout(g),g=setTimeout(h,100);},v=new ResizeObserver(L);return v.observe(m),h(),()=>{v.disconnect(),clearTimeout(g);}},[]);let p=bi.useCallback(f=>{switch(o){case "linear":return f;case "ease-in":return f*f;case "ease-in-out":return f<.5?2*f*f:-1+(4-2*f)*f;default:return f*(2-f)}},[o]);return bi.useEffect(()=>{let f=d.current;if(!f)return;let m=f.getContext("2d");if(!m)return;let g,h=L=>{c.current||(c.current=L),m.clearRect(0,0,f.width,f.height),u.current=u.current.filter(v=>{let b=L-v.startTime;if(b>=n)return false;let I=b/n,y=p(I),w=y*a*s,C=t*(1-y),N=v.x+w*Math.cos(v.angle),S=v.y+w*Math.sin(v.angle),R=v.x+(w+C)*Math.cos(v.angle),A=v.y+(w+C)*Math.sin(v.angle);return m.strokeStyle=e,m.lineWidth=2,m.beginPath(),m.moveTo(N,S),m.lineTo(R,A),m.stroke(),true}),g=requestAnimationFrame(h);};return g=requestAnimationFrame(h),()=>{cancelAnimationFrame(g);}},[e,t,a,n,p,s]),jsxRuntime.jsxs("div",{style:{position:"relative",width:"100%",height:"100%"},onClick:f=>{let m=d.current;if(!m)return;let g=m.getBoundingClientRect(),h=f.clientX-g.left,L=f.clientY-g.top,v=performance.now(),b=Array.from({length:r},(I,y)=>({x:h,y:L,angle:2*Math.PI*y/r,startTime:v}));u.current.push(...b);},children:[jsxRuntime.jsx("canvas",{ref:d,style:{width:"100%",height:"100%",display:"block",userSelect:"none",position:"absolute",top:0,left:0,pointerEvents:"none"}}),l]})}function Xf({className:e}){let[t,a]=bi.useState(false),r=framerMotion.useMotionValue(-100),n=framerMotion.useMotionValue(-100),o={damping:25,stiffness:700},s=framerMotion.useSpring(r,o),l=framerMotion.useSpring(n,o);return bi.useEffect(()=>{let d=c=>{r.set(c.clientX-16),n.set(c.clientY-16),a(true);},u=()=>{a(false);};return window.addEventListener("mousemove",d),window.addEventListener("mouseleave",u),()=>{window.removeEventListener("mousemove",d),window.removeEventListener("mouseleave",u);}},[r,n]),jsxRuntime.jsx(framerMotion.motion.div,{className:i("pointer-events-none fixed left-0 top-0 z-50 h-8 w-8 rounded-full bg-zinc-400 mix-blend-difference",t?"opacity-100":"opacity-0",e),style:{x:s,y:l},transition:{type:"spring",stiffness:500,damping:28}})}function Kf({children:e,className:t,duration:a=5,distance:r=50}){return jsxRuntime.jsx(framerMotion.motion.div,{className:i("relative",t),animate:{y:[0,-r,0]},transition:{duration:a,repeat:1/0,ease:"easeInOut"},children:e})}function Zf({children:e,className:t,glowColor:a="rgba(255, 255, 255, 0.4)",duration:r=3}){return jsxRuntime.jsx(framerMotion.motion.div,{className:i("relative p-8 rounded-3xl border-2 border-white/30",t),style:{background:"radial-gradient(circle at center, rgba(255,255,255,0.05) 0%, transparent 70%)"},animate:{boxShadow:[`0 0 40px ${a}, 0 0 80px ${a.replace("0.4","0.2")}`,`0 0 80px ${a.replace("0.4","0.8")}, 0 0 160px ${a.replace("0.4","0.5")}`,`0 0 40px ${a}, 0 0 80px ${a.replace("0.4","0.2")}`],borderColor:["rgba(255, 255, 255, 0.3)","rgba(255, 255, 255, 0.6)","rgba(255, 255, 255, 0.3)"]},transition:{duration:r,repeat:1/0,ease:"easeInOut"},children:e})}function am({children:e,className:t,delay:a=0,duration:r=.8,blur:n=10,inView:o=false,inViewMargin:s="-50px",yOffset:l=6}){let d={hidden:{opacity:0,filter:`blur(${n}px)`,y:l},visible:{opacity:1,filter:"blur(0px)",y:0}};return jsxRuntime.jsx(framerMotion.motion.div,{className:i(t),initial:"hidden",animate:o?void 0:"visible",whileInView:o?"visible":void 0,viewport:{once:true,margin:s},variants:d,transition:{duration:r,delay:a,ease:[.25,.1,.25,1]},children:e})}var hr=class{constructor(t,a,r,n,o,s,l){this.width=t.width,this.height=t.height,this.ctx=a,this.x=r,this.y=n,this.color=o,this.speed=this.getRandomValue(.1,.9)*s,this.size=0,this.sizeStep=Math.random()*.4,this.minSize=.5,this.maxSizeInteger=2,this.maxSize=this.getRandomValue(this.minSize,this.maxSizeInteger),this.delay=l,this.counter=0,this.counterStep=Math.random()*4+(this.width+this.height)*.01,this.isIdle=false,this.isReverse=false,this.isShimmer=false;}getRandomValue(t,a){return Math.random()*(a-t)+t}draw(){let t=this.maxSizeInteger*.5-this.size*.5;this.ctx.fillStyle=this.color,this.ctx.fillRect(this.x+t,this.y+t,this.size,this.size);}appear(){if(this.isIdle=false,this.counter<=this.delay){this.counter+=this.counterStep;return}this.size>=this.maxSize&&(this.isShimmer=true),this.isShimmer?this.shimmer():this.size+=this.sizeStep,this.draw();}disappear(){if(this.isShimmer=false,this.counter=0,this.size<=0){this.isIdle=true;return}else this.size-=.1;this.draw();}shimmer(){this.size>=this.maxSize?this.isReverse=true:this.size<=this.minSize&&(this.isReverse=false),this.isReverse?this.size-=this.speed:this.size+=this.speed;}},As={default:{gap:5,speed:35,colors:"#71717a,#a1a1aa,#d4d4d8",noFocus:false},blue:{gap:10,speed:25,colors:"#0ea5e9,#38bdf8,#7dd3fc",noFocus:false},yellow:{gap:3,speed:20,colors:"#ca8a04,#eab308,#facc15",noFocus:false},pink:{gap:6,speed:80,colors:"#be123c,#e11d48,#f43f5e",noFocus:true}};function om(e,t){return e<=0||t?0:e>=100?100*.001:e*.001}function sm({variant:e="default",gap:t,speed:a,colors:r,noFocus:n,className:o="",children:s}){let l=bi.useRef(null),d=bi.useRef(null),u=bi.useRef([]),c=bi.useRef(null),p=bi.useRef(typeof performance<"u"?performance.now():0),x=bi.useRef(typeof window<"u"?window.matchMedia("(prefers-reduced-motion: reduce)").matches:false).current,f=As[e]||As.default,m=t??f.gap,g=a??f.speed,h=r??f.colors,L=n??f.noFocus,v=()=>{if(!l.current||!d.current)return;let S=l.current.getBoundingClientRect(),R=Math.floor(S.width)||300,A=Math.floor(S.height)||400,D=d.current.getContext("2d");if(!D)return;d.current.width=R,d.current.height=A,d.current.style.width=`${R}px`,d.current.style.height=`${A}px`;let k=h.split(",").map(M=>M.trim()),P=[],T=Math.max(parseInt(m.toString(),10),3);for(let M=0;M<R;M+=T)for(let z=0;z<A;z+=T){let F=k[Math.floor(Math.random()*k.length)],_=M-R/2,E=z-A/2,O=Math.sqrt(_*_+E*E),ae=x?0:O;P.push(new hr(d.current,D,M,z,F,om(g,x),ae));}u.current=P;},b=S=>{c.current=requestAnimationFrame(()=>b(S));let R=performance.now(),A=R-p.current,D=1e3/60;if(A<D)return;p.current=R-A%D;let k=d.current?.getContext("2d");if(!k||!d.current)return;k.clearRect(0,0,d.current.width,d.current.height);let P=true;for(let T=0;T<u.current.length;T++){let M=u.current[T];M[S](),M.isIdle||(P=false);}P&&c.current&&cancelAnimationFrame(c.current);},I=S=>{c.current!==null&&cancelAnimationFrame(c.current),c.current=requestAnimationFrame(()=>b(S));},y=()=>I("appear"),w=()=>I("disappear"),C=S=>{S.currentTarget.contains(S.relatedTarget)||I("appear");},N=S=>{S.currentTarget.contains(S.relatedTarget)||I("disappear");};return bi.useEffect(()=>{v();let S=new ResizeObserver(()=>{v();});return l.current&&S.observe(l.current),()=>{S.disconnect(),c.current!==null&&cancelAnimationFrame(c.current);}},[m,g,h,L]),jsxRuntime.jsxs("div",{ref:l,className:i("relative overflow-hidden rounded-xl border border-zinc-200 dark:border-zinc-800 bg-zinc-100 dark:bg-zinc-900",o),onMouseEnter:y,onMouseLeave:w,onFocus:L?void 0:C,onBlur:L?void 0:N,tabIndex:L?-1:0,children:[jsxRuntime.jsx("canvas",{className:"absolute inset-0 w-full h-full pointer-events-none",ref:d}),jsxRuntime.jsx("div",{className:"relative z-10",children:s})]})}var br={damping:30,stiffness:100,mass:2};function dm({imageSrc:e,altText:t="Tilted card image",captionText:a="",containerHeight:r="300px",containerWidth:n="100%",imageHeight:o="300px",imageWidth:s="300px",scaleOnHover:l=1.1,rotateAmplitude:d=14,showMobileWarning:u=false,showTooltip:c=true,overlayContent:p=null,displayOverlayContent:x=false,className:f}){let m=bi.useRef(null),g=framerMotion.useMotionValue(0),h=framerMotion.useMotionValue(0),L=framerMotion.useSpring(framerMotion.useMotionValue(0),br),v=framerMotion.useSpring(framerMotion.useMotionValue(0),br),b=framerMotion.useSpring(1,br),I=framerMotion.useSpring(0),y=framerMotion.useSpring(0,{stiffness:350,damping:30,mass:1}),[w,C]=bi.useState(0);function N(A){if(!m.current)return;let D=m.current.getBoundingClientRect(),k=A.clientX-D.left-D.width/2,P=A.clientY-D.top-D.height/2,T=P/(D.height/2)*-d,M=k/(D.width/2)*d;L.set(T),v.set(M),g.set(A.clientX-D.left),h.set(A.clientY-D.top);let z=P-w;y.set(-z*.6),C(P);}function S(){b.set(l),I.set(1);}function R(){I.set(0),b.set(1),L.set(0),v.set(0),y.set(0);}return jsxRuntime.jsxs("figure",{ref:m,className:i("relative flex items-center justify-center [perspective:800px]",f),style:{height:r,width:n},onMouseMove:N,onMouseEnter:S,onMouseLeave:R,children:[u&&jsxRuntime.jsx("div",{className:"absolute top-2 left-2 text-xs text-muted-foreground md:hidden",children:"Best viewed on desktop"}),jsxRuntime.jsxs(framerMotion.motion.div,{className:"relative [transform-style:preserve-3d]",style:{width:s,height:o,rotateX:L,rotateY:v,scale:b},children:[jsxRuntime.jsx(framerMotion.motion.img,{src:e,alt:t,className:"absolute inset-0 w-full h-full object-cover rounded-lg",style:{width:s,height:o}}),x&&p&&jsxRuntime.jsx(framerMotion.motion.div,{className:"absolute inset-0 flex items-center justify-center bg-black/50 rounded-lg",children:p})]}),c&&a&&jsxRuntime.jsx(framerMotion.motion.figcaption,{className:"pointer-events-none absolute px-3 py-1.5 text-sm bg-white dark:bg-zinc-900 rounded-full shadow-lg whitespace-nowrap",style:{x:g,y:h,opacity:I,rotate:y},children:a})]})}function cm({children:e,speed:t=30,direction:a="left",pauseOnHover:r=true,className:n}){let o=bi.useRef(null),s=bi.useRef(null);return bi.useEffect(()=>{if(!o.current||!s.current)return;Array.from(s.current.children).forEach(d=>{let u=d.cloneNode(true);s.current&&s.current.appendChild(u);}),o.current.style.setProperty("--animation-duration",`${t}s`),o.current.style.setProperty("--animation-direction",a==="left"?"forwards":"reverse");},[t,a]),jsxRuntime.jsxs("div",{ref:o,className:i("group relative flex overflow-hidden [mask-image:linear-gradient(to_right,transparent,white_20%,white_80%,transparent)]",n),children:[jsxRuntime.jsx("div",{ref:s,className:i("flex min-w-full shrink-0 gap-4 py-4 w-max flex-nowrap","animate-scroll",r&&"group-hover:[animation-play-state:paused]"),style:{animation:"scroll var(--animation-duration, 30s) var(--animation-direction, forwards) linear infinite"},children:e}),jsxRuntime.jsx("style",{jsx:true,children:`
33
33
  @keyframes scroll {
34
34
  from {
35
35
  transform: translateX(0);
@@ -38,10 +38,10 @@
38
38
  transform: translateX(calc(-50% - 0.5rem));
39
39
  }
40
40
  }
41
- `})]})}function bc({loadingStates:e,loading:t,duration:a=2e3,loop:o=true,className:l}){let[r,s]=Cn.useState(0);return Cn.useEffect(()=>{if(!t){s(0);return}let n=setInterval(()=>{s(d=>d===e.length-1?o?0:d:d+1);},a/e.length);return ()=>clearInterval(n)},[t,e.length,a,o]),jsxRuntime.jsx(framerMotion.AnimatePresence,{children:t&&jsxRuntime.jsx(framerMotion.motion.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},className:i("fixed inset-0 z-[100] flex items-center justify-center bg-black/80 backdrop-blur-sm",l),children:jsxRuntime.jsx("div",{className:"bg-white dark:bg-zinc-900 rounded-lg p-8 shadow-2xl max-w-md w-full mx-4",children:jsxRuntime.jsxs("div",{className:"text-center",children:[jsxRuntime.jsx("div",{className:"mb-4",children:jsxRuntime.jsx("div",{className:"inline-flex items-center justify-center w-16 h-16 bg-blue-100 dark:bg-blue-900/20 rounded-full mb-4",children:jsxRuntime.jsx("div",{className:"w-8 h-8 border-4 border-blue-600 border-t-transparent rounded-full animate-spin"})})}),jsxRuntime.jsx(framerMotion.AnimatePresence,{mode:"wait",children:jsxRuntime.jsx(framerMotion.motion.p,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},exit:{opacity:0,y:-10},transition:{duration:.2},className:"text-lg font-medium text-zinc-900 dark:text-white",children:e[r]?.text},r)}),jsxRuntime.jsx("div",{className:"mt-6 flex justify-center",children:jsxRuntime.jsx("div",{className:"flex space-x-1",children:e.map((n,d)=>jsxRuntime.jsx("div",{className:i("h-2 w-2 rounded-full transition-colors duration-200",d===r?"bg-blue-600":d<r?"bg-green-500":"bg-zinc-300 dark:bg-zinc-600")},d))})})]})})})})}var rs=" .:-=+*#%@";function wc({text:e,enableWaves:t=true,asciiFontSize:a=8,textFontSize:o=200,textColor:l="#ffffff",planeBaseHeight:r=.2,className:s}){let n=Cn.useRef(null),[d,u]=Cn.useState("");return Cn.useEffect(()=>{let f=document.createElement("canvas"),m=f.getContext("2d");if(!m)return;m.font=`bold ${o}px monospace`;let x=m.measureText(e),c=Math.ceil(x.width),p=o*1.2;f.width=c,f.height=p,m.fillStyle=l,m.font=`bold ${o}px monospace`,m.textBaseline="middle",m.fillText(e,0,p/2);let h=m.getImageData(0,0,c,p).data,b=Math.floor(c/a),I=Math.floor(p/a),L="";for(let v=0;v<I;v++){for(let C=0;C<b;C++){let y=C*a,k=(v*a*c+y)*4,S=(h[k]+h[k+1]+h[k+2])/3,P=Math.floor(S/255*(rs.length-1));L+=rs[P];}L+=`
42
- `;}u(L);},[e,a,o,l]),jsxRuntime.jsx("div",{ref:n,className:i("font-mono whitespace-pre",s),children:jsxRuntime.jsx("pre",{style:{fontSize:`${a}px`,lineHeight:1,color:l},children:d})})}function Tc({text:e,highlightWords:t=[],highlightClass:a="text-primary",trigger:o="auto",delay:l=0,staggerDelay:r=.05,className:s}){let[n,d]=Cn.useState(o==="auto"),u=Cn.useRef(null),f=e.split(" ");Cn.useEffect(()=>{if(o==="scroll"&&u.current){let x=new IntersectionObserver(([c])=>{c.isIntersecting&&d(true);},{threshold:.1});return x.observe(u.current),()=>x.disconnect()}},[o]);let m=()=>{(o==="hover"||o==="click")&&d(true);};return jsxRuntime.jsx("div",{ref:u,className:i("flex flex-wrap gap-2",s),onMouseEnter:o==="hover"?m:void 0,onClick:o==="click"?m:void 0,children:jsxRuntime.jsx(framerMotion.AnimatePresence,{children:f.map((x,c)=>{let p=t.includes(x.toLowerCase());return jsxRuntime.jsx(framerMotion.motion.span,{initial:{opacity:0,y:-50,rotateX:-90},animate:n?{opacity:1,y:0,rotateX:0}:{opacity:0,y:-50,rotateX:-90},transition:{duration:.5,delay:l+c*r,ease:[.25,.46,.45,.94]},className:i(p&&a),children:x},`${x}-${c}`)})})})}function Dc(...e){return e.filter(Boolean).join(" ")}function Fc({max:e=100,min:t=0,value:a=0,gaugePrimaryColor:o="#a1a1aa",gaugeSecondaryColor:l="#27272a",className:r,size:s=200,strokeWidth:n=8,showValue:d=true,duration:u=2,autoAnimate:f=true}){let[m,x]=Cn.useState(f?t:a),c=(s-n)/2,p=2*Math.PI*c,g=framerMotion.useMotionValue(m),h=framerMotion.useSpring(g,{damping:30,stiffness:100}),b=framerMotion.useTransform(h,[t,e],[0,p]),I=framerMotion.useTransform(h,L=>Math.round(L));return Cn.useEffect(()=>{if(f){let L=setInterval(()=>{x(v=>{let C=v+1;return C>e?t:C});},u*10);return ()=>clearInterval(L)}else x(a);},[f,a,e,t,u]),Cn.useEffect(()=>{g.set(m);},[m,g]),jsxRuntime.jsxs("div",{className:Dc("relative flex items-center justify-center",r),style:{width:s,height:s},children:[jsxRuntime.jsxs("svg",{width:s,height:s,className:"transform -rotate-90",children:[jsxRuntime.jsx("circle",{cx:s/2,cy:s/2,r:c,stroke:l,strokeWidth:n,fill:"none",className:"opacity-20"}),jsxRuntime.jsx(framerMotion.motion.circle,{cx:s/2,cy:s/2,r:c,stroke:o,strokeWidth:n,fill:"none",strokeLinecap:"round",strokeDasharray:p,strokeDashoffset:framerMotion.useTransform(b,L=>p-L),className:"transition-all duration-300 ease-in-out",style:{filter:"drop-shadow(0 0 6px rgba(59, 130, 246, 0.4))"}}),jsxRuntime.jsx(framerMotion.motion.circle,{cx:s/2,cy:s/2,r:c,stroke:o,strokeWidth:n/2,fill:"none",strokeLinecap:"round",strokeDasharray:p,strokeDashoffset:framerMotion.useTransform(b,L=>p-L),className:"opacity-50 blur-sm"})]}),d&&jsxRuntime.jsxs("div",{className:"absolute inset-0 flex flex-col items-center justify-center",children:[jsxRuntime.jsx(framerMotion.motion.span,{className:"text-3xl font-semibold text-zinc-900 dark:text-zinc-100",style:{fontSize:s/8},children:I}),jsxRuntime.jsx("span",{className:"text-sm text-zinc-500",style:{fontSize:s/16},children:f?"Auto":"%"})]}),jsxRuntime.jsx("div",{className:"absolute inset-0",children:[...Array(8)].map((L,v)=>{let C=v*45-90,y=s/2+(c+n)*Math.cos(C*Math.PI/180),w=s/2+(c+n)*Math.sin(C*Math.PI/180);return jsxRuntime.jsx(framerMotion.motion.div,{className:"absolute w-1 h-1 bg-zinc-500 rounded-full",style:{left:y-2,top:w-2},animate:{opacity:[.3,1,.3],scale:[.8,1.2,.8]},transition:{duration:2,repeat:1/0,delay:v*.2}},v)})})]})}function zc({text:e="Loading...",className:t=""}){return jsxRuntime.jsx("div",{className:`w-full h-full min-h-[400px] flex items-center justify-center ${t}`,children:jsxRuntime.jsxs("div",{className:"relative h-fit min-w-12 w-fit text-4xl font-bold tracking-wider text-black dark:text-white",children:[jsxRuntime.jsx("p",{className:"relative z-0",children:e}),jsxRuntime.jsx("div",{className:"absolute h-full aspect-square left-0 top-0 rounded-[20%] bg-foreground/10 backdrop-invert",style:{animation:"invert-move 2s ease-in-out infinite"}}),jsxRuntime.jsx("style",{dangerouslySetInnerHTML:{__html:`
41
+ `})]})}function xm({loadingStates:e,loading:t,duration:a=2e3,loop:r=true,className:n}){let[o,s]=bi.useState(0);return bi.useEffect(()=>{if(!t){s(0);return}let l=setInterval(()=>{s(d=>d===e.length-1?r?0:d:d+1);},a/e.length);return ()=>clearInterval(l)},[t,e.length,a,r]),jsxRuntime.jsx(framerMotion.AnimatePresence,{children:t&&jsxRuntime.jsx(framerMotion.motion.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},className:i("fixed inset-0 z-[100] flex items-center justify-center bg-black/80 backdrop-blur-sm",n),children:jsxRuntime.jsx("div",{className:"bg-white dark:bg-zinc-900 rounded-lg p-8 shadow-2xl max-w-md w-full mx-4",children:jsxRuntime.jsxs("div",{className:"text-center",children:[jsxRuntime.jsx("div",{className:"mb-4",children:jsxRuntime.jsx("div",{className:"inline-flex items-center justify-center w-16 h-16 bg-blue-100 dark:bg-blue-900/20 rounded-full mb-4",children:jsxRuntime.jsx("div",{className:"w-8 h-8 border-4 border-blue-600 border-t-transparent rounded-full animate-spin"})})}),jsxRuntime.jsx(framerMotion.AnimatePresence,{mode:"wait",children:jsxRuntime.jsx(framerMotion.motion.p,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},exit:{opacity:0,y:-10},transition:{duration:.2},className:"text-lg font-medium text-zinc-900 dark:text-white",children:e[o]?.text},o)}),jsxRuntime.jsx("div",{className:"mt-6 flex justify-center",children:jsxRuntime.jsx("div",{className:"flex space-x-1",children:e.map((l,d)=>jsxRuntime.jsx("div",{className:i("h-2 w-2 rounded-full transition-colors duration-200",d===o?"bg-blue-600":d<o?"bg-green-500":"bg-zinc-300 dark:bg-zinc-600")},d))})})]})})})})}var qs=" .:-=+*#%@";function vm({text:e,enableWaves:t=true,asciiFontSize:a=8,textFontSize:r=200,textColor:n="#ffffff",planeBaseHeight:o=.2,className:s}){let l=bi.useRef(null),[d,u]=bi.useState("");return bi.useEffect(()=>{let c=document.createElement("canvas"),p=c.getContext("2d");if(!p)return;p.font=`bold ${r}px monospace`;let x=p.measureText(e),f=Math.ceil(x.width),m=r*1.2;c.width=f,c.height=m,p.fillStyle=n,p.font=`bold ${r}px monospace`,p.textBaseline="middle",p.fillText(e,0,m/2);let h=p.getImageData(0,0,f,m).data,L=Math.floor(f/a),v=Math.floor(m/a),b="";for(let I=0;I<v;I++){for(let y=0;y<L;y++){let w=y*a,N=(I*a*f+w)*4,S=(h[N]+h[N+1]+h[N+2])/3,R=Math.floor(S/255*(qs.length-1));b+=qs[R];}b+=`
42
+ `;}u(b);},[e,a,r,n]),jsxRuntime.jsx("div",{ref:l,className:i("font-mono whitespace-pre",s),children:jsxRuntime.jsx("pre",{style:{fontSize:`${a}px`,lineHeight:1,color:n},children:d})})}function Sm({text:e,highlightWords:t=[],highlightClass:a="text-primary",trigger:r="auto",delay:n=0,staggerDelay:o=.05,className:s}){let[l,d]=bi.useState(r==="auto"),u=bi.useRef(null),c=e.split(" ");bi.useEffect(()=>{if(r==="scroll"&&u.current){let x=new IntersectionObserver(([f])=>{f.isIntersecting&&d(true);},{threshold:.1});return x.observe(u.current),()=>x.disconnect()}},[r]);let p=()=>{(r==="hover"||r==="click")&&d(true);};return jsxRuntime.jsx("div",{ref:u,className:i("flex flex-wrap gap-2",s),onMouseEnter:r==="hover"?p:void 0,onClick:r==="click"?p:void 0,children:jsxRuntime.jsx(framerMotion.AnimatePresence,{children:c.map((x,f)=>{let m=t.includes(x.toLowerCase());return jsxRuntime.jsx(framerMotion.motion.span,{initial:{opacity:0,y:-50,rotateX:-90},animate:l?{opacity:1,y:0,rotateX:0}:{opacity:0,y:-50,rotateX:-90},transition:{duration:.5,delay:n+f*o,ease:[.25,.46,.45,.94]},className:i(m&&a),children:x},`${x}-${f}`)})})})}function Tm(...e){return e.filter(Boolean).join(" ")}function Rm({max:e=100,min:t=0,value:a=0,gaugePrimaryColor:r="#a1a1aa",gaugeSecondaryColor:n="#27272a",className:o,size:s=200,strokeWidth:l=8,showValue:d=true,duration:u=2,autoAnimate:c=true}){let[p,x]=bi.useState(c?t:a),f=(s-l)/2,m=2*Math.PI*f,g=framerMotion.useMotionValue(p),h=framerMotion.useSpring(g,{damping:30,stiffness:100}),L=framerMotion.useTransform(h,[t,e],[0,m]),v=framerMotion.useTransform(h,b=>Math.round(b));return bi.useEffect(()=>{if(c){let b=setInterval(()=>{x(I=>{let y=I+1;return y>e?t:y});},u*10);return ()=>clearInterval(b)}else x(a);},[c,a,e,t,u]),bi.useEffect(()=>{g.set(p);},[p,g]),jsxRuntime.jsxs("div",{className:Tm("relative flex items-center justify-center",o),style:{width:s,height:s},children:[jsxRuntime.jsxs("svg",{width:s,height:s,className:"transform -rotate-90",children:[jsxRuntime.jsx("circle",{cx:s/2,cy:s/2,r:f,stroke:n,strokeWidth:l,fill:"none",className:"opacity-20"}),jsxRuntime.jsx(framerMotion.motion.circle,{cx:s/2,cy:s/2,r:f,stroke:r,strokeWidth:l,fill:"none",strokeLinecap:"round",strokeDasharray:m,strokeDashoffset:framerMotion.useTransform(L,b=>m-b),className:"transition-all duration-300 ease-in-out",style:{filter:"drop-shadow(0 0 6px rgba(59, 130, 246, 0.4))"}}),jsxRuntime.jsx(framerMotion.motion.circle,{cx:s/2,cy:s/2,r:f,stroke:r,strokeWidth:l/2,fill:"none",strokeLinecap:"round",strokeDasharray:m,strokeDashoffset:framerMotion.useTransform(L,b=>m-b),className:"opacity-50 blur-sm"})]}),d&&jsxRuntime.jsxs("div",{className:"absolute inset-0 flex flex-col items-center justify-center",children:[jsxRuntime.jsx(framerMotion.motion.span,{className:"text-3xl font-semibold text-zinc-900 dark:text-zinc-100",style:{fontSize:s/8},children:v}),jsxRuntime.jsx("span",{className:"text-sm text-zinc-500",style:{fontSize:s/16},children:c?"Auto":"%"})]}),jsxRuntime.jsx("div",{className:"absolute inset-0",children:[...Array(8)].map((b,I)=>{let y=I*45-90,w=s/2+(f+l)*Math.cos(y*Math.PI/180),C=s/2+(f+l)*Math.sin(y*Math.PI/180);return jsxRuntime.jsx(framerMotion.motion.div,{className:"absolute w-1 h-1 bg-zinc-500 rounded-full",style:{left:w-2,top:C-2},animate:{opacity:[.3,1,.3],scale:[.8,1.2,.8]},transition:{duration:2,repeat:1/0,delay:I*.2}},I)})})]})}function Am({text:e="Loading...",className:t=""}){return jsxRuntime.jsx("div",{className:`w-full h-full min-h-[400px] flex items-center justify-center ${t}`,children:jsxRuntime.jsxs("div",{className:"relative h-fit min-w-12 w-fit text-4xl font-bold tracking-wider text-black dark:text-white",children:[jsxRuntime.jsx("p",{className:"relative z-0",children:e}),jsxRuntime.jsx("div",{className:"absolute h-full aspect-square left-0 top-0 rounded-[20%] bg-foreground/10 backdrop-invert",style:{animation:"invert-move 2s ease-in-out infinite"}}),jsxRuntime.jsx("style",{dangerouslySetInnerHTML:{__html:`
43
43
  @keyframes invert-move { 50% { left: calc(100% - 3rem); } }
44
- `}})]})})}function aa(...e){return e.filter(Boolean).join(" ")}function qc({title:e="Configuring your account...",subtitle:t="Please wait while we prepare everything for you",size:a="md",className:o,...l}){let s={sm:{container:"size-20",titleClass:"text-sm/tight font-medium",subtitleClass:"text-xs/relaxed",spacing:"space-y-2",maxWidth:"max-w-48"},md:{container:"size-32",titleClass:"text-base/snug font-medium",subtitleClass:"text-sm/relaxed",spacing:"space-y-3",maxWidth:"max-w-56"},lg:{container:"size-40",titleClass:"text-lg/tight font-semibold",subtitleClass:"text-base/relaxed",spacing:"space-y-4",maxWidth:"max-w-64"}}[a];return jsxRuntime.jsxs("div",{className:aa("flex flex-col items-center justify-center gap-8 p-8",o),...l,children:[jsxRuntime.jsxs(framerMotion.motion.div,{className:aa("relative",s.container),animate:{scale:[1,1.02,1]},transition:{duration:4,repeat:1/0,ease:[.4,0,.6,1]},children:[jsxRuntime.jsx(framerMotion.motion.div,{className:"absolute inset-0 rounded-full",style:{background:"conic-gradient(from 0deg, transparent 0deg, rgb(0, 0, 0) 90deg, transparent 180deg)",mask:"radial-gradient(circle at 50% 50%, transparent 35%, black 37%, black 39%, transparent 41%)",WebkitMask:"radial-gradient(circle at 50% 50%, transparent 35%, black 37%, black 39%, transparent 41%)",opacity:.8},animate:{rotate:[0,360]},transition:{duration:3,repeat:1/0,ease:"linear"}}),jsxRuntime.jsx(framerMotion.motion.div,{className:"absolute inset-0 rounded-full",style:{background:"conic-gradient(from 0deg, transparent 0deg, rgb(0, 0, 0) 120deg, rgba(0, 0, 0, 0.5) 240deg, transparent 360deg)",mask:"radial-gradient(circle at 50% 50%, transparent 42%, black 44%, black 48%, transparent 50%)",WebkitMask:"radial-gradient(circle at 50% 50%, transparent 42%, black 44%, black 48%, transparent 50%)",opacity:.9},animate:{rotate:[0,360]},transition:{duration:2.5,repeat:1/0,ease:[.4,0,.6,1]}}),jsxRuntime.jsx(framerMotion.motion.div,{className:"absolute inset-0 rounded-full dark:block hidden",style:{background:"conic-gradient(from 0deg, transparent 0deg, rgb(255, 255, 255) 90deg, transparent 180deg)",mask:"radial-gradient(circle at 50% 50%, transparent 35%, black 37%, black 39%, transparent 41%)",WebkitMask:"radial-gradient(circle at 50% 50%, transparent 35%, black 37%, black 39%, transparent 41%)",opacity:.8},animate:{rotate:[0,360]},transition:{duration:3,repeat:1/0,ease:"linear"}}),jsxRuntime.jsx(framerMotion.motion.div,{className:"absolute inset-0 rounded-full dark:block hidden",style:{background:"conic-gradient(from 0deg, transparent 0deg, rgb(255, 255, 255) 120deg, rgba(255, 255, 255, 0.5) 240deg, transparent 360deg)",mask:"radial-gradient(circle at 50% 50%, transparent 42%, black 44%, black 48%, transparent 50%)",WebkitMask:"radial-gradient(circle at 50% 50%, transparent 42%, black 44%, black 48%, transparent 50%)",opacity:.9},animate:{rotate:[0,360]},transition:{duration:2.5,repeat:1/0,ease:[.4,0,.6,1]}})]}),jsxRuntime.jsxs(framerMotion.motion.div,{className:aa("text-center",s.spacing,s.maxWidth),initial:{opacity:0,y:12},animate:{opacity:1,y:0},transition:{delay:.4,duration:1,ease:[.4,0,.2,1]},children:[jsxRuntime.jsx(framerMotion.motion.h1,{className:aa(s.titleClass,"text-black/90 dark:text-white/90 font-medium tracking-[-0.02em] leading-[1.15] antialiased"),initial:{opacity:0,y:12},animate:{opacity:1,y:0},transition:{delay:.6,duration:.8,ease:[.4,0,.2,1]},children:jsxRuntime.jsx(framerMotion.motion.span,{animate:{opacity:[.9,.7,.9]},transition:{duration:3,repeat:1/0,ease:[.4,0,.6,1]},children:e})}),jsxRuntime.jsx(framerMotion.motion.p,{className:aa(s.subtitleClass,"text-black/60 dark:text-white/60 font-normal tracking-[-0.01em] leading-[1.45] antialiased"),initial:{opacity:0,y:8},animate:{opacity:1,y:0},transition:{delay:.8,duration:.8,ease:[.4,0,.2,1]},children:jsxRuntime.jsx(framerMotion.motion.span,{animate:{opacity:[.6,.4,.6]},transition:{duration:4,repeat:1/0,ease:[.4,0,.6,1]},children:t})})]})]})}function Qa(...e){return e.filter(Boolean).join(" ")}function Gc({className:e,size:t="md",onChange:a}){let[o,l]=Cn.useState(false);Cn.useEffect(()=>{let d=window.matchMedia("(prefers-color-scheme: dark)").matches;l(d);},[]);let r=()=>{let d=!o;l(d),d?document.documentElement.classList.add("dark"):document.documentElement.classList.remove("dark"),a?.(d);},s={sm:"w-12 h-6",md:"w-14 h-7",lg:"w-16 h-8"},n={sm:"w-4 h-4",md:"w-5 h-5",lg:"w-6 h-6"};return jsxRuntime.jsxs(framerMotion.motion.button,{onClick:r,className:Qa("relative rounded-full border transition-all duration-300 ease-in-out focus:outline-none focus:ring-2 focus:ring-zinc-500 focus:ring-offset-2 focus:ring-offset-zinc-900",s[t],o?"bg-zinc-800 border-zinc-700":"bg-zinc-700 border-zinc-600",e),whileTap:{scale:.95},initial:false,children:[jsxRuntime.jsx(framerMotion.motion.div,{className:"absolute inset-0 rounded-full",animate:{background:o?"linear-gradient(135deg, #27272a 0%, #18181b 100%)":"linear-gradient(135deg, #3f3f46 0%, #27272a 100%)"},transition:{duration:.3}}),jsxRuntime.jsx(framerMotion.motion.div,{className:Qa("absolute top-0.5 rounded-full shadow-lg flex items-center justify-center",t==="sm"?"w-5 h-5":t==="md"?"w-6 h-6":"w-7 h-7",o?"bg-zinc-300":"bg-zinc-100"),animate:{x:o?t==="sm"?24:t==="md"?28:32:2},transition:{type:"spring",stiffness:500,damping:30},children:jsxRuntime.jsx(framerMotion.AnimatePresence,{mode:"wait",children:o?jsxRuntime.jsx(framerMotion.motion.svg,{className:Qa("text-zinc-700",n[t]),fill:"currentColor",viewBox:"0 0 24 24",initial:{opacity:0,rotate:-90},animate:{opacity:1,rotate:0},exit:{opacity:0,rotate:90},transition:{duration:.2},children:jsxRuntime.jsx("path",{d:"M21.752 15.002A9.718 9.718 0 0118 15.75c-5.385 0-9.75-4.365-9.75-9.75 0-1.33.266-2.597.748-3.752A9.753 9.753 0 003 11.25C3 16.635 7.365 21 12.75 21a9.753 9.753 0 009.002-5.998z"})},"moon"):jsxRuntime.jsx(framerMotion.motion.svg,{className:Qa("text-zinc-600",n[t]),fill:"currentColor",viewBox:"0 0 24 24",initial:{opacity:0,rotate:-90},animate:{opacity:1,rotate:0},exit:{opacity:0,rotate:90},transition:{duration:.2},children:jsxRuntime.jsx("path",{d:"M12 2.25a.75.75 0 01.75.75v2.25a.75.75 0 01-1.5 0V3a.75.75 0 01.75-.75zM7.5 12a4.5 4.5 0 119 0 4.5 4.5 0 01-9 0zM18.894 6.166a.75.75 0 00-1.06-1.06l-1.591 1.59a.75.75 0 101.06 1.061l1.591-1.59zM21.75 12a.75.75 0 01-.75.75h-2.25a.75.75 0 010-1.5H21a.75.75 0 01.75.75zM17.834 18.894a.75.75 0 001.06-1.06l-1.59-1.591a.75.75 0 10-1.061 1.06l1.59 1.591zM12 18a.75.75 0 01.75.75V21a.75.75 0 01-1.5 0v-2.25A.75.75 0 0112 18zM7.758 17.303a.75.75 0 00-1.061-1.06l-1.591 1.59a.75.75 0 001.06 1.061l1.591-1.59zM6 12a.75.75 0 01-.75.75H3a.75.75 0 010-1.5h2.25A.75.75 0 016 12zM6.697 7.757a.75.75 0 001.06-1.06l-1.59-1.591a.75.75 0 00-1.061 1.06l1.59 1.591z"})},"sun")})}),jsxRuntime.jsx(framerMotion.motion.div,{className:"absolute inset-0 rounded-full opacity-20",animate:{boxShadow:o?"0 0 20px rgba(161, 161, 170, 0.2)":"0 0 20px rgba(161, 161, 170, 0.3)"},transition:{duration:.3}})]})}function Wc(...e){return e.filter(Boolean).join(" ")}function _c({children:e,className:t}){return jsxRuntime.jsxs("div",{className:Wc("relative w-full min-h-[500px] flex items-center justify-center overflow-hidden bg-white dark:bg-zinc-900 rounded-xl border border-zinc-200 dark:border-zinc-800",t),children:[jsxRuntime.jsx(framerMotion.motion.div,{className:"absolute inset-0",style:{background:"linear-gradient(90deg, transparent 0%, rgba(0,0,0,0.08) 50%, transparent 100%)"},animate:{x:["-200%","200%"]},transition:{duration:2.5,repeat:1/0,ease:"linear"}}),jsxRuntime.jsx(framerMotion.motion.div,{className:"absolute inset-0",style:{background:"linear-gradient(90deg, transparent 0%, rgba(0,0,0,0.05) 50%, transparent 100%)"},animate:{x:["-200%","200%"]},transition:{duration:3,delay:.5,repeat:1/0,ease:"linear"}}),jsxRuntime.jsx(framerMotion.motion.div,{className:"absolute inset-0",style:{background:"linear-gradient(90deg, transparent 0%, rgba(0,0,0,0.03) 50%, transparent 100%)"},animate:{x:["-200%","200%"]},transition:{duration:3.5,delay:1,repeat:1/0,ease:"linear"}}),jsxRuntime.jsx(framerMotion.motion.div,{className:"absolute inset-0 hidden dark:block",style:{background:"linear-gradient(90deg, transparent 0%, rgba(161,161,170,0.15) 50%, transparent 100%)"},animate:{x:["-200%","200%"]},transition:{duration:2.5,repeat:1/0,ease:"linear"}}),jsxRuntime.jsx("div",{className:"absolute inset-0 opacity-10 dark:opacity-5",style:{backgroundImage:"radial-gradient(circle at 2px 2px, #71717a 1px, transparent 0)",backgroundSize:"40px 40px"}}),jsxRuntime.jsx("div",{className:"relative z-10 text-center px-8",children:e||jsxRuntime.jsxs(framerMotion.motion.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.8},children:[jsxRuntime.jsx("h2",{className:"text-7xl font-bold text-zinc-900 dark:text-zinc-100 mb-4 tracking-tight",style:{fontFamily:"system-ui, -apple-system, sans-serif",letterSpacing:"-0.02em"},children:"SHIMMER WAVE"}),jsxRuntime.jsx("p",{className:"text-xl text-zinc-500 font-light tracking-wide",children:"Advanced Shimmer Effect"})]})})]})}function em(e){let[t,a]=Cn.useState(0);return Cn.useLayoutEffect(()=>{function o(){e.current&&a(e.current.offsetWidth);}return o(),window.addEventListener("resize",o),()=>window.removeEventListener("resize",o)},[e]),t}function am({scrollContainerRef:e,texts:t=["Scroll Velocity","Bynana UI"],velocity:a=100,className:o="",damping:l=50,stiffness:r=400,numCopies:s=6,velocityMapping:n={input:[0,1e3],output:[0,5]}}){function d({children:u,baseVelocity:f}){let m=framerMotion.useMotionValue(0),x=e?{container:e}:{},{scrollY:c}=framerMotion.useScroll(x),p=framerMotion.useVelocity(c),g=framerMotion.useSpring(p,{damping:l,stiffness:r}),h=framerMotion.useTransform(g,n.input,n.output,{clamp:false}),b=Cn.useRef(null),I=em(b);function L(w,k,S){let P=k-w;return ((S-w)%P+P)%P+w}let v=framerMotion.useTransform(m,w=>I===0?"0px":`${L(-I,0,w)}px`),C=Cn.useRef(1);framerMotion.useAnimationFrame((w,k)=>{let S=C.current*f*(k/1e3);h.get()<0?C.current=-1:h.get()>0&&(C.current=1),S+=C.current*S*h.get(),m.set(m.get()+S);});let y=[];for(let w=0;w<s;w++)y.push(jsxRuntime.jsx("span",{className:o,ref:w===0?b:null,children:u},w));return jsxRuntime.jsx("div",{className:"overflow-hidden whitespace-nowrap",children:jsxRuntime.jsx(framerMotion.motion.div,{className:"flex",style:{x:v},children:y})})}return jsxRuntime.jsx("section",{children:t.map((u,f)=>jsxRuntime.jsxs(d,{baseVelocity:f%2!==0?-a:a,children:[u,"\xA0"]},f))})}function lm({text:e="\u269B\uFE0F",delay:t=.01,spacing:a=100,followMouseDirection:o=true,randomFloat:l=true,exitDuration:r=.5,removalInterval:s=30,maxPoints:n=5}){let[d,u]=Cn.useState([]),f=Cn.useRef(null),m=Cn.useRef(Date.now()),x=Cn.useRef(0),c=p=>{if(!f.current)return;let g=f.current.getBoundingClientRect(),h=p.clientX-g.left,b=p.clientY-g.top;u(I=>{let L=[...I];if(L.length===0)L.push({id:x.current++,x:h,y:b,angle:0,...l&&{randomX:Math.random()*10-5,randomY:Math.random()*10-5,randomRotate:Math.random()*10-5}});else {let v=L[L.length-1],C=h-v.x,y=b-v.y,w=Math.sqrt(C*C+y*y);if(w>=a){let k=Math.atan2(y,C)*180/Math.PI;k>90?k-=180:k<-90&&(k+=180);let S=o?k:0,P=Math.floor(w/a);for(let T=1;T<=P;T++){let A=a*T/w;L.push({id:x.current++,x:v.x+C*A,y:v.y+y*A,angle:S,...l&&{randomX:Math.random()*10-5,randomY:Math.random()*10-5,randomRotate:Math.random()*10-5}});}}}return L.length>n&&(L=L.slice(L.length-n)),L}),m.current=Date.now();};return Cn.useEffect(()=>{let p=f.current;if(p)return p.addEventListener("mousemove",c),()=>p.removeEventListener("mousemove",c)},[]),Cn.useEffect(()=>{let p=setInterval(()=>{Date.now()-m.current>100&&u(g=>g.length>0?g.slice(1):g);},s);return ()=>clearInterval(p)},[s]),jsxRuntime.jsxs("div",{ref:f,className:"w-full h-full min-h-[200px] relative rounded-lg bg-zinc-50 dark:bg-zinc-900/50",children:[jsxRuntime.jsx("div",{className:"absolute inset-0 flex items-center justify-center text-zinc-400 text-sm pointer-events-none",children:"Move your mouse around"}),jsxRuntime.jsx(framerMotion.AnimatePresence,{children:d.map(p=>jsxRuntime.jsx(framerMotion.motion.div,{initial:{opacity:0,scale:1,rotate:p.angle},animate:{opacity:1,scale:1,rotate:p.angle},exit:{opacity:0,scale:0},transition:{opacity:{duration:r,ease:"easeOut",delay:t}},className:"absolute text-2xl pointer-events-none",style:{left:p.x,top:p.y,transform:"translate(-50%, -50%)"},children:e},p.id))})]})}function dm(...e){return e.filter(Boolean).join(" ")}function um({icon:e,label:t,href:a,onClick:o,className:l,variant:r="default"}){let s={default:"bg-zinc-900 dark:bg-zinc-100 text-white dark:text-zinc-900 hover:bg-zinc-800 dark:hover:bg-zinc-200",outline:"border border-zinc-300 dark:border-zinc-700 hover:bg-zinc-100 dark:hover:bg-zinc-800",ghost:"hover:bg-zinc-100 dark:hover:bg-zinc-800"},n=a?"a":"button";return jsxRuntime.jsx(framerMotion.motion.div,{whileHover:{scale:1.05},whileTap:{scale:.95},children:jsxRuntime.jsxs(n,{href:a,onClick:o,className:dm("inline-flex items-center gap-2 px-4 py-2 rounded-lg font-medium transition-colors",s[r],l),target:a?"_blank":void 0,rel:a?"noopener noreferrer":void 0,children:[e,jsxRuntime.jsx("span",{children:t})]})})}function cm(...e){return e.filter(Boolean).join(" ")}function mm({children:e,onClick:t,className:a,disabled:o=false}){return jsxRuntime.jsxs(framerMotion.motion.button,{onClick:t,disabled:o,className:cm("relative inline-flex items-center justify-center px-6 py-3 overflow-hidden font-medium rounded-xl","bg-gradient-to-r from-zinc-900 to-zinc-800 dark:from-zinc-100 dark:to-zinc-200","text-white dark:text-zinc-900","border border-zinc-700 dark:border-zinc-300","shadow-lg shadow-zinc-900/20 dark:shadow-zinc-100/20","transition-all duration-300","hover:shadow-xl hover:shadow-zinc-900/30 dark:hover:shadow-zinc-100/30","disabled:opacity-50 disabled:cursor-not-allowed",a),whileHover:{scale:o?1:1.02},whileTap:{scale:o?1:.98},children:[jsxRuntime.jsx(framerMotion.motion.span,{className:"absolute inset-0 bg-gradient-to-r from-transparent via-white/10 to-transparent",initial:{x:"-100%"},whileHover:{x:"100%"},transition:{duration:.6,ease:"easeInOut"}}),jsxRuntime.jsx("span",{className:"relative z-10 flex items-center gap-2",children:e})]})}function ps(...e){return e.filter(Boolean).join(" ")}function hm({data:e,weeks:t=52,className:a,colors:o=["bg-zinc-100 dark:bg-zinc-800","bg-emerald-200 dark:bg-emerald-900","bg-emerald-300 dark:bg-emerald-700","bg-emerald-400 dark:bg-emerald-500","bg-emerald-500 dark:bg-emerald-400"]}){let l=Cn.useMemo(()=>e||Array.from({length:t*7},()=>Math.floor(Math.random()*5)),[e,t]),r=s=>o[Math.min(s,o.length-1)];return jsxRuntime.jsx("div",{className:ps("overflow-x-auto",a),children:jsxRuntime.jsx("div",{className:"flex gap-1",children:Array.from({length:t}).map((s,n)=>jsxRuntime.jsx("div",{className:"flex flex-col gap-1",children:Array.from({length:7}).map((d,u)=>{let f=n*7+u,m=l[f]||0;return jsxRuntime.jsx(framerMotion.motion.div,{className:ps("w-3 h-3 rounded-sm",r(m)),initial:{scale:0,opacity:0},animate:{scale:1,opacity:1},transition:{delay:f*.002,type:"spring",stiffness:300,damping:20},whileHover:{scale:1.3}},u)})},n))})})}function eo(...e){return e.filter(Boolean).join(" ")}function Lm({defaultValue:e=50,min:t=0,max:a=100,step:o=1,onChange:l,className:r,trackClassName:s,thumbClassName:n}){let[d,u]=Cn.useState(e),[f,m]=Cn.useState(false),x=(d-t)/(a-t)*100,c=p=>{let g=Number(p.target.value);u(g),l?.(g);};return jsxRuntime.jsxs("div",{className:eo("relative w-full h-12 flex items-center",r),children:[jsxRuntime.jsx("div",{className:eo("absolute w-full h-2 rounded-full bg-zinc-200 dark:bg-zinc-800",s),children:jsxRuntime.jsx(framerMotion.motion.div,{className:"h-full rounded-full bg-zinc-900 dark:bg-zinc-100",style:{width:`${x}%`},animate:{scaleY:f?1.5:1},transition:{type:"spring",stiffness:400,damping:25}})}),jsxRuntime.jsx(framerMotion.motion.div,{className:eo("absolute w-6 h-6 rounded-full bg-zinc-900 dark:bg-zinc-100 shadow-lg cursor-grab","border-2 border-white dark:border-zinc-900",n),style:{left:`calc(${x}% - 12px)`},animate:{scale:f?1.3:1,y:f?-4:0},transition:{type:"spring",stiffness:500,damping:30}}),jsxRuntime.jsx("input",{type:"range",min:t,max:a,step:o,value:d,onChange:c,onMouseDown:()=>m(true),onMouseUp:()=>m(false),onTouchStart:()=>m(true),onTouchEnd:()=>m(false),className:"absolute w-full h-full opacity-0 cursor-grab active:cursor-grabbing"}),jsxRuntime.jsx(framerMotion.motion.span,{className:"absolute -top-8 left-1/2 -translate-x-1/2 text-sm font-medium text-zinc-900 dark:text-zinc-100",animate:{opacity:f?1:0,y:f?0:10},transition:{duration:.2},children:d})]})}var Im=[{link:"#",text:"About",image:"https://images.unsplash.com/photo-1618005182384-a83a8bd57fbe?w=800&q=80"},{link:"#",text:"Services",image:"https://images.unsplash.com/photo-1618556450994-a6a128ef0d9d?w=800&q=80"},{link:"#",text:"Work",image:"https://images.unsplash.com/photo-1618556450991-2f1af64e8191?w=800&q=80"},{link:"#",text:"Contact",image:"https://images.unsplash.com/photo-1618556450783-953e03f0bb7a?w=800&q=80"}];function vm({items:e=Im,className:t=""}){let[a,o]=Cn.useState(-1),[l,r]=Cn.useState(-1);return jsxRuntime.jsxs("div",{className:i("flex gap-8",t),children:[jsxRuntime.jsxs("div",{className:"flex-1",children:[jsxRuntime.jsxs("div",{className:"mb-6",children:[jsxRuntime.jsx("h2",{className:"text-2xl font-bold text-white",children:"Menu"}),jsxRuntime.jsx("p",{className:"text-sm text-zinc-400",children:"Explore our pages"})]}),jsxRuntime.jsx("nav",{className:"flex flex-col gap-2",children:e.map((s,n)=>jsxRuntime.jsxs("a",{href:s.link,className:i("group flex items-center gap-4 py-4 px-4 rounded-lg transition-all duration-300",l===n?"bg-zinc-800 translate-x-4":"bg-transparent"),onMouseEnter:()=>r(n),onMouseLeave:()=>r(-1),onClick:()=>o(n),children:[jsxRuntime.jsx("span",{className:"text-sm text-zinc-500 font-mono",children:String(n+1).padStart(2,"0")}),jsxRuntime.jsx("span",{className:i("text-xl font-medium transition-colors",l===n?"text-white":"text-zinc-400"),children:s.text}),jsxRuntime.jsx("span",{className:i("ml-auto text-xl transition-all duration-300",l===n?"opacity-100 translate-x-0":"opacity-0 -translate-x-2"),children:"\u2192"})]},n))})]}),jsxRuntime.jsx("div",{className:i("w-80 h-80 rounded-2xl overflow-hidden transition-all duration-500",l>=0?"opacity-100 scale-100":"opacity-0 scale-95"),children:l>=0&&e[l]?.image&&jsxRuntime.jsxs("div",{className:"relative w-full h-full",children:[jsxRuntime.jsx("img",{src:e[l].image,alt:e[l].text,className:"w-full h-full object-cover"}),jsxRuntime.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-black/60 to-transparent"}),jsxRuntime.jsx("h3",{className:"absolute bottom-4 left-4 text-2xl font-bold text-white",children:e[l].text})]})})]})}var ym=[{label:"Home",href:"#"},{label:"About",href:"#"},{label:"Services",href:"#"},{label:"Contact",href:"#"}];function wm({items:e=ym,className:t="",activeColor:a="#8b5cf6",inactiveColor:o="#a1a1aa",backgroundColor:l="#18181b"}){let[r,s]=Cn.useState(0),n=(d,u)=>{u.preventDefault(),s(d);};return jsxRuntime.jsx("div",{className:i("relative",t),children:jsxRuntime.jsx("nav",{className:"relative rounded-full px-2 py-2",style:{backgroundColor:l},children:jsxRuntime.jsx("ul",{className:"flex items-center gap-1",children:e.map((d,u)=>jsxRuntime.jsx("li",{className:"relative",children:jsxRuntime.jsxs("a",{href:d.href,className:i("relative z-10 block px-4 py-2 text-sm font-medium rounded-full transition-all duration-300",r===u&&"text-white"),style:{color:r===u?"#fff":o},onClick:f=>n(u,f),children:[d.label,r===u&&jsxRuntime.jsx("span",{className:"absolute inset-0 rounded-full -z-10 animate-pulse",style:{backgroundColor:a,boxShadow:`0 0 20px ${a}`}})]})},u))})})})}function km({logo:e,logoAlt:t="Logo",items:a,activeHref:o,className:l="",baseColor:r="#fff",pillColor:s="#000000",hoveredPillTextColor:n="#ffffff",pillTextColor:d,onMobileMenuClick:u}){let f=d??r,[m,x]=Cn.useState(false),[c,p]=Cn.useState(null),g=()=>{x(!m),u?.();};return jsxRuntime.jsxs("div",{className:i("relative",l),children:[jsxRuntime.jsxs("nav",{className:"flex items-center gap-4 px-4 py-2 rounded-full",style:{backgroundColor:s},"aria-label":"Primary",children:[e&&jsxRuntime.jsx("a",{href:a?.[0]?.href||"#","aria-label":"Home",className:"flex-shrink-0",children:jsxRuntime.jsx("img",{src:e,alt:t,className:"h-8 w-8 object-contain"})}),jsxRuntime.jsx("div",{className:"hidden md:flex items-center gap-1",children:jsxRuntime.jsx("ul",{className:"flex items-center gap-1",role:"menubar",children:a.map((h,b)=>jsxRuntime.jsx("li",{role:"none",children:jsxRuntime.jsx("a",{role:"menuitem",href:h.href,className:i("relative px-4 py-2 rounded-full text-sm font-medium transition-all duration-300",o===h.href&&"font-semibold"),style:{color:c===b?n:f,backgroundColor:c===b?r:"transparent"},"aria-label":h.ariaLabel||h.label,onMouseEnter:()=>p(b),onMouseLeave:()=>p(null),children:h.label})},h.href))})}),jsxRuntime.jsxs("button",{className:"md:hidden flex flex-col gap-1 p-2",onClick:g,"aria-label":"Toggle menu",children:[jsxRuntime.jsx("span",{className:i("w-5 h-0.5 transition-all duration-300",m&&"rotate-45 translate-y-1.5"),style:{backgroundColor:r}}),jsxRuntime.jsx("span",{className:i("w-5 h-0.5 transition-all duration-300",m&&"-rotate-45 -translate-y-1"),style:{backgroundColor:r}})]})]}),m&&jsxRuntime.jsx("div",{className:"md:hidden absolute top-full left-0 right-0 mt-2 rounded-xl p-4 shadow-lg",style:{backgroundColor:s},children:jsxRuntime.jsx("ul",{className:"flex flex-col gap-2",children:a.map(h=>jsxRuntime.jsx("li",{children:jsxRuntime.jsx("a",{href:h.href,className:i("block px-4 py-2 rounded-lg text-sm font-medium transition-colors",o===h.href&&"font-semibold"),style:{color:f},onClick:()=>x(false),children:h.label})},h.href))})})]})}function Mm({trigger:e,title:t="Drawer Title",description:a,children:o,className:l,side:r="right"}){let[s,n]=Cn.useState(false);return Cn.useEffect(()=>(s?document.body.style.overflow="hidden":document.body.style.overflow="",()=>{document.body.style.overflow="";}),[s]),jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[jsxRuntime.jsx("div",{onClick:()=>n(true),className:"cursor-pointer",children:e||jsxRuntime.jsx("button",{className:"px-4 py-2 bg-zinc-900 dark:bg-white text-white dark:text-zinc-900 rounded-lg font-medium hover:opacity-90 transition-opacity",children:"Open Drawer"})}),s&&jsxRuntime.jsx("div",{className:"fixed inset-0 z-50 bg-black/50 backdrop-blur-sm transition-opacity duration-300",onClick:()=>n(false)}),jsxRuntime.jsx("div",{"data-open":s,className:i("fixed z-50 bg-white dark:bg-zinc-900 shadow-xl transition-transform duration-300 ease-out",{left:"left-0 top-0 h-full w-80 -translate-x-full data-[open=true]:translate-x-0",right:"right-0 top-0 h-full w-80 translate-x-full data-[open=true]:translate-x-0",top:"top-0 left-0 w-full h-80 -translate-y-full data-[open=true]:translate-y-0",bottom:"bottom-0 left-0 w-full h-80 translate-y-full data-[open=true]:translate-y-0"}[r],l),children:jsxRuntime.jsxs("div",{className:"flex flex-col h-full",children:[jsxRuntime.jsxs("div",{className:"flex items-center justify-between p-4 border-b border-zinc-200 dark:border-zinc-800",children:[jsxRuntime.jsxs("div",{children:[jsxRuntime.jsx("h2",{className:"text-lg font-semibold text-zinc-900 dark:text-white",children:t}),a&&jsxRuntime.jsx("p",{className:"text-sm text-zinc-500 dark:text-zinc-400",children:a})]}),jsxRuntime.jsx("button",{onClick:()=>n(false),className:"p-2 rounded-lg hover:bg-zinc-100 dark:hover:bg-zinc-800 transition-colors","aria-label":"Close drawer",children:jsxRuntime.jsx("svg",{className:"w-5 h-5 text-zinc-500",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:jsxRuntime.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M6 18L18 6M6 6l12 12"})})})]}),jsxRuntime.jsx("div",{className:"flex-1 overflow-auto p-4",children:o})]})})]})}var Rm=[{id:"tab1",title:"Tab 1",color:"bg-blue-500"},{id:"tab2",title:"Tab 2",color:"bg-purple-500"},{id:"tab3",title:"Tab 3",color:"bg-emerald-500"},{id:"tab4",title:"Tab 4",color:"bg-amber-500"}];function Bm({items:e=Rm,defaultTabId:t,className:a,activeColor:o="bg-blue-500",onChange:l}){let[r,s]=Cn.useState(t||e[0]?.id||""),[n,d]=Cn.useState({width:0,left:0}),u=Cn.useRef(new Map),f=Cn.useRef(null);Cn.useLayoutEffect(()=>{let c=()=>{let p=u.current.get(r),g=f.current;if(p&&g){let h=p.getBoundingClientRect(),b=g.getBoundingClientRect();d({width:h.width,left:h.left-b.left});}};return requestAnimationFrame(c),window.addEventListener("resize",c),()=>window.removeEventListener("resize",c)},[r]);let m=c=>{s(c),l?.(c);},x=e.find(c=>c.id===r);return jsxRuntime.jsxs("div",{className:i("flex flex-col",a),children:[x?.content&&jsxRuntime.jsx("div",{className:"mb-4 p-6 bg-zinc-100 dark:bg-zinc-900 rounded-lg min-h-[200px]",children:x.content}),jsxRuntime.jsxs("div",{ref:f,role:"tablist",className:i("relative flex items-center gap-1 p-1","bg-zinc-100 dark:bg-zinc-900 rounded-xl","border border-zinc-200 dark:border-zinc-800"),children:[jsxRuntime.jsx("div",{className:i("absolute rounded-lg transition-all duration-300 ease-out",x?.color||o),style:{width:n.width-8,left:n.left+4,height:"calc(100% - 8px)",top:"4px"}}),e.map(c=>{let p=r===c.id;return jsxRuntime.jsx("button",{ref:g=>{g?u.current.set(c.id,g):u.current.delete(c.id);},type:"button",role:"tab","aria-selected":p,onClick:()=>m(c.id),className:i("relative z-10 flex-1 px-4 py-2 rounded-lg","text-sm font-medium transition-colors duration-300","focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-blue-500",p?"text-white":"text-zinc-600 dark:text-zinc-400 hover:text-zinc-900 dark:hover:text-zinc-100"),children:c.title},c.id)})]})]})}function Fm({width:e=300,height:t=400,image:a="https://picsum.photos/300/400?grayscale",children:o,className:l}){let r=Cn.useRef(null),s=Cn.useRef(null),n=Cn.useRef({x:0,y:0}),d=Cn.useRef({x:0,y:0}),u=Cn.useRef({x:0,y:0,rz:0}),f=Cn.useRef(0),m=Cn.useRef();Cn.useEffect(()=>{if(typeof window>"u")return;n.current={x:window.innerWidth/2,y:window.innerHeight/2},d.current={...n.current};let c=(I,L,v)=>(1-v)*I+v*L,p=(I,L,v,C,y)=>(I-L)*(y-C)/(v-L)+C,g=(I,L,v,C)=>Math.hypot(I-L,v-C),h=I=>{n.current={x:I.clientX,y:I.clientY};};window.addEventListener("mousemove",h);let b=()=>{let I=window.innerWidth,L=window.innerHeight,v=c(u.current.x,p(n.current.x,0,I,-120,120),.1),C=c(u.current.y,p(n.current.y,0,L,-120,120),.1),y=c(u.current.rz,p(n.current.x,0,I,-10,10),.1),w=50;v>w&&(v=w+(v-w)*.2),v<-w&&(v=-w+(v+w)*.2),C>w&&(C=w+(C-w)*.2),C<-w&&(C=-w+(C+w)*.2),u.current={x:v,y:C,rz:y},r.current&&(r.current.style.transform=`translate(${v}px, ${C}px) rotateZ(${y}deg)`);let k=g(d.current.x,n.current.x,d.current.y,n.current.y);f.current=c(f.current,p(k,0,200,0,400),.06),s.current&&s.current.setAttribute("scale",String(f.current)),d.current={...n.current},m.current=requestAnimationFrame(b);};return b(),()=>{window.removeEventListener("mousemove",h),m.current&&cancelAnimationFrame(m.current);}},[]);let x=`imgFilter-${Math.random().toString(36).substr(2,9)}`;return jsxRuntime.jsxs("div",{className:i("relative",l),style:{width:`${e}px`,height:`${t}px`},ref:r,children:[jsxRuntime.jsxs("svg",{viewBox:"-60 -75 720 900",preserveAspectRatio:"xMidYMid slice",className:"w-full h-full",children:[jsxRuntime.jsx("defs",{children:jsxRuntime.jsxs("filter",{id:x,children:[jsxRuntime.jsx("feTurbulence",{type:"turbulence",baseFrequency:"0.015",numOctaves:"5",seed:"4",stitchTiles:"stitch",x:"0%",y:"0%",width:"100%",height:"100%",result:"turbulence1"}),jsxRuntime.jsx("feDisplacementMap",{ref:s,in:"SourceGraphic",in2:"turbulence1",scale:"0",xChannelSelector:"R",yChannelSelector:"B",x:"0%",y:"0%",width:"100%",height:"100%",result:"displacementMap3"})]})}),jsxRuntime.jsx("g",{children:jsxRuntime.jsx("image",{href:a,x:"0",y:"0",width:"600",height:"750",filter:`url(#${x})`,preserveAspectRatio:"xMidYMid slice"})})]}),o&&jsxRuntime.jsx("div",{className:"absolute inset-0 flex items-end p-6",children:jsxRuntime.jsx("div",{className:"text-white",children:o})})]})}var Cs="shadow-[0_0_6px_rgba(0,0,0,0.03),0_2px_6px_rgba(0,0,0,0.08),inset_3px_3px_0.5px_-3px_rgba(0,0,0,0.9),inset_-3px_-3px_0.5px_-3px_rgba(0,0,0,0.85),inset_1px_1px_1px_-0.5px_rgba(0,0,0,0.6),inset_-1px_-1px_1px_-0.5px_rgba(0,0,0,0.6),inset_0_0_6px_6px_rgba(0,0,0,0.12),inset_0_0_2px_2px_rgba(0,0,0,0.06),0_0_12px_rgba(255,255,255,0.15)] dark:shadow-[0_0_8px_rgba(0,0,0,0.03),0_2px_6px_rgba(0,0,0,0.08),inset_3px_3px_0.5px_-3.5px_rgba(255,255,255,0.09),inset_-3px_-3px_0.5px_-3.5px_rgba(255,255,255,0.85),inset_1px_1px_1px_-0.5px_rgba(255,255,255,0.6),inset_-1px_-1px_1px_-0.5px_rgba(255,255,255,0.6),inset_0_0_6px_6px_rgba(255,255,255,0.12),inset_0_0_2px_2px_rgba(255,255,255,0.06),0_0_12px_rgba(0,0,0,0.15)]",ro=Cn__default.default.memo(({id:e,scale:t=30})=>jsxRuntime.jsxs("svg",{className:"hidden",children:[jsxRuntime.jsx("title",{children:"Glass Effect Filter"}),jsxRuntime.jsx("defs",{children:jsxRuntime.jsxs("filter",{colorInterpolationFilters:"sRGB",height:"200%",id:e,width:"200%",x:"-50%",y:"-50%",children:[jsxRuntime.jsx("feTurbulence",{baseFrequency:"0.05 0.05",numOctaves:"1",result:"turbulence",seed:"1",type:"fractalNoise"}),jsxRuntime.jsx("feGaussianBlur",{in:"turbulence",result:"blurredNoise",stdDeviation:"2"}),jsxRuntime.jsx("feDisplacementMap",{in:"SourceGraphic",in2:"blurredNoise",result:"displaced",scale:t,xChannelSelector:"R",yChannelSelector:"B"}),jsxRuntime.jsx("feGaussianBlur",{in:"displaced",result:"finalBlur",stdDeviation:"4"}),jsxRuntime.jsx("feComposite",{in:"finalBlur",in2:"finalBlur",operator:"over"})]})})]}));ro.displayName="GlassFilter";function Hm({className:e,glassSize:t="default",glassEffect:a=true,children:o,...l}){let r=Cn.useId();return jsxRuntime.jsxs("div",{className:i("group relative overflow-hidden rounded-lg border border-zinc-200 dark:border-zinc-800","bg-white/20 dark:bg-zinc-900/20 backdrop-blur-[2px]","transition-all duration-300",{sm:"p-4",default:"p-6",lg:"p-8"}[t],e),...l,children:[jsxRuntime.jsx("div",{className:i("pointer-events-none absolute inset-0 rounded-lg transition-all",Cs)}),a&&jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[jsxRuntime.jsx("div",{className:"-z-10 pointer-events-none absolute inset-0 overflow-hidden rounded-lg",style:{backdropFilter:`url("#${r}")`}}),jsxRuntime.jsx(ro,{id:r,scale:30})]}),jsxRuntime.jsx("div",{className:"relative z-10",children:o}),jsxRuntime.jsx("div",{className:"pointer-events-none absolute inset-0 z-20 rounded-lg bg-gradient-to-r from-transparent via-black/5 to-transparent opacity-0 transition-opacity duration-200 group-hover:opacity-100 dark:via-white/5"})]})}function qm({className:e,variant:t="default",children:a,...o}){let l=Cn.useId();return jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[jsxRuntime.jsxs("button",{className:i("relative px-4 py-2 rounded-full font-medium transition-transform duration-300 hover:scale-105",t==="default"&&"bg-zinc-900 dark:bg-white text-white dark:text-zinc-900",t==="ghost"&&"bg-transparent text-zinc-700 dark:text-zinc-300 hover:bg-zinc-200/80 dark:hover:bg-zinc-800/80",e),...o,children:[jsxRuntime.jsx("div",{className:i("pointer-events-none absolute inset-0 rounded-full transition-all",Cs)}),jsxRuntime.jsx("div",{className:"-z-10 pointer-events-none absolute inset-0 isolate overflow-hidden rounded-full",style:{backdropFilter:`url("#${l}")`}}),jsxRuntime.jsx("span",{className:"relative z-10",children:a})]}),jsxRuntime.jsx(ro,{id:l,scale:70})]})}function Om({targetSelector:e=".cursor-target",spinDuration:t=2,hideDefaultCursor:a=true,color:o="#000000",className:l}){let r=Cn.useRef(null),s=Cn.useRef(null),[n,d]=Cn.useState({x:0,y:0}),[u,f]=Cn.useState(false),[m,x]=Cn.useState(0),c=Cn.useRef();Cn.useEffect(()=>{if(typeof window>"u")return;let h=document.body.style.cursor;a&&(document.body.style.cursor="none"),d({x:window.innerWidth/2,y:window.innerHeight/2});let b=y=>{d({x:y.clientX,y:y.clientY});},I=y=>{let w=y.target;(w.matches(e)||w.closest(e))&&f(true);},L=y=>{let w=y.target;(w.matches(e)||w.closest(e))&&f(false);};window.addEventListener("mousemove",b),window.addEventListener("mouseover",I),window.addEventListener("mouseout",L);let v,C=y=>{v||(v=y);let k=(y-v)/(t*1e3)*360;x(k%360),c.current=requestAnimationFrame(C);};return c.current=requestAnimationFrame(C),()=>{window.removeEventListener("mousemove",b),window.removeEventListener("mouseover",I),window.removeEventListener("mouseout",L),document.body.style.cursor=h,c.current&&cancelAnimationFrame(c.current);}},[e,t,a]);let p=12,g=3;return jsxRuntime.jsxs("div",{ref:r,className:i("fixed pointer-events-none z-[10000]",l),style:{left:n.x,top:n.y,transform:`translate(-50%, -50%) rotate(${u?0:m}deg)`,transition:u?"transform 0.2s ease":"none"},children:[jsxRuntime.jsx("div",{ref:s,className:"absolute rounded-full",style:{width:6,height:6,backgroundColor:o,left:"50%",top:"50%",transform:"translate(-50%, -50%)"}}),["tl","tr","br","bl"].map(h=>{let b=h.includes("t"),I=h.includes("l"),L=u?20:p*1.5;return jsxRuntime.jsx("div",{className:"absolute transition-all duration-200",style:{width:p,height:p,borderColor:o,borderWidth:g,borderStyle:"solid",borderTopWidth:b?g:0,borderBottomWidth:b?0:g,borderLeftWidth:I?g:0,borderRightWidth:I?0:g,left:I?-L:"auto",right:I?"auto":-L,top:b?-L:"auto",bottom:b?"auto":-L}},h)})]})}var Ss=(e,t,a)=>(1-a)*e+a*t;function Vm({color:e="#000000",containerRef:t=null,className:a}){let o=Cn.useRef(null),l=Cn.useRef(null),r=Cn.useRef(null),s=Cn.useRef({x:0,y:0}),n=Cn.useRef({x:0,y:0}),d=Cn.useRef();return Cn.useEffect(()=>{if(typeof window>"u")return;let u=(p,g)=>{if(g){let h=g.getBoundingClientRect();return {x:p.clientX-h.left,y:p.clientY-h.top}}return {x:p.clientX,y:p.clientY}},f=p=>{if(s.current=u(p,t?.current||void 0),t?.current){let g=t.current.getBoundingClientRect(),h=p.clientX<g.left||p.clientX>g.right||p.clientY<g.top||p.clientY>g.bottom;l.current&&r.current&&(l.current.style.opacity=h?"0":"1",r.current.style.opacity=h?"0":"1");}},m=t?.current||window;m.addEventListener("mousemove",f),l.current&&r.current&&(l.current.style.opacity="0",r.current.style.opacity="0");let x=()=>{n.current={...s.current},l.current&&r.current&&(l.current.style.opacity="1",r.current.style.opacity="1"),m.removeEventListener("mousemove",x);};m.addEventListener("mousemove",x);let c=()=>{n.current.x=Ss(n.current.x,s.current.x,.15),n.current.y=Ss(n.current.y,s.current.y,.15),l.current&&r.current&&(r.current.style.transform=`translateX(${n.current.x}px)`,l.current.style.transform=`translateY(${n.current.y}px)`),d.current=requestAnimationFrame(c);};return c(),()=>{m.removeEventListener("mousemove",f),d.current&&cancelAnimationFrame(d.current);}},[t]),jsxRuntime.jsxs("div",{ref:o,className:i("pointer-events-none z-[10000]",a),style:{position:t?"absolute":"fixed",top:0,left:0,width:"100%",height:"100%"},children:[jsxRuntime.jsx("div",{ref:l,style:{position:"absolute",width:"100%",height:"1px",background:e,pointerEvents:"none",opacity:0,transition:"opacity 0.3s ease"}}),jsxRuntime.jsx("div",{ref:r,style:{position:"absolute",height:"100%",width:"1px",background:e,pointerEvents:"none",opacity:0,transition:"opacity 0.3s ease"}})]})}function $m({texts:e=["TailwindCSS","React","Next.js","TypeScript","Vercel","Motion"],className:t}){let[a,o]=Cn.useState(0),l=Cn.useRef(null),r=Cn.useRef([]);return Cn.useEffect(()=>{if(!l.current)return;let s=new IntersectionObserver(n=>{n.forEach(d=>{if(d.isIntersecting){let u=r.current.findIndex(f=>f===d.target);u!==-1&&o(u);}});},{threshold:.7,root:l.current,rootMargin:"-45% 0px -45% 0px"});return r.current.forEach(n=>{n&&s.observe(n);}),()=>s.disconnect()},[e]),jsxRuntime.jsx("div",{className:i("w-full max-w-3xl mx-auto",t),children:jsxRuntime.jsxs("div",{ref:l,className:i("h-[300px] overflow-y-auto","relative flex flex-col items-center","[&::-webkit-scrollbar]:hidden [-ms-overflow-style:none] [scrollbar-width:none]"),children:[jsxRuntime.jsx("div",{className:"h-[150px]"}),jsxRuntime.jsx("div",{className:"flex flex-col items-center w-full",children:e.map((s,n)=>jsxRuntime.jsx("div",{ref:d=>{r.current[n]=d;},className:i("text-5xl font-bold py-8 px-4 whitespace-nowrap","transition-all duration-300",a===n?"text-zinc-900 dark:text-white scale-100 opacity-100":"text-zinc-400/50 dark:text-zinc-600 scale-95 opacity-50"),children:s},`${s}-${n}`))}),jsxRuntime.jsx("div",{className:"h-[150px]"})]})})}var Qm=({item:e,index:t,totalCards:a,isExpanded:o})=>{let l=(a-1)*5,r=t*10-l,s=t*2,n=t*1.5,d=320,u=240,m=(d+(a-1)*(d-u))/2,x=t*(d-u)-m+d/2,c=t*5-(a-1)*2.5;return jsxRuntime.jsxs(framerMotion.motion.div,{initial:{x:r,y:s,rotate:n,scale:1},animate:{x:o?x:r,y:o?0:s,rotate:o?c:n,scale:1,zIndex:a-t},transition:{type:"spring",stiffness:350,damping:30,mass:.8},className:i("absolute inset-0 rounded-2xl p-6 w-full","bg-gradient-to-br from-white/40 via-neutral-50/30 to-neutral-100/20","dark:from-neutral-800/40 dark:via-neutral-900/30 dark:to-black/20","border border-white/20 dark:border-neutral-800/20","backdrop-blur-xl backdrop-saturate-150","shadow-[0_8px_20px_rgb(0,0,0,0.08)] dark:shadow-[0_8px_20px_rgb(0,0,0,0.3)]","transition-all duration-500 ease-out transform-gpu overflow-hidden"),style:{maxWidth:"320px",left:"50%",marginLeft:"-160px"},children:[jsxRuntime.jsx("div",{className:"absolute inset-1 rounded-xl bg-neutral-900/50 backdrop-blur-sm border border-neutral-200/50 dark:border-neutral-700/50"}),jsxRuntime.jsxs("div",{className:"relative z-10",children:[jsxRuntime.jsx("dl",{className:"mb-4 grid grid-cols-4 gap-2",children:e.specs.map(p=>jsxRuntime.jsxs("div",{className:"text-[10px] flex flex-col items-start",children:[jsxRuntime.jsx("dd",{className:"font-medium text-gray-500 dark:text-gray-400",children:p.value}),jsxRuntime.jsx("dt",{className:"text-white dark:text-gray-100",children:p.label})]},p.label))}),jsxRuntime.jsx("div",{className:"aspect-[16/11] w-full overflow-hidden rounded-lg bg-neutral-100 dark:bg-neutral-900 border border-neutral-200/50 dark:border-neutral-700/50",children:jsxRuntime.jsx("img",{src:e.image,alt:e.title,className:"object-cover w-full h-full",loading:"lazy"})}),jsxRuntime.jsxs("div",{className:"mt-4",children:[jsxRuntime.jsx("h2",{className:"text-3xl font-bold tracking-tight text-white",children:e.title}),jsxRuntime.jsx("span",{className:"block text-3xl font-semibold tracking-tight bg-gradient-to-r from-gray-400 via-gray-300 to-gray-500 bg-clip-text text-transparent",children:e.subtitle}),e.description&&jsxRuntime.jsx("p",{className:"mt-2 text-sm text-gray-500 dark:text-gray-400",children:e.description})]})]})]})};function Zm({items:e,className:t,defaultExpanded:a=false}){let[o,l]=Cn.useState(a);return jsxRuntime.jsx("button",{className:i("relative mx-auto cursor-pointer min-h-[440px] w-full max-w-[90vw] md:max-w-[1200px]","appearance-none bg-transparent border-0 p-0 flex items-center justify-center mb-8",t),onClick:()=>l(!o),"aria-label":"Toggle card stack",type:"button",children:e.map((r,s)=>jsxRuntime.jsx(Qm,{item:r,index:s,totalCards:e.length,isExpanded:o},r.id))})}var jm=({data:e,index:t})=>{let o=(e.size-16)/2,l=o*2*Math.PI,r=(100-e.value)/100*l,s=`gradient-${e.label.toLowerCase()}-${t}`;return jsxRuntime.jsx(framerMotion.motion.div,{className:"absolute inset-0 flex items-center justify-center",initial:{opacity:0,scale:.8},animate:{opacity:1,scale:1},transition:{duration:.8,delay:t*.2,ease:"easeOut"},children:jsxRuntime.jsxs("svg",{width:e.size,height:e.size,viewBox:`0 0 ${e.size} ${e.size}`,className:"transform -rotate-90","aria-label":`${e.label} Activity Progress - ${e.value}%`,children:[jsxRuntime.jsx("title",{children:`${e.label} Activity Progress - ${e.value}%`}),jsxRuntime.jsx("defs",{children:jsxRuntime.jsxs("linearGradient",{id:s,x1:"0%",y1:"0%",x2:"100%",y2:"100%",children:[jsxRuntime.jsx("stop",{offset:"0%",style:{stopColor:e.color,stopOpacity:1}}),jsxRuntime.jsx("stop",{offset:"100%",style:{stopColor:e.color==="#FF2D55"?"#FF6B8B":e.color==="#A3F900"?"#C5FF4D":"#4DDFED",stopOpacity:1}})]})}),jsxRuntime.jsx("circle",{cx:e.size/2,cy:e.size/2,r:o,fill:"none",stroke:"currentColor",strokeWidth:16,className:"text-zinc-200/50 dark:text-zinc-800/50"}),jsxRuntime.jsx(framerMotion.motion.circle,{cx:e.size/2,cy:e.size/2,r:o,fill:"none",stroke:`url(#${s})`,strokeWidth:16,strokeDasharray:l,initial:{strokeDashoffset:l},animate:{strokeDashoffset:r},transition:{duration:1.8,delay:t*.2,ease:"easeInOut"},strokeLinecap:"round",style:{filter:"drop-shadow(0 0 6px rgba(0,0,0,0.15))"}})]})})},ep=[{label:"MOVE",value:85,color:"#FF2D55",size:200,current:479,target:800,unit:"CAL"},{label:"EXERCISE",value:60,color:"#A3F900",size:160,current:24,target:30,unit:"MIN"},{label:"STAND",value:30,color:"#04C7DD",size:120,current:6,target:12,unit:"HR"}];function ap({title:e="Activity Rings",className:t,activities:a=ep}){return jsxRuntime.jsx("div",{className:i("relative w-full max-w-3xl mx-auto p-8 rounded-3xl text-zinc-900 dark:text-white",t),children:jsxRuntime.jsxs("div",{className:"flex flex-col items-center gap-8",children:[jsxRuntime.jsx(framerMotion.motion.h2,{className:"text-2xl font-medium text-zinc-900 dark:text-white",initial:{opacity:0,y:-20},animate:{opacity:1,y:0},transition:{duration:.5},children:e}),jsxRuntime.jsxs("div",{className:"flex items-center",children:[jsxRuntime.jsx("div",{className:"relative w-[180px] h-[180px]",children:a.map((o,l)=>jsxRuntime.jsx(jm,{data:o,index:l},o.label))}),jsxRuntime.jsx(framerMotion.motion.div,{className:"flex flex-col gap-6 ml-8",initial:{opacity:0,x:20},animate:{opacity:1,x:0},transition:{duration:.5,delay:.3},children:a.map(o=>jsxRuntime.jsxs("div",{className:"flex flex-col",children:[jsxRuntime.jsx("span",{className:"text-sm font-medium text-zinc-600 dark:text-zinc-400",children:o.label}),jsxRuntime.jsxs("span",{className:"text-2xl font-semibold",style:{color:o.color},children:[o.current,"/",o.target,jsxRuntime.jsx("span",{className:"text-base ml-1 text-zinc-600 dark:text-zinc-400",children:o.unit})]})]},o.label))})]})]})})}var Ns=({className:e})=>jsxRuntime.jsx("svg",{className:e,viewBox:"0 0 22 22",fill:"currentColor",children:jsxRuntime.jsx("path",{d:"M20.396 11c-.018-.646-.215-1.275-.57-1.816-.354-.54-.852-.972-1.438-1.246.223-.607.27-1.264.14-1.897-.131-.634-.437-1.218-.882-1.687-.47-.445-1.053-.75-1.687-.882-.633-.13-1.29-.083-1.897.14-.273-.587-.704-1.086-1.245-1.44S11.647 1.62 11 1.604c-.646.017-1.273.213-1.813.568s-.969.854-1.24 1.44c-.608-.223-1.267-.272-1.902-.14-.635.13-1.22.436-1.69.882-.445.47-.749 1.055-.878 1.688-.13.633-.08 1.29.144 1.896-.587.274-1.087.705-1.443 1.245-.356.54-.555 1.17-.574 1.817.02.647.218 1.276.574 1.817.356.54.856.972 1.443 1.245-.224.606-.274 1.263-.144 1.896.13.634.433 1.218.877 1.688.47.443 1.054.747 1.687.878.633.132 1.29.084 1.897-.136.274.586.705 1.084 1.246 1.439.54.354 1.17.551 1.816.569.647-.016 1.276-.213 1.817-.567s.972-.854 1.245-1.44c.604.239 1.266.296 1.903.164.636-.132 1.22-.447 1.68-.907.46-.46.776-1.044.908-1.681s.075-1.299-.165-1.903c.586-.274 1.084-.705 1.439-1.246.354-.54.551-1.17.569-1.816zM9.662 14.85l-3.429-3.428 1.293-1.302 2.072 2.072 4.4-4.794 1.347 1.246z"})}),tp=({className:e})=>jsxRuntime.jsxs("svg",{className:e,viewBox:"0 0 1200 1227",fill:"none",children:[jsxRuntime.jsx("title",{children:"X"}),jsxRuntime.jsx("path",{fill:"currentColor",d:"M714.163 519.284 1160.89 0h-105.86L667.137 450.887 357.328 0H0l468.492 681.821L0 1226.37h105.866l409.625-476.152 327.181 476.152H1200L714.137 519.284h.026ZM569.165 687.828l-47.468-67.894-377.686-540.24h162.604l304.797 435.991 47.468 67.894 396.2 566.721H892.476L569.165 687.854v-.026Z"})]});function op({authorName:e,authorHandle:t,authorImage:a,content:o,isVerified:l=false,timestamp:r,reply:s,href:n,className:d}){return jsxRuntime.jsx(n?"a":"div",{...n?{href:n,target:"_blank",rel:"noopener noreferrer"}:{},className:i("block w-full min-w-[400px] md:min-w-[500px] max-w-xl p-1.5 rounded-2xl relative isolate overflow-hidden","bg-black/90 dark:bg-black/90","backdrop-blur-xl backdrop-saturate-[180%]","border border-black/10 dark:border-white/10","shadow-[0_8px_16px_rgb(0_0_0_/_0.15)] dark:shadow-[0_8px_16px_rgb(0_0_0_/_0.25)]",d),children:jsxRuntime.jsxs("div",{className:i("w-full p-5 rounded-xl relative","bg-gradient-to-br from-black/[0.05] to-transparent dark:from-white/[0.08] dark:to-transparent","backdrop-blur-md backdrop-saturate-150","border border-black/[0.05] dark:border-white/[0.08]","text-white/90 dark:text-white"),children:[jsxRuntime.jsxs("div",{className:"flex gap-3",children:[jsxRuntime.jsx("div",{className:"shrink-0",children:jsxRuntime.jsx("div",{className:"h-10 w-10 rounded-full overflow-hidden",children:jsxRuntime.jsx("img",{src:a,alt:e,className:"h-full w-full object-cover"})})}),jsxRuntime.jsx("div",{className:"flex-1",children:jsxRuntime.jsxs("div",{className:"flex justify-between items-start",children:[jsxRuntime.jsxs("div",{className:"flex flex-col",children:[jsxRuntime.jsxs("div",{className:"flex items-center gap-1",children:[jsxRuntime.jsx("span",{className:"font-semibold text-white dark:text-white/90 hover:underline cursor-pointer",children:e}),l&&jsxRuntime.jsx(Ns,{className:"h-4 w-4 text-blue-400"})]}),jsxRuntime.jsxs("span",{className:"text-white/60 text-sm",children:["@",t]})]}),jsxRuntime.jsx("div",{className:"h-8 w-8 text-white/80 hover:text-white hover:bg-white/10 rounded-lg p-1 flex items-center justify-center",children:jsxRuntime.jsx(tp,{className:"w-4 h-4"})})]})})]}),jsxRuntime.jsxs("div",{className:"mt-2",children:[o.map((m,x)=>jsxRuntime.jsx("p",{className:"text-white dark:text-white/90 text-base",children:m},x)),jsxRuntime.jsx("span",{className:"text-white/50 text-sm mt-2 block",children:r})]}),s&&jsxRuntime.jsx("div",{className:"mt-4 pt-4 border-t border-white/[0.08]",children:jsxRuntime.jsxs("div",{className:"flex gap-3",children:[jsxRuntime.jsx("div",{className:"shrink-0",children:jsxRuntime.jsx("div",{className:"h-10 w-10 rounded-full overflow-hidden",children:jsxRuntime.jsx("img",{src:s.authorImage,alt:s.authorName,className:"h-full w-full object-cover"})})}),jsxRuntime.jsxs("div",{className:"flex-1",children:[jsxRuntime.jsxs("div",{className:"flex items-center gap-1",children:[jsxRuntime.jsx("span",{className:"font-semibold text-white/90 hover:underline cursor-pointer",children:s.authorName}),s.isVerified&&jsxRuntime.jsx(Ns,{className:"h-4 w-4 text-blue-400"}),jsxRuntime.jsxs("span",{className:"text-white/60 text-sm",children:["@",s.authorHandle]}),jsxRuntime.jsx("span",{className:"text-white/60 text-sm",children:"\xB7"}),jsxRuntime.jsx("span",{className:"text-white/60 text-sm",children:s.timestamp})]}),jsxRuntime.jsx("p",{className:"text-white/80 text-sm mt-1",children:s.content})]})]})})]})})}function lp({title:e="Key Metrics",description:t="Track your success with these important numbers",stats:a,className:o}){let l=Cn.useRef(null),r=framerMotion.useInView(l,{once:true});return jsxRuntime.jsx("div",{className:i("min-h-[400px] w-full",o),children:jsxRuntime.jsx("section",{className:"py-20",children:jsxRuntime.jsxs("div",{className:"mx-auto max-w-7xl px-6",children:[jsxRuntime.jsxs(framerMotion.motion.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},transition:{duration:.6},viewport:{once:true},className:"mb-16 text-center",children:[jsxRuntime.jsx("h2",{className:"text-zinc-900 dark:text-zinc-100 mb-4 text-3xl font-bold lg:text-4xl",children:e}),jsxRuntime.jsx("p",{className:"text-zinc-600 dark:text-zinc-400 mx-auto max-w-2xl text-lg",children:t})]}),jsxRuntime.jsx("div",{ref:l,className:"grid grid-cols-1 gap-6 md:grid-cols-2 lg:grid-cols-4",children:a.map((s,n)=>jsxRuntime.jsxs(framerMotion.motion.div,{initial:{opacity:0,y:30,scale:.9},animate:r?{opacity:1,y:0,scale:1}:{opacity:0,y:30,scale:.9},transition:{duration:.6,delay:n*.1,type:"spring",stiffness:100},className:"group border-zinc-300 dark:border-zinc-700 bg-transparent hover:border-zinc-500 dark:hover:border-zinc-600 relative overflow-hidden rounded-2xl border p-6 transition-all hover:scale-105 hover:shadow-xl",children:[s.icon&&jsxRuntime.jsx(framerMotion.motion.div,{className:"mb-4 text-3xl text-zinc-900 dark:text-zinc-100",initial:{rotate:-10,scale:.8},animate:r?{rotate:0,scale:1}:{rotate:-10,scale:.8},transition:{duration:.6,delay:n*.1+.2,type:"spring",stiffness:200},children:s.icon}),jsxRuntime.jsx(framerMotion.motion.div,{className:"text-zinc-900 dark:text-zinc-100 mb-1 text-2xl font-bold lg:text-3xl",initial:{scale:.5},animate:r?{scale:1}:{scale:.5},transition:{duration:.8,delay:n*.1+.3,type:"spring",stiffness:200},children:s.value}),jsxRuntime.jsx("h3",{className:"text-zinc-900 dark:text-zinc-100 mb-2 text-sm font-semibold tracking-wide uppercase",children:s.label}),s.description&&jsxRuntime.jsx("p",{className:"text-zinc-600 dark:text-zinc-400 mb-3 text-xs",children:s.description}),s.trend&&jsxRuntime.jsxs(framerMotion.motion.div,{className:i("inline-flex items-center rounded-full px-2 py-1 text-xs font-medium",s.trend.direction==="up"?"bg-green-900/20 text-green-400":"bg-red-900/20 text-red-400"),initial:{opacity:0,x:-10},animate:r?{opacity:1,x:0}:{opacity:0,x:-10},transition:{duration:.4,delay:n*.1+.5},children:[jsxRuntime.jsx("span",{className:"mr-1",children:s.trend.direction==="up"?"\u2197":"\u2198"}),s.trend.value]})]},s.label))})]})})})}function dp({title:e="Our Impact in Numbers",description:t="See how we're making a difference across the globe",stats:a,className:o}){let l=Cn.useRef(null),r=framerMotion.useInView(l,{once:true});return jsxRuntime.jsx("div",{className:i("min-h-[400px] w-full",o),children:jsxRuntime.jsx("section",{className:"py-20",children:jsxRuntime.jsxs("div",{className:"mx-auto max-w-7xl px-6",children:[jsxRuntime.jsxs(framerMotion.motion.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},transition:{duration:.6},viewport:{once:true},className:"mb-16 text-center",children:[jsxRuntime.jsx("h2",{className:"text-zinc-900 dark:text-zinc-100 mb-4 text-3xl font-bold lg:text-4xl",children:e}),jsxRuntime.jsx("p",{className:"text-zinc-600 dark:text-zinc-400 mx-auto max-w-2xl text-lg",children:t})]}),jsxRuntime.jsx("div",{ref:l,className:"grid grid-cols-1 gap-8 md:grid-cols-2 lg:grid-cols-4",children:a.map((s,n)=>jsxRuntime.jsxs(framerMotion.motion.div,{initial:{opacity:0,y:30},animate:r?{opacity:1,y:0}:{opacity:0,y:30},transition:{duration:.6,delay:n*.1},className:"group bg-transparent hover:border-zinc-500 dark:hover:border-zinc-600 relative overflow-hidden rounded-2xl border border-zinc-300 dark:border-zinc-700 p-8 text-center transition-all hover:shadow-lg",children:[jsxRuntime.jsx(framerMotion.motion.div,{className:"text-zinc-900 dark:text-zinc-100 mb-2 text-4xl font-bold lg:text-5xl",initial:{scale:.5},animate:r?{scale:1}:{scale:.5},transition:{duration:.8,delay:n*.1+.2,type:"spring",stiffness:200},children:s.value}),jsxRuntime.jsx("h3",{className:"text-zinc-900 dark:text-zinc-100 mb-2 text-lg font-semibold",children:s.label}),s.description&&jsxRuntime.jsx("p",{className:"text-zinc-600 dark:text-zinc-400 text-sm",children:s.description})]},s.label))})]})})})}function up({children:e,className:t}){return jsxRuntime.jsx("div",{className:i("grid w-full auto-rows-[22rem] grid-cols-3 gap-4",t),children:e})}function fp({name:e,className:t,background:a,Icon:o,description:l,href:r,cta:s,onClick:n}){return jsxRuntime.jsxs(r?"a":"div",{...r?{href:r,target:"_blank",rel:"noopener noreferrer"}:{},onClick:n,className:i("group relative col-span-3 flex flex-col justify-between overflow-hidden rounded-xl cursor-pointer","bg-white [box-shadow:0_0_0_1px_rgba(0,0,0,.03),0_2px_4px_rgba(0,0,0,.05),0_12px_24px_rgba(0,0,0,.05)]","transform-gpu dark:bg-black dark:[border:1px_solid_rgba(255,255,255,.1)] dark:[box-shadow:0_-20px_80px_-20px_#ffffff1f_inset]",t),children:[typeof a=="string"?jsxRuntime.jsx("div",{className:i("absolute inset-0",a)}):jsxRuntime.jsx("div",{className:"absolute inset-0",children:a}),jsxRuntime.jsxs("div",{className:"pointer-events-none z-10 flex transform-gpu flex-col gap-1 p-6 transition-all duration-300 group-hover:-translate-y-10",children:[o&&jsxRuntime.jsx(o,{className:"h-12 w-12 origin-left transform-gpu text-neutral-700 transition-all duration-300 ease-in-out group-hover:scale-75 dark:text-neutral-300"}),jsxRuntime.jsx("h3",{className:"text-xl font-semibold text-neutral-700 dark:text-neutral-300",children:e}),jsxRuntime.jsx("p",{className:"max-w-lg text-neutral-400",children:l})]}),s&&jsxRuntime.jsx("div",{className:"pointer-events-none absolute bottom-0 flex w-full translate-y-10 transform-gpu flex-row items-center p-4 opacity-0 transition-all duration-300 group-hover:translate-y-0 group-hover:opacity-100",children:jsxRuntime.jsxs("span",{className:"pointer-events-auto ml-auto flex items-center gap-2 rounded-lg bg-black px-4 py-2 text-white dark:bg-white dark:text-black",children:[s,jsxRuntime.jsx("svg",{className:"ml-2 h-4 w-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:jsxRuntime.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M9 5l7 7-7 7"})})]})}),jsxRuntime.jsx("div",{className:"pointer-events-none absolute inset-0 transform-gpu transition-all duration-300 group-hover:bg-black/[.03] group-hover:dark:bg-neutral-800/10"})]})}function pp({colorStops:e=["#5227FF","#7cff67","#5227FF"],amplitude:t=1,blend:a=.5,speed:o=1,className:l=""}){let r=Cn.useRef(null);return Cn.useEffect(()=>{let s=r.current;if(!s)return;let n=s.getContext("2d");if(!n)return;let d,u=0,f=()=>{s.width=s.offsetWidth,s.height=s.offsetHeight;},x=()=>{if(!n||!s)return;n.clearRect(0,0,s.width,s.height);let c=n.createLinearGradient(0,0,s.width,0);e.forEach((p,g)=>{c.addColorStop(g/(e.length-1),p);});for(let p=0;p<s.height;p++){let g=Math.sin(p*.02+u*o*.1)*t*50,h=Math.max(0,Math.min(1,p/s.height*a+g*.01));n.fillStyle=c,n.globalAlpha=h*.3,n.fillRect(0,p,s.width,1);}n.globalAlpha=1,u+=1,d=requestAnimationFrame(x);};return f(),window.addEventListener("resize",f),x(),()=>{window.removeEventListener("resize",f),cancelAnimationFrame(d);}},[e,t,a,o]),jsxRuntime.jsx("canvas",{ref:r,className:`absolute inset-0 w-full h-full ${l}`})}function hp({lineCount:e=50,lineColor:t="rgba(255, 255, 255, 0.1)",lineWidth:a=1,speed:o=.5,amplitude:l=100,className:r=""}){let s=Cn.useRef(null),n=Cn.useRef(null);return Cn.useEffect(()=>{let d=s.current;if(!d)return;let u=d.getContext("2d");if(!u)return;let f=()=>{d.width=d.offsetWidth,d.height=d.offsetHeight;};window.addEventListener("resize",f),f();let m=[];for(let p=0;p<e;p++)m.push({y:d.height/e*p,offset:Math.random()*Math.PI*2,speed:.5+Math.random()*o});let x=0,c=()=>{!u||!d||(u.clearRect(0,0,d.width,d.height),u.strokeStyle=t,u.lineWidth=a,m.forEach(p=>{u.beginPath();for(let g=0;g<=d.width;g+=5){let h=Math.sin(g*.01+x*p.speed+p.offset)*l,b=p.y+h;g===0?u.moveTo(g,b):u.lineTo(g,b);}u.stroke();}),x+=.01,n.current=requestAnimationFrame(c));};return c(),()=>{window.removeEventListener("resize",f),n.current&&cancelAnimationFrame(n.current);}},[e,t,a,o,l]),jsxRuntime.jsx("canvas",{ref:s,className:`w-full h-full ${r}`})}function Ip({direction:e="right",speed:t=1,borderColor:a="#999",squareSize:o=40,hoverFillColor:l="#222",className:r=""}){let s=Cn.useRef(null),n=Cn.useRef(null),d=Cn.useRef({x:0,y:0}),u=Cn.useRef(null);return Cn.useEffect(()=>{let f=s.current;if(!f)return;let m=f.getContext("2d"),x=()=>{f.width=f.offsetWidth,f.height=f.offsetHeight;};window.addEventListener("resize",x),x();let c=()=>{if(!m)return;m.clearRect(0,0,f.width,f.height);let b=Math.floor(d.current.x/o)*o,I=Math.floor(d.current.y/o)*o;for(let L=b;L<f.width+o;L+=o)for(let v=I;v<f.height+o;v+=o){let C=L-d.current.x%o,y=v-d.current.y%o;u.current&&Math.floor((L-b)/o)===u.current.x&&Math.floor((v-I)/o)===u.current.y&&(m.fillStyle=l,m.fillRect(C,y,o,o)),m.strokeStyle=a,m.strokeRect(C,y,o,o);}},p=()=>{let b=Math.max(t,.1);switch(e){case "right":d.current.x=(d.current.x-b+o)%o;break;case "left":d.current.x=(d.current.x+b+o)%o;break;case "up":d.current.y=(d.current.y+b+o)%o;break;case "down":d.current.y=(d.current.y-b+o)%o;break;case "diagonal":d.current.x=(d.current.x-b+o)%o,d.current.y=(d.current.y-b+o)%o;break}c(),n.current=requestAnimationFrame(p);},g=b=>{let I=f.getBoundingClientRect(),L=b.clientX-I.left,v=b.clientY-I.top,C=Math.floor(d.current.x/o)*o,y=Math.floor(d.current.y/o)*o;u.current={x:Math.floor((L+d.current.x-C)/o),y:Math.floor((v+d.current.y-y)/o)};},h=()=>{u.current=null;};return f.addEventListener("mousemove",g),f.addEventListener("mouseleave",h),n.current=requestAnimationFrame(p),()=>{window.removeEventListener("resize",x),n.current&&cancelAnimationFrame(n.current),f.removeEventListener("mousemove",g),f.removeEventListener("mouseleave",h);}},[e,t,a,l,o]),jsxRuntime.jsx("canvas",{ref:s,className:`w-full h-full ${r}`})}function yp({lineColor:e="black",backgroundColor:t="transparent",waveSpeedX:a=.0125,waveSpeedY:o=.005,waveAmpX:l=32,waveAmpY:r=16,xGap:s=10,yGap:n=32,friction:d=.925,tension:u=.005,maxCursorMove:f=100,style:m={},className:x=""}){let c=Cn.useRef(null),p=Cn.useRef(null),g=Cn.useRef(null);return Cn.useEffect(()=>{let h=p.current,b=c.current;if(!h||!b)return;let I=h.getContext("2d");if(!I)return;let L=0,v=()=>{let y=b.getBoundingClientRect();h.width=y.width,h.height=y.height;},C=()=>{if(!I||!h)return;I.clearRect(0,0,h.width,h.height),I.strokeStyle=e,I.lineWidth=1;let y=Math.ceil(h.width/s),w=Math.ceil(h.height/n);for(let k=0;k<=y;k++){I.beginPath();for(let S=0;S<=w;S++){let P=k*s,T=S*n,A=Math.sin(T*.01+L*a)*l,M=Math.cos(P*.01+L*o)*r;S===0?I.moveTo(P+A,T+M):I.lineTo(P+A,T+M);}I.stroke();}L+=1,g.current=requestAnimationFrame(C);};return v(),window.addEventListener("resize",v),C(),()=>{window.removeEventListener("resize",v),g.current!==null&&cancelAnimationFrame(g.current);}},[e,a,o,l,r,s,n]),jsxRuntime.jsx("div",{ref:c,className:`absolute inset-0 overflow-hidden ${x}`,style:{backgroundColor:t,...m},children:jsxRuntime.jsx("canvas",{ref:p,className:"w-full h-full"})})}var As=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),wp=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(t,a,o)=>o?o.toUpperCase():a.toLowerCase()),co=e=>{let t=wp(e);return t.charAt(0).toUpperCase()+t.slice(1)},st=(...e)=>e.filter((t,a,o)=>!!t&&t.trim()!==""&&o.indexOf(t)===a).join(" ").trim(),Rs=e=>{for(let t in e)if(t.startsWith("aria-")||t==="role"||t==="title")return true};var Bs={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};var Fs=Cn.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:a=2,absoluteStrokeWidth:o,className:l="",children:r,iconNode:s,...n},d)=>Cn.createElement("svg",{ref:d,...Bs,width:t,height:t,stroke:e,strokeWidth:o?Number(a)*24/Number(t):a,className:st("lucide",l),...!r&&!Rs(n)&&{"aria-hidden":"true"},...n},[...s.map(([u,f])=>Cn.createElement(u,f)),...Array.isArray(r)?r:[r]]));var N=(e,t)=>{let a=Cn.forwardRef(({className:o,...l},r)=>Cn.createElement(Fs,{ref:r,iconNode:t,className:st(`lucide-${As(co(e))}`,`lucide-${e}`,o),...l}));return a.displayName=co(e),a};var Np=[["path",{d:"m7 7 10 10",key:"1fmybs"}],["path",{d:"M17 7v10H7",key:"6fjiku"}]],ia=N("arrow-down-right",Np);var Mp=[["path",{d:"M16 20V4a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v16",key:"jecpp"}],["rect",{width:"20",height:"14",x:"2",y:"6",rx:"2",key:"i6l2r4"}]],da=N("briefcase",Mp);var Tp=[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]],ua=N("check",Tp);var Ap=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],fa=N("chevron-down",Ap);var Rp=[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]],ke=N("chevron-left",Rp);var Bp=[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]],Pe=N("chevron-right",Bp);var Dp=[["path",{d:"M12 6v6l4 2",key:"mmk7yg"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],ca=N("clock",Dp);var Fp=[["path",{d:"M15 6v12a3 3 0 1 0 3-3H6a3 3 0 1 0 3 3V6a3 3 0 1 0-3 3h12a3 3 0 1 0-3-3",key:"11bfej"}]],ma=N("command",Fp);var zp=[["line",{x1:"12",x2:"12",y1:"2",y2:"22",key:"7eqyqh"}],["path",{d:"M17 5H9.5a3.5 3.5 0 0 0 0 7h5a3.5 3.5 0 0 1 0 7H6",key:"1b0p4s"}]],pa=N("dollar-sign",zp);var Hp=[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]],xa=N("external-link",Hp);var qp=[["path",{d:"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0",key:"1r0f0z"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}]],ga=N("map-pin",qp);var Ep=[["path",{d:"M12 19v3",key:"npa21l"}],["path",{d:"M19 10v2a7 7 0 0 1-14 0v-2",key:"1vc78b"}],["rect",{x:"9",y:"2",width:"6",height:"13",rx:"3",key:"s6n7sd"}]],ha=N("mic",Ep);var Op=[["path",{d:"m16 6-8.414 8.586a2 2 0 0 0 2.829 2.829l8.414-8.586a4 4 0 1 0-5.657-5.657l-8.379 8.551a6 6 0 1 0 8.485 8.485l8.379-8.551",key:"1miecu"}]],La=N("paperclip",Op);var Up=[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]],Ne=N("search",Up);var Gp=[["path",{d:"M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z",key:"1ffxy3"}],["path",{d:"m21.854 2.147-10.94 10.939",key:"12cjpa"}]],Me=N("send",Gp);var Vp=[["path",{d:"M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z",key:"1s2grr"}],["path",{d:"M20 2v4",key:"1rf3ol"}],["path",{d:"M22 4h-4",key:"gwowj6"}],["circle",{cx:"4",cy:"20",r:"2",key:"6kqj1y"}]],le=N("sparkles",Vp);var Wp=[["path",{d:"M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z",key:"r04s7s"}]],ba=N("star",Wp);var _p=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],Ia=N("x",_p);function Xp({heading:e="Build your next project with",highlightedText:t="Bynana UI",description:a="Create stunning, animated interfaces in minutes.",primaryButton:o={text:"Get Started",url:"#"},secondaryButton:l={text:"Learn more",url:"#"},className:r=""}){return jsxRuntime.jsx("section",{className:`relative overflow-hidden py-36 ${r}`,children:jsxRuntime.jsxs("div",{className:"relative z-10 flex flex-col items-center gap-6 text-center px-6",children:[jsxRuntime.jsxs("div",{children:[jsxRuntime.jsxs("h1",{className:"mb-6 text-2xl font-bold tracking-tight lg:text-5xl",children:[e," ",jsxRuntime.jsx("span",{className:"text-transparent bg-gradient-to-r from-pink-400 to-purple-400 bg-clip-text",children:t})]}),jsxRuntime.jsx("p",{className:"text-muted-foreground mx-auto max-w-3xl lg:text-xl",children:a})]}),jsxRuntime.jsxs("div",{className:"mt-6 flex justify-center gap-3",children:[jsxRuntime.jsx("a",{href:o.url,className:"border border-input hover:bg-accent px-6 py-3 rounded-md font-medium",children:o.text}),jsxRuntime.jsxs("a",{href:l.url,className:"bg-primary text-primary-foreground hover:bg-primary/90 px-6 py-3 rounded-md font-medium inline-flex items-center gap-2",children:[l.text,jsxRuntime.jsx(xa,{className:"w-4 h-4"})]})]})]})})}function $p({heading:e="Build beautiful UIs, effortlessly.",description:t="Create stunning, animated interfaces in minutes.",buttons:a={primary:{text:"Get Started",url:"#"},secondary:{text:"Watch demo",url:"#"}},reviews:o={count:200,rating:5,avatars:[{src:"https://i.pravatar.cc/150?img=1",alt:"User 1"},{src:"https://i.pravatar.cc/150?img=2",alt:"User 2"},{src:"https://i.pravatar.cc/150?img=3",alt:"User 3"}]},className:l=""}){return jsxRuntime.jsx("section",{className:`py-24 ${l}`,children:jsxRuntime.jsx("div",{className:"mx-auto max-w-5xl px-6",children:jsxRuntime.jsxs("div",{className:"flex flex-col items-center text-center",children:[jsxRuntime.jsx("h1",{className:"my-6 text-4xl font-bold lg:text-6xl",children:e}),jsxRuntime.jsx("p",{className:"text-muted-foreground mb-8 max-w-xl lg:text-xl",children:t}),jsxRuntime.jsxs("div",{className:"mb-12 flex items-center gap-4",children:[jsxRuntime.jsx("span",{className:"inline-flex -space-x-4",children:o.avatars.map((r,s)=>jsxRuntime.jsx("img",{src:r.src,alt:r.alt,className:"size-12 rounded-full border-2 border-background"},s))}),jsxRuntime.jsxs("div",{children:[jsxRuntime.jsxs("div",{className:"flex items-center gap-1",children:[[1,2,3,4,5].map(r=>jsxRuntime.jsx(ba,{className:"size-5 fill-yellow-400 text-yellow-400"},r)),jsxRuntime.jsx("span",{className:"ml-1 font-semibold",children:o.rating?.toFixed(1)})]}),jsxRuntime.jsxs("p",{className:"text-muted-foreground text-sm",children:["from ",o.count,"+ reviews"]})]})]}),jsxRuntime.jsxs("div",{className:"flex gap-4",children:[a.primary&&jsxRuntime.jsx("a",{href:a.primary.url,className:"bg-primary text-primary-foreground hover:bg-primary/90 px-6 py-3 rounded-md font-medium",children:a.primary.text}),a.secondary&&jsxRuntime.jsxs("a",{href:a.secondary.url,className:"border border-input hover:bg-accent px-6 py-3 rounded-md font-medium inline-flex items-center gap-2",children:[a.secondary.text,jsxRuntime.jsx(ia,{className:"size-4"})]})]})]})})})}function Qp({testimonials:e=[{quote:"This has revolutionized how we build user interfaces. The animations are buttery smooth.",avatar:"https://i.pravatar.cc/150?img=1",name:"Eduardo Calvo",role:"CEO & Founder"},{quote:"The design system is incredibly well thought out. Every component feels intentional.",avatar:"https://i.pravatar.cc/150?img=2",name:"Drew Cano",role:"Head of Design"},{quote:"Best UI library I've used. The TypeScript support is excellent.",avatar:"https://i.pravatar.cc/150?img=3",name:"Marcus Johnson",role:"Lead Developer"}],duration:t=5e3,className:a=""}){let[o,l]=Cn.useState(0),r=Cn.useRef(null);return Cn.useEffect(()=>(r.current=setTimeout(()=>{l(s=>(s+1)%e.length);},t),()=>{r.current&&clearTimeout(r.current);}),[o,e.length,t]),jsxRuntime.jsx("div",{className:`flex flex-col items-center justify-center py-16 ${a}`,children:jsxRuntime.jsxs("div",{className:"flex w-full max-w-5xl flex-col items-center justify-center px-4",children:[jsxRuntime.jsxs("blockquote",{className:"mb-8 text-center text-2xl leading-tight font-semibold md:text-4xl transition-all duration-500",children:['"',e[o].quote,'"']}),jsxRuntime.jsxs("div",{className:"flex items-center gap-4",children:[jsxRuntime.jsx("img",{src:e[o].avatar,alt:e[o].name,className:"h-12 w-12 rounded-full border object-cover"}),jsxRuntime.jsx("div",{className:"border-l mx-4 h-8"}),jsxRuntime.jsxs("div",{className:"text-left",children:[jsxRuntime.jsx("div",{className:"text-lg font-medium italic",children:e[o].name}),jsxRuntime.jsx("div",{className:"text-muted-foreground text-base",children:e[o].role})]})]}),jsxRuntime.jsx("div",{className:"mx-auto mt-8 flex gap-3",children:e.map((s,n)=>jsxRuntime.jsx("span",{className:`block h-3 rounded-full transition-all duration-400 ${n===o?"w-12 bg-primary":"w-3 bg-muted"}`},n))})]})})}function a0({title:e="What Developers Say",description:t="See what developers are saying about their experience.",testimonials:a=[{content:"This has revolutionized how we build user interfaces.",avatar:"https://i.pravatar.cc/150?img=1",name:"Eduardo Calvo",role:"CEO & Founder"},{content:"The design system is incredibly well thought out.",avatar:"https://i.pravatar.cc/150?img=2",name:"Drew Cano",role:"Head of Design"},{content:"Best UI library I've used. Excellent TypeScript support.",avatar:"https://i.pravatar.cc/150?img=3",name:"Marcus Johnson",role:"Lead Developer"}],autoplay:o=false,className:l=""}){let[r,s]=Cn.useState(0),n=Cn.useCallback(()=>{s(u=>(u+1)%a.length);},[a.length]),d=()=>{s(u=>(u-1+a.length)%a.length);};return Cn.useEffect(()=>{if(o){let u=setInterval(n,5e3);return ()=>clearInterval(u)}},[o,n]),jsxRuntime.jsx("div",{className:`py-24 ${l}`,children:jsxRuntime.jsx("div",{className:"container mx-auto max-w-6xl px-6",children:jsxRuntime.jsxs("div",{className:"grid grid-cols-1 gap-8 lg:grid-cols-2 lg:gap-12",children:[jsxRuntime.jsxs("div",{className:"flex flex-col justify-center",children:[jsxRuntime.jsx("h2",{className:"mb-4 text-4xl font-semibold",children:e}),jsxRuntime.jsx("p",{className:"text-muted-foreground text-lg",children:t})]}),jsxRuntime.jsxs("div",{className:"relative flex flex-col items-end",children:[jsxRuntime.jsxs("div",{className:"mb-4 flex gap-2",children:[jsxRuntime.jsx("button",{onClick:d,className:"flex h-8 w-8 items-center justify-center rounded-full border hover:bg-accent",children:jsxRuntime.jsx(ke,{className:"h-5 w-5"})}),jsxRuntime.jsx("button",{onClick:n,className:"flex h-8 w-8 items-center justify-center rounded-full border hover:bg-accent",children:jsxRuntime.jsx(Pe,{className:"h-5 w-5"})})]}),jsxRuntime.jsx("div",{className:"relative h-full w-full max-w-md",children:a.map((u,f)=>jsxRuntime.jsx("div",{className:`absolute inset-0 transition-all duration-400 ${f===r?"opacity-100 scale-100 z-10":"opacity-0 scale-95 z-0"}`,children:jsxRuntime.jsxs("div",{className:"rounded-2xl border px-6 py-6 shadow-lg",children:[jsxRuntime.jsx("p",{className:"mb-6 text-lg",children:u.content}),jsxRuntime.jsxs("div",{className:"flex items-center gap-3",children:[jsxRuntime.jsx("img",{src:u.avatar,alt:u.name,className:"size-8 rounded-full border object-cover"}),jsxRuntime.jsxs("div",{children:[jsxRuntime.jsx("div",{className:"font-semibold",children:u.name}),jsxRuntime.jsx("span",{className:"text-muted-foreground text-sm",children:u.role})]})]})]})},u.name))})]})]})})})}function o0({title:e="Choose your perfect plan",description:t="Modern pricing plans designed for teams of all sizes.",plans:a=[{name:"Basic",price:{monthly:15,annually:10},description:"Perfect for startups",features:["1 Project","Email Support","Core Features","Basic Analytics"]},{name:"Pro",price:{monthly:35,annually:25},description:"Best for teams",features:["Unlimited Projects","Priority Support","Team Collaboration","Advanced Analytics"],featured:true},{name:"Enterprise",price:"custom",description:"Tailored solutions",features:["Everything in Pro","Dedicated Manager","Custom Integrations","SLA & Support"],buttonText:"Contact Sales"}],className:o=""}){let[l,r]=Cn.useState(true);return jsxRuntime.jsx("section",{className:`py-16 md:py-32 ${o}`,children:jsxRuntime.jsxs("div",{className:"mx-auto max-w-5xl px-6",children:[jsxRuntime.jsxs("div",{className:"mx-auto max-w-2xl text-center",children:[jsxRuntime.jsx("h2",{className:"text-3xl font-bold md:text-4xl lg:text-5xl",children:e}),jsxRuntime.jsx("p",{className:"text-muted-foreground mx-auto mt-4 max-w-xl text-lg",children:t}),jsxRuntime.jsx("div",{className:"my-12",children:jsxRuntime.jsxs("div",{className:"relative mx-auto grid w-fit grid-cols-2 rounded-full border p-1",children:[jsxRuntime.jsx("div",{className:`pointer-events-none absolute inset-1 w-1/2 rounded-full bg-primary transition-transform duration-500 ${l?"translate-x-full":"translate-x-0"}`}),jsxRuntime.jsx("button",{onClick:()=>r(false),className:`relative h-8 w-24 rounded-full text-sm ${l?"":"text-primary-foreground font-medium"}`,children:"Monthly"}),jsxRuntime.jsx("button",{onClick:()=>r(true),className:`relative h-8 w-24 rounded-full text-sm ${l?"text-primary-foreground font-medium":""}`,children:"Annually"})]})})]}),jsxRuntime.jsx("div",{className:"grid grid-cols-1 gap-6 md:grid-cols-3",children:a.map(s=>jsxRuntime.jsxs("div",{className:`relative flex flex-col rounded-2xl border p-8 ${s.featured?"border-2 border-primary":""}`,children:[s.featured&&jsxRuntime.jsx("div",{className:"absolute top-0 right-0 bg-primary text-primary-foreground rounded-full px-2 py-1 text-xs font-bold m-4",children:"Most Popular"}),jsxRuntime.jsx("h3",{className:"mb-4 text-2xl font-bold",children:s.name}),jsxRuntime.jsxs("div",{className:"mb-6",children:[jsxRuntime.jsx("span",{className:"text-3xl font-semibold",children:s.price==="custom"?"Custom":`${l?s.price.annually:s.price.monthly}\u20AC`}),jsxRuntime.jsx("span",{className:"text-muted-foreground mx-2",children:"\u2022"}),jsxRuntime.jsx("span",{className:"text-muted-foreground",children:s.description})]}),jsxRuntime.jsx("button",{className:"bg-primary text-primary-foreground hover:bg-primary/90 mb-6 h-10 w-full rounded-md px-4 py-2 text-sm font-medium",children:s.buttonText||"Get Started"}),jsxRuntime.jsx("ul",{className:"space-y-3",children:s.features.map(n=>jsxRuntime.jsxs("li",{className:"flex items-center gap-3 text-sm",children:[jsxRuntime.jsx("div",{className:"flex h-4 w-4 items-center justify-center rounded-full bg-primary",children:jsxRuntime.jsx(ua,{className:"h-2 w-2 text-primary-foreground"})}),n]},n))})]},s.name))})]})})}function r0({companyName:e="Bynana UI",description:t="Build beautiful UIs, effortlessly.",links:a={product:[{name:"Features",url:"#"},{name:"Pricing",url:"#"},{name:"Documentation",url:"#"}],company:[{name:"About",url:"#"},{name:"Blog",url:"#"},{name:"Careers",url:"#"}],support:[{name:"Help Center",url:"#"},{name:"Community",url:"#"},{name:"Status",url:"#"}]},copyright:o="\xA9 2024 Bynana UI. All rights reserved.",className:l=""}){return jsxRuntime.jsx("footer",{className:`border-t ${l}`,children:jsxRuntime.jsxs("div",{className:"mx-auto max-w-7xl px-6 py-12",children:[jsxRuntime.jsxs("div",{className:"grid grid-cols-1 gap-8 md:grid-cols-2 lg:grid-cols-5",children:[jsxRuntime.jsxs("div",{className:"lg:col-span-2",children:[jsxRuntime.jsx("h3",{className:"mb-4 text-2xl font-bold",children:e}),jsxRuntime.jsx("p",{className:"text-muted-foreground mb-6 max-w-md text-sm",children:t})]}),jsxRuntime.jsxs("div",{className:"grid grid-cols-1 gap-8 sm:grid-cols-3 lg:col-span-3",children:[a.product&&jsxRuntime.jsxs("div",{children:[jsxRuntime.jsx("h4",{className:"mb-4 text-sm font-semibold uppercase tracking-wide",children:"Product"}),jsxRuntime.jsx("ul",{className:"space-y-3",children:a.product.map(r=>jsxRuntime.jsx("li",{children:jsxRuntime.jsx("a",{href:r.url,className:"text-muted-foreground hover:text-foreground text-sm",children:r.name})},r.name))})]}),a.company&&jsxRuntime.jsxs("div",{children:[jsxRuntime.jsx("h4",{className:"mb-4 text-sm font-semibold uppercase tracking-wide",children:"Company"}),jsxRuntime.jsx("ul",{className:"space-y-3",children:a.company.map(r=>jsxRuntime.jsx("li",{children:jsxRuntime.jsx("a",{href:r.url,className:"text-muted-foreground hover:text-foreground text-sm",children:r.name})},r.name))})]}),a.support&&jsxRuntime.jsxs("div",{children:[jsxRuntime.jsx("h4",{className:"mb-4 text-sm font-semibold uppercase tracking-wide",children:"Support"}),jsxRuntime.jsx("ul",{className:"space-y-3",children:a.support.map(r=>jsxRuntime.jsx("li",{children:jsxRuntime.jsx("a",{href:r.url,className:"text-muted-foreground hover:text-foreground text-sm",children:r.name})},r.name))})]})]})]}),jsxRuntime.jsx("div",{className:"mt-12 border-t pt-8 text-center",children:jsxRuntime.jsx("p",{className:"text-muted-foreground text-sm",children:o})})]})})}function s0({companyName:e="Bynana UI",description:t="Build beautiful UIs, effortlessly. The modern way to create stunning interfaces.",newsletter:a={title:"Stay updated",description:"Get the latest news delivered to your inbox.",placeholder:"Enter your email",buttonText:"Subscribe"},links:o={product:[{name:"Features",url:"#"},{name:"Pricing",url:"#"},{name:"Documentation",url:"#"}],company:[{name:"About Us",url:"#"},{name:"Blog",url:"#"},{name:"Careers",url:"#"}],support:[{name:"Help Center",url:"#"},{name:"Community",url:"#"},{name:"Status Page",url:"#"}],legal:[{name:"Privacy Policy",url:"#"},{name:"Terms of Service",url:"#"},{name:"Cookie Policy",url:"#"}]},copyright:l="\xA9 2024 Bynana UI. All rights reserved.",className:r=""}){return jsxRuntime.jsx("footer",{className:`border-t ${r}`,children:jsxRuntime.jsxs("div",{className:"mx-auto max-w-7xl px-6 py-16",children:[jsxRuntime.jsxs("div",{className:"grid grid-cols-1 gap-12 lg:grid-cols-12",children:[jsxRuntime.jsxs("div",{className:"lg:col-span-5",children:[jsxRuntime.jsx("h3",{className:"mb-4 text-2xl font-bold",children:e}),jsxRuntime.jsx("p",{className:"text-muted-foreground mb-8 max-w-md text-sm leading-relaxed",children:t}),jsxRuntime.jsxs("div",{className:"mb-8",children:[jsxRuntime.jsx("h4",{className:"mb-2 text-lg font-semibold",children:a.title}),jsxRuntime.jsx("p",{className:"text-muted-foreground mb-4 text-sm",children:a.description}),jsxRuntime.jsxs("div",{className:"flex gap-2",children:[jsxRuntime.jsx("input",{type:"email",placeholder:a.placeholder,className:"flex-1 rounded-lg border bg-background px-4 py-2 text-sm focus:outline-none focus:ring-2 focus:ring-ring"}),jsxRuntime.jsx("button",{className:"bg-primary text-primary-foreground hover:bg-primary/90 rounded-lg px-6 py-2 text-sm font-medium",children:a.buttonText})]})]})]}),jsxRuntime.jsxs("div",{className:"grid grid-cols-2 gap-8 lg:col-span-7 lg:grid-cols-4",children:[o.product&&jsxRuntime.jsxs("div",{children:[jsxRuntime.jsx("h4",{className:"mb-4 text-sm font-semibold uppercase tracking-wide",children:"Product"}),jsxRuntime.jsx("ul",{className:"space-y-3",children:o.product.map(s=>jsxRuntime.jsx("li",{children:jsxRuntime.jsx("a",{href:s.url,className:"text-muted-foreground hover:text-foreground text-sm",children:s.name})},s.name))})]}),o.company&&jsxRuntime.jsxs("div",{children:[jsxRuntime.jsx("h4",{className:"mb-4 text-sm font-semibold uppercase tracking-wide",children:"Company"}),jsxRuntime.jsx("ul",{className:"space-y-3",children:o.company.map(s=>jsxRuntime.jsx("li",{children:jsxRuntime.jsx("a",{href:s.url,className:"text-muted-foreground hover:text-foreground text-sm",children:s.name})},s.name))})]}),o.support&&jsxRuntime.jsxs("div",{children:[jsxRuntime.jsx("h4",{className:"mb-4 text-sm font-semibold uppercase tracking-wide",children:"Support"}),jsxRuntime.jsx("ul",{className:"space-y-3",children:o.support.map(s=>jsxRuntime.jsx("li",{children:jsxRuntime.jsx("a",{href:s.url,className:"text-muted-foreground hover:text-foreground text-sm",children:s.name})},s.name))})]}),o.legal&&jsxRuntime.jsxs("div",{children:[jsxRuntime.jsx("h4",{className:"mb-4 text-sm font-semibold uppercase tracking-wide",children:"Legal"}),jsxRuntime.jsx("ul",{className:"space-y-3",children:o.legal.map(s=>jsxRuntime.jsx("li",{children:jsxRuntime.jsx("a",{href:s.url,className:"text-muted-foreground hover:text-foreground text-sm",children:s.name})},s.name))})]})]})]}),jsxRuntime.jsx("div",{className:"mt-12 border-t pt-8 text-center",children:jsxRuntime.jsx("p",{className:"text-muted-foreground text-sm",children:l})})]})})}function l0({title:e="Trusted by the world's most innovative teams",description:t="Join thousands of developers building with us",logos:a=[],className:o=""}){return jsxRuntime.jsxs("div",{className:`overflow-hidden py-20 ${o}`,children:[jsxRuntime.jsxs("div",{className:"mx-auto max-w-7xl px-6",children:[jsxRuntime.jsxs("div",{className:"mb-16 text-center",children:[jsxRuntime.jsx("h2",{className:"mb-4 text-2xl font-bold lg:text-3xl",children:e}),jsxRuntime.jsx("p",{className:"text-muted-foreground text-lg",children:t})]}),jsxRuntime.jsx("div",{className:"relative overflow-hidden",style:{maskImage:"linear-gradient(to right, transparent, black 20%, black 80%, transparent)",WebkitMaskImage:"linear-gradient(to right, transparent, black 20%, black 80%, transparent)"},children:jsxRuntime.jsx("div",{className:"flex animate-scroll gap-8",children:[...a,...a,...a].map((l,r)=>jsxRuntime.jsx("a",{href:l.url,target:"_blank",rel:"noopener noreferrer",className:"flex flex-shrink-0 items-center justify-center p-6 transition-all hover:scale-105",children:jsxRuntime.jsx("div",{className:"text-4xl hover:scale-110 transition-transform",children:l.logo})},`${l.name}-${r}`))})})]}),jsxRuntime.jsx("style",{jsx:true,children:`
44
+ `}})]})})}function ma(...e){return e.filter(Boolean).join(" ")}function Dm({title:e="Configuring your account...",subtitle:t="Please wait while we prepare everything for you",size:a="md",className:r,...n}){let s={sm:{container:"size-20",titleClass:"text-sm/tight font-medium",subtitleClass:"text-xs/relaxed",spacing:"space-y-2",maxWidth:"max-w-48"},md:{container:"size-32",titleClass:"text-base/snug font-medium",subtitleClass:"text-sm/relaxed",spacing:"space-y-3",maxWidth:"max-w-56"},lg:{container:"size-40",titleClass:"text-lg/tight font-semibold",subtitleClass:"text-base/relaxed",spacing:"space-y-4",maxWidth:"max-w-64"}}[a];return jsxRuntime.jsxs("div",{className:ma("flex flex-col items-center justify-center gap-8 p-8",r),...n,children:[jsxRuntime.jsxs(framerMotion.motion.div,{className:ma("relative",s.container),animate:{scale:[1,1.02,1]},transition:{duration:4,repeat:1/0,ease:[.4,0,.6,1]},children:[jsxRuntime.jsx(framerMotion.motion.div,{className:"absolute inset-0 rounded-full",style:{background:"conic-gradient(from 0deg, transparent 0deg, rgb(0, 0, 0) 90deg, transparent 180deg)",mask:"radial-gradient(circle at 50% 50%, transparent 35%, black 37%, black 39%, transparent 41%)",WebkitMask:"radial-gradient(circle at 50% 50%, transparent 35%, black 37%, black 39%, transparent 41%)",opacity:.8},animate:{rotate:[0,360]},transition:{duration:3,repeat:1/0,ease:"linear"}}),jsxRuntime.jsx(framerMotion.motion.div,{className:"absolute inset-0 rounded-full",style:{background:"conic-gradient(from 0deg, transparent 0deg, rgb(0, 0, 0) 120deg, rgba(0, 0, 0, 0.5) 240deg, transparent 360deg)",mask:"radial-gradient(circle at 50% 50%, transparent 42%, black 44%, black 48%, transparent 50%)",WebkitMask:"radial-gradient(circle at 50% 50%, transparent 42%, black 44%, black 48%, transparent 50%)",opacity:.9},animate:{rotate:[0,360]},transition:{duration:2.5,repeat:1/0,ease:[.4,0,.6,1]}}),jsxRuntime.jsx(framerMotion.motion.div,{className:"absolute inset-0 rounded-full dark:block hidden",style:{background:"conic-gradient(from 0deg, transparent 0deg, rgb(255, 255, 255) 90deg, transparent 180deg)",mask:"radial-gradient(circle at 50% 50%, transparent 35%, black 37%, black 39%, transparent 41%)",WebkitMask:"radial-gradient(circle at 50% 50%, transparent 35%, black 37%, black 39%, transparent 41%)",opacity:.8},animate:{rotate:[0,360]},transition:{duration:3,repeat:1/0,ease:"linear"}}),jsxRuntime.jsx(framerMotion.motion.div,{className:"absolute inset-0 rounded-full dark:block hidden",style:{background:"conic-gradient(from 0deg, transparent 0deg, rgb(255, 255, 255) 120deg, rgba(255, 255, 255, 0.5) 240deg, transparent 360deg)",mask:"radial-gradient(circle at 50% 50%, transparent 42%, black 44%, black 48%, transparent 50%)",WebkitMask:"radial-gradient(circle at 50% 50%, transparent 42%, black 44%, black 48%, transparent 50%)",opacity:.9},animate:{rotate:[0,360]},transition:{duration:2.5,repeat:1/0,ease:[.4,0,.6,1]}})]}),jsxRuntime.jsxs(framerMotion.motion.div,{className:ma("text-center",s.spacing,s.maxWidth),initial:{opacity:0,y:12},animate:{opacity:1,y:0},transition:{delay:.4,duration:1,ease:[.4,0,.2,1]},children:[jsxRuntime.jsx(framerMotion.motion.h1,{className:ma(s.titleClass,"text-black/90 dark:text-white/90 font-medium tracking-[-0.02em] leading-[1.15] antialiased"),initial:{opacity:0,y:12},animate:{opacity:1,y:0},transition:{delay:.6,duration:.8,ease:[.4,0,.2,1]},children:jsxRuntime.jsx(framerMotion.motion.span,{animate:{opacity:[.9,.7,.9]},transition:{duration:3,repeat:1/0,ease:[.4,0,.6,1]},children:e})}),jsxRuntime.jsx(framerMotion.motion.p,{className:ma(s.subtitleClass,"text-black/60 dark:text-white/60 font-normal tracking-[-0.01em] leading-[1.45] antialiased"),initial:{opacity:0,y:8},animate:{opacity:1,y:0},transition:{delay:.8,duration:.8,ease:[.4,0,.2,1]},children:jsxRuntime.jsx(framerMotion.motion.span,{animate:{opacity:[.6,.4,.6]},transition:{duration:4,repeat:1/0,ease:[.4,0,.6,1]},children:t})})]})]})}function ft(...e){return e.filter(Boolean).join(" ")}function Em({className:e,size:t="md",onChange:a}){let[r,n]=bi.useState(false);bi.useEffect(()=>{let d=window.matchMedia("(prefers-color-scheme: dark)").matches;n(d);},[]);let o=()=>{let d=!r;n(d),d?document.documentElement.classList.add("dark"):document.documentElement.classList.remove("dark"),a?.(d);},s={sm:"w-12 h-6",md:"w-14 h-7",lg:"w-16 h-8"},l={sm:"w-4 h-4",md:"w-5 h-5",lg:"w-6 h-6"};return jsxRuntime.jsxs(framerMotion.motion.button,{onClick:o,className:ft("relative rounded-full border transition-all duration-300 ease-in-out focus:outline-none focus:ring-2 focus:ring-zinc-500 focus:ring-offset-2 focus:ring-offset-zinc-900",s[t],r?"bg-zinc-800 border-zinc-700":"bg-zinc-700 border-zinc-600",e),whileTap:{scale:.95},initial:false,children:[jsxRuntime.jsx(framerMotion.motion.div,{className:"absolute inset-0 rounded-full",animate:{background:r?"linear-gradient(135deg, #27272a 0%, #18181b 100%)":"linear-gradient(135deg, #3f3f46 0%, #27272a 100%)"},transition:{duration:.3}}),jsxRuntime.jsx(framerMotion.motion.div,{className:ft("absolute top-0.5 rounded-full shadow-lg flex items-center justify-center",t==="sm"?"w-5 h-5":t==="md"?"w-6 h-6":"w-7 h-7",r?"bg-zinc-300":"bg-zinc-100"),animate:{x:r?t==="sm"?24:t==="md"?28:32:2},transition:{type:"spring",stiffness:500,damping:30},children:jsxRuntime.jsx(framerMotion.AnimatePresence,{mode:"wait",children:r?jsxRuntime.jsx(framerMotion.motion.svg,{className:ft("text-zinc-700",l[t]),fill:"currentColor",viewBox:"0 0 24 24",initial:{opacity:0,rotate:-90},animate:{opacity:1,rotate:0},exit:{opacity:0,rotate:90},transition:{duration:.2},children:jsxRuntime.jsx("path",{d:"M21.752 15.002A9.718 9.718 0 0118 15.75c-5.385 0-9.75-4.365-9.75-9.75 0-1.33.266-2.597.748-3.752A9.753 9.753 0 003 11.25C3 16.635 7.365 21 12.75 21a9.753 9.753 0 009.002-5.998z"})},"moon"):jsxRuntime.jsx(framerMotion.motion.svg,{className:ft("text-zinc-600",l[t]),fill:"currentColor",viewBox:"0 0 24 24",initial:{opacity:0,rotate:-90},animate:{opacity:1,rotate:0},exit:{opacity:0,rotate:90},transition:{duration:.2},children:jsxRuntime.jsx("path",{d:"M12 2.25a.75.75 0 01.75.75v2.25a.75.75 0 01-1.5 0V3a.75.75 0 01.75-.75zM7.5 12a4.5 4.5 0 119 0 4.5 4.5 0 01-9 0zM18.894 6.166a.75.75 0 00-1.06-1.06l-1.591 1.59a.75.75 0 101.06 1.061l1.591-1.59zM21.75 12a.75.75 0 01-.75.75h-2.25a.75.75 0 010-1.5H21a.75.75 0 01.75.75zM17.834 18.894a.75.75 0 001.06-1.06l-1.59-1.591a.75.75 0 10-1.061 1.06l1.59 1.591zM12 18a.75.75 0 01.75.75V21a.75.75 0 01-1.5 0v-2.25A.75.75 0 0112 18zM7.758 17.303a.75.75 0 00-1.061-1.06l-1.591 1.59a.75.75 0 001.06 1.061l1.591-1.59zM6 12a.75.75 0 01-.75.75H3a.75.75 0 010-1.5h2.25A.75.75 0 016 12zM6.697 7.757a.75.75 0 001.06-1.06l-1.59-1.591a.75.75 0 00-1.061 1.06l1.59 1.591z"})},"sun")})}),jsxRuntime.jsx(framerMotion.motion.div,{className:"absolute inset-0 rounded-full opacity-20",animate:{boxShadow:r?"0 0 20px rgba(161, 161, 170, 0.2)":"0 0 20px rgba(161, 161, 170, 0.3)"},transition:{duration:.3}})]})}function Om(...e){return e.filter(Boolean).join(" ")}function Um({children:e,className:t}){return jsxRuntime.jsxs("div",{className:Om("relative w-full min-h-[500px] flex items-center justify-center overflow-hidden bg-white dark:bg-zinc-900 rounded-xl border border-zinc-200 dark:border-zinc-800",t),children:[jsxRuntime.jsx(framerMotion.motion.div,{className:"absolute inset-0",style:{background:"linear-gradient(90deg, transparent 0%, rgba(0,0,0,0.08) 50%, transparent 100%)"},animate:{x:["-200%","200%"]},transition:{duration:2.5,repeat:1/0,ease:"linear"}}),jsxRuntime.jsx(framerMotion.motion.div,{className:"absolute inset-0",style:{background:"linear-gradient(90deg, transparent 0%, rgba(0,0,0,0.05) 50%, transparent 100%)"},animate:{x:["-200%","200%"]},transition:{duration:3,delay:.5,repeat:1/0,ease:"linear"}}),jsxRuntime.jsx(framerMotion.motion.div,{className:"absolute inset-0",style:{background:"linear-gradient(90deg, transparent 0%, rgba(0,0,0,0.03) 50%, transparent 100%)"},animate:{x:["-200%","200%"]},transition:{duration:3.5,delay:1,repeat:1/0,ease:"linear"}}),jsxRuntime.jsx(framerMotion.motion.div,{className:"absolute inset-0 hidden dark:block",style:{background:"linear-gradient(90deg, transparent 0%, rgba(161,161,170,0.15) 50%, transparent 100%)"},animate:{x:["-200%","200%"]},transition:{duration:2.5,repeat:1/0,ease:"linear"}}),jsxRuntime.jsx("div",{className:"absolute inset-0 opacity-10 dark:opacity-5",style:{backgroundImage:"radial-gradient(circle at 2px 2px, #71717a 1px, transparent 0)",backgroundSize:"40px 40px"}}),jsxRuntime.jsx("div",{className:"relative z-10 text-center px-8",children:e||jsxRuntime.jsxs(framerMotion.motion.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.8},children:[jsxRuntime.jsx("h2",{className:"text-7xl font-bold text-zinc-900 dark:text-zinc-100 mb-4 tracking-tight",style:{fontFamily:"system-ui, -apple-system, sans-serif",letterSpacing:"-0.02em"},children:"SHIMMER WAVE"}),jsxRuntime.jsx("p",{className:"text-xl text-zinc-500 font-light tracking-wide",children:"Advanced Shimmer Effect"})]})})]})}function Jm(e){let[t,a]=bi.useState(0);return bi.useLayoutEffect(()=>{function r(){e.current&&a(e.current.offsetWidth);}return r(),window.addEventListener("resize",r),()=>window.removeEventListener("resize",r)},[e]),t}function Qm({scrollContainerRef:e,texts:t=["Scroll Velocity","Bynana UI"],velocity:a=100,className:r="",damping:n=50,stiffness:o=400,numCopies:s=6,velocityMapping:l={input:[0,1e3],output:[0,5]}}){function d({children:u,baseVelocity:c}){let p=framerMotion.useMotionValue(0),x=e?{container:e}:{},{scrollY:f}=framerMotion.useScroll(x),m=framerMotion.useVelocity(f),g=framerMotion.useSpring(m,{damping:n,stiffness:o}),h=framerMotion.useTransform(g,l.input,l.output,{clamp:false}),L=bi.useRef(null),v=Jm(L);function b(C,N,S){let R=N-C;return ((S-C)%R+R)%R+C}let I=framerMotion.useTransform(p,C=>v===0?"0px":`${b(-v,0,C)}px`),y=bi.useRef(1);framerMotion.useAnimationFrame((C,N)=>{let S=y.current*c*(N/1e3);h.get()<0?y.current=-1:h.get()>0&&(y.current=1),S+=y.current*S*h.get(),p.set(p.get()+S);});let w=[];for(let C=0;C<s;C++)w.push(jsxRuntime.jsx("span",{className:r,ref:C===0?L:null,children:u},C));return jsxRuntime.jsx("div",{className:"overflow-hidden whitespace-nowrap",children:jsxRuntime.jsx(framerMotion.motion.div,{className:"flex",style:{x:I},children:w})})}return jsxRuntime.jsx("section",{children:t.map((u,c)=>jsxRuntime.jsxs(d,{baseVelocity:c%2!==0?-a:a,children:[u,"\xA0"]},c))})}function tp({text:e="\u269B\uFE0F",delay:t=.01,spacing:a=100,followMouseDirection:r=true,randomFloat:n=true,exitDuration:o=.5,removalInterval:s=30,maxPoints:l=5}){let[d,u]=bi.useState([]),c=bi.useRef(null),p=bi.useRef(Date.now()),x=bi.useRef(0),f=m=>{if(!c.current)return;let g=c.current.getBoundingClientRect(),h=m.clientX-g.left,L=m.clientY-g.top;u(v=>{let b=[...v];if(b.length===0)b.push({id:x.current++,x:h,y:L,angle:0,...n&&{randomX:Math.random()*10-5,randomY:Math.random()*10-5,randomRotate:Math.random()*10-5}});else {let I=b[b.length-1],y=h-I.x,w=L-I.y,C=Math.sqrt(y*y+w*w);if(C>=a){let N=Math.atan2(w,y)*180/Math.PI;N>90?N-=180:N<-90&&(N+=180);let S=r?N:0,R=Math.floor(C/a);for(let A=1;A<=R;A++){let D=a*A/C;b.push({id:x.current++,x:I.x+y*D,y:I.y+w*D,angle:S,...n&&{randomX:Math.random()*10-5,randomY:Math.random()*10-5,randomRotate:Math.random()*10-5}});}}}return b.length>l&&(b=b.slice(b.length-l)),b}),p.current=Date.now();};return bi.useEffect(()=>{let m=c.current;if(m)return m.addEventListener("mousemove",f),()=>m.removeEventListener("mousemove",f)},[]),bi.useEffect(()=>{let m=setInterval(()=>{Date.now()-p.current>100&&u(g=>g.length>0?g.slice(1):g);},s);return ()=>clearInterval(m)},[s]),jsxRuntime.jsxs("div",{ref:c,className:"w-full h-full min-h-[200px] relative rounded-lg bg-zinc-50 dark:bg-zinc-900/50",children:[jsxRuntime.jsx("div",{className:"absolute inset-0 flex items-center justify-center text-zinc-400 text-sm pointer-events-none",children:"Move your mouse around"}),jsxRuntime.jsx(framerMotion.AnimatePresence,{children:d.map(m=>jsxRuntime.jsx(framerMotion.motion.div,{initial:{opacity:0,scale:1,rotate:m.angle},animate:{opacity:1,scale:1,rotate:m.angle},exit:{opacity:0,scale:0},transition:{opacity:{duration:o,ease:"easeOut",delay:t}},className:"absolute text-2xl pointer-events-none",style:{left:m.x,top:m.y,transform:"translate(-50%, -50%)"},children:e},m.id))})]})}function sp(...e){return e.filter(Boolean).join(" ")}function np({icon:e,label:t,href:a,onClick:r,className:n,variant:o="default"}){let s={default:"bg-zinc-900 dark:bg-zinc-100 text-white dark:text-zinc-900 hover:bg-zinc-800 dark:hover:bg-zinc-200",outline:"border border-zinc-300 dark:border-zinc-700 hover:bg-zinc-100 dark:hover:bg-zinc-800",ghost:"hover:bg-zinc-100 dark:hover:bg-zinc-800"},l=a?"a":"button";return jsxRuntime.jsx(framerMotion.motion.div,{whileHover:{scale:1.05},whileTap:{scale:.95},children:jsxRuntime.jsxs(l,{href:a,onClick:r,className:sp("inline-flex items-center gap-2 px-4 py-2 rounded-lg font-medium transition-colors",s[o],n),target:a?"_blank":void 0,rel:a?"noopener noreferrer":void 0,children:[e,jsxRuntime.jsx("span",{children:t})]})})}function ip(...e){return e.filter(Boolean).join(" ")}function dp({children:e,onClick:t,className:a,disabled:r=false}){return jsxRuntime.jsxs(framerMotion.motion.button,{onClick:t,disabled:r,className:ip("relative inline-flex items-center justify-center px-6 py-3 overflow-hidden font-medium rounded-xl","bg-gradient-to-r from-zinc-900 to-zinc-800 dark:from-zinc-100 dark:to-zinc-200","text-white dark:text-zinc-900","border border-zinc-700 dark:border-zinc-300","shadow-lg shadow-zinc-900/20 dark:shadow-zinc-100/20","transition-all duration-300","hover:shadow-xl hover:shadow-zinc-900/30 dark:hover:shadow-zinc-100/30","disabled:opacity-50 disabled:cursor-not-allowed",a),whileHover:{scale:r?1:1.02},whileTap:{scale:r?1:.98},children:[jsxRuntime.jsx(framerMotion.motion.span,{className:"absolute inset-0 bg-gradient-to-r from-transparent via-white/10 to-transparent",initial:{x:"-100%"},whileHover:{x:"100%"},transition:{duration:.6,ease:"easeInOut"}}),jsxRuntime.jsx("span",{className:"relative z-10 flex items-center gap-2",children:e})]})}function Ks(...e){return e.filter(Boolean).join(" ")}function mp({data:e,weeks:t=52,className:a,colors:r=["bg-zinc-100 dark:bg-zinc-800","bg-emerald-200 dark:bg-emerald-900","bg-emerald-300 dark:bg-emerald-700","bg-emerald-400 dark:bg-emerald-500","bg-emerald-500 dark:bg-emerald-400"]}){let n=bi.useMemo(()=>e||Array.from({length:t*7},()=>Math.floor(Math.random()*5)),[e,t]),o=s=>r[Math.min(s,r.length-1)];return jsxRuntime.jsx("div",{className:Ks("overflow-x-auto",a),children:jsxRuntime.jsx("div",{className:"flex gap-1",children:Array.from({length:t}).map((s,l)=>jsxRuntime.jsx("div",{className:"flex flex-col gap-1",children:Array.from({length:7}).map((d,u)=>{let c=l*7+u,p=n[c]||0;return jsxRuntime.jsx(framerMotion.motion.div,{className:Ks("w-3 h-3 rounded-sm",o(p)),initial:{scale:0,opacity:0},animate:{scale:1,opacity:1},transition:{delay:c*.002,type:"spring",stiffness:300,damping:20},whileHover:{scale:1.3}},u)})},l))})})}function kr(...e){return e.filter(Boolean).join(" ")}function pp({defaultValue:e=50,min:t=0,max:a=100,step:r=1,onChange:n,className:o,trackClassName:s,thumbClassName:l}){let[d,u]=bi.useState(e),[c,p]=bi.useState(false),x=(d-t)/(a-t)*100,f=m=>{let g=Number(m.target.value);u(g),n?.(g);};return jsxRuntime.jsxs("div",{className:kr("relative w-full h-12 flex items-center",o),children:[jsxRuntime.jsx("div",{className:kr("absolute w-full h-2 rounded-full bg-zinc-200 dark:bg-zinc-800",s),children:jsxRuntime.jsx(framerMotion.motion.div,{className:"h-full rounded-full bg-zinc-900 dark:bg-zinc-100",style:{width:`${x}%`},animate:{scaleY:c?1.5:1},transition:{type:"spring",stiffness:400,damping:25}})}),jsxRuntime.jsx(framerMotion.motion.div,{className:kr("absolute w-6 h-6 rounded-full bg-zinc-900 dark:bg-zinc-100 shadow-lg cursor-grab","border-2 border-white dark:border-zinc-900",l),style:{left:`calc(${x}% - 12px)`},animate:{scale:c?1.3:1,y:c?-4:0},transition:{type:"spring",stiffness:500,damping:30}}),jsxRuntime.jsx("input",{type:"range",min:t,max:a,step:r,value:d,onChange:f,onMouseDown:()=>p(true),onMouseUp:()=>p(false),onTouchStart:()=>p(true),onTouchEnd:()=>p(false),className:"absolute w-full h-full opacity-0 cursor-grab active:cursor-grabbing"}),jsxRuntime.jsx(framerMotion.motion.span,{className:"absolute -top-8 left-1/2 -translate-x-1/2 text-sm font-medium text-zinc-900 dark:text-zinc-100",animate:{opacity:c?1:0,y:c?0:10},transition:{duration:.2},children:d})]})}var gp=[{link:"#",text:"About",image:"https://images.unsplash.com/photo-1618005182384-a83a8bd57fbe?w=800&q=80"},{link:"#",text:"Services",image:"https://images.unsplash.com/photo-1618556450994-a6a128ef0d9d?w=800&q=80"},{link:"#",text:"Work",image:"https://images.unsplash.com/photo-1618556450991-2f1af64e8191?w=800&q=80"},{link:"#",text:"Contact",image:"https://images.unsplash.com/photo-1618556450783-953e03f0bb7a?w=800&q=80"}];function hp({items:e=gp,className:t=""}){let[a,r]=bi.useState(-1),[n,o]=bi.useState(-1);return jsxRuntime.jsxs("div",{className:i("flex gap-8",t),children:[jsxRuntime.jsxs("div",{className:"flex-1",children:[jsxRuntime.jsxs("div",{className:"mb-6",children:[jsxRuntime.jsx("h2",{className:"text-2xl font-bold text-white",children:"Menu"}),jsxRuntime.jsx("p",{className:"text-sm text-zinc-400",children:"Explore our pages"})]}),jsxRuntime.jsx("nav",{className:"flex flex-col gap-2",children:e.map((s,l)=>jsxRuntime.jsxs("a",{href:s.link,className:i("group flex items-center gap-4 py-4 px-4 rounded-lg transition-all duration-300",n===l?"bg-zinc-800 translate-x-4":"bg-transparent"),onMouseEnter:()=>o(l),onMouseLeave:()=>o(-1),onClick:()=>r(l),children:[jsxRuntime.jsx("span",{className:"text-sm text-zinc-500 font-mono",children:String(l+1).padStart(2,"0")}),jsxRuntime.jsx("span",{className:i("text-xl font-medium transition-colors",n===l?"text-white":"text-zinc-400"),children:s.text}),jsxRuntime.jsx("span",{className:i("ml-auto text-xl transition-all duration-300",n===l?"opacity-100 translate-x-0":"opacity-0 -translate-x-2"),children:"\u2192"})]},l))})]}),jsxRuntime.jsx("div",{className:i("w-80 h-80 rounded-2xl overflow-hidden transition-all duration-500",n>=0?"opacity-100 scale-100":"opacity-0 scale-95"),children:n>=0&&e[n]?.image&&jsxRuntime.jsxs("div",{className:"relative w-full h-full",children:[jsxRuntime.jsx("img",{src:e[n].image,alt:e[n].text,className:"w-full h-full object-cover"}),jsxRuntime.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-black/60 to-transparent"}),jsxRuntime.jsx("h3",{className:"absolute bottom-4 left-4 text-2xl font-bold text-white",children:e[n].text})]})})]})}var Lp=[{label:"Home",href:"#"},{label:"About",href:"#"},{label:"Services",href:"#"},{label:"Contact",href:"#"}];function vp({items:e=Lp,className:t="",activeColor:a="#8b5cf6",inactiveColor:r="#a1a1aa",backgroundColor:n="#18181b"}){let[o,s]=bi.useState(0),l=(d,u)=>{u.preventDefault(),s(d);};return jsxRuntime.jsx("div",{className:i("relative",t),children:jsxRuntime.jsx("nav",{className:"relative rounded-full px-2 py-2",style:{backgroundColor:n},children:jsxRuntime.jsx("ul",{className:"flex items-center gap-1",children:e.map((d,u)=>jsxRuntime.jsx("li",{className:"relative",children:jsxRuntime.jsxs("a",{href:d.href,className:i("relative z-10 block px-4 py-2 text-sm font-medium rounded-full transition-all duration-300",o===u&&"text-white"),style:{color:o===u?"#fff":r},onClick:c=>l(u,c),children:[d.label,o===u&&jsxRuntime.jsx("span",{className:"absolute inset-0 rounded-full -z-10 animate-pulse",style:{backgroundColor:a,boxShadow:`0 0 20px ${a}`}})]})},u))})})})}function yp({logo:e,logoAlt:t="Logo",items:a,activeHref:r,className:n="",baseColor:o="#fff",pillColor:s="#000000",hoveredPillTextColor:l="#ffffff",pillTextColor:d,onMobileMenuClick:u}){let c=d??o,[p,x]=bi.useState(false),[f,m]=bi.useState(null),g=()=>{x(!p),u?.();};return jsxRuntime.jsxs("div",{className:i("relative",n),children:[jsxRuntime.jsxs("nav",{className:"flex items-center gap-4 px-4 py-2 rounded-full",style:{backgroundColor:s},"aria-label":"Primary",children:[e&&jsxRuntime.jsx("a",{href:a?.[0]?.href||"#","aria-label":"Home",className:"flex-shrink-0",children:jsxRuntime.jsx("img",{src:e,alt:t,className:"h-8 w-8 object-contain"})}),jsxRuntime.jsx("div",{className:"hidden md:flex items-center gap-1",children:jsxRuntime.jsx("ul",{className:"flex items-center gap-1",role:"menubar",children:a.map((h,L)=>jsxRuntime.jsx("li",{role:"none",children:jsxRuntime.jsx("a",{role:"menuitem",href:h.href,className:i("relative px-4 py-2 rounded-full text-sm font-medium transition-all duration-300",r===h.href&&"font-semibold"),style:{color:f===L?l:c,backgroundColor:f===L?o:"transparent"},"aria-label":h.ariaLabel||h.label,onMouseEnter:()=>m(L),onMouseLeave:()=>m(null),children:h.label})},h.href))})}),jsxRuntime.jsxs("button",{className:"md:hidden flex flex-col gap-1 p-2",onClick:g,"aria-label":"Toggle menu",children:[jsxRuntime.jsx("span",{className:i("w-5 h-0.5 transition-all duration-300",p&&"rotate-45 translate-y-1.5"),style:{backgroundColor:o}}),jsxRuntime.jsx("span",{className:i("w-5 h-0.5 transition-all duration-300",p&&"-rotate-45 -translate-y-1"),style:{backgroundColor:o}})]})]}),p&&jsxRuntime.jsx("div",{className:"md:hidden absolute top-full left-0 right-0 mt-2 rounded-xl p-4 shadow-lg",style:{backgroundColor:s},children:jsxRuntime.jsx("ul",{className:"flex flex-col gap-2",children:a.map(h=>jsxRuntime.jsx("li",{children:jsxRuntime.jsx("a",{href:h.href,className:i("block px-4 py-2 rounded-lg text-sm font-medium transition-colors",r===h.href&&"font-semibold"),style:{color:c},onClick:()=>x(false),children:h.label})},h.href))})})]})}function kp({trigger:e,title:t="Drawer Title",description:a,children:r,className:n,side:o="right"}){let[s,l]=bi.useState(false);return bi.useEffect(()=>(s?document.body.style.overflow="hidden":document.body.style.overflow="",()=>{document.body.style.overflow="";}),[s]),jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[jsxRuntime.jsx("div",{onClick:()=>l(true),className:"cursor-pointer",children:e||jsxRuntime.jsx("button",{className:"px-4 py-2 bg-zinc-900 dark:bg-white text-white dark:text-zinc-900 rounded-lg font-medium hover:opacity-90 transition-opacity",children:"Open Drawer"})}),s&&jsxRuntime.jsx("div",{className:"fixed inset-0 z-50 bg-black/50 backdrop-blur-sm transition-opacity duration-300",onClick:()=>l(false)}),jsxRuntime.jsx("div",{"data-open":s,className:i("fixed z-50 bg-white dark:bg-zinc-900 shadow-xl transition-transform duration-300 ease-out",{left:"left-0 top-0 h-full w-80 -translate-x-full data-[open=true]:translate-x-0",right:"right-0 top-0 h-full w-80 translate-x-full data-[open=true]:translate-x-0",top:"top-0 left-0 w-full h-80 -translate-y-full data-[open=true]:translate-y-0",bottom:"bottom-0 left-0 w-full h-80 translate-y-full data-[open=true]:translate-y-0"}[o],n),children:jsxRuntime.jsxs("div",{className:"flex flex-col h-full",children:[jsxRuntime.jsxs("div",{className:"flex items-center justify-between p-4 border-b border-zinc-200 dark:border-zinc-800",children:[jsxRuntime.jsxs("div",{children:[jsxRuntime.jsx("h2",{className:"text-lg font-semibold text-zinc-900 dark:text-white",children:t}),a&&jsxRuntime.jsx("p",{className:"text-sm text-zinc-500 dark:text-zinc-400",children:a})]}),jsxRuntime.jsx("button",{onClick:()=>l(false),className:"p-2 rounded-lg hover:bg-zinc-100 dark:hover:bg-zinc-800 transition-colors","aria-label":"Close drawer",children:jsxRuntime.jsx("svg",{className:"w-5 h-5 text-zinc-500",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:jsxRuntime.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M6 18L18 6M6 6l12 12"})})})]}),jsxRuntime.jsx("div",{className:"flex-1 overflow-auto p-4",children:r})]})})]})}var Np=[{id:"tab1",title:"Tab 1",color:"bg-blue-500"},{id:"tab2",title:"Tab 2",color:"bg-purple-500"},{id:"tab3",title:"Tab 3",color:"bg-emerald-500"},{id:"tab4",title:"Tab 4",color:"bg-amber-500"}];function Mp({items:e=Np,defaultTabId:t,className:a,activeColor:r="bg-blue-500",onChange:n}){let[o,s]=bi.useState(t||e[0]?.id||""),[l,d]=bi.useState({width:0,left:0}),u=bi.useRef(new Map),c=bi.useRef(null);bi.useLayoutEffect(()=>{let f=()=>{let m=u.current.get(o),g=c.current;if(m&&g){let h=m.getBoundingClientRect(),L=g.getBoundingClientRect();d({width:h.width,left:h.left-L.left});}};return requestAnimationFrame(f),window.addEventListener("resize",f),()=>window.removeEventListener("resize",f)},[o]);let p=f=>{s(f),n?.(f);},x=e.find(f=>f.id===o);return jsxRuntime.jsxs("div",{className:i("flex flex-col",a),children:[x?.content&&jsxRuntime.jsx("div",{className:"mb-4 p-6 bg-zinc-100 dark:bg-zinc-900 rounded-lg min-h-[200px]",children:x.content}),jsxRuntime.jsxs("div",{ref:c,role:"tablist",className:i("relative flex items-center gap-1 p-1","bg-zinc-100 dark:bg-zinc-900 rounded-xl","border border-zinc-200 dark:border-zinc-800"),children:[jsxRuntime.jsx("div",{className:i("absolute rounded-lg transition-all duration-300 ease-out",x?.color||r),style:{width:l.width-8,left:l.left+4,height:"calc(100% - 8px)",top:"4px"}}),e.map(f=>{let m=o===f.id;return jsxRuntime.jsx("button",{ref:g=>{g?u.current.set(f.id,g):u.current.delete(f.id);},type:"button",role:"tab","aria-selected":m,onClick:()=>p(f.id),className:i("relative z-10 flex-1 px-4 py-2 rounded-lg","text-sm font-medium transition-colors duration-300","focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-blue-500",m?"text-white":"text-zinc-600 dark:text-zinc-400 hover:text-zinc-900 dark:hover:text-zinc-100"),children:f.title},f.id)})]})]})}function Rp({width:e=300,height:t=400,image:a="https://picsum.photos/300/400?grayscale",children:r,className:n}){let o=bi.useRef(null),s=bi.useRef(null),l=bi.useRef({x:0,y:0}),d=bi.useRef({x:0,y:0}),u=bi.useRef({x:0,y:0,rz:0}),c=bi.useRef(0),p=bi.useRef();bi.useEffect(()=>{if(typeof window>"u")return;l.current={x:window.innerWidth/2,y:window.innerHeight/2},d.current={...l.current};let f=(v,b,I)=>(1-I)*v+I*b,m=(v,b,I,y,w)=>(v-b)*(w-y)/(I-b)+y,g=(v,b,I,y)=>Math.hypot(v-b,I-y),h=v=>{l.current={x:v.clientX,y:v.clientY};};window.addEventListener("mousemove",h);let L=()=>{let v=window.innerWidth,b=window.innerHeight,I=f(u.current.x,m(l.current.x,0,v,-120,120),.1),y=f(u.current.y,m(l.current.y,0,b,-120,120),.1),w=f(u.current.rz,m(l.current.x,0,v,-10,10),.1),C=50;I>C&&(I=C+(I-C)*.2),I<-C&&(I=-C+(I+C)*.2),y>C&&(y=C+(y-C)*.2),y<-C&&(y=-C+(y+C)*.2),u.current={x:I,y,rz:w},o.current&&(o.current.style.transform=`translate(${I}px, ${y}px) rotateZ(${w}deg)`);let N=g(d.current.x,l.current.x,d.current.y,l.current.y);c.current=f(c.current,m(N,0,200,0,400),.06),s.current&&s.current.setAttribute("scale",String(c.current)),d.current={...l.current},p.current=requestAnimationFrame(L);};return L(),()=>{window.removeEventListener("mousemove",h),p.current&&cancelAnimationFrame(p.current);}},[]);let x=`imgFilter-${Math.random().toString(36).substr(2,9)}`;return jsxRuntime.jsxs("div",{className:i("relative",n),style:{width:`${e}px`,height:`${t}px`},ref:o,children:[jsxRuntime.jsxs("svg",{viewBox:"-60 -75 720 900",preserveAspectRatio:"xMidYMid slice",className:"w-full h-full",children:[jsxRuntime.jsx("defs",{children:jsxRuntime.jsxs("filter",{id:x,children:[jsxRuntime.jsx("feTurbulence",{type:"turbulence",baseFrequency:"0.015",numOctaves:"5",seed:"4",stitchTiles:"stitch",x:"0%",y:"0%",width:"100%",height:"100%",result:"turbulence1"}),jsxRuntime.jsx("feDisplacementMap",{ref:s,in:"SourceGraphic",in2:"turbulence1",scale:"0",xChannelSelector:"R",yChannelSelector:"B",x:"0%",y:"0%",width:"100%",height:"100%",result:"displacementMap3"})]})}),jsxRuntime.jsx("g",{children:jsxRuntime.jsx("image",{href:a,x:"0",y:"0",width:"600",height:"750",filter:`url(#${x})`,preserveAspectRatio:"xMidYMid slice"})})]}),r&&jsxRuntime.jsx("div",{className:"absolute inset-0 flex items-end p-6",children:jsxRuntime.jsx("div",{className:"text-white",children:r})})]})}var rn="shadow-[0_0_6px_rgba(0,0,0,0.03),0_2px_6px_rgba(0,0,0,0.08),inset_3px_3px_0.5px_-3px_rgba(0,0,0,0.9),inset_-3px_-3px_0.5px_-3px_rgba(0,0,0,0.85),inset_1px_1px_1px_-0.5px_rgba(0,0,0,0.6),inset_-1px_-1px_1px_-0.5px_rgba(0,0,0,0.6),inset_0_0_6px_6px_rgba(0,0,0,0.12),inset_0_0_2px_2px_rgba(0,0,0,0.06),0_0_12px_rgba(255,255,255,0.15)] dark:shadow-[0_0_8px_rgba(0,0,0,0.03),0_2px_6px_rgba(0,0,0,0.08),inset_3px_3px_0.5px_-3.5px_rgba(255,255,255,0.09),inset_-3px_-3px_0.5px_-3.5px_rgba(255,255,255,0.85),inset_1px_1px_1px_-0.5px_rgba(255,255,255,0.6),inset_-1px_-1px_1px_-0.5px_rgba(255,255,255,0.6),inset_0_0_6px_6px_rgba(255,255,255,0.12),inset_0_0_2px_2px_rgba(255,255,255,0.06),0_0_12px_rgba(0,0,0,0.15)]",Mr=bi__default.default.memo(({id:e,scale:t=30})=>jsxRuntime.jsxs("svg",{className:"hidden",children:[jsxRuntime.jsx("title",{children:"Glass Effect Filter"}),jsxRuntime.jsx("defs",{children:jsxRuntime.jsxs("filter",{colorInterpolationFilters:"sRGB",height:"200%",id:e,width:"200%",x:"-50%",y:"-50%",children:[jsxRuntime.jsx("feTurbulence",{baseFrequency:"0.05 0.05",numOctaves:"1",result:"turbulence",seed:"1",type:"fractalNoise"}),jsxRuntime.jsx("feGaussianBlur",{in:"turbulence",result:"blurredNoise",stdDeviation:"2"}),jsxRuntime.jsx("feDisplacementMap",{in:"SourceGraphic",in2:"blurredNoise",result:"displaced",scale:t,xChannelSelector:"R",yChannelSelector:"B"}),jsxRuntime.jsx("feGaussianBlur",{in:"displaced",result:"finalBlur",stdDeviation:"4"}),jsxRuntime.jsx("feComposite",{in:"finalBlur",in2:"finalBlur",operator:"over"})]})})]}));Mr.displayName="GlassFilter";function Bp({className:e,glassSize:t="default",glassEffect:a=true,children:r,...n}){let o=bi.useId();return jsxRuntime.jsxs("div",{className:i("group relative overflow-hidden rounded-lg border border-zinc-200 dark:border-zinc-800","bg-white/20 dark:bg-zinc-900/20 backdrop-blur-[2px]","transition-all duration-300",{sm:"p-4",default:"p-6",lg:"p-8"}[t],e),...n,children:[jsxRuntime.jsx("div",{className:i("pointer-events-none absolute inset-0 rounded-lg transition-all",rn)}),a&&jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[jsxRuntime.jsx("div",{className:"-z-10 pointer-events-none absolute inset-0 overflow-hidden rounded-lg",style:{backdropFilter:`url("#${o}")`}}),jsxRuntime.jsx(Mr,{id:o,scale:30})]}),jsxRuntime.jsx("div",{className:"relative z-10",children:r}),jsxRuntime.jsx("div",{className:"pointer-events-none absolute inset-0 z-20 rounded-lg bg-gradient-to-r from-transparent via-black/5 to-transparent opacity-0 transition-opacity duration-200 group-hover:opacity-100 dark:via-white/5"})]})}function Dp({className:e,variant:t="default",children:a,...r}){let n=bi.useId();return jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[jsxRuntime.jsxs("button",{className:i("relative px-4 py-2 rounded-full font-medium transition-transform duration-300 hover:scale-105",t==="default"&&"bg-zinc-900 dark:bg-white text-white dark:text-zinc-900",t==="ghost"&&"bg-transparent text-zinc-700 dark:text-zinc-300 hover:bg-zinc-200/80 dark:hover:bg-zinc-800/80",e),...r,children:[jsxRuntime.jsx("div",{className:i("pointer-events-none absolute inset-0 rounded-full transition-all",rn)}),jsxRuntime.jsx("div",{className:"-z-10 pointer-events-none absolute inset-0 isolate overflow-hidden rounded-full",style:{backdropFilter:`url("#${n}")`}}),jsxRuntime.jsx("span",{className:"relative z-10",children:a})]}),jsxRuntime.jsx(Mr,{id:n,scale:70})]})}function zp({targetSelector:e=".cursor-target",spinDuration:t=2,hideDefaultCursor:a=true,color:r="#000000",className:n}){let o=bi.useRef(null),s=bi.useRef(null),[l,d]=bi.useState({x:0,y:0}),[u,c]=bi.useState(false),[p,x]=bi.useState(0),f=bi.useRef();bi.useEffect(()=>{if(typeof window>"u")return;let h=document.body.style.cursor;a&&(document.body.style.cursor="none"),d({x:window.innerWidth/2,y:window.innerHeight/2});let L=w=>{d({x:w.clientX,y:w.clientY});},v=w=>{let C=w.target;(C.matches(e)||C.closest(e))&&c(true);},b=w=>{let C=w.target;(C.matches(e)||C.closest(e))&&c(false);};window.addEventListener("mousemove",L),window.addEventListener("mouseover",v),window.addEventListener("mouseout",b);let I,y=w=>{I||(I=w);let N=(w-I)/(t*1e3)*360;x(N%360),f.current=requestAnimationFrame(y);};return f.current=requestAnimationFrame(y),()=>{window.removeEventListener("mousemove",L),window.removeEventListener("mouseover",v),window.removeEventListener("mouseout",b),document.body.style.cursor=h,f.current&&cancelAnimationFrame(f.current);}},[e,t,a]);let m=12,g=3;return jsxRuntime.jsxs("div",{ref:o,className:i("fixed pointer-events-none z-[10000]",n),style:{left:l.x,top:l.y,transform:`translate(-50%, -50%) rotate(${u?0:p}deg)`,transition:u?"transform 0.2s ease":"none"},children:[jsxRuntime.jsx("div",{ref:s,className:"absolute rounded-full",style:{width:6,height:6,backgroundColor:r,left:"50%",top:"50%",transform:"translate(-50%, -50%)"}}),["tl","tr","br","bl"].map(h=>{let L=h.includes("t"),v=h.includes("l"),b=u?20:m*1.5;return jsxRuntime.jsx("div",{className:"absolute transition-all duration-200",style:{width:m,height:m,borderColor:r,borderWidth:g,borderStyle:"solid",borderTopWidth:L?g:0,borderBottomWidth:L?0:g,borderLeftWidth:v?g:0,borderRightWidth:v?0:g,left:v?-b:"auto",right:v?"auto":-b,top:L?-b:"auto",bottom:L?"auto":-b}},h)})]})}var nn=(e,t,a)=>(1-a)*e+a*t;function qp({color:e="#000000",containerRef:t=null,className:a}){let r=bi.useRef(null),n=bi.useRef(null),o=bi.useRef(null),s=bi.useRef({x:0,y:0}),l=bi.useRef({x:0,y:0}),d=bi.useRef();return bi.useEffect(()=>{if(typeof window>"u")return;let u=(m,g)=>{if(g){let h=g.getBoundingClientRect();return {x:m.clientX-h.left,y:m.clientY-h.top}}return {x:m.clientX,y:m.clientY}},c=m=>{if(s.current=u(m,t?.current||void 0),t?.current){let g=t.current.getBoundingClientRect(),h=m.clientX<g.left||m.clientX>g.right||m.clientY<g.top||m.clientY>g.bottom;n.current&&o.current&&(n.current.style.opacity=h?"0":"1",o.current.style.opacity=h?"0":"1");}},p=t?.current||window;p.addEventListener("mousemove",c),n.current&&o.current&&(n.current.style.opacity="0",o.current.style.opacity="0");let x=()=>{l.current={...s.current},n.current&&o.current&&(n.current.style.opacity="1",o.current.style.opacity="1"),p.removeEventListener("mousemove",x);};p.addEventListener("mousemove",x);let f=()=>{l.current.x=nn(l.current.x,s.current.x,.15),l.current.y=nn(l.current.y,s.current.y,.15),n.current&&o.current&&(o.current.style.transform=`translateX(${l.current.x}px)`,n.current.style.transform=`translateY(${l.current.y}px)`),d.current=requestAnimationFrame(f);};return f(),()=>{p.removeEventListener("mousemove",c),d.current&&cancelAnimationFrame(d.current);}},[t]),jsxRuntime.jsxs("div",{ref:r,className:i("pointer-events-none z-[10000]",a),style:{position:t?"absolute":"fixed",top:0,left:0,width:"100%",height:"100%"},children:[jsxRuntime.jsx("div",{ref:n,style:{position:"absolute",width:"100%",height:"1px",background:e,pointerEvents:"none",opacity:0,transition:"opacity 0.3s ease"}}),jsxRuntime.jsx("div",{ref:o,style:{position:"absolute",height:"100%",width:"1px",background:e,pointerEvents:"none",opacity:0,transition:"opacity 0.3s ease"}})]})}function Vp({texts:e=["TailwindCSS","React","Next.js","TypeScript","Vercel","Motion"],className:t}){let[a,r]=bi.useState(0),n=bi.useRef(null),o=bi.useRef([]);return bi.useEffect(()=>{if(!n.current)return;let s=new IntersectionObserver(l=>{l.forEach(d=>{if(d.isIntersecting){let u=o.current.findIndex(c=>c===d.target);u!==-1&&r(u);}});},{threshold:.7,root:n.current,rootMargin:"-45% 0px -45% 0px"});return o.current.forEach(l=>{l&&s.observe(l);}),()=>s.disconnect()},[e]),jsxRuntime.jsx("div",{className:i("w-full max-w-3xl mx-auto",t),children:jsxRuntime.jsxs("div",{ref:n,className:i("h-[300px] overflow-y-auto","relative flex flex-col items-center","[&::-webkit-scrollbar]:hidden [-ms-overflow-style:none] [scrollbar-width:none]"),children:[jsxRuntime.jsx("div",{className:"h-[150px]"}),jsxRuntime.jsx("div",{className:"flex flex-col items-center w-full",children:e.map((s,l)=>jsxRuntime.jsx("div",{ref:d=>{o.current[l]=d;},className:i("text-5xl font-bold py-8 px-4 whitespace-nowrap","transition-all duration-300",a===l?"text-zinc-900 dark:text-white scale-100 opacity-100":"text-zinc-400/50 dark:text-zinc-600 scale-95 opacity-50"),children:s},`${s}-${l}`))}),jsxRuntime.jsx("div",{className:"h-[150px]"})]})})}var $p=({item:e,index:t,totalCards:a,isExpanded:r})=>{let n=(a-1)*5,o=t*10-n,s=t*2,l=t*1.5,d=320,u=240,p=(d+(a-1)*(d-u))/2,x=t*(d-u)-p+d/2,f=t*5-(a-1)*2.5;return jsxRuntime.jsxs(framerMotion.motion.div,{initial:{x:o,y:s,rotate:l,scale:1},animate:{x:r?x:o,y:r?0:s,rotate:r?f:l,scale:1,zIndex:a-t},transition:{type:"spring",stiffness:350,damping:30,mass:.8},className:i("absolute inset-0 rounded-2xl p-6 w-full","bg-gradient-to-br from-white/40 via-neutral-50/30 to-neutral-100/20","dark:from-neutral-800/40 dark:via-neutral-900/30 dark:to-black/20","border border-white/20 dark:border-neutral-800/20","backdrop-blur-xl backdrop-saturate-150","shadow-[0_8px_20px_rgb(0,0,0,0.08)] dark:shadow-[0_8px_20px_rgb(0,0,0,0.3)]","transition-all duration-500 ease-out transform-gpu overflow-hidden"),style:{maxWidth:"320px",left:"50%",marginLeft:"-160px"},children:[jsxRuntime.jsx("div",{className:"absolute inset-1 rounded-xl bg-neutral-900/50 backdrop-blur-sm border border-neutral-200/50 dark:border-neutral-700/50"}),jsxRuntime.jsxs("div",{className:"relative z-10",children:[jsxRuntime.jsx("dl",{className:"mb-4 grid grid-cols-4 gap-2",children:e.specs.map(m=>jsxRuntime.jsxs("div",{className:"text-[10px] flex flex-col items-start",children:[jsxRuntime.jsx("dd",{className:"font-medium text-gray-500 dark:text-gray-400",children:m.value}),jsxRuntime.jsx("dt",{className:"text-white dark:text-gray-100",children:m.label})]},m.label))}),jsxRuntime.jsx("div",{className:"aspect-[16/11] w-full overflow-hidden rounded-lg bg-neutral-100 dark:bg-neutral-900 border border-neutral-200/50 dark:border-neutral-700/50",children:jsxRuntime.jsx("img",{src:e.image,alt:e.title,className:"object-cover w-full h-full",loading:"lazy"})}),jsxRuntime.jsxs("div",{className:"mt-4",children:[jsxRuntime.jsx("h2",{className:"text-3xl font-bold tracking-tight text-white",children:e.title}),jsxRuntime.jsx("span",{className:"block text-3xl font-semibold tracking-tight bg-gradient-to-r from-gray-400 via-gray-300 to-gray-500 bg-clip-text text-transparent",children:e.subtitle}),e.description&&jsxRuntime.jsx("p",{className:"mt-2 text-sm text-gray-500 dark:text-gray-400",children:e.description})]})]})]})};function Yp({items:e,className:t,defaultExpanded:a=false}){let[r,n]=bi.useState(a);return jsxRuntime.jsx("button",{className:i("relative mx-auto cursor-pointer min-h-[440px] w-full max-w-[90vw] md:max-w-[1200px]","appearance-none bg-transparent border-0 p-0 flex items-center justify-center mb-8",t),onClick:()=>n(!r),"aria-label":"Toggle card stack",type:"button",children:e.map((o,s)=>jsxRuntime.jsx($p,{item:o,index:s,totalCards:e.length,isExpanded:r},o.id))})}var Kp=({data:e,index:t})=>{let r=(e.size-16)/2,n=r*2*Math.PI,o=(100-e.value)/100*n,s=`gradient-${e.label.toLowerCase()}-${t}`;return jsxRuntime.jsx(framerMotion.motion.div,{className:"absolute inset-0 flex items-center justify-center",initial:{opacity:0,scale:.8},animate:{opacity:1,scale:1},transition:{duration:.8,delay:t*.2,ease:"easeOut"},children:jsxRuntime.jsxs("svg",{width:e.size,height:e.size,viewBox:`0 0 ${e.size} ${e.size}`,className:"transform -rotate-90","aria-label":`${e.label} Activity Progress - ${e.value}%`,children:[jsxRuntime.jsx("title",{children:`${e.label} Activity Progress - ${e.value}%`}),jsxRuntime.jsx("defs",{children:jsxRuntime.jsxs("linearGradient",{id:s,x1:"0%",y1:"0%",x2:"100%",y2:"100%",children:[jsxRuntime.jsx("stop",{offset:"0%",style:{stopColor:e.color,stopOpacity:1}}),jsxRuntime.jsx("stop",{offset:"100%",style:{stopColor:e.color==="#FF2D55"?"#FF6B8B":e.color==="#A3F900"?"#C5FF4D":"#4DDFED",stopOpacity:1}})]})}),jsxRuntime.jsx("circle",{cx:e.size/2,cy:e.size/2,r,fill:"none",stroke:"currentColor",strokeWidth:16,className:"text-zinc-200/50 dark:text-zinc-800/50"}),jsxRuntime.jsx(framerMotion.motion.circle,{cx:e.size/2,cy:e.size/2,r,fill:"none",stroke:`url(#${s})`,strokeWidth:16,strokeDasharray:n,initial:{strokeDashoffset:n},animate:{strokeDashoffset:o},transition:{duration:1.8,delay:t*.2,ease:"easeInOut"},strokeLinecap:"round",style:{filter:"drop-shadow(0 0 6px rgba(0,0,0,0.15))"}})]})})},Jp=[{label:"MOVE",value:85,color:"#FF2D55",size:200,current:479,target:800,unit:"CAL"},{label:"EXERCISE",value:60,color:"#A3F900",size:160,current:24,target:30,unit:"MIN"},{label:"STAND",value:30,color:"#04C7DD",size:120,current:6,target:12,unit:"HR"}];function Qp({title:e="Activity Rings",className:t,activities:a=Jp}){return jsxRuntime.jsx("div",{className:i("relative w-full max-w-3xl mx-auto p-8 rounded-3xl text-zinc-900 dark:text-white",t),children:jsxRuntime.jsxs("div",{className:"flex flex-col items-center gap-8",children:[jsxRuntime.jsx(framerMotion.motion.h2,{className:"text-2xl font-medium text-zinc-900 dark:text-white",initial:{opacity:0,y:-20},animate:{opacity:1,y:0},transition:{duration:.5},children:e}),jsxRuntime.jsxs("div",{className:"flex items-center",children:[jsxRuntime.jsx("div",{className:"relative w-[180px] h-[180px]",children:a.map((r,n)=>jsxRuntime.jsx(Kp,{data:r,index:n},r.label))}),jsxRuntime.jsx(framerMotion.motion.div,{className:"flex flex-col gap-6 ml-8",initial:{opacity:0,x:20},animate:{opacity:1,x:0},transition:{duration:.5,delay:.3},children:a.map(r=>jsxRuntime.jsxs("div",{className:"flex flex-col",children:[jsxRuntime.jsx("span",{className:"text-sm font-medium text-zinc-600 dark:text-zinc-400",children:r.label}),jsxRuntime.jsxs("span",{className:"text-2xl font-semibold",style:{color:r.color},children:[r.current,"/",r.target,jsxRuntime.jsx("span",{className:"text-base ml-1 text-zinc-600 dark:text-zinc-400",children:r.unit})]})]},r.label))})]})]})})}var un=({className:e})=>jsxRuntime.jsx("svg",{className:e,viewBox:"0 0 22 22",fill:"currentColor",children:jsxRuntime.jsx("path",{d:"M20.396 11c-.018-.646-.215-1.275-.57-1.816-.354-.54-.852-.972-1.438-1.246.223-.607.27-1.264.14-1.897-.131-.634-.437-1.218-.882-1.687-.47-.445-1.053-.75-1.687-.882-.633-.13-1.29-.083-1.897.14-.273-.587-.704-1.086-1.245-1.44S11.647 1.62 11 1.604c-.646.017-1.273.213-1.813.568s-.969.854-1.24 1.44c-.608-.223-1.267-.272-1.902-.14-.635.13-1.22.436-1.69.882-.445.47-.749 1.055-.878 1.688-.13.633-.08 1.29.144 1.896-.587.274-1.087.705-1.443 1.245-.356.54-.555 1.17-.574 1.817.02.647.218 1.276.574 1.817.356.54.856.972 1.443 1.245-.224.606-.274 1.263-.144 1.896.13.634.433 1.218.877 1.688.47.443 1.054.747 1.687.878.633.132 1.29.084 1.897-.136.274.586.705 1.084 1.246 1.439.54.354 1.17.551 1.816.569.647-.016 1.276-.213 1.817-.567s.972-.854 1.245-1.44c.604.239 1.266.296 1.903.164.636-.132 1.22-.447 1.68-.907.46-.46.776-1.044.908-1.681s.075-1.299-.165-1.903c.586-.274 1.084-.705 1.439-1.246.354-.54.551-1.17.569-1.816zM9.662 14.85l-3.429-3.428 1.293-1.302 2.072 2.072 4.4-4.794 1.347 1.246z"})}),Zp=({className:e})=>jsxRuntime.jsxs("svg",{className:e,viewBox:"0 0 1200 1227",fill:"none",children:[jsxRuntime.jsx("title",{children:"X"}),jsxRuntime.jsx("path",{fill:"currentColor",d:"M714.163 519.284 1160.89 0h-105.86L667.137 450.887 357.328 0H0l468.492 681.821L0 1226.37h105.866l409.625-476.152 327.181 476.152H1200L714.137 519.284h.026ZM569.165 687.828l-47.468-67.894-377.686-540.24h162.604l304.797 435.991 47.468 67.894 396.2 566.721H892.476L569.165 687.854v-.026Z"})]});function jp({authorName:e,authorHandle:t,authorImage:a,content:r,isVerified:n=false,timestamp:o,reply:s,href:l,className:d}){return jsxRuntime.jsx(l?"a":"div",{...l?{href:l,target:"_blank",rel:"noopener noreferrer"}:{},className:i("block w-full min-w-[400px] md:min-w-[500px] max-w-xl p-1.5 rounded-2xl relative isolate overflow-hidden","bg-black/90 dark:bg-black/90","backdrop-blur-xl backdrop-saturate-[180%]","border border-black/10 dark:border-white/10","shadow-[0_8px_16px_rgb(0_0_0_/_0.15)] dark:shadow-[0_8px_16px_rgb(0_0_0_/_0.25)]",d),children:jsxRuntime.jsxs("div",{className:i("w-full p-5 rounded-xl relative","bg-gradient-to-br from-black/[0.05] to-transparent dark:from-white/[0.08] dark:to-transparent","backdrop-blur-md backdrop-saturate-150","border border-black/[0.05] dark:border-white/[0.08]","text-white/90 dark:text-white"),children:[jsxRuntime.jsxs("div",{className:"flex gap-3",children:[jsxRuntime.jsx("div",{className:"shrink-0",children:jsxRuntime.jsx("div",{className:"h-10 w-10 rounded-full overflow-hidden",children:jsxRuntime.jsx("img",{src:a,alt:e,className:"h-full w-full object-cover"})})}),jsxRuntime.jsx("div",{className:"flex-1",children:jsxRuntime.jsxs("div",{className:"flex justify-between items-start",children:[jsxRuntime.jsxs("div",{className:"flex flex-col",children:[jsxRuntime.jsxs("div",{className:"flex items-center gap-1",children:[jsxRuntime.jsx("span",{className:"font-semibold text-white dark:text-white/90 hover:underline cursor-pointer",children:e}),n&&jsxRuntime.jsx(un,{className:"h-4 w-4 text-blue-400"})]}),jsxRuntime.jsxs("span",{className:"text-white/60 text-sm",children:["@",t]})]}),jsxRuntime.jsx("div",{className:"h-8 w-8 text-white/80 hover:text-white hover:bg-white/10 rounded-lg p-1 flex items-center justify-center",children:jsxRuntime.jsx(Zp,{className:"w-4 h-4"})})]})})]}),jsxRuntime.jsxs("div",{className:"mt-2",children:[r.map((p,x)=>jsxRuntime.jsx("p",{className:"text-white dark:text-white/90 text-base",children:p},x)),jsxRuntime.jsx("span",{className:"text-white/50 text-sm mt-2 block",children:o})]}),s&&jsxRuntime.jsx("div",{className:"mt-4 pt-4 border-t border-white/[0.08]",children:jsxRuntime.jsxs("div",{className:"flex gap-3",children:[jsxRuntime.jsx("div",{className:"shrink-0",children:jsxRuntime.jsx("div",{className:"h-10 w-10 rounded-full overflow-hidden",children:jsxRuntime.jsx("img",{src:s.authorImage,alt:s.authorName,className:"h-full w-full object-cover"})})}),jsxRuntime.jsxs("div",{className:"flex-1",children:[jsxRuntime.jsxs("div",{className:"flex items-center gap-1",children:[jsxRuntime.jsx("span",{className:"font-semibold text-white/90 hover:underline cursor-pointer",children:s.authorName}),s.isVerified&&jsxRuntime.jsx(un,{className:"h-4 w-4 text-blue-400"}),jsxRuntime.jsxs("span",{className:"text-white/60 text-sm",children:["@",s.authorHandle]}),jsxRuntime.jsx("span",{className:"text-white/60 text-sm",children:"\xB7"}),jsxRuntime.jsx("span",{className:"text-white/60 text-sm",children:s.timestamp})]}),jsxRuntime.jsx("p",{className:"text-white/80 text-sm mt-1",children:s.content})]})]})})]})})}function t0({title:e="Key Metrics",description:t="Track your success with these important numbers",stats:a,className:r}){let n=bi.useRef(null),o=framerMotion.useInView(n,{once:true});return jsxRuntime.jsx("div",{className:i("min-h-[400px] w-full",r),children:jsxRuntime.jsx("section",{className:"py-20",children:jsxRuntime.jsxs("div",{className:"mx-auto max-w-7xl px-6",children:[jsxRuntime.jsxs(framerMotion.motion.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},transition:{duration:.6},viewport:{once:true},className:"mb-16 text-center",children:[jsxRuntime.jsx("h2",{className:"text-zinc-900 dark:text-zinc-100 mb-4 text-3xl font-bold lg:text-4xl",children:e}),jsxRuntime.jsx("p",{className:"text-zinc-600 dark:text-zinc-400 mx-auto max-w-2xl text-lg",children:t})]}),jsxRuntime.jsx("div",{ref:n,className:"grid grid-cols-1 gap-6 md:grid-cols-2 lg:grid-cols-4",children:a.map((s,l)=>jsxRuntime.jsxs(framerMotion.motion.div,{initial:{opacity:0,y:30,scale:.9},animate:o?{opacity:1,y:0,scale:1}:{opacity:0,y:30,scale:.9},transition:{duration:.6,delay:l*.1,type:"spring",stiffness:100},className:"group border-zinc-300 dark:border-zinc-700 bg-transparent hover:border-zinc-500 dark:hover:border-zinc-600 relative overflow-hidden rounded-2xl border p-6 transition-all hover:scale-105 hover:shadow-xl",children:[s.icon&&jsxRuntime.jsx(framerMotion.motion.div,{className:"mb-4 text-3xl text-zinc-900 dark:text-zinc-100",initial:{rotate:-10,scale:.8},animate:o?{rotate:0,scale:1}:{rotate:-10,scale:.8},transition:{duration:.6,delay:l*.1+.2,type:"spring",stiffness:200},children:s.icon}),jsxRuntime.jsx(framerMotion.motion.div,{className:"text-zinc-900 dark:text-zinc-100 mb-1 text-2xl font-bold lg:text-3xl",initial:{scale:.5},animate:o?{scale:1}:{scale:.5},transition:{duration:.8,delay:l*.1+.3,type:"spring",stiffness:200},children:s.value}),jsxRuntime.jsx("h3",{className:"text-zinc-900 dark:text-zinc-100 mb-2 text-sm font-semibold tracking-wide uppercase",children:s.label}),s.description&&jsxRuntime.jsx("p",{className:"text-zinc-600 dark:text-zinc-400 mb-3 text-xs",children:s.description}),s.trend&&jsxRuntime.jsxs(framerMotion.motion.div,{className:i("inline-flex items-center rounded-full px-2 py-1 text-xs font-medium",s.trend.direction==="up"?"bg-green-900/20 text-green-400":"bg-red-900/20 text-red-400"),initial:{opacity:0,x:-10},animate:o?{opacity:1,x:0}:{opacity:0,x:-10},transition:{duration:.4,delay:l*.1+.5},children:[jsxRuntime.jsx("span",{className:"mr-1",children:s.trend.direction==="up"?"\u2197":"\u2198"}),s.trend.value]})]},s.label))})]})})})}function s0({title:e="Our Impact in Numbers",description:t="See how we're making a difference across the globe",stats:a,className:r}){let n=bi.useRef(null),o=framerMotion.useInView(n,{once:true});return jsxRuntime.jsx("div",{className:i("min-h-[400px] w-full",r),children:jsxRuntime.jsx("section",{className:"py-20",children:jsxRuntime.jsxs("div",{className:"mx-auto max-w-7xl px-6",children:[jsxRuntime.jsxs(framerMotion.motion.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},transition:{duration:.6},viewport:{once:true},className:"mb-16 text-center",children:[jsxRuntime.jsx("h2",{className:"text-zinc-900 dark:text-zinc-100 mb-4 text-3xl font-bold lg:text-4xl",children:e}),jsxRuntime.jsx("p",{className:"text-zinc-600 dark:text-zinc-400 mx-auto max-w-2xl text-lg",children:t})]}),jsxRuntime.jsx("div",{ref:n,className:"grid grid-cols-1 gap-8 md:grid-cols-2 lg:grid-cols-4",children:a.map((s,l)=>jsxRuntime.jsxs(framerMotion.motion.div,{initial:{opacity:0,y:30},animate:o?{opacity:1,y:0}:{opacity:0,y:30},transition:{duration:.6,delay:l*.1},className:"group bg-transparent hover:border-zinc-500 dark:hover:border-zinc-600 relative overflow-hidden rounded-2xl border border-zinc-300 dark:border-zinc-700 p-8 text-center transition-all hover:shadow-lg",children:[jsxRuntime.jsx(framerMotion.motion.div,{className:"text-zinc-900 dark:text-zinc-100 mb-2 text-4xl font-bold lg:text-5xl",initial:{scale:.5},animate:o?{scale:1}:{scale:.5},transition:{duration:.8,delay:l*.1+.2,type:"spring",stiffness:200},children:s.value}),jsxRuntime.jsx("h3",{className:"text-zinc-900 dark:text-zinc-100 mb-2 text-lg font-semibold",children:s.label}),s.description&&jsxRuntime.jsx("p",{className:"text-zinc-600 dark:text-zinc-400 text-sm",children:s.description})]},s.label))})]})})})}function n0({children:e,className:t}){return jsxRuntime.jsx("div",{className:i("grid w-full auto-rows-[22rem] grid-cols-3 gap-4",t),children:e})}function l0({name:e,className:t,background:a,Icon:r,description:n,href:o,cta:s,onClick:l}){return jsxRuntime.jsxs(o?"a":"div",{...o?{href:o,target:"_blank",rel:"noopener noreferrer"}:{},onClick:l,className:i("group relative col-span-3 flex flex-col justify-between overflow-hidden rounded-xl cursor-pointer","bg-white [box-shadow:0_0_0_1px_rgba(0,0,0,.03),0_2px_4px_rgba(0,0,0,.05),0_12px_24px_rgba(0,0,0,.05)]","transform-gpu dark:bg-black dark:[border:1px_solid_rgba(255,255,255,.1)] dark:[box-shadow:0_-20px_80px_-20px_#ffffff1f_inset]",t),children:[typeof a=="string"?jsxRuntime.jsx("div",{className:i("absolute inset-0",a)}):jsxRuntime.jsx("div",{className:"absolute inset-0",children:a}),jsxRuntime.jsxs("div",{className:"pointer-events-none z-10 flex transform-gpu flex-col gap-1 p-6 transition-all duration-300 group-hover:-translate-y-10",children:[r&&jsxRuntime.jsx(r,{className:"h-12 w-12 origin-left transform-gpu text-neutral-700 transition-all duration-300 ease-in-out group-hover:scale-75 dark:text-neutral-300"}),jsxRuntime.jsx("h3",{className:"text-xl font-semibold text-neutral-700 dark:text-neutral-300",children:e}),jsxRuntime.jsx("p",{className:"max-w-lg text-neutral-400",children:n})]}),s&&jsxRuntime.jsx("div",{className:"pointer-events-none absolute bottom-0 flex w-full translate-y-10 transform-gpu flex-row items-center p-4 opacity-0 transition-all duration-300 group-hover:translate-y-0 group-hover:opacity-100",children:jsxRuntime.jsxs("span",{className:"pointer-events-auto ml-auto flex items-center gap-2 rounded-lg bg-black px-4 py-2 text-white dark:bg-white dark:text-black",children:[s,jsxRuntime.jsx("svg",{className:"ml-2 h-4 w-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:jsxRuntime.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M9 5l7 7-7 7"})})]})}),jsxRuntime.jsx("div",{className:"pointer-events-none absolute inset-0 transform-gpu transition-all duration-300 group-hover:bg-black/[.03] group-hover:dark:bg-neutral-800/10"})]})}function u0({colorStops:e=["#5227FF","#7cff67","#5227FF"],amplitude:t=1,blend:a=.5,speed:r=1,className:n=""}){let o=bi.useRef(null);return bi.useEffect(()=>{let s=o.current;if(!s)return;let l=s.getContext("2d");if(!l)return;let d,u=0,c=()=>{s.width=s.offsetWidth,s.height=s.offsetHeight;},x=()=>{if(!l||!s)return;l.clearRect(0,0,s.width,s.height);let f=l.createLinearGradient(0,0,s.width,0);e.forEach((m,g)=>{f.addColorStop(g/(e.length-1),m);});for(let m=0;m<s.height;m++){let g=Math.sin(m*.02+u*r*.1)*t*50,h=Math.max(0,Math.min(1,m/s.height*a+g*.01));l.fillStyle=f,l.globalAlpha=h*.3,l.fillRect(0,m,s.width,1);}l.globalAlpha=1,u+=1,d=requestAnimationFrame(x);};return c(),window.addEventListener("resize",c),x(),()=>{window.removeEventListener("resize",c),cancelAnimationFrame(d);}},[e,t,a,r]),jsxRuntime.jsx("canvas",{ref:o,className:`absolute inset-0 w-full h-full ${n}`})}function m0({lineCount:e=50,lineColor:t="rgba(255, 255, 255, 0.1)",lineWidth:a=1,speed:r=.5,amplitude:n=100,className:o=""}){let s=bi.useRef(null),l=bi.useRef(null);return bi.useEffect(()=>{let d=s.current;if(!d)return;let u=d.getContext("2d");if(!u)return;let c=()=>{d.width=d.offsetWidth,d.height=d.offsetHeight;};window.addEventListener("resize",c),c();let p=[];for(let m=0;m<e;m++)p.push({y:d.height/e*m,offset:Math.random()*Math.PI*2,speed:.5+Math.random()*r});let x=0,f=()=>{!u||!d||(u.clearRect(0,0,d.width,d.height),u.strokeStyle=t,u.lineWidth=a,p.forEach(m=>{u.beginPath();for(let g=0;g<=d.width;g+=5){let h=Math.sin(g*.01+x*m.speed+m.offset)*n,L=m.y+h;g===0?u.moveTo(g,L):u.lineTo(g,L);}u.stroke();}),x+=.01,l.current=requestAnimationFrame(f));};return f(),()=>{window.removeEventListener("resize",c),l.current&&cancelAnimationFrame(l.current);}},[e,t,a,r,n]),jsxRuntime.jsx("canvas",{ref:s,className:`w-full h-full ${o}`})}function g0({direction:e="right",speed:t=1,borderColor:a="#999",squareSize:r=40,hoverFillColor:n="#222",className:o=""}){let s=bi.useRef(null),l=bi.useRef(null),d=bi.useRef({x:0,y:0}),u=bi.useRef(null);return bi.useEffect(()=>{let c=s.current;if(!c)return;let p=c.getContext("2d"),x=()=>{c.width=c.offsetWidth,c.height=c.offsetHeight;};window.addEventListener("resize",x),x();let f=()=>{if(!p)return;p.clearRect(0,0,c.width,c.height);let L=Math.floor(d.current.x/r)*r,v=Math.floor(d.current.y/r)*r;for(let b=L;b<c.width+r;b+=r)for(let I=v;I<c.height+r;I+=r){let y=b-d.current.x%r,w=I-d.current.y%r;u.current&&Math.floor((b-L)/r)===u.current.x&&Math.floor((I-v)/r)===u.current.y&&(p.fillStyle=n,p.fillRect(y,w,r,r)),p.strokeStyle=a,p.strokeRect(y,w,r,r);}},m=()=>{let L=Math.max(t,.1);switch(e){case "right":d.current.x=(d.current.x-L+r)%r;break;case "left":d.current.x=(d.current.x+L+r)%r;break;case "up":d.current.y=(d.current.y+L+r)%r;break;case "down":d.current.y=(d.current.y-L+r)%r;break;case "diagonal":d.current.x=(d.current.x-L+r)%r,d.current.y=(d.current.y-L+r)%r;break}f(),l.current=requestAnimationFrame(m);},g=L=>{let v=c.getBoundingClientRect(),b=L.clientX-v.left,I=L.clientY-v.top,y=Math.floor(d.current.x/r)*r,w=Math.floor(d.current.y/r)*r;u.current={x:Math.floor((b+d.current.x-y)/r),y:Math.floor((I+d.current.y-w)/r)};},h=()=>{u.current=null;};return c.addEventListener("mousemove",g),c.addEventListener("mouseleave",h),l.current=requestAnimationFrame(m),()=>{window.removeEventListener("resize",x),l.current&&cancelAnimationFrame(l.current),c.removeEventListener("mousemove",g),c.removeEventListener("mouseleave",h);}},[e,t,a,n,r]),jsxRuntime.jsx("canvas",{ref:s,className:`w-full h-full ${o}`})}function L0({lineColor:e="black",backgroundColor:t="transparent",waveSpeedX:a=.0125,waveSpeedY:r=.005,waveAmpX:n=32,waveAmpY:o=16,xGap:s=10,yGap:l=32,friction:d=.925,tension:u=.005,maxCursorMove:c=100,style:p={},className:x=""}){let f=bi.useRef(null),m=bi.useRef(null),g=bi.useRef(null);return bi.useEffect(()=>{let h=m.current,L=f.current;if(!h||!L)return;let v=h.getContext("2d");if(!v)return;let b=0,I=()=>{let w=L.getBoundingClientRect();h.width=w.width,h.height=w.height;},y=()=>{if(!v||!h)return;v.clearRect(0,0,h.width,h.height),v.strokeStyle=e,v.lineWidth=1;let w=Math.ceil(h.width/s),C=Math.ceil(h.height/l);for(let N=0;N<=w;N++){v.beginPath();for(let S=0;S<=C;S++){let R=N*s,A=S*l,D=Math.sin(A*.01+b*a)*n,k=Math.cos(R*.01+b*r)*o;S===0?v.moveTo(R+D,A+k):v.lineTo(R+D,A+k);}v.stroke();}b+=1,g.current=requestAnimationFrame(y);};return I(),window.addEventListener("resize",I),y(),()=>{window.removeEventListener("resize",I),g.current!==null&&cancelAnimationFrame(g.current);}},[e,a,r,n,o,s,l]),jsxRuntime.jsx("div",{ref:f,className:`absolute inset-0 overflow-hidden ${x}`,style:{backgroundColor:t,...p},children:jsxRuntime.jsx("canvas",{ref:m,className:"w-full h-full"})})}var mn=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),v0=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(t,a,r)=>r?r.toUpperCase():a.toLowerCase()),zr=e=>{let t=v0(e);return t.charAt(0).toUpperCase()+t.slice(1)},vt=(...e)=>e.filter((t,a,r)=>!!t&&t.trim()!==""&&r.indexOf(t)===a).join(" ").trim(),pn=e=>{for(let t in e)if(t.startsWith("aria-")||t==="role"||t==="title")return true};var xn={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};var hn=bi.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:a=2,absoluteStrokeWidth:r,className:n="",children:o,iconNode:s,...l},d)=>bi.createElement("svg",{ref:d,...xn,width:t,height:t,stroke:e,strokeWidth:r?Number(a)*24/Number(t):a,className:vt("lucide",n),...!o&&!pn(l)&&{"aria-hidden":"true"},...l},[...s.map(([u,c])=>bi.createElement(u,c)),...Array.isArray(o)?o:[o]]));var B=(e,t)=>{let a=bi.forwardRef(({className:r,...n},o)=>bi.createElement(hn,{ref:o,iconNode:t,className:vt(`lucide-${mn(zr(e))}`,`lucide-${e}`,r),...n}));return a.displayName=zr(e),a};var w0=[["path",{d:"m7 7 10 10",key:"1fmybs"}],["path",{d:"M17 7v10H7",key:"6fjiku"}]],va=B("arrow-down-right",w0);var k0=[["path",{d:"M16 20V4a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v16",key:"jecpp"}],["rect",{width:"20",height:"14",x:"2",y:"6",rx:"2",key:"i6l2r4"}]],Ia=B("briefcase",k0);var S0=[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]],ya=B("check",S0);var P0=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],Ca=B("chevron-down",P0);var N0=[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]],ze=B("chevron-left",N0);var M0=[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]],He=B("chevron-right",M0);var T0=[["path",{d:"M12 6v6l4 2",key:"mmk7yg"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],wa=B("clock",T0);var R0=[["path",{d:"M15 6v12a3 3 0 1 0 3-3H6a3 3 0 1 0 3 3V6a3 3 0 1 0-3 3h12a3 3 0 1 0-3-3",key:"11bfej"}]],ka=B("command",R0);var A0=[["line",{x1:"12",x2:"12",y1:"2",y2:"22",key:"7eqyqh"}],["path",{d:"M17 5H9.5a3.5 3.5 0 0 0 0 7h5a3.5 3.5 0 0 1 0 7H6",key:"1b0p4s"}]],Sa=B("dollar-sign",A0);var B0=[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]],Pa=B("external-link",B0);var D0=[["path",{d:"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0",key:"1r0f0z"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}]],Na=B("map-pin",D0);var F0=[["path",{d:"M12 19v3",key:"npa21l"}],["path",{d:"M19 10v2a7 7 0 0 1-14 0v-2",key:"1vc78b"}],["rect",{x:"9",y:"2",width:"6",height:"13",rx:"3",key:"s6n7sd"}]],Ma=B("mic",F0);var z0=[["path",{d:"m16 6-8.414 8.586a2 2 0 0 0 2.829 2.829l8.414-8.586a4 4 0 1 0-5.657-5.657l-8.379 8.551a6 6 0 1 0 8.485 8.485l8.379-8.551",key:"1miecu"}]],Ta=B("paperclip",z0);var H0=[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]],Ee=B("search",H0);var E0=[["path",{d:"M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z",key:"1ffxy3"}],["path",{d:"m21.854 2.147-10.94 10.939",key:"12cjpa"}]],qe=B("send",E0);var q0=[["path",{d:"M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z",key:"1s2grr"}],["path",{d:"M20 2v4",key:"1rf3ol"}],["path",{d:"M22 4h-4",key:"gwowj6"}],["circle",{cx:"4",cy:"20",r:"2",key:"6kqj1y"}]],pe=B("sparkles",q0);var O0=[["path",{d:"M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z",key:"r04s7s"}]],Ra=B("star",O0);var U0=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],Aa=B("x",U0);function G0({heading:e="Build your next project with",highlightedText:t="Bynana UI",description:a="Create stunning, animated interfaces in minutes.",primaryButton:r={text:"Get Started",url:"#"},secondaryButton:n={text:"Learn more",url:"#"},className:o=""}){return jsxRuntime.jsx("section",{className:`relative overflow-hidden py-36 ${o}`,children:jsxRuntime.jsxs("div",{className:"relative z-10 flex flex-col items-center gap-6 text-center px-6",children:[jsxRuntime.jsxs("div",{children:[jsxRuntime.jsxs("h1",{className:"mb-6 text-2xl font-bold tracking-tight lg:text-5xl",children:[e," ",jsxRuntime.jsx("span",{className:"text-transparent bg-gradient-to-r from-pink-400 to-purple-400 bg-clip-text",children:t})]}),jsxRuntime.jsx("p",{className:"text-muted-foreground mx-auto max-w-3xl lg:text-xl",children:a})]}),jsxRuntime.jsxs("div",{className:"mt-6 flex justify-center gap-3",children:[jsxRuntime.jsx("a",{href:r.url,className:"border border-input hover:bg-accent px-6 py-3 rounded-md font-medium",children:r.text}),jsxRuntime.jsxs("a",{href:n.url,className:"bg-primary text-primary-foreground hover:bg-primary/90 px-6 py-3 rounded-md font-medium inline-flex items-center gap-2",children:[n.text,jsxRuntime.jsx(Pa,{className:"w-4 h-4"})]})]})]})})}function V0({heading:e="Build beautiful UIs, effortlessly.",description:t="Create stunning, animated interfaces in minutes.",buttons:a={primary:{text:"Get Started",url:"#"},secondary:{text:"Watch demo",url:"#"}},reviews:r={count:200,rating:5,avatars:[{src:"https://i.pravatar.cc/150?img=1",alt:"User 1"},{src:"https://i.pravatar.cc/150?img=2",alt:"User 2"},{src:"https://i.pravatar.cc/150?img=3",alt:"User 3"}]},className:n=""}){return jsxRuntime.jsx("section",{className:`py-24 ${n}`,children:jsxRuntime.jsx("div",{className:"mx-auto max-w-5xl px-6",children:jsxRuntime.jsxs("div",{className:"flex flex-col items-center text-center",children:[jsxRuntime.jsx("h1",{className:"my-6 text-4xl font-bold lg:text-6xl",children:e}),jsxRuntime.jsx("p",{className:"text-muted-foreground mb-8 max-w-xl lg:text-xl",children:t}),jsxRuntime.jsxs("div",{className:"mb-12 flex items-center gap-4",children:[jsxRuntime.jsx("span",{className:"inline-flex -space-x-4",children:r.avatars.map((o,s)=>jsxRuntime.jsx("img",{src:o.src,alt:o.alt,className:"size-12 rounded-full border-2 border-background"},s))}),jsxRuntime.jsxs("div",{children:[jsxRuntime.jsxs("div",{className:"flex items-center gap-1",children:[[1,2,3,4,5].map(o=>jsxRuntime.jsx(Ra,{className:"size-5 fill-yellow-400 text-yellow-400"},o)),jsxRuntime.jsx("span",{className:"ml-1 font-semibold",children:r.rating?.toFixed(1)})]}),jsxRuntime.jsxs("p",{className:"text-muted-foreground text-sm",children:["from ",r.count,"+ reviews"]})]})]}),jsxRuntime.jsxs("div",{className:"flex gap-4",children:[a.primary&&jsxRuntime.jsx("a",{href:a.primary.url,className:"bg-primary text-primary-foreground hover:bg-primary/90 px-6 py-3 rounded-md font-medium",children:a.primary.text}),a.secondary&&jsxRuntime.jsxs("a",{href:a.secondary.url,className:"border border-input hover:bg-accent px-6 py-3 rounded-md font-medium inline-flex items-center gap-2",children:[a.secondary.text,jsxRuntime.jsx(va,{className:"size-4"})]})]})]})})})}function $0({testimonials:e=[{quote:"This has revolutionized how we build user interfaces. The animations are buttery smooth.",avatar:"https://i.pravatar.cc/150?img=1",name:"Eduardo Calvo",role:"CEO & Founder"},{quote:"The design system is incredibly well thought out. Every component feels intentional.",avatar:"https://i.pravatar.cc/150?img=2",name:"Drew Cano",role:"Head of Design"},{quote:"Best UI library I've used. The TypeScript support is excellent.",avatar:"https://i.pravatar.cc/150?img=3",name:"Marcus Johnson",role:"Lead Developer"}],duration:t=5e3,className:a=""}){let[r,n]=bi.useState(0),o=bi.useRef(null);return bi.useEffect(()=>(o.current=setTimeout(()=>{n(s=>(s+1)%e.length);},t),()=>{o.current&&clearTimeout(o.current);}),[r,e.length,t]),jsxRuntime.jsx("div",{className:`flex flex-col items-center justify-center py-16 ${a}`,children:jsxRuntime.jsxs("div",{className:"flex w-full max-w-5xl flex-col items-center justify-center px-4",children:[jsxRuntime.jsxs("blockquote",{className:"mb-8 text-center text-2xl leading-tight font-semibold md:text-4xl transition-all duration-500",children:['"',e[r].quote,'"']}),jsxRuntime.jsxs("div",{className:"flex items-center gap-4",children:[jsxRuntime.jsx("img",{src:e[r].avatar,alt:e[r].name,className:"h-12 w-12 rounded-full border object-cover"}),jsxRuntime.jsx("div",{className:"border-l mx-4 h-8"}),jsxRuntime.jsxs("div",{className:"text-left",children:[jsxRuntime.jsx("div",{className:"text-lg font-medium italic",children:e[r].name}),jsxRuntime.jsx("div",{className:"text-muted-foreground text-base",children:e[r].role})]})]}),jsxRuntime.jsx("div",{className:"mx-auto mt-8 flex gap-3",children:e.map((s,l)=>jsxRuntime.jsx("span",{className:`block h-3 rounded-full transition-all duration-400 ${l===r?"w-12 bg-primary":"w-3 bg-muted"}`},l))})]})})}function Q0({title:e="What Developers Say",description:t="See what developers are saying about their experience.",testimonials:a=[{content:"This has revolutionized how we build user interfaces.",avatar:"https://i.pravatar.cc/150?img=1",name:"Eduardo Calvo",role:"CEO & Founder"},{content:"The design system is incredibly well thought out.",avatar:"https://i.pravatar.cc/150?img=2",name:"Drew Cano",role:"Head of Design"},{content:"Best UI library I've used. Excellent TypeScript support.",avatar:"https://i.pravatar.cc/150?img=3",name:"Marcus Johnson",role:"Lead Developer"}],autoplay:r=false,className:n=""}){let[o,s]=bi.useState(0),l=bi.useCallback(()=>{s(u=>(u+1)%a.length);},[a.length]),d=()=>{s(u=>(u-1+a.length)%a.length);};return bi.useEffect(()=>{if(r){let u=setInterval(l,5e3);return ()=>clearInterval(u)}},[r,l]),jsxRuntime.jsx("div",{className:`py-24 ${n}`,children:jsxRuntime.jsx("div",{className:"container mx-auto max-w-6xl px-6",children:jsxRuntime.jsxs("div",{className:"grid grid-cols-1 gap-8 lg:grid-cols-2 lg:gap-12",children:[jsxRuntime.jsxs("div",{className:"flex flex-col justify-center",children:[jsxRuntime.jsx("h2",{className:"mb-4 text-4xl font-semibold",children:e}),jsxRuntime.jsx("p",{className:"text-muted-foreground text-lg",children:t})]}),jsxRuntime.jsxs("div",{className:"relative flex flex-col items-end",children:[jsxRuntime.jsxs("div",{className:"mb-4 flex gap-2",children:[jsxRuntime.jsx("button",{onClick:d,className:"flex h-8 w-8 items-center justify-center rounded-full border hover:bg-accent",children:jsxRuntime.jsx(ze,{className:"h-5 w-5"})}),jsxRuntime.jsx("button",{onClick:l,className:"flex h-8 w-8 items-center justify-center rounded-full border hover:bg-accent",children:jsxRuntime.jsx(He,{className:"h-5 w-5"})})]}),jsxRuntime.jsx("div",{className:"relative h-full w-full max-w-md",children:a.map((u,c)=>jsxRuntime.jsx("div",{className:`absolute inset-0 transition-all duration-400 ${c===o?"opacity-100 scale-100 z-10":"opacity-0 scale-95 z-0"}`,children:jsxRuntime.jsxs("div",{className:"rounded-2xl border px-6 py-6 shadow-lg",children:[jsxRuntime.jsx("p",{className:"mb-6 text-lg",children:u.content}),jsxRuntime.jsxs("div",{className:"flex items-center gap-3",children:[jsxRuntime.jsx("img",{src:u.avatar,alt:u.name,className:"size-8 rounded-full border object-cover"}),jsxRuntime.jsxs("div",{children:[jsxRuntime.jsx("div",{className:"font-semibold",children:u.name}),jsxRuntime.jsx("span",{className:"text-muted-foreground text-sm",children:u.role})]})]})]})},u.name))})]})]})})})}function j0({title:e="Choose your perfect plan",description:t="Modern pricing plans designed for teams of all sizes.",plans:a=[{name:"Basic",price:{monthly:15,annually:10},description:"Perfect for startups",features:["1 Project","Email Support","Core Features","Basic Analytics"]},{name:"Pro",price:{monthly:35,annually:25},description:"Best for teams",features:["Unlimited Projects","Priority Support","Team Collaboration","Advanced Analytics"],featured:true},{name:"Enterprise",price:"custom",description:"Tailored solutions",features:["Everything in Pro","Dedicated Manager","Custom Integrations","SLA & Support"],buttonText:"Contact Sales"}],className:r=""}){let[n,o]=bi.useState(true);return jsxRuntime.jsx("section",{className:`py-16 md:py-32 ${r}`,children:jsxRuntime.jsxs("div",{className:"mx-auto max-w-5xl px-6",children:[jsxRuntime.jsxs("div",{className:"mx-auto max-w-2xl text-center",children:[jsxRuntime.jsx("h2",{className:"text-3xl font-bold md:text-4xl lg:text-5xl",children:e}),jsxRuntime.jsx("p",{className:"text-muted-foreground mx-auto mt-4 max-w-xl text-lg",children:t}),jsxRuntime.jsx("div",{className:"my-12",children:jsxRuntime.jsxs("div",{className:"relative mx-auto grid w-fit grid-cols-2 rounded-full border p-1",children:[jsxRuntime.jsx("div",{className:`pointer-events-none absolute inset-1 w-1/2 rounded-full bg-primary transition-transform duration-500 ${n?"translate-x-full":"translate-x-0"}`}),jsxRuntime.jsx("button",{onClick:()=>o(false),className:`relative h-8 w-24 rounded-full text-sm ${n?"":"text-primary-foreground font-medium"}`,children:"Monthly"}),jsxRuntime.jsx("button",{onClick:()=>o(true),className:`relative h-8 w-24 rounded-full text-sm ${n?"text-primary-foreground font-medium":""}`,children:"Annually"})]})})]}),jsxRuntime.jsx("div",{className:"grid grid-cols-1 gap-6 md:grid-cols-3",children:a.map(s=>jsxRuntime.jsxs("div",{className:`relative flex flex-col rounded-2xl border p-8 ${s.featured?"border-2 border-primary":""}`,children:[s.featured&&jsxRuntime.jsx("div",{className:"absolute top-0 right-0 bg-primary text-primary-foreground rounded-full px-2 py-1 text-xs font-bold m-4",children:"Most Popular"}),jsxRuntime.jsx("h3",{className:"mb-4 text-2xl font-bold",children:s.name}),jsxRuntime.jsxs("div",{className:"mb-6",children:[jsxRuntime.jsx("span",{className:"text-3xl font-semibold",children:s.price==="custom"?"Custom":`${n?s.price.annually:s.price.monthly}\u20AC`}),jsxRuntime.jsx("span",{className:"text-muted-foreground mx-2",children:"\u2022"}),jsxRuntime.jsx("span",{className:"text-muted-foreground",children:s.description})]}),jsxRuntime.jsx("button",{className:"bg-primary text-primary-foreground hover:bg-primary/90 mb-6 h-10 w-full rounded-md px-4 py-2 text-sm font-medium",children:s.buttonText||"Get Started"}),jsxRuntime.jsx("ul",{className:"space-y-3",children:s.features.map(l=>jsxRuntime.jsxs("li",{className:"flex items-center gap-3 text-sm",children:[jsxRuntime.jsx("div",{className:"flex h-4 w-4 items-center justify-center rounded-full bg-primary",children:jsxRuntime.jsx(ya,{className:"h-2 w-2 text-primary-foreground"})}),l]},l))})]},s.name))})]})})}function ex({companyName:e="Bynana UI",description:t="Build beautiful UIs, effortlessly.",links:a={product:[{name:"Features",url:"#"},{name:"Pricing",url:"#"},{name:"Documentation",url:"#"}],company:[{name:"About",url:"#"},{name:"Blog",url:"#"},{name:"Careers",url:"#"}],support:[{name:"Help Center",url:"#"},{name:"Community",url:"#"},{name:"Status",url:"#"}]},copyright:r="\xA9 2024 Bynana UI. All rights reserved.",className:n=""}){return jsxRuntime.jsx("footer",{className:`border-t ${n}`,children:jsxRuntime.jsxs("div",{className:"mx-auto max-w-7xl px-6 py-12",children:[jsxRuntime.jsxs("div",{className:"grid grid-cols-1 gap-8 md:grid-cols-2 lg:grid-cols-5",children:[jsxRuntime.jsxs("div",{className:"lg:col-span-2",children:[jsxRuntime.jsx("h3",{className:"mb-4 text-2xl font-bold",children:e}),jsxRuntime.jsx("p",{className:"text-muted-foreground mb-6 max-w-md text-sm",children:t})]}),jsxRuntime.jsxs("div",{className:"grid grid-cols-1 gap-8 sm:grid-cols-3 lg:col-span-3",children:[a.product&&jsxRuntime.jsxs("div",{children:[jsxRuntime.jsx("h4",{className:"mb-4 text-sm font-semibold uppercase tracking-wide",children:"Product"}),jsxRuntime.jsx("ul",{className:"space-y-3",children:a.product.map(o=>jsxRuntime.jsx("li",{children:jsxRuntime.jsx("a",{href:o.url,className:"text-muted-foreground hover:text-foreground text-sm",children:o.name})},o.name))})]}),a.company&&jsxRuntime.jsxs("div",{children:[jsxRuntime.jsx("h4",{className:"mb-4 text-sm font-semibold uppercase tracking-wide",children:"Company"}),jsxRuntime.jsx("ul",{className:"space-y-3",children:a.company.map(o=>jsxRuntime.jsx("li",{children:jsxRuntime.jsx("a",{href:o.url,className:"text-muted-foreground hover:text-foreground text-sm",children:o.name})},o.name))})]}),a.support&&jsxRuntime.jsxs("div",{children:[jsxRuntime.jsx("h4",{className:"mb-4 text-sm font-semibold uppercase tracking-wide",children:"Support"}),jsxRuntime.jsx("ul",{className:"space-y-3",children:a.support.map(o=>jsxRuntime.jsx("li",{children:jsxRuntime.jsx("a",{href:o.url,className:"text-muted-foreground hover:text-foreground text-sm",children:o.name})},o.name))})]})]})]}),jsxRuntime.jsx("div",{className:"mt-12 border-t pt-8 text-center",children:jsxRuntime.jsx("p",{className:"text-muted-foreground text-sm",children:r})})]})})}function ax({companyName:e="Bynana UI",description:t="Build beautiful UIs, effortlessly. The modern way to create stunning interfaces.",newsletter:a={title:"Stay updated",description:"Get the latest news delivered to your inbox.",placeholder:"Enter your email",buttonText:"Subscribe"},links:r={product:[{name:"Features",url:"#"},{name:"Pricing",url:"#"},{name:"Documentation",url:"#"}],company:[{name:"About Us",url:"#"},{name:"Blog",url:"#"},{name:"Careers",url:"#"}],support:[{name:"Help Center",url:"#"},{name:"Community",url:"#"},{name:"Status Page",url:"#"}],legal:[{name:"Privacy Policy",url:"#"},{name:"Terms of Service",url:"#"},{name:"Cookie Policy",url:"#"}]},copyright:n="\xA9 2024 Bynana UI. All rights reserved.",className:o=""}){return jsxRuntime.jsx("footer",{className:`border-t ${o}`,children:jsxRuntime.jsxs("div",{className:"mx-auto max-w-7xl px-6 py-16",children:[jsxRuntime.jsxs("div",{className:"grid grid-cols-1 gap-12 lg:grid-cols-12",children:[jsxRuntime.jsxs("div",{className:"lg:col-span-5",children:[jsxRuntime.jsx("h3",{className:"mb-4 text-2xl font-bold",children:e}),jsxRuntime.jsx("p",{className:"text-muted-foreground mb-8 max-w-md text-sm leading-relaxed",children:t}),jsxRuntime.jsxs("div",{className:"mb-8",children:[jsxRuntime.jsx("h4",{className:"mb-2 text-lg font-semibold",children:a.title}),jsxRuntime.jsx("p",{className:"text-muted-foreground mb-4 text-sm",children:a.description}),jsxRuntime.jsxs("div",{className:"flex gap-2",children:[jsxRuntime.jsx("input",{type:"email",placeholder:a.placeholder,className:"flex-1 rounded-lg border bg-background px-4 py-2 text-sm focus:outline-none focus:ring-2 focus:ring-ring"}),jsxRuntime.jsx("button",{className:"bg-primary text-primary-foreground hover:bg-primary/90 rounded-lg px-6 py-2 text-sm font-medium",children:a.buttonText})]})]})]}),jsxRuntime.jsxs("div",{className:"grid grid-cols-2 gap-8 lg:col-span-7 lg:grid-cols-4",children:[r.product&&jsxRuntime.jsxs("div",{children:[jsxRuntime.jsx("h4",{className:"mb-4 text-sm font-semibold uppercase tracking-wide",children:"Product"}),jsxRuntime.jsx("ul",{className:"space-y-3",children:r.product.map(s=>jsxRuntime.jsx("li",{children:jsxRuntime.jsx("a",{href:s.url,className:"text-muted-foreground hover:text-foreground text-sm",children:s.name})},s.name))})]}),r.company&&jsxRuntime.jsxs("div",{children:[jsxRuntime.jsx("h4",{className:"mb-4 text-sm font-semibold uppercase tracking-wide",children:"Company"}),jsxRuntime.jsx("ul",{className:"space-y-3",children:r.company.map(s=>jsxRuntime.jsx("li",{children:jsxRuntime.jsx("a",{href:s.url,className:"text-muted-foreground hover:text-foreground text-sm",children:s.name})},s.name))})]}),r.support&&jsxRuntime.jsxs("div",{children:[jsxRuntime.jsx("h4",{className:"mb-4 text-sm font-semibold uppercase tracking-wide",children:"Support"}),jsxRuntime.jsx("ul",{className:"space-y-3",children:r.support.map(s=>jsxRuntime.jsx("li",{children:jsxRuntime.jsx("a",{href:s.url,className:"text-muted-foreground hover:text-foreground text-sm",children:s.name})},s.name))})]}),r.legal&&jsxRuntime.jsxs("div",{children:[jsxRuntime.jsx("h4",{className:"mb-4 text-sm font-semibold uppercase tracking-wide",children:"Legal"}),jsxRuntime.jsx("ul",{className:"space-y-3",children:r.legal.map(s=>jsxRuntime.jsx("li",{children:jsxRuntime.jsx("a",{href:s.url,className:"text-muted-foreground hover:text-foreground text-sm",children:s.name})},s.name))})]})]})]}),jsxRuntime.jsx("div",{className:"mt-12 border-t pt-8 text-center",children:jsxRuntime.jsx("p",{className:"text-muted-foreground text-sm",children:n})})]})})}function tx({title:e="Trusted by the world's most innovative teams",description:t="Join thousands of developers building with us",logos:a=[],className:r=""}){return jsxRuntime.jsxs("div",{className:`overflow-hidden py-20 ${r}`,children:[jsxRuntime.jsxs("div",{className:"mx-auto max-w-7xl px-6",children:[jsxRuntime.jsxs("div",{className:"mb-16 text-center",children:[jsxRuntime.jsx("h2",{className:"mb-4 text-2xl font-bold lg:text-3xl",children:e}),jsxRuntime.jsx("p",{className:"text-muted-foreground text-lg",children:t})]}),jsxRuntime.jsx("div",{className:"relative overflow-hidden",style:{maskImage:"linear-gradient(to right, transparent, black 20%, black 80%, transparent)",WebkitMaskImage:"linear-gradient(to right, transparent, black 20%, black 80%, transparent)"},children:jsxRuntime.jsx("div",{className:"flex animate-scroll gap-8",children:[...a,...a,...a].map((n,o)=>jsxRuntime.jsx("a",{href:n.url,target:"_blank",rel:"noopener noreferrer",className:"flex flex-shrink-0 items-center justify-center p-6 transition-all hover:scale-105",children:jsxRuntime.jsx("div",{className:"text-4xl hover:scale-110 transition-transform",children:n.logo})},`${n.name}-${o}`))})})]}),jsxRuntime.jsx("style",{jsx:true,children:`
45
45
  @keyframes scroll {
46
46
  0% {
47
47
  transform: translateX(0);
@@ -53,7 +53,37 @@
53
53
  .animate-scroll {
54
54
  animation: scroll 25s linear infinite;
55
55
  }
56
- `})]})}function i0({title:e="Frequently Asked Questions",description:t="Find answers to common questions about our product and services",faqs:a=[{question:"What is Bynana UI?",answer:"Bynana UI is a modern UI component library that provides beautiful, animated components for building stunning user interfaces."},{question:"How do I get started?",answer:"Getting started is easy! Simply install the package via npm or yarn, import the components you need, and start building."},{question:"Is it free to use?",answer:"Yes! Bynana UI is completely free. You can use it in both personal and commercial projects without any restrictions."}],className:o=""}){let[l,r]=Cn.useState(0),s=n=>{r(l===n?null:n);};return jsxRuntime.jsx("section",{className:`py-20 ${o}`,children:jsxRuntime.jsxs("div",{className:"mx-auto max-w-4xl px-6",children:[jsxRuntime.jsxs("div",{className:"text-center mb-16",children:[jsxRuntime.jsx("h2",{className:"mb-4 text-3xl font-bold lg:text-4xl",children:e}),jsxRuntime.jsx("p",{className:"text-muted-foreground text-lg max-w-2xl mx-auto",children:t})]}),jsxRuntime.jsx("div",{className:"space-y-4",children:a.map((n,d)=>jsxRuntime.jsxs("div",{className:"overflow-hidden rounded-2xl border transition-all hover:border-primary/50",children:[jsxRuntime.jsxs("button",{onClick:()=>s(d),className:"flex w-full items-center justify-between p-6 text-left hover:bg-accent/50",children:[jsxRuntime.jsx("h3",{className:"text-lg font-semibold pr-4",children:n.question}),jsxRuntime.jsx(fa,{className:`h-5 w-5 text-muted-foreground transition-transform duration-300 ${l===d?"rotate-180":""}`})]}),jsxRuntime.jsx("div",{className:`overflow-hidden transition-all duration-300 ${l===d?"max-h-96":"max-h-0"}`,children:jsxRuntime.jsx("div",{className:"px-6 pb-6",children:jsxRuntime.jsx("p",{className:"text-muted-foreground leading-relaxed",children:n.answer})})})]},d))})]})})}function u0({title:e="FAQs",description:t="Discover quick and comprehensive answers to common questions.",categories:a=[{name:"General",id:"general",faqs:[{question:"How do I install?",answer:"You can install using npm or yarn. Run `npm install bynana-ui` in your project."},{question:"What are the requirements?",answer:"Works with React 16.8+ and supports all modern browsers."},{question:"Is it free to use?",answer:"Yes! Completely free for personal and commercial projects."}]},{name:"Components",id:"components",faqs:[{question:"How many components?",answer:"Over 150+ pre-built components including buttons, forms, navigation, and more."},{question:"Can I customize styling?",answer:"Absolutely! All components are fully customizable using CSS variables or Tailwind."},{question:"Are they accessible?",answer:"Yes, all components follow WCAG guidelines with proper ARIA attributes."}]}],className:o=""}){let[l,r]=Cn.useState(0);return jsxRuntime.jsx("section",{className:`py-16 md:py-24 ${o}`,children:jsxRuntime.jsxs("div",{className:"mx-auto max-w-5xl px-6",children:[jsxRuntime.jsxs("div",{className:"max-w-lg",children:[jsxRuntime.jsx("h2",{className:"text-4xl font-semibold",children:e}),jsxRuntime.jsx("p",{className:"text-muted-foreground mt-4 text-lg",children:t})]}),jsxRuntime.jsx("div",{className:"mt-8 md:mt-12",children:jsxRuntime.jsx("div",{className:"flex flex-wrap gap-2 border-b",children:a.map((s,n)=>jsxRuntime.jsxs("button",{onClick:()=>r(n),className:`relative rounded-t-lg px-4 py-2 text-sm font-medium transition-all ${l===n?"text-foreground":"text-muted-foreground hover:text-foreground"}`,children:[s.name,l===n&&jsxRuntime.jsx("div",{className:"absolute right-0 bottom-0 left-0 h-0.5 rounded-t-full bg-primary"})]},s.id))})}),jsxRuntime.jsx("div",{className:"mt-8",children:jsxRuntime.jsx("dl",{className:"grid gap-12 sm:grid-cols-2 lg:grid-cols-3",children:a[l].faqs.map((s,n)=>jsxRuntime.jsxs("div",{className:"space-y-3",children:[jsxRuntime.jsx("dt",{className:"font-semibold",children:s.question}),jsxRuntime.jsx("dd",{className:"text-muted-foreground",children:s.answer})]},n))})})]})})}function c0({title:e="Tech Pioneers",subtitle:t="building the future",description:a="We bring together brilliant developers and innovators.",members:o=[{name:"Emily Rodriguez",role:"Product Manager",experience:"6+ years",avatar:"https://i.pravatar.cc/160?img=1"},{name:"Mollie Hall",role:"CTO",experience:"12+ years",avatar:"https://i.pravatar.cc/160?img=2"},{name:"Alec Whitten",role:"UX Researcher",experience:"5+ years",avatar:"https://i.pravatar.cc/160?img=3"}],className:l=""}){let[r,s]=Cn.useState(0),[n,d]=Cn.useState(true),u=3;Cn.useEffect(()=>{if(!n)return;let x=setInterval(()=>{s(c=>(c+1)%Math.max(1,o.length-u+1));},5e3);return ()=>clearInterval(x)},[o.length,n]);let f=()=>{let x=Math.max(0,o.length-u);r>=x||(s(c=>Math.min(c+1,x)),d(false),setTimeout(()=>d(true),1500));},m=()=>{r<=0||(s(x=>Math.max(x-1,0)),d(false),setTimeout(()=>d(true),1500));};return jsxRuntime.jsx("section",{className:`overflow-hidden py-32 ${l}`,children:jsxRuntime.jsxs("div",{className:"mx-auto max-w-5xl px-8 lg:px-0",children:[jsxRuntime.jsxs("div",{children:[jsxRuntime.jsxs("h2",{className:"text-5xl font-medium md:text-6xl",children:[e," ",jsxRuntime.jsx("br",{}),jsxRuntime.jsx("span",{className:"text-muted-foreground",children:t})]}),jsxRuntime.jsx("p",{className:"text-muted-foreground mt-6 max-w-md",children:a})]}),jsxRuntime.jsxs("div",{className:"relative",children:[jsxRuntime.jsxs("div",{className:"mt-4 hidden items-center justify-end gap-4 md:flex",children:[jsxRuntime.jsx("button",{onClick:m,disabled:r===0,className:"flex h-11 w-11 items-center justify-center rounded-full border hover:bg-accent disabled:opacity-50",children:jsxRuntime.jsx(ke,{className:"h-5 w-5"})}),jsxRuntime.jsx("button",{onClick:f,disabled:r>=o.length-u,className:"flex h-11 w-11 items-center justify-center rounded-full border hover:bg-accent disabled:opacity-50",children:jsxRuntime.jsx(Pe,{className:"h-5 w-5"})})]}),jsxRuntime.jsx("div",{className:"mt-16 overflow-hidden",children:jsxRuntime.jsx("div",{className:"flex gap-4 transition-transform duration-500",style:{transform:`translateX(-${r*304}px)`},children:o.map(x=>jsxRuntime.jsxs("div",{className:"w-72 flex-shrink-0 rounded-2xl border p-7 text-center",children:[jsxRuntime.jsx("img",{src:x.avatar,alt:x.name,className:"mx-auto h-20 w-20 rounded-full border"}),jsxRuntime.jsxs("div",{className:"mt-6",children:[jsxRuntime.jsx("p",{className:"text-lg font-medium",children:x.name}),jsxRuntime.jsx("p",{className:"text-muted-foreground text-sm",children:x.role})]}),jsxRuntime.jsx("div",{className:"my-6 h-px bg-border"}),jsxRuntime.jsx("p",{className:"text-muted-foreground text-sm",children:x.experience})]},x.name))})})]})]})})}function m0({title:e="Open Positions",description:t="Join our team and help build the future of UI development.",jobs:a=[{title:"Senior Frontend Engineer",department:"Engineering",location:"Remote",type:"Full-time",salary:"$120k - $180k",url:"#"},{title:"Product Designer",department:"Design",location:"San Francisco, CA",type:"Full-time",salary:"$100k - $150k",url:"#"},{title:"Developer Advocate",department:"Marketing",location:"Remote",type:"Full-time",salary:"$90k - $130k",url:"#"}],className:o=""}){return jsxRuntime.jsx("section",{className:`py-20 ${o}`,children:jsxRuntime.jsxs("div",{className:"mx-auto max-w-4xl px-6",children:[jsxRuntime.jsxs("div",{className:"text-center mb-12",children:[jsxRuntime.jsx("h2",{className:"mb-4 text-3xl font-bold lg:text-4xl",children:e}),jsxRuntime.jsx("p",{className:"text-muted-foreground text-lg max-w-2xl mx-auto",children:t})]}),jsxRuntime.jsx("div",{className:"space-y-4",children:a.map((l,r)=>jsxRuntime.jsx("a",{href:l.url,className:"block rounded-xl border p-6 transition-all hover:border-primary/50 hover:shadow-md",children:jsxRuntime.jsxs("div",{className:"flex flex-col gap-4 sm:flex-row sm:items-center sm:justify-between",children:[jsxRuntime.jsxs("div",{children:[jsxRuntime.jsx("h3",{className:"text-xl font-semibold",children:l.title}),jsxRuntime.jsxs("div",{className:"mt-2 flex flex-wrap items-center gap-4 text-sm text-muted-foreground",children:[jsxRuntime.jsxs("span",{className:"flex items-center gap-1",children:[jsxRuntime.jsx(da,{className:"h-4 w-4"}),l.department]}),jsxRuntime.jsxs("span",{className:"flex items-center gap-1",children:[jsxRuntime.jsx(ga,{className:"h-4 w-4"}),l.location]}),jsxRuntime.jsxs("span",{className:"flex items-center gap-1",children:[jsxRuntime.jsx(ca,{className:"h-4 w-4"}),l.type]}),l.salary&&jsxRuntime.jsxs("span",{className:"flex items-center gap-1",children:[jsxRuntime.jsx(pa,{className:"h-4 w-4"}),l.salary]})]})]}),jsxRuntime.jsx("button",{className:"bg-primary text-primary-foreground hover:bg-primary/90 rounded-md px-4 py-2 text-sm font-medium",children:"Apply Now"})]})},r))})]})})}function g0({placeholder:e="Search...",results:t=[],onSearch:a,onSelect:o,className:l=""}){let[r,s]=Cn.useState(""),[n,d]=Cn.useState(false),[u,f]=Cn.useState(0),m=Cn.useRef(null);Cn.useEffect(()=>{r&&a&&a(r);},[r,a]);let x=c=>{c.key==="ArrowDown"?(c.preventDefault(),f(p=>Math.min(p+1,t.length-1))):c.key==="ArrowUp"?(c.preventDefault(),f(p=>Math.max(p-1,0))):c.key==="Enter"&&t[u]?(c.preventDefault(),o?.(t[u]),d(false)):c.key==="Escape"&&d(false);};return jsxRuntime.jsxs("div",{className:`relative w-full max-w-lg ${l}`,children:[jsxRuntime.jsxs("div",{className:"relative",children:[jsxRuntime.jsx(Ne,{className:"absolute left-3 top-1/2 h-4 w-4 -translate-y-1/2 text-muted-foreground"}),jsxRuntime.jsx("input",{ref:m,type:"text",value:r,onChange:c=>{s(c.target.value),d(true),f(0);},onFocus:()=>d(true),onKeyDown:x,placeholder:e,className:"w-full rounded-lg border bg-background py-2 pl-10 pr-10 text-sm outline-none focus:border-primary focus:ring-2 focus:ring-primary/20"}),r&&jsxRuntime.jsx("button",{onClick:()=>{s(""),m.current?.focus();},className:"absolute right-3 top-1/2 -translate-y-1/2 text-muted-foreground hover:text-foreground",children:jsxRuntime.jsx(Ia,{className:"h-4 w-4"})})]}),n&&t.length>0&&jsxRuntime.jsx("div",{className:"absolute top-full left-0 right-0 mt-2 rounded-lg border bg-background shadow-lg z-50",children:t.map((c,p)=>jsxRuntime.jsxs("button",{onClick:()=>{o?.(c),d(false);},className:`w-full px-4 py-3 text-left hover:bg-accent ${p===u?"bg-accent":""}`,children:[jsxRuntime.jsx("div",{className:"font-medium",children:c.title}),c.description&&jsxRuntime.jsx("div",{className:"text-sm text-muted-foreground",children:c.description})]},c.id))})]})}function b0({placeholder:e="Type a command or search...",actions:t=[],onSearch:a,className:o=""}){let[l,r]=Cn.useState(""),[s,n]=Cn.useState(false),[d,u]=Cn.useState(0),f=Cn.useRef(null),m=t.filter(c=>c.label.toLowerCase().includes(l.toLowerCase()));Cn.useEffect(()=>{let c=p=>{(p.metaKey||p.ctrlKey)&&p.key==="k"&&(p.preventDefault(),n(true),f.current?.focus());};return document.addEventListener("keydown",c),()=>document.removeEventListener("keydown",c)},[]);let x=c=>{c.key==="ArrowDown"?(c.preventDefault(),u(p=>Math.min(p+1,m.length-1))):c.key==="ArrowUp"?(c.preventDefault(),u(p=>Math.max(p-1,0))):c.key==="Enter"&&m[d]?(c.preventDefault(),m[d].onSelect?.(),n(false),r("")):c.key==="Escape"&&n(false);};return jsxRuntime.jsxs("div",{className:`relative w-full max-w-lg ${o}`,children:[jsxRuntime.jsxs("div",{className:"relative",children:[jsxRuntime.jsx(Ne,{className:"absolute left-3 top-1/2 h-4 w-4 -translate-y-1/2 text-muted-foreground"}),jsxRuntime.jsx("input",{ref:f,type:"text",value:l,onChange:c=>{r(c.target.value),n(true),u(0),a?.(c.target.value);},onFocus:()=>n(true),onKeyDown:x,placeholder:e,className:"w-full rounded-lg border bg-background py-2 pl-10 pr-16 text-sm outline-none focus:border-primary focus:ring-2 focus:ring-primary/20"}),jsxRuntime.jsxs("div",{className:"absolute right-3 top-1/2 -translate-y-1/2 flex items-center gap-1 text-xs text-muted-foreground",children:[jsxRuntime.jsx(ma,{className:"h-3 w-3"}),jsxRuntime.jsx("span",{children:"K"})]})]}),s&&m.length>0&&jsxRuntime.jsx("div",{className:"absolute top-full left-0 right-0 mt-2 rounded-lg border bg-background shadow-lg z-50 overflow-hidden",children:m.map((c,p)=>jsxRuntime.jsxs("button",{onClick:()=>{c.onSelect?.(),n(false),r("");},className:`w-full px-4 py-3 text-left flex items-center justify-between hover:bg-accent ${p===d?"bg-accent":""}`,children:[jsxRuntime.jsxs("div",{className:"flex items-center gap-3",children:[c.icon,jsxRuntime.jsx("span",{children:c.label})]}),c.shortcut&&jsxRuntime.jsx("span",{className:"text-xs text-muted-foreground",children:c.shortcut})]},c.id))})]})}function I0({text:e="Thinking...",className:t=""}){return jsxRuntime.jsxs("div",{className:`flex items-center gap-3 ${t}`,children:[jsxRuntime.jsxs("div",{className:"flex gap-1",children:[jsxRuntime.jsx("span",{className:"h-2 w-2 rounded-full bg-primary animate-bounce",style:{animationDelay:"0ms"}}),jsxRuntime.jsx("span",{className:"h-2 w-2 rounded-full bg-primary animate-bounce",style:{animationDelay:"150ms"}}),jsxRuntime.jsx("span",{className:"h-2 w-2 rounded-full bg-primary animate-bounce",style:{animationDelay:"300ms"}})]}),jsxRuntime.jsx("span",{className:"text-sm text-muted-foreground",children:e})]})}function C0({title:e="How can I help you today?",placeholder:t="Type your message...",suggestions:a=["Write a blog post","Generate code","Explain a concept","Create a summary"],onSubmit:o,className:l=""}){let[r,s]=Cn.useState(""),n=u=>{u.preventDefault(),r.trim()&&o&&(o(r.trim()),s(""));},d=u=>{s(u),o&&o(u);};return jsxRuntime.jsxs("div",{className:`w-full max-w-2xl mx-auto ${l}`,children:[jsxRuntime.jsxs("div",{className:"text-center mb-8",children:[jsxRuntime.jsx("div",{className:"inline-flex items-center justify-center w-12 h-12 rounded-full bg-primary/10 mb-4",children:jsxRuntime.jsx(le,{className:"h-6 w-6 text-primary"})}),jsxRuntime.jsx("h2",{className:"text-2xl font-bold",children:e})]}),jsxRuntime.jsxs("form",{onSubmit:n,className:"relative mb-6",children:[jsxRuntime.jsx("textarea",{value:r,onChange:u=>s(u.target.value),placeholder:t,rows:3,className:"w-full rounded-xl border bg-background px-4 py-3 pr-12 text-sm outline-none focus:border-primary focus:ring-2 focus:ring-primary/20 resize-none"}),jsxRuntime.jsx("button",{type:"submit",disabled:!r.trim(),className:"absolute right-3 bottom-3 rounded-lg bg-primary p-2 text-primary-foreground hover:bg-primary/90 disabled:opacity-50",children:jsxRuntime.jsx(Me,{className:"h-4 w-4"})})]}),jsxRuntime.jsx("div",{className:"flex flex-wrap gap-2 justify-center",children:a.map((u,f)=>jsxRuntime.jsx("button",{onClick:()=>d(u),className:"rounded-full border px-4 py-2 text-sm hover:bg-accent transition-colors",children:u},f))})]})}function w0({placeholder:e="Ask me anything...",onSubmit:t,showMic:a=true,showAttach:o=true,className:l=""}){let[r,s]=Cn.useState(""),[n,d]=Cn.useState(false),u=Cn.useRef(null);return jsxRuntime.jsxs("form",{onSubmit:m=>{m.preventDefault(),r.trim()&&t&&(t(r.trim()),s(""));},className:`relative flex items-center gap-2 rounded-full border bg-background px-4 py-2 transition-all ${n?"border-primary ring-2 ring-primary/20":""} ${l}`,children:[jsxRuntime.jsx(le,{className:"h-5 w-5 text-primary"}),jsxRuntime.jsx("input",{ref:u,type:"text",value:r,onChange:m=>s(m.target.value),onFocus:()=>d(true),onBlur:()=>d(false),placeholder:e,className:"flex-1 bg-transparent text-sm outline-none placeholder:text-muted-foreground"}),jsxRuntime.jsxs("div",{className:"flex items-center gap-1",children:[o&&jsxRuntime.jsx("button",{type:"button",className:"rounded-full p-2 hover:bg-accent text-muted-foreground hover:text-foreground",children:jsxRuntime.jsx(La,{className:"h-4 w-4"})}),a&&jsxRuntime.jsx("button",{type:"button",className:"rounded-full p-2 hover:bg-accent text-muted-foreground hover:text-foreground",children:jsxRuntime.jsx(ha,{className:"h-4 w-4"})}),jsxRuntime.jsx("button",{type:"submit",disabled:!r.trim(),className:"rounded-full bg-primary p-2 text-primary-foreground hover:bg-primary/90 disabled:opacity-50",children:jsxRuntime.jsx(Me,{className:"h-4 w-4"})})]})]})}function N0({children:e,direction:t="up",distance:a=30,duration:o=.6,delay:l=0,className:r=""}){let s=Cn.useRef(null),[n,d]=Cn.useState(false);return Cn.useEffect(()=>{let f=new IntersectionObserver(([m])=>{m.isIntersecting&&(d(true),f.disconnect());},{threshold:.1});return s.current&&f.observe(s.current),()=>f.disconnect()},[]),jsxRuntime.jsx("div",{ref:s,className:r,style:{transform:(()=>{if(n)return "translate(0, 0)";switch(t){case "up":return `translateY(${a}px)`;case "down":return `translateY(-${a}px)`;case "left":return `translateX(${a}px)`;case "right":return `translateX(-${a}px)`;default:return `translateY(${a}px)`}})(),opacity:n?1:0,transition:`transform ${o}s ease-out ${l}s, opacity ${o}s ease-out ${l}s`},children:e})}function B0({children:e,offset:t=50,duration:a=.6,className:o=""}){let l=Cn.useRef(null),[r,s]=Cn.useState(false);return Cn.useEffect(()=>{let n=new IntersectionObserver(([d])=>{d.isIntersecting&&(s(true),n.disconnect());},{threshold:.1});return l.current&&n.observe(l.current),()=>n.disconnect()},[]),jsxRuntime.jsx("div",{ref:l,className:o,style:{transform:r?"translateY(0)":`translateY(${t}px)`,opacity:r?1:0,transition:`transform ${a}s ease-out, opacity ${a}s ease-out`},children:e})}function q0({children:e,stagger:t=.1,className:a=""}){let o=Cn.useRef(null),[l,r]=Cn.useState(false);return Cn.useEffect(()=>{let s=new IntersectionObserver(([n])=>{n.isIntersecting&&(r(true),s.disconnect());},{threshold:.1});return o.current&&s.observe(o.current),()=>s.disconnect()},[]),jsxRuntime.jsx("div",{ref:o,className:a,children:e.map((s,n)=>jsxRuntime.jsx("div",{style:{transform:l?"translateY(0)":"translateY(30px)",opacity:l?1:0,transition:`transform 0.6s ease-out ${n*t}s, opacity 0.6s ease-out ${n*t}s`},children:s},n))})}/*! Bundled license information:
56
+ `})]})}function ox({title:e="Frequently Asked Questions",description:t="Find answers to common questions about our product and services",faqs:a=[{question:"What is Bynana UI?",answer:"Bynana UI is a modern UI component library that provides beautiful, animated components for building stunning user interfaces."},{question:"How do I get started?",answer:"Getting started is easy! Simply install the package via npm or yarn, import the components you need, and start building."},{question:"Is it free to use?",answer:"Yes! Bynana UI is completely free. You can use it in both personal and commercial projects without any restrictions."}],className:r=""}){let[n,o]=bi.useState(0),s=l=>{o(n===l?null:l);};return jsxRuntime.jsx("section",{className:`py-20 ${r}`,children:jsxRuntime.jsxs("div",{className:"mx-auto max-w-4xl px-6",children:[jsxRuntime.jsxs("div",{className:"text-center mb-16",children:[jsxRuntime.jsx("h2",{className:"mb-4 text-3xl font-bold lg:text-4xl",children:e}),jsxRuntime.jsx("p",{className:"text-muted-foreground text-lg max-w-2xl mx-auto",children:t})]}),jsxRuntime.jsx("div",{className:"space-y-4",children:a.map((l,d)=>jsxRuntime.jsxs("div",{className:"overflow-hidden rounded-2xl border transition-all hover:border-primary/50",children:[jsxRuntime.jsxs("button",{onClick:()=>s(d),className:"flex w-full items-center justify-between p-6 text-left hover:bg-accent/50",children:[jsxRuntime.jsx("h3",{className:"text-lg font-semibold pr-4",children:l.question}),jsxRuntime.jsx(Ca,{className:`h-5 w-5 text-muted-foreground transition-transform duration-300 ${n===d?"rotate-180":""}`})]}),jsxRuntime.jsx("div",{className:`overflow-hidden transition-all duration-300 ${n===d?"max-h-96":"max-h-0"}`,children:jsxRuntime.jsx("div",{className:"px-6 pb-6",children:jsxRuntime.jsx("p",{className:"text-muted-foreground leading-relaxed",children:l.answer})})})]},d))})]})})}function nx({title:e="FAQs",description:t="Discover quick and comprehensive answers to common questions.",categories:a=[{name:"General",id:"general",faqs:[{question:"How do I install?",answer:"You can install using npm or yarn. Run `npm install bynana-ui` in your project."},{question:"What are the requirements?",answer:"Works with React 16.8+ and supports all modern browsers."},{question:"Is it free to use?",answer:"Yes! Completely free for personal and commercial projects."}]},{name:"Components",id:"components",faqs:[{question:"How many components?",answer:"Over 150+ pre-built components including buttons, forms, navigation, and more."},{question:"Can I customize styling?",answer:"Absolutely! All components are fully customizable using CSS variables or Tailwind."},{question:"Are they accessible?",answer:"Yes, all components follow WCAG guidelines with proper ARIA attributes."}]}],className:r=""}){let[n,o]=bi.useState(0);return jsxRuntime.jsx("section",{className:`py-16 md:py-24 ${r}`,children:jsxRuntime.jsxs("div",{className:"mx-auto max-w-5xl px-6",children:[jsxRuntime.jsxs("div",{className:"max-w-lg",children:[jsxRuntime.jsx("h2",{className:"text-4xl font-semibold",children:e}),jsxRuntime.jsx("p",{className:"text-muted-foreground mt-4 text-lg",children:t})]}),jsxRuntime.jsx("div",{className:"mt-8 md:mt-12",children:jsxRuntime.jsx("div",{className:"flex flex-wrap gap-2 border-b",children:a.map((s,l)=>jsxRuntime.jsxs("button",{onClick:()=>o(l),className:`relative rounded-t-lg px-4 py-2 text-sm font-medium transition-all ${n===l?"text-foreground":"text-muted-foreground hover:text-foreground"}`,children:[s.name,n===l&&jsxRuntime.jsx("div",{className:"absolute right-0 bottom-0 left-0 h-0.5 rounded-t-full bg-primary"})]},s.id))})}),jsxRuntime.jsx("div",{className:"mt-8",children:jsxRuntime.jsx("dl",{className:"grid gap-12 sm:grid-cols-2 lg:grid-cols-3",children:a[n].faqs.map((s,l)=>jsxRuntime.jsxs("div",{className:"space-y-3",children:[jsxRuntime.jsx("dt",{className:"font-semibold",children:s.question}),jsxRuntime.jsx("dd",{className:"text-muted-foreground",children:s.answer})]},l))})})]})})}function ix({title:e="Tech Pioneers",subtitle:t="building the future",description:a="We bring together brilliant developers and innovators.",members:r=[{name:"Emily Rodriguez",role:"Product Manager",experience:"6+ years",avatar:"https://i.pravatar.cc/160?img=1"},{name:"Mollie Hall",role:"CTO",experience:"12+ years",avatar:"https://i.pravatar.cc/160?img=2"},{name:"Alec Whitten",role:"UX Researcher",experience:"5+ years",avatar:"https://i.pravatar.cc/160?img=3"}],className:n=""}){let[o,s]=bi.useState(0),[l,d]=bi.useState(true),u=3;bi.useEffect(()=>{if(!l)return;let x=setInterval(()=>{s(f=>(f+1)%Math.max(1,r.length-u+1));},5e3);return ()=>clearInterval(x)},[r.length,l]);let c=()=>{let x=Math.max(0,r.length-u);o>=x||(s(f=>Math.min(f+1,x)),d(false),setTimeout(()=>d(true),1500));},p=()=>{o<=0||(s(x=>Math.max(x-1,0)),d(false),setTimeout(()=>d(true),1500));};return jsxRuntime.jsx("section",{className:`overflow-hidden py-32 ${n}`,children:jsxRuntime.jsxs("div",{className:"mx-auto max-w-5xl px-8 lg:px-0",children:[jsxRuntime.jsxs("div",{children:[jsxRuntime.jsxs("h2",{className:"text-5xl font-medium md:text-6xl",children:[e," ",jsxRuntime.jsx("br",{}),jsxRuntime.jsx("span",{className:"text-muted-foreground",children:t})]}),jsxRuntime.jsx("p",{className:"text-muted-foreground mt-6 max-w-md",children:a})]}),jsxRuntime.jsxs("div",{className:"relative",children:[jsxRuntime.jsxs("div",{className:"mt-4 hidden items-center justify-end gap-4 md:flex",children:[jsxRuntime.jsx("button",{onClick:p,disabled:o===0,className:"flex h-11 w-11 items-center justify-center rounded-full border hover:bg-accent disabled:opacity-50",children:jsxRuntime.jsx(ze,{className:"h-5 w-5"})}),jsxRuntime.jsx("button",{onClick:c,disabled:o>=r.length-u,className:"flex h-11 w-11 items-center justify-center rounded-full border hover:bg-accent disabled:opacity-50",children:jsxRuntime.jsx(He,{className:"h-5 w-5"})})]}),jsxRuntime.jsx("div",{className:"mt-16 overflow-hidden",children:jsxRuntime.jsx("div",{className:"flex gap-4 transition-transform duration-500",style:{transform:`translateX(-${o*304}px)`},children:r.map(x=>jsxRuntime.jsxs("div",{className:"w-72 flex-shrink-0 rounded-2xl border p-7 text-center",children:[jsxRuntime.jsx("img",{src:x.avatar,alt:x.name,className:"mx-auto h-20 w-20 rounded-full border"}),jsxRuntime.jsxs("div",{className:"mt-6",children:[jsxRuntime.jsx("p",{className:"text-lg font-medium",children:x.name}),jsxRuntime.jsx("p",{className:"text-muted-foreground text-sm",children:x.role})]}),jsxRuntime.jsx("div",{className:"my-6 h-px bg-border"}),jsxRuntime.jsx("p",{className:"text-muted-foreground text-sm",children:x.experience})]},x.name))})})]})]})})}function dx({title:e="Open Positions",description:t="Join our team and help build the future of UI development.",jobs:a=[{title:"Senior Frontend Engineer",department:"Engineering",location:"Remote",type:"Full-time",salary:"$120k - $180k",url:"#"},{title:"Product Designer",department:"Design",location:"San Francisco, CA",type:"Full-time",salary:"$100k - $150k",url:"#"},{title:"Developer Advocate",department:"Marketing",location:"Remote",type:"Full-time",salary:"$90k - $130k",url:"#"}],className:r=""}){return jsxRuntime.jsx("section",{className:`py-20 ${r}`,children:jsxRuntime.jsxs("div",{className:"mx-auto max-w-4xl px-6",children:[jsxRuntime.jsxs("div",{className:"text-center mb-12",children:[jsxRuntime.jsx("h2",{className:"mb-4 text-3xl font-bold lg:text-4xl",children:e}),jsxRuntime.jsx("p",{className:"text-muted-foreground text-lg max-w-2xl mx-auto",children:t})]}),jsxRuntime.jsx("div",{className:"space-y-4",children:a.map((n,o)=>jsxRuntime.jsx("a",{href:n.url,className:"block rounded-xl border p-6 transition-all hover:border-primary/50 hover:shadow-md",children:jsxRuntime.jsxs("div",{className:"flex flex-col gap-4 sm:flex-row sm:items-center sm:justify-between",children:[jsxRuntime.jsxs("div",{children:[jsxRuntime.jsx("h3",{className:"text-xl font-semibold",children:n.title}),jsxRuntime.jsxs("div",{className:"mt-2 flex flex-wrap items-center gap-4 text-sm text-muted-foreground",children:[jsxRuntime.jsxs("span",{className:"flex items-center gap-1",children:[jsxRuntime.jsx(Ia,{className:"h-4 w-4"}),n.department]}),jsxRuntime.jsxs("span",{className:"flex items-center gap-1",children:[jsxRuntime.jsx(Na,{className:"h-4 w-4"}),n.location]}),jsxRuntime.jsxs("span",{className:"flex items-center gap-1",children:[jsxRuntime.jsx(wa,{className:"h-4 w-4"}),n.type]}),n.salary&&jsxRuntime.jsxs("span",{className:"flex items-center gap-1",children:[jsxRuntime.jsx(Sa,{className:"h-4 w-4"}),n.salary]})]})]}),jsxRuntime.jsx("button",{className:"bg-primary text-primary-foreground hover:bg-primary/90 rounded-md px-4 py-2 text-sm font-medium",children:"Apply Now"})]})},o))})]})})}function fx({placeholder:e="Search...",results:t=[],onSearch:a,onSelect:r,className:n=""}){let[o,s]=bi.useState(""),[l,d]=bi.useState(false),[u,c]=bi.useState(0),p=bi.useRef(null);bi.useEffect(()=>{o&&a&&a(o);},[o,a]);let x=f=>{f.key==="ArrowDown"?(f.preventDefault(),c(m=>Math.min(m+1,t.length-1))):f.key==="ArrowUp"?(f.preventDefault(),c(m=>Math.max(m-1,0))):f.key==="Enter"&&t[u]?(f.preventDefault(),r?.(t[u]),d(false)):f.key==="Escape"&&d(false);};return jsxRuntime.jsxs("div",{className:`relative w-full max-w-lg ${n}`,children:[jsxRuntime.jsxs("div",{className:"relative",children:[jsxRuntime.jsx(Ee,{className:"absolute left-3 top-1/2 h-4 w-4 -translate-y-1/2 text-muted-foreground"}),jsxRuntime.jsx("input",{ref:p,type:"text",value:o,onChange:f=>{s(f.target.value),d(true),c(0);},onFocus:()=>d(true),onKeyDown:x,placeholder:e,className:"w-full rounded-lg border bg-background py-2 pl-10 pr-10 text-sm outline-none focus:border-primary focus:ring-2 focus:ring-primary/20"}),o&&jsxRuntime.jsx("button",{onClick:()=>{s(""),p.current?.focus();},className:"absolute right-3 top-1/2 -translate-y-1/2 text-muted-foreground hover:text-foreground",children:jsxRuntime.jsx(Aa,{className:"h-4 w-4"})})]}),l&&t.length>0&&jsxRuntime.jsx("div",{className:"absolute top-full left-0 right-0 mt-2 rounded-lg border bg-background shadow-lg z-50",children:t.map((f,m)=>jsxRuntime.jsxs("button",{onClick:()=>{r?.(f),d(false);},className:`w-full px-4 py-3 text-left hover:bg-accent ${m===u?"bg-accent":""}`,children:[jsxRuntime.jsx("div",{className:"font-medium",children:f.title}),f.description&&jsxRuntime.jsx("div",{className:"text-sm text-muted-foreground",children:f.description})]},f.id))})]})}function xx({placeholder:e="Type a command or search...",actions:t=[],onSearch:a,className:r=""}){let[n,o]=bi.useState(""),[s,l]=bi.useState(false),[d,u]=bi.useState(0),c=bi.useRef(null),p=t.filter(f=>f.label.toLowerCase().includes(n.toLowerCase()));bi.useEffect(()=>{let f=m=>{(m.metaKey||m.ctrlKey)&&m.key==="k"&&(m.preventDefault(),l(true),c.current?.focus());};return document.addEventListener("keydown",f),()=>document.removeEventListener("keydown",f)},[]);let x=f=>{f.key==="ArrowDown"?(f.preventDefault(),u(m=>Math.min(m+1,p.length-1))):f.key==="ArrowUp"?(f.preventDefault(),u(m=>Math.max(m-1,0))):f.key==="Enter"&&p[d]?(f.preventDefault(),p[d].onSelect?.(),l(false),o("")):f.key==="Escape"&&l(false);};return jsxRuntime.jsxs("div",{className:`relative w-full max-w-lg ${r}`,children:[jsxRuntime.jsxs("div",{className:"relative",children:[jsxRuntime.jsx(Ee,{className:"absolute left-3 top-1/2 h-4 w-4 -translate-y-1/2 text-muted-foreground"}),jsxRuntime.jsx("input",{ref:c,type:"text",value:n,onChange:f=>{o(f.target.value),l(true),u(0),a?.(f.target.value);},onFocus:()=>l(true),onKeyDown:x,placeholder:e,className:"w-full rounded-lg border bg-background py-2 pl-10 pr-16 text-sm outline-none focus:border-primary focus:ring-2 focus:ring-primary/20"}),jsxRuntime.jsxs("div",{className:"absolute right-3 top-1/2 -translate-y-1/2 flex items-center gap-1 text-xs text-muted-foreground",children:[jsxRuntime.jsx(ka,{className:"h-3 w-3"}),jsxRuntime.jsx("span",{children:"K"})]})]}),s&&p.length>0&&jsxRuntime.jsx("div",{className:"absolute top-full left-0 right-0 mt-2 rounded-lg border bg-background shadow-lg z-50 overflow-hidden",children:p.map((f,m)=>jsxRuntime.jsxs("button",{onClick:()=>{f.onSelect?.(),l(false),o("");},className:`w-full px-4 py-3 text-left flex items-center justify-between hover:bg-accent ${m===d?"bg-accent":""}`,children:[jsxRuntime.jsxs("div",{className:"flex items-center gap-3",children:[f.icon,jsxRuntime.jsx("span",{children:f.label})]}),f.shortcut&&jsxRuntime.jsx("span",{className:"text-xs text-muted-foreground",children:f.shortcut})]},f.id))})]})}function gx({text:e="Thinking...",className:t=""}){return jsxRuntime.jsxs("div",{className:`flex items-center gap-3 ${t}`,children:[jsxRuntime.jsxs("div",{className:"flex gap-1",children:[jsxRuntime.jsx("span",{className:"h-2 w-2 rounded-full bg-primary animate-bounce",style:{animationDelay:"0ms"}}),jsxRuntime.jsx("span",{className:"h-2 w-2 rounded-full bg-primary animate-bounce",style:{animationDelay:"150ms"}}),jsxRuntime.jsx("span",{className:"h-2 w-2 rounded-full bg-primary animate-bounce",style:{animationDelay:"300ms"}})]}),jsxRuntime.jsx("span",{className:"text-sm text-muted-foreground",children:e})]})}function bx({title:e="How can I help you today?",placeholder:t="Type your message...",suggestions:a=["Write a blog post","Generate code","Explain a concept","Create a summary"],onSubmit:r,className:n=""}){let[o,s]=bi.useState(""),l=u=>{u.preventDefault(),o.trim()&&r&&(r(o.trim()),s(""));},d=u=>{s(u),r&&r(u);};return jsxRuntime.jsxs("div",{className:`w-full max-w-2xl mx-auto ${n}`,children:[jsxRuntime.jsxs("div",{className:"text-center mb-8",children:[jsxRuntime.jsx("div",{className:"inline-flex items-center justify-center w-12 h-12 rounded-full bg-primary/10 mb-4",children:jsxRuntime.jsx(pe,{className:"h-6 w-6 text-primary"})}),jsxRuntime.jsx("h2",{className:"text-2xl font-bold",children:e})]}),jsxRuntime.jsxs("form",{onSubmit:l,className:"relative mb-6",children:[jsxRuntime.jsx("textarea",{value:o,onChange:u=>s(u.target.value),placeholder:t,rows:3,className:"w-full rounded-xl border bg-background px-4 py-3 pr-12 text-sm outline-none focus:border-primary focus:ring-2 focus:ring-primary/20 resize-none"}),jsxRuntime.jsx("button",{type:"submit",disabled:!o.trim(),className:"absolute right-3 bottom-3 rounded-lg bg-primary p-2 text-primary-foreground hover:bg-primary/90 disabled:opacity-50",children:jsxRuntime.jsx(qe,{className:"h-4 w-4"})})]}),jsxRuntime.jsx("div",{className:"flex flex-wrap gap-2 justify-center",children:a.map((u,c)=>jsxRuntime.jsx("button",{onClick:()=>d(u),className:"rounded-full border px-4 py-2 text-sm hover:bg-accent transition-colors",children:u},c))})]})}function vx({placeholder:e="Ask me anything...",onSubmit:t,showMic:a=true,showAttach:r=true,className:n=""}){let[o,s]=bi.useState(""),[l,d]=bi.useState(false),u=bi.useRef(null);return jsxRuntime.jsxs("form",{onSubmit:p=>{p.preventDefault(),o.trim()&&t&&(t(o.trim()),s(""));},className:`relative flex items-center gap-2 rounded-full border bg-background px-4 py-2 transition-all ${l?"border-primary ring-2 ring-primary/20":""} ${n}`,children:[jsxRuntime.jsx(pe,{className:"h-5 w-5 text-primary"}),jsxRuntime.jsx("input",{ref:u,type:"text",value:o,onChange:p=>s(p.target.value),onFocus:()=>d(true),onBlur:()=>d(false),placeholder:e,className:"flex-1 bg-transparent text-sm outline-none placeholder:text-muted-foreground"}),jsxRuntime.jsxs("div",{className:"flex items-center gap-1",children:[r&&jsxRuntime.jsx("button",{type:"button",className:"rounded-full p-2 hover:bg-accent text-muted-foreground hover:text-foreground",children:jsxRuntime.jsx(Ta,{className:"h-4 w-4"})}),a&&jsxRuntime.jsx("button",{type:"button",className:"rounded-full p-2 hover:bg-accent text-muted-foreground hover:text-foreground",children:jsxRuntime.jsx(Ma,{className:"h-4 w-4"})}),jsxRuntime.jsx("button",{type:"submit",disabled:!o.trim(),className:"rounded-full bg-primary p-2 text-primary-foreground hover:bg-primary/90 disabled:opacity-50",children:jsxRuntime.jsx(qe,{className:"h-4 w-4"})})]})]})}function wx({children:e,direction:t="up",distance:a=30,duration:r=.6,delay:n=0,className:o=""}){let s=bi.useRef(null),[l,d]=bi.useState(false);return bi.useEffect(()=>{let c=new IntersectionObserver(([p])=>{p.isIntersecting&&(d(true),c.disconnect());},{threshold:.1});return s.current&&c.observe(s.current),()=>c.disconnect()},[]),jsxRuntime.jsx("div",{ref:s,className:o,style:{transform:(()=>{if(l)return "translate(0, 0)";switch(t){case "up":return `translateY(${a}px)`;case "down":return `translateY(-${a}px)`;case "left":return `translateX(${a}px)`;case "right":return `translateX(-${a}px)`;default:return `translateY(${a}px)`}})(),opacity:l?1:0,transition:`transform ${r}s ease-out ${n}s, opacity ${r}s ease-out ${n}s`},children:e})}function Mx({children:e,offset:t=50,duration:a=.6,className:r=""}){let n=bi.useRef(null),[o,s]=bi.useState(false);return bi.useEffect(()=>{let l=new IntersectionObserver(([d])=>{d.isIntersecting&&(s(true),l.disconnect());},{threshold:.1});return n.current&&l.observe(n.current),()=>l.disconnect()},[]),jsxRuntime.jsx("div",{ref:n,className:r,style:{transform:o?"translateY(0)":`translateY(${t}px)`,opacity:o?1:0,transition:`transform ${a}s ease-out, opacity ${a}s ease-out`},children:e})}function Dx({children:e,stagger:t=.1,className:a=""}){let r=bi.useRef(null),[n,o]=bi.useState(false);return bi.useEffect(()=>{let s=new IntersectionObserver(([l])=>{l.isIntersecting&&(o(true),s.disconnect());},{threshold:.1});return r.current&&s.observe(r.current),()=>s.disconnect()},[]),jsxRuntime.jsx("div",{ref:r,className:a,children:e.map((s,l)=>jsxRuntime.jsx("div",{style:{transform:n?"translateY(0)":"translateY(30px)",opacity:n?1:0,transition:`transform 0.6s ease-out ${l*t}s, opacity 0.6s ease-out ${l*t}s`},children:s},l))})}function Hx({children:e,padding:t=100,disabled:a=false,magnetStrength:r=8,activeTransition:n="transform 0.8s ease-out",inactiveTransition:o="transform 1.2s ease-in-out",wrapperClassName:s="",innerClassName:l="",...d}){let[u,c]=bi.useState(false),[p,x]=bi.useState({x:0,y:0}),f=bi.useRef(null);bi.useEffect(()=>{if(a){x({x:0,y:0});return}let g=h=>{if(!f.current)return;let{left:L,top:v,width:b,height:I}=f.current.getBoundingClientRect(),y=L+b/2,w=v+I/2,C=Math.abs(y-h.clientX),N=Math.abs(w-h.clientY);if(C<b/2+t&&N<I/2+t){c(true);let S=(h.clientX-y)/r,R=(h.clientY-w)/r;x({x:S,y:R});}else c(false),x({x:0,y:0});};return window.addEventListener("mousemove",g),()=>{window.removeEventListener("mousemove",g);}},[t,a,r]);let m=u?n:o;return jsxRuntime.jsx("div",{ref:f,className:s,style:{position:"relative",display:"inline-block"},...d,children:jsxRuntime.jsx("div",{className:l,style:{transform:`translate3d(${p.x}px, ${p.y}px, 0)`,transition:m,willChange:"transform"},children:e})})}function Gx({text:e,as:t="div",typingSpeed:a=50,initialDelay:r=0,pauseDuration:n=2e3,deletingSpeed:o=30,loop:s=true,className:l="",showCursor:d=true,hideCursorWhileTyping:u=false,cursorCharacter:c="|",cursorClassName:p="",cursorBlinkDuration:x=.5,textColors:f=[],variableSpeed:m,onSentenceComplete:g,startOnVisible:h=false,reverseMode:L=false,...v}){let[b,I]=bi.useState(""),[y,w]=bi.useState(0),[C,N]=bi.useState(false),[S,R]=bi.useState(0),[A,D]=bi.useState(!h),[k,P]=bi.useState(true),T=bi.useRef(null),M=bi.useMemo(()=>Array.isArray(e)?e:[e],[e]),z=bi.useCallback(()=>{if(!m)return a;let{min:E,max:O}=m;return Math.random()*(O-E)+E},[m,a]),F=()=>{if(f.length!==0)return f[S%f.length]};bi.useEffect(()=>{if(!h||!T.current)return;let E=new IntersectionObserver(O=>{O.forEach(ae=>{ae.isIntersecting&&D(true);});},{threshold:.1});return E.observe(T.current),()=>E.disconnect()},[h]),bi.useEffect(()=>{if(d){let E=setInterval(()=>{P(O=>!O);},x*1e3);return ()=>clearInterval(E)}},[d,x]),bi.useEffect(()=>{if(!A)return;let E,O=M[S],ae=L?O.split("").reverse().join(""):O,ye=()=>{if(C)if(b===""){if(N(false),S===M.length-1&&!s)return;g&&g(M[S],S),R(Q=>(Q+1)%M.length),w(0),E=setTimeout(()=>{},n);}else E=setTimeout(()=>{I(Q=>Q.slice(0,-1));},o);else y<ae.length?E=setTimeout(()=>{I(Q=>Q+ae[y]),w(Q=>Q+1);},m?z():a):M.length>1&&(E=setTimeout(()=>{N(true);},n));};return y===0&&!C&&b===""?E=setTimeout(ye,r):ye(),()=>clearTimeout(E)},[y,b,C,a,o,n,M,S,s,r,A,L,m,g,z]);let _=u&&(y<M[S].length||C);return bi.createElement(t,{ref:T,className:i("inline-flex",l),...v},jsxRuntime.jsx("span",{style:{color:F()||"inherit"},children:b}),d&&jsxRuntime.jsx("span",{className:i("transition-opacity",p,_&&"opacity-0",!k&&"opacity-0"),children:c}))}var Vx=({className:e})=>jsxRuntime.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:e,children:[jsxRuntime.jsx("path",{d:"M12 2a3 3 0 0 0-3 3v7a3 3 0 0 0 6 0V5a3 3 0 0 0-3-3Z"}),jsxRuntime.jsx("path",{d:"M19 10v2a7 7 0 0 1-14 0v-2"}),jsxRuntime.jsx("line",{x1:"12",x2:"12",y1:"19",y2:"22"})]});function Wx({className:e,autoDemo:t=true,onListeningChange:a}){let[r,n]=bi.useState(false),[o,s]=bi.useState(0),[l,d]=bi.useState(false),[u,c]=bi.useState(t);bi.useEffect(()=>{d(true);},[]),bi.useEffect(()=>{let f;return r?f=setInterval(()=>{s(m=>m+1);},1e3):s(0),()=>clearInterval(f)},[r]),bi.useEffect(()=>{a?.(r);},[r,a]);let p=f=>{let m=Math.floor(f/60),g=f%60;return `${m.toString().padStart(2,"0")}:${g.toString().padStart(2,"0")}`};bi.useEffect(()=>{if(!u)return;let f,m=()=>{n(true),f=setTimeout(()=>{n(false),f=setTimeout(m,1e3);},3e3);},g=setTimeout(m,100);return ()=>{clearTimeout(f),clearTimeout(g);}},[u]);let x=()=>{u?(c(false),n(false)):n(f=>!f);};return jsxRuntime.jsx("div",{className:i("w-full py-4",e),children:jsxRuntime.jsxs("div",{className:"relative max-w-xl w-full mx-auto flex items-center flex-col gap-2",children:[jsxRuntime.jsx("button",{className:i("group w-16 h-16 rounded-xl flex items-center justify-center transition-colors",r?"bg-none":"bg-none hover:bg-black/5 dark:hover:bg-white/5"),type:"button",onClick:x,children:r?jsxRuntime.jsx("div",{className:"w-6 h-6 rounded-sm animate-spin bg-black dark:bg-white cursor-pointer pointer-events-auto",style:{animationDuration:"3s"}}):jsxRuntime.jsx(Vx,{className:"w-6 h-6 text-black/90 dark:text-white/90"})}),jsxRuntime.jsx("span",{className:i("font-mono text-sm transition-opacity duration-300",r?"text-black/70 dark:text-white/70":"text-black/30 dark:text-white/30"),children:p(o)}),jsxRuntime.jsx("div",{className:"h-4 w-64 flex items-center justify-center gap-0.5",children:[...Array(48)].map((f,m)=>jsxRuntime.jsx("div",{className:i("w-0.5 rounded-full transition-all duration-300",r?"bg-black/50 dark:bg-white/50 animate-pulse":"bg-black/10 dark:bg-white/10 h-1"),style:r&&l?{height:`${20+Math.random()*80}%`,animationDelay:`${m*.05}s`}:void 0},m))}),jsxRuntime.jsx("p",{className:"h-4 text-xs text-black/70 dark:text-white/70",children:r?"Listening...":"Click to speak"})]})})}var _x=(e,t)=>{let a=e.startsWith("#")?e.slice(1):e;a.length===3&&(a=a.split("").map(l=>l+l).join(""));let r=parseInt(a,16),n=r>>16&255,o=r>>8&255,s=r&255;return n=Math.max(0,Math.min(255,Math.floor(n*(1-t)))),o=Math.max(0,Math.min(255,Math.floor(o*(1-t)))),s=Math.max(0,Math.min(255,Math.floor(s*(1-t)))),"#"+((1<<24)+(n<<16)+(o<<8)+s).toString(16).slice(1).toUpperCase()};function Xx({color:e="#18181b",size:t=1,items:a=[],className:r=""}){let o=a.slice(0,3);for(;o.length<3;)o.push(null);let[s,l]=bi.useState(false),[d,u]=bi.useState(Array.from({length:3},()=>({x:0,y:0}))),c=_x(e,.08),p=()=>{l(m=>!m),s&&u(Array.from({length:3},()=>({x:0,y:0})));},x=(m,g)=>{if(!s)return;let h=m.currentTarget.getBoundingClientRect(),L=(m.clientX-(h.left+h.width/2))*.15,v=(m.clientY-(h.top+h.height/2))*.15;u(b=>{let I=[...b];return I[g]={x:L,y:v},I});},f=m=>{u(g=>{let h=[...g];return h[m]={x:0,y:0},h});};return jsxRuntime.jsx("div",{className:i("relative cursor-pointer",r),style:{transform:`scale(${t})`},children:jsxRuntime.jsxs("div",{className:i("relative w-32 h-24 transition-all duration-300",s&&"transform -translate-y-2"),onClick:p,children:[jsxRuntime.jsx("div",{className:"absolute inset-0 rounded-lg",style:{backgroundColor:c},children:o.map((m,g)=>jsxRuntime.jsx("div",{className:i("absolute left-1/2 -translate-x-1/2 w-[85%] h-[70%] rounded-md transition-all duration-300",s?"opacity-100":"opacity-0"),onMouseMove:h=>x(h,g),onMouseLeave:()=>f(g),style:{backgroundColor:g===0?"#f4f4f5":g===1?"#fafafa":"#ffffff",bottom:s?`${60+g*20}%`:"50%",transform:s?`translateX(calc(-50% + ${d[g]?.x||0}px)) translateY(${d[g]?.y||0}px) rotate(${(g-1)*3}deg)`:"translateX(-50%)",zIndex:3-g},children:m},g))}),jsxRuntime.jsx("div",{className:i("absolute bottom-0 left-0 right-0 h-[75%] rounded-lg transition-all duration-300",s&&"transform translate-y-1"),style:{backgroundColor:e},children:jsxRuntime.jsx("div",{className:"absolute -top-3 left-2 w-8 h-4 rounded-t-md",style:{backgroundColor:e}})})]})})}var Yx=({filled:e,className:t})=>jsxRuntime.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:e?"currentColor":"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:t,children:jsxRuntime.jsx("polygon",{points:"12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2"})}),Kx=[{content:"This UI library has revolutionized how we build user interfaces. The animations are buttery smooth and the developer experience is incredible.",avatar:"https://i.pravatar.cc/150?img=1",name:"Eduardo Calvo",role:"CEO & Founder",stars:5},{content:"The design system is incredibly well thought out. Every component feels intentional and polished.",avatar:"https://i.pravatar.cc/150?img=2",name:"Drew Cano",role:"Head of Design",stars:5},{content:"Best UI library I've used. The TypeScript support is excellent and the components are highly customizable.",avatar:"https://i.pravatar.cc/150?img=3",name:"Marcus Johnson",role:"Lead Developer",stars:5},{content:"Our users love the smooth interactions. It's made our product feel premium and professional.",avatar:"https://i.pravatar.cc/150?img=4",name:"Emily Rodriguez",role:"Product Manager",stars:4}];function Jx({className:e="",title:t="Developer Reviews",description:a="See what the community is saying. Real feedback from developers building amazing user experiences.",testimonials:r=Kx}){return jsxRuntime.jsx("div",{className:i("min-h-[400px] w-full py-24",e),children:jsxRuntime.jsxs("div",{className:"container mx-auto w-full max-w-5xl px-6",children:[jsxRuntime.jsxs("div",{className:"mb-12",children:[jsxRuntime.jsx("h2",{className:"text-zinc-900 dark:text-zinc-100 text-4xl font-semibold",children:t}),jsxRuntime.jsx("p",{className:"text-zinc-600 dark:text-zinc-500 my-4 text-lg text-balance",children:a})]}),jsxRuntime.jsx("div",{className:"grid gap-6 lg:grid-cols-2",children:r.map(n=>jsxRuntime.jsxs("div",{className:"group hover:bg-zinc-50 dark:hover:bg-zinc-950 hover:border-zinc-400 dark:hover:border-zinc-700 rounded-2xl border border-zinc-300 dark:border-zinc-800 bg-white dark:bg-zinc-950 px-4 py-3 duration-200 transition-all hover:-translate-y-1",children:[jsxRuntime.jsx("div",{className:"flex gap-1",children:Array.from({length:5}).map((o,s)=>jsxRuntime.jsx(Yx,{filled:s<(n.stars||0),className:i("size-4 transition-colors duration-200",s<(n.stars||0)?"fill-pink-400 stroke-pink-400":"fill-zinc-300 dark:fill-zinc-700 stroke-zinc-400 dark:stroke-zinc-600")},`${n.name}-star-${s}`))}),jsxRuntime.jsx("p",{className:"text-zinc-900 dark:text-zinc-100 my-4",children:n.content}),jsxRuntime.jsxs("div",{className:"flex items-center gap-2",children:[jsxRuntime.jsx("img",{src:n.avatar,alt:n.name,className:"size-6 rounded-full border border-zinc-300 dark:border-zinc-700 object-cover"}),jsxRuntime.jsx("div",{className:"text-zinc-900 dark:text-zinc-100 text-sm font-medium",children:n.name}),jsxRuntime.jsx("span",{"aria-hidden":true,className:"bg-zinc-400 dark:bg-zinc-600 size-1 rounded-full"}),jsxRuntime.jsx("span",{className:"text-zinc-500 text-sm",children:n.role})]})]},n.name))})]})})}var Mt={SMOOTH_TAU:.25,MIN_COPIES:2,COPY_HEADROOM:2},Nn=bi.memo(({logos:e,speed:t=120,direction:a="left",width:r="100%",logoHeight:n=28,gap:o=32,pauseOnHover:s=true,fadeOut:l=false,fadeOutColor:d,scaleOnHover:u=false,ariaLabel:c="Partner logos",className:p,style:x})=>{let f=bi.useRef(null),m=bi.useRef(null),g=bi.useRef(null),[h,L]=bi.useState(0),[v,b]=bi.useState(Mt.MIN_COPIES),[I,y]=bi.useState(false),w=bi.useMemo(()=>{let k=Math.abs(t),P=a==="left"?1:-1,T=t<0?-1:1;return k*P*T},[t,a]),C=bi.useCallback(()=>{let k=f.current?.clientWidth??0,P=g.current?.getBoundingClientRect?.()?.width??0;if(P>0){L(Math.ceil(P));let T=Math.ceil(k/P)+Mt.COPY_HEADROOM;b(Math.max(Mt.MIN_COPIES,T));}},[]);bi.useEffect(()=>{if(!window.ResizeObserver){let P=()=>C();return window.addEventListener("resize",P),C(),()=>window.removeEventListener("resize",P)}let k=[];return [f,g].forEach(P=>{if(P.current){let T=new ResizeObserver(C);T.observe(P.current),k.push(T);}}),C(),()=>{k.forEach(P=>P.disconnect());}},[C,e,o,n]),bi.useEffect(()=>{let k=g.current?.querySelectorAll("img")??[];if(k.length===0){C();return}let P=k.length,T=()=>{P-=1,P===0&&C();};return k.forEach(M=>{let z=M;z.complete?T():(z.addEventListener("load",T,{once:true}),z.addEventListener("error",T,{once:true}));}),()=>{k.forEach(M=>{M.removeEventListener("load",T),M.removeEventListener("error",T);});}},[e,o,n,C]),bi.useEffect(()=>{let k=m.current;if(!k)return;let P=null,T=null,M=0,z=0;h>0&&(M=(M%h+h)%h,k.style.transform=`translate3d(${-M}px, 0, 0)`);let F=_=>{T===null&&(T=_);let E=Math.max(0,_-T)/1e3;T=_;let O=s&&I?0:w,ae=1-Math.exp(-E/Mt.SMOOTH_TAU);if(z+=(O-z)*ae,h>0){let ye=M+z*E;ye=(ye%h+h)%h,M=ye;let Q=-M;k.style.transform=`translate3d(${Q}px, 0, 0)`;}P=requestAnimationFrame(F);};return P=requestAnimationFrame(F),()=>{P!==null&&cancelAnimationFrame(P);}},[w,h,I,s]);let N=bi.useCallback(()=>{s&&y(true);},[s]),S=bi.useCallback(()=>{s&&y(false);},[s]),R=bi.useCallback((k,P)=>{let T="node"in k&&k.node,M=T?jsxRuntime.jsx("span",{"aria-hidden":!!k.href&&!k.ariaLabel,children:k.node}):jsxRuntime.jsx("img",{src:k.src,srcSet:k.srcSet,sizes:k.sizes,width:k.width,height:k.height,alt:k.alt??"",title:k.title,loading:"lazy",decoding:"async",draggable:false,style:{height:n,width:"auto"}}),z=T?k.ariaLabel??k.title:k.alt??k.title,F=k.href?jsxRuntime.jsx("a",{href:k.href,"aria-label":z||"logo link",target:"_blank",rel:"noreferrer noopener",className:i(u&&"transition-transform hover:scale-110"),children:M}):jsxRuntime.jsx("span",{className:i(u&&"transition-transform hover:scale-110"),children:M});return jsxRuntime.jsx("li",{role:"listitem",className:"flex-shrink-0",style:{marginRight:o},children:F},P)},[o,n,u]),A=bi.useMemo(()=>Array.from({length:v},(k,P)=>jsxRuntime.jsx("ul",{role:"list","aria-hidden":P>0,ref:P===0?g:void 0,className:"flex items-center",style:{height:n},children:e.map((T,M)=>R(T,`${P}-${M}`))},`copy-${P}`)),[v,e,R,n]),D=bi.useMemo(()=>({width:typeof r=="number"?`${r}px`:r,...x}),[r,x]);return jsxRuntime.jsx("div",{ref:f,className:i("relative overflow-hidden",l&&"before:absolute before:left-0 before:top-0 before:bottom-0 before:w-24 before:bg-gradient-to-r before:from-white before:to-transparent before:z-10 after:absolute after:right-0 after:top-0 after:bottom-0 after:w-24 after:bg-gradient-to-l after:from-white after:to-transparent after:z-10 dark:before:from-black dark:after:from-black",p),style:D,role:"region","aria-label":c,onMouseEnter:N,onMouseLeave:S,children:jsxRuntime.jsx("div",{ref:m,className:"flex will-change-transform",children:A})})});Nn.displayName="LogoLoop";function jx({position:e=1,className:t}){let a=Array.from({length:36},(r,n)=>({id:n,d:`M-${380-n*5*e} -${189+n*6}C-${380-n*5*e} -${189+n*6} -${312-n*5*e} ${216-n*6} ${152-n*5*e} ${343-n*6}C${616-n*5*e} ${470-n*6} ${684-n*5*e} ${875-n*6} ${684-n*5*e} ${875-n*6}`,color:`rgba(15,23,42,${.1+n*.03})`,width:.5+n*.03}));return jsxRuntime.jsx("div",{className:`pointer-events-none absolute inset-0 ${t||""}`,children:jsxRuntime.jsxs("svg",{className:"h-full w-full text-slate-950 dark:text-white",fill:"none",viewBox:"0 0 696 316",children:[jsxRuntime.jsx("title",{children:"Background Paths"}),a.map(r=>jsxRuntime.jsx(framerMotion.motion.path,{animate:{pathLength:1,opacity:[.3,.6,.3],pathOffset:[0,1,0]},d:r.d,initial:{pathLength:.3,opacity:.6},stroke:"currentColor",strokeOpacity:.1+r.id*.03,strokeWidth:r.width,transition:{duration:20+Math.random()*10,repeat:1/0,ease:"linear"}},r.id))]})})}function Kr(e,t,a){let r=a==="primary"?150:a==="secondary"?100:60,n=e*.2,o=[],s=a==="primary"?10:a==="secondary"?8:6,l=2400,d=800,u=-2400,c=-800+e*25;for(let x=0;x<=s;x++){let f=x/s,m=1-(1-f)**2,g=l+(u-l)*m,h=d+(c-d)*m,L=1-m*.3,v=Math.sin(f*Math.PI*3+n)*(r*.7*L),b=Math.cos(f*Math.PI*4+n)*(r*.3*L),I=Math.sin(f*Math.PI*2+n)*(r*.2*L);o.push({x:g*t,y:h+v+b+I});}return o.map((x,f)=>{if(f===0)return `M ${x.x} ${x.y}`;let m=o[f-1],g=.4,h=m.x+(x.x-m.x)*g,L=m.y,v=m.x+(x.x-m.x)*(1-g),b=x.y;return `C ${h} ${L}, ${v} ${b}, ${x.x} ${x.y}`}).join(" ")}var Jr=e=>`${e}-${Math.random().toString(36).substr(2,9)}`,ag=bi.memo(function({position:t}){let a=bi.useMemo(()=>Array.from({length:12},(s,l)=>({id:Jr("primary"),d:Kr(l,t,"primary"),opacity:.15+l*.02,width:4+l*.3,duration:25,delay:0})),[t]),r=bi.useMemo(()=>Array.from({length:15},(s,l)=>({id:Jr("secondary"),d:Kr(l,t,"secondary"),opacity:.12+l*.015,width:3+l*.25,duration:20,delay:0})),[t]),n=bi.useMemo(()=>Array.from({length:10},(s,l)=>({id:Jr("accent"),d:Kr(l,t,"accent"),opacity:.08+l*.12,width:2+l*.2,duration:15,delay:0})),[t]),o={opacity:1,scale:1,transition:{opacity:{duration:1},scale:{duration:1}}};return jsxRuntime.jsx("div",{className:"absolute inset-0 pointer-events-none overflow-hidden",children:jsxRuntime.jsxs("svg",{className:"w-full h-full text-slate-950/40 dark:text-white/40",viewBox:"-2400 -800 4800 1600",fill:"none",preserveAspectRatio:"xMidYMid slice",children:[jsxRuntime.jsx("title",{children:"Background Paths"}),jsxRuntime.jsx("defs",{children:jsxRuntime.jsxs("linearGradient",{id:"sharedGradient",x1:"0%",y1:"0%",x2:"100%",y2:"0%",children:[jsxRuntime.jsx("stop",{offset:"0%",stopColor:"rgba(147, 51, 234, 0.5)"}),jsxRuntime.jsx("stop",{offset:"50%",stopColor:"rgba(236, 72, 153, 0.5)"}),jsxRuntime.jsx("stop",{offset:"100%",stopColor:"rgba(59, 130, 246, 0.5)"})]})}),jsxRuntime.jsx("g",{className:"primary-waves",children:a.map(s=>jsxRuntime.jsx(framerMotion.motion.path,{d:s.d,stroke:"url(#sharedGradient)",strokeWidth:s.width,strokeLinecap:"round",initial:{opacity:0,scale:.8},animate:{...o,y:[0,-15,0]},transition:{...o.transition,y:{duration:8,repeat:1/0,ease:"easeInOut",repeatType:"reverse"}},style:{opacity:s.opacity}},s.id))}),jsxRuntime.jsx("g",{className:"secondary-waves",style:{opacity:.8},children:r.map(s=>jsxRuntime.jsx(framerMotion.motion.path,{d:s.d,stroke:"url(#sharedGradient)",strokeWidth:s.width,strokeLinecap:"round",initial:{opacity:0,scale:.9},animate:{...o,y:[0,-10,0]},transition:{...o.transition,y:{duration:6,repeat:1/0,ease:"easeInOut",repeatType:"reverse"}},style:{opacity:s.opacity}},s.id))}),jsxRuntime.jsx("g",{className:"accent-waves",style:{opacity:.6},children:n.map(s=>jsxRuntime.jsx(framerMotion.motion.path,{d:s.d,stroke:"url(#sharedGradient)",strokeWidth:s.width,strokeLinecap:"round",initial:{opacity:0,scale:.95},animate:{...o,y:[0,-5,0]},transition:{...o.transition,y:{duration:4,repeat:1/0,ease:"easeInOut",repeatType:"reverse"}},style:{opacity:s.opacity}},s.id))})]})})}),tg=bi.memo(function({title:t}){return jsxRuntime.jsx(framerMotion.motion.h1,{className:"text-3xl sm:text-5xl md:text-5xl font-bold mb-8 tracking-tighter text-transparent bg-clip-text bg-gradient-to-r from-neutral-800/90 to-neutral-600/90 dark:from-white/90 dark:to-white/70",initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:1.2,ease:[.2,.65,.3,.9]},children:t})}),rg=bi.memo(function({title:t="Background Paths",className:a}){return jsxRuntime.jsxs("div",{className:`relative min-h-screen w-full flex items-center justify-center overflow-hidden bg-black dark:bg-neutral-950 ${a||""}`,children:[jsxRuntime.jsx("div",{className:"absolute inset-0",children:jsxRuntime.jsx(ag,{position:1})}),jsxRuntime.jsx("div",{className:"relative z-10 container mx-auto px-4 md:px-6 text-center",children:jsxRuntime.jsx(framerMotion.motion.div,{initial:{opacity:0},animate:{opacity:1},transition:{duration:2},className:"max-w-4xl mx-auto",children:jsxRuntime.jsx(tg,{title:t})})})]})});var sg=4,ng=[{id:"member-1",avatarUrl:"https://i.pravatar.cc/150?img=1",name:"Team Member 1"},{id:"member-2",avatarUrl:"https://i.pravatar.cc/150?img=2",name:"Team Member 2"},{id:"member-3",avatarUrl:"https://i.pravatar.cc/150?img=3",name:"Team Member 3"},{id:"member-4",avatarUrl:"https://i.pravatar.cc/150?img=4",name:"Team Member 4"}],Rt={container:{initial:{opacity:0,y:20},animate:{opacity:1,y:0},exit:{opacity:0,y:-20}},avatar:{initial:{opacity:0,scale:.8},animate:{opacity:1,scale:1,transition:{duration:.3}},exit:{opacity:0,scale:.8,transition:{duration:.15}}},vibration:{initial:{x:0},animate:{x:[-5,5,-5,5,0],transition:{duration:.3}}},number:{initial:{scale:.8,opacity:0},animate:{scale:1,opacity:1,transition:{type:"spring",stiffness:400,damping:25}}}};function lg({defaultValue:e=1,onChange:t,className:a="",members:r=ng,maxSize:n=sg}){let[o,s]=bi.useState(e),[l,d]=bi.useState(false),u=m=>{if(m.preventDefault(),o<n){let g=o+1;s(g),t?.(g);}else p();},c=m=>{if(m.preventDefault(),o>1){let g=o-1;s(g),t?.(g);}else p();},p=()=>{d(true),setTimeout(()=>d(false),300);},x=(m,g)=>{(m.key==="Enter"||m.key===" ")&&(m.preventDefault(),g==="increment"?u(m):c(m));},f=()=>r.slice(0,o).map((m,g)=>jsxRuntime.jsx(framerMotion.motion.div,{variants:Rt.avatar,initial:"initial",animate:"animate",exit:"exit",className:"flex items-center justify-center",style:{zIndex:o-g,marginLeft:g===0?0:-24},children:jsxRuntime.jsx("img",{src:m.avatarUrl,width:96,height:96,alt:m.name,className:"rounded-full object-cover w-24 h-24 shadow-lg bg-gradient-to-b from-white/5 to-white/20 dark:from-white/5 dark:to-black/20 backdrop-blur-sm hover:shadow-xl transition-all duration-300 border border-white/10 dark:border-white/5"})},m.id));return jsxRuntime.jsx(framerMotion.motion.div,{variants:Rt.container,initial:"initial",animate:"animate",exit:"exit",className:`flex w-full flex-col items-center justify-center gap-8 ${a}`,children:jsxRuntime.jsxs("fieldset",{className:"w-full",children:[jsxRuntime.jsx("legend",{className:"sr-only",children:"Team size selector"}),jsxRuntime.jsx("div",{className:"relative h-24 w-full flex justify-center",children:jsxRuntime.jsx(framerMotion.AnimatePresence,{mode:"popLayout",children:f()})}),jsxRuntime.jsxs(framerMotion.motion.div,{variants:l?Rt.vibration:void 0,initial:"initial",animate:l?"animate":"initial",className:"flex items-center justify-center gap-8 mt-8",children:[jsxRuntime.jsx("button",{type:"button",onClick:c,onKeyDown:m=>x(m,"decrement"),disabled:o<=1,"aria-label":"Decrease team size",className:"h-12 w-12 rounded-full bg-gradient-to-b from-white to-zinc-50 dark:from-zinc-800 dark:to-zinc-900 border border-zinc-200/80 dark:border-zinc-700/80 shadow-md hover:shadow-lg hover:border-zinc-300 dark:hover:border-zinc-600 active:from-zinc-50 active:to-zinc-100 dark:active:from-zinc-900 dark:active:to-zinc-800 text-zinc-900 dark:text-zinc-100 disabled:opacity-40 disabled:cursor-not-allowed transition-all duration-200 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-zinc-500/30 dark:focus-visible:ring-zinc-400/30 focus-visible:ring-offset-2",children:jsxRuntime.jsx("span",{className:"text-2xl font-medium select-none",children:"-"})}),jsxRuntime.jsx(framerMotion.motion.output,{variants:Rt.number,initial:"initial",animate:"animate",className:"text-2xl font-medium bg-clip-text text-transparent bg-gradient-to-b from-zinc-800 to-zinc-600 dark:from-zinc-200 dark:to-zinc-400 select-none","aria-label":`Current team size: ${o}`,children:o},o),jsxRuntime.jsx("button",{type:"button",onClick:u,onKeyDown:m=>x(m,"increment"),disabled:o>=n,"aria-label":"Increase team size",className:"h-12 w-12 rounded-full bg-gradient-to-b from-white to-zinc-50 dark:from-zinc-800 dark:to-zinc-900 border border-zinc-200/80 dark:border-zinc-700/80 shadow-md hover:shadow-lg hover:border-zinc-300 dark:hover:border-zinc-600 active:from-zinc-50 active:to-zinc-100 dark:active:from-zinc-900 dark:active:to-zinc-800 text-zinc-900 dark:text-zinc-100 disabled:opacity-40 disabled:cursor-not-allowed transition-all duration-200 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-zinc-500/30 dark:focus-visible:ring-zinc-400/30 focus-visible:ring-offset-2",children:jsxRuntime.jsx("span",{className:"text-2xl font-medium select-none",children:"+"})})]})]})})}function cg({texts:e=["Thinking...","Processing...","Analyzing...","Computing...","Almost..."],className:t,interval:a=1500}){let[r,n]=bi.useState(0);return bi.useEffect(()=>{let o=setInterval(()=>{n(s=>(s+1)%e.length);},a);return ()=>clearInterval(o)},[a,e.length]),jsxRuntime.jsx("div",{className:"flex items-center justify-center p-8",children:jsxRuntime.jsx(framerMotion.motion.div,{className:"relative px-4 py-2 w-full",initial:{opacity:0},animate:{opacity:1},transition:{duration:.4},children:jsxRuntime.jsx(framerMotion.AnimatePresence,{mode:"wait",children:jsxRuntime.jsx(framerMotion.motion.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0,backgroundPosition:["200% center","-200% center"]},exit:{opacity:0,y:-20},transition:{opacity:{duration:.3},y:{duration:.3},backgroundPosition:{duration:2.5,ease:"linear",repeat:1/0}},className:i("flex justify-center text-3xl font-bold bg-gradient-to-r from-neutral-950 via-neutral-400 to-neutral-950 dark:from-white dark:via-neutral-600 dark:to-white bg-[length:200%_100%] bg-clip-text text-transparent whitespace-nowrap min-w-max",t),children:e[r]},r)})})})}function xg({title:e,content:t,actions:a=[],children:r,position:n="top",trigger:o="hover",persistent:s=false,className:l}){let[d,u]=bi.useState(false),[c,p]=bi.useState(false),x=bi.useRef(void 0),f=bi.useRef(null),m=()=>{x.current&&clearTimeout(x.current),u(true);},g=()=>{s&&c||(x.current=setTimeout(()=>u(false),100));},h=()=>{o==="click"&&u(!d);},L=()=>u(false);bi.useEffect(()=>{let I=y=>{f.current&&!f.current.contains(y.target)&&o==="click"&&u(false);};return document.addEventListener("mousedown",I),()=>document.removeEventListener("mousedown",I)},[o]);let v=()=>{switch(n){case "top":return "bottom-full left-1/2 -translate-x-1/2 mb-3";case "bottom":return "top-full left-1/2 -translate-x-1/2 mt-3";case "left":return "right-full top-1/2 -translate-y-1/2 mr-3";case "right":return "left-full top-1/2 -translate-y-1/2 ml-3";default:return "bottom-full left-1/2 -translate-x-1/2 mb-3"}},b=o==="hover"?{onMouseEnter:m,onMouseLeave:g}:{onClick:h};return jsxRuntime.jsxs("div",{className:i("relative inline-block",l),...b,children:[r,jsxRuntime.jsx(framerMotion.AnimatePresence,{children:d&&jsxRuntime.jsx(framerMotion.motion.div,{ref:f,initial:{opacity:0,scale:.95,y:n==="top"?10:-10},animate:{opacity:1,scale:1,y:0},exit:{opacity:0,scale:.95,y:n==="top"?10:-10},transition:{type:"spring",stiffness:300,damping:25},onMouseEnter:()=>p(true),onMouseLeave:()=>{p(false),o==="hover"&&g();},className:i("absolute z-50 w-80 bg-white dark:bg-zinc-900 border border-zinc-200 dark:border-zinc-800 rounded-xl shadow-xl backdrop-blur-sm",v()),children:jsxRuntime.jsxs("div",{className:"p-4 space-y-3",children:[jsxRuntime.jsxs("div",{className:"flex items-start justify-between gap-2",children:[jsxRuntime.jsxs("div",{className:"flex-1 space-y-1",children:[e&&jsxRuntime.jsx("h3",{className:"font-semibold text-zinc-900 dark:text-zinc-100 text-sm",children:e}),jsxRuntime.jsx("p",{className:"text-sm text-zinc-600 dark:text-zinc-400 leading-relaxed",children:t})]}),(o==="click"||s)&&jsxRuntime.jsx("button",{onClick:L,className:"text-zinc-400 hover:text-zinc-600 dark:hover:text-zinc-200 transition-colors p-1 rounded-md hover:bg-zinc-100 dark:hover:bg-zinc-800",children:jsxRuntime.jsx("svg",{className:"w-4 h-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:jsxRuntime.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M6 18L18 6M6 6l12 12"})})})]}),a.length>0&&jsxRuntime.jsx("div",{className:"flex gap-2 pt-2 border-t border-zinc-200 dark:border-zinc-800",children:a.map((I,y)=>jsxRuntime.jsx("button",{onClick:()=>{I.onClick(),s||L();},className:i("text-xs h-8 px-3 rounded-md font-medium transition-colors",I.variant==="destructive"?"bg-red-500 text-white hover:bg-red-600":I.variant==="secondary"?"bg-zinc-100 dark:bg-zinc-800 text-zinc-900 dark:text-zinc-100 hover:bg-zinc-200 dark:hover:bg-zinc-700":"bg-zinc-900 dark:bg-white text-white dark:text-zinc-900 hover:bg-zinc-800 dark:hover:bg-zinc-100"),children:I.label},y))})]})})})]})}function vg({content:e,children:t,offset:a=20,springConfig:r={stiffness:300,damping:30},className:n}){let[o,s]=bi.useState(false),l=bi.useRef(null),d=framerMotion.useMotionValue(0),u=framerMotion.useMotionValue(0),c=framerMotion.useSpring(d,r),p=framerMotion.useSpring(u,r),x=bi.useCallback(g=>{if(!l.current)return;let h=l.current.getBoundingClientRect(),L=h.left+h.width/2,v=h.top+h.height/2,b=g.clientX-L,I=g.clientY-v,y=Math.sqrt(b*b+I*I),w=Math.max(h.width,h.height),N=1-Math.min(y/w,1);d.set(b*N*.5),u.set(I*N*.5);},[d,u]),f=()=>s(true),m=()=>{s(false),d.set(0),u.set(0);};return jsxRuntime.jsxs("div",{ref:l,className:i("relative inline-block",n),onMouseMove:x,onMouseEnter:f,onMouseLeave:m,children:[t,jsxRuntime.jsx(framerMotion.AnimatePresence,{children:o&&jsxRuntime.jsx(framerMotion.motion.div,{style:{x:c,y:p},initial:{opacity:0,scale:.8},animate:{opacity:1,scale:1},exit:{opacity:0,scale:.8},transition:{type:"spring",stiffness:400,damping:25},className:"absolute z-50 pointer-events-none",children:jsxRuntime.jsxs(framerMotion.motion.div,{className:"relative px-4 py-2 text-sm text-zinc-900 dark:text-zinc-100 bg-white dark:bg-zinc-900 border border-zinc-200 dark:border-zinc-800 rounded-xl shadow-xl backdrop-blur-sm whitespace-nowrap",style:{translateX:"-50%",translateY:`calc(-100% - ${a}px)`},whileHover:{scale:1.05},children:[e,jsxRuntime.jsx(framerMotion.motion.div,{className:"absolute inset-0 bg-gradient-to-r from-blue-500/20 to-purple-500/20 rounded-xl -z-10 blur-sm",animate:{scale:[1,1.1,1],opacity:[.5,.8,.5]},transition:{duration:2,repeat:1/0,ease:"easeInOut"}}),jsxRuntime.jsx(framerMotion.motion.div,{initial:{scale:0},animate:{scale:1},transition:{delay:.1,type:"spring",stiffness:400},className:"absolute top-full left-1/2 -translate-x-1/2 w-0 h-0 border-4 border-l-transparent border-r-transparent border-b-transparent border-t-white dark:border-t-zinc-900"}),jsxRuntime.jsx(framerMotion.motion.div,{className:"absolute inset-0 rounded-xl border border-blue-500/30 -z-10",animate:{scale:[1,1.2,1],opacity:[.3,.6,.3]},transition:{duration:1.5,repeat:1/0,ease:"easeInOut"}})]})})})]})}function wg({title:e,content:t,icon:a,children:r,position:n="top",delay:o=300,maxWidth:s="max-w-xs",className:l}){let[d,u]=bi.useState(false),c=bi.useRef(void 0),p=()=>{c.current=setTimeout(()=>u(true),o);},x=()=>{c.current&&clearTimeout(c.current),u(false);},f=()=>{switch(n){case "top":return "bottom-full left-1/2 -translate-x-1/2 mb-3";case "bottom":return "top-full left-1/2 -translate-x-1/2 mt-3";case "left":return "right-full top-1/2 -translate-y-1/2 mr-3";case "right":return "left-full top-1/2 -translate-y-1/2 ml-3";default:return "bottom-full left-1/2 -translate-x-1/2 mb-3"}};return jsxRuntime.jsxs("div",{className:i("relative inline-block",l),onMouseEnter:p,onMouseLeave:x,children:[r,jsxRuntime.jsx(framerMotion.AnimatePresence,{children:d&&jsxRuntime.jsxs(framerMotion.motion.div,{initial:{opacity:0,scale:.95,y:n==="top"?10:-10},animate:{opacity:1,scale:1,y:0},exit:{opacity:0,scale:.95,y:n==="top"?10:-10},transition:{type:"spring",stiffness:300,damping:25},className:i("absolute z-50 bg-white dark:bg-zinc-900 border border-zinc-200 dark:border-zinc-800 rounded-xl shadow-xl backdrop-blur-sm",s,f()),children:[jsxRuntime.jsxs("div",{className:"p-4 space-y-2",children:[(e||a)&&jsxRuntime.jsxs(framerMotion.motion.div,{initial:{opacity:0,y:-5},animate:{opacity:1,y:0},transition:{delay:.1},className:"flex items-center gap-2",children:[a&&jsxRuntime.jsx("div",{className:"text-blue-500",children:a}),e&&jsxRuntime.jsx("h3",{className:"font-semibold text-zinc-900 dark:text-zinc-100 text-sm",children:e})]}),jsxRuntime.jsx(framerMotion.motion.p,{initial:{opacity:0},animate:{opacity:1},transition:{delay:.15},className:"text-sm text-zinc-600 dark:text-zinc-400 leading-relaxed",children:t})]}),jsxRuntime.jsx(framerMotion.motion.div,{initial:{opacity:0},animate:{opacity:1},transition:{delay:.2},className:"absolute inset-0 bg-gradient-to-br from-blue-500/5 to-purple-500/5 rounded-xl pointer-events-none"}),jsxRuntime.jsx(framerMotion.motion.div,{initial:{scale:0},animate:{scale:1},transition:{delay:.1,type:"spring",stiffness:400},className:i("absolute w-0 h-0 border-8",n==="top"&&"top-full left-1/2 -translate-x-1/2 border-l-transparent border-r-transparent border-b-transparent border-t-white dark:border-t-zinc-900",n==="bottom"&&"bottom-full left-1/2 -translate-x-1/2 border-l-transparent border-r-transparent border-t-transparent border-b-white dark:border-b-zinc-900",n==="left"&&"left-full top-1/2 -translate-y-1/2 border-t-transparent border-b-transparent border-r-transparent border-l-white dark:border-l-zinc-900",n==="right"&&"right-full top-1/2 -translate-y-1/2 border-t-transparent border-b-transparent border-l-transparent border-r-white dark:border-r-zinc-900")}),jsxRuntime.jsx(framerMotion.motion.div,{initial:{opacity:0,scale:.8},animate:{opacity:1,scale:1},transition:{delay:.05,duration:.4},className:"absolute inset-0 rounded-xl border border-blue-500/20 pointer-events-none"})]})})]})}function Pg({rows:e=9,columns:t=9,containerSize:a="60vmin",lineColor:r="#a1a1aa",lineWidth:n="0.8vmin",lineHeight:o="5vmin",baseAngle:s=0,className:l="",style:d={}}){let u=bi.useRef(null);bi.useEffect(()=>{let x=u.current;if(!x)return;let f=x.querySelectorAll("span"),m=h=>{f.forEach(L=>{let v=L.getBoundingClientRect(),b=v.x+v.width/2,I=v.y+v.height/2,y=h.x-b,w=h.y-I,C=Math.sqrt(w*w+y*y)||1,N=Math.acos(y/C)*180/Math.PI*(h.y>I?1:-1);L.style.setProperty("--rotate",`${N}deg`);});},g=h=>{m({x:h.clientX,y:h.clientY});};if(window.addEventListener("pointermove",g),f.length){let h=Math.floor(f.length/2),L=f[h].getBoundingClientRect();m({x:L.x,y:L.y});}return ()=>window.removeEventListener("pointermove",g)},[]);let c=e*t,p=Array.from({length:c},(x,f)=>jsxRuntime.jsx("span",{style:{"--rotate":`${s}deg`,backgroundColor:r,width:n,height:o,transform:"rotate(var(--rotate))",transition:"transform 0.3s ease",borderRadius:"9999px"}},f));return jsxRuntime.jsx("div",{ref:u,className:i("place-items-center",l),style:{display:"grid",gridTemplateColumns:`repeat(${t}, 1fr)`,gridTemplateRows:`repeat(${e}, 1fr)`,width:a,height:a,...d},children:p})}function Ng({width:e="500px",height:t="500px",background:a="#ffffff",borderRadius:r="12px",borderColor:n="#e5e5e5",children:o,glareColor:s="#000000",glareOpacity:l=.15,glareAngle:d=-45,glareSize:u=250,transitionDuration:c=650,playOnce:p=false,className:x="",style:f={}}){let m=s.replace("#",""),g=s;if(/^[0-9A-Fa-f]{6}$/.test(m)){let v=parseInt(m.slice(0,2),16),b=parseInt(m.slice(2,4),16),I=parseInt(m.slice(4,6),16);g=`rgba(${v}, ${b}, ${I}, ${l})`;}else if(/^[0-9A-Fa-f]{3}$/.test(m)){let v=parseInt(m[0]+m[0],16),b=parseInt(m[1]+m[1],16),I=parseInt(m[2]+m[2],16);g=`rgba(${v}, ${b}, ${I}, ${l})`;}let h=`
57
+ .glare-hover {
58
+ position: relative;
59
+ overflow: hidden;
60
+ width: var(--gh-width);
61
+ height: var(--gh-height);
62
+ background: var(--gh-bg);
63
+ border-radius: var(--gh-br);
64
+ border: 1px solid var(--gh-border);
65
+ }
66
+ .glare-hover::before {
67
+ content: "";
68
+ position: absolute;
69
+ top: 0;
70
+ left: -100%;
71
+ width: var(--gh-size);
72
+ height: 100%;
73
+ background: linear-gradient(var(--gh-angle), transparent, var(--gh-rgba), transparent);
74
+ transition: left var(--gh-duration) ease;
75
+ }
76
+ .glare-hover:hover::before {
77
+ left: 100%;
78
+ }
79
+ .glare-hover--play-once::before {
80
+ animation: glare-once var(--gh-duration) ease forwards;
81
+ }
82
+ @keyframes glare-once {
83
+ 0% { left: -100%; }
84
+ 100% { left: 100%; }
85
+ }
86
+ `,L={"--gh-width":e,"--gh-height":t,"--gh-bg":a,"--gh-br":r,"--gh-angle":`${d}deg`,"--gh-duration":`${c}ms`,"--gh-size":`${u}%`,"--gh-rgba":g,"--gh-border":n};return jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[jsxRuntime.jsx("style",{children:h}),jsxRuntime.jsx("div",{className:i("glare-hover",p&&"glare-hover--play-once",x),style:{...L,...f},children:o})]})}/*! Bundled license information:
57
87
 
58
88
  lucide-react/dist/esm/shared/src/utils.js:
59
89
  lucide-react/dist/esm/defaultAttributes.js:
@@ -84,5 +114,5 @@ lucide-react/dist/esm/lucide-react.js:
84
114
  * This source code is licensed under the ISC license.
85
115
  * See the LICENSE file in the root directory of this source tree.
86
116
  *)
87
- */exports.AIBar=w0;exports.AILoading=I0;exports.AIPrompt=C0;exports.ASCIIText=wc;exports.Accordion=Zd;exports.ActionSearchBar=b0;exports.Alert=uu;exports.AlertIcon=fu;exports.AlertTitle=cu;exports.AlertToolbar=mu;exports.AnimatedCircularProgressBar=Fc;exports.AnimatedList=bd;exports.AnimatedListItem=gr;exports.AnimatedSpan=hu;exports.AnimatedThemeToggler=Gc;exports.AppleActivityCard=ap;exports.AttractButton=_l;exports.Aurora=pp;exports.Avatar=Wd;exports.Badge=Ud;exports.BentoCard=fp;exports.BentoGrid=up;exports.BlurFade=sc;exports.BlurText=nn;exports.BounceButton=ol;exports.BounceText=an;exports.Card=Gi;exports.CardContent=Xi;exports.CardDescription=_i;exports.CardFlip=Oi;exports.CardFooter=$i;exports.CardHeader=Vi;exports.CardStack=Zm;exports.CardTitle=Wi;exports.Checkbox=af;exports.CircularText=vi;exports.ClickSpark=Wf;exports.CommandButton=$l;exports.ContributionGraph=hm;exports.CopyButton=Bl;exports.CountUp=oi;exports.Counter=qu;exports.Crosshair=Vm;exports.DecayCard=Fm;exports.DecryptedText=Ti;exports.Dock=Yu;exports.DockIcon=Ju;exports.Drawer=nu;exports.DynamicText=_n;exports.ElasticSearch=g0;exports.ElasticSlider=Lm;exports.ElasticText=gi;exports.FallingText=Tc;exports.FaqsAccordion=i0;exports.FaqsGrid=u0;exports.File=Hr;exports.FlipText=Ln;exports.FloatEffect=jf;exports.FlowingMenu=vm;exports.Folder=zr;exports.FooterComplex=s0;exports.FooterSimple=r0;exports.FuzzyText=Sn;exports.GlassCard=Fi;exports.GlassLiquidButton=qm;exports.GlitchText=Zl;exports.GlowButton=ll;exports.GlowEffect=tc;exports.GlowingText=wi;exports.GooeyNav=wm;exports.GradientButton=Cl;exports.GradientText=Yl;exports.Hamburger3D=Hf;exports.HamburgerBasic=hf;exports.HamburgerElastic=Uf;exports.HamburgerMorph=yf;exports.HamburgerSpin=If;exports.HamburgerSpring=Pf;exports.HamburgerStagger=Bf;exports.HamburgerWave=Tf;exports.HeroGrid=Xp;exports.HeroShowcase=$p;exports.HoldButton=Sl;exports.HoverCard=Hi;exports.InfiniteScroll=xc;exports.Input=Vr;exports.InputOTP=xf;exports.JobListing=m0;exports.LiquidButton=xl;exports.LiquidGlassCard=Hm;exports.LiquidText=Tn;exports.Loader=qc;exports.LoadingBar=Zi;exports.LoadingBounce=rd;exports.LoadingDots=Ki;exports.LoadingFlower=sd;exports.LoadingGeometric=ld;exports.LoadingInvert=zc;exports.LoadingMorph=nd;exports.LoadingPulse=ad;exports.LoadingRings=id;exports.LoadingSpinner=Yi;exports.LoadingText=ud;exports.LoadingWords=cd;exports.LogoCloud=l0;exports.MagneticButton=al;exports.MagneticText=En;exports.MatrixText=Nn;exports.Modal=ou;exports.MorphText=ci;exports.MultiStepLoader=bc;exports.NeonButton=cl;exports.ParticleButton=El;exports.PerspectiveText=pi;exports.PillNav=km;exports.PixelCard=dc;exports.PricingModern=o0;exports.Progress=Xd;exports.PulseButton=il;exports.RadioGroup=rf;exports.RainbowText=Zn;exports.RevealText=si;exports.RippleButton=Js;exports.RotatingText=Jn;exports.ScrambledText=Dn;exports.ScrollFloat=B0;exports.ScrollReveal=N0;exports.ScrollStack=q0;exports.ScrollText=$m;exports.ScrollVelocity=am;exports.Select=ff;exports.ShimmerEffect=_c;exports.ShimmerText=Ql;exports.ShineButton=_s;exports.ShinyText=bn;exports.Skeleton=Id;exports.SlicedText=ki;exports.SlideButton=bl;exports.SmoothCursor=Jf;exports.SmoothDrawer=Mm;exports.SmoothTab=Bm;exports.SocialButton=um;exports.SplitText=ui;exports.Squares=Ip;exports.StaggerText=Qn;exports.StatsCards=lp;exports.StatsGrid=dp;exports.Step=ku;exports.Stepper=yu;exports.Switch=Yd;exports.SwooshText=An;exports.Tabs=eu;exports.TargetCursor=Om;exports.TeamCarousel=c0;exports.Terminal=xu;exports.TestimonialsGrid=a0;exports.TestimonialsSimple=Qp;exports.TextCursor=lm;exports.Textarea=Wr;exports.Threads=hp;exports.ThreeDButton=Tl;exports.TiltedCard=mc;exports.Toolbar=Vu;exports.Tooltip=Sd;exports.TooltipAnimated=Hd;exports.TooltipMinimal=Ad;exports.Tree=Fr;exports.TrueFocus=Bi;exports.TweetCard=op;exports.Typewriter=cn;exports.TypingAnimation=gu;exports.V0Button=mm;exports.WaveText=gn;exports.Waves=yp;exports.cn=i;//# sourceMappingURL=index.js.map
117
+ */exports.AIBar=vx;exports.AILoading=gx;exports.AIPrompt=bx;exports.AITextLoading=cg;exports.AIVoice=Wx;exports.ASCIIText=vm;exports.Accordion=Yu;exports.ActionSearchBar=xx;exports.Alert=nc;exports.AlertIcon=lc;exports.AlertTitle=ic;exports.AlertToolbar=dc;exports.AnimatedCircularProgressBar=Rm;exports.AnimatedFolder=Xx;exports.AnimatedList=xu;exports.AnimatedListItem=Qo;exports.AnimatedSpan=mc;exports.AnimatedThemeToggler=Em;exports.AppleActivityCard=Qp;exports.AttractButton=Gl;exports.Aurora=u0;exports.Avatar=Ou;exports.BackgroundPaths=rg;exports.Badge=Hu;exports.BentoCard=l0;exports.BentoGrid=n0;exports.BlurFade=am;exports.BlurText=oi;exports.BounceButton=el;exports.BounceText=Zl;exports.Card=Ed;exports.CardContent=Gd;exports.CardDescription=Ud;exports.CardFlip=zd;exports.CardFooter=Vd;exports.CardHeader=qd;exports.CardStack=Yp;exports.CardTitle=Od;exports.Checkbox=Qc;exports.CircularText=hd;exports.ClickSpark=Of;exports.CommandButton=Wl;exports.ContributionGraph=mp;exports.CopyButton=Tl;exports.CountUp=ji;exports.Counter=Dc;exports.Crosshair=qp;exports.DecayCard=Rp;exports.DecryptedText=Sd;exports.Dock=_c;exports.DockIcon=Xc;exports.Drawer=rc;exports.DynamicText=Ui;exports.ElasticSearch=fx;exports.ElasticSlider=pp;exports.ElasticText=fd;exports.FallingText=Sm;exports.FaqsAccordion=ox;exports.FaqsGrid=nx;exports.File=bs;exports.FlipText=pi;exports.FloatEffect=Kf;exports.FloatingPaths=jx;exports.FlowingMenu=hp;exports.Folder=hs;exports.FooterComplex=ax;exports.FooterSimple=ex;exports.FuzzyText=Ii;exports.GlareHover=Ng;exports.GlassCard=Rd;exports.GlassLiquidButton=Dp;exports.GlitchText=Kl;exports.GlowButton=rl;exports.GlowEffect=Zf;exports.GlowingText=vd;exports.GooeyNav=vp;exports.GradientButton=Ll;exports.GradientText=Xl;exports.Hamburger3D=Bf;exports.HamburgerBasic=mf;exports.HamburgerElastic=Hf;exports.HamburgerMorph=Lf;exports.HamburgerSpin=gf;exports.HamburgerSpring=Cf;exports.HamburgerStagger=Mf;exports.HamburgerWave=Sf;exports.HeroGrid=G0;exports.HeroShowcase=V0;exports.HoldButton=yl;exports.HoverCard=Bd;exports.InfiniteScroll=cm;exports.Input=ws;exports.InputOTP=cf;exports.JobListing=dx;exports.LiquidButton=fl;exports.LiquidGlassCard=Bp;exports.LiquidText=Si;exports.Loader=Dm;exports.LoadingBar=Yd;exports.LoadingBounce=eu;exports.LoadingDots=Wd;exports.LoadingFlower=au;exports.LoadingGeometric=tu;exports.LoadingInvert=Am;exports.LoadingMorph=ru;exports.LoadingPulse=Qd;exports.LoadingRings=ou;exports.LoadingSpinner=_d;exports.LoadingText=nu;exports.LoadingWords=iu;exports.LogoCloud=tx;exports.LogoLoop=Nn;exports.Magnet=Hx;exports.MagnetLines=Pg;exports.MagneticButton=Zn;exports.MagneticText=Fi;exports.MatrixText=wi;exports.Modal=ju;exports.MorphText=id;exports.MultiStepLoader=xm;exports.NeonButton=dl;exports.ParticleButton=zl;exports.PerspectiveText=ud;exports.PillNav=yp;exports.PixelCard=sm;exports.PricingModern=j0;exports.Progress=Gu;exports.PulseButton=sl;exports.RadioGroup=ef;exports.RainbowText=Yi;exports.RevealText=ad;exports.RippleButton=$n;exports.RotatingText=Xi;exports.ScrambledText=Ti;exports.ScrollFloat=Mx;exports.ScrollReveal=wx;exports.ScrollStack=Dx;exports.ScrollText=Vp;exports.ScrollVelocity=Qm;exports.Select=nf;exports.ShimmerEffect=Um;exports.ShimmerText=Yl;exports.ShineButton=Gn;exports.ShinyText=xi;exports.Skeleton=gu;exports.SlicedText=yd;exports.SlideButton=gl;exports.SmoothCursor=Xf;exports.SmoothDrawer=kp;exports.SmoothTab=Mp;exports.SocialButton=np;exports.SplitText=nd;exports.Squares=g0;exports.StaggerText=$i;exports.StatsCards=t0;exports.StatsGrid=s0;exports.Step=yc;exports.Stepper=Lc;exports.Switch=_u;exports.SwooshText=Pi;exports.Tabs=Ju;exports.TargetCursor=zp;exports.TeamCarousel=ix;exports.TeamSelector=lg;exports.Terminal=cc;exports.TestimonialsGrid=Q0;exports.TestimonialsSimple=$0;exports.TestimonialsStars=Jx;exports.TextCursor=tp;exports.TextType=Gx;exports.Textarea=ks;exports.Threads=m0;exports.ThreeDButton=Pl;exports.TiltedCard=dm;exports.Toolbar=qc;exports.Tooltip=Iu;exports.TooltipAnimated=Bu;exports.TooltipInteractive=xg;exports.TooltipMagnetic=vg;exports.TooltipMinimal=Pu;exports.TooltipRich=wg;exports.Tree=gs;exports.TrueFocus=Md;exports.TweetCard=jp;exports.Typewriter=ii;exports.TypingAnimation=fc;exports.V0Button=dp;exports.WaveText=fi;exports.Waves=L0;exports.cn=i;//# sourceMappingURL=index.js.map
88
118
  //# sourceMappingURL=index.js.map